{"version":3,"file":"index.mjs","names":["path","exports","process","ets","process","ets","Uri","ets","require","ETS","createTypeScriptServices","process"],"sources":["../../../node_modules/.pnpm/@voidzero-dev+vite-plus-core@0.1.18_@types+node@25.6.0_jiti@2.6.1_terser@5.46.0_tsx@4.20.6_typescript@6.0.2_yaml@2.8.2/node_modules/@voidzero-dev/vite-plus-core/dist/esm-shims.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/base64-vlq.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/util.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/array-set.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/mapping-list.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-generator.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/binary-search.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/quick-sort.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-map-consumer.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/lib/source-node.js","../../../node_modules/.pnpm/source-map@0.6.1/node_modules/source-map/source-map.js","../../../node_modules/.pnpm/buffer-from@1.1.2/node_modules/buffer-from/index.js","../../../node_modules/.pnpm/source-map-support@0.5.21/node_modules/source-map-support/source-map-support.js","../../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/unicode.js","../../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/util.js","../../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/parse.js","../../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/stringify.js","../../../node_modules/.pnpm/json5@2.2.3/node_modules/json5/lib/index.js","../../../ohos-typescript/lib/typescript.js","../src/logger.ts","../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../src/classes/config-resolver.ts","../src/classes/project-manager.ts","../src/patches/patch-resolver.ts","../src/utils/finder.ts","../src/patches/patch-semantic.ts","../src/utils/diagnostic-messages-resolver.ts","../src/index.ts"],"sourcesContent":["// Shim globals in esm bundle\nimport path from 'node:path'\nimport { fileURLToPath } from 'node:url'\n\nconst getFilename = () => fileURLToPath(import.meta.url)\nconst getDirname = () => path.dirname(getFilename())\n\nexport const __dirname = /* @__PURE__ */ getDirname()\nexport const __filename = /* @__PURE__ */ getFilename()\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n\n/**\n * Encode an integer in the range of 0 to 63 to a single base 64 digit.\n */\nexports.encode = function (number) {\n  if (0 <= number && number < intToCharMap.length) {\n    return intToCharMap[number];\n  }\n  throw new TypeError(\"Must be between 0 and 63: \" + number);\n};\n\n/**\n * Decode a single base 64 character code digit to an integer. Returns -1 on\n * failure.\n */\nexports.decode = function (charCode) {\n  var bigA = 65;     // 'A'\n  var bigZ = 90;     // 'Z'\n\n  var littleA = 97;  // 'a'\n  var littleZ = 122; // 'z'\n\n  var zero = 48;     // '0'\n  var nine = 57;     // '9'\n\n  var plus = 43;     // '+'\n  var slash = 47;    // '/'\n\n  var littleOffset = 26;\n  var numberOffset = 52;\n\n  // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ\n  if (bigA <= charCode && charCode <= bigZ) {\n    return (charCode - bigA);\n  }\n\n  // 26 - 51: abcdefghijklmnopqrstuvwxyz\n  if (littleA <= charCode && charCode <= littleZ) {\n    return (charCode - littleA + littleOffset);\n  }\n\n  // 52 - 61: 0123456789\n  if (zero <= charCode && charCode <= nine) {\n    return (charCode - zero + numberOffset);\n  }\n\n  // 62: +\n  if (charCode == plus) {\n    return 62;\n  }\n\n  // 63: /\n  if (charCode == slash) {\n    return 63;\n  }\n\n  // Invalid base64 digit.\n  return -1;\n};\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n *\n * Based on the Base 64 VLQ implementation in Closure Compiler:\n * https://code.google.com/p/closure-compiler/source/browse/trunk/src/com/google/debugging/sourcemap/Base64VLQ.java\n *\n * Copyright 2011 The Closure Compiler Authors. All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n *\n *  * Redistributions of source code must retain the above copyright\n *    notice, this list of conditions and the following disclaimer.\n *  * Redistributions in binary form must reproduce the above\n *    copyright notice, this list of conditions and the following\n *    disclaimer in the documentation and/or other materials provided\n *    with the distribution.\n *  * Neither the name of Google Inc. nor the names of its\n *    contributors may be used to endorse or promote products derived\n *    from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n * \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar base64 = require('./base64');\n\n// A single base 64 digit can contain 6 bits of data. For the base 64 variable\n// length quantities we use in the source map spec, the first bit is the sign,\n// the next four bits are the actual value, and the 6th bit is the\n// continuation bit. The continuation bit tells us whether there are more\n// digits in this value following this digit.\n//\n//   Continuation\n//   |    Sign\n//   |    |\n//   V    V\n//   101011\n\nvar VLQ_BASE_SHIFT = 5;\n\n// binary: 100000\nvar VLQ_BASE = 1 << VLQ_BASE_SHIFT;\n\n// binary: 011111\nvar VLQ_BASE_MASK = VLQ_BASE - 1;\n\n// binary: 100000\nvar VLQ_CONTINUATION_BIT = VLQ_BASE;\n\n/**\n * Converts from a two-complement value to a value where the sign bit is\n * placed in the least significant bit.  For example, as decimals:\n *   1 becomes 2 (10 binary), -1 becomes 3 (11 binary)\n *   2 becomes 4 (100 binary), -2 becomes 5 (101 binary)\n */\nfunction toVLQSigned(aValue) {\n  return aValue < 0\n    ? ((-aValue) << 1) + 1\n    : (aValue << 1) + 0;\n}\n\n/**\n * Converts to a two-complement value from a value where the sign bit is\n * placed in the least significant bit.  For example, as decimals:\n *   2 (10 binary) becomes 1, 3 (11 binary) becomes -1\n *   4 (100 binary) becomes 2, 5 (101 binary) becomes -2\n */\nfunction fromVLQSigned(aValue) {\n  var isNegative = (aValue & 1) === 1;\n  var shifted = aValue >> 1;\n  return isNegative\n    ? -shifted\n    : shifted;\n}\n\n/**\n * Returns the base 64 VLQ encoded value.\n */\nexports.encode = function base64VLQ_encode(aValue) {\n  var encoded = \"\";\n  var digit;\n\n  var vlq = toVLQSigned(aValue);\n\n  do {\n    digit = vlq & VLQ_BASE_MASK;\n    vlq >>>= VLQ_BASE_SHIFT;\n    if (vlq > 0) {\n      // There are still more digits in this value, so we must make sure the\n      // continuation bit is marked.\n      digit |= VLQ_CONTINUATION_BIT;\n    }\n    encoded += base64.encode(digit);\n  } while (vlq > 0);\n\n  return encoded;\n};\n\n/**\n * Decodes the next base 64 VLQ value from the given string and returns the\n * value and the rest of the string via the out parameter.\n */\nexports.decode = function base64VLQ_decode(aStr, aIndex, aOutParam) {\n  var strLen = aStr.length;\n  var result = 0;\n  var shift = 0;\n  var continuation, digit;\n\n  do {\n    if (aIndex >= strLen) {\n      throw new Error(\"Expected more digits in base 64 VLQ value.\");\n    }\n\n    digit = base64.decode(aStr.charCodeAt(aIndex++));\n    if (digit === -1) {\n      throw new Error(\"Invalid base64 digit: \" + aStr.charAt(aIndex - 1));\n    }\n\n    continuation = !!(digit & VLQ_CONTINUATION_BIT);\n    digit &= VLQ_BASE_MASK;\n    result = result + (digit << shift);\n    shift += VLQ_BASE_SHIFT;\n  } while (continuation);\n\n  aOutParam.value = fromVLQSigned(result);\n  aOutParam.rest = aIndex;\n};\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n/**\n * This is a helper function for getting values from parameter/options\n * objects.\n *\n * @param args The object we are extracting values from\n * @param name The name of the property we are getting.\n * @param defaultValue An optional value to return if the property is missing\n * from the object. If this is not specified and the property is missing, an\n * error will be thrown.\n */\nfunction getArg(aArgs, aName, aDefaultValue) {\n  if (aName in aArgs) {\n    return aArgs[aName];\n  } else if (arguments.length === 3) {\n    return aDefaultValue;\n  } else {\n    throw new Error('\"' + aName + '\" is a required argument.');\n  }\n}\nexports.getArg = getArg;\n\nvar urlRegexp = /^(?:([\\w+\\-.]+):)?\\/\\/(?:(\\w+:\\w+)@)?([\\w.-]*)(?::(\\d+))?(.*)$/;\nvar dataUrlRegexp = /^data:.+\\,.+$/;\n\nfunction urlParse(aUrl) {\n  var match = aUrl.match(urlRegexp);\n  if (!match) {\n    return null;\n  }\n  return {\n    scheme: match[1],\n    auth: match[2],\n    host: match[3],\n    port: match[4],\n    path: match[5]\n  };\n}\nexports.urlParse = urlParse;\n\nfunction urlGenerate(aParsedUrl) {\n  var url = '';\n  if (aParsedUrl.scheme) {\n    url += aParsedUrl.scheme + ':';\n  }\n  url += '//';\n  if (aParsedUrl.auth) {\n    url += aParsedUrl.auth + '@';\n  }\n  if (aParsedUrl.host) {\n    url += aParsedUrl.host;\n  }\n  if (aParsedUrl.port) {\n    url += \":\" + aParsedUrl.port\n  }\n  if (aParsedUrl.path) {\n    url += aParsedUrl.path;\n  }\n  return url;\n}\nexports.urlGenerate = urlGenerate;\n\n/**\n * Normalizes a path, or the path portion of a URL:\n *\n * - Replaces consecutive slashes with one slash.\n * - Removes unnecessary '.' parts.\n * - Removes unnecessary '<dir>/..' parts.\n *\n * Based on code in the Node.js 'path' core module.\n *\n * @param aPath The path or url to normalize.\n */\nfunction normalize(aPath) {\n  var path = aPath;\n  var url = urlParse(aPath);\n  if (url) {\n    if (!url.path) {\n      return aPath;\n    }\n    path = url.path;\n  }\n  var isAbsolute = exports.isAbsolute(path);\n\n  var parts = path.split(/\\/+/);\n  for (var part, up = 0, i = parts.length - 1; i >= 0; i--) {\n    part = parts[i];\n    if (part === '.') {\n      parts.splice(i, 1);\n    } else if (part === '..') {\n      up++;\n    } else if (up > 0) {\n      if (part === '') {\n        // The first part is blank if the path is absolute. Trying to go\n        // above the root is a no-op. Therefore we can remove all '..' parts\n        // directly after the root.\n        parts.splice(i + 1, up);\n        up = 0;\n      } else {\n        parts.splice(i, 2);\n        up--;\n      }\n    }\n  }\n  path = parts.join('/');\n\n  if (path === '') {\n    path = isAbsolute ? '/' : '.';\n  }\n\n  if (url) {\n    url.path = path;\n    return urlGenerate(url);\n  }\n  return path;\n}\nexports.normalize = normalize;\n\n/**\n * Joins two paths/URLs.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be joined with the root.\n *\n * - If aPath is a URL or a data URI, aPath is returned, unless aPath is a\n *   scheme-relative URL: Then the scheme of aRoot, if any, is prepended\n *   first.\n * - Otherwise aPath is a path. If aRoot is a URL, then its path portion\n *   is updated with the result and aRoot is returned. Otherwise the result\n *   is returned.\n *   - If aPath is absolute, the result is aPath.\n *   - Otherwise the two paths are joined with a slash.\n * - Joining for example 'http://' and 'www.example.com' is also supported.\n */\nfunction join(aRoot, aPath) {\n  if (aRoot === \"\") {\n    aRoot = \".\";\n  }\n  if (aPath === \"\") {\n    aPath = \".\";\n  }\n  var aPathUrl = urlParse(aPath);\n  var aRootUrl = urlParse(aRoot);\n  if (aRootUrl) {\n    aRoot = aRootUrl.path || '/';\n  }\n\n  // `join(foo, '//www.example.org')`\n  if (aPathUrl && !aPathUrl.scheme) {\n    if (aRootUrl) {\n      aPathUrl.scheme = aRootUrl.scheme;\n    }\n    return urlGenerate(aPathUrl);\n  }\n\n  if (aPathUrl || aPath.match(dataUrlRegexp)) {\n    return aPath;\n  }\n\n  // `join('http://', 'www.example.com')`\n  if (aRootUrl && !aRootUrl.host && !aRootUrl.path) {\n    aRootUrl.host = aPath;\n    return urlGenerate(aRootUrl);\n  }\n\n  var joined = aPath.charAt(0) === '/'\n    ? aPath\n    : normalize(aRoot.replace(/\\/+$/, '') + '/' + aPath);\n\n  if (aRootUrl) {\n    aRootUrl.path = joined;\n    return urlGenerate(aRootUrl);\n  }\n  return joined;\n}\nexports.join = join;\n\nexports.isAbsolute = function (aPath) {\n  return aPath.charAt(0) === '/' || urlRegexp.test(aPath);\n};\n\n/**\n * Make a path relative to a URL or another path.\n *\n * @param aRoot The root path or URL.\n * @param aPath The path or URL to be made relative to aRoot.\n */\nfunction relative(aRoot, aPath) {\n  if (aRoot === \"\") {\n    aRoot = \".\";\n  }\n\n  aRoot = aRoot.replace(/\\/$/, '');\n\n  // It is possible for the path to be above the root. In this case, simply\n  // checking whether the root is a prefix of the path won't work. Instead, we\n  // need to remove components from the root one by one, until either we find\n  // a prefix that fits, or we run out of components to remove.\n  var level = 0;\n  while (aPath.indexOf(aRoot + '/') !== 0) {\n    var index = aRoot.lastIndexOf(\"/\");\n    if (index < 0) {\n      return aPath;\n    }\n\n    // If the only part of the root that is left is the scheme (i.e. http://,\n    // file:///, etc.), one or more slashes (/), or simply nothing at all, we\n    // have exhausted all components, so the path is not relative to the root.\n    aRoot = aRoot.slice(0, index);\n    if (aRoot.match(/^([^\\/]+:\\/)?\\/*$/)) {\n      return aPath;\n    }\n\n    ++level;\n  }\n\n  // Make sure we add a \"../\" for each component we removed from the root.\n  return Array(level + 1).join(\"../\") + aPath.substr(aRoot.length + 1);\n}\nexports.relative = relative;\n\nvar supportsNullProto = (function () {\n  var obj = Object.create(null);\n  return !('__proto__' in obj);\n}());\n\nfunction identity (s) {\n  return s;\n}\n\n/**\n * Because behavior goes wacky when you set `__proto__` on objects, we\n * have to prefix all the strings in our set with an arbitrary character.\n *\n * See https://github.com/mozilla/source-map/pull/31 and\n * https://github.com/mozilla/source-map/issues/30\n *\n * @param String aStr\n */\nfunction toSetString(aStr) {\n  if (isProtoString(aStr)) {\n    return '$' + aStr;\n  }\n\n  return aStr;\n}\nexports.toSetString = supportsNullProto ? identity : toSetString;\n\nfunction fromSetString(aStr) {\n  if (isProtoString(aStr)) {\n    return aStr.slice(1);\n  }\n\n  return aStr;\n}\nexports.fromSetString = supportsNullProto ? identity : fromSetString;\n\nfunction isProtoString(s) {\n  if (!s) {\n    return false;\n  }\n\n  var length = s.length;\n\n  if (length < 9 /* \"__proto__\".length */) {\n    return false;\n  }\n\n  if (s.charCodeAt(length - 1) !== 95  /* '_' */ ||\n      s.charCodeAt(length - 2) !== 95  /* '_' */ ||\n      s.charCodeAt(length - 3) !== 111 /* 'o' */ ||\n      s.charCodeAt(length - 4) !== 116 /* 't' */ ||\n      s.charCodeAt(length - 5) !== 111 /* 'o' */ ||\n      s.charCodeAt(length - 6) !== 114 /* 'r' */ ||\n      s.charCodeAt(length - 7) !== 112 /* 'p' */ ||\n      s.charCodeAt(length - 8) !== 95  /* '_' */ ||\n      s.charCodeAt(length - 9) !== 95  /* '_' */) {\n    return false;\n  }\n\n  for (var i = length - 10; i >= 0; i--) {\n    if (s.charCodeAt(i) !== 36 /* '$' */) {\n      return false;\n    }\n  }\n\n  return true;\n}\n\n/**\n * Comparator between two mappings where the original positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same original source/line/column, but different generated\n * line and column the same. Useful when searching for a mapping with a\n * stubbed out mapping.\n */\nfunction compareByOriginalPositions(mappingA, mappingB, onlyCompareOriginal) {\n  var cmp = strcmp(mappingA.source, mappingB.source);\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.originalLine - mappingB.originalLine;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.originalColumn - mappingB.originalColumn;\n  if (cmp !== 0 || onlyCompareOriginal) {\n    return cmp;\n  }\n\n  cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.generatedLine - mappingB.generatedLine;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByOriginalPositions = compareByOriginalPositions;\n\n/**\n * Comparator between two mappings with deflated source and name indices where\n * the generated positions are compared.\n *\n * Optionally pass in `true` as `onlyCompareGenerated` to consider two\n * mappings with the same generated line and column, but different\n * source/name/original line and column the same. Useful when searching for a\n * mapping with a stubbed out mapping.\n */\nfunction compareByGeneratedPositionsDeflated(mappingA, mappingB, onlyCompareGenerated) {\n  var cmp = mappingA.generatedLine - mappingB.generatedLine;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n  if (cmp !== 0 || onlyCompareGenerated) {\n    return cmp;\n  }\n\n  cmp = strcmp(mappingA.source, mappingB.source);\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.originalLine - mappingB.originalLine;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.originalColumn - mappingB.originalColumn;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsDeflated = compareByGeneratedPositionsDeflated;\n\nfunction strcmp(aStr1, aStr2) {\n  if (aStr1 === aStr2) {\n    return 0;\n  }\n\n  if (aStr1 === null) {\n    return 1; // aStr2 !== null\n  }\n\n  if (aStr2 === null) {\n    return -1; // aStr1 !== null\n  }\n\n  if (aStr1 > aStr2) {\n    return 1;\n  }\n\n  return -1;\n}\n\n/**\n * Comparator between two mappings with inflated source and name strings where\n * the generated positions are compared.\n */\nfunction compareByGeneratedPositionsInflated(mappingA, mappingB) {\n  var cmp = mappingA.generatedLine - mappingB.generatedLine;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.generatedColumn - mappingB.generatedColumn;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = strcmp(mappingA.source, mappingB.source);\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.originalLine - mappingB.originalLine;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  cmp = mappingA.originalColumn - mappingB.originalColumn;\n  if (cmp !== 0) {\n    return cmp;\n  }\n\n  return strcmp(mappingA.name, mappingB.name);\n}\nexports.compareByGeneratedPositionsInflated = compareByGeneratedPositionsInflated;\n\n/**\n * Strip any JSON XSSI avoidance prefix from the string (as documented\n * in the source maps specification), and then parse the string as\n * JSON.\n */\nfunction parseSourceMapInput(str) {\n  return JSON.parse(str.replace(/^\\)]}'[^\\n]*\\n/, ''));\n}\nexports.parseSourceMapInput = parseSourceMapInput;\n\n/**\n * Compute the URL of a source given the the source root, the source's\n * URL, and the source map's URL.\n */\nfunction computeSourceURL(sourceRoot, sourceURL, sourceMapURL) {\n  sourceURL = sourceURL || '';\n\n  if (sourceRoot) {\n    // This follows what Chrome does.\n    if (sourceRoot[sourceRoot.length - 1] !== '/' && sourceURL[0] !== '/') {\n      sourceRoot += '/';\n    }\n    // The spec says:\n    //   Line 4: An optional source root, useful for relocating source\n    //   files on a server or removing repeated values in the\n    //   “sources” entry.  This value is prepended to the individual\n    //   entries in the “source” field.\n    sourceURL = sourceRoot + sourceURL;\n  }\n\n  // Historically, SourceMapConsumer did not take the sourceMapURL as\n  // a parameter.  This mode is still somewhat supported, which is why\n  // this code block is conditional.  However, it's preferable to pass\n  // the source map URL to SourceMapConsumer, so that this function\n  // can implement the source URL resolution algorithm as outlined in\n  // the spec.  This block is basically the equivalent of:\n  //    new URL(sourceURL, sourceMapURL).toString()\n  // ... except it avoids using URL, which wasn't available in the\n  // older releases of node still supported by this library.\n  //\n  // The spec says:\n  //   If the sources are not absolute URLs after prepending of the\n  //   “sourceRoot”, the sources are resolved relative to the\n  //   SourceMap (like resolving script src in a html document).\n  if (sourceMapURL) {\n    var parsed = urlParse(sourceMapURL);\n    if (!parsed) {\n      throw new Error(\"sourceMapURL could not be parsed\");\n    }\n    if (parsed.path) {\n      // Strip the last path component, but keep the \"/\".\n      var index = parsed.path.lastIndexOf('/');\n      if (index >= 0) {\n        parsed.path = parsed.path.substring(0, index + 1);\n      }\n    }\n    sourceURL = join(urlGenerate(parsed), sourceURL);\n  }\n\n  return normalize(sourceURL);\n}\nexports.computeSourceURL = computeSourceURL;\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar has = Object.prototype.hasOwnProperty;\nvar hasNativeMap = typeof Map !== \"undefined\";\n\n/**\n * A data structure which is a combination of an array and a set. Adding a new\n * member is O(1), testing for membership is O(1), and finding the index of an\n * element is O(1). Removing elements from the set is not supported. Only\n * strings are supported for membership.\n */\nfunction ArraySet() {\n  this._array = [];\n  this._set = hasNativeMap ? new Map() : Object.create(null);\n}\n\n/**\n * Static method for creating ArraySet instances from an existing array.\n */\nArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {\n  var set = new ArraySet();\n  for (var i = 0, len = aArray.length; i < len; i++) {\n    set.add(aArray[i], aAllowDuplicates);\n  }\n  return set;\n};\n\n/**\n * Return how many unique items are in this ArraySet. If duplicates have been\n * added, than those do not count towards the size.\n *\n * @returns Number\n */\nArraySet.prototype.size = function ArraySet_size() {\n  return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;\n};\n\n/**\n * Add the given string to this set.\n *\n * @param String aStr\n */\nArraySet.prototype.add = function ArraySet_add(aStr, aAllowDuplicates) {\n  var sStr = hasNativeMap ? aStr : util.toSetString(aStr);\n  var isDuplicate = hasNativeMap ? this.has(aStr) : has.call(this._set, sStr);\n  var idx = this._array.length;\n  if (!isDuplicate || aAllowDuplicates) {\n    this._array.push(aStr);\n  }\n  if (!isDuplicate) {\n    if (hasNativeMap) {\n      this._set.set(aStr, idx);\n    } else {\n      this._set[sStr] = idx;\n    }\n  }\n};\n\n/**\n * Is the given string a member of this set?\n *\n * @param String aStr\n */\nArraySet.prototype.has = function ArraySet_has(aStr) {\n  if (hasNativeMap) {\n    return this._set.has(aStr);\n  } else {\n    var sStr = util.toSetString(aStr);\n    return has.call(this._set, sStr);\n  }\n};\n\n/**\n * What is the index of the given string in the array?\n *\n * @param String aStr\n */\nArraySet.prototype.indexOf = function ArraySet_indexOf(aStr) {\n  if (hasNativeMap) {\n    var idx = this._set.get(aStr);\n    if (idx >= 0) {\n        return idx;\n    }\n  } else {\n    var sStr = util.toSetString(aStr);\n    if (has.call(this._set, sStr)) {\n      return this._set[sStr];\n    }\n  }\n\n  throw new Error('\"' + aStr + '\" is not in the set.');\n};\n\n/**\n * What is the element at the given index?\n *\n * @param Number aIdx\n */\nArraySet.prototype.at = function ArraySet_at(aIdx) {\n  if (aIdx >= 0 && aIdx < this._array.length) {\n    return this._array[aIdx];\n  }\n  throw new Error('No element indexed by ' + aIdx);\n};\n\n/**\n * Returns the array representation of this set (which has the proper indices\n * indicated by indexOf). Note that this is a copy of the internal array used\n * for storing the members so that no one can mess with internal state.\n */\nArraySet.prototype.toArray = function ArraySet_toArray() {\n  return this._array.slice();\n};\n\nexports.ArraySet = ArraySet;\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2014 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\n\n/**\n * Determine whether mappingB is after mappingA with respect to generated\n * position.\n */\nfunction generatedPositionAfter(mappingA, mappingB) {\n  // Optimized for most common case\n  var lineA = mappingA.generatedLine;\n  var lineB = mappingB.generatedLine;\n  var columnA = mappingA.generatedColumn;\n  var columnB = mappingB.generatedColumn;\n  return lineB > lineA || lineB == lineA && columnB >= columnA ||\n         util.compareByGeneratedPositionsInflated(mappingA, mappingB) <= 0;\n}\n\n/**\n * A data structure to provide a sorted view of accumulated mappings in a\n * performance conscious manner. It trades a neglibable overhead in general\n * case for a large speedup in case of mappings being added in order.\n */\nfunction MappingList() {\n  this._array = [];\n  this._sorted = true;\n  // Serves as infimum\n  this._last = {generatedLine: -1, generatedColumn: 0};\n}\n\n/**\n * Iterate through internal items. This method takes the same arguments that\n * `Array.prototype.forEach` takes.\n *\n * NOTE: The order of the mappings is NOT guaranteed.\n */\nMappingList.prototype.unsortedForEach =\n  function MappingList_forEach(aCallback, aThisArg) {\n    this._array.forEach(aCallback, aThisArg);\n  };\n\n/**\n * Add the given source mapping.\n *\n * @param Object aMapping\n */\nMappingList.prototype.add = function MappingList_add(aMapping) {\n  if (generatedPositionAfter(this._last, aMapping)) {\n    this._last = aMapping;\n    this._array.push(aMapping);\n  } else {\n    this._sorted = false;\n    this._array.push(aMapping);\n  }\n};\n\n/**\n * Returns the flat, sorted array of mappings. The mappings are sorted by\n * generated position.\n *\n * WARNING: This method returns internal data without copying, for\n * performance. The return value must NOT be mutated, and should be treated as\n * an immutable borrow. If you want to take ownership, you must make your own\n * copy.\n */\nMappingList.prototype.toArray = function MappingList_toArray() {\n  if (!this._sorted) {\n    this._array.sort(util.compareByGeneratedPositionsInflated);\n    this._sorted = true;\n  }\n  return this._array;\n};\n\nexports.MappingList = MappingList;\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar base64VLQ = require('./base64-vlq');\nvar util = require('./util');\nvar ArraySet = require('./array-set').ArraySet;\nvar MappingList = require('./mapping-list').MappingList;\n\n/**\n * An instance of the SourceMapGenerator represents a source map which is\n * being built incrementally. You may pass an object with the following\n * properties:\n *\n *   - file: The filename of the generated source.\n *   - sourceRoot: A root for all relative URLs in this source map.\n */\nfunction SourceMapGenerator(aArgs) {\n  if (!aArgs) {\n    aArgs = {};\n  }\n  this._file = util.getArg(aArgs, 'file', null);\n  this._sourceRoot = util.getArg(aArgs, 'sourceRoot', null);\n  this._skipValidation = util.getArg(aArgs, 'skipValidation', false);\n  this._sources = new ArraySet();\n  this._names = new ArraySet();\n  this._mappings = new MappingList();\n  this._sourcesContents = null;\n}\n\nSourceMapGenerator.prototype._version = 3;\n\n/**\n * Creates a new SourceMapGenerator based on a SourceMapConsumer\n *\n * @param aSourceMapConsumer The SourceMap.\n */\nSourceMapGenerator.fromSourceMap =\n  function SourceMapGenerator_fromSourceMap(aSourceMapConsumer) {\n    var sourceRoot = aSourceMapConsumer.sourceRoot;\n    var generator = new SourceMapGenerator({\n      file: aSourceMapConsumer.file,\n      sourceRoot: sourceRoot\n    });\n    aSourceMapConsumer.eachMapping(function (mapping) {\n      var newMapping = {\n        generated: {\n          line: mapping.generatedLine,\n          column: mapping.generatedColumn\n        }\n      };\n\n      if (mapping.source != null) {\n        newMapping.source = mapping.source;\n        if (sourceRoot != null) {\n          newMapping.source = util.relative(sourceRoot, newMapping.source);\n        }\n\n        newMapping.original = {\n          line: mapping.originalLine,\n          column: mapping.originalColumn\n        };\n\n        if (mapping.name != null) {\n          newMapping.name = mapping.name;\n        }\n      }\n\n      generator.addMapping(newMapping);\n    });\n    aSourceMapConsumer.sources.forEach(function (sourceFile) {\n      var sourceRelative = sourceFile;\n      if (sourceRoot !== null) {\n        sourceRelative = util.relative(sourceRoot, sourceFile);\n      }\n\n      if (!generator._sources.has(sourceRelative)) {\n        generator._sources.add(sourceRelative);\n      }\n\n      var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n      if (content != null) {\n        generator.setSourceContent(sourceFile, content);\n      }\n    });\n    return generator;\n  };\n\n/**\n * Add a single mapping from original source line and column to the generated\n * source's line and column for this source map being created. The mapping\n * object should have the following properties:\n *\n *   - generated: An object with the generated line and column positions.\n *   - original: An object with the original line and column positions.\n *   - source: The original source file (relative to the sourceRoot).\n *   - name: An optional original token name for this mapping.\n */\nSourceMapGenerator.prototype.addMapping =\n  function SourceMapGenerator_addMapping(aArgs) {\n    var generated = util.getArg(aArgs, 'generated');\n    var original = util.getArg(aArgs, 'original', null);\n    var source = util.getArg(aArgs, 'source', null);\n    var name = util.getArg(aArgs, 'name', null);\n\n    if (!this._skipValidation) {\n      this._validateMapping(generated, original, source, name);\n    }\n\n    if (source != null) {\n      source = String(source);\n      if (!this._sources.has(source)) {\n        this._sources.add(source);\n      }\n    }\n\n    if (name != null) {\n      name = String(name);\n      if (!this._names.has(name)) {\n        this._names.add(name);\n      }\n    }\n\n    this._mappings.add({\n      generatedLine: generated.line,\n      generatedColumn: generated.column,\n      originalLine: original != null && original.line,\n      originalColumn: original != null && original.column,\n      source: source,\n      name: name\n    });\n  };\n\n/**\n * Set the source content for a source file.\n */\nSourceMapGenerator.prototype.setSourceContent =\n  function SourceMapGenerator_setSourceContent(aSourceFile, aSourceContent) {\n    var source = aSourceFile;\n    if (this._sourceRoot != null) {\n      source = util.relative(this._sourceRoot, source);\n    }\n\n    if (aSourceContent != null) {\n      // Add the source content to the _sourcesContents map.\n      // Create a new _sourcesContents map if the property is null.\n      if (!this._sourcesContents) {\n        this._sourcesContents = Object.create(null);\n      }\n      this._sourcesContents[util.toSetString(source)] = aSourceContent;\n    } else if (this._sourcesContents) {\n      // Remove the source file from the _sourcesContents map.\n      // If the _sourcesContents map is empty, set the property to null.\n      delete this._sourcesContents[util.toSetString(source)];\n      if (Object.keys(this._sourcesContents).length === 0) {\n        this._sourcesContents = null;\n      }\n    }\n  };\n\n/**\n * Applies the mappings of a sub-source-map for a specific source file to the\n * source map being generated. Each mapping to the supplied source file is\n * rewritten using the supplied source map. Note: The resolution for the\n * resulting mappings is the minimium of this map and the supplied map.\n *\n * @param aSourceMapConsumer The source map to be applied.\n * @param aSourceFile Optional. The filename of the source file.\n *        If omitted, SourceMapConsumer's file property will be used.\n * @param aSourceMapPath Optional. The dirname of the path to the source map\n *        to be applied. If relative, it is relative to the SourceMapConsumer.\n *        This parameter is needed when the two source maps aren't in the same\n *        directory, and the source map to be applied contains relative source\n *        paths. If so, those relative source paths need to be rewritten\n *        relative to the SourceMapGenerator.\n */\nSourceMapGenerator.prototype.applySourceMap =\n  function SourceMapGenerator_applySourceMap(aSourceMapConsumer, aSourceFile, aSourceMapPath) {\n    var sourceFile = aSourceFile;\n    // If aSourceFile is omitted, we will use the file property of the SourceMap\n    if (aSourceFile == null) {\n      if (aSourceMapConsumer.file == null) {\n        throw new Error(\n          'SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, ' +\n          'or the source map\\'s \"file\" property. Both were omitted.'\n        );\n      }\n      sourceFile = aSourceMapConsumer.file;\n    }\n    var sourceRoot = this._sourceRoot;\n    // Make \"sourceFile\" relative if an absolute Url is passed.\n    if (sourceRoot != null) {\n      sourceFile = util.relative(sourceRoot, sourceFile);\n    }\n    // Applying the SourceMap can add and remove items from the sources and\n    // the names array.\n    var newSources = new ArraySet();\n    var newNames = new ArraySet();\n\n    // Find mappings for the \"sourceFile\"\n    this._mappings.unsortedForEach(function (mapping) {\n      if (mapping.source === sourceFile && mapping.originalLine != null) {\n        // Check if it can be mapped by the source map, then update the mapping.\n        var original = aSourceMapConsumer.originalPositionFor({\n          line: mapping.originalLine,\n          column: mapping.originalColumn\n        });\n        if (original.source != null) {\n          // Copy mapping\n          mapping.source = original.source;\n          if (aSourceMapPath != null) {\n            mapping.source = util.join(aSourceMapPath, mapping.source)\n          }\n          if (sourceRoot != null) {\n            mapping.source = util.relative(sourceRoot, mapping.source);\n          }\n          mapping.originalLine = original.line;\n          mapping.originalColumn = original.column;\n          if (original.name != null) {\n            mapping.name = original.name;\n          }\n        }\n      }\n\n      var source = mapping.source;\n      if (source != null && !newSources.has(source)) {\n        newSources.add(source);\n      }\n\n      var name = mapping.name;\n      if (name != null && !newNames.has(name)) {\n        newNames.add(name);\n      }\n\n    }, this);\n    this._sources = newSources;\n    this._names = newNames;\n\n    // Copy sourcesContents of applied map.\n    aSourceMapConsumer.sources.forEach(function (sourceFile) {\n      var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n      if (content != null) {\n        if (aSourceMapPath != null) {\n          sourceFile = util.join(aSourceMapPath, sourceFile);\n        }\n        if (sourceRoot != null) {\n          sourceFile = util.relative(sourceRoot, sourceFile);\n        }\n        this.setSourceContent(sourceFile, content);\n      }\n    }, this);\n  };\n\n/**\n * A mapping can have one of the three levels of data:\n *\n *   1. Just the generated position.\n *   2. The Generated position, original position, and original source.\n *   3. Generated and original position, original source, as well as a name\n *      token.\n *\n * To maintain consistency, we validate that any new mapping being added falls\n * in to one of these categories.\n */\nSourceMapGenerator.prototype._validateMapping =\n  function SourceMapGenerator_validateMapping(aGenerated, aOriginal, aSource,\n                                              aName) {\n    // When aOriginal is truthy but has empty values for .line and .column,\n    // it is most likely a programmer error. In this case we throw a very\n    // specific error message to try to guide them the right way.\n    // For example: https://github.com/Polymer/polymer-bundler/pull/519\n    if (aOriginal && typeof aOriginal.line !== 'number' && typeof aOriginal.column !== 'number') {\n        throw new Error(\n            'original.line and original.column are not numbers -- you probably meant to omit ' +\n            'the original mapping entirely and only map the generated position. If so, pass ' +\n            'null for the original mapping instead of an object with empty or null values.'\n        );\n    }\n\n    if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n        && aGenerated.line > 0 && aGenerated.column >= 0\n        && !aOriginal && !aSource && !aName) {\n      // Case 1.\n      return;\n    }\n    else if (aGenerated && 'line' in aGenerated && 'column' in aGenerated\n             && aOriginal && 'line' in aOriginal && 'column' in aOriginal\n             && aGenerated.line > 0 && aGenerated.column >= 0\n             && aOriginal.line > 0 && aOriginal.column >= 0\n             && aSource) {\n      // Cases 2 and 3.\n      return;\n    }\n    else {\n      throw new Error('Invalid mapping: ' + JSON.stringify({\n        generated: aGenerated,\n        source: aSource,\n        original: aOriginal,\n        name: aName\n      }));\n    }\n  };\n\n/**\n * Serialize the accumulated mappings in to the stream of base 64 VLQs\n * specified by the source map format.\n */\nSourceMapGenerator.prototype._serializeMappings =\n  function SourceMapGenerator_serializeMappings() {\n    var previousGeneratedColumn = 0;\n    var previousGeneratedLine = 1;\n    var previousOriginalColumn = 0;\n    var previousOriginalLine = 0;\n    var previousName = 0;\n    var previousSource = 0;\n    var result = '';\n    var next;\n    var mapping;\n    var nameIdx;\n    var sourceIdx;\n\n    var mappings = this._mappings.toArray();\n    for (var i = 0, len = mappings.length; i < len; i++) {\n      mapping = mappings[i];\n      next = ''\n\n      if (mapping.generatedLine !== previousGeneratedLine) {\n        previousGeneratedColumn = 0;\n        while (mapping.generatedLine !== previousGeneratedLine) {\n          next += ';';\n          previousGeneratedLine++;\n        }\n      }\n      else {\n        if (i > 0) {\n          if (!util.compareByGeneratedPositionsInflated(mapping, mappings[i - 1])) {\n            continue;\n          }\n          next += ',';\n        }\n      }\n\n      next += base64VLQ.encode(mapping.generatedColumn\n                                 - previousGeneratedColumn);\n      previousGeneratedColumn = mapping.generatedColumn;\n\n      if (mapping.source != null) {\n        sourceIdx = this._sources.indexOf(mapping.source);\n        next += base64VLQ.encode(sourceIdx - previousSource);\n        previousSource = sourceIdx;\n\n        // lines are stored 0-based in SourceMap spec version 3\n        next += base64VLQ.encode(mapping.originalLine - 1\n                                   - previousOriginalLine);\n        previousOriginalLine = mapping.originalLine - 1;\n\n        next += base64VLQ.encode(mapping.originalColumn\n                                   - previousOriginalColumn);\n        previousOriginalColumn = mapping.originalColumn;\n\n        if (mapping.name != null) {\n          nameIdx = this._names.indexOf(mapping.name);\n          next += base64VLQ.encode(nameIdx - previousName);\n          previousName = nameIdx;\n        }\n      }\n\n      result += next;\n    }\n\n    return result;\n  };\n\nSourceMapGenerator.prototype._generateSourcesContent =\n  function SourceMapGenerator_generateSourcesContent(aSources, aSourceRoot) {\n    return aSources.map(function (source) {\n      if (!this._sourcesContents) {\n        return null;\n      }\n      if (aSourceRoot != null) {\n        source = util.relative(aSourceRoot, source);\n      }\n      var key = util.toSetString(source);\n      return Object.prototype.hasOwnProperty.call(this._sourcesContents, key)\n        ? this._sourcesContents[key]\n        : null;\n    }, this);\n  };\n\n/**\n * Externalize the source map.\n */\nSourceMapGenerator.prototype.toJSON =\n  function SourceMapGenerator_toJSON() {\n    var map = {\n      version: this._version,\n      sources: this._sources.toArray(),\n      names: this._names.toArray(),\n      mappings: this._serializeMappings()\n    };\n    if (this._file != null) {\n      map.file = this._file;\n    }\n    if (this._sourceRoot != null) {\n      map.sourceRoot = this._sourceRoot;\n    }\n    if (this._sourcesContents) {\n      map.sourcesContent = this._generateSourcesContent(map.sources, map.sourceRoot);\n    }\n\n    return map;\n  };\n\n/**\n * Render the source map being generated to a string.\n */\nSourceMapGenerator.prototype.toString =\n  function SourceMapGenerator_toString() {\n    return JSON.stringify(this.toJSON());\n  };\n\nexports.SourceMapGenerator = SourceMapGenerator;\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nexports.GREATEST_LOWER_BOUND = 1;\nexports.LEAST_UPPER_BOUND = 2;\n\n/**\n * Recursive implementation of binary search.\n *\n * @param aLow Indices here and lower do not contain the needle.\n * @param aHigh Indices here and higher do not contain the needle.\n * @param aNeedle The element being searched for.\n * @param aHaystack The non-empty array being searched.\n * @param aCompare Function which takes two elements and returns -1, 0, or 1.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n *     'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n *     closest element that is smaller than or greater than the one we are\n *     searching for, respectively, if the exact element cannot be found.\n */\nfunction recursiveSearch(aLow, aHigh, aNeedle, aHaystack, aCompare, aBias) {\n  // This function terminates when one of the following is true:\n  //\n  //   1. We find the exact element we are looking for.\n  //\n  //   2. We did not find the exact element, but we can return the index of\n  //      the next-closest element.\n  //\n  //   3. We did not find the exact element, and there is no next-closest\n  //      element than the one we are searching for, so we return -1.\n  var mid = Math.floor((aHigh - aLow) / 2) + aLow;\n  var cmp = aCompare(aNeedle, aHaystack[mid], true);\n  if (cmp === 0) {\n    // Found the element we are looking for.\n    return mid;\n  }\n  else if (cmp > 0) {\n    // Our needle is greater than aHaystack[mid].\n    if (aHigh - mid > 1) {\n      // The element is in the upper half.\n      return recursiveSearch(mid, aHigh, aNeedle, aHaystack, aCompare, aBias);\n    }\n\n    // The exact needle element was not found in this haystack. Determine if\n    // we are in termination case (3) or (2) and return the appropriate thing.\n    if (aBias == exports.LEAST_UPPER_BOUND) {\n      return aHigh < aHaystack.length ? aHigh : -1;\n    } else {\n      return mid;\n    }\n  }\n  else {\n    // Our needle is less than aHaystack[mid].\n    if (mid - aLow > 1) {\n      // The element is in the lower half.\n      return recursiveSearch(aLow, mid, aNeedle, aHaystack, aCompare, aBias);\n    }\n\n    // we are in termination case (3) or (2) and return the appropriate thing.\n    if (aBias == exports.LEAST_UPPER_BOUND) {\n      return mid;\n    } else {\n      return aLow < 0 ? -1 : aLow;\n    }\n  }\n}\n\n/**\n * This is an implementation of binary search which will always try and return\n * the index of the closest element if there is no exact hit. This is because\n * mappings between original and generated line/col pairs are single points,\n * and there is an implicit region between each of them, so a miss just means\n * that you aren't on the very start of a region.\n *\n * @param aNeedle The element you are looking for.\n * @param aHaystack The array that is being searched.\n * @param aCompare A function which takes the needle and an element in the\n *     array and returns -1, 0, or 1 depending on whether the needle is less\n *     than, equal to, or greater than the element, respectively.\n * @param aBias Either 'binarySearch.GREATEST_LOWER_BOUND' or\n *     'binarySearch.LEAST_UPPER_BOUND'. Specifies whether to return the\n *     closest element that is smaller than or greater than the one we are\n *     searching for, respectively, if the exact element cannot be found.\n *     Defaults to 'binarySearch.GREATEST_LOWER_BOUND'.\n */\nexports.search = function search(aNeedle, aHaystack, aCompare, aBias) {\n  if (aHaystack.length === 0) {\n    return -1;\n  }\n\n  var index = recursiveSearch(-1, aHaystack.length, aNeedle, aHaystack,\n                              aCompare, aBias || exports.GREATEST_LOWER_BOUND);\n  if (index < 0) {\n    return -1;\n  }\n\n  // We have found either the exact element, or the next-closest element than\n  // the one we are searching for. However, there may be more than one such\n  // element. Make sure we always return the smallest of these.\n  while (index - 1 >= 0) {\n    if (aCompare(aHaystack[index], aHaystack[index - 1], true) !== 0) {\n      break;\n    }\n    --index;\n  }\n\n  return index;\n};\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\n// It turns out that some (most?) JavaScript engines don't self-host\n// `Array.prototype.sort`. This makes sense because C++ will likely remain\n// faster than JS when doing raw CPU-intensive sorting. However, when using a\n// custom comparator function, calling back and forth between the VM's C++ and\n// JIT'd JS is rather slow *and* loses JIT type information, resulting in\n// worse generated code for the comparator function than would be optimal. In\n// fact, when sorting with a comparator, these costs outweigh the benefits of\n// sorting in C++. By using our own JS-implemented Quick Sort (below), we get\n// a ~3500ms mean speed-up in `bench/bench.html`.\n\n/**\n * Swap the elements indexed by `x` and `y` in the array `ary`.\n *\n * @param {Array} ary\n *        The array.\n * @param {Number} x\n *        The index of the first item.\n * @param {Number} y\n *        The index of the second item.\n */\nfunction swap(ary, x, y) {\n  var temp = ary[x];\n  ary[x] = ary[y];\n  ary[y] = temp;\n}\n\n/**\n * Returns a random integer within the range `low .. high` inclusive.\n *\n * @param {Number} low\n *        The lower bound on the range.\n * @param {Number} high\n *        The upper bound on the range.\n */\nfunction randomIntInRange(low, high) {\n  return Math.round(low + (Math.random() * (high - low)));\n}\n\n/**\n * The Quick Sort algorithm.\n *\n * @param {Array} ary\n *        An array to sort.\n * @param {function} comparator\n *        Function to use to compare two items.\n * @param {Number} p\n *        Start index of the array\n * @param {Number} r\n *        End index of the array\n */\nfunction doQuickSort(ary, comparator, p, r) {\n  // If our lower bound is less than our upper bound, we (1) partition the\n  // array into two pieces and (2) recurse on each half. If it is not, this is\n  // the empty array and our base case.\n\n  if (p < r) {\n    // (1) Partitioning.\n    //\n    // The partitioning chooses a pivot between `p` and `r` and moves all\n    // elements that are less than or equal to the pivot to the before it, and\n    // all the elements that are greater than it after it. The effect is that\n    // once partition is done, the pivot is in the exact place it will be when\n    // the array is put in sorted order, and it will not need to be moved\n    // again. This runs in O(n) time.\n\n    // Always choose a random pivot so that an input array which is reverse\n    // sorted does not cause O(n^2) running time.\n    var pivotIndex = randomIntInRange(p, r);\n    var i = p - 1;\n\n    swap(ary, pivotIndex, r);\n    var pivot = ary[r];\n\n    // Immediately after `j` is incremented in this loop, the following hold\n    // true:\n    //\n    //   * Every element in `ary[p .. i]` is less than or equal to the pivot.\n    //\n    //   * Every element in `ary[i+1 .. j-1]` is greater than the pivot.\n    for (var j = p; j < r; j++) {\n      if (comparator(ary[j], pivot) <= 0) {\n        i += 1;\n        swap(ary, i, j);\n      }\n    }\n\n    swap(ary, i + 1, j);\n    var q = i + 1;\n\n    // (2) Recurse on each half.\n\n    doQuickSort(ary, comparator, p, q - 1);\n    doQuickSort(ary, comparator, q + 1, r);\n  }\n}\n\n/**\n * Sort the given array in-place with the given comparator function.\n *\n * @param {Array} ary\n *        An array to sort.\n * @param {function} comparator\n *        Function to use to compare two items.\n */\nexports.quickSort = function (ary, comparator) {\n  doQuickSort(ary, comparator, 0, ary.length - 1);\n};\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar util = require('./util');\nvar binarySearch = require('./binary-search');\nvar ArraySet = require('./array-set').ArraySet;\nvar base64VLQ = require('./base64-vlq');\nvar quickSort = require('./quick-sort').quickSort;\n\nfunction SourceMapConsumer(aSourceMap, aSourceMapURL) {\n  var sourceMap = aSourceMap;\n  if (typeof aSourceMap === 'string') {\n    sourceMap = util.parseSourceMapInput(aSourceMap);\n  }\n\n  return sourceMap.sections != null\n    ? new IndexedSourceMapConsumer(sourceMap, aSourceMapURL)\n    : new BasicSourceMapConsumer(sourceMap, aSourceMapURL);\n}\n\nSourceMapConsumer.fromSourceMap = function(aSourceMap, aSourceMapURL) {\n  return BasicSourceMapConsumer.fromSourceMap(aSourceMap, aSourceMapURL);\n}\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nSourceMapConsumer.prototype._version = 3;\n\n// `__generatedMappings` and `__originalMappings` are arrays that hold the\n// parsed mapping coordinates from the source map's \"mappings\" attribute. They\n// are lazily instantiated, accessed via the `_generatedMappings` and\n// `_originalMappings` getters respectively, and we only parse the mappings\n// and create these arrays once queried for a source location. We jump through\n// these hoops because there can be many thousands of mappings, and parsing\n// them is expensive, so we only want to do it if we must.\n//\n// Each object in the arrays is of the form:\n//\n//     {\n//       generatedLine: The line number in the generated code,\n//       generatedColumn: The column number in the generated code,\n//       source: The path to the original source file that generated this\n//               chunk of code,\n//       originalLine: The line number in the original source that\n//                     corresponds to this chunk of generated code,\n//       originalColumn: The column number in the original source that\n//                       corresponds to this chunk of generated code,\n//       name: The name of the original symbol which generated this chunk of\n//             code.\n//     }\n//\n// All properties except for `generatedLine` and `generatedColumn` can be\n// `null`.\n//\n// `_generatedMappings` is ordered by the generated positions.\n//\n// `_originalMappings` is ordered by the original positions.\n\nSourceMapConsumer.prototype.__generatedMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_generatedMappings', {\n  configurable: true,\n  enumerable: true,\n  get: function () {\n    if (!this.__generatedMappings) {\n      this._parseMappings(this._mappings, this.sourceRoot);\n    }\n\n    return this.__generatedMappings;\n  }\n});\n\nSourceMapConsumer.prototype.__originalMappings = null;\nObject.defineProperty(SourceMapConsumer.prototype, '_originalMappings', {\n  configurable: true,\n  enumerable: true,\n  get: function () {\n    if (!this.__originalMappings) {\n      this._parseMappings(this._mappings, this.sourceRoot);\n    }\n\n    return this.__originalMappings;\n  }\n});\n\nSourceMapConsumer.prototype._charIsMappingSeparator =\n  function SourceMapConsumer_charIsMappingSeparator(aStr, index) {\n    var c = aStr.charAt(index);\n    return c === \";\" || c === \",\";\n  };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nSourceMapConsumer.prototype._parseMappings =\n  function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n    throw new Error(\"Subclasses must implement _parseMappings\");\n  };\n\nSourceMapConsumer.GENERATED_ORDER = 1;\nSourceMapConsumer.ORIGINAL_ORDER = 2;\n\nSourceMapConsumer.GREATEST_LOWER_BOUND = 1;\nSourceMapConsumer.LEAST_UPPER_BOUND = 2;\n\n/**\n * Iterate over each mapping between an original source/line/column and a\n * generated line/column in this source map.\n *\n * @param Function aCallback\n *        The function that is called with each mapping.\n * @param Object aContext\n *        Optional. If specified, this object will be the value of `this` every\n *        time that `aCallback` is called.\n * @param aOrder\n *        Either `SourceMapConsumer.GENERATED_ORDER` or\n *        `SourceMapConsumer.ORIGINAL_ORDER`. Specifies whether you want to\n *        iterate over the mappings sorted by the generated file's line/column\n *        order or the original's source/line/column order, respectively. Defaults to\n *        `SourceMapConsumer.GENERATED_ORDER`.\n */\nSourceMapConsumer.prototype.eachMapping =\n  function SourceMapConsumer_eachMapping(aCallback, aContext, aOrder) {\n    var context = aContext || null;\n    var order = aOrder || SourceMapConsumer.GENERATED_ORDER;\n\n    var mappings;\n    switch (order) {\n    case SourceMapConsumer.GENERATED_ORDER:\n      mappings = this._generatedMappings;\n      break;\n    case SourceMapConsumer.ORIGINAL_ORDER:\n      mappings = this._originalMappings;\n      break;\n    default:\n      throw new Error(\"Unknown order of iteration.\");\n    }\n\n    var sourceRoot = this.sourceRoot;\n    mappings.map(function (mapping) {\n      var source = mapping.source === null ? null : this._sources.at(mapping.source);\n      source = util.computeSourceURL(sourceRoot, source, this._sourceMapURL);\n      return {\n        source: source,\n        generatedLine: mapping.generatedLine,\n        generatedColumn: mapping.generatedColumn,\n        originalLine: mapping.originalLine,\n        originalColumn: mapping.originalColumn,\n        name: mapping.name === null ? null : this._names.at(mapping.name)\n      };\n    }, this).forEach(aCallback, context);\n  };\n\n/**\n * Returns all generated line and column information for the original source,\n * line, and column provided. If no column is provided, returns all mappings\n * corresponding to a either the line we are searching for or the next\n * closest line that has any mappings. Otherwise, returns all mappings\n * corresponding to the given line and either the column we are searching for\n * or the next closest column that has any offsets.\n *\n * The only argument is an object with the following properties:\n *\n *   - source: The filename of the original source.\n *   - line: The line number in the original source.  The line number is 1-based.\n *   - column: Optional. the column number in the original source.\n *    The column number is 0-based.\n *\n * and an array of objects is returned, each with the following properties:\n *\n *   - line: The line number in the generated source, or null.  The\n *    line number is 1-based.\n *   - column: The column number in the generated source, or null.\n *    The column number is 0-based.\n */\nSourceMapConsumer.prototype.allGeneratedPositionsFor =\n  function SourceMapConsumer_allGeneratedPositionsFor(aArgs) {\n    var line = util.getArg(aArgs, 'line');\n\n    // When there is no exact match, BasicSourceMapConsumer.prototype._findMapping\n    // returns the index of the closest mapping less than the needle. By\n    // setting needle.originalColumn to 0, we thus find the last mapping for\n    // the given line, provided such a mapping exists.\n    var needle = {\n      source: util.getArg(aArgs, 'source'),\n      originalLine: line,\n      originalColumn: util.getArg(aArgs, 'column', 0)\n    };\n\n    needle.source = this._findSourceIndex(needle.source);\n    if (needle.source < 0) {\n      return [];\n    }\n\n    var mappings = [];\n\n    var index = this._findMapping(needle,\n                                  this._originalMappings,\n                                  \"originalLine\",\n                                  \"originalColumn\",\n                                  util.compareByOriginalPositions,\n                                  binarySearch.LEAST_UPPER_BOUND);\n    if (index >= 0) {\n      var mapping = this._originalMappings[index];\n\n      if (aArgs.column === undefined) {\n        var originalLine = mapping.originalLine;\n\n        // Iterate until either we run out of mappings, or we run into\n        // a mapping for a different line than the one we found. Since\n        // mappings are sorted, this is guaranteed to find all mappings for\n        // the line we found.\n        while (mapping && mapping.originalLine === originalLine) {\n          mappings.push({\n            line: util.getArg(mapping, 'generatedLine', null),\n            column: util.getArg(mapping, 'generatedColumn', null),\n            lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n          });\n\n          mapping = this._originalMappings[++index];\n        }\n      } else {\n        var originalColumn = mapping.originalColumn;\n\n        // Iterate until either we run out of mappings, or we run into\n        // a mapping for a different line than the one we were searching for.\n        // Since mappings are sorted, this is guaranteed to find all mappings for\n        // the line we are searching for.\n        while (mapping &&\n               mapping.originalLine === line &&\n               mapping.originalColumn == originalColumn) {\n          mappings.push({\n            line: util.getArg(mapping, 'generatedLine', null),\n            column: util.getArg(mapping, 'generatedColumn', null),\n            lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n          });\n\n          mapping = this._originalMappings[++index];\n        }\n      }\n    }\n\n    return mappings;\n  };\n\nexports.SourceMapConsumer = SourceMapConsumer;\n\n/**\n * A BasicSourceMapConsumer instance represents a parsed source map which we can\n * query for information about the original file positions by giving it a file\n * position in the generated source.\n *\n * The first parameter is the raw source map (either as a JSON string, or\n * already parsed to an object). According to the spec, source maps have the\n * following attributes:\n *\n *   - version: Which version of the source map spec this map is following.\n *   - sources: An array of URLs to the original source files.\n *   - names: An array of identifiers which can be referrenced by individual mappings.\n *   - sourceRoot: Optional. The URL root from which all sources are relative.\n *   - sourcesContent: Optional. An array of contents of the original source files.\n *   - mappings: A string of base64 VLQs which contain the actual mappings.\n *   - file: Optional. The generated file this source map is associated with.\n *\n * Here is an example source map, taken from the source map spec[0]:\n *\n *     {\n *       version : 3,\n *       file: \"out.js\",\n *       sourceRoot : \"\",\n *       sources: [\"foo.js\", \"bar.js\"],\n *       names: [\"src\", \"maps\", \"are\", \"fun\"],\n *       mappings: \"AA,AB;;ABCDE;\"\n *     }\n *\n * The second parameter, if given, is a string whose value is the URL\n * at which the source map was found.  This URL is used to compute the\n * sources array.\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1#\n */\nfunction BasicSourceMapConsumer(aSourceMap, aSourceMapURL) {\n  var sourceMap = aSourceMap;\n  if (typeof aSourceMap === 'string') {\n    sourceMap = util.parseSourceMapInput(aSourceMap);\n  }\n\n  var version = util.getArg(sourceMap, 'version');\n  var sources = util.getArg(sourceMap, 'sources');\n  // Sass 3.3 leaves out the 'names' array, so we deviate from the spec (which\n  // requires the array) to play nice here.\n  var names = util.getArg(sourceMap, 'names', []);\n  var sourceRoot = util.getArg(sourceMap, 'sourceRoot', null);\n  var sourcesContent = util.getArg(sourceMap, 'sourcesContent', null);\n  var mappings = util.getArg(sourceMap, 'mappings');\n  var file = util.getArg(sourceMap, 'file', null);\n\n  // Once again, Sass deviates from the spec and supplies the version as a\n  // string rather than a number, so we use loose equality checking here.\n  if (version != this._version) {\n    throw new Error('Unsupported version: ' + version);\n  }\n\n  if (sourceRoot) {\n    sourceRoot = util.normalize(sourceRoot);\n  }\n\n  sources = sources\n    .map(String)\n    // Some source maps produce relative source paths like \"./foo.js\" instead of\n    // \"foo.js\".  Normalize these first so that future comparisons will succeed.\n    // See bugzil.la/1090768.\n    .map(util.normalize)\n    // Always ensure that absolute sources are internally stored relative to\n    // the source root, if the source root is absolute. Not doing this would\n    // be particularly problematic when the source root is a prefix of the\n    // source (valid, but why??). See github issue #199 and bugzil.la/1188982.\n    .map(function (source) {\n      return sourceRoot && util.isAbsolute(sourceRoot) && util.isAbsolute(source)\n        ? util.relative(sourceRoot, source)\n        : source;\n    });\n\n  // Pass `true` below to allow duplicate names and sources. While source maps\n  // are intended to be compressed and deduplicated, the TypeScript compiler\n  // sometimes generates source maps with duplicates in them. See Github issue\n  // #72 and bugzil.la/889492.\n  this._names = ArraySet.fromArray(names.map(String), true);\n  this._sources = ArraySet.fromArray(sources, true);\n\n  this._absoluteSources = this._sources.toArray().map(function (s) {\n    return util.computeSourceURL(sourceRoot, s, aSourceMapURL);\n  });\n\n  this.sourceRoot = sourceRoot;\n  this.sourcesContent = sourcesContent;\n  this._mappings = mappings;\n  this._sourceMapURL = aSourceMapURL;\n  this.file = file;\n}\n\nBasicSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nBasicSourceMapConsumer.prototype.consumer = SourceMapConsumer;\n\n/**\n * Utility function to find the index of a source.  Returns -1 if not\n * found.\n */\nBasicSourceMapConsumer.prototype._findSourceIndex = function(aSource) {\n  var relativeSource = aSource;\n  if (this.sourceRoot != null) {\n    relativeSource = util.relative(this.sourceRoot, relativeSource);\n  }\n\n  if (this._sources.has(relativeSource)) {\n    return this._sources.indexOf(relativeSource);\n  }\n\n  // Maybe aSource is an absolute URL as returned by |sources|.  In\n  // this case we can't simply undo the transform.\n  var i;\n  for (i = 0; i < this._absoluteSources.length; ++i) {\n    if (this._absoluteSources[i] == aSource) {\n      return i;\n    }\n  }\n\n  return -1;\n};\n\n/**\n * Create a BasicSourceMapConsumer from a SourceMapGenerator.\n *\n * @param SourceMapGenerator aSourceMap\n *        The source map that will be consumed.\n * @param String aSourceMapURL\n *        The URL at which the source map can be found (optional)\n * @returns BasicSourceMapConsumer\n */\nBasicSourceMapConsumer.fromSourceMap =\n  function SourceMapConsumer_fromSourceMap(aSourceMap, aSourceMapURL) {\n    var smc = Object.create(BasicSourceMapConsumer.prototype);\n\n    var names = smc._names = ArraySet.fromArray(aSourceMap._names.toArray(), true);\n    var sources = smc._sources = ArraySet.fromArray(aSourceMap._sources.toArray(), true);\n    smc.sourceRoot = aSourceMap._sourceRoot;\n    smc.sourcesContent = aSourceMap._generateSourcesContent(smc._sources.toArray(),\n                                                            smc.sourceRoot);\n    smc.file = aSourceMap._file;\n    smc._sourceMapURL = aSourceMapURL;\n    smc._absoluteSources = smc._sources.toArray().map(function (s) {\n      return util.computeSourceURL(smc.sourceRoot, s, aSourceMapURL);\n    });\n\n    // Because we are modifying the entries (by converting string sources and\n    // names to indices into the sources and names ArraySets), we have to make\n    // a copy of the entry or else bad things happen. Shared mutable state\n    // strikes again! See github issue #191.\n\n    var generatedMappings = aSourceMap._mappings.toArray().slice();\n    var destGeneratedMappings = smc.__generatedMappings = [];\n    var destOriginalMappings = smc.__originalMappings = [];\n\n    for (var i = 0, length = generatedMappings.length; i < length; i++) {\n      var srcMapping = generatedMappings[i];\n      var destMapping = new Mapping;\n      destMapping.generatedLine = srcMapping.generatedLine;\n      destMapping.generatedColumn = srcMapping.generatedColumn;\n\n      if (srcMapping.source) {\n        destMapping.source = sources.indexOf(srcMapping.source);\n        destMapping.originalLine = srcMapping.originalLine;\n        destMapping.originalColumn = srcMapping.originalColumn;\n\n        if (srcMapping.name) {\n          destMapping.name = names.indexOf(srcMapping.name);\n        }\n\n        destOriginalMappings.push(destMapping);\n      }\n\n      destGeneratedMappings.push(destMapping);\n    }\n\n    quickSort(smc.__originalMappings, util.compareByOriginalPositions);\n\n    return smc;\n  };\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nBasicSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(BasicSourceMapConsumer.prototype, 'sources', {\n  get: function () {\n    return this._absoluteSources.slice();\n  }\n});\n\n/**\n * Provide the JIT with a nice shape / hidden class.\n */\nfunction Mapping() {\n  this.generatedLine = 0;\n  this.generatedColumn = 0;\n  this.source = null;\n  this.originalLine = null;\n  this.originalColumn = null;\n  this.name = null;\n}\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nBasicSourceMapConsumer.prototype._parseMappings =\n  function SourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n    var generatedLine = 1;\n    var previousGeneratedColumn = 0;\n    var previousOriginalLine = 0;\n    var previousOriginalColumn = 0;\n    var previousSource = 0;\n    var previousName = 0;\n    var length = aStr.length;\n    var index = 0;\n    var cachedSegments = {};\n    var temp = {};\n    var originalMappings = [];\n    var generatedMappings = [];\n    var mapping, str, segment, end, value;\n\n    while (index < length) {\n      if (aStr.charAt(index) === ';') {\n        generatedLine++;\n        index++;\n        previousGeneratedColumn = 0;\n      }\n      else if (aStr.charAt(index) === ',') {\n        index++;\n      }\n      else {\n        mapping = new Mapping();\n        mapping.generatedLine = generatedLine;\n\n        // Because each offset is encoded relative to the previous one,\n        // many segments often have the same encoding. We can exploit this\n        // fact by caching the parsed variable length fields of each segment,\n        // allowing us to avoid a second parse if we encounter the same\n        // segment again.\n        for (end = index; end < length; end++) {\n          if (this._charIsMappingSeparator(aStr, end)) {\n            break;\n          }\n        }\n        str = aStr.slice(index, end);\n\n        segment = cachedSegments[str];\n        if (segment) {\n          index += str.length;\n        } else {\n          segment = [];\n          while (index < end) {\n            base64VLQ.decode(aStr, index, temp);\n            value = temp.value;\n            index = temp.rest;\n            segment.push(value);\n          }\n\n          if (segment.length === 2) {\n            throw new Error('Found a source, but no line and column');\n          }\n\n          if (segment.length === 3) {\n            throw new Error('Found a source and line, but no column');\n          }\n\n          cachedSegments[str] = segment;\n        }\n\n        // Generated column.\n        mapping.generatedColumn = previousGeneratedColumn + segment[0];\n        previousGeneratedColumn = mapping.generatedColumn;\n\n        if (segment.length > 1) {\n          // Original source.\n          mapping.source = previousSource + segment[1];\n          previousSource += segment[1];\n\n          // Original line.\n          mapping.originalLine = previousOriginalLine + segment[2];\n          previousOriginalLine = mapping.originalLine;\n          // Lines are stored 0-based\n          mapping.originalLine += 1;\n\n          // Original column.\n          mapping.originalColumn = previousOriginalColumn + segment[3];\n          previousOriginalColumn = mapping.originalColumn;\n\n          if (segment.length > 4) {\n            // Original name.\n            mapping.name = previousName + segment[4];\n            previousName += segment[4];\n          }\n        }\n\n        generatedMappings.push(mapping);\n        if (typeof mapping.originalLine === 'number') {\n          originalMappings.push(mapping);\n        }\n      }\n    }\n\n    quickSort(generatedMappings, util.compareByGeneratedPositionsDeflated);\n    this.__generatedMappings = generatedMappings;\n\n    quickSort(originalMappings, util.compareByOriginalPositions);\n    this.__originalMappings = originalMappings;\n  };\n\n/**\n * Find the mapping that best matches the hypothetical \"needle\" mapping that\n * we are searching for in the given \"haystack\" of mappings.\n */\nBasicSourceMapConsumer.prototype._findMapping =\n  function SourceMapConsumer_findMapping(aNeedle, aMappings, aLineName,\n                                         aColumnName, aComparator, aBias) {\n    // To return the position we are searching for, we must first find the\n    // mapping for the given position and then return the opposite position it\n    // points to. Because the mappings are sorted, we can use binary search to\n    // find the best mapping.\n\n    if (aNeedle[aLineName] <= 0) {\n      throw new TypeError('Line must be greater than or equal to 1, got '\n                          + aNeedle[aLineName]);\n    }\n    if (aNeedle[aColumnName] < 0) {\n      throw new TypeError('Column must be greater than or equal to 0, got '\n                          + aNeedle[aColumnName]);\n    }\n\n    return binarySearch.search(aNeedle, aMappings, aComparator, aBias);\n  };\n\n/**\n * Compute the last column for each generated mapping. The last column is\n * inclusive.\n */\nBasicSourceMapConsumer.prototype.computeColumnSpans =\n  function SourceMapConsumer_computeColumnSpans() {\n    for (var index = 0; index < this._generatedMappings.length; ++index) {\n      var mapping = this._generatedMappings[index];\n\n      // Mappings do not contain a field for the last generated columnt. We\n      // can come up with an optimistic estimate, however, by assuming that\n      // mappings are contiguous (i.e. given two consecutive mappings, the\n      // first mapping ends where the second one starts).\n      if (index + 1 < this._generatedMappings.length) {\n        var nextMapping = this._generatedMappings[index + 1];\n\n        if (mapping.generatedLine === nextMapping.generatedLine) {\n          mapping.lastGeneratedColumn = nextMapping.generatedColumn - 1;\n          continue;\n        }\n      }\n\n      // The last mapping for each line spans the entire line.\n      mapping.lastGeneratedColumn = Infinity;\n    }\n  };\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n *   - line: The line number in the generated source.  The line number\n *     is 1-based.\n *   - column: The column number in the generated source.  The column\n *     number is 0-based.\n *   - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n *     'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n *     closest element that is smaller than or greater than the one we are\n *     searching for, respectively, if the exact element cannot be found.\n *     Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n *   - source: The original source file, or null.\n *   - line: The line number in the original source, or null.  The\n *     line number is 1-based.\n *   - column: The column number in the original source, or null.  The\n *     column number is 0-based.\n *   - name: The original identifier, or null.\n */\nBasicSourceMapConsumer.prototype.originalPositionFor =\n  function SourceMapConsumer_originalPositionFor(aArgs) {\n    var needle = {\n      generatedLine: util.getArg(aArgs, 'line'),\n      generatedColumn: util.getArg(aArgs, 'column')\n    };\n\n    var index = this._findMapping(\n      needle,\n      this._generatedMappings,\n      \"generatedLine\",\n      \"generatedColumn\",\n      util.compareByGeneratedPositionsDeflated,\n      util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n    );\n\n    if (index >= 0) {\n      var mapping = this._generatedMappings[index];\n\n      if (mapping.generatedLine === needle.generatedLine) {\n        var source = util.getArg(mapping, 'source', null);\n        if (source !== null) {\n          source = this._sources.at(source);\n          source = util.computeSourceURL(this.sourceRoot, source, this._sourceMapURL);\n        }\n        var name = util.getArg(mapping, 'name', null);\n        if (name !== null) {\n          name = this._names.at(name);\n        }\n        return {\n          source: source,\n          line: util.getArg(mapping, 'originalLine', null),\n          column: util.getArg(mapping, 'originalColumn', null),\n          name: name\n        };\n      }\n    }\n\n    return {\n      source: null,\n      line: null,\n      column: null,\n      name: null\n    };\n  };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nBasicSourceMapConsumer.prototype.hasContentsOfAllSources =\n  function BasicSourceMapConsumer_hasContentsOfAllSources() {\n    if (!this.sourcesContent) {\n      return false;\n    }\n    return this.sourcesContent.length >= this._sources.size() &&\n      !this.sourcesContent.some(function (sc) { return sc == null; });\n  };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nBasicSourceMapConsumer.prototype.sourceContentFor =\n  function SourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n    if (!this.sourcesContent) {\n      return null;\n    }\n\n    var index = this._findSourceIndex(aSource);\n    if (index >= 0) {\n      return this.sourcesContent[index];\n    }\n\n    var relativeSource = aSource;\n    if (this.sourceRoot != null) {\n      relativeSource = util.relative(this.sourceRoot, relativeSource);\n    }\n\n    var url;\n    if (this.sourceRoot != null\n        && (url = util.urlParse(this.sourceRoot))) {\n      // XXX: file:// URIs and absolute paths lead to unexpected behavior for\n      // many users. We can help them out when they expect file:// URIs to\n      // behave like it would if they were running a local HTTP server. See\n      // https://bugzilla.mozilla.org/show_bug.cgi?id=885597.\n      var fileUriAbsPath = relativeSource.replace(/^file:\\/\\//, \"\");\n      if (url.scheme == \"file\"\n          && this._sources.has(fileUriAbsPath)) {\n        return this.sourcesContent[this._sources.indexOf(fileUriAbsPath)]\n      }\n\n      if ((!url.path || url.path == \"/\")\n          && this._sources.has(\"/\" + relativeSource)) {\n        return this.sourcesContent[this._sources.indexOf(\"/\" + relativeSource)];\n      }\n    }\n\n    // This function is used recursively from\n    // IndexedSourceMapConsumer.prototype.sourceContentFor. In that case, we\n    // don't want to throw if we can't find the source - we just want to\n    // return null, so we provide a flag to exit gracefully.\n    if (nullOnMissing) {\n      return null;\n    }\n    else {\n      throw new Error('\"' + relativeSource + '\" is not in the SourceMap.');\n    }\n  };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n *   - source: The filename of the original source.\n *   - line: The line number in the original source.  The line number\n *     is 1-based.\n *   - column: The column number in the original source.  The column\n *     number is 0-based.\n *   - bias: Either 'SourceMapConsumer.GREATEST_LOWER_BOUND' or\n *     'SourceMapConsumer.LEAST_UPPER_BOUND'. Specifies whether to return the\n *     closest element that is smaller than or greater than the one we are\n *     searching for, respectively, if the exact element cannot be found.\n *     Defaults to 'SourceMapConsumer.GREATEST_LOWER_BOUND'.\n *\n * and an object is returned with the following properties:\n *\n *   - line: The line number in the generated source, or null.  The\n *     line number is 1-based.\n *   - column: The column number in the generated source, or null.\n *     The column number is 0-based.\n */\nBasicSourceMapConsumer.prototype.generatedPositionFor =\n  function SourceMapConsumer_generatedPositionFor(aArgs) {\n    var source = util.getArg(aArgs, 'source');\n    source = this._findSourceIndex(source);\n    if (source < 0) {\n      return {\n        line: null,\n        column: null,\n        lastColumn: null\n      };\n    }\n\n    var needle = {\n      source: source,\n      originalLine: util.getArg(aArgs, 'line'),\n      originalColumn: util.getArg(aArgs, 'column')\n    };\n\n    var index = this._findMapping(\n      needle,\n      this._originalMappings,\n      \"originalLine\",\n      \"originalColumn\",\n      util.compareByOriginalPositions,\n      util.getArg(aArgs, 'bias', SourceMapConsumer.GREATEST_LOWER_BOUND)\n    );\n\n    if (index >= 0) {\n      var mapping = this._originalMappings[index];\n\n      if (mapping.source === needle.source) {\n        return {\n          line: util.getArg(mapping, 'generatedLine', null),\n          column: util.getArg(mapping, 'generatedColumn', null),\n          lastColumn: util.getArg(mapping, 'lastGeneratedColumn', null)\n        };\n      }\n    }\n\n    return {\n      line: null,\n      column: null,\n      lastColumn: null\n    };\n  };\n\nexports.BasicSourceMapConsumer = BasicSourceMapConsumer;\n\n/**\n * An IndexedSourceMapConsumer instance represents a parsed source map which\n * we can query for information. It differs from BasicSourceMapConsumer in\n * that it takes \"indexed\" source maps (i.e. ones with a \"sections\" field) as\n * input.\n *\n * The first parameter is a raw source map (either as a JSON string, or already\n * parsed to an object). According to the spec for indexed source maps, they\n * have the following attributes:\n *\n *   - version: Which version of the source map spec this map is following.\n *   - file: Optional. The generated file this source map is associated with.\n *   - sections: A list of section definitions.\n *\n * Each value under the \"sections\" field has two fields:\n *   - offset: The offset into the original specified at which this section\n *       begins to apply, defined as an object with a \"line\" and \"column\"\n *       field.\n *   - map: A source map definition. This source map could also be indexed,\n *       but doesn't have to be.\n *\n * Instead of the \"map\" field, it's also possible to have a \"url\" field\n * specifying a URL to retrieve a source map from, but that's currently\n * unsupported.\n *\n * Here's an example source map, taken from the source map spec[0], but\n * modified to omit a section which uses the \"url\" field.\n *\n *  {\n *    version : 3,\n *    file: \"app.js\",\n *    sections: [{\n *      offset: {line:100, column:10},\n *      map: {\n *        version : 3,\n *        file: \"section.js\",\n *        sources: [\"foo.js\", \"bar.js\"],\n *        names: [\"src\", \"maps\", \"are\", \"fun\"],\n *        mappings: \"AAAA,E;;ABCDE;\"\n *      }\n *    }],\n *  }\n *\n * The second parameter, if given, is a string whose value is the URL\n * at which the source map was found.  This URL is used to compute the\n * sources array.\n *\n * [0]: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt\n */\nfunction IndexedSourceMapConsumer(aSourceMap, aSourceMapURL) {\n  var sourceMap = aSourceMap;\n  if (typeof aSourceMap === 'string') {\n    sourceMap = util.parseSourceMapInput(aSourceMap);\n  }\n\n  var version = util.getArg(sourceMap, 'version');\n  var sections = util.getArg(sourceMap, 'sections');\n\n  if (version != this._version) {\n    throw new Error('Unsupported version: ' + version);\n  }\n\n  this._sources = new ArraySet();\n  this._names = new ArraySet();\n\n  var lastOffset = {\n    line: -1,\n    column: 0\n  };\n  this._sections = sections.map(function (s) {\n    if (s.url) {\n      // The url field will require support for asynchronicity.\n      // See https://github.com/mozilla/source-map/issues/16\n      throw new Error('Support for url field in sections not implemented.');\n    }\n    var offset = util.getArg(s, 'offset');\n    var offsetLine = util.getArg(offset, 'line');\n    var offsetColumn = util.getArg(offset, 'column');\n\n    if (offsetLine < lastOffset.line ||\n        (offsetLine === lastOffset.line && offsetColumn < lastOffset.column)) {\n      throw new Error('Section offsets must be ordered and non-overlapping.');\n    }\n    lastOffset = offset;\n\n    return {\n      generatedOffset: {\n        // The offset fields are 0-based, but we use 1-based indices when\n        // encoding/decoding from VLQ.\n        generatedLine: offsetLine + 1,\n        generatedColumn: offsetColumn + 1\n      },\n      consumer: new SourceMapConsumer(util.getArg(s, 'map'), aSourceMapURL)\n    }\n  });\n}\n\nIndexedSourceMapConsumer.prototype = Object.create(SourceMapConsumer.prototype);\nIndexedSourceMapConsumer.prototype.constructor = SourceMapConsumer;\n\n/**\n * The version of the source mapping spec that we are consuming.\n */\nIndexedSourceMapConsumer.prototype._version = 3;\n\n/**\n * The list of original sources.\n */\nObject.defineProperty(IndexedSourceMapConsumer.prototype, 'sources', {\n  get: function () {\n    var sources = [];\n    for (var i = 0; i < this._sections.length; i++) {\n      for (var j = 0; j < this._sections[i].consumer.sources.length; j++) {\n        sources.push(this._sections[i].consumer.sources[j]);\n      }\n    }\n    return sources;\n  }\n});\n\n/**\n * Returns the original source, line, and column information for the generated\n * source's line and column positions provided. The only argument is an object\n * with the following properties:\n *\n *   - line: The line number in the generated source.  The line number\n *     is 1-based.\n *   - column: The column number in the generated source.  The column\n *     number is 0-based.\n *\n * and an object is returned with the following properties:\n *\n *   - source: The original source file, or null.\n *   - line: The line number in the original source, or null.  The\n *     line number is 1-based.\n *   - column: The column number in the original source, or null.  The\n *     column number is 0-based.\n *   - name: The original identifier, or null.\n */\nIndexedSourceMapConsumer.prototype.originalPositionFor =\n  function IndexedSourceMapConsumer_originalPositionFor(aArgs) {\n    var needle = {\n      generatedLine: util.getArg(aArgs, 'line'),\n      generatedColumn: util.getArg(aArgs, 'column')\n    };\n\n    // Find the section containing the generated position we're trying to map\n    // to an original position.\n    var sectionIndex = binarySearch.search(needle, this._sections,\n      function(needle, section) {\n        var cmp = needle.generatedLine - section.generatedOffset.generatedLine;\n        if (cmp) {\n          return cmp;\n        }\n\n        return (needle.generatedColumn -\n                section.generatedOffset.generatedColumn);\n      });\n    var section = this._sections[sectionIndex];\n\n    if (!section) {\n      return {\n        source: null,\n        line: null,\n        column: null,\n        name: null\n      };\n    }\n\n    return section.consumer.originalPositionFor({\n      line: needle.generatedLine -\n        (section.generatedOffset.generatedLine - 1),\n      column: needle.generatedColumn -\n        (section.generatedOffset.generatedLine === needle.generatedLine\n         ? section.generatedOffset.generatedColumn - 1\n         : 0),\n      bias: aArgs.bias\n    });\n  };\n\n/**\n * Return true if we have the source content for every source in the source\n * map, false otherwise.\n */\nIndexedSourceMapConsumer.prototype.hasContentsOfAllSources =\n  function IndexedSourceMapConsumer_hasContentsOfAllSources() {\n    return this._sections.every(function (s) {\n      return s.consumer.hasContentsOfAllSources();\n    });\n  };\n\n/**\n * Returns the original source content. The only argument is the url of the\n * original source file. Returns null if no original source content is\n * available.\n */\nIndexedSourceMapConsumer.prototype.sourceContentFor =\n  function IndexedSourceMapConsumer_sourceContentFor(aSource, nullOnMissing) {\n    for (var i = 0; i < this._sections.length; i++) {\n      var section = this._sections[i];\n\n      var content = section.consumer.sourceContentFor(aSource, true);\n      if (content) {\n        return content;\n      }\n    }\n    if (nullOnMissing) {\n      return null;\n    }\n    else {\n      throw new Error('\"' + aSource + '\" is not in the SourceMap.');\n    }\n  };\n\n/**\n * Returns the generated line and column information for the original source,\n * line, and column positions provided. The only argument is an object with\n * the following properties:\n *\n *   - source: The filename of the original source.\n *   - line: The line number in the original source.  The line number\n *     is 1-based.\n *   - column: The column number in the original source.  The column\n *     number is 0-based.\n *\n * and an object is returned with the following properties:\n *\n *   - line: The line number in the generated source, or null.  The\n *     line number is 1-based. \n *   - column: The column number in the generated source, or null.\n *     The column number is 0-based.\n */\nIndexedSourceMapConsumer.prototype.generatedPositionFor =\n  function IndexedSourceMapConsumer_generatedPositionFor(aArgs) {\n    for (var i = 0; i < this._sections.length; i++) {\n      var section = this._sections[i];\n\n      // Only consider this section if the requested source is in the list of\n      // sources of the consumer.\n      if (section.consumer._findSourceIndex(util.getArg(aArgs, 'source')) === -1) {\n        continue;\n      }\n      var generatedPosition = section.consumer.generatedPositionFor(aArgs);\n      if (generatedPosition) {\n        var ret = {\n          line: generatedPosition.line +\n            (section.generatedOffset.generatedLine - 1),\n          column: generatedPosition.column +\n            (section.generatedOffset.generatedLine === generatedPosition.line\n             ? section.generatedOffset.generatedColumn - 1\n             : 0)\n        };\n        return ret;\n      }\n    }\n\n    return {\n      line: null,\n      column: null\n    };\n  };\n\n/**\n * Parse the mappings in a string in to a data structure which we can easily\n * query (the ordered arrays in the `this.__generatedMappings` and\n * `this.__originalMappings` properties).\n */\nIndexedSourceMapConsumer.prototype._parseMappings =\n  function IndexedSourceMapConsumer_parseMappings(aStr, aSourceRoot) {\n    this.__generatedMappings = [];\n    this.__originalMappings = [];\n    for (var i = 0; i < this._sections.length; i++) {\n      var section = this._sections[i];\n      var sectionMappings = section.consumer._generatedMappings;\n      for (var j = 0; j < sectionMappings.length; j++) {\n        var mapping = sectionMappings[j];\n\n        var source = section.consumer._sources.at(mapping.source);\n        source = util.computeSourceURL(section.consumer.sourceRoot, source, this._sourceMapURL);\n        this._sources.add(source);\n        source = this._sources.indexOf(source);\n\n        var name = null;\n        if (mapping.name) {\n          name = section.consumer._names.at(mapping.name);\n          this._names.add(name);\n          name = this._names.indexOf(name);\n        }\n\n        // The mappings coming from the consumer for the section have\n        // generated positions relative to the start of the section, so we\n        // need to offset them to be relative to the start of the concatenated\n        // generated file.\n        var adjustedMapping = {\n          source: source,\n          generatedLine: mapping.generatedLine +\n            (section.generatedOffset.generatedLine - 1),\n          generatedColumn: mapping.generatedColumn +\n            (section.generatedOffset.generatedLine === mapping.generatedLine\n            ? section.generatedOffset.generatedColumn - 1\n            : 0),\n          originalLine: mapping.originalLine,\n          originalColumn: mapping.originalColumn,\n          name: name\n        };\n\n        this.__generatedMappings.push(adjustedMapping);\n        if (typeof adjustedMapping.originalLine === 'number') {\n          this.__originalMappings.push(adjustedMapping);\n        }\n      }\n    }\n\n    quickSort(this.__generatedMappings, util.compareByGeneratedPositionsDeflated);\n    quickSort(this.__originalMappings, util.compareByOriginalPositions);\n  };\n\nexports.IndexedSourceMapConsumer = IndexedSourceMapConsumer;\n","/* -*- Mode: js; js-indent-level: 2; -*- */\n/*\n * Copyright 2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\n\nvar SourceMapGenerator = require('./source-map-generator').SourceMapGenerator;\nvar util = require('./util');\n\n// Matches a Windows-style `\\r\\n` newline or a `\\n` newline used by all other\n// operating systems these days (capturing the result).\nvar REGEX_NEWLINE = /(\\r?\\n)/;\n\n// Newline character code for charCodeAt() comparisons\nvar NEWLINE_CODE = 10;\n\n// Private symbol for identifying `SourceNode`s when multiple versions of\n// the source-map library are loaded. This MUST NOT CHANGE across\n// versions!\nvar isSourceNode = \"$$$isSourceNode$$$\";\n\n/**\n * SourceNodes provide a way to abstract over interpolating/concatenating\n * snippets of generated JavaScript source code while maintaining the line and\n * column information associated with the original source code.\n *\n * @param aLine The original line number.\n * @param aColumn The original column number.\n * @param aSource The original source's filename.\n * @param aChunks Optional. An array of strings which are snippets of\n *        generated JS, or other SourceNodes.\n * @param aName The original identifier.\n */\nfunction SourceNode(aLine, aColumn, aSource, aChunks, aName) {\n  this.children = [];\n  this.sourceContents = {};\n  this.line = aLine == null ? null : aLine;\n  this.column = aColumn == null ? null : aColumn;\n  this.source = aSource == null ? null : aSource;\n  this.name = aName == null ? null : aName;\n  this[isSourceNode] = true;\n  if (aChunks != null) this.add(aChunks);\n}\n\n/**\n * Creates a SourceNode from generated code and a SourceMapConsumer.\n *\n * @param aGeneratedCode The generated code\n * @param aSourceMapConsumer The SourceMap for the generated code\n * @param aRelativePath Optional. The path that relative sources in the\n *        SourceMapConsumer should be relative to.\n */\nSourceNode.fromStringWithSourceMap =\n  function SourceNode_fromStringWithSourceMap(aGeneratedCode, aSourceMapConsumer, aRelativePath) {\n    // The SourceNode we want to fill with the generated code\n    // and the SourceMap\n    var node = new SourceNode();\n\n    // All even indices of this array are one line of the generated code,\n    // while all odd indices are the newlines between two adjacent lines\n    // (since `REGEX_NEWLINE` captures its match).\n    // Processed fragments are accessed by calling `shiftNextLine`.\n    var remainingLines = aGeneratedCode.split(REGEX_NEWLINE);\n    var remainingLinesIndex = 0;\n    var shiftNextLine = function() {\n      var lineContents = getNextLine();\n      // The last line of a file might not have a newline.\n      var newLine = getNextLine() || \"\";\n      return lineContents + newLine;\n\n      function getNextLine() {\n        return remainingLinesIndex < remainingLines.length ?\n            remainingLines[remainingLinesIndex++] : undefined;\n      }\n    };\n\n    // We need to remember the position of \"remainingLines\"\n    var lastGeneratedLine = 1, lastGeneratedColumn = 0;\n\n    // The generate SourceNodes we need a code range.\n    // To extract it current and last mapping is used.\n    // Here we store the last mapping.\n    var lastMapping = null;\n\n    aSourceMapConsumer.eachMapping(function (mapping) {\n      if (lastMapping !== null) {\n        // We add the code from \"lastMapping\" to \"mapping\":\n        // First check if there is a new line in between.\n        if (lastGeneratedLine < mapping.generatedLine) {\n          // Associate first line with \"lastMapping\"\n          addMappingWithCode(lastMapping, shiftNextLine());\n          lastGeneratedLine++;\n          lastGeneratedColumn = 0;\n          // The remaining code is added without mapping\n        } else {\n          // There is no new line in between.\n          // Associate the code between \"lastGeneratedColumn\" and\n          // \"mapping.generatedColumn\" with \"lastMapping\"\n          var nextLine = remainingLines[remainingLinesIndex] || '';\n          var code = nextLine.substr(0, mapping.generatedColumn -\n                                        lastGeneratedColumn);\n          remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn -\n                                              lastGeneratedColumn);\n          lastGeneratedColumn = mapping.generatedColumn;\n          addMappingWithCode(lastMapping, code);\n          // No more remaining code, continue\n          lastMapping = mapping;\n          return;\n        }\n      }\n      // We add the generated code until the first mapping\n      // to the SourceNode without any mapping.\n      // Each line is added as separate string.\n      while (lastGeneratedLine < mapping.generatedLine) {\n        node.add(shiftNextLine());\n        lastGeneratedLine++;\n      }\n      if (lastGeneratedColumn < mapping.generatedColumn) {\n        var nextLine = remainingLines[remainingLinesIndex] || '';\n        node.add(nextLine.substr(0, mapping.generatedColumn));\n        remainingLines[remainingLinesIndex] = nextLine.substr(mapping.generatedColumn);\n        lastGeneratedColumn = mapping.generatedColumn;\n      }\n      lastMapping = mapping;\n    }, this);\n    // We have processed all mappings.\n    if (remainingLinesIndex < remainingLines.length) {\n      if (lastMapping) {\n        // Associate the remaining code in the current line with \"lastMapping\"\n        addMappingWithCode(lastMapping, shiftNextLine());\n      }\n      // and add the remaining lines without any mapping\n      node.add(remainingLines.splice(remainingLinesIndex).join(\"\"));\n    }\n\n    // Copy sourcesContent into SourceNode\n    aSourceMapConsumer.sources.forEach(function (sourceFile) {\n      var content = aSourceMapConsumer.sourceContentFor(sourceFile);\n      if (content != null) {\n        if (aRelativePath != null) {\n          sourceFile = util.join(aRelativePath, sourceFile);\n        }\n        node.setSourceContent(sourceFile, content);\n      }\n    });\n\n    return node;\n\n    function addMappingWithCode(mapping, code) {\n      if (mapping === null || mapping.source === undefined) {\n        node.add(code);\n      } else {\n        var source = aRelativePath\n          ? util.join(aRelativePath, mapping.source)\n          : mapping.source;\n        node.add(new SourceNode(mapping.originalLine,\n                                mapping.originalColumn,\n                                source,\n                                code,\n                                mapping.name));\n      }\n    }\n  };\n\n/**\n * Add a chunk of generated JS to this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n *        SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.add = function SourceNode_add(aChunk) {\n  if (Array.isArray(aChunk)) {\n    aChunk.forEach(function (chunk) {\n      this.add(chunk);\n    }, this);\n  }\n  else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n    if (aChunk) {\n      this.children.push(aChunk);\n    }\n  }\n  else {\n    throw new TypeError(\n      \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n    );\n  }\n  return this;\n};\n\n/**\n * Add a chunk of generated JS to the beginning of this source node.\n *\n * @param aChunk A string snippet of generated JS code, another instance of\n *        SourceNode, or an array where each member is one of those things.\n */\nSourceNode.prototype.prepend = function SourceNode_prepend(aChunk) {\n  if (Array.isArray(aChunk)) {\n    for (var i = aChunk.length-1; i >= 0; i--) {\n      this.prepend(aChunk[i]);\n    }\n  }\n  else if (aChunk[isSourceNode] || typeof aChunk === \"string\") {\n    this.children.unshift(aChunk);\n  }\n  else {\n    throw new TypeError(\n      \"Expected a SourceNode, string, or an array of SourceNodes and strings. Got \" + aChunk\n    );\n  }\n  return this;\n};\n\n/**\n * Walk over the tree of JS snippets in this node and its children. The\n * walking function is called once for each snippet of JS and is passed that\n * snippet and the its original associated source's line/column location.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walk = function SourceNode_walk(aFn) {\n  var chunk;\n  for (var i = 0, len = this.children.length; i < len; i++) {\n    chunk = this.children[i];\n    if (chunk[isSourceNode]) {\n      chunk.walk(aFn);\n    }\n    else {\n      if (chunk !== '') {\n        aFn(chunk, { source: this.source,\n                     line: this.line,\n                     column: this.column,\n                     name: this.name });\n      }\n    }\n  }\n};\n\n/**\n * Like `String.prototype.join` except for SourceNodes. Inserts `aStr` between\n * each of `this.children`.\n *\n * @param aSep The separator.\n */\nSourceNode.prototype.join = function SourceNode_join(aSep) {\n  var newChildren;\n  var i;\n  var len = this.children.length;\n  if (len > 0) {\n    newChildren = [];\n    for (i = 0; i < len-1; i++) {\n      newChildren.push(this.children[i]);\n      newChildren.push(aSep);\n    }\n    newChildren.push(this.children[i]);\n    this.children = newChildren;\n  }\n  return this;\n};\n\n/**\n * Call String.prototype.replace on the very right-most source snippet. Useful\n * for trimming whitespace from the end of a source node, etc.\n *\n * @param aPattern The pattern to replace.\n * @param aReplacement The thing to replace the pattern with.\n */\nSourceNode.prototype.replaceRight = function SourceNode_replaceRight(aPattern, aReplacement) {\n  var lastChild = this.children[this.children.length - 1];\n  if (lastChild[isSourceNode]) {\n    lastChild.replaceRight(aPattern, aReplacement);\n  }\n  else if (typeof lastChild === 'string') {\n    this.children[this.children.length - 1] = lastChild.replace(aPattern, aReplacement);\n  }\n  else {\n    this.children.push(''.replace(aPattern, aReplacement));\n  }\n  return this;\n};\n\n/**\n * Set the source content for a source file. This will be added to the SourceMapGenerator\n * in the sourcesContent field.\n *\n * @param aSourceFile The filename of the source file\n * @param aSourceContent The content of the source file\n */\nSourceNode.prototype.setSourceContent =\n  function SourceNode_setSourceContent(aSourceFile, aSourceContent) {\n    this.sourceContents[util.toSetString(aSourceFile)] = aSourceContent;\n  };\n\n/**\n * Walk over the tree of SourceNodes. The walking function is called for each\n * source file content and is passed the filename and source content.\n *\n * @param aFn The traversal function.\n */\nSourceNode.prototype.walkSourceContents =\n  function SourceNode_walkSourceContents(aFn) {\n    for (var i = 0, len = this.children.length; i < len; i++) {\n      if (this.children[i][isSourceNode]) {\n        this.children[i].walkSourceContents(aFn);\n      }\n    }\n\n    var sources = Object.keys(this.sourceContents);\n    for (var i = 0, len = sources.length; i < len; i++) {\n      aFn(util.fromSetString(sources[i]), this.sourceContents[sources[i]]);\n    }\n  };\n\n/**\n * Return the string representation of this source node. Walks over the tree\n * and concatenates all the various snippets together to one string.\n */\nSourceNode.prototype.toString = function SourceNode_toString() {\n  var str = \"\";\n  this.walk(function (chunk) {\n    str += chunk;\n  });\n  return str;\n};\n\n/**\n * Returns the string representation of this source node along with a source\n * map.\n */\nSourceNode.prototype.toStringWithSourceMap = function SourceNode_toStringWithSourceMap(aArgs) {\n  var generated = {\n    code: \"\",\n    line: 1,\n    column: 0\n  };\n  var map = new SourceMapGenerator(aArgs);\n  var sourceMappingActive = false;\n  var lastOriginalSource = null;\n  var lastOriginalLine = null;\n  var lastOriginalColumn = null;\n  var lastOriginalName = null;\n  this.walk(function (chunk, original) {\n    generated.code += chunk;\n    if (original.source !== null\n        && original.line !== null\n        && original.column !== null) {\n      if(lastOriginalSource !== original.source\n         || lastOriginalLine !== original.line\n         || lastOriginalColumn !== original.column\n         || lastOriginalName !== original.name) {\n        map.addMapping({\n          source: original.source,\n          original: {\n            line: original.line,\n            column: original.column\n          },\n          generated: {\n            line: generated.line,\n            column: generated.column\n          },\n          name: original.name\n        });\n      }\n      lastOriginalSource = original.source;\n      lastOriginalLine = original.line;\n      lastOriginalColumn = original.column;\n      lastOriginalName = original.name;\n      sourceMappingActive = true;\n    } else if (sourceMappingActive) {\n      map.addMapping({\n        generated: {\n          line: generated.line,\n          column: generated.column\n        }\n      });\n      lastOriginalSource = null;\n      sourceMappingActive = false;\n    }\n    for (var idx = 0, length = chunk.length; idx < length; idx++) {\n      if (chunk.charCodeAt(idx) === NEWLINE_CODE) {\n        generated.line++;\n        generated.column = 0;\n        // Mappings end at eol\n        if (idx + 1 === length) {\n          lastOriginalSource = null;\n          sourceMappingActive = false;\n        } else if (sourceMappingActive) {\n          map.addMapping({\n            source: original.source,\n            original: {\n              line: original.line,\n              column: original.column\n            },\n            generated: {\n              line: generated.line,\n              column: generated.column\n            },\n            name: original.name\n          });\n        }\n      } else {\n        generated.column++;\n      }\n    }\n  });\n  this.walkSourceContents(function (sourceFile, sourceContent) {\n    map.setSourceContent(sourceFile, sourceContent);\n  });\n\n  return { code: generated.code, map: map };\n};\n\nexports.SourceNode = SourceNode;\n","/*\n * Copyright 2009-2011 Mozilla Foundation and contributors\n * Licensed under the New BSD license. See LICENSE.txt or:\n * http://opensource.org/licenses/BSD-3-Clause\n */\nexports.SourceMapGenerator = require('./lib/source-map-generator').SourceMapGenerator;\nexports.SourceMapConsumer = require('./lib/source-map-consumer').SourceMapConsumer;\nexports.SourceNode = require('./lib/source-node').SourceNode;\n","/* eslint-disable node/no-deprecated-api */\n\nvar toString = Object.prototype.toString\n\nvar isModern = (\n  typeof Buffer !== 'undefined' &&\n  typeof Buffer.alloc === 'function' &&\n  typeof Buffer.allocUnsafe === 'function' &&\n  typeof Buffer.from === 'function'\n)\n\nfunction isArrayBuffer (input) {\n  return toString.call(input).slice(8, -1) === 'ArrayBuffer'\n}\n\nfunction fromArrayBuffer (obj, byteOffset, length) {\n  byteOffset >>>= 0\n\n  var maxLength = obj.byteLength - byteOffset\n\n  if (maxLength < 0) {\n    throw new RangeError(\"'offset' is out of bounds\")\n  }\n\n  if (length === undefined) {\n    length = maxLength\n  } else {\n    length >>>= 0\n\n    if (length > maxLength) {\n      throw new RangeError(\"'length' is out of bounds\")\n    }\n  }\n\n  return isModern\n    ? Buffer.from(obj.slice(byteOffset, byteOffset + length))\n    : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length)))\n}\n\nfunction fromString (string, encoding) {\n  if (typeof encoding !== 'string' || encoding === '') {\n    encoding = 'utf8'\n  }\n\n  if (!Buffer.isEncoding(encoding)) {\n    throw new TypeError('\"encoding\" must be a valid string encoding')\n  }\n\n  return isModern\n    ? Buffer.from(string, encoding)\n    : new Buffer(string, encoding)\n}\n\nfunction bufferFrom (value, encodingOrOffset, length) {\n  if (typeof value === 'number') {\n    throw new TypeError('\"value\" argument must not be a number')\n  }\n\n  if (isArrayBuffer(value)) {\n    return fromArrayBuffer(value, encodingOrOffset, length)\n  }\n\n  if (typeof value === 'string') {\n    return fromString(value, encodingOrOffset)\n  }\n\n  return isModern\n    ? Buffer.from(value)\n    : new Buffer(value)\n}\n\nmodule.exports = bufferFrom\n","var SourceMapConsumer = require('source-map').SourceMapConsumer;\nvar path = require('path');\n\nvar fs;\ntry {\n  fs = require('fs');\n  if (!fs.existsSync || !fs.readFileSync) {\n    // fs doesn't have all methods we need\n    fs = null;\n  }\n} catch (err) {\n  /* nop */\n}\n\nvar bufferFrom = require('buffer-from');\n\n/**\n * Requires a module which is protected against bundler minification.\n *\n * @param {NodeModule} mod\n * @param {string} request\n */\nfunction dynamicRequire(mod, request) {\n  return mod.require(request);\n}\n\n// Only install once if called multiple times\nvar errorFormatterInstalled = false;\nvar uncaughtShimInstalled = false;\n\n// If true, the caches are reset before a stack trace formatting operation\nvar emptyCacheBetweenOperations = false;\n\n// Supports {browser, node, auto}\nvar environment = \"auto\";\n\n// Maps a file path to a string containing the file contents\nvar fileContentsCache = {};\n\n// Maps a file path to a source map for that file\nvar sourceMapCache = {};\n\n// Regex for detecting source maps\nvar reSourceMap = /^data:application\\/json[^,]+base64,/;\n\n// Priority list of retrieve handlers\nvar retrieveFileHandlers = [];\nvar retrieveMapHandlers = [];\n\nfunction isInBrowser() {\n  if (environment === \"browser\")\n    return true;\n  if (environment === \"node\")\n    return false;\n  return ((typeof window !== 'undefined') && (typeof XMLHttpRequest === 'function') && !(window.require && window.module && window.process && window.process.type === \"renderer\"));\n}\n\nfunction hasGlobalProcessEventEmitter() {\n  return ((typeof process === 'object') && (process !== null) && (typeof process.on === 'function'));\n}\n\nfunction globalProcessVersion() {\n  if ((typeof process === 'object') && (process !== null)) {\n    return process.version;\n  } else {\n    return '';\n  }\n}\n\nfunction globalProcessStderr() {\n  if ((typeof process === 'object') && (process !== null)) {\n    return process.stderr;\n  }\n}\n\nfunction globalProcessExit(code) {\n  if ((typeof process === 'object') && (process !== null) && (typeof process.exit === 'function')) {\n    return process.exit(code);\n  }\n}\n\nfunction handlerExec(list) {\n  return function(arg) {\n    for (var i = 0; i < list.length; i++) {\n      var ret = list[i](arg);\n      if (ret) {\n        return ret;\n      }\n    }\n    return null;\n  };\n}\n\nvar retrieveFile = handlerExec(retrieveFileHandlers);\n\nretrieveFileHandlers.push(function(path) {\n  // Trim the path to make sure there is no extra whitespace.\n  path = path.trim();\n  if (/^file:/.test(path)) {\n    // existsSync/readFileSync can't handle file protocol, but once stripped, it works\n    path = path.replace(/file:\\/\\/\\/(\\w:)?/, function(protocol, drive) {\n      return drive ?\n        '' : // file:///C:/dir/file -> C:/dir/file\n        '/'; // file:///root-dir/file -> /root-dir/file\n    });\n  }\n  if (path in fileContentsCache) {\n    return fileContentsCache[path];\n  }\n\n  var contents = '';\n  try {\n    if (!fs) {\n      // Use SJAX if we are in the browser\n      var xhr = new XMLHttpRequest();\n      xhr.open('GET', path, /** async */ false);\n      xhr.send(null);\n      if (xhr.readyState === 4 && xhr.status === 200) {\n        contents = xhr.responseText;\n      }\n    } else if (fs.existsSync(path)) {\n      // Otherwise, use the filesystem\n      contents = fs.readFileSync(path, 'utf8');\n    }\n  } catch (er) {\n    /* ignore any errors */\n  }\n\n  return fileContentsCache[path] = contents;\n});\n\n// Support URLs relative to a directory, but be careful about a protocol prefix\n// in case we are in the browser (i.e. directories may start with \"http://\" or \"file:///\")\nfunction supportRelativeURL(file, url) {\n  if (!file) return url;\n  var dir = path.dirname(file);\n  var match = /^\\w+:\\/\\/[^\\/]*/.exec(dir);\n  var protocol = match ? match[0] : '';\n  var startPath = dir.slice(protocol.length);\n  if (protocol && /^\\/\\w\\:/.test(startPath)) {\n    // handle file:///C:/ paths\n    protocol += '/';\n    return protocol + path.resolve(dir.slice(protocol.length), url).replace(/\\\\/g, '/');\n  }\n  return protocol + path.resolve(dir.slice(protocol.length), url);\n}\n\nfunction retrieveSourceMapURL(source) {\n  var fileData;\n\n  if (isInBrowser()) {\n     try {\n       var xhr = new XMLHttpRequest();\n       xhr.open('GET', source, false);\n       xhr.send(null);\n       fileData = xhr.readyState === 4 ? xhr.responseText : null;\n\n       // Support providing a sourceMappingURL via the SourceMap header\n       var sourceMapHeader = xhr.getResponseHeader(\"SourceMap\") ||\n                             xhr.getResponseHeader(\"X-SourceMap\");\n       if (sourceMapHeader) {\n         return sourceMapHeader;\n       }\n     } catch (e) {\n     }\n  }\n\n  // Get the URL of the source map\n  fileData = retrieveFile(source);\n  var re = /(?:\\/\\/[@#][\\s]*sourceMappingURL=([^\\s'\"]+)[\\s]*$)|(?:\\/\\*[@#][\\s]*sourceMappingURL=([^\\s*'\"]+)[\\s]*(?:\\*\\/)[\\s]*$)/mg;\n  // Keep executing the search to find the *last* sourceMappingURL to avoid\n  // picking up sourceMappingURLs from comments, strings, etc.\n  var lastMatch, match;\n  while (match = re.exec(fileData)) lastMatch = match;\n  if (!lastMatch) return null;\n  return lastMatch[1];\n};\n\n// Can be overridden by the retrieveSourceMap option to install. Takes a\n// generated source filename; returns a {map, optional url} object, or null if\n// there is no source map.  The map field may be either a string or the parsed\n// JSON object (ie, it must be a valid argument to the SourceMapConsumer\n// constructor).\nvar retrieveSourceMap = handlerExec(retrieveMapHandlers);\nretrieveMapHandlers.push(function(source) {\n  var sourceMappingURL = retrieveSourceMapURL(source);\n  if (!sourceMappingURL) return null;\n\n  // Read the contents of the source map\n  var sourceMapData;\n  if (reSourceMap.test(sourceMappingURL)) {\n    // Support source map URL as a data url\n    var rawData = sourceMappingURL.slice(sourceMappingURL.indexOf(',') + 1);\n    sourceMapData = bufferFrom(rawData, \"base64\").toString();\n    sourceMappingURL = source;\n  } else {\n    // Support source map URLs relative to the source URL\n    sourceMappingURL = supportRelativeURL(source, sourceMappingURL);\n    sourceMapData = retrieveFile(sourceMappingURL);\n  }\n\n  if (!sourceMapData) {\n    return null;\n  }\n\n  return {\n    url: sourceMappingURL,\n    map: sourceMapData\n  };\n});\n\nfunction mapSourcePosition(position) {\n  var sourceMap = sourceMapCache[position.source];\n  if (!sourceMap) {\n    // Call the (overrideable) retrieveSourceMap function to get the source map.\n    var urlAndMap = retrieveSourceMap(position.source);\n    if (urlAndMap) {\n      sourceMap = sourceMapCache[position.source] = {\n        url: urlAndMap.url,\n        map: new SourceMapConsumer(urlAndMap.map)\n      };\n\n      // Load all sources stored inline with the source map into the file cache\n      // to pretend like they are already loaded. They may not exist on disk.\n      if (sourceMap.map.sourcesContent) {\n        sourceMap.map.sources.forEach(function(source, i) {\n          var contents = sourceMap.map.sourcesContent[i];\n          if (contents) {\n            var url = supportRelativeURL(sourceMap.url, source);\n            fileContentsCache[url] = contents;\n          }\n        });\n      }\n    } else {\n      sourceMap = sourceMapCache[position.source] = {\n        url: null,\n        map: null\n      };\n    }\n  }\n\n  // Resolve the source URL relative to the URL of the source map\n  if (sourceMap && sourceMap.map && typeof sourceMap.map.originalPositionFor === 'function') {\n    var originalPosition = sourceMap.map.originalPositionFor(position);\n\n    // Only return the original position if a matching line was found. If no\n    // matching line is found then we return position instead, which will cause\n    // the stack trace to print the path and line for the compiled file. It is\n    // better to give a precise location in the compiled file than a vague\n    // location in the original file.\n    if (originalPosition.source !== null) {\n      originalPosition.source = supportRelativeURL(\n        sourceMap.url, originalPosition.source);\n      return originalPosition;\n    }\n  }\n\n  return position;\n}\n\n// Parses code generated by FormatEvalOrigin(), a function inside V8:\n// https://code.google.com/p/v8/source/browse/trunk/src/messages.js\nfunction mapEvalOrigin(origin) {\n  // Most eval() calls are in this format\n  var match = /^eval at ([^(]+) \\((.+):(\\d+):(\\d+)\\)$/.exec(origin);\n  if (match) {\n    var position = mapSourcePosition({\n      source: match[2],\n      line: +match[3],\n      column: match[4] - 1\n    });\n    return 'eval at ' + match[1] + ' (' + position.source + ':' +\n      position.line + ':' + (position.column + 1) + ')';\n  }\n\n  // Parse nested eval() calls using recursion\n  match = /^eval at ([^(]+) \\((.+)\\)$/.exec(origin);\n  if (match) {\n    return 'eval at ' + match[1] + ' (' + mapEvalOrigin(match[2]) + ')';\n  }\n\n  // Make sure we still return useful information if we didn't find anything\n  return origin;\n}\n\n// This is copied almost verbatim from the V8 source code at\n// https://code.google.com/p/v8/source/browse/trunk/src/messages.js. The\n// implementation of wrapCallSite() used to just forward to the actual source\n// code of CallSite.prototype.toString but unfortunately a new release of V8\n// did something to the prototype chain and broke the shim. The only fix I\n// could find was copy/paste.\nfunction CallSiteToString() {\n  var fileName;\n  var fileLocation = \"\";\n  if (this.isNative()) {\n    fileLocation = \"native\";\n  } else {\n    fileName = this.getScriptNameOrSourceURL();\n    if (!fileName && this.isEval()) {\n      fileLocation = this.getEvalOrigin();\n      fileLocation += \", \";  // Expecting source position to follow.\n    }\n\n    if (fileName) {\n      fileLocation += fileName;\n    } else {\n      // Source code does not originate from a file and is not native, but we\n      // can still get the source position inside the source string, e.g. in\n      // an eval string.\n      fileLocation += \"<anonymous>\";\n    }\n    var lineNumber = this.getLineNumber();\n    if (lineNumber != null) {\n      fileLocation += \":\" + lineNumber;\n      var columnNumber = this.getColumnNumber();\n      if (columnNumber) {\n        fileLocation += \":\" + columnNumber;\n      }\n    }\n  }\n\n  var line = \"\";\n  var functionName = this.getFunctionName();\n  var addSuffix = true;\n  var isConstructor = this.isConstructor();\n  var isMethodCall = !(this.isToplevel() || isConstructor);\n  if (isMethodCall) {\n    var typeName = this.getTypeName();\n    // Fixes shim to be backward compatable with Node v0 to v4\n    if (typeName === \"[object Object]\") {\n      typeName = \"null\";\n    }\n    var methodName = this.getMethodName();\n    if (functionName) {\n      if (typeName && functionName.indexOf(typeName) != 0) {\n        line += typeName + \".\";\n      }\n      line += functionName;\n      if (methodName && functionName.indexOf(\".\" + methodName) != functionName.length - methodName.length - 1) {\n        line += \" [as \" + methodName + \"]\";\n      }\n    } else {\n      line += typeName + \".\" + (methodName || \"<anonymous>\");\n    }\n  } else if (isConstructor) {\n    line += \"new \" + (functionName || \"<anonymous>\");\n  } else if (functionName) {\n    line += functionName;\n  } else {\n    line += fileLocation;\n    addSuffix = false;\n  }\n  if (addSuffix) {\n    line += \" (\" + fileLocation + \")\";\n  }\n  return line;\n}\n\nfunction cloneCallSite(frame) {\n  var object = {};\n  Object.getOwnPropertyNames(Object.getPrototypeOf(frame)).forEach(function(name) {\n    object[name] = /^(?:is|get)/.test(name) ? function() { return frame[name].call(frame); } : frame[name];\n  });\n  object.toString = CallSiteToString;\n  return object;\n}\n\nfunction wrapCallSite(frame, state) {\n  // provides interface backward compatibility\n  if (state === undefined) {\n    state = { nextPosition: null, curPosition: null }\n  }\n  if(frame.isNative()) {\n    state.curPosition = null;\n    return frame;\n  }\n\n  // Most call sites will return the source file from getFileName(), but code\n  // passed to eval() ending in \"//# sourceURL=...\" will return the source file\n  // from getScriptNameOrSourceURL() instead\n  var source = frame.getFileName() || frame.getScriptNameOrSourceURL();\n  if (source) {\n    var line = frame.getLineNumber();\n    var column = frame.getColumnNumber() - 1;\n\n    // Fix position in Node where some (internal) code is prepended.\n    // See https://github.com/evanw/node-source-map-support/issues/36\n    // Header removed in node at ^10.16 || >=11.11.0\n    // v11 is not an LTS candidate, we can just test the one version with it.\n    // Test node versions for: 10.16-19, 10.20+, 12-19, 20-99, 100+, or 11.11\n    var noHeader = /^v(10\\.1[6-9]|10\\.[2-9][0-9]|10\\.[0-9]{3,}|1[2-9]\\d*|[2-9]\\d|\\d{3,}|11\\.11)/;\n    var headerLength = noHeader.test(globalProcessVersion()) ? 0 : 62;\n    if (line === 1 && column > headerLength && !isInBrowser() && !frame.isEval()) {\n      column -= headerLength;\n    }\n\n    var position = mapSourcePosition({\n      source: source,\n      line: line,\n      column: column\n    });\n    state.curPosition = position;\n    frame = cloneCallSite(frame);\n    var originalFunctionName = frame.getFunctionName;\n    frame.getFunctionName = function() {\n      if (state.nextPosition == null) {\n        return originalFunctionName();\n      }\n      return state.nextPosition.name || originalFunctionName();\n    };\n    frame.getFileName = function() { return position.source; };\n    frame.getLineNumber = function() { return position.line; };\n    frame.getColumnNumber = function() { return position.column + 1; };\n    frame.getScriptNameOrSourceURL = function() { return position.source; };\n    return frame;\n  }\n\n  // Code called using eval() needs special handling\n  var origin = frame.isEval() && frame.getEvalOrigin();\n  if (origin) {\n    origin = mapEvalOrigin(origin);\n    frame = cloneCallSite(frame);\n    frame.getEvalOrigin = function() { return origin; };\n    return frame;\n  }\n\n  // If we get here then we were unable to change the source position\n  return frame;\n}\n\n// This function is part of the V8 stack trace API, for more info see:\n// https://v8.dev/docs/stack-trace-api\nfunction prepareStackTrace(error, stack) {\n  if (emptyCacheBetweenOperations) {\n    fileContentsCache = {};\n    sourceMapCache = {};\n  }\n\n  var name = error.name || 'Error';\n  var message = error.message || '';\n  var errorString = name + \": \" + message;\n\n  var state = { nextPosition: null, curPosition: null };\n  var processedStack = [];\n  for (var i = stack.length - 1; i >= 0; i--) {\n    processedStack.push('\\n    at ' + wrapCallSite(stack[i], state));\n    state.nextPosition = state.curPosition;\n  }\n  state.curPosition = state.nextPosition = null;\n  return errorString + processedStack.reverse().join('');\n}\n\n// Generate position and snippet of original source with pointer\nfunction getErrorSource(error) {\n  var match = /\\n    at [^(]+ \\((.*):(\\d+):(\\d+)\\)/.exec(error.stack);\n  if (match) {\n    var source = match[1];\n    var line = +match[2];\n    var column = +match[3];\n\n    // Support the inline sourceContents inside the source map\n    var contents = fileContentsCache[source];\n\n    // Support files on disk\n    if (!contents && fs && fs.existsSync(source)) {\n      try {\n        contents = fs.readFileSync(source, 'utf8');\n      } catch (er) {\n        contents = '';\n      }\n    }\n\n    // Format the line from the original source code like node does\n    if (contents) {\n      var code = contents.split(/(?:\\r\\n|\\r|\\n)/)[line - 1];\n      if (code) {\n        return source + ':' + line + '\\n' + code + '\\n' +\n          new Array(column).join(' ') + '^';\n      }\n    }\n  }\n  return null;\n}\n\nfunction printErrorAndExit (error) {\n  var source = getErrorSource(error);\n\n  // Ensure error is printed synchronously and not truncated\n  var stderr = globalProcessStderr();\n  if (stderr && stderr._handle && stderr._handle.setBlocking) {\n    stderr._handle.setBlocking(true);\n  }\n\n  if (source) {\n    console.error();\n    console.error(source);\n  }\n\n  console.error(error.stack);\n  globalProcessExit(1);\n}\n\nfunction shimEmitUncaughtException () {\n  var origEmit = process.emit;\n\n  process.emit = function (type) {\n    if (type === 'uncaughtException') {\n      var hasStack = (arguments[1] && arguments[1].stack);\n      var hasListeners = (this.listeners(type).length > 0);\n\n      if (hasStack && !hasListeners) {\n        return printErrorAndExit(arguments[1]);\n      }\n    }\n\n    return origEmit.apply(this, arguments);\n  };\n}\n\nvar originalRetrieveFileHandlers = retrieveFileHandlers.slice(0);\nvar originalRetrieveMapHandlers = retrieveMapHandlers.slice(0);\n\nexports.wrapCallSite = wrapCallSite;\nexports.getErrorSource = getErrorSource;\nexports.mapSourcePosition = mapSourcePosition;\nexports.retrieveSourceMap = retrieveSourceMap;\n\nexports.install = function(options) {\n  options = options || {};\n\n  if (options.environment) {\n    environment = options.environment;\n    if ([\"node\", \"browser\", \"auto\"].indexOf(environment) === -1) {\n      throw new Error(\"environment \" + environment + \" was unknown. Available options are {auto, browser, node}\")\n    }\n  }\n\n  // Allow sources to be found by methods other than reading the files\n  // directly from disk.\n  if (options.retrieveFile) {\n    if (options.overrideRetrieveFile) {\n      retrieveFileHandlers.length = 0;\n    }\n\n    retrieveFileHandlers.unshift(options.retrieveFile);\n  }\n\n  // Allow source maps to be found by methods other than reading the files\n  // directly from disk.\n  if (options.retrieveSourceMap) {\n    if (options.overrideRetrieveSourceMap) {\n      retrieveMapHandlers.length = 0;\n    }\n\n    retrieveMapHandlers.unshift(options.retrieveSourceMap);\n  }\n\n  // Support runtime transpilers that include inline source maps\n  if (options.hookRequire && !isInBrowser()) {\n    // Use dynamicRequire to avoid including in browser bundles\n    var Module = dynamicRequire(module, 'module');\n    var $compile = Module.prototype._compile;\n\n    if (!$compile.__sourceMapSupport) {\n      Module.prototype._compile = function(content, filename) {\n        fileContentsCache[filename] = content;\n        sourceMapCache[filename] = undefined;\n        return $compile.call(this, content, filename);\n      };\n\n      Module.prototype._compile.__sourceMapSupport = true;\n    }\n  }\n\n  // Configure options\n  if (!emptyCacheBetweenOperations) {\n    emptyCacheBetweenOperations = 'emptyCacheBetweenOperations' in options ?\n      options.emptyCacheBetweenOperations : false;\n  }\n\n  // Install the error reformatter\n  if (!errorFormatterInstalled) {\n    errorFormatterInstalled = true;\n    Error.prepareStackTrace = prepareStackTrace;\n  }\n\n  if (!uncaughtShimInstalled) {\n    var installHandler = 'handleUncaughtExceptions' in options ?\n      options.handleUncaughtExceptions : true;\n\n    // Do not override 'uncaughtException' with our own handler in Node.js\n    // Worker threads. Workers pass the error to the main thread as an event,\n    // rather than printing something to stderr and exiting.\n    try {\n      // We need to use `dynamicRequire` because `require` on it's own will be optimized by WebPack/Browserify.\n      var worker_threads = dynamicRequire(module, 'worker_threads');\n      if (worker_threads.isMainThread === false) {\n        installHandler = false;\n      }\n    } catch(e) {}\n\n    // Provide the option to not install the uncaught exception handler. This is\n    // to support other uncaught exception handlers (in test frameworks, for\n    // example). If this handler is not installed and there are no other uncaught\n    // exception handlers, uncaught exceptions will be caught by node's built-in\n    // exception handler and the process will still be terminated. However, the\n    // generated JavaScript code will be shown above the stack trace instead of\n    // the original source code.\n    if (installHandler && hasGlobalProcessEventEmitter()) {\n      uncaughtShimInstalled = true;\n      shimEmitUncaughtException();\n    }\n  }\n};\n\nexports.resetRetrieveHandlers = function() {\n  retrieveFileHandlers.length = 0;\n  retrieveMapHandlers.length = 0;\n\n  retrieveFileHandlers = originalRetrieveFileHandlers.slice(0);\n  retrieveMapHandlers = originalRetrieveMapHandlers.slice(0);\n\n  retrieveSourceMap = handlerExec(retrieveMapHandlers);\n  retrieveFile = handlerExec(retrieveFileHandlers);\n}\n","// This is a generated file. Do not edit.\nmodule.exports.Space_Separator = /[\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/\nmodule.exports.ID_Start = /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09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0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA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E50\\uDE5C-\\uDE83\\uDE86-\\uDE89\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00-\\uDD1E\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99]|\\uD835[\\uDC00-\\uDC54\\uDC56-\\uDC9C\\uDC9E\\uDC9F\\uDCA2\\uDCA5\\uDCA6\\uDCA9-\\uDCAC\\uDCAE-\\uDCB9\\uDCBB\\uDCBD-\\uDCC3\\uDCC5-\\uDD05\\uDD07-\\uDD0A\\uDD0D-\\uDD14\\uDD16-\\uDD1C\\uDD1E-\\uDD39\\uDD3B-\\uDD3E\\uDD40-\\uDD44\\uDD46\\uDD4A-\\uDD50\\uDD52-\\uDEA5\\uDEA8-\\uDEC0\\uDEC2-\\uDEDA\\uDEDC-\\uDEFA\\uDEFC-\\uDF14\\uDF16-\\uDF34\\uDF36-\\uDF4E\\uDF50-\\uDF6E\\uDF70-\\uDF88\\uDF8A-\\uDFA8\\uDFAA-\\uDFC2\\uDFC4-\\uDFCB]|\\uD83A[\\uDC00-\\uDCC4\\uDD00-\\uDD43]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]/\nmodule.exports.ID_Continue = /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u09FC\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0AF9-\\u0AFF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0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F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF9\\u1D00-\\u1DF9\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\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uDCC5\\uDCC7\\uDCD0-\\uDCD9\\uDD80-\\uDDB5\\uDDB8-\\uDDC0\\uDDD8-\\uDDDD\\uDE00-\\uDE40\\uDE44\\uDE50-\\uDE59\\uDE80-\\uDEB7\\uDEC0-\\uDEC9\\uDF00-\\uDF19\\uDF1D-\\uDF2B\\uDF30-\\uDF39]|\\uD806[\\uDCA0-\\uDCE9\\uDCFF\\uDE00-\\uDE3E\\uDE47\\uDE50-\\uDE83\\uDE86-\\uDE99\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC36\\uDC38-\\uDC40\\uDC50-\\uDC59\\uDC72-\\uDC8F\\uDC92-\\uDCA7\\uDCA9-\\uDCB6\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD36\\uDD3A\\uDD3C\\uDD3D\\uDD3F-\\uDD47\\uDD50-\\uDD59]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDE60-\\uDE69\\uDED0-\\uDEED\\uDEF0-\\uDEF4\\uDF00-\\uDF36\\uDF40-\\uDF43\\uDF50-\\uDF59\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50-\\uDF7E\\uDF8F-\\uDF9F\\uDFE0\\uDFE1]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[\\uDC00-\\uDEF2]|\\uD82C[\\uDC00-\\uDD1E\\uDD70-\\uDEFB]|\\uD82F[\\uDC00-\\uDC6A\\uDC70-\\uDC7C\\uDC80-\\uDC88\\uDC90-\\uDC99\\uDC9D\\uDC9E]|\\uD834[\\uDD65-\\uD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uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF]/\n","const unicode = require('../lib/unicode')\n\nmodule.exports = {\n    isSpaceSeparator (c) {\n        return typeof c === 'string' && unicode.Space_Separator.test(c)\n    },\n\n    isIdStartChar (c) {\n        return typeof c === 'string' && (\n            (c >= 'a' && c <= 'z') ||\n        (c >= 'A' && c <= 'Z') ||\n        (c === '$') || (c === '_') ||\n        unicode.ID_Start.test(c)\n        )\n    },\n\n    isIdContinueChar (c) {\n        return typeof c === 'string' && (\n            (c >= 'a' && c <= 'z') ||\n        (c >= 'A' && c <= 'Z') ||\n        (c >= '0' && c <= '9') ||\n        (c === '$') || (c === '_') ||\n        (c === '\\u200C') || (c === '\\u200D') ||\n        unicode.ID_Continue.test(c)\n        )\n    },\n\n    isDigit (c) {\n        return typeof c === 'string' && /[0-9]/.test(c)\n    },\n\n    isHexDigit (c) {\n        return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)\n    },\n}\n","const util = require('./util')\n\nlet source\nlet parseState\nlet stack\nlet pos\nlet line\nlet column\nlet token\nlet key\nlet root\n\nmodule.exports = function parse (text, reviver) {\n    source = String(text)\n    parseState = 'start'\n    stack = []\n    pos = 0\n    line = 1\n    column = 0\n    token = undefined\n    key = undefined\n    root = undefined\n\n    do {\n        token = lex()\n\n        // This code is unreachable.\n        // if (!parseStates[parseState]) {\n        //     throw invalidParseState()\n        // }\n\n        parseStates[parseState]()\n    } while (token.type !== 'eof')\n\n    if (typeof reviver === 'function') {\n        return internalize({'': root}, '', reviver)\n    }\n\n    return root\n}\n\nfunction internalize (holder, name, reviver) {\n    const value = holder[name]\n    if (value != null && typeof value === 'object') {\n        if (Array.isArray(value)) {\n            for (let i = 0; i < value.length; i++) {\n                const key = String(i)\n                const replacement = internalize(value, key, reviver)\n                if (replacement === undefined) {\n                    delete value[key]\n                } else {\n                    Object.defineProperty(value, key, {\n                        value: replacement,\n                        writable: true,\n                        enumerable: true,\n                        configurable: true,\n                    })\n                }\n            }\n        } else {\n            for (const key in value) {\n                const replacement = internalize(value, key, reviver)\n                if (replacement === undefined) {\n                    delete value[key]\n                } else {\n                    Object.defineProperty(value, key, {\n                        value: replacement,\n                        writable: true,\n                        enumerable: true,\n                        configurable: true,\n                    })\n                }\n            }\n        }\n    }\n\n    return reviver.call(holder, name, value)\n}\n\nlet lexState\nlet buffer\nlet doubleQuote\nlet sign\nlet c\n\nfunction lex () {\n    lexState = 'default'\n    buffer = ''\n    doubleQuote = false\n    sign = 1\n\n    for (;;) {\n        c = peek()\n\n        // This code is unreachable.\n        // if (!lexStates[lexState]) {\n        //     throw invalidLexState(lexState)\n        // }\n\n        const token = lexStates[lexState]()\n        if (token) {\n            return token\n        }\n    }\n}\n\nfunction peek () {\n    if (source[pos]) {\n        return String.fromCodePoint(source.codePointAt(pos))\n    }\n}\n\nfunction read () {\n    const c = peek()\n\n    if (c === '\\n') {\n        line++\n        column = 0\n    } else if (c) {\n        column += c.length\n    } else {\n        column++\n    }\n\n    if (c) {\n        pos += c.length\n    }\n\n    return c\n}\n\nconst lexStates = {\n    default () {\n        switch (c) {\n        case '\\t':\n        case '\\v':\n        case '\\f':\n        case ' ':\n        case '\\u00A0':\n        case '\\uFEFF':\n        case '\\n':\n        case '\\r':\n        case '\\u2028':\n        case '\\u2029':\n            read()\n            return\n\n        case '/':\n            read()\n            lexState = 'comment'\n            return\n\n        case undefined:\n            read()\n            return newToken('eof')\n        }\n\n        if (util.isSpaceSeparator(c)) {\n            read()\n            return\n        }\n\n        // This code is unreachable.\n        // if (!lexStates[parseState]) {\n        //     throw invalidLexState(parseState)\n        // }\n\n        return lexStates[parseState]()\n    },\n\n    comment () {\n        switch (c) {\n        case '*':\n            read()\n            lexState = 'multiLineComment'\n            return\n\n        case '/':\n            read()\n            lexState = 'singleLineComment'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    multiLineComment () {\n        switch (c) {\n        case '*':\n            read()\n            lexState = 'multiLineCommentAsterisk'\n            return\n\n        case undefined:\n            throw invalidChar(read())\n        }\n\n        read()\n    },\n\n    multiLineCommentAsterisk () {\n        switch (c) {\n        case '*':\n            read()\n            return\n\n        case '/':\n            read()\n            lexState = 'default'\n            return\n\n        case undefined:\n            throw invalidChar(read())\n        }\n\n        read()\n        lexState = 'multiLineComment'\n    },\n\n    singleLineComment () {\n        switch (c) {\n        case '\\n':\n        case '\\r':\n        case '\\u2028':\n        case '\\u2029':\n            read()\n            lexState = 'default'\n            return\n\n        case undefined:\n            read()\n            return newToken('eof')\n        }\n\n        read()\n    },\n\n    value () {\n        switch (c) {\n        case '{':\n        case '[':\n            return newToken('punctuator', read())\n\n        case 'n':\n            read()\n            literal('ull')\n            return newToken('null', null)\n\n        case 't':\n            read()\n            literal('rue')\n            return newToken('boolean', true)\n\n        case 'f':\n            read()\n            literal('alse')\n            return newToken('boolean', false)\n\n        case '-':\n        case '+':\n            if (read() === '-') {\n                sign = -1\n            }\n\n            lexState = 'sign'\n            return\n\n        case '.':\n            buffer = read()\n            lexState = 'decimalPointLeading'\n            return\n\n        case '0':\n            buffer = read()\n            lexState = 'zero'\n            return\n\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n            buffer = read()\n            lexState = 'decimalInteger'\n            return\n\n        case 'I':\n            read()\n            literal('nfinity')\n            return newToken('numeric', Infinity)\n\n        case 'N':\n            read()\n            literal('aN')\n            return newToken('numeric', NaN)\n\n        case '\"':\n        case \"'\":\n            doubleQuote = (read() === '\"')\n            buffer = ''\n            lexState = 'string'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    identifierNameStartEscape () {\n        if (c !== 'u') {\n            throw invalidChar(read())\n        }\n\n        read()\n        const u = unicodeEscape()\n        switch (u) {\n        case '$':\n        case '_':\n            break\n\n        default:\n            if (!util.isIdStartChar(u)) {\n                throw invalidIdentifier()\n            }\n\n            break\n        }\n\n        buffer += u\n        lexState = 'identifierName'\n    },\n\n    identifierName () {\n        switch (c) {\n        case '$':\n        case '_':\n        case '\\u200C':\n        case '\\u200D':\n            buffer += read()\n            return\n\n        case '\\\\':\n            read()\n            lexState = 'identifierNameEscape'\n            return\n        }\n\n        if (util.isIdContinueChar(c)) {\n            buffer += read()\n            return\n        }\n\n        return newToken('identifier', buffer)\n    },\n\n    identifierNameEscape () {\n        if (c !== 'u') {\n            throw invalidChar(read())\n        }\n\n        read()\n        const u = unicodeEscape()\n        switch (u) {\n        case '$':\n        case '_':\n        case '\\u200C':\n        case '\\u200D':\n            break\n\n        default:\n            if (!util.isIdContinueChar(u)) {\n                throw invalidIdentifier()\n            }\n\n            break\n        }\n\n        buffer += u\n        lexState = 'identifierName'\n    },\n\n    sign () {\n        switch (c) {\n        case '.':\n            buffer = read()\n            lexState = 'decimalPointLeading'\n            return\n\n        case '0':\n            buffer = read()\n            lexState = 'zero'\n            return\n\n        case '1':\n        case '2':\n        case '3':\n        case '4':\n        case '5':\n        case '6':\n        case '7':\n        case '8':\n        case '9':\n            buffer = read()\n            lexState = 'decimalInteger'\n            return\n\n        case 'I':\n            read()\n            literal('nfinity')\n            return newToken('numeric', sign * Infinity)\n\n        case 'N':\n            read()\n            literal('aN')\n            return newToken('numeric', NaN)\n        }\n\n        throw invalidChar(read())\n    },\n\n    zero () {\n        switch (c) {\n        case '.':\n            buffer += read()\n            lexState = 'decimalPoint'\n            return\n\n        case 'e':\n        case 'E':\n            buffer += read()\n            lexState = 'decimalExponent'\n            return\n\n        case 'x':\n        case 'X':\n            buffer += read()\n            lexState = 'hexadecimal'\n            return\n        }\n\n        return newToken('numeric', sign * 0)\n    },\n\n    decimalInteger () {\n        switch (c) {\n        case '.':\n            buffer += read()\n            lexState = 'decimalPoint'\n            return\n\n        case 'e':\n        case 'E':\n            buffer += read()\n            lexState = 'decimalExponent'\n            return\n        }\n\n        if (util.isDigit(c)) {\n            buffer += read()\n            return\n        }\n\n        return newToken('numeric', sign * Number(buffer))\n    },\n\n    decimalPointLeading () {\n        if (util.isDigit(c)) {\n            buffer += read()\n            lexState = 'decimalFraction'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    decimalPoint () {\n        switch (c) {\n        case 'e':\n        case 'E':\n            buffer += read()\n            lexState = 'decimalExponent'\n            return\n        }\n\n        if (util.isDigit(c)) {\n            buffer += read()\n            lexState = 'decimalFraction'\n            return\n        }\n\n        return newToken('numeric', sign * Number(buffer))\n    },\n\n    decimalFraction () {\n        switch (c) {\n        case 'e':\n        case 'E':\n            buffer += read()\n            lexState = 'decimalExponent'\n            return\n        }\n\n        if (util.isDigit(c)) {\n            buffer += read()\n            return\n        }\n\n        return newToken('numeric', sign * Number(buffer))\n    },\n\n    decimalExponent () {\n        switch (c) {\n        case '+':\n        case '-':\n            buffer += read()\n            lexState = 'decimalExponentSign'\n            return\n        }\n\n        if (util.isDigit(c)) {\n            buffer += read()\n            lexState = 'decimalExponentInteger'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    decimalExponentSign () {\n        if (util.isDigit(c)) {\n            buffer += read()\n            lexState = 'decimalExponentInteger'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    decimalExponentInteger () {\n        if (util.isDigit(c)) {\n            buffer += read()\n            return\n        }\n\n        return newToken('numeric', sign * Number(buffer))\n    },\n\n    hexadecimal () {\n        if (util.isHexDigit(c)) {\n            buffer += read()\n            lexState = 'hexadecimalInteger'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    hexadecimalInteger () {\n        if (util.isHexDigit(c)) {\n            buffer += read()\n            return\n        }\n\n        return newToken('numeric', sign * Number(buffer))\n    },\n\n    string () {\n        switch (c) {\n        case '\\\\':\n            read()\n            buffer += escape()\n            return\n\n        case '\"':\n            if (doubleQuote) {\n                read()\n                return newToken('string', buffer)\n            }\n\n            buffer += read()\n            return\n\n        case \"'\":\n            if (!doubleQuote) {\n                read()\n                return newToken('string', buffer)\n            }\n\n            buffer += read()\n            return\n\n        case '\\n':\n        case '\\r':\n            throw invalidChar(read())\n\n        case '\\u2028':\n        case '\\u2029':\n            separatorChar(c)\n            break\n\n        case undefined:\n            throw invalidChar(read())\n        }\n\n        buffer += read()\n    },\n\n    start () {\n        switch (c) {\n        case '{':\n        case '[':\n            return newToken('punctuator', read())\n\n        // This code is unreachable since the default lexState handles eof.\n        // case undefined:\n        //     return newToken('eof')\n        }\n\n        lexState = 'value'\n    },\n\n    beforePropertyName () {\n        switch (c) {\n        case '$':\n        case '_':\n            buffer = read()\n            lexState = 'identifierName'\n            return\n\n        case '\\\\':\n            read()\n            lexState = 'identifierNameStartEscape'\n            return\n\n        case '}':\n            return newToken('punctuator', read())\n\n        case '\"':\n        case \"'\":\n            doubleQuote = (read() === '\"')\n            lexState = 'string'\n            return\n        }\n\n        if (util.isIdStartChar(c)) {\n            buffer += read()\n            lexState = 'identifierName'\n            return\n        }\n\n        throw invalidChar(read())\n    },\n\n    afterPropertyName () {\n        if (c === ':') {\n            return newToken('punctuator', read())\n        }\n\n        throw invalidChar(read())\n    },\n\n    beforePropertyValue () {\n        lexState = 'value'\n    },\n\n    afterPropertyValue () {\n        switch (c) {\n        case ',':\n        case '}':\n            return newToken('punctuator', read())\n        }\n\n        throw invalidChar(read())\n    },\n\n    beforeArrayValue () {\n        if (c === ']') {\n            return newToken('punctuator', read())\n        }\n\n        lexState = 'value'\n    },\n\n    afterArrayValue () {\n        switch (c) {\n        case ',':\n        case ']':\n            return newToken('punctuator', read())\n        }\n\n        throw invalidChar(read())\n    },\n\n    end () {\n        // This code is unreachable since it's handled by the default lexState.\n        // if (c === undefined) {\n        //     read()\n        //     return newToken('eof')\n        // }\n\n        throw invalidChar(read())\n    },\n}\n\nfunction newToken (type, value) {\n    return {\n        type,\n        value,\n        line,\n        column,\n    }\n}\n\nfunction literal (s) {\n    for (const c of s) {\n        const p = peek()\n\n        if (p !== c) {\n            throw invalidChar(read())\n        }\n\n        read()\n    }\n}\n\nfunction escape () {\n    const c = peek()\n    switch (c) {\n    case 'b':\n        read()\n        return '\\b'\n\n    case 'f':\n        read()\n        return '\\f'\n\n    case 'n':\n        read()\n        return '\\n'\n\n    case 'r':\n        read()\n        return '\\r'\n\n    case 't':\n        read()\n        return '\\t'\n\n    case 'v':\n        read()\n        return '\\v'\n\n    case '0':\n        read()\n        if (util.isDigit(peek())) {\n            throw invalidChar(read())\n        }\n\n        return '\\0'\n\n    case 'x':\n        read()\n        return hexEscape()\n\n    case 'u':\n        read()\n        return unicodeEscape()\n\n    case '\\n':\n    case '\\u2028':\n    case '\\u2029':\n        read()\n        return ''\n\n    case '\\r':\n        read()\n        if (peek() === '\\n') {\n            read()\n        }\n\n        return ''\n\n    case '1':\n    case '2':\n    case '3':\n    case '4':\n    case '5':\n    case '6':\n    case '7':\n    case '8':\n    case '9':\n        throw invalidChar(read())\n\n    case undefined:\n        throw invalidChar(read())\n    }\n\n    return read()\n}\n\nfunction hexEscape () {\n    let buffer = ''\n    let c = peek()\n\n    if (!util.isHexDigit(c)) {\n        throw invalidChar(read())\n    }\n\n    buffer += read()\n\n    c = peek()\n    if (!util.isHexDigit(c)) {\n        throw invalidChar(read())\n    }\n\n    buffer += read()\n\n    return String.fromCodePoint(parseInt(buffer, 16))\n}\n\nfunction unicodeEscape () {\n    let buffer = ''\n    let count = 4\n\n    while (count-- > 0) {\n        const c = peek()\n        if (!util.isHexDigit(c)) {\n            throw invalidChar(read())\n        }\n\n        buffer += read()\n    }\n\n    return String.fromCodePoint(parseInt(buffer, 16))\n}\n\nconst parseStates = {\n    start () {\n        if (token.type === 'eof') {\n            throw invalidEOF()\n        }\n\n        push()\n    },\n\n    beforePropertyName () {\n        switch (token.type) {\n        case 'identifier':\n        case 'string':\n            key = token.value\n            parseState = 'afterPropertyName'\n            return\n\n        case 'punctuator':\n            // This code is unreachable since it's handled by the lexState.\n            // if (token.value !== '}') {\n            //     throw invalidToken()\n            // }\n\n            pop()\n            return\n\n        case 'eof':\n            throw invalidEOF()\n        }\n\n        // This code is unreachable since it's handled by the lexState.\n        // throw invalidToken()\n    },\n\n    afterPropertyName () {\n        // This code is unreachable since it's handled by the lexState.\n        // if (token.type !== 'punctuator' || token.value !== ':') {\n        //     throw invalidToken()\n        // }\n\n        if (token.type === 'eof') {\n            throw invalidEOF()\n        }\n\n        parseState = 'beforePropertyValue'\n    },\n\n    beforePropertyValue () {\n        if (token.type === 'eof') {\n            throw invalidEOF()\n        }\n\n        push()\n    },\n\n    beforeArrayValue () {\n        if (token.type === 'eof') {\n            throw invalidEOF()\n        }\n\n        if (token.type === 'punctuator' && token.value === ']') {\n            pop()\n            return\n        }\n\n        push()\n    },\n\n    afterPropertyValue () {\n        // This code is unreachable since it's handled by the lexState.\n        // if (token.type !== 'punctuator') {\n        //     throw invalidToken()\n        // }\n\n        if (token.type === 'eof') {\n            throw invalidEOF()\n        }\n\n        switch (token.value) {\n        case ',':\n            parseState = 'beforePropertyName'\n            return\n\n        case '}':\n            pop()\n        }\n\n        // This code is unreachable since it's handled by the lexState.\n        // throw invalidToken()\n    },\n\n    afterArrayValue () {\n        // This code is unreachable since it's handled by the lexState.\n        // if (token.type !== 'punctuator') {\n        //     throw invalidToken()\n        // }\n\n        if (token.type === 'eof') {\n            throw invalidEOF()\n        }\n\n        switch (token.value) {\n        case ',':\n            parseState = 'beforeArrayValue'\n            return\n\n        case ']':\n            pop()\n        }\n\n        // This code is unreachable since it's handled by the lexState.\n        // throw invalidToken()\n    },\n\n    end () {\n        // This code is unreachable since it's handled by the lexState.\n        // if (token.type !== 'eof') {\n        //     throw invalidToken()\n        // }\n    },\n}\n\nfunction push () {\n    let value\n\n    switch (token.type) {\n    case 'punctuator':\n        switch (token.value) {\n        case '{':\n            value = {}\n            break\n\n        case '[':\n            value = []\n            break\n        }\n\n        break\n\n    case 'null':\n    case 'boolean':\n    case 'numeric':\n    case 'string':\n        value = token.value\n        break\n\n    // This code is unreachable.\n    // default:\n    //     throw invalidToken()\n    }\n\n    if (root === undefined) {\n        root = value\n    } else {\n        const parent = stack[stack.length - 1]\n        if (Array.isArray(parent)) {\n            parent.push(value)\n        } else {\n            Object.defineProperty(parent, key, {\n                value,\n                writable: true,\n                enumerable: true,\n                configurable: true,\n            })\n        }\n    }\n\n    if (value !== null && typeof value === 'object') {\n        stack.push(value)\n\n        if (Array.isArray(value)) {\n            parseState = 'beforeArrayValue'\n        } else {\n            parseState = 'beforePropertyName'\n        }\n    } else {\n        const current = stack[stack.length - 1]\n        if (current == null) {\n            parseState = 'end'\n        } else if (Array.isArray(current)) {\n            parseState = 'afterArrayValue'\n        } else {\n            parseState = 'afterPropertyValue'\n        }\n    }\n}\n\nfunction pop () {\n    stack.pop()\n\n    const current = stack[stack.length - 1]\n    if (current == null) {\n        parseState = 'end'\n    } else if (Array.isArray(current)) {\n        parseState = 'afterArrayValue'\n    } else {\n        parseState = 'afterPropertyValue'\n    }\n}\n\n// This code is unreachable.\n// function invalidParseState () {\n//     return new Error(`JSON5: invalid parse state '${parseState}'`)\n// }\n\n// This code is unreachable.\n// function invalidLexState (state) {\n//     return new Error(`JSON5: invalid lex state '${state}'`)\n// }\n\nfunction invalidChar (c) {\n    if (c === undefined) {\n        return syntaxError(`JSON5: invalid end of input at ${line}:${column}`)\n    }\n\n    return syntaxError(`JSON5: invalid character '${formatChar(c)}' at ${line}:${column}`)\n}\n\nfunction invalidEOF () {\n    return syntaxError(`JSON5: invalid end of input at ${line}:${column}`)\n}\n\n// This code is unreachable.\n// function invalidToken () {\n//     if (token.type === 'eof') {\n//         return syntaxError(`JSON5: invalid end of input at ${line}:${column}`)\n//     }\n\n//     const c = String.fromCodePoint(token.value.codePointAt(0))\n//     return syntaxError(`JSON5: invalid character '${formatChar(c)}' at ${line}:${column}`)\n// }\n\nfunction invalidIdentifier () {\n    column -= 5\n    return syntaxError(`JSON5: invalid identifier character at ${line}:${column}`)\n}\n\nfunction separatorChar (c) {\n    console.warn(`JSON5: '${formatChar(c)}' in strings is not valid ECMAScript; consider escaping`)\n}\n\nfunction formatChar (c) {\n    const replacements = {\n        \"'\": \"\\\\'\",\n        '\"': '\\\\\"',\n        '\\\\': '\\\\\\\\',\n        '\\b': '\\\\b',\n        '\\f': '\\\\f',\n        '\\n': '\\\\n',\n        '\\r': '\\\\r',\n        '\\t': '\\\\t',\n        '\\v': '\\\\v',\n        '\\0': '\\\\0',\n        '\\u2028': '\\\\u2028',\n        '\\u2029': '\\\\u2029',\n    }\n\n    if (replacements[c]) {\n        return replacements[c]\n    }\n\n    if (c < ' ') {\n        const hexString = c.charCodeAt(0).toString(16)\n        return '\\\\x' + ('00' + hexString).substring(hexString.length)\n    }\n\n    return c\n}\n\nfunction syntaxError (message) {\n    const err = new SyntaxError(message)\n    err.lineNumber = line\n    err.columnNumber = column\n    return err\n}\n","const util = require('./util')\n\nmodule.exports = function stringify (value, replacer, space) {\n    const stack = []\n    let indent = ''\n    let propertyList\n    let replacerFunc\n    let gap = ''\n    let quote\n\n    if (\n        replacer != null &&\n        typeof replacer === 'object' &&\n        !Array.isArray(replacer)\n    ) {\n        space = replacer.space\n        quote = replacer.quote\n        replacer = replacer.replacer\n    }\n\n    if (typeof replacer === 'function') {\n        replacerFunc = replacer\n    } else if (Array.isArray(replacer)) {\n        propertyList = []\n        for (const v of replacer) {\n            let item\n\n            if (typeof v === 'string') {\n                item = v\n            } else if (\n                typeof v === 'number' ||\n                v instanceof String ||\n                v instanceof Number\n            ) {\n                item = String(v)\n            }\n\n            if (item !== undefined && propertyList.indexOf(item) < 0) {\n                propertyList.push(item)\n            }\n        }\n    }\n\n    if (space instanceof Number) {\n        space = Number(space)\n    } else if (space instanceof String) {\n        space = String(space)\n    }\n\n    if (typeof space === 'number') {\n        if (space > 0) {\n            space = Math.min(10, Math.floor(space))\n            gap = '          '.substr(0, space)\n        }\n    } else if (typeof space === 'string') {\n        gap = space.substr(0, 10)\n    }\n\n    return serializeProperty('', {'': value})\n\n    function serializeProperty (key, holder) {\n        let value = holder[key]\n        if (value != null) {\n            if (typeof value.toJSON5 === 'function') {\n                value = value.toJSON5(key)\n            } else if (typeof value.toJSON === 'function') {\n                value = value.toJSON(key)\n            }\n        }\n\n        if (replacerFunc) {\n            value = replacerFunc.call(holder, key, value)\n        }\n\n        if (value instanceof Number) {\n            value = Number(value)\n        } else if (value instanceof String) {\n            value = String(value)\n        } else if (value instanceof Boolean) {\n            value = value.valueOf()\n        }\n\n        switch (value) {\n        case null: return 'null'\n        case true: return 'true'\n        case false: return 'false'\n        }\n\n        if (typeof value === 'string') {\n            return quoteString(value, false)\n        }\n\n        if (typeof value === 'number') {\n            return String(value)\n        }\n\n        if (typeof value === 'object') {\n            return Array.isArray(value) ? serializeArray(value) : serializeObject(value)\n        }\n\n        return undefined\n    }\n\n    function quoteString (value) {\n        const quotes = {\n            \"'\": 0.1,\n            '\"': 0.2,\n        }\n\n        const replacements = {\n            \"'\": \"\\\\'\",\n            '\"': '\\\\\"',\n            '\\\\': '\\\\\\\\',\n            '\\b': '\\\\b',\n            '\\f': '\\\\f',\n            '\\n': '\\\\n',\n            '\\r': '\\\\r',\n            '\\t': '\\\\t',\n            '\\v': '\\\\v',\n            '\\0': '\\\\0',\n            '\\u2028': '\\\\u2028',\n            '\\u2029': '\\\\u2029',\n        }\n\n        let product = ''\n\n        for (let i = 0; i < value.length; i++) {\n            const c = value[i]\n            switch (c) {\n            case \"'\":\n            case '\"':\n                quotes[c]++\n                product += c\n                continue\n\n            case '\\0':\n                if (util.isDigit(value[i + 1])) {\n                    product += '\\\\x00'\n                    continue\n                }\n            }\n\n            if (replacements[c]) {\n                product += replacements[c]\n                continue\n            }\n\n            if (c < ' ') {\n                let hexString = c.charCodeAt(0).toString(16)\n                product += '\\\\x' + ('00' + hexString).substring(hexString.length)\n                continue\n            }\n\n            product += c\n        }\n\n        const quoteChar = quote || Object.keys(quotes).reduce((a, b) => (quotes[a] < quotes[b]) ? a : b)\n\n        product = product.replace(new RegExp(quoteChar, 'g'), replacements[quoteChar])\n\n        return quoteChar + product + quoteChar\n    }\n\n    function serializeObject (value) {\n        if (stack.indexOf(value) >= 0) {\n            throw TypeError('Converting circular structure to JSON5')\n        }\n\n        stack.push(value)\n\n        let stepback = indent\n        indent = indent + gap\n\n        let keys = propertyList || Object.keys(value)\n        let partial = []\n        for (const key of keys) {\n            const propertyString = serializeProperty(key, value)\n            if (propertyString !== undefined) {\n                let member = serializeKey(key) + ':'\n                if (gap !== '') {\n                    member += ' '\n                }\n                member += propertyString\n                partial.push(member)\n            }\n        }\n\n        let final\n        if (partial.length === 0) {\n            final = '{}'\n        } else {\n            let properties\n            if (gap === '') {\n                properties = partial.join(',')\n                final = '{' + properties + '}'\n            } else {\n                let separator = ',\\n' + indent\n                properties = partial.join(separator)\n                final = '{\\n' + indent + properties + ',\\n' + stepback + '}'\n            }\n        }\n\n        stack.pop()\n        indent = stepback\n        return final\n    }\n\n    function serializeKey (key) {\n        if (key.length === 0) {\n            return quoteString(key, true)\n        }\n\n        const firstChar = String.fromCodePoint(key.codePointAt(0))\n        if (!util.isIdStartChar(firstChar)) {\n            return quoteString(key, true)\n        }\n\n        for (let i = firstChar.length; i < key.length; i++) {\n            if (!util.isIdContinueChar(String.fromCodePoint(key.codePointAt(i)))) {\n                return quoteString(key, true)\n            }\n        }\n\n        return key\n    }\n\n    function serializeArray (value) {\n        if (stack.indexOf(value) >= 0) {\n            throw TypeError('Converting circular structure to JSON5')\n        }\n\n        stack.push(value)\n\n        let stepback = indent\n        indent = indent + gap\n\n        let partial = []\n        for (let i = 0; i < value.length; i++) {\n            const propertyString = serializeProperty(String(i), value)\n            partial.push((propertyString !== undefined) ? propertyString : 'null')\n        }\n\n        let final\n        if (partial.length === 0) {\n            final = '[]'\n        } else {\n            if (gap === '') {\n                let properties = partial.join(',')\n                final = '[' + properties + ']'\n            } else {\n                let separator = ',\\n' + indent\n                let properties = partial.join(separator)\n                final = '[\\n' + indent + properties + ',\\n' + stepback + ']'\n            }\n        }\n\n        stack.pop()\n        indent = stepback\n        return final\n    }\n}\n","const parse = require('./parse')\nconst stringify = require('./stringify')\n\nconst JSON5 = {\n    parse,\n    stringify,\n}\n\nmodule.exports = JSON5\n","/*! *****************************************************************************\nCopyright (c) Microsoft Corporation. All rights reserved.\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\nthis file except in compliance with the License. You may obtain a copy of the\nLicense at http://www.apache.org/licenses/LICENSE-2.0\n\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\nMERCHANTABLITY OR NON-INFRINGEMENT.\n\nSee the Apache Version 2.0 License for specific language governing permissions\nand limitations under the License.\n***************************************************************************** */\n\nvar ts = {}; ((module) => {\n\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => (__copyProps, mod); // Modified helper to skip setting __esModule.\n\n// src/typescript/typescript.ts\nvar typescript_exports = {};\n__export(typescript_exports, {\n  ANONYMOUS: () => ANONYMOUS,\n  ARKUI_DECORATOR_LIST: () => ARKUI_DECORATOR_LIST,\n  AccessFlags: () => AccessFlags,\n  ArkTSLinterTimePrinter: () => ArkTSLinterTimePrinter,\n  ArkTSLinter_1_0: () => ts_ArkTSLinter_1_0_exports,\n  ArkTSLinter_1_1: () => ts_ArkTSLinter_1_1_exports,\n  AssertionLevel: () => AssertionLevel,\n  AssignmentDeclarationKind: () => AssignmentDeclarationKind,\n  AssignmentKind: () => AssignmentKind,\n  Associativity: () => Associativity,\n  BreakpointResolver: () => ts_BreakpointResolver_exports,\n  BuilderFileEmit: () => BuilderFileEmit,\n  BuilderProgramKind: () => BuilderProgramKind,\n  BuilderState: () => BuilderState,\n  BundleFileSectionKind: () => BundleFileSectionKind,\n  CallHierarchy: () => ts_CallHierarchy_exports,\n  CharacterCodes: () => CharacterCodes,\n  CheckFlags: () => CheckFlags,\n  CheckMode: () => CheckMode2,\n  ClassificationType: () => ClassificationType,\n  ClassificationTypeNames: () => ClassificationTypeNames,\n  CommentDirectiveType: () => CommentDirectiveType,\n  Comparison: () => Comparison,\n  CompletionInfoFlags: () => CompletionInfoFlags,\n  CompletionTriggerKind: () => CompletionTriggerKind,\n  Completions: () => ts_Completions_exports,\n  ConfigFileProgramReloadLevel: () => ConfigFileProgramReloadLevel,\n  ContextFlags: () => ContextFlags,\n  CoreServicesShimHostAdapter: () => CoreServicesShimHostAdapter,\n  Debug: () => Debug,\n  DiagnosticCategory: () => DiagnosticCategory,\n  Diagnostics: () => Diagnostics,\n  DocumentHighlights: () => DocumentHighlights2,\n  ElementFlags: () => ElementFlags,\n  EmitFlags: () => EmitFlags2,\n  EmitHint: () => EmitHint,\n  EndOfLineState: () => EndOfLineState,\n  EnumKind: () => EnumKind,\n  ErrorCodeArea: () => ErrorCodeArea,\n  ErrorInfo: () => ErrorInfo,\n  EtsFlags: () => EtsFlags,\n  ExitStatus: () => ExitStatus,\n  ExportKind: () => ExportKind,\n  Extension: () => Extension,\n  ExternalEmitHelpers: () => ExternalEmitHelpers,\n  FileIncludeKind: () => FileIncludeKind,\n  FilePreprocessingDiagnosticsKind: () => FilePreprocessingDiagnosticsKind,\n  FileSystemEntryKind: () => FileSystemEntryKind,\n  FileWatcherEventKind: () => FileWatcherEventKind,\n  FindAllReferences: () => ts_FindAllReferences_exports,\n  FlattenLevel: () => FlattenLevel,\n  FlowFlags: () => FlowFlags,\n  ForegroundColorEscapeSequences: () => ForegroundColorEscapeSequences,\n  FunctionFlags: () => FunctionFlags,\n  GeneratedIdentifierFlags: () => GeneratedIdentifierFlags,\n  GetLiteralTextFlags: () => GetLiteralTextFlags,\n  GoToDefinition: () => ts_GoToDefinition_exports,\n  HighlightSpanKind: () => HighlightSpanKind,\n  ImportKind: () => ImportKind,\n  ImportsNotUsedAsValues: () => ImportsNotUsedAsValues,\n  IndentStyle: () => IndentStyle,\n  IndexKind: () => IndexKind,\n  InferenceFlags: () => InferenceFlags,\n  InferencePriority: () => InferencePriority,\n  InlayHintKind: () => InlayHintKind,\n  InlayHints: () => ts_InlayHints_exports,\n  InternalSymbolName: () => InternalSymbolName,\n  InvalidatedProjectKind: () => InvalidatedProjectKind,\n  JsDoc: () => ts_JsDoc_exports,\n  JsTyping: () => ts_JsTyping_exports,\n  JsxEmit: () => JsxEmit,\n  JsxFlags: () => JsxFlags,\n  JsxReferenceKind: () => JsxReferenceKind,\n  LanguageServiceMode: () => LanguageServiceMode,\n  LanguageServiceShimHostAdapter: () => LanguageServiceShimHostAdapter,\n  LanguageVariant: () => LanguageVariant,\n  LexicalEnvironmentFlags: () => LexicalEnvironmentFlags,\n  ListFormat: () => ListFormat,\n  LogLevel: () => LogLevel,\n  Map: () => Map2,\n  MemberOverrideStatus: () => MemberOverrideStatus,\n  MemoryDotting: () => MemoryDotting,\n  MemoryUtils: () => MemoryUtils,\n  ModifierFlags: () => ModifierFlags2,\n  ModuleDetectionKind: () => ModuleDetectionKind,\n  ModuleInstanceState: () => ModuleInstanceState,\n  ModuleKind: () => ModuleKind,\n  ModuleResolutionKind: () => ModuleResolutionKind,\n  NavigateTo: () => ts_NavigateTo_exports,\n  NavigationBar: () => ts_NavigationBar_exports,\n  NewLineKind: () => NewLineKind,\n  NodeBuilderFlags: () => NodeBuilderFlags,\n  NodeCheckFlags: () => NodeCheckFlags,\n  NodeFactoryFlags: () => NodeFactoryFlags2,\n  NodeFlags: () => NodeFlags2,\n  NodeResolutionFeatures: () => NodeResolutionFeatures,\n  ObjectFlags: () => ObjectFlags,\n  OperationCanceledException: () => OperationCanceledException,\n  OperatorPrecedence: () => OperatorPrecedence,\n  OrganizeImports: () => ts_OrganizeImports_exports,\n  OrganizeImportsMode: () => OrganizeImportsMode,\n  OuterExpressionKinds: () => OuterExpressionKinds,\n  OutliningElementsCollector: () => ts_OutliningElementsCollector_exports,\n  OutliningSpanKind: () => OutliningSpanKind,\n  OutputFileType: () => OutputFileType,\n  PackageJsonAutoImportPreference: () => PackageJsonAutoImportPreference,\n  PackageJsonDependencyGroup: () => PackageJsonDependencyGroup,\n  PatternMatchKind: () => PatternMatchKind,\n  PerformanceDotting: () => PerformanceDotting,\n  PollingInterval: () => PollingInterval,\n  PollingWatchKind: () => PollingWatchKind,\n  PragmaKindFlags: () => PragmaKindFlags,\n  PrivateIdentifierKind: () => PrivateIdentifierKind2,\n  ProcessLevel: () => ProcessLevel,\n  QuotePreference: () => QuotePreference,\n  REQUIRE_DECORATOR: () => REQUIRE_DECORATOR,\n  RelationComparisonResult: () => RelationComparisonResult2,\n  Rename: () => ts_Rename_exports,\n  ScriptElementKind: () => ScriptElementKind,\n  ScriptElementKindModifier: () => ScriptElementKindModifier,\n  ScriptKind: () => ScriptKind,\n  ScriptSnapshot: () => ScriptSnapshot,\n  ScriptTarget: () => ScriptTarget,\n  SemanticClassificationFormat: () => SemanticClassificationFormat,\n  SemanticMeaning: () => SemanticMeaning,\n  SemicolonPreference: () => SemicolonPreference,\n  Set: () => Set2,\n  SignatureCheckMode: () => SignatureCheckMode2,\n  SignatureFlags: () => SignatureFlags2,\n  SignatureHelp: () => ts_SignatureHelp_exports,\n  SignatureKind: () => SignatureKind,\n  SmartSelectionRange: () => ts_SmartSelectionRange_exports,\n  SnippetKind: () => SnippetKind2,\n  StructureIsReused: () => StructureIsReused,\n  SymbolAccessibility: () => SymbolAccessibility,\n  SymbolDisplay: () => ts_SymbolDisplay_exports,\n  SymbolDisplayPartKind: () => SymbolDisplayPartKind,\n  SymbolFlags: () => SymbolFlags,\n  SymbolFormatFlags: () => SymbolFormatFlags,\n  SyntaxKind: () => SyntaxKind2,\n  SyntheticSymbolKind: () => SyntheticSymbolKind,\n  THROWS_ASYNC_CALLBACK: () => THROWS_ASYNC_CALLBACK,\n  THROWS_CATCH: () => THROWS_CATCH,\n  THROWS_ERROR_CALLBACK: () => THROWS_ERROR_CALLBACK,\n  THROWS_TAG: () => THROWS_TAG,\n  Ternary: () => Ternary,\n  ThrottledCancellationToken: () => ThrottledCancellationToken,\n  TimePhase: () => TimePhase,\n  TokenClass: () => TokenClass,\n  TokenFlags: () => TokenFlags,\n  TransformFlags: () => TransformFlags2,\n  TypeFacts: () => TypeFacts2,\n  TypeFlags: () => TypeFlags,\n  TypeFormatFlags: () => TypeFormatFlags,\n  TypeMapKind: () => TypeMapKind,\n  TypePredicateKind: () => TypePredicateKind,\n  TypeReferenceSerializationKind: () => TypeReferenceSerializationKind,\n  TypeScriptServicesFactory: () => TypeScriptServicesFactory,\n  UnionReduction: () => UnionReduction,\n  UpToDateStatusType: () => UpToDateStatusType,\n  VarianceFlags: () => VarianceFlags,\n  Version: () => Version,\n  VersionRange: () => VersionRange,\n  WatchDirectoryFlags: () => WatchDirectoryFlags,\n  WatchDirectoryKind: () => WatchDirectoryKind,\n  WatchFileKind: () => WatchFileKind,\n  WatchLogLevel: () => WatchLogLevel,\n  WatchType: () => WatchType,\n  addEmitFlags: () => addEmitFlags,\n  addEmitHelper: () => addEmitHelper,\n  addEmitHelpers: () => addEmitHelpers,\n  addNodeFactoryPatcher: () => addNodeFactoryPatcher,\n  addRange: () => addRange,\n  addRelatedInfo: () => addRelatedInfo,\n  addSyntheticLeadingComment: () => addSyntheticLeadingComment,\n  addSyntheticTrailingComment: () => addSyntheticTrailingComment,\n  addToSeen: () => addToSeen,\n  advancedAsyncSuperHelper: () => advancedAsyncSuperHelper,\n  affectsDeclarationPathOptionDeclarations: () => affectsDeclarationPathOptionDeclarations,\n  affectsEmitOptionDeclarations: () => affectsEmitOptionDeclarations,\n  allKeysStartWithDot: () => allKeysStartWithDot,\n  altDirectorySeparator: () => altDirectorySeparator,\n  and: () => and,\n  annotationMagicNamePrefix: () => annotationMagicNamePrefix,\n  append: () => append,\n  appendIfUnique: () => appendIfUnique,\n  arrayFrom: () => arrayFrom,\n  arrayIsEqualTo: () => arrayIsEqualTo,\n  arrayIsHomogeneous: () => arrayIsHomogeneous,\n  arrayIsSorted: () => arrayIsSorted,\n  arrayIterator: () => arrayIterator,\n  arrayOf: () => arrayOf,\n  arrayReverseIterator: () => arrayReverseIterator,\n  arrayToMap: () => arrayToMap,\n  arrayToMultiMap: () => arrayToMultiMap,\n  arrayToNumericMap: () => arrayToNumericMap,\n  arraysEqual: () => arraysEqual,\n  assertType: () => assertType,\n  assign: () => assign,\n  assignHelper: () => assignHelper,\n  asyncDelegator: () => asyncDelegator,\n  asyncGeneratorHelper: () => asyncGeneratorHelper,\n  asyncSuperHelper: () => asyncSuperHelper,\n  asyncValues: () => asyncValues,\n  attachFileToDiagnostics: () => attachFileToDiagnostics,\n  awaitHelper: () => awaitHelper,\n  awaiterHelper: () => awaiterHelper,\n  base64decode: () => base64decode,\n  base64encode: () => base64encode,\n  binarySearch: () => binarySearch,\n  binarySearchKey: () => binarySearchKey,\n  bindSourceFile: () => bindSourceFile,\n  breakIntoCharacterSpans: () => breakIntoCharacterSpans,\n  breakIntoWordSpans: () => breakIntoWordSpans,\n  buildLinkParts: () => buildLinkParts,\n  buildOpts: () => buildOpts,\n  buildOverload: () => buildOverload,\n  canBeConvertedToAsync: () => canBeConvertedToAsync,\n  canHaveDecorators: () => canHaveDecorators,\n  canHaveExportModifier: () => canHaveExportModifier,\n  canHaveIllegalDecorators: () => canHaveIllegalDecorators,\n  canHaveIllegalModifiers: () => canHaveIllegalModifiers,\n  canHaveIllegalType: () => canHaveIllegalType,\n  canHaveIllegalTypeParameters: () => canHaveIllegalTypeParameters,\n  canHaveModifiers: () => canHaveModifiers,\n  canJsonReportNoInputFiles: () => canJsonReportNoInputFiles,\n  canProduceDiagnostics: () => canProduceDiagnostics,\n  canWatchDirectoryOrFile: () => canWatchDirectoryOrFile,\n  cartesianProduct: () => cartesianProduct,\n  cast: () => cast,\n  chainBundle: () => chainBundle,\n  chainDiagnosticMessages: () => chainDiagnosticMessages,\n  changeAnyExtension: () => changeAnyExtension,\n  changeCompilerHostLikeToUseCache: () => changeCompilerHostLikeToUseCache,\n  changeExtension: () => changeExtension,\n  changesAffectModuleResolution: () => changesAffectModuleResolution,\n  changesAffectingProgramStructure: () => changesAffectingProgramStructure,\n  checkStructPropertyPosition: () => checkStructPropertyPosition,\n  childIsDecorated: () => childIsDecorated,\n  choosePathContainsModules: () => choosePathContainsModules,\n  classOrConstructorParameterIsDecorated: () => classOrConstructorParameterIsDecorated,\n  classPrivateFieldGetHelper: () => classPrivateFieldGetHelper,\n  classPrivateFieldInHelper: () => classPrivateFieldInHelper,\n  classPrivateFieldSetHelper: () => classPrivateFieldSetHelper,\n  classicNameResolver: () => classicNameResolver,\n  classifier: () => ts_classifier_exports,\n  cleanExtendedConfigCache: () => cleanExtendedConfigCache,\n  cleanKitJsonCache: () => cleanKitJsonCache,\n  clear: () => clear,\n  clearMap: () => clearMap,\n  clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,\n  climbPastPropertyAccess: () => climbPastPropertyAccess,\n  climbPastPropertyOrElementAccess: () => climbPastPropertyOrElementAccess,\n  clone: () => clone,\n  cloneCompilerOptions: () => cloneCompilerOptions,\n  closeFileWatcher: () => closeFileWatcher,\n  closeFileWatcherOf: () => closeFileWatcherOf,\n  codefix: () => ts_codefix_exports,\n  collapseTextChangeRangesAcrossMultipleVersions: () => collapseTextChangeRangesAcrossMultipleVersions,\n  collectExternalModuleInfo: () => collectExternalModuleInfo,\n  combine: () => combine,\n  combinePaths: () => combinePaths,\n  commentPragmas: () => commentPragmas,\n  commonOptionsWithBuild: () => commonOptionsWithBuild,\n  commonPackageFolders: () => commonPackageFolders,\n  compact: () => compact,\n  compareBooleans: () => compareBooleans,\n  compareDataObjects: () => compareDataObjects,\n  compareDiagnostics: () => compareDiagnostics,\n  compareDiagnosticsSkipRelatedInformation: () => compareDiagnosticsSkipRelatedInformation,\n  compareEmitHelpers: () => compareEmitHelpers,\n  compareNumberOfDirectorySeparators: () => compareNumberOfDirectorySeparators,\n  comparePaths: () => comparePaths,\n  comparePathsCaseInsensitive: () => comparePathsCaseInsensitive,\n  comparePathsCaseSensitive: () => comparePathsCaseSensitive,\n  comparePatternKeys: () => comparePatternKeys,\n  compareProperties: () => compareProperties,\n  compareStringsCaseInsensitive: () => compareStringsCaseInsensitive,\n  compareStringsCaseSensitive: () => compareStringsCaseSensitive,\n  compareStringsCaseSensitiveUI: () => compareStringsCaseSensitiveUI,\n  compareTextSpans: () => compareTextSpans,\n  compareValues: () => compareValues,\n  compileOnSaveCommandLineOption: () => compileOnSaveCommandLineOption,\n  compilerOptionsAffectDeclarationPath: () => compilerOptionsAffectDeclarationPath,\n  compilerOptionsAffectEmit: () => compilerOptionsAffectEmit,\n  compilerOptionsAffectSemanticDiagnostics: () => compilerOptionsAffectSemanticDiagnostics,\n  compilerOptionsDidYouMeanDiagnostics: () => compilerOptionsDidYouMeanDiagnostics,\n  compilerOptionsIndicateEsModules: () => compilerOptionsIndicateEsModules,\n  compose: () => compose,\n  computeCommonSourceDirectoryOfFilenames: () => computeCommonSourceDirectoryOfFilenames,\n  computeLineAndCharacterOfPosition: () => computeLineAndCharacterOfPosition,\n  computeLineOfPosition: () => computeLineOfPosition,\n  computeLineStarts: () => computeLineStarts,\n  computePositionOfLineAndCharacter: () => computePositionOfLineAndCharacter,\n  computeSignature: () => computeSignature,\n  computeSignatureWithDiagnostics: () => computeSignatureWithDiagnostics,\n  computeSuggestionDiagnostics: () => computeSuggestionDiagnostics,\n  concatenate: () => concatenate,\n  concatenateDecoratorsAndModifiers: () => concatenateDecoratorsAndModifiers,\n  concatenateDiagnosticMessageChains: () => concatenateDiagnosticMessageChains,\n  consumesNodeCoreModules: () => consumesNodeCoreModules,\n  contains: () => contains,\n  containsIgnoredPath: () => containsIgnoredPath,\n  containsParseError: () => containsParseError,\n  containsPath: () => containsPath,\n  convertCompilerOptionsForTelemetry: () => convertCompilerOptionsForTelemetry,\n  convertCompilerOptionsFromJson: () => convertCompilerOptionsFromJson,\n  convertEnableAutoDiscoveryToEnable: () => convertEnableAutoDiscoveryToEnable,\n  convertJsonOption: () => convertJsonOption,\n  convertToBase64: () => convertToBase64,\n  convertToObject: () => convertToObject,\n  convertToObjectWorker: () => convertToObjectWorker,\n  convertToOptionsWithAbsolutePaths: () => convertToOptionsWithAbsolutePaths,\n  convertToRelativePath: () => convertToRelativePath,\n  convertToTSConfig: () => convertToTSConfig,\n  convertTypeAcquisitionFromJson: () => convertTypeAcquisitionFromJson,\n  copyComments: () => copyComments,\n  copyEntries: () => copyEntries,\n  copyLeadingComments: () => copyLeadingComments,\n  copyProperties: () => copyProperties,\n  copyTrailingAsLeadingComments: () => copyTrailingAsLeadingComments,\n  copyTrailingComments: () => copyTrailingComments,\n  couldStartTrivia: () => couldStartTrivia,\n  countWhere: () => countWhere,\n  createAbstractBuilder: () => createAbstractBuilder,\n  createAccessorPropertyBackingField: () => createAccessorPropertyBackingField,\n  createAccessorPropertyGetRedirector: () => createAccessorPropertyGetRedirector,\n  createAccessorPropertySetRedirector: () => createAccessorPropertySetRedirector,\n  createAdd: () => createAdd,\n  createArrayBindingPattern: () => createArrayBindingPattern,\n  createArrayLiteral: () => createArrayLiteral,\n  createArrayTypeNode: () => createArrayTypeNode,\n  createArrowFunction: () => createArrowFunction,\n  createAsExpression: () => createAsExpression,\n  createAssignment: () => createAssignment,\n  createAwait: () => createAwait,\n  createBaseNodeFactory: () => createBaseNodeFactory,\n  createBigIntLiteral: () => createBigIntLiteral,\n  createBinary: () => createBinary,\n  createBinaryExpressionTrampoline: () => createBinaryExpressionTrampoline,\n  createBindingElement: () => createBindingElement,\n  createBindingHelper: () => createBindingHelper,\n  createBlock: () => createBlock,\n  createBreak: () => createBreak,\n  createBuilderProgram: () => createBuilderProgram,\n  createBuilderProgramUsingProgramBuildInfo: () => createBuilderProgramUsingProgramBuildInfo,\n  createBuilderStatusReporter: () => createBuilderStatusReporter,\n  createBundle: () => createBundle,\n  createCacheWithRedirects: () => createCacheWithRedirects,\n  createCacheableExportInfoMap: () => createCacheableExportInfoMap,\n  createCachedDirectoryStructureHost: () => createCachedDirectoryStructureHost,\n  createCall: () => createCall,\n  createCallChain: () => createCallChain,\n  createCallSignature: () => createCallSignature,\n  createCaseBlock: () => createCaseBlock,\n  createCaseClause: () => createCaseClause,\n  createCatchClause: () => createCatchClause,\n  createClassDeclaration: () => createClassDeclaration,\n  createClassExpression: () => createClassExpression,\n  createClassifier: () => createClassifier,\n  createComma: () => createComma,\n  createCommaList: () => createCommaList,\n  createCommentDirectivesMap: () => createCommentDirectivesMap,\n  createCompilerDiagnostic: () => createCompilerDiagnostic,\n  createCompilerDiagnosticForInvalidCustomType: () => createCompilerDiagnosticForInvalidCustomType,\n  createCompilerDiagnosticFromMessageChain: () => createCompilerDiagnosticFromMessageChain,\n  createCompilerHost: () => createCompilerHost,\n  createCompilerHostFromProgramHost: () => createCompilerHostFromProgramHost,\n  createCompilerHostWorker: () => createCompilerHostWorker,\n  createComputedPropertyName: () => createComputedPropertyName,\n  createConditional: () => createConditional,\n  createConditionalTypeNode: () => createConditionalTypeNode,\n  createConstructSignature: () => createConstructSignature,\n  createConstructor: () => createConstructor,\n  createConstructorTypeNode: () => createConstructorTypeNode,\n  createContinue: () => createContinue,\n  createDebuggerStatement: () => createDebuggerStatement,\n  createDecorator: () => createDecorator,\n  createDefaultClause: () => createDefaultClause,\n  createDelete: () => createDelete,\n  createDetachedDiagnostic: () => createDetachedDiagnostic,\n  createDiagnosticCollection: () => createDiagnosticCollection,\n  createDiagnosticForFileFromMessageChain: () => createDiagnosticForFileFromMessageChain,\n  createDiagnosticForNode: () => createDiagnosticForNode,\n  createDiagnosticForNodeArray: () => createDiagnosticForNodeArray,\n  createDiagnosticForNodeFromMessageChain: () => createDiagnosticForNodeFromMessageChain,\n  createDiagnosticForNodeInSourceFile: () => createDiagnosticForNodeInSourceFile,\n  createDiagnosticForRange: () => createDiagnosticForRange,\n  createDiagnosticMessageChainFromDiagnostic: () => createDiagnosticMessageChainFromDiagnostic,\n  createDiagnosticReporter: () => createDiagnosticReporter,\n  createDo: () => createDo,\n  createDocumentPositionMapper: () => createDocumentPositionMapper,\n  createDocumentRegistry: () => createDocumentRegistry,\n  createDocumentRegistryInternal: () => createDocumentRegistryInternal,\n  createElementAccess: () => createElementAccess,\n  createElementAccessChain: () => createElementAccessChain,\n  createEmitAndSemanticDiagnosticsBuilderProgram: () => createEmitAndSemanticDiagnosticsBuilderProgram,\n  createEmitAndSemanticDiagnosticsBuilderProgramForArkTs: () => createEmitAndSemanticDiagnosticsBuilderProgramForArkTs,\n  createEmitHelperFactory: () => createEmitHelperFactory,\n  createEmptyExports: () => createEmptyExports,\n  createEmptyStatement: () => createEmptyStatement,\n  createEnumDeclaration: () => createEnumDeclaration,\n  createEnumMember: () => createEnumMember,\n  createExportAssignment: () => createExportAssignment2,\n  createExportDeclaration: () => createExportDeclaration,\n  createExportDefault: () => createExportDefault,\n  createExportSpecifier: () => createExportSpecifier,\n  createExpressionForJsxElement: () => createExpressionForJsxElement,\n  createExpressionForJsxFragment: () => createExpressionForJsxFragment,\n  createExpressionForObjectLiteralElementLike: () => createExpressionForObjectLiteralElementLike,\n  createExpressionForPropertyName: () => createExpressionForPropertyName,\n  createExpressionFromEntityName: () => createExpressionFromEntityName,\n  createExpressionStatement: () => createExpressionStatement,\n  createExpressionWithTypeArguments: () => createExpressionWithTypeArguments,\n  createExternalHelpersImportDeclarationIfNeeded: () => createExternalHelpersImportDeclarationIfNeeded,\n  createExternalModuleExport: () => createExternalModuleExport,\n  createExternalModuleReference: () => createExternalModuleReference,\n  createFalse: () => createFalse,\n  createFileDiagnostic: () => createFileDiagnostic,\n  createFileDiagnosticFromMessageChain: () => createFileDiagnosticFromMessageChain,\n  createFileLevelUniqueName: () => createFileLevelUniqueName,\n  createFor: () => createFor,\n  createForIn: () => createForIn,\n  createForOf: () => createForOf,\n  createForOfBindingStatement: () => createForOfBindingStatement,\n  createFunctionDeclaration: () => createFunctionDeclaration,\n  createFunctionExpression: () => createFunctionExpression,\n  createFunctionTypeNode: () => createFunctionTypeNode,\n  createGetAccessor: () => createGetAccessor,\n  createGetCanonicalFileName: () => createGetCanonicalFileName,\n  createGetIsolatedDeclarationErrors: () => createGetIsolatedDeclarationErrors,\n  createGetSymbolAccessibilityDiagnosticForNode: () => createGetSymbolAccessibilityDiagnosticForNode,\n  createGetSymbolAccessibilityDiagnosticForNodeName: () => createGetSymbolAccessibilityDiagnosticForNodeName,\n  createGetSymbolWalker: () => createGetSymbolWalker,\n  createHeritageClause: () => createHeritageClause,\n  createIdentifier: () => createIdentifier,\n  createIf: () => createIf,\n  createImmediatelyInvokedArrowFunction: () => createImmediatelyInvokedArrowFunction,\n  createImmediatelyInvokedFunctionExpression: () => createImmediatelyInvokedFunctionExpression,\n  createImportClause: () => createImportClause,\n  createImportDeclaration: () => createImportDeclaration,\n  createImportEqualsDeclaration: () => createImportEqualsDeclaration,\n  createImportSpecifier: () => createImportSpecifier,\n  createImportTypeNode: () => createImportTypeNode,\n  createIncrementalCompilerHost: () => createIncrementalCompilerHost,\n  createIncrementalProgram: () => createIncrementalProgram,\n  createIncrementalProgramForArkTs: () => createIncrementalProgramForArkTs,\n  createIndexSignature: () => createIndexSignature,\n  createIndexedAccessTypeNode: () => createIndexedAccessTypeNode,\n  createInferTypeNode: () => createInferTypeNode,\n  createInputFiles: () => createInputFiles,\n  createInterfaceDeclaration: () => createInterfaceDeclaration,\n  createIntersectionTypeNode: () => createIntersectionTypeNode,\n  createJSDocAugmentsTag: () => createJSDocAugmentsTag,\n  createJSDocAuthorTag: () => createJSDocAuthorTag,\n  createJSDocCallbackTag: () => createJSDocCallbackTag,\n  createJSDocClassTag: () => createJSDocClassTag,\n  createJSDocComment: () => createJSDocComment,\n  createJSDocEnumTag: () => createJSDocEnumTag,\n  createJSDocImplementsTag: () => createJSDocImplementsTag,\n  createJSDocParamTag: () => createJSDocParamTag,\n  createJSDocParameterTag: () => createJSDocParameterTag,\n  createJSDocPrivateTag: () => createJSDocPrivateTag,\n  createJSDocPropertyTag: () => createJSDocPropertyTag,\n  createJSDocProtectedTag: () => createJSDocProtectedTag,\n  createJSDocPublicTag: () => createJSDocPublicTag,\n  createJSDocReadonlyTag: () => createJSDocReadonlyTag,\n  createJSDocReturnTag: () => createJSDocReturnTag,\n  createJSDocSignature: () => createJSDocSignature,\n  createJSDocTag: () => createJSDocTag,\n  createJSDocTemplateTag: () => createJSDocTemplateTag,\n  createJSDocThisTag: () => createJSDocThisTag,\n  createJSDocTypeExpression: () => createJSDocTypeExpression,\n  createJSDocTypeLiteral: () => createJSDocTypeLiteral,\n  createJSDocTypeTag: () => createJSDocTypeTag,\n  createJSDocTypedefTag: () => createJSDocTypedefTag,\n  createJsxAttribute: () => createJsxAttribute,\n  createJsxAttributes: () => createJsxAttributes,\n  createJsxClosingElement: () => createJsxClosingElement,\n  createJsxElement: () => createJsxElement,\n  createJsxExpression: () => createJsxExpression,\n  createJsxFactoryExpression: () => createJsxFactoryExpression,\n  createJsxFragment: () => createJsxFragment,\n  createJsxJsxClosingFragment: () => createJsxJsxClosingFragment,\n  createJsxOpeningElement: () => createJsxOpeningElement,\n  createJsxOpeningFragment: () => createJsxOpeningFragment,\n  createJsxSelfClosingElement: () => createJsxSelfClosingElement,\n  createJsxSpreadAttribute: () => createJsxSpreadAttribute,\n  createJsxText: () => createJsxText,\n  createKeywordTypeNode: () => createKeywordTypeNode,\n  createLabel: () => createLabel,\n  createLanguageService: () => createLanguageService,\n  createLanguageServiceSourceFile: () => createLanguageServiceSourceFile,\n  createLessThan: () => createLessThan,\n  createLiteral: () => createLiteral,\n  createLiteralTypeNode: () => createLiteralTypeNode,\n  createLogicalAnd: () => createLogicalAnd,\n  createLogicalNot: () => createLogicalNot,\n  createLogicalOr: () => createLogicalOr,\n  createLoopVariable: () => createLoopVariable,\n  createMappedTypeNode: () => createMappedTypeNode,\n  createMemberAccessForPropertyName: () => createMemberAccessForPropertyName,\n  createMetaProperty: () => createMetaProperty,\n  createMethod: () => createMethod,\n  createMethodSignature: () => createMethodSignature,\n  createModeAwareCache: () => createModeAwareCache,\n  createModifier: () => createModifier,\n  createModifiersFromModifierFlags: () => createModifiersFromModifierFlags,\n  createModuleBlock: () => createModuleBlock,\n  createModuleDeclaration: () => createModuleDeclaration,\n  createModuleResolutionCache: () => createModuleResolutionCache,\n  createModuleSpecifierResolutionHost: () => createModuleSpecifierResolutionHost,\n  createMultiMap: () => createMultiMap,\n  createNamedExports: () => createNamedExports,\n  createNamedImports: () => createNamedImports,\n  createNamespaceExport: () => createNamespaceExport,\n  createNamespaceExportDeclaration: () => createNamespaceExportDeclaration,\n  createNamespaceImport: () => createNamespaceImport,\n  createNew: () => createNew,\n  createNoSubstitutionTemplateLiteral: () => createNoSubstitutionTemplateLiteral,\n  createNode: () => createNode2,\n  createNodeArray: () => createNodeArray,\n  createNodeConverters: () => createNodeConverters,\n  createNodeFactory: () => createNodeFactory,\n  createNonNullChain: () => createNonNullChain,\n  createNonNullExpression: () => createNonNullExpression,\n  createNotEmittedStatement: () => createNotEmittedStatement,\n  createNull: () => createNull,\n  createNumericLiteral: () => createNumericLiteral,\n  createObfTextSingleLineWriter: () => createObfTextSingleLineWriter,\n  createObjectBindingPattern: () => createObjectBindingPattern,\n  createObjectLiteral: () => createObjectLiteral,\n  createOmittedExpression: () => createOmittedExpression,\n  createOptimisticUniqueName: () => createOptimisticUniqueName,\n  createOptionNameMap: () => createOptionNameMap,\n  createOptionalTypeNode: () => createOptionalTypeNode,\n  createOverload: () => createOverload,\n  createPackageJsonImportFilter: () => createPackageJsonImportFilter,\n  createPackageJsonInfo: () => createPackageJsonInfo,\n  createParameter: () => createParameter,\n  createParen: () => createParen,\n  createParenthesizedType: () => createParenthesizedType,\n  createParenthesizerRules: () => createParenthesizerRules,\n  createPartiallyEmittedExpression: () => createPartiallyEmittedExpression,\n  createPatternMatcher: () => createPatternMatcher,\n  createPostfix: () => createPostfix,\n  createPostfixIncrement: () => createPostfixIncrement,\n  createPrefix: () => createPrefix,\n  createPrependNodes: () => createPrependNodes,\n  createPrinter: () => createPrinter,\n  createPrinterWithDefaults: () => createPrinterWithDefaults,\n  createPrinterWithRemoveComments: () => createPrinterWithRemoveComments,\n  createPrinterWithRemoveCommentsNeverAsciiEscape: () => createPrinterWithRemoveCommentsNeverAsciiEscape,\n  createPrinterWithRemoveCommentsOmitTrailingSemicolon: () => createPrinterWithRemoveCommentsOmitTrailingSemicolon,\n  createPrivateIdentifier: () => createPrivateIdentifier,\n  createProgram: () => createProgram,\n  createProgramHost: () => createProgramHost,\n  createProperty: () => createProperty,\n  createPropertyAccess: () => createPropertyAccess,\n  createPropertyAccessChain: () => createPropertyAccessChain,\n  createPropertyAssignment: () => createPropertyAssignment,\n  createPropertyNameNodeForIdentifierOrLiteral: () => createPropertyNameNodeForIdentifierOrLiteral,\n  createPropertySignature: () => createPropertySignature,\n  createQualifiedName: () => createQualifiedName,\n  createQueue: () => createQueue,\n  createRange: () => createRange,\n  createRedirectedBuilderProgram: () => createRedirectedBuilderProgram,\n  createRegularExpressionLiteral: () => createRegularExpressionLiteral,\n  createResolutionCache: () => createResolutionCache,\n  createRestTypeNode: () => createRestTypeNode,\n  createReturn: () => createReturn,\n  createRuntimeTypeSerializer: () => createRuntimeTypeSerializer,\n  createScanner: () => createScanner,\n  createSemanticDiagnosticsBuilderProgram: () => createSemanticDiagnosticsBuilderProgram,\n  createSemicolonClassElement: () => createSemicolonClassElement,\n  createSet: () => createSet,\n  createSetAccessor: () => createSetAccessor,\n  createShorthandPropertyAssignment: () => createShorthandPropertyAssignment,\n  createSolutionBuilder: () => createSolutionBuilder,\n  createSolutionBuilderHost: () => createSolutionBuilderHost,\n  createSolutionBuilderWithWatch: () => createSolutionBuilderWithWatch,\n  createSolutionBuilderWithWatchHost: () => createSolutionBuilderWithWatchHost,\n  createSortedArray: () => createSortedArray,\n  createSourceFile: () => createSourceFile,\n  createSourceMapGenerator: () => createSourceMapGenerator,\n  createSourceMapSource: () => createSourceMapSource,\n  createSpread: () => createSpread,\n  createSpreadAssignment: () => createSpreadAssignment,\n  createStatement: () => createStatement,\n  createStrictEquality: () => createStrictEquality,\n  createStrictInequality: () => createStrictInequality,\n  createStringLiteral: () => createStringLiteral,\n  createStringLiteralFromNode: () => createStringLiteralFromNode,\n  createSubtract: () => createSubtract,\n  createSuper: () => createSuper,\n  createSuperAccessVariableStatement: () => createSuperAccessVariableStatement,\n  createSwitch: () => createSwitch,\n  createSymbolTable: () => createSymbolTable,\n  createSymlinkCache: () => createSymlinkCache,\n  createSystemWatchFunctions: () => createSystemWatchFunctions,\n  createTaggedTemplate: () => createTaggedTemplate,\n  createTempVariable: () => createTempVariable,\n  createTemplateExpression: () => createTemplateExpression,\n  createTemplateHead: () => createTemplateHead,\n  createTemplateMiddle: () => createTemplateMiddle,\n  createTemplateSpan: () => createTemplateSpan,\n  createTemplateTail: () => createTemplateTail,\n  createTextChange: () => createTextChange,\n  createTextChangeFromStartLength: () => createTextChangeFromStartLength,\n  createTextChangeRange: () => createTextChangeRange,\n  createTextRangeFromNode: () => createTextRangeFromNode,\n  createTextRangeFromSpan: () => createTextRangeFromSpan,\n  createTextSpan: () => createTextSpan,\n  createTextSpanFromBounds: () => createTextSpanFromBounds,\n  createTextSpanFromNode: () => createTextSpanFromNode,\n  createTextSpanFromRange: () => createTextSpanFromRange,\n  createTextSpanFromStringLiteralLikeContent: () => createTextSpanFromStringLiteralLikeContent,\n  createTextWriter: () => createTextWriter,\n  createThis: () => createThis,\n  createThisTypeNode: () => createThisTypeNode,\n  createThrow: () => createThrow,\n  createToken: () => createToken,\n  createTokenRange: () => createTokenRange,\n  createTrue: () => createTrue,\n  createTry: () => createTry,\n  createTupleTypeNode: () => createTupleTypeNode,\n  createTypeAliasDeclaration: () => createTypeAliasDeclaration,\n  createTypeAssertion: () => createTypeAssertion,\n  createTypeChecker: () => createTypeChecker,\n  createTypeLiteralNode: () => createTypeLiteralNode,\n  createTypeOf: () => createTypeOf,\n  createTypeOperatorNode: () => createTypeOperatorNode,\n  createTypeParameterDeclaration: () => createTypeParameterDeclaration,\n  createTypePredicateNode: () => createTypePredicateNode,\n  createTypePredicateNodeWithModifier: () => createTypePredicateNodeWithModifier,\n  createTypeQueryNode: () => createTypeQueryNode,\n  createTypeReferenceDirectiveResolutionCache: () => createTypeReferenceDirectiveResolutionCache,\n  createTypeReferenceNode: () => createTypeReferenceNode,\n  createUnderscoreEscapedMultiMap: () => createUnderscoreEscapedMultiMap,\n  createUnionTypeNode: () => createUnionTypeNode,\n  createUniqueName: () => createUniqueName,\n  createUnparsedSourceFile: () => createUnparsedSourceFile,\n  createVariableDeclaration: () => createVariableDeclaration,\n  createVariableDeclarationList: () => createVariableDeclarationList,\n  createVariableStatement: () => createVariableStatement,\n  createVoid: () => createVoid,\n  createVoidZero: () => createVoidZero,\n  createWatchCompilerHost: () => createWatchCompilerHost2,\n  createWatchCompilerHostOfConfigFile: () => createWatchCompilerHostOfConfigFile,\n  createWatchCompilerHostOfFilesAndCompilerOptions: () => createWatchCompilerHostOfFilesAndCompilerOptions,\n  createWatchFactory: () => createWatchFactory,\n  createWatchHost: () => createWatchHost,\n  createWatchProgram: () => createWatchProgram,\n  createWatchStatusReporter: () => createWatchStatusReporter,\n  createWhile: () => createWhile,\n  createWith: () => createWith,\n  createYield: () => createYield,\n  declarationNameToString: () => declarationNameToString,\n  decodeMappings: () => decodeMappings,\n  decodedTextSpanIntersectsWith: () => decodedTextSpanIntersectsWith,\n  decorateHelper: () => decorateHelper,\n  deduplicate: () => deduplicate,\n  defaultIncludeSpec: () => defaultIncludeSpec,\n  defaultInitCompilerOptions: () => defaultInitCompilerOptions,\n  defaultMaximumTruncationLength: () => defaultMaximumTruncationLength,\n  diagnosticCategoryName: () => diagnosticCategoryName,\n  diagnosticToString: () => diagnosticToString,\n  directoryProbablyExists: () => directoryProbablyExists,\n  directorySeparator: () => directorySeparator,\n  displayPart: () => displayPart,\n  displayPartsToString: () => displayPartsToString,\n  disposeEmitNodes: () => disposeEmitNodes,\n  documentSpansEqual: () => documentSpansEqual,\n  dumpTracingLegend: () => dumpTracingLegend,\n  elementAt: () => elementAt,\n  elideNodes: () => elideNodes,\n  emitComments: () => emitComments,\n  emitDetachedComments: () => emitDetachedComments,\n  emitFiles: () => emitFiles,\n  emitFilesAndReportErrors: () => emitFilesAndReportErrors,\n  emitFilesAndReportErrorsAndGetExitStatus: () => emitFilesAndReportErrorsAndGetExitStatus,\n  emitNewLineBeforeLeadingCommentOfPosition: () => emitNewLineBeforeLeadingCommentOfPosition,\n  emitNewLineBeforeLeadingComments: () => emitNewLineBeforeLeadingComments,\n  emitNewLineBeforeLeadingCommentsOfPosition: () => emitNewLineBeforeLeadingCommentsOfPosition,\n  emitSkippedWithNoDiagnostics: () => emitSkippedWithNoDiagnostics,\n  emitUsingBuildInfo: () => emitUsingBuildInfo,\n  emptyArray: () => emptyArray,\n  emptyFileSystemEntries: () => emptyFileSystemEntries,\n  emptyIterator: () => emptyIterator,\n  emptyMap: () => emptyMap,\n  emptyOptions: () => emptyOptions,\n  emptySet: () => emptySet,\n  endsWith: () => endsWith,\n  ensureEtsDecorators: () => ensureEtsDecorators,\n  ensurePathIsNonModuleName: () => ensurePathIsNonModuleName,\n  ensureScriptKind: () => ensureScriptKind,\n  ensureTrailingDirectorySeparator: () => ensureTrailingDirectorySeparator,\n  entityNameToString: () => entityNameToString,\n  enumerateInsertsAndDeletes: () => enumerateInsertsAndDeletes,\n  equalOwnProperties: () => equalOwnProperties,\n  equateStringsCaseInsensitive: () => equateStringsCaseInsensitive,\n  equateStringsCaseSensitive: () => equateStringsCaseSensitive,\n  equateValues: () => equateValues,\n  escapeJsxAttributeString: () => escapeJsxAttributeString,\n  escapeLeadingUnderscores: () => escapeLeadingUnderscores,\n  escapeNonAsciiString: () => escapeNonAsciiString,\n  escapeSnippetText: () => escapeSnippetText,\n  escapeString: () => escapeString,\n  every: () => every,\n  expandPreOrPostfixIncrementOrDecrementExpression: () => expandPreOrPostfixIncrementOrDecrementExpression,\n  explainFiles: () => explainFiles,\n  explainIfFileIsRedirectAndImpliedFormat: () => explainIfFileIsRedirectAndImpliedFormat,\n  exportAssignmentIsAlias: () => exportAssignmentIsAlias,\n  exportStarHelper: () => exportStarHelper,\n  expressionResultIsUnused: () => expressionResultIsUnused,\n  extend: () => extend,\n  extendsHelper: () => extendsHelper,\n  extensionFromPath: () => extensionFromPath,\n  extensionIsTS: () => extensionIsTS,\n  externalHelpersModuleNameText: () => externalHelpersModuleNameText,\n  factory: () => factory,\n  fileExtensionIs: () => fileExtensionIs,\n  fileExtensionIsOneOf: () => fileExtensionIsOneOf,\n  fileIncludeReasonToDiagnostics: () => fileIncludeReasonToDiagnostics,\n  fill: () => fill,\n  filter: () => filter,\n  filterEtsExtendDecoratorComponentNamesByOptions: () => filterEtsExtendDecoratorComponentNamesByOptions,\n  filterMutate: () => filterMutate,\n  filterSemanticDiagnostics: () => filterSemanticDiagnostics,\n  find: () => find,\n  findAncestor: () => findAncestor,\n  findBestPatternMatch: () => findBestPatternMatch,\n  findChildOfKind: () => findChildOfKind,\n  findConfigFile: () => findConfigFile,\n  findContainingList: () => findContainingList,\n  findDiagnosticForNode: () => findDiagnosticForNode,\n  findFirstNonJsxWhitespaceToken: () => findFirstNonJsxWhitespaceToken,\n  findIndex: () => findIndex,\n  findLast: () => findLast,\n  findLastIndex: () => findLastIndex,\n  findListItemInfo: () => findListItemInfo,\n  findMap: () => findMap,\n  findModifier: () => findModifier,\n  findNextToken: () => findNextToken,\n  findPackageJson: () => findPackageJson,\n  findPackageJsons: () => findPackageJsons,\n  findPrecedingMatchingToken: () => findPrecedingMatchingToken,\n  findPrecedingToken: () => findPrecedingToken,\n  findSuperStatementIndex: () => findSuperStatementIndex,\n  findTokenOnLeftOfPosition: () => findTokenOnLeftOfPosition,\n  findUseStrictPrologue: () => findUseStrictPrologue,\n  first: () => first,\n  firstDefined: () => firstDefined,\n  firstDefinedIterator: () => firstDefinedIterator,\n  firstOrOnly: () => firstOrOnly,\n  firstOrUndefined: () => firstOrUndefined,\n  fixupCompilerOptions: () => fixupCompilerOptions,\n  flatMap: () => flatMap,\n  flatMapIterator: () => flatMapIterator,\n  flatMapToMutable: () => flatMapToMutable,\n  flatten: () => flatten,\n  flattenDestructuringAssignment: () => flattenDestructuringAssignment,\n  flattenDestructuringBinding: () => flattenDestructuringBinding,\n  flattenDiagnosticMessageText: () => flattenDiagnosticMessageText,\n  forEach: () => forEach,\n  forEachAncestor: () => forEachAncestor,\n  forEachAncestorDirectory: () => forEachAncestorDirectory,\n  forEachChild: () => forEachChild,\n  forEachChildRecursively: () => forEachChildRecursively,\n  forEachEmittedFile: () => forEachEmittedFile,\n  forEachEnclosingBlockScopeContainer: () => forEachEnclosingBlockScopeContainer,\n  forEachEntry: () => forEachEntry,\n  forEachExternalModuleToImportFrom: () => forEachExternalModuleToImportFrom,\n  forEachImportClauseDeclaration: () => forEachImportClauseDeclaration,\n  forEachKey: () => forEachKey,\n  forEachLeadingCommentRange: () => forEachLeadingCommentRange,\n  forEachNameInAccessChainWalkingLeft: () => forEachNameInAccessChainWalkingLeft,\n  forEachResolvedProjectReference: () => forEachResolvedProjectReference,\n  forEachReturnStatement: () => forEachReturnStatement,\n  forEachRight: () => forEachRight,\n  forEachTrailingCommentRange: () => forEachTrailingCommentRange,\n  forEachUnique: () => forEachUnique,\n  forEachYieldExpression: () => forEachYieldExpression,\n  forSomeAncestorDirectory: () => forSomeAncestorDirectory,\n  formatColorAndReset: () => formatColorAndReset,\n  formatDiagnostic: () => formatDiagnostic,\n  formatDiagnostics: () => formatDiagnostics,\n  formatDiagnosticsWithColorAndContext: () => formatDiagnosticsWithColorAndContext,\n  formatGeneratedName: () => formatGeneratedName,\n  formatGeneratedNamePart: () => formatGeneratedNamePart,\n  formatLocation: () => formatLocation,\n  formatMessage: () => formatMessage,\n  formatStringFromArgs: () => formatStringFromArgs,\n  formatting: () => ts_formatting_exports,\n  fullTripleSlashAMDReferencePathRegEx: () => fullTripleSlashAMDReferencePathRegEx,\n  fullTripleSlashReferencePathRegEx: () => fullTripleSlashReferencePathRegEx,\n  generateDjb2Hash: () => generateDjb2Hash,\n  generateTSConfig: () => generateTSConfig,\n  generatorHelper: () => generatorHelper,\n  getAdjustedReferenceLocation: () => getAdjustedReferenceLocation,\n  getAdjustedRenameLocation: () => getAdjustedRenameLocation,\n  getAliasDeclarationFromName: () => getAliasDeclarationFromName,\n  getAllAccessorDeclarations: () => getAllAccessorDeclarations,\n  getAllDecorators: () => getAllDecorators,\n  getAllDecoratorsOfClass: () => getAllDecoratorsOfClass,\n  getAllDecoratorsOfClassElement: () => getAllDecoratorsOfClassElement,\n  getAllJSDocTags: () => getAllJSDocTags,\n  getAllJSDocTagsOfKind: () => getAllJSDocTagsOfKind,\n  getAllKeys: () => getAllKeys,\n  getAllProjectOutputs: () => getAllProjectOutputs,\n  getAllSuperTypeNodes: () => getAllSuperTypeNodes,\n  getAllUnscopedEmitHelpers: () => getAllUnscopedEmitHelpers,\n  getAllowJSCompilerOption: () => getAllowJSCompilerOption,\n  getAllowSyntheticDefaultImports: () => getAllowSyntheticDefaultImports,\n  getAncestor: () => getAncestor,\n  getAnnotationTransformer: () => getAnnotationTransformer,\n  getAnnotations: () => getAnnotations,\n  getAnnotationsFromIllegalDecorators: () => getAnnotationsFromIllegalDecorators,\n  getAnyExtensionFromPath: () => getAnyExtensionFromPath,\n  getAreDeclarationMapsEnabled: () => getAreDeclarationMapsEnabled,\n  getAssignedExpandoInitializer: () => getAssignedExpandoInitializer,\n  getAssignedName: () => getAssignedName,\n  getAssignmentDeclarationKind: () => getAssignmentDeclarationKind,\n  getAssignmentDeclarationPropertyAccessKind: () => getAssignmentDeclarationPropertyAccessKind,\n  getAssignmentTargetKind: () => getAssignmentTargetKind,\n  getAutomaticTypeDirectiveNames: () => getAutomaticTypeDirectiveNames,\n  getBaseFileName: () => getBaseFileName,\n  getBinaryOperatorPrecedence: () => getBinaryOperatorPrecedence,\n  getBuildInfo: () => getBuildInfo,\n  getBuildInfoFileVersionMap: () => getBuildInfoFileVersionMap,\n  getBuildInfoText: () => getBuildInfoText,\n  getBuildOrderFromAnyBuildOrder: () => getBuildOrderFromAnyBuildOrder,\n  getBuilderCreationParameters: () => getBuilderCreationParameters,\n  getCheckFlags: () => getCheckFlags,\n  getClassExtendsHeritageElement: () => getClassExtendsHeritageElement,\n  getClassLikeDeclarationOfSymbol: () => getClassLikeDeclarationOfSymbol,\n  getCombinedLocalAndExportSymbolFlags: () => getCombinedLocalAndExportSymbolFlags,\n  getCombinedModifierFlags: () => getCombinedModifierFlags,\n  getCombinedNodeFlags: () => getCombinedNodeFlags,\n  getCombinedNodeFlagsAlwaysIncludeJSDoc: () => getCombinedNodeFlagsAlwaysIncludeJSDoc,\n  getCommentRange: () => getCommentRange,\n  getCommonSourceDirectory: () => getCommonSourceDirectory,\n  getCommonSourceDirectoryOfConfig: () => getCommonSourceDirectoryOfConfig,\n  getCompilerOptionValue: () => getCompilerOptionValue,\n  getCompilerOptionsDiffValue: () => getCompilerOptionsDiffValue,\n  getConfigFileParsingDiagnostics: () => getConfigFileParsingDiagnostics,\n  getConstantValue: () => getConstantValue,\n  getContainerNode: () => getContainerNode,\n  getContainingClass: () => getContainingClass,\n  getContainingClassStaticBlock: () => getContainingClassStaticBlock,\n  getContainingFunction: () => getContainingFunction,\n  getContainingFunctionDeclaration: () => getContainingFunctionDeclaration,\n  getContainingFunctionOrClassStaticBlock: () => getContainingFunctionOrClassStaticBlock,\n  getContainingNodeArray: () => getContainingNodeArray,\n  getContainingObjectLiteralElement: () => getContainingObjectLiteralElement,\n  getContainingStruct: () => getContainingStruct,\n  getContaningConstructorDeclaration: () => getContaningConstructorDeclaration,\n  getContextualTypeFromParent: () => getContextualTypeFromParent,\n  getContextualTypeFromParentOrAncestorTypeNode: () => getContextualTypeFromParentOrAncestorTypeNode,\n  getCurrentTime: () => getCurrentTime,\n  getDeclarationDiagnostics: () => getDeclarationDiagnostics,\n  getDeclarationEmitExtensionForPath: () => getDeclarationEmitExtensionForPath,\n  getDeclarationEmitOutputFilePath: () => getDeclarationEmitOutputFilePath,\n  getDeclarationEmitOutputFilePathWorker: () => getDeclarationEmitOutputFilePathWorker,\n  getDeclarationFromName: () => getDeclarationFromName,\n  getDeclarationFromSymbol: () => getDeclarationFromSymbol,\n  getDeclarationModifierFlagsFromSymbol: () => getDeclarationModifierFlagsFromSymbol,\n  getDeclarationOfKind: () => getDeclarationOfKind,\n  getDeclarationsOfKind: () => getDeclarationsOfKind,\n  getDeclaredExpandoInitializer: () => getDeclaredExpandoInitializer,\n  getDecorators: () => getDecorators,\n  getDefaultCompilerOptions: () => getDefaultCompilerOptions2,\n  getDefaultFormatCodeSettings: () => getDefaultFormatCodeSettings,\n  getDefaultLibFileName: () => getDefaultLibFileName,\n  getDefaultLibFilePath: () => getDefaultLibFilePath,\n  getDefaultLikeExportInfo: () => getDefaultLikeExportInfo,\n  getDiagnosticText: () => getDiagnosticText,\n  getDiagnosticsWithinSpan: () => getDiagnosticsWithinSpan,\n  getDirectoryPath: () => getDirectoryPath,\n  getDocumentPositionMapper: () => getDocumentPositionMapper,\n  getESModuleInterop: () => getESModuleInterop,\n  getEditsForFileRename: () => getEditsForFileRename,\n  getEffectiveBaseTypeNode: () => getEffectiveBaseTypeNode,\n  getEffectiveConstraintOfTypeParameter: () => getEffectiveConstraintOfTypeParameter,\n  getEffectiveContainerForJSDocTemplateTag: () => getEffectiveContainerForJSDocTemplateTag,\n  getEffectiveDecorators: () => getEffectiveDecorators,\n  getEffectiveImplementsTypeNodes: () => getEffectiveImplementsTypeNodes,\n  getEffectiveInitializer: () => getEffectiveInitializer,\n  getEffectiveJSDocHost: () => getEffectiveJSDocHost,\n  getEffectiveModifierFlags: () => getEffectiveModifierFlags,\n  getEffectiveModifierFlagsAlwaysIncludeJSDoc: () => getEffectiveModifierFlagsAlwaysIncludeJSDoc,\n  getEffectiveModifierFlagsNoCache: () => getEffectiveModifierFlagsNoCache,\n  getEffectiveReturnTypeNode: () => getEffectiveReturnTypeNode,\n  getEffectiveSetAccessorTypeAnnotationNode: () => getEffectiveSetAccessorTypeAnnotationNode,\n  getEffectiveTypeAnnotationNode: () => getEffectiveTypeAnnotationNode,\n  getEffectiveTypeParameterDeclarations: () => getEffectiveTypeParameterDeclarations,\n  getEffectiveTypeRoots: () => getEffectiveTypeRoots,\n  getElementOrPropertyAccessArgumentExpressionOrName: () => getElementOrPropertyAccessArgumentExpressionOrName,\n  getElementOrPropertyAccessName: () => getElementOrPropertyAccessName,\n  getElementsOfBindingOrAssignmentPattern: () => getElementsOfBindingOrAssignmentPattern,\n  getEmitDeclarations: () => getEmitDeclarations,\n  getEmitFlags: () => getEmitFlags,\n  getEmitHelpers: () => getEmitHelpers,\n  getEmitModuleDetectionKind: () => getEmitModuleDetectionKind,\n  getEmitModuleKind: () => getEmitModuleKind,\n  getEmitModuleResolutionKind: () => getEmitModuleResolutionKind,\n  getEmitScriptTarget: () => getEmitScriptTarget,\n  getEnclosingBlockScopeContainer: () => getEnclosingBlockScopeContainer,\n  getEncodedSemanticClassifications: () => getEncodedSemanticClassifications,\n  getEncodedSyntacticClassifications: () => getEncodedSyntacticClassifications,\n  getEndLinePosition: () => getEndLinePosition,\n  getEntityNameFromTypeNode: () => getEntityNameFromTypeNode,\n  getEntries: () => getEntries,\n  getEntrypointsFromPackageJsonInfo: () => getEntrypointsFromPackageJsonInfo,\n  getErrorCode: () => getErrorCode,\n  getErrorCodeArea: () => getErrorCodeArea,\n  getErrorCountForSummary: () => getErrorCountForSummary,\n  getErrorSpanForNode: () => getErrorSpanForNode,\n  getErrorSummaryText: () => getErrorSummaryText,\n  getEscapedTextOfIdentifierOrLiteral: () => getEscapedTextOfIdentifierOrLiteral,\n  getEtsComponentExpressionInnerCallExpressionNode: () => getEtsComponentExpressionInnerCallExpressionNode,\n  getEtsComponentExpressionInnerExpressionStatementNode: () => getEtsComponentExpressionInnerExpressionStatementNode,\n  getEtsExtendDecoratorsComponentNames: () => getEtsExtendDecoratorsComponentNames,\n  getEtsLibs: () => getEtsLibs,\n  getEtsStylesDecoratorComponentNames: () => getEtsStylesDecoratorComponentNames,\n  getExpandoInitializer: () => getExpandoInitializer,\n  getExportAssignmentExpression: () => getExportAssignmentExpression,\n  getExportInfoMap: () => getExportInfoMap,\n  getExportNeedsImportStarHelper: () => getExportNeedsImportStarHelper,\n  getExpressionAssociativity: () => getExpressionAssociativity,\n  getExpressionPrecedence: () => getExpressionPrecedence,\n  getExternalHelpersModuleName: () => getExternalHelpersModuleName,\n  getExternalModuleImportEqualsDeclarationExpression: () => getExternalModuleImportEqualsDeclarationExpression,\n  getExternalModuleName: () => getExternalModuleName,\n  getExternalModuleNameFromDeclaration: () => getExternalModuleNameFromDeclaration,\n  getExternalModuleNameFromPath: () => getExternalModuleNameFromPath,\n  getExternalModuleNameLiteral: () => getExternalModuleNameLiteral,\n  getExternalModuleRequireArgument: () => getExternalModuleRequireArgument,\n  getFallbackOptions: () => getFallbackOptions,\n  getFileEmitOutput: () => getFileEmitOutput,\n  getFileMatcherPatterns: () => getFileMatcherPatterns,\n  getFileNamesFromConfigSpecs: () => getFileNamesFromConfigSpecs,\n  getFileWatcherEventKind: () => getFileWatcherEventKind,\n  getFilesInErrorForSummary: () => getFilesInErrorForSummary,\n  getFirstConstructorWithBody: () => getFirstConstructorWithBody,\n  getFirstIdentifier: () => getFirstIdentifier,\n  getFirstNonSpaceCharacterPosition: () => getFirstNonSpaceCharacterPosition,\n  getFirstProjectOutput: () => getFirstProjectOutput,\n  getFixableErrorSpanExpression: () => getFixableErrorSpanExpression,\n  getFormatCodeSettingsForWriting: () => getFormatCodeSettingsForWriting,\n  getFullWidth: () => getFullWidth,\n  getFunctionFlags: () => getFunctionFlags,\n  getGeneratedNameForNode: () => getGeneratedNameForNode,\n  getHeritageClause: () => getHeritageClause,\n  getHostSignatureFromJSDoc: () => getHostSignatureFromJSDoc,\n  getIllegalDecorators: () => getIllegalDecorators,\n  getImmediatelyInvokedFunctionExpression: () => getImmediatelyInvokedFunctionExpression,\n  getImpliedNodeFormatForFile: () => getImpliedNodeFormatForFile,\n  getImpliedNodeFormatForFileWorker: () => getImpliedNodeFormatForFileWorker,\n  getImportNeedsImportDefaultHelper: () => getImportNeedsImportDefaultHelper,\n  getImportNeedsImportStarHelper: () => getImportNeedsImportStarHelper,\n  getIndentSize: () => getIndentSize,\n  getIndentString: () => getIndentString,\n  getInitializedVariables: () => getInitializedVariables,\n  getInitializerOfBinaryExpression: () => getInitializerOfBinaryExpression,\n  getInitializerOfBindingOrAssignmentElement: () => getInitializerOfBindingOrAssignmentElement,\n  getInterfaceBaseTypeNodes: () => getInterfaceBaseTypeNodes,\n  getInvokedExpression: () => getInvokedExpression,\n  getIterator: () => getIterator,\n  getJSDocAugmentsTag: () => getJSDocAugmentsTag,\n  getJSDocClassTag: () => getJSDocClassTag,\n  getJSDocCommentRanges: () => getJSDocCommentRanges,\n  getJSDocCommentsAndTags: () => getJSDocCommentsAndTags,\n  getJSDocDeprecatedTag: () => getJSDocDeprecatedTag,\n  getJSDocDeprecatedTagNoCache: () => getJSDocDeprecatedTagNoCache,\n  getJSDocEnumTag: () => getJSDocEnumTag,\n  getJSDocHost: () => getJSDocHost,\n  getJSDocImplementsTags: () => getJSDocImplementsTags,\n  getJSDocOverrideTagNoCache: () => getJSDocOverrideTagNoCache,\n  getJSDocParameterTags: () => getJSDocParameterTags,\n  getJSDocParameterTagsNoCache: () => getJSDocParameterTagsNoCache,\n  getJSDocPrivateTag: () => getJSDocPrivateTag,\n  getJSDocPrivateTagNoCache: () => getJSDocPrivateTagNoCache,\n  getJSDocProtectedTag: () => getJSDocProtectedTag,\n  getJSDocProtectedTagNoCache: () => getJSDocProtectedTagNoCache,\n  getJSDocPublicTag: () => getJSDocPublicTag,\n  getJSDocPublicTagNoCache: () => getJSDocPublicTagNoCache,\n  getJSDocReadonlyTag: () => getJSDocReadonlyTag,\n  getJSDocReadonlyTagNoCache: () => getJSDocReadonlyTagNoCache,\n  getJSDocReturnTag: () => getJSDocReturnTag,\n  getJSDocReturnType: () => getJSDocReturnType,\n  getJSDocRoot: () => getJSDocRoot,\n  getJSDocTags: () => getJSDocTags,\n  getJSDocTagsNoCache: () => getJSDocTagsNoCache,\n  getJSDocTemplateTag: () => getJSDocTemplateTag,\n  getJSDocThisTag: () => getJSDocThisTag,\n  getJSDocType: () => getJSDocType,\n  getJSDocTypeAliasName: () => getJSDocTypeAliasName,\n  getJSDocTypeAssertionType: () => getJSDocTypeAssertionType,\n  getJSDocTypeParameterDeclarations: () => getJSDocTypeParameterDeclarations,\n  getJSDocTypeParameterTags: () => getJSDocTypeParameterTags,\n  getJSDocTypeParameterTagsNoCache: () => getJSDocTypeParameterTagsNoCache,\n  getJSDocTypeTag: () => getJSDocTypeTag,\n  getJSXImplicitImportBase: () => getJSXImplicitImportBase,\n  getJSXRuntimeImport: () => getJSXRuntimeImport,\n  getJSXTransformEnabled: () => getJSXTransformEnabled,\n  getLanguageVariant: () => getLanguageVariant,\n  getLastChild: () => getLastChild,\n  getLeadingCommentRanges: () => getLeadingCommentRanges,\n  getLeadingCommentRangesOfNode: () => getLeadingCommentRangesOfNode,\n  getLeftmostAccessExpression: () => getLeftmostAccessExpression,\n  getLeftmostExpression: () => getLeftmostExpression,\n  getLineAndCharacterOfPosition: () => getLineAndCharacterOfPosition,\n  getLineInfo: () => getLineInfo,\n  getLineOfLocalPosition: () => getLineOfLocalPosition,\n  getLineOfLocalPositionFromLineMap: () => getLineOfLocalPositionFromLineMap,\n  getLineStartPositionForPosition: () => getLineStartPositionForPosition,\n  getLineStarts: () => getLineStarts,\n  getLinesBetweenPositionAndNextNonWhitespaceCharacter: () => getLinesBetweenPositionAndNextNonWhitespaceCharacter,\n  getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter: () => getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter,\n  getLinesBetweenPositions: () => getLinesBetweenPositions,\n  getLinesBetweenRangeEndAndRangeStart: () => getLinesBetweenRangeEndAndRangeStart,\n  getLinesBetweenRangeEndPositions: () => getLinesBetweenRangeEndPositions,\n  getLiteralText: () => getLiteralText,\n  getLocalNameForExternalImport: () => getLocalNameForExternalImport,\n  getLocalSymbolForExportDefault: () => getLocalSymbolForExportDefault,\n  getLocaleSpecificMessage: () => getLocaleSpecificMessage,\n  getLocaleTimeString: () => getLocaleTimeString,\n  getMappedContextSpan: () => getMappedContextSpan,\n  getMappedDocumentSpan: () => getMappedDocumentSpan,\n  getMappedLocation: () => getMappedLocation,\n  getMatchedFileSpec: () => getMatchedFileSpec,\n  getMatchedIncludeSpec: () => getMatchedIncludeSpec,\n  getMaxFlowDepth: () => getMaxFlowDepth,\n  getMeaningFromDeclaration: () => getMeaningFromDeclaration,\n  getMeaningFromLocation: () => getMeaningFromLocation,\n  getMembersOfDeclaration: () => getMembersOfDeclaration,\n  getModeForFileReference: () => getModeForFileReference,\n  getModeForResolutionAtIndex: () => getModeForResolutionAtIndex,\n  getModeForUsageLocation: () => getModeForUsageLocation,\n  getModifiedTime: () => getModifiedTime,\n  getModifiers: () => getModifiers,\n  getModuleByPMType: () => getModuleByPMType,\n  getModuleInstanceState: () => getModuleInstanceState,\n  getModuleNameStringLiteralAt: () => getModuleNameStringLiteralAt,\n  getModulePathPartByPMType: () => getModulePathPartByPMType,\n  getModuleSpecifierResolverHost: () => getModuleSpecifierResolverHost,\n  getMutableClone: () => getMutableClone,\n  getNameForExportedSymbol: () => getNameForExportedSymbol,\n  getNameFromIndexInfo: () => getNameFromIndexInfo,\n  getNameFromPropertyName: () => getNameFromPropertyName,\n  getNameOfAccessExpression: () => getNameOfAccessExpression,\n  getNameOfCompilerOptionValue: () => getNameOfCompilerOptionValue,\n  getNameOfDeclaration: () => getNameOfDeclaration,\n  getNameOfDecorator: () => getNameOfDecorator,\n  getNameOfExpando: () => getNameOfExpando,\n  getNameOfJSDocTypedef: () => getNameOfJSDocTypedef,\n  getNameOrArgument: () => getNameOrArgument,\n  getNameTable: () => getNameTable,\n  getNamesForExportedSymbol: () => getNamesForExportedSymbol,\n  getNamespaceDeclarationNode: () => getNamespaceDeclarationNode,\n  getNewLineCharacter: () => getNewLineCharacter,\n  getNewLineKind: () => getNewLineKind,\n  getNewLineOrDefaultFromHost: () => getNewLineOrDefaultFromHost,\n  getNewTargetContainer: () => getNewTargetContainer,\n  getNextJSDocCommentLocation: () => getNextJSDocCommentLocation,\n  getNodeForGeneratedName: () => getNodeForGeneratedName,\n  getNodeId: () => getNodeId,\n  getNodeKind: () => getNodeKind,\n  getNodeMajorVersion: () => getNodeMajorVersion,\n  getNodeModifiers: () => getNodeModifiers,\n  getNodeModulePathParts: () => getNodeModulePathParts,\n  getNonAssignedNameOfDeclaration: () => getNonAssignedNameOfDeclaration,\n  getNonAssignmentOperatorForCompoundAssignment: () => getNonAssignmentOperatorForCompoundAssignment,\n  getNonAugmentationDeclaration: () => getNonAugmentationDeclaration,\n  getNonDecoratorTokenPosOfNode: () => getNonDecoratorTokenPosOfNode,\n  getNormalizedAbsolutePath: () => getNormalizedAbsolutePath,\n  getNormalizedAbsolutePathWithoutRoot: () => getNormalizedAbsolutePathWithoutRoot,\n  getNormalizedPathComponents: () => getNormalizedPathComponents,\n  getObjectFlags: () => getObjectFlags,\n  getOperator: () => getOperator,\n  getOperatorAssociativity: () => getOperatorAssociativity,\n  getOperatorPrecedence: () => getOperatorPrecedence,\n  getOptionFromName: () => getOptionFromName,\n  getOptionsNameMap: () => getOptionsNameMap,\n  getOrCreateEmitNode: () => getOrCreateEmitNode,\n  getOrCreateExternalHelpersModuleNameIfNeeded: () => getOrCreateExternalHelpersModuleNameIfNeeded,\n  getOrUpdate: () => getOrUpdate,\n  getOriginalNode: () => getOriginalNode,\n  getOriginalNodeId: () => getOriginalNodeId,\n  getOriginalSourceFile: () => getOriginalSourceFile,\n  getOutputDeclarationFileName: () => getOutputDeclarationFileName,\n  getOutputExtension: () => getOutputExtension,\n  getOutputFileNames: () => getOutputFileNames,\n  getOutputPathsFor: () => getOutputPathsFor,\n  getOutputPathsForBundle: () => getOutputPathsForBundle,\n  getOwnEmitOutputFilePath: () => getOwnEmitOutputFilePath,\n  getOwnKeys: () => getOwnKeys,\n  getOwnValues: () => getOwnValues,\n  getPackageJsonByPMType: () => getPackageJsonByPMType,\n  getPackageJsonInfo: () => getPackageJsonInfo,\n  getPackageJsonTypesVersionsPaths: () => getPackageJsonTypesVersionsPaths,\n  getPackageJsonsVisibleToFile: () => getPackageJsonsVisibleToFile,\n  getPackageNameFromTypesPackageName: () => getPackageNameFromTypesPackageName,\n  getPackageScopeForPath: () => getPackageScopeForPath,\n  getParameterSymbolFromJSDoc: () => getParameterSymbolFromJSDoc,\n  getParameterTypeNode: () => getParameterTypeNode,\n  getParentNodeInSpan: () => getParentNodeInSpan,\n  getParseTreeNode: () => getParseTreeNode,\n  getParsedCommandLineOfConfigFile: () => getParsedCommandLineOfConfigFile,\n  getPathComponents: () => getPathComponents,\n  getPathComponentsRelativeTo: () => getPathComponentsRelativeTo,\n  getPathFromPathComponents: () => getPathFromPathComponents,\n  getPathUpdater: () => getPathUpdater,\n  getPathsBasePath: () => getPathsBasePath,\n  getPatternFromSpec: () => getPatternFromSpec,\n  getPositionOfLineAndCharacter: () => getPositionOfLineAndCharacter,\n  getPossibleGenericSignatures: () => getPossibleGenericSignatures,\n  getPossibleOriginalInputExtensionForExtension: () => getPossibleOriginalInputExtensionForExtension,\n  getPossibleTypeArgumentsInfo: () => getPossibleTypeArgumentsInfo,\n  getPreEmitDiagnostics: () => getPreEmitDiagnostics,\n  getPrecedingNonSpaceCharacterPosition: () => getPrecedingNonSpaceCharacterPosition,\n  getProperties: () => getProperties,\n  getProperty: () => getProperty,\n  getPropertyArrayElementValue: () => getPropertyArrayElementValue,\n  getPropertyAssignment: () => getPropertyAssignment,\n  getPropertyAssignmentAliasLikeExpression: () => getPropertyAssignmentAliasLikeExpression,\n  getPropertyNameForPropertyNameNode: () => getPropertyNameForPropertyNameNode,\n  getPropertyNameForUniqueESSymbol: () => getPropertyNameForUniqueESSymbol,\n  getPropertyNameOfBindingOrAssignmentElement: () => getPropertyNameOfBindingOrAssignmentElement,\n  getPropertySymbolFromBindingElement: () => getPropertySymbolFromBindingElement,\n  getPropertySymbolsFromContextualType: () => getPropertySymbolsFromContextualType,\n  getQuoteFromPreference: () => getQuoteFromPreference,\n  getQuotePreference: () => getQuotePreference,\n  getRangesWhere: () => getRangesWhere,\n  getRefactorContextSpan: () => getRefactorContextSpan,\n  getReferencedFileLocation: () => getReferencedFileLocation,\n  getRegexFromPattern: () => getRegexFromPattern,\n  getRegularExpressionForWildcard: () => getRegularExpressionForWildcard,\n  getRegularExpressionsForWildcards: () => getRegularExpressionsForWildcards,\n  getRelativePathFromDirectory: () => getRelativePathFromDirectory,\n  getRelativePathFromFile: () => getRelativePathFromFile,\n  getRelativePathToDirectoryOrUrl: () => getRelativePathToDirectoryOrUrl,\n  getRenameLocation: () => getRenameLocation,\n  getReplacementSpanForContextToken: () => getReplacementSpanForContextToken,\n  getReservedDecoratorsOfEtsFile: () => getReservedDecoratorsOfEtsFile,\n  getReservedDecoratorsOfStructDeclaration: () => getReservedDecoratorsOfStructDeclaration,\n  getResolutionDiagnostic: () => getResolutionDiagnostic,\n  getResolutionModeOverrideForClause: () => getResolutionModeOverrideForClause,\n  getResolvedExternalModuleName: () => getResolvedExternalModuleName,\n  getResolvedModule: () => getResolvedModule,\n  getRestIndicatorOfBindingOrAssignmentElement: () => getRestIndicatorOfBindingOrAssignmentElement,\n  getRestParameterElementType: () => getRestParameterElementType,\n  getRightMostAssignedExpression: () => getRightMostAssignedExpression,\n  getRootComponent: () => getRootComponent,\n  getRootDeclaration: () => getRootDeclaration,\n  getRootEtsComponent: () => getRootEtsComponent,\n  getRootEtsComponentInnerCallExpressionNode: () => getRootEtsComponentInnerCallExpressionNode,\n  getRootLength: () => getRootLength,\n  getScriptKind: () => getScriptKind,\n  getScriptKindFromFileName: () => getScriptKindFromFileName,\n  getScriptTargetFeatures: () => getScriptTargetFeatures,\n  getSdkPath: () => getSdkPath,\n  getSelectedEffectiveModifierFlags: () => getSelectedEffectiveModifierFlags,\n  getSelectedSyntacticModifierFlags: () => getSelectedSyntacticModifierFlags,\n  getSemanticClassifications: () => getSemanticClassifications,\n  getSemanticJsxChildren: () => getSemanticJsxChildren,\n  getSetAccessorTypeAnnotationNode: () => getSetAccessorTypeAnnotationNode,\n  getSetAccessorValueParameter: () => getSetAccessorValueParameter,\n  getSetExternalModuleIndicator: () => getSetExternalModuleIndicator,\n  getShebang: () => getShebang,\n  getSingleInitializerOfVariableStatementOrPropertyDeclaration: () => getSingleInitializerOfVariableStatementOrPropertyDeclaration,\n  getSingleVariableOfVariableStatement: () => getSingleVariableOfVariableStatement,\n  getSnapshotText: () => getSnapshotText,\n  getSnippetElement: () => getSnippetElement,\n  getSourceFileOfModule: () => getSourceFileOfModule,\n  getSourceFileOfNode: () => getSourceFileOfNode,\n  getSourceFilePathInNewDir: () => getSourceFilePathInNewDir,\n  getSourceFilePathInNewDirWorker: () => getSourceFilePathInNewDirWorker,\n  getSourceFilesToEmit: () => getSourceFilesToEmit,\n  getSourceMapRange: () => getSourceMapRange,\n  getSourceMapper: () => getSourceMapper,\n  getSourceTextOfNodeFromSourceFile: () => getSourceTextOfNodeFromSourceFile,\n  getSpanOfTokenAtPosition: () => getSpanOfTokenAtPosition,\n  getSpellingSuggestion: () => getSpellingSuggestion,\n  getStartPositionOfLine: () => getStartPositionOfLine,\n  getStartPositionOfRange: () => getStartPositionOfRange,\n  getStartsOnNewLine: () => getStartsOnNewLine,\n  getStaticPropertiesAndClassStaticBlock: () => getStaticPropertiesAndClassStaticBlock,\n  getStrictOptionValue: () => getStrictOptionValue,\n  getStringComparer: () => getStringComparer,\n  getSuperCallFromStatement: () => getSuperCallFromStatement,\n  getSuperContainer: () => getSuperContainer,\n  getSupportedCodeFixes: () => getSupportedCodeFixes,\n  getSupportedExtensions: () => getSupportedExtensions,\n  getSupportedExtensionsWithJsonIfResolveJsonModule: () => getSupportedExtensionsWithJsonIfResolveJsonModule,\n  getSwitchedType: () => getSwitchedType,\n  getSymbolId: () => getSymbolId,\n  getSymbolNameForPrivateIdentifier: () => getSymbolNameForPrivateIdentifier,\n  getSymbolTarget: () => getSymbolTarget,\n  getSyntacticClassifications: () => getSyntacticClassifications,\n  getSyntacticModifierFlags: () => getSyntacticModifierFlags,\n  getSyntacticModifierFlagsNoCache: () => getSyntacticModifierFlagsNoCache,\n  getSynthesizedDeepClone: () => getSynthesizedDeepClone,\n  getSynthesizedDeepCloneWithReplacements: () => getSynthesizedDeepCloneWithReplacements,\n  getSynthesizedDeepClones: () => getSynthesizedDeepClones,\n  getSynthesizedDeepClonesWithReplacements: () => getSynthesizedDeepClonesWithReplacements,\n  getSyntheticLeadingComments: () => getSyntheticLeadingComments,\n  getSyntheticTrailingComments: () => getSyntheticTrailingComments,\n  getTargetLabel: () => getTargetLabel,\n  getTargetOfBindingOrAssignmentElement: () => getTargetOfBindingOrAssignmentElement,\n  getTemporaryModuleResolutionState: () => getTemporaryModuleResolutionState,\n  getTextOfConstantValue: () => getTextOfConstantValue,\n  getTextOfIdentifierOrLiteral: () => getTextOfIdentifierOrLiteral,\n  getTextOfJSDocComment: () => getTextOfJSDocComment,\n  getTextOfJSDocTagInfo: () => getTextOfJSDocTagInfo,\n  getTextOfNode: () => getTextOfNode,\n  getTextOfNodeFromSourceText: () => getTextOfNodeFromSourceText,\n  getTextOfPropertyName: () => getTextOfPropertyName,\n  getThisContainer: () => getThisContainer,\n  getThisParameter: () => getThisParameter,\n  getTokenAtPosition: () => getTokenAtPosition,\n  getTokenPosOfNode: () => getTokenPosOfNode,\n  getTokenSourceMapRange: () => getTokenSourceMapRange,\n  getTouchingPropertyName: () => getTouchingPropertyName,\n  getTouchingToken: () => getTouchingToken,\n  getTrailingCommentRanges: () => getTrailingCommentRanges,\n  getTrailingSemicolonDeferringWriter: () => getTrailingSemicolonDeferringWriter,\n  getTransformFlagsSubtreeExclusions: () => getTransformFlagsSubtreeExclusions,\n  getTransformers: () => getTransformers,\n  getTsBuildInfoEmitOutputFilePath: () => getTsBuildInfoEmitOutputFilePath,\n  getTsBuildInfoEmitOutputFilePathForLinter: () => getTsBuildInfoEmitOutputFilePathForLinter,\n  getTsConfigObjectLiteralExpression: () => getTsConfigObjectLiteralExpression,\n  getTsConfigPropArray: () => getTsConfigPropArray,\n  getTsConfigPropArrayElementValue: () => getTsConfigPropArrayElementValue,\n  getTypeAnnotationNode: () => getTypeAnnotationNode,\n  getTypeArgumentOrTypeParameterList: () => getTypeArgumentOrTypeParameterList,\n  getTypeExportImportAndConstEnumTransformer: () => getTypeExportImportAndConstEnumTransformer,\n  getTypeKeywordOfTypeOnlyImport: () => getTypeKeywordOfTypeOnlyImport,\n  getTypeNode: () => getTypeNode,\n  getTypeNodeIfAccessible: () => getTypeNodeIfAccessible,\n  getTypeParameterFromJsDoc: () => getTypeParameterFromJsDoc,\n  getTypeParameterOwner: () => getTypeParameterOwner,\n  getTypesPackageName: () => getTypesPackageName,\n  getUILocale: () => getUILocale,\n  getUniqueName: () => getUniqueName,\n  getUniqueSymbolId: () => getUniqueSymbolId,\n  getUseDefineForClassFields: () => getUseDefineForClassFields,\n  getVirtualEtsComponent: () => getVirtualEtsComponent,\n  getWatchErrorSummaryDiagnosticMessage: () => getWatchErrorSummaryDiagnosticMessage,\n  getWatchFactory: () => getWatchFactory,\n  group: () => group,\n  guessIndentation: () => guessIndentation,\n  handleNoEmitOptions: () => handleNoEmitOptions,\n  hasAbstractModifier: () => hasAbstractModifier,\n  hasAccessorModifier: () => hasAccessorModifier,\n  hasAmbientModifier: () => hasAmbientModifier,\n  hasAnnotations: () => hasAnnotations,\n  hasChangesInResolutions: () => hasChangesInResolutions,\n  hasChildOfKind: () => hasChildOfKind,\n  hasContextSensitiveParameters: () => hasContextSensitiveParameters,\n  hasDecorators: () => hasDecorators,\n  hasDocComment: () => hasDocComment,\n  hasDynamicName: () => hasDynamicName,\n  hasEffectiveModifier: () => hasEffectiveModifier,\n  hasEffectiveModifiers: () => hasEffectiveModifiers,\n  hasEffectiveReadonlyModifier: () => hasEffectiveReadonlyModifier,\n  hasEtsBuildDecoratorNames: () => hasEtsBuildDecoratorNames,\n  hasEtsBuilderDecoratorNames: () => hasEtsBuilderDecoratorNames,\n  hasEtsConcurrentDecoratorNames: () => hasEtsConcurrentDecoratorNames,\n  hasEtsExtendDecoratorNames: () => hasEtsExtendDecoratorNames,\n  hasEtsStylesDecoratorNames: () => hasEtsStylesDecoratorNames,\n  hasExtension: () => hasExtension,\n  hasIllegalDecorators: () => hasIllegalDecorators,\n  hasIndexSignature: () => hasIndexSignature,\n  hasInitializer: () => hasInitializer,\n  hasInvalidEscape: () => hasInvalidEscape,\n  hasJSDocNodes: () => hasJSDocNodes,\n  hasJSDocParameterTags: () => hasJSDocParameterTags,\n  hasJSFileExtension: () => hasJSFileExtension,\n  hasJsonModuleEmitEnabled: () => hasJsonModuleEmitEnabled,\n  hasOnlyExpressionInitializer: () => hasOnlyExpressionInitializer,\n  hasOverrideModifier: () => hasOverrideModifier,\n  hasPossibleExternalModuleReference: () => hasPossibleExternalModuleReference,\n  hasProperty: () => hasProperty,\n  hasPropertyAccessExpressionWithName: () => hasPropertyAccessExpressionWithName,\n  hasQuestionToken: () => hasQuestionToken,\n  hasRecordedExternalHelpers: () => hasRecordedExternalHelpers,\n  hasRestParameter: () => hasRestParameter,\n  hasScopeMarker: () => hasScopeMarker,\n  hasStaticModifier: () => hasStaticModifier,\n  hasSyntacticModifier: () => hasSyntacticModifier,\n  hasSyntacticModifiers: () => hasSyntacticModifiers,\n  hasTSFileExtension: () => hasTSFileExtension,\n  hasTrailingDirectorySeparator: () => hasTrailingDirectorySeparator,\n  hasTsNoCheckOrTsIgnoreFlag: () => hasTsNoCheckOrTsIgnoreFlag,\n  hasType: () => hasType,\n  hasTypeArguments: () => hasTypeArguments,\n  hasZeroOrOneAsteriskCharacter: () => hasZeroOrOneAsteriskCharacter,\n  helperString: () => helperString,\n  hostGetCanonicalFileName: () => hostGetCanonicalFileName,\n  hostUsesCaseSensitiveFileNames: () => hostUsesCaseSensitiveFileNames,\n  idText: () => idText,\n  identifierIsThisKeyword: () => identifierIsThisKeyword,\n  identity: () => identity,\n  identitySourceMapConsumer: () => identitySourceMapConsumer,\n  ignoreSourceNewlines: () => ignoreSourceNewlines,\n  ignoredPaths: () => ignoredPaths,\n  importDefaultHelper: () => importDefaultHelper,\n  importFromModuleSpecifier: () => importFromModuleSpecifier,\n  importStarHelper: () => importStarHelper,\n  inEtsStylesContext: () => inEtsStylesContext,\n  indexOfAnyCharCode: () => indexOfAnyCharCode,\n  indexOfNode: () => indexOfNode,\n  indicesOf: () => indicesOf,\n  inferredTypesContainingFile: () => inferredTypesContainingFile,\n  insertImports: () => insertImports,\n  insertLeadingStatement: () => insertLeadingStatement,\n  insertSorted: () => insertSorted,\n  insertStatementAfterCustomPrologue: () => insertStatementAfterCustomPrologue,\n  insertStatementAfterStandardPrologue: () => insertStatementAfterStandardPrologue,\n  insertStatementsAfterCustomPrologue: () => insertStatementsAfterCustomPrologue,\n  insertStatementsAfterStandardPrologue: () => insertStatementsAfterStandardPrologue,\n  intersperse: () => intersperse,\n  introducesArgumentsExoticObject: () => introducesArgumentsExoticObject,\n  inverseJsxOptionMap: () => inverseJsxOptionMap,\n  isAbstractConstructorSymbol: () => isAbstractConstructorSymbol,\n  isAbstractModifier: () => isAbstractModifier,\n  isAccessExpression: () => isAccessExpression,\n  isAccessibilityModifier: () => isAccessibilityModifier,\n  isAccessor: () => isAccessor,\n  isAccessorModifier: () => isAccessorModifier,\n  isAliasSymbolDeclaration: () => isAliasSymbolDeclaration,\n  isAliasableExpression: () => isAliasableExpression,\n  isAmbientModule: () => isAmbientModule,\n  isAmbientPropertyDeclaration: () => isAmbientPropertyDeclaration,\n  isAnnotation: () => isAnnotation,\n  isAnnotationDeclaration: () => isAnnotationDeclaration,\n  isAnnotationElement: () => isAnnotationElement,\n  isAnnotationPropertyDeclaration: () => isAnnotationPropertyDeclaration,\n  isAnyDirectorySeparator: () => isAnyDirectorySeparator,\n  isAnyImportOrBareOrAccessedRequire: () => isAnyImportOrBareOrAccessedRequire,\n  isAnyImportOrReExport: () => isAnyImportOrReExport,\n  isAnyImportSyntax: () => isAnyImportSyntax,\n  isAnySupportedFileExtension: () => isAnySupportedFileExtension,\n  isApplicableVersionedTypesKey: () => isApplicableVersionedTypesKey,\n  isArgumentExpressionOfElementAccess: () => isArgumentExpressionOfElementAccess,\n  isArkTsDecorator: () => isArkTsDecorator,\n  isArray: () => isArray,\n  isArrayBindingElement: () => isArrayBindingElement,\n  isArrayBindingOrAssignmentPattern: () => isArrayBindingOrAssignmentPattern,\n  isArrayBindingPattern: () => isArrayBindingPattern,\n  isArrayLiteralExpression: () => isArrayLiteralExpression,\n  isArrayLiteralOrObjectLiteralDestructuringPattern: () => isArrayLiteralOrObjectLiteralDestructuringPattern,\n  isArrayTypeNode: () => isArrayTypeNode,\n  isArrowFunction: () => isArrowFunction,\n  isAsExpression: () => isAsExpression,\n  isAssertClause: () => isAssertClause,\n  isAssertEntry: () => isAssertEntry,\n  isAssertionExpression: () => isAssertionExpression,\n  isAssertionKey: () => isAssertionKey,\n  isAssertsKeyword: () => isAssertsKeyword,\n  isAssignmentDeclaration: () => isAssignmentDeclaration,\n  isAssignmentExpression: () => isAssignmentExpression,\n  isAssignmentOperator: () => isAssignmentOperator,\n  isAssignmentPattern: () => isAssignmentPattern,\n  isAssignmentTarget: () => isAssignmentTarget,\n  isAsteriskToken: () => isAsteriskToken,\n  isAsyncFunction: () => isAsyncFunction,\n  isAsyncModifier: () => isAsyncModifier,\n  isAutoAccessorPropertyDeclaration: () => isAutoAccessorPropertyDeclaration,\n  isAwaitExpression: () => isAwaitExpression,\n  isAwaitKeyword: () => isAwaitKeyword,\n  isBigIntLiteral: () => isBigIntLiteral,\n  isBinaryExpression: () => isBinaryExpression,\n  isBinaryOperatorToken: () => isBinaryOperatorToken,\n  isBindableObjectDefinePropertyCall: () => isBindableObjectDefinePropertyCall,\n  isBindableStaticAccessExpression: () => isBindableStaticAccessExpression,\n  isBindableStaticElementAccessExpression: () => isBindableStaticElementAccessExpression,\n  isBindableStaticNameExpression: () => isBindableStaticNameExpression,\n  isBindingElement: () => isBindingElement,\n  isBindingName: () => isBindingName,\n  isBindingOrAssignmentPattern: () => isBindingOrAssignmentPattern,\n  isBindingPattern: () => isBindingPattern,\n  isBlock: () => isBlock,\n  isBlockOrCatchScoped: () => isBlockOrCatchScoped,\n  isBlockScope: () => isBlockScope,\n  isBlockScopedContainerTopLevel: () => isBlockScopedContainerTopLevel,\n  isBooleanLiteral: () => isBooleanLiteral,\n  isBreakOrContinueStatement: () => isBreakOrContinueStatement,\n  isBreakStatement: () => isBreakStatement,\n  isBuildInfoFile: () => isBuildInfoFile,\n  isBuilderProgram: () => isBuilderProgram2,\n  isBundle: () => isBundle,\n  isBundleFileTextLike: () => isBundleFileTextLike,\n  isCallChain: () => isCallChain,\n  isCallExpression: () => isCallExpression,\n  isCallExpressionTarget: () => isCallExpressionTarget,\n  isCallLikeExpression: () => isCallLikeExpression,\n  isCallOrNewExpression: () => isCallOrNewExpression,\n  isCallOrNewExpressionTarget: () => isCallOrNewExpressionTarget,\n  isCallSignatureDeclaration: () => isCallSignatureDeclaration,\n  isCallToHelper: () => isCallToHelper,\n  isCalledStructDeclaration: () => isCalledStructDeclaration,\n  isCaseBlock: () => isCaseBlock,\n  isCaseClause: () => isCaseClause,\n  isCaseOrDefaultClause: () => isCaseOrDefaultClause,\n  isCatchClause: () => isCatchClause,\n  isCatchClauseVariableDeclaration: () => isCatchClauseVariableDeclaration,\n  isCatchClauseVariableDeclarationOrBindingElement: () => isCatchClauseVariableDeclarationOrBindingElement,\n  isCheckJsEnabledForFile: () => isCheckJsEnabledForFile,\n  isChildOfNodeWithKind: () => isChildOfNodeWithKind,\n  isCircularBuildOrder: () => isCircularBuildOrder,\n  isClassDeclaration: () => isClassDeclaration,\n  isClassElement: () => isClassElement,\n  isClassExpression: () => isClassExpression,\n  isClassLike: () => isClassLike,\n  isClassMemberModifier: () => isClassMemberModifier,\n  isClassOrTypeElement: () => isClassOrTypeElement,\n  isClassStaticBlockDeclaration: () => isClassStaticBlockDeclaration,\n  isCollapsedRange: () => isCollapsedRange,\n  isColonToken: () => isColonToken,\n  isCommaListExpression: () => isCommaListExpression,\n  isCommaSequence: () => isCommaSequence,\n  isCommaToken: () => isCommaToken,\n  isComment: () => isComment,\n  isCommonJsExportPropertyAssignment: () => isCommonJsExportPropertyAssignment,\n  isCommonJsExportedExpression: () => isCommonJsExportedExpression,\n  isCompoundAssignment: () => isCompoundAssignment,\n  isComputedNonLiteralName: () => isComputedNonLiteralName,\n  isComputedPropertyName: () => isComputedPropertyName,\n  isConciseBody: () => isConciseBody,\n  isConditionalExpression: () => isConditionalExpression,\n  isConditionalTypeNode: () => isConditionalTypeNode,\n  isConstTypeReference: () => isConstTypeReference,\n  isConstructSignatureDeclaration: () => isConstructSignatureDeclaration,\n  isConstructorDeclaration: () => isConstructorDeclaration,\n  isConstructorTypeNode: () => isConstructorTypeNode,\n  isContextualKeyword: () => isContextualKeyword,\n  isContinueStatement: () => isContinueStatement,\n  isCustomPrologue: () => isCustomPrologue,\n  isDebuggerStatement: () => isDebuggerStatement,\n  isDeclaration: () => isDeclaration,\n  isDeclarationBindingElement: () => isDeclarationBindingElement,\n  isDeclarationFileName: () => isDeclarationFileName,\n  isDeclarationName: () => isDeclarationName,\n  isDeclarationNameOfEnumOrNamespace: () => isDeclarationNameOfEnumOrNamespace,\n  isDeclarationReadonly: () => isDeclarationReadonly,\n  isDeclarationStatement: () => isDeclarationStatement,\n  isDeclarationWithTypeParameterChildren: () => isDeclarationWithTypeParameterChildren,\n  isDeclarationWithTypeParameters: () => isDeclarationWithTypeParameters,\n  isDecorator: () => isDecorator,\n  isDecoratorOrAnnotation: () => isDecoratorOrAnnotation,\n  isDecoratorTarget: () => isDecoratorTarget,\n  isDefaultClause: () => isDefaultClause,\n  isDefaultImport: () => isDefaultImport,\n  isDefaultedExpandoInitializer: () => isDefaultedExpandoInitializer,\n  isDeleteExpression: () => isDeleteExpression,\n  isDeleteTarget: () => isDeleteTarget,\n  isDeprecatedDeclaration: () => isDeprecatedDeclaration,\n  isDestructuringAssignment: () => isDestructuringAssignment,\n  isDiagnosticWithLocation: () => isDiagnosticWithLocation,\n  isDiskPathRoot: () => isDiskPathRoot,\n  isDoStatement: () => isDoStatement,\n  isDotDotDotToken: () => isDotDotDotToken,\n  isDottedName: () => isDottedName,\n  isDynamicName: () => isDynamicName,\n  isESSymbolIdentifier: () => isESSymbolIdentifier,\n  isEffectiveExternalModule: () => isEffectiveExternalModule,\n  isEffectiveModuleDeclaration: () => isEffectiveModuleDeclaration,\n  isEffectiveStrictModeSourceFile: () => isEffectiveStrictModeSourceFile,\n  isElementAccessChain: () => isElementAccessChain,\n  isElementAccessExpression: () => isElementAccessExpression,\n  isEmitNodeModulesFiles: () => isEmitNodeModulesFiles,\n  isEmittedFileOfProgram: () => isEmittedFileOfProgram,\n  isEmptyArrayLiteral: () => isEmptyArrayLiteral,\n  isEmptyBindingElement: () => isEmptyBindingElement,\n  isEmptyBindingPattern: () => isEmptyBindingPattern,\n  isEmptyObjectLiteral: () => isEmptyObjectLiteral,\n  isEmptyStatement: () => isEmptyStatement,\n  isEndOfDeclarationMarker: () => isEndOfDeclarationMarker,\n  isEntityName: () => isEntityName,\n  isEntityNameExpression: () => isEntityNameExpression,\n  isEnumConst: () => isEnumConst,\n  isEnumDeclaration: () => isEnumDeclaration,\n  isEnumMember: () => isEnumMember,\n  isEqualityOperatorKind: () => isEqualityOperatorKind,\n  isEqualsGreaterThanToken: () => isEqualsGreaterThanToken,\n  isEtsComponentExpression: () => isEtsComponentExpression,\n  isEtsFunctionDecorators: () => isEtsFunctionDecorators,\n  isExclamationToken: () => isExclamationToken,\n  isExcludedFile: () => isExcludedFile,\n  isExclusivelyTypeOnlyImportOrExport: () => isExclusivelyTypeOnlyImportOrExport,\n  isExportAssignment: () => isExportAssignment,\n  isExportDeclaration: () => isExportDeclaration,\n  isExportModifier: () => isExportModifier,\n  isExportName: () => isExportName,\n  isExportNamespaceAsDefaultDeclaration: () => isExportNamespaceAsDefaultDeclaration,\n  isExportSpecifier: () => isExportSpecifier,\n  isExportsIdentifier: () => isExportsIdentifier,\n  isExportsOrModuleExportsOrAlias: () => isExportsOrModuleExportsOrAlias,\n  isExpression: () => isExpression,\n  isExpressionNode: () => isExpressionNode,\n  isExpressionOfExternalModuleImportEqualsDeclaration: () => isExpressionOfExternalModuleImportEqualsDeclaration,\n  isExpressionOfOptionalChainRoot: () => isExpressionOfOptionalChainRoot,\n  isExpressionStatement: () => isExpressionStatement,\n  isExpressionWithTypeArguments: () => isExpressionWithTypeArguments,\n  isExpressionWithTypeArgumentsInClassExtendsClause: () => isExpressionWithTypeArgumentsInClassExtendsClause,\n  isExternalModule: () => isExternalModule,\n  isExternalModuleAugmentation: () => isExternalModuleAugmentation,\n  isExternalModuleImportEqualsDeclaration: () => isExternalModuleImportEqualsDeclaration,\n  isExternalModuleIndicator: () => isExternalModuleIndicator,\n  isExternalModuleNameRelative: () => isExternalModuleNameRelative,\n  isExternalModuleReference: () => isExternalModuleReference,\n  isExternalModuleSymbol: () => isExternalModuleSymbol,\n  isExternalOrCommonJsModule: () => isExternalOrCommonJsModule,\n  isFileLevelUniqueName: () => isFileLevelUniqueName,\n  isFileProbablyExternalModule: () => isFileProbablyExternalModule,\n  isFirstDeclarationOfSymbolParameter: () => isFirstDeclarationOfSymbolParameter,\n  isFixablePromiseHandler: () => isFixablePromiseHandler,\n  isForInOrOfStatement: () => isForInOrOfStatement,\n  isForInStatement: () => isForInStatement,\n  isForInitializer: () => isForInitializer,\n  isForOfStatement: () => isForOfStatement,\n  isForStatement: () => isForStatement,\n  isFunctionBlock: () => isFunctionBlock,\n  isFunctionBody: () => isFunctionBody,\n  isFunctionDeclaration: () => isFunctionDeclaration,\n  isFunctionExpression: () => isFunctionExpression,\n  isFunctionExpressionOrArrowFunction: () => isFunctionExpressionOrArrowFunction,\n  isFunctionLike: () => isFunctionLike,\n  isFunctionLikeDeclaration: () => isFunctionLikeDeclaration,\n  isFunctionLikeKind: () => isFunctionLikeKind,\n  isFunctionLikeOrClassStaticBlockDeclaration: () => isFunctionLikeOrClassStaticBlockDeclaration,\n  isFunctionOrConstructorTypeNode: () => isFunctionOrConstructorTypeNode,\n  isFunctionOrModuleBlock: () => isFunctionOrModuleBlock,\n  isFunctionSymbol: () => isFunctionSymbol,\n  isFunctionTypeNode: () => isFunctionTypeNode,\n  isFutureReservedKeyword: () => isFutureReservedKeyword,\n  isGeneratedIdentifier: () => isGeneratedIdentifier,\n  isGeneratedPrivateIdentifier: () => isGeneratedPrivateIdentifier,\n  isGetAccessor: () => isGetAccessor,\n  isGetAccessorDeclaration: () => isGetAccessorDeclaration,\n  isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,\n  isGlobalDeclaration: () => isGlobalDeclaration,\n  isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,\n  isHeritageClause: () => isHeritageClause,\n  isHoistedFunction: () => isHoistedFunction,\n  isHoistedVariableStatement: () => isHoistedVariableStatement,\n  isIdentifier: () => isIdentifier,\n  isIdentifierANonContextualKeyword: () => isIdentifierANonContextualKeyword,\n  isIdentifierName: () => isIdentifierName,\n  isIdentifierOrPrivateIdentifier: () => isIdentifierOrPrivateIdentifier,\n  isIdentifierOrThisTypeNode: () => isIdentifierOrThisTypeNode,\n  isIdentifierPart: () => isIdentifierPart,\n  isIdentifierStart: () => isIdentifierStart,\n  isIdentifierText: () => isIdentifierText,\n  isIdentifierTypePredicate: () => isIdentifierTypePredicate,\n  isIdentifierTypeReference: () => isIdentifierTypeReference,\n  isIfStatement: () => isIfStatement,\n  isIgnoredFileFromWildCardWatching: () => isIgnoredFileFromWildCardWatching,\n  isImplicitGlob: () => isImplicitGlob,\n  isImportCall: () => isImportCall,\n  isImportClause: () => isImportClause,\n  isImportDeclaration: () => isImportDeclaration,\n  isImportEqualsDeclaration: () => isImportEqualsDeclaration,\n  isImportKeyword: () => isImportKeyword,\n  isImportMeta: () => isImportMeta,\n  isImportOrExportSpecifier: () => isImportOrExportSpecifier,\n  isImportOrExportSpecifierName: () => isImportOrExportSpecifierName,\n  isImportSpecifier: () => isImportSpecifier,\n  isImportTypeAssertionContainer: () => isImportTypeAssertionContainer,\n  isImportTypeNode: () => isImportTypeNode,\n  isImportableFile: () => isImportableFile,\n  isInBuildOrPageTransitionContext: () => isInBuildOrPageTransitionContext,\n  isInComment: () => isInComment,\n  isInETSFile: () => isInETSFile,\n  isInEtsFile: () => isInEtsFile,\n  isInEtsFileWithOriginal: () => isInEtsFileWithOriginal,\n  isInExpressionContext: () => isInExpressionContext,\n  isInJSDoc: () => isInJSDoc,\n  isInJSFile: () => isInJSFile,\n  isInJSXText: () => isInJSXText,\n  isInJsonFile: () => isInJsonFile,\n  isInMarkedKitImport: () => isInMarkedKitImport,\n  isInNonReferenceComment: () => isInNonReferenceComment,\n  isInReferenceComment: () => isInReferenceComment,\n  isInRightSideOfInternalImportEqualsDeclaration: () => isInRightSideOfInternalImportEqualsDeclaration,\n  isInString: () => isInString,\n  isInTemplateString: () => isInTemplateString,\n  isInTopLevelContext: () => isInTopLevelContext,\n  isIncrementalCompilation: () => isIncrementalCompilation,\n  isIndexSignatureDeclaration: () => isIndexSignatureDeclaration,\n  isIndexedAccessTypeNode: () => isIndexedAccessTypeNode,\n  isInferTypeNode: () => isInferTypeNode,\n  isInfinityOrNaNString: () => isInfinityOrNaNString,\n  isInitializedProperty: () => isInitializedProperty,\n  isInsideJsxElement: () => isInsideJsxElement,\n  isInsideJsxElementOrAttribute: () => isInsideJsxElementOrAttribute,\n  isInsideNodeModules: () => isInsideNodeModules,\n  isInsideTemplateLiteral: () => isInsideTemplateLiteral,\n  isInstantiatedModule: () => isInstantiatedModule,\n  isInterfaceDeclaration: () => isInterfaceDeclaration,\n  isInternalDeclaration: () => isInternalDeclaration,\n  isInternalModuleImportEqualsDeclaration: () => isInternalModuleImportEqualsDeclaration,\n  isInternalName: () => isInternalName,\n  isIntersectionTypeNode: () => isIntersectionTypeNode,\n  isIntrinsicJsxName: () => isIntrinsicJsxName,\n  isIterationStatement: () => isIterationStatement,\n  isJSDoc: () => isJSDoc,\n  isJSDocAllType: () => isJSDocAllType,\n  isJSDocAugmentsTag: () => isJSDocAugmentsTag,\n  isJSDocAuthorTag: () => isJSDocAuthorTag,\n  isJSDocCallbackTag: () => isJSDocCallbackTag,\n  isJSDocClassTag: () => isJSDocClassTag,\n  isJSDocCommentContainingNode: () => isJSDocCommentContainingNode,\n  isJSDocConstructSignature: () => isJSDocConstructSignature,\n  isJSDocDeprecatedTag: () => isJSDocDeprecatedTag,\n  isJSDocEnumTag: () => isJSDocEnumTag,\n  isJSDocFunctionType: () => isJSDocFunctionType,\n  isJSDocImplementsTag: () => isJSDocImplementsTag,\n  isJSDocIndexSignature: () => isJSDocIndexSignature,\n  isJSDocLikeText: () => isJSDocLikeText,\n  isJSDocLink: () => isJSDocLink,\n  isJSDocLinkCode: () => isJSDocLinkCode,\n  isJSDocLinkLike: () => isJSDocLinkLike,\n  isJSDocLinkPlain: () => isJSDocLinkPlain,\n  isJSDocMemberName: () => isJSDocMemberName,\n  isJSDocNameReference: () => isJSDocNameReference,\n  isJSDocNamepathType: () => isJSDocNamepathType,\n  isJSDocNamespaceBody: () => isJSDocNamespaceBody,\n  isJSDocNode: () => isJSDocNode,\n  isJSDocNonNullableType: () => isJSDocNonNullableType,\n  isJSDocNullableType: () => isJSDocNullableType,\n  isJSDocOptionalType: () => isJSDocOptionalType,\n  isJSDocOverrideTag: () => isJSDocOverrideTag,\n  isJSDocParameterTag: () => isJSDocParameterTag,\n  isJSDocPrivateTag: () => isJSDocPrivateTag,\n  isJSDocPropertyLikeTag: () => isJSDocPropertyLikeTag,\n  isJSDocPropertyTag: () => isJSDocPropertyTag,\n  isJSDocProtectedTag: () => isJSDocProtectedTag,\n  isJSDocPublicTag: () => isJSDocPublicTag,\n  isJSDocReadonlyTag: () => isJSDocReadonlyTag,\n  isJSDocReturnTag: () => isJSDocReturnTag,\n  isJSDocSeeTag: () => isJSDocSeeTag,\n  isJSDocSignature: () => isJSDocSignature,\n  isJSDocTag: () => isJSDocTag,\n  isJSDocTemplateTag: () => isJSDocTemplateTag,\n  isJSDocThisTag: () => isJSDocThisTag,\n  isJSDocTypeAlias: () => isJSDocTypeAlias,\n  isJSDocTypeAssertion: () => isJSDocTypeAssertion,\n  isJSDocTypeExpression: () => isJSDocTypeExpression,\n  isJSDocTypeLiteral: () => isJSDocTypeLiteral,\n  isJSDocTypeTag: () => isJSDocTypeTag,\n  isJSDocTypedefTag: () => isJSDocTypedefTag,\n  isJSDocUnknownTag: () => isJSDocUnknownTag,\n  isJSDocUnknownType: () => isJSDocUnknownType,\n  isJSDocVariadicType: () => isJSDocVariadicType,\n  isJSXTagName: () => isJSXTagName,\n  isJsonEqual: () => isJsonEqual,\n  isJsonSourceFile: () => isJsonSourceFile,\n  isJsxAttribute: () => isJsxAttribute,\n  isJsxAttributeLike: () => isJsxAttributeLike,\n  isJsxAttributes: () => isJsxAttributes,\n  isJsxChild: () => isJsxChild,\n  isJsxClosingElement: () => isJsxClosingElement,\n  isJsxClosingFragment: () => isJsxClosingFragment,\n  isJsxElement: () => isJsxElement,\n  isJsxExpression: () => isJsxExpression,\n  isJsxFragment: () => isJsxFragment,\n  isJsxOpeningElement: () => isJsxOpeningElement,\n  isJsxOpeningFragment: () => isJsxOpeningFragment,\n  isJsxOpeningLikeElement: () => isJsxOpeningLikeElement,\n  isJsxOpeningLikeElementTagName: () => isJsxOpeningLikeElementTagName,\n  isJsxSelfClosingElement: () => isJsxSelfClosingElement,\n  isJsxSpreadAttribute: () => isJsxSpreadAttribute,\n  isJsxTagNameExpression: () => isJsxTagNameExpression,\n  isJsxText: () => isJsxText,\n  isJumpStatementTarget: () => isJumpStatementTarget,\n  isKeyword: () => isKeyword,\n  isKnownSymbol: () => isKnownSymbol,\n  isLabelName: () => isLabelName,\n  isLabelOfLabeledStatement: () => isLabelOfLabeledStatement,\n  isLabeledStatement: () => isLabeledStatement,\n  isLateVisibilityPaintedStatement: () => isLateVisibilityPaintedStatement,\n  isLeftHandSideExpression: () => isLeftHandSideExpression,\n  isLeftHandSideOfAssignment: () => isLeftHandSideOfAssignment,\n  isLet: () => isLet,\n  isLineBreak: () => isLineBreak,\n  isLiteralComputedPropertyDeclarationName: () => isLiteralComputedPropertyDeclarationName,\n  isLiteralExpression: () => isLiteralExpression,\n  isLiteralExpressionOfObject: () => isLiteralExpressionOfObject,\n  isLiteralImportTypeNode: () => isLiteralImportTypeNode,\n  isLiteralKind: () => isLiteralKind,\n  isLiteralLikeAccess: () => isLiteralLikeAccess,\n  isLiteralLikeElementAccess: () => isLiteralLikeElementAccess,\n  isLiteralNameOfPropertyDeclarationOrIndexAccess: () => isLiteralNameOfPropertyDeclarationOrIndexAccess,\n  isLiteralTypeLikeExpression: () => isLiteralTypeLikeExpression,\n  isLiteralTypeNode: () => isLiteralTypeNode,\n  isLocalName: () => isLocalName,\n  isLogicalOperator: () => isLogicalOperator,\n  isLogicalOrCoalescingAssignmentExpression: () => isLogicalOrCoalescingAssignmentExpression,\n  isLogicalOrCoalescingAssignmentOperator: () => isLogicalOrCoalescingAssignmentOperator,\n  isMappedTypeNode: () => isMappedTypeNode,\n  isMemberName: () => isMemberName,\n  isMergeDeclarationMarker: () => isMergeDeclarationMarker,\n  isMetaProperty: () => isMetaProperty,\n  isMethodDeclaration: () => isMethodDeclaration,\n  isMethodOrAccessor: () => isMethodOrAccessor,\n  isMethodSignature: () => isMethodSignature,\n  isMinusToken: () => isMinusToken,\n  isMissingDeclaration: () => isMissingDeclaration,\n  isMixedCompilerSDKPath: () => isMixedCompilerSDKPath,\n  isModifier: () => isModifier,\n  isModifierKind: () => isModifierKind,\n  isModifierLike: () => isModifierLike,\n  isModuleAugmentationExternal: () => isModuleAugmentationExternal,\n  isModuleBlock: () => isModuleBlock,\n  isModuleBody: () => isModuleBody,\n  isModuleDeclaration: () => isModuleDeclaration,\n  isModuleExportsAccessExpression: () => isModuleExportsAccessExpression,\n  isModuleIdentifier: () => isModuleIdentifier,\n  isModuleName: () => isModuleName,\n  isModuleOrEnumDeclaration: () => isModuleOrEnumDeclaration,\n  isModuleReference: () => isModuleReference,\n  isModuleSpecifierLike: () => isModuleSpecifierLike,\n  isModuleWithStringLiteralName: () => isModuleWithStringLiteralName,\n  isNameOfFunctionDeclaration: () => isNameOfFunctionDeclaration,\n  isNameOfModuleDeclaration: () => isNameOfModuleDeclaration,\n  isNamedClassElement: () => isNamedClassElement,\n  isNamedDeclaration: () => isNamedDeclaration,\n  isNamedExportBindings: () => isNamedExportBindings,\n  isNamedExports: () => isNamedExports,\n  isNamedImportBindings: () => isNamedImportBindings,\n  isNamedImports: () => isNamedImports,\n  isNamedImportsOrExports: () => isNamedImportsOrExports,\n  isNamedTupleMember: () => isNamedTupleMember,\n  isNamespaceBody: () => isNamespaceBody,\n  isNamespaceExport: () => isNamespaceExport,\n  isNamespaceExportDeclaration: () => isNamespaceExportDeclaration,\n  isNamespaceImport: () => isNamespaceImport,\n  isNamespaceReexportDeclaration: () => isNamespaceReexportDeclaration,\n  isNewExpression: () => isNewExpression,\n  isNewExpressionTarget: () => isNewExpressionTarget,\n  isNightly: () => isNightly,\n  isNoSubstitutionTemplateLiteral: () => isNoSubstitutionTemplateLiteral,\n  isNode: () => isNode,\n  isNodeArray: () => isNodeArray,\n  isNodeArrayMultiLine: () => isNodeArrayMultiLine,\n  isNodeDescendantOf: () => isNodeDescendantOf,\n  isNodeKind: () => isNodeKind,\n  isNodeLikeSystem: () => isNodeLikeSystem,\n  isNodeModulesDirectory: () => isNodeModulesDirectory,\n  isNodeWithPossibleHoistedDeclaration: () => isNodeWithPossibleHoistedDeclaration,\n  isNonContextualKeyword: () => isNonContextualKeyword,\n  isNonGlobalAmbientModule: () => isNonGlobalAmbientModule,\n  isNonGlobalDeclaration: () => isNonGlobalDeclaration,\n  isNonNullChain: () => isNonNullChain,\n  isNonNullExpression: () => isNonNullExpression,\n  isNonStaticMethodOrAccessorWithPrivateName: () => isNonStaticMethodOrAccessorWithPrivateName,\n  isNotEmittedOrPartiallyEmittedNode: () => isNotEmittedOrPartiallyEmittedNode,\n  isNotEmittedStatement: () => isNotEmittedStatement,\n  isNullishCoalesce: () => isNullishCoalesce,\n  isNumber: () => isNumber,\n  isNumericLiteral: () => isNumericLiteral,\n  isNumericLiteralName: () => isNumericLiteralName,\n  isOHModules: () => isOHModules,\n  isOHModulesAtTypesDirectory: () => isOHModulesAtTypesDirectory,\n  isOHModulesDirectory: () => isOHModulesDirectory,\n  isOHModulesReference: () => isOHModulesReference,\n  isObjectBindingElementWithoutPropertyName: () => isObjectBindingElementWithoutPropertyName,\n  isObjectBindingOrAssignmentElement: () => isObjectBindingOrAssignmentElement,\n  isObjectBindingOrAssignmentPattern: () => isObjectBindingOrAssignmentPattern,\n  isObjectBindingPattern: () => isObjectBindingPattern,\n  isObjectLiteralElement: () => isObjectLiteralElement,\n  isObjectLiteralElementLike: () => isObjectLiteralElementLike,\n  isObjectLiteralExpression: () => isObjectLiteralExpression,\n  isObjectLiteralMethod: () => isObjectLiteralMethod,\n  isObjectLiteralOrClassExpressionMethodOrAccessor: () => isObjectLiteralOrClassExpressionMethodOrAccessor,\n  isObjectTypeDeclaration: () => isObjectTypeDeclaration,\n  isOctalDigit: () => isOctalDigit,\n  isOhpm: () => isOhpm,\n  isOhpmAndOhModules: () => isOhpmAndOhModules,\n  isOmittedExpression: () => isOmittedExpression,\n  isOnlyAnnotationsAreExportedOrImported: () => isOnlyAnnotationsAreExportedOrImported,\n  isOptionalChain: () => isOptionalChain,\n  isOptionalChainRoot: () => isOptionalChainRoot,\n  isOptionalTypeNode: () => isOptionalTypeNode,\n  isOuterExpression: () => isOuterExpression,\n  isOutermostOptionalChain: () => isOutermostOptionalChain,\n  isOverrideModifier: () => isOverrideModifier,\n  isPackedArrayLiteral: () => isPackedArrayLiteral,\n  isParameter: () => isParameter,\n  isParameterDeclaration: () => isParameterDeclaration,\n  isParameterOrCatchClauseVariable: () => isParameterOrCatchClauseVariable,\n  isParameterPropertyDeclaration: () => isParameterPropertyDeclaration,\n  isParameterPropertyModifier: () => isParameterPropertyModifier,\n  isParenthesizedExpression: () => isParenthesizedExpression,\n  isParenthesizedTypeNode: () => isParenthesizedTypeNode,\n  isParseTreeNode: () => isParseTreeNode,\n  isPartOfTypeNode: () => isPartOfTypeNode,\n  isPartOfTypeQuery: () => isPartOfTypeQuery,\n  isPartiallyEmittedExpression: () => isPartiallyEmittedExpression,\n  isPatternMatch: () => isPatternMatch,\n  isPinnedComment: () => isPinnedComment,\n  isPlainJsFile: () => isPlainJsFile,\n  isPlusToken: () => isPlusToken,\n  isPossiblyTypeArgumentPosition: () => isPossiblyTypeArgumentPosition,\n  isPostfixUnaryExpression: () => isPostfixUnaryExpression,\n  isPrefixUnaryExpression: () => isPrefixUnaryExpression,\n  isPrivateIdentifier: () => isPrivateIdentifier,\n  isPrivateIdentifierClassElementDeclaration: () => isPrivateIdentifierClassElementDeclaration,\n  isPrivateIdentifierPropertyAccessExpression: () => isPrivateIdentifierPropertyAccessExpression,\n  isPrivateIdentifierSymbol: () => isPrivateIdentifierSymbol,\n  isProgramBundleEmitBuildInfo: () => isProgramBundleEmitBuildInfo,\n  isProgramUptoDate: () => isProgramUptoDate,\n  isPrologueDirective: () => isPrologueDirective,\n  isPropertyAccessChain: () => isPropertyAccessChain,\n  isPropertyAccessEntityNameExpression: () => isPropertyAccessEntityNameExpression,\n  isPropertyAccessExpression: () => isPropertyAccessExpression,\n  isPropertyAccessOrQualifiedName: () => isPropertyAccessOrQualifiedName,\n  isPropertyAccessOrQualifiedNameOrImportTypeNode: () => isPropertyAccessOrQualifiedNameOrImportTypeNode,\n  isPropertyAssignment: () => isPropertyAssignment,\n  isPropertyDeclaration: () => isPropertyDeclaration,\n  isPropertyName: () => isPropertyName,\n  isPropertyNameLiteral: () => isPropertyNameLiteral,\n  isPropertySignature: () => isPropertySignature,\n  isPrototypeAccess: () => isPrototypeAccess,\n  isPrototypePropertyAssignment: () => isPrototypePropertyAssignment,\n  isPunctuation: () => isPunctuation,\n  isPushOrUnshiftIdentifier: () => isPushOrUnshiftIdentifier,\n  isQualifiedName: () => isQualifiedName,\n  isQuestionDotToken: () => isQuestionDotToken,\n  isQuestionOrExclamationToken: () => isQuestionOrExclamationToken,\n  isQuestionOrPlusOrMinusToken: () => isQuestionOrPlusOrMinusToken,\n  isQuestionToken: () => isQuestionToken,\n  isRawSourceMap: () => isRawSourceMap,\n  isReadonlyKeyword: () => isReadonlyKeyword,\n  isReadonlyKeywordOrPlusOrMinusToken: () => isReadonlyKeywordOrPlusOrMinusToken,\n  isRecognizedTripleSlashComment: () => isRecognizedTripleSlashComment,\n  isReferenceFileLocation: () => isReferenceFileLocation,\n  isReferencedFile: () => isReferencedFile,\n  isRegularExpressionLiteral: () => isRegularExpressionLiteral,\n  isRequireCall: () => isRequireCall,\n  isRequireVariableStatement: () => isRequireVariableStatement,\n  isRestParameter: () => isRestParameter,\n  isRestTypeNode: () => isRestTypeNode,\n  isReturnStatement: () => isReturnStatement,\n  isReturnStatementWithFixablePromiseHandler: () => isReturnStatementWithFixablePromiseHandler,\n  isRightSideOfAccessExpression: () => isRightSideOfAccessExpression,\n  isRightSideOfPropertyAccess: () => isRightSideOfPropertyAccess,\n  isRightSideOfQualifiedName: () => isRightSideOfQualifiedName,\n  isRightSideOfQualifiedNameOrPropertyAccess: () => isRightSideOfQualifiedNameOrPropertyAccess,\n  isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName: () => isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName,\n  isRootedDiskPath: () => isRootedDiskPath,\n  isSameEntityName: () => isSameEntityName,\n  isSatisfiesExpression: () => isSatisfiesExpression,\n  isScopeMarker: () => isScopeMarker,\n  isSemicolonClassElement: () => isSemicolonClassElement,\n  isSendableFunctionOrType: () => isSendableFunctionOrType,\n  isSetAccessor: () => isSetAccessor,\n  isSetAccessorDeclaration: () => isSetAccessorDeclaration,\n  isShebangTrivia: () => isShebangTrivia,\n  isShorthandAmbientModuleSymbol: () => isShorthandAmbientModuleSymbol,\n  isShorthandPropertyAssignment: () => isShorthandPropertyAssignment,\n  isSignedNumericLiteral: () => isSignedNumericLiteral,\n  isSimpleCopiableExpression: () => isSimpleCopiableExpression,\n  isSimpleInlineableExpression: () => isSimpleInlineableExpression,\n  isSingleOrDoubleQuote: () => isSingleOrDoubleQuote,\n  isSourceFile: () => isSourceFile,\n  isSourceFileFromLibrary: () => isSourceFileFromLibrary,\n  isSourceFileJS: () => isSourceFileJS,\n  isSourceFileNotJS: () => isSourceFileNotJS,\n  isSourceFileNotJson: () => isSourceFileNotJson,\n  isSourceMapping: () => isSourceMapping,\n  isSpecialPropertyDeclaration: () => isSpecialPropertyDeclaration,\n  isSpreadAssignment: () => isSpreadAssignment,\n  isSpreadElement: () => isSpreadElement,\n  isStatement: () => isStatement,\n  isStatementButNotDeclaration: () => isStatementButNotDeclaration,\n  isStatementOrBlock: () => isStatementOrBlock,\n  isStatementWithLocals: () => isStatementWithLocals,\n  isStatic: () => isStatic,\n  isStaticModifier: () => isStaticModifier,\n  isString: () => isString,\n  isStringAKeyword: () => isStringAKeyword,\n  isStringANonContextualKeyword: () => isStringANonContextualKeyword,\n  isStringDoubleQuoted: () => isStringDoubleQuoted,\n  isStringLiteral: () => isStringLiteral,\n  isStringLiteralLike: () => isStringLiteralLike,\n  isStringLiteralOrJsxExpression: () => isStringLiteralOrJsxExpression,\n  isStringLiteralOrTemplate: () => isStringLiteralOrTemplate,\n  isStringOrNumericLiteralLike: () => isStringOrNumericLiteralLike,\n  isStringOrRegularExpressionOrTemplateLiteral: () => isStringOrRegularExpressionOrTemplateLiteral,\n  isStringTextContainingNode: () => isStringTextContainingNode,\n  isStruct: () => isStruct,\n  isStructDeclaration: () => isStructDeclaration,\n  isSuperCall: () => isSuperCall,\n  isSuperKeyword: () => isSuperKeyword,\n  isSuperOrSuperProperty: () => isSuperOrSuperProperty,\n  isSuperProperty: () => isSuperProperty,\n  isSupportedSourceFileName: () => isSupportedSourceFileName,\n  isSwitchStatement: () => isSwitchStatement,\n  isSyntaxList: () => isSyntaxList,\n  isSyntheticExpression: () => isSyntheticExpression,\n  isSyntheticReference: () => isSyntheticReference,\n  isTagName: () => isTagName,\n  isTaggedTemplateExpression: () => isTaggedTemplateExpression,\n  isTaggedTemplateTag: () => isTaggedTemplateTag,\n  isTargetModulesDerectory: () => isTargetModulesDerectory,\n  isTemplateExpression: () => isTemplateExpression,\n  isTemplateHead: () => isTemplateHead,\n  isTemplateLiteral: () => isTemplateLiteral,\n  isTemplateLiteralKind: () => isTemplateLiteralKind,\n  isTemplateLiteralToken: () => isTemplateLiteralToken,\n  isTemplateLiteralTypeNode: () => isTemplateLiteralTypeNode,\n  isTemplateLiteralTypeSpan: () => isTemplateLiteralTypeSpan,\n  isTemplateMiddle: () => isTemplateMiddle,\n  isTemplateMiddleOrTemplateTail: () => isTemplateMiddleOrTemplateTail,\n  isTemplateSpan: () => isTemplateSpan,\n  isTemplateTail: () => isTemplateTail,\n  isTextWhiteSpaceLike: () => isTextWhiteSpaceLike,\n  isThis: () => isThis,\n  isThisContainerOrFunctionBlock: () => isThisContainerOrFunctionBlock,\n  isThisIdentifier: () => isThisIdentifier,\n  isThisInTypeQuery: () => isThisInTypeQuery,\n  isThisInitializedDeclaration: () => isThisInitializedDeclaration,\n  isThisInitializedObjectBindingExpression: () => isThisInitializedObjectBindingExpression,\n  isThisProperty: () => isThisProperty,\n  isThisTypeNode: () => isThisTypeNode,\n  isThisTypeParameter: () => isThisTypeParameter,\n  isThisTypePredicate: () => isThisTypePredicate,\n  isThrowStatement: () => isThrowStatement,\n  isToken: () => isToken,\n  isTokenInsideBuilder: () => isTokenInsideBuilder,\n  isTokenKind: () => isTokenKind,\n  isTraceEnabled: () => isTraceEnabled,\n  isTransientSymbol: () => isTransientSymbol,\n  isTrivia: () => isTrivia,\n  isTryStatement: () => isTryStatement,\n  isTupleTypeNode: () => isTupleTypeNode,\n  isTypeAlias: () => isTypeAlias,\n  isTypeAliasDeclaration: () => isTypeAliasDeclaration,\n  isTypeAssertion: () => isTypeAssertion,\n  isTypeAssertionExpression: () => isTypeAssertionExpression,\n  isTypeDeclaration: () => isTypeDeclaration,\n  isTypeElement: () => isTypeElement,\n  isTypeKeyword: () => isTypeKeyword,\n  isTypeKeywordToken: () => isTypeKeywordToken,\n  isTypeKeywordTokenOrIdentifier: () => isTypeKeywordTokenOrIdentifier,\n  isTypeLiteralNode: () => isTypeLiteralNode,\n  isTypeNode: () => isTypeNode,\n  isTypeNodeKind: () => isTypeNodeKind,\n  isTypeNodeOrTypeParameterDeclaration: () => isTypeNodeOrTypeParameterDeclaration,\n  isTypeOfExpression: () => isTypeOfExpression,\n  isTypeOnlyImportOrExportDeclaration: () => isTypeOnlyImportOrExportDeclaration,\n  isTypeOperatorNode: () => isTypeOperatorNode,\n  isTypeParameterDeclaration: () => isTypeParameterDeclaration,\n  isTypePredicateNode: () => isTypePredicateNode,\n  isTypeQueryNode: () => isTypeQueryNode,\n  isTypeReferenceNode: () => isTypeReferenceNode,\n  isTypeReferenceType: () => isTypeReferenceType,\n  isUMDExportSymbol: () => isUMDExportSymbol,\n  isUnaryExpression: () => isUnaryExpression,\n  isUnaryExpressionWithWrite: () => isUnaryExpressionWithWrite,\n  isUnicodeIdentifierStart: () => isUnicodeIdentifierStart,\n  isUnionTypeNode: () => isUnionTypeNode,\n  isUnparsedNode: () => isUnparsedNode,\n  isUnparsedPrepend: () => isUnparsedPrepend,\n  isUnparsedSource: () => isUnparsedSource,\n  isUnparsedTextLike: () => isUnparsedTextLike,\n  isUrl: () => isUrl,\n  isValidESSymbolDeclaration: () => isValidESSymbolDeclaration,\n  isValidTypeOnlyAliasUseSite: () => isValidTypeOnlyAliasUseSite,\n  isValueSignatureDeclaration: () => isValueSignatureDeclaration,\n  isVarConst: () => isVarConst,\n  isVariableDeclaration: () => isVariableDeclaration,\n  isVariableDeclarationInVariableStatement: () => isVariableDeclarationInVariableStatement,\n  isVariableDeclarationInitializedToBareOrAccessedRequire: () => isVariableDeclarationInitializedToBareOrAccessedRequire,\n  isVariableDeclarationInitializedToRequire: () => isVariableDeclarationInitializedToRequire,\n  isVariableDeclarationList: () => isVariableDeclarationList,\n  isVariableLike: () => isVariableLike,\n  isVariableLikeOrAccessor: () => isVariableLikeOrAccessor,\n  isVariableStatement: () => isVariableStatement,\n  isVirtualAttributeTypeArgument: () => isVirtualAttributeTypeArgument,\n  isVirtualConstructor: () => isVirtualConstructor,\n  isVoidExpression: () => isVoidExpression,\n  isWatchSet: () => isWatchSet,\n  isWhileStatement: () => isWhileStatement,\n  isWhiteSpaceLike: () => isWhiteSpaceLike,\n  isWhiteSpaceSingleLine: () => isWhiteSpaceSingleLine,\n  isWithStatement: () => isWithStatement,\n  isWriteAccess: () => isWriteAccess,\n  isWriteOnlyAccess: () => isWriteOnlyAccess,\n  isYieldExpression: () => isYieldExpression,\n  jsxModeNeedsExplicitImport: () => jsxModeNeedsExplicitImport,\n  keywordPart: () => keywordPart,\n  last: () => last,\n  lastOrUndefined: () => lastOrUndefined,\n  length: () => length,\n  libMap: () => libMap,\n  libs: () => libs,\n  lineBreakPart: () => lineBreakPart,\n  linkNamePart: () => linkNamePart,\n  linkPart: () => linkPart,\n  linkTextPart: () => linkTextPart,\n  listFiles: () => listFiles,\n  loadModuleFromGlobalCache: () => loadModuleFromGlobalCache,\n  loadWithModeAwareCache: () => loadWithModeAwareCache,\n  loadWithTypeDirectiveCache: () => loadWithTypeDirectiveCache,\n  makeIdentifierFromModuleName: () => makeIdentifierFromModuleName,\n  makeImport: () => makeImport,\n  makeImportIfNecessary: () => makeImportIfNecessary,\n  makeStringLiteral: () => makeStringLiteral,\n  mangleScopedPackageName: () => mangleScopedPackageName,\n  map: () => map,\n  mapAllOrFail: () => mapAllOrFail,\n  mapDefined: () => mapDefined,\n  mapDefinedEntries: () => mapDefinedEntries,\n  mapDefinedIterator: () => mapDefinedIterator,\n  mapDefinedValues: () => mapDefinedValues,\n  mapEntries: () => mapEntries,\n  mapIterator: () => mapIterator,\n  mapOneOrMany: () => mapOneOrMany,\n  mapToDisplayParts: () => mapToDisplayParts,\n  matchFiles: () => matchFiles,\n  matchPatternOrExact: () => matchPatternOrExact,\n  matchedText: () => matchedText,\n  matchesExclude: () => matchesExclude,\n  maybeBind: () => maybeBind,\n  maybeSetLocalizedDiagnosticMessages: () => maybeSetLocalizedDiagnosticMessages,\n  memoize: () => memoize,\n  memoizeOne: () => memoizeOne,\n  metadataHelper: () => metadataHelper,\n  min: () => min,\n  minAndMax: () => minAndMax,\n  missingFileModifiedTime: () => missingFileModifiedTime,\n  modifierToFlag: () => modifierToFlag,\n  modifiersToFlags: () => modifiersToFlags,\n  moduleOptionDeclaration: () => moduleOptionDeclaration,\n  moduleResolutionIsEqualTo: () => moduleResolutionIsEqualTo,\n  moduleResolutionOptionDeclarations: () => moduleResolutionOptionDeclarations,\n  moduleResolutionRespectsExports: () => moduleResolutionRespectsExports,\n  moduleResolutionUsesNodeModules: () => moduleResolutionUsesNodeModules,\n  moduleSpecifiers: () => ts_moduleSpecifiers_exports,\n  moveEmitHelpers: () => moveEmitHelpers,\n  moveRangeEnd: () => moveRangeEnd,\n  moveRangePastDecorators: () => moveRangePastDecorators,\n  moveRangePastModifiers: () => moveRangePastModifiers,\n  moveRangePos: () => moveRangePos,\n  moveSyntheticComments: () => moveSyntheticComments,\n  mutateMap: () => mutateMap,\n  mutateMapSkippingNewValues: () => mutateMapSkippingNewValues,\n  needsParentheses: () => needsParentheses,\n  needsScopeMarker: () => needsScopeMarker,\n  noEmitNotification: () => noEmitNotification,\n  noEmitSubstitution: () => noEmitSubstitution,\n  noTransformers: () => noTransformers,\n  noTruncationMaximumTruncationLength: () => noTruncationMaximumTruncationLength,\n  nodeCanBeDecorated: () => nodeCanBeDecorated,\n  nodeHasName: () => nodeHasName,\n  nodeIsDecorated: () => nodeIsDecorated,\n  nodeIsMissing: () => nodeIsMissing,\n  nodeIsPresent: () => nodeIsPresent,\n  nodeIsSynthesized: () => nodeIsSynthesized,\n  nodeModuleNameResolver: () => nodeModuleNameResolver,\n  nodeModulesPathPart: () => nodeModulesPathPart,\n  nodeOrChildIsDecorated: () => nodeOrChildIsDecorated,\n  nodeOverlapsWithStartEnd: () => nodeOverlapsWithStartEnd,\n  nodePosToString: () => nodePosToString,\n  nodeSeenTracker: () => nodeSeenTracker,\n  nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,\n  nodeToDisplayParts: () => nodeToDisplayParts,\n  noop: () => noop,\n  noopFileWatcher: () => noopFileWatcher,\n  noopPush: () => noopPush,\n  normalizePath: () => normalizePath,\n  normalizeSlashes: () => normalizeSlashes,\n  not: () => not,\n  notImplemented: () => notImplemented,\n  notImplementedResolver: () => notImplementedResolver,\n  nullNodeConverters: () => nullNodeConverters,\n  nullParenthesizerRules: () => nullParenthesizerRules,\n  nullTransformationContext: () => nullTransformationContext,\n  objectAllocator: () => objectAllocator,\n  ohModulesPathPart: () => ohModulesPathPart,\n  operatorPart: () => operatorPart,\n  optionDeclarations: () => optionDeclarations,\n  optionsAffectingProgramStructure: () => optionsAffectingProgramStructure,\n  optionsForBuild: () => optionsForBuild,\n  optionsForWatch: () => optionsForWatch,\n  optionsHaveChanges: () => optionsHaveChanges,\n  optionsHaveModuleResolutionChanges: () => optionsHaveModuleResolutionChanges,\n  or: () => or,\n  orderedRemoveItem: () => orderedRemoveItem,\n  orderedRemoveItemAt: () => orderedRemoveItemAt,\n  outFile: () => outFile,\n  packageIdToPackageName: () => packageIdToPackageName,\n  packageIdToString: () => packageIdToString,\n  padLeft: () => padLeft,\n  padRight: () => padRight,\n  paramHelper: () => paramHelper,\n  parameterIsThisKeyword: () => parameterIsThisKeyword,\n  parameterNamePart: () => parameterNamePart,\n  parseBaseNodeFactory: () => parseBaseNodeFactory,\n  parseBuildCommand: () => parseBuildCommand,\n  parseCommandLine: () => parseCommandLine,\n  parseCommandLineWorker: () => parseCommandLineWorker,\n  parseConfigFileTextToJson: () => parseConfigFileTextToJson,\n  parseConfigFileWithSystem: () => parseConfigFileWithSystem,\n  parseConfigHostFromCompilerHostLike: () => parseConfigHostFromCompilerHostLike,\n  parseCustomTypeOption: () => parseCustomTypeOption,\n  parseIsolatedEntityName: () => parseIsolatedEntityName,\n  parseIsolatedJSDocComment: () => parseIsolatedJSDocComment,\n  parseJSDocTypeExpressionForTests: () => parseJSDocTypeExpressionForTests,\n  parseJsonConfigFileContent: () => parseJsonConfigFileContent,\n  parseJsonSourceFileConfigFileContent: () => parseJsonSourceFileConfigFileContent,\n  parseJsonText: () => parseJsonText,\n  parseListTypeOption: () => parseListTypeOption,\n  parseModuleFromPath: () => parseModuleFromPath,\n  parseNodeFactory: () => parseNodeFactory,\n  parsePackageName: () => parsePackageName,\n  parsePseudoBigInt: () => parsePseudoBigInt,\n  patchWriteFileEnsuringDirectory: () => patchWriteFileEnsuringDirectory,\n  pathContainsNodeModules: () => pathContainsNodeModules,\n  pathContainsOHModules: () => pathContainsOHModules,\n  pathIsAbsolute: () => pathIsAbsolute,\n  pathIsBareSpecifier: () => pathIsBareSpecifier,\n  pathIsRelative: () => pathIsRelative,\n  patternText: () => patternText,\n  perfLogger: () => perfLogger,\n  performIncrementalCompilation: () => performIncrementalCompilation,\n  performance: () => ts_performance_exports,\n  plainJSErrors: () => plainJSErrors,\n  positionBelongsToNode: () => positionBelongsToNode,\n  positionIsASICandidate: () => positionIsASICandidate,\n  positionIsSynthesized: () => positionIsSynthesized,\n  positionsAreOnSameLine: () => positionsAreOnSameLine,\n  preProcessFile: () => preProcessFile,\n  probablyUsesSemicolons: () => probablyUsesSemicolons,\n  processCommentPragmas: () => processCommentPragmas,\n  processKit: () => processKit,\n  processPragmasIntoFields: () => processPragmasIntoFields,\n  processTaggedTemplateExpression: () => processTaggedTemplateExpression,\n  programContainsEsModules: () => programContainsEsModules,\n  programContainsModules: () => programContainsModules,\n  projectReferenceIsEqualTo: () => projectReferenceIsEqualTo,\n  propertyNamePart: () => propertyNamePart,\n  pseudoBigIntToString: () => pseudoBigIntToString,\n  punctuationPart: () => punctuationPart,\n  pushIfUnique: () => pushIfUnique,\n  quote: () => quote,\n  quotePreferenceFromString: () => quotePreferenceFromString,\n  rangeContainsPosition: () => rangeContainsPosition,\n  rangeContainsPositionExclusive: () => rangeContainsPositionExclusive,\n  rangeContainsRange: () => rangeContainsRange,\n  rangeContainsRangeExclusive: () => rangeContainsRangeExclusive,\n  rangeContainsStartEnd: () => rangeContainsStartEnd,\n  rangeEndIsOnSameLineAsRangeStart: () => rangeEndIsOnSameLineAsRangeStart,\n  rangeEndPositionsAreOnSameLine: () => rangeEndPositionsAreOnSameLine,\n  rangeEquals: () => rangeEquals,\n  rangeIsOnSingleLine: () => rangeIsOnSingleLine,\n  rangeOfNode: () => rangeOfNode,\n  rangeOfTypeParameters: () => rangeOfTypeParameters,\n  rangeOverlapsWithStartEnd: () => rangeOverlapsWithStartEnd,\n  rangeStartIsOnSameLineAsRangeEnd: () => rangeStartIsOnSameLineAsRangeEnd,\n  rangeStartPositionsAreOnSameLine: () => rangeStartPositionsAreOnSameLine,\n  readBuilderProgram: () => readBuilderProgram,\n  readConfigFile: () => readConfigFile,\n  readHelper: () => readHelper,\n  readJson: () => readJson,\n  readJsonConfigFile: () => readJsonConfigFile,\n  readJsonOrUndefined: () => readJsonOrUndefined,\n  realizeDiagnostics: () => realizeDiagnostics,\n  reduceEachLeadingCommentRange: () => reduceEachLeadingCommentRange,\n  reduceEachTrailingCommentRange: () => reduceEachTrailingCommentRange,\n  reduceLeft: () => reduceLeft,\n  reduceLeftIterator: () => reduceLeftIterator,\n  reducePathComponents: () => reducePathComponents,\n  refactor: () => ts_refactor_exports,\n  regExpEscape: () => regExpEscape,\n  relativeComplement: () => relativeComplement,\n  removeAllComments: () => removeAllComments,\n  removeEmitHelper: () => removeEmitHelper,\n  removeExtension: () => removeExtension,\n  removeFileExtension: () => removeFileExtension,\n  removeIgnoredPath: () => removeIgnoredPath,\n  removeMinAndVersionNumbers: () => removeMinAndVersionNumbers,\n  removeOptionality: () => removeOptionality,\n  removePrefix: () => removePrefix,\n  removeSuffix: () => removeSuffix,\n  removeTrailingDirectorySeparator: () => removeTrailingDirectorySeparator,\n  repeatString: () => repeatString,\n  replaceElement: () => replaceElement,\n  resolutionExtensionIsTSOrJson: () => resolutionExtensionIsTSOrJson,\n  resolveConfigFileProjectName: () => resolveConfigFileProjectName,\n  resolveJSModule: () => resolveJSModule,\n  resolveModuleName: () => resolveModuleName,\n  resolveModuleNameFromCache: () => resolveModuleNameFromCache,\n  resolvePackageNameToPackageJson: () => resolvePackageNameToPackageJson,\n  resolvePath: () => resolvePath,\n  resolveProjectReferencePath: () => resolveProjectReferencePath,\n  resolveTripleslashReference: () => resolveTripleslashReference,\n  resolveTypeReferenceDirective: () => resolveTypeReferenceDirective,\n  resolvingEmptyArray: () => resolvingEmptyArray,\n  restHelper: () => restHelper,\n  returnFalse: () => returnFalse,\n  returnNoopFileWatcher: () => returnNoopFileWatcher,\n  returnTrue: () => returnTrue,\n  returnUndefined: () => returnUndefined,\n  returnsPromise: () => returnsPromise,\n  sameFlatMap: () => sameFlatMap,\n  sameMap: () => sameMap,\n  sameMapping: () => sameMapping,\n  scanShebangTrivia: () => scanShebangTrivia,\n  scanner: () => scanner,\n  screenStartingMessageCodes: () => screenStartingMessageCodes,\n  semanticDiagnosticsOptionDeclarations: () => semanticDiagnosticsOptionDeclarations,\n  server: () => ts_server_exports,\n  servicesVersion: () => servicesVersion,\n  setCommentRange: () => setCommentRange,\n  setConfigFileInOptions: () => setConfigFileInOptions,\n  setConstantValue: () => setConstantValue,\n  setEachParent: () => setEachParent,\n  setEmitFlags: () => setEmitFlags,\n  setGetSourceFileAsHashVersioned: () => setGetSourceFileAsHashVersioned,\n  setLanguageVersionByFilePath: () => setLanguageVersionByFilePath,\n  setLocalizedDiagnosticMessages: () => setLocalizedDiagnosticMessages,\n  setModuleDefaultHelper: () => setModuleDefaultHelper,\n  setNodeFlags: () => setNodeFlags,\n  setObjectAllocator: () => setObjectAllocator,\n  setOriginalNode: () => setOriginalNode,\n  setParent: () => setParent,\n  setParentRecursive: () => setParentRecursive,\n  setResolvedModule: () => setResolvedModule,\n  setResolvedTypeReferenceDirective: () => setResolvedTypeReferenceDirective,\n  setSnippetElement: () => setSnippetElement,\n  setSourceMapRange: () => setSourceMapRange,\n  setStackTraceLimit: () => setStackTraceLimit,\n  setStartsOnNewLine: () => setStartsOnNewLine,\n  setSyntheticLeadingComments: () => setSyntheticLeadingComments,\n  setSyntheticTrailingComments: () => setSyntheticTrailingComments,\n  setSys: () => setSys,\n  setSysLog: () => setSysLog,\n  setTextRange: () => setTextRange,\n  setTextRangeEnd: () => setTextRangeEnd,\n  setTextRangePos: () => setTextRangePos,\n  setTextRangePosEnd: () => setTextRangePosEnd,\n  setTextRangePosWidth: () => setTextRangePosWidth,\n  setTokenSourceMapRange: () => setTokenSourceMapRange,\n  setTypeNode: () => setTypeNode,\n  setUILocale: () => setUILocale,\n  setValueDeclaration: () => setValueDeclaration,\n  shouldPreserveConstEnums: () => shouldPreserveConstEnums,\n  shouldUseUriStyleNodeCoreModules: () => shouldUseUriStyleNodeCoreModules,\n  showModuleSpecifier: () => showModuleSpecifier,\n  signatureHasLiteralTypes: () => signatureHasLiteralTypes,\n  signatureHasRestParameter: () => signatureHasRestParameter,\n  signatureToDisplayParts: () => signatureToDisplayParts,\n  single: () => single,\n  singleElementArray: () => singleElementArray,\n  singleIterator: () => singleIterator,\n  singleOrMany: () => singleOrMany,\n  singleOrUndefined: () => singleOrUndefined,\n  skipAlias: () => skipAlias,\n  skipAssertions: () => skipAssertions,\n  skipConstraint: () => skipConstraint,\n  skipOuterExpressions: () => skipOuterExpressions,\n  skipParentheses: () => skipParentheses,\n  skipPartiallyEmittedExpressions: () => skipPartiallyEmittedExpressions,\n  skipTrivia: () => skipTrivia,\n  skipTypeChecking: () => skipTypeChecking,\n  skipTypeParentheses: () => skipTypeParentheses,\n  sliceAfter: () => sliceAfter,\n  some: () => some,\n  sort: () => sort,\n  sortAndDeduplicate: () => sortAndDeduplicate,\n  sortAndDeduplicateDiagnostics: () => sortAndDeduplicateDiagnostics,\n  sourceFileAffectingCompilerOptions: () => sourceFileAffectingCompilerOptions,\n  sourceFileMayBeEmitted: () => sourceFileMayBeEmitted,\n  spacePart: () => spacePart,\n  spanMap: () => spanMap,\n  spreadArrayHelper: () => spreadArrayHelper,\n  stableSort: () => stableSort,\n  startEndContainsRange: () => startEndContainsRange,\n  startEndOverlapsWithStartEnd: () => startEndOverlapsWithStartEnd,\n  startOnNewLine: () => startOnNewLine,\n  startTracing: () => startTracing,\n  startsWith: () => startsWith,\n  startsWithDirectory: () => startsWithDirectory,\n  startsWithUnderscore: () => startsWithUnderscore,\n  startsWithUseStrict: () => startsWithUseStrict,\n  stringContains: () => stringContains,\n  stringContainsAt: () => stringContainsAt,\n  stringToToken: () => stringToToken,\n  stripQuotes: () => stripQuotes,\n  sum: () => sum,\n  supportedDeclarationExtensions: () => supportedDeclarationExtensions,\n  supportedJSExtensions: () => supportedJSExtensions,\n  supportedJSExtensionsFlat: () => supportedJSExtensionsFlat,\n  supportedLocaleDirectories: () => supportedLocaleDirectories,\n  supportedTSExtensions: () => supportedTSExtensions,\n  supportedTSExtensionsFlat: () => supportedTSExtensionsFlat,\n  suppressLeadingAndTrailingTrivia: () => suppressLeadingAndTrailingTrivia,\n  suppressLeadingTrivia: () => suppressLeadingTrivia,\n  suppressTrailingTrivia: () => suppressTrailingTrivia,\n  symbolEscapedNameNoDefault: () => symbolEscapedNameNoDefault,\n  symbolName: () => symbolName,\n  symbolNameNoDefault: () => symbolNameNoDefault,\n  symbolPart: () => symbolPart,\n  symbolToDisplayParts: () => symbolToDisplayParts,\n  syntaxMayBeASICandidate: () => syntaxMayBeASICandidate,\n  syntaxRequiresTrailingSemicolonOrASI: () => syntaxRequiresTrailingSemicolonOrASI,\n  sys: () => sys,\n  sysLog: () => sysLog,\n  tagNamesAreEquivalent: () => tagNamesAreEquivalent,\n  takeWhile: () => takeWhile,\n  targetOptionDeclaration: () => targetOptionDeclaration,\n  templateObjectHelper: () => templateObjectHelper,\n  testFormatSettings: () => testFormatSettings,\n  textChangeRangeIsUnchanged: () => textChangeRangeIsUnchanged,\n  textChangeRangeNewSpan: () => textChangeRangeNewSpan,\n  textChanges: () => ts_textChanges_exports,\n  textOrKeywordPart: () => textOrKeywordPart,\n  textPart: () => textPart,\n  textRangeContainsPositionInclusive: () => textRangeContainsPositionInclusive,\n  textSpanContainsPosition: () => textSpanContainsPosition,\n  textSpanContainsTextSpan: () => textSpanContainsTextSpan,\n  textSpanEnd: () => textSpanEnd,\n  textSpanIntersection: () => textSpanIntersection,\n  textSpanIntersectsWith: () => textSpanIntersectsWith,\n  textSpanIntersectsWithPosition: () => textSpanIntersectsWithPosition,\n  textSpanIntersectsWithTextSpan: () => textSpanIntersectsWithTextSpan,\n  textSpanIsEmpty: () => textSpanIsEmpty,\n  textSpanOverlap: () => textSpanOverlap,\n  textSpanOverlapsWith: () => textSpanOverlapsWith,\n  textSpansEqual: () => textSpansEqual,\n  textToKeywordObj: () => textToKeywordObj,\n  timestamp: () => timestamp,\n  toArray: () => toArray,\n  toBuilderStateFileInfo: () => toBuilderStateFileInfo,\n  toEditorSettings: () => toEditorSettings,\n  toFileNameLowerCase: () => toFileNameLowerCase,\n  toLowerCase: () => toLowerCase,\n  toPath: () => toPath,\n  tokenIsIdentifierOrKeyword: () => tokenIsIdentifierOrKeyword,\n  tokenIsIdentifierOrKeywordOrGreaterThan: () => tokenIsIdentifierOrKeywordOrGreaterThan,\n  tokenToString: () => tokenToString,\n  trace: () => trace,\n  tracing: () => tracing,\n  tracingEnabled: () => tracingEnabled,\n  transform: () => transform,\n  transformAnnotation: () => transformAnnotation,\n  transformClassFields: () => transformClassFields,\n  transformDeclarations: () => transformDeclarations,\n  transformECMAScriptModule: () => transformECMAScriptModule,\n  transformES2015: () => transformES2015,\n  transformES2016: () => transformES2016,\n  transformES2017: () => transformES2017,\n  transformES2018: () => transformES2018,\n  transformES2019: () => transformES2019,\n  transformES2020: () => transformES2020,\n  transformES2021: () => transformES2021,\n  transformES5: () => transformES5,\n  transformESNext: () => transformESNext,\n  transformGenerators: () => transformGenerators,\n  transformJsx: () => transformJsx,\n  transformLegacyDecorators: () => transformLegacyDecorators,\n  transformModule: () => transformModule,\n  transformNodeModule: () => transformNodeModule,\n  transformNodes: () => transformNodes,\n  transformSystemModule: () => transformSystemModule,\n  transformTypeExportImportAndConstEnumInTypeScript: () => transformTypeExportImportAndConstEnumInTypeScript,\n  transformTypeScript: () => transformTypeScript,\n  transpile: () => transpile,\n  transpileModule: () => transpileModule,\n  transpileOptionValueCompilerOptions: () => transpileOptionValueCompilerOptions,\n  trimString: () => trimString,\n  trimStringEnd: () => trimStringEnd,\n  trimStringStart: () => trimStringStart,\n  tryAddToSet: () => tryAddToSet,\n  tryAndIgnoreErrors: () => tryAndIgnoreErrors,\n  tryCast: () => tryCast,\n  tryDirectoryExists: () => tryDirectoryExists,\n  tryExtractTSExtension: () => tryExtractTSExtension,\n  tryFileExists: () => tryFileExists,\n  tryGetClassExtendingExpressionWithTypeArguments: () => tryGetClassExtendingExpressionWithTypeArguments,\n  tryGetClassImplementingOrExtendingExpressionWithTypeArguments: () => tryGetClassImplementingOrExtendingExpressionWithTypeArguments,\n  tryGetDirectories: () => tryGetDirectories,\n  tryGetExtensionFromPath: () => tryGetExtensionFromPath2,\n  tryGetImportFromModuleSpecifier: () => tryGetImportFromModuleSpecifier,\n  tryGetModuleNameFromFile: () => tryGetModuleNameFromFile,\n  tryGetModuleSpecifierFromDeclaration: () => tryGetModuleSpecifierFromDeclaration,\n  tryGetNativePerformanceHooks: () => tryGetNativePerformanceHooks,\n  tryGetPropertyAccessOrIdentifierToString: () => tryGetPropertyAccessOrIdentifierToString,\n  tryGetPropertyNameOfBindingOrAssignmentElement: () => tryGetPropertyNameOfBindingOrAssignmentElement,\n  tryGetSourceMappingURL: () => tryGetSourceMappingURL,\n  tryGetTextOfPropertyName: () => tryGetTextOfPropertyName,\n  tryIOAndConsumeErrors: () => tryIOAndConsumeErrors,\n  tryParsePattern: () => tryParsePattern,\n  tryParsePatterns: () => tryParsePatterns,\n  tryParseRawSourceMap: () => tryParseRawSourceMap,\n  tryReadDirectory: () => tryReadDirectory,\n  tryReadFile: () => tryReadFile,\n  tryRemoveDirectoryPrefix: () => tryRemoveDirectoryPrefix,\n  tryRemoveExtension: () => tryRemoveExtension,\n  tryRemovePrefix: () => tryRemovePrefix,\n  tryRemoveSuffix: () => tryRemoveSuffix,\n  typeAcquisitionDeclarations: () => typeAcquisitionDeclarations,\n  typeAliasNamePart: () => typeAliasNamePart,\n  typeDirectiveIsEqualTo: () => typeDirectiveIsEqualTo,\n  typeHasCallOrConstructSignatures: () => typeHasCallOrConstructSignatures,\n  typeKeywords: () => typeKeywords,\n  typeParameterNamePart: () => typeParameterNamePart,\n  typeToDisplayParts: () => typeToDisplayParts,\n  unchangedPollThresholds: () => unchangedPollThresholds,\n  unchangedTextChangeRange: () => unchangedTextChangeRange,\n  unescapeLeadingUnderscores: () => unescapeLeadingUnderscores,\n  unmangleScopedPackageName: () => unmangleScopedPackageName,\n  unorderedRemoveItem: () => unorderedRemoveItem,\n  unorderedRemoveItemAt: () => unorderedRemoveItemAt,\n  unreachableCodeIsError: () => unreachableCodeIsError,\n  unusedLabelIsError: () => unusedLabelIsError,\n  unwrapInnermostStatementOfLabel: () => unwrapInnermostStatementOfLabel,\n  updateArrayBindingPattern: () => updateArrayBindingPattern,\n  updateArrayLiteral: () => updateArrayLiteral,\n  updateArrayTypeNode: () => updateArrayTypeNode,\n  updateArrowFunction: () => updateArrowFunction,\n  updateAsExpression: () => updateAsExpression,\n  updateAwait: () => updateAwait,\n  updateBinary: () => updateBinary,\n  updateBindingElement: () => updateBindingElement,\n  updateBlock: () => updateBlock,\n  updateBreak: () => updateBreak,\n  updateBundle: () => updateBundle,\n  updateCall: () => updateCall,\n  updateCallChain: () => updateCallChain,\n  updateCallSignature: () => updateCallSignature,\n  updateCaseBlock: () => updateCaseBlock,\n  updateCaseClause: () => updateCaseClause,\n  updateCatchClause: () => updateCatchClause,\n  updateClassDeclaration: () => updateClassDeclaration,\n  updateClassExpression: () => updateClassExpression,\n  updateCommaList: () => updateCommaList,\n  updateComputedPropertyName: () => updateComputedPropertyName,\n  updateConditional: () => updateConditional,\n  updateConditionalTypeNode: () => updateConditionalTypeNode,\n  updateConstructSignature: () => updateConstructSignature,\n  updateConstructor: () => updateConstructor,\n  updateConstructorTypeNode: () => updateConstructorTypeNode,\n  updateContinue: () => updateContinue,\n  updateDecorator: () => updateDecorator,\n  updateDefaultClause: () => updateDefaultClause,\n  updateDelete: () => updateDelete,\n  updateDo: () => updateDo,\n  updateElementAccess: () => updateElementAccess,\n  updateElementAccessChain: () => updateElementAccessChain,\n  updateEnumDeclaration: () => updateEnumDeclaration,\n  updateEnumMember: () => updateEnumMember,\n  updateErrorForNoInputFiles: () => updateErrorForNoInputFiles,\n  updateExportAssignment: () => updateExportAssignment,\n  updateExportDeclaration: () => updateExportDeclaration,\n  updateExportSpecifier: () => updateExportSpecifier,\n  updateExpressionStatement: () => updateExpressionStatement,\n  updateExpressionWithTypeArguments: () => updateExpressionWithTypeArguments,\n  updateExternalModuleReference: () => updateExternalModuleReference,\n  updateFor: () => updateFor,\n  updateForIn: () => updateForIn,\n  updateForOf: () => updateForOf,\n  updateFunctionDeclaration: () => updateFunctionDeclaration,\n  updateFunctionExpression: () => updateFunctionExpression,\n  updateFunctionTypeNode: () => updateFunctionTypeNode,\n  updateGetAccessor: () => updateGetAccessor,\n  updateHeritageClause: () => updateHeritageClause,\n  updateIf: () => updateIf,\n  updateImportClause: () => updateImportClause,\n  updateImportDeclaration: () => updateImportDeclaration,\n  updateImportEqualsDeclaration: () => updateImportEqualsDeclaration,\n  updateImportSpecifier: () => updateImportSpecifier,\n  updateImportTypeNode: () => updateImportTypeNode,\n  updateIndexSignature: () => updateIndexSignature,\n  updateIndexedAccessTypeNode: () => updateIndexedAccessTypeNode,\n  updateInferTypeNode: () => updateInferTypeNode,\n  updateInterfaceDeclaration: () => updateInterfaceDeclaration,\n  updateIntersectionTypeNode: () => updateIntersectionTypeNode,\n  updateJsxAttribute: () => updateJsxAttribute,\n  updateJsxAttributes: () => updateJsxAttributes,\n  updateJsxClosingElement: () => updateJsxClosingElement,\n  updateJsxElement: () => updateJsxElement,\n  updateJsxExpression: () => updateJsxExpression,\n  updateJsxFragment: () => updateJsxFragment,\n  updateJsxOpeningElement: () => updateJsxOpeningElement,\n  updateJsxSelfClosingElement: () => updateJsxSelfClosingElement,\n  updateJsxSpreadAttribute: () => updateJsxSpreadAttribute,\n  updateJsxText: () => updateJsxText,\n  updateLabel: () => updateLabel,\n  updateLanguageServiceSourceFile: () => updateLanguageServiceSourceFile,\n  updateLiteralTypeNode: () => updateLiteralTypeNode,\n  updateMappedTypeNode: () => updateMappedTypeNode,\n  updateMetaProperty: () => updateMetaProperty,\n  updateMethod: () => updateMethod,\n  updateMethodSignature: () => updateMethodSignature,\n  updateMissingFilePathsWatch: () => updateMissingFilePathsWatch,\n  updateModuleBlock: () => updateModuleBlock,\n  updateModuleDeclaration: () => updateModuleDeclaration,\n  updateNamedExports: () => updateNamedExports,\n  updateNamedImports: () => updateNamedImports,\n  updateNamespaceExport: () => updateNamespaceExport,\n  updateNamespaceExportDeclaration: () => updateNamespaceExportDeclaration,\n  updateNamespaceImport: () => updateNamespaceImport,\n  updateNew: () => updateNew,\n  updateNonNullChain: () => updateNonNullChain,\n  updateNonNullExpression: () => updateNonNullExpression,\n  updateObjectBindingPattern: () => updateObjectBindingPattern,\n  updateObjectLiteral: () => updateObjectLiteral,\n  updateOptionalTypeNode: () => updateOptionalTypeNode,\n  updatePackageJsonWatch: () => updatePackageJsonWatch,\n  updateParameter: () => updateParameter,\n  updateParen: () => updateParen,\n  updateParenthesizedType: () => updateParenthesizedType,\n  updatePartiallyEmittedExpression: () => updatePartiallyEmittedExpression,\n  updatePostfix: () => updatePostfix,\n  updatePrefix: () => updatePrefix,\n  updateProperty: () => updateProperty,\n  updatePropertyAccess: () => updatePropertyAccess,\n  updatePropertyAccessChain: () => updatePropertyAccessChain,\n  updatePropertyAssignment: () => updatePropertyAssignment,\n  updatePropertySignature: () => updatePropertySignature,\n  updateQualifiedName: () => updateQualifiedName,\n  updateRestTypeNode: () => updateRestTypeNode,\n  updateReturn: () => updateReturn,\n  updateSetAccessor: () => updateSetAccessor,\n  updateSharedExtendedConfigFileWatcher: () => updateSharedExtendedConfigFileWatcher,\n  updateShorthandPropertyAssignment: () => updateShorthandPropertyAssignment,\n  updateSourceFile: () => updateSourceFile,\n  updateSourceFileNode: () => updateSourceFileNode,\n  updateSpread: () => updateSpread,\n  updateSpreadAssignment: () => updateSpreadAssignment,\n  updateStatement: () => updateStatement,\n  updateSwitch: () => updateSwitch,\n  updateTaggedTemplate: () => updateTaggedTemplate,\n  updateTemplateExpression: () => updateTemplateExpression,\n  updateTemplateSpan: () => updateTemplateSpan,\n  updateThrow: () => updateThrow,\n  updateTry: () => updateTry,\n  updateTupleTypeNode: () => updateTupleTypeNode,\n  updateTypeAliasDeclaration: () => updateTypeAliasDeclaration,\n  updateTypeAssertion: () => updateTypeAssertion,\n  updateTypeLiteralNode: () => updateTypeLiteralNode,\n  updateTypeOf: () => updateTypeOf,\n  updateTypeOperatorNode: () => updateTypeOperatorNode,\n  updateTypeParameterDeclaration: () => updateTypeParameterDeclaration,\n  updateTypePredicateNode: () => updateTypePredicateNode,\n  updateTypePredicateNodeWithModifier: () => updateTypePredicateNodeWithModifier,\n  updateTypeQueryNode: () => updateTypeQueryNode,\n  updateTypeReferenceNode: () => updateTypeReferenceNode,\n  updateUnionTypeNode: () => updateUnionTypeNode,\n  updateVariableDeclaration: () => updateVariableDeclaration,\n  updateVariableDeclarationList: () => updateVariableDeclarationList,\n  updateVariableStatement: () => updateVariableStatement,\n  updateVoid: () => updateVoid,\n  updateWatchingWildcardDirectories: () => updateWatchingWildcardDirectories,\n  updateWhile: () => updateWhile,\n  updateWith: () => updateWith,\n  updateYield: () => updateYield,\n  usingSingleLineStringWriter: () => usingSingleLineStringWriter,\n  utf16EncodeAsString: () => utf16EncodeAsString,\n  validateLocaleAndSetLanguage: () => validateLocaleAndSetLanguage,\n  valuesHelper: () => valuesHelper,\n  version: () => version,\n  versionMajorMinor: () => versionMajorMinor,\n  visitArray: () => visitArray,\n  visitEachChild: () => visitEachChild,\n  visitFunctionBody: () => visitFunctionBody,\n  visitIterationBody: () => visitIterationBody,\n  visitLexicalEnvironment: () => visitLexicalEnvironment,\n  visitNode: () => visitNode,\n  visitNodes: () => visitNodes2,\n  visitParameterList: () => visitParameterList,\n  walkUpBindingElementsAndPatterns: () => walkUpBindingElementsAndPatterns,\n  walkUpParenthesizedExpressions: () => walkUpParenthesizedExpressions,\n  walkUpParenthesizedTypes: () => walkUpParenthesizedTypes,\n  walkUpParenthesizedTypesAndGetParentAndChild: () => walkUpParenthesizedTypesAndGetParentAndChild,\n  writeCommentRange: () => writeCommentRange,\n  writeFile: () => writeFile,\n  writeFileEnsuringDirectories: () => writeFileEnsuringDirectories,\n  zipToIterator: () => zipToIterator,\n  zipToMap: () => zipToMap,\n  zipToModeAwareCache: () => zipToModeAwareCache,\n  zipWith: () => zipWith\n});\nmodule.exports = __toCommonJS(typescript_exports);\n\n// src/compiler/corePublic.ts\nvar versionMajorMinor = \"4.9\";\nvar version = `${versionMajorMinor}.5`;\nvar Comparison = /* @__PURE__ */ ((Comparison3) => {\n  Comparison3[Comparison3[\"LessThan\"] = -1] = \"LessThan\";\n  Comparison3[Comparison3[\"EqualTo\"] = 0] = \"EqualTo\";\n  Comparison3[Comparison3[\"GreaterThan\"] = 1] = \"GreaterThan\";\n  return Comparison3;\n})(Comparison || {});\nvar NativeCollections;\n((NativeCollections2) => {\n  const globals = typeof globalThis !== \"undefined\" ? globalThis : typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : void 0;\n  function tryGetNativeMap() {\n    const gMap = globals == null ? void 0 : globals.Map;\n    const constructor = typeof gMap !== \"undefined\" && \"entries\" in gMap.prototype && new gMap([[0, 0]]).size === 1 ? gMap : void 0;\n    if (!constructor) {\n      throw new Error(\"No compatible Map implementation found.\");\n    }\n    return constructor;\n  }\n  NativeCollections2.tryGetNativeMap = tryGetNativeMap;\n  function tryGetNativeSet() {\n    const gSet = globals == null ? void 0 : globals.Set;\n    const constructor = typeof gSet !== \"undefined\" && \"entries\" in gSet.prototype && new gSet([0]).size === 1 ? gSet : void 0;\n    if (!constructor) {\n      throw new Error(\"No compatible Set implementation found.\");\n    }\n    return constructor;\n  }\n  NativeCollections2.tryGetNativeSet = tryGetNativeSet;\n})(NativeCollections || (NativeCollections = {}));\nvar Map2 = NativeCollections.tryGetNativeMap();\nvar Set2 = NativeCollections.tryGetNativeSet();\n\n// src/compiler/core.ts\nfunction getIterator(iterable) {\n  if (iterable) {\n    if (isArray(iterable))\n      return arrayIterator(iterable);\n    if (iterable instanceof Map2)\n      return iterable.entries();\n    if (iterable instanceof Set2)\n      return iterable.values();\n    throw new Error(\"Iteration not supported.\");\n  }\n}\nvar emptyArray = [];\nvar emptyMap = new Map2();\nvar emptySet = new Set2();\nfunction length(array) {\n  return array ? array.length : 0;\n}\nfunction forEach(array, callback) {\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const result = callback(array[i], i);\n      if (result) {\n        return result;\n      }\n    }\n  }\n  return void 0;\n}\nfunction forEachRight(array, callback) {\n  if (array) {\n    for (let i = array.length - 1; i >= 0; i--) {\n      const result = callback(array[i], i);\n      if (result) {\n        return result;\n      }\n    }\n  }\n  return void 0;\n}\nfunction firstDefined(array, callback) {\n  if (array === void 0) {\n    return void 0;\n  }\n  for (let i = 0; i < array.length; i++) {\n    const result = callback(array[i], i);\n    if (result !== void 0) {\n      return result;\n    }\n  }\n  return void 0;\n}\nfunction firstDefinedIterator(iter, callback) {\n  while (true) {\n    const iterResult = iter.next();\n    if (iterResult.done) {\n      return void 0;\n    }\n    const result = callback(iterResult.value);\n    if (result !== void 0) {\n      return result;\n    }\n  }\n}\nfunction reduceLeftIterator(iterator, f, initial) {\n  let result = initial;\n  if (iterator) {\n    for (let step = iterator.next(), pos = 0; !step.done; step = iterator.next(), pos++) {\n      result = f(result, step.value, pos);\n    }\n  }\n  return result;\n}\nfunction zipWith(arrayA, arrayB, callback) {\n  const result = [];\n  Debug.assertEqual(arrayA.length, arrayB.length);\n  for (let i = 0; i < arrayA.length; i++) {\n    result.push(callback(arrayA[i], arrayB[i], i));\n  }\n  return result;\n}\nfunction zipToIterator(arrayA, arrayB) {\n  Debug.assertEqual(arrayA.length, arrayB.length);\n  let i = 0;\n  return {\n    next() {\n      if (i === arrayA.length) {\n        return { value: void 0, done: true };\n      }\n      i++;\n      return { value: [arrayA[i - 1], arrayB[i - 1]], done: false };\n    }\n  };\n}\nfunction zipToMap(keys, values) {\n  Debug.assert(keys.length === values.length);\n  const map2 = new Map2();\n  for (let i = 0; i < keys.length; ++i) {\n    map2.set(keys[i], values[i]);\n  }\n  return map2;\n}\nfunction intersperse(input, element) {\n  if (input.length <= 1) {\n    return input;\n  }\n  const result = [];\n  for (let i = 0, n = input.length; i < n; i++) {\n    if (i)\n      result.push(element);\n    result.push(input[i]);\n  }\n  return result;\n}\nfunction every(array, callback) {\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      if (!callback(array[i], i)) {\n        return false;\n      }\n    }\n  }\n  return true;\n}\nfunction find(array, predicate, startIndex) {\n  if (array === void 0)\n    return void 0;\n  for (let i = startIndex != null ? startIndex : 0; i < array.length; i++) {\n    const value = array[i];\n    if (predicate(value, i)) {\n      return value;\n    }\n  }\n  return void 0;\n}\nfunction findLast(array, predicate, startIndex) {\n  if (array === void 0)\n    return void 0;\n  for (let i = startIndex != null ? startIndex : array.length - 1; i >= 0; i--) {\n    const value = array[i];\n    if (predicate(value, i)) {\n      return value;\n    }\n  }\n  return void 0;\n}\nfunction findIndex(array, predicate, startIndex) {\n  if (array === void 0)\n    return -1;\n  for (let i = startIndex != null ? startIndex : 0; i < array.length; i++) {\n    if (predicate(array[i], i)) {\n      return i;\n    }\n  }\n  return -1;\n}\nfunction findLastIndex(array, predicate, startIndex) {\n  if (array === void 0)\n    return -1;\n  for (let i = startIndex != null ? startIndex : array.length - 1; i >= 0; i--) {\n    if (predicate(array[i], i)) {\n      return i;\n    }\n  }\n  return -1;\n}\nfunction findMap(array, callback) {\n  for (let i = 0; i < array.length; i++) {\n    const result = callback(array[i], i);\n    if (result) {\n      return result;\n    }\n  }\n  return Debug.fail();\n}\nfunction contains(array, value, equalityComparer = equateValues) {\n  if (array) {\n    for (const v of array) {\n      if (equalityComparer(v, value)) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\nfunction arraysEqual(a, b, equalityComparer = equateValues) {\n  return a.length === b.length && a.every((x, i) => equalityComparer(x, b[i]));\n}\nfunction indexOfAnyCharCode(text, charCodes, start) {\n  for (let i = start || 0; i < text.length; i++) {\n    if (contains(charCodes, text.charCodeAt(i))) {\n      return i;\n    }\n  }\n  return -1;\n}\nfunction countWhere(array, predicate) {\n  let count = 0;\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const v = array[i];\n      if (predicate(v, i)) {\n        count++;\n      }\n    }\n  }\n  return count;\n}\nfunction filter(array, f) {\n  if (array) {\n    const len = array.length;\n    let i = 0;\n    while (i < len && f(array[i]))\n      i++;\n    if (i < len) {\n      const result = array.slice(0, i);\n      i++;\n      while (i < len) {\n        const item = array[i];\n        if (f(item)) {\n          result.push(item);\n        }\n        i++;\n      }\n      return result;\n    }\n  }\n  return array;\n}\nfunction filterMutate(array, f) {\n  let outIndex = 0;\n  for (let i = 0; i < array.length; i++) {\n    if (f(array[i], i, array)) {\n      array[outIndex] = array[i];\n      outIndex++;\n    }\n  }\n  array.length = outIndex;\n}\nfunction clear(array) {\n  array.length = 0;\n}\nfunction map(array, f) {\n  let result;\n  if (array) {\n    result = [];\n    for (let i = 0; i < array.length; i++) {\n      result.push(f(array[i], i));\n    }\n  }\n  return result;\n}\nfunction mapIterator(iter, mapFn) {\n  return {\n    next() {\n      const iterRes = iter.next();\n      return iterRes.done ? iterRes : { value: mapFn(iterRes.value), done: false };\n    }\n  };\n}\nfunction sameMap(array, f) {\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const item = array[i];\n      const mapped = f(item, i);\n      if (item !== mapped) {\n        const result = array.slice(0, i);\n        result.push(mapped);\n        for (i++; i < array.length; i++) {\n          result.push(f(array[i], i));\n        }\n        return result;\n      }\n    }\n  }\n  return array;\n}\nfunction flatten(array) {\n  const result = [];\n  for (const v of array) {\n    if (v) {\n      if (isArray(v)) {\n        addRange(result, v);\n      } else {\n        result.push(v);\n      }\n    }\n  }\n  return result;\n}\nfunction flatMap(array, mapfn) {\n  let result;\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const v = mapfn(array[i], i);\n      if (v) {\n        if (isArray(v)) {\n          result = addRange(result, v);\n        } else {\n          result = append(result, v);\n        }\n      }\n    }\n  }\n  return result || emptyArray;\n}\nfunction flatMapToMutable(array, mapfn) {\n  const result = [];\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const v = mapfn(array[i], i);\n      if (v) {\n        if (isArray(v)) {\n          addRange(result, v);\n        } else {\n          result.push(v);\n        }\n      }\n    }\n  }\n  return result;\n}\nfunction flatMapIterator(iter, mapfn) {\n  const first2 = iter.next();\n  if (first2.done) {\n    return emptyIterator;\n  }\n  let currentIter = getIterator2(first2.value);\n  return {\n    next() {\n      while (true) {\n        const currentRes = currentIter.next();\n        if (!currentRes.done) {\n          return currentRes;\n        }\n        const iterRes = iter.next();\n        if (iterRes.done) {\n          return iterRes;\n        }\n        currentIter = getIterator2(iterRes.value);\n      }\n    }\n  };\n  function getIterator2(x) {\n    const res = mapfn(x);\n    return res === void 0 ? emptyIterator : isArray(res) ? arrayIterator(res) : res;\n  }\n}\nfunction sameFlatMap(array, mapfn) {\n  let result;\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const item = array[i];\n      const mapped = mapfn(item, i);\n      if (result || item !== mapped || isArray(mapped)) {\n        if (!result) {\n          result = array.slice(0, i);\n        }\n        if (isArray(mapped)) {\n          addRange(result, mapped);\n        } else {\n          result.push(mapped);\n        }\n      }\n    }\n  }\n  return result || array;\n}\nfunction mapAllOrFail(array, mapFn) {\n  const result = [];\n  for (let i = 0; i < array.length; i++) {\n    const mapped = mapFn(array[i], i);\n    if (mapped === void 0) {\n      return void 0;\n    }\n    result.push(mapped);\n  }\n  return result;\n}\nfunction mapDefined(array, mapFn) {\n  const result = [];\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const mapped = mapFn(array[i], i);\n      if (mapped !== void 0) {\n        result.push(mapped);\n      }\n    }\n  }\n  return result;\n}\nfunction mapDefinedIterator(iter, mapFn) {\n  return {\n    next() {\n      while (true) {\n        const res = iter.next();\n        if (res.done) {\n          return res;\n        }\n        const value = mapFn(res.value);\n        if (value !== void 0) {\n          return { value, done: false };\n        }\n      }\n    }\n  };\n}\nfunction mapDefinedEntries(map2, f) {\n  if (!map2) {\n    return void 0;\n  }\n  const result = new Map2();\n  map2.forEach((value, key) => {\n    const entry = f(key, value);\n    if (entry !== void 0) {\n      const [newKey, newValue] = entry;\n      if (newKey !== void 0 && newValue !== void 0) {\n        result.set(newKey, newValue);\n      }\n    }\n  });\n  return result;\n}\nfunction mapDefinedValues(set, f) {\n  if (set) {\n    const result = new Set2();\n    set.forEach((value) => {\n      const newValue = f(value);\n      if (newValue !== void 0) {\n        result.add(newValue);\n      }\n    });\n    return result;\n  }\n}\nfunction getOrUpdate(map2, key, callback) {\n  if (map2.has(key)) {\n    return map2.get(key);\n  }\n  const value = callback();\n  map2.set(key, value);\n  return value;\n}\nfunction tryAddToSet(set, value) {\n  if (!set.has(value)) {\n    set.add(value);\n    return true;\n  }\n  return false;\n}\nvar emptyIterator = { next: () => ({ value: void 0, done: true }) };\nfunction singleIterator(value) {\n  let done = false;\n  return {\n    next() {\n      const wasDone = done;\n      done = true;\n      return wasDone ? { value: void 0, done: true } : { value, done: false };\n    }\n  };\n}\nfunction spanMap(array, keyfn, mapfn) {\n  let result;\n  if (array) {\n    result = [];\n    const len = array.length;\n    let previousKey;\n    let key;\n    let start = 0;\n    let pos = 0;\n    while (start < len) {\n      while (pos < len) {\n        const value = array[pos];\n        key = keyfn(value, pos);\n        if (pos === 0) {\n          previousKey = key;\n        } else if (key !== previousKey) {\n          break;\n        }\n        pos++;\n      }\n      if (start < pos) {\n        const v = mapfn(array.slice(start, pos), previousKey, start, pos);\n        if (v) {\n          result.push(v);\n        }\n        start = pos;\n      }\n      previousKey = key;\n      pos++;\n    }\n  }\n  return result;\n}\nfunction mapEntries(map2, f) {\n  if (!map2) {\n    return void 0;\n  }\n  const result = new Map2();\n  map2.forEach((value, key) => {\n    const [newKey, newValue] = f(key, value);\n    result.set(newKey, newValue);\n  });\n  return result;\n}\nfunction some(array, predicate) {\n  if (array) {\n    if (predicate) {\n      for (const v of array) {\n        if (predicate(v)) {\n          return true;\n        }\n      }\n    } else {\n      return array.length > 0;\n    }\n  }\n  return false;\n}\nfunction getRangesWhere(arr, pred, cb) {\n  let start;\n  for (let i = 0; i < arr.length; i++) {\n    if (pred(arr[i])) {\n      start = start === void 0 ? i : start;\n    } else {\n      if (start !== void 0) {\n        cb(start, i);\n        start = void 0;\n      }\n    }\n  }\n  if (start !== void 0)\n    cb(start, arr.length);\n}\nfunction concatenate(array1, array2) {\n  if (!some(array2))\n    return array1;\n  if (!some(array1))\n    return array2;\n  return [...array1, ...array2];\n}\nfunction selectIndex(_, i) {\n  return i;\n}\nfunction indicesOf(array) {\n  return array.map(selectIndex);\n}\nfunction deduplicateRelational(array, equalityComparer, comparer) {\n  const indices = indicesOf(array);\n  stableSortIndices(array, indices, comparer);\n  let last2 = array[indices[0]];\n  const deduplicated = [indices[0]];\n  for (let i = 1; i < indices.length; i++) {\n    const index = indices[i];\n    const item = array[index];\n    if (!equalityComparer(last2, item)) {\n      deduplicated.push(index);\n      last2 = item;\n    }\n  }\n  deduplicated.sort();\n  return deduplicated.map((i) => array[i]);\n}\nfunction deduplicateEquality(array, equalityComparer) {\n  const result = [];\n  for (const item of array) {\n    pushIfUnique(result, item, equalityComparer);\n  }\n  return result;\n}\nfunction deduplicate(array, equalityComparer, comparer) {\n  return array.length === 0 ? [] : array.length === 1 ? array.slice() : comparer ? deduplicateRelational(array, equalityComparer, comparer) : deduplicateEquality(array, equalityComparer);\n}\nfunction deduplicateSorted(array, comparer) {\n  if (array.length === 0)\n    return emptyArray;\n  let last2 = array[0];\n  const deduplicated = [last2];\n  for (let i = 1; i < array.length; i++) {\n    const next = array[i];\n    switch (comparer(next, last2)) {\n      case true:\n      case 0 /* EqualTo */:\n        continue;\n      case -1 /* LessThan */:\n        return Debug.fail(\"Array is unsorted.\");\n    }\n    deduplicated.push(last2 = next);\n  }\n  return deduplicated;\n}\nfunction createSortedArray() {\n  return [];\n}\nfunction insertSorted(array, insert, compare, allowDuplicates) {\n  if (array.length === 0) {\n    array.push(insert);\n    return true;\n  }\n  const insertIndex = binarySearch(array, insert, identity, compare);\n  if (insertIndex < 0) {\n    array.splice(~insertIndex, 0, insert);\n    return true;\n  }\n  if (allowDuplicates) {\n    array.splice(insertIndex, 0, insert);\n    return true;\n  }\n  return false;\n}\nfunction sortAndDeduplicate(array, comparer, equalityComparer) {\n  return deduplicateSorted(sort(array, comparer), equalityComparer || comparer || compareStringsCaseSensitive);\n}\nfunction arrayIsSorted(array, comparer) {\n  if (array.length < 2)\n    return true;\n  let prevElement = array[0];\n  for (const element of array.slice(1)) {\n    if (comparer(prevElement, element) === 1 /* GreaterThan */) {\n      return false;\n    }\n    prevElement = element;\n  }\n  return true;\n}\nfunction arrayIsEqualTo(array1, array2, equalityComparer = equateValues) {\n  if (!array1 || !array2) {\n    return array1 === array2;\n  }\n  if (array1.length !== array2.length) {\n    return false;\n  }\n  for (let i = 0; i < array1.length; i++) {\n    if (!equalityComparer(array1[i], array2[i], i)) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction compact(array) {\n  let result;\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      const v = array[i];\n      if (result || !v) {\n        if (!result) {\n          result = array.slice(0, i);\n        }\n        if (v) {\n          result.push(v);\n        }\n      }\n    }\n  }\n  return result || array;\n}\nfunction relativeComplement(arrayA, arrayB, comparer) {\n  if (!arrayB || !arrayA || arrayB.length === 0 || arrayA.length === 0)\n    return arrayB;\n  const result = [];\n  loopB:\n    for (let offsetA = 0, offsetB = 0; offsetB < arrayB.length; offsetB++) {\n      if (offsetB > 0) {\n        Debug.assertGreaterThanOrEqual(comparer(arrayB[offsetB], arrayB[offsetB - 1]), 0 /* EqualTo */);\n      }\n      loopA:\n        for (const startA = offsetA; offsetA < arrayA.length; offsetA++) {\n          if (offsetA > startA) {\n            Debug.assertGreaterThanOrEqual(comparer(arrayA[offsetA], arrayA[offsetA - 1]), 0 /* EqualTo */);\n          }\n          switch (comparer(arrayB[offsetB], arrayA[offsetA])) {\n            case -1 /* LessThan */:\n              result.push(arrayB[offsetB]);\n              continue loopB;\n            case 0 /* EqualTo */:\n              continue loopB;\n            case 1 /* GreaterThan */:\n              continue loopA;\n          }\n        }\n    }\n  return result;\n}\nfunction sum(array, prop) {\n  let result = 0;\n  for (const v of array) {\n    result += v[prop];\n  }\n  return result;\n}\nfunction append(to, value) {\n  if (value === void 0)\n    return to;\n  if (to === void 0)\n    return [value];\n  to.push(value);\n  return to;\n}\nfunction combine(xs, ys) {\n  if (xs === void 0)\n    return ys;\n  if (ys === void 0)\n    return xs;\n  if (isArray(xs))\n    return isArray(ys) ? concatenate(xs, ys) : append(xs, ys);\n  if (isArray(ys))\n    return append(ys, xs);\n  return [xs, ys];\n}\nfunction toOffset(array, offset) {\n  return offset < 0 ? array.length + offset : offset;\n}\nfunction addRange(to, from, start, end) {\n  if (from === void 0 || from.length === 0)\n    return to;\n  if (to === void 0)\n    return from.slice(start, end);\n  start = start === void 0 ? 0 : toOffset(from, start);\n  end = end === void 0 ? from.length : toOffset(from, end);\n  for (let i = start; i < end && i < from.length; i++) {\n    if (from[i] !== void 0) {\n      to.push(from[i]);\n    }\n  }\n  return to;\n}\nfunction pushIfUnique(array, toAdd, equalityComparer) {\n  if (contains(array, toAdd, equalityComparer)) {\n    return false;\n  } else {\n    array.push(toAdd);\n    return true;\n  }\n}\nfunction appendIfUnique(array, toAdd, equalityComparer) {\n  if (array) {\n    pushIfUnique(array, toAdd, equalityComparer);\n    return array;\n  } else {\n    return [toAdd];\n  }\n}\nfunction stableSortIndices(array, indices, comparer) {\n  indices.sort((x, y) => comparer(array[x], array[y]) || compareValues(x, y));\n}\nfunction sort(array, comparer) {\n  return array.length === 0 ? array : array.slice().sort(comparer);\n}\nfunction arrayIterator(array) {\n  let i = 0;\n  return { next: () => {\n    if (i === array.length) {\n      return { value: void 0, done: true };\n    } else {\n      i++;\n      return { value: array[i - 1], done: false };\n    }\n  } };\n}\nfunction arrayReverseIterator(array) {\n  let i = array.length;\n  return {\n    next: () => {\n      if (i === 0) {\n        return { value: void 0, done: true };\n      } else {\n        i--;\n        return { value: array[i], done: false };\n      }\n    }\n  };\n}\nfunction stableSort(array, comparer) {\n  const indices = indicesOf(array);\n  stableSortIndices(array, indices, comparer);\n  return indices.map((i) => array[i]);\n}\nfunction rangeEquals(array1, array2, pos, end) {\n  while (pos < end) {\n    if (array1[pos] !== array2[pos]) {\n      return false;\n    }\n    pos++;\n  }\n  return true;\n}\nfunction elementAt(array, offset) {\n  if (array) {\n    offset = toOffset(array, offset);\n    if (offset < array.length) {\n      return array[offset];\n    }\n  }\n  return void 0;\n}\nfunction firstOrUndefined(array) {\n  return array === void 0 || array.length === 0 ? void 0 : array[0];\n}\nfunction first(array) {\n  Debug.assert(array.length !== 0);\n  return array[0];\n}\nfunction lastOrUndefined(array) {\n  return array === void 0 || array.length === 0 ? void 0 : array[array.length - 1];\n}\nfunction last(array) {\n  Debug.assert(array.length !== 0);\n  return array[array.length - 1];\n}\nfunction singleOrUndefined(array) {\n  return array && array.length === 1 ? array[0] : void 0;\n}\nfunction single(array) {\n  return Debug.checkDefined(singleOrUndefined(array));\n}\nfunction singleOrMany(array) {\n  return array && array.length === 1 ? array[0] : array;\n}\nfunction replaceElement(array, index, value) {\n  const result = array.slice(0);\n  result[index] = value;\n  return result;\n}\nfunction binarySearch(array, value, keySelector, keyComparer, offset) {\n  return binarySearchKey(array, keySelector(value), keySelector, keyComparer, offset);\n}\nfunction binarySearchKey(array, key, keySelector, keyComparer, offset) {\n  if (!some(array)) {\n    return -1;\n  }\n  let low = offset || 0;\n  let high = array.length - 1;\n  while (low <= high) {\n    const middle = low + (high - low >> 1);\n    const midKey = keySelector(array[middle], middle);\n    switch (keyComparer(midKey, key)) {\n      case -1 /* LessThan */:\n        low = middle + 1;\n        break;\n      case 0 /* EqualTo */:\n        return middle;\n      case 1 /* GreaterThan */:\n        high = middle - 1;\n        break;\n    }\n  }\n  return ~low;\n}\nfunction reduceLeft(array, f, initial, start, count) {\n  if (array && array.length > 0) {\n    const size = array.length;\n    if (size > 0) {\n      let pos = start === void 0 || start < 0 ? 0 : start;\n      const end = count === void 0 || pos + count > size - 1 ? size - 1 : pos + count;\n      let result;\n      if (arguments.length <= 2) {\n        result = array[pos];\n        pos++;\n      } else {\n        result = initial;\n      }\n      while (pos <= end) {\n        result = f(result, array[pos], pos);\n        pos++;\n      }\n      return result;\n    }\n  }\n  return initial;\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasProperty(map2, key) {\n  return hasOwnProperty.call(map2, key);\n}\nfunction getProperty(map2, key) {\n  return hasOwnProperty.call(map2, key) ? map2[key] : void 0;\n}\nfunction getOwnKeys(map2) {\n  const keys = [];\n  for (const key in map2) {\n    if (hasOwnProperty.call(map2, key)) {\n      keys.push(key);\n    }\n  }\n  return keys;\n}\nfunction getAllKeys(obj) {\n  const result = [];\n  do {\n    const names = Object.getOwnPropertyNames(obj);\n    for (const name of names) {\n      pushIfUnique(result, name);\n    }\n  } while (obj = Object.getPrototypeOf(obj));\n  return result;\n}\nfunction getOwnValues(collection) {\n  const values = [];\n  for (const key in collection) {\n    if (hasOwnProperty.call(collection, key)) {\n      values.push(collection[key]);\n    }\n  }\n  return values;\n}\nvar _entries = Object.entries || ((obj) => {\n  const keys = getOwnKeys(obj);\n  const result = Array(keys.length);\n  for (let i = 0; i < keys.length; i++) {\n    result[i] = [keys[i], obj[keys[i]]];\n  }\n  return result;\n});\nfunction getEntries(obj) {\n  return obj ? _entries(obj) : [];\n}\nfunction arrayOf(count, f) {\n  const result = new Array(count);\n  for (let i = 0; i < count; i++) {\n    result[i] = f(i);\n  }\n  return result;\n}\nfunction arrayFrom(iterator, map2) {\n  const result = [];\n  for (let iterResult = iterator.next(); !iterResult.done; iterResult = iterator.next()) {\n    result.push(map2 ? map2(iterResult.value) : iterResult.value);\n  }\n  return result;\n}\nfunction assign(t, ...args) {\n  for (const arg of args) {\n    if (arg === void 0)\n      continue;\n    for (const p in arg) {\n      if (hasProperty(arg, p)) {\n        t[p] = arg[p];\n      }\n    }\n  }\n  return t;\n}\nfunction equalOwnProperties(left, right, equalityComparer = equateValues) {\n  if (left === right)\n    return true;\n  if (!left || !right)\n    return false;\n  for (const key in left) {\n    if (hasOwnProperty.call(left, key)) {\n      if (!hasOwnProperty.call(right, key))\n        return false;\n      if (!equalityComparer(left[key], right[key]))\n        return false;\n    }\n  }\n  for (const key in right) {\n    if (hasOwnProperty.call(right, key)) {\n      if (!hasOwnProperty.call(left, key))\n        return false;\n    }\n  }\n  return true;\n}\nfunction arrayToMap(array, makeKey, makeValue = identity) {\n  const result = new Map2();\n  for (const value of array) {\n    const key = makeKey(value);\n    if (key !== void 0)\n      result.set(key, makeValue(value));\n  }\n  return result;\n}\nfunction arrayToNumericMap(array, makeKey, makeValue = identity) {\n  const result = [];\n  for (const value of array) {\n    result[makeKey(value)] = makeValue(value);\n  }\n  return result;\n}\nfunction arrayToMultiMap(values, makeKey, makeValue = identity) {\n  const result = createMultiMap();\n  for (const value of values) {\n    result.add(makeKey(value), makeValue(value));\n  }\n  return result;\n}\nfunction group(values, getGroupId, resultSelector = identity) {\n  return arrayFrom(arrayToMultiMap(values, getGroupId).values(), resultSelector);\n}\nfunction clone(object) {\n  const result = {};\n  for (const id in object) {\n    if (hasOwnProperty.call(object, id)) {\n      result[id] = object[id];\n    }\n  }\n  return result;\n}\nfunction extend(first2, second) {\n  const result = {};\n  for (const id in second) {\n    if (hasOwnProperty.call(second, id)) {\n      result[id] = second[id];\n    }\n  }\n  for (const id in first2) {\n    if (hasOwnProperty.call(first2, id)) {\n      result[id] = first2[id];\n    }\n  }\n  return result;\n}\nfunction copyProperties(first2, second) {\n  for (const id in second) {\n    if (hasOwnProperty.call(second, id)) {\n      first2[id] = second[id];\n    }\n  }\n}\nfunction maybeBind(obj, fn) {\n  return fn ? fn.bind(obj) : void 0;\n}\nfunction createMultiMap() {\n  const map2 = new Map2();\n  map2.add = multiMapAdd;\n  map2.remove = multiMapRemove;\n  return map2;\n}\nfunction multiMapAdd(key, value) {\n  let values = this.get(key);\n  if (values) {\n    values.push(value);\n  } else {\n    this.set(key, values = [value]);\n  }\n  return values;\n}\nfunction multiMapRemove(key, value) {\n  const values = this.get(key);\n  if (values) {\n    unorderedRemoveItem(values, value);\n    if (!values.length) {\n      this.delete(key);\n    }\n  }\n}\nfunction createUnderscoreEscapedMultiMap() {\n  return createMultiMap();\n}\nfunction createQueue(items) {\n  const elements = (items == null ? void 0 : items.slice()) || [];\n  let headIndex = 0;\n  function isEmpty() {\n    return headIndex === elements.length;\n  }\n  function enqueue(...items2) {\n    elements.push(...items2);\n  }\n  function dequeue() {\n    if (isEmpty()) {\n      throw new Error(\"Queue is empty\");\n    }\n    const result = elements[headIndex];\n    elements[headIndex] = void 0;\n    headIndex++;\n    if (headIndex > 100 && headIndex > elements.length >> 1) {\n      const newLength = elements.length - headIndex;\n      elements.copyWithin(0, headIndex);\n      elements.length = newLength;\n      headIndex = 0;\n    }\n    return result;\n  }\n  return {\n    enqueue,\n    dequeue,\n    isEmpty\n  };\n}\nfunction createSet(getHashCode, equals) {\n  const multiMap = new Map2();\n  let size = 0;\n  function getElementIterator() {\n    const valueIt = multiMap.values();\n    let arrayIt;\n    return {\n      next: () => {\n        while (true) {\n          if (arrayIt) {\n            const n = arrayIt.next();\n            if (!n.done) {\n              return { value: n.value };\n            }\n            arrayIt = void 0;\n          } else {\n            const n = valueIt.next();\n            if (n.done) {\n              return { value: void 0, done: true };\n            }\n            if (!isArray(n.value)) {\n              return { value: n.value };\n            }\n            arrayIt = arrayIterator(n.value);\n          }\n        }\n      }\n    };\n  }\n  const set = {\n    has(element) {\n      const hash = getHashCode(element);\n      if (!multiMap.has(hash))\n        return false;\n      const candidates = multiMap.get(hash);\n      if (!isArray(candidates))\n        return equals(candidates, element);\n      for (const candidate of candidates) {\n        if (equals(candidate, element)) {\n          return true;\n        }\n      }\n      return false;\n    },\n    add(element) {\n      const hash = getHashCode(element);\n      if (multiMap.has(hash)) {\n        const values = multiMap.get(hash);\n        if (isArray(values)) {\n          if (!contains(values, element, equals)) {\n            values.push(element);\n            size++;\n          }\n        } else {\n          const value = values;\n          if (!equals(value, element)) {\n            multiMap.set(hash, [value, element]);\n            size++;\n          }\n        }\n      } else {\n        multiMap.set(hash, element);\n        size++;\n      }\n      return this;\n    },\n    delete(element) {\n      const hash = getHashCode(element);\n      if (!multiMap.has(hash))\n        return false;\n      const candidates = multiMap.get(hash);\n      if (isArray(candidates)) {\n        for (let i = 0; i < candidates.length; i++) {\n          if (equals(candidates[i], element)) {\n            if (candidates.length === 1) {\n              multiMap.delete(hash);\n            } else if (candidates.length === 2) {\n              multiMap.set(hash, candidates[1 - i]);\n            } else {\n              unorderedRemoveItemAt(candidates, i);\n            }\n            size--;\n            return true;\n          }\n        }\n      } else {\n        const candidate = candidates;\n        if (equals(candidate, element)) {\n          multiMap.delete(hash);\n          size--;\n          return true;\n        }\n      }\n      return false;\n    },\n    clear() {\n      multiMap.clear();\n      size = 0;\n    },\n    get size() {\n      return size;\n    },\n    forEach(action) {\n      for (const elements of arrayFrom(multiMap.values())) {\n        if (isArray(elements)) {\n          for (const element of elements) {\n            action(element, element);\n          }\n        } else {\n          const element = elements;\n          action(element, element);\n        }\n      }\n    },\n    keys() {\n      return getElementIterator();\n    },\n    values() {\n      return getElementIterator();\n    },\n    entries() {\n      const it = getElementIterator();\n      return {\n        next: () => {\n          const n = it.next();\n          return n.done ? n : { value: [n.value, n.value] };\n        }\n      };\n    }\n  };\n  return set;\n}\nfunction isArray(value) {\n  return Array.isArray ? Array.isArray(value) : value instanceof Array;\n}\nfunction toArray(value) {\n  return isArray(value) ? value : [value];\n}\nfunction isString(text) {\n  return typeof text === \"string\";\n}\nfunction isNumber(x) {\n  return typeof x === \"number\";\n}\nfunction tryCast(value, test) {\n  return value !== void 0 && test(value) ? value : void 0;\n}\nfunction cast(value, test) {\n  if (value !== void 0 && test(value))\n    return value;\n  return Debug.fail(`Invalid cast. The supplied value ${value} did not pass the test '${Debug.getFunctionName(test)}'.`);\n}\nfunction noop(_) {\n}\nvar noopPush = {\n  push: noop,\n  length: 0\n};\nfunction returnFalse() {\n  return false;\n}\nfunction returnTrue() {\n  return true;\n}\nfunction returnUndefined() {\n  return void 0;\n}\nfunction identity(x) {\n  return x;\n}\nfunction toLowerCase(x) {\n  return x.toLowerCase();\n}\nvar fileNameLowerCaseRegExp = /[^\\u0130\\u0131\\u00DFa-z0-9\\\\/:\\-_\\. ]+/g;\nfunction toFileNameLowerCase(x) {\n  return fileNameLowerCaseRegExp.test(x) ? x.replace(fileNameLowerCaseRegExp, toLowerCase) : x;\n}\nfunction notImplemented() {\n  throw new Error(\"Not implemented\");\n}\nfunction memoize(callback) {\n  let value;\n  return () => {\n    if (callback) {\n      value = callback();\n      callback = void 0;\n    }\n    return value;\n  };\n}\nfunction memoizeOne(callback) {\n  const map2 = new Map2();\n  return (arg) => {\n    const key = `${typeof arg}:${arg}`;\n    let value = map2.get(key);\n    if (value === void 0 && !map2.has(key)) {\n      value = callback(arg);\n      map2.set(key, value);\n    }\n    return value;\n  };\n}\nfunction compose(a, b, c, d, e) {\n  if (!!e) {\n    const args = [];\n    for (let i = 0; i < arguments.length; i++) {\n      args[i] = arguments[i];\n    }\n    return (t) => reduceLeft(args, (u, f) => f(u), t);\n  } else if (d) {\n    return (t) => d(c(b(a(t))));\n  } else if (c) {\n    return (t) => c(b(a(t)));\n  } else if (b) {\n    return (t) => b(a(t));\n  } else if (a) {\n    return (t) => a(t);\n  } else {\n    return (t) => t;\n  }\n}\nvar AssertionLevel = /* @__PURE__ */ ((AssertionLevel2) => {\n  AssertionLevel2[AssertionLevel2[\"None\"] = 0] = \"None\";\n  AssertionLevel2[AssertionLevel2[\"Normal\"] = 1] = \"Normal\";\n  AssertionLevel2[AssertionLevel2[\"Aggressive\"] = 2] = \"Aggressive\";\n  AssertionLevel2[AssertionLevel2[\"VeryAggressive\"] = 3] = \"VeryAggressive\";\n  return AssertionLevel2;\n})(AssertionLevel || {});\nfunction equateValues(a, b) {\n  return a === b;\n}\nfunction equateStringsCaseInsensitive(a, b) {\n  return a === b || a !== void 0 && b !== void 0 && a.toUpperCase() === b.toUpperCase();\n}\nfunction equateStringsCaseSensitive(a, b) {\n  return equateValues(a, b);\n}\nfunction compareComparableValues(a, b) {\n  return a === b ? 0 /* EqualTo */ : a === void 0 ? -1 /* LessThan */ : b === void 0 ? 1 /* GreaterThan */ : a < b ? -1 /* LessThan */ : 1 /* GreaterThan */;\n}\nfunction compareValues(a, b) {\n  return compareComparableValues(a, b);\n}\nfunction compareTextSpans(a, b) {\n  return compareValues(a == null ? void 0 : a.start, b == null ? void 0 : b.start) || compareValues(a == null ? void 0 : a.length, b == null ? void 0 : b.length);\n}\nfunction min(items, compare) {\n  return reduceLeft(items, (x, y) => compare(x, y) === -1 /* LessThan */ ? x : y);\n}\nfunction compareStringsCaseInsensitive(a, b) {\n  if (a === b)\n    return 0 /* EqualTo */;\n  if (a === void 0)\n    return -1 /* LessThan */;\n  if (b === void 0)\n    return 1 /* GreaterThan */;\n  a = a.toUpperCase();\n  b = b.toUpperCase();\n  return a < b ? -1 /* LessThan */ : a > b ? 1 /* GreaterThan */ : 0 /* EqualTo */;\n}\nfunction compareStringsCaseSensitive(a, b) {\n  return compareComparableValues(a, b);\n}\nfunction getStringComparer(ignoreCase) {\n  return ignoreCase ? compareStringsCaseInsensitive : compareStringsCaseSensitive;\n}\nvar createUIStringComparer = (() => {\n  let defaultComparer;\n  let enUSComparer;\n  const stringComparerFactory = getStringComparerFactory();\n  return createStringComparer;\n  function compareWithCallback(a, b, comparer) {\n    if (a === b)\n      return 0 /* EqualTo */;\n    if (a === void 0)\n      return -1 /* LessThan */;\n    if (b === void 0)\n      return 1 /* GreaterThan */;\n    const value = comparer(a, b);\n    return value < 0 ? -1 /* LessThan */ : value > 0 ? 1 /* GreaterThan */ : 0 /* EqualTo */;\n  }\n  function createIntlCollatorStringComparer(locale) {\n    const comparer = new Intl.Collator(locale, { usage: \"sort\", sensitivity: \"variant\" }).compare;\n    return (a, b) => compareWithCallback(a, b, comparer);\n  }\n  function createLocaleCompareStringComparer(locale) {\n    if (locale !== void 0)\n      return createFallbackStringComparer();\n    return (a, b) => compareWithCallback(a, b, compareStrings);\n    function compareStrings(a, b) {\n      return a.localeCompare(b);\n    }\n  }\n  function createFallbackStringComparer() {\n    return (a, b) => compareWithCallback(a, b, compareDictionaryOrder);\n    function compareDictionaryOrder(a, b) {\n      return compareStrings(a.toUpperCase(), b.toUpperCase()) || compareStrings(a, b);\n    }\n    function compareStrings(a, b) {\n      return a < b ? -1 /* LessThan */ : a > b ? 1 /* GreaterThan */ : 0 /* EqualTo */;\n    }\n  }\n  function getStringComparerFactory() {\n    if (typeof Intl === \"object\" && typeof Intl.Collator === \"function\") {\n      return createIntlCollatorStringComparer;\n    }\n    if (typeof String.prototype.localeCompare === \"function\" && typeof String.prototype.toLocaleUpperCase === \"function\" && \"a\".localeCompare(\"B\") < 0) {\n      return createLocaleCompareStringComparer;\n    }\n    return createFallbackStringComparer;\n  }\n  function createStringComparer(locale) {\n    if (locale === void 0) {\n      return defaultComparer || (defaultComparer = stringComparerFactory(locale));\n    } else if (locale === \"en-US\") {\n      return enUSComparer || (enUSComparer = stringComparerFactory(locale));\n    } else {\n      return stringComparerFactory(locale);\n    }\n  }\n})();\nvar uiComparerCaseSensitive;\nvar uiLocale;\nfunction getUILocale() {\n  return uiLocale;\n}\nfunction setUILocale(value) {\n  if (uiLocale !== value) {\n    uiLocale = value;\n    uiComparerCaseSensitive = void 0;\n  }\n}\nfunction compareStringsCaseSensitiveUI(a, b) {\n  const comparer = uiComparerCaseSensitive || (uiComparerCaseSensitive = createUIStringComparer(uiLocale));\n  return comparer(a, b);\n}\nfunction compareProperties(a, b, key, comparer) {\n  return a === b ? 0 /* EqualTo */ : a === void 0 ? -1 /* LessThan */ : b === void 0 ? 1 /* GreaterThan */ : comparer(a[key], b[key]);\n}\nfunction compareBooleans(a, b) {\n  return compareValues(a ? 1 : 0, b ? 1 : 0);\n}\nfunction getSpellingSuggestion(name, candidates, getName) {\n  const maximumLengthDifference = Math.max(2, Math.floor(name.length * 0.34));\n  let bestDistance = Math.floor(name.length * 0.4) + 1;\n  let bestCandidate;\n  for (const candidate of candidates) {\n    const candidateName = getName(candidate);\n    if (candidateName !== void 0 && Math.abs(candidateName.length - name.length) <= maximumLengthDifference) {\n      if (candidateName === name) {\n        continue;\n      }\n      if (candidateName.length < 3 && candidateName.toLowerCase() !== name.toLowerCase()) {\n        continue;\n      }\n      const distance = levenshteinWithMax(name, candidateName, bestDistance - 0.1);\n      if (distance === void 0) {\n        continue;\n      }\n      Debug.assert(distance < bestDistance);\n      bestDistance = distance;\n      bestCandidate = candidate;\n    }\n  }\n  return bestCandidate;\n}\nfunction levenshteinWithMax(s1, s2, max) {\n  let previous = new Array(s2.length + 1);\n  let current = new Array(s2.length + 1);\n  const big = max + 0.01;\n  for (let i = 0; i <= s2.length; i++) {\n    previous[i] = i;\n  }\n  for (let i = 1; i <= s1.length; i++) {\n    const c1 = s1.charCodeAt(i - 1);\n    const minJ = Math.ceil(i > max ? i - max : 1);\n    const maxJ = Math.floor(s2.length > max + i ? max + i : s2.length);\n    current[0] = i;\n    let colMin = i;\n    for (let j = 1; j < minJ; j++) {\n      current[j] = big;\n    }\n    for (let j = minJ; j <= maxJ; j++) {\n      const substitutionDistance = s1[i - 1].toLowerCase() === s2[j - 1].toLowerCase() ? previous[j - 1] + 0.1 : previous[j - 1] + 2;\n      const dist = c1 === s2.charCodeAt(j - 1) ? previous[j - 1] : Math.min(previous[j] + 1, current[j - 1] + 1, substitutionDistance);\n      current[j] = dist;\n      colMin = Math.min(colMin, dist);\n    }\n    for (let j = maxJ + 1; j <= s2.length; j++) {\n      current[j] = big;\n    }\n    if (colMin > max) {\n      return void 0;\n    }\n    const temp = previous;\n    previous = current;\n    current = temp;\n  }\n  const res = previous[s2.length];\n  return res > max ? void 0 : res;\n}\nfunction endsWith(str, suffix) {\n  const expectedPos = str.length - suffix.length;\n  return expectedPos >= 0 && str.indexOf(suffix, expectedPos) === expectedPos;\n}\nfunction removeSuffix(str, suffix) {\n  return endsWith(str, suffix) ? str.slice(0, str.length - suffix.length) : str;\n}\nfunction tryRemoveSuffix(str, suffix) {\n  return endsWith(str, suffix) ? str.slice(0, str.length - suffix.length) : void 0;\n}\nfunction stringContains(str, substring) {\n  return str.indexOf(substring) !== -1;\n}\nfunction removeMinAndVersionNumbers(fileName) {\n  let end = fileName.length;\n  for (let pos = end - 1; pos > 0; pos--) {\n    let ch = fileName.charCodeAt(pos);\n    if (ch >= 48 /* _0 */ && ch <= 57 /* _9 */) {\n      do {\n        --pos;\n        ch = fileName.charCodeAt(pos);\n      } while (pos > 0 && ch >= 48 /* _0 */ && ch <= 57 /* _9 */);\n    } else if (pos > 4 && (ch === 110 /* n */ || ch === 78 /* N */)) {\n      --pos;\n      ch = fileName.charCodeAt(pos);\n      if (ch !== 105 /* i */ && ch !== 73 /* I */) {\n        break;\n      }\n      --pos;\n      ch = fileName.charCodeAt(pos);\n      if (ch !== 109 /* m */ && ch !== 77 /* M */) {\n        break;\n      }\n      --pos;\n      ch = fileName.charCodeAt(pos);\n    } else {\n      break;\n    }\n    if (ch !== 45 /* minus */ && ch !== 46 /* dot */) {\n      break;\n    }\n    end = pos;\n  }\n  return end === fileName.length ? fileName : fileName.slice(0, end);\n}\nfunction orderedRemoveItem(array, item) {\n  for (let i = 0; i < array.length; i++) {\n    if (array[i] === item) {\n      orderedRemoveItemAt(array, i);\n      return true;\n    }\n  }\n  return false;\n}\nfunction orderedRemoveItemAt(array, index) {\n  for (let i = index; i < array.length - 1; i++) {\n    array[i] = array[i + 1];\n  }\n  array.pop();\n}\nfunction unorderedRemoveItemAt(array, index) {\n  array[index] = array[array.length - 1];\n  array.pop();\n}\nfunction unorderedRemoveItem(array, item) {\n  return unorderedRemoveFirstItemWhere(array, (element) => element === item);\n}\nfunction unorderedRemoveFirstItemWhere(array, predicate) {\n  for (let i = 0; i < array.length; i++) {\n    if (predicate(array[i])) {\n      unorderedRemoveItemAt(array, i);\n      return true;\n    }\n  }\n  return false;\n}\nfunction createGetCanonicalFileName(useCaseSensitiveFileNames) {\n  return useCaseSensitiveFileNames ? identity : toFileNameLowerCase;\n}\nfunction patternText({ prefix, suffix }) {\n  return `${prefix}*${suffix}`;\n}\nfunction matchedText(pattern, candidate) {\n  Debug.assert(isPatternMatch(pattern, candidate));\n  return candidate.substring(pattern.prefix.length, candidate.length - pattern.suffix.length);\n}\nfunction findBestPatternMatch(values, getPattern, candidate) {\n  let matchedValue;\n  let longestMatchPrefixLength = -1;\n  for (const v of values) {\n    const pattern = getPattern(v);\n    if (isPatternMatch(pattern, candidate) && pattern.prefix.length > longestMatchPrefixLength) {\n      longestMatchPrefixLength = pattern.prefix.length;\n      matchedValue = v;\n    }\n  }\n  return matchedValue;\n}\nfunction startsWith(str, prefix) {\n  return str.lastIndexOf(prefix, 0) === 0;\n}\nfunction removePrefix(str, prefix) {\n  return startsWith(str, prefix) ? str.substr(prefix.length) : str;\n}\nfunction tryRemovePrefix(str, prefix, getCanonicalFileName = identity) {\n  return startsWith(getCanonicalFileName(str), getCanonicalFileName(prefix)) ? str.substring(prefix.length) : void 0;\n}\nfunction isPatternMatch({ prefix, suffix }, candidate) {\n  return candidate.length >= prefix.length + suffix.length && startsWith(candidate, prefix) && endsWith(candidate, suffix);\n}\nfunction and(f, g) {\n  return (arg) => f(arg) && g(arg);\n}\nfunction or(...fs) {\n  return (...args) => {\n    let lastResult;\n    for (const f of fs) {\n      lastResult = f(...args);\n      if (lastResult) {\n        return lastResult;\n      }\n    }\n    return lastResult;\n  };\n}\nfunction not(fn) {\n  return (...args) => !fn(...args);\n}\nfunction assertType(_) {\n}\nfunction singleElementArray(t) {\n  return t === void 0 ? void 0 : [t];\n}\nfunction enumerateInsertsAndDeletes(newItems, oldItems, comparer, inserted, deleted, unchanged) {\n  unchanged = unchanged || noop;\n  let newIndex = 0;\n  let oldIndex = 0;\n  const newLen = newItems.length;\n  const oldLen = oldItems.length;\n  let hasChanges = false;\n  while (newIndex < newLen && oldIndex < oldLen) {\n    const newItem = newItems[newIndex];\n    const oldItem = oldItems[oldIndex];\n    const compareResult = comparer(newItem, oldItem);\n    if (compareResult === -1 /* LessThan */) {\n      inserted(newItem);\n      newIndex++;\n      hasChanges = true;\n    } else if (compareResult === 1 /* GreaterThan */) {\n      deleted(oldItem);\n      oldIndex++;\n      hasChanges = true;\n    } else {\n      unchanged(oldItem, newItem);\n      newIndex++;\n      oldIndex++;\n    }\n  }\n  while (newIndex < newLen) {\n    inserted(newItems[newIndex++]);\n    hasChanges = true;\n  }\n  while (oldIndex < oldLen) {\n    deleted(oldItems[oldIndex++]);\n    hasChanges = true;\n  }\n  return hasChanges;\n}\nfunction fill(length2, cb) {\n  const result = Array(length2);\n  for (let i = 0; i < length2; i++) {\n    result[i] = cb(i);\n  }\n  return result;\n}\nfunction cartesianProduct(arrays) {\n  const result = [];\n  cartesianProductWorker(arrays, result, void 0, 0);\n  return result;\n}\nfunction cartesianProductWorker(arrays, result, outer, index) {\n  for (const element of arrays[index]) {\n    let inner;\n    if (outer) {\n      inner = outer.slice();\n      inner.push(element);\n    } else {\n      inner = [element];\n    }\n    if (index === arrays.length - 1) {\n      result.push(inner);\n    } else {\n      cartesianProductWorker(arrays, result, inner, index + 1);\n    }\n  }\n}\nfunction padLeft(s, length2, padString = \" \") {\n  return length2 <= s.length ? s : padString.repeat(length2 - s.length) + s;\n}\nfunction padRight(s, length2, padString = \" \") {\n  return length2 <= s.length ? s : s + padString.repeat(length2 - s.length);\n}\nfunction takeWhile(array, predicate) {\n  const len = array.length;\n  let index = 0;\n  while (index < len && predicate(array[index])) {\n    index++;\n  }\n  return array.slice(0, index);\n}\nvar trimString = !!String.prototype.trim ? (s) => s.trim() : (s) => trimStringEnd(trimStringStart(s));\nvar trimStringEnd = !!String.prototype.trimEnd ? (s) => s.trimEnd() : trimEndImpl;\nvar trimStringStart = !!String.prototype.trimStart ? (s) => s.trimStart() : (s) => s.replace(/^\\s+/g, \"\");\nfunction trimEndImpl(s) {\n  let end = s.length - 1;\n  while (end >= 0) {\n    if (!isWhiteSpaceLike(s.charCodeAt(end)))\n      break;\n    end--;\n  }\n  return s.slice(0, end + 1);\n}\nfunction isNodeLikeSystem() {\n  return typeof process !== \"undefined\" && process.nextTick && !process.browser && typeof require !== \"undefined\";\n}\n\n// src/compiler/debug.ts\nvar LogLevel = /* @__PURE__ */ ((LogLevel2) => {\n  LogLevel2[LogLevel2[\"Off\"] = 0] = \"Off\";\n  LogLevel2[LogLevel2[\"Error\"] = 1] = \"Error\";\n  LogLevel2[LogLevel2[\"Warning\"] = 2] = \"Warning\";\n  LogLevel2[LogLevel2[\"Info\"] = 3] = \"Info\";\n  LogLevel2[LogLevel2[\"Verbose\"] = 4] = \"Verbose\";\n  return LogLevel2;\n})(LogLevel || {});\nvar Debug;\n((Debug2) => {\n  let typeScriptVersion2;\n  let currentAssertionLevel = 0 /* None */;\n  Debug2.currentLogLevel = 2 /* Warning */;\n  Debug2.isDebugging = false;\n  Debug2.enableDeprecationWarnings = true;\n  function getTypeScriptVersion() {\n    return typeScriptVersion2 != null ? typeScriptVersion2 : typeScriptVersion2 = new Version(version);\n  }\n  Debug2.getTypeScriptVersion = getTypeScriptVersion;\n  function shouldLog(level) {\n    return Debug2.currentLogLevel <= level;\n  }\n  Debug2.shouldLog = shouldLog;\n  function logMessage(level, s) {\n    if (Debug2.loggingHost && shouldLog(level)) {\n      Debug2.loggingHost.log(level, s);\n    }\n  }\n  function log(s) {\n    logMessage(3 /* Info */, s);\n  }\n  Debug2.log = log;\n  ((_log) => {\n    function error(s) {\n      logMessage(1 /* Error */, s);\n    }\n    _log.error = error;\n    function warn(s) {\n      logMessage(2 /* Warning */, s);\n    }\n    _log.warn = warn;\n    function log2(s) {\n      logMessage(3 /* Info */, s);\n    }\n    _log.log = log2;\n    function trace2(s) {\n      logMessage(4 /* Verbose */, s);\n    }\n    _log.trace = trace2;\n  })(log = Debug2.log || (Debug2.log = {}));\n  const assertionCache = {};\n  function getAssertionLevel() {\n    return currentAssertionLevel;\n  }\n  Debug2.getAssertionLevel = getAssertionLevel;\n  function setAssertionLevel(level) {\n    const prevAssertionLevel = currentAssertionLevel;\n    currentAssertionLevel = level;\n    if (level > prevAssertionLevel) {\n      for (const key of getOwnKeys(assertionCache)) {\n        const cachedFunc = assertionCache[key];\n        if (cachedFunc !== void 0 && Debug2[key] !== cachedFunc.assertion && level >= cachedFunc.level) {\n          Debug2[key] = cachedFunc;\n          assertionCache[key] = void 0;\n        }\n      }\n    }\n  }\n  Debug2.setAssertionLevel = setAssertionLevel;\n  function shouldAssert(level) {\n    return currentAssertionLevel >= level;\n  }\n  Debug2.shouldAssert = shouldAssert;\n  function shouldAssertFunction(level, name) {\n    if (!shouldAssert(level)) {\n      assertionCache[name] = { level, assertion: Debug2[name] };\n      Debug2[name] = noop;\n      return false;\n    }\n    return true;\n  }\n  function fail(message, stackCrawlMark) {\n    debugger;\n    const e = new Error(message ? `Debug Failure. ${message}` : \"Debug Failure.\");\n    if (Error.captureStackTrace) {\n      Error.captureStackTrace(e, stackCrawlMark || fail);\n    }\n    throw e;\n  }\n  Debug2.fail = fail;\n  function failBadSyntaxKind(node, message, stackCrawlMark) {\n    return fail(\n      `${message || \"Unexpected node.\"}\\r\nNode ${formatSyntaxKind(node.kind)} was unexpected.`,\n      stackCrawlMark || failBadSyntaxKind\n    );\n  }\n  Debug2.failBadSyntaxKind = failBadSyntaxKind;\n  function assert(expression, message, verboseDebugInfo, stackCrawlMark) {\n    if (!expression) {\n      message = message ? `False expression: ${message}` : \"False expression.\";\n      if (verboseDebugInfo) {\n        message += \"\\r\\nVerbose Debug Information: \" + (typeof verboseDebugInfo === \"string\" ? verboseDebugInfo : verboseDebugInfo());\n      }\n      fail(message, stackCrawlMark || assert);\n    }\n  }\n  Debug2.assert = assert;\n  function assertEqual(a, b, msg, msg2, stackCrawlMark) {\n    if (a !== b) {\n      const message = msg ? msg2 ? `${msg} ${msg2}` : msg : \"\";\n      fail(`Expected ${a} === ${b}. ${message}`, stackCrawlMark || assertEqual);\n    }\n  }\n  Debug2.assertEqual = assertEqual;\n  function assertLessThan(a, b, msg, stackCrawlMark) {\n    if (a >= b) {\n      fail(`Expected ${a} < ${b}. ${msg || \"\"}`, stackCrawlMark || assertLessThan);\n    }\n  }\n  Debug2.assertLessThan = assertLessThan;\n  function assertLessThanOrEqual(a, b, stackCrawlMark) {\n    if (a > b) {\n      fail(`Expected ${a} <= ${b}`, stackCrawlMark || assertLessThanOrEqual);\n    }\n  }\n  Debug2.assertLessThanOrEqual = assertLessThanOrEqual;\n  function assertGreaterThanOrEqual(a, b, stackCrawlMark) {\n    if (a < b) {\n      fail(`Expected ${a} >= ${b}`, stackCrawlMark || assertGreaterThanOrEqual);\n    }\n  }\n  Debug2.assertGreaterThanOrEqual = assertGreaterThanOrEqual;\n  function assertIsDefined(value, message, stackCrawlMark) {\n    if (value === void 0 || value === null) {\n      fail(message, stackCrawlMark || assertIsDefined);\n    }\n  }\n  Debug2.assertIsDefined = assertIsDefined;\n  function checkDefined(value, message, stackCrawlMark) {\n    assertIsDefined(value, message, stackCrawlMark || checkDefined);\n    return value;\n  }\n  Debug2.checkDefined = checkDefined;\n  function assertEachIsDefined(value, message, stackCrawlMark) {\n    for (const v of value) {\n      assertIsDefined(v, message, stackCrawlMark || assertEachIsDefined);\n    }\n  }\n  Debug2.assertEachIsDefined = assertEachIsDefined;\n  function checkEachDefined(value, message, stackCrawlMark) {\n    assertEachIsDefined(value, message, stackCrawlMark || checkEachDefined);\n    return value;\n  }\n  Debug2.checkEachDefined = checkEachDefined;\n  function assertNever(member, message = \"Illegal value:\", stackCrawlMark) {\n    const detail = typeof member === \"object\" && hasProperty(member, \"kind\") && hasProperty(member, \"pos\") ? \"SyntaxKind: \" + formatSyntaxKind(member.kind) : JSON.stringify(member);\n    return fail(`${message} ${detail}`, stackCrawlMark || assertNever);\n  }\n  Debug2.assertNever = assertNever;\n  function assertEachNode(nodes, test, message, stackCrawlMark) {\n    if (shouldAssertFunction(1 /* Normal */, \"assertEachNode\")) {\n      assert(\n        test === void 0 || every(nodes, test),\n        message || \"Unexpected node.\",\n        () => `Node array did not pass test '${getFunctionName(test)}'.`,\n        stackCrawlMark || assertEachNode\n      );\n    }\n  }\n  Debug2.assertEachNode = assertEachNode;\n  function assertNode(node, test, message, stackCrawlMark) {\n    if (shouldAssertFunction(1 /* Normal */, \"assertNode\")) {\n      assert(\n        node !== void 0 && (test === void 0 || test(node)),\n        message || \"Unexpected node.\",\n        () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`,\n        stackCrawlMark || assertNode\n      );\n    }\n  }\n  Debug2.assertNode = assertNode;\n  function assertNotNode(node, test, message, stackCrawlMark) {\n    if (shouldAssertFunction(1 /* Normal */, \"assertNotNode\")) {\n      assert(\n        node === void 0 || test === void 0 || !test(node),\n        message || \"Unexpected node.\",\n        () => `Node ${formatSyntaxKind(node.kind)} should not have passed test '${getFunctionName(test)}'.`,\n        stackCrawlMark || assertNotNode\n      );\n    }\n  }\n  Debug2.assertNotNode = assertNotNode;\n  function assertOptionalNode(node, test, message, stackCrawlMark) {\n    if (shouldAssertFunction(1 /* Normal */, \"assertOptionalNode\")) {\n      assert(\n        test === void 0 || node === void 0 || test(node),\n        message || \"Unexpected node.\",\n        () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} did not pass test '${getFunctionName(test)}'.`,\n        stackCrawlMark || assertOptionalNode\n      );\n    }\n  }\n  Debug2.assertOptionalNode = assertOptionalNode;\n  function assertOptionalToken(node, kind, message, stackCrawlMark) {\n    if (shouldAssertFunction(1 /* Normal */, \"assertOptionalToken\")) {\n      assert(\n        kind === void 0 || node === void 0 || node.kind === kind,\n        message || \"Unexpected node.\",\n        () => `Node ${formatSyntaxKind(node == null ? void 0 : node.kind)} was not a '${formatSyntaxKind(kind)}' token.`,\n        stackCrawlMark || assertOptionalToken\n      );\n    }\n  }\n  Debug2.assertOptionalToken = assertOptionalToken;\n  function assertMissingNode(node, message, stackCrawlMark) {\n    if (shouldAssertFunction(1 /* Normal */, \"assertMissingNode\")) {\n      assert(\n        node === void 0,\n        message || \"Unexpected node.\",\n        () => `Node ${formatSyntaxKind(node.kind)} was unexpected'.`,\n        stackCrawlMark || assertMissingNode\n      );\n    }\n  }\n  Debug2.assertMissingNode = assertMissingNode;\n  function type(_value) {\n  }\n  Debug2.type = type;\n  function getFunctionName(func) {\n    if (typeof func !== \"function\") {\n      return \"\";\n    } else if (hasProperty(func, \"name\")) {\n      return func.name;\n    } else {\n      const text = Function.prototype.toString.call(func);\n      const match = /^function\\s+([\\w\\$]+)\\s*\\(/.exec(text);\n      return match ? match[1] : \"\";\n    }\n  }\n  Debug2.getFunctionName = getFunctionName;\n  function formatSymbol(symbol) {\n    return `{ name: ${unescapeLeadingUnderscores(symbol.escapedName)}; flags: ${formatSymbolFlags(symbol.flags)}; declarations: ${map(symbol.declarations, (node) => formatSyntaxKind(node.kind))} }`;\n  }\n  Debug2.formatSymbol = formatSymbol;\n  function formatEnum(value = 0, enumObject, isFlags) {\n    const members = getEnumMembers(enumObject);\n    if (value === 0) {\n      return members.length > 0 && members[0][0] === 0 ? members[0][1] : \"0\";\n    }\n    if (isFlags) {\n      const result = [];\n      let remainingFlags = value;\n      for (const [enumValue, enumName] of members) {\n        if (enumValue > value) {\n          break;\n        }\n        if (enumValue !== 0 && enumValue & value) {\n          result.push(enumName);\n          remainingFlags &= ~enumValue;\n        }\n      }\n      if (remainingFlags === 0) {\n        return result.join(\"|\");\n      }\n    } else {\n      for (const [enumValue, enumName] of members) {\n        if (enumValue === value) {\n          return enumName;\n        }\n      }\n    }\n    return value.toString();\n  }\n  Debug2.formatEnum = formatEnum;\n  const enumMemberCache = new Map2();\n  function getEnumMembers(enumObject) {\n    const existing = enumMemberCache.get(enumObject);\n    if (existing) {\n      return existing;\n    }\n    const result = [];\n    for (const name in enumObject) {\n      const value = enumObject[name];\n      if (typeof value === \"number\") {\n        result.push([value, name]);\n      }\n    }\n    const sorted = stableSort(result, (x, y) => compareValues(x[0], y[0]));\n    enumMemberCache.set(enumObject, sorted);\n    return sorted;\n  }\n  function formatSyntaxKind(kind) {\n    return formatEnum(kind, SyntaxKind2, false);\n  }\n  Debug2.formatSyntaxKind = formatSyntaxKind;\n  function formatSnippetKind(kind) {\n    return formatEnum(kind, SnippetKind2, false);\n  }\n  Debug2.formatSnippetKind = formatSnippetKind;\n  function formatNodeFlags(flags) {\n    return formatEnum(flags, NodeFlags2, true);\n  }\n  Debug2.formatNodeFlags = formatNodeFlags;\n  function formatModifierFlags(flags) {\n    return formatEnum(flags, ModifierFlags2, true);\n  }\n  Debug2.formatModifierFlags = formatModifierFlags;\n  function formatTransformFlags(flags) {\n    return formatEnum(flags, TransformFlags2, true);\n  }\n  Debug2.formatTransformFlags = formatTransformFlags;\n  function formatEmitFlags(flags) {\n    return formatEnum(flags, EmitFlags2, true);\n  }\n  Debug2.formatEmitFlags = formatEmitFlags;\n  function formatSymbolFlags(flags) {\n    return formatEnum(flags, SymbolFlags, true);\n  }\n  Debug2.formatSymbolFlags = formatSymbolFlags;\n  function formatTypeFlags(flags) {\n    return formatEnum(flags, TypeFlags, true);\n  }\n  Debug2.formatTypeFlags = formatTypeFlags;\n  function formatSignatureFlags(flags) {\n    return formatEnum(flags, SignatureFlags2, true);\n  }\n  Debug2.formatSignatureFlags = formatSignatureFlags;\n  function formatObjectFlags(flags) {\n    return formatEnum(flags, ObjectFlags, true);\n  }\n  Debug2.formatObjectFlags = formatObjectFlags;\n  function formatFlowFlags(flags) {\n    return formatEnum(flags, FlowFlags, true);\n  }\n  Debug2.formatFlowFlags = formatFlowFlags;\n  function formatRelationComparisonResult(result) {\n    return formatEnum(result, RelationComparisonResult2, true);\n  }\n  Debug2.formatRelationComparisonResult = formatRelationComparisonResult;\n  function formatCheckMode(mode) {\n    return formatEnum(mode, CheckMode2, true);\n  }\n  Debug2.formatCheckMode = formatCheckMode;\n  function formatSignatureCheckMode(mode) {\n    return formatEnum(mode, SignatureCheckMode2, true);\n  }\n  Debug2.formatSignatureCheckMode = formatSignatureCheckMode;\n  function formatTypeFacts(facts) {\n    return formatEnum(facts, TypeFacts2, true);\n  }\n  Debug2.formatTypeFacts = formatTypeFacts;\n  let isDebugInfoEnabled = false;\n  let flowNodeProto;\n  function attachFlowNodeDebugInfoWorker(flowNode) {\n    if (!(\"__debugFlowFlags\" in flowNode)) {\n      Object.defineProperties(flowNode, {\n        __tsDebuggerDisplay: {\n          value() {\n            const flowHeader = this.flags & 2 /* Start */ ? \"FlowStart\" : this.flags & 4 /* BranchLabel */ ? \"FlowBranchLabel\" : this.flags & 8 /* LoopLabel */ ? \"FlowLoopLabel\" : this.flags & 16 /* Assignment */ ? \"FlowAssignment\" : this.flags & 32 /* TrueCondition */ ? \"FlowTrueCondition\" : this.flags & 64 /* FalseCondition */ ? \"FlowFalseCondition\" : this.flags & 128 /* SwitchClause */ ? \"FlowSwitchClause\" : this.flags & 256 /* ArrayMutation */ ? \"FlowArrayMutation\" : this.flags & 512 /* Call */ ? \"FlowCall\" : this.flags & 1024 /* ReduceLabel */ ? \"FlowReduceLabel\" : this.flags & 1 /* Unreachable */ ? \"FlowUnreachable\" : \"UnknownFlow\";\n            const remainingFlags = this.flags & ~(2048 /* Referenced */ - 1);\n            return `${flowHeader}${remainingFlags ? ` (${formatFlowFlags(remainingFlags)})` : \"\"}`;\n          }\n        },\n        __debugFlowFlags: { get() {\n          return formatEnum(this.flags, FlowFlags, true);\n        } },\n        __debugToString: { value() {\n          return formatControlFlowGraph(this);\n        } }\n      });\n    }\n  }\n  function attachFlowNodeDebugInfo(flowNode) {\n    if (isDebugInfoEnabled) {\n      if (typeof Object.setPrototypeOf === \"function\") {\n        if (!flowNodeProto) {\n          flowNodeProto = Object.create(Object.prototype);\n          attachFlowNodeDebugInfoWorker(flowNodeProto);\n        }\n        Object.setPrototypeOf(flowNode, flowNodeProto);\n      } else {\n        attachFlowNodeDebugInfoWorker(flowNode);\n      }\n    }\n  }\n  Debug2.attachFlowNodeDebugInfo = attachFlowNodeDebugInfo;\n  let nodeArrayProto;\n  function attachNodeArrayDebugInfoWorker(array) {\n    if (!(\"__tsDebuggerDisplay\" in array)) {\n      Object.defineProperties(array, {\n        __tsDebuggerDisplay: {\n          value(defaultValue) {\n            defaultValue = String(defaultValue).replace(/(?:,[\\s\\w\\d_]+:[^,]+)+\\]$/, \"]\");\n            return `NodeArray ${defaultValue}`;\n          }\n        }\n      });\n    }\n  }\n  function attachNodeArrayDebugInfo(array) {\n    if (isDebugInfoEnabled) {\n      if (typeof Object.setPrototypeOf === \"function\") {\n        if (!nodeArrayProto) {\n          nodeArrayProto = Object.create(Array.prototype);\n          attachNodeArrayDebugInfoWorker(nodeArrayProto);\n        }\n        Object.setPrototypeOf(array, nodeArrayProto);\n      } else {\n        attachNodeArrayDebugInfoWorker(array);\n      }\n    }\n  }\n  Debug2.attachNodeArrayDebugInfo = attachNodeArrayDebugInfo;\n  function enableDebugInfo() {\n    if (isDebugInfoEnabled)\n      return;\n    let weakTypeTextMap;\n    let weakNodeTextMap;\n    function getWeakTypeTextMap() {\n      if (weakTypeTextMap === void 0) {\n        if (typeof WeakMap === \"function\")\n          weakTypeTextMap = /* @__PURE__ */ new WeakMap();\n      }\n      return weakTypeTextMap;\n    }\n    function getWeakNodeTextMap() {\n      if (weakNodeTextMap === void 0) {\n        if (typeof WeakMap === \"function\")\n          weakNodeTextMap = /* @__PURE__ */ new WeakMap();\n      }\n      return weakNodeTextMap;\n    }\n    Object.defineProperties(objectAllocator.getSymbolConstructor().prototype, {\n      __tsDebuggerDisplay: {\n        value() {\n          const symbolHeader = this.flags & 33554432 /* Transient */ ? \"TransientSymbol\" : \"Symbol\";\n          const remainingSymbolFlags = this.flags & ~33554432 /* Transient */;\n          return `${symbolHeader} '${symbolName(this)}'${remainingSymbolFlags ? ` (${formatSymbolFlags(remainingSymbolFlags)})` : \"\"}`;\n        }\n      },\n      __debugFlags: { get() {\n        return formatSymbolFlags(this.flags);\n      } }\n    });\n    Object.defineProperties(objectAllocator.getTypeConstructor().prototype, {\n      __tsDebuggerDisplay: {\n        value() {\n          const typeHeader = this.flags & 98304 /* Nullable */ ? \"NullableType\" : this.flags & 384 /* StringOrNumberLiteral */ ? `LiteralType ${JSON.stringify(this.value)}` : this.flags & 2048 /* BigIntLiteral */ ? `LiteralType ${this.value.negative ? \"-\" : \"\"}${this.value.base10Value}n` : this.flags & 8192 /* UniqueESSymbol */ ? \"UniqueESSymbolType\" : this.flags & 32 /* Enum */ ? \"EnumType\" : this.flags & 67359327 /* Intrinsic */ ? `IntrinsicType ${this.intrinsicName}` : this.flags & 1048576 /* Union */ ? \"UnionType\" : this.flags & 2097152 /* Intersection */ ? \"IntersectionType\" : this.flags & 4194304 /* Index */ ? \"IndexType\" : this.flags & 8388608 /* IndexedAccess */ ? \"IndexedAccessType\" : this.flags & 16777216 /* Conditional */ ? \"ConditionalType\" : this.flags & 33554432 /* Substitution */ ? \"SubstitutionType\" : this.flags & 262144 /* TypeParameter */ ? \"TypeParameter\" : this.flags & 524288 /* Object */ ? this.objectFlags & 3 /* ClassOrInterface */ ? \"InterfaceType\" : this.objectFlags & 4 /* Reference */ ? \"TypeReference\" : this.objectFlags & 8 /* Tuple */ ? \"TupleType\" : this.objectFlags & 16 /* Anonymous */ ? \"AnonymousType\" : this.objectFlags & 32 /* Mapped */ ? \"MappedType\" : this.objectFlags & 1024 /* ReverseMapped */ ? \"ReverseMappedType\" : this.objectFlags & 256 /* EvolvingArray */ ? \"EvolvingArrayType\" : \"ObjectType\" : \"Type\";\n          const remainingObjectFlags = this.flags & 524288 /* Object */ ? this.objectFlags & ~1343 /* ObjectTypeKindMask */ : 0;\n          return `${typeHeader}${this.symbol ? ` '${symbolName(this.symbol)}'` : \"\"}${remainingObjectFlags ? ` (${formatObjectFlags(remainingObjectFlags)})` : \"\"}`;\n        }\n      },\n      __debugFlags: { get() {\n        return formatTypeFlags(this.flags);\n      } },\n      __debugObjectFlags: { get() {\n        return this.flags & 524288 /* Object */ ? formatObjectFlags(this.objectFlags) : \"\";\n      } },\n      __debugTypeToString: {\n        value() {\n          const map2 = getWeakTypeTextMap();\n          let text = map2 == null ? void 0 : map2.get(this);\n          if (text === void 0) {\n            text = this.checker.typeToString(this);\n            map2 == null ? void 0 : map2.set(this, text);\n          }\n          return text;\n        }\n      }\n    });\n    Object.defineProperties(objectAllocator.getSignatureConstructor().prototype, {\n      __debugFlags: { get() {\n        return formatSignatureFlags(this.flags);\n      } },\n      __debugSignatureToString: { value() {\n        var _a2;\n        return (_a2 = this.checker) == null ? void 0 : _a2.signatureToString(this);\n      } }\n    });\n    const nodeConstructors = [\n      objectAllocator.getNodeConstructor(),\n      objectAllocator.getIdentifierConstructor(),\n      objectAllocator.getTokenConstructor(),\n      objectAllocator.getSourceFileConstructor()\n    ];\n    for (const ctor of nodeConstructors) {\n      if (!hasProperty(ctor.prototype, \"__debugKind\")) {\n        Object.defineProperties(ctor.prototype, {\n          __tsDebuggerDisplay: {\n            value() {\n              const nodeHeader = isGeneratedIdentifier(this) ? \"GeneratedIdentifier\" : isIdentifier(this) ? `Identifier '${idText(this)}'` : isPrivateIdentifier(this) ? `PrivateIdentifier '${idText(this)}'` : isStringLiteral(this) ? `StringLiteral ${JSON.stringify(this.text.length < 10 ? this.text : this.text.slice(10) + \"...\")}` : isNumericLiteral(this) ? `NumericLiteral ${this.text}` : isBigIntLiteral(this) ? `BigIntLiteral ${this.text}n` : isTypeParameterDeclaration(this) ? \"TypeParameterDeclaration\" : isParameter(this) ? \"ParameterDeclaration\" : isConstructorDeclaration(this) ? \"ConstructorDeclaration\" : isGetAccessorDeclaration(this) ? \"GetAccessorDeclaration\" : isSetAccessorDeclaration(this) ? \"SetAccessorDeclaration\" : isCallSignatureDeclaration(this) ? \"CallSignatureDeclaration\" : isConstructSignatureDeclaration(this) ? \"ConstructSignatureDeclaration\" : isIndexSignatureDeclaration(this) ? \"IndexSignatureDeclaration\" : isTypePredicateNode(this) ? \"TypePredicateNode\" : isTypeReferenceNode(this) ? \"TypeReferenceNode\" : isFunctionTypeNode(this) ? \"FunctionTypeNode\" : isConstructorTypeNode(this) ? \"ConstructorTypeNode\" : isTypeQueryNode(this) ? \"TypeQueryNode\" : isTypeLiteralNode(this) ? \"TypeLiteralNode\" : isArrayTypeNode(this) ? \"ArrayTypeNode\" : isTupleTypeNode(this) ? \"TupleTypeNode\" : isOptionalTypeNode(this) ? \"OptionalTypeNode\" : isRestTypeNode(this) ? \"RestTypeNode\" : isUnionTypeNode(this) ? \"UnionTypeNode\" : isIntersectionTypeNode(this) ? \"IntersectionTypeNode\" : isConditionalTypeNode(this) ? \"ConditionalTypeNode\" : isInferTypeNode(this) ? \"InferTypeNode\" : isParenthesizedTypeNode(this) ? \"ParenthesizedTypeNode\" : isThisTypeNode(this) ? \"ThisTypeNode\" : isTypeOperatorNode(this) ? \"TypeOperatorNode\" : isIndexedAccessTypeNode(this) ? \"IndexedAccessTypeNode\" : isMappedTypeNode(this) ? \"MappedTypeNode\" : isLiteralTypeNode(this) ? \"LiteralTypeNode\" : isNamedTupleMember(this) ? \"NamedTupleMember\" : isImportTypeNode(this) ? \"ImportTypeNode\" : formatSyntaxKind(this.kind);\n              return `${nodeHeader}${this.flags ? ` (${formatNodeFlags(this.flags)})` : \"\"}`;\n            }\n          },\n          __debugKind: { get() {\n            return formatSyntaxKind(this.kind);\n          } },\n          __debugNodeFlags: { get() {\n            return formatNodeFlags(this.flags);\n          } },\n          __debugModifierFlags: { get() {\n            return formatModifierFlags(getEffectiveModifierFlagsNoCache(this));\n          } },\n          __debugTransformFlags: { get() {\n            return formatTransformFlags(this.transformFlags);\n          } },\n          __debugIsParseTreeNode: { get() {\n            return isParseTreeNode(this);\n          } },\n          __debugEmitFlags: { get() {\n            return formatEmitFlags(getEmitFlags(this));\n          } },\n          __debugGetText: {\n            value(includeTrivia) {\n              if (nodeIsSynthesized(this))\n                return \"\";\n              const map2 = getWeakNodeTextMap();\n              let text = map2 == null ? void 0 : map2.get(this);\n              if (text === void 0) {\n                const parseNode = getParseTreeNode(this);\n                const sourceFile = parseNode && getSourceFileOfNode(parseNode);\n                text = sourceFile ? getSourceTextOfNodeFromSourceFile(sourceFile, parseNode, includeTrivia) : \"\";\n                map2 == null ? void 0 : map2.set(this, text);\n              }\n              return text;\n            }\n          }\n        });\n      }\n    }\n    isDebugInfoEnabled = true;\n  }\n  Debug2.enableDebugInfo = enableDebugInfo;\n  function formatDeprecationMessage(name, error, errorAfter, since, message) {\n    let deprecationMessage = error ? \"DeprecationError: \" : \"DeprecationWarning: \";\n    deprecationMessage += `'${name}' `;\n    deprecationMessage += since ? `has been deprecated since v${since}` : \"is deprecated\";\n    deprecationMessage += error ? \" and can no longer be used.\" : errorAfter ? ` and will no longer be usable after v${errorAfter}.` : \".\";\n    deprecationMessage += message ? ` ${formatStringFromArgs(message, [name], 0)}` : \"\";\n    return deprecationMessage;\n  }\n  function createErrorDeprecation(name, errorAfter, since, message) {\n    const deprecationMessage = formatDeprecationMessage(name, true, errorAfter, since, message);\n    return () => {\n      throw new TypeError(deprecationMessage);\n    };\n  }\n  function createWarningDeprecation(name, errorAfter, since, message) {\n    let hasWrittenDeprecation = false;\n    return () => {\n      if (Debug2.enableDeprecationWarnings && !hasWrittenDeprecation) {\n        log.warn(formatDeprecationMessage(name, false, errorAfter, since, message));\n        hasWrittenDeprecation = true;\n      }\n    };\n  }\n  function createDeprecation(name, options = {}) {\n    var _a2, _b;\n    const version2 = typeof options.typeScriptVersion === \"string\" ? new Version(options.typeScriptVersion) : (_a2 = options.typeScriptVersion) != null ? _a2 : getTypeScriptVersion();\n    const errorAfter = typeof options.errorAfter === \"string\" ? new Version(options.errorAfter) : options.errorAfter;\n    const warnAfter = typeof options.warnAfter === \"string\" ? new Version(options.warnAfter) : options.warnAfter;\n    const since = typeof options.since === \"string\" ? new Version(options.since) : (_b = options.since) != null ? _b : warnAfter;\n    const error = options.error || errorAfter && version2.compareTo(errorAfter) <= 0;\n    const warn = !warnAfter || version2.compareTo(warnAfter) >= 0;\n    return error ? createErrorDeprecation(name, errorAfter, since, options.message) : warn ? createWarningDeprecation(name, errorAfter, since, options.message) : noop;\n  }\n  Debug2.createDeprecation = createDeprecation;\n  function wrapFunction(deprecation, func) {\n    return function() {\n      deprecation();\n      return func.apply(this, arguments);\n    };\n  }\n  function deprecate(func, options) {\n    var _a2;\n    const deprecation = createDeprecation((_a2 = options == null ? void 0 : options.name) != null ? _a2 : getFunctionName(func), options);\n    return wrapFunction(deprecation, func);\n  }\n  Debug2.deprecate = deprecate;\n  function formatVariance(varianceFlags) {\n    const variance = varianceFlags & 7 /* VarianceMask */;\n    let result = variance === 0 /* Invariant */ ? \"in out\" : variance === 3 /* Bivariant */ ? \"[bivariant]\" : variance === 2 /* Contravariant */ ? \"in\" : variance === 1 /* Covariant */ ? \"out\" : variance === 4 /* Independent */ ? \"[independent]\" : \"\";\n    if (varianceFlags & 8 /* Unmeasurable */) {\n      result += \" (unmeasurable)\";\n    } else if (varianceFlags & 16 /* Unreliable */) {\n      result += \" (unreliable)\";\n    }\n    return result;\n  }\n  Debug2.formatVariance = formatVariance;\n  class DebugTypeMapper {\n    __debugToString() {\n      var _a2;\n      type(this);\n      switch (this.kind) {\n        case 3 /* Function */:\n          return ((_a2 = this.debugInfo) == null ? void 0 : _a2.call(this)) || \"(function mapper)\";\n        case 0 /* Simple */:\n          return `${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;\n        case 1 /* Array */:\n          return zipWith(\n            this.sources,\n            this.targets || map(this.sources, () => \"any\"),\n            (s, t) => `${s.__debugTypeToString()} -> ${typeof t === \"string\" ? t : t.__debugTypeToString()}`\n          ).join(\", \");\n        case 2 /* Deferred */:\n          return zipWith(\n            this.sources,\n            this.targets,\n            (s, t) => `${s.__debugTypeToString()} -> ${t().__debugTypeToString()}`\n          ).join(\", \");\n        case 5 /* Merged */:\n        case 4 /* Composite */:\n          return `m1: ${this.mapper1.__debugToString().split(\"\\n\").join(\"\\n    \")}\nm2: ${this.mapper2.__debugToString().split(\"\\n\").join(\"\\n    \")}`;\n        default:\n          return assertNever(this);\n      }\n    }\n  }\n  Debug2.DebugTypeMapper = DebugTypeMapper;\n  function attachDebugPrototypeIfDebug(mapper) {\n    if (Debug2.isDebugging) {\n      return Object.setPrototypeOf(mapper, DebugTypeMapper.prototype);\n    }\n    return mapper;\n  }\n  Debug2.attachDebugPrototypeIfDebug = attachDebugPrototypeIfDebug;\n  function printControlFlowGraph(flowNode) {\n    return console.log(formatControlFlowGraph(flowNode));\n  }\n  Debug2.printControlFlowGraph = printControlFlowGraph;\n  function formatControlFlowGraph(flowNode) {\n    let nextDebugFlowId = -1;\n    function getDebugFlowNodeId(f) {\n      if (!f.id) {\n        f.id = nextDebugFlowId;\n        nextDebugFlowId--;\n      }\n      return f.id;\n    }\n    let BoxCharacter;\n    ((BoxCharacter2) => {\n      BoxCharacter2[\"lr\"] = \"\\u2500\";\n      BoxCharacter2[\"ud\"] = \"\\u2502\";\n      BoxCharacter2[\"dr\"] = \"\\u256D\";\n      BoxCharacter2[\"dl\"] = \"\\u256E\";\n      BoxCharacter2[\"ul\"] = \"\\u256F\";\n      BoxCharacter2[\"ur\"] = \"\\u2570\";\n      BoxCharacter2[\"udr\"] = \"\\u251C\";\n      BoxCharacter2[\"udl\"] = \"\\u2524\";\n      BoxCharacter2[\"dlr\"] = \"\\u252C\";\n      BoxCharacter2[\"ulr\"] = \"\\u2534\";\n      BoxCharacter2[\"udlr\"] = \"\\u256B\";\n    })(BoxCharacter || (BoxCharacter = {}));\n    let Connection;\n    ((Connection2) => {\n      Connection2[Connection2[\"None\"] = 0] = \"None\";\n      Connection2[Connection2[\"Up\"] = 1] = \"Up\";\n      Connection2[Connection2[\"Down\"] = 2] = \"Down\";\n      Connection2[Connection2[\"Left\"] = 4] = \"Left\";\n      Connection2[Connection2[\"Right\"] = 8] = \"Right\";\n      Connection2[Connection2[\"UpDown\"] = 3] = \"UpDown\";\n      Connection2[Connection2[\"LeftRight\"] = 12] = \"LeftRight\";\n      Connection2[Connection2[\"UpLeft\"] = 5] = \"UpLeft\";\n      Connection2[Connection2[\"UpRight\"] = 9] = \"UpRight\";\n      Connection2[Connection2[\"DownLeft\"] = 6] = \"DownLeft\";\n      Connection2[Connection2[\"DownRight\"] = 10] = \"DownRight\";\n      Connection2[Connection2[\"UpDownLeft\"] = 7] = \"UpDownLeft\";\n      Connection2[Connection2[\"UpDownRight\"] = 11] = \"UpDownRight\";\n      Connection2[Connection2[\"UpLeftRight\"] = 13] = \"UpLeftRight\";\n      Connection2[Connection2[\"DownLeftRight\"] = 14] = \"DownLeftRight\";\n      Connection2[Connection2[\"UpDownLeftRight\"] = 15] = \"UpDownLeftRight\";\n      Connection2[Connection2[\"NoChildren\"] = 16] = \"NoChildren\";\n    })(Connection || (Connection = {}));\n    const hasAntecedentFlags = 16 /* Assignment */ | 96 /* Condition */ | 128 /* SwitchClause */ | 256 /* ArrayMutation */ | 512 /* Call */ | 1024 /* ReduceLabel */;\n    const hasNodeFlags = 2 /* Start */ | 16 /* Assignment */ | 512 /* Call */ | 96 /* Condition */ | 256 /* ArrayMutation */;\n    const links = /* @__PURE__ */ Object.create(null);\n    const nodes = [];\n    const edges = [];\n    const root = buildGraphNode(flowNode, new Set2());\n    for (const node of nodes) {\n      node.text = renderFlowNode(node.flowNode, node.circular);\n      computeLevel(node);\n    }\n    const height = computeHeight(root);\n    const columnWidths = computeColumnWidths(height);\n    computeLanes(root, 0);\n    return renderGraph();\n    function isFlowSwitchClause(f) {\n      return !!(f.flags & 128 /* SwitchClause */);\n    }\n    function hasAntecedents(f) {\n      return !!(f.flags & 12 /* Label */) && !!f.antecedents;\n    }\n    function hasAntecedent(f) {\n      return !!(f.flags & hasAntecedentFlags);\n    }\n    function hasNode(f) {\n      return !!(f.flags & hasNodeFlags);\n    }\n    function getChildren(node) {\n      const children = [];\n      for (const edge of node.edges) {\n        if (edge.source === node) {\n          children.push(edge.target);\n        }\n      }\n      return children;\n    }\n    function getParents(node) {\n      const parents = [];\n      for (const edge of node.edges) {\n        if (edge.target === node) {\n          parents.push(edge.source);\n        }\n      }\n      return parents;\n    }\n    function buildGraphNode(flowNode2, seen) {\n      const id = getDebugFlowNodeId(flowNode2);\n      let graphNode = links[id];\n      if (graphNode && seen.has(flowNode2)) {\n        graphNode.circular = true;\n        graphNode = {\n          id: -1,\n          flowNode: flowNode2,\n          edges: [],\n          text: \"\",\n          lane: -1,\n          endLane: -1,\n          level: -1,\n          circular: \"circularity\"\n        };\n        nodes.push(graphNode);\n        return graphNode;\n      }\n      seen.add(flowNode2);\n      if (!graphNode) {\n        links[id] = graphNode = { id, flowNode: flowNode2, edges: [], text: \"\", lane: -1, endLane: -1, level: -1, circular: false };\n        nodes.push(graphNode);\n        if (hasAntecedents(flowNode2)) {\n          for (const antecedent of flowNode2.antecedents) {\n            buildGraphEdge(graphNode, antecedent, seen);\n          }\n        } else if (hasAntecedent(flowNode2)) {\n          buildGraphEdge(graphNode, flowNode2.antecedent, seen);\n        }\n      }\n      seen.delete(flowNode2);\n      return graphNode;\n    }\n    function buildGraphEdge(source, antecedent, seen) {\n      const target = buildGraphNode(antecedent, seen);\n      const edge = { source, target };\n      edges.push(edge);\n      source.edges.push(edge);\n      target.edges.push(edge);\n    }\n    function computeLevel(node) {\n      if (node.level !== -1) {\n        return node.level;\n      }\n      let level = 0;\n      for (const parent2 of getParents(node)) {\n        level = Math.max(level, computeLevel(parent2) + 1);\n      }\n      return node.level = level;\n    }\n    function computeHeight(node) {\n      let height2 = 0;\n      for (const child of getChildren(node)) {\n        height2 = Math.max(height2, computeHeight(child));\n      }\n      return height2 + 1;\n    }\n    function computeColumnWidths(height2) {\n      const columns = fill2(Array(height2), 0);\n      for (const node of nodes) {\n        columns[node.level] = Math.max(columns[node.level], node.text.length);\n      }\n      return columns;\n    }\n    function computeLanes(node, lane) {\n      if (node.lane === -1) {\n        node.lane = lane;\n        node.endLane = lane;\n        const children = getChildren(node);\n        for (let i = 0; i < children.length; i++) {\n          if (i > 0) {\n            lane++;\n          }\n          const child = children[i];\n          computeLanes(child, lane);\n          if (child.endLane > node.endLane) {\n            lane = child.endLane;\n          }\n        }\n        node.endLane = lane;\n      }\n    }\n    function getHeader(flags) {\n      if (flags & 2 /* Start */)\n        return \"Start\";\n      if (flags & 4 /* BranchLabel */)\n        return \"Branch\";\n      if (flags & 8 /* LoopLabel */)\n        return \"Loop\";\n      if (flags & 16 /* Assignment */)\n        return \"Assignment\";\n      if (flags & 32 /* TrueCondition */)\n        return \"True\";\n      if (flags & 64 /* FalseCondition */)\n        return \"False\";\n      if (flags & 128 /* SwitchClause */)\n        return \"SwitchClause\";\n      if (flags & 256 /* ArrayMutation */)\n        return \"ArrayMutation\";\n      if (flags & 512 /* Call */)\n        return \"Call\";\n      if (flags & 1024 /* ReduceLabel */)\n        return \"ReduceLabel\";\n      if (flags & 1 /* Unreachable */)\n        return \"Unreachable\";\n      throw new Error();\n    }\n    function getNodeText(node) {\n      const sourceFile = getSourceFileOfNode(node);\n      return getSourceTextOfNodeFromSourceFile(sourceFile, node, false);\n    }\n    function renderFlowNode(flowNode2, circular) {\n      let text = getHeader(flowNode2.flags);\n      if (circular) {\n        text = `${text}#${getDebugFlowNodeId(flowNode2)}`;\n      }\n      if (hasNode(flowNode2)) {\n        if (flowNode2.node) {\n          text += ` (${getNodeText(flowNode2.node)})`;\n        }\n      } else if (isFlowSwitchClause(flowNode2)) {\n        const clauses = [];\n        for (let i = flowNode2.clauseStart; i < flowNode2.clauseEnd; i++) {\n          const clause = flowNode2.switchStatement.caseBlock.clauses[i];\n          if (isDefaultClause(clause)) {\n            clauses.push(\"default\");\n          } else {\n            clauses.push(getNodeText(clause.expression));\n          }\n        }\n        text += ` (${clauses.join(\", \")})`;\n      }\n      return circular === \"circularity\" ? `Circular(${text})` : text;\n    }\n    function renderGraph() {\n      const columnCount = columnWidths.length;\n      const laneCount = nodes.reduce((x, n) => Math.max(x, n.lane), 0) + 1;\n      const lanes = fill2(Array(laneCount), \"\");\n      const grid = columnWidths.map(() => Array(laneCount));\n      const connectors = columnWidths.map(() => fill2(Array(laneCount), 0));\n      for (const node of nodes) {\n        grid[node.level][node.lane] = node;\n        const children = getChildren(node);\n        for (let i = 0; i < children.length; i++) {\n          const child = children[i];\n          let connector = 8 /* Right */;\n          if (child.lane === node.lane)\n            connector |= 4 /* Left */;\n          if (i > 0)\n            connector |= 1 /* Up */;\n          if (i < children.length - 1)\n            connector |= 2 /* Down */;\n          connectors[node.level][child.lane] |= connector;\n        }\n        if (children.length === 0) {\n          connectors[node.level][node.lane] |= 16 /* NoChildren */;\n        }\n        const parents = getParents(node);\n        for (let i = 0; i < parents.length; i++) {\n          const parent2 = parents[i];\n          let connector = 4 /* Left */;\n          if (i > 0)\n            connector |= 1 /* Up */;\n          if (i < parents.length - 1)\n            connector |= 2 /* Down */;\n          connectors[node.level - 1][parent2.lane] |= connector;\n        }\n      }\n      for (let column = 0; column < columnCount; column++) {\n        for (let lane = 0; lane < laneCount; lane++) {\n          const left = column > 0 ? connectors[column - 1][lane] : 0;\n          const above = lane > 0 ? connectors[column][lane - 1] : 0;\n          let connector = connectors[column][lane];\n          if (!connector) {\n            if (left & 8 /* Right */)\n              connector |= 12 /* LeftRight */;\n            if (above & 2 /* Down */)\n              connector |= 3 /* UpDown */;\n            connectors[column][lane] = connector;\n          }\n        }\n      }\n      for (let column = 0; column < columnCount; column++) {\n        for (let lane = 0; lane < lanes.length; lane++) {\n          const connector = connectors[column][lane];\n          const fill3 = connector & 4 /* Left */ ? \"\\u2500\" /* lr */ : \" \";\n          const node = grid[column][lane];\n          if (!node) {\n            if (column < columnCount - 1) {\n              writeLane(lane, repeat(fill3, columnWidths[column] + 1));\n            }\n          } else {\n            writeLane(lane, node.text);\n            if (column < columnCount - 1) {\n              writeLane(lane, \" \");\n              writeLane(lane, repeat(fill3, columnWidths[column] - node.text.length));\n            }\n          }\n          writeLane(lane, getBoxCharacter(connector));\n          writeLane(lane, connector & 8 /* Right */ && column < columnCount - 1 && !grid[column + 1][lane] ? \"\\u2500\" /* lr */ : \" \");\n        }\n      }\n      return `\n${lanes.join(\"\\n\")}\n`;\n      function writeLane(lane, text) {\n        lanes[lane] += text;\n      }\n    }\n    function getBoxCharacter(connector) {\n      switch (connector) {\n        case 3 /* UpDown */:\n          return \"\\u2502\" /* ud */;\n        case 12 /* LeftRight */:\n          return \"\\u2500\" /* lr */;\n        case 5 /* UpLeft */:\n          return \"\\u256F\" /* ul */;\n        case 9 /* UpRight */:\n          return \"\\u2570\" /* ur */;\n        case 6 /* DownLeft */:\n          return \"\\u256E\" /* dl */;\n        case 10 /* DownRight */:\n          return \"\\u256D\" /* dr */;\n        case 7 /* UpDownLeft */:\n          return \"\\u2524\" /* udl */;\n        case 11 /* UpDownRight */:\n          return \"\\u251C\" /* udr */;\n        case 13 /* UpLeftRight */:\n          return \"\\u2534\" /* ulr */;\n        case 14 /* DownLeftRight */:\n          return \"\\u252C\" /* dlr */;\n        case 15 /* UpDownLeftRight */:\n          return \"\\u256B\" /* udlr */;\n      }\n      return \" \";\n    }\n    function fill2(array, value) {\n      if (array.fill) {\n        array.fill(value);\n      } else {\n        for (let i = 0; i < array.length; i++) {\n          array[i] = value;\n        }\n      }\n      return array;\n    }\n    function repeat(ch, length2) {\n      if (ch.repeat) {\n        return length2 > 0 ? ch.repeat(length2) : \"\";\n      }\n      let s = \"\";\n      while (s.length < length2) {\n        s += ch;\n      }\n      return s;\n    }\n  }\n  Debug2.formatControlFlowGraph = formatControlFlowGraph;\n})(Debug || (Debug = {}));\n\n// src/compiler/semver.ts\nvar versionRegExp = /^(0|[1-9]\\d*)(?:\\.(0|[1-9]\\d*)(?:\\.(0|[1-9]\\d*)(?:\\-([a-z0-9-.]+))?(?:\\+([a-z0-9-.]+))?)?)?$/i;\nvar prereleaseRegExp = /^(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*)(?:\\.(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*))*$/i;\nvar prereleasePartRegExp = /^(?:0|[1-9]\\d*|[a-z-][a-z0-9-]*)$/i;\nvar buildRegExp = /^[a-z0-9-]+(?:\\.[a-z0-9-]+)*$/i;\nvar buildPartRegExp = /^[a-z0-9-]+$/i;\nvar numericIdentifierRegExp = /^(0|[1-9]\\d*)$/;\nvar _Version = class {\n  constructor(major, minor = 0, patch = 0, prerelease = \"\", build2 = \"\") {\n    if (typeof major === \"string\") {\n      const result = Debug.checkDefined(tryParseComponents(major), \"Invalid version\");\n      ({ major, minor, patch, prerelease, build: build2 } = result);\n    }\n    Debug.assert(major >= 0, \"Invalid argument: major\");\n    Debug.assert(minor >= 0, \"Invalid argument: minor\");\n    Debug.assert(patch >= 0, \"Invalid argument: patch\");\n    const prereleaseArray = prerelease ? isArray(prerelease) ? prerelease : prerelease.split(\".\") : emptyArray;\n    const buildArray = build2 ? isArray(build2) ? build2 : build2.split(\".\") : emptyArray;\n    Debug.assert(every(prereleaseArray, (s) => prereleasePartRegExp.test(s)), \"Invalid argument: prerelease\");\n    Debug.assert(every(buildArray, (s) => buildPartRegExp.test(s)), \"Invalid argument: build\");\n    this.major = major;\n    this.minor = minor;\n    this.patch = patch;\n    this.prerelease = prereleaseArray;\n    this.build = buildArray;\n  }\n  static tryParse(text) {\n    const result = tryParseComponents(text);\n    if (!result)\n      return void 0;\n    const { major, minor, patch, prerelease, build: build2 } = result;\n    return new _Version(major, minor, patch, prerelease, build2);\n  }\n  compareTo(other) {\n    if (this === other)\n      return 0 /* EqualTo */;\n    if (other === void 0)\n      return 1 /* GreaterThan */;\n    return compareValues(this.major, other.major) || compareValues(this.minor, other.minor) || compareValues(this.patch, other.patch) || comparePrereleaseIdentifiers(this.prerelease, other.prerelease);\n  }\n  increment(field) {\n    switch (field) {\n      case \"major\":\n        return new _Version(this.major + 1, 0, 0);\n      case \"minor\":\n        return new _Version(this.major, this.minor + 1, 0);\n      case \"patch\":\n        return new _Version(this.major, this.minor, this.patch + 1);\n      default:\n        return Debug.assertNever(field);\n    }\n  }\n  with(fields) {\n    const {\n      major = this.major,\n      minor = this.minor,\n      patch = this.patch,\n      prerelease = this.prerelease,\n      build: build2 = this.build\n    } = fields;\n    return new _Version(major, minor, patch, prerelease, build2);\n  }\n  toString() {\n    let result = `${this.major}.${this.minor}.${this.patch}`;\n    if (some(this.prerelease))\n      result += `-${this.prerelease.join(\".\")}`;\n    if (some(this.build))\n      result += `+${this.build.join(\".\")}`;\n    return result;\n  }\n};\nvar Version = _Version;\nVersion.zero = new _Version(0, 0, 0, [\"0\"]);\nfunction tryParseComponents(text) {\n  const match = versionRegExp.exec(text);\n  if (!match)\n    return void 0;\n  const [, major, minor = \"0\", patch = \"0\", prerelease = \"\", build2 = \"\"] = match;\n  if (prerelease && !prereleaseRegExp.test(prerelease))\n    return void 0;\n  if (build2 && !buildRegExp.test(build2))\n    return void 0;\n  return {\n    major: parseInt(major, 10),\n    minor: parseInt(minor, 10),\n    patch: parseInt(patch, 10),\n    prerelease,\n    build: build2\n  };\n}\nfunction comparePrereleaseIdentifiers(left, right) {\n  if (left === right)\n    return 0 /* EqualTo */;\n  if (left.length === 0)\n    return right.length === 0 ? 0 /* EqualTo */ : 1 /* GreaterThan */;\n  if (right.length === 0)\n    return -1 /* LessThan */;\n  const length2 = Math.min(left.length, right.length);\n  for (let i = 0; i < length2; i++) {\n    const leftIdentifier = left[i];\n    const rightIdentifier = right[i];\n    if (leftIdentifier === rightIdentifier)\n      continue;\n    const leftIsNumeric = numericIdentifierRegExp.test(leftIdentifier);\n    const rightIsNumeric = numericIdentifierRegExp.test(rightIdentifier);\n    if (leftIsNumeric || rightIsNumeric) {\n      if (leftIsNumeric !== rightIsNumeric)\n        return leftIsNumeric ? -1 /* LessThan */ : 1 /* GreaterThan */;\n      const result = compareValues(+leftIdentifier, +rightIdentifier);\n      if (result)\n        return result;\n    } else {\n      const result = compareStringsCaseSensitive(leftIdentifier, rightIdentifier);\n      if (result)\n        return result;\n    }\n  }\n  return compareValues(left.length, right.length);\n}\nvar VersionRange = class {\n  constructor(spec) {\n    this._alternatives = spec ? Debug.checkDefined(parseRange(spec), \"Invalid range spec.\") : emptyArray;\n  }\n  static tryParse(text) {\n    const sets = parseRange(text);\n    if (sets) {\n      const range = new VersionRange(\"\");\n      range._alternatives = sets;\n      return range;\n    }\n    return void 0;\n  }\n  test(version2) {\n    if (typeof version2 === \"string\")\n      version2 = new Version(version2);\n    return testDisjunction(version2, this._alternatives);\n  }\n  toString() {\n    return formatDisjunction(this._alternatives);\n  }\n};\nvar logicalOrRegExp = /\\|\\|/g;\nvar whitespaceRegExp = /\\s+/g;\nvar partialRegExp = /^([xX*0]|[1-9]\\d*)(?:\\.([xX*0]|[1-9]\\d*)(?:\\.([xX*0]|[1-9]\\d*)(?:-([a-z0-9-.]+))?(?:\\+([a-z0-9-.]+))?)?)?$/i;\nvar hyphenRegExp = /^\\s*([a-z0-9-+.*]+)\\s+-\\s+([a-z0-9-+.*]+)\\s*$/i;\nvar rangeRegExp = /^(~|\\^|<|<=|>|>=|=)?\\s*([a-z0-9-+.*]+)$/i;\nfunction parseRange(text) {\n  const alternatives = [];\n  for (let range of trimString(text).split(logicalOrRegExp)) {\n    if (!range)\n      continue;\n    const comparators = [];\n    range = trimString(range);\n    const match = hyphenRegExp.exec(range);\n    if (match) {\n      if (!parseHyphen(match[1], match[2], comparators))\n        return void 0;\n    } else {\n      for (const simple of range.split(whitespaceRegExp)) {\n        const match2 = rangeRegExp.exec(trimString(simple));\n        if (!match2 || !parseComparator(match2[1], match2[2], comparators))\n          return void 0;\n      }\n    }\n    alternatives.push(comparators);\n  }\n  return alternatives;\n}\nfunction parsePartial(text) {\n  const match = partialRegExp.exec(text);\n  if (!match)\n    return void 0;\n  const [, major, minor = \"*\", patch = \"*\", prerelease, build2] = match;\n  const version2 = new Version(\n    isWildcard(major) ? 0 : parseInt(major, 10),\n    isWildcard(major) || isWildcard(minor) ? 0 : parseInt(minor, 10),\n    isWildcard(major) || isWildcard(minor) || isWildcard(patch) ? 0 : parseInt(patch, 10),\n    prerelease,\n    build2\n  );\n  return { version: version2, major, minor, patch };\n}\nfunction parseHyphen(left, right, comparators) {\n  const leftResult = parsePartial(left);\n  if (!leftResult)\n    return false;\n  const rightResult = parsePartial(right);\n  if (!rightResult)\n    return false;\n  if (!isWildcard(leftResult.major)) {\n    comparators.push(createComparator(\">=\", leftResult.version));\n  }\n  if (!isWildcard(rightResult.major)) {\n    comparators.push(\n      isWildcard(rightResult.minor) ? createComparator(\"<\", rightResult.version.increment(\"major\")) : isWildcard(rightResult.patch) ? createComparator(\"<\", rightResult.version.increment(\"minor\")) : createComparator(\"<=\", rightResult.version)\n    );\n  }\n  return true;\n}\nfunction parseComparator(operator, text, comparators) {\n  const result = parsePartial(text);\n  if (!result)\n    return false;\n  const { version: version2, major, minor, patch } = result;\n  if (!isWildcard(major)) {\n    switch (operator) {\n      case \"~\":\n        comparators.push(createComparator(\">=\", version2));\n        comparators.push(createComparator(\"<\", version2.increment(\n          isWildcard(minor) ? \"major\" : \"minor\"\n        )));\n        break;\n      case \"^\":\n        comparators.push(createComparator(\">=\", version2));\n        comparators.push(createComparator(\"<\", version2.increment(\n          version2.major > 0 || isWildcard(minor) ? \"major\" : version2.minor > 0 || isWildcard(patch) ? \"minor\" : \"patch\"\n        )));\n        break;\n      case \"<\":\n      case \">=\":\n        comparators.push(\n          isWildcard(minor) || isWildcard(patch) ? createComparator(operator, version2.with({ prerelease: \"0\" })) : createComparator(operator, version2)\n        );\n        break;\n      case \"<=\":\n      case \">\":\n        comparators.push(\n          isWildcard(minor) ? createComparator(operator === \"<=\" ? \"<\" : \">=\", version2.increment(\"major\").with({ prerelease: \"0\" })) : isWildcard(patch) ? createComparator(operator === \"<=\" ? \"<\" : \">=\", version2.increment(\"minor\").with({ prerelease: \"0\" })) : createComparator(operator, version2)\n        );\n        break;\n      case \"=\":\n      case void 0:\n        if (isWildcard(minor) || isWildcard(patch)) {\n          comparators.push(createComparator(\">=\", version2.with({ prerelease: \"0\" })));\n          comparators.push(createComparator(\"<\", version2.increment(isWildcard(minor) ? \"major\" : \"minor\").with({ prerelease: \"0\" })));\n        } else {\n          comparators.push(createComparator(\"=\", version2));\n        }\n        break;\n      default:\n        return false;\n    }\n  } else if (operator === \"<\" || operator === \">\") {\n    comparators.push(createComparator(\"<\", Version.zero));\n  }\n  return true;\n}\nfunction isWildcard(part) {\n  return part === \"*\" || part === \"x\" || part === \"X\";\n}\nfunction createComparator(operator, operand) {\n  return { operator, operand };\n}\nfunction testDisjunction(version2, alternatives) {\n  if (alternatives.length === 0)\n    return true;\n  for (const alternative of alternatives) {\n    if (testAlternative(version2, alternative))\n      return true;\n  }\n  return false;\n}\nfunction testAlternative(version2, comparators) {\n  for (const comparator of comparators) {\n    if (!testComparator(version2, comparator.operator, comparator.operand))\n      return false;\n  }\n  return true;\n}\nfunction testComparator(version2, operator, operand) {\n  const cmp = version2.compareTo(operand);\n  switch (operator) {\n    case \"<\":\n      return cmp < 0;\n    case \"<=\":\n      return cmp <= 0;\n    case \">\":\n      return cmp > 0;\n    case \">=\":\n      return cmp >= 0;\n    case \"=\":\n      return cmp === 0;\n    default:\n      return Debug.assertNever(operator);\n  }\n}\nfunction formatDisjunction(alternatives) {\n  return map(alternatives, formatAlternative).join(\" || \") || \"*\";\n}\nfunction formatAlternative(comparators) {\n  return map(comparators, formatComparator).join(\" \");\n}\nfunction formatComparator(comparator) {\n  return `${comparator.operator}${comparator.operand}`;\n}\n\n// src/compiler/performanceCore.ts\nfunction hasRequiredAPI(performance2, PerformanceObserver2) {\n  return typeof performance2 === \"object\" && typeof performance2.timeOrigin === \"number\" && typeof performance2.mark === \"function\" && typeof performance2.measure === \"function\" && typeof performance2.now === \"function\" && typeof performance2.clearMarks === \"function\" && typeof performance2.clearMeasures === \"function\" && typeof PerformanceObserver2 === \"function\";\n}\nfunction tryGetWebPerformanceHooks() {\n  if (typeof performance === \"object\" && typeof PerformanceObserver === \"function\" && hasRequiredAPI(performance, PerformanceObserver)) {\n    return {\n      shouldWriteNativeEvents: true,\n      performance,\n      PerformanceObserver\n    };\n  }\n}\nfunction tryGetNodePerformanceHooks() {\n  if (isNodeLikeSystem()) {\n    try {\n      let performance2;\n      const { performance: nodePerformance, PerformanceObserver: PerformanceObserver2 } = require(\"perf_hooks\");\n      if (hasRequiredAPI(nodePerformance, PerformanceObserver2)) {\n        performance2 = nodePerformance;\n        const version2 = new Version(process.versions.node);\n        const range = new VersionRange(\"<12.16.3 || 13 <13.13\");\n        if (range.test(version2)) {\n          performance2 = {\n            get timeOrigin() {\n              return nodePerformance.timeOrigin;\n            },\n            now() {\n              return nodePerformance.now();\n            },\n            mark(name) {\n              return nodePerformance.mark(name);\n            },\n            measure(name, start = \"nodeStart\", end) {\n              if (end === void 0) {\n                end = \"__performance.measure-fix__\";\n                nodePerformance.mark(end);\n              }\n              nodePerformance.measure(name, start, end);\n              if (end === \"__performance.measure-fix__\") {\n                nodePerformance.clearMarks(\"__performance.measure-fix__\");\n              }\n            },\n            clearMarks(name) {\n              return nodePerformance.clearMarks(name);\n            },\n            clearMeasures(name) {\n              return nodePerformance.clearMeasures(name);\n            }\n          };\n        }\n        return {\n          shouldWriteNativeEvents: false,\n          performance: performance2,\n          PerformanceObserver: PerformanceObserver2\n        };\n      }\n    } catch (e) {\n    }\n  }\n}\nvar nativePerformanceHooks = tryGetWebPerformanceHooks() || tryGetNodePerformanceHooks();\nvar nativePerformance = nativePerformanceHooks == null ? void 0 : nativePerformanceHooks.performance;\nfunction tryGetNativePerformanceHooks() {\n  return nativePerformanceHooks;\n}\nvar timestamp = nativePerformance ? () => nativePerformance.now() : Date.now ? Date.now : () => +new Date();\n\n// src/compiler/performanceDotting.ts\nvar PerformanceDotting;\n((PerformanceDotting2) => {\n  const eventStack = [];\n  const timeStack = [];\n  let tempMap = new Map2();\n  let recordMap = new Map2();\n  let timeHooks = require(\"perf_hooks\");\n  let count = 0;\n  const layerCount = 5;\n  let advancedSwitch = false;\n  let traceSwitch = false;\n  const TIME_CONVERSION = 1e6;\n  let AnalyzeMode;\n  ((AnalyzeMode2) => {\n    AnalyzeMode2[AnalyzeMode2[\"DEFAULT\"] = 0] = \"DEFAULT\";\n    AnalyzeMode2[AnalyzeMode2[\"VERBOSE\"] = 1] = \"VERBOSE\";\n    AnalyzeMode2[AnalyzeMode2[\"TRACE\"] = 3] = \"TRACE\";\n  })(AnalyzeMode = PerformanceDotting2.AnalyzeMode || (PerformanceDotting2.AnalyzeMode = {}));\n  function setPerformanceSwitch(projectConfigPerf) {\n    if (projectConfigPerf === 1 /* VERBOSE */) {\n      advancedSwitch = true;\n    }\n    if (projectConfigPerf === 3 /* TRACE */) {\n      advancedSwitch = true;\n      traceSwitch = true;\n    }\n  }\n  PerformanceDotting2.setPerformanceSwitch = setPerformanceSwitch;\n  function processSharedStart(eventName, fileName) {\n    if (++count > layerCount) {\n      return;\n    }\n    const currentEvent = eventName;\n    const currentParentEvent = eventStack.length > 0 ? eventStack[eventStack.length - 1] : \"\";\n    const currentParentId = timeStack.length > 0 ? timeStack[timeStack.length - 1] : \"\";\n    const fullPath = eventStack.length > 0 ? `${eventStack.join(\"-\")}-${eventName}` : eventName;\n    let startTime = timeHooks.performance.now();\n    let id = startTime.toString();\n    const recordCurrentData = {\n      startTime,\n      endTime: -1,\n      duration: 0,\n      name: currentEvent,\n      parentEvent: currentParentEvent,\n      tier: count,\n      fullPath,\n      id,\n      parentId: currentParentId,\n      fileName\n    };\n    addOrUpdateEventData(tempMap, eventName, recordCurrentData);\n    eventStack.push(eventName);\n    timeStack.push(id);\n  }\n  function processSharedStop(eventName) {\n    if (count-- > layerCount) {\n      return;\n    }\n    if (eventStack.length === 0 || eventStack[eventStack.length - 1] !== eventName) {\n      throw new Error(`Event ${eventName} is not the current active event`);\n    }\n    const records = tempMap.get(eventName);\n    if (records && records.length > 0) {\n      const lastRecord = records.pop();\n      lastRecord.endTime = timeHooks.performance.now();\n      lastRecord.duration = lastRecord.endTime - lastRecord.startTime;\n      addOrUpdateEventData(recordMap, eventName, lastRecord);\n    } else {\n      throw new Error(`No active record found for event ${eventName}`);\n    }\n    eventStack.pop();\n    timeStack.pop();\n  }\n  function startAdvanced(eventName, fileName = \"\") {\n    if (!advancedSwitch) {\n      return;\n    }\n    processSharedStart(eventName, fileName);\n  }\n  PerformanceDotting2.startAdvanced = startAdvanced;\n  function stopAdvanced(eventName) {\n    if (!advancedSwitch) {\n      return;\n    }\n    processSharedStop(eventName);\n  }\n  PerformanceDotting2.stopAdvanced = stopAdvanced;\n  function start(eventName, fileName = \"\") {\n    if (!traceSwitch) {\n      return;\n    }\n    processSharedStart(eventName, fileName);\n  }\n  PerformanceDotting2.start = start;\n  function addOrUpdateEventData(map2, eventName, data) {\n    let records = map2.get(eventName);\n    if (!records) {\n      records = [];\n      map2.set(eventName, records);\n    }\n    records.push(data);\n  }\n  function stop(eventName) {\n    if (!traceSwitch) {\n      return;\n    }\n    processSharedStop(eventName);\n  }\n  PerformanceDotting2.stop = stop;\n  function getEventData() {\n    const mergedRecordsMap = new Map2();\n    recordMap.forEach((records) => {\n      records.forEach((record) => {\n        const key = `${record.fullPath}-${record.fileName}-${record.parentId}`;\n        if (mergedRecordsMap.has(key)) {\n          const existingRecord = mergedRecordsMap.get(key);\n          existingRecord.duration += record.duration;\n          existingRecord.startTime = Math.min(existingRecord.startTime, record.startTime);\n          existingRecord.endTime = Math.max(existingRecord.endTime, record.endTime);\n        } else {\n          mergedRecordsMap.set(key, record);\n        }\n      });\n    });\n    let mergedRecords = Array.from(mapValuesToArray(mergedRecordsMap));\n    mergedRecords = mergedRecords.map((record) => ({\n      ...record,\n      duration: record.duration * TIME_CONVERSION\n    }));\n    clearEvent();\n    return mergedRecords;\n  }\n  PerformanceDotting2.getEventData = getEventData;\n  function mapValuesToArray(map2) {\n    const result = [];\n    const iterator = map2.values();\n    let item;\n    while (!(item = iterator.next()).done) {\n      result.push(item.value);\n    }\n    return result;\n  }\n  function clearEvent() {\n    recordMap.clear();\n    tempMap.clear();\n    eventStack.length = 0;\n    timeStack.length = 0;\n    count = 0;\n    advancedSwitch = false;\n    traceSwitch = false;\n  }\n  PerformanceDotting2.clearEvent = clearEvent;\n})(PerformanceDotting || (PerformanceDotting = {}));\n\n// src/compiler/perfLogger.ts\nvar _a;\nvar nullLogger = {\n  logEvent: noop,\n  logErrEvent: noop,\n  logPerfEvent: noop,\n  logInfoEvent: noop,\n  logStartCommand: noop,\n  logStopCommand: noop,\n  logStartUpdateProgram: noop,\n  logStopUpdateProgram: noop,\n  logStartUpdateGraph: noop,\n  logStopUpdateGraph: noop,\n  logStartResolveModule: noop,\n  logStopResolveModule: noop,\n  logStartParseSourceFile: noop,\n  logStopParseSourceFile: noop,\n  logStartReadFile: noop,\n  logStopReadFile: noop,\n  logStartBindFile: noop,\n  logStopBindFile: noop,\n  logStartScheduledOperation: noop,\n  logStopScheduledOperation: noop\n};\nvar etwModule;\ntry {\n  const etwModulePath = (_a = process.env.TS_ETW_MODULE_PATH) != null ? _a : \"./node_modules/@microsoft/typescript-etw\";\n  etwModule = require(etwModulePath);\n} catch (e) {\n  etwModule = void 0;\n}\nvar perfLogger = (etwModule == null ? void 0 : etwModule.logEvent) ? etwModule : nullLogger;\n\n// src/compiler/_namespaces/ts.performance.ts\nvar ts_performance_exports = {};\n__export(ts_performance_exports, {\n  clearMarks: () => clearMarks,\n  clearMeasures: () => clearMeasures,\n  createTimer: () => createTimer,\n  createTimerIf: () => createTimerIf,\n  disable: () => disable,\n  enable: () => enable,\n  forEachMark: () => forEachMark,\n  forEachMeasure: () => forEachMeasure,\n  getCount: () => getCount,\n  getDuration: () => getDuration,\n  isEnabled: () => isEnabled,\n  mark: () => mark,\n  measure: () => measure,\n  nullTimer: () => nullTimer\n});\n\n// src/compiler/performance.ts\nvar perfHooks;\nvar performanceImpl;\nfunction createTimerIf(condition, measureName, startMarkName, endMarkName) {\n  return condition ? createTimer(measureName, startMarkName, endMarkName) : nullTimer;\n}\nfunction createTimer(measureName, startMarkName, endMarkName) {\n  let enterCount = 0;\n  return {\n    enter,\n    exit\n  };\n  function enter() {\n    if (++enterCount === 1) {\n      mark(startMarkName);\n    }\n  }\n  function exit() {\n    if (--enterCount === 0) {\n      mark(endMarkName);\n      measure(measureName, startMarkName, endMarkName);\n    } else if (enterCount < 0) {\n      Debug.fail(\"enter/exit count does not match.\");\n    }\n  }\n}\nvar nullTimer = { enter: noop, exit: noop };\nvar enabled = false;\nvar timeorigin = timestamp();\nvar marks = new Map2();\nvar counts = new Map2();\nvar durations = new Map2();\nfunction mark(markName) {\n  var _a2;\n  if (enabled) {\n    const count = (_a2 = counts.get(markName)) != null ? _a2 : 0;\n    counts.set(markName, count + 1);\n    marks.set(markName, timestamp());\n    performanceImpl == null ? void 0 : performanceImpl.mark(markName);\n  }\n}\nfunction measure(measureName, startMarkName, endMarkName) {\n  var _a2, _b;\n  if (enabled) {\n    const end = (_a2 = endMarkName !== void 0 ? marks.get(endMarkName) : void 0) != null ? _a2 : timestamp();\n    const start = (_b = startMarkName !== void 0 ? marks.get(startMarkName) : void 0) != null ? _b : timeorigin;\n    const previousDuration = durations.get(measureName) || 0;\n    durations.set(measureName, previousDuration + (end - start));\n    performanceImpl == null ? void 0 : performanceImpl.measure(measureName, startMarkName, endMarkName);\n  }\n}\nfunction getCount(markName) {\n  return counts.get(markName) || 0;\n}\nfunction getDuration(measureName) {\n  return durations.get(measureName) || 0;\n}\nfunction forEachMeasure(cb) {\n  durations.forEach((duration, measureName) => cb(measureName, duration));\n}\nfunction forEachMark(cb) {\n  marks.forEach((_time, markName) => cb(markName));\n}\nfunction clearMeasures(name) {\n  if (name !== void 0)\n    durations.delete(name);\n  else\n    durations.clear();\n  performanceImpl == null ? void 0 : performanceImpl.clearMeasures(name);\n}\nfunction clearMarks(name) {\n  if (name !== void 0) {\n    counts.delete(name);\n    marks.delete(name);\n  } else {\n    counts.clear();\n    marks.clear();\n  }\n  performanceImpl == null ? void 0 : performanceImpl.clearMarks(name);\n}\nfunction isEnabled() {\n  return enabled;\n}\nfunction enable(system = sys) {\n  var _a2;\n  if (!enabled) {\n    enabled = true;\n    perfHooks || (perfHooks = tryGetNativePerformanceHooks());\n    if (perfHooks) {\n      timeorigin = perfHooks.performance.timeOrigin;\n      if (perfHooks.shouldWriteNativeEvents || ((_a2 = system == null ? void 0 : system.cpuProfilingEnabled) == null ? void 0 : _a2.call(system)) || (system == null ? void 0 : system.debugMode)) {\n        performanceImpl = perfHooks.performance;\n      }\n    }\n  }\n  return true;\n}\nfunction disable() {\n  if (enabled) {\n    marks.clear();\n    counts.clear();\n    durations.clear();\n    performanceImpl = void 0;\n    enabled = false;\n  }\n}\n\n// src/compiler/tracing.ts\nvar tracing;\nvar tracingEnabled;\n((tracingEnabled2) => {\n  let fs;\n  let traceCount = 0;\n  let traceFd = 0;\n  let mode;\n  const typeCatalog = [];\n  let legendPath;\n  const legend = [];\n  function startTracing2(tracingMode, traceDir, configFilePath) {\n    Debug.assert(!tracing, \"Tracing already started\");\n    if (fs === void 0) {\n      try {\n        fs = require(\"fs\");\n      } catch (e) {\n        throw new Error(`tracing requires having fs\n(original error: ${e.message || e})`);\n      }\n    }\n    mode = tracingMode;\n    typeCatalog.length = 0;\n    if (legendPath === void 0) {\n      legendPath = combinePaths(traceDir, \"legend.json\");\n    }\n    if (!fs.existsSync(traceDir)) {\n      fs.mkdirSync(traceDir, { recursive: true });\n    }\n    const countPart = mode === \"build\" ? `.${process.pid}-${++traceCount}` : mode === \"server\" ? `.${process.pid}` : ``;\n    const tracePath = combinePaths(traceDir, `trace${countPart}.json`);\n    const typesPath = combinePaths(traceDir, `types${countPart}.json`);\n    legend.push({\n      configFilePath,\n      tracePath,\n      typesPath\n    });\n    traceFd = fs.openSync(tracePath, \"w\");\n    tracing = tracingEnabled2;\n    const meta = { cat: \"__metadata\", ph: \"M\", ts: 1e3 * timestamp(), pid: 1, tid: 1 };\n    fs.writeSync(\n      traceFd,\n      \"[\\n\" + [\n        { name: \"process_name\", args: { name: \"tsc\" }, ...meta },\n        { name: \"thread_name\", args: { name: \"Main\" }, ...meta },\n        { name: \"TracingStartedInBrowser\", ...meta, cat: \"disabled-by-default-devtools.timeline\" }\n      ].map((v) => JSON.stringify(v)).join(\",\\n\")\n    );\n  }\n  tracingEnabled2.startTracing = startTracing2;\n  function stopTracing() {\n    Debug.assert(tracing, \"Tracing is not in progress\");\n    Debug.assert(!!typeCatalog.length === (mode !== \"server\"));\n    fs.writeSync(traceFd, `\n]\n`);\n    fs.closeSync(traceFd);\n    tracing = void 0;\n    if (typeCatalog.length) {\n      dumpTypes(typeCatalog);\n    } else {\n      legend[legend.length - 1].typesPath = void 0;\n    }\n  }\n  tracingEnabled2.stopTracing = stopTracing;\n  function recordType(type) {\n    if (mode !== \"server\") {\n      typeCatalog.push(type);\n    }\n  }\n  tracingEnabled2.recordType = recordType;\n  let Phase;\n  ((Phase2) => {\n    Phase2[\"Parse\"] = \"parse\";\n    Phase2[\"Program\"] = \"program\";\n    Phase2[\"Bind\"] = \"bind\";\n    Phase2[\"Check\"] = \"check\";\n    Phase2[\"CheckTypes\"] = \"checkTypes\";\n    Phase2[\"Emit\"] = \"emit\";\n    Phase2[\"Session\"] = \"session\";\n  })(Phase = tracingEnabled2.Phase || (tracingEnabled2.Phase = {}));\n  function instant(phase, name, args) {\n    writeEvent(\"I\", phase, name, args, `\"s\":\"g\"`);\n  }\n  tracingEnabled2.instant = instant;\n  const eventStack = [];\n  function push(phase, name, args, separateBeginAndEnd = false) {\n    if (separateBeginAndEnd) {\n      writeEvent(\"B\", phase, name, args);\n    }\n    eventStack.push({ phase, name, args, time: 1e3 * timestamp(), separateBeginAndEnd });\n  }\n  tracingEnabled2.push = push;\n  function pop(results) {\n    Debug.assert(eventStack.length > 0);\n    writeStackEvent(eventStack.length - 1, 1e3 * timestamp(), results);\n    eventStack.length--;\n  }\n  tracingEnabled2.pop = pop;\n  function popAll() {\n    const endTime = 1e3 * timestamp();\n    for (let i = eventStack.length - 1; i >= 0; i--) {\n      writeStackEvent(i, endTime);\n    }\n    eventStack.length = 0;\n  }\n  tracingEnabled2.popAll = popAll;\n  const sampleInterval = 1e3 * 10;\n  function writeStackEvent(index, endTime, results) {\n    const { phase, name, args, time, separateBeginAndEnd } = eventStack[index];\n    if (separateBeginAndEnd) {\n      Debug.assert(!results, \"`results` are not supported for events with `separateBeginAndEnd`\");\n      writeEvent(\"E\", phase, name, args, void 0, endTime);\n    } else if (sampleInterval - time % sampleInterval <= endTime - time) {\n      writeEvent(\"X\", phase, name, { ...args, results }, `\"dur\":${endTime - time}`, time);\n    }\n  }\n  function writeEvent(eventType, phase, name, args, extras, time = 1e3 * timestamp()) {\n    if (mode === \"server\" && phase === \"checkTypes\" /* CheckTypes */)\n      return;\n    mark(\"beginTracing\");\n    fs.writeSync(traceFd, `,\n{\"pid\":1,\"tid\":1,\"ph\":\"${eventType}\",\"cat\":\"${phase}\",\"ts\":${time},\"name\":\"${name}\"`);\n    if (extras)\n      fs.writeSync(traceFd, `,${extras}`);\n    if (args)\n      fs.writeSync(traceFd, `,\"args\":${JSON.stringify(args)}`);\n    fs.writeSync(traceFd, `}`);\n    mark(\"endTracing\");\n    measure(\"Tracing\", \"beginTracing\", \"endTracing\");\n  }\n  function getLocation(node) {\n    const file = getSourceFileOfNode(node);\n    return !file ? void 0 : {\n      path: file.path,\n      start: indexFromOne(getLineAndCharacterOfPosition(file, node.pos)),\n      end: indexFromOne(getLineAndCharacterOfPosition(file, node.end))\n    };\n    function indexFromOne(lc) {\n      return {\n        line: lc.line + 1,\n        character: lc.character + 1\n      };\n    }\n  }\n  function dumpTypes(types) {\n    var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;\n    mark(\"beginDumpTypes\");\n    const typesPath = legend[legend.length - 1].typesPath;\n    const typesFd = fs.openSync(typesPath, \"w\");\n    const recursionIdentityMap = new Map2();\n    fs.writeSync(typesFd, \"[\");\n    const numTypes = types.length;\n    for (let i = 0; i < numTypes; i++) {\n      const type = types[i];\n      const objectFlags = type.objectFlags;\n      const symbol = (_a2 = type.aliasSymbol) != null ? _a2 : type.symbol;\n      let display;\n      if (objectFlags & 16 /* Anonymous */ | type.flags & 2944 /* Literal */) {\n        try {\n          display = (_b = type.checker) == null ? void 0 : _b.typeToString(type);\n        } catch (e) {\n          display = void 0;\n        }\n      }\n      let indexedAccessProperties = {};\n      if (type.flags & 8388608 /* IndexedAccess */) {\n        const indexedAccessType = type;\n        indexedAccessProperties = {\n          indexedAccessObjectType: (_c = indexedAccessType.objectType) == null ? void 0 : _c.id,\n          indexedAccessIndexType: (_d = indexedAccessType.indexType) == null ? void 0 : _d.id\n        };\n      }\n      let referenceProperties = {};\n      if (objectFlags & 4 /* Reference */) {\n        const referenceType = type;\n        referenceProperties = {\n          instantiatedType: (_e = referenceType.target) == null ? void 0 : _e.id,\n          typeArguments: (_f = referenceType.resolvedTypeArguments) == null ? void 0 : _f.map((t) => t.id),\n          referenceLocation: getLocation(referenceType.node)\n        };\n      }\n      let conditionalProperties = {};\n      if (type.flags & 16777216 /* Conditional */) {\n        const conditionalType = type;\n        conditionalProperties = {\n          conditionalCheckType: (_g = conditionalType.checkType) == null ? void 0 : _g.id,\n          conditionalExtendsType: (_h = conditionalType.extendsType) == null ? void 0 : _h.id,\n          conditionalTrueType: (_j = (_i = conditionalType.resolvedTrueType) == null ? void 0 : _i.id) != null ? _j : -1,\n          conditionalFalseType: (_l = (_k = conditionalType.resolvedFalseType) == null ? void 0 : _k.id) != null ? _l : -1\n        };\n      }\n      let substitutionProperties = {};\n      if (type.flags & 33554432 /* Substitution */) {\n        const substitutionType = type;\n        substitutionProperties = {\n          substitutionBaseType: (_m = substitutionType.baseType) == null ? void 0 : _m.id,\n          constraintType: (_n = substitutionType.constraint) == null ? void 0 : _n.id\n        };\n      }\n      let reverseMappedProperties = {};\n      if (objectFlags & 1024 /* ReverseMapped */) {\n        const reverseMappedType = type;\n        reverseMappedProperties = {\n          reverseMappedSourceType: (_o = reverseMappedType.source) == null ? void 0 : _o.id,\n          reverseMappedMappedType: (_p = reverseMappedType.mappedType) == null ? void 0 : _p.id,\n          reverseMappedConstraintType: (_q = reverseMappedType.constraintType) == null ? void 0 : _q.id\n        };\n      }\n      let evolvingArrayProperties = {};\n      if (objectFlags & 256 /* EvolvingArray */) {\n        const evolvingArrayType = type;\n        evolvingArrayProperties = {\n          evolvingArrayElementType: evolvingArrayType.elementType.id,\n          evolvingArrayFinalType: (_r = evolvingArrayType.finalArrayType) == null ? void 0 : _r.id\n        };\n      }\n      let recursionToken;\n      const recursionIdentity = type.checker.getRecursionIdentity(type);\n      if (recursionIdentity) {\n        recursionToken = recursionIdentityMap.get(recursionIdentity);\n        if (!recursionToken) {\n          recursionToken = recursionIdentityMap.size;\n          recursionIdentityMap.set(recursionIdentity, recursionToken);\n        }\n      }\n      const descriptor = {\n        id: type.id,\n        intrinsicName: type.intrinsicName,\n        symbolName: (symbol == null ? void 0 : symbol.escapedName) && unescapeLeadingUnderscores(symbol.escapedName),\n        recursionId: recursionToken,\n        isTuple: objectFlags & 8 /* Tuple */ ? true : void 0,\n        unionTypes: type.flags & 1048576 /* Union */ ? (_s = type.types) == null ? void 0 : _s.map((t) => t.id) : void 0,\n        intersectionTypes: type.flags & 2097152 /* Intersection */ ? type.types.map((t) => t.id) : void 0,\n        aliasTypeArguments: (_t = type.aliasTypeArguments) == null ? void 0 : _t.map((t) => t.id),\n        keyofType: type.flags & 4194304 /* Index */ ? (_u = type.type) == null ? void 0 : _u.id : void 0,\n        ...indexedAccessProperties,\n        ...referenceProperties,\n        ...conditionalProperties,\n        ...substitutionProperties,\n        ...reverseMappedProperties,\n        ...evolvingArrayProperties,\n        destructuringPattern: getLocation(type.pattern),\n        firstDeclaration: getLocation((_v = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _v[0]),\n        flags: Debug.formatTypeFlags(type.flags).split(\"|\"),\n        display\n      };\n      fs.writeSync(typesFd, JSON.stringify(descriptor));\n      if (i < numTypes - 1) {\n        fs.writeSync(typesFd, \",\\n\");\n      }\n    }\n    fs.writeSync(typesFd, \"]\\n\");\n    fs.closeSync(typesFd);\n    mark(\"endDumpTypes\");\n    measure(\"Dump types\", \"beginDumpTypes\", \"endDumpTypes\");\n  }\n  function dumpLegend() {\n    if (!legendPath) {\n      return;\n    }\n    fs.writeFileSync(legendPath, JSON.stringify(legend));\n  }\n  tracingEnabled2.dumpLegend = dumpLegend;\n})(tracingEnabled || (tracingEnabled = {}));\nvar startTracing = tracingEnabled.startTracing;\nvar dumpTracingLegend = tracingEnabled.dumpLegend;\n\n// src/compiler/types.ts\nvar SyntaxKind2 = /* @__PURE__ */ ((SyntaxKind5) => {\n  SyntaxKind5[SyntaxKind5[\"Unknown\"] = 0] = \"Unknown\";\n  SyntaxKind5[SyntaxKind5[\"EndOfFileToken\"] = 1] = \"EndOfFileToken\";\n  SyntaxKind5[SyntaxKind5[\"SingleLineCommentTrivia\"] = 2] = \"SingleLineCommentTrivia\";\n  SyntaxKind5[SyntaxKind5[\"MultiLineCommentTrivia\"] = 3] = \"MultiLineCommentTrivia\";\n  SyntaxKind5[SyntaxKind5[\"NewLineTrivia\"] = 4] = \"NewLineTrivia\";\n  SyntaxKind5[SyntaxKind5[\"WhitespaceTrivia\"] = 5] = \"WhitespaceTrivia\";\n  SyntaxKind5[SyntaxKind5[\"ShebangTrivia\"] = 6] = \"ShebangTrivia\";\n  SyntaxKind5[SyntaxKind5[\"ConflictMarkerTrivia\"] = 7] = \"ConflictMarkerTrivia\";\n  SyntaxKind5[SyntaxKind5[\"NumericLiteral\"] = 8] = \"NumericLiteral\";\n  SyntaxKind5[SyntaxKind5[\"BigIntLiteral\"] = 9] = \"BigIntLiteral\";\n  SyntaxKind5[SyntaxKind5[\"StringLiteral\"] = 10] = \"StringLiteral\";\n  SyntaxKind5[SyntaxKind5[\"JsxText\"] = 11] = \"JsxText\";\n  SyntaxKind5[SyntaxKind5[\"JsxTextAllWhiteSpaces\"] = 12] = \"JsxTextAllWhiteSpaces\";\n  SyntaxKind5[SyntaxKind5[\"RegularExpressionLiteral\"] = 13] = \"RegularExpressionLiteral\";\n  SyntaxKind5[SyntaxKind5[\"NoSubstitutionTemplateLiteral\"] = 14] = \"NoSubstitutionTemplateLiteral\";\n  SyntaxKind5[SyntaxKind5[\"TemplateHead\"] = 15] = \"TemplateHead\";\n  SyntaxKind5[SyntaxKind5[\"TemplateMiddle\"] = 16] = \"TemplateMiddle\";\n  SyntaxKind5[SyntaxKind5[\"TemplateTail\"] = 17] = \"TemplateTail\";\n  SyntaxKind5[SyntaxKind5[\"OpenBraceToken\"] = 18] = \"OpenBraceToken\";\n  SyntaxKind5[SyntaxKind5[\"CloseBraceToken\"] = 19] = \"CloseBraceToken\";\n  SyntaxKind5[SyntaxKind5[\"OpenParenToken\"] = 20] = \"OpenParenToken\";\n  SyntaxKind5[SyntaxKind5[\"CloseParenToken\"] = 21] = \"CloseParenToken\";\n  SyntaxKind5[SyntaxKind5[\"OpenBracketToken\"] = 22] = \"OpenBracketToken\";\n  SyntaxKind5[SyntaxKind5[\"CloseBracketToken\"] = 23] = \"CloseBracketToken\";\n  SyntaxKind5[SyntaxKind5[\"DotToken\"] = 24] = \"DotToken\";\n  SyntaxKind5[SyntaxKind5[\"DotDotDotToken\"] = 25] = \"DotDotDotToken\";\n  SyntaxKind5[SyntaxKind5[\"SemicolonToken\"] = 26] = \"SemicolonToken\";\n  SyntaxKind5[SyntaxKind5[\"CommaToken\"] = 27] = \"CommaToken\";\n  SyntaxKind5[SyntaxKind5[\"QuestionDotToken\"] = 28] = \"QuestionDotToken\";\n  SyntaxKind5[SyntaxKind5[\"LessThanToken\"] = 29] = \"LessThanToken\";\n  SyntaxKind5[SyntaxKind5[\"LessThanSlashToken\"] = 30] = \"LessThanSlashToken\";\n  SyntaxKind5[SyntaxKind5[\"GreaterThanToken\"] = 31] = \"GreaterThanToken\";\n  SyntaxKind5[SyntaxKind5[\"LessThanEqualsToken\"] = 32] = \"LessThanEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"GreaterThanEqualsToken\"] = 33] = \"GreaterThanEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"EqualsEqualsToken\"] = 34] = \"EqualsEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"ExclamationEqualsToken\"] = 35] = \"ExclamationEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"EqualsEqualsEqualsToken\"] = 36] = \"EqualsEqualsEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"ExclamationEqualsEqualsToken\"] = 37] = \"ExclamationEqualsEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"EqualsGreaterThanToken\"] = 38] = \"EqualsGreaterThanToken\";\n  SyntaxKind5[SyntaxKind5[\"PlusToken\"] = 39] = \"PlusToken\";\n  SyntaxKind5[SyntaxKind5[\"MinusToken\"] = 40] = \"MinusToken\";\n  SyntaxKind5[SyntaxKind5[\"AsteriskToken\"] = 41] = \"AsteriskToken\";\n  SyntaxKind5[SyntaxKind5[\"AsteriskAsteriskToken\"] = 42] = \"AsteriskAsteriskToken\";\n  SyntaxKind5[SyntaxKind5[\"SlashToken\"] = 43] = \"SlashToken\";\n  SyntaxKind5[SyntaxKind5[\"PercentToken\"] = 44] = \"PercentToken\";\n  SyntaxKind5[SyntaxKind5[\"PlusPlusToken\"] = 45] = \"PlusPlusToken\";\n  SyntaxKind5[SyntaxKind5[\"MinusMinusToken\"] = 46] = \"MinusMinusToken\";\n  SyntaxKind5[SyntaxKind5[\"LessThanLessThanToken\"] = 47] = \"LessThanLessThanToken\";\n  SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanToken\"] = 48] = \"GreaterThanGreaterThanToken\";\n  SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanGreaterThanToken\"] = 49] = \"GreaterThanGreaterThanGreaterThanToken\";\n  SyntaxKind5[SyntaxKind5[\"AmpersandToken\"] = 50] = \"AmpersandToken\";\n  SyntaxKind5[SyntaxKind5[\"BarToken\"] = 51] = \"BarToken\";\n  SyntaxKind5[SyntaxKind5[\"CaretToken\"] = 52] = \"CaretToken\";\n  SyntaxKind5[SyntaxKind5[\"ExclamationToken\"] = 53] = \"ExclamationToken\";\n  SyntaxKind5[SyntaxKind5[\"TildeToken\"] = 54] = \"TildeToken\";\n  SyntaxKind5[SyntaxKind5[\"AmpersandAmpersandToken\"] = 55] = \"AmpersandAmpersandToken\";\n  SyntaxKind5[SyntaxKind5[\"BarBarToken\"] = 56] = \"BarBarToken\";\n  SyntaxKind5[SyntaxKind5[\"QuestionToken\"] = 57] = \"QuestionToken\";\n  SyntaxKind5[SyntaxKind5[\"ColonToken\"] = 58] = \"ColonToken\";\n  SyntaxKind5[SyntaxKind5[\"AtToken\"] = 59] = \"AtToken\";\n  SyntaxKind5[SyntaxKind5[\"QuestionQuestionToken\"] = 60] = \"QuestionQuestionToken\";\n  SyntaxKind5[SyntaxKind5[\"BacktickToken\"] = 61] = \"BacktickToken\";\n  SyntaxKind5[SyntaxKind5[\"HashToken\"] = 62] = \"HashToken\";\n  SyntaxKind5[SyntaxKind5[\"EqualsToken\"] = 63] = \"EqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"PlusEqualsToken\"] = 64] = \"PlusEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"MinusEqualsToken\"] = 65] = \"MinusEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"AsteriskEqualsToken\"] = 66] = \"AsteriskEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"AsteriskAsteriskEqualsToken\"] = 67] = \"AsteriskAsteriskEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"SlashEqualsToken\"] = 68] = \"SlashEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"PercentEqualsToken\"] = 69] = \"PercentEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"LessThanLessThanEqualsToken\"] = 70] = \"LessThanLessThanEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanEqualsToken\"] = 71] = \"GreaterThanGreaterThanEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"GreaterThanGreaterThanGreaterThanEqualsToken\"] = 72] = \"GreaterThanGreaterThanGreaterThanEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"AmpersandEqualsToken\"] = 73] = \"AmpersandEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"BarEqualsToken\"] = 74] = \"BarEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"BarBarEqualsToken\"] = 75] = \"BarBarEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"AmpersandAmpersandEqualsToken\"] = 76] = \"AmpersandAmpersandEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"QuestionQuestionEqualsToken\"] = 77] = \"QuestionQuestionEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"CaretEqualsToken\"] = 78] = \"CaretEqualsToken\";\n  SyntaxKind5[SyntaxKind5[\"Identifier\"] = 79] = \"Identifier\";\n  SyntaxKind5[SyntaxKind5[\"PrivateIdentifier\"] = 80] = \"PrivateIdentifier\";\n  SyntaxKind5[SyntaxKind5[\"BreakKeyword\"] = 81] = \"BreakKeyword\";\n  SyntaxKind5[SyntaxKind5[\"CaseKeyword\"] = 82] = \"CaseKeyword\";\n  SyntaxKind5[SyntaxKind5[\"CatchKeyword\"] = 83] = \"CatchKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ClassKeyword\"] = 84] = \"ClassKeyword\";\n  SyntaxKind5[SyntaxKind5[\"StructKeyword\"] = 85] = \"StructKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ConstKeyword\"] = 86] = \"ConstKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ContinueKeyword\"] = 87] = \"ContinueKeyword\";\n  SyntaxKind5[SyntaxKind5[\"DebuggerKeyword\"] = 88] = \"DebuggerKeyword\";\n  SyntaxKind5[SyntaxKind5[\"DefaultKeyword\"] = 89] = \"DefaultKeyword\";\n  SyntaxKind5[SyntaxKind5[\"DeleteKeyword\"] = 90] = \"DeleteKeyword\";\n  SyntaxKind5[SyntaxKind5[\"DoKeyword\"] = 91] = \"DoKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ElseKeyword\"] = 92] = \"ElseKeyword\";\n  SyntaxKind5[SyntaxKind5[\"EnumKeyword\"] = 93] = \"EnumKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ExportKeyword\"] = 94] = \"ExportKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ExtendsKeyword\"] = 95] = \"ExtendsKeyword\";\n  SyntaxKind5[SyntaxKind5[\"FalseKeyword\"] = 96] = \"FalseKeyword\";\n  SyntaxKind5[SyntaxKind5[\"FinallyKeyword\"] = 97] = \"FinallyKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ForKeyword\"] = 98] = \"ForKeyword\";\n  SyntaxKind5[SyntaxKind5[\"FunctionKeyword\"] = 99] = \"FunctionKeyword\";\n  SyntaxKind5[SyntaxKind5[\"IfKeyword\"] = 100] = \"IfKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ImportKeyword\"] = 101] = \"ImportKeyword\";\n  SyntaxKind5[SyntaxKind5[\"InKeyword\"] = 102] = \"InKeyword\";\n  SyntaxKind5[SyntaxKind5[\"InstanceOfKeyword\"] = 103] = \"InstanceOfKeyword\";\n  SyntaxKind5[SyntaxKind5[\"NewKeyword\"] = 104] = \"NewKeyword\";\n  SyntaxKind5[SyntaxKind5[\"NullKeyword\"] = 105] = \"NullKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ReturnKeyword\"] = 106] = \"ReturnKeyword\";\n  SyntaxKind5[SyntaxKind5[\"SuperKeyword\"] = 107] = \"SuperKeyword\";\n  SyntaxKind5[SyntaxKind5[\"SwitchKeyword\"] = 108] = \"SwitchKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ThisKeyword\"] = 109] = \"ThisKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ThrowKeyword\"] = 110] = \"ThrowKeyword\";\n  SyntaxKind5[SyntaxKind5[\"TrueKeyword\"] = 111] = \"TrueKeyword\";\n  SyntaxKind5[SyntaxKind5[\"TryKeyword\"] = 112] = \"TryKeyword\";\n  SyntaxKind5[SyntaxKind5[\"TypeOfKeyword\"] = 113] = \"TypeOfKeyword\";\n  SyntaxKind5[SyntaxKind5[\"VarKeyword\"] = 114] = \"VarKeyword\";\n  SyntaxKind5[SyntaxKind5[\"VoidKeyword\"] = 115] = \"VoidKeyword\";\n  SyntaxKind5[SyntaxKind5[\"WhileKeyword\"] = 116] = \"WhileKeyword\";\n  SyntaxKind5[SyntaxKind5[\"WithKeyword\"] = 117] = \"WithKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ImplementsKeyword\"] = 118] = \"ImplementsKeyword\";\n  SyntaxKind5[SyntaxKind5[\"InterfaceKeyword\"] = 119] = \"InterfaceKeyword\";\n  SyntaxKind5[SyntaxKind5[\"LetKeyword\"] = 120] = \"LetKeyword\";\n  SyntaxKind5[SyntaxKind5[\"PackageKeyword\"] = 121] = \"PackageKeyword\";\n  SyntaxKind5[SyntaxKind5[\"PrivateKeyword\"] = 122] = \"PrivateKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ProtectedKeyword\"] = 123] = \"ProtectedKeyword\";\n  SyntaxKind5[SyntaxKind5[\"PublicKeyword\"] = 124] = \"PublicKeyword\";\n  SyntaxKind5[SyntaxKind5[\"StaticKeyword\"] = 125] = \"StaticKeyword\";\n  SyntaxKind5[SyntaxKind5[\"YieldKeyword\"] = 126] = \"YieldKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AbstractKeyword\"] = 127] = \"AbstractKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AccessorKeyword\"] = 128] = \"AccessorKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AsKeyword\"] = 129] = \"AsKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AssertsKeyword\"] = 130] = \"AssertsKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AssertKeyword\"] = 131] = \"AssertKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AnyKeyword\"] = 132] = \"AnyKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AsyncKeyword\"] = 133] = \"AsyncKeyword\";\n  SyntaxKind5[SyntaxKind5[\"AwaitKeyword\"] = 134] = \"AwaitKeyword\";\n  SyntaxKind5[SyntaxKind5[\"BooleanKeyword\"] = 135] = \"BooleanKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ConstructorKeyword\"] = 136] = \"ConstructorKeyword\";\n  SyntaxKind5[SyntaxKind5[\"DeclareKeyword\"] = 137] = \"DeclareKeyword\";\n  SyntaxKind5[SyntaxKind5[\"GetKeyword\"] = 138] = \"GetKeyword\";\n  SyntaxKind5[SyntaxKind5[\"InferKeyword\"] = 139] = \"InferKeyword\";\n  SyntaxKind5[SyntaxKind5[\"IntrinsicKeyword\"] = 140] = \"IntrinsicKeyword\";\n  SyntaxKind5[SyntaxKind5[\"IsKeyword\"] = 141] = \"IsKeyword\";\n  SyntaxKind5[SyntaxKind5[\"KeyOfKeyword\"] = 142] = \"KeyOfKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ModuleKeyword\"] = 143] = \"ModuleKeyword\";\n  SyntaxKind5[SyntaxKind5[\"NamespaceKeyword\"] = 144] = \"NamespaceKeyword\";\n  SyntaxKind5[SyntaxKind5[\"NeverKeyword\"] = 145] = \"NeverKeyword\";\n  SyntaxKind5[SyntaxKind5[\"OutKeyword\"] = 146] = \"OutKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ReadonlyKeyword\"] = 147] = \"ReadonlyKeyword\";\n  SyntaxKind5[SyntaxKind5[\"RequireKeyword\"] = 148] = \"RequireKeyword\";\n  SyntaxKind5[SyntaxKind5[\"NumberKeyword\"] = 149] = \"NumberKeyword\";\n  SyntaxKind5[SyntaxKind5[\"ObjectKeyword\"] = 150] = \"ObjectKeyword\";\n  SyntaxKind5[SyntaxKind5[\"SatisfiesKeyword\"] = 151] = \"SatisfiesKeyword\";\n  SyntaxKind5[SyntaxKind5[\"SetKeyword\"] = 152] = \"SetKeyword\";\n  SyntaxKind5[SyntaxKind5[\"StringKeyword\"] = 153] = \"StringKeyword\";\n  SyntaxKind5[SyntaxKind5[\"SymbolKeyword\"] = 154] = \"SymbolKeyword\";\n  SyntaxKind5[SyntaxKind5[\"TypeKeyword\"] = 155] = \"TypeKeyword\";\n  SyntaxKind5[SyntaxKind5[\"LazyKeyword\"] = 156] = \"LazyKeyword\";\n  SyntaxKind5[SyntaxKind5[\"UndefinedKeyword\"] = 157] = \"UndefinedKeyword\";\n  SyntaxKind5[SyntaxKind5[\"UniqueKeyword\"] = 158] = \"UniqueKeyword\";\n  SyntaxKind5[SyntaxKind5[\"UnknownKeyword\"] = 159] = \"UnknownKeyword\";\n  SyntaxKind5[SyntaxKind5[\"FromKeyword\"] = 160] = \"FromKeyword\";\n  SyntaxKind5[SyntaxKind5[\"GlobalKeyword\"] = 161] = \"GlobalKeyword\";\n  SyntaxKind5[SyntaxKind5[\"BigIntKeyword\"] = 162] = \"BigIntKeyword\";\n  SyntaxKind5[SyntaxKind5[\"OverrideKeyword\"] = 163] = \"OverrideKeyword\";\n  SyntaxKind5[SyntaxKind5[\"OfKeyword\"] = 164] = \"OfKeyword\";\n  SyntaxKind5[SyntaxKind5[\"QualifiedName\"] = 165] = \"QualifiedName\";\n  SyntaxKind5[SyntaxKind5[\"ComputedPropertyName\"] = 166] = \"ComputedPropertyName\";\n  SyntaxKind5[SyntaxKind5[\"TypeParameter\"] = 167] = \"TypeParameter\";\n  SyntaxKind5[SyntaxKind5[\"Parameter\"] = 168] = \"Parameter\";\n  SyntaxKind5[SyntaxKind5[\"Decorator\"] = 169] = \"Decorator\";\n  SyntaxKind5[SyntaxKind5[\"PropertySignature\"] = 170] = \"PropertySignature\";\n  SyntaxKind5[SyntaxKind5[\"PropertyDeclaration\"] = 171] = \"PropertyDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"AnnotationPropertyDeclaration\"] = 172] = \"AnnotationPropertyDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"MethodSignature\"] = 173] = \"MethodSignature\";\n  SyntaxKind5[SyntaxKind5[\"MethodDeclaration\"] = 174] = \"MethodDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ClassStaticBlockDeclaration\"] = 175] = \"ClassStaticBlockDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"Constructor\"] = 176] = \"Constructor\";\n  SyntaxKind5[SyntaxKind5[\"GetAccessor\"] = 177] = \"GetAccessor\";\n  SyntaxKind5[SyntaxKind5[\"SetAccessor\"] = 178] = \"SetAccessor\";\n  SyntaxKind5[SyntaxKind5[\"CallSignature\"] = 179] = \"CallSignature\";\n  SyntaxKind5[SyntaxKind5[\"ConstructSignature\"] = 180] = \"ConstructSignature\";\n  SyntaxKind5[SyntaxKind5[\"IndexSignature\"] = 181] = \"IndexSignature\";\n  SyntaxKind5[SyntaxKind5[\"TypePredicate\"] = 182] = \"TypePredicate\";\n  SyntaxKind5[SyntaxKind5[\"TypeReference\"] = 183] = \"TypeReference\";\n  SyntaxKind5[SyntaxKind5[\"FunctionType\"] = 184] = \"FunctionType\";\n  SyntaxKind5[SyntaxKind5[\"ConstructorType\"] = 185] = \"ConstructorType\";\n  SyntaxKind5[SyntaxKind5[\"TypeQuery\"] = 186] = \"TypeQuery\";\n  SyntaxKind5[SyntaxKind5[\"TypeLiteral\"] = 187] = \"TypeLiteral\";\n  SyntaxKind5[SyntaxKind5[\"ArrayType\"] = 188] = \"ArrayType\";\n  SyntaxKind5[SyntaxKind5[\"TupleType\"] = 189] = \"TupleType\";\n  SyntaxKind5[SyntaxKind5[\"OptionalType\"] = 190] = \"OptionalType\";\n  SyntaxKind5[SyntaxKind5[\"RestType\"] = 191] = \"RestType\";\n  SyntaxKind5[SyntaxKind5[\"UnionType\"] = 192] = \"UnionType\";\n  SyntaxKind5[SyntaxKind5[\"IntersectionType\"] = 193] = \"IntersectionType\";\n  SyntaxKind5[SyntaxKind5[\"ConditionalType\"] = 194] = \"ConditionalType\";\n  SyntaxKind5[SyntaxKind5[\"InferType\"] = 195] = \"InferType\";\n  SyntaxKind5[SyntaxKind5[\"ParenthesizedType\"] = 196] = \"ParenthesizedType\";\n  SyntaxKind5[SyntaxKind5[\"ThisType\"] = 197] = \"ThisType\";\n  SyntaxKind5[SyntaxKind5[\"TypeOperator\"] = 198] = \"TypeOperator\";\n  SyntaxKind5[SyntaxKind5[\"IndexedAccessType\"] = 199] = \"IndexedAccessType\";\n  SyntaxKind5[SyntaxKind5[\"MappedType\"] = 200] = \"MappedType\";\n  SyntaxKind5[SyntaxKind5[\"LiteralType\"] = 201] = \"LiteralType\";\n  SyntaxKind5[SyntaxKind5[\"NamedTupleMember\"] = 202] = \"NamedTupleMember\";\n  SyntaxKind5[SyntaxKind5[\"TemplateLiteralType\"] = 203] = \"TemplateLiteralType\";\n  SyntaxKind5[SyntaxKind5[\"TemplateLiteralTypeSpan\"] = 204] = \"TemplateLiteralTypeSpan\";\n  SyntaxKind5[SyntaxKind5[\"ImportType\"] = 205] = \"ImportType\";\n  SyntaxKind5[SyntaxKind5[\"ObjectBindingPattern\"] = 206] = \"ObjectBindingPattern\";\n  SyntaxKind5[SyntaxKind5[\"ArrayBindingPattern\"] = 207] = \"ArrayBindingPattern\";\n  SyntaxKind5[SyntaxKind5[\"BindingElement\"] = 208] = \"BindingElement\";\n  SyntaxKind5[SyntaxKind5[\"ArrayLiteralExpression\"] = 209] = \"ArrayLiteralExpression\";\n  SyntaxKind5[SyntaxKind5[\"ObjectLiteralExpression\"] = 210] = \"ObjectLiteralExpression\";\n  SyntaxKind5[SyntaxKind5[\"PropertyAccessExpression\"] = 211] = \"PropertyAccessExpression\";\n  SyntaxKind5[SyntaxKind5[\"ElementAccessExpression\"] = 212] = \"ElementAccessExpression\";\n  SyntaxKind5[SyntaxKind5[\"CallExpression\"] = 213] = \"CallExpression\";\n  SyntaxKind5[SyntaxKind5[\"NewExpression\"] = 214] = \"NewExpression\";\n  SyntaxKind5[SyntaxKind5[\"TaggedTemplateExpression\"] = 215] = \"TaggedTemplateExpression\";\n  SyntaxKind5[SyntaxKind5[\"TypeAssertionExpression\"] = 216] = \"TypeAssertionExpression\";\n  SyntaxKind5[SyntaxKind5[\"ParenthesizedExpression\"] = 217] = \"ParenthesizedExpression\";\n  SyntaxKind5[SyntaxKind5[\"FunctionExpression\"] = 218] = \"FunctionExpression\";\n  SyntaxKind5[SyntaxKind5[\"ArrowFunction\"] = 219] = \"ArrowFunction\";\n  SyntaxKind5[SyntaxKind5[\"EtsComponentExpression\"] = 220] = \"EtsComponentExpression\";\n  SyntaxKind5[SyntaxKind5[\"DeleteExpression\"] = 221] = \"DeleteExpression\";\n  SyntaxKind5[SyntaxKind5[\"TypeOfExpression\"] = 222] = \"TypeOfExpression\";\n  SyntaxKind5[SyntaxKind5[\"VoidExpression\"] = 223] = \"VoidExpression\";\n  SyntaxKind5[SyntaxKind5[\"AwaitExpression\"] = 224] = \"AwaitExpression\";\n  SyntaxKind5[SyntaxKind5[\"PrefixUnaryExpression\"] = 225] = \"PrefixUnaryExpression\";\n  SyntaxKind5[SyntaxKind5[\"PostfixUnaryExpression\"] = 226] = \"PostfixUnaryExpression\";\n  SyntaxKind5[SyntaxKind5[\"BinaryExpression\"] = 227] = \"BinaryExpression\";\n  SyntaxKind5[SyntaxKind5[\"ConditionalExpression\"] = 228] = \"ConditionalExpression\";\n  SyntaxKind5[SyntaxKind5[\"TemplateExpression\"] = 229] = \"TemplateExpression\";\n  SyntaxKind5[SyntaxKind5[\"YieldExpression\"] = 230] = \"YieldExpression\";\n  SyntaxKind5[SyntaxKind5[\"SpreadElement\"] = 231] = \"SpreadElement\";\n  SyntaxKind5[SyntaxKind5[\"ClassExpression\"] = 232] = \"ClassExpression\";\n  SyntaxKind5[SyntaxKind5[\"OmittedExpression\"] = 233] = \"OmittedExpression\";\n  SyntaxKind5[SyntaxKind5[\"ExpressionWithTypeArguments\"] = 234] = \"ExpressionWithTypeArguments\";\n  SyntaxKind5[SyntaxKind5[\"AsExpression\"] = 235] = \"AsExpression\";\n  SyntaxKind5[SyntaxKind5[\"NonNullExpression\"] = 236] = \"NonNullExpression\";\n  SyntaxKind5[SyntaxKind5[\"MetaProperty\"] = 237] = \"MetaProperty\";\n  SyntaxKind5[SyntaxKind5[\"SyntheticExpression\"] = 238] = \"SyntheticExpression\";\n  SyntaxKind5[SyntaxKind5[\"SatisfiesExpression\"] = 239] = \"SatisfiesExpression\";\n  SyntaxKind5[SyntaxKind5[\"TemplateSpan\"] = 240] = \"TemplateSpan\";\n  SyntaxKind5[SyntaxKind5[\"SemicolonClassElement\"] = 241] = \"SemicolonClassElement\";\n  SyntaxKind5[SyntaxKind5[\"Block\"] = 242] = \"Block\";\n  SyntaxKind5[SyntaxKind5[\"EmptyStatement\"] = 243] = \"EmptyStatement\";\n  SyntaxKind5[SyntaxKind5[\"VariableStatement\"] = 244] = \"VariableStatement\";\n  SyntaxKind5[SyntaxKind5[\"ExpressionStatement\"] = 245] = \"ExpressionStatement\";\n  SyntaxKind5[SyntaxKind5[\"IfStatement\"] = 246] = \"IfStatement\";\n  SyntaxKind5[SyntaxKind5[\"DoStatement\"] = 247] = \"DoStatement\";\n  SyntaxKind5[SyntaxKind5[\"WhileStatement\"] = 248] = \"WhileStatement\";\n  SyntaxKind5[SyntaxKind5[\"ForStatement\"] = 249] = \"ForStatement\";\n  SyntaxKind5[SyntaxKind5[\"ForInStatement\"] = 250] = \"ForInStatement\";\n  SyntaxKind5[SyntaxKind5[\"ForOfStatement\"] = 251] = \"ForOfStatement\";\n  SyntaxKind5[SyntaxKind5[\"ContinueStatement\"] = 252] = \"ContinueStatement\";\n  SyntaxKind5[SyntaxKind5[\"BreakStatement\"] = 253] = \"BreakStatement\";\n  SyntaxKind5[SyntaxKind5[\"ReturnStatement\"] = 254] = \"ReturnStatement\";\n  SyntaxKind5[SyntaxKind5[\"WithStatement\"] = 255] = \"WithStatement\";\n  SyntaxKind5[SyntaxKind5[\"SwitchStatement\"] = 256] = \"SwitchStatement\";\n  SyntaxKind5[SyntaxKind5[\"LabeledStatement\"] = 257] = \"LabeledStatement\";\n  SyntaxKind5[SyntaxKind5[\"ThrowStatement\"] = 258] = \"ThrowStatement\";\n  SyntaxKind5[SyntaxKind5[\"TryStatement\"] = 259] = \"TryStatement\";\n  SyntaxKind5[SyntaxKind5[\"DebuggerStatement\"] = 260] = \"DebuggerStatement\";\n  SyntaxKind5[SyntaxKind5[\"VariableDeclaration\"] = 261] = \"VariableDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"VariableDeclarationList\"] = 262] = \"VariableDeclarationList\";\n  SyntaxKind5[SyntaxKind5[\"FunctionDeclaration\"] = 263] = \"FunctionDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ClassDeclaration\"] = 264] = \"ClassDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"StructDeclaration\"] = 265] = \"StructDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"AnnotationDeclaration\"] = 266] = \"AnnotationDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"InterfaceDeclaration\"] = 267] = \"InterfaceDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"TypeAliasDeclaration\"] = 268] = \"TypeAliasDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"EnumDeclaration\"] = 269] = \"EnumDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ModuleDeclaration\"] = 270] = \"ModuleDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ModuleBlock\"] = 271] = \"ModuleBlock\";\n  SyntaxKind5[SyntaxKind5[\"CaseBlock\"] = 272] = \"CaseBlock\";\n  SyntaxKind5[SyntaxKind5[\"NamespaceExportDeclaration\"] = 273] = \"NamespaceExportDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ImportEqualsDeclaration\"] = 274] = \"ImportEqualsDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ImportDeclaration\"] = 275] = \"ImportDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ImportClause\"] = 276] = \"ImportClause\";\n  SyntaxKind5[SyntaxKind5[\"NamespaceImport\"] = 277] = \"NamespaceImport\";\n  SyntaxKind5[SyntaxKind5[\"NamedImports\"] = 278] = \"NamedImports\";\n  SyntaxKind5[SyntaxKind5[\"ImportSpecifier\"] = 279] = \"ImportSpecifier\";\n  SyntaxKind5[SyntaxKind5[\"ExportAssignment\"] = 280] = \"ExportAssignment\";\n  SyntaxKind5[SyntaxKind5[\"ExportDeclaration\"] = 281] = \"ExportDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"NamedExports\"] = 282] = \"NamedExports\";\n  SyntaxKind5[SyntaxKind5[\"NamespaceExport\"] = 283] = \"NamespaceExport\";\n  SyntaxKind5[SyntaxKind5[\"ExportSpecifier\"] = 284] = \"ExportSpecifier\";\n  SyntaxKind5[SyntaxKind5[\"MissingDeclaration\"] = 285] = \"MissingDeclaration\";\n  SyntaxKind5[SyntaxKind5[\"ExternalModuleReference\"] = 286] = \"ExternalModuleReference\";\n  SyntaxKind5[SyntaxKind5[\"JsxElement\"] = 287] = \"JsxElement\";\n  SyntaxKind5[SyntaxKind5[\"JsxSelfClosingElement\"] = 288] = \"JsxSelfClosingElement\";\n  SyntaxKind5[SyntaxKind5[\"JsxOpeningElement\"] = 289] = \"JsxOpeningElement\";\n  SyntaxKind5[SyntaxKind5[\"JsxClosingElement\"] = 290] = \"JsxClosingElement\";\n  SyntaxKind5[SyntaxKind5[\"JsxFragment\"] = 291] = \"JsxFragment\";\n  SyntaxKind5[SyntaxKind5[\"JsxOpeningFragment\"] = 292] = \"JsxOpeningFragment\";\n  SyntaxKind5[SyntaxKind5[\"JsxClosingFragment\"] = 293] = \"JsxClosingFragment\";\n  SyntaxKind5[SyntaxKind5[\"JsxAttribute\"] = 294] = \"JsxAttribute\";\n  SyntaxKind5[SyntaxKind5[\"JsxAttributes\"] = 295] = \"JsxAttributes\";\n  SyntaxKind5[SyntaxKind5[\"JsxSpreadAttribute\"] = 296] = \"JsxSpreadAttribute\";\n  SyntaxKind5[SyntaxKind5[\"JsxExpression\"] = 297] = \"JsxExpression\";\n  SyntaxKind5[SyntaxKind5[\"CaseClause\"] = 298] = \"CaseClause\";\n  SyntaxKind5[SyntaxKind5[\"DefaultClause\"] = 299] = \"DefaultClause\";\n  SyntaxKind5[SyntaxKind5[\"HeritageClause\"] = 300] = \"HeritageClause\";\n  SyntaxKind5[SyntaxKind5[\"CatchClause\"] = 301] = \"CatchClause\";\n  SyntaxKind5[SyntaxKind5[\"AssertClause\"] = 302] = \"AssertClause\";\n  SyntaxKind5[SyntaxKind5[\"AssertEntry\"] = 303] = \"AssertEntry\";\n  SyntaxKind5[SyntaxKind5[\"ImportTypeAssertionContainer\"] = 304] = \"ImportTypeAssertionContainer\";\n  SyntaxKind5[SyntaxKind5[\"PropertyAssignment\"] = 305] = \"PropertyAssignment\";\n  SyntaxKind5[SyntaxKind5[\"ShorthandPropertyAssignment\"] = 306] = \"ShorthandPropertyAssignment\";\n  SyntaxKind5[SyntaxKind5[\"SpreadAssignment\"] = 307] = \"SpreadAssignment\";\n  SyntaxKind5[SyntaxKind5[\"EnumMember\"] = 308] = \"EnumMember\";\n  SyntaxKind5[SyntaxKind5[\"UnparsedPrologue\"] = 309] = \"UnparsedPrologue\";\n  SyntaxKind5[SyntaxKind5[\"UnparsedPrepend\"] = 310] = \"UnparsedPrepend\";\n  SyntaxKind5[SyntaxKind5[\"UnparsedText\"] = 311] = \"UnparsedText\";\n  SyntaxKind5[SyntaxKind5[\"UnparsedInternalText\"] = 312] = \"UnparsedInternalText\";\n  SyntaxKind5[SyntaxKind5[\"UnparsedSyntheticReference\"] = 313] = \"UnparsedSyntheticReference\";\n  SyntaxKind5[SyntaxKind5[\"SourceFile\"] = 314] = \"SourceFile\";\n  SyntaxKind5[SyntaxKind5[\"Bundle\"] = 315] = \"Bundle\";\n  SyntaxKind5[SyntaxKind5[\"UnparsedSource\"] = 316] = \"UnparsedSource\";\n  SyntaxKind5[SyntaxKind5[\"InputFiles\"] = 317] = \"InputFiles\";\n  SyntaxKind5[SyntaxKind5[\"JSDocTypeExpression\"] = 318] = \"JSDocTypeExpression\";\n  SyntaxKind5[SyntaxKind5[\"JSDocNameReference\"] = 319] = \"JSDocNameReference\";\n  SyntaxKind5[SyntaxKind5[\"JSDocMemberName\"] = 320] = \"JSDocMemberName\";\n  SyntaxKind5[SyntaxKind5[\"JSDocAllType\"] = 321] = \"JSDocAllType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocUnknownType\"] = 322] = \"JSDocUnknownType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocNullableType\"] = 323] = \"JSDocNullableType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocNonNullableType\"] = 324] = \"JSDocNonNullableType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocOptionalType\"] = 325] = \"JSDocOptionalType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocFunctionType\"] = 326] = \"JSDocFunctionType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocVariadicType\"] = 327] = \"JSDocVariadicType\";\n  SyntaxKind5[SyntaxKind5[\"JSDocNamepathType\"] = 328] = \"JSDocNamepathType\";\n  SyntaxKind5[SyntaxKind5[\"JSDoc\"] = 329] = \"JSDoc\";\n  SyntaxKind5[SyntaxKind5[\"JSDocComment\"] = 329 /* JSDoc */] = \"JSDocComment\";\n  SyntaxKind5[SyntaxKind5[\"JSDocText\"] = 330] = \"JSDocText\";\n  SyntaxKind5[SyntaxKind5[\"JSDocTypeLiteral\"] = 331] = \"JSDocTypeLiteral\";\n  SyntaxKind5[SyntaxKind5[\"JSDocSignature\"] = 332] = \"JSDocSignature\";\n  SyntaxKind5[SyntaxKind5[\"JSDocLink\"] = 333] = \"JSDocLink\";\n  SyntaxKind5[SyntaxKind5[\"JSDocLinkCode\"] = 334] = \"JSDocLinkCode\";\n  SyntaxKind5[SyntaxKind5[\"JSDocLinkPlain\"] = 335] = \"JSDocLinkPlain\";\n  SyntaxKind5[SyntaxKind5[\"JSDocTag\"] = 336] = \"JSDocTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocAugmentsTag\"] = 337] = \"JSDocAugmentsTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocImplementsTag\"] = 338] = \"JSDocImplementsTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocAuthorTag\"] = 339] = \"JSDocAuthorTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocDeprecatedTag\"] = 340] = \"JSDocDeprecatedTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocClassTag\"] = 341] = \"JSDocClassTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocPublicTag\"] = 342] = \"JSDocPublicTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocPrivateTag\"] = 343] = \"JSDocPrivateTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocProtectedTag\"] = 344] = \"JSDocProtectedTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocReadonlyTag\"] = 345] = \"JSDocReadonlyTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocOverrideTag\"] = 346] = \"JSDocOverrideTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocCallbackTag\"] = 347] = \"JSDocCallbackTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocEnumTag\"] = 348] = \"JSDocEnumTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocParameterTag\"] = 349] = \"JSDocParameterTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocReturnTag\"] = 350] = \"JSDocReturnTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocThisTag\"] = 351] = \"JSDocThisTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocTypeTag\"] = 352] = \"JSDocTypeTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocTemplateTag\"] = 353] = \"JSDocTemplateTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocTypedefTag\"] = 354] = \"JSDocTypedefTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocSeeTag\"] = 355] = \"JSDocSeeTag\";\n  SyntaxKind5[SyntaxKind5[\"JSDocPropertyTag\"] = 356] = \"JSDocPropertyTag\";\n  SyntaxKind5[SyntaxKind5[\"SyntaxList\"] = 357] = \"SyntaxList\";\n  SyntaxKind5[SyntaxKind5[\"NotEmittedStatement\"] = 358] = \"NotEmittedStatement\";\n  SyntaxKind5[SyntaxKind5[\"PartiallyEmittedExpression\"] = 359] = \"PartiallyEmittedExpression\";\n  SyntaxKind5[SyntaxKind5[\"CommaListExpression\"] = 360] = \"CommaListExpression\";\n  SyntaxKind5[SyntaxKind5[\"MergeDeclarationMarker\"] = 361] = \"MergeDeclarationMarker\";\n  SyntaxKind5[SyntaxKind5[\"EndOfDeclarationMarker\"] = 362] = \"EndOfDeclarationMarker\";\n  SyntaxKind5[SyntaxKind5[\"SyntheticReferenceExpression\"] = 363] = \"SyntheticReferenceExpression\";\n  SyntaxKind5[SyntaxKind5[\"Count\"] = 364] = \"Count\";\n  SyntaxKind5[SyntaxKind5[\"FirstAssignment\"] = 63 /* EqualsToken */] = \"FirstAssignment\";\n  SyntaxKind5[SyntaxKind5[\"LastAssignment\"] = 78 /* CaretEqualsToken */] = \"LastAssignment\";\n  SyntaxKind5[SyntaxKind5[\"FirstCompoundAssignment\"] = 64 /* PlusEqualsToken */] = \"FirstCompoundAssignment\";\n  SyntaxKind5[SyntaxKind5[\"LastCompoundAssignment\"] = 78 /* CaretEqualsToken */] = \"LastCompoundAssignment\";\n  SyntaxKind5[SyntaxKind5[\"FirstReservedWord\"] = 81 /* BreakKeyword */] = \"FirstReservedWord\";\n  SyntaxKind5[SyntaxKind5[\"LastReservedWord\"] = 117 /* WithKeyword */] = \"LastReservedWord\";\n  SyntaxKind5[SyntaxKind5[\"FirstKeyword\"] = 81 /* BreakKeyword */] = \"FirstKeyword\";\n  SyntaxKind5[SyntaxKind5[\"LastKeyword\"] = 164 /* OfKeyword */] = \"LastKeyword\";\n  SyntaxKind5[SyntaxKind5[\"FirstFutureReservedWord\"] = 118 /* ImplementsKeyword */] = \"FirstFutureReservedWord\";\n  SyntaxKind5[SyntaxKind5[\"LastFutureReservedWord\"] = 126 /* YieldKeyword */] = \"LastFutureReservedWord\";\n  SyntaxKind5[SyntaxKind5[\"FirstTypeNode\"] = 182 /* TypePredicate */] = \"FirstTypeNode\";\n  SyntaxKind5[SyntaxKind5[\"LastTypeNode\"] = 205 /* ImportType */] = \"LastTypeNode\";\n  SyntaxKind5[SyntaxKind5[\"FirstPunctuation\"] = 18 /* OpenBraceToken */] = \"FirstPunctuation\";\n  SyntaxKind5[SyntaxKind5[\"LastPunctuation\"] = 78 /* CaretEqualsToken */] = \"LastPunctuation\";\n  SyntaxKind5[SyntaxKind5[\"FirstToken\"] = 0 /* Unknown */] = \"FirstToken\";\n  SyntaxKind5[SyntaxKind5[\"LastToken\"] = 164 /* LastKeyword */] = \"LastToken\";\n  SyntaxKind5[SyntaxKind5[\"FirstTriviaToken\"] = 2 /* SingleLineCommentTrivia */] = \"FirstTriviaToken\";\n  SyntaxKind5[SyntaxKind5[\"LastTriviaToken\"] = 7 /* ConflictMarkerTrivia */] = \"LastTriviaToken\";\n  SyntaxKind5[SyntaxKind5[\"FirstLiteralToken\"] = 8 /* NumericLiteral */] = \"FirstLiteralToken\";\n  SyntaxKind5[SyntaxKind5[\"LastLiteralToken\"] = 14 /* NoSubstitutionTemplateLiteral */] = \"LastLiteralToken\";\n  SyntaxKind5[SyntaxKind5[\"FirstTemplateToken\"] = 14 /* NoSubstitutionTemplateLiteral */] = \"FirstTemplateToken\";\n  SyntaxKind5[SyntaxKind5[\"LastTemplateToken\"] = 17 /* TemplateTail */] = \"LastTemplateToken\";\n  SyntaxKind5[SyntaxKind5[\"FirstBinaryOperator\"] = 29 /* LessThanToken */] = \"FirstBinaryOperator\";\n  SyntaxKind5[SyntaxKind5[\"LastBinaryOperator\"] = 78 /* CaretEqualsToken */] = \"LastBinaryOperator\";\n  SyntaxKind5[SyntaxKind5[\"FirstStatement\"] = 244 /* VariableStatement */] = \"FirstStatement\";\n  SyntaxKind5[SyntaxKind5[\"LastStatement\"] = 260 /* DebuggerStatement */] = \"LastStatement\";\n  SyntaxKind5[SyntaxKind5[\"FirstNode\"] = 165 /* QualifiedName */] = \"FirstNode\";\n  SyntaxKind5[SyntaxKind5[\"FirstJSDocNode\"] = 318 /* JSDocTypeExpression */] = \"FirstJSDocNode\";\n  SyntaxKind5[SyntaxKind5[\"LastJSDocNode\"] = 356 /* JSDocPropertyTag */] = \"LastJSDocNode\";\n  SyntaxKind5[SyntaxKind5[\"FirstJSDocTagNode\"] = 336 /* JSDocTag */] = \"FirstJSDocTagNode\";\n  SyntaxKind5[SyntaxKind5[\"LastJSDocTagNode\"] = 356 /* JSDocPropertyTag */] = \"LastJSDocTagNode\";\n  SyntaxKind5[SyntaxKind5[\"FirstContextualKeyword\"] = 127 /* AbstractKeyword */] = \"FirstContextualKeyword\";\n  SyntaxKind5[SyntaxKind5[\"LastContextualKeyword\"] = 164 /* OfKeyword */] = \"LastContextualKeyword\";\n  return SyntaxKind5;\n})(SyntaxKind2 || {});\nvar NodeFlags2 = /* @__PURE__ */ ((NodeFlags4) => {\n  NodeFlags4[NodeFlags4[\"None\"] = 0] = \"None\";\n  NodeFlags4[NodeFlags4[\"Let\"] = 1] = \"Let\";\n  NodeFlags4[NodeFlags4[\"Const\"] = 2] = \"Const\";\n  NodeFlags4[NodeFlags4[\"NestedNamespace\"] = 4] = \"NestedNamespace\";\n  NodeFlags4[NodeFlags4[\"Synthesized\"] = 8] = \"Synthesized\";\n  NodeFlags4[NodeFlags4[\"Namespace\"] = 16] = \"Namespace\";\n  NodeFlags4[NodeFlags4[\"OptionalChain\"] = 32] = \"OptionalChain\";\n  NodeFlags4[NodeFlags4[\"ExportContext\"] = 64] = \"ExportContext\";\n  NodeFlags4[NodeFlags4[\"ContainsThis\"] = 128] = \"ContainsThis\";\n  NodeFlags4[NodeFlags4[\"HasImplicitReturn\"] = 256] = \"HasImplicitReturn\";\n  NodeFlags4[NodeFlags4[\"HasExplicitReturn\"] = 512] = \"HasExplicitReturn\";\n  NodeFlags4[NodeFlags4[\"GlobalAugmentation\"] = 1024] = \"GlobalAugmentation\";\n  NodeFlags4[NodeFlags4[\"HasAsyncFunctions\"] = 2048] = \"HasAsyncFunctions\";\n  NodeFlags4[NodeFlags4[\"DisallowInContext\"] = 4096] = \"DisallowInContext\";\n  NodeFlags4[NodeFlags4[\"YieldContext\"] = 8192] = \"YieldContext\";\n  NodeFlags4[NodeFlags4[\"DecoratorContext\"] = 16384] = \"DecoratorContext\";\n  NodeFlags4[NodeFlags4[\"AwaitContext\"] = 32768] = \"AwaitContext\";\n  NodeFlags4[NodeFlags4[\"DisallowConditionalTypesContext\"] = 65536] = \"DisallowConditionalTypesContext\";\n  NodeFlags4[NodeFlags4[\"ThisNodeHasError\"] = 131072] = \"ThisNodeHasError\";\n  NodeFlags4[NodeFlags4[\"JavaScriptFile\"] = 262144] = \"JavaScriptFile\";\n  NodeFlags4[NodeFlags4[\"ThisNodeOrAnySubNodesHasError\"] = 524288] = \"ThisNodeOrAnySubNodesHasError\";\n  NodeFlags4[NodeFlags4[\"HasAggregatedChildData\"] = 1048576] = \"HasAggregatedChildData\";\n  NodeFlags4[NodeFlags4[\"PossiblyContainsDynamicImport\"] = 2097152] = \"PossiblyContainsDynamicImport\";\n  NodeFlags4[NodeFlags4[\"PossiblyContainsImportMeta\"] = 4194304] = \"PossiblyContainsImportMeta\";\n  NodeFlags4[NodeFlags4[\"JSDoc\"] = 8388608] = \"JSDoc\";\n  NodeFlags4[NodeFlags4[\"Ambient\"] = 16777216] = \"Ambient\";\n  NodeFlags4[NodeFlags4[\"InWithStatement\"] = 33554432] = \"InWithStatement\";\n  NodeFlags4[NodeFlags4[\"JsonFile\"] = 67108864] = \"JsonFile\";\n  NodeFlags4[NodeFlags4[\"TypeCached\"] = 134217728] = \"TypeCached\";\n  NodeFlags4[NodeFlags4[\"Deprecated\"] = 268435456] = \"Deprecated\";\n  NodeFlags4[NodeFlags4[\"KitImportFlags\"] = 536870912] = \"KitImportFlags\";\n  NodeFlags4[NodeFlags4[\"EtsContext\"] = 1073741824] = \"EtsContext\";\n  NodeFlags4[NodeFlags4[\"NoOriginalText\"] = -2147483648] = \"NoOriginalText\";\n  NodeFlags4[NodeFlags4[\"BlockScoped\"] = 3] = \"BlockScoped\";\n  NodeFlags4[NodeFlags4[\"ReachabilityCheckFlags\"] = 768] = \"ReachabilityCheckFlags\";\n  NodeFlags4[NodeFlags4[\"ReachabilityAndEmitFlags\"] = 2816] = \"ReachabilityAndEmitFlags\";\n  NodeFlags4[NodeFlags4[\"ContextFlags\"] = 1124462592] = \"ContextFlags\";\n  NodeFlags4[NodeFlags4[\"TypeExcludesFlags\"] = 40960] = \"TypeExcludesFlags\";\n  NodeFlags4[NodeFlags4[\"PermanentlySetIncrementalFlags\"] = 6291456] = \"PermanentlySetIncrementalFlags\";\n  return NodeFlags4;\n})(NodeFlags2 || {});\nvar EtsFlags = /* @__PURE__ */ ((EtsFlags2) => {\n  EtsFlags2[EtsFlags2[\"None\"] = 0] = \"None\";\n  EtsFlags2[EtsFlags2[\"StructContext\"] = 2] = \"StructContext\";\n  EtsFlags2[EtsFlags2[\"EtsExtendComponentsContext\"] = 4] = \"EtsExtendComponentsContext\";\n  EtsFlags2[EtsFlags2[\"EtsStylesComponentsContext\"] = 8] = \"EtsStylesComponentsContext\";\n  EtsFlags2[EtsFlags2[\"EtsBuildContext\"] = 16] = \"EtsBuildContext\";\n  EtsFlags2[EtsFlags2[\"EtsBuilderContext\"] = 32] = \"EtsBuilderContext\";\n  EtsFlags2[EtsFlags2[\"EtsStateStylesContext\"] = 64] = \"EtsStateStylesContext\";\n  EtsFlags2[EtsFlags2[\"EtsComponentsContext\"] = 128] = \"EtsComponentsContext\";\n  EtsFlags2[EtsFlags2[\"EtsNewExpressionContext\"] = 256] = \"EtsNewExpressionContext\";\n  EtsFlags2[EtsFlags2[\"UICallbackContext\"] = 512] = \"UICallbackContext\";\n  EtsFlags2[EtsFlags2[\"SyntaxComponentContext\"] = 1024] = \"SyntaxComponentContext\";\n  EtsFlags2[EtsFlags2[\"SyntaxDataSourceContext\"] = 2048] = \"SyntaxDataSourceContext\";\n  EtsFlags2[EtsFlags2[\"NoEtsComponentContext\"] = 4096] = \"NoEtsComponentContext\";\n  return EtsFlags2;\n})(EtsFlags || {});\nvar ModifierFlags2 = /* @__PURE__ */ ((ModifierFlags3) => {\n  ModifierFlags3[ModifierFlags3[\"None\"] = 0] = \"None\";\n  ModifierFlags3[ModifierFlags3[\"Export\"] = 1] = \"Export\";\n  ModifierFlags3[ModifierFlags3[\"Ambient\"] = 2] = \"Ambient\";\n  ModifierFlags3[ModifierFlags3[\"Public\"] = 4] = \"Public\";\n  ModifierFlags3[ModifierFlags3[\"Private\"] = 8] = \"Private\";\n  ModifierFlags3[ModifierFlags3[\"Protected\"] = 16] = \"Protected\";\n  ModifierFlags3[ModifierFlags3[\"Static\"] = 32] = \"Static\";\n  ModifierFlags3[ModifierFlags3[\"Readonly\"] = 64] = \"Readonly\";\n  ModifierFlags3[ModifierFlags3[\"Accessor\"] = 128] = \"Accessor\";\n  ModifierFlags3[ModifierFlags3[\"Abstract\"] = 256] = \"Abstract\";\n  ModifierFlags3[ModifierFlags3[\"Async\"] = 512] = \"Async\";\n  ModifierFlags3[ModifierFlags3[\"Default\"] = 1024] = \"Default\";\n  ModifierFlags3[ModifierFlags3[\"Const\"] = 2048] = \"Const\";\n  ModifierFlags3[ModifierFlags3[\"HasComputedJSDocModifiers\"] = 4096] = \"HasComputedJSDocModifiers\";\n  ModifierFlags3[ModifierFlags3[\"Deprecated\"] = 8192] = \"Deprecated\";\n  ModifierFlags3[ModifierFlags3[\"Override\"] = 16384] = \"Override\";\n  ModifierFlags3[ModifierFlags3[\"In\"] = 32768] = \"In\";\n  ModifierFlags3[ModifierFlags3[\"Out\"] = 65536] = \"Out\";\n  ModifierFlags3[ModifierFlags3[\"Decorator\"] = 131072] = \"Decorator\";\n  ModifierFlags3[ModifierFlags3[\"HasComputedFlags\"] = 536870912] = \"HasComputedFlags\";\n  ModifierFlags3[ModifierFlags3[\"AccessibilityModifier\"] = 28] = \"AccessibilityModifier\";\n  ModifierFlags3[ModifierFlags3[\"ParameterPropertyModifier\"] = 16476] = \"ParameterPropertyModifier\";\n  ModifierFlags3[ModifierFlags3[\"NonPublicAccessibilityModifier\"] = 24] = \"NonPublicAccessibilityModifier\";\n  ModifierFlags3[ModifierFlags3[\"TypeScriptModifier\"] = 117086] = \"TypeScriptModifier\";\n  ModifierFlags3[ModifierFlags3[\"ExportDefault\"] = 1025] = \"ExportDefault\";\n  ModifierFlags3[ModifierFlags3[\"All\"] = 258047] = \"All\";\n  ModifierFlags3[ModifierFlags3[\"Modifier\"] = 126975] = \"Modifier\";\n  return ModifierFlags3;\n})(ModifierFlags2 || {});\nvar JsxFlags = /* @__PURE__ */ ((JsxFlags2) => {\n  JsxFlags2[JsxFlags2[\"None\"] = 0] = \"None\";\n  JsxFlags2[JsxFlags2[\"IntrinsicNamedElement\"] = 1] = \"IntrinsicNamedElement\";\n  JsxFlags2[JsxFlags2[\"IntrinsicIndexedElement\"] = 2] = \"IntrinsicIndexedElement\";\n  JsxFlags2[JsxFlags2[\"IntrinsicElement\"] = 3] = \"IntrinsicElement\";\n  return JsxFlags2;\n})(JsxFlags || {});\nvar RelationComparisonResult2 = /* @__PURE__ */ ((RelationComparisonResult3) => {\n  RelationComparisonResult3[RelationComparisonResult3[\"Succeeded\"] = 1] = \"Succeeded\";\n  RelationComparisonResult3[RelationComparisonResult3[\"Failed\"] = 2] = \"Failed\";\n  RelationComparisonResult3[RelationComparisonResult3[\"ReportsUnmeasurable\"] = 8] = \"ReportsUnmeasurable\";\n  RelationComparisonResult3[RelationComparisonResult3[\"ReportsUnreliable\"] = 16] = \"ReportsUnreliable\";\n  RelationComparisonResult3[RelationComparisonResult3[\"ReportsMask\"] = 24] = \"ReportsMask\";\n  return RelationComparisonResult3;\n})(RelationComparisonResult2 || {});\nvar GeneratedIdentifierFlags = /* @__PURE__ */ ((GeneratedIdentifierFlags3) => {\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"None\"] = 0] = \"None\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"Auto\"] = 1] = \"Auto\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"Loop\"] = 2] = \"Loop\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"Unique\"] = 3] = \"Unique\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"Node\"] = 4] = \"Node\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"KindMask\"] = 7] = \"KindMask\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"ReservedInNestedScopes\"] = 8] = \"ReservedInNestedScopes\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"Optimistic\"] = 16] = \"Optimistic\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"FileLevel\"] = 32] = \"FileLevel\";\n  GeneratedIdentifierFlags3[GeneratedIdentifierFlags3[\"AllowNameSubstitution\"] = 64] = \"AllowNameSubstitution\";\n  return GeneratedIdentifierFlags3;\n})(GeneratedIdentifierFlags || {});\nvar TokenFlags = /* @__PURE__ */ ((TokenFlags2) => {\n  TokenFlags2[TokenFlags2[\"None\"] = 0] = \"None\";\n  TokenFlags2[TokenFlags2[\"PrecedingLineBreak\"] = 1] = \"PrecedingLineBreak\";\n  TokenFlags2[TokenFlags2[\"PrecedingJSDocComment\"] = 2] = \"PrecedingJSDocComment\";\n  TokenFlags2[TokenFlags2[\"Unterminated\"] = 4] = \"Unterminated\";\n  TokenFlags2[TokenFlags2[\"ExtendedUnicodeEscape\"] = 8] = \"ExtendedUnicodeEscape\";\n  TokenFlags2[TokenFlags2[\"Scientific\"] = 16] = \"Scientific\";\n  TokenFlags2[TokenFlags2[\"Octal\"] = 32] = \"Octal\";\n  TokenFlags2[TokenFlags2[\"HexSpecifier\"] = 64] = \"HexSpecifier\";\n  TokenFlags2[TokenFlags2[\"BinarySpecifier\"] = 128] = \"BinarySpecifier\";\n  TokenFlags2[TokenFlags2[\"OctalSpecifier\"] = 256] = \"OctalSpecifier\";\n  TokenFlags2[TokenFlags2[\"ContainsSeparator\"] = 512] = \"ContainsSeparator\";\n  TokenFlags2[TokenFlags2[\"UnicodeEscape\"] = 1024] = \"UnicodeEscape\";\n  TokenFlags2[TokenFlags2[\"ContainsInvalidEscape\"] = 2048] = \"ContainsInvalidEscape\";\n  TokenFlags2[TokenFlags2[\"BinaryOrOctalSpecifier\"] = 384] = \"BinaryOrOctalSpecifier\";\n  TokenFlags2[TokenFlags2[\"NumericLiteralFlags\"] = 1008] = \"NumericLiteralFlags\";\n  TokenFlags2[TokenFlags2[\"TemplateLiteralLikeFlags\"] = 2048 /* ContainsInvalidEscape */] = \"TemplateLiteralLikeFlags\";\n  return TokenFlags2;\n})(TokenFlags || {});\nvar FlowFlags = /* @__PURE__ */ ((FlowFlags2) => {\n  FlowFlags2[FlowFlags2[\"Unreachable\"] = 1] = \"Unreachable\";\n  FlowFlags2[FlowFlags2[\"Start\"] = 2] = \"Start\";\n  FlowFlags2[FlowFlags2[\"BranchLabel\"] = 4] = \"BranchLabel\";\n  FlowFlags2[FlowFlags2[\"LoopLabel\"] = 8] = \"LoopLabel\";\n  FlowFlags2[FlowFlags2[\"Assignment\"] = 16] = \"Assignment\";\n  FlowFlags2[FlowFlags2[\"TrueCondition\"] = 32] = \"TrueCondition\";\n  FlowFlags2[FlowFlags2[\"FalseCondition\"] = 64] = \"FalseCondition\";\n  FlowFlags2[FlowFlags2[\"SwitchClause\"] = 128] = \"SwitchClause\";\n  FlowFlags2[FlowFlags2[\"ArrayMutation\"] = 256] = \"ArrayMutation\";\n  FlowFlags2[FlowFlags2[\"Call\"] = 512] = \"Call\";\n  FlowFlags2[FlowFlags2[\"ReduceLabel\"] = 1024] = \"ReduceLabel\";\n  FlowFlags2[FlowFlags2[\"Referenced\"] = 2048] = \"Referenced\";\n  FlowFlags2[FlowFlags2[\"Shared\"] = 4096] = \"Shared\";\n  FlowFlags2[FlowFlags2[\"Label\"] = 12] = \"Label\";\n  FlowFlags2[FlowFlags2[\"Condition\"] = 96] = \"Condition\";\n  return FlowFlags2;\n})(FlowFlags || {});\nvar CommentDirectiveType = /* @__PURE__ */ ((CommentDirectiveType2) => {\n  CommentDirectiveType2[CommentDirectiveType2[\"ExpectError\"] = 0] = \"ExpectError\";\n  CommentDirectiveType2[CommentDirectiveType2[\"Ignore\"] = 1] = \"Ignore\";\n  return CommentDirectiveType2;\n})(CommentDirectiveType || {});\nvar OperationCanceledException = class {\n};\nvar FileIncludeKind = /* @__PURE__ */ ((FileIncludeKind2) => {\n  FileIncludeKind2[FileIncludeKind2[\"RootFile\"] = 0] = \"RootFile\";\n  FileIncludeKind2[FileIncludeKind2[\"SourceFromProjectReference\"] = 1] = \"SourceFromProjectReference\";\n  FileIncludeKind2[FileIncludeKind2[\"OutputFromProjectReference\"] = 2] = \"OutputFromProjectReference\";\n  FileIncludeKind2[FileIncludeKind2[\"Import\"] = 3] = \"Import\";\n  FileIncludeKind2[FileIncludeKind2[\"ReferenceFile\"] = 4] = \"ReferenceFile\";\n  FileIncludeKind2[FileIncludeKind2[\"TypeReferenceDirective\"] = 5] = \"TypeReferenceDirective\";\n  FileIncludeKind2[FileIncludeKind2[\"LibFile\"] = 6] = \"LibFile\";\n  FileIncludeKind2[FileIncludeKind2[\"LibReferenceDirective\"] = 7] = \"LibReferenceDirective\";\n  FileIncludeKind2[FileIncludeKind2[\"AutomaticTypeDirectiveFile\"] = 8] = \"AutomaticTypeDirectiveFile\";\n  return FileIncludeKind2;\n})(FileIncludeKind || {});\nvar FilePreprocessingDiagnosticsKind = /* @__PURE__ */ ((FilePreprocessingDiagnosticsKind2) => {\n  FilePreprocessingDiagnosticsKind2[FilePreprocessingDiagnosticsKind2[\"FilePreprocessingReferencedDiagnostic\"] = 0] = \"FilePreprocessingReferencedDiagnostic\";\n  FilePreprocessingDiagnosticsKind2[FilePreprocessingDiagnosticsKind2[\"FilePreprocessingFileExplainingDiagnostic\"] = 1] = \"FilePreprocessingFileExplainingDiagnostic\";\n  return FilePreprocessingDiagnosticsKind2;\n})(FilePreprocessingDiagnosticsKind || {});\nvar StructureIsReused = /* @__PURE__ */ ((StructureIsReused2) => {\n  StructureIsReused2[StructureIsReused2[\"Not\"] = 0] = \"Not\";\n  StructureIsReused2[StructureIsReused2[\"SafeModules\"] = 1] = \"SafeModules\";\n  StructureIsReused2[StructureIsReused2[\"Completely\"] = 2] = \"Completely\";\n  return StructureIsReused2;\n})(StructureIsReused || {});\nvar ExitStatus = /* @__PURE__ */ ((ExitStatus2) => {\n  ExitStatus2[ExitStatus2[\"Success\"] = 0] = \"Success\";\n  ExitStatus2[ExitStatus2[\"DiagnosticsPresent_OutputsSkipped\"] = 1] = \"DiagnosticsPresent_OutputsSkipped\";\n  ExitStatus2[ExitStatus2[\"DiagnosticsPresent_OutputsGenerated\"] = 2] = \"DiagnosticsPresent_OutputsGenerated\";\n  ExitStatus2[ExitStatus2[\"InvalidProject_OutputsSkipped\"] = 3] = \"InvalidProject_OutputsSkipped\";\n  ExitStatus2[ExitStatus2[\"ProjectReferenceCycle_OutputsSkipped\"] = 4] = \"ProjectReferenceCycle_OutputsSkipped\";\n  ExitStatus2[ExitStatus2[\"ProjectReferenceCycle_OutputsSkupped\"] = 4] = \"ProjectReferenceCycle_OutputsSkupped\";\n  return ExitStatus2;\n})(ExitStatus || {});\nvar MemberOverrideStatus = /* @__PURE__ */ ((MemberOverrideStatus2) => {\n  MemberOverrideStatus2[MemberOverrideStatus2[\"Ok\"] = 0] = \"Ok\";\n  MemberOverrideStatus2[MemberOverrideStatus2[\"NeedsOverride\"] = 1] = \"NeedsOverride\";\n  MemberOverrideStatus2[MemberOverrideStatus2[\"HasInvalidOverride\"] = 2] = \"HasInvalidOverride\";\n  return MemberOverrideStatus2;\n})(MemberOverrideStatus || {});\nvar UnionReduction = /* @__PURE__ */ ((UnionReduction2) => {\n  UnionReduction2[UnionReduction2[\"None\"] = 0] = \"None\";\n  UnionReduction2[UnionReduction2[\"Literal\"] = 1] = \"Literal\";\n  UnionReduction2[UnionReduction2[\"Subtype\"] = 2] = \"Subtype\";\n  return UnionReduction2;\n})(UnionReduction || {});\nvar ContextFlags = /* @__PURE__ */ ((ContextFlags3) => {\n  ContextFlags3[ContextFlags3[\"None\"] = 0] = \"None\";\n  ContextFlags3[ContextFlags3[\"Signature\"] = 1] = \"Signature\";\n  ContextFlags3[ContextFlags3[\"NoConstraints\"] = 2] = \"NoConstraints\";\n  ContextFlags3[ContextFlags3[\"Completions\"] = 4] = \"Completions\";\n  ContextFlags3[ContextFlags3[\"SkipBindingPatterns\"] = 8] = \"SkipBindingPatterns\";\n  return ContextFlags3;\n})(ContextFlags || {});\nvar NodeBuilderFlags = /* @__PURE__ */ ((NodeBuilderFlags2) => {\n  NodeBuilderFlags2[NodeBuilderFlags2[\"None\"] = 0] = \"None\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"NoTruncation\"] = 1] = \"NoTruncation\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"WriteArrayAsGenericType\"] = 2] = \"WriteArrayAsGenericType\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"GenerateNamesForShadowedTypeParams\"] = 4] = \"GenerateNamesForShadowedTypeParams\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"UseStructuralFallback\"] = 8] = \"UseStructuralFallback\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"ForbidIndexedAccessSymbolReferences\"] = 16] = \"ForbidIndexedAccessSymbolReferences\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"WriteTypeArgumentsOfSignature\"] = 32] = \"WriteTypeArgumentsOfSignature\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"UseFullyQualifiedType\"] = 64] = \"UseFullyQualifiedType\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"UseOnlyExternalAliasing\"] = 128] = \"UseOnlyExternalAliasing\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"SuppressAnyReturnType\"] = 256] = \"SuppressAnyReturnType\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"WriteTypeParametersInQualifiedName\"] = 512] = \"WriteTypeParametersInQualifiedName\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"MultilineObjectLiterals\"] = 1024] = \"MultilineObjectLiterals\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"WriteClassExpressionAsTypeLiteral\"] = 2048] = \"WriteClassExpressionAsTypeLiteral\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"UseTypeOfFunction\"] = 4096] = \"UseTypeOfFunction\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"OmitParameterModifiers\"] = 8192] = \"OmitParameterModifiers\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"UseAliasDefinedOutsideCurrentScope\"] = 16384] = \"UseAliasDefinedOutsideCurrentScope\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"UseSingleQuotesForStringLiteralType\"] = 268435456] = \"UseSingleQuotesForStringLiteralType\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"NoTypeReduction\"] = 536870912] = \"NoTypeReduction\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"OmitThisParameter\"] = 33554432] = \"OmitThisParameter\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowThisInObjectLiteral\"] = 32768] = \"AllowThisInObjectLiteral\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowQualifiedNameInPlaceOfIdentifier\"] = 65536] = \"AllowQualifiedNameInPlaceOfIdentifier\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowQualifedNameInPlaceOfIdentifier\"] = 65536 /* AllowQualifiedNameInPlaceOfIdentifier */] = \"AllowQualifedNameInPlaceOfIdentifier\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowAnonymousIdentifier\"] = 131072] = \"AllowAnonymousIdentifier\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowEmptyUnionOrIntersection\"] = 262144] = \"AllowEmptyUnionOrIntersection\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowEmptyTuple\"] = 524288] = \"AllowEmptyTuple\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowUniqueESSymbolType\"] = 1048576] = \"AllowUniqueESSymbolType\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowEmptyIndexInfoType\"] = 2097152] = \"AllowEmptyIndexInfoType\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"WriteComputedProps\"] = 1073741824] = \"WriteComputedProps\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"AllowNodeModulesRelativePaths\"] = 67108864] = \"AllowNodeModulesRelativePaths\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"DoNotIncludeSymbolChain\"] = 134217728] = \"DoNotIncludeSymbolChain\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"IgnoreErrors\"] = 70221824] = \"IgnoreErrors\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"InObjectTypeLiteral\"] = 4194304] = \"InObjectTypeLiteral\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"InTypeAlias\"] = 8388608] = \"InTypeAlias\";\n  NodeBuilderFlags2[NodeBuilderFlags2[\"InInitialEntityName\"] = 16777216] = \"InInitialEntityName\";\n  return NodeBuilderFlags2;\n})(NodeBuilderFlags || {});\nvar TypeFormatFlags = /* @__PURE__ */ ((TypeFormatFlags2) => {\n  TypeFormatFlags2[TypeFormatFlags2[\"None\"] = 0] = \"None\";\n  TypeFormatFlags2[TypeFormatFlags2[\"NoTruncation\"] = 1] = \"NoTruncation\";\n  TypeFormatFlags2[TypeFormatFlags2[\"WriteArrayAsGenericType\"] = 2] = \"WriteArrayAsGenericType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"UseStructuralFallback\"] = 8] = \"UseStructuralFallback\";\n  TypeFormatFlags2[TypeFormatFlags2[\"WriteTypeArgumentsOfSignature\"] = 32] = \"WriteTypeArgumentsOfSignature\";\n  TypeFormatFlags2[TypeFormatFlags2[\"UseFullyQualifiedType\"] = 64] = \"UseFullyQualifiedType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"SuppressAnyReturnType\"] = 256] = \"SuppressAnyReturnType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"MultilineObjectLiterals\"] = 1024] = \"MultilineObjectLiterals\";\n  TypeFormatFlags2[TypeFormatFlags2[\"WriteClassExpressionAsTypeLiteral\"] = 2048] = \"WriteClassExpressionAsTypeLiteral\";\n  TypeFormatFlags2[TypeFormatFlags2[\"UseTypeOfFunction\"] = 4096] = \"UseTypeOfFunction\";\n  TypeFormatFlags2[TypeFormatFlags2[\"OmitParameterModifiers\"] = 8192] = \"OmitParameterModifiers\";\n  TypeFormatFlags2[TypeFormatFlags2[\"UseAliasDefinedOutsideCurrentScope\"] = 16384] = \"UseAliasDefinedOutsideCurrentScope\";\n  TypeFormatFlags2[TypeFormatFlags2[\"UseSingleQuotesForStringLiteralType\"] = 268435456] = \"UseSingleQuotesForStringLiteralType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"NoTypeReduction\"] = 536870912] = \"NoTypeReduction\";\n  TypeFormatFlags2[TypeFormatFlags2[\"OmitThisParameter\"] = 33554432] = \"OmitThisParameter\";\n  TypeFormatFlags2[TypeFormatFlags2[\"AllowUniqueESSymbolType\"] = 1048576] = \"AllowUniqueESSymbolType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"AddUndefined\"] = 131072] = \"AddUndefined\";\n  TypeFormatFlags2[TypeFormatFlags2[\"WriteArrowStyleSignature\"] = 262144] = \"WriteArrowStyleSignature\";\n  TypeFormatFlags2[TypeFormatFlags2[\"InArrayType\"] = 524288] = \"InArrayType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"InElementType\"] = 2097152] = \"InElementType\";\n  TypeFormatFlags2[TypeFormatFlags2[\"InFirstTypeArgument\"] = 4194304] = \"InFirstTypeArgument\";\n  TypeFormatFlags2[TypeFormatFlags2[\"InTypeAlias\"] = 8388608] = \"InTypeAlias\";\n  TypeFormatFlags2[TypeFormatFlags2[\"WriteOwnNameForAnyLike\"] = 0] = \"WriteOwnNameForAnyLike\";\n  TypeFormatFlags2[TypeFormatFlags2[\"NodeBuilderFlagsMask\"] = 848330091] = \"NodeBuilderFlagsMask\";\n  return TypeFormatFlags2;\n})(TypeFormatFlags || {});\nvar SymbolFormatFlags = /* @__PURE__ */ ((SymbolFormatFlags2) => {\n  SymbolFormatFlags2[SymbolFormatFlags2[\"None\"] = 0] = \"None\";\n  SymbolFormatFlags2[SymbolFormatFlags2[\"WriteTypeParametersOrArguments\"] = 1] = \"WriteTypeParametersOrArguments\";\n  SymbolFormatFlags2[SymbolFormatFlags2[\"UseOnlyExternalAliasing\"] = 2] = \"UseOnlyExternalAliasing\";\n  SymbolFormatFlags2[SymbolFormatFlags2[\"AllowAnyNodeKind\"] = 4] = \"AllowAnyNodeKind\";\n  SymbolFormatFlags2[SymbolFormatFlags2[\"UseAliasDefinedOutsideCurrentScope\"] = 8] = \"UseAliasDefinedOutsideCurrentScope\";\n  SymbolFormatFlags2[SymbolFormatFlags2[\"WriteComputedProps\"] = 16] = \"WriteComputedProps\";\n  SymbolFormatFlags2[SymbolFormatFlags2[\"DoNotIncludeSymbolChain\"] = 32] = \"DoNotIncludeSymbolChain\";\n  return SymbolFormatFlags2;\n})(SymbolFormatFlags || {});\nvar SymbolAccessibility = /* @__PURE__ */ ((SymbolAccessibility2) => {\n  SymbolAccessibility2[SymbolAccessibility2[\"Accessible\"] = 0] = \"Accessible\";\n  SymbolAccessibility2[SymbolAccessibility2[\"NotAccessible\"] = 1] = \"NotAccessible\";\n  SymbolAccessibility2[SymbolAccessibility2[\"CannotBeNamed\"] = 2] = \"CannotBeNamed\";\n  return SymbolAccessibility2;\n})(SymbolAccessibility || {});\nvar SyntheticSymbolKind = /* @__PURE__ */ ((SyntheticSymbolKind2) => {\n  SyntheticSymbolKind2[SyntheticSymbolKind2[\"UnionOrIntersection\"] = 0] = \"UnionOrIntersection\";\n  SyntheticSymbolKind2[SyntheticSymbolKind2[\"Spread\"] = 1] = \"Spread\";\n  return SyntheticSymbolKind2;\n})(SyntheticSymbolKind || {});\nvar TypePredicateKind = /* @__PURE__ */ ((TypePredicateKind2) => {\n  TypePredicateKind2[TypePredicateKind2[\"This\"] = 0] = \"This\";\n  TypePredicateKind2[TypePredicateKind2[\"Identifier\"] = 1] = \"Identifier\";\n  TypePredicateKind2[TypePredicateKind2[\"AssertsThis\"] = 2] = \"AssertsThis\";\n  TypePredicateKind2[TypePredicateKind2[\"AssertsIdentifier\"] = 3] = \"AssertsIdentifier\";\n  return TypePredicateKind2;\n})(TypePredicateKind || {});\nvar TypeReferenceSerializationKind = /* @__PURE__ */ ((TypeReferenceSerializationKind2) => {\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"Unknown\"] = 0] = \"Unknown\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"TypeWithConstructSignatureAndValue\"] = 1] = \"TypeWithConstructSignatureAndValue\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"VoidNullableOrNeverType\"] = 2] = \"VoidNullableOrNeverType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"NumberLikeType\"] = 3] = \"NumberLikeType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"BigIntLikeType\"] = 4] = \"BigIntLikeType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"StringLikeType\"] = 5] = \"StringLikeType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"BooleanType\"] = 6] = \"BooleanType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"ArrayLikeType\"] = 7] = \"ArrayLikeType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"ESSymbolType\"] = 8] = \"ESSymbolType\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"Promise\"] = 9] = \"Promise\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"TypeWithCallSignature\"] = 10] = \"TypeWithCallSignature\";\n  TypeReferenceSerializationKind2[TypeReferenceSerializationKind2[\"ObjectType\"] = 11] = \"ObjectType\";\n  return TypeReferenceSerializationKind2;\n})(TypeReferenceSerializationKind || {});\nvar SymbolFlags = /* @__PURE__ */ ((SymbolFlags3) => {\n  SymbolFlags3[SymbolFlags3[\"None\"] = 0] = \"None\";\n  SymbolFlags3[SymbolFlags3[\"FunctionScopedVariable\"] = 1] = \"FunctionScopedVariable\";\n  SymbolFlags3[SymbolFlags3[\"BlockScopedVariable\"] = 2] = \"BlockScopedVariable\";\n  SymbolFlags3[SymbolFlags3[\"Property\"] = 4] = \"Property\";\n  SymbolFlags3[SymbolFlags3[\"EnumMember\"] = 8] = \"EnumMember\";\n  SymbolFlags3[SymbolFlags3[\"Function\"] = 16] = \"Function\";\n  SymbolFlags3[SymbolFlags3[\"Class\"] = 32] = \"Class\";\n  SymbolFlags3[SymbolFlags3[\"Interface\"] = 64] = \"Interface\";\n  SymbolFlags3[SymbolFlags3[\"ConstEnum\"] = 128] = \"ConstEnum\";\n  SymbolFlags3[SymbolFlags3[\"RegularEnum\"] = 256] = \"RegularEnum\";\n  SymbolFlags3[SymbolFlags3[\"ValueModule\"] = 512] = \"ValueModule\";\n  SymbolFlags3[SymbolFlags3[\"NamespaceModule\"] = 1024] = \"NamespaceModule\";\n  SymbolFlags3[SymbolFlags3[\"TypeLiteral\"] = 2048] = \"TypeLiteral\";\n  SymbolFlags3[SymbolFlags3[\"ObjectLiteral\"] = 4096] = \"ObjectLiteral\";\n  SymbolFlags3[SymbolFlags3[\"Method\"] = 8192] = \"Method\";\n  SymbolFlags3[SymbolFlags3[\"Constructor\"] = 16384] = \"Constructor\";\n  SymbolFlags3[SymbolFlags3[\"GetAccessor\"] = 32768] = \"GetAccessor\";\n  SymbolFlags3[SymbolFlags3[\"SetAccessor\"] = 65536] = \"SetAccessor\";\n  SymbolFlags3[SymbolFlags3[\"Signature\"] = 131072] = \"Signature\";\n  SymbolFlags3[SymbolFlags3[\"TypeParameter\"] = 262144] = \"TypeParameter\";\n  SymbolFlags3[SymbolFlags3[\"TypeAlias\"] = 524288] = \"TypeAlias\";\n  SymbolFlags3[SymbolFlags3[\"ExportValue\"] = 1048576] = \"ExportValue\";\n  SymbolFlags3[SymbolFlags3[\"Alias\"] = 2097152] = \"Alias\";\n  SymbolFlags3[SymbolFlags3[\"Prototype\"] = 4194304] = \"Prototype\";\n  SymbolFlags3[SymbolFlags3[\"ExportStar\"] = 8388608] = \"ExportStar\";\n  SymbolFlags3[SymbolFlags3[\"Optional\"] = 16777216] = \"Optional\";\n  SymbolFlags3[SymbolFlags3[\"Transient\"] = 33554432] = \"Transient\";\n  SymbolFlags3[SymbolFlags3[\"Assignment\"] = 67108864] = \"Assignment\";\n  SymbolFlags3[SymbolFlags3[\"ModuleExports\"] = 134217728] = \"ModuleExports\";\n  SymbolFlags3[SymbolFlags3[\"Annotation\"] = 268435456] = \"Annotation\";\n  SymbolFlags3[SymbolFlags3[\"All\"] = 67108863] = \"All\";\n  SymbolFlags3[SymbolFlags3[\"Enum\"] = 384] = \"Enum\";\n  SymbolFlags3[SymbolFlags3[\"Variable\"] = 3] = \"Variable\";\n  SymbolFlags3[SymbolFlags3[\"Value\"] = 111551] = \"Value\";\n  SymbolFlags3[SymbolFlags3[\"Type\"] = 788968] = \"Type\";\n  SymbolFlags3[SymbolFlags3[\"Namespace\"] = 1920] = \"Namespace\";\n  SymbolFlags3[SymbolFlags3[\"Module\"] = 1536] = \"Module\";\n  SymbolFlags3[SymbolFlags3[\"Accessor\"] = 98304] = \"Accessor\";\n  SymbolFlags3[SymbolFlags3[\"FunctionScopedVariableExcludes\"] = 111550] = \"FunctionScopedVariableExcludes\";\n  SymbolFlags3[SymbolFlags3[\"BlockScopedVariableExcludes\"] = 111551 /* Value */] = \"BlockScopedVariableExcludes\";\n  SymbolFlags3[SymbolFlags3[\"ParameterExcludes\"] = 111551 /* Value */] = \"ParameterExcludes\";\n  SymbolFlags3[SymbolFlags3[\"PropertyExcludes\"] = 0 /* None */] = \"PropertyExcludes\";\n  SymbolFlags3[SymbolFlags3[\"EnumMemberExcludes\"] = 900095] = \"EnumMemberExcludes\";\n  SymbolFlags3[SymbolFlags3[\"FunctionExcludes\"] = 110991] = \"FunctionExcludes\";\n  SymbolFlags3[SymbolFlags3[\"ClassExcludes\"] = 899503] = \"ClassExcludes\";\n  SymbolFlags3[SymbolFlags3[\"InterfaceExcludes\"] = 788872] = \"InterfaceExcludes\";\n  SymbolFlags3[SymbolFlags3[\"RegularEnumExcludes\"] = 899327] = \"RegularEnumExcludes\";\n  SymbolFlags3[SymbolFlags3[\"ConstEnumExcludes\"] = 899967] = \"ConstEnumExcludes\";\n  SymbolFlags3[SymbolFlags3[\"ValueModuleExcludes\"] = 110735] = \"ValueModuleExcludes\";\n  SymbolFlags3[SymbolFlags3[\"NamespaceModuleExcludes\"] = 0] = \"NamespaceModuleExcludes\";\n  SymbolFlags3[SymbolFlags3[\"MethodExcludes\"] = 103359] = \"MethodExcludes\";\n  SymbolFlags3[SymbolFlags3[\"GetAccessorExcludes\"] = 46015] = \"GetAccessorExcludes\";\n  SymbolFlags3[SymbolFlags3[\"SetAccessorExcludes\"] = 78783] = \"SetAccessorExcludes\";\n  SymbolFlags3[SymbolFlags3[\"AccessorExcludes\"] = 13247] = \"AccessorExcludes\";\n  SymbolFlags3[SymbolFlags3[\"TypeParameterExcludes\"] = 526824] = \"TypeParameterExcludes\";\n  SymbolFlags3[SymbolFlags3[\"TypeAliasExcludes\"] = 788968 /* Type */] = \"TypeAliasExcludes\";\n  SymbolFlags3[SymbolFlags3[\"AliasExcludes\"] = 2097152 /* Alias */] = \"AliasExcludes\";\n  SymbolFlags3[SymbolFlags3[\"ModuleMember\"] = 2623475] = \"ModuleMember\";\n  SymbolFlags3[SymbolFlags3[\"ExportHasLocal\"] = 944] = \"ExportHasLocal\";\n  SymbolFlags3[SymbolFlags3[\"BlockScoped\"] = 418] = \"BlockScoped\";\n  SymbolFlags3[SymbolFlags3[\"PropertyOrAccessor\"] = 98308] = \"PropertyOrAccessor\";\n  SymbolFlags3[SymbolFlags3[\"ClassMember\"] = 106500] = \"ClassMember\";\n  SymbolFlags3[SymbolFlags3[\"ExportSupportsDefaultModifier\"] = 112] = \"ExportSupportsDefaultModifier\";\n  SymbolFlags3[SymbolFlags3[\"ExportDoesNotSupportDefaultModifier\"] = -113] = \"ExportDoesNotSupportDefaultModifier\";\n  SymbolFlags3[SymbolFlags3[\"Classifiable\"] = 2885600] = \"Classifiable\";\n  SymbolFlags3[SymbolFlags3[\"LateBindingContainer\"] = 6256] = \"LateBindingContainer\";\n  return SymbolFlags3;\n})(SymbolFlags || {});\nvar EnumKind = /* @__PURE__ */ ((EnumKind2) => {\n  EnumKind2[EnumKind2[\"Numeric\"] = 0] = \"Numeric\";\n  EnumKind2[EnumKind2[\"Literal\"] = 1] = \"Literal\";\n  return EnumKind2;\n})(EnumKind || {});\nvar CheckFlags = /* @__PURE__ */ ((CheckFlags2) => {\n  CheckFlags2[CheckFlags2[\"Instantiated\"] = 1] = \"Instantiated\";\n  CheckFlags2[CheckFlags2[\"SyntheticProperty\"] = 2] = \"SyntheticProperty\";\n  CheckFlags2[CheckFlags2[\"SyntheticMethod\"] = 4] = \"SyntheticMethod\";\n  CheckFlags2[CheckFlags2[\"Readonly\"] = 8] = \"Readonly\";\n  CheckFlags2[CheckFlags2[\"ReadPartial\"] = 16] = \"ReadPartial\";\n  CheckFlags2[CheckFlags2[\"WritePartial\"] = 32] = \"WritePartial\";\n  CheckFlags2[CheckFlags2[\"HasNonUniformType\"] = 64] = \"HasNonUniformType\";\n  CheckFlags2[CheckFlags2[\"HasLiteralType\"] = 128] = \"HasLiteralType\";\n  CheckFlags2[CheckFlags2[\"ContainsPublic\"] = 256] = \"ContainsPublic\";\n  CheckFlags2[CheckFlags2[\"ContainsProtected\"] = 512] = \"ContainsProtected\";\n  CheckFlags2[CheckFlags2[\"ContainsPrivate\"] = 1024] = \"ContainsPrivate\";\n  CheckFlags2[CheckFlags2[\"ContainsStatic\"] = 2048] = \"ContainsStatic\";\n  CheckFlags2[CheckFlags2[\"Late\"] = 4096] = \"Late\";\n  CheckFlags2[CheckFlags2[\"ReverseMapped\"] = 8192] = \"ReverseMapped\";\n  CheckFlags2[CheckFlags2[\"OptionalParameter\"] = 16384] = \"OptionalParameter\";\n  CheckFlags2[CheckFlags2[\"RestParameter\"] = 32768] = \"RestParameter\";\n  CheckFlags2[CheckFlags2[\"DeferredType\"] = 65536] = \"DeferredType\";\n  CheckFlags2[CheckFlags2[\"HasNeverType\"] = 131072] = \"HasNeverType\";\n  CheckFlags2[CheckFlags2[\"Mapped\"] = 262144] = \"Mapped\";\n  CheckFlags2[CheckFlags2[\"StripOptional\"] = 524288] = \"StripOptional\";\n  CheckFlags2[CheckFlags2[\"Unresolved\"] = 1048576] = \"Unresolved\";\n  CheckFlags2[CheckFlags2[\"Synthetic\"] = 6] = \"Synthetic\";\n  CheckFlags2[CheckFlags2[\"Discriminant\"] = 192] = \"Discriminant\";\n  CheckFlags2[CheckFlags2[\"Partial\"] = 48] = \"Partial\";\n  return CheckFlags2;\n})(CheckFlags || {});\nvar InternalSymbolName = /* @__PURE__ */ ((InternalSymbolName2) => {\n  InternalSymbolName2[\"Call\"] = \"__call\";\n  InternalSymbolName2[\"Constructor\"] = \"__constructor\";\n  InternalSymbolName2[\"New\"] = \"__new\";\n  InternalSymbolName2[\"Index\"] = \"__index\";\n  InternalSymbolName2[\"ExportStar\"] = \"__export\";\n  InternalSymbolName2[\"Global\"] = \"__global\";\n  InternalSymbolName2[\"Missing\"] = \"__missing\";\n  InternalSymbolName2[\"Type\"] = \"__type\";\n  InternalSymbolName2[\"Object\"] = \"__object\";\n  InternalSymbolName2[\"JSXAttributes\"] = \"__jsxAttributes\";\n  InternalSymbolName2[\"Class\"] = \"__class\";\n  InternalSymbolName2[\"Function\"] = \"__function\";\n  InternalSymbolName2[\"Computed\"] = \"__computed\";\n  InternalSymbolName2[\"Resolving\"] = \"__resolving__\";\n  InternalSymbolName2[\"ExportEquals\"] = \"export=\";\n  InternalSymbolName2[\"Default\"] = \"default\";\n  InternalSymbolName2[\"This\"] = \"this\";\n  return InternalSymbolName2;\n})(InternalSymbolName || {});\nvar NodeCheckFlags = /* @__PURE__ */ ((NodeCheckFlags2) => {\n  NodeCheckFlags2[NodeCheckFlags2[\"None\"] = 0] = \"None\";\n  NodeCheckFlags2[NodeCheckFlags2[\"TypeChecked\"] = 1] = \"TypeChecked\";\n  NodeCheckFlags2[NodeCheckFlags2[\"LexicalThis\"] = 2] = \"LexicalThis\";\n  NodeCheckFlags2[NodeCheckFlags2[\"CaptureThis\"] = 4] = \"CaptureThis\";\n  NodeCheckFlags2[NodeCheckFlags2[\"CaptureNewTarget\"] = 8] = \"CaptureNewTarget\";\n  NodeCheckFlags2[NodeCheckFlags2[\"SuperInstance\"] = 256] = \"SuperInstance\";\n  NodeCheckFlags2[NodeCheckFlags2[\"SuperStatic\"] = 512] = \"SuperStatic\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ContextChecked\"] = 1024] = \"ContextChecked\";\n  NodeCheckFlags2[NodeCheckFlags2[\"MethodWithSuperPropertyAccessInAsync\"] = 2048] = \"MethodWithSuperPropertyAccessInAsync\";\n  NodeCheckFlags2[NodeCheckFlags2[\"MethodWithSuperPropertyAssignmentInAsync\"] = 4096] = \"MethodWithSuperPropertyAssignmentInAsync\";\n  NodeCheckFlags2[NodeCheckFlags2[\"CaptureArguments\"] = 8192] = \"CaptureArguments\";\n  NodeCheckFlags2[NodeCheckFlags2[\"EnumValuesComputed\"] = 16384] = \"EnumValuesComputed\";\n  NodeCheckFlags2[NodeCheckFlags2[\"LexicalModuleMergesWithClass\"] = 32768] = \"LexicalModuleMergesWithClass\";\n  NodeCheckFlags2[NodeCheckFlags2[\"LoopWithCapturedBlockScopedBinding\"] = 65536] = \"LoopWithCapturedBlockScopedBinding\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ContainsCapturedBlockScopeBinding\"] = 131072] = \"ContainsCapturedBlockScopeBinding\";\n  NodeCheckFlags2[NodeCheckFlags2[\"CapturedBlockScopedBinding\"] = 262144] = \"CapturedBlockScopedBinding\";\n  NodeCheckFlags2[NodeCheckFlags2[\"BlockScopedBindingInLoop\"] = 524288] = \"BlockScopedBindingInLoop\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ClassWithBodyScopedClassBinding\"] = 1048576] = \"ClassWithBodyScopedClassBinding\";\n  NodeCheckFlags2[NodeCheckFlags2[\"BodyScopedClassBinding\"] = 2097152] = \"BodyScopedClassBinding\";\n  NodeCheckFlags2[NodeCheckFlags2[\"NeedsLoopOutParameter\"] = 4194304] = \"NeedsLoopOutParameter\";\n  NodeCheckFlags2[NodeCheckFlags2[\"AssignmentsMarked\"] = 8388608] = \"AssignmentsMarked\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ClassWithConstructorReference\"] = 16777216] = \"ClassWithConstructorReference\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ConstructorReferenceInClass\"] = 33554432] = \"ConstructorReferenceInClass\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ContainsClassWithPrivateIdentifiers\"] = 67108864] = \"ContainsClassWithPrivateIdentifiers\";\n  NodeCheckFlags2[NodeCheckFlags2[\"ContainsSuperPropertyInStaticInitializer\"] = 134217728] = \"ContainsSuperPropertyInStaticInitializer\";\n  NodeCheckFlags2[NodeCheckFlags2[\"InCheckIdentifier\"] = 268435456] = \"InCheckIdentifier\";\n  NodeCheckFlags2[NodeCheckFlags2[\"AnnotationChecked\"] = 536870912] = \"AnnotationChecked\";\n  return NodeCheckFlags2;\n})(NodeCheckFlags || {});\nvar TypeFlags = /* @__PURE__ */ ((TypeFlags2) => {\n  TypeFlags2[TypeFlags2[\"Any\"] = 1] = \"Any\";\n  TypeFlags2[TypeFlags2[\"Unknown\"] = 2] = \"Unknown\";\n  TypeFlags2[TypeFlags2[\"String\"] = 4] = \"String\";\n  TypeFlags2[TypeFlags2[\"Number\"] = 8] = \"Number\";\n  TypeFlags2[TypeFlags2[\"Boolean\"] = 16] = \"Boolean\";\n  TypeFlags2[TypeFlags2[\"Enum\"] = 32] = \"Enum\";\n  TypeFlags2[TypeFlags2[\"BigInt\"] = 64] = \"BigInt\";\n  TypeFlags2[TypeFlags2[\"StringLiteral\"] = 128] = \"StringLiteral\";\n  TypeFlags2[TypeFlags2[\"NumberLiteral\"] = 256] = \"NumberLiteral\";\n  TypeFlags2[TypeFlags2[\"BooleanLiteral\"] = 512] = \"BooleanLiteral\";\n  TypeFlags2[TypeFlags2[\"EnumLiteral\"] = 1024] = \"EnumLiteral\";\n  TypeFlags2[TypeFlags2[\"BigIntLiteral\"] = 2048] = \"BigIntLiteral\";\n  TypeFlags2[TypeFlags2[\"ESSymbol\"] = 4096] = \"ESSymbol\";\n  TypeFlags2[TypeFlags2[\"UniqueESSymbol\"] = 8192] = \"UniqueESSymbol\";\n  TypeFlags2[TypeFlags2[\"Void\"] = 16384] = \"Void\";\n  TypeFlags2[TypeFlags2[\"Undefined\"] = 32768] = \"Undefined\";\n  TypeFlags2[TypeFlags2[\"Null\"] = 65536] = \"Null\";\n  TypeFlags2[TypeFlags2[\"Never\"] = 131072] = \"Never\";\n  TypeFlags2[TypeFlags2[\"TypeParameter\"] = 262144] = \"TypeParameter\";\n  TypeFlags2[TypeFlags2[\"Object\"] = 524288] = \"Object\";\n  TypeFlags2[TypeFlags2[\"Union\"] = 1048576] = \"Union\";\n  TypeFlags2[TypeFlags2[\"Intersection\"] = 2097152] = \"Intersection\";\n  TypeFlags2[TypeFlags2[\"Index\"] = 4194304] = \"Index\";\n  TypeFlags2[TypeFlags2[\"IndexedAccess\"] = 8388608] = \"IndexedAccess\";\n  TypeFlags2[TypeFlags2[\"Conditional\"] = 16777216] = \"Conditional\";\n  TypeFlags2[TypeFlags2[\"Substitution\"] = 33554432] = \"Substitution\";\n  TypeFlags2[TypeFlags2[\"NonPrimitive\"] = 67108864] = \"NonPrimitive\";\n  TypeFlags2[TypeFlags2[\"TemplateLiteral\"] = 134217728] = \"TemplateLiteral\";\n  TypeFlags2[TypeFlags2[\"StringMapping\"] = 268435456] = \"StringMapping\";\n  TypeFlags2[TypeFlags2[\"AnyOrUnknown\"] = 3] = \"AnyOrUnknown\";\n  TypeFlags2[TypeFlags2[\"Nullable\"] = 98304] = \"Nullable\";\n  TypeFlags2[TypeFlags2[\"Literal\"] = 2944] = \"Literal\";\n  TypeFlags2[TypeFlags2[\"Unit\"] = 109440] = \"Unit\";\n  TypeFlags2[TypeFlags2[\"StringOrNumberLiteral\"] = 384] = \"StringOrNumberLiteral\";\n  TypeFlags2[TypeFlags2[\"StringOrNumberLiteralOrUnique\"] = 8576] = \"StringOrNumberLiteralOrUnique\";\n  TypeFlags2[TypeFlags2[\"DefinitelyFalsy\"] = 117632] = \"DefinitelyFalsy\";\n  TypeFlags2[TypeFlags2[\"PossiblyFalsy\"] = 117724] = \"PossiblyFalsy\";\n  TypeFlags2[TypeFlags2[\"Intrinsic\"] = 67359327] = \"Intrinsic\";\n  TypeFlags2[TypeFlags2[\"Primitive\"] = 131068] = \"Primitive\";\n  TypeFlags2[TypeFlags2[\"StringLike\"] = 402653316] = \"StringLike\";\n  TypeFlags2[TypeFlags2[\"NumberLike\"] = 296] = \"NumberLike\";\n  TypeFlags2[TypeFlags2[\"BigIntLike\"] = 2112] = \"BigIntLike\";\n  TypeFlags2[TypeFlags2[\"BooleanLike\"] = 528] = \"BooleanLike\";\n  TypeFlags2[TypeFlags2[\"EnumLike\"] = 1056] = \"EnumLike\";\n  TypeFlags2[TypeFlags2[\"ESSymbolLike\"] = 12288] = \"ESSymbolLike\";\n  TypeFlags2[TypeFlags2[\"VoidLike\"] = 49152] = \"VoidLike\";\n  TypeFlags2[TypeFlags2[\"DefinitelyNonNullable\"] = 470302716] = \"DefinitelyNonNullable\";\n  TypeFlags2[TypeFlags2[\"DisjointDomains\"] = 469892092] = \"DisjointDomains\";\n  TypeFlags2[TypeFlags2[\"UnionOrIntersection\"] = 3145728] = \"UnionOrIntersection\";\n  TypeFlags2[TypeFlags2[\"StructuredType\"] = 3670016] = \"StructuredType\";\n  TypeFlags2[TypeFlags2[\"TypeVariable\"] = 8650752] = \"TypeVariable\";\n  TypeFlags2[TypeFlags2[\"InstantiableNonPrimitive\"] = 58982400] = \"InstantiableNonPrimitive\";\n  TypeFlags2[TypeFlags2[\"InstantiablePrimitive\"] = 406847488] = \"InstantiablePrimitive\";\n  TypeFlags2[TypeFlags2[\"Instantiable\"] = 465829888] = \"Instantiable\";\n  TypeFlags2[TypeFlags2[\"StructuredOrInstantiable\"] = 469499904] = \"StructuredOrInstantiable\";\n  TypeFlags2[TypeFlags2[\"ObjectFlagsType\"] = 3899393] = \"ObjectFlagsType\";\n  TypeFlags2[TypeFlags2[\"Simplifiable\"] = 25165824] = \"Simplifiable\";\n  TypeFlags2[TypeFlags2[\"Singleton\"] = 67358815] = \"Singleton\";\n  TypeFlags2[TypeFlags2[\"Narrowable\"] = 536624127] = \"Narrowable\";\n  TypeFlags2[TypeFlags2[\"IncludesMask\"] = 205258751] = \"IncludesMask\";\n  TypeFlags2[TypeFlags2[\"IncludesMissingType\"] = 262144 /* TypeParameter */] = \"IncludesMissingType\";\n  TypeFlags2[TypeFlags2[\"IncludesNonWideningType\"] = 4194304 /* Index */] = \"IncludesNonWideningType\";\n  TypeFlags2[TypeFlags2[\"IncludesWildcard\"] = 8388608 /* IndexedAccess */] = \"IncludesWildcard\";\n  TypeFlags2[TypeFlags2[\"IncludesEmptyObject\"] = 16777216 /* Conditional */] = \"IncludesEmptyObject\";\n  TypeFlags2[TypeFlags2[\"IncludesInstantiable\"] = 33554432 /* Substitution */] = \"IncludesInstantiable\";\n  TypeFlags2[TypeFlags2[\"NotPrimitiveUnion\"] = 36323331] = \"NotPrimitiveUnion\";\n  return TypeFlags2;\n})(TypeFlags || {});\nvar ObjectFlags = /* @__PURE__ */ ((ObjectFlags3) => {\n  ObjectFlags3[ObjectFlags3[\"Class\"] = 1] = \"Class\";\n  ObjectFlags3[ObjectFlags3[\"Interface\"] = 2] = \"Interface\";\n  ObjectFlags3[ObjectFlags3[\"Reference\"] = 4] = \"Reference\";\n  ObjectFlags3[ObjectFlags3[\"Tuple\"] = 8] = \"Tuple\";\n  ObjectFlags3[ObjectFlags3[\"Anonymous\"] = 16] = \"Anonymous\";\n  ObjectFlags3[ObjectFlags3[\"Mapped\"] = 32] = \"Mapped\";\n  ObjectFlags3[ObjectFlags3[\"Instantiated\"] = 64] = \"Instantiated\";\n  ObjectFlags3[ObjectFlags3[\"ObjectLiteral\"] = 128] = \"ObjectLiteral\";\n  ObjectFlags3[ObjectFlags3[\"EvolvingArray\"] = 256] = \"EvolvingArray\";\n  ObjectFlags3[ObjectFlags3[\"ObjectLiteralPatternWithComputedProperties\"] = 512] = \"ObjectLiteralPatternWithComputedProperties\";\n  ObjectFlags3[ObjectFlags3[\"ReverseMapped\"] = 1024] = \"ReverseMapped\";\n  ObjectFlags3[ObjectFlags3[\"JsxAttributes\"] = 2048] = \"JsxAttributes\";\n  ObjectFlags3[ObjectFlags3[\"JSLiteral\"] = 4096] = \"JSLiteral\";\n  ObjectFlags3[ObjectFlags3[\"FreshLiteral\"] = 8192] = \"FreshLiteral\";\n  ObjectFlags3[ObjectFlags3[\"ArrayLiteral\"] = 16384] = \"ArrayLiteral\";\n  ObjectFlags3[ObjectFlags3[\"Annotation\"] = 134217728] = \"Annotation\";\n  ObjectFlags3[ObjectFlags3[\"PrimitiveUnion\"] = 32768] = \"PrimitiveUnion\";\n  ObjectFlags3[ObjectFlags3[\"ContainsWideningType\"] = 65536] = \"ContainsWideningType\";\n  ObjectFlags3[ObjectFlags3[\"ContainsObjectOrArrayLiteral\"] = 131072] = \"ContainsObjectOrArrayLiteral\";\n  ObjectFlags3[ObjectFlags3[\"NonInferrableType\"] = 262144] = \"NonInferrableType\";\n  ObjectFlags3[ObjectFlags3[\"CouldContainTypeVariablesComputed\"] = 524288] = \"CouldContainTypeVariablesComputed\";\n  ObjectFlags3[ObjectFlags3[\"CouldContainTypeVariables\"] = 1048576] = \"CouldContainTypeVariables\";\n  ObjectFlags3[ObjectFlags3[\"ClassOrInterface\"] = 3] = \"ClassOrInterface\";\n  ObjectFlags3[ObjectFlags3[\"RequiresWidening\"] = 196608] = \"RequiresWidening\";\n  ObjectFlags3[ObjectFlags3[\"PropagatingFlags\"] = 458752] = \"PropagatingFlags\";\n  ObjectFlags3[ObjectFlags3[\"ObjectTypeKindMask\"] = 1343] = \"ObjectTypeKindMask\";\n  ObjectFlags3[ObjectFlags3[\"ContainsSpread\"] = 2097152] = \"ContainsSpread\";\n  ObjectFlags3[ObjectFlags3[\"ObjectRestType\"] = 4194304] = \"ObjectRestType\";\n  ObjectFlags3[ObjectFlags3[\"InstantiationExpressionType\"] = 8388608] = \"InstantiationExpressionType\";\n  ObjectFlags3[ObjectFlags3[\"IsClassInstanceClone\"] = 16777216] = \"IsClassInstanceClone\";\n  ObjectFlags3[ObjectFlags3[\"IdenticalBaseTypeCalculated\"] = 33554432] = \"IdenticalBaseTypeCalculated\";\n  ObjectFlags3[ObjectFlags3[\"IdenticalBaseTypeExists\"] = 67108864] = \"IdenticalBaseTypeExists\";\n  ObjectFlags3[ObjectFlags3[\"IsGenericTypeComputed\"] = 2097152] = \"IsGenericTypeComputed\";\n  ObjectFlags3[ObjectFlags3[\"IsGenericObjectType\"] = 4194304] = \"IsGenericObjectType\";\n  ObjectFlags3[ObjectFlags3[\"IsGenericIndexType\"] = 8388608] = \"IsGenericIndexType\";\n  ObjectFlags3[ObjectFlags3[\"IsGenericType\"] = 12582912] = \"IsGenericType\";\n  ObjectFlags3[ObjectFlags3[\"ContainsIntersections\"] = 16777216] = \"ContainsIntersections\";\n  ObjectFlags3[ObjectFlags3[\"IsUnknownLikeUnionComputed\"] = 33554432] = \"IsUnknownLikeUnionComputed\";\n  ObjectFlags3[ObjectFlags3[\"IsUnknownLikeUnion\"] = 67108864] = \"IsUnknownLikeUnion\";\n  ObjectFlags3[ObjectFlags3[\"IsNeverIntersectionComputed\"] = 16777216] = \"IsNeverIntersectionComputed\";\n  ObjectFlags3[ObjectFlags3[\"IsNeverIntersection\"] = 33554432] = \"IsNeverIntersection\";\n  return ObjectFlags3;\n})(ObjectFlags || {});\nvar VarianceFlags = /* @__PURE__ */ ((VarianceFlags2) => {\n  VarianceFlags2[VarianceFlags2[\"Invariant\"] = 0] = \"Invariant\";\n  VarianceFlags2[VarianceFlags2[\"Covariant\"] = 1] = \"Covariant\";\n  VarianceFlags2[VarianceFlags2[\"Contravariant\"] = 2] = \"Contravariant\";\n  VarianceFlags2[VarianceFlags2[\"Bivariant\"] = 3] = \"Bivariant\";\n  VarianceFlags2[VarianceFlags2[\"Independent\"] = 4] = \"Independent\";\n  VarianceFlags2[VarianceFlags2[\"VarianceMask\"] = 7] = \"VarianceMask\";\n  VarianceFlags2[VarianceFlags2[\"Unmeasurable\"] = 8] = \"Unmeasurable\";\n  VarianceFlags2[VarianceFlags2[\"Unreliable\"] = 16] = \"Unreliable\";\n  VarianceFlags2[VarianceFlags2[\"AllowsStructuralFallback\"] = 24] = \"AllowsStructuralFallback\";\n  return VarianceFlags2;\n})(VarianceFlags || {});\nvar ElementFlags = /* @__PURE__ */ ((ElementFlags2) => {\n  ElementFlags2[ElementFlags2[\"Required\"] = 1] = \"Required\";\n  ElementFlags2[ElementFlags2[\"Optional\"] = 2] = \"Optional\";\n  ElementFlags2[ElementFlags2[\"Rest\"] = 4] = \"Rest\";\n  ElementFlags2[ElementFlags2[\"Variadic\"] = 8] = \"Variadic\";\n  ElementFlags2[ElementFlags2[\"Fixed\"] = 3] = \"Fixed\";\n  ElementFlags2[ElementFlags2[\"Variable\"] = 12] = \"Variable\";\n  ElementFlags2[ElementFlags2[\"NonRequired\"] = 14] = \"NonRequired\";\n  ElementFlags2[ElementFlags2[\"NonRest\"] = 11] = \"NonRest\";\n  return ElementFlags2;\n})(ElementFlags || {});\nvar AccessFlags = /* @__PURE__ */ ((AccessFlags2) => {\n  AccessFlags2[AccessFlags2[\"None\"] = 0] = \"None\";\n  AccessFlags2[AccessFlags2[\"IncludeUndefined\"] = 1] = \"IncludeUndefined\";\n  AccessFlags2[AccessFlags2[\"NoIndexSignatures\"] = 2] = \"NoIndexSignatures\";\n  AccessFlags2[AccessFlags2[\"Writing\"] = 4] = \"Writing\";\n  AccessFlags2[AccessFlags2[\"CacheSymbol\"] = 8] = \"CacheSymbol\";\n  AccessFlags2[AccessFlags2[\"NoTupleBoundsCheck\"] = 16] = \"NoTupleBoundsCheck\";\n  AccessFlags2[AccessFlags2[\"ExpressionPosition\"] = 32] = \"ExpressionPosition\";\n  AccessFlags2[AccessFlags2[\"ReportDeprecated\"] = 64] = \"ReportDeprecated\";\n  AccessFlags2[AccessFlags2[\"SuppressNoImplicitAnyError\"] = 128] = \"SuppressNoImplicitAnyError\";\n  AccessFlags2[AccessFlags2[\"Contextual\"] = 256] = \"Contextual\";\n  AccessFlags2[AccessFlags2[\"Persistent\"] = 1 /* IncludeUndefined */] = \"Persistent\";\n  return AccessFlags2;\n})(AccessFlags || {});\nvar JsxReferenceKind = /* @__PURE__ */ ((JsxReferenceKind2) => {\n  JsxReferenceKind2[JsxReferenceKind2[\"Component\"] = 0] = \"Component\";\n  JsxReferenceKind2[JsxReferenceKind2[\"Function\"] = 1] = \"Function\";\n  JsxReferenceKind2[JsxReferenceKind2[\"Mixed\"] = 2] = \"Mixed\";\n  return JsxReferenceKind2;\n})(JsxReferenceKind || {});\nvar SignatureKind = /* @__PURE__ */ ((SignatureKind2) => {\n  SignatureKind2[SignatureKind2[\"Call\"] = 0] = \"Call\";\n  SignatureKind2[SignatureKind2[\"Construct\"] = 1] = \"Construct\";\n  return SignatureKind2;\n})(SignatureKind || {});\nvar SignatureFlags2 = /* @__PURE__ */ ((SignatureFlags6) => {\n  SignatureFlags6[SignatureFlags6[\"None\"] = 0] = \"None\";\n  SignatureFlags6[SignatureFlags6[\"HasRestParameter\"] = 1] = \"HasRestParameter\";\n  SignatureFlags6[SignatureFlags6[\"HasLiteralTypes\"] = 2] = \"HasLiteralTypes\";\n  SignatureFlags6[SignatureFlags6[\"Abstract\"] = 4] = \"Abstract\";\n  SignatureFlags6[SignatureFlags6[\"IsInnerCallChain\"] = 8] = \"IsInnerCallChain\";\n  SignatureFlags6[SignatureFlags6[\"IsOuterCallChain\"] = 16] = \"IsOuterCallChain\";\n  SignatureFlags6[SignatureFlags6[\"IsUntypedSignatureInJSFile\"] = 32] = \"IsUntypedSignatureInJSFile\";\n  SignatureFlags6[SignatureFlags6[\"PropagatingFlags\"] = 39] = \"PropagatingFlags\";\n  SignatureFlags6[SignatureFlags6[\"CallChainFlags\"] = 24] = \"CallChainFlags\";\n  return SignatureFlags6;\n})(SignatureFlags2 || {});\nvar IndexKind = /* @__PURE__ */ ((IndexKind2) => {\n  IndexKind2[IndexKind2[\"String\"] = 0] = \"String\";\n  IndexKind2[IndexKind2[\"Number\"] = 1] = \"Number\";\n  return IndexKind2;\n})(IndexKind || {});\nvar TypeMapKind = /* @__PURE__ */ ((TypeMapKind2) => {\n  TypeMapKind2[TypeMapKind2[\"Simple\"] = 0] = \"Simple\";\n  TypeMapKind2[TypeMapKind2[\"Array\"] = 1] = \"Array\";\n  TypeMapKind2[TypeMapKind2[\"Deferred\"] = 2] = \"Deferred\";\n  TypeMapKind2[TypeMapKind2[\"Function\"] = 3] = \"Function\";\n  TypeMapKind2[TypeMapKind2[\"Composite\"] = 4] = \"Composite\";\n  TypeMapKind2[TypeMapKind2[\"Merged\"] = 5] = \"Merged\";\n  return TypeMapKind2;\n})(TypeMapKind || {});\nvar InferencePriority = /* @__PURE__ */ ((InferencePriority2) => {\n  InferencePriority2[InferencePriority2[\"NakedTypeVariable\"] = 1] = \"NakedTypeVariable\";\n  InferencePriority2[InferencePriority2[\"SpeculativeTuple\"] = 2] = \"SpeculativeTuple\";\n  InferencePriority2[InferencePriority2[\"SubstituteSource\"] = 4] = \"SubstituteSource\";\n  InferencePriority2[InferencePriority2[\"HomomorphicMappedType\"] = 8] = \"HomomorphicMappedType\";\n  InferencePriority2[InferencePriority2[\"PartialHomomorphicMappedType\"] = 16] = \"PartialHomomorphicMappedType\";\n  InferencePriority2[InferencePriority2[\"MappedTypeConstraint\"] = 32] = \"MappedTypeConstraint\";\n  InferencePriority2[InferencePriority2[\"ContravariantConditional\"] = 64] = \"ContravariantConditional\";\n  InferencePriority2[InferencePriority2[\"ReturnType\"] = 128] = \"ReturnType\";\n  InferencePriority2[InferencePriority2[\"LiteralKeyof\"] = 256] = \"LiteralKeyof\";\n  InferencePriority2[InferencePriority2[\"NoConstraints\"] = 512] = \"NoConstraints\";\n  InferencePriority2[InferencePriority2[\"AlwaysStrict\"] = 1024] = \"AlwaysStrict\";\n  InferencePriority2[InferencePriority2[\"MaxValue\"] = 2048] = \"MaxValue\";\n  InferencePriority2[InferencePriority2[\"PriorityImpliesCombination\"] = 416] = \"PriorityImpliesCombination\";\n  InferencePriority2[InferencePriority2[\"Circularity\"] = -1] = \"Circularity\";\n  return InferencePriority2;\n})(InferencePriority || {});\nvar InferenceFlags = /* @__PURE__ */ ((InferenceFlags2) => {\n  InferenceFlags2[InferenceFlags2[\"None\"] = 0] = \"None\";\n  InferenceFlags2[InferenceFlags2[\"NoDefault\"] = 1] = \"NoDefault\";\n  InferenceFlags2[InferenceFlags2[\"AnyDefault\"] = 2] = \"AnyDefault\";\n  InferenceFlags2[InferenceFlags2[\"SkippedGenericFunction\"] = 4] = \"SkippedGenericFunction\";\n  return InferenceFlags2;\n})(InferenceFlags || {});\nvar Ternary = /* @__PURE__ */ ((Ternary2) => {\n  Ternary2[Ternary2[\"False\"] = 0] = \"False\";\n  Ternary2[Ternary2[\"Unknown\"] = 1] = \"Unknown\";\n  Ternary2[Ternary2[\"Maybe\"] = 3] = \"Maybe\";\n  Ternary2[Ternary2[\"True\"] = -1] = \"True\";\n  return Ternary2;\n})(Ternary || {});\nvar AssignmentDeclarationKind = /* @__PURE__ */ ((AssignmentDeclarationKind2) => {\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"None\"] = 0] = \"None\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ExportsProperty\"] = 1] = \"ExportsProperty\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ModuleExports\"] = 2] = \"ModuleExports\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"PrototypeProperty\"] = 3] = \"PrototypeProperty\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ThisProperty\"] = 4] = \"ThisProperty\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"Property\"] = 5] = \"Property\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"Prototype\"] = 6] = \"Prototype\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ObjectDefinePropertyValue\"] = 7] = \"ObjectDefinePropertyValue\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ObjectDefinePropertyExports\"] = 8] = \"ObjectDefinePropertyExports\";\n  AssignmentDeclarationKind2[AssignmentDeclarationKind2[\"ObjectDefinePrototypeProperty\"] = 9] = \"ObjectDefinePrototypeProperty\";\n  return AssignmentDeclarationKind2;\n})(AssignmentDeclarationKind || {});\nvar DiagnosticCategory = /* @__PURE__ */ ((DiagnosticCategory2) => {\n  DiagnosticCategory2[DiagnosticCategory2[\"Warning\"] = 0] = \"Warning\";\n  DiagnosticCategory2[DiagnosticCategory2[\"Error\"] = 1] = \"Error\";\n  DiagnosticCategory2[DiagnosticCategory2[\"Suggestion\"] = 2] = \"Suggestion\";\n  DiagnosticCategory2[DiagnosticCategory2[\"Message\"] = 3] = \"Message\";\n  return DiagnosticCategory2;\n})(DiagnosticCategory || {});\nfunction diagnosticCategoryName(d, lowerCase = true) {\n  const name = DiagnosticCategory[d.category];\n  return lowerCase ? name.toLowerCase() : name;\n}\nvar ModuleResolutionKind = /* @__PURE__ */ ((ModuleResolutionKind2) => {\n  ModuleResolutionKind2[ModuleResolutionKind2[\"Classic\"] = 1] = \"Classic\";\n  ModuleResolutionKind2[ModuleResolutionKind2[\"NodeJs\"] = 2] = \"NodeJs\";\n  ModuleResolutionKind2[ModuleResolutionKind2[\"Node16\"] = 3] = \"Node16\";\n  ModuleResolutionKind2[ModuleResolutionKind2[\"NodeNext\"] = 99] = \"NodeNext\";\n  return ModuleResolutionKind2;\n})(ModuleResolutionKind || {});\nvar ModuleDetectionKind = /* @__PURE__ */ ((ModuleDetectionKind2) => {\n  ModuleDetectionKind2[ModuleDetectionKind2[\"Legacy\"] = 1] = \"Legacy\";\n  ModuleDetectionKind2[ModuleDetectionKind2[\"Auto\"] = 2] = \"Auto\";\n  ModuleDetectionKind2[ModuleDetectionKind2[\"Force\"] = 3] = \"Force\";\n  return ModuleDetectionKind2;\n})(ModuleDetectionKind || {});\nvar WatchFileKind = /* @__PURE__ */ ((WatchFileKind2) => {\n  WatchFileKind2[WatchFileKind2[\"FixedPollingInterval\"] = 0] = \"FixedPollingInterval\";\n  WatchFileKind2[WatchFileKind2[\"PriorityPollingInterval\"] = 1] = \"PriorityPollingInterval\";\n  WatchFileKind2[WatchFileKind2[\"DynamicPriorityPolling\"] = 2] = \"DynamicPriorityPolling\";\n  WatchFileKind2[WatchFileKind2[\"FixedChunkSizePolling\"] = 3] = \"FixedChunkSizePolling\";\n  WatchFileKind2[WatchFileKind2[\"UseFsEvents\"] = 4] = \"UseFsEvents\";\n  WatchFileKind2[WatchFileKind2[\"UseFsEventsOnParentDirectory\"] = 5] = \"UseFsEventsOnParentDirectory\";\n  return WatchFileKind2;\n})(WatchFileKind || {});\nvar WatchDirectoryKind = /* @__PURE__ */ ((WatchDirectoryKind2) => {\n  WatchDirectoryKind2[WatchDirectoryKind2[\"UseFsEvents\"] = 0] = \"UseFsEvents\";\n  WatchDirectoryKind2[WatchDirectoryKind2[\"FixedPollingInterval\"] = 1] = \"FixedPollingInterval\";\n  WatchDirectoryKind2[WatchDirectoryKind2[\"DynamicPriorityPolling\"] = 2] = \"DynamicPriorityPolling\";\n  WatchDirectoryKind2[WatchDirectoryKind2[\"FixedChunkSizePolling\"] = 3] = \"FixedChunkSizePolling\";\n  return WatchDirectoryKind2;\n})(WatchDirectoryKind || {});\nvar PollingWatchKind = /* @__PURE__ */ ((PollingWatchKind2) => {\n  PollingWatchKind2[PollingWatchKind2[\"FixedInterval\"] = 0] = \"FixedInterval\";\n  PollingWatchKind2[PollingWatchKind2[\"PriorityInterval\"] = 1] = \"PriorityInterval\";\n  PollingWatchKind2[PollingWatchKind2[\"DynamicPriority\"] = 2] = \"DynamicPriority\";\n  PollingWatchKind2[PollingWatchKind2[\"FixedChunkSize\"] = 3] = \"FixedChunkSize\";\n  return PollingWatchKind2;\n})(PollingWatchKind || {});\nvar ModuleKind = /* @__PURE__ */ ((ModuleKind6) => {\n  ModuleKind6[ModuleKind6[\"None\"] = 0] = \"None\";\n  ModuleKind6[ModuleKind6[\"CommonJS\"] = 1] = \"CommonJS\";\n  ModuleKind6[ModuleKind6[\"AMD\"] = 2] = \"AMD\";\n  ModuleKind6[ModuleKind6[\"UMD\"] = 3] = \"UMD\";\n  ModuleKind6[ModuleKind6[\"System\"] = 4] = \"System\";\n  ModuleKind6[ModuleKind6[\"ES2015\"] = 5] = \"ES2015\";\n  ModuleKind6[ModuleKind6[\"ES2020\"] = 6] = \"ES2020\";\n  ModuleKind6[ModuleKind6[\"ES2022\"] = 7] = \"ES2022\";\n  ModuleKind6[ModuleKind6[\"ESNext\"] = 99] = \"ESNext\";\n  ModuleKind6[ModuleKind6[\"Node16\"] = 100] = \"Node16\";\n  ModuleKind6[ModuleKind6[\"NodeNext\"] = 199] = \"NodeNext\";\n  return ModuleKind6;\n})(ModuleKind || {});\nvar JsxEmit = /* @__PURE__ */ ((JsxEmit2) => {\n  JsxEmit2[JsxEmit2[\"None\"] = 0] = \"None\";\n  JsxEmit2[JsxEmit2[\"Preserve\"] = 1] = \"Preserve\";\n  JsxEmit2[JsxEmit2[\"React\"] = 2] = \"React\";\n  JsxEmit2[JsxEmit2[\"ReactNative\"] = 3] = \"ReactNative\";\n  JsxEmit2[JsxEmit2[\"ReactJSX\"] = 4] = \"ReactJSX\";\n  JsxEmit2[JsxEmit2[\"ReactJSXDev\"] = 5] = \"ReactJSXDev\";\n  return JsxEmit2;\n})(JsxEmit || {});\nvar ImportsNotUsedAsValues = /* @__PURE__ */ ((ImportsNotUsedAsValues2) => {\n  ImportsNotUsedAsValues2[ImportsNotUsedAsValues2[\"Remove\"] = 0] = \"Remove\";\n  ImportsNotUsedAsValues2[ImportsNotUsedAsValues2[\"Preserve\"] = 1] = \"Preserve\";\n  ImportsNotUsedAsValues2[ImportsNotUsedAsValues2[\"Error\"] = 2] = \"Error\";\n  return ImportsNotUsedAsValues2;\n})(ImportsNotUsedAsValues || {});\nvar NewLineKind = /* @__PURE__ */ ((NewLineKind2) => {\n  NewLineKind2[NewLineKind2[\"CarriageReturnLineFeed\"] = 0] = \"CarriageReturnLineFeed\";\n  NewLineKind2[NewLineKind2[\"LineFeed\"] = 1] = \"LineFeed\";\n  return NewLineKind2;\n})(NewLineKind || {});\nvar ScriptKind = /* @__PURE__ */ ((ScriptKind5) => {\n  ScriptKind5[ScriptKind5[\"Unknown\"] = 0] = \"Unknown\";\n  ScriptKind5[ScriptKind5[\"JS\"] = 1] = \"JS\";\n  ScriptKind5[ScriptKind5[\"JSX\"] = 2] = \"JSX\";\n  ScriptKind5[ScriptKind5[\"TS\"] = 3] = \"TS\";\n  ScriptKind5[ScriptKind5[\"TSX\"] = 4] = \"TSX\";\n  ScriptKind5[ScriptKind5[\"External\"] = 5] = \"External\";\n  ScriptKind5[ScriptKind5[\"JSON\"] = 6] = \"JSON\";\n  ScriptKind5[ScriptKind5[\"Deferred\"] = 7] = \"Deferred\";\n  ScriptKind5[ScriptKind5[\"ETS\"] = 8] = \"ETS\";\n  return ScriptKind5;\n})(ScriptKind || {});\nvar ScriptTarget = /* @__PURE__ */ ((ScriptTarget10) => {\n  ScriptTarget10[ScriptTarget10[\"ES3\"] = 0] = \"ES3\";\n  ScriptTarget10[ScriptTarget10[\"ES5\"] = 1] = \"ES5\";\n  ScriptTarget10[ScriptTarget10[\"ES2015\"] = 2] = \"ES2015\";\n  ScriptTarget10[ScriptTarget10[\"ES2016\"] = 3] = \"ES2016\";\n  ScriptTarget10[ScriptTarget10[\"ES2017\"] = 4] = \"ES2017\";\n  ScriptTarget10[ScriptTarget10[\"ES2018\"] = 5] = \"ES2018\";\n  ScriptTarget10[ScriptTarget10[\"ES2019\"] = 6] = \"ES2019\";\n  ScriptTarget10[ScriptTarget10[\"ES2020\"] = 7] = \"ES2020\";\n  ScriptTarget10[ScriptTarget10[\"ES2021\"] = 8] = \"ES2021\";\n  ScriptTarget10[ScriptTarget10[\"ES2022\"] = 9] = \"ES2022\";\n  ScriptTarget10[ScriptTarget10[\"ESNext\"] = 99] = \"ESNext\";\n  ScriptTarget10[ScriptTarget10[\"JSON\"] = 100] = \"JSON\";\n  ScriptTarget10[ScriptTarget10[\"Latest\"] = 99 /* ESNext */] = \"Latest\";\n  return ScriptTarget10;\n})(ScriptTarget || {});\nvar LanguageVariant = /* @__PURE__ */ ((LanguageVariant4) => {\n  LanguageVariant4[LanguageVariant4[\"Standard\"] = 0] = \"Standard\";\n  LanguageVariant4[LanguageVariant4[\"JSX\"] = 1] = \"JSX\";\n  return LanguageVariant4;\n})(LanguageVariant || {});\nvar WatchDirectoryFlags = /* @__PURE__ */ ((WatchDirectoryFlags3) => {\n  WatchDirectoryFlags3[WatchDirectoryFlags3[\"None\"] = 0] = \"None\";\n  WatchDirectoryFlags3[WatchDirectoryFlags3[\"Recursive\"] = 1] = \"Recursive\";\n  return WatchDirectoryFlags3;\n})(WatchDirectoryFlags || {});\nvar CharacterCodes = /* @__PURE__ */ ((CharacterCodes2) => {\n  CharacterCodes2[CharacterCodes2[\"nullCharacter\"] = 0] = \"nullCharacter\";\n  CharacterCodes2[CharacterCodes2[\"maxAsciiCharacter\"] = 127] = \"maxAsciiCharacter\";\n  CharacterCodes2[CharacterCodes2[\"lineFeed\"] = 10] = \"lineFeed\";\n  CharacterCodes2[CharacterCodes2[\"carriageReturn\"] = 13] = \"carriageReturn\";\n  CharacterCodes2[CharacterCodes2[\"lineSeparator\"] = 8232] = \"lineSeparator\";\n  CharacterCodes2[CharacterCodes2[\"paragraphSeparator\"] = 8233] = \"paragraphSeparator\";\n  CharacterCodes2[CharacterCodes2[\"nextLine\"] = 133] = \"nextLine\";\n  CharacterCodes2[CharacterCodes2[\"space\"] = 32] = \"space\";\n  CharacterCodes2[CharacterCodes2[\"nonBreakingSpace\"] = 160] = \"nonBreakingSpace\";\n  CharacterCodes2[CharacterCodes2[\"enQuad\"] = 8192] = \"enQuad\";\n  CharacterCodes2[CharacterCodes2[\"emQuad\"] = 8193] = \"emQuad\";\n  CharacterCodes2[CharacterCodes2[\"enSpace\"] = 8194] = \"enSpace\";\n  CharacterCodes2[CharacterCodes2[\"emSpace\"] = 8195] = \"emSpace\";\n  CharacterCodes2[CharacterCodes2[\"threePerEmSpace\"] = 8196] = \"threePerEmSpace\";\n  CharacterCodes2[CharacterCodes2[\"fourPerEmSpace\"] = 8197] = \"fourPerEmSpace\";\n  CharacterCodes2[CharacterCodes2[\"sixPerEmSpace\"] = 8198] = \"sixPerEmSpace\";\n  CharacterCodes2[CharacterCodes2[\"figureSpace\"] = 8199] = \"figureSpace\";\n  CharacterCodes2[CharacterCodes2[\"punctuationSpace\"] = 8200] = \"punctuationSpace\";\n  CharacterCodes2[CharacterCodes2[\"thinSpace\"] = 8201] = \"thinSpace\";\n  CharacterCodes2[CharacterCodes2[\"hairSpace\"] = 8202] = \"hairSpace\";\n  CharacterCodes2[CharacterCodes2[\"zeroWidthSpace\"] = 8203] = \"zeroWidthSpace\";\n  CharacterCodes2[CharacterCodes2[\"narrowNoBreakSpace\"] = 8239] = \"narrowNoBreakSpace\";\n  CharacterCodes2[CharacterCodes2[\"ideographicSpace\"] = 12288] = \"ideographicSpace\";\n  CharacterCodes2[CharacterCodes2[\"mathematicalSpace\"] = 8287] = \"mathematicalSpace\";\n  CharacterCodes2[CharacterCodes2[\"ogham\"] = 5760] = \"ogham\";\n  CharacterCodes2[CharacterCodes2[\"_\"] = 95] = \"_\";\n  CharacterCodes2[CharacterCodes2[\"$\"] = 36] = \"$\";\n  CharacterCodes2[CharacterCodes2[\"_0\"] = 48] = \"_0\";\n  CharacterCodes2[CharacterCodes2[\"_1\"] = 49] = \"_1\";\n  CharacterCodes2[CharacterCodes2[\"_2\"] = 50] = \"_2\";\n  CharacterCodes2[CharacterCodes2[\"_3\"] = 51] = \"_3\";\n  CharacterCodes2[CharacterCodes2[\"_4\"] = 52] = \"_4\";\n  CharacterCodes2[CharacterCodes2[\"_5\"] = 53] = \"_5\";\n  CharacterCodes2[CharacterCodes2[\"_6\"] = 54] = \"_6\";\n  CharacterCodes2[CharacterCodes2[\"_7\"] = 55] = \"_7\";\n  CharacterCodes2[CharacterCodes2[\"_8\"] = 56] = \"_8\";\n  CharacterCodes2[CharacterCodes2[\"_9\"] = 57] = \"_9\";\n  CharacterCodes2[CharacterCodes2[\"a\"] = 97] = \"a\";\n  CharacterCodes2[CharacterCodes2[\"b\"] = 98] = \"b\";\n  CharacterCodes2[CharacterCodes2[\"c\"] = 99] = \"c\";\n  CharacterCodes2[CharacterCodes2[\"d\"] = 100] = \"d\";\n  CharacterCodes2[CharacterCodes2[\"e\"] = 101] = \"e\";\n  CharacterCodes2[CharacterCodes2[\"f\"] = 102] = \"f\";\n  CharacterCodes2[CharacterCodes2[\"g\"] = 103] = \"g\";\n  CharacterCodes2[CharacterCodes2[\"h\"] = 104] = \"h\";\n  CharacterCodes2[CharacterCodes2[\"i\"] = 105] = \"i\";\n  CharacterCodes2[CharacterCodes2[\"j\"] = 106] = \"j\";\n  CharacterCodes2[CharacterCodes2[\"k\"] = 107] = \"k\";\n  CharacterCodes2[CharacterCodes2[\"l\"] = 108] = \"l\";\n  CharacterCodes2[CharacterCodes2[\"m\"] = 109] = \"m\";\n  CharacterCodes2[CharacterCodes2[\"n\"] = 110] = \"n\";\n  CharacterCodes2[CharacterCodes2[\"o\"] = 111] = \"o\";\n  CharacterCodes2[CharacterCodes2[\"p\"] = 112] = \"p\";\n  CharacterCodes2[CharacterCodes2[\"q\"] = 113] = \"q\";\n  CharacterCodes2[CharacterCodes2[\"r\"] = 114] = \"r\";\n  CharacterCodes2[CharacterCodes2[\"s\"] = 115] = \"s\";\n  CharacterCodes2[CharacterCodes2[\"t\"] = 116] = \"t\";\n  CharacterCodes2[CharacterCodes2[\"u\"] = 117] = \"u\";\n  CharacterCodes2[CharacterCodes2[\"v\"] = 118] = \"v\";\n  CharacterCodes2[CharacterCodes2[\"w\"] = 119] = \"w\";\n  CharacterCodes2[CharacterCodes2[\"x\"] = 120] = \"x\";\n  CharacterCodes2[CharacterCodes2[\"y\"] = 121] = \"y\";\n  CharacterCodes2[CharacterCodes2[\"z\"] = 122] = \"z\";\n  CharacterCodes2[CharacterCodes2[\"A\"] = 65] = \"A\";\n  CharacterCodes2[CharacterCodes2[\"B\"] = 66] = \"B\";\n  CharacterCodes2[CharacterCodes2[\"C\"] = 67] = \"C\";\n  CharacterCodes2[CharacterCodes2[\"D\"] = 68] = \"D\";\n  CharacterCodes2[CharacterCodes2[\"E\"] = 69] = \"E\";\n  CharacterCodes2[CharacterCodes2[\"F\"] = 70] = \"F\";\n  CharacterCodes2[CharacterCodes2[\"G\"] = 71] = \"G\";\n  CharacterCodes2[CharacterCodes2[\"H\"] = 72] = \"H\";\n  CharacterCodes2[CharacterCodes2[\"I\"] = 73] = \"I\";\n  CharacterCodes2[CharacterCodes2[\"J\"] = 74] = \"J\";\n  CharacterCodes2[CharacterCodes2[\"K\"] = 75] = \"K\";\n  CharacterCodes2[CharacterCodes2[\"L\"] = 76] = \"L\";\n  CharacterCodes2[CharacterCodes2[\"M\"] = 77] = \"M\";\n  CharacterCodes2[CharacterCodes2[\"N\"] = 78] = \"N\";\n  CharacterCodes2[CharacterCodes2[\"O\"] = 79] = \"O\";\n  CharacterCodes2[CharacterCodes2[\"P\"] = 80] = \"P\";\n  CharacterCodes2[CharacterCodes2[\"Q\"] = 81] = \"Q\";\n  CharacterCodes2[CharacterCodes2[\"R\"] = 82] = \"R\";\n  CharacterCodes2[CharacterCodes2[\"S\"] = 83] = \"S\";\n  CharacterCodes2[CharacterCodes2[\"T\"] = 84] = \"T\";\n  CharacterCodes2[CharacterCodes2[\"U\"] = 85] = \"U\";\n  CharacterCodes2[CharacterCodes2[\"V\"] = 86] = \"V\";\n  CharacterCodes2[CharacterCodes2[\"W\"] = 87] = \"W\";\n  CharacterCodes2[CharacterCodes2[\"X\"] = 88] = \"X\";\n  CharacterCodes2[CharacterCodes2[\"Y\"] = 89] = \"Y\";\n  CharacterCodes2[CharacterCodes2[\"Z\"] = 90] = \"Z\";\n  CharacterCodes2[CharacterCodes2[\"ampersand\"] = 38] = \"ampersand\";\n  CharacterCodes2[CharacterCodes2[\"asterisk\"] = 42] = \"asterisk\";\n  CharacterCodes2[CharacterCodes2[\"at\"] = 64] = \"at\";\n  CharacterCodes2[CharacterCodes2[\"backslash\"] = 92] = \"backslash\";\n  CharacterCodes2[CharacterCodes2[\"backtick\"] = 96] = \"backtick\";\n  CharacterCodes2[CharacterCodes2[\"bar\"] = 124] = \"bar\";\n  CharacterCodes2[CharacterCodes2[\"caret\"] = 94] = \"caret\";\n  CharacterCodes2[CharacterCodes2[\"closeBrace\"] = 125] = \"closeBrace\";\n  CharacterCodes2[CharacterCodes2[\"closeBracket\"] = 93] = \"closeBracket\";\n  CharacterCodes2[CharacterCodes2[\"closeParen\"] = 41] = \"closeParen\";\n  CharacterCodes2[CharacterCodes2[\"colon\"] = 58] = \"colon\";\n  CharacterCodes2[CharacterCodes2[\"comma\"] = 44] = \"comma\";\n  CharacterCodes2[CharacterCodes2[\"dot\"] = 46] = \"dot\";\n  CharacterCodes2[CharacterCodes2[\"doubleQuote\"] = 34] = \"doubleQuote\";\n  CharacterCodes2[CharacterCodes2[\"equals\"] = 61] = \"equals\";\n  CharacterCodes2[CharacterCodes2[\"exclamation\"] = 33] = \"exclamation\";\n  CharacterCodes2[CharacterCodes2[\"greaterThan\"] = 62] = \"greaterThan\";\n  CharacterCodes2[CharacterCodes2[\"hash\"] = 35] = \"hash\";\n  CharacterCodes2[CharacterCodes2[\"lessThan\"] = 60] = \"lessThan\";\n  CharacterCodes2[CharacterCodes2[\"minus\"] = 45] = \"minus\";\n  CharacterCodes2[CharacterCodes2[\"openBrace\"] = 123] = \"openBrace\";\n  CharacterCodes2[CharacterCodes2[\"openBracket\"] = 91] = \"openBracket\";\n  CharacterCodes2[CharacterCodes2[\"openParen\"] = 40] = \"openParen\";\n  CharacterCodes2[CharacterCodes2[\"percent\"] = 37] = \"percent\";\n  CharacterCodes2[CharacterCodes2[\"plus\"] = 43] = \"plus\";\n  CharacterCodes2[CharacterCodes2[\"question\"] = 63] = \"question\";\n  CharacterCodes2[CharacterCodes2[\"semicolon\"] = 59] = \"semicolon\";\n  CharacterCodes2[CharacterCodes2[\"singleQuote\"] = 39] = \"singleQuote\";\n  CharacterCodes2[CharacterCodes2[\"slash\"] = 47] = \"slash\";\n  CharacterCodes2[CharacterCodes2[\"tilde\"] = 126] = \"tilde\";\n  CharacterCodes2[CharacterCodes2[\"backspace\"] = 8] = \"backspace\";\n  CharacterCodes2[CharacterCodes2[\"formFeed\"] = 12] = \"formFeed\";\n  CharacterCodes2[CharacterCodes2[\"byteOrderMark\"] = 65279] = \"byteOrderMark\";\n  CharacterCodes2[CharacterCodes2[\"tab\"] = 9] = \"tab\";\n  CharacterCodes2[CharacterCodes2[\"verticalTab\"] = 11] = \"verticalTab\";\n  return CharacterCodes2;\n})(CharacterCodes || {});\nvar Extension = /* @__PURE__ */ ((Extension2) => {\n  Extension2[\"Ts\"] = \".ts\";\n  Extension2[\"Tsx\"] = \".tsx\";\n  Extension2[\"Dts\"] = \".d.ts\";\n  Extension2[\"Js\"] = \".js\";\n  Extension2[\"Jsx\"] = \".jsx\";\n  Extension2[\"Json\"] = \".json\";\n  Extension2[\"TsBuildInfo\"] = \".tsbuildinfo\";\n  Extension2[\"Mjs\"] = \".mjs\";\n  Extension2[\"Mts\"] = \".mts\";\n  Extension2[\"Dmts\"] = \".d.mts\";\n  Extension2[\"Cjs\"] = \".cjs\";\n  Extension2[\"Cts\"] = \".cts\";\n  Extension2[\"Dcts\"] = \".d.cts\";\n  Extension2[\"Ets\"] = \".ets\";\n  Extension2[\"Dets\"] = \".d.ets\";\n  return Extension2;\n})(Extension || {});\nvar TransformFlags2 = /* @__PURE__ */ ((TransformFlags3) => {\n  TransformFlags3[TransformFlags3[\"None\"] = 0] = \"None\";\n  TransformFlags3[TransformFlags3[\"ContainsTypeScript\"] = 1] = \"ContainsTypeScript\";\n  TransformFlags3[TransformFlags3[\"ContainsJsx\"] = 2] = \"ContainsJsx\";\n  TransformFlags3[TransformFlags3[\"ContainsESNext\"] = 4] = \"ContainsESNext\";\n  TransformFlags3[TransformFlags3[\"ContainsES2022\"] = 8] = \"ContainsES2022\";\n  TransformFlags3[TransformFlags3[\"ContainsES2021\"] = 16] = \"ContainsES2021\";\n  TransformFlags3[TransformFlags3[\"ContainsES2020\"] = 32] = \"ContainsES2020\";\n  TransformFlags3[TransformFlags3[\"ContainsES2019\"] = 64] = \"ContainsES2019\";\n  TransformFlags3[TransformFlags3[\"ContainsES2018\"] = 128] = \"ContainsES2018\";\n  TransformFlags3[TransformFlags3[\"ContainsES2017\"] = 256] = \"ContainsES2017\";\n  TransformFlags3[TransformFlags3[\"ContainsES2016\"] = 512] = \"ContainsES2016\";\n  TransformFlags3[TransformFlags3[\"ContainsES2015\"] = 1024] = \"ContainsES2015\";\n  TransformFlags3[TransformFlags3[\"ContainsGenerator\"] = 2048] = \"ContainsGenerator\";\n  TransformFlags3[TransformFlags3[\"ContainsDestructuringAssignment\"] = 4096] = \"ContainsDestructuringAssignment\";\n  TransformFlags3[TransformFlags3[\"ContainsTypeScriptClassSyntax\"] = 8192] = \"ContainsTypeScriptClassSyntax\";\n  TransformFlags3[TransformFlags3[\"ContainsLexicalThis\"] = 16384] = \"ContainsLexicalThis\";\n  TransformFlags3[TransformFlags3[\"ContainsRestOrSpread\"] = 32768] = \"ContainsRestOrSpread\";\n  TransformFlags3[TransformFlags3[\"ContainsObjectRestOrSpread\"] = 65536] = \"ContainsObjectRestOrSpread\";\n  TransformFlags3[TransformFlags3[\"ContainsComputedPropertyName\"] = 131072] = \"ContainsComputedPropertyName\";\n  TransformFlags3[TransformFlags3[\"ContainsBlockScopedBinding\"] = 262144] = \"ContainsBlockScopedBinding\";\n  TransformFlags3[TransformFlags3[\"ContainsBindingPattern\"] = 524288] = \"ContainsBindingPattern\";\n  TransformFlags3[TransformFlags3[\"ContainsYield\"] = 1048576] = \"ContainsYield\";\n  TransformFlags3[TransformFlags3[\"ContainsAwait\"] = 2097152] = \"ContainsAwait\";\n  TransformFlags3[TransformFlags3[\"ContainsHoistedDeclarationOrCompletion\"] = 4194304] = \"ContainsHoistedDeclarationOrCompletion\";\n  TransformFlags3[TransformFlags3[\"ContainsDynamicImport\"] = 8388608] = \"ContainsDynamicImport\";\n  TransformFlags3[TransformFlags3[\"ContainsClassFields\"] = 16777216] = \"ContainsClassFields\";\n  TransformFlags3[TransformFlags3[\"ContainsDecorators\"] = 33554432] = \"ContainsDecorators\";\n  TransformFlags3[TransformFlags3[\"ContainsPossibleTopLevelAwait\"] = 67108864] = \"ContainsPossibleTopLevelAwait\";\n  TransformFlags3[TransformFlags3[\"ContainsLexicalSuper\"] = 134217728] = \"ContainsLexicalSuper\";\n  TransformFlags3[TransformFlags3[\"ContainsUpdateExpressionForIdentifier\"] = 268435456] = \"ContainsUpdateExpressionForIdentifier\";\n  TransformFlags3[TransformFlags3[\"ContainsPrivateIdentifierInExpression\"] = 536870912] = \"ContainsPrivateIdentifierInExpression\";\n  TransformFlags3[TransformFlags3[\"HasComputedFlags\"] = -2147483648] = \"HasComputedFlags\";\n  TransformFlags3[TransformFlags3[\"AssertTypeScript\"] = 1 /* ContainsTypeScript */] = \"AssertTypeScript\";\n  TransformFlags3[TransformFlags3[\"AssertJsx\"] = 2 /* ContainsJsx */] = \"AssertJsx\";\n  TransformFlags3[TransformFlags3[\"AssertESNext\"] = 4 /* ContainsESNext */] = \"AssertESNext\";\n  TransformFlags3[TransformFlags3[\"AssertES2022\"] = 8 /* ContainsES2022 */] = \"AssertES2022\";\n  TransformFlags3[TransformFlags3[\"AssertES2021\"] = 16 /* ContainsES2021 */] = \"AssertES2021\";\n  TransformFlags3[TransformFlags3[\"AssertES2020\"] = 32 /* ContainsES2020 */] = \"AssertES2020\";\n  TransformFlags3[TransformFlags3[\"AssertES2019\"] = 64 /* ContainsES2019 */] = \"AssertES2019\";\n  TransformFlags3[TransformFlags3[\"AssertES2018\"] = 128 /* ContainsES2018 */] = \"AssertES2018\";\n  TransformFlags3[TransformFlags3[\"AssertES2017\"] = 256 /* ContainsES2017 */] = \"AssertES2017\";\n  TransformFlags3[TransformFlags3[\"AssertES2016\"] = 512 /* ContainsES2016 */] = \"AssertES2016\";\n  TransformFlags3[TransformFlags3[\"AssertES2015\"] = 1024 /* ContainsES2015 */] = \"AssertES2015\";\n  TransformFlags3[TransformFlags3[\"AssertGenerator\"] = 2048 /* ContainsGenerator */] = \"AssertGenerator\";\n  TransformFlags3[TransformFlags3[\"AssertDestructuringAssignment\"] = 4096 /* ContainsDestructuringAssignment */] = \"AssertDestructuringAssignment\";\n  TransformFlags3[TransformFlags3[\"OuterExpressionExcludes\"] = -2147483648 /* HasComputedFlags */] = \"OuterExpressionExcludes\";\n  TransformFlags3[TransformFlags3[\"PropertyAccessExcludes\"] = -2147483648 /* OuterExpressionExcludes */] = \"PropertyAccessExcludes\";\n  TransformFlags3[TransformFlags3[\"NodeExcludes\"] = -2147483648 /* PropertyAccessExcludes */] = \"NodeExcludes\";\n  TransformFlags3[TransformFlags3[\"ArrowFunctionExcludes\"] = -2072174592] = \"ArrowFunctionExcludes\";\n  TransformFlags3[TransformFlags3[\"FunctionExcludes\"] = -1937940480] = \"FunctionExcludes\";\n  TransformFlags3[TransformFlags3[\"ConstructorExcludes\"] = -1937948672] = \"ConstructorExcludes\";\n  TransformFlags3[TransformFlags3[\"MethodOrAccessorExcludes\"] = -2005057536] = \"MethodOrAccessorExcludes\";\n  TransformFlags3[TransformFlags3[\"PropertyExcludes\"] = -2013249536] = \"PropertyExcludes\";\n  TransformFlags3[TransformFlags3[\"ClassExcludes\"] = -2147344384] = \"ClassExcludes\";\n  TransformFlags3[TransformFlags3[\"ModuleExcludes\"] = -1941676032] = \"ModuleExcludes\";\n  TransformFlags3[TransformFlags3[\"TypeExcludes\"] = -2] = \"TypeExcludes\";\n  TransformFlags3[TransformFlags3[\"ObjectLiteralExcludes\"] = -2147278848] = \"ObjectLiteralExcludes\";\n  TransformFlags3[TransformFlags3[\"ArrayLiteralOrCallOrNewExcludes\"] = -2147450880] = \"ArrayLiteralOrCallOrNewExcludes\";\n  TransformFlags3[TransformFlags3[\"VariableDeclarationListExcludes\"] = -2146893824] = \"VariableDeclarationListExcludes\";\n  TransformFlags3[TransformFlags3[\"ParameterExcludes\"] = -2147483648 /* NodeExcludes */] = \"ParameterExcludes\";\n  TransformFlags3[TransformFlags3[\"CatchClauseExcludes\"] = -2147418112] = \"CatchClauseExcludes\";\n  TransformFlags3[TransformFlags3[\"BindingPatternExcludes\"] = -2147450880] = \"BindingPatternExcludes\";\n  TransformFlags3[TransformFlags3[\"ContainsLexicalThisOrSuper\"] = 134234112] = \"ContainsLexicalThisOrSuper\";\n  TransformFlags3[TransformFlags3[\"PropertyNamePropagatingFlags\"] = 134234112] = \"PropertyNamePropagatingFlags\";\n  return TransformFlags3;\n})(TransformFlags2 || {});\nvar SnippetKind2 = /* @__PURE__ */ ((SnippetKind3) => {\n  SnippetKind3[SnippetKind3[\"TabStop\"] = 0] = \"TabStop\";\n  SnippetKind3[SnippetKind3[\"Placeholder\"] = 1] = \"Placeholder\";\n  SnippetKind3[SnippetKind3[\"Choice\"] = 2] = \"Choice\";\n  SnippetKind3[SnippetKind3[\"Variable\"] = 3] = \"Variable\";\n  return SnippetKind3;\n})(SnippetKind2 || {});\nvar EmitFlags2 = /* @__PURE__ */ ((EmitFlags3) => {\n  EmitFlags3[EmitFlags3[\"None\"] = 0] = \"None\";\n  EmitFlags3[EmitFlags3[\"SingleLine\"] = 1] = \"SingleLine\";\n  EmitFlags3[EmitFlags3[\"AdviseOnEmitNode\"] = 2] = \"AdviseOnEmitNode\";\n  EmitFlags3[EmitFlags3[\"NoSubstitution\"] = 4] = \"NoSubstitution\";\n  EmitFlags3[EmitFlags3[\"CapturesThis\"] = 8] = \"CapturesThis\";\n  EmitFlags3[EmitFlags3[\"NoLeadingSourceMap\"] = 16] = \"NoLeadingSourceMap\";\n  EmitFlags3[EmitFlags3[\"NoTrailingSourceMap\"] = 32] = \"NoTrailingSourceMap\";\n  EmitFlags3[EmitFlags3[\"NoSourceMap\"] = 48] = \"NoSourceMap\";\n  EmitFlags3[EmitFlags3[\"NoNestedSourceMaps\"] = 64] = \"NoNestedSourceMaps\";\n  EmitFlags3[EmitFlags3[\"NoTokenLeadingSourceMaps\"] = 128] = \"NoTokenLeadingSourceMaps\";\n  EmitFlags3[EmitFlags3[\"NoTokenTrailingSourceMaps\"] = 256] = \"NoTokenTrailingSourceMaps\";\n  EmitFlags3[EmitFlags3[\"NoTokenSourceMaps\"] = 384] = \"NoTokenSourceMaps\";\n  EmitFlags3[EmitFlags3[\"NoLeadingComments\"] = 512] = \"NoLeadingComments\";\n  EmitFlags3[EmitFlags3[\"NoTrailingComments\"] = 1024] = \"NoTrailingComments\";\n  EmitFlags3[EmitFlags3[\"NoComments\"] = 1536] = \"NoComments\";\n  EmitFlags3[EmitFlags3[\"NoNestedComments\"] = 2048] = \"NoNestedComments\";\n  EmitFlags3[EmitFlags3[\"HelperName\"] = 4096] = \"HelperName\";\n  EmitFlags3[EmitFlags3[\"ExportName\"] = 8192] = \"ExportName\";\n  EmitFlags3[EmitFlags3[\"LocalName\"] = 16384] = \"LocalName\";\n  EmitFlags3[EmitFlags3[\"InternalName\"] = 32768] = \"InternalName\";\n  EmitFlags3[EmitFlags3[\"Indented\"] = 65536] = \"Indented\";\n  EmitFlags3[EmitFlags3[\"NoIndentation\"] = 131072] = \"NoIndentation\";\n  EmitFlags3[EmitFlags3[\"AsyncFunctionBody\"] = 262144] = \"AsyncFunctionBody\";\n  EmitFlags3[EmitFlags3[\"ReuseTempVariableScope\"] = 524288] = \"ReuseTempVariableScope\";\n  EmitFlags3[EmitFlags3[\"CustomPrologue\"] = 1048576] = \"CustomPrologue\";\n  EmitFlags3[EmitFlags3[\"NoHoisting\"] = 2097152] = \"NoHoisting\";\n  EmitFlags3[EmitFlags3[\"HasEndOfDeclarationMarker\"] = 4194304] = \"HasEndOfDeclarationMarker\";\n  EmitFlags3[EmitFlags3[\"Iterator\"] = 8388608] = \"Iterator\";\n  EmitFlags3[EmitFlags3[\"NoAsciiEscaping\"] = 16777216] = \"NoAsciiEscaping\";\n  EmitFlags3[EmitFlags3[\"TypeScriptClassWrapper\"] = 33554432] = \"TypeScriptClassWrapper\";\n  EmitFlags3[EmitFlags3[\"NeverApplyImportHelper\"] = 67108864] = \"NeverApplyImportHelper\";\n  EmitFlags3[EmitFlags3[\"IgnoreSourceNewlines\"] = 134217728] = \"IgnoreSourceNewlines\";\n  EmitFlags3[EmitFlags3[\"Immutable\"] = 268435456] = \"Immutable\";\n  EmitFlags3[EmitFlags3[\"IndirectCall\"] = 536870912] = \"IndirectCall\";\n  return EmitFlags3;\n})(EmitFlags2 || {});\nvar ExternalEmitHelpers = /* @__PURE__ */ ((ExternalEmitHelpers2) => {\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Extends\"] = 1] = \"Extends\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Assign\"] = 2] = \"Assign\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Rest\"] = 4] = \"Rest\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Decorate\"] = 8] = \"Decorate\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Metadata\"] = 16] = \"Metadata\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Param\"] = 32] = \"Param\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Awaiter\"] = 64] = \"Awaiter\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Generator\"] = 128] = \"Generator\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Values\"] = 256] = \"Values\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Read\"] = 512] = \"Read\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"SpreadArray\"] = 1024] = \"SpreadArray\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"Await\"] = 2048] = \"Await\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncGenerator\"] = 4096] = \"AsyncGenerator\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncDelegator\"] = 8192] = \"AsyncDelegator\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncValues\"] = 16384] = \"AsyncValues\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ExportStar\"] = 32768] = \"ExportStar\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ImportStar\"] = 65536] = \"ImportStar\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ImportDefault\"] = 131072] = \"ImportDefault\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"MakeTemplateObject\"] = 262144] = \"MakeTemplateObject\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ClassPrivateFieldGet\"] = 524288] = \"ClassPrivateFieldGet\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ClassPrivateFieldSet\"] = 1048576] = \"ClassPrivateFieldSet\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ClassPrivateFieldIn\"] = 2097152] = \"ClassPrivateFieldIn\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"CreateBinding\"] = 4194304] = \"CreateBinding\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"FirstEmitHelper\"] = 1 /* Extends */] = \"FirstEmitHelper\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"LastEmitHelper\"] = 4194304 /* CreateBinding */] = \"LastEmitHelper\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ForOfIncludes\"] = 256 /* Values */] = \"ForOfIncludes\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"ForAwaitOfIncludes\"] = 16384 /* AsyncValues */] = \"ForAwaitOfIncludes\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncGeneratorIncludes\"] = 6144] = \"AsyncGeneratorIncludes\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"AsyncDelegatorIncludes\"] = 26624] = \"AsyncDelegatorIncludes\";\n  ExternalEmitHelpers2[ExternalEmitHelpers2[\"SpreadIncludes\"] = 1536] = \"SpreadIncludes\";\n  return ExternalEmitHelpers2;\n})(ExternalEmitHelpers || {});\nvar EmitHint = /* @__PURE__ */ ((EmitHint6) => {\n  EmitHint6[EmitHint6[\"SourceFile\"] = 0] = \"SourceFile\";\n  EmitHint6[EmitHint6[\"Expression\"] = 1] = \"Expression\";\n  EmitHint6[EmitHint6[\"IdentifierName\"] = 2] = \"IdentifierName\";\n  EmitHint6[EmitHint6[\"MappedTypeParameter\"] = 3] = \"MappedTypeParameter\";\n  EmitHint6[EmitHint6[\"Unspecified\"] = 4] = \"Unspecified\";\n  EmitHint6[EmitHint6[\"EmbeddedStatement\"] = 5] = \"EmbeddedStatement\";\n  EmitHint6[EmitHint6[\"JsxAttributeValue\"] = 6] = \"JsxAttributeValue\";\n  return EmitHint6;\n})(EmitHint || {});\nvar OuterExpressionKinds = /* @__PURE__ */ ((OuterExpressionKinds2) => {\n  OuterExpressionKinds2[OuterExpressionKinds2[\"Parentheses\"] = 1] = \"Parentheses\";\n  OuterExpressionKinds2[OuterExpressionKinds2[\"TypeAssertions\"] = 2] = \"TypeAssertions\";\n  OuterExpressionKinds2[OuterExpressionKinds2[\"NonNullAssertions\"] = 4] = \"NonNullAssertions\";\n  OuterExpressionKinds2[OuterExpressionKinds2[\"PartiallyEmittedExpressions\"] = 8] = \"PartiallyEmittedExpressions\";\n  OuterExpressionKinds2[OuterExpressionKinds2[\"Assertions\"] = 6] = \"Assertions\";\n  OuterExpressionKinds2[OuterExpressionKinds2[\"All\"] = 15] = \"All\";\n  OuterExpressionKinds2[OuterExpressionKinds2[\"ExcludeJSDocTypeAssertion\"] = 16] = \"ExcludeJSDocTypeAssertion\";\n  return OuterExpressionKinds2;\n})(OuterExpressionKinds || {});\nvar LexicalEnvironmentFlags = /* @__PURE__ */ ((LexicalEnvironmentFlags2) => {\n  LexicalEnvironmentFlags2[LexicalEnvironmentFlags2[\"None\"] = 0] = \"None\";\n  LexicalEnvironmentFlags2[LexicalEnvironmentFlags2[\"InParameters\"] = 1] = \"InParameters\";\n  LexicalEnvironmentFlags2[LexicalEnvironmentFlags2[\"VariablesHoistedInParameters\"] = 2] = \"VariablesHoistedInParameters\";\n  return LexicalEnvironmentFlags2;\n})(LexicalEnvironmentFlags || {});\nvar BundleFileSectionKind = /* @__PURE__ */ ((BundleFileSectionKind2) => {\n  BundleFileSectionKind2[\"Prologue\"] = \"prologue\";\n  BundleFileSectionKind2[\"EmitHelpers\"] = \"emitHelpers\";\n  BundleFileSectionKind2[\"NoDefaultLib\"] = \"no-default-lib\";\n  BundleFileSectionKind2[\"Reference\"] = \"reference\";\n  BundleFileSectionKind2[\"Type\"] = \"type\";\n  BundleFileSectionKind2[\"TypeResolutionModeRequire\"] = \"type-require\";\n  BundleFileSectionKind2[\"TypeResolutionModeImport\"] = \"type-import\";\n  BundleFileSectionKind2[\"Lib\"] = \"lib\";\n  BundleFileSectionKind2[\"Prepend\"] = \"prepend\";\n  BundleFileSectionKind2[\"Text\"] = \"text\";\n  BundleFileSectionKind2[\"Internal\"] = \"internal\";\n  return BundleFileSectionKind2;\n})(BundleFileSectionKind || {});\nvar ListFormat = /* @__PURE__ */ ((ListFormat2) => {\n  ListFormat2[ListFormat2[\"None\"] = 0] = \"None\";\n  ListFormat2[ListFormat2[\"SingleLine\"] = 0] = \"SingleLine\";\n  ListFormat2[ListFormat2[\"MultiLine\"] = 1] = \"MultiLine\";\n  ListFormat2[ListFormat2[\"PreserveLines\"] = 2] = \"PreserveLines\";\n  ListFormat2[ListFormat2[\"LinesMask\"] = 3] = \"LinesMask\";\n  ListFormat2[ListFormat2[\"NotDelimited\"] = 0] = \"NotDelimited\";\n  ListFormat2[ListFormat2[\"BarDelimited\"] = 4] = \"BarDelimited\";\n  ListFormat2[ListFormat2[\"AmpersandDelimited\"] = 8] = \"AmpersandDelimited\";\n  ListFormat2[ListFormat2[\"CommaDelimited\"] = 16] = \"CommaDelimited\";\n  ListFormat2[ListFormat2[\"AsteriskDelimited\"] = 32] = \"AsteriskDelimited\";\n  ListFormat2[ListFormat2[\"DelimitersMask\"] = 60] = \"DelimitersMask\";\n  ListFormat2[ListFormat2[\"AllowTrailingComma\"] = 64] = \"AllowTrailingComma\";\n  ListFormat2[ListFormat2[\"Indented\"] = 128] = \"Indented\";\n  ListFormat2[ListFormat2[\"SpaceBetweenBraces\"] = 256] = \"SpaceBetweenBraces\";\n  ListFormat2[ListFormat2[\"SpaceBetweenSiblings\"] = 512] = \"SpaceBetweenSiblings\";\n  ListFormat2[ListFormat2[\"Braces\"] = 1024] = \"Braces\";\n  ListFormat2[ListFormat2[\"Parenthesis\"] = 2048] = \"Parenthesis\";\n  ListFormat2[ListFormat2[\"AngleBrackets\"] = 4096] = \"AngleBrackets\";\n  ListFormat2[ListFormat2[\"SquareBrackets\"] = 8192] = \"SquareBrackets\";\n  ListFormat2[ListFormat2[\"BracketsMask\"] = 15360] = \"BracketsMask\";\n  ListFormat2[ListFormat2[\"OptionalIfUndefined\"] = 16384] = \"OptionalIfUndefined\";\n  ListFormat2[ListFormat2[\"OptionalIfEmpty\"] = 32768] = \"OptionalIfEmpty\";\n  ListFormat2[ListFormat2[\"Optional\"] = 49152] = \"Optional\";\n  ListFormat2[ListFormat2[\"PreferNewLine\"] = 65536] = \"PreferNewLine\";\n  ListFormat2[ListFormat2[\"NoTrailingNewLine\"] = 131072] = \"NoTrailingNewLine\";\n  ListFormat2[ListFormat2[\"NoInterveningComments\"] = 262144] = \"NoInterveningComments\";\n  ListFormat2[ListFormat2[\"NoSpaceIfEmpty\"] = 524288] = \"NoSpaceIfEmpty\";\n  ListFormat2[ListFormat2[\"SingleElement\"] = 1048576] = \"SingleElement\";\n  ListFormat2[ListFormat2[\"SpaceAfterList\"] = 2097152] = \"SpaceAfterList\";\n  ListFormat2[ListFormat2[\"Modifiers\"] = 2359808] = \"Modifiers\";\n  ListFormat2[ListFormat2[\"HeritageClauses\"] = 512] = \"HeritageClauses\";\n  ListFormat2[ListFormat2[\"SingleLineTypeLiteralMembers\"] = 768] = \"SingleLineTypeLiteralMembers\";\n  ListFormat2[ListFormat2[\"MultiLineTypeLiteralMembers\"] = 32897] = \"MultiLineTypeLiteralMembers\";\n  ListFormat2[ListFormat2[\"SingleLineTupleTypeElements\"] = 528] = \"SingleLineTupleTypeElements\";\n  ListFormat2[ListFormat2[\"MultiLineTupleTypeElements\"] = 657] = \"MultiLineTupleTypeElements\";\n  ListFormat2[ListFormat2[\"UnionTypeConstituents\"] = 516] = \"UnionTypeConstituents\";\n  ListFormat2[ListFormat2[\"IntersectionTypeConstituents\"] = 520] = \"IntersectionTypeConstituents\";\n  ListFormat2[ListFormat2[\"ObjectBindingPatternElements\"] = 525136] = \"ObjectBindingPatternElements\";\n  ListFormat2[ListFormat2[\"ArrayBindingPatternElements\"] = 524880] = \"ArrayBindingPatternElements\";\n  ListFormat2[ListFormat2[\"ObjectLiteralExpressionProperties\"] = 526226] = \"ObjectLiteralExpressionProperties\";\n  ListFormat2[ListFormat2[\"ImportClauseEntries\"] = 526226] = \"ImportClauseEntries\";\n  ListFormat2[ListFormat2[\"ArrayLiteralExpressionElements\"] = 8914] = \"ArrayLiteralExpressionElements\";\n  ListFormat2[ListFormat2[\"CommaListElements\"] = 528] = \"CommaListElements\";\n  ListFormat2[ListFormat2[\"CallExpressionArguments\"] = 2576] = \"CallExpressionArguments\";\n  ListFormat2[ListFormat2[\"NewExpressionArguments\"] = 18960] = \"NewExpressionArguments\";\n  ListFormat2[ListFormat2[\"TemplateExpressionSpans\"] = 262144] = \"TemplateExpressionSpans\";\n  ListFormat2[ListFormat2[\"SingleLineBlockStatements\"] = 768] = \"SingleLineBlockStatements\";\n  ListFormat2[ListFormat2[\"MultiLineBlockStatements\"] = 129] = \"MultiLineBlockStatements\";\n  ListFormat2[ListFormat2[\"VariableDeclarationList\"] = 528] = \"VariableDeclarationList\";\n  ListFormat2[ListFormat2[\"SingleLineFunctionBodyStatements\"] = 768] = \"SingleLineFunctionBodyStatements\";\n  ListFormat2[ListFormat2[\"MultiLineFunctionBodyStatements\"] = 1 /* MultiLine */] = \"MultiLineFunctionBodyStatements\";\n  ListFormat2[ListFormat2[\"ClassHeritageClauses\"] = 0 /* SingleLine */] = \"ClassHeritageClauses\";\n  ListFormat2[ListFormat2[\"ClassMembers\"] = 129] = \"ClassMembers\";\n  ListFormat2[ListFormat2[\"InterfaceMembers\"] = 129] = \"InterfaceMembers\";\n  ListFormat2[ListFormat2[\"EnumMembers\"] = 145] = \"EnumMembers\";\n  ListFormat2[ListFormat2[\"CaseBlockClauses\"] = 129] = \"CaseBlockClauses\";\n  ListFormat2[ListFormat2[\"NamedImportsOrExportsElements\"] = 525136] = \"NamedImportsOrExportsElements\";\n  ListFormat2[ListFormat2[\"JsxElementOrFragmentChildren\"] = 262144] = \"JsxElementOrFragmentChildren\";\n  ListFormat2[ListFormat2[\"JsxElementAttributes\"] = 262656] = \"JsxElementAttributes\";\n  ListFormat2[ListFormat2[\"CaseOrDefaultClauseStatements\"] = 163969] = \"CaseOrDefaultClauseStatements\";\n  ListFormat2[ListFormat2[\"HeritageClauseTypes\"] = 528] = \"HeritageClauseTypes\";\n  ListFormat2[ListFormat2[\"SourceFileStatements\"] = 131073] = \"SourceFileStatements\";\n  ListFormat2[ListFormat2[\"Decorators\"] = 2146305] = \"Decorators\";\n  ListFormat2[ListFormat2[\"TypeArguments\"] = 53776] = \"TypeArguments\";\n  ListFormat2[ListFormat2[\"TypeParameters\"] = 53776] = \"TypeParameters\";\n  ListFormat2[ListFormat2[\"Parameters\"] = 2576] = \"Parameters\";\n  ListFormat2[ListFormat2[\"IndexSignatureParameters\"] = 8848] = \"IndexSignatureParameters\";\n  ListFormat2[ListFormat2[\"JSDocComment\"] = 33] = \"JSDocComment\";\n  return ListFormat2;\n})(ListFormat || {});\nvar PragmaKindFlags = /* @__PURE__ */ ((PragmaKindFlags2) => {\n  PragmaKindFlags2[PragmaKindFlags2[\"None\"] = 0] = \"None\";\n  PragmaKindFlags2[PragmaKindFlags2[\"TripleSlashXML\"] = 1] = \"TripleSlashXML\";\n  PragmaKindFlags2[PragmaKindFlags2[\"SingleLine\"] = 2] = \"SingleLine\";\n  PragmaKindFlags2[PragmaKindFlags2[\"MultiLine\"] = 4] = \"MultiLine\";\n  PragmaKindFlags2[PragmaKindFlags2[\"All\"] = 7] = \"All\";\n  PragmaKindFlags2[PragmaKindFlags2[\"Default\"] = 7 /* All */] = \"Default\";\n  return PragmaKindFlags2;\n})(PragmaKindFlags || {});\nvar commentPragmas = {\n  \"reference\": {\n    args: [\n      { name: \"types\", optional: true, captureSpan: true },\n      { name: \"lib\", optional: true, captureSpan: true },\n      { name: \"path\", optional: true, captureSpan: true },\n      { name: \"no-default-lib\", optional: true },\n      { name: \"resolution-mode\", optional: true }\n    ],\n    kind: 1 /* TripleSlashXML */\n  },\n  \"amd-dependency\": {\n    args: [{ name: \"path\" }, { name: \"name\", optional: true }],\n    kind: 1 /* TripleSlashXML */\n  },\n  \"amd-module\": {\n    args: [{ name: \"name\" }],\n    kind: 1 /* TripleSlashXML */\n  },\n  \"ts-check\": {\n    kind: 2 /* SingleLine */\n  },\n  \"ts-nocheck\": {\n    kind: 2 /* SingleLine */\n  },\n  \"jsx\": {\n    args: [{ name: \"factory\" }],\n    kind: 4 /* MultiLine */\n  },\n  \"jsxfrag\": {\n    args: [{ name: \"factory\" }],\n    kind: 4 /* MultiLine */\n  },\n  \"jsximportsource\": {\n    args: [{ name: \"factory\" }],\n    kind: 4 /* MultiLine */\n  },\n  \"jsxruntime\": {\n    args: [{ name: \"factory\" }],\n    kind: 4 /* MultiLine */\n  }\n};\n\n// src/compiler/sys.ts\nfunction generateDjb2Hash(data) {\n  let acc = 5381;\n  for (let i = 0; i < data.length; i++) {\n    acc = (acc << 5) + acc + data.charCodeAt(i);\n  }\n  return acc.toString();\n}\nfunction setStackTraceLimit() {\n  if (Error.stackTraceLimit < 100) {\n    Error.stackTraceLimit = 100;\n  }\n}\nvar FileWatcherEventKind = /* @__PURE__ */ ((FileWatcherEventKind2) => {\n  FileWatcherEventKind2[FileWatcherEventKind2[\"Created\"] = 0] = \"Created\";\n  FileWatcherEventKind2[FileWatcherEventKind2[\"Changed\"] = 1] = \"Changed\";\n  FileWatcherEventKind2[FileWatcherEventKind2[\"Deleted\"] = 2] = \"Deleted\";\n  return FileWatcherEventKind2;\n})(FileWatcherEventKind || {});\nvar PollingInterval = /* @__PURE__ */ ((PollingInterval3) => {\n  PollingInterval3[PollingInterval3[\"High\"] = 2e3] = \"High\";\n  PollingInterval3[PollingInterval3[\"Medium\"] = 500] = \"Medium\";\n  PollingInterval3[PollingInterval3[\"Low\"] = 250] = \"Low\";\n  return PollingInterval3;\n})(PollingInterval || {});\nvar missingFileModifiedTime = new Date(0);\nfunction getModifiedTime(host, fileName) {\n  return host.getModifiedTime(fileName) || missingFileModifiedTime;\n}\nfunction createPollingIntervalBasedLevels(levels) {\n  return {\n    [250 /* Low */]: levels.Low,\n    [500 /* Medium */]: levels.Medium,\n    [2e3 /* High */]: levels.High\n  };\n}\nvar defaultChunkLevels = { Low: 32, Medium: 64, High: 256 };\nvar pollingChunkSize = createPollingIntervalBasedLevels(defaultChunkLevels);\nvar unchangedPollThresholds = createPollingIntervalBasedLevels(defaultChunkLevels);\nfunction setCustomPollingValues(system) {\n  if (!system.getEnvironmentVariable) {\n    return;\n  }\n  const pollingIntervalChanged = setCustomLevels(\"TSC_WATCH_POLLINGINTERVAL\", PollingInterval);\n  pollingChunkSize = getCustomPollingBasedLevels(\"TSC_WATCH_POLLINGCHUNKSIZE\", defaultChunkLevels) || pollingChunkSize;\n  unchangedPollThresholds = getCustomPollingBasedLevels(\"TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS\", defaultChunkLevels) || unchangedPollThresholds;\n  function getLevel(envVar, level) {\n    return system.getEnvironmentVariable(`${envVar}_${level.toUpperCase()}`);\n  }\n  function getCustomLevels(baseVariable) {\n    let customLevels;\n    setCustomLevel(\"Low\");\n    setCustomLevel(\"Medium\");\n    setCustomLevel(\"High\");\n    return customLevels;\n    function setCustomLevel(level) {\n      const customLevel = getLevel(baseVariable, level);\n      if (customLevel) {\n        (customLevels || (customLevels = {}))[level] = Number(customLevel);\n      }\n    }\n  }\n  function setCustomLevels(baseVariable, levels) {\n    const customLevels = getCustomLevels(baseVariable);\n    if (customLevels) {\n      setLevel(\"Low\");\n      setLevel(\"Medium\");\n      setLevel(\"High\");\n      return true;\n    }\n    return false;\n    function setLevel(level) {\n      levels[level] = customLevels[level] || levels[level];\n    }\n  }\n  function getCustomPollingBasedLevels(baseVariable, defaultLevels) {\n    const customLevels = getCustomLevels(baseVariable);\n    return (pollingIntervalChanged || customLevels) && createPollingIntervalBasedLevels(customLevels ? { ...defaultLevels, ...customLevels } : defaultLevels);\n  }\n}\nfunction pollWatchedFileQueue(host, queue, pollIndex, chunkSize, callbackOnWatchFileStat) {\n  let definedValueCopyToIndex = pollIndex;\n  for (let canVisit = queue.length; chunkSize && canVisit; nextPollIndex(), canVisit--) {\n    const watchedFile = queue[pollIndex];\n    if (!watchedFile) {\n      continue;\n    } else if (watchedFile.isClosed) {\n      queue[pollIndex] = void 0;\n      continue;\n    }\n    chunkSize--;\n    const fileChanged = onWatchedFileStat(watchedFile, getModifiedTime(host, watchedFile.fileName));\n    if (watchedFile.isClosed) {\n      queue[pollIndex] = void 0;\n      continue;\n    }\n    callbackOnWatchFileStat == null ? void 0 : callbackOnWatchFileStat(watchedFile, pollIndex, fileChanged);\n    if (queue[pollIndex]) {\n      if (definedValueCopyToIndex < pollIndex) {\n        queue[definedValueCopyToIndex] = watchedFile;\n        queue[pollIndex] = void 0;\n      }\n      definedValueCopyToIndex++;\n    }\n  }\n  return pollIndex;\n  function nextPollIndex() {\n    pollIndex++;\n    if (pollIndex === queue.length) {\n      if (definedValueCopyToIndex < pollIndex) {\n        queue.length = definedValueCopyToIndex;\n      }\n      pollIndex = 0;\n      definedValueCopyToIndex = 0;\n    }\n  }\n}\nfunction createDynamicPriorityPollingWatchFile(host) {\n  const watchedFiles = [];\n  const changedFilesInLastPoll = [];\n  const lowPollingIntervalQueue = createPollingIntervalQueue(250 /* Low */);\n  const mediumPollingIntervalQueue = createPollingIntervalQueue(500 /* Medium */);\n  const highPollingIntervalQueue = createPollingIntervalQueue(2e3 /* High */);\n  return watchFile2;\n  function watchFile2(fileName, callback, defaultPollingInterval) {\n    const file = {\n      fileName,\n      callback,\n      unchangedPolls: 0,\n      mtime: getModifiedTime(host, fileName)\n    };\n    watchedFiles.push(file);\n    addToPollingIntervalQueue(file, defaultPollingInterval);\n    return {\n      close: () => {\n        file.isClosed = true;\n        unorderedRemoveItem(watchedFiles, file);\n      }\n    };\n  }\n  function createPollingIntervalQueue(pollingInterval) {\n    const queue = [];\n    queue.pollingInterval = pollingInterval;\n    queue.pollIndex = 0;\n    queue.pollScheduled = false;\n    return queue;\n  }\n  function pollPollingIntervalQueue(queue) {\n    queue.pollIndex = pollQueue(queue, queue.pollingInterval, queue.pollIndex, pollingChunkSize[queue.pollingInterval]);\n    if (queue.length) {\n      scheduleNextPoll(queue.pollingInterval);\n    } else {\n      Debug.assert(queue.pollIndex === 0);\n      queue.pollScheduled = false;\n    }\n  }\n  function pollLowPollingIntervalQueue(queue) {\n    pollQueue(changedFilesInLastPoll, 250 /* Low */, 0, changedFilesInLastPoll.length);\n    pollPollingIntervalQueue(queue);\n    if (!queue.pollScheduled && changedFilesInLastPoll.length) {\n      scheduleNextPoll(250 /* Low */);\n    }\n  }\n  function pollQueue(queue, pollingInterval, pollIndex, chunkSize) {\n    return pollWatchedFileQueue(\n      host,\n      queue,\n      pollIndex,\n      chunkSize,\n      onWatchFileStat\n    );\n    function onWatchFileStat(watchedFile, pollIndex2, fileChanged) {\n      if (fileChanged) {\n        watchedFile.unchangedPolls = 0;\n        if (queue !== changedFilesInLastPoll) {\n          queue[pollIndex2] = void 0;\n          addChangedFileToLowPollingIntervalQueue(watchedFile);\n        }\n      } else if (watchedFile.unchangedPolls !== unchangedPollThresholds[pollingInterval]) {\n        watchedFile.unchangedPolls++;\n      } else if (queue === changedFilesInLastPoll) {\n        watchedFile.unchangedPolls = 1;\n        queue[pollIndex2] = void 0;\n        addToPollingIntervalQueue(watchedFile, 250 /* Low */);\n      } else if (pollingInterval !== 2e3 /* High */) {\n        watchedFile.unchangedPolls++;\n        queue[pollIndex2] = void 0;\n        addToPollingIntervalQueue(watchedFile, pollingInterval === 250 /* Low */ ? 500 /* Medium */ : 2e3 /* High */);\n      }\n    }\n  }\n  function pollingIntervalQueue(pollingInterval) {\n    switch (pollingInterval) {\n      case 250 /* Low */:\n        return lowPollingIntervalQueue;\n      case 500 /* Medium */:\n        return mediumPollingIntervalQueue;\n      case 2e3 /* High */:\n        return highPollingIntervalQueue;\n    }\n  }\n  function addToPollingIntervalQueue(file, pollingInterval) {\n    pollingIntervalQueue(pollingInterval).push(file);\n    scheduleNextPollIfNotAlreadyScheduled(pollingInterval);\n  }\n  function addChangedFileToLowPollingIntervalQueue(file) {\n    changedFilesInLastPoll.push(file);\n    scheduleNextPollIfNotAlreadyScheduled(250 /* Low */);\n  }\n  function scheduleNextPollIfNotAlreadyScheduled(pollingInterval) {\n    if (!pollingIntervalQueue(pollingInterval).pollScheduled) {\n      scheduleNextPoll(pollingInterval);\n    }\n  }\n  function scheduleNextPoll(pollingInterval) {\n    pollingIntervalQueue(pollingInterval).pollScheduled = host.setTimeout(pollingInterval === 250 /* Low */ ? pollLowPollingIntervalQueue : pollPollingIntervalQueue, pollingInterval, pollingIntervalQueue(pollingInterval));\n  }\n}\nfunction createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames) {\n  const fileWatcherCallbacks = createMultiMap();\n  const dirWatchers = new Map2();\n  const toCanonicalName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  return nonPollingWatchFile;\n  function nonPollingWatchFile(fileName, callback, _pollingInterval, fallbackOptions) {\n    const filePath = toCanonicalName(fileName);\n    fileWatcherCallbacks.add(filePath, callback);\n    const dirPath = getDirectoryPath(filePath) || \".\";\n    const watcher = dirWatchers.get(dirPath) || createDirectoryWatcher(getDirectoryPath(fileName) || \".\", dirPath, fallbackOptions);\n    watcher.referenceCount++;\n    return {\n      close: () => {\n        if (watcher.referenceCount === 1) {\n          watcher.close();\n          dirWatchers.delete(dirPath);\n        } else {\n          watcher.referenceCount--;\n        }\n        fileWatcherCallbacks.remove(filePath, callback);\n      }\n    };\n  }\n  function createDirectoryWatcher(dirName, dirPath, fallbackOptions) {\n    const watcher = fsWatch(\n      dirName,\n      FileSystemEntryKind.Directory,\n      (_eventName, relativeFileName, modifiedTime) => {\n        if (!isString(relativeFileName))\n          return;\n        const fileName = getNormalizedAbsolutePath(relativeFileName, dirName);\n        const callbacks = fileName && fileWatcherCallbacks.get(toCanonicalName(fileName));\n        if (callbacks) {\n          for (const fileCallback of callbacks) {\n            fileCallback(fileName, 1 /* Changed */, modifiedTime);\n          }\n        }\n      },\n      false,\n      500 /* Medium */,\n      fallbackOptions\n    );\n    watcher.referenceCount = 0;\n    dirWatchers.set(dirPath, watcher);\n    return watcher;\n  }\n}\nfunction createFixedChunkSizePollingWatchFile(host) {\n  const watchedFiles = [];\n  let pollIndex = 0;\n  let pollScheduled;\n  return watchFile2;\n  function watchFile2(fileName, callback) {\n    const file = {\n      fileName,\n      callback,\n      mtime: getModifiedTime(host, fileName)\n    };\n    watchedFiles.push(file);\n    scheduleNextPoll();\n    return {\n      close: () => {\n        file.isClosed = true;\n        unorderedRemoveItem(watchedFiles, file);\n      }\n    };\n  }\n  function pollQueue() {\n    pollScheduled = void 0;\n    pollIndex = pollWatchedFileQueue(host, watchedFiles, pollIndex, pollingChunkSize[250 /* Low */]);\n    scheduleNextPoll();\n  }\n  function scheduleNextPoll() {\n    if (!watchedFiles.length || pollScheduled)\n      return;\n    pollScheduled = host.setTimeout(pollQueue, 2e3 /* High */);\n  }\n}\nfunction createSingleWatcherPerName(cache, useCaseSensitiveFileNames, name, callback, createWatcher) {\n  const toCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  const path = toCanonicalFileName(name);\n  const existing = cache.get(path);\n  if (existing) {\n    existing.callbacks.push(callback);\n  } else {\n    cache.set(path, {\n      watcher: createWatcher((param1, param2, param3) => {\n        var _a2;\n        return (_a2 = cache.get(path)) == null ? void 0 : _a2.callbacks.slice().forEach((cb) => cb(param1, param2, param3));\n      }),\n      callbacks: [callback]\n    });\n  }\n  return {\n    close: () => {\n      const watcher = cache.get(path);\n      if (!watcher)\n        return;\n      if (!orderedRemoveItem(watcher.callbacks, callback) || watcher.callbacks.length)\n        return;\n      cache.delete(path);\n      closeFileWatcherOf(watcher);\n    }\n  };\n}\nfunction onWatchedFileStat(watchedFile, modifiedTime) {\n  const oldTime = watchedFile.mtime.getTime();\n  const newTime = modifiedTime.getTime();\n  if (oldTime !== newTime) {\n    watchedFile.mtime = modifiedTime;\n    watchedFile.callback(watchedFile.fileName, getFileWatcherEventKind(oldTime, newTime), modifiedTime);\n    return true;\n  }\n  return false;\n}\nfunction getFileWatcherEventKind(oldTime, newTime) {\n  return oldTime === 0 ? 0 /* Created */ : newTime === 0 ? 2 /* Deleted */ : 1 /* Changed */;\n}\nvar ignoredPaths = [\"/node_modules/.\", \"/oh_modules/.\", \"/.git\", \"/.#\"];\nvar curSysLog = noop;\nfunction sysLog(s) {\n  return curSysLog(s);\n}\nfunction setSysLog(logger) {\n  curSysLog = logger;\n}\nfunction createDirectoryWatcherSupportingRecursive({\n  watchDirectory,\n  useCaseSensitiveFileNames,\n  getCurrentDirectory,\n  getAccessibleSortedChildDirectories,\n  fileSystemEntryExists,\n  realpath,\n  setTimeout: setTimeout2,\n  clearTimeout: clearTimeout2\n}) {\n  const cache = new Map2();\n  const callbackCache = createMultiMap();\n  const cacheToUpdateChildWatches = new Map2();\n  let timerToUpdateChildWatches;\n  const filePathComparer = getStringComparer(!useCaseSensitiveFileNames);\n  const toCanonicalFilePath = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  return (dirName, callback, recursive, options) => recursive ? createDirectoryWatcher(dirName, options, callback) : watchDirectory(dirName, callback, recursive, options);\n  function createDirectoryWatcher(dirName, options, callback) {\n    const dirPath = toCanonicalFilePath(dirName);\n    let directoryWatcher = cache.get(dirPath);\n    if (directoryWatcher) {\n      directoryWatcher.refCount++;\n    } else {\n      directoryWatcher = {\n        watcher: watchDirectory(dirName, (fileName) => {\n          if (isIgnoredPath(fileName, options))\n            return;\n          if (options == null ? void 0 : options.synchronousWatchDirectory) {\n            invokeCallbacks(dirPath, fileName);\n            updateChildWatches(dirName, dirPath, options);\n          } else {\n            nonSyncUpdateChildWatches(dirName, dirPath, fileName, options);\n          }\n        }, false, options),\n        refCount: 1,\n        childWatches: emptyArray\n      };\n      cache.set(dirPath, directoryWatcher);\n      updateChildWatches(dirName, dirPath, options);\n    }\n    const callbackToAdd = callback && { dirName, callback };\n    if (callbackToAdd) {\n      callbackCache.add(dirPath, callbackToAdd);\n    }\n    return {\n      dirName,\n      close: () => {\n        const directoryWatcher2 = Debug.checkDefined(cache.get(dirPath));\n        if (callbackToAdd)\n          callbackCache.remove(dirPath, callbackToAdd);\n        directoryWatcher2.refCount--;\n        if (directoryWatcher2.refCount)\n          return;\n        cache.delete(dirPath);\n        closeFileWatcherOf(directoryWatcher2);\n        directoryWatcher2.childWatches.forEach(closeFileWatcher);\n      }\n    };\n  }\n  function invokeCallbacks(dirPath, fileNameOrInvokeMap, fileNames) {\n    let fileName;\n    let invokeMap;\n    if (isString(fileNameOrInvokeMap)) {\n      fileName = fileNameOrInvokeMap;\n    } else {\n      invokeMap = fileNameOrInvokeMap;\n    }\n    callbackCache.forEach((callbacks, rootDirName) => {\n      if (invokeMap && invokeMap.get(rootDirName) === true)\n        return;\n      if (rootDirName === dirPath || startsWith(dirPath, rootDirName) && dirPath[rootDirName.length] === directorySeparator) {\n        if (invokeMap) {\n          if (fileNames) {\n            const existing = invokeMap.get(rootDirName);\n            if (existing) {\n              existing.push(...fileNames);\n            } else {\n              invokeMap.set(rootDirName, fileNames.slice());\n            }\n          } else {\n            invokeMap.set(rootDirName, true);\n          }\n        } else {\n          callbacks.forEach(({ callback }) => callback(fileName));\n        }\n      }\n    });\n  }\n  function nonSyncUpdateChildWatches(dirName, dirPath, fileName, options) {\n    const parentWatcher = cache.get(dirPath);\n    if (parentWatcher && fileSystemEntryExists(dirName, FileSystemEntryKind.Directory)) {\n      scheduleUpdateChildWatches(dirName, dirPath, fileName, options);\n      return;\n    }\n    invokeCallbacks(dirPath, fileName);\n    removeChildWatches(parentWatcher);\n  }\n  function scheduleUpdateChildWatches(dirName, dirPath, fileName, options) {\n    const existing = cacheToUpdateChildWatches.get(dirPath);\n    if (existing) {\n      existing.fileNames.push(fileName);\n    } else {\n      cacheToUpdateChildWatches.set(dirPath, { dirName, options, fileNames: [fileName] });\n    }\n    if (timerToUpdateChildWatches) {\n      clearTimeout2(timerToUpdateChildWatches);\n      timerToUpdateChildWatches = void 0;\n    }\n    timerToUpdateChildWatches = setTimeout2(onTimerToUpdateChildWatches, 1e3);\n  }\n  function onTimerToUpdateChildWatches() {\n    timerToUpdateChildWatches = void 0;\n    sysLog(`sysLog:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size}`);\n    const start = timestamp();\n    const invokeMap = new Map2();\n    while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) {\n      const result = cacheToUpdateChildWatches.entries().next();\n      Debug.assert(!result.done);\n      const { value: [dirPath, { dirName, options, fileNames }] } = result;\n      cacheToUpdateChildWatches.delete(dirPath);\n      const hasChanges = updateChildWatches(dirName, dirPath, options);\n      invokeCallbacks(dirPath, invokeMap, hasChanges ? void 0 : fileNames);\n    }\n    sysLog(`sysLog:: invokingWatchers:: Elapsed:: ${timestamp() - start}ms:: ${cacheToUpdateChildWatches.size}`);\n    callbackCache.forEach((callbacks, rootDirName) => {\n      const existing = invokeMap.get(rootDirName);\n      if (existing) {\n        callbacks.forEach(({ callback, dirName }) => {\n          if (isArray(existing)) {\n            existing.forEach(callback);\n          } else {\n            callback(dirName);\n          }\n        });\n      }\n    });\n    const elapsed = timestamp() - start;\n    sysLog(`sysLog:: Elapsed:: ${elapsed}ms:: onTimerToUpdateChildWatches:: ${cacheToUpdateChildWatches.size} ${timerToUpdateChildWatches}`);\n  }\n  function removeChildWatches(parentWatcher) {\n    if (!parentWatcher)\n      return;\n    const existingChildWatches = parentWatcher.childWatches;\n    parentWatcher.childWatches = emptyArray;\n    for (const childWatcher of existingChildWatches) {\n      childWatcher.close();\n      removeChildWatches(cache.get(toCanonicalFilePath(childWatcher.dirName)));\n    }\n  }\n  function updateChildWatches(parentDir, parentDirPath, options) {\n    const parentWatcher = cache.get(parentDirPath);\n    if (!parentWatcher)\n      return false;\n    let newChildWatches;\n    const hasChanges = enumerateInsertsAndDeletes(\n      fileSystemEntryExists(parentDir, FileSystemEntryKind.Directory) ? mapDefined(getAccessibleSortedChildDirectories(parentDir), (child) => {\n        const childFullName = getNormalizedAbsolutePath(child, parentDir);\n        return !isIgnoredPath(childFullName, options) && filePathComparer(childFullName, normalizePath(realpath(childFullName))) === 0 /* EqualTo */ ? childFullName : void 0;\n      }) : emptyArray,\n      parentWatcher.childWatches,\n      (child, childWatcher) => filePathComparer(child, childWatcher.dirName),\n      createAndAddChildDirectoryWatcher,\n      closeFileWatcher,\n      addChildDirectoryWatcher\n    );\n    parentWatcher.childWatches = newChildWatches || emptyArray;\n    return hasChanges;\n    function createAndAddChildDirectoryWatcher(childName) {\n      const result = createDirectoryWatcher(childName, options);\n      addChildDirectoryWatcher(result);\n    }\n    function addChildDirectoryWatcher(childWatcher) {\n      (newChildWatches || (newChildWatches = [])).push(childWatcher);\n    }\n  }\n  function isIgnoredPath(path, options) {\n    return some(ignoredPaths, (searchPath) => isInPath(path, searchPath)) || isIgnoredByWatchOptions(path, options, useCaseSensitiveFileNames, getCurrentDirectory);\n  }\n  function isInPath(path, searchPath) {\n    if (stringContains(path, searchPath))\n      return true;\n    if (useCaseSensitiveFileNames)\n      return false;\n    return stringContains(toCanonicalFilePath(path), searchPath);\n  }\n}\nvar FileSystemEntryKind = /* @__PURE__ */ ((FileSystemEntryKind2) => {\n  FileSystemEntryKind2[FileSystemEntryKind2[\"File\"] = 0] = \"File\";\n  FileSystemEntryKind2[FileSystemEntryKind2[\"Directory\"] = 1] = \"Directory\";\n  return FileSystemEntryKind2;\n})(FileSystemEntryKind || {});\nfunction createFileWatcherCallback(callback) {\n  return (_fileName, eventKind, modifiedTime) => callback(eventKind === 1 /* Changed */ ? \"change\" : \"rename\", \"\", modifiedTime);\n}\nfunction createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3) {\n  return (eventName, _relativeFileName, modifiedTime) => {\n    if (eventName === \"rename\") {\n      modifiedTime || (modifiedTime = getModifiedTime3(fileName) || missingFileModifiedTime);\n      callback(fileName, modifiedTime !== missingFileModifiedTime ? 0 /* Created */ : 2 /* Deleted */, modifiedTime);\n    } else {\n      callback(fileName, 1 /* Changed */, modifiedTime);\n    }\n  };\n}\nfunction isIgnoredByWatchOptions(pathToCheck, options, useCaseSensitiveFileNames, getCurrentDirectory) {\n  return ((options == null ? void 0 : options.excludeDirectories) || (options == null ? void 0 : options.excludeFiles)) && (matchesExclude(pathToCheck, options == null ? void 0 : options.excludeFiles, useCaseSensitiveFileNames, getCurrentDirectory()) || matchesExclude(pathToCheck, options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames, getCurrentDirectory()));\n}\nfunction createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory) {\n  return (eventName, relativeFileName) => {\n    if (eventName === \"rename\") {\n      const fileName = !relativeFileName ? directoryName : normalizePath(combinePaths(directoryName, relativeFileName));\n      if (!relativeFileName || !isIgnoredByWatchOptions(fileName, options, useCaseSensitiveFileNames, getCurrentDirectory)) {\n        callback(fileName);\n      }\n    }\n  };\n}\nfunction createSystemWatchFunctions({\n  pollingWatchFileWorker,\n  getModifiedTime: getModifiedTime3,\n  setTimeout: setTimeout2,\n  clearTimeout: clearTimeout2,\n  fsWatchWorker,\n  fileSystemEntryExists,\n  useCaseSensitiveFileNames,\n  getCurrentDirectory,\n  fsSupportsRecursiveFsWatch,\n  getAccessibleSortedChildDirectories,\n  realpath,\n  tscWatchFile,\n  useNonPollingWatchers,\n  tscWatchDirectory,\n  inodeWatching,\n  sysLog: sysLog2\n}) {\n  const pollingWatches = new Map2();\n  const fsWatches = new Map2();\n  const fsWatchesRecursive = new Map2();\n  let dynamicPollingWatchFile;\n  let fixedChunkSizePollingWatchFile;\n  let nonPollingWatchFile;\n  let hostRecursiveDirectoryWatcher;\n  let hitSystemWatcherLimit = false;\n  return {\n    watchFile: watchFile2,\n    watchDirectory\n  };\n  function watchFile2(fileName, callback, pollingInterval, options) {\n    options = updateOptionsForWatchFile(options, useNonPollingWatchers);\n    const watchFileKind = Debug.checkDefined(options.watchFile);\n    switch (watchFileKind) {\n      case 0 /* FixedPollingInterval */:\n        return pollingWatchFile(fileName, callback, 250 /* Low */, void 0);\n      case 1 /* PriorityPollingInterval */:\n        return pollingWatchFile(fileName, callback, pollingInterval, void 0);\n      case 2 /* DynamicPriorityPolling */:\n        return ensureDynamicPollingWatchFile()(fileName, callback, pollingInterval, void 0);\n      case 3 /* FixedChunkSizePolling */:\n        return ensureFixedChunkSizePollingWatchFile()(fileName, callback, void 0, void 0);\n      case 4 /* UseFsEvents */:\n        return fsWatch(\n          fileName,\n          0 /* File */,\n          createFsWatchCallbackForFileWatcherCallback(fileName, callback, getModifiedTime3),\n          false,\n          pollingInterval,\n          getFallbackOptions(options)\n        );\n      case 5 /* UseFsEventsOnParentDirectory */:\n        if (!nonPollingWatchFile) {\n          nonPollingWatchFile = createUseFsEventsOnParentDirectoryWatchFile(fsWatch, useCaseSensitiveFileNames);\n        }\n        return nonPollingWatchFile(fileName, callback, pollingInterval, getFallbackOptions(options));\n      default:\n        Debug.assertNever(watchFileKind);\n    }\n  }\n  function ensureDynamicPollingWatchFile() {\n    return dynamicPollingWatchFile || (dynamicPollingWatchFile = createDynamicPriorityPollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 }));\n  }\n  function ensureFixedChunkSizePollingWatchFile() {\n    return fixedChunkSizePollingWatchFile || (fixedChunkSizePollingWatchFile = createFixedChunkSizePollingWatchFile({ getModifiedTime: getModifiedTime3, setTimeout: setTimeout2 }));\n  }\n  function updateOptionsForWatchFile(options, useNonPollingWatchers2) {\n    if (options && options.watchFile !== void 0)\n      return options;\n    switch (tscWatchFile) {\n      case \"PriorityPollingInterval\":\n        return { watchFile: 1 /* PriorityPollingInterval */ };\n      case \"DynamicPriorityPolling\":\n        return { watchFile: 2 /* DynamicPriorityPolling */ };\n      case \"UseFsEvents\":\n        return generateWatchFileOptions(4 /* UseFsEvents */, 1 /* PriorityInterval */, options);\n      case \"UseFsEventsWithFallbackDynamicPolling\":\n        return generateWatchFileOptions(4 /* UseFsEvents */, 2 /* DynamicPriority */, options);\n      case \"UseFsEventsOnParentDirectory\":\n        useNonPollingWatchers2 = true;\n      default:\n        return useNonPollingWatchers2 ? generateWatchFileOptions(5 /* UseFsEventsOnParentDirectory */, 1 /* PriorityInterval */, options) : { watchFile: 4 /* UseFsEvents */ };\n    }\n  }\n  function generateWatchFileOptions(watchFile3, fallbackPolling, options) {\n    const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling;\n    return {\n      watchFile: watchFile3,\n      fallbackPolling: defaultFallbackPolling === void 0 ? fallbackPolling : defaultFallbackPolling\n    };\n  }\n  function watchDirectory(directoryName, callback, recursive, options) {\n    if (fsSupportsRecursiveFsWatch) {\n      return fsWatch(\n        directoryName,\n        1 /* Directory */,\n        createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory),\n        recursive,\n        500 /* Medium */,\n        getFallbackOptions(options)\n      );\n    }\n    if (!hostRecursiveDirectoryWatcher) {\n      hostRecursiveDirectoryWatcher = createDirectoryWatcherSupportingRecursive({\n        useCaseSensitiveFileNames,\n        getCurrentDirectory,\n        fileSystemEntryExists,\n        getAccessibleSortedChildDirectories,\n        watchDirectory: nonRecursiveWatchDirectory,\n        realpath,\n        setTimeout: setTimeout2,\n        clearTimeout: clearTimeout2\n      });\n    }\n    return hostRecursiveDirectoryWatcher(directoryName, callback, recursive, options);\n  }\n  function nonRecursiveWatchDirectory(directoryName, callback, recursive, options) {\n    Debug.assert(!recursive);\n    const watchDirectoryOptions = updateOptionsForWatchDirectory(options);\n    const watchDirectoryKind = Debug.checkDefined(watchDirectoryOptions.watchDirectory);\n    switch (watchDirectoryKind) {\n      case 1 /* FixedPollingInterval */:\n        return pollingWatchFile(\n          directoryName,\n          () => callback(directoryName),\n          500 /* Medium */,\n          void 0\n        );\n      case 2 /* DynamicPriorityPolling */:\n        return ensureDynamicPollingWatchFile()(\n          directoryName,\n          () => callback(directoryName),\n          500 /* Medium */,\n          void 0\n        );\n      case 3 /* FixedChunkSizePolling */:\n        return ensureFixedChunkSizePollingWatchFile()(\n          directoryName,\n          () => callback(directoryName),\n          void 0,\n          void 0\n        );\n      case 0 /* UseFsEvents */:\n        return fsWatch(\n          directoryName,\n          1 /* Directory */,\n          createFsWatchCallbackForDirectoryWatcherCallback(directoryName, callback, options, useCaseSensitiveFileNames, getCurrentDirectory),\n          recursive,\n          500 /* Medium */,\n          getFallbackOptions(watchDirectoryOptions)\n        );\n      default:\n        Debug.assertNever(watchDirectoryKind);\n    }\n  }\n  function updateOptionsForWatchDirectory(options) {\n    if (options && options.watchDirectory !== void 0)\n      return options;\n    switch (tscWatchDirectory) {\n      case \"RecursiveDirectoryUsingFsWatchFile\":\n        return { watchDirectory: 1 /* FixedPollingInterval */ };\n      case \"RecursiveDirectoryUsingDynamicPriorityPolling\":\n        return { watchDirectory: 2 /* DynamicPriorityPolling */ };\n      default:\n        const defaultFallbackPolling = options == null ? void 0 : options.fallbackPolling;\n        return {\n          watchDirectory: 0 /* UseFsEvents */,\n          fallbackPolling: defaultFallbackPolling !== void 0 ? defaultFallbackPolling : void 0\n        };\n    }\n  }\n  function pollingWatchFile(fileName, callback, pollingInterval, options) {\n    return createSingleWatcherPerName(\n      pollingWatches,\n      useCaseSensitiveFileNames,\n      fileName,\n      callback,\n      (cb) => pollingWatchFileWorker(fileName, cb, pollingInterval, options)\n    );\n  }\n  function fsWatch(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) {\n    return createSingleWatcherPerName(\n      recursive ? fsWatchesRecursive : fsWatches,\n      useCaseSensitiveFileNames,\n      fileOrDirectory,\n      callback,\n      (cb) => fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, cb, recursive, fallbackPollingInterval, fallbackOptions)\n    );\n  }\n  function fsWatchHandlingExistenceOnHost(fileOrDirectory, entryKind, callback, recursive, fallbackPollingInterval, fallbackOptions) {\n    let lastDirectoryPartWithDirectorySeparator;\n    let lastDirectoryPart;\n    if (inodeWatching) {\n      lastDirectoryPartWithDirectorySeparator = fileOrDirectory.substring(fileOrDirectory.lastIndexOf(directorySeparator));\n      lastDirectoryPart = lastDirectoryPartWithDirectorySeparator.slice(directorySeparator.length);\n    }\n    let watcher = !fileSystemEntryExists(fileOrDirectory, entryKind) ? watchMissingFileSystemEntry() : watchPresentFileSystemEntry();\n    return {\n      close: () => {\n        if (watcher) {\n          watcher.close();\n          watcher = void 0;\n        }\n      }\n    };\n    function updateWatcher(createWatcher) {\n      if (watcher) {\n        sysLog2(`sysLog:: ${fileOrDirectory}:: Changing watcher to ${createWatcher === watchPresentFileSystemEntry ? \"Present\" : \"Missing\"}FileSystemEntryWatcher`);\n        watcher.close();\n        watcher = createWatcher();\n      }\n    }\n    function watchPresentFileSystemEntry() {\n      if (hitSystemWatcherLimit) {\n        sysLog2(`sysLog:: ${fileOrDirectory}:: Defaulting to watchFile`);\n        return watchPresentFileSystemEntryWithFsWatchFile();\n      }\n      try {\n        const presentWatcher = fsWatchWorker(\n          fileOrDirectory,\n          recursive,\n          inodeWatching ? callbackChangingToMissingFileSystemEntry : callback\n        );\n        presentWatcher.on(\"error\", () => {\n          callback(\"rename\", \"\");\n          updateWatcher(watchMissingFileSystemEntry);\n        });\n        return presentWatcher;\n      } catch (e) {\n        hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === \"ENOSPC\");\n        sysLog2(`sysLog:: ${fileOrDirectory}:: Changing to watchFile`);\n        return watchPresentFileSystemEntryWithFsWatchFile();\n      }\n    }\n    function callbackChangingToMissingFileSystemEntry(event, relativeName) {\n      let originalRelativeName;\n      if (relativeName && endsWith(relativeName, \"~\")) {\n        originalRelativeName = relativeName;\n        relativeName = relativeName.slice(0, relativeName.length - 1);\n      }\n      if (event === \"rename\" && (!relativeName || relativeName === lastDirectoryPart || endsWith(relativeName, lastDirectoryPartWithDirectorySeparator))) {\n        const modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime;\n        if (originalRelativeName)\n          callback(event, originalRelativeName, modifiedTime);\n        callback(event, relativeName, modifiedTime);\n        if (inodeWatching) {\n          updateWatcher(modifiedTime === missingFileModifiedTime ? watchMissingFileSystemEntry : watchPresentFileSystemEntry);\n        } else if (modifiedTime === missingFileModifiedTime) {\n          updateWatcher(watchMissingFileSystemEntry);\n        }\n      } else {\n        if (originalRelativeName)\n          callback(event, originalRelativeName);\n        callback(event, relativeName);\n      }\n    }\n    function watchPresentFileSystemEntryWithFsWatchFile() {\n      return watchFile2(\n        fileOrDirectory,\n        createFileWatcherCallback(callback),\n        fallbackPollingInterval,\n        fallbackOptions\n      );\n    }\n    function watchMissingFileSystemEntry() {\n      return watchFile2(\n        fileOrDirectory,\n        (_fileName, eventKind, modifiedTime) => {\n          if (eventKind === 0 /* Created */) {\n            modifiedTime || (modifiedTime = getModifiedTime3(fileOrDirectory) || missingFileModifiedTime);\n            if (modifiedTime !== missingFileModifiedTime) {\n              callback(\"rename\", \"\", modifiedTime);\n              updateWatcher(watchPresentFileSystemEntry);\n            }\n          }\n        },\n        fallbackPollingInterval,\n        fallbackOptions\n      );\n    }\n  }\n}\nfunction patchWriteFileEnsuringDirectory(sys2) {\n  const originalWriteFile = sys2.writeFile;\n  sys2.writeFile = (path, data, writeBom) => writeFileEnsuringDirectories(\n    path,\n    data,\n    !!writeBom,\n    (path2, data2, writeByteOrderMark) => originalWriteFile.call(sys2, path2, data2, writeByteOrderMark),\n    (path2) => sys2.createDirectory(path2),\n    (path2) => sys2.directoryExists(path2)\n  );\n}\nfunction getNodeMajorVersion() {\n  if (typeof process === \"undefined\") {\n    return void 0;\n  }\n  const version2 = process.version;\n  if (!version2) {\n    return void 0;\n  }\n  const dot = version2.indexOf(\".\");\n  if (dot === -1) {\n    return void 0;\n  }\n  return parseInt(version2.substring(1, dot));\n}\nvar sys = (() => {\n  const byteOrderMarkIndicator = \"\\uFEFF\";\n  function getNodeSystem() {\n    const nativePattern = /^native |^\\([^)]+\\)$|^(internal[\\\\/]|[a-zA-Z0-9_\\s]+(\\.js)?$)/;\n    const _fs = require(\"fs\");\n    const _path = require(\"path\");\n    const _os = require(\"os\");\n    let _crypto;\n    try {\n      _crypto = require(\"crypto\");\n    } catch (e) {\n      _crypto = void 0;\n    }\n    let activeSession;\n    let profilePath = \"./profile.cpuprofile\";\n    const Buffer2 = require(\"buffer\").Buffer;\n    const nodeVersion = getNodeMajorVersion();\n    const isNode4OrLater = nodeVersion >= 4;\n    const isLinuxOrMacOs = process.platform === \"linux\" || process.platform === \"darwin\";\n    const platform = _os.platform();\n    const useCaseSensitiveFileNames = isFileSystemCaseSensitive();\n    const fsRealpath = !!_fs.realpathSync.native ? process.platform === \"win32\" ? fsRealPathHandlingLongPath : _fs.realpathSync.native : _fs.realpathSync;\n    const executingFilePath = __filename.endsWith(\"sys.js\") ? _path.join(_path.dirname(__dirname), \"__fake__.js\") : __filename;\n    const fsSupportsRecursiveFsWatch = isNode4OrLater && (process.platform === \"win32\" || process.platform === \"darwin\");\n    const getCurrentDirectory = memoize(() => process.cwd());\n    const { watchFile: watchFile2, watchDirectory } = createSystemWatchFunctions({\n      pollingWatchFileWorker: fsWatchFileWorker,\n      getModifiedTime: getModifiedTime3,\n      setTimeout,\n      clearTimeout,\n      fsWatchWorker,\n      useCaseSensitiveFileNames,\n      getCurrentDirectory,\n      fileSystemEntryExists,\n      fsSupportsRecursiveFsWatch,\n      getAccessibleSortedChildDirectories: (path) => getAccessibleFileSystemEntries(path).directories,\n      realpath,\n      tscWatchFile: process.env.TSC_WATCHFILE,\n      useNonPollingWatchers: process.env.TSC_NONPOLLING_WATCHER,\n      tscWatchDirectory: process.env.TSC_WATCHDIRECTORY,\n      inodeWatching: isLinuxOrMacOs,\n      sysLog\n    });\n    const nodeSystem = {\n      args: process.argv.slice(2),\n      newLine: _os.EOL,\n      useCaseSensitiveFileNames,\n      write(s) {\n        process.stdout.write(s);\n      },\n      getWidthOfTerminal() {\n        return process.stdout.columns;\n      },\n      writeOutputIsTTY() {\n        return process.stdout.isTTY;\n      },\n      readFile,\n      writeFile: writeFile2,\n      watchFile: watchFile2,\n      watchDirectory,\n      resolvePath: (path) => _path.resolve(path),\n      fileExists,\n      directoryExists,\n      createDirectory(directoryName) {\n        if (!nodeSystem.directoryExists(directoryName)) {\n          try {\n            _fs.mkdirSync(directoryName);\n          } catch (e) {\n            if (e.code !== \"EEXIST\") {\n              throw e;\n            }\n          }\n        }\n      },\n      getExecutingFilePath() {\n        return executingFilePath;\n      },\n      getCurrentDirectory,\n      getDirectories,\n      getEnvironmentVariable(name) {\n        return process.env[name] || \"\";\n      },\n      readDirectory,\n      getModifiedTime: getModifiedTime3,\n      setModifiedTime,\n      deleteFile,\n      createHash: _crypto ? createSHA256Hash : generateDjb2Hash,\n      createSHA256Hash: _crypto ? createSHA256Hash : void 0,\n      getMemoryUsage() {\n        if (global.gc) {\n          global.gc();\n        }\n        return process.memoryUsage().heapUsed;\n      },\n      getFileSize(path) {\n        try {\n          const stat = statSync(path);\n          if (stat == null ? void 0 : stat.isFile()) {\n            return stat.size;\n          }\n        } catch (e) {\n        }\n        return 0;\n      },\n      exit(exitCode) {\n        disableCPUProfiler(() => process.exit(exitCode));\n      },\n      enableCPUProfiler,\n      disableCPUProfiler,\n      cpuProfilingEnabled: () => !!activeSession || contains(process.execArgv, \"--cpu-prof\") || contains(process.execArgv, \"--prof\"),\n      realpath,\n      debugMode: !!process.env.NODE_INSPECTOR_IPC || !!process.env.VSCODE_INSPECTOR_OPTIONS || some(process.execArgv, (arg) => /^--(inspect|debug)(-brk)?(=\\d+)?$/i.test(arg)),\n      tryEnableSourceMapsForHost() {\n        try {\n          require(\"source-map-support\").install();\n        } catch (e) {\n        }\n      },\n      setTimeout,\n      clearTimeout,\n      clearScreen: () => {\n        process.stdout.write(\"\\x1Bc\");\n      },\n      setBlocking: () => {\n        if (process.stdout && process.stdout._handle && process.stdout._handle.setBlocking) {\n          process.stdout._handle.setBlocking(true);\n        }\n      },\n      bufferFrom,\n      base64decode: (input) => bufferFrom(input, \"base64\").toString(\"utf8\"),\n      base64encode: (input) => bufferFrom(input).toString(\"base64\"),\n      require: (baseDir, moduleName) => {\n        try {\n          const modulePath = resolveJSModule(moduleName, baseDir, nodeSystem);\n          return { module: require(modulePath), modulePath, error: void 0 };\n        } catch (error) {\n          return { module: void 0, modulePath: void 0, error };\n        }\n      }\n    };\n    return nodeSystem;\n    function statSync(path) {\n      return _fs.statSync(path, { throwIfNoEntry: false });\n    }\n    function enableCPUProfiler(path, cb) {\n      if (activeSession) {\n        cb();\n        return false;\n      }\n      const inspector = require(\"inspector\");\n      if (!inspector || !inspector.Session) {\n        cb();\n        return false;\n      }\n      const session = new inspector.Session();\n      session.connect();\n      session.post(\"Profiler.enable\", () => {\n        session.post(\"Profiler.start\", () => {\n          activeSession = session;\n          profilePath = path;\n          cb();\n        });\n      });\n      return true;\n    }\n    function cleanupPaths(profile) {\n      let externalFileCounter = 0;\n      const remappedPaths = new Map2();\n      const normalizedDir = normalizeSlashes(_path.dirname(executingFilePath));\n      const fileUrlRoot = `file://${getRootLength(normalizedDir) === 1 ? \"\" : \"/\"}${normalizedDir}`;\n      for (const node of profile.nodes) {\n        if (node.callFrame.url) {\n          const url = normalizeSlashes(node.callFrame.url);\n          if (containsPath(fileUrlRoot, url, useCaseSensitiveFileNames)) {\n            node.callFrame.url = getRelativePathToDirectoryOrUrl(fileUrlRoot, url, fileUrlRoot, createGetCanonicalFileName(useCaseSensitiveFileNames), true);\n          } else if (!nativePattern.test(url)) {\n            node.callFrame.url = (remappedPaths.has(url) ? remappedPaths : remappedPaths.set(url, `external${externalFileCounter}.js`)).get(url);\n            externalFileCounter++;\n          }\n        }\n      }\n      return profile;\n    }\n    function disableCPUProfiler(cb) {\n      if (activeSession && activeSession !== \"stopping\") {\n        const s = activeSession;\n        activeSession.post(\"Profiler.stop\", (err, { profile }) => {\n          var _a2;\n          if (!err) {\n            try {\n              if ((_a2 = statSync(profilePath)) == null ? void 0 : _a2.isDirectory()) {\n                profilePath = _path.join(profilePath, `${new Date().toISOString().replace(/:/g, \"-\")}+P${process.pid}.cpuprofile`);\n              }\n            } catch (e) {\n            }\n            try {\n              _fs.mkdirSync(_path.dirname(profilePath), { recursive: true });\n            } catch (e) {\n            }\n            _fs.writeFileSync(profilePath, JSON.stringify(cleanupPaths(profile)));\n          }\n          activeSession = void 0;\n          s.disconnect();\n          cb();\n        });\n        activeSession = \"stopping\";\n        return true;\n      } else {\n        cb();\n        return false;\n      }\n    }\n    function bufferFrom(input, encoding) {\n      return Buffer2.from && Buffer2.from !== Int8Array.from ? Buffer2.from(input, encoding) : new Buffer2(input, encoding);\n    }\n    function isFileSystemCaseSensitive() {\n      if (platform === \"win32\" || platform === \"win64\") {\n        return false;\n      }\n      return !fileExists(swapCase(__filename));\n    }\n    function swapCase(s) {\n      return s.replace(/\\w/g, (ch) => {\n        const up = ch.toUpperCase();\n        return ch === up ? ch.toLowerCase() : up;\n      });\n    }\n    function fsWatchFileWorker(fileName, callback, pollingInterval) {\n      _fs.watchFile(fileName, { persistent: true, interval: pollingInterval }, fileChanged);\n      let eventKind;\n      return {\n        close: () => _fs.unwatchFile(fileName, fileChanged)\n      };\n      function fileChanged(curr, prev) {\n        const isPreviouslyDeleted = +prev.mtime === 0 || eventKind === 2 /* Deleted */;\n        if (+curr.mtime === 0) {\n          if (isPreviouslyDeleted) {\n            return;\n          }\n          eventKind = 2 /* Deleted */;\n        } else if (isPreviouslyDeleted) {\n          eventKind = 0 /* Created */;\n        } else if (+curr.mtime === +prev.mtime) {\n          return;\n        } else {\n          eventKind = 1 /* Changed */;\n        }\n        callback(fileName, eventKind, curr.mtime);\n      }\n    }\n    function fsWatchWorker(fileOrDirectory, recursive, callback) {\n      return _fs.watch(\n        fileOrDirectory,\n        fsSupportsRecursiveFsWatch ? { persistent: true, recursive: !!recursive } : { persistent: true },\n        callback\n      );\n    }\n    function readFileWorker(fileName, _encoding) {\n      let buffer;\n      try {\n        buffer = _fs.readFileSync(fileName);\n      } catch (e) {\n        return void 0;\n      }\n      let len = buffer.length;\n      if (len >= 2 && buffer[0] === 254 && buffer[1] === 255) {\n        len &= ~1;\n        for (let i = 0; i < len; i += 2) {\n          const temp = buffer[i];\n          buffer[i] = buffer[i + 1];\n          buffer[i + 1] = temp;\n        }\n        return buffer.toString(\"utf16le\", 2);\n      }\n      if (len >= 2 && buffer[0] === 255 && buffer[1] === 254) {\n        return buffer.toString(\"utf16le\", 2);\n      }\n      if (len >= 3 && buffer[0] === 239 && buffer[1] === 187 && buffer[2] === 191) {\n        return buffer.toString(\"utf8\", 3);\n      }\n      return buffer.toString(\"utf8\");\n    }\n    function readFile(fileName, _encoding) {\n      perfLogger.logStartReadFile(fileName);\n      const file = readFileWorker(fileName, _encoding);\n      perfLogger.logStopReadFile();\n      return file;\n    }\n    function writeFile2(fileName, data, writeByteOrderMark) {\n      perfLogger.logEvent(\"WriteFile: \" + fileName);\n      if (writeByteOrderMark) {\n        data = byteOrderMarkIndicator + data;\n      }\n      let fd;\n      try {\n        fd = _fs.openSync(fileName, \"w\");\n        _fs.writeSync(fd, data, void 0, \"utf8\");\n      } finally {\n        if (fd !== void 0) {\n          _fs.closeSync(fd);\n        }\n      }\n    }\n    function getAccessibleFileSystemEntries(path) {\n      perfLogger.logEvent(\"ReadDir: \" + (path || \".\"));\n      try {\n        const entries = _fs.readdirSync(path || \".\", { withFileTypes: true });\n        const files = [];\n        const directories = [];\n        for (const dirent of entries) {\n          const entry = typeof dirent === \"string\" ? dirent : dirent.name;\n          if (entry === \".\" || entry === \"..\") {\n            continue;\n          }\n          let stat;\n          if (typeof dirent === \"string\" || dirent.isSymbolicLink()) {\n            const name = combinePaths(path, entry);\n            try {\n              stat = statSync(name);\n              if (!stat) {\n                continue;\n              }\n            } catch (e) {\n              continue;\n            }\n          } else {\n            stat = dirent;\n          }\n          if (stat.isFile()) {\n            files.push(entry);\n          } else if (stat.isDirectory()) {\n            directories.push(entry);\n          }\n        }\n        files.sort();\n        directories.sort();\n        return { files, directories };\n      } catch (e) {\n        return emptyFileSystemEntries;\n      }\n    }\n    function readDirectory(path, extensions, excludes, includes, depth) {\n      return matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, process.cwd(), depth, getAccessibleFileSystemEntries, realpath);\n    }\n    function fileSystemEntryExists(path, entryKind) {\n      const originalStackTraceLimit = Error.stackTraceLimit;\n      Error.stackTraceLimit = 0;\n      try {\n        const stat = statSync(path);\n        if (!stat) {\n          return false;\n        }\n        switch (entryKind) {\n          case 0 /* File */:\n            return stat.isFile();\n          case 1 /* Directory */:\n            return stat.isDirectory();\n          default:\n            return false;\n        }\n      } catch (e) {\n        return false;\n      } finally {\n        Error.stackTraceLimit = originalStackTraceLimit;\n      }\n    }\n    function fileExists(path) {\n      return fileSystemEntryExists(path, 0 /* File */);\n    }\n    function directoryExists(path) {\n      return fileSystemEntryExists(path, 1 /* Directory */);\n    }\n    function getDirectories(path) {\n      return getAccessibleFileSystemEntries(path).directories.slice();\n    }\n    function fsRealPathHandlingLongPath(path) {\n      return path.length < 260 ? _fs.realpathSync.native(path) : _fs.realpathSync(path);\n    }\n    function realpath(path) {\n      try {\n        return fsRealpath(path);\n      } catch (e) {\n        return path;\n      }\n    }\n    function getModifiedTime3(path) {\n      var _a2;\n      const originalStackTraceLimit = Error.stackTraceLimit;\n      Error.stackTraceLimit = 0;\n      try {\n        return (_a2 = statSync(path)) == null ? void 0 : _a2.mtime;\n      } catch (e) {\n        return void 0;\n      } finally {\n        Error.stackTraceLimit = originalStackTraceLimit;\n      }\n    }\n    function setModifiedTime(path, time) {\n      try {\n        _fs.utimesSync(path, time, time);\n      } catch (e) {\n        return;\n      }\n    }\n    function deleteFile(path) {\n      try {\n        return _fs.unlinkSync(path);\n      } catch (e) {\n        return;\n      }\n    }\n    function createSHA256Hash(data) {\n      const hash = _crypto.createHash(\"sha256\");\n      hash.update(data);\n      return hash.digest(\"hex\");\n    }\n  }\n  let sys2;\n  if (isNodeLikeSystem()) {\n    sys2 = getNodeSystem();\n  }\n  if (sys2) {\n    patchWriteFileEnsuringDirectory(sys2);\n  }\n  return sys2;\n})();\nfunction setSys(s) {\n  sys = s;\n}\nif (sys && sys.getEnvironmentVariable) {\n  setCustomPollingValues(sys);\n  Debug.setAssertionLevel(/^development$/i.test(sys.getEnvironmentVariable(\"NODE_ENV\")) ? 1 /* Normal */ : 0 /* None */);\n}\nif (sys && sys.debugMode) {\n  Debug.isDebugging = true;\n}\n\n// src/compiler/path.ts\nvar directorySeparator = \"/\";\nvar altDirectorySeparator = \"\\\\\";\nvar urlSchemeSeparator = \"://\";\nvar backslashRegExp = /\\\\/g;\nfunction isAnyDirectorySeparator(charCode) {\n  return charCode === 47 /* slash */ || charCode === 92 /* backslash */;\n}\nfunction isUrl(path) {\n  return getEncodedRootLength(path) < 0;\n}\nfunction isRootedDiskPath(path) {\n  return getEncodedRootLength(path) > 0;\n}\nfunction isDiskPathRoot(path) {\n  const rootLength = getEncodedRootLength(path);\n  return rootLength > 0 && rootLength === path.length;\n}\nfunction pathIsAbsolute(path) {\n  return getEncodedRootLength(path) !== 0;\n}\nfunction pathIsRelative(path) {\n  return /^\\.\\.?($|[\\\\/])/.test(path);\n}\nfunction pathIsBareSpecifier(path) {\n  return !pathIsAbsolute(path) && !pathIsRelative(path);\n}\nfunction hasExtension(fileName) {\n  return stringContains(getBaseFileName(fileName), \".\");\n}\nfunction fileExtensionIs(path, extension) {\n  return path.length > extension.length && endsWith(path, extension);\n}\nfunction fileExtensionIsOneOf(path, extensions) {\n  for (const extension of extensions) {\n    if (fileExtensionIs(path, extension)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction hasTrailingDirectorySeparator(path) {\n  return path.length > 0 && isAnyDirectorySeparator(path.charCodeAt(path.length - 1));\n}\nfunction isVolumeCharacter(charCode) {\n  return charCode >= 97 /* a */ && charCode <= 122 /* z */ || charCode >= 65 /* A */ && charCode <= 90 /* Z */;\n}\nfunction getFileUrlVolumeSeparatorEnd(url, start) {\n  const ch0 = url.charCodeAt(start);\n  if (ch0 === 58 /* colon */)\n    return start + 1;\n  if (ch0 === 37 /* percent */ && url.charCodeAt(start + 1) === 51 /* _3 */) {\n    const ch2 = url.charCodeAt(start + 2);\n    if (ch2 === 97 /* a */ || ch2 === 65 /* A */)\n      return start + 3;\n  }\n  return -1;\n}\nfunction getEncodedRootLength(path) {\n  if (!path)\n    return 0;\n  const ch0 = path.charCodeAt(0);\n  if (ch0 === 47 /* slash */ || ch0 === 92 /* backslash */) {\n    if (path.charCodeAt(1) !== ch0)\n      return 1;\n    const p1 = path.indexOf(ch0 === 47 /* slash */ ? directorySeparator : altDirectorySeparator, 2);\n    if (p1 < 0)\n      return path.length;\n    return p1 + 1;\n  }\n  if (isVolumeCharacter(ch0) && path.charCodeAt(1) === 58 /* colon */) {\n    const ch2 = path.charCodeAt(2);\n    if (ch2 === 47 /* slash */ || ch2 === 92 /* backslash */)\n      return 3;\n    if (path.length === 2)\n      return 2;\n  }\n  const schemeEnd = path.indexOf(urlSchemeSeparator);\n  if (schemeEnd !== -1) {\n    const authorityStart = schemeEnd + urlSchemeSeparator.length;\n    const authorityEnd = path.indexOf(directorySeparator, authorityStart);\n    if (authorityEnd !== -1) {\n      const scheme = path.slice(0, schemeEnd);\n      const authority = path.slice(authorityStart, authorityEnd);\n      if (scheme === \"file\" && (authority === \"\" || authority === \"localhost\") && isVolumeCharacter(path.charCodeAt(authorityEnd + 1))) {\n        const volumeSeparatorEnd = getFileUrlVolumeSeparatorEnd(path, authorityEnd + 2);\n        if (volumeSeparatorEnd !== -1) {\n          if (path.charCodeAt(volumeSeparatorEnd) === 47 /* slash */) {\n            return ~(volumeSeparatorEnd + 1);\n          }\n          if (volumeSeparatorEnd === path.length) {\n            return ~volumeSeparatorEnd;\n          }\n        }\n      }\n      return ~(authorityEnd + 1);\n    }\n    return ~path.length;\n  }\n  return 0;\n}\nfunction getRootLength(path) {\n  const rootLength = getEncodedRootLength(path);\n  return rootLength < 0 ? ~rootLength : rootLength;\n}\nfunction getDirectoryPath(path) {\n  path = normalizeSlashes(path);\n  const rootLength = getRootLength(path);\n  if (rootLength === path.length)\n    return path;\n  path = removeTrailingDirectorySeparator(path);\n  return path.slice(0, Math.max(rootLength, path.lastIndexOf(directorySeparator)));\n}\nfunction getBaseFileName(path, extensions, ignoreCase) {\n  path = normalizeSlashes(path);\n  const rootLength = getRootLength(path);\n  if (rootLength === path.length)\n    return \"\";\n  path = removeTrailingDirectorySeparator(path);\n  const name = path.slice(Math.max(getRootLength(path), path.lastIndexOf(directorySeparator) + 1));\n  const extension = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(name, extensions, ignoreCase) : void 0;\n  return extension ? name.slice(0, name.length - extension.length) : name;\n}\nfunction tryGetExtensionFromPath(path, extension, stringEqualityComparer) {\n  if (!startsWith(extension, \".\"))\n    extension = \".\" + extension;\n  if (path.length >= extension.length && path.charCodeAt(path.length - extension.length) === 46 /* dot */) {\n    const pathExtension = path.slice(path.length - extension.length);\n    if (stringEqualityComparer(pathExtension, extension)) {\n      return pathExtension;\n    }\n  }\n}\nfunction getAnyExtensionFromPathWorker(path, extensions, stringEqualityComparer) {\n  if (typeof extensions === \"string\") {\n    return tryGetExtensionFromPath(path, extensions, stringEqualityComparer) || \"\";\n  }\n  for (const extension of extensions) {\n    const result = tryGetExtensionFromPath(path, extension, stringEqualityComparer);\n    if (result)\n      return result;\n  }\n  return \"\";\n}\nfunction getAnyExtensionFromPath(path, extensions, ignoreCase) {\n  if (extensions) {\n    return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(path), extensions, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive);\n  }\n  const baseFileName = getBaseFileName(path);\n  const extensionIndex = baseFileName.lastIndexOf(\".\");\n  if (extensionIndex >= 0) {\n    return baseFileName.substring(extensionIndex);\n  }\n  return \"\";\n}\nfunction pathComponents(path, rootLength) {\n  const root = path.substring(0, rootLength);\n  const rest = path.substring(rootLength).split(directorySeparator);\n  if (rest.length && !lastOrUndefined(rest))\n    rest.pop();\n  return [root, ...rest];\n}\nfunction getPathComponents(path, currentDirectory = \"\") {\n  path = combinePaths(currentDirectory, path);\n  return pathComponents(path, getRootLength(path));\n}\nfunction getPathFromPathComponents(pathComponents2) {\n  if (pathComponents2.length === 0)\n    return \"\";\n  const root = pathComponents2[0] && ensureTrailingDirectorySeparator(pathComponents2[0]);\n  return root + pathComponents2.slice(1).join(directorySeparator);\n}\nfunction normalizeSlashes(path) {\n  return path.indexOf(\"\\\\\") !== -1 ? path.replace(backslashRegExp, directorySeparator) : path;\n}\nfunction reducePathComponents(components) {\n  if (!some(components))\n    return [];\n  const reduced = [components[0]];\n  for (let i = 1; i < components.length; i++) {\n    const component = components[i];\n    if (!component)\n      continue;\n    if (component === \".\")\n      continue;\n    if (component === \"..\") {\n      if (reduced.length > 1) {\n        if (reduced[reduced.length - 1] !== \"..\") {\n          reduced.pop();\n          continue;\n        }\n      } else if (reduced[0])\n        continue;\n    }\n    reduced.push(component);\n  }\n  return reduced;\n}\nfunction combinePaths(path, ...paths) {\n  if (path)\n    path = normalizeSlashes(path);\n  for (let relativePath of paths) {\n    if (!relativePath)\n      continue;\n    relativePath = normalizeSlashes(relativePath);\n    if (!path || getRootLength(relativePath) !== 0) {\n      path = relativePath;\n    } else {\n      path = ensureTrailingDirectorySeparator(path) + relativePath;\n    }\n  }\n  return path;\n}\nfunction resolvePath(path, ...paths) {\n  return normalizePath(some(paths) ? combinePaths(path, ...paths) : normalizeSlashes(path));\n}\nfunction getNormalizedPathComponents(path, currentDirectory) {\n  return reducePathComponents(getPathComponents(path, currentDirectory));\n}\nfunction getNormalizedAbsolutePath(fileName, currentDirectory) {\n  return getPathFromPathComponents(getNormalizedPathComponents(fileName, currentDirectory));\n}\nfunction normalizePath(path) {\n  path = normalizeSlashes(path);\n  if (!relativePathSegmentRegExp.test(path)) {\n    return path;\n  }\n  const simplified = path.replace(/\\/\\.\\//g, \"/\").replace(/^\\.\\//, \"\");\n  if (simplified !== path) {\n    path = simplified;\n    if (!relativePathSegmentRegExp.test(path)) {\n      return path;\n    }\n  }\n  const normalized = getPathFromPathComponents(reducePathComponents(getPathComponents(path)));\n  return normalized && hasTrailingDirectorySeparator(path) ? ensureTrailingDirectorySeparator(normalized) : normalized;\n}\nfunction getPathWithoutRoot(pathComponents2) {\n  if (pathComponents2.length === 0)\n    return \"\";\n  return pathComponents2.slice(1).join(directorySeparator);\n}\nfunction getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory) {\n  return getPathWithoutRoot(getNormalizedPathComponents(fileName, currentDirectory));\n}\nfunction toPath(fileName, basePath, getCanonicalFileName) {\n  const nonCanonicalizedPath = isRootedDiskPath(fileName) ? normalizePath(fileName) : getNormalizedAbsolutePath(fileName, basePath);\n  return getCanonicalFileName(nonCanonicalizedPath);\n}\nfunction removeTrailingDirectorySeparator(path) {\n  if (hasTrailingDirectorySeparator(path)) {\n    return path.substr(0, path.length - 1);\n  }\n  return path;\n}\nfunction ensureTrailingDirectorySeparator(path) {\n  if (!hasTrailingDirectorySeparator(path)) {\n    return path + directorySeparator;\n  }\n  return path;\n}\nfunction ensurePathIsNonModuleName(path) {\n  return !pathIsAbsolute(path) && !pathIsRelative(path) ? \"./\" + path : path;\n}\nfunction changeAnyExtension(path, ext, extensions, ignoreCase) {\n  const pathext = extensions !== void 0 && ignoreCase !== void 0 ? getAnyExtensionFromPath(path, extensions, ignoreCase) : getAnyExtensionFromPath(path);\n  return pathext ? path.slice(0, path.length - pathext.length) + (startsWith(ext, \".\") ? ext : \".\" + ext) : path;\n}\nvar relativePathSegmentRegExp = /(?:\\/\\/)|(?:^|\\/)\\.\\.?(?:$|\\/)/;\nfunction comparePathsWorker(a, b, componentComparer) {\n  if (a === b)\n    return 0 /* EqualTo */;\n  if (a === void 0)\n    return -1 /* LessThan */;\n  if (b === void 0)\n    return 1 /* GreaterThan */;\n  const aRoot = a.substring(0, getRootLength(a));\n  const bRoot = b.substring(0, getRootLength(b));\n  const result = compareStringsCaseInsensitive(aRoot, bRoot);\n  if (result !== 0 /* EqualTo */) {\n    return result;\n  }\n  const aRest = a.substring(aRoot.length);\n  const bRest = b.substring(bRoot.length);\n  if (!relativePathSegmentRegExp.test(aRest) && !relativePathSegmentRegExp.test(bRest)) {\n    return componentComparer(aRest, bRest);\n  }\n  const aComponents = reducePathComponents(getPathComponents(a));\n  const bComponents = reducePathComponents(getPathComponents(b));\n  const sharedLength = Math.min(aComponents.length, bComponents.length);\n  for (let i = 1; i < sharedLength; i++) {\n    const result2 = componentComparer(aComponents[i], bComponents[i]);\n    if (result2 !== 0 /* EqualTo */) {\n      return result2;\n    }\n  }\n  return compareValues(aComponents.length, bComponents.length);\n}\nfunction comparePathsCaseSensitive(a, b) {\n  return comparePathsWorker(a, b, compareStringsCaseSensitive);\n}\nfunction comparePathsCaseInsensitive(a, b) {\n  return comparePathsWorker(a, b, compareStringsCaseInsensitive);\n}\nfunction comparePaths(a, b, currentDirectory, ignoreCase) {\n  if (typeof currentDirectory === \"string\") {\n    a = combinePaths(currentDirectory, a);\n    b = combinePaths(currentDirectory, b);\n  } else if (typeof currentDirectory === \"boolean\") {\n    ignoreCase = currentDirectory;\n  }\n  return comparePathsWorker(a, b, getStringComparer(ignoreCase));\n}\nfunction containsPath(parent2, child, currentDirectory, ignoreCase) {\n  if (typeof currentDirectory === \"string\") {\n    parent2 = combinePaths(currentDirectory, parent2);\n    child = combinePaths(currentDirectory, child);\n  } else if (typeof currentDirectory === \"boolean\") {\n    ignoreCase = currentDirectory;\n  }\n  if (parent2 === void 0 || child === void 0)\n    return false;\n  if (parent2 === child)\n    return true;\n  const parentComponents = reducePathComponents(getPathComponents(parent2));\n  const childComponents = reducePathComponents(getPathComponents(child));\n  if (childComponents.length < parentComponents.length) {\n    return false;\n  }\n  const componentEqualityComparer = ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive;\n  for (let i = 0; i < parentComponents.length; i++) {\n    const equalityComparer = i === 0 ? equateStringsCaseInsensitive : componentEqualityComparer;\n    if (!equalityComparer(parentComponents[i], childComponents[i])) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction startsWithDirectory(fileName, directoryName, getCanonicalFileName) {\n  const canonicalFileName = getCanonicalFileName(fileName);\n  const canonicalDirectoryName = getCanonicalFileName(directoryName);\n  return startsWith(canonicalFileName, canonicalDirectoryName + \"/\") || startsWith(canonicalFileName, canonicalDirectoryName + \"\\\\\");\n}\nfunction getPathComponentsRelativeTo(from, to, stringEqualityComparer, getCanonicalFileName) {\n  const fromComponents = reducePathComponents(getPathComponents(from));\n  const toComponents = reducePathComponents(getPathComponents(to));\n  let start;\n  for (start = 0; start < fromComponents.length && start < toComponents.length; start++) {\n    const fromComponent = getCanonicalFileName(fromComponents[start]);\n    const toComponent = getCanonicalFileName(toComponents[start]);\n    const comparer = start === 0 ? equateStringsCaseInsensitive : stringEqualityComparer;\n    if (!comparer(fromComponent, toComponent))\n      break;\n  }\n  if (start === 0) {\n    return toComponents;\n  }\n  const components = toComponents.slice(start);\n  const relative = [];\n  for (; start < fromComponents.length; start++) {\n    relative.push(\"..\");\n  }\n  return [\"\", ...relative, ...components];\n}\nfunction getRelativePathFromDirectory(fromDirectory, to, getCanonicalFileNameOrIgnoreCase) {\n  Debug.assert(getRootLength(fromDirectory) > 0 === getRootLength(to) > 0, \"Paths must either both be absolute or both be relative\");\n  const getCanonicalFileName = typeof getCanonicalFileNameOrIgnoreCase === \"function\" ? getCanonicalFileNameOrIgnoreCase : identity;\n  const ignoreCase = typeof getCanonicalFileNameOrIgnoreCase === \"boolean\" ? getCanonicalFileNameOrIgnoreCase : false;\n  const pathComponents2 = getPathComponentsRelativeTo(fromDirectory, to, ignoreCase ? equateStringsCaseInsensitive : equateStringsCaseSensitive, getCanonicalFileName);\n  return getPathFromPathComponents(pathComponents2);\n}\nfunction convertToRelativePath(absoluteOrRelativePath, basePath, getCanonicalFileName) {\n  return !isRootedDiskPath(absoluteOrRelativePath) ? absoluteOrRelativePath : getRelativePathToDirectoryOrUrl(basePath, absoluteOrRelativePath, basePath, getCanonicalFileName, false);\n}\nfunction getRelativePathFromFile(from, to, getCanonicalFileName) {\n  return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(from), to, getCanonicalFileName));\n}\nfunction getRelativePathToDirectoryOrUrl(directoryPathOrUrl, relativeOrAbsolutePath, currentDirectory, getCanonicalFileName, isAbsolutePathAnUrl) {\n  const pathComponents2 = getPathComponentsRelativeTo(\n    resolvePath(currentDirectory, directoryPathOrUrl),\n    resolvePath(currentDirectory, relativeOrAbsolutePath),\n    equateStringsCaseSensitive,\n    getCanonicalFileName\n  );\n  const firstComponent = pathComponents2[0];\n  if (isAbsolutePathAnUrl && isRootedDiskPath(firstComponent)) {\n    const prefix = firstComponent.charAt(0) === directorySeparator ? \"file://\" : \"file:///\";\n    pathComponents2[0] = prefix + firstComponent;\n  }\n  return getPathFromPathComponents(pathComponents2);\n}\nfunction forEachAncestorDirectory(directory, callback) {\n  while (true) {\n    const result = callback(directory);\n    if (result !== void 0) {\n      return result;\n    }\n    const parentPath = getDirectoryPath(directory);\n    if (parentPath === directory) {\n      return void 0;\n    }\n    directory = parentPath;\n  }\n}\nfunction isNodeModulesDirectory(dirPath) {\n  return endsWith(dirPath, \"/node_modules\");\n}\n\n// src/compiler/diagnosticInformationMap.generated.ts\nfunction diag(code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated) {\n  return { code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated };\n}\nvar Diagnostics = {\n  Unterminated_string_literal: diag(1002, 1 /* Error */, \"Unterminated_string_literal_1002\", \"Unterminated string literal.\"),\n  Identifier_expected: diag(1003, 1 /* Error */, \"Identifier_expected_1003\", \"Identifier expected.\"),\n  _0_expected: diag(1005, 1 /* Error */, \"_0_expected_1005\", \"'{0}' expected.\"),\n  A_file_cannot_have_a_reference_to_itself: diag(1006, 1 /* Error */, \"A_file_cannot_have_a_reference_to_itself_1006\", \"A file cannot have a reference to itself.\"),\n  The_parser_expected_to_find_a_1_to_match_the_0_token_here: diag(1007, 1 /* Error */, \"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007\", \"The parser expected to find a '{1}' to match the '{0}' token here.\"),\n  Trailing_comma_not_allowed: diag(1009, 1 /* Error */, \"Trailing_comma_not_allowed_1009\", \"Trailing comma not allowed.\"),\n  Asterisk_Slash_expected: diag(1010, 1 /* Error */, \"Asterisk_Slash_expected_1010\", \"'*/' expected.\"),\n  An_element_access_expression_should_take_an_argument: diag(1011, 1 /* Error */, \"An_element_access_expression_should_take_an_argument_1011\", \"An element access expression should take an argument.\"),\n  Unexpected_token: diag(1012, 1 /* Error */, \"Unexpected_token_1012\", \"Unexpected token.\"),\n  A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma: diag(1013, 1 /* Error */, \"A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma_1013\", \"A rest parameter or binding pattern may not have a trailing comma.\"),\n  A_rest_parameter_must_be_last_in_a_parameter_list: diag(1014, 1 /* Error */, \"A_rest_parameter_must_be_last_in_a_parameter_list_1014\", \"A rest parameter must be last in a parameter list.\"),\n  Parameter_cannot_have_question_mark_and_initializer: diag(1015, 1 /* Error */, \"Parameter_cannot_have_question_mark_and_initializer_1015\", \"Parameter cannot have question mark and initializer.\"),\n  A_required_parameter_cannot_follow_an_optional_parameter: diag(1016, 1 /* Error */, \"A_required_parameter_cannot_follow_an_optional_parameter_1016\", \"A required parameter cannot follow an optional parameter.\"),\n  An_index_signature_cannot_have_a_rest_parameter: diag(1017, 1 /* Error */, \"An_index_signature_cannot_have_a_rest_parameter_1017\", \"An index signature cannot have a rest parameter.\"),\n  An_index_signature_parameter_cannot_have_an_accessibility_modifier: diag(1018, 1 /* Error */, \"An_index_signature_parameter_cannot_have_an_accessibility_modifier_1018\", \"An index signature parameter cannot have an accessibility modifier.\"),\n  An_index_signature_parameter_cannot_have_a_question_mark: diag(1019, 1 /* Error */, \"An_index_signature_parameter_cannot_have_a_question_mark_1019\", \"An index signature parameter cannot have a question mark.\"),\n  An_index_signature_parameter_cannot_have_an_initializer: diag(1020, 1 /* Error */, \"An_index_signature_parameter_cannot_have_an_initializer_1020\", \"An index signature parameter cannot have an initializer.\"),\n  An_index_signature_must_have_a_type_annotation: diag(1021, 1 /* Error */, \"An_index_signature_must_have_a_type_annotation_1021\", \"An index signature must have a type annotation.\"),\n  An_index_signature_parameter_must_have_a_type_annotation: diag(1022, 1 /* Error */, \"An_index_signature_parameter_must_have_a_type_annotation_1022\", \"An index signature parameter must have a type annotation.\"),\n  readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature: diag(1024, 1 /* Error */, \"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024\", \"'readonly' modifier can only appear on a property declaration or index signature.\"),\n  An_index_signature_cannot_have_a_trailing_comma: diag(1025, 1 /* Error */, \"An_index_signature_cannot_have_a_trailing_comma_1025\", \"An index signature cannot have a trailing comma.\"),\n  Accessibility_modifier_already_seen: diag(1028, 1 /* Error */, \"Accessibility_modifier_already_seen_1028\", \"Accessibility modifier already seen.\"),\n  _0_modifier_must_precede_1_modifier: diag(1029, 1 /* Error */, \"_0_modifier_must_precede_1_modifier_1029\", \"'{0}' modifier must precede '{1}' modifier.\"),\n  _0_modifier_already_seen: diag(1030, 1 /* Error */, \"_0_modifier_already_seen_1030\", \"'{0}' modifier already seen.\"),\n  _0_modifier_cannot_appear_on_class_elements_of_this_kind: diag(1031, 1 /* Error */, \"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031\", \"'{0}' modifier cannot appear on class elements of this kind.\"),\n  super_must_be_followed_by_an_argument_list_or_member_access: diag(1034, 1 /* Error */, \"super_must_be_followed_by_an_argument_list_or_member_access_1034\", \"'super' must be followed by an argument list or member access.\"),\n  Only_ambient_modules_can_use_quoted_names: diag(1035, 1 /* Error */, \"Only_ambient_modules_can_use_quoted_names_1035\", \"Only ambient modules can use quoted names.\"),\n  Statements_are_not_allowed_in_ambient_contexts: diag(1036, 1 /* Error */, \"Statements_are_not_allowed_in_ambient_contexts_1036\", \"Statements are not allowed in ambient contexts.\"),\n  A_declare_modifier_cannot_be_used_in_an_already_ambient_context: diag(1038, 1 /* Error */, \"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038\", \"A 'declare' modifier cannot be used in an already ambient context.\"),\n  Initializers_are_not_allowed_in_ambient_contexts: diag(1039, 1 /* Error */, \"Initializers_are_not_allowed_in_ambient_contexts_1039\", \"Initializers are not allowed in ambient contexts.\"),\n  _0_modifier_cannot_be_used_in_an_ambient_context: diag(1040, 1 /* Error */, \"_0_modifier_cannot_be_used_in_an_ambient_context_1040\", \"'{0}' modifier cannot be used in an ambient context.\"),\n  _0_modifier_cannot_be_used_here: diag(1042, 1 /* Error */, \"_0_modifier_cannot_be_used_here_1042\", \"'{0}' modifier cannot be used here.\"),\n  _0_modifier_cannot_appear_on_a_module_or_namespace_element: diag(1044, 1 /* Error */, \"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044\", \"'{0}' modifier cannot appear on a module or namespace element.\"),\n  Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier: diag(1046, 1 /* Error */, \"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046\", \"Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.\"),\n  A_rest_parameter_cannot_be_optional: diag(1047, 1 /* Error */, \"A_rest_parameter_cannot_be_optional_1047\", \"A rest parameter cannot be optional.\"),\n  A_rest_parameter_cannot_have_an_initializer: diag(1048, 1 /* Error */, \"A_rest_parameter_cannot_have_an_initializer_1048\", \"A rest parameter cannot have an initializer.\"),\n  A_set_accessor_must_have_exactly_one_parameter: diag(1049, 1 /* Error */, \"A_set_accessor_must_have_exactly_one_parameter_1049\", \"A 'set' accessor must have exactly one parameter.\"),\n  A_set_accessor_cannot_have_an_optional_parameter: diag(1051, 1 /* Error */, \"A_set_accessor_cannot_have_an_optional_parameter_1051\", \"A 'set' accessor cannot have an optional parameter.\"),\n  A_set_accessor_parameter_cannot_have_an_initializer: diag(1052, 1 /* Error */, \"A_set_accessor_parameter_cannot_have_an_initializer_1052\", \"A 'set' accessor parameter cannot have an initializer.\"),\n  A_set_accessor_cannot_have_rest_parameter: diag(1053, 1 /* Error */, \"A_set_accessor_cannot_have_rest_parameter_1053\", \"A 'set' accessor cannot have rest parameter.\"),\n  A_get_accessor_cannot_have_parameters: diag(1054, 1 /* Error */, \"A_get_accessor_cannot_have_parameters_1054\", \"A 'get' accessor cannot have parameters.\"),\n  Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value: diag(1055, 1 /* Error */, \"Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Prom_1055\", \"Type '{0}' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.\"),\n  Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: diag(1056, 1 /* Error */, \"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056\", \"Accessors are only available when targeting ECMAScript 5 and higher.\"),\n  The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1058, 1 /* Error */, \"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058\", \"The return type of an async function must either be a valid promise or must not contain a callable 'then' member.\"),\n  A_promise_must_have_a_then_method: diag(1059, 1 /* Error */, \"A_promise_must_have_a_then_method_1059\", \"A promise must have a 'then' method.\"),\n  The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback: diag(1060, 1 /* Error */, \"The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060\", \"The first parameter of the 'then' method of a promise must be a callback.\"),\n  Enum_member_must_have_initializer: diag(1061, 1 /* Error */, \"Enum_member_must_have_initializer_1061\", \"Enum member must have initializer.\"),\n  Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method: diag(1062, 1 /* Error */, \"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062\", \"Type is referenced directly or indirectly in the fulfillment callback of its own 'then' method.\"),\n  An_export_assignment_cannot_be_used_in_a_namespace: diag(1063, 1 /* Error */, \"An_export_assignment_cannot_be_used_in_a_namespace_1063\", \"An export assignment cannot be used in a namespace.\"),\n  The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0: diag(1064, 1 /* Error */, \"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064\", \"The return type of an async function or method must be the global Promise<T> type. Did you mean to write 'Promise<{0}>'?\"),\n  In_ambient_enum_declarations_member_initializer_must_be_constant_expression: diag(1066, 1 /* Error */, \"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066\", \"In ambient enum declarations member initializer must be constant expression.\"),\n  Unexpected_token_A_constructor_method_accessor_or_property_was_expected: diag(1068, 1 /* Error */, \"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068\", \"Unexpected token. A constructor, method, accessor, or property was expected.\"),\n  Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces: diag(1069, 1 /* Error */, \"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069\", \"Unexpected token. A type parameter name was expected without curly braces.\"),\n  _0_modifier_cannot_appear_on_a_type_member: diag(1070, 1 /* Error */, \"_0_modifier_cannot_appear_on_a_type_member_1070\", \"'{0}' modifier cannot appear on a type member.\"),\n  _0_modifier_cannot_appear_on_an_index_signature: diag(1071, 1 /* Error */, \"_0_modifier_cannot_appear_on_an_index_signature_1071\", \"'{0}' modifier cannot appear on an index signature.\"),\n  A_0_modifier_cannot_be_used_with_an_import_declaration: diag(1079, 1 /* Error */, \"A_0_modifier_cannot_be_used_with_an_import_declaration_1079\", \"A '{0}' modifier cannot be used with an import declaration.\"),\n  Invalid_reference_directive_syntax: diag(1084, 1 /* Error */, \"Invalid_reference_directive_syntax_1084\", \"Invalid 'reference' directive syntax.\"),\n  Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0: diag(1085, 1 /* Error */, \"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085\", \"Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'.\"),\n  _0_modifier_cannot_appear_on_a_constructor_declaration: diag(1089, 1 /* Error */, \"_0_modifier_cannot_appear_on_a_constructor_declaration_1089\", \"'{0}' modifier cannot appear on a constructor declaration.\"),\n  _0_modifier_cannot_appear_on_a_parameter: diag(1090, 1 /* Error */, \"_0_modifier_cannot_appear_on_a_parameter_1090\", \"'{0}' modifier cannot appear on a parameter.\"),\n  Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement: diag(1091, 1 /* Error */, \"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091\", \"Only a single variable declaration is allowed in a 'for...in' statement.\"),\n  Type_parameters_cannot_appear_on_a_constructor_declaration: diag(1092, 1 /* Error */, \"Type_parameters_cannot_appear_on_a_constructor_declaration_1092\", \"Type parameters cannot appear on a constructor declaration.\"),\n  Type_annotation_cannot_appear_on_a_constructor_declaration: diag(1093, 1 /* Error */, \"Type_annotation_cannot_appear_on_a_constructor_declaration_1093\", \"Type annotation cannot appear on a constructor declaration.\"),\n  An_accessor_cannot_have_type_parameters: diag(1094, 1 /* Error */, \"An_accessor_cannot_have_type_parameters_1094\", \"An accessor cannot have type parameters.\"),\n  A_set_accessor_cannot_have_a_return_type_annotation: diag(1095, 1 /* Error */, \"A_set_accessor_cannot_have_a_return_type_annotation_1095\", \"A 'set' accessor cannot have a return type annotation.\"),\n  An_index_signature_must_have_exactly_one_parameter: diag(1096, 1 /* Error */, \"An_index_signature_must_have_exactly_one_parameter_1096\", \"An index signature must have exactly one parameter.\"),\n  _0_list_cannot_be_empty: diag(1097, 1 /* Error */, \"_0_list_cannot_be_empty_1097\", \"'{0}' list cannot be empty.\"),\n  Type_parameter_list_cannot_be_empty: diag(1098, 1 /* Error */, \"Type_parameter_list_cannot_be_empty_1098\", \"Type parameter list cannot be empty.\"),\n  Type_argument_list_cannot_be_empty: diag(1099, 1 /* Error */, \"Type_argument_list_cannot_be_empty_1099\", \"Type argument list cannot be empty.\"),\n  Invalid_use_of_0_in_strict_mode: diag(1100, 1 /* Error */, \"Invalid_use_of_0_in_strict_mode_1100\", \"Invalid use of '{0}' in strict mode.\"),\n  with_statements_are_not_allowed_in_strict_mode: diag(1101, 1 /* Error */, \"with_statements_are_not_allowed_in_strict_mode_1101\", \"'with' statements are not allowed in strict mode.\"),\n  delete_cannot_be_called_on_an_identifier_in_strict_mode: diag(1102, 1 /* Error */, \"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102\", \"'delete' cannot be called on an identifier in strict mode.\"),\n  for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(1103, 1 /* Error */, \"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103\", \"'for await' loops are only allowed within async functions and at the top levels of modules.\"),\n  A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement: diag(1104, 1 /* Error */, \"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104\", \"A 'continue' statement can only be used within an enclosing iteration statement.\"),\n  A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement: diag(1105, 1 /* Error */, \"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105\", \"A 'break' statement can only be used within an enclosing iteration or switch statement.\"),\n  The_left_hand_side_of_a_for_of_statement_may_not_be_async: diag(1106, 1 /* Error */, \"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106\", \"The left-hand side of a 'for...of' statement may not be 'async'.\"),\n  Jump_target_cannot_cross_function_boundary: diag(1107, 1 /* Error */, \"Jump_target_cannot_cross_function_boundary_1107\", \"Jump target cannot cross function boundary.\"),\n  A_return_statement_can_only_be_used_within_a_function_body: diag(1108, 1 /* Error */, \"A_return_statement_can_only_be_used_within_a_function_body_1108\", \"A 'return' statement can only be used within a function body.\"),\n  Expression_expected: diag(1109, 1 /* Error */, \"Expression_expected_1109\", \"Expression expected.\"),\n  Type_expected: diag(1110, 1 /* Error */, \"Type_expected_1110\", \"Type expected.\"),\n  A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: diag(1113, 1 /* Error */, \"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113\", \"A 'default' clause cannot appear more than once in a 'switch' statement.\"),\n  Duplicate_label_0: diag(1114, 1 /* Error */, \"Duplicate_label_0_1114\", \"Duplicate label '{0}'.\"),\n  A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement: diag(1115, 1 /* Error */, \"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115\", \"A 'continue' statement can only jump to a label of an enclosing iteration statement.\"),\n  A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement: diag(1116, 1 /* Error */, \"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116\", \"A 'break' statement can only jump to a label of an enclosing statement.\"),\n  An_object_literal_cannot_have_multiple_properties_with_the_same_name: diag(1117, 1 /* Error */, \"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117\", \"An object literal cannot have multiple properties with the same name.\"),\n  An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: diag(1118, 1 /* Error */, \"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118\", \"An object literal cannot have multiple get/set accessors with the same name.\"),\n  An_object_literal_cannot_have_property_and_accessor_with_the_same_name: diag(1119, 1 /* Error */, \"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119\", \"An object literal cannot have property and accessor with the same name.\"),\n  An_export_assignment_cannot_have_modifiers: diag(1120, 1 /* Error */, \"An_export_assignment_cannot_have_modifiers_1120\", \"An export assignment cannot have modifiers.\"),\n  Octal_literals_are_not_allowed_in_strict_mode: diag(1121, 1 /* Error */, \"Octal_literals_are_not_allowed_in_strict_mode_1121\", \"Octal literals are not allowed in strict mode.\"),\n  Variable_declaration_list_cannot_be_empty: diag(1123, 1 /* Error */, \"Variable_declaration_list_cannot_be_empty_1123\", \"Variable declaration list cannot be empty.\"),\n  Digit_expected: diag(1124, 1 /* Error */, \"Digit_expected_1124\", \"Digit expected.\"),\n  Hexadecimal_digit_expected: diag(1125, 1 /* Error */, \"Hexadecimal_digit_expected_1125\", \"Hexadecimal digit expected.\"),\n  Unexpected_end_of_text: diag(1126, 1 /* Error */, \"Unexpected_end_of_text_1126\", \"Unexpected end of text.\"),\n  Invalid_character: diag(1127, 1 /* Error */, \"Invalid_character_1127\", \"Invalid character.\"),\n  Declaration_or_statement_expected: diag(1128, 1 /* Error */, \"Declaration_or_statement_expected_1128\", \"Declaration or statement expected.\"),\n  Statement_expected: diag(1129, 1 /* Error */, \"Statement_expected_1129\", \"Statement expected.\"),\n  case_or_default_expected: diag(1130, 1 /* Error */, \"case_or_default_expected_1130\", \"'case' or 'default' expected.\"),\n  Property_or_signature_expected: diag(1131, 1 /* Error */, \"Property_or_signature_expected_1131\", \"Property or signature expected.\"),\n  Enum_member_expected: diag(1132, 1 /* Error */, \"Enum_member_expected_1132\", \"Enum member expected.\"),\n  Variable_declaration_expected: diag(1134, 1 /* Error */, \"Variable_declaration_expected_1134\", \"Variable declaration expected.\"),\n  Argument_expression_expected: diag(1135, 1 /* Error */, \"Argument_expression_expected_1135\", \"Argument expression expected.\"),\n  Property_assignment_expected: diag(1136, 1 /* Error */, \"Property_assignment_expected_1136\", \"Property assignment expected.\"),\n  Expression_or_comma_expected: diag(1137, 1 /* Error */, \"Expression_or_comma_expected_1137\", \"Expression or comma expected.\"),\n  Parameter_declaration_expected: diag(1138, 1 /* Error */, \"Parameter_declaration_expected_1138\", \"Parameter declaration expected.\"),\n  Type_parameter_declaration_expected: diag(1139, 1 /* Error */, \"Type_parameter_declaration_expected_1139\", \"Type parameter declaration expected.\"),\n  Type_argument_expected: diag(1140, 1 /* Error */, \"Type_argument_expected_1140\", \"Type argument expected.\"),\n  String_literal_expected: diag(1141, 1 /* Error */, \"String_literal_expected_1141\", \"String literal expected.\"),\n  Line_break_not_permitted_here: diag(1142, 1 /* Error */, \"Line_break_not_permitted_here_1142\", \"Line break not permitted here.\"),\n  or_expected: diag(1144, 1 /* Error */, \"or_expected_1144\", \"'{' or ';' expected.\"),\n  or_JSX_element_expected: diag(1145, 1 /* Error */, \"or_JSX_element_expected_1145\", \"'{' or JSX element expected.\"),\n  Declaration_expected: diag(1146, 1 /* Error */, \"Declaration_expected_1146\", \"Declaration expected.\"),\n  Import_declarations_in_a_namespace_cannot_reference_a_module: diag(1147, 1 /* Error */, \"Import_declarations_in_a_namespace_cannot_reference_a_module_1147\", \"Import declarations in a namespace cannot reference a module.\"),\n  Cannot_use_imports_exports_or_module_augmentations_when_module_is_none: diag(1148, 1 /* Error */, \"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148\", \"Cannot use imports, exports, or module augmentations when '--module' is 'none'.\"),\n  File_name_0_differs_from_already_included_file_name_1_only_in_casing: diag(1149, 1 /* Error */, \"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149\", \"File name '{0}' differs from already included file name '{1}' only in casing.\"),\n  const_declarations_must_be_initialized: diag(1155, 1 /* Error */, \"const_declarations_must_be_initialized_1155\", \"'const' declarations must be initialized.\"),\n  const_declarations_can_only_be_declared_inside_a_block: diag(1156, 1 /* Error */, \"const_declarations_can_only_be_declared_inside_a_block_1156\", \"'const' declarations can only be declared inside a block.\"),\n  let_declarations_can_only_be_declared_inside_a_block: diag(1157, 1 /* Error */, \"let_declarations_can_only_be_declared_inside_a_block_1157\", \"'let' declarations can only be declared inside a block.\"),\n  Unterminated_template_literal: diag(1160, 1 /* Error */, \"Unterminated_template_literal_1160\", \"Unterminated template literal.\"),\n  Unterminated_regular_expression_literal: diag(1161, 1 /* Error */, \"Unterminated_regular_expression_literal_1161\", \"Unterminated regular expression literal.\"),\n  An_object_member_cannot_be_declared_optional: diag(1162, 1 /* Error */, \"An_object_member_cannot_be_declared_optional_1162\", \"An object member cannot be declared optional.\"),\n  A_yield_expression_is_only_allowed_in_a_generator_body: diag(1163, 1 /* Error */, \"A_yield_expression_is_only_allowed_in_a_generator_body_1163\", \"A 'yield' expression is only allowed in a generator body.\"),\n  Computed_property_names_are_not_allowed_in_enums: diag(1164, 1 /* Error */, \"Computed_property_names_are_not_allowed_in_enums_1164\", \"Computed property names are not allowed in enums.\"),\n  A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1165, 1 /* Error */, \"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165\", \"A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n  A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type: diag(1166, 1 /* Error */, \"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166\", \"A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type.\"),\n  A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1168, 1 /* Error */, \"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168\", \"A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n  A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1169, 1 /* Error */, \"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169\", \"A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n  A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: diag(1170, 1 /* Error */, \"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170\", \"A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.\"),\n  A_comma_expression_is_not_allowed_in_a_computed_property_name: diag(1171, 1 /* Error */, \"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171\", \"A comma expression is not allowed in a computed property name.\"),\n  extends_clause_already_seen: diag(1172, 1 /* Error */, \"extends_clause_already_seen_1172\", \"'extends' clause already seen.\"),\n  extends_clause_must_precede_implements_clause: diag(1173, 1 /* Error */, \"extends_clause_must_precede_implements_clause_1173\", \"'extends' clause must precede 'implements' clause.\"),\n  Classes_can_only_extend_a_single_class: diag(1174, 1 /* Error */, \"Classes_can_only_extend_a_single_class_1174\", \"Classes can only extend a single class.\"),\n  implements_clause_already_seen: diag(1175, 1 /* Error */, \"implements_clause_already_seen_1175\", \"'implements' clause already seen.\"),\n  Interface_declaration_cannot_have_implements_clause: diag(1176, 1 /* Error */, \"Interface_declaration_cannot_have_implements_clause_1176\", \"Interface declaration cannot have 'implements' clause.\"),\n  Binary_digit_expected: diag(1177, 1 /* Error */, \"Binary_digit_expected_1177\", \"Binary digit expected.\"),\n  Octal_digit_expected: diag(1178, 1 /* Error */, \"Octal_digit_expected_1178\", \"Octal digit expected.\"),\n  Unexpected_token_expected: diag(1179, 1 /* Error */, \"Unexpected_token_expected_1179\", \"Unexpected token. '{' expected.\"),\n  Property_destructuring_pattern_expected: diag(1180, 1 /* Error */, \"Property_destructuring_pattern_expected_1180\", \"Property destructuring pattern expected.\"),\n  Array_element_destructuring_pattern_expected: diag(1181, 1 /* Error */, \"Array_element_destructuring_pattern_expected_1181\", \"Array element destructuring pattern expected.\"),\n  A_destructuring_declaration_must_have_an_initializer: diag(1182, 1 /* Error */, \"A_destructuring_declaration_must_have_an_initializer_1182\", \"A destructuring declaration must have an initializer.\"),\n  An_implementation_cannot_be_declared_in_ambient_contexts: diag(1183, 1 /* Error */, \"An_implementation_cannot_be_declared_in_ambient_contexts_1183\", \"An implementation cannot be declared in ambient contexts.\"),\n  Modifiers_cannot_appear_here: diag(1184, 1 /* Error */, \"Modifiers_cannot_appear_here_1184\", \"Modifiers cannot appear here.\"),\n  Merge_conflict_marker_encountered: diag(1185, 1 /* Error */, \"Merge_conflict_marker_encountered_1185\", \"Merge conflict marker encountered.\"),\n  A_rest_element_cannot_have_an_initializer: diag(1186, 1 /* Error */, \"A_rest_element_cannot_have_an_initializer_1186\", \"A rest element cannot have an initializer.\"),\n  A_parameter_property_may_not_be_declared_using_a_binding_pattern: diag(1187, 1 /* Error */, \"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187\", \"A parameter property may not be declared using a binding pattern.\"),\n  Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement: diag(1188, 1 /* Error */, \"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188\", \"Only a single variable declaration is allowed in a 'for...of' statement.\"),\n  The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer: diag(1189, 1 /* Error */, \"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189\", \"The variable declaration of a 'for...in' statement cannot have an initializer.\"),\n  The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer: diag(1190, 1 /* Error */, \"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190\", \"The variable declaration of a 'for...of' statement cannot have an initializer.\"),\n  An_import_declaration_cannot_have_modifiers: diag(1191, 1 /* Error */, \"An_import_declaration_cannot_have_modifiers_1191\", \"An import declaration cannot have modifiers.\"),\n  Module_0_has_no_default_export: diag(1192, 1 /* Error */, \"Module_0_has_no_default_export_1192\", \"Module '{0}' has no default export.\"),\n  An_export_declaration_cannot_have_modifiers: diag(1193, 1 /* Error */, \"An_export_declaration_cannot_have_modifiers_1193\", \"An export declaration cannot have modifiers.\"),\n  Export_declarations_are_not_permitted_in_a_namespace: diag(1194, 1 /* Error */, \"Export_declarations_are_not_permitted_in_a_namespace_1194\", \"Export declarations are not permitted in a namespace.\"),\n  export_Asterisk_does_not_re_export_a_default: diag(1195, 1 /* Error */, \"export_Asterisk_does_not_re_export_a_default_1195\", \"'export *' does not re-export a default.\"),\n  Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified: diag(1196, 1 /* Error */, \"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196\", \"Catch clause variable type annotation must be 'any' or 'unknown' if specified.\"),\n  Catch_clause_variable_cannot_have_an_initializer: diag(1197, 1 /* Error */, \"Catch_clause_variable_cannot_have_an_initializer_1197\", \"Catch clause variable cannot have an initializer.\"),\n  An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: diag(1198, 1 /* Error */, \"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198\", \"An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive.\"),\n  Unterminated_Unicode_escape_sequence: diag(1199, 1 /* Error */, \"Unterminated_Unicode_escape_sequence_1199\", \"Unterminated Unicode escape sequence.\"),\n  Line_terminator_not_permitted_before_arrow: diag(1200, 1 /* Error */, \"Line_terminator_not_permitted_before_arrow_1200\", \"Line terminator not permitted before arrow.\"),\n  Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead: diag(1202, 1 /* Error */, \"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202\", `Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead.`),\n  Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead: diag(1203, 1 /* Error */, \"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203\", \"Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead.\"),\n  Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type: diag(1205, 1 /* Error */, \"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205\", \"Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.\"),\n  Decorators_are_not_valid_here: diag(1206, 1 /* Error */, \"Decorators_are_not_valid_here_1206\", \"Decorators are not valid here.\"),\n  Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name: diag(1207, 1 /* Error */, \"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207\", \"Decorators cannot be applied to multiple get/set accessors of the same name.\"),\n  _0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module: diag(1208, 1 /* Error */, \"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208\", \"'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.\"),\n  Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0: diag(1209, 1 /* Error */, \"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209\", \"Invalid optional chain from new expression. Did you mean to call '{0}()'?\"),\n  Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode: diag(1210, 1 /* Error */, \"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210\", \"Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode.\"),\n  A_class_declaration_without_the_default_modifier_must_have_a_name: diag(1211, 1 /* Error */, \"A_class_declaration_without_the_default_modifier_must_have_a_name_1211\", \"A class declaration without the 'default' modifier must have a name.\"),\n  Identifier_expected_0_is_a_reserved_word_in_strict_mode: diag(1212, 1 /* Error */, \"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212\", \"Identifier expected. '{0}' is a reserved word in strict mode.\"),\n  Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: diag(1213, 1 /* Error */, \"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213\", \"Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode.\"),\n  Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: diag(1214, 1 /* Error */, \"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214\", \"Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode.\"),\n  Invalid_use_of_0_Modules_are_automatically_in_strict_mode: diag(1215, 1 /* Error */, \"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215\", \"Invalid use of '{0}'. Modules are automatically in strict mode.\"),\n  Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules: diag(1216, 1 /* Error */, \"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216\", \"Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules.\"),\n  Export_assignment_is_not_supported_when_module_flag_is_system: diag(1218, 1 /* Error */, \"Export_assignment_is_not_supported_when_module_flag_is_system_1218\", \"Export assignment is not supported when '--module' flag is 'system'.\"),\n  Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning: diag(1219, 1 /* Error */, \"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219\", \"Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning.\"),\n  Generators_are_not_allowed_in_an_ambient_context: diag(1221, 1 /* Error */, \"Generators_are_not_allowed_in_an_ambient_context_1221\", \"Generators are not allowed in an ambient context.\"),\n  An_overload_signature_cannot_be_declared_as_a_generator: diag(1222, 1 /* Error */, \"An_overload_signature_cannot_be_declared_as_a_generator_1222\", \"An overload signature cannot be declared as a generator.\"),\n  _0_tag_already_specified: diag(1223, 1 /* Error */, \"_0_tag_already_specified_1223\", \"'{0}' tag already specified.\"),\n  Signature_0_must_be_a_type_predicate: diag(1224, 1 /* Error */, \"Signature_0_must_be_a_type_predicate_1224\", \"Signature '{0}' must be a type predicate.\"),\n  Cannot_find_parameter_0: diag(1225, 1 /* Error */, \"Cannot_find_parameter_0_1225\", \"Cannot find parameter '{0}'.\"),\n  Type_predicate_0_is_not_assignable_to_1: diag(1226, 1 /* Error */, \"Type_predicate_0_is_not_assignable_to_1_1226\", \"Type predicate '{0}' is not assignable to '{1}'.\"),\n  Parameter_0_is_not_in_the_same_position_as_parameter_1: diag(1227, 1 /* Error */, \"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227\", \"Parameter '{0}' is not in the same position as parameter '{1}'.\"),\n  A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: diag(1228, 1 /* Error */, \"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228\", \"A type predicate is only allowed in return type position for functions and methods.\"),\n  A_type_predicate_cannot_reference_a_rest_parameter: diag(1229, 1 /* Error */, \"A_type_predicate_cannot_reference_a_rest_parameter_1229\", \"A type predicate cannot reference a rest parameter.\"),\n  A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: diag(1230, 1 /* Error */, \"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230\", \"A type predicate cannot reference element '{0}' in a binding pattern.\"),\n  An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration: diag(1231, 1 /* Error */, \"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231\", \"An export assignment must be at the top level of a file or module declaration.\"),\n  An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module: diag(1232, 1 /* Error */, \"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232\", \"An import declaration can only be used at the top level of a namespace or module.\"),\n  An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module: diag(1233, 1 /* Error */, \"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233\", \"An export declaration can only be used at the top level of a namespace or module.\"),\n  An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: diag(1234, 1 /* Error */, \"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234\", \"An ambient module declaration is only allowed at the top level in a file.\"),\n  A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module: diag(1235, 1 /* Error */, \"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235\", \"A namespace declaration is only allowed at the top level of a namespace or module.\"),\n  The_return_type_of_a_property_decorator_function_must_be_either_void_or_any: diag(1236, 1 /* Error */, \"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236\", \"The return type of a property decorator function must be either 'void' or 'any'.\"),\n  The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any: diag(1237, 1 /* Error */, \"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237\", \"The return type of a parameter decorator function must be either 'void' or 'any'.\"),\n  Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression: diag(1238, 1 /* Error */, \"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238\", \"Unable to resolve signature of class decorator when called as an expression.\"),\n  Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression: diag(1239, 1 /* Error */, \"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239\", \"Unable to resolve signature of parameter decorator when called as an expression.\"),\n  Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression: diag(1240, 1 /* Error */, \"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240\", \"Unable to resolve signature of property decorator when called as an expression.\"),\n  Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression: diag(1241, 1 /* Error */, \"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241\", \"Unable to resolve signature of method decorator when called as an expression.\"),\n  abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration: diag(1242, 1 /* Error */, \"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242\", \"'abstract' modifier can only appear on a class, method, or property declaration.\"),\n  _0_modifier_cannot_be_used_with_1_modifier: diag(1243, 1 /* Error */, \"_0_modifier_cannot_be_used_with_1_modifier_1243\", \"'{0}' modifier cannot be used with '{1}' modifier.\"),\n  Abstract_methods_can_only_appear_within_an_abstract_class: diag(1244, 1 /* Error */, \"Abstract_methods_can_only_appear_within_an_abstract_class_1244\", \"Abstract methods can only appear within an abstract class.\"),\n  Method_0_cannot_have_an_implementation_because_it_is_marked_abstract: diag(1245, 1 /* Error */, \"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245\", \"Method '{0}' cannot have an implementation because it is marked abstract.\"),\n  An_interface_property_cannot_have_an_initializer: diag(1246, 1 /* Error */, \"An_interface_property_cannot_have_an_initializer_1246\", \"An interface property cannot have an initializer.\"),\n  A_type_literal_property_cannot_have_an_initializer: diag(1247, 1 /* Error */, \"A_type_literal_property_cannot_have_an_initializer_1247\", \"A type literal property cannot have an initializer.\"),\n  A_class_member_cannot_have_the_0_keyword: diag(1248, 1 /* Error */, \"A_class_member_cannot_have_the_0_keyword_1248\", \"A class member cannot have the '{0}' keyword.\"),\n  A_decorator_can_only_decorate_a_method_implementation_not_an_overload: diag(1249, 1 /* Error */, \"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249\", \"A decorator can only decorate a method implementation, not an overload.\"),\n  Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5: diag(1250, 1 /* Error */, \"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250\", \"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.\"),\n  Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode: diag(1251, 1 /* Error */, \"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251\", \"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode.\"),\n  Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode: diag(1252, 1 /* Error */, \"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252\", \"Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.\"),\n  A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: diag(1254, 1 /* Error */, \"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254\", \"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.\"),\n  A_definite_assignment_assertion_is_not_permitted_in_this_context: diag(1255, 1 /* Error */, \"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255\", \"A definite assignment assertion '!' is not permitted in this context.\"),\n  A_required_element_cannot_follow_an_optional_element: diag(1257, 1 /* Error */, \"A_required_element_cannot_follow_an_optional_element_1257\", \"A required element cannot follow an optional element.\"),\n  A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration: diag(1258, 1 /* Error */, \"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258\", \"A default export must be at the top level of a file or module declaration.\"),\n  Module_0_can_only_be_default_imported_using_the_1_flag: diag(1259, 1 /* Error */, \"Module_0_can_only_be_default_imported_using_the_1_flag_1259\", \"Module '{0}' can only be default-imported using the '{1}' flag\"),\n  Keywords_cannot_contain_escape_characters: diag(1260, 1 /* Error */, \"Keywords_cannot_contain_escape_characters_1260\", \"Keywords cannot contain escape characters.\"),\n  Already_included_file_name_0_differs_from_file_name_1_only_in_casing: diag(1261, 1 /* Error */, \"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261\", \"Already included file name '{0}' differs from file name '{1}' only in casing.\"),\n  Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module: diag(1262, 1 /* Error */, \"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262\", \"Identifier expected. '{0}' is a reserved word at the top-level of a module.\"),\n  Declarations_with_initializers_cannot_also_have_definite_assignment_assertions: diag(1263, 1 /* Error */, \"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263\", \"Declarations with initializers cannot also have definite assignment assertions.\"),\n  Declarations_with_definite_assignment_assertions_must_also_have_type_annotations: diag(1264, 1 /* Error */, \"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264\", \"Declarations with definite assignment assertions must also have type annotations.\"),\n  A_rest_element_cannot_follow_another_rest_element: diag(1265, 1 /* Error */, \"A_rest_element_cannot_follow_another_rest_element_1265\", \"A rest element cannot follow another rest element.\"),\n  An_optional_element_cannot_follow_a_rest_element: diag(1266, 1 /* Error */, \"An_optional_element_cannot_follow_a_rest_element_1266\", \"An optional element cannot follow a rest element.\"),\n  Property_0_cannot_have_an_initializer_because_it_is_marked_abstract: diag(1267, 1 /* Error */, \"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267\", \"Property '{0}' cannot have an initializer because it is marked abstract.\"),\n  An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type: diag(1268, 1 /* Error */, \"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268\", \"An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type.\"),\n  Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided: diag(1269, 1 /* Error */, \"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided_1269\", \"Cannot use 'export import' on a type or type-only namespace when the '--isolatedModules' flag is provided.\"),\n  Decorator_function_return_type_0_is_not_assignable_to_type_1: diag(1270, 1 /* Error */, \"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270\", \"Decorator function return type '{0}' is not assignable to type '{1}'.\"),\n  Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any: diag(1271, 1 /* Error */, \"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271\", \"Decorator function return type is '{0}' but is expected to be 'void' or 'any'.\"),\n  A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled: diag(1272, 1 /* Error */, \"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272\", \"A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled.\"),\n  _0_modifier_cannot_appear_on_a_type_parameter: diag(1273, 1 /* Error */, \"_0_modifier_cannot_appear_on_a_type_parameter_1273\", \"'{0}' modifier cannot appear on a type parameter\"),\n  _0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias: diag(1274, 1 /* Error */, \"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274\", \"'{0}' modifier can only appear on a type parameter of a class, interface or type alias\"),\n  accessor_modifier_can_only_appear_on_a_property_declaration: diag(1275, 1 /* Error */, \"accessor_modifier_can_only_appear_on_a_property_declaration_1275\", \"'accessor' modifier can only appear on a property declaration.\"),\n  An_accessor_property_cannot_be_declared_optional: diag(1276, 1 /* Error */, \"An_accessor_property_cannot_be_declared_optional_1276\", \"An 'accessor' property cannot be declared optional.\"),\n  with_statements_are_not_allowed_in_an_async_function_block: diag(1300, 1 /* Error */, \"with_statements_are_not_allowed_in_an_async_function_block_1300\", \"'with' statements are not allowed in an async function block.\"),\n  await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules: diag(1308, 1 /* Error */, \"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308\", \"'await' expressions are only allowed within async functions and at the top levels of modules.\"),\n  The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level: diag(1309, 1 /* Error */, \"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309\", \"The current file is a CommonJS module and cannot use 'await' at the top level.\"),\n  Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern: diag(1312, 1 /* Error */, \"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312\", \"Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern.\"),\n  The_body_of_an_if_statement_cannot_be_the_empty_statement: diag(1313, 1 /* Error */, \"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313\", \"The body of an 'if' statement cannot be the empty statement.\"),\n  Global_module_exports_may_only_appear_in_module_files: diag(1314, 1 /* Error */, \"Global_module_exports_may_only_appear_in_module_files_1314\", \"Global module exports may only appear in module files.\"),\n  Global_module_exports_may_only_appear_in_declaration_files: diag(1315, 1 /* Error */, \"Global_module_exports_may_only_appear_in_declaration_files_1315\", \"Global module exports may only appear in declaration files.\"),\n  Global_module_exports_may_only_appear_at_top_level: diag(1316, 1 /* Error */, \"Global_module_exports_may_only_appear_at_top_level_1316\", \"Global module exports may only appear at top level.\"),\n  A_parameter_property_cannot_be_declared_using_a_rest_parameter: diag(1317, 1 /* Error */, \"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317\", \"A parameter property cannot be declared using a rest parameter.\"),\n  An_abstract_accessor_cannot_have_an_implementation: diag(1318, 1 /* Error */, \"An_abstract_accessor_cannot_have_an_implementation_1318\", \"An abstract accessor cannot have an implementation.\"),\n  A_default_export_can_only_be_used_in_an_ECMAScript_style_module: diag(1319, 1 /* Error */, \"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319\", \"A default export can only be used in an ECMAScript-style module.\"),\n  Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1320, 1 /* Error */, \"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320\", \"Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member.\"),\n  Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1321, 1 /* Error */, \"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321\", \"Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member.\"),\n  Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: diag(1322, 1 /* Error */, \"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322\", \"Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member.\"),\n  Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext: diag(1323, 1 /* Error */, \"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323\", \"Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'.\"),\n  Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext: diag(1324, 1 /* Error */, \"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324\", \"Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'.\"),\n  Argument_of_dynamic_import_cannot_be_spread_element: diag(1325, 1 /* Error */, \"Argument_of_dynamic_import_cannot_be_spread_element_1325\", \"Argument of dynamic import cannot be spread element.\"),\n  This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments: diag(1326, 1 /* Error */, \"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326\", \"This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments.\"),\n  String_literal_with_double_quotes_expected: diag(1327, 1 /* Error */, \"String_literal_with_double_quotes_expected_1327\", \"String literal with double quotes expected.\"),\n  Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal: diag(1328, 1 /* Error */, \"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328\", \"Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal.\"),\n  _0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0: diag(1329, 1 /* Error */, \"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329\", \"'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?\"),\n  A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly: diag(1330, 1 /* Error */, \"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330\", \"A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.\"),\n  A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly: diag(1331, 1 /* Error */, \"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331\", \"A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.\"),\n  A_variable_whose_type_is_a_unique_symbol_type_must_be_const: diag(1332, 1 /* Error */, \"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332\", \"A variable whose type is a 'unique symbol' type must be 'const'.\"),\n  unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name: diag(1333, 1 /* Error */, \"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333\", \"'unique symbol' types may not be used on a variable declaration with a binding name.\"),\n  unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement: diag(1334, 1 /* Error */, \"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334\", \"'unique symbol' types are only allowed on variables in a variable statement.\"),\n  unique_symbol_types_are_not_allowed_here: diag(1335, 1 /* Error */, \"unique_symbol_types_are_not_allowed_here_1335\", \"'unique symbol' types are not allowed here.\"),\n  An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead: diag(1337, 1 /* Error */, \"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337\", \"An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead.\"),\n  infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type: diag(1338, 1 /* Error */, \"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338\", \"'infer' declarations are only permitted in the 'extends' clause of a conditional type.\"),\n  Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here: diag(1339, 1 /* Error */, \"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339\", \"Module '{0}' does not refer to a value, but is used as a value here.\"),\n  Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0: diag(1340, 1 /* Error */, \"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340\", \"Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?\"),\n  Class_constructor_may_not_be_an_accessor: diag(1341, 1 /* Error */, \"Class_constructor_may_not_be_an_accessor_1341\", \"Class constructor may not be an accessor.\"),\n  Type_arguments_cannot_be_used_here: diag(1342, 1 /* Error */, \"Type_arguments_cannot_be_used_here_1342\", \"Type arguments cannot be used here.\"),\n  The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext: diag(1343, 1 /* Error */, \"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343\", \"The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'.\"),\n  A_label_is_not_allowed_here: diag(1344, 1 /* Error */, \"A_label_is_not_allowed_here_1344\", \"'A label is not allowed here.\"),\n  An_expression_of_type_void_cannot_be_tested_for_truthiness: diag(1345, 1 /* Error */, \"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345\", \"An expression of type 'void' cannot be tested for truthiness.\"),\n  This_parameter_is_not_allowed_with_use_strict_directive: diag(1346, 1 /* Error */, \"This_parameter_is_not_allowed_with_use_strict_directive_1346\", \"This parameter is not allowed with 'use strict' directive.\"),\n  use_strict_directive_cannot_be_used_with_non_simple_parameter_list: diag(1347, 1 /* Error */, \"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347\", \"'use strict' directive cannot be used with non-simple parameter list.\"),\n  Non_simple_parameter_declared_here: diag(1348, 1 /* Error */, \"Non_simple_parameter_declared_here_1348\", \"Non-simple parameter declared here.\"),\n  use_strict_directive_used_here: diag(1349, 1 /* Error */, \"use_strict_directive_used_here_1349\", \"'use strict' directive used here.\"),\n  Print_the_final_configuration_instead_of_building: diag(1350, 3 /* Message */, \"Print_the_final_configuration_instead_of_building_1350\", \"Print the final configuration instead of building.\"),\n  An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal: diag(1351, 1 /* Error */, \"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351\", \"An identifier or keyword cannot immediately follow a numeric literal.\"),\n  A_bigint_literal_cannot_use_exponential_notation: diag(1352, 1 /* Error */, \"A_bigint_literal_cannot_use_exponential_notation_1352\", \"A bigint literal cannot use exponential notation.\"),\n  A_bigint_literal_must_be_an_integer: diag(1353, 1 /* Error */, \"A_bigint_literal_must_be_an_integer_1353\", \"A bigint literal must be an integer.\"),\n  readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types: diag(1354, 1 /* Error */, \"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354\", \"'readonly' type modifier is only permitted on array and tuple literal types.\"),\n  A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals: diag(1355, 1 /* Error */, \"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355\", \"A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.\"),\n  Did_you_mean_to_mark_this_function_as_async: diag(1356, 1 /* Error */, \"Did_you_mean_to_mark_this_function_as_async_1356\", \"Did you mean to mark this function as 'async'?\"),\n  An_enum_member_name_must_be_followed_by_a_or: diag(1357, 1 /* Error */, \"An_enum_member_name_must_be_followed_by_a_or_1357\", \"An enum member name must be followed by a ',', '=', or '}'.\"),\n  Tagged_template_expressions_are_not_permitted_in_an_optional_chain: diag(1358, 1 /* Error */, \"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358\", \"Tagged template expressions are not permitted in an optional chain.\"),\n  Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here: diag(1359, 1 /* Error */, \"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359\", \"Identifier expected. '{0}' is a reserved word that cannot be used here.\"),\n  Type_0_does_not_satisfy_the_expected_type_1: diag(1360, 1 /* Error */, \"Type_0_does_not_satisfy_the_expected_type_1_1360\", \"Type '{0}' does not satisfy the expected type '{1}'.\"),\n  _0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type: diag(1361, 1 /* Error */, \"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361\", \"'{0}' cannot be used as a value because it was imported using 'import type'.\"),\n  _0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type: diag(1362, 1 /* Error */, \"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362\", \"'{0}' cannot be used as a value because it was exported using 'export type'.\"),\n  A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both: diag(1363, 1 /* Error */, \"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363\", \"A type-only import can specify a default import or named bindings, but not both.\"),\n  Convert_to_type_only_export: diag(1364, 3 /* Message */, \"Convert_to_type_only_export_1364\", \"Convert to type-only export\"),\n  Convert_all_re_exported_types_to_type_only_exports: diag(1365, 3 /* Message */, \"Convert_all_re_exported_types_to_type_only_exports_1365\", \"Convert all re-exported types to type-only exports\"),\n  Split_into_two_separate_import_declarations: diag(1366, 3 /* Message */, \"Split_into_two_separate_import_declarations_1366\", \"Split into two separate import declarations\"),\n  Split_all_invalid_type_only_imports: diag(1367, 3 /* Message */, \"Split_all_invalid_type_only_imports_1367\", \"Split all invalid type-only imports\"),\n  Class_constructor_may_not_be_a_generator: diag(1368, 1 /* Error */, \"Class_constructor_may_not_be_a_generator_1368\", \"Class constructor may not be a generator.\"),\n  Did_you_mean_0: diag(1369, 3 /* Message */, \"Did_you_mean_0_1369\", \"Did you mean '{0}'?\"),\n  This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error: diag(1371, 1 /* Error */, \"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371\", \"This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'.\"),\n  Convert_to_type_only_import: diag(1373, 3 /* Message */, \"Convert_to_type_only_import_1373\", \"Convert to type-only import\"),\n  Convert_all_imports_not_used_as_a_value_to_type_only_imports: diag(1374, 3 /* Message */, \"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374\", \"Convert all imports not used as a value to type-only imports\"),\n  await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1375, 1 /* Error */, \"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375\", \"'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.\"),\n  _0_was_imported_here: diag(1376, 3 /* Message */, \"_0_was_imported_here_1376\", \"'{0}' was imported here.\"),\n  _0_was_exported_here: diag(1377, 3 /* Message */, \"_0_was_exported_here_1377\", \"'{0}' was exported here.\"),\n  Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher: diag(1378, 1 /* Error */, \"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378\", \"Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.\"),\n  An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type: diag(1379, 1 /* Error */, \"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379\", \"An import alias cannot reference a declaration that was exported using 'export type'.\"),\n  An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type: diag(1380, 1 /* Error */, \"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380\", \"An import alias cannot reference a declaration that was imported using 'import type'.\"),\n  Unexpected_token_Did_you_mean_or_rbrace: diag(1381, 1 /* Error */, \"Unexpected_token_Did_you_mean_or_rbrace_1381\", \"Unexpected token. Did you mean `{'}'}` or `&rbrace;`?\"),\n  Unexpected_token_Did_you_mean_or_gt: diag(1382, 1 /* Error */, \"Unexpected_token_Did_you_mean_or_gt_1382\", \"Unexpected token. Did you mean `{'>'}` or `&gt;`?\"),\n  Only_named_exports_may_use_export_type: diag(1383, 1 /* Error */, \"Only_named_exports_may_use_export_type_1383\", \"Only named exports may use 'export type'.\"),\n  Function_type_notation_must_be_parenthesized_when_used_in_a_union_type: diag(1385, 1 /* Error */, \"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385\", \"Function type notation must be parenthesized when used in a union type.\"),\n  Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type: diag(1386, 1 /* Error */, \"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386\", \"Constructor type notation must be parenthesized when used in a union type.\"),\n  Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type: diag(1387, 1 /* Error */, \"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387\", \"Function type notation must be parenthesized when used in an intersection type.\"),\n  Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type: diag(1388, 1 /* Error */, \"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388\", \"Constructor type notation must be parenthesized when used in an intersection type.\"),\n  _0_is_not_allowed_as_a_variable_declaration_name: diag(1389, 1 /* Error */, \"_0_is_not_allowed_as_a_variable_declaration_name_1389\", \"'{0}' is not allowed as a variable declaration name.\"),\n  _0_is_not_allowed_as_a_parameter_name: diag(1390, 1 /* Error */, \"_0_is_not_allowed_as_a_parameter_name_1390\", \"'{0}' is not allowed as a parameter name.\"),\n  An_import_alias_cannot_use_import_type: diag(1392, 1 /* Error */, \"An_import_alias_cannot_use_import_type_1392\", \"An import alias cannot use 'import type'\"),\n  Imported_via_0_from_file_1: diag(1393, 3 /* Message */, \"Imported_via_0_from_file_1_1393\", \"Imported via {0} from file '{1}'\"),\n  Imported_via_0_from_file_1_with_packageId_2: diag(1394, 3 /* Message */, \"Imported_via_0_from_file_1_with_packageId_2_1394\", \"Imported via {0} from file '{1}' with packageId '{2}'\"),\n  Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions: diag(1395, 3 /* Message */, \"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395\", \"Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions\"),\n  Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions: diag(1396, 3 /* Message */, \"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396\", \"Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions\"),\n  Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions: diag(1397, 3 /* Message */, \"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397\", \"Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions\"),\n  Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions: diag(1398, 3 /* Message */, \"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398\", \"Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions\"),\n  File_is_included_via_import_here: diag(1399, 3 /* Message */, \"File_is_included_via_import_here_1399\", \"File is included via import here.\"),\n  Referenced_via_0_from_file_1: diag(1400, 3 /* Message */, \"Referenced_via_0_from_file_1_1400\", \"Referenced via '{0}' from file '{1}'\"),\n  File_is_included_via_reference_here: diag(1401, 3 /* Message */, \"File_is_included_via_reference_here_1401\", \"File is included via reference here.\"),\n  Type_library_referenced_via_0_from_file_1: diag(1402, 3 /* Message */, \"Type_library_referenced_via_0_from_file_1_1402\", \"Type library referenced via '{0}' from file '{1}'\"),\n  Type_library_referenced_via_0_from_file_1_with_packageId_2: diag(1403, 3 /* Message */, \"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403\", \"Type library referenced via '{0}' from file '{1}' with packageId '{2}'\"),\n  File_is_included_via_type_library_reference_here: diag(1404, 3 /* Message */, \"File_is_included_via_type_library_reference_here_1404\", \"File is included via type library reference here.\"),\n  Library_referenced_via_0_from_file_1: diag(1405, 3 /* Message */, \"Library_referenced_via_0_from_file_1_1405\", \"Library referenced via '{0}' from file '{1}'\"),\n  File_is_included_via_library_reference_here: diag(1406, 3 /* Message */, \"File_is_included_via_library_reference_here_1406\", \"File is included via library reference here.\"),\n  Matched_by_include_pattern_0_in_1: diag(1407, 3 /* Message */, \"Matched_by_include_pattern_0_in_1_1407\", \"Matched by include pattern '{0}' in '{1}'\"),\n  File_is_matched_by_include_pattern_specified_here: diag(1408, 3 /* Message */, \"File_is_matched_by_include_pattern_specified_here_1408\", \"File is matched by include pattern specified here.\"),\n  Part_of_files_list_in_tsconfig_json: diag(1409, 3 /* Message */, \"Part_of_files_list_in_tsconfig_json_1409\", \"Part of 'files' list in tsconfig.json\"),\n  File_is_matched_by_files_list_specified_here: diag(1410, 3 /* Message */, \"File_is_matched_by_files_list_specified_here_1410\", \"File is matched by 'files' list specified here.\"),\n  Output_from_referenced_project_0_included_because_1_specified: diag(1411, 3 /* Message */, \"Output_from_referenced_project_0_included_because_1_specified_1411\", \"Output from referenced project '{0}' included because '{1}' specified\"),\n  Output_from_referenced_project_0_included_because_module_is_specified_as_none: diag(1412, 3 /* Message */, \"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412\", \"Output from referenced project '{0}' included because '--module' is specified as 'none'\"),\n  File_is_output_from_referenced_project_specified_here: diag(1413, 3 /* Message */, \"File_is_output_from_referenced_project_specified_here_1413\", \"File is output from referenced project specified here.\"),\n  Source_from_referenced_project_0_included_because_1_specified: diag(1414, 3 /* Message */, \"Source_from_referenced_project_0_included_because_1_specified_1414\", \"Source from referenced project '{0}' included because '{1}' specified\"),\n  Source_from_referenced_project_0_included_because_module_is_specified_as_none: diag(1415, 3 /* Message */, \"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415\", \"Source from referenced project '{0}' included because '--module' is specified as 'none'\"),\n  File_is_source_from_referenced_project_specified_here: diag(1416, 3 /* Message */, \"File_is_source_from_referenced_project_specified_here_1416\", \"File is source from referenced project specified here.\"),\n  Entry_point_of_type_library_0_specified_in_compilerOptions: diag(1417, 3 /* Message */, \"Entry_point_of_type_library_0_specified_in_compilerOptions_1417\", \"Entry point of type library '{0}' specified in compilerOptions\"),\n  Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1: diag(1418, 3 /* Message */, \"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418\", \"Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'\"),\n  File_is_entry_point_of_type_library_specified_here: diag(1419, 3 /* Message */, \"File_is_entry_point_of_type_library_specified_here_1419\", \"File is entry point of type library specified here.\"),\n  Entry_point_for_implicit_type_library_0: diag(1420, 3 /* Message */, \"Entry_point_for_implicit_type_library_0_1420\", \"Entry point for implicit type library '{0}'\"),\n  Entry_point_for_implicit_type_library_0_with_packageId_1: diag(1421, 3 /* Message */, \"Entry_point_for_implicit_type_library_0_with_packageId_1_1421\", \"Entry point for implicit type library '{0}' with packageId '{1}'\"),\n  Library_0_specified_in_compilerOptions: diag(1422, 3 /* Message */, \"Library_0_specified_in_compilerOptions_1422\", \"Library '{0}' specified in compilerOptions\"),\n  File_is_library_specified_here: diag(1423, 3 /* Message */, \"File_is_library_specified_here_1423\", \"File is library specified here.\"),\n  Default_library: diag(1424, 3 /* Message */, \"Default_library_1424\", \"Default library\"),\n  Default_library_for_target_0: diag(1425, 3 /* Message */, \"Default_library_for_target_0_1425\", \"Default library for target '{0}'\"),\n  File_is_default_library_for_target_specified_here: diag(1426, 3 /* Message */, \"File_is_default_library_for_target_specified_here_1426\", \"File is default library for target specified here.\"),\n  Root_file_specified_for_compilation: diag(1427, 3 /* Message */, \"Root_file_specified_for_compilation_1427\", \"Root file specified for compilation\"),\n  File_is_output_of_project_reference_source_0: diag(1428, 3 /* Message */, \"File_is_output_of_project_reference_source_0_1428\", \"File is output of project reference source '{0}'\"),\n  File_redirects_to_file_0: diag(1429, 3 /* Message */, \"File_redirects_to_file_0_1429\", \"File redirects to file '{0}'\"),\n  The_file_is_in_the_program_because_Colon: diag(1430, 3 /* Message */, \"The_file_is_in_the_program_because_Colon_1430\", \"The file is in the program because:\"),\n  for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module: diag(1431, 1 /* Error */, \"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431\", \"'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.\"),\n  Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher: diag(1432, 1 /* Error */, \"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432\", \"Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.\"),\n  Decorators_may_not_be_applied_to_this_parameters: diag(1433, 1 /* Error */, \"Decorators_may_not_be_applied_to_this_parameters_1433\", \"Decorators may not be applied to 'this' parameters.\"),\n  Unexpected_keyword_or_identifier: diag(1434, 1 /* Error */, \"Unexpected_keyword_or_identifier_1434\", \"Unexpected keyword or identifier.\"),\n  Unknown_keyword_or_identifier_Did_you_mean_0: diag(1435, 1 /* Error */, \"Unknown_keyword_or_identifier_Did_you_mean_0_1435\", \"Unknown keyword or identifier. Did you mean '{0}'?\"),\n  Decorators_must_precede_the_name_and_all_keywords_of_property_declarations: diag(1436, 1 /* Error */, \"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436\", \"Decorators must precede the name and all keywords of property declarations.\"),\n  Namespace_must_be_given_a_name: diag(1437, 1 /* Error */, \"Namespace_must_be_given_a_name_1437\", \"Namespace must be given a name.\"),\n  Interface_must_be_given_a_name: diag(1438, 1 /* Error */, \"Interface_must_be_given_a_name_1438\", \"Interface must be given a name.\"),\n  Type_alias_must_be_given_a_name: diag(1439, 1 /* Error */, \"Type_alias_must_be_given_a_name_1439\", \"Type alias must be given a name.\"),\n  Variable_declaration_not_allowed_at_this_location: diag(1440, 1 /* Error */, \"Variable_declaration_not_allowed_at_this_location_1440\", \"Variable declaration not allowed at this location.\"),\n  Cannot_start_a_function_call_in_a_type_annotation: diag(1441, 1 /* Error */, \"Cannot_start_a_function_call_in_a_type_annotation_1441\", \"Cannot start a function call in a type annotation.\"),\n  Expected_for_property_initializer: diag(1442, 1 /* Error */, \"Expected_for_property_initializer_1442\", \"Expected '=' for property initializer.\"),\n  Module_declaration_names_may_only_use_or_quoted_strings: diag(1443, 1 /* Error */, \"Module_declaration_names_may_only_use_or_quoted_strings_1443\", `Module declaration names may only use ' or \" quoted strings.`),\n  _0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled: diag(1444, 1 /* Error */, \"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444\", \"'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.\"),\n  _0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled: diag(1446, 1 /* Error */, \"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446\", \"'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled.\"),\n  _0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled: diag(1448, 1 /* Error */, \"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448\", \"'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when 'isolatedModules' is enabled.\"),\n  Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed: diag(1449, 3 /* Message */, \"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449\", \"Preserve unused imported values in the JavaScript output that would otherwise be removed.\"),\n  Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments: diag(1450, 3 /* Message */, \"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450\", \"Dynamic imports can only accept a module specifier and an optional assertion as arguments\"),\n  Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression: diag(1451, 1 /* Error */, \"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451\", \"Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression\"),\n  resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext: diag(1452, 1 /* Error */, \"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452\", \"'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`.\"),\n  resolution_mode_should_be_either_require_or_import: diag(1453, 1 /* Error */, \"resolution_mode_should_be_either_require_or_import_1453\", \"`resolution-mode` should be either `require` or `import`.\"),\n  resolution_mode_can_only_be_set_for_type_only_imports: diag(1454, 1 /* Error */, \"resolution_mode_can_only_be_set_for_type_only_imports_1454\", \"`resolution-mode` can only be set for type-only imports.\"),\n  resolution_mode_is_the_only_valid_key_for_type_import_assertions: diag(1455, 1 /* Error */, \"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455\", \"`resolution-mode` is the only valid key for type import assertions.\"),\n  Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require: diag(1456, 1 /* Error */, \"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456\", \"Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`.\"),\n  Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk: diag(1457, 3 /* Message */, \"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457\", \"Matched by default include pattern '**/*'\"),\n  File_is_ECMAScript_module_because_0_has_field_type_with_value_module: diag(1458, 3 /* Message */, \"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458\", `File is ECMAScript module because '{0}' has field \"type\" with value \"module\"`),\n  File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module: diag(1459, 3 /* Message */, \"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459\", `File is CommonJS module because '{0}' has field \"type\" whose value is not \"module\"`),\n  File_is_CommonJS_module_because_0_does_not_have_field_type: diag(1460, 3 /* Message */, \"File_is_CommonJS_module_because_0_does_not_have_field_type_1460\", `File is CommonJS module because '{0}' does not have field \"type\"`),\n  File_is_CommonJS_module_because_package_json_was_not_found: diag(1461, 3 /* Message */, \"File_is_CommonJS_module_because_package_json_was_not_found_1461\", \"File is CommonJS module because 'package.json' was not found\"),\n  The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output: diag(1470, 1 /* Error */, \"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470\", \"The 'import.meta' meta-property is not allowed in files which will build into CommonJS output.\"),\n  Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead: diag(1471, 1 /* Error */, \"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471\", \"Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead.\"),\n  catch_or_finally_expected: diag(1472, 1 /* Error */, \"catch_or_finally_expected_1472\", \"'catch' or 'finally' expected.\"),\n  An_import_declaration_can_only_be_used_at_the_top_level_of_a_module: diag(1473, 1 /* Error */, \"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473\", \"An import declaration can only be used at the top level of a module.\"),\n  An_export_declaration_can_only_be_used_at_the_top_level_of_a_module: diag(1474, 1 /* Error */, \"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474\", \"An export declaration can only be used at the top level of a module.\"),\n  Control_what_method_is_used_to_detect_module_format_JS_files: diag(1475, 3 /* Message */, \"Control_what_method_is_used_to_detect_module_format_JS_files_1475\", \"Control what method is used to detect module-format JS files.\"),\n  auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules: diag(1476, 3 /* Message */, \"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476\", '\"auto\": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),\n  An_instantiation_expression_cannot_be_followed_by_a_property_access: diag(1477, 1 /* Error */, \"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477\", \"An instantiation expression cannot be followed by a property access.\"),\n  Identifier_or_string_literal_expected: diag(1478, 1 /* Error */, \"Identifier_or_string_literal_expected_1478\", \"Identifier or string literal expected.\"),\n  The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead: diag(1479, 1 /* Error */, \"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479\", `The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead.`),\n  To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module: diag(1480, 3 /* Message */, \"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480\", 'To convert this file to an ECMAScript module, change its file extension to \\'{0}\\' or create a local package.json file with `{ \"type\": \"module\" }`.'),\n  To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1: diag(1481, 3 /* Message */, \"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481\", `To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \\`\"type\": \"module\"\\` to '{1}'.`),\n  To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0: diag(1482, 3 /* Message */, \"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482\", 'To convert this file to an ECMAScript module, add the field `\"type\": \"module\"` to \\'{0}\\'.'),\n  To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module: diag(1483, 3 /* Message */, \"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483\", 'To convert this file to an ECMAScript module, create a local package.json file with `{ \"type\": \"module\" }`.'),\n  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* Error */, \"The_types_of_0_are_incompatible_between_these_types_2200\", \"The types of '{0}' are incompatible between these types.\"),\n  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1 /* Error */, \"The_types_returned_by_0_are_incompatible_between_these_types_2201\", \"The types returned by '{0}' are incompatible between these types.\"),\n  Call_signature_return_types_0_and_1_are_incompatible: diag(2202, 1 /* Error */, \"Call_signature_return_types_0_and_1_are_incompatible_2202\", \"Call signature return types '{0}' and '{1}' are incompatible.\", void 0, true),\n  Construct_signature_return_types_0_and_1_are_incompatible: diag(2203, 1 /* Error */, \"Construct_signature_return_types_0_and_1_are_incompatible_2203\", \"Construct signature return types '{0}' and '{1}' are incompatible.\", void 0, true),\n  Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag(2204, 1 /* Error */, \"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204\", \"Call signatures with no arguments have incompatible return types '{0}' and '{1}'.\", void 0, true),\n  Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1: diag(2205, 1 /* Error */, \"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205\", \"Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.\", void 0, true),\n  The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement: diag(2206, 1 /* Error */, \"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206\", \"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.\"),\n  The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement: diag(2207, 1 /* Error */, \"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207\", \"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.\"),\n  This_type_parameter_might_need_an_extends_0_constraint: diag(2208, 1 /* Error */, \"This_type_parameter_might_need_an_extends_0_constraint_2208\", \"This type parameter might need an `extends {0}` constraint.\"),\n  The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: diag(2209, 1 /* Error */, \"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209\", \"The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate.\"),\n  The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate: diag(2210, 1 /* Error */, \"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210\", \"The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate.\"),\n  Add_extends_constraint: diag(2211, 3 /* Message */, \"Add_extends_constraint_2211\", \"Add `extends` constraint.\"),\n  Add_extends_constraint_to_all_type_parameters: diag(2212, 3 /* Message */, \"Add_extends_constraint_to_all_type_parameters_2212\", \"Add `extends` constraint to all type parameters\"),\n  Duplicate_identifier_0: diag(2300, 1 /* Error */, \"Duplicate_identifier_0_2300\", \"Duplicate identifier '{0}'.\"),\n  Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2301, 1 /* Error */, \"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301\", \"Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.\"),\n  Static_members_cannot_reference_class_type_parameters: diag(2302, 1 /* Error */, \"Static_members_cannot_reference_class_type_parameters_2302\", \"Static members cannot reference class type parameters.\"),\n  Circular_definition_of_import_alias_0: diag(2303, 1 /* Error */, \"Circular_definition_of_import_alias_0_2303\", \"Circular definition of import alias '{0}'.\"),\n  Cannot_find_name_0: diag(2304, 1 /* Error */, \"Cannot_find_name_0_2304\", \"Cannot find name '{0}'.\"),\n  Module_0_has_no_exported_member_1: diag(2305, 1 /* Error */, \"Module_0_has_no_exported_member_1_2305\", \"Module '{0}' has no exported member '{1}'.\"),\n  File_0_is_not_a_module: diag(2306, 1 /* Error */, \"File_0_is_not_a_module_2306\", \"File '{0}' is not a module.\"),\n  Cannot_find_module_0_or_its_corresponding_type_declarations: diag(2307, 1 /* Error */, \"Cannot_find_module_0_or_its_corresponding_type_declarations_2307\", \"Cannot find module '{0}' or its corresponding type declarations.\"),\n  Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity: diag(2308, 1 /* Error */, \"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308\", \"Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity.\"),\n  An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements: diag(2309, 1 /* Error */, \"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309\", \"An export assignment cannot be used in a module with other exported elements.\"),\n  Type_0_recursively_references_itself_as_a_base_type: diag(2310, 1 /* Error */, \"Type_0_recursively_references_itself_as_a_base_type_2310\", \"Type '{0}' recursively references itself as a base type.\"),\n  Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function: diag(2311, 1 /* Error */, \"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311\", \"Cannot find name '{0}'. Did you mean to write this in an async function?\"),\n  An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2312, 1 /* Error */, \"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312\", \"An interface can only extend an object type or intersection of object types with statically known members.\"),\n  Type_parameter_0_has_a_circular_constraint: diag(2313, 1 /* Error */, \"Type_parameter_0_has_a_circular_constraint_2313\", \"Type parameter '{0}' has a circular constraint.\"),\n  Generic_type_0_requires_1_type_argument_s: diag(2314, 1 /* Error */, \"Generic_type_0_requires_1_type_argument_s_2314\", \"Generic type '{0}' requires {1} type argument(s).\"),\n  Type_0_is_not_generic: diag(2315, 1 /* Error */, \"Type_0_is_not_generic_2315\", \"Type '{0}' is not generic.\"),\n  Global_type_0_must_be_a_class_or_interface_type: diag(2316, 1 /* Error */, \"Global_type_0_must_be_a_class_or_interface_type_2316\", \"Global type '{0}' must be a class or interface type.\"),\n  Global_type_0_must_have_1_type_parameter_s: diag(2317, 1 /* Error */, \"Global_type_0_must_have_1_type_parameter_s_2317\", \"Global type '{0}' must have {1} type parameter(s).\"),\n  Cannot_find_global_type_0: diag(2318, 1 /* Error */, \"Cannot_find_global_type_0_2318\", \"Cannot find global type '{0}'.\"),\n  Named_property_0_of_types_1_and_2_are_not_identical: diag(2319, 1 /* Error */, \"Named_property_0_of_types_1_and_2_are_not_identical_2319\", \"Named property '{0}' of types '{1}' and '{2}' are not identical.\"),\n  Interface_0_cannot_simultaneously_extend_types_1_and_2: diag(2320, 1 /* Error */, \"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320\", \"Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'.\"),\n  Excessive_stack_depth_comparing_types_0_and_1: diag(2321, 1 /* Error */, \"Excessive_stack_depth_comparing_types_0_and_1_2321\", \"Excessive stack depth comparing types '{0}' and '{1}'.\"),\n  Type_0_is_not_assignable_to_type_1: diag(2322, 1 /* Error */, \"Type_0_is_not_assignable_to_type_1_2322\", \"Type '{0}' is not assignable to type '{1}'.\"),\n  Cannot_redeclare_exported_variable_0: diag(2323, 1 /* Error */, \"Cannot_redeclare_exported_variable_0_2323\", \"Cannot redeclare exported variable '{0}'.\"),\n  Property_0_is_missing_in_type_1: diag(2324, 1 /* Error */, \"Property_0_is_missing_in_type_1_2324\", \"Property '{0}' is missing in type '{1}'.\"),\n  Property_0_is_private_in_type_1_but_not_in_type_2: diag(2325, 1 /* Error */, \"Property_0_is_private_in_type_1_but_not_in_type_2_2325\", \"Property '{0}' is private in type '{1}' but not in type '{2}'.\"),\n  Types_of_property_0_are_incompatible: diag(2326, 1 /* Error */, \"Types_of_property_0_are_incompatible_2326\", \"Types of property '{0}' are incompatible.\"),\n  Property_0_is_optional_in_type_1_but_required_in_type_2: diag(2327, 1 /* Error */, \"Property_0_is_optional_in_type_1_but_required_in_type_2_2327\", \"Property '{0}' is optional in type '{1}' but required in type '{2}'.\"),\n  Types_of_parameters_0_and_1_are_incompatible: diag(2328, 1 /* Error */, \"Types_of_parameters_0_and_1_are_incompatible_2328\", \"Types of parameters '{0}' and '{1}' are incompatible.\"),\n  Index_signature_for_type_0_is_missing_in_type_1: diag(2329, 1 /* Error */, \"Index_signature_for_type_0_is_missing_in_type_1_2329\", \"Index signature for type '{0}' is missing in type '{1}'.\"),\n  _0_and_1_index_signatures_are_incompatible: diag(2330, 1 /* Error */, \"_0_and_1_index_signatures_are_incompatible_2330\", \"'{0}' and '{1}' index signatures are incompatible.\"),\n  this_cannot_be_referenced_in_a_module_or_namespace_body: diag(2331, 1 /* Error */, \"this_cannot_be_referenced_in_a_module_or_namespace_body_2331\", \"'this' cannot be referenced in a module or namespace body.\"),\n  this_cannot_be_referenced_in_current_location: diag(2332, 1 /* Error */, \"this_cannot_be_referenced_in_current_location_2332\", \"'this' cannot be referenced in current location.\"),\n  this_cannot_be_referenced_in_constructor_arguments: diag(2333, 1 /* Error */, \"this_cannot_be_referenced_in_constructor_arguments_2333\", \"'this' cannot be referenced in constructor arguments.\"),\n  this_cannot_be_referenced_in_a_static_property_initializer: diag(2334, 1 /* Error */, \"this_cannot_be_referenced_in_a_static_property_initializer_2334\", \"'this' cannot be referenced in a static property initializer.\"),\n  super_can_only_be_referenced_in_a_derived_class: diag(2335, 1 /* Error */, \"super_can_only_be_referenced_in_a_derived_class_2335\", \"'super' can only be referenced in a derived class.\"),\n  super_cannot_be_referenced_in_constructor_arguments: diag(2336, 1 /* Error */, \"super_cannot_be_referenced_in_constructor_arguments_2336\", \"'super' cannot be referenced in constructor arguments.\"),\n  Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: diag(2337, 1 /* Error */, \"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337\", \"Super calls are not permitted outside constructors or in nested functions inside constructors.\"),\n  super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: diag(2338, 1 /* Error */, \"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338\", \"'super' property access is permitted only in a constructor, member function, or member accessor of a derived class.\"),\n  Property_0_does_not_exist_on_type_1: diag(2339, 1 /* Error */, \"Property_0_does_not_exist_on_type_1_2339\", \"Property '{0}' does not exist on type '{1}'.\"),\n  Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: diag(2340, 1 /* Error */, \"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340\", \"Only public and protected methods of the base class are accessible via the 'super' keyword.\"),\n  Property_0_is_private_and_only_accessible_within_class_1: diag(2341, 1 /* Error */, \"Property_0_is_private_and_only_accessible_within_class_1_2341\", \"Property '{0}' is private and only accessible within class '{1}'.\"),\n  This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0: diag(2343, 1 /* Error */, \"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343\", \"This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'.\"),\n  Type_0_does_not_satisfy_the_constraint_1: diag(2344, 1 /* Error */, \"Type_0_does_not_satisfy_the_constraint_1_2344\", \"Type '{0}' does not satisfy the constraint '{1}'.\"),\n  Argument_of_type_0_is_not_assignable_to_parameter_of_type_1: diag(2345, 1 /* Error */, \"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345\", \"Argument of type '{0}' is not assignable to parameter of type '{1}'.\"),\n  Call_target_does_not_contain_any_signatures: diag(2346, 1 /* Error */, \"Call_target_does_not_contain_any_signatures_2346\", \"Call target does not contain any signatures.\"),\n  Untyped_function_calls_may_not_accept_type_arguments: diag(2347, 1 /* Error */, \"Untyped_function_calls_may_not_accept_type_arguments_2347\", \"Untyped function calls may not accept type arguments.\"),\n  Value_of_type_0_is_not_callable_Did_you_mean_to_include_new: diag(2348, 1 /* Error */, \"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348\", \"Value of type '{0}' is not callable. Did you mean to include 'new'?\"),\n  This_expression_is_not_callable: diag(2349, 1 /* Error */, \"This_expression_is_not_callable_2349\", \"This expression is not callable.\"),\n  Only_a_void_function_can_be_called_with_the_new_keyword: diag(2350, 1 /* Error */, \"Only_a_void_function_can_be_called_with_the_new_keyword_2350\", \"Only a void function can be called with the 'new' keyword.\"),\n  This_expression_is_not_constructable: diag(2351, 1 /* Error */, \"This_expression_is_not_constructable_2351\", \"This expression is not constructable.\"),\n  Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first: diag(2352, 1 /* Error */, \"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352\", \"Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.\"),\n  Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1: diag(2353, 1 /* Error */, \"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353\", \"Object literal may only specify known properties, and '{0}' does not exist in type '{1}'.\"),\n  This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found: diag(2354, 1 /* Error */, \"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354\", \"This syntax requires an imported helper but module '{0}' cannot be found.\"),\n  A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value: diag(2355, 1 /* Error */, \"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355\", \"A function whose declared type is neither 'void' nor 'any' must return a value.\"),\n  An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2356, 1 /* Error */, \"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356\", \"An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type.\"),\n  The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access: diag(2357, 1 /* Error */, \"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357\", \"The operand of an increment or decrement operator must be a variable or a property access.\"),\n  The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter: diag(2358, 1 /* Error */, \"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358\", \"The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter.\"),\n  The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type: diag(2359, 1 /* Error */, \"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359\", \"The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type.\"),\n  The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2362, 1 /* Error */, \"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362\", \"The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.\"),\n  The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type: diag(2363, 1 /* Error */, \"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363\", \"The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type.\"),\n  The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access: diag(2364, 1 /* Error */, \"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364\", \"The left-hand side of an assignment expression must be a variable or a property access.\"),\n  Operator_0_cannot_be_applied_to_types_1_and_2: diag(2365, 1 /* Error */, \"Operator_0_cannot_be_applied_to_types_1_and_2_2365\", \"Operator '{0}' cannot be applied to types '{1}' and '{2}'.\"),\n  Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined: diag(2366, 1 /* Error */, \"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366\", \"Function lacks ending return statement and return type does not include 'undefined'.\"),\n  This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap: diag(2367, 1 /* Error */, \"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367\", \"This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap.\"),\n  Type_parameter_name_cannot_be_0: diag(2368, 1 /* Error */, \"Type_parameter_name_cannot_be_0_2368\", \"Type parameter name cannot be '{0}'.\"),\n  A_parameter_property_is_only_allowed_in_a_constructor_implementation: diag(2369, 1 /* Error */, \"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369\", \"A parameter property is only allowed in a constructor implementation.\"),\n  A_rest_parameter_must_be_of_an_array_type: diag(2370, 1 /* Error */, \"A_rest_parameter_must_be_of_an_array_type_2370\", \"A rest parameter must be of an array type.\"),\n  A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation: diag(2371, 1 /* Error */, \"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371\", \"A parameter initializer is only allowed in a function or constructor implementation.\"),\n  Parameter_0_cannot_reference_itself: diag(2372, 1 /* Error */, \"Parameter_0_cannot_reference_itself_2372\", \"Parameter '{0}' cannot reference itself.\"),\n  Parameter_0_cannot_reference_identifier_1_declared_after_it: diag(2373, 1 /* Error */, \"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373\", \"Parameter '{0}' cannot reference identifier '{1}' declared after it.\"),\n  Duplicate_index_signature_for_type_0: diag(2374, 1 /* Error */, \"Duplicate_index_signature_for_type_0_2374\", \"Duplicate index signature for type '{0}'.\"),\n  Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: diag(2375, 1 /* Error */, \"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375\", \"Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.\"),\n  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: diag(2376, 1 /* Error */, \"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376\", \"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.\"),\n  Constructors_for_derived_classes_must_contain_a_super_call: diag(2377, 1 /* Error */, \"Constructors_for_derived_classes_must_contain_a_super_call_2377\", \"Constructors for derived classes must contain a 'super' call.\"),\n  A_get_accessor_must_return_a_value: diag(2378, 1 /* Error */, \"A_get_accessor_must_return_a_value_2378\", \"A 'get' accessor must return a value.\"),\n  Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties: diag(2379, 1 /* Error */, \"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379\", \"Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties.\"),\n  The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type: diag(2380, 1 /* Error */, \"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380\", \"The return type of a 'get' accessor must be assignable to its 'set' accessor type\"),\n  Overload_signatures_must_all_be_exported_or_non_exported: diag(2383, 1 /* Error */, \"Overload_signatures_must_all_be_exported_or_non_exported_2383\", \"Overload signatures must all be exported or non-exported.\"),\n  Overload_signatures_must_all_be_ambient_or_non_ambient: diag(2384, 1 /* Error */, \"Overload_signatures_must_all_be_ambient_or_non_ambient_2384\", \"Overload signatures must all be ambient or non-ambient.\"),\n  Overload_signatures_must_all_be_public_private_or_protected: diag(2385, 1 /* Error */, \"Overload_signatures_must_all_be_public_private_or_protected_2385\", \"Overload signatures must all be public, private or protected.\"),\n  Overload_signatures_must_all_be_optional_or_required: diag(2386, 1 /* Error */, \"Overload_signatures_must_all_be_optional_or_required_2386\", \"Overload signatures must all be optional or required.\"),\n  Function_overload_must_be_static: diag(2387, 1 /* Error */, \"Function_overload_must_be_static_2387\", \"Function overload must be static.\"),\n  Function_overload_must_not_be_static: diag(2388, 1 /* Error */, \"Function_overload_must_not_be_static_2388\", \"Function overload must not be static.\"),\n  Function_implementation_name_must_be_0: diag(2389, 1 /* Error */, \"Function_implementation_name_must_be_0_2389\", \"Function implementation name must be '{0}'.\"),\n  Constructor_implementation_is_missing: diag(2390, 1 /* Error */, \"Constructor_implementation_is_missing_2390\", \"Constructor implementation is missing.\"),\n  Function_implementation_is_missing_or_not_immediately_following_the_declaration: diag(2391, 1 /* Error */, \"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391\", \"Function implementation is missing or not immediately following the declaration.\"),\n  Multiple_constructor_implementations_are_not_allowed: diag(2392, 1 /* Error */, \"Multiple_constructor_implementations_are_not_allowed_2392\", \"Multiple constructor implementations are not allowed.\"),\n  Duplicate_function_implementation: diag(2393, 1 /* Error */, \"Duplicate_function_implementation_2393\", \"Duplicate function implementation.\"),\n  This_overload_signature_is_not_compatible_with_its_implementation_signature: diag(2394, 1 /* Error */, \"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394\", \"This overload signature is not compatible with its implementation signature.\"),\n  Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local: diag(2395, 1 /* Error */, \"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395\", \"Individual declarations in merged declaration '{0}' must be all exported or all local.\"),\n  Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters: diag(2396, 1 /* Error */, \"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396\", \"Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters.\"),\n  Declaration_name_conflicts_with_built_in_global_identifier_0: diag(2397, 1 /* Error */, \"Declaration_name_conflicts_with_built_in_global_identifier_0_2397\", \"Declaration name conflicts with built-in global identifier '{0}'.\"),\n  constructor_cannot_be_used_as_a_parameter_property_name: diag(2398, 1 /* Error */, \"constructor_cannot_be_used_as_a_parameter_property_name_2398\", \"'constructor' cannot be used as a parameter property name.\"),\n  Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference: diag(2399, 1 /* Error */, \"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399\", \"Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference.\"),\n  Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference: diag(2400, 1 /* Error */, \"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400\", \"Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference.\"),\n  A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers: diag(2401, 1 /* Error */, \"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401\", \"A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers.\"),\n  Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference: diag(2402, 1 /* Error */, \"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402\", \"Expression resolves to '_super' that compiler uses to capture base class reference.\"),\n  Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2: diag(2403, 1 /* Error */, \"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403\", \"Subsequent variable declarations must have the same type.  Variable '{0}' must be of type '{1}', but here has type '{2}'.\"),\n  The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation: diag(2404, 1 /* Error */, \"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404\", \"The left-hand side of a 'for...in' statement cannot use a type annotation.\"),\n  The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any: diag(2405, 1 /* Error */, \"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405\", \"The left-hand side of a 'for...in' statement must be of type 'string' or 'any'.\"),\n  The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access: diag(2406, 1 /* Error */, \"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406\", \"The left-hand side of a 'for...in' statement must be a variable or a property access.\"),\n  The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0: diag(2407, 1 /* Error */, \"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407\", \"The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'.\"),\n  Setters_cannot_return_a_value: diag(2408, 1 /* Error */, \"Setters_cannot_return_a_value_2408\", \"Setters cannot return a value.\"),\n  Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class: diag(2409, 1 /* Error */, \"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409\", \"Return type of constructor signature must be assignable to the instance type of the class.\"),\n  The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any: diag(2410, 1 /* Error */, \"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410\", \"The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'.\"),\n  Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target: diag(2412, 1 /* Error */, \"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412\", \"Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target.\"),\n  Property_0_of_type_1_is_not_assignable_to_2_index_type_3: diag(2411, 1 /* Error */, \"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411\", \"Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'.\"),\n  _0_index_type_1_is_not_assignable_to_2_index_type_3: diag(2413, 1 /* Error */, \"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413\", \"'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'.\"),\n  Class_name_cannot_be_0: diag(2414, 1 /* Error */, \"Class_name_cannot_be_0_2414\", \"Class name cannot be '{0}'.\"),\n  Class_0_incorrectly_extends_base_class_1: diag(2415, 1 /* Error */, \"Class_0_incorrectly_extends_base_class_1_2415\", \"Class '{0}' incorrectly extends base class '{1}'.\"),\n  Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2: diag(2416, 1 /* Error */, \"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416\", \"Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.\"),\n  Class_static_side_0_incorrectly_extends_base_class_static_side_1: diag(2417, 1 /* Error */, \"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417\", \"Class static side '{0}' incorrectly extends base class static side '{1}'.\"),\n  Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1: diag(2418, 1 /* Error */, \"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418\", \"Type of computed property's value is '{0}', which is not assignable to type '{1}'.\"),\n  Types_of_construct_signatures_are_incompatible: diag(2419, 1 /* Error */, \"Types_of_construct_signatures_are_incompatible_2419\", \"Types of construct signatures are incompatible.\"),\n  Class_0_incorrectly_implements_interface_1: diag(2420, 1 /* Error */, \"Class_0_incorrectly_implements_interface_1_2420\", \"Class '{0}' incorrectly implements interface '{1}'.\"),\n  A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2422, 1 /* Error */, \"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422\", \"A class can only implement an object type or intersection of object types with statically known members.\"),\n  Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor: diag(2423, 1 /* Error */, \"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423\", \"Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor.\"),\n  Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function: diag(2425, 1 /* Error */, \"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425\", \"Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function.\"),\n  Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function: diag(2426, 1 /* Error */, \"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426\", \"Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function.\"),\n  Interface_name_cannot_be_0: diag(2427, 1 /* Error */, \"Interface_name_cannot_be_0_2427\", \"Interface name cannot be '{0}'.\"),\n  All_declarations_of_0_must_have_identical_type_parameters: diag(2428, 1 /* Error */, \"All_declarations_of_0_must_have_identical_type_parameters_2428\", \"All declarations of '{0}' must have identical type parameters.\"),\n  Interface_0_incorrectly_extends_interface_1: diag(2430, 1 /* Error */, \"Interface_0_incorrectly_extends_interface_1_2430\", \"Interface '{0}' incorrectly extends interface '{1}'.\"),\n  Enum_name_cannot_be_0: diag(2431, 1 /* Error */, \"Enum_name_cannot_be_0_2431\", \"Enum name cannot be '{0}'.\"),\n  In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element: diag(2432, 1 /* Error */, \"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432\", \"In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element.\"),\n  A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged: diag(2433, 1 /* Error */, \"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433\", \"A namespace declaration cannot be in a different file from a class or function with which it is merged.\"),\n  A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged: diag(2434, 1 /* Error */, \"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434\", \"A namespace declaration cannot be located prior to a class or function with which it is merged.\"),\n  Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces: diag(2435, 1 /* Error */, \"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435\", \"Ambient modules cannot be nested in other modules or namespaces.\"),\n  Ambient_module_declaration_cannot_specify_relative_module_name: diag(2436, 1 /* Error */, \"Ambient_module_declaration_cannot_specify_relative_module_name_2436\", \"Ambient module declaration cannot specify relative module name.\"),\n  Module_0_is_hidden_by_a_local_declaration_with_the_same_name: diag(2437, 1 /* Error */, \"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437\", \"Module '{0}' is hidden by a local declaration with the same name.\"),\n  Import_name_cannot_be_0: diag(2438, 1 /* Error */, \"Import_name_cannot_be_0_2438\", \"Import name cannot be '{0}'.\"),\n  Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name: diag(2439, 1 /* Error */, \"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439\", \"Import or export declaration in an ambient module declaration cannot reference module through relative module name.\"),\n  Import_declaration_conflicts_with_local_declaration_of_0: diag(2440, 1 /* Error */, \"Import_declaration_conflicts_with_local_declaration_of_0_2440\", \"Import declaration conflicts with local declaration of '{0}'.\"),\n  Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module: diag(2441, 1 /* Error */, \"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441\", \"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module.\"),\n  Types_have_separate_declarations_of_a_private_property_0: diag(2442, 1 /* Error */, \"Types_have_separate_declarations_of_a_private_property_0_2442\", \"Types have separate declarations of a private property '{0}'.\"),\n  Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2: diag(2443, 1 /* Error */, \"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443\", \"Property '{0}' is protected but type '{1}' is not a class derived from '{2}'.\"),\n  Property_0_is_protected_in_type_1_but_public_in_type_2: diag(2444, 1 /* Error */, \"Property_0_is_protected_in_type_1_but_public_in_type_2_2444\", \"Property '{0}' is protected in type '{1}' but public in type '{2}'.\"),\n  Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses: diag(2445, 1 /* Error */, \"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445\", \"Property '{0}' is protected and only accessible within class '{1}' and its subclasses.\"),\n  Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2: diag(2446, 1 /* Error */, \"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446\", \"Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'.\"),\n  The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: diag(2447, 1 /* Error */, \"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447\", \"The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead.\"),\n  Block_scoped_variable_0_used_before_its_declaration: diag(2448, 1 /* Error */, \"Block_scoped_variable_0_used_before_its_declaration_2448\", \"Block-scoped variable '{0}' used before its declaration.\"),\n  Class_0_used_before_its_declaration: diag(2449, 1 /* Error */, \"Class_0_used_before_its_declaration_2449\", \"Class '{0}' used before its declaration.\"),\n  Enum_0_used_before_its_declaration: diag(2450, 1 /* Error */, \"Enum_0_used_before_its_declaration_2450\", \"Enum '{0}' used before its declaration.\"),\n  Cannot_redeclare_block_scoped_variable_0: diag(2451, 1 /* Error */, \"Cannot_redeclare_block_scoped_variable_0_2451\", \"Cannot redeclare block-scoped variable '{0}'.\"),\n  An_enum_member_cannot_have_a_numeric_name: diag(2452, 1 /* Error */, \"An_enum_member_cannot_have_a_numeric_name_2452\", \"An enum member cannot have a numeric name.\"),\n  Variable_0_is_used_before_being_assigned: diag(2454, 1 /* Error */, \"Variable_0_is_used_before_being_assigned_2454\", \"Variable '{0}' is used before being assigned.\"),\n  Type_alias_0_circularly_references_itself: diag(2456, 1 /* Error */, \"Type_alias_0_circularly_references_itself_2456\", \"Type alias '{0}' circularly references itself.\"),\n  Type_alias_name_cannot_be_0: diag(2457, 1 /* Error */, \"Type_alias_name_cannot_be_0_2457\", \"Type alias name cannot be '{0}'.\"),\n  An_AMD_module_cannot_have_multiple_name_assignments: diag(2458, 1 /* Error */, \"An_AMD_module_cannot_have_multiple_name_assignments_2458\", \"An AMD module cannot have multiple name assignments.\"),\n  Module_0_declares_1_locally_but_it_is_not_exported: diag(2459, 1 /* Error */, \"Module_0_declares_1_locally_but_it_is_not_exported_2459\", \"Module '{0}' declares '{1}' locally, but it is not exported.\"),\n  Module_0_declares_1_locally_but_it_is_exported_as_2: diag(2460, 1 /* Error */, \"Module_0_declares_1_locally_but_it_is_exported_as_2_2460\", \"Module '{0}' declares '{1}' locally, but it is exported as '{2}'.\"),\n  Type_0_is_not_an_array_type: diag(2461, 1 /* Error */, \"Type_0_is_not_an_array_type_2461\", \"Type '{0}' is not an array type.\"),\n  A_rest_element_must_be_last_in_a_destructuring_pattern: diag(2462, 1 /* Error */, \"A_rest_element_must_be_last_in_a_destructuring_pattern_2462\", \"A rest element must be last in a destructuring pattern.\"),\n  A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature: diag(2463, 1 /* Error */, \"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463\", \"A binding pattern parameter cannot be optional in an implementation signature.\"),\n  A_computed_property_name_must_be_of_type_string_number_symbol_or_any: diag(2464, 1 /* Error */, \"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464\", \"A computed property name must be of type 'string', 'number', 'symbol', or 'any'.\"),\n  this_cannot_be_referenced_in_a_computed_property_name: diag(2465, 1 /* Error */, \"this_cannot_be_referenced_in_a_computed_property_name_2465\", \"'this' cannot be referenced in a computed property name.\"),\n  super_cannot_be_referenced_in_a_computed_property_name: diag(2466, 1 /* Error */, \"super_cannot_be_referenced_in_a_computed_property_name_2466\", \"'super' cannot be referenced in a computed property name.\"),\n  A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type: diag(2467, 1 /* Error */, \"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467\", \"A computed property name cannot reference a type parameter from its containing type.\"),\n  Cannot_find_global_value_0: diag(2468, 1 /* Error */, \"Cannot_find_global_value_0_2468\", \"Cannot find global value '{0}'.\"),\n  The_0_operator_cannot_be_applied_to_type_symbol: diag(2469, 1 /* Error */, \"The_0_operator_cannot_be_applied_to_type_symbol_2469\", \"The '{0}' operator cannot be applied to type 'symbol'.\"),\n  Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher: diag(2472, 1 /* Error */, \"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472\", \"Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher.\"),\n  Enum_declarations_must_all_be_const_or_non_const: diag(2473, 1 /* Error */, \"Enum_declarations_must_all_be_const_or_non_const_2473\", \"Enum declarations must all be const or non-const.\"),\n  const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values: diag(2474, 1 /* Error */, \"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474\", \"const enum member initializers can only contain literal values and other computed enum values.\"),\n  const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query: diag(2475, 1 /* Error */, \"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475\", \"'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query.\"),\n  A_const_enum_member_can_only_be_accessed_using_a_string_literal: diag(2476, 1 /* Error */, \"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476\", \"A const enum member can only be accessed using a string literal.\"),\n  const_enum_member_initializer_was_evaluated_to_a_non_finite_value: diag(2477, 1 /* Error */, \"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477\", \"'const' enum member initializer was evaluated to a non-finite value.\"),\n  const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN: diag(2478, 1 /* Error */, \"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478\", \"'const' enum member initializer was evaluated to disallowed value 'NaN'.\"),\n  let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: diag(2480, 1 /* Error */, \"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480\", \"'let' is not allowed to be used as a name in 'let' or 'const' declarations.\"),\n  Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1: diag(2481, 1 /* Error */, \"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481\", \"Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'.\"),\n  The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation: diag(2483, 1 /* Error */, \"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483\", \"The left-hand side of a 'for...of' statement cannot use a type annotation.\"),\n  Export_declaration_conflicts_with_exported_declaration_of_0: diag(2484, 1 /* Error */, \"Export_declaration_conflicts_with_exported_declaration_of_0_2484\", \"Export declaration conflicts with exported declaration of '{0}'.\"),\n  The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access: diag(2487, 1 /* Error */, \"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487\", \"The left-hand side of a 'for...of' statement must be a variable or a property access.\"),\n  Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator: diag(2488, 1 /* Error */, \"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488\", \"Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator.\"),\n  An_iterator_must_have_a_next_method: diag(2489, 1 /* Error */, \"An_iterator_must_have_a_next_method_2489\", \"An iterator must have a 'next()' method.\"),\n  The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property: diag(2490, 1 /* Error */, \"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490\", \"The type returned by the '{0}()' method of an iterator must have a 'value' property.\"),\n  The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: diag(2491, 1 /* Error */, \"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491\", \"The left-hand side of a 'for...in' statement cannot be a destructuring pattern.\"),\n  Cannot_redeclare_identifier_0_in_catch_clause: diag(2492, 1 /* Error */, \"Cannot_redeclare_identifier_0_in_catch_clause_2492\", \"Cannot redeclare identifier '{0}' in catch clause.\"),\n  Tuple_type_0_of_length_1_has_no_element_at_index_2: diag(2493, 1 /* Error */, \"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493\", \"Tuple type '{0}' of length '{1}' has no element at index '{2}'.\"),\n  Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: diag(2494, 1 /* Error */, \"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494\", \"Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.\"),\n  Type_0_is_not_an_array_type_or_a_string_type: diag(2495, 1 /* Error */, \"Type_0_is_not_an_array_type_or_a_string_type_2495\", \"Type '{0}' is not an array type or a string type.\"),\n  The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression: diag(2496, 1 /* Error */, \"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496\", \"The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression.\"),\n  This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export: diag(2497, 1 /* Error */, \"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497\", \"This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export.\"),\n  Module_0_uses_export_and_cannot_be_used_with_export_Asterisk: diag(2498, 1 /* Error */, \"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498\", \"Module '{0}' uses 'export =' and cannot be used with 'export *'.\"),\n  An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: diag(2499, 1 /* Error */, \"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499\", \"An interface can only extend an identifier/qualified-name with optional type arguments.\"),\n  A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments: diag(2500, 1 /* Error */, \"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500\", \"A class can only implement an identifier/qualified-name with optional type arguments.\"),\n  A_rest_element_cannot_contain_a_binding_pattern: diag(2501, 1 /* Error */, \"A_rest_element_cannot_contain_a_binding_pattern_2501\", \"A rest element cannot contain a binding pattern.\"),\n  _0_is_referenced_directly_or_indirectly_in_its_own_type_annotation: diag(2502, 1 /* Error */, \"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502\", \"'{0}' is referenced directly or indirectly in its own type annotation.\"),\n  Cannot_find_namespace_0: diag(2503, 1 /* Error */, \"Cannot_find_namespace_0_2503\", \"Cannot find namespace '{0}'.\"),\n  Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator: diag(2504, 1 /* Error */, \"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504\", \"Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator.\"),\n  A_generator_cannot_have_a_void_type_annotation: diag(2505, 1 /* Error */, \"A_generator_cannot_have_a_void_type_annotation_2505\", \"A generator cannot have a 'void' type annotation.\"),\n  _0_is_referenced_directly_or_indirectly_in_its_own_base_expression: diag(2506, 1 /* Error */, \"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506\", \"'{0}' is referenced directly or indirectly in its own base expression.\"),\n  Type_0_is_not_a_constructor_function_type: diag(2507, 1 /* Error */, \"Type_0_is_not_a_constructor_function_type_2507\", \"Type '{0}' is not a constructor function type.\"),\n  No_base_constructor_has_the_specified_number_of_type_arguments: diag(2508, 1 /* Error */, \"No_base_constructor_has_the_specified_number_of_type_arguments_2508\", \"No base constructor has the specified number of type arguments.\"),\n  Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members: diag(2509, 1 /* Error */, \"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509\", \"Base constructor return type '{0}' is not an object type or intersection of object types with statically known members.\"),\n  Base_constructors_must_all_have_the_same_return_type: diag(2510, 1 /* Error */, \"Base_constructors_must_all_have_the_same_return_type_2510\", \"Base constructors must all have the same return type.\"),\n  Cannot_create_an_instance_of_an_abstract_class: diag(2511, 1 /* Error */, \"Cannot_create_an_instance_of_an_abstract_class_2511\", \"Cannot create an instance of an abstract class.\"),\n  Overload_signatures_must_all_be_abstract_or_non_abstract: diag(2512, 1 /* Error */, \"Overload_signatures_must_all_be_abstract_or_non_abstract_2512\", \"Overload signatures must all be abstract or non-abstract.\"),\n  Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression: diag(2513, 1 /* Error */, \"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513\", \"Abstract method '{0}' in class '{1}' cannot be accessed via super expression.\"),\n  A_tuple_type_cannot_be_indexed_with_a_negative_value: diag(2514, 1 /* Error */, \"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514\", \"A tuple type cannot be indexed with a negative value.\"),\n  Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: diag(2515, 1 /* Error */, \"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515\", \"Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'.\"),\n  All_declarations_of_an_abstract_method_must_be_consecutive: diag(2516, 1 /* Error */, \"All_declarations_of_an_abstract_method_must_be_consecutive_2516\", \"All declarations of an abstract method must be consecutive.\"),\n  Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type: diag(2517, 1 /* Error */, \"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517\", \"Cannot assign an abstract constructor type to a non-abstract constructor type.\"),\n  A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard: diag(2518, 1 /* Error */, \"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518\", \"A 'this'-based type guard is not compatible with a parameter-based type guard.\"),\n  An_async_iterator_must_have_a_next_method: diag(2519, 1 /* Error */, \"An_async_iterator_must_have_a_next_method_2519\", \"An async iterator must have a 'next()' method.\"),\n  Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: diag(2520, 1 /* Error */, \"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520\", \"Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions.\"),\n  The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method: diag(2522, 1 /* Error */, \"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522\", \"The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method.\"),\n  yield_expressions_cannot_be_used_in_a_parameter_initializer: diag(2523, 1 /* Error */, \"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523\", \"'yield' expressions cannot be used in a parameter initializer.\"),\n  await_expressions_cannot_be_used_in_a_parameter_initializer: diag(2524, 1 /* Error */, \"await_expressions_cannot_be_used_in_a_parameter_initializer_2524\", \"'await' expressions cannot be used in a parameter initializer.\"),\n  Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value: diag(2525, 1 /* Error */, \"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525\", \"Initializer provides no value for this binding element and the binding element has no default value.\"),\n  A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface: diag(2526, 1 /* Error */, \"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526\", \"A 'this' type is available only in a non-static member of a class or interface.\"),\n  The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary: diag(2527, 1 /* Error */, \"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527\", \"The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.\"),\n  A_module_cannot_have_multiple_default_exports: diag(2528, 1 /* Error */, \"A_module_cannot_have_multiple_default_exports_2528\", \"A module cannot have multiple default exports.\"),\n  Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions: diag(2529, 1 /* Error */, \"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529\", \"Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions.\"),\n  Property_0_is_incompatible_with_index_signature: diag(2530, 1 /* Error */, \"Property_0_is_incompatible_with_index_signature_2530\", \"Property '{0}' is incompatible with index signature.\"),\n  Object_is_possibly_null: diag(2531, 1 /* Error */, \"Object_is_possibly_null_2531\", \"Object is possibly 'null'.\"),\n  Object_is_possibly_undefined: diag(2532, 1 /* Error */, \"Object_is_possibly_undefined_2532\", \"Object is possibly 'undefined'.\"),\n  Object_is_possibly_null_or_undefined: diag(2533, 1 /* Error */, \"Object_is_possibly_null_or_undefined_2533\", \"Object is possibly 'null' or 'undefined'.\"),\n  A_function_returning_never_cannot_have_a_reachable_end_point: diag(2534, 1 /* Error */, \"A_function_returning_never_cannot_have_a_reachable_end_point_2534\", \"A function returning 'never' cannot have a reachable end point.\"),\n  Enum_type_0_has_members_with_initializers_that_are_not_literals: diag(2535, 1 /* Error */, \"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535\", \"Enum type '{0}' has members with initializers that are not literals.\"),\n  Type_0_cannot_be_used_to_index_type_1: diag(2536, 1 /* Error */, \"Type_0_cannot_be_used_to_index_type_1_2536\", \"Type '{0}' cannot be used to index type '{1}'.\"),\n  Type_0_has_no_matching_index_signature_for_type_1: diag(2537, 1 /* Error */, \"Type_0_has_no_matching_index_signature_for_type_1_2537\", \"Type '{0}' has no matching index signature for type '{1}'.\"),\n  Type_0_cannot_be_used_as_an_index_type: diag(2538, 1 /* Error */, \"Type_0_cannot_be_used_as_an_index_type_2538\", \"Type '{0}' cannot be used as an index type.\"),\n  Cannot_assign_to_0_because_it_is_not_a_variable: diag(2539, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_not_a_variable_2539\", \"Cannot assign to '{0}' because it is not a variable.\"),\n  Cannot_assign_to_0_because_it_is_a_read_only_property: diag(2540, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_a_read_only_property_2540\", \"Cannot assign to '{0}' because it is a read-only property.\"),\n  Index_signature_in_type_0_only_permits_reading: diag(2542, 1 /* Error */, \"Index_signature_in_type_0_only_permits_reading_2542\", \"Index signature in type '{0}' only permits reading.\"),\n  Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference: diag(2543, 1 /* Error */, \"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543\", \"Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference.\"),\n  Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference: diag(2544, 1 /* Error */, \"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544\", \"Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference.\"),\n  A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any: diag(2545, 1 /* Error */, \"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545\", \"A mixin class must have a constructor with a single rest parameter of type 'any[]'.\"),\n  The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property: diag(2547, 1 /* Error */, \"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547\", \"The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property.\"),\n  Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: diag(2548, 1 /* Error */, \"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548\", \"Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator.\"),\n  Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator: diag(2549, 1 /* Error */, \"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549\", \"Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator.\"),\n  Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later: diag(2550, 1 /* Error */, \"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550\", \"Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later.\"),\n  Property_0_does_not_exist_on_type_1_Did_you_mean_2: diag(2551, 1 /* Error */, \"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551\", \"Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?\"),\n  Cannot_find_name_0_Did_you_mean_1: diag(2552, 1 /* Error */, \"Cannot_find_name_0_Did_you_mean_1_2552\", \"Cannot find name '{0}'. Did you mean '{1}'?\"),\n  Computed_values_are_not_permitted_in_an_enum_with_string_valued_members: diag(2553, 1 /* Error */, \"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553\", \"Computed values are not permitted in an enum with string valued members.\"),\n  Expected_0_arguments_but_got_1: diag(2554, 1 /* Error */, \"Expected_0_arguments_but_got_1_2554\", \"Expected {0} arguments, but got {1}.\"),\n  Expected_at_least_0_arguments_but_got_1: diag(2555, 1 /* Error */, \"Expected_at_least_0_arguments_but_got_1_2555\", \"Expected at least {0} arguments, but got {1}.\"),\n  A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter: diag(2556, 1 /* Error */, \"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556\", \"A spread argument must either have a tuple type or be passed to a rest parameter.\"),\n  Expected_0_type_arguments_but_got_1: diag(2558, 1 /* Error */, \"Expected_0_type_arguments_but_got_1_2558\", \"Expected {0} type arguments, but got {1}.\"),\n  Type_0_has_no_properties_in_common_with_type_1: diag(2559, 1 /* Error */, \"Type_0_has_no_properties_in_common_with_type_1_2559\", \"Type '{0}' has no properties in common with type '{1}'.\"),\n  Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it: diag(2560, 1 /* Error */, \"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560\", \"Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?\"),\n  Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2: diag(2561, 1 /* Error */, \"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561\", \"Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?\"),\n  Base_class_expressions_cannot_reference_class_type_parameters: diag(2562, 1 /* Error */, \"Base_class_expressions_cannot_reference_class_type_parameters_2562\", \"Base class expressions cannot reference class type parameters.\"),\n  The_containing_function_or_module_body_is_too_large_for_control_flow_analysis: diag(2563, 1 /* Error */, \"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563\", \"The containing function or module body is too large for control flow analysis.\"),\n  Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor: diag(2564, 1 /* Error */, \"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564\", \"Property '{0}' has no initializer and is not definitely assigned in the constructor.\"),\n  Property_0_is_used_before_being_assigned: diag(2565, 1 /* Error */, \"Property_0_is_used_before_being_assigned_2565\", \"Property '{0}' is used before being assigned.\"),\n  A_rest_element_cannot_have_a_property_name: diag(2566, 1 /* Error */, \"A_rest_element_cannot_have_a_property_name_2566\", \"A rest element cannot have a property name.\"),\n  Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations: diag(2567, 1 /* Error */, \"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567\", \"Enum declarations can only merge with namespace or other enum declarations.\"),\n  Property_0_may_not_exist_on_type_1_Did_you_mean_2: diag(2568, 1 /* Error */, \"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568\", \"Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?\"),\n  Could_not_find_name_0_Did_you_mean_1: diag(2570, 1 /* Error */, \"Could_not_find_name_0_Did_you_mean_1_2570\", \"Could not find name '{0}'. Did you mean '{1}'?\"),\n  Object_is_of_type_unknown: diag(2571, 1 /* Error */, \"Object_is_of_type_unknown_2571\", \"Object is of type 'unknown'.\"),\n  A_rest_element_type_must_be_an_array_type: diag(2574, 1 /* Error */, \"A_rest_element_type_must_be_an_array_type_2574\", \"A rest element type must be an array type.\"),\n  No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments: diag(2575, 1 /* Error */, \"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575\", \"No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments.\"),\n  Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead: diag(2576, 1 /* Error */, \"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576\", \"Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?\"),\n  Return_type_annotation_circularly_references_itself: diag(2577, 1 /* Error */, \"Return_type_annotation_circularly_references_itself_2577\", \"Return type annotation circularly references itself.\"),\n  Unused_ts_expect_error_directive: diag(2578, 1 /* Error */, \"Unused_ts_expect_error_directive_2578\", \"Unused '@ts-expect-error' directive.\"),\n  Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode: diag(2580, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580\", \"Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`.\"),\n  Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery: diag(2581, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581\", \"Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`.\"),\n  Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha: diag(2582, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582\", \"Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.\"),\n  Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later: diag(2583, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583\", \"Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later.\"),\n  Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom: diag(2584, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584\", \"Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.\"),\n  _0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later: diag(2585, 1 /* Error */, \"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585\", \"'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later.\"),\n  Cannot_assign_to_0_because_it_is_a_constant: diag(2588, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_a_constant_2588\", \"Cannot assign to '{0}' because it is a constant.\"),\n  Type_instantiation_is_excessively_deep_and_possibly_infinite: diag(2589, 1 /* Error */, \"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589\", \"Type instantiation is excessively deep and possibly infinite.\"),\n  Expression_produces_a_union_type_that_is_too_complex_to_represent: diag(2590, 1 /* Error */, \"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590\", \"Expression produces a union type that is too complex to represent.\"),\n  Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig: diag(2591, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591\", \"Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.\"),\n  Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig: diag(2592, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592\", \"Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig.\"),\n  Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig: diag(2593, 1 /* Error */, \"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593\", \"Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig.\"),\n  This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag: diag(2594, 1 /* Error */, \"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594\", \"This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag.\"),\n  _0_can_only_be_imported_by_using_a_default_import: diag(2595, 1 /* Error */, \"_0_can_only_be_imported_by_using_a_default_import_2595\", \"'{0}' can only be imported by using a default import.\"),\n  _0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2596, 1 /* Error */, \"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596\", \"'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import.\"),\n  _0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import: diag(2597, 1 /* Error */, \"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597\", \"'{0}' can only be imported by using a 'require' call or by using a default import.\"),\n  _0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2598, 1 /* Error */, \"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598\", \"'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import.\"),\n  JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist: diag(2602, 1 /* Error */, \"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602\", \"JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist.\"),\n  Property_0_in_type_1_is_not_assignable_to_type_2: diag(2603, 1 /* Error */, \"Property_0_in_type_1_is_not_assignable_to_type_2_2603\", \"Property '{0}' in type '{1}' is not assignable to type '{2}'.\"),\n  JSX_element_type_0_does_not_have_any_construct_or_call_signatures: diag(2604, 1 /* Error */, \"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604\", \"JSX element type '{0}' does not have any construct or call signatures.\"),\n  Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property: diag(2606, 1 /* Error */, \"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606\", \"Property '{0}' of JSX spread attribute is not assignable to target property.\"),\n  JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property: diag(2607, 1 /* Error */, \"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607\", \"JSX element class does not support attributes because it does not have a '{0}' property.\"),\n  The_global_type_JSX_0_may_not_have_more_than_one_property: diag(2608, 1 /* Error */, \"The_global_type_JSX_0_may_not_have_more_than_one_property_2608\", \"The global type 'JSX.{0}' may not have more than one property.\"),\n  JSX_spread_child_must_be_an_array_type: diag(2609, 1 /* Error */, \"JSX_spread_child_must_be_an_array_type_2609\", \"JSX spread child must be an array type.\"),\n  _0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property: diag(2610, 1 /* Error */, \"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610\", \"'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property.\"),\n  _0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor: diag(2611, 1 /* Error */, \"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611\", \"'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor.\"),\n  Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration: diag(2612, 1 /* Error */, \"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612\", \"Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration.\"),\n  Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead: diag(2613, 1 /* Error */, \"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613\", \"Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?\"),\n  Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead: diag(2614, 1 /* Error */, \"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614\", \"Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?\"),\n  Type_of_property_0_circularly_references_itself_in_mapped_type_1: diag(2615, 1 /* Error */, \"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615\", \"Type of property '{0}' circularly references itself in mapped type '{1}'.\"),\n  _0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import: diag(2616, 1 /* Error */, \"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616\", \"'{0}' can only be imported by using 'import {1} = require({2})' or a default import.\"),\n  _0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import: diag(2617, 1 /* Error */, \"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617\", \"'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import.\"),\n  Source_has_0_element_s_but_target_requires_1: diag(2618, 1 /* Error */, \"Source_has_0_element_s_but_target_requires_1_2618\", \"Source has {0} element(s) but target requires {1}.\"),\n  Source_has_0_element_s_but_target_allows_only_1: diag(2619, 1 /* Error */, \"Source_has_0_element_s_but_target_allows_only_1_2619\", \"Source has {0} element(s) but target allows only {1}.\"),\n  Target_requires_0_element_s_but_source_may_have_fewer: diag(2620, 1 /* Error */, \"Target_requires_0_element_s_but_source_may_have_fewer_2620\", \"Target requires {0} element(s) but source may have fewer.\"),\n  Target_allows_only_0_element_s_but_source_may_have_more: diag(2621, 1 /* Error */, \"Target_allows_only_0_element_s_but_source_may_have_more_2621\", \"Target allows only {0} element(s) but source may have more.\"),\n  Source_provides_no_match_for_required_element_at_position_0_in_target: diag(2623, 1 /* Error */, \"Source_provides_no_match_for_required_element_at_position_0_in_target_2623\", \"Source provides no match for required element at position {0} in target.\"),\n  Source_provides_no_match_for_variadic_element_at_position_0_in_target: diag(2624, 1 /* Error */, \"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624\", \"Source provides no match for variadic element at position {0} in target.\"),\n  Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target: diag(2625, 1 /* Error */, \"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625\", \"Variadic element at position {0} in source does not match element at position {1} in target.\"),\n  Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target: diag(2626, 1 /* Error */, \"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626\", \"Type at position {0} in source is not compatible with type at position {1} in target.\"),\n  Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target: diag(2627, 1 /* Error */, \"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627\", \"Type at positions {0} through {1} in source is not compatible with type at position {2} in target.\"),\n  Cannot_assign_to_0_because_it_is_an_enum: diag(2628, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_an_enum_2628\", \"Cannot assign to '{0}' because it is an enum.\"),\n  Cannot_assign_to_0_because_it_is_a_class: diag(2629, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_a_class_2629\", \"Cannot assign to '{0}' because it is a class.\"),\n  Cannot_assign_to_0_because_it_is_a_function: diag(2630, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_a_function_2630\", \"Cannot assign to '{0}' because it is a function.\"),\n  Cannot_assign_to_0_because_it_is_a_namespace: diag(2631, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_a_namespace_2631\", \"Cannot assign to '{0}' because it is a namespace.\"),\n  Cannot_assign_to_0_because_it_is_an_import: diag(2632, 1 /* Error */, \"Cannot_assign_to_0_because_it_is_an_import_2632\", \"Cannot assign to '{0}' because it is an import.\"),\n  JSX_property_access_expressions_cannot_include_JSX_namespace_names: diag(2633, 1 /* Error */, \"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633\", \"JSX property access expressions cannot include JSX namespace names\"),\n  _0_index_signatures_are_incompatible: diag(2634, 1 /* Error */, \"_0_index_signatures_are_incompatible_2634\", \"'{0}' index signatures are incompatible.\"),\n  Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable: diag(2635, 1 /* Error */, \"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635\", \"Type '{0}' has no signatures for which the type argument list is applicable.\"),\n  Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation: diag(2636, 1 /* Error */, \"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636\", \"Type '{0}' is not assignable to type '{1}' as implied by variance annotation.\"),\n  Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types: diag(2637, 1 /* Error */, \"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637\", \"Variance annotations are only supported in type aliases for object, function, constructor, and mapped types.\"),\n  Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator: diag(2638, 1 /* Error */, \"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638\", \"Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator.\"),\n  Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity: diag(2649, 1 /* Error */, \"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649\", \"Cannot augment module '{0}' with value exports because it resolves to a non-module entity.\"),\n  A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums: diag(2651, 1 /* Error */, \"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651\", \"A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums.\"),\n  Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead: diag(2652, 1 /* Error */, \"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652\", \"Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead.\"),\n  Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1: diag(2653, 1 /* Error */, \"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653\", \"Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'.\"),\n  JSX_expressions_must_have_one_parent_element: diag(2657, 1 /* Error */, \"JSX_expressions_must_have_one_parent_element_2657\", \"JSX expressions must have one parent element.\"),\n  Type_0_provides_no_match_for_the_signature_1: diag(2658, 1 /* Error */, \"Type_0_provides_no_match_for_the_signature_1_2658\", \"Type '{0}' provides no match for the signature '{1}'.\"),\n  super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher: diag(2659, 1 /* Error */, \"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659\", \"'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher.\"),\n  super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions: diag(2660, 1 /* Error */, \"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660\", \"'super' can only be referenced in members of derived classes or object literal expressions.\"),\n  Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module: diag(2661, 1 /* Error */, \"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661\", \"Cannot export '{0}'. Only local declarations can be exported from a module.\"),\n  Cannot_find_name_0_Did_you_mean_the_static_member_1_0: diag(2662, 1 /* Error */, \"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662\", \"Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?\"),\n  Cannot_find_name_0_Did_you_mean_the_instance_member_this_0: diag(2663, 1 /* Error */, \"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663\", \"Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?\"),\n  Invalid_module_name_in_augmentation_module_0_cannot_be_found: diag(2664, 1 /* Error */, \"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664\", \"Invalid module name in augmentation, module '{0}' cannot be found.\"),\n  Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented: diag(2665, 1 /* Error */, \"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665\", \"Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented.\"),\n  Exports_and_export_assignments_are_not_permitted_in_module_augmentations: diag(2666, 1 /* Error */, \"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666\", \"Exports and export assignments are not permitted in module augmentations.\"),\n  Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module: diag(2667, 1 /* Error */, \"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667\", \"Imports are not permitted in module augmentations. Consider moving them to the enclosing external module.\"),\n  export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible: diag(2668, 1 /* Error */, \"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668\", \"'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible.\"),\n  Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations: diag(2669, 1 /* Error */, \"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669\", \"Augmentations for the global scope can only be directly nested in external modules or ambient module declarations.\"),\n  Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context: diag(2670, 1 /* Error */, \"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670\", \"Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context.\"),\n  Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity: diag(2671, 1 /* Error */, \"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671\", \"Cannot augment module '{0}' because it resolves to a non-module entity.\"),\n  Cannot_assign_a_0_constructor_type_to_a_1_constructor_type: diag(2672, 1 /* Error */, \"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672\", \"Cannot assign a '{0}' constructor type to a '{1}' constructor type.\"),\n  Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration: diag(2673, 1 /* Error */, \"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673\", \"Constructor of class '{0}' is private and only accessible within the class declaration.\"),\n  Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration: diag(2674, 1 /* Error */, \"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674\", \"Constructor of class '{0}' is protected and only accessible within the class declaration.\"),\n  Cannot_extend_a_class_0_Class_constructor_is_marked_as_private: diag(2675, 1 /* Error */, \"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675\", \"Cannot extend a class '{0}'. Class constructor is marked as private.\"),\n  Accessors_must_both_be_abstract_or_non_abstract: diag(2676, 1 /* Error */, \"Accessors_must_both_be_abstract_or_non_abstract_2676\", \"Accessors must both be abstract or non-abstract.\"),\n  A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type: diag(2677, 1 /* Error */, \"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677\", \"A type predicate's type must be assignable to its parameter's type.\"),\n  Type_0_is_not_comparable_to_type_1: diag(2678, 1 /* Error */, \"Type_0_is_not_comparable_to_type_1_2678\", \"Type '{0}' is not comparable to type '{1}'.\"),\n  A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void: diag(2679, 1 /* Error */, \"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679\", \"A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'.\"),\n  A_0_parameter_must_be_the_first_parameter: diag(2680, 1 /* Error */, \"A_0_parameter_must_be_the_first_parameter_2680\", \"A '{0}' parameter must be the first parameter.\"),\n  A_constructor_cannot_have_a_this_parameter: diag(2681, 1 /* Error */, \"A_constructor_cannot_have_a_this_parameter_2681\", \"A constructor cannot have a 'this' parameter.\"),\n  this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation: diag(2683, 1 /* Error */, \"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683\", \"'this' implicitly has type 'any' because it does not have a type annotation.\"),\n  The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1: diag(2684, 1 /* Error */, \"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684\", \"The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'.\"),\n  The_this_types_of_each_signature_are_incompatible: diag(2685, 1 /* Error */, \"The_this_types_of_each_signature_are_incompatible_2685\", \"The 'this' types of each signature are incompatible.\"),\n  _0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead: diag(2686, 1 /* Error */, \"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686\", \"'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead.\"),\n  All_declarations_of_0_must_have_identical_modifiers: diag(2687, 1 /* Error */, \"All_declarations_of_0_must_have_identical_modifiers_2687\", \"All declarations of '{0}' must have identical modifiers.\"),\n  Cannot_find_type_definition_file_for_0: diag(2688, 1 /* Error */, \"Cannot_find_type_definition_file_for_0_2688\", \"Cannot find type definition file for '{0}'.\"),\n  Cannot_extend_an_interface_0_Did_you_mean_implements: diag(2689, 1 /* Error */, \"Cannot_extend_an_interface_0_Did_you_mean_implements_2689\", \"Cannot extend an interface '{0}'. Did you mean 'implements'?\"),\n  _0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0: diag(2690, 1 /* Error */, \"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690\", \"'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?\"),\n  An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead: diag(2691, 1 /* Error */, \"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691\", \"An import path cannot end with a '{0}' extension. Consider importing '{1}' instead.\"),\n  _0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible: diag(2692, 1 /* Error */, \"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692\", \"'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible.\"),\n  _0_only_refers_to_a_type_but_is_being_used_as_a_value_here: diag(2693, 1 /* Error */, \"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693\", \"'{0}' only refers to a type, but is being used as a value here.\"),\n  Namespace_0_has_no_exported_member_1: diag(2694, 1 /* Error */, \"Namespace_0_has_no_exported_member_1_2694\", \"Namespace '{0}' has no exported member '{1}'.\"),\n  Left_side_of_comma_operator_is_unused_and_has_no_side_effects: diag(2695, 1 /* Error */, \"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695\", \"Left side of comma operator is unused and has no side effects.\", true),\n  The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead: diag(2696, 1 /* Error */, \"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696\", \"The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?\"),\n  An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: diag(2697, 1 /* Error */, \"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697\", \"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.\"),\n  Spread_types_may_only_be_created_from_object_types: diag(2698, 1 /* Error */, \"Spread_types_may_only_be_created_from_object_types_2698\", \"Spread types may only be created from object types.\"),\n  Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1: diag(2699, 1 /* Error */, \"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699\", \"Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'.\"),\n  Rest_types_may_only_be_created_from_object_types: diag(2700, 1 /* Error */, \"Rest_types_may_only_be_created_from_object_types_2700\", \"Rest types may only be created from object types.\"),\n  The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access: diag(2701, 1 /* Error */, \"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701\", \"The target of an object rest assignment must be a variable or a property access.\"),\n  _0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here: diag(2702, 1 /* Error */, \"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702\", \"'{0}' only refers to a type, but is being used as a namespace here.\"),\n  The_operand_of_a_delete_operator_must_be_a_property_reference: diag(2703, 1 /* Error */, \"The_operand_of_a_delete_operator_must_be_a_property_reference_2703\", \"The operand of a 'delete' operator must be a property reference.\"),\n  The_operand_of_a_delete_operator_cannot_be_a_read_only_property: diag(2704, 1 /* Error */, \"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704\", \"The operand of a 'delete' operator cannot be a read-only property.\"),\n  An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2705, 1 /* Error */, \"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705\", \"An async function or method in ES5/ES3 requires the 'Promise' constructor.  Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.\"),\n  Required_type_parameters_may_not_follow_optional_type_parameters: diag(2706, 1 /* Error */, \"Required_type_parameters_may_not_follow_optional_type_parameters_2706\", \"Required type parameters may not follow optional type parameters.\"),\n  Generic_type_0_requires_between_1_and_2_type_arguments: diag(2707, 1 /* Error */, \"Generic_type_0_requires_between_1_and_2_type_arguments_2707\", \"Generic type '{0}' requires between {1} and {2} type arguments.\"),\n  Cannot_use_namespace_0_as_a_value: diag(2708, 1 /* Error */, \"Cannot_use_namespace_0_as_a_value_2708\", \"Cannot use namespace '{0}' as a value.\"),\n  Cannot_use_namespace_0_as_a_type: diag(2709, 1 /* Error */, \"Cannot_use_namespace_0_as_a_type_2709\", \"Cannot use namespace '{0}' as a type.\"),\n  _0_are_specified_twice_The_attribute_named_0_will_be_overwritten: diag(2710, 1 /* Error */, \"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710\", \"'{0}' are specified twice. The attribute named '{0}' will be overwritten.\"),\n  A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option: diag(2711, 1 /* Error */, \"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711\", \"A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.\"),\n  A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option: diag(2712, 1 /* Error */, \"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712\", \"A dynamic import call in ES5/ES3 requires the 'Promise' constructor.  Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option.\"),\n  Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1: diag(2713, 1 /* Error */, \"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713\", `Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?`),\n  The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context: diag(2714, 1 /* Error */, \"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714\", \"The expression of an export assignment must be an identifier or qualified name in an ambient context.\"),\n  Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor: diag(2715, 1 /* Error */, \"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715\", \"Abstract property '{0}' in class '{1}' cannot be accessed in the constructor.\"),\n  Type_parameter_0_has_a_circular_default: diag(2716, 1 /* Error */, \"Type_parameter_0_has_a_circular_default_2716\", \"Type parameter '{0}' has a circular default.\"),\n  Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2: diag(2717, 1 /* Error */, \"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717\", \"Subsequent property declarations must have the same type.  Property '{0}' must be of type '{1}', but here has type '{2}'.\"),\n  Duplicate_property_0: diag(2718, 1 /* Error */, \"Duplicate_property_0_2718\", \"Duplicate property '{0}'.\"),\n  Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated: diag(2719, 1 /* Error */, \"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719\", \"Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated.\"),\n  Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass: diag(2720, 1 /* Error */, \"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720\", \"Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?\"),\n  Cannot_invoke_an_object_which_is_possibly_null: diag(2721, 1 /* Error */, \"Cannot_invoke_an_object_which_is_possibly_null_2721\", \"Cannot invoke an object which is possibly 'null'.\"),\n  Cannot_invoke_an_object_which_is_possibly_undefined: diag(2722, 1 /* Error */, \"Cannot_invoke_an_object_which_is_possibly_undefined_2722\", \"Cannot invoke an object which is possibly 'undefined'.\"),\n  Cannot_invoke_an_object_which_is_possibly_null_or_undefined: diag(2723, 1 /* Error */, \"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723\", \"Cannot invoke an object which is possibly 'null' or 'undefined'.\"),\n  _0_has_no_exported_member_named_1_Did_you_mean_2: diag(2724, 1 /* Error */, \"_0_has_no_exported_member_named_1_Did_you_mean_2_2724\", \"'{0}' has no exported member named '{1}'. Did you mean '{2}'?\"),\n  Class_name_cannot_be_Object_when_targeting_ES5_with_module_0: diag(2725, 1 /* Error */, \"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725\", \"Class name cannot be 'Object' when targeting ES5 with module {0}.\"),\n  Cannot_find_lib_definition_for_0: diag(2726, 1 /* Error */, \"Cannot_find_lib_definition_for_0_2726\", \"Cannot find lib definition for '{0}'.\"),\n  Cannot_find_lib_definition_for_0_Did_you_mean_1: diag(2727, 1 /* Error */, \"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727\", \"Cannot find lib definition for '{0}'. Did you mean '{1}'?\"),\n  _0_is_declared_here: diag(2728, 3 /* Message */, \"_0_is_declared_here_2728\", \"'{0}' is declared here.\"),\n  Property_0_is_used_before_its_initialization: diag(2729, 1 /* Error */, \"Property_0_is_used_before_its_initialization_2729\", \"Property '{0}' is used before its initialization.\"),\n  An_arrow_function_cannot_have_a_this_parameter: diag(2730, 1 /* Error */, \"An_arrow_function_cannot_have_a_this_parameter_2730\", \"An arrow function cannot have a 'this' parameter.\"),\n  Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String: diag(2731, 1 /* Error */, \"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731\", \"Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'.\"),\n  Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension: diag(2732, 1 /* Error */, \"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732\", \"Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension.\"),\n  Property_0_was_also_declared_here: diag(2733, 1 /* Error */, \"Property_0_was_also_declared_here_2733\", \"Property '{0}' was also declared here.\"),\n  Are_you_missing_a_semicolon: diag(2734, 1 /* Error */, \"Are_you_missing_a_semicolon_2734\", \"Are you missing a semicolon?\"),\n  Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1: diag(2735, 1 /* Error */, \"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735\", \"Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?\"),\n  Operator_0_cannot_be_applied_to_type_1: diag(2736, 1 /* Error */, \"Operator_0_cannot_be_applied_to_type_1_2736\", \"Operator '{0}' cannot be applied to type '{1}'.\"),\n  BigInt_literals_are_not_available_when_targeting_lower_than_ES2020: diag(2737, 1 /* Error */, \"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737\", \"BigInt literals are not available when targeting lower than ES2020.\"),\n  An_outer_value_of_this_is_shadowed_by_this_container: diag(2738, 3 /* Message */, \"An_outer_value_of_this_is_shadowed_by_this_container_2738\", \"An outer value of 'this' is shadowed by this container.\"),\n  Type_0_is_missing_the_following_properties_from_type_1_Colon_2: diag(2739, 1 /* Error */, \"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739\", \"Type '{0}' is missing the following properties from type '{1}': {2}\"),\n  Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more: diag(2740, 1 /* Error */, \"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740\", \"Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more.\"),\n  Property_0_is_missing_in_type_1_but_required_in_type_2: diag(2741, 1 /* Error */, \"Property_0_is_missing_in_type_1_but_required_in_type_2_2741\", \"Property '{0}' is missing in type '{1}' but required in type '{2}'.\"),\n  The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary: diag(2742, 1 /* Error */, \"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742\", \"The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary.\"),\n  No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments: diag(2743, 1 /* Error */, \"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743\", \"No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments.\"),\n  Type_parameter_defaults_can_only_reference_previously_declared_type_parameters: diag(2744, 1 /* Error */, \"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744\", \"Type parameter defaults can only reference previously declared type parameters.\"),\n  This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided: diag(2745, 1 /* Error */, \"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745\", \"This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided.\"),\n  This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided: diag(2746, 1 /* Error */, \"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746\", \"This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided.\"),\n  _0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2: diag(2747, 1 /* Error */, \"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747\", \"'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'.\"),\n  Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided: diag(2748, 1 /* Error */, \"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748\", \"Cannot access ambient const enums when the '--isolatedModules' flag is provided.\"),\n  _0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0: diag(2749, 1 /* Error */, \"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749\", \"'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?\"),\n  The_implementation_signature_is_declared_here: diag(2750, 1 /* Error */, \"The_implementation_signature_is_declared_here_2750\", \"The implementation signature is declared here.\"),\n  Circularity_originates_in_type_at_this_location: diag(2751, 1 /* Error */, \"Circularity_originates_in_type_at_this_location_2751\", \"Circularity originates in type at this location.\"),\n  The_first_export_default_is_here: diag(2752, 1 /* Error */, \"The_first_export_default_is_here_2752\", \"The first export default is here.\"),\n  Another_export_default_is_here: diag(2753, 1 /* Error */, \"Another_export_default_is_here_2753\", \"Another export default is here.\"),\n  super_may_not_use_type_arguments: diag(2754, 1 /* Error */, \"super_may_not_use_type_arguments_2754\", \"'super' may not use type arguments.\"),\n  No_constituent_of_type_0_is_callable: diag(2755, 1 /* Error */, \"No_constituent_of_type_0_is_callable_2755\", \"No constituent of type '{0}' is callable.\"),\n  Not_all_constituents_of_type_0_are_callable: diag(2756, 1 /* Error */, \"Not_all_constituents_of_type_0_are_callable_2756\", \"Not all constituents of type '{0}' are callable.\"),\n  Type_0_has_no_call_signatures: diag(2757, 1 /* Error */, \"Type_0_has_no_call_signatures_2757\", \"Type '{0}' has no call signatures.\"),\n  Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other: diag(2758, 1 /* Error */, \"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758\", \"Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other.\"),\n  No_constituent_of_type_0_is_constructable: diag(2759, 1 /* Error */, \"No_constituent_of_type_0_is_constructable_2759\", \"No constituent of type '{0}' is constructable.\"),\n  Not_all_constituents_of_type_0_are_constructable: diag(2760, 1 /* Error */, \"Not_all_constituents_of_type_0_are_constructable_2760\", \"Not all constituents of type '{0}' are constructable.\"),\n  Type_0_has_no_construct_signatures: diag(2761, 1 /* Error */, \"Type_0_has_no_construct_signatures_2761\", \"Type '{0}' has no construct signatures.\"),\n  Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other: diag(2762, 1 /* Error */, \"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762\", \"Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other.\"),\n  Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0: diag(2763, 1 /* Error */, \"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763\", \"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'.\"),\n  Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0: diag(2764, 1 /* Error */, \"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764\", \"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'.\"),\n  Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0: diag(2765, 1 /* Error */, \"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765\", \"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'.\"),\n  Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0: diag(2766, 1 /* Error */, \"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766\", \"Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'.\"),\n  The_0_property_of_an_iterator_must_be_a_method: diag(2767, 1 /* Error */, \"The_0_property_of_an_iterator_must_be_a_method_2767\", \"The '{0}' property of an iterator must be a method.\"),\n  The_0_property_of_an_async_iterator_must_be_a_method: diag(2768, 1 /* Error */, \"The_0_property_of_an_async_iterator_must_be_a_method_2768\", \"The '{0}' property of an async iterator must be a method.\"),\n  No_overload_matches_this_call: diag(2769, 1 /* Error */, \"No_overload_matches_this_call_2769\", \"No overload matches this call.\"),\n  The_last_overload_gave_the_following_error: diag(2770, 1 /* Error */, \"The_last_overload_gave_the_following_error_2770\", \"The last overload gave the following error.\"),\n  The_last_overload_is_declared_here: diag(2771, 1 /* Error */, \"The_last_overload_is_declared_here_2771\", \"The last overload is declared here.\"),\n  Overload_0_of_1_2_gave_the_following_error: diag(2772, 1 /* Error */, \"Overload_0_of_1_2_gave_the_following_error_2772\", \"Overload {0} of {1}, '{2}', gave the following error.\"),\n  Did_you_forget_to_use_await: diag(2773, 1 /* Error */, \"Did_you_forget_to_use_await_2773\", \"Did you forget to use 'await'?\"),\n  This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead: diag(2774, 1 /* Error */, \"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774\", \"This condition will always return true since this function is always defined. Did you mean to call it instead?\"),\n  Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation: diag(2775, 1 /* Error */, \"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775\", \"Assertions require every name in the call target to be declared with an explicit type annotation.\"),\n  Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name: diag(2776, 1 /* Error */, \"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776\", \"Assertions require the call target to be an identifier or qualified name.\"),\n  The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access: diag(2777, 1 /* Error */, \"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777\", \"The operand of an increment or decrement operator may not be an optional property access.\"),\n  The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access: diag(2778, 1 /* Error */, \"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778\", \"The target of an object rest assignment may not be an optional property access.\"),\n  The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access: diag(2779, 1 /* Error */, \"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779\", \"The left-hand side of an assignment expression may not be an optional property access.\"),\n  The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access: diag(2780, 1 /* Error */, \"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780\", \"The left-hand side of a 'for...in' statement may not be an optional property access.\"),\n  The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access: diag(2781, 1 /* Error */, \"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781\", \"The left-hand side of a 'for...of' statement may not be an optional property access.\"),\n  _0_needs_an_explicit_type_annotation: diag(2782, 3 /* Message */, \"_0_needs_an_explicit_type_annotation_2782\", \"'{0}' needs an explicit type annotation.\"),\n  _0_is_specified_more_than_once_so_this_usage_will_be_overwritten: diag(2783, 1 /* Error */, \"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783\", \"'{0}' is specified more than once, so this usage will be overwritten.\"),\n  get_and_set_accessors_cannot_declare_this_parameters: diag(2784, 1 /* Error */, \"get_and_set_accessors_cannot_declare_this_parameters_2784\", \"'get' and 'set' accessors cannot declare 'this' parameters.\"),\n  This_spread_always_overwrites_this_property: diag(2785, 1 /* Error */, \"This_spread_always_overwrites_this_property_2785\", \"This spread always overwrites this property.\"),\n  _0_cannot_be_used_as_a_JSX_component: diag(2786, 1 /* Error */, \"_0_cannot_be_used_as_a_JSX_component_2786\", \"'{0}' cannot be used as a JSX component.\"),\n  Its_return_type_0_is_not_a_valid_JSX_element: diag(2787, 1 /* Error */, \"Its_return_type_0_is_not_a_valid_JSX_element_2787\", \"Its return type '{0}' is not a valid JSX element.\"),\n  Its_instance_type_0_is_not_a_valid_JSX_element: diag(2788, 1 /* Error */, \"Its_instance_type_0_is_not_a_valid_JSX_element_2788\", \"Its instance type '{0}' is not a valid JSX element.\"),\n  Its_element_type_0_is_not_a_valid_JSX_element: diag(2789, 1 /* Error */, \"Its_element_type_0_is_not_a_valid_JSX_element_2789\", \"Its element type '{0}' is not a valid JSX element.\"),\n  The_operand_of_a_delete_operator_must_be_optional: diag(2790, 1 /* Error */, \"The_operand_of_a_delete_operator_must_be_optional_2790\", \"The operand of a 'delete' operator must be optional.\"),\n  Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later: diag(2791, 1 /* Error */, \"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791\", \"Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later.\"),\n  Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option: diag(2792, 1 /* Error */, \"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792\", \"Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?\"),\n  The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible: diag(2793, 1 /* Error */, \"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793\", \"The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible.\"),\n  Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise: diag(2794, 1 /* Error */, \"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794\", \"Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?\"),\n  The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types: diag(2795, 1 /* Error */, \"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795\", \"The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types.\"),\n  It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked: diag(2796, 1 /* Error */, \"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796\", \"It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked.\"),\n  A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract: diag(2797, 1 /* Error */, \"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797\", \"A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'.\"),\n  The_declaration_was_marked_as_deprecated_here: diag(2798, 1 /* Error */, \"The_declaration_was_marked_as_deprecated_here_2798\", \"The declaration was marked as deprecated here.\"),\n  Type_produces_a_tuple_type_that_is_too_large_to_represent: diag(2799, 1 /* Error */, \"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799\", \"Type produces a tuple type that is too large to represent.\"),\n  Expression_produces_a_tuple_type_that_is_too_large_to_represent: diag(2800, 1 /* Error */, \"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800\", \"Expression produces a tuple type that is too large to represent.\"),\n  This_condition_will_always_return_true_since_this_0_is_always_defined: diag(2801, 1 /* Error */, \"This_condition_will_always_return_true_since_this_0_is_always_defined_2801\", \"This condition will always return true since this '{0}' is always defined.\"),\n  Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher: diag(2802, 1 /* Error */, \"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802\", \"Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.\"),\n  Cannot_assign_to_private_method_0_Private_methods_are_not_writable: diag(2803, 1 /* Error */, \"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803\", \"Cannot assign to private method '{0}'. Private methods are not writable.\"),\n  Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name: diag(2804, 1 /* Error */, \"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804\", \"Duplicate identifier '{0}'. Static and instance elements cannot share the same private name.\"),\n  Private_accessor_was_defined_without_a_getter: diag(2806, 1 /* Error */, \"Private_accessor_was_defined_without_a_getter_2806\", \"Private accessor was defined without a getter.\"),\n  This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0: diag(2807, 1 /* Error */, \"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807\", \"This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'.\"),\n  A_get_accessor_must_be_at_least_as_accessible_as_the_setter: diag(2808, 1 /* Error */, \"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808\", \"A get accessor must be at least as accessible as the setter\"),\n  Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses: diag(2809, 1 /* Error */, \"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809\", \"Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses.\"),\n  Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments: diag(2810, 1 /* Error */, \"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810\", \"Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments.\"),\n  Initializer_for_property_0: diag(2811, 1 /* Error */, \"Initializer_for_property_0_2811\", \"Initializer for property '{0}'\"),\n  Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom: diag(2812, 1 /* Error */, \"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812\", \"Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'.\"),\n  Class_declaration_cannot_implement_overload_list_for_0: diag(2813, 1 /* Error */, \"Class_declaration_cannot_implement_overload_list_for_0_2813\", \"Class declaration cannot implement overload list for '{0}'.\"),\n  Function_with_bodies_can_only_merge_with_classes_that_are_ambient: diag(2814, 1 /* Error */, \"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814\", \"Function with bodies can only merge with classes that are ambient.\"),\n  arguments_cannot_be_referenced_in_property_initializers: diag(2815, 1 /* Error */, \"arguments_cannot_be_referenced_in_property_initializers_2815\", \"'arguments' cannot be referenced in property initializers.\"),\n  Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class: diag(2816, 1 /* Error */, \"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816\", \"Cannot use 'this' in a static property initializer of a decorated class.\"),\n  Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block: diag(2817, 1 /* Error */, \"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817\", \"Property '{0}' has no initializer and is not definitely assigned in a class static block.\"),\n  Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers: diag(2818, 1 /* Error */, \"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818\", \"Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers.\"),\n  Namespace_name_cannot_be_0: diag(2819, 1 /* Error */, \"Namespace_name_cannot_be_0_2819\", \"Namespace name cannot be '{0}'.\"),\n  Type_0_is_not_assignable_to_type_1_Did_you_mean_2: diag(2820, 1 /* Error */, \"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820\", \"Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?\"),\n  Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext: diag(2821, 1 /* Error */, \"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821\", \"Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'.\"),\n  Import_assertions_cannot_be_used_with_type_only_imports_or_exports: diag(2822, 1 /* Error */, \"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822\", \"Import assertions cannot be used with type-only imports or exports.\"),\n  Cannot_find_namespace_0_Did_you_mean_1: diag(2833, 1 /* Error */, \"Cannot_find_namespace_0_Did_you_mean_1_2833\", \"Cannot find namespace '{0}'. Did you mean '{1}'?\"),\n  Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path: diag(2834, 1 /* Error */, \"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834\", \"Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path.\"),\n  Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0: diag(2835, 1 /* Error */, \"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835\", \"Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?\"),\n  Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls: diag(2836, 1 /* Error */, \"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836\", \"Import assertions are not allowed on statements that transpile to commonjs 'require' calls.\"),\n  Import_assertion_values_must_be_string_literal_expressions: diag(2837, 1 /* Error */, \"Import_assertion_values_must_be_string_literal_expressions_2837\", \"Import assertion values must be string literal expressions.\"),\n  All_declarations_of_0_must_have_identical_constraints: diag(2838, 1 /* Error */, \"All_declarations_of_0_must_have_identical_constraints_2838\", \"All declarations of '{0}' must have identical constraints.\"),\n  This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value: diag(2839, 1 /* Error */, \"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839\", \"This condition will always return '{0}' since JavaScript compares objects by reference, not value.\"),\n  An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes: diag(2840, 1 /* Error */, \"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840\", \"An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes\"),\n  The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(2841, 1 /* Error */, \"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841\", \"The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.\"),\n  _0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation: diag(2842, 1 /* Error */, \"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842\", \"'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?\"),\n  We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here: diag(2843, 1 /* Error */, \"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843\", \"We can only write a type for '{0}' by adding a type for the entire parameter here.\"),\n  Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: diag(2844, 1 /* Error */, \"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844\", \"Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor.\"),\n  This_condition_will_always_return_0: diag(2845, 1 /* Error */, \"This_condition_will_always_return_0_2845\", \"This condition will always return '{0}'.\"),\n  Import_declaration_0_is_using_private_name_1: diag(4e3, 1 /* Error */, \"Import_declaration_0_is_using_private_name_1_4000\", \"Import declaration '{0}' is using private name '{1}'.\"),\n  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1 /* Error */, \"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002\", \"Type parameter '{0}' of exported class has or is using private name '{1}'.\"),\n  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1 /* Error */, \"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004\", \"Type parameter '{0}' of exported interface has or is using private name '{1}'.\"),\n  Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4006, 1 /* Error */, \"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006\", \"Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.\"),\n  Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4008, 1 /* Error */, \"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008\", \"Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'.\"),\n  Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: diag(4010, 1 /* Error */, \"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010\", \"Type parameter '{0}' of public static method from exported class has or is using private name '{1}'.\"),\n  Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: diag(4012, 1 /* Error */, \"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012\", \"Type parameter '{0}' of public method from exported class has or is using private name '{1}'.\"),\n  Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: diag(4014, 1 /* Error */, \"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014\", \"Type parameter '{0}' of method from exported interface has or is using private name '{1}'.\"),\n  Type_parameter_0_of_exported_function_has_or_is_using_private_name_1: diag(4016, 1 /* Error */, \"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016\", \"Type parameter '{0}' of exported function has or is using private name '{1}'.\"),\n  Implements_clause_of_exported_class_0_has_or_is_using_private_name_1: diag(4019, 1 /* Error */, \"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019\", \"Implements clause of exported class '{0}' has or is using private name '{1}'.\"),\n  extends_clause_of_exported_class_0_has_or_is_using_private_name_1: diag(4020, 1 /* Error */, \"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020\", \"'extends' clause of exported class '{0}' has or is using private name '{1}'.\"),\n  extends_clause_of_exported_class_has_or_is_using_private_name_0: diag(4021, 1 /* Error */, \"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021\", \"'extends' clause of exported class has or is using private name '{0}'.\"),\n  extends_clause_of_exported_interface_0_has_or_is_using_private_name_1: diag(4022, 1 /* Error */, \"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022\", \"'extends' clause of exported interface '{0}' has or is using private name '{1}'.\"),\n  Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4023, 1 /* Error */, \"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023\", \"Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Exported_variable_0_has_or_is_using_name_1_from_private_module_2: diag(4024, 1 /* Error */, \"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024\", \"Exported variable '{0}' has or is using name '{1}' from private module '{2}'.\"),\n  Exported_variable_0_has_or_is_using_private_name_1: diag(4025, 1 /* Error */, \"Exported_variable_0_has_or_is_using_private_name_1_4025\", \"Exported variable '{0}' has or is using private name '{1}'.\"),\n  Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4026, 1 /* Error */, \"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026\", \"Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4027, 1 /* Error */, \"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027\", \"Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n  Public_static_property_0_of_exported_class_has_or_is_using_private_name_1: diag(4028, 1 /* Error */, \"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028\", \"Public static property '{0}' of exported class has or is using private name '{1}'.\"),\n  Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4029, 1 /* Error */, \"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029\", \"Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4030, 1 /* Error */, \"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030\", \"Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n  Public_property_0_of_exported_class_has_or_is_using_private_name_1: diag(4031, 1 /* Error */, \"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031\", \"Public property '{0}' of exported class has or is using private name '{1}'.\"),\n  Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4032, 1 /* Error */, \"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032\", \"Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'.\"),\n  Property_0_of_exported_interface_has_or_is_using_private_name_1: diag(4033, 1 /* Error */, \"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033\", \"Property '{0}' of exported interface has or is using private name '{1}'.\"),\n  Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4034, 1 /* Error */, \"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034\", \"Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1: diag(4035, 1 /* Error */, \"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035\", \"Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'.\"),\n  Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4036, 1 /* Error */, \"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036\", \"Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1: diag(4037, 1 /* Error */, \"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037\", \"Parameter type of public setter '{0}' from exported class has or is using private name '{1}'.\"),\n  Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4038, 1 /* Error */, \"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038\", \"Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4039, 1 /* Error */, \"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039\", \"Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1: diag(4040, 1 /* Error */, \"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040\", \"Return type of public static getter '{0}' from exported class has or is using private name '{1}'.\"),\n  Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4041, 1 /* Error */, \"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041\", \"Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4042, 1 /* Error */, \"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042\", \"Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1: diag(4043, 1 /* Error */, \"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043\", \"Return type of public getter '{0}' from exported class has or is using private name '{1}'.\"),\n  Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4044, 1 /* Error */, \"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044\", \"Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0: diag(4045, 1 /* Error */, \"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045\", \"Return type of constructor signature from exported interface has or is using private name '{0}'.\"),\n  Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4046, 1 /* Error */, \"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046\", \"Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0: diag(4047, 1 /* Error */, \"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047\", \"Return type of call signature from exported interface has or is using private name '{0}'.\"),\n  Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4048, 1 /* Error */, \"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048\", \"Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0: diag(4049, 1 /* Error */, \"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049\", \"Return type of index signature from exported interface has or is using private name '{0}'.\"),\n  Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: diag(4050, 1 /* Error */, \"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050\", \"Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named.\"),\n  Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: diag(4051, 1 /* Error */, \"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051\", \"Return type of public static method from exported class has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0: diag(4052, 1 /* Error */, \"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052\", \"Return type of public static method from exported class has or is using private name '{0}'.\"),\n  Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: diag(4053, 1 /* Error */, \"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053\", \"Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named.\"),\n  Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1: diag(4054, 1 /* Error */, \"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054\", \"Return type of public method from exported class has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0: diag(4055, 1 /* Error */, \"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055\", \"Return type of public method from exported class has or is using private name '{0}'.\"),\n  Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1: diag(4056, 1 /* Error */, \"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056\", \"Return type of method from exported interface has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0: diag(4057, 1 /* Error */, \"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057\", \"Return type of method from exported interface has or is using private name '{0}'.\"),\n  Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named: diag(4058, 1 /* Error */, \"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058\", \"Return type of exported function has or is using name '{0}' from external module {1} but cannot be named.\"),\n  Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1: diag(4059, 1 /* Error */, \"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059\", \"Return type of exported function has or is using name '{0}' from private module '{1}'.\"),\n  Return_type_of_exported_function_has_or_is_using_private_name_0: diag(4060, 0 /* Warning */, \"Return_type_of_exported_function_has_or_is_using_private_name_0_4060\", \"Return type of exported function has or is using private name '{0}'.\"),\n  Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4061, 1 /* Error */, \"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061\", \"Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4062, 1 /* Error */, \"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062\", \"Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1: diag(4063, 1 /* Error */, \"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063\", \"Parameter '{0}' of constructor from exported class has or is using private name '{1}'.\"),\n  Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4064, 1 /* Error */, \"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064\", \"Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4065, 1 /* Error */, \"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065\", \"Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'.\"),\n  Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4066, 1 /* Error */, \"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066\", \"Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4067, 1 /* Error */, \"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067\", \"Parameter '{0}' of call signature from exported interface has or is using private name '{1}'.\"),\n  Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4068, 1 /* Error */, \"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068\", \"Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4069, 1 /* Error */, \"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069\", \"Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1: diag(4070, 1 /* Error */, \"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070\", \"Parameter '{0}' of public static method from exported class has or is using private name '{1}'.\"),\n  Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4071, 1 /* Error */, \"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071\", \"Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4072, 1 /* Error */, \"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072\", \"Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1: diag(4073, 1 /* Error */, \"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073\", \"Parameter '{0}' of public method from exported class has or is using private name '{1}'.\"),\n  Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4074, 1 /* Error */, \"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074\", \"Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1: diag(4075, 1 /* Error */, \"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075\", \"Parameter '{0}' of method from exported interface has or is using private name '{1}'.\"),\n  Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4076, 1 /* Error */, \"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076\", \"Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2: diag(4077, 1 /* Error */, \"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077\", \"Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_exported_function_has_or_is_using_private_name_1: diag(4078, 1 /* Error */, \"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078\", \"Parameter '{0}' of exported function has or is using private name '{1}'.\"),\n  Exported_type_alias_0_has_or_is_using_private_name_1: diag(4081, 1 /* Error */, \"Exported_type_alias_0_has_or_is_using_private_name_1_4081\", \"Exported type alias '{0}' has or is using private name '{1}'.\"),\n  Default_export_of_the_module_has_or_is_using_private_name_0: diag(4082, 1 /* Error */, \"Default_export_of_the_module_has_or_is_using_private_name_0_4082\", \"Default export of the module has or is using private name '{0}'.\"),\n  Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1: diag(4083, 1 /* Error */, \"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083\", \"Type parameter '{0}' of exported type alias has or is using private name '{1}'.\"),\n  Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2: diag(4084, 1 /* Error */, \"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084\", \"Exported type alias '{0}' has or is using private name '{1}' from module {2}.\"),\n  Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict: diag(4090, 1 /* Error */, \"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090\", \"Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict.\"),\n  Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4091, 1 /* Error */, \"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091\", \"Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1: diag(4092, 1 /* Error */, \"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092\", \"Parameter '{0}' of index signature from exported interface has or is using private name '{1}'.\"),\n  Property_0_of_exported_class_expression_may_not_be_private_or_protected: diag(4094, 1 /* Error */, \"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094\", \"Property '{0}' of exported class expression may not be private or protected.\"),\n  Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4095, 1 /* Error */, \"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095\", \"Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4096, 1 /* Error */, \"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096\", \"Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n  Public_static_method_0_of_exported_class_has_or_is_using_private_name_1: diag(4097, 1 /* Error */, \"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097\", \"Public static method '{0}' of exported class has or is using private name '{1}'.\"),\n  Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4098, 1 /* Error */, \"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098\", \"Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.\"),\n  Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2: diag(4099, 1 /* Error */, \"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099\", \"Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.\"),\n  Public_method_0_of_exported_class_has_or_is_using_private_name_1: diag(4100, 1 /* Error */, \"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100\", \"Public method '{0}' of exported class has or is using private name '{1}'.\"),\n  Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2: diag(4101, 1 /* Error */, \"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101\", \"Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.\"),\n  Method_0_of_exported_interface_has_or_is_using_private_name_1: diag(4102, 1 /* Error */, \"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102\", \"Method '{0}' of exported interface has or is using private name '{1}'.\"),\n  Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1: diag(4103, 1 /* Error */, \"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103\", \"Type parameter '{0}' of exported mapped object type is using private name '{1}'.\"),\n  The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1: diag(4104, 1 /* Error */, \"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104\", \"The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'.\"),\n  Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter: diag(4105, 1 /* Error */, \"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105\", \"Private or protected member '{0}' cannot be accessed on a type parameter.\"),\n  Parameter_0_of_accessor_has_or_is_using_private_name_1: diag(4106, 1 /* Error */, \"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106\", \"Parameter '{0}' of accessor has or is using private name '{1}'.\"),\n  Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2: diag(4107, 1 /* Error */, \"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107\", \"Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'.\"),\n  Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named: diag(4108, 1 /* Error */, \"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108\", \"Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named.\"),\n  Type_arguments_for_0_circularly_reference_themselves: diag(4109, 1 /* Error */, \"Type_arguments_for_0_circularly_reference_themselves_4109\", \"Type arguments for '{0}' circularly reference themselves.\"),\n  Tuple_type_arguments_circularly_reference_themselves: diag(4110, 1 /* Error */, \"Tuple_type_arguments_circularly_reference_themselves_4110\", \"Tuple type arguments circularly reference themselves.\"),\n  Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0: diag(4111, 1 /* Error */, \"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111\", \"Property '{0}' comes from an index signature, so it must be accessed with ['{0}'].\"),\n  This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class: diag(4112, 1 /* Error */, \"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112\", \"This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class.\"),\n  This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0: diag(4113, 1 /* Error */, \"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113\", \"This member cannot have an 'override' modifier because it is not declared in the base class '{0}'.\"),\n  This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0: diag(4114, 1 /* Error */, \"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114\", \"This member must have an 'override' modifier because it overrides a member in the base class '{0}'.\"),\n  This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0: diag(4115, 1 /* Error */, \"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115\", \"This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'.\"),\n  This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0: diag(4116, 1 /* Error */, \"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116\", \"This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'.\"),\n  This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4117, 1 /* Error */, \"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117\", \"This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?\"),\n  The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized: diag(4118, 1 /* Error */, \"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118\", \"The type of this node cannot be serialized because its property '{0}' cannot be serialized.\"),\n  This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0: diag(4119, 1 /* Error */, \"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119\", \"This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'.\"),\n  This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0: diag(4120, 1 /* Error */, \"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120\", \"This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'.\"),\n  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class: diag(4121, 1 /* Error */, \"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121\", \"This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class.\"),\n  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0: diag(4122, 1 /* Error */, \"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122\", \"This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'.\"),\n  This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1: diag(4123, 1 /* Error */, \"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123\", \"This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?\"),\n  Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4124, 1 /* Error */, \"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124\", \"Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.\"),\n  resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next: diag(4125, 1 /* Error */, \"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125\", \"'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.\"),\n  The_current_host_does_not_support_the_0_option: diag(5001, 1 /* Error */, \"The_current_host_does_not_support_the_0_option_5001\", \"The current host does not support the '{0}' option.\"),\n  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1 /* Error */, \"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009\", \"Cannot find the common subdirectory path for the input files.\"),\n  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1 /* Error */, \"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010\", \"File specification cannot end in a recursive directory wildcard ('**'): '{0}'.\"),\n  Cannot_read_file_0_Colon_1: diag(5012, 1 /* Error */, \"Cannot_read_file_0_Colon_1_5012\", \"Cannot read file '{0}': {1}.\"),\n  Failed_to_parse_file_0_Colon_1: diag(5014, 1 /* Error */, \"Failed_to_parse_file_0_Colon_1_5014\", \"Failed to parse file '{0}': {1}.\"),\n  Unknown_compiler_option_0: diag(5023, 1 /* Error */, \"Unknown_compiler_option_0_5023\", \"Unknown compiler option '{0}'.\"),\n  Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1 /* Error */, \"Compiler_option_0_requires_a_value_of_type_1_5024\", \"Compiler option '{0}' requires a value of type {1}.\"),\n  Unknown_compiler_option_0_Did_you_mean_1: diag(5025, 1 /* Error */, \"Unknown_compiler_option_0_Did_you_mean_1_5025\", \"Unknown compiler option '{0}'. Did you mean '{1}'?\"),\n  Could_not_write_file_0_Colon_1: diag(5033, 1 /* Error */, \"Could_not_write_file_0_Colon_1_5033\", \"Could not write file '{0}': {1}.\"),\n  Option_project_cannot_be_mixed_with_source_files_on_a_command_line: diag(5042, 1 /* Error */, \"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042\", \"Option 'project' cannot be mixed with source files on a command line.\"),\n  Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher: diag(5047, 1 /* Error */, \"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047\", \"Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher.\"),\n  Option_0_cannot_be_specified_when_option_target_is_ES3: diag(5048, 1 /* Error */, \"Option_0_cannot_be_specified_when_option_target_is_ES3_5048\", \"Option '{0}' cannot be specified when option 'target' is 'ES3'.\"),\n  Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided: diag(5051, 1 /* Error */, \"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051\", \"Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided.\"),\n  Option_0_cannot_be_specified_without_specifying_option_1: diag(5052, 1 /* Error */, \"Option_0_cannot_be_specified_without_specifying_option_1_5052\", \"Option '{0}' cannot be specified without specifying option '{1}'.\"),\n  Option_0_cannot_be_specified_with_option_1: diag(5053, 1 /* Error */, \"Option_0_cannot_be_specified_with_option_1_5053\", \"Option '{0}' cannot be specified with option '{1}'.\"),\n  A_tsconfig_json_file_is_already_defined_at_Colon_0: diag(5054, 1 /* Error */, \"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054\", \"A 'tsconfig.json' file is already defined at: '{0}'.\"),\n  Cannot_write_file_0_because_it_would_overwrite_input_file: diag(5055, 1 /* Error */, \"Cannot_write_file_0_because_it_would_overwrite_input_file_5055\", \"Cannot write file '{0}' because it would overwrite input file.\"),\n  Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files: diag(5056, 1 /* Error */, \"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056\", \"Cannot write file '{0}' because it would be overwritten by multiple input files.\"),\n  Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0: diag(5057, 1 /* Error */, \"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057\", \"Cannot find a tsconfig.json file at the specified directory: '{0}'.\"),\n  The_specified_path_does_not_exist_Colon_0: diag(5058, 1 /* Error */, \"The_specified_path_does_not_exist_Colon_0_5058\", \"The specified path does not exist: '{0}'.\"),\n  Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier: diag(5059, 1 /* Error */, \"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059\", \"Invalid value for '--reactNamespace'. '{0}' is not a valid identifier.\"),\n  Pattern_0_can_have_at_most_one_Asterisk_character: diag(5061, 1 /* Error */, \"Pattern_0_can_have_at_most_one_Asterisk_character_5061\", \"Pattern '{0}' can have at most one '*' character.\"),\n  Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character: diag(5062, 1 /* Error */, \"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062\", \"Substitution '{0}' in pattern '{1}' can have at most one '*' character.\"),\n  Substitutions_for_pattern_0_should_be_an_array: diag(5063, 1 /* Error */, \"Substitutions_for_pattern_0_should_be_an_array_5063\", \"Substitutions for pattern '{0}' should be an array.\"),\n  Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2: diag(5064, 1 /* Error */, \"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064\", \"Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'.\"),\n  File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5065, 1 /* Error */, \"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065\", \"File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'.\"),\n  Substitutions_for_pattern_0_shouldn_t_be_an_empty_array: diag(5066, 1 /* Error */, \"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066\", \"Substitutions for pattern '{0}' shouldn't be an empty array.\"),\n  Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name: diag(5067, 1 /* Error */, \"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067\", \"Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name.\"),\n  Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig: diag(5068, 1 /* Error */, \"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068\", \"Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig.\"),\n  Option_0_cannot_be_specified_without_specifying_option_1_or_option_2: diag(5069, 1 /* Error */, \"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069\", \"Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'.\"),\n  Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy: diag(5070, 1 /* Error */, \"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070\", \"Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy.\"),\n  Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext: diag(5071, 1 /* Error */, \"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071\", \"Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'.\"),\n  Unknown_build_option_0: diag(5072, 1 /* Error */, \"Unknown_build_option_0_5072\", \"Unknown build option '{0}'.\"),\n  Build_option_0_requires_a_value_of_type_1: diag(5073, 1 /* Error */, \"Build_option_0_requires_a_value_of_type_1_5073\", \"Build option '{0}' requires a value of type {1}.\"),\n  Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified: diag(5074, 1 /* Error */, \"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074\", \"Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified.\"),\n  _0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2: diag(5075, 1 /* Error */, \"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075\", \"'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'.\"),\n  _0_and_1_operations_cannot_be_mixed_without_parentheses: diag(5076, 1 /* Error */, \"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076\", \"'{0}' and '{1}' operations cannot be mixed without parentheses.\"),\n  Unknown_build_option_0_Did_you_mean_1: diag(5077, 1 /* Error */, \"Unknown_build_option_0_Did_you_mean_1_5077\", \"Unknown build option '{0}'. Did you mean '{1}'?\"),\n  Unknown_watch_option_0: diag(5078, 1 /* Error */, \"Unknown_watch_option_0_5078\", \"Unknown watch option '{0}'.\"),\n  Unknown_watch_option_0_Did_you_mean_1: diag(5079, 1 /* Error */, \"Unknown_watch_option_0_Did_you_mean_1_5079\", \"Unknown watch option '{0}'. Did you mean '{1}'?\"),\n  Watch_option_0_requires_a_value_of_type_1: diag(5080, 1 /* Error */, \"Watch_option_0_requires_a_value_of_type_1_5080\", \"Watch option '{0}' requires a value of type {1}.\"),\n  Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0: diag(5081, 1 /* Error */, \"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081\", \"Cannot find a tsconfig.json file at the current directory: {0}.\"),\n  _0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1: diag(5082, 1 /* Error */, \"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082\", \"'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'.\"),\n  Cannot_read_file_0: diag(5083, 1 /* Error */, \"Cannot_read_file_0_5083\", \"Cannot read file '{0}'.\"),\n  Tuple_members_must_all_have_names_or_all_not_have_names: diag(5084, 1 /* Error */, \"Tuple_members_must_all_have_names_or_all_not_have_names_5084\", \"Tuple members must all have names or all not have names.\"),\n  A_tuple_member_cannot_be_both_optional_and_rest: diag(5085, 1 /* Error */, \"A_tuple_member_cannot_be_both_optional_and_rest_5085\", \"A tuple member cannot be both optional and rest.\"),\n  A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type: diag(5086, 1 /* Error */, \"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086\", \"A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type.\"),\n  A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type: diag(5087, 1 /* Error */, \"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087\", \"A labeled tuple element is declared as rest with a '...' before the name, rather than before the type.\"),\n  The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary: diag(5088, 1 /* Error */, \"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088\", \"The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary.\"),\n  Option_0_cannot_be_specified_when_option_jsx_is_1: diag(5089, 1 /* Error */, \"Option_0_cannot_be_specified_when_option_jsx_is_1_5089\", \"Option '{0}' cannot be specified when option 'jsx' is '{1}'.\"),\n  Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash: diag(5090, 1 /* Error */, \"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090\", \"Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?\"),\n  Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled: diag(5091, 1 /* Error */, \"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091\", \"Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled.\"),\n  The_root_value_of_a_0_file_must_be_an_object: diag(5092, 1 /* Error */, \"The_root_value_of_a_0_file_must_be_an_object_5092\", \"The root value of a '{0}' file must be an object.\"),\n  Compiler_option_0_may_only_be_used_with_build: diag(5093, 1 /* Error */, \"Compiler_option_0_may_only_be_used_with_build_5093\", \"Compiler option '--{0}' may only be used with '--build'.\"),\n  Compiler_option_0_may_not_be_used_with_build: diag(5094, 1 /* Error */, \"Compiler_option_0_may_not_be_used_with_build_5094\", \"Compiler option '--{0}' may not be used with '--build'.\"),\n  Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later: diag(5095, 1 /* Error */, \"Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095\", \"Option 'preserveValueImports' can only be used when 'module' is set to 'es2015' or later.\"),\n  Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3 /* Message */, \"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000\", \"Generates a sourcemap for each corresponding '.d.ts' file.\"),\n  Concatenate_and_emit_output_to_single_file: diag(6001, 3 /* Message */, \"Concatenate_and_emit_output_to_single_file_6001\", \"Concatenate and emit output to single file.\"),\n  Generates_corresponding_d_ts_file: diag(6002, 3 /* Message */, \"Generates_corresponding_d_ts_file_6002\", \"Generates corresponding '.d.ts' file.\"),\n  Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations: diag(6004, 3 /* Message */, \"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004\", \"Specify the location where debugger should locate TypeScript files instead of source locations.\"),\n  Watch_input_files: diag(6005, 3 /* Message */, \"Watch_input_files_6005\", \"Watch input files.\"),\n  Redirect_output_structure_to_the_directory: diag(6006, 3 /* Message */, \"Redirect_output_structure_to_the_directory_6006\", \"Redirect output structure to the directory.\"),\n  Do_not_erase_const_enum_declarations_in_generated_code: diag(6007, 3 /* Message */, \"Do_not_erase_const_enum_declarations_in_generated_code_6007\", \"Do not erase const enum declarations in generated code.\"),\n  Do_not_emit_outputs_if_any_errors_were_reported: diag(6008, 3 /* Message */, \"Do_not_emit_outputs_if_any_errors_were_reported_6008\", \"Do not emit outputs if any errors were reported.\"),\n  Do_not_emit_comments_to_output: diag(6009, 3 /* Message */, \"Do_not_emit_comments_to_output_6009\", \"Do not emit comments to output.\"),\n  Do_not_emit_outputs: diag(6010, 3 /* Message */, \"Do_not_emit_outputs_6010\", \"Do not emit outputs.\"),\n  Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking: diag(6011, 3 /* Message */, \"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011\", \"Allow default imports from modules with no default export. This does not affect code emit, just typechecking.\"),\n  Skip_type_checking_of_declaration_files: diag(6012, 3 /* Message */, \"Skip_type_checking_of_declaration_files_6012\", \"Skip type checking of declaration files.\"),\n  Do_not_resolve_the_real_path_of_symlinks: diag(6013, 3 /* Message */, \"Do_not_resolve_the_real_path_of_symlinks_6013\", \"Do not resolve the real path of symlinks.\"),\n  Only_emit_d_ts_declaration_files: diag(6014, 3 /* Message */, \"Only_emit_d_ts_declaration_files_6014\", \"Only emit '.d.ts' declaration files.\"),\n  Specify_ECMAScript_target_version: diag(6015, 3 /* Message */, \"Specify_ECMAScript_target_version_6015\", \"Specify ECMAScript target version.\"),\n  Specify_module_code_generation: diag(6016, 3 /* Message */, \"Specify_module_code_generation_6016\", \"Specify module code generation.\"),\n  Print_this_message: diag(6017, 3 /* Message */, \"Print_this_message_6017\", \"Print this message.\"),\n  Print_the_compiler_s_version: diag(6019, 3 /* Message */, \"Print_the_compiler_s_version_6019\", \"Print the compiler's version.\"),\n  Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json: diag(6020, 3 /* Message */, \"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020\", \"Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.\"),\n  Syntax_Colon_0: diag(6023, 3 /* Message */, \"Syntax_Colon_0_6023\", \"Syntax: {0}\"),\n  options: diag(6024, 3 /* Message */, \"options_6024\", \"options\"),\n  file: diag(6025, 3 /* Message */, \"file_6025\", \"file\"),\n  Examples_Colon_0: diag(6026, 3 /* Message */, \"Examples_Colon_0_6026\", \"Examples: {0}\"),\n  Options_Colon: diag(6027, 3 /* Message */, \"Options_Colon_6027\", \"Options:\"),\n  Version_0: diag(6029, 3 /* Message */, \"Version_0_6029\", \"Version {0}\"),\n  Insert_command_line_options_and_files_from_a_file: diag(6030, 3 /* Message */, \"Insert_command_line_options_and_files_from_a_file_6030\", \"Insert command line options and files from a file.\"),\n  Starting_compilation_in_watch_mode: diag(6031, 3 /* Message */, \"Starting_compilation_in_watch_mode_6031\", \"Starting compilation in watch mode...\"),\n  File_change_detected_Starting_incremental_compilation: diag(6032, 3 /* Message */, \"File_change_detected_Starting_incremental_compilation_6032\", \"File change detected. Starting incremental compilation...\"),\n  KIND: diag(6034, 3 /* Message */, \"KIND_6034\", \"KIND\"),\n  FILE: diag(6035, 3 /* Message */, \"FILE_6035\", \"FILE\"),\n  VERSION: diag(6036, 3 /* Message */, \"VERSION_6036\", \"VERSION\"),\n  LOCATION: diag(6037, 3 /* Message */, \"LOCATION_6037\", \"LOCATION\"),\n  DIRECTORY: diag(6038, 3 /* Message */, \"DIRECTORY_6038\", \"DIRECTORY\"),\n  STRATEGY: diag(6039, 3 /* Message */, \"STRATEGY_6039\", \"STRATEGY\"),\n  FILE_OR_DIRECTORY: diag(6040, 3 /* Message */, \"FILE_OR_DIRECTORY_6040\", \"FILE OR DIRECTORY\"),\n  Errors_Files: diag(6041, 3 /* Message */, \"Errors_Files_6041\", \"Errors  Files\"),\n  Generates_corresponding_map_file: diag(6043, 3 /* Message */, \"Generates_corresponding_map_file_6043\", \"Generates corresponding '.map' file.\"),\n  Compiler_option_0_expects_an_argument: diag(6044, 1 /* Error */, \"Compiler_option_0_expects_an_argument_6044\", \"Compiler option '{0}' expects an argument.\"),\n  Unterminated_quoted_string_in_response_file_0: diag(6045, 1 /* Error */, \"Unterminated_quoted_string_in_response_file_0_6045\", \"Unterminated quoted string in response file '{0}'.\"),\n  Argument_for_0_option_must_be_Colon_1: diag(6046, 1 /* Error */, \"Argument_for_0_option_must_be_Colon_1_6046\", \"Argument for '{0}' option must be: {1}.\"),\n  Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: diag(6048, 1 /* Error */, \"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048\", \"Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'.\"),\n  Unable_to_open_file_0: diag(6050, 1 /* Error */, \"Unable_to_open_file_0_6050\", \"Unable to open file '{0}'.\"),\n  Corrupted_locale_file_0: diag(6051, 1 /* Error */, \"Corrupted_locale_file_0_6051\", \"Corrupted locale file {0}.\"),\n  Raise_error_on_expressions_and_declarations_with_an_implied_any_type: diag(6052, 3 /* Message */, \"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052\", \"Raise error on expressions and declarations with an implied 'any' type.\"),\n  File_0_not_found: diag(6053, 1 /* Error */, \"File_0_not_found_6053\", \"File '{0}' not found.\"),\n  File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1: diag(6054, 1 /* Error */, \"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054\", \"File '{0}' has an unsupported extension. The only supported extensions are {1}.\"),\n  Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures: diag(6055, 3 /* Message */, \"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055\", \"Suppress noImplicitAny errors for indexing objects lacking index signatures.\"),\n  Do_not_emit_declarations_for_code_that_has_an_internal_annotation: diag(6056, 3 /* Message */, \"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056\", \"Do not emit declarations for code that has an '@internal' annotation.\"),\n  Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir: diag(6058, 3 /* Message */, \"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058\", \"Specify the root directory of input files. Use to control the output directory structure with --outDir.\"),\n  File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files: diag(6059, 1 /* Error */, \"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059\", \"File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files.\"),\n  Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix: diag(6060, 3 /* Message */, \"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060\", \"Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix).\"),\n  NEWLINE: diag(6061, 3 /* Message */, \"NEWLINE_6061\", \"NEWLINE\"),\n  Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line: diag(6064, 1 /* Error */, \"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064\", \"Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line.\"),\n  Enables_experimental_support_for_ES7_decorators: diag(6065, 3 /* Message */, \"Enables_experimental_support_for_ES7_decorators_6065\", \"Enables experimental support for ES7 decorators.\"),\n  Enables_experimental_support_for_emitting_type_metadata_for_decorators: diag(6066, 3 /* Message */, \"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066\", \"Enables experimental support for emitting type metadata for decorators.\"),\n  Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6: diag(6069, 3 /* Message */, \"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069\", \"Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6).\"),\n  Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file: diag(6070, 3 /* Message */, \"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070\", \"Initializes a TypeScript project and creates a tsconfig.json file.\"),\n  Successfully_created_a_tsconfig_json_file: diag(6071, 3 /* Message */, \"Successfully_created_a_tsconfig_json_file_6071\", \"Successfully created a tsconfig.json file.\"),\n  Suppress_excess_property_checks_for_object_literals: diag(6072, 3 /* Message */, \"Suppress_excess_property_checks_for_object_literals_6072\", \"Suppress excess property checks for object literals.\"),\n  Stylize_errors_and_messages_using_color_and_context_experimental: diag(6073, 3 /* Message */, \"Stylize_errors_and_messages_using_color_and_context_experimental_6073\", \"Stylize errors and messages using color and context (experimental).\"),\n  Do_not_report_errors_on_unused_labels: diag(6074, 3 /* Message */, \"Do_not_report_errors_on_unused_labels_6074\", \"Do not report errors on unused labels.\"),\n  Report_error_when_not_all_code_paths_in_function_return_a_value: diag(6075, 3 /* Message */, \"Report_error_when_not_all_code_paths_in_function_return_a_value_6075\", \"Report error when not all code paths in function return a value.\"),\n  Report_errors_for_fallthrough_cases_in_switch_statement: diag(6076, 3 /* Message */, \"Report_errors_for_fallthrough_cases_in_switch_statement_6076\", \"Report errors for fallthrough cases in switch statement.\"),\n  Do_not_report_errors_on_unreachable_code: diag(6077, 3 /* Message */, \"Do_not_report_errors_on_unreachable_code_6077\", \"Do not report errors on unreachable code.\"),\n  Disallow_inconsistently_cased_references_to_the_same_file: diag(6078, 3 /* Message */, \"Disallow_inconsistently_cased_references_to_the_same_file_6078\", \"Disallow inconsistently-cased references to the same file.\"),\n  Specify_library_files_to_be_included_in_the_compilation: diag(6079, 3 /* Message */, \"Specify_library_files_to_be_included_in_the_compilation_6079\", \"Specify library files to be included in the compilation.\"),\n  Specify_JSX_code_generation: diag(6080, 3 /* Message */, \"Specify_JSX_code_generation_6080\", \"Specify JSX code generation.\"),\n  File_0_has_an_unsupported_extension_so_skipping_it: diag(6081, 3 /* Message */, \"File_0_has_an_unsupported_extension_so_skipping_it_6081\", \"File '{0}' has an unsupported extension, so skipping it.\"),\n  Only_amd_and_system_modules_are_supported_alongside_0: diag(6082, 1 /* Error */, \"Only_amd_and_system_modules_are_supported_alongside_0_6082\", \"Only 'amd' and 'system' modules are supported alongside --{0}.\"),\n  Base_directory_to_resolve_non_absolute_module_names: diag(6083, 3 /* Message */, \"Base_directory_to_resolve_non_absolute_module_names_6083\", \"Base directory to resolve non-absolute module names.\"),\n  Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit: diag(6084, 3 /* Message */, \"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084\", \"[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit\"),\n  Enable_tracing_of_the_name_resolution_process: diag(6085, 3 /* Message */, \"Enable_tracing_of_the_name_resolution_process_6085\", \"Enable tracing of the name resolution process.\"),\n  Resolving_module_0_from_1: diag(6086, 3 /* Message */, \"Resolving_module_0_from_1_6086\", \"======== Resolving module '{0}' from '{1}'. ========\"),\n  Explicitly_specified_module_resolution_kind_Colon_0: diag(6087, 3 /* Message */, \"Explicitly_specified_module_resolution_kind_Colon_0_6087\", \"Explicitly specified module resolution kind: '{0}'.\"),\n  Module_resolution_kind_is_not_specified_using_0: diag(6088, 3 /* Message */, \"Module_resolution_kind_is_not_specified_using_0_6088\", \"Module resolution kind is not specified, using '{0}'.\"),\n  Module_name_0_was_successfully_resolved_to_1: diag(6089, 3 /* Message */, \"Module_name_0_was_successfully_resolved_to_1_6089\", \"======== Module name '{0}' was successfully resolved to '{1}'. ========\"),\n  Module_name_0_was_not_resolved: diag(6090, 3 /* Message */, \"Module_name_0_was_not_resolved_6090\", \"======== Module name '{0}' was not resolved. ========\"),\n  paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0: diag(6091, 3 /* Message */, \"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091\", \"'paths' option is specified, looking for a pattern to match module name '{0}'.\"),\n  Module_name_0_matched_pattern_1: diag(6092, 3 /* Message */, \"Module_name_0_matched_pattern_1_6092\", \"Module name '{0}', matched pattern '{1}'.\"),\n  Trying_substitution_0_candidate_module_location_Colon_1: diag(6093, 3 /* Message */, \"Trying_substitution_0_candidate_module_location_Colon_1_6093\", \"Trying substitution '{0}', candidate module location: '{1}'.\"),\n  Resolving_module_name_0_relative_to_base_url_1_2: diag(6094, 3 /* Message */, \"Resolving_module_name_0_relative_to_base_url_1_2_6094\", \"Resolving module name '{0}' relative to base url '{1}' - '{2}'.\"),\n  Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1: diag(6095, 3 /* Message */, \"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095\", \"Loading module as file / folder, candidate module location '{0}', target file type '{1}'.\"),\n  File_0_does_not_exist: diag(6096, 3 /* Message */, \"File_0_does_not_exist_6096\", \"File '{0}' does not exist.\"),\n  File_0_exist_use_it_as_a_name_resolution_result: diag(6097, 3 /* Message */, \"File_0_exist_use_it_as_a_name_resolution_result_6097\", \"File '{0}' exist - use it as a name resolution result.\"),\n  Loading_module_0_from_node_modules_folder_target_file_type_1: diag(6098, 3 /* Message */, \"Loading_module_0_from_node_modules_folder_target_file_type_1_6098\", \"Loading module '{0}' from 'node_modules' folder, target file type '{1}'.\"),\n  Found_package_json_at_0: diag(6099, 3 /* Message */, \"Found_package_json_at_0_6099\", \"Found 'package.json' at '{0}'.\"),\n  package_json_does_not_have_a_0_field: diag(6100, 3 /* Message */, \"package_json_does_not_have_a_0_field_6100\", \"'package.json' does not have a '{0}' field.\"),\n  package_json_has_0_field_1_that_references_2: diag(6101, 3 /* Message */, \"package_json_has_0_field_1_that_references_2_6101\", \"'package.json' has '{0}' field '{1}' that references '{2}'.\"),\n  Allow_javascript_files_to_be_compiled: diag(6102, 3 /* Message */, \"Allow_javascript_files_to_be_compiled_6102\", \"Allow javascript files to be compiled.\"),\n  Checking_if_0_is_the_longest_matching_prefix_for_1_2: diag(6104, 3 /* Message */, \"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104\", \"Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'.\"),\n  Expected_type_of_0_field_in_package_json_to_be_1_got_2: diag(6105, 3 /* Message */, \"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105\", \"Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'.\"),\n  baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1: diag(6106, 3 /* Message */, \"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106\", \"'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'.\"),\n  rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0: diag(6107, 3 /* Message */, \"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107\", \"'rootDirs' option is set, using it to resolve relative module name '{0}'.\"),\n  Longest_matching_prefix_for_0_is_1: diag(6108, 3 /* Message */, \"Longest_matching_prefix_for_0_is_1_6108\", \"Longest matching prefix for '{0}' is '{1}'.\"),\n  Loading_0_from_the_root_dir_1_candidate_location_2: diag(6109, 3 /* Message */, \"Loading_0_from_the_root_dir_1_candidate_location_2_6109\", \"Loading '{0}' from the root dir '{1}', candidate location '{2}'.\"),\n  Trying_other_entries_in_rootDirs: diag(6110, 3 /* Message */, \"Trying_other_entries_in_rootDirs_6110\", \"Trying other entries in 'rootDirs'.\"),\n  Module_resolution_using_rootDirs_has_failed: diag(6111, 3 /* Message */, \"Module_resolution_using_rootDirs_has_failed_6111\", \"Module resolution using 'rootDirs' has failed.\"),\n  Do_not_emit_use_strict_directives_in_module_output: diag(6112, 3 /* Message */, \"Do_not_emit_use_strict_directives_in_module_output_6112\", \"Do not emit 'use strict' directives in module output.\"),\n  Enable_strict_null_checks: diag(6113, 3 /* Message */, \"Enable_strict_null_checks_6113\", \"Enable strict null checks.\"),\n  Unknown_option_excludes_Did_you_mean_exclude: diag(6114, 1 /* Error */, \"Unknown_option_excludes_Did_you_mean_exclude_6114\", \"Unknown option 'excludes'. Did you mean 'exclude'?\"),\n  Raise_error_on_this_expressions_with_an_implied_any_type: diag(6115, 3 /* Message */, \"Raise_error_on_this_expressions_with_an_implied_any_type_6115\", \"Raise error on 'this' expressions with an implied 'any' type.\"),\n  Resolving_type_reference_directive_0_containing_file_1_root_directory_2: diag(6116, 3 /* Message */, \"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116\", \"======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========\"),\n  Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2: diag(6119, 3 /* Message */, \"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119\", \"======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========\"),\n  Type_reference_directive_0_was_not_resolved: diag(6120, 3 /* Message */, \"Type_reference_directive_0_was_not_resolved_6120\", \"======== Type reference directive '{0}' was not resolved. ========\"),\n  Resolving_with_primary_search_path_0: diag(6121, 3 /* Message */, \"Resolving_with_primary_search_path_0_6121\", \"Resolving with primary search path '{0}'.\"),\n  Root_directory_cannot_be_determined_skipping_primary_search_paths: diag(6122, 3 /* Message */, \"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122\", \"Root directory cannot be determined, skipping primary search paths.\"),\n  Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set: diag(6123, 3 /* Message */, \"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123\", \"======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========\"),\n  Type_declaration_files_to_be_included_in_compilation: diag(6124, 3 /* Message */, \"Type_declaration_files_to_be_included_in_compilation_6124\", \"Type declaration files to be included in compilation.\"),\n  Looking_up_in_node_modules_folder_initial_location_0: diag(6125, 3 /* Message */, \"Looking_up_in_node_modules_folder_initial_location_0_6125\", \"Looking up in 'node_modules' folder, initial location '{0}'.\"),\n  Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder: diag(6126, 3 /* Message */, \"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126\", \"Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder.\"),\n  Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1: diag(6127, 3 /* Message */, \"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127\", \"======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========\"),\n  Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set: diag(6128, 3 /* Message */, \"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128\", \"======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========\"),\n  Resolving_real_path_for_0_result_1: diag(6130, 3 /* Message */, \"Resolving_real_path_for_0_result_1_6130\", \"Resolving real path for '{0}', result '{1}'.\"),\n  Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system: diag(6131, 1 /* Error */, \"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131\", \"Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'.\"),\n  File_name_0_has_a_1_extension_stripping_it: diag(6132, 3 /* Message */, \"File_name_0_has_a_1_extension_stripping_it_6132\", \"File name '{0}' has a '{1}' extension - stripping it.\"),\n  _0_is_declared_but_its_value_is_never_read: diag(6133, 1 /* Error */, \"_0_is_declared_but_its_value_is_never_read_6133\", \"'{0}' is declared but its value is never read.\", true),\n  Report_errors_on_unused_locals: diag(6134, 3 /* Message */, \"Report_errors_on_unused_locals_6134\", \"Report errors on unused locals.\"),\n  Report_errors_on_unused_parameters: diag(6135, 3 /* Message */, \"Report_errors_on_unused_parameters_6135\", \"Report errors on unused parameters.\"),\n  The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files: diag(6136, 3 /* Message */, \"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136\", \"The maximum dependency depth to search under node_modules and load JavaScript files.\"),\n  Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1: diag(6137, 1 /* Error */, \"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137\", \"Cannot import type declaration files. Consider importing '{0}' instead of '{1}'.\"),\n  Property_0_is_declared_but_its_value_is_never_read: diag(6138, 1 /* Error */, \"Property_0_is_declared_but_its_value_is_never_read_6138\", \"Property '{0}' is declared but its value is never read.\", true),\n  Import_emit_helpers_from_tslib: diag(6139, 3 /* Message */, \"Import_emit_helpers_from_tslib_6139\", \"Import emit helpers from 'tslib'.\"),\n  Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2: diag(6140, 1 /* Error */, \"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140\", \"Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'.\"),\n  Parse_in_strict_mode_and_emit_use_strict_for_each_source_file: diag(6141, 3 /* Message */, \"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141\", 'Parse in strict mode and emit \"use strict\" for each source file.'),\n  Module_0_was_resolved_to_1_but_jsx_is_not_set: diag(6142, 1 /* Error */, \"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142\", \"Module '{0}' was resolved to '{1}', but '--jsx' is not set.\"),\n  Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1: diag(6144, 3 /* Message */, \"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144\", \"Module '{0}' was resolved as locally declared ambient module in file '{1}'.\"),\n  Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified: diag(6145, 3 /* Message */, \"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145\", \"Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified.\"),\n  Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h: diag(6146, 3 /* Message */, \"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146\", \"Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'.\"),\n  Resolution_for_module_0_was_found_in_cache_from_location_1: diag(6147, 3 /* Message */, \"Resolution_for_module_0_was_found_in_cache_from_location_1_6147\", \"Resolution for module '{0}' was found in cache from location '{1}'.\"),\n  Directory_0_does_not_exist_skipping_all_lookups_in_it: diag(6148, 3 /* Message */, \"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148\", \"Directory '{0}' does not exist, skipping all lookups in it.\"),\n  Show_diagnostic_information: diag(6149, 3 /* Message */, \"Show_diagnostic_information_6149\", \"Show diagnostic information.\"),\n  Show_verbose_diagnostic_information: diag(6150, 3 /* Message */, \"Show_verbose_diagnostic_information_6150\", \"Show verbose diagnostic information.\"),\n  Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file: diag(6151, 3 /* Message */, \"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151\", \"Emit a single file with source maps instead of having a separate file.\"),\n  Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set: diag(6152, 3 /* Message */, \"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152\", \"Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set.\"),\n  Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule: diag(6153, 3 /* Message */, \"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153\", \"Transpile each file as a separate module (similar to 'ts.transpileModule').\"),\n  Print_names_of_generated_files_part_of_the_compilation: diag(6154, 3 /* Message */, \"Print_names_of_generated_files_part_of_the_compilation_6154\", \"Print names of generated files part of the compilation.\"),\n  Print_names_of_files_part_of_the_compilation: diag(6155, 3 /* Message */, \"Print_names_of_files_part_of_the_compilation_6155\", \"Print names of files part of the compilation.\"),\n  The_locale_used_when_displaying_messages_to_the_user_e_g_en_us: diag(6156, 3 /* Message */, \"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156\", \"The locale used when displaying messages to the user (e.g. 'en-us')\"),\n  Do_not_generate_custom_helper_functions_like_extends_in_compiled_output: diag(6157, 3 /* Message */, \"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157\", \"Do not generate custom helper functions like '__extends' in compiled output.\"),\n  Do_not_include_the_default_library_file_lib_d_ts: diag(6158, 3 /* Message */, \"Do_not_include_the_default_library_file_lib_d_ts_6158\", \"Do not include the default library file (lib.d.ts).\"),\n  Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files: diag(6159, 3 /* Message */, \"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159\", \"Do not add triple-slash references or imported modules to the list of compiled files.\"),\n  Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files: diag(6160, 3 /* Message */, \"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160\", \"[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files.\"),\n  List_of_folders_to_include_type_definitions_from: diag(6161, 3 /* Message */, \"List_of_folders_to_include_type_definitions_from_6161\", \"List of folders to include type definitions from.\"),\n  Disable_size_limitations_on_JavaScript_projects: diag(6162, 3 /* Message */, \"Disable_size_limitations_on_JavaScript_projects_6162\", \"Disable size limitations on JavaScript projects.\"),\n  The_character_set_of_the_input_files: diag(6163, 3 /* Message */, \"The_character_set_of_the_input_files_6163\", \"The character set of the input files.\"),\n  Do_not_truncate_error_messages: diag(6165, 3 /* Message */, \"Do_not_truncate_error_messages_6165\", \"Do not truncate error messages.\"),\n  Output_directory_for_generated_declaration_files: diag(6166, 3 /* Message */, \"Output_directory_for_generated_declaration_files_6166\", \"Output directory for generated declaration files.\"),\n  A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl: diag(6167, 3 /* Message */, \"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167\", \"A series of entries which re-map imports to lookup locations relative to the 'baseUrl'.\"),\n  List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime: diag(6168, 3 /* Message */, \"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168\", \"List of root folders whose combined content represents the structure of the project at runtime.\"),\n  Show_all_compiler_options: diag(6169, 3 /* Message */, \"Show_all_compiler_options_6169\", \"Show all compiler options.\"),\n  Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file: diag(6170, 3 /* Message */, \"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170\", \"[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file\"),\n  Command_line_Options: diag(6171, 3 /* Message */, \"Command_line_Options_6171\", \"Command-line Options\"),\n  Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3: diag(6179, 3 /* Message */, \"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179\", \"Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.\"),\n  Enable_all_strict_type_checking_options: diag(6180, 3 /* Message */, \"Enable_all_strict_type_checking_options_6180\", \"Enable all strict type-checking options.\"),\n  Scoped_package_detected_looking_in_0: diag(6182, 3 /* Message */, \"Scoped_package_detected_looking_in_0_6182\", \"Scoped package detected, looking in '{0}'\"),\n  Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2: diag(6183, 3 /* Message */, \"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183\", \"Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'.\"),\n  Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: diag(6184, 3 /* Message */, \"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184\", \"Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'.\"),\n  Enable_strict_checking_of_function_types: diag(6186, 3 /* Message */, \"Enable_strict_checking_of_function_types_6186\", \"Enable strict checking of function types.\"),\n  Enable_strict_checking_of_property_initialization_in_classes: diag(6187, 3 /* Message */, \"Enable_strict_checking_of_property_initialization_in_classes_6187\", \"Enable strict checking of property initialization in classes.\"),\n  Numeric_separators_are_not_allowed_here: diag(6188, 1 /* Error */, \"Numeric_separators_are_not_allowed_here_6188\", \"Numeric separators are not allowed here.\"),\n  Multiple_consecutive_numeric_separators_are_not_permitted: diag(6189, 1 /* Error */, \"Multiple_consecutive_numeric_separators_are_not_permitted_6189\", \"Multiple consecutive numeric separators are not permitted.\"),\n  Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen: diag(6191, 3 /* Message */, \"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191\", \"Whether to keep outdated console output in watch mode instead of clearing the screen.\"),\n  All_imports_in_import_declaration_are_unused: diag(6192, 1 /* Error */, \"All_imports_in_import_declaration_are_unused_6192\", \"All imports in import declaration are unused.\", true),\n  Found_1_error_Watching_for_file_changes: diag(6193, 3 /* Message */, \"Found_1_error_Watching_for_file_changes_6193\", \"Found 1 error. Watching for file changes.\"),\n  Found_0_errors_Watching_for_file_changes: diag(6194, 3 /* Message */, \"Found_0_errors_Watching_for_file_changes_6194\", \"Found {0} errors. Watching for file changes.\"),\n  Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols: diag(6195, 3 /* Message */, \"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195\", \"Resolve 'keyof' to string valued property names only (no numbers or symbols).\"),\n  _0_is_declared_but_never_used: diag(6196, 1 /* Error */, \"_0_is_declared_but_never_used_6196\", \"'{0}' is declared but never used.\", true),\n  Include_modules_imported_with_json_extension: diag(6197, 3 /* Message */, \"Include_modules_imported_with_json_extension_6197\", \"Include modules imported with '.json' extension\"),\n  All_destructured_elements_are_unused: diag(6198, 1 /* Error */, \"All_destructured_elements_are_unused_6198\", \"All destructured elements are unused.\", true),\n  All_variables_are_unused: diag(6199, 1 /* Error */, \"All_variables_are_unused_6199\", \"All variables are unused.\", true),\n  Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0: diag(6200, 1 /* Error */, \"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200\", \"Definitions of the following identifiers conflict with those in another file: {0}\"),\n  Conflicts_are_in_this_file: diag(6201, 3 /* Message */, \"Conflicts_are_in_this_file_6201\", \"Conflicts are in this file.\"),\n  Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0: diag(6202, 1 /* Error */, \"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202\", \"Project references may not form a circular graph. Cycle detected: {0}\"),\n  _0_was_also_declared_here: diag(6203, 3 /* Message */, \"_0_was_also_declared_here_6203\", \"'{0}' was also declared here.\"),\n  and_here: diag(6204, 3 /* Message */, \"and_here_6204\", \"and here.\"),\n  All_type_parameters_are_unused: diag(6205, 1 /* Error */, \"All_type_parameters_are_unused_6205\", \"All type parameters are unused.\"),\n  package_json_has_a_typesVersions_field_with_version_specific_path_mappings: diag(6206, 3 /* Message */, \"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206\", \"'package.json' has a 'typesVersions' field with version-specific path mappings.\"),\n  package_json_does_not_have_a_typesVersions_entry_that_matches_version_0: diag(6207, 3 /* Message */, \"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207\", \"'package.json' does not have a 'typesVersions' entry that matches version '{0}'.\"),\n  package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2: diag(6208, 3 /* Message */, \"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208\", \"'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'.\"),\n  package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range: diag(6209, 3 /* Message */, \"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209\", \"'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range.\"),\n  An_argument_for_0_was_not_provided: diag(6210, 3 /* Message */, \"An_argument_for_0_was_not_provided_6210\", \"An argument for '{0}' was not provided.\"),\n  An_argument_matching_this_binding_pattern_was_not_provided: diag(6211, 3 /* Message */, \"An_argument_matching_this_binding_pattern_was_not_provided_6211\", \"An argument matching this binding pattern was not provided.\"),\n  Did_you_mean_to_call_this_expression: diag(6212, 3 /* Message */, \"Did_you_mean_to_call_this_expression_6212\", \"Did you mean to call this expression?\"),\n  Did_you_mean_to_use_new_with_this_expression: diag(6213, 3 /* Message */, \"Did_you_mean_to_use_new_with_this_expression_6213\", \"Did you mean to use 'new' with this expression?\"),\n  Enable_strict_bind_call_and_apply_methods_on_functions: diag(6214, 3 /* Message */, \"Enable_strict_bind_call_and_apply_methods_on_functions_6214\", \"Enable strict 'bind', 'call', and 'apply' methods on functions.\"),\n  Using_compiler_options_of_project_reference_redirect_0: diag(6215, 3 /* Message */, \"Using_compiler_options_of_project_reference_redirect_0_6215\", \"Using compiler options of project reference redirect '{0}'.\"),\n  Found_1_error: diag(6216, 3 /* Message */, \"Found_1_error_6216\", \"Found 1 error.\"),\n  Found_0_errors: diag(6217, 3 /* Message */, \"Found_0_errors_6217\", \"Found {0} errors.\"),\n  Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2: diag(6218, 3 /* Message */, \"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218\", \"======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========\"),\n  Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3: diag(6219, 3 /* Message */, \"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219\", \"======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========\"),\n  package_json_had_a_falsy_0_field: diag(6220, 3 /* Message */, \"package_json_had_a_falsy_0_field_6220\", \"'package.json' had a falsy '{0}' field.\"),\n  Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects: diag(6221, 3 /* Message */, \"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221\", \"Disable use of source files instead of declaration files from referenced projects.\"),\n  Emit_class_fields_with_Define_instead_of_Set: diag(6222, 3 /* Message */, \"Emit_class_fields_with_Define_instead_of_Set_6222\", \"Emit class fields with Define instead of Set.\"),\n  Generates_a_CPU_profile: diag(6223, 3 /* Message */, \"Generates_a_CPU_profile_6223\", \"Generates a CPU profile.\"),\n  Disable_solution_searching_for_this_project: diag(6224, 3 /* Message */, \"Disable_solution_searching_for_this_project_6224\", \"Disable solution searching for this project.\"),\n  Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory: diag(6225, 3 /* Message */, \"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225\", \"Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'.\"),\n  Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling: diag(6226, 3 /* Message */, \"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226\", \"Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'.\"),\n  Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize: diag(6227, 3 /* Message */, \"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227\", \"Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'.\"),\n  Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3: diag(6229, 1 /* Error */, \"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229\", \"Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'.\"),\n  Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line: diag(6230, 1 /* Error */, \"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230\", \"Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line.\"),\n  Could_not_resolve_the_path_0_with_the_extensions_Colon_1: diag(6231, 1 /* Error */, \"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231\", \"Could not resolve the path '{0}' with the extensions: {1}.\"),\n  Declaration_augments_declaration_in_another_file_This_cannot_be_serialized: diag(6232, 1 /* Error */, \"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232\", \"Declaration augments declaration in another file. This cannot be serialized.\"),\n  This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file: diag(6233, 1 /* Error */, \"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233\", \"This is the declaration being augmented. Consider moving the augmenting declaration into the same file.\"),\n  This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without: diag(6234, 1 /* Error */, \"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234\", \"This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?\"),\n  Disable_loading_referenced_projects: diag(6235, 3 /* Message */, \"Disable_loading_referenced_projects_6235\", \"Disable loading referenced projects.\"),\n  Arguments_for_the_rest_parameter_0_were_not_provided: diag(6236, 1 /* Error */, \"Arguments_for_the_rest_parameter_0_were_not_provided_6236\", \"Arguments for the rest parameter '{0}' were not provided.\"),\n  Generates_an_event_trace_and_a_list_of_types: diag(6237, 3 /* Message */, \"Generates_an_event_trace_and_a_list_of_types_6237\", \"Generates an event trace and a list of types.\"),\n  Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react: diag(6238, 1 /* Error */, \"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238\", \"Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react\"),\n  File_0_exists_according_to_earlier_cached_lookups: diag(6239, 3 /* Message */, \"File_0_exists_according_to_earlier_cached_lookups_6239\", \"File '{0}' exists according to earlier cached lookups.\"),\n  File_0_does_not_exist_according_to_earlier_cached_lookups: diag(6240, 3 /* Message */, \"File_0_does_not_exist_according_to_earlier_cached_lookups_6240\", \"File '{0}' does not exist according to earlier cached lookups.\"),\n  Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1: diag(6241, 3 /* Message */, \"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241\", \"Resolution for type reference directive '{0}' was found in cache from location '{1}'.\"),\n  Resolving_type_reference_directive_0_containing_file_1: diag(6242, 3 /* Message */, \"Resolving_type_reference_directive_0_containing_file_1_6242\", \"======== Resolving type reference directive '{0}', containing file '{1}'. ========\"),\n  Interpret_optional_property_types_as_written_rather_than_adding_undefined: diag(6243, 3 /* Message */, \"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243\", \"Interpret optional property types as written, rather than adding 'undefined'.\"),\n  Modules: diag(6244, 3 /* Message */, \"Modules_6244\", \"Modules\"),\n  File_Management: diag(6245, 3 /* Message */, \"File_Management_6245\", \"File Management\"),\n  Emit: diag(6246, 3 /* Message */, \"Emit_6246\", \"Emit\"),\n  JavaScript_Support: diag(6247, 3 /* Message */, \"JavaScript_Support_6247\", \"JavaScript Support\"),\n  Type_Checking: diag(6248, 3 /* Message */, \"Type_Checking_6248\", \"Type Checking\"),\n  Editor_Support: diag(6249, 3 /* Message */, \"Editor_Support_6249\", \"Editor Support\"),\n  Watch_and_Build_Modes: diag(6250, 3 /* Message */, \"Watch_and_Build_Modes_6250\", \"Watch and Build Modes\"),\n  Compiler_Diagnostics: diag(6251, 3 /* Message */, \"Compiler_Diagnostics_6251\", \"Compiler Diagnostics\"),\n  Interop_Constraints: diag(6252, 3 /* Message */, \"Interop_Constraints_6252\", \"Interop Constraints\"),\n  Backwards_Compatibility: diag(6253, 3 /* Message */, \"Backwards_Compatibility_6253\", \"Backwards Compatibility\"),\n  Language_and_Environment: diag(6254, 3 /* Message */, \"Language_and_Environment_6254\", \"Language and Environment\"),\n  Projects: diag(6255, 3 /* Message */, \"Projects_6255\", \"Projects\"),\n  Output_Formatting: diag(6256, 3 /* Message */, \"Output_Formatting_6256\", \"Output Formatting\"),\n  Completeness: diag(6257, 3 /* Message */, \"Completeness_6257\", \"Completeness\"),\n  _0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: diag(6258, 1 /* Error */, \"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258\", \"'{0}' should be set inside the 'compilerOptions' object of the config json file\"),\n  Found_1_error_in_1: diag(6259, 3 /* Message */, \"Found_1_error_in_1_6259\", \"Found 1 error in {1}\"),\n  Found_0_errors_in_the_same_file_starting_at_Colon_1: diag(6260, 3 /* Message */, \"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260\", \"Found {0} errors in the same file, starting at: {1}\"),\n  Found_0_errors_in_1_files: diag(6261, 3 /* Message */, \"Found_0_errors_in_1_files_6261\", \"Found {0} errors in {1} files.\"),\n  Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve: diag(6270, 3 /* Message */, \"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270\", \"Directory '{0}' has no containing package.json scope. Imports will not resolve.\"),\n  Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1: diag(6271, 3 /* Message */, \"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271\", \"Import specifier '{0}' does not exist in package.json scope at path '{1}'.\"),\n  Invalid_import_specifier_0_has_no_possible_resolutions: diag(6272, 3 /* Message */, \"Invalid_import_specifier_0_has_no_possible_resolutions_6272\", \"Invalid import specifier '{0}' has no possible resolutions.\"),\n  package_json_scope_0_has_no_imports_defined: diag(6273, 3 /* Message */, \"package_json_scope_0_has_no_imports_defined_6273\", \"package.json scope '{0}' has no imports defined.\"),\n  package_json_scope_0_explicitly_maps_specifier_1_to_null: diag(6274, 3 /* Message */, \"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274\", \"package.json scope '{0}' explicitly maps specifier '{1}' to null.\"),\n  package_json_scope_0_has_invalid_type_for_target_of_specifier_1: diag(6275, 3 /* Message */, \"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275\", \"package.json scope '{0}' has invalid type for target of specifier '{1}'\"),\n  Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1: diag(6276, 3 /* Message */, \"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276\", \"Export specifier '{0}' does not exist in package.json scope at path '{1}'.\"),\n  Enable_project_compilation: diag(6302, 3 /* Message */, \"Enable_project_compilation_6302\", \"Enable project compilation\"),\n  Composite_projects_may_not_disable_declaration_emit: diag(6304, 1 /* Error */, \"Composite_projects_may_not_disable_declaration_emit_6304\", \"Composite projects may not disable declaration emit.\"),\n  Output_file_0_has_not_been_built_from_source_file_1: diag(6305, 1 /* Error */, \"Output_file_0_has_not_been_built_from_source_file_1_6305\", \"Output file '{0}' has not been built from source file '{1}'.\"),\n  Referenced_project_0_must_have_setting_composite_Colon_true: diag(6306, 1 /* Error */, \"Referenced_project_0_must_have_setting_composite_Colon_true_6306\", `Referenced project '{0}' must have setting \"composite\": true.`),\n  File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern: diag(6307, 1 /* Error */, \"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307\", \"File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern.\"),\n  Cannot_prepend_project_0_because_it_does_not_have_outFile_set: diag(6308, 1 /* Error */, \"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308\", \"Cannot prepend project '{0}' because it does not have 'outFile' set\"),\n  Output_file_0_from_project_1_does_not_exist: diag(6309, 1 /* Error */, \"Output_file_0_from_project_1_does_not_exist_6309\", \"Output file '{0}' from project '{1}' does not exist\"),\n  Referenced_project_0_may_not_disable_emit: diag(6310, 1 /* Error */, \"Referenced_project_0_may_not_disable_emit_6310\", \"Referenced project '{0}' may not disable emit.\"),\n  Project_0_is_out_of_date_because_output_1_is_older_than_input_2: diag(6350, 3 /* Message */, \"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350\", \"Project '{0}' is out of date because output '{1}' is older than input '{2}'\"),\n  Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2: diag(6351, 3 /* Message */, \"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351\", \"Project '{0}' is up to date because newest input '{1}' is older than output '{2}'\"),\n  Project_0_is_out_of_date_because_output_file_1_does_not_exist: diag(6352, 3 /* Message */, \"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352\", \"Project '{0}' is out of date because output file '{1}' does not exist\"),\n  Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date: diag(6353, 3 /* Message */, \"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353\", \"Project '{0}' is out of date because its dependency '{1}' is out of date\"),\n  Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies: diag(6354, 3 /* Message */, \"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354\", \"Project '{0}' is up to date with .d.ts files from its dependencies\"),\n  Projects_in_this_build_Colon_0: diag(6355, 3 /* Message */, \"Projects_in_this_build_Colon_0_6355\", \"Projects in this build: {0}\"),\n  A_non_dry_build_would_delete_the_following_files_Colon_0: diag(6356, 3 /* Message */, \"A_non_dry_build_would_delete_the_following_files_Colon_0_6356\", \"A non-dry build would delete the following files: {0}\"),\n  A_non_dry_build_would_build_project_0: diag(6357, 3 /* Message */, \"A_non_dry_build_would_build_project_0_6357\", \"A non-dry build would build project '{0}'\"),\n  Building_project_0: diag(6358, 3 /* Message */, \"Building_project_0_6358\", \"Building project '{0}'...\"),\n  Updating_output_timestamps_of_project_0: diag(6359, 3 /* Message */, \"Updating_output_timestamps_of_project_0_6359\", \"Updating output timestamps of project '{0}'...\"),\n  Project_0_is_up_to_date: diag(6361, 3 /* Message */, \"Project_0_is_up_to_date_6361\", \"Project '{0}' is up to date\"),\n  Skipping_build_of_project_0_because_its_dependency_1_has_errors: diag(6362, 3 /* Message */, \"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362\", \"Skipping build of project '{0}' because its dependency '{1}' has errors\"),\n  Project_0_can_t_be_built_because_its_dependency_1_has_errors: diag(6363, 3 /* Message */, \"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363\", \"Project '{0}' can't be built because its dependency '{1}' has errors\"),\n  Build_one_or_more_projects_and_their_dependencies_if_out_of_date: diag(6364, 3 /* Message */, \"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364\", \"Build one or more projects and their dependencies, if out of date\"),\n  Delete_the_outputs_of_all_projects: diag(6365, 3 /* Message */, \"Delete_the_outputs_of_all_projects_6365\", \"Delete the outputs of all projects.\"),\n  Show_what_would_be_built_or_deleted_if_specified_with_clean: diag(6367, 3 /* Message */, \"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367\", \"Show what would be built (or deleted, if specified with '--clean')\"),\n  Option_build_must_be_the_first_command_line_argument: diag(6369, 1 /* Error */, \"Option_build_must_be_the_first_command_line_argument_6369\", \"Option '--build' must be the first command line argument.\"),\n  Options_0_and_1_cannot_be_combined: diag(6370, 1 /* Error */, \"Options_0_and_1_cannot_be_combined_6370\", \"Options '{0}' and '{1}' cannot be combined.\"),\n  Updating_unchanged_output_timestamps_of_project_0: diag(6371, 3 /* Message */, \"Updating_unchanged_output_timestamps_of_project_0_6371\", \"Updating unchanged output timestamps of project '{0}'...\"),\n  Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed: diag(6372, 3 /* Message */, \"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372\", \"Project '{0}' is out of date because output of its dependency '{1}' has changed\"),\n  Updating_output_of_project_0: diag(6373, 3 /* Message */, \"Updating_output_of_project_0_6373\", \"Updating output of project '{0}'...\"),\n  A_non_dry_build_would_update_timestamps_for_output_of_project_0: diag(6374, 3 /* Message */, \"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374\", \"A non-dry build would update timestamps for output of project '{0}'\"),\n  A_non_dry_build_would_update_output_of_project_0: diag(6375, 3 /* Message */, \"A_non_dry_build_would_update_output_of_project_0_6375\", \"A non-dry build would update output of project '{0}'\"),\n  Cannot_update_output_of_project_0_because_there_was_error_reading_file_1: diag(6376, 3 /* Message */, \"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376\", \"Cannot update output of project '{0}' because there was error reading file '{1}'\"),\n  Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1: diag(6377, 1 /* Error */, \"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377\", \"Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'\"),\n  Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1 /* Error */, \"Composite_projects_may_not_disable_incremental_compilation_6379\", \"Composite projects may not disable incremental compilation.\"),\n  Specify_file_to_store_incremental_compilation_information: diag(6380, 3 /* Message */, \"Specify_file_to_store_incremental_compilation_information_6380\", \"Specify file to store incremental compilation information\"),\n  Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2: diag(6381, 3 /* Message */, \"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381\", \"Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'\"),\n  Skipping_build_of_project_0_because_its_dependency_1_was_not_built: diag(6382, 3 /* Message */, \"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382\", \"Skipping build of project '{0}' because its dependency '{1}' was not built\"),\n  Project_0_can_t_be_built_because_its_dependency_1_was_not_built: diag(6383, 3 /* Message */, \"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383\", \"Project '{0}' can't be built because its dependency '{1}' was not built\"),\n  Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: diag(6384, 3 /* Message */, \"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384\", \"Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.\"),\n  _0_is_deprecated: diag(6385, 2 /* Suggestion */, \"_0_is_deprecated_6385\", \"'{0}' is deprecated.\", void 0, void 0, true),\n  Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found: diag(6386, 3 /* Message */, \"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386\", \"Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found.\"),\n  The_signature_0_of_1_is_deprecated: diag(6387, 2 /* Suggestion */, \"The_signature_0_of_1_is_deprecated_6387\", \"The signature '{0}' of '{1}' is deprecated.\", void 0, void 0, true),\n  Project_0_is_being_forcibly_rebuilt: diag(6388, 3 /* Message */, \"Project_0_is_being_forcibly_rebuilt_6388\", \"Project '{0}' is being forcibly rebuilt\"),\n  Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved: diag(6389, 3 /* Message */, \"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389\", \"Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved.\"),\n  Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2: diag(6390, 3 /* Message */, \"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390\", \"Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'.\"),\n  Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3: diag(6391, 3 /* Message */, \"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391\", \"Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'.\"),\n  Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved: diag(6392, 3 /* Message */, \"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392\", \"Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved.\"),\n  Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3: diag(6393, 3 /* Message */, \"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393\", \"Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'.\"),\n  Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4: diag(6394, 3 /* Message */, \"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394\", \"Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'.\"),\n  Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved: diag(6395, 3 /* Message */, \"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395\", \"Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved.\"),\n  Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3: diag(6396, 3 /* Message */, \"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396\", \"Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'.\"),\n  Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4: diag(6397, 3 /* Message */, \"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397\", \"Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'.\"),\n  Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved: diag(6398, 3 /* Message */, \"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398\", \"Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved.\"),\n  Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted: diag(6399, 3 /* Message */, \"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399\", \"Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted\"),\n  Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files: diag(6400, 3 /* Message */, \"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400\", \"Project '{0}' is up to date but needs to update timestamps of output files that are older than input files\"),\n  Project_0_is_out_of_date_because_there_was_error_reading_file_1: diag(6401, 3 /* Message */, \"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401\", \"Project '{0}' is out of date because there was error reading file '{1}'\"),\n  Resolving_in_0_mode_with_conditions_1: diag(6402, 3 /* Message */, \"Resolving_in_0_mode_with_conditions_1_6402\", \"Resolving in {0} mode with conditions {1}.\"),\n  Matched_0_condition_1: diag(6403, 3 /* Message */, \"Matched_0_condition_1_6403\", \"Matched '{0}' condition '{1}'.\"),\n  Using_0_subpath_1_with_target_2: diag(6404, 3 /* Message */, \"Using_0_subpath_1_with_target_2_6404\", \"Using '{0}' subpath '{1}' with target '{2}'.\"),\n  Saw_non_matching_condition_0: diag(6405, 3 /* Message */, \"Saw_non_matching_condition_0_6405\", \"Saw non-matching condition '{0}'.\"),\n  The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1: diag(6500, 3 /* Message */, \"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500\", \"The expected type comes from property '{0}' which is declared here on type '{1}'\"),\n  The_expected_type_comes_from_this_index_signature: diag(6501, 3 /* Message */, \"The_expected_type_comes_from_this_index_signature_6501\", \"The expected type comes from this index signature.\"),\n  The_expected_type_comes_from_the_return_type_of_this_signature: diag(6502, 3 /* Message */, \"The_expected_type_comes_from_the_return_type_of_this_signature_6502\", \"The expected type comes from the return type of this signature.\"),\n  Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing: diag(6503, 3 /* Message */, \"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503\", \"Print names of files that are part of the compilation and then stop processing.\"),\n  File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option: diag(6504, 1 /* Error */, \"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504\", \"File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?\"),\n  Print_names_of_files_and_the_reason_they_are_part_of_the_compilation: diag(6505, 3 /* Message */, \"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505\", \"Print names of files and the reason they are part of the compilation.\"),\n  Consider_adding_a_declare_modifier_to_this_class: diag(6506, 3 /* Message */, \"Consider_adding_a_declare_modifier_to_this_class_6506\", \"Consider adding a 'declare' modifier to this class.\"),\n  Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files: diag(6600, 3 /* Message */, \"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600\", \"Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.\"),\n  Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export: diag(6601, 3 /* Message */, \"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601\", \"Allow 'import x from y' when a module doesn't have a default export.\"),\n  Allow_accessing_UMD_globals_from_modules: diag(6602, 3 /* Message */, \"Allow_accessing_UMD_globals_from_modules_6602\", \"Allow accessing UMD globals from modules.\"),\n  Disable_error_reporting_for_unreachable_code: diag(6603, 3 /* Message */, \"Disable_error_reporting_for_unreachable_code_6603\", \"Disable error reporting for unreachable code.\"),\n  Disable_error_reporting_for_unused_labels: diag(6604, 3 /* Message */, \"Disable_error_reporting_for_unused_labels_6604\", \"Disable error reporting for unused labels.\"),\n  Ensure_use_strict_is_always_emitted: diag(6605, 3 /* Message */, \"Ensure_use_strict_is_always_emitted_6605\", \"Ensure 'use strict' is always emitted.\"),\n  Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: diag(6606, 3 /* Message */, \"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606\", \"Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it.\"),\n  Specify_the_base_directory_to_resolve_non_relative_module_names: diag(6607, 3 /* Message */, \"Specify_the_base_directory_to_resolve_non_relative_module_names_6607\", \"Specify the base directory to resolve non-relative module names.\"),\n  No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files: diag(6608, 3 /* Message */, \"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608\", \"No longer supported. In early versions, manually set the text encoding for reading files.\"),\n  Enable_error_reporting_in_type_checked_JavaScript_files: diag(6609, 3 /* Message */, \"Enable_error_reporting_in_type_checked_JavaScript_files_6609\", \"Enable error reporting in type-checked JavaScript files.\"),\n  Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references: diag(6611, 3 /* Message */, \"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611\", \"Enable constraints that allow a TypeScript project to be used with project references.\"),\n  Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project: diag(6612, 3 /* Message */, \"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612\", \"Generate .d.ts files from TypeScript and JavaScript files in your project.\"),\n  Specify_the_output_directory_for_generated_declaration_files: diag(6613, 3 /* Message */, \"Specify_the_output_directory_for_generated_declaration_files_6613\", \"Specify the output directory for generated declaration files.\"),\n  Create_sourcemaps_for_d_ts_files: diag(6614, 3 /* Message */, \"Create_sourcemaps_for_d_ts_files_6614\", \"Create sourcemaps for d.ts files.\"),\n  Output_compiler_performance_information_after_building: diag(6615, 3 /* Message */, \"Output_compiler_performance_information_after_building_6615\", \"Output compiler performance information after building.\"),\n  Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project: diag(6616, 3 /* Message */, \"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616\", \"Disables inference for type acquisition by looking at filenames in a project.\"),\n  Reduce_the_number_of_projects_loaded_automatically_by_TypeScript: diag(6617, 3 /* Message */, \"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617\", \"Reduce the number of projects loaded automatically by TypeScript.\"),\n  Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server: diag(6618, 3 /* Message */, \"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618\", \"Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server.\"),\n  Opt_a_project_out_of_multi_project_reference_checking_when_editing: diag(6619, 3 /* Message */, \"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619\", \"Opt a project out of multi-project reference checking when editing.\"),\n  Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects: diag(6620, 3 /* Message */, \"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620\", \"Disable preferring source files instead of declaration files when referencing composite projects.\"),\n  Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration: diag(6621, 3 /* Message */, \"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621\", \"Emit more compliant, but verbose and less performant JavaScript for iteration.\"),\n  Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files: diag(6622, 3 /* Message */, \"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622\", \"Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.\"),\n  Only_output_d_ts_files_and_not_JavaScript_files: diag(6623, 3 /* Message */, \"Only_output_d_ts_files_and_not_JavaScript_files_6623\", \"Only output d.ts files and not JavaScript files.\"),\n  Emit_design_type_metadata_for_decorated_declarations_in_source_files: diag(6624, 3 /* Message */, \"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624\", \"Emit design-type metadata for decorated declarations in source files.\"),\n  Disable_the_type_acquisition_for_JavaScript_projects: diag(6625, 3 /* Message */, \"Disable_the_type_acquisition_for_JavaScript_projects_6625\", \"Disable the type acquisition for JavaScript projects\"),\n  Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility: diag(6626, 3 /* Message */, \"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626\", \"Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility.\"),\n  Filters_results_from_the_include_option: diag(6627, 3 /* Message */, \"Filters_results_from_the_include_option_6627\", \"Filters results from the `include` option.\"),\n  Remove_a_list_of_directories_from_the_watch_process: diag(6628, 3 /* Message */, \"Remove_a_list_of_directories_from_the_watch_process_6628\", \"Remove a list of directories from the watch process.\"),\n  Remove_a_list_of_files_from_the_watch_mode_s_processing: diag(6629, 3 /* Message */, \"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629\", \"Remove a list of files from the watch mode's processing.\"),\n  Enable_experimental_support_for_TC39_stage_2_draft_decorators: diag(6630, 3 /* Message */, \"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630\", \"Enable experimental support for TC39 stage 2 draft decorators.\"),\n  Print_files_read_during_the_compilation_including_why_it_was_included: diag(6631, 3 /* Message */, \"Print_files_read_during_the_compilation_including_why_it_was_included_6631\", \"Print files read during the compilation including why it was included.\"),\n  Output_more_detailed_compiler_performance_information_after_building: diag(6632, 3 /* Message */, \"Output_more_detailed_compiler_performance_information_after_building_6632\", \"Output more detailed compiler performance information after building.\"),\n  Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited: diag(6633, 3 /* Message */, \"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633\", \"Specify one or more path or node module references to base configuration files from which settings are inherited.\"),\n  Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers: diag(6634, 3 /* Message */, \"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634\", \"Specify what approach the watcher should use if the system runs out of native file watchers.\"),\n  Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include: diag(6635, 3 /* Message */, \"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635\", \"Include a list of files. This does not support glob patterns, as opposed to `include`.\"),\n  Build_all_projects_including_those_that_appear_to_be_up_to_date: diag(6636, 3 /* Message */, \"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636\", \"Build all projects, including those that appear to be up to date.\"),\n  Ensure_that_casing_is_correct_in_imports: diag(6637, 3 /* Message */, \"Ensure_that_casing_is_correct_in_imports_6637\", \"Ensure that casing is correct in imports.\"),\n  Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging: diag(6638, 3 /* Message */, \"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638\", \"Emit a v8 CPU profile of the compiler run for debugging.\"),\n  Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file: diag(6639, 3 /* Message */, \"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639\", \"Allow importing helper functions from tslib once per project, instead of including them per-file.\"),\n  Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: diag(6641, 3 /* Message */, \"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641\", \"Specify a list of glob patterns that match files to be included in compilation.\"),\n  Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects: diag(6642, 3 /* Message */, \"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642\", \"Save .tsbuildinfo files to allow for incremental compilation of projects.\"),\n  Include_sourcemap_files_inside_the_emitted_JavaScript: diag(6643, 3 /* Message */, \"Include_sourcemap_files_inside_the_emitted_JavaScript_6643\", \"Include sourcemap files inside the emitted JavaScript.\"),\n  Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript: diag(6644, 3 /* Message */, \"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644\", \"Include source code in the sourcemaps inside the emitted JavaScript.\"),\n  Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports: diag(6645, 3 /* Message */, \"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645\", \"Ensure that each file can be safely transpiled without relying on other imports.\"),\n  Specify_what_JSX_code_is_generated: diag(6646, 3 /* Message */, \"Specify_what_JSX_code_is_generated_6646\", \"Specify what JSX code is generated.\"),\n  Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h: diag(6647, 3 /* Message */, \"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647\", \"Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'.\"),\n  Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment: diag(6648, 3 /* Message */, \"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648\", \"Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.\"),\n  Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk: diag(6649, 3 /* Message */, \"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649\", \"Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'.\"),\n  Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option: diag(6650, 3 /* Message */, \"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650\", \"Make keyof only return strings instead of string, numbers or symbols. Legacy option.\"),\n  Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment: diag(6651, 3 /* Message */, \"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651\", \"Specify a set of bundled library declaration files that describe the target runtime environment.\"),\n  Print_the_names_of_emitted_files_after_a_compilation: diag(6652, 3 /* Message */, \"Print_the_names_of_emitted_files_after_a_compilation_6652\", \"Print the names of emitted files after a compilation.\"),\n  Print_all_of_the_files_read_during_the_compilation: diag(6653, 3 /* Message */, \"Print_all_of_the_files_read_during_the_compilation_6653\", \"Print all of the files read during the compilation.\"),\n  Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit: diag(6654, 3 /* Message */, \"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654\", \"Set the language of the messaging from TypeScript. This does not affect emit.\"),\n  Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations: diag(6655, 3 /* Message */, \"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655\", \"Specify the location where debugger should locate map files instead of generated locations.\"),\n  Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs: diag(6656, 3 /* Message */, \"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656\", \"Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'.\"),\n  Specify_what_module_code_is_generated: diag(6657, 3 /* Message */, \"Specify_what_module_code_is_generated_6657\", \"Specify what module code is generated.\"),\n  Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier: diag(6658, 3 /* Message */, \"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658\", \"Specify how TypeScript looks up a file from a given module specifier.\"),\n  Set_the_newline_character_for_emitting_files: diag(6659, 3 /* Message */, \"Set_the_newline_character_for_emitting_files_6659\", \"Set the newline character for emitting files.\"),\n  Disable_emitting_files_from_a_compilation: diag(6660, 3 /* Message */, \"Disable_emitting_files_from_a_compilation_6660\", \"Disable emitting files from a compilation.\"),\n  Disable_generating_custom_helper_functions_like_extends_in_compiled_output: diag(6661, 3 /* Message */, \"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661\", \"Disable generating custom helper functions like '__extends' in compiled output.\"),\n  Disable_emitting_files_if_any_type_checking_errors_are_reported: diag(6662, 3 /* Message */, \"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662\", \"Disable emitting files if any type checking errors are reported.\"),\n  Disable_truncating_types_in_error_messages: diag(6663, 3 /* Message */, \"Disable_truncating_types_in_error_messages_6663\", \"Disable truncating types in error messages.\"),\n  Enable_error_reporting_for_fallthrough_cases_in_switch_statements: diag(6664, 3 /* Message */, \"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664\", \"Enable error reporting for fallthrough cases in switch statements.\"),\n  Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type: diag(6665, 3 /* Message */, \"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665\", \"Enable error reporting for expressions and declarations with an implied 'any' type.\"),\n  Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier: diag(6666, 3 /* Message */, \"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666\", \"Ensure overriding members in derived classes are marked with an override modifier.\"),\n  Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function: diag(6667, 3 /* Message */, \"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667\", \"Enable error reporting for codepaths that do not explicitly return in a function.\"),\n  Enable_error_reporting_when_this_is_given_the_type_any: diag(6668, 3 /* Message */, \"Enable_error_reporting_when_this_is_given_the_type_any_6668\", \"Enable error reporting when 'this' is given the type 'any'.\"),\n  Disable_adding_use_strict_directives_in_emitted_JavaScript_files: diag(6669, 3 /* Message */, \"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669\", \"Disable adding 'use strict' directives in emitted JavaScript files.\"),\n  Disable_including_any_library_files_including_the_default_lib_d_ts: diag(6670, 3 /* Message */, \"Disable_including_any_library_files_including_the_default_lib_d_ts_6670\", \"Disable including any library files, including the default lib.d.ts.\"),\n  Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type: diag(6671, 3 /* Message */, \"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671\", \"Enforces using indexed accessors for keys declared using an indexed type.\"),\n  Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project: diag(6672, 3 /* Message */, \"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672\", \"Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project.\"),\n  Disable_strict_checking_of_generic_signatures_in_function_types: diag(6673, 3 /* Message */, \"Disable_strict_checking_of_generic_signatures_in_function_types_6673\", \"Disable strict checking of generic signatures in function types.\"),\n  Add_undefined_to_a_type_when_accessed_using_an_index: diag(6674, 3 /* Message */, \"Add_undefined_to_a_type_when_accessed_using_an_index_6674\", \"Add 'undefined' to a type when accessed using an index.\"),\n  Enable_error_reporting_when_local_variables_aren_t_read: diag(6675, 3 /* Message */, \"Enable_error_reporting_when_local_variables_aren_t_read_6675\", \"Enable error reporting when local variables aren't read.\"),\n  Raise_an_error_when_a_function_parameter_isn_t_read: diag(6676, 3 /* Message */, \"Raise_an_error_when_a_function_parameter_isn_t_read_6676\", \"Raise an error when a function parameter isn't read.\"),\n  Deprecated_setting_Use_outFile_instead: diag(6677, 3 /* Message */, \"Deprecated_setting_Use_outFile_instead_6677\", \"Deprecated setting. Use 'outFile' instead.\"),\n  Specify_an_output_folder_for_all_emitted_files: diag(6678, 3 /* Message */, \"Specify_an_output_folder_for_all_emitted_files_6678\", \"Specify an output folder for all emitted files.\"),\n  Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output: diag(6679, 3 /* Message */, \"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679\", \"Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output.\"),\n  Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations: diag(6680, 3 /* Message */, \"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680\", \"Specify a set of entries that re-map imports to additional lookup locations.\"),\n  Specify_a_list_of_language_service_plugins_to_include: diag(6681, 3 /* Message */, \"Specify_a_list_of_language_service_plugins_to_include_6681\", \"Specify a list of language service plugins to include.\"),\n  Disable_erasing_const_enum_declarations_in_generated_code: diag(6682, 3 /* Message */, \"Disable_erasing_const_enum_declarations_in_generated_code_6682\", \"Disable erasing 'const enum' declarations in generated code.\"),\n  Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node: diag(6683, 3 /* Message */, \"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683\", \"Disable resolving symlinks to their realpath. This correlates to the same flag in node.\"),\n  Disable_wiping_the_console_in_watch_mode: diag(6684, 3 /* Message */, \"Disable_wiping_the_console_in_watch_mode_6684\", \"Disable wiping the console in watch mode.\"),\n  Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read: diag(6685, 3 /* Message */, \"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685\", \"Enable color and formatting in TypeScript's output to make compiler errors easier to read.\"),\n  Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit: diag(6686, 3 /* Message */, \"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686\", \"Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit.\"),\n  Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references: diag(6687, 3 /* Message */, \"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687\", \"Specify an array of objects that specify paths for projects. Used in project references.\"),\n  Disable_emitting_comments: diag(6688, 3 /* Message */, \"Disable_emitting_comments_6688\", \"Disable emitting comments.\"),\n  Enable_importing_json_files: diag(6689, 3 /* Message */, \"Enable_importing_json_files_6689\", \"Enable importing .json files.\"),\n  Specify_the_root_folder_within_your_source_files: diag(6690, 3 /* Message */, \"Specify_the_root_folder_within_your_source_files_6690\", \"Specify the root folder within your source files.\"),\n  Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules: diag(6691, 3 /* Message */, \"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691\", \"Allow multiple folders to be treated as one when resolving modules.\"),\n  Skip_type_checking_d_ts_files_that_are_included_with_TypeScript: diag(6692, 3 /* Message */, \"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692\", \"Skip type checking .d.ts files that are included with TypeScript.\"),\n  Skip_type_checking_all_d_ts_files: diag(6693, 3 /* Message */, \"Skip_type_checking_all_d_ts_files_6693\", \"Skip type checking all .d.ts files.\"),\n  Create_source_map_files_for_emitted_JavaScript_files: diag(6694, 3 /* Message */, \"Create_source_map_files_for_emitted_JavaScript_files_6694\", \"Create source map files for emitted JavaScript files.\"),\n  Specify_the_root_path_for_debuggers_to_find_the_reference_source_code: diag(6695, 3 /* Message */, \"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695\", \"Specify the root path for debuggers to find the reference source code.\"),\n  Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function: diag(6697, 3 /* Message */, \"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697\", \"Check that the arguments for 'bind', 'call', and 'apply' methods match the original function.\"),\n  When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible: diag(6698, 3 /* Message */, \"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698\", \"When assigning functions, check to ensure parameters and the return values are subtype-compatible.\"),\n  When_type_checking_take_into_account_null_and_undefined: diag(6699, 3 /* Message */, \"When_type_checking_take_into_account_null_and_undefined_6699\", \"When type checking, take into account 'null' and 'undefined'.\"),\n  Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor: diag(6700, 3 /* Message */, \"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700\", \"Check for class properties that are declared but not set in the constructor.\"),\n  Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments: diag(6701, 3 /* Message */, \"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701\", \"Disable emitting declarations that have '@internal' in their JSDoc comments.\"),\n  Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals: diag(6702, 3 /* Message */, \"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702\", \"Disable reporting of excess property errors during the creation of object literals.\"),\n  Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures: diag(6703, 3 /* Message */, \"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703\", \"Suppress 'noImplicitAny' errors when indexing objects that lack index signatures.\"),\n  Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively: diag(6704, 3 /* Message */, \"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704\", \"Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively.\"),\n  Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations: diag(6705, 3 /* Message */, \"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705\", \"Set the JavaScript language version for emitted JavaScript and include compatible library declarations.\"),\n  Log_paths_used_during_the_moduleResolution_process: diag(6706, 3 /* Message */, \"Log_paths_used_during_the_moduleResolution_process_6706\", \"Log paths used during the 'moduleResolution' process.\"),\n  Specify_the_path_to_tsbuildinfo_incremental_compilation_file: diag(6707, 3 /* Message */, \"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707\", \"Specify the path to .tsbuildinfo incremental compilation file.\"),\n  Specify_options_for_automatic_acquisition_of_declaration_files: diag(6709, 3 /* Message */, \"Specify_options_for_automatic_acquisition_of_declaration_files_6709\", \"Specify options for automatic acquisition of declaration files.\"),\n  Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types: diag(6710, 3 /* Message */, \"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710\", \"Specify multiple folders that act like './node_modules/@types'.\"),\n  Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file: diag(6711, 3 /* Message */, \"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711\", \"Specify type package names to be included without being referenced in a source file.\"),\n  Emit_ECMAScript_standard_compliant_class_fields: diag(6712, 3 /* Message */, \"Emit_ECMAScript_standard_compliant_class_fields_6712\", \"Emit ECMAScript-standard-compliant class fields.\"),\n  Enable_verbose_logging: diag(6713, 3 /* Message */, \"Enable_verbose_logging_6713\", \"Enable verbose logging.\"),\n  Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality: diag(6714, 3 /* Message */, \"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714\", \"Specify how directories are watched on systems that lack recursive file-watching functionality.\"),\n  Specify_how_the_TypeScript_watch_mode_works: diag(6715, 3 /* Message */, \"Specify_how_the_TypeScript_watch_mode_works_6715\", \"Specify how the TypeScript watch mode works.\"),\n  Require_undeclared_properties_from_index_signatures_to_use_element_accesses: diag(6717, 3 /* Message */, \"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717\", \"Require undeclared properties from index signatures to use element accesses.\"),\n  Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types: diag(6718, 3 /* Message */, \"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718\", \"Specify emit/checking behavior for imports that are only used for types.\"),\n  Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files: diag(6719, 3 /* Message */, \"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719\", \"Require sufficient annotation on exports so other tools can trivially generate declaration files.\"),\n  Default_catch_clause_variables_as_unknown_instead_of_any: diag(6803, 3 /* Message */, \"Default_catch_clause_variables_as_unknown_instead_of_any_6803\", \"Default catch clause variables as 'unknown' instead of 'any'.\"),\n  one_of_Colon: diag(6900, 3 /* Message */, \"one_of_Colon_6900\", \"one of:\"),\n  one_or_more_Colon: diag(6901, 3 /* Message */, \"one_or_more_Colon_6901\", \"one or more:\"),\n  type_Colon: diag(6902, 3 /* Message */, \"type_Colon_6902\", \"type:\"),\n  default_Colon: diag(6903, 3 /* Message */, \"default_Colon_6903\", \"default:\"),\n  module_system_or_esModuleInterop: diag(6904, 3 /* Message */, \"module_system_or_esModuleInterop_6904\", 'module === \"system\" or esModuleInterop'),\n  false_unless_strict_is_set: diag(6905, 3 /* Message */, \"false_unless_strict_is_set_6905\", \"`false`, unless `strict` is set\"),\n  false_unless_composite_is_set: diag(6906, 3 /* Message */, \"false_unless_composite_is_set_6906\", \"`false`, unless `composite` is set\"),\n  node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified: diag(6907, 3 /* Message */, \"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907\", '`[\"node_modules\", \"bower_components\", \"jspm_packages\"]`, plus the value of `outDir` if one is specified.'),\n  if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk: diag(6908, 3 /* Message */, \"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908\", '`[]` if `files` is specified, otherwise `[\"**/*\"]`'),\n  true_if_composite_false_otherwise: diag(6909, 3 /* Message */, \"true_if_composite_false_otherwise_6909\", \"`true` if `composite`, `false` otherwise\"),\n  module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node: diag(69010, 3 /* Message */, \"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010\", \"module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`\"),\n  Computed_from_the_list_of_input_files: diag(6911, 3 /* Message */, \"Computed_from_the_list_of_input_files_6911\", \"Computed from the list of input files\"),\n  Platform_specific: diag(6912, 3 /* Message */, \"Platform_specific_6912\", \"Platform specific\"),\n  You_can_learn_about_all_of_the_compiler_options_at_0: diag(6913, 3 /* Message */, \"You_can_learn_about_all_of_the_compiler_options_at_0_6913\", \"You can learn about all of the compiler options at {0}\"),\n  Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon: diag(6914, 3 /* Message */, \"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914\", \"Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:\"),\n  Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0: diag(6915, 3 /* Message */, \"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915\", \"Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}\"),\n  COMMON_COMMANDS: diag(6916, 3 /* Message */, \"COMMON_COMMANDS_6916\", \"COMMON COMMANDS\"),\n  ALL_COMPILER_OPTIONS: diag(6917, 3 /* Message */, \"ALL_COMPILER_OPTIONS_6917\", \"ALL COMPILER OPTIONS\"),\n  WATCH_OPTIONS: diag(6918, 3 /* Message */, \"WATCH_OPTIONS_6918\", \"WATCH OPTIONS\"),\n  BUILD_OPTIONS: diag(6919, 3 /* Message */, \"BUILD_OPTIONS_6919\", \"BUILD OPTIONS\"),\n  COMMON_COMPILER_OPTIONS: diag(6920, 3 /* Message */, \"COMMON_COMPILER_OPTIONS_6920\", \"COMMON COMPILER OPTIONS\"),\n  COMMAND_LINE_FLAGS: diag(6921, 3 /* Message */, \"COMMAND_LINE_FLAGS_6921\", \"COMMAND LINE FLAGS\"),\n  tsc_Colon_The_TypeScript_Compiler: diag(6922, 3 /* Message */, \"tsc_Colon_The_TypeScript_Compiler_6922\", \"tsc: The TypeScript Compiler\"),\n  Compiles_the_current_project_tsconfig_json_in_the_working_directory: diag(6923, 3 /* Message */, \"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923\", \"Compiles the current project (tsconfig.json in the working directory.)\"),\n  Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options: diag(6924, 3 /* Message */, \"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924\", \"Ignoring tsconfig.json, compiles the specified files with default compiler options.\"),\n  Build_a_composite_project_in_the_working_directory: diag(6925, 3 /* Message */, \"Build_a_composite_project_in_the_working_directory_6925\", \"Build a composite project in the working directory.\"),\n  Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory: diag(6926, 3 /* Message */, \"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926\", \"Creates a tsconfig.json with the recommended settings in the working directory.\"),\n  Compiles_the_TypeScript_project_located_at_the_specified_path: diag(6927, 3 /* Message */, \"Compiles_the_TypeScript_project_located_at_the_specified_path_6927\", \"Compiles the TypeScript project located at the specified path.\"),\n  An_expanded_version_of_this_information_showing_all_possible_compiler_options: diag(6928, 3 /* Message */, \"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928\", \"An expanded version of this information, showing all possible compiler options\"),\n  Compiles_the_current_project_with_additional_settings: diag(6929, 3 /* Message */, \"Compiles_the_current_project_with_additional_settings_6929\", \"Compiles the current project, with additional settings.\"),\n  true_for_ES2022_and_above_including_ESNext: diag(6930, 3 /* Message */, \"true_for_ES2022_and_above_including_ESNext_6930\", \"`true` for ES2022 and above, including ESNext.\"),\n  List_of_file_name_suffixes_to_search_when_resolving_a_module: diag(6931, 1 /* Error */, \"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931\", \"List of file name suffixes to search when resolving a module.\"),\n  Variable_0_implicitly_has_an_1_type: diag(7005, 1 /* Error */, \"Variable_0_implicitly_has_an_1_type_7005\", \"Variable '{0}' implicitly has an '{1}' type.\"),\n  Parameter_0_implicitly_has_an_1_type: diag(7006, 1 /* Error */, \"Parameter_0_implicitly_has_an_1_type_7006\", \"Parameter '{0}' implicitly has an '{1}' type.\"),\n  Member_0_implicitly_has_an_1_type: diag(7008, 1 /* Error */, \"Member_0_implicitly_has_an_1_type_7008\", \"Member '{0}' implicitly has an '{1}' type.\"),\n  new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type: diag(7009, 1 /* Error */, \"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009\", \"'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.\"),\n  _0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type: diag(7010, 1 /* Error */, \"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010\", \"'{0}', which lacks return-type annotation, implicitly has an '{1}' return type.\"),\n  Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: diag(7011, 1 /* Error */, \"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011\", \"Function expression, which lacks return-type annotation, implicitly has an '{0}' return type.\"),\n  Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: diag(7013, 1 /* Error */, \"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013\", \"Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.\"),\n  Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type: diag(7014, 1 /* Error */, \"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014\", \"Function type, which lacks return-type annotation, implicitly has an '{0}' return type.\"),\n  Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number: diag(7015, 1 /* Error */, \"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015\", \"Element implicitly has an 'any' type because index expression is not of type 'number'.\"),\n  Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type: diag(7016, 1 /* Error */, \"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016\", \"Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type.\"),\n  Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature: diag(7017, 1 /* Error */, \"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017\", \"Element implicitly has an 'any' type because type '{0}' has no index signature.\"),\n  Object_literal_s_property_0_implicitly_has_an_1_type: diag(7018, 1 /* Error */, \"Object_literal_s_property_0_implicitly_has_an_1_type_7018\", \"Object literal's property '{0}' implicitly has an '{1}' type.\"),\n  Rest_parameter_0_implicitly_has_an_any_type: diag(7019, 1 /* Error */, \"Rest_parameter_0_implicitly_has_an_any_type_7019\", \"Rest parameter '{0}' implicitly has an 'any[]' type.\"),\n  Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type: diag(7020, 1 /* Error */, \"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020\", \"Call signature, which lacks return-type annotation, implicitly has an 'any' return type.\"),\n  _0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer: diag(7022, 1 /* Error */, \"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022\", \"'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.\"),\n  _0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: diag(7023, 1 /* Error */, \"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023\", \"'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.\"),\n  Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: diag(7024, 1 /* Error */, \"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024\", \"Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.\"),\n  Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation: diag(7025, 1 /* Error */, \"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025\", \"Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation.\"),\n  JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists: diag(7026, 1 /* Error */, \"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026\", \"JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists.\"),\n  Unreachable_code_detected: diag(7027, 1 /* Error */, \"Unreachable_code_detected_7027\", \"Unreachable code detected.\", true),\n  Unused_label: diag(7028, 1 /* Error */, \"Unused_label_7028\", \"Unused label.\", true),\n  Fallthrough_case_in_switch: diag(7029, 1 /* Error */, \"Fallthrough_case_in_switch_7029\", \"Fallthrough case in switch.\"),\n  Not_all_code_paths_return_a_value: diag(7030, 1 /* Error */, \"Not_all_code_paths_return_a_value_7030\", \"Not all code paths return a value.\"),\n  Binding_element_0_implicitly_has_an_1_type: diag(7031, 1 /* Error */, \"Binding_element_0_implicitly_has_an_1_type_7031\", \"Binding element '{0}' implicitly has an '{1}' type.\"),\n  Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation: diag(7032, 1 /* Error */, \"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032\", \"Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation.\"),\n  Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation: diag(7033, 1 /* Error */, \"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033\", \"Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation.\"),\n  Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined: diag(7034, 1 /* Error */, \"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034\", \"Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined.\"),\n  Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0: diag(7035, 1 /* Error */, \"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035\", \"Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`\"),\n  Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0: diag(7036, 1 /* Error */, \"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036\", \"Dynamic import's specifier must be of type 'string', but here has type '{0}'.\"),\n  Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports: diag(7037, 3 /* Message */, \"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037\", \"Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.\"),\n  Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead: diag(7038, 3 /* Message */, \"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038\", \"Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead.\"),\n  Mapped_object_type_implicitly_has_an_any_template_type: diag(7039, 1 /* Error */, \"Mapped_object_type_implicitly_has_an_any_template_type_7039\", \"Mapped object type implicitly has an 'any' template type.\"),\n  If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1: diag(7040, 1 /* Error */, \"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040\", \"If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'\"),\n  The_containing_arrow_function_captures_the_global_value_of_this: diag(7041, 1 /* Error */, \"The_containing_arrow_function_captures_the_global_value_of_this_7041\", \"The containing arrow function captures the global value of 'this'.\"),\n  Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used: diag(7042, 1 /* Error */, \"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042\", \"Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used.\"),\n  Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: diag(7043, 2 /* Suggestion */, \"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043\", \"Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.\"),\n  Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: diag(7044, 2 /* Suggestion */, \"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044\", \"Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.\"),\n  Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage: diag(7045, 2 /* Suggestion */, \"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045\", \"Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage.\"),\n  Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage: diag(7046, 2 /* Suggestion */, \"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046\", \"Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage.\"),\n  Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage: diag(7047, 2 /* Suggestion */, \"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047\", \"Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage.\"),\n  Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage: diag(7048, 2 /* Suggestion */, \"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048\", \"Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage.\"),\n  Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage: diag(7049, 2 /* Suggestion */, \"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049\", \"Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage.\"),\n  _0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage: diag(7050, 2 /* Suggestion */, \"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050\", \"'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage.\"),\n  Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1: diag(7051, 1 /* Error */, \"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051\", \"Parameter has a name but no type. Did you mean '{0}: {1}'?\"),\n  Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1: diag(7052, 1 /* Error */, \"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052\", \"Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?\"),\n  Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1: diag(7053, 1 /* Error */, \"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053\", \"Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'.\"),\n  No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1: diag(7054, 1 /* Error */, \"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054\", \"No index signature with a parameter of type '{0}' was found on type '{1}'.\"),\n  _0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type: diag(7055, 1 /* Error */, \"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055\", \"'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type.\"),\n  The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed: diag(7056, 1 /* Error */, \"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056\", \"The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed.\"),\n  yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation: diag(7057, 1 /* Error */, \"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057\", \"'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation.\"),\n  If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1: diag(7058, 1 /* Error */, \"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058\", \"If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`\"),\n  This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead: diag(7059, 1 /* Error */, \"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059\", \"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.\"),\n  This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint: diag(7060, 1 /* Error */, \"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060\", \"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint.\"),\n  A_mapped_type_may_not_declare_properties_or_methods: diag(7061, 1 /* Error */, \"A_mapped_type_may_not_declare_properties_or_methods_7061\", \"A mapped type may not declare properties or methods.\"),\n  You_cannot_rename_this_element: diag(8e3, 1 /* Error */, \"You_cannot_rename_this_element_8000\", \"You cannot rename this element.\"),\n  You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: diag(8001, 1 /* Error */, \"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001\", \"You cannot rename elements that are defined in the standard TypeScript library.\"),\n  import_can_only_be_used_in_TypeScript_files: diag(8002, 1 /* Error */, \"import_can_only_be_used_in_TypeScript_files_8002\", \"'import ... =' can only be used in TypeScript files.\"),\n  export_can_only_be_used_in_TypeScript_files: diag(8003, 1 /* Error */, \"export_can_only_be_used_in_TypeScript_files_8003\", \"'export =' can only be used in TypeScript files.\"),\n  Type_parameter_declarations_can_only_be_used_in_TypeScript_files: diag(8004, 1 /* Error */, \"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004\", \"Type parameter declarations can only be used in TypeScript files.\"),\n  implements_clauses_can_only_be_used_in_TypeScript_files: diag(8005, 1 /* Error */, \"implements_clauses_can_only_be_used_in_TypeScript_files_8005\", \"'implements' clauses can only be used in TypeScript files.\"),\n  _0_declarations_can_only_be_used_in_TypeScript_files: diag(8006, 1 /* Error */, \"_0_declarations_can_only_be_used_in_TypeScript_files_8006\", \"'{0}' declarations can only be used in TypeScript files.\"),\n  Type_aliases_can_only_be_used_in_TypeScript_files: diag(8008, 1 /* Error */, \"Type_aliases_can_only_be_used_in_TypeScript_files_8008\", \"Type aliases can only be used in TypeScript files.\"),\n  The_0_modifier_can_only_be_used_in_TypeScript_files: diag(8009, 1 /* Error */, \"The_0_modifier_can_only_be_used_in_TypeScript_files_8009\", \"The '{0}' modifier can only be used in TypeScript files.\"),\n  Type_annotations_can_only_be_used_in_TypeScript_files: diag(8010, 1 /* Error */, \"Type_annotations_can_only_be_used_in_TypeScript_files_8010\", \"Type annotations can only be used in TypeScript files.\"),\n  Type_arguments_can_only_be_used_in_TypeScript_files: diag(8011, 1 /* Error */, \"Type_arguments_can_only_be_used_in_TypeScript_files_8011\", \"Type arguments can only be used in TypeScript files.\"),\n  Parameter_modifiers_can_only_be_used_in_TypeScript_files: diag(8012, 1 /* Error */, \"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012\", \"Parameter modifiers can only be used in TypeScript files.\"),\n  Non_null_assertions_can_only_be_used_in_TypeScript_files: diag(8013, 1 /* Error */, \"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013\", \"Non-null assertions can only be used in TypeScript files.\"),\n  Type_assertion_expressions_can_only_be_used_in_TypeScript_files: diag(8016, 1 /* Error */, \"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016\", \"Type assertion expressions can only be used in TypeScript files.\"),\n  Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0: diag(8017, 1 /* Error */, \"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017\", \"Octal literal types must use ES2015 syntax. Use the syntax '{0}'.\"),\n  Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0: diag(8018, 1 /* Error */, \"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018\", \"Octal literals are not allowed in enums members initializer. Use the syntax '{0}'.\"),\n  Report_errors_in_js_files: diag(8019, 3 /* Message */, \"Report_errors_in_js_files_8019\", \"Report errors in .js files.\"),\n  JSDoc_types_can_only_be_used_inside_documentation_comments: diag(8020, 1 /* Error */, \"JSDoc_types_can_only_be_used_inside_documentation_comments_8020\", \"JSDoc types can only be used inside documentation comments.\"),\n  JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags: diag(8021, 1 /* Error */, \"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021\", \"JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags.\"),\n  JSDoc_0_is_not_attached_to_a_class: diag(8022, 1 /* Error */, \"JSDoc_0_is_not_attached_to_a_class_8022\", \"JSDoc '@{0}' is not attached to a class.\"),\n  JSDoc_0_1_does_not_match_the_extends_2_clause: diag(8023, 1 /* Error */, \"JSDoc_0_1_does_not_match_the_extends_2_clause_8023\", \"JSDoc '@{0} {1}' does not match the 'extends {2}' clause.\"),\n  JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name: diag(8024, 1 /* Error */, \"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024\", \"JSDoc '@param' tag has name '{0}', but there is no parameter with that name.\"),\n  Class_declarations_cannot_have_more_than_one_augments_or_extends_tag: diag(8025, 1 /* Error */, \"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025\", \"Class declarations cannot have more than one '@augments' or '@extends' tag.\"),\n  Expected_0_type_arguments_provide_these_with_an_extends_tag: diag(8026, 1 /* Error */, \"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026\", \"Expected {0} type arguments; provide these with an '@extends' tag.\"),\n  Expected_0_1_type_arguments_provide_these_with_an_extends_tag: diag(8027, 1 /* Error */, \"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027\", \"Expected {0}-{1} type arguments; provide these with an '@extends' tag.\"),\n  JSDoc_may_only_appear_in_the_last_parameter_of_a_signature: diag(8028, 1 /* Error */, \"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028\", \"JSDoc '...' may only appear in the last parameter of a signature.\"),\n  JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type: diag(8029, 1 /* Error */, \"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029\", \"JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type.\"),\n  The_type_of_a_function_declaration_must_match_the_function_s_signature: diag(8030, 1 /* Error */, \"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030\", \"The type of a function declaration must match the function's signature.\"),\n  You_cannot_rename_a_module_via_a_global_import: diag(8031, 1 /* Error */, \"You_cannot_rename_a_module_via_a_global_import_8031\", \"You cannot rename a module via a global import.\"),\n  Qualified_name_0_is_not_allowed_without_a_leading_param_object_1: diag(8032, 1 /* Error */, \"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032\", \"Qualified name '{0}' is not allowed without a leading '@param {object} {1}'.\"),\n  A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags: diag(8033, 1 /* Error */, \"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033\", \"A JSDoc '@typedef' comment may not contain multiple '@type' tags.\"),\n  The_tag_was_first_specified_here: diag(8034, 1 /* Error */, \"The_tag_was_first_specified_here_8034\", \"The tag was first specified here.\"),\n  You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder: diag(8035, 1 /* Error */, \"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035\", \"You cannot rename elements that are defined in a 'node_modules' folder.\"),\n  You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder: diag(8036, 1 /* Error */, \"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036\", \"You cannot rename elements that are defined in another 'node_modules' folder.\"),\n  Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files: diag(8037, 1 /* Error */, \"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037\", \"Type satisfaction expressions can only be used in TypeScript files.\"),\n  Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9005, 1 /* Error */, \"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005\", \"Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit.\"),\n  Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit: diag(9006, 1 /* Error */, \"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006\", \"Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit.\"),\n  Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9007, 1 /* Error */, \"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007\", \"Function must have an explicit return type annotation with --isolatedDeclarations.\"),\n  Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9008, 1 /* Error */, \"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008\", \"Method must have an explicit return type annotation with --isolatedDeclarations.\"),\n  At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations: diag(9009, 1 /* Error */, \"At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009\", \"At least one accessor must have an explicit return type annotation with --isolatedDeclarations.\"),\n  Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9010, 1 /* Error */, \"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010\", \"Variable must have an explicit type annotation with --isolatedDeclarations.\"),\n  Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9011, 1 /* Error */, \"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011\", \"Parameter must have an explicit type annotation with --isolatedDeclarations.\"),\n  Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations: diag(9012, 1 /* Error */, \"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012\", \"Property must have an explicit type annotation with --isolatedDeclarations.\"),\n  Expression_type_can_t_be_inferred_with_isolatedDeclarations: diag(9013, 1 /* Error */, \"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013\", \"Expression type can't be inferred with --isolatedDeclarations.\"),\n  Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations: diag(9014, 1 /* Error */, \"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014\", \"Computed properties must be number or string literals, variables or dotted expressions with --isolatedDeclarations.\"),\n  Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations: diag(9015, 1 /* Error */, \"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015\", \"Objects that contain spread assignments can't be inferred with --isolatedDeclarations.\"),\n  Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations: diag(9016, 1 /* Error */, \"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016\", \"Objects that contain shorthand properties can't be inferred with --isolatedDeclarations.\"),\n  Only_const_arrays_can_be_inferred_with_isolatedDeclarations: diag(9017, 1 /* Error */, \"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017\", \"Only const arrays can be inferred with --isolatedDeclarations.\"),\n  Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations: diag(9018, 1 /* Error */, \"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018\", \"Arrays with spread elements can't inferred with --isolatedDeclarations.\"),\n  Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations: diag(9019, 1 /* Error */, \"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019\", \"Binding elements can't be exported directly with --isolatedDeclarations.\"),\n  Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDeclarations: diag(9020, 1 /* Error */, \"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020\", \"Enum member initializers must be computable without references to external symbols with --isolatedDeclarations.\"),\n  Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations: diag(9021, 1 /* Error */, \"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021\", \"Extends clause can't contain an expression with --isolatedDeclarations.\"),\n  Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations: diag(9022, 1 /* Error */, \"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022\", \"Inference from class expressions is not supported with --isolatedDeclarations.\"),\n  Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations_Add_an_explicit_declaration_for_the_properties_assigned_to_this_function: diag(9023, 1 /* Error */, \"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023\", \"Assigning properties to functions without declaring them is not supported with --isolatedDeclarations. Add an explicit declaration for the properties assigned to this function.\"),\n  Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations: diag(9025, 1 /* Error */, \"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025\", \"Declaration emit for this parameter requires implicitly adding undefined to it's type. This is not supported with --isolatedDeclarations.\"),\n  Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations: diag(9026, 1 /* Error */, \"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026\", \"Declaration emit for this file requires preserving this import for augmentations. This is not supported with --isolatedDeclarations.\"),\n  Add_a_type_annotation_to_the_variable_0: diag(9027, 1 /* Error */, \"Add_a_type_annotation_to_the_variable_0_9027\", \"Add a type annotation to the variable {0}.\"),\n  Add_a_type_annotation_to_the_parameter_0: diag(9028, 1 /* Error */, \"Add_a_type_annotation_to_the_parameter_0_9028\", \"Add a type annotation to the parameter {0}.\"),\n  Add_a_type_annotation_to_the_property_0: diag(9029, 1 /* Error */, \"Add_a_type_annotation_to_the_property_0_9029\", \"Add a type annotation to the property {0}.\"),\n  Add_a_return_type_to_the_function_expression: diag(9030, 1 /* Error */, \"Add_a_return_type_to_the_function_expression_9030\", \"Add a return type to the function expression.\"),\n  Add_a_return_type_to_the_function_declaration: diag(9031, 1 /* Error */, \"Add_a_return_type_to_the_function_declaration_9031\", \"Add a return type to the function declaration.\"),\n  Add_a_return_type_to_the_get_accessor_declaration: diag(9032, 1 /* Error */, \"Add_a_return_type_to_the_get_accessor_declaration_9032\", \"Add a return type to the get accessor declaration.\"),\n  Add_a_type_to_parameter_of_the_set_accessor_declaration: diag(9033, 1 /* Error */, \"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033\", \"Add a type to parameter of the set accessor declaration.\"),\n  Add_a_return_type_to_the_method: diag(9034, 1 /* Error */, \"Add_a_return_type_to_the_method_9034\", \"Add a return type to the method\"),\n  Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit: diag(9035, 1 /* Error */, \"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035\", \"Add satisfies and a type assertion to this expression (satisfies T as T) to make the type explicit.\"),\n  Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it: diag(9036, 1 /* Error */, \"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036\", \"Move the expression in default export to a variable and add a type annotation to it.\"),\n  Default_exports_can_t_be_inferred_with_isolatedDeclarations: diag(9037, 1 /* Error */, \"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037\", \"Default exports can't be inferred with --isolatedDeclarations.\"),\n  JSX_attributes_must_only_be_assigned_a_non_empty_expression: diag(17e3, 1 /* Error */, \"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000\", \"JSX attributes must only be assigned a non-empty 'expression'.\"),\n  JSX_elements_cannot_have_multiple_attributes_with_the_same_name: diag(17001, 1 /* Error */, \"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001\", \"JSX elements cannot have multiple attributes with the same name.\"),\n  Expected_corresponding_JSX_closing_tag_for_0: diag(17002, 1 /* Error */, \"Expected_corresponding_JSX_closing_tag_for_0_17002\", \"Expected corresponding JSX closing tag for '{0}'.\"),\n  Cannot_use_JSX_unless_the_jsx_flag_is_provided: diag(17004, 1 /* Error */, \"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004\", \"Cannot use JSX unless the '--jsx' flag is provided.\"),\n  A_constructor_cannot_contain_a_super_call_when_its_class_extends_null: diag(17005, 1 /* Error */, \"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005\", \"A constructor cannot contain a 'super' call when its class extends 'null'.\"),\n  An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: diag(17006, 1 /* Error */, \"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006\", \"An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.\"),\n  A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses: diag(17007, 1 /* Error */, \"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007\", \"A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses.\"),\n  JSX_element_0_has_no_corresponding_closing_tag: diag(17008, 1 /* Error */, \"JSX_element_0_has_no_corresponding_closing_tag_17008\", \"JSX element '{0}' has no corresponding closing tag.\"),\n  super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class: diag(17009, 1 /* Error */, \"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009\", \"'super' must be called before accessing 'this' in the constructor of a derived class.\"),\n  Unknown_type_acquisition_option_0: diag(17010, 1 /* Error */, \"Unknown_type_acquisition_option_0_17010\", \"Unknown type acquisition option '{0}'.\"),\n  super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class: diag(17011, 1 /* Error */, \"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011\", \"'super' must be called before accessing a property of 'super' in the constructor of a derived class.\"),\n  _0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2: diag(17012, 1 /* Error */, \"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012\", \"'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?\"),\n  Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor: diag(17013, 1 /* Error */, \"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013\", \"Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor.\"),\n  JSX_fragment_has_no_corresponding_closing_tag: diag(17014, 1 /* Error */, \"JSX_fragment_has_no_corresponding_closing_tag_17014\", \"JSX fragment has no corresponding closing tag.\"),\n  Expected_corresponding_closing_tag_for_JSX_fragment: diag(17015, 1 /* Error */, \"Expected_corresponding_closing_tag_for_JSX_fragment_17015\", \"Expected corresponding closing tag for JSX fragment.\"),\n  The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option: diag(17016, 1 /* Error */, \"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016\", \"The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option.\"),\n  An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments: diag(17017, 1 /* Error */, \"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017\", \"An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments.\"),\n  Unknown_type_acquisition_option_0_Did_you_mean_1: diag(17018, 1 /* Error */, \"Unknown_type_acquisition_option_0_Did_you_mean_1_17018\", \"Unknown type acquisition option '{0}'. Did you mean '{1}'?\"),\n  Circularity_detected_while_resolving_configuration_Colon_0: diag(18e3, 1 /* Error */, \"Circularity_detected_while_resolving_configuration_Colon_0_18000\", \"Circularity detected while resolving configuration: {0}\"),\n  The_files_list_in_config_file_0_is_empty: diag(18002, 1 /* Error */, \"The_files_list_in_config_file_0_is_empty_18002\", \"The 'files' list in config file '{0}' is empty.\"),\n  No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2: diag(18003, 1 /* Error */, \"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003\", \"No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'.\"),\n  File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module: diag(80001, 2 /* Suggestion */, \"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001\", \"File is a CommonJS module; it may be converted to an ES module.\"),\n  This_constructor_function_may_be_converted_to_a_class_declaration: diag(80002, 2 /* Suggestion */, \"This_constructor_function_may_be_converted_to_a_class_declaration_80002\", \"This constructor function may be converted to a class declaration.\"),\n  Import_may_be_converted_to_a_default_import: diag(80003, 2 /* Suggestion */, \"Import_may_be_converted_to_a_default_import_80003\", \"Import may be converted to a default import.\"),\n  JSDoc_types_may_be_moved_to_TypeScript_types: diag(80004, 2 /* Suggestion */, \"JSDoc_types_may_be_moved_to_TypeScript_types_80004\", \"JSDoc types may be moved to TypeScript types.\"),\n  require_call_may_be_converted_to_an_import: diag(80005, 2 /* Suggestion */, \"require_call_may_be_converted_to_an_import_80005\", \"'require' call may be converted to an import.\"),\n  This_may_be_converted_to_an_async_function: diag(80006, 2 /* Suggestion */, \"This_may_be_converted_to_an_async_function_80006\", \"This may be converted to an async function.\"),\n  await_has_no_effect_on_the_type_of_this_expression: diag(80007, 2 /* Suggestion */, \"await_has_no_effect_on_the_type_of_this_expression_80007\", \"'await' has no effect on the type of this expression.\"),\n  Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers: diag(80008, 2 /* Suggestion */, \"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008\", \"Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers.\"),\n  Add_missing_super_call: diag(90001, 3 /* Message */, \"Add_missing_super_call_90001\", \"Add missing 'super()' call\"),\n  Make_super_call_the_first_statement_in_the_constructor: diag(90002, 3 /* Message */, \"Make_super_call_the_first_statement_in_the_constructor_90002\", \"Make 'super()' call the first statement in the constructor\"),\n  Change_extends_to_implements: diag(90003, 3 /* Message */, \"Change_extends_to_implements_90003\", \"Change 'extends' to 'implements'\"),\n  Remove_unused_declaration_for_Colon_0: diag(90004, 3 /* Message */, \"Remove_unused_declaration_for_Colon_0_90004\", \"Remove unused declaration for: '{0}'\"),\n  Remove_import_from_0: diag(90005, 3 /* Message */, \"Remove_import_from_0_90005\", \"Remove import from '{0}'\"),\n  Implement_interface_0: diag(90006, 3 /* Message */, \"Implement_interface_0_90006\", \"Implement interface '{0}'\"),\n  Implement_inherited_abstract_class: diag(90007, 3 /* Message */, \"Implement_inherited_abstract_class_90007\", \"Implement inherited abstract class\"),\n  Add_0_to_unresolved_variable: diag(90008, 3 /* Message */, \"Add_0_to_unresolved_variable_90008\", \"Add '{0}.' to unresolved variable\"),\n  Remove_variable_statement: diag(90010, 3 /* Message */, \"Remove_variable_statement_90010\", \"Remove variable statement\"),\n  Remove_template_tag: diag(90011, 3 /* Message */, \"Remove_template_tag_90011\", \"Remove template tag\"),\n  Remove_type_parameters: diag(90012, 3 /* Message */, \"Remove_type_parameters_90012\", \"Remove type parameters\"),\n  Import_0_from_1: diag(90013, 3 /* Message */, \"Import_0_from_1_90013\", `Import '{0}' from \"{1}\"`),\n  Change_0_to_1: diag(90014, 3 /* Message */, \"Change_0_to_1_90014\", \"Change '{0}' to '{1}'\"),\n  Declare_property_0: diag(90016, 3 /* Message */, \"Declare_property_0_90016\", \"Declare property '{0}'\"),\n  Add_index_signature_for_property_0: diag(90017, 3 /* Message */, \"Add_index_signature_for_property_0_90017\", \"Add index signature for property '{0}'\"),\n  Disable_checking_for_this_file: diag(90018, 3 /* Message */, \"Disable_checking_for_this_file_90018\", \"Disable checking for this file\"),\n  Ignore_this_error_message: diag(90019, 3 /* Message */, \"Ignore_this_error_message_90019\", \"Ignore this error message\"),\n  Initialize_property_0_in_the_constructor: diag(90020, 3 /* Message */, \"Initialize_property_0_in_the_constructor_90020\", \"Initialize property '{0}' in the constructor\"),\n  Initialize_static_property_0: diag(90021, 3 /* Message */, \"Initialize_static_property_0_90021\", \"Initialize static property '{0}'\"),\n  Change_spelling_to_0: diag(90022, 3 /* Message */, \"Change_spelling_to_0_90022\", \"Change spelling to '{0}'\"),\n  Declare_method_0: diag(90023, 3 /* Message */, \"Declare_method_0_90023\", \"Declare method '{0}'\"),\n  Declare_static_method_0: diag(90024, 3 /* Message */, \"Declare_static_method_0_90024\", \"Declare static method '{0}'\"),\n  Prefix_0_with_an_underscore: diag(90025, 3 /* Message */, \"Prefix_0_with_an_underscore_90025\", \"Prefix '{0}' with an underscore\"),\n  Rewrite_as_the_indexed_access_type_0: diag(90026, 3 /* Message */, \"Rewrite_as_the_indexed_access_type_0_90026\", \"Rewrite as the indexed access type '{0}'\"),\n  Declare_static_property_0: diag(90027, 3 /* Message */, \"Declare_static_property_0_90027\", \"Declare static property '{0}'\"),\n  Call_decorator_expression: diag(90028, 3 /* Message */, \"Call_decorator_expression_90028\", \"Call decorator expression\"),\n  Add_async_modifier_to_containing_function: diag(90029, 3 /* Message */, \"Add_async_modifier_to_containing_function_90029\", \"Add async modifier to containing function\"),\n  Replace_infer_0_with_unknown: diag(90030, 3 /* Message */, \"Replace_infer_0_with_unknown_90030\", \"Replace 'infer {0}' with 'unknown'\"),\n  Replace_all_unused_infer_with_unknown: diag(90031, 3 /* Message */, \"Replace_all_unused_infer_with_unknown_90031\", \"Replace all unused 'infer' with 'unknown'\"),\n  Add_parameter_name: diag(90034, 3 /* Message */, \"Add_parameter_name_90034\", \"Add parameter name\"),\n  Declare_private_property_0: diag(90035, 3 /* Message */, \"Declare_private_property_0_90035\", \"Declare private property '{0}'\"),\n  Replace_0_with_Promise_1: diag(90036, 3 /* Message */, \"Replace_0_with_Promise_1_90036\", \"Replace '{0}' with 'Promise<{1}>'\"),\n  Fix_all_incorrect_return_type_of_an_async_functions: diag(90037, 3 /* Message */, \"Fix_all_incorrect_return_type_of_an_async_functions_90037\", \"Fix all incorrect return type of an async functions\"),\n  Declare_private_method_0: diag(90038, 3 /* Message */, \"Declare_private_method_0_90038\", \"Declare private method '{0}'\"),\n  Remove_unused_destructuring_declaration: diag(90039, 3 /* Message */, \"Remove_unused_destructuring_declaration_90039\", \"Remove unused destructuring declaration\"),\n  Remove_unused_declarations_for_Colon_0: diag(90041, 3 /* Message */, \"Remove_unused_declarations_for_Colon_0_90041\", \"Remove unused declarations for: '{0}'\"),\n  Declare_a_private_field_named_0: diag(90053, 3 /* Message */, \"Declare_a_private_field_named_0_90053\", \"Declare a private field named '{0}'.\"),\n  Includes_imports_of_types_referenced_by_0: diag(90054, 3 /* Message */, \"Includes_imports_of_types_referenced_by_0_90054\", \"Includes imports of types referenced by '{0}'\"),\n  Remove_type_from_import_declaration_from_0: diag(90055, 3 /* Message */, \"Remove_type_from_import_declaration_from_0_90055\", `Remove 'type' from import declaration from \"{0}\"`),\n  Remove_type_from_import_of_0_from_1: diag(90056, 3 /* Message */, \"Remove_type_from_import_of_0_from_1_90056\", `Remove 'type' from import of '{0}' from \"{1}\"`),\n  Add_import_from_0: diag(90057, 3 /* Message */, \"Add_import_from_0_90057\", 'Add import from \"{0}\"'),\n  Update_import_from_0: diag(90058, 3 /* Message */, \"Update_import_from_0_90058\", 'Update import from \"{0}\"'),\n  Export_0_from_module_1: diag(90059, 3 /* Message */, \"Export_0_from_module_1_90059\", \"Export '{0}' from module '{1}'\"),\n  Export_all_referenced_locals: diag(90060, 3 /* Message */, \"Export_all_referenced_locals_90060\", \"Export all referenced locals\"),\n  Convert_function_to_an_ES2015_class: diag(95001, 3 /* Message */, \"Convert_function_to_an_ES2015_class_95001\", \"Convert function to an ES2015 class\"),\n  Convert_0_to_1_in_0: diag(95003, 3 /* Message */, \"Convert_0_to_1_in_0_95003\", \"Convert '{0}' to '{1} in {0}'\"),\n  Extract_to_0_in_1: diag(95004, 3 /* Message */, \"Extract_to_0_in_1_95004\", \"Extract to {0} in {1}\"),\n  Extract_function: diag(95005, 3 /* Message */, \"Extract_function_95005\", \"Extract function\"),\n  Extract_constant: diag(95006, 3 /* Message */, \"Extract_constant_95006\", \"Extract constant\"),\n  Extract_to_0_in_enclosing_scope: diag(95007, 3 /* Message */, \"Extract_to_0_in_enclosing_scope_95007\", \"Extract to {0} in enclosing scope\"),\n  Extract_to_0_in_1_scope: diag(95008, 3 /* Message */, \"Extract_to_0_in_1_scope_95008\", \"Extract to {0} in {1} scope\"),\n  Annotate_with_type_from_JSDoc: diag(95009, 3 /* Message */, \"Annotate_with_type_from_JSDoc_95009\", \"Annotate with type from JSDoc\"),\n  Infer_type_of_0_from_usage: diag(95011, 3 /* Message */, \"Infer_type_of_0_from_usage_95011\", \"Infer type of '{0}' from usage\"),\n  Infer_parameter_types_from_usage: diag(95012, 3 /* Message */, \"Infer_parameter_types_from_usage_95012\", \"Infer parameter types from usage\"),\n  Convert_to_default_import: diag(95013, 3 /* Message */, \"Convert_to_default_import_95013\", \"Convert to default import\"),\n  Install_0: diag(95014, 3 /* Message */, \"Install_0_95014\", \"Install '{0}'\"),\n  Replace_import_with_0: diag(95015, 3 /* Message */, \"Replace_import_with_0_95015\", \"Replace import with '{0}'.\"),\n  Use_synthetic_default_member: diag(95016, 3 /* Message */, \"Use_synthetic_default_member_95016\", \"Use synthetic 'default' member.\"),\n  Convert_to_ES_module: diag(95017, 3 /* Message */, \"Convert_to_ES_module_95017\", \"Convert to ES module\"),\n  Add_undefined_type_to_property_0: diag(95018, 3 /* Message */, \"Add_undefined_type_to_property_0_95018\", \"Add 'undefined' type to property '{0}'\"),\n  Add_initializer_to_property_0: diag(95019, 3 /* Message */, \"Add_initializer_to_property_0_95019\", \"Add initializer to property '{0}'\"),\n  Add_definite_assignment_assertion_to_property_0: diag(95020, 3 /* Message */, \"Add_definite_assignment_assertion_to_property_0_95020\", \"Add definite assignment assertion to property '{0}'\"),\n  Convert_all_type_literals_to_mapped_type: diag(95021, 3 /* Message */, \"Convert_all_type_literals_to_mapped_type_95021\", \"Convert all type literals to mapped type\"),\n  Add_all_missing_members: diag(95022, 3 /* Message */, \"Add_all_missing_members_95022\", \"Add all missing members\"),\n  Infer_all_types_from_usage: diag(95023, 3 /* Message */, \"Infer_all_types_from_usage_95023\", \"Infer all types from usage\"),\n  Delete_all_unused_declarations: diag(95024, 3 /* Message */, \"Delete_all_unused_declarations_95024\", \"Delete all unused declarations\"),\n  Prefix_all_unused_declarations_with_where_possible: diag(95025, 3 /* Message */, \"Prefix_all_unused_declarations_with_where_possible_95025\", \"Prefix all unused declarations with '_' where possible\"),\n  Fix_all_detected_spelling_errors: diag(95026, 3 /* Message */, \"Fix_all_detected_spelling_errors_95026\", \"Fix all detected spelling errors\"),\n  Add_initializers_to_all_uninitialized_properties: diag(95027, 3 /* Message */, \"Add_initializers_to_all_uninitialized_properties_95027\", \"Add initializers to all uninitialized properties\"),\n  Add_definite_assignment_assertions_to_all_uninitialized_properties: diag(95028, 3 /* Message */, \"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028\", \"Add definite assignment assertions to all uninitialized properties\"),\n  Add_undefined_type_to_all_uninitialized_properties: diag(95029, 3 /* Message */, \"Add_undefined_type_to_all_uninitialized_properties_95029\", \"Add undefined type to all uninitialized properties\"),\n  Change_all_jsdoc_style_types_to_TypeScript: diag(95030, 3 /* Message */, \"Change_all_jsdoc_style_types_to_TypeScript_95030\", \"Change all jsdoc-style types to TypeScript\"),\n  Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types: diag(95031, 3 /* Message */, \"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031\", \"Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)\"),\n  Implement_all_unimplemented_interfaces: diag(95032, 3 /* Message */, \"Implement_all_unimplemented_interfaces_95032\", \"Implement all unimplemented interfaces\"),\n  Install_all_missing_types_packages: diag(95033, 3 /* Message */, \"Install_all_missing_types_packages_95033\", \"Install all missing types packages\"),\n  Rewrite_all_as_indexed_access_types: diag(95034, 3 /* Message */, \"Rewrite_all_as_indexed_access_types_95034\", \"Rewrite all as indexed access types\"),\n  Convert_all_to_default_imports: diag(95035, 3 /* Message */, \"Convert_all_to_default_imports_95035\", \"Convert all to default imports\"),\n  Make_all_super_calls_the_first_statement_in_their_constructor: diag(95036, 3 /* Message */, \"Make_all_super_calls_the_first_statement_in_their_constructor_95036\", \"Make all 'super()' calls the first statement in their constructor\"),\n  Add_qualifier_to_all_unresolved_variables_matching_a_member_name: diag(95037, 3 /* Message */, \"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037\", \"Add qualifier to all unresolved variables matching a member name\"),\n  Change_all_extended_interfaces_to_implements: diag(95038, 3 /* Message */, \"Change_all_extended_interfaces_to_implements_95038\", \"Change all extended interfaces to 'implements'\"),\n  Add_all_missing_super_calls: diag(95039, 3 /* Message */, \"Add_all_missing_super_calls_95039\", \"Add all missing super calls\"),\n  Implement_all_inherited_abstract_classes: diag(95040, 3 /* Message */, \"Implement_all_inherited_abstract_classes_95040\", \"Implement all inherited abstract classes\"),\n  Add_all_missing_async_modifiers: diag(95041, 3 /* Message */, \"Add_all_missing_async_modifiers_95041\", \"Add all missing 'async' modifiers\"),\n  Add_ts_ignore_to_all_error_messages: diag(95042, 3 /* Message */, \"Add_ts_ignore_to_all_error_messages_95042\", \"Add '@ts-ignore' to all error messages\"),\n  Annotate_everything_with_types_from_JSDoc: diag(95043, 3 /* Message */, \"Annotate_everything_with_types_from_JSDoc_95043\", \"Annotate everything with types from JSDoc\"),\n  Add_to_all_uncalled_decorators: diag(95044, 3 /* Message */, \"Add_to_all_uncalled_decorators_95044\", \"Add '()' to all uncalled decorators\"),\n  Convert_all_constructor_functions_to_classes: diag(95045, 3 /* Message */, \"Convert_all_constructor_functions_to_classes_95045\", \"Convert all constructor functions to classes\"),\n  Generate_get_and_set_accessors: diag(95046, 3 /* Message */, \"Generate_get_and_set_accessors_95046\", \"Generate 'get' and 'set' accessors\"),\n  Convert_require_to_import: diag(95047, 3 /* Message */, \"Convert_require_to_import_95047\", \"Convert 'require' to 'import'\"),\n  Convert_all_require_to_import: diag(95048, 3 /* Message */, \"Convert_all_require_to_import_95048\", \"Convert all 'require' to 'import'\"),\n  Move_to_a_new_file: diag(95049, 3 /* Message */, \"Move_to_a_new_file_95049\", \"Move to a new file\"),\n  Remove_unreachable_code: diag(95050, 3 /* Message */, \"Remove_unreachable_code_95050\", \"Remove unreachable code\"),\n  Remove_all_unreachable_code: diag(95051, 3 /* Message */, \"Remove_all_unreachable_code_95051\", \"Remove all unreachable code\"),\n  Add_missing_typeof: diag(95052, 3 /* Message */, \"Add_missing_typeof_95052\", \"Add missing 'typeof'\"),\n  Remove_unused_label: diag(95053, 3 /* Message */, \"Remove_unused_label_95053\", \"Remove unused label\"),\n  Remove_all_unused_labels: diag(95054, 3 /* Message */, \"Remove_all_unused_labels_95054\", \"Remove all unused labels\"),\n  Convert_0_to_mapped_object_type: diag(95055, 3 /* Message */, \"Convert_0_to_mapped_object_type_95055\", \"Convert '{0}' to mapped object type\"),\n  Convert_namespace_import_to_named_imports: diag(95056, 3 /* Message */, \"Convert_namespace_import_to_named_imports_95056\", \"Convert namespace import to named imports\"),\n  Convert_named_imports_to_namespace_import: diag(95057, 3 /* Message */, \"Convert_named_imports_to_namespace_import_95057\", \"Convert named imports to namespace import\"),\n  Add_or_remove_braces_in_an_arrow_function: diag(95058, 3 /* Message */, \"Add_or_remove_braces_in_an_arrow_function_95058\", \"Add or remove braces in an arrow function\"),\n  Add_braces_to_arrow_function: diag(95059, 3 /* Message */, \"Add_braces_to_arrow_function_95059\", \"Add braces to arrow function\"),\n  Remove_braces_from_arrow_function: diag(95060, 3 /* Message */, \"Remove_braces_from_arrow_function_95060\", \"Remove braces from arrow function\"),\n  Convert_default_export_to_named_export: diag(95061, 3 /* Message */, \"Convert_default_export_to_named_export_95061\", \"Convert default export to named export\"),\n  Convert_named_export_to_default_export: diag(95062, 3 /* Message */, \"Convert_named_export_to_default_export_95062\", \"Convert named export to default export\"),\n  Add_missing_enum_member_0: diag(95063, 3 /* Message */, \"Add_missing_enum_member_0_95063\", \"Add missing enum member '{0}'\"),\n  Add_all_missing_imports: diag(95064, 3 /* Message */, \"Add_all_missing_imports_95064\", \"Add all missing imports\"),\n  Convert_to_async_function: diag(95065, 3 /* Message */, \"Convert_to_async_function_95065\", \"Convert to async function\"),\n  Convert_all_to_async_functions: diag(95066, 3 /* Message */, \"Convert_all_to_async_functions_95066\", \"Convert all to async functions\"),\n  Add_missing_call_parentheses: diag(95067, 3 /* Message */, \"Add_missing_call_parentheses_95067\", \"Add missing call parentheses\"),\n  Add_all_missing_call_parentheses: diag(95068, 3 /* Message */, \"Add_all_missing_call_parentheses_95068\", \"Add all missing call parentheses\"),\n  Add_unknown_conversion_for_non_overlapping_types: diag(95069, 3 /* Message */, \"Add_unknown_conversion_for_non_overlapping_types_95069\", \"Add 'unknown' conversion for non-overlapping types\"),\n  Add_unknown_to_all_conversions_of_non_overlapping_types: diag(95070, 3 /* Message */, \"Add_unknown_to_all_conversions_of_non_overlapping_types_95070\", \"Add 'unknown' to all conversions of non-overlapping types\"),\n  Add_missing_new_operator_to_call: diag(95071, 3 /* Message */, \"Add_missing_new_operator_to_call_95071\", \"Add missing 'new' operator to call\"),\n  Add_missing_new_operator_to_all_calls: diag(95072, 3 /* Message */, \"Add_missing_new_operator_to_all_calls_95072\", \"Add missing 'new' operator to all calls\"),\n  Add_names_to_all_parameters_without_names: diag(95073, 3 /* Message */, \"Add_names_to_all_parameters_without_names_95073\", \"Add names to all parameters without names\"),\n  Enable_the_experimentalDecorators_option_in_your_configuration_file: diag(95074, 3 /* Message */, \"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074\", \"Enable the 'experimentalDecorators' option in your configuration file\"),\n  Convert_parameters_to_destructured_object: diag(95075, 3 /* Message */, \"Convert_parameters_to_destructured_object_95075\", \"Convert parameters to destructured object\"),\n  Extract_type: diag(95077, 3 /* Message */, \"Extract_type_95077\", \"Extract type\"),\n  Extract_to_type_alias: diag(95078, 3 /* Message */, \"Extract_to_type_alias_95078\", \"Extract to type alias\"),\n  Extract_to_typedef: diag(95079, 3 /* Message */, \"Extract_to_typedef_95079\", \"Extract to typedef\"),\n  Infer_this_type_of_0_from_usage: diag(95080, 3 /* Message */, \"Infer_this_type_of_0_from_usage_95080\", \"Infer 'this' type of '{0}' from usage\"),\n  Add_const_to_unresolved_variable: diag(95081, 3 /* Message */, \"Add_const_to_unresolved_variable_95081\", \"Add 'const' to unresolved variable\"),\n  Add_const_to_all_unresolved_variables: diag(95082, 3 /* Message */, \"Add_const_to_all_unresolved_variables_95082\", \"Add 'const' to all unresolved variables\"),\n  Add_await: diag(95083, 3 /* Message */, \"Add_await_95083\", \"Add 'await'\"),\n  Add_await_to_initializer_for_0: diag(95084, 3 /* Message */, \"Add_await_to_initializer_for_0_95084\", \"Add 'await' to initializer for '{0}'\"),\n  Fix_all_expressions_possibly_missing_await: diag(95085, 3 /* Message */, \"Fix_all_expressions_possibly_missing_await_95085\", \"Fix all expressions possibly missing 'await'\"),\n  Remove_unnecessary_await: diag(95086, 3 /* Message */, \"Remove_unnecessary_await_95086\", \"Remove unnecessary 'await'\"),\n  Remove_all_unnecessary_uses_of_await: diag(95087, 3 /* Message */, \"Remove_all_unnecessary_uses_of_await_95087\", \"Remove all unnecessary uses of 'await'\"),\n  Enable_the_jsx_flag_in_your_configuration_file: diag(95088, 3 /* Message */, \"Enable_the_jsx_flag_in_your_configuration_file_95088\", \"Enable the '--jsx' flag in your configuration file\"),\n  Add_await_to_initializers: diag(95089, 3 /* Message */, \"Add_await_to_initializers_95089\", \"Add 'await' to initializers\"),\n  Extract_to_interface: diag(95090, 3 /* Message */, \"Extract_to_interface_95090\", \"Extract to interface\"),\n  Convert_to_a_bigint_numeric_literal: diag(95091, 3 /* Message */, \"Convert_to_a_bigint_numeric_literal_95091\", \"Convert to a bigint numeric literal\"),\n  Convert_all_to_bigint_numeric_literals: diag(95092, 3 /* Message */, \"Convert_all_to_bigint_numeric_literals_95092\", \"Convert all to bigint numeric literals\"),\n  Convert_const_to_let: diag(95093, 3 /* Message */, \"Convert_const_to_let_95093\", \"Convert 'const' to 'let'\"),\n  Prefix_with_declare: diag(95094, 3 /* Message */, \"Prefix_with_declare_95094\", \"Prefix with 'declare'\"),\n  Prefix_all_incorrect_property_declarations_with_declare: diag(95095, 3 /* Message */, \"Prefix_all_incorrect_property_declarations_with_declare_95095\", \"Prefix all incorrect property declarations with 'declare'\"),\n  Convert_to_template_string: diag(95096, 3 /* Message */, \"Convert_to_template_string_95096\", \"Convert to template string\"),\n  Add_export_to_make_this_file_into_a_module: diag(95097, 3 /* Message */, \"Add_export_to_make_this_file_into_a_module_95097\", \"Add 'export {}' to make this file into a module\"),\n  Set_the_target_option_in_your_configuration_file_to_0: diag(95098, 3 /* Message */, \"Set_the_target_option_in_your_configuration_file_to_0_95098\", \"Set the 'target' option in your configuration file to '{0}'\"),\n  Set_the_module_option_in_your_configuration_file_to_0: diag(95099, 3 /* Message */, \"Set_the_module_option_in_your_configuration_file_to_0_95099\", \"Set the 'module' option in your configuration file to '{0}'\"),\n  Convert_invalid_character_to_its_html_entity_code: diag(95100, 3 /* Message */, \"Convert_invalid_character_to_its_html_entity_code_95100\", \"Convert invalid character to its html entity code\"),\n  Convert_all_invalid_characters_to_HTML_entity_code: diag(95101, 3 /* Message */, \"Convert_all_invalid_characters_to_HTML_entity_code_95101\", \"Convert all invalid characters to HTML entity code\"),\n  Convert_all_const_to_let: diag(95102, 3 /* Message */, \"Convert_all_const_to_let_95102\", \"Convert all 'const' to 'let'\"),\n  Convert_function_expression_0_to_arrow_function: diag(95105, 3 /* Message */, \"Convert_function_expression_0_to_arrow_function_95105\", \"Convert function expression '{0}' to arrow function\"),\n  Convert_function_declaration_0_to_arrow_function: diag(95106, 3 /* Message */, \"Convert_function_declaration_0_to_arrow_function_95106\", \"Convert function declaration '{0}' to arrow function\"),\n  Fix_all_implicit_this_errors: diag(95107, 3 /* Message */, \"Fix_all_implicit_this_errors_95107\", \"Fix all implicit-'this' errors\"),\n  Wrap_invalid_character_in_an_expression_container: diag(95108, 3 /* Message */, \"Wrap_invalid_character_in_an_expression_container_95108\", \"Wrap invalid character in an expression container\"),\n  Wrap_all_invalid_characters_in_an_expression_container: diag(95109, 3 /* Message */, \"Wrap_all_invalid_characters_in_an_expression_container_95109\", \"Wrap all invalid characters in an expression container\"),\n  Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file: diag(95110, 3 /* Message */, \"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110\", \"Visit https://aka.ms/tsconfig to read more about this file\"),\n  Add_a_return_statement: diag(95111, 3 /* Message */, \"Add_a_return_statement_95111\", \"Add a return statement\"),\n  Remove_braces_from_arrow_function_body: diag(95112, 3 /* Message */, \"Remove_braces_from_arrow_function_body_95112\", \"Remove braces from arrow function body\"),\n  Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal: diag(95113, 3 /* Message */, \"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113\", \"Wrap the following body with parentheses which should be an object literal\"),\n  Add_all_missing_return_statement: diag(95114, 3 /* Message */, \"Add_all_missing_return_statement_95114\", \"Add all missing return statement\"),\n  Remove_braces_from_all_arrow_function_bodies_with_relevant_issues: diag(95115, 3 /* Message */, \"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115\", \"Remove braces from all arrow function bodies with relevant issues\"),\n  Wrap_all_object_literal_with_parentheses: diag(95116, 3 /* Message */, \"Wrap_all_object_literal_with_parentheses_95116\", \"Wrap all object literal with parentheses\"),\n  Move_labeled_tuple_element_modifiers_to_labels: diag(95117, 3 /* Message */, \"Move_labeled_tuple_element_modifiers_to_labels_95117\", \"Move labeled tuple element modifiers to labels\"),\n  Convert_overload_list_to_single_signature: diag(95118, 3 /* Message */, \"Convert_overload_list_to_single_signature_95118\", \"Convert overload list to single signature\"),\n  Generate_get_and_set_accessors_for_all_overriding_properties: diag(95119, 3 /* Message */, \"Generate_get_and_set_accessors_for_all_overriding_properties_95119\", \"Generate 'get' and 'set' accessors for all overriding properties\"),\n  Wrap_in_JSX_fragment: diag(95120, 3 /* Message */, \"Wrap_in_JSX_fragment_95120\", \"Wrap in JSX fragment\"),\n  Wrap_all_unparented_JSX_in_JSX_fragment: diag(95121, 3 /* Message */, \"Wrap_all_unparented_JSX_in_JSX_fragment_95121\", \"Wrap all unparented JSX in JSX fragment\"),\n  Convert_arrow_function_or_function_expression: diag(95122, 3 /* Message */, \"Convert_arrow_function_or_function_expression_95122\", \"Convert arrow function or function expression\"),\n  Convert_to_anonymous_function: diag(95123, 3 /* Message */, \"Convert_to_anonymous_function_95123\", \"Convert to anonymous function\"),\n  Convert_to_named_function: diag(95124, 3 /* Message */, \"Convert_to_named_function_95124\", \"Convert to named function\"),\n  Convert_to_arrow_function: diag(95125, 3 /* Message */, \"Convert_to_arrow_function_95125\", \"Convert to arrow function\"),\n  Remove_parentheses: diag(95126, 3 /* Message */, \"Remove_parentheses_95126\", \"Remove parentheses\"),\n  Could_not_find_a_containing_arrow_function: diag(95127, 3 /* Message */, \"Could_not_find_a_containing_arrow_function_95127\", \"Could not find a containing arrow function\"),\n  Containing_function_is_not_an_arrow_function: diag(95128, 3 /* Message */, \"Containing_function_is_not_an_arrow_function_95128\", \"Containing function is not an arrow function\"),\n  Could_not_find_export_statement: diag(95129, 3 /* Message */, \"Could_not_find_export_statement_95129\", \"Could not find export statement\"),\n  This_file_already_has_a_default_export: diag(95130, 3 /* Message */, \"This_file_already_has_a_default_export_95130\", \"This file already has a default export\"),\n  Could_not_find_import_clause: diag(95131, 3 /* Message */, \"Could_not_find_import_clause_95131\", \"Could not find import clause\"),\n  Could_not_find_namespace_import_or_named_imports: diag(95132, 3 /* Message */, \"Could_not_find_namespace_import_or_named_imports_95132\", \"Could not find namespace import or named imports\"),\n  Selection_is_not_a_valid_type_node: diag(95133, 3 /* Message */, \"Selection_is_not_a_valid_type_node_95133\", \"Selection is not a valid type node\"),\n  No_type_could_be_extracted_from_this_type_node: diag(95134, 3 /* Message */, \"No_type_could_be_extracted_from_this_type_node_95134\", \"No type could be extracted from this type node\"),\n  Could_not_find_property_for_which_to_generate_accessor: diag(95135, 3 /* Message */, \"Could_not_find_property_for_which_to_generate_accessor_95135\", \"Could not find property for which to generate accessor\"),\n  Name_is_not_valid: diag(95136, 3 /* Message */, \"Name_is_not_valid_95136\", \"Name is not valid\"),\n  Can_only_convert_property_with_modifier: diag(95137, 3 /* Message */, \"Can_only_convert_property_with_modifier_95137\", \"Can only convert property with modifier\"),\n  Switch_each_misused_0_to_1: diag(95138, 3 /* Message */, \"Switch_each_misused_0_to_1_95138\", \"Switch each misused '{0}' to '{1}'\"),\n  Convert_to_optional_chain_expression: diag(95139, 3 /* Message */, \"Convert_to_optional_chain_expression_95139\", \"Convert to optional chain expression\"),\n  Could_not_find_convertible_access_expression: diag(95140, 3 /* Message */, \"Could_not_find_convertible_access_expression_95140\", \"Could not find convertible access expression\"),\n  Could_not_find_matching_access_expressions: diag(95141, 3 /* Message */, \"Could_not_find_matching_access_expressions_95141\", \"Could not find matching access expressions\"),\n  Can_only_convert_logical_AND_access_chains: diag(95142, 3 /* Message */, \"Can_only_convert_logical_AND_access_chains_95142\", \"Can only convert logical AND access chains\"),\n  Add_void_to_Promise_resolved_without_a_value: diag(95143, 3 /* Message */, \"Add_void_to_Promise_resolved_without_a_value_95143\", \"Add 'void' to Promise resolved without a value\"),\n  Add_void_to_all_Promises_resolved_without_a_value: diag(95144, 3 /* Message */, \"Add_void_to_all_Promises_resolved_without_a_value_95144\", \"Add 'void' to all Promises resolved without a value\"),\n  Use_element_access_for_0: diag(95145, 3 /* Message */, \"Use_element_access_for_0_95145\", \"Use element access for '{0}'\"),\n  Use_element_access_for_all_undeclared_properties: diag(95146, 3 /* Message */, \"Use_element_access_for_all_undeclared_properties_95146\", \"Use element access for all undeclared properties.\"),\n  Delete_all_unused_imports: diag(95147, 3 /* Message */, \"Delete_all_unused_imports_95147\", \"Delete all unused imports\"),\n  Infer_function_return_type: diag(95148, 3 /* Message */, \"Infer_function_return_type_95148\", \"Infer function return type\"),\n  Return_type_must_be_inferred_from_a_function: diag(95149, 3 /* Message */, \"Return_type_must_be_inferred_from_a_function_95149\", \"Return type must be inferred from a function\"),\n  Could_not_determine_function_return_type: diag(95150, 3 /* Message */, \"Could_not_determine_function_return_type_95150\", \"Could not determine function return type\"),\n  Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, \"Could_not_convert_to_arrow_function_95151\", \"Could not convert to arrow function\"),\n  Could_not_convert_to_named_function: diag(95152, 3 /* Message */, \"Could_not_convert_to_named_function_95152\", \"Could not convert to named function\"),\n  Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, \"Could_not_convert_to_anonymous_function_95153\", \"Could not convert to anonymous function\"),\n  Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, \"Can_only_convert_string_concatenation_95154\", \"Can only convert string concatenation\"),\n  Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, \"Selection_is_not_a_valid_statement_or_statements_95155\", \"Selection is not a valid statement or statements\"),\n  Add_missing_function_declaration_0: diag(95156, 3 /* Message */, \"Add_missing_function_declaration_0_95156\", \"Add missing function declaration '{0}'\"),\n  Add_all_missing_function_declarations: diag(95157, 3 /* Message */, \"Add_all_missing_function_declarations_95157\", \"Add all missing function declarations\"),\n  Method_not_implemented: diag(95158, 3 /* Message */, \"Method_not_implemented_95158\", \"Method not implemented.\"),\n  Function_not_implemented: diag(95159, 3 /* Message */, \"Function_not_implemented_95159\", \"Function not implemented.\"),\n  Add_override_modifier: diag(95160, 3 /* Message */, \"Add_override_modifier_95160\", \"Add 'override' modifier\"),\n  Remove_override_modifier: diag(95161, 3 /* Message */, \"Remove_override_modifier_95161\", \"Remove 'override' modifier\"),\n  Add_all_missing_override_modifiers: diag(95162, 3 /* Message */, \"Add_all_missing_override_modifiers_95162\", \"Add all missing 'override' modifiers\"),\n  Remove_all_unnecessary_override_modifiers: diag(95163, 3 /* Message */, \"Remove_all_unnecessary_override_modifiers_95163\", \"Remove all unnecessary 'override' modifiers\"),\n  Can_only_convert_named_export: diag(95164, 3 /* Message */, \"Can_only_convert_named_export_95164\", \"Can only convert named export\"),\n  Add_missing_properties: diag(95165, 3 /* Message */, \"Add_missing_properties_95165\", \"Add missing properties\"),\n  Add_all_missing_properties: diag(95166, 3 /* Message */, \"Add_all_missing_properties_95166\", \"Add all missing properties\"),\n  Add_missing_attributes: diag(95167, 3 /* Message */, \"Add_missing_attributes_95167\", \"Add missing attributes\"),\n  Add_all_missing_attributes: diag(95168, 3 /* Message */, \"Add_all_missing_attributes_95168\", \"Add all missing attributes\"),\n  Add_undefined_to_optional_property_type: diag(95169, 3 /* Message */, \"Add_undefined_to_optional_property_type_95169\", \"Add 'undefined' to optional property type\"),\n  Convert_named_imports_to_default_import: diag(95170, 3 /* Message */, \"Convert_named_imports_to_default_import_95170\", \"Convert named imports to default import\"),\n  Delete_unused_param_tag_0: diag(95171, 3 /* Message */, \"Delete_unused_param_tag_0_95171\", \"Delete unused '@param' tag '{0}'\"),\n  Delete_all_unused_param_tags: diag(95172, 3 /* Message */, \"Delete_all_unused_param_tags_95172\", \"Delete all unused '@param' tags\"),\n  Rename_param_tag_name_0_to_1: diag(95173, 3 /* Message */, \"Rename_param_tag_name_0_to_1_95173\", \"Rename '@param' tag name '{0}' to '{1}'\"),\n  Use_0: diag(95174, 3 /* Message */, \"Use_0_95174\", \"Use `{0}`.\"),\n  Use_Number_isNaN_in_all_conditions: diag(95175, 3 /* Message */, \"Use_Number_isNaN_in_all_conditions_95175\", \"Use `Number.isNaN` in all conditions.\"),\n  No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer: diag(18004, 1 /* Error */, \"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004\", \"No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.\"),\n  Classes_may_not_have_a_field_named_constructor: diag(18006, 1 /* Error */, \"Classes_may_not_have_a_field_named_constructor_18006\", \"Classes may not have a field named 'constructor'.\"),\n  JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array: diag(18007, 1 /* Error */, \"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007\", \"JSX expressions may not use the comma operator. Did you mean to write an array?\"),\n  Private_identifiers_cannot_be_used_as_parameters: diag(18009, 1 /* Error */, \"Private_identifiers_cannot_be_used_as_parameters_18009\", \"Private identifiers cannot be used as parameters.\"),\n  An_accessibility_modifier_cannot_be_used_with_a_private_identifier: diag(18010, 1 /* Error */, \"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010\", \"An accessibility modifier cannot be used with a private identifier.\"),\n  The_operand_of_a_delete_operator_cannot_be_a_private_identifier: diag(18011, 1 /* Error */, \"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011\", \"The operand of a 'delete' operator cannot be a private identifier.\"),\n  constructor_is_a_reserved_word: diag(18012, 1 /* Error */, \"constructor_is_a_reserved_word_18012\", \"'#constructor' is a reserved word.\"),\n  Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier: diag(18013, 1 /* Error */, \"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013\", \"Property '{0}' is not accessible outside class '{1}' because it has a private identifier.\"),\n  The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling: diag(18014, 1 /* Error */, \"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014\", \"The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling.\"),\n  Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2: diag(18015, 1 /* Error */, \"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015\", \"Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'.\"),\n  Private_identifiers_are_not_allowed_outside_class_bodies: diag(18016, 1 /* Error */, \"Private_identifiers_are_not_allowed_outside_class_bodies_18016\", \"Private identifiers are not allowed outside class bodies.\"),\n  The_shadowing_declaration_of_0_is_defined_here: diag(18017, 1 /* Error */, \"The_shadowing_declaration_of_0_is_defined_here_18017\", \"The shadowing declaration of '{0}' is defined here\"),\n  The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here: diag(18018, 1 /* Error */, \"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018\", \"The declaration of '{0}' that you probably intended to use is defined here\"),\n  _0_modifier_cannot_be_used_with_a_private_identifier: diag(18019, 1 /* Error */, \"_0_modifier_cannot_be_used_with_a_private_identifier_18019\", \"'{0}' modifier cannot be used with a private identifier.\"),\n  An_enum_member_cannot_be_named_with_a_private_identifier: diag(18024, 1 /* Error */, \"An_enum_member_cannot_be_named_with_a_private_identifier_18024\", \"An enum member cannot be named with a private identifier.\"),\n  can_only_be_used_at_the_start_of_a_file: diag(18026, 1 /* Error */, \"can_only_be_used_at_the_start_of_a_file_18026\", \"'#!' can only be used at the start of a file.\"),\n  Compiler_reserves_name_0_when_emitting_private_identifier_downlevel: diag(18027, 1 /* Error */, \"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027\", \"Compiler reserves name '{0}' when emitting private identifier downlevel.\"),\n  Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher: diag(18028, 1 /* Error */, \"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028\", \"Private identifiers are only available when targeting ECMAScript 2015 and higher.\"),\n  Private_identifiers_are_not_allowed_in_variable_declarations: diag(18029, 1 /* Error */, \"Private_identifiers_are_not_allowed_in_variable_declarations_18029\", \"Private identifiers are not allowed in variable declarations.\"),\n  An_optional_chain_cannot_contain_private_identifiers: diag(18030, 1 /* Error */, \"An_optional_chain_cannot_contain_private_identifiers_18030\", \"An optional chain cannot contain private identifiers.\"),\n  The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents: diag(18031, 1 /* Error */, \"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031\", \"The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents.\"),\n  The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some: diag(18032, 1 /* Error */, \"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032\", \"The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some.\"),\n  Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead: diag(18033, 1 /* Error */, \"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033\", \"Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead.\"),\n  Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment: diag(18034, 3 /* Message */, \"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034\", \"Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'.\"),\n  Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name: diag(18035, 1 /* Error */, \"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035\", \"Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.\"),\n  Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator: diag(18036, 1 /* Error */, \"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036\", \"Class decorators can't be used with static private identifier. Consider removing the experimental decorator.\"),\n  Await_expression_cannot_be_used_inside_a_class_static_block: diag(18037, 1 /* Error */, \"Await_expression_cannot_be_used_inside_a_class_static_block_18037\", \"Await expression cannot be used inside a class static block.\"),\n  For_await_loops_cannot_be_used_inside_a_class_static_block: diag(18038, 1 /* Error */, \"For_await_loops_cannot_be_used_inside_a_class_static_block_18038\", \"'For await' loops cannot be used inside a class static block.\"),\n  Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block: diag(18039, 1 /* Error */, \"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039\", \"Invalid use of '{0}'. It cannot be used inside a class static block.\"),\n  A_return_statement_cannot_be_used_inside_a_class_static_block: diag(18041, 1 /* Error */, \"A_return_statement_cannot_be_used_inside_a_class_static_block_18041\", \"A 'return' statement cannot be used inside a class static block.\"),\n  _0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation: diag(18042, 1 /* Error */, \"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042\", \"'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation.\"),\n  Types_cannot_appear_in_export_declarations_in_JavaScript_files: diag(18043, 1 /* Error */, \"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043\", \"Types cannot appear in export declarations in JavaScript files.\"),\n  _0_is_automatically_exported_here: diag(18044, 3 /* Message */, \"_0_is_automatically_exported_here_18044\", \"'{0}' is automatically exported here.\"),\n  Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher: diag(18045, 1 /* Error */, \"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045\", \"Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher.\"),\n  _0_is_of_type_unknown: diag(18046, 1 /* Error */, \"_0_is_of_type_unknown_18046\", \"'{0}' is of type 'unknown'.\"),\n  _0_is_possibly_null: diag(18047, 1 /* Error */, \"_0_is_possibly_null_18047\", \"'{0}' is possibly 'null'.\"),\n  _0_is_possibly_undefined: diag(18048, 1 /* Error */, \"_0_is_possibly_undefined_18048\", \"'{0}' is possibly 'undefined'.\"),\n  _0_is_possibly_null_or_undefined: diag(18049, 1 /* Error */, \"_0_is_possibly_null_or_undefined_18049\", \"'{0}' is possibly 'null' or 'undefined'.\"),\n  The_value_0_cannot_be_used_here: diag(18050, 1 /* Error */, \"The_value_0_cannot_be_used_here_18050\", \"The value '{0}' cannot be used here.\"),\n  Should_not_add_return_type_to_the_function_that_is_annotated_by_Extend: diag(28e3, 1 /* Error */, \"Should_not_add_return_type_to_the_function_that_is_annotated_by_Extend_28000\", \"Should not add return type to the function that is annotated by Extend.\"),\n  Decorator_name_must_be_one_of_ETS_Components: diag(28001, 1 /* Error */, \"Decorator_name_must_be_one_of_ETS_Components_28001\", \"Decorator name must be one of ETS Components\"),\n  A_struct_declaration_without_the_default_modifier_must_have_a_name: diag(28002, 1 /* Error */, \"A_struct_declaration_without_the_default_modifier_must_have_a_name_28002\", \"A struct declaration without the 'default' modifier must have a name.\"),\n  Should_not_add_return_type_to_the_function_that_is_annotated_by_Styles: diag(28003, 1 /* Error */, \"Should_not_add_return_type_to_the_function_that_is_annotated_by_Styles_28003\", \"Should not add return type to the function that is annotated by Styles.\"),\n  Unable_to_resolve_signature_of_function_decorator_when_decorators_are_not_valid: diag(28004, 1 /* Error */, \"Unable_to_resolve_signature_of_function_decorator_when_decorators_are_not_valid_28004\", \"Unable to resolve signature of function decorator when decorators are not valid.\"),\n  The_statement_must_be_written_use_the_function_0_under_the_if_condition: diag(28005, 0 /* Warning */, \"The_statement_must_be_written_use_the_function_0_under_the_if_condition_28005\", \"The statement must be written use the function '{0}' under the if condition.\"),\n  The_struct_name_cannot_contain_reserved_tag_name_Colon_0: diag(28006, 1 /* Error */, \"The_struct_name_cannot_contain_reserved_tag_name_Colon_0_28006\", \"The struct name cannot contain reserved tag name: '{0}'.\"),\n  This_API_has_been_Special_Markings_exercise_caution_when_using_this_API: diag(28007, 0 /* Warning */, \"This_API_has_been_Special_Markings_exercise_caution_when_using_this_API_28007\", \"This API has been Special Markings. exercise caution when using this API.\"),\n  Looking_up_in_oh_modules_folder_initial_location_0: diag(28008, 3 /* Message */, \"Looking_up_in_oh_modules_folder_initial_location_0_28008\", \"Looking up in 'oh_modules' folder, initial location '{0}'.\"),\n  Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_oh_modules_folder: diag(28009, 3 /* Message */, \"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_oh_modul_28009\", \"Containing file is not specified and root directory cannot be determined, skipping lookup in 'oh_modules' folder.\"),\n  Loading_module_0_from_oh_modules_folder_target_file_type_1: diag(28010, 3 /* Message */, \"Loading_module_0_from_oh_modules_folder_target_file_type_1_28010\", \"Loading module '{0}' from 'oh_modules' folder, target file type '{1}'.\"),\n  Found_oh_package_json5_at_0: diag(28011, 3 /* Message */, \"Found_oh_package_json5_at_0_28011\", \"Found 'oh-package.json5' at '{0}'.\"),\n  oh_package_json5_does_not_have_a_0_field: diag(28012, 3 /* Message */, \"oh_package_json5_does_not_have_a_0_field_28012\", \"'oh-package.json5' does not have a '{0}' field.\"),\n  oh_package_json5_has_0_field_1_that_references_2: diag(28013, 3 /* Message */, \"oh_package_json5_has_0_field_1_that_references_2_28013\", \"'oh-package.json5' has '{0}' field '{1}' that references '{2}'.\"),\n  Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in_later_SDK_version_Please_make_sure_the_corresponding_d_ts_file_is_provided_and_the_napis_are_correctly_declared: diag(28014, 0 /* Warning */, \"Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in__28014\", \"Currently module for '{0}' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared.\"),\n  UI_component_0_cannot_be_used_in_this_place: diag(28015, 1 /* Error */, \"UI_component_0_cannot_be_used_in_this_place_28015\", \"UI component '{0}' cannot be used in this place.\"),\n  Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden: diag(28016, 0 /* Warning */, \"Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden_28016\", \"Importing ArkTS files in JS and TS files is about to be forbidden.\"),\n  Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden: diag(28017, 1 /* Error */, \"Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden_28017\", \"Importing ArkTS files in JS and TS files is forbidden.\"),\n  Unexpected_token_An_annotation_property_was_expected: diag(28018, 1 /* Error */, \"Unexpected_token_An_annotation_property_was_expected_28018\", \"Unexpected token. An annotation property was expected.\"),\n  When_annotation_0_is_applied_all_fields_without_default_values_must_be_provided: diag(28019, 1 /* Error */, \"When_annotation_0_is_applied_all_fields_without_default_values_must_be_provided_28019\", \"When annotation '{0}' is applied, all fields without default values must be provided.\"),\n  Only_an_object_literal_have_to_be_provided_as_annotation_parameters_list_got_Colon_0: diag(28020, 1 /* Error */, \"Only_an_object_literal_have_to_be_provided_as_annotation_parameters_list_got_Colon_0_28020\", \"Only an object literal have to be provided as annotation parameters list, got: '{0}'.\"),\n  Annotation_have_to_be_applied_only_for_non_abstract_class_declarations_and_method_declarations_in_non_abstract_classes_got_Colon_0: diag(28021, 1 /* Error */, \"Annotation_have_to_be_applied_only_for_non_abstract_class_declarations_and_method_declarations_in_no_28021\", \"Annotation have to be applied only for non-abstract class declarations and method declarations in non-abstract classes, got: '{0}'.\"),\n  Annotation_have_to_be_applied_for_classes_or_methods_in_classes_only_got_Colon_0: diag(28022, 1 /* Error */, \"Annotation_have_to_be_applied_for_classes_or_methods_in_classes_only_got_Colon_0_28022\", \"Annotation have to be applied for classes or methods in classes only, got: '{0}'.\"),\n  Repeatable_annotation_are_not_supported_got_Colon_0: diag(28023, 1 /* Error */, \"Repeatable_annotation_are_not_supported_got_Colon_0_28023\", \"Repeatable annotation are not supported, got: '{0}'.\"),\n  Annotation_must_be_defined_at_top_level_only: diag(28024, 1 /* Error */, \"Annotation_must_be_defined_at_top_level_only_28024\", \"Annotation must be defined at top-level only.\"),\n  Annotation_name_cannot_be_0: diag(28025, 1 /* Error */, \"Annotation_name_cannot_be_0_28025\", \"Annotation name cannot be '{0}'.\"),\n  Annotation_cannot_be_applied_for_annotation_declaration: diag(28026, 1 /* Error */, \"Annotation_cannot_be_applied_for_annotation_declaration_28026\", \"Annotation cannot be applied for annotation declaration.\"),\n  Annotation_cannot_be_used_as_type_or_variable_or_function_or_method: diag(28027, 1 /* Error */, \"Annotation_cannot_be_used_as_type_or_variable_or_function_or_method_28027\", \"Annotation cannot be used as type or variable or function or method.\"),\n  Annotation_cannot_be_used_as_a_type: diag(28028, 1 /* Error */, \"Annotation_cannot_be_used_as_a_type_28028\", \"Annotation cannot be used as a type.\"),\n  Annotation_cannot_be_used_as_a_value: diag(28029, 1 /* Error */, \"Annotation_cannot_be_used_as_a_value_28029\", \"Annotation cannot be used as a value.\"),\n  Annotation_cannot_be_renamed_in_import_or_export: diag(28030, 1 /* Error */, \"Annotation_cannot_be_renamed_in_import_or_export_28030\", \"Annotation cannot be renamed in import or export.\"),\n  Annotation_cannot_be_exported_as_default: diag(28031, 1 /* Error */, \"Annotation_cannot_be_exported_as_default_28031\", \"Annotation cannot be exported as default.\"),\n  An_annotation_property_must_have_a_type_or_Slashand_an_initializer: diag(28032, 1 /* Error */, \"An_annotation_property_must_have_a_type_or_Slashand_an_initializer_28032\", \"An annotation property must have a type or/and an initializer.\"),\n  A_type_of_annotation_property_have_to_be_number_boolean_string_const_enumeration_types_or_array_of_above_types_got_Colon_0: diag(28033, 1 /* Error */, \"A_type_of_annotation_property_have_to_be_number_boolean_string_const_enumeration_types_or_array_of_a_28033\", \"A type of annotation property have to be number, boolean, string, const enumeration types or array of above types, got: '{0}'.\"),\n  Default_value_of_annotation_property_can_be_a_constant_expression_got_Colon_0: diag(28034, 1 /* Error */, \"Default_value_of_annotation_property_can_be_a_constant_expression_got_Colon_0_28034\", \"Default value of annotation property can be a constant expression, got: '{0}'.\"),\n  All_members_of_object_literal_which_is_provided_as_annotation_parameters_list_have_to_be_constant_expressions_got_Colon_0: diag(28035, 1 /* Error */, \"All_members_of_object_literal_which_is_provided_as_annotation_parameters_list_have_to_be_constant_ex_28035\", \"All members of object literal which is provided as annotation parameters list, have to be constant expressions, got: '{0}'.\"),\n  Annotation_0_used_before_its_declaration: diag(28036, 1 /* Error */, \"Annotation_0_used_before_its_declaration_28036\", \"Annotation '{0}' used before its declaration.\"),\n  In_annotation_declaration_any_symbols_between_and_interface_are_forbidden: diag(28037, 1 /* Error */, \"In_annotation_declaration_any_symbols_between_and_interface_are_forbidden_28037\", \"In annotation declaration any symbols between '@' and 'interface' are forbidden.\"),\n  Enable_support_of_ETS_annotations: diag(28038, 3 /* Message */, \"Enable_support_of_ETS_annotations_28038\", \"Enable support of ETS annotations\"),\n  Annotation_can_only_be_exported_in_declaration_statement: diag(28039, 1 /* Error */, \"Annotation_can_only_be_exported_in_declaration_statement_28039\", \"Annotation can only be exported in declaration statement.\"),\n  Function_may_throw_exceptions_Special_handling_is_required: diag(28040, 0 /* Warning */, \"Function_may_throw_exceptions_Special_handling_is_required_28040\", \"Function may throw exceptions. Special handling is required.\"),\n  Annotations_are_not_supported_in_Hars_compiled_to_JavaScript_files: diag(28041, 1 /* Error */, \"Annotations_are_not_supported_in_Hars_compiled_to_JavaScript_files_28041\", \"Annotations are not supported in Hars compiled to JavaScript files.\"),\n  Annotation_cannot_be_applied_for_getter_or_setter_got_Colon_0: diag(28042, 1 /* Error */, \"Annotation_cannot_be_applied_for_getter_or_setter_got_Colon_0_28042\", \"Annotation cannot be applied for getter or setter, got: '{0}'.\"),\n  _0_annotation_are_not_valid_here_got_Colon_1: diag(28043, 1 /* Error */, \"_0_annotation_are_not_valid_here_got_Colon_1_28043\", \"{0} annotation are not valid here, got: '{1}'.\"),\n  Annotation_cannot_be_applied_for_constructor_got_Colon_0: diag(28044, 1 /* Error */, \"Annotation_cannot_be_applied_for_constructor_got_Colon_0_28044\", \"Annotation cannot be applied for constructor, got: '{0}'.\"),\n  Cannot_find_module_0_This_module_is_not_exported: diag(28045, 1 /* Error */, \"Cannot_find_module_0_This_module_is_not_exported_28045\", \"Cannot find module '{0}'. This module is not exported.\")\n};\n\n// src/compiler/memorydotting/memoryDotting.ts\nvar MemoryDotting;\n((MemoryDotting2) => {\n  MemoryDotting2.BINDE_SOURCE_FILE = \"binder(bindSourceFile: Bind)\";\n  MemoryDotting2.CHECK_SOURCE_FILE = \"checker(checkSourceFile: Check)\";\n  MemoryDotting2.EMIT_FILES = \"emitter(emitFiles: EmitEachOutputFile)\";\n  MemoryDotting2.CREATE_SORUCE_FILE_PARSE = \"parser(createSourceFile: Parse)\";\n  MemoryDotting2.BEFORE_PROGRAM = \"program(createProgram: beforeProgram)\";\n  MemoryDotting2.TRANSFORM = \"transformer(transformNodes: Transform)\";\n  let memoryDottingCallback;\n  let memoryDottingStopCallback;\n  function recordStage(stage) {\n    if (memoryDottingCallback !== void 0) {\n      return memoryDottingCallback(stage);\n    }\n    return null;\n  }\n  MemoryDotting2.recordStage = recordStage;\n  function stopRecordStage(recordInfo) {\n    if (memoryDottingStopCallback !== void 0 && recordInfo !== null) {\n      memoryDottingStopCallback(recordInfo);\n    }\n  }\n  MemoryDotting2.stopRecordStage = stopRecordStage;\n  function setMemoryDottingCallBack(recordCallback, stopCallback) {\n    if (recordCallback) {\n      memoryDottingCallback = recordCallback;\n    }\n    if (stopCallback) {\n      memoryDottingStopCallback = stopCallback;\n    }\n  }\n  MemoryDotting2.setMemoryDottingCallBack = setMemoryDottingCallBack;\n  function clearCallBack() {\n    if (memoryDottingCallback !== void 0) {\n      memoryDottingCallback = void 0;\n    }\n    if (memoryDottingStopCallback !== void 0) {\n      memoryDottingStopCallback = void 0;\n    }\n  }\n  MemoryDotting2.clearCallBack = clearCallBack;\n})(MemoryDotting || (MemoryDotting = {}));\n\n// src/compiler/scanner.ts\nfunction tokenIsIdentifierOrKeyword(token) {\n  return token >= 79 /* Identifier */;\n}\nfunction tokenIsIdentifierOrKeywordOrGreaterThan(token) {\n  return token === 31 /* GreaterThanToken */ || tokenIsIdentifierOrKeyword(token);\n}\nvar textToKeywordObj = {\n  abstract: 127 /* AbstractKeyword */,\n  accessor: 128 /* AccessorKeyword */,\n  any: 132 /* AnyKeyword */,\n  as: 129 /* AsKeyword */,\n  asserts: 130 /* AssertsKeyword */,\n  assert: 131 /* AssertKeyword */,\n  bigint: 162 /* BigIntKeyword */,\n  boolean: 135 /* BooleanKeyword */,\n  break: 81 /* BreakKeyword */,\n  case: 82 /* CaseKeyword */,\n  catch: 83 /* CatchKeyword */,\n  class: 84 /* ClassKeyword */,\n  continue: 87 /* ContinueKeyword */,\n  const: 86 /* ConstKeyword */,\n  [\"constructor\"]: 136 /* ConstructorKeyword */,\n  debugger: 88 /* DebuggerKeyword */,\n  declare: 137 /* DeclareKeyword */,\n  default: 89 /* DefaultKeyword */,\n  delete: 90 /* DeleteKeyword */,\n  do: 91 /* DoKeyword */,\n  else: 92 /* ElseKeyword */,\n  enum: 93 /* EnumKeyword */,\n  export: 94 /* ExportKeyword */,\n  extends: 95 /* ExtendsKeyword */,\n  false: 96 /* FalseKeyword */,\n  finally: 97 /* FinallyKeyword */,\n  for: 98 /* ForKeyword */,\n  from: 160 /* FromKeyword */,\n  function: 99 /* FunctionKeyword */,\n  get: 138 /* GetKeyword */,\n  if: 100 /* IfKeyword */,\n  implements: 118 /* ImplementsKeyword */,\n  import: 101 /* ImportKeyword */,\n  in: 102 /* InKeyword */,\n  infer: 139 /* InferKeyword */,\n  instanceof: 103 /* InstanceOfKeyword */,\n  interface: 119 /* InterfaceKeyword */,\n  intrinsic: 140 /* IntrinsicKeyword */,\n  is: 141 /* IsKeyword */,\n  keyof: 142 /* KeyOfKeyword */,\n  let: 120 /* LetKeyword */,\n  module: 143 /* ModuleKeyword */,\n  namespace: 144 /* NamespaceKeyword */,\n  never: 145 /* NeverKeyword */,\n  new: 104 /* NewKeyword */,\n  null: 105 /* NullKeyword */,\n  number: 149 /* NumberKeyword */,\n  object: 150 /* ObjectKeyword */,\n  package: 121 /* PackageKeyword */,\n  private: 122 /* PrivateKeyword */,\n  protected: 123 /* ProtectedKeyword */,\n  public: 124 /* PublicKeyword */,\n  override: 163 /* OverrideKeyword */,\n  out: 146 /* OutKeyword */,\n  readonly: 147 /* ReadonlyKeyword */,\n  require: 148 /* RequireKeyword */,\n  global: 161 /* GlobalKeyword */,\n  return: 106 /* ReturnKeyword */,\n  satisfies: 151 /* SatisfiesKeyword */,\n  set: 152 /* SetKeyword */,\n  static: 125 /* StaticKeyword */,\n  string: 153 /* StringKeyword */,\n  struct: 85 /* StructKeyword */,\n  super: 107 /* SuperKeyword */,\n  switch: 108 /* SwitchKeyword */,\n  symbol: 154 /* SymbolKeyword */,\n  this: 109 /* ThisKeyword */,\n  throw: 110 /* ThrowKeyword */,\n  true: 111 /* TrueKeyword */,\n  try: 112 /* TryKeyword */,\n  type: 155 /* TypeKeyword */,\n  lazy: 156 /* LazyKeyword */,\n  typeof: 113 /* TypeOfKeyword */,\n  undefined: 157 /* UndefinedKeyword */,\n  unique: 158 /* UniqueKeyword */,\n  unknown: 159 /* UnknownKeyword */,\n  var: 114 /* VarKeyword */,\n  void: 115 /* VoidKeyword */,\n  while: 116 /* WhileKeyword */,\n  with: 117 /* WithKeyword */,\n  yield: 126 /* YieldKeyword */,\n  async: 133 /* AsyncKeyword */,\n  await: 134 /* AwaitKeyword */,\n  of: 164 /* OfKeyword */\n};\nvar textToKeyword = new Map2(getEntries(textToKeywordObj));\nvar textToToken = new Map2(getEntries({\n  ...textToKeywordObj,\n  \"{\": 18 /* OpenBraceToken */,\n  \"}\": 19 /* CloseBraceToken */,\n  \"(\": 20 /* OpenParenToken */,\n  \")\": 21 /* CloseParenToken */,\n  \"[\": 22 /* OpenBracketToken */,\n  \"]\": 23 /* CloseBracketToken */,\n  \".\": 24 /* DotToken */,\n  \"...\": 25 /* DotDotDotToken */,\n  \";\": 26 /* SemicolonToken */,\n  \",\": 27 /* CommaToken */,\n  \"<\": 29 /* LessThanToken */,\n  \">\": 31 /* GreaterThanToken */,\n  \"<=\": 32 /* LessThanEqualsToken */,\n  \">=\": 33 /* GreaterThanEqualsToken */,\n  \"==\": 34 /* EqualsEqualsToken */,\n  \"!=\": 35 /* ExclamationEqualsToken */,\n  \"===\": 36 /* EqualsEqualsEqualsToken */,\n  \"!==\": 37 /* ExclamationEqualsEqualsToken */,\n  \"=>\": 38 /* EqualsGreaterThanToken */,\n  \"+\": 39 /* PlusToken */,\n  \"-\": 40 /* MinusToken */,\n  \"**\": 42 /* AsteriskAsteriskToken */,\n  \"*\": 41 /* AsteriskToken */,\n  \"/\": 43 /* SlashToken */,\n  \"%\": 44 /* PercentToken */,\n  \"++\": 45 /* PlusPlusToken */,\n  \"--\": 46 /* MinusMinusToken */,\n  \"<<\": 47 /* LessThanLessThanToken */,\n  \"</\": 30 /* LessThanSlashToken */,\n  \">>\": 48 /* GreaterThanGreaterThanToken */,\n  \">>>\": 49 /* GreaterThanGreaterThanGreaterThanToken */,\n  \"&\": 50 /* AmpersandToken */,\n  \"|\": 51 /* BarToken */,\n  \"^\": 52 /* CaretToken */,\n  \"!\": 53 /* ExclamationToken */,\n  \"~\": 54 /* TildeToken */,\n  \"&&\": 55 /* AmpersandAmpersandToken */,\n  \"||\": 56 /* BarBarToken */,\n  \"?\": 57 /* QuestionToken */,\n  \"??\": 60 /* QuestionQuestionToken */,\n  \"?.\": 28 /* QuestionDotToken */,\n  \":\": 58 /* ColonToken */,\n  \"=\": 63 /* EqualsToken */,\n  \"+=\": 64 /* PlusEqualsToken */,\n  \"-=\": 65 /* MinusEqualsToken */,\n  \"*=\": 66 /* AsteriskEqualsToken */,\n  \"**=\": 67 /* AsteriskAsteriskEqualsToken */,\n  \"/=\": 68 /* SlashEqualsToken */,\n  \"%=\": 69 /* PercentEqualsToken */,\n  \"<<=\": 70 /* LessThanLessThanEqualsToken */,\n  \">>=\": 71 /* GreaterThanGreaterThanEqualsToken */,\n  \">>>=\": 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */,\n  \"&=\": 73 /* AmpersandEqualsToken */,\n  \"|=\": 74 /* BarEqualsToken */,\n  \"^=\": 78 /* CaretEqualsToken */,\n  \"||=\": 75 /* BarBarEqualsToken */,\n  \"&&=\": 76 /* AmpersandAmpersandEqualsToken */,\n  \"??=\": 77 /* QuestionQuestionEqualsToken */,\n  \"@\": 59 /* AtToken */,\n  \"#\": 62 /* HashToken */,\n  \"`\": 61 /* BacktickToken */\n}));\nvar unicodeES3IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1610, 1649, 1747, 1749, 1749, 1765, 1766, 1786, 1788, 1808, 1808, 1810, 1836, 1920, 1957, 2309, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2784, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3294, 3294, 3296, 3297, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3424, 3425, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3805, 3840, 3840, 3904, 3911, 3913, 3946, 3976, 3979, 4096, 4129, 4131, 4135, 4137, 4138, 4176, 4181, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6067, 6176, 6263, 6272, 6312, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8319, 8319, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12346, 12353, 12436, 12445, 12446, 12449, 12538, 12540, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65138, 65140, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\nvar unicodeES3IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 543, 546, 563, 592, 685, 688, 696, 699, 705, 720, 721, 736, 740, 750, 750, 768, 846, 864, 866, 890, 890, 902, 902, 904, 906, 908, 908, 910, 929, 931, 974, 976, 983, 986, 1011, 1024, 1153, 1155, 1158, 1164, 1220, 1223, 1224, 1227, 1228, 1232, 1269, 1272, 1273, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1441, 1443, 1465, 1467, 1469, 1471, 1471, 1473, 1474, 1476, 1476, 1488, 1514, 1520, 1522, 1569, 1594, 1600, 1621, 1632, 1641, 1648, 1747, 1749, 1756, 1759, 1768, 1770, 1773, 1776, 1788, 1808, 1836, 1840, 1866, 1920, 1968, 2305, 2307, 2309, 2361, 2364, 2381, 2384, 2388, 2392, 2403, 2406, 2415, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2492, 2494, 2500, 2503, 2504, 2507, 2509, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2562, 2562, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2649, 2652, 2654, 2654, 2662, 2676, 2689, 2691, 2693, 2699, 2701, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2784, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2870, 2873, 2876, 2883, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2913, 2918, 2927, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 2997, 2999, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3031, 3031, 3047, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3134, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3168, 3169, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3262, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3297, 3302, 3311, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3368, 3370, 3385, 3390, 3395, 3398, 3400, 3402, 3405, 3415, 3415, 3424, 3425, 3430, 3439, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3805, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3946, 3953, 3972, 3974, 3979, 3984, 3991, 3993, 4028, 4038, 4038, 4096, 4129, 4131, 4135, 4137, 4138, 4140, 4146, 4150, 4153, 4160, 4169, 4176, 4185, 4256, 4293, 4304, 4342, 4352, 4441, 4447, 4514, 4520, 4601, 4608, 4614, 4616, 4678, 4680, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4742, 4744, 4744, 4746, 4749, 4752, 4782, 4784, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4814, 4816, 4822, 4824, 4846, 4848, 4878, 4880, 4880, 4882, 4885, 4888, 4894, 4896, 4934, 4936, 4954, 4969, 4977, 5024, 5108, 5121, 5740, 5743, 5750, 5761, 5786, 5792, 5866, 6016, 6099, 6112, 6121, 6160, 6169, 6176, 6263, 6272, 6313, 7680, 7835, 7840, 7929, 7936, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8319, 8319, 8400, 8412, 8417, 8417, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8497, 8499, 8505, 8544, 8579, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12346, 12353, 12436, 12441, 12442, 12445, 12446, 12449, 12542, 12549, 12588, 12593, 12686, 12704, 12727, 13312, 19893, 19968, 40869, 40960, 42124, 44032, 55203, 63744, 64045, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65056, 65059, 65075, 65076, 65101, 65103, 65136, 65138, 65140, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65381, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\nvar unicodeES5IdentifierStart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1488, 1514, 1520, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2208, 2208, 2210, 2220, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2423, 2425, 2431, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3133, 3160, 3161, 3168, 3169, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3424, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6263, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6428, 6480, 6509, 6512, 6516, 6528, 6571, 6593, 6599, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7401, 7404, 7406, 7409, 7413, 7414, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11823, 11823, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42647, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43648, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\nvar unicodeES5IdentifierPart = [170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1319, 1329, 1366, 1369, 1369, 1377, 1415, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1520, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2048, 2093, 2112, 2139, 2208, 2208, 2210, 2220, 2276, 2302, 2304, 2403, 2406, 2415, 2417, 2423, 2425, 2431, 2433, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3073, 3075, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3123, 3125, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3161, 3168, 3171, 3174, 3183, 3202, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3330, 3331, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3396, 3398, 3400, 3402, 3406, 3415, 3415, 3424, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3719, 3720, 3722, 3722, 3725, 3725, 3732, 3735, 3737, 3743, 3745, 3747, 3749, 3749, 3751, 3751, 3754, 3755, 3757, 3769, 3771, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4992, 5007, 5024, 5108, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5872, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6263, 6272, 6314, 6320, 6389, 6400, 6428, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6617, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7376, 7378, 7380, 7414, 7424, 7654, 7676, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8204, 8205, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8473, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8493, 8495, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 11823, 11823, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12442, 12445, 12447, 12449, 12538, 12540, 12543, 12549, 12589, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40908, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42647, 42655, 42737, 42775, 42783, 42786, 42888, 42891, 42894, 42896, 42899, 42912, 42922, 43e3, 43047, 43072, 43123, 43136, 43204, 43216, 43225, 43232, 43255, 43259, 43259, 43264, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43643, 43648, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43968, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65062, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500];\nvar unicodeESNextIdentifierStart = [65, 90, 97, 122, 170, 170, 181, 181, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 880, 884, 886, 887, 890, 893, 895, 895, 902, 902, 904, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1488, 1514, 1519, 1522, 1568, 1610, 1646, 1647, 1649, 1747, 1749, 1749, 1765, 1766, 1774, 1775, 1786, 1788, 1791, 1791, 1808, 1808, 1810, 1839, 1869, 1957, 1969, 1969, 1994, 2026, 2036, 2037, 2042, 2042, 2048, 2069, 2074, 2074, 2084, 2084, 2088, 2088, 2112, 2136, 2144, 2154, 2208, 2228, 2230, 2237, 2308, 2361, 2365, 2365, 2384, 2384, 2392, 2401, 2417, 2432, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2493, 2493, 2510, 2510, 2524, 2525, 2527, 2529, 2544, 2545, 2556, 2556, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2649, 2652, 2654, 2654, 2674, 2676, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2749, 2749, 2768, 2768, 2784, 2785, 2809, 2809, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2877, 2877, 2908, 2909, 2911, 2913, 2929, 2929, 2947, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3024, 3024, 3077, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3133, 3133, 3160, 3162, 3168, 3169, 3200, 3200, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3261, 3261, 3294, 3294, 3296, 3297, 3313, 3314, 3333, 3340, 3342, 3344, 3346, 3386, 3389, 3389, 3406, 3406, 3412, 3414, 3423, 3425, 3450, 3455, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3585, 3632, 3634, 3635, 3648, 3654, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3760, 3762, 3763, 3773, 3773, 3776, 3780, 3782, 3782, 3804, 3807, 3840, 3840, 3904, 3911, 3913, 3948, 3976, 3980, 4096, 4138, 4159, 4159, 4176, 4181, 4186, 4189, 4193, 4193, 4197, 4198, 4206, 4208, 4213, 4225, 4238, 4238, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5900, 5902, 5905, 5920, 5937, 5952, 5969, 5984, 5996, 5998, 6e3, 6016, 6067, 6103, 6103, 6108, 6108, 6176, 6264, 6272, 6312, 6314, 6314, 6320, 6389, 6400, 6430, 6480, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6656, 6678, 6688, 6740, 6823, 6823, 6917, 6963, 6981, 6987, 7043, 7072, 7086, 7087, 7098, 7141, 7168, 7203, 7245, 7247, 7258, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7401, 7404, 7406, 7411, 7413, 7414, 7418, 7418, 7424, 7615, 7680, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8305, 8305, 8319, 8319, 8336, 8348, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11502, 11506, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11648, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 12293, 12295, 12321, 12329, 12337, 12341, 12344, 12348, 12353, 12438, 12443, 12447, 12449, 12538, 12540, 12543, 12549, 12591, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40943, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42527, 42538, 42539, 42560, 42606, 42623, 42653, 42656, 42735, 42775, 42783, 42786, 42888, 42891, 42943, 42946, 42950, 42999, 43009, 43011, 43013, 43015, 43018, 43020, 43042, 43072, 43123, 43138, 43187, 43250, 43255, 43259, 43259, 43261, 43262, 43274, 43301, 43312, 43334, 43360, 43388, 43396, 43442, 43471, 43471, 43488, 43492, 43494, 43503, 43514, 43518, 43520, 43560, 43584, 43586, 43588, 43595, 43616, 43638, 43642, 43642, 43646, 43695, 43697, 43697, 43701, 43702, 43705, 43709, 43712, 43712, 43714, 43714, 43739, 43741, 43744, 43754, 43762, 43764, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43879, 43888, 44002, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64285, 64287, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65136, 65140, 65142, 65276, 65313, 65338, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66176, 66204, 66208, 66256, 66304, 66335, 66349, 66378, 66384, 66421, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 67072, 67382, 67392, 67413, 67424, 67431, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68096, 68112, 68115, 68117, 68119, 68121, 68149, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68324, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68899, 69376, 69404, 69415, 69415, 69424, 69445, 69600, 69622, 69635, 69687, 69763, 69807, 69840, 69864, 69891, 69926, 69956, 69956, 69968, 70002, 70006, 70006, 70019, 70066, 70081, 70084, 70106, 70106, 70108, 70108, 70144, 70161, 70163, 70187, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70366, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70461, 70461, 70480, 70480, 70493, 70497, 70656, 70708, 70727, 70730, 70751, 70751, 70784, 70831, 70852, 70853, 70855, 70855, 71040, 71086, 71128, 71131, 71168, 71215, 71236, 71236, 71296, 71338, 71352, 71352, 71424, 71450, 71680, 71723, 71840, 71903, 71935, 71935, 72096, 72103, 72106, 72144, 72161, 72161, 72163, 72163, 72192, 72192, 72203, 72242, 72250, 72250, 72272, 72272, 72284, 72329, 72349, 72349, 72384, 72440, 72704, 72712, 72714, 72750, 72768, 72768, 72818, 72847, 72960, 72966, 72968, 72969, 72971, 73008, 73030, 73030, 73056, 73061, 73063, 73064, 73066, 73097, 73112, 73112, 73440, 73458, 73728, 74649, 74752, 74862, 74880, 75075, 77824, 78894, 82944, 83526, 92160, 92728, 92736, 92766, 92880, 92909, 92928, 92975, 92992, 92995, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94032, 94032, 94099, 94111, 94176, 94177, 94179, 94179, 94208, 100343, 100352, 101106, 110592, 110878, 110928, 110930, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 123136, 123180, 123191, 123197, 123214, 123214, 123584, 123627, 124928, 125124, 125184, 125251, 125259, 125259, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 131072, 173782, 173824, 177972, 177984, 178205, 178208, 183969, 183984, 191456, 194560, 195101];\nvar unicodeESNextIdentifierPart = [48, 57, 65, 90, 95, 95, 97, 122, 170, 170, 181, 181, 183, 183, 186, 186, 192, 214, 216, 246, 248, 705, 710, 721, 736, 740, 748, 748, 750, 750, 768, 884, 886, 887, 890, 893, 895, 895, 902, 906, 908, 908, 910, 929, 931, 1013, 1015, 1153, 1155, 1159, 1162, 1327, 1329, 1366, 1369, 1369, 1376, 1416, 1425, 1469, 1471, 1471, 1473, 1474, 1476, 1477, 1479, 1479, 1488, 1514, 1519, 1522, 1552, 1562, 1568, 1641, 1646, 1747, 1749, 1756, 1759, 1768, 1770, 1788, 1791, 1791, 1808, 1866, 1869, 1969, 1984, 2037, 2042, 2042, 2045, 2045, 2048, 2093, 2112, 2139, 2144, 2154, 2208, 2228, 2230, 2237, 2259, 2273, 2275, 2403, 2406, 2415, 2417, 2435, 2437, 2444, 2447, 2448, 2451, 2472, 2474, 2480, 2482, 2482, 2486, 2489, 2492, 2500, 2503, 2504, 2507, 2510, 2519, 2519, 2524, 2525, 2527, 2531, 2534, 2545, 2556, 2556, 2558, 2558, 2561, 2563, 2565, 2570, 2575, 2576, 2579, 2600, 2602, 2608, 2610, 2611, 2613, 2614, 2616, 2617, 2620, 2620, 2622, 2626, 2631, 2632, 2635, 2637, 2641, 2641, 2649, 2652, 2654, 2654, 2662, 2677, 2689, 2691, 2693, 2701, 2703, 2705, 2707, 2728, 2730, 2736, 2738, 2739, 2741, 2745, 2748, 2757, 2759, 2761, 2763, 2765, 2768, 2768, 2784, 2787, 2790, 2799, 2809, 2815, 2817, 2819, 2821, 2828, 2831, 2832, 2835, 2856, 2858, 2864, 2866, 2867, 2869, 2873, 2876, 2884, 2887, 2888, 2891, 2893, 2902, 2903, 2908, 2909, 2911, 2915, 2918, 2927, 2929, 2929, 2946, 2947, 2949, 2954, 2958, 2960, 2962, 2965, 2969, 2970, 2972, 2972, 2974, 2975, 2979, 2980, 2984, 2986, 2990, 3001, 3006, 3010, 3014, 3016, 3018, 3021, 3024, 3024, 3031, 3031, 3046, 3055, 3072, 3084, 3086, 3088, 3090, 3112, 3114, 3129, 3133, 3140, 3142, 3144, 3146, 3149, 3157, 3158, 3160, 3162, 3168, 3171, 3174, 3183, 3200, 3203, 3205, 3212, 3214, 3216, 3218, 3240, 3242, 3251, 3253, 3257, 3260, 3268, 3270, 3272, 3274, 3277, 3285, 3286, 3294, 3294, 3296, 3299, 3302, 3311, 3313, 3314, 3328, 3331, 3333, 3340, 3342, 3344, 3346, 3396, 3398, 3400, 3402, 3406, 3412, 3415, 3423, 3427, 3430, 3439, 3450, 3455, 3458, 3459, 3461, 3478, 3482, 3505, 3507, 3515, 3517, 3517, 3520, 3526, 3530, 3530, 3535, 3540, 3542, 3542, 3544, 3551, 3558, 3567, 3570, 3571, 3585, 3642, 3648, 3662, 3664, 3673, 3713, 3714, 3716, 3716, 3718, 3722, 3724, 3747, 3749, 3749, 3751, 3773, 3776, 3780, 3782, 3782, 3784, 3789, 3792, 3801, 3804, 3807, 3840, 3840, 3864, 3865, 3872, 3881, 3893, 3893, 3895, 3895, 3897, 3897, 3902, 3911, 3913, 3948, 3953, 3972, 3974, 3991, 3993, 4028, 4038, 4038, 4096, 4169, 4176, 4253, 4256, 4293, 4295, 4295, 4301, 4301, 4304, 4346, 4348, 4680, 4682, 4685, 4688, 4694, 4696, 4696, 4698, 4701, 4704, 4744, 4746, 4749, 4752, 4784, 4786, 4789, 4792, 4798, 4800, 4800, 4802, 4805, 4808, 4822, 4824, 4880, 4882, 4885, 4888, 4954, 4957, 4959, 4969, 4977, 4992, 5007, 5024, 5109, 5112, 5117, 5121, 5740, 5743, 5759, 5761, 5786, 5792, 5866, 5870, 5880, 5888, 5900, 5902, 5908, 5920, 5940, 5952, 5971, 5984, 5996, 5998, 6e3, 6002, 6003, 6016, 6099, 6103, 6103, 6108, 6109, 6112, 6121, 6155, 6157, 6160, 6169, 6176, 6264, 6272, 6314, 6320, 6389, 6400, 6430, 6432, 6443, 6448, 6459, 6470, 6509, 6512, 6516, 6528, 6571, 6576, 6601, 6608, 6618, 6656, 6683, 6688, 6750, 6752, 6780, 6783, 6793, 6800, 6809, 6823, 6823, 6832, 6845, 6912, 6987, 6992, 7001, 7019, 7027, 7040, 7155, 7168, 7223, 7232, 7241, 7245, 7293, 7296, 7304, 7312, 7354, 7357, 7359, 7376, 7378, 7380, 7418, 7424, 7673, 7675, 7957, 7960, 7965, 7968, 8005, 8008, 8013, 8016, 8023, 8025, 8025, 8027, 8027, 8029, 8029, 8031, 8061, 8064, 8116, 8118, 8124, 8126, 8126, 8130, 8132, 8134, 8140, 8144, 8147, 8150, 8155, 8160, 8172, 8178, 8180, 8182, 8188, 8255, 8256, 8276, 8276, 8305, 8305, 8319, 8319, 8336, 8348, 8400, 8412, 8417, 8417, 8421, 8432, 8450, 8450, 8455, 8455, 8458, 8467, 8469, 8469, 8472, 8477, 8484, 8484, 8486, 8486, 8488, 8488, 8490, 8505, 8508, 8511, 8517, 8521, 8526, 8526, 8544, 8584, 11264, 11310, 11312, 11358, 11360, 11492, 11499, 11507, 11520, 11557, 11559, 11559, 11565, 11565, 11568, 11623, 11631, 11631, 11647, 11670, 11680, 11686, 11688, 11694, 11696, 11702, 11704, 11710, 11712, 11718, 11720, 11726, 11728, 11734, 11736, 11742, 11744, 11775, 12293, 12295, 12321, 12335, 12337, 12341, 12344, 12348, 12353, 12438, 12441, 12447, 12449, 12538, 12540, 12543, 12549, 12591, 12593, 12686, 12704, 12730, 12784, 12799, 13312, 19893, 19968, 40943, 40960, 42124, 42192, 42237, 42240, 42508, 42512, 42539, 42560, 42607, 42612, 42621, 42623, 42737, 42775, 42783, 42786, 42888, 42891, 42943, 42946, 42950, 42999, 43047, 43072, 43123, 43136, 43205, 43216, 43225, 43232, 43255, 43259, 43259, 43261, 43309, 43312, 43347, 43360, 43388, 43392, 43456, 43471, 43481, 43488, 43518, 43520, 43574, 43584, 43597, 43600, 43609, 43616, 43638, 43642, 43714, 43739, 43741, 43744, 43759, 43762, 43766, 43777, 43782, 43785, 43790, 43793, 43798, 43808, 43814, 43816, 43822, 43824, 43866, 43868, 43879, 43888, 44010, 44012, 44013, 44016, 44025, 44032, 55203, 55216, 55238, 55243, 55291, 63744, 64109, 64112, 64217, 64256, 64262, 64275, 64279, 64285, 64296, 64298, 64310, 64312, 64316, 64318, 64318, 64320, 64321, 64323, 64324, 64326, 64433, 64467, 64829, 64848, 64911, 64914, 64967, 65008, 65019, 65024, 65039, 65056, 65071, 65075, 65076, 65101, 65103, 65136, 65140, 65142, 65276, 65296, 65305, 65313, 65338, 65343, 65343, 65345, 65370, 65382, 65470, 65474, 65479, 65482, 65487, 65490, 65495, 65498, 65500, 65536, 65547, 65549, 65574, 65576, 65594, 65596, 65597, 65599, 65613, 65616, 65629, 65664, 65786, 65856, 65908, 66045, 66045, 66176, 66204, 66208, 66256, 66272, 66272, 66304, 66335, 66349, 66378, 66384, 66426, 66432, 66461, 66464, 66499, 66504, 66511, 66513, 66517, 66560, 66717, 66720, 66729, 66736, 66771, 66776, 66811, 66816, 66855, 66864, 66915, 67072, 67382, 67392, 67413, 67424, 67431, 67584, 67589, 67592, 67592, 67594, 67637, 67639, 67640, 67644, 67644, 67647, 67669, 67680, 67702, 67712, 67742, 67808, 67826, 67828, 67829, 67840, 67861, 67872, 67897, 67968, 68023, 68030, 68031, 68096, 68099, 68101, 68102, 68108, 68115, 68117, 68119, 68121, 68149, 68152, 68154, 68159, 68159, 68192, 68220, 68224, 68252, 68288, 68295, 68297, 68326, 68352, 68405, 68416, 68437, 68448, 68466, 68480, 68497, 68608, 68680, 68736, 68786, 68800, 68850, 68864, 68903, 68912, 68921, 69376, 69404, 69415, 69415, 69424, 69456, 69600, 69622, 69632, 69702, 69734, 69743, 69759, 69818, 69840, 69864, 69872, 69881, 69888, 69940, 69942, 69951, 69956, 69958, 69968, 70003, 70006, 70006, 70016, 70084, 70089, 70092, 70096, 70106, 70108, 70108, 70144, 70161, 70163, 70199, 70206, 70206, 70272, 70278, 70280, 70280, 70282, 70285, 70287, 70301, 70303, 70312, 70320, 70378, 70384, 70393, 70400, 70403, 70405, 70412, 70415, 70416, 70419, 70440, 70442, 70448, 70450, 70451, 70453, 70457, 70459, 70468, 70471, 70472, 70475, 70477, 70480, 70480, 70487, 70487, 70493, 70499, 70502, 70508, 70512, 70516, 70656, 70730, 70736, 70745, 70750, 70751, 70784, 70853, 70855, 70855, 70864, 70873, 71040, 71093, 71096, 71104, 71128, 71133, 71168, 71232, 71236, 71236, 71248, 71257, 71296, 71352, 71360, 71369, 71424, 71450, 71453, 71467, 71472, 71481, 71680, 71738, 71840, 71913, 71935, 71935, 72096, 72103, 72106, 72151, 72154, 72161, 72163, 72164, 72192, 72254, 72263, 72263, 72272, 72345, 72349, 72349, 72384, 72440, 72704, 72712, 72714, 72758, 72760, 72768, 72784, 72793, 72818, 72847, 72850, 72871, 72873, 72886, 72960, 72966, 72968, 72969, 72971, 73014, 73018, 73018, 73020, 73021, 73023, 73031, 73040, 73049, 73056, 73061, 73063, 73064, 73066, 73102, 73104, 73105, 73107, 73112, 73120, 73129, 73440, 73462, 73728, 74649, 74752, 74862, 74880, 75075, 77824, 78894, 82944, 83526, 92160, 92728, 92736, 92766, 92768, 92777, 92880, 92909, 92912, 92916, 92928, 92982, 92992, 92995, 93008, 93017, 93027, 93047, 93053, 93071, 93760, 93823, 93952, 94026, 94031, 94087, 94095, 94111, 94176, 94177, 94179, 94179, 94208, 100343, 100352, 101106, 110592, 110878, 110928, 110930, 110948, 110951, 110960, 111355, 113664, 113770, 113776, 113788, 113792, 113800, 113808, 113817, 113821, 113822, 119141, 119145, 119149, 119154, 119163, 119170, 119173, 119179, 119210, 119213, 119362, 119364, 119808, 119892, 119894, 119964, 119966, 119967, 119970, 119970, 119973, 119974, 119977, 119980, 119982, 119993, 119995, 119995, 119997, 120003, 120005, 120069, 120071, 120074, 120077, 120084, 120086, 120092, 120094, 120121, 120123, 120126, 120128, 120132, 120134, 120134, 120138, 120144, 120146, 120485, 120488, 120512, 120514, 120538, 120540, 120570, 120572, 120596, 120598, 120628, 120630, 120654, 120656, 120686, 120688, 120712, 120714, 120744, 120746, 120770, 120772, 120779, 120782, 120831, 121344, 121398, 121403, 121452, 121461, 121461, 121476, 121476, 121499, 121503, 121505, 121519, 122880, 122886, 122888, 122904, 122907, 122913, 122915, 122916, 122918, 122922, 123136, 123180, 123184, 123197, 123200, 123209, 123214, 123214, 123584, 123641, 124928, 125124, 125136, 125142, 125184, 125259, 125264, 125273, 126464, 126467, 126469, 126495, 126497, 126498, 126500, 126500, 126503, 126503, 126505, 126514, 126516, 126519, 126521, 126521, 126523, 126523, 126530, 126530, 126535, 126535, 126537, 126537, 126539, 126539, 126541, 126543, 126545, 126546, 126548, 126548, 126551, 126551, 126553, 126553, 126555, 126555, 126557, 126557, 126559, 126559, 126561, 126562, 126564, 126564, 126567, 126570, 126572, 126578, 126580, 126583, 126585, 126588, 126590, 126590, 126592, 126601, 126603, 126619, 126625, 126627, 126629, 126633, 126635, 126651, 131072, 173782, 173824, 177972, 177984, 178205, 178208, 183969, 183984, 191456, 194560, 195101, 917760, 917999];\nvar commentDirectiveRegExSingleLine = /^\\/\\/\\/?\\s*@(ts-expect-error|ts-ignore)/;\nvar commentDirectiveRegExMultiLine = /^(?:\\/|\\*)*\\s*@(ts-expect-error|ts-ignore)/;\nfunction lookupInUnicodeMap(code, map2) {\n  if (code < map2[0]) {\n    return false;\n  }\n  let lo = 0;\n  let hi = map2.length;\n  let mid;\n  while (lo + 1 < hi) {\n    mid = lo + (hi - lo) / 2;\n    mid -= mid % 2;\n    if (map2[mid] <= code && code <= map2[mid + 1]) {\n      return true;\n    }\n    if (code < map2[mid]) {\n      hi = mid;\n    } else {\n      lo = mid + 2;\n    }\n  }\n  return false;\n}\nfunction isUnicodeIdentifierStart(code, languageVersion) {\n  return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierStart) : languageVersion === 1 /* ES5 */ ? lookupInUnicodeMap(code, unicodeES5IdentifierStart) : lookupInUnicodeMap(code, unicodeES3IdentifierStart);\n}\nfunction isUnicodeIdentifierPart(code, languageVersion) {\n  return languageVersion >= 2 /* ES2015 */ ? lookupInUnicodeMap(code, unicodeESNextIdentifierPart) : languageVersion === 1 /* ES5 */ ? lookupInUnicodeMap(code, unicodeES5IdentifierPart) : lookupInUnicodeMap(code, unicodeES3IdentifierPart);\n}\nfunction makeReverseMap(source) {\n  const result = [];\n  source.forEach((value, name) => {\n    result[value] = name;\n  });\n  return result;\n}\nvar tokenStrings = makeReverseMap(textToToken);\nfunction tokenToString(t) {\n  return tokenStrings[t];\n}\nfunction stringToToken(s) {\n  return textToToken.get(s);\n}\nfunction computeLineStarts(text) {\n  const result = [];\n  let pos = 0;\n  let lineStart = 0;\n  while (pos < text.length) {\n    const ch = text.charCodeAt(pos);\n    pos++;\n    switch (ch) {\n      case 13 /* carriageReturn */:\n        if (text.charCodeAt(pos) === 10 /* lineFeed */) {\n          pos++;\n        }\n      case 10 /* lineFeed */:\n        result.push(lineStart);\n        lineStart = pos;\n        break;\n      default:\n        if (ch > 127 /* maxAsciiCharacter */ && isLineBreak(ch)) {\n          result.push(lineStart);\n          lineStart = pos;\n        }\n        break;\n    }\n  }\n  result.push(lineStart);\n  return result;\n}\nfunction getPositionOfLineAndCharacter(sourceFile, line, character, allowEdits) {\n  return sourceFile.getPositionOfLineAndCharacter ? sourceFile.getPositionOfLineAndCharacter(line, character, allowEdits) : computePositionOfLineAndCharacter(getLineStarts(sourceFile), line, character, sourceFile.text, allowEdits);\n}\nfunction computePositionOfLineAndCharacter(lineStarts, line, character, debugText, allowEdits) {\n  if (line < 0 || line >= lineStarts.length) {\n    if (allowEdits) {\n      line = line < 0 ? 0 : line >= lineStarts.length ? lineStarts.length - 1 : line;\n    } else {\n      Debug.fail(`Bad line number. Line: ${line}, lineStarts.length: ${lineStarts.length} , line map is correct? ${debugText !== void 0 ? arraysEqual(lineStarts, computeLineStarts(debugText)) : \"unknown\"}`);\n    }\n  }\n  const res = lineStarts[line] + character;\n  if (allowEdits) {\n    return res > lineStarts[line + 1] ? lineStarts[line + 1] : typeof debugText === \"string\" && res > debugText.length ? debugText.length : res;\n  }\n  if (line < lineStarts.length - 1) {\n    Debug.assert(res < lineStarts[line + 1]);\n  } else if (debugText !== void 0) {\n    Debug.assert(res <= debugText.length);\n  }\n  return res;\n}\nfunction getLineStarts(sourceFile) {\n  return sourceFile.lineMap || (sourceFile.lineMap = computeLineStarts(sourceFile.text));\n}\nfunction computeLineAndCharacterOfPosition(lineStarts, position) {\n  const lineNumber = computeLineOfPosition(lineStarts, position);\n  return {\n    line: lineNumber,\n    character: position - lineStarts[lineNumber]\n  };\n}\nfunction computeLineOfPosition(lineStarts, position, lowerBound) {\n  let lineNumber = binarySearch(lineStarts, position, identity, compareValues, lowerBound);\n  if (lineNumber < 0) {\n    lineNumber = ~lineNumber - 1;\n    Debug.assert(lineNumber !== -1, \"position cannot precede the beginning of the file\");\n  }\n  return lineNumber;\n}\nfunction getLinesBetweenPositions(sourceFile, pos1, pos2) {\n  if (pos1 === pos2)\n    return 0;\n  const lineStarts = getLineStarts(sourceFile);\n  const lower = Math.min(pos1, pos2);\n  const isNegative = lower === pos2;\n  const upper = isNegative ? pos1 : pos2;\n  const lowerLine = computeLineOfPosition(lineStarts, lower);\n  const upperLine = computeLineOfPosition(lineStarts, upper, lowerLine);\n  return isNegative ? lowerLine - upperLine : upperLine - lowerLine;\n}\nfunction getLineAndCharacterOfPosition(sourceFile, position) {\n  return computeLineAndCharacterOfPosition(getLineStarts(sourceFile), position);\n}\nfunction isWhiteSpaceLike(ch) {\n  return isWhiteSpaceSingleLine(ch) || isLineBreak(ch);\n}\nfunction isWhiteSpaceSingleLine(ch) {\n  return ch === 32 /* space */ || ch === 9 /* tab */ || ch === 11 /* verticalTab */ || ch === 12 /* formFeed */ || ch === 160 /* nonBreakingSpace */ || ch === 133 /* nextLine */ || ch === 5760 /* ogham */ || ch >= 8192 /* enQuad */ && ch <= 8203 /* zeroWidthSpace */ || ch === 8239 /* narrowNoBreakSpace */ || ch === 8287 /* mathematicalSpace */ || ch === 12288 /* ideographicSpace */ || ch === 65279 /* byteOrderMark */;\n}\nfunction isLineBreak(ch) {\n  return ch === 10 /* lineFeed */ || ch === 13 /* carriageReturn */ || ch === 8232 /* lineSeparator */ || ch === 8233 /* paragraphSeparator */;\n}\nfunction isDigit(ch) {\n  return ch >= 48 /* _0 */ && ch <= 57 /* _9 */;\n}\nfunction isHexDigit(ch) {\n  return isDigit(ch) || ch >= 65 /* A */ && ch <= 70 /* F */ || ch >= 97 /* a */ && ch <= 102 /* f */;\n}\nfunction isCodePoint(code) {\n  return code <= 1114111;\n}\nfunction isOctalDigit(ch) {\n  return ch >= 48 /* _0 */ && ch <= 55 /* _7 */;\n}\nfunction couldStartTrivia(text, pos) {\n  const ch = text.charCodeAt(pos);\n  switch (ch) {\n    case 13 /* carriageReturn */:\n    case 10 /* lineFeed */:\n    case 9 /* tab */:\n    case 11 /* verticalTab */:\n    case 12 /* formFeed */:\n    case 32 /* space */:\n    case 47 /* slash */:\n    case 60 /* lessThan */:\n    case 124 /* bar */:\n    case 61 /* equals */:\n    case 62 /* greaterThan */:\n      return true;\n    case 35 /* hash */:\n      return pos === 0;\n    default:\n      return ch > 127 /* maxAsciiCharacter */;\n  }\n}\nfunction skipTrivia(text, pos, stopAfterLineBreak, stopAtComments, inJSDoc) {\n  if (positionIsSynthesized(pos)) {\n    return pos;\n  }\n  let canConsumeStar = false;\n  while (true) {\n    const ch = text.charCodeAt(pos);\n    switch (ch) {\n      case 13 /* carriageReturn */:\n        if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) {\n          pos++;\n        }\n      case 10 /* lineFeed */:\n        pos++;\n        if (stopAfterLineBreak) {\n          return pos;\n        }\n        canConsumeStar = !!inJSDoc;\n        continue;\n      case 9 /* tab */:\n      case 11 /* verticalTab */:\n      case 12 /* formFeed */:\n      case 32 /* space */:\n        pos++;\n        continue;\n      case 47 /* slash */:\n        if (stopAtComments) {\n          break;\n        }\n        if (text.charCodeAt(pos + 1) === 47 /* slash */) {\n          pos += 2;\n          while (pos < text.length) {\n            if (isLineBreak(text.charCodeAt(pos))) {\n              break;\n            }\n            pos++;\n          }\n          canConsumeStar = false;\n          continue;\n        }\n        if (text.charCodeAt(pos + 1) === 42 /* asterisk */) {\n          pos += 2;\n          while (pos < text.length) {\n            if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) {\n              pos += 2;\n              break;\n            }\n            pos++;\n          }\n          canConsumeStar = false;\n          continue;\n        }\n        break;\n      case 60 /* lessThan */:\n      case 124 /* bar */:\n      case 61 /* equals */:\n      case 62 /* greaterThan */:\n        if (isConflictMarkerTrivia(text, pos)) {\n          pos = scanConflictMarkerTrivia(text, pos);\n          canConsumeStar = false;\n          continue;\n        }\n        break;\n      case 35 /* hash */:\n        if (pos === 0 && isShebangTrivia(text, pos)) {\n          pos = scanShebangTrivia(text, pos);\n          canConsumeStar = false;\n          continue;\n        }\n        break;\n      case 42 /* asterisk */:\n        if (canConsumeStar) {\n          pos++;\n          canConsumeStar = false;\n          continue;\n        }\n        break;\n      default:\n        if (ch > 127 /* maxAsciiCharacter */ && isWhiteSpaceLike(ch)) {\n          pos++;\n          continue;\n        }\n        break;\n    }\n    return pos;\n  }\n}\nvar mergeConflictMarkerLength = \"<<<<<<<\".length;\nfunction isConflictMarkerTrivia(text, pos) {\n  Debug.assert(pos >= 0);\n  if (pos === 0 || isLineBreak(text.charCodeAt(pos - 1))) {\n    const ch = text.charCodeAt(pos);\n    if (pos + mergeConflictMarkerLength < text.length) {\n      for (let i = 0; i < mergeConflictMarkerLength; i++) {\n        if (text.charCodeAt(pos + i) !== ch) {\n          return false;\n        }\n      }\n      return ch === 61 /* equals */ || text.charCodeAt(pos + mergeConflictMarkerLength) === 32 /* space */;\n    }\n  }\n  return false;\n}\nfunction scanConflictMarkerTrivia(text, pos, error) {\n  if (error) {\n    error(Diagnostics.Merge_conflict_marker_encountered, pos, mergeConflictMarkerLength);\n  }\n  const ch = text.charCodeAt(pos);\n  const len = text.length;\n  if (ch === 60 /* lessThan */ || ch === 62 /* greaterThan */) {\n    while (pos < len && !isLineBreak(text.charCodeAt(pos))) {\n      pos++;\n    }\n  } else {\n    Debug.assert(ch === 124 /* bar */ || ch === 61 /* equals */);\n    while (pos < len) {\n      const currentChar = text.charCodeAt(pos);\n      if ((currentChar === 61 /* equals */ || currentChar === 62 /* greaterThan */) && currentChar !== ch && isConflictMarkerTrivia(text, pos)) {\n        break;\n      }\n      pos++;\n    }\n  }\n  return pos;\n}\nvar shebangTriviaRegex = /^#!.*/;\nfunction isShebangTrivia(text, pos) {\n  Debug.assert(pos === 0);\n  return shebangTriviaRegex.test(text);\n}\nfunction scanShebangTrivia(text, pos) {\n  const shebang = shebangTriviaRegex.exec(text)[0];\n  pos = pos + shebang.length;\n  return pos;\n}\nfunction iterateCommentRanges(reduce, text, pos, trailing, cb, state, initial) {\n  let pendingPos;\n  let pendingEnd;\n  let pendingKind;\n  let pendingHasTrailingNewLine;\n  let hasPendingCommentRange = false;\n  let collecting = trailing;\n  let accumulator = initial;\n  if (pos === 0) {\n    collecting = true;\n    const shebang = getShebang(text);\n    if (shebang) {\n      pos = shebang.length;\n    }\n  }\n  scan:\n    while (pos >= 0 && pos < text.length) {\n      const ch = text.charCodeAt(pos);\n      switch (ch) {\n        case 13 /* carriageReturn */:\n          if (text.charCodeAt(pos + 1) === 10 /* lineFeed */) {\n            pos++;\n          }\n        case 10 /* lineFeed */:\n          pos++;\n          if (trailing) {\n            break scan;\n          }\n          collecting = true;\n          if (hasPendingCommentRange) {\n            pendingHasTrailingNewLine = true;\n          }\n          continue;\n        case 9 /* tab */:\n        case 11 /* verticalTab */:\n        case 12 /* formFeed */:\n        case 32 /* space */:\n          pos++;\n          continue;\n        case 47 /* slash */:\n          const nextChar = text.charCodeAt(pos + 1);\n          let hasTrailingNewLine = false;\n          if (nextChar === 47 /* slash */ || nextChar === 42 /* asterisk */) {\n            const kind = nextChar === 47 /* slash */ ? 2 /* SingleLineCommentTrivia */ : 3 /* MultiLineCommentTrivia */;\n            const startPos = pos;\n            pos += 2;\n            if (nextChar === 47 /* slash */) {\n              while (pos < text.length) {\n                if (isLineBreak(text.charCodeAt(pos))) {\n                  hasTrailingNewLine = true;\n                  break;\n                }\n                pos++;\n              }\n            } else {\n              while (pos < text.length) {\n                if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) {\n                  pos += 2;\n                  break;\n                }\n                pos++;\n              }\n            }\n            if (collecting) {\n              if (hasPendingCommentRange) {\n                accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator);\n                if (!reduce && accumulator) {\n                  return accumulator;\n                }\n              }\n              pendingPos = startPos;\n              pendingEnd = pos;\n              pendingKind = kind;\n              pendingHasTrailingNewLine = hasTrailingNewLine;\n              hasPendingCommentRange = true;\n            }\n            continue;\n          }\n          break scan;\n        default:\n          if (ch > 127 /* maxAsciiCharacter */ && isWhiteSpaceLike(ch)) {\n            if (hasPendingCommentRange && isLineBreak(ch)) {\n              pendingHasTrailingNewLine = true;\n            }\n            pos++;\n            continue;\n          }\n          break scan;\n      }\n    }\n  if (hasPendingCommentRange) {\n    accumulator = cb(pendingPos, pendingEnd, pendingKind, pendingHasTrailingNewLine, state, accumulator);\n  }\n  return accumulator;\n}\nfunction forEachLeadingCommentRange(text, pos, cb, state) {\n  return iterateCommentRanges(false, text, pos, false, cb, state);\n}\nfunction forEachTrailingCommentRange(text, pos, cb, state) {\n  return iterateCommentRanges(false, text, pos, true, cb, state);\n}\nfunction reduceEachLeadingCommentRange(text, pos, cb, state, initial) {\n  return iterateCommentRanges(true, text, pos, false, cb, state, initial);\n}\nfunction reduceEachTrailingCommentRange(text, pos, cb, state, initial) {\n  return iterateCommentRanges(true, text, pos, true, cb, state, initial);\n}\nfunction appendCommentRange(pos, end, kind, hasTrailingNewLine, _state, comments) {\n  if (!comments) {\n    comments = [];\n  }\n  comments.push({ kind, pos, end, hasTrailingNewLine });\n  return comments;\n}\nfunction getLeadingCommentRanges(text, pos) {\n  return reduceEachLeadingCommentRange(text, pos, appendCommentRange, void 0, void 0);\n}\nfunction getTrailingCommentRanges(text, pos) {\n  return reduceEachTrailingCommentRange(text, pos, appendCommentRange, void 0, void 0);\n}\nfunction getShebang(text) {\n  const match = shebangTriviaRegex.exec(text);\n  if (match) {\n    return match[0];\n  }\n}\nfunction isIdentifierStart(ch, languageVersion) {\n  return ch >= 65 /* A */ && ch <= 90 /* Z */ || ch >= 97 /* a */ && ch <= 122 /* z */ || ch === 36 /* $ */ || ch === 95 /* _ */ || ch > 127 /* maxAsciiCharacter */ && isUnicodeIdentifierStart(ch, languageVersion);\n}\nfunction isIdentifierPart(ch, languageVersion, identifierVariant) {\n  return ch >= 65 /* A */ && ch <= 90 /* Z */ || ch >= 97 /* a */ && ch <= 122 /* z */ || ch >= 48 /* _0 */ && ch <= 57 /* _9 */ || ch === 36 /* $ */ || ch === 95 /* _ */ || (identifierVariant === 1 /* JSX */ ? ch === 45 /* minus */ || ch === 58 /* colon */ : false) || ch > 127 /* maxAsciiCharacter */ && isUnicodeIdentifierPart(ch, languageVersion);\n}\nfunction isIdentifierText(name, languageVersion, identifierVariant) {\n  let ch = codePointAt(name, 0);\n  if (!isIdentifierStart(ch, languageVersion)) {\n    return false;\n  }\n  for (let i = charSize(ch); i < name.length; i += charSize(ch)) {\n    if (!isIdentifierPart(ch = codePointAt(name, i), languageVersion, identifierVariant)) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Standard */, textInitial, onError, start, length2) {\n  var text = textInitial;\n  var pos;\n  var end;\n  var startPos;\n  var tokenPos;\n  var token;\n  var tokenValue;\n  var tokenFlags;\n  var commentDirectives;\n  var inJSDocType = 0;\n  var inEtsContext = false;\n  setText(text, start, length2);\n  var scanner2 = {\n    getStartPos: () => startPos,\n    getTextPos: () => pos,\n    getToken: () => token,\n    getTokenPos: () => tokenPos,\n    getTokenText: () => text.substring(tokenPos, pos),\n    getTokenValue: () => tokenValue,\n    hasUnicodeEscape: () => (tokenFlags & 1024 /* UnicodeEscape */) !== 0,\n    hasExtendedUnicodeEscape: () => (tokenFlags & 8 /* ExtendedUnicodeEscape */) !== 0,\n    hasPrecedingLineBreak: () => (tokenFlags & 1 /* PrecedingLineBreak */) !== 0,\n    hasPrecedingJSDocComment: () => (tokenFlags & 2 /* PrecedingJSDocComment */) !== 0,\n    isIdentifier: () => token === 79 /* Identifier */ || token > 117 /* LastReservedWord */,\n    isReservedWord: () => token >= 81 /* FirstReservedWord */ && token <= 117 /* LastReservedWord */,\n    isUnterminated: () => (tokenFlags & 4 /* Unterminated */) !== 0,\n    getCommentDirectives: () => commentDirectives,\n    getNumericLiteralFlags: () => tokenFlags & 1008 /* NumericLiteralFlags */,\n    getTokenFlags: () => tokenFlags,\n    reScanGreaterToken,\n    reScanAsteriskEqualsToken,\n    reScanSlashToken,\n    reScanTemplateToken,\n    reScanTemplateHeadOrNoSubstitutionTemplate,\n    scanJsxIdentifier,\n    scanJsxAttributeValue,\n    reScanJsxAttributeValue,\n    reScanJsxToken,\n    reScanLessThanToken,\n    reScanHashToken,\n    reScanQuestionToken,\n    reScanInvalidIdentifier,\n    scanJsxToken,\n    scanJsDocToken,\n    scan,\n    getText,\n    clearCommentDirectives,\n    setText,\n    setScriptTarget,\n    setLanguageVariant,\n    setOnError,\n    setTextPos,\n    setInJSDocType,\n    tryScan,\n    lookAhead,\n    scanRange,\n    setEtsContext\n  };\n  if (Debug.isDebugging) {\n    Object.defineProperty(scanner2, \"__debugShowCurrentPositionInText\", {\n      get: () => {\n        const text2 = scanner2.getText();\n        return text2.slice(0, scanner2.getStartPos()) + \"\\u2551\" + text2.slice(scanner2.getStartPos());\n      }\n    });\n  }\n  return scanner2;\n  function setEtsContext(isEtsContext) {\n    inEtsContext = isEtsContext;\n  }\n  function error(message, errPos = pos, length3) {\n    if (onError) {\n      const oldPos = pos;\n      pos = errPos;\n      onError(message, length3 || 0);\n      pos = oldPos;\n    }\n  }\n  function scanNumberFragment() {\n    let start2 = pos;\n    let allowSeparator = false;\n    let isPreviousTokenSeparator = false;\n    let result = \"\";\n    while (true) {\n      const ch = text.charCodeAt(pos);\n      if (ch === 95 /* _ */) {\n        tokenFlags |= 512 /* ContainsSeparator */;\n        if (allowSeparator) {\n          allowSeparator = false;\n          isPreviousTokenSeparator = true;\n          result += text.substring(start2, pos);\n        } else if (isPreviousTokenSeparator) {\n          error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1);\n        } else {\n          error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1);\n        }\n        pos++;\n        start2 = pos;\n        continue;\n      }\n      if (isDigit(ch)) {\n        allowSeparator = true;\n        isPreviousTokenSeparator = false;\n        pos++;\n        continue;\n      }\n      break;\n    }\n    if (text.charCodeAt(pos - 1) === 95 /* _ */) {\n      error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1);\n    }\n    return result + text.substring(start2, pos);\n  }\n  function scanNumber() {\n    const start2 = pos;\n    const mainFragment = scanNumberFragment();\n    let decimalFragment;\n    let scientificFragment;\n    if (text.charCodeAt(pos) === 46 /* dot */) {\n      pos++;\n      decimalFragment = scanNumberFragment();\n    }\n    let end2 = pos;\n    if (text.charCodeAt(pos) === 69 /* E */ || text.charCodeAt(pos) === 101 /* e */) {\n      pos++;\n      tokenFlags |= 16 /* Scientific */;\n      if (text.charCodeAt(pos) === 43 /* plus */ || text.charCodeAt(pos) === 45 /* minus */)\n        pos++;\n      const preNumericPart = pos;\n      const finalFragment = scanNumberFragment();\n      if (!finalFragment) {\n        error(Diagnostics.Digit_expected);\n      } else {\n        scientificFragment = text.substring(end2, preNumericPart) + finalFragment;\n        end2 = pos;\n      }\n    }\n    let result;\n    if (tokenFlags & 512 /* ContainsSeparator */) {\n      result = mainFragment;\n      if (decimalFragment) {\n        result += \".\" + decimalFragment;\n      }\n      if (scientificFragment) {\n        result += scientificFragment;\n      }\n    } else {\n      result = text.substring(start2, end2);\n    }\n    if (decimalFragment !== void 0 || tokenFlags & 16 /* Scientific */) {\n      checkForIdentifierStartAfterNumericLiteral(start2, decimalFragment === void 0 && !!(tokenFlags & 16 /* Scientific */));\n      return {\n        type: 8 /* NumericLiteral */,\n        value: \"\" + +result\n      };\n    } else {\n      tokenValue = result;\n      const type = checkBigIntSuffix();\n      checkForIdentifierStartAfterNumericLiteral(start2);\n      return { type, value: tokenValue };\n    }\n  }\n  function checkForIdentifierStartAfterNumericLiteral(numericStart, isScientific) {\n    if (!isIdentifierStart(codePointAt(text, pos), languageVersion)) {\n      return;\n    }\n    const identifierStart = pos;\n    const { length: length3 } = scanIdentifierParts();\n    if (length3 === 1 && text[identifierStart] === \"n\") {\n      if (isScientific) {\n        error(Diagnostics.A_bigint_literal_cannot_use_exponential_notation, numericStart, identifierStart - numericStart + 1);\n      } else {\n        error(Diagnostics.A_bigint_literal_must_be_an_integer, numericStart, identifierStart - numericStart + 1);\n      }\n    } else {\n      error(Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal, identifierStart, length3);\n      pos = identifierStart;\n    }\n  }\n  function scanOctalDigits() {\n    const start2 = pos;\n    while (isOctalDigit(text.charCodeAt(pos))) {\n      pos++;\n    }\n    return +text.substring(start2, pos);\n  }\n  function scanExactNumberOfHexDigits(count, canHaveSeparators) {\n    const valueString = scanHexDigits(count, false, canHaveSeparators);\n    return valueString ? parseInt(valueString, 16) : -1;\n  }\n  function scanMinimumNumberOfHexDigits(count, canHaveSeparators) {\n    return scanHexDigits(count, true, canHaveSeparators);\n  }\n  function scanHexDigits(minCount, scanAsManyAsPossible, canHaveSeparators) {\n    let valueChars = [];\n    let allowSeparator = false;\n    let isPreviousTokenSeparator = false;\n    while (valueChars.length < minCount || scanAsManyAsPossible) {\n      let ch = text.charCodeAt(pos);\n      if (canHaveSeparators && ch === 95 /* _ */) {\n        tokenFlags |= 512 /* ContainsSeparator */;\n        if (allowSeparator) {\n          allowSeparator = false;\n          isPreviousTokenSeparator = true;\n        } else if (isPreviousTokenSeparator) {\n          error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1);\n        } else {\n          error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1);\n        }\n        pos++;\n        continue;\n      }\n      allowSeparator = canHaveSeparators;\n      if (ch >= 65 /* A */ && ch <= 70 /* F */) {\n        ch += 97 /* a */ - 65 /* A */;\n      } else if (!(ch >= 48 /* _0 */ && ch <= 57 /* _9 */ || ch >= 97 /* a */ && ch <= 102 /* f */)) {\n        break;\n      }\n      valueChars.push(ch);\n      pos++;\n      isPreviousTokenSeparator = false;\n    }\n    if (valueChars.length < minCount) {\n      valueChars = [];\n    }\n    if (text.charCodeAt(pos - 1) === 95 /* _ */) {\n      error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1);\n    }\n    return String.fromCharCode(...valueChars);\n  }\n  function scanString(jsxAttributeString = false) {\n    const quote2 = text.charCodeAt(pos);\n    pos++;\n    let result = \"\";\n    let start2 = pos;\n    while (true) {\n      if (pos >= end) {\n        result += text.substring(start2, pos);\n        tokenFlags |= 4 /* Unterminated */;\n        error(Diagnostics.Unterminated_string_literal);\n        break;\n      }\n      const ch = text.charCodeAt(pos);\n      if (ch === quote2) {\n        result += text.substring(start2, pos);\n        pos++;\n        break;\n      }\n      if (ch === 92 /* backslash */ && !jsxAttributeString) {\n        result += text.substring(start2, pos);\n        result += scanEscapeSequence();\n        start2 = pos;\n        continue;\n      }\n      if (isLineBreak(ch) && !jsxAttributeString) {\n        result += text.substring(start2, pos);\n        tokenFlags |= 4 /* Unterminated */;\n        error(Diagnostics.Unterminated_string_literal);\n        break;\n      }\n      pos++;\n    }\n    return result;\n  }\n  function scanTemplateAndSetTokenValue(isTaggedTemplate) {\n    const startedWithBacktick = text.charCodeAt(pos) === 96 /* backtick */;\n    pos++;\n    let start2 = pos;\n    let contents = \"\";\n    let resultingToken;\n    while (true) {\n      if (pos >= end) {\n        contents += text.substring(start2, pos);\n        tokenFlags |= 4 /* Unterminated */;\n        error(Diagnostics.Unterminated_template_literal);\n        resultingToken = startedWithBacktick ? 14 /* NoSubstitutionTemplateLiteral */ : 17 /* TemplateTail */;\n        break;\n      }\n      const currChar = text.charCodeAt(pos);\n      if (currChar === 96 /* backtick */) {\n        contents += text.substring(start2, pos);\n        pos++;\n        resultingToken = startedWithBacktick ? 14 /* NoSubstitutionTemplateLiteral */ : 17 /* TemplateTail */;\n        break;\n      }\n      if (currChar === 36 /* $ */ && pos + 1 < end && text.charCodeAt(pos + 1) === 123 /* openBrace */) {\n        contents += text.substring(start2, pos);\n        pos += 2;\n        resultingToken = startedWithBacktick ? 15 /* TemplateHead */ : 16 /* TemplateMiddle */;\n        break;\n      }\n      if (currChar === 92 /* backslash */) {\n        contents += text.substring(start2, pos);\n        contents += scanEscapeSequence(isTaggedTemplate);\n        start2 = pos;\n        continue;\n      }\n      if (currChar === 13 /* carriageReturn */) {\n        contents += text.substring(start2, pos);\n        pos++;\n        if (pos < end && text.charCodeAt(pos) === 10 /* lineFeed */) {\n          pos++;\n        }\n        contents += \"\\n\";\n        start2 = pos;\n        continue;\n      }\n      pos++;\n    }\n    Debug.assert(resultingToken !== void 0);\n    tokenValue = contents;\n    return resultingToken;\n  }\n  function scanEscapeSequence(isTaggedTemplate) {\n    const start2 = pos;\n    pos++;\n    if (pos >= end) {\n      error(Diagnostics.Unexpected_end_of_text);\n      return \"\";\n    }\n    const ch = text.charCodeAt(pos);\n    pos++;\n    switch (ch) {\n      case 48 /* _0 */:\n        if (isTaggedTemplate && pos < end && isDigit(text.charCodeAt(pos))) {\n          pos++;\n          tokenFlags |= 2048 /* ContainsInvalidEscape */;\n          return text.substring(start2, pos);\n        }\n        return \"\\0\";\n      case 98 /* b */:\n        return \"\\b\";\n      case 116 /* t */:\n        return \"\t\";\n      case 110 /* n */:\n        return \"\\n\";\n      case 118 /* v */:\n        return \"\\v\";\n      case 102 /* f */:\n        return \"\\f\";\n      case 114 /* r */:\n        return \"\\r\";\n      case 39 /* singleQuote */:\n        return \"'\";\n      case 34 /* doubleQuote */:\n        return '\"';\n      case 117 /* u */:\n        if (isTaggedTemplate) {\n          for (let escapePos = pos; escapePos < pos + 4; escapePos++) {\n            if (escapePos < end && !isHexDigit(text.charCodeAt(escapePos)) && text.charCodeAt(escapePos) !== 123 /* openBrace */) {\n              pos = escapePos;\n              tokenFlags |= 2048 /* ContainsInvalidEscape */;\n              return text.substring(start2, pos);\n            }\n          }\n        }\n        if (pos < end && text.charCodeAt(pos) === 123 /* openBrace */) {\n          pos++;\n          if (isTaggedTemplate && !isHexDigit(text.charCodeAt(pos))) {\n            tokenFlags |= 2048 /* ContainsInvalidEscape */;\n            return text.substring(start2, pos);\n          }\n          if (isTaggedTemplate) {\n            const savePos = pos;\n            const escapedValueString = scanMinimumNumberOfHexDigits(1, false);\n            const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1;\n            if (!isCodePoint(escapedValue) || text.charCodeAt(pos) !== 125 /* closeBrace */) {\n              tokenFlags |= 2048 /* ContainsInvalidEscape */;\n              return text.substring(start2, pos);\n            } else {\n              pos = savePos;\n            }\n          }\n          tokenFlags |= 8 /* ExtendedUnicodeEscape */;\n          return scanExtendedUnicodeEscape();\n        }\n        tokenFlags |= 1024 /* UnicodeEscape */;\n        return scanHexadecimalEscape(4);\n      case 120 /* x */:\n        if (isTaggedTemplate) {\n          if (!isHexDigit(text.charCodeAt(pos))) {\n            tokenFlags |= 2048 /* ContainsInvalidEscape */;\n            return text.substring(start2, pos);\n          } else if (!isHexDigit(text.charCodeAt(pos + 1))) {\n            pos++;\n            tokenFlags |= 2048 /* ContainsInvalidEscape */;\n            return text.substring(start2, pos);\n          }\n        }\n        return scanHexadecimalEscape(2);\n      case 13 /* carriageReturn */:\n        if (pos < end && text.charCodeAt(pos) === 10 /* lineFeed */) {\n          pos++;\n        }\n      case 10 /* lineFeed */:\n      case 8232 /* lineSeparator */:\n      case 8233 /* paragraphSeparator */:\n        return \"\";\n      default:\n        return String.fromCharCode(ch);\n    }\n  }\n  function scanHexadecimalEscape(numDigits) {\n    const escapedValue = scanExactNumberOfHexDigits(numDigits, false);\n    if (escapedValue >= 0) {\n      return String.fromCharCode(escapedValue);\n    } else {\n      error(Diagnostics.Hexadecimal_digit_expected);\n      return \"\";\n    }\n  }\n  function scanExtendedUnicodeEscape() {\n    const escapedValueString = scanMinimumNumberOfHexDigits(1, false);\n    const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1;\n    let isInvalidExtendedEscape = false;\n    if (escapedValue < 0) {\n      error(Diagnostics.Hexadecimal_digit_expected);\n      isInvalidExtendedEscape = true;\n    } else if (escapedValue > 1114111) {\n      error(Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);\n      isInvalidExtendedEscape = true;\n    }\n    if (pos >= end) {\n      error(Diagnostics.Unexpected_end_of_text);\n      isInvalidExtendedEscape = true;\n    } else if (text.charCodeAt(pos) === 125 /* closeBrace */) {\n      pos++;\n    } else {\n      error(Diagnostics.Unterminated_Unicode_escape_sequence);\n      isInvalidExtendedEscape = true;\n    }\n    if (isInvalidExtendedEscape) {\n      return \"\";\n    }\n    return utf16EncodeAsString(escapedValue);\n  }\n  function peekUnicodeEscape() {\n    if (pos + 5 < end && text.charCodeAt(pos + 1) === 117 /* u */) {\n      const start2 = pos;\n      pos += 2;\n      const value = scanExactNumberOfHexDigits(4, false);\n      pos = start2;\n      return value;\n    }\n    return -1;\n  }\n  function peekExtendedUnicodeEscape() {\n    if (codePointAt(text, pos + 1) === 117 /* u */ && codePointAt(text, pos + 2) === 123 /* openBrace */) {\n      const start2 = pos;\n      pos += 3;\n      const escapedValueString = scanMinimumNumberOfHexDigits(1, false);\n      const escapedValue = escapedValueString ? parseInt(escapedValueString, 16) : -1;\n      pos = start2;\n      return escapedValue;\n    }\n    return -1;\n  }\n  function scanIdentifierParts() {\n    let result = \"\";\n    let start2 = pos;\n    while (pos < end) {\n      let ch = codePointAt(text, pos);\n      if (isIdentifierPart(ch, languageVersion)) {\n        pos += charSize(ch);\n      } else if (ch === 92 /* backslash */) {\n        ch = peekExtendedUnicodeEscape();\n        if (ch >= 0 && isIdentifierPart(ch, languageVersion)) {\n          pos += 3;\n          tokenFlags |= 8 /* ExtendedUnicodeEscape */;\n          result += scanExtendedUnicodeEscape();\n          start2 = pos;\n          continue;\n        }\n        ch = peekUnicodeEscape();\n        if (!(ch >= 0 && isIdentifierPart(ch, languageVersion))) {\n          break;\n        }\n        tokenFlags |= 1024 /* UnicodeEscape */;\n        result += text.substring(start2, pos);\n        result += utf16EncodeAsString(ch);\n        pos += 6;\n        start2 = pos;\n      } else {\n        break;\n      }\n    }\n    result += text.substring(start2, pos);\n    return result;\n  }\n  function getIdentifierToken() {\n    const len = tokenValue.length;\n    if (len >= 2 && len <= 12) {\n      const ch = tokenValue.charCodeAt(0);\n      if (ch >= 97 /* a */ && ch <= 122 /* z */) {\n        const keyword = textToKeyword.get(tokenValue);\n        if (keyword !== void 0) {\n          token = keyword;\n          if (keyword === 85 /* StructKeyword */ && !inEtsContext) {\n            token = 79 /* Identifier */;\n          }\n          return token;\n        }\n      }\n    }\n    return token = 79 /* Identifier */;\n  }\n  function scanBinaryOrOctalDigits(base) {\n    let value = \"\";\n    let separatorAllowed = false;\n    let isPreviousTokenSeparator = false;\n    while (true) {\n      const ch = text.charCodeAt(pos);\n      if (ch === 95 /* _ */) {\n        tokenFlags |= 512 /* ContainsSeparator */;\n        if (separatorAllowed) {\n          separatorAllowed = false;\n          isPreviousTokenSeparator = true;\n        } else if (isPreviousTokenSeparator) {\n          error(Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted, pos, 1);\n        } else {\n          error(Diagnostics.Numeric_separators_are_not_allowed_here, pos, 1);\n        }\n        pos++;\n        continue;\n      }\n      separatorAllowed = true;\n      if (!isDigit(ch) || ch - 48 /* _0 */ >= base) {\n        break;\n      }\n      value += text[pos];\n      pos++;\n      isPreviousTokenSeparator = false;\n    }\n    if (text.charCodeAt(pos - 1) === 95 /* _ */) {\n      error(Diagnostics.Numeric_separators_are_not_allowed_here, pos - 1, 1);\n    }\n    return value;\n  }\n  function checkBigIntSuffix() {\n    if (text.charCodeAt(pos) === 110 /* n */) {\n      tokenValue += \"n\";\n      if (tokenFlags & 384 /* BinaryOrOctalSpecifier */) {\n        tokenValue = parsePseudoBigInt(tokenValue) + \"n\";\n      }\n      pos++;\n      return 9 /* BigIntLiteral */;\n    } else {\n      const numericValue = tokenFlags & 128 /* BinarySpecifier */ ? parseInt(tokenValue.slice(2), 2) : tokenFlags & 256 /* OctalSpecifier */ ? parseInt(tokenValue.slice(2), 8) : +tokenValue;\n      tokenValue = \"\" + numericValue;\n      return 8 /* NumericLiteral */;\n    }\n  }\n  function scan() {\n    startPos = pos;\n    tokenFlags = 0 /* None */;\n    let asteriskSeen = false;\n    while (true) {\n      tokenPos = pos;\n      if (pos >= end) {\n        return token = 1 /* EndOfFileToken */;\n      }\n      const ch = codePointAt(text, pos);\n      if (ch === 35 /* hash */ && pos === 0 && isShebangTrivia(text, pos)) {\n        pos = scanShebangTrivia(text, pos);\n        if (skipTrivia2) {\n          continue;\n        } else {\n          return token = 6 /* ShebangTrivia */;\n        }\n      }\n      switch (ch) {\n        case 10 /* lineFeed */:\n        case 13 /* carriageReturn */:\n          tokenFlags |= 1 /* PrecedingLineBreak */;\n          if (skipTrivia2) {\n            pos++;\n            continue;\n          } else {\n            if (ch === 13 /* carriageReturn */ && pos + 1 < end && text.charCodeAt(pos + 1) === 10 /* lineFeed */) {\n              pos += 2;\n            } else {\n              pos++;\n            }\n            return token = 4 /* NewLineTrivia */;\n          }\n        case 9 /* tab */:\n        case 11 /* verticalTab */:\n        case 12 /* formFeed */:\n        case 32 /* space */:\n        case 160 /* nonBreakingSpace */:\n        case 5760 /* ogham */:\n        case 8192 /* enQuad */:\n        case 8193 /* emQuad */:\n        case 8194 /* enSpace */:\n        case 8195 /* emSpace */:\n        case 8196 /* threePerEmSpace */:\n        case 8197 /* fourPerEmSpace */:\n        case 8198 /* sixPerEmSpace */:\n        case 8199 /* figureSpace */:\n        case 8200 /* punctuationSpace */:\n        case 8201 /* thinSpace */:\n        case 8202 /* hairSpace */:\n        case 8203 /* zeroWidthSpace */:\n        case 8239 /* narrowNoBreakSpace */:\n        case 8287 /* mathematicalSpace */:\n        case 12288 /* ideographicSpace */:\n        case 65279 /* byteOrderMark */:\n          if (skipTrivia2) {\n            pos++;\n            continue;\n          } else {\n            while (pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos))) {\n              pos++;\n            }\n            return token = 5 /* WhitespaceTrivia */;\n          }\n        case 33 /* exclamation */:\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 37 /* ExclamationEqualsEqualsToken */;\n            }\n            return pos += 2, token = 35 /* ExclamationEqualsToken */;\n          }\n          pos++;\n          return token = 53 /* ExclamationToken */;\n        case 34 /* doubleQuote */:\n        case 39 /* singleQuote */:\n          tokenValue = scanString();\n          return token = 10 /* StringLiteral */;\n        case 96 /* backtick */:\n          return token = scanTemplateAndSetTokenValue(false);\n        case 37 /* percent */:\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 69 /* PercentEqualsToken */;\n          }\n          pos++;\n          return token = 44 /* PercentToken */;\n        case 38 /* ampersand */:\n          if (text.charCodeAt(pos + 1) === 38 /* ampersand */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 76 /* AmpersandAmpersandEqualsToken */;\n            }\n            return pos += 2, token = 55 /* AmpersandAmpersandToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 73 /* AmpersandEqualsToken */;\n          }\n          pos++;\n          return token = 50 /* AmpersandToken */;\n        case 40 /* openParen */:\n          pos++;\n          return token = 20 /* OpenParenToken */;\n        case 41 /* closeParen */:\n          pos++;\n          return token = 21 /* CloseParenToken */;\n        case 42 /* asterisk */:\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 66 /* AsteriskEqualsToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 42 /* asterisk */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 67 /* AsteriskAsteriskEqualsToken */;\n            }\n            return pos += 2, token = 42 /* AsteriskAsteriskToken */;\n          }\n          pos++;\n          if (inJSDocType && !asteriskSeen && tokenFlags & 1 /* PrecedingLineBreak */) {\n            asteriskSeen = true;\n            continue;\n          }\n          return token = 41 /* AsteriskToken */;\n        case 43 /* plus */:\n          if (text.charCodeAt(pos + 1) === 43 /* plus */) {\n            return pos += 2, token = 45 /* PlusPlusToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 64 /* PlusEqualsToken */;\n          }\n          pos++;\n          return token = 39 /* PlusToken */;\n        case 44 /* comma */:\n          pos++;\n          return token = 27 /* CommaToken */;\n        case 45 /* minus */:\n          if (text.charCodeAt(pos + 1) === 45 /* minus */) {\n            return pos += 2, token = 46 /* MinusMinusToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 65 /* MinusEqualsToken */;\n          }\n          pos++;\n          return token = 40 /* MinusToken */;\n        case 46 /* dot */:\n          if (isDigit(text.charCodeAt(pos + 1))) {\n            tokenValue = scanNumber().value;\n            return token = 8 /* NumericLiteral */;\n          }\n          if (text.charCodeAt(pos + 1) === 46 /* dot */ && text.charCodeAt(pos + 2) === 46 /* dot */) {\n            return pos += 3, token = 25 /* DotDotDotToken */;\n          }\n          pos++;\n          return token = 24 /* DotToken */;\n        case 47 /* slash */:\n          if (text.charCodeAt(pos + 1) === 47 /* slash */) {\n            pos += 2;\n            while (pos < end) {\n              if (isLineBreak(text.charCodeAt(pos))) {\n                break;\n              }\n              pos++;\n            }\n            commentDirectives = appendIfCommentDirective(\n              commentDirectives,\n              text.slice(tokenPos, pos),\n              commentDirectiveRegExSingleLine,\n              tokenPos\n            );\n            if (skipTrivia2) {\n              continue;\n            } else {\n              return token = 2 /* SingleLineCommentTrivia */;\n            }\n          }\n          if (text.charCodeAt(pos + 1) === 42 /* asterisk */) {\n            pos += 2;\n            if (text.charCodeAt(pos) === 42 /* asterisk */ && text.charCodeAt(pos + 1) !== 47 /* slash */) {\n              tokenFlags |= 2 /* PrecedingJSDocComment */;\n            }\n            let commentClosed = false;\n            let lastLineStart = tokenPos;\n            while (pos < end) {\n              const ch2 = text.charCodeAt(pos);\n              if (ch2 === 42 /* asterisk */ && text.charCodeAt(pos + 1) === 47 /* slash */) {\n                pos += 2;\n                commentClosed = true;\n                break;\n              }\n              pos++;\n              if (isLineBreak(ch2)) {\n                lastLineStart = pos;\n                tokenFlags |= 1 /* PrecedingLineBreak */;\n              }\n            }\n            commentDirectives = appendIfCommentDirective(commentDirectives, text.slice(lastLineStart, pos), commentDirectiveRegExMultiLine, lastLineStart);\n            if (!commentClosed) {\n              error(Diagnostics.Asterisk_Slash_expected);\n            }\n            if (skipTrivia2) {\n              continue;\n            } else {\n              if (!commentClosed) {\n                tokenFlags |= 4 /* Unterminated */;\n              }\n              return token = 3 /* MultiLineCommentTrivia */;\n            }\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 68 /* SlashEqualsToken */;\n          }\n          pos++;\n          return token = 43 /* SlashToken */;\n        case 48 /* _0 */:\n          if (pos + 2 < end && (text.charCodeAt(pos + 1) === 88 /* X */ || text.charCodeAt(pos + 1) === 120 /* x */)) {\n            pos += 2;\n            tokenValue = scanMinimumNumberOfHexDigits(1, true);\n            if (!tokenValue) {\n              error(Diagnostics.Hexadecimal_digit_expected);\n              tokenValue = \"0\";\n            }\n            tokenValue = \"0x\" + tokenValue;\n            tokenFlags |= 64 /* HexSpecifier */;\n            return token = checkBigIntSuffix();\n          } else if (pos + 2 < end && (text.charCodeAt(pos + 1) === 66 /* B */ || text.charCodeAt(pos + 1) === 98 /* b */)) {\n            pos += 2;\n            tokenValue = scanBinaryOrOctalDigits(2);\n            if (!tokenValue) {\n              error(Diagnostics.Binary_digit_expected);\n              tokenValue = \"0\";\n            }\n            tokenValue = \"0b\" + tokenValue;\n            tokenFlags |= 128 /* BinarySpecifier */;\n            return token = checkBigIntSuffix();\n          } else if (pos + 2 < end && (text.charCodeAt(pos + 1) === 79 /* O */ || text.charCodeAt(pos + 1) === 111 /* o */)) {\n            pos += 2;\n            tokenValue = scanBinaryOrOctalDigits(8);\n            if (!tokenValue) {\n              error(Diagnostics.Octal_digit_expected);\n              tokenValue = \"0\";\n            }\n            tokenValue = \"0o\" + tokenValue;\n            tokenFlags |= 256 /* OctalSpecifier */;\n            return token = checkBigIntSuffix();\n          }\n          if (pos + 1 < end && isOctalDigit(text.charCodeAt(pos + 1))) {\n            tokenValue = \"\" + scanOctalDigits();\n            tokenFlags |= 32 /* Octal */;\n            return token = 8 /* NumericLiteral */;\n          }\n        case 49 /* _1 */:\n        case 50 /* _2 */:\n        case 51 /* _3 */:\n        case 52 /* _4 */:\n        case 53 /* _5 */:\n        case 54 /* _6 */:\n        case 55 /* _7 */:\n        case 56 /* _8 */:\n        case 57 /* _9 */:\n          ({ type: token, value: tokenValue } = scanNumber());\n          return token;\n        case 58 /* colon */:\n          pos++;\n          return token = 58 /* ColonToken */;\n        case 59 /* semicolon */:\n          pos++;\n          return token = 26 /* SemicolonToken */;\n        case 60 /* lessThan */:\n          if (isConflictMarkerTrivia(text, pos)) {\n            pos = scanConflictMarkerTrivia(text, pos, error);\n            if (skipTrivia2) {\n              continue;\n            } else {\n              return token = 7 /* ConflictMarkerTrivia */;\n            }\n          }\n          if (text.charCodeAt(pos + 1) === 60 /* lessThan */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 70 /* LessThanLessThanEqualsToken */;\n            }\n            return pos += 2, token = 47 /* LessThanLessThanToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 32 /* LessThanEqualsToken */;\n          }\n          if (languageVariant === 1 /* JSX */ && text.charCodeAt(pos + 1) === 47 /* slash */ && text.charCodeAt(pos + 2) !== 42 /* asterisk */) {\n            return pos += 2, token = 30 /* LessThanSlashToken */;\n          }\n          pos++;\n          return token = 29 /* LessThanToken */;\n        case 61 /* equals */:\n          if (isConflictMarkerTrivia(text, pos)) {\n            pos = scanConflictMarkerTrivia(text, pos, error);\n            if (skipTrivia2) {\n              continue;\n            } else {\n              return token = 7 /* ConflictMarkerTrivia */;\n            }\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 36 /* EqualsEqualsEqualsToken */;\n            }\n            return pos += 2, token = 34 /* EqualsEqualsToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 62 /* greaterThan */) {\n            return pos += 2, token = 38 /* EqualsGreaterThanToken */;\n          }\n          pos++;\n          return token = 63 /* EqualsToken */;\n        case 62 /* greaterThan */:\n          if (isConflictMarkerTrivia(text, pos)) {\n            pos = scanConflictMarkerTrivia(text, pos, error);\n            if (skipTrivia2) {\n              continue;\n            } else {\n              return token = 7 /* ConflictMarkerTrivia */;\n            }\n          }\n          pos++;\n          return token = 31 /* GreaterThanToken */;\n        case 63 /* question */:\n          if (text.charCodeAt(pos + 1) === 46 /* dot */ && !isDigit(text.charCodeAt(pos + 2))) {\n            return pos += 2, token = 28 /* QuestionDotToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 63 /* question */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 77 /* QuestionQuestionEqualsToken */;\n            }\n            return pos += 2, token = 60 /* QuestionQuestionToken */;\n          }\n          pos++;\n          return token = 57 /* QuestionToken */;\n        case 91 /* openBracket */:\n          pos++;\n          return token = 22 /* OpenBracketToken */;\n        case 93 /* closeBracket */:\n          pos++;\n          return token = 23 /* CloseBracketToken */;\n        case 94 /* caret */:\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 78 /* CaretEqualsToken */;\n          }\n          pos++;\n          return token = 52 /* CaretToken */;\n        case 123 /* openBrace */:\n          pos++;\n          return token = 18 /* OpenBraceToken */;\n        case 124 /* bar */:\n          if (isConflictMarkerTrivia(text, pos)) {\n            pos = scanConflictMarkerTrivia(text, pos, error);\n            if (skipTrivia2) {\n              continue;\n            } else {\n              return token = 7 /* ConflictMarkerTrivia */;\n            }\n          }\n          if (text.charCodeAt(pos + 1) === 124 /* bar */) {\n            if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n              return pos += 3, token = 75 /* BarBarEqualsToken */;\n            }\n            return pos += 2, token = 56 /* BarBarToken */;\n          }\n          if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n            return pos += 2, token = 74 /* BarEqualsToken */;\n          }\n          pos++;\n          return token = 51 /* BarToken */;\n        case 125 /* closeBrace */:\n          pos++;\n          return token = 19 /* CloseBraceToken */;\n        case 126 /* tilde */:\n          pos++;\n          return token = 54 /* TildeToken */;\n        case 64 /* at */:\n          pos++;\n          return token = 59 /* AtToken */;\n        case 92 /* backslash */:\n          const extendedCookedChar = peekExtendedUnicodeEscape();\n          if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) {\n            pos += 3;\n            tokenFlags |= 8 /* ExtendedUnicodeEscape */;\n            tokenValue = scanExtendedUnicodeEscape() + scanIdentifierParts();\n            return token = getIdentifierToken();\n          }\n          const cookedChar = peekUnicodeEscape();\n          if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) {\n            pos += 6;\n            tokenFlags |= 1024 /* UnicodeEscape */;\n            tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts();\n            return token = getIdentifierToken();\n          }\n          error(Diagnostics.Invalid_character);\n          pos++;\n          return token = 0 /* Unknown */;\n        case 35 /* hash */:\n          if (pos !== 0 && text[pos + 1] === \"!\") {\n            error(Diagnostics.can_only_be_used_at_the_start_of_a_file);\n            pos++;\n            return token = 0 /* Unknown */;\n          }\n          const charAfterHash = codePointAt(text, pos + 1);\n          if (charAfterHash === 92 /* backslash */) {\n            pos++;\n            const extendedCookedChar2 = peekExtendedUnicodeEscape();\n            if (extendedCookedChar2 >= 0 && isIdentifierStart(extendedCookedChar2, languageVersion)) {\n              pos += 3;\n              tokenFlags |= 8 /* ExtendedUnicodeEscape */;\n              tokenValue = \"#\" + scanExtendedUnicodeEscape() + scanIdentifierParts();\n              return token = 80 /* PrivateIdentifier */;\n            }\n            const cookedChar2 = peekUnicodeEscape();\n            if (cookedChar2 >= 0 && isIdentifierStart(cookedChar2, languageVersion)) {\n              pos += 6;\n              tokenFlags |= 1024 /* UnicodeEscape */;\n              tokenValue = \"#\" + String.fromCharCode(cookedChar2) + scanIdentifierParts();\n              return token = 80 /* PrivateIdentifier */;\n            }\n            pos--;\n          }\n          if (isIdentifierStart(charAfterHash, languageVersion)) {\n            pos++;\n            scanIdentifier(charAfterHash, languageVersion);\n          } else {\n            tokenValue = \"#\";\n            error(Diagnostics.Invalid_character, pos++, charSize(ch));\n          }\n          return token = 80 /* PrivateIdentifier */;\n        default:\n          const identifierKind = scanIdentifier(ch, languageVersion);\n          if (identifierKind) {\n            return token = identifierKind;\n          } else if (isWhiteSpaceSingleLine(ch)) {\n            pos += charSize(ch);\n            continue;\n          } else if (isLineBreak(ch)) {\n            tokenFlags |= 1 /* PrecedingLineBreak */;\n            pos += charSize(ch);\n            continue;\n          }\n          const size = charSize(ch);\n          error(Diagnostics.Invalid_character, pos, size);\n          pos += size;\n          return token = 0 /* Unknown */;\n      }\n    }\n  }\n  function reScanInvalidIdentifier() {\n    Debug.assert(token === 0 /* Unknown */, \"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.\");\n    pos = tokenPos = startPos;\n    tokenFlags = 0;\n    const ch = codePointAt(text, pos);\n    const identifierKind = scanIdentifier(ch, 99 /* ESNext */);\n    if (identifierKind) {\n      return token = identifierKind;\n    }\n    pos += charSize(ch);\n    return token;\n  }\n  function scanIdentifier(startCharacter, languageVersion2) {\n    let ch = startCharacter;\n    if (isIdentifierStart(ch, languageVersion2)) {\n      pos += charSize(ch);\n      while (pos < end && isIdentifierPart(ch = codePointAt(text, pos), languageVersion2))\n        pos += charSize(ch);\n      tokenValue = text.substring(tokenPos, pos);\n      if (ch === 92 /* backslash */) {\n        tokenValue += scanIdentifierParts();\n      }\n      return getIdentifierToken();\n    }\n  }\n  function reScanGreaterToken() {\n    if (token === 31 /* GreaterThanToken */) {\n      if (text.charCodeAt(pos) === 62 /* greaterThan */) {\n        if (text.charCodeAt(pos + 1) === 62 /* greaterThan */) {\n          if (text.charCodeAt(pos + 2) === 61 /* equals */) {\n            return pos += 3, token = 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */;\n          }\n          return pos += 2, token = 49 /* GreaterThanGreaterThanGreaterThanToken */;\n        }\n        if (text.charCodeAt(pos + 1) === 61 /* equals */) {\n          return pos += 2, token = 71 /* GreaterThanGreaterThanEqualsToken */;\n        }\n        pos++;\n        return token = 48 /* GreaterThanGreaterThanToken */;\n      }\n      if (text.charCodeAt(pos) === 61 /* equals */) {\n        pos++;\n        return token = 33 /* GreaterThanEqualsToken */;\n      }\n    }\n    return token;\n  }\n  function reScanAsteriskEqualsToken() {\n    Debug.assert(token === 66 /* AsteriskEqualsToken */, \"'reScanAsteriskEqualsToken' should only be called on a '*='\");\n    pos = tokenPos + 1;\n    return token = 63 /* EqualsToken */;\n  }\n  function reScanSlashToken() {\n    if (token === 43 /* SlashToken */ || token === 68 /* SlashEqualsToken */) {\n      let p = tokenPos + 1;\n      let inEscape = false;\n      let inCharacterClass = false;\n      while (true) {\n        if (p >= end) {\n          tokenFlags |= 4 /* Unterminated */;\n          error(Diagnostics.Unterminated_regular_expression_literal);\n          break;\n        }\n        const ch = text.charCodeAt(p);\n        if (isLineBreak(ch)) {\n          tokenFlags |= 4 /* Unterminated */;\n          error(Diagnostics.Unterminated_regular_expression_literal);\n          break;\n        }\n        if (inEscape) {\n          inEscape = false;\n        } else if (ch === 47 /* slash */ && !inCharacterClass) {\n          p++;\n          break;\n        } else if (ch === 91 /* openBracket */) {\n          inCharacterClass = true;\n        } else if (ch === 92 /* backslash */) {\n          inEscape = true;\n        } else if (ch === 93 /* closeBracket */) {\n          inCharacterClass = false;\n        }\n        p++;\n      }\n      while (p < end && isIdentifierPart(text.charCodeAt(p), languageVersion)) {\n        p++;\n      }\n      pos = p;\n      tokenValue = text.substring(tokenPos, pos);\n      token = 13 /* RegularExpressionLiteral */;\n    }\n    return token;\n  }\n  function appendIfCommentDirective(commentDirectives2, text2, commentDirectiveRegEx, lineStart) {\n    const type = getDirectiveFromComment(trimStringStart(text2), commentDirectiveRegEx);\n    if (type === void 0) {\n      return commentDirectives2;\n    }\n    return append(\n      commentDirectives2,\n      {\n        range: { pos: lineStart, end: pos },\n        type\n      }\n    );\n  }\n  function getDirectiveFromComment(text2, commentDirectiveRegEx) {\n    const match = commentDirectiveRegEx.exec(text2);\n    if (!match) {\n      return void 0;\n    }\n    switch (match[1]) {\n      case \"ts-expect-error\":\n        return 0 /* ExpectError */;\n      case \"ts-ignore\":\n        return 1 /* Ignore */;\n    }\n    return void 0;\n  }\n  function reScanTemplateToken(isTaggedTemplate) {\n    Debug.assert(token === 19 /* CloseBraceToken */, \"'reScanTemplateToken' should only be called on a '}'\");\n    pos = tokenPos;\n    return token = scanTemplateAndSetTokenValue(isTaggedTemplate);\n  }\n  function reScanTemplateHeadOrNoSubstitutionTemplate() {\n    pos = tokenPos;\n    return token = scanTemplateAndSetTokenValue(true);\n  }\n  function reScanJsxToken(allowMultilineJsxText = true) {\n    pos = tokenPos = startPos;\n    return token = scanJsxToken(allowMultilineJsxText);\n  }\n  function reScanLessThanToken() {\n    if (token === 47 /* LessThanLessThanToken */) {\n      pos = tokenPos + 1;\n      return token = 29 /* LessThanToken */;\n    }\n    return token;\n  }\n  function reScanHashToken() {\n    if (token === 80 /* PrivateIdentifier */) {\n      pos = tokenPos + 1;\n      return token = 62 /* HashToken */;\n    }\n    return token;\n  }\n  function reScanQuestionToken() {\n    Debug.assert(token === 60 /* QuestionQuestionToken */, \"'reScanQuestionToken' should only be called on a '??'\");\n    pos = tokenPos + 1;\n    return token = 57 /* QuestionToken */;\n  }\n  function scanJsxToken(allowMultilineJsxText = true) {\n    startPos = tokenPos = pos;\n    if (pos >= end) {\n      return token = 1 /* EndOfFileToken */;\n    }\n    let char = text.charCodeAt(pos);\n    if (char === 60 /* lessThan */) {\n      if (text.charCodeAt(pos + 1) === 47 /* slash */) {\n        pos += 2;\n        return token = 30 /* LessThanSlashToken */;\n      }\n      pos++;\n      return token = 29 /* LessThanToken */;\n    }\n    if (char === 123 /* openBrace */) {\n      pos++;\n      return token = 18 /* OpenBraceToken */;\n    }\n    let firstNonWhitespace = 0;\n    while (pos < end) {\n      char = text.charCodeAt(pos);\n      if (char === 123 /* openBrace */) {\n        break;\n      }\n      if (char === 60 /* lessThan */) {\n        if (isConflictMarkerTrivia(text, pos)) {\n          pos = scanConflictMarkerTrivia(text, pos, error);\n          return token = 7 /* ConflictMarkerTrivia */;\n        }\n        break;\n      }\n      if (char === 62 /* greaterThan */) {\n        error(Diagnostics.Unexpected_token_Did_you_mean_or_gt, pos, 1);\n      }\n      if (char === 125 /* closeBrace */) {\n        error(Diagnostics.Unexpected_token_Did_you_mean_or_rbrace, pos, 1);\n      }\n      if (isLineBreak(char) && firstNonWhitespace === 0) {\n        firstNonWhitespace = -1;\n      } else if (!allowMultilineJsxText && isLineBreak(char) && firstNonWhitespace > 0) {\n        break;\n      } else if (!isWhiteSpaceLike(char)) {\n        firstNonWhitespace = pos;\n      }\n      pos++;\n    }\n    tokenValue = text.substring(startPos, pos);\n    return firstNonWhitespace === -1 ? 12 /* JsxTextAllWhiteSpaces */ : 11 /* JsxText */;\n  }\n  function scanJsxIdentifier() {\n    if (tokenIsIdentifierOrKeyword(token)) {\n      let namespaceSeparator = false;\n      while (pos < end) {\n        const ch = text.charCodeAt(pos);\n        if (ch === 45 /* minus */) {\n          tokenValue += \"-\";\n          pos++;\n          continue;\n        } else if (ch === 58 /* colon */ && !namespaceSeparator) {\n          tokenValue += \":\";\n          pos++;\n          namespaceSeparator = true;\n          token = 79 /* Identifier */;\n          continue;\n        }\n        const oldPos = pos;\n        tokenValue += scanIdentifierParts();\n        if (pos === oldPos) {\n          break;\n        }\n      }\n      if (tokenValue.slice(-1) === \":\") {\n        tokenValue = tokenValue.slice(0, -1);\n        pos--;\n      }\n      return getIdentifierToken();\n    }\n    return token;\n  }\n  function scanJsxAttributeValue() {\n    startPos = pos;\n    switch (text.charCodeAt(pos)) {\n      case 34 /* doubleQuote */:\n      case 39 /* singleQuote */:\n        tokenValue = scanString(true);\n        return token = 10 /* StringLiteral */;\n      default:\n        return scan();\n    }\n  }\n  function reScanJsxAttributeValue() {\n    pos = tokenPos = startPos;\n    return scanJsxAttributeValue();\n  }\n  function scanJsDocToken() {\n    startPos = tokenPos = pos;\n    tokenFlags = 0 /* None */;\n    if (pos >= end) {\n      return token = 1 /* EndOfFileToken */;\n    }\n    const ch = codePointAt(text, pos);\n    pos += charSize(ch);\n    switch (ch) {\n      case 9 /* tab */:\n      case 11 /* verticalTab */:\n      case 12 /* formFeed */:\n      case 32 /* space */:\n        while (pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos))) {\n          pos++;\n        }\n        return token = 5 /* WhitespaceTrivia */;\n      case 64 /* at */:\n        return token = 59 /* AtToken */;\n      case 13 /* carriageReturn */:\n        if (text.charCodeAt(pos) === 10 /* lineFeed */) {\n          pos++;\n        }\n      case 10 /* lineFeed */:\n        tokenFlags |= 1 /* PrecedingLineBreak */;\n        return token = 4 /* NewLineTrivia */;\n      case 42 /* asterisk */:\n        return token = 41 /* AsteriskToken */;\n      case 123 /* openBrace */:\n        return token = 18 /* OpenBraceToken */;\n      case 125 /* closeBrace */:\n        return token = 19 /* CloseBraceToken */;\n      case 91 /* openBracket */:\n        return token = 22 /* OpenBracketToken */;\n      case 93 /* closeBracket */:\n        return token = 23 /* CloseBracketToken */;\n      case 60 /* lessThan */:\n        return token = 29 /* LessThanToken */;\n      case 62 /* greaterThan */:\n        return token = 31 /* GreaterThanToken */;\n      case 61 /* equals */:\n        return token = 63 /* EqualsToken */;\n      case 44 /* comma */:\n        return token = 27 /* CommaToken */;\n      case 46 /* dot */:\n        return token = 24 /* DotToken */;\n      case 96 /* backtick */:\n        return token = 61 /* BacktickToken */;\n      case 35 /* hash */:\n        return token = 62 /* HashToken */;\n      case 92 /* backslash */:\n        pos--;\n        const extendedCookedChar = peekExtendedUnicodeEscape();\n        if (extendedCookedChar >= 0 && isIdentifierStart(extendedCookedChar, languageVersion)) {\n          pos += 3;\n          tokenFlags |= 8 /* ExtendedUnicodeEscape */;\n          tokenValue = scanExtendedUnicodeEscape() + scanIdentifierParts();\n          return token = getIdentifierToken();\n        }\n        const cookedChar = peekUnicodeEscape();\n        if (cookedChar >= 0 && isIdentifierStart(cookedChar, languageVersion)) {\n          pos += 6;\n          tokenFlags |= 1024 /* UnicodeEscape */;\n          tokenValue = String.fromCharCode(cookedChar) + scanIdentifierParts();\n          return token = getIdentifierToken();\n        }\n        pos++;\n        return token = 0 /* Unknown */;\n    }\n    if (isIdentifierStart(ch, languageVersion)) {\n      let char = ch;\n      while (pos < end && isIdentifierPart(char = codePointAt(text, pos), languageVersion) || text.charCodeAt(pos) === 45 /* minus */)\n        pos += charSize(char);\n      tokenValue = text.substring(tokenPos, pos);\n      if (char === 92 /* backslash */) {\n        tokenValue += scanIdentifierParts();\n      }\n      return token = getIdentifierToken();\n    } else {\n      return token = 0 /* Unknown */;\n    }\n  }\n  function speculationHelper(callback, isLookahead) {\n    const savePos = pos;\n    const saveStartPos = startPos;\n    const saveTokenPos = tokenPos;\n    const saveToken = token;\n    const saveTokenValue = tokenValue;\n    const saveTokenFlags = tokenFlags;\n    const result = callback();\n    if (!result || isLookahead) {\n      pos = savePos;\n      startPos = saveStartPos;\n      tokenPos = saveTokenPos;\n      token = saveToken;\n      tokenValue = saveTokenValue;\n      tokenFlags = saveTokenFlags;\n    }\n    return result;\n  }\n  function scanRange(start2, length3, callback) {\n    const saveEnd = end;\n    const savePos = pos;\n    const saveStartPos = startPos;\n    const saveTokenPos = tokenPos;\n    const saveToken = token;\n    const saveTokenValue = tokenValue;\n    const saveTokenFlags = tokenFlags;\n    const saveErrorExpectations = commentDirectives;\n    setText(text, start2, length3);\n    const result = callback();\n    end = saveEnd;\n    pos = savePos;\n    startPos = saveStartPos;\n    tokenPos = saveTokenPos;\n    token = saveToken;\n    tokenValue = saveTokenValue;\n    tokenFlags = saveTokenFlags;\n    commentDirectives = saveErrorExpectations;\n    return result;\n  }\n  function lookAhead(callback) {\n    return speculationHelper(callback, true);\n  }\n  function tryScan(callback) {\n    return speculationHelper(callback, false);\n  }\n  function getText() {\n    return text;\n  }\n  function clearCommentDirectives() {\n    commentDirectives = void 0;\n  }\n  function setText(newText, start2, length3) {\n    text = newText || \"\";\n    end = length3 === void 0 ? text.length : start2 + length3;\n    setTextPos(start2 || 0);\n  }\n  function setOnError(errorCallback) {\n    onError = errorCallback;\n  }\n  function setScriptTarget(scriptTarget) {\n    languageVersion = scriptTarget;\n  }\n  function setLanguageVariant(variant) {\n    languageVariant = variant;\n  }\n  function setTextPos(textPos) {\n    Debug.assert(textPos >= 0);\n    pos = textPos;\n    startPos = textPos;\n    tokenPos = textPos;\n    token = 0 /* Unknown */;\n    tokenValue = void 0;\n    tokenFlags = 0 /* None */;\n  }\n  function setInJSDocType(inType) {\n    inJSDocType += inType ? 1 : -1;\n  }\n}\nvar codePointAt = String.prototype.codePointAt ? (s, i) => s.codePointAt(i) : function codePointAt2(str, i) {\n  const size = str.length;\n  if (i < 0 || i >= size) {\n    return void 0;\n  }\n  const first2 = str.charCodeAt(i);\n  if (first2 >= 55296 && first2 <= 56319 && size > i + 1) {\n    const second = str.charCodeAt(i + 1);\n    if (second >= 56320 && second <= 57343) {\n      return (first2 - 55296) * 1024 + second - 56320 + 65536;\n    }\n  }\n  return first2;\n};\nfunction charSize(ch) {\n  if (ch >= 65536) {\n    return 2;\n  }\n  return 1;\n}\nfunction utf16EncodeAsStringFallback(codePoint) {\n  Debug.assert(0 <= codePoint && codePoint <= 1114111);\n  if (codePoint <= 65535) {\n    return String.fromCharCode(codePoint);\n  }\n  const codeUnit1 = Math.floor((codePoint - 65536) / 1024) + 55296;\n  const codeUnit2 = (codePoint - 65536) % 1024 + 56320;\n  return String.fromCharCode(codeUnit1, codeUnit2);\n}\nvar utf16EncodeAsStringWorker = String.fromCodePoint ? (codePoint) => String.fromCodePoint(codePoint) : utf16EncodeAsStringFallback;\nfunction utf16EncodeAsString(codePoint) {\n  return utf16EncodeAsStringWorker(codePoint);\n}\n\n// src/compiler/utilitiesPublic.ts\nfunction isExternalModuleNameRelative(moduleName) {\n  return pathIsRelative(moduleName) || isRootedDiskPath(moduleName);\n}\nfunction sortAndDeduplicateDiagnostics(diagnostics) {\n  return sortAndDeduplicate(diagnostics, compareDiagnostics);\n}\nfunction getDefaultLibFileName(options) {\n  switch (getEmitScriptTarget(options)) {\n    case 99 /* ESNext */:\n      return \"lib.esnext.full.d.ts\";\n    case 9 /* ES2022 */:\n      return \"lib.es2022.full.d.ts\";\n    case 8 /* ES2021 */:\n      return \"lib.es2021.full.d.ts\";\n    case 7 /* ES2020 */:\n      return \"lib.es2020.full.d.ts\";\n    case 6 /* ES2019 */:\n      return \"lib.es2019.full.d.ts\";\n    case 5 /* ES2018 */:\n      return \"lib.es2018.full.d.ts\";\n    case 4 /* ES2017 */:\n      return \"lib.es2017.full.d.ts\";\n    case 3 /* ES2016 */:\n      return \"lib.es2016.full.d.ts\";\n    case 2 /* ES2015 */:\n      return \"lib.es6.d.ts\";\n    default:\n      return \"lib.d.ts\";\n  }\n}\nfunction textSpanEnd(span) {\n  return span.start + span.length;\n}\nfunction textSpanIsEmpty(span) {\n  return span.length === 0;\n}\nfunction textSpanContainsPosition(span, position) {\n  return position >= span.start && position < textSpanEnd(span);\n}\nfunction textRangeContainsPositionInclusive(span, position) {\n  return position >= span.pos && position <= span.end;\n}\nfunction textSpanContainsTextSpan(span, other) {\n  return other.start >= span.start && textSpanEnd(other) <= textSpanEnd(span);\n}\nfunction textSpanOverlapsWith(span, other) {\n  return textSpanOverlap(span, other) !== void 0;\n}\nfunction textSpanOverlap(span1, span2) {\n  const overlap = textSpanIntersection(span1, span2);\n  return overlap && overlap.length === 0 ? void 0 : overlap;\n}\nfunction textSpanIntersectsWithTextSpan(span, other) {\n  return decodedTextSpanIntersectsWith(span.start, span.length, other.start, other.length);\n}\nfunction textSpanIntersectsWith(span, start, length2) {\n  return decodedTextSpanIntersectsWith(span.start, span.length, start, length2);\n}\nfunction decodedTextSpanIntersectsWith(start1, length1, start2, length2) {\n  const end1 = start1 + length1;\n  const end2 = start2 + length2;\n  return start2 <= end1 && end2 >= start1;\n}\nfunction textSpanIntersectsWithPosition(span, position) {\n  return position <= textSpanEnd(span) && position >= span.start;\n}\nfunction textSpanIntersection(span1, span2) {\n  const start = Math.max(span1.start, span2.start);\n  const end = Math.min(textSpanEnd(span1), textSpanEnd(span2));\n  return start <= end ? createTextSpanFromBounds(start, end) : void 0;\n}\nfunction createTextSpan(start, length2) {\n  if (start < 0) {\n    throw new Error(\"start < 0\");\n  }\n  if (length2 < 0) {\n    throw new Error(\"length < 0\");\n  }\n  return { start, length: length2 };\n}\nfunction createTextSpanFromBounds(start, end) {\n  return createTextSpan(start, end - start);\n}\nfunction textChangeRangeNewSpan(range) {\n  return createTextSpan(range.span.start, range.newLength);\n}\nfunction textChangeRangeIsUnchanged(range) {\n  return textSpanIsEmpty(range.span) && range.newLength === 0;\n}\nfunction createTextChangeRange(span, newLength) {\n  if (newLength < 0) {\n    throw new Error(\"newLength < 0\");\n  }\n  return { span, newLength };\n}\nvar unchangedTextChangeRange = createTextChangeRange(createTextSpan(0, 0), 0);\nfunction collapseTextChangeRangesAcrossMultipleVersions(changes) {\n  if (changes.length === 0) {\n    return unchangedTextChangeRange;\n  }\n  if (changes.length === 1) {\n    return changes[0];\n  }\n  const change0 = changes[0];\n  let oldStartN = change0.span.start;\n  let oldEndN = textSpanEnd(change0.span);\n  let newEndN = oldStartN + change0.newLength;\n  for (let i = 1; i < changes.length; i++) {\n    const nextChange = changes[i];\n    const oldStart1 = oldStartN;\n    const oldEnd1 = oldEndN;\n    const newEnd1 = newEndN;\n    const oldStart2 = nextChange.span.start;\n    const oldEnd2 = textSpanEnd(nextChange.span);\n    const newEnd2 = oldStart2 + nextChange.newLength;\n    oldStartN = Math.min(oldStart1, oldStart2);\n    oldEndN = Math.max(oldEnd1, oldEnd1 + (oldEnd2 - newEnd1));\n    newEndN = Math.max(newEnd2, newEnd2 + (newEnd1 - oldEnd2));\n  }\n  return createTextChangeRange(createTextSpanFromBounds(oldStartN, oldEndN), newEndN - oldStartN);\n}\nfunction getTypeParameterOwner(d) {\n  if (d && d.kind === 167 /* TypeParameter */) {\n    for (let current = d; current; current = current.parent) {\n      if (isFunctionLike(current) || isClassLike(current) || current.kind === 267 /* InterfaceDeclaration */) {\n        return current;\n      }\n    }\n  }\n}\nfunction isParameterPropertyDeclaration(node, parent2) {\n  return hasSyntacticModifier(node, 16476 /* ParameterPropertyModifier */) && parent2.kind === 176 /* Constructor */;\n}\nfunction isEmptyBindingPattern(node) {\n  if (isBindingPattern(node)) {\n    return every(node.elements, isEmptyBindingElement);\n  }\n  return false;\n}\nfunction isEmptyBindingElement(node) {\n  if (isOmittedExpression(node)) {\n    return true;\n  }\n  return isEmptyBindingPattern(node.name);\n}\nfunction walkUpBindingElementsAndPatterns(binding) {\n  let node = binding.parent;\n  while (isBindingElement(node.parent)) {\n    node = node.parent.parent;\n  }\n  return node.parent;\n}\nfunction getCombinedFlags(node, getFlags) {\n  if (isBindingElement(node)) {\n    node = walkUpBindingElementsAndPatterns(node);\n  }\n  let flags = getFlags(node);\n  if (node.kind === 261 /* VariableDeclaration */) {\n    node = node.parent;\n  }\n  if (node && node.kind === 262 /* VariableDeclarationList */) {\n    flags |= getFlags(node);\n    node = node.parent;\n  }\n  if (node && node.kind === 244 /* VariableStatement */) {\n    flags |= getFlags(node);\n  }\n  return flags;\n}\nfunction getCombinedModifierFlags(node) {\n  return getCombinedFlags(node, getEffectiveModifierFlags);\n}\nfunction getCombinedNodeFlagsAlwaysIncludeJSDoc(node) {\n  return getCombinedFlags(node, getEffectiveModifierFlagsAlwaysIncludeJSDoc);\n}\nfunction getCombinedNodeFlags(node) {\n  return getCombinedFlags(node, (n) => n.flags);\n}\nvar supportedLocaleDirectories = [\"cs\", \"de\", \"es\", \"fr\", \"it\", \"ja\", \"ko\", \"pl\", \"pt-br\", \"ru\", \"tr\", \"zh-cn\", \"zh-tw\"];\nfunction validateLocaleAndSetLanguage(locale, sys2, errors) {\n  const lowerCaseLocale = locale.toLowerCase();\n  const matchResult = /^([a-z]+)([_\\-]([a-z]+))?$/.exec(lowerCaseLocale);\n  if (!matchResult) {\n    if (errors) {\n      errors.push(createCompilerDiagnostic(Diagnostics.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1, \"en\", \"ja-jp\"));\n    }\n    return;\n  }\n  const language = matchResult[1];\n  const territory = matchResult[3];\n  if (contains(supportedLocaleDirectories, lowerCaseLocale) && !trySetLanguageAndTerritory(language, territory, errors)) {\n    trySetLanguageAndTerritory(language, void 0, errors);\n  }\n  setUILocale(locale);\n  function trySetLanguageAndTerritory(language2, territory2, errors2) {\n    const compilerFilePath = normalizePath(sys2.getExecutingFilePath());\n    const containingDirectoryPath = getDirectoryPath(compilerFilePath);\n    let filePath = combinePaths(containingDirectoryPath, language2);\n    if (territory2) {\n      filePath = filePath + \"-\" + territory2;\n    }\n    filePath = sys2.resolvePath(combinePaths(filePath, \"diagnosticMessages.generated.json\"));\n    if (!sys2.fileExists(filePath)) {\n      return false;\n    }\n    let fileContents = \"\";\n    try {\n      fileContents = sys2.readFile(filePath);\n    } catch (e) {\n      if (errors2) {\n        errors2.push(createCompilerDiagnostic(Diagnostics.Unable_to_open_file_0, filePath));\n      }\n      return false;\n    }\n    try {\n      setLocalizedDiagnosticMessages(JSON.parse(fileContents));\n    } catch (e) {\n      if (errors2) {\n        errors2.push(createCompilerDiagnostic(Diagnostics.Corrupted_locale_file_0, filePath));\n      }\n      return false;\n    }\n    return true;\n  }\n}\nfunction getOriginalNode(node, nodeTest) {\n  if (node) {\n    while (node.original !== void 0) {\n      node = node.original;\n    }\n  }\n  return !nodeTest || nodeTest(node) ? node : void 0;\n}\nfunction findAncestor(node, callback) {\n  while (node) {\n    const result = callback(node);\n    if (result === \"quit\") {\n      return void 0;\n    } else if (result) {\n      return node;\n    }\n    node = node.parent;\n  }\n  return void 0;\n}\nfunction isParseTreeNode(node) {\n  return (node.flags & 8 /* Synthesized */) === 0;\n}\nfunction getParseTreeNode(node, nodeTest) {\n  if (node === void 0 || isParseTreeNode(node)) {\n    return node;\n  }\n  node = node.original;\n  while (node) {\n    if (isParseTreeNode(node)) {\n      return !nodeTest || nodeTest(node) ? node : void 0;\n    }\n    node = node.original;\n  }\n}\nfunction escapeLeadingUnderscores(identifier) {\n  return identifier.length >= 2 && identifier.charCodeAt(0) === 95 /* _ */ && identifier.charCodeAt(1) === 95 /* _ */ ? \"_\" + identifier : identifier;\n}\nfunction unescapeLeadingUnderscores(identifier) {\n  const id = identifier;\n  return id.length >= 3 && id.charCodeAt(0) === 95 /* _ */ && id.charCodeAt(1) === 95 /* _ */ && id.charCodeAt(2) === 95 /* _ */ ? id.substr(1) : id;\n}\nfunction idText(identifierOrPrivateName) {\n  return unescapeLeadingUnderscores(identifierOrPrivateName.escapedText);\n}\nfunction symbolName(symbol) {\n  if (symbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(symbol.valueDeclaration)) {\n    return idText(symbol.valueDeclaration.name);\n  }\n  return unescapeLeadingUnderscores(symbol.escapedName);\n}\nfunction nameForNamelessJSDocTypedef(declaration) {\n  const hostNode = declaration.parent.parent;\n  if (!hostNode) {\n    return void 0;\n  }\n  if (isDeclaration(hostNode)) {\n    return getDeclarationIdentifier(hostNode);\n  }\n  switch (hostNode.kind) {\n    case 244 /* VariableStatement */:\n      if (hostNode.declarationList && hostNode.declarationList.declarations[0]) {\n        return getDeclarationIdentifier(hostNode.declarationList.declarations[0]);\n      }\n      break;\n    case 245 /* ExpressionStatement */:\n      let expr = hostNode.expression;\n      if (expr.kind === 227 /* BinaryExpression */ && expr.operatorToken.kind === 63 /* EqualsToken */) {\n        expr = expr.left;\n      }\n      switch (expr.kind) {\n        case 211 /* PropertyAccessExpression */:\n          return expr.name;\n        case 212 /* ElementAccessExpression */:\n          const arg = expr.argumentExpression;\n          if (isIdentifier(arg)) {\n            return arg;\n          }\n      }\n      break;\n    case 217 /* ParenthesizedExpression */: {\n      return getDeclarationIdentifier(hostNode.expression);\n    }\n    case 257 /* LabeledStatement */: {\n      if (isDeclaration(hostNode.statement) || isExpression(hostNode.statement)) {\n        return getDeclarationIdentifier(hostNode.statement);\n      }\n      break;\n    }\n  }\n}\nfunction getDeclarationIdentifier(node) {\n  const name = getNameOfDeclaration(node);\n  return name && isIdentifier(name) ? name : void 0;\n}\nfunction nodeHasName(statement, name) {\n  if (isNamedDeclaration(statement) && isIdentifier(statement.name) && idText(statement.name) === idText(name)) {\n    return true;\n  }\n  if (isVariableStatement(statement) && some(statement.declarationList.declarations, (d) => nodeHasName(d, name))) {\n    return true;\n  }\n  return false;\n}\nfunction getNameOfJSDocTypedef(declaration) {\n  return declaration.name || nameForNamelessJSDocTypedef(declaration);\n}\nfunction isNamedDeclaration(node) {\n  return !!node.name;\n}\nfunction getNonAssignedNameOfDeclaration(declaration) {\n  switch (declaration.kind) {\n    case 79 /* Identifier */:\n      return declaration;\n    case 356 /* JSDocPropertyTag */:\n    case 349 /* JSDocParameterTag */: {\n      const { name } = declaration;\n      if (name.kind === 165 /* QualifiedName */) {\n        return name.right;\n      }\n      break;\n    }\n    case 213 /* CallExpression */:\n    case 227 /* BinaryExpression */: {\n      const expr2 = declaration;\n      switch (getAssignmentDeclarationKind(expr2)) {\n        case 1 /* ExportsProperty */:\n        case 4 /* ThisProperty */:\n        case 5 /* Property */:\n        case 3 /* PrototypeProperty */:\n          return getElementOrPropertyAccessArgumentExpressionOrName(expr2.left);\n        case 7 /* ObjectDefinePropertyValue */:\n        case 8 /* ObjectDefinePropertyExports */:\n        case 9 /* ObjectDefinePrototypeProperty */:\n          return expr2.arguments[1];\n        default:\n          return void 0;\n      }\n    }\n    case 354 /* JSDocTypedefTag */:\n      return getNameOfJSDocTypedef(declaration);\n    case 348 /* JSDocEnumTag */:\n      return nameForNamelessJSDocTypedef(declaration);\n    case 280 /* ExportAssignment */: {\n      const { expression } = declaration;\n      return isIdentifier(expression) ? expression : void 0;\n    }\n    case 212 /* ElementAccessExpression */:\n      const expr = declaration;\n      if (isBindableStaticElementAccessExpression(expr)) {\n        return expr.argumentExpression;\n      }\n  }\n  return declaration.name;\n}\nfunction getNameOfDeclaration(declaration) {\n  if (declaration === void 0)\n    return void 0;\n  return getNonAssignedNameOfDeclaration(declaration) || (isFunctionExpression(declaration) || isArrowFunction(declaration) || isClassExpression(declaration) ? getAssignedName(declaration) : void 0);\n}\nfunction getAssignedName(node) {\n  if (!node.parent) {\n    return void 0;\n  } else if (isPropertyAssignment(node.parent) || isBindingElement(node.parent)) {\n    return node.parent.name;\n  } else if (isBinaryExpression(node.parent) && node === node.parent.right) {\n    if (isIdentifier(node.parent.left)) {\n      return node.parent.left;\n    } else if (isAccessExpression(node.parent.left)) {\n      return getElementOrPropertyAccessArgumentExpressionOrName(node.parent.left);\n    }\n  } else if (isVariableDeclaration(node.parent) && isIdentifier(node.parent.name)) {\n    return node.parent.name;\n  }\n}\nfunction getDecorators(node) {\n  if (hasDecorators(node)) {\n    return filter(node.modifiers, isDecorator);\n  }\n  return void 0;\n}\nfunction getAnnotations(node) {\n  if (hasAnnotations(node)) {\n    return filter(node.modifiers, isAnnotation);\n  }\n  return void 0;\n}\nfunction getModifiers(node) {\n  if (hasSyntacticModifier(node, 126975 /* Modifier */)) {\n    return filter(node.modifiers, isModifier);\n  }\n  return void 0;\n}\nfunction getAllDecorators(node) {\n  const allDecorators = [];\n  if (!node) {\n    return allDecorators;\n  }\n  const decorators = getDecorators(node);\n  if (decorators) {\n    allDecorators.push(...decorators);\n  }\n  const illegalDecorators = getIllegalDecorators(node);\n  if (illegalDecorators) {\n    allDecorators.push(...illegalDecorators);\n  }\n  return allDecorators;\n}\nfunction getIllegalDecorators(node) {\n  if (hasIllegalDecorators(node)) {\n    return filter(node.illegalDecorators, isDecorator);\n  }\n  return void 0;\n}\nfunction getAnnotationsFromIllegalDecorators(node) {\n  if (hasIllegalDecorators(node)) {\n    return filter(node.illegalDecorators, isAnnotation);\n  }\n  return void 0;\n}\nfunction getJSDocParameterTagsWorker(param, noCache) {\n  if (param.name) {\n    if (isIdentifier(param.name)) {\n      const name = param.name.escapedText;\n      return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocParameterTag(tag) && isIdentifier(tag.name) && tag.name.escapedText === name);\n    } else {\n      const i = param.parent.parameters.indexOf(param);\n      Debug.assert(i > -1, \"Parameters should always be in their parents' parameter list\");\n      const paramTags = getJSDocTagsWorker(param.parent, noCache).filter(isJSDocParameterTag);\n      if (i < paramTags.length) {\n        return [paramTags[i]];\n      }\n    }\n  }\n  return emptyArray;\n}\nfunction getJSDocParameterTags(param) {\n  return getJSDocParameterTagsWorker(param, false);\n}\nfunction getJSDocParameterTagsNoCache(param) {\n  return getJSDocParameterTagsWorker(param, true);\n}\nfunction getJSDocTypeParameterTagsWorker(param, noCache) {\n  const name = param.name.escapedText;\n  return getJSDocTagsWorker(param.parent, noCache).filter((tag) => isJSDocTemplateTag(tag) && tag.typeParameters.some((tp) => tp.name.escapedText === name));\n}\nfunction getJSDocTypeParameterTags(param) {\n  return getJSDocTypeParameterTagsWorker(param, false);\n}\nfunction getJSDocTypeParameterTagsNoCache(param) {\n  return getJSDocTypeParameterTagsWorker(param, true);\n}\nfunction hasJSDocParameterTags(node) {\n  return !!getFirstJSDocTag(node, isJSDocParameterTag);\n}\nfunction getJSDocAugmentsTag(node) {\n  return getFirstJSDocTag(node, isJSDocAugmentsTag);\n}\nfunction getJSDocImplementsTags(node) {\n  return getAllJSDocTags(node, isJSDocImplementsTag);\n}\nfunction getJSDocClassTag(node) {\n  return getFirstJSDocTag(node, isJSDocClassTag);\n}\nfunction getJSDocPublicTag(node) {\n  return getFirstJSDocTag(node, isJSDocPublicTag);\n}\nfunction getJSDocPublicTagNoCache(node) {\n  return getFirstJSDocTag(node, isJSDocPublicTag, true);\n}\nfunction getJSDocPrivateTag(node) {\n  return getFirstJSDocTag(node, isJSDocPrivateTag);\n}\nfunction getJSDocPrivateTagNoCache(node) {\n  return getFirstJSDocTag(node, isJSDocPrivateTag, true);\n}\nfunction getJSDocProtectedTag(node) {\n  return getFirstJSDocTag(node, isJSDocProtectedTag);\n}\nfunction getJSDocProtectedTagNoCache(node) {\n  return getFirstJSDocTag(node, isJSDocProtectedTag, true);\n}\nfunction getJSDocReadonlyTag(node) {\n  return getFirstJSDocTag(node, isJSDocReadonlyTag);\n}\nfunction getJSDocReadonlyTagNoCache(node) {\n  return getFirstJSDocTag(node, isJSDocReadonlyTag, true);\n}\nfunction getJSDocOverrideTagNoCache(node) {\n  return getFirstJSDocTag(node, isJSDocOverrideTag, true);\n}\nfunction getJSDocDeprecatedTag(node) {\n  return getFirstJSDocTag(node, isJSDocDeprecatedTag);\n}\nfunction getJSDocDeprecatedTagNoCache(node) {\n  return getFirstJSDocTag(node, isJSDocDeprecatedTag, true);\n}\nfunction getJSDocEnumTag(node) {\n  return getFirstJSDocTag(node, isJSDocEnumTag);\n}\nfunction getJSDocThisTag(node) {\n  return getFirstJSDocTag(node, isJSDocThisTag);\n}\nfunction getJSDocReturnTag(node) {\n  return getFirstJSDocTag(node, isJSDocReturnTag);\n}\nfunction getJSDocTemplateTag(node) {\n  return getFirstJSDocTag(node, isJSDocTemplateTag);\n}\nfunction getJSDocTypeTag(node) {\n  const tag = getFirstJSDocTag(node, isJSDocTypeTag);\n  if (tag && tag.typeExpression && tag.typeExpression.type) {\n    return tag;\n  }\n  return void 0;\n}\nfunction getJSDocType(node) {\n  let tag = getFirstJSDocTag(node, isJSDocTypeTag);\n  if (!tag && isParameter(node)) {\n    tag = find(getJSDocParameterTags(node), (tag2) => !!tag2.typeExpression);\n  }\n  return tag && tag.typeExpression && tag.typeExpression.type;\n}\nfunction getJSDocReturnType(node) {\n  const returnTag = getJSDocReturnTag(node);\n  if (returnTag && returnTag.typeExpression) {\n    return returnTag.typeExpression.type;\n  }\n  const typeTag = getJSDocTypeTag(node);\n  if (typeTag && typeTag.typeExpression) {\n    const type = typeTag.typeExpression.type;\n    if (isTypeLiteralNode(type)) {\n      const sig = find(type.members, isCallSignatureDeclaration);\n      return sig && sig.type;\n    }\n    if (isFunctionTypeNode(type) || isJSDocFunctionType(type)) {\n      return type.type;\n    }\n  }\n}\nfunction getJSDocTagsWorker(node, noCache) {\n  let tags = node.jsDocCache;\n  if (tags === void 0 || noCache) {\n    const comments = getJSDocCommentsAndTags(node, noCache);\n    Debug.assert(comments.length < 2 || comments[0] !== comments[1]);\n    tags = flatMap(comments, (j) => isJSDoc(j) ? j.tags : j);\n    if (!noCache) {\n      node.jsDocCache = tags;\n    }\n  }\n  return tags;\n}\nfunction getJSDocTags(node) {\n  return getJSDocTagsWorker(node, false);\n}\nfunction getJSDocTagsNoCache(node) {\n  return getJSDocTagsWorker(node, true);\n}\nfunction getFirstJSDocTag(node, predicate, noCache) {\n  return find(getJSDocTagsWorker(node, noCache), predicate);\n}\nfunction getAllJSDocTags(node, predicate) {\n  return getJSDocTags(node).filter(predicate);\n}\nfunction getAllJSDocTagsOfKind(node, kind) {\n  return getJSDocTags(node).filter((doc) => doc.kind === kind);\n}\nfunction getTextOfJSDocComment(comment) {\n  return typeof comment === \"string\" ? comment : comment == null ? void 0 : comment.map((c) => c.kind === 330 /* JSDocText */ ? c.text : formatJSDocLink(c)).join(\"\");\n}\nfunction formatJSDocLink(link) {\n  const kind = link.kind === 333 /* JSDocLink */ ? \"link\" : link.kind === 334 /* JSDocLinkCode */ ? \"linkcode\" : \"linkplain\";\n  const name = link.name ? entityNameToString(link.name) : \"\";\n  const space = link.name && link.text.startsWith(\"://\") ? \"\" : \" \";\n  return `{@${kind} ${name}${space}${link.text}}`;\n}\nfunction getEffectiveTypeParameterDeclarations(node) {\n  if (isJSDocSignature(node)) {\n    return emptyArray;\n  }\n  if (isJSDocTypeAlias(node)) {\n    Debug.assert(node.parent.kind === 329 /* JSDoc */);\n    return flatMap(node.parent.tags, (tag) => isJSDocTemplateTag(tag) ? tag.typeParameters : void 0);\n  }\n  if (node.typeParameters) {\n    return node.typeParameters;\n  }\n  if (canHaveIllegalTypeParameters(node) && node.typeParameters) {\n    return node.typeParameters;\n  }\n  if (isInJSFile(node)) {\n    const decls = getJSDocTypeParameterDeclarations(node);\n    if (decls.length) {\n      return decls;\n    }\n    const typeTag = getJSDocType(node);\n    if (typeTag && isFunctionTypeNode(typeTag) && typeTag.typeParameters) {\n      return typeTag.typeParameters;\n    }\n  }\n  return emptyArray;\n}\nfunction getEffectiveConstraintOfTypeParameter(node) {\n  return node.constraint ? node.constraint : isJSDocTemplateTag(node.parent) && node === node.parent.typeParameters[0] ? node.parent.constraint : void 0;\n}\nfunction isMemberName(node) {\n  return node.kind === 79 /* Identifier */ || node.kind === 80 /* PrivateIdentifier */;\n}\nfunction isGetOrSetAccessorDeclaration(node) {\n  return node.kind === 178 /* SetAccessor */ || node.kind === 177 /* GetAccessor */;\n}\nfunction isPropertyAccessChain(node) {\n  return isPropertyAccessExpression(node) && !!(node.flags & 32 /* OptionalChain */);\n}\nfunction isElementAccessChain(node) {\n  return isElementAccessExpression(node) && !!(node.flags & 32 /* OptionalChain */);\n}\nfunction isCallChain(node) {\n  return isCallExpression(node) && !!(node.flags & 32 /* OptionalChain */);\n}\nfunction isOptionalChain(node) {\n  const kind = node.kind;\n  return !!(node.flags & 32 /* OptionalChain */) && (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */ || kind === 213 /* CallExpression */ || kind === 236 /* NonNullExpression */);\n}\nfunction isOptionalChainRoot(node) {\n  return isOptionalChain(node) && !isNonNullExpression(node) && !!node.questionDotToken;\n}\nfunction isExpressionOfOptionalChainRoot(node) {\n  return isOptionalChainRoot(node.parent) && node.parent.expression === node;\n}\nfunction isOutermostOptionalChain(node) {\n  return !isOptionalChain(node.parent) || isOptionalChainRoot(node.parent) || node !== node.parent.expression;\n}\nfunction isNullishCoalesce(node) {\n  return node.kind === 227 /* BinaryExpression */ && node.operatorToken.kind === 60 /* QuestionQuestionToken */;\n}\nfunction isConstTypeReference(node) {\n  return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"const\" && !node.typeArguments;\n}\nfunction skipPartiallyEmittedExpressions(node) {\n  return skipOuterExpressions(node, 8 /* PartiallyEmittedExpressions */);\n}\nfunction isNonNullChain(node) {\n  return isNonNullExpression(node) && !!(node.flags & 32 /* OptionalChain */);\n}\nfunction isBreakOrContinueStatement(node) {\n  return node.kind === 253 /* BreakStatement */ || node.kind === 252 /* ContinueStatement */;\n}\nfunction isNamedExportBindings(node) {\n  return node.kind === 283 /* NamespaceExport */ || node.kind === 282 /* NamedExports */;\n}\nfunction isUnparsedTextLike(node) {\n  switch (node.kind) {\n    case 311 /* UnparsedText */:\n    case 312 /* UnparsedInternalText */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isUnparsedNode(node) {\n  return isUnparsedTextLike(node) || node.kind === 309 /* UnparsedPrologue */ || node.kind === 313 /* UnparsedSyntheticReference */;\n}\nfunction isJSDocPropertyLikeTag(node) {\n  return node.kind === 356 /* JSDocPropertyTag */ || node.kind === 349 /* JSDocParameterTag */;\n}\nfunction isNode(node) {\n  return isNodeKind(node.kind);\n}\nfunction isNodeKind(kind) {\n  return kind >= 165 /* FirstNode */;\n}\nfunction isTokenKind(kind) {\n  return kind >= 0 /* FirstToken */ && kind <= 164 /* LastToken */;\n}\nfunction isToken(n) {\n  return isTokenKind(n.kind);\n}\nfunction isNodeArray(array) {\n  return hasProperty(array, \"pos\") && hasProperty(array, \"end\");\n}\nfunction isLiteralKind(kind) {\n  return 8 /* FirstLiteralToken */ <= kind && kind <= 14 /* LastLiteralToken */;\n}\nfunction isLiteralExpression(node) {\n  return isLiteralKind(node.kind);\n}\nfunction isLiteralExpressionOfObject(node) {\n  switch (node.kind) {\n    case 210 /* ObjectLiteralExpression */:\n    case 209 /* ArrayLiteralExpression */:\n    case 13 /* RegularExpressionLiteral */:\n    case 218 /* FunctionExpression */:\n    case 232 /* ClassExpression */:\n      return true;\n  }\n  return false;\n}\nfunction isTemplateLiteralKind(kind) {\n  return 14 /* FirstTemplateToken */ <= kind && kind <= 17 /* LastTemplateToken */;\n}\nfunction isTemplateLiteralToken(node) {\n  return isTemplateLiteralKind(node.kind);\n}\nfunction isTemplateMiddleOrTemplateTail(node) {\n  const kind = node.kind;\n  return kind === 16 /* TemplateMiddle */ || kind === 17 /* TemplateTail */;\n}\nfunction isImportOrExportSpecifier(node) {\n  return isImportSpecifier(node) || isExportSpecifier(node);\n}\nfunction isTypeOnlyImportOrExportDeclaration(node) {\n  switch (node.kind) {\n    case 279 /* ImportSpecifier */:\n    case 284 /* ExportSpecifier */:\n      return node.isTypeOnly || node.parent.parent.isTypeOnly;\n    case 277 /* NamespaceImport */:\n      return node.parent.isTypeOnly;\n    case 276 /* ImportClause */:\n    case 274 /* ImportEqualsDeclaration */:\n      return node.isTypeOnly;\n    default:\n      return false;\n  }\n}\nfunction isAssertionKey(node) {\n  return isStringLiteral(node) || isIdentifier(node);\n}\nfunction isStringTextContainingNode(node) {\n  return node.kind === 10 /* StringLiteral */ || isTemplateLiteralKind(node.kind);\n}\nfunction isGeneratedIdentifier(node) {\n  return isIdentifier(node) && (node.autoGenerateFlags & 7 /* KindMask */) > 0 /* None */;\n}\nfunction isGeneratedPrivateIdentifier(node) {\n  return isPrivateIdentifier(node) && (node.autoGenerateFlags & 7 /* KindMask */) > 0 /* None */;\n}\nfunction isPrivateIdentifierClassElementDeclaration(node) {\n  return (isPropertyDeclaration(node) || isMethodOrAccessor(node)) && isPrivateIdentifier(node.name);\n}\nfunction isPrivateIdentifierPropertyAccessExpression(node) {\n  return isPropertyAccessExpression(node) && isPrivateIdentifier(node.name);\n}\nfunction isModifierKind(token) {\n  switch (token) {\n    case 127 /* AbstractKeyword */:\n    case 128 /* AccessorKeyword */:\n    case 133 /* AsyncKeyword */:\n    case 86 /* ConstKeyword */:\n    case 137 /* DeclareKeyword */:\n    case 89 /* DefaultKeyword */:\n    case 94 /* ExportKeyword */:\n    case 102 /* InKeyword */:\n    case 124 /* PublicKeyword */:\n    case 122 /* PrivateKeyword */:\n    case 123 /* ProtectedKeyword */:\n    case 147 /* ReadonlyKeyword */:\n    case 125 /* StaticKeyword */:\n    case 146 /* OutKeyword */:\n    case 163 /* OverrideKeyword */:\n      return true;\n  }\n  return false;\n}\nfunction isParameterPropertyModifier(kind) {\n  return !!(modifierToFlag(kind) & 16476 /* ParameterPropertyModifier */);\n}\nfunction isClassMemberModifier(idToken) {\n  return isParameterPropertyModifier(idToken) || idToken === 125 /* StaticKeyword */ || idToken === 163 /* OverrideKeyword */ || idToken === 128 /* AccessorKeyword */;\n}\nfunction isModifier(node) {\n  return isModifierKind(node.kind);\n}\nfunction isEntityName(node) {\n  const kind = node.kind;\n  return kind === 165 /* QualifiedName */ || kind === 79 /* Identifier */;\n}\nfunction isPropertyName(node) {\n  const kind = node.kind;\n  return kind === 79 /* Identifier */ || kind === 80 /* PrivateIdentifier */ || kind === 10 /* StringLiteral */ || kind === 8 /* NumericLiteral */ || kind === 166 /* ComputedPropertyName */;\n}\nfunction isBindingName(node) {\n  const kind = node.kind;\n  return kind === 79 /* Identifier */ || kind === 206 /* ObjectBindingPattern */ || kind === 207 /* ArrayBindingPattern */;\n}\nfunction isFunctionLike(node) {\n  return !!node && isFunctionLikeKind(node.kind);\n}\nfunction isFunctionLikeOrClassStaticBlockDeclaration(node) {\n  return !!node && (isFunctionLikeKind(node.kind) || isClassStaticBlockDeclaration(node));\n}\nfunction isFunctionLikeDeclaration(node) {\n  return node && isFunctionLikeDeclarationKind(node.kind);\n}\nfunction isBooleanLiteral(node) {\n  return node.kind === 111 /* TrueKeyword */ || node.kind === 96 /* FalseKeyword */;\n}\nfunction isFunctionLikeDeclarationKind(kind) {\n  switch (kind) {\n    case 263 /* FunctionDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 176 /* Constructor */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isFunctionLikeKind(kind) {\n  switch (kind) {\n    case 173 /* MethodSignature */:\n    case 179 /* CallSignature */:\n    case 332 /* JSDocSignature */:\n    case 180 /* ConstructSignature */:\n    case 181 /* IndexSignature */:\n    case 184 /* FunctionType */:\n    case 326 /* JSDocFunctionType */:\n    case 185 /* ConstructorType */:\n      return true;\n    default:\n      return isFunctionLikeDeclarationKind(kind);\n  }\n}\nfunction isFunctionOrModuleBlock(node) {\n  return isSourceFile(node) || isModuleBlock(node) || isBlock(node) && isFunctionLike(node.parent);\n}\nfunction isAnnotationElement(node) {\n  const kind = node.kind;\n  return kind === 172 /* AnnotationPropertyDeclaration */;\n}\nfunction isClassElement(node) {\n  const kind = node.kind;\n  return kind === 176 /* Constructor */ || kind === 171 /* PropertyDeclaration */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 181 /* IndexSignature */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 241 /* SemicolonClassElement */;\n}\nfunction isClassLike(node) {\n  return node && (node.kind === 264 /* ClassDeclaration */ || node.kind === 232 /* ClassExpression */ || node.kind === 265 /* StructDeclaration */);\n}\nfunction isStruct(node) {\n  return node && node.kind === 265 /* StructDeclaration */;\n}\nfunction isAccessor(node) {\n  return node && (node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */);\n}\nfunction isAutoAccessorPropertyDeclaration(node) {\n  return isPropertyDeclaration(node) && hasAccessorModifier(node);\n}\nfunction isMethodOrAccessor(node) {\n  switch (node.kind) {\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isNamedClassElement(node) {\n  switch (node.kind) {\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 171 /* PropertyDeclaration */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isModifierLike(node) {\n  return isModifier(node) || isDecoratorOrAnnotation(node);\n}\nfunction isTypeElement(node) {\n  const kind = node.kind;\n  return kind === 180 /* ConstructSignature */ || kind === 179 /* CallSignature */ || kind === 170 /* PropertySignature */ || kind === 173 /* MethodSignature */ || kind === 181 /* IndexSignature */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */;\n}\nfunction isClassOrTypeElement(node) {\n  return isTypeElement(node) || isClassElement(node);\n}\nfunction isObjectLiteralElementLike(node) {\n  const kind = node.kind;\n  return kind === 305 /* PropertyAssignment */ || kind === 306 /* ShorthandPropertyAssignment */ || kind === 307 /* SpreadAssignment */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */;\n}\nfunction isTypeNode(node) {\n  return isTypeNodeKind(node.kind);\n}\nfunction isFunctionOrConstructorTypeNode(node) {\n  switch (node.kind) {\n    case 184 /* FunctionType */:\n    case 185 /* ConstructorType */:\n      return true;\n  }\n  return false;\n}\nfunction isBindingPattern(node) {\n  if (node) {\n    const kind = node.kind;\n    return kind === 207 /* ArrayBindingPattern */ || kind === 206 /* ObjectBindingPattern */;\n  }\n  return false;\n}\nfunction isAssignmentPattern(node) {\n  const kind = node.kind;\n  return kind === 209 /* ArrayLiteralExpression */ || kind === 210 /* ObjectLiteralExpression */;\n}\nfunction isArrayBindingElement(node) {\n  const kind = node.kind;\n  return kind === 208 /* BindingElement */ || kind === 233 /* OmittedExpression */;\n}\nfunction isDeclarationBindingElement(bindingElement) {\n  switch (bindingElement.kind) {\n    case 261 /* VariableDeclaration */:\n    case 168 /* Parameter */:\n    case 208 /* BindingElement */:\n      return true;\n  }\n  return false;\n}\nfunction isBindingOrAssignmentPattern(node) {\n  return isObjectBindingOrAssignmentPattern(node) || isArrayBindingOrAssignmentPattern(node);\n}\nfunction isObjectBindingOrAssignmentPattern(node) {\n  switch (node.kind) {\n    case 206 /* ObjectBindingPattern */:\n    case 210 /* ObjectLiteralExpression */:\n      return true;\n  }\n  return false;\n}\nfunction isObjectBindingOrAssignmentElement(node) {\n  switch (node.kind) {\n    case 208 /* BindingElement */:\n    case 305 /* PropertyAssignment */:\n    case 306 /* ShorthandPropertyAssignment */:\n    case 307 /* SpreadAssignment */:\n      return true;\n  }\n  return false;\n}\nfunction isArrayBindingOrAssignmentPattern(node) {\n  switch (node.kind) {\n    case 207 /* ArrayBindingPattern */:\n    case 209 /* ArrayLiteralExpression */:\n      return true;\n  }\n  return false;\n}\nfunction isPropertyAccessOrQualifiedNameOrImportTypeNode(node) {\n  const kind = node.kind;\n  return kind === 211 /* PropertyAccessExpression */ || kind === 165 /* QualifiedName */ || kind === 205 /* ImportType */;\n}\nfunction isPropertyAccessOrQualifiedName(node) {\n  const kind = node.kind;\n  return kind === 211 /* PropertyAccessExpression */ || kind === 165 /* QualifiedName */;\n}\nfunction isCallLikeExpression(node) {\n  switch (node.kind) {\n    case 289 /* JsxOpeningElement */:\n    case 288 /* JsxSelfClosingElement */:\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n    case 215 /* TaggedTemplateExpression */:\n    case 169 /* Decorator */:\n    case 220 /* EtsComponentExpression */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isCallOrNewExpression(node) {\n  return node.kind === 213 /* CallExpression */ || node.kind === 214 /* NewExpression */;\n}\nfunction isTemplateLiteral(node) {\n  const kind = node.kind;\n  return kind === 229 /* TemplateExpression */ || kind === 14 /* NoSubstitutionTemplateLiteral */;\n}\nfunction isLeftHandSideExpression(node) {\n  return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(node).kind);\n}\nfunction isLeftHandSideExpressionKind(kind) {\n  switch (kind) {\n    case 211 /* PropertyAccessExpression */:\n    case 212 /* ElementAccessExpression */:\n    case 214 /* NewExpression */:\n    case 213 /* CallExpression */:\n    case 287 /* JsxElement */:\n    case 288 /* JsxSelfClosingElement */:\n    case 291 /* JsxFragment */:\n    case 215 /* TaggedTemplateExpression */:\n    case 209 /* ArrayLiteralExpression */:\n    case 217 /* ParenthesizedExpression */:\n    case 210 /* ObjectLiteralExpression */:\n    case 232 /* ClassExpression */:\n    case 218 /* FunctionExpression */:\n    case 220 /* EtsComponentExpression */:\n    case 79 /* Identifier */:\n    case 80 /* PrivateIdentifier */:\n    case 13 /* RegularExpressionLiteral */:\n    case 8 /* NumericLiteral */:\n    case 9 /* BigIntLiteral */:\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 229 /* TemplateExpression */:\n    case 96 /* FalseKeyword */:\n    case 105 /* NullKeyword */:\n    case 109 /* ThisKeyword */:\n    case 111 /* TrueKeyword */:\n    case 107 /* SuperKeyword */:\n    case 236 /* NonNullExpression */:\n    case 234 /* ExpressionWithTypeArguments */:\n    case 237 /* MetaProperty */:\n    case 101 /* ImportKeyword */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isUnaryExpression(node) {\n  return isUnaryExpressionKind(skipPartiallyEmittedExpressions(node).kind);\n}\nfunction isUnaryExpressionKind(kind) {\n  switch (kind) {\n    case 225 /* PrefixUnaryExpression */:\n    case 226 /* PostfixUnaryExpression */:\n    case 221 /* DeleteExpression */:\n    case 222 /* TypeOfExpression */:\n    case 223 /* VoidExpression */:\n    case 224 /* AwaitExpression */:\n    case 216 /* TypeAssertionExpression */:\n      return true;\n    default:\n      return isLeftHandSideExpressionKind(kind);\n  }\n}\nfunction isUnaryExpressionWithWrite(expr) {\n  switch (expr.kind) {\n    case 226 /* PostfixUnaryExpression */:\n      return true;\n    case 225 /* PrefixUnaryExpression */:\n      return expr.operator === 45 /* PlusPlusToken */ || expr.operator === 46 /* MinusMinusToken */;\n    default:\n      return false;\n  }\n}\nfunction isExpression(node) {\n  return isExpressionKind(skipPartiallyEmittedExpressions(node).kind);\n}\nfunction isExpressionKind(kind) {\n  switch (kind) {\n    case 228 /* ConditionalExpression */:\n    case 230 /* YieldExpression */:\n    case 219 /* ArrowFunction */:\n    case 227 /* BinaryExpression */:\n    case 231 /* SpreadElement */:\n    case 235 /* AsExpression */:\n    case 233 /* OmittedExpression */:\n    case 360 /* CommaListExpression */:\n    case 359 /* PartiallyEmittedExpression */:\n    case 239 /* SatisfiesExpression */:\n      return true;\n    default:\n      return isUnaryExpressionKind(kind);\n  }\n}\nfunction isAssertionExpression(node) {\n  const kind = node.kind;\n  return kind === 216 /* TypeAssertionExpression */ || kind === 235 /* AsExpression */;\n}\nfunction isNotEmittedOrPartiallyEmittedNode(node) {\n  return isNotEmittedStatement(node) || isPartiallyEmittedExpression(node);\n}\nfunction isIterationStatement(node, lookInLabeledStatements) {\n  switch (node.kind) {\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n    case 247 /* DoStatement */:\n    case 248 /* WhileStatement */:\n      return true;\n    case 257 /* LabeledStatement */:\n      return lookInLabeledStatements && isIterationStatement(node.statement, lookInLabeledStatements);\n  }\n  return false;\n}\nfunction isScopeMarker(node) {\n  return isExportAssignment(node) || isExportDeclaration(node);\n}\nfunction hasScopeMarker(statements) {\n  return some(statements, isScopeMarker);\n}\nfunction needsScopeMarker(result) {\n  return !isAnyImportOrReExport(result) && !isExportAssignment(result) && !hasSyntacticModifier(result, 1 /* Export */) && !isAmbientModule(result);\n}\nfunction isExternalModuleIndicator(result) {\n  return isAnyImportOrReExport(result) || isExportAssignment(result) || hasSyntacticModifier(result, 1 /* Export */);\n}\nfunction isOnlyAnnotationsAreExportedOrImported(s, resolver) {\n  if (!isInEtsFile(s)) {\n    return false;\n  }\n  const exports = getExportStatements(s);\n  const imports = s.imports;\n  if (exports.length === 0 && imports.length === 0) {\n    return false;\n  }\n  return allExportsAreAnnotations(exports, resolver) && allImportsAreAnnotations(imports, resolver);\n}\nfunction getExportStatements(s) {\n  return mapDefined(s.statements, (s2) => {\n    const os = getOriginalNode(s2);\n    return isExternalModuleIndicator(os) ? os : void 0;\n  });\n}\nfunction allExportsAreAnnotations(exports, resolver) {\n  return every(exports, (e) => {\n    if (isAnnotationDeclaration(e)) {\n      return true;\n    } else if (isExportDeclaration(e) && e.exportClause && isNamedExports(e.exportClause)) {\n      return e.exportClause.elements.length > 0 && every(e.exportClause.elements, (e2) => resolver.isReferredToAnnotation(e2) === true);\n    } else if (isExportAssignment(e) && resolver.isReferredToAnnotation(e) === true) {\n      return true;\n    } else if (isImportDeclaration(e) && e.importClause && e.importClause.namedBindings && isNamedImports(e.importClause.namedBindings)) {\n      return e.importClause.namedBindings.elements.length > 0 && every(e.importClause.namedBindings.elements, (e2) => resolver.isReferredToAnnotation(e2) === true);\n    }\n    return false;\n  });\n}\nfunction allImportsAreAnnotations(imports, resolver) {\n  return every(imports, (i) => {\n    if (isImportDeclaration(i.parent) && i.parent.importClause && i.parent.importClause.namedBindings && isNamedImports(i.parent.importClause.namedBindings)) {\n      return i.parent.importClause.namedBindings.elements.length > 0 && every(i.parent.importClause.namedBindings.elements, (e) => resolver.isReferredToAnnotation(e) === true);\n    } else if (isExportDeclaration(i.parent) && i.parent.exportClause && isNamedExports(i.parent.exportClause)) {\n      return i.parent.exportClause.elements.length > 0 && every(i.parent.exportClause.elements, (e) => resolver.isReferredToAnnotation(e) === true);\n    }\n    return false;\n  });\n}\nfunction isForInOrOfStatement(node) {\n  return node.kind === 250 /* ForInStatement */ || node.kind === 251 /* ForOfStatement */;\n}\nfunction isConciseBody(node) {\n  return isBlock(node) || isExpression(node);\n}\nfunction isFunctionBody(node) {\n  return isBlock(node);\n}\nfunction isForInitializer(node) {\n  return isVariableDeclarationList(node) || isExpression(node);\n}\nfunction isModuleBody(node) {\n  const kind = node.kind;\n  return kind === 271 /* ModuleBlock */ || kind === 270 /* ModuleDeclaration */ || kind === 79 /* Identifier */;\n}\nfunction isNamespaceBody(node) {\n  const kind = node.kind;\n  return kind === 271 /* ModuleBlock */ || kind === 270 /* ModuleDeclaration */;\n}\nfunction isJSDocNamespaceBody(node) {\n  const kind = node.kind;\n  return kind === 79 /* Identifier */ || kind === 270 /* ModuleDeclaration */;\n}\nfunction isNamedImportBindings(node) {\n  const kind = node.kind;\n  return kind === 278 /* NamedImports */ || kind === 277 /* NamespaceImport */;\n}\nfunction isModuleOrEnumDeclaration(node) {\n  return node.kind === 270 /* ModuleDeclaration */ || node.kind === 269 /* EnumDeclaration */;\n}\nfunction isDeclarationKind(kind) {\n  return kind === 219 /* ArrowFunction */ || kind === 208 /* BindingElement */ || kind === 264 /* ClassDeclaration */ || kind === 232 /* ClassExpression */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 265 /* StructDeclaration */ || kind === 266 /* AnnotationDeclaration */ || kind === 176 /* Constructor */ || kind === 269 /* EnumDeclaration */ || kind === 308 /* EnumMember */ || kind === 284 /* ExportSpecifier */ || kind === 263 /* FunctionDeclaration */ || kind === 218 /* FunctionExpression */ || kind === 177 /* GetAccessor */ || kind === 276 /* ImportClause */ || kind === 274 /* ImportEqualsDeclaration */ || kind === 279 /* ImportSpecifier */ || kind === 267 /* InterfaceDeclaration */ || kind === 294 /* JsxAttribute */ || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 270 /* ModuleDeclaration */ || kind === 273 /* NamespaceExportDeclaration */ || kind === 277 /* NamespaceImport */ || kind === 283 /* NamespaceExport */ || kind === 168 /* Parameter */ || kind === 305 /* PropertyAssignment */ || kind === 171 /* PropertyDeclaration */ || kind === 172 /* AnnotationPropertyDeclaration */ || kind === 170 /* PropertySignature */ || kind === 178 /* SetAccessor */ || kind === 306 /* ShorthandPropertyAssignment */ || kind === 268 /* TypeAliasDeclaration */ || kind === 167 /* TypeParameter */ || kind === 261 /* VariableDeclaration */ || kind === 354 /* JSDocTypedefTag */ || kind === 347 /* JSDocCallbackTag */ || kind === 356 /* JSDocPropertyTag */;\n}\nfunction isDeclarationStatementKind(kind) {\n  return kind === 263 /* FunctionDeclaration */ || kind === 285 /* MissingDeclaration */ || kind === 264 /* ClassDeclaration */ || kind === 265 /* StructDeclaration */ || kind === 266 /* AnnotationDeclaration */ || kind === 267 /* InterfaceDeclaration */ || kind === 268 /* TypeAliasDeclaration */ || kind === 269 /* EnumDeclaration */ || kind === 270 /* ModuleDeclaration */ || kind === 275 /* ImportDeclaration */ || kind === 274 /* ImportEqualsDeclaration */ || kind === 281 /* ExportDeclaration */ || kind === 280 /* ExportAssignment */ || kind === 273 /* NamespaceExportDeclaration */;\n}\nfunction isStatementKindButNotDeclarationKind(kind) {\n  return kind === 253 /* BreakStatement */ || kind === 252 /* ContinueStatement */ || kind === 260 /* DebuggerStatement */ || kind === 247 /* DoStatement */ || kind === 245 /* ExpressionStatement */ || kind === 243 /* EmptyStatement */ || kind === 250 /* ForInStatement */ || kind === 251 /* ForOfStatement */ || kind === 249 /* ForStatement */ || kind === 246 /* IfStatement */ || kind === 257 /* LabeledStatement */ || kind === 254 /* ReturnStatement */ || kind === 256 /* SwitchStatement */ || kind === 258 /* ThrowStatement */ || kind === 259 /* TryStatement */ || kind === 244 /* VariableStatement */ || kind === 248 /* WhileStatement */ || kind === 255 /* WithStatement */ || kind === 358 /* NotEmittedStatement */ || kind === 362 /* EndOfDeclarationMarker */ || kind === 361 /* MergeDeclarationMarker */;\n}\nfunction isDeclaration(node) {\n  if (node.kind === 167 /* TypeParameter */) {\n    return node.parent && node.parent.kind !== 353 /* JSDocTemplateTag */ || isInJSFile(node);\n  }\n  return isDeclarationKind(node.kind);\n}\nfunction isDeclarationStatement(node) {\n  return isDeclarationStatementKind(node.kind);\n}\nfunction isStatementButNotDeclaration(node) {\n  return isStatementKindButNotDeclarationKind(node.kind);\n}\nfunction isStatement(node) {\n  const kind = node.kind;\n  return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || isBlockStatement(node);\n}\nfunction isBlockStatement(node) {\n  if (node.kind !== 242 /* Block */)\n    return false;\n  if (node.parent !== void 0) {\n    if (node.parent.kind === 259 /* TryStatement */ || node.parent.kind === 301 /* CatchClause */) {\n      return false;\n    }\n  }\n  return !isFunctionBlock(node);\n}\nfunction isStatementOrBlock(node) {\n  const kind = node.kind;\n  return isStatementKindButNotDeclarationKind(kind) || isDeclarationStatementKind(kind) || kind === 242 /* Block */;\n}\nfunction isModuleReference(node) {\n  const kind = node.kind;\n  return kind === 286 /* ExternalModuleReference */ || kind === 165 /* QualifiedName */ || kind === 79 /* Identifier */;\n}\nfunction isJsxTagNameExpression(node) {\n  const kind = node.kind;\n  return kind === 109 /* ThisKeyword */ || kind === 79 /* Identifier */ || kind === 211 /* PropertyAccessExpression */;\n}\nfunction isJsxChild(node) {\n  const kind = node.kind;\n  return kind === 287 /* JsxElement */ || kind === 297 /* JsxExpression */ || kind === 288 /* JsxSelfClosingElement */ || kind === 11 /* JsxText */ || kind === 291 /* JsxFragment */;\n}\nfunction isJsxAttributeLike(node) {\n  const kind = node.kind;\n  return kind === 294 /* JsxAttribute */ || kind === 296 /* JsxSpreadAttribute */;\n}\nfunction isStringLiteralOrJsxExpression(node) {\n  const kind = node.kind;\n  return kind === 10 /* StringLiteral */ || kind === 297 /* JsxExpression */;\n}\nfunction isJsxOpeningLikeElement(node) {\n  const kind = node.kind;\n  return kind === 289 /* JsxOpeningElement */ || kind === 288 /* JsxSelfClosingElement */;\n}\nfunction isCaseOrDefaultClause(node) {\n  const kind = node.kind;\n  return kind === 298 /* CaseClause */ || kind === 299 /* DefaultClause */;\n}\nfunction isJSDocNode(node) {\n  return node.kind >= 318 /* FirstJSDocNode */ && node.kind <= 356 /* LastJSDocNode */;\n}\nfunction isJSDocCommentContainingNode(node) {\n  return node.kind === 329 /* JSDoc */ || node.kind === 328 /* JSDocNamepathType */ || node.kind === 330 /* JSDocText */ || isJSDocLinkLike(node) || isJSDocTag(node) || isJSDocTypeLiteral(node) || isJSDocSignature(node);\n}\nfunction isJSDocTag(node) {\n  return node.kind >= 336 /* FirstJSDocTagNode */ && node.kind <= 356 /* LastJSDocTagNode */;\n}\nfunction isSetAccessor(node) {\n  return node.kind === 178 /* SetAccessor */;\n}\nfunction isGetAccessor(node) {\n  return node.kind === 177 /* GetAccessor */;\n}\nfunction hasJSDocNodes(node) {\n  const { jsDoc } = node;\n  return !!jsDoc && jsDoc.length > 0;\n}\nfunction hasType(node) {\n  return !!node.type;\n}\nfunction hasInitializer(node) {\n  return !!node.initializer;\n}\nfunction hasOnlyExpressionInitializer(node) {\n  switch (node.kind) {\n    case 261 /* VariableDeclaration */:\n    case 168 /* Parameter */:\n    case 208 /* BindingElement */:\n    case 171 /* PropertyDeclaration */:\n    case 172 /* AnnotationPropertyDeclaration */:\n    case 305 /* PropertyAssignment */:\n    case 308 /* EnumMember */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isObjectLiteralElement(node) {\n  return node.kind === 294 /* JsxAttribute */ || node.kind === 296 /* JsxSpreadAttribute */ || isObjectLiteralElementLike(node);\n}\nfunction isTypeReferenceType(node) {\n  return node.kind === 183 /* TypeReference */ || node.kind === 234 /* ExpressionWithTypeArguments */;\n}\nvar MAX_SMI_X86 = 1073741823;\nfunction guessIndentation(lines) {\n  let indentation = MAX_SMI_X86;\n  for (const line of lines) {\n    if (!line.length) {\n      continue;\n    }\n    let i = 0;\n    for (; i < line.length && i < indentation; i++) {\n      if (!isWhiteSpaceLike(line.charCodeAt(i))) {\n        break;\n      }\n    }\n    if (i < indentation) {\n      indentation = i;\n    }\n    if (indentation === 0) {\n      return 0;\n    }\n  }\n  return indentation === MAX_SMI_X86 ? void 0 : indentation;\n}\nfunction isStringLiteralLike(node) {\n  return node.kind === 10 /* StringLiteral */ || node.kind === 14 /* NoSubstitutionTemplateLiteral */;\n}\nfunction isJSDocLinkLike(node) {\n  return node.kind === 333 /* JSDocLink */ || node.kind === 334 /* JSDocLinkCode */ || node.kind === 335 /* JSDocLinkPlain */;\n}\nfunction hasRestParameter(s) {\n  const last2 = lastOrUndefined(s.parameters);\n  return !!last2 && isRestParameter(last2);\n}\nfunction isRestParameter(node) {\n  const type = isJSDocParameterTag(node) ? node.typeExpression && node.typeExpression.type : node.type;\n  return node.dotDotDotToken !== void 0 || !!type && type.kind === 327 /* JSDocVariadicType */;\n}\nvar _MemoryUtils = class {\n  static tryGC() {\n    if (!(global && global.gc && typeof global.gc === \"function\")) {\n      return;\n    }\n    const currentMemory = process.memoryUsage().heapUsed;\n    if (_MemoryUtils.baseMemorySize === void 0 || currentMemory - _MemoryUtils.baseMemorySize > _MemoryUtils.memoryGCThreshold) {\n      global.gc();\n      _MemoryUtils.updateBaseMemory();\n      return;\n    }\n    if (_MemoryUtils.baseMemorySize > currentMemory) {\n      _MemoryUtils.updateBaseMemory(currentMemory);\n      return;\n    }\n  }\n  static initializeBaseMemory(baseMemorySize) {\n    const currentMemory = process.memoryUsage().heapUsed;\n    _MemoryUtils.baseMemorySize = baseMemorySize ? baseMemorySize : currentMemory;\n  }\n  static updateBaseMemory(currentMemory) {\n    currentMemory = currentMemory != null ? currentMemory : process.memoryUsage().heapUsed;\n    const targetGCThreshold = currentMemory * _MemoryUtils.GC_THRESHOLD_RATIO;\n    _MemoryUtils.memoryGCThreshold = Math.max(targetGCThreshold, _MemoryUtils.MIN_GC_THRESHOLD);\n    _MemoryUtils.baseMemorySize = currentMemory;\n  }\n};\nvar MemoryUtils = _MemoryUtils;\nMemoryUtils.baseMemorySize = void 0;\nMemoryUtils.MIN_GC_THRESHOLD = 256 * 1024 * 1024;\nMemoryUtils.memoryGCThreshold = _MemoryUtils.MIN_GC_THRESHOLD;\nMemoryUtils.GC_THRESHOLD_RATIO = 0.3;\n\n// src/compiler/utilities.ts\nvar resolvingEmptyArray = [];\nvar externalHelpersModuleNameText = \"tslib\";\nvar defaultMaximumTruncationLength = 160;\nvar noTruncationMaximumTruncationLength = 1e6;\nfunction getDeclarationOfKind(symbol, kind) {\n  const declarations = symbol.declarations;\n  if (declarations) {\n    for (const declaration of declarations) {\n      if (declaration.kind === kind) {\n        return declaration;\n      }\n    }\n  }\n  return void 0;\n}\nfunction getDeclarationsOfKind(symbol, kind) {\n  return filter(symbol.declarations || emptyArray, (d) => d.kind === kind);\n}\nfunction createSymbolTable(symbols) {\n  const result = new Map2();\n  if (symbols) {\n    for (const symbol of symbols) {\n      result.set(symbol.escapedName, symbol);\n    }\n  }\n  return result;\n}\nfunction isTransientSymbol(symbol) {\n  return (symbol.flags & 33554432 /* Transient */) !== 0;\n}\nvar stringWriter = createSingleLineStringWriter();\nfunction createSingleLineStringWriter() {\n  var str = \"\";\n  const writeText = (text) => str += text;\n  return {\n    getText: () => str,\n    write: writeText,\n    rawWrite: writeText,\n    writeKeyword: writeText,\n    writeOperator: writeText,\n    writePunctuation: writeText,\n    writeSpace: writeText,\n    writeStringLiteral: writeText,\n    writeLiteral: writeText,\n    writeParameter: writeText,\n    writeProperty: writeText,\n    writeSymbol: (s, _) => writeText(s),\n    writeTrailingSemicolon: writeText,\n    writeComment: writeText,\n    getTextPos: () => str.length,\n    getLine: () => 0,\n    getColumn: () => 0,\n    getIndent: () => 0,\n    isAtStartOfLine: () => false,\n    hasTrailingComment: () => false,\n    hasTrailingWhitespace: () => !!str.length && isWhiteSpaceLike(str.charCodeAt(str.length - 1)),\n    writeLine: () => str += \" \",\n    increaseIndent: noop,\n    decreaseIndent: noop,\n    clear: () => str = \"\",\n    trackSymbol: () => false,\n    reportInaccessibleThisError: noop,\n    reportInaccessibleUniqueSymbolError: noop,\n    reportPrivateInBaseOfClassExpression: noop\n  };\n}\nfunction changesAffectModuleResolution(oldOptions, newOptions) {\n  return oldOptions.configFilePath !== newOptions.configFilePath || optionsHaveModuleResolutionChanges(oldOptions, newOptions);\n}\nfunction optionsHaveModuleResolutionChanges(oldOptions, newOptions) {\n  return optionsHaveChanges(oldOptions, newOptions, moduleResolutionOptionDeclarations);\n}\nfunction changesAffectingProgramStructure(oldOptions, newOptions) {\n  return optionsHaveChanges(oldOptions, newOptions, optionsAffectingProgramStructure);\n}\nfunction optionsHaveChanges(oldOptions, newOptions, optionDeclarations2) {\n  return oldOptions !== newOptions && optionDeclarations2.some((o) => !isJsonEqual(getCompilerOptionValue(oldOptions, o), getCompilerOptionValue(newOptions, o)));\n}\nfunction forEachAncestor(node, callback) {\n  while (true) {\n    const res = callback(node);\n    if (res === \"quit\")\n      return void 0;\n    if (res !== void 0)\n      return res;\n    if (isSourceFile(node))\n      return void 0;\n    node = node.parent;\n  }\n}\nfunction forEachEntry(map2, callback) {\n  const iterator = map2.entries();\n  for (let iterResult = iterator.next(); !iterResult.done; iterResult = iterator.next()) {\n    const [key, value] = iterResult.value;\n    const result = callback(value, key);\n    if (result) {\n      return result;\n    }\n  }\n  return void 0;\n}\nfunction forEachKey(map2, callback) {\n  const iterator = map2.keys();\n  for (let iterResult = iterator.next(); !iterResult.done; iterResult = iterator.next()) {\n    const result = callback(iterResult.value);\n    if (result) {\n      return result;\n    }\n  }\n  return void 0;\n}\nfunction copyEntries(source, target) {\n  source.forEach((value, key) => {\n    target.set(key, value);\n  });\n}\nfunction usingSingleLineStringWriter(action) {\n  const oldString = stringWriter.getText();\n  try {\n    action(stringWriter);\n    return stringWriter.getText();\n  } finally {\n    stringWriter.clear();\n    stringWriter.writeKeyword(oldString);\n  }\n}\nfunction getFullWidth(node) {\n  return node.end - node.pos;\n}\nfunction getResolvedModule(sourceFile, moduleNameText, mode) {\n  return sourceFile && sourceFile.resolvedModules && sourceFile.resolvedModules.get(moduleNameText, mode);\n}\nfunction setResolvedModule(sourceFile, moduleNameText, resolvedModule, mode) {\n  if (!sourceFile.resolvedModules) {\n    sourceFile.resolvedModules = createModeAwareCache();\n  }\n  sourceFile.resolvedModules.set(moduleNameText, mode, resolvedModule);\n}\nfunction setResolvedTypeReferenceDirective(sourceFile, typeReferenceDirectiveName, resolvedTypeReferenceDirective) {\n  if (!sourceFile.resolvedTypeReferenceDirectiveNames) {\n    sourceFile.resolvedTypeReferenceDirectiveNames = createModeAwareCache();\n  }\n  sourceFile.resolvedTypeReferenceDirectiveNames.set(typeReferenceDirectiveName, void 0, resolvedTypeReferenceDirective);\n}\nfunction projectReferenceIsEqualTo(oldRef, newRef) {\n  return oldRef.path === newRef.path && !oldRef.prepend === !newRef.prepend && !oldRef.circular === !newRef.circular;\n}\nfunction moduleResolutionIsEqualTo(oldResolution, newResolution) {\n  return oldResolution.isExternalLibraryImport === newResolution.isExternalLibraryImport && oldResolution.extension === newResolution.extension && oldResolution.resolvedFileName === newResolution.resolvedFileName && oldResolution.originalPath === newResolution.originalPath && packageIdIsEqual(oldResolution.packageId, newResolution.packageId);\n}\nfunction packageIdIsEqual(a, b) {\n  return a === b || !!a && !!b && a.name === b.name && a.subModuleName === b.subModuleName && a.version === b.version;\n}\nfunction packageIdToPackageName({ name, subModuleName }) {\n  return subModuleName ? `${name}/${subModuleName}` : name;\n}\nfunction packageIdToString(packageId) {\n  return `${packageIdToPackageName(packageId)}@${packageId.version}`;\n}\nfunction typeDirectiveIsEqualTo(oldResolution, newResolution) {\n  return oldResolution.resolvedFileName === newResolution.resolvedFileName && oldResolution.primary === newResolution.primary && oldResolution.originalPath === newResolution.originalPath;\n}\nfunction hasChangesInResolutions(names, newResolutions, oldResolutions, oldSourceFile, comparer) {\n  Debug.assert(names.length === newResolutions.length);\n  for (let i = 0; i < names.length; i++) {\n    const newResolution = newResolutions[i];\n    const entry = names[i];\n    const name = !isString(entry) ? entry.fileName.toLowerCase() : entry;\n    const mode = !isString(entry) ? getModeForFileReference(entry, oldSourceFile == null ? void 0 : oldSourceFile.impliedNodeFormat) : oldSourceFile && getModeForResolutionAtIndex(oldSourceFile, i);\n    const oldResolution = oldResolutions && oldResolutions.get(name, mode);\n    const changed = oldResolution ? !newResolution || !comparer(oldResolution, newResolution) : newResolution;\n    if (changed) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction containsParseError(node) {\n  aggregateChildData(node);\n  return (node.flags & 524288 /* ThisNodeOrAnySubNodesHasError */) !== 0;\n}\nfunction aggregateChildData(node) {\n  if (!(node.flags & 1048576 /* HasAggregatedChildData */)) {\n    const thisNodeOrAnySubNodesHasError = (node.flags & 131072 /* ThisNodeHasError */) !== 0 || forEachChild(node, containsParseError);\n    if (thisNodeOrAnySubNodesHasError) {\n      node.flags |= 524288 /* ThisNodeOrAnySubNodesHasError */;\n    }\n    node.flags |= 1048576 /* HasAggregatedChildData */;\n  }\n}\nfunction getSourceFileOfNode(node) {\n  while (node && node.kind !== 314 /* SourceFile */) {\n    node = node.parent;\n  }\n  return node;\n}\nfunction getSourceFileOfModule(module2) {\n  return getSourceFileOfNode(module2.valueDeclaration || getNonAugmentationDeclaration(module2));\n}\nfunction isPlainJsFile(file, checkJs) {\n  return !!file && (file.scriptKind === 1 /* JS */ || file.scriptKind === 2 /* JSX */) && !file.checkJsDirective && checkJs === void 0;\n}\nfunction isStatementWithLocals(node) {\n  switch (node.kind) {\n    case 242 /* Block */:\n    case 272 /* CaseBlock */:\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n      return true;\n  }\n  return false;\n}\nfunction getStartPositionOfLine(line, sourceFile) {\n  Debug.assert(line >= 0);\n  return getLineStarts(sourceFile)[line];\n}\nfunction nodePosToString(node) {\n  const file = getSourceFileOfNode(node);\n  const loc = getLineAndCharacterOfPosition(file, node.pos);\n  return `${file.fileName}(${loc.line + 1},${loc.character + 1})`;\n}\nfunction getEndLinePosition(line, sourceFile) {\n  Debug.assert(line >= 0);\n  const lineStarts = getLineStarts(sourceFile);\n  const lineIndex = line;\n  const sourceText = sourceFile.text;\n  if (lineIndex + 1 === lineStarts.length) {\n    return sourceText.length - 1;\n  } else {\n    const start = lineStarts[lineIndex];\n    let pos = lineStarts[lineIndex + 1] - 1;\n    Debug.assert(isLineBreak(sourceText.charCodeAt(pos)));\n    while (start <= pos && isLineBreak(sourceText.charCodeAt(pos))) {\n      pos--;\n    }\n    return pos;\n  }\n}\nfunction isFileLevelUniqueName(sourceFile, name, hasGlobalName) {\n  return !(hasGlobalName && hasGlobalName(name)) && !sourceFile.identifiers.has(name);\n}\nfunction nodeIsMissing(node) {\n  if (node === void 0) {\n    return true;\n  }\n  if (node.virtual) {\n    return false;\n  }\n  return node.pos === node.end && node.pos >= 0 && node.kind !== 1 /* EndOfFileToken */;\n}\nfunction nodeIsPresent(node) {\n  return !nodeIsMissing(node);\n}\nfunction insertStatementsAfterPrologue(to, from, isPrologueDirective2) {\n  if (from === void 0 || from.length === 0)\n    return to;\n  let statementIndex = 0;\n  for (; statementIndex < to.length; ++statementIndex) {\n    if (!isPrologueDirective2(to[statementIndex])) {\n      break;\n    }\n  }\n  to.splice(statementIndex, 0, ...from);\n  return to;\n}\nfunction insertStatementAfterPrologue(to, statement, isPrologueDirective2) {\n  if (statement === void 0)\n    return to;\n  let statementIndex = 0;\n  for (; statementIndex < to.length; ++statementIndex) {\n    if (!isPrologueDirective2(to[statementIndex])) {\n      break;\n    }\n  }\n  to.splice(statementIndex, 0, statement);\n  return to;\n}\nfunction isAnyPrologueDirective(node) {\n  return isPrologueDirective(node) || !!(getEmitFlags(node) & 1048576 /* CustomPrologue */);\n}\nfunction insertStatementsAfterStandardPrologue(to, from) {\n  return insertStatementsAfterPrologue(to, from, isPrologueDirective);\n}\nfunction insertStatementsAfterCustomPrologue(to, from) {\n  return insertStatementsAfterPrologue(to, from, isAnyPrologueDirective);\n}\nfunction insertStatementAfterStandardPrologue(to, statement) {\n  return insertStatementAfterPrologue(to, statement, isPrologueDirective);\n}\nfunction insertStatementAfterCustomPrologue(to, statement) {\n  return insertStatementAfterPrologue(to, statement, isAnyPrologueDirective);\n}\nfunction getEtsLibs(program) {\n  var _a2, _b;\n  const etsComponentsLibNames = [];\n  const etsComponentsLib = (_b = (_a2 = program.getCompilerOptions().ets) == null ? void 0 : _a2.libs) != null ? _b : [];\n  if (etsComponentsLib.length) {\n    forEach(etsComponentsLib, (libFileName) => {\n      etsComponentsLibNames.push(sys.resolvePath(libFileName));\n      const sourceFile = getSourceFileByName(program, libFileName);\n      forEach(sourceFile == null ? void 0 : sourceFile.referencedFiles, (ref) => {\n        const referencedFileName = sys.resolvePath(resolveTripleslashReference(ref.fileName, sourceFile.fileName));\n        etsComponentsLibNames.push(referencedFileName);\n      });\n    });\n  }\n  return etsComponentsLibNames;\n}\nfunction getSourceFileByName(program, libFileName) {\n  if (!libFileName) {\n    return void 0;\n  }\n  const originFileName = sys.resolvePath(libFileName);\n  for (const file of program.getSourceFiles()) {\n    if (!file.fileName) {\n      continue;\n    }\n    const sourceFileName = sys.resolvePath(file.fileName);\n    if (sourceFileName === originFileName) {\n      return file;\n    }\n  }\n  return void 0;\n}\nfunction isRecognizedTripleSlashComment(text, commentPos, commentEnd) {\n  if (text.charCodeAt(commentPos + 1) === 47 /* slash */ && commentPos + 2 < commentEnd && text.charCodeAt(commentPos + 2) === 47 /* slash */) {\n    const textSubStr = text.substring(commentPos, commentEnd);\n    return fullTripleSlashReferencePathRegEx.test(textSubStr) || fullTripleSlashAMDReferencePathRegEx.test(textSubStr) || fullTripleSlashReferenceTypeReferenceDirectiveRegEx.test(textSubStr) || defaultLibReferenceRegEx.test(textSubStr) ? true : false;\n  }\n  return false;\n}\nfunction isPinnedComment(text, start) {\n  return text.charCodeAt(start + 1) === 42 /* asterisk */ && text.charCodeAt(start + 2) === 33 /* exclamation */;\n}\nfunction createCommentDirectivesMap(sourceFile, commentDirectives) {\n  const directivesByLine = new Map2(\n    commentDirectives.map((commentDirective) => [\n      `${getLineAndCharacterOfPosition(sourceFile, commentDirective.range.end).line}`,\n      commentDirective\n    ])\n  );\n  const usedLines = new Map2();\n  return { getUnusedExpectations, markUsed };\n  function getUnusedExpectations() {\n    return arrayFrom(directivesByLine.entries()).filter(([line, directive]) => directive.type === 0 /* ExpectError */ && !usedLines.get(line)).map(([_, directive]) => directive);\n  }\n  function markUsed(line) {\n    if (!directivesByLine.has(`${line}`)) {\n      return false;\n    }\n    usedLines.set(`${line}`, true);\n    return true;\n  }\n}\nfunction getTokenPosOfNode(node, sourceFile, includeJsDoc) {\n  if (nodeIsMissing(node)) {\n    return node.pos;\n  }\n  if (isJSDocNode(node) || node.kind === 11 /* JsxText */) {\n    return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, node.pos, false, true);\n  }\n  if (includeJsDoc && hasJSDocNodes(node)) {\n    return getTokenPosOfNode(node.jsDoc[0], sourceFile);\n  }\n  if (node.kind === 357 /* SyntaxList */ && node._children.length > 0) {\n    return getTokenPosOfNode(node._children[0], sourceFile, includeJsDoc);\n  }\n  return node.virtual ? node.pos : skipTrivia(\n    (sourceFile || getSourceFileOfNode(node)).text,\n    node.pos,\n    false,\n    false,\n    isInJSDoc(node)\n  );\n}\nfunction getNonDecoratorTokenPosOfNode(node, sourceFile) {\n  const lastDecorator = !nodeIsMissing(node) && canHaveModifiers(node) ? findLast(node.modifiers, isDecorator) : void 0;\n  if (!lastDecorator) {\n    return getTokenPosOfNode(node, sourceFile);\n  }\n  return skipTrivia((sourceFile || getSourceFileOfNode(node)).text, lastDecorator.end);\n}\nfunction getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia = false) {\n  return getTextOfNodeFromSourceText(sourceFile.text, node, includeTrivia);\n}\nfunction isJSDocTypeExpressionOrChild(node) {\n  return !!findAncestor(node, isJSDocTypeExpression);\n}\nfunction isExportNamespaceAsDefaultDeclaration(node) {\n  return !!(isExportDeclaration(node) && node.exportClause && isNamespaceExport(node.exportClause) && node.exportClause.name.escapedText === \"default\");\n}\nfunction getTextOfNodeFromSourceText(sourceText, node, includeTrivia = false) {\n  if (nodeIsMissing(node)) {\n    return \"\";\n  }\n  let text = sourceText.substring(includeTrivia ? node.pos : skipTrivia(sourceText, node.pos), node.end);\n  if (isJSDocTypeExpressionOrChild(node)) {\n    text = text.split(/\\r\\n|\\n|\\r/).map((line) => trimStringStart(line.replace(/^\\s*\\*/, \"\"))).join(\"\\n\");\n  }\n  return text;\n}\nfunction getTextOfNode(node, includeTrivia = false) {\n  return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(node), node, includeTrivia);\n}\nfunction getPos(range) {\n  return range.pos;\n}\nfunction indexOfNode(nodeArray, node) {\n  return binarySearch(nodeArray, node, getPos, compareValues);\n}\nfunction getEmitFlags(node) {\n  const emitNode = node.emitNode;\n  return emitNode && emitNode.flags || 0;\n}\nfunction getScriptTargetFeatures() {\n  return {\n    es2015: {\n      Array: [\"find\", \"findIndex\", \"fill\", \"copyWithin\", \"entries\", \"keys\", \"values\"],\n      RegExp: [\"flags\", \"sticky\", \"unicode\"],\n      Reflect: [\"apply\", \"construct\", \"defineProperty\", \"deleteProperty\", \"get\", \" getOwnPropertyDescriptor\", \"getPrototypeOf\", \"has\", \"isExtensible\", \"ownKeys\", \"preventExtensions\", \"set\", \"setPrototypeOf\"],\n      ArrayConstructor: [\"from\", \"of\"],\n      ObjectConstructor: [\"assign\", \"getOwnPropertySymbols\", \"keys\", \"is\", \"setPrototypeOf\"],\n      NumberConstructor: [\"isFinite\", \"isInteger\", \"isNaN\", \"isSafeInteger\", \"parseFloat\", \"parseInt\"],\n      Math: [\"clz32\", \"imul\", \"sign\", \"log10\", \"log2\", \"log1p\", \"expm1\", \"cosh\", \"sinh\", \"tanh\", \"acosh\", \"asinh\", \"atanh\", \"hypot\", \"trunc\", \"fround\", \"cbrt\"],\n      Map: [\"entries\", \"keys\", \"values\"],\n      Set: [\"entries\", \"keys\", \"values\"],\n      Promise: emptyArray,\n      PromiseConstructor: [\"all\", \"race\", \"reject\", \"resolve\"],\n      Symbol: [\"for\", \"keyFor\"],\n      WeakMap: [\"entries\", \"keys\", \"values\"],\n      WeakSet: [\"entries\", \"keys\", \"values\"],\n      Iterator: emptyArray,\n      AsyncIterator: emptyArray,\n      String: [\"codePointAt\", \"includes\", \"endsWith\", \"normalize\", \"repeat\", \"startsWith\", \"anchor\", \"big\", \"blink\", \"bold\", \"fixed\", \"fontcolor\", \"fontsize\", \"italics\", \"link\", \"small\", \"strike\", \"sub\", \"sup\"],\n      StringConstructor: [\"fromCodePoint\", \"raw\"]\n    },\n    es2016: {\n      Array: [\"includes\"]\n    },\n    es2017: {\n      Atomics: emptyArray,\n      SharedArrayBuffer: emptyArray,\n      String: [\"padStart\", \"padEnd\"],\n      ObjectConstructor: [\"values\", \"entries\", \"getOwnPropertyDescriptors\"],\n      DateTimeFormat: [\"formatToParts\"]\n    },\n    es2018: {\n      Promise: [\"finally\"],\n      RegExpMatchArray: [\"groups\"],\n      RegExpExecArray: [\"groups\"],\n      RegExp: [\"dotAll\"],\n      Intl: [\"PluralRules\"],\n      AsyncIterable: emptyArray,\n      AsyncIterableIterator: emptyArray,\n      AsyncGenerator: emptyArray,\n      AsyncGeneratorFunction: emptyArray,\n      NumberFormat: [\"formatToParts\"]\n    },\n    es2019: {\n      Array: [\"flat\", \"flatMap\"],\n      ObjectConstructor: [\"fromEntries\"],\n      String: [\"trimStart\", \"trimEnd\", \"trimLeft\", \"trimRight\"],\n      Symbol: [\"description\"]\n    },\n    es2020: {\n      BigInt: emptyArray,\n      BigInt64Array: emptyArray,\n      BigUint64Array: emptyArray,\n      PromiseConstructor: [\"allSettled\"],\n      SymbolConstructor: [\"matchAll\"],\n      String: [\"matchAll\"],\n      DataView: [\"setBigInt64\", \"setBigUint64\", \"getBigInt64\", \"getBigUint64\"],\n      RelativeTimeFormat: [\"format\", \"formatToParts\", \"resolvedOptions\"]\n    },\n    es2021: {\n      PromiseConstructor: [\"any\"],\n      String: [\"replaceAll\"]\n    },\n    es2022: {\n      Array: [\"at\"],\n      String: [\"at\"],\n      Int8Array: [\"at\"],\n      Uint8Array: [\"at\"],\n      Uint8ClampedArray: [\"at\"],\n      Int16Array: [\"at\"],\n      Uint16Array: [\"at\"],\n      Int32Array: [\"at\"],\n      Uint32Array: [\"at\"],\n      Float32Array: [\"at\"],\n      Float64Array: [\"at\"],\n      BigInt64Array: [\"at\"],\n      BigUint64Array: [\"at\"],\n      ObjectConstructor: [\"hasOwn\"],\n      Error: [\"cause\"]\n    }\n  };\n}\nvar GetLiteralTextFlags = /* @__PURE__ */ ((GetLiteralTextFlags2) => {\n  GetLiteralTextFlags2[GetLiteralTextFlags2[\"None\"] = 0] = \"None\";\n  GetLiteralTextFlags2[GetLiteralTextFlags2[\"NeverAsciiEscape\"] = 1] = \"NeverAsciiEscape\";\n  GetLiteralTextFlags2[GetLiteralTextFlags2[\"JsxAttributeEscape\"] = 2] = \"JsxAttributeEscape\";\n  GetLiteralTextFlags2[GetLiteralTextFlags2[\"TerminateUnterminatedLiterals\"] = 4] = \"TerminateUnterminatedLiterals\";\n  GetLiteralTextFlags2[GetLiteralTextFlags2[\"AllowNumericSeparator\"] = 8] = \"AllowNumericSeparator\";\n  return GetLiteralTextFlags2;\n})(GetLiteralTextFlags || {});\nfunction getLiteralText(node, sourceFile, flags) {\n  var _a2;\n  if (sourceFile && canUseOriginalText(node, flags)) {\n    return getSourceTextOfNodeFromSourceFile(sourceFile, node);\n  }\n  switch (node.kind) {\n    case 10 /* StringLiteral */: {\n      const escapeText = flags & 2 /* JsxAttributeEscape */ ? escapeJsxAttributeString : flags & 1 /* NeverAsciiEscape */ || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? escapeString : escapeNonAsciiString;\n      if (node.singleQuote) {\n        return \"'\" + escapeText(node.text, 39 /* singleQuote */) + \"'\";\n      } else {\n        return '\"' + escapeText(node.text, 34 /* doubleQuote */) + '\"';\n      }\n    }\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 15 /* TemplateHead */:\n    case 16 /* TemplateMiddle */:\n    case 17 /* TemplateTail */: {\n      const escapeText = flags & 1 /* NeverAsciiEscape */ || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? escapeString : escapeNonAsciiString;\n      const rawText = (_a2 = node.rawText) != null ? _a2 : escapeTemplateSubstitution(escapeText(node.text, 96 /* backtick */));\n      switch (node.kind) {\n        case 14 /* NoSubstitutionTemplateLiteral */:\n          return \"`\" + rawText + \"`\";\n        case 15 /* TemplateHead */:\n          return \"`\" + rawText + \"${\";\n        case 16 /* TemplateMiddle */:\n          return \"}\" + rawText + \"${\";\n        case 17 /* TemplateTail */:\n          return \"}\" + rawText + \"`\";\n      }\n    }\n    case 8 /* NumericLiteral */:\n    case 9 /* BigIntLiteral */:\n      return node.text;\n    case 13 /* RegularExpressionLiteral */:\n      if (flags & 4 /* TerminateUnterminatedLiterals */ && node.isUnterminated) {\n        return node.text + (node.text.charCodeAt(node.text.length - 1) === 92 /* backslash */ ? \" /\" : \"/\");\n      }\n      return node.text;\n  }\n  return Debug.fail(`Literal kind '${node.kind}' not accounted for.`);\n}\nfunction canUseOriginalText(node, flags) {\n  if (nodeIsSynthesized(node) || !node.parent || flags & 4 /* TerminateUnterminatedLiterals */ && node.isUnterminated || node.flags & -2147483648 /* NoOriginalText */) {\n    return false;\n  }\n  if (isNumericLiteral(node) && node.numericLiteralFlags & 512 /* ContainsSeparator */) {\n    return !!(flags & 8 /* AllowNumericSeparator */);\n  }\n  return !isBigIntLiteral(node);\n}\nfunction getTextOfConstantValue(value) {\n  return isString(value) ? '\"' + escapeNonAsciiString(value) + '\"' : \"\" + value;\n}\nfunction makeIdentifierFromModuleName(moduleName) {\n  return getBaseFileName(moduleName).replace(/^(\\d)/, \"_$1\").replace(/\\W/g, \"_\");\n}\nfunction isBlockOrCatchScoped(declaration) {\n  return (getCombinedNodeFlags(declaration) & 3 /* BlockScoped */) !== 0 || isCatchClauseVariableDeclarationOrBindingElement(declaration);\n}\nfunction isCatchClauseVariableDeclarationOrBindingElement(declaration) {\n  const node = getRootDeclaration(declaration);\n  return node.kind === 261 /* VariableDeclaration */ && node.parent.kind === 301 /* CatchClause */;\n}\nfunction isAmbientModule(node) {\n  return isModuleDeclaration(node) && (node.name.kind === 10 /* StringLiteral */ || isGlobalScopeAugmentation(node));\n}\nfunction isModuleWithStringLiteralName(node) {\n  return isModuleDeclaration(node) && node.name.kind === 10 /* StringLiteral */;\n}\nfunction isNonGlobalAmbientModule(node) {\n  return isModuleDeclaration(node) && isStringLiteral(node.name);\n}\nfunction isEffectiveModuleDeclaration(node) {\n  return isModuleDeclaration(node) || isIdentifier(node);\n}\nfunction isShorthandAmbientModuleSymbol(moduleSymbol) {\n  return isShorthandAmbientModule(moduleSymbol.valueDeclaration);\n}\nfunction isShorthandAmbientModule(node) {\n  return !!node && node.kind === 270 /* ModuleDeclaration */ && !node.body;\n}\nfunction isBlockScopedContainerTopLevel(node) {\n  return node.kind === 314 /* SourceFile */ || node.kind === 270 /* ModuleDeclaration */ || isFunctionLikeOrClassStaticBlockDeclaration(node);\n}\nfunction isGlobalScopeAugmentation(module2) {\n  return !!(module2.flags & 1024 /* GlobalAugmentation */);\n}\nfunction isExternalModuleAugmentation(node) {\n  return isAmbientModule(node) && isModuleAugmentationExternal(node);\n}\nfunction isModuleAugmentationExternal(node) {\n  switch (node.parent.kind) {\n    case 314 /* SourceFile */:\n      return isExternalModule(node.parent);\n    case 271 /* ModuleBlock */:\n      return isAmbientModule(node.parent.parent) && isSourceFile(node.parent.parent.parent) && !isExternalModule(node.parent.parent.parent);\n  }\n  return false;\n}\nfunction getNonAugmentationDeclaration(symbol) {\n  var _a2;\n  return (_a2 = symbol.declarations) == null ? void 0 : _a2.find((d) => !isExternalModuleAugmentation(d) && !(isModuleDeclaration(d) && isGlobalScopeAugmentation(d)));\n}\nfunction isCommonJSContainingModuleKind(kind) {\n  return kind === 1 /* CommonJS */ || kind === 100 /* Node16 */ || kind === 199 /* NodeNext */;\n}\nfunction isEffectiveExternalModule(node, compilerOptions) {\n  return isExternalModule(node) || compilerOptions.isolatedModules || isCommonJSContainingModuleKind(getEmitModuleKind(compilerOptions)) && !!node.commonJsModuleIndicator;\n}\nfunction isEffectiveStrictModeSourceFile(node, compilerOptions) {\n  switch (node.scriptKind) {\n    case 1 /* JS */:\n    case 3 /* TS */:\n    case 2 /* JSX */:\n    case 4 /* TSX */:\n    case 8 /* ETS */:\n      break;\n    default:\n      return false;\n  }\n  if (node.isDeclarationFile) {\n    return false;\n  }\n  if (getStrictOptionValue(compilerOptions, \"alwaysStrict\")) {\n    return true;\n  }\n  if (startsWithUseStrict(node.statements)) {\n    return true;\n  }\n  if (isExternalModule(node) || compilerOptions.isolatedModules) {\n    if (getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */) {\n      return true;\n    }\n    return !compilerOptions.noImplicitUseStrict;\n  }\n  return false;\n}\nfunction isAmbientPropertyDeclaration(node) {\n  return !!(node.flags & 16777216 /* Ambient */) || hasSyntacticModifier(node, 2 /* Ambient */);\n}\nfunction isBlockScope(node, parentNode) {\n  switch (node.kind) {\n    case 314 /* SourceFile */:\n    case 272 /* CaseBlock */:\n    case 301 /* CatchClause */:\n    case 270 /* ModuleDeclaration */:\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n    case 176 /* Constructor */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 171 /* PropertyDeclaration */:\n    case 172 /* AnnotationPropertyDeclaration */:\n    case 175 /* ClassStaticBlockDeclaration */:\n      return true;\n    case 242 /* Block */:\n      return !isFunctionLikeOrClassStaticBlockDeclaration(parentNode);\n  }\n  return false;\n}\nfunction isDeclarationWithTypeParameters(node) {\n  switch (node.kind) {\n    case 347 /* JSDocCallbackTag */:\n    case 354 /* JSDocTypedefTag */:\n    case 332 /* JSDocSignature */:\n      return true;\n    default:\n      assertType(node);\n      return isDeclarationWithTypeParameterChildren(node);\n  }\n}\nfunction isDeclarationWithTypeParameterChildren(node) {\n  switch (node.kind) {\n    case 179 /* CallSignature */:\n    case 180 /* ConstructSignature */:\n    case 173 /* MethodSignature */:\n    case 181 /* IndexSignature */:\n    case 184 /* FunctionType */:\n    case 185 /* ConstructorType */:\n    case 326 /* JSDocFunctionType */:\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 232 /* ClassExpression */:\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 353 /* JSDocTemplateTag */:\n    case 263 /* FunctionDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 176 /* Constructor */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      return true;\n    default:\n      assertType(node);\n      return false;\n  }\n}\nfunction isAnyImportSyntax(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isAnyImportOrBareOrAccessedRequire(node) {\n  return isAnyImportSyntax(node) || isVariableDeclarationInitializedToBareOrAccessedRequire(node);\n}\nfunction isLateVisibilityPaintedStatement(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 244 /* VariableStatement */:\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 266 /* AnnotationDeclaration */:\n    case 263 /* FunctionDeclaration */:\n    case 270 /* ModuleDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 269 /* EnumDeclaration */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction hasPossibleExternalModuleReference(node) {\n  return isAnyImportOrReExport(node) || isModuleDeclaration(node) || isImportTypeNode(node) || isImportCall(node);\n}\nfunction isAnyImportOrReExport(node) {\n  return isAnyImportSyntax(node) || isExportDeclaration(node);\n}\nfunction getEnclosingBlockScopeContainer(node) {\n  return findAncestor(node.parent, (current) => isBlockScope(current, current.parent));\n}\nfunction forEachEnclosingBlockScopeContainer(node, cb) {\n  let container = getEnclosingBlockScopeContainer(node);\n  while (container) {\n    cb(container);\n    container = getEnclosingBlockScopeContainer(container);\n  }\n}\nfunction declarationNameToString(name) {\n  if (name && name.virtual && name.kind === 79 /* Identifier */) {\n    return name.escapedText.toString();\n  } else {\n    return !name || getFullWidth(name) === 0 ? \"(Missing)\" : getTextOfNode(name);\n  }\n}\nfunction getNameFromIndexInfo(info) {\n  return info.declaration ? declarationNameToString(info.declaration.parameters[0].name) : void 0;\n}\nfunction isComputedNonLiteralName(name) {\n  return name.kind === 166 /* ComputedPropertyName */ && !isStringOrNumericLiteralLike(name.expression);\n}\nfunction tryGetTextOfPropertyName(name) {\n  switch (name.kind) {\n    case 79 /* Identifier */:\n    case 80 /* PrivateIdentifier */:\n      return name.autoGenerateFlags ? void 0 : name.escapedText;\n    case 10 /* StringLiteral */:\n    case 8 /* NumericLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n      return escapeLeadingUnderscores(name.text);\n    case 166 /* ComputedPropertyName */:\n      if (isStringOrNumericLiteralLike(name.expression))\n        return escapeLeadingUnderscores(name.expression.text);\n      return void 0;\n    default:\n      return Debug.assertNever(name);\n  }\n}\nfunction getTextOfPropertyName(name) {\n  return Debug.checkDefined(tryGetTextOfPropertyName(name));\n}\nfunction entityNameToString(name) {\n  switch (name.kind) {\n    case 109 /* ThisKeyword */:\n      return \"this\";\n    case 80 /* PrivateIdentifier */:\n    case 79 /* Identifier */:\n      return getFullWidth(name) === 0 ? idText(name) : getTextOfNode(name);\n    case 165 /* QualifiedName */:\n      return entityNameToString(name.left) + \".\" + entityNameToString(name.right);\n    case 211 /* PropertyAccessExpression */:\n      if (isIdentifier(name.name) || isPrivateIdentifier(name.name)) {\n        return entityNameToString(name.expression) + \".\" + entityNameToString(name.name);\n      } else {\n        return Debug.assertNever(name.name);\n      }\n    case 320 /* JSDocMemberName */:\n      return entityNameToString(name.left) + entityNameToString(name.right);\n    default:\n      return Debug.assertNever(name);\n  }\n}\nfunction createDiagnosticForNode(node, message, arg0, arg1, arg2, arg3) {\n  const sourceFile = getSourceFileOfNode(node);\n  return createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2, arg3);\n}\nfunction createDiagnosticForNodeArray(sourceFile, nodes, message, arg0, arg1, arg2, arg3) {\n  const start = skipTrivia(sourceFile.text, nodes.pos);\n  return createFileDiagnostic(sourceFile, start, nodes.end - start, message, arg0, arg1, arg2, arg3);\n}\nfunction createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2, arg3) {\n  const span = getErrorSpanForNode(sourceFile, node);\n  return createFileDiagnostic(sourceFile, span.start, span.length, message, arg0, arg1, arg2, arg3);\n}\nfunction createDiagnosticForNodeFromMessageChain(node, messageChain, relatedInformation) {\n  const sourceFile = getSourceFileOfNode(node);\n  const span = getErrorSpanForNode(sourceFile, node);\n  return createFileDiagnosticFromMessageChain(sourceFile, span.start, span.length, messageChain, relatedInformation);\n}\nfunction assertDiagnosticLocation(file, start, length2) {\n  Debug.assertGreaterThanOrEqual(start, 0);\n  Debug.assertGreaterThanOrEqual(length2, 0);\n  if (file) {\n    Debug.assertLessThanOrEqual(start, file.text.length);\n    Debug.assertLessThanOrEqual(start + length2, file.text.length);\n  }\n}\nfunction createFileDiagnosticFromMessageChain(file, start, length2, messageChain, relatedInformation) {\n  assertDiagnosticLocation(file, start, length2);\n  return {\n    file,\n    start,\n    length: length2,\n    code: messageChain.code,\n    category: messageChain.category,\n    messageText: messageChain.next ? messageChain : messageChain.messageText,\n    relatedInformation\n  };\n}\nfunction createDiagnosticForFileFromMessageChain(sourceFile, messageChain, relatedInformation) {\n  return {\n    file: sourceFile,\n    start: 0,\n    length: 0,\n    code: messageChain.code,\n    category: messageChain.category,\n    messageText: messageChain.next ? messageChain : messageChain.messageText,\n    relatedInformation\n  };\n}\nfunction createDiagnosticMessageChainFromDiagnostic(diagnostic) {\n  return typeof diagnostic.messageText === \"string\" ? {\n    code: diagnostic.code,\n    category: diagnostic.category,\n    messageText: diagnostic.messageText,\n    next: diagnostic.next\n  } : diagnostic.messageText;\n}\nfunction createDiagnosticForRange(sourceFile, range, message) {\n  return {\n    file: sourceFile,\n    start: range.pos,\n    length: range.end - range.pos,\n    code: message.code,\n    category: message.category,\n    messageText: message.message\n  };\n}\nfunction getSpanOfTokenAtPosition(sourceFile, pos) {\n  const scanner2 = createScanner(sourceFile.languageVersion, true, sourceFile.languageVariant, sourceFile.text, void 0, pos);\n  scanner2.scan();\n  const start = scanner2.getTokenPos();\n  return createTextSpanFromBounds(start, scanner2.getTextPos());\n}\nfunction getErrorSpanForArrowFunction(sourceFile, node) {\n  const pos = skipTrivia(sourceFile.text, node.pos);\n  if (node.body && node.body.kind === 242 /* Block */) {\n    const { line: startLine } = getLineAndCharacterOfPosition(sourceFile, node.body.pos);\n    const { line: endLine } = getLineAndCharacterOfPosition(sourceFile, node.body.end);\n    if (startLine < endLine) {\n      return createTextSpan(pos, getEndLinePosition(startLine, sourceFile) - pos + 1);\n    }\n  }\n  return createTextSpanFromBounds(pos, node.end);\n}\nfunction getErrorSpanForNode(sourceFile, node) {\n  let errorNode = node;\n  switch (node.kind) {\n    case 314 /* SourceFile */:\n      const pos2 = skipTrivia(sourceFile.text, 0, false);\n      if (pos2 === sourceFile.text.length) {\n        return createTextSpan(0, 0);\n      }\n      return getSpanOfTokenAtPosition(sourceFile, pos2);\n    case 261 /* VariableDeclaration */:\n    case 208 /* BindingElement */:\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 270 /* ModuleDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 308 /* EnumMember */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 268 /* TypeAliasDeclaration */:\n    case 171 /* PropertyDeclaration */:\n    case 172 /* AnnotationPropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 277 /* NamespaceImport */:\n      errorNode = node.name;\n      break;\n    case 219 /* ArrowFunction */:\n      return getErrorSpanForArrowFunction(sourceFile, node);\n    case 298 /* CaseClause */:\n    case 299 /* DefaultClause */:\n      const start = skipTrivia(sourceFile.text, node.pos);\n      const end = node.statements.length > 0 ? node.statements[0].pos : node.end;\n      return createTextSpanFromBounds(start, end);\n  }\n  if (errorNode === void 0) {\n    return getSpanOfTokenAtPosition(sourceFile, node.pos);\n  }\n  Debug.assert(!isJSDoc(errorNode));\n  const isMissing = nodeIsMissing(errorNode);\n  const pos = isMissing || isJsxText(node) || node.virtual && !(node.flags & 536870912 /* KitImportFlags */) ? errorNode.pos : skipTrivia(sourceFile.text, errorNode.pos);\n  if (isMissing) {\n    Debug.assert(pos === errorNode.pos, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n    Debug.assert(pos === errorNode.end, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n  } else {\n    Debug.assert(pos >= errorNode.pos, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n    Debug.assert(pos <= errorNode.end, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809\");\n  }\n  return createTextSpanFromBounds(pos, errorNode.end);\n}\nfunction isExternalOrCommonJsModule(file) {\n  return (file.externalModuleIndicator || file.commonJsModuleIndicator) !== void 0;\n}\nfunction isJsonSourceFile(file) {\n  return file.scriptKind === 6 /* JSON */;\n}\nfunction isEmitNodeModulesFiles(emitNodeModulesFiles) {\n  return !!emitNodeModulesFiles;\n}\nfunction isEnumConst(node) {\n  return !!(getCombinedModifierFlags(node) & 2048 /* Const */);\n}\nfunction isDeclarationReadonly(declaration) {\n  return !!(getCombinedModifierFlags(declaration) & 64 /* Readonly */ && !isParameterPropertyDeclaration(declaration, declaration.parent));\n}\nfunction isVarConst(node) {\n  return !!(getCombinedNodeFlags(node) & 2 /* Const */);\n}\nfunction isLet(node) {\n  return !!(getCombinedNodeFlags(node) & 1 /* Let */);\n}\nfunction isSuperCall(n) {\n  return n.kind === 213 /* CallExpression */ && n.expression.kind === 107 /* SuperKeyword */;\n}\nfunction isImportCall(n) {\n  return n.kind === 213 /* CallExpression */ && n.expression.kind === 101 /* ImportKeyword */;\n}\nfunction isImportMeta(n) {\n  return isMetaProperty(n) && n.keywordToken === 101 /* ImportKeyword */ && n.name.escapedText === \"meta\";\n}\nfunction isLiteralImportTypeNode(n) {\n  return isImportTypeNode(n) && isLiteralTypeNode(n.argument) && isStringLiteral(n.argument.literal);\n}\nfunction isPrologueDirective(node) {\n  return node.kind === 245 /* ExpressionStatement */ && node.expression.kind === 10 /* StringLiteral */;\n}\nfunction isCustomPrologue(node) {\n  return !!(getEmitFlags(node) & 1048576 /* CustomPrologue */);\n}\nfunction isHoistedFunction(node) {\n  return isCustomPrologue(node) && isFunctionDeclaration(node);\n}\nfunction isHoistedVariable(node) {\n  return isIdentifier(node.name) && !node.initializer;\n}\nfunction isHoistedVariableStatement(node) {\n  return isCustomPrologue(node) && isVariableStatement(node) && every(node.declarationList.declarations, isHoistedVariable);\n}\nfunction getJSDocCommentRanges(node, text) {\n  const commentRanges = node.kind === 168 /* Parameter */ || node.kind === 167 /* TypeParameter */ || node.kind === 218 /* FunctionExpression */ || node.kind === 219 /* ArrowFunction */ || node.kind === 217 /* ParenthesizedExpression */ || node.kind === 261 /* VariableDeclaration */ || node.kind === 284 /* ExportSpecifier */ ? concatenate(getTrailingCommentRanges(text, node.pos), getLeadingCommentRanges(text, node.pos)) : getLeadingCommentRanges(text, node.pos);\n  return filter(commentRanges, (comment) => text.charCodeAt(comment.pos + 1) === 42 /* asterisk */ && text.charCodeAt(comment.pos + 2) === 42 /* asterisk */ && text.charCodeAt(comment.pos + 3) !== 47 /* slash */);\n}\nvar fullTripleSlashReferencePathRegEx = /^(\\/\\/\\/\\s*<reference\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;\nvar fullTripleSlashReferenceTypeReferenceDirectiveRegEx = /^(\\/\\/\\/\\s*<reference\\s+types\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;\nvar fullTripleSlashAMDReferencePathRegEx = /^(\\/\\/\\/\\s*<amd-dependency\\s+path\\s*=\\s*)(('[^']*')|(\"[^\"]*\")).*?\\/>/;\nvar defaultLibReferenceRegEx = /^(\\/\\/\\/\\s*<reference\\s+no-default-lib\\s*=\\s*)(('[^']*')|(\"[^\"]*\"))\\s*\\/>/;\nfunction isPartOfTypeNode(node) {\n  if (182 /* FirstTypeNode */ <= node.kind && node.kind <= 205 /* LastTypeNode */) {\n    return true;\n  }\n  switch (node.kind) {\n    case 132 /* AnyKeyword */:\n    case 159 /* UnknownKeyword */:\n    case 149 /* NumberKeyword */:\n    case 162 /* BigIntKeyword */:\n    case 153 /* StringKeyword */:\n    case 135 /* BooleanKeyword */:\n    case 154 /* SymbolKeyword */:\n    case 150 /* ObjectKeyword */:\n    case 157 /* UndefinedKeyword */:\n    case 145 /* NeverKeyword */:\n      return true;\n    case 115 /* VoidKeyword */:\n      return node.parent.kind !== 223 /* VoidExpression */;\n    case 234 /* ExpressionWithTypeArguments */:\n      return isHeritageClause(node.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(node);\n    case 167 /* TypeParameter */:\n      return node.parent.kind === 200 /* MappedType */ || node.parent.kind === 195 /* InferType */;\n    case 79 /* Identifier */:\n      if (node.parent.kind === 165 /* QualifiedName */ && node.parent.right === node) {\n        node = node.parent;\n      } else if (node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node) {\n        node = node.parent;\n      }\n      Debug.assert(\n        node.kind === 79 /* Identifier */ || node.kind === 165 /* QualifiedName */ || node.kind === 211 /* PropertyAccessExpression */,\n        \"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.\"\n      );\n    case 165 /* QualifiedName */:\n    case 211 /* PropertyAccessExpression */:\n    case 109 /* ThisKeyword */: {\n      const { parent: parent2 } = node;\n      if (parent2.kind === 186 /* TypeQuery */) {\n        return false;\n      }\n      if (parent2.kind === 205 /* ImportType */) {\n        return !parent2.isTypeOf;\n      }\n      if (182 /* FirstTypeNode */ <= parent2.kind && parent2.kind <= 205 /* LastTypeNode */) {\n        return true;\n      }\n      switch (parent2.kind) {\n        case 234 /* ExpressionWithTypeArguments */:\n          return isHeritageClause(parent2.parent) && !isExpressionWithTypeArgumentsInClassExtendsClause(parent2);\n        case 167 /* TypeParameter */:\n          return node === parent2.constraint;\n        case 353 /* JSDocTemplateTag */:\n          return node === parent2.constraint;\n        case 171 /* PropertyDeclaration */:\n        case 170 /* PropertySignature */:\n        case 168 /* Parameter */:\n        case 261 /* VariableDeclaration */:\n          return node === parent2.type;\n        case 263 /* FunctionDeclaration */:\n        case 218 /* FunctionExpression */:\n        case 219 /* ArrowFunction */:\n        case 176 /* Constructor */:\n        case 174 /* MethodDeclaration */:\n        case 173 /* MethodSignature */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          return node === parent2.type;\n        case 179 /* CallSignature */:\n        case 180 /* ConstructSignature */:\n        case 181 /* IndexSignature */:\n          return node === parent2.type;\n        case 216 /* TypeAssertionExpression */:\n          return node === parent2.type;\n        case 213 /* CallExpression */:\n        case 214 /* NewExpression */:\n          return contains(parent2.typeArguments, node);\n        case 215 /* TaggedTemplateExpression */:\n          return false;\n      }\n    }\n  }\n  return false;\n}\nfunction isChildOfNodeWithKind(node, kind) {\n  while (node) {\n    if (node.kind === kind) {\n      return true;\n    }\n    node = node.parent;\n  }\n  return false;\n}\nfunction forEachReturnStatement(body, visitor) {\n  return traverse(body);\n  function traverse(node) {\n    switch (node.kind) {\n      case 254 /* ReturnStatement */:\n        return visitor(node);\n      case 272 /* CaseBlock */:\n      case 242 /* Block */:\n      case 246 /* IfStatement */:\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n      case 249 /* ForStatement */:\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n      case 255 /* WithStatement */:\n      case 256 /* SwitchStatement */:\n      case 298 /* CaseClause */:\n      case 299 /* DefaultClause */:\n      case 257 /* LabeledStatement */:\n      case 259 /* TryStatement */:\n      case 301 /* CatchClause */:\n        return forEachChild(node, traverse);\n    }\n  }\n}\nfunction forEachYieldExpression(body, visitor) {\n  return traverse(body);\n  function traverse(node) {\n    switch (node.kind) {\n      case 230 /* YieldExpression */:\n        visitor(node);\n        const operand = node.expression;\n        if (operand) {\n          traverse(operand);\n        }\n        return;\n      case 269 /* EnumDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 270 /* ModuleDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n        return;\n      default:\n        if (isFunctionLike(node)) {\n          if (node.name && node.name.kind === 166 /* ComputedPropertyName */) {\n            traverse(node.name.expression);\n            return;\n          }\n        } else if (!isPartOfTypeNode(node)) {\n          forEachChild(node, traverse);\n        }\n    }\n  }\n}\nfunction getRestParameterElementType(node) {\n  if (node && node.kind === 188 /* ArrayType */) {\n    return node.elementType;\n  } else if (node && node.kind === 183 /* TypeReference */) {\n    return singleOrUndefined(node.typeArguments);\n  } else {\n    return void 0;\n  }\n}\nfunction getMembersOfDeclaration(node) {\n  switch (node.kind) {\n    case 267 /* InterfaceDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n    case 187 /* TypeLiteral */:\n      return node.members;\n    case 210 /* ObjectLiteralExpression */:\n      return node.properties;\n  }\n}\nfunction isVariableLike(node) {\n  if (node) {\n    switch (node.kind) {\n      case 208 /* BindingElement */:\n      case 308 /* EnumMember */:\n      case 168 /* Parameter */:\n      case 305 /* PropertyAssignment */:\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 261 /* VariableDeclaration */:\n        return true;\n    }\n  }\n  return false;\n}\nfunction isVariableLikeOrAccessor(node) {\n  return isVariableLike(node) || isAccessor(node);\n}\nfunction isVariableDeclarationInVariableStatement(node) {\n  return node.parent.kind === 262 /* VariableDeclarationList */ && node.parent.parent.kind === 244 /* VariableStatement */;\n}\nfunction isCommonJsExportedExpression(node) {\n  if (!isInJSFile(node))\n    return false;\n  return isObjectLiteralExpression(node.parent) && isBinaryExpression(node.parent.parent) && getAssignmentDeclarationKind(node.parent.parent) === 2 /* ModuleExports */ || isCommonJsExportPropertyAssignment(node.parent);\n}\nfunction isCommonJsExportPropertyAssignment(node) {\n  if (!isInJSFile(node))\n    return false;\n  return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 1 /* ExportsProperty */;\n}\nfunction isValidESSymbolDeclaration(node) {\n  return (isVariableDeclaration(node) ? isVarConst(node) && isIdentifier(node.name) && isVariableDeclarationInVariableStatement(node) : isPropertyDeclaration(node) ? hasEffectiveReadonlyModifier(node) && hasStaticModifier(node) : isPropertySignature(node) && hasEffectiveReadonlyModifier(node)) || isCommonJsExportPropertyAssignment(node);\n}\nfunction introducesArgumentsExoticObject(node) {\n  switch (node.kind) {\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 176 /* Constructor */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n      return true;\n  }\n  return false;\n}\nfunction unwrapInnermostStatementOfLabel(node, beforeUnwrapLabelCallback) {\n  while (true) {\n    if (beforeUnwrapLabelCallback) {\n      beforeUnwrapLabelCallback(node);\n    }\n    if (node.statement.kind !== 257 /* LabeledStatement */) {\n      return node.statement;\n    }\n    node = node.statement;\n  }\n}\nfunction isFunctionBlock(node) {\n  return node && node.kind === 242 /* Block */ && isFunctionLike(node.parent);\n}\nfunction isObjectLiteralMethod(node) {\n  return node && node.kind === 174 /* MethodDeclaration */ && node.parent.kind === 210 /* ObjectLiteralExpression */;\n}\nfunction isObjectLiteralOrClassExpressionMethodOrAccessor(node) {\n  return (node.kind === 174 /* MethodDeclaration */ || node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */) && (node.parent.kind === 210 /* ObjectLiteralExpression */ || node.parent.kind === 232 /* ClassExpression */);\n}\nfunction isIdentifierTypePredicate(predicate) {\n  return predicate && predicate.kind === 1 /* Identifier */;\n}\nfunction isThisTypePredicate(predicate) {\n  return predicate && predicate.kind === 0 /* This */;\n}\nfunction getPropertyAssignment(objectLiteral, key, key2) {\n  return objectLiteral.properties.filter((property) => {\n    if (property.kind === 305 /* PropertyAssignment */) {\n      const propName = tryGetTextOfPropertyName(property.name);\n      return key === propName || !!key2 && key2 === propName;\n    }\n    return false;\n  });\n}\nfunction getPropertyArrayElementValue(objectLiteral, propKey, elementValue) {\n  return firstDefined(getPropertyAssignment(objectLiteral, propKey), (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0);\n}\nfunction getTsConfigObjectLiteralExpression(tsConfigSourceFile) {\n  if (tsConfigSourceFile && tsConfigSourceFile.statements.length) {\n    const expression = tsConfigSourceFile.statements[0].expression;\n    return tryCast(expression, isObjectLiteralExpression);\n  }\n}\nfunction getTsConfigPropArrayElementValue(tsConfigSourceFile, propKey, elementValue) {\n  return firstDefined(getTsConfigPropArray(tsConfigSourceFile, propKey), (property) => isArrayLiteralExpression(property.initializer) ? find(property.initializer.elements, (element) => isStringLiteral(element) && element.text === elementValue) : void 0);\n}\nfunction getTsConfigPropArray(tsConfigSourceFile, propKey) {\n  const jsonObjectLiteral = getTsConfigObjectLiteralExpression(tsConfigSourceFile);\n  return jsonObjectLiteral ? getPropertyAssignment(jsonObjectLiteral, propKey) : emptyArray;\n}\nfunction getContainingFunction(node) {\n  return findAncestor(node.parent, isFunctionLike);\n}\nfunction getContainingFunctionDeclaration(node) {\n  return findAncestor(node.parent, isFunctionLikeDeclaration);\n}\nfunction getContainingClass(node) {\n  return findAncestor(node.parent, isClassLike);\n}\nfunction getContaningConstructorDeclaration(node) {\n  return node ? findAncestor(node, isConstructorDeclaration) : void 0;\n}\nfunction getContainingClassStaticBlock(node) {\n  return findAncestor(node.parent, (n) => {\n    if (isClassLike(n) || isFunctionLike(n)) {\n      return \"quit\";\n    }\n    return isClassStaticBlockDeclaration(n);\n  });\n}\nfunction getContainingFunctionOrClassStaticBlock(node) {\n  return findAncestor(node.parent, isFunctionLikeOrClassStaticBlockDeclaration);\n}\nfunction getContainingStruct(node) {\n  return findAncestor(node.parent, isStruct);\n}\nfunction getThisContainer(node, includeArrowFunctions) {\n  Debug.assert(node.kind !== 314 /* SourceFile */);\n  while (true) {\n    node = node.parent;\n    if (!node) {\n      return Debug.fail();\n    }\n    switch (node.kind) {\n      case 166 /* ComputedPropertyName */:\n        if (isClassLike(node.parent.parent)) {\n          return node;\n        }\n        node = node.parent;\n        break;\n      case 169 /* Decorator */:\n        if (node.parent.kind === 168 /* Parameter */ && isClassElement(node.parent.parent)) {\n          node = node.parent.parent;\n        } else if (isClassElement(node.parent)) {\n          node = node.parent;\n        }\n        break;\n      case 219 /* ArrowFunction */:\n        if (!includeArrowFunctions) {\n          continue;\n        }\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 270 /* ModuleDeclaration */:\n      case 175 /* ClassStaticBlockDeclaration */:\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 176 /* Constructor */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 179 /* CallSignature */:\n      case 180 /* ConstructSignature */:\n      case 181 /* IndexSignature */:\n      case 269 /* EnumDeclaration */:\n      case 314 /* SourceFile */:\n        return node;\n    }\n  }\n}\nfunction isThisContainerOrFunctionBlock(node) {\n  switch (node.kind) {\n    case 219 /* ArrowFunction */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 171 /* PropertyDeclaration */:\n      return true;\n    case 242 /* Block */:\n      switch (node.parent.kind) {\n        case 176 /* Constructor */:\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          return true;\n        default:\n          return false;\n      }\n    default:\n      return false;\n  }\n}\nfunction isInTopLevelContext(node) {\n  if (isIdentifier(node) && (isClassDeclaration(node.parent) || isFunctionDeclaration(node.parent)) && node.parent.name === node) {\n    node = node.parent;\n  }\n  const container = getThisContainer(node, true);\n  return isSourceFile(container);\n}\nfunction getNewTargetContainer(node) {\n  const container = getThisContainer(node, false);\n  if (container) {\n    switch (container.kind) {\n      case 176 /* Constructor */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n        return container;\n    }\n  }\n  return void 0;\n}\nfunction getSuperContainer(node, stopOnFunctions) {\n  while (true) {\n    node = node.parent;\n    if (!node) {\n      return node;\n    }\n    switch (node.kind) {\n      case 166 /* ComputedPropertyName */:\n        node = node.parent;\n        break;\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        if (!stopOnFunctions) {\n          continue;\n        }\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 176 /* Constructor */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 175 /* ClassStaticBlockDeclaration */:\n        return node;\n      case 169 /* Decorator */:\n        if (node.parent.kind === 168 /* Parameter */ && isClassElement(node.parent.parent)) {\n          node = node.parent.parent;\n        } else if (isClassElement(node.parent)) {\n          node = node.parent;\n        }\n        break;\n    }\n  }\n}\nfunction getImmediatelyInvokedFunctionExpression(func) {\n  if (func.kind === 218 /* FunctionExpression */ || func.kind === 219 /* ArrowFunction */) {\n    let prev = func;\n    let parent2 = func.parent;\n    while (parent2.kind === 217 /* ParenthesizedExpression */) {\n      prev = parent2;\n      parent2 = parent2.parent;\n    }\n    if (parent2.kind === 213 /* CallExpression */ && parent2.expression === prev) {\n      return parent2;\n    }\n  }\n}\nfunction isSuperOrSuperProperty(node) {\n  return node.kind === 107 /* SuperKeyword */ || isSuperProperty(node);\n}\nfunction isSuperProperty(node) {\n  const kind = node.kind;\n  return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 107 /* SuperKeyword */;\n}\nfunction isThisProperty(node) {\n  const kind = node.kind;\n  return (kind === 211 /* PropertyAccessExpression */ || kind === 212 /* ElementAccessExpression */) && node.expression.kind === 109 /* ThisKeyword */;\n}\nfunction isThisInitializedDeclaration(node) {\n  var _a2;\n  return !!node && isVariableDeclaration(node) && ((_a2 = node.initializer) == null ? void 0 : _a2.kind) === 109 /* ThisKeyword */;\n}\nfunction isThisInitializedObjectBindingExpression(node) {\n  return !!node && (isShorthandPropertyAssignment(node) || isPropertyAssignment(node)) && isBinaryExpression(node.parent.parent) && node.parent.parent.operatorToken.kind === 63 /* EqualsToken */ && node.parent.parent.right.kind === 109 /* ThisKeyword */;\n}\nfunction getEntityNameFromTypeNode(node) {\n  switch (node.kind) {\n    case 183 /* TypeReference */:\n      return node.typeName;\n    case 234 /* ExpressionWithTypeArguments */:\n      return isEntityNameExpression(node.expression) ? node.expression : void 0;\n    case 79 /* Identifier */:\n    case 165 /* QualifiedName */:\n      return node;\n  }\n  return void 0;\n}\nfunction getInvokedExpression(node) {\n  switch (node.kind) {\n    case 215 /* TaggedTemplateExpression */:\n      return node.tag;\n    case 289 /* JsxOpeningElement */:\n    case 288 /* JsxSelfClosingElement */:\n      return node.tagName;\n    default:\n      return node.expression;\n  }\n}\nfunction nodeCanBeDecorated(node, parent2, grandparent, compilerOptions) {\n  if (isNamedDeclaration(node) && isPrivateIdentifier(node.name)) {\n    return false;\n  }\n  switch (node.kind) {\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n      return true;\n    case 171 /* PropertyDeclaration */:\n      return parent2.kind === 264 /* ClassDeclaration */ || parent2.kind === 265 /* StructDeclaration */;\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 174 /* MethodDeclaration */:\n      return node.body !== void 0 && (parent2.kind === 264 /* ClassDeclaration */ || parent2.kind === 265 /* StructDeclaration */);\n    case 168 /* Parameter */:\n      return parent2.body !== void 0 && (parent2.kind === 176 /* Constructor */ || parent2.kind === 174 /* MethodDeclaration */ || parent2.kind === 178 /* SetAccessor */) && (grandparent.kind === 264 /* ClassDeclaration */ || grandparent.kind === 265 /* StructDeclaration */);\n    case 263 /* FunctionDeclaration */:\n      return isArkTsDecorator(node, compilerOptions) || isSendableFunctionOrType(node);\n    case 268 /* TypeAliasDeclaration */:\n      return isSendableFunctionOrType(node);\n  }\n  return false;\n}\nfunction nodeIsDecorated(node, parent2, grandparent) {\n  return hasDecorators(node) && nodeCanBeDecorated(node, parent2, grandparent);\n}\nfunction nodeOrChildIsDecorated(node, parent2, grandparent) {\n  return nodeIsDecorated(node, parent2, grandparent) || childIsDecorated(node, parent2);\n}\nfunction childIsDecorated(node, parent2) {\n  switch (node.kind) {\n    case 264 /* ClassDeclaration */:\n      return some(node.members, (m) => nodeOrChildIsDecorated(m, node, parent2));\n    case 265 /* StructDeclaration */:\n      return some(node.members, (m) => nodeOrChildIsDecorated(m, node, parent2));\n    case 174 /* MethodDeclaration */:\n    case 178 /* SetAccessor */:\n    case 176 /* Constructor */:\n      return some(node.parameters, (p) => nodeIsDecorated(p, node, parent2));\n    default:\n      return false;\n  }\n}\nfunction classOrConstructorParameterIsDecorated(node) {\n  if (nodeIsDecorated(node))\n    return true;\n  const constructor = getFirstConstructorWithBody(node);\n  return !!constructor && childIsDecorated(constructor, node);\n}\nfunction isJSXTagName(node) {\n  const { parent: parent2 } = node;\n  if (parent2.kind === 289 /* JsxOpeningElement */ || parent2.kind === 288 /* JsxSelfClosingElement */ || parent2.kind === 290 /* JsxClosingElement */) {\n    return parent2.tagName === node;\n  }\n  return false;\n}\nfunction isExpressionNode(node) {\n  switch (node.kind) {\n    case 107 /* SuperKeyword */:\n    case 105 /* NullKeyword */:\n    case 111 /* TrueKeyword */:\n    case 96 /* FalseKeyword */:\n    case 13 /* RegularExpressionLiteral */:\n    case 209 /* ArrayLiteralExpression */:\n    case 210 /* ObjectLiteralExpression */:\n    case 211 /* PropertyAccessExpression */:\n    case 220 /* EtsComponentExpression */:\n    case 212 /* ElementAccessExpression */:\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n    case 215 /* TaggedTemplateExpression */:\n    case 235 /* AsExpression */:\n    case 216 /* TypeAssertionExpression */:\n    case 239 /* SatisfiesExpression */:\n    case 236 /* NonNullExpression */:\n    case 217 /* ParenthesizedExpression */:\n    case 218 /* FunctionExpression */:\n    case 232 /* ClassExpression */:\n    case 219 /* ArrowFunction */:\n    case 223 /* VoidExpression */:\n    case 221 /* DeleteExpression */:\n    case 222 /* TypeOfExpression */:\n    case 225 /* PrefixUnaryExpression */:\n    case 226 /* PostfixUnaryExpression */:\n    case 227 /* BinaryExpression */:\n    case 228 /* ConditionalExpression */:\n    case 231 /* SpreadElement */:\n    case 229 /* TemplateExpression */:\n    case 233 /* OmittedExpression */:\n    case 287 /* JsxElement */:\n    case 288 /* JsxSelfClosingElement */:\n    case 291 /* JsxFragment */:\n    case 230 /* YieldExpression */:\n    case 224 /* AwaitExpression */:\n    case 237 /* MetaProperty */:\n      return true;\n    case 234 /* ExpressionWithTypeArguments */:\n      return !isHeritageClause(node.parent);\n    case 165 /* QualifiedName */:\n      while (node.parent.kind === 165 /* QualifiedName */) {\n        node = node.parent;\n      }\n      return node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node);\n    case 320 /* JSDocMemberName */:\n      while (isJSDocMemberName(node.parent)) {\n        node = node.parent;\n      }\n      return node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node);\n    case 80 /* PrivateIdentifier */:\n      return isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 102 /* InKeyword */;\n    case 79 /* Identifier */:\n      if (node.parent.kind === 186 /* TypeQuery */ || isJSDocLinkLike(node.parent) || isJSDocNameReference(node.parent) || isJSDocMemberName(node.parent) || isJSXTagName(node)) {\n        return true;\n      }\n    case 8 /* NumericLiteral */:\n    case 9 /* BigIntLiteral */:\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 109 /* ThisKeyword */:\n      return isInExpressionContext(node);\n    default:\n      return false;\n  }\n}\nfunction isInExpressionContext(node) {\n  const { parent: parent2 } = node;\n  switch (parent2.kind) {\n    case 261 /* VariableDeclaration */:\n    case 168 /* Parameter */:\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 308 /* EnumMember */:\n    case 305 /* PropertyAssignment */:\n    case 208 /* BindingElement */:\n      return parent2.initializer === node;\n    case 245 /* ExpressionStatement */:\n    case 246 /* IfStatement */:\n    case 247 /* DoStatement */:\n    case 248 /* WhileStatement */:\n    case 254 /* ReturnStatement */:\n    case 255 /* WithStatement */:\n    case 256 /* SwitchStatement */:\n    case 298 /* CaseClause */:\n    case 258 /* ThrowStatement */:\n      return parent2.expression === node;\n    case 249 /* ForStatement */:\n      const forStatement = parent2;\n      return forStatement.initializer === node && forStatement.initializer.kind !== 262 /* VariableDeclarationList */ || forStatement.condition === node || forStatement.incrementor === node;\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n      const forInStatement = parent2;\n      return forInStatement.initializer === node && forInStatement.initializer.kind !== 262 /* VariableDeclarationList */ || forInStatement.expression === node;\n    case 216 /* TypeAssertionExpression */:\n    case 235 /* AsExpression */:\n      return node === parent2.expression;\n    case 240 /* TemplateSpan */:\n      return node === parent2.expression;\n    case 166 /* ComputedPropertyName */:\n      return node === parent2.expression;\n    case 169 /* Decorator */:\n    case 297 /* JsxExpression */:\n    case 296 /* JsxSpreadAttribute */:\n    case 307 /* SpreadAssignment */:\n      return true;\n    case 234 /* ExpressionWithTypeArguments */:\n      return parent2.expression === node && !isPartOfTypeNode(parent2);\n    case 306 /* ShorthandPropertyAssignment */:\n      return parent2.objectAssignmentInitializer === node;\n    case 239 /* SatisfiesExpression */:\n      return node === parent2.expression;\n    default:\n      return isExpressionNode(parent2);\n  }\n}\nfunction isPartOfTypeQuery(node) {\n  while (node.kind === 165 /* QualifiedName */ || node.kind === 79 /* Identifier */) {\n    node = node.parent;\n  }\n  return node.kind === 186 /* TypeQuery */;\n}\nfunction isNamespaceReexportDeclaration(node) {\n  return isNamespaceExport(node) && !!node.parent.moduleSpecifier;\n}\nfunction isExternalModuleImportEqualsDeclaration(node) {\n  return node.kind === 274 /* ImportEqualsDeclaration */ && node.moduleReference.kind === 286 /* ExternalModuleReference */;\n}\nfunction getExternalModuleImportEqualsDeclarationExpression(node) {\n  Debug.assert(isExternalModuleImportEqualsDeclaration(node));\n  return node.moduleReference.expression;\n}\nfunction getExternalModuleRequireArgument(node) {\n  return isVariableDeclarationInitializedToBareOrAccessedRequire(node) && getLeftmostAccessExpression(node.initializer).arguments[0];\n}\nfunction isInternalModuleImportEqualsDeclaration(node) {\n  return node.kind === 274 /* ImportEqualsDeclaration */ && node.moduleReference.kind !== 286 /* ExternalModuleReference */;\n}\nfunction isSourceFileJS(file) {\n  return isInJSFile(file);\n}\nfunction isSourceFileNotJS(file) {\n  return !isInJSFile(file);\n}\nfunction isInJSFile(node) {\n  return !!node && !!(node.flags & 262144 /* JavaScriptFile */);\n}\nfunction isInJsonFile(node) {\n  return !!node && !!(node.flags & 67108864 /* JsonFile */);\n}\nfunction isSourceFileNotJson(file) {\n  return !isJsonSourceFile(file);\n}\nfunction isInJSDoc(node) {\n  return !!node && !!(node.flags & 8388608 /* JSDoc */);\n}\nfunction isJSDocIndexSignature(node) {\n  return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"Object\" && node.typeArguments && node.typeArguments.length === 2 && (node.typeArguments[0].kind === 153 /* StringKeyword */ || node.typeArguments[0].kind === 149 /* NumberKeyword */);\n}\nfunction isInETSFile(node) {\n  return !!node && getSourceFileOfNode(node).scriptKind === 8 /* ETS */;\n}\nfunction isInBuildOrPageTransitionContext(node, compilerOptions) {\n  var _a2, _b, _c, _d;\n  if (!node) {\n    return false;\n  }\n  const methodNames = (_b = (_a2 = compilerOptions.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.method;\n  const decoratorNames = (_d = (_c = compilerOptions.ets) == null ? void 0 : _c.render) == null ? void 0 : _d.decorator;\n  if (!methodNames && !decoratorNames) {\n    return false;\n  }\n  let container = getContainingFunctionDeclaration(node);\n  while (container) {\n    if (methodNames && isMethodDeclaration(container) && isInStruct(container)) {\n      const containerMethodName = getTextOfPropertyName(container.name).toString();\n      if (methodNames.some((name) => name === containerMethodName)) {\n        return true;\n      }\n    }\n    const decorators = getAllDecorators(container);\n    if (decoratorNames && decoratorNames.length && (isMethodDeclaration(container) || isFunctionDeclaration(container)) && decorators && decorators.some(\n      (decorator) => isIdentifier(decorator.expression) && decoratorNames.includes(getTextOfPropertyName(decorator.expression).toString())\n    )) {\n      return true;\n    }\n    container = getContainingFunctionDeclaration(container);\n  }\n  return false;\n}\nfunction isInStruct(node) {\n  const container = getContainingClass(node);\n  return !!container && isStruct(container);\n}\nfunction isRequireCall(callExpression, requireStringLiteralLikeArgument) {\n  if (callExpression.kind !== 213 /* CallExpression */) {\n    return false;\n  }\n  const { expression, arguments: args } = callExpression;\n  if (expression.kind !== 79 /* Identifier */ || expression.escapedText !== \"require\") {\n    return false;\n  }\n  if (args.length !== 1) {\n    return false;\n  }\n  const arg = args[0];\n  return !requireStringLiteralLikeArgument || isStringLiteralLike(arg);\n}\nfunction isVariableDeclarationInitializedToRequire(node) {\n  return isVariableDeclarationInitializedWithRequireHelper(node, false);\n}\nfunction isVariableDeclarationInitializedToBareOrAccessedRequire(node) {\n  return isVariableDeclarationInitializedWithRequireHelper(node, true);\n}\nfunction isVariableDeclarationInitializedWithRequireHelper(node, allowAccessedRequire) {\n  return isVariableDeclaration(node) && !!node.initializer && isRequireCall(allowAccessedRequire ? getLeftmostAccessExpression(node.initializer) : node.initializer, true);\n}\nfunction isRequireVariableStatement(node) {\n  return isVariableStatement(node) && node.declarationList.declarations.length > 0 && every(node.declarationList.declarations, (decl) => isVariableDeclarationInitializedToRequire(decl));\n}\nfunction isSingleOrDoubleQuote(charCode) {\n  return charCode === 39 /* singleQuote */ || charCode === 34 /* doubleQuote */;\n}\nfunction isStringDoubleQuoted(str, sourceFile) {\n  return getSourceTextOfNodeFromSourceFile(sourceFile, str).charCodeAt(0) === 34 /* doubleQuote */;\n}\nfunction isAssignmentDeclaration(decl) {\n  return isBinaryExpression(decl) || isAccessExpression(decl) || isIdentifier(decl) || isCallExpression(decl);\n}\nfunction getEffectiveInitializer(node) {\n  if (isInJSFile(node) && node.initializer && isBinaryExpression(node.initializer) && (node.initializer.operatorToken.kind === 56 /* BarBarToken */ || node.initializer.operatorToken.kind === 60 /* QuestionQuestionToken */) && node.name && isEntityNameExpression(node.name) && isSameEntityName(node.name, node.initializer.left)) {\n    return node.initializer.right;\n  }\n  return node.initializer;\n}\nfunction getDeclaredExpandoInitializer(node) {\n  const init = getEffectiveInitializer(node);\n  return init && getExpandoInitializer(init, isPrototypeAccess(node.name));\n}\nfunction hasExpandoValueProperty(node, isPrototypeAssignment) {\n  return forEach(node.properties, (p) => isPropertyAssignment(p) && isIdentifier(p.name) && p.name.escapedText === \"value\" && p.initializer && getExpandoInitializer(p.initializer, isPrototypeAssignment));\n}\nfunction getAssignedExpandoInitializer(node) {\n  if (node && node.parent && isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 63 /* EqualsToken */) {\n    const isPrototypeAssignment = isPrototypeAccess(node.parent.left);\n    return getExpandoInitializer(node.parent.right, isPrototypeAssignment) || getDefaultedExpandoInitializer(node.parent.left, node.parent.right, isPrototypeAssignment);\n  }\n  if (node && isCallExpression(node) && isBindableObjectDefinePropertyCall(node)) {\n    const result = hasExpandoValueProperty(node.arguments[2], node.arguments[1].text === \"prototype\");\n    if (result) {\n      return result;\n    }\n  }\n}\nfunction getExpandoInitializer(initializer, isPrototypeAssignment) {\n  if (isCallExpression(initializer)) {\n    const e = skipParentheses(initializer.expression);\n    return e.kind === 218 /* FunctionExpression */ || e.kind === 219 /* ArrowFunction */ ? initializer : void 0;\n  }\n  if (initializer.kind === 218 /* FunctionExpression */ || initializer.kind === 232 /* ClassExpression */ || initializer.kind === 219 /* ArrowFunction */) {\n    return initializer;\n  }\n  if (isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAssignment)) {\n    return initializer;\n  }\n}\nfunction getDefaultedExpandoInitializer(name, initializer, isPrototypeAssignment) {\n  const e = isBinaryExpression(initializer) && (initializer.operatorToken.kind === 56 /* BarBarToken */ || initializer.operatorToken.kind === 60 /* QuestionQuestionToken */) && getExpandoInitializer(initializer.right, isPrototypeAssignment);\n  if (e && isSameEntityName(name, initializer.left)) {\n    return e;\n  }\n}\nfunction isDefaultedExpandoInitializer(node) {\n  const name = isVariableDeclaration(node.parent) ? node.parent.name : isBinaryExpression(node.parent) && node.parent.operatorToken.kind === 63 /* EqualsToken */ ? node.parent.left : void 0;\n  return name && getExpandoInitializer(node.right, isPrototypeAccess(name)) && isEntityNameExpression(name) && isSameEntityName(name, node.left);\n}\nfunction getNameOfExpando(node) {\n  if (isBinaryExpression(node.parent)) {\n    const parent2 = (node.parent.operatorToken.kind === 56 /* BarBarToken */ || node.parent.operatorToken.kind === 60 /* QuestionQuestionToken */) && isBinaryExpression(node.parent.parent) ? node.parent.parent : node.parent;\n    if (parent2.operatorToken.kind === 63 /* EqualsToken */ && isIdentifier(parent2.left)) {\n      return parent2.left;\n    }\n  } else if (isVariableDeclaration(node.parent)) {\n    return node.parent.name;\n  }\n}\nfunction isSameEntityName(name, initializer) {\n  if (isPropertyNameLiteral(name) && isPropertyNameLiteral(initializer)) {\n    return getTextOfIdentifierOrLiteral(name) === getTextOfIdentifierOrLiteral(initializer);\n  }\n  if (isMemberName(name) && isLiteralLikeAccess(initializer) && (initializer.expression.kind === 109 /* ThisKeyword */ || isIdentifier(initializer.expression) && (initializer.expression.escapedText === \"window\" || initializer.expression.escapedText === \"self\" || initializer.expression.escapedText === \"global\"))) {\n    return isSameEntityName(name, getNameOrArgument(initializer));\n  }\n  if (isLiteralLikeAccess(name) && isLiteralLikeAccess(initializer)) {\n    return getElementOrPropertyAccessName(name) === getElementOrPropertyAccessName(initializer) && isSameEntityName(name.expression, initializer.expression);\n  }\n  return false;\n}\nfunction getRightMostAssignedExpression(node) {\n  while (isAssignmentExpression(node, true)) {\n    node = node.right;\n  }\n  return node;\n}\nfunction isExportsIdentifier(node) {\n  return isIdentifier(node) && node.escapedText === \"exports\";\n}\nfunction isModuleIdentifier(node) {\n  return isIdentifier(node) && node.escapedText === \"module\";\n}\nfunction isModuleExportsAccessExpression(node) {\n  return (isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node)) && isModuleIdentifier(node.expression) && getElementOrPropertyAccessName(node) === \"exports\";\n}\nfunction getAssignmentDeclarationKind(expr) {\n  const special = getAssignmentDeclarationKindWorker(expr);\n  return special === 5 /* Property */ || isInJSFile(expr) ? special : 0 /* None */;\n}\nfunction isBindableObjectDefinePropertyCall(expr) {\n  return length(expr.arguments) === 3 && isPropertyAccessExpression(expr.expression) && isIdentifier(expr.expression.expression) && idText(expr.expression.expression) === \"Object\" && idText(expr.expression.name) === \"defineProperty\" && isStringOrNumericLiteralLike(expr.arguments[1]) && isBindableStaticNameExpression(expr.arguments[0], true);\n}\nfunction isLiteralLikeAccess(node) {\n  return isPropertyAccessExpression(node) || isLiteralLikeElementAccess(node);\n}\nfunction isLiteralLikeElementAccess(node) {\n  return isElementAccessExpression(node) && isStringOrNumericLiteralLike(node.argumentExpression);\n}\nfunction isBindableStaticAccessExpression(node, excludeThisKeyword) {\n  return isPropertyAccessExpression(node) && (!excludeThisKeyword && node.expression.kind === 109 /* ThisKeyword */ || isIdentifier(node.name) && isBindableStaticNameExpression(node.expression, true)) || isBindableStaticElementAccessExpression(node, excludeThisKeyword);\n}\nfunction isBindableStaticElementAccessExpression(node, excludeThisKeyword) {\n  return isLiteralLikeElementAccess(node) && (!excludeThisKeyword && node.expression.kind === 109 /* ThisKeyword */ || isEntityNameExpression(node.expression) || isBindableStaticAccessExpression(node.expression, true));\n}\nfunction isBindableStaticNameExpression(node, excludeThisKeyword) {\n  return isEntityNameExpression(node) || isBindableStaticAccessExpression(node, excludeThisKeyword);\n}\nfunction getNameOrArgument(expr) {\n  if (isPropertyAccessExpression(expr)) {\n    return expr.name;\n  }\n  return expr.argumentExpression;\n}\nfunction getAssignmentDeclarationKindWorker(expr) {\n  if (isCallExpression(expr)) {\n    if (!isBindableObjectDefinePropertyCall(expr)) {\n      return 0 /* None */;\n    }\n    const entityName = expr.arguments[0];\n    if (isExportsIdentifier(entityName) || isModuleExportsAccessExpression(entityName)) {\n      return 8 /* ObjectDefinePropertyExports */;\n    }\n    if (isBindableStaticAccessExpression(entityName) && getElementOrPropertyAccessName(entityName) === \"prototype\") {\n      return 9 /* ObjectDefinePrototypeProperty */;\n    }\n    return 7 /* ObjectDefinePropertyValue */;\n  }\n  if (expr.operatorToken.kind !== 63 /* EqualsToken */ || !isAccessExpression(expr.left) || isVoidZero(getRightMostAssignedExpression(expr))) {\n    return 0 /* None */;\n  }\n  if (isBindableStaticNameExpression(expr.left.expression, true) && getElementOrPropertyAccessName(expr.left) === \"prototype\" && isObjectLiteralExpression(getInitializerOfBinaryExpression(expr))) {\n    return 6 /* Prototype */;\n  }\n  return getAssignmentDeclarationPropertyAccessKind(expr.left);\n}\nfunction isVoidZero(node) {\n  return isVoidExpression(node) && isNumericLiteral(node.expression) && node.expression.text === \"0\";\n}\nfunction getElementOrPropertyAccessArgumentExpressionOrName(node) {\n  if (isPropertyAccessExpression(node)) {\n    return node.name;\n  }\n  const arg = skipParentheses(node.argumentExpression);\n  if (isNumericLiteral(arg) || isStringLiteralLike(arg)) {\n    return arg;\n  }\n  return node;\n}\nfunction getElementOrPropertyAccessName(node) {\n  const name = getElementOrPropertyAccessArgumentExpressionOrName(node);\n  if (name) {\n    if (isIdentifier(name)) {\n      return name.escapedText;\n    }\n    if (isStringLiteralLike(name) || isNumericLiteral(name)) {\n      return escapeLeadingUnderscores(name.text);\n    }\n  }\n  return void 0;\n}\nfunction getAssignmentDeclarationPropertyAccessKind(lhs) {\n  if (lhs.expression.kind === 109 /* ThisKeyword */) {\n    return 4 /* ThisProperty */;\n  } else if (isModuleExportsAccessExpression(lhs)) {\n    return 2 /* ModuleExports */;\n  } else if (isBindableStaticNameExpression(lhs.expression, true)) {\n    if (isPrototypeAccess(lhs.expression)) {\n      return 3 /* PrototypeProperty */;\n    }\n    let nextToLast = lhs;\n    while (!isIdentifier(nextToLast.expression)) {\n      nextToLast = nextToLast.expression;\n    }\n    const id = nextToLast.expression;\n    if ((id.escapedText === \"exports\" || id.escapedText === \"module\" && getElementOrPropertyAccessName(nextToLast) === \"exports\") && isBindableStaticAccessExpression(lhs)) {\n      return 1 /* ExportsProperty */;\n    }\n    if (isBindableStaticNameExpression(lhs, true) || isElementAccessExpression(lhs) && isDynamicName(lhs)) {\n      return 5 /* Property */;\n    }\n  }\n  return 0 /* None */;\n}\nfunction getInitializerOfBinaryExpression(expr) {\n  while (isBinaryExpression(expr.right)) {\n    expr = expr.right;\n  }\n  return expr.right;\n}\nfunction isPrototypePropertyAssignment(node) {\n  return isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 3 /* PrototypeProperty */;\n}\nfunction isSpecialPropertyDeclaration(expr) {\n  return isInJSFile(expr) && expr.parent && expr.parent.kind === 245 /* ExpressionStatement */ && (!isElementAccessExpression(expr) || isLiteralLikeElementAccess(expr)) && !!getJSDocTypeTag(expr.parent);\n}\nfunction setValueDeclaration(symbol, node) {\n  const { valueDeclaration } = symbol;\n  if (!valueDeclaration || !(node.flags & 16777216 /* Ambient */ && !(valueDeclaration.flags & 16777216 /* Ambient */)) && (isAssignmentDeclaration(valueDeclaration) && !isAssignmentDeclaration(node)) || valueDeclaration.kind !== node.kind && isEffectiveModuleDeclaration(valueDeclaration)) {\n    symbol.valueDeclaration = node;\n  }\n}\nfunction isFunctionSymbol(symbol) {\n  if (!symbol || !symbol.valueDeclaration) {\n    return false;\n  }\n  const decl = symbol.valueDeclaration;\n  return decl.kind === 263 /* FunctionDeclaration */ || isVariableDeclaration(decl) && decl.initializer && isFunctionLike(decl.initializer);\n}\nfunction tryGetModuleSpecifierFromDeclaration(node) {\n  var _a2, _b;\n  switch (node.kind) {\n    case 261 /* VariableDeclaration */:\n      return (_a2 = findAncestor(node.initializer, (node2) => isRequireCall(node2, true))) == null ? void 0 : _a2.arguments[0];\n    case 275 /* ImportDeclaration */:\n      return tryCast(node.moduleSpecifier, isStringLiteralLike);\n    case 274 /* ImportEqualsDeclaration */:\n      return tryCast((_b = tryCast(node.moduleReference, isExternalModuleReference)) == null ? void 0 : _b.expression, isStringLiteralLike);\n    default:\n      Debug.assertNever(node);\n  }\n}\nfunction importFromModuleSpecifier(node) {\n  return tryGetImportFromModuleSpecifier(node) || Debug.failBadSyntaxKind(node.parent);\n}\nfunction tryGetImportFromModuleSpecifier(node) {\n  switch (node.parent.kind) {\n    case 275 /* ImportDeclaration */:\n    case 281 /* ExportDeclaration */:\n      return node.parent;\n    case 286 /* ExternalModuleReference */:\n      return node.parent.parent;\n    case 213 /* CallExpression */:\n      return isImportCall(node.parent) || isRequireCall(node.parent, false) ? node.parent : void 0;\n    case 201 /* LiteralType */:\n      Debug.assert(isStringLiteral(node));\n      return tryCast(node.parent.parent, isImportTypeNode);\n    default:\n      return void 0;\n  }\n}\nfunction getExternalModuleName(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n    case 281 /* ExportDeclaration */:\n      return node.moduleSpecifier;\n    case 274 /* ImportEqualsDeclaration */:\n      return node.moduleReference.kind === 286 /* ExternalModuleReference */ ? node.moduleReference.expression : void 0;\n    case 205 /* ImportType */:\n      return isLiteralImportTypeNode(node) ? node.argument.literal : void 0;\n    case 213 /* CallExpression */:\n      return node.arguments[0];\n    case 270 /* ModuleDeclaration */:\n      return node.name.kind === 10 /* StringLiteral */ ? node.name : void 0;\n    default:\n      return Debug.assertNever(node);\n  }\n}\nfunction getNamespaceDeclarationNode(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n      return node.importClause && tryCast(node.importClause.namedBindings, isNamespaceImport);\n    case 274 /* ImportEqualsDeclaration */:\n      return node;\n    case 281 /* ExportDeclaration */:\n      return node.exportClause && tryCast(node.exportClause, isNamespaceExport);\n    default:\n      return Debug.assertNever(node);\n  }\n}\nfunction isDefaultImport(node) {\n  return node.kind === 275 /* ImportDeclaration */ && !!node.importClause && !!node.importClause.name;\n}\nfunction forEachImportClauseDeclaration(node, action) {\n  if (node.name) {\n    const result = action(node);\n    if (result)\n      return result;\n  }\n  if (node.namedBindings) {\n    const result = isNamespaceImport(node.namedBindings) ? action(node.namedBindings) : forEach(node.namedBindings.elements, action);\n    if (result)\n      return result;\n  }\n}\nfunction hasQuestionToken(node) {\n  if (node) {\n    switch (node.kind) {\n      case 168 /* Parameter */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 305 /* PropertyAssignment */:\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n        return node.questionToken !== void 0;\n    }\n  }\n  return false;\n}\nfunction isJSDocConstructSignature(node) {\n  const param = isJSDocFunctionType(node) ? firstOrUndefined(node.parameters) : void 0;\n  const name = tryCast(param && param.name, isIdentifier);\n  return !!name && name.escapedText === \"new\";\n}\nfunction isJSDocTypeAlias(node) {\n  return node.kind === 354 /* JSDocTypedefTag */ || node.kind === 347 /* JSDocCallbackTag */ || node.kind === 348 /* JSDocEnumTag */;\n}\nfunction isTypeAlias(node) {\n  return isJSDocTypeAlias(node) || isTypeAliasDeclaration(node);\n}\nfunction getSourceOfAssignment(node) {\n  return isExpressionStatement(node) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 63 /* EqualsToken */ ? getRightMostAssignedExpression(node.expression) : void 0;\n}\nfunction getSourceOfDefaultedAssignment(node) {\n  return isExpressionStatement(node) && isBinaryExpression(node.expression) && getAssignmentDeclarationKind(node.expression) !== 0 /* None */ && isBinaryExpression(node.expression.right) && (node.expression.right.operatorToken.kind === 56 /* BarBarToken */ || node.expression.right.operatorToken.kind === 60 /* QuestionQuestionToken */) ? node.expression.right.right : void 0;\n}\nfunction getSingleInitializerOfVariableStatementOrPropertyDeclaration(node) {\n  switch (node.kind) {\n    case 244 /* VariableStatement */:\n      const v = getSingleVariableOfVariableStatement(node);\n      return v && v.initializer;\n    case 171 /* PropertyDeclaration */:\n      return node.initializer;\n    case 172 /* AnnotationPropertyDeclaration */:\n      return node.initializer;\n    case 305 /* PropertyAssignment */:\n      return node.initializer;\n  }\n}\nfunction getSingleVariableOfVariableStatement(node) {\n  return isVariableStatement(node) ? firstOrUndefined(node.declarationList.declarations) : void 0;\n}\nfunction getNestedModuleDeclaration(node) {\n  return isModuleDeclaration(node) && node.body && node.body.kind === 270 /* ModuleDeclaration */ ? node.body : void 0;\n}\nfunction getJSDocCommentsAndTags(hostNode, noCache) {\n  let result;\n  if (isVariableLike(hostNode) && hasInitializer(hostNode) && hasJSDocNodes(hostNode.initializer)) {\n    result = addRange(result, filterOwnedJSDocTags(hostNode, last(hostNode.initializer.jsDoc)));\n  }\n  let node = hostNode;\n  while (node && node.parent) {\n    if (hasJSDocNodes(node)) {\n      result = addRange(result, filterOwnedJSDocTags(hostNode, last(node.jsDoc)));\n    }\n    if (node.kind === 168 /* Parameter */) {\n      result = addRange(result, (noCache ? getJSDocParameterTagsNoCache : getJSDocParameterTags)(node));\n      break;\n    }\n    if (node.kind === 167 /* TypeParameter */) {\n      result = addRange(result, (noCache ? getJSDocTypeParameterTagsNoCache : getJSDocTypeParameterTags)(node));\n      break;\n    }\n    node = getNextJSDocCommentLocation(node);\n  }\n  return result || emptyArray;\n}\nfunction filterOwnedJSDocTags(hostNode, jsDoc) {\n  if (isJSDoc(jsDoc)) {\n    const ownedTags = filter(jsDoc.tags, (tag) => ownsJSDocTag(hostNode, tag));\n    return jsDoc.tags === ownedTags ? [jsDoc] : ownedTags;\n  }\n  return ownsJSDocTag(hostNode, jsDoc) ? [jsDoc] : void 0;\n}\nfunction ownsJSDocTag(hostNode, tag) {\n  return !isJSDocTypeTag(tag) || !tag.parent || !isJSDoc(tag.parent) || !isParenthesizedExpression(tag.parent.parent) || tag.parent.parent === hostNode;\n}\nfunction getNextJSDocCommentLocation(node) {\n  const parent2 = node.parent;\n  if (parent2.kind === 305 /* PropertyAssignment */ || parent2.kind === 280 /* ExportAssignment */ || parent2.kind === 171 /* PropertyDeclaration */ || parent2.kind === 245 /* ExpressionStatement */ && node.kind === 211 /* PropertyAccessExpression */ || parent2.kind === 254 /* ReturnStatement */ || getNestedModuleDeclaration(parent2) || isBinaryExpression(node) && node.operatorToken.kind === 63 /* EqualsToken */) {\n    return parent2;\n  } else if (parent2.parent && (getSingleVariableOfVariableStatement(parent2.parent) === node || isBinaryExpression(parent2) && parent2.operatorToken.kind === 63 /* EqualsToken */)) {\n    return parent2.parent;\n  } else if (parent2.parent && parent2.parent.parent && (getSingleVariableOfVariableStatement(parent2.parent.parent) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(parent2.parent.parent) === node || getSourceOfDefaultedAssignment(parent2.parent.parent))) {\n    return parent2.parent.parent;\n  }\n}\nfunction getParameterSymbolFromJSDoc(node) {\n  if (node.symbol) {\n    return node.symbol;\n  }\n  if (!isIdentifier(node.name)) {\n    return void 0;\n  }\n  const name = node.name.escapedText;\n  const decl = getHostSignatureFromJSDoc(node);\n  if (!decl) {\n    return void 0;\n  }\n  const parameter = find(decl.parameters, (p) => p.name.kind === 79 /* Identifier */ && p.name.escapedText === name);\n  return parameter && parameter.symbol;\n}\nfunction getEffectiveContainerForJSDocTemplateTag(node) {\n  if (isJSDoc(node.parent) && node.parent.tags) {\n    const typeAlias = find(node.parent.tags, isJSDocTypeAlias);\n    if (typeAlias) {\n      return typeAlias;\n    }\n  }\n  return getHostSignatureFromJSDoc(node);\n}\nfunction getHostSignatureFromJSDoc(node) {\n  const host = getEffectiveJSDocHost(node);\n  if (host) {\n    return isPropertySignature(host) && host.type && isFunctionLike(host.type) ? host.type : isFunctionLike(host) ? host : void 0;\n  }\n  return void 0;\n}\nfunction getEffectiveJSDocHost(node) {\n  const host = getJSDocHost(node);\n  if (host) {\n    return getSourceOfDefaultedAssignment(host) || getSourceOfAssignment(host) || getSingleInitializerOfVariableStatementOrPropertyDeclaration(host) || getSingleVariableOfVariableStatement(host) || getNestedModuleDeclaration(host) || host;\n  }\n}\nfunction getJSDocHost(node) {\n  const jsDoc = getJSDocRoot(node);\n  if (!jsDoc) {\n    return void 0;\n  }\n  const host = jsDoc.parent;\n  if (host && host.jsDoc && jsDoc === lastOrUndefined(host.jsDoc)) {\n    return host;\n  }\n}\nfunction getJSDocRoot(node) {\n  return findAncestor(node.parent, isJSDoc);\n}\nfunction getTypeParameterFromJsDoc(node) {\n  const name = node.name.escapedText;\n  const { typeParameters } = node.parent.parent.parent;\n  return typeParameters && find(typeParameters, (p) => p.name.escapedText === name);\n}\nfunction hasTypeArguments(node) {\n  return !!node.typeArguments;\n}\nvar AssignmentKind = /* @__PURE__ */ ((AssignmentKind2) => {\n  AssignmentKind2[AssignmentKind2[\"None\"] = 0] = \"None\";\n  AssignmentKind2[AssignmentKind2[\"Definite\"] = 1] = \"Definite\";\n  AssignmentKind2[AssignmentKind2[\"Compound\"] = 2] = \"Compound\";\n  return AssignmentKind2;\n})(AssignmentKind || {});\nfunction getAssignmentTargetKind(node) {\n  let parent2 = node.parent;\n  while (true) {\n    switch (parent2.kind) {\n      case 227 /* BinaryExpression */:\n        const binaryOperator = parent2.operatorToken.kind;\n        return isAssignmentOperator(binaryOperator) && parent2.left === node ? binaryOperator === 63 /* EqualsToken */ || isLogicalOrCoalescingAssignmentOperator(binaryOperator) ? 1 /* Definite */ : 2 /* Compound */ : 0 /* None */;\n      case 225 /* PrefixUnaryExpression */:\n      case 226 /* PostfixUnaryExpression */:\n        const unaryOperator = parent2.operator;\n        return unaryOperator === 45 /* PlusPlusToken */ || unaryOperator === 46 /* MinusMinusToken */ ? 2 /* Compound */ : 0 /* None */;\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n        return parent2.initializer === node ? 1 /* Definite */ : 0 /* None */;\n      case 217 /* ParenthesizedExpression */:\n      case 209 /* ArrayLiteralExpression */:\n      case 231 /* SpreadElement */:\n      case 236 /* NonNullExpression */:\n        node = parent2;\n        break;\n      case 307 /* SpreadAssignment */:\n        node = parent2.parent;\n        break;\n      case 306 /* ShorthandPropertyAssignment */:\n        if (parent2.name !== node) {\n          return 0 /* None */;\n        }\n        node = parent2.parent;\n        break;\n      case 305 /* PropertyAssignment */:\n        if (parent2.name === node) {\n          return 0 /* None */;\n        }\n        node = parent2.parent;\n        break;\n      default:\n        return 0 /* None */;\n    }\n    parent2 = node.parent;\n  }\n}\nfunction isAssignmentTarget(node) {\n  return getAssignmentTargetKind(node) !== 0 /* None */;\n}\nfunction isNodeWithPossibleHoistedDeclaration(node) {\n  switch (node.kind) {\n    case 242 /* Block */:\n    case 244 /* VariableStatement */:\n    case 255 /* WithStatement */:\n    case 246 /* IfStatement */:\n    case 256 /* SwitchStatement */:\n    case 272 /* CaseBlock */:\n    case 298 /* CaseClause */:\n    case 299 /* DefaultClause */:\n    case 257 /* LabeledStatement */:\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n    case 247 /* DoStatement */:\n    case 248 /* WhileStatement */:\n    case 259 /* TryStatement */:\n    case 301 /* CatchClause */:\n      return true;\n  }\n  return false;\n}\nfunction isValueSignatureDeclaration(node) {\n  return isFunctionExpression(node) || isArrowFunction(node) || isMethodOrAccessor(node) || isFunctionDeclaration(node) || isConstructorDeclaration(node);\n}\nfunction walkUp(node, kind) {\n  while (node && node.kind === kind) {\n    node = node.parent;\n  }\n  return node;\n}\nfunction walkUpParenthesizedTypes(node) {\n  return walkUp(node, 196 /* ParenthesizedType */);\n}\nfunction walkUpParenthesizedExpressions(node) {\n  return walkUp(node, 217 /* ParenthesizedExpression */);\n}\nfunction walkUpParenthesizedTypesAndGetParentAndChild(node) {\n  let child;\n  while (node && node.kind === 196 /* ParenthesizedType */) {\n    child = node;\n    node = node.parent;\n  }\n  return [child, node];\n}\nfunction skipTypeParentheses(node) {\n  while (isParenthesizedTypeNode(node))\n    node = node.type;\n  return node;\n}\nfunction skipParentheses(node, excludeJSDocTypeAssertions) {\n  const flags = excludeJSDocTypeAssertions ? 1 /* Parentheses */ | 16 /* ExcludeJSDocTypeAssertion */ : 1 /* Parentheses */;\n  return skipOuterExpressions(node, flags);\n}\nfunction isDeleteTarget(node) {\n  if (node.kind !== 211 /* PropertyAccessExpression */ && node.kind !== 212 /* ElementAccessExpression */) {\n    return false;\n  }\n  node = walkUpParenthesizedExpressions(node.parent);\n  return node && node.kind === 221 /* DeleteExpression */;\n}\nfunction isNodeDescendantOf(node, ancestor) {\n  while (node) {\n    if (node === ancestor)\n      return true;\n    node = node.parent;\n  }\n  return false;\n}\nfunction isDeclarationName(name) {\n  return !isSourceFile(name) && !isBindingPattern(name) && isDeclaration(name.parent) && name.parent.name === name;\n}\nfunction getDeclarationFromName(name) {\n  const parent2 = name.parent;\n  switch (name.kind) {\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 8 /* NumericLiteral */:\n      if (isComputedPropertyName(parent2))\n        return parent2.parent;\n    case 79 /* Identifier */:\n      if (isDeclaration(parent2)) {\n        return parent2.name === name ? parent2 : void 0;\n      } else if (isQualifiedName(parent2)) {\n        const tag = parent2.parent;\n        return isJSDocParameterTag(tag) && tag.name === parent2 ? tag : void 0;\n      } else {\n        const binExp = parent2.parent;\n        return isBinaryExpression(binExp) && getAssignmentDeclarationKind(binExp) !== 0 /* None */ && (binExp.left.symbol || binExp.symbol) && getNameOfDeclaration(binExp) === name ? binExp : void 0;\n      }\n    case 80 /* PrivateIdentifier */:\n      return isDeclaration(parent2) && parent2.name === name ? parent2 : void 0;\n    default:\n      return void 0;\n  }\n}\nfunction isLiteralComputedPropertyDeclarationName(node) {\n  return isStringOrNumericLiteralLike(node) && node.parent.kind === 166 /* ComputedPropertyName */ && isDeclaration(node.parent.parent);\n}\nfunction isIdentifierName(node) {\n  const parent2 = node.parent;\n  switch (parent2.kind) {\n    case 171 /* PropertyDeclaration */:\n    case 172 /* AnnotationPropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 308 /* EnumMember */:\n    case 305 /* PropertyAssignment */:\n    case 211 /* PropertyAccessExpression */:\n      return parent2.name === node;\n    case 165 /* QualifiedName */:\n      return parent2.right === node;\n    case 208 /* BindingElement */:\n    case 279 /* ImportSpecifier */:\n      return parent2.propertyName === node;\n    case 284 /* ExportSpecifier */:\n    case 294 /* JsxAttribute */:\n    case 288 /* JsxSelfClosingElement */:\n    case 289 /* JsxOpeningElement */:\n    case 290 /* JsxClosingElement */:\n      return true;\n  }\n  return false;\n}\nfunction isAliasSymbolDeclaration(node) {\n  if (node.kind === 274 /* ImportEqualsDeclaration */ || node.kind === 273 /* NamespaceExportDeclaration */ || node.kind === 276 /* ImportClause */ && !!node.name || node.kind === 277 /* NamespaceImport */ || node.kind === 283 /* NamespaceExport */ || node.kind === 279 /* ImportSpecifier */ || node.kind === 284 /* ExportSpecifier */ || node.kind === 280 /* ExportAssignment */ && exportAssignmentIsAlias(node)) {\n    return true;\n  }\n  return isInJSFile(node) && (isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 /* ModuleExports */ && exportAssignmentIsAlias(node) || isPropertyAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63 /* EqualsToken */ && isAliasableExpression(node.parent.right));\n}\nfunction getAliasDeclarationFromName(node) {\n  switch (node.parent.kind) {\n    case 276 /* ImportClause */:\n    case 279 /* ImportSpecifier */:\n    case 277 /* NamespaceImport */:\n    case 284 /* ExportSpecifier */:\n    case 280 /* ExportAssignment */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 283 /* NamespaceExport */:\n      return node.parent;\n    case 165 /* QualifiedName */:\n      do {\n        node = node.parent;\n      } while (node.parent.kind === 165 /* QualifiedName */);\n      return getAliasDeclarationFromName(node);\n  }\n}\nfunction isAliasableExpression(e) {\n  return isEntityNameExpression(e) || isClassExpression(e);\n}\nfunction exportAssignmentIsAlias(node) {\n  const e = getExportAssignmentExpression(node);\n  return isAliasableExpression(e);\n}\nfunction getExportAssignmentExpression(node) {\n  return isExportAssignment(node) ? node.expression : node.right;\n}\nfunction getPropertyAssignmentAliasLikeExpression(node) {\n  return node.kind === 306 /* ShorthandPropertyAssignment */ ? node.name : node.kind === 305 /* PropertyAssignment */ ? node.initializer : node.parent.right;\n}\nfunction getEffectiveBaseTypeNode(node) {\n  const baseType = getClassExtendsHeritageElement(node);\n  if (baseType && isInJSFile(node)) {\n    const tag = getJSDocAugmentsTag(node);\n    if (tag) {\n      return tag.class;\n    }\n  }\n  return baseType;\n}\nfunction getClassExtendsHeritageElement(node) {\n  const heritageClause = getHeritageClause(node.heritageClauses, 95 /* ExtendsKeyword */);\n  return heritageClause && heritageClause.types.length > 0 ? heritageClause.types[0] : void 0;\n}\nfunction getEffectiveImplementsTypeNodes(node) {\n  if (isInJSFile(node)) {\n    return getJSDocImplementsTags(node).map((n) => n.class);\n  } else {\n    const heritageClause = getHeritageClause(node.heritageClauses, 118 /* ImplementsKeyword */);\n    return heritageClause == null ? void 0 : heritageClause.types;\n  }\n}\nfunction getAllSuperTypeNodes(node) {\n  return isInterfaceDeclaration(node) ? getInterfaceBaseTypeNodes(node) || emptyArray : isClassLike(node) ? concatenate(singleElementArray(getEffectiveBaseTypeNode(node)), getEffectiveImplementsTypeNodes(node)) || emptyArray : emptyArray;\n}\nfunction getInterfaceBaseTypeNodes(node) {\n  const heritageClause = getHeritageClause(node.heritageClauses, 95 /* ExtendsKeyword */);\n  return heritageClause ? heritageClause.types : void 0;\n}\nfunction getHeritageClause(clauses, kind) {\n  if (clauses) {\n    for (const clause of clauses) {\n      if (clause.token === kind) {\n        return clause;\n      }\n    }\n  }\n  return void 0;\n}\nfunction getAncestor(node, kind) {\n  while (node) {\n    if (node.kind === kind) {\n      return node;\n    }\n    node = node.parent;\n  }\n  return void 0;\n}\nfunction getRootEtsComponent(node) {\n  while (node) {\n    if (isEtsComponentExpression(node)) {\n      return node;\n    }\n    node = node.expression;\n  }\n  return void 0;\n}\nfunction getRootComponent(node, compilerOptions) {\n  var _a2, _b, _c;\n  while (node) {\n    if (isEtsComponentExpression(node)) {\n      return [node, \"etsComponentType\"];\n    } else if (isCallExpression(node) && isIdentifier(node.expression)) {\n      if ((_c = (_b = (_a2 = compilerOptions.ets) == null ? void 0 : _a2.syntaxComponents) == null ? void 0 : _b.attrUICallback) == null ? void 0 : _c.map((item) => item.name).includes(node.expression.escapedText.toString())) {\n        return [node, \"callExpressionComponentType\"];\n      } else {\n        return [node, \"otherType\"];\n      }\n    }\n    node = node.expression;\n  }\n  return [void 0, void 0];\n}\nfunction getVirtualEtsComponent(node) {\n  while (node) {\n    if (isPropertyAccessExpression(node) && node.expression && node.expression.virtual) {\n      return node;\n    }\n    node = node.expression;\n  }\n  return void 0;\n}\nfunction isKeyword(token) {\n  return 81 /* FirstKeyword */ <= token && token <= 164 /* LastKeyword */;\n}\nfunction isContextualKeyword(token) {\n  return 127 /* FirstContextualKeyword */ <= token && token <= 164 /* LastContextualKeyword */;\n}\nfunction isNonContextualKeyword(token) {\n  return isKeyword(token) && !isContextualKeyword(token);\n}\nfunction isFutureReservedKeyword(token) {\n  return 118 /* FirstFutureReservedWord */ <= token && token <= 126 /* LastFutureReservedWord */;\n}\nfunction isStringANonContextualKeyword(name) {\n  const token = stringToToken(name);\n  return token !== void 0 && isNonContextualKeyword(token);\n}\nfunction isStringAKeyword(name) {\n  const token = stringToToken(name);\n  return token !== void 0 && isKeyword(token);\n}\nfunction isIdentifierANonContextualKeyword({ originalKeywordKind }) {\n  return !!originalKeywordKind && !isContextualKeyword(originalKeywordKind);\n}\nfunction isTrivia(token) {\n  return 2 /* FirstTriviaToken */ <= token && token <= 7 /* LastTriviaToken */;\n}\nvar FunctionFlags = /* @__PURE__ */ ((FunctionFlags2) => {\n  FunctionFlags2[FunctionFlags2[\"Normal\"] = 0] = \"Normal\";\n  FunctionFlags2[FunctionFlags2[\"Generator\"] = 1] = \"Generator\";\n  FunctionFlags2[FunctionFlags2[\"Async\"] = 2] = \"Async\";\n  FunctionFlags2[FunctionFlags2[\"Invalid\"] = 4] = \"Invalid\";\n  FunctionFlags2[FunctionFlags2[\"AsyncGenerator\"] = 3] = \"AsyncGenerator\";\n  return FunctionFlags2;\n})(FunctionFlags || {});\nfunction getFunctionFlags(node) {\n  if (!node) {\n    return 4 /* Invalid */;\n  }\n  let flags = 0 /* Normal */;\n  switch (node.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 174 /* MethodDeclaration */:\n      if (node.asteriskToken) {\n        flags |= 1 /* Generator */;\n      }\n    case 219 /* ArrowFunction */:\n      if (hasSyntacticModifier(node, 512 /* Async */)) {\n        flags |= 2 /* Async */;\n      }\n      break;\n  }\n  if (!node.body) {\n    flags |= 4 /* Invalid */;\n  }\n  return flags;\n}\nfunction isAsyncFunction(node) {\n  switch (node.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 174 /* MethodDeclaration */:\n      return node.body !== void 0 && node.asteriskToken === void 0 && hasSyntacticModifier(node, 512 /* Async */);\n  }\n  return false;\n}\nfunction isStringOrNumericLiteralLike(node) {\n  return isStringLiteralLike(node) || isNumericLiteral(node);\n}\nfunction isSignedNumericLiteral(node) {\n  return isPrefixUnaryExpression(node) && (node.operator === 39 /* PlusToken */ || node.operator === 40 /* MinusToken */) && isNumericLiteral(node.operand);\n}\nfunction hasDynamicName(declaration) {\n  const name = getNameOfDeclaration(declaration);\n  return !!name && isDynamicName(name);\n}\nfunction isDynamicName(name) {\n  if (!(name.kind === 166 /* ComputedPropertyName */ || name.kind === 212 /* ElementAccessExpression */)) {\n    return false;\n  }\n  const expr = isElementAccessExpression(name) ? skipParentheses(name.argumentExpression) : name.expression;\n  return !isStringOrNumericLiteralLike(expr) && !isSignedNumericLiteral(expr);\n}\nfunction getPropertyNameForPropertyNameNode(name) {\n  switch (name.kind) {\n    case 79 /* Identifier */:\n    case 80 /* PrivateIdentifier */:\n      return name.escapedText;\n    case 10 /* StringLiteral */:\n    case 8 /* NumericLiteral */:\n      return escapeLeadingUnderscores(name.text);\n    case 166 /* ComputedPropertyName */:\n      const nameExpression = name.expression;\n      if (isStringOrNumericLiteralLike(nameExpression)) {\n        return escapeLeadingUnderscores(nameExpression.text);\n      } else if (isSignedNumericLiteral(nameExpression)) {\n        if (nameExpression.operator === 40 /* MinusToken */) {\n          return tokenToString(nameExpression.operator) + nameExpression.operand.text;\n        }\n        return nameExpression.operand.text;\n      }\n      return void 0;\n    default:\n      return Debug.assertNever(name);\n  }\n}\nfunction isPropertyNameLiteral(node) {\n  switch (node.kind) {\n    case 79 /* Identifier */:\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 8 /* NumericLiteral */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction getTextOfIdentifierOrLiteral(node) {\n  return isMemberName(node) ? idText(node) : node.text;\n}\nfunction getEscapedTextOfIdentifierOrLiteral(node) {\n  return isMemberName(node) ? node.escapedText : escapeLeadingUnderscores(node.text);\n}\nfunction getPropertyNameForUniqueESSymbol(symbol) {\n  return `__@${getSymbolId(symbol)}@${symbol.escapedName}`;\n}\nfunction getSymbolNameForPrivateIdentifier(containingClassSymbol, description2) {\n  return `__#${getSymbolId(containingClassSymbol)}@${description2}`;\n}\nfunction isKnownSymbol(symbol) {\n  return startsWith(symbol.escapedName, \"__@\");\n}\nfunction isPrivateIdentifierSymbol(symbol) {\n  return startsWith(symbol.escapedName, \"__#\");\n}\nfunction isESSymbolIdentifier(node) {\n  return node.kind === 79 /* Identifier */ && node.escapedText === \"Symbol\";\n}\nfunction isPushOrUnshiftIdentifier(node) {\n  return node.escapedText === \"push\" || node.escapedText === \"unshift\";\n}\nfunction isParameterDeclaration(node) {\n  const root = getRootDeclaration(node);\n  return root.kind === 168 /* Parameter */;\n}\nfunction getRootDeclaration(node) {\n  while (node.kind === 208 /* BindingElement */) {\n    node = node.parent.parent;\n  }\n  return node;\n}\nfunction nodeStartsNewLexicalEnvironment(node) {\n  const kind = node.kind;\n  return kind === 176 /* Constructor */ || kind === 218 /* FunctionExpression */ || kind === 263 /* FunctionDeclaration */ || kind === 219 /* ArrowFunction */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 270 /* ModuleDeclaration */ || kind === 314 /* SourceFile */;\n}\nfunction nodeIsSynthesized(range) {\n  return positionIsSynthesized(range.pos) || positionIsSynthesized(range.end);\n}\nfunction getOriginalSourceFile(sourceFile) {\n  return getParseTreeNode(sourceFile, isSourceFile) || sourceFile;\n}\nvar Associativity = /* @__PURE__ */ ((Associativity2) => {\n  Associativity2[Associativity2[\"Left\"] = 0] = \"Left\";\n  Associativity2[Associativity2[\"Right\"] = 1] = \"Right\";\n  return Associativity2;\n})(Associativity || {});\nfunction getExpressionAssociativity(expression) {\n  const operator = getOperator(expression);\n  const hasArguments = expression.kind === 214 /* NewExpression */ && expression.arguments !== void 0;\n  return getOperatorAssociativity(expression.kind, operator, hasArguments);\n}\nfunction getOperatorAssociativity(kind, operator, hasArguments) {\n  switch (kind) {\n    case 214 /* NewExpression */:\n      return hasArguments ? 0 /* Left */ : 1 /* Right */;\n    case 225 /* PrefixUnaryExpression */:\n    case 222 /* TypeOfExpression */:\n    case 223 /* VoidExpression */:\n    case 221 /* DeleteExpression */:\n    case 224 /* AwaitExpression */:\n    case 228 /* ConditionalExpression */:\n    case 230 /* YieldExpression */:\n      return 1 /* Right */;\n    case 227 /* BinaryExpression */:\n      switch (operator) {\n        case 42 /* AsteriskAsteriskToken */:\n        case 63 /* EqualsToken */:\n        case 64 /* PlusEqualsToken */:\n        case 65 /* MinusEqualsToken */:\n        case 67 /* AsteriskAsteriskEqualsToken */:\n        case 66 /* AsteriskEqualsToken */:\n        case 68 /* SlashEqualsToken */:\n        case 69 /* PercentEqualsToken */:\n        case 70 /* LessThanLessThanEqualsToken */:\n        case 71 /* GreaterThanGreaterThanEqualsToken */:\n        case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n        case 73 /* AmpersandEqualsToken */:\n        case 78 /* CaretEqualsToken */:\n        case 74 /* BarEqualsToken */:\n        case 75 /* BarBarEqualsToken */:\n        case 76 /* AmpersandAmpersandEqualsToken */:\n        case 77 /* QuestionQuestionEqualsToken */:\n          return 1 /* Right */;\n      }\n  }\n  return 0 /* Left */;\n}\nfunction getExpressionPrecedence(expression) {\n  const operator = getOperator(expression);\n  const hasArguments = expression.kind === 214 /* NewExpression */ && expression.arguments !== void 0;\n  return getOperatorPrecedence(expression.kind, operator, hasArguments);\n}\nfunction getOperator(expression) {\n  if (expression.kind === 227 /* BinaryExpression */) {\n    return expression.operatorToken.kind;\n  } else if (expression.kind === 225 /* PrefixUnaryExpression */ || expression.kind === 226 /* PostfixUnaryExpression */) {\n    return expression.operator;\n  } else {\n    return expression.kind;\n  }\n}\nvar OperatorPrecedence = /* @__PURE__ */ ((OperatorPrecedence2) => {\n  OperatorPrecedence2[OperatorPrecedence2[\"Comma\"] = 0] = \"Comma\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Spread\"] = 1] = \"Spread\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Yield\"] = 2] = \"Yield\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Assignment\"] = 3] = \"Assignment\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Conditional\"] = 4] = \"Conditional\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Coalesce\"] = 4 /* Conditional */] = \"Coalesce\";\n  OperatorPrecedence2[OperatorPrecedence2[\"LogicalOR\"] = 5] = \"LogicalOR\";\n  OperatorPrecedence2[OperatorPrecedence2[\"LogicalAND\"] = 6] = \"LogicalAND\";\n  OperatorPrecedence2[OperatorPrecedence2[\"BitwiseOR\"] = 7] = \"BitwiseOR\";\n  OperatorPrecedence2[OperatorPrecedence2[\"BitwiseXOR\"] = 8] = \"BitwiseXOR\";\n  OperatorPrecedence2[OperatorPrecedence2[\"BitwiseAND\"] = 9] = \"BitwiseAND\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Equality\"] = 10] = \"Equality\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Relational\"] = 11] = \"Relational\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Shift\"] = 12] = \"Shift\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Additive\"] = 13] = \"Additive\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Multiplicative\"] = 14] = \"Multiplicative\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Exponentiation\"] = 15] = \"Exponentiation\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Unary\"] = 16] = \"Unary\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Update\"] = 17] = \"Update\";\n  OperatorPrecedence2[OperatorPrecedence2[\"LeftHandSide\"] = 18] = \"LeftHandSide\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Member\"] = 19] = \"Member\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Primary\"] = 20] = \"Primary\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Highest\"] = 20 /* Primary */] = \"Highest\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Lowest\"] = 0 /* Comma */] = \"Lowest\";\n  OperatorPrecedence2[OperatorPrecedence2[\"Invalid\"] = -1] = \"Invalid\";\n  return OperatorPrecedence2;\n})(OperatorPrecedence || {});\nfunction getOperatorPrecedence(nodeKind, operatorKind, hasArguments) {\n  switch (nodeKind) {\n    case 360 /* CommaListExpression */:\n      return 0 /* Comma */;\n    case 231 /* SpreadElement */:\n      return 1 /* Spread */;\n    case 230 /* YieldExpression */:\n      return 2 /* Yield */;\n    case 228 /* ConditionalExpression */:\n      return 4 /* Conditional */;\n    case 227 /* BinaryExpression */:\n      switch (operatorKind) {\n        case 27 /* CommaToken */:\n          return 0 /* Comma */;\n        case 63 /* EqualsToken */:\n        case 64 /* PlusEqualsToken */:\n        case 65 /* MinusEqualsToken */:\n        case 67 /* AsteriskAsteriskEqualsToken */:\n        case 66 /* AsteriskEqualsToken */:\n        case 68 /* SlashEqualsToken */:\n        case 69 /* PercentEqualsToken */:\n        case 70 /* LessThanLessThanEqualsToken */:\n        case 71 /* GreaterThanGreaterThanEqualsToken */:\n        case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n        case 73 /* AmpersandEqualsToken */:\n        case 78 /* CaretEqualsToken */:\n        case 74 /* BarEqualsToken */:\n        case 75 /* BarBarEqualsToken */:\n        case 76 /* AmpersandAmpersandEqualsToken */:\n        case 77 /* QuestionQuestionEqualsToken */:\n          return 3 /* Assignment */;\n        default:\n          return getBinaryOperatorPrecedence(operatorKind);\n      }\n    case 216 /* TypeAssertionExpression */:\n    case 236 /* NonNullExpression */:\n    case 225 /* PrefixUnaryExpression */:\n    case 222 /* TypeOfExpression */:\n    case 223 /* VoidExpression */:\n    case 221 /* DeleteExpression */:\n    case 224 /* AwaitExpression */:\n      return 16 /* Unary */;\n    case 226 /* PostfixUnaryExpression */:\n      return 17 /* Update */;\n    case 213 /* CallExpression */:\n      return 18 /* LeftHandSide */;\n    case 214 /* NewExpression */:\n      return hasArguments ? 19 /* Member */ : 18 /* LeftHandSide */;\n    case 215 /* TaggedTemplateExpression */:\n    case 211 /* PropertyAccessExpression */:\n    case 212 /* ElementAccessExpression */:\n    case 237 /* MetaProperty */:\n      return 19 /* Member */;\n    case 235 /* AsExpression */:\n    case 239 /* SatisfiesExpression */:\n      return 11 /* Relational */;\n    case 109 /* ThisKeyword */:\n    case 107 /* SuperKeyword */:\n    case 79 /* Identifier */:\n    case 80 /* PrivateIdentifier */:\n    case 105 /* NullKeyword */:\n    case 111 /* TrueKeyword */:\n    case 96 /* FalseKeyword */:\n    case 8 /* NumericLiteral */:\n    case 9 /* BigIntLiteral */:\n    case 10 /* StringLiteral */:\n    case 209 /* ArrayLiteralExpression */:\n    case 210 /* ObjectLiteralExpression */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 232 /* ClassExpression */:\n    case 13 /* RegularExpressionLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 229 /* TemplateExpression */:\n    case 217 /* ParenthesizedExpression */:\n    case 233 /* OmittedExpression */:\n    case 287 /* JsxElement */:\n    case 288 /* JsxSelfClosingElement */:\n    case 291 /* JsxFragment */:\n      return 20 /* Primary */;\n    default:\n      return -1 /* Invalid */;\n  }\n}\nfunction getBinaryOperatorPrecedence(kind) {\n  switch (kind) {\n    case 60 /* QuestionQuestionToken */:\n      return 4 /* Coalesce */;\n    case 56 /* BarBarToken */:\n      return 5 /* LogicalOR */;\n    case 55 /* AmpersandAmpersandToken */:\n      return 6 /* LogicalAND */;\n    case 51 /* BarToken */:\n      return 7 /* BitwiseOR */;\n    case 52 /* CaretToken */:\n      return 8 /* BitwiseXOR */;\n    case 50 /* AmpersandToken */:\n      return 9 /* BitwiseAND */;\n    case 34 /* EqualsEqualsToken */:\n    case 35 /* ExclamationEqualsToken */:\n    case 36 /* EqualsEqualsEqualsToken */:\n    case 37 /* ExclamationEqualsEqualsToken */:\n      return 10 /* Equality */;\n    case 29 /* LessThanToken */:\n    case 31 /* GreaterThanToken */:\n    case 32 /* LessThanEqualsToken */:\n    case 33 /* GreaterThanEqualsToken */:\n    case 103 /* InstanceOfKeyword */:\n    case 102 /* InKeyword */:\n    case 129 /* AsKeyword */:\n    case 151 /* SatisfiesKeyword */:\n      return 11 /* Relational */;\n    case 47 /* LessThanLessThanToken */:\n    case 48 /* GreaterThanGreaterThanToken */:\n    case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n      return 12 /* Shift */;\n    case 39 /* PlusToken */:\n    case 40 /* MinusToken */:\n      return 13 /* Additive */;\n    case 41 /* AsteriskToken */:\n    case 43 /* SlashToken */:\n    case 44 /* PercentToken */:\n      return 14 /* Multiplicative */;\n    case 42 /* AsteriskAsteriskToken */:\n      return 15 /* Exponentiation */;\n  }\n  return -1;\n}\nfunction getSemanticJsxChildren(children) {\n  return filter(children, (i) => {\n    switch (i.kind) {\n      case 297 /* JsxExpression */:\n        return !!i.expression;\n      case 11 /* JsxText */:\n        return !i.containsOnlyTriviaWhiteSpaces;\n      default:\n        return true;\n    }\n  });\n}\nfunction createDiagnosticCollection() {\n  let nonFileDiagnostics = [];\n  const filesWithDiagnostics = [];\n  const fileDiagnostics = new Map2();\n  let hasReadNonFileDiagnostics = false;\n  return {\n    add,\n    lookup,\n    getGlobalDiagnostics,\n    getDiagnostics: getDiagnostics2\n  };\n  function lookup(diagnostic) {\n    let diagnostics;\n    if (diagnostic.file) {\n      diagnostics = fileDiagnostics.get(diagnostic.file.fileName);\n    } else {\n      diagnostics = nonFileDiagnostics;\n    }\n    if (!diagnostics) {\n      return void 0;\n    }\n    const result = binarySearch(diagnostics, diagnostic, identity, compareDiagnosticsSkipRelatedInformation);\n    if (result >= 0) {\n      return diagnostics[result];\n    }\n    return void 0;\n  }\n  function add(diagnostic) {\n    let diagnostics;\n    if (diagnostic.file) {\n      diagnostics = fileDiagnostics.get(diagnostic.file.fileName);\n      if (!diagnostics) {\n        diagnostics = [];\n        fileDiagnostics.set(diagnostic.file.fileName, diagnostics);\n        insertSorted(filesWithDiagnostics, diagnostic.file.fileName, compareStringsCaseSensitive);\n      }\n    } else {\n      if (hasReadNonFileDiagnostics) {\n        hasReadNonFileDiagnostics = false;\n        nonFileDiagnostics = nonFileDiagnostics.slice();\n      }\n      diagnostics = nonFileDiagnostics;\n    }\n    insertSorted(diagnostics, diagnostic, compareDiagnosticsSkipRelatedInformation);\n  }\n  function getGlobalDiagnostics() {\n    hasReadNonFileDiagnostics = true;\n    return nonFileDiagnostics;\n  }\n  function getDiagnostics2(fileName) {\n    if (fileName) {\n      return fileDiagnostics.get(fileName) || [];\n    }\n    const fileDiags = flatMapToMutable(filesWithDiagnostics, (f) => fileDiagnostics.get(f));\n    if (!nonFileDiagnostics.length) {\n      return fileDiags;\n    }\n    fileDiags.unshift(...nonFileDiagnostics);\n    return fileDiags;\n  }\n}\nvar templateSubstitutionRegExp = /\\$\\{/g;\nfunction escapeTemplateSubstitution(str) {\n  return str.replace(templateSubstitutionRegExp, \"\\\\${\");\n}\nfunction hasInvalidEscape(template) {\n  return template && !!(isNoSubstitutionTemplateLiteral(template) ? template.templateFlags : template.head.templateFlags || some(template.templateSpans, (span) => !!span.literal.templateFlags));\n}\nvar doubleQuoteEscapedCharsRegExp = /[\\\\\\\"\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g;\nvar singleQuoteEscapedCharsRegExp = /[\\\\\\'\\u0000-\\u001f\\t\\v\\f\\b\\r\\n\\u2028\\u2029\\u0085]/g;\nvar backtickQuoteEscapedCharsRegExp = /\\r\\n|[\\\\\\`\\u0000-\\u001f\\t\\v\\f\\b\\r\\u2028\\u2029\\u0085]/g;\nvar escapedCharsMap = new Map2(getEntries({\n  \"\t\": \"\\\\t\",\n  \"\\v\": \"\\\\v\",\n  \"\\f\": \"\\\\f\",\n  \"\\b\": \"\\\\b\",\n  \"\\r\": \"\\\\r\",\n  \"\\n\": \"\\\\n\",\n  \"\\\\\": \"\\\\\\\\\",\n  '\"': '\\\\\"',\n  \"'\": \"\\\\'\",\n  \"`\": \"\\\\`\",\n  \"\\u2028\": \"\\\\u2028\",\n  \"\\u2029\": \"\\\\u2029\",\n  \"\\x85\": \"\\\\u0085\",\n  \"\\r\\n\": \"\\\\r\\\\n\"\n}));\nfunction encodeUtf16EscapeSequence(charCode) {\n  const hexCharCode = charCode.toString(16).toUpperCase();\n  const paddedHexCode = (\"0000\" + hexCharCode).slice(-4);\n  return \"\\\\u\" + paddedHexCode;\n}\nfunction getReplacement(c, offset, input) {\n  if (c.charCodeAt(0) === 0 /* nullCharacter */) {\n    const lookAhead = input.charCodeAt(offset + c.length);\n    if (lookAhead >= 48 /* _0 */ && lookAhead <= 57 /* _9 */) {\n      return \"\\\\x00\";\n    }\n    return \"\\\\0\";\n  }\n  return escapedCharsMap.get(c) || encodeUtf16EscapeSequence(c.charCodeAt(0));\n}\nfunction escapeString(s, quoteChar) {\n  const escapedCharsRegExp = quoteChar === 96 /* backtick */ ? backtickQuoteEscapedCharsRegExp : quoteChar === 39 /* singleQuote */ ? singleQuoteEscapedCharsRegExp : doubleQuoteEscapedCharsRegExp;\n  return s.replace(escapedCharsRegExp, getReplacement);\n}\nvar nonAsciiCharacters = /[^\\u0000-\\u007F]/g;\nfunction escapeNonAsciiString(s, quoteChar) {\n  s = escapeString(s, quoteChar);\n  return nonAsciiCharacters.test(s) ? s.replace(nonAsciiCharacters, (c) => encodeUtf16EscapeSequence(c.charCodeAt(0))) : s;\n}\nvar jsxDoubleQuoteEscapedCharsRegExp = /[\\\"\\u0000-\\u001f\\u2028\\u2029\\u0085]/g;\nvar jsxSingleQuoteEscapedCharsRegExp = /[\\'\\u0000-\\u001f\\u2028\\u2029\\u0085]/g;\nvar jsxEscapedCharsMap = new Map2(getEntries({\n  '\"': \"&quot;\",\n  \"'\": \"&apos;\"\n}));\nfunction encodeJsxCharacterEntity(charCode) {\n  const hexCharCode = charCode.toString(16).toUpperCase();\n  return \"&#x\" + hexCharCode + \";\";\n}\nfunction getJsxAttributeStringReplacement(c) {\n  if (c.charCodeAt(0) === 0 /* nullCharacter */) {\n    return \"&#0;\";\n  }\n  return jsxEscapedCharsMap.get(c) || encodeJsxCharacterEntity(c.charCodeAt(0));\n}\nfunction escapeJsxAttributeString(s, quoteChar) {\n  const escapedCharsRegExp = quoteChar === 39 /* singleQuote */ ? jsxSingleQuoteEscapedCharsRegExp : jsxDoubleQuoteEscapedCharsRegExp;\n  return s.replace(escapedCharsRegExp, getJsxAttributeStringReplacement);\n}\nfunction stripQuotes(name) {\n  const length2 = name.length;\n  if (length2 >= 2 && name.charCodeAt(0) === name.charCodeAt(length2 - 1) && isQuoteOrBacktick(name.charCodeAt(0))) {\n    return name.substring(1, length2 - 1);\n  }\n  return name;\n}\nfunction isQuoteOrBacktick(charCode) {\n  return charCode === 39 /* singleQuote */ || charCode === 34 /* doubleQuote */ || charCode === 96 /* backtick */;\n}\nfunction isIntrinsicJsxName(name) {\n  const ch = name.charCodeAt(0);\n  return ch >= 97 /* a */ && ch <= 122 /* z */ || stringContains(name, \"-\") || stringContains(name, \":\");\n}\nvar indentStrings = [\"\", \"    \"];\nfunction getIndentString(level) {\n  const singleLevel = indentStrings[1];\n  for (let current = indentStrings.length; current <= level; current++) {\n    indentStrings.push(indentStrings[current - 1] + singleLevel);\n  }\n  return indentStrings[level];\n}\nfunction getIndentSize() {\n  return indentStrings[1].length;\n}\nfunction isNightly() {\n  return stringContains(version, \"-dev\") || stringContains(version, \"-insiders\");\n}\nfunction getTrailingSemicolonDeferringWriter(writer) {\n  let pendingTrailingSemicolon = false;\n  function commitPendingTrailingSemicolon() {\n    if (pendingTrailingSemicolon) {\n      writer.writeTrailingSemicolon(\";\");\n      pendingTrailingSemicolon = false;\n    }\n  }\n  return {\n    ...writer,\n    writeTrailingSemicolon() {\n      pendingTrailingSemicolon = true;\n    },\n    writeLiteral(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeLiteral(s);\n    },\n    writeStringLiteral(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeStringLiteral(s);\n    },\n    writeSymbol(s, sym) {\n      commitPendingTrailingSemicolon();\n      writer.writeSymbol(s, sym);\n    },\n    writePunctuation(s) {\n      commitPendingTrailingSemicolon();\n      writer.writePunctuation(s);\n    },\n    writeKeyword(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeKeyword(s);\n    },\n    writeOperator(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeOperator(s);\n    },\n    writeParameter(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeParameter(s);\n    },\n    writeSpace(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeSpace(s);\n    },\n    writeProperty(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeProperty(s);\n    },\n    writeComment(s) {\n      commitPendingTrailingSemicolon();\n      writer.writeComment(s);\n    },\n    writeLine() {\n      commitPendingTrailingSemicolon();\n      writer.writeLine();\n    },\n    increaseIndent() {\n      commitPendingTrailingSemicolon();\n      writer.increaseIndent();\n    },\n    decreaseIndent() {\n      commitPendingTrailingSemicolon();\n      writer.decreaseIndent();\n    }\n  };\n}\nfunction hostUsesCaseSensitiveFileNames(host) {\n  return host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : false;\n}\nfunction hostGetCanonicalFileName(host) {\n  return createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(host));\n}\nfunction getResolvedExternalModuleName(host, file, referenceFile) {\n  return file.moduleName || getExternalModuleNameFromPath(host, file.fileName, referenceFile && referenceFile.fileName);\n}\nfunction getCanonicalAbsolutePath(host, path) {\n  return host.getCanonicalFileName(getNormalizedAbsolutePath(path, host.getCurrentDirectory()));\n}\nfunction getExternalModuleNameFromDeclaration(host, resolver, declaration) {\n  const file = resolver.getExternalModuleFileFromDeclaration(declaration);\n  if (!file || file.isDeclarationFile) {\n    return void 0;\n  }\n  const specifier = getExternalModuleName(declaration);\n  if (specifier && isStringLiteralLike(specifier) && !pathIsRelative(specifier.text) && getCanonicalAbsolutePath(host, file.path).indexOf(getCanonicalAbsolutePath(host, ensureTrailingDirectorySeparator(host.getCommonSourceDirectory()))) === -1) {\n    return void 0;\n  }\n  return getResolvedExternalModuleName(host, file);\n}\nfunction getExternalModuleNameFromPath(host, fileName, referencePath) {\n  const getCanonicalFileName = (f) => host.getCanonicalFileName(f);\n  const dir = toPath(referencePath ? getDirectoryPath(referencePath) : host.getCommonSourceDirectory(), host.getCurrentDirectory(), getCanonicalFileName);\n  const filePath = getNormalizedAbsolutePath(fileName, host.getCurrentDirectory());\n  const relativePath = getRelativePathToDirectoryOrUrl(dir, filePath, dir, getCanonicalFileName, false);\n  const extensionless = removeFileExtension(relativePath);\n  return referencePath ? ensurePathIsNonModuleName(extensionless) : extensionless;\n}\nfunction getOwnEmitOutputFilePath(fileName, host, extension) {\n  const compilerOptions = host.getCompilerOptions();\n  let emitOutputFilePathWithoutExtension;\n  if (compilerOptions.outDir) {\n    emitOutputFilePathWithoutExtension = removeFileExtension(getSourceFilePathInNewDir(fileName, host, compilerOptions.outDir));\n  } else {\n    emitOutputFilePathWithoutExtension = removeFileExtension(fileName);\n  }\n  return emitOutputFilePathWithoutExtension + extension;\n}\nfunction getDeclarationEmitOutputFilePath(fileName, host) {\n  return getDeclarationEmitOutputFilePathWorker(fileName, host.getCompilerOptions(), host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f));\n}\nfunction getDeclarationEmitOutputFilePathWorker(fileName, options, currentDirectory, commonSourceDirectory, getCanonicalFileName) {\n  const outputDir = options.declarationDir || options.outDir;\n  const path = outputDir ? getSourceFilePathInNewDirWorker(fileName, outputDir, currentDirectory, commonSourceDirectory, getCanonicalFileName) : fileName;\n  const declarationExtension = getDeclarationEmitExtensionForPath(path);\n  return removeFileExtension(path) + declarationExtension;\n}\nfunction getDeclarationEmitExtensionForPath(path) {\n  return fileExtensionIsOneOf(path, [\".mjs\" /* Mjs */, \".mts\" /* Mts */]) ? \".d.mts\" /* Dmts */ : fileExtensionIsOneOf(path, [\".cjs\" /* Cjs */, \".cts\" /* Cts */]) ? \".d.cts\" /* Dcts */ : fileExtensionIsOneOf(path, [\".json\" /* Json */]) ? `.json.d.ts` : fileExtensionIsOneOf(path, [\".ets\" /* Ets */]) ? \".d.ets\" /* Dets */ : \".d.ts\" /* Dts */;\n}\nfunction getPossibleOriginalInputExtensionForExtension(path) {\n  return fileExtensionIsOneOf(path, [\".d.mts\" /* Dmts */, \".mjs\" /* Mjs */, \".mts\" /* Mts */]) ? [\".mts\" /* Mts */, \".mjs\" /* Mjs */] : fileExtensionIsOneOf(path, [\".d.cts\" /* Dcts */, \".cjs\" /* Cjs */, \".cts\" /* Cts */]) ? [\".cts\" /* Cts */, \".cjs\" /* Cjs */] : fileExtensionIsOneOf(path, [`.json.d.ts`]) ? [\".json\" /* Json */] : [\".tsx\" /* Tsx */, \".ts\" /* Ts */, \".jsx\" /* Jsx */, \".js\" /* Js */];\n}\nfunction outFile(options) {\n  return options.outFile || options.out;\n}\nfunction getPathsBasePath(options, host) {\n  var _a2, _b;\n  if (!options.paths)\n    return void 0;\n  return (_b = options.baseUrl) != null ? _b : Debug.checkDefined(options.pathsBasePath || ((_a2 = host.getCurrentDirectory) == null ? void 0 : _a2.call(host)), \"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.\");\n}\nfunction getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit) {\n  const options = host.getCompilerOptions();\n  if (outFile(options)) {\n    const moduleKind = getEmitModuleKind(options);\n    const moduleEmitEnabled = options.emitDeclarationOnly || moduleKind === 2 /* AMD */ || moduleKind === 4 /* System */;\n    return filter(\n      host.getSourceFiles(),\n      (sourceFile) => (moduleEmitEnabled || !isExternalModule(sourceFile)) && sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit)\n    );\n  } else {\n    const sourceFiles = targetSourceFile === void 0 ? host.getSourceFiles() : [targetSourceFile];\n    return filter(\n      sourceFiles,\n      (sourceFile) => sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit)\n    );\n  }\n}\nfunction sourceFileMayBeEmitted(sourceFile, host, forceDtsEmit) {\n  const options = host.getCompilerOptions();\n  return !(options.noEmitForJsFiles && isSourceFileJS(sourceFile)) && !sourceFile.isDeclarationFile && (!host.isSourceFileFromExternalLibrary(sourceFile) || isEmitNodeModulesFiles(host.getCompilerOptions().emitNodeModulesFiles)) && (forceDtsEmit || !(isJsonSourceFile(sourceFile) && host.getResolvedProjectReferenceToRedirect(sourceFile.fileName)) && !host.isSourceOfProjectReferenceRedirect(sourceFile.fileName));\n}\nfunction getSourceFilePathInNewDir(fileName, host, newDirPath) {\n  return getSourceFilePathInNewDirWorker(fileName, newDirPath, host.getCurrentDirectory(), host.getCommonSourceDirectory(), (f) => host.getCanonicalFileName(f));\n}\nfunction getSourceFilePathInNewDirWorker(fileName, newDirPath, currentDirectory, commonSourceDirectory, getCanonicalFileName) {\n  let sourceFilePath = getNormalizedAbsolutePath(fileName, currentDirectory);\n  const isSourceFileInCommonSourceDirectory = getCanonicalFileName(sourceFilePath).indexOf(getCanonicalFileName(commonSourceDirectory)) === 0;\n  sourceFilePath = isSourceFileInCommonSourceDirectory ? sourceFilePath.substring(commonSourceDirectory.length) : sourceFilePath;\n  return combinePaths(newDirPath, sourceFilePath);\n}\nfunction writeFile(host, diagnostics, fileName, text, writeByteOrderMark, sourceFiles, data) {\n  host.writeFile(fileName, text, writeByteOrderMark, (hostErrorMessage) => {\n    diagnostics.add(createCompilerDiagnostic(Diagnostics.Could_not_write_file_0_Colon_1, fileName, hostErrorMessage));\n  }, sourceFiles, data);\n}\nfunction ensureDirectoriesExist(directoryPath, createDirectory, directoryExists) {\n  if (directoryPath.length > getRootLength(directoryPath) && !directoryExists(directoryPath)) {\n    const parentDirectory = getDirectoryPath(directoryPath);\n    ensureDirectoriesExist(parentDirectory, createDirectory, directoryExists);\n    createDirectory(directoryPath);\n  }\n}\nfunction writeFileEnsuringDirectories(path, data, writeByteOrderMark, writeFile2, createDirectory, directoryExists) {\n  try {\n    writeFile2(path, data, writeByteOrderMark);\n  } catch (e) {\n    ensureDirectoriesExist(getDirectoryPath(normalizePath(path)), createDirectory, directoryExists);\n    writeFile2(path, data, writeByteOrderMark);\n  }\n}\nfunction getLineOfLocalPosition(sourceFile, pos) {\n  const lineStarts = getLineStarts(sourceFile);\n  return computeLineOfPosition(lineStarts, pos);\n}\nfunction getLineOfLocalPositionFromLineMap(lineMap, pos) {\n  return computeLineOfPosition(lineMap, pos);\n}\nfunction getFirstConstructorWithBody(node) {\n  return find(node.members, (member) => isConstructorDeclaration(member) && nodeIsPresent(member.body));\n}\nfunction getSetAccessorValueParameter(accessor) {\n  if (accessor && accessor.parameters.length > 0) {\n    const hasThis = accessor.parameters.length === 2 && parameterIsThisKeyword(accessor.parameters[0]);\n    return accessor.parameters[hasThis ? 1 : 0];\n  }\n}\nfunction getSetAccessorTypeAnnotationNode(accessor) {\n  const parameter = getSetAccessorValueParameter(accessor);\n  return parameter && parameter.type;\n}\nfunction getThisParameter(signature) {\n  if (signature.parameters.length && !isJSDocSignature(signature)) {\n    const thisParameter = signature.parameters[0];\n    if (parameterIsThisKeyword(thisParameter)) {\n      return thisParameter;\n    }\n  }\n}\nfunction parameterIsThisKeyword(parameter) {\n  return isThisIdentifier(parameter.name);\n}\nfunction isThisIdentifier(node) {\n  return !!node && node.kind === 79 /* Identifier */ && identifierIsThisKeyword(node);\n}\nfunction isThisInTypeQuery(node) {\n  if (!isThisIdentifier(node)) {\n    return false;\n  }\n  while (isQualifiedName(node.parent) && node.parent.left === node) {\n    node = node.parent;\n  }\n  return node.parent.kind === 186 /* TypeQuery */;\n}\nfunction identifierIsThisKeyword(id) {\n  return id.originalKeywordKind === 109 /* ThisKeyword */;\n}\nfunction getAllAccessorDeclarations(declarations, accessor) {\n  let firstAccessor;\n  let secondAccessor;\n  let getAccessor;\n  let setAccessor;\n  if (hasDynamicName(accessor)) {\n    firstAccessor = accessor;\n    if (accessor.kind === 177 /* GetAccessor */) {\n      getAccessor = accessor;\n    } else if (accessor.kind === 178 /* SetAccessor */) {\n      setAccessor = accessor;\n    } else {\n      Debug.fail(\"Accessor has wrong kind\");\n    }\n  } else {\n    forEach(declarations, (member) => {\n      if (isAccessor(member) && isStatic(member) === isStatic(accessor)) {\n        const memberName = getPropertyNameForPropertyNameNode(member.name);\n        const accessorName = getPropertyNameForPropertyNameNode(accessor.name);\n        if (memberName === accessorName) {\n          if (!firstAccessor) {\n            firstAccessor = member;\n          } else if (!secondAccessor) {\n            secondAccessor = member;\n          }\n          if (member.kind === 177 /* GetAccessor */ && !getAccessor) {\n            getAccessor = member;\n          }\n          if (member.kind === 178 /* SetAccessor */ && !setAccessor) {\n            setAccessor = member;\n          }\n        }\n      }\n    });\n  }\n  return {\n    firstAccessor,\n    secondAccessor,\n    getAccessor,\n    setAccessor\n  };\n}\nfunction getEffectiveTypeAnnotationNode(node) {\n  if (!isInJSFile(node) && isFunctionDeclaration(node))\n    return void 0;\n  const type = node.type;\n  if (type || !isInJSFile(node))\n    return type;\n  return isJSDocPropertyLikeTag(node) ? node.typeExpression && node.typeExpression.type : getJSDocType(node);\n}\nfunction getTypeAnnotationNode(node) {\n  return node.type;\n}\nfunction getEffectiveReturnTypeNode(node) {\n  return isJSDocSignature(node) ? node.type && node.type.typeExpression && node.type.typeExpression.type : node.type || (isInJSFile(node) ? getJSDocReturnType(node) : void 0);\n}\nfunction getJSDocTypeParameterDeclarations(node) {\n  return flatMap(getJSDocTags(node), (tag) => isNonTypeAliasTemplate(tag) ? tag.typeParameters : void 0);\n}\nfunction isNonTypeAliasTemplate(tag) {\n  return isJSDocTemplateTag(tag) && !(tag.parent.kind === 329 /* JSDoc */ && tag.parent.tags.some(isJSDocTypeAlias));\n}\nfunction getEffectiveSetAccessorTypeAnnotationNode(node) {\n  const parameter = getSetAccessorValueParameter(node);\n  return parameter && getEffectiveTypeAnnotationNode(parameter);\n}\nfunction emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments) {\n  emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, node.pos, leadingComments);\n}\nfunction emitNewLineBeforeLeadingCommentsOfPosition(lineMap, writer, pos, leadingComments) {\n  if (leadingComments && leadingComments.length && pos !== leadingComments[0].pos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, leadingComments[0].pos)) {\n    writer.writeLine();\n  }\n}\nfunction emitNewLineBeforeLeadingCommentOfPosition(lineMap, writer, pos, commentPos) {\n  if (pos !== commentPos && getLineOfLocalPositionFromLineMap(lineMap, pos) !== getLineOfLocalPositionFromLineMap(lineMap, commentPos)) {\n    writer.writeLine();\n  }\n}\nfunction emitComments(text, lineMap, writer, comments, leadingSeparator, trailingSeparator, newLine, writeComment) {\n  if (comments && comments.length > 0) {\n    if (leadingSeparator) {\n      writer.writeSpace(\" \");\n    }\n    let emitInterveningSeparator = false;\n    for (const comment of comments) {\n      if (emitInterveningSeparator) {\n        writer.writeSpace(\" \");\n        emitInterveningSeparator = false;\n      }\n      writeComment(text, lineMap, writer, comment.pos, comment.end, newLine);\n      if (comment.hasTrailingNewLine) {\n        writer.writeLine();\n      } else {\n        emitInterveningSeparator = true;\n      }\n    }\n    if (emitInterveningSeparator && trailingSeparator) {\n      writer.writeSpace(\" \");\n    }\n  }\n}\nfunction emitDetachedComments(text, lineMap, writer, writeComment, node, newLine, removeComments) {\n  let leadingComments;\n  let currentDetachedCommentInfo;\n  if (removeComments) {\n    if (node.pos === 0) {\n      leadingComments = filter(getLeadingCommentRanges(text, node.pos), isPinnedCommentLocal);\n    }\n  } else {\n    leadingComments = getLeadingCommentRanges(text, node.pos);\n  }\n  if (leadingComments) {\n    const detachedComments = [];\n    let lastComment;\n    for (const comment of leadingComments) {\n      if (lastComment) {\n        const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, lastComment.end);\n        const commentLine = getLineOfLocalPositionFromLineMap(lineMap, comment.pos);\n        if (commentLine >= lastCommentLine + 2) {\n          break;\n        }\n      }\n      detachedComments.push(comment);\n      lastComment = comment;\n    }\n    if (detachedComments.length) {\n      const lastCommentLine = getLineOfLocalPositionFromLineMap(lineMap, last(detachedComments).end);\n      const nodeLine = getLineOfLocalPositionFromLineMap(lineMap, skipTrivia(text, node.pos));\n      if (nodeLine >= lastCommentLine + 2) {\n        emitNewLineBeforeLeadingComments(lineMap, writer, node, leadingComments);\n        emitComments(text, lineMap, writer, detachedComments, false, true, newLine, writeComment);\n        currentDetachedCommentInfo = { nodePos: node.pos, detachedCommentEndPos: last(detachedComments).end };\n      }\n    }\n  }\n  return currentDetachedCommentInfo;\n  function isPinnedCommentLocal(comment) {\n    return isPinnedComment(text, comment.pos);\n  }\n}\nfunction writeCommentRange(text, lineMap, writer, commentPos, commentEnd, newLine) {\n  if (text.charCodeAt(commentPos + 1) === 42 /* asterisk */) {\n    const firstCommentLineAndCharacter = computeLineAndCharacterOfPosition(lineMap, commentPos);\n    const lineCount = lineMap.length;\n    let firstCommentLineIndent;\n    for (let pos = commentPos, currentLine = firstCommentLineAndCharacter.line; pos < commentEnd; currentLine++) {\n      const nextLineStart = currentLine + 1 === lineCount ? text.length + 1 : lineMap[currentLine + 1];\n      if (pos !== commentPos) {\n        if (firstCommentLineIndent === void 0) {\n          firstCommentLineIndent = calculateIndent(text, lineMap[firstCommentLineAndCharacter.line], commentPos);\n        }\n        const currentWriterIndentSpacing = writer.getIndent() * getIndentSize();\n        const spacesToEmit = currentWriterIndentSpacing - firstCommentLineIndent + calculateIndent(text, pos, nextLineStart);\n        if (spacesToEmit > 0) {\n          let numberOfSingleSpacesToEmit = spacesToEmit % getIndentSize();\n          const indentSizeSpaceString = getIndentString((spacesToEmit - numberOfSingleSpacesToEmit) / getIndentSize());\n          writer.rawWrite(indentSizeSpaceString);\n          while (numberOfSingleSpacesToEmit) {\n            writer.rawWrite(\" \");\n            numberOfSingleSpacesToEmit--;\n          }\n        } else {\n          writer.rawWrite(\"\");\n        }\n      }\n      writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart);\n      pos = nextLineStart;\n    }\n  } else {\n    writer.writeComment(text.substring(commentPos, commentEnd));\n  }\n}\nfunction writeTrimmedCurrentLine(text, commentEnd, writer, newLine, pos, nextLineStart) {\n  const end = Math.min(commentEnd, nextLineStart - 1);\n  const currentLineText = trimString(text.substring(pos, end));\n  if (currentLineText) {\n    writer.writeComment(currentLineText);\n    if (end !== commentEnd) {\n      writer.writeLine();\n    }\n  } else {\n    writer.rawWrite(newLine);\n  }\n}\nfunction calculateIndent(text, pos, end) {\n  let currentLineIndent = 0;\n  for (; pos < end && isWhiteSpaceSingleLine(text.charCodeAt(pos)); pos++) {\n    if (text.charCodeAt(pos) === 9 /* tab */) {\n      currentLineIndent += getIndentSize() - currentLineIndent % getIndentSize();\n    } else {\n      currentLineIndent++;\n    }\n  }\n  return currentLineIndent;\n}\nfunction hasEffectiveModifiers(node) {\n  return getEffectiveModifierFlags(node) !== 0 /* None */;\n}\nfunction hasSyntacticModifiers(node) {\n  return getSyntacticModifierFlags(node) !== 0 /* None */;\n}\nfunction hasEffectiveModifier(node, flags) {\n  return !!getSelectedEffectiveModifierFlags(node, flags);\n}\nfunction hasSyntacticModifier(node, flags) {\n  return !!getSelectedSyntacticModifierFlags(node, flags);\n}\nfunction isStatic(node) {\n  return isClassElement(node) && hasStaticModifier(node) || isClassStaticBlockDeclaration(node);\n}\nfunction hasIllegalDecorators(node) {\n  return canHaveIllegalDecorators(node);\n}\nfunction hasStaticModifier(node) {\n  return hasSyntacticModifier(node, 32 /* Static */);\n}\nfunction hasOverrideModifier(node) {\n  return hasEffectiveModifier(node, 16384 /* Override */);\n}\nfunction hasAbstractModifier(node) {\n  return hasSyntacticModifier(node, 256 /* Abstract */);\n}\nfunction hasAmbientModifier(node) {\n  return hasSyntacticModifier(node, 2 /* Ambient */);\n}\nfunction hasAccessorModifier(node) {\n  return hasSyntacticModifier(node, 128 /* Accessor */);\n}\nfunction hasEffectiveReadonlyModifier(node) {\n  return hasEffectiveModifier(node, 64 /* Readonly */);\n}\nfunction hasDecorators(node) {\n  return hasSyntacticModifier(node, 131072 /* Decorator */) && some(node.modifiers, isDecorator);\n}\nfunction hasAnnotations(node) {\n  return hasSyntacticModifier(node, 131072 /* Decorator */) && some(node.modifiers, isAnnotation);\n}\nfunction getSelectedEffectiveModifierFlags(node, flags) {\n  return getEffectiveModifierFlags(node) & flags;\n}\nfunction getSelectedSyntacticModifierFlags(node, flags) {\n  return getSyntacticModifierFlags(node) & flags;\n}\nfunction getModifierFlagsWorker(node, includeJSDoc, alwaysIncludeJSDoc) {\n  if (node.kind >= 0 /* FirstToken */ && node.kind <= 164 /* LastToken */) {\n    return 0 /* None */;\n  }\n  if (!(node.modifierFlagsCache & 536870912 /* HasComputedFlags */)) {\n    node.modifierFlagsCache = getSyntacticModifierFlagsNoCache(node) | 536870912 /* HasComputedFlags */;\n  }\n  if (includeJSDoc && !(node.modifierFlagsCache & 4096 /* HasComputedJSDocModifiers */) && (alwaysIncludeJSDoc || isInJSFile(node)) && node.parent) {\n    node.modifierFlagsCache |= getJSDocModifierFlagsNoCache(node) | 4096 /* HasComputedJSDocModifiers */;\n  }\n  return node.modifierFlagsCache & ~(536870912 /* HasComputedFlags */ | 4096 /* HasComputedJSDocModifiers */);\n}\nfunction getEffectiveModifierFlags(node) {\n  return getModifierFlagsWorker(node, true);\n}\nfunction getEffectiveModifierFlagsAlwaysIncludeJSDoc(node) {\n  return getModifierFlagsWorker(node, true, true);\n}\nfunction getSyntacticModifierFlags(node) {\n  return getModifierFlagsWorker(node, false);\n}\nfunction getJSDocModifierFlagsNoCache(node) {\n  let flags = 0 /* None */;\n  if (!!node.parent && !isParameter(node)) {\n    if (isInJSFile(node)) {\n      if (getJSDocPublicTagNoCache(node))\n        flags |= 4 /* Public */;\n      if (getJSDocPrivateTagNoCache(node))\n        flags |= 8 /* Private */;\n      if (getJSDocProtectedTagNoCache(node))\n        flags |= 16 /* Protected */;\n      if (getJSDocReadonlyTagNoCache(node))\n        flags |= 64 /* Readonly */;\n      if (getJSDocOverrideTagNoCache(node))\n        flags |= 16384 /* Override */;\n    }\n    if (getJSDocDeprecatedTagNoCache(node))\n      flags |= 8192 /* Deprecated */;\n  }\n  return flags;\n}\nfunction getEffectiveModifierFlagsNoCache(node) {\n  return getSyntacticModifierFlagsNoCache(node) | getJSDocModifierFlagsNoCache(node);\n}\nfunction getSyntacticModifierFlagsNoCache(node) {\n  let flags = canHaveModifiers(node) ? modifiersToFlags(node.modifiers) : 0 /* None */;\n  if (node.flags & 4 /* NestedNamespace */ || node.kind === 79 /* Identifier */ && node.isInJSDocNamespace) {\n    flags |= 1 /* Export */;\n  }\n  return flags;\n}\nfunction modifiersToFlags(modifiers) {\n  let flags = 0 /* None */;\n  if (modifiers) {\n    for (const modifier of modifiers) {\n      flags |= modifierToFlag(modifier.kind);\n    }\n  }\n  return flags;\n}\nfunction modifierToFlag(token) {\n  switch (token) {\n    case 125 /* StaticKeyword */:\n      return 32 /* Static */;\n    case 124 /* PublicKeyword */:\n      return 4 /* Public */;\n    case 123 /* ProtectedKeyword */:\n      return 16 /* Protected */;\n    case 122 /* PrivateKeyword */:\n      return 8 /* Private */;\n    case 127 /* AbstractKeyword */:\n      return 256 /* Abstract */;\n    case 128 /* AccessorKeyword */:\n      return 128 /* Accessor */;\n    case 94 /* ExportKeyword */:\n      return 1 /* Export */;\n    case 137 /* DeclareKeyword */:\n      return 2 /* Ambient */;\n    case 86 /* ConstKeyword */:\n      return 2048 /* Const */;\n    case 89 /* DefaultKeyword */:\n      return 1024 /* Default */;\n    case 133 /* AsyncKeyword */:\n      return 512 /* Async */;\n    case 147 /* ReadonlyKeyword */:\n      return 64 /* Readonly */;\n    case 163 /* OverrideKeyword */:\n      return 16384 /* Override */;\n    case 102 /* InKeyword */:\n      return 32768 /* In */;\n    case 146 /* OutKeyword */:\n      return 65536 /* Out */;\n    case 169 /* Decorator */:\n      return 131072 /* Decorator */;\n  }\n  return 0 /* None */;\n}\nfunction isLogicalOperator(token) {\n  return token === 56 /* BarBarToken */ || token === 55 /* AmpersandAmpersandToken */ || token === 53 /* ExclamationToken */;\n}\nfunction isLogicalOrCoalescingAssignmentOperator(token) {\n  return token === 75 /* BarBarEqualsToken */ || token === 76 /* AmpersandAmpersandEqualsToken */ || token === 77 /* QuestionQuestionEqualsToken */;\n}\nfunction isLogicalOrCoalescingAssignmentExpression(expr) {\n  return isLogicalOrCoalescingAssignmentOperator(expr.operatorToken.kind);\n}\nfunction isAssignmentOperator(token) {\n  return token >= 63 /* FirstAssignment */ && token <= 78 /* LastAssignment */;\n}\nfunction tryGetClassExtendingExpressionWithTypeArguments(node) {\n  const cls = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node);\n  return cls && !cls.isImplements ? cls.class : void 0;\n}\nfunction tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node) {\n  return isExpressionWithTypeArguments(node) && isHeritageClause(node.parent) && isClassLike(node.parent.parent) ? { class: node.parent.parent, isImplements: node.parent.token === 118 /* ImplementsKeyword */ } : void 0;\n}\nfunction isAssignmentExpression(node, excludeCompoundAssignment) {\n  return isBinaryExpression(node) && (excludeCompoundAssignment ? node.operatorToken.kind === 63 /* EqualsToken */ : isAssignmentOperator(node.operatorToken.kind)) && isLeftHandSideExpression(node.left);\n}\nfunction isLeftHandSideOfAssignment(node) {\n  return isAssignmentExpression(node.parent) && node.parent.left === node;\n}\nfunction isDestructuringAssignment(node) {\n  if (isAssignmentExpression(node, true)) {\n    const kind = node.left.kind;\n    return kind === 210 /* ObjectLiteralExpression */ || kind === 209 /* ArrayLiteralExpression */;\n  }\n  return false;\n}\nfunction isExpressionWithTypeArgumentsInClassExtendsClause(node) {\n  return tryGetClassExtendingExpressionWithTypeArguments(node) !== void 0;\n}\nfunction isEntityNameExpression(node) {\n  return node.kind === 79 /* Identifier */ || isPropertyAccessEntityNameExpression(node);\n}\nfunction getFirstIdentifier(node) {\n  switch (node.kind) {\n    case 79 /* Identifier */:\n      return node;\n    case 165 /* QualifiedName */:\n      do {\n        node = node.left;\n      } while (node.kind !== 79 /* Identifier */);\n      return node;\n    case 211 /* PropertyAccessExpression */:\n      do {\n        node = node.expression;\n      } while (node.kind !== 79 /* Identifier */);\n      return node;\n  }\n}\nfunction isDottedName(node) {\n  return node.kind === 79 /* Identifier */ || node.kind === 109 /* ThisKeyword */ || node.kind === 107 /* SuperKeyword */ || node.kind === 237 /* MetaProperty */ || node.kind === 211 /* PropertyAccessExpression */ && isDottedName(node.expression) || node.kind === 217 /* ParenthesizedExpression */ && isDottedName(node.expression);\n}\nfunction isPropertyAccessEntityNameExpression(node) {\n  return isPropertyAccessExpression(node) && isIdentifier(node.name) && isEntityNameExpression(node.expression);\n}\nfunction tryGetPropertyAccessOrIdentifierToString(expr) {\n  if (isPropertyAccessExpression(expr)) {\n    const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression);\n    if (baseStr !== void 0) {\n      return baseStr + \".\" + entityNameToString(expr.name);\n    }\n  } else if (isElementAccessExpression(expr)) {\n    const baseStr = tryGetPropertyAccessOrIdentifierToString(expr.expression);\n    if (baseStr !== void 0 && isPropertyName(expr.argumentExpression)) {\n      return baseStr + \".\" + getPropertyNameForPropertyNameNode(expr.argumentExpression);\n    }\n  } else if (isIdentifier(expr)) {\n    return unescapeLeadingUnderscores(expr.escapedText);\n  }\n  return void 0;\n}\nfunction isPrototypeAccess(node) {\n  return isBindableStaticAccessExpression(node) && getElementOrPropertyAccessName(node) === \"prototype\";\n}\nfunction isRightSideOfQualifiedNameOrPropertyAccess(node) {\n  return node.parent.kind === 165 /* QualifiedName */ && node.parent.right === node || node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.name === node;\n}\nfunction isRightSideOfAccessExpression(node) {\n  return isPropertyAccessExpression(node.parent) && node.parent.name === node || isElementAccessExpression(node.parent) && node.parent.argumentExpression === node;\n}\nfunction isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(node) {\n  return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node || isJSDocMemberName(node.parent) && node.parent.right === node;\n}\nfunction isEmptyObjectLiteral(expression) {\n  return expression.kind === 210 /* ObjectLiteralExpression */ && expression.properties.length === 0;\n}\nfunction isEmptyArrayLiteral(expression) {\n  return expression.kind === 209 /* ArrayLiteralExpression */ && expression.elements.length === 0;\n}\nfunction getLocalSymbolForExportDefault(symbol) {\n  if (!isExportDefaultSymbol(symbol) || !symbol.declarations)\n    return void 0;\n  for (const decl of symbol.declarations) {\n    if (decl.localSymbol)\n      return decl.localSymbol;\n  }\n  return void 0;\n}\nfunction isExportDefaultSymbol(symbol) {\n  return symbol && length(symbol.declarations) > 0 && hasSyntacticModifier(symbol.declarations[0], 1024 /* Default */);\n}\nfunction tryExtractTSExtension(fileName) {\n  return find(supportedTSExtensionsForExtractExtension, (extension) => fileExtensionIs(fileName, extension));\n}\nfunction getExpandedCharCodes(input) {\n  const output = [];\n  const length2 = input.length;\n  for (let i = 0; i < length2; i++) {\n    const charCode = input.charCodeAt(i);\n    if (charCode < 128) {\n      output.push(charCode);\n    } else if (charCode < 2048) {\n      output.push(charCode >> 6 | 192);\n      output.push(charCode & 63 | 128);\n    } else if (charCode < 65536) {\n      output.push(charCode >> 12 | 224);\n      output.push(charCode >> 6 & 63 | 128);\n      output.push(charCode & 63 | 128);\n    } else if (charCode < 131072) {\n      output.push(charCode >> 18 | 240);\n      output.push(charCode >> 12 & 63 | 128);\n      output.push(charCode >> 6 & 63 | 128);\n      output.push(charCode & 63 | 128);\n    } else {\n      Debug.assert(false, \"Unexpected code point\");\n    }\n  }\n  return output;\n}\nvar base64Digits = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\nfunction convertToBase64(input) {\n  let result = \"\";\n  const charCodes = getExpandedCharCodes(input);\n  let i = 0;\n  const length2 = charCodes.length;\n  let byte1, byte2, byte3, byte4;\n  while (i < length2) {\n    byte1 = charCodes[i] >> 2;\n    byte2 = (charCodes[i] & 3) << 4 | charCodes[i + 1] >> 4;\n    byte3 = (charCodes[i + 1] & 15) << 2 | charCodes[i + 2] >> 6;\n    byte4 = charCodes[i + 2] & 63;\n    if (i + 1 >= length2) {\n      byte3 = byte4 = 64;\n    } else if (i + 2 >= length2) {\n      byte4 = 64;\n    }\n    result += base64Digits.charAt(byte1) + base64Digits.charAt(byte2) + base64Digits.charAt(byte3) + base64Digits.charAt(byte4);\n    i += 3;\n  }\n  return result;\n}\nfunction getStringFromExpandedCharCodes(codes) {\n  let output = \"\";\n  let i = 0;\n  const length2 = codes.length;\n  while (i < length2) {\n    const charCode = codes[i];\n    if (charCode < 128) {\n      output += String.fromCharCode(charCode);\n      i++;\n    } else if ((charCode & 192) === 192) {\n      let value = charCode & 63;\n      i++;\n      let nextCode = codes[i];\n      while ((nextCode & 192) === 128) {\n        value = value << 6 | nextCode & 63;\n        i++;\n        nextCode = codes[i];\n      }\n      output += String.fromCharCode(value);\n    } else {\n      output += String.fromCharCode(charCode);\n      i++;\n    }\n  }\n  return output;\n}\nfunction base64encode(host, input) {\n  if (host && host.base64encode) {\n    return host.base64encode(input);\n  }\n  return convertToBase64(input);\n}\nfunction base64decode(host, input) {\n  if (host && host.base64decode) {\n    return host.base64decode(input);\n  }\n  const length2 = input.length;\n  const expandedCharCodes = [];\n  let i = 0;\n  while (i < length2) {\n    if (input.charCodeAt(i) === base64Digits.charCodeAt(64)) {\n      break;\n    }\n    const ch1 = base64Digits.indexOf(input[i]);\n    const ch2 = base64Digits.indexOf(input[i + 1]);\n    const ch3 = base64Digits.indexOf(input[i + 2]);\n    const ch4 = base64Digits.indexOf(input[i + 3]);\n    const code1 = (ch1 & 63) << 2 | ch2 >> 4 & 3;\n    const code2 = (ch2 & 15) << 4 | ch3 >> 2 & 15;\n    const code3 = (ch3 & 3) << 6 | ch4 & 63;\n    if (code2 === 0 && ch3 !== 0) {\n      expandedCharCodes.push(code1);\n    } else if (code3 === 0 && ch4 !== 0) {\n      expandedCharCodes.push(code1, code2);\n    } else {\n      expandedCharCodes.push(code1, code2, code3);\n    }\n    i += 4;\n  }\n  return getStringFromExpandedCharCodes(expandedCharCodes);\n}\nfunction readJsonOrUndefined(path, hostOrText) {\n  const jsonText = isString(hostOrText) ? hostOrText : hostOrText.readFile(path);\n  if (!jsonText)\n    return void 0;\n  const result = parseConfigFileTextToJson(path, jsonText);\n  return !result.error ? result.config : void 0;\n}\nfunction readJson(path, host) {\n  return readJsonOrUndefined(path, host) || {};\n}\nfunction directoryProbablyExists(directoryName, host) {\n  return !host.directoryExists || host.directoryExists(directoryName);\n}\nvar carriageReturnLineFeed = \"\\r\\n\";\nvar lineFeed = \"\\n\";\nfunction getNewLineCharacter(options, getNewLine) {\n  switch (options.newLine) {\n    case 0 /* CarriageReturnLineFeed */:\n      return carriageReturnLineFeed;\n    case 1 /* LineFeed */:\n      return lineFeed;\n  }\n  return getNewLine ? getNewLine() : sys ? sys.newLine : carriageReturnLineFeed;\n}\nfunction createRange(pos, end = pos) {\n  Debug.assert(end >= pos || end === -1);\n  return { pos, end };\n}\nfunction moveRangeEnd(range, end) {\n  return createRange(range.pos, end);\n}\nfunction moveRangePos(range, pos) {\n  return createRange(pos, range.end);\n}\nfunction moveRangePastDecorators(node) {\n  const lastDecorator = canHaveModifiers(node) ? findLast(node.modifiers, isDecorator) : void 0;\n  return lastDecorator && !positionIsSynthesized(lastDecorator.end) ? moveRangePos(node, lastDecorator.end) : node;\n}\nfunction moveRangePastModifiers(node) {\n  const lastModifier = canHaveModifiers(node) ? lastOrUndefined(node.modifiers) : void 0;\n  return lastModifier && !positionIsSynthesized(lastModifier.end) ? moveRangePos(node, lastModifier.end) : moveRangePastDecorators(node);\n}\nfunction isCollapsedRange(range) {\n  return range.pos === range.end;\n}\nfunction createTokenRange(pos, token) {\n  return createRange(pos, pos + tokenToString(token).length);\n}\nfunction rangeIsOnSingleLine(range, sourceFile) {\n  return rangeStartIsOnSameLineAsRangeEnd(range, range, sourceFile);\n}\nfunction rangeStartPositionsAreOnSameLine(range1, range2, sourceFile) {\n  return positionsAreOnSameLine(\n    getStartPositionOfRange(range1, sourceFile, false),\n    getStartPositionOfRange(range2, sourceFile, false),\n    sourceFile\n  );\n}\nfunction rangeEndPositionsAreOnSameLine(range1, range2, sourceFile) {\n  return positionsAreOnSameLine(range1.end, range2.end, sourceFile);\n}\nfunction rangeStartIsOnSameLineAsRangeEnd(range1, range2, sourceFile) {\n  return positionsAreOnSameLine(getStartPositionOfRange(range1, sourceFile, false), range2.end, sourceFile);\n}\nfunction rangeEndIsOnSameLineAsRangeStart(range1, range2, sourceFile) {\n  return positionsAreOnSameLine(range1.end, getStartPositionOfRange(range2, sourceFile, false), sourceFile);\n}\nfunction getLinesBetweenRangeEndAndRangeStart(range1, range2, sourceFile, includeSecondRangeComments) {\n  const range2Start = getStartPositionOfRange(range2, sourceFile, includeSecondRangeComments);\n  return getLinesBetweenPositions(sourceFile, range1.end, range2Start);\n}\nfunction getLinesBetweenRangeEndPositions(range1, range2, sourceFile) {\n  return getLinesBetweenPositions(sourceFile, range1.end, range2.end);\n}\nfunction isNodeArrayMultiLine(list, sourceFile) {\n  return !positionsAreOnSameLine(list.pos, list.end, sourceFile);\n}\nfunction positionsAreOnSameLine(pos1, pos2, sourceFile) {\n  return getLinesBetweenPositions(sourceFile, pos1, pos2) === 0;\n}\nfunction getStartPositionOfRange(range, sourceFile, includeComments) {\n  return positionIsSynthesized(range.pos) ? -1 : skipTrivia(sourceFile.text, range.pos, false, includeComments);\n}\nfunction getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) {\n  const startPos = skipTrivia(sourceFile.text, pos, false, includeComments);\n  const prevPos = getPreviousNonWhitespacePosition(startPos, stopPos, sourceFile);\n  return getLinesBetweenPositions(sourceFile, prevPos != null ? prevPos : stopPos, startPos);\n}\nfunction getLinesBetweenPositionAndNextNonWhitespaceCharacter(pos, stopPos, sourceFile, includeComments) {\n  const nextPos = skipTrivia(sourceFile.text, pos, false, includeComments);\n  return getLinesBetweenPositions(sourceFile, pos, Math.min(stopPos, nextPos));\n}\nfunction getPreviousNonWhitespacePosition(pos, stopPos = 0, sourceFile) {\n  while (pos-- > stopPos) {\n    if (!isWhiteSpaceLike(sourceFile.text.charCodeAt(pos))) {\n      return pos;\n    }\n  }\n}\nfunction isDeclarationNameOfEnumOrNamespace(node) {\n  const parseNode = getParseTreeNode(node);\n  if (parseNode) {\n    switch (parseNode.parent.kind) {\n      case 269 /* EnumDeclaration */:\n      case 270 /* ModuleDeclaration */:\n        return parseNode === parseNode.parent.name;\n    }\n  }\n  return false;\n}\nfunction getInitializedVariables(node) {\n  return filter(node.declarations, isInitializedVariable);\n}\nfunction isInitializedVariable(node) {\n  return node.initializer !== void 0;\n}\nfunction isWatchSet(options) {\n  return options.watch && hasProperty(options, \"watch\");\n}\nfunction closeFileWatcher(watcher) {\n  watcher.close();\n}\nfunction getCheckFlags(symbol) {\n  return symbol.flags & 33554432 /* Transient */ ? symbol.checkFlags : 0;\n}\nfunction getDeclarationModifierFlagsFromSymbol(s, isWrite = false) {\n  if (s.valueDeclaration) {\n    const declaration = isWrite && s.declarations && find(s.declarations, isSetAccessorDeclaration) || s.flags & 32768 /* GetAccessor */ && find(s.declarations, isGetAccessorDeclaration) || s.valueDeclaration;\n    const flags = getCombinedModifierFlags(declaration);\n    return s.parent && s.parent.flags & 32 /* Class */ ? flags : flags & ~28 /* AccessibilityModifier */;\n  }\n  if (getCheckFlags(s) & 6 /* Synthetic */) {\n    const checkFlags = s.checkFlags;\n    const accessModifier = checkFlags & 1024 /* ContainsPrivate */ ? 8 /* Private */ : checkFlags & 256 /* ContainsPublic */ ? 4 /* Public */ : 16 /* Protected */;\n    const staticModifier = checkFlags & 2048 /* ContainsStatic */ ? 32 /* Static */ : 0;\n    return accessModifier | staticModifier;\n  }\n  if (s.flags & 4194304 /* Prototype */) {\n    return 4 /* Public */ | 32 /* Static */;\n  }\n  return 0;\n}\nfunction skipAlias(symbol, checker) {\n  return symbol.flags & 2097152 /* Alias */ ? checker.getAliasedSymbol(symbol) : symbol;\n}\nfunction getCombinedLocalAndExportSymbolFlags(symbol) {\n  return symbol.exportSymbol ? symbol.exportSymbol.flags | symbol.flags : symbol.flags;\n}\nfunction isWriteOnlyAccess(node) {\n  return accessKind(node) === AccessKind.Write;\n}\nfunction isWriteAccess(node) {\n  return accessKind(node) !== AccessKind.Read;\n}\nvar AccessKind = /* @__PURE__ */ ((AccessKind2) => {\n  AccessKind2[AccessKind2[\"Read\"] = 0] = \"Read\";\n  AccessKind2[AccessKind2[\"Write\"] = 1] = \"Write\";\n  AccessKind2[AccessKind2[\"ReadWrite\"] = 2] = \"ReadWrite\";\n  return AccessKind2;\n})(AccessKind || {});\nfunction accessKind(node) {\n  const { parent: parent2 } = node;\n  if (!parent2)\n    return 0 /* Read */;\n  switch (parent2.kind) {\n    case 217 /* ParenthesizedExpression */:\n      return accessKind(parent2);\n    case 226 /* PostfixUnaryExpression */:\n    case 225 /* PrefixUnaryExpression */:\n      const { operator } = parent2;\n      return operator === 45 /* PlusPlusToken */ || operator === 46 /* MinusMinusToken */ ? writeOrReadWrite() : 0 /* Read */;\n    case 227 /* BinaryExpression */:\n      const { left, operatorToken } = parent2;\n      return left === node && isAssignmentOperator(operatorToken.kind) ? operatorToken.kind === 63 /* EqualsToken */ ? 1 /* Write */ : writeOrReadWrite() : 0 /* Read */;\n    case 211 /* PropertyAccessExpression */:\n      return parent2.name !== node ? 0 /* Read */ : accessKind(parent2);\n    case 305 /* PropertyAssignment */: {\n      const parentAccess = accessKind(parent2.parent);\n      return node === parent2.name ? reverseAccessKind(parentAccess) : parentAccess;\n    }\n    case 306 /* ShorthandPropertyAssignment */:\n      return node === parent2.objectAssignmentInitializer ? 0 /* Read */ : accessKind(parent2.parent);\n    case 209 /* ArrayLiteralExpression */:\n      return accessKind(parent2);\n    default:\n      return 0 /* Read */;\n  }\n  function writeOrReadWrite() {\n    return parent2.parent && walkUpParenthesizedExpressions(parent2.parent).kind === 245 /* ExpressionStatement */ ? 1 /* Write */ : 2 /* ReadWrite */;\n  }\n}\nfunction reverseAccessKind(a) {\n  switch (a) {\n    case 0 /* Read */:\n      return 1 /* Write */;\n    case 1 /* Write */:\n      return 0 /* Read */;\n    case 2 /* ReadWrite */:\n      return 2 /* ReadWrite */;\n    default:\n      return Debug.assertNever(a);\n  }\n}\nfunction compareDataObjects(dst, src) {\n  if (!dst || !src || Object.keys(dst).length !== Object.keys(src).length) {\n    return false;\n  }\n  for (const e in dst) {\n    if (typeof dst[e] === \"object\") {\n      if (!compareDataObjects(dst[e], src[e])) {\n        return false;\n      }\n    } else if (typeof dst[e] !== \"function\") {\n      if (dst[e] !== src[e]) {\n        return false;\n      }\n    }\n  }\n  return true;\n}\nfunction clearMap(map2, onDeleteValue) {\n  map2.forEach(onDeleteValue);\n  map2.clear();\n}\nfunction mutateMapSkippingNewValues(map2, newMap, options) {\n  const { onDeleteValue, onExistingValue } = options;\n  map2.forEach((existingValue, key) => {\n    const valueInNewMap = newMap.get(key);\n    if (valueInNewMap === void 0) {\n      map2.delete(key);\n      onDeleteValue(existingValue, key);\n    } else if (onExistingValue) {\n      onExistingValue(existingValue, valueInNewMap, key);\n    }\n  });\n}\nfunction mutateMap(map2, newMap, options) {\n  mutateMapSkippingNewValues(map2, newMap, options);\n  const { createNewValue } = options;\n  newMap.forEach((valueInNewMap, key) => {\n    if (!map2.has(key)) {\n      map2.set(key, createNewValue(key, valueInNewMap));\n    }\n  });\n}\nfunction isAbstractConstructorSymbol(symbol) {\n  if (symbol.flags & 32 /* Class */) {\n    const declaration = getClassLikeDeclarationOfSymbol(symbol);\n    return !!declaration && hasSyntacticModifier(declaration, 256 /* Abstract */);\n  }\n  return false;\n}\nfunction getClassLikeDeclarationOfSymbol(symbol) {\n  var _a2;\n  return (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isClassLike);\n}\nfunction getObjectFlags(type) {\n  return type.flags & 3899393 /* ObjectFlagsType */ ? type.objectFlags : 0;\n}\nfunction typeHasCallOrConstructSignatures(type, checker) {\n  return checker.getSignaturesOfType(type, 0 /* Call */).length !== 0 || checker.getSignaturesOfType(type, 1 /* Construct */).length !== 0;\n}\nfunction forSomeAncestorDirectory(directory, callback) {\n  return !!forEachAncestorDirectory(directory, (d) => callback(d) ? true : void 0);\n}\nfunction isUMDExportSymbol(symbol) {\n  return !!symbol && !!symbol.declarations && !!symbol.declarations[0] && isNamespaceExportDeclaration(symbol.declarations[0]);\n}\nfunction showModuleSpecifier({ moduleSpecifier }) {\n  return isStringLiteral(moduleSpecifier) ? moduleSpecifier.text : getTextOfNode(moduleSpecifier);\n}\nfunction getLastChild(node) {\n  let lastChild;\n  forEachChild(\n    node,\n    (child) => {\n      if (nodeIsPresent(child))\n        lastChild = child;\n    },\n    (children) => {\n      for (let i = children.length - 1; i >= 0; i--) {\n        if (nodeIsPresent(children[i])) {\n          lastChild = children[i];\n          break;\n        }\n      }\n    }\n  );\n  return lastChild;\n}\nfunction addToSeen(seen, key, value = true) {\n  if (seen.has(key)) {\n    return false;\n  }\n  seen.set(key, value);\n  return true;\n}\nfunction isObjectTypeDeclaration(node) {\n  return isClassLike(node) || isInterfaceDeclaration(node) || isTypeLiteralNode(node);\n}\nfunction isTypeNodeKind(kind) {\n  return kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */ || kind === 132 /* AnyKeyword */ || kind === 159 /* UnknownKeyword */ || kind === 149 /* NumberKeyword */ || kind === 162 /* BigIntKeyword */ || kind === 150 /* ObjectKeyword */ || kind === 135 /* BooleanKeyword */ || kind === 153 /* StringKeyword */ || kind === 154 /* SymbolKeyword */ || kind === 115 /* VoidKeyword */ || kind === 157 /* UndefinedKeyword */ || kind === 145 /* NeverKeyword */ || kind === 234 /* ExpressionWithTypeArguments */ || kind === 321 /* JSDocAllType */ || kind === 322 /* JSDocUnknownType */ || kind === 323 /* JSDocNullableType */ || kind === 324 /* JSDocNonNullableType */ || kind === 325 /* JSDocOptionalType */ || kind === 326 /* JSDocFunctionType */ || kind === 327 /* JSDocVariadicType */;\n}\nfunction isAccessExpression(node) {\n  return node.kind === 211 /* PropertyAccessExpression */ || node.kind === 212 /* ElementAccessExpression */;\n}\nfunction getNameOfAccessExpression(node) {\n  if (node.kind === 211 /* PropertyAccessExpression */) {\n    return node.name;\n  }\n  Debug.assert(node.kind === 212 /* ElementAccessExpression */);\n  return node.argumentExpression;\n}\nfunction isBundleFileTextLike(section) {\n  switch (section.kind) {\n    case \"text\" /* Text */:\n    case \"internal\" /* Internal */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isNamedImportsOrExports(node) {\n  return node.kind === 278 /* NamedImports */ || node.kind === 282 /* NamedExports */;\n}\nfunction getLeftmostAccessExpression(expr) {\n  while (isAccessExpression(expr)) {\n    expr = expr.expression;\n  }\n  return expr;\n}\nfunction forEachNameInAccessChainWalkingLeft(name, action) {\n  if (isAccessExpression(name.parent) && isRightSideOfAccessExpression(name)) {\n    return walkAccessExpression(name.parent);\n  }\n  function walkAccessExpression(access) {\n    if (access.kind === 211 /* PropertyAccessExpression */) {\n      const res = action(access.name);\n      if (res !== void 0) {\n        return res;\n      }\n    } else if (access.kind === 212 /* ElementAccessExpression */) {\n      if (isIdentifier(access.argumentExpression) || isStringLiteralLike(access.argumentExpression)) {\n        const res = action(access.argumentExpression);\n        if (res !== void 0) {\n          return res;\n        }\n      } else {\n        return void 0;\n      }\n    }\n    if (isAccessExpression(access.expression)) {\n      return walkAccessExpression(access.expression);\n    }\n    if (isIdentifier(access.expression)) {\n      return action(access.expression);\n    }\n    return void 0;\n  }\n}\nfunction getLeftmostExpression(node, stopAtCallExpressions) {\n  while (true) {\n    switch (node.kind) {\n      case 226 /* PostfixUnaryExpression */:\n        node = node.operand;\n        continue;\n      case 227 /* BinaryExpression */:\n        node = node.left;\n        continue;\n      case 228 /* ConditionalExpression */:\n        node = node.condition;\n        continue;\n      case 215 /* TaggedTemplateExpression */:\n        node = node.tag;\n        continue;\n      case 213 /* CallExpression */:\n        if (stopAtCallExpressions) {\n          return node;\n        }\n      case 235 /* AsExpression */:\n      case 212 /* ElementAccessExpression */:\n      case 211 /* PropertyAccessExpression */:\n      case 236 /* NonNullExpression */:\n      case 359 /* PartiallyEmittedExpression */:\n      case 239 /* SatisfiesExpression */:\n        node = node.expression;\n        continue;\n    }\n    return node;\n  }\n}\nfunction Symbol4(flags, name) {\n  this.flags = flags;\n  this.escapedName = name;\n  this.declarations = void 0;\n  this.valueDeclaration = void 0;\n  this.id = void 0;\n  this.mergeId = void 0;\n  this.parent = void 0;\n}\nfunction Type3(checker, flags) {\n  this.flags = flags;\n  if (Debug.isDebugging || tracing) {\n    this.checker = checker;\n  }\n}\nfunction Signature2(checker, flags) {\n  this.flags = flags;\n  if (Debug.isDebugging) {\n    this.checker = checker;\n  }\n}\nfunction Node4(kind, pos, end) {\n  this.pos = pos;\n  this.end = end;\n  this.kind = kind;\n  this.id = 0;\n  this.flags = 0 /* None */;\n  this.modifierFlagsCache = 0 /* None */;\n  this.transformFlags = 0 /* None */;\n  this.parent = void 0;\n  this.original = void 0;\n}\nfunction Token(kind, pos, end) {\n  this.pos = pos;\n  this.end = end;\n  this.kind = kind;\n  this.id = 0;\n  this.flags = 0 /* None */;\n  this.transformFlags = 0 /* None */;\n  this.parent = void 0;\n}\nfunction Identifier2(kind, pos, end) {\n  this.pos = pos;\n  this.end = end;\n  this.kind = kind;\n  this.id = 0;\n  this.flags = 0 /* None */;\n  this.transformFlags = 0 /* None */;\n  this.parent = void 0;\n  this.original = void 0;\n  this.flowNode = void 0;\n}\nfunction SourceMapSource(fileName, text, skipTrivia2) {\n  this.fileName = fileName;\n  this.text = text;\n  this.skipTrivia = skipTrivia2 || ((pos) => pos);\n}\nvar objectAllocator = {\n  getNodeConstructor: () => Node4,\n  getTokenConstructor: () => Token,\n  getIdentifierConstructor: () => Identifier2,\n  getPrivateIdentifierConstructor: () => Node4,\n  getSourceFileConstructor: () => Node4,\n  getSymbolConstructor: () => Symbol4,\n  getTypeConstructor: () => Type3,\n  getSignatureConstructor: () => Signature2,\n  getSourceMapSourceConstructor: () => SourceMapSource\n};\nfunction setObjectAllocator(alloc) {\n  Object.assign(objectAllocator, alloc);\n}\nfunction formatStringFromArgs(text, args, baseIndex = 0) {\n  return text.replace(/{(\\d+)}/g, (_match, index) => \"\" + Debug.checkDefined(args[+index + baseIndex]));\n}\nvar localizedDiagnosticMessages;\nfunction setLocalizedDiagnosticMessages(messages) {\n  localizedDiagnosticMessages = messages;\n}\nfunction maybeSetLocalizedDiagnosticMessages(getMessages) {\n  if (!localizedDiagnosticMessages && getMessages) {\n    localizedDiagnosticMessages = getMessages();\n  }\n}\nfunction getLocaleSpecificMessage(message) {\n  return localizedDiagnosticMessages && localizedDiagnosticMessages[message.key] || message.message;\n}\nfunction createDetachedDiagnostic(fileName, start, length2, message) {\n  assertDiagnosticLocation(void 0, start, length2);\n  let text = getLocaleSpecificMessage(message);\n  if (arguments.length > 4) {\n    text = formatStringFromArgs(text, arguments, 4);\n  }\n  return {\n    file: void 0,\n    start,\n    length: length2,\n    messageText: text,\n    category: message.category,\n    code: message.code,\n    reportsUnnecessary: message.reportsUnnecessary,\n    fileName\n  };\n}\nfunction isDiagnosticWithDetachedLocation(diagnostic) {\n  return diagnostic.file === void 0 && diagnostic.start !== void 0 && diagnostic.length !== void 0 && typeof diagnostic.fileName === \"string\";\n}\nfunction attachFileToDiagnostic(diagnostic, file) {\n  const fileName = file.fileName || \"\";\n  const length2 = file.text.length;\n  Debug.assertEqual(diagnostic.fileName, fileName);\n  Debug.assertLessThanOrEqual(diagnostic.start, length2);\n  Debug.assertLessThanOrEqual(diagnostic.start + diagnostic.length, length2);\n  const diagnosticWithLocation = {\n    file,\n    start: diagnostic.start,\n    length: diagnostic.length,\n    messageText: diagnostic.messageText,\n    category: diagnostic.category,\n    code: diagnostic.code,\n    reportsUnnecessary: diagnostic.reportsUnnecessary\n  };\n  if (diagnostic.relatedInformation) {\n    diagnosticWithLocation.relatedInformation = [];\n    for (const related of diagnostic.relatedInformation) {\n      if (isDiagnosticWithDetachedLocation(related) && related.fileName === fileName) {\n        Debug.assertLessThanOrEqual(related.start, length2);\n        Debug.assertLessThanOrEqual(related.start + related.length, length2);\n        diagnosticWithLocation.relatedInformation.push(attachFileToDiagnostic(related, file));\n      } else {\n        diagnosticWithLocation.relatedInformation.push(related);\n      }\n    }\n  }\n  return diagnosticWithLocation;\n}\nfunction attachFileToDiagnostics(diagnostics, file) {\n  const diagnosticsWithLocation = [];\n  for (const diagnostic of diagnostics) {\n    diagnosticsWithLocation.push(attachFileToDiagnostic(diagnostic, file));\n  }\n  return diagnosticsWithLocation;\n}\nfunction createFileDiagnostic(file, start, length2, message) {\n  assertDiagnosticLocation(file, start, length2);\n  let text = getLocaleSpecificMessage(message);\n  if (arguments.length > 4) {\n    text = formatStringFromArgs(text, arguments, 4);\n  }\n  return {\n    file,\n    start,\n    length: length2,\n    messageText: text,\n    category: message.category,\n    code: message.code,\n    reportsUnnecessary: message.reportsUnnecessary,\n    reportsDeprecated: message.reportsDeprecated\n  };\n}\nfunction formatMessage(_dummy, message) {\n  let text = getLocaleSpecificMessage(message);\n  if (arguments.length > 2) {\n    text = formatStringFromArgs(text, arguments, 2);\n  }\n  return text;\n}\nfunction createCompilerDiagnostic(message) {\n  let text = getLocaleSpecificMessage(message);\n  if (arguments.length > 1) {\n    text = formatStringFromArgs(text, arguments, 1);\n  }\n  return {\n    file: void 0,\n    start: void 0,\n    length: void 0,\n    messageText: text,\n    category: message.category,\n    code: message.code,\n    reportsUnnecessary: message.reportsUnnecessary,\n    reportsDeprecated: message.reportsDeprecated\n  };\n}\nfunction createCompilerDiagnosticFromMessageChain(chain, relatedInformation) {\n  return {\n    file: void 0,\n    start: void 0,\n    length: void 0,\n    code: chain.code,\n    category: chain.category,\n    messageText: chain.next ? chain : chain.messageText,\n    relatedInformation\n  };\n}\nfunction chainDiagnosticMessages(details, message) {\n  let text = getLocaleSpecificMessage(message);\n  if (arguments.length > 2) {\n    text = formatStringFromArgs(text, arguments, 2);\n  }\n  return {\n    messageText: text,\n    category: message.category,\n    code: message.code,\n    next: details === void 0 || Array.isArray(details) ? details : [details]\n  };\n}\nfunction concatenateDiagnosticMessageChains(headChain, tailChain) {\n  let lastChain = headChain;\n  while (lastChain.next) {\n    lastChain = lastChain.next[0];\n  }\n  lastChain.next = [tailChain];\n}\nfunction getDiagnosticFilePath(diagnostic) {\n  return diagnostic.file ? diagnostic.file.path : void 0;\n}\nfunction compareDiagnostics(d1, d2) {\n  return compareDiagnosticsSkipRelatedInformation(d1, d2) || compareRelatedInformation(d1, d2) || 0 /* EqualTo */;\n}\nfunction compareDiagnosticsSkipRelatedInformation(d1, d2) {\n  return compareStringsCaseSensitive(getDiagnosticFilePath(d1), getDiagnosticFilePath(d2)) || compareValues(d1.start, d2.start) || compareValues(d1.length, d2.length) || compareValues(d1.code, d2.code) || compareMessageText(d1.messageText, d2.messageText) || 0 /* EqualTo */;\n}\nfunction compareRelatedInformation(d1, d2) {\n  if (!d1.relatedInformation && !d2.relatedInformation) {\n    return 0 /* EqualTo */;\n  }\n  if (d1.relatedInformation && d2.relatedInformation) {\n    return compareValues(d1.relatedInformation.length, d2.relatedInformation.length) || forEach(d1.relatedInformation, (d1i, index) => {\n      const d2i = d2.relatedInformation[index];\n      return compareDiagnostics(d1i, d2i);\n    }) || 0 /* EqualTo */;\n  }\n  return d1.relatedInformation ? -1 /* LessThan */ : 1 /* GreaterThan */;\n}\nfunction compareMessageText(t1, t2) {\n  if (typeof t1 === \"string\" && typeof t2 === \"string\") {\n    return compareStringsCaseSensitive(t1, t2);\n  } else if (typeof t1 === \"string\") {\n    return -1 /* LessThan */;\n  } else if (typeof t2 === \"string\") {\n    return 1 /* GreaterThan */;\n  }\n  let res = compareStringsCaseSensitive(t1.messageText, t2.messageText);\n  if (res) {\n    return res;\n  }\n  if (!t1.next && !t2.next) {\n    return 0 /* EqualTo */;\n  }\n  if (!t1.next) {\n    return -1 /* LessThan */;\n  }\n  if (!t2.next) {\n    return 1 /* GreaterThan */;\n  }\n  const len = Math.min(t1.next.length, t2.next.length);\n  for (let i = 0; i < len; i++) {\n    res = compareMessageText(t1.next[i], t2.next[i]);\n    if (res) {\n      return res;\n    }\n  }\n  if (t1.next.length < t2.next.length) {\n    return -1 /* LessThan */;\n  } else if (t1.next.length > t2.next.length) {\n    return 1 /* GreaterThan */;\n  }\n  return 0 /* EqualTo */;\n}\nfunction getLanguageVariant(scriptKind) {\n  return scriptKind === 4 /* TSX */ || scriptKind === 2 /* JSX */ || scriptKind === 1 /* JS */ || scriptKind === 6 /* JSON */ ? 1 /* JSX */ : 0 /* Standard */;\n}\nfunction walkTreeForJSXTags(node) {\n  if (!(node.transformFlags & 2 /* ContainsJsx */))\n    return void 0;\n  return isJsxOpeningLikeElement(node) || isJsxFragment(node) ? node : forEachChild(node, walkTreeForJSXTags);\n}\nfunction isFileModuleFromUsingJSXTag(file) {\n  return !file.isDeclarationFile ? walkTreeForJSXTags(file) : void 0;\n}\nfunction isFileForcedToBeModuleByFormat(file) {\n  return (file.impliedNodeFormat === 99 /* ESNext */ || fileExtensionIsOneOf(file.fileName, [\".cjs\" /* Cjs */, \".cts\" /* Cts */, \".mjs\" /* Mjs */, \".mts\" /* Mts */])) && !file.isDeclarationFile ? true : void 0;\n}\nfunction getSetExternalModuleIndicator(options) {\n  switch (getEmitModuleDetectionKind(options)) {\n    case 3 /* Force */:\n      return (file) => {\n        file.externalModuleIndicator = isFileProbablyExternalModule(file) || !file.isDeclarationFile || void 0;\n      };\n    case 1 /* Legacy */:\n      return (file) => {\n        file.externalModuleIndicator = isFileProbablyExternalModule(file);\n      };\n    case 2 /* Auto */:\n      const checks = [isFileProbablyExternalModule];\n      if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) {\n        checks.push(isFileModuleFromUsingJSXTag);\n      }\n      checks.push(isFileForcedToBeModuleByFormat);\n      const combined = or(...checks);\n      const callback = (file) => void (file.externalModuleIndicator = combined(file));\n      return callback;\n  }\n}\nfunction getEmitScriptTarget(compilerOptions) {\n  return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 0 /* ES3 */;\n}\nfunction getEmitModuleKind(compilerOptions) {\n  return typeof compilerOptions.module === \"number\" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */;\n}\nfunction getEmitModuleResolutionKind(compilerOptions) {\n  let moduleResolution = compilerOptions.moduleResolution;\n  if (moduleResolution === void 0) {\n    switch (getEmitModuleKind(compilerOptions)) {\n      case 1 /* CommonJS */:\n        moduleResolution = 2 /* NodeJs */;\n        break;\n      case 100 /* Node16 */:\n        moduleResolution = 3 /* Node16 */;\n        break;\n      case 199 /* NodeNext */:\n        moduleResolution = 99 /* NodeNext */;\n        break;\n      default:\n        moduleResolution = 1 /* Classic */;\n        break;\n    }\n  }\n  return moduleResolution;\n}\nfunction getEmitModuleDetectionKind(options) {\n  return options.moduleDetection || (getEmitModuleKind(options) === 100 /* Node16 */ || getEmitModuleKind(options) === 199 /* NodeNext */ ? 3 /* Force */ : 2 /* Auto */);\n}\nfunction hasJsonModuleEmitEnabled(options) {\n  switch (getEmitModuleKind(options)) {\n    case 1 /* CommonJS */:\n    case 2 /* AMD */:\n    case 5 /* ES2015 */:\n    case 6 /* ES2020 */:\n    case 7 /* ES2022 */:\n    case 99 /* ESNext */:\n    case 100 /* Node16 */:\n    case 199 /* NodeNext */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction unreachableCodeIsError(options) {\n  return options.allowUnreachableCode === false;\n}\nfunction unusedLabelIsError(options) {\n  return options.allowUnusedLabels === false;\n}\nfunction getAreDeclarationMapsEnabled(options) {\n  return !!(getEmitDeclarations(options) && options.declarationMap);\n}\nfunction getESModuleInterop(compilerOptions) {\n  if (compilerOptions.esModuleInterop !== void 0) {\n    return compilerOptions.esModuleInterop;\n  }\n  switch (getEmitModuleKind(compilerOptions)) {\n    case 100 /* Node16 */:\n    case 199 /* NodeNext */:\n      return true;\n  }\n  return void 0;\n}\nfunction getAllowSyntheticDefaultImports(compilerOptions) {\n  const moduleKind = getEmitModuleKind(compilerOptions);\n  return compilerOptions.allowSyntheticDefaultImports !== void 0 ? compilerOptions.allowSyntheticDefaultImports : getESModuleInterop(compilerOptions) || moduleKind === 4 /* System */;\n}\nfunction getEmitDeclarations(compilerOptions) {\n  return !!(compilerOptions.declaration || compilerOptions.composite);\n}\nfunction shouldPreserveConstEnums(compilerOptions) {\n  return !!(compilerOptions.preserveConstEnums || compilerOptions.isolatedModules);\n}\nfunction isIncrementalCompilation(options) {\n  return !!(options.incremental || options.composite);\n}\nfunction getStrictOptionValue(compilerOptions, flag) {\n  return compilerOptions[flag] === void 0 ? !!compilerOptions.strict : !!compilerOptions[flag];\n}\nfunction getAllowJSCompilerOption(compilerOptions) {\n  return compilerOptions.allowJs === void 0 ? !!compilerOptions.checkJs : compilerOptions.allowJs;\n}\nfunction getUseDefineForClassFields(compilerOptions) {\n  return compilerOptions.useDefineForClassFields === void 0 ? getEmitScriptTarget(compilerOptions) >= 9 /* ES2022 */ : compilerOptions.useDefineForClassFields;\n}\nfunction compilerOptionsAffectSemanticDiagnostics(newOptions, oldOptions) {\n  return optionsHaveChanges(oldOptions, newOptions, semanticDiagnosticsOptionDeclarations);\n}\nfunction compilerOptionsAffectEmit(newOptions, oldOptions) {\n  return optionsHaveChanges(oldOptions, newOptions, affectsEmitOptionDeclarations);\n}\nfunction compilerOptionsAffectDeclarationPath(newOptions, oldOptions) {\n  return optionsHaveChanges(oldOptions, newOptions, affectsDeclarationPathOptionDeclarations);\n}\nfunction getCompilerOptionValue(options, option) {\n  return option.strictFlag ? getStrictOptionValue(options, option.name) : options[option.name];\n}\nfunction getJSXTransformEnabled(options) {\n  const jsx = options.jsx;\n  return jsx === 2 /* React */ || jsx === 4 /* ReactJSX */ || jsx === 5 /* ReactJSXDev */;\n}\nfunction getJSXImplicitImportBase(compilerOptions, file) {\n  const jsxImportSourcePragmas = file == null ? void 0 : file.pragmas.get(\"jsximportsource\");\n  const jsxImportSourcePragma = isArray(jsxImportSourcePragmas) ? jsxImportSourcePragmas[jsxImportSourcePragmas.length - 1] : jsxImportSourcePragmas;\n  return compilerOptions.jsx === 4 /* ReactJSX */ || compilerOptions.jsx === 5 /* ReactJSXDev */ || compilerOptions.jsxImportSource || jsxImportSourcePragma ? (jsxImportSourcePragma == null ? void 0 : jsxImportSourcePragma.arguments.factory) || compilerOptions.jsxImportSource || \"react\" : void 0;\n}\nfunction getJSXRuntimeImport(base, options) {\n  return base ? `${base}/${options.jsx === 5 /* ReactJSXDev */ ? \"jsx-dev-runtime\" : \"jsx-runtime\"}` : void 0;\n}\nfunction hasZeroOrOneAsteriskCharacter(str) {\n  let seenAsterisk = false;\n  for (let i = 0; i < str.length; i++) {\n    if (str.charCodeAt(i) === 42 /* asterisk */) {\n      if (!seenAsterisk) {\n        seenAsterisk = true;\n      } else {\n        return false;\n      }\n    }\n  }\n  return true;\n}\nfunction createSymlinkCache(cwd, getCanonicalFileName, isOHModules2) {\n  let symlinkedDirectories;\n  let symlinkedDirectoriesByRealpath;\n  let symlinkedFiles;\n  let hasProcessedResolutions = false;\n  return {\n    getSymlinkedFiles: () => symlinkedFiles,\n    getSymlinkedDirectories: () => symlinkedDirectories,\n    getSymlinkedDirectoriesByRealpath: () => symlinkedDirectoriesByRealpath,\n    setSymlinkedFile: (path, real) => (symlinkedFiles || (symlinkedFiles = new Map2())).set(path, real),\n    setSymlinkedDirectory: (symlink, real) => {\n      let symlinkPath = toPath(symlink, cwd, getCanonicalFileName);\n      if (!containsIgnoredPath(symlinkPath)) {\n        symlinkPath = ensureTrailingDirectorySeparator(symlinkPath);\n        if (real !== false && !(symlinkedDirectories == null ? void 0 : symlinkedDirectories.has(symlinkPath))) {\n          (symlinkedDirectoriesByRealpath || (symlinkedDirectoriesByRealpath = createMultiMap())).add(ensureTrailingDirectorySeparator(real.realPath), symlink);\n        }\n        (symlinkedDirectories || (symlinkedDirectories = new Map2())).set(symlinkPath, real);\n      }\n    },\n    setSymlinksFromResolutions(files, typeReferenceDirectives) {\n      var _a2;\n      Debug.assert(!hasProcessedResolutions);\n      hasProcessedResolutions = true;\n      for (const file of files) {\n        (_a2 = file.resolvedModules) == null ? void 0 : _a2.forEach((resolution) => processResolution(this, resolution, isOHModules2));\n      }\n      typeReferenceDirectives == null ? void 0 : typeReferenceDirectives.forEach((resolution) => processResolution(this, resolution, isOHModules2));\n    },\n    hasProcessedResolutions: () => hasProcessedResolutions\n  };\n  function processResolution(cache, resolution, isOHModules3) {\n    if (!resolution || !resolution.originalPath || !resolution.resolvedFileName)\n      return;\n    const { resolvedFileName, originalPath } = resolution;\n    cache.setSymlinkedFile(toPath(originalPath, cwd, getCanonicalFileName), resolvedFileName);\n    const [commonResolved, commonOriginal] = guessDirectorySymlink(resolvedFileName, originalPath, cwd, getCanonicalFileName, isOHModules3) || emptyArray;\n    if (commonResolved && commonOriginal) {\n      cache.setSymlinkedDirectory(\n        commonOriginal,\n        { real: commonResolved, realPath: toPath(commonResolved, cwd, getCanonicalFileName) }\n      );\n    }\n  }\n}\nfunction guessDirectorySymlink(a, b, cwd, getCanonicalFileName, isOHModules2) {\n  const aParts = getPathComponents(getNormalizedAbsolutePath(a, cwd));\n  const bParts = getPathComponents(getNormalizedAbsolutePath(b, cwd));\n  let isDirectory = false;\n  while (aParts.length >= 2 && bParts.length >= 2 && !isNodeModulesOrScopedPackageDirectory(aParts[aParts.length - 2], getCanonicalFileName, isOHModules2) && !isNodeModulesOrScopedPackageDirectory(bParts[bParts.length - 2], getCanonicalFileName, isOHModules2) && getCanonicalFileName(aParts[aParts.length - 1]) === getCanonicalFileName(bParts[bParts.length - 1])) {\n    aParts.pop();\n    bParts.pop();\n    isDirectory = true;\n  }\n  return isDirectory ? [getPathFromPathComponents(aParts), getPathFromPathComponents(bParts)] : void 0;\n}\nfunction isNodeModulesOrScopedPackageDirectory(s, getCanonicalFileName, isOHModules2) {\n  return s !== void 0 && (getCanonicalFileName(s) === \"node_modules\" || isOHModules2 && getCanonicalFileName(s) === \"oh_modules\" || startsWith(s, \"@\"));\n}\nfunction stripLeadingDirectorySeparator(s) {\n  return isAnyDirectorySeparator(s.charCodeAt(0)) ? s.slice(1) : void 0;\n}\nfunction tryRemoveDirectoryPrefix(path, dirPath, getCanonicalFileName) {\n  const withoutPrefix = tryRemovePrefix(path, dirPath, getCanonicalFileName);\n  return withoutPrefix === void 0 ? void 0 : stripLeadingDirectorySeparator(withoutPrefix);\n}\nvar reservedCharacterPattern = /[^\\w\\s\\/]/g;\nfunction regExpEscape(text) {\n  return text.replace(reservedCharacterPattern, escapeRegExpCharacter);\n}\nfunction escapeRegExpCharacter(match) {\n  return \"\\\\\" + match;\n}\nvar wildcardCharCodes = [42 /* asterisk */, 63 /* question */];\nvar commonPackageFolders = [\"node_modules\", \"oh_modules\", \"bower_components\", \"jspm_packages\"];\nvar implicitExcludePathRegexPattern = `(?!(${commonPackageFolders.join(\"|\")})(/|$))`;\nvar filesMatcher = {\n  singleAsteriskRegexFragment: \"([^./]|(\\\\.(?!min\\\\.js$))?)*\",\n  doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,\n  replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, filesMatcher.singleAsteriskRegexFragment)\n};\nvar directoriesMatcher = {\n  singleAsteriskRegexFragment: \"[^/]*\",\n  doubleAsteriskRegexFragment: `(/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,\n  replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, directoriesMatcher.singleAsteriskRegexFragment)\n};\nvar excludeMatcher = {\n  singleAsteriskRegexFragment: \"[^/]*\",\n  doubleAsteriskRegexFragment: \"(/.+?)?\",\n  replaceWildcardCharacter: (match) => replaceWildcardCharacter(match, excludeMatcher.singleAsteriskRegexFragment)\n};\nvar wildcardMatchers = {\n  files: filesMatcher,\n  directories: directoriesMatcher,\n  exclude: excludeMatcher\n};\nfunction getRegularExpressionForWildcard(specs, basePath, usage) {\n  const patterns = getRegularExpressionsForWildcards(specs, basePath, usage);\n  if (!patterns || !patterns.length) {\n    return void 0;\n  }\n  const pattern = patterns.map((pattern2) => `(${pattern2})`).join(\"|\");\n  const terminator = usage === \"exclude\" ? \"($|/)\" : \"$\";\n  return `^(${pattern})${terminator}`;\n}\nfunction getRegularExpressionsForWildcards(specs, basePath, usage) {\n  if (specs === void 0 || specs.length === 0) {\n    return void 0;\n  }\n  return flatMap(specs, (spec) => spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]));\n}\nfunction isImplicitGlob(lastPathComponent) {\n  return !/[.*?]/.test(lastPathComponent);\n}\nfunction getPatternFromSpec(spec, basePath, usage) {\n  const pattern = spec && getSubPatternFromSpec(spec, basePath, usage, wildcardMatchers[usage]);\n  return pattern && `^(${pattern})${usage === \"exclude\" ? \"($|/)\" : \"$\"}`;\n}\nfunction getSubPatternFromSpec(spec, basePath, usage, { singleAsteriskRegexFragment, doubleAsteriskRegexFragment, replaceWildcardCharacter: replaceWildcardCharacter2 }) {\n  let subpattern = \"\";\n  let hasWrittenComponent = false;\n  const components = getNormalizedPathComponents(spec, basePath);\n  const lastComponent = last(components);\n  if (usage !== \"exclude\" && lastComponent === \"**\") {\n    return void 0;\n  }\n  components[0] = removeTrailingDirectorySeparator(components[0]);\n  if (isImplicitGlob(lastComponent)) {\n    components.push(\"**\", \"*\");\n  }\n  let optionalCount = 0;\n  for (let component of components) {\n    if (component === \"**\") {\n      subpattern += doubleAsteriskRegexFragment;\n    } else {\n      if (usage === \"directories\") {\n        subpattern += \"(\";\n        optionalCount++;\n      }\n      if (hasWrittenComponent) {\n        subpattern += directorySeparator;\n      }\n      if (usage !== \"exclude\") {\n        let componentPattern = \"\";\n        if (component.charCodeAt(0) === 42 /* asterisk */) {\n          componentPattern += \"([^./]\" + singleAsteriskRegexFragment + \")?\";\n          component = component.substr(1);\n        } else if (component.charCodeAt(0) === 63 /* question */) {\n          componentPattern += \"[^./]\";\n          component = component.substr(1);\n        }\n        componentPattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2);\n        if (componentPattern !== component) {\n          subpattern += implicitExcludePathRegexPattern;\n        }\n        subpattern += componentPattern;\n      } else {\n        subpattern += component.replace(reservedCharacterPattern, replaceWildcardCharacter2);\n      }\n    }\n    hasWrittenComponent = true;\n  }\n  while (optionalCount > 0) {\n    subpattern += \")?\";\n    optionalCount--;\n  }\n  return subpattern;\n}\nfunction replaceWildcardCharacter(match, singleAsteriskRegexFragment) {\n  return match === \"*\" ? singleAsteriskRegexFragment : match === \"?\" ? \"[^/]\" : \"\\\\\" + match;\n}\nfunction getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames, currentDirectory) {\n  path = normalizePath(path);\n  currentDirectory = normalizePath(currentDirectory);\n  const absolutePath = combinePaths(currentDirectory, path);\n  return {\n    includeFilePatterns: map(getRegularExpressionsForWildcards(includes, absolutePath, \"files\"), (pattern) => `^${pattern}$`),\n    includeFilePattern: getRegularExpressionForWildcard(includes, absolutePath, \"files\"),\n    includeDirectoryPattern: getRegularExpressionForWildcard(includes, absolutePath, \"directories\"),\n    excludePattern: getRegularExpressionForWildcard(excludes, absolutePath, \"exclude\"),\n    basePaths: getBasePaths(path, includes, useCaseSensitiveFileNames)\n  };\n}\nfunction getRegexFromPattern(pattern, useCaseSensitiveFileNames) {\n  return new RegExp(pattern, useCaseSensitiveFileNames ? \"\" : \"i\");\n}\nfunction matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath) {\n  path = normalizePath(path);\n  currentDirectory = normalizePath(currentDirectory);\n  const patterns = getFileMatcherPatterns(path, excludes, includes, useCaseSensitiveFileNames, currentDirectory);\n  const includeFileRegexes = patterns.includeFilePatterns && patterns.includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, useCaseSensitiveFileNames));\n  const includeDirectoryRegex = patterns.includeDirectoryPattern && getRegexFromPattern(patterns.includeDirectoryPattern, useCaseSensitiveFileNames);\n  const excludeRegex = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, useCaseSensitiveFileNames);\n  const results = includeFileRegexes ? includeFileRegexes.map(() => []) : [[]];\n  const visited = new Map2();\n  const toCanonical = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  for (const basePath of patterns.basePaths) {\n    visitDirectory(basePath, combinePaths(currentDirectory, basePath), depth);\n  }\n  return flatten(results);\n  function visitDirectory(path2, absolutePath, depth2) {\n    const canonicalPath = toCanonical(realpath(absolutePath));\n    if (visited.has(canonicalPath))\n      return;\n    visited.set(canonicalPath, true);\n    const { files, directories } = getFileSystemEntries(path2);\n    for (const current of sort(files, compareStringsCaseSensitive)) {\n      const name = combinePaths(path2, current);\n      const absoluteName = combinePaths(absolutePath, current);\n      if (extensions && !fileExtensionIsOneOf(name, extensions))\n        continue;\n      if (excludeRegex && excludeRegex.test(absoluteName))\n        continue;\n      if (!includeFileRegexes) {\n        results[0].push(name);\n      } else {\n        const includeIndex = findIndex(includeFileRegexes, (re) => re.test(absoluteName));\n        if (includeIndex !== -1) {\n          results[includeIndex].push(name);\n        }\n      }\n    }\n    if (depth2 !== void 0) {\n      depth2--;\n      if (depth2 === 0) {\n        return;\n      }\n    }\n    for (const current of sort(directories, compareStringsCaseSensitive)) {\n      const name = combinePaths(path2, current);\n      const absoluteName = combinePaths(absolutePath, current);\n      if ((!includeDirectoryRegex || includeDirectoryRegex.test(absoluteName)) && (!excludeRegex || !excludeRegex.test(absoluteName))) {\n        visitDirectory(name, absoluteName, depth2);\n      }\n    }\n  }\n}\nfunction getBasePaths(path, includes, useCaseSensitiveFileNames) {\n  const basePaths = [path];\n  if (includes) {\n    const includeBasePaths = [];\n    for (const include of includes) {\n      const absolute = isRootedDiskPath(include) ? include : normalizePath(combinePaths(path, include));\n      includeBasePaths.push(getIncludeBasePath(absolute));\n    }\n    includeBasePaths.sort(getStringComparer(!useCaseSensitiveFileNames));\n    for (const includeBasePath of includeBasePaths) {\n      if (every(basePaths, (basePath) => !containsPath(basePath, includeBasePath, path, !useCaseSensitiveFileNames))) {\n        basePaths.push(includeBasePath);\n      }\n    }\n  }\n  return basePaths;\n}\nfunction getIncludeBasePath(absolute) {\n  const wildcardOffset = indexOfAnyCharCode(absolute, wildcardCharCodes);\n  if (wildcardOffset < 0) {\n    return !hasExtension(absolute) ? absolute : removeTrailingDirectorySeparator(getDirectoryPath(absolute));\n  }\n  return absolute.substring(0, absolute.lastIndexOf(directorySeparator, wildcardOffset));\n}\nfunction ensureScriptKind(fileName, scriptKind) {\n  return scriptKind || getScriptKindFromFileName(fileName) || 3 /* TS */;\n}\nfunction getScriptKindFromFileName(fileName) {\n  const ext = fileName.substr(fileName.lastIndexOf(\".\"));\n  switch (ext.toLowerCase()) {\n    case \".js\" /* Js */:\n    case \".cjs\" /* Cjs */:\n    case \".mjs\" /* Mjs */:\n      return 1 /* JS */;\n    case \".jsx\" /* Jsx */:\n      return 2 /* JSX */;\n    case \".ts\" /* Ts */:\n    case \".cts\" /* Cts */:\n    case \".mts\" /* Mts */:\n      return 3 /* TS */;\n    case \".tsx\" /* Tsx */:\n      return 4 /* TSX */;\n    case \".json\" /* Json */:\n      return 6 /* JSON */;\n    case \".ets\" /* Ets */:\n      return 8 /* ETS */;\n    default:\n      return 0 /* Unknown */;\n  }\n}\nvar supportedTSExtensions = [[\".ts\" /* Ts */, \".tsx\" /* Tsx */, \".d.ts\" /* Dts */, \".ets\" /* Ets */, \".d.ets\" /* Dets */], [\".cts\" /* Cts */, \".d.cts\" /* Dcts */], [\".mts\" /* Mts */, \".d.mts\" /* Dmts */]];\nvar supportedTSExtensionsFlat = flatten(supportedTSExtensions);\nvar supportedTSExtensionsWithJson = [...supportedTSExtensions, [\".json\" /* Json */]];\nvar supportedTSExtensionsForExtractExtension = [\".d.ts\" /* Dts */, \".d.cts\" /* Dcts */, \".d.mts\" /* Dmts */, \".d.ets\" /* Dets */, \".cts\" /* Cts */, \".mts\" /* Mts */, \".ts\" /* Ts */, \".tsx\" /* Tsx */, \".cts\" /* Cts */, \".mts\" /* Mts */, \".ets\" /* Ets */];\nvar supportedJSExtensions = [[\".js\" /* Js */, \".jsx\" /* Jsx */], [\".mjs\" /* Mjs */], [\".cjs\" /* Cjs */]];\nvar supportedJSExtensionsFlat = flatten(supportedJSExtensions);\nvar allSupportedExtensions = [[\".ts\" /* Ts */, \".tsx\" /* Tsx */, \".d.ts\" /* Dts */, \".ets\" /* Ets */, \".d.ets\" /* Dets */, \".js\" /* Js */, \".jsx\" /* Jsx */], [\".cts\" /* Cts */, \".d.cts\" /* Dcts */, \".cjs\" /* Cjs */], [\".mts\" /* Mts */, \".d.mts\" /* Dmts */, \".mjs\" /* Mjs */]];\nvar allSupportedExtensionsWithJson = [...allSupportedExtensions, [\".json\" /* Json */]];\nvar supportedDeclarationExtensions = [\".d.ts\" /* Dts */, \".d.cts\" /* Dcts */, \".d.mts\" /* Dmts */, \".d.ets\" /* Dets */];\nfunction getSupportedExtensions(options, extraFileExtensions) {\n  const needJsExtensions = options && getAllowJSCompilerOption(options);\n  if (!extraFileExtensions || extraFileExtensions.length === 0) {\n    return needJsExtensions ? allSupportedExtensions : supportedTSExtensions;\n  }\n  const builtins = needJsExtensions ? allSupportedExtensions : supportedTSExtensions;\n  const flatBuiltins = flatten(builtins);\n  const extensions = [\n    ...builtins,\n    ...mapDefined(extraFileExtensions, (x) => x.scriptKind === 7 /* Deferred */ || needJsExtensions && isJSLike(x.scriptKind) && flatBuiltins.indexOf(x.extension) === -1 ? [x.extension] : void 0)\n  ];\n  return extensions;\n}\nfunction getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions) {\n  if (!options || !options.resolveJsonModule)\n    return supportedExtensions;\n  if (supportedExtensions === allSupportedExtensions)\n    return allSupportedExtensionsWithJson;\n  if (supportedExtensions === supportedTSExtensions)\n    return supportedTSExtensionsWithJson;\n  return [...supportedExtensions, [\".json\" /* Json */]];\n}\nfunction isJSLike(scriptKind) {\n  return scriptKind === 1 /* JS */ || scriptKind === 2 /* JSX */;\n}\nfunction hasJSFileExtension(fileName) {\n  return some(supportedJSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension));\n}\nfunction hasTSFileExtension(fileName) {\n  return some(supportedTSExtensionsFlat, (extension) => fileExtensionIs(fileName, extension));\n}\nfunction isSupportedSourceFileName(fileName, compilerOptions, extraFileExtensions) {\n  if (!fileName)\n    return false;\n  const supportedExtensions = getSupportedExtensions(compilerOptions, extraFileExtensions);\n  for (const extension of flatten(getSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions, supportedExtensions))) {\n    if (fileExtensionIs(fileName, extension)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction numberOfDirectorySeparators(str) {\n  const match = str.match(/\\//g);\n  return match ? match.length : 0;\n}\nfunction compareNumberOfDirectorySeparators(path1, path2) {\n  return compareValues(\n    numberOfDirectorySeparators(path1),\n    numberOfDirectorySeparators(path2)\n  );\n}\nvar extensionsToRemove = [\".d.ts\" /* Dts */, \".d.ets\" /* Dets */, \".d.mts\" /* Dmts */, \".d.cts\" /* Dcts */, \".mjs\" /* Mjs */, \".mts\" /* Mts */, \".cjs\" /* Cjs */, \".cts\" /* Cts */, \".ts\" /* Ts */, \".js\" /* Js */, \".tsx\" /* Tsx */, \".jsx\" /* Jsx */, \".json\" /* Json */, \".ets\" /* Ets */];\nfunction removeFileExtension(path) {\n  for (const ext of extensionsToRemove) {\n    const extensionless = tryRemoveExtension(path, ext);\n    if (extensionless !== void 0) {\n      return extensionless;\n    }\n  }\n  return path;\n}\nfunction tryRemoveExtension(path, extension) {\n  return fileExtensionIs(path, extension) ? removeExtension(path, extension) : void 0;\n}\nfunction removeExtension(path, extension) {\n  return path.substring(0, path.length - extension.length);\n}\nfunction changeExtension(path, newExtension) {\n  return changeAnyExtension(path, newExtension, extensionsToRemove, false);\n}\nfunction tryParsePattern(pattern) {\n  const indexOfStar = pattern.indexOf(\"*\");\n  if (indexOfStar === -1) {\n    return pattern;\n  }\n  return pattern.indexOf(\"*\", indexOfStar + 1) !== -1 ? void 0 : {\n    prefix: pattern.substr(0, indexOfStar),\n    suffix: pattern.substr(indexOfStar + 1)\n  };\n}\nfunction tryParsePatterns(paths) {\n  return mapDefined(getOwnKeys(paths), (path) => tryParsePattern(path));\n}\nfunction positionIsSynthesized(pos) {\n  return !(pos >= 0);\n}\nfunction extensionIsTS(ext) {\n  return ext === \".ts\" /* Ts */ || ext === \".tsx\" /* Tsx */ || ext === \".d.ts\" /* Dts */ || ext === \".cts\" /* Cts */ || ext === \".mts\" /* Mts */ || ext === \".d.mts\" /* Dmts */ || ext === \".d.cts\" /* Dcts */ || ext === \".ets\" /* Ets */ || ext === \".d.ets\" /* Dets */;\n}\nfunction resolutionExtensionIsTSOrJson(ext) {\n  return extensionIsTS(ext) || ext === \".json\" /* Json */;\n}\nfunction extensionFromPath(path) {\n  const ext = tryGetExtensionFromPath2(path);\n  return ext !== void 0 ? ext : Debug.fail(`File ${path} has unknown extension.`);\n}\nfunction isAnySupportedFileExtension(path) {\n  return tryGetExtensionFromPath2(path) !== void 0;\n}\nfunction tryGetExtensionFromPath2(path) {\n  if (fileExtensionIs(path, \".ets\" /* Ets */)) {\n    return \".ets\" /* Ets */;\n  }\n  return find(extensionsToRemove, (e) => fileExtensionIs(path, e));\n}\nfunction isCheckJsEnabledForFile(sourceFile, compilerOptions) {\n  return sourceFile.checkJsDirective ? sourceFile.checkJsDirective.enabled : compilerOptions.checkJs;\n}\nvar emptyFileSystemEntries = {\n  files: emptyArray,\n  directories: emptyArray\n};\nfunction matchPatternOrExact(patternOrStrings, candidate) {\n  const patterns = [];\n  for (const patternOrString of patternOrStrings) {\n    if (patternOrString === candidate) {\n      return candidate;\n    }\n    if (!isString(patternOrString)) {\n      patterns.push(patternOrString);\n    }\n  }\n  return findBestPatternMatch(patterns, (_) => _, candidate);\n}\nfunction sliceAfter(arr, value) {\n  const index = arr.indexOf(value);\n  Debug.assert(index !== -1);\n  return arr.slice(index);\n}\nfunction addRelatedInfo(diagnostic, ...relatedInformation) {\n  if (!relatedInformation.length) {\n    return diagnostic;\n  }\n  if (!diagnostic.relatedInformation) {\n    diagnostic.relatedInformation = [];\n  }\n  Debug.assert(diagnostic.relatedInformation !== emptyArray, \"Diagnostic had empty array singleton for related info, but is still being constructed!\");\n  diagnostic.relatedInformation.push(...relatedInformation);\n  return diagnostic;\n}\nfunction minAndMax(arr, getValue) {\n  Debug.assert(arr.length !== 0);\n  let min2 = getValue(arr[0]);\n  let max = min2;\n  for (let i = 1; i < arr.length; i++) {\n    const value = getValue(arr[i]);\n    if (value < min2) {\n      min2 = value;\n    } else if (value > max) {\n      max = value;\n    }\n  }\n  return { min: min2, max };\n}\nfunction rangeOfNode(node) {\n  return { pos: getTokenPosOfNode(node), end: node.end };\n}\nfunction rangeOfTypeParameters(sourceFile, typeParameters) {\n  const pos = typeParameters.pos - 1;\n  const end = skipTrivia(sourceFile.text, typeParameters.end) + 1;\n  return { pos, end };\n}\nfunction skipTypeChecking(sourceFile, options, host) {\n  return options.skipLibCheck && sourceFile.isDeclarationFile || options.skipDefaultLibCheck && sourceFile.hasNoDefaultLib || host.isSourceOfProjectReferenceRedirect(sourceFile.fileName);\n}\nfunction isJsonEqual(a, b) {\n  return a === b || typeof a === \"object\" && a !== null && typeof b === \"object\" && b !== null && equalOwnProperties(a, b, isJsonEqual);\n}\nfunction parsePseudoBigInt(stringValue) {\n  let log2Base;\n  switch (stringValue.charCodeAt(1)) {\n    case 98 /* b */:\n    case 66 /* B */:\n      log2Base = 1;\n      break;\n    case 111 /* o */:\n    case 79 /* O */:\n      log2Base = 3;\n      break;\n    case 120 /* x */:\n    case 88 /* X */:\n      log2Base = 4;\n      break;\n    default:\n      const nIndex = stringValue.length - 1;\n      let nonZeroStart = 0;\n      while (stringValue.charCodeAt(nonZeroStart) === 48 /* _0 */) {\n        nonZeroStart++;\n      }\n      return stringValue.slice(nonZeroStart, nIndex) || \"0\";\n  }\n  const startIndex = 2, endIndex = stringValue.length - 1;\n  const bitsNeeded = (endIndex - startIndex) * log2Base;\n  const segments = new Uint16Array((bitsNeeded >>> 4) + (bitsNeeded & 15 ? 1 : 0));\n  for (let i = endIndex - 1, bitOffset = 0; i >= startIndex; i--, bitOffset += log2Base) {\n    const segment = bitOffset >>> 4;\n    const digitChar = stringValue.charCodeAt(i);\n    const digit = digitChar <= 57 /* _9 */ ? digitChar - 48 /* _0 */ : 10 + digitChar - (digitChar <= 70 /* F */ ? 65 /* A */ : 97 /* a */);\n    const shiftedDigit = digit << (bitOffset & 15);\n    segments[segment] |= shiftedDigit;\n    const residual = shiftedDigit >>> 16;\n    if (residual)\n      segments[segment + 1] |= residual;\n  }\n  let base10Value = \"\";\n  let firstNonzeroSegment = segments.length - 1;\n  let segmentsRemaining = true;\n  while (segmentsRemaining) {\n    let mod10 = 0;\n    segmentsRemaining = false;\n    for (let segment = firstNonzeroSegment; segment >= 0; segment--) {\n      const newSegment = mod10 << 16 | segments[segment];\n      const segmentValue = newSegment / 10 | 0;\n      segments[segment] = segmentValue;\n      mod10 = newSegment - segmentValue * 10;\n      if (segmentValue && !segmentsRemaining) {\n        firstNonzeroSegment = segment;\n        segmentsRemaining = true;\n      }\n    }\n    base10Value = mod10 + base10Value;\n  }\n  return base10Value;\n}\nfunction pseudoBigIntToString({ negative, base10Value }) {\n  return (negative && base10Value !== \"0\" ? \"-\" : \"\") + base10Value;\n}\nfunction isValidTypeOnlyAliasUseSite(useSite) {\n  return !!(useSite.flags & 16777216 /* Ambient */) || isPartOfTypeQuery(useSite) || isIdentifierInNonEmittingHeritageClause(useSite) || isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(useSite) || !(isExpressionNode(useSite) || isShorthandPropertyNameUseSite(useSite));\n}\nfunction isShorthandPropertyNameUseSite(useSite) {\n  return isIdentifier(useSite) && isShorthandPropertyAssignment(useSite.parent) && useSite.parent.name === useSite;\n}\nfunction isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(node) {\n  while (node.kind === 79 /* Identifier */ || node.kind === 211 /* PropertyAccessExpression */) {\n    node = node.parent;\n  }\n  if (node.kind !== 166 /* ComputedPropertyName */) {\n    return false;\n  }\n  if (hasSyntacticModifier(node.parent, 256 /* Abstract */)) {\n    return true;\n  }\n  const containerKind = node.parent.parent.kind;\n  return containerKind === 267 /* InterfaceDeclaration */ || containerKind === 187 /* TypeLiteral */;\n}\nfunction isIdentifierInNonEmittingHeritageClause(node) {\n  if (node.kind !== 79 /* Identifier */)\n    return false;\n  const heritageClause = findAncestor(node.parent, (parent2) => {\n    switch (parent2.kind) {\n      case 300 /* HeritageClause */:\n        return true;\n      case 211 /* PropertyAccessExpression */:\n      case 234 /* ExpressionWithTypeArguments */:\n        return false;\n      default:\n        return \"quit\";\n    }\n  });\n  return (heritageClause == null ? void 0 : heritageClause.token) === 118 /* ImplementsKeyword */ || (heritageClause == null ? void 0 : heritageClause.parent.kind) === 267 /* InterfaceDeclaration */;\n}\nfunction isIdentifierTypeReference(node) {\n  return isTypeReferenceNode(node) && isIdentifier(node.typeName);\n}\nfunction arrayIsHomogeneous(array, comparer = equateValues) {\n  if (array.length < 2)\n    return true;\n  const first2 = array[0];\n  for (let i = 1, length2 = array.length; i < length2; i++) {\n    const target = array[i];\n    if (!comparer(first2, target))\n      return false;\n  }\n  return true;\n}\nfunction setTextRangePos(range, pos) {\n  range.pos = pos;\n  return range;\n}\nfunction setTextRangeEnd(range, end) {\n  range.end = end;\n  return range;\n}\nfunction setTextRangePosEnd(range, pos, end) {\n  return setTextRangeEnd(setTextRangePos(range, pos), end);\n}\nfunction setTextRangePosWidth(range, pos, width) {\n  return setTextRangePosEnd(range, pos, pos + width);\n}\nfunction setNodeFlags(node, newFlags) {\n  if (node) {\n    node.flags = newFlags;\n  }\n  return node;\n}\nfunction setParent(child, parent2) {\n  if (child && parent2) {\n    child.parent = parent2;\n  }\n  return child;\n}\nfunction setEachParent(children, parent2) {\n  if (children) {\n    for (const child of children) {\n      setParent(child, parent2);\n    }\n  }\n  return children;\n}\nfunction isPackedElement(node) {\n  return !isOmittedExpression(node);\n}\nfunction isPackedArrayLiteral(node) {\n  return isArrayLiteralExpression(node) && every(node.elements, isPackedElement);\n}\nfunction expressionResultIsUnused(node) {\n  Debug.assertIsDefined(node.parent);\n  while (true) {\n    const parent2 = node.parent;\n    if (isParenthesizedExpression(parent2)) {\n      node = parent2;\n      continue;\n    }\n    if (isExpressionStatement(parent2) || isVoidExpression(parent2) || isForStatement(parent2) && (parent2.initializer === node || parent2.incrementor === node)) {\n      return true;\n    }\n    if (isCommaListExpression(parent2)) {\n      if (node !== last(parent2.elements))\n        return true;\n      node = parent2;\n      continue;\n    }\n    if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 27 /* CommaToken */) {\n      if (node === parent2.left)\n        return true;\n      node = parent2;\n      continue;\n    }\n    return false;\n  }\n}\nfunction containsIgnoredPath(path) {\n  return some(ignoredPaths, (p) => stringContains(path, p));\n}\nfunction getContainingNodeArray(node) {\n  if (!node.parent)\n    return void 0;\n  switch (node.kind) {\n    case 167 /* TypeParameter */:\n      const { parent: parent3 } = node;\n      return parent3.kind === 195 /* InferType */ ? void 0 : parent3.typeParameters;\n    case 168 /* Parameter */:\n      return node.parent.parameters;\n    case 204 /* TemplateLiteralTypeSpan */:\n      return node.parent.templateSpans;\n    case 240 /* TemplateSpan */:\n      return node.parent.templateSpans;\n    case 169 /* Decorator */: {\n      const { parent: parent4 } = node;\n      return canHaveDecorators(parent4) ? parent4.modifiers : canHaveIllegalDecorators(parent4) ? parent4.illegalDecorators : void 0;\n    }\n    case 300 /* HeritageClause */:\n      return node.parent.heritageClauses;\n  }\n  const { parent: parent2 } = node;\n  if (isJSDocTag(node)) {\n    return isJSDocTypeLiteral(node.parent) ? void 0 : node.parent.tags;\n  }\n  switch (parent2.kind) {\n    case 187 /* TypeLiteral */:\n    case 267 /* InterfaceDeclaration */:\n      return isTypeElement(node) ? parent2.members : void 0;\n    case 192 /* UnionType */:\n    case 193 /* IntersectionType */:\n      return parent2.types;\n    case 189 /* TupleType */:\n    case 209 /* ArrayLiteralExpression */:\n    case 360 /* CommaListExpression */:\n    case 278 /* NamedImports */:\n    case 282 /* NamedExports */:\n      return parent2.elements;\n    case 210 /* ObjectLiteralExpression */:\n    case 295 /* JsxAttributes */:\n      return parent2.properties;\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n      return isTypeNode(node) ? parent2.typeArguments : parent2.expression === node ? void 0 : parent2.arguments;\n    case 287 /* JsxElement */:\n    case 291 /* JsxFragment */:\n      return isJsxChild(node) ? parent2.children : void 0;\n    case 289 /* JsxOpeningElement */:\n    case 288 /* JsxSelfClosingElement */:\n      return isTypeNode(node) ? parent2.typeArguments : void 0;\n    case 242 /* Block */:\n    case 298 /* CaseClause */:\n    case 299 /* DefaultClause */:\n    case 271 /* ModuleBlock */:\n      return parent2.statements;\n    case 272 /* CaseBlock */:\n      return parent2.clauses;\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n      return isClassElement(node) ? parent2.members : void 0;\n    case 269 /* EnumDeclaration */:\n      return isEnumMember(node) ? parent2.members : void 0;\n    case 314 /* SourceFile */:\n      return parent2.statements;\n  }\n}\nfunction hasContextSensitiveParameters(node) {\n  if (!node.typeParameters) {\n    if (some(node.parameters, (p) => !getEffectiveTypeAnnotationNode(p))) {\n      return true;\n    }\n    if (node.kind !== 219 /* ArrowFunction */) {\n      const parameter = firstOrUndefined(node.parameters);\n      if (!(parameter && parameterIsThisKeyword(parameter))) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\nfunction isInfinityOrNaNString(name) {\n  return name === \"Infinity\" || name === \"-Infinity\" || name === \"NaN\";\n}\nfunction isCatchClauseVariableDeclaration(node) {\n  return node.kind === 261 /* VariableDeclaration */ && node.parent.kind === 301 /* CatchClause */;\n}\nfunction isParameterOrCatchClauseVariable(symbol) {\n  const declaration = symbol.valueDeclaration && getRootDeclaration(symbol.valueDeclaration);\n  return !!declaration && (isParameter(declaration) || isCatchClauseVariableDeclaration(declaration));\n}\nfunction isFunctionExpressionOrArrowFunction(node) {\n  return node.kind === 218 /* FunctionExpression */ || node.kind === 219 /* ArrowFunction */;\n}\nfunction escapeSnippetText(text) {\n  return text.replace(/\\$/gm, () => \"\\\\$\");\n}\nfunction isNumericLiteralName(name) {\n  return (+name).toString() === name;\n}\nfunction createPropertyNameNodeForIdentifierOrLiteral(name, target, singleQuote, stringNamed) {\n  return isIdentifierText(name, target) ? factory.createIdentifier(name) : !stringNamed && isNumericLiteralName(name) && +name >= 0 ? factory.createNumericLiteral(+name) : factory.createStringLiteral(name, !!singleQuote);\n}\nfunction isThisTypeParameter(type) {\n  return !!(type.flags & 262144 /* TypeParameter */ && type.isThisType);\n}\nfunction getNodeModulePathParts(fullPath, modulePathPart) {\n  let topLevelNodeModulesIndex = 0;\n  let topLevelPackageNameIndex = 0;\n  let packageRootIndex = 0;\n  let fileNameIndex = 0;\n  let States;\n  ((States2) => {\n    States2[States2[\"BeforeNodeModules\"] = 0] = \"BeforeNodeModules\";\n    States2[States2[\"NodeModules\"] = 1] = \"NodeModules\";\n    States2[States2[\"Scope\"] = 2] = \"Scope\";\n    States2[States2[\"PackageContent\"] = 3] = \"PackageContent\";\n  })(States || (States = {}));\n  let partStart = 0;\n  let partEnd = 0;\n  let state = 0 /* BeforeNodeModules */;\n  while (partEnd >= 0) {\n    partStart = partEnd;\n    partEnd = fullPath.indexOf(\"/\", partStart + 1);\n    switch (state) {\n      case 0 /* BeforeNodeModules */:\n        if (fullPath.indexOf(modulePathPart, partStart) === partStart) {\n          topLevelNodeModulesIndex = partStart;\n          topLevelPackageNameIndex = partEnd;\n          state = 1 /* NodeModules */;\n        }\n        break;\n      case 1 /* NodeModules */:\n      case 2 /* Scope */:\n        if (state === 1 /* NodeModules */ && fullPath.charAt(partStart + 1) === \"@\") {\n          state = 2 /* Scope */;\n        } else {\n          packageRootIndex = partEnd;\n          state = 3 /* PackageContent */;\n        }\n        break;\n      case 3 /* PackageContent */:\n        if (fullPath.indexOf(modulePathPart, partStart) === partStart) {\n          state = 1 /* NodeModules */;\n        } else {\n          state = 3 /* PackageContent */;\n        }\n        break;\n    }\n  }\n  fileNameIndex = partStart;\n  return state > 1 /* NodeModules */ ? { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex, fileNameIndex } : void 0;\n}\nfunction getParameterTypeNode(parameter) {\n  var _a2;\n  return parameter.kind === 349 /* JSDocParameterTag */ ? (_a2 = parameter.typeExpression) == null ? void 0 : _a2.type : parameter.type;\n}\nfunction isTypeDeclaration(node) {\n  switch (node.kind) {\n    case 167 /* TypeParameter */:\n    case 264 /* ClassDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 354 /* JSDocTypedefTag */:\n    case 347 /* JSDocCallbackTag */:\n    case 348 /* JSDocEnumTag */:\n      return true;\n    case 276 /* ImportClause */:\n      return node.isTypeOnly;\n    case 279 /* ImportSpecifier */:\n    case 284 /* ExportSpecifier */:\n      return node.parent.parent.isTypeOnly;\n    default:\n      return false;\n  }\n}\nfunction canHaveExportModifier(node) {\n  return isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isInterfaceDeclaration(node) || isTypeDeclaration(node) || isModuleDeclaration(node) && !isExternalModuleAugmentation(node) && !isGlobalScopeAugmentation(node);\n}\nfunction isCalledStructDeclaration(declarations) {\n  if (!declarations) {\n    return false;\n  }\n  return declarations.some((declaration) => declaration.kind === 265 /* StructDeclaration */);\n}\nfunction getNameOfDecorator(node) {\n  const expression = node.expression;\n  if (isIdentifier(expression)) {\n    return expression.escapedText.toString();\n  }\n  if (isCallExpression(expression) && isIdentifier(expression.expression)) {\n    return expression.expression.escapedText.toString();\n  }\n  return void 0;\n}\nfunction getLeadingCommentRangesOfNode(node, sourceFileOfNode) {\n  return node.kind !== 11 /* JsxText */ ? getLeadingCommentRanges(sourceFileOfNode.text, node.pos) : void 0;\n}\nfunction createTextWriter(newLine) {\n  var output;\n  var indent2;\n  var lineStart;\n  var lineCount;\n  var linePos;\n  var hasTrailingComment = false;\n  function updateLineCountAndPosFor(s) {\n    const lineStartsOfS = computeLineStarts(s);\n    if (lineStartsOfS.length > 1) {\n      lineCount = lineCount + lineStartsOfS.length - 1;\n      linePos = output.length - s.length + last(lineStartsOfS);\n      lineStart = linePos - output.length === 0;\n    } else {\n      lineStart = false;\n    }\n  }\n  function writeText(s) {\n    if (s && s.length) {\n      if (lineStart) {\n        s = getIndentString(indent2) + s;\n        lineStart = false;\n      }\n      output += s;\n      updateLineCountAndPosFor(s);\n    }\n  }\n  function write(s) {\n    if (s)\n      hasTrailingComment = false;\n    writeText(s);\n  }\n  function writeComment(s) {\n    if (s)\n      hasTrailingComment = true;\n    writeText(s);\n  }\n  function reset2() {\n    output = \"\";\n    indent2 = 0;\n    lineStart = true;\n    lineCount = 0;\n    linePos = 0;\n    hasTrailingComment = false;\n  }\n  function rawWrite(s) {\n    if (s !== void 0) {\n      output += s;\n      updateLineCountAndPosFor(s);\n      hasTrailingComment = false;\n    }\n  }\n  function writeLiteral(s) {\n    if (s && s.length) {\n      write(s);\n    }\n  }\n  function writeLine(force) {\n    if (!lineStart || force) {\n      output += newLine;\n      lineCount++;\n      linePos = output.length;\n      lineStart = true;\n      hasTrailingComment = false;\n    }\n  }\n  function getTextPosWithWriteLine() {\n    return lineStart ? output.length : output.length + newLine.length;\n  }\n  reset2();\n  return {\n    write,\n    rawWrite,\n    writeLiteral,\n    writeLine,\n    increaseIndent: () => {\n      indent2++;\n    },\n    decreaseIndent: () => {\n      indent2--;\n    },\n    getIndent: () => indent2,\n    getTextPos: () => output.length,\n    getLine: () => lineCount,\n    getColumn: () => lineStart ? indent2 * getIndentSize() : output.length - linePos,\n    getText: () => output,\n    isAtStartOfLine: () => lineStart,\n    hasTrailingComment: () => hasTrailingComment,\n    hasTrailingWhitespace: () => !!output.length && isWhiteSpaceLike(output.charCodeAt(output.length - 1)),\n    clear: reset2,\n    reportInaccessibleThisError: noop,\n    reportPrivateInBaseOfClassExpression: noop,\n    reportInaccessibleUniqueSymbolError: noop,\n    trackSymbol: () => false,\n    writeKeyword: write,\n    writeOperator: write,\n    writeParameter: write,\n    writeProperty: write,\n    writePunctuation: write,\n    writeSpace: write,\n    writeStringLiteral: write,\n    writeSymbol: (s, _) => write(s),\n    writeTrailingSemicolon: write,\n    writeComment,\n    getTextPosWithWriteLine\n  };\n}\nfunction setParentRecursive(rootNode, incremental) {\n  if (!rootNode)\n    return rootNode;\n  forEachChildRecursively(rootNode, isJSDocNode(rootNode) ? bindParentToChildIgnoringJSDoc : bindParentToChild);\n  return rootNode;\n  function bindParentToChildIgnoringJSDoc(child, parent2) {\n    if (incremental && child.parent === parent2) {\n      return \"skip\";\n    }\n    setParent(child, parent2);\n  }\n  function bindJSDoc(child) {\n    if (hasJSDocNodes(child)) {\n      for (const doc of child.jsDoc) {\n        bindParentToChildIgnoringJSDoc(doc, child);\n        forEachChildRecursively(doc, bindParentToChildIgnoringJSDoc);\n      }\n    }\n  }\n  function bindParentToChild(child, parent2) {\n    return bindParentToChildIgnoringJSDoc(child, parent2) || bindJSDoc(child);\n  }\n}\n\n// src/compiler/factory/baseNodeFactory.ts\nfunction createBaseNodeFactory() {\n  let NodeConstructor2;\n  let TokenConstructor2;\n  let IdentifierConstructor2;\n  let PrivateIdentifierConstructor2;\n  let SourceFileConstructor2;\n  return {\n    createBaseSourceFileNode,\n    createBaseIdentifierNode,\n    createBasePrivateIdentifierNode,\n    createBaseTokenNode,\n    createBaseNode\n  };\n  function createBaseSourceFileNode(kind) {\n    return new (SourceFileConstructor2 || (SourceFileConstructor2 = objectAllocator.getSourceFileConstructor()))(kind, -1, -1);\n  }\n  function createBaseIdentifierNode(kind) {\n    return new (IdentifierConstructor2 || (IdentifierConstructor2 = objectAllocator.getIdentifierConstructor()))(kind, -1, -1);\n  }\n  function createBasePrivateIdentifierNode(kind) {\n    return new (PrivateIdentifierConstructor2 || (PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor()))(kind, -1, -1);\n  }\n  function createBaseTokenNode(kind) {\n    return new (TokenConstructor2 || (TokenConstructor2 = objectAllocator.getTokenConstructor()))(kind, -1, -1);\n  }\n  function createBaseNode(kind) {\n    return new (NodeConstructor2 || (NodeConstructor2 = objectAllocator.getNodeConstructor()))(kind, -1, -1);\n  }\n}\n\n// src/compiler/factory/parenthesizerRules.ts\nfunction createParenthesizerRules(factory2) {\n  let binaryLeftOperandParenthesizerCache;\n  let binaryRightOperandParenthesizerCache;\n  return {\n    getParenthesizeLeftSideOfBinaryForOperator,\n    getParenthesizeRightSideOfBinaryForOperator,\n    parenthesizeLeftSideOfBinary,\n    parenthesizeRightSideOfBinary,\n    parenthesizeExpressionOfComputedPropertyName,\n    parenthesizeConditionOfConditionalExpression,\n    parenthesizeBranchOfConditionalExpression,\n    parenthesizeExpressionOfExportDefault,\n    parenthesizeExpressionOfNew,\n    parenthesizeLeftSideOfAccess,\n    parenthesizeOperandOfPostfixUnary,\n    parenthesizeOperandOfPrefixUnary,\n    parenthesizeExpressionsOfCommaDelimitedList,\n    parenthesizeExpressionForDisallowedComma,\n    parenthesizeExpressionOfExpressionStatement,\n    parenthesizeConciseBodyOfArrowFunction,\n    parenthesizeCheckTypeOfConditionalType,\n    parenthesizeExtendsTypeOfConditionalType,\n    parenthesizeConstituentTypesOfUnionType,\n    parenthesizeConstituentTypeOfUnionType,\n    parenthesizeConstituentTypesOfIntersectionType,\n    parenthesizeConstituentTypeOfIntersectionType,\n    parenthesizeOperandOfTypeOperator,\n    parenthesizeOperandOfReadonlyTypeOperator,\n    parenthesizeNonArrayTypeOfPostfixType,\n    parenthesizeElementTypesOfTupleType,\n    parenthesizeElementTypeOfTupleType,\n    parenthesizeTypeOfOptionalType,\n    parenthesizeTypeArguments,\n    parenthesizeLeadingTypeArgument\n  };\n  function getParenthesizeLeftSideOfBinaryForOperator(operatorKind) {\n    binaryLeftOperandParenthesizerCache || (binaryLeftOperandParenthesizerCache = new Map2());\n    let parenthesizerRule = binaryLeftOperandParenthesizerCache.get(operatorKind);\n    if (!parenthesizerRule) {\n      parenthesizerRule = (node) => parenthesizeLeftSideOfBinary(operatorKind, node);\n      binaryLeftOperandParenthesizerCache.set(operatorKind, parenthesizerRule);\n    }\n    return parenthesizerRule;\n  }\n  function getParenthesizeRightSideOfBinaryForOperator(operatorKind) {\n    binaryRightOperandParenthesizerCache || (binaryRightOperandParenthesizerCache = new Map2());\n    let parenthesizerRule = binaryRightOperandParenthesizerCache.get(operatorKind);\n    if (!parenthesizerRule) {\n      parenthesizerRule = (node) => parenthesizeRightSideOfBinary(operatorKind, void 0, node);\n      binaryRightOperandParenthesizerCache.set(operatorKind, parenthesizerRule);\n    }\n    return parenthesizerRule;\n  }\n  function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {\n    const binaryOperatorPrecedence = getOperatorPrecedence(227 /* BinaryExpression */, binaryOperator);\n    const binaryOperatorAssociativity = getOperatorAssociativity(227 /* BinaryExpression */, binaryOperator);\n    const emittedOperand = skipPartiallyEmittedExpressions(operand);\n    if (!isLeftSideOfBinary && operand.kind === 219 /* ArrowFunction */ && binaryOperatorPrecedence > 3 /* Assignment */) {\n      return true;\n    }\n    const operandPrecedence = getExpressionPrecedence(emittedOperand);\n    switch (compareValues(operandPrecedence, binaryOperatorPrecedence)) {\n      case -1 /* LessThan */:\n        if (!isLeftSideOfBinary && binaryOperatorAssociativity === 1 /* Right */ && operand.kind === 230 /* YieldExpression */) {\n          return false;\n        }\n        return true;\n      case 1 /* GreaterThan */:\n        return false;\n      case 0 /* EqualTo */:\n        if (isLeftSideOfBinary) {\n          return binaryOperatorAssociativity === 1 /* Right */;\n        } else {\n          if (isBinaryExpression(emittedOperand) && emittedOperand.operatorToken.kind === binaryOperator) {\n            if (operatorHasAssociativeProperty(binaryOperator)) {\n              return false;\n            }\n            if (binaryOperator === 39 /* PlusToken */) {\n              const leftKind = leftOperand ? getLiteralKindOfBinaryPlusOperand(leftOperand) : 0 /* Unknown */;\n              if (isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(emittedOperand)) {\n                return false;\n              }\n            }\n          }\n          const operandAssociativity = getExpressionAssociativity(emittedOperand);\n          return operandAssociativity === 0 /* Left */;\n        }\n    }\n  }\n  function operatorHasAssociativeProperty(binaryOperator) {\n    return binaryOperator === 41 /* AsteriskToken */ || binaryOperator === 51 /* BarToken */ || binaryOperator === 50 /* AmpersandToken */ || binaryOperator === 52 /* CaretToken */ || binaryOperator === 27 /* CommaToken */;\n  }\n  function getLiteralKindOfBinaryPlusOperand(node) {\n    node = skipPartiallyEmittedExpressions(node);\n    if (isLiteralKind(node.kind)) {\n      return node.kind;\n    }\n    if (node.kind === 227 /* BinaryExpression */ && node.operatorToken.kind === 39 /* PlusToken */) {\n      if (node.cachedLiteralKind !== void 0) {\n        return node.cachedLiteralKind;\n      }\n      const leftKind = getLiteralKindOfBinaryPlusOperand(node.left);\n      const literalKind = isLiteralKind(leftKind) && leftKind === getLiteralKindOfBinaryPlusOperand(node.right) ? leftKind : 0 /* Unknown */;\n      node.cachedLiteralKind = literalKind;\n      return literalKind;\n    }\n    return 0 /* Unknown */;\n  }\n  function parenthesizeBinaryOperand(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {\n    const skipped = skipPartiallyEmittedExpressions(operand);\n    if (skipped.kind === 217 /* ParenthesizedExpression */) {\n      return operand;\n    }\n    return binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) ? factory2.createParenthesizedExpression(operand) : operand;\n  }\n  function parenthesizeLeftSideOfBinary(binaryOperator, leftSide) {\n    return parenthesizeBinaryOperand(binaryOperator, leftSide, true);\n  }\n  function parenthesizeRightSideOfBinary(binaryOperator, leftSide, rightSide) {\n    return parenthesizeBinaryOperand(binaryOperator, rightSide, false, leftSide);\n  }\n  function parenthesizeExpressionOfComputedPropertyName(expression) {\n    return isCommaSequence(expression) ? factory2.createParenthesizedExpression(expression) : expression;\n  }\n  function parenthesizeConditionOfConditionalExpression(condition) {\n    const conditionalPrecedence = getOperatorPrecedence(228 /* ConditionalExpression */, 57 /* QuestionToken */);\n    const emittedCondition = skipPartiallyEmittedExpressions(condition);\n    const conditionPrecedence = getExpressionPrecedence(emittedCondition);\n    if (compareValues(conditionPrecedence, conditionalPrecedence) !== 1 /* GreaterThan */) {\n      return factory2.createParenthesizedExpression(condition);\n    }\n    return condition;\n  }\n  function parenthesizeBranchOfConditionalExpression(branch) {\n    const emittedExpression = skipPartiallyEmittedExpressions(branch);\n    return isCommaSequence(emittedExpression) ? factory2.createParenthesizedExpression(branch) : branch;\n  }\n  function parenthesizeExpressionOfExportDefault(expression) {\n    const check = skipPartiallyEmittedExpressions(expression);\n    let needsParens = isCommaSequence(check);\n    if (!needsParens) {\n      switch (getLeftmostExpression(check, false).kind) {\n        case 232 /* ClassExpression */:\n        case 218 /* FunctionExpression */:\n          needsParens = true;\n      }\n    }\n    return needsParens ? factory2.createParenthesizedExpression(expression) : expression;\n  }\n  function parenthesizeExpressionOfNew(expression) {\n    const leftmostExpr = getLeftmostExpression(expression, true);\n    switch (leftmostExpr.kind) {\n      case 213 /* CallExpression */:\n        return factory2.createParenthesizedExpression(expression);\n      case 214 /* NewExpression */:\n        return !leftmostExpr.arguments ? factory2.createParenthesizedExpression(expression) : expression;\n    }\n    return parenthesizeLeftSideOfAccess(expression);\n  }\n  function parenthesizeLeftSideOfAccess(expression, optionalChain) {\n    const emittedExpression = skipPartiallyEmittedExpressions(expression);\n    if (isLeftHandSideExpression(emittedExpression) && (emittedExpression.kind !== 214 /* NewExpression */ || emittedExpression.arguments) && (optionalChain || !isOptionalChain(emittedExpression))) {\n      return expression;\n    }\n    return setTextRange(factory2.createParenthesizedExpression(expression), expression);\n  }\n  function parenthesizeOperandOfPostfixUnary(operand) {\n    return isLeftHandSideExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand);\n  }\n  function parenthesizeOperandOfPrefixUnary(operand) {\n    return isUnaryExpression(operand) ? operand : setTextRange(factory2.createParenthesizedExpression(operand), operand);\n  }\n  function parenthesizeExpressionsOfCommaDelimitedList(elements) {\n    const result = sameMap(elements, parenthesizeExpressionForDisallowedComma);\n    return setTextRange(factory2.createNodeArray(result, elements.hasTrailingComma), elements);\n  }\n  function parenthesizeExpressionForDisallowedComma(expression) {\n    const emittedExpression = skipPartiallyEmittedExpressions(expression);\n    const expressionPrecedence = getExpressionPrecedence(emittedExpression);\n    const commaPrecedence = getOperatorPrecedence(227 /* BinaryExpression */, 27 /* CommaToken */);\n    return expressionPrecedence > commaPrecedence ? expression : setTextRange(factory2.createParenthesizedExpression(expression), expression);\n  }\n  function parenthesizeExpressionOfExpressionStatement(expression) {\n    const emittedExpression = skipPartiallyEmittedExpressions(expression);\n    if (isCallExpression(emittedExpression)) {\n      const callee = emittedExpression.expression;\n      const kind = skipPartiallyEmittedExpressions(callee).kind;\n      if (kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */) {\n        const updated = factory2.updateCallExpression(\n          emittedExpression,\n          setTextRange(factory2.createParenthesizedExpression(callee), callee),\n          emittedExpression.typeArguments,\n          emittedExpression.arguments\n        );\n        return factory2.restoreOuterExpressions(expression, updated, 8 /* PartiallyEmittedExpressions */);\n      }\n    }\n    const leftmostExpressionKind = getLeftmostExpression(emittedExpression, false).kind;\n    if (leftmostExpressionKind === 210 /* ObjectLiteralExpression */ || leftmostExpressionKind === 218 /* FunctionExpression */) {\n      return setTextRange(factory2.createParenthesizedExpression(expression), expression);\n    }\n    return expression;\n  }\n  function parenthesizeConciseBodyOfArrowFunction(body) {\n    if (!isBlock(body) && (isCommaSequence(body) || getLeftmostExpression(body, false).kind === 210 /* ObjectLiteralExpression */)) {\n      return setTextRange(factory2.createParenthesizedExpression(body), body);\n    }\n    return body;\n  }\n  function parenthesizeCheckTypeOfConditionalType(checkType) {\n    switch (checkType.kind) {\n      case 184 /* FunctionType */:\n      case 185 /* ConstructorType */:\n      case 194 /* ConditionalType */:\n        return factory2.createParenthesizedType(checkType);\n    }\n    return checkType;\n  }\n  function parenthesizeExtendsTypeOfConditionalType(extendsType) {\n    switch (extendsType.kind) {\n      case 194 /* ConditionalType */:\n        return factory2.createParenthesizedType(extendsType);\n    }\n    return extendsType;\n  }\n  function parenthesizeConstituentTypeOfUnionType(type) {\n    switch (type.kind) {\n      case 192 /* UnionType */:\n      case 193 /* IntersectionType */:\n        return factory2.createParenthesizedType(type);\n    }\n    return parenthesizeCheckTypeOfConditionalType(type);\n  }\n  function parenthesizeConstituentTypesOfUnionType(members) {\n    return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfUnionType));\n  }\n  function parenthesizeConstituentTypeOfIntersectionType(type) {\n    switch (type.kind) {\n      case 192 /* UnionType */:\n      case 193 /* IntersectionType */:\n        return factory2.createParenthesizedType(type);\n    }\n    return parenthesizeConstituentTypeOfUnionType(type);\n  }\n  function parenthesizeConstituentTypesOfIntersectionType(members) {\n    return factory2.createNodeArray(sameMap(members, parenthesizeConstituentTypeOfIntersectionType));\n  }\n  function parenthesizeOperandOfTypeOperator(type) {\n    switch (type.kind) {\n      case 193 /* IntersectionType */:\n        return factory2.createParenthesizedType(type);\n    }\n    return parenthesizeConstituentTypeOfIntersectionType(type);\n  }\n  function parenthesizeOperandOfReadonlyTypeOperator(type) {\n    switch (type.kind) {\n      case 198 /* TypeOperator */:\n        return factory2.createParenthesizedType(type);\n    }\n    return parenthesizeOperandOfTypeOperator(type);\n  }\n  function parenthesizeNonArrayTypeOfPostfixType(type) {\n    switch (type.kind) {\n      case 195 /* InferType */:\n      case 198 /* TypeOperator */:\n      case 186 /* TypeQuery */:\n        return factory2.createParenthesizedType(type);\n    }\n    return parenthesizeOperandOfTypeOperator(type);\n  }\n  function parenthesizeElementTypesOfTupleType(types) {\n    return factory2.createNodeArray(sameMap(types, parenthesizeElementTypeOfTupleType));\n  }\n  function parenthesizeElementTypeOfTupleType(type) {\n    if (hasJSDocPostfixQuestion(type))\n      return factory2.createParenthesizedType(type);\n    return type;\n  }\n  function hasJSDocPostfixQuestion(type) {\n    if (isJSDocNullableType(type))\n      return type.postfix;\n    if (isNamedTupleMember(type))\n      return hasJSDocPostfixQuestion(type.type);\n    if (isFunctionTypeNode(type) || isConstructorTypeNode(type) || isTypeOperatorNode(type))\n      return hasJSDocPostfixQuestion(type.type);\n    if (isConditionalTypeNode(type))\n      return hasJSDocPostfixQuestion(type.falseType);\n    if (isUnionTypeNode(type))\n      return hasJSDocPostfixQuestion(last(type.types));\n    if (isIntersectionTypeNode(type))\n      return hasJSDocPostfixQuestion(last(type.types));\n    if (isInferTypeNode(type))\n      return !!type.typeParameter.constraint && hasJSDocPostfixQuestion(type.typeParameter.constraint);\n    return false;\n  }\n  function parenthesizeTypeOfOptionalType(type) {\n    if (hasJSDocPostfixQuestion(type))\n      return factory2.createParenthesizedType(type);\n    return parenthesizeNonArrayTypeOfPostfixType(type);\n  }\n  function parenthesizeLeadingTypeArgument(node) {\n    return isFunctionOrConstructorTypeNode(node) && node.typeParameters ? factory2.createParenthesizedType(node) : node;\n  }\n  function parenthesizeOrdinalTypeArgument(node, i) {\n    return i === 0 ? parenthesizeLeadingTypeArgument(node) : node;\n  }\n  function parenthesizeTypeArguments(typeArguments) {\n    if (some(typeArguments)) {\n      return factory2.createNodeArray(sameMap(typeArguments, parenthesizeOrdinalTypeArgument));\n    }\n  }\n}\nvar nullParenthesizerRules = {\n  getParenthesizeLeftSideOfBinaryForOperator: (_) => identity,\n  getParenthesizeRightSideOfBinaryForOperator: (_) => identity,\n  parenthesizeLeftSideOfBinary: (_binaryOperator, leftSide) => leftSide,\n  parenthesizeRightSideOfBinary: (_binaryOperator, _leftSide, rightSide) => rightSide,\n  parenthesizeExpressionOfComputedPropertyName: identity,\n  parenthesizeConditionOfConditionalExpression: identity,\n  parenthesizeBranchOfConditionalExpression: identity,\n  parenthesizeExpressionOfExportDefault: identity,\n  parenthesizeExpressionOfNew: (expression) => cast(expression, isLeftHandSideExpression),\n  parenthesizeLeftSideOfAccess: (expression) => cast(expression, isLeftHandSideExpression),\n  parenthesizeOperandOfPostfixUnary: (operand) => cast(operand, isLeftHandSideExpression),\n  parenthesizeOperandOfPrefixUnary: (operand) => cast(operand, isUnaryExpression),\n  parenthesizeExpressionsOfCommaDelimitedList: (nodes) => cast(nodes, isNodeArray),\n  parenthesizeExpressionForDisallowedComma: identity,\n  parenthesizeExpressionOfExpressionStatement: identity,\n  parenthesizeConciseBodyOfArrowFunction: identity,\n  parenthesizeCheckTypeOfConditionalType: identity,\n  parenthesizeExtendsTypeOfConditionalType: identity,\n  parenthesizeConstituentTypesOfUnionType: (nodes) => cast(nodes, isNodeArray),\n  parenthesizeConstituentTypeOfUnionType: identity,\n  parenthesizeConstituentTypesOfIntersectionType: (nodes) => cast(nodes, isNodeArray),\n  parenthesizeConstituentTypeOfIntersectionType: identity,\n  parenthesizeOperandOfTypeOperator: identity,\n  parenthesizeOperandOfReadonlyTypeOperator: identity,\n  parenthesizeNonArrayTypeOfPostfixType: identity,\n  parenthesizeElementTypesOfTupleType: (nodes) => cast(nodes, isNodeArray),\n  parenthesizeElementTypeOfTupleType: identity,\n  parenthesizeTypeOfOptionalType: identity,\n  parenthesizeTypeArguments: (nodes) => nodes && cast(nodes, isNodeArray),\n  parenthesizeLeadingTypeArgument: identity\n};\n\n// src/compiler/factory/nodeConverters.ts\nfunction createNodeConverters(factory2) {\n  return {\n    convertToFunctionBlock,\n    convertToFunctionExpression,\n    convertToArrayAssignmentElement,\n    convertToObjectAssignmentElement,\n    convertToAssignmentPattern,\n    convertToObjectAssignmentPattern,\n    convertToArrayAssignmentPattern,\n    convertToAssignmentElementTarget\n  };\n  function convertToFunctionBlock(node, multiLine) {\n    if (isBlock(node))\n      return node;\n    const returnStatement = factory2.createReturnStatement(node);\n    setTextRange(returnStatement, node);\n    const body = factory2.createBlock([returnStatement], multiLine);\n    setTextRange(body, node);\n    return body;\n  }\n  function convertToFunctionExpression(node) {\n    if (!node.body)\n      return Debug.fail(`Cannot convert a FunctionDeclaration without a body`);\n    const updated = factory2.createFunctionExpression(\n      node.modifiers,\n      node.asteriskToken,\n      node.name,\n      node.typeParameters,\n      node.parameters,\n      node.type,\n      node.body\n    );\n    setOriginalNode(updated, node);\n    setTextRange(updated, node);\n    if (getStartsOnNewLine(node)) {\n      setStartsOnNewLine(updated, true);\n    }\n    return updated;\n  }\n  function convertToArrayAssignmentElement(element) {\n    if (isBindingElement(element)) {\n      if (element.dotDotDotToken) {\n        Debug.assertNode(element.name, isIdentifier);\n        return setOriginalNode(setTextRange(factory2.createSpreadElement(element.name), element), element);\n      }\n      const expression = convertToAssignmentElementTarget(element.name);\n      return element.initializer ? setOriginalNode(\n        setTextRange(\n          factory2.createAssignment(expression, element.initializer),\n          element\n        ),\n        element\n      ) : expression;\n    }\n    return cast(element, isExpression);\n  }\n  function convertToObjectAssignmentElement(element) {\n    if (isBindingElement(element)) {\n      if (element.dotDotDotToken) {\n        Debug.assertNode(element.name, isIdentifier);\n        return setOriginalNode(setTextRange(factory2.createSpreadAssignment(element.name), element), element);\n      }\n      if (element.propertyName) {\n        const expression = convertToAssignmentElementTarget(element.name);\n        return setOriginalNode(setTextRange(factory2.createPropertyAssignment(element.propertyName, element.initializer ? factory2.createAssignment(expression, element.initializer) : expression), element), element);\n      }\n      Debug.assertNode(element.name, isIdentifier);\n      return setOriginalNode(setTextRange(factory2.createShorthandPropertyAssignment(element.name, element.initializer), element), element);\n    }\n    return cast(element, isObjectLiteralElementLike);\n  }\n  function convertToAssignmentPattern(node) {\n    switch (node.kind) {\n      case 207 /* ArrayBindingPattern */:\n      case 209 /* ArrayLiteralExpression */:\n        return convertToArrayAssignmentPattern(node);\n      case 206 /* ObjectBindingPattern */:\n      case 210 /* ObjectLiteralExpression */:\n        return convertToObjectAssignmentPattern(node);\n    }\n  }\n  function convertToObjectAssignmentPattern(node) {\n    if (isObjectBindingPattern(node)) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createObjectLiteralExpression(map(node.elements, convertToObjectAssignmentElement)),\n          node\n        ),\n        node\n      );\n    }\n    return cast(node, isObjectLiteralExpression);\n  }\n  function convertToArrayAssignmentPattern(node) {\n    if (isArrayBindingPattern(node)) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createArrayLiteralExpression(map(node.elements, convertToArrayAssignmentElement)),\n          node\n        ),\n        node\n      );\n    }\n    return cast(node, isArrayLiteralExpression);\n  }\n  function convertToAssignmentElementTarget(node) {\n    if (isBindingPattern(node)) {\n      return convertToAssignmentPattern(node);\n    }\n    return cast(node, isExpression);\n  }\n}\nvar nullNodeConverters = {\n  convertToFunctionBlock: notImplemented,\n  convertToFunctionExpression: notImplemented,\n  convertToArrayAssignmentElement: notImplemented,\n  convertToObjectAssignmentElement: notImplemented,\n  convertToAssignmentPattern: notImplemented,\n  convertToObjectAssignmentPattern: notImplemented,\n  convertToArrayAssignmentPattern: notImplemented,\n  convertToAssignmentElementTarget: notImplemented\n};\n\n// src/compiler/factory/nodeFactory.ts\nvar nextAutoGenerateId = 0;\nvar NodeFactoryFlags2 = /* @__PURE__ */ ((NodeFactoryFlags3) => {\n  NodeFactoryFlags3[NodeFactoryFlags3[\"None\"] = 0] = \"None\";\n  NodeFactoryFlags3[NodeFactoryFlags3[\"NoParenthesizerRules\"] = 1] = \"NoParenthesizerRules\";\n  NodeFactoryFlags3[NodeFactoryFlags3[\"NoNodeConverters\"] = 2] = \"NoNodeConverters\";\n  NodeFactoryFlags3[NodeFactoryFlags3[\"NoIndentationOnFreshPropertyAccess\"] = 4] = \"NoIndentationOnFreshPropertyAccess\";\n  NodeFactoryFlags3[NodeFactoryFlags3[\"NoOriginalNode\"] = 8] = \"NoOriginalNode\";\n  return NodeFactoryFlags3;\n})(NodeFactoryFlags2 || {});\nvar nodeFactoryPatchers = [];\nfunction addNodeFactoryPatcher(fn) {\n  nodeFactoryPatchers.push(fn);\n}\nfunction createNodeFactory(flags, baseFactory2) {\n  const update = flags & 8 /* NoOriginalNode */ ? updateWithoutOriginal : updateWithOriginal;\n  const parenthesizerRules = memoize(() => flags & 1 /* NoParenthesizerRules */ ? nullParenthesizerRules : createParenthesizerRules(factory2));\n  const converters = memoize(() => flags & 2 /* NoNodeConverters */ ? nullNodeConverters : createNodeConverters(factory2));\n  const getBinaryCreateFunction = memoizeOne((operator) => (left, right) => createBinaryExpression(left, operator, right));\n  const getPrefixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPrefixUnaryExpression(operator, operand));\n  const getPostfixUnaryCreateFunction = memoizeOne((operator) => (operand) => createPostfixUnaryExpression(operand, operator));\n  const getJSDocPrimaryTypeCreateFunction = memoizeOne((kind) => () => createJSDocPrimaryTypeWorker(kind));\n  const getJSDocUnaryTypeCreateFunction = memoizeOne((kind) => (type) => createJSDocUnaryTypeWorker(kind, type));\n  const getJSDocUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocUnaryTypeWorker(kind, node, type));\n  const getJSDocPrePostfixUnaryTypeCreateFunction = memoizeOne((kind) => (type, postfix) => createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix));\n  const getJSDocPrePostfixUnaryTypeUpdateFunction = memoizeOne((kind) => (node, type) => updateJSDocPrePostfixUnaryTypeWorker(kind, node, type));\n  const getJSDocSimpleTagCreateFunction = memoizeOne((kind) => (tagName, comment) => createJSDocSimpleTagWorker(kind, tagName, comment));\n  const getJSDocSimpleTagUpdateFunction = memoizeOne((kind) => (node, tagName, comment) => updateJSDocSimpleTagWorker(kind, node, tagName, comment));\n  const getJSDocTypeLikeTagCreateFunction = memoizeOne((kind) => (tagName, typeExpression, comment) => createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment));\n  const getJSDocTypeLikeTagUpdateFunction = memoizeOne((kind) => (node, tagName, typeExpression, comment) => updateJSDocTypeLikeTagWorker(kind, node, tagName, typeExpression, comment));\n  const factory2 = {\n    get parenthesizer() {\n      return parenthesizerRules();\n    },\n    get converters() {\n      return converters();\n    },\n    baseFactory: baseFactory2,\n    flags,\n    createNodeArray: createNodeArray2,\n    createNumericLiteral: createNumericLiteral2,\n    createBigIntLiteral: createBigIntLiteral2,\n    createStringLiteral: createStringLiteral2,\n    createStringLiteralFromNode: createStringLiteralFromNode2,\n    createRegularExpressionLiteral: createRegularExpressionLiteral2,\n    createLiteralLikeNode,\n    createIdentifier: createIdentifier3,\n    updateIdentifier,\n    createTempVariable: createTempVariable3,\n    createLoopVariable: createLoopVariable2,\n    createUniqueName: createUniqueName2,\n    getGeneratedNameForNode: getGeneratedNameForNode3,\n    createPrivateIdentifier: createPrivateIdentifier2,\n    createUniquePrivateName,\n    getGeneratedPrivateNameForNode,\n    createToken: createToken3,\n    createSuper: createSuper2,\n    createThis: createThis2,\n    createNull: createNull2,\n    createTrue: createTrue2,\n    createFalse: createFalse2,\n    createModifier: createModifier2,\n    createModifiersFromModifierFlags: createModifiersFromModifierFlags2,\n    createQualifiedName: createQualifiedName2,\n    updateQualifiedName: updateQualifiedName2,\n    createComputedPropertyName: createComputedPropertyName2,\n    updateComputedPropertyName: updateComputedPropertyName2,\n    createTypeParameterDeclaration: createTypeParameterDeclaration2,\n    updateTypeParameterDeclaration: updateTypeParameterDeclaration2,\n    createParameterDeclaration,\n    updateParameterDeclaration,\n    createDecorator: createDecorator2,\n    updateDecorator: updateDecorator2,\n    updateIllegalDecorators,\n    createPropertySignature: createPropertySignature3,\n    updatePropertySignature: updatePropertySignature3,\n    createPropertyDeclaration,\n    updatePropertyDeclaration: updatePropertyDeclaration2,\n    createAnnotationPropertyDeclaration,\n    updateAnnotationPropertyDeclaration,\n    createMethodSignature: createMethodSignature3,\n    updateMethodSignature: updateMethodSignature3,\n    createMethodDeclaration,\n    updateMethodDeclaration,\n    createConstructorDeclaration,\n    updateConstructorDeclaration,\n    createGetAccessorDeclaration,\n    updateGetAccessorDeclaration,\n    createSetAccessorDeclaration,\n    updateSetAccessorDeclaration,\n    createCallSignature: createCallSignature2,\n    updateCallSignature: updateCallSignature2,\n    createConstructSignature: createConstructSignature2,\n    updateConstructSignature: updateConstructSignature2,\n    createIndexSignature: createIndexSignature3,\n    updateIndexSignature: updateIndexSignature2,\n    createClassStaticBlockDeclaration,\n    updateClassStaticBlockDeclaration,\n    createTemplateLiteralTypeSpan,\n    updateTemplateLiteralTypeSpan,\n    createKeywordTypeNode: createKeywordTypeNode2,\n    createTypePredicateNode: createTypePredicateNode3,\n    updateTypePredicateNode: updateTypePredicateNode3,\n    createTypeReferenceNode: createTypeReferenceNode2,\n    updateTypeReferenceNode: updateTypeReferenceNode2,\n    createFunctionTypeNode: createFunctionTypeNode2,\n    updateFunctionTypeNode: updateFunctionTypeNode2,\n    createConstructorTypeNode: createConstructorTypeNode2,\n    updateConstructorTypeNode: updateConstructorTypeNode2,\n    createTypeQueryNode: createTypeQueryNode2,\n    updateTypeQueryNode: updateTypeQueryNode2,\n    createTypeLiteralNode: createTypeLiteralNode2,\n    updateTypeLiteralNode: updateTypeLiteralNode2,\n    createArrayTypeNode: createArrayTypeNode2,\n    updateArrayTypeNode: updateArrayTypeNode2,\n    createTupleTypeNode: createTupleTypeNode2,\n    updateTupleTypeNode: updateTupleTypeNode2,\n    createNamedTupleMember,\n    updateNamedTupleMember,\n    createOptionalTypeNode: createOptionalTypeNode2,\n    updateOptionalTypeNode: updateOptionalTypeNode2,\n    createRestTypeNode: createRestTypeNode2,\n    updateRestTypeNode: updateRestTypeNode2,\n    createUnionTypeNode: createUnionTypeNode2,\n    updateUnionTypeNode: updateUnionTypeNode2,\n    createIntersectionTypeNode: createIntersectionTypeNode2,\n    updateIntersectionTypeNode: updateIntersectionTypeNode2,\n    createConditionalTypeNode: createConditionalTypeNode2,\n    updateConditionalTypeNode: updateConditionalTypeNode2,\n    createInferTypeNode: createInferTypeNode2,\n    updateInferTypeNode: updateInferTypeNode2,\n    createImportTypeNode: createImportTypeNode2,\n    updateImportTypeNode: updateImportTypeNode2,\n    createParenthesizedType: createParenthesizedType2,\n    updateParenthesizedType: updateParenthesizedType2,\n    createThisTypeNode: createThisTypeNode2,\n    createTypeOperatorNode: createTypeOperatorNode3,\n    updateTypeOperatorNode: updateTypeOperatorNode2,\n    createIndexedAccessTypeNode: createIndexedAccessTypeNode2,\n    updateIndexedAccessTypeNode: updateIndexedAccessTypeNode2,\n    createMappedTypeNode: createMappedTypeNode2,\n    updateMappedTypeNode: updateMappedTypeNode2,\n    createLiteralTypeNode: createLiteralTypeNode2,\n    updateLiteralTypeNode: updateLiteralTypeNode2,\n    createTemplateLiteralType,\n    updateTemplateLiteralType,\n    createObjectBindingPattern: createObjectBindingPattern2,\n    updateObjectBindingPattern: updateObjectBindingPattern2,\n    createArrayBindingPattern: createArrayBindingPattern2,\n    updateArrayBindingPattern: updateArrayBindingPattern2,\n    createBindingElement: createBindingElement2,\n    updateBindingElement: updateBindingElement2,\n    createArrayLiteralExpression,\n    updateArrayLiteralExpression,\n    createObjectLiteralExpression,\n    updateObjectLiteralExpression,\n    createPropertyAccessExpression: flags & 4 /* NoIndentationOnFreshPropertyAccess */ ? (expression, name) => setEmitFlags(createPropertyAccessExpression(expression, name), 131072 /* NoIndentation */) : createPropertyAccessExpression,\n    updatePropertyAccessExpression,\n    createPropertyAccessChain: flags & 4 /* NoIndentationOnFreshPropertyAccess */ ? (expression, questionDotToken, name) => setEmitFlags(createPropertyAccessChain2(expression, questionDotToken, name), 131072 /* NoIndentation */) : createPropertyAccessChain2,\n    updatePropertyAccessChain: updatePropertyAccessChain2,\n    createElementAccessExpression,\n    updateElementAccessExpression,\n    createElementAccessChain: createElementAccessChain2,\n    updateElementAccessChain: updateElementAccessChain2,\n    createCallExpression,\n    updateCallExpression,\n    createCallChain: createCallChain2,\n    updateCallChain: updateCallChain2,\n    createNewExpression,\n    updateNewExpression,\n    createTaggedTemplateExpression,\n    updateTaggedTemplateExpression,\n    createTypeAssertion: createTypeAssertion2,\n    updateTypeAssertion: updateTypeAssertion2,\n    createParenthesizedExpression,\n    updateParenthesizedExpression,\n    createFunctionExpression: createFunctionExpression2,\n    updateFunctionExpression: updateFunctionExpression2,\n    createEtsComponentExpression,\n    updateEtsComponentExpression,\n    createArrowFunction: createArrowFunction3,\n    updateArrowFunction: updateArrowFunction3,\n    createDeleteExpression,\n    updateDeleteExpression,\n    createTypeOfExpression,\n    updateTypeOfExpression,\n    createVoidExpression,\n    updateVoidExpression,\n    createAwaitExpression,\n    updateAwaitExpression,\n    createPrefixUnaryExpression,\n    updatePrefixUnaryExpression,\n    createPostfixUnaryExpression,\n    updatePostfixUnaryExpression,\n    createBinaryExpression,\n    updateBinaryExpression,\n    createConditionalExpression,\n    updateConditionalExpression,\n    createTemplateExpression: createTemplateExpression2,\n    updateTemplateExpression: updateTemplateExpression2,\n    createTemplateHead: createTemplateHead2,\n    createTemplateMiddle: createTemplateMiddle2,\n    createTemplateTail: createTemplateTail2,\n    createNoSubstitutionTemplateLiteral: createNoSubstitutionTemplateLiteral2,\n    createTemplateLiteralLikeNode,\n    createYieldExpression,\n    updateYieldExpression,\n    createSpreadElement,\n    updateSpreadElement,\n    createClassExpression: createClassExpression3,\n    updateClassExpression: updateClassExpression3,\n    createOmittedExpression: createOmittedExpression2,\n    createExpressionWithTypeArguments: createExpressionWithTypeArguments3,\n    updateExpressionWithTypeArguments: updateExpressionWithTypeArguments3,\n    createAsExpression: createAsExpression2,\n    updateAsExpression: updateAsExpression2,\n    createNonNullExpression: createNonNullExpression2,\n    updateNonNullExpression: updateNonNullExpression2,\n    createSatisfiesExpression,\n    updateSatisfiesExpression,\n    createNonNullChain: createNonNullChain2,\n    updateNonNullChain: updateNonNullChain2,\n    createMetaProperty: createMetaProperty2,\n    updateMetaProperty: updateMetaProperty2,\n    createTemplateSpan: createTemplateSpan2,\n    updateTemplateSpan: updateTemplateSpan2,\n    createSemicolonClassElement: createSemicolonClassElement2,\n    createBlock: createBlock2,\n    updateBlock: updateBlock2,\n    createVariableStatement: createVariableStatement2,\n    updateVariableStatement: updateVariableStatement2,\n    createEmptyStatement: createEmptyStatement2,\n    createExpressionStatement: createExpressionStatement2,\n    updateExpressionStatement: updateExpressionStatement2,\n    createIfStatement,\n    updateIfStatement,\n    createDoStatement,\n    updateDoStatement,\n    createWhileStatement,\n    updateWhileStatement,\n    createForStatement,\n    updateForStatement,\n    createForInStatement,\n    updateForInStatement,\n    createForOfStatement,\n    updateForOfStatement,\n    createContinueStatement,\n    updateContinueStatement,\n    createBreakStatement,\n    updateBreakStatement,\n    createReturnStatement,\n    updateReturnStatement,\n    createWithStatement,\n    updateWithStatement,\n    createSwitchStatement,\n    updateSwitchStatement,\n    createLabeledStatement,\n    updateLabeledStatement,\n    createThrowStatement,\n    updateThrowStatement,\n    createTryStatement,\n    updateTryStatement,\n    createDebuggerStatement: createDebuggerStatement2,\n    createVariableDeclaration: createVariableDeclaration3,\n    updateVariableDeclaration: updateVariableDeclaration3,\n    createVariableDeclarationList: createVariableDeclarationList2,\n    updateVariableDeclarationList: updateVariableDeclarationList2,\n    createFunctionDeclaration: createFunctionDeclaration2,\n    updateFunctionDeclaration: updateFunctionDeclaration2,\n    createClassDeclaration: createClassDeclaration2,\n    updateClassDeclaration: updateClassDeclaration2,\n    createStructDeclaration,\n    updateStructDeclaration,\n    createAnnotationDeclaration,\n    updateAnnotationDeclaration,\n    createInterfaceDeclaration: createInterfaceDeclaration2,\n    updateInterfaceDeclaration: updateInterfaceDeclaration2,\n    createTypeAliasDeclaration: createTypeAliasDeclaration2,\n    updateTypeAliasDeclaration: updateTypeAliasDeclaration2,\n    createEnumDeclaration: createEnumDeclaration2,\n    updateEnumDeclaration: updateEnumDeclaration2,\n    createModuleDeclaration: createModuleDeclaration2,\n    updateModuleDeclaration: updateModuleDeclaration2,\n    createModuleBlock: createModuleBlock2,\n    updateModuleBlock: updateModuleBlock2,\n    createCaseBlock: createCaseBlock2,\n    updateCaseBlock: updateCaseBlock2,\n    createNamespaceExportDeclaration: createNamespaceExportDeclaration2,\n    updateNamespaceExportDeclaration: updateNamespaceExportDeclaration2,\n    createImportEqualsDeclaration: createImportEqualsDeclaration2,\n    updateImportEqualsDeclaration: updateImportEqualsDeclaration2,\n    createImportDeclaration: createImportDeclaration2,\n    updateImportDeclaration: updateImportDeclaration2,\n    createImportClause: createImportClause3,\n    updateImportClause: updateImportClause3,\n    createAssertClause,\n    updateAssertClause,\n    createAssertEntry,\n    updateAssertEntry,\n    createImportTypeAssertionContainer,\n    updateImportTypeAssertionContainer,\n    createNamespaceImport: createNamespaceImport2,\n    updateNamespaceImport: updateNamespaceImport2,\n    createNamespaceExport: createNamespaceExport2,\n    updateNamespaceExport: updateNamespaceExport2,\n    createNamedImports: createNamedImports2,\n    updateNamedImports: updateNamedImports2,\n    createImportSpecifier: createImportSpecifier2,\n    updateImportSpecifier: updateImportSpecifier2,\n    createExportAssignment: createExportAssignment3,\n    updateExportAssignment: updateExportAssignment2,\n    createExportDeclaration: createExportDeclaration3,\n    updateExportDeclaration: updateExportDeclaration3,\n    createNamedExports: createNamedExports2,\n    updateNamedExports: updateNamedExports2,\n    createExportSpecifier: createExportSpecifier2,\n    updateExportSpecifier: updateExportSpecifier2,\n    createMissingDeclaration,\n    createExternalModuleReference: createExternalModuleReference2,\n    updateExternalModuleReference: updateExternalModuleReference2,\n    get createJSDocAllType() {\n      return getJSDocPrimaryTypeCreateFunction(321 /* JSDocAllType */);\n    },\n    get createJSDocUnknownType() {\n      return getJSDocPrimaryTypeCreateFunction(322 /* JSDocUnknownType */);\n    },\n    get createJSDocNonNullableType() {\n      return getJSDocPrePostfixUnaryTypeCreateFunction(324 /* JSDocNonNullableType */);\n    },\n    get updateJSDocNonNullableType() {\n      return getJSDocPrePostfixUnaryTypeUpdateFunction(324 /* JSDocNonNullableType */);\n    },\n    get createJSDocNullableType() {\n      return getJSDocPrePostfixUnaryTypeCreateFunction(323 /* JSDocNullableType */);\n    },\n    get updateJSDocNullableType() {\n      return getJSDocPrePostfixUnaryTypeUpdateFunction(323 /* JSDocNullableType */);\n    },\n    get createJSDocOptionalType() {\n      return getJSDocUnaryTypeCreateFunction(325 /* JSDocOptionalType */);\n    },\n    get updateJSDocOptionalType() {\n      return getJSDocUnaryTypeUpdateFunction(325 /* JSDocOptionalType */);\n    },\n    get createJSDocVariadicType() {\n      return getJSDocUnaryTypeCreateFunction(327 /* JSDocVariadicType */);\n    },\n    get updateJSDocVariadicType() {\n      return getJSDocUnaryTypeUpdateFunction(327 /* JSDocVariadicType */);\n    },\n    get createJSDocNamepathType() {\n      return getJSDocUnaryTypeCreateFunction(328 /* JSDocNamepathType */);\n    },\n    get updateJSDocNamepathType() {\n      return getJSDocUnaryTypeUpdateFunction(328 /* JSDocNamepathType */);\n    },\n    createJSDocFunctionType,\n    updateJSDocFunctionType,\n    createJSDocTypeLiteral: createJSDocTypeLiteral2,\n    updateJSDocTypeLiteral,\n    createJSDocTypeExpression: createJSDocTypeExpression2,\n    updateJSDocTypeExpression,\n    createJSDocSignature: createJSDocSignature2,\n    updateJSDocSignature,\n    createJSDocTemplateTag: createJSDocTemplateTag2,\n    updateJSDocTemplateTag,\n    createJSDocTypedefTag: createJSDocTypedefTag2,\n    updateJSDocTypedefTag,\n    createJSDocParameterTag: createJSDocParameterTag2,\n    updateJSDocParameterTag,\n    createJSDocPropertyTag: createJSDocPropertyTag2,\n    updateJSDocPropertyTag,\n    createJSDocCallbackTag: createJSDocCallbackTag2,\n    updateJSDocCallbackTag,\n    createJSDocAugmentsTag: createJSDocAugmentsTag2,\n    updateJSDocAugmentsTag,\n    createJSDocImplementsTag: createJSDocImplementsTag2,\n    updateJSDocImplementsTag,\n    createJSDocSeeTag,\n    updateJSDocSeeTag,\n    createJSDocNameReference,\n    updateJSDocNameReference,\n    createJSDocMemberName,\n    updateJSDocMemberName,\n    createJSDocLink,\n    updateJSDocLink,\n    createJSDocLinkCode,\n    updateJSDocLinkCode,\n    createJSDocLinkPlain,\n    updateJSDocLinkPlain,\n    get createJSDocTypeTag() {\n      return getJSDocTypeLikeTagCreateFunction(352 /* JSDocTypeTag */);\n    },\n    get updateJSDocTypeTag() {\n      return getJSDocTypeLikeTagUpdateFunction(352 /* JSDocTypeTag */);\n    },\n    get createJSDocReturnTag() {\n      return getJSDocTypeLikeTagCreateFunction(350 /* JSDocReturnTag */);\n    },\n    get updateJSDocReturnTag() {\n      return getJSDocTypeLikeTagUpdateFunction(350 /* JSDocReturnTag */);\n    },\n    get createJSDocThisTag() {\n      return getJSDocTypeLikeTagCreateFunction(351 /* JSDocThisTag */);\n    },\n    get updateJSDocThisTag() {\n      return getJSDocTypeLikeTagUpdateFunction(351 /* JSDocThisTag */);\n    },\n    get createJSDocEnumTag() {\n      return getJSDocTypeLikeTagCreateFunction(348 /* JSDocEnumTag */);\n    },\n    get updateJSDocEnumTag() {\n      return getJSDocTypeLikeTagUpdateFunction(348 /* JSDocEnumTag */);\n    },\n    get createJSDocAuthorTag() {\n      return getJSDocSimpleTagCreateFunction(339 /* JSDocAuthorTag */);\n    },\n    get updateJSDocAuthorTag() {\n      return getJSDocSimpleTagUpdateFunction(339 /* JSDocAuthorTag */);\n    },\n    get createJSDocClassTag() {\n      return getJSDocSimpleTagCreateFunction(341 /* JSDocClassTag */);\n    },\n    get updateJSDocClassTag() {\n      return getJSDocSimpleTagUpdateFunction(341 /* JSDocClassTag */);\n    },\n    get createJSDocPublicTag() {\n      return getJSDocSimpleTagCreateFunction(342 /* JSDocPublicTag */);\n    },\n    get updateJSDocPublicTag() {\n      return getJSDocSimpleTagUpdateFunction(342 /* JSDocPublicTag */);\n    },\n    get createJSDocPrivateTag() {\n      return getJSDocSimpleTagCreateFunction(343 /* JSDocPrivateTag */);\n    },\n    get updateJSDocPrivateTag() {\n      return getJSDocSimpleTagUpdateFunction(343 /* JSDocPrivateTag */);\n    },\n    get createJSDocProtectedTag() {\n      return getJSDocSimpleTagCreateFunction(344 /* JSDocProtectedTag */);\n    },\n    get updateJSDocProtectedTag() {\n      return getJSDocSimpleTagUpdateFunction(344 /* JSDocProtectedTag */);\n    },\n    get createJSDocReadonlyTag() {\n      return getJSDocSimpleTagCreateFunction(345 /* JSDocReadonlyTag */);\n    },\n    get updateJSDocReadonlyTag() {\n      return getJSDocSimpleTagUpdateFunction(345 /* JSDocReadonlyTag */);\n    },\n    get createJSDocOverrideTag() {\n      return getJSDocSimpleTagCreateFunction(346 /* JSDocOverrideTag */);\n    },\n    get updateJSDocOverrideTag() {\n      return getJSDocSimpleTagUpdateFunction(346 /* JSDocOverrideTag */);\n    },\n    get createJSDocDeprecatedTag() {\n      return getJSDocSimpleTagCreateFunction(340 /* JSDocDeprecatedTag */);\n    },\n    get updateJSDocDeprecatedTag() {\n      return getJSDocSimpleTagUpdateFunction(340 /* JSDocDeprecatedTag */);\n    },\n    createJSDocUnknownTag,\n    updateJSDocUnknownTag,\n    createJSDocText,\n    updateJSDocText,\n    createJSDocComment: createJSDocComment2,\n    updateJSDocComment,\n    createJsxElement: createJsxElement2,\n    updateJsxElement: updateJsxElement2,\n    createJsxSelfClosingElement: createJsxSelfClosingElement2,\n    updateJsxSelfClosingElement: updateJsxSelfClosingElement2,\n    createJsxOpeningElement: createJsxOpeningElement2,\n    updateJsxOpeningElement: updateJsxOpeningElement2,\n    createJsxClosingElement: createJsxClosingElement2,\n    updateJsxClosingElement: updateJsxClosingElement2,\n    createJsxFragment: createJsxFragment2,\n    createJsxText: createJsxText2,\n    updateJsxText: updateJsxText2,\n    createJsxOpeningFragment: createJsxOpeningFragment2,\n    createJsxJsxClosingFragment: createJsxJsxClosingFragment2,\n    updateJsxFragment: updateJsxFragment2,\n    createJsxAttribute: createJsxAttribute2,\n    updateJsxAttribute: updateJsxAttribute2,\n    createJsxAttributes: createJsxAttributes2,\n    updateJsxAttributes: updateJsxAttributes2,\n    createJsxSpreadAttribute: createJsxSpreadAttribute2,\n    updateJsxSpreadAttribute: updateJsxSpreadAttribute2,\n    createJsxExpression: createJsxExpression2,\n    updateJsxExpression: updateJsxExpression2,\n    createCaseClause: createCaseClause2,\n    updateCaseClause: updateCaseClause2,\n    createDefaultClause: createDefaultClause2,\n    updateDefaultClause: updateDefaultClause2,\n    createHeritageClause: createHeritageClause2,\n    updateHeritageClause: updateHeritageClause2,\n    createCatchClause: createCatchClause2,\n    updateCatchClause: updateCatchClause2,\n    createPropertyAssignment: createPropertyAssignment2,\n    updatePropertyAssignment: updatePropertyAssignment2,\n    createShorthandPropertyAssignment: createShorthandPropertyAssignment2,\n    updateShorthandPropertyAssignment: updateShorthandPropertyAssignment2,\n    createSpreadAssignment: createSpreadAssignment2,\n    updateSpreadAssignment: updateSpreadAssignment2,\n    createEnumMember: createEnumMember2,\n    updateEnumMember: updateEnumMember2,\n    createSourceFile: createSourceFile2,\n    updateSourceFile: updateSourceFile2,\n    createBundle: createBundle2,\n    updateBundle: updateBundle2,\n    createUnparsedSource,\n    createUnparsedPrologue,\n    createUnparsedPrepend,\n    createUnparsedTextLike,\n    createUnparsedSyntheticReference,\n    createInputFiles: createInputFiles2,\n    createSyntheticExpression,\n    createSyntaxList: createSyntaxList3,\n    createNotEmittedStatement: createNotEmittedStatement2,\n    createPartiallyEmittedExpression: createPartiallyEmittedExpression2,\n    updatePartiallyEmittedExpression: updatePartiallyEmittedExpression2,\n    createCommaListExpression,\n    updateCommaListExpression,\n    createEndOfDeclarationMarker,\n    createMergeDeclarationMarker,\n    createSyntheticReferenceExpression,\n    updateSyntheticReferenceExpression,\n    cloneNode,\n    get createComma() {\n      return getBinaryCreateFunction(27 /* CommaToken */);\n    },\n    get createAssignment() {\n      return getBinaryCreateFunction(63 /* EqualsToken */);\n    },\n    get createLogicalOr() {\n      return getBinaryCreateFunction(56 /* BarBarToken */);\n    },\n    get createLogicalAnd() {\n      return getBinaryCreateFunction(55 /* AmpersandAmpersandToken */);\n    },\n    get createBitwiseOr() {\n      return getBinaryCreateFunction(51 /* BarToken */);\n    },\n    get createBitwiseXor() {\n      return getBinaryCreateFunction(52 /* CaretToken */);\n    },\n    get createBitwiseAnd() {\n      return getBinaryCreateFunction(50 /* AmpersandToken */);\n    },\n    get createStrictEquality() {\n      return getBinaryCreateFunction(36 /* EqualsEqualsEqualsToken */);\n    },\n    get createStrictInequality() {\n      return getBinaryCreateFunction(37 /* ExclamationEqualsEqualsToken */);\n    },\n    get createEquality() {\n      return getBinaryCreateFunction(34 /* EqualsEqualsToken */);\n    },\n    get createInequality() {\n      return getBinaryCreateFunction(35 /* ExclamationEqualsToken */);\n    },\n    get createLessThan() {\n      return getBinaryCreateFunction(29 /* LessThanToken */);\n    },\n    get createLessThanEquals() {\n      return getBinaryCreateFunction(32 /* LessThanEqualsToken */);\n    },\n    get createGreaterThan() {\n      return getBinaryCreateFunction(31 /* GreaterThanToken */);\n    },\n    get createGreaterThanEquals() {\n      return getBinaryCreateFunction(33 /* GreaterThanEqualsToken */);\n    },\n    get createLeftShift() {\n      return getBinaryCreateFunction(47 /* LessThanLessThanToken */);\n    },\n    get createRightShift() {\n      return getBinaryCreateFunction(48 /* GreaterThanGreaterThanToken */);\n    },\n    get createUnsignedRightShift() {\n      return getBinaryCreateFunction(49 /* GreaterThanGreaterThanGreaterThanToken */);\n    },\n    get createAdd() {\n      return getBinaryCreateFunction(39 /* PlusToken */);\n    },\n    get createSubtract() {\n      return getBinaryCreateFunction(40 /* MinusToken */);\n    },\n    get createMultiply() {\n      return getBinaryCreateFunction(41 /* AsteriskToken */);\n    },\n    get createDivide() {\n      return getBinaryCreateFunction(43 /* SlashToken */);\n    },\n    get createModulo() {\n      return getBinaryCreateFunction(44 /* PercentToken */);\n    },\n    get createExponent() {\n      return getBinaryCreateFunction(42 /* AsteriskAsteriskToken */);\n    },\n    get createPrefixPlus() {\n      return getPrefixUnaryCreateFunction(39 /* PlusToken */);\n    },\n    get createPrefixMinus() {\n      return getPrefixUnaryCreateFunction(40 /* MinusToken */);\n    },\n    get createPrefixIncrement() {\n      return getPrefixUnaryCreateFunction(45 /* PlusPlusToken */);\n    },\n    get createPrefixDecrement() {\n      return getPrefixUnaryCreateFunction(46 /* MinusMinusToken */);\n    },\n    get createBitwiseNot() {\n      return getPrefixUnaryCreateFunction(54 /* TildeToken */);\n    },\n    get createLogicalNot() {\n      return getPrefixUnaryCreateFunction(53 /* ExclamationToken */);\n    },\n    get createPostfixIncrement() {\n      return getPostfixUnaryCreateFunction(45 /* PlusPlusToken */);\n    },\n    get createPostfixDecrement() {\n      return getPostfixUnaryCreateFunction(46 /* MinusMinusToken */);\n    },\n    createImmediatelyInvokedFunctionExpression: createImmediatelyInvokedFunctionExpression2,\n    createImmediatelyInvokedArrowFunction: createImmediatelyInvokedArrowFunction2,\n    createVoidZero: createVoidZero2,\n    createExportDefault: createExportDefault2,\n    createExternalModuleExport: createExternalModuleExport2,\n    createTypeCheck,\n    createMethodCall,\n    createGlobalMethodCall,\n    createFunctionBindCall,\n    createFunctionCallCall,\n    createFunctionApplyCall,\n    createArraySliceCall,\n    createArrayConcatCall,\n    createObjectDefinePropertyCall,\n    createReflectGetCall,\n    createReflectSetCall,\n    createPropertyDescriptor,\n    createCallBinding,\n    createAssignmentTargetWrapper,\n    inlineExpressions,\n    getInternalName,\n    getLocalName,\n    getExportName,\n    getDeclarationName,\n    getNamespaceMemberName,\n    getExternalModuleOrNamespaceExportName,\n    restoreOuterExpressions,\n    restoreEnclosingLabel,\n    createUseStrictPrologue,\n    copyPrologue,\n    copyStandardPrologue,\n    copyCustomPrologue,\n    ensureUseStrict,\n    liftToBlock,\n    mergeLexicalEnvironment,\n    updateModifiers\n  };\n  forEach(nodeFactoryPatchers, (fn) => fn(factory2));\n  return factory2;\n  function createNodeArray2(elements, hasTrailingComma) {\n    if (elements === void 0 || elements === emptyArray) {\n      elements = [];\n    } else if (isNodeArray(elements)) {\n      if (hasTrailingComma === void 0 || elements.hasTrailingComma === hasTrailingComma) {\n        if (elements.transformFlags === void 0) {\n          aggregateChildrenFlags(elements);\n        }\n        Debug.attachNodeArrayDebugInfo(elements);\n        return elements;\n      }\n      const array2 = elements.slice();\n      array2.pos = elements.pos;\n      array2.end = elements.end;\n      array2.hasTrailingComma = hasTrailingComma;\n      array2.transformFlags = elements.transformFlags;\n      Debug.attachNodeArrayDebugInfo(array2);\n      return array2;\n    }\n    const length2 = elements.length;\n    const array = length2 >= 1 && length2 <= 4 ? elements.slice() : elements;\n    setTextRangePosEnd(array, -1, -1);\n    array.hasTrailingComma = !!hasTrailingComma;\n    aggregateChildrenFlags(array);\n    Debug.attachNodeArrayDebugInfo(array);\n    return array;\n  }\n  function createBaseNode(kind) {\n    return baseFactory2.createBaseNode(kind);\n  }\n  function createBaseDeclaration(kind) {\n    const node = createBaseNode(kind);\n    node.symbol = void 0;\n    node.localSymbol = void 0;\n    node.locals = void 0;\n    node.nextContainer = void 0;\n    return node;\n  }\n  function createBaseNamedDeclaration(kind, modifiers, name) {\n    const node = createBaseDeclaration(kind);\n    name = asName(name);\n    node.name = name;\n    if (canHaveModifiers(node)) {\n      node.modifiers = asNodeArray(modifiers);\n      node.transformFlags |= propagateChildrenFlags(node.modifiers);\n    }\n    if (name) {\n      switch (node.kind) {\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 171 /* PropertyDeclaration */:\n        case 172 /* AnnotationPropertyDeclaration */:\n        case 305 /* PropertyAssignment */:\n          if (isIdentifier(name)) {\n            node.transformFlags |= propagateIdentifierNameFlags(name);\n            break;\n          }\n        default:\n          node.transformFlags |= propagateChildFlags(name);\n          break;\n      }\n    }\n    return node;\n  }\n  function createBaseGenericNamedDeclaration(kind, modifiers, name, typeParameters) {\n    const node = createBaseNamedDeclaration(\n      kind,\n      modifiers,\n      name\n    );\n    node.typeParameters = asNodeArray(typeParameters);\n    node.transformFlags |= propagateChildrenFlags(node.typeParameters);\n    if (typeParameters)\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function createBaseSignatureDeclaration(kind, modifiers, name, typeParameters, parameters, type) {\n    const node = createBaseGenericNamedDeclaration(\n      kind,\n      modifiers,\n      name,\n      typeParameters\n    );\n    node.parameters = createNodeArray2(parameters);\n    node.type = type;\n    node.transformFlags |= propagateChildrenFlags(node.parameters) | propagateChildFlags(node.type);\n    if (type)\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    node.typeArguments = void 0;\n    return node;\n  }\n  function finishUpdateBaseSignatureDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.typeArguments = original.typeArguments;\n    }\n    return update(updated, original);\n  }\n  function createBaseFunctionLikeDeclaration(kind, modifiers, name, typeParameters, parameters, type, body) {\n    const node = createBaseSignatureDeclaration(\n      kind,\n      modifiers,\n      name,\n      typeParameters,\n      parameters,\n      type\n    );\n    node.body = body;\n    node.transformFlags |= propagateChildFlags(node.body) & ~67108864 /* ContainsPossibleTopLevelAwait */;\n    if (!body)\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function createBaseInterfaceOrClassLikeDeclaration(kind, modifiers, name, typeParameters, heritageClauses) {\n    const node = createBaseGenericNamedDeclaration(\n      kind,\n      modifiers,\n      name,\n      typeParameters\n    );\n    node.heritageClauses = asNodeArray(heritageClauses);\n    node.transformFlags |= propagateChildrenFlags(node.heritageClauses);\n    return node;\n  }\n  function createBaseClassLikeDeclaration(kind, modifiers, name, typeParameters, heritageClauses, members) {\n    const node = createBaseInterfaceOrClassLikeDeclaration(\n      kind,\n      modifiers,\n      name,\n      typeParameters,\n      heritageClauses\n    );\n    node.members = createNodeArray2(members);\n    node.transformFlags |= propagateChildrenFlags(node.members);\n    return node;\n  }\n  function createBaseBindingLikeDeclaration(kind, modifiers, name, initializer) {\n    const node = createBaseNamedDeclaration(\n      kind,\n      modifiers,\n      name\n    );\n    node.initializer = initializer;\n    node.transformFlags |= propagateChildFlags(node.initializer);\n    return node;\n  }\n  function createBaseVariableLikeDeclaration(kind, modifiers, name, type, initializer) {\n    const node = createBaseBindingLikeDeclaration(\n      kind,\n      modifiers,\n      name,\n      initializer\n    );\n    node.type = type;\n    node.transformFlags |= propagateChildFlags(type);\n    if (type)\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function createBaseLiteral(kind, text) {\n    const node = createBaseToken(kind);\n    node.text = text;\n    return node;\n  }\n  function createNumericLiteral2(value, numericLiteralFlags = 0 /* None */) {\n    const node = createBaseLiteral(8 /* NumericLiteral */, typeof value === \"number\" ? value + \"\" : value);\n    node.numericLiteralFlags = numericLiteralFlags;\n    if (numericLiteralFlags & 384 /* BinaryOrOctalSpecifier */)\n      node.transformFlags |= 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function createBigIntLiteral2(value) {\n    const node = createBaseLiteral(9 /* BigIntLiteral */, typeof value === \"string\" ? value : pseudoBigIntToString(value) + \"n\");\n    node.transformFlags |= 4 /* ContainsESNext */;\n    return node;\n  }\n  function createBaseStringLiteral(text, isSingleQuote) {\n    const node = createBaseLiteral(10 /* StringLiteral */, text);\n    node.singleQuote = isSingleQuote;\n    return node;\n  }\n  function createStringLiteral2(text, isSingleQuote, hasExtendedUnicodeEscape) {\n    const node = createBaseStringLiteral(text, isSingleQuote);\n    node.hasExtendedUnicodeEscape = hasExtendedUnicodeEscape;\n    if (hasExtendedUnicodeEscape)\n      node.transformFlags |= 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function createStringLiteralFromNode2(sourceNode) {\n    const node = createBaseStringLiteral(getTextOfIdentifierOrLiteral(sourceNode), void 0);\n    node.textSourceNode = sourceNode;\n    return node;\n  }\n  function createRegularExpressionLiteral2(text) {\n    const node = createBaseLiteral(13 /* RegularExpressionLiteral */, text);\n    return node;\n  }\n  function createLiteralLikeNode(kind, text) {\n    switch (kind) {\n      case 8 /* NumericLiteral */:\n        return createNumericLiteral2(text, 0);\n      case 9 /* BigIntLiteral */:\n        return createBigIntLiteral2(text);\n      case 10 /* StringLiteral */:\n        return createStringLiteral2(text, void 0);\n      case 11 /* JsxText */:\n        return createJsxText2(text, false);\n      case 12 /* JsxTextAllWhiteSpaces */:\n        return createJsxText2(text, true);\n      case 13 /* RegularExpressionLiteral */:\n        return createRegularExpressionLiteral2(text);\n      case 14 /* NoSubstitutionTemplateLiteral */:\n        return createTemplateLiteralLikeNode(kind, text, void 0, 0);\n    }\n  }\n  function createBaseIdentifier(text, originalKeywordKind) {\n    if (originalKeywordKind === void 0 && text) {\n      originalKeywordKind = stringToToken(text);\n    }\n    if (originalKeywordKind === 79 /* Identifier */) {\n      originalKeywordKind = void 0;\n    }\n    const node = baseFactory2.createBaseIdentifierNode(79 /* Identifier */);\n    node.originalKeywordKind = originalKeywordKind;\n    node.escapedText = escapeLeadingUnderscores(text);\n    return node;\n  }\n  function createBaseGeneratedIdentifier(text, autoGenerateFlags, prefix, suffix) {\n    const node = createBaseIdentifier(text, void 0);\n    node.autoGenerateFlags = autoGenerateFlags;\n    node.autoGenerateId = nextAutoGenerateId;\n    node.autoGeneratePrefix = prefix;\n    node.autoGenerateSuffix = suffix;\n    nextAutoGenerateId++;\n    return node;\n  }\n  function createIdentifier3(text, typeArguments, originalKeywordKind, hasExtendedUnicodeEscape) {\n    const node = createBaseIdentifier(text, originalKeywordKind);\n    if (typeArguments) {\n      node.typeArguments = createNodeArray2(typeArguments);\n    }\n    if (node.originalKeywordKind === 134 /* AwaitKeyword */) {\n      node.transformFlags |= 67108864 /* ContainsPossibleTopLevelAwait */;\n    }\n    if (hasExtendedUnicodeEscape) {\n      node.hasExtendedUnicodeEscape = hasExtendedUnicodeEscape;\n      node.transformFlags |= 1024 /* ContainsES2015 */;\n    }\n    return node;\n  }\n  function updateIdentifier(node, typeArguments) {\n    return node.typeArguments !== typeArguments ? update(createIdentifier3(idText(node), typeArguments), node) : node;\n  }\n  function createTempVariable3(recordTempVariable, reservedInNestedScopes, prefix, suffix) {\n    let flags2 = 1 /* Auto */;\n    if (reservedInNestedScopes)\n      flags2 |= 8 /* ReservedInNestedScopes */;\n    const name = createBaseGeneratedIdentifier(\"\", flags2, prefix, suffix);\n    if (recordTempVariable) {\n      recordTempVariable(name);\n    }\n    return name;\n  }\n  function createLoopVariable2(reservedInNestedScopes) {\n    let flags2 = 2 /* Loop */;\n    if (reservedInNestedScopes)\n      flags2 |= 8 /* ReservedInNestedScopes */;\n    return createBaseGeneratedIdentifier(\"\", flags2, void 0, void 0);\n  }\n  function createUniqueName2(text, flags2 = 0 /* None */, prefix, suffix) {\n    Debug.assert(!(flags2 & 7 /* KindMask */), \"Argument out of range: flags\");\n    Debug.assert((flags2 & (16 /* Optimistic */ | 32 /* FileLevel */)) !== 32 /* FileLevel */, \"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic\");\n    return createBaseGeneratedIdentifier(text, 3 /* Unique */ | flags2, prefix, suffix);\n  }\n  function getGeneratedNameForNode3(node, flags2 = 0, prefix, suffix) {\n    Debug.assert(!(flags2 & 7 /* KindMask */), \"Argument out of range: flags\");\n    const text = !node ? \"\" : isMemberName(node) ? formatGeneratedName(false, prefix, node, suffix, idText) : `generated@${getNodeId(node)}`;\n    if (prefix || suffix)\n      flags2 |= 16 /* Optimistic */;\n    const name = createBaseGeneratedIdentifier(text, 4 /* Node */ | flags2, prefix, suffix);\n    name.original = node;\n    return name;\n  }\n  function createBasePrivateIdentifier(text) {\n    const node = baseFactory2.createBasePrivateIdentifierNode(80 /* PrivateIdentifier */);\n    node.escapedText = escapeLeadingUnderscores(text);\n    node.transformFlags |= 16777216 /* ContainsClassFields */;\n    return node;\n  }\n  function createPrivateIdentifier2(text) {\n    if (!startsWith(text, \"#\"))\n      Debug.fail(\"First character of private identifier must be #: \" + text);\n    return createBasePrivateIdentifier(text);\n  }\n  function createBaseGeneratedPrivateIdentifier(text, autoGenerateFlags, prefix, suffix) {\n    const node = createBasePrivateIdentifier(text);\n    node.autoGenerateFlags = autoGenerateFlags;\n    node.autoGenerateId = nextAutoGenerateId;\n    node.autoGeneratePrefix = prefix;\n    node.autoGenerateSuffix = suffix;\n    nextAutoGenerateId++;\n    return node;\n  }\n  function createUniquePrivateName(text, prefix, suffix) {\n    if (text && !startsWith(text, \"#\"))\n      Debug.fail(\"First character of private identifier must be #: \" + text);\n    const autoGenerateFlags = 8 /* ReservedInNestedScopes */ | (text ? 3 /* Unique */ : 1 /* Auto */);\n    return createBaseGeneratedPrivateIdentifier(text != null ? text : \"\", autoGenerateFlags, prefix, suffix);\n  }\n  function getGeneratedPrivateNameForNode(node, prefix, suffix) {\n    const text = isMemberName(node) ? formatGeneratedName(true, prefix, node, suffix, idText) : `#generated@${getNodeId(node)}`;\n    const flags2 = prefix || suffix ? 16 /* Optimistic */ : 0 /* None */;\n    const name = createBaseGeneratedPrivateIdentifier(text, 4 /* Node */ | flags2, prefix, suffix);\n    name.original = node;\n    return name;\n  }\n  function createBaseToken(kind) {\n    return baseFactory2.createBaseTokenNode(kind);\n  }\n  function createToken3(token) {\n    Debug.assert(token >= 0 /* FirstToken */ && token <= 164 /* LastToken */, \"Invalid token\");\n    Debug.assert(token <= 14 /* FirstTemplateToken */ || token >= 17 /* LastTemplateToken */, \"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.\");\n    Debug.assert(token <= 8 /* FirstLiteralToken */ || token >= 14 /* LastLiteralToken */, \"Invalid token. Use 'createLiteralLikeNode' to create literals.\");\n    Debug.assert(token !== 79 /* Identifier */, \"Invalid token. Use 'createIdentifier' to create identifiers\");\n    const node = createBaseToken(token);\n    let transformFlags = 0 /* None */;\n    switch (token) {\n      case 133 /* AsyncKeyword */:\n        transformFlags = 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */;\n        break;\n      case 124 /* PublicKeyword */:\n      case 122 /* PrivateKeyword */:\n      case 123 /* ProtectedKeyword */:\n      case 147 /* ReadonlyKeyword */:\n      case 127 /* AbstractKeyword */:\n      case 137 /* DeclareKeyword */:\n      case 86 /* ConstKeyword */:\n      case 132 /* AnyKeyword */:\n      case 149 /* NumberKeyword */:\n      case 162 /* BigIntKeyword */:\n      case 145 /* NeverKeyword */:\n      case 150 /* ObjectKeyword */:\n      case 102 /* InKeyword */:\n      case 146 /* OutKeyword */:\n      case 163 /* OverrideKeyword */:\n      case 153 /* StringKeyword */:\n      case 135 /* BooleanKeyword */:\n      case 154 /* SymbolKeyword */:\n      case 115 /* VoidKeyword */:\n      case 159 /* UnknownKeyword */:\n      case 157 /* UndefinedKeyword */:\n        transformFlags = 1 /* ContainsTypeScript */;\n        break;\n      case 107 /* SuperKeyword */:\n        transformFlags = 1024 /* ContainsES2015 */ | 134217728 /* ContainsLexicalSuper */;\n        break;\n      case 125 /* StaticKeyword */:\n        transformFlags = 1024 /* ContainsES2015 */;\n        break;\n      case 128 /* AccessorKeyword */:\n        transformFlags = 16777216 /* ContainsClassFields */;\n        break;\n      case 109 /* ThisKeyword */:\n        transformFlags = 16384 /* ContainsLexicalThis */;\n        break;\n    }\n    if (transformFlags) {\n      node.transformFlags |= transformFlags;\n    }\n    return node;\n  }\n  function createSuper2() {\n    return createToken3(107 /* SuperKeyword */);\n  }\n  function createThis2() {\n    return createToken3(109 /* ThisKeyword */);\n  }\n  function createNull2() {\n    return createToken3(105 /* NullKeyword */);\n  }\n  function createTrue2() {\n    return createToken3(111 /* TrueKeyword */);\n  }\n  function createFalse2() {\n    return createToken3(96 /* FalseKeyword */);\n  }\n  function createModifier2(kind) {\n    return createToken3(kind);\n  }\n  function createModifiersFromModifierFlags2(flags2) {\n    const result = [];\n    if (flags2 & 1 /* Export */)\n      result.push(createModifier2(94 /* ExportKeyword */));\n    if (flags2 & 2 /* Ambient */)\n      result.push(createModifier2(137 /* DeclareKeyword */));\n    if (flags2 & 1024 /* Default */)\n      result.push(createModifier2(89 /* DefaultKeyword */));\n    if (flags2 & 2048 /* Const */)\n      result.push(createModifier2(86 /* ConstKeyword */));\n    if (flags2 & 4 /* Public */)\n      result.push(createModifier2(124 /* PublicKeyword */));\n    if (flags2 & 8 /* Private */)\n      result.push(createModifier2(122 /* PrivateKeyword */));\n    if (flags2 & 16 /* Protected */)\n      result.push(createModifier2(123 /* ProtectedKeyword */));\n    if (flags2 & 256 /* Abstract */)\n      result.push(createModifier2(127 /* AbstractKeyword */));\n    if (flags2 & 32 /* Static */)\n      result.push(createModifier2(125 /* StaticKeyword */));\n    if (flags2 & 16384 /* Override */)\n      result.push(createModifier2(163 /* OverrideKeyword */));\n    if (flags2 & 64 /* Readonly */)\n      result.push(createModifier2(147 /* ReadonlyKeyword */));\n    if (flags2 & 128 /* Accessor */)\n      result.push(createModifier2(128 /* AccessorKeyword */));\n    if (flags2 & 512 /* Async */)\n      result.push(createModifier2(133 /* AsyncKeyword */));\n    if (flags2 & 32768 /* In */)\n      result.push(createModifier2(102 /* InKeyword */));\n    if (flags2 & 65536 /* Out */)\n      result.push(createModifier2(146 /* OutKeyword */));\n    return result.length ? result : void 0;\n  }\n  function createQualifiedName2(left, right) {\n    const node = createBaseNode(165 /* QualifiedName */);\n    node.left = left;\n    node.right = asName(right);\n    node.transformFlags |= propagateChildFlags(node.left) | propagateIdentifierNameFlags(node.right);\n    return node;\n  }\n  function updateQualifiedName2(node, left, right) {\n    return node.left !== left || node.right !== right ? update(createQualifiedName2(left, right), node) : node;\n  }\n  function createComputedPropertyName2(expression) {\n    const node = createBaseNode(166 /* ComputedPropertyName */);\n    node.expression = parenthesizerRules().parenthesizeExpressionOfComputedPropertyName(expression);\n    node.transformFlags |= propagateChildFlags(node.expression) | 1024 /* ContainsES2015 */ | 131072 /* ContainsComputedPropertyName */;\n    return node;\n  }\n  function updateComputedPropertyName2(node, expression) {\n    return node.expression !== expression ? update(createComputedPropertyName2(expression), node) : node;\n  }\n  function createTypeParameterDeclaration2(modifiers, name, constraint, defaultType) {\n    const node = createBaseNamedDeclaration(\n      167 /* TypeParameter */,\n      modifiers,\n      name\n    );\n    node.constraint = constraint;\n    node.default = defaultType;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypeParameterDeclaration2(node, modifiers, name, constraint, defaultType) {\n    return node.modifiers !== modifiers || node.name !== name || node.constraint !== constraint || node.default !== defaultType ? update(createTypeParameterDeclaration2(modifiers, name, constraint, defaultType), node) : node;\n  }\n  function createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n    const node = createBaseVariableLikeDeclaration(\n      168 /* Parameter */,\n      modifiers,\n      name,\n      type,\n      initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer)\n    );\n    node.dotDotDotToken = dotDotDotToken;\n    node.questionToken = questionToken;\n    if (isThisIdentifier(node.name)) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    } else {\n      node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateChildFlags(node.questionToken);\n      if (questionToken)\n        node.transformFlags |= 1 /* ContainsTypeScript */;\n      if (modifiersToFlags(node.modifiers) & 16476 /* ParameterPropertyModifier */)\n        node.transformFlags |= 8192 /* ContainsTypeScriptClassSyntax */;\n      if (initializer || dotDotDotToken)\n        node.transformFlags |= 1024 /* ContainsES2015 */;\n    }\n    return node;\n  }\n  function updateParameterDeclaration(node, modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n    return node.modifiers !== modifiers || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type || node.initializer !== initializer ? update(createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer), node) : node;\n  }\n  function createDecorator2(expression, annotationDeclaration) {\n    const node = createBaseNode(169 /* Decorator */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    node.annotationDeclaration = annotationDeclaration;\n    node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */ | 8192 /* ContainsTypeScriptClassSyntax */ | 33554432 /* ContainsDecorators */;\n    return node;\n  }\n  function updateDecorator2(node, expression, annotationDeclaration) {\n    return node.expression !== expression || node.annotationDeclaration !== annotationDeclaration ? update(createDecorator2(expression, annotationDeclaration), node) : node;\n  }\n  function updateIllegalDecorators(node, newIllegalDecorators) {\n    if (node.illegalDecorators === newIllegalDecorators) {\n      return node;\n    }\n    let updated;\n    switch (node.kind) {\n      case 263 /* FunctionDeclaration */:\n        updated = factory2.createFunctionDeclaration(\n          node.modifiers,\n          node.asteriskToken,\n          node.name,\n          node.typeParameters,\n          node.parameters,\n          node.type,\n          node.body\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 244 /* VariableStatement */:\n        updated = factory2.createVariableStatement(\n          node.modifiers,\n          node.declarationList\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 268 /* TypeAliasDeclaration */:\n        updated = factory2.createTypeAliasDeclaration(\n          node.modifiers,\n          node.name,\n          node.typeParameters,\n          node.type\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 170 /* PropertySignature */:\n        updated = factory2.createPropertySignature(\n          node.modifiers,\n          node.name,\n          node.questionToken,\n          node.type\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 173 /* MethodSignature */:\n        updated = factory2.createMethodSignature(\n          node.modifiers,\n          node.name,\n          node.questionToken,\n          node.typeParameters,\n          node.parameters,\n          node.type\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 270 /* ModuleDeclaration */:\n        updated = factory2.createModuleDeclaration(\n          node.modifiers,\n          node.name,\n          node.body,\n          node.flags\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 269 /* EnumDeclaration */:\n        updated = factory2.createEnumDeclaration(\n          node.modifiers,\n          node.name,\n          node.members\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      case 267 /* InterfaceDeclaration */:\n        updated = factory2.createInterfaceDeclaration(\n          node.modifiers,\n          node.name,\n          node.typeParameters,\n          node.heritageClauses,\n          node.members\n        );\n        updated.illegalDecorators = newIllegalDecorators;\n        return update(updated, node);\n      default:\n        return node;\n    }\n  }\n  function createPropertySignature3(modifiers, name, questionToken, type) {\n    const node = createBaseNamedDeclaration(\n      170 /* PropertySignature */,\n      modifiers,\n      name\n    );\n    node.type = type;\n    node.questionToken = questionToken;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    node.initializer = void 0;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updatePropertySignature3(node, modifiers, name, questionToken, type) {\n    return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.type !== type ? finishUpdatePropertySignature(createPropertySignature3(modifiers, name, questionToken, type), node) : node;\n  }\n  function finishUpdatePropertySignature(updated, original) {\n    if (updated !== original) {\n      updated.initializer = original.initializer;\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer) {\n    const node = createBaseVariableLikeDeclaration(\n      171 /* PropertyDeclaration */,\n      modifiers,\n      name,\n      type,\n      initializer\n    );\n    node.questionToken = questionOrExclamationToken && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0;\n    node.exclamationToken = questionOrExclamationToken && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0;\n    node.transformFlags |= propagateChildFlags(node.questionToken) | propagateChildFlags(node.exclamationToken) | 16777216 /* ContainsClassFields */;\n    if (isComputedPropertyName(node.name) || hasStaticModifier(node) && node.initializer) {\n      node.transformFlags |= 8192 /* ContainsTypeScriptClassSyntax */;\n    }\n    if (questionOrExclamationToken || modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updatePropertyDeclaration2(node, modifiers, name, questionOrExclamationToken, type, initializer) {\n    return node.modifiers !== modifiers || node.name !== name || node.questionToken !== (questionOrExclamationToken !== void 0 && isQuestionToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.exclamationToken !== (questionOrExclamationToken !== void 0 && isExclamationToken(questionOrExclamationToken) ? questionOrExclamationToken : void 0) || node.type !== type || node.initializer !== initializer ? update(createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer), node) : node;\n  }\n  function createAnnotationPropertyDeclaration(name, type, initializer) {\n    const node = createBaseVariableLikeDeclaration(\n      172 /* AnnotationPropertyDeclaration */,\n      void 0,\n      name,\n      type,\n      initializer\n    );\n    node.transformFlags |= 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateAnnotationPropertyDeclaration(node, name, type, initializer) {\n    return node.name !== name || node.type !== type || node.initializer !== initializer ? update(createAnnotationPropertyDeclaration(name, type, initializer), node) : node;\n  }\n  function createMethodSignature3(modifiers, name, questionToken, typeParameters, parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      173 /* MethodSignature */,\n      modifiers,\n      name,\n      typeParameters,\n      parameters,\n      type\n    );\n    node.questionToken = questionToken;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateMethodSignature3(node, modifiers, name, questionToken, typeParameters, parameters, type) {\n    return node.modifiers !== modifiers || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateMethodSignature(createMethodSignature3(modifiers, name, questionToken, typeParameters, parameters, type), node) : node;\n  }\n  function finishUpdateMethodSignature(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return finishUpdateBaseSignatureDeclaration(updated, original);\n  }\n  function createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      174 /* MethodDeclaration */,\n      modifiers,\n      name,\n      typeParameters,\n      parameters,\n      type,\n      body\n    );\n    node.asteriskToken = asteriskToken;\n    node.questionToken = questionToken;\n    node.transformFlags |= propagateChildFlags(node.asteriskToken) | propagateChildFlags(node.questionToken) | 1024 /* ContainsES2015 */;\n    if (questionToken) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    if (modifiersToFlags(node.modifiers) & 512 /* Async */) {\n      if (asteriskToken) {\n        node.transformFlags |= 128 /* ContainsES2018 */;\n      } else {\n        node.transformFlags |= 256 /* ContainsES2017 */;\n      }\n    } else if (asteriskToken) {\n      node.transformFlags |= 2048 /* ContainsGenerator */;\n    }\n    node.exclamationToken = void 0;\n    return node;\n  }\n  function updateMethodDeclaration(node, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n    return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.questionToken !== questionToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateMethodDeclaration(createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body), node) : node;\n  }\n  function finishUpdateMethodDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.exclamationToken = original.exclamationToken;\n    }\n    return update(updated, original);\n  }\n  function createClassStaticBlockDeclaration(body) {\n    const node = createBaseGenericNamedDeclaration(\n      175 /* ClassStaticBlockDeclaration */,\n      void 0,\n      void 0,\n      void 0\n    );\n    node.body = body;\n    node.transformFlags = propagateChildFlags(body) | 16777216 /* ContainsClassFields */;\n    node.illegalDecorators = void 0;\n    node.modifiers = void 0;\n    return node;\n  }\n  function updateClassStaticBlockDeclaration(node, body) {\n    return node.body !== body ? finishUpdateClassStaticBlockDeclaration(createClassStaticBlockDeclaration(body), node) : node;\n  }\n  function finishUpdateClassStaticBlockDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n      updated.modifiers = original.modifiers;\n    }\n    return update(updated, original);\n  }\n  function createConstructorDeclaration(modifiers, parameters, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      176 /* Constructor */,\n      modifiers,\n      void 0,\n      void 0,\n      parameters,\n      void 0,\n      body\n    );\n    node.transformFlags |= 1024 /* ContainsES2015 */;\n    node.illegalDecorators = void 0;\n    node.typeParameters = void 0;\n    node.type = void 0;\n    return node;\n  }\n  function updateConstructorDeclaration(node, modifiers, parameters, body) {\n    return node.modifiers !== modifiers || node.parameters !== parameters || node.body !== body ? finishUpdateConstructorDeclaration(createConstructorDeclaration(modifiers, parameters, body), node) : node;\n  }\n  function finishUpdateConstructorDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n      updated.typeParameters = original.typeParameters;\n      updated.type = original.type;\n    }\n    return finishUpdateBaseSignatureDeclaration(updated, original);\n  }\n  function createGetAccessorDeclaration(modifiers, name, parameters, type, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      177 /* GetAccessor */,\n      modifiers,\n      name,\n      void 0,\n      parameters,\n      type,\n      body\n    );\n    node.typeParameters = void 0;\n    return node;\n  }\n  function updateGetAccessorDeclaration(node, modifiers, name, parameters, type, body) {\n    return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateGetAccessorDeclaration(createGetAccessorDeclaration(modifiers, name, parameters, type, body), node) : node;\n  }\n  function finishUpdateGetAccessorDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.typeParameters = original.typeParameters;\n    }\n    return finishUpdateBaseSignatureDeclaration(updated, original);\n  }\n  function createSetAccessorDeclaration(modifiers, name, parameters, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      178 /* SetAccessor */,\n      modifiers,\n      name,\n      void 0,\n      parameters,\n      void 0,\n      body\n    );\n    node.typeParameters = void 0;\n    node.type = void 0;\n    return node;\n  }\n  function updateSetAccessorDeclaration(node, modifiers, name, parameters, body) {\n    return node.modifiers !== modifiers || node.name !== name || node.parameters !== parameters || node.body !== body ? finishUpdateSetAccessorDeclaration(createSetAccessorDeclaration(modifiers, name, parameters, body), node) : node;\n  }\n  function finishUpdateSetAccessorDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.typeParameters = original.typeParameters;\n      updated.type = original.type;\n    }\n    return finishUpdateBaseSignatureDeclaration(updated, original);\n  }\n  function createCallSignature2(typeParameters, parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      179 /* CallSignature */,\n      void 0,\n      void 0,\n      typeParameters,\n      parameters,\n      type\n    );\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateCallSignature2(node, typeParameters, parameters, type) {\n    return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createCallSignature2(typeParameters, parameters, type), node) : node;\n  }\n  function createConstructSignature2(typeParameters, parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      180 /* ConstructSignature */,\n      void 0,\n      void 0,\n      typeParameters,\n      parameters,\n      type\n    );\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateConstructSignature2(node, typeParameters, parameters, type) {\n    return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructSignature2(typeParameters, parameters, type), node) : node;\n  }\n  function createIndexSignature3(modifiers, parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      181 /* IndexSignature */,\n      modifiers,\n      void 0,\n      void 0,\n      parameters,\n      type\n    );\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateIndexSignature2(node, modifiers, parameters, type) {\n    return node.parameters !== parameters || node.type !== type || node.modifiers !== modifiers ? finishUpdateBaseSignatureDeclaration(createIndexSignature3(modifiers, parameters, type), node) : node;\n  }\n  function createTemplateLiteralTypeSpan(type, literal) {\n    const node = createBaseNode(204 /* TemplateLiteralTypeSpan */);\n    node.type = type;\n    node.literal = literal;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTemplateLiteralTypeSpan(node, type, literal) {\n    return node.type !== type || node.literal !== literal ? update(createTemplateLiteralTypeSpan(type, literal), node) : node;\n  }\n  function createKeywordTypeNode2(kind) {\n    return createToken3(kind);\n  }\n  function createTypePredicateNode3(assertsModifier, parameterName, type) {\n    const node = createBaseNode(182 /* TypePredicate */);\n    node.assertsModifier = assertsModifier;\n    node.parameterName = asName(parameterName);\n    node.type = type;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypePredicateNode3(node, assertsModifier, parameterName, type) {\n    return node.assertsModifier !== assertsModifier || node.parameterName !== parameterName || node.type !== type ? update(createTypePredicateNode3(assertsModifier, parameterName, type), node) : node;\n  }\n  function createTypeReferenceNode2(typeName, typeArguments) {\n    const node = createBaseNode(183 /* TypeReference */);\n    node.typeName = asName(typeName);\n    node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(createNodeArray2(typeArguments));\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypeReferenceNode2(node, typeName, typeArguments) {\n    return node.typeName !== typeName || node.typeArguments !== typeArguments ? update(createTypeReferenceNode2(typeName, typeArguments), node) : node;\n  }\n  function createFunctionTypeNode2(typeParameters, parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      184 /* FunctionType */,\n      void 0,\n      void 0,\n      typeParameters,\n      parameters,\n      type\n    );\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    node.modifiers = void 0;\n    return node;\n  }\n  function updateFunctionTypeNode2(node, typeParameters, parameters, type) {\n    return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateFunctionTypeNode(createFunctionTypeNode2(typeParameters, parameters, type), node) : node;\n  }\n  function finishUpdateFunctionTypeNode(updated, original) {\n    if (updated !== original) {\n      updated.modifiers = original.modifiers;\n    }\n    return finishUpdateBaseSignatureDeclaration(updated, original);\n  }\n  function createConstructorTypeNode2(...args) {\n    return args.length === 4 ? createConstructorTypeNode1(...args) : args.length === 3 ? createConstructorTypeNode22(...args) : Debug.fail(\"Incorrect number of arguments specified.\");\n  }\n  function createConstructorTypeNode1(modifiers, typeParameters, parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      185 /* ConstructorType */,\n      modifiers,\n      void 0,\n      typeParameters,\n      parameters,\n      type\n    );\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function createConstructorTypeNode22(typeParameters, parameters, type) {\n    return createConstructorTypeNode1(void 0, typeParameters, parameters, type);\n  }\n  function updateConstructorTypeNode2(...args) {\n    return args.length === 5 ? updateConstructorTypeNode1(...args) : args.length === 4 ? updateConstructorTypeNode22(...args) : Debug.fail(\"Incorrect number of arguments specified.\");\n  }\n  function updateConstructorTypeNode1(node, modifiers, typeParameters, parameters, type) {\n    return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? finishUpdateBaseSignatureDeclaration(createConstructorTypeNode2(modifiers, typeParameters, parameters, type), node) : node;\n  }\n  function updateConstructorTypeNode22(node, typeParameters, parameters, type) {\n    return updateConstructorTypeNode1(node, node.modifiers, typeParameters, parameters, type);\n  }\n  function createTypeQueryNode2(exprName, typeArguments) {\n    const node = createBaseNode(186 /* TypeQuery */);\n    node.exprName = exprName;\n    node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypeQueryNode2(node, exprName, typeArguments) {\n    return node.exprName !== exprName || node.typeArguments !== typeArguments ? update(createTypeQueryNode2(exprName, typeArguments), node) : node;\n  }\n  function createTypeLiteralNode2(members) {\n    const node = createBaseNode(187 /* TypeLiteral */);\n    node.members = createNodeArray2(members);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypeLiteralNode2(node, members) {\n    return node.members !== members ? update(createTypeLiteralNode2(members), node) : node;\n  }\n  function createArrayTypeNode2(elementType) {\n    const node = createBaseNode(188 /* ArrayType */);\n    node.elementType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(elementType);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateArrayTypeNode2(node, elementType) {\n    return node.elementType !== elementType ? update(createArrayTypeNode2(elementType), node) : node;\n  }\n  function createTupleTypeNode2(elements) {\n    const node = createBaseNode(189 /* TupleType */);\n    node.elements = createNodeArray2(parenthesizerRules().parenthesizeElementTypesOfTupleType(elements));\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTupleTypeNode2(node, elements) {\n    return node.elements !== elements ? update(createTupleTypeNode2(elements), node) : node;\n  }\n  function createNamedTupleMember(dotDotDotToken, name, questionToken, type) {\n    const node = createBaseNode(202 /* NamedTupleMember */);\n    node.dotDotDotToken = dotDotDotToken;\n    node.name = name;\n    node.questionToken = questionToken;\n    node.type = type;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateNamedTupleMember(node, dotDotDotToken, name, questionToken, type) {\n    return node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.questionToken !== questionToken || node.type !== type ? update(createNamedTupleMember(dotDotDotToken, name, questionToken, type), node) : node;\n  }\n  function createOptionalTypeNode2(type) {\n    const node = createBaseNode(190 /* OptionalType */);\n    node.type = parenthesizerRules().parenthesizeTypeOfOptionalType(type);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateOptionalTypeNode2(node, type) {\n    return node.type !== type ? update(createOptionalTypeNode2(type), node) : node;\n  }\n  function createRestTypeNode2(type) {\n    const node = createBaseNode(191 /* RestType */);\n    node.type = type;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateRestTypeNode2(node, type) {\n    return node.type !== type ? update(createRestTypeNode2(type), node) : node;\n  }\n  function createUnionOrIntersectionTypeNode(kind, types, parenthesize) {\n    const node = createBaseNode(kind);\n    node.types = factory2.createNodeArray(parenthesize(types));\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateUnionOrIntersectionTypeNode(node, types, parenthesize) {\n    return node.types !== types ? update(createUnionOrIntersectionTypeNode(node.kind, types, parenthesize), node) : node;\n  }\n  function createUnionTypeNode2(types) {\n    return createUnionOrIntersectionTypeNode(192 /* UnionType */, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType);\n  }\n  function updateUnionTypeNode2(node, types) {\n    return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfUnionType);\n  }\n  function createIntersectionTypeNode2(types) {\n    return createUnionOrIntersectionTypeNode(193 /* IntersectionType */, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType);\n  }\n  function updateIntersectionTypeNode2(node, types) {\n    return updateUnionOrIntersectionTypeNode(node, types, parenthesizerRules().parenthesizeConstituentTypesOfIntersectionType);\n  }\n  function createConditionalTypeNode2(checkType, extendsType, trueType, falseType) {\n    const node = createBaseNode(194 /* ConditionalType */);\n    node.checkType = parenthesizerRules().parenthesizeCheckTypeOfConditionalType(checkType);\n    node.extendsType = parenthesizerRules().parenthesizeExtendsTypeOfConditionalType(extendsType);\n    node.trueType = trueType;\n    node.falseType = falseType;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateConditionalTypeNode2(node, checkType, extendsType, trueType, falseType) {\n    return node.checkType !== checkType || node.extendsType !== extendsType || node.trueType !== trueType || node.falseType !== falseType ? update(createConditionalTypeNode2(checkType, extendsType, trueType, falseType), node) : node;\n  }\n  function createInferTypeNode2(typeParameter) {\n    const node = createBaseNode(195 /* InferType */);\n    node.typeParameter = typeParameter;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateInferTypeNode2(node, typeParameter) {\n    return node.typeParameter !== typeParameter ? update(createInferTypeNode2(typeParameter), node) : node;\n  }\n  function createTemplateLiteralType(head, templateSpans) {\n    const node = createBaseNode(203 /* TemplateLiteralType */);\n    node.head = head;\n    node.templateSpans = createNodeArray2(templateSpans);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTemplateLiteralType(node, head, templateSpans) {\n    return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateLiteralType(head, templateSpans), node) : node;\n  }\n  function createImportTypeNode2(argument, assertions, qualifier, typeArguments, isTypeOf = false) {\n    const node = createBaseNode(205 /* ImportType */);\n    node.argument = argument;\n    node.assertions = assertions;\n    node.qualifier = qualifier;\n    node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments);\n    node.isTypeOf = isTypeOf;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateImportTypeNode2(node, argument, assertions, qualifier, typeArguments, isTypeOf = node.isTypeOf) {\n    return node.argument !== argument || node.assertions !== assertions || node.qualifier !== qualifier || node.typeArguments !== typeArguments || node.isTypeOf !== isTypeOf ? update(createImportTypeNode2(argument, assertions, qualifier, typeArguments, isTypeOf), node) : node;\n  }\n  function createParenthesizedType2(type) {\n    const node = createBaseNode(196 /* ParenthesizedType */);\n    node.type = type;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateParenthesizedType2(node, type) {\n    return node.type !== type ? update(createParenthesizedType2(type), node) : node;\n  }\n  function createThisTypeNode2() {\n    const node = createBaseNode(197 /* ThisType */);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function createTypeOperatorNode3(operator, type) {\n    const node = createBaseNode(198 /* TypeOperator */);\n    node.operator = operator;\n    node.type = operator === 147 /* ReadonlyKeyword */ ? parenthesizerRules().parenthesizeOperandOfReadonlyTypeOperator(type) : parenthesizerRules().parenthesizeOperandOfTypeOperator(type);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypeOperatorNode2(node, type) {\n    return node.type !== type ? update(createTypeOperatorNode3(node.operator, type), node) : node;\n  }\n  function createIndexedAccessTypeNode2(objectType, indexType) {\n    const node = createBaseNode(199 /* IndexedAccessType */);\n    node.objectType = parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(objectType);\n    node.indexType = indexType;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateIndexedAccessTypeNode2(node, objectType, indexType) {\n    return node.objectType !== objectType || node.indexType !== indexType ? update(createIndexedAccessTypeNode2(objectType, indexType), node) : node;\n  }\n  function createMappedTypeNode2(readonlyToken, typeParameter, nameType, questionToken, type, members) {\n    const node = createBaseNode(200 /* MappedType */);\n    node.readonlyToken = readonlyToken;\n    node.typeParameter = typeParameter;\n    node.nameType = nameType;\n    node.questionToken = questionToken;\n    node.type = type;\n    node.members = members && createNodeArray2(members);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateMappedTypeNode2(node, readonlyToken, typeParameter, nameType, questionToken, type, members) {\n    return node.readonlyToken !== readonlyToken || node.typeParameter !== typeParameter || node.nameType !== nameType || node.questionToken !== questionToken || node.type !== type || node.members !== members ? update(createMappedTypeNode2(readonlyToken, typeParameter, nameType, questionToken, type, members), node) : node;\n  }\n  function createLiteralTypeNode2(literal) {\n    const node = createBaseNode(201 /* LiteralType */);\n    node.literal = literal;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateLiteralTypeNode2(node, literal) {\n    return node.literal !== literal ? update(createLiteralTypeNode2(literal), node) : node;\n  }\n  function createObjectBindingPattern2(elements) {\n    const node = createBaseNode(206 /* ObjectBindingPattern */);\n    node.elements = createNodeArray2(elements);\n    node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 /* ContainsES2015 */ | 524288 /* ContainsBindingPattern */;\n    if (node.transformFlags & 32768 /* ContainsRestOrSpread */) {\n      node.transformFlags |= 128 /* ContainsES2018 */ | 65536 /* ContainsObjectRestOrSpread */;\n    }\n    return node;\n  }\n  function updateObjectBindingPattern2(node, elements) {\n    return node.elements !== elements ? update(createObjectBindingPattern2(elements), node) : node;\n  }\n  function createArrayBindingPattern2(elements) {\n    const node = createBaseNode(207 /* ArrayBindingPattern */);\n    node.elements = createNodeArray2(elements);\n    node.transformFlags |= propagateChildrenFlags(node.elements) | 1024 /* ContainsES2015 */ | 524288 /* ContainsBindingPattern */;\n    return node;\n  }\n  function updateArrayBindingPattern2(node, elements) {\n    return node.elements !== elements ? update(createArrayBindingPattern2(elements), node) : node;\n  }\n  function createBindingElement2(dotDotDotToken, propertyName, name, initializer) {\n    const node = createBaseBindingLikeDeclaration(\n      208 /* BindingElement */,\n      void 0,\n      name,\n      initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer)\n    );\n    node.propertyName = asName(propertyName);\n    node.dotDotDotToken = dotDotDotToken;\n    node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | 1024 /* ContainsES2015 */;\n    if (node.propertyName) {\n      node.transformFlags |= isIdentifier(node.propertyName) ? propagateIdentifierNameFlags(node.propertyName) : propagateChildFlags(node.propertyName);\n    }\n    if (dotDotDotToken)\n      node.transformFlags |= 32768 /* ContainsRestOrSpread */;\n    return node;\n  }\n  function updateBindingElement2(node, dotDotDotToken, propertyName, name, initializer) {\n    return node.propertyName !== propertyName || node.dotDotDotToken !== dotDotDotToken || node.name !== name || node.initializer !== initializer ? update(createBindingElement2(dotDotDotToken, propertyName, name, initializer), node) : node;\n  }\n  function createBaseExpression(kind) {\n    const node = createBaseNode(kind);\n    return node;\n  }\n  function createArrayLiteralExpression(elements, multiLine) {\n    const node = createBaseExpression(209 /* ArrayLiteralExpression */);\n    const lastElement = elements && lastOrUndefined(elements);\n    const elementsArray = createNodeArray2(elements, lastElement && isOmittedExpression(lastElement) ? true : void 0);\n    node.elements = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(elementsArray);\n    node.multiLine = multiLine;\n    node.transformFlags |= propagateChildrenFlags(node.elements);\n    return node;\n  }\n  function updateArrayLiteralExpression(node, elements) {\n    return node.elements !== elements ? update(createArrayLiteralExpression(elements, node.multiLine), node) : node;\n  }\n  function createObjectLiteralExpression(properties, multiLine) {\n    const node = createBaseExpression(210 /* ObjectLiteralExpression */);\n    node.properties = createNodeArray2(properties);\n    node.multiLine = multiLine;\n    node.transformFlags |= propagateChildrenFlags(node.properties);\n    return node;\n  }\n  function updateObjectLiteralExpression(node, properties) {\n    return node.properties !== properties ? update(createObjectLiteralExpression(properties, node.multiLine), node) : node;\n  }\n  function createPropertyAccessExpression(expression, name) {\n    const node = createBaseExpression(211 /* PropertyAccessExpression */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    node.name = asName(name);\n    node.transformFlags = propagateChildFlags(node.expression) | (isIdentifier(node.name) ? propagateIdentifierNameFlags(node.name) : propagateChildFlags(node.name) | 536870912 /* ContainsPrivateIdentifierInExpression */);\n    if (isSuperKeyword(expression)) {\n      node.transformFlags |= 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */;\n    }\n    return node;\n  }\n  function updatePropertyAccessExpression(node, expression, name) {\n    if (isPropertyAccessChain(node)) {\n      return updatePropertyAccessChain2(node, expression, node.questionDotToken, cast(name, isIdentifier));\n    }\n    return node.expression !== expression || node.name !== name ? update(createPropertyAccessExpression(expression, name), node) : node;\n  }\n  function createPropertyAccessChain2(expression, questionDotToken, name) {\n    const node = createBaseExpression(211 /* PropertyAccessExpression */);\n    node.flags |= 32 /* OptionalChain */;\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, true);\n    node.questionDotToken = questionDotToken;\n    node.name = asName(name);\n    node.transformFlags |= 32 /* ContainsES2020 */ | propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | (isIdentifier(node.name) ? propagateIdentifierNameFlags(node.name) : propagateChildFlags(node.name) | 536870912 /* ContainsPrivateIdentifierInExpression */);\n    return node;\n  }\n  function updatePropertyAccessChain2(node, expression, questionDotToken, name) {\n    Debug.assert(!!(node.flags & 32 /* OptionalChain */), \"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead.\");\n    return node.expression !== expression || node.questionDotToken !== questionDotToken || node.name !== name ? update(createPropertyAccessChain2(expression, questionDotToken, name), node) : node;\n  }\n  function createElementAccessExpression(expression, index) {\n    const node = createBaseExpression(212 /* ElementAccessExpression */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    node.argumentExpression = asExpression(index);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.argumentExpression);\n    if (isSuperKeyword(expression)) {\n      node.transformFlags |= 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */;\n    }\n    return node;\n  }\n  function updateElementAccessExpression(node, expression, argumentExpression) {\n    if (isElementAccessChain(node)) {\n      return updateElementAccessChain2(node, expression, node.questionDotToken, argumentExpression);\n    }\n    return node.expression !== expression || node.argumentExpression !== argumentExpression ? update(createElementAccessExpression(expression, argumentExpression), node) : node;\n  }\n  function createElementAccessChain2(expression, questionDotToken, index) {\n    const node = createBaseExpression(212 /* ElementAccessExpression */);\n    node.flags |= 32 /* OptionalChain */;\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, true);\n    node.questionDotToken = questionDotToken;\n    node.argumentExpression = asExpression(index);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildFlags(node.argumentExpression) | 32 /* ContainsES2020 */;\n    return node;\n  }\n  function updateElementAccessChain2(node, expression, questionDotToken, argumentExpression) {\n    Debug.assert(!!(node.flags & 32 /* OptionalChain */), \"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead.\");\n    return node.expression !== expression || node.questionDotToken !== questionDotToken || node.argumentExpression !== argumentExpression ? update(createElementAccessChain2(expression, questionDotToken, argumentExpression), node) : node;\n  }\n  function createCallExpression(expression, typeArguments, argumentsArray) {\n    const node = createBaseExpression(213 /* CallExpression */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    node.typeArguments = asNodeArray(typeArguments);\n    node.arguments = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray2(argumentsArray));\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments);\n    if (node.typeArguments) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    if (isImportKeyword(node.expression)) {\n      node.transformFlags |= 8388608 /* ContainsDynamicImport */;\n    } else if (isSuperProperty(node.expression)) {\n      node.transformFlags |= 16384 /* ContainsLexicalThis */;\n    }\n    return node;\n  }\n  function updateCallExpression(node, expression, typeArguments, argumentsArray) {\n    if (isCallChain(node)) {\n      return updateCallChain2(node, expression, node.questionDotToken, typeArguments, argumentsArray);\n    }\n    return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallExpression(expression, typeArguments, argumentsArray), node) : node;\n  }\n  function createCallChain2(expression, questionDotToken, typeArguments, argumentsArray) {\n    const node = createBaseExpression(213 /* CallExpression */);\n    node.flags |= 32 /* OptionalChain */;\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, true);\n    node.questionDotToken = questionDotToken;\n    node.typeArguments = asNodeArray(typeArguments);\n    node.arguments = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray2(argumentsArray));\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.questionDotToken) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments) | 32 /* ContainsES2020 */;\n    if (node.typeArguments) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    if (isSuperProperty(node.expression)) {\n      node.transformFlags |= 16384 /* ContainsLexicalThis */;\n    }\n    return node;\n  }\n  function updateCallChain2(node, expression, questionDotToken, typeArguments, argumentsArray) {\n    Debug.assert(!!(node.flags & 32 /* OptionalChain */), \"Cannot update a CallExpression using updateCallChain. Use updateCall instead.\");\n    return node.expression !== expression || node.questionDotToken !== questionDotToken || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createCallChain2(expression, questionDotToken, typeArguments, argumentsArray), node) : node;\n  }\n  function createNewExpression(expression, typeArguments, argumentsArray) {\n    const node = createBaseExpression(214 /* NewExpression */);\n    node.expression = parenthesizerRules().parenthesizeExpressionOfNew(expression);\n    node.typeArguments = asNodeArray(typeArguments);\n    node.arguments = argumentsArray ? parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(argumentsArray) : void 0;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | propagateChildrenFlags(node.arguments) | 32 /* ContainsES2020 */;\n    if (node.typeArguments) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updateNewExpression(node, expression, typeArguments, argumentsArray) {\n    return node.expression !== expression || node.typeArguments !== typeArguments || node.arguments !== argumentsArray ? update(createNewExpression(expression, typeArguments, argumentsArray), node) : node;\n  }\n  function createTaggedTemplateExpression(tag, typeArguments, template) {\n    const node = createBaseExpression(215 /* TaggedTemplateExpression */);\n    node.tag = parenthesizerRules().parenthesizeLeftSideOfAccess(tag, false);\n    node.typeArguments = asNodeArray(typeArguments);\n    node.template = template;\n    node.transformFlags |= propagateChildFlags(node.tag) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.template) | 1024 /* ContainsES2015 */;\n    if (node.typeArguments) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    if (hasInvalidEscape(node.template)) {\n      node.transformFlags |= 128 /* ContainsES2018 */;\n    }\n    return node;\n  }\n  function updateTaggedTemplateExpression(node, tag, typeArguments, template) {\n    return node.tag !== tag || node.typeArguments !== typeArguments || node.template !== template ? update(createTaggedTemplateExpression(tag, typeArguments, template), node) : node;\n  }\n  function createTypeAssertion2(type, expression) {\n    const node = createBaseExpression(216 /* TypeAssertionExpression */);\n    node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n    node.type = type;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateTypeAssertion2(node, type, expression) {\n    return node.type !== type || node.expression !== expression ? update(createTypeAssertion2(type, expression), node) : node;\n  }\n  function createParenthesizedExpression(expression) {\n    const node = createBaseExpression(217 /* ParenthesizedExpression */);\n    node.expression = expression;\n    node.transformFlags = propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateParenthesizedExpression(node, expression) {\n    return node.expression !== expression ? update(createParenthesizedExpression(expression), node) : node;\n  }\n  function createFunctionExpression2(modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      218 /* FunctionExpression */,\n      modifiers,\n      name,\n      typeParameters,\n      parameters,\n      type,\n      body\n    );\n    node.asteriskToken = asteriskToken;\n    node.transformFlags |= propagateChildFlags(node.asteriskToken);\n    if (node.typeParameters) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    if (modifiersToFlags(node.modifiers) & 512 /* Async */) {\n      if (node.asteriskToken) {\n        node.transformFlags |= 128 /* ContainsES2018 */;\n      } else {\n        node.transformFlags |= 256 /* ContainsES2017 */;\n      }\n    } else if (node.asteriskToken) {\n      node.transformFlags |= 2048 /* ContainsGenerator */;\n    }\n    return node;\n  }\n  function updateFunctionExpression2(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n    return node.name !== name || node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateBaseSignatureDeclaration(createFunctionExpression2(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node;\n  }\n  function createEtsComponentExpression(name, argumentsArray, body) {\n    const node = createBaseExpression(220 /* EtsComponentExpression */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(name);\n    node.arguments = parenthesizerRules().parenthesizeExpressionsOfCommaDelimitedList(createNodeArray2(argumentsArray));\n    node.body = body;\n    return node;\n  }\n  function updateEtsComponentExpression(node, name, argumentsArray, body) {\n    return node.expression !== name || node.arguments !== argumentsArray || node.body !== body ? createEtsComponentExpression(name, argumentsArray, body) : node;\n  }\n  function createArrowFunction3(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      219 /* ArrowFunction */,\n      modifiers,\n      void 0,\n      typeParameters,\n      parameters,\n      type,\n      parenthesizerRules().parenthesizeConciseBodyOfArrowFunction(body)\n    );\n    node.equalsGreaterThanToken = equalsGreaterThanToken != null ? equalsGreaterThanToken : createToken3(38 /* EqualsGreaterThanToken */);\n    node.transformFlags |= propagateChildFlags(node.equalsGreaterThanToken) | 1024 /* ContainsES2015 */;\n    if (modifiersToFlags(node.modifiers) & 512 /* Async */) {\n      node.transformFlags |= 256 /* ContainsES2017 */ | 16384 /* ContainsLexicalThis */;\n    }\n    return node;\n  }\n  function updateArrowFunction3(node, modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body) {\n    return node.modifiers !== modifiers || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.equalsGreaterThanToken !== equalsGreaterThanToken || node.body !== body ? finishUpdateBaseSignatureDeclaration(createArrowFunction3(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body), node) : node;\n  }\n  function createDeleteExpression(expression) {\n    const node = createBaseExpression(221 /* DeleteExpression */);\n    node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n    node.transformFlags |= propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateDeleteExpression(node, expression) {\n    return node.expression !== expression ? update(createDeleteExpression(expression), node) : node;\n  }\n  function createTypeOfExpression(expression) {\n    const node = createBaseExpression(222 /* TypeOfExpression */);\n    node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n    node.transformFlags |= propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateTypeOfExpression(node, expression) {\n    return node.expression !== expression ? update(createTypeOfExpression(expression), node) : node;\n  }\n  function createVoidExpression(expression) {\n    const node = createBaseExpression(223 /* VoidExpression */);\n    node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n    node.transformFlags |= propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateVoidExpression(node, expression) {\n    return node.expression !== expression ? update(createVoidExpression(expression), node) : node;\n  }\n  function createAwaitExpression(expression) {\n    const node = createBaseExpression(224 /* AwaitExpression */);\n    node.expression = parenthesizerRules().parenthesizeOperandOfPrefixUnary(expression);\n    node.transformFlags |= propagateChildFlags(node.expression) | 256 /* ContainsES2017 */ | 128 /* ContainsES2018 */ | 2097152 /* ContainsAwait */;\n    return node;\n  }\n  function updateAwaitExpression(node, expression) {\n    return node.expression !== expression ? update(createAwaitExpression(expression), node) : node;\n  }\n  function createPrefixUnaryExpression(operator, operand) {\n    const node = createBaseExpression(225 /* PrefixUnaryExpression */);\n    node.operator = operator;\n    node.operand = parenthesizerRules().parenthesizeOperandOfPrefixUnary(operand);\n    node.transformFlags |= propagateChildFlags(node.operand);\n    if ((operator === 45 /* PlusPlusToken */ || operator === 46 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) {\n      node.transformFlags |= 268435456 /* ContainsUpdateExpressionForIdentifier */;\n    }\n    return node;\n  }\n  function updatePrefixUnaryExpression(node, operand) {\n    return node.operand !== operand ? update(createPrefixUnaryExpression(node.operator, operand), node) : node;\n  }\n  function createPostfixUnaryExpression(operand, operator) {\n    const node = createBaseExpression(226 /* PostfixUnaryExpression */);\n    node.operator = operator;\n    node.operand = parenthesizerRules().parenthesizeOperandOfPostfixUnary(operand);\n    node.transformFlags |= propagateChildFlags(node.operand);\n    if (isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand)) {\n      node.transformFlags |= 268435456 /* ContainsUpdateExpressionForIdentifier */;\n    }\n    return node;\n  }\n  function updatePostfixUnaryExpression(node, operand) {\n    return node.operand !== operand ? update(createPostfixUnaryExpression(operand, node.operator), node) : node;\n  }\n  function createBinaryExpression(left, operator, right) {\n    const node = createBaseExpression(227 /* BinaryExpression */);\n    const operatorToken = asToken(operator);\n    const operatorKind = operatorToken.kind;\n    node.left = parenthesizerRules().parenthesizeLeftSideOfBinary(operatorKind, left);\n    node.operatorToken = operatorToken;\n    node.right = parenthesizerRules().parenthesizeRightSideOfBinary(operatorKind, node.left, right);\n    node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.operatorToken) | propagateChildFlags(node.right);\n    if (operatorKind === 60 /* QuestionQuestionToken */) {\n      node.transformFlags |= 32 /* ContainsES2020 */;\n    } else if (operatorKind === 63 /* EqualsToken */) {\n      if (isObjectLiteralExpression(node.left)) {\n        node.transformFlags |= 1024 /* ContainsES2015 */ | 128 /* ContainsES2018 */ | 4096 /* ContainsDestructuringAssignment */ | propagateAssignmentPatternFlags(node.left);\n      } else if (isArrayLiteralExpression(node.left)) {\n        node.transformFlags |= 1024 /* ContainsES2015 */ | 4096 /* ContainsDestructuringAssignment */ | propagateAssignmentPatternFlags(node.left);\n      }\n    } else if (operatorKind === 42 /* AsteriskAsteriskToken */ || operatorKind === 67 /* AsteriskAsteriskEqualsToken */) {\n      node.transformFlags |= 512 /* ContainsES2016 */;\n    } else if (isLogicalOrCoalescingAssignmentOperator(operatorKind)) {\n      node.transformFlags |= 16 /* ContainsES2021 */;\n    }\n    if (operatorKind === 102 /* InKeyword */ && isPrivateIdentifier(node.left)) {\n      node.transformFlags |= 536870912 /* ContainsPrivateIdentifierInExpression */;\n    }\n    return node;\n  }\n  function propagateAssignmentPatternFlags(node) {\n    if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */)\n      return 65536 /* ContainsObjectRestOrSpread */;\n    if (node.transformFlags & 128 /* ContainsES2018 */) {\n      for (const element of getElementsOfBindingOrAssignmentPattern(node)) {\n        const target = getTargetOfBindingOrAssignmentElement(element);\n        if (target && isAssignmentPattern(target)) {\n          if (target.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n            return 65536 /* ContainsObjectRestOrSpread */;\n          }\n          if (target.transformFlags & 128 /* ContainsES2018 */) {\n            const flags2 = propagateAssignmentPatternFlags(target);\n            if (flags2)\n              return flags2;\n          }\n        }\n      }\n    }\n    return 0 /* None */;\n  }\n  function updateBinaryExpression(node, left, operator, right) {\n    return node.left !== left || node.operatorToken !== operator || node.right !== right ? update(createBinaryExpression(left, operator, right), node) : node;\n  }\n  function createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse) {\n    const node = createBaseExpression(228 /* ConditionalExpression */);\n    node.condition = parenthesizerRules().parenthesizeConditionOfConditionalExpression(condition);\n    node.questionToken = questionToken != null ? questionToken : createToken3(57 /* QuestionToken */);\n    node.whenTrue = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenTrue);\n    node.colonToken = colonToken != null ? colonToken : createToken3(58 /* ColonToken */);\n    node.whenFalse = parenthesizerRules().parenthesizeBranchOfConditionalExpression(whenFalse);\n    node.transformFlags |= propagateChildFlags(node.condition) | propagateChildFlags(node.questionToken) | propagateChildFlags(node.whenTrue) | propagateChildFlags(node.colonToken) | propagateChildFlags(node.whenFalse);\n    return node;\n  }\n  function updateConditionalExpression(node, condition, questionToken, whenTrue, colonToken, whenFalse) {\n    return node.condition !== condition || node.questionToken !== questionToken || node.whenTrue !== whenTrue || node.colonToken !== colonToken || node.whenFalse !== whenFalse ? update(createConditionalExpression(condition, questionToken, whenTrue, colonToken, whenFalse), node) : node;\n  }\n  function createTemplateExpression2(head, templateSpans) {\n    const node = createBaseExpression(229 /* TemplateExpression */);\n    node.head = head;\n    node.templateSpans = createNodeArray2(templateSpans);\n    node.transformFlags |= propagateChildFlags(node.head) | propagateChildrenFlags(node.templateSpans) | 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function updateTemplateExpression2(node, head, templateSpans) {\n    return node.head !== head || node.templateSpans !== templateSpans ? update(createTemplateExpression2(head, templateSpans), node) : node;\n  }\n  function createTemplateLiteralLikeNodeChecked(kind, text, rawText, templateFlags = 0 /* None */) {\n    Debug.assert(!(templateFlags & ~2048 /* TemplateLiteralLikeFlags */), \"Unsupported template flags.\");\n    let cooked = void 0;\n    if (rawText !== void 0 && rawText !== text) {\n      cooked = getCookedText(kind, rawText);\n      if (typeof cooked === \"object\") {\n        return Debug.fail(\"Invalid raw text\");\n      }\n    }\n    if (text === void 0) {\n      if (cooked === void 0) {\n        return Debug.fail(\"Arguments 'text' and 'rawText' may not both be undefined.\");\n      }\n      text = cooked;\n    } else if (cooked !== void 0) {\n      Debug.assert(text === cooked, \"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.\");\n    }\n    return createTemplateLiteralLikeNode(kind, text, rawText, templateFlags);\n  }\n  function createTemplateLiteralLikeNode(kind, text, rawText, templateFlags) {\n    const node = createBaseToken(kind);\n    node.text = text;\n    node.rawText = rawText;\n    node.templateFlags = templateFlags & 2048 /* TemplateLiteralLikeFlags */;\n    node.transformFlags |= 1024 /* ContainsES2015 */;\n    if (node.templateFlags) {\n      node.transformFlags |= 128 /* ContainsES2018 */;\n    }\n    return node;\n  }\n  function createTemplateHead2(text, rawText, templateFlags) {\n    return createTemplateLiteralLikeNodeChecked(15 /* TemplateHead */, text, rawText, templateFlags);\n  }\n  function createTemplateMiddle2(text, rawText, templateFlags) {\n    return createTemplateLiteralLikeNodeChecked(16 /* TemplateMiddle */, text, rawText, templateFlags);\n  }\n  function createTemplateTail2(text, rawText, templateFlags) {\n    return createTemplateLiteralLikeNodeChecked(17 /* TemplateTail */, text, rawText, templateFlags);\n  }\n  function createNoSubstitutionTemplateLiteral2(text, rawText, templateFlags) {\n    return createTemplateLiteralLikeNodeChecked(14 /* NoSubstitutionTemplateLiteral */, text, rawText, templateFlags);\n  }\n  function createYieldExpression(asteriskToken, expression) {\n    Debug.assert(!asteriskToken || !!expression, \"A `YieldExpression` with an asteriskToken must have an expression.\");\n    const node = createBaseExpression(230 /* YieldExpression */);\n    node.expression = expression && parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n    node.asteriskToken = asteriskToken;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.asteriskToken) | 1024 /* ContainsES2015 */ | 128 /* ContainsES2018 */ | 1048576 /* ContainsYield */;\n    return node;\n  }\n  function updateYieldExpression(node, asteriskToken, expression) {\n    return node.expression !== expression || node.asteriskToken !== asteriskToken ? update(createYieldExpression(asteriskToken, expression), node) : node;\n  }\n  function createSpreadElement(expression) {\n    const node = createBaseExpression(231 /* SpreadElement */);\n    node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n    node.transformFlags |= propagateChildFlags(node.expression) | 1024 /* ContainsES2015 */ | 32768 /* ContainsRestOrSpread */;\n    return node;\n  }\n  function updateSpreadElement(node, expression) {\n    return node.expression !== expression ? update(createSpreadElement(expression), node) : node;\n  }\n  function createClassExpression3(modifiers, name, typeParameters, heritageClauses, members) {\n    const node = createBaseClassLikeDeclaration(\n      232 /* ClassExpression */,\n      modifiers,\n      name,\n      typeParameters,\n      heritageClauses,\n      members\n    );\n    node.transformFlags |= 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function updateClassExpression3(node, modifiers, name, typeParameters, heritageClauses, members) {\n    return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassExpression3(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n  }\n  function createOmittedExpression2() {\n    return createBaseExpression(233 /* OmittedExpression */);\n  }\n  function createExpressionWithTypeArguments3(expression, typeArguments) {\n    const node = createBaseNode(234 /* ExpressionWithTypeArguments */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    node.typeArguments = typeArguments && parenthesizerRules().parenthesizeTypeArguments(typeArguments);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.typeArguments) | 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function updateExpressionWithTypeArguments3(node, expression, typeArguments) {\n    return node.expression !== expression || node.typeArguments !== typeArguments ? update(createExpressionWithTypeArguments3(expression, typeArguments), node) : node;\n  }\n  function createAsExpression2(expression, type) {\n    const node = createBaseExpression(235 /* AsExpression */);\n    node.expression = expression;\n    node.type = type;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateAsExpression2(node, expression, type) {\n    return node.expression !== expression || node.type !== type ? update(createAsExpression2(expression, type), node) : node;\n  }\n  function createNonNullExpression2(expression) {\n    const node = createBaseExpression(236 /* NonNullExpression */);\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateNonNullExpression2(node, expression) {\n    if (isNonNullChain(node)) {\n      return updateNonNullChain2(node, expression);\n    }\n    return node.expression !== expression ? update(createNonNullExpression2(expression), node) : node;\n  }\n  function createSatisfiesExpression(expression, type) {\n    const node = createBaseExpression(239 /* SatisfiesExpression */);\n    node.expression = expression;\n    node.type = type;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.type) | 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateSatisfiesExpression(node, expression, type) {\n    return node.expression !== expression || node.type !== type ? update(createSatisfiesExpression(expression, type), node) : node;\n  }\n  function createNonNullChain2(expression) {\n    const node = createBaseExpression(236 /* NonNullExpression */);\n    node.flags |= 32 /* OptionalChain */;\n    node.expression = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, true);\n    node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateNonNullChain2(node, expression) {\n    Debug.assert(!!(node.flags & 32 /* OptionalChain */), \"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead.\");\n    return node.expression !== expression ? update(createNonNullChain2(expression), node) : node;\n  }\n  function createMetaProperty2(keywordToken, name) {\n    const node = createBaseExpression(237 /* MetaProperty */);\n    node.keywordToken = keywordToken;\n    node.name = name;\n    node.transformFlags |= propagateChildFlags(node.name);\n    switch (keywordToken) {\n      case 104 /* NewKeyword */:\n        node.transformFlags |= 1024 /* ContainsES2015 */;\n        break;\n      case 101 /* ImportKeyword */:\n        node.transformFlags |= 4 /* ContainsESNext */;\n        break;\n      default:\n        return Debug.assertNever(keywordToken);\n    }\n    return node;\n  }\n  function updateMetaProperty2(node, name) {\n    return node.name !== name ? update(createMetaProperty2(node.keywordToken, name), node) : node;\n  }\n  function createTemplateSpan2(expression, literal) {\n    const node = createBaseNode(240 /* TemplateSpan */);\n    node.expression = expression;\n    node.literal = literal;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.literal) | 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function updateTemplateSpan2(node, expression, literal) {\n    return node.expression !== expression || node.literal !== literal ? update(createTemplateSpan2(expression, literal), node) : node;\n  }\n  function createSemicolonClassElement2() {\n    const node = createBaseNode(241 /* SemicolonClassElement */);\n    node.transformFlags |= 1024 /* ContainsES2015 */;\n    return node;\n  }\n  function createBlock2(statements, multiLine) {\n    const node = createBaseNode(242 /* Block */);\n    node.statements = createNodeArray2(statements);\n    node.multiLine = multiLine;\n    node.transformFlags |= propagateChildrenFlags(node.statements);\n    return node;\n  }\n  function updateBlock2(node, statements) {\n    return node.statements !== statements ? update(createBlock2(statements, node.multiLine), node) : node;\n  }\n  function createVariableStatement2(modifiers, declarationList) {\n    const node = createBaseDeclaration(244 /* VariableStatement */);\n    node.modifiers = asNodeArray(modifiers);\n    node.declarationList = isArray(declarationList) ? createVariableDeclarationList2(declarationList) : declarationList;\n    node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.declarationList);\n    if (modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updateVariableStatement2(node, modifiers, declarationList) {\n    return node.modifiers !== modifiers || node.declarationList !== declarationList ? update(createVariableStatement2(modifiers, declarationList), node) : node;\n  }\n  function createEmptyStatement2() {\n    return createBaseNode(243 /* EmptyStatement */);\n  }\n  function createExpressionStatement2(expression) {\n    const node = createBaseNode(245 /* ExpressionStatement */);\n    node.expression = parenthesizerRules().parenthesizeExpressionOfExpressionStatement(expression);\n    node.transformFlags |= propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateExpressionStatement2(node, expression) {\n    return node.expression !== expression ? update(createExpressionStatement2(expression), node) : node;\n  }\n  function createIfStatement(expression, thenStatement, elseStatement) {\n    const node = createBaseNode(246 /* IfStatement */);\n    node.expression = expression;\n    node.thenStatement = asEmbeddedStatement(thenStatement);\n    node.elseStatement = asEmbeddedStatement(elseStatement);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thenStatement) | propagateChildFlags(node.elseStatement);\n    return node;\n  }\n  function updateIfStatement(node, expression, thenStatement, elseStatement) {\n    return node.expression !== expression || node.thenStatement !== thenStatement || node.elseStatement !== elseStatement ? update(createIfStatement(expression, thenStatement, elseStatement), node) : node;\n  }\n  function createDoStatement(statement, expression) {\n    const node = createBaseNode(247 /* DoStatement */);\n    node.statement = asEmbeddedStatement(statement);\n    node.expression = expression;\n    node.transformFlags |= propagateChildFlags(node.statement) | propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateDoStatement(node, statement, expression) {\n    return node.statement !== statement || node.expression !== expression ? update(createDoStatement(statement, expression), node) : node;\n  }\n  function createWhileStatement(expression, statement) {\n    const node = createBaseNode(248 /* WhileStatement */);\n    node.expression = expression;\n    node.statement = asEmbeddedStatement(statement);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement);\n    return node;\n  }\n  function updateWhileStatement(node, expression, statement) {\n    return node.expression !== expression || node.statement !== statement ? update(createWhileStatement(expression, statement), node) : node;\n  }\n  function createForStatement(initializer, condition, incrementor, statement) {\n    const node = createBaseNode(249 /* ForStatement */);\n    node.initializer = initializer;\n    node.condition = condition;\n    node.incrementor = incrementor;\n    node.statement = asEmbeddedStatement(statement);\n    node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.condition) | propagateChildFlags(node.incrementor) | propagateChildFlags(node.statement);\n    return node;\n  }\n  function updateForStatement(node, initializer, condition, incrementor, statement) {\n    return node.initializer !== initializer || node.condition !== condition || node.incrementor !== incrementor || node.statement !== statement ? update(createForStatement(initializer, condition, incrementor, statement), node) : node;\n  }\n  function createForInStatement(initializer, expression, statement) {\n    const node = createBaseNode(250 /* ForInStatement */);\n    node.initializer = initializer;\n    node.expression = expression;\n    node.statement = asEmbeddedStatement(statement);\n    node.transformFlags |= propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement);\n    return node;\n  }\n  function updateForInStatement(node, initializer, expression, statement) {\n    return node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForInStatement(initializer, expression, statement), node) : node;\n  }\n  function createForOfStatement(awaitModifier, initializer, expression, statement) {\n    const node = createBaseNode(251 /* ForOfStatement */);\n    node.awaitModifier = awaitModifier;\n    node.initializer = initializer;\n    node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n    node.statement = asEmbeddedStatement(statement);\n    node.transformFlags |= propagateChildFlags(node.awaitModifier) | propagateChildFlags(node.initializer) | propagateChildFlags(node.expression) | propagateChildFlags(node.statement) | 1024 /* ContainsES2015 */;\n    if (awaitModifier)\n      node.transformFlags |= 128 /* ContainsES2018 */;\n    return node;\n  }\n  function updateForOfStatement(node, awaitModifier, initializer, expression, statement) {\n    return node.awaitModifier !== awaitModifier || node.initializer !== initializer || node.expression !== expression || node.statement !== statement ? update(createForOfStatement(awaitModifier, initializer, expression, statement), node) : node;\n  }\n  function createContinueStatement(label) {\n    const node = createBaseNode(252 /* ContinueStatement */);\n    node.label = asName(label);\n    node.transformFlags |= propagateChildFlags(node.label) | 4194304 /* ContainsHoistedDeclarationOrCompletion */;\n    return node;\n  }\n  function updateContinueStatement(node, label) {\n    return node.label !== label ? update(createContinueStatement(label), node) : node;\n  }\n  function createBreakStatement(label) {\n    const node = createBaseNode(253 /* BreakStatement */);\n    node.label = asName(label);\n    node.transformFlags |= propagateChildFlags(node.label) | 4194304 /* ContainsHoistedDeclarationOrCompletion */;\n    return node;\n  }\n  function updateBreakStatement(node, label) {\n    return node.label !== label ? update(createBreakStatement(label), node) : node;\n  }\n  function createReturnStatement(expression) {\n    const node = createBaseNode(254 /* ReturnStatement */);\n    node.expression = expression;\n    node.transformFlags |= propagateChildFlags(node.expression) | 128 /* ContainsES2018 */ | 4194304 /* ContainsHoistedDeclarationOrCompletion */;\n    return node;\n  }\n  function updateReturnStatement(node, expression) {\n    return node.expression !== expression ? update(createReturnStatement(expression), node) : node;\n  }\n  function createWithStatement(expression, statement) {\n    const node = createBaseNode(255 /* WithStatement */);\n    node.expression = expression;\n    node.statement = asEmbeddedStatement(statement);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.statement);\n    return node;\n  }\n  function updateWithStatement(node, expression, statement) {\n    return node.expression !== expression || node.statement !== statement ? update(createWithStatement(expression, statement), node) : node;\n  }\n  function createSwitchStatement(expression, caseBlock) {\n    const node = createBaseNode(256 /* SwitchStatement */);\n    node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n    node.caseBlock = caseBlock;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.caseBlock);\n    return node;\n  }\n  function updateSwitchStatement(node, expression, caseBlock) {\n    return node.expression !== expression || node.caseBlock !== caseBlock ? update(createSwitchStatement(expression, caseBlock), node) : node;\n  }\n  function createLabeledStatement(label, statement) {\n    const node = createBaseNode(257 /* LabeledStatement */);\n    node.label = asName(label);\n    node.statement = asEmbeddedStatement(statement);\n    node.transformFlags |= propagateChildFlags(node.label) | propagateChildFlags(node.statement);\n    return node;\n  }\n  function updateLabeledStatement(node, label, statement) {\n    return node.label !== label || node.statement !== statement ? update(createLabeledStatement(label, statement), node) : node;\n  }\n  function createThrowStatement(expression) {\n    const node = createBaseNode(258 /* ThrowStatement */);\n    node.expression = expression;\n    node.transformFlags |= propagateChildFlags(node.expression);\n    return node;\n  }\n  function updateThrowStatement(node, expression) {\n    return node.expression !== expression ? update(createThrowStatement(expression), node) : node;\n  }\n  function createTryStatement(tryBlock, catchClause, finallyBlock) {\n    const node = createBaseNode(259 /* TryStatement */);\n    node.tryBlock = tryBlock;\n    node.catchClause = catchClause;\n    node.finallyBlock = finallyBlock;\n    node.transformFlags |= propagateChildFlags(node.tryBlock) | propagateChildFlags(node.catchClause) | propagateChildFlags(node.finallyBlock);\n    return node;\n  }\n  function updateTryStatement(node, tryBlock, catchClause, finallyBlock) {\n    return node.tryBlock !== tryBlock || node.catchClause !== catchClause || node.finallyBlock !== finallyBlock ? update(createTryStatement(tryBlock, catchClause, finallyBlock), node) : node;\n  }\n  function createDebuggerStatement2() {\n    return createBaseNode(260 /* DebuggerStatement */);\n  }\n  function createVariableDeclaration3(name, exclamationToken, type, initializer) {\n    const node = createBaseVariableLikeDeclaration(\n      261 /* VariableDeclaration */,\n      void 0,\n      name,\n      type,\n      initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer)\n    );\n    node.exclamationToken = exclamationToken;\n    node.transformFlags |= propagateChildFlags(node.exclamationToken);\n    if (exclamationToken) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updateVariableDeclaration3(node, name, exclamationToken, type, initializer) {\n    return node.name !== name || node.type !== type || node.exclamationToken !== exclamationToken || node.initializer !== initializer ? update(createVariableDeclaration3(name, exclamationToken, type, initializer), node) : node;\n  }\n  function createVariableDeclarationList2(declarations, flags2 = 0 /* None */) {\n    const node = createBaseNode(262 /* VariableDeclarationList */);\n    node.flags |= flags2 & 3 /* BlockScoped */;\n    node.declarations = createNodeArray2(declarations);\n    node.transformFlags |= propagateChildrenFlags(node.declarations) | 4194304 /* ContainsHoistedDeclarationOrCompletion */;\n    if (flags2 & 3 /* BlockScoped */) {\n      node.transformFlags |= 1024 /* ContainsES2015 */ | 262144 /* ContainsBlockScopedBinding */;\n    }\n    return node;\n  }\n  function updateVariableDeclarationList2(node, declarations) {\n    return node.declarations !== declarations ? update(createVariableDeclarationList2(declarations, node.flags), node) : node;\n  }\n  function createFunctionDeclaration2(modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n    const node = createBaseFunctionLikeDeclaration(\n      263 /* FunctionDeclaration */,\n      modifiers,\n      name,\n      typeParameters,\n      parameters,\n      type,\n      body\n    );\n    node.asteriskToken = asteriskToken;\n    if (!node.body || modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    } else {\n      node.transformFlags |= propagateChildFlags(node.asteriskToken) | 4194304 /* ContainsHoistedDeclarationOrCompletion */;\n      if (modifiersToFlags(node.modifiers) & 512 /* Async */) {\n        if (node.asteriskToken) {\n          node.transformFlags |= 128 /* ContainsES2018 */;\n        } else {\n          node.transformFlags |= 256 /* ContainsES2017 */;\n        }\n      } else if (node.asteriskToken) {\n        node.transformFlags |= 2048 /* ContainsGenerator */;\n      }\n    }\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateFunctionDeclaration2(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n    return node.modifiers !== modifiers || node.asteriskToken !== asteriskToken || node.name !== name || node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type || node.body !== body ? finishUpdateFunctionDeclaration(createFunctionDeclaration2(modifiers, asteriskToken, name, typeParameters, parameters, type, body), node) : node;\n  }\n  function finishUpdateFunctionDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return finishUpdateBaseSignatureDeclaration(updated, original);\n  }\n  function createClassDeclaration2(modifiers, name, typeParameters, heritageClauses, members) {\n    const node = createBaseClassLikeDeclaration(\n      264 /* ClassDeclaration */,\n      modifiers,\n      name,\n      typeParameters,\n      heritageClauses,\n      members\n    );\n    if (modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    } else {\n      node.transformFlags |= 1024 /* ContainsES2015 */;\n      if (node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */) {\n        node.transformFlags |= 1 /* ContainsTypeScript */;\n      }\n    }\n    return node;\n  }\n  function updateClassDeclaration2(node, modifiers, name, typeParameters, heritageClauses, members) {\n    return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createClassDeclaration2(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n  }\n  function createStructDeclaration(modifiers, name, typeParameters, heritageClauses, members) {\n    const node = createBaseClassLikeDeclaration(\n      265 /* StructDeclaration */,\n      modifiers,\n      name,\n      typeParameters,\n      heritageClauses,\n      members\n    );\n    if (modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    } else {\n      node.transformFlags |= 1024 /* ContainsES2015 */;\n      if (node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */) {\n        node.transformFlags |= 1 /* ContainsTypeScript */;\n      }\n    }\n    return node;\n  }\n  function updateStructDeclaration(node, modifiers, name, typeParameters, heritageClauses, members) {\n    return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? update(createStructDeclaration(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n  }\n  function createAnnotationDeclaration(modifiers, name, members) {\n    const node = createBaseNamedDeclaration(\n      266 /* AnnotationDeclaration */,\n      modifiers,\n      name\n    );\n    node.members = createNodeArray2(members);\n    node.transformFlags |= propagateChildrenFlags(node.members);\n    if (modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    } else {\n      node.transformFlags |= 1024 /* ContainsES2015 */;\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updateAnnotationDeclaration(node, modifiers, name, members) {\n    return node.modifiers !== modifiers || node.name !== name || node.members !== members ? update(createAnnotationDeclaration(modifiers, name, members), node) : node;\n  }\n  function createInterfaceDeclaration2(modifiers, name, typeParameters, heritageClauses, members) {\n    const node = createBaseInterfaceOrClassLikeDeclaration(\n      267 /* InterfaceDeclaration */,\n      modifiers,\n      name,\n      typeParameters,\n      heritageClauses\n    );\n    node.members = createNodeArray2(members);\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateInterfaceDeclaration2(node, modifiers, name, typeParameters, heritageClauses, members) {\n    return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.heritageClauses !== heritageClauses || node.members !== members ? finishUpdateInterfaceDeclaration(createInterfaceDeclaration2(modifiers, name, typeParameters, heritageClauses, members), node) : node;\n  }\n  function finishUpdateInterfaceDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createTypeAliasDeclaration2(modifiers, name, typeParameters, type) {\n    const node = createBaseGenericNamedDeclaration(\n      268 /* TypeAliasDeclaration */,\n      modifiers,\n      name,\n      typeParameters\n    );\n    node.type = type;\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateTypeAliasDeclaration2(node, modifiers, name, typeParameters, type) {\n    return node.modifiers !== modifiers || node.name !== name || node.typeParameters !== typeParameters || node.type !== type ? finishUpdateTypeAliasDeclaration(createTypeAliasDeclaration2(modifiers, name, typeParameters, type), node) : node;\n  }\n  function finishUpdateTypeAliasDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createEnumDeclaration2(modifiers, name, members) {\n    const node = createBaseNamedDeclaration(\n      269 /* EnumDeclaration */,\n      modifiers,\n      name\n    );\n    node.members = createNodeArray2(members);\n    node.transformFlags |= propagateChildrenFlags(node.members) | 1 /* ContainsTypeScript */;\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateEnumDeclaration2(node, modifiers, name, members) {\n    return node.modifiers !== modifiers || node.name !== name || node.members !== members ? finishUpdateEnumDeclaration(createEnumDeclaration2(modifiers, name, members), node) : node;\n  }\n  function finishUpdateEnumDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createModuleDeclaration2(modifiers, name, body, flags2 = 0 /* None */) {\n    const node = createBaseDeclaration(270 /* ModuleDeclaration */);\n    node.modifiers = asNodeArray(modifiers);\n    node.flags |= flags2 & (16 /* Namespace */ | 4 /* NestedNamespace */ | 1024 /* GlobalAugmentation */);\n    node.name = name;\n    node.body = body;\n    if (modifiersToFlags(node.modifiers) & 2 /* Ambient */) {\n      node.transformFlags = 1 /* ContainsTypeScript */;\n    } else {\n      node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.name) | propagateChildFlags(node.body) | 1 /* ContainsTypeScript */;\n    }\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateModuleDeclaration2(node, modifiers, name, body) {\n    return node.modifiers !== modifiers || node.name !== name || node.body !== body ? finishUpdateModuleDeclaration(createModuleDeclaration2(modifiers, name, body, node.flags), node) : node;\n  }\n  function finishUpdateModuleDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createModuleBlock2(statements) {\n    const node = createBaseNode(271 /* ModuleBlock */);\n    node.statements = createNodeArray2(statements);\n    node.transformFlags |= propagateChildrenFlags(node.statements);\n    return node;\n  }\n  function updateModuleBlock2(node, statements) {\n    return node.statements !== statements ? update(createModuleBlock2(statements), node) : node;\n  }\n  function createCaseBlock2(clauses) {\n    const node = createBaseNode(272 /* CaseBlock */);\n    node.clauses = createNodeArray2(clauses);\n    node.transformFlags |= propagateChildrenFlags(node.clauses);\n    return node;\n  }\n  function updateCaseBlock2(node, clauses) {\n    return node.clauses !== clauses ? update(createCaseBlock2(clauses), node) : node;\n  }\n  function createNamespaceExportDeclaration2(name) {\n    const node = createBaseNamedDeclaration(\n      273 /* NamespaceExportDeclaration */,\n      void 0,\n      name\n    );\n    node.transformFlags = 1 /* ContainsTypeScript */;\n    node.illegalDecorators = void 0;\n    node.modifiers = void 0;\n    return node;\n  }\n  function updateNamespaceExportDeclaration2(node, name) {\n    return node.name !== name ? finishUpdateNamespaceExportDeclaration(createNamespaceExportDeclaration2(name), node) : node;\n  }\n  function finishUpdateNamespaceExportDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n      updated.modifiers = original.modifiers;\n    }\n    return update(updated, original);\n  }\n  function createImportEqualsDeclaration2(modifiers, isTypeOnly, name, moduleReference) {\n    const node = createBaseNamedDeclaration(\n      274 /* ImportEqualsDeclaration */,\n      modifiers,\n      name\n    );\n    node.isTypeOnly = isTypeOnly;\n    node.moduleReference = moduleReference;\n    node.transformFlags |= propagateChildFlags(node.moduleReference);\n    if (!isExternalModuleReference(node.moduleReference))\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateImportEqualsDeclaration2(node, modifiers, isTypeOnly, name, moduleReference) {\n    return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.name !== name || node.moduleReference !== moduleReference ? finishUpdateImportEqualsDeclaration(createImportEqualsDeclaration2(modifiers, isTypeOnly, name, moduleReference), node) : node;\n  }\n  function finishUpdateImportEqualsDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createImportDeclaration2(modifiers, importClause, moduleSpecifier, assertClause) {\n    const node = createBaseDeclaration(275 /* ImportDeclaration */);\n    node.modifiers = asNodeArray(modifiers);\n    node.importClause = importClause;\n    node.moduleSpecifier = moduleSpecifier;\n    node.assertClause = assertClause;\n    node.transformFlags |= propagateChildFlags(node.importClause) | propagateChildFlags(node.moduleSpecifier);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateImportDeclaration2(node, modifiers, importClause, moduleSpecifier, assertClause) {\n    return node.modifiers !== modifiers || node.importClause !== importClause || node.moduleSpecifier !== moduleSpecifier || node.assertClause !== assertClause ? finishUpdateImportDeclaration(createImportDeclaration2(modifiers, importClause, moduleSpecifier, assertClause), node) : node;\n  }\n  function finishUpdateImportDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createImportClause3(isTypeOnly, name, namedBindings) {\n    const node = createBaseNode(276 /* ImportClause */);\n    node.isTypeOnly = isTypeOnly;\n    node.name = name;\n    node.namedBindings = namedBindings;\n    node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.namedBindings);\n    if (isTypeOnly) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.isLazy = void 0;\n    return node;\n  }\n  function updateImportClause3(node, isTypeOnly, name, namedBindings) {\n    return node.isTypeOnly !== isTypeOnly || node.name !== name || node.namedBindings !== namedBindings ? finishUpdateImportClause(createImportClause3(isTypeOnly, name, namedBindings), node) : node;\n  }\n  function finishUpdateImportClause(updated, original) {\n    if (updated !== original) {\n      updated.isLazy = original.isLazy;\n    }\n    return update(updated, original);\n  }\n  function createAssertClause(elements, multiLine) {\n    const node = createBaseNode(302 /* AssertClause */);\n    node.elements = createNodeArray2(elements);\n    node.multiLine = multiLine;\n    node.transformFlags |= 4 /* ContainsESNext */;\n    return node;\n  }\n  function updateAssertClause(node, elements, multiLine) {\n    return node.elements !== elements || node.multiLine !== multiLine ? update(createAssertClause(elements, multiLine), node) : node;\n  }\n  function createAssertEntry(name, value) {\n    const node = createBaseNode(303 /* AssertEntry */);\n    node.name = name;\n    node.value = value;\n    node.transformFlags |= 4 /* ContainsESNext */;\n    return node;\n  }\n  function updateAssertEntry(node, name, value) {\n    return node.name !== name || node.value !== value ? update(createAssertEntry(name, value), node) : node;\n  }\n  function createImportTypeAssertionContainer(clause, multiLine) {\n    const node = createBaseNode(304 /* ImportTypeAssertionContainer */);\n    node.assertClause = clause;\n    node.multiLine = multiLine;\n    return node;\n  }\n  function updateImportTypeAssertionContainer(node, clause, multiLine) {\n    return node.assertClause !== clause || node.multiLine !== multiLine ? update(createImportTypeAssertionContainer(clause, multiLine), node) : node;\n  }\n  function createNamespaceImport2(name) {\n    const node = createBaseNode(277 /* NamespaceImport */);\n    node.name = name;\n    node.transformFlags |= propagateChildFlags(node.name);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateNamespaceImport2(node, name) {\n    return node.name !== name ? update(createNamespaceImport2(name), node) : node;\n  }\n  function createNamespaceExport2(name) {\n    const node = createBaseNode(283 /* NamespaceExport */);\n    node.name = name;\n    node.transformFlags |= propagateChildFlags(node.name) | 4 /* ContainsESNext */;\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateNamespaceExport2(node, name) {\n    return node.name !== name ? update(createNamespaceExport2(name), node) : node;\n  }\n  function createNamedImports2(elements) {\n    const node = createBaseNode(278 /* NamedImports */);\n    node.elements = createNodeArray2(elements);\n    node.transformFlags |= propagateChildrenFlags(node.elements);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateNamedImports2(node, elements) {\n    return node.elements !== elements ? update(createNamedImports2(elements), node) : node;\n  }\n  function createImportSpecifier2(isTypeOnly, propertyName, name) {\n    const node = createBaseNode(279 /* ImportSpecifier */);\n    node.isTypeOnly = isTypeOnly;\n    node.propertyName = propertyName;\n    node.name = name;\n    node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateImportSpecifier2(node, isTypeOnly, propertyName, name) {\n    return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createImportSpecifier2(isTypeOnly, propertyName, name), node) : node;\n  }\n  function createExportAssignment3(modifiers, isExportEquals, expression) {\n    const node = createBaseDeclaration(280 /* ExportAssignment */);\n    node.modifiers = asNodeArray(modifiers);\n    node.isExportEquals = isExportEquals;\n    node.expression = isExportEquals ? parenthesizerRules().parenthesizeRightSideOfBinary(63 /* EqualsToken */, void 0, expression) : parenthesizerRules().parenthesizeExpressionOfExportDefault(expression);\n    node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.expression);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateExportAssignment2(node, modifiers, expression) {\n    return node.modifiers !== modifiers || node.expression !== expression ? finishUpdateExportAssignment(createExportAssignment3(modifiers, node.isExportEquals, expression), node) : node;\n  }\n  function finishUpdateExportAssignment(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createExportDeclaration3(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n    const node = createBaseDeclaration(281 /* ExportDeclaration */);\n    node.modifiers = asNodeArray(modifiers);\n    node.isTypeOnly = isTypeOnly;\n    node.exportClause = exportClause;\n    node.moduleSpecifier = moduleSpecifier;\n    node.assertClause = assertClause;\n    node.transformFlags |= propagateChildrenFlags(node.modifiers) | propagateChildFlags(node.exportClause) | propagateChildFlags(node.moduleSpecifier);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    node.illegalDecorators = void 0;\n    return node;\n  }\n  function updateExportDeclaration3(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n    return node.modifiers !== modifiers || node.isTypeOnly !== isTypeOnly || node.exportClause !== exportClause || node.moduleSpecifier !== moduleSpecifier || node.assertClause !== assertClause ? finishUpdateExportDeclaration(createExportDeclaration3(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause), node) : node;\n  }\n  function finishUpdateExportDeclaration(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n    }\n    return update(updated, original);\n  }\n  function createNamedExports2(elements) {\n    const node = createBaseNode(282 /* NamedExports */);\n    node.elements = createNodeArray2(elements);\n    node.transformFlags |= propagateChildrenFlags(node.elements);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateNamedExports2(node, elements) {\n    return node.elements !== elements ? update(createNamedExports2(elements), node) : node;\n  }\n  function createExportSpecifier2(isTypeOnly, propertyName, name) {\n    const node = createBaseNode(284 /* ExportSpecifier */);\n    node.isTypeOnly = isTypeOnly;\n    node.propertyName = asName(propertyName);\n    node.name = asName(name);\n    node.transformFlags |= propagateChildFlags(node.propertyName) | propagateChildFlags(node.name);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateExportSpecifier2(node, isTypeOnly, propertyName, name) {\n    return node.isTypeOnly !== isTypeOnly || node.propertyName !== propertyName || node.name !== name ? update(createExportSpecifier2(isTypeOnly, propertyName, name), node) : node;\n  }\n  function createMissingDeclaration() {\n    const node = createBaseDeclaration(285 /* MissingDeclaration */);\n    return node;\n  }\n  function createExternalModuleReference2(expression) {\n    const node = createBaseNode(286 /* ExternalModuleReference */);\n    node.expression = expression;\n    node.transformFlags |= propagateChildFlags(node.expression);\n    node.transformFlags &= ~67108864 /* ContainsPossibleTopLevelAwait */;\n    return node;\n  }\n  function updateExternalModuleReference2(node, expression) {\n    return node.expression !== expression ? update(createExternalModuleReference2(expression), node) : node;\n  }\n  function createJSDocPrimaryTypeWorker(kind) {\n    return createBaseNode(kind);\n  }\n  function createJSDocPrePostfixUnaryTypeWorker(kind, type, postfix = false) {\n    const node = createJSDocUnaryTypeWorker(\n      kind,\n      postfix ? type && parenthesizerRules().parenthesizeNonArrayTypeOfPostfixType(type) : type\n    );\n    node.postfix = postfix;\n    return node;\n  }\n  function createJSDocUnaryTypeWorker(kind, type) {\n    const node = createBaseNode(kind);\n    node.type = type;\n    return node;\n  }\n  function updateJSDocPrePostfixUnaryTypeWorker(kind, node, type) {\n    return node.type !== type ? update(createJSDocPrePostfixUnaryTypeWorker(kind, type, node.postfix), node) : node;\n  }\n  function updateJSDocUnaryTypeWorker(kind, node, type) {\n    return node.type !== type ? update(createJSDocUnaryTypeWorker(kind, type), node) : node;\n  }\n  function createJSDocFunctionType(parameters, type) {\n    const node = createBaseSignatureDeclaration(\n      326 /* JSDocFunctionType */,\n      void 0,\n      void 0,\n      void 0,\n      parameters,\n      type\n    );\n    return node;\n  }\n  function updateJSDocFunctionType(node, parameters, type) {\n    return node.parameters !== parameters || node.type !== type ? update(createJSDocFunctionType(parameters, type), node) : node;\n  }\n  function createJSDocTypeLiteral2(propertyTags, isArrayType = false) {\n    const node = createBaseNode(331 /* JSDocTypeLiteral */);\n    node.jsDocPropertyTags = asNodeArray(propertyTags);\n    node.isArrayType = isArrayType;\n    return node;\n  }\n  function updateJSDocTypeLiteral(node, propertyTags, isArrayType) {\n    return node.jsDocPropertyTags !== propertyTags || node.isArrayType !== isArrayType ? update(createJSDocTypeLiteral2(propertyTags, isArrayType), node) : node;\n  }\n  function createJSDocTypeExpression2(type) {\n    const node = createBaseNode(318 /* JSDocTypeExpression */);\n    node.type = type;\n    return node;\n  }\n  function updateJSDocTypeExpression(node, type) {\n    return node.type !== type ? update(createJSDocTypeExpression2(type), node) : node;\n  }\n  function createJSDocSignature2(typeParameters, parameters, type) {\n    const node = createBaseNode(332 /* JSDocSignature */);\n    node.typeParameters = asNodeArray(typeParameters);\n    node.parameters = createNodeArray2(parameters);\n    node.type = type;\n    return node;\n  }\n  function updateJSDocSignature(node, typeParameters, parameters, type) {\n    return node.typeParameters !== typeParameters || node.parameters !== parameters || node.type !== type ? update(createJSDocSignature2(typeParameters, parameters, type), node) : node;\n  }\n  function getDefaultTagName(node) {\n    const defaultTagName = getDefaultTagNameForKind(node.kind);\n    return node.tagName.escapedText === escapeLeadingUnderscores(defaultTagName) ? node.tagName : createIdentifier3(defaultTagName);\n  }\n  function createBaseJSDocTag(kind, tagName, comment) {\n    const node = createBaseNode(kind);\n    node.tagName = tagName;\n    node.comment = comment;\n    return node;\n  }\n  function createJSDocTemplateTag2(tagName, constraint, typeParameters, comment) {\n    const node = createBaseJSDocTag(353 /* JSDocTemplateTag */, tagName != null ? tagName : createIdentifier3(\"template\"), comment);\n    node.constraint = constraint;\n    node.typeParameters = createNodeArray2(typeParameters);\n    return node;\n  }\n  function updateJSDocTemplateTag(node, tagName = getDefaultTagName(node), constraint, typeParameters, comment) {\n    return node.tagName !== tagName || node.constraint !== constraint || node.typeParameters !== typeParameters || node.comment !== comment ? update(createJSDocTemplateTag2(tagName, constraint, typeParameters, comment), node) : node;\n  }\n  function createJSDocTypedefTag2(tagName, typeExpression, fullName, comment) {\n    const node = createBaseJSDocTag(354 /* JSDocTypedefTag */, tagName != null ? tagName : createIdentifier3(\"typedef\"), comment);\n    node.typeExpression = typeExpression;\n    node.fullName = fullName;\n    node.name = getJSDocTypeAliasName(fullName);\n    return node;\n  }\n  function updateJSDocTypedefTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) {\n    return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocTypedefTag2(tagName, typeExpression, fullName, comment), node) : node;\n  }\n  function createJSDocParameterTag2(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {\n    const node = createBaseJSDocTag(349 /* JSDocParameterTag */, tagName != null ? tagName : createIdentifier3(\"param\"), comment);\n    node.typeExpression = typeExpression;\n    node.name = name;\n    node.isNameFirst = !!isNameFirst;\n    node.isBracketed = isBracketed;\n    return node;\n  }\n  function updateJSDocParameterTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) {\n    return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocParameterTag2(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node;\n  }\n  function createJSDocPropertyTag2(tagName, name, isBracketed, typeExpression, isNameFirst, comment) {\n    const node = createBaseJSDocTag(356 /* JSDocPropertyTag */, tagName != null ? tagName : createIdentifier3(\"prop\"), comment);\n    node.typeExpression = typeExpression;\n    node.name = name;\n    node.isNameFirst = !!isNameFirst;\n    node.isBracketed = isBracketed;\n    return node;\n  }\n  function updateJSDocPropertyTag(node, tagName = getDefaultTagName(node), name, isBracketed, typeExpression, isNameFirst, comment) {\n    return node.tagName !== tagName || node.name !== name || node.isBracketed !== isBracketed || node.typeExpression !== typeExpression || node.isNameFirst !== isNameFirst || node.comment !== comment ? update(createJSDocPropertyTag2(tagName, name, isBracketed, typeExpression, isNameFirst, comment), node) : node;\n  }\n  function createJSDocCallbackTag2(tagName, typeExpression, fullName, comment) {\n    const node = createBaseJSDocTag(347 /* JSDocCallbackTag */, tagName != null ? tagName : createIdentifier3(\"callback\"), comment);\n    node.typeExpression = typeExpression;\n    node.fullName = fullName;\n    node.name = getJSDocTypeAliasName(fullName);\n    return node;\n  }\n  function updateJSDocCallbackTag(node, tagName = getDefaultTagName(node), typeExpression, fullName, comment) {\n    return node.tagName !== tagName || node.typeExpression !== typeExpression || node.fullName !== fullName || node.comment !== comment ? update(createJSDocCallbackTag2(tagName, typeExpression, fullName, comment), node) : node;\n  }\n  function createJSDocAugmentsTag2(tagName, className, comment) {\n    const node = createBaseJSDocTag(337 /* JSDocAugmentsTag */, tagName != null ? tagName : createIdentifier3(\"augments\"), comment);\n    node.class = className;\n    return node;\n  }\n  function updateJSDocAugmentsTag(node, tagName = getDefaultTagName(node), className, comment) {\n    return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocAugmentsTag2(tagName, className, comment), node) : node;\n  }\n  function createJSDocImplementsTag2(tagName, className, comment) {\n    const node = createBaseJSDocTag(338 /* JSDocImplementsTag */, tagName != null ? tagName : createIdentifier3(\"implements\"), comment);\n    node.class = className;\n    return node;\n  }\n  function createJSDocSeeTag(tagName, name, comment) {\n    const node = createBaseJSDocTag(355 /* JSDocSeeTag */, tagName != null ? tagName : createIdentifier3(\"see\"), comment);\n    node.name = name;\n    return node;\n  }\n  function updateJSDocSeeTag(node, tagName, name, comment) {\n    return node.tagName !== tagName || node.name !== name || node.comment !== comment ? update(createJSDocSeeTag(tagName, name, comment), node) : node;\n  }\n  function createJSDocNameReference(name) {\n    const node = createBaseNode(319 /* JSDocNameReference */);\n    node.name = name;\n    return node;\n  }\n  function updateJSDocNameReference(node, name) {\n    return node.name !== name ? update(createJSDocNameReference(name), node) : node;\n  }\n  function createJSDocMemberName(left, right) {\n    const node = createBaseNode(320 /* JSDocMemberName */);\n    node.left = left;\n    node.right = right;\n    node.transformFlags |= propagateChildFlags(node.left) | propagateChildFlags(node.right);\n    return node;\n  }\n  function updateJSDocMemberName(node, left, right) {\n    return node.left !== left || node.right !== right ? update(createJSDocMemberName(left, right), node) : node;\n  }\n  function createJSDocLink(name, text) {\n    const node = createBaseNode(333 /* JSDocLink */);\n    node.name = name;\n    node.text = text;\n    return node;\n  }\n  function updateJSDocLink(node, name, text) {\n    return node.name !== name ? update(createJSDocLink(name, text), node) : node;\n  }\n  function createJSDocLinkCode(name, text) {\n    const node = createBaseNode(334 /* JSDocLinkCode */);\n    node.name = name;\n    node.text = text;\n    return node;\n  }\n  function updateJSDocLinkCode(node, name, text) {\n    return node.name !== name ? update(createJSDocLinkCode(name, text), node) : node;\n  }\n  function createJSDocLinkPlain(name, text) {\n    const node = createBaseNode(335 /* JSDocLinkPlain */);\n    node.name = name;\n    node.text = text;\n    return node;\n  }\n  function updateJSDocLinkPlain(node, name, text) {\n    return node.name !== name ? update(createJSDocLinkPlain(name, text), node) : node;\n  }\n  function updateJSDocImplementsTag(node, tagName = getDefaultTagName(node), className, comment) {\n    return node.tagName !== tagName || node.class !== className || node.comment !== comment ? update(createJSDocImplementsTag2(tagName, className, comment), node) : node;\n  }\n  function createJSDocSimpleTagWorker(kind, tagName, comment) {\n    const node = createBaseJSDocTag(kind, tagName != null ? tagName : createIdentifier3(getDefaultTagNameForKind(kind)), comment);\n    return node;\n  }\n  function updateJSDocSimpleTagWorker(kind, node, tagName = getDefaultTagName(node), comment) {\n    return node.tagName !== tagName || node.comment !== comment ? update(createJSDocSimpleTagWorker(kind, tagName, comment), node) : node;\n  }\n  function createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment) {\n    const node = createBaseJSDocTag(kind, tagName != null ? tagName : createIdentifier3(getDefaultTagNameForKind(kind)), comment);\n    node.typeExpression = typeExpression;\n    return node;\n  }\n  function updateJSDocTypeLikeTagWorker(kind, node, tagName = getDefaultTagName(node), typeExpression, comment) {\n    return node.tagName !== tagName || node.typeExpression !== typeExpression || node.comment !== comment ? update(createJSDocTypeLikeTagWorker(kind, tagName, typeExpression, comment), node) : node;\n  }\n  function createJSDocUnknownTag(tagName, comment) {\n    const node = createBaseJSDocTag(336 /* JSDocTag */, tagName, comment);\n    return node;\n  }\n  function updateJSDocUnknownTag(node, tagName, comment) {\n    return node.tagName !== tagName || node.comment !== comment ? update(createJSDocUnknownTag(tagName, comment), node) : node;\n  }\n  function createJSDocText(text) {\n    const node = createBaseNode(330 /* JSDocText */);\n    node.text = text;\n    return node;\n  }\n  function updateJSDocText(node, text) {\n    return node.text !== text ? update(createJSDocText(text), node) : node;\n  }\n  function createJSDocComment2(comment, tags) {\n    const node = createBaseNode(329 /* JSDoc */);\n    node.comment = comment;\n    node.tags = asNodeArray(tags);\n    return node;\n  }\n  function updateJSDocComment(node, comment, tags) {\n    return node.comment !== comment || node.tags !== tags ? update(createJSDocComment2(comment, tags), node) : node;\n  }\n  function createJsxElement2(openingElement, children, closingElement) {\n    const node = createBaseNode(287 /* JsxElement */);\n    node.openingElement = openingElement;\n    node.children = createNodeArray2(children);\n    node.closingElement = closingElement;\n    node.transformFlags |= propagateChildFlags(node.openingElement) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingElement) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxElement2(node, openingElement, children, closingElement) {\n    return node.openingElement !== openingElement || node.children !== children || node.closingElement !== closingElement ? update(createJsxElement2(openingElement, children, closingElement), node) : node;\n  }\n  function createJsxSelfClosingElement2(tagName, typeArguments, attributes) {\n    const node = createBaseNode(288 /* JsxSelfClosingElement */);\n    node.tagName = tagName;\n    node.typeArguments = asNodeArray(typeArguments);\n    node.attributes = attributes;\n    node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2 /* ContainsJsx */;\n    if (node.typeArguments) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updateJsxSelfClosingElement2(node, tagName, typeArguments, attributes) {\n    return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxSelfClosingElement2(tagName, typeArguments, attributes), node) : node;\n  }\n  function createJsxOpeningElement2(tagName, typeArguments, attributes) {\n    const node = createBaseNode(289 /* JsxOpeningElement */);\n    node.tagName = tagName;\n    node.typeArguments = asNodeArray(typeArguments);\n    node.attributes = attributes;\n    node.transformFlags |= propagateChildFlags(node.tagName) | propagateChildrenFlags(node.typeArguments) | propagateChildFlags(node.attributes) | 2 /* ContainsJsx */;\n    if (typeArguments) {\n      node.transformFlags |= 1 /* ContainsTypeScript */;\n    }\n    return node;\n  }\n  function updateJsxOpeningElement2(node, tagName, typeArguments, attributes) {\n    return node.tagName !== tagName || node.typeArguments !== typeArguments || node.attributes !== attributes ? update(createJsxOpeningElement2(tagName, typeArguments, attributes), node) : node;\n  }\n  function createJsxClosingElement2(tagName) {\n    const node = createBaseNode(290 /* JsxClosingElement */);\n    node.tagName = tagName;\n    node.transformFlags |= propagateChildFlags(node.tagName) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxClosingElement2(node, tagName) {\n    return node.tagName !== tagName ? update(createJsxClosingElement2(tagName), node) : node;\n  }\n  function createJsxFragment2(openingFragment, children, closingFragment) {\n    const node = createBaseNode(291 /* JsxFragment */);\n    node.openingFragment = openingFragment;\n    node.children = createNodeArray2(children);\n    node.closingFragment = closingFragment;\n    node.transformFlags |= propagateChildFlags(node.openingFragment) | propagateChildrenFlags(node.children) | propagateChildFlags(node.closingFragment) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxFragment2(node, openingFragment, children, closingFragment) {\n    return node.openingFragment !== openingFragment || node.children !== children || node.closingFragment !== closingFragment ? update(createJsxFragment2(openingFragment, children, closingFragment), node) : node;\n  }\n  function createJsxText2(text, containsOnlyTriviaWhiteSpaces) {\n    const node = createBaseNode(11 /* JsxText */);\n    node.text = text;\n    node.containsOnlyTriviaWhiteSpaces = !!containsOnlyTriviaWhiteSpaces;\n    node.transformFlags |= 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxText2(node, text, containsOnlyTriviaWhiteSpaces) {\n    return node.text !== text || node.containsOnlyTriviaWhiteSpaces !== containsOnlyTriviaWhiteSpaces ? update(createJsxText2(text, containsOnlyTriviaWhiteSpaces), node) : node;\n  }\n  function createJsxOpeningFragment2() {\n    const node = createBaseNode(292 /* JsxOpeningFragment */);\n    node.transformFlags |= 2 /* ContainsJsx */;\n    return node;\n  }\n  function createJsxJsxClosingFragment2() {\n    const node = createBaseNode(293 /* JsxClosingFragment */);\n    node.transformFlags |= 2 /* ContainsJsx */;\n    return node;\n  }\n  function createJsxAttribute2(name, initializer) {\n    const node = createBaseNode(294 /* JsxAttribute */);\n    node.name = name;\n    node.initializer = initializer;\n    node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxAttribute2(node, name, initializer) {\n    return node.name !== name || node.initializer !== initializer ? update(createJsxAttribute2(name, initializer), node) : node;\n  }\n  function createJsxAttributes2(properties) {\n    const node = createBaseNode(295 /* JsxAttributes */);\n    node.properties = createNodeArray2(properties);\n    node.transformFlags |= propagateChildrenFlags(node.properties) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxAttributes2(node, properties) {\n    return node.properties !== properties ? update(createJsxAttributes2(properties), node) : node;\n  }\n  function createJsxSpreadAttribute2(expression) {\n    const node = createBaseNode(296 /* JsxSpreadAttribute */);\n    node.expression = expression;\n    node.transformFlags |= propagateChildFlags(node.expression) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxSpreadAttribute2(node, expression) {\n    return node.expression !== expression ? update(createJsxSpreadAttribute2(expression), node) : node;\n  }\n  function createJsxExpression2(dotDotDotToken, expression) {\n    const node = createBaseNode(297 /* JsxExpression */);\n    node.dotDotDotToken = dotDotDotToken;\n    node.expression = expression;\n    node.transformFlags |= propagateChildFlags(node.dotDotDotToken) | propagateChildFlags(node.expression) | 2 /* ContainsJsx */;\n    return node;\n  }\n  function updateJsxExpression2(node, expression) {\n    return node.expression !== expression ? update(createJsxExpression2(node.dotDotDotToken, expression), node) : node;\n  }\n  function createCaseClause2(expression, statements) {\n    const node = createBaseNode(298 /* CaseClause */);\n    node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n    node.statements = createNodeArray2(statements);\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildrenFlags(node.statements);\n    return node;\n  }\n  function updateCaseClause2(node, expression, statements) {\n    return node.expression !== expression || node.statements !== statements ? update(createCaseClause2(expression, statements), node) : node;\n  }\n  function createDefaultClause2(statements) {\n    const node = createBaseNode(299 /* DefaultClause */);\n    node.statements = createNodeArray2(statements);\n    node.transformFlags = propagateChildrenFlags(node.statements);\n    return node;\n  }\n  function updateDefaultClause2(node, statements) {\n    return node.statements !== statements ? update(createDefaultClause2(statements), node) : node;\n  }\n  function createHeritageClause2(token, types) {\n    const node = createBaseNode(300 /* HeritageClause */);\n    node.token = token;\n    node.types = createNodeArray2(types);\n    node.transformFlags |= propagateChildrenFlags(node.types);\n    switch (token) {\n      case 95 /* ExtendsKeyword */:\n        node.transformFlags |= 1024 /* ContainsES2015 */;\n        break;\n      case 118 /* ImplementsKeyword */:\n        node.transformFlags |= 1 /* ContainsTypeScript */;\n        break;\n      default:\n        return Debug.assertNever(token);\n    }\n    return node;\n  }\n  function updateHeritageClause2(node, types) {\n    return node.types !== types ? update(createHeritageClause2(node.token, types), node) : node;\n  }\n  function createCatchClause2(variableDeclaration, block) {\n    const node = createBaseNode(301 /* CatchClause */);\n    if (typeof variableDeclaration === \"string\" || variableDeclaration && !isVariableDeclaration(variableDeclaration)) {\n      variableDeclaration = createVariableDeclaration3(\n        variableDeclaration,\n        void 0,\n        void 0,\n        void 0\n      );\n    }\n    node.variableDeclaration = variableDeclaration;\n    node.block = block;\n    node.transformFlags |= propagateChildFlags(node.variableDeclaration) | propagateChildFlags(node.block);\n    if (!variableDeclaration)\n      node.transformFlags |= 64 /* ContainsES2019 */;\n    return node;\n  }\n  function updateCatchClause2(node, variableDeclaration, block) {\n    return node.variableDeclaration !== variableDeclaration || node.block !== block ? update(createCatchClause2(variableDeclaration, block), node) : node;\n  }\n  function createPropertyAssignment2(name, initializer) {\n    const node = createBaseNamedDeclaration(\n      305 /* PropertyAssignment */,\n      void 0,\n      name\n    );\n    node.initializer = parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer);\n    node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer);\n    node.illegalDecorators = void 0;\n    node.modifiers = void 0;\n    node.questionToken = void 0;\n    node.exclamationToken = void 0;\n    return node;\n  }\n  function updatePropertyAssignment2(node, name, initializer) {\n    return node.name !== name || node.initializer !== initializer ? finishUpdatePropertyAssignment(createPropertyAssignment2(name, initializer), node) : node;\n  }\n  function finishUpdatePropertyAssignment(updated, original) {\n    if (updated !== original) {\n      updated.illegalDecorators = original.illegalDecorators;\n      updated.modifiers = original.modifiers;\n      updated.questionToken = original.questionToken;\n      updated.exclamationToken = original.exclamationToken;\n    }\n    return update(updated, original);\n  }\n  function createShorthandPropertyAssignment2(name, objectAssignmentInitializer) {\n    const node = createBaseNamedDeclaration(\n      306 /* ShorthandPropertyAssignment */,\n      void 0,\n      name\n    );\n    node.objectAssignmentInitializer = objectAssignmentInitializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(objectAssignmentInitializer);\n    node.transformFlags |= propagateChildFlags(node.objectAssignmentInitializer) | 1024 /* ContainsES2015 */;\n    node.equalsToken = void 0;\n    node.illegalDecorators = void 0;\n    node.modifiers = void 0;\n    node.questionToken = void 0;\n    node.exclamationToken = void 0;\n    return node;\n  }\n  function updateShorthandPropertyAssignment2(node, name, objectAssignmentInitializer) {\n    return node.name !== name || node.objectAssignmentInitializer !== objectAssignmentInitializer ? finishUpdateShorthandPropertyAssignment(createShorthandPropertyAssignment2(name, objectAssignmentInitializer), node) : node;\n  }\n  function finishUpdateShorthandPropertyAssignment(updated, original) {\n    if (updated !== original) {\n      updated.equalsToken = original.equalsToken;\n      updated.illegalDecorators = original.illegalDecorators;\n      updated.modifiers = original.modifiers;\n      updated.questionToken = original.questionToken;\n      updated.exclamationToken = original.exclamationToken;\n    }\n    return update(updated, original);\n  }\n  function createSpreadAssignment2(expression) {\n    const node = createBaseNode(307 /* SpreadAssignment */);\n    node.expression = parenthesizerRules().parenthesizeExpressionForDisallowedComma(expression);\n    node.transformFlags |= propagateChildFlags(node.expression) | 128 /* ContainsES2018 */ | 65536 /* ContainsObjectRestOrSpread */;\n    return node;\n  }\n  function updateSpreadAssignment2(node, expression) {\n    return node.expression !== expression ? update(createSpreadAssignment2(expression), node) : node;\n  }\n  function createEnumMember2(name, initializer) {\n    const node = createBaseNode(308 /* EnumMember */);\n    node.name = asName(name);\n    node.initializer = initializer && parenthesizerRules().parenthesizeExpressionForDisallowedComma(initializer);\n    node.transformFlags |= propagateChildFlags(node.name) | propagateChildFlags(node.initializer) | 1 /* ContainsTypeScript */;\n    return node;\n  }\n  function updateEnumMember2(node, name, initializer) {\n    return node.name !== name || node.initializer !== initializer ? update(createEnumMember2(name, initializer), node) : node;\n  }\n  function createSourceFile2(statements, endOfFileToken, flags2) {\n    const node = baseFactory2.createBaseSourceFileNode(314 /* SourceFile */);\n    node.statements = createNodeArray2(statements);\n    node.endOfFileToken = endOfFileToken;\n    node.flags |= flags2;\n    node.fileName = \"\";\n    node.text = \"\";\n    node.languageVersion = 0;\n    node.languageVariant = 0;\n    node.scriptKind = 0;\n    node.isDeclarationFile = false;\n    node.hasNoDefaultLib = false;\n    node.transformFlags |= propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken);\n    return node;\n  }\n  function cloneSourceFileWithChanges(source, statements, isDeclarationFile, referencedFiles, typeReferences, hasNoDefaultLib, libReferences) {\n    const node = source.redirectInfo ? Object.create(source.redirectInfo.redirectTarget) : baseFactory2.createBaseSourceFileNode(314 /* SourceFile */);\n    for (const p in source) {\n      if (p === \"emitNode\" || hasProperty(node, p) || !hasProperty(source, p))\n        continue;\n      node[p] = source[p];\n    }\n    node.flags |= source.flags;\n    node.statements = createNodeArray2(statements);\n    node.endOfFileToken = source.endOfFileToken;\n    node.isDeclarationFile = isDeclarationFile;\n    node.referencedFiles = referencedFiles;\n    node.typeReferenceDirectives = typeReferences;\n    node.hasNoDefaultLib = hasNoDefaultLib;\n    node.libReferenceDirectives = libReferences;\n    node.transformFlags = propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken);\n    node.impliedNodeFormat = source.impliedNodeFormat;\n    return node;\n  }\n  function updateSourceFile2(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, hasNoDefaultLib = node.hasNoDefaultLib, libReferenceDirectives = node.libReferenceDirectives) {\n    return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.hasNoDefaultLib !== hasNoDefaultLib || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, hasNoDefaultLib, libReferenceDirectives), node) : node;\n  }\n  function createBundle2(sourceFiles, prepends = emptyArray) {\n    const node = createBaseNode(315 /* Bundle */);\n    node.prepends = prepends;\n    node.sourceFiles = sourceFiles;\n    return node;\n  }\n  function updateBundle2(node, sourceFiles, prepends = emptyArray) {\n    return node.sourceFiles !== sourceFiles || node.prepends !== prepends ? update(createBundle2(sourceFiles, prepends), node) : node;\n  }\n  function createUnparsedSource(prologues, syntheticReferences, texts) {\n    const node = createBaseNode(316 /* UnparsedSource */);\n    node.prologues = prologues;\n    node.syntheticReferences = syntheticReferences;\n    node.texts = texts;\n    node.fileName = \"\";\n    node.text = \"\";\n    node.referencedFiles = emptyArray;\n    node.libReferenceDirectives = emptyArray;\n    node.getLineAndCharacterOfPosition = (pos) => getLineAndCharacterOfPosition(node, pos);\n    return node;\n  }\n  function createBaseUnparsedNode(kind, data) {\n    const node = createBaseNode(kind);\n    node.data = data;\n    return node;\n  }\n  function createUnparsedPrologue(data) {\n    return createBaseUnparsedNode(309 /* UnparsedPrologue */, data);\n  }\n  function createUnparsedPrepend(data, texts) {\n    const node = createBaseUnparsedNode(310 /* UnparsedPrepend */, data);\n    node.texts = texts;\n    return node;\n  }\n  function createUnparsedTextLike(data, internal) {\n    return createBaseUnparsedNode(internal ? 312 /* UnparsedInternalText */ : 311 /* UnparsedText */, data);\n  }\n  function createUnparsedSyntheticReference(section) {\n    const node = createBaseNode(313 /* UnparsedSyntheticReference */);\n    node.data = section.data;\n    node.section = section;\n    return node;\n  }\n  function createInputFiles2() {\n    const node = createBaseNode(317 /* InputFiles */);\n    node.javascriptText = \"\";\n    node.declarationText = \"\";\n    return node;\n  }\n  function createSyntheticExpression(type, isSpread = false, tupleNameSource) {\n    const node = createBaseNode(238 /* SyntheticExpression */);\n    node.type = type;\n    node.isSpread = isSpread;\n    node.tupleNameSource = tupleNameSource;\n    return node;\n  }\n  function createSyntaxList3(children) {\n    const node = createBaseNode(357 /* SyntaxList */);\n    node._children = children;\n    return node;\n  }\n  function createNotEmittedStatement2(original) {\n    const node = createBaseNode(358 /* NotEmittedStatement */);\n    node.original = original;\n    setTextRange(node, original);\n    return node;\n  }\n  function createPartiallyEmittedExpression2(expression, original) {\n    const node = createBaseNode(359 /* PartiallyEmittedExpression */);\n    node.expression = expression;\n    node.original = original;\n    node.transformFlags |= propagateChildFlags(node.expression) | 1 /* ContainsTypeScript */;\n    setTextRange(node, original);\n    return node;\n  }\n  function updatePartiallyEmittedExpression2(node, expression) {\n    return node.expression !== expression ? update(createPartiallyEmittedExpression2(expression, node.original), node) : node;\n  }\n  function flattenCommaElements(node) {\n    if (nodeIsSynthesized(node) && !isParseTreeNode(node) && !node.original && !node.emitNode && !node.id) {\n      if (isCommaListExpression(node)) {\n        return node.elements;\n      }\n      if (isBinaryExpression(node) && isCommaToken(node.operatorToken)) {\n        return [node.left, node.right];\n      }\n    }\n    return node;\n  }\n  function createCommaListExpression(elements) {\n    const node = createBaseNode(360 /* CommaListExpression */);\n    node.elements = createNodeArray2(sameFlatMap(elements, flattenCommaElements));\n    node.transformFlags |= propagateChildrenFlags(node.elements);\n    return node;\n  }\n  function updateCommaListExpression(node, elements) {\n    return node.elements !== elements ? update(createCommaListExpression(elements), node) : node;\n  }\n  function createEndOfDeclarationMarker(original) {\n    const node = createBaseNode(362 /* EndOfDeclarationMarker */);\n    node.emitNode = {};\n    node.original = original;\n    return node;\n  }\n  function createMergeDeclarationMarker(original) {\n    const node = createBaseNode(361 /* MergeDeclarationMarker */);\n    node.emitNode = {};\n    node.original = original;\n    return node;\n  }\n  function createSyntheticReferenceExpression(expression, thisArg) {\n    const node = createBaseNode(363 /* SyntheticReferenceExpression */);\n    node.expression = expression;\n    node.thisArg = thisArg;\n    node.transformFlags |= propagateChildFlags(node.expression) | propagateChildFlags(node.thisArg);\n    return node;\n  }\n  function updateSyntheticReferenceExpression(node, expression, thisArg) {\n    return node.expression !== expression || node.thisArg !== thisArg ? update(createSyntheticReferenceExpression(expression, thisArg), node) : node;\n  }\n  function cloneNode(node) {\n    if (node === void 0) {\n      return node;\n    }\n    const clone2 = isSourceFile(node) ? baseFactory2.createBaseSourceFileNode(314 /* SourceFile */) : isIdentifier(node) ? baseFactory2.createBaseIdentifierNode(79 /* Identifier */) : isPrivateIdentifier(node) ? baseFactory2.createBasePrivateIdentifierNode(80 /* PrivateIdentifier */) : !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind);\n    clone2.flags |= node.flags & ~8 /* Synthesized */;\n    clone2.transformFlags = node.transformFlags;\n    setOriginalNode(clone2, node);\n    for (const key in node) {\n      if (hasProperty(clone2, key) || !hasProperty(node, key)) {\n        continue;\n      }\n      clone2[key] = node[key];\n    }\n    return clone2;\n  }\n  function createImmediatelyInvokedFunctionExpression2(statements, param, paramValue) {\n    return createCallExpression(\n      createFunctionExpression2(\n        void 0,\n        void 0,\n        void 0,\n        void 0,\n        param ? [param] : [],\n        void 0,\n        createBlock2(statements, true)\n      ),\n      void 0,\n      paramValue ? [paramValue] : []\n    );\n  }\n  function createImmediatelyInvokedArrowFunction2(statements, param, paramValue) {\n    return createCallExpression(\n      createArrowFunction3(\n        void 0,\n        void 0,\n        param ? [param] : [],\n        void 0,\n        void 0,\n        createBlock2(statements, true)\n      ),\n      void 0,\n      paramValue ? [paramValue] : []\n    );\n  }\n  function createVoidZero2() {\n    return createVoidExpression(createNumericLiteral2(\"0\"));\n  }\n  function createExportDefault2(expression) {\n    return createExportAssignment3(\n      void 0,\n      false,\n      expression\n    );\n  }\n  function createExternalModuleExport2(exportName) {\n    return createExportDeclaration3(\n      void 0,\n      false,\n      createNamedExports2([\n        createExportSpecifier2(false, void 0, exportName)\n      ])\n    );\n  }\n  function createTypeCheck(value, tag) {\n    return tag === \"undefined\" ? factory2.createStrictEquality(value, createVoidZero2()) : factory2.createStrictEquality(createTypeOfExpression(value), createStringLiteral2(tag));\n  }\n  function createMethodCall(object, methodName, argumentsList) {\n    if (isCallChain(object)) {\n      return createCallChain2(\n        createPropertyAccessChain2(object, void 0, methodName),\n        void 0,\n        void 0,\n        argumentsList\n      );\n    }\n    return createCallExpression(\n      createPropertyAccessExpression(object, methodName),\n      void 0,\n      argumentsList\n    );\n  }\n  function createFunctionBindCall(target, thisArg, argumentsList) {\n    return createMethodCall(target, \"bind\", [thisArg, ...argumentsList]);\n  }\n  function createFunctionCallCall(target, thisArg, argumentsList) {\n    return createMethodCall(target, \"call\", [thisArg, ...argumentsList]);\n  }\n  function createFunctionApplyCall(target, thisArg, argumentsExpression) {\n    return createMethodCall(target, \"apply\", [thisArg, argumentsExpression]);\n  }\n  function createGlobalMethodCall(globalObjectName, methodName, argumentsList) {\n    return createMethodCall(createIdentifier3(globalObjectName), methodName, argumentsList);\n  }\n  function createArraySliceCall(array, start) {\n    return createMethodCall(array, \"slice\", start === void 0 ? [] : [asExpression(start)]);\n  }\n  function createArrayConcatCall(array, argumentsList) {\n    return createMethodCall(array, \"concat\", argumentsList);\n  }\n  function createObjectDefinePropertyCall(target, propertyName, attributes) {\n    return createGlobalMethodCall(\"Object\", \"defineProperty\", [target, asExpression(propertyName), attributes]);\n  }\n  function createReflectGetCall(target, propertyKey, receiver) {\n    return createGlobalMethodCall(\"Reflect\", \"get\", receiver ? [target, propertyKey, receiver] : [target, propertyKey]);\n  }\n  function createReflectSetCall(target, propertyKey, value, receiver) {\n    return createGlobalMethodCall(\"Reflect\", \"set\", receiver ? [target, propertyKey, value, receiver] : [target, propertyKey, value]);\n  }\n  function tryAddPropertyAssignment(properties, propertyName, expression) {\n    if (expression) {\n      properties.push(createPropertyAssignment2(propertyName, expression));\n      return true;\n    }\n    return false;\n  }\n  function createPropertyDescriptor(attributes, singleLine) {\n    const properties = [];\n    tryAddPropertyAssignment(properties, \"enumerable\", asExpression(attributes.enumerable));\n    tryAddPropertyAssignment(properties, \"configurable\", asExpression(attributes.configurable));\n    let isData = tryAddPropertyAssignment(properties, \"writable\", asExpression(attributes.writable));\n    isData = tryAddPropertyAssignment(properties, \"value\", attributes.value) || isData;\n    let isAccessor2 = tryAddPropertyAssignment(properties, \"get\", attributes.get);\n    isAccessor2 = tryAddPropertyAssignment(properties, \"set\", attributes.set) || isAccessor2;\n    Debug.assert(!(isData && isAccessor2), \"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor.\");\n    return createObjectLiteralExpression(properties, !singleLine);\n  }\n  function updateOuterExpression(outerExpression, expression) {\n    switch (outerExpression.kind) {\n      case 217 /* ParenthesizedExpression */:\n        return updateParenthesizedExpression(outerExpression, expression);\n      case 216 /* TypeAssertionExpression */:\n        return updateTypeAssertion2(outerExpression, outerExpression.type, expression);\n      case 235 /* AsExpression */:\n        return updateAsExpression2(outerExpression, expression, outerExpression.type);\n      case 239 /* SatisfiesExpression */:\n        return updateSatisfiesExpression(outerExpression, expression, outerExpression.type);\n      case 236 /* NonNullExpression */:\n        return updateNonNullExpression2(outerExpression, expression);\n      case 359 /* PartiallyEmittedExpression */:\n        return updatePartiallyEmittedExpression2(outerExpression, expression);\n    }\n  }\n  function isIgnorableParen(node) {\n    return isParenthesizedExpression(node) && nodeIsSynthesized(node) && nodeIsSynthesized(getSourceMapRange(node)) && nodeIsSynthesized(getCommentRange(node)) && !some(getSyntheticLeadingComments(node)) && !some(getSyntheticTrailingComments(node));\n  }\n  function restoreOuterExpressions(outerExpression, innerExpression, kinds = 15 /* All */) {\n    if (outerExpression && isOuterExpression(outerExpression, kinds) && !isIgnorableParen(outerExpression)) {\n      return updateOuterExpression(\n        outerExpression,\n        restoreOuterExpressions(outerExpression.expression, innerExpression)\n      );\n    }\n    return innerExpression;\n  }\n  function restoreEnclosingLabel(node, outermostLabeledStatement, afterRestoreLabelCallback) {\n    if (!outermostLabeledStatement) {\n      return node;\n    }\n    const updated = updateLabeledStatement(\n      outermostLabeledStatement,\n      outermostLabeledStatement.label,\n      isLabeledStatement(outermostLabeledStatement.statement) ? restoreEnclosingLabel(node, outermostLabeledStatement.statement) : node\n    );\n    if (afterRestoreLabelCallback) {\n      afterRestoreLabelCallback(outermostLabeledStatement);\n    }\n    return updated;\n  }\n  function shouldBeCapturedInTempVariable(node, cacheIdentifiers) {\n    const target = skipParentheses(node);\n    switch (target.kind) {\n      case 79 /* Identifier */:\n        return cacheIdentifiers;\n      case 109 /* ThisKeyword */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 10 /* StringLiteral */:\n        return false;\n      case 209 /* ArrayLiteralExpression */:\n        const elements = target.elements;\n        if (elements.length === 0) {\n          return false;\n        }\n        return true;\n      case 210 /* ObjectLiteralExpression */:\n        return target.properties.length > 0;\n      default:\n        return true;\n    }\n  }\n  function createCallBinding(expression, recordTempVariable, languageVersion, cacheIdentifiers = false) {\n    const callee = skipOuterExpressions(expression, 15 /* All */);\n    let thisArg;\n    let target;\n    if (isSuperProperty(callee)) {\n      thisArg = createThis2();\n      target = callee;\n    } else if (isSuperKeyword(callee)) {\n      thisArg = createThis2();\n      target = languageVersion !== void 0 && languageVersion < 2 /* ES2015 */ ? setTextRange(createIdentifier3(\"_super\"), callee) : callee;\n    } else if (getEmitFlags(callee) & 4096 /* HelperName */) {\n      thisArg = createVoidZero2();\n      target = parenthesizerRules().parenthesizeLeftSideOfAccess(callee, false);\n    } else if (isPropertyAccessExpression(callee)) {\n      if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) {\n        thisArg = createTempVariable3(recordTempVariable);\n        target = createPropertyAccessExpression(\n          setTextRange(\n            factory2.createAssignment(\n              thisArg,\n              callee.expression\n            ),\n            callee.expression\n          ),\n          callee.name\n        );\n        setTextRange(target, callee);\n      } else {\n        thisArg = callee.expression;\n        target = callee;\n      }\n    } else if (isElementAccessExpression(callee)) {\n      if (shouldBeCapturedInTempVariable(callee.expression, cacheIdentifiers)) {\n        thisArg = createTempVariable3(recordTempVariable);\n        target = createElementAccessExpression(\n          setTextRange(\n            factory2.createAssignment(\n              thisArg,\n              callee.expression\n            ),\n            callee.expression\n          ),\n          callee.argumentExpression\n        );\n        setTextRange(target, callee);\n      } else {\n        thisArg = callee.expression;\n        target = callee;\n      }\n    } else {\n      thisArg = createVoidZero2();\n      target = parenthesizerRules().parenthesizeLeftSideOfAccess(expression, false);\n    }\n    return { target, thisArg };\n  }\n  function createAssignmentTargetWrapper(paramName, expression) {\n    return createPropertyAccessExpression(\n      createParenthesizedExpression(\n        createObjectLiteralExpression([\n          createSetAccessorDeclaration(\n            void 0,\n            \"value\",\n            [createParameterDeclaration(\n              void 0,\n              void 0,\n              paramName,\n              void 0,\n              void 0,\n              void 0\n            )],\n            createBlock2([\n              createExpressionStatement2(expression)\n            ])\n          )\n        ])\n      ),\n      \"value\"\n    );\n  }\n  function inlineExpressions(expressions) {\n    return expressions.length > 10 ? createCommaListExpression(expressions) : reduceLeft(expressions, factory2.createComma);\n  }\n  function getName(node, allowComments, allowSourceMaps, emitFlags = 0) {\n    const nodeName = getNameOfDeclaration(node);\n    if (nodeName && isIdentifier(nodeName) && !isGeneratedIdentifier(nodeName)) {\n      const name = setParent(setTextRange(cloneNode(nodeName), nodeName), nodeName.parent);\n      emitFlags |= getEmitFlags(nodeName);\n      if (!allowSourceMaps)\n        emitFlags |= 48 /* NoSourceMap */;\n      if (!allowComments)\n        emitFlags |= 1536 /* NoComments */;\n      if (emitFlags)\n        setEmitFlags(name, emitFlags);\n      return name;\n    }\n    return getGeneratedNameForNode3(node);\n  }\n  function getInternalName(node, allowComments, allowSourceMaps) {\n    return getName(node, allowComments, allowSourceMaps, 16384 /* LocalName */ | 32768 /* InternalName */);\n  }\n  function getLocalName(node, allowComments, allowSourceMaps) {\n    return getName(node, allowComments, allowSourceMaps, 16384 /* LocalName */);\n  }\n  function getExportName(node, allowComments, allowSourceMaps) {\n    return getName(node, allowComments, allowSourceMaps, 8192 /* ExportName */);\n  }\n  function getDeclarationName(node, allowComments, allowSourceMaps) {\n    return getName(node, allowComments, allowSourceMaps);\n  }\n  function getNamespaceMemberName(ns, name, allowComments, allowSourceMaps) {\n    const qualifiedName = createPropertyAccessExpression(ns, nodeIsSynthesized(name) ? name : cloneNode(name));\n    setTextRange(qualifiedName, name);\n    let emitFlags = 0;\n    if (!allowSourceMaps)\n      emitFlags |= 48 /* NoSourceMap */;\n    if (!allowComments)\n      emitFlags |= 1536 /* NoComments */;\n    if (emitFlags)\n      setEmitFlags(qualifiedName, emitFlags);\n    return qualifiedName;\n  }\n  function getExternalModuleOrNamespaceExportName(ns, node, allowComments, allowSourceMaps) {\n    if (ns && hasSyntacticModifier(node, 1 /* Export */)) {\n      return getNamespaceMemberName(ns, getName(node), allowComments, allowSourceMaps);\n    }\n    return getExportName(node, allowComments, allowSourceMaps);\n  }\n  function copyPrologue(source, target, ensureUseStrict2, visitor) {\n    const offset = copyStandardPrologue(source, target, 0, ensureUseStrict2);\n    return copyCustomPrologue(source, target, offset, visitor);\n  }\n  function isUseStrictPrologue2(node) {\n    return isStringLiteral(node.expression) && node.expression.text === \"use strict\";\n  }\n  function createUseStrictPrologue() {\n    return startOnNewLine(createExpressionStatement2(createStringLiteral2(\"use strict\")));\n  }\n  function copyStandardPrologue(source, target, statementOffset = 0, ensureUseStrict2) {\n    Debug.assert(target.length === 0, \"Prologue directives should be at the first statement in the target statements array\");\n    let foundUseStrict = false;\n    const numStatements = source.length;\n    while (statementOffset < numStatements) {\n      const statement = source[statementOffset];\n      if (isPrologueDirective(statement)) {\n        if (isUseStrictPrologue2(statement)) {\n          foundUseStrict = true;\n        }\n        target.push(statement);\n      } else {\n        break;\n      }\n      statementOffset++;\n    }\n    if (ensureUseStrict2 && !foundUseStrict) {\n      target.push(createUseStrictPrologue());\n    }\n    return statementOffset;\n  }\n  function copyCustomPrologue(source, target, statementOffset, visitor, filter2 = returnTrue) {\n    const numStatements = source.length;\n    while (statementOffset !== void 0 && statementOffset < numStatements) {\n      const statement = source[statementOffset];\n      if (getEmitFlags(statement) & 1048576 /* CustomPrologue */ && filter2(statement)) {\n        append(target, visitor ? visitNode(statement, visitor, isStatement) : statement);\n      } else {\n        break;\n      }\n      statementOffset++;\n    }\n    return statementOffset;\n  }\n  function ensureUseStrict(statements) {\n    const foundUseStrict = findUseStrictPrologue(statements);\n    if (!foundUseStrict) {\n      return setTextRange(createNodeArray2([createUseStrictPrologue(), ...statements]), statements);\n    }\n    return statements;\n  }\n  function liftToBlock(nodes) {\n    Debug.assert(every(nodes, isStatementOrBlock), \"Cannot lift nodes to a Block.\");\n    return singleOrUndefined(nodes) || createBlock2(nodes);\n  }\n  function findSpanEnd(array, test, start) {\n    let i = start;\n    while (i < array.length && test(array[i])) {\n      i++;\n    }\n    return i;\n  }\n  function mergeLexicalEnvironment(statements, declarations) {\n    if (!some(declarations)) {\n      return statements;\n    }\n    const leftStandardPrologueEnd = findSpanEnd(statements, isPrologueDirective, 0);\n    const leftHoistedFunctionsEnd = findSpanEnd(statements, isHoistedFunction, leftStandardPrologueEnd);\n    const leftHoistedVariablesEnd = findSpanEnd(statements, isHoistedVariableStatement, leftHoistedFunctionsEnd);\n    const rightStandardPrologueEnd = findSpanEnd(declarations, isPrologueDirective, 0);\n    const rightHoistedFunctionsEnd = findSpanEnd(declarations, isHoistedFunction, rightStandardPrologueEnd);\n    const rightHoistedVariablesEnd = findSpanEnd(declarations, isHoistedVariableStatement, rightHoistedFunctionsEnd);\n    const rightCustomPrologueEnd = findSpanEnd(declarations, isCustomPrologue, rightHoistedVariablesEnd);\n    Debug.assert(rightCustomPrologueEnd === declarations.length, \"Expected declarations to be valid standard or custom prologues\");\n    const left = isNodeArray(statements) ? statements.slice() : statements;\n    if (rightCustomPrologueEnd > rightHoistedVariablesEnd) {\n      left.splice(leftHoistedVariablesEnd, 0, ...declarations.slice(rightHoistedVariablesEnd, rightCustomPrologueEnd));\n    }\n    if (rightHoistedVariablesEnd > rightHoistedFunctionsEnd) {\n      left.splice(leftHoistedFunctionsEnd, 0, ...declarations.slice(rightHoistedFunctionsEnd, rightHoistedVariablesEnd));\n    }\n    if (rightHoistedFunctionsEnd > rightStandardPrologueEnd) {\n      left.splice(leftStandardPrologueEnd, 0, ...declarations.slice(rightStandardPrologueEnd, rightHoistedFunctionsEnd));\n    }\n    if (rightStandardPrologueEnd > 0) {\n      if (leftStandardPrologueEnd === 0) {\n        left.splice(0, 0, ...declarations.slice(0, rightStandardPrologueEnd));\n      } else {\n        const leftPrologues = new Map2();\n        for (let i = 0; i < leftStandardPrologueEnd; i++) {\n          const leftPrologue = statements[i];\n          leftPrologues.set(leftPrologue.expression.text, true);\n        }\n        for (let i = rightStandardPrologueEnd - 1; i >= 0; i--) {\n          const rightPrologue = declarations[i];\n          if (!leftPrologues.has(rightPrologue.expression.text)) {\n            left.unshift(rightPrologue);\n          }\n        }\n      }\n    }\n    if (isNodeArray(statements)) {\n      return setTextRange(createNodeArray2(left, statements.hasTrailingComma), statements);\n    }\n    return statements;\n  }\n  function updateModifiers(node, modifiers) {\n    var _a2;\n    let modifierArray;\n    if (typeof modifiers === \"number\") {\n      modifierArray = createModifiersFromModifierFlags2(modifiers);\n    } else {\n      modifierArray = modifiers;\n    }\n    return isTypeParameterDeclaration(node) ? updateTypeParameterDeclaration2(node, modifierArray, node.name, node.constraint, node.default) : isParameter(node) ? updateParameterDeclaration(node, modifierArray, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer) : isConstructorTypeNode(node) ? updateConstructorTypeNode1(node, modifierArray, node.typeParameters, node.parameters, node.type) : isPropertySignature(node) ? updatePropertySignature3(node, modifierArray, node.name, node.questionToken, node.type) : isPropertyDeclaration(node) ? updatePropertyDeclaration2(node, modifierArray, node.name, (_a2 = node.questionToken) != null ? _a2 : node.exclamationToken, node.type, node.initializer) : isMethodSignature(node) ? updateMethodSignature3(node, modifierArray, node.name, node.questionToken, node.typeParameters, node.parameters, node.type) : isMethodDeclaration(node) ? updateMethodDeclaration(node, modifierArray, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body) : isConstructorDeclaration(node) ? updateConstructorDeclaration(node, modifierArray, node.parameters, node.body) : isGetAccessorDeclaration(node) ? updateGetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.type, node.body) : isSetAccessorDeclaration(node) ? updateSetAccessorDeclaration(node, modifierArray, node.name, node.parameters, node.body) : isIndexSignatureDeclaration(node) ? updateIndexSignature2(node, modifierArray, node.parameters, node.type) : isFunctionExpression(node) ? updateFunctionExpression2(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isArrowFunction(node) ? updateArrowFunction3(node, modifierArray, node.typeParameters, node.parameters, node.type, node.equalsGreaterThanToken, node.body) : isClassExpression(node) ? updateClassExpression3(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isStructDeclaration(node) ? updateStructDeclaration(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isAnnotationDeclaration(node) ? updateAnnotationDeclaration(node, modifierArray, node.name, node.members) : isVariableStatement(node) ? updateVariableStatement2(node, modifierArray, node.declarationList) : isFunctionDeclaration(node) ? updateFunctionDeclaration2(node, modifierArray, node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body) : isClassDeclaration(node) ? updateClassDeclaration2(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isInterfaceDeclaration(node) ? updateInterfaceDeclaration2(node, modifierArray, node.name, node.typeParameters, node.heritageClauses, node.members) : isTypeAliasDeclaration(node) ? updateTypeAliasDeclaration2(node, modifierArray, node.name, node.typeParameters, node.type) : isEnumDeclaration(node) ? updateEnumDeclaration2(node, modifierArray, node.name, node.members) : isModuleDeclaration(node) ? updateModuleDeclaration2(node, modifierArray, node.name, node.body) : isImportEqualsDeclaration(node) ? updateImportEqualsDeclaration2(node, modifierArray, node.isTypeOnly, node.name, node.moduleReference) : isImportDeclaration(node) ? updateImportDeclaration2(node, modifierArray, node.importClause, node.moduleSpecifier, node.assertClause) : isExportAssignment(node) ? updateExportAssignment2(node, modifierArray, node.expression) : isExportDeclaration(node) ? updateExportDeclaration3(node, modifierArray, node.isTypeOnly, node.exportClause, node.moduleSpecifier, node.assertClause) : Debug.assertNever(node);\n  }\n  function asNodeArray(array) {\n    return array ? createNodeArray2(array) : void 0;\n  }\n  function asName(name) {\n    return typeof name === \"string\" ? createIdentifier3(name) : name;\n  }\n  function asExpression(value) {\n    return typeof value === \"string\" ? createStringLiteral2(value) : typeof value === \"number\" ? createNumericLiteral2(value) : typeof value === \"boolean\" ? value ? createTrue2() : createFalse2() : value;\n  }\n  function asToken(value) {\n    return typeof value === \"number\" ? createToken3(value) : value;\n  }\n  function asEmbeddedStatement(statement) {\n    return statement && isNotEmittedStatement(statement) ? setTextRange(setOriginalNode(createEmptyStatement2(), statement), statement) : statement;\n  }\n}\nfunction updateWithoutOriginal(updated, original) {\n  if (updated !== original) {\n    setTextRange(updated, original);\n  }\n  return updated;\n}\nfunction updateWithOriginal(updated, original) {\n  if (updated !== original) {\n    setOriginalNode(updated, original);\n    setTextRange(updated, original);\n  }\n  return updated;\n}\nfunction getDefaultTagNameForKind(kind) {\n  switch (kind) {\n    case 352 /* JSDocTypeTag */:\n      return \"type\";\n    case 350 /* JSDocReturnTag */:\n      return \"returns\";\n    case 351 /* JSDocThisTag */:\n      return \"this\";\n    case 348 /* JSDocEnumTag */:\n      return \"enum\";\n    case 339 /* JSDocAuthorTag */:\n      return \"author\";\n    case 341 /* JSDocClassTag */:\n      return \"class\";\n    case 342 /* JSDocPublicTag */:\n      return \"public\";\n    case 343 /* JSDocPrivateTag */:\n      return \"private\";\n    case 344 /* JSDocProtectedTag */:\n      return \"protected\";\n    case 345 /* JSDocReadonlyTag */:\n      return \"readonly\";\n    case 346 /* JSDocOverrideTag */:\n      return \"override\";\n    case 353 /* JSDocTemplateTag */:\n      return \"template\";\n    case 354 /* JSDocTypedefTag */:\n      return \"typedef\";\n    case 349 /* JSDocParameterTag */:\n      return \"param\";\n    case 356 /* JSDocPropertyTag */:\n      return \"prop\";\n    case 347 /* JSDocCallbackTag */:\n      return \"callback\";\n    case 337 /* JSDocAugmentsTag */:\n      return \"augments\";\n    case 338 /* JSDocImplementsTag */:\n      return \"implements\";\n    default:\n      return Debug.fail(`Unsupported kind: ${Debug.formatSyntaxKind(kind)}`);\n  }\n}\nvar rawTextScanner;\nvar invalidValueSentinel = {};\nfunction getCookedText(kind, rawText) {\n  if (!rawTextScanner) {\n    rawTextScanner = createScanner(99 /* Latest */, false, 0 /* Standard */);\n  }\n  switch (kind) {\n    case 14 /* NoSubstitutionTemplateLiteral */:\n      rawTextScanner.setText(\"`\" + rawText + \"`\");\n      break;\n    case 15 /* TemplateHead */:\n      rawTextScanner.setText(\"`\" + rawText + \"${\");\n      break;\n    case 16 /* TemplateMiddle */:\n      rawTextScanner.setText(\"}\" + rawText + \"${\");\n      break;\n    case 17 /* TemplateTail */:\n      rawTextScanner.setText(\"}\" + rawText + \"`\");\n      break;\n  }\n  let token = rawTextScanner.scan();\n  if (token === 19 /* CloseBraceToken */) {\n    token = rawTextScanner.reScanTemplateToken(false);\n  }\n  if (rawTextScanner.isUnterminated()) {\n    rawTextScanner.setText(void 0);\n    return invalidValueSentinel;\n  }\n  let tokenValue;\n  switch (token) {\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 15 /* TemplateHead */:\n    case 16 /* TemplateMiddle */:\n    case 17 /* TemplateTail */:\n      tokenValue = rawTextScanner.getTokenValue();\n      break;\n  }\n  if (tokenValue === void 0 || rawTextScanner.scan() !== 1 /* EndOfFileToken */) {\n    rawTextScanner.setText(void 0);\n    return invalidValueSentinel;\n  }\n  rawTextScanner.setText(void 0);\n  return tokenValue;\n}\nfunction propagateIdentifierNameFlags(node) {\n  return propagateChildFlags(node) & ~67108864 /* ContainsPossibleTopLevelAwait */;\n}\nfunction propagatePropertyNameFlagsOfChild(node, transformFlags) {\n  return transformFlags | node.transformFlags & 134234112 /* PropertyNamePropagatingFlags */;\n}\nfunction propagateChildFlags(child) {\n  if (!child)\n    return 0 /* None */;\n  const childFlags = child.transformFlags & ~getTransformFlagsSubtreeExclusions(child.kind);\n  return isNamedDeclaration(child) && isPropertyName(child.name) ? propagatePropertyNameFlagsOfChild(child.name, childFlags) : childFlags;\n}\nfunction propagateChildrenFlags(children) {\n  return children ? children.transformFlags : 0 /* None */;\n}\nfunction aggregateChildrenFlags(children) {\n  let subtreeFlags = 0 /* None */;\n  for (const child of children) {\n    subtreeFlags |= propagateChildFlags(child);\n  }\n  children.transformFlags = subtreeFlags;\n}\nfunction getTransformFlagsSubtreeExclusions(kind) {\n  if (kind >= 182 /* FirstTypeNode */ && kind <= 205 /* LastTypeNode */) {\n    return -2 /* TypeExcludes */;\n  }\n  switch (kind) {\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n    case 209 /* ArrayLiteralExpression */:\n      return -2147450880 /* ArrayLiteralOrCallOrNewExcludes */;\n    case 270 /* ModuleDeclaration */:\n      return -1941676032 /* ModuleExcludes */;\n    case 168 /* Parameter */:\n      return -2147483648 /* ParameterExcludes */;\n    case 219 /* ArrowFunction */:\n      return -2072174592 /* ArrowFunctionExcludes */;\n    case 218 /* FunctionExpression */:\n    case 263 /* FunctionDeclaration */:\n      return -1937940480 /* FunctionExcludes */;\n    case 262 /* VariableDeclarationList */:\n      return -2146893824 /* VariableDeclarationListExcludes */;\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n      return -2147344384 /* ClassExcludes */;\n    case 176 /* Constructor */:\n      return -1937948672 /* ConstructorExcludes */;\n    case 171 /* PropertyDeclaration */:\n      return -2013249536 /* PropertyExcludes */;\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return -2005057536 /* MethodOrAccessorExcludes */;\n    case 132 /* AnyKeyword */:\n    case 149 /* NumberKeyword */:\n    case 162 /* BigIntKeyword */:\n    case 145 /* NeverKeyword */:\n    case 153 /* StringKeyword */:\n    case 150 /* ObjectKeyword */:\n    case 135 /* BooleanKeyword */:\n    case 154 /* SymbolKeyword */:\n    case 115 /* VoidKeyword */:\n    case 167 /* TypeParameter */:\n    case 170 /* PropertySignature */:\n    case 173 /* MethodSignature */:\n    case 179 /* CallSignature */:\n    case 180 /* ConstructSignature */:\n    case 181 /* IndexSignature */:\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n      return -2 /* TypeExcludes */;\n    case 210 /* ObjectLiteralExpression */:\n      return -2147278848 /* ObjectLiteralExcludes */;\n    case 301 /* CatchClause */:\n      return -2147418112 /* CatchClauseExcludes */;\n    case 206 /* ObjectBindingPattern */:\n    case 207 /* ArrayBindingPattern */:\n      return -2147450880 /* BindingPatternExcludes */;\n    case 216 /* TypeAssertionExpression */:\n    case 239 /* SatisfiesExpression */:\n    case 235 /* AsExpression */:\n    case 359 /* PartiallyEmittedExpression */:\n    case 217 /* ParenthesizedExpression */:\n    case 107 /* SuperKeyword */:\n      return -2147483648 /* OuterExpressionExcludes */;\n    case 211 /* PropertyAccessExpression */:\n    case 212 /* ElementAccessExpression */:\n      return -2147483648 /* PropertyAccessExcludes */;\n    default:\n      return -2147483648 /* NodeExcludes */;\n  }\n}\nvar baseFactory = createBaseNodeFactory();\nfunction makeSynthetic(node) {\n  node.flags |= 8 /* Synthesized */;\n  return node;\n}\nvar syntheticFactory = {\n  createBaseSourceFileNode: (kind) => makeSynthetic(baseFactory.createBaseSourceFileNode(kind)),\n  createBaseIdentifierNode: (kind) => makeSynthetic(baseFactory.createBaseIdentifierNode(kind)),\n  createBasePrivateIdentifierNode: (kind) => makeSynthetic(baseFactory.createBasePrivateIdentifierNode(kind)),\n  createBaseTokenNode: (kind) => makeSynthetic(baseFactory.createBaseTokenNode(kind)),\n  createBaseNode: (kind) => makeSynthetic(baseFactory.createBaseNode(kind))\n};\nvar factory = createNodeFactory(4 /* NoIndentationOnFreshPropertyAccess */, syntheticFactory);\nfunction createUnparsedSourceFile(textOrInputFiles, mapPathOrType, mapTextOrStripInternal) {\n  let stripInternal;\n  let bundleFileInfo;\n  let fileName;\n  let text;\n  let length2;\n  let sourceMapPath;\n  let sourceMapText;\n  let getText;\n  let getSourceMapText;\n  let oldFileOfCurrentEmit;\n  if (!isString(textOrInputFiles)) {\n    Debug.assert(mapPathOrType === \"js\" || mapPathOrType === \"dts\");\n    fileName = (mapPathOrType === \"js\" ? textOrInputFiles.javascriptPath : textOrInputFiles.declarationPath) || \"\";\n    sourceMapPath = mapPathOrType === \"js\" ? textOrInputFiles.javascriptMapPath : textOrInputFiles.declarationMapPath;\n    getText = () => mapPathOrType === \"js\" ? textOrInputFiles.javascriptText : textOrInputFiles.declarationText;\n    getSourceMapText = () => mapPathOrType === \"js\" ? textOrInputFiles.javascriptMapText : textOrInputFiles.declarationMapText;\n    length2 = () => getText().length;\n    if (textOrInputFiles.buildInfo && textOrInputFiles.buildInfo.bundle) {\n      Debug.assert(mapTextOrStripInternal === void 0 || typeof mapTextOrStripInternal === \"boolean\");\n      stripInternal = mapTextOrStripInternal;\n      bundleFileInfo = mapPathOrType === \"js\" ? textOrInputFiles.buildInfo.bundle.js : textOrInputFiles.buildInfo.bundle.dts;\n      oldFileOfCurrentEmit = textOrInputFiles.oldFileOfCurrentEmit;\n    }\n  } else {\n    fileName = \"\";\n    text = textOrInputFiles;\n    length2 = textOrInputFiles.length;\n    sourceMapPath = mapPathOrType;\n    sourceMapText = mapTextOrStripInternal;\n  }\n  const node = oldFileOfCurrentEmit ? parseOldFileOfCurrentEmit(Debug.checkDefined(bundleFileInfo)) : parseUnparsedSourceFile(bundleFileInfo, stripInternal, length2);\n  node.fileName = fileName;\n  node.sourceMapPath = sourceMapPath;\n  node.oldFileOfCurrentEmit = oldFileOfCurrentEmit;\n  if (getText && getSourceMapText) {\n    Object.defineProperty(node, \"text\", { get: getText });\n    Object.defineProperty(node, \"sourceMapText\", { get: getSourceMapText });\n  } else {\n    Debug.assert(!oldFileOfCurrentEmit);\n    node.text = text != null ? text : \"\";\n    node.sourceMapText = sourceMapText;\n  }\n  return node;\n}\nfunction parseUnparsedSourceFile(bundleFileInfo, stripInternal, length2) {\n  let prologues;\n  let helpers;\n  let referencedFiles;\n  let typeReferenceDirectives;\n  let libReferenceDirectives;\n  let prependChildren;\n  let texts;\n  let hasNoDefaultLib;\n  for (const section of bundleFileInfo ? bundleFileInfo.sections : emptyArray) {\n    switch (section.kind) {\n      case \"prologue\" /* Prologue */:\n        prologues = append(prologues, setTextRange(factory.createUnparsedPrologue(section.data), section));\n        break;\n      case \"emitHelpers\" /* EmitHelpers */:\n        helpers = append(helpers, getAllUnscopedEmitHelpers().get(section.data));\n        break;\n      case \"no-default-lib\" /* NoDefaultLib */:\n        hasNoDefaultLib = true;\n        break;\n      case \"reference\" /* Reference */:\n        referencedFiles = append(referencedFiles, { pos: -1, end: -1, fileName: section.data });\n        break;\n      case \"type\" /* Type */:\n        typeReferenceDirectives = append(typeReferenceDirectives, { pos: -1, end: -1, fileName: section.data });\n        break;\n      case \"type-import\" /* TypeResolutionModeImport */:\n        typeReferenceDirectives = append(typeReferenceDirectives, { pos: -1, end: -1, fileName: section.data, resolutionMode: 99 /* ESNext */ });\n        break;\n      case \"type-require\" /* TypeResolutionModeRequire */:\n        typeReferenceDirectives = append(typeReferenceDirectives, { pos: -1, end: -1, fileName: section.data, resolutionMode: 1 /* CommonJS */ });\n        break;\n      case \"lib\" /* Lib */:\n        libReferenceDirectives = append(libReferenceDirectives, { pos: -1, end: -1, fileName: section.data });\n        break;\n      case \"prepend\" /* Prepend */:\n        let prependTexts;\n        for (const text of section.texts) {\n          if (!stripInternal || text.kind !== \"internal\" /* Internal */) {\n            prependTexts = append(prependTexts, setTextRange(factory.createUnparsedTextLike(text.data, text.kind === \"internal\" /* Internal */), text));\n          }\n        }\n        prependChildren = addRange(prependChildren, prependTexts);\n        texts = append(texts, factory.createUnparsedPrepend(section.data, prependTexts != null ? prependTexts : emptyArray));\n        break;\n      case \"internal\" /* Internal */:\n        if (stripInternal) {\n          if (!texts)\n            texts = [];\n          break;\n        }\n      case \"text\" /* Text */:\n        texts = append(texts, setTextRange(factory.createUnparsedTextLike(section.data, section.kind === \"internal\" /* Internal */), section));\n        break;\n      default:\n        Debug.assertNever(section);\n    }\n  }\n  if (!texts) {\n    const textNode = factory.createUnparsedTextLike(void 0, false);\n    setTextRangePosWidth(textNode, 0, typeof length2 === \"function\" ? length2() : length2);\n    texts = [textNode];\n  }\n  const node = parseNodeFactory.createUnparsedSource(prologues != null ? prologues : emptyArray, void 0, texts);\n  setEachParent(prologues, node);\n  setEachParent(texts, node);\n  setEachParent(prependChildren, node);\n  node.hasNoDefaultLib = hasNoDefaultLib;\n  node.helpers = helpers;\n  node.referencedFiles = referencedFiles || emptyArray;\n  node.typeReferenceDirectives = typeReferenceDirectives;\n  node.libReferenceDirectives = libReferenceDirectives || emptyArray;\n  return node;\n}\nfunction parseOldFileOfCurrentEmit(bundleFileInfo) {\n  let texts;\n  let syntheticReferences;\n  for (const section of bundleFileInfo.sections) {\n    switch (section.kind) {\n      case \"internal\" /* Internal */:\n      case \"text\" /* Text */:\n        texts = append(texts, setTextRange(factory.createUnparsedTextLike(section.data, section.kind === \"internal\" /* Internal */), section));\n        break;\n      case \"no-default-lib\" /* NoDefaultLib */:\n      case \"reference\" /* Reference */:\n      case \"type\" /* Type */:\n      case \"type-import\" /* TypeResolutionModeImport */:\n      case \"type-require\" /* TypeResolutionModeRequire */:\n      case \"lib\" /* Lib */:\n        syntheticReferences = append(syntheticReferences, setTextRange(factory.createUnparsedSyntheticReference(section), section));\n        break;\n      case \"prologue\" /* Prologue */:\n      case \"emitHelpers\" /* EmitHelpers */:\n      case \"prepend\" /* Prepend */:\n        break;\n      default:\n        Debug.assertNever(section);\n    }\n  }\n  const node = factory.createUnparsedSource(emptyArray, syntheticReferences, texts != null ? texts : emptyArray);\n  setEachParent(syntheticReferences, node);\n  setEachParent(texts, node);\n  node.helpers = map(bundleFileInfo.sources && bundleFileInfo.sources.helpers, (name) => getAllUnscopedEmitHelpers().get(name));\n  return node;\n}\nfunction createInputFiles(javascriptTextOrReadFileText, declarationTextOrJavascriptPath, javascriptMapPath, javascriptMapTextOrDeclarationPath, declarationMapPath, declarationMapTextOrBuildInfoPath, javascriptPath, declarationPath, buildInfoPath, buildInfo, oldFileOfCurrentEmit) {\n  const node = parseNodeFactory.createInputFiles();\n  if (!isString(javascriptTextOrReadFileText)) {\n    const cache = new Map2();\n    const textGetter = (path) => {\n      if (path === void 0)\n        return void 0;\n      let value = cache.get(path);\n      if (value === void 0) {\n        value = javascriptTextOrReadFileText(path);\n        cache.set(path, value !== void 0 ? value : false);\n      }\n      return value !== false ? value : void 0;\n    };\n    const definedTextGetter = (path) => {\n      const result = textGetter(path);\n      return result !== void 0 ? result : `/* Input file ${path} was missing */\\r\n`;\n    };\n    let buildInfo2;\n    const getAndCacheBuildInfo = (getText) => {\n      var _a2;\n      if (buildInfo2 === void 0) {\n        const result = getText();\n        buildInfo2 = result !== void 0 ? (_a2 = getBuildInfo(node.buildInfoPath, result)) != null ? _a2 : false : false;\n      }\n      return buildInfo2 || void 0;\n    };\n    node.javascriptPath = declarationTextOrJavascriptPath;\n    node.javascriptMapPath = javascriptMapPath;\n    node.declarationPath = Debug.checkDefined(javascriptMapTextOrDeclarationPath);\n    node.declarationMapPath = declarationMapPath;\n    node.buildInfoPath = declarationMapTextOrBuildInfoPath;\n    Object.defineProperties(node, {\n      javascriptText: { get() {\n        return definedTextGetter(declarationTextOrJavascriptPath);\n      } },\n      javascriptMapText: { get() {\n        return textGetter(javascriptMapPath);\n      } },\n      declarationText: { get() {\n        return definedTextGetter(Debug.checkDefined(javascriptMapTextOrDeclarationPath));\n      } },\n      declarationMapText: { get() {\n        return textGetter(declarationMapPath);\n      } },\n      buildInfo: { get() {\n        return getAndCacheBuildInfo(() => textGetter(declarationMapTextOrBuildInfoPath));\n      } }\n    });\n  } else {\n    node.javascriptText = javascriptTextOrReadFileText;\n    node.javascriptMapPath = javascriptMapPath;\n    node.javascriptMapText = javascriptMapTextOrDeclarationPath;\n    node.declarationText = declarationTextOrJavascriptPath;\n    node.declarationMapPath = declarationMapPath;\n    node.declarationMapText = declarationMapTextOrBuildInfoPath;\n    node.javascriptPath = javascriptPath;\n    node.declarationPath = declarationPath;\n    node.buildInfoPath = buildInfoPath;\n    node.buildInfo = buildInfo;\n    node.oldFileOfCurrentEmit = oldFileOfCurrentEmit;\n  }\n  return node;\n}\nvar SourceMapSource2;\nfunction createSourceMapSource(fileName, text, skipTrivia2) {\n  return new (SourceMapSource2 || (SourceMapSource2 = objectAllocator.getSourceMapSourceConstructor()))(fileName, text, skipTrivia2);\n}\nfunction setOriginalNode(node, original) {\n  node.original = original;\n  if (original) {\n    const emitNode = original.emitNode;\n    if (emitNode)\n      node.emitNode = mergeEmitNode(emitNode, node.emitNode);\n  }\n  return node;\n}\nfunction mergeEmitNode(sourceEmitNode, destEmitNode) {\n  const {\n    flags,\n    leadingComments,\n    trailingComments,\n    commentRange,\n    sourceMapRange,\n    tokenSourceMapRanges,\n    constantValue,\n    helpers,\n    startsOnNewLine,\n    snippetElement\n  } = sourceEmitNode;\n  if (!destEmitNode)\n    destEmitNode = {};\n  if (leadingComments)\n    destEmitNode.leadingComments = addRange(leadingComments.slice(), destEmitNode.leadingComments);\n  if (trailingComments)\n    destEmitNode.trailingComments = addRange(trailingComments.slice(), destEmitNode.trailingComments);\n  if (flags)\n    destEmitNode.flags = flags & ~268435456 /* Immutable */;\n  if (commentRange)\n    destEmitNode.commentRange = commentRange;\n  if (sourceMapRange)\n    destEmitNode.sourceMapRange = sourceMapRange;\n  if (tokenSourceMapRanges)\n    destEmitNode.tokenSourceMapRanges = mergeTokenSourceMapRanges(tokenSourceMapRanges, destEmitNode.tokenSourceMapRanges);\n  if (constantValue !== void 0)\n    destEmitNode.constantValue = constantValue;\n  if (helpers) {\n    for (const helper of helpers) {\n      destEmitNode.helpers = appendIfUnique(destEmitNode.helpers, helper);\n    }\n  }\n  if (startsOnNewLine !== void 0)\n    destEmitNode.startsOnNewLine = startsOnNewLine;\n  if (snippetElement !== void 0)\n    destEmitNode.snippetElement = snippetElement;\n  return destEmitNode;\n}\nfunction mergeTokenSourceMapRanges(sourceRanges, destRanges) {\n  if (!destRanges)\n    destRanges = [];\n  for (const key in sourceRanges) {\n    destRanges[key] = sourceRanges[key];\n  }\n  return destRanges;\n}\n\n// src/compiler/factory/emitNode.ts\nfunction getOrCreateEmitNode(node) {\n  var _a2;\n  if (!node.emitNode) {\n    if (isParseTreeNode(node)) {\n      if (node.kind === 314 /* SourceFile */) {\n        return node.emitNode = { annotatedNodes: [node] };\n      }\n      const sourceFile = (_a2 = getSourceFileOfNode(getParseTreeNode(getSourceFileOfNode(node)))) != null ? _a2 : Debug.fail(\"Could not determine parsed source file.\");\n      getOrCreateEmitNode(sourceFile).annotatedNodes.push(node);\n    }\n    node.emitNode = {};\n  } else {\n    Debug.assert(!(node.emitNode.flags & 268435456 /* Immutable */), \"Invalid attempt to mutate an immutable node.\");\n  }\n  return node.emitNode;\n}\nfunction disposeEmitNodes(sourceFile) {\n  var _a2, _b;\n  const annotatedNodes = (_b = (_a2 = getSourceFileOfNode(getParseTreeNode(sourceFile))) == null ? void 0 : _a2.emitNode) == null ? void 0 : _b.annotatedNodes;\n  if (annotatedNodes) {\n    for (const node of annotatedNodes) {\n      node.emitNode = void 0;\n    }\n  }\n}\nfunction removeAllComments(node) {\n  const emitNode = getOrCreateEmitNode(node);\n  emitNode.flags |= 1536 /* NoComments */;\n  emitNode.leadingComments = void 0;\n  emitNode.trailingComments = void 0;\n  return node;\n}\nfunction setEmitFlags(node, emitFlags) {\n  getOrCreateEmitNode(node).flags = emitFlags;\n  return node;\n}\nfunction addEmitFlags(node, emitFlags) {\n  const emitNode = getOrCreateEmitNode(node);\n  emitNode.flags = emitNode.flags | emitFlags;\n  return node;\n}\nfunction getSourceMapRange(node) {\n  var _a2, _b;\n  return (_b = (_a2 = node.emitNode) == null ? void 0 : _a2.sourceMapRange) != null ? _b : node;\n}\nfunction setSourceMapRange(node, range) {\n  getOrCreateEmitNode(node).sourceMapRange = range;\n  return node;\n}\nfunction getTokenSourceMapRange(node, token) {\n  var _a2, _b;\n  return (_b = (_a2 = node.emitNode) == null ? void 0 : _a2.tokenSourceMapRanges) == null ? void 0 : _b[token];\n}\nfunction setTokenSourceMapRange(node, token, range) {\n  var _a2;\n  const emitNode = getOrCreateEmitNode(node);\n  const tokenSourceMapRanges = (_a2 = emitNode.tokenSourceMapRanges) != null ? _a2 : emitNode.tokenSourceMapRanges = [];\n  tokenSourceMapRanges[token] = range;\n  return node;\n}\nfunction getStartsOnNewLine(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.startsOnNewLine;\n}\nfunction setStartsOnNewLine(node, newLine) {\n  getOrCreateEmitNode(node).startsOnNewLine = newLine;\n  return node;\n}\nfunction getCommentRange(node) {\n  var _a2, _b;\n  return (_b = (_a2 = node.emitNode) == null ? void 0 : _a2.commentRange) != null ? _b : node;\n}\nfunction setCommentRange(node, range) {\n  getOrCreateEmitNode(node).commentRange = range;\n  return node;\n}\nfunction getSyntheticLeadingComments(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.leadingComments;\n}\nfunction setSyntheticLeadingComments(node, comments) {\n  getOrCreateEmitNode(node).leadingComments = comments;\n  return node;\n}\nfunction addSyntheticLeadingComment(node, kind, text, hasTrailingNewLine) {\n  return setSyntheticLeadingComments(node, append(getSyntheticLeadingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text }));\n}\nfunction getSyntheticTrailingComments(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.trailingComments;\n}\nfunction setSyntheticTrailingComments(node, comments) {\n  getOrCreateEmitNode(node).trailingComments = comments;\n  return node;\n}\nfunction addSyntheticTrailingComment(node, kind, text, hasTrailingNewLine) {\n  return setSyntheticTrailingComments(node, append(getSyntheticTrailingComments(node), { kind, pos: -1, end: -1, hasTrailingNewLine, text }));\n}\nfunction moveSyntheticComments(node, original) {\n  setSyntheticLeadingComments(node, getSyntheticLeadingComments(original));\n  setSyntheticTrailingComments(node, getSyntheticTrailingComments(original));\n  const emit = getOrCreateEmitNode(original);\n  emit.leadingComments = void 0;\n  emit.trailingComments = void 0;\n  return node;\n}\nfunction getConstantValue(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.constantValue;\n}\nfunction setConstantValue(node, value) {\n  const emitNode = getOrCreateEmitNode(node);\n  emitNode.constantValue = value;\n  return node;\n}\nfunction addEmitHelper(node, helper) {\n  const emitNode = getOrCreateEmitNode(node);\n  emitNode.helpers = append(emitNode.helpers, helper);\n  return node;\n}\nfunction addEmitHelpers(node, helpers) {\n  if (some(helpers)) {\n    const emitNode = getOrCreateEmitNode(node);\n    for (const helper of helpers) {\n      emitNode.helpers = appendIfUnique(emitNode.helpers, helper);\n    }\n  }\n  return node;\n}\nfunction removeEmitHelper(node, helper) {\n  var _a2;\n  const helpers = (_a2 = node.emitNode) == null ? void 0 : _a2.helpers;\n  if (helpers) {\n    return orderedRemoveItem(helpers, helper);\n  }\n  return false;\n}\nfunction getEmitHelpers(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.helpers;\n}\nfunction moveEmitHelpers(source, target, predicate) {\n  const sourceEmitNode = source.emitNode;\n  const sourceEmitHelpers = sourceEmitNode && sourceEmitNode.helpers;\n  if (!some(sourceEmitHelpers))\n    return;\n  const targetEmitNode = getOrCreateEmitNode(target);\n  let helpersRemoved = 0;\n  for (let i = 0; i < sourceEmitHelpers.length; i++) {\n    const helper = sourceEmitHelpers[i];\n    if (predicate(helper)) {\n      helpersRemoved++;\n      targetEmitNode.helpers = appendIfUnique(targetEmitNode.helpers, helper);\n    } else if (helpersRemoved > 0) {\n      sourceEmitHelpers[i - helpersRemoved] = helper;\n    }\n  }\n  if (helpersRemoved > 0) {\n    sourceEmitHelpers.length -= helpersRemoved;\n  }\n}\nfunction getSnippetElement(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.snippetElement;\n}\nfunction setSnippetElement(node, snippet) {\n  const emitNode = getOrCreateEmitNode(node);\n  emitNode.snippetElement = snippet;\n  return node;\n}\nfunction ignoreSourceNewlines(node) {\n  getOrCreateEmitNode(node).flags |= 134217728 /* IgnoreSourceNewlines */;\n  return node;\n}\nfunction setTypeNode(node, type) {\n  const emitNode = getOrCreateEmitNode(node);\n  emitNode.typeNode = type;\n  return node;\n}\nfunction getTypeNode(node) {\n  var _a2;\n  return (_a2 = node.emitNode) == null ? void 0 : _a2.typeNode;\n}\n\n// src/compiler/factory/emitHelpers.ts\nfunction createEmitHelperFactory(context) {\n  const factory2 = context.factory;\n  const immutableTrue = memoize(() => setEmitFlags(factory2.createTrue(), 268435456 /* Immutable */));\n  const immutableFalse = memoize(() => setEmitFlags(factory2.createFalse(), 268435456 /* Immutable */));\n  return {\n    getUnscopedHelperName,\n    createDecorateHelper,\n    createMetadataHelper,\n    createParamHelper,\n    createAssignHelper,\n    createAwaitHelper,\n    createAsyncGeneratorHelper,\n    createAsyncDelegatorHelper,\n    createAsyncValuesHelper,\n    createRestHelper,\n    createAwaiterHelper,\n    createExtendsHelper,\n    createTemplateObjectHelper,\n    createSpreadArrayHelper,\n    createValuesHelper,\n    createReadHelper,\n    createGeneratorHelper,\n    createCreateBindingHelper,\n    createImportStarHelper,\n    createImportStarCallbackHelper,\n    createImportDefaultHelper,\n    createExportStarHelper,\n    createClassPrivateFieldGetHelper,\n    createClassPrivateFieldSetHelper,\n    createClassPrivateFieldInHelper\n  };\n  function getUnscopedHelperName(name) {\n    return setEmitFlags(factory2.createIdentifier(name), 4096 /* HelperName */ | 2 /* AdviseOnEmitNode */);\n  }\n  function createDecorateHelper(decoratorExpressions, target, memberName, descriptor) {\n    context.requestEmitHelper(decorateHelper);\n    const argumentsArray = [];\n    argumentsArray.push(factory2.createArrayLiteralExpression(decoratorExpressions, true));\n    argumentsArray.push(target);\n    if (memberName) {\n      argumentsArray.push(memberName);\n      if (descriptor) {\n        argumentsArray.push(descriptor);\n      }\n    }\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__decorate\"),\n      void 0,\n      argumentsArray\n    );\n  }\n  function createMetadataHelper(metadataKey, metadataValue) {\n    context.requestEmitHelper(metadataHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__metadata\"),\n      void 0,\n      [\n        factory2.createStringLiteral(metadataKey),\n        metadataValue\n      ]\n    );\n  }\n  function createParamHelper(expression, parameterOffset, location) {\n    context.requestEmitHelper(paramHelper);\n    return setTextRange(\n      factory2.createCallExpression(\n        getUnscopedHelperName(\"__param\"),\n        void 0,\n        [\n          factory2.createNumericLiteral(parameterOffset + \"\"),\n          expression\n        ]\n      ),\n      location\n    );\n  }\n  function createAssignHelper(attributesSegments) {\n    if (getEmitScriptTarget(context.getCompilerOptions()) >= 2 /* ES2015 */) {\n      return factory2.createCallExpression(\n        factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Object\"), \"assign\"),\n        void 0,\n        attributesSegments\n      );\n    }\n    context.requestEmitHelper(assignHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__assign\"),\n      void 0,\n      attributesSegments\n    );\n  }\n  function createAwaitHelper(expression) {\n    context.requestEmitHelper(awaitHelper);\n    return factory2.createCallExpression(getUnscopedHelperName(\"__await\"), void 0, [expression]);\n  }\n  function createAsyncGeneratorHelper(generatorFunc, hasLexicalThis) {\n    context.requestEmitHelper(awaitHelper);\n    context.requestEmitHelper(asyncGeneratorHelper);\n    (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 262144 /* AsyncFunctionBody */ | 524288 /* ReuseTempVariableScope */;\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__asyncGenerator\"),\n      void 0,\n      [\n        hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(),\n        factory2.createIdentifier(\"arguments\"),\n        generatorFunc\n      ]\n    );\n  }\n  function createAsyncDelegatorHelper(expression) {\n    context.requestEmitHelper(awaitHelper);\n    context.requestEmitHelper(asyncDelegator);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__asyncDelegator\"),\n      void 0,\n      [expression]\n    );\n  }\n  function createAsyncValuesHelper(expression) {\n    context.requestEmitHelper(asyncValues);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__asyncValues\"),\n      void 0,\n      [expression]\n    );\n  }\n  function createRestHelper(value, elements, computedTempVariables, location) {\n    context.requestEmitHelper(restHelper);\n    const propertyNames = [];\n    let computedTempVariableOffset = 0;\n    for (let i = 0; i < elements.length - 1; i++) {\n      const propertyName = getPropertyNameOfBindingOrAssignmentElement(elements[i]);\n      if (propertyName) {\n        if (isComputedPropertyName(propertyName)) {\n          Debug.assertIsDefined(computedTempVariables, \"Encountered computed property name but 'computedTempVariables' argument was not provided.\");\n          const temp = computedTempVariables[computedTempVariableOffset];\n          computedTempVariableOffset++;\n          propertyNames.push(\n            factory2.createConditionalExpression(\n              factory2.createTypeCheck(temp, \"symbol\"),\n              void 0,\n              temp,\n              void 0,\n              factory2.createAdd(temp, factory2.createStringLiteral(\"\"))\n            )\n          );\n        } else {\n          propertyNames.push(factory2.createStringLiteralFromNode(propertyName));\n        }\n      }\n    }\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__rest\"),\n      void 0,\n      [\n        value,\n        setTextRange(\n          factory2.createArrayLiteralExpression(propertyNames),\n          location\n        )\n      ]\n    );\n  }\n  function createAwaiterHelper(hasLexicalThis, hasLexicalArguments, promiseConstructor, body) {\n    context.requestEmitHelper(awaiterHelper);\n    const generatorFunc = factory2.createFunctionExpression(\n      void 0,\n      factory2.createToken(41 /* AsteriskToken */),\n      void 0,\n      void 0,\n      [],\n      void 0,\n      body\n    );\n    (generatorFunc.emitNode || (generatorFunc.emitNode = {})).flags |= 262144 /* AsyncFunctionBody */ | 524288 /* ReuseTempVariableScope */;\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__awaiter\"),\n      void 0,\n      [\n        hasLexicalThis ? factory2.createThis() : factory2.createVoidZero(),\n        hasLexicalArguments ? factory2.createIdentifier(\"arguments\") : factory2.createVoidZero(),\n        promiseConstructor ? createExpressionFromEntityName(factory2, promiseConstructor) : factory2.createVoidZero(),\n        generatorFunc\n      ]\n    );\n  }\n  function createExtendsHelper(name) {\n    context.requestEmitHelper(extendsHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__extends\"),\n      void 0,\n      [name, factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */)]\n    );\n  }\n  function createTemplateObjectHelper(cooked, raw) {\n    context.requestEmitHelper(templateObjectHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__makeTemplateObject\"),\n      void 0,\n      [cooked, raw]\n    );\n  }\n  function createSpreadArrayHelper(to, from, packFrom) {\n    context.requestEmitHelper(spreadArrayHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__spreadArray\"),\n      void 0,\n      [to, from, packFrom ? immutableTrue() : immutableFalse()]\n    );\n  }\n  function createValuesHelper(expression) {\n    context.requestEmitHelper(valuesHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__values\"),\n      void 0,\n      [expression]\n    );\n  }\n  function createReadHelper(iteratorRecord, count) {\n    context.requestEmitHelper(readHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__read\"),\n      void 0,\n      count !== void 0 ? [iteratorRecord, factory2.createNumericLiteral(count + \"\")] : [iteratorRecord]\n    );\n  }\n  function createGeneratorHelper(body) {\n    context.requestEmitHelper(generatorHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__generator\"),\n      void 0,\n      [factory2.createThis(), body]\n    );\n  }\n  function createCreateBindingHelper(module2, inputName, outputName) {\n    context.requestEmitHelper(createBindingHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__createBinding\"),\n      void 0,\n      [factory2.createIdentifier(\"exports\"), module2, inputName, ...outputName ? [outputName] : []]\n    );\n  }\n  function createImportStarHelper(expression) {\n    context.requestEmitHelper(importStarHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__importStar\"),\n      void 0,\n      [expression]\n    );\n  }\n  function createImportStarCallbackHelper() {\n    context.requestEmitHelper(importStarHelper);\n    return getUnscopedHelperName(\"__importStar\");\n  }\n  function createImportDefaultHelper(expression) {\n    context.requestEmitHelper(importDefaultHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__importDefault\"),\n      void 0,\n      [expression]\n    );\n  }\n  function createExportStarHelper(moduleExpression, exportsExpression = factory2.createIdentifier(\"exports\")) {\n    context.requestEmitHelper(exportStarHelper);\n    context.requestEmitHelper(createBindingHelper);\n    return factory2.createCallExpression(\n      getUnscopedHelperName(\"__exportStar\"),\n      void 0,\n      [moduleExpression, exportsExpression]\n    );\n  }\n  function createClassPrivateFieldGetHelper(receiver, state, kind, f) {\n    context.requestEmitHelper(classPrivateFieldGetHelper);\n    let args;\n    if (!f) {\n      args = [receiver, state, factory2.createStringLiteral(kind)];\n    } else {\n      args = [receiver, state, factory2.createStringLiteral(kind), f];\n    }\n    return factory2.createCallExpression(getUnscopedHelperName(\"__classPrivateFieldGet\"), void 0, args);\n  }\n  function createClassPrivateFieldSetHelper(receiver, state, value, kind, f) {\n    context.requestEmitHelper(classPrivateFieldSetHelper);\n    let args;\n    if (!f) {\n      args = [receiver, state, value, factory2.createStringLiteral(kind)];\n    } else {\n      args = [receiver, state, value, factory2.createStringLiteral(kind), f];\n    }\n    return factory2.createCallExpression(getUnscopedHelperName(\"__classPrivateFieldSet\"), void 0, args);\n  }\n  function createClassPrivateFieldInHelper(state, receiver) {\n    context.requestEmitHelper(classPrivateFieldInHelper);\n    return factory2.createCallExpression(getUnscopedHelperName(\"__classPrivateFieldIn\"), void 0, [state, receiver]);\n  }\n}\nfunction compareEmitHelpers(x, y) {\n  if (x === y)\n    return 0 /* EqualTo */;\n  if (x.priority === y.priority)\n    return 0 /* EqualTo */;\n  if (x.priority === void 0)\n    return 1 /* GreaterThan */;\n  if (y.priority === void 0)\n    return -1 /* LessThan */;\n  return compareValues(x.priority, y.priority);\n}\nfunction helperString(input, ...args) {\n  return (uniqueName) => {\n    let result = \"\";\n    for (let i = 0; i < args.length; i++) {\n      result += input[i];\n      result += uniqueName(args[i]);\n    }\n    result += input[input.length - 1];\n    return result;\n  };\n}\nvar decorateHelper = {\n  name: \"typescript:decorate\",\n  importName: \"__decorate\",\n  scoped: false,\n  priority: 2,\n  text: `\n            var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n                var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n                if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n                else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n                return c > 3 && r && Object.defineProperty(target, key, r), r;\n            };`\n};\nvar metadataHelper = {\n  name: \"typescript:metadata\",\n  importName: \"__metadata\",\n  scoped: false,\n  priority: 3,\n  text: `\n            var __metadata = (this && this.__metadata) || function (k, v) {\n                if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n            };`\n};\nvar paramHelper = {\n  name: \"typescript:param\",\n  importName: \"__param\",\n  scoped: false,\n  priority: 4,\n  text: `\n            var __param = (this && this.__param) || function (paramIndex, decorator) {\n                return function (target, key) { decorator(target, key, paramIndex); }\n            };`\n};\nvar assignHelper = {\n  name: \"typescript:assign\",\n  importName: \"__assign\",\n  scoped: false,\n  priority: 1,\n  text: `\n            var __assign = (this && this.__assign) || function () {\n                __assign = Object.assign || function(t) {\n                    for (var s, i = 1, n = arguments.length; i < n; i++) {\n                        s = arguments[i];\n                        for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n                            t[p] = s[p];\n                    }\n                    return t;\n                };\n                return __assign.apply(this, arguments);\n            };`\n};\nvar awaitHelper = {\n  name: \"typescript:await\",\n  importName: \"__await\",\n  scoped: false,\n  text: `\n            var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`\n};\nvar asyncGeneratorHelper = {\n  name: \"typescript:asyncGenerator\",\n  importName: \"__asyncGenerator\",\n  scoped: false,\n  dependencies: [awaitHelper],\n  text: `\n            var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n                if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n                var g = generator.apply(thisArg, _arguments || []), i, q = [];\n                return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\n                function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n                function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n                function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n                function fulfill(value) { resume(\"next\", value); }\n                function reject(value) { resume(\"throw\", value); }\n                function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n            };`\n};\nvar asyncDelegator = {\n  name: \"typescript:asyncDelegator\",\n  importName: \"__asyncDelegator\",\n  scoped: false,\n  dependencies: [awaitHelper],\n  text: `\n            var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n                var i, p;\n                return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n                function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\n            };`\n};\nvar asyncValues = {\n  name: \"typescript:asyncValues\",\n  importName: \"__asyncValues\",\n  scoped: false,\n  text: `\n            var __asyncValues = (this && this.__asyncValues) || function (o) {\n                if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n                var m = o[Symbol.asyncIterator], i;\n                return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n                function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n                function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n            };`\n};\nvar restHelper = {\n  name: \"typescript:rest\",\n  importName: \"__rest\",\n  scoped: false,\n  text: `\n            var __rest = (this && this.__rest) || function (s, e) {\n                var t = {};\n                for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n                    t[p] = s[p];\n                if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n                    for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n                        if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n                            t[p[i]] = s[p[i]];\n                    }\n                return t;\n            };`\n};\nvar awaiterHelper = {\n  name: \"typescript:awaiter\",\n  importName: \"__awaiter\",\n  scoped: false,\n  priority: 5,\n  text: `\n            var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n                function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n                return new (P || (P = Promise))(function (resolve, reject) {\n                    function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n                    function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n                    function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n                    step((generator = generator.apply(thisArg, _arguments || [])).next());\n                });\n            };`\n};\nvar extendsHelper = {\n  name: \"typescript:extends\",\n  importName: \"__extends\",\n  scoped: false,\n  priority: 0,\n  text: `\n            var __extends = (this && this.__extends) || (function () {\n                var extendStatics = function (d, b) {\n                    extendStatics = Object.setPrototypeOf ||\n                        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n                        function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n                    return extendStatics(d, b);\n                };\n\n                return function (d, b) {\n                    if (typeof b !== \"function\" && b !== null)\n                        throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n                    extendStatics(d, b);\n                    function __() { this.constructor = d; }\n                    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n                };\n            })();`\n};\nvar templateObjectHelper = {\n  name: \"typescript:makeTemplateObject\",\n  importName: \"__makeTemplateObject\",\n  scoped: false,\n  priority: 0,\n  text: `\n            var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n                if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n                return cooked;\n            };`\n};\nvar readHelper = {\n  name: \"typescript:read\",\n  importName: \"__read\",\n  scoped: false,\n  text: `\n            var __read = (this && this.__read) || function (o, n) {\n                var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n                if (!m) return o;\n                var i = m.call(o), r, ar = [], e;\n                try {\n                    while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n                }\n                catch (error) { e = { error: error }; }\n                finally {\n                    try {\n                        if (r && !r.done && (m = i[\"return\"])) m.call(i);\n                    }\n                    finally { if (e) throw e.error; }\n                }\n                return ar;\n            };`\n};\nvar spreadArrayHelper = {\n  name: \"typescript:spreadArray\",\n  importName: \"__spreadArray\",\n  scoped: false,\n  text: `\n            var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n                if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n                    if (ar || !(i in from)) {\n                        if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n                        ar[i] = from[i];\n                    }\n                }\n                return to.concat(ar || Array.prototype.slice.call(from));\n            };`\n};\nvar valuesHelper = {\n  name: \"typescript:values\",\n  importName: \"__values\",\n  scoped: false,\n  text: `\n            var __values = (this && this.__values) || function(o) {\n                var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n                if (m) return m.call(o);\n                if (o && typeof o.length === \"number\") return {\n                    next: function () {\n                        if (o && i >= o.length) o = void 0;\n                        return { value: o && o[i++], done: !o };\n                    }\n                };\n                throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n            };`\n};\nvar generatorHelper = {\n  name: \"typescript:generator\",\n  importName: \"__generator\",\n  scoped: false,\n  priority: 6,\n  text: `\n            var __generator = (this && this.__generator) || function (thisArg, body) {\n                var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n                return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n                function verb(n) { return function (v) { return step([n, v]); }; }\n                function step(op) {\n                    if (f) throw new TypeError(\"Generator is already executing.\");\n                    while (g && (g = 0, op[0] && (_ = 0)), _) try {\n                        if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n                        if (y = 0, t) op = [op[0] & 2, t.value];\n                        switch (op[0]) {\n                            case 0: case 1: t = op; break;\n                            case 4: _.label++; return { value: op[1], done: false };\n                            case 5: _.label++; y = op[1]; op = [0]; continue;\n                            case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                            default:\n                                if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                                if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                                if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                                if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                                if (t[2]) _.ops.pop();\n                                _.trys.pop(); continue;\n                        }\n                        op = body.call(thisArg, _);\n                    } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n                    if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n                }\n            };`\n};\nvar createBindingHelper = {\n  name: \"typescript:commonjscreatebinding\",\n  importName: \"__createBinding\",\n  scoped: false,\n  priority: 1,\n  text: `\n            var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                var desc = Object.getOwnPropertyDescriptor(m, k);\n                if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n                  desc = { enumerable: true, get: function() { return m[k]; } };\n                }\n                Object.defineProperty(o, k2, desc);\n            }) : (function(o, m, k, k2) {\n                if (k2 === undefined) k2 = k;\n                o[k2] = m[k];\n            }));`\n};\nvar setModuleDefaultHelper = {\n  name: \"typescript:commonjscreatevalue\",\n  importName: \"__setModuleDefault\",\n  scoped: false,\n  priority: 1,\n  text: `\n            var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n                Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n            }) : function(o, v) {\n                o[\"default\"] = v;\n            });`\n};\nvar importStarHelper = {\n  name: \"typescript:commonjsimportstar\",\n  importName: \"__importStar\",\n  scoped: false,\n  dependencies: [createBindingHelper, setModuleDefaultHelper],\n  priority: 2,\n  text: `\n            var __importStar = (this && this.__importStar) || function (mod) {\n                if (mod && mod.__esModule) return mod;\n                var result = {};\n                if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n                __setModuleDefault(result, mod);\n                return result;\n            };`\n};\nvar importDefaultHelper = {\n  name: \"typescript:commonjsimportdefault\",\n  importName: \"__importDefault\",\n  scoped: false,\n  text: `\n            var __importDefault = (this && this.__importDefault) || function (mod) {\n                return (mod && mod.__esModule) ? mod : { \"default\": mod };\n            };`\n};\nvar exportStarHelper = {\n  name: \"typescript:export-star\",\n  importName: \"__exportStar\",\n  scoped: false,\n  dependencies: [createBindingHelper],\n  priority: 2,\n  text: `\n            var __exportStar = (this && this.__exportStar) || function(m, exports) {\n                for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n            };`\n};\nvar classPrivateFieldGetHelper = {\n  name: \"typescript:classPrivateFieldGet\",\n  importName: \"__classPrivateFieldGet\",\n  scoped: false,\n  text: `\n            var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n                if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n                if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n                return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n            };`\n};\nvar classPrivateFieldSetHelper = {\n  name: \"typescript:classPrivateFieldSet\",\n  importName: \"__classPrivateFieldSet\",\n  scoped: false,\n  text: `\n            var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n                if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n                if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n                if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n                return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n            };`\n};\nvar classPrivateFieldInHelper = {\n  name: \"typescript:classPrivateFieldIn\",\n  importName: \"__classPrivateFieldIn\",\n  scoped: false,\n  text: `\n            var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n                if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n                return typeof state === \"function\" ? receiver === state : state.has(receiver);\n            };`\n};\nvar allUnscopedEmitHelpers;\nfunction getAllUnscopedEmitHelpers() {\n  return allUnscopedEmitHelpers || (allUnscopedEmitHelpers = arrayToMap([\n    decorateHelper,\n    metadataHelper,\n    paramHelper,\n    assignHelper,\n    awaitHelper,\n    asyncGeneratorHelper,\n    asyncDelegator,\n    asyncValues,\n    restHelper,\n    awaiterHelper,\n    extendsHelper,\n    templateObjectHelper,\n    spreadArrayHelper,\n    valuesHelper,\n    readHelper,\n    generatorHelper,\n    importStarHelper,\n    importDefaultHelper,\n    exportStarHelper,\n    classPrivateFieldGetHelper,\n    classPrivateFieldSetHelper,\n    classPrivateFieldInHelper,\n    createBindingHelper,\n    setModuleDefaultHelper\n  ], (helper) => helper.name));\n}\nvar asyncSuperHelper = {\n  name: \"typescript:async-super\",\n  scoped: true,\n  text: helperString`\n            const ${\"_superIndex\"} = name => super[name];`\n};\nvar advancedAsyncSuperHelper = {\n  name: \"typescript:advanced-async-super\",\n  scoped: true,\n  text: helperString`\n            const ${\"_superIndex\"} = (function (geti, seti) {\n                const cache = Object.create(null);\n                return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n            })(name => super[name], (name, value) => super[name] = value);`\n};\nfunction isCallToHelper(firstSegment, helperName) {\n  return isCallExpression(firstSegment) && isIdentifier(firstSegment.expression) && (getEmitFlags(firstSegment.expression) & 4096 /* HelperName */) !== 0 && firstSegment.expression.escapedText === helperName;\n}\n\n// src/compiler/factory/nodeTests.ts\nfunction isNumericLiteral(node) {\n  return node.kind === 8 /* NumericLiteral */;\n}\nfunction isBigIntLiteral(node) {\n  return node.kind === 9 /* BigIntLiteral */;\n}\nfunction isStringLiteral(node) {\n  return node.kind === 10 /* StringLiteral */;\n}\nfunction isJsxText(node) {\n  return node.kind === 11 /* JsxText */;\n}\nfunction isRegularExpressionLiteral(node) {\n  return node.kind === 13 /* RegularExpressionLiteral */;\n}\nfunction isNoSubstitutionTemplateLiteral(node) {\n  return node.kind === 14 /* NoSubstitutionTemplateLiteral */;\n}\nfunction isTemplateHead(node) {\n  return node.kind === 15 /* TemplateHead */;\n}\nfunction isTemplateMiddle(node) {\n  return node.kind === 16 /* TemplateMiddle */;\n}\nfunction isTemplateTail(node) {\n  return node.kind === 17 /* TemplateTail */;\n}\nfunction isDotDotDotToken(node) {\n  return node.kind === 25 /* DotDotDotToken */;\n}\nfunction isCommaToken(node) {\n  return node.kind === 27 /* CommaToken */;\n}\nfunction isPlusToken(node) {\n  return node.kind === 39 /* PlusToken */;\n}\nfunction isMinusToken(node) {\n  return node.kind === 40 /* MinusToken */;\n}\nfunction isAsteriskToken(node) {\n  return node.kind === 41 /* AsteriskToken */;\n}\nfunction isExclamationToken(node) {\n  return node.kind === 53 /* ExclamationToken */;\n}\nfunction isQuestionToken(node) {\n  return node.kind === 57 /* QuestionToken */;\n}\nfunction isColonToken(node) {\n  return node.kind === 58 /* ColonToken */;\n}\nfunction isQuestionDotToken(node) {\n  return node.kind === 28 /* QuestionDotToken */;\n}\nfunction isEqualsGreaterThanToken(node) {\n  return node.kind === 38 /* EqualsGreaterThanToken */;\n}\nfunction isIdentifier(node) {\n  return node.kind === 79 /* Identifier */;\n}\nfunction isPrivateIdentifier(node) {\n  return node.kind === 80 /* PrivateIdentifier */;\n}\nfunction isExportModifier(node) {\n  return node.kind === 94 /* ExportKeyword */;\n}\nfunction isAsyncModifier(node) {\n  return node.kind === 133 /* AsyncKeyword */;\n}\nfunction isAssertsKeyword(node) {\n  return node.kind === 130 /* AssertsKeyword */;\n}\nfunction isAwaitKeyword(node) {\n  return node.kind === 134 /* AwaitKeyword */;\n}\nfunction isReadonlyKeyword(node) {\n  return node.kind === 147 /* ReadonlyKeyword */;\n}\nfunction isStaticModifier(node) {\n  return node.kind === 125 /* StaticKeyword */;\n}\nfunction isAbstractModifier(node) {\n  return node.kind === 127 /* AbstractKeyword */;\n}\nfunction isOverrideModifier(node) {\n  return node.kind === 163 /* OverrideKeyword */;\n}\nfunction isAccessorModifier(node) {\n  return node.kind === 128 /* AccessorKeyword */;\n}\nfunction isSuperKeyword(node) {\n  return node.kind === 107 /* SuperKeyword */;\n}\nfunction isImportKeyword(node) {\n  return node.kind === 101 /* ImportKeyword */;\n}\nfunction isQualifiedName(node) {\n  return node.kind === 165 /* QualifiedName */;\n}\nfunction isComputedPropertyName(node) {\n  return node.kind === 166 /* ComputedPropertyName */;\n}\nfunction isTypeParameterDeclaration(node) {\n  return node.kind === 167 /* TypeParameter */;\n}\nfunction isParameter(node) {\n  return node.kind === 168 /* Parameter */;\n}\nfunction isDecoratorOrAnnotation(node) {\n  return node.kind === 169 /* Decorator */;\n}\nfunction isDecorator(node) {\n  return node.kind === 169 /* Decorator */ && node.annotationDeclaration === void 0;\n}\nfunction isAnnotation(node) {\n  return node.kind === 169 /* Decorator */ && node.annotationDeclaration !== void 0;\n}\nfunction isPropertySignature(node) {\n  return node.kind === 170 /* PropertySignature */;\n}\nfunction isPropertyDeclaration(node) {\n  return node.kind === 171 /* PropertyDeclaration */;\n}\nfunction isAnnotationPropertyDeclaration(node) {\n  return node.kind === 172 /* AnnotationPropertyDeclaration */;\n}\nfunction isMethodSignature(node) {\n  return node.kind === 173 /* MethodSignature */;\n}\nfunction isMethodDeclaration(node) {\n  return node.kind === 174 /* MethodDeclaration */;\n}\nfunction isClassStaticBlockDeclaration(node) {\n  return node.kind === 175 /* ClassStaticBlockDeclaration */;\n}\nfunction isConstructorDeclaration(node) {\n  return node.kind === 176 /* Constructor */;\n}\nfunction isGetAccessorDeclaration(node) {\n  return node.kind === 177 /* GetAccessor */;\n}\nfunction isSetAccessorDeclaration(node) {\n  return node.kind === 178 /* SetAccessor */;\n}\nfunction isCallSignatureDeclaration(node) {\n  return node.kind === 179 /* CallSignature */;\n}\nfunction isConstructSignatureDeclaration(node) {\n  return node.kind === 180 /* ConstructSignature */;\n}\nfunction isIndexSignatureDeclaration(node) {\n  return node.kind === 181 /* IndexSignature */;\n}\nfunction isTypePredicateNode(node) {\n  return node.kind === 182 /* TypePredicate */;\n}\nfunction isTypeReferenceNode(node) {\n  return node.kind === 183 /* TypeReference */;\n}\nfunction isFunctionTypeNode(node) {\n  return node.kind === 184 /* FunctionType */;\n}\nfunction isConstructorTypeNode(node) {\n  return node.kind === 185 /* ConstructorType */;\n}\nfunction isTypeQueryNode(node) {\n  return node.kind === 186 /* TypeQuery */;\n}\nfunction isTypeLiteralNode(node) {\n  return node.kind === 187 /* TypeLiteral */;\n}\nfunction isArrayTypeNode(node) {\n  return node.kind === 188 /* ArrayType */;\n}\nfunction isTupleTypeNode(node) {\n  return node.kind === 189 /* TupleType */;\n}\nfunction isNamedTupleMember(node) {\n  return node.kind === 202 /* NamedTupleMember */;\n}\nfunction isOptionalTypeNode(node) {\n  return node.kind === 190 /* OptionalType */;\n}\nfunction isRestTypeNode(node) {\n  return node.kind === 191 /* RestType */;\n}\nfunction isUnionTypeNode(node) {\n  return node.kind === 192 /* UnionType */;\n}\nfunction isIntersectionTypeNode(node) {\n  return node.kind === 193 /* IntersectionType */;\n}\nfunction isConditionalTypeNode(node) {\n  return node.kind === 194 /* ConditionalType */;\n}\nfunction isInferTypeNode(node) {\n  return node.kind === 195 /* InferType */;\n}\nfunction isParenthesizedTypeNode(node) {\n  return node.kind === 196 /* ParenthesizedType */;\n}\nfunction isThisTypeNode(node) {\n  return node.kind === 197 /* ThisType */;\n}\nfunction isTypeOperatorNode(node) {\n  return node.kind === 198 /* TypeOperator */;\n}\nfunction isIndexedAccessTypeNode(node) {\n  return node.kind === 199 /* IndexedAccessType */;\n}\nfunction isMappedTypeNode(node) {\n  return node.kind === 200 /* MappedType */;\n}\nfunction isLiteralTypeNode(node) {\n  return node.kind === 201 /* LiteralType */;\n}\nfunction isImportTypeNode(node) {\n  return node.kind === 205 /* ImportType */;\n}\nfunction isTemplateLiteralTypeSpan(node) {\n  return node.kind === 204 /* TemplateLiteralTypeSpan */;\n}\nfunction isTemplateLiteralTypeNode(node) {\n  return node.kind === 203 /* TemplateLiteralType */;\n}\nfunction isObjectBindingPattern(node) {\n  return node.kind === 206 /* ObjectBindingPattern */;\n}\nfunction isArrayBindingPattern(node) {\n  return node.kind === 207 /* ArrayBindingPattern */;\n}\nfunction isBindingElement(node) {\n  return node.kind === 208 /* BindingElement */;\n}\nfunction isArrayLiteralExpression(node) {\n  return node.kind === 209 /* ArrayLiteralExpression */;\n}\nfunction isObjectLiteralExpression(node) {\n  return node.kind === 210 /* ObjectLiteralExpression */;\n}\nfunction isPropertyAccessExpression(node) {\n  return node.kind === 211 /* PropertyAccessExpression */;\n}\nfunction isElementAccessExpression(node) {\n  return node.kind === 212 /* ElementAccessExpression */;\n}\nfunction isCallExpression(node) {\n  return node.kind === 213 /* CallExpression */;\n}\nfunction isNewExpression(node) {\n  return node.kind === 214 /* NewExpression */;\n}\nfunction isTaggedTemplateExpression(node) {\n  return node.kind === 215 /* TaggedTemplateExpression */;\n}\nfunction isTypeAssertionExpression(node) {\n  return node.kind === 216 /* TypeAssertionExpression */;\n}\nfunction isParenthesizedExpression(node) {\n  return node.kind === 217 /* ParenthesizedExpression */;\n}\nfunction isFunctionExpression(node) {\n  return node.kind === 218 /* FunctionExpression */;\n}\nfunction isEtsComponentExpression(node) {\n  return node.kind === 220 /* EtsComponentExpression */;\n}\nfunction isArrowFunction(node) {\n  return node.kind === 219 /* ArrowFunction */;\n}\nfunction isDeleteExpression(node) {\n  return node.kind === 221 /* DeleteExpression */;\n}\nfunction isTypeOfExpression(node) {\n  return node.kind === 222 /* TypeOfExpression */;\n}\nfunction isVoidExpression(node) {\n  return node.kind === 223 /* VoidExpression */;\n}\nfunction isAwaitExpression(node) {\n  return node.kind === 224 /* AwaitExpression */;\n}\nfunction isPrefixUnaryExpression(node) {\n  return node.kind === 225 /* PrefixUnaryExpression */;\n}\nfunction isPostfixUnaryExpression(node) {\n  return node.kind === 226 /* PostfixUnaryExpression */;\n}\nfunction isBinaryExpression(node) {\n  return node.kind === 227 /* BinaryExpression */;\n}\nfunction isConditionalExpression(node) {\n  return node.kind === 228 /* ConditionalExpression */;\n}\nfunction isTemplateExpression(node) {\n  return node.kind === 229 /* TemplateExpression */;\n}\nfunction isYieldExpression(node) {\n  return node.kind === 230 /* YieldExpression */;\n}\nfunction isSpreadElement(node) {\n  return node.kind === 231 /* SpreadElement */;\n}\nfunction isClassExpression(node) {\n  return node.kind === 232 /* ClassExpression */;\n}\nfunction isOmittedExpression(node) {\n  return node.kind === 233 /* OmittedExpression */;\n}\nfunction isExpressionWithTypeArguments(node) {\n  return node.kind === 234 /* ExpressionWithTypeArguments */;\n}\nfunction isAsExpression(node) {\n  return node.kind === 235 /* AsExpression */;\n}\nfunction isSatisfiesExpression(node) {\n  return node.kind === 239 /* SatisfiesExpression */;\n}\nfunction isNonNullExpression(node) {\n  return node.kind === 236 /* NonNullExpression */;\n}\nfunction isMetaProperty(node) {\n  return node.kind === 237 /* MetaProperty */;\n}\nfunction isSyntheticExpression(node) {\n  return node.kind === 238 /* SyntheticExpression */;\n}\nfunction isPartiallyEmittedExpression(node) {\n  return node.kind === 359 /* PartiallyEmittedExpression */;\n}\nfunction isCommaListExpression(node) {\n  return node.kind === 360 /* CommaListExpression */;\n}\nfunction isTemplateSpan(node) {\n  return node.kind === 240 /* TemplateSpan */;\n}\nfunction isSemicolonClassElement(node) {\n  return node.kind === 241 /* SemicolonClassElement */;\n}\nfunction isBlock(node) {\n  return node.kind === 242 /* Block */;\n}\nfunction isVariableStatement(node) {\n  return node.kind === 244 /* VariableStatement */;\n}\nfunction isEmptyStatement(node) {\n  return node.kind === 243 /* EmptyStatement */;\n}\nfunction isExpressionStatement(node) {\n  return node.kind === 245 /* ExpressionStatement */;\n}\nfunction isIfStatement(node) {\n  return node.kind === 246 /* IfStatement */;\n}\nfunction isDoStatement(node) {\n  return node.kind === 247 /* DoStatement */;\n}\nfunction isWhileStatement(node) {\n  return node.kind === 248 /* WhileStatement */;\n}\nfunction isForStatement(node) {\n  return node.kind === 249 /* ForStatement */;\n}\nfunction isForInStatement(node) {\n  return node.kind === 250 /* ForInStatement */;\n}\nfunction isForOfStatement(node) {\n  return node.kind === 251 /* ForOfStatement */;\n}\nfunction isContinueStatement(node) {\n  return node.kind === 252 /* ContinueStatement */;\n}\nfunction isBreakStatement(node) {\n  return node.kind === 253 /* BreakStatement */;\n}\nfunction isReturnStatement(node) {\n  return node.kind === 254 /* ReturnStatement */;\n}\nfunction isWithStatement(node) {\n  return node.kind === 255 /* WithStatement */;\n}\nfunction isSwitchStatement(node) {\n  return node.kind === 256 /* SwitchStatement */;\n}\nfunction isLabeledStatement(node) {\n  return node.kind === 257 /* LabeledStatement */;\n}\nfunction isThrowStatement(node) {\n  return node.kind === 258 /* ThrowStatement */;\n}\nfunction isTryStatement(node) {\n  return node.kind === 259 /* TryStatement */;\n}\nfunction isDebuggerStatement(node) {\n  return node.kind === 260 /* DebuggerStatement */;\n}\nfunction isVariableDeclaration(node) {\n  return node.kind === 261 /* VariableDeclaration */;\n}\nfunction isVariableDeclarationList(node) {\n  return node.kind === 262 /* VariableDeclarationList */;\n}\nfunction isFunctionDeclaration(node) {\n  return node.kind === 263 /* FunctionDeclaration */;\n}\nfunction isClassDeclaration(node) {\n  return node.kind === 264 /* ClassDeclaration */;\n}\nfunction isStructDeclaration(node) {\n  return node.kind === 265 /* StructDeclaration */;\n}\nfunction isAnnotationDeclaration(node) {\n  return node.kind === 266 /* AnnotationDeclaration */;\n}\nfunction isInterfaceDeclaration(node) {\n  return node.kind === 267 /* InterfaceDeclaration */;\n}\nfunction isTypeAliasDeclaration(node) {\n  return node.kind === 268 /* TypeAliasDeclaration */;\n}\nfunction isEnumDeclaration(node) {\n  return node.kind === 269 /* EnumDeclaration */;\n}\nfunction isModuleDeclaration(node) {\n  return node.kind === 270 /* ModuleDeclaration */;\n}\nfunction isModuleBlock(node) {\n  return node.kind === 271 /* ModuleBlock */;\n}\nfunction isCaseBlock(node) {\n  return node.kind === 272 /* CaseBlock */;\n}\nfunction isNamespaceExportDeclaration(node) {\n  return node.kind === 273 /* NamespaceExportDeclaration */;\n}\nfunction isImportEqualsDeclaration(node) {\n  return node.kind === 274 /* ImportEqualsDeclaration */;\n}\nfunction isImportDeclaration(node) {\n  return node.kind === 275 /* ImportDeclaration */;\n}\nfunction isImportClause(node) {\n  return node.kind === 276 /* ImportClause */;\n}\nfunction isImportTypeAssertionContainer(node) {\n  return node.kind === 304 /* ImportTypeAssertionContainer */;\n}\nfunction isAssertClause(node) {\n  return node.kind === 302 /* AssertClause */;\n}\nfunction isAssertEntry(node) {\n  return node.kind === 303 /* AssertEntry */;\n}\nfunction isNamespaceImport(node) {\n  return node.kind === 277 /* NamespaceImport */;\n}\nfunction isNamespaceExport(node) {\n  return node.kind === 283 /* NamespaceExport */;\n}\nfunction isNamedImports(node) {\n  return node.kind === 278 /* NamedImports */;\n}\nfunction isImportSpecifier(node) {\n  return node.kind === 279 /* ImportSpecifier */;\n}\nfunction isExportAssignment(node) {\n  return node.kind === 280 /* ExportAssignment */;\n}\nfunction isExportDeclaration(node) {\n  return node.kind === 281 /* ExportDeclaration */;\n}\nfunction isNamedExports(node) {\n  return node.kind === 282 /* NamedExports */;\n}\nfunction isExportSpecifier(node) {\n  return node.kind === 284 /* ExportSpecifier */;\n}\nfunction isMissingDeclaration(node) {\n  return node.kind === 285 /* MissingDeclaration */;\n}\nfunction isNotEmittedStatement(node) {\n  return node.kind === 358 /* NotEmittedStatement */;\n}\nfunction isSyntheticReference(node) {\n  return node.kind === 363 /* SyntheticReferenceExpression */;\n}\nfunction isMergeDeclarationMarker(node) {\n  return node.kind === 361 /* MergeDeclarationMarker */;\n}\nfunction isEndOfDeclarationMarker(node) {\n  return node.kind === 362 /* EndOfDeclarationMarker */;\n}\nfunction isExternalModuleReference(node) {\n  return node.kind === 286 /* ExternalModuleReference */;\n}\nfunction isJsxElement(node) {\n  return node.kind === 287 /* JsxElement */;\n}\nfunction isJsxSelfClosingElement(node) {\n  return node.kind === 288 /* JsxSelfClosingElement */;\n}\nfunction isJsxOpeningElement(node) {\n  return node.kind === 289 /* JsxOpeningElement */;\n}\nfunction isJsxClosingElement(node) {\n  return node.kind === 290 /* JsxClosingElement */;\n}\nfunction isJsxFragment(node) {\n  return node.kind === 291 /* JsxFragment */;\n}\nfunction isJsxOpeningFragment(node) {\n  return node.kind === 292 /* JsxOpeningFragment */;\n}\nfunction isJsxClosingFragment(node) {\n  return node.kind === 293 /* JsxClosingFragment */;\n}\nfunction isJsxAttribute(node) {\n  return node.kind === 294 /* JsxAttribute */;\n}\nfunction isJsxAttributes(node) {\n  return node.kind === 295 /* JsxAttributes */;\n}\nfunction isJsxSpreadAttribute(node) {\n  return node.kind === 296 /* JsxSpreadAttribute */;\n}\nfunction isJsxExpression(node) {\n  return node.kind === 297 /* JsxExpression */;\n}\nfunction isCaseClause(node) {\n  return node.kind === 298 /* CaseClause */;\n}\nfunction isDefaultClause(node) {\n  return node.kind === 299 /* DefaultClause */;\n}\nfunction isHeritageClause(node) {\n  return node.kind === 300 /* HeritageClause */;\n}\nfunction isCatchClause(node) {\n  return node.kind === 301 /* CatchClause */;\n}\nfunction isPropertyAssignment(node) {\n  return node.kind === 305 /* PropertyAssignment */;\n}\nfunction isShorthandPropertyAssignment(node) {\n  return node.kind === 306 /* ShorthandPropertyAssignment */;\n}\nfunction isSpreadAssignment(node) {\n  return node.kind === 307 /* SpreadAssignment */;\n}\nfunction isEnumMember(node) {\n  return node.kind === 308 /* EnumMember */;\n}\nfunction isUnparsedPrepend(node) {\n  return node.kind === 310 /* UnparsedPrepend */;\n}\nfunction isSourceFile(node) {\n  return node.kind === 314 /* SourceFile */;\n}\nfunction isBundle(node) {\n  return node.kind === 315 /* Bundle */;\n}\nfunction isUnparsedSource(node) {\n  return node.kind === 316 /* UnparsedSource */;\n}\nfunction isJSDocTypeExpression(node) {\n  return node.kind === 318 /* JSDocTypeExpression */;\n}\nfunction isJSDocNameReference(node) {\n  return node.kind === 319 /* JSDocNameReference */;\n}\nfunction isJSDocMemberName(node) {\n  return node.kind === 320 /* JSDocMemberName */;\n}\nfunction isJSDocLink(node) {\n  return node.kind === 333 /* JSDocLink */;\n}\nfunction isJSDocLinkCode(node) {\n  return node.kind === 334 /* JSDocLinkCode */;\n}\nfunction isJSDocLinkPlain(node) {\n  return node.kind === 335 /* JSDocLinkPlain */;\n}\nfunction isJSDocAllType(node) {\n  return node.kind === 321 /* JSDocAllType */;\n}\nfunction isJSDocUnknownType(node) {\n  return node.kind === 322 /* JSDocUnknownType */;\n}\nfunction isJSDocNullableType(node) {\n  return node.kind === 323 /* JSDocNullableType */;\n}\nfunction isJSDocNonNullableType(node) {\n  return node.kind === 324 /* JSDocNonNullableType */;\n}\nfunction isJSDocOptionalType(node) {\n  return node.kind === 325 /* JSDocOptionalType */;\n}\nfunction isJSDocFunctionType(node) {\n  return node.kind === 326 /* JSDocFunctionType */;\n}\nfunction isJSDocVariadicType(node) {\n  return node.kind === 327 /* JSDocVariadicType */;\n}\nfunction isJSDocNamepathType(node) {\n  return node.kind === 328 /* JSDocNamepathType */;\n}\nfunction isJSDoc(node) {\n  return node.kind === 329 /* JSDoc */;\n}\nfunction isJSDocTypeLiteral(node) {\n  return node.kind === 331 /* JSDocTypeLiteral */;\n}\nfunction isJSDocSignature(node) {\n  return node.kind === 332 /* JSDocSignature */;\n}\nfunction isJSDocAugmentsTag(node) {\n  return node.kind === 337 /* JSDocAugmentsTag */;\n}\nfunction isJSDocAuthorTag(node) {\n  return node.kind === 339 /* JSDocAuthorTag */;\n}\nfunction isJSDocClassTag(node) {\n  return node.kind === 341 /* JSDocClassTag */;\n}\nfunction isJSDocCallbackTag(node) {\n  return node.kind === 347 /* JSDocCallbackTag */;\n}\nfunction isJSDocPublicTag(node) {\n  return node.kind === 342 /* JSDocPublicTag */;\n}\nfunction isJSDocPrivateTag(node) {\n  return node.kind === 343 /* JSDocPrivateTag */;\n}\nfunction isJSDocProtectedTag(node) {\n  return node.kind === 344 /* JSDocProtectedTag */;\n}\nfunction isJSDocReadonlyTag(node) {\n  return node.kind === 345 /* JSDocReadonlyTag */;\n}\nfunction isJSDocOverrideTag(node) {\n  return node.kind === 346 /* JSDocOverrideTag */;\n}\nfunction isJSDocDeprecatedTag(node) {\n  return node.kind === 340 /* JSDocDeprecatedTag */;\n}\nfunction isJSDocSeeTag(node) {\n  return node.kind === 355 /* JSDocSeeTag */;\n}\nfunction isJSDocEnumTag(node) {\n  return node.kind === 348 /* JSDocEnumTag */;\n}\nfunction isJSDocParameterTag(node) {\n  return node.kind === 349 /* JSDocParameterTag */;\n}\nfunction isJSDocReturnTag(node) {\n  return node.kind === 350 /* JSDocReturnTag */;\n}\nfunction isJSDocThisTag(node) {\n  return node.kind === 351 /* JSDocThisTag */;\n}\nfunction isJSDocTypeTag(node) {\n  return node.kind === 352 /* JSDocTypeTag */;\n}\nfunction isJSDocTemplateTag(node) {\n  return node.kind === 353 /* JSDocTemplateTag */;\n}\nfunction isJSDocTypedefTag(node) {\n  return node.kind === 354 /* JSDocTypedefTag */;\n}\nfunction isJSDocUnknownTag(node) {\n  return node.kind === 336 /* JSDocTag */;\n}\nfunction isJSDocPropertyTag(node) {\n  return node.kind === 356 /* JSDocPropertyTag */;\n}\nfunction isJSDocImplementsTag(node) {\n  return node.kind === 338 /* JSDocImplementsTag */;\n}\nfunction isSyntaxList(n) {\n  return n.kind === 357 /* SyntaxList */;\n}\n\n// src/compiler/factory/utilities.ts\nfunction createEmptyExports(factory2) {\n  return factory2.createExportDeclaration(void 0, false, factory2.createNamedExports([]), void 0);\n}\nfunction createMemberAccessForPropertyName(factory2, target, memberName, location) {\n  if (isComputedPropertyName(memberName)) {\n    return setTextRange(factory2.createElementAccessExpression(target, memberName.expression), location);\n  } else {\n    const expression = setTextRange(\n      isMemberName(memberName) ? factory2.createPropertyAccessExpression(target, memberName) : factory2.createElementAccessExpression(target, memberName),\n      memberName\n    );\n    getOrCreateEmitNode(expression).flags |= 64 /* NoNestedSourceMaps */;\n    return expression;\n  }\n}\nfunction createReactNamespace(reactNamespace, parent2) {\n  const react = parseNodeFactory.createIdentifier(reactNamespace || \"React\");\n  setParent(react, getParseTreeNode(parent2));\n  return react;\n}\nfunction createJsxFactoryExpressionFromEntityName(factory2, jsxFactory, parent2) {\n  if (isQualifiedName(jsxFactory)) {\n    const left = createJsxFactoryExpressionFromEntityName(factory2, jsxFactory.left, parent2);\n    const right = factory2.createIdentifier(idText(jsxFactory.right));\n    right.escapedText = jsxFactory.right.escapedText;\n    return factory2.createPropertyAccessExpression(left, right);\n  } else {\n    return createReactNamespace(idText(jsxFactory), parent2);\n  }\n}\nfunction createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parent2) {\n  return jsxFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFactoryEntity, parent2) : factory2.createPropertyAccessExpression(\n    createReactNamespace(reactNamespace, parent2),\n    \"createElement\"\n  );\n}\nfunction createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parent2) {\n  return jsxFragmentFactoryEntity ? createJsxFactoryExpressionFromEntityName(factory2, jsxFragmentFactoryEntity, parent2) : factory2.createPropertyAccessExpression(\n    createReactNamespace(reactNamespace, parent2),\n    \"Fragment\"\n  );\n}\nfunction createExpressionForJsxElement(factory2, callee, tagName, props, children, location) {\n  const argumentsList = [tagName];\n  if (props) {\n    argumentsList.push(props);\n  }\n  if (children && children.length > 0) {\n    if (!props) {\n      argumentsList.push(factory2.createNull());\n    }\n    if (children.length > 1) {\n      for (const child of children) {\n        startOnNewLine(child);\n        argumentsList.push(child);\n      }\n    } else {\n      argumentsList.push(children[0]);\n    }\n  }\n  return setTextRange(\n    factory2.createCallExpression(\n      callee,\n      void 0,\n      argumentsList\n    ),\n    location\n  );\n}\nfunction createExpressionForJsxFragment(factory2, jsxFactoryEntity, jsxFragmentFactoryEntity, reactNamespace, children, parentElement, location) {\n  const tagName = createJsxFragmentFactoryExpression(factory2, jsxFragmentFactoryEntity, reactNamespace, parentElement);\n  const argumentsList = [tagName, factory2.createNull()];\n  if (children && children.length > 0) {\n    if (children.length > 1) {\n      for (const child of children) {\n        startOnNewLine(child);\n        argumentsList.push(child);\n      }\n    } else {\n      argumentsList.push(children[0]);\n    }\n  }\n  return setTextRange(\n    factory2.createCallExpression(\n      createJsxFactoryExpression(factory2, jsxFactoryEntity, reactNamespace, parentElement),\n      void 0,\n      argumentsList\n    ),\n    location\n  );\n}\nfunction createForOfBindingStatement(factory2, node, boundValue) {\n  if (isVariableDeclarationList(node)) {\n    const firstDeclaration = first(node.declarations);\n    const updatedDeclaration = factory2.updateVariableDeclaration(\n      firstDeclaration,\n      firstDeclaration.name,\n      void 0,\n      void 0,\n      boundValue\n    );\n    return setTextRange(\n      factory2.createVariableStatement(\n        void 0,\n        factory2.updateVariableDeclarationList(node, [updatedDeclaration])\n      ),\n      node\n    );\n  } else {\n    const updatedExpression = setTextRange(factory2.createAssignment(node, boundValue), node);\n    return setTextRange(factory2.createExpressionStatement(updatedExpression), node);\n  }\n}\nfunction insertLeadingStatement(factory2, dest, source) {\n  if (isBlock(dest)) {\n    return factory2.updateBlock(dest, setTextRange(factory2.createNodeArray([source, ...dest.statements]), dest.statements));\n  } else {\n    return factory2.createBlock(factory2.createNodeArray([dest, source]), true);\n  }\n}\nfunction createExpressionFromEntityName(factory2, node) {\n  if (isQualifiedName(node)) {\n    const left = createExpressionFromEntityName(factory2, node.left);\n    const right = setParent(setTextRange(factory2.cloneNode(node.right), node.right), node.right.parent);\n    return setTextRange(factory2.createPropertyAccessExpression(left, right), node);\n  } else {\n    return setParent(setTextRange(factory2.cloneNode(node), node), node.parent);\n  }\n}\nfunction createExpressionForPropertyName(factory2, memberName) {\n  if (isIdentifier(memberName)) {\n    return factory2.createStringLiteralFromNode(memberName);\n  } else if (isComputedPropertyName(memberName)) {\n    return setParent(setTextRange(factory2.cloneNode(memberName.expression), memberName.expression), memberName.expression.parent);\n  } else {\n    return setParent(setTextRange(factory2.cloneNode(memberName), memberName), memberName.parent);\n  }\n}\nfunction createExpressionForAccessorDeclaration(factory2, properties, property, receiver, multiLine) {\n  const { firstAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(properties, property);\n  if (property === firstAccessor) {\n    return setTextRange(\n      factory2.createObjectDefinePropertyCall(\n        receiver,\n        createExpressionForPropertyName(factory2, property.name),\n        factory2.createPropertyDescriptor({\n          enumerable: factory2.createFalse(),\n          configurable: true,\n          get: getAccessor && setTextRange(\n            setOriginalNode(\n              factory2.createFunctionExpression(\n                getModifiers(getAccessor),\n                void 0,\n                void 0,\n                void 0,\n                getAccessor.parameters,\n                void 0,\n                getAccessor.body\n              ),\n              getAccessor\n            ),\n            getAccessor\n          ),\n          set: setAccessor && setTextRange(\n            setOriginalNode(\n              factory2.createFunctionExpression(\n                getModifiers(setAccessor),\n                void 0,\n                void 0,\n                void 0,\n                setAccessor.parameters,\n                void 0,\n                setAccessor.body\n              ),\n              setAccessor\n            ),\n            setAccessor\n          )\n        }, !multiLine)\n      ),\n      firstAccessor\n    );\n  }\n  return void 0;\n}\nfunction createExpressionForPropertyAssignment(factory2, property, receiver) {\n  return setOriginalNode(\n    setTextRange(\n      factory2.createAssignment(\n        createMemberAccessForPropertyName(factory2, receiver, property.name, property.name),\n        property.initializer\n      ),\n      property\n    ),\n    property\n  );\n}\nfunction createExpressionForShorthandPropertyAssignment(factory2, property, receiver) {\n  return setOriginalNode(\n    setTextRange(\n      factory2.createAssignment(\n        createMemberAccessForPropertyName(factory2, receiver, property.name, property.name),\n        factory2.cloneNode(property.name)\n      ),\n      property\n    ),\n    property\n  );\n}\nfunction createExpressionForMethodDeclaration(factory2, method, receiver) {\n  return setOriginalNode(\n    setTextRange(\n      factory2.createAssignment(\n        createMemberAccessForPropertyName(factory2, receiver, method.name, method.name),\n        setOriginalNode(\n          setTextRange(\n            factory2.createFunctionExpression(\n              getModifiers(method),\n              method.asteriskToken,\n              void 0,\n              void 0,\n              method.parameters,\n              void 0,\n              method.body\n            ),\n            method\n          ),\n          method\n        )\n      ),\n      method\n    ),\n    method\n  );\n}\nfunction createExpressionForObjectLiteralElementLike(factory2, node, property, receiver) {\n  if (property.name && isPrivateIdentifier(property.name)) {\n    Debug.failBadSyntaxKind(property.name, \"Private identifiers are not allowed in object literals.\");\n  }\n  switch (property.kind) {\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return createExpressionForAccessorDeclaration(factory2, node.properties, property, receiver, !!node.multiLine);\n    case 305 /* PropertyAssignment */:\n      return createExpressionForPropertyAssignment(factory2, property, receiver);\n    case 306 /* ShorthandPropertyAssignment */:\n      return createExpressionForShorthandPropertyAssignment(factory2, property, receiver);\n    case 174 /* MethodDeclaration */:\n      return createExpressionForMethodDeclaration(factory2, property, receiver);\n  }\n}\nfunction expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, recordTempVariable, resultVariable) {\n  const operator = node.operator;\n  Debug.assert(operator === 45 /* PlusPlusToken */ || operator === 46 /* MinusMinusToken */, \"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression\");\n  const temp = factory2.createTempVariable(recordTempVariable);\n  expression = factory2.createAssignment(temp, expression);\n  setTextRange(expression, node.operand);\n  let operation = isPrefixUnaryExpression(node) ? factory2.createPrefixUnaryExpression(operator, temp) : factory2.createPostfixUnaryExpression(temp, operator);\n  setTextRange(operation, node);\n  if (resultVariable) {\n    operation = factory2.createAssignment(resultVariable, operation);\n    setTextRange(operation, node);\n  }\n  expression = factory2.createComma(expression, operation);\n  setTextRange(expression, node);\n  if (isPostfixUnaryExpression(node)) {\n    expression = factory2.createComma(expression, temp);\n    setTextRange(expression, node);\n  }\n  return expression;\n}\nfunction isInternalName(node) {\n  return (getEmitFlags(node) & 32768 /* InternalName */) !== 0;\n}\nfunction isLocalName(node) {\n  return (getEmitFlags(node) & 16384 /* LocalName */) !== 0;\n}\nfunction isExportName(node) {\n  return (getEmitFlags(node) & 8192 /* ExportName */) !== 0;\n}\nfunction isUseStrictPrologue(node) {\n  return isStringLiteral(node.expression) && node.expression.text === \"use strict\";\n}\nfunction findUseStrictPrologue(statements) {\n  for (const statement of statements) {\n    if (isPrologueDirective(statement)) {\n      if (isUseStrictPrologue(statement)) {\n        return statement;\n      }\n    } else {\n      break;\n    }\n  }\n  return void 0;\n}\nfunction startsWithUseStrict(statements) {\n  const firstStatement = firstOrUndefined(statements);\n  return firstStatement !== void 0 && isPrologueDirective(firstStatement) && isUseStrictPrologue(firstStatement);\n}\nfunction isCommaSequence(node) {\n  return node.kind === 227 /* BinaryExpression */ && node.operatorToken.kind === 27 /* CommaToken */ || node.kind === 360 /* CommaListExpression */;\n}\nfunction isJSDocTypeAssertion(node) {\n  return isParenthesizedExpression(node) && isInJSFile(node) && !!getJSDocTypeTag(node);\n}\nfunction getJSDocTypeAssertionType(node) {\n  const type = getJSDocType(node);\n  Debug.assertIsDefined(type);\n  return type;\n}\nfunction isOuterExpression(node, kinds = 15 /* All */) {\n  switch (node.kind) {\n    case 217 /* ParenthesizedExpression */:\n      if (kinds & 16 /* ExcludeJSDocTypeAssertion */ && isJSDocTypeAssertion(node)) {\n        return false;\n      }\n      return (kinds & 1 /* Parentheses */) !== 0;\n    case 216 /* TypeAssertionExpression */:\n    case 235 /* AsExpression */:\n    case 239 /* SatisfiesExpression */:\n      return (kinds & 2 /* TypeAssertions */) !== 0;\n    case 236 /* NonNullExpression */:\n      return (kinds & 4 /* NonNullAssertions */) !== 0;\n    case 359 /* PartiallyEmittedExpression */:\n      return (kinds & 8 /* PartiallyEmittedExpressions */) !== 0;\n  }\n  return false;\n}\nfunction skipOuterExpressions(node, kinds = 15 /* All */) {\n  while (isOuterExpression(node, kinds)) {\n    node = node.expression;\n  }\n  return node;\n}\nfunction skipAssertions(node) {\n  return skipOuterExpressions(node, 6 /* Assertions */);\n}\nfunction startOnNewLine(node) {\n  return setStartsOnNewLine(node, true);\n}\nfunction getExternalHelpersModuleName(node) {\n  const parseNode = getOriginalNode(node, isSourceFile);\n  const emitNode = parseNode && parseNode.emitNode;\n  return emitNode && emitNode.externalHelpersModuleName;\n}\nfunction hasRecordedExternalHelpers(sourceFile) {\n  const parseNode = getOriginalNode(sourceFile, isSourceFile);\n  const emitNode = parseNode && parseNode.emitNode;\n  return !!emitNode && (!!emitNode.externalHelpersModuleName || !!emitNode.externalHelpers);\n}\nfunction createExternalHelpersImportDeclarationIfNeeded(nodeFactory, helperFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault) {\n  if (compilerOptions.importHelpers && isEffectiveExternalModule(sourceFile, compilerOptions)) {\n    let namedBindings;\n    const moduleKind = getEmitModuleKind(compilerOptions);\n    if (moduleKind >= 5 /* ES2015 */ && moduleKind <= 99 /* ESNext */ || sourceFile.impliedNodeFormat === 99 /* ESNext */) {\n      const helpers = getEmitHelpers(sourceFile);\n      if (helpers) {\n        const helperNames = [];\n        for (const helper of helpers) {\n          if (!helper.scoped) {\n            const importName = helper.importName;\n            if (importName) {\n              pushIfUnique(helperNames, importName);\n            }\n          }\n        }\n        if (some(helperNames)) {\n          helperNames.sort(compareStringsCaseSensitive);\n          namedBindings = nodeFactory.createNamedImports(\n            map(\n              helperNames,\n              (name) => isFileLevelUniqueName(sourceFile, name) ? nodeFactory.createImportSpecifier(false, void 0, nodeFactory.createIdentifier(name)) : nodeFactory.createImportSpecifier(false, nodeFactory.createIdentifier(name), helperFactory.getUnscopedHelperName(name))\n            )\n          );\n          const parseNode = getOriginalNode(sourceFile, isSourceFile);\n          const emitNode = getOrCreateEmitNode(parseNode);\n          emitNode.externalHelpers = true;\n        }\n      }\n    } else {\n      const externalHelpersModuleName = getOrCreateExternalHelpersModuleNameIfNeeded(nodeFactory, sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar || hasImportDefault);\n      if (externalHelpersModuleName) {\n        namedBindings = nodeFactory.createNamespaceImport(externalHelpersModuleName);\n      }\n    }\n    if (namedBindings) {\n      const externalHelpersImportDeclaration = nodeFactory.createImportDeclaration(\n        void 0,\n        nodeFactory.createImportClause(false, void 0, namedBindings),\n        nodeFactory.createStringLiteral(externalHelpersModuleNameText),\n        void 0\n      );\n      addEmitFlags(externalHelpersImportDeclaration, 67108864 /* NeverApplyImportHelper */);\n      return externalHelpersImportDeclaration;\n    }\n  }\n}\nfunction getOrCreateExternalHelpersModuleNameIfNeeded(factory2, node, compilerOptions, hasExportStarsToExportValues, hasImportStarOrImportDefault) {\n  if (compilerOptions.importHelpers && isEffectiveExternalModule(node, compilerOptions)) {\n    const externalHelpersModuleName = getExternalHelpersModuleName(node);\n    if (externalHelpersModuleName) {\n      return externalHelpersModuleName;\n    }\n    const moduleKind = getEmitModuleKind(compilerOptions);\n    let create = (hasExportStarsToExportValues || getESModuleInterop(compilerOptions) && hasImportStarOrImportDefault) && moduleKind !== 4 /* System */ && (moduleKind < 5 /* ES2015 */ || node.impliedNodeFormat === 1 /* CommonJS */);\n    if (!create) {\n      const helpers = getEmitHelpers(node);\n      if (helpers) {\n        for (const helper of helpers) {\n          if (!helper.scoped) {\n            create = true;\n            break;\n          }\n        }\n      }\n    }\n    if (create) {\n      const parseNode = getOriginalNode(node, isSourceFile);\n      const emitNode = getOrCreateEmitNode(parseNode);\n      return emitNode.externalHelpersModuleName || (emitNode.externalHelpersModuleName = factory2.createUniqueName(externalHelpersModuleNameText));\n    }\n  }\n}\nfunction getLocalNameForExternalImport(factory2, node, sourceFile) {\n  const namespaceDeclaration = getNamespaceDeclarationNode(node);\n  if (namespaceDeclaration && !isDefaultImport(node) && !isExportNamespaceAsDefaultDeclaration(node)) {\n    const name = namespaceDeclaration.name;\n    return isGeneratedIdentifier(name) ? name : factory2.createIdentifier(getSourceTextOfNodeFromSourceFile(sourceFile, name) || idText(name));\n  }\n  if (node.kind === 275 /* ImportDeclaration */ && node.importClause) {\n    return factory2.getGeneratedNameForNode(node);\n  }\n  if (node.kind === 281 /* ExportDeclaration */ && node.moduleSpecifier) {\n    return factory2.getGeneratedNameForNode(node);\n  }\n  return void 0;\n}\nfunction getExternalModuleNameLiteral(factory2, importNode, sourceFile, host, resolver, compilerOptions) {\n  const moduleName = getExternalModuleName(importNode);\n  if (moduleName && isStringLiteral(moduleName)) {\n    return tryGetModuleNameFromDeclaration(importNode, host, factory2, resolver, compilerOptions) || tryRenameExternalModule(factory2, moduleName, sourceFile) || factory2.cloneNode(moduleName);\n  }\n  return void 0;\n}\nfunction tryRenameExternalModule(factory2, moduleName, sourceFile) {\n  const rename = sourceFile.renamedDependencies && sourceFile.renamedDependencies.get(moduleName.text);\n  return rename ? factory2.createStringLiteral(rename) : void 0;\n}\nfunction tryGetModuleNameFromFile(factory2, file, host, options) {\n  if (!file) {\n    return void 0;\n  }\n  if (file.moduleName) {\n    return factory2.createStringLiteral(file.moduleName);\n  }\n  if (!file.isDeclarationFile && outFile(options)) {\n    return factory2.createStringLiteral(getExternalModuleNameFromPath(host, file.fileName));\n  }\n  return void 0;\n}\nfunction tryGetModuleNameFromDeclaration(declaration, host, factory2, resolver, compilerOptions) {\n  return tryGetModuleNameFromFile(factory2, resolver.getExternalModuleFileFromDeclaration(declaration), host, compilerOptions);\n}\nfunction getInitializerOfBindingOrAssignmentElement(bindingElement) {\n  if (isDeclarationBindingElement(bindingElement)) {\n    return bindingElement.initializer;\n  }\n  if (isPropertyAssignment(bindingElement)) {\n    const initializer = bindingElement.initializer;\n    return isAssignmentExpression(initializer, true) ? initializer.right : void 0;\n  }\n  if (isShorthandPropertyAssignment(bindingElement)) {\n    return bindingElement.objectAssignmentInitializer;\n  }\n  if (isAssignmentExpression(bindingElement, true)) {\n    return bindingElement.right;\n  }\n  if (isSpreadElement(bindingElement)) {\n    return getInitializerOfBindingOrAssignmentElement(bindingElement.expression);\n  }\n}\nfunction getTargetOfBindingOrAssignmentElement(bindingElement) {\n  if (isDeclarationBindingElement(bindingElement)) {\n    return bindingElement.name;\n  }\n  if (isObjectLiteralElementLike(bindingElement)) {\n    switch (bindingElement.kind) {\n      case 305 /* PropertyAssignment */:\n        return getTargetOfBindingOrAssignmentElement(bindingElement.initializer);\n      case 306 /* ShorthandPropertyAssignment */:\n        return bindingElement.name;\n      case 307 /* SpreadAssignment */:\n        return getTargetOfBindingOrAssignmentElement(bindingElement.expression);\n    }\n  }\n  if (isAssignmentExpression(bindingElement, true)) {\n    return getTargetOfBindingOrAssignmentElement(bindingElement.left);\n  }\n  if (isSpreadElement(bindingElement)) {\n    return getTargetOfBindingOrAssignmentElement(bindingElement.expression);\n  }\n  return bindingElement;\n}\nfunction getRestIndicatorOfBindingOrAssignmentElement(bindingElement) {\n  switch (bindingElement.kind) {\n    case 168 /* Parameter */:\n    case 208 /* BindingElement */:\n      return bindingElement.dotDotDotToken;\n    case 231 /* SpreadElement */:\n    case 307 /* SpreadAssignment */:\n      return bindingElement;\n  }\n  return void 0;\n}\nfunction getPropertyNameOfBindingOrAssignmentElement(bindingElement) {\n  const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement);\n  Debug.assert(!!propertyName || isSpreadAssignment(bindingElement), \"Invalid property name for binding element.\");\n  return propertyName;\n}\nfunction tryGetPropertyNameOfBindingOrAssignmentElement(bindingElement) {\n  switch (bindingElement.kind) {\n    case 208 /* BindingElement */:\n      if (bindingElement.propertyName) {\n        const propertyName = bindingElement.propertyName;\n        if (isPrivateIdentifier(propertyName)) {\n          return Debug.failBadSyntaxKind(propertyName);\n        }\n        return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName;\n      }\n      break;\n    case 305 /* PropertyAssignment */:\n      if (bindingElement.name) {\n        const propertyName = bindingElement.name;\n        if (isPrivateIdentifier(propertyName)) {\n          return Debug.failBadSyntaxKind(propertyName);\n        }\n        return isComputedPropertyName(propertyName) && isStringOrNumericLiteral(propertyName.expression) ? propertyName.expression : propertyName;\n      }\n      break;\n    case 307 /* SpreadAssignment */:\n      if (bindingElement.name && isPrivateIdentifier(bindingElement.name)) {\n        return Debug.failBadSyntaxKind(bindingElement.name);\n      }\n      return bindingElement.name;\n  }\n  const target = getTargetOfBindingOrAssignmentElement(bindingElement);\n  if (target && isPropertyName(target)) {\n    return target;\n  }\n}\nfunction isStringOrNumericLiteral(node) {\n  const kind = node.kind;\n  return kind === 10 /* StringLiteral */ || kind === 8 /* NumericLiteral */;\n}\nfunction getElementsOfBindingOrAssignmentPattern(name) {\n  switch (name.kind) {\n    case 206 /* ObjectBindingPattern */:\n    case 207 /* ArrayBindingPattern */:\n    case 209 /* ArrayLiteralExpression */:\n      return name.elements;\n    case 210 /* ObjectLiteralExpression */:\n      return name.properties;\n  }\n}\nfunction getJSDocTypeAliasName(fullName) {\n  if (fullName) {\n    let rightNode = fullName;\n    while (true) {\n      if (isIdentifier(rightNode) || !rightNode.body) {\n        return isIdentifier(rightNode) ? rightNode : rightNode.name;\n      }\n      rightNode = rightNode.body;\n    }\n  }\n}\nfunction canHaveIllegalType(node) {\n  const kind = node.kind;\n  return kind === 176 /* Constructor */ || kind === 178 /* SetAccessor */;\n}\nfunction canHaveIllegalTypeParameters(node) {\n  const kind = node.kind;\n  return kind === 176 /* Constructor */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */;\n}\nfunction canHaveIllegalDecorators(node) {\n  const kind = node.kind;\n  return kind === 305 /* PropertyAssignment */ || kind === 306 /* ShorthandPropertyAssignment */ || kind === 263 /* FunctionDeclaration */ || kind === 176 /* Constructor */ || kind === 181 /* IndexSignature */ || kind === 175 /* ClassStaticBlockDeclaration */ || kind === 285 /* MissingDeclaration */ || kind === 244 /* VariableStatement */ || kind === 267 /* InterfaceDeclaration */ || kind === 268 /* TypeAliasDeclaration */ || kind === 269 /* EnumDeclaration */ || kind === 270 /* ModuleDeclaration */ || kind === 274 /* ImportEqualsDeclaration */ || kind === 275 /* ImportDeclaration */ || kind === 273 /* NamespaceExportDeclaration */ || kind === 281 /* ExportDeclaration */ || kind === 280 /* ExportAssignment */ || kind === 173 /* MethodSignature */ || kind === 170 /* PropertySignature */;\n}\nfunction canHaveIllegalModifiers(node) {\n  const kind = node.kind;\n  return kind === 175 /* ClassStaticBlockDeclaration */ || kind === 305 /* PropertyAssignment */ || kind === 306 /* ShorthandPropertyAssignment */ || kind === 184 /* FunctionType */ || kind === 285 /* MissingDeclaration */ || kind === 273 /* NamespaceExportDeclaration */;\n}\nvar isTypeNodeOrTypeParameterDeclaration = or(isTypeNode, isTypeParameterDeclaration);\nvar isQuestionOrExclamationToken = or(isQuestionToken, isExclamationToken);\nvar isIdentifierOrThisTypeNode = or(isIdentifier, isThisTypeNode);\nvar isReadonlyKeywordOrPlusOrMinusToken = or(isReadonlyKeyword, isPlusToken, isMinusToken);\nvar isQuestionOrPlusOrMinusToken = or(isQuestionToken, isPlusToken, isMinusToken);\nvar isModuleName = or(isIdentifier, isStringLiteral);\nfunction isLiteralTypeLikeExpression(node) {\n  const kind = node.kind;\n  return kind === 105 /* NullKeyword */ || kind === 111 /* TrueKeyword */ || kind === 96 /* FalseKeyword */ || isLiteralExpression(node) || isPrefixUnaryExpression(node);\n}\nfunction isExponentiationOperator(kind) {\n  return kind === 42 /* AsteriskAsteriskToken */;\n}\nfunction isMultiplicativeOperator(kind) {\n  return kind === 41 /* AsteriskToken */ || kind === 43 /* SlashToken */ || kind === 44 /* PercentToken */;\n}\nfunction isMultiplicativeOperatorOrHigher(kind) {\n  return isExponentiationOperator(kind) || isMultiplicativeOperator(kind);\n}\nfunction isAdditiveOperator(kind) {\n  return kind === 39 /* PlusToken */ || kind === 40 /* MinusToken */;\n}\nfunction isAdditiveOperatorOrHigher(kind) {\n  return isAdditiveOperator(kind) || isMultiplicativeOperatorOrHigher(kind);\n}\nfunction isShiftOperator(kind) {\n  return kind === 47 /* LessThanLessThanToken */ || kind === 48 /* GreaterThanGreaterThanToken */ || kind === 49 /* GreaterThanGreaterThanGreaterThanToken */;\n}\nfunction isShiftOperatorOrHigher(kind) {\n  return isShiftOperator(kind) || isAdditiveOperatorOrHigher(kind);\n}\nfunction isRelationalOperator(kind) {\n  return kind === 29 /* LessThanToken */ || kind === 32 /* LessThanEqualsToken */ || kind === 31 /* GreaterThanToken */ || kind === 33 /* GreaterThanEqualsToken */ || kind === 103 /* InstanceOfKeyword */ || kind === 102 /* InKeyword */;\n}\nfunction isRelationalOperatorOrHigher(kind) {\n  return isRelationalOperator(kind) || isShiftOperatorOrHigher(kind);\n}\nfunction isEqualityOperator(kind) {\n  return kind === 34 /* EqualsEqualsToken */ || kind === 36 /* EqualsEqualsEqualsToken */ || kind === 35 /* ExclamationEqualsToken */ || kind === 37 /* ExclamationEqualsEqualsToken */;\n}\nfunction isEqualityOperatorOrHigher(kind) {\n  return isEqualityOperator(kind) || isRelationalOperatorOrHigher(kind);\n}\nfunction isBitwiseOperator(kind) {\n  return kind === 50 /* AmpersandToken */ || kind === 51 /* BarToken */ || kind === 52 /* CaretToken */;\n}\nfunction isBitwiseOperatorOrHigher(kind) {\n  return isBitwiseOperator(kind) || isEqualityOperatorOrHigher(kind);\n}\nfunction isLogicalOperator2(kind) {\n  return kind === 55 /* AmpersandAmpersandToken */ || kind === 56 /* BarBarToken */;\n}\nfunction isLogicalOperatorOrHigher(kind) {\n  return isLogicalOperator2(kind) || isBitwiseOperatorOrHigher(kind);\n}\nfunction isAssignmentOperatorOrHigher(kind) {\n  return kind === 60 /* QuestionQuestionToken */ || isLogicalOperatorOrHigher(kind) || isAssignmentOperator(kind);\n}\nfunction isBinaryOperator(kind) {\n  return isAssignmentOperatorOrHigher(kind) || kind === 27 /* CommaToken */;\n}\nfunction isBinaryOperatorToken(node) {\n  return isBinaryOperator(node.kind);\n}\nvar BinaryExpressionState;\n((BinaryExpressionState2) => {\n  function enter(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, outerState) {\n    const prevUserState = stackIndex > 0 ? userStateStack[stackIndex - 1] : void 0;\n    Debug.assertEqual(stateStack[stackIndex], enter);\n    userStateStack[stackIndex] = machine.onEnter(nodeStack[stackIndex], prevUserState, outerState);\n    stateStack[stackIndex] = nextState(machine, enter);\n    return stackIndex;\n  }\n  BinaryExpressionState2.enter = enter;\n  function left(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) {\n    Debug.assertEqual(stateStack[stackIndex], left);\n    Debug.assertIsDefined(machine.onLeft);\n    stateStack[stackIndex] = nextState(machine, left);\n    const nextNode = machine.onLeft(nodeStack[stackIndex].left, userStateStack[stackIndex], nodeStack[stackIndex]);\n    if (nextNode) {\n      checkCircularity(stackIndex, nodeStack, nextNode);\n      return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode);\n    }\n    return stackIndex;\n  }\n  BinaryExpressionState2.left = left;\n  function operator(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) {\n    Debug.assertEqual(stateStack[stackIndex], operator);\n    Debug.assertIsDefined(machine.onOperator);\n    stateStack[stackIndex] = nextState(machine, operator);\n    machine.onOperator(nodeStack[stackIndex].operatorToken, userStateStack[stackIndex], nodeStack[stackIndex]);\n    return stackIndex;\n  }\n  BinaryExpressionState2.operator = operator;\n  function right(machine, stackIndex, stateStack, nodeStack, userStateStack, _resultHolder, _outerState) {\n    Debug.assertEqual(stateStack[stackIndex], right);\n    Debug.assertIsDefined(machine.onRight);\n    stateStack[stackIndex] = nextState(machine, right);\n    const nextNode = machine.onRight(nodeStack[stackIndex].right, userStateStack[stackIndex], nodeStack[stackIndex]);\n    if (nextNode) {\n      checkCircularity(stackIndex, nodeStack, nextNode);\n      return pushStack(stackIndex, stateStack, nodeStack, userStateStack, nextNode);\n    }\n    return stackIndex;\n  }\n  BinaryExpressionState2.right = right;\n  function exit(machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, _outerState) {\n    Debug.assertEqual(stateStack[stackIndex], exit);\n    stateStack[stackIndex] = nextState(machine, exit);\n    const result = machine.onExit(nodeStack[stackIndex], userStateStack[stackIndex]);\n    if (stackIndex > 0) {\n      stackIndex--;\n      if (machine.foldState) {\n        const side = stateStack[stackIndex] === exit ? \"right\" : \"left\";\n        userStateStack[stackIndex] = machine.foldState(userStateStack[stackIndex], result, side);\n      }\n    } else {\n      resultHolder.value = result;\n    }\n    return stackIndex;\n  }\n  BinaryExpressionState2.exit = exit;\n  function done(_machine, stackIndex, stateStack, _nodeStack, _userStateStack, _resultHolder, _outerState) {\n    Debug.assertEqual(stateStack[stackIndex], done);\n    return stackIndex;\n  }\n  BinaryExpressionState2.done = done;\n  function nextState(machine, currentState) {\n    switch (currentState) {\n      case enter:\n        if (machine.onLeft)\n          return left;\n      case left:\n        if (machine.onOperator)\n          return operator;\n      case operator:\n        if (machine.onRight)\n          return right;\n      case right:\n        return exit;\n      case exit:\n        return done;\n      case done:\n        return done;\n      default:\n        Debug.fail(\"Invalid state\");\n    }\n  }\n  BinaryExpressionState2.nextState = nextState;\n  function pushStack(stackIndex, stateStack, nodeStack, userStateStack, node) {\n    stackIndex++;\n    stateStack[stackIndex] = enter;\n    nodeStack[stackIndex] = node;\n    userStateStack[stackIndex] = void 0;\n    return stackIndex;\n  }\n  function checkCircularity(stackIndex, nodeStack, node) {\n    if (Debug.shouldAssert(2 /* Aggressive */)) {\n      while (stackIndex >= 0) {\n        Debug.assert(nodeStack[stackIndex] !== node, \"Circular traversal detected.\");\n        stackIndex--;\n      }\n    }\n  }\n})(BinaryExpressionState || (BinaryExpressionState = {}));\nvar BinaryExpressionStateMachine = class {\n  constructor(onEnter, onLeft, onOperator, onRight, onExit, foldState) {\n    this.onEnter = onEnter;\n    this.onLeft = onLeft;\n    this.onOperator = onOperator;\n    this.onRight = onRight;\n    this.onExit = onExit;\n    this.foldState = foldState;\n  }\n};\nfunction createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState) {\n  const machine = new BinaryExpressionStateMachine(onEnter, onLeft, onOperator, onRight, onExit, foldState);\n  return trampoline;\n  function trampoline(node, outerState) {\n    const resultHolder = { value: void 0 };\n    const stateStack = [BinaryExpressionState.enter];\n    const nodeStack = [node];\n    const userStateStack = [void 0];\n    let stackIndex = 0;\n    while (stateStack[stackIndex] !== BinaryExpressionState.done) {\n      stackIndex = stateStack[stackIndex](machine, stackIndex, stateStack, nodeStack, userStateStack, resultHolder, outerState);\n    }\n    Debug.assertEqual(stackIndex, 0);\n    return resultHolder.value;\n  }\n}\nfunction elideNodes(factory2, nodes) {\n  if (nodes === void 0)\n    return void 0;\n  if (nodes.length === 0)\n    return nodes;\n  return setTextRange(factory2.createNodeArray([], nodes.hasTrailingComma), nodes);\n}\nfunction getNodeForGeneratedName(name) {\n  if (name.autoGenerateFlags & 4 /* Node */) {\n    const autoGenerateId = name.autoGenerateId;\n    let node = name;\n    let original = node.original;\n    while (original) {\n      node = original;\n      if (isMemberName(node) && !!(node.autoGenerateFlags & 4 /* Node */) && node.autoGenerateId !== autoGenerateId) {\n        break;\n      }\n      original = node.original;\n    }\n    return node;\n  }\n  return name;\n}\nfunction formatGeneratedNamePart(part, generateName) {\n  return typeof part === \"object\" ? formatGeneratedName(false, part.prefix, part.node, part.suffix, generateName) : typeof part === \"string\" ? part.length > 0 && part.charCodeAt(0) === 35 /* hash */ ? part.slice(1) : part : \"\";\n}\nfunction formatIdentifier(name, generateName) {\n  return typeof name === \"string\" ? name : formatIdentifierWorker(name, Debug.checkDefined(generateName));\n}\nfunction formatIdentifierWorker(node, generateName) {\n  return isGeneratedPrivateIdentifier(node) ? generateName(node).slice(1) : isGeneratedIdentifier(node) ? generateName(node) : isPrivateIdentifier(node) ? node.escapedText.slice(1) : idText(node);\n}\nfunction formatGeneratedName(privateName, prefix, baseName, suffix, generateName) {\n  prefix = formatGeneratedNamePart(prefix, generateName);\n  suffix = formatGeneratedNamePart(suffix, generateName);\n  baseName = formatIdentifier(baseName, generateName);\n  return `${privateName ? \"#\" : \"\"}${prefix}${baseName}${suffix}`;\n}\nfunction createAccessorPropertyBackingField(factory2, node, modifiers, initializer) {\n  return factory2.updatePropertyDeclaration(\n    node,\n    modifiers,\n    factory2.getGeneratedPrivateNameForNode(node.name, void 0, \"_accessor_storage\"),\n    void 0,\n    void 0,\n    initializer\n  );\n}\nfunction createAccessorPropertyGetRedirector(factory2, node, modifiers, name) {\n  return factory2.createGetAccessorDeclaration(\n    modifiers,\n    name,\n    [],\n    void 0,\n    factory2.createBlock([\n      factory2.createReturnStatement(\n        factory2.createPropertyAccessExpression(\n          factory2.createThis(),\n          factory2.getGeneratedPrivateNameForNode(node.name, void 0, \"_accessor_storage\")\n        )\n      )\n    ])\n  );\n}\nfunction createAccessorPropertySetRedirector(factory2, node, modifiers, name) {\n  return factory2.createSetAccessorDeclaration(\n    modifiers,\n    name,\n    [factory2.createParameterDeclaration(\n      void 0,\n      void 0,\n      \"value\"\n    )],\n    factory2.createBlock([\n      factory2.createExpressionStatement(\n        factory2.createAssignment(\n          factory2.createPropertyAccessExpression(\n            factory2.createThis(),\n            factory2.getGeneratedPrivateNameForNode(node.name, void 0, \"_accessor_storage\")\n          ),\n          factory2.createIdentifier(\"value\")\n        )\n      )\n    ])\n  );\n}\n\n// src/compiler/factory/utilitiesPublic.ts\nfunction setTextRange(range, location) {\n  return location ? setTextRangePosEnd(range, location.pos, location.end) : range;\n}\nfunction canHaveModifiers(node) {\n  const kind = node.kind;\n  return kind === 167 /* TypeParameter */ || kind === 168 /* Parameter */ || kind === 170 /* PropertySignature */ || kind === 171 /* PropertyDeclaration */ || kind === 173 /* MethodSignature */ || kind === 174 /* MethodDeclaration */ || kind === 176 /* Constructor */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 181 /* IndexSignature */ || kind === 185 /* ConstructorType */ || kind === 218 /* FunctionExpression */ || kind === 219 /* ArrowFunction */ || kind === 232 /* ClassExpression */ || kind === 265 /* StructDeclaration */ || kind === 266 /* AnnotationDeclaration */ || kind === 244 /* VariableStatement */ || kind === 263 /* FunctionDeclaration */ || kind === 264 /* ClassDeclaration */ || kind === 267 /* InterfaceDeclaration */ || kind === 268 /* TypeAliasDeclaration */ || kind === 269 /* EnumDeclaration */ || kind === 270 /* ModuleDeclaration */ || kind === 274 /* ImportEqualsDeclaration */ || kind === 275 /* ImportDeclaration */ || kind === 280 /* ExportAssignment */ || kind === 281 /* ExportDeclaration */;\n}\nfunction canHaveDecorators(node) {\n  const kind = node.kind;\n  return kind === 168 /* Parameter */ || kind === 171 /* PropertyDeclaration */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 232 /* ClassExpression */ || kind === 264 /* ClassDeclaration */ || kind === 265 /* StructDeclaration */ || kind === 266 /* AnnotationDeclaration */;\n}\n\n// src/compiler/parser.ts\nvar SignatureFlags4 = /* @__PURE__ */ ((SignatureFlags6) => {\n  SignatureFlags6[SignatureFlags6[\"None\"] = 0] = \"None\";\n  SignatureFlags6[SignatureFlags6[\"Yield\"] = 1] = \"Yield\";\n  SignatureFlags6[SignatureFlags6[\"Await\"] = 2] = \"Await\";\n  SignatureFlags6[SignatureFlags6[\"Type\"] = 4] = \"Type\";\n  SignatureFlags6[SignatureFlags6[\"IgnoreMissingOpenBrace\"] = 16] = \"IgnoreMissingOpenBrace\";\n  SignatureFlags6[SignatureFlags6[\"JSDoc\"] = 32] = \"JSDoc\";\n  return SignatureFlags6;\n})(SignatureFlags4 || {});\nvar SpeculationKind = /* @__PURE__ */ ((SpeculationKind2) => {\n  SpeculationKind2[SpeculationKind2[\"TryParse\"] = 0] = \"TryParse\";\n  SpeculationKind2[SpeculationKind2[\"Lookahead\"] = 1] = \"Lookahead\";\n  SpeculationKind2[SpeculationKind2[\"Reparse\"] = 2] = \"Reparse\";\n  return SpeculationKind2;\n})(SpeculationKind || {});\nvar NodeConstructor;\nvar TokenConstructor;\nvar IdentifierConstructor;\nvar PrivateIdentifierConstructor;\nvar SourceFileConstructor;\nvar parseBaseNodeFactory = {\n  createBaseSourceFileNode: (kind) => new (SourceFileConstructor || (SourceFileConstructor = objectAllocator.getSourceFileConstructor()))(kind, -1, -1),\n  createBaseIdentifierNode: (kind) => new (IdentifierConstructor || (IdentifierConstructor = objectAllocator.getIdentifierConstructor()))(kind, -1, -1),\n  createBasePrivateIdentifierNode: (kind) => new (PrivateIdentifierConstructor || (PrivateIdentifierConstructor = objectAllocator.getPrivateIdentifierConstructor()))(kind, -1, -1),\n  createBaseTokenNode: (kind) => new (TokenConstructor || (TokenConstructor = objectAllocator.getTokenConstructor()))(kind, -1, -1),\n  createBaseNode: (kind) => new (NodeConstructor || (NodeConstructor = objectAllocator.getNodeConstructor()))(kind, -1, -1)\n};\nvar parseNodeFactory = createNodeFactory(1 /* NoParenthesizerRules */, parseBaseNodeFactory);\nfunction visitNode2(cbNode, node) {\n  return node && cbNode(node);\n}\nfunction visitNodes(cbNode, cbNodes, nodes) {\n  if (nodes) {\n    if (cbNodes) {\n      return cbNodes(nodes);\n    }\n    for (const node of nodes) {\n      const result = cbNode(node);\n      if (result) {\n        return result;\n      }\n    }\n  }\n}\nfunction isJSDocLikeText(text, start) {\n  return text.charCodeAt(start + 1) === 42 /* asterisk */ && text.charCodeAt(start + 2) === 42 /* asterisk */ && text.charCodeAt(start + 3) !== 47 /* slash */;\n}\nfunction isFileProbablyExternalModule(sourceFile) {\n  return forEach(sourceFile.statements, isAnExternalModuleIndicatorNode) || getImportMetaIfNecessary(sourceFile);\n}\nfunction isAnExternalModuleIndicatorNode(node) {\n  return canHaveModifiers(node) && hasModifierOfKind(node, 94 /* ExportKeyword */) || isImportEqualsDeclaration(node) && isExternalModuleReference(node.moduleReference) || isImportDeclaration(node) || isExportAssignment(node) || isExportDeclaration(node) ? node : void 0;\n}\nfunction getImportMetaIfNecessary(sourceFile) {\n  return sourceFile.flags & 4194304 /* PossiblyContainsImportMeta */ ? walkTreeForImportMeta(sourceFile) : void 0;\n}\nfunction walkTreeForImportMeta(node) {\n  return isImportMeta2(node) ? node : forEachChild(node, walkTreeForImportMeta);\n}\nfunction hasModifierOfKind(node, kind) {\n  return some(node.modifiers, (m) => m.kind === kind);\n}\nfunction isImportMeta2(node) {\n  return isMetaProperty(node) && node.keywordToken === 101 /* ImportKeyword */ && node.name.escapedText === \"meta\";\n}\nvar forEachChildTable = {\n  [165 /* QualifiedName */]: function forEachChildInQualifiedName(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right);\n  },\n  [167 /* TypeParameter */]: function forEachChildInTypeParameter(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.constraint) || visitNode2(cbNode, node.default) || visitNode2(cbNode, node.expression);\n  },\n  [306 /* ShorthandPropertyAssignment */]: function forEachChildInShorthandPropertyAssignment(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.equalsToken) || visitNode2(cbNode, node.objectAssignmentInitializer);\n  },\n  [307 /* SpreadAssignment */]: function forEachChildInSpreadAssignment(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [168 /* Parameter */]: function forEachChildInParameter(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n  },\n  [171 /* PropertyDeclaration */]: function forEachChildInPropertyDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n  },\n  [172 /* AnnotationPropertyDeclaration */]: function forEachChildInAnnotationPropertyDeclaration(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n  },\n  [170 /* PropertySignature */]: function forEachChildInPropertySignature(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n  },\n  [305 /* PropertyAssignment */]: function forEachChildInPropertyAssignment(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.initializer);\n  },\n  [261 /* VariableDeclaration */]: function forEachChildInVariableDeclaration(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.exclamationToken) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.initializer);\n  },\n  [208 /* BindingElement */]: function forEachChildInBindingElement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer);\n  },\n  [181 /* IndexSignature */]: function forEachChildInIndexSignature(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n  },\n  [185 /* ConstructorType */]: function forEachChildInConstructorType(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n  },\n  [184 /* FunctionType */]: function forEachChildInFunctionType(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n  },\n  [179 /* CallSignature */]: forEachChildInCallOrConstructSignature,\n  [180 /* ConstructSignature */]: forEachChildInCallOrConstructSignature,\n  [220 /* EtsComponentExpression */]: function forEachChildInEtsComponentExpression(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.arguments) || visitNode2(cbNode, node.body);\n  },\n  [174 /* MethodDeclaration */]: function forEachChildInMethodDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.exclamationToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n  },\n  [173 /* MethodSignature */]: function forEachChildInMethodSignature(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n  },\n  [176 /* Constructor */]: function forEachChildInConstructor(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n  },\n  [177 /* GetAccessor */]: function forEachChildInGetAccessor(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n  },\n  [178 /* SetAccessor */]: function forEachChildInSetAccessor(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n  },\n  [263 /* FunctionDeclaration */]: function forEachChildInFunctionDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n  },\n  [218 /* FunctionExpression */]: function forEachChildInFunctionExpression(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.body);\n  },\n  [219 /* ArrowFunction */]: function forEachChildInArrowFunction(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.modifiers) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type) || visitNode2(cbNode, node.equalsGreaterThanToken) || visitNode2(cbNode, node.body);\n  },\n  [175 /* ClassStaticBlockDeclaration */]: function forEachChildInClassStaticBlockDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.body);\n  },\n  [183 /* TypeReference */]: function forEachChildInTypeReference(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.typeName) || visitNodes(cbNode, cbNodes, node.typeArguments);\n  },\n  [182 /* TypePredicate */]: function forEachChildInTypePredicate(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.assertsModifier) || visitNode2(cbNode, node.parameterName) || visitNode2(cbNode, node.type);\n  },\n  [186 /* TypeQuery */]: function forEachChildInTypeQuery(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.exprName) || visitNodes(cbNode, cbNodes, node.typeArguments);\n  },\n  [187 /* TypeLiteral */]: function forEachChildInTypeLiteral(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.members);\n  },\n  [188 /* ArrayType */]: function forEachChildInArrayType(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.elementType);\n  },\n  [189 /* TupleType */]: function forEachChildInTupleType(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.elements);\n  },\n  [192 /* UnionType */]: forEachChildInUnionOrIntersectionType,\n  [193 /* IntersectionType */]: forEachChildInUnionOrIntersectionType,\n  [194 /* ConditionalType */]: function forEachChildInConditionalType(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.checkType) || visitNode2(cbNode, node.extendsType) || visitNode2(cbNode, node.trueType) || visitNode2(cbNode, node.falseType);\n  },\n  [195 /* InferType */]: function forEachChildInInferType(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.typeParameter);\n  },\n  [205 /* ImportType */]: function forEachChildInImportType(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.argument) || visitNode2(cbNode, node.assertions) || visitNode2(cbNode, node.qualifier) || visitNodes(cbNode, cbNodes, node.typeArguments);\n  },\n  [304 /* ImportTypeAssertionContainer */]: function forEachChildInImportTypeAssertionContainer(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.assertClause);\n  },\n  [196 /* ParenthesizedType */]: forEachChildInParenthesizedTypeOrTypeOperator,\n  [198 /* TypeOperator */]: forEachChildInParenthesizedTypeOrTypeOperator,\n  [199 /* IndexedAccessType */]: function forEachChildInIndexedAccessType(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.objectType) || visitNode2(cbNode, node.indexType);\n  },\n  [200 /* MappedType */]: function forEachChildInMappedType(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.readonlyToken) || visitNode2(cbNode, node.typeParameter) || visitNode2(cbNode, node.nameType) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type) || visitNodes(cbNode, cbNodes, node.members);\n  },\n  [201 /* LiteralType */]: function forEachChildInLiteralType(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.literal);\n  },\n  [202 /* NamedTupleMember */]: function forEachChildInNamedTupleMember(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.type);\n  },\n  [206 /* ObjectBindingPattern */]: forEachChildInObjectOrArrayBindingPattern,\n  [207 /* ArrayBindingPattern */]: forEachChildInObjectOrArrayBindingPattern,\n  [209 /* ArrayLiteralExpression */]: function forEachChildInArrayLiteralExpression(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.elements);\n  },\n  [210 /* ObjectLiteralExpression */]: function forEachChildInObjectLiteralExpression(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.properties);\n  },\n  [211 /* PropertyAccessExpression */]: function forEachChildInPropertyAccessExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.name);\n  },\n  [212 /* ElementAccessExpression */]: function forEachChildInElementAccessExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNode2(cbNode, node.argumentExpression);\n  },\n  [213 /* CallExpression */]: forEachChildInCallOrNewExpression,\n  [214 /* NewExpression */]: forEachChildInCallOrNewExpression,\n  [215 /* TaggedTemplateExpression */]: function forEachChildInTaggedTemplateExpression(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tag) || visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.template);\n  },\n  [216 /* TypeAssertionExpression */]: function forEachChildInTypeAssertionExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.expression);\n  },\n  [217 /* ParenthesizedExpression */]: function forEachChildInParenthesizedExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [221 /* DeleteExpression */]: function forEachChildInDeleteExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [222 /* TypeOfExpression */]: function forEachChildInTypeOfExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [223 /* VoidExpression */]: function forEachChildInVoidExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [225 /* PrefixUnaryExpression */]: function forEachChildInPrefixUnaryExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.operand);\n  },\n  [230 /* YieldExpression */]: function forEachChildInYieldExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.asteriskToken) || visitNode2(cbNode, node.expression);\n  },\n  [224 /* AwaitExpression */]: function forEachChildInAwaitExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [226 /* PostfixUnaryExpression */]: function forEachChildInPostfixUnaryExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.operand);\n  },\n  [227 /* BinaryExpression */]: function forEachChildInBinaryExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.operatorToken) || visitNode2(cbNode, node.right);\n  },\n  [235 /* AsExpression */]: function forEachChildInAsExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type);\n  },\n  [236 /* NonNullExpression */]: function forEachChildInNonNullExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [239 /* SatisfiesExpression */]: function forEachChildInSatisfiesExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.type);\n  },\n  [237 /* MetaProperty */]: function forEachChildInMetaProperty(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name);\n  },\n  [228 /* ConditionalExpression */]: function forEachChildInConditionalExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.questionToken) || visitNode2(cbNode, node.whenTrue) || visitNode2(cbNode, node.colonToken) || visitNode2(cbNode, node.whenFalse);\n  },\n  [231 /* SpreadElement */]: function forEachChildInSpreadElement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [242 /* Block */]: forEachChildInBlock,\n  [271 /* ModuleBlock */]: forEachChildInBlock,\n  [314 /* SourceFile */]: function forEachChildInSourceFile(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.statements) || visitNode2(cbNode, node.endOfFileToken);\n  },\n  [244 /* VariableStatement */]: function forEachChildInVariableStatement(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.declarationList);\n  },\n  [262 /* VariableDeclarationList */]: function forEachChildInVariableDeclarationList(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.declarations);\n  },\n  [245 /* ExpressionStatement */]: function forEachChildInExpressionStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [246 /* IfStatement */]: function forEachChildInIfStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.thenStatement) || visitNode2(cbNode, node.elseStatement);\n  },\n  [247 /* DoStatement */]: function forEachChildInDoStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.statement) || visitNode2(cbNode, node.expression);\n  },\n  [248 /* WhileStatement */]: function forEachChildInWhileStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n  },\n  [249 /* ForStatement */]: function forEachChildInForStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.condition) || visitNode2(cbNode, node.incrementor) || visitNode2(cbNode, node.statement);\n  },\n  [250 /* ForInStatement */]: function forEachChildInForInStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n  },\n  [251 /* ForOfStatement */]: function forEachChildInForOfStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.awaitModifier) || visitNode2(cbNode, node.initializer) || visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n  },\n  [252 /* ContinueStatement */]: forEachChildInContinueOrBreakStatement,\n  [253 /* BreakStatement */]: forEachChildInContinueOrBreakStatement,\n  [254 /* ReturnStatement */]: function forEachChildInReturnStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [255 /* WithStatement */]: function forEachChildInWithStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.statement);\n  },\n  [256 /* SwitchStatement */]: function forEachChildInSwitchStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.caseBlock);\n  },\n  [272 /* CaseBlock */]: function forEachChildInCaseBlock(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.clauses);\n  },\n  [298 /* CaseClause */]: function forEachChildInCaseClause(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.statements);\n  },\n  [299 /* DefaultClause */]: function forEachChildInDefaultClause(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.statements);\n  },\n  [257 /* LabeledStatement */]: function forEachChildInLabeledStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.label) || visitNode2(cbNode, node.statement);\n  },\n  [258 /* ThrowStatement */]: function forEachChildInThrowStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [259 /* TryStatement */]: function forEachChildInTryStatement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.tryBlock) || visitNode2(cbNode, node.catchClause) || visitNode2(cbNode, node.finallyBlock);\n  },\n  [301 /* CatchClause */]: function forEachChildInCatchClause(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.variableDeclaration) || visitNode2(cbNode, node.block);\n  },\n  [169 /* Decorator */]: function forEachChildInDecorator(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [264 /* ClassDeclaration */]: forEachChildInClassDeclarationOrExpression,\n  [232 /* ClassExpression */]: forEachChildInClassDeclarationOrExpression,\n  [265 /* StructDeclaration */]: forEachChildInClassDeclarationOrExpression,\n  [266 /* AnnotationDeclaration */]: forEachChildInAnnotationDeclaration,\n  [267 /* InterfaceDeclaration */]: function forEachChildInInterfaceDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members);\n  },\n  [268 /* TypeAliasDeclaration */]: function forEachChildInTypeAliasDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNode2(cbNode, node.type);\n  },\n  [269 /* EnumDeclaration */]: function forEachChildInEnumDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.members);\n  },\n  [308 /* EnumMember */]: function forEachChildInEnumMember(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer);\n  },\n  [270 /* ModuleDeclaration */]: function forEachChildInModuleDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.body);\n  },\n  [274 /* ImportEqualsDeclaration */]: function forEachChildInImportEqualsDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNode2(cbNode, node.moduleReference);\n  },\n  [275 /* ImportDeclaration */]: function forEachChildInImportDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.importClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.assertClause);\n  },\n  [276 /* ImportClause */]: function forEachChildInImportClause(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.namedBindings);\n  },\n  [302 /* AssertClause */]: function forEachChildInAssertClause(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.elements);\n  },\n  [303 /* AssertEntry */]: function forEachChildInAssertEntry(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.value);\n  },\n  [273 /* NamespaceExportDeclaration */]: function forEachChildInNamespaceExportDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNode2(cbNode, node.name);\n  },\n  [277 /* NamespaceImport */]: function forEachChildInNamespaceImport(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name);\n  },\n  [283 /* NamespaceExport */]: function forEachChildInNamespaceExport(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name);\n  },\n  [278 /* NamedImports */]: forEachChildInNamedImportsOrExports,\n  [282 /* NamedExports */]: forEachChildInNamedImportsOrExports,\n  [281 /* ExportDeclaration */]: function forEachChildInExportDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.exportClause) || visitNode2(cbNode, node.moduleSpecifier) || visitNode2(cbNode, node.assertClause);\n  },\n  [279 /* ImportSpecifier */]: forEachChildInImportOrExportSpecifier,\n  [284 /* ExportSpecifier */]: forEachChildInImportOrExportSpecifier,\n  [280 /* ExportAssignment */]: function forEachChildInExportAssignment(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.expression);\n  },\n  [229 /* TemplateExpression */]: function forEachChildInTemplateExpression(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans);\n  },\n  [240 /* TemplateSpan */]: function forEachChildInTemplateSpan(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.literal);\n  },\n  [203 /* TemplateLiteralType */]: function forEachChildInTemplateLiteralType(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.head) || visitNodes(cbNode, cbNodes, node.templateSpans);\n  },\n  [204 /* TemplateLiteralTypeSpan */]: function forEachChildInTemplateLiteralTypeSpan(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.type) || visitNode2(cbNode, node.literal);\n  },\n  [166 /* ComputedPropertyName */]: function forEachChildInComputedPropertyName(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [300 /* HeritageClause */]: function forEachChildInHeritageClause(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.types);\n  },\n  [234 /* ExpressionWithTypeArguments */]: function forEachChildInExpressionWithTypeArguments(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.expression) || visitNodes(cbNode, cbNodes, node.typeArguments);\n  },\n  [286 /* ExternalModuleReference */]: function forEachChildInExternalModuleReference(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [285 /* MissingDeclaration */]: function forEachChildInMissingDeclaration(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.illegalDecorators) || visitNodes(cbNode, cbNodes, node.modifiers);\n  },\n  [360 /* CommaListExpression */]: function forEachChildInCommaListExpression(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.elements);\n  },\n  [287 /* JsxElement */]: function forEachChildInJsxElement(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.openingElement) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingElement);\n  },\n  [291 /* JsxFragment */]: function forEachChildInJsxFragment(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.openingFragment) || visitNodes(cbNode, cbNodes, node.children) || visitNode2(cbNode, node.closingFragment);\n  },\n  [288 /* JsxSelfClosingElement */]: forEachChildInJsxOpeningOrSelfClosingElement,\n  [289 /* JsxOpeningElement */]: forEachChildInJsxOpeningOrSelfClosingElement,\n  [295 /* JsxAttributes */]: function forEachChildInJsxAttributes(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.properties);\n  },\n  [294 /* JsxAttribute */]: function forEachChildInJsxAttribute(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name) || visitNode2(cbNode, node.initializer);\n  },\n  [296 /* JsxSpreadAttribute */]: function forEachChildInJsxSpreadAttribute(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.expression);\n  },\n  [297 /* JsxExpression */]: function forEachChildInJsxExpression(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.dotDotDotToken) || visitNode2(cbNode, node.expression);\n  },\n  [290 /* JsxClosingElement */]: function forEachChildInJsxClosingElement(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.tagName);\n  },\n  [190 /* OptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [191 /* RestType */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [318 /* JSDocTypeExpression */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [324 /* JSDocNonNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [323 /* JSDocNullableType */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [325 /* JSDocOptionalType */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [327 /* JSDocVariadicType */]: forEachChildInOptionalRestOrJSDocParameterModifier,\n  [326 /* JSDocFunctionType */]: function forEachChildInJSDocFunctionType(node, cbNode, cbNodes) {\n    return visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n  },\n  [329 /* JSDoc */]: function forEachChildInJSDoc(node, cbNode, cbNodes) {\n    return (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) || visitNodes(cbNode, cbNodes, node.tags);\n  },\n  [355 /* JSDocSeeTag */]: function forEachChildInJSDocSeeTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.name) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n  },\n  [319 /* JSDocNameReference */]: function forEachChildInJSDocNameReference(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.name);\n  },\n  [320 /* JSDocMemberName */]: function forEachChildInJSDocMemberName(node, cbNode, _cbNodes) {\n    return visitNode2(cbNode, node.left) || visitNode2(cbNode, node.right);\n  },\n  [349 /* JSDocParameterTag */]: forEachChildInJSDocParameterOrPropertyTag,\n  [356 /* JSDocPropertyTag */]: forEachChildInJSDocParameterOrPropertyTag,\n  [339 /* JSDocAuthorTag */]: function forEachChildInJSDocAuthorTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n  },\n  [338 /* JSDocImplementsTag */]: function forEachChildInJSDocImplementsTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n  },\n  [337 /* JSDocAugmentsTag */]: function forEachChildInJSDocAugmentsTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.class) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n  },\n  [353 /* JSDocTemplateTag */]: function forEachChildInJSDocTemplateTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.constraint) || visitNodes(cbNode, cbNodes, node.typeParameters) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n  },\n  [354 /* JSDocTypedefTag */]: function forEachChildInJSDocTypedefTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || (node.typeExpression && node.typeExpression.kind === 318 /* JSDocTypeExpression */ ? visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.fullName) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)) : visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment)));\n  },\n  [347 /* JSDocCallbackTag */]: function forEachChildInJSDocCallbackTag(node, cbNode, cbNodes) {\n    return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.fullName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n  },\n  [350 /* JSDocReturnTag */]: forEachChildInJSDocReturnTag,\n  [352 /* JSDocTypeTag */]: forEachChildInJSDocReturnTag,\n  [351 /* JSDocThisTag */]: forEachChildInJSDocReturnTag,\n  [348 /* JSDocEnumTag */]: forEachChildInJSDocReturnTag,\n  [332 /* JSDocSignature */]: function forEachChildInJSDocSignature(node, cbNode, _cbNodes) {\n    return forEach(node.typeParameters, cbNode) || forEach(node.parameters, cbNode) || visitNode2(cbNode, node.type);\n  },\n  [333 /* JSDocLink */]: forEachChildInJSDocLinkCodeOrPlain,\n  [334 /* JSDocLinkCode */]: forEachChildInJSDocLinkCodeOrPlain,\n  [335 /* JSDocLinkPlain */]: forEachChildInJSDocLinkCodeOrPlain,\n  [331 /* JSDocTypeLiteral */]: function forEachChildInJSDocTypeLiteral(node, cbNode, _cbNodes) {\n    return forEach(node.jsDocPropertyTags, cbNode);\n  },\n  [336 /* JSDocTag */]: forEachChildInJSDocTag,\n  [341 /* JSDocClassTag */]: forEachChildInJSDocTag,\n  [342 /* JSDocPublicTag */]: forEachChildInJSDocTag,\n  [343 /* JSDocPrivateTag */]: forEachChildInJSDocTag,\n  [344 /* JSDocProtectedTag */]: forEachChildInJSDocTag,\n  [345 /* JSDocReadonlyTag */]: forEachChildInJSDocTag,\n  [340 /* JSDocDeprecatedTag */]: forEachChildInJSDocTag,\n  [346 /* JSDocOverrideTag */]: forEachChildInJSDocTag,\n  [359 /* PartiallyEmittedExpression */]: forEachChildInPartiallyEmittedExpression\n};\nfunction forEachChildInCallOrConstructSignature(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.parameters) || visitNode2(cbNode, node.type);\n}\nfunction forEachChildInUnionOrIntersectionType(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.types);\n}\nfunction forEachChildInParenthesizedTypeOrTypeOperator(node, cbNode, _cbNodes) {\n  return visitNode2(cbNode, node.type);\n}\nfunction forEachChildInObjectOrArrayBindingPattern(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.elements);\n}\nfunction forEachChildInCallOrNewExpression(node, cbNode, cbNodes) {\n  return visitNode2(cbNode, node.expression) || visitNode2(cbNode, node.questionDotToken) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNodes(cbNode, cbNodes, node.arguments);\n}\nfunction forEachChildInBlock(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.statements);\n}\nfunction forEachChildInContinueOrBreakStatement(node, cbNode, _cbNodes) {\n  return visitNode2(cbNode, node.label);\n}\nfunction forEachChildInClassDeclarationOrExpression(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.typeParameters) || visitNodes(cbNode, cbNodes, node.heritageClauses) || visitNodes(cbNode, cbNodes, node.members);\n}\nfunction forEachChildInAnnotationDeclaration(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.modifiers) || visitNode2(cbNode, node.name) || visitNodes(cbNode, cbNodes, node.members);\n}\nfunction forEachChildInNamedImportsOrExports(node, cbNode, cbNodes) {\n  return visitNodes(cbNode, cbNodes, node.elements);\n}\nfunction forEachChildInImportOrExportSpecifier(node, cbNode, _cbNodes) {\n  return visitNode2(cbNode, node.propertyName) || visitNode2(cbNode, node.name);\n}\nfunction forEachChildInJsxOpeningOrSelfClosingElement(node, cbNode, cbNodes) {\n  return visitNode2(cbNode, node.tagName) || visitNodes(cbNode, cbNodes, node.typeArguments) || visitNode2(cbNode, node.attributes);\n}\nfunction forEachChildInOptionalRestOrJSDocParameterModifier(node, cbNode, _cbNodes) {\n  return visitNode2(cbNode, node.type);\n}\nfunction forEachChildInJSDocParameterOrPropertyTag(node, cbNode, cbNodes) {\n  return visitNode2(cbNode, node.tagName) || (node.isNameFirst ? visitNode2(cbNode, node.name) || visitNode2(cbNode, node.typeExpression) : visitNode2(cbNode, node.typeExpression) || visitNode2(cbNode, node.name)) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n}\nfunction forEachChildInJSDocReturnTag(node, cbNode, cbNodes) {\n  return visitNode2(cbNode, node.tagName) || visitNode2(cbNode, node.typeExpression) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n}\nfunction forEachChildInJSDocLinkCodeOrPlain(node, cbNode, _cbNodes) {\n  return visitNode2(cbNode, node.name);\n}\nfunction forEachChildInJSDocTag(node, cbNode, cbNodes) {\n  return visitNode2(cbNode, node.tagName) || (typeof node.comment === \"string\" ? void 0 : visitNodes(cbNode, cbNodes, node.comment));\n}\nfunction forEachChildInPartiallyEmittedExpression(node, cbNode, _cbNodes) {\n  return visitNode2(cbNode, node.expression);\n}\nfunction forEachChild(node, cbNode, cbNodes) {\n  if (node === void 0 || node.kind <= 164 /* LastToken */) {\n    return;\n  }\n  const fn = forEachChildTable[node.kind];\n  return fn === void 0 ? void 0 : fn(node, cbNode, cbNodes);\n}\nfunction forEachChildRecursively(rootNode, cbNode, cbNodes) {\n  const queue = gatherPossibleChildren(rootNode);\n  const parents = [];\n  while (parents.length < queue.length) {\n    parents.push(rootNode);\n  }\n  while (queue.length !== 0) {\n    const current = queue.pop();\n    const parent2 = parents.pop();\n    if (isArray(current)) {\n      if (cbNodes) {\n        const res = cbNodes(current, parent2);\n        if (res) {\n          if (res === \"skip\")\n            continue;\n          return res;\n        }\n      }\n      for (let i = current.length - 1; i >= 0; --i) {\n        queue.push(current[i]);\n        parents.push(parent2);\n      }\n    } else {\n      const res = cbNode(current, parent2);\n      if (res) {\n        if (res === \"skip\")\n          continue;\n        return res;\n      }\n      if (current.kind >= 165 /* FirstNode */) {\n        for (const child of gatherPossibleChildren(current)) {\n          queue.push(child);\n          parents.push(current);\n        }\n      }\n    }\n  }\n}\nfunction gatherPossibleChildren(node) {\n  const children = [];\n  forEachChild(node, addWorkItem, addWorkItem);\n  return children;\n  function addWorkItem(n) {\n    children.unshift(n);\n  }\n}\nfunction setExternalModuleIndicator(sourceFile) {\n  sourceFile.externalModuleIndicator = isFileProbablyExternalModule(sourceFile);\n}\nvar sourceFileCompilerOptions;\nvar isArkguardInputSourceFile = false;\nfunction createSourceFile(fileName, sourceText, languageVersionOrOptions, setParentNodes = false, scriptKind, options, isArkguardInput) {\n  var _a2, _b;\n  (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Parse, \"createSourceFile\", { path: fileName }, true);\n  const recordInfo = MemoryDotting.recordStage(MemoryDotting.CREATE_SORUCE_FILE_PARSE);\n  mark(\"beforeParse\");\n  let result;\n  sourceFileCompilerOptions = options != null ? options : defaultInitCompilerOptions;\n  isArkguardInputSourceFile = isArkguardInput != null ? isArkguardInput : false;\n  perfLogger.logStartParseSourceFile(fileName);\n  const {\n    languageVersion,\n    setExternalModuleIndicator: overrideSetExternalModuleIndicator,\n    impliedNodeFormat: format\n  } = typeof languageVersionOrOptions === \"object\" ? languageVersionOrOptions : { languageVersion: languageVersionOrOptions };\n  if (languageVersion === 100 /* JSON */) {\n    result = Parser.parseSourceFile(fileName, sourceText, languageVersion, void 0, setParentNodes, 6 /* JSON */, noop);\n  } else {\n    const setIndicator = format === void 0 ? overrideSetExternalModuleIndicator : (file) => {\n      file.impliedNodeFormat = format;\n      return (overrideSetExternalModuleIndicator || setExternalModuleIndicator)(file);\n    };\n    result = Parser.parseSourceFile(fileName, sourceText, languageVersion, void 0, setParentNodes, scriptKind, setIndicator);\n  }\n  perfLogger.logStopParseSourceFile();\n  mark(\"afterParse\");\n  MemoryDotting.stopRecordStage(recordInfo);\n  measure(\"Parse\", \"beforeParse\", \"afterParse\");\n  (_b = tracing) == null ? void 0 : _b.pop();\n  return result;\n}\nfunction parseIsolatedEntityName(text, languageVersion) {\n  return Parser.parseIsolatedEntityName(text, languageVersion);\n}\nfunction parseJsonText(fileName, sourceText) {\n  return Parser.parseJsonText(fileName, sourceText);\n}\nfunction isExternalModule(file) {\n  return file.externalModuleIndicator !== void 0;\n}\nfunction updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks = false, option) {\n  sourceFileCompilerOptions = option != null ? option : defaultInitCompilerOptions;\n  const newSourceFile = IncrementalParser.updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks);\n  newSourceFile.flags |= sourceFile.flags & 6291456 /* PermanentlySetIncrementalFlags */;\n  return newSourceFile;\n}\nfunction parseIsolatedJSDocComment(content, start, length2) {\n  const result = Parser.JSDocParser.parseIsolatedJSDocComment(content, start, length2);\n  if (result && result.jsDoc) {\n    Parser.fixupParentReferences(result.jsDoc);\n  }\n  return result;\n}\nfunction parseJSDocTypeExpressionForTests(content, start, length2) {\n  return Parser.JSDocParser.parseJSDocTypeExpressionForTests(content, start, length2);\n}\nvar languageVersionCallBack;\nfunction setLanguageVersionByFilePath(getLanguageVersion) {\n  languageVersionCallBack = getLanguageVersion;\n}\nvar Parser;\n((Parser2) => {\n  var scanner2 = createScanner(99 /* Latest */, true);\n  var disallowInAndDecoratorContext = 4096 /* DisallowInContext */ | 16384 /* DecoratorContext */;\n  var NodeConstructor2;\n  var TokenConstructor2;\n  var IdentifierConstructor2;\n  var PrivateIdentifierConstructor2;\n  var SourceFileConstructor2;\n  function countNode(node) {\n    nodeCount++;\n    return node;\n  }\n  var baseNodeFactory = {\n    createBaseSourceFileNode: (kind) => countNode(new SourceFileConstructor2(kind, 0, 0)),\n    createBaseIdentifierNode: (kind) => countNode(new IdentifierConstructor2(kind, 0, 0)),\n    createBasePrivateIdentifierNode: (kind) => countNode(new PrivateIdentifierConstructor2(kind, 0, 0)),\n    createBaseTokenNode: (kind) => countNode(new TokenConstructor2(kind, 0, 0)),\n    createBaseNode: (kind) => countNode(new NodeConstructor2(kind, 0, 0))\n  };\n  var factory2 = createNodeFactory(1 /* NoParenthesizerRules */ | 2 /* NoNodeConverters */ | 8 /* NoOriginalNode */, baseNodeFactory);\n  var fileName;\n  var sourceFlags;\n  var sourceText;\n  var languageVersion;\n  var scriptKind;\n  var languageVariant;\n  var parseDiagnostics;\n  var jsDocDiagnostics;\n  var syntaxCursor;\n  var currentToken;\n  var nodeCount;\n  var identifiers;\n  var privateIdentifiers;\n  var identifierCount;\n  var parsingContext;\n  var notParenthesizedArrow;\n  var contextFlags;\n  var etsFlags;\n  var topLevel = true;\n  var parseErrorBeforeNextFinishedNode = false;\n  var extendEtsComponentDeclaration;\n  var stylesEtsComponentDeclaration;\n  var fileStylesComponents = new Map2();\n  var currentStructName;\n  var stateStylesRootNode;\n  var structStylesComponents = new Map2();\n  function parseSourceFile(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes = false, scriptKind2, setExternalModuleIndicatorOverride) {\n    var _a2;\n    scriptKind2 = ensureScriptKind(fileName2, scriptKind2);\n    if (scriptKind2 === 6 /* JSON */) {\n      const result2 = parseJsonText2(fileName2, sourceText2, languageVersion2, syntaxCursor2, setParentNodes);\n      convertToObjectWorker(result2, (_a2 = result2.statements[0]) == null ? void 0 : _a2.expression, result2.parseDiagnostics, false, void 0, void 0);\n      result2.referencedFiles = emptyArray;\n      result2.typeReferenceDirectives = emptyArray;\n      result2.libReferenceDirectives = emptyArray;\n      result2.amdDependencies = emptyArray;\n      result2.hasNoDefaultLib = false;\n      result2.pragmas = emptyMap;\n      return result2;\n    }\n    initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, scriptKind2);\n    const result = parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicatorOverride || setExternalModuleIndicator);\n    clearState();\n    return result;\n  }\n  Parser2.parseSourceFile = parseSourceFile;\n  function parseIsolatedEntityName2(content, languageVersion2) {\n    initializeState(\"\", content, languageVersion2, void 0, 1 /* JS */);\n    nextToken();\n    const entityName = parseEntityName(true);\n    const isInvalid = token() === 1 /* EndOfFileToken */ && !parseDiagnostics.length;\n    clearState();\n    return isInvalid ? entityName : void 0;\n  }\n  Parser2.parseIsolatedEntityName = parseIsolatedEntityName2;\n  function parseJsonText2(fileName2, sourceText2, languageVersion2 = 2 /* ES2015 */, syntaxCursor2, setParentNodes = false) {\n    initializeState(fileName2, sourceText2, languageVersion2, syntaxCursor2, 6 /* JSON */);\n    sourceFlags = contextFlags;\n    nextToken();\n    const pos = getNodePos();\n    let statements, endOfFileToken;\n    if (token() === 1 /* EndOfFileToken */) {\n      statements = createNodeArray2([], pos, pos);\n      endOfFileToken = parseTokenNode();\n    } else {\n      let expressions;\n      while (token() !== 1 /* EndOfFileToken */) {\n        let expression2;\n        switch (token()) {\n          case 22 /* OpenBracketToken */:\n            expression2 = parseArrayLiteralExpression();\n            break;\n          case 111 /* TrueKeyword */:\n          case 96 /* FalseKeyword */:\n          case 105 /* NullKeyword */:\n            expression2 = parseTokenNode();\n            break;\n          case 40 /* MinusToken */:\n            if (lookAhead(() => nextToken() === 8 /* NumericLiteral */ && nextToken() !== 58 /* ColonToken */)) {\n              expression2 = parsePrefixUnaryExpression();\n            } else {\n              expression2 = parseObjectLiteralExpression();\n            }\n            break;\n          case 8 /* NumericLiteral */:\n          case 10 /* StringLiteral */:\n            if (lookAhead(() => nextToken() !== 58 /* ColonToken */)) {\n              expression2 = parseLiteralNode();\n              break;\n            }\n          default:\n            expression2 = parseObjectLiteralExpression();\n            break;\n        }\n        if (expressions && isArray(expressions)) {\n          expressions.push(expression2);\n        } else if (expressions) {\n          expressions = [expressions, expression2];\n        } else {\n          expressions = expression2;\n          if (token() !== 1 /* EndOfFileToken */) {\n            parseErrorAtCurrentToken(Diagnostics.Unexpected_token);\n          }\n        }\n      }\n      const expression = isArray(expressions) ? finishNode(factory2.createArrayLiteralExpression(expressions), pos) : Debug.checkDefined(expressions);\n      const statement = factory2.createExpressionStatement(expression);\n      finishNode(statement, pos);\n      statements = createNodeArray2([statement], pos);\n      endOfFileToken = parseExpectedToken(1 /* EndOfFileToken */, Diagnostics.Unexpected_token);\n    }\n    const sourceFile = createSourceFile2(fileName2, 2 /* ES2015 */, 6 /* JSON */, false, statements, endOfFileToken, sourceFlags, noop);\n    if (setParentNodes) {\n      fixupParentReferences(sourceFile);\n    }\n    sourceFile.nodeCount = nodeCount;\n    sourceFile.identifierCount = identifierCount;\n    sourceFile.identifiers = identifiers;\n    sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n    if (jsDocDiagnostics) {\n      sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile);\n    }\n    const result = sourceFile;\n    clearState();\n    return result;\n  }\n  Parser2.parseJsonText = parseJsonText2;\n  function initializeState(_fileName, _sourceText, _languageVersion, _syntaxCursor, _scriptKind) {\n    NodeConstructor2 = objectAllocator.getNodeConstructor();\n    TokenConstructor2 = objectAllocator.getTokenConstructor();\n    IdentifierConstructor2 = objectAllocator.getIdentifierConstructor();\n    PrivateIdentifierConstructor2 = objectAllocator.getPrivateIdentifierConstructor();\n    SourceFileConstructor2 = objectAllocator.getSourceFileConstructor();\n    fileName = normalizePath(_fileName);\n    sourceText = _sourceText;\n    languageVersion = _languageVersion;\n    syntaxCursor = _syntaxCursor;\n    scriptKind = _scriptKind;\n    languageVariant = getLanguageVariant(_scriptKind);\n    parseDiagnostics = [];\n    parsingContext = 0;\n    identifiers = new Map2();\n    privateIdentifiers = new Map2();\n    identifierCount = 0;\n    nodeCount = 0;\n    sourceFlags = 0;\n    topLevel = true;\n    switch (scriptKind) {\n      case 1 /* JS */:\n      case 2 /* JSX */:\n        contextFlags = 262144 /* JavaScriptFile */;\n        break;\n      case 6 /* JSON */:\n        contextFlags = 262144 /* JavaScriptFile */ | 67108864 /* JsonFile */;\n        break;\n      case 8 /* ETS */:\n        contextFlags = 1073741824 /* EtsContext */;\n        break;\n      default:\n        contextFlags = 0 /* None */;\n        break;\n    }\n    if (fileName.endsWith(\".ets\" /* Ets */)) {\n      contextFlags = 1073741824 /* EtsContext */;\n    }\n    parseErrorBeforeNextFinishedNode = false;\n    scanner2.setText(sourceText);\n    scanner2.setOnError(scanError);\n    scanner2.setScriptTarget(languageVersion);\n    scanner2.setLanguageVariant(languageVariant);\n    scanner2.setEtsContext(inEtsContext());\n  }\n  function clearState() {\n    scanner2.clearCommentDirectives();\n    scanner2.setText(\"\");\n    scanner2.setOnError(void 0);\n    scanner2.setEtsContext(false);\n    sourceText = void 0;\n    languageVersion = void 0;\n    syntaxCursor = void 0;\n    scriptKind = void 0;\n    languageVariant = void 0;\n    sourceFlags = 0;\n    parseDiagnostics = void 0;\n    jsDocDiagnostics = void 0;\n    parsingContext = 0;\n    identifiers = void 0;\n    notParenthesizedArrow = void 0;\n    topLevel = true;\n    extendEtsComponentDeclaration = void 0;\n    stylesEtsComponentDeclaration = void 0;\n    stateStylesRootNode = void 0;\n    fileStylesComponents.clear();\n    structStylesComponents.clear();\n  }\n  function parseSourceFileWorker(languageVersion2, setParentNodes, scriptKind2, setExternalModuleIndicator2) {\n    const isDeclarationFile = isDeclarationFileName(fileName);\n    if (isDeclarationFile) {\n      contextFlags |= 16777216 /* Ambient */;\n    }\n    sourceFlags = contextFlags;\n    nextToken();\n    let statements = parseList(ParsingContext.SourceElements, parseStatement);\n    const markedkitImportRanges = new Array();\n    const sdkPath = getSdkPath(sourceFileCompilerOptions);\n    statements = !!sourceFileCompilerOptions.noTransformedKitInParser || !sdkPath || parseDiagnostics.length || (languageVersionCallBack == null ? void 0 : languageVersionCallBack(fileName)) ? statements : createNodeArray2(processKit(\n      factory2,\n      statements,\n      sdkPath,\n      markedkitImportRanges,\n      inEtsContext(),\n      sourceFileCompilerOptions,\n      fileName\n    ), statements.pos);\n    Debug.assert(token() === 1 /* EndOfFileToken */);\n    const endOfFileToken = addJSDocComment(parseTokenNode());\n    const sourceFile = createSourceFile2(fileName, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, sourceFlags, setExternalModuleIndicator2);\n    if (markedkitImportRanges.length > 0) {\n      sourceFile.markedKitImportRange = markedkitImportRanges;\n    }\n    processCommentPragmas(sourceFile, sourceText);\n    processPragmasIntoFields(sourceFile, reportPragmaDiagnostic);\n    sourceFile.commentDirectives = scanner2.getCommentDirectives();\n    sourceFile.nodeCount = nodeCount;\n    sourceFile.identifierCount = identifierCount;\n    sourceFile.identifiers = identifiers;\n    sourceFile.parseDiagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n    if (jsDocDiagnostics) {\n      sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile);\n    }\n    if (setParentNodes) {\n      fixupParentReferences(sourceFile);\n    }\n    return sourceFile;\n    function reportPragmaDiagnostic(pos, end, diagnostic) {\n      parseDiagnostics.push(createDetachedDiagnostic(fileName, pos, end, diagnostic));\n    }\n  }\n  function withJSDoc(node, hasJSDoc) {\n    return hasJSDoc ? addJSDocComment(node) : node;\n  }\n  let hasDeprecatedTag = false;\n  function addJSDocComment(node) {\n    Debug.assert(!node.jsDoc);\n    const jsDoc = mapDefined(getJSDocCommentRanges(node, sourceText), (comment) => JSDocParser.parseJSDocComment(node, comment.pos, comment.end - comment.pos));\n    if (jsDoc.length)\n      node.jsDoc = jsDoc;\n    if (hasDeprecatedTag) {\n      hasDeprecatedTag = false;\n      node.flags |= 268435456 /* Deprecated */;\n    }\n    return node;\n  }\n  function reparseTopLevelAwait(sourceFile) {\n    const savedSyntaxCursor = syntaxCursor;\n    const baseSyntaxCursor = IncrementalParser.createSyntaxCursor(sourceFile);\n    syntaxCursor = { currentNode: currentNode2 };\n    const statements = [];\n    const savedParseDiagnostics = parseDiagnostics;\n    parseDiagnostics = [];\n    let pos = 0;\n    let start = findNextStatementWithAwait(sourceFile.statements, 0);\n    while (start !== -1) {\n      const prevStatement = sourceFile.statements[pos];\n      const nextStatement = sourceFile.statements[start];\n      addRange(statements, sourceFile.statements, pos, start);\n      pos = findNextStatementWithoutAwait(sourceFile.statements, start);\n      const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos);\n      const diagnosticEnd = diagnosticStart >= 0 ? findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= nextStatement.pos, diagnosticStart) : -1;\n      if (diagnosticStart >= 0) {\n        addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart, diagnosticEnd >= 0 ? diagnosticEnd : void 0);\n      }\n      speculationHelper(() => {\n        const savedContextFlags = contextFlags;\n        contextFlags |= 32768 /* AwaitContext */;\n        scanner2.setTextPos(nextStatement.pos);\n        nextToken();\n        while (token() !== 1 /* EndOfFileToken */) {\n          const startPos = scanner2.getStartPos();\n          const statement = parseListElement(ParsingContext.SourceElements, parseStatement);\n          statements.push(statement);\n          if (startPos === scanner2.getStartPos()) {\n            nextToken();\n          }\n          if (pos >= 0) {\n            const nonAwaitStatement = sourceFile.statements[pos];\n            if (statement.end === nonAwaitStatement.pos) {\n              break;\n            }\n            if (statement.end > nonAwaitStatement.pos) {\n              pos = findNextStatementWithoutAwait(sourceFile.statements, pos + 1);\n            }\n          }\n        }\n        contextFlags = savedContextFlags;\n      }, 2 /* Reparse */);\n      start = pos >= 0 ? findNextStatementWithAwait(sourceFile.statements, pos) : -1;\n    }\n    if (pos >= 0) {\n      const prevStatement = sourceFile.statements[pos];\n      addRange(statements, sourceFile.statements, pos);\n      const diagnosticStart = findIndex(savedParseDiagnostics, (diagnostic) => diagnostic.start >= prevStatement.pos);\n      if (diagnosticStart >= 0) {\n        addRange(parseDiagnostics, savedParseDiagnostics, diagnosticStart);\n      }\n    }\n    syntaxCursor = savedSyntaxCursor;\n    return factory2.updateSourceFile(sourceFile, setTextRange(factory2.createNodeArray(statements), sourceFile.statements));\n    function containsPossibleTopLevelAwait(node) {\n      return !(node.flags & 32768 /* AwaitContext */) && !!(node.transformFlags & 67108864 /* ContainsPossibleTopLevelAwait */);\n    }\n    function findNextStatementWithAwait(statements2, start2) {\n      for (let i = start2; i < statements2.length; i++) {\n        if (containsPossibleTopLevelAwait(statements2[i])) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function findNextStatementWithoutAwait(statements2, start2) {\n      for (let i = start2; i < statements2.length; i++) {\n        if (!containsPossibleTopLevelAwait(statements2[i])) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function currentNode2(position) {\n      const node = baseSyntaxCursor.currentNode(position);\n      if (topLevel && node && containsPossibleTopLevelAwait(node)) {\n        node.intersectsChange = true;\n      }\n      return node;\n    }\n  }\n  function fixupParentReferences(rootNode) {\n    setParentRecursive(rootNode, true);\n  }\n  Parser2.fixupParentReferences = fixupParentReferences;\n  function createSourceFile2(fileName2, languageVersion2, scriptKind2, isDeclarationFile, statements, endOfFileToken, flags, setExternalModuleIndicator2) {\n    let sourceFile = factory2.createSourceFile(statements, endOfFileToken, flags);\n    setTextRangePosWidth(sourceFile, 0, sourceText.length);\n    setFields(sourceFile);\n    if (!isDeclarationFile && isExternalModule(sourceFile) && sourceFile.transformFlags & 67108864 /* ContainsPossibleTopLevelAwait */) {\n      sourceFile = reparseTopLevelAwait(sourceFile);\n      setFields(sourceFile);\n    }\n    return sourceFile;\n    function setFields(sourceFile2) {\n      sourceFile2.text = sourceText;\n      sourceFile2.bindDiagnostics = [];\n      sourceFile2.bindSuggestionDiagnostics = void 0;\n      sourceFile2.languageVersion = languageVersion2;\n      sourceFile2.fileName = fileName2;\n      sourceFile2.languageVariant = getLanguageVariant(scriptKind2);\n      sourceFile2.isDeclarationFile = isDeclarationFile;\n      sourceFile2.scriptKind = scriptKind2;\n      setExternalModuleIndicator2(sourceFile2);\n      sourceFile2.setExternalModuleIndicator = setExternalModuleIndicator2;\n    }\n  }\n  function setContextFlag(val, flag) {\n    if (val) {\n      contextFlags |= flag;\n    } else {\n      contextFlags &= ~flag;\n    }\n  }\n  function setEtsFlag(val, flag) {\n    if (val) {\n      etsFlags |= flag;\n    } else {\n      etsFlags &= ~flag;\n    }\n  }\n  function setDisallowInContext(val) {\n    setContextFlag(val, 4096 /* DisallowInContext */);\n  }\n  function setYieldContext(val) {\n    setContextFlag(val, 8192 /* YieldContext */);\n  }\n  function setDecoratorContext(val) {\n    setContextFlag(val, 16384 /* DecoratorContext */);\n  }\n  function setAwaitContext(val) {\n    setContextFlag(val, 32768 /* AwaitContext */);\n  }\n  function setStructContext(val) {\n    setEtsFlag(val, 2 /* StructContext */);\n  }\n  function setEtsComponentsContext(val) {\n    setEtsFlag(val, 128 /* EtsComponentsContext */);\n  }\n  function setEtsNewExpressionContext(val) {\n    setEtsFlag(val, 256 /* EtsNewExpressionContext */);\n  }\n  function setEtsExtendComponentsContext(val) {\n    setEtsFlag(val, 4 /* EtsExtendComponentsContext */);\n  }\n  function setEtsStylesComponentsContext(val) {\n    setEtsFlag(val, 8 /* EtsStylesComponentsContext */);\n  }\n  function setEtsBuildContext(val) {\n    setEtsFlag(val, 16 /* EtsBuildContext */);\n  }\n  function setEtsBuilderContext(val) {\n    setEtsFlag(val, 32 /* EtsBuilderContext */);\n  }\n  function setEtsStateStylesContext(val) {\n    setEtsFlag(val, 64 /* EtsStateStylesContext */);\n  }\n  function setUICallbackContext(val) {\n    setEtsFlag(val, 512 /* UICallbackContext */);\n  }\n  function setSyntaxComponentContext(val) {\n    setEtsFlag(val, 1024 /* SyntaxComponentContext */);\n  }\n  function setSyntaxDataSourceContext(val) {\n    setEtsFlag(val, 2048 /* SyntaxDataSourceContext */);\n  }\n  function setNoEtsComponentContext(val) {\n    setEtsFlag(val, 4096 /* NoEtsComponentContext */);\n  }\n  let firstArgumentExpression = false;\n  function setFirstArgumentExpression(val) {\n    firstArgumentExpression = val;\n  }\n  function getFirstArgumentExpression() {\n    return firstArgumentExpression;\n  }\n  let repeatEachRest = false;\n  function setRepeatEachRest(val) {\n    repeatEachRest = val;\n  }\n  function getRepeatEachRest() {\n    return repeatEachRest;\n  }\n  function doOutsideOfContext(context, func) {\n    const contextFlagsToClear = context & contextFlags;\n    if (contextFlagsToClear) {\n      setContextFlag(false, contextFlagsToClear);\n      const result = func();\n      setContextFlag(true, contextFlagsToClear);\n      return result;\n    }\n    return func();\n  }\n  function doInsideOfContext(context, func) {\n    const contextFlagsToSet = context & ~contextFlags;\n    if (contextFlagsToSet) {\n      setContextFlag(true, contextFlagsToSet);\n      const result = func();\n      setContextFlag(false, contextFlagsToSet);\n      return result;\n    }\n    return func();\n  }\n  function allowInAnd(func) {\n    return doOutsideOfContext(4096 /* DisallowInContext */, func);\n  }\n  function disallowInAnd(func) {\n    return doInsideOfContext(4096 /* DisallowInContext */, func);\n  }\n  function allowConditionalTypesAnd(func) {\n    return doOutsideOfContext(65536 /* DisallowConditionalTypesContext */, func);\n  }\n  function disallowConditionalTypesAnd(func) {\n    return doInsideOfContext(65536 /* DisallowConditionalTypesContext */, func);\n  }\n  function doInYieldContext(func) {\n    return doInsideOfContext(8192 /* YieldContext */, func);\n  }\n  function doInDecoratorContext(func) {\n    var _a2, _b, _c, _d, _e, _f;\n    const extendDecorator = (_c = (_b = (_a2 = sourceFileCompilerOptions.ets) == null ? void 0 : _a2.extend) == null ? void 0 : _b.decorator) != null ? _c : \"Extend\";\n    if (token() === 79 /* Identifier */ && scanner2.getTokenText() === extendDecorator) {\n      setEtsFlag(true, 4 /* EtsExtendComponentsContext */);\n    }\n    const stylesDecorator = (_f = (_e = (_d = sourceFileCompilerOptions.ets) == null ? void 0 : _d.styles) == null ? void 0 : _e.decorator) != null ? _f : \"Styles\";\n    if (token() === 79 /* Identifier */ && scanner2.getTokenText() === stylesDecorator) {\n      setEtsFlag(true, 8 /* EtsStylesComponentsContext */);\n    }\n    return doInsideOfContext(16384 /* DecoratorContext */, func);\n  }\n  function doInAwaitContext(func) {\n    return doInsideOfContext(32768 /* AwaitContext */, func);\n  }\n  function doOutsideOfAwaitContext(func) {\n    return doOutsideOfContext(32768 /* AwaitContext */, func);\n  }\n  function doInYieldAndAwaitContext(func) {\n    return doInsideOfContext(8192 /* YieldContext */ | 32768 /* AwaitContext */, func);\n  }\n  function doOutsideOfYieldAndAwaitContext(func) {\n    return doOutsideOfContext(8192 /* YieldContext */ | 32768 /* AwaitContext */, func);\n  }\n  function inContext(flags) {\n    return (contextFlags & flags) !== 0;\n  }\n  function inEtsFlagsContext(flags) {\n    return (etsFlags & flags) !== 0;\n  }\n  function inYieldContext() {\n    return inContext(8192 /* YieldContext */);\n  }\n  function inDisallowInContext() {\n    return inContext(4096 /* DisallowInContext */);\n  }\n  function inDisallowConditionalTypesContext() {\n    return inContext(65536 /* DisallowConditionalTypesContext */);\n  }\n  function inDecoratorContext() {\n    return inContext(16384 /* DecoratorContext */);\n  }\n  function inAwaitContext() {\n    return inContext(32768 /* AwaitContext */);\n  }\n  function parseErrorAtCurrentToken(message, arg0) {\n    return parseErrorAt(scanner2.getTokenPos(), scanner2.getTextPos(), message, arg0);\n  }\n  function inEtsContext() {\n    return inContext(1073741824 /* EtsContext */);\n  }\n  function inStructContext() {\n    return inEtsContext() && inEtsFlagsContext(2 /* StructContext */);\n  }\n  function inEtsComponentsContext() {\n    return inEtsContext() && inEtsFlagsContext(128 /* EtsComponentsContext */);\n  }\n  function inEtsNewExpressionContext() {\n    return inEtsContext() && inEtsFlagsContext(256 /* EtsNewExpressionContext */);\n  }\n  function inEtsExtendComponentsContext() {\n    return inEtsContext() && inEtsFlagsContext(4 /* EtsExtendComponentsContext */);\n  }\n  function inEtsStylesComponentsContext() {\n    return inEtsContext() && inEtsFlagsContext(8 /* EtsStylesComponentsContext */);\n  }\n  function inBuildContext() {\n    return inEtsContext() && inStructContext() && inEtsFlagsContext(16 /* EtsBuildContext */);\n  }\n  function inBuilderContext() {\n    return inEtsContext() && inEtsFlagsContext(32 /* EtsBuilderContext */);\n  }\n  function inEtsStateStylesContext() {\n    return inEtsContext() && (inBuildContext() || inBuilderContext() || inEtsExtendComponentsContext() || inEtsStylesComponentsContext()) && inEtsFlagsContext(64 /* EtsStateStylesContext */);\n  }\n  function inUICallbackContext() {\n    return inEtsContext() && (inBuildContext() || inBuilderContext()) && inEtsFlagsContext(512 /* UICallbackContext */);\n  }\n  function inSyntaxComponentContext() {\n    return inEtsContext() && (inBuildContext() || inBuilderContext()) && inEtsFlagsContext(1024 /* SyntaxComponentContext */);\n  }\n  function inSyntaxDataSourceContext() {\n    return inEtsContext() && (inBuildContext() || inBuilderContext()) && inEtsFlagsContext(2048 /* SyntaxDataSourceContext */);\n  }\n  function inNoEtsComponentContext() {\n    return inEtsContext() && (inBuildContext() || inBuilderContext()) && inEtsFlagsContext(4096 /* NoEtsComponentContext */);\n  }\n  function inAllowAnnotationContext() {\n    return (inEtsContext() || isArkguardInputSourceFile) && (sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.etsAnnotationsEnable) === true;\n  }\n  function parseErrorAtPosition(start, length2, message, arg0) {\n    const lastError = lastOrUndefined(parseDiagnostics);\n    let result;\n    if (!lastError || start !== lastError.start) {\n      result = createDetachedDiagnostic(fileName, start, length2, message, arg0);\n      parseDiagnostics.push(result);\n    }\n    parseErrorBeforeNextFinishedNode = true;\n    return result;\n  }\n  function parseErrorAt(start, end, message, arg0) {\n    return parseErrorAtPosition(start, end - start, message, arg0);\n  }\n  function parseErrorAtRange(range, message, arg0) {\n    parseErrorAt(range.pos, range.end, message, arg0);\n  }\n  function scanError(message, length2) {\n    parseErrorAtPosition(scanner2.getTextPos(), length2, message);\n  }\n  function getNodePos() {\n    return scanner2.getStartPos();\n  }\n  function hasPrecedingJSDocComment() {\n    return scanner2.hasPrecedingJSDocComment();\n  }\n  function token() {\n    return currentToken;\n  }\n  function nextTokenWithoutCheck() {\n    return currentToken = scanner2.scan();\n  }\n  function nextTokenAnd(func) {\n    nextToken();\n    return func();\n  }\n  function nextToken() {\n    if (isKeyword(currentToken) && (scanner2.hasUnicodeEscape() || scanner2.hasExtendedUnicodeEscape())) {\n      parseErrorAt(scanner2.getTokenPos(), scanner2.getTextPos(), Diagnostics.Keywords_cannot_contain_escape_characters);\n    }\n    return nextTokenWithoutCheck();\n  }\n  function nextTokenJSDoc() {\n    return currentToken = scanner2.scanJsDocToken();\n  }\n  function reScanGreaterToken() {\n    return currentToken = scanner2.reScanGreaterToken();\n  }\n  function reScanSlashToken() {\n    return currentToken = scanner2.reScanSlashToken();\n  }\n  function reScanTemplateToken(isTaggedTemplate) {\n    return currentToken = scanner2.reScanTemplateToken(isTaggedTemplate);\n  }\n  function reScanTemplateHeadOrNoSubstitutionTemplate() {\n    return currentToken = scanner2.reScanTemplateHeadOrNoSubstitutionTemplate();\n  }\n  function reScanLessThanToken() {\n    return currentToken = scanner2.reScanLessThanToken();\n  }\n  function reScanHashToken() {\n    return currentToken = scanner2.reScanHashToken();\n  }\n  function scanJsxIdentifier() {\n    return currentToken = scanner2.scanJsxIdentifier();\n  }\n  function scanJsxText() {\n    return currentToken = scanner2.scanJsxToken();\n  }\n  function scanJsxAttributeValue() {\n    return currentToken = scanner2.scanJsxAttributeValue();\n  }\n  function speculationHelper(callback, speculationKind) {\n    const saveToken = currentToken;\n    const saveParseDiagnosticsLength = parseDiagnostics.length;\n    const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode;\n    const saveContextFlags = contextFlags;\n    const result = speculationKind !== 0 /* TryParse */ ? scanner2.lookAhead(callback) : scanner2.tryScan(callback);\n    Debug.assert(saveContextFlags === contextFlags);\n    if (!result || speculationKind !== 0 /* TryParse */) {\n      currentToken = saveToken;\n      if (speculationKind !== 2 /* Reparse */) {\n        parseDiagnostics.length = saveParseDiagnosticsLength;\n      }\n      parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode;\n    }\n    return result;\n  }\n  function lookAhead(callback) {\n    return speculationHelper(callback, 1 /* Lookahead */);\n  }\n  function tryParse(callback) {\n    return speculationHelper(callback, 0 /* TryParse */);\n  }\n  function isBindingIdentifier() {\n    if (token() === 79 /* Identifier */) {\n      return true;\n    }\n    return token() > 117 /* LastReservedWord */;\n  }\n  function isIdentifier2() {\n    if (token() === 79 /* Identifier */) {\n      return true;\n    }\n    if (token() === 126 /* YieldKeyword */ && inYieldContext()) {\n      return false;\n    }\n    if (token() === 134 /* AwaitKeyword */ && inAwaitContext()) {\n      return false;\n    }\n    return token() > 117 /* LastReservedWord */;\n  }\n  function parseExpected(kind, diagnosticMessage, shouldAdvance = true) {\n    if (token() === kind) {\n      if (shouldAdvance) {\n        nextToken();\n      }\n      return true;\n    }\n    if (token() !== kind && stateStylesRootNode && inEtsStateStylesContext()) {\n      return true;\n    }\n    if (diagnosticMessage) {\n      parseErrorAtCurrentToken(diagnosticMessage);\n    } else {\n      parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind));\n    }\n    return false;\n  }\n  const viableKeywordSuggestions = Object.keys(textToKeywordObj).filter((keyword) => keyword.length > 2);\n  function parseErrorForMissingSemicolonAfter(node) {\n    var _a2;\n    if (isTaggedTemplateExpression(node)) {\n      parseErrorAt(skipTrivia(sourceText, node.template.pos), node.template.end, Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);\n      return;\n    }\n    const expressionText = isIdentifier(node) ? idText(node) : void 0;\n    if (!expressionText || !isIdentifierText(expressionText, languageVersion)) {\n      parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(26 /* SemicolonToken */));\n      return;\n    }\n    const pos = skipTrivia(sourceText, node.pos);\n    switch (expressionText) {\n      case \"const\":\n      case \"let\":\n      case \"var\":\n        parseErrorAt(pos, node.end, Diagnostics.Variable_declaration_not_allowed_at_this_location);\n        return;\n      case \"declare\":\n        return;\n      case \"interface\":\n        parseErrorForInvalidName(Diagnostics.Interface_name_cannot_be_0, Diagnostics.Interface_must_be_given_a_name, 18 /* OpenBraceToken */);\n        return;\n      case \"is\":\n        parseErrorAt(pos, scanner2.getTextPos(), Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);\n        return;\n      case \"module\":\n      case \"namespace\":\n        parseErrorForInvalidName(Diagnostics.Namespace_name_cannot_be_0, Diagnostics.Namespace_must_be_given_a_name, 18 /* OpenBraceToken */);\n        return;\n      case \"type\":\n        parseErrorForInvalidName(Diagnostics.Type_alias_name_cannot_be_0, Diagnostics.Type_alias_must_be_given_a_name, 63 /* EqualsToken */);\n        return;\n    }\n    const suggestion = (_a2 = getSpellingSuggestion(expressionText, viableKeywordSuggestions, (n) => n)) != null ? _a2 : getSpaceSuggestion(expressionText);\n    if (suggestion) {\n      parseErrorAt(pos, node.end, Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0, suggestion);\n      return;\n    }\n    if (token() === 0 /* Unknown */) {\n      return;\n    }\n    parseErrorAt(pos, node.end, Diagnostics.Unexpected_keyword_or_identifier);\n  }\n  function parseErrorForInvalidName(nameDiagnostic, blankDiagnostic, tokenIfBlankName) {\n    if (token() === tokenIfBlankName) {\n      parseErrorAtCurrentToken(blankDiagnostic);\n    } else {\n      parseErrorAtCurrentToken(nameDiagnostic, scanner2.getTokenValue());\n    }\n  }\n  function getSpaceSuggestion(expressionText) {\n    for (const keyword of viableKeywordSuggestions) {\n      if (expressionText.length > keyword.length + 2 && startsWith(expressionText, keyword)) {\n        return `${keyword} ${expressionText.slice(keyword.length)}`;\n      }\n    }\n    return void 0;\n  }\n  function parseSemicolonAfterPropertyName(name, type, initializer) {\n    if (token() === 59 /* AtToken */ && !scanner2.hasPrecedingLineBreak()) {\n      parseErrorAtCurrentToken(Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);\n      return;\n    }\n    if (token() === 20 /* OpenParenToken */) {\n      parseErrorAtCurrentToken(Diagnostics.Cannot_start_a_function_call_in_a_type_annotation);\n      nextToken();\n      return;\n    }\n    if (type && !canParseSemicolon()) {\n      if (initializer) {\n        parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(26 /* SemicolonToken */));\n      } else {\n        parseErrorAtCurrentToken(Diagnostics.Expected_for_property_initializer);\n      }\n      return;\n    }\n    if (tryParseSemicolon()) {\n      return;\n    }\n    if (initializer) {\n      parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(26 /* SemicolonToken */));\n      return;\n    }\n    parseErrorForMissingSemicolonAfter(name);\n  }\n  function parseExpectedJSDoc(kind) {\n    if (token() === kind) {\n      nextTokenJSDoc();\n      return true;\n    }\n    parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(kind));\n    return false;\n  }\n  function parseExpectedMatchingBrackets(openKind, closeKind, openParsed, openPosition) {\n    if (token() === closeKind) {\n      nextToken();\n      return;\n    }\n    const lastError = parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(closeKind));\n    if (!openParsed) {\n      return;\n    }\n    if (lastError) {\n      addRelatedInfo(\n        lastError,\n        createDetachedDiagnostic(fileName, openPosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, tokenToString(openKind), tokenToString(closeKind))\n      );\n    }\n  }\n  function parseOptional(t) {\n    if (token() === t) {\n      nextToken();\n      return true;\n    }\n    return false;\n  }\n  function parseOptionalToken(t) {\n    if (token() === t) {\n      return parseTokenNode();\n    }\n    return void 0;\n  }\n  function parseOptionalTokenJSDoc(t) {\n    if (token() === t) {\n      return parseTokenNodeJSDoc();\n    }\n    return void 0;\n  }\n  function parseExpectedToken(t, diagnosticMessage, arg0) {\n    return parseOptionalToken(t) || createMissingNode(t, false, diagnosticMessage || Diagnostics._0_expected, arg0 || tokenToString(t));\n  }\n  function parseExpectedTokenJSDoc(t) {\n    return parseOptionalTokenJSDoc(t) || createMissingNode(t, false, Diagnostics._0_expected, tokenToString(t));\n  }\n  function parseTokenNode() {\n    const pos = getNodePos();\n    const kind = token();\n    nextToken();\n    return finishNode(factory2.createToken(kind), pos);\n  }\n  function parseTokenNodeJSDoc() {\n    const pos = getNodePos();\n    const kind = token();\n    nextTokenJSDoc();\n    return finishNode(factory2.createToken(kind), pos);\n  }\n  function canParseSemicolon() {\n    if (token() === 26 /* SemicolonToken */) {\n      return true;\n    }\n    return token() === 19 /* CloseBraceToken */ || token() === 1 /* EndOfFileToken */ || scanner2.hasPrecedingLineBreak();\n  }\n  function tryParseSemicolon() {\n    if (!canParseSemicolon()) {\n      return false;\n    }\n    if (token() === 26 /* SemicolonToken */) {\n      nextToken();\n    }\n    return true;\n  }\n  function parseSemicolon() {\n    return tryParseSemicolon() || parseExpected(26 /* SemicolonToken */);\n  }\n  function createNodeArray2(elements, pos, end, hasTrailingComma) {\n    const array = factory2.createNodeArray(elements, hasTrailingComma);\n    setTextRangePosEnd(array, pos, end != null ? end : scanner2.getStartPos());\n    return array;\n  }\n  function finishNode(node, pos, end, virtual) {\n    setTextRangePosEnd(node, pos, end != null ? end : scanner2.getStartPos());\n    if (contextFlags) {\n      node.flags |= contextFlags;\n    }\n    if (parseErrorBeforeNextFinishedNode) {\n      parseErrorBeforeNextFinishedNode = false;\n      node.flags |= 131072 /* ThisNodeHasError */;\n    }\n    if (virtual) {\n      node.virtual = true;\n    }\n    return node;\n  }\n  function createMissingNode(kind, reportAtCurrentPosition, diagnosticMessage, arg0) {\n    if (reportAtCurrentPosition) {\n      parseErrorAtPosition(scanner2.getStartPos(), 0, diagnosticMessage, arg0);\n    } else if (diagnosticMessage) {\n      parseErrorAtCurrentToken(diagnosticMessage, arg0);\n    }\n    const pos = getNodePos();\n    const result = kind === 79 /* Identifier */ ? factory2.createIdentifier(\"\", void 0, void 0) : isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode(kind, \"\", \"\", void 0) : kind === 8 /* NumericLiteral */ ? factory2.createNumericLiteral(\"\", void 0) : kind === 10 /* StringLiteral */ ? factory2.createStringLiteral(\"\", void 0) : kind === 285 /* MissingDeclaration */ ? factory2.createMissingDeclaration() : factory2.createToken(kind);\n    return finishNode(result, pos);\n  }\n  function internIdentifier(text) {\n    let identifier = identifiers.get(text);\n    if (identifier === void 0) {\n      identifiers.set(text, identifier = text);\n    }\n    return identifier;\n  }\n  function createIdentifier3(isIdentifier3, diagnosticMessage, privateIdentifierDiagnosticMessage) {\n    if (isIdentifier3) {\n      identifierCount++;\n      const pos = getNodePos();\n      const originalKeywordKind = token();\n      const text = internIdentifier(scanner2.getTokenValue());\n      const hasExtendedUnicodeEscape = scanner2.hasExtendedUnicodeEscape();\n      nextTokenWithoutCheck();\n      return finishNode(factory2.createIdentifier(text, void 0, originalKeywordKind, hasExtendedUnicodeEscape), pos);\n    }\n    if (token() === 80 /* PrivateIdentifier */) {\n      parseErrorAtCurrentToken(privateIdentifierDiagnosticMessage || Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n      return createIdentifier3(true);\n    }\n    if (token() === 0 /* Unknown */ && scanner2.tryScan(() => scanner2.reScanInvalidIdentifier() === 79 /* Identifier */)) {\n      return createIdentifier3(true);\n    }\n    if (stateStylesRootNode && inEtsStateStylesContext() && token() === 24 /* DotToken */) {\n      identifierCount++;\n      const pos = getNodePos();\n      return finishVirtualNode2(\n        factory2.createIdentifier(`${stateStylesRootNode}Instance`, void 0, 79 /* Identifier */),\n        pos,\n        pos\n      );\n    }\n    identifierCount++;\n    const reportAtCurrentPosition = token() === 1 /* EndOfFileToken */;\n    const isReservedWord = scanner2.isReservedWord();\n    const msgArg = scanner2.getTokenText();\n    const defaultMessage = isReservedWord ? Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here : Diagnostics.Identifier_expected;\n    return createMissingNode(79 /* Identifier */, reportAtCurrentPosition, diagnosticMessage || defaultMessage, msgArg);\n  }\n  function parseBindingIdentifier(privateIdentifierDiagnosticMessage) {\n    return createIdentifier3(isBindingIdentifier(), void 0, privateIdentifierDiagnosticMessage);\n  }\n  function parseIdentifier(diagnosticMessage, privateIdentifierDiagnosticMessage) {\n    return createIdentifier3(isIdentifier2(), diagnosticMessage, privateIdentifierDiagnosticMessage);\n  }\n  function parseEtsIdentifier(pos) {\n    identifierCount++;\n    const text = internIdentifier(stylesEtsComponentDeclaration.type);\n    return finishVirtualNode2(factory2.createIdentifier(text), pos, pos);\n  }\n  function parseIdentifierName(diagnosticMessage) {\n    return createIdentifier3(tokenIsIdentifierOrKeyword(token()), diagnosticMessage);\n  }\n  function isLiteralPropertyName() {\n    return tokenIsIdentifierOrKeyword(token()) || token() === 10 /* StringLiteral */ || token() === 8 /* NumericLiteral */;\n  }\n  function isAssertionKey2() {\n    return tokenIsIdentifierOrKeyword(token()) || token() === 10 /* StringLiteral */;\n  }\n  function parsePropertyNameWorker(allowComputedPropertyNames) {\n    if (token() === 10 /* StringLiteral */ || token() === 8 /* NumericLiteral */) {\n      const node = parseLiteralNode();\n      node.text = internIdentifier(node.text);\n      return node;\n    }\n    if (allowComputedPropertyNames && token() === 22 /* OpenBracketToken */) {\n      return parseComputedPropertyName();\n    }\n    if (token() === 80 /* PrivateIdentifier */) {\n      return parsePrivateIdentifier();\n    }\n    return parseIdentifierName();\n  }\n  function parsePropertyName() {\n    return parsePropertyNameWorker(true);\n  }\n  function parseComputedPropertyName() {\n    const pos = getNodePos();\n    parseExpected(22 /* OpenBracketToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpected(23 /* CloseBracketToken */);\n    return finishNode(factory2.createComputedPropertyName(expression), pos);\n  }\n  function internPrivateIdentifier(text) {\n    let privateIdentifier = privateIdentifiers.get(text);\n    if (privateIdentifier === void 0) {\n      privateIdentifiers.set(text, privateIdentifier = text);\n    }\n    return privateIdentifier;\n  }\n  function parsePrivateIdentifier() {\n    const pos = getNodePos();\n    const node = factory2.createPrivateIdentifier(internPrivateIdentifier(scanner2.getTokenValue()));\n    nextToken();\n    return finishNode(node, pos);\n  }\n  function parseContextualModifier(t) {\n    return token() === t && tryParse(nextTokenCanFollowModifier);\n  }\n  function nextTokenIsOnSameLineAndCanFollowModifier() {\n    nextToken();\n    if (scanner2.hasPrecedingLineBreak()) {\n      return false;\n    }\n    return canFollowModifier();\n  }\n  function nextTokenCanFollowModifier() {\n    switch (token()) {\n      case 86 /* ConstKeyword */:\n        return nextToken() === 93 /* EnumKeyword */;\n      case 94 /* ExportKeyword */:\n        nextToken();\n        if (token() === 89 /* DefaultKeyword */) {\n          return lookAhead(nextTokenCanFollowDefaultKeyword);\n        }\n        if (token() === 155 /* TypeKeyword */) {\n          return lookAhead(nextTokenCanFollowExportModifier);\n        }\n        if (inAllowAnnotationContext() && token() === 59 /* AtToken */) {\n          return lookAhead(() => nextToken() === 119 /* InterfaceKeyword */);\n        }\n        return canFollowExportModifier();\n      case 89 /* DefaultKeyword */:\n        return nextTokenCanFollowDefaultKeyword();\n      case 128 /* AccessorKeyword */:\n      case 125 /* StaticKeyword */:\n      case 138 /* GetKeyword */:\n      case 152 /* SetKeyword */:\n        nextToken();\n        return canFollowModifier();\n      default:\n        return nextTokenIsOnSameLineAndCanFollowModifier();\n    }\n  }\n  function canFollowExportModifier() {\n    return token() !== 41 /* AsteriskToken */ && token() !== 129 /* AsKeyword */ && token() !== 18 /* OpenBraceToken */ && canFollowModifier();\n  }\n  function nextTokenCanFollowExportModifier() {\n    nextToken();\n    return canFollowExportModifier();\n  }\n  function parseAnyContextualModifier() {\n    return isModifierKind(token()) && tryParse(nextTokenCanFollowModifier);\n  }\n  function canFollowModifier() {\n    return token() === 22 /* OpenBracketToken */ || token() === 18 /* OpenBraceToken */ || token() === 41 /* AsteriskToken */ || token() === 25 /* DotDotDotToken */ || token() === 59 /* AtToken */ && inAllowAnnotationContext() && lookAhead(() => nextToken() === 119 /* InterfaceKeyword */) || isLiteralPropertyName();\n  }\n  function nextTokenCanFollowDefaultKeyword() {\n    nextToken();\n    return token() === 84 /* ClassKeyword */ || inEtsContext() && token() === 85 /* StructKeyword */ || token() === 99 /* FunctionKeyword */ || token() === 119 /* InterfaceKeyword */ || token() === 127 /* AbstractKeyword */ && lookAhead(nextTokenIsClassKeywordOnSameLine) || token() === 133 /* AsyncKeyword */ && lookAhead(nextTokenIsFunctionKeywordOnSameLine);\n  }\n  function isListElement2(parsingContext2, inErrorRecovery) {\n    const node = currentNode(parsingContext2);\n    if (node) {\n      return true;\n    }\n    switch (parsingContext2) {\n      case ParsingContext.SourceElements:\n      case ParsingContext.BlockStatements:\n      case ParsingContext.SwitchClauseStatements:\n        return !(token() === 26 /* SemicolonToken */ && inErrorRecovery) && isStartOfStatement();\n      case ParsingContext.SwitchClauses:\n        return token() === 82 /* CaseKeyword */ || token() === 89 /* DefaultKeyword */;\n      case ParsingContext.TypeMembers:\n        return lookAhead(isTypeMemberStart);\n      case ParsingContext.ClassMembers:\n        return lookAhead(isClassMemberStart) || token() === 26 /* SemicolonToken */ && !inErrorRecovery;\n      case ParsingContext.AnnotationMembers:\n        return lookAhead(isAnnotationMemberStart);\n      case ParsingContext.EnumMembers:\n        return token() === 22 /* OpenBracketToken */ || isLiteralPropertyName();\n      case ParsingContext.ObjectLiteralMembers:\n        switch (token()) {\n          case 22 /* OpenBracketToken */:\n          case 41 /* AsteriskToken */:\n          case 25 /* DotDotDotToken */:\n          case 24 /* DotToken */:\n            return true;\n          default:\n            return isLiteralPropertyName();\n        }\n      case ParsingContext.RestProperties:\n        return isLiteralPropertyName();\n      case ParsingContext.ObjectBindingElements:\n        return token() === 22 /* OpenBracketToken */ || token() === 25 /* DotDotDotToken */ || isLiteralPropertyName();\n      case ParsingContext.AssertEntries:\n        return isAssertionKey2();\n      case ParsingContext.HeritageClauseElement:\n        if (token() === 18 /* OpenBraceToken */) {\n          return lookAhead(isValidHeritageClauseObjectLiteral);\n        }\n        if (!inErrorRecovery) {\n          return isStartOfLeftHandSideExpression() && !isHeritageClauseExtendsOrImplementsKeyword();\n        } else {\n          return isIdentifier2() && !isHeritageClauseExtendsOrImplementsKeyword();\n        }\n      case ParsingContext.VariableDeclarations:\n        return isBindingIdentifierOrPrivateIdentifierOrPattern();\n      case ParsingContext.ArrayBindingElements:\n        return token() === 27 /* CommaToken */ || token() === 25 /* DotDotDotToken */ || isBindingIdentifierOrPrivateIdentifierOrPattern();\n      case ParsingContext.TypeParameters:\n        return token() === 102 /* InKeyword */ || isIdentifier2();\n      case ParsingContext.ArrayLiteralMembers:\n        switch (token()) {\n          case 27 /* CommaToken */:\n          case 24 /* DotToken */:\n            return true;\n        }\n      case ParsingContext.ArgumentExpressions:\n        return token() === 25 /* DotDotDotToken */ || isStartOfExpression();\n      case ParsingContext.Parameters:\n        return isStartOfParameter(false);\n      case ParsingContext.JSDocParameters:\n        return isStartOfParameter(true);\n      case ParsingContext.TypeArguments:\n      case ParsingContext.TupleElementTypes:\n        return token() === 27 /* CommaToken */ || isStartOfType();\n      case ParsingContext.HeritageClauses:\n        return isHeritageClause2();\n      case ParsingContext.ImportOrExportSpecifiers:\n        return tokenIsIdentifierOrKeyword(token());\n      case ParsingContext.JsxAttributes:\n        return tokenIsIdentifierOrKeyword(token()) || token() === 18 /* OpenBraceToken */;\n      case ParsingContext.JsxChildren:\n        return true;\n    }\n    return Debug.fail(\"Non-exhaustive case in 'isListElement'.\");\n  }\n  function isValidHeritageClauseObjectLiteral() {\n    Debug.assert(token() === 18 /* OpenBraceToken */);\n    if (nextToken() === 19 /* CloseBraceToken */) {\n      const next = nextToken();\n      return next === 27 /* CommaToken */ || next === 18 /* OpenBraceToken */ || next === 95 /* ExtendsKeyword */ || next === 118 /* ImplementsKeyword */;\n    }\n    return true;\n  }\n  function nextTokenIsIdentifier() {\n    nextToken();\n    return isIdentifier2();\n  }\n  function nextTokenIsIdentifierOrKeyword() {\n    nextToken();\n    return tokenIsIdentifierOrKeyword(token());\n  }\n  function nextTokenIsIdentifierOrKeywordOrGreaterThan() {\n    nextToken();\n    return tokenIsIdentifierOrKeywordOrGreaterThan(token());\n  }\n  function isHeritageClauseExtendsOrImplementsKeyword() {\n    if (token() === 118 /* ImplementsKeyword */ || token() === 95 /* ExtendsKeyword */) {\n      return lookAhead(nextTokenIsStartOfExpression);\n    }\n    return false;\n  }\n  function nextTokenIsStartOfExpression() {\n    nextToken();\n    return isStartOfExpression();\n  }\n  function nextTokenIsStartOfType() {\n    nextToken();\n    return isStartOfType();\n  }\n  function isListTerminator(kind) {\n    if (token() === 1 /* EndOfFileToken */) {\n      return true;\n    }\n    switch (kind) {\n      case ParsingContext.BlockStatements:\n      case ParsingContext.SwitchClauses:\n      case ParsingContext.TypeMembers:\n      case ParsingContext.ClassMembers:\n      case ParsingContext.AnnotationMembers:\n      case ParsingContext.EnumMembers:\n      case ParsingContext.ObjectLiteralMembers:\n      case ParsingContext.ObjectBindingElements:\n      case ParsingContext.ImportOrExportSpecifiers:\n      case ParsingContext.AssertEntries:\n        return token() === 19 /* CloseBraceToken */;\n      case ParsingContext.SwitchClauseStatements:\n        return token() === 19 /* CloseBraceToken */ || token() === 82 /* CaseKeyword */ || token() === 89 /* DefaultKeyword */;\n      case ParsingContext.HeritageClauseElement:\n        return token() === 18 /* OpenBraceToken */ || token() === 95 /* ExtendsKeyword */ || token() === 118 /* ImplementsKeyword */;\n      case ParsingContext.VariableDeclarations:\n        return isVariableDeclaratorListTerminator();\n      case ParsingContext.TypeParameters:\n        return token() === 31 /* GreaterThanToken */ || token() === 20 /* OpenParenToken */ || token() === 18 /* OpenBraceToken */ || token() === 95 /* ExtendsKeyword */ || token() === 118 /* ImplementsKeyword */;\n      case ParsingContext.ArgumentExpressions:\n        return token() === 21 /* CloseParenToken */ || token() === 26 /* SemicolonToken */;\n      case ParsingContext.ArrayLiteralMembers:\n      case ParsingContext.TupleElementTypes:\n      case ParsingContext.ArrayBindingElements:\n        return token() === 23 /* CloseBracketToken */;\n      case ParsingContext.JSDocParameters:\n      case ParsingContext.Parameters:\n      case ParsingContext.RestProperties:\n        return token() === 21 /* CloseParenToken */ || token() === 23 /* CloseBracketToken */;\n      case ParsingContext.TypeArguments:\n        return token() !== 27 /* CommaToken */;\n      case ParsingContext.HeritageClauses:\n        return token() === 18 /* OpenBraceToken */ || token() === 19 /* CloseBraceToken */;\n      case ParsingContext.JsxAttributes:\n        return token() === 31 /* GreaterThanToken */ || token() === 43 /* SlashToken */;\n      case ParsingContext.JsxChildren:\n        return token() === 29 /* LessThanToken */ && lookAhead(nextTokenIsSlash);\n      default:\n        return false;\n    }\n  }\n  function isVariableDeclaratorListTerminator() {\n    if (canParseSemicolon()) {\n      return true;\n    }\n    if (isInOrOfKeyword(token())) {\n      return true;\n    }\n    if (token() === 38 /* EqualsGreaterThanToken */) {\n      return true;\n    }\n    return false;\n  }\n  function isInSomeParsingContext() {\n    for (let kind = 0; kind < ParsingContext.Count; kind++) {\n      if (parsingContext & 1 << kind) {\n        if (isListElement2(kind, true) || isListTerminator(kind)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function parseList(kind, parseElement) {\n    const saveParsingContext = parsingContext;\n    parsingContext |= 1 << kind;\n    const list = [];\n    const listPos = getNodePos();\n    while (!isListTerminator(kind)) {\n      if (isListElement2(kind, false)) {\n        list.push(parseListElement(kind, parseElement));\n        continue;\n      }\n      if (abortParsingListOrMoveToNextToken(kind)) {\n        break;\n      }\n    }\n    parsingContext = saveParsingContext;\n    return createNodeArray2(list, listPos);\n  }\n  function parseListElement(parsingContext2, parseElement) {\n    const node = currentNode(parsingContext2);\n    if (node) {\n      return consumeNode(node);\n    }\n    return parseElement();\n  }\n  function currentNode(parsingContext2, pos) {\n    if (!syntaxCursor || !isReusableParsingContext(parsingContext2) || parseErrorBeforeNextFinishedNode) {\n      return void 0;\n    }\n    const node = syntaxCursor.currentNode(pos != null ? pos : scanner2.getStartPos());\n    if (nodeIsMissing(node) || node.intersectsChange || containsParseError(node)) {\n      return void 0;\n    }\n    const nodeContextFlags = node.flags & 1124462592 /* ContextFlags */;\n    if (nodeContextFlags !== contextFlags) {\n      return void 0;\n    }\n    if (!canReuseNode(node, parsingContext2)) {\n      return void 0;\n    }\n    if (node.jsDocCache) {\n      node.jsDocCache = void 0;\n    }\n    return node;\n  }\n  function consumeNode(node) {\n    scanner2.setTextPos(node.end);\n    nextToken();\n    return node;\n  }\n  function isReusableParsingContext(parsingContext2) {\n    switch (parsingContext2) {\n      case ParsingContext.ClassMembers:\n      case ParsingContext.SwitchClauses:\n      case ParsingContext.SourceElements:\n      case ParsingContext.BlockStatements:\n      case ParsingContext.SwitchClauseStatements:\n      case ParsingContext.EnumMembers:\n      case ParsingContext.TypeMembers:\n      case ParsingContext.VariableDeclarations:\n      case ParsingContext.JSDocParameters:\n      case ParsingContext.Parameters:\n        return true;\n    }\n    return false;\n  }\n  function canReuseNode(node, parsingContext2) {\n    switch (parsingContext2) {\n      case ParsingContext.ClassMembers:\n        return isReusableClassMember(node);\n      case ParsingContext.SwitchClauses:\n        return isReusableSwitchClause(node);\n      case ParsingContext.SourceElements:\n      case ParsingContext.BlockStatements:\n      case ParsingContext.SwitchClauseStatements:\n        return isReusableStatement(node);\n      case ParsingContext.EnumMembers:\n        return isReusableEnumMember(node);\n      case ParsingContext.TypeMembers:\n        return isReusableTypeMember(node);\n      case ParsingContext.VariableDeclarations:\n        return isReusableVariableDeclaration(node);\n      case ParsingContext.JSDocParameters:\n      case ParsingContext.Parameters:\n        return isReusableParameter(node);\n    }\n    return false;\n  }\n  function isReusableClassMember(node) {\n    if (node) {\n      switch (node.kind) {\n        case 176 /* Constructor */:\n        case 181 /* IndexSignature */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 241 /* SemicolonClassElement */:\n          return true;\n        case 171 /* PropertyDeclaration */:\n          return !inStructContext();\n        case 174 /* MethodDeclaration */:\n          const methodDeclaration = node;\n          const nameIsConstructor = methodDeclaration.name.kind === 79 /* Identifier */ && methodDeclaration.name.originalKeywordKind === 136 /* ConstructorKeyword */;\n          return !nameIsConstructor;\n      }\n    }\n    return false;\n  }\n  function isReusableSwitchClause(node) {\n    if (node) {\n      switch (node.kind) {\n        case 298 /* CaseClause */:\n        case 299 /* DefaultClause */:\n          return true;\n      }\n    }\n    return false;\n  }\n  function isReusableStatement(node) {\n    if (node) {\n      switch (node.kind) {\n        case 263 /* FunctionDeclaration */:\n        case 244 /* VariableStatement */:\n        case 242 /* Block */:\n        case 246 /* IfStatement */:\n        case 245 /* ExpressionStatement */:\n        case 258 /* ThrowStatement */:\n        case 254 /* ReturnStatement */:\n        case 256 /* SwitchStatement */:\n        case 253 /* BreakStatement */:\n        case 252 /* ContinueStatement */:\n        case 250 /* ForInStatement */:\n        case 251 /* ForOfStatement */:\n        case 249 /* ForStatement */:\n        case 248 /* WhileStatement */:\n        case 255 /* WithStatement */:\n        case 243 /* EmptyStatement */:\n        case 259 /* TryStatement */:\n        case 257 /* LabeledStatement */:\n        case 247 /* DoStatement */:\n        case 260 /* DebuggerStatement */:\n        case 275 /* ImportDeclaration */:\n        case 274 /* ImportEqualsDeclaration */:\n        case 281 /* ExportDeclaration */:\n        case 280 /* ExportAssignment */:\n        case 270 /* ModuleDeclaration */:\n        case 264 /* ClassDeclaration */:\n        case 265 /* StructDeclaration */:\n        case 267 /* InterfaceDeclaration */:\n        case 269 /* EnumDeclaration */:\n        case 268 /* TypeAliasDeclaration */:\n          return true;\n      }\n    }\n    return false;\n  }\n  function isReusableEnumMember(node) {\n    return node.kind === 308 /* EnumMember */;\n  }\n  function isReusableTypeMember(node) {\n    if (node) {\n      switch (node.kind) {\n        case 180 /* ConstructSignature */:\n        case 173 /* MethodSignature */:\n        case 181 /* IndexSignature */:\n        case 170 /* PropertySignature */:\n        case 179 /* CallSignature */:\n          return true;\n      }\n    }\n    return false;\n  }\n  function isReusableVariableDeclaration(node) {\n    if (node.kind !== 261 /* VariableDeclaration */) {\n      return false;\n    }\n    const variableDeclarator = node;\n    return variableDeclarator.initializer === void 0;\n  }\n  function isReusableParameter(node) {\n    if (node.kind !== 168 /* Parameter */) {\n      return false;\n    }\n    const parameter = node;\n    return parameter.initializer === void 0;\n  }\n  function abortParsingListOrMoveToNextToken(kind) {\n    parsingContextErrors(kind);\n    if (isInSomeParsingContext()) {\n      return true;\n    }\n    nextToken();\n    return false;\n  }\n  function parsingContextErrors(context) {\n    switch (context) {\n      case ParsingContext.SourceElements:\n        return token() === 89 /* DefaultKeyword */ ? parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(94 /* ExportKeyword */)) : parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected);\n      case ParsingContext.BlockStatements:\n        return parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected);\n      case ParsingContext.SwitchClauses:\n        return parseErrorAtCurrentToken(Diagnostics.case_or_default_expected);\n      case ParsingContext.SwitchClauseStatements:\n        return parseErrorAtCurrentToken(Diagnostics.Statement_expected);\n      case ParsingContext.RestProperties:\n      case ParsingContext.TypeMembers:\n        return parseErrorAtCurrentToken(Diagnostics.Property_or_signature_expected);\n      case ParsingContext.ClassMembers:\n        return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);\n      case ParsingContext.AnnotationMembers:\n        return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_An_annotation_property_was_expected);\n      case ParsingContext.EnumMembers:\n        return parseErrorAtCurrentToken(Diagnostics.Enum_member_expected);\n      case ParsingContext.HeritageClauseElement:\n        return parseErrorAtCurrentToken(Diagnostics.Expression_expected);\n      case ParsingContext.VariableDeclarations:\n        return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_variable_declaration_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Variable_declaration_expected);\n      case ParsingContext.ObjectBindingElements:\n        return parseErrorAtCurrentToken(Diagnostics.Property_destructuring_pattern_expected);\n      case ParsingContext.ArrayBindingElements:\n        return parseErrorAtCurrentToken(Diagnostics.Array_element_destructuring_pattern_expected);\n      case ParsingContext.ArgumentExpressions:\n        return parseErrorAtCurrentToken(Diagnostics.Argument_expression_expected);\n      case ParsingContext.ObjectLiteralMembers:\n        return parseErrorAtCurrentToken(Diagnostics.Property_assignment_expected);\n      case ParsingContext.ArrayLiteralMembers:\n        return parseErrorAtCurrentToken(Diagnostics.Expression_or_comma_expected);\n      case ParsingContext.JSDocParameters:\n        return parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected);\n      case ParsingContext.Parameters:\n        return isKeyword(token()) ? parseErrorAtCurrentToken(Diagnostics._0_is_not_allowed_as_a_parameter_name, tokenToString(token())) : parseErrorAtCurrentToken(Diagnostics.Parameter_declaration_expected);\n      case ParsingContext.TypeParameters:\n        return parseErrorAtCurrentToken(Diagnostics.Type_parameter_declaration_expected);\n      case ParsingContext.TypeArguments:\n        return parseErrorAtCurrentToken(Diagnostics.Type_argument_expected);\n      case ParsingContext.TupleElementTypes:\n        return parseErrorAtCurrentToken(Diagnostics.Type_expected);\n      case ParsingContext.HeritageClauses:\n        return parseErrorAtCurrentToken(Diagnostics.Unexpected_token_expected);\n      case ParsingContext.ImportOrExportSpecifiers:\n        return parseErrorAtCurrentToken(Diagnostics.Identifier_expected);\n      case ParsingContext.JsxAttributes:\n        return parseErrorAtCurrentToken(Diagnostics.Identifier_expected);\n      case ParsingContext.JsxChildren:\n        return parseErrorAtCurrentToken(Diagnostics.Identifier_expected);\n      case ParsingContext.AssertEntries:\n        return parseErrorAtCurrentToken(Diagnostics.Identifier_or_string_literal_expected);\n      case ParsingContext.Count:\n        return Debug.fail(\"ParsingContext.Count used as a context\");\n      default:\n        Debug.assertNever(context);\n    }\n  }\n  function parseDelimitedList(kind, parseElement, considerSemicolonAsDelimiter) {\n    const saveParsingContext = parsingContext;\n    parsingContext |= 1 << kind;\n    const list = [];\n    const listPos = getNodePos();\n    let commaStart = -1;\n    while (true) {\n      if (isListElement2(kind, false)) {\n        const startPos = scanner2.getStartPos();\n        const result = parseListElement(kind, parseElement);\n        if (!result) {\n          parsingContext = saveParsingContext;\n          return void 0;\n        }\n        list.push(result);\n        commaStart = scanner2.getTokenPos();\n        if (parseOptional(27 /* CommaToken */)) {\n          continue;\n        }\n        commaStart = -1;\n        if (isListTerminator(kind)) {\n          break;\n        }\n        parseExpected(27 /* CommaToken */, getExpectedCommaDiagnostic(kind));\n        if (considerSemicolonAsDelimiter && token() === 26 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {\n          nextToken();\n        }\n        if (startPos === scanner2.getStartPos()) {\n          nextToken();\n        }\n        continue;\n      }\n      if (isListTerminator(kind)) {\n        break;\n      }\n      if (abortParsingListOrMoveToNextToken(kind)) {\n        break;\n      }\n    }\n    parsingContext = saveParsingContext;\n    return createNodeArray2(list, listPos, void 0, commaStart >= 0);\n  }\n  function getExpectedCommaDiagnostic(kind) {\n    return kind === ParsingContext.EnumMembers ? Diagnostics.An_enum_member_name_must_be_followed_by_a_or : void 0;\n  }\n  function createMissingList() {\n    const list = createNodeArray2([], getNodePos());\n    list.isMissingList = true;\n    return list;\n  }\n  function isMissingList(arr) {\n    return !!arr.isMissingList;\n  }\n  function parseBracketedList(kind, parseElement, open, close) {\n    if (parseExpected(open)) {\n      const result = parseDelimitedList(kind, parseElement);\n      parseExpected(close);\n      return result;\n    }\n    return createMissingList();\n  }\n  function parseEntityName(allowReservedWords, diagnosticMessage) {\n    const pos = getNodePos();\n    let entity = allowReservedWords ? parseIdentifierName(diagnosticMessage) : parseIdentifier(diagnosticMessage);\n    let dotPos = getNodePos();\n    while (parseOptional(24 /* DotToken */)) {\n      if (token() === 29 /* LessThanToken */) {\n        entity.jsdocDotPos = dotPos;\n        break;\n      }\n      dotPos = getNodePos();\n      entity = finishNode(\n        factory2.createQualifiedName(\n          entity,\n          parseRightSideOfDot(allowReservedWords, false)\n        ),\n        pos\n      );\n    }\n    return entity;\n  }\n  function createQualifiedName2(entity, name) {\n    return finishNode(factory2.createQualifiedName(entity, name), entity.pos);\n  }\n  function parseRightSideOfDot(allowIdentifierNames, allowPrivateIdentifiers) {\n    if (scanner2.hasPrecedingLineBreak() && tokenIsIdentifierOrKeyword(token())) {\n      const matchesPattern = lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);\n      if (matchesPattern) {\n        return createMissingNode(79 /* Identifier */, true, Diagnostics.Identifier_expected);\n      }\n    }\n    if (token() === 80 /* PrivateIdentifier */) {\n      const node = parsePrivateIdentifier();\n      return allowPrivateIdentifiers ? node : createMissingNode(79 /* Identifier */, true, Diagnostics.Identifier_expected);\n    }\n    return allowIdentifierNames ? parseIdentifierName() : parseIdentifier();\n  }\n  function parseTemplateSpans(isTaggedTemplate) {\n    const pos = getNodePos();\n    const list = [];\n    let node;\n    do {\n      node = parseTemplateSpan(isTaggedTemplate);\n      list.push(node);\n    } while (node.literal.kind === 16 /* TemplateMiddle */);\n    return createNodeArray2(list, pos);\n  }\n  function parseTemplateExpression(isTaggedTemplate) {\n    const pos = getNodePos();\n    return finishNode(\n      factory2.createTemplateExpression(\n        parseTemplateHead(isTaggedTemplate),\n        parseTemplateSpans(isTaggedTemplate)\n      ),\n      pos\n    );\n  }\n  function parseTemplateType() {\n    const pos = getNodePos();\n    return finishNode(\n      factory2.createTemplateLiteralType(\n        parseTemplateHead(false),\n        parseTemplateTypeSpans()\n      ),\n      pos\n    );\n  }\n  function parseTemplateTypeSpans() {\n    const pos = getNodePos();\n    const list = [];\n    let node;\n    do {\n      node = parseTemplateTypeSpan();\n      list.push(node);\n    } while (node.literal.kind === 16 /* TemplateMiddle */);\n    return createNodeArray2(list, pos);\n  }\n  function parseTemplateTypeSpan() {\n    const pos = getNodePos();\n    return finishNode(\n      factory2.createTemplateLiteralTypeSpan(\n        parseType(),\n        parseLiteralOfTemplateSpan(false)\n      ),\n      pos\n    );\n  }\n  function parseLiteralOfTemplateSpan(isTaggedTemplate) {\n    if (token() === 19 /* CloseBraceToken */) {\n      reScanTemplateToken(isTaggedTemplate);\n      return parseTemplateMiddleOrTemplateTail();\n    } else {\n      return parseExpectedToken(17 /* TemplateTail */, Diagnostics._0_expected, tokenToString(19 /* CloseBraceToken */));\n    }\n  }\n  function parseTemplateSpan(isTaggedTemplate) {\n    const pos = getNodePos();\n    return finishNode(\n      factory2.createTemplateSpan(\n        allowInAnd(parseExpression),\n        parseLiteralOfTemplateSpan(isTaggedTemplate)\n      ),\n      pos\n    );\n  }\n  function parseLiteralNode() {\n    return parseLiteralLikeNode(token());\n  }\n  function parseTemplateHead(isTaggedTemplate) {\n    if (isTaggedTemplate) {\n      reScanTemplateHeadOrNoSubstitutionTemplate();\n    }\n    const fragment = parseLiteralLikeNode(token());\n    Debug.assert(fragment.kind === 15 /* TemplateHead */, \"Template head has wrong token kind\");\n    return fragment;\n  }\n  function parseTemplateMiddleOrTemplateTail() {\n    const fragment = parseLiteralLikeNode(token());\n    Debug.assert(fragment.kind === 16 /* TemplateMiddle */ || fragment.kind === 17 /* TemplateTail */, \"Template fragment has wrong token kind\");\n    return fragment;\n  }\n  function getTemplateLiteralRawText(kind) {\n    const isLast = kind === 14 /* NoSubstitutionTemplateLiteral */ || kind === 17 /* TemplateTail */;\n    const tokenText = scanner2.getTokenText();\n    return tokenText.substring(1, tokenText.length - (scanner2.isUnterminated() ? 0 : isLast ? 1 : 2));\n  }\n  function parseLiteralLikeNode(kind) {\n    const pos = getNodePos();\n    const node = isTemplateLiteralKind(kind) ? factory2.createTemplateLiteralLikeNode(kind, scanner2.getTokenValue(), getTemplateLiteralRawText(kind), scanner2.getTokenFlags() & 2048 /* TemplateLiteralLikeFlags */) : kind === 8 /* NumericLiteral */ ? factory2.createNumericLiteral(scanner2.getTokenValue(), scanner2.getNumericLiteralFlags()) : kind === 10 /* StringLiteral */ ? factory2.createStringLiteral(scanner2.getTokenValue(), void 0, scanner2.hasExtendedUnicodeEscape()) : isLiteralKind(kind) ? factory2.createLiteralLikeNode(kind, scanner2.getTokenValue()) : Debug.fail();\n    if (scanner2.hasExtendedUnicodeEscape()) {\n      node.hasExtendedUnicodeEscape = true;\n    }\n    if (scanner2.isUnterminated()) {\n      node.isUnterminated = true;\n    }\n    nextToken();\n    return finishNode(node, pos);\n  }\n  function parseEntityNameOfTypeReference() {\n    return parseEntityName(true, Diagnostics.Type_expected);\n  }\n  function parseTypeArgumentsOfTypeReference() {\n    if (!scanner2.hasPrecedingLineBreak() && reScanLessThanToken() === 29 /* LessThanToken */) {\n      return parseBracketedList(ParsingContext.TypeArguments, parseType, 29 /* LessThanToken */, 31 /* GreaterThanToken */);\n    }\n  }\n  function parseTypeReference() {\n    const pos = getNodePos();\n    return finishNode(\n      factory2.createTypeReferenceNode(\n        parseEntityNameOfTypeReference(),\n        parseTypeArgumentsOfTypeReference()\n      ),\n      pos\n    );\n  }\n  function typeHasArrowFunctionBlockingParseError(node) {\n    switch (node.kind) {\n      case 183 /* TypeReference */:\n        return nodeIsMissing(node.typeName);\n      case 184 /* FunctionType */:\n      case 185 /* ConstructorType */: {\n        const { parameters, type } = node;\n        return isMissingList(parameters) || typeHasArrowFunctionBlockingParseError(type);\n      }\n      case 196 /* ParenthesizedType */:\n        return typeHasArrowFunctionBlockingParseError(node.type);\n      default:\n        return false;\n    }\n  }\n  function parseThisTypePredicate(lhs) {\n    nextToken();\n    return finishNode(factory2.createTypePredicateNode(void 0, lhs, parseType()), lhs.pos);\n  }\n  function parseThisTypeNode() {\n    const pos = getNodePos();\n    nextToken();\n    return finishNode(factory2.createThisTypeNode(), pos);\n  }\n  function parseJSDocAllType() {\n    const pos = getNodePos();\n    nextToken();\n    return finishNode(factory2.createJSDocAllType(), pos);\n  }\n  function parseJSDocNonNullableType() {\n    const pos = getNodePos();\n    nextToken();\n    return finishNode(factory2.createJSDocNonNullableType(parseNonArrayType(), false), pos);\n  }\n  function parseJSDocUnknownOrNullableType() {\n    const pos = getNodePos();\n    nextToken();\n    if (token() === 27 /* CommaToken */ || token() === 19 /* CloseBraceToken */ || token() === 21 /* CloseParenToken */ || token() === 31 /* GreaterThanToken */ || token() === 63 /* EqualsToken */ || token() === 51 /* BarToken */) {\n      return finishNode(factory2.createJSDocUnknownType(), pos);\n    } else {\n      return finishNode(factory2.createJSDocNullableType(parseType(), false), pos);\n    }\n  }\n  function parseJSDocFunctionType() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    if (lookAhead(nextTokenIsOpenParen)) {\n      nextToken();\n      const parameters = parseParameters(4 /* Type */ | 32 /* JSDoc */);\n      const type = parseReturnType(58 /* ColonToken */, false);\n      return withJSDoc(finishNode(factory2.createJSDocFunctionType(parameters, type), pos), hasJSDoc);\n    }\n    return finishNode(factory2.createTypeReferenceNode(parseIdentifierName(), void 0), pos);\n  }\n  function parseJSDocParameter() {\n    const pos = getNodePos();\n    let name;\n    if (token() === 109 /* ThisKeyword */ || token() === 104 /* NewKeyword */) {\n      name = parseIdentifierName();\n      parseExpected(58 /* ColonToken */);\n    }\n    return finishNode(\n      factory2.createParameterDeclaration(\n        void 0,\n        void 0,\n        name,\n        void 0,\n        parseJSDocType(),\n        void 0\n      ),\n      pos\n    );\n  }\n  function parseJSDocType() {\n    scanner2.setInJSDocType(true);\n    const pos = getNodePos();\n    if (parseOptional(143 /* ModuleKeyword */)) {\n      const moduleTag = factory2.createJSDocNamepathType(void 0);\n      terminate:\n        while (true) {\n          switch (token()) {\n            case 19 /* CloseBraceToken */:\n            case 1 /* EndOfFileToken */:\n            case 27 /* CommaToken */:\n            case 5 /* WhitespaceTrivia */:\n              break terminate;\n            default:\n              nextTokenJSDoc();\n          }\n        }\n      scanner2.setInJSDocType(false);\n      return finishNode(moduleTag, pos);\n    }\n    const hasDotDotDot = parseOptional(25 /* DotDotDotToken */);\n    let type = parseTypeOrTypePredicate();\n    scanner2.setInJSDocType(false);\n    if (hasDotDotDot) {\n      type = finishNode(factory2.createJSDocVariadicType(type), pos);\n    }\n    if (token() === 63 /* EqualsToken */) {\n      nextToken();\n      return finishNode(factory2.createJSDocOptionalType(type), pos);\n    }\n    return type;\n  }\n  function parseTypeQuery() {\n    const pos = getNodePos();\n    parseExpected(113 /* TypeOfKeyword */);\n    const entityName = parseEntityName(true);\n    const typeArguments = !scanner2.hasPrecedingLineBreak() ? tryParseTypeArguments() : void 0;\n    return finishNode(factory2.createTypeQueryNode(entityName, typeArguments), pos);\n  }\n  function parseTypeParameter(position) {\n    const pos = getNodePos();\n    const modifiers = parseModifiers();\n    const name = position !== void 0 ? parseEtsIdentifier(position) : parseIdentifier();\n    let constraint;\n    let expression;\n    if (parseOptional(95 /* ExtendsKeyword */)) {\n      if (isStartOfType() || !isStartOfExpression()) {\n        constraint = parseType();\n      } else {\n        expression = parseUnaryExpressionOrHigher();\n      }\n    }\n    const defaultType = parseOptional(63 /* EqualsToken */) ? parseType() : void 0;\n    const node = factory2.createTypeParameterDeclaration(modifiers, name, constraint, defaultType);\n    node.expression = expression;\n    return position !== void 0 ? finishVirtualNode2(node, position, position) : finishNode(node, pos);\n  }\n  function parseTypeParameters() {\n    if (token() === 29 /* LessThanToken */) {\n      return parseBracketedList(ParsingContext.TypeParameters, parseTypeParameter, 29 /* LessThanToken */, 31 /* GreaterThanToken */);\n    }\n  }\n  function parseEtsTypeParameters(pos) {\n    return createNodeArray2([parseTypeParameter(pos)], getNodePos());\n  }\n  function parseEtsTypeArguments(pos, name) {\n    if ((contextFlags & 262144 /* JavaScriptFile */) !== 0) {\n      return void 0;\n    }\n    return createNodeArray2([parseEtsType(pos, name)], getNodePos());\n  }\n  function isStartOfParameter(isJSDocParameter) {\n    return token() === 25 /* DotDotDotToken */ || isBindingIdentifierOrPrivateIdentifierOrPattern() || isModifierKind(token()) || token() === 59 /* AtToken */ || isStartOfType(!isJSDocParameter);\n  }\n  function parseNameOfParameter(modifiers) {\n    const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_cannot_be_used_as_parameters);\n    if (getFullWidth(name) === 0 && !some(modifiers) && isModifierKind(token())) {\n      nextToken();\n    }\n    return name;\n  }\n  function isParameterNameStart() {\n    return isBindingIdentifier() || token() === 22 /* OpenBracketToken */ || token() === 18 /* OpenBraceToken */;\n  }\n  function parseParameter(inOuterAwaitContext) {\n    return parseParameterWorker(inOuterAwaitContext);\n  }\n  function parseParameterForSpeculation(inOuterAwaitContext) {\n    return parseParameterWorker(inOuterAwaitContext, false);\n  }\n  function parseParameterWorker(inOuterAwaitContext, allowAmbiguity = true) {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const decorators = inOuterAwaitContext ? doInAwaitContext(parseDecorators) : doOutsideOfAwaitContext(parseDecorators);\n    if (token() === 109 /* ThisKeyword */) {\n      const node2 = factory2.createParameterDeclaration(\n        decorators,\n        void 0,\n        createIdentifier3(true),\n        void 0,\n        parseTypeAnnotation(),\n        void 0\n      );\n      if (decorators) {\n        parseErrorAtRange(decorators[0], Diagnostics.Decorators_may_not_be_applied_to_this_parameters);\n      }\n      return withJSDoc(finishNode(node2, pos), hasJSDoc);\n    }\n    const savedTopLevel = topLevel;\n    topLevel = false;\n    const modifiers = combineDecoratorsAndModifiers(decorators, parseModifiers());\n    const dotDotDotToken = parseOptionalToken(25 /* DotDotDotToken */);\n    if (!allowAmbiguity && !isParameterNameStart()) {\n      return void 0;\n    }\n    const node = withJSDoc(\n      finishNode(\n        factory2.createParameterDeclaration(\n          modifiers,\n          dotDotDotToken,\n          parseNameOfParameter(modifiers),\n          parseOptionalToken(57 /* QuestionToken */),\n          parseTypeAnnotation(),\n          parseInitializer()\n        ),\n        pos\n      ),\n      hasJSDoc\n    );\n    topLevel = savedTopLevel;\n    return node;\n  }\n  function parseReturnType(returnToken, isType3) {\n    if (shouldParseReturnType(returnToken, isType3)) {\n      return allowConditionalTypesAnd(parseTypeOrTypePredicate);\n    }\n  }\n  function shouldParseReturnType(returnToken, isType3) {\n    if (returnToken === 38 /* EqualsGreaterThanToken */) {\n      parseExpected(returnToken);\n      return true;\n    } else if (parseOptional(58 /* ColonToken */)) {\n      return true;\n    } else if (isType3 && token() === 38 /* EqualsGreaterThanToken */) {\n      parseErrorAtCurrentToken(Diagnostics._0_expected, tokenToString(58 /* ColonToken */));\n      nextToken();\n      return true;\n    }\n    return false;\n  }\n  function parseParametersWorker(flags, allowAmbiguity) {\n    const savedYieldContext = inYieldContext();\n    const savedAwaitContext = inAwaitContext();\n    setYieldContext(!!(flags & 1 /* Yield */));\n    setAwaitContext(!!(flags & 2 /* Await */));\n    const parameters = flags & 32 /* JSDoc */ ? parseDelimitedList(ParsingContext.JSDocParameters, parseJSDocParameter) : parseDelimitedList(ParsingContext.Parameters, () => allowAmbiguity ? parseParameter(savedAwaitContext) : parseParameterForSpeculation(savedAwaitContext));\n    setYieldContext(savedYieldContext);\n    setAwaitContext(savedAwaitContext);\n    return parameters;\n  }\n  function parseParameters(flags) {\n    if (!parseExpected(20 /* OpenParenToken */)) {\n      return createMissingList();\n    }\n    const parameters = parseParametersWorker(flags, true);\n    parseExpected(21 /* CloseParenToken */);\n    return parameters;\n  }\n  function parseTypeMemberSemicolon() {\n    if (parseOptional(27 /* CommaToken */)) {\n      return;\n    }\n    parseSemicolon();\n  }\n  function parseSignatureMember(kind) {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    if (kind === 180 /* ConstructSignature */) {\n      parseExpected(104 /* NewKeyword */);\n    }\n    const typeParameters = parseTypeParameters();\n    const parameters = parseParameters(4 /* Type */);\n    const type = parseReturnType(58 /* ColonToken */, true);\n    parseTypeMemberSemicolon();\n    const node = kind === 179 /* CallSignature */ ? factory2.createCallSignature(typeParameters, parameters, type) : factory2.createConstructSignature(typeParameters, parameters, type);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function isIndexSignature() {\n    return token() === 22 /* OpenBracketToken */ && lookAhead(isUnambiguouslyIndexSignature);\n  }\n  function isUnambiguouslyIndexSignature() {\n    nextToken();\n    if (token() === 25 /* DotDotDotToken */ || token() === 23 /* CloseBracketToken */) {\n      return true;\n    }\n    if (isModifierKind(token())) {\n      nextToken();\n      if (isIdentifier2()) {\n        return true;\n      }\n    } else if (!isIdentifier2()) {\n      return false;\n    } else {\n      nextToken();\n    }\n    if (token() === 58 /* ColonToken */ || token() === 27 /* CommaToken */) {\n      return true;\n    }\n    if (token() !== 57 /* QuestionToken */) {\n      return false;\n    }\n    nextToken();\n    return token() === 58 /* ColonToken */ || token() === 27 /* CommaToken */ || token() === 23 /* CloseBracketToken */;\n  }\n  function parseIndexSignatureDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    const parameters = parseBracketedList(ParsingContext.Parameters, () => parseParameter(false), 22 /* OpenBracketToken */, 23 /* CloseBracketToken */);\n    const type = parseTypeAnnotation();\n    parseTypeMemberSemicolon();\n    const node = factory2.createIndexSignature(modifiers, parameters, type);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parsePropertyOrMethodSignature(pos, hasJSDoc, decorators, modifiers) {\n    const name = parsePropertyName();\n    const questionToken = parseOptionalToken(57 /* QuestionToken */);\n    let node;\n    if (token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */) {\n      const typeParameters = parseTypeParameters();\n      const parameters = parseParameters(4 /* Type */);\n      const type = parseReturnType(58 /* ColonToken */, true);\n      node = factory2.createMethodSignature(modifiers, name, questionToken, typeParameters, parameters, type);\n      node.illegalDecorators = decorators;\n    } else {\n      const type = parseTypeAnnotation();\n      node = factory2.createPropertySignature(modifiers, name, questionToken, type);\n      node.illegalDecorators = decorators;\n      if (token() === 63 /* EqualsToken */)\n        node.initializer = parseInitializer();\n    }\n    parseTypeMemberSemicolon();\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function isTypeMemberStart() {\n    if (token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */ || token() === 138 /* GetKeyword */ || token() === 152 /* SetKeyword */) {\n      return true;\n    }\n    if (token() === 59 /* AtToken */) {\n      if (inAllowAnnotationContext() && lookAhead(() => nextToken() === 119 /* InterfaceKeyword */)) {\n        return false;\n      }\n      return true;\n    }\n    let idToken = false;\n    while (isModifierKind(token())) {\n      idToken = true;\n      nextToken();\n    }\n    if (token() === 22 /* OpenBracketToken */) {\n      return true;\n    }\n    if (isLiteralPropertyName()) {\n      idToken = true;\n      nextToken();\n    }\n    if (idToken) {\n      return token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */ || token() === 57 /* QuestionToken */ || token() === 58 /* ColonToken */ || token() === 27 /* CommaToken */ || canParseSemicolon();\n    }\n    return false;\n  }\n  function parseTypeMember() {\n    if (token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */) {\n      return parseSignatureMember(179 /* CallSignature */);\n    }\n    if (token() === 104 /* NewKeyword */ && lookAhead(nextTokenIsOpenParenOrLessThan)) {\n      return parseSignatureMember(180 /* ConstructSignature */);\n    }\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const decorators = parseDecorators();\n    const modifiers = parseModifiers();\n    if (parseContextualModifier(138 /* GetKeyword */)) {\n      return parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, 177 /* GetAccessor */, 4 /* Type */);\n    }\n    if (parseContextualModifier(152 /* SetKeyword */)) {\n      return parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, 178 /* SetAccessor */, 4 /* Type */);\n    }\n    if (isIndexSignature()) {\n      return parseIndexSignatureDeclaration(pos, hasJSDoc, void 0, modifiers);\n    }\n    return parsePropertyOrMethodSignature(pos, hasJSDoc, decorators, modifiers);\n  }\n  function nextTokenIsOpenParenOrLessThan() {\n    nextToken();\n    return token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */;\n  }\n  function nextTokenIsDot() {\n    return nextToken() === 24 /* DotToken */;\n  }\n  function nextTokenIsOpenParenOrLessThanOrDot() {\n    switch (nextToken()) {\n      case 20 /* OpenParenToken */:\n      case 29 /* LessThanToken */:\n      case 24 /* DotToken */:\n        return true;\n    }\n    return false;\n  }\n  function parseTypeLiteral() {\n    const pos = getNodePos();\n    return finishNode(factory2.createTypeLiteralNode(parseObjectTypeMembers()), pos);\n  }\n  function parseObjectTypeMembers() {\n    let members;\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      members = parseList(ParsingContext.TypeMembers, parseTypeMember);\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      members = createMissingList();\n    }\n    return members;\n  }\n  function isStartOfMappedType() {\n    nextToken();\n    if (token() === 39 /* PlusToken */ || token() === 40 /* MinusToken */) {\n      return nextToken() === 147 /* ReadonlyKeyword */;\n    }\n    if (token() === 147 /* ReadonlyKeyword */) {\n      nextToken();\n    }\n    return token() === 22 /* OpenBracketToken */ && nextTokenIsIdentifier() && nextToken() === 102 /* InKeyword */;\n  }\n  function parseMappedTypeParameter() {\n    const pos = getNodePos();\n    const name = parseIdentifierName();\n    parseExpected(102 /* InKeyword */);\n    const type = parseType();\n    return finishNode(factory2.createTypeParameterDeclaration(void 0, name, type, void 0), pos);\n  }\n  function parseMappedType() {\n    const pos = getNodePos();\n    parseExpected(18 /* OpenBraceToken */);\n    let readonlyToken;\n    if (token() === 147 /* ReadonlyKeyword */ || token() === 39 /* PlusToken */ || token() === 40 /* MinusToken */) {\n      readonlyToken = parseTokenNode();\n      if (readonlyToken.kind !== 147 /* ReadonlyKeyword */) {\n        parseExpected(147 /* ReadonlyKeyword */);\n      }\n    }\n    parseExpected(22 /* OpenBracketToken */);\n    const typeParameter = parseMappedTypeParameter();\n    const nameType = parseOptional(129 /* AsKeyword */) ? parseType() : void 0;\n    parseExpected(23 /* CloseBracketToken */);\n    let questionToken;\n    if (token() === 57 /* QuestionToken */ || token() === 39 /* PlusToken */ || token() === 40 /* MinusToken */) {\n      questionToken = parseTokenNode();\n      if (questionToken.kind !== 57 /* QuestionToken */) {\n        parseExpected(57 /* QuestionToken */);\n      }\n    }\n    const type = parseTypeAnnotation();\n    parseSemicolon();\n    const members = parseList(ParsingContext.TypeMembers, parseTypeMember);\n    parseExpected(19 /* CloseBraceToken */);\n    return finishNode(factory2.createMappedTypeNode(readonlyToken, typeParameter, nameType, questionToken, type, members), pos);\n  }\n  function parseTupleElementType() {\n    const pos = getNodePos();\n    if (parseOptional(25 /* DotDotDotToken */)) {\n      return finishNode(factory2.createRestTypeNode(parseType()), pos);\n    }\n    const type = parseType();\n    if (isJSDocNullableType(type) && type.pos === type.type.pos) {\n      const node = factory2.createOptionalTypeNode(type.type);\n      setTextRange(node, type);\n      node.flags = type.flags;\n      return node;\n    }\n    return type;\n  }\n  function isNextTokenColonOrQuestionColon() {\n    return nextToken() === 58 /* ColonToken */ || token() === 57 /* QuestionToken */ && nextToken() === 58 /* ColonToken */;\n  }\n  function isTupleElementName() {\n    if (token() === 25 /* DotDotDotToken */) {\n      return tokenIsIdentifierOrKeyword(nextToken()) && isNextTokenColonOrQuestionColon();\n    }\n    return tokenIsIdentifierOrKeyword(token()) && isNextTokenColonOrQuestionColon();\n  }\n  function parseTupleElementNameOrTupleElementType() {\n    if (lookAhead(isTupleElementName)) {\n      const pos = getNodePos();\n      const hasJSDoc = hasPrecedingJSDocComment();\n      const dotDotDotToken = parseOptionalToken(25 /* DotDotDotToken */);\n      const name = parseIdentifierName();\n      const questionToken = parseOptionalToken(57 /* QuestionToken */);\n      parseExpected(58 /* ColonToken */);\n      const type = parseTupleElementType();\n      const node = factory2.createNamedTupleMember(dotDotDotToken, name, questionToken, type);\n      return withJSDoc(finishNode(node, pos), hasJSDoc);\n    }\n    return parseTupleElementType();\n  }\n  function parseTupleType() {\n    const pos = getNodePos();\n    return finishNode(\n      factory2.createTupleTypeNode(\n        parseBracketedList(ParsingContext.TupleElementTypes, parseTupleElementNameOrTupleElementType, 22 /* OpenBracketToken */, 23 /* CloseBracketToken */)\n      ),\n      pos\n    );\n  }\n  function parseParenthesizedType() {\n    const pos = getNodePos();\n    parseExpected(20 /* OpenParenToken */);\n    const type = parseType();\n    parseExpected(21 /* CloseParenToken */);\n    return finishNode(factory2.createParenthesizedType(type), pos);\n  }\n  function parseModifiersForConstructorType() {\n    let modifiers;\n    if (token() === 127 /* AbstractKeyword */) {\n      const pos = getNodePos();\n      nextToken();\n      const modifier = finishNode(factory2.createToken(127 /* AbstractKeyword */), pos);\n      modifiers = createNodeArray2([modifier], pos);\n    }\n    return modifiers;\n  }\n  function parseFunctionOrConstructorType() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const modifiers = parseModifiersForConstructorType();\n    const isConstructorType = parseOptional(104 /* NewKeyword */);\n    const typeParameters = parseTypeParameters();\n    const parameters = parseParameters(4 /* Type */);\n    const type = parseReturnType(38 /* EqualsGreaterThanToken */, false);\n    const node = isConstructorType ? factory2.createConstructorTypeNode(modifiers, typeParameters, parameters, type) : factory2.createFunctionTypeNode(typeParameters, parameters, type);\n    if (!isConstructorType)\n      node.modifiers = modifiers;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseKeywordAndNoDot() {\n    const node = parseTokenNode();\n    return token() === 24 /* DotToken */ ? void 0 : node;\n  }\n  function parseLiteralTypeNode(negative) {\n    const pos = getNodePos();\n    if (negative) {\n      nextToken();\n    }\n    let expression = token() === 111 /* TrueKeyword */ || token() === 96 /* FalseKeyword */ || token() === 105 /* NullKeyword */ ? parseTokenNode() : parseLiteralLikeNode(token());\n    if (negative) {\n      expression = finishNode(factory2.createPrefixUnaryExpression(40 /* MinusToken */, expression), pos);\n    }\n    return finishNode(factory2.createLiteralTypeNode(expression), pos);\n  }\n  function isStartOfTypeOfImportType() {\n    nextToken();\n    return token() === 101 /* ImportKeyword */;\n  }\n  function parseImportTypeAssertions() {\n    const pos = getNodePos();\n    const openBracePosition = scanner2.getTokenPos();\n    parseExpected(18 /* OpenBraceToken */);\n    const multiLine = scanner2.hasPrecedingLineBreak();\n    parseExpected(131 /* AssertKeyword */);\n    parseExpected(58 /* ColonToken */);\n    const clause = parseAssertClause(true);\n    if (!parseExpected(19 /* CloseBraceToken */)) {\n      const lastError = lastOrUndefined(parseDiagnostics);\n      if (lastError && lastError.code === Diagnostics._0_expected.code) {\n        addRelatedInfo(\n          lastError,\n          createDetachedDiagnostic(fileName, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, \"{\", \"}\")\n        );\n      }\n    }\n    return finishNode(factory2.createImportTypeAssertionContainer(clause, multiLine), pos);\n  }\n  function parseImportType() {\n    sourceFlags |= 2097152 /* PossiblyContainsDynamicImport */;\n    const pos = getNodePos();\n    const isTypeOf = parseOptional(113 /* TypeOfKeyword */);\n    parseExpected(101 /* ImportKeyword */);\n    parseExpected(20 /* OpenParenToken */);\n    const type = parseType();\n    let assertions;\n    if (parseOptional(27 /* CommaToken */)) {\n      assertions = parseImportTypeAssertions();\n    }\n    parseExpected(21 /* CloseParenToken */);\n    const qualifier = parseOptional(24 /* DotToken */) ? parseEntityNameOfTypeReference() : void 0;\n    const typeArguments = parseTypeArgumentsOfTypeReference();\n    return finishNode(factory2.createImportTypeNode(type, assertions, qualifier, typeArguments, isTypeOf), pos);\n  }\n  function nextTokenIsNumericOrBigIntLiteral() {\n    nextToken();\n    return token() === 8 /* NumericLiteral */ || token() === 9 /* BigIntLiteral */;\n  }\n  function parseNonArrayType() {\n    switch (token()) {\n      case 132 /* AnyKeyword */:\n      case 159 /* UnknownKeyword */:\n      case 153 /* StringKeyword */:\n      case 149 /* NumberKeyword */:\n      case 162 /* BigIntKeyword */:\n      case 154 /* SymbolKeyword */:\n      case 135 /* BooleanKeyword */:\n      case 157 /* UndefinedKeyword */:\n      case 145 /* NeverKeyword */:\n      case 150 /* ObjectKeyword */:\n        return tryParse(parseKeywordAndNoDot) || parseTypeReference();\n      case 66 /* AsteriskEqualsToken */:\n        scanner2.reScanAsteriskEqualsToken();\n      case 41 /* AsteriskToken */:\n        return parseJSDocAllType();\n      case 60 /* QuestionQuestionToken */:\n        scanner2.reScanQuestionToken();\n      case 57 /* QuestionToken */:\n        return parseJSDocUnknownOrNullableType();\n      case 99 /* FunctionKeyword */:\n        return parseJSDocFunctionType();\n      case 53 /* ExclamationToken */:\n        return parseJSDocNonNullableType();\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 10 /* StringLiteral */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 105 /* NullKeyword */:\n        return parseLiteralTypeNode();\n      case 40 /* MinusToken */:\n        return lookAhead(nextTokenIsNumericOrBigIntLiteral) ? parseLiteralTypeNode(true) : parseTypeReference();\n      case 115 /* VoidKeyword */:\n        return parseTokenNode();\n      case 109 /* ThisKeyword */: {\n        const thisKeyword = parseThisTypeNode();\n        if (token() === 141 /* IsKeyword */ && !scanner2.hasPrecedingLineBreak()) {\n          return parseThisTypePredicate(thisKeyword);\n        } else {\n          return thisKeyword;\n        }\n      }\n      case 113 /* TypeOfKeyword */:\n        return lookAhead(isStartOfTypeOfImportType) ? parseImportType() : parseTypeQuery();\n      case 18 /* OpenBraceToken */:\n        return lookAhead(isStartOfMappedType) ? parseMappedType() : parseTypeLiteral();\n      case 22 /* OpenBracketToken */:\n        return parseTupleType();\n      case 20 /* OpenParenToken */:\n        return parseParenthesizedType();\n      case 101 /* ImportKeyword */:\n        return parseImportType();\n      case 130 /* AssertsKeyword */:\n        return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine) ? parseAssertsTypePredicate() : parseTypeReference();\n      case 15 /* TemplateHead */:\n        return parseTemplateType();\n      default:\n        return parseTypeReference();\n    }\n  }\n  function isStartOfType(inStartOfParameter) {\n    switch (token()) {\n      case 132 /* AnyKeyword */:\n      case 159 /* UnknownKeyword */:\n      case 153 /* StringKeyword */:\n      case 149 /* NumberKeyword */:\n      case 162 /* BigIntKeyword */:\n      case 135 /* BooleanKeyword */:\n      case 147 /* ReadonlyKeyword */:\n      case 154 /* SymbolKeyword */:\n      case 158 /* UniqueKeyword */:\n      case 115 /* VoidKeyword */:\n      case 157 /* UndefinedKeyword */:\n      case 105 /* NullKeyword */:\n      case 109 /* ThisKeyword */:\n      case 113 /* TypeOfKeyword */:\n      case 145 /* NeverKeyword */:\n      case 18 /* OpenBraceToken */:\n      case 22 /* OpenBracketToken */:\n      case 29 /* LessThanToken */:\n      case 51 /* BarToken */:\n      case 50 /* AmpersandToken */:\n      case 104 /* NewKeyword */:\n      case 10 /* StringLiteral */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 150 /* ObjectKeyword */:\n      case 41 /* AsteriskToken */:\n      case 57 /* QuestionToken */:\n      case 53 /* ExclamationToken */:\n      case 25 /* DotDotDotToken */:\n      case 139 /* InferKeyword */:\n      case 101 /* ImportKeyword */:\n      case 130 /* AssertsKeyword */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 15 /* TemplateHead */:\n        return true;\n      case 99 /* FunctionKeyword */:\n        return !inStartOfParameter;\n      case 40 /* MinusToken */:\n        return !inStartOfParameter && lookAhead(nextTokenIsNumericOrBigIntLiteral);\n      case 20 /* OpenParenToken */:\n        return !inStartOfParameter && lookAhead(isStartOfParenthesizedOrFunctionType);\n      default:\n        return isIdentifier2();\n    }\n  }\n  function isStartOfParenthesizedOrFunctionType() {\n    nextToken();\n    return token() === 21 /* CloseParenToken */ || isStartOfParameter(false) || isStartOfType();\n  }\n  function parsePostfixTypeOrHigher() {\n    const pos = getNodePos();\n    let type = parseNonArrayType();\n    while (!scanner2.hasPrecedingLineBreak()) {\n      switch (token()) {\n        case 53 /* ExclamationToken */:\n          nextToken();\n          type = finishNode(factory2.createJSDocNonNullableType(type, true), pos);\n          break;\n        case 57 /* QuestionToken */:\n          if (lookAhead(nextTokenIsStartOfType)) {\n            return type;\n          }\n          nextToken();\n          type = finishNode(factory2.createJSDocNullableType(type, true), pos);\n          break;\n        case 22 /* OpenBracketToken */:\n          parseExpected(22 /* OpenBracketToken */);\n          if (isStartOfType()) {\n            const indexType = parseType();\n            parseExpected(23 /* CloseBracketToken */);\n            type = finishNode(factory2.createIndexedAccessTypeNode(type, indexType), pos);\n          } else {\n            parseExpected(23 /* CloseBracketToken */);\n            type = finishNode(factory2.createArrayTypeNode(type), pos);\n          }\n          break;\n        default:\n          return type;\n      }\n    }\n    return type;\n  }\n  function parseTypeOperator(operator) {\n    const pos = getNodePos();\n    parseExpected(operator);\n    return finishNode(factory2.createTypeOperatorNode(operator, parseTypeOperatorOrHigher()), pos);\n  }\n  function tryParseConstraintOfInferType() {\n    if (parseOptional(95 /* ExtendsKeyword */)) {\n      const constraint = disallowConditionalTypesAnd(parseType);\n      if (inDisallowConditionalTypesContext() || token() !== 57 /* QuestionToken */) {\n        return constraint;\n      }\n    }\n  }\n  function parseTypeParameterOfInferType() {\n    const pos = getNodePos();\n    const name = parseIdentifier();\n    const constraint = tryParse(tryParseConstraintOfInferType);\n    const node = factory2.createTypeParameterDeclaration(void 0, name, constraint);\n    return finishNode(node, pos);\n  }\n  function parseInferType() {\n    const pos = getNodePos();\n    parseExpected(139 /* InferKeyword */);\n    return finishNode(factory2.createInferTypeNode(parseTypeParameterOfInferType()), pos);\n  }\n  function parseTypeOperatorOrHigher() {\n    const operator = token();\n    switch (operator) {\n      case 142 /* KeyOfKeyword */:\n      case 158 /* UniqueKeyword */:\n      case 147 /* ReadonlyKeyword */:\n        return parseTypeOperator(operator);\n      case 139 /* InferKeyword */:\n        return parseInferType();\n    }\n    return allowConditionalTypesAnd(parsePostfixTypeOrHigher);\n  }\n  function parseFunctionOrConstructorTypeToError(isInUnionType) {\n    if (isStartOfFunctionTypeOrConstructorType()) {\n      const type = parseFunctionOrConstructorType();\n      let diagnostic;\n      if (isFunctionTypeNode(type)) {\n        diagnostic = isInUnionType ? Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type;\n      } else {\n        diagnostic = isInUnionType ? Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type : Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type;\n      }\n      parseErrorAtRange(type, diagnostic);\n      return type;\n    }\n    return void 0;\n  }\n  function parseUnionOrIntersectionType(operator, parseConstituentType, createTypeNode) {\n    const pos = getNodePos();\n    const isUnionType = operator === 51 /* BarToken */;\n    const hasLeadingOperator = parseOptional(operator);\n    let type = hasLeadingOperator && parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType();\n    if (token() === operator || hasLeadingOperator) {\n      const types = [type];\n      while (parseOptional(operator)) {\n        types.push(parseFunctionOrConstructorTypeToError(isUnionType) || parseConstituentType());\n      }\n      type = finishNode(createTypeNode(createNodeArray2(types, pos)), pos);\n    }\n    return type;\n  }\n  function parseIntersectionTypeOrHigher() {\n    return parseUnionOrIntersectionType(50 /* AmpersandToken */, parseTypeOperatorOrHigher, factory2.createIntersectionTypeNode);\n  }\n  function parseUnionTypeOrHigher() {\n    return parseUnionOrIntersectionType(51 /* BarToken */, parseIntersectionTypeOrHigher, factory2.createUnionTypeNode);\n  }\n  function nextTokenIsNewKeyword() {\n    nextToken();\n    return token() === 104 /* NewKeyword */;\n  }\n  function isStartOfFunctionTypeOrConstructorType() {\n    if (token() === 29 /* LessThanToken */) {\n      return true;\n    }\n    if (token() === 20 /* OpenParenToken */ && lookAhead(isUnambiguouslyStartOfFunctionType)) {\n      return true;\n    }\n    return token() === 104 /* NewKeyword */ || token() === 127 /* AbstractKeyword */ && lookAhead(nextTokenIsNewKeyword);\n  }\n  function skipParameterStart() {\n    if (isModifierKind(token())) {\n      parseModifiers();\n    }\n    if (isIdentifier2() || token() === 109 /* ThisKeyword */) {\n      nextToken();\n      return true;\n    }\n    if (token() === 22 /* OpenBracketToken */ || token() === 18 /* OpenBraceToken */) {\n      const previousErrorCount = parseDiagnostics.length;\n      parseIdentifierOrPattern();\n      return previousErrorCount === parseDiagnostics.length;\n    }\n    return false;\n  }\n  function isUnambiguouslyStartOfFunctionType() {\n    nextToken();\n    if (token() === 21 /* CloseParenToken */ || token() === 25 /* DotDotDotToken */) {\n      return true;\n    }\n    if (skipParameterStart()) {\n      if (token() === 58 /* ColonToken */ || token() === 27 /* CommaToken */ || token() === 57 /* QuestionToken */ || token() === 63 /* EqualsToken */) {\n        return true;\n      }\n      if (token() === 21 /* CloseParenToken */) {\n        nextToken();\n        if (token() === 38 /* EqualsGreaterThanToken */) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function parseTypeOrTypePredicate() {\n    const pos = getNodePos();\n    const typePredicateVariable = isIdentifier2() && tryParse(parseTypePredicatePrefix);\n    const type = parseType();\n    if (typePredicateVariable) {\n      return finishNode(factory2.createTypePredicateNode(void 0, typePredicateVariable, type), pos);\n    } else {\n      return type;\n    }\n  }\n  function parseTypePredicatePrefix() {\n    const id = parseIdentifier();\n    if (token() === 141 /* IsKeyword */ && !scanner2.hasPrecedingLineBreak()) {\n      nextToken();\n      return id;\n    }\n  }\n  function parseAssertsTypePredicate() {\n    const pos = getNodePos();\n    const assertsModifier = parseExpectedToken(130 /* AssertsKeyword */);\n    const parameterName = token() === 109 /* ThisKeyword */ ? parseThisTypeNode() : parseIdentifier();\n    const type = parseOptional(141 /* IsKeyword */) ? parseType() : void 0;\n    return finishNode(factory2.createTypePredicateNode(assertsModifier, parameterName, type), pos);\n  }\n  function parseType() {\n    if (contextFlags & 40960 /* TypeExcludesFlags */) {\n      return doOutsideOfContext(40960 /* TypeExcludesFlags */, parseType);\n    }\n    if (isStartOfFunctionTypeOrConstructorType()) {\n      return parseFunctionOrConstructorType();\n    }\n    const pos = getNodePos();\n    const type = parseUnionTypeOrHigher();\n    if (!inDisallowConditionalTypesContext() && !scanner2.hasPrecedingLineBreak() && parseOptional(95 /* ExtendsKeyword */)) {\n      const extendsType = disallowConditionalTypesAnd(parseType);\n      parseExpected(57 /* QuestionToken */);\n      const trueType = allowConditionalTypesAnd(parseType);\n      parseExpected(58 /* ColonToken */);\n      const falseType = allowConditionalTypesAnd(parseType);\n      return finishNode(factory2.createConditionalTypeNode(type, extendsType, trueType, falseType), pos);\n    }\n    return type;\n  }\n  function parseEtsType(pos, name) {\n    const contextFlagsToClear = 40960 /* TypeExcludesFlags */ & contextFlags;\n    if (contextFlagsToClear) {\n      setContextFlag(false, contextFlagsToClear);\n      const result = parseEtsTypeReferenceWorker(pos, name);\n      setContextFlag(true, contextFlagsToClear);\n      return result;\n    }\n    return parseEtsTypeReferenceWorker(pos, name);\n  }\n  function parseEtsTypeReferenceWorker(pos, name) {\n    return finishVirtualNode2(\n      factory2.createTypeReferenceNode(\n        finishVirtualNode2(factory2.createIdentifier(name), pos, pos)\n      ),\n      pos,\n      pos\n    );\n  }\n  function parseTypeAnnotation() {\n    return parseOptional(58 /* ColonToken */) ? parseType() : void 0;\n  }\n  function isStartOfLeftHandSideExpression() {\n    switch (token()) {\n      case 109 /* ThisKeyword */:\n      case 107 /* SuperKeyword */:\n      case 105 /* NullKeyword */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 10 /* StringLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 15 /* TemplateHead */:\n      case 20 /* OpenParenToken */:\n      case 22 /* OpenBracketToken */:\n      case 18 /* OpenBraceToken */:\n      case 99 /* FunctionKeyword */:\n      case 84 /* ClassKeyword */:\n      case 104 /* NewKeyword */:\n      case 43 /* SlashToken */:\n      case 68 /* SlashEqualsToken */:\n      case 79 /* Identifier */:\n        return true;\n      case 85 /* StructKeyword */:\n        return inEtsContext();\n      case 101 /* ImportKeyword */:\n        return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);\n      default:\n        return isIdentifier2();\n    }\n  }\n  function isStartOfExpression() {\n    if (isStartOfLeftHandSideExpression()) {\n      return true;\n    }\n    switch (token()) {\n      case 39 /* PlusToken */:\n      case 40 /* MinusToken */:\n      case 54 /* TildeToken */:\n      case 53 /* ExclamationToken */:\n      case 90 /* DeleteKeyword */:\n      case 113 /* TypeOfKeyword */:\n      case 115 /* VoidKeyword */:\n      case 45 /* PlusPlusToken */:\n      case 46 /* MinusMinusToken */:\n      case 29 /* LessThanToken */:\n      case 134 /* AwaitKeyword */:\n      case 126 /* YieldKeyword */:\n      case 80 /* PrivateIdentifier */:\n        return true;\n      case 24 /* DotToken */:\n        return isValidExtendOrStylesContext();\n      default:\n        if (isBinaryOperator2()) {\n          return true;\n        }\n        return isIdentifier2();\n    }\n  }\n  function isValidExtendOrStylesContext() {\n    return inEtsExtendComponentsContext() && !!extendEtsComponentDeclaration || inEtsStylesComponentsContext() && !!stylesEtsComponentDeclaration;\n  }\n  function isStartOfExpressionStatement() {\n    return token() !== 18 /* OpenBraceToken */ && token() !== 99 /* FunctionKeyword */ && token() !== 84 /* ClassKeyword */ && (!inEtsContext() || token() !== 85 /* StructKeyword */) && token() !== 59 /* AtToken */ && isStartOfExpression();\n  }\n  function parseExpression() {\n    const saveDecoratorContext = inDecoratorContext();\n    if (saveDecoratorContext) {\n      setDecoratorContext(false);\n    }\n    const pos = getNodePos();\n    let expr = parseAssignmentExpressionOrHigher(true);\n    let operatorToken;\n    while (operatorToken = parseOptionalToken(27 /* CommaToken */)) {\n      expr = makeBinaryExpression(expr, operatorToken, parseAssignmentExpressionOrHigher(true), pos);\n    }\n    if (saveDecoratorContext) {\n      setDecoratorContext(true);\n    }\n    return expr;\n  }\n  function parseInitializer() {\n    return parseOptional(63 /* EqualsToken */) ? parseAssignmentExpressionOrHigher(true) : void 0;\n  }\n  function parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) {\n    if (isYieldExpression2()) {\n      return parseYieldExpression();\n    }\n    const arrowExpression = tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) || tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction);\n    if (arrowExpression) {\n      return arrowExpression;\n    }\n    const pos = getNodePos();\n    const expr = parseBinaryExpressionOrHigher(0 /* Lowest */);\n    if (expr.kind === 79 /* Identifier */ && token() === 38 /* EqualsGreaterThanToken */) {\n      return parseSimpleArrowFunctionExpression(pos, expr, allowReturnTypeInArrowFunction, void 0);\n    }\n    if (isLeftHandSideExpression(expr) && isAssignmentOperator(reScanGreaterToken())) {\n      return makeBinaryExpression(expr, parseTokenNode(), parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction), pos);\n    }\n    if ((inBuildContext() || inBuilderContext()) && inUICallbackContext() && isCallExpression(expr) && token() === 18 /* OpenBraceToken */) {\n      return makeEtsComponentExpression(expr, pos);\n    }\n    return parseConditionalExpressionRest(expr, pos, allowReturnTypeInArrowFunction);\n  }\n  function makeEtsComponentExpression(expression, pos) {\n    const name = expression.expression;\n    const body = parseFunctionBlock(0 /* None */);\n    return finishNode(factory2.createEtsComponentExpression(name, expression.arguments, body), pos);\n  }\n  function isYieldExpression2() {\n    if (token() === 126 /* YieldKeyword */) {\n      if (inYieldContext()) {\n        return true;\n      }\n      return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine);\n    }\n    return false;\n  }\n  function nextTokenIsIdentifierOnSameLine() {\n    nextToken();\n    return !scanner2.hasPrecedingLineBreak() && isIdentifier2();\n  }\n  function parseYieldExpression() {\n    const pos = getNodePos();\n    nextToken();\n    if (!scanner2.hasPrecedingLineBreak() && (token() === 41 /* AsteriskToken */ || isStartOfExpression())) {\n      return finishNode(\n        factory2.createYieldExpression(\n          parseOptionalToken(41 /* AsteriskToken */),\n          parseAssignmentExpressionOrHigher(true)\n        ),\n        pos\n      );\n    } else {\n      return finishNode(factory2.createYieldExpression(void 0, void 0), pos);\n    }\n  }\n  function parseSimpleArrowFunctionExpression(pos, identifier, allowReturnTypeInArrowFunction, asyncModifier) {\n    Debug.assert(token() === 38 /* EqualsGreaterThanToken */, \"parseSimpleArrowFunctionExpression should only have been called if we had a =>\");\n    const parameter = factory2.createParameterDeclaration(\n      void 0,\n      void 0,\n      identifier,\n      void 0,\n      void 0,\n      void 0\n    );\n    finishNode(parameter, identifier.pos);\n    const parameters = createNodeArray2([parameter], parameter.pos, parameter.end);\n    const equalsGreaterThanToken = parseExpectedToken(38 /* EqualsGreaterThanToken */);\n    let originUIContextFlag = inUICallbackContext();\n    let originNoEtsComponentContextFlag = inNoEtsComponentContext();\n    setUICallbackContext(inSyntaxComponentContext() && !inSyntaxDataSourceContext());\n    if (inSyntaxComponentContext() && !inSyntaxDataSourceContext()) {\n      setSyntaxComponentContext(false);\n    }\n    setNoEtsComponentContext(!inUICallbackContext());\n    const body = parseArrowFunctionExpressionBody(!!asyncModifier, allowReturnTypeInArrowFunction);\n    const node = factory2.createArrowFunction(asyncModifier, void 0, parameters, void 0, equalsGreaterThanToken, body);\n    setUICallbackContext(originUIContextFlag);\n    setNoEtsComponentContext(originNoEtsComponentContextFlag);\n    return addJSDocComment(finishNode(node, pos));\n  }\n  function tryParseParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) {\n    const triState = isParenthesizedArrowFunctionExpression();\n    if (triState === Tristate.False) {\n      return void 0;\n    }\n    return triState === Tristate.True ? parseParenthesizedArrowFunctionExpression(true, true) : tryParse(() => parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction));\n  }\n  function isParenthesizedArrowFunctionExpression() {\n    if (token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */ || token() === 133 /* AsyncKeyword */) {\n      return lookAhead(isParenthesizedArrowFunctionExpressionWorker);\n    }\n    if (token() === 38 /* EqualsGreaterThanToken */) {\n      return Tristate.True;\n    }\n    return Tristate.False;\n  }\n  function isParenthesizedArrowFunctionExpressionWorker() {\n    if (token() === 133 /* AsyncKeyword */) {\n      nextToken();\n      if (scanner2.hasPrecedingLineBreak()) {\n        return Tristate.False;\n      }\n      if (token() !== 20 /* OpenParenToken */ && token() !== 29 /* LessThanToken */) {\n        return Tristate.False;\n      }\n    }\n    const first2 = token();\n    const second = nextToken();\n    if (first2 === 20 /* OpenParenToken */) {\n      if (second === 21 /* CloseParenToken */) {\n        const third = nextToken();\n        switch (third) {\n          case 38 /* EqualsGreaterThanToken */:\n          case 58 /* ColonToken */:\n          case 18 /* OpenBraceToken */:\n            return Tristate.True;\n          default:\n            return Tristate.False;\n        }\n      }\n      if (second === 22 /* OpenBracketToken */ || second === 18 /* OpenBraceToken */) {\n        return Tristate.Unknown;\n      }\n      if (second === 25 /* DotDotDotToken */) {\n        return Tristate.True;\n      }\n      if (isModifierKind(second) && second !== 133 /* AsyncKeyword */ && lookAhead(nextTokenIsIdentifier)) {\n        if (nextToken() === 129 /* AsKeyword */) {\n          return Tristate.False;\n        }\n        return Tristate.True;\n      }\n      if (!isIdentifier2() && second !== 109 /* ThisKeyword */) {\n        return Tristate.False;\n      }\n      switch (nextToken()) {\n        case 58 /* ColonToken */:\n          return Tristate.True;\n        case 57 /* QuestionToken */:\n          nextToken();\n          if (token() === 58 /* ColonToken */ || token() === 27 /* CommaToken */ || token() === 63 /* EqualsToken */ || token() === 21 /* CloseParenToken */) {\n            return Tristate.True;\n          }\n          return Tristate.False;\n        case 27 /* CommaToken */:\n        case 63 /* EqualsToken */:\n        case 21 /* CloseParenToken */:\n          return Tristate.Unknown;\n      }\n      return Tristate.False;\n    } else {\n      Debug.assert(first2 === 29 /* LessThanToken */);\n      if (!isIdentifier2()) {\n        return Tristate.False;\n      }\n      if (languageVariant === 1 /* JSX */) {\n        const isArrowFunctionInJsx = lookAhead(() => {\n          const third = nextToken();\n          if (third === 95 /* ExtendsKeyword */) {\n            const fourth = nextToken();\n            switch (fourth) {\n              case 63 /* EqualsToken */:\n              case 31 /* GreaterThanToken */:\n                return false;\n              default:\n                return true;\n            }\n          } else if (third === 27 /* CommaToken */ || third === 63 /* EqualsToken */) {\n            return true;\n          }\n          return false;\n        });\n        if (isArrowFunctionInJsx) {\n          return Tristate.True;\n        }\n        return Tristate.False;\n      }\n      return Tristate.Unknown;\n    }\n  }\n  function parsePossibleParenthesizedArrowFunctionExpression(allowReturnTypeInArrowFunction) {\n    const tokenPos = scanner2.getTokenPos();\n    if (notParenthesizedArrow == null ? void 0 : notParenthesizedArrow.has(tokenPos)) {\n      return void 0;\n    }\n    const result = parseParenthesizedArrowFunctionExpression(false, allowReturnTypeInArrowFunction);\n    if (!result) {\n      (notParenthesizedArrow || (notParenthesizedArrow = new Set2())).add(tokenPos);\n    }\n    return result;\n  }\n  function tryParseAsyncSimpleArrowFunctionExpression(allowReturnTypeInArrowFunction) {\n    if (token() === 133 /* AsyncKeyword */) {\n      if (lookAhead(isUnParenthesizedAsyncArrowFunctionWorker) === Tristate.True) {\n        const pos = getNodePos();\n        const asyncModifier = parseModifiersForArrowFunction();\n        const expr = parseBinaryExpressionOrHigher(0 /* Lowest */);\n        return parseSimpleArrowFunctionExpression(pos, expr, allowReturnTypeInArrowFunction, asyncModifier);\n      }\n    }\n    return void 0;\n  }\n  function isUnParenthesizedAsyncArrowFunctionWorker() {\n    if (token() === 133 /* AsyncKeyword */) {\n      nextToken();\n      if (scanner2.hasPrecedingLineBreak() || token() === 38 /* EqualsGreaterThanToken */) {\n        return Tristate.False;\n      }\n      const expr = parseBinaryExpressionOrHigher(0 /* Lowest */);\n      if (!scanner2.hasPrecedingLineBreak() && expr.kind === 79 /* Identifier */ && token() === 38 /* EqualsGreaterThanToken */) {\n        return Tristate.True;\n      }\n    }\n    return Tristate.False;\n  }\n  function parseParenthesizedArrowFunctionExpression(allowAmbiguity, allowReturnTypeInArrowFunction) {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const modifiers = parseModifiersForArrowFunction();\n    const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */;\n    const typeParameters = parseTypeParameters();\n    let parameters;\n    if (!parseExpected(20 /* OpenParenToken */)) {\n      if (!allowAmbiguity) {\n        return void 0;\n      }\n      parameters = createMissingList();\n    } else {\n      if (!allowAmbiguity) {\n        const maybeParameters = parseParametersWorker(isAsync, allowAmbiguity);\n        if (!maybeParameters) {\n          return void 0;\n        }\n        parameters = maybeParameters;\n      } else {\n        parameters = parseParametersWorker(isAsync, allowAmbiguity);\n      }\n      if (!parseExpected(21 /* CloseParenToken */) && !allowAmbiguity) {\n        return void 0;\n      }\n    }\n    const hasReturnColon = token() === 58 /* ColonToken */;\n    const type = parseReturnType(58 /* ColonToken */, false);\n    if (type && !allowAmbiguity && typeHasArrowFunctionBlockingParseError(type)) {\n      return void 0;\n    }\n    let unwrappedType = type;\n    while ((unwrappedType == null ? void 0 : unwrappedType.kind) === 196 /* ParenthesizedType */) {\n      unwrappedType = unwrappedType.type;\n    }\n    const hasJSDocFunctionType = unwrappedType && isJSDocFunctionType(unwrappedType);\n    if (!allowAmbiguity && token() !== 38 /* EqualsGreaterThanToken */ && (hasJSDocFunctionType || token() !== 18 /* OpenBraceToken */)) {\n      return void 0;\n    }\n    const lastToken = token();\n    const equalsGreaterThanToken = parseExpectedToken(38 /* EqualsGreaterThanToken */);\n    let originUIContextFlag = inUICallbackContext();\n    let originNoEtsComponentContextFlag = inNoEtsComponentContext();\n    setUICallbackContext(inSyntaxComponentContext() && !inSyntaxDataSourceContext());\n    if (inSyntaxComponentContext() && !inSyntaxDataSourceContext()) {\n      setSyntaxComponentContext(false);\n    }\n    setNoEtsComponentContext(!inUICallbackContext());\n    const body = lastToken === 38 /* EqualsGreaterThanToken */ || lastToken === 18 /* OpenBraceToken */ ? parseArrowFunctionExpressionBody(some(modifiers, isAsyncModifier), allowReturnTypeInArrowFunction) : parseIdentifier();\n    setUICallbackContext(originUIContextFlag);\n    setNoEtsComponentContext(originNoEtsComponentContextFlag);\n    if (!allowReturnTypeInArrowFunction && hasReturnColon) {\n      if (token() !== 58 /* ColonToken */) {\n        return void 0;\n      }\n    }\n    const node = factory2.createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanToken, body);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseArrowFunctionExpressionBody(isAsync, allowReturnTypeInArrowFunction) {\n    if (token() === 18 /* OpenBraceToken */) {\n      return parseFunctionBlock(isAsync ? 2 /* Await */ : 0 /* None */);\n    }\n    if (token() !== 26 /* SemicolonToken */ && token() !== 99 /* FunctionKeyword */ && token() !== 84 /* ClassKeyword */ && (!inEtsContext() || token() !== 85 /* StructKeyword */) && isStartOfStatement() && !isStartOfExpressionStatement()) {\n      return parseFunctionBlock(16 /* IgnoreMissingOpenBrace */ | (isAsync ? 2 /* Await */ : 0 /* None */));\n    }\n    const savedTopLevel = topLevel;\n    topLevel = false;\n    const node = isAsync ? doInAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction)) : doOutsideOfAwaitContext(() => parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction));\n    topLevel = savedTopLevel;\n    return node;\n  }\n  function parseConditionalExpressionRest(leftOperand, pos, allowReturnTypeInArrowFunction) {\n    const questionToken = parseOptionalToken(57 /* QuestionToken */);\n    if (!questionToken) {\n      return leftOperand;\n    }\n    let colonToken;\n    return finishNode(\n      factory2.createConditionalExpression(\n        leftOperand,\n        questionToken,\n        doOutsideOfContext(disallowInAndDecoratorContext, () => parseAssignmentExpressionOrHigher(false)),\n        colonToken = parseExpectedToken(58 /* ColonToken */),\n        nodeIsPresent(colonToken) ? parseAssignmentExpressionOrHigher(allowReturnTypeInArrowFunction) : createMissingNode(79 /* Identifier */, false, Diagnostics._0_expected, tokenToString(58 /* ColonToken */))\n      ),\n      pos\n    );\n  }\n  function parseBinaryExpressionOrHigher(precedence) {\n    const pos = getNodePos();\n    const leftOperand = parseUnaryExpressionOrHigher();\n    return parseBinaryExpressionRest(precedence, leftOperand, pos);\n  }\n  function isInOrOfKeyword(t) {\n    return t === 102 /* InKeyword */ || t === 164 /* OfKeyword */;\n  }\n  function parseBinaryExpressionRest(precedence, leftOperand, pos) {\n    while (true) {\n      reScanGreaterToken();\n      const newPrecedence = getBinaryOperatorPrecedence(token());\n      const consumeCurrentOperator = token() === 42 /* AsteriskAsteriskToken */ ? newPrecedence >= precedence : newPrecedence > precedence;\n      if (!consumeCurrentOperator) {\n        break;\n      }\n      if (token() === 102 /* InKeyword */ && inDisallowInContext()) {\n        break;\n      }\n      if (token() === 129 /* AsKeyword */ || token() === 151 /* SatisfiesKeyword */) {\n        if (scanner2.hasPrecedingLineBreak()) {\n          break;\n        } else {\n          const keywordKind = token();\n          nextToken();\n          leftOperand = keywordKind === 151 /* SatisfiesKeyword */ ? makeSatisfiesExpression(leftOperand, parseType()) : makeAsExpression(leftOperand, parseType());\n        }\n      } else {\n        leftOperand = makeBinaryExpression(leftOperand, parseTokenNode(), parseBinaryExpressionOrHigher(newPrecedence), pos);\n      }\n    }\n    return leftOperand;\n  }\n  function isBinaryOperator2() {\n    if (inDisallowInContext() && token() === 102 /* InKeyword */) {\n      return false;\n    }\n    return getBinaryOperatorPrecedence(token()) > 0;\n  }\n  function makeSatisfiesExpression(left, right) {\n    return finishNode(factory2.createSatisfiesExpression(left, right), left.pos);\n  }\n  function makeBinaryExpression(left, operatorToken, right, pos) {\n    return finishNode(factory2.createBinaryExpression(left, operatorToken, right), pos);\n  }\n  function makeAsExpression(left, right) {\n    return finishNode(factory2.createAsExpression(left, right), left.pos);\n  }\n  function parsePrefixUnaryExpression() {\n    const pos = getNodePos();\n    return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseSimpleUnaryExpression)), pos);\n  }\n  function parseDeleteExpression() {\n    const pos = getNodePos();\n    return finishNode(factory2.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n  }\n  function parseTypeOfExpression() {\n    const pos = getNodePos();\n    return finishNode(factory2.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n  }\n  function parseVoidExpression() {\n    const pos = getNodePos();\n    return finishNode(factory2.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n  }\n  function isAwaitExpression2() {\n    if (token() === 134 /* AwaitKeyword */) {\n      if (inAwaitContext()) {\n        return true;\n      }\n      return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine);\n    }\n    return false;\n  }\n  function parseAwaitExpression() {\n    const pos = getNodePos();\n    return finishNode(factory2.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)), pos);\n  }\n  function parseUnaryExpressionOrHigher() {\n    if (isUpdateExpression()) {\n      const pos = getNodePos();\n      const updateExpression = parseUpdateExpression();\n      return token() === 42 /* AsteriskAsteriskToken */ ? parseBinaryExpressionRest(getBinaryOperatorPrecedence(token()), updateExpression, pos) : updateExpression;\n    }\n    const unaryOperator = token();\n    const simpleUnaryExpression = parseSimpleUnaryExpression();\n    if (token() === 42 /* AsteriskAsteriskToken */) {\n      const pos = skipTrivia(sourceText, simpleUnaryExpression.pos);\n      const { end } = simpleUnaryExpression;\n      if (simpleUnaryExpression.kind === 216 /* TypeAssertionExpression */) {\n        parseErrorAt(pos, end, Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses);\n      } else {\n        parseErrorAt(pos, end, Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses, tokenToString(unaryOperator));\n      }\n    }\n    return simpleUnaryExpression;\n  }\n  function parseSimpleUnaryExpression() {\n    switch (token()) {\n      case 39 /* PlusToken */:\n      case 40 /* MinusToken */:\n      case 54 /* TildeToken */:\n      case 53 /* ExclamationToken */:\n        return parsePrefixUnaryExpression();\n      case 90 /* DeleteKeyword */:\n        return parseDeleteExpression();\n      case 113 /* TypeOfKeyword */:\n        return parseTypeOfExpression();\n      case 115 /* VoidKeyword */:\n        return parseVoidExpression();\n      case 29 /* LessThanToken */:\n        return parseTypeAssertion();\n      case 134 /* AwaitKeyword */:\n        if (isAwaitExpression2()) {\n          return parseAwaitExpression();\n        }\n      default:\n        return parseUpdateExpression();\n    }\n  }\n  function isUpdateExpression() {\n    switch (token()) {\n      case 39 /* PlusToken */:\n      case 40 /* MinusToken */:\n      case 54 /* TildeToken */:\n      case 53 /* ExclamationToken */:\n      case 90 /* DeleteKeyword */:\n      case 113 /* TypeOfKeyword */:\n      case 115 /* VoidKeyword */:\n      case 134 /* AwaitKeyword */:\n        return false;\n      case 29 /* LessThanToken */:\n        if (languageVariant !== 1 /* JSX */) {\n          return false;\n        }\n      default:\n        return true;\n    }\n  }\n  function parseUpdateExpression() {\n    if (token() === 45 /* PlusPlusToken */ || token() === 46 /* MinusMinusToken */) {\n      const pos = getNodePos();\n      return finishNode(factory2.createPrefixUnaryExpression(token(), nextTokenAnd(parseLeftHandSideExpressionOrHigher)), pos);\n    } else if (languageVariant === 1 /* JSX */ && token() === 29 /* LessThanToken */ && lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)) {\n      return parseJsxElementOrSelfClosingElementOrFragment(true);\n    }\n    const expression = parseLeftHandSideExpressionOrHigher();\n    Debug.assert(isLeftHandSideExpression(expression));\n    if ((token() === 45 /* PlusPlusToken */ || token() === 46 /* MinusMinusToken */) && !scanner2.hasPrecedingLineBreak()) {\n      const operator = token();\n      nextToken();\n      return finishNode(factory2.createPostfixUnaryExpression(expression, operator), expression.pos);\n    }\n    return expression;\n  }\n  function parseLeftHandSideExpressionOrHigher() {\n    const pos = getNodePos();\n    let expression;\n    if (token() === 101 /* ImportKeyword */) {\n      if (lookAhead(nextTokenIsOpenParenOrLessThan)) {\n        sourceFlags |= 2097152 /* PossiblyContainsDynamicImport */;\n        expression = parseTokenNode();\n      } else if (lookAhead(nextTokenIsDot)) {\n        nextToken();\n        nextToken();\n        expression = finishNode(factory2.createMetaProperty(101 /* ImportKeyword */, parseIdentifierName()), pos);\n        sourceFlags |= 4194304 /* PossiblyContainsImportMeta */;\n      } else {\n        expression = parseMemberExpressionOrHigher();\n      }\n    } else {\n      expression = token() === 107 /* SuperKeyword */ ? parseSuperExpression() : parseMemberExpressionOrHigher();\n    }\n    return parseCallExpressionRest(pos, expression);\n  }\n  function parseMemberExpressionOrHigher() {\n    const pos = getNodePos();\n    let expression;\n    if (inEtsExtendComponentsContext() && extendEtsComponentDeclaration && token() === 24 /* DotToken */) {\n      expression = finishVirtualNode2(factory2.createIdentifier(extendEtsComponentDeclaration.instance, void 0, 79 /* Identifier */), pos, pos);\n    } else if (inEtsStylesComponentsContext() && stylesEtsComponentDeclaration && token() === 24 /* DotToken */) {\n      expression = finishVirtualNode2(factory2.createIdentifier(stylesEtsComponentDeclaration.instance, void 0, 79 /* Identifier */), pos, pos);\n    } else if (inEtsStateStylesContext() && stateStylesRootNode && token() === 24 /* DotToken */) {\n      expression = finishVirtualNode2(factory2.createIdentifier(`${stateStylesRootNode}Instance`, void 0, 79 /* Identifier */), pos, pos);\n    } else {\n      expression = parsePrimaryExpression();\n    }\n    return parseMemberExpressionRest(pos, expression, true);\n  }\n  function parseSuperExpression() {\n    const pos = getNodePos();\n    let expression = parseTokenNode();\n    if (token() === 29 /* LessThanToken */) {\n      const startPos = getNodePos();\n      const typeArguments = tryParse(parseTypeArgumentsInExpression);\n      if (typeArguments !== void 0) {\n        parseErrorAt(startPos, getNodePos(), Diagnostics.super_may_not_use_type_arguments);\n        if (!isTemplateStartOfTaggedTemplate()) {\n          expression = factory2.createExpressionWithTypeArguments(expression, typeArguments);\n        }\n      }\n    }\n    if (token() === 20 /* OpenParenToken */ || token() === 24 /* DotToken */ || token() === 22 /* OpenBracketToken */) {\n      return expression;\n    }\n    parseExpectedToken(24 /* DotToken */, Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);\n    return finishNode(factory2.createPropertyAccessExpression(expression, parseRightSideOfDot(true, true)), pos);\n  }\n  function parseJsxElementOrSelfClosingElementOrFragment(inExpressionContext, topInvalidNodePosition, openingTag) {\n    const pos = getNodePos();\n    const opening = parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext);\n    let result;\n    if (opening.kind === 289 /* JsxOpeningElement */) {\n      let children = parseJsxChildren(opening);\n      let closingElement;\n      const lastChild = children[children.length - 1];\n      if ((lastChild == null ? void 0 : lastChild.kind) === 287 /* JsxElement */ && !tagNamesAreEquivalent(lastChild.openingElement.tagName, lastChild.closingElement.tagName) && tagNamesAreEquivalent(opening.tagName, lastChild.closingElement.tagName)) {\n        const end = lastChild.children.end;\n        const newLast = finishNode(\n          factory2.createJsxElement(\n            lastChild.openingElement,\n            lastChild.children,\n            finishNode(factory2.createJsxClosingElement(finishNode(factory2.createIdentifier(\"\"), end, end)), end, end)\n          ),\n          lastChild.openingElement.pos,\n          end\n        );\n        children = createNodeArray2([...children.slice(0, children.length - 1), newLast], children.pos, end);\n        closingElement = lastChild.closingElement;\n      } else {\n        closingElement = parseJsxClosingElement(opening, inExpressionContext);\n        if (!tagNamesAreEquivalent(opening.tagName, closingElement.tagName)) {\n          if (openingTag && isJsxOpeningElement(openingTag) && tagNamesAreEquivalent(closingElement.tagName, openingTag.tagName)) {\n            parseErrorAtRange(opening.tagName, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, opening.tagName));\n          } else {\n            parseErrorAtRange(closingElement.tagName, Diagnostics.Expected_corresponding_JSX_closing_tag_for_0, getTextOfNodeFromSourceText(sourceText, opening.tagName));\n          }\n        }\n      }\n      result = finishNode(factory2.createJsxElement(opening, children, closingElement), pos);\n    } else if (opening.kind === 292 /* JsxOpeningFragment */) {\n      result = finishNode(factory2.createJsxFragment(opening, parseJsxChildren(opening), parseJsxClosingFragment(inExpressionContext)), pos);\n    } else {\n      Debug.assert(opening.kind === 288 /* JsxSelfClosingElement */);\n      result = opening;\n    }\n    if (inExpressionContext && token() === 29 /* LessThanToken */) {\n      const topBadPos = typeof topInvalidNodePosition === \"undefined\" ? result.pos : topInvalidNodePosition;\n      const invalidElement = tryParse(() => parseJsxElementOrSelfClosingElementOrFragment(true, topBadPos));\n      if (invalidElement) {\n        const operatorToken = createMissingNode(27 /* CommaToken */, false);\n        setTextRangePosWidth(operatorToken, invalidElement.pos, 0);\n        parseErrorAt(skipTrivia(sourceText, topBadPos), invalidElement.end, Diagnostics.JSX_expressions_must_have_one_parent_element);\n        return finishNode(factory2.createBinaryExpression(result, operatorToken, invalidElement), pos);\n      }\n    }\n    return result;\n  }\n  function parseJsxText() {\n    const pos = getNodePos();\n    const node = factory2.createJsxText(scanner2.getTokenValue(), currentToken === 12 /* JsxTextAllWhiteSpaces */);\n    currentToken = scanner2.scanJsxToken();\n    return finishNode(node, pos);\n  }\n  function parseJsxChild(openingTag, token2) {\n    switch (token2) {\n      case 1 /* EndOfFileToken */:\n        if (isJsxOpeningFragment(openingTag)) {\n          parseErrorAtRange(openingTag, Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);\n        } else {\n          const tag = openingTag.tagName;\n          const start = skipTrivia(sourceText, tag.pos);\n          parseErrorAt(start, tag.end, Diagnostics.JSX_element_0_has_no_corresponding_closing_tag, getTextOfNodeFromSourceText(sourceText, openingTag.tagName));\n        }\n        return void 0;\n      case 30 /* LessThanSlashToken */:\n      case 7 /* ConflictMarkerTrivia */:\n        return void 0;\n      case 11 /* JsxText */:\n      case 12 /* JsxTextAllWhiteSpaces */:\n        return parseJsxText();\n      case 18 /* OpenBraceToken */:\n        return parseJsxExpression(false);\n      case 29 /* LessThanToken */:\n        return parseJsxElementOrSelfClosingElementOrFragment(false, void 0, openingTag);\n      default:\n        return Debug.assertNever(token2);\n    }\n  }\n  function parseJsxChildren(openingTag) {\n    const list = [];\n    const listPos = getNodePos();\n    const saveParsingContext = parsingContext;\n    parsingContext |= 1 << ParsingContext.JsxChildren;\n    while (true) {\n      const child = parseJsxChild(openingTag, currentToken = scanner2.reScanJsxToken());\n      if (!child)\n        break;\n      list.push(child);\n      if (isJsxOpeningElement(openingTag) && (child == null ? void 0 : child.kind) === 287 /* JsxElement */ && !tagNamesAreEquivalent(child.openingElement.tagName, child.closingElement.tagName) && tagNamesAreEquivalent(openingTag.tagName, child.closingElement.tagName)) {\n        break;\n      }\n    }\n    parsingContext = saveParsingContext;\n    return createNodeArray2(list, listPos);\n  }\n  function parseJsxAttributes() {\n    const pos = getNodePos();\n    return finishNode(factory2.createJsxAttributes(parseList(ParsingContext.JsxAttributes, parseJsxAttribute)), pos);\n  }\n  function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(inExpressionContext) {\n    const pos = getNodePos();\n    parseExpected(29 /* LessThanToken */);\n    if (token() === 31 /* GreaterThanToken */) {\n      scanJsxText();\n      return finishNode(factory2.createJsxOpeningFragment(), pos);\n    }\n    const tagName = parseJsxElementName();\n    const typeArguments = (contextFlags & 262144 /* JavaScriptFile */) === 0 ? tryParseTypeArguments() : void 0;\n    const attributes = parseJsxAttributes();\n    let node;\n    if (token() === 31 /* GreaterThanToken */) {\n      scanJsxText();\n      node = factory2.createJsxOpeningElement(tagName, typeArguments, attributes);\n    } else {\n      parseExpected(43 /* SlashToken */);\n      if (parseExpected(31 /* GreaterThanToken */, void 0, false)) {\n        if (inExpressionContext) {\n          nextToken();\n        } else {\n          scanJsxText();\n        }\n      }\n      node = factory2.createJsxSelfClosingElement(tagName, typeArguments, attributes);\n    }\n    return finishNode(node, pos);\n  }\n  function parseJsxElementName() {\n    const pos = getNodePos();\n    scanJsxIdentifier();\n    let expression = token() === 109 /* ThisKeyword */ ? parseTokenNode() : parseIdentifierName();\n    while (parseOptional(24 /* DotToken */)) {\n      expression = finishNode(factory2.createPropertyAccessExpression(expression, parseRightSideOfDot(true, false)), pos);\n    }\n    return expression;\n  }\n  function parseJsxExpression(inExpressionContext) {\n    const pos = getNodePos();\n    if (!parseExpected(18 /* OpenBraceToken */)) {\n      return void 0;\n    }\n    let dotDotDotToken;\n    let expression;\n    if (token() !== 19 /* CloseBraceToken */) {\n      dotDotDotToken = parseOptionalToken(25 /* DotDotDotToken */);\n      expression = parseExpression();\n    }\n    if (inExpressionContext) {\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      if (parseExpected(19 /* CloseBraceToken */, void 0, false)) {\n        scanJsxText();\n      }\n    }\n    return finishNode(factory2.createJsxExpression(dotDotDotToken, expression), pos);\n  }\n  function parseJsxAttribute() {\n    if (token() === 18 /* OpenBraceToken */) {\n      return parseJsxSpreadAttribute();\n    }\n    scanJsxIdentifier();\n    const pos = getNodePos();\n    return finishNode(factory2.createJsxAttribute(parseIdentifierName(), parseJsxAttributeValue()), pos);\n  }\n  function parseJsxAttributeValue() {\n    if (token() === 63 /* EqualsToken */) {\n      if (scanJsxAttributeValue() === 10 /* StringLiteral */) {\n        return parseLiteralNode();\n      }\n      if (token() === 18 /* OpenBraceToken */) {\n        return parseJsxExpression(true);\n      }\n      if (token() === 29 /* LessThanToken */) {\n        return parseJsxElementOrSelfClosingElementOrFragment(true);\n      }\n      parseErrorAtCurrentToken(Diagnostics.or_JSX_element_expected);\n    }\n    return void 0;\n  }\n  function parseJsxSpreadAttribute() {\n    const pos = getNodePos();\n    parseExpected(18 /* OpenBraceToken */);\n    parseExpected(25 /* DotDotDotToken */);\n    const expression = parseExpression();\n    parseExpected(19 /* CloseBraceToken */);\n    return finishNode(factory2.createJsxSpreadAttribute(expression), pos);\n  }\n  function parseJsxClosingElement(open, inExpressionContext) {\n    const pos = getNodePos();\n    parseExpected(30 /* LessThanSlashToken */);\n    const tagName = parseJsxElementName();\n    if (parseExpected(31 /* GreaterThanToken */, void 0, false)) {\n      if (inExpressionContext || !tagNamesAreEquivalent(open.tagName, tagName)) {\n        nextToken();\n      } else {\n        scanJsxText();\n      }\n    }\n    return finishNode(factory2.createJsxClosingElement(tagName), pos);\n  }\n  function parseJsxClosingFragment(inExpressionContext) {\n    const pos = getNodePos();\n    parseExpected(30 /* LessThanSlashToken */);\n    if (tokenIsIdentifierOrKeyword(token())) {\n      parseErrorAtRange(parseJsxElementName(), Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);\n    }\n    if (parseExpected(31 /* GreaterThanToken */, void 0, false)) {\n      if (inExpressionContext) {\n        nextToken();\n      } else {\n        scanJsxText();\n      }\n    }\n    return finishNode(factory2.createJsxJsxClosingFragment(), pos);\n  }\n  function parseTypeAssertion() {\n    const pos = getNodePos();\n    parseExpected(29 /* LessThanToken */);\n    const type = parseType();\n    parseExpected(31 /* GreaterThanToken */);\n    const expression = parseSimpleUnaryExpression();\n    return finishNode(factory2.createTypeAssertion(type, expression), pos);\n  }\n  function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate() {\n    nextToken();\n    return tokenIsIdentifierOrKeyword(token()) || token() === 22 /* OpenBracketToken */ || isTemplateStartOfTaggedTemplate();\n  }\n  function isStartOfOptionalPropertyOrElementAccessChain() {\n    return token() === 28 /* QuestionDotToken */ && lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate);\n  }\n  function tryReparseOptionalChain(node) {\n    if (node.flags & 32 /* OptionalChain */) {\n      return true;\n    }\n    if (isNonNullExpression(node)) {\n      let expr = node.expression;\n      while (isNonNullExpression(expr) && !(expr.flags & 32 /* OptionalChain */)) {\n        expr = expr.expression;\n      }\n      if (expr.flags & 32 /* OptionalChain */) {\n        while (isNonNullExpression(node)) {\n          node.flags |= 32 /* OptionalChain */;\n          node = node.expression;\n        }\n        return true;\n      }\n    }\n    return false;\n  }\n  function parsePropertyAccessExpressionRest(pos, expression, questionDotToken) {\n    const name = parseRightSideOfDot(true, true);\n    const isOptionalChain2 = questionDotToken || tryReparseOptionalChain(expression);\n    const propertyAccess = isOptionalChain2 ? factory2.createPropertyAccessChain(expression, questionDotToken, name) : factory2.createPropertyAccessExpression(expression, name);\n    if (isOptionalChain2 && isPrivateIdentifier(propertyAccess.name)) {\n      parseErrorAtRange(propertyAccess.name, Diagnostics.An_optional_chain_cannot_contain_private_identifiers);\n    }\n    if (isExpressionWithTypeArguments(expression) && expression.typeArguments) {\n      const pos2 = expression.typeArguments.pos - 1;\n      const end = skipTrivia(sourceText, expression.typeArguments.end) + 1;\n      parseErrorAt(pos2, end, Diagnostics.An_instantiation_expression_cannot_be_followed_by_a_property_access);\n    }\n    return finishNode(propertyAccess, pos);\n  }\n  function parseElementAccessExpressionRest(pos, expression, questionDotToken) {\n    let argumentExpression;\n    if (token() === 23 /* CloseBracketToken */) {\n      argumentExpression = createMissingNode(79 /* Identifier */, true, Diagnostics.An_element_access_expression_should_take_an_argument);\n    } else {\n      const argument = allowInAnd(parseExpression);\n      if (isStringOrNumericLiteralLike(argument)) {\n        argument.text = internIdentifier(argument.text);\n      }\n      argumentExpression = argument;\n    }\n    parseExpected(23 /* CloseBracketToken */);\n    const indexedAccess = questionDotToken || tryReparseOptionalChain(expression) ? factory2.createElementAccessChain(expression, questionDotToken, argumentExpression) : factory2.createElementAccessExpression(expression, argumentExpression);\n    return finishNode(indexedAccess, pos);\n  }\n  function parseMemberExpressionRest(pos, expression, allowOptionalChain) {\n    while (true) {\n      let questionDotToken;\n      let isPropertyAccess = false;\n      if (allowOptionalChain && isStartOfOptionalPropertyOrElementAccessChain()) {\n        questionDotToken = parseExpectedToken(28 /* QuestionDotToken */);\n        isPropertyAccess = tokenIsIdentifierOrKeyword(token());\n      } else {\n        isPropertyAccess = parseOptional(24 /* DotToken */);\n      }\n      if (isPropertyAccess) {\n        expression = parsePropertyAccessExpressionRest(pos, expression, questionDotToken);\n        continue;\n      }\n      if ((questionDotToken || !inDecoratorContext()) && parseOptional(22 /* OpenBracketToken */)) {\n        expression = parseElementAccessExpressionRest(pos, expression, questionDotToken);\n        continue;\n      }\n      if (isTemplateStartOfTaggedTemplate()) {\n        expression = !questionDotToken && expression.kind === 234 /* ExpressionWithTypeArguments */ ? parseTaggedTemplateRest(pos, expression.expression, questionDotToken, expression.typeArguments) : parseTaggedTemplateRest(pos, expression, questionDotToken, void 0);\n        continue;\n      }\n      if (!questionDotToken) {\n        if (token() === 53 /* ExclamationToken */ && !scanner2.hasPrecedingLineBreak()) {\n          nextToken();\n          expression = finishNode(factory2.createNonNullExpression(expression), pos);\n          continue;\n        }\n        const typeArguments = tryParse(parseTypeArgumentsInExpression);\n        if (typeArguments) {\n          expression = finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos);\n          continue;\n        }\n      }\n      return expression;\n    }\n  }\n  function isTemplateStartOfTaggedTemplate() {\n    return token() === 14 /* NoSubstitutionTemplateLiteral */ || token() === 15 /* TemplateHead */;\n  }\n  function parseTaggedTemplateRest(pos, tag, questionDotToken, typeArguments) {\n    const tagExpression = factory2.createTaggedTemplateExpression(\n      tag,\n      typeArguments,\n      token() === 14 /* NoSubstitutionTemplateLiteral */ ? (reScanTemplateHeadOrNoSubstitutionTemplate(), parseLiteralNode()) : parseTemplateExpression(true)\n    );\n    if (questionDotToken || tag.flags & 32 /* OptionalChain */) {\n      tagExpression.flags |= 32 /* OptionalChain */;\n    }\n    tagExpression.questionDotToken = questionDotToken;\n    return finishNode(tagExpression, pos);\n  }\n  function parseCallExpressionRest(pos, expression) {\n    var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n;\n    let currentNodeName;\n    while (true) {\n      expression = parseMemberExpressionRest(pos, expression, true);\n      let typeArguments;\n      const questionDotToken = parseOptionalToken(28 /* QuestionDotToken */);\n      if (questionDotToken) {\n        typeArguments = tryParse(parseTypeArgumentsInExpression);\n        if (isTemplateStartOfTaggedTemplate()) {\n          expression = parseTaggedTemplateRest(pos, expression, questionDotToken, typeArguments);\n          continue;\n        }\n      }\n      if (typeArguments || token() === 20 /* OpenParenToken */) {\n        if (!questionDotToken && expression.kind === 234 /* ExpressionWithTypeArguments */) {\n          typeArguments = expression.typeArguments;\n          expression = expression.expression;\n        }\n        if (isValidVirtualTypeArgumentsContext() && isPropertyAccessExpression(expression)) {\n          const [rootNode, type] = getRootComponent(expression, sourceFileCompilerOptions);\n          if (rootNode && type) {\n            let rootNodeName = \"\";\n            if (type === \"otherType\") {\n              rootNodeName = \"Common\";\n            } else {\n              rootNodeName = rootNode.expression.escapedText.toString();\n            }\n            currentNodeName = getTextOfPropertyName(expression.name).toString();\n            if (currentNodeName === ((_b = (_a2 = sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.ets) == null ? void 0 : _a2.styles) == null ? void 0 : _b.property)) {\n              setEtsStateStylesContext(true);\n              stateStylesRootNode = rootNodeName;\n            } else {\n              setEtsStateStylesContext(false);\n              stateStylesRootNode = void 0;\n            }\n            const syntaxComponents = (_e = (_d = (_c = sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.ets) == null ? void 0 : _c.syntaxComponents) == null ? void 0 : _d.attrUICallback) == null ? void 0 : _e.filter(\n              (item) => item.name === rootNodeName\n            );\n            if (type === \"callExpressionComponentType\" && syntaxComponents && syntaxComponents.length && ((_g = (_f = syntaxComponents[0]) == null ? void 0 : _f.attributes) == null ? void 0 : _g.includes(currentNodeName))) {\n              setSyntaxComponentContext(true);\n              setFirstArgumentExpression(true);\n              if (currentNodeName === \"each\") {\n                setRepeatEachRest(true);\n              }\n            } else if (type === \"etsComponentType\") {\n              typeArguments = parseEtsTypeArguments(pos, `${rootNodeName}Attribute`);\n            }\n          } else if (inEtsStateStylesContext() && stateStylesRootNode) {\n            typeArguments = parseEtsTypeArguments(pos, `${stateStylesRootNode}Attribute`);\n          } else if (inEtsStylesComponentsContext() || inEtsExtendComponentsContext()) {\n            const virtualNode = getVirtualEtsComponent(expression);\n            if (virtualNode) {\n              let rootNodeName = virtualNode.expression.escapedText.toString();\n              currentNodeName = getTextOfPropertyName(expression.name).toString();\n              if (currentNodeName === ((_i = (_h = sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.ets) == null ? void 0 : _h.styles) == null ? void 0 : _i.property)) {\n                setEtsStateStylesContext(true);\n                rootNodeName = rootNodeName.replace(\"Instance\", \"\");\n                stateStylesRootNode = rootNodeName;\n                typeArguments = parseEtsTypeArguments(pos, `${rootNodeName}Attribute`);\n              }\n            }\n          }\n        }\n        if (isValidVirtualTypeArgumentsContext() && isIdentifier(expression) && ((_l = (_k = (_j = sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.ets) == null ? void 0 : _j.syntaxComponents) == null ? void 0 : _k.paramsUICallback) == null ? void 0 : _l.includes(expression.escapedText.toString()))) {\n          setSyntaxComponentContext(true);\n          setFirstArgumentExpression(true);\n        }\n        const argumentList = parseArgumentList();\n        const callExpr = questionDotToken || tryReparseOptionalChain(expression) ? factory2.createCallChain(expression, questionDotToken, typeArguments, argumentList) : factory2.createCallExpression(expression, typeArguments, argumentList);\n        expression = finishNode(callExpr, pos);\n        continue;\n      }\n      if (questionDotToken) {\n        const name = createMissingNode(79 /* Identifier */, false, Diagnostics.Identifier_expected);\n        expression = finishNode(factory2.createPropertyAccessChain(expression, questionDotToken, name), pos);\n      }\n      break;\n    }\n    if (currentNodeName === ((_n = (_m = sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.ets) == null ? void 0 : _m.styles) == null ? void 0 : _n.property)) {\n      setEtsStateStylesContext(false);\n      stateStylesRootNode = void 0;\n    }\n    return expression;\n  }\n  function isValidVirtualTypeArgumentsContext() {\n    return inBuildContext() || inBuilderContext() || inEtsStylesComponentsContext() || inEtsExtendComponentsContext();\n  }\n  function parseArgumentList() {\n    parseExpected(20 /* OpenParenToken */);\n    const result = parseDelimitedList(ParsingContext.ArgumentExpressions, parseArgumentExpression);\n    parseExpected(21 /* CloseParenToken */);\n    return result;\n  }\n  function parseTypeArgumentsInExpression() {\n    if ((contextFlags & 262144 /* JavaScriptFile */) !== 0) {\n      return void 0;\n    }\n    if (reScanLessThanToken() !== 29 /* LessThanToken */) {\n      return void 0;\n    }\n    nextToken();\n    const typeArguments = parseDelimitedList(ParsingContext.TypeArguments, parseType);\n    if (reScanGreaterToken() !== 31 /* GreaterThanToken */) {\n      return void 0;\n    }\n    nextToken();\n    return typeArguments && canFollowTypeArgumentsInExpression() ? typeArguments : void 0;\n  }\n  function canFollowTypeArgumentsInExpression() {\n    switch (token()) {\n      case 20 /* OpenParenToken */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 15 /* TemplateHead */:\n        return true;\n      case 29 /* LessThanToken */:\n      case 31 /* GreaterThanToken */:\n      case 39 /* PlusToken */:\n      case 40 /* MinusToken */:\n        return false;\n    }\n    return scanner2.hasPrecedingLineBreak() || isBinaryOperator2() || !isStartOfExpression();\n  }\n  function isCurrentTokenAnEtsComponentExpression() {\n    var _a2, _b;\n    if (!inEtsComponentsContext() || inNoEtsComponentContext()) {\n      return false;\n    }\n    const components = (_b = (_a2 = sourceFileCompilerOptions.ets) == null ? void 0 : _a2.components) != null ? _b : [];\n    return components.includes(scanner2.getTokenText());\n  }\n  function parseEtsComponentExpression() {\n    const pos = getNodePos();\n    const name = parseBindingIdentifier();\n    const argumentList = parseArgumentList();\n    const body = token() === 18 /* OpenBraceToken */ ? parseFunctionBlock(0 /* None */) : void 0;\n    const node = factory2.createEtsComponentExpression(name, argumentList, body);\n    return finishNode(node, pos);\n  }\n  function parsePrimaryExpression() {\n    switch (token()) {\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 10 /* StringLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n        return parseLiteralNode();\n      case 109 /* ThisKeyword */:\n      case 107 /* SuperKeyword */:\n      case 105 /* NullKeyword */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n        return parseTokenNode();\n      case 20 /* OpenParenToken */:\n        return parseParenthesizedExpression();\n      case 22 /* OpenBracketToken */:\n        return parseArrayLiteralExpression();\n      case 18 /* OpenBraceToken */:\n        return parseObjectLiteralExpression();\n      case 133 /* AsyncKeyword */:\n        if (!lookAhead(nextTokenIsFunctionKeywordOnSameLine)) {\n          break;\n        }\n        return parseFunctionExpression();\n      case 84 /* ClassKeyword */:\n        return parseClassExpression();\n      case 99 /* FunctionKeyword */:\n        return parseFunctionExpression();\n      case 104 /* NewKeyword */:\n        return parseNewExpressionOrNewDotTarget();\n      case 43 /* SlashToken */:\n      case 68 /* SlashEqualsToken */:\n        if (reScanSlashToken() === 13 /* RegularExpressionLiteral */) {\n          return parseLiteralNode();\n        }\n        break;\n      case 15 /* TemplateHead */:\n        return parseTemplateExpression(false);\n      case 80 /* PrivateIdentifier */:\n        return parsePrivateIdentifier();\n    }\n    if (isCurrentTokenAnEtsComponentExpression() && !inEtsNewExpressionContext()) {\n      return parseEtsComponentExpression();\n    }\n    return parseIdentifier(Diagnostics.Expression_expected);\n  }\n  function parseParenthesizedExpression() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(20 /* OpenParenToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpected(21 /* CloseParenToken */);\n    return withJSDoc(finishNode(factory2.createParenthesizedExpression(expression), pos), hasJSDoc);\n  }\n  function parseSpreadElement() {\n    const pos = getNodePos();\n    parseExpected(25 /* DotDotDotToken */);\n    const expression = parseAssignmentExpressionOrHigher(true);\n    return finishNode(factory2.createSpreadElement(expression), pos);\n  }\n  function parseArgumentOrArrayLiteralElement() {\n    return token() === 25 /* DotDotDotToken */ ? parseSpreadElement() : token() === 27 /* CommaToken */ ? finishNode(factory2.createOmittedExpression(), getNodePos()) : parseAssignmentExpressionOrHigher(true);\n  }\n  function parseArgumentExpression() {\n    let resetSyntaxDataSourceContextFlag = false;\n    let resetRepeatEachContextFlag = false;\n    if (inSyntaxComponentContext() && !inSyntaxDataSourceContext() && getFirstArgumentExpression()) {\n      setFirstArgumentExpression(false);\n      if (!getRepeatEachRest()) {\n        setSyntaxDataSourceContext(true);\n        resetSyntaxDataSourceContextFlag = true;\n      } else {\n        resetRepeatEachContextFlag = true;\n      }\n    }\n    const argumentExpressionResult = doOutsideOfContext(disallowInAndDecoratorContext, parseArgumentOrArrayLiteralElement);\n    if (resetSyntaxDataSourceContextFlag) {\n      setSyntaxDataSourceContext(false);\n    }\n    if (resetRepeatEachContextFlag) {\n      setRepeatEachRest(false);\n    }\n    return argumentExpressionResult;\n  }\n  function parseArrayLiteralExpression() {\n    const pos = getNodePos();\n    const openBracketPosition = scanner2.getTokenPos();\n    const openBracketParsed = parseExpected(22 /* OpenBracketToken */);\n    const multiLine = scanner2.hasPrecedingLineBreak();\n    const elements = parseDelimitedList(ParsingContext.ArrayLiteralMembers, parseArgumentOrArrayLiteralElement);\n    parseExpectedMatchingBrackets(22 /* OpenBracketToken */, 23 /* CloseBracketToken */, openBracketParsed, openBracketPosition);\n    return finishNode(factory2.createArrayLiteralExpression(elements, multiLine), pos);\n  }\n  function parseObjectLiteralElement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    if (parseOptionalToken(25 /* DotDotDotToken */)) {\n      const expression = parseAssignmentExpressionOrHigher(true);\n      return withJSDoc(finishNode(factory2.createSpreadAssignment(expression), pos), hasJSDoc);\n    }\n    const decorators = parseDecorators();\n    const modifiers = parseModifiers();\n    if (parseContextualModifier(138 /* GetKeyword */)) {\n      return parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, 177 /* GetAccessor */, 0 /* None */);\n    }\n    if (parseContextualModifier(152 /* SetKeyword */)) {\n      return parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, 178 /* SetAccessor */, 0 /* None */);\n    }\n    const asteriskToken = parseOptionalToken(41 /* AsteriskToken */);\n    const tokenIsIdentifier = isIdentifier2();\n    const name = parsePropertyName();\n    const questionToken = parseOptionalToken(57 /* QuestionToken */);\n    const exclamationToken = parseOptionalToken(53 /* ExclamationToken */);\n    if (asteriskToken || token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */) {\n      return parseMethodDeclaration(pos, hasJSDoc, decorators, modifiers, asteriskToken, name, questionToken, exclamationToken);\n    }\n    let node;\n    const isShorthandPropertyAssignment2 = tokenIsIdentifier && token() !== 58 /* ColonToken */;\n    if (isShorthandPropertyAssignment2) {\n      const equalsToken = parseOptionalToken(63 /* EqualsToken */);\n      const objectAssignmentInitializer = equalsToken ? allowInAnd(() => parseAssignmentExpressionOrHigher(true)) : void 0;\n      node = factory2.createShorthandPropertyAssignment(name, objectAssignmentInitializer);\n      node.equalsToken = equalsToken;\n    } else {\n      parseExpected(58 /* ColonToken */);\n      const initializer = allowInAnd(() => parseAssignmentExpressionOrHigher(true));\n      node = factory2.createPropertyAssignment(name, initializer);\n    }\n    node.illegalDecorators = decorators;\n    node.modifiers = modifiers;\n    node.questionToken = questionToken;\n    node.exclamationToken = exclamationToken;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseObjectLiteralExpression() {\n    const pos = getNodePos();\n    const openBracePosition = scanner2.getTokenPos();\n    const openBraceParsed = parseExpected(18 /* OpenBraceToken */);\n    const multiLine = scanner2.hasPrecedingLineBreak();\n    const properties = parseDelimitedList(ParsingContext.ObjectLiteralMembers, parseObjectLiteralElement, true);\n    parseExpectedMatchingBrackets(18 /* OpenBraceToken */, 19 /* CloseBraceToken */, openBraceParsed, openBracePosition);\n    return finishNode(factory2.createObjectLiteralExpression(properties, multiLine), pos);\n  }\n  function parseFunctionExpression() {\n    const savedDecoratorContext = inDecoratorContext();\n    setDecoratorContext(false);\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const modifiers = parseModifiers();\n    parseExpected(99 /* FunctionKeyword */);\n    const asteriskToken = parseOptionalToken(41 /* AsteriskToken */);\n    const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */;\n    const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */;\n    const name = isGenerator && isAsync ? doInYieldAndAwaitContext(parseOptionalBindingIdentifier) : isGenerator ? doInYieldContext(parseOptionalBindingIdentifier) : isAsync ? doInAwaitContext(parseOptionalBindingIdentifier) : parseOptionalBindingIdentifier();\n    const typeParameters = parseTypeParameters();\n    const parameters = parseParameters(isGenerator | isAsync);\n    const type = parseReturnType(58 /* ColonToken */, false);\n    const body = parseFunctionBlock(isGenerator | isAsync);\n    setDecoratorContext(savedDecoratorContext);\n    const node = factory2.createFunctionExpression(modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseOptionalBindingIdentifier() {\n    return isBindingIdentifier() ? parseBindingIdentifier() : void 0;\n  }\n  function parseNewExpressionOrNewDotTarget() {\n    setEtsNewExpressionContext(inEtsComponentsContext());\n    const pos = getNodePos();\n    parseExpected(104 /* NewKeyword */);\n    if (parseOptional(24 /* DotToken */)) {\n      const name = parseIdentifierName();\n      return finishNode(factory2.createMetaProperty(104 /* NewKeyword */, name), pos);\n    }\n    const expressionPos = getNodePos();\n    let expression = parseMemberExpressionRest(expressionPos, parsePrimaryExpression(), false);\n    let typeArguments;\n    if (expression.kind === 234 /* ExpressionWithTypeArguments */) {\n      typeArguments = expression.typeArguments;\n      expression = expression.expression;\n    }\n    if (token() === 28 /* QuestionDotToken */) {\n      parseErrorAtCurrentToken(Diagnostics.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0, getTextOfNodeFromSourceText(sourceText, expression));\n    }\n    const argumentList = token() === 20 /* OpenParenToken */ ? parseArgumentList() : void 0;\n    setEtsNewExpressionContext(false);\n    return finishNode(factory2.createNewExpression(expression, typeArguments, argumentList), pos);\n  }\n  function parseBlock(ignoreMissingOpenBrace, diagnosticMessage) {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const openBracePosition = scanner2.getTokenPos();\n    const openBraceParsed = parseExpected(18 /* OpenBraceToken */, diagnosticMessage);\n    if (openBraceParsed || ignoreMissingOpenBrace) {\n      const multiLine = scanner2.hasPrecedingLineBreak();\n      const statements = parseList(ParsingContext.BlockStatements, parseStatement);\n      parseExpectedMatchingBrackets(18 /* OpenBraceToken */, 19 /* CloseBraceToken */, openBraceParsed, openBracePosition);\n      const result = withJSDoc(finishNode(factory2.createBlock(statements, multiLine), pos), hasJSDoc);\n      if (token() === 63 /* EqualsToken */) {\n        parseErrorAtCurrentToken(Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses);\n        nextToken();\n      }\n      return result;\n    } else {\n      const statements = createMissingList();\n      return withJSDoc(finishNode(factory2.createBlock(statements, void 0), pos), hasJSDoc);\n    }\n  }\n  function parseFunctionBlock(flags, diagnosticMessage) {\n    const savedYieldContext = inYieldContext();\n    setYieldContext(!!(flags & 1 /* Yield */));\n    const savedAwaitContext = inAwaitContext();\n    setAwaitContext(!!(flags & 2 /* Await */));\n    const savedTopLevel = topLevel;\n    topLevel = false;\n    const saveDecoratorContext = inDecoratorContext();\n    if (saveDecoratorContext) {\n      setDecoratorContext(false);\n    }\n    const block = parseBlock(!!(flags & 16 /* IgnoreMissingOpenBrace */), diagnosticMessage);\n    if (saveDecoratorContext) {\n      setDecoratorContext(true);\n    }\n    topLevel = savedTopLevel;\n    setYieldContext(savedYieldContext);\n    setAwaitContext(savedAwaitContext);\n    return block;\n  }\n  function parseEmptyStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(26 /* SemicolonToken */);\n    return withJSDoc(finishNode(factory2.createEmptyStatement(), pos), hasJSDoc);\n  }\n  function parseIfStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(100 /* IfKeyword */);\n    const openParenPosition = scanner2.getTokenPos();\n    const openParenParsed = parseExpected(20 /* OpenParenToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpectedMatchingBrackets(20 /* OpenParenToken */, 21 /* CloseParenToken */, openParenParsed, openParenPosition);\n    const thenStatement = parseStatement();\n    const elseStatement = parseOptional(92 /* ElseKeyword */) ? parseStatement() : void 0;\n    return withJSDoc(finishNode(factory2.createIfStatement(expression, thenStatement, elseStatement), pos), hasJSDoc);\n  }\n  function parseDoStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(91 /* DoKeyword */);\n    const statement = parseStatement();\n    parseExpected(116 /* WhileKeyword */);\n    const openParenPosition = scanner2.getTokenPos();\n    const openParenParsed = parseExpected(20 /* OpenParenToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpectedMatchingBrackets(20 /* OpenParenToken */, 21 /* CloseParenToken */, openParenParsed, openParenPosition);\n    parseOptional(26 /* SemicolonToken */);\n    return withJSDoc(finishNode(factory2.createDoStatement(statement, expression), pos), hasJSDoc);\n  }\n  function parseWhileStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(116 /* WhileKeyword */);\n    const openParenPosition = scanner2.getTokenPos();\n    const openParenParsed = parseExpected(20 /* OpenParenToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpectedMatchingBrackets(20 /* OpenParenToken */, 21 /* CloseParenToken */, openParenParsed, openParenPosition);\n    const statement = parseStatement();\n    return withJSDoc(finishNode(factory2.createWhileStatement(expression, statement), pos), hasJSDoc);\n  }\n  function parseForOrForInOrForOfStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(98 /* ForKeyword */);\n    const awaitToken = parseOptionalToken(134 /* AwaitKeyword */);\n    parseExpected(20 /* OpenParenToken */);\n    let initializer;\n    if (token() !== 26 /* SemicolonToken */) {\n      if (token() === 114 /* VarKeyword */ || token() === 120 /* LetKeyword */ || token() === 86 /* ConstKeyword */) {\n        initializer = parseVariableDeclarationList(true);\n      } else {\n        initializer = disallowInAnd(parseExpression);\n      }\n    }\n    let node;\n    if (awaitToken ? parseExpected(164 /* OfKeyword */) : parseOptional(164 /* OfKeyword */)) {\n      const expression = allowInAnd(() => parseAssignmentExpressionOrHigher(true));\n      parseExpected(21 /* CloseParenToken */);\n      node = factory2.createForOfStatement(awaitToken, initializer, expression, parseStatement());\n    } else if (parseOptional(102 /* InKeyword */)) {\n      const expression = allowInAnd(parseExpression);\n      parseExpected(21 /* CloseParenToken */);\n      node = factory2.createForInStatement(initializer, expression, parseStatement());\n    } else {\n      parseExpected(26 /* SemicolonToken */);\n      const condition = token() !== 26 /* SemicolonToken */ && token() !== 21 /* CloseParenToken */ ? allowInAnd(parseExpression) : void 0;\n      parseExpected(26 /* SemicolonToken */);\n      const incrementor = token() !== 21 /* CloseParenToken */ ? allowInAnd(parseExpression) : void 0;\n      parseExpected(21 /* CloseParenToken */);\n      node = factory2.createForStatement(initializer, condition, incrementor, parseStatement());\n    }\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseBreakOrContinueStatement(kind) {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(kind === 253 /* BreakStatement */ ? 81 /* BreakKeyword */ : 87 /* ContinueKeyword */);\n    const label = canParseSemicolon() ? void 0 : parseIdentifier();\n    parseSemicolon();\n    const node = kind === 253 /* BreakStatement */ ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseReturnStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(106 /* ReturnKeyword */);\n    const expression = canParseSemicolon() ? void 0 : allowInAnd(parseExpression);\n    parseSemicolon();\n    return withJSDoc(finishNode(factory2.createReturnStatement(expression), pos), hasJSDoc);\n  }\n  function parseWithStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(117 /* WithKeyword */);\n    const openParenPosition = scanner2.getTokenPos();\n    const openParenParsed = parseExpected(20 /* OpenParenToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpectedMatchingBrackets(20 /* OpenParenToken */, 21 /* CloseParenToken */, openParenParsed, openParenPosition);\n    const statement = doInsideOfContext(33554432 /* InWithStatement */, parseStatement);\n    return withJSDoc(finishNode(factory2.createWithStatement(expression, statement), pos), hasJSDoc);\n  }\n  function parseCaseClause() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(82 /* CaseKeyword */);\n    const expression = allowInAnd(parseExpression);\n    parseExpected(58 /* ColonToken */);\n    const statements = parseList(ParsingContext.SwitchClauseStatements, parseStatement);\n    return withJSDoc(finishNode(factory2.createCaseClause(expression, statements), pos), hasJSDoc);\n  }\n  function parseDefaultClause() {\n    const pos = getNodePos();\n    parseExpected(89 /* DefaultKeyword */);\n    parseExpected(58 /* ColonToken */);\n    const statements = parseList(ParsingContext.SwitchClauseStatements, parseStatement);\n    return finishNode(factory2.createDefaultClause(statements), pos);\n  }\n  function parseCaseOrDefaultClause() {\n    return token() === 82 /* CaseKeyword */ ? parseCaseClause() : parseDefaultClause();\n  }\n  function parseCaseBlock() {\n    const pos = getNodePos();\n    parseExpected(18 /* OpenBraceToken */);\n    const clauses = parseList(ParsingContext.SwitchClauses, parseCaseOrDefaultClause);\n    parseExpected(19 /* CloseBraceToken */);\n    return finishNode(factory2.createCaseBlock(clauses), pos);\n  }\n  function parseSwitchStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(108 /* SwitchKeyword */);\n    parseExpected(20 /* OpenParenToken */);\n    const expression = allowInAnd(parseExpression);\n    parseExpected(21 /* CloseParenToken */);\n    const caseBlock = parseCaseBlock();\n    return withJSDoc(finishNode(factory2.createSwitchStatement(expression, caseBlock), pos), hasJSDoc);\n  }\n  function parseThrowStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(110 /* ThrowKeyword */);\n    let expression = scanner2.hasPrecedingLineBreak() ? void 0 : allowInAnd(parseExpression);\n    if (expression === void 0) {\n      identifierCount++;\n      expression = finishNode(factory2.createIdentifier(\"\"), getNodePos());\n    }\n    if (!tryParseSemicolon()) {\n      parseErrorForMissingSemicolonAfter(expression);\n    }\n    return withJSDoc(finishNode(factory2.createThrowStatement(expression), pos), hasJSDoc);\n  }\n  function parseTryStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(112 /* TryKeyword */);\n    const tryBlock = parseBlock(false);\n    const catchClause = token() === 83 /* CatchKeyword */ ? parseCatchClause() : void 0;\n    let finallyBlock;\n    if (!catchClause || token() === 97 /* FinallyKeyword */) {\n      parseExpected(97 /* FinallyKeyword */, Diagnostics.catch_or_finally_expected);\n      finallyBlock = parseBlock(false);\n    }\n    return withJSDoc(finishNode(factory2.createTryStatement(tryBlock, catchClause, finallyBlock), pos), hasJSDoc);\n  }\n  function parseCatchClause() {\n    const pos = getNodePos();\n    parseExpected(83 /* CatchKeyword */);\n    let variableDeclaration;\n    if (parseOptional(20 /* OpenParenToken */)) {\n      variableDeclaration = parseVariableDeclaration();\n      parseExpected(21 /* CloseParenToken */);\n    } else {\n      variableDeclaration = void 0;\n    }\n    const block = parseBlock(false);\n    return finishNode(factory2.createCatchClause(variableDeclaration, block), pos);\n  }\n  function parseDebuggerStatement() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    parseExpected(88 /* DebuggerKeyword */);\n    parseSemicolon();\n    return withJSDoc(finishNode(factory2.createDebuggerStatement(), pos), hasJSDoc);\n  }\n  function parseExpressionOrLabeledStatement() {\n    const pos = getNodePos();\n    let hasJSDoc = hasPrecedingJSDocComment();\n    let node;\n    const hasParen = token() === 20 /* OpenParenToken */;\n    const expression = allowInAnd(parseExpression);\n    if (isIdentifier(expression) && parseOptional(58 /* ColonToken */)) {\n      node = factory2.createLabeledStatement(expression, parseStatement());\n    } else {\n      if (!tryParseSemicolon()) {\n        parseErrorForMissingSemicolonAfter(expression);\n      }\n      node = factory2.createExpressionStatement(expression);\n      if (hasParen) {\n        hasJSDoc = false;\n      }\n    }\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function nextTokenIsIdentifierOrKeywordOnSameLine() {\n    nextToken();\n    return tokenIsIdentifierOrKeyword(token()) && !scanner2.hasPrecedingLineBreak();\n  }\n  function nextTokenIsClassKeywordOnSameLine() {\n    nextToken();\n    return token() === 84 /* ClassKeyword */ && !scanner2.hasPrecedingLineBreak();\n  }\n  function nextTokenIsFunctionKeywordOnSameLine() {\n    nextToken();\n    return token() === 99 /* FunctionKeyword */ && !scanner2.hasPrecedingLineBreak();\n  }\n  function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine() {\n    nextToken();\n    return (tokenIsIdentifierOrKeyword(token()) || token() === 8 /* NumericLiteral */ || token() === 9 /* BigIntLiteral */ || token() === 10 /* StringLiteral */) && !scanner2.hasPrecedingLineBreak();\n  }\n  function isDeclaration2() {\n    while (true) {\n      switch (token()) {\n        case 114 /* VarKeyword */:\n        case 120 /* LetKeyword */:\n        case 86 /* ConstKeyword */:\n        case 99 /* FunctionKeyword */:\n        case 84 /* ClassKeyword */:\n        case 93 /* EnumKeyword */:\n          return true;\n        case 85 /* StructKeyword */:\n          return inEtsContext();\n        case 59 /* AtToken */:\n          return inAllowAnnotationContext() && nextToken() === 119 /* InterfaceKeyword */;\n        case 119 /* InterfaceKeyword */:\n        case 155 /* TypeKeyword */:\n          return nextTokenIsIdentifierOnSameLine();\n        case 143 /* ModuleKeyword */:\n        case 144 /* NamespaceKeyword */:\n          return nextTokenIsIdentifierOrStringLiteralOnSameLine();\n        case 127 /* AbstractKeyword */:\n        case 128 /* AccessorKeyword */:\n        case 133 /* AsyncKeyword */:\n        case 137 /* DeclareKeyword */:\n        case 122 /* PrivateKeyword */:\n        case 123 /* ProtectedKeyword */:\n        case 124 /* PublicKeyword */:\n        case 147 /* ReadonlyKeyword */:\n          nextToken();\n          if (scanner2.hasPrecedingLineBreak()) {\n            return false;\n          }\n          continue;\n        case 161 /* GlobalKeyword */:\n          nextToken();\n          return token() === 18 /* OpenBraceToken */ || token() === 79 /* Identifier */ || token() === 94 /* ExportKeyword */;\n        case 101 /* ImportKeyword */:\n          nextToken();\n          return token() === 10 /* StringLiteral */ || token() === 41 /* AsteriskToken */ || token() === 18 /* OpenBraceToken */ || tokenIsIdentifierOrKeyword(token());\n        case 94 /* ExportKeyword */:\n          let currentToken2 = nextToken();\n          if (currentToken2 === 155 /* TypeKeyword */) {\n            currentToken2 = lookAhead(nextToken);\n          }\n          if (currentToken2 === 63 /* EqualsToken */ || currentToken2 === 41 /* AsteriskToken */ || currentToken2 === 18 /* OpenBraceToken */ || currentToken2 === 89 /* DefaultKeyword */ || currentToken2 === 129 /* AsKeyword */) {\n            return true;\n          }\n          continue;\n        case 125 /* StaticKeyword */:\n          nextToken();\n          continue;\n        default:\n          return false;\n      }\n    }\n  }\n  function isStartOfDeclaration() {\n    return lookAhead(isDeclaration2);\n  }\n  function isStartOfStatement() {\n    switch (token()) {\n      case 59 /* AtToken */:\n      case 26 /* SemicolonToken */:\n      case 18 /* OpenBraceToken */:\n      case 114 /* VarKeyword */:\n      case 120 /* LetKeyword */:\n      case 99 /* FunctionKeyword */:\n      case 84 /* ClassKeyword */:\n      case 93 /* EnumKeyword */:\n      case 100 /* IfKeyword */:\n      case 91 /* DoKeyword */:\n      case 116 /* WhileKeyword */:\n      case 98 /* ForKeyword */:\n      case 87 /* ContinueKeyword */:\n      case 81 /* BreakKeyword */:\n      case 106 /* ReturnKeyword */:\n      case 117 /* WithKeyword */:\n      case 108 /* SwitchKeyword */:\n      case 110 /* ThrowKeyword */:\n      case 112 /* TryKeyword */:\n      case 88 /* DebuggerKeyword */:\n      case 83 /* CatchKeyword */:\n      case 97 /* FinallyKeyword */:\n        return true;\n      case 85 /* StructKeyword */:\n        return inEtsContext();\n      case 101 /* ImportKeyword */:\n        return isStartOfDeclaration() || lookAhead(nextTokenIsOpenParenOrLessThanOrDot);\n      case 86 /* ConstKeyword */:\n      case 94 /* ExportKeyword */:\n        return isStartOfDeclaration();\n      case 133 /* AsyncKeyword */:\n      case 137 /* DeclareKeyword */:\n      case 119 /* InterfaceKeyword */:\n      case 143 /* ModuleKeyword */:\n      case 144 /* NamespaceKeyword */:\n      case 155 /* TypeKeyword */:\n      case 161 /* GlobalKeyword */:\n        return true;\n      case 128 /* AccessorKeyword */:\n      case 124 /* PublicKeyword */:\n      case 122 /* PrivateKeyword */:\n      case 123 /* ProtectedKeyword */:\n      case 125 /* StaticKeyword */:\n      case 147 /* ReadonlyKeyword */:\n        return isStartOfDeclaration() || !lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);\n      default:\n        return isStartOfExpression();\n    }\n  }\n  function nextTokenIsBindingIdentifierOrStartOfDestructuring() {\n    nextToken();\n    return isBindingIdentifier() || token() === 18 /* OpenBraceToken */ || token() === 22 /* OpenBracketToken */;\n  }\n  function isLetDeclaration() {\n    return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring);\n  }\n  function parseStatement() {\n    switch (token()) {\n      case 26 /* SemicolonToken */:\n        return parseEmptyStatement();\n      case 18 /* OpenBraceToken */:\n        return parseBlock(false);\n      case 114 /* VarKeyword */:\n        return parseVariableStatement(getNodePos(), hasPrecedingJSDocComment(), void 0, void 0);\n      case 120 /* LetKeyword */:\n        if (isLetDeclaration()) {\n          return parseVariableStatement(getNodePos(), hasPrecedingJSDocComment(), void 0, void 0);\n        }\n        break;\n      case 99 /* FunctionKeyword */:\n        return parseFunctionDeclaration(getNodePos(), hasPrecedingJSDocComment(), void 0, void 0);\n      case 85 /* StructKeyword */:\n        if (inEtsContext()) {\n          return parseStructDeclaration(getNodePos(), hasPrecedingJSDocComment(), void 0, void 0);\n        }\n        break;\n      case 84 /* ClassKeyword */:\n        return parseClassDeclaration(getNodePos(), hasPrecedingJSDocComment(), void 0, void 0);\n      case 100 /* IfKeyword */:\n        return parseIfStatement();\n      case 91 /* DoKeyword */:\n        return parseDoStatement();\n      case 116 /* WhileKeyword */:\n        return parseWhileStatement();\n      case 98 /* ForKeyword */:\n        return parseForOrForInOrForOfStatement();\n      case 87 /* ContinueKeyword */:\n        return parseBreakOrContinueStatement(252 /* ContinueStatement */);\n      case 81 /* BreakKeyword */:\n        return parseBreakOrContinueStatement(253 /* BreakStatement */);\n      case 106 /* ReturnKeyword */:\n        return parseReturnStatement();\n      case 117 /* WithKeyword */:\n        return parseWithStatement();\n      case 108 /* SwitchKeyword */:\n        return parseSwitchStatement();\n      case 110 /* ThrowKeyword */:\n        return parseThrowStatement();\n      case 112 /* TryKeyword */:\n      case 83 /* CatchKeyword */:\n      case 97 /* FinallyKeyword */:\n        return parseTryStatement();\n      case 88 /* DebuggerKeyword */:\n        return parseDebuggerStatement();\n      case 59 /* AtToken */:\n        return parseDeclaration();\n      case 133 /* AsyncKeyword */:\n      case 119 /* InterfaceKeyword */:\n      case 155 /* TypeKeyword */:\n      case 143 /* ModuleKeyword */:\n      case 144 /* NamespaceKeyword */:\n      case 137 /* DeclareKeyword */:\n      case 86 /* ConstKeyword */:\n      case 93 /* EnumKeyword */:\n      case 94 /* ExportKeyword */:\n      case 101 /* ImportKeyword */:\n      case 122 /* PrivateKeyword */:\n      case 123 /* ProtectedKeyword */:\n      case 124 /* PublicKeyword */:\n      case 127 /* AbstractKeyword */:\n      case 128 /* AccessorKeyword */:\n      case 125 /* StaticKeyword */:\n      case 147 /* ReadonlyKeyword */:\n      case 161 /* GlobalKeyword */:\n        if (isStartOfDeclaration()) {\n          return parseDeclaration();\n        }\n        break;\n    }\n    return parseExpressionOrLabeledStatement();\n  }\n  function isDeclareModifier(modifier) {\n    return modifier.kind === 137 /* DeclareKeyword */;\n  }\n  function parseAnnotationDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    const atTokenPos = scanner2.getTokenPos();\n    parseExpected(59 /* AtToken */);\n    const interfaceTokenPos = scanner2.getTokenPos();\n    parseExpected(119 /* InterfaceKeyword */);\n    if (interfaceTokenPos - atTokenPos > 1) {\n      parseErrorAt(atTokenPos + 1, interfaceTokenPos, Diagnostics.In_annotation_declaration_any_symbols_between_and_interface_are_forbidden);\n    }\n    const name = createIdentifier3(isBindingIdentifier());\n    let members;\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      members = parseAnnotationMembers();\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      members = createMissingList();\n    }\n    const node = factory2.createAnnotationDeclaration(combineDecoratorsAndModifiers(decorators, modifiers), name, members);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseDeclaration() {\n    var _a2, _b;\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const decorators = parseDecorators();\n    if (token() === 99 /* FunctionKeyword */ || token() === 94 /* ExportKeyword */) {\n      if (hasEtsExtendDecoratorNames(decorators, sourceFileCompilerOptions)) {\n        const extendEtsComponentDecoratorNames = getEtsExtendDecoratorsComponentNames(decorators, sourceFileCompilerOptions);\n        if (extendEtsComponentDecoratorNames.length > 0) {\n          (_a2 = sourceFileCompilerOptions.ets) == null ? void 0 : _a2.extend.components.forEach(({ name, type, instance }) => {\n            if (name === last(extendEtsComponentDecoratorNames)) {\n              extendEtsComponentDeclaration = { name, type, instance };\n            }\n          });\n        }\n        setEtsExtendComponentsContext(!!extendEtsComponentDeclaration);\n      } else if (hasEtsStylesDecoratorNames(decorators, sourceFileCompilerOptions)) {\n        const stylesEtsComponentDecoratorNames = getEtsStylesDecoratorComponentNames(decorators, sourceFileCompilerOptions);\n        if (stylesEtsComponentDecoratorNames.length > 0) {\n          stylesEtsComponentDeclaration = (_b = sourceFileCompilerOptions.ets) == null ? void 0 : _b.styles.component;\n        }\n        setEtsStylesComponentsContext(!!stylesEtsComponentDeclaration);\n      } else {\n        setEtsComponentsContext(isTokenInsideBuilder(decorators, sourceFileCompilerOptions));\n      }\n    }\n    const modifiers = parseModifiers();\n    const isAmbient = some(modifiers, isDeclareModifier);\n    if (isAmbient) {\n      const node = tryReuseAmbientDeclaration(pos);\n      if (node) {\n        return node;\n      }\n      for (const m of modifiers) {\n        m.flags |= 16777216 /* Ambient */;\n      }\n      return doInsideOfContext(16777216 /* Ambient */, () => parseDeclarationWorker(pos, hasJSDoc, decorators, modifiers));\n    } else {\n      return parseDeclarationWorker(pos, hasJSDoc, decorators, modifiers);\n    }\n  }\n  function tryReuseAmbientDeclaration(pos) {\n    return doInsideOfContext(16777216 /* Ambient */, () => {\n      const node = currentNode(parsingContext, pos);\n      if (node) {\n        return consumeNode(node);\n      }\n    });\n  }\n  function parseDeclarationWorker(pos, hasJSDoc, decorators, modifiers) {\n    switch (token()) {\n      case 114 /* VarKeyword */:\n      case 120 /* LetKeyword */:\n      case 86 /* ConstKeyword */:\n        return parseVariableStatement(pos, hasJSDoc, decorators, modifiers);\n      case 99 /* FunctionKeyword */:\n        return parseFunctionDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 84 /* ClassKeyword */:\n        return parseClassDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 85 /* StructKeyword */:\n        if (inEtsContext()) {\n          return parseStructDeclaration(pos, hasJSDoc, decorators, modifiers);\n        }\n        return parseDeclarationDefault(pos, decorators, modifiers);\n      case 59 /* AtToken */:\n        if (inAllowAnnotationContext() && lookAhead(() => nextToken() === 119 /* InterfaceKeyword */)) {\n          return parseAnnotationDeclaration(pos, hasJSDoc, decorators, modifiers);\n        }\n        return parseDeclarationDefault(pos, decorators, modifiers);\n      case 119 /* InterfaceKeyword */:\n        return parseInterfaceDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 155 /* TypeKeyword */:\n        return parseTypeAliasDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 93 /* EnumKeyword */:\n        return parseEnumDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 161 /* GlobalKeyword */:\n      case 143 /* ModuleKeyword */:\n      case 144 /* NamespaceKeyword */:\n        return parseModuleDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 101 /* ImportKeyword */:\n        return parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, decorators, modifiers);\n      case 94 /* ExportKeyword */:\n        nextToken();\n        switch (token()) {\n          case 89 /* DefaultKeyword */:\n          case 63 /* EqualsToken */:\n            return parseExportAssignment(pos, hasJSDoc, decorators, modifiers);\n          case 129 /* AsKeyword */:\n            return parseNamespaceExportDeclaration(pos, hasJSDoc, decorators, modifiers);\n          default:\n            return parseExportDeclaration(pos, hasJSDoc, decorators, modifiers);\n        }\n      default:\n        return parseDeclarationDefault(pos, decorators, modifiers);\n    }\n  }\n  function parseDeclarationDefault(pos, decorators, modifiers) {\n    if (decorators || modifiers) {\n      const missing = createMissingNode(285 /* MissingDeclaration */, true, Diagnostics.Declaration_expected);\n      setTextRangePos(missing, pos);\n      missing.illegalDecorators = decorators;\n      missing.modifiers = modifiers;\n      return missing;\n    }\n    return void 0;\n  }\n  function nextTokenIsIdentifierOrStringLiteralOnSameLine() {\n    nextToken();\n    return !scanner2.hasPrecedingLineBreak() && (isIdentifier2() || token() === 10 /* StringLiteral */);\n  }\n  function parseFunctionBlockOrSemicolon(flags, diagnosticMessage) {\n    if (token() !== 18 /* OpenBraceToken */) {\n      if (flags & 4 /* Type */) {\n        parseTypeMemberSemicolon();\n        return;\n      }\n      if (canParseSemicolon()) {\n        parseSemicolon();\n        return;\n      }\n    }\n    return parseFunctionBlock(flags, diagnosticMessage);\n  }\n  function parseArrayBindingElement() {\n    const pos = getNodePos();\n    if (token() === 27 /* CommaToken */) {\n      return finishNode(factory2.createOmittedExpression(), pos);\n    }\n    const dotDotDotToken = parseOptionalToken(25 /* DotDotDotToken */);\n    const name = parseIdentifierOrPattern();\n    const initializer = parseInitializer();\n    return finishNode(factory2.createBindingElement(dotDotDotToken, void 0, name, initializer), pos);\n  }\n  function parseObjectBindingElement() {\n    const pos = getNodePos();\n    const dotDotDotToken = parseOptionalToken(25 /* DotDotDotToken */);\n    const tokenIsIdentifier = isBindingIdentifier();\n    let propertyName = parsePropertyName();\n    let name;\n    if (tokenIsIdentifier && token() !== 58 /* ColonToken */) {\n      name = propertyName;\n      propertyName = void 0;\n    } else {\n      parseExpected(58 /* ColonToken */);\n      name = parseIdentifierOrPattern();\n    }\n    const initializer = parseInitializer();\n    return finishNode(factory2.createBindingElement(dotDotDotToken, propertyName, name, initializer), pos);\n  }\n  function parseObjectBindingPattern() {\n    const pos = getNodePos();\n    parseExpected(18 /* OpenBraceToken */);\n    const elements = parseDelimitedList(ParsingContext.ObjectBindingElements, parseObjectBindingElement);\n    parseExpected(19 /* CloseBraceToken */);\n    return finishNode(factory2.createObjectBindingPattern(elements), pos);\n  }\n  function parseArrayBindingPattern() {\n    const pos = getNodePos();\n    parseExpected(22 /* OpenBracketToken */);\n    const elements = parseDelimitedList(ParsingContext.ArrayBindingElements, parseArrayBindingElement);\n    parseExpected(23 /* CloseBracketToken */);\n    return finishNode(factory2.createArrayBindingPattern(elements), pos);\n  }\n  function isBindingIdentifierOrPrivateIdentifierOrPattern() {\n    return token() === 18 /* OpenBraceToken */ || token() === 22 /* OpenBracketToken */ || token() === 80 /* PrivateIdentifier */ || isBindingIdentifier();\n  }\n  function parseIdentifierOrPattern(privateIdentifierDiagnosticMessage) {\n    if (token() === 22 /* OpenBracketToken */) {\n      return parseArrayBindingPattern();\n    }\n    if (token() === 18 /* OpenBraceToken */) {\n      return parseObjectBindingPattern();\n    }\n    return parseBindingIdentifier(privateIdentifierDiagnosticMessage);\n  }\n  function parseVariableDeclarationAllowExclamation() {\n    return parseVariableDeclaration(true);\n  }\n  function parseVariableDeclaration(allowExclamation) {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const name = parseIdentifierOrPattern(Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);\n    let exclamationToken;\n    if (allowExclamation && name.kind === 79 /* Identifier */ && token() === 53 /* ExclamationToken */ && !scanner2.hasPrecedingLineBreak()) {\n      exclamationToken = parseTokenNode();\n    }\n    const type = parseTypeAnnotation();\n    const initializer = isInOrOfKeyword(token()) ? void 0 : parseInitializer();\n    const node = factory2.createVariableDeclaration(name, exclamationToken, type, initializer);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseVariableDeclarationList(inForStatementInitializer) {\n    const pos = getNodePos();\n    let flags = 0;\n    switch (token()) {\n      case 114 /* VarKeyword */:\n        break;\n      case 120 /* LetKeyword */:\n        flags |= 1 /* Let */;\n        break;\n      case 86 /* ConstKeyword */:\n        flags |= 2 /* Const */;\n        break;\n      default:\n        Debug.fail();\n    }\n    nextToken();\n    let declarations;\n    if (token() === 164 /* OfKeyword */ && lookAhead(canFollowContextualOfKeyword)) {\n      declarations = createMissingList();\n    } else {\n      const savedDisallowIn = inDisallowInContext();\n      setDisallowInContext(inForStatementInitializer);\n      declarations = parseDelimitedList(\n        ParsingContext.VariableDeclarations,\n        inForStatementInitializer ? parseVariableDeclaration : parseVariableDeclarationAllowExclamation\n      );\n      setDisallowInContext(savedDisallowIn);\n    }\n    return finishNode(factory2.createVariableDeclarationList(declarations, flags), pos);\n  }\n  function canFollowContextualOfKeyword() {\n    return nextTokenIsIdentifier() && nextToken() === 21 /* CloseParenToken */;\n  }\n  function parseVariableStatement(pos, hasJSDoc, decorators, modifiers) {\n    const declarationList = parseVariableDeclarationList(false);\n    parseSemicolon();\n    const node = factory2.createVariableStatement(modifiers, declarationList);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseFunctionDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    const savedAwaitContext = inAwaitContext();\n    const modifierFlags = modifiersToFlags(modifiers);\n    parseExpected(99 /* FunctionKeyword */);\n    const asteriskToken = parseOptionalToken(41 /* AsteriskToken */);\n    const name = modifierFlags & 1024 /* Default */ ? parseOptionalBindingIdentifier() : parseBindingIdentifier();\n    if (name && hasEtsStylesDecoratorNames(decorators, sourceFileCompilerOptions)) {\n      fileStylesComponents.set(name.escapedText.toString(), 263 /* FunctionDeclaration */);\n    }\n    const originalUICallbackContext = inUICallbackContext();\n    setEtsBuilderContext(hasEtsBuilderDecoratorNames(decorators, sourceFileCompilerOptions));\n    setUICallbackContext(inBuilderContext());\n    const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */;\n    const isAsync = modifierFlags & 512 /* Async */ ? 2 /* Await */ : 0 /* None */;\n    const typeParameters = inEtsStylesComponentsContext() && stylesEtsComponentDeclaration ? parseEtsTypeParameters(scanner2.getStartPos()) : parseTypeParameters();\n    if (modifierFlags & 1 /* Export */)\n      setAwaitContext(true);\n    const parameters = parseParameters(isGenerator | isAsync);\n    const typeStartPos = scanner2.getStartPos();\n    const type = getFunctionDeclarationReturnType();\n    const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, Diagnostics.or_expected);\n    setEtsBuilderContext(false);\n    setUICallbackContext(originalUICallbackContext);\n    setEtsExtendComponentsContext(false);\n    extendEtsComponentDeclaration = void 0;\n    setEtsStylesComponentsContext(false);\n    stylesEtsComponentDeclaration = void 0;\n    setEtsComponentsContext(inBuildContext());\n    setAwaitContext(savedAwaitContext);\n    const node = factory2.createFunctionDeclaration(modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n    function getFunctionDeclarationReturnType() {\n      let returnType = parseReturnType(58 /* ColonToken */, false);\n      if (!returnType && extendEtsComponentDeclaration && inEtsExtendComponentsContext()) {\n        returnType = finishVirtualNode2(\n          factory2.createTypeReferenceNode(\n            finishVirtualNode2(factory2.createIdentifier(extendEtsComponentDeclaration.type), typeStartPos, typeStartPos)\n          ),\n          typeStartPos,\n          typeStartPos\n        );\n      }\n      if (!returnType && stylesEtsComponentDeclaration && inEtsStylesComponentsContext()) {\n        returnType = finishVirtualNode2(\n          factory2.createTypeReferenceNode(\n            finishVirtualNode2(factory2.createIdentifier(stylesEtsComponentDeclaration.type), typeStartPos, typeStartPos)\n          ),\n          typeStartPos,\n          typeStartPos\n        );\n      }\n      return returnType;\n    }\n  }\n  function parseConstructorName() {\n    if (token() === 136 /* ConstructorKeyword */) {\n      return parseExpected(136 /* ConstructorKeyword */);\n    }\n    if (token() === 10 /* StringLiteral */ && lookAhead(nextToken) === 20 /* OpenParenToken */) {\n      return tryParse(() => {\n        const literalNode = parseLiteralNode();\n        return literalNode.text === \"constructor\" ? literalNode : void 0;\n      });\n    }\n  }\n  function tryParseConstructorDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    return tryParse(() => {\n      if (parseConstructorName()) {\n        const typeParameters = parseTypeParameters();\n        const parameters = parseParameters(0 /* None */);\n        const type = parseReturnType(58 /* ColonToken */, false);\n        const body = parseFunctionBlockOrSemicolon(0 /* None */, Diagnostics.or_expected);\n        const node = factory2.createConstructorDeclaration(modifiers, parameters, body);\n        node.illegalDecorators = decorators;\n        node.typeParameters = typeParameters;\n        node.type = type;\n        return withJSDoc(finishNode(node, pos), hasJSDoc);\n      }\n    });\n  }\n  function isTokenInsideStructBuild(methodName) {\n    var _a2, _b, _c, _d;\n    const renderMethod = (_d = (_c = (_b = (_a2 = sourceFileCompilerOptions.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.method) == null ? void 0 : _c.find((render) => render === \"build\")) != null ? _d : \"build\";\n    if (methodName.kind === 79 /* Identifier */ && methodName.escapedText === renderMethod) {\n      return true;\n    }\n    return false;\n  }\n  function isTokenInsideStructBuilder(decorators) {\n    return isTokenInsideBuilder(decorators, sourceFileCompilerOptions);\n  }\n  function isTokenInsideStructPageTransition(methodName) {\n    var _a2, _b, _c, _d;\n    const renderMethod = (_d = (_c = (_b = (_a2 = sourceFileCompilerOptions.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.method) == null ? void 0 : _c.find((render) => render === \"pageTransition\")) != null ? _d : \"pageTransition\";\n    if (methodName.kind === 79 /* Identifier */ && methodName.escapedText === renderMethod) {\n      return true;\n    }\n    return false;\n  }\n  function parseMethodDeclaration(pos, hasJSDoc, decorators, modifiers, asteriskToken, name, questionToken, exclamationToken, diagnosticMessage) {\n    var _a2, _b, _c, _d, _e;\n    const methodName = (_a2 = getPropertyNameForPropertyNameNode(name)) == null ? void 0 : _a2.toString();\n    const orignalEtsBuildContext = inBuildContext();\n    const orignalEtsBuilderContext = inBuilderContext();\n    const orignalUICallbackContext = inUICallbackContext();\n    setEtsBuildContext(methodName === ((_d = (_c = (_b = sourceFileCompilerOptions == null ? void 0 : sourceFileCompilerOptions.ets) == null ? void 0 : _b.render) == null ? void 0 : _c.method) == null ? void 0 : _d.find((render) => render === \"build\")));\n    setEtsBuilderContext(hasEtsBuilderDecoratorNames(decorators, sourceFileCompilerOptions));\n    setUICallbackContext(inBuildContext() || inBuilderContext());\n    if (inStructContext() && hasEtsStylesDecoratorNames(decorators, sourceFileCompilerOptions)) {\n      if (methodName && currentStructName) {\n        structStylesComponents.set(methodName, { structName: currentStructName, kind: 174 /* MethodDeclaration */ });\n      }\n      const stylesEtsComponentDecoratorNames = getEtsStylesDecoratorComponentNames(decorators, sourceFileCompilerOptions);\n      if (stylesEtsComponentDecoratorNames.length > 0) {\n        stylesEtsComponentDeclaration = (_e = sourceFileCompilerOptions.ets) == null ? void 0 : _e.styles.component;\n      }\n      setEtsStylesComponentsContext(!!stylesEtsComponentDeclaration);\n    }\n    const orignalEtsComponentsContext = inEtsComponentsContext();\n    setEtsComponentsContext(inStructContext() && (isTokenInsideStructBuild(name) || isTokenInsideStructBuilder(decorators) || isTokenInsideStructPageTransition(name)));\n    const isGenerator = asteriskToken ? 1 /* Yield */ : 0 /* None */;\n    const isAsync = some(modifiers, isAsyncModifier) ? 2 /* Await */ : 0 /* None */;\n    const typeParameters = inEtsStylesComponentsContext() && stylesEtsComponentDeclaration ? parseEtsTypeParameters(pos) : parseTypeParameters();\n    const parameters = parseParameters(isGenerator | isAsync);\n    const typeStartPos = scanner2.getStartPos();\n    const type = getMethodDeclarationReturnType();\n    const body = parseFunctionBlockOrSemicolon(isGenerator | isAsync, diagnosticMessage);\n    const node = factory2.createMethodDeclaration(\n      combineDecoratorsAndModifiers(decorators, modifiers),\n      asteriskToken,\n      name,\n      questionToken,\n      typeParameters,\n      parameters,\n      type,\n      body\n    );\n    node.exclamationToken = exclamationToken;\n    setEtsBuildContext(orignalEtsBuildContext);\n    setEtsBuilderContext(orignalEtsBuilderContext);\n    setUICallbackContext(orignalUICallbackContext);\n    setEtsStylesComponentsContext(false);\n    stylesEtsComponentDeclaration = void 0;\n    setEtsComponentsContext(orignalEtsComponentsContext);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n    function getMethodDeclarationReturnType() {\n      let returnType = parseReturnType(58 /* ColonToken */, false);\n      if (!returnType && stylesEtsComponentDeclaration && inEtsStylesComponentsContext()) {\n        returnType = finishVirtualNode2(\n          factory2.createTypeReferenceNode(\n            finishVirtualNode2(factory2.createIdentifier(stylesEtsComponentDeclaration.type), typeStartPos, typeStartPos)\n          ),\n          typeStartPos,\n          typeStartPos\n        );\n      }\n      return returnType;\n    }\n  }\n  function parseAnnotationPropertyDeclaration(pos, hasJSDoc, name) {\n    const type = parseTypeAnnotation();\n    const initializer = doOutsideOfContext(8192 /* YieldContext */ | 32768 /* AwaitContext */ | 4096 /* DisallowInContext */, parseInitializer);\n    parseSemicolonAfterPropertyName(name, type, initializer);\n    const node = factory2.createAnnotationPropertyDeclaration(\n      name,\n      type,\n      initializer\n    );\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parsePropertyDeclaration(pos, hasJSDoc, decorators, modifiers, name, questionToken) {\n    const exclamationToken = !questionToken && !scanner2.hasPrecedingLineBreak() ? parseOptionalToken(53 /* ExclamationToken */) : void 0;\n    const type = parseTypeAnnotation();\n    const initializer = doOutsideOfContext(8192 /* YieldContext */ | 32768 /* AwaitContext */ | 4096 /* DisallowInContext */, parseInitializer);\n    parseSemicolonAfterPropertyName(name, type, initializer);\n    const node = factory2.createPropertyDeclaration(\n      combineDecoratorsAndModifiers(decorators, modifiers),\n      name,\n      questionToken || exclamationToken,\n      type,\n      initializer\n    );\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parsePropertyOrMethodDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    const asteriskToken = parseOptionalToken(41 /* AsteriskToken */);\n    const name = parsePropertyName();\n    const questionToken = parseOptionalToken(57 /* QuestionToken */);\n    if (asteriskToken || token() === 20 /* OpenParenToken */ || token() === 29 /* LessThanToken */) {\n      return parseMethodDeclaration(pos, hasJSDoc, decorators, modifiers, asteriskToken, name, questionToken, void 0, Diagnostics.or_expected);\n    }\n    return parsePropertyDeclaration(pos, hasJSDoc, decorators, modifiers, name, questionToken);\n  }\n  function parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, kind, flags) {\n    const name = parsePropertyName();\n    const typeParameters = parseTypeParameters();\n    const parameters = parseParameters(0 /* None */);\n    const type = parseReturnType(58 /* ColonToken */, false);\n    const body = parseFunctionBlockOrSemicolon(flags);\n    const node = kind === 177 /* GetAccessor */ ? factory2.createGetAccessorDeclaration(combineDecoratorsAndModifiers(decorators, modifiers), name, parameters, type, body) : factory2.createSetAccessorDeclaration(combineDecoratorsAndModifiers(decorators, modifiers), name, parameters, body);\n    node.typeParameters = typeParameters;\n    if (isSetAccessorDeclaration(node))\n      node.type = type;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function isAnnotationMemberStart() {\n    let idToken;\n    if (token() === 59 /* AtToken */) {\n      return false;\n    }\n    if (isModifierKind(token())) {\n      return false;\n    }\n    if (token() === 41 /* AsteriskToken */) {\n      return false;\n    }\n    if (isLiteralPropertyName()) {\n      idToken = token();\n      nextToken();\n    }\n    if (token() === 22 /* OpenBracketToken */) {\n      return false;\n    }\n    if (idToken !== void 0) {\n      if (isKeyword(idToken)) {\n        return false;\n      }\n      switch (token()) {\n        case 58 /* ColonToken */:\n        case 63 /* EqualsToken */:\n          return true;\n        default:\n          return canParseSemicolon();\n      }\n    }\n    return false;\n  }\n  function isClassMemberStart() {\n    let idToken;\n    if (token() === 59 /* AtToken */) {\n      if (inAllowAnnotationContext() && lookAhead(() => nextToken() === 119 /* InterfaceKeyword */)) {\n        return false;\n      }\n      return true;\n    }\n    while (isModifierKind(token())) {\n      idToken = token();\n      if (isClassMemberModifier(idToken)) {\n        return true;\n      }\n      nextToken();\n    }\n    if (token() === 41 /* AsteriskToken */) {\n      return true;\n    }\n    if (isLiteralPropertyName()) {\n      idToken = token();\n      nextToken();\n    }\n    if (token() === 22 /* OpenBracketToken */) {\n      return true;\n    }\n    if (idToken !== void 0) {\n      if (!isKeyword(idToken) || idToken === 152 /* SetKeyword */ || idToken === 138 /* GetKeyword */) {\n        return true;\n      }\n      switch (token()) {\n        case 20 /* OpenParenToken */:\n        case 29 /* LessThanToken */:\n        case 53 /* ExclamationToken */:\n        case 58 /* ColonToken */:\n        case 63 /* EqualsToken */:\n        case 57 /* QuestionToken */:\n          return true;\n        default:\n          return canParseSemicolon();\n      }\n    }\n    return false;\n  }\n  function parseClassStaticBlockDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    parseExpectedToken(125 /* StaticKeyword */);\n    const body = parseClassStaticBlockBody();\n    const node = withJSDoc(finishNode(factory2.createClassStaticBlockDeclaration(body), pos), hasJSDoc);\n    node.illegalDecorators = decorators;\n    node.modifiers = modifiers;\n    return node;\n  }\n  function parseClassStaticBlockBody() {\n    const savedYieldContext = inYieldContext();\n    const savedAwaitContext = inAwaitContext();\n    setYieldContext(false);\n    setAwaitContext(true);\n    const body = parseBlock(false);\n    setYieldContext(savedYieldContext);\n    setAwaitContext(savedAwaitContext);\n    return body;\n  }\n  function parseDecoratorExpression() {\n    if (inAwaitContext() && token() === 134 /* AwaitKeyword */) {\n      const pos = getNodePos();\n      const awaitExpression = parseIdentifier(Diagnostics.Expression_expected);\n      nextToken();\n      const memberExpression = parseMemberExpressionRest(pos, awaitExpression, true);\n      return parseCallExpressionRest(pos, memberExpression);\n    }\n    return parseLeftHandSideExpressionOrHigher();\n  }\n  function tryParseDecorator() {\n    const pos = getNodePos();\n    if (inAllowAnnotationContext() && token() === 59 /* AtToken */ && lookAhead(() => nextToken() === 119 /* InterfaceKeyword */)) {\n      return void 0;\n    }\n    if (!parseOptional(59 /* AtToken */)) {\n      return void 0;\n    }\n    const expression = doInDecoratorContext(parseDecoratorExpression);\n    return finishNode(factory2.createDecorator(expression), pos);\n  }\n  function parseDecorators() {\n    const pos = getNodePos();\n    let list, decorator;\n    while (decorator = tryParseDecorator()) {\n      list = append(list, decorator);\n    }\n    return list && createNodeArray2(list, pos);\n  }\n  function tryParseModifier(permitInvalidConstAsModifier, stopOnStartOfClassStaticBlock, hasSeenStaticModifier) {\n    const pos = getNodePos();\n    const kind = token();\n    if (token() === 86 /* ConstKeyword */ && permitInvalidConstAsModifier) {\n      if (!tryParse(nextTokenIsOnSameLineAndCanFollowModifier)) {\n        return void 0;\n      }\n    } else if (stopOnStartOfClassStaticBlock && token() === 125 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) {\n      return void 0;\n    } else if (hasSeenStaticModifier && token() === 125 /* StaticKeyword */) {\n      return void 0;\n    } else {\n      if (!parseAnyContextualModifier()) {\n        return void 0;\n      }\n    }\n    return finishNode(factory2.createToken(kind), pos);\n  }\n  function combineDecoratorsAndModifiers(decorators, modifiers) {\n    if (!decorators)\n      return modifiers;\n    if (!modifiers)\n      return decorators;\n    const decoratorsAndModifiers = factory2.createNodeArray(concatenate(decorators, modifiers));\n    setTextRangePosEnd(decoratorsAndModifiers, decorators.pos, modifiers.end);\n    return decoratorsAndModifiers;\n  }\n  function hasParamAndNoOnceDecorator(decorators) {\n    let hasParamDecorator = false;\n    let hasOnceDecorator = false;\n    decorators == null ? void 0 : decorators.forEach((decorator) => {\n      if (!isIdentifier(decorator.expression)) {\n        return;\n      }\n      if (decorator.expression.escapedText === \"Param\") {\n        hasParamDecorator = true;\n      } else if (decorator.expression.escapedText === \"Once\") {\n        hasOnceDecorator = true;\n      }\n    });\n    return hasParamDecorator && !hasOnceDecorator;\n  }\n  function hasEnvDecorator(decorators) {\n    let hasEnvDecorator2 = false;\n    decorators == null ? void 0 : decorators.forEach((decorator) => {\n      if (!isCallExpression(decorator.expression) || !isIdentifier(decorator.expression.expression)) {\n        return;\n      }\n      if (decorator.expression.expression.escapedText === \"Env\") {\n        hasEnvDecorator2 = true;\n      }\n    });\n    return hasEnvDecorator2;\n  }\n  function parseModifiers(permitInvalidConstAsModifier, stopOnStartOfClassStaticBlock, shouldAddReadonly) {\n    const pos = getNodePos();\n    let list, modifier, hasSeenStatic = false;\n    let hasReadonly = false;\n    while (modifier = tryParseModifier(permitInvalidConstAsModifier, stopOnStartOfClassStaticBlock, hasSeenStatic)) {\n      if (modifier.kind === 125 /* StaticKeyword */)\n        hasSeenStatic = true;\n      if (modifier.kind === 147 /* ReadonlyKeyword */) {\n        hasReadonly = true;\n      }\n      list = append(list, modifier);\n    }\n    if (shouldAddReadonly && !hasReadonly) {\n      const readonlyModifier = list ? finishVirtualNode2(factory2.createToken(147 /* ReadonlyKeyword */)) : finishVirtualNode2(factory2.createToken(147 /* ReadonlyKeyword */), pos, scanner2.getTokenPos());\n      list = append(list, readonlyModifier);\n    }\n    return list && createNodeArray2(list, pos);\n  }\n  function parseModifiersForArrowFunction() {\n    let modifiers;\n    if (token() === 133 /* AsyncKeyword */) {\n      const pos = getNodePos();\n      nextToken();\n      const modifier = finishNode(factory2.createToken(133 /* AsyncKeyword */), pos);\n      modifiers = createNodeArray2([modifier], pos);\n    }\n    return modifiers;\n  }\n  function parseClassElement() {\n    const pos = getNodePos();\n    if (token() === 26 /* SemicolonToken */) {\n      nextToken();\n      return finishNode(factory2.createSemicolonClassElement(), pos);\n    }\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const decorators = parseDecorators();\n    const shouldAddReadonly = inStructContext() && (hasParamAndNoOnceDecorator(decorators) || hasEnvDecorator(decorators));\n    const modifiers = parseModifiers(true, true, shouldAddReadonly);\n    let readonlyEndPos = void 0;\n    if ((modifiers == null ? void 0 : modifiers.length) === 1 && modifiers[0].kind === 147 /* ReadonlyKeyword */) {\n      readonlyEndPos = modifiers[0].end;\n    }\n    const needAddReadonlyBeforeNextToken = shouldAddReadonly && readonlyEndPos !== void 0;\n    if (token() === 125 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) {\n      return parseClassStaticBlockDeclaration(pos, hasJSDoc, decorators, modifiers);\n    }\n    if (parseContextualModifier(138 /* GetKeyword */)) {\n      return parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, 177 /* GetAccessor */, 0 /* None */);\n    }\n    if (parseContextualModifier(152 /* SetKeyword */)) {\n      return parseAccessorDeclaration(pos, hasJSDoc, decorators, modifiers, 178 /* SetAccessor */, 0 /* None */);\n    }\n    if (token() === 136 /* ConstructorKeyword */ || token() === 10 /* StringLiteral */) {\n      const constructorDeclaration = tryParseConstructorDeclaration(pos, hasJSDoc, decorators, modifiers);\n      if (constructorDeclaration) {\n        return constructorDeclaration;\n      }\n    }\n    if (isIndexSignature()) {\n      return parseIndexSignatureDeclaration(pos, hasJSDoc, decorators, modifiers);\n    }\n    if (tokenIsIdentifierOrKeyword(token()) || token() === 10 /* StringLiteral */ || token() === 8 /* NumericLiteral */ || token() === 41 /* AsteriskToken */ || token() === 22 /* OpenBracketToken */) {\n      const isAmbient = some(modifiers, isDeclareModifier);\n      if (isAmbient) {\n        for (const m of modifiers) {\n          m.flags |= 16777216 /* Ambient */;\n        }\n        return doInsideOfContext(16777216 /* Ambient */, () => parsePropertyOrMethodDeclaration(pos, hasJSDoc, decorators, modifiers));\n      } else {\n        let propOrMethodDeclaration = parsePropertyOrMethodDeclaration(pos, hasJSDoc, decorators, modifiers);\n        if (isPropertyDeclaration(propOrMethodDeclaration) && needAddReadonlyBeforeNextToken) {\n          propOrMethodDeclaration.name.pos = readonlyEndPos;\n        }\n        return propOrMethodDeclaration;\n      }\n    }\n    if (decorators || modifiers) {\n      const name = createMissingNode(79 /* Identifier */, true, Diagnostics.Declaration_expected);\n      return parsePropertyDeclaration(pos, hasJSDoc, decorators, modifiers, name, void 0);\n    }\n    return Debug.fail(\"Should not have attempted to parse class member declaration.\");\n  }\n  function parseAnnotationElement() {\n    const pos = getNodePos();\n    if (token() === 26 /* SemicolonToken */) {\n      parseErrorAt(pos, pos, Diagnostics.Unexpected_keyword_or_identifier);\n    }\n    const hasJSDoc = hasPrecedingJSDocComment();\n    if (token() === 125 /* StaticKeyword */ && lookAhead(nextTokenIsOpenBrace)) {\n      return createMissingNode(\n        172 /* AnnotationPropertyDeclaration */,\n        true,\n        Diagnostics.Unexpected_keyword_or_identifier\n      );\n    }\n    if (parseContextualModifier(138 /* GetKeyword */)) {\n      return createMissingNode(\n        172 /* AnnotationPropertyDeclaration */,\n        true,\n        Diagnostics.Unexpected_keyword_or_identifier\n      );\n    }\n    if (parseContextualModifier(152 /* SetKeyword */)) {\n      return createMissingNode(\n        172 /* AnnotationPropertyDeclaration */,\n        true,\n        Diagnostics.Unexpected_keyword_or_identifier\n      );\n    }\n    if (token() === 136 /* ConstructorKeyword */ || token() === 10 /* StringLiteral */) {\n      return createMissingNode(\n        172 /* AnnotationPropertyDeclaration */,\n        true,\n        Diagnostics.Unexpected_keyword_or_identifier\n      );\n    }\n    if (isIndexSignature()) {\n      return createMissingNode(\n        172 /* AnnotationPropertyDeclaration */,\n        true,\n        Diagnostics.Unexpected_keyword_or_identifier\n      );\n    }\n    if (tokenIsIdentifierOrKeyword(token())) {\n      const name = parsePropertyName();\n      return parseAnnotationPropertyDeclaration(pos, hasJSDoc, name);\n    }\n    return Debug.fail(\"Should not have attempted to parse annotation member declaration.\");\n  }\n  function parseClassExpression() {\n    return parseClassDeclarationOrExpression(getNodePos(), hasPrecedingJSDocComment(), void 0, void 0, 232 /* ClassExpression */);\n  }\n  function parseClassDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    return parseClassDeclarationOrExpression(pos, hasJSDoc, decorators, modifiers, 264 /* ClassDeclaration */);\n  }\n  function parseStructDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    return parseStructDeclarationOrExpression(pos, hasJSDoc, decorators, modifiers);\n  }\n  function parseClassDeclarationOrExpression(pos, hasJSDoc, decorators, modifiers, kind) {\n    const savedAwaitContext = inAwaitContext();\n    parseExpected(84 /* ClassKeyword */);\n    const name = parseNameOfClassDeclarationOrExpression();\n    const typeParameters = parseTypeParameters();\n    if (some(modifiers, isExportModifier))\n      setAwaitContext(true);\n    const heritageClauses = parseHeritageClauses();\n    let members;\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      members = parseClassMembers();\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      members = createMissingList();\n    }\n    setAwaitContext(savedAwaitContext);\n    const node = kind === 264 /* ClassDeclaration */ ? factory2.createClassDeclaration(combineDecoratorsAndModifiers(decorators, modifiers), name, typeParameters, heritageClauses, members) : factory2.createClassExpression(combineDecoratorsAndModifiers(decorators, modifiers), name, typeParameters, heritageClauses, members);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseStructDeclarationOrExpression(pos, hasJSDoc, decorators, modifiers) {\n    var _a2;\n    const savedAwaitContext = inAwaitContext();\n    parseExpected(85 /* StructKeyword */);\n    setStructContext(true);\n    const name = parseNameOfClassDeclarationOrExpression();\n    const typeParameters = parseTypeParameters();\n    if (some(modifiers, isExportModifier))\n      setAwaitContext(true);\n    let heritageClauses = parseHeritageClauses();\n    const customComponent = (_a2 = sourceFileCompilerOptions.ets) == null ? void 0 : _a2.customComponent;\n    if (!heritageClauses && customComponent) {\n      heritageClauses = createVirtualHeritageClauses(customComponent);\n    }\n    let members;\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      members = parseStructMembers(pos);\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      members = createMissingList();\n    }\n    setAwaitContext(savedAwaitContext);\n    const node = factory2.createStructDeclaration(combineDecoratorsAndModifiers(decorators, modifiers), name, typeParameters, heritageClauses, members);\n    structStylesComponents.clear();\n    setStructContext(false);\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function createVirtualHeritageClauses(customComponent) {\n    const curPos = getNodePos();\n    const clause = factory2.createHeritageClause(\n      95 /* ExtendsKeyword */,\n      createNodeArray2([finishNode(factory2.createExpressionWithTypeArguments(\n        finishNode(factory2.createIdentifier(customComponent), curPos, void 0, true),\n        void 0\n      ), curPos)], curPos, void 0, false)\n    );\n    return createNodeArray2([finishNode(clause, curPos, void 0, true)], curPos, void 0, false);\n  }\n  function parseNameOfClassDeclarationOrExpression() {\n    return isBindingIdentifier() && !isImplementsClause() ? createIdentifier3(isBindingIdentifier()) : void 0;\n  }\n  function isImplementsClause() {\n    return token() === 118 /* ImplementsKeyword */ && lookAhead(nextTokenIsIdentifierOrKeyword);\n  }\n  function parseHeritageClauses() {\n    if (isHeritageClause2()) {\n      return parseList(ParsingContext.HeritageClauses, parseHeritageClause);\n    }\n    return void 0;\n  }\n  function parseHeritageClause() {\n    const pos = getNodePos();\n    const tok = token();\n    Debug.assert(tok === 95 /* ExtendsKeyword */ || tok === 118 /* ImplementsKeyword */);\n    nextToken();\n    const types = parseDelimitedList(ParsingContext.HeritageClauseElement, parseExpressionWithTypeArguments);\n    return finishNode(factory2.createHeritageClause(tok, types), pos);\n  }\n  function parseExpressionWithTypeArguments() {\n    const pos = getNodePos();\n    const expression = parseLeftHandSideExpressionOrHigher();\n    if (expression.kind === 234 /* ExpressionWithTypeArguments */) {\n      return expression;\n    }\n    const typeArguments = tryParseTypeArguments();\n    return finishNode(factory2.createExpressionWithTypeArguments(expression, typeArguments), pos);\n  }\n  function tryParseTypeArguments() {\n    return token() === 29 /* LessThanToken */ ? parseBracketedList(ParsingContext.TypeArguments, parseType, 29 /* LessThanToken */, 31 /* GreaterThanToken */) : void 0;\n  }\n  function isHeritageClause2() {\n    return token() === 95 /* ExtendsKeyword */ || token() === 118 /* ImplementsKeyword */;\n  }\n  function parseClassMembers() {\n    return parseList(ParsingContext.ClassMembers, parseClassElement);\n  }\n  function parseAnnotationMembers() {\n    return parseList(ParsingContext.AnnotationMembers, parseAnnotationElement);\n  }\n  function parseStructMembers(pos) {\n    const structMembers = parseList(ParsingContext.ClassMembers, parseClassElement);\n    const virtualStructMembers = [];\n    const virtualParameterProperties = [];\n    structMembers.forEach((member) => {\n      virtualStructMembers.push(member);\n      if (member.kind === 171 /* PropertyDeclaration */) {\n        const property = member;\n        virtualParameterProperties.push(\n          finishVirtualNode2(\n            factory2.createPropertySignature(getModifiers(property), property.name, factory2.createToken(57 /* QuestionToken */), property.type)\n          )\n        );\n      }\n    });\n    const parameters = [];\n    if (virtualParameterProperties.length) {\n      const type = finishVirtualNode2(factory2.createTypeLiteralNode(createNodeArray2(virtualParameterProperties, 0, 0)));\n      parameters.push(\n        finishVirtualNode2(\n          factory2.createParameterDeclaration(\n            void 0,\n            void 0,\n            finishVirtualNode2(factory2.createIdentifier(\"value\")),\n            factory2.createToken(57 /* QuestionToken */),\n            type\n          )\n        )\n      );\n    }\n    parameters.push(\n      finishVirtualNode2(\n        factory2.createParameterDeclaration(\n          void 0,\n          void 0,\n          finishVirtualNode2(factory2.createIdentifier(\"##storage\")),\n          factory2.createToken(57 /* QuestionToken */),\n          finishVirtualNode2(factory2.createTypeReferenceNode(finishVirtualNode2(factory2.createIdentifier(\"LocalStorage\"))))\n        )\n      )\n    );\n    const emptyBody = finishVirtualNode2(factory2.createBlock(createNodeArray2([], 0, 0)));\n    const virtualConstructor = factory2.createConstructorDeclaration(void 0, createNodeArray2(parameters, 0, 0), emptyBody);\n    virtualStructMembers.unshift(finishVirtualNode2(virtualConstructor, pos, pos));\n    return createNodeArray2(virtualStructMembers, structMembers.pos);\n  }\n  function finishVirtualNode2(node, start = 0, end = 0) {\n    return finishNode(node, start, end, true);\n  }\n  function parseInterfaceDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    parseExpected(119 /* InterfaceKeyword */);\n    const name = parseIdentifier();\n    const typeParameters = parseTypeParameters();\n    const heritageClauses = parseHeritageClauses();\n    const members = parseObjectTypeMembers();\n    const node = factory2.createInterfaceDeclaration(modifiers, name, typeParameters, heritageClauses, members);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseTypeAliasDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    parseExpected(155 /* TypeKeyword */);\n    const name = parseIdentifier();\n    const typeParameters = parseTypeParameters();\n    parseExpected(63 /* EqualsToken */);\n    const type = token() === 140 /* IntrinsicKeyword */ && tryParse(parseKeywordAndNoDot) || parseType();\n    parseSemicolon();\n    const node = factory2.createTypeAliasDeclaration(modifiers, name, typeParameters, type);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseEnumMember() {\n    const pos = getNodePos();\n    const hasJSDoc = hasPrecedingJSDocComment();\n    const name = parsePropertyName();\n    const initializer = allowInAnd(parseInitializer);\n    return withJSDoc(finishNode(factory2.createEnumMember(name, initializer), pos), hasJSDoc);\n  }\n  function parseEnumDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    parseExpected(93 /* EnumKeyword */);\n    const name = parseIdentifier();\n    let members;\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      members = doOutsideOfYieldAndAwaitContext(() => parseDelimitedList(ParsingContext.EnumMembers, parseEnumMember));\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      members = createMissingList();\n    }\n    const node = factory2.createEnumDeclaration(modifiers, name, members);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseModuleBlock() {\n    const pos = getNodePos();\n    let statements;\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      statements = parseList(ParsingContext.BlockStatements, parseStatement);\n      parseExpected(19 /* CloseBraceToken */);\n    } else {\n      statements = createMissingList();\n    }\n    return finishNode(factory2.createModuleBlock(statements), pos);\n  }\n  function parseModuleOrNamespaceDeclaration(pos, hasJSDoc, decorators, modifiers, flags) {\n    const namespaceFlag = flags & 16 /* Namespace */;\n    const name = parseIdentifier();\n    const body = parseOptional(24 /* DotToken */) ? parseModuleOrNamespaceDeclaration(getNodePos(), false, void 0, void 0, 4 /* NestedNamespace */ | namespaceFlag) : parseModuleBlock();\n    const node = factory2.createModuleDeclaration(modifiers, name, body, flags);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseAmbientExternalModuleDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    let flags = 0;\n    let name;\n    if (token() === 161 /* GlobalKeyword */) {\n      name = parseIdentifier();\n      flags |= 1024 /* GlobalAugmentation */;\n    } else {\n      name = parseLiteralNode();\n      name.text = internIdentifier(name.text);\n    }\n    let body;\n    if (token() === 18 /* OpenBraceToken */) {\n      body = parseModuleBlock();\n    } else {\n      parseSemicolon();\n    }\n    const node = factory2.createModuleDeclaration(modifiers, name, body, flags);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseModuleDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    let flags = 0;\n    if (token() === 161 /* GlobalKeyword */) {\n      return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, decorators, modifiers);\n    } else if (parseOptional(144 /* NamespaceKeyword */)) {\n      flags |= 16 /* Namespace */;\n    } else {\n      parseExpected(143 /* ModuleKeyword */);\n      if (token() === 10 /* StringLiteral */) {\n        return parseAmbientExternalModuleDeclaration(pos, hasJSDoc, decorators, modifiers);\n      }\n    }\n    return parseModuleOrNamespaceDeclaration(pos, hasJSDoc, decorators, modifiers, flags);\n  }\n  function isExternalModuleReference2() {\n    return token() === 148 /* RequireKeyword */ && lookAhead(nextTokenIsOpenParen);\n  }\n  function nextTokenIsOpenParen() {\n    return nextToken() === 20 /* OpenParenToken */;\n  }\n  function nextTokenIsOpenBrace() {\n    return nextToken() === 18 /* OpenBraceToken */;\n  }\n  function nextTokenIsSlash() {\n    return nextToken() === 43 /* SlashToken */;\n  }\n  function parseNamespaceExportDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    parseExpected(129 /* AsKeyword */);\n    parseExpected(144 /* NamespaceKeyword */);\n    const name = parseIdentifier();\n    parseSemicolon();\n    const node = factory2.createNamespaceExportDeclaration(name);\n    node.illegalDecorators = decorators;\n    node.modifiers = modifiers;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseImportDeclarationOrImportEqualsDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    parseExpected(101 /* ImportKeyword */);\n    const afterImportPos = scanner2.getStartPos();\n    let identifier;\n    if (isIdentifier2()) {\n      identifier = parseIdentifier();\n    }\n    let isTypeOnly = false;\n    let isLazy = false;\n    if (token() !== 160 /* FromKeyword */ && (identifier == null ? void 0 : identifier.escapedText) === \"type\" && (isIdentifier2() || tokenAfterImportDefinitelyProducesImportDeclaration())) {\n      isTypeOnly = true;\n      identifier = isIdentifier2() ? parseIdentifier() : void 0;\n    } else if (isSetLazy(identifier)) {\n      isLazy = true;\n      identifier = isIdentifier2() ? parseIdentifier() : void 0;\n    }\n    if (identifier && !tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration()) {\n      return parseImportEqualsDeclaration(pos, hasJSDoc, decorators, modifiers, identifier, isTypeOnly);\n    }\n    let importClause;\n    if (identifier || token() === 41 /* AsteriskToken */ || token() === 18 /* OpenBraceToken */) {\n      importClause = parseImportClause(identifier, afterImportPos, isTypeOnly);\n      importClause.isLazy = isLazy;\n      parseExpected(160 /* FromKeyword */);\n    }\n    const moduleSpecifier = parseModuleSpecifier();\n    let assertClause;\n    if (token() === 131 /* AssertKeyword */ && !scanner2.hasPrecedingLineBreak()) {\n      assertClause = parseAssertClause();\n    }\n    parseSemicolon();\n    const node = factory2.createImportDeclaration(modifiers, importClause, moduleSpecifier, assertClause);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function isSetLazy(identifier) {\n    return (identifier == null ? void 0 : identifier.escapedText) === \"lazy\" && (token() === 18 /* OpenBraceToken */ || isIdentifier2() && lookAhead(() => nextToken() === 160 /* FromKeyword */) || isIdentifier2() && lookAhead(() => nextToken() === 27 /* CommaToken */ && nextToken() === 18 /* OpenBraceToken */));\n  }\n  function parseAssertEntry() {\n    const pos = getNodePos();\n    const name = tokenIsIdentifierOrKeyword(token()) ? parseIdentifierName() : parseLiteralLikeNode(10 /* StringLiteral */);\n    parseExpected(58 /* ColonToken */);\n    const value = parseAssignmentExpressionOrHigher(true);\n    return finishNode(factory2.createAssertEntry(name, value), pos);\n  }\n  function parseAssertClause(skipAssertKeyword) {\n    const pos = getNodePos();\n    if (!skipAssertKeyword) {\n      parseExpected(131 /* AssertKeyword */);\n    }\n    const openBracePosition = scanner2.getTokenPos();\n    if (parseExpected(18 /* OpenBraceToken */)) {\n      const multiLine = scanner2.hasPrecedingLineBreak();\n      const elements = parseDelimitedList(ParsingContext.AssertEntries, parseAssertEntry, true);\n      if (!parseExpected(19 /* CloseBraceToken */)) {\n        const lastError = lastOrUndefined(parseDiagnostics);\n        if (lastError && lastError.code === Diagnostics._0_expected.code) {\n          addRelatedInfo(\n            lastError,\n            createDetachedDiagnostic(fileName, openBracePosition, 1, Diagnostics.The_parser_expected_to_find_a_1_to_match_the_0_token_here, \"{\", \"}\")\n          );\n        }\n      }\n      return finishNode(factory2.createAssertClause(elements, multiLine), pos);\n    } else {\n      const elements = createNodeArray2([], getNodePos(), void 0, false);\n      return finishNode(factory2.createAssertClause(elements, false), pos);\n    }\n  }\n  function tokenAfterImportDefinitelyProducesImportDeclaration() {\n    return token() === 41 /* AsteriskToken */ || token() === 18 /* OpenBraceToken */;\n  }\n  function tokenAfterImportedIdentifierDefinitelyProducesImportDeclaration() {\n    return token() === 27 /* CommaToken */ || token() === 160 /* FromKeyword */;\n  }\n  function parseImportEqualsDeclaration(pos, hasJSDoc, decorators, modifiers, identifier, isTypeOnly) {\n    parseExpected(63 /* EqualsToken */);\n    const moduleReference = parseModuleReference();\n    parseSemicolon();\n    const node = factory2.createImportEqualsDeclaration(modifiers, isTypeOnly, identifier, moduleReference);\n    node.illegalDecorators = decorators;\n    const finished = withJSDoc(finishNode(node, pos), hasJSDoc);\n    return finished;\n  }\n  function parseImportClause(identifier, pos, isTypeOnly) {\n    let namedBindings;\n    if (!identifier || parseOptional(27 /* CommaToken */)) {\n      namedBindings = token() === 41 /* AsteriskToken */ ? parseNamespaceImport() : parseNamedImportsOrExports(278 /* NamedImports */);\n    }\n    return finishNode(factory2.createImportClause(isTypeOnly, identifier, namedBindings), pos);\n  }\n  function parseModuleReference() {\n    return isExternalModuleReference2() ? parseExternalModuleReference() : parseEntityName(false);\n  }\n  function parseExternalModuleReference() {\n    const pos = getNodePos();\n    parseExpected(148 /* RequireKeyword */);\n    parseExpected(20 /* OpenParenToken */);\n    const expression = parseModuleSpecifier();\n    parseExpected(21 /* CloseParenToken */);\n    return finishNode(factory2.createExternalModuleReference(expression), pos);\n  }\n  function parseModuleSpecifier() {\n    if (token() === 10 /* StringLiteral */) {\n      const result = parseLiteralNode();\n      result.text = internIdentifier(result.text);\n      return result;\n    } else {\n      return parseExpression();\n    }\n  }\n  function parseNamespaceImport() {\n    const pos = getNodePos();\n    parseExpected(41 /* AsteriskToken */);\n    parseExpected(129 /* AsKeyword */);\n    const name = parseIdentifier();\n    return finishNode(factory2.createNamespaceImport(name), pos);\n  }\n  function parseNamedImportsOrExports(kind) {\n    const pos = getNodePos();\n    const node = kind === 278 /* NamedImports */ ? factory2.createNamedImports(parseBracketedList(ParsingContext.ImportOrExportSpecifiers, parseImportSpecifier, 18 /* OpenBraceToken */, 19 /* CloseBraceToken */)) : factory2.createNamedExports(parseBracketedList(ParsingContext.ImportOrExportSpecifiers, parseExportSpecifier, 18 /* OpenBraceToken */, 19 /* CloseBraceToken */));\n    return finishNode(node, pos);\n  }\n  function parseExportSpecifier() {\n    const hasJSDoc = hasPrecedingJSDocComment();\n    return withJSDoc(parseImportOrExportSpecifier(284 /* ExportSpecifier */), hasJSDoc);\n  }\n  function parseImportSpecifier() {\n    return parseImportOrExportSpecifier(279 /* ImportSpecifier */);\n  }\n  function parseImportOrExportSpecifier(kind) {\n    const pos = getNodePos();\n    let checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2();\n    let checkIdentifierStart = scanner2.getTokenPos();\n    let checkIdentifierEnd = scanner2.getTextPos();\n    let isTypeOnly = false;\n    let propertyName;\n    let canParseAsKeyword = true;\n    let name = parseIdentifierName();\n    if (name.escapedText === \"type\") {\n      if (token() === 129 /* AsKeyword */) {\n        const firstAs = parseIdentifierName();\n        if (token() === 129 /* AsKeyword */) {\n          const secondAs = parseIdentifierName();\n          if (tokenIsIdentifierOrKeyword(token())) {\n            isTypeOnly = true;\n            propertyName = firstAs;\n            name = parseNameWithKeywordCheck();\n            canParseAsKeyword = false;\n          } else {\n            propertyName = name;\n            name = secondAs;\n            canParseAsKeyword = false;\n          }\n        } else if (tokenIsIdentifierOrKeyword(token())) {\n          propertyName = name;\n          canParseAsKeyword = false;\n          name = parseNameWithKeywordCheck();\n        } else {\n          isTypeOnly = true;\n          name = firstAs;\n        }\n      } else if (tokenIsIdentifierOrKeyword(token())) {\n        isTypeOnly = true;\n        name = parseNameWithKeywordCheck();\n      }\n    }\n    if (canParseAsKeyword && token() === 129 /* AsKeyword */) {\n      propertyName = name;\n      parseExpected(129 /* AsKeyword */);\n      name = parseNameWithKeywordCheck();\n    }\n    if (kind === 279 /* ImportSpecifier */ && checkIdentifierIsKeyword) {\n      parseErrorAt(checkIdentifierStart, checkIdentifierEnd, Diagnostics.Identifier_expected);\n    }\n    const node = kind === 279 /* ImportSpecifier */ ? factory2.createImportSpecifier(isTypeOnly, propertyName, name) : factory2.createExportSpecifier(isTypeOnly, propertyName, name);\n    return finishNode(node, pos);\n    function parseNameWithKeywordCheck() {\n      checkIdentifierIsKeyword = isKeyword(token()) && !isIdentifier2();\n      checkIdentifierStart = scanner2.getTokenPos();\n      checkIdentifierEnd = scanner2.getTextPos();\n      return parseIdentifierName();\n    }\n  }\n  function parseNamespaceExport(pos) {\n    return finishNode(factory2.createNamespaceExport(parseIdentifierName()), pos);\n  }\n  function parseExportDeclaration(pos, hasJSDoc, decorators, modifiers) {\n    const savedAwaitContext = inAwaitContext();\n    setAwaitContext(true);\n    let exportClause;\n    let moduleSpecifier;\n    let assertClause;\n    const isTypeOnly = parseOptional(155 /* TypeKeyword */);\n    const namespaceExportPos = getNodePos();\n    if (parseOptional(41 /* AsteriskToken */)) {\n      if (parseOptional(129 /* AsKeyword */)) {\n        exportClause = parseNamespaceExport(namespaceExportPos);\n      }\n      parseExpected(160 /* FromKeyword */);\n      moduleSpecifier = parseModuleSpecifier();\n    } else {\n      exportClause = parseNamedImportsOrExports(282 /* NamedExports */);\n      if (token() === 160 /* FromKeyword */ || token() === 10 /* StringLiteral */ && !scanner2.hasPrecedingLineBreak()) {\n        parseExpected(160 /* FromKeyword */);\n        moduleSpecifier = parseModuleSpecifier();\n      }\n    }\n    if (moduleSpecifier && token() === 131 /* AssertKeyword */ && !scanner2.hasPrecedingLineBreak()) {\n      assertClause = parseAssertClause();\n    }\n    parseSemicolon();\n    setAwaitContext(savedAwaitContext);\n    const node = factory2.createExportDeclaration(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  function parseExportAssignment(pos, hasJSDoc, decorators, modifiers) {\n    const savedAwaitContext = inAwaitContext();\n    setAwaitContext(true);\n    let isExportEquals;\n    if (parseOptional(63 /* EqualsToken */)) {\n      isExportEquals = true;\n    } else {\n      parseExpected(89 /* DefaultKeyword */);\n    }\n    const expression = parseAssignmentExpressionOrHigher(true);\n    parseSemicolon();\n    setAwaitContext(savedAwaitContext);\n    const node = factory2.createExportAssignment(modifiers, isExportEquals, expression);\n    node.illegalDecorators = decorators;\n    return withJSDoc(finishNode(node, pos), hasJSDoc);\n  }\n  let ParsingContext;\n  ((ParsingContext2) => {\n    ParsingContext2[ParsingContext2[\"SourceElements\"] = 0] = \"SourceElements\";\n    ParsingContext2[ParsingContext2[\"BlockStatements\"] = 1] = \"BlockStatements\";\n    ParsingContext2[ParsingContext2[\"SwitchClauses\"] = 2] = \"SwitchClauses\";\n    ParsingContext2[ParsingContext2[\"SwitchClauseStatements\"] = 3] = \"SwitchClauseStatements\";\n    ParsingContext2[ParsingContext2[\"TypeMembers\"] = 4] = \"TypeMembers\";\n    ParsingContext2[ParsingContext2[\"ClassMembers\"] = 5] = \"ClassMembers\";\n    ParsingContext2[ParsingContext2[\"AnnotationMembers\"] = 6] = \"AnnotationMembers\";\n    ParsingContext2[ParsingContext2[\"EnumMembers\"] = 7] = \"EnumMembers\";\n    ParsingContext2[ParsingContext2[\"HeritageClauseElement\"] = 8] = \"HeritageClauseElement\";\n    ParsingContext2[ParsingContext2[\"VariableDeclarations\"] = 9] = \"VariableDeclarations\";\n    ParsingContext2[ParsingContext2[\"ObjectBindingElements\"] = 10] = \"ObjectBindingElements\";\n    ParsingContext2[ParsingContext2[\"ArrayBindingElements\"] = 11] = \"ArrayBindingElements\";\n    ParsingContext2[ParsingContext2[\"ArgumentExpressions\"] = 12] = \"ArgumentExpressions\";\n    ParsingContext2[ParsingContext2[\"ObjectLiteralMembers\"] = 13] = \"ObjectLiteralMembers\";\n    ParsingContext2[ParsingContext2[\"JsxAttributes\"] = 14] = \"JsxAttributes\";\n    ParsingContext2[ParsingContext2[\"JsxChildren\"] = 15] = \"JsxChildren\";\n    ParsingContext2[ParsingContext2[\"ArrayLiteralMembers\"] = 16] = \"ArrayLiteralMembers\";\n    ParsingContext2[ParsingContext2[\"Parameters\"] = 17] = \"Parameters\";\n    ParsingContext2[ParsingContext2[\"JSDocParameters\"] = 18] = \"JSDocParameters\";\n    ParsingContext2[ParsingContext2[\"RestProperties\"] = 19] = \"RestProperties\";\n    ParsingContext2[ParsingContext2[\"TypeParameters\"] = 20] = \"TypeParameters\";\n    ParsingContext2[ParsingContext2[\"TypeArguments\"] = 21] = \"TypeArguments\";\n    ParsingContext2[ParsingContext2[\"TupleElementTypes\"] = 22] = \"TupleElementTypes\";\n    ParsingContext2[ParsingContext2[\"HeritageClauses\"] = 23] = \"HeritageClauses\";\n    ParsingContext2[ParsingContext2[\"ImportOrExportSpecifiers\"] = 24] = \"ImportOrExportSpecifiers\";\n    ParsingContext2[ParsingContext2[\"AssertEntries\"] = 25] = \"AssertEntries\";\n    ParsingContext2[ParsingContext2[\"Count\"] = 26] = \"Count\";\n  })(ParsingContext || (ParsingContext = {}));\n  let Tristate;\n  ((Tristate2) => {\n    Tristate2[Tristate2[\"False\"] = 0] = \"False\";\n    Tristate2[Tristate2[\"True\"] = 1] = \"True\";\n    Tristate2[Tristate2[\"Unknown\"] = 2] = \"Unknown\";\n  })(Tristate || (Tristate = {}));\n  let JSDocParser;\n  ((JSDocParser2) => {\n    function parseJSDocTypeExpressionForTests2(content, start, length2) {\n      initializeState(\"file.js\", content, 99 /* Latest */, void 0, 1 /* JS */);\n      scanner2.setText(content, start, length2);\n      currentToken = scanner2.scan();\n      const jsDocTypeExpression = parseJSDocTypeExpression();\n      const sourceFile = createSourceFile2(\"file.js\", 99 /* Latest */, 1 /* JS */, false, [], factory2.createToken(1 /* EndOfFileToken */), 0 /* None */, noop);\n      const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n      if (jsDocDiagnostics) {\n        sourceFile.jsDocDiagnostics = attachFileToDiagnostics(jsDocDiagnostics, sourceFile);\n      }\n      clearState();\n      return jsDocTypeExpression ? { jsDocTypeExpression, diagnostics } : void 0;\n    }\n    JSDocParser2.parseJSDocTypeExpressionForTests = parseJSDocTypeExpressionForTests2;\n    function parseJSDocTypeExpression(mayOmitBraces) {\n      const pos = getNodePos();\n      const hasBrace = (mayOmitBraces ? parseOptional : parseExpected)(18 /* OpenBraceToken */);\n      const type = doInsideOfContext(8388608 /* JSDoc */, parseJSDocType);\n      if (!mayOmitBraces || hasBrace) {\n        parseExpectedJSDoc(19 /* CloseBraceToken */);\n      }\n      const result = factory2.createJSDocTypeExpression(type);\n      fixupParentReferences(result);\n      return finishNode(result, pos);\n    }\n    JSDocParser2.parseJSDocTypeExpression = parseJSDocTypeExpression;\n    function parseJSDocNameReference() {\n      const pos = getNodePos();\n      const hasBrace = parseOptional(18 /* OpenBraceToken */);\n      const p2 = getNodePos();\n      let entityName = parseEntityName(false);\n      while (token() === 80 /* PrivateIdentifier */) {\n        reScanHashToken();\n        nextTokenJSDoc();\n        entityName = finishNode(factory2.createJSDocMemberName(entityName, parseIdentifier()), p2);\n      }\n      if (hasBrace) {\n        parseExpectedJSDoc(19 /* CloseBraceToken */);\n      }\n      const result = factory2.createJSDocNameReference(entityName);\n      fixupParentReferences(result);\n      return finishNode(result, pos);\n    }\n    JSDocParser2.parseJSDocNameReference = parseJSDocNameReference;\n    function parseIsolatedJSDocComment2(content, start, length2) {\n      initializeState(\"\", content, 99 /* Latest */, void 0, 1 /* JS */);\n      const jsDoc = doInsideOfContext(8388608 /* JSDoc */, () => parseJSDocCommentWorker(start, length2));\n      const sourceFile = { languageVariant: 0 /* Standard */, text: content };\n      const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);\n      clearState();\n      return jsDoc ? { jsDoc, diagnostics } : void 0;\n    }\n    JSDocParser2.parseIsolatedJSDocComment = parseIsolatedJSDocComment2;\n    function parseJSDocComment(parent2, start, length2) {\n      const saveToken = currentToken;\n      const saveParseDiagnosticsLength = parseDiagnostics.length;\n      const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode;\n      const comment = doInsideOfContext(8388608 /* JSDoc */, () => parseJSDocCommentWorker(start, length2));\n      setParent(comment, parent2);\n      if (contextFlags & 262144 /* JavaScriptFile */) {\n        if (!jsDocDiagnostics) {\n          jsDocDiagnostics = [];\n        }\n        jsDocDiagnostics.push(...parseDiagnostics);\n      }\n      currentToken = saveToken;\n      parseDiagnostics.length = saveParseDiagnosticsLength;\n      parseErrorBeforeNextFinishedNode = saveParseErrorBeforeNextFinishedNode;\n      return comment;\n    }\n    JSDocParser2.parseJSDocComment = parseJSDocComment;\n    let JSDocState;\n    ((JSDocState2) => {\n      JSDocState2[JSDocState2[\"BeginningOfLine\"] = 0] = \"BeginningOfLine\";\n      JSDocState2[JSDocState2[\"SawAsterisk\"] = 1] = \"SawAsterisk\";\n      JSDocState2[JSDocState2[\"SavingComments\"] = 2] = \"SavingComments\";\n      JSDocState2[JSDocState2[\"SavingBackticks\"] = 3] = \"SavingBackticks\";\n    })(JSDocState || (JSDocState = {}));\n    let PropertyLikeParse;\n    ((PropertyLikeParse2) => {\n      PropertyLikeParse2[PropertyLikeParse2[\"Property\"] = 1] = \"Property\";\n      PropertyLikeParse2[PropertyLikeParse2[\"Parameter\"] = 2] = \"Parameter\";\n      PropertyLikeParse2[PropertyLikeParse2[\"CallbackParameter\"] = 4] = \"CallbackParameter\";\n    })(PropertyLikeParse || (PropertyLikeParse = {}));\n    function parseJSDocCommentWorker(start = 0, length2) {\n      const content = sourceText;\n      const end = length2 === void 0 ? content.length : start + length2;\n      length2 = end - start;\n      Debug.assert(start >= 0);\n      Debug.assert(start <= end);\n      Debug.assert(end <= content.length);\n      if (!isJSDocLikeText(content, start)) {\n        return void 0;\n      }\n      let tags;\n      let tagsPos;\n      let tagsEnd;\n      let linkEnd;\n      let commentsPos;\n      let comments = [];\n      const parts = [];\n      return scanner2.scanRange(start + 3, length2 - 5, () => {\n        let state = 1 /* SawAsterisk */;\n        let margin;\n        let indent2 = start - (content.lastIndexOf(\"\\n\", start) + 1) + 4;\n        function pushComment(text) {\n          if (!margin) {\n            margin = indent2;\n          }\n          comments.push(text);\n          indent2 += text.length;\n        }\n        nextTokenJSDoc();\n        while (parseOptionalJsdoc(5 /* WhitespaceTrivia */))\n          ;\n        if (parseOptionalJsdoc(4 /* NewLineTrivia */)) {\n          state = 0 /* BeginningOfLine */;\n          indent2 = 0;\n        }\n        loop:\n          while (true) {\n            switch (token()) {\n              case 59 /* AtToken */:\n                if (state === 0 /* BeginningOfLine */ || state === 1 /* SawAsterisk */) {\n                  removeTrailingWhitespace(comments);\n                  if (!commentsPos)\n                    commentsPos = getNodePos();\n                  addTag(parseTag(indent2));\n                  state = 0 /* BeginningOfLine */;\n                  margin = void 0;\n                } else {\n                  pushComment(scanner2.getTokenText());\n                }\n                break;\n              case 4 /* NewLineTrivia */:\n                comments.push(scanner2.getTokenText());\n                state = 0 /* BeginningOfLine */;\n                indent2 = 0;\n                break;\n              case 41 /* AsteriskToken */:\n                const asterisk = scanner2.getTokenText();\n                if (state === 1 /* SawAsterisk */ || state === 2 /* SavingComments */) {\n                  state = 2 /* SavingComments */;\n                  pushComment(asterisk);\n                } else {\n                  state = 1 /* SawAsterisk */;\n                  indent2 += asterisk.length;\n                }\n                break;\n              case 5 /* WhitespaceTrivia */:\n                const whitespace = scanner2.getTokenText();\n                if (state === 2 /* SavingComments */) {\n                  comments.push(whitespace);\n                } else if (margin !== void 0 && indent2 + whitespace.length > margin) {\n                  comments.push(whitespace.slice(margin - indent2));\n                }\n                indent2 += whitespace.length;\n                break;\n              case 1 /* EndOfFileToken */:\n                break loop;\n              case 18 /* OpenBraceToken */:\n                state = 2 /* SavingComments */;\n                const commentEnd = scanner2.getStartPos();\n                const linkStart = scanner2.getTextPos() - 1;\n                const link = parseJSDocLink(linkStart);\n                if (link) {\n                  if (!linkEnd) {\n                    removeLeadingNewlines(comments);\n                  }\n                  parts.push(finishNode(factory2.createJSDocText(comments.join(\"\")), linkEnd != null ? linkEnd : start, commentEnd));\n                  parts.push(link);\n                  comments = [];\n                  linkEnd = scanner2.getTextPos();\n                  break;\n                }\n              default:\n                state = 2 /* SavingComments */;\n                pushComment(scanner2.getTokenText());\n                break;\n            }\n            nextTokenJSDoc();\n          }\n        removeTrailingWhitespace(comments);\n        if (parts.length && comments.length) {\n          parts.push(finishNode(factory2.createJSDocText(comments.join(\"\")), linkEnd != null ? linkEnd : start, commentsPos));\n        }\n        if (parts.length && tags)\n          Debug.assertIsDefined(commentsPos, \"having parsed tags implies that the end of the comment span should be set\");\n        const tagsArray = tags && createNodeArray2(tags, tagsPos, tagsEnd);\n        return finishNode(factory2.createJSDocComment(parts.length ? createNodeArray2(parts, start, commentsPos) : comments.length ? comments.join(\"\") : void 0, tagsArray), start, end);\n      });\n      function removeLeadingNewlines(comments2) {\n        while (comments2.length && (comments2[0] === \"\\n\" || comments2[0] === \"\\r\")) {\n          comments2.shift();\n        }\n      }\n      function removeTrailingWhitespace(comments2) {\n        while (comments2.length && comments2[comments2.length - 1].trim() === \"\") {\n          comments2.pop();\n        }\n      }\n      function isNextNonwhitespaceTokenEndOfFile() {\n        while (true) {\n          nextTokenJSDoc();\n          if (token() === 1 /* EndOfFileToken */) {\n            return true;\n          }\n          if (!(token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */)) {\n            return false;\n          }\n        }\n      }\n      function skipWhitespace() {\n        if (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) {\n          if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) {\n            return;\n          }\n        }\n        while (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) {\n          nextTokenJSDoc();\n        }\n      }\n      function skipWhitespaceOrAsterisk() {\n        if (token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) {\n          if (lookAhead(isNextNonwhitespaceTokenEndOfFile)) {\n            return \"\";\n          }\n        }\n        let precedingLineBreak = scanner2.hasPrecedingLineBreak();\n        let seenLineBreak = false;\n        let indentText = \"\";\n        while (precedingLineBreak && token() === 41 /* AsteriskToken */ || token() === 5 /* WhitespaceTrivia */ || token() === 4 /* NewLineTrivia */) {\n          indentText += scanner2.getTokenText();\n          if (token() === 4 /* NewLineTrivia */) {\n            precedingLineBreak = true;\n            seenLineBreak = true;\n            indentText = \"\";\n          } else if (token() === 41 /* AsteriskToken */) {\n            precedingLineBreak = false;\n          }\n          nextTokenJSDoc();\n        }\n        return seenLineBreak ? indentText : \"\";\n      }\n      function parseTag(margin) {\n        Debug.assert(token() === 59 /* AtToken */);\n        const start2 = scanner2.getTokenPos();\n        nextTokenJSDoc();\n        const tagName = parseJSDocIdentifierName(void 0);\n        const indentText = skipWhitespaceOrAsterisk();\n        let tag;\n        switch (tagName.escapedText) {\n          case \"author\":\n            tag = parseAuthorTag(start2, tagName, margin, indentText);\n            break;\n          case \"implements\":\n            tag = parseImplementsTag(start2, tagName, margin, indentText);\n            break;\n          case \"augments\":\n          case \"extends\":\n            tag = parseAugmentsTag(start2, tagName, margin, indentText);\n            break;\n          case \"class\":\n          case \"constructor\":\n            tag = parseSimpleTag(start2, factory2.createJSDocClassTag, tagName, margin, indentText);\n            break;\n          case \"public\":\n            tag = parseSimpleTag(start2, factory2.createJSDocPublicTag, tagName, margin, indentText);\n            break;\n          case \"private\":\n            tag = parseSimpleTag(start2, factory2.createJSDocPrivateTag, tagName, margin, indentText);\n            break;\n          case \"protected\":\n            tag = parseSimpleTag(start2, factory2.createJSDocProtectedTag, tagName, margin, indentText);\n            break;\n          case \"readonly\":\n            tag = parseSimpleTag(start2, factory2.createJSDocReadonlyTag, tagName, margin, indentText);\n            break;\n          case \"override\":\n            tag = parseSimpleTag(start2, factory2.createJSDocOverrideTag, tagName, margin, indentText);\n            break;\n          case \"deprecated\":\n            hasDeprecatedTag = true;\n            tag = parseSimpleTag(start2, factory2.createJSDocDeprecatedTag, tagName, margin, indentText);\n            break;\n          case \"this\":\n            tag = parseThisTag(start2, tagName, margin, indentText);\n            break;\n          case \"enum\":\n            tag = parseEnumTag(start2, tagName, margin, indentText);\n            break;\n          case \"arg\":\n          case \"argument\":\n          case \"param\":\n            return parseParameterOrPropertyTag(start2, tagName, 2 /* Parameter */, margin);\n          case \"return\":\n          case \"returns\":\n            tag = parseReturnTag(start2, tagName, margin, indentText);\n            break;\n          case \"template\":\n            tag = parseTemplateTag(start2, tagName, margin, indentText);\n            break;\n          case \"type\":\n            tag = parseTypeTag(start2, tagName, margin, indentText);\n            break;\n          case \"typedef\":\n            tag = parseTypedefTag(start2, tagName, margin, indentText);\n            break;\n          case \"callback\":\n            tag = parseCallbackTag(start2, tagName, margin, indentText);\n            break;\n          case \"see\":\n            tag = parseSeeTag(start2, tagName, margin, indentText);\n            break;\n          default:\n            tag = parseUnknownTag(start2, tagName, margin, indentText);\n            break;\n        }\n        return tag;\n      }\n      function parseTrailingTagComments(pos, end2, margin, indentText) {\n        if (!indentText) {\n          margin += end2 - pos;\n        }\n        return parseTagComments(margin, indentText.slice(margin));\n      }\n      function parseTagComments(indent2, initialMargin) {\n        const commentsPos2 = getNodePos();\n        let comments2 = [];\n        const parts2 = [];\n        let linkEnd2;\n        let state = 0 /* BeginningOfLine */;\n        let previousWhitespace = true;\n        let margin;\n        function pushComment(text) {\n          if (!margin) {\n            margin = indent2;\n          }\n          comments2.push(text);\n          indent2 += text.length;\n        }\n        if (initialMargin !== void 0) {\n          if (initialMargin !== \"\") {\n            pushComment(initialMargin);\n          }\n          state = 1 /* SawAsterisk */;\n        }\n        let tok = token();\n        loop:\n          while (true) {\n            switch (tok) {\n              case 4 /* NewLineTrivia */:\n                state = 0 /* BeginningOfLine */;\n                comments2.push(scanner2.getTokenText());\n                indent2 = 0;\n                break;\n              case 59 /* AtToken */:\n                if (state === 3 /* SavingBackticks */ || state === 2 /* SavingComments */ && (!previousWhitespace || lookAhead(isNextJSDocTokenWhitespace))) {\n                  comments2.push(scanner2.getTokenText());\n                  break;\n                }\n                scanner2.setTextPos(scanner2.getTextPos() - 1);\n              case 1 /* EndOfFileToken */:\n                break loop;\n              case 5 /* WhitespaceTrivia */:\n                if (state === 2 /* SavingComments */ || state === 3 /* SavingBackticks */) {\n                  pushComment(scanner2.getTokenText());\n                } else {\n                  const whitespace = scanner2.getTokenText();\n                  if (margin !== void 0 && indent2 + whitespace.length > margin) {\n                    comments2.push(whitespace.slice(margin - indent2));\n                  }\n                  indent2 += whitespace.length;\n                }\n                break;\n              case 18 /* OpenBraceToken */:\n                state = 2 /* SavingComments */;\n                const commentEnd = scanner2.getStartPos();\n                const linkStart = scanner2.getTextPos() - 1;\n                const link = parseJSDocLink(linkStart);\n                if (link) {\n                  parts2.push(finishNode(factory2.createJSDocText(comments2.join(\"\")), linkEnd2 != null ? linkEnd2 : commentsPos2, commentEnd));\n                  parts2.push(link);\n                  comments2 = [];\n                  linkEnd2 = scanner2.getTextPos();\n                } else {\n                  pushComment(scanner2.getTokenText());\n                }\n                break;\n              case 61 /* BacktickToken */:\n                if (state === 3 /* SavingBackticks */) {\n                  state = 2 /* SavingComments */;\n                } else {\n                  state = 3 /* SavingBackticks */;\n                }\n                pushComment(scanner2.getTokenText());\n                break;\n              case 41 /* AsteriskToken */:\n                if (state === 0 /* BeginningOfLine */) {\n                  state = 1 /* SawAsterisk */;\n                  indent2 += 1;\n                  break;\n                }\n              default:\n                if (state !== 3 /* SavingBackticks */) {\n                  state = 2 /* SavingComments */;\n                }\n                pushComment(scanner2.getTokenText());\n                break;\n            }\n            previousWhitespace = token() === 5 /* WhitespaceTrivia */;\n            tok = nextTokenJSDoc();\n          }\n        removeLeadingNewlines(comments2);\n        removeTrailingWhitespace(comments2);\n        if (parts2.length) {\n          if (comments2.length) {\n            parts2.push(finishNode(factory2.createJSDocText(comments2.join(\"\")), linkEnd2 != null ? linkEnd2 : commentsPos2));\n          }\n          return createNodeArray2(parts2, commentsPos2, scanner2.getTextPos());\n        } else if (comments2.length) {\n          return comments2.join(\"\");\n        }\n      }\n      function isNextJSDocTokenWhitespace() {\n        const next = nextTokenJSDoc();\n        return next === 5 /* WhitespaceTrivia */ || next === 4 /* NewLineTrivia */;\n      }\n      function parseJSDocLink(start2) {\n        const linkType = tryParse(parseJSDocLinkPrefix);\n        if (!linkType) {\n          return void 0;\n        }\n        nextTokenJSDoc();\n        skipWhitespace();\n        const p2 = getNodePos();\n        let name = tokenIsIdentifierOrKeyword(token()) ? parseEntityName(true) : void 0;\n        if (name) {\n          while (token() === 80 /* PrivateIdentifier */) {\n            reScanHashToken();\n            nextTokenJSDoc();\n            name = finishNode(factory2.createJSDocMemberName(name, parseIdentifier()), p2);\n          }\n        }\n        const text = [];\n        while (token() !== 19 /* CloseBraceToken */ && token() !== 4 /* NewLineTrivia */ && token() !== 1 /* EndOfFileToken */) {\n          text.push(scanner2.getTokenText());\n          nextTokenJSDoc();\n        }\n        const create = linkType === \"link\" ? factory2.createJSDocLink : linkType === \"linkcode\" ? factory2.createJSDocLinkCode : factory2.createJSDocLinkPlain;\n        return finishNode(create(name, text.join(\"\")), start2, scanner2.getTextPos());\n      }\n      function parseJSDocLinkPrefix() {\n        skipWhitespaceOrAsterisk();\n        if (token() === 18 /* OpenBraceToken */ && nextTokenJSDoc() === 59 /* AtToken */ && tokenIsIdentifierOrKeyword(nextTokenJSDoc())) {\n          const kind = scanner2.getTokenValue();\n          if (isJSDocLinkTag(kind))\n            return kind;\n        }\n      }\n      function isJSDocLinkTag(kind) {\n        return kind === \"link\" || kind === \"linkcode\" || kind === \"linkplain\";\n      }\n      function parseUnknownTag(start2, tagName, indent2, indentText) {\n        return finishNode(factory2.createJSDocUnknownTag(tagName, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2);\n      }\n      function addTag(tag) {\n        if (!tag) {\n          return;\n        }\n        if (!tags) {\n          tags = [tag];\n          tagsPos = tag.pos;\n        } else {\n          tags.push(tag);\n        }\n        tagsEnd = tag.end;\n      }\n      function tryParseTypeExpression() {\n        skipWhitespaceOrAsterisk();\n        return token() === 18 /* OpenBraceToken */ ? parseJSDocTypeExpression() : void 0;\n      }\n      function parseBracketNameInPropertyAndParamTag() {\n        const isBracketed = parseOptionalJsdoc(22 /* OpenBracketToken */);\n        if (isBracketed) {\n          skipWhitespace();\n        }\n        const isBackquoted = parseOptionalJsdoc(61 /* BacktickToken */);\n        const name = parseJSDocEntityName();\n        if (isBackquoted) {\n          parseExpectedTokenJSDoc(61 /* BacktickToken */);\n        }\n        if (isBracketed) {\n          skipWhitespace();\n          if (parseOptionalToken(63 /* EqualsToken */)) {\n            parseExpression();\n          }\n          parseExpected(23 /* CloseBracketToken */);\n        }\n        return { name, isBracketed };\n      }\n      function isObjectOrObjectArrayTypeReference(node) {\n        switch (node.kind) {\n          case 150 /* ObjectKeyword */:\n            return true;\n          case 188 /* ArrayType */:\n            return isObjectOrObjectArrayTypeReference(node.elementType);\n          default:\n            return isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"Object\" && !node.typeArguments;\n        }\n      }\n      function parseParameterOrPropertyTag(start2, tagName, target, indent2) {\n        let typeExpression = tryParseTypeExpression();\n        let isNameFirst = !typeExpression;\n        skipWhitespaceOrAsterisk();\n        const { name, isBracketed } = parseBracketNameInPropertyAndParamTag();\n        const indentText = skipWhitespaceOrAsterisk();\n        if (isNameFirst && !lookAhead(parseJSDocLinkPrefix)) {\n          typeExpression = tryParseTypeExpression();\n        }\n        const comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText);\n        const nestedTypeLiteral = target !== 4 /* CallbackParameter */ && parseNestedTypeLiteral(typeExpression, name, target, indent2);\n        if (nestedTypeLiteral) {\n          typeExpression = nestedTypeLiteral;\n          isNameFirst = true;\n        }\n        const result = target === 1 /* Property */ ? factory2.createJSDocPropertyTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment) : factory2.createJSDocParameterTag(tagName, name, isBracketed, typeExpression, isNameFirst, comment);\n        return finishNode(result, start2);\n      }\n      function parseNestedTypeLiteral(typeExpression, name, target, indent2) {\n        if (typeExpression && isObjectOrObjectArrayTypeReference(typeExpression.type)) {\n          const pos = getNodePos();\n          let child;\n          let children;\n          while (child = tryParse(() => parseChildParameterOrPropertyTag(target, indent2, name))) {\n            if (child.kind === 349 /* JSDocParameterTag */ || child.kind === 356 /* JSDocPropertyTag */) {\n              children = append(children, child);\n            }\n          }\n          if (children) {\n            const literal = finishNode(factory2.createJSDocTypeLiteral(children, typeExpression.type.kind === 188 /* ArrayType */), pos);\n            return finishNode(factory2.createJSDocTypeExpression(literal), pos);\n          }\n        }\n      }\n      function parseReturnTag(start2, tagName, indent2, indentText) {\n        if (some(tags, isJSDocReturnTag)) {\n          parseErrorAt(tagName.pos, scanner2.getTokenPos(), Diagnostics._0_tag_already_specified, tagName.escapedText);\n        }\n        const typeExpression = tryParseTypeExpression();\n        return finishNode(factory2.createJSDocReturnTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2);\n      }\n      function parseTypeTag(start2, tagName, indent2, indentText) {\n        if (some(tags, isJSDocTypeTag)) {\n          parseErrorAt(tagName.pos, scanner2.getTokenPos(), Diagnostics._0_tag_already_specified, tagName.escapedText);\n        }\n        const typeExpression = parseJSDocTypeExpression(true);\n        const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0;\n        return finishNode(factory2.createJSDocTypeTag(tagName, typeExpression, comments2), start2);\n      }\n      function parseSeeTag(start2, tagName, indent2, indentText) {\n        const isMarkdownOrJSDocLink = token() === 22 /* OpenBracketToken */ || lookAhead(() => nextTokenJSDoc() === 59 /* AtToken */ && tokenIsIdentifierOrKeyword(nextTokenJSDoc()) && isJSDocLinkTag(scanner2.getTokenValue()));\n        const nameExpression = isMarkdownOrJSDocLink ? void 0 : parseJSDocNameReference();\n        const comments2 = indent2 !== void 0 && indentText !== void 0 ? parseTrailingTagComments(start2, getNodePos(), indent2, indentText) : void 0;\n        return finishNode(factory2.createJSDocSeeTag(tagName, nameExpression, comments2), start2);\n      }\n      function parseAuthorTag(start2, tagName, indent2, indentText) {\n        const commentStart = getNodePos();\n        const textOnly = parseAuthorNameAndEmail();\n        let commentEnd = scanner2.getStartPos();\n        const comments2 = parseTrailingTagComments(start2, commentEnd, indent2, indentText);\n        if (!comments2) {\n          commentEnd = scanner2.getStartPos();\n        }\n        const allParts = typeof comments2 !== \"string\" ? createNodeArray2(concatenate([finishNode(textOnly, commentStart, commentEnd)], comments2), commentStart) : textOnly.text + comments2;\n        return finishNode(factory2.createJSDocAuthorTag(tagName, allParts), start2);\n      }\n      function parseAuthorNameAndEmail() {\n        const comments2 = [];\n        let inEmail = false;\n        let token2 = scanner2.getToken();\n        while (token2 !== 1 /* EndOfFileToken */ && token2 !== 4 /* NewLineTrivia */) {\n          if (token2 === 29 /* LessThanToken */) {\n            inEmail = true;\n          } else if (token2 === 59 /* AtToken */ && !inEmail) {\n            break;\n          } else if (token2 === 31 /* GreaterThanToken */ && inEmail) {\n            comments2.push(scanner2.getTokenText());\n            scanner2.setTextPos(scanner2.getTokenPos() + 1);\n            break;\n          }\n          comments2.push(scanner2.getTokenText());\n          token2 = nextTokenJSDoc();\n        }\n        return factory2.createJSDocText(comments2.join(\"\"));\n      }\n      function parseImplementsTag(start2, tagName, margin, indentText) {\n        const className = parseExpressionWithTypeArgumentsForAugments();\n        return finishNode(factory2.createJSDocImplementsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n      }\n      function parseAugmentsTag(start2, tagName, margin, indentText) {\n        const className = parseExpressionWithTypeArgumentsForAugments();\n        return finishNode(factory2.createJSDocAugmentsTag(tagName, className, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n      }\n      function parseExpressionWithTypeArgumentsForAugments() {\n        const usedBrace = parseOptional(18 /* OpenBraceToken */);\n        const pos = getNodePos();\n        const expression = parsePropertyAccessEntityNameExpression();\n        const typeArguments = tryParseTypeArguments();\n        const node = factory2.createExpressionWithTypeArguments(expression, typeArguments);\n        const res = finishNode(node, pos);\n        if (usedBrace) {\n          parseExpected(19 /* CloseBraceToken */);\n        }\n        return res;\n      }\n      function parsePropertyAccessEntityNameExpression() {\n        const pos = getNodePos();\n        let node = parseJSDocIdentifierName();\n        while (parseOptional(24 /* DotToken */)) {\n          const name = parseJSDocIdentifierName();\n          node = finishNode(factory2.createPropertyAccessExpression(node, name), pos);\n        }\n        return node;\n      }\n      function parseSimpleTag(start2, createTag, tagName, margin, indentText) {\n        return finishNode(createTag(tagName, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n      }\n      function parseThisTag(start2, tagName, margin, indentText) {\n        const typeExpression = parseJSDocTypeExpression(true);\n        skipWhitespace();\n        return finishNode(factory2.createJSDocThisTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n      }\n      function parseEnumTag(start2, tagName, margin, indentText) {\n        const typeExpression = parseJSDocTypeExpression(true);\n        skipWhitespace();\n        return finishNode(factory2.createJSDocEnumTag(tagName, typeExpression, parseTrailingTagComments(start2, getNodePos(), margin, indentText)), start2);\n      }\n      function parseTypedefTag(start2, tagName, indent2, indentText) {\n        var _a2;\n        let typeExpression = tryParseTypeExpression();\n        skipWhitespaceOrAsterisk();\n        const fullName = parseJSDocTypeNameWithNamespace();\n        skipWhitespace();\n        let comment = parseTagComments(indent2);\n        let end2;\n        if (!typeExpression || isObjectOrObjectArrayTypeReference(typeExpression.type)) {\n          let child;\n          let childTypeTag;\n          let jsDocPropertyTags;\n          let hasChildren = false;\n          while (child = tryParse(() => parseChildPropertyTag(indent2))) {\n            hasChildren = true;\n            if (child.kind === 352 /* JSDocTypeTag */) {\n              if (childTypeTag) {\n                const lastError = parseErrorAtCurrentToken(Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);\n                if (lastError) {\n                  addRelatedInfo(lastError, createDetachedDiagnostic(fileName, 0, 0, Diagnostics.The_tag_was_first_specified_here));\n                }\n                break;\n              } else {\n                childTypeTag = child;\n              }\n            } else {\n              jsDocPropertyTags = append(jsDocPropertyTags, child);\n            }\n          }\n          if (hasChildren) {\n            const isArrayType = typeExpression && typeExpression.type.kind === 188 /* ArrayType */;\n            const jsdocTypeLiteral = factory2.createJSDocTypeLiteral(jsDocPropertyTags, isArrayType);\n            typeExpression = childTypeTag && childTypeTag.typeExpression && !isObjectOrObjectArrayTypeReference(childTypeTag.typeExpression.type) ? childTypeTag.typeExpression : finishNode(jsdocTypeLiteral, start2);\n            end2 = typeExpression.end;\n          }\n        }\n        end2 = end2 || comment !== void 0 ? getNodePos() : ((_a2 = fullName != null ? fullName : typeExpression) != null ? _a2 : tagName).end;\n        if (!comment) {\n          comment = parseTrailingTagComments(start2, end2, indent2, indentText);\n        }\n        const typedefTag = factory2.createJSDocTypedefTag(tagName, typeExpression, fullName, comment);\n        return finishNode(typedefTag, start2, end2);\n      }\n      function parseJSDocTypeNameWithNamespace(nested) {\n        const pos = scanner2.getTokenPos();\n        if (!tokenIsIdentifierOrKeyword(token())) {\n          return void 0;\n        }\n        const typeNameOrNamespaceName = parseJSDocIdentifierName();\n        if (parseOptional(24 /* DotToken */)) {\n          const body = parseJSDocTypeNameWithNamespace(true);\n          const jsDocNamespaceNode = factory2.createModuleDeclaration(\n            void 0,\n            typeNameOrNamespaceName,\n            body,\n            nested ? 4 /* NestedNamespace */ : void 0\n          );\n          return finishNode(jsDocNamespaceNode, pos);\n        }\n        if (nested) {\n          typeNameOrNamespaceName.isInJSDocNamespace = true;\n        }\n        return typeNameOrNamespaceName;\n      }\n      function parseCallbackTagParameters(indent2) {\n        const pos = getNodePos();\n        let child;\n        let parameters;\n        while (child = tryParse(() => parseChildParameterOrPropertyTag(4 /* CallbackParameter */, indent2))) {\n          parameters = append(parameters, child);\n        }\n        return createNodeArray2(parameters || [], pos);\n      }\n      function parseCallbackTag(start2, tagName, indent2, indentText) {\n        const fullName = parseJSDocTypeNameWithNamespace();\n        skipWhitespace();\n        let comment = parseTagComments(indent2);\n        const parameters = parseCallbackTagParameters(indent2);\n        const returnTag = tryParse(() => {\n          if (parseOptionalJsdoc(59 /* AtToken */)) {\n            const tag = parseTag(indent2);\n            if (tag && tag.kind === 350 /* JSDocReturnTag */) {\n              return tag;\n            }\n          }\n        });\n        const typeExpression = finishNode(factory2.createJSDocSignature(void 0, parameters, returnTag), start2);\n        if (!comment) {\n          comment = parseTrailingTagComments(start2, getNodePos(), indent2, indentText);\n        }\n        const end2 = comment !== void 0 ? getNodePos() : typeExpression.end;\n        return finishNode(factory2.createJSDocCallbackTag(tagName, typeExpression, fullName, comment), start2, end2);\n      }\n      function escapedTextsEqual(a, b) {\n        while (!isIdentifier(a) || !isIdentifier(b)) {\n          if (!isIdentifier(a) && !isIdentifier(b) && a.right.escapedText === b.right.escapedText) {\n            a = a.left;\n            b = b.left;\n          } else {\n            return false;\n          }\n        }\n        return a.escapedText === b.escapedText;\n      }\n      function parseChildPropertyTag(indent2) {\n        return parseChildParameterOrPropertyTag(1 /* Property */, indent2);\n      }\n      function parseChildParameterOrPropertyTag(target, indent2, name) {\n        let canParseTag = true;\n        let seenAsterisk = false;\n        while (true) {\n          switch (nextTokenJSDoc()) {\n            case 59 /* AtToken */:\n              if (canParseTag) {\n                const child = tryParseChildTag(target, indent2);\n                if (child && (child.kind === 349 /* JSDocParameterTag */ || child.kind === 356 /* JSDocPropertyTag */) && target !== 4 /* CallbackParameter */ && name && (isIdentifier(child.name) || !escapedTextsEqual(name, child.name.left))) {\n                  return false;\n                }\n                return child;\n              }\n              seenAsterisk = false;\n              break;\n            case 4 /* NewLineTrivia */:\n              canParseTag = true;\n              seenAsterisk = false;\n              break;\n            case 41 /* AsteriskToken */:\n              if (seenAsterisk) {\n                canParseTag = false;\n              }\n              seenAsterisk = true;\n              break;\n            case 79 /* Identifier */:\n              canParseTag = false;\n              break;\n            case 1 /* EndOfFileToken */:\n              return false;\n          }\n        }\n      }\n      function tryParseChildTag(target, indent2) {\n        Debug.assert(token() === 59 /* AtToken */);\n        const start2 = scanner2.getStartPos();\n        nextTokenJSDoc();\n        const tagName = parseJSDocIdentifierName();\n        skipWhitespace();\n        let t;\n        switch (tagName.escapedText) {\n          case \"type\":\n            return target === 1 /* Property */ && parseTypeTag(start2, tagName);\n          case \"prop\":\n          case \"property\":\n            t = 1 /* Property */;\n            break;\n          case \"arg\":\n          case \"argument\":\n          case \"param\":\n            t = 2 /* Parameter */ | 4 /* CallbackParameter */;\n            break;\n          default:\n            return false;\n        }\n        if (!(target & t)) {\n          return false;\n        }\n        return parseParameterOrPropertyTag(start2, tagName, target, indent2);\n      }\n      function parseTemplateTagTypeParameter() {\n        const typeParameterPos = getNodePos();\n        const isBracketed = parseOptionalJsdoc(22 /* OpenBracketToken */);\n        if (isBracketed) {\n          skipWhitespace();\n        }\n        const name = parseJSDocIdentifierName(Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);\n        let defaultType;\n        if (isBracketed) {\n          skipWhitespace();\n          parseExpected(63 /* EqualsToken */);\n          defaultType = doInsideOfContext(8388608 /* JSDoc */, parseJSDocType);\n          parseExpected(23 /* CloseBracketToken */);\n        }\n        if (nodeIsMissing(name)) {\n          return void 0;\n        }\n        return finishNode(factory2.createTypeParameterDeclaration(void 0, name, void 0, defaultType), typeParameterPos);\n      }\n      function parseTemplateTagTypeParameters() {\n        const pos = getNodePos();\n        const typeParameters = [];\n        do {\n          skipWhitespace();\n          const node = parseTemplateTagTypeParameter();\n          if (node !== void 0) {\n            typeParameters.push(node);\n          }\n          skipWhitespaceOrAsterisk();\n        } while (parseOptionalJsdoc(27 /* CommaToken */));\n        return createNodeArray2(typeParameters, pos);\n      }\n      function parseTemplateTag(start2, tagName, indent2, indentText) {\n        const constraint = token() === 18 /* OpenBraceToken */ ? parseJSDocTypeExpression() : void 0;\n        const typeParameters = parseTemplateTagTypeParameters();\n        return finishNode(factory2.createJSDocTemplateTag(tagName, constraint, typeParameters, parseTrailingTagComments(start2, getNodePos(), indent2, indentText)), start2);\n      }\n      function parseOptionalJsdoc(t) {\n        if (token() === t) {\n          nextTokenJSDoc();\n          return true;\n        }\n        return false;\n      }\n      function parseJSDocEntityName() {\n        let entity = parseJSDocIdentifierName();\n        if (parseOptional(22 /* OpenBracketToken */)) {\n          parseExpected(23 /* CloseBracketToken */);\n        }\n        while (parseOptional(24 /* DotToken */)) {\n          const name = parseJSDocIdentifierName();\n          if (parseOptional(22 /* OpenBracketToken */)) {\n            parseExpected(23 /* CloseBracketToken */);\n          }\n          entity = createQualifiedName2(entity, name);\n        }\n        return entity;\n      }\n      function parseJSDocIdentifierName(message) {\n        if (!tokenIsIdentifierOrKeyword(token())) {\n          return createMissingNode(79 /* Identifier */, !message, message || Diagnostics.Identifier_expected);\n        }\n        identifierCount++;\n        const pos = scanner2.getTokenPos();\n        const end2 = scanner2.getTextPos();\n        const originalKeywordKind = token();\n        const text = internIdentifier(scanner2.getTokenValue());\n        const result = finishNode(factory2.createIdentifier(text, void 0, originalKeywordKind), pos, end2);\n        nextTokenJSDoc();\n        return result;\n      }\n    }\n  })(JSDocParser = Parser2.JSDocParser || (Parser2.JSDocParser = {}));\n})(Parser || (Parser = {}));\nvar IncrementalParser;\n((IncrementalParser2) => {\n  function updateSourceFile2(sourceFile, newText, textChangeRange, aggressiveChecks) {\n    aggressiveChecks = aggressiveChecks || Debug.shouldAssert(2 /* Aggressive */);\n    checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks);\n    if (textChangeRangeIsUnchanged(textChangeRange)) {\n      return sourceFile;\n    }\n    if (sourceFile.statements.length === 0) {\n      return Parser.parseSourceFile(sourceFile.fileName, newText, sourceFile.languageVersion, void 0, true, sourceFile.scriptKind, sourceFile.setExternalModuleIndicator);\n    }\n    const incrementalSourceFile = sourceFile;\n    Debug.assert(!incrementalSourceFile.hasBeenIncrementallyParsed);\n    incrementalSourceFile.hasBeenIncrementallyParsed = true;\n    Parser.fixupParentReferences(incrementalSourceFile);\n    const oldText = sourceFile.text;\n    const syntaxCursor = createSyntaxCursor(sourceFile);\n    const changeRange = extendToAffectedRange(sourceFile, textChangeRange);\n    checkChangeRange(sourceFile, newText, changeRange, aggressiveChecks);\n    Debug.assert(changeRange.span.start <= textChangeRange.span.start);\n    Debug.assert(textSpanEnd(changeRange.span) === textSpanEnd(textChangeRange.span));\n    Debug.assert(textSpanEnd(textChangeRangeNewSpan(changeRange)) === textSpanEnd(textChangeRangeNewSpan(textChangeRange)));\n    const delta = textChangeRangeNewSpan(changeRange).length - changeRange.span.length;\n    updateTokenPositionsAndMarkElements(\n      incrementalSourceFile,\n      changeRange.span.start,\n      textSpanEnd(changeRange.span),\n      textSpanEnd(textChangeRangeNewSpan(changeRange)),\n      delta,\n      oldText,\n      newText,\n      aggressiveChecks\n    );\n    const result = Parser.parseSourceFile(sourceFile.fileName, newText, sourceFile.languageVersion, syntaxCursor, true, sourceFile.scriptKind, sourceFile.setExternalModuleIndicator);\n    result.commentDirectives = getNewCommentDirectives(\n      sourceFile.commentDirectives,\n      result.commentDirectives,\n      changeRange.span.start,\n      textSpanEnd(changeRange.span),\n      delta,\n      oldText,\n      newText,\n      aggressiveChecks\n    );\n    result.impliedNodeFormat = sourceFile.impliedNodeFormat;\n    return result;\n  }\n  IncrementalParser2.updateSourceFile = updateSourceFile2;\n  function getNewCommentDirectives(oldDirectives, newDirectives, changeStart, changeRangeOldEnd, delta, oldText, newText, aggressiveChecks) {\n    if (!oldDirectives)\n      return newDirectives;\n    let commentDirectives;\n    let addedNewlyScannedDirectives = false;\n    for (const directive of oldDirectives) {\n      const { range, type } = directive;\n      if (range.end < changeStart) {\n        commentDirectives = append(commentDirectives, directive);\n      } else if (range.pos > changeRangeOldEnd) {\n        addNewlyScannedDirectives();\n        const updatedDirective = {\n          range: { pos: range.pos + delta, end: range.end + delta },\n          type\n        };\n        commentDirectives = append(commentDirectives, updatedDirective);\n        if (aggressiveChecks) {\n          Debug.assert(oldText.substring(range.pos, range.end) === newText.substring(updatedDirective.range.pos, updatedDirective.range.end));\n        }\n      }\n    }\n    addNewlyScannedDirectives();\n    return commentDirectives;\n    function addNewlyScannedDirectives() {\n      if (addedNewlyScannedDirectives)\n        return;\n      addedNewlyScannedDirectives = true;\n      if (!commentDirectives) {\n        commentDirectives = newDirectives;\n      } else if (newDirectives) {\n        commentDirectives.push(...newDirectives);\n      }\n    }\n  }\n  function moveElementEntirelyPastChangeRange(element, isArray3, delta, oldText, newText, aggressiveChecks) {\n    if (isArray3) {\n      visitArray2(element);\n    } else {\n      visitNode3(element);\n    }\n    return;\n    function visitNode3(node) {\n      let text = \"\";\n      if (aggressiveChecks && shouldCheckNode(node)) {\n        text = oldText.substring(node.pos, node.end);\n      }\n      if (node._children) {\n        node._children = void 0;\n      }\n      setTextRangePosEnd(node, node.pos + delta, node.end + delta);\n      if (aggressiveChecks && shouldCheckNode(node)) {\n        Debug.assert(text === newText.substring(node.pos, node.end));\n      }\n      forEachChild(node, visitNode3, visitArray2);\n      if (hasJSDocNodes(node)) {\n        for (const jsDocComment of node.jsDoc) {\n          visitNode3(jsDocComment);\n        }\n      }\n      checkNodePositions(node, aggressiveChecks);\n    }\n    function visitArray2(array) {\n      array._children = void 0;\n      setTextRangePosEnd(array, array.pos + delta, array.end + delta);\n      for (const node of array) {\n        visitNode3(node);\n      }\n    }\n  }\n  function shouldCheckNode(node) {\n    switch (node.kind) {\n      case 10 /* StringLiteral */:\n      case 8 /* NumericLiteral */:\n      case 79 /* Identifier */:\n        return true;\n    }\n    return false;\n  }\n  function adjustIntersectingElement(element, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta) {\n    Debug.assert(element.end >= changeStart, \"Adjusting an element that was entirely before the change range\");\n    Debug.assert(element.pos <= changeRangeOldEnd, \"Adjusting an element that was entirely after the change range\");\n    Debug.assert(element.pos <= element.end);\n    const pos = Math.min(element.pos, changeRangeNewEnd);\n    const end = element.end >= changeRangeOldEnd ? element.end + delta : Math.min(element.end, changeRangeNewEnd);\n    Debug.assert(pos <= end);\n    if (element.parent) {\n      Debug.assertGreaterThanOrEqual(pos, element.parent.pos);\n      Debug.assertLessThanOrEqual(end, element.parent.end);\n    }\n    setTextRangePosEnd(element, pos, end);\n  }\n  function checkNodePositions(node, aggressiveChecks) {\n    if (aggressiveChecks) {\n      let pos = node.pos;\n      const visitNode3 = (child) => {\n        Debug.assert(child.pos >= pos);\n        pos = child.end;\n      };\n      if (hasJSDocNodes(node)) {\n        for (const jsDocComment of node.jsDoc) {\n          visitNode3(jsDocComment);\n        }\n      }\n      forEachChild(node, visitNode3);\n      Debug.assert(pos <= node.end);\n    }\n  }\n  function updateTokenPositionsAndMarkElements(sourceFile, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta, oldText, newText, aggressiveChecks) {\n    visitNode3(sourceFile);\n    return;\n    function visitNode3(child) {\n      Debug.assert(child.pos <= child.end);\n      if (child.pos > changeRangeOldEnd) {\n        moveElementEntirelyPastChangeRange(child, false, delta, oldText, newText, aggressiveChecks);\n        return;\n      }\n      const fullEnd = child.end;\n      if (fullEnd >= changeStart) {\n        child.intersectsChange = true;\n        child._children = void 0;\n        adjustIntersectingElement(child, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta);\n        forEachChild(child, visitNode3, visitArray2);\n        if (hasJSDocNodes(child)) {\n          for (const jsDocComment of child.jsDoc) {\n            visitNode3(jsDocComment);\n          }\n        }\n        checkNodePositions(child, aggressiveChecks);\n        return;\n      }\n      Debug.assert(fullEnd < changeStart);\n    }\n    function visitArray2(array) {\n      Debug.assert(array.pos <= array.end);\n      if (array.pos > changeRangeOldEnd) {\n        moveElementEntirelyPastChangeRange(array, true, delta, oldText, newText, aggressiveChecks);\n        return;\n      }\n      const fullEnd = array.end;\n      if (fullEnd >= changeStart) {\n        array.intersectsChange = true;\n        array._children = void 0;\n        adjustIntersectingElement(array, changeStart, changeRangeOldEnd, changeRangeNewEnd, delta);\n        for (const node of array) {\n          if (!node.virtual) {\n            visitNode3(node);\n          }\n        }\n        return;\n      }\n      Debug.assert(fullEnd < changeStart);\n    }\n  }\n  function extendToAffectedRange(sourceFile, changeRange) {\n    const maxLookahead = 1;\n    let start = changeRange.span.start;\n    for (let i = 0; start > 0 && i <= maxLookahead; i++) {\n      const nearestNode = findNearestNodeStartingBeforeOrAtPosition(sourceFile, start);\n      Debug.assert(nearestNode.pos <= start);\n      const position = nearestNode.pos;\n      start = Math.max(0, position - 1);\n    }\n    const finalSpan = createTextSpanFromBounds(start, textSpanEnd(changeRange.span));\n    const finalLength = changeRange.newLength + (changeRange.span.start - start);\n    return createTextChangeRange(finalSpan, finalLength);\n  }\n  function findNearestNodeStartingBeforeOrAtPosition(sourceFile, position) {\n    let bestResult = sourceFile;\n    let lastNodeEntirelyBeforePosition;\n    forEachChild(sourceFile, visit);\n    if (lastNodeEntirelyBeforePosition) {\n      const lastChildOfLastEntireNodeBeforePosition = getLastDescendant(lastNodeEntirelyBeforePosition);\n      if (lastChildOfLastEntireNodeBeforePosition.pos > bestResult.pos) {\n        bestResult = lastChildOfLastEntireNodeBeforePosition;\n      }\n    }\n    return bestResult;\n    function getLastDescendant(node) {\n      while (true) {\n        const lastChild = getLastChild(node);\n        if (lastChild) {\n          node = lastChild;\n        } else {\n          return node;\n        }\n      }\n    }\n    function visit(child) {\n      if (nodeIsMissing(child)) {\n        return;\n      }\n      if (child.pos <= position) {\n        if (child.pos >= bestResult.pos) {\n          bestResult = child;\n        }\n        if (position < child.end) {\n          forEachChild(child, visit);\n          return true;\n        } else {\n          Debug.assert(child.end <= position);\n          lastNodeEntirelyBeforePosition = child;\n        }\n      } else {\n        Debug.assert(child.pos > position);\n        return true;\n      }\n    }\n  }\n  function checkChangeRange(sourceFile, newText, textChangeRange, aggressiveChecks) {\n    const oldText = sourceFile.text;\n    if (textChangeRange) {\n      Debug.assert(oldText.length - textChangeRange.span.length + textChangeRange.newLength === newText.length);\n      if (aggressiveChecks || Debug.shouldAssert(3 /* VeryAggressive */)) {\n        const oldTextPrefix = oldText.substr(0, textChangeRange.span.start);\n        const newTextPrefix = newText.substr(0, textChangeRange.span.start);\n        Debug.assert(oldTextPrefix === newTextPrefix);\n        const oldTextSuffix = oldText.substring(textSpanEnd(textChangeRange.span), oldText.length);\n        const newTextSuffix = newText.substring(textSpanEnd(textChangeRangeNewSpan(textChangeRange)), newText.length);\n        Debug.assert(oldTextSuffix === newTextSuffix);\n      }\n    }\n  }\n  function createSyntaxCursor(sourceFile) {\n    let currentArray = sourceFile.statements;\n    let currentArrayIndex = 0;\n    Debug.assert(currentArrayIndex < currentArray.length);\n    let current = currentArray[currentArrayIndex];\n    let lastQueriedPosition = InvalidPosition.Value;\n    return {\n      currentNode(position) {\n        if (position !== lastQueriedPosition) {\n          if (current && current.end === position && currentArrayIndex < currentArray.length - 1) {\n            currentArrayIndex++;\n            current = currentArray[currentArrayIndex];\n          }\n          if (!current || current.pos !== position) {\n            findHighestListElementThatStartsAtPosition(position);\n          }\n        }\n        lastQueriedPosition = position;\n        Debug.assert(!current || current.pos === position);\n        return current;\n      }\n    };\n    function findHighestListElementThatStartsAtPosition(position) {\n      currentArray = void 0;\n      currentArrayIndex = InvalidPosition.Value;\n      current = void 0;\n      forEachChild(sourceFile, visitNode3, visitArray2);\n      return;\n      function visitNode3(node) {\n        if (position >= node.pos && position < node.end) {\n          forEachChild(node, visitNode3, visitArray2);\n          return true;\n        }\n        return false;\n      }\n      function visitArray2(array) {\n        if (position >= array.pos && position < array.end) {\n          for (let i = 0; i < array.length; i++) {\n            const child = array[i];\n            if (child) {\n              if (child.pos === position) {\n                currentArray = array;\n                currentArrayIndex = i;\n                current = child;\n                return true;\n              } else {\n                if (child.pos < position && position < child.end) {\n                  forEachChild(child, visitNode3, visitArray2);\n                  return true;\n                }\n              }\n            }\n          }\n        }\n        return false;\n      }\n    }\n  }\n  IncrementalParser2.createSyntaxCursor = createSyntaxCursor;\n  let InvalidPosition;\n  ((InvalidPosition2) => {\n    InvalidPosition2[InvalidPosition2[\"Value\"] = -1] = \"Value\";\n  })(InvalidPosition || (InvalidPosition = {}));\n})(IncrementalParser || (IncrementalParser = {}));\nfunction isDeclarationFileName(fileName) {\n  return fileExtensionIsOneOf(fileName, supportedDeclarationExtensions);\n}\nfunction parseResolutionMode(mode, pos, end, reportDiagnostic) {\n  if (!mode) {\n    return void 0;\n  }\n  if (mode === \"import\") {\n    return 99 /* ESNext */;\n  }\n  if (mode === \"require\") {\n    return 1 /* CommonJS */;\n  }\n  reportDiagnostic(pos, end - pos, Diagnostics.resolution_mode_should_be_either_require_or_import);\n  return void 0;\n}\nfunction processCommentPragmas(context, sourceText) {\n  const pragmas = [];\n  for (const range of getLeadingCommentRanges(sourceText, 0) || emptyArray) {\n    const comment = sourceText.substring(range.pos, range.end);\n    extractPragmas(pragmas, range, comment);\n  }\n  context.pragmas = new Map2();\n  for (const pragma of pragmas) {\n    if (context.pragmas.has(pragma.name)) {\n      const currentValue = context.pragmas.get(pragma.name);\n      if (currentValue instanceof Array) {\n        currentValue.push(pragma.args);\n      } else {\n        context.pragmas.set(pragma.name, [currentValue, pragma.args]);\n      }\n      continue;\n    }\n    context.pragmas.set(pragma.name, pragma.args);\n  }\n}\nfunction processPragmasIntoFields(context, reportDiagnostic) {\n  context.checkJsDirective = void 0;\n  context.referencedFiles = [];\n  context.typeReferenceDirectives = [];\n  context.libReferenceDirectives = [];\n  context.amdDependencies = [];\n  context.hasNoDefaultLib = false;\n  context.pragmas.forEach((entryOrList, key) => {\n    switch (key) {\n      case \"reference\": {\n        const referencedFiles = context.referencedFiles;\n        const typeReferenceDirectives = context.typeReferenceDirectives;\n        const libReferenceDirectives = context.libReferenceDirectives;\n        forEach(toArray(entryOrList), (arg) => {\n          const { types, lib, path, [\"resolution-mode\"]: res } = arg.arguments;\n          if (arg.arguments[\"no-default-lib\"]) {\n            context.hasNoDefaultLib = true;\n          } else if (types) {\n            const parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic);\n            typeReferenceDirectives.push({ pos: types.pos, end: types.end, fileName: types.value, ...parsed ? { resolutionMode: parsed } : {} });\n          } else if (lib) {\n            libReferenceDirectives.push({ pos: lib.pos, end: lib.end, fileName: lib.value });\n          } else if (path) {\n            referencedFiles.push({ pos: path.pos, end: path.end, fileName: path.value });\n          } else {\n            reportDiagnostic(arg.range.pos, arg.range.end - arg.range.pos, Diagnostics.Invalid_reference_directive_syntax);\n          }\n        });\n        break;\n      }\n      case \"amd-dependency\": {\n        context.amdDependencies = map(\n          toArray(entryOrList),\n          (x) => ({ name: x.arguments.name, path: x.arguments.path })\n        );\n        break;\n      }\n      case \"amd-module\": {\n        if (entryOrList instanceof Array) {\n          for (const entry of entryOrList) {\n            if (context.moduleName) {\n              reportDiagnostic(entry.range.pos, entry.range.end - entry.range.pos, Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments);\n            }\n            context.moduleName = entry.arguments.name;\n          }\n        } else {\n          context.moduleName = entryOrList.arguments.name;\n        }\n        break;\n      }\n      case \"ts-nocheck\":\n      case \"ts-check\": {\n        forEach(toArray(entryOrList), (entry) => {\n          if (!context.checkJsDirective || entry.range.pos > context.checkJsDirective.pos) {\n            context.checkJsDirective = {\n              enabled: key === \"ts-check\",\n              end: entry.range.end,\n              pos: entry.range.pos\n            };\n          }\n        });\n        break;\n      }\n      case \"jsx\":\n      case \"jsxfrag\":\n      case \"jsximportsource\":\n      case \"jsxruntime\":\n        return;\n      default:\n        Debug.fail(\"Unhandled pragma kind\");\n    }\n  });\n}\nvar namedArgRegExCache = new Map2();\nfunction getNamedArgRegEx(name) {\n  if (namedArgRegExCache.has(name)) {\n    return namedArgRegExCache.get(name);\n  }\n  const result = new RegExp(`(\\\\s${name}\\\\s*=\\\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))`, \"im\");\n  namedArgRegExCache.set(name, result);\n  return result;\n}\nvar tripleSlashXMLCommentStartRegEx = /^\\/\\/\\/\\s*<(\\S+)\\s.*?\\/>/im;\nvar singleLinePragmaRegEx = /^\\/\\/\\/?\\s*@(\\S+)\\s*(.*)\\s*$/im;\nfunction extractPragmas(pragmas, range, text) {\n  const tripleSlash = range.kind === 2 /* SingleLineCommentTrivia */ && tripleSlashXMLCommentStartRegEx.exec(text);\n  if (tripleSlash) {\n    const name = tripleSlash[1].toLowerCase();\n    const pragma = commentPragmas[name];\n    if (!pragma || !(pragma.kind & 1 /* TripleSlashXML */)) {\n      return;\n    }\n    if (pragma.args) {\n      const argument = {};\n      for (const arg of pragma.args) {\n        const matcher = getNamedArgRegEx(arg.name);\n        const matchResult = matcher.exec(text);\n        if (!matchResult && !arg.optional) {\n          return;\n        } else if (matchResult) {\n          const value = matchResult[2] || matchResult[3];\n          if (arg.captureSpan) {\n            const startPos = range.pos + matchResult.index + matchResult[1].length + 1;\n            argument[arg.name] = {\n              value,\n              pos: startPos,\n              end: startPos + value.length\n            };\n          } else {\n            argument[arg.name] = value;\n          }\n        }\n      }\n      pragmas.push({ name, args: { arguments: argument, range } });\n    } else {\n      pragmas.push({ name, args: { arguments: {}, range } });\n    }\n    return;\n  }\n  const singleLine = range.kind === 2 /* SingleLineCommentTrivia */ && singleLinePragmaRegEx.exec(text);\n  if (singleLine) {\n    return addPragmaForMatch(pragmas, range, 2 /* SingleLine */, singleLine);\n  }\n  if (range.kind === 3 /* MultiLineCommentTrivia */) {\n    const multiLinePragmaRegEx = /@(\\S+)(\\s+.*)?$/gim;\n    let multiLineMatch;\n    while (multiLineMatch = multiLinePragmaRegEx.exec(text)) {\n      addPragmaForMatch(pragmas, range, 4 /* MultiLine */, multiLineMatch);\n    }\n  }\n}\nfunction addPragmaForMatch(pragmas, range, kind, match) {\n  if (!match)\n    return;\n  const name = match[1].toLowerCase();\n  const pragma = commentPragmas[name];\n  if (!pragma || !(pragma.kind & kind)) {\n    return;\n  }\n  const args = match[2];\n  const argument = getNamedPragmaArguments(pragma, args);\n  if (argument === \"fail\")\n    return;\n  pragmas.push({ name, args: { arguments: argument, range } });\n  return;\n}\nfunction getNamedPragmaArguments(pragma, text) {\n  if (!text)\n    return {};\n  if (!pragma.args)\n    return {};\n  const args = trimString(text).split(/\\s+/);\n  const argMap = {};\n  for (let i = 0; i < pragma.args.length; i++) {\n    const argument = pragma.args[i];\n    if (!args[i] && !argument.optional) {\n      return \"fail\";\n    }\n    if (argument.captureSpan) {\n      return Debug.fail(\"Capture spans not yet implemented for non-xml pragmas\");\n    }\n    argMap[argument.name] = args[i];\n  }\n  return argMap;\n}\nfunction tagNamesAreEquivalent(lhs, rhs) {\n  if (lhs.kind !== rhs.kind) {\n    return false;\n  }\n  if (lhs.kind === 79 /* Identifier */) {\n    return lhs.escapedText === rhs.escapedText;\n  }\n  if (lhs.kind === 109 /* ThisKeyword */) {\n    return true;\n  }\n  return lhs.name.escapedText === rhs.name.escapedText && tagNamesAreEquivalent(lhs.expression, rhs.expression);\n}\n\n// src/compiler/commandLineParser.ts\nvar compileOnSaveCommandLineOption = {\n  name: \"compileOnSave\",\n  type: \"boolean\",\n  defaultValueDescription: false\n};\nvar jsxOptionMap = new Map2(getEntries({\n  \"preserve\": 1 /* Preserve */,\n  \"react-native\": 3 /* ReactNative */,\n  \"react\": 2 /* React */,\n  \"react-jsx\": 4 /* ReactJSX */,\n  \"react-jsxdev\": 5 /* ReactJSXDev */\n}));\nvar inverseJsxOptionMap = new Map2(arrayFrom(mapIterator(jsxOptionMap.entries(), ([key, value]) => [\"\" + value, key])));\nvar libEntries = [\n  [\"es5\", \"lib.es5.d.ts\"],\n  [\"es6\", \"lib.es2015.d.ts\"],\n  [\"es2015\", \"lib.es2015.d.ts\"],\n  [\"es7\", \"lib.es2016.d.ts\"],\n  [\"es2016\", \"lib.es2016.d.ts\"],\n  [\"es2017\", \"lib.es2017.d.ts\"],\n  [\"es2018\", \"lib.es2018.d.ts\"],\n  [\"es2019\", \"lib.es2019.d.ts\"],\n  [\"es2020\", \"lib.es2020.d.ts\"],\n  [\"es2021\", \"lib.es2021.d.ts\"],\n  [\"es2022\", \"lib.es2022.d.ts\"],\n  [\"esnext\", \"lib.esnext.d.ts\"],\n  [\"dom\", \"lib.dom.d.ts\"],\n  [\"dom.iterable\", \"lib.dom.iterable.d.ts\"],\n  [\"webworker\", \"lib.webworker.d.ts\"],\n  [\"webworker.importscripts\", \"lib.webworker.importscripts.d.ts\"],\n  [\"webworker.iterable\", \"lib.webworker.iterable.d.ts\"],\n  [\"scripthost\", \"lib.scripthost.d.ts\"],\n  [\"es2015.core\", \"lib.es2015.core.d.ts\"],\n  [\"es2015.collection\", \"lib.es2015.collection.d.ts\"],\n  [\"es2015.generator\", \"lib.es2015.generator.d.ts\"],\n  [\"es2015.iterable\", \"lib.es2015.iterable.d.ts\"],\n  [\"es2015.promise\", \"lib.es2015.promise.d.ts\"],\n  [\"es2015.proxy\", \"lib.es2015.proxy.d.ts\"],\n  [\"es2015.reflect\", \"lib.es2015.reflect.d.ts\"],\n  [\"es2015.symbol\", \"lib.es2015.symbol.d.ts\"],\n  [\"es2015.symbol.wellknown\", \"lib.es2015.symbol.wellknown.d.ts\"],\n  [\"es2016.array.include\", \"lib.es2016.array.include.d.ts\"],\n  [\"es2017.object\", \"lib.es2017.object.d.ts\"],\n  [\"es2017.sharedmemory\", \"lib.es2017.sharedmemory.d.ts\"],\n  [\"es2017.string\", \"lib.es2017.string.d.ts\"],\n  [\"es2017.intl\", \"lib.es2017.intl.d.ts\"],\n  [\"es2017.typedarrays\", \"lib.es2017.typedarrays.d.ts\"],\n  [\"es2018.asyncgenerator\", \"lib.es2018.asyncgenerator.d.ts\"],\n  [\"es2018.asynciterable\", \"lib.es2018.asynciterable.d.ts\"],\n  [\"es2018.intl\", \"lib.es2018.intl.d.ts\"],\n  [\"es2018.promise\", \"lib.es2018.promise.d.ts\"],\n  [\"es2018.regexp\", \"lib.es2018.regexp.d.ts\"],\n  [\"es2019.array\", \"lib.es2019.array.d.ts\"],\n  [\"es2019.object\", \"lib.es2019.object.d.ts\"],\n  [\"es2019.string\", \"lib.es2019.string.d.ts\"],\n  [\"es2019.symbol\", \"lib.es2019.symbol.d.ts\"],\n  [\"es2019.intl\", \"lib.es2019.intl.d.ts\"],\n  [\"es2020.bigint\", \"lib.es2020.bigint.d.ts\"],\n  [\"es2020.date\", \"lib.es2020.date.d.ts\"],\n  [\"es2020.promise\", \"lib.es2020.promise.d.ts\"],\n  [\"es2020.sharedmemory\", \"lib.es2020.sharedmemory.d.ts\"],\n  [\"es2020.string\", \"lib.es2020.string.d.ts\"],\n  [\"es2020.symbol.wellknown\", \"lib.es2020.symbol.wellknown.d.ts\"],\n  [\"es2020.intl\", \"lib.es2020.intl.d.ts\"],\n  [\"es2020.number\", \"lib.es2020.number.d.ts\"],\n  [\"es2021.promise\", \"lib.es2021.promise.d.ts\"],\n  [\"es2021.string\", \"lib.es2021.string.d.ts\"],\n  [\"es2021.weakref\", \"lib.es2021.weakref.d.ts\"],\n  [\"es2021.intl\", \"lib.es2021.intl.d.ts\"],\n  [\"es2022.array\", \"lib.es2022.array.d.ts\"],\n  [\"es2022.error\", \"lib.es2022.error.d.ts\"],\n  [\"es2022.intl\", \"lib.es2022.intl.d.ts\"],\n  [\"es2022.object\", \"lib.es2022.object.d.ts\"],\n  [\"es2022.sharedmemory\", \"lib.es2022.sharedmemory.d.ts\"],\n  [\"es2022.string\", \"lib.es2022.string.d.ts\"],\n  [\"esnext.array\", \"lib.es2022.array.d.ts\"],\n  [\"esnext.symbol\", \"lib.es2019.symbol.d.ts\"],\n  [\"esnext.asynciterable\", \"lib.es2018.asynciterable.d.ts\"],\n  [\"esnext.intl\", \"lib.esnext.intl.d.ts\"],\n  [\"esnext.bigint\", \"lib.es2020.bigint.d.ts\"],\n  [\"esnext.string\", \"lib.es2022.string.d.ts\"],\n  [\"esnext.promise\", \"lib.es2021.promise.d.ts\"],\n  [\"esnext.weakref\", \"lib.es2021.weakref.d.ts\"]\n];\nvar libs = libEntries.map((entry) => entry[0]);\nvar libMap = new Map2(libEntries);\nvar optionsForWatch = [\n  {\n    name: \"watchFile\",\n    type: new Map2(getEntries({\n      fixedpollinginterval: 0 /* FixedPollingInterval */,\n      prioritypollinginterval: 1 /* PriorityPollingInterval */,\n      dynamicprioritypolling: 2 /* DynamicPriorityPolling */,\n      fixedchunksizepolling: 3 /* FixedChunkSizePolling */,\n      usefsevents: 4 /* UseFsEvents */,\n      usefseventsonparentdirectory: 5 /* UseFsEventsOnParentDirectory */\n    })),\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Specify_how_the_TypeScript_watch_mode_works,\n    defaultValueDescription: 4 /* UseFsEvents */\n  },\n  {\n    name: \"watchDirectory\",\n    type: new Map2(getEntries({\n      usefsevents: 0 /* UseFsEvents */,\n      fixedpollinginterval: 1 /* FixedPollingInterval */,\n      dynamicprioritypolling: 2 /* DynamicPriorityPolling */,\n      fixedchunksizepolling: 3 /* FixedChunkSizePolling */\n    })),\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,\n    defaultValueDescription: 0 /* UseFsEvents */\n  },\n  {\n    name: \"fallbackPolling\",\n    type: new Map2(getEntries({\n      fixedinterval: 0 /* FixedInterval */,\n      priorityinterval: 1 /* PriorityInterval */,\n      dynamicpriority: 2 /* DynamicPriority */,\n      fixedchunksize: 3 /* FixedChunkSize */\n    })),\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,\n    defaultValueDescription: 1 /* PriorityInterval */\n  },\n  {\n    name: \"synchronousWatchDirectory\",\n    type: \"boolean\",\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,\n    defaultValueDescription: false\n  },\n  {\n    name: \"excludeDirectories\",\n    type: \"list\",\n    element: {\n      name: \"excludeDirectory\",\n      type: \"string\",\n      isFilePath: true,\n      extraValidation: specToDiagnostic\n    },\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Remove_a_list_of_directories_from_the_watch_process\n  },\n  {\n    name: \"excludeFiles\",\n    type: \"list\",\n    element: {\n      name: \"excludeFile\",\n      type: \"string\",\n      isFilePath: true,\n      extraValidation: specToDiagnostic\n    },\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Remove_a_list_of_files_from_the_watch_mode_s_processing\n  }\n];\nvar commonOptionsWithBuild = [\n  {\n    name: \"help\",\n    shortName: \"h\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    isCommandLineOnly: true,\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Print_this_message,\n    defaultValueDescription: false\n  },\n  {\n    name: \"help\",\n    shortName: \"?\",\n    type: \"boolean\",\n    isCommandLineOnly: true,\n    category: Diagnostics.Command_line_Options,\n    defaultValueDescription: false\n  },\n  {\n    name: \"watch\",\n    shortName: \"w\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    isCommandLineOnly: true,\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Watch_input_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"preserveWatchOutput\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: false,\n    category: Diagnostics.Output_Formatting,\n    description: Diagnostics.Disable_wiping_the_console_in_watch_mode,\n    defaultValueDescription: false\n  },\n  {\n    name: \"listFiles\",\n    type: \"boolean\",\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Print_all_of_the_files_read_during_the_compilation,\n    defaultValueDescription: false\n  },\n  {\n    name: \"explainFiles\",\n    type: \"boolean\",\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Print_files_read_during_the_compilation_including_why_it_was_included,\n    defaultValueDescription: false\n  },\n  {\n    name: \"listEmittedFiles\",\n    type: \"boolean\",\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Print_the_names_of_emitted_files_after_a_compilation,\n    defaultValueDescription: false\n  },\n  {\n    name: \"pretty\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Output_Formatting,\n    description: Diagnostics.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,\n    defaultValueDescription: true\n  },\n  {\n    name: \"traceResolution\",\n    type: \"boolean\",\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Log_paths_used_during_the_moduleResolution_process,\n    defaultValueDescription: false\n  },\n  {\n    name: \"diagnostics\",\n    type: \"boolean\",\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Output_compiler_performance_information_after_building,\n    defaultValueDescription: false\n  },\n  {\n    name: \"extendedDiagnostics\",\n    type: \"boolean\",\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Output_more_detailed_compiler_performance_information_after_building,\n    defaultValueDescription: false\n  },\n  {\n    name: \"generateCpuProfile\",\n    type: \"string\",\n    isFilePath: true,\n    paramType: Diagnostics.FILE_OR_DIRECTORY,\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,\n    defaultValueDescription: \"profile.cpuprofile\"\n  },\n  {\n    name: \"generateTrace\",\n    type: \"string\",\n    isFilePath: true,\n    isCommandLineOnly: true,\n    paramType: Diagnostics.DIRECTORY,\n    category: Diagnostics.Compiler_Diagnostics,\n    description: Diagnostics.Generates_an_event_trace_and_a_list_of_types\n  },\n  {\n    name: \"incremental\",\n    shortName: \"i\",\n    type: \"boolean\",\n    category: Diagnostics.Projects,\n    description: Diagnostics.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,\n    transpileOptionValue: void 0,\n    defaultValueDescription: Diagnostics.false_unless_composite_is_set\n  },\n  {\n    name: \"assumeChangesOnlyAffectDirectDependencies\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Watch_and_Build_Modes,\n    description: Diagnostics.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,\n    defaultValueDescription: false\n  },\n  {\n    name: \"locale\",\n    type: \"string\",\n    category: Diagnostics.Command_line_Options,\n    isCommandLineOnly: true,\n    description: Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,\n    defaultValueDescription: Diagnostics.Platform_specific\n  }\n];\nvar targetOptionDeclaration = {\n  name: \"target\",\n  shortName: \"t\",\n  type: new Map2(getEntries({\n    es3: 0 /* ES3 */,\n    es5: 1 /* ES5 */,\n    es6: 2 /* ES2015 */,\n    es2015: 2 /* ES2015 */,\n    es2016: 3 /* ES2016 */,\n    es2017: 4 /* ES2017 */,\n    es2018: 5 /* ES2018 */,\n    es2019: 6 /* ES2019 */,\n    es2020: 7 /* ES2020 */,\n    es2021: 8 /* ES2021 */,\n    es2022: 9 /* ES2022 */,\n    esnext: 99 /* ESNext */\n  })),\n  affectsSourceFile: true,\n  affectsModuleResolution: true,\n  affectsEmit: true,\n  affectsMultiFileEmitBuildInfo: true,\n  paramType: Diagnostics.VERSION,\n  showInSimplifiedHelpView: true,\n  category: Diagnostics.Language_and_Environment,\n  description: Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,\n  defaultValueDescription: 0 /* ES3 */\n};\nvar moduleOptionDeclaration = {\n  name: \"module\",\n  shortName: \"m\",\n  type: new Map2(getEntries({\n    none: 0 /* None */,\n    commonjs: 1 /* CommonJS */,\n    amd: 2 /* AMD */,\n    system: 4 /* System */,\n    umd: 3 /* UMD */,\n    es6: 5 /* ES2015 */,\n    es2015: 5 /* ES2015 */,\n    es2020: 6 /* ES2020 */,\n    es2022: 7 /* ES2022 */,\n    esnext: 99 /* ESNext */,\n    node16: 100 /* Node16 */,\n    nodenext: 199 /* NodeNext */\n  })),\n  affectsModuleResolution: true,\n  affectsEmit: true,\n  affectsMultiFileEmitBuildInfo: true,\n  paramType: Diagnostics.KIND,\n  showInSimplifiedHelpView: true,\n  category: Diagnostics.Modules,\n  description: Diagnostics.Specify_what_module_code_is_generated,\n  defaultValueDescription: void 0\n};\nvar commandOptionsWithoutBuild = [\n  {\n    name: \"all\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Show_all_compiler_options,\n    defaultValueDescription: false\n  },\n  {\n    name: \"version\",\n    shortName: \"v\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Print_the_compiler_s_version,\n    defaultValueDescription: false\n  },\n  {\n    name: \"init\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,\n    defaultValueDescription: false\n  },\n  {\n    name: \"project\",\n    shortName: \"p\",\n    type: \"string\",\n    isFilePath: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Command_line_Options,\n    paramType: Diagnostics.FILE_OR_DIRECTORY,\n    description: Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json\n  },\n  {\n    name: \"build\",\n    type: \"boolean\",\n    shortName: \"b\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,\n    defaultValueDescription: false\n  },\n  {\n    name: \"showConfig\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Command_line_Options,\n    isCommandLineOnly: true,\n    description: Diagnostics.Print_the_final_configuration_instead_of_building,\n    defaultValueDescription: false\n  },\n  {\n    name: \"listFilesOnly\",\n    type: \"boolean\",\n    category: Diagnostics.Command_line_Options,\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    isCommandLineOnly: true,\n    description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,\n    defaultValueDescription: false\n  },\n  targetOptionDeclaration,\n  moduleOptionDeclaration,\n  {\n    name: \"lib\",\n    type: \"list\",\n    element: {\n      name: \"lib\",\n      type: libMap,\n      defaultValueDescription: void 0\n    },\n    affectsProgramStructure: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,\n    transpileOptionValue: void 0\n  },\n  {\n    name: \"allowJs\",\n    type: \"boolean\",\n    affectsModuleResolution: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.JavaScript_Support,\n    description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"checkJs\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.JavaScript_Support,\n    description: Diagnostics.Enable_error_reporting_in_type_checked_JavaScript_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"jsx\",\n    type: jsxOptionMap,\n    affectsSourceFile: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsModuleResolution: true,\n    paramType: Diagnostics.KIND,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Specify_what_JSX_code_is_generated,\n    defaultValueDescription: void 0\n  },\n  {\n    name: \"declaration\",\n    shortName: \"d\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    transpileOptionValue: void 0,\n    description: Diagnostics.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,\n    defaultValueDescription: Diagnostics.false_unless_composite_is_set\n  },\n  {\n    name: \"declarationMap\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    transpileOptionValue: void 0,\n    defaultValueDescription: false,\n    description: Diagnostics.Create_sourcemaps_for_d_ts_files\n  },\n  {\n    name: \"emitDeclarationOnly\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Only_output_d_ts_files_and_not_JavaScript_files,\n    transpileOptionValue: void 0,\n    defaultValueDescription: false\n  },\n  {\n    name: \"sourceMap\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    defaultValueDescription: false,\n    description: Diagnostics.Create_source_map_files_for_emitted_JavaScript_files\n  },\n  {\n    name: \"outFile\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsDeclarationPath: true,\n    affectsBundleEmitBuildInfo: true,\n    isFilePath: true,\n    paramType: Diagnostics.FILE,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,\n    transpileOptionValue: void 0\n  },\n  {\n    name: \"outDir\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsDeclarationPath: true,\n    isFilePath: true,\n    paramType: Diagnostics.DIRECTORY,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Specify_an_output_folder_for_all_emitted_files\n  },\n  {\n    name: \"rootDir\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsDeclarationPath: true,\n    isFilePath: true,\n    paramType: Diagnostics.LOCATION,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Specify_the_root_folder_within_your_source_files,\n    defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files\n  },\n  {\n    name: \"composite\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsBundleEmitBuildInfo: true,\n    isTSConfigOnly: true,\n    category: Diagnostics.Projects,\n    transpileOptionValue: void 0,\n    defaultValueDescription: false,\n    description: Diagnostics.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references\n  },\n  {\n    name: \"tsBuildInfoFile\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsBundleEmitBuildInfo: true,\n    isFilePath: true,\n    paramType: Diagnostics.FILE,\n    category: Diagnostics.Projects,\n    transpileOptionValue: void 0,\n    defaultValueDescription: \".tsbuildinfo\",\n    description: Diagnostics.Specify_the_path_to_tsbuildinfo_incremental_compilation_file\n  },\n  {\n    name: \"removeComments\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    defaultValueDescription: false,\n    description: Diagnostics.Disable_emitting_comments\n  },\n  {\n    name: \"noEmit\",\n    type: \"boolean\",\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Disable_emitting_files_from_a_compilation,\n    transpileOptionValue: void 0,\n    defaultValueDescription: false\n  },\n  {\n    name: \"importHelpers\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,\n    defaultValueDescription: false\n  },\n  {\n    name: \"importsNotUsedAsValues\",\n    type: new Map2(getEntries({\n      remove: 0 /* Remove */,\n      preserve: 1 /* Preserve */,\n      error: 2 /* Error */\n    })),\n    affectsEmit: true,\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,\n    defaultValueDescription: 0 /* Remove */\n  },\n  {\n    name: \"downlevelIteration\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,\n    defaultValueDescription: false\n  },\n  {\n    name: \"isolatedModules\",\n    type: \"boolean\",\n    category: Diagnostics.Interop_Constraints,\n    description: Diagnostics.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,\n    transpileOptionValue: true,\n    defaultValueDescription: false\n  },\n  {\n    name: \"strict\",\n    type: \"boolean\",\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enable_all_strict_type_checking_options,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noImplicitAny\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"strictNullChecks\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.When_type_checking_take_into_account_null_and_undefined,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"strictFunctionTypes\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"strictBindCallApply\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"strictPropertyInitialization\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"noImplicitThis\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enable_error_reporting_when_this_is_given_the_type_any,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"useUnknownInCatchVariables\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Default_catch_clause_variables_as_unknown_instead_of_any,\n    defaultValueDescription: false\n  },\n  {\n    name: \"alwaysStrict\",\n    type: \"boolean\",\n    affectsSourceFile: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    strictFlag: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Ensure_use_strict_is_always_emitted,\n    defaultValueDescription: Diagnostics.false_unless_strict_is_set\n  },\n  {\n    name: \"noUnusedLocals\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enable_error_reporting_when_local_variables_aren_t_read,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noUnusedParameters\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Raise_an_error_when_a_function_parameter_isn_t_read,\n    defaultValueDescription: false\n  },\n  {\n    name: \"exactOptionalPropertyTypes\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Interpret_optional_property_types_as_written_rather_than_adding_undefined,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noImplicitReturns\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noFallthroughCasesInSwitch\",\n    type: \"boolean\",\n    affectsBindDiagnostics: true,\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noUncheckedIndexedAccess\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Add_undefined_to_a_type_when_accessed_using_an_index,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noImplicitOverride\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noPropertyAccessFromIndexSignature\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: false,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,\n    defaultValueDescription: false\n  },\n  {\n    name: \"moduleResolution\",\n    type: new Map2(getEntries({\n      node: 2 /* NodeJs */,\n      classic: 1 /* Classic */,\n      node16: 3 /* Node16 */,\n      nodenext: 99 /* NodeNext */\n    })),\n    affectsModuleResolution: true,\n    paramType: Diagnostics.STRATEGY,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,\n    defaultValueDescription: Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node\n  },\n  {\n    name: \"baseUrl\",\n    type: \"string\",\n    affectsModuleResolution: true,\n    isFilePath: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Specify_the_base_directory_to_resolve_non_relative_module_names\n  },\n  {\n    name: \"paths\",\n    type: \"object\",\n    affectsModuleResolution: true,\n    isTSConfigOnly: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,\n    transpileOptionValue: void 0\n  },\n  {\n    name: \"rootDirs\",\n    type: \"list\",\n    isTSConfigOnly: true,\n    element: {\n      name: \"rootDirs\",\n      type: \"string\",\n      isFilePath: true\n    },\n    affectsModuleResolution: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,\n    transpileOptionValue: void 0,\n    defaultValueDescription: Diagnostics.Computed_from_the_list_of_input_files\n  },\n  {\n    name: \"typeRoots\",\n    type: \"list\",\n    element: {\n      name: \"typeRoots\",\n      type: \"string\",\n      isFilePath: true\n    },\n    affectsModuleResolution: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types\n  },\n  {\n    name: \"types\",\n    type: \"list\",\n    element: {\n      name: \"types\",\n      type: \"string\"\n    },\n    affectsProgramStructure: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,\n    transpileOptionValue: void 0\n  },\n  {\n    name: \"allowSyntheticDefaultImports\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Interop_Constraints,\n    description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,\n    defaultValueDescription: Diagnostics.module_system_or_esModuleInterop\n  },\n  {\n    name: \"esModuleInterop\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    showInSimplifiedHelpView: true,\n    category: Diagnostics.Interop_Constraints,\n    description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,\n    defaultValueDescription: false\n  },\n  {\n    name: \"preserveSymlinks\",\n    type: \"boolean\",\n    category: Diagnostics.Interop_Constraints,\n    description: Diagnostics.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,\n    defaultValueDescription: false\n  },\n  {\n    name: \"allowUmdGlobalAccess\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Allow_accessing_UMD_globals_from_modules,\n    defaultValueDescription: false\n  },\n  {\n    name: \"moduleSuffixes\",\n    type: \"list\",\n    element: {\n      name: \"suffix\",\n      type: \"string\"\n    },\n    listPreserveFalsyValues: true,\n    affectsModuleResolution: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.List_of_file_name_suffixes_to_search_when_resolving_a_module\n  },\n  {\n    name: \"sourceRoot\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    paramType: Diagnostics.LOCATION,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code\n  },\n  {\n    name: \"mapRoot\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    paramType: Diagnostics.LOCATION,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations\n  },\n  {\n    name: \"inlineSourceMap\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Include_sourcemap_files_inside_the_emitted_JavaScript,\n    defaultValueDescription: false\n  },\n  {\n    name: \"inlineSources\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,\n    defaultValueDescription: false\n  },\n  {\n    name: \"experimentalDecorators\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Enable_experimental_support_for_TC39_stage_2_draft_decorators,\n    defaultValueDescription: false\n  },\n  {\n    name: \"emitDecoratorMetadata\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Emit_design_type_metadata_for_decorated_declarations_in_source_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"jsxFactory\",\n    type: \"string\",\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,\n    defaultValueDescription: \"`React.createElement`\"\n  },\n  {\n    name: \"jsxFragmentFactory\",\n    type: \"string\",\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,\n    defaultValueDescription: \"React.Fragment\"\n  },\n  {\n    name: \"jsxImportSource\",\n    type: \"string\",\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsModuleResolution: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,\n    defaultValueDescription: \"react\"\n  },\n  {\n    name: \"ets\",\n    type: \"object\",\n    affectsSourceFile: true,\n    affectsEmit: true,\n    affectsModuleResolution: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Unknown_build_option_0\n  },\n  {\n    name: \"packageManagerType\",\n    type: \"string\",\n    affectsSourceFile: true,\n    affectsEmit: true,\n    affectsModuleResolution: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Unknown_build_option_0\n  },\n  {\n    name: \"emitNodeModulesFiles\",\n    type: \"boolean\",\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Unknown_build_option_0,\n    defaultValueDescription: false\n  },\n  {\n    name: \"resolveJsonModule\",\n    type: \"boolean\",\n    affectsModuleResolution: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Enable_importing_json_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"out\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsDeclarationPath: true,\n    affectsBundleEmitBuildInfo: true,\n    isFilePath: false,\n    category: Diagnostics.Backwards_Compatibility,\n    paramType: Diagnostics.FILE,\n    transpileOptionValue: void 0,\n    description: Diagnostics.Deprecated_setting_Use_outFile_instead\n  },\n  {\n    name: \"reactNamespace\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,\n    defaultValueDescription: \"`React`\"\n  },\n  {\n    name: \"skipDefaultLibCheck\",\n    type: \"boolean\",\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Completeness,\n    description: Diagnostics.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,\n    defaultValueDescription: false\n  },\n  {\n    name: \"charset\",\n    type: \"string\",\n    category: Diagnostics.Backwards_Compatibility,\n    description: Diagnostics.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,\n    defaultValueDescription: \"utf8\"\n  },\n  {\n    name: \"emitBOM\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"newLine\",\n    type: new Map2(getEntries({\n      crlf: 0 /* CarriageReturnLineFeed */,\n      lf: 1 /* LineFeed */\n    })),\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    paramType: Diagnostics.NEWLINE,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Set_the_newline_character_for_emitting_files,\n    defaultValueDescription: Diagnostics.Platform_specific\n  },\n  {\n    name: \"noErrorTruncation\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Output_Formatting,\n    description: Diagnostics.Disable_truncating_types_in_error_messages,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noLib\",\n    type: \"boolean\",\n    category: Diagnostics.Language_and_Environment,\n    affectsProgramStructure: true,\n    description: Diagnostics.Disable_including_any_library_files_including_the_default_lib_d_ts,\n    transpileOptionValue: true,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noResolve\",\n    type: \"boolean\",\n    affectsModuleResolution: true,\n    category: Diagnostics.Modules,\n    description: Diagnostics.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,\n    transpileOptionValue: true,\n    defaultValueDescription: false\n  },\n  {\n    name: \"stripInternal\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,\n    defaultValueDescription: false\n  },\n  {\n    name: \"disableSizeLimit\",\n    type: \"boolean\",\n    affectsProgramStructure: true,\n    category: Diagnostics.Editor_Support,\n    description: Diagnostics.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,\n    defaultValueDescription: false\n  },\n  {\n    name: \"disableSourceOfProjectReferenceRedirect\",\n    type: \"boolean\",\n    isTSConfigOnly: true,\n    category: Diagnostics.Projects,\n    description: Diagnostics.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,\n    defaultValueDescription: false\n  },\n  {\n    name: \"disableSolutionSearching\",\n    type: \"boolean\",\n    isTSConfigOnly: true,\n    category: Diagnostics.Projects,\n    description: Diagnostics.Opt_a_project_out_of_multi_project_reference_checking_when_editing,\n    defaultValueDescription: false\n  },\n  {\n    name: \"disableReferencedProjectLoad\",\n    type: \"boolean\",\n    isTSConfigOnly: true,\n    category: Diagnostics.Projects,\n    description: Diagnostics.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noImplicitUseStrict\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Backwards_Compatibility,\n    description: Diagnostics.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noEmitHelpers\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,\n    defaultValueDescription: false\n  },\n  {\n    name: \"noEmitOnError\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    transpileOptionValue: void 0,\n    description: Diagnostics.Disable_emitting_files_if_any_type_checking_errors_are_reported,\n    defaultValueDescription: false\n  },\n  {\n    name: \"preserveConstEnums\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Disable_erasing_const_enum_declarations_in_generated_code,\n    defaultValueDescription: false\n  },\n  {\n    name: \"declarationDir\",\n    type: \"string\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    affectsDeclarationPath: true,\n    isFilePath: true,\n    paramType: Diagnostics.DIRECTORY,\n    category: Diagnostics.Emit,\n    transpileOptionValue: void 0,\n    description: Diagnostics.Specify_the_output_directory_for_generated_declaration_files\n  },\n  {\n    name: \"skipLibCheck\",\n    type: \"boolean\",\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Completeness,\n    description: Diagnostics.Skip_type_checking_all_d_ts_files,\n    defaultValueDescription: false\n  },\n  {\n    name: \"allowUnusedLabels\",\n    type: \"boolean\",\n    affectsBindDiagnostics: true,\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Disable_error_reporting_for_unused_labels,\n    defaultValueDescription: void 0\n  },\n  {\n    name: \"allowUnreachableCode\",\n    type: \"boolean\",\n    affectsBindDiagnostics: true,\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Type_Checking,\n    description: Diagnostics.Disable_error_reporting_for_unreachable_code,\n    defaultValueDescription: void 0\n  },\n  {\n    name: \"suppressExcessPropertyErrors\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Backwards_Compatibility,\n    description: Diagnostics.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,\n    defaultValueDescription: false\n  },\n  {\n    name: \"suppressImplicitAnyIndexErrors\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Backwards_Compatibility,\n    description: Diagnostics.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,\n    defaultValueDescription: false\n  },\n  {\n    name: \"forceConsistentCasingInFileNames\",\n    type: \"boolean\",\n    affectsModuleResolution: true,\n    category: Diagnostics.Interop_Constraints,\n    description: Diagnostics.Ensure_that_casing_is_correct_in_imports,\n    defaultValueDescription: false\n  },\n  {\n    name: \"maxNodeModuleJsDepth\",\n    type: \"number\",\n    affectsModuleResolution: true,\n    category: Diagnostics.JavaScript_Support,\n    description: Diagnostics.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,\n    defaultValueDescription: 0\n  },\n  {\n    name: \"noStrictGenericChecks\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Backwards_Compatibility,\n    description: Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types,\n    defaultValueDescription: false\n  },\n  {\n    name: \"useDefineForClassFields\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Emit_ECMAScript_standard_compliant_class_fields,\n    defaultValueDescription: Diagnostics.true_for_ES2022_and_above_including_ESNext\n  },\n  {\n    name: \"preserveValueImports\",\n    type: \"boolean\",\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Emit,\n    description: Diagnostics.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,\n    defaultValueDescription: false\n  },\n  {\n    name: \"keyofStringsOnly\",\n    type: \"boolean\",\n    category: Diagnostics.Backwards_Compatibility,\n    description: Diagnostics.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,\n    defaultValueDescription: false\n  },\n  {\n    name: \"plugins\",\n    type: \"list\",\n    isTSConfigOnly: true,\n    element: {\n      name: \"plugin\",\n      type: \"object\"\n    },\n    description: Diagnostics.Specify_a_list_of_language_service_plugins_to_include,\n    category: Diagnostics.Editor_Support\n  },\n  {\n    name: \"moduleDetection\",\n    type: new Map2(getEntries({\n      auto: 2 /* Auto */,\n      legacy: 1 /* Legacy */,\n      force: 3 /* Force */\n    })),\n    affectsModuleResolution: true,\n    description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,\n    category: Diagnostics.Language_and_Environment,\n    defaultValueDescription: Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules\n  },\n  {\n    name: \"ignoreDeprecations\",\n    type: \"string\",\n    defaultValueDescription: void 0\n  },\n  {\n    name: \"etsAnnotationsEnable\",\n    type: \"boolean\",\n    affectsSemanticDiagnostics: true,\n    affectsEmit: true,\n    affectsMultiFileEmitBuildInfo: true,\n    category: Diagnostics.Language_and_Environment,\n    description: Diagnostics.Enable_support_of_ETS_annotations,\n    defaultValueDescription: false\n  }\n];\nvar optionDeclarations = [\n  ...commonOptionsWithBuild,\n  ...commandOptionsWithoutBuild\n];\nvar semanticDiagnosticsOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsSemanticDiagnostics);\nvar affectsEmitOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsEmit);\nvar affectsDeclarationPathOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsDeclarationPath);\nvar moduleResolutionOptionDeclarations = optionDeclarations.filter((option) => !!option.affectsModuleResolution);\nvar sourceFileAffectingCompilerOptions = optionDeclarations.filter((option) => !!option.affectsSourceFile || !!option.affectsModuleResolution || !!option.affectsBindDiagnostics);\nvar optionsAffectingProgramStructure = optionDeclarations.filter((option) => !!option.affectsProgramStructure);\nvar transpileOptionValueCompilerOptions = optionDeclarations.filter((option) => hasProperty(option, \"transpileOptionValue\"));\nvar optionsForBuild = [\n  {\n    name: \"verbose\",\n    shortName: \"v\",\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Enable_verbose_logging,\n    type: \"boolean\",\n    defaultValueDescription: false\n  },\n  {\n    name: \"dry\",\n    shortName: \"d\",\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,\n    type: \"boolean\",\n    defaultValueDescription: false\n  },\n  {\n    name: \"force\",\n    shortName: \"f\",\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,\n    type: \"boolean\",\n    defaultValueDescription: false\n  },\n  {\n    name: \"clean\",\n    category: Diagnostics.Command_line_Options,\n    description: Diagnostics.Delete_the_outputs_of_all_projects,\n    type: \"boolean\",\n    defaultValueDescription: false\n  }\n];\nvar buildOpts = [\n  ...commonOptionsWithBuild,\n  ...optionsForBuild\n];\nvar typeAcquisitionDeclarations = [\n  {\n    name: \"enableAutoDiscovery\",\n    type: \"boolean\",\n    defaultValueDescription: false\n  },\n  {\n    name: \"enable\",\n    type: \"boolean\",\n    defaultValueDescription: false\n  },\n  {\n    name: \"include\",\n    type: \"list\",\n    element: {\n      name: \"include\",\n      type: \"string\"\n    }\n  },\n  {\n    name: \"exclude\",\n    type: \"list\",\n    element: {\n      name: \"exclude\",\n      type: \"string\"\n    }\n  },\n  {\n    name: \"disableFilenameBasedTypeAcquisition\",\n    type: \"boolean\",\n    defaultValueDescription: false\n  }\n];\nfunction createOptionNameMap(optionDeclarations2) {\n  const optionsNameMap = new Map2();\n  const shortOptionNames = new Map2();\n  forEach(optionDeclarations2, (option) => {\n    optionsNameMap.set(option.name.toLowerCase(), option);\n    if (option.shortName) {\n      shortOptionNames.set(option.shortName, option.name);\n    }\n  });\n  return { optionsNameMap, shortOptionNames };\n}\nvar optionsNameMapCache;\nfunction getOptionsNameMap() {\n  return optionsNameMapCache || (optionsNameMapCache = createOptionNameMap(optionDeclarations));\n}\nvar compilerOptionsAlternateMode = {\n  diagnostic: Diagnostics.Compiler_option_0_may_only_be_used_with_build,\n  getOptionsNameMap: getBuildOptionsNameMap\n};\nvar defaultInitCompilerOptions = {\n  module: 1 /* CommonJS */,\n  target: 3 /* ES2016 */,\n  strict: true,\n  esModuleInterop: true,\n  forceConsistentCasingInFileNames: true,\n  skipLibCheck: true\n};\nfunction convertEnableAutoDiscoveryToEnable(typeAcquisition) {\n  if (typeAcquisition && typeAcquisition.enableAutoDiscovery !== void 0 && typeAcquisition.enable === void 0) {\n    return {\n      enable: typeAcquisition.enableAutoDiscovery,\n      include: typeAcquisition.include || [],\n      exclude: typeAcquisition.exclude || []\n    };\n  }\n  return typeAcquisition;\n}\nfunction createCompilerDiagnosticForInvalidCustomType(opt) {\n  return createDiagnosticForInvalidCustomType(opt, createCompilerDiagnostic);\n}\nfunction createDiagnosticForInvalidCustomType(opt, createDiagnostic) {\n  const namesOfType = arrayFrom(opt.type.keys()).map((key) => `'${key}'`).join(\", \");\n  return createDiagnostic(Diagnostics.Argument_for_0_option_must_be_Colon_1, `--${opt.name}`, namesOfType);\n}\nfunction parseCustomTypeOption(opt, value, errors) {\n  return convertJsonOptionOfCustomType(opt, trimString(value || \"\"), errors);\n}\nfunction parseListTypeOption(opt, value = \"\", errors) {\n  value = trimString(value);\n  if (startsWith(value, \"-\")) {\n    return void 0;\n  }\n  if (value === \"\") {\n    return [];\n  }\n  const values = value.split(\",\");\n  switch (opt.element.type) {\n    case \"number\":\n      return mapDefined(values, (v) => validateJsonOptionValue(opt.element, parseInt(v), errors));\n    case \"string\":\n      return mapDefined(values, (v) => validateJsonOptionValue(opt.element, v || \"\", errors));\n    default:\n      return mapDefined(values, (v) => parseCustomTypeOption(opt.element, v, errors));\n  }\n}\nfunction getOptionName(option) {\n  return option.name;\n}\nfunction createUnknownOptionError(unknownOption, diagnostics, createDiagnostics, unknownOptionErrorText) {\n  var _a2;\n  if ((_a2 = diagnostics.alternateMode) == null ? void 0 : _a2.getOptionsNameMap().optionsNameMap.has(unknownOption.toLowerCase())) {\n    return createDiagnostics(diagnostics.alternateMode.diagnostic, unknownOption);\n  }\n  const possibleOption = getSpellingSuggestion(unknownOption, diagnostics.optionDeclarations, getOptionName);\n  return possibleOption ? createDiagnostics(diagnostics.unknownDidYouMeanDiagnostic, unknownOptionErrorText || unknownOption, possibleOption.name) : createDiagnostics(diagnostics.unknownOptionDiagnostic, unknownOptionErrorText || unknownOption);\n}\nfunction parseCommandLineWorker(diagnostics, commandLine, readFile) {\n  const options = {};\n  let watchOptions;\n  const fileNames = [];\n  const errors = [];\n  parseStrings(commandLine);\n  return {\n    options,\n    watchOptions,\n    fileNames,\n    errors\n  };\n  function parseStrings(args) {\n    let i = 0;\n    while (i < args.length) {\n      const s = args[i];\n      i++;\n      if (s.charCodeAt(0) === 64 /* at */) {\n        parseResponseFile(s.slice(1));\n      } else if (s.charCodeAt(0) === 45 /* minus */) {\n        const inputOptionName = s.slice(s.charCodeAt(1) === 45 /* minus */ ? 2 : 1);\n        const opt = getOptionDeclarationFromName(diagnostics.getOptionsNameMap, inputOptionName, true);\n        if (opt) {\n          i = parseOptionValue(args, i, diagnostics, opt, options, errors);\n        } else {\n          const watchOpt = getOptionDeclarationFromName(watchOptionsDidYouMeanDiagnostics.getOptionsNameMap, inputOptionName, true);\n          if (watchOpt) {\n            i = parseOptionValue(args, i, watchOptionsDidYouMeanDiagnostics, watchOpt, watchOptions || (watchOptions = {}), errors);\n          } else {\n            errors.push(createUnknownOptionError(inputOptionName, diagnostics, createCompilerDiagnostic, s));\n          }\n        }\n      } else {\n        fileNames.push(s);\n      }\n    }\n  }\n  function parseResponseFile(fileName) {\n    const text = tryReadFile(fileName, readFile || ((fileName2) => sys.readFile(fileName2)));\n    if (!isString(text)) {\n      errors.push(text);\n      return;\n    }\n    const args = [];\n    let pos = 0;\n    while (true) {\n      while (pos < text.length && text.charCodeAt(pos) <= 32 /* space */)\n        pos++;\n      if (pos >= text.length)\n        break;\n      const start = pos;\n      if (text.charCodeAt(start) === 34 /* doubleQuote */) {\n        pos++;\n        while (pos < text.length && text.charCodeAt(pos) !== 34 /* doubleQuote */)\n          pos++;\n        if (pos < text.length) {\n          args.push(text.substring(start + 1, pos));\n          pos++;\n        } else {\n          errors.push(createCompilerDiagnostic(Diagnostics.Unterminated_quoted_string_in_response_file_0, fileName));\n        }\n      } else {\n        while (text.charCodeAt(pos) > 32 /* space */)\n          pos++;\n        args.push(text.substring(start, pos));\n      }\n    }\n    parseStrings(args);\n  }\n}\nfunction parseOptionValue(args, i, diagnostics, opt, options, errors) {\n  if (opt.isTSConfigOnly) {\n    const optValue = args[i];\n    if (optValue === \"null\") {\n      options[opt.name] = void 0;\n      i++;\n    } else if (opt.type === \"boolean\") {\n      if (optValue === \"false\") {\n        options[opt.name] = validateJsonOptionValue(opt, false, errors);\n        i++;\n      } else {\n        if (optValue === \"true\")\n          i++;\n        errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line, opt.name));\n      }\n    } else {\n      errors.push(createCompilerDiagnostic(Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line, opt.name));\n      if (optValue && !startsWith(optValue, \"-\"))\n        i++;\n    }\n  } else {\n    if (!args[i] && opt.type !== \"boolean\") {\n      errors.push(createCompilerDiagnostic(diagnostics.optionTypeMismatchDiagnostic, opt.name, getCompilerOptionValueTypeString(opt)));\n    }\n    if (args[i] !== \"null\") {\n      switch (opt.type) {\n        case \"number\":\n          options[opt.name] = validateJsonOptionValue(opt, parseInt(args[i]), errors);\n          i++;\n          break;\n        case \"boolean\":\n          const optValue = args[i];\n          options[opt.name] = validateJsonOptionValue(opt, optValue !== \"false\", errors);\n          if (optValue === \"false\" || optValue === \"true\") {\n            i++;\n          }\n          break;\n        case \"string\":\n          options[opt.name] = validateJsonOptionValue(opt, args[i] || \"\", errors);\n          i++;\n          break;\n        case \"list\":\n          const result = parseListTypeOption(opt, args[i], errors);\n          options[opt.name] = result || [];\n          if (result) {\n            i++;\n          }\n          break;\n        default:\n          options[opt.name] = parseCustomTypeOption(opt, args[i], errors);\n          i++;\n          break;\n      }\n    } else {\n      options[opt.name] = void 0;\n      i++;\n    }\n  }\n  return i;\n}\nvar compilerOptionsDidYouMeanDiagnostics = {\n  alternateMode: compilerOptionsAlternateMode,\n  getOptionsNameMap,\n  optionDeclarations,\n  unknownOptionDiagnostic: Diagnostics.Unknown_compiler_option_0,\n  unknownDidYouMeanDiagnostic: Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,\n  optionTypeMismatchDiagnostic: Diagnostics.Compiler_option_0_expects_an_argument\n};\nfunction parseCommandLine(commandLine, readFile) {\n  return parseCommandLineWorker(compilerOptionsDidYouMeanDiagnostics, commandLine, readFile);\n}\nfunction getOptionFromName(optionName, allowShort) {\n  return getOptionDeclarationFromName(getOptionsNameMap, optionName, allowShort);\n}\nfunction getOptionDeclarationFromName(getOptionNameMap, optionName, allowShort = false) {\n  optionName = optionName.toLowerCase();\n  const { optionsNameMap, shortOptionNames } = getOptionNameMap();\n  if (allowShort) {\n    const short = shortOptionNames.get(optionName);\n    if (short !== void 0) {\n      optionName = short;\n    }\n  }\n  return optionsNameMap.get(optionName);\n}\nvar buildOptionsNameMapCache;\nfunction getBuildOptionsNameMap() {\n  return buildOptionsNameMapCache || (buildOptionsNameMapCache = createOptionNameMap(buildOpts));\n}\nvar buildOptionsAlternateMode = {\n  diagnostic: Diagnostics.Compiler_option_0_may_not_be_used_with_build,\n  getOptionsNameMap\n};\nvar buildOptionsDidYouMeanDiagnostics = {\n  alternateMode: buildOptionsAlternateMode,\n  getOptionsNameMap: getBuildOptionsNameMap,\n  optionDeclarations: buildOpts,\n  unknownOptionDiagnostic: Diagnostics.Unknown_build_option_0,\n  unknownDidYouMeanDiagnostic: Diagnostics.Unknown_build_option_0_Did_you_mean_1,\n  optionTypeMismatchDiagnostic: Diagnostics.Build_option_0_requires_a_value_of_type_1\n};\nfunction parseBuildCommand(args) {\n  const { options, watchOptions, fileNames: projects, errors } = parseCommandLineWorker(\n    buildOptionsDidYouMeanDiagnostics,\n    args\n  );\n  const buildOptions = options;\n  if (projects.length === 0) {\n    projects.push(\".\");\n  }\n  if (buildOptions.clean && buildOptions.force) {\n    errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"clean\", \"force\"));\n  }\n  if (buildOptions.clean && buildOptions.verbose) {\n    errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"clean\", \"verbose\"));\n  }\n  if (buildOptions.clean && buildOptions.watch) {\n    errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"clean\", \"watch\"));\n  }\n  if (buildOptions.watch && buildOptions.dry) {\n    errors.push(createCompilerDiagnostic(Diagnostics.Options_0_and_1_cannot_be_combined, \"watch\", \"dry\"));\n  }\n  return { buildOptions, watchOptions, projects, errors };\n}\nfunction getDiagnosticText(_message, ..._args) {\n  const diagnostic = createCompilerDiagnostic.apply(void 0, arguments);\n  return diagnostic.messageText;\n}\nfunction getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend, extraFileExtensions) {\n  const configFileText = tryReadFile(configFileName, (fileName) => host.readFile(fileName));\n  if (!isString(configFileText)) {\n    host.onUnRecoverableConfigFileDiagnostic(configFileText);\n    return void 0;\n  }\n  const result = parseJsonText(configFileName, configFileText);\n  const cwd = host.getCurrentDirectory();\n  result.path = toPath(configFileName, cwd, createGetCanonicalFileName(host.useCaseSensitiveFileNames));\n  result.resolvedPath = result.path;\n  result.originalFileName = result.fileName;\n  return parseJsonSourceFileConfigFileContent(\n    result,\n    host,\n    getNormalizedAbsolutePath(getDirectoryPath(configFileName), cwd),\n    optionsToExtend,\n    getNormalizedAbsolutePath(configFileName, cwd),\n    void 0,\n    extraFileExtensions,\n    extendedConfigCache,\n    watchOptionsToExtend\n  );\n}\nfunction readConfigFile(fileName, readFile) {\n  const textOrDiagnostic = tryReadFile(fileName, readFile);\n  return isString(textOrDiagnostic) ? parseConfigFileTextToJson(fileName, textOrDiagnostic) : { config: {}, error: textOrDiagnostic };\n}\nfunction parseConfigFileTextToJson(fileName, jsonText) {\n  const jsonSourceFile = parseJsonText(fileName, jsonText);\n  return {\n    config: convertConfigFileToObject(jsonSourceFile, jsonSourceFile.parseDiagnostics, false, void 0),\n    error: jsonSourceFile.parseDiagnostics.length ? jsonSourceFile.parseDiagnostics[0] : void 0\n  };\n}\nfunction readJsonConfigFile(fileName, readFile) {\n  const textOrDiagnostic = tryReadFile(fileName, readFile);\n  return isString(textOrDiagnostic) ? parseJsonText(fileName, textOrDiagnostic) : { fileName, parseDiagnostics: [textOrDiagnostic] };\n}\nfunction tryReadFile(fileName, readFile) {\n  let text;\n  try {\n    text = readFile(fileName);\n  } catch (e) {\n    return createCompilerDiagnostic(Diagnostics.Cannot_read_file_0_Colon_1, fileName, e.message);\n  }\n  return text === void 0 ? createCompilerDiagnostic(Diagnostics.Cannot_read_file_0, fileName) : text;\n}\nfunction commandLineOptionsToMap(options) {\n  return arrayToMap(options, getOptionName);\n}\nvar typeAcquisitionDidYouMeanDiagnostics = {\n  optionDeclarations: typeAcquisitionDeclarations,\n  unknownOptionDiagnostic: Diagnostics.Unknown_type_acquisition_option_0,\n  unknownDidYouMeanDiagnostic: Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1\n};\nvar watchOptionsNameMapCache;\nfunction getWatchOptionsNameMap() {\n  return watchOptionsNameMapCache || (watchOptionsNameMapCache = createOptionNameMap(optionsForWatch));\n}\nvar watchOptionsDidYouMeanDiagnostics = {\n  getOptionsNameMap: getWatchOptionsNameMap,\n  optionDeclarations: optionsForWatch,\n  unknownOptionDiagnostic: Diagnostics.Unknown_watch_option_0,\n  unknownDidYouMeanDiagnostic: Diagnostics.Unknown_watch_option_0_Did_you_mean_1,\n  optionTypeMismatchDiagnostic: Diagnostics.Watch_option_0_requires_a_value_of_type_1\n};\nvar commandLineCompilerOptionsMapCache;\nfunction getCommandLineCompilerOptionsMap() {\n  return commandLineCompilerOptionsMapCache || (commandLineCompilerOptionsMapCache = commandLineOptionsToMap(optionDeclarations));\n}\nvar commandLineWatchOptionsMapCache;\nfunction getCommandLineWatchOptionsMap() {\n  return commandLineWatchOptionsMapCache || (commandLineWatchOptionsMapCache = commandLineOptionsToMap(optionsForWatch));\n}\nvar commandLineTypeAcquisitionMapCache;\nfunction getCommandLineTypeAcquisitionMap() {\n  return commandLineTypeAcquisitionMapCache || (commandLineTypeAcquisitionMapCache = commandLineOptionsToMap(typeAcquisitionDeclarations));\n}\nvar _tsconfigRootOptions;\nfunction getTsconfigRootOptionsMap() {\n  if (_tsconfigRootOptions === void 0) {\n    _tsconfigRootOptions = {\n      name: void 0,\n      type: \"object\",\n      elementOptions: commandLineOptionsToMap([\n        {\n          name: \"compilerOptions\",\n          type: \"object\",\n          elementOptions: getCommandLineCompilerOptionsMap(),\n          extraKeyDiagnostics: compilerOptionsDidYouMeanDiagnostics\n        },\n        {\n          name: \"watchOptions\",\n          type: \"object\",\n          elementOptions: getCommandLineWatchOptionsMap(),\n          extraKeyDiagnostics: watchOptionsDidYouMeanDiagnostics\n        },\n        {\n          name: \"typingOptions\",\n          type: \"object\",\n          elementOptions: getCommandLineTypeAcquisitionMap(),\n          extraKeyDiagnostics: typeAcquisitionDidYouMeanDiagnostics\n        },\n        {\n          name: \"typeAcquisition\",\n          type: \"object\",\n          elementOptions: getCommandLineTypeAcquisitionMap(),\n          extraKeyDiagnostics: typeAcquisitionDidYouMeanDiagnostics\n        },\n        {\n          name: \"extends\",\n          type: \"string\",\n          category: Diagnostics.File_Management\n        },\n        {\n          name: \"references\",\n          type: \"list\",\n          element: {\n            name: \"references\",\n            type: \"object\"\n          },\n          category: Diagnostics.Projects\n        },\n        {\n          name: \"files\",\n          type: \"list\",\n          element: {\n            name: \"files\",\n            type: \"string\"\n          },\n          category: Diagnostics.File_Management\n        },\n        {\n          name: \"include\",\n          type: \"list\",\n          element: {\n            name: \"include\",\n            type: \"string\"\n          },\n          category: Diagnostics.File_Management,\n          defaultValueDescription: Diagnostics.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk\n        },\n        {\n          name: \"exclude\",\n          type: \"list\",\n          element: {\n            name: \"exclude\",\n            type: \"string\"\n          },\n          category: Diagnostics.File_Management,\n          defaultValueDescription: Diagnostics.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified\n        },\n        compileOnSaveCommandLineOption\n      ])\n    };\n  }\n  return _tsconfigRootOptions;\n}\nfunction convertConfigFileToObject(sourceFile, errors, reportOptionsErrors, optionsIterator) {\n  var _a2;\n  const rootExpression = (_a2 = sourceFile.statements[0]) == null ? void 0 : _a2.expression;\n  const knownRootOptions = reportOptionsErrors ? getTsconfigRootOptionsMap() : void 0;\n  if (rootExpression && rootExpression.kind !== 210 /* ObjectLiteralExpression */) {\n    errors.push(createDiagnosticForNodeInSourceFile(\n      sourceFile,\n      rootExpression,\n      Diagnostics.The_root_value_of_a_0_file_must_be_an_object,\n      getBaseFileName(sourceFile.fileName) === \"jsconfig.json\" ? \"jsconfig.json\" : \"tsconfig.json\"\n    ));\n    if (isArrayLiteralExpression(rootExpression)) {\n      const firstObject = find(rootExpression.elements, isObjectLiteralExpression);\n      if (firstObject) {\n        return convertToObjectWorker(sourceFile, firstObject, errors, true, knownRootOptions, optionsIterator);\n      }\n    }\n    return {};\n  }\n  return convertToObjectWorker(sourceFile, rootExpression, errors, true, knownRootOptions, optionsIterator);\n}\nfunction convertToObject(sourceFile, errors) {\n  var _a2;\n  return convertToObjectWorker(sourceFile, (_a2 = sourceFile.statements[0]) == null ? void 0 : _a2.expression, errors, true, void 0, void 0);\n}\nfunction convertToObjectWorker(sourceFile, rootExpression, errors, returnValue, knownRootOptions, jsonConversionNotifier) {\n  if (!rootExpression) {\n    return returnValue ? {} : void 0;\n  }\n  return convertPropertyValueToJson(rootExpression, knownRootOptions);\n  function isRootOptionMap(knownOptions) {\n    return knownRootOptions && knownRootOptions.elementOptions === knownOptions;\n  }\n  function convertObjectLiteralExpressionToJson(node, knownOptions, extraKeyDiagnostics, parentOption) {\n    const result = returnValue ? {} : void 0;\n    for (const element of node.properties) {\n      if (element.kind !== 305 /* PropertyAssignment */) {\n        errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element, Diagnostics.Property_assignment_expected));\n        continue;\n      }\n      if (element.questionToken) {\n        errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.questionToken, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, \"?\"));\n      }\n      if (!isDoubleQuotedString(element.name)) {\n        errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.name, Diagnostics.String_literal_with_double_quotes_expected));\n      }\n      const textOfKey = isComputedNonLiteralName(element.name) ? void 0 : getTextOfPropertyName(element.name);\n      const keyText = textOfKey && unescapeLeadingUnderscores(textOfKey);\n      const option = keyText && knownOptions ? knownOptions.get(keyText) : void 0;\n      if (keyText && extraKeyDiagnostics && !option) {\n        if (knownOptions) {\n          errors.push(createUnknownOptionError(\n            keyText,\n            extraKeyDiagnostics,\n            (message, arg0, arg1) => createDiagnosticForNodeInSourceFile(sourceFile, element.name, message, arg0, arg1)\n          ));\n        } else {\n          errors.push(createDiagnosticForNodeInSourceFile(sourceFile, element.name, extraKeyDiagnostics.unknownOptionDiagnostic, keyText));\n        }\n      }\n      const value = convertPropertyValueToJson(element.initializer, option);\n      if (typeof keyText !== \"undefined\") {\n        if (returnValue) {\n          result[keyText] = value;\n        }\n        if (jsonConversionNotifier && (parentOption || isRootOptionMap(knownOptions))) {\n          const isValidOptionValue = isCompilerOptionsValue(option, value);\n          if (parentOption) {\n            if (isValidOptionValue) {\n              jsonConversionNotifier.onSetValidOptionKeyValueInParent(parentOption, option, value);\n            }\n          } else if (isRootOptionMap(knownOptions)) {\n            if (isValidOptionValue) {\n              jsonConversionNotifier.onSetValidOptionKeyValueInRoot(keyText, element.name, value, element.initializer);\n            } else if (!option) {\n              jsonConversionNotifier.onSetUnknownOptionKeyValueInRoot(keyText, element.name, value, element.initializer);\n            }\n          }\n        }\n      }\n    }\n    return result;\n  }\n  function convertArrayLiteralExpressionToJson(elements, elementOption) {\n    if (!returnValue) {\n      elements.forEach((element) => convertPropertyValueToJson(element, elementOption));\n      return void 0;\n    }\n    return filter(elements.map((element) => convertPropertyValueToJson(element, elementOption)), (v) => v !== void 0);\n  }\n  function convertPropertyValueToJson(valueExpression, option) {\n    let invalidReported;\n    switch (valueExpression.kind) {\n      case 111 /* TrueKeyword */:\n        reportInvalidOptionValue(option && option.type !== \"boolean\");\n        return validateValue(true);\n      case 96 /* FalseKeyword */:\n        reportInvalidOptionValue(option && option.type !== \"boolean\");\n        return validateValue(false);\n      case 105 /* NullKeyword */:\n        reportInvalidOptionValue(option && option.name === \"extends\");\n        return validateValue(null);\n      case 10 /* StringLiteral */:\n        if (!isDoubleQuotedString(valueExpression)) {\n          errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.String_literal_with_double_quotes_expected));\n        }\n        reportInvalidOptionValue(option && (isString(option.type) && option.type !== \"string\"));\n        const text = valueExpression.text;\n        if (option && !isString(option.type)) {\n          const customOption = option;\n          if (!customOption.type.has(text.toLowerCase())) {\n            errors.push(\n              createDiagnosticForInvalidCustomType(\n                customOption,\n                (message, arg0, arg1) => createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, message, arg0, arg1)\n              )\n            );\n            invalidReported = true;\n          }\n        }\n        return validateValue(text);\n      case 8 /* NumericLiteral */:\n        reportInvalidOptionValue(option && option.type !== \"number\");\n        return validateValue(Number(valueExpression.text));\n      case 225 /* PrefixUnaryExpression */:\n        if (valueExpression.operator !== 40 /* MinusToken */ || valueExpression.operand.kind !== 8 /* NumericLiteral */) {\n          break;\n        }\n        reportInvalidOptionValue(option && option.type !== \"number\");\n        return validateValue(-Number(valueExpression.operand.text));\n      case 210 /* ObjectLiteralExpression */:\n        reportInvalidOptionValue(option && option.type !== \"object\");\n        const objectLiteralExpression = valueExpression;\n        if (option) {\n          const { elementOptions, extraKeyDiagnostics, name: optionName } = option;\n          return validateValue(convertObjectLiteralExpressionToJson(\n            objectLiteralExpression,\n            elementOptions,\n            extraKeyDiagnostics,\n            optionName\n          ));\n        } else {\n          return validateValue(convertObjectLiteralExpressionToJson(\n            objectLiteralExpression,\n            void 0,\n            void 0,\n            void 0\n          ));\n        }\n      case 209 /* ArrayLiteralExpression */:\n        reportInvalidOptionValue(option && option.type !== \"list\");\n        return validateValue(convertArrayLiteralExpressionToJson(\n          valueExpression.elements,\n          option && option.element\n        ));\n    }\n    if (option) {\n      reportInvalidOptionValue(true);\n    } else {\n      errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal));\n    }\n    return void 0;\n    function validateValue(value) {\n      var _a2;\n      if (!invalidReported) {\n        const diagnostic = (_a2 = option == null ? void 0 : option.extraValidation) == null ? void 0 : _a2.call(option, value);\n        if (diagnostic) {\n          errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, ...diagnostic));\n          return void 0;\n        }\n      }\n      return value;\n    }\n    function reportInvalidOptionValue(isError) {\n      if (isError) {\n        errors.push(createDiagnosticForNodeInSourceFile(sourceFile, valueExpression, Diagnostics.Compiler_option_0_requires_a_value_of_type_1, option.name, getCompilerOptionValueTypeString(option)));\n        invalidReported = true;\n      }\n    }\n  }\n  function isDoubleQuotedString(node) {\n    return isStringLiteral(node) && isStringDoubleQuoted(node, sourceFile);\n  }\n}\nfunction getCompilerOptionValueTypeString(option) {\n  return option.type === \"list\" ? \"Array\" : isString(option.type) ? option.type : \"string\";\n}\nfunction isCompilerOptionsValue(option, value) {\n  if (option) {\n    if (isNullOrUndefined(value))\n      return true;\n    if (option.type === \"list\") {\n      return isArray(value);\n    }\n    const expectedType = isString(option.type) ? option.type : \"string\";\n    return typeof value === expectedType;\n  }\n  return false;\n}\nfunction convertToTSConfig(configParseResult, configFileName, host) {\n  var _a2, _b, _c;\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames);\n  const files = map(\n    filter(\n      configParseResult.fileNames,\n      !((_b = (_a2 = configParseResult.options.configFile) == null ? void 0 : _a2.configFileSpecs) == null ? void 0 : _b.validatedIncludeSpecs) ? returnTrue : matchesSpecs(\n        configFileName,\n        configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs,\n        configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs,\n        host\n      )\n    ),\n    (f) => getRelativePathFromFile(getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), getNormalizedAbsolutePath(f, host.getCurrentDirectory()), getCanonicalFileName)\n  );\n  const optionMap = serializeCompilerOptions(configParseResult.options, { configFilePath: getNormalizedAbsolutePath(configFileName, host.getCurrentDirectory()), useCaseSensitiveFileNames: host.useCaseSensitiveFileNames });\n  const watchOptionMap = configParseResult.watchOptions && serializeWatchOptions(configParseResult.watchOptions);\n  const config = {\n    compilerOptions: {\n      ...optionMapToObject(optionMap),\n      showConfig: void 0,\n      configFile: void 0,\n      configFilePath: void 0,\n      help: void 0,\n      init: void 0,\n      listFiles: void 0,\n      listEmittedFiles: void 0,\n      project: void 0,\n      build: void 0,\n      version: void 0\n    },\n    watchOptions: watchOptionMap && optionMapToObject(watchOptionMap),\n    references: map(configParseResult.projectReferences, (r) => ({ ...r, path: r.originalPath ? r.originalPath : \"\", originalPath: void 0 })),\n    files: length(files) ? files : void 0,\n    ...((_c = configParseResult.options.configFile) == null ? void 0 : _c.configFileSpecs) ? {\n      include: filterSameAsDefaultInclude(configParseResult.options.configFile.configFileSpecs.validatedIncludeSpecs),\n      exclude: configParseResult.options.configFile.configFileSpecs.validatedExcludeSpecs\n    } : {},\n    compileOnSave: !!configParseResult.compileOnSave ? true : void 0\n  };\n  return config;\n}\nfunction optionMapToObject(optionMap) {\n  return {\n    ...arrayFrom(optionMap.entries()).reduce((prev, cur) => ({ ...prev, [cur[0]]: cur[1] }), {})\n  };\n}\nfunction filterSameAsDefaultInclude(specs) {\n  if (!length(specs))\n    return void 0;\n  if (length(specs) !== 1)\n    return specs;\n  if (specs[0] === defaultIncludeSpec)\n    return void 0;\n  return specs;\n}\nfunction matchesSpecs(path, includeSpecs, excludeSpecs, host) {\n  if (!includeSpecs)\n    return returnTrue;\n  const patterns = getFileMatcherPatterns(path, excludeSpecs, includeSpecs, host.useCaseSensitiveFileNames, host.getCurrentDirectory());\n  const excludeRe = patterns.excludePattern && getRegexFromPattern(patterns.excludePattern, host.useCaseSensitiveFileNames);\n  const includeRe = patterns.includeFilePattern && getRegexFromPattern(patterns.includeFilePattern, host.useCaseSensitiveFileNames);\n  if (includeRe) {\n    if (excludeRe) {\n      return (path2) => !(includeRe.test(path2) && !excludeRe.test(path2));\n    }\n    return (path2) => !includeRe.test(path2);\n  }\n  if (excludeRe) {\n    return (path2) => excludeRe.test(path2);\n  }\n  return returnTrue;\n}\nfunction getCustomTypeMapOfCommandLineOption(optionDefinition) {\n  if (optionDefinition.type === \"string\" || optionDefinition.type === \"number\" || optionDefinition.type === \"boolean\" || optionDefinition.type === \"object\") {\n    return void 0;\n  } else if (optionDefinition.type === \"list\") {\n    return getCustomTypeMapOfCommandLineOption(optionDefinition.element);\n  } else {\n    return optionDefinition.type;\n  }\n}\nfunction getNameOfCompilerOptionValue(value, customTypeMap) {\n  return forEachEntry(customTypeMap, (mapValue, key) => {\n    if (mapValue === value) {\n      return key;\n    }\n  });\n}\nfunction serializeCompilerOptions(options, pathOptions) {\n  return serializeOptionBaseObject(options, getOptionsNameMap(), pathOptions);\n}\nfunction serializeWatchOptions(options) {\n  return serializeOptionBaseObject(options, getWatchOptionsNameMap());\n}\nfunction serializeOptionBaseObject(options, { optionsNameMap }, pathOptions) {\n  const result = new Map2();\n  const getCanonicalFileName = pathOptions && createGetCanonicalFileName(pathOptions.useCaseSensitiveFileNames);\n  for (const name in options) {\n    if (hasProperty(options, name)) {\n      if (optionsNameMap.has(name) && (optionsNameMap.get(name).category === Diagnostics.Command_line_Options || optionsNameMap.get(name).category === Diagnostics.Output_Formatting)) {\n        continue;\n      }\n      const value = options[name];\n      const optionDefinition = optionsNameMap.get(name.toLowerCase());\n      if (optionDefinition) {\n        const customTypeMap = getCustomTypeMapOfCommandLineOption(optionDefinition);\n        if (!customTypeMap) {\n          if (pathOptions && optionDefinition.isFilePath) {\n            result.set(name, getRelativePathFromFile(pathOptions.configFilePath, getNormalizedAbsolutePath(value, getDirectoryPath(pathOptions.configFilePath)), getCanonicalFileName));\n          } else {\n            result.set(name, value);\n          }\n        } else {\n          if (optionDefinition.type === \"list\") {\n            result.set(name, value.map((element) => getNameOfCompilerOptionValue(element, customTypeMap)));\n          } else {\n            result.set(name, getNameOfCompilerOptionValue(value, customTypeMap));\n          }\n        }\n      }\n    }\n  }\n  return result;\n}\nfunction getCompilerOptionsDiffValue(options, newLine) {\n  const compilerOptionsMap = getSerializedCompilerOption(options);\n  return getOverwrittenDefaultOptions();\n  function makePadding(paddingLength) {\n    return Array(paddingLength + 1).join(\" \");\n  }\n  function getOverwrittenDefaultOptions() {\n    const result = [];\n    const tab = makePadding(2);\n    commandOptionsWithoutBuild.forEach((cmd) => {\n      if (!compilerOptionsMap.has(cmd.name)) {\n        return;\n      }\n      const newValue = compilerOptionsMap.get(cmd.name);\n      const defaultValue = getDefaultValueForOption(cmd);\n      if (newValue !== defaultValue) {\n        result.push(`${tab}${cmd.name}: ${newValue}`);\n      } else if (hasProperty(defaultInitCompilerOptions, cmd.name)) {\n        result.push(`${tab}${cmd.name}: ${defaultValue}`);\n      }\n    });\n    return result.join(newLine) + newLine;\n  }\n}\nfunction getSerializedCompilerOption(options) {\n  const compilerOptions = extend(options, defaultInitCompilerOptions);\n  return serializeCompilerOptions(compilerOptions);\n}\nfunction generateTSConfig(options, fileNames, newLine) {\n  const compilerOptionsMap = getSerializedCompilerOption(options);\n  return writeConfigurations();\n  function makePadding(paddingLength) {\n    return Array(paddingLength + 1).join(\" \");\n  }\n  function isAllowedOptionForOutput({ category, name, isCommandLineOnly }) {\n    const categoriesToSkip = [Diagnostics.Command_line_Options, Diagnostics.Editor_Support, Diagnostics.Compiler_Diagnostics, Diagnostics.Backwards_Compatibility, Diagnostics.Watch_and_Build_Modes, Diagnostics.Output_Formatting];\n    return !isCommandLineOnly && category !== void 0 && (!categoriesToSkip.includes(category) || compilerOptionsMap.has(name));\n  }\n  function writeConfigurations() {\n    const categorizedOptions = new Map2();\n    categorizedOptions.set(Diagnostics.Projects, []);\n    categorizedOptions.set(Diagnostics.Language_and_Environment, []);\n    categorizedOptions.set(Diagnostics.Modules, []);\n    categorizedOptions.set(Diagnostics.JavaScript_Support, []);\n    categorizedOptions.set(Diagnostics.Emit, []);\n    categorizedOptions.set(Diagnostics.Interop_Constraints, []);\n    categorizedOptions.set(Diagnostics.Type_Checking, []);\n    categorizedOptions.set(Diagnostics.Completeness, []);\n    for (const option of optionDeclarations) {\n      if (isAllowedOptionForOutput(option)) {\n        let listForCategory = categorizedOptions.get(option.category);\n        if (!listForCategory)\n          categorizedOptions.set(option.category, listForCategory = []);\n        listForCategory.push(option);\n      }\n    }\n    let marginLength = 0;\n    let seenKnownKeys = 0;\n    const entries = [];\n    categorizedOptions.forEach((options2, category) => {\n      if (entries.length !== 0) {\n        entries.push({ value: \"\" });\n      }\n      entries.push({ value: `/* ${getLocaleSpecificMessage(category)} */` });\n      for (const option of options2) {\n        let optionName;\n        if (compilerOptionsMap.has(option.name)) {\n          optionName = `\"${option.name}\": ${JSON.stringify(compilerOptionsMap.get(option.name))}${(seenKnownKeys += 1) === compilerOptionsMap.size ? \"\" : \",\"}`;\n        } else {\n          optionName = `// \"${option.name}\": ${JSON.stringify(getDefaultValueForOption(option))},`;\n        }\n        entries.push({\n          value: optionName,\n          description: `/* ${option.description && getLocaleSpecificMessage(option.description) || option.name} */`\n        });\n        marginLength = Math.max(optionName.length, marginLength);\n      }\n    });\n    const tab = makePadding(2);\n    const result = [];\n    result.push(`{`);\n    result.push(`${tab}\"compilerOptions\": {`);\n    result.push(`${tab}${tab}/* ${getLocaleSpecificMessage(Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`);\n    result.push(\"\");\n    for (const entry of entries) {\n      const { value, description: description2 = \"\" } = entry;\n      result.push(value && `${tab}${tab}${value}${description2 && makePadding(marginLength - value.length + 2) + description2}`);\n    }\n    if (fileNames.length) {\n      result.push(`${tab}},`);\n      result.push(`${tab}\"files\": [`);\n      for (let i = 0; i < fileNames.length; i++) {\n        result.push(`${tab}${tab}${JSON.stringify(fileNames[i])}${i === fileNames.length - 1 ? \"\" : \",\"}`);\n      }\n      result.push(`${tab}]`);\n    } else {\n      result.push(`${tab}}`);\n    }\n    result.push(`}`);\n    return result.join(newLine) + newLine;\n  }\n}\nfunction convertToOptionsWithAbsolutePaths(options, toAbsolutePath) {\n  const result = {};\n  const optionsNameMap = getOptionsNameMap().optionsNameMap;\n  for (const name in options) {\n    if (hasProperty(options, name)) {\n      result[name] = convertToOptionValueWithAbsolutePaths(\n        optionsNameMap.get(name.toLowerCase()),\n        options[name],\n        toAbsolutePath\n      );\n    }\n  }\n  if (result.configFilePath) {\n    result.configFilePath = toAbsolutePath(result.configFilePath);\n  }\n  return result;\n}\nfunction convertToOptionValueWithAbsolutePaths(option, value, toAbsolutePath) {\n  if (option && !isNullOrUndefined(value)) {\n    if (option.type === \"list\") {\n      const values = value;\n      if (option.element.isFilePath && values.length) {\n        return values.map(toAbsolutePath);\n      }\n    } else if (option.isFilePath) {\n      return toAbsolutePath(value);\n    }\n  }\n  return value;\n}\nfunction parseJsonConfigFileContent(json, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {\n  return parseJsonConfigFileContentWorker(json, void 0, host, basePath, existingOptions, existingWatchOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache);\n}\nfunction parseJsonSourceFileConfigFileContent(sourceFile, host, basePath, existingOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache, existingWatchOptions) {\n  var _a2, _b;\n  (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Parse, \"parseJsonSourceFileConfigFileContent\", { path: sourceFile.fileName });\n  PerformanceDotting.start(\"parseJsonSourceFileConfigFileContent\");\n  const result = parseJsonConfigFileContentWorker(void 0, sourceFile, host, basePath, existingOptions, existingWatchOptions, configFileName, resolutionStack, extraFileExtensions, extendedConfigCache);\n  PerformanceDotting.stop(\"parseJsonSourceFileConfigFileContent\");\n  (_b = tracing) == null ? void 0 : _b.pop();\n  return result;\n}\nfunction setConfigFileInOptions(options, configFile) {\n  if (configFile) {\n    Object.defineProperty(options, \"configFile\", { enumerable: false, writable: false, value: configFile });\n  }\n}\nfunction isNullOrUndefined(x) {\n  return x === void 0 || x === null;\n}\nfunction directoryOfCombinedPath(fileName, basePath) {\n  return getDirectoryPath(getNormalizedAbsolutePath(fileName, basePath));\n}\nvar defaultIncludeSpec = \"**/*\";\nfunction parseJsonConfigFileContentWorker(json, sourceFile, host, basePath, existingOptions = {}, existingWatchOptions, configFileName, resolutionStack = [], extraFileExtensions = [], extendedConfigCache) {\n  Debug.assert(json === void 0 && sourceFile !== void 0 || json !== void 0 && sourceFile === void 0);\n  const errors = [];\n  const parsedConfig = parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache);\n  const { raw } = parsedConfig;\n  const options = extend(existingOptions, parsedConfig.options || {});\n  const watchOptions = existingWatchOptions && parsedConfig.watchOptions ? extend(existingWatchOptions, parsedConfig.watchOptions) : parsedConfig.watchOptions || existingWatchOptions;\n  options.configFilePath = configFileName && normalizeSlashes(configFileName);\n  const configFileSpecs = getConfigFileSpecs();\n  if (sourceFile)\n    sourceFile.configFileSpecs = configFileSpecs;\n  setConfigFileInOptions(options, sourceFile);\n  const basePathForFileNames = normalizePath(configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath);\n  return {\n    options,\n    watchOptions,\n    fileNames: getFileNames(basePathForFileNames),\n    projectReferences: getProjectReferences(basePathForFileNames),\n    typeAcquisition: parsedConfig.typeAcquisition || getDefaultTypeAcquisition(),\n    raw,\n    errors,\n    wildcardDirectories: getWildcardDirectories(configFileSpecs, basePathForFileNames, host.useCaseSensitiveFileNames),\n    compileOnSave: !!raw.compileOnSave\n  };\n  function getConfigFileSpecs() {\n    const referencesOfRaw = getPropFromRaw(\"references\", (element) => typeof element === \"object\", \"object\");\n    const filesSpecs = toPropValue(getSpecsFromRaw(\"files\"));\n    if (filesSpecs) {\n      const hasZeroOrNoReferences = referencesOfRaw === \"no-prop\" || isArray(referencesOfRaw) && referencesOfRaw.length === 0;\n      const hasExtends = hasProperty(raw, \"extends\");\n      if (filesSpecs.length === 0 && hasZeroOrNoReferences && !hasExtends) {\n        if (sourceFile) {\n          const fileName = configFileName || \"tsconfig.json\";\n          const diagnosticMessage = Diagnostics.The_files_list_in_config_file_0_is_empty;\n          const nodeValue = firstDefined(getTsConfigPropArray(sourceFile, \"files\"), (property) => property.initializer);\n          const error = nodeValue ? createDiagnosticForNodeInSourceFile(sourceFile, nodeValue, diagnosticMessage, fileName) : createCompilerDiagnostic(diagnosticMessage, fileName);\n          errors.push(error);\n        } else {\n          createCompilerDiagnosticOnlyIfJson(Diagnostics.The_files_list_in_config_file_0_is_empty, configFileName || \"tsconfig.json\");\n        }\n      }\n    }\n    let includeSpecs = toPropValue(getSpecsFromRaw(\"include\"));\n    const excludeOfRaw = getSpecsFromRaw(\"exclude\");\n    let isDefaultIncludeSpec = false;\n    let excludeSpecs = toPropValue(excludeOfRaw);\n    if (excludeOfRaw === \"no-prop\" && raw.compilerOptions) {\n      const outDir = raw.compilerOptions.outDir;\n      const declarationDir = raw.compilerOptions.declarationDir;\n      if (outDir || declarationDir) {\n        excludeSpecs = [outDir, declarationDir].filter((d) => !!d);\n      }\n    }\n    if (filesSpecs === void 0 && includeSpecs === void 0) {\n      includeSpecs = [defaultIncludeSpec];\n      isDefaultIncludeSpec = true;\n    }\n    let validatedIncludeSpecs, validatedExcludeSpecs;\n    if (includeSpecs) {\n      validatedIncludeSpecs = validateSpecs(includeSpecs, errors, true, sourceFile, \"include\");\n    }\n    if (excludeSpecs) {\n      validatedExcludeSpecs = validateSpecs(excludeSpecs, errors, false, sourceFile, \"exclude\");\n    }\n    return {\n      filesSpecs,\n      includeSpecs,\n      excludeSpecs,\n      validatedFilesSpec: filter(filesSpecs, isString),\n      validatedIncludeSpecs,\n      validatedExcludeSpecs,\n      pathPatterns: void 0,\n      isDefaultIncludeSpec\n    };\n  }\n  function getFileNames(basePath2) {\n    const fileNames = getFileNamesFromConfigSpecs(configFileSpecs, basePath2, options, host, extraFileExtensions);\n    if (shouldReportNoInputFiles(fileNames, canJsonReportNoInputFiles(raw), resolutionStack)) {\n      errors.push(getErrorForNoInputFiles(configFileSpecs, configFileName));\n    }\n    return fileNames;\n  }\n  function getProjectReferences(basePath2) {\n    let projectReferences;\n    const referencesOfRaw = getPropFromRaw(\"references\", (element) => typeof element === \"object\", \"object\");\n    if (isArray(referencesOfRaw)) {\n      for (const ref of referencesOfRaw) {\n        if (typeof ref.path !== \"string\") {\n          createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, \"reference.path\", \"string\");\n        } else {\n          (projectReferences || (projectReferences = [])).push({\n            path: getNormalizedAbsolutePath(ref.path, basePath2),\n            originalPath: ref.path,\n            prepend: ref.prepend,\n            circular: ref.circular\n          });\n        }\n      }\n    }\n    return projectReferences;\n  }\n  function toPropValue(specResult) {\n    return isArray(specResult) ? specResult : void 0;\n  }\n  function getSpecsFromRaw(prop) {\n    return getPropFromRaw(prop, isString, \"string\");\n  }\n  function getPropFromRaw(prop, validateElement, elementTypeName) {\n    if (hasProperty(raw, prop) && !isNullOrUndefined(raw[prop])) {\n      if (isArray(raw[prop])) {\n        const result = raw[prop];\n        if (!sourceFile && !every(result, validateElement)) {\n          errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, elementTypeName));\n        }\n        return result;\n      } else {\n        createCompilerDiagnosticOnlyIfJson(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, prop, \"Array\");\n        return \"not-array\";\n      }\n    }\n    return \"no-prop\";\n  }\n  function createCompilerDiagnosticOnlyIfJson(message, arg0, arg1) {\n    if (!sourceFile) {\n      errors.push(createCompilerDiagnostic(message, arg0, arg1));\n    }\n  }\n}\nfunction isErrorNoInputFiles(error) {\n  return error.code === Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code;\n}\nfunction getErrorForNoInputFiles({ includeSpecs, excludeSpecs }, configFileName) {\n  return createCompilerDiagnostic(\n    Diagnostics.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,\n    configFileName || \"tsconfig.json\",\n    JSON.stringify(includeSpecs || []),\n    JSON.stringify(excludeSpecs || [])\n  );\n}\nfunction shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles, resolutionStack) {\n  return fileNames.length === 0 && canJsonReportNoInutFiles && (!resolutionStack || resolutionStack.length === 0);\n}\nfunction canJsonReportNoInputFiles(raw) {\n  return !hasProperty(raw, \"files\") && !hasProperty(raw, \"references\");\n}\nfunction updateErrorForNoInputFiles(fileNames, configFileName, configFileSpecs, configParseDiagnostics, canJsonReportNoInutFiles) {\n  const existingErrors = configParseDiagnostics.length;\n  if (shouldReportNoInputFiles(fileNames, canJsonReportNoInutFiles)) {\n    configParseDiagnostics.push(getErrorForNoInputFiles(configFileSpecs, configFileName));\n  } else {\n    filterMutate(configParseDiagnostics, (error) => !isErrorNoInputFiles(error));\n  }\n  return existingErrors !== configParseDiagnostics.length;\n}\nfunction isSuccessfulParsedTsconfig(value) {\n  return !!value.options;\n}\nfunction parseConfig(json, sourceFile, host, basePath, configFileName, resolutionStack, errors, extendedConfigCache) {\n  var _a2;\n  basePath = normalizeSlashes(basePath);\n  const resolvedPath = getNormalizedAbsolutePath(configFileName || \"\", basePath);\n  if (resolutionStack.indexOf(resolvedPath) >= 0) {\n    errors.push(createCompilerDiagnostic(Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0, [...resolutionStack, resolvedPath].join(\" -> \")));\n    return { raw: json || convertToObject(sourceFile, errors) };\n  }\n  const ownConfig = json ? parseOwnConfigOfJson(json, host, basePath, configFileName, errors) : parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors);\n  if ((_a2 = ownConfig.options) == null ? void 0 : _a2.paths) {\n    ownConfig.options.pathsBasePath = basePath;\n  }\n  if (ownConfig.extendedConfigPath) {\n    resolutionStack = resolutionStack.concat([resolvedPath]);\n    const extendedConfig = getExtendedConfig(sourceFile, ownConfig.extendedConfigPath, host, resolutionStack, errors, extendedConfigCache);\n    if (extendedConfig && isSuccessfulParsedTsconfig(extendedConfig)) {\n      const baseRaw = extendedConfig.raw;\n      const raw = ownConfig.raw;\n      let relativeDifference;\n      const setPropertyInRawIfNotUndefined = (propertyName) => {\n        if (!raw[propertyName] && baseRaw[propertyName]) {\n          raw[propertyName] = map(baseRaw[propertyName], (path) => isRootedDiskPath(path) ? path : combinePaths(\n            relativeDifference || (relativeDifference = convertToRelativePath(getDirectoryPath(ownConfig.extendedConfigPath), basePath, createGetCanonicalFileName(host.useCaseSensitiveFileNames))),\n            path\n          ));\n        }\n      };\n      setPropertyInRawIfNotUndefined(\"include\");\n      setPropertyInRawIfNotUndefined(\"exclude\");\n      setPropertyInRawIfNotUndefined(\"files\");\n      if (raw.compileOnSave === void 0) {\n        raw.compileOnSave = baseRaw.compileOnSave;\n      }\n      ownConfig.options = assign({}, extendedConfig.options, ownConfig.options);\n      ownConfig.watchOptions = ownConfig.watchOptions && extendedConfig.watchOptions ? assign({}, extendedConfig.watchOptions, ownConfig.watchOptions) : ownConfig.watchOptions || extendedConfig.watchOptions;\n    }\n  }\n  return ownConfig;\n}\nfunction parseOwnConfigOfJson(json, host, basePath, configFileName, errors) {\n  if (hasProperty(json, \"excludes\")) {\n    errors.push(createCompilerDiagnostic(Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));\n  }\n  const options = convertCompilerOptionsFromJsonWorker(json.compilerOptions, basePath, errors, configFileName);\n  const typeAcquisition = convertTypeAcquisitionFromJsonWorker(json.typeAcquisition || json.typingOptions, basePath, errors, configFileName);\n  const watchOptions = convertWatchOptionsFromJsonWorker(json.watchOptions, basePath, errors);\n  json.compileOnSave = convertCompileOnSaveOptionFromJson(json, basePath, errors);\n  let extendedConfigPath;\n  if (json.extends) {\n    if (!isString(json.extends)) {\n      errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, \"extends\", \"string\"));\n    } else {\n      const newBase = configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath;\n      extendedConfigPath = getExtendsConfigPath(json.extends, host, newBase, errors, createCompilerDiagnostic);\n    }\n  }\n  return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath };\n}\nfunction parseOwnConfigOfJsonSourceFile(sourceFile, host, basePath, configFileName, errors) {\n  const options = getDefaultCompilerOptions(configFileName);\n  let typeAcquisition, typingOptionstypeAcquisition;\n  let watchOptions;\n  let extendedConfigPath;\n  let rootCompilerOptions;\n  const optionsIterator = {\n    onSetValidOptionKeyValueInParent(parentOption, option, value) {\n      let currentOption;\n      switch (parentOption) {\n        case \"compilerOptions\":\n          currentOption = options;\n          break;\n        case \"watchOptions\":\n          currentOption = watchOptions || (watchOptions = {});\n          break;\n        case \"typeAcquisition\":\n          currentOption = typeAcquisition || (typeAcquisition = getDefaultTypeAcquisition(configFileName));\n          break;\n        case \"typingOptions\":\n          currentOption = typingOptionstypeAcquisition || (typingOptionstypeAcquisition = getDefaultTypeAcquisition(configFileName));\n          break;\n        default:\n          Debug.fail(\"Unknown option\");\n      }\n      currentOption[option.name] = normalizeOptionValue(option, basePath, value);\n    },\n    onSetValidOptionKeyValueInRoot(key, _keyNode, value, valueNode) {\n      switch (key) {\n        case \"extends\":\n          const newBase = configFileName ? directoryOfCombinedPath(configFileName, basePath) : basePath;\n          extendedConfigPath = getExtendsConfigPath(\n            value,\n            host,\n            newBase,\n            errors,\n            (message, arg0) => createDiagnosticForNodeInSourceFile(sourceFile, valueNode, message, arg0)\n          );\n          return;\n      }\n    },\n    onSetUnknownOptionKeyValueInRoot(key, keyNode, _value, _valueNode) {\n      if (key === \"excludes\") {\n        errors.push(createDiagnosticForNodeInSourceFile(sourceFile, keyNode, Diagnostics.Unknown_option_excludes_Did_you_mean_exclude));\n      }\n      if (find(commandOptionsWithoutBuild, (opt) => opt.name === key)) {\n        rootCompilerOptions = append(rootCompilerOptions, keyNode);\n      }\n    }\n  };\n  const json = convertConfigFileToObject(sourceFile, errors, true, optionsIterator);\n  if (!typeAcquisition) {\n    if (typingOptionstypeAcquisition) {\n      typeAcquisition = typingOptionstypeAcquisition.enableAutoDiscovery !== void 0 ? {\n        enable: typingOptionstypeAcquisition.enableAutoDiscovery,\n        include: typingOptionstypeAcquisition.include,\n        exclude: typingOptionstypeAcquisition.exclude\n      } : typingOptionstypeAcquisition;\n    } else {\n      typeAcquisition = getDefaultTypeAcquisition(configFileName);\n    }\n  }\n  if (rootCompilerOptions && json && json.compilerOptions === void 0) {\n    errors.push(createDiagnosticForNodeInSourceFile(sourceFile, rootCompilerOptions[0], Diagnostics._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file, getTextOfPropertyName(rootCompilerOptions[0])));\n  }\n  return { raw: json, options, watchOptions, typeAcquisition, extendedConfigPath };\n}\nfunction getExtendsConfigPath(extendedConfig, host, basePath, errors, createDiagnostic) {\n  extendedConfig = normalizeSlashes(extendedConfig);\n  if (isRootedDiskPath(extendedConfig) || startsWith(extendedConfig, \"./\") || startsWith(extendedConfig, \"../\")) {\n    let extendedConfigPath = getNormalizedAbsolutePath(extendedConfig, basePath);\n    if (!host.fileExists(extendedConfigPath) && !endsWith(extendedConfigPath, \".json\" /* Json */)) {\n      extendedConfigPath = `${extendedConfigPath}.json`;\n      if (!host.fileExists(extendedConfigPath)) {\n        errors.push(createDiagnostic(Diagnostics.File_0_not_found, extendedConfig));\n        return void 0;\n      }\n    }\n    return extendedConfigPath;\n  }\n  const resolved = nodeModuleNameResolver(extendedConfig, combinePaths(basePath, \"tsconfig.json\"), { moduleResolution: 2 /* NodeJs */ }, host, void 0, void 0, true);\n  if (resolved.resolvedModule) {\n    return resolved.resolvedModule.resolvedFileName;\n  }\n  errors.push(createDiagnostic(Diagnostics.File_0_not_found, extendedConfig));\n  return void 0;\n}\nfunction getExtendedConfig(sourceFile, extendedConfigPath, host, resolutionStack, errors, extendedConfigCache) {\n  const path = host.useCaseSensitiveFileNames ? extendedConfigPath : toFileNameLowerCase(extendedConfigPath);\n  let value;\n  let extendedResult;\n  let extendedConfig;\n  if (extendedConfigCache && (value = extendedConfigCache.get(path))) {\n    ({ extendedResult, extendedConfig } = value);\n  } else {\n    extendedResult = readJsonConfigFile(extendedConfigPath, (path2) => host.readFile(path2));\n    if (!extendedResult.parseDiagnostics.length) {\n      extendedConfig = parseConfig(\n        void 0,\n        extendedResult,\n        host,\n        getDirectoryPath(extendedConfigPath),\n        getBaseFileName(extendedConfigPath),\n        resolutionStack,\n        errors,\n        extendedConfigCache\n      );\n    }\n    if (extendedConfigCache) {\n      extendedConfigCache.set(path, { extendedResult, extendedConfig });\n    }\n  }\n  if (sourceFile) {\n    sourceFile.extendedSourceFiles = [extendedResult.fileName];\n    if (extendedResult.extendedSourceFiles) {\n      sourceFile.extendedSourceFiles.push(...extendedResult.extendedSourceFiles);\n    }\n  }\n  if (extendedResult.parseDiagnostics.length) {\n    errors.push(...extendedResult.parseDiagnostics);\n    return void 0;\n  }\n  return extendedConfig;\n}\nfunction convertCompileOnSaveOptionFromJson(jsonOption, basePath, errors) {\n  if (!hasProperty(jsonOption, compileOnSaveCommandLineOption.name)) {\n    return false;\n  }\n  const result = convertJsonOption(compileOnSaveCommandLineOption, jsonOption.compileOnSave, basePath, errors);\n  return typeof result === \"boolean\" && result;\n}\nfunction convertCompilerOptionsFromJson(jsonOptions, basePath, configFileName) {\n  const errors = [];\n  const options = convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName);\n  return { options, errors };\n}\nfunction convertTypeAcquisitionFromJson(jsonOptions, basePath, configFileName) {\n  const errors = [];\n  const options = convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName);\n  return { options, errors };\n}\nfunction getDefaultCompilerOptions(configFileName) {\n  const options = configFileName && getBaseFileName(configFileName) === \"jsconfig.json\" ? { allowJs: true, maxNodeModuleJsDepth: 2, allowSyntheticDefaultImports: true, skipLibCheck: true, noEmit: true } : {};\n  return options;\n}\nfunction convertCompilerOptionsFromJsonWorker(jsonOptions, basePath, errors, configFileName) {\n  const options = getDefaultCompilerOptions(configFileName);\n  convertOptionsFromJson(getCommandLineCompilerOptionsMap(), jsonOptions, basePath, options, compilerOptionsDidYouMeanDiagnostics, errors);\n  if (configFileName) {\n    options.configFilePath = normalizeSlashes(configFileName);\n  }\n  return options;\n}\nfunction getDefaultTypeAcquisition(configFileName) {\n  return { enable: !!configFileName && getBaseFileName(configFileName) === \"jsconfig.json\", include: [], exclude: [] };\n}\nfunction convertTypeAcquisitionFromJsonWorker(jsonOptions, basePath, errors, configFileName) {\n  const options = getDefaultTypeAcquisition(configFileName);\n  const typeAcquisition = convertEnableAutoDiscoveryToEnable(jsonOptions);\n  convertOptionsFromJson(getCommandLineTypeAcquisitionMap(), typeAcquisition, basePath, options, typeAcquisitionDidYouMeanDiagnostics, errors);\n  return options;\n}\nfunction convertWatchOptionsFromJsonWorker(jsonOptions, basePath, errors) {\n  return convertOptionsFromJson(getCommandLineWatchOptionsMap(), jsonOptions, basePath, void 0, watchOptionsDidYouMeanDiagnostics, errors);\n}\nfunction convertOptionsFromJson(optionsNameMap, jsonOptions, basePath, defaultOptions, diagnostics, errors) {\n  if (!jsonOptions) {\n    return;\n  }\n  for (const id in jsonOptions) {\n    const opt = optionsNameMap.get(id);\n    if (opt) {\n      (defaultOptions || (defaultOptions = {}))[opt.name] = convertJsonOption(opt, jsonOptions[id], basePath, errors);\n    } else {\n      errors.push(createUnknownOptionError(id, diagnostics, createCompilerDiagnostic));\n    }\n  }\n  return defaultOptions;\n}\nfunction convertJsonOption(opt, value, basePath, errors) {\n  if (isCompilerOptionsValue(opt, value)) {\n    const optType = opt.type;\n    if (optType === \"list\" && isArray(value)) {\n      return convertJsonOptionOfListType(opt, value, basePath, errors);\n    } else if (!isString(optType)) {\n      return convertJsonOptionOfCustomType(opt, value, errors);\n    }\n    const validatedValue = validateJsonOptionValue(opt, value, errors);\n    return isNullOrUndefined(validatedValue) ? validatedValue : normalizeNonListOptionValue(opt, basePath, validatedValue);\n  } else {\n    errors.push(createCompilerDiagnostic(Diagnostics.Compiler_option_0_requires_a_value_of_type_1, opt.name, getCompilerOptionValueTypeString(opt)));\n  }\n}\nfunction normalizeOptionValue(option, basePath, value) {\n  if (isNullOrUndefined(value))\n    return void 0;\n  if (option.type === \"list\") {\n    const listOption = option;\n    if (listOption.element.isFilePath || !isString(listOption.element.type)) {\n      return filter(map(value, (v) => normalizeOptionValue(listOption.element, basePath, v)), (v) => listOption.listPreserveFalsyValues ? true : !!v);\n    }\n    return value;\n  } else if (!isString(option.type)) {\n    return option.type.get(isString(value) ? value.toLowerCase() : value);\n  }\n  return normalizeNonListOptionValue(option, basePath, value);\n}\nfunction normalizeNonListOptionValue(option, basePath, value) {\n  if (option.isFilePath) {\n    value = getNormalizedAbsolutePath(value, basePath);\n    if (value === \"\") {\n      value = \".\";\n    }\n  }\n  return value;\n}\nfunction validateJsonOptionValue(opt, value, errors) {\n  var _a2;\n  if (isNullOrUndefined(value))\n    return void 0;\n  const d = (_a2 = opt.extraValidation) == null ? void 0 : _a2.call(opt, value);\n  if (!d)\n    return value;\n  errors.push(createCompilerDiagnostic(...d));\n  return void 0;\n}\nfunction convertJsonOptionOfCustomType(opt, value, errors) {\n  if (isNullOrUndefined(value))\n    return void 0;\n  const key = value.toLowerCase();\n  const val = opt.type.get(key);\n  if (val !== void 0) {\n    return validateJsonOptionValue(opt, val, errors);\n  } else {\n    errors.push(createCompilerDiagnosticForInvalidCustomType(opt));\n  }\n}\nfunction convertJsonOptionOfListType(option, values, basePath, errors) {\n  return filter(map(values, (v) => convertJsonOption(option.element, v, basePath, errors)), (v) => option.listPreserveFalsyValues ? true : !!v);\n}\nvar invalidTrailingRecursionPattern = /(^|\\/)\\*\\*\\/?$/;\nvar wildcardDirectoryPattern = /^[^*?]*(?=\\/[^/]*[*?])/;\nfunction getFileNamesFromConfigSpecs(configFileSpecs, basePath, options, host, extraFileExtensions = emptyArray) {\n  basePath = normalizePath(basePath);\n  const keyMapper = createGetCanonicalFileName(host.useCaseSensitiveFileNames);\n  const literalFileMap = new Map2();\n  const wildcardFileMap = new Map2();\n  const wildCardJsonFileMap = new Map2();\n  const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = configFileSpecs;\n  const supportedExtensions = getSupportedExtensions(options, extraFileExtensions);\n  const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions);\n  if (validatedFilesSpec) {\n    for (const fileName of validatedFilesSpec) {\n      const file = getNormalizedAbsolutePath(fileName, basePath);\n      literalFileMap.set(keyMapper(file), file);\n    }\n  }\n  let jsonOnlyIncludeRegexes;\n  if (validatedIncludeSpecs && validatedIncludeSpecs.length > 0) {\n    for (const file of host.readDirectory(basePath, flatten(supportedExtensionsWithJsonIfResolveJsonModule), validatedExcludeSpecs, validatedIncludeSpecs, void 0)) {\n      if (fileExtensionIs(file, \".json\" /* Json */)) {\n        if (!jsonOnlyIncludeRegexes) {\n          const includes = validatedIncludeSpecs.filter((s) => endsWith(s, \".json\" /* Json */));\n          const includeFilePatterns = map(getRegularExpressionsForWildcards(includes, basePath, \"files\"), (pattern) => `^${pattern}$`);\n          jsonOnlyIncludeRegexes = includeFilePatterns ? includeFilePatterns.map((pattern) => getRegexFromPattern(pattern, host.useCaseSensitiveFileNames)) : emptyArray;\n        }\n        const includeIndex = findIndex(jsonOnlyIncludeRegexes, (re) => re.test(file));\n        if (includeIndex !== -1) {\n          const key2 = keyMapper(file);\n          if (!literalFileMap.has(key2) && !wildCardJsonFileMap.has(key2)) {\n            wildCardJsonFileMap.set(key2, file);\n          }\n        }\n        continue;\n      }\n      if (hasFileWithHigherPriorityExtension(file, literalFileMap, wildcardFileMap, supportedExtensions, keyMapper)) {\n        continue;\n      }\n      removeWildcardFilesWithLowerPriorityExtension(file, wildcardFileMap, supportedExtensions, keyMapper);\n      const key = keyMapper(file);\n      if (!literalFileMap.has(key) && !wildcardFileMap.has(key)) {\n        wildcardFileMap.set(key, file);\n      }\n    }\n  }\n  const literalFiles = arrayFrom(literalFileMap.values());\n  const wildcardFiles = arrayFrom(wildcardFileMap.values());\n  return literalFiles.concat(wildcardFiles, arrayFrom(wildCardJsonFileMap.values()));\n}\nfunction isExcludedFile(pathToCheck, spec, basePath, useCaseSensitiveFileNames, currentDirectory) {\n  const { validatedFilesSpec, validatedIncludeSpecs, validatedExcludeSpecs } = spec;\n  if (!length(validatedIncludeSpecs) || !length(validatedExcludeSpecs))\n    return false;\n  basePath = normalizePath(basePath);\n  const keyMapper = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  if (validatedFilesSpec) {\n    for (const fileName of validatedFilesSpec) {\n      if (keyMapper(getNormalizedAbsolutePath(fileName, basePath)) === pathToCheck)\n        return false;\n    }\n  }\n  return matchesExcludeWorker(pathToCheck, validatedExcludeSpecs, useCaseSensitiveFileNames, currentDirectory, basePath);\n}\nfunction invalidDotDotAfterRecursiveWildcard(s) {\n  const wildcardIndex = startsWith(s, \"**/\") ? 0 : s.indexOf(\"/**/\");\n  if (wildcardIndex === -1) {\n    return false;\n  }\n  const lastDotIndex = endsWith(s, \"/..\") ? s.length : s.lastIndexOf(\"/../\");\n  return lastDotIndex > wildcardIndex;\n}\nfunction matchesExclude(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory) {\n  return matchesExcludeWorker(\n    pathToCheck,\n    filter(excludeSpecs, (spec) => !invalidDotDotAfterRecursiveWildcard(spec)),\n    useCaseSensitiveFileNames,\n    currentDirectory\n  );\n}\nfunction matchesExcludeWorker(pathToCheck, excludeSpecs, useCaseSensitiveFileNames, currentDirectory, basePath) {\n  const excludePattern = getRegularExpressionForWildcard(excludeSpecs, combinePaths(normalizePath(currentDirectory), basePath), \"exclude\");\n  const excludeRegex = excludePattern && getRegexFromPattern(excludePattern, useCaseSensitiveFileNames);\n  if (!excludeRegex)\n    return false;\n  if (excludeRegex.test(pathToCheck))\n    return true;\n  return !hasExtension(pathToCheck) && excludeRegex.test(ensureTrailingDirectorySeparator(pathToCheck));\n}\nfunction validateSpecs(specs, errors, disallowTrailingRecursion, jsonSourceFile, specKey) {\n  return specs.filter((spec) => {\n    if (!isString(spec))\n      return false;\n    const diag2 = specToDiagnostic(spec, disallowTrailingRecursion);\n    if (diag2 !== void 0) {\n      errors.push(createDiagnostic(...diag2));\n    }\n    return diag2 === void 0;\n  });\n  function createDiagnostic(message, spec) {\n    const element = getTsConfigPropArrayElementValue(jsonSourceFile, specKey, spec);\n    return element ? createDiagnosticForNodeInSourceFile(jsonSourceFile, element, message, spec) : createCompilerDiagnostic(message, spec);\n  }\n}\nfunction specToDiagnostic(spec, disallowTrailingRecursion) {\n  if (disallowTrailingRecursion && invalidTrailingRecursionPattern.test(spec)) {\n    return [Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec];\n  } else if (invalidDotDotAfterRecursiveWildcard(spec)) {\n    return [Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0, spec];\n  }\n}\nfunction getWildcardDirectories({ validatedIncludeSpecs: include, validatedExcludeSpecs: exclude }, path, useCaseSensitiveFileNames) {\n  const rawExcludeRegex = getRegularExpressionForWildcard(exclude, path, \"exclude\");\n  const excludeRegex = rawExcludeRegex && new RegExp(rawExcludeRegex, useCaseSensitiveFileNames ? \"\" : \"i\");\n  const wildcardDirectories = {};\n  if (include !== void 0) {\n    const recursiveKeys = [];\n    for (const file of include) {\n      const spec = normalizePath(combinePaths(path, file));\n      if (excludeRegex && excludeRegex.test(spec)) {\n        continue;\n      }\n      const match = getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames);\n      if (match) {\n        const { key, flags } = match;\n        const existingFlags = wildcardDirectories[key];\n        if (existingFlags === void 0 || existingFlags < flags) {\n          wildcardDirectories[key] = flags;\n          if (flags === 1 /* Recursive */) {\n            recursiveKeys.push(key);\n          }\n        }\n      }\n    }\n    for (const key in wildcardDirectories) {\n      if (hasProperty(wildcardDirectories, key)) {\n        for (const recursiveKey of recursiveKeys) {\n          if (key !== recursiveKey && containsPath(recursiveKey, key, path, !useCaseSensitiveFileNames)) {\n            delete wildcardDirectories[key];\n          }\n        }\n      }\n    }\n  }\n  return wildcardDirectories;\n}\nfunction getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames) {\n  const match = wildcardDirectoryPattern.exec(spec);\n  if (match) {\n    const questionWildcardIndex = spec.indexOf(\"?\");\n    const starWildcardIndex = spec.indexOf(\"*\");\n    const lastDirectorySeperatorIndex = spec.lastIndexOf(directorySeparator);\n    return {\n      key: useCaseSensitiveFileNames ? match[0] : toFileNameLowerCase(match[0]),\n      flags: questionWildcardIndex !== -1 && questionWildcardIndex < lastDirectorySeperatorIndex || starWildcardIndex !== -1 && starWildcardIndex < lastDirectorySeperatorIndex ? 1 /* Recursive */ : 0 /* None */\n    };\n  }\n  if (isImplicitGlob(spec.substring(spec.lastIndexOf(directorySeparator) + 1))) {\n    return {\n      key: removeTrailingDirectorySeparator(useCaseSensitiveFileNames ? spec : toFileNameLowerCase(spec)),\n      flags: 1 /* Recursive */\n    };\n  }\n  return void 0;\n}\nfunction hasFileWithHigherPriorityExtension(file, literalFiles, wildcardFiles, extensions, keyMapper) {\n  const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0);\n  if (!extensionGroup) {\n    return false;\n  }\n  for (const ext of extensionGroup) {\n    if (fileExtensionIs(file, ext)) {\n      return false;\n    }\n    const higherPriorityPath = keyMapper(changeExtension(file, ext));\n    if (literalFiles.has(higherPriorityPath) || wildcardFiles.has(higherPriorityPath)) {\n      if (ext === \".d.ts\" /* Dts */ && (fileExtensionIs(file, \".js\" /* Js */) || fileExtensionIs(file, \".jsx\" /* Jsx */))) {\n        continue;\n      }\n      return true;\n    }\n  }\n  return false;\n}\nfunction removeWildcardFilesWithLowerPriorityExtension(file, wildcardFiles, extensions, keyMapper) {\n  const extensionGroup = forEach(extensions, (group2) => fileExtensionIsOneOf(file, group2) ? group2 : void 0);\n  if (!extensionGroup) {\n    return;\n  }\n  for (let i = extensionGroup.length - 1; i >= 0; i--) {\n    const ext = extensionGroup[i];\n    if (fileExtensionIs(file, ext)) {\n      return;\n    }\n    const lowerPriorityPath = keyMapper(changeExtension(file, ext));\n    wildcardFiles.delete(lowerPriorityPath);\n  }\n}\nfunction convertCompilerOptionsForTelemetry(opts) {\n  const out = {};\n  for (const key in opts) {\n    if (hasProperty(opts, key)) {\n      const type = getOptionFromName(key);\n      if (type !== void 0) {\n        out[key] = getOptionValueWithEmptyStrings(opts[key], type);\n      }\n    }\n  }\n  return out;\n}\nfunction getOptionValueWithEmptyStrings(value, option) {\n  switch (option.type) {\n    case \"object\":\n      return \"\";\n    case \"string\":\n      return \"\";\n    case \"number\":\n      return typeof value === \"number\" ? value : \"\";\n    case \"boolean\":\n      return typeof value === \"boolean\" ? value : \"\";\n    case \"list\":\n      const elementType = option.element;\n      return isArray(value) ? value.map((v) => getOptionValueWithEmptyStrings(v, elementType)) : \"\";\n    default:\n      return forEachEntry(option.type, (optionEnumValue, optionStringValue) => {\n        if (optionEnumValue === value) {\n          return optionStringValue;\n        }\n      });\n  }\n}\nfunction getDefaultValueForOption(option) {\n  switch (option.type) {\n    case \"number\":\n      return 1;\n    case \"boolean\":\n      return true;\n    case \"string\":\n      const defaultValue = option.defaultValueDescription;\n      return option.isFilePath ? `./${defaultValue && typeof defaultValue === \"string\" ? defaultValue : \"\"}` : \"\";\n    case \"list\":\n      return [];\n    case \"object\":\n      return {};\n    default:\n      const iterResult = option.type.keys().next();\n      if (!iterResult.done)\n        return iterResult.value;\n      return Debug.fail(\"Expected 'option.type' to have entries.\");\n  }\n}\n\n// src/compiler/moduleNameResolver.ts\nfunction trace(host) {\n  host.trace(formatMessage.apply(void 0, arguments));\n}\nfunction isTraceEnabled(compilerOptions, host) {\n  return !!compilerOptions.traceResolution && host.trace !== void 0;\n}\nfunction withPackageId(packageInfo, r) {\n  let packageId;\n  if (r && packageInfo) {\n    const packageJsonContent = packageInfo.contents.packageJsonContent;\n    if (typeof packageJsonContent.name === \"string\" && typeof packageJsonContent.version === \"string\") {\n      packageId = {\n        name: packageJsonContent.name,\n        subModuleName: r.path.slice(packageInfo.packageDirectory.length + directorySeparator.length),\n        version: packageJsonContent.version\n      };\n    }\n  }\n  return r && { path: r.path, extension: r.ext, packageId };\n}\nfunction noPackageId(r) {\n  return withPackageId(void 0, r);\n}\nfunction removeIgnoredPackageId(r) {\n  if (r) {\n    Debug.assert(r.packageId === void 0);\n    return { path: r.path, ext: r.extension };\n  }\n}\nvar Extensions = /* @__PURE__ */ ((Extensions2) => {\n  Extensions2[Extensions2[\"TypeScript\"] = 0] = \"TypeScript\";\n  Extensions2[Extensions2[\"JavaScript\"] = 1] = \"JavaScript\";\n  Extensions2[Extensions2[\"Json\"] = 2] = \"Json\";\n  Extensions2[Extensions2[\"TSConfig\"] = 3] = \"TSConfig\";\n  Extensions2[Extensions2[\"DtsOnly\"] = 4] = \"DtsOnly\";\n  Extensions2[Extensions2[\"TsOnly\"] = 5] = \"TsOnly\";\n  return Extensions2;\n})(Extensions || {});\nfunction resolvedTypeScriptOnly(resolved) {\n  if (!resolved) {\n    return void 0;\n  }\n  Debug.assert(extensionIsTS(resolved.extension));\n  return { fileName: resolved.path, packageId: resolved.packageId };\n}\nfunction createResolvedModuleWithFailedLookupLocations(resolved, isExternalLibraryImport, failedLookupLocations, affectingLocations, diagnostics, resultFromCache) {\n  if (resultFromCache) {\n    resultFromCache.failedLookupLocations.push(...failedLookupLocations);\n    resultFromCache.affectingLocations.push(...affectingLocations);\n    return resultFromCache;\n  }\n  return {\n    resolvedModule: resolved && { resolvedFileName: resolved.path, originalPath: resolved.originalPath === true ? void 0 : resolved.originalPath, extension: resolved.extension, isExternalLibraryImport, packageId: resolved.packageId },\n    failedLookupLocations,\n    affectingLocations,\n    resolutionDiagnostics: diagnostics\n  };\n}\nfunction readPackageJsonField(jsonContent, fieldName, typeOfTag, state) {\n  if (!hasProperty(jsonContent, fieldName)) {\n    if (state.traceEnabled) {\n      const message = isOhpm(state.compilerOptions.packageManagerType) ? Diagnostics.oh_package_json5_does_not_have_a_0_field : Diagnostics.package_json_does_not_have_a_0_field;\n      trace(state.host, message, fieldName);\n    }\n    return;\n  }\n  const value = jsonContent[fieldName];\n  if (typeof value !== typeOfTag || value === null) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, fieldName, typeOfTag, value === null ? \"null\" : typeof value);\n    }\n    return;\n  }\n  return value;\n}\nfunction readPackageJsonPathField(jsonContent, fieldName, baseDirectory, state) {\n  const fileName = readPackageJsonField(jsonContent, fieldName, \"string\", state);\n  if (fileName === void 0) {\n    return;\n  }\n  if (!fileName) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.package_json_had_a_falsy_0_field, fieldName);\n    }\n    return;\n  }\n  const path = normalizePath(combinePaths(baseDirectory, fileName));\n  if (state.traceEnabled) {\n    const message = isOhpm(state.compilerOptions.packageManagerType) ? Diagnostics.oh_package_json5_has_0_field_1_that_references_2 : Diagnostics.package_json_has_0_field_1_that_references_2;\n    trace(state.host, message, fieldName, fileName, path);\n  }\n  return path;\n}\nfunction readPackageJsonTypesFields(jsonContent, baseDirectory, state) {\n  return readPackageJsonPathField(jsonContent, \"typings\", baseDirectory, state) || readPackageJsonPathField(jsonContent, \"types\", baseDirectory, state);\n}\nfunction readPackageJsonTSConfigField(jsonContent, baseDirectory, state) {\n  return readPackageJsonPathField(jsonContent, \"tsconfig\", baseDirectory, state);\n}\nfunction readPackageJsonMainField(jsonContent, baseDirectory, state) {\n  return readPackageJsonPathField(jsonContent, \"main\", baseDirectory, state);\n}\nfunction readPackageJsonTypesVersionsField(jsonContent, state) {\n  const typesVersions = readPackageJsonField(jsonContent, \"typesVersions\", \"object\", state);\n  if (typesVersions === void 0)\n    return;\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.package_json_has_a_typesVersions_field_with_version_specific_path_mappings);\n  }\n  return typesVersions;\n}\nfunction readPackageJsonTypesVersionPaths(jsonContent, state) {\n  const typesVersions = readPackageJsonTypesVersionsField(jsonContent, state);\n  if (typesVersions === void 0)\n    return;\n  if (state.traceEnabled) {\n    for (const key in typesVersions) {\n      if (hasProperty(typesVersions, key) && !VersionRange.tryParse(key)) {\n        trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range, key);\n      }\n    }\n  }\n  const result = getPackageJsonTypesVersionsPaths(typesVersions);\n  if (!result) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0, versionMajorMinor);\n    }\n    return;\n  }\n  const { version: bestVersionKey, paths: bestVersionPaths } = result;\n  if (typeof bestVersionPaths !== \"object\") {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2, `typesVersions['${bestVersionKey}']`, \"object\", typeof bestVersionPaths);\n    }\n    return;\n  }\n  return result;\n}\nvar typeScriptVersion;\nfunction getPackageJsonTypesVersionsPaths(typesVersions) {\n  if (!typeScriptVersion)\n    typeScriptVersion = new Version(version);\n  for (const key in typesVersions) {\n    if (!hasProperty(typesVersions, key))\n      continue;\n    const keyRange = VersionRange.tryParse(key);\n    if (keyRange === void 0) {\n      continue;\n    }\n    if (keyRange.test(typeScriptVersion)) {\n      return { version: key, paths: typesVersions[key] };\n    }\n  }\n}\nfunction getEffectiveTypeRoots(options, host) {\n  if (options.typeRoots) {\n    return options.typeRoots;\n  }\n  let currentDirectory;\n  if (options.configFilePath) {\n    currentDirectory = getDirectoryPath(options.configFilePath);\n  } else if (host.getCurrentDirectory) {\n    currentDirectory = host.getCurrentDirectory();\n  }\n  if (currentDirectory !== void 0) {\n    return getDefaultTypeRoots(currentDirectory, host, options.packageManagerType);\n  }\n}\nfunction getDefaultTypeRoots(currentDirectory, host, packageManagerType) {\n  const modulesAtTypes = combinePaths(getModuleByPMType(packageManagerType), \"@types\");\n  if (!host.directoryExists) {\n    return [combinePaths(currentDirectory, modulesAtTypes)];\n  }\n  let typeRoots;\n  forEachAncestorDirectory(normalizePath(currentDirectory), (directory) => {\n    const atTypes = combinePaths(directory, modulesAtTypes);\n    if (host.directoryExists(atTypes)) {\n      (typeRoots || (typeRoots = [])).push(atTypes);\n    }\n    return void 0;\n  });\n  return typeRoots;\n}\nfunction arePathsEqual(path1, path2, host) {\n  const useCaseSensitiveFileNames = typeof host.useCaseSensitiveFileNames === \"function\" ? host.useCaseSensitiveFileNames() : host.useCaseSensitiveFileNames;\n  return comparePaths(path1, path2, !useCaseSensitiveFileNames) === 0 /* EqualTo */;\n}\nfunction resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFile, options, host, redirectedReference, cache, resolutionMode) {\n  Debug.assert(typeof typeReferenceDirectiveName === \"string\", \"Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.\");\n  const traceEnabled = isTraceEnabled(options, host);\n  if (redirectedReference) {\n    options = redirectedReference.commandLine.options;\n  }\n  const containingDirectory = containingFile ? getDirectoryPath(containingFile) : void 0;\n  const perFolderCache = containingDirectory ? cache && cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference) : void 0;\n  let result = perFolderCache && perFolderCache.get(typeReferenceDirectiveName, resolutionMode);\n  if (result) {\n    if (traceEnabled) {\n      trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1, typeReferenceDirectiveName, containingFile);\n      if (redirectedReference)\n        trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName);\n      trace(host, Diagnostics.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1, typeReferenceDirectiveName, containingDirectory);\n      traceResult(result);\n    }\n    return result;\n  }\n  const typeRoots = getEffectiveTypeRoots(options, host);\n  if (traceEnabled) {\n    if (containingFile === void 0) {\n      if (typeRoots === void 0) {\n        trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set, typeReferenceDirectiveName);\n      } else {\n        trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1, typeReferenceDirectiveName, typeRoots);\n      }\n    } else {\n      if (typeRoots === void 0) {\n        trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set, typeReferenceDirectiveName, containingFile);\n      } else {\n        trace(host, Diagnostics.Resolving_type_reference_directive_0_containing_file_1_root_directory_2, typeReferenceDirectiveName, containingFile, typeRoots);\n      }\n    }\n    if (redirectedReference) {\n      trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName);\n    }\n  }\n  const failedLookupLocations = [];\n  const affectingLocations = [];\n  let features = getDefaultNodeResolutionFeatures(options);\n  if (resolutionMode === 99 /* ESNext */ && (getEmitModuleResolutionKind(options) === 3 /* Node16 */ || getEmitModuleResolutionKind(options) === 99 /* NodeNext */)) {\n    features |= NodeResolutionFeatures.EsmMode;\n  }\n  const conditions = features & NodeResolutionFeatures.Exports ? features & NodeResolutionFeatures.EsmMode ? [\"node\", \"import\", \"types\"] : [\"node\", \"require\", \"types\"] : [];\n  const diagnostics = [];\n  const moduleResolutionState = {\n    compilerOptions: options,\n    host,\n    traceEnabled,\n    failedLookupLocations,\n    affectingLocations,\n    packageJsonInfoCache: cache,\n    features,\n    conditions,\n    requestContainingDirectory: containingDirectory,\n    reportDiagnostic: (diag2) => void diagnostics.push(diag2)\n  };\n  let resolved = primaryLookup();\n  let primary = true;\n  if (!resolved) {\n    resolved = secondaryLookup();\n    primary = false;\n  }\n  let resolvedTypeReferenceDirective;\n  if (resolved) {\n    const { fileName, packageId } = resolved;\n    const resolvedFileName = options.preserveSymlinks ? fileName : realPath(fileName, host, traceEnabled);\n    const pathsAreEqual = arePathsEqual(fileName, resolvedFileName, host);\n    resolvedTypeReferenceDirective = {\n      primary,\n      resolvedFileName: pathsAreEqual ? fileName : resolvedFileName,\n      originalPath: pathsAreEqual ? void 0 : fileName,\n      packageId,\n      isExternalLibraryImport: choosePathContainsModules(options.packageManagerType, fileName)\n    };\n  }\n  result = { resolvedTypeReferenceDirective, failedLookupLocations, affectingLocations, resolutionDiagnostics: diagnostics };\n  perFolderCache == null ? void 0 : perFolderCache.set(typeReferenceDirectiveName, resolutionMode, result);\n  if (traceEnabled)\n    traceResult(result);\n  return result;\n  function traceResult(result2) {\n    var _a2;\n    if (!((_a2 = result2.resolvedTypeReferenceDirective) == null ? void 0 : _a2.resolvedFileName)) {\n      trace(host, Diagnostics.Type_reference_directive_0_was_not_resolved, typeReferenceDirectiveName);\n    } else if (result2.resolvedTypeReferenceDirective.packageId) {\n      trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, packageIdToString(result2.resolvedTypeReferenceDirective.packageId), result2.resolvedTypeReferenceDirective.primary);\n    } else {\n      trace(host, Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2, typeReferenceDirectiveName, result2.resolvedTypeReferenceDirective.resolvedFileName, result2.resolvedTypeReferenceDirective.primary);\n    }\n  }\n  function primaryLookup() {\n    if (typeRoots && typeRoots.length) {\n      if (traceEnabled) {\n        trace(host, Diagnostics.Resolving_with_primary_search_path_0, typeRoots.join(\", \"));\n      }\n      return firstDefined(typeRoots, (typeRoot) => {\n        const candidate = combinePaths(typeRoot, typeReferenceDirectiveName);\n        const candidateDirectory = getDirectoryPath(candidate);\n        const directoryExists = directoryProbablyExists(candidateDirectory, host);\n        if (!directoryExists && traceEnabled) {\n          trace(host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, candidateDirectory);\n        }\n        return resolvedTypeScriptOnly(\n          loadNodeModuleFromDirectory(\n            4 /* DtsOnly */,\n            candidate,\n            !directoryExists,\n            moduleResolutionState\n          )\n        );\n      });\n    } else {\n      if (traceEnabled) {\n        trace(host, Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths);\n      }\n    }\n  }\n  function secondaryLookup() {\n    const initialLocationForSecondaryLookup = containingFile && getDirectoryPath(containingFile);\n    const packageManagerType = options.packageManagerType;\n    if (initialLocationForSecondaryLookup !== void 0) {\n      if (traceEnabled) {\n        const message = isOhpm(packageManagerType) ? Diagnostics.Looking_up_in_oh_modules_folder_initial_location_0 : Diagnostics.Looking_up_in_node_modules_folder_initial_location_0;\n        trace(host, message, initialLocationForSecondaryLookup);\n      }\n      let result2;\n      if (!isExternalModuleNameRelative(typeReferenceDirectiveName)) {\n        const searchResult = loadModuleFromNearestNodeModulesDirectory(4 /* DtsOnly */, typeReferenceDirectiveName, initialLocationForSecondaryLookup, moduleResolutionState, void 0, void 0);\n        result2 = searchResult && searchResult.value;\n      } else {\n        const { path: candidate } = normalizePathForCJSResolution(initialLocationForSecondaryLookup, typeReferenceDirectiveName);\n        result2 = nodeLoadModuleByRelativeName(4 /* DtsOnly */, candidate, false, moduleResolutionState, true);\n      }\n      return resolvedTypeScriptOnly(result2);\n    } else {\n      if (traceEnabled) {\n        const message = isOhpm(packageManagerType) ? Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_oh_modules_folder : Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder;\n        trace(host, message);\n      }\n    }\n  }\n}\nfunction getDefaultNodeResolutionFeatures(options) {\n  return getEmitModuleResolutionKind(options) === 3 /* Node16 */ ? NodeResolutionFeatures.Node16Default : getEmitModuleResolutionKind(options) === 99 /* NodeNext */ ? NodeResolutionFeatures.NodeNextDefault : NodeResolutionFeatures.None;\n}\nfunction resolvePackageNameToPackageJson(packageName, containingDirectory, options, host, cache) {\n  const moduleResolutionState = getTemporaryModuleResolutionState(cache == null ? void 0 : cache.getPackageJsonInfoCache(), host, options);\n  return forEachAncestorDirectory(containingDirectory, (ancestorDirectory) => {\n    if (getBaseFileName(ancestorDirectory) !== \"node_modules\" && getBaseFileName(ancestorDirectory) !== \"oh_modules\") {\n      const modulePathPart = getModuleByPMType(options.packageManagerType);\n      const nodeModulesFolder = combinePaths(ancestorDirectory, modulePathPart);\n      const candidate = combinePaths(nodeModulesFolder, packageName);\n      return getPackageJsonInfo(candidate, false, moduleResolutionState);\n    }\n  });\n}\nfunction getAutomaticTypeDirectiveNames(options, host) {\n  if (options.types) {\n    return options.types;\n  }\n  const result = [];\n  if (host.directoryExists && host.getDirectories) {\n    const typeRoots = getEffectiveTypeRoots(options, host);\n    if (typeRoots) {\n      for (const root of typeRoots) {\n        if (host.directoryExists(root)) {\n          for (const typeDirectivePath of host.getDirectories(root)) {\n            const normalized = normalizePath(typeDirectivePath);\n            const packageJsonPath = combinePaths(root, normalized, getPackageJsonByPMType(options.packageManagerType));\n            let isNotNeededPackage;\n            if (isOhpm(options.packageManagerType)) {\n              isNotNeededPackage = host.fileExists(packageJsonPath) && require(\"json5\").parse(host.readFile(packageJsonPath)).typings === null;\n            } else {\n              isNotNeededPackage = host.fileExists(packageJsonPath) && readJson(packageJsonPath, host).typings === null;\n            }\n            if (!isNotNeededPackage) {\n              const baseFileName = getBaseFileName(normalized);\n              if (baseFileName.charCodeAt(0) !== 46 /* dot */) {\n                result.push(baseFileName);\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  return result;\n}\nfunction createCacheWithRedirects(options) {\n  let ownMap = new Map2();\n  const redirectsMap = new Map2();\n  return {\n    getOwnMap,\n    redirectsMap,\n    getOrCreateMapOfCacheRedirects,\n    clear: clear2,\n    setOwnOptions,\n    setOwnMap\n  };\n  function getOwnMap() {\n    return ownMap;\n  }\n  function setOwnOptions(newOptions) {\n    options = newOptions;\n  }\n  function setOwnMap(newOwnMap) {\n    ownMap = newOwnMap;\n  }\n  function getOrCreateMapOfCacheRedirects(redirectedReference) {\n    if (!redirectedReference) {\n      return ownMap;\n    }\n    const path = redirectedReference.sourceFile.path;\n    let redirects = redirectsMap.get(path);\n    if (!redirects) {\n      redirects = !options || optionsHaveModuleResolutionChanges(options, redirectedReference.commandLine.options) ? new Map2() : ownMap;\n      redirectsMap.set(path, redirects);\n    }\n    return redirects;\n  }\n  function clear2() {\n    ownMap.clear();\n    redirectsMap.clear();\n  }\n}\nfunction createPackageJsonInfoCache(currentDirectory, getCanonicalFileName) {\n  let cache;\n  return { getPackageJsonInfo: getPackageJsonInfo2, setPackageJsonInfo, clear: clear2, entries, getInternalMap };\n  function getPackageJsonInfo2(packageJsonPath) {\n    return cache == null ? void 0 : cache.get(toPath(packageJsonPath, currentDirectory, getCanonicalFileName));\n  }\n  function setPackageJsonInfo(packageJsonPath, info) {\n    (cache || (cache = new Map2())).set(toPath(packageJsonPath, currentDirectory, getCanonicalFileName), info);\n  }\n  function clear2() {\n    cache = void 0;\n  }\n  function entries() {\n    const iter = cache == null ? void 0 : cache.entries();\n    return iter ? arrayFrom(iter) : [];\n  }\n  function getInternalMap() {\n    return cache;\n  }\n}\nfunction getOrCreateCache(cacheWithRedirects, redirectedReference, key, create) {\n  const cache = cacheWithRedirects.getOrCreateMapOfCacheRedirects(redirectedReference);\n  let result = cache.get(key);\n  if (!result) {\n    result = create();\n    cache.set(key, result);\n  }\n  return result;\n}\nfunction updateRedirectsMap(options, directoryToModuleNameMap, moduleNameToDirectoryMap) {\n  if (!options.configFile)\n    return;\n  if (directoryToModuleNameMap.redirectsMap.size === 0) {\n    Debug.assert(!moduleNameToDirectoryMap || moduleNameToDirectoryMap.redirectsMap.size === 0);\n    Debug.assert(directoryToModuleNameMap.getOwnMap().size === 0);\n    Debug.assert(!moduleNameToDirectoryMap || moduleNameToDirectoryMap.getOwnMap().size === 0);\n    directoryToModuleNameMap.redirectsMap.set(options.configFile.path, directoryToModuleNameMap.getOwnMap());\n    moduleNameToDirectoryMap == null ? void 0 : moduleNameToDirectoryMap.redirectsMap.set(options.configFile.path, moduleNameToDirectoryMap.getOwnMap());\n  } else {\n    Debug.assert(!moduleNameToDirectoryMap || moduleNameToDirectoryMap.redirectsMap.size > 0);\n    const ref = {\n      sourceFile: options.configFile,\n      commandLine: { options }\n    };\n    directoryToModuleNameMap.setOwnMap(directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(ref));\n    moduleNameToDirectoryMap == null ? void 0 : moduleNameToDirectoryMap.setOwnMap(moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(ref));\n  }\n  directoryToModuleNameMap.setOwnOptions(options);\n  moduleNameToDirectoryMap == null ? void 0 : moduleNameToDirectoryMap.setOwnOptions(options);\n}\nfunction createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, directoryToModuleNameMap) {\n  return {\n    getOrCreateCacheForDirectory,\n    clear: clear2,\n    update\n  };\n  function clear2() {\n    directoryToModuleNameMap.clear();\n  }\n  function update(options) {\n    updateRedirectsMap(options, directoryToModuleNameMap);\n  }\n  function getOrCreateCacheForDirectory(directoryName, redirectedReference) {\n    const path = toPath(directoryName, currentDirectory, getCanonicalFileName);\n    return getOrCreateCache(directoryToModuleNameMap, redirectedReference, path, () => createModeAwareCache());\n  }\n}\nfunction createModeAwareCache() {\n  const underlying = new Map2();\n  const memoizedReverseKeys = new Map2();\n  const cache = {\n    get(specifier, mode) {\n      return underlying.get(getUnderlyingCacheKey(specifier, mode));\n    },\n    set(specifier, mode, value) {\n      underlying.set(getUnderlyingCacheKey(specifier, mode), value);\n      return cache;\n    },\n    delete(specifier, mode) {\n      underlying.delete(getUnderlyingCacheKey(specifier, mode));\n      return cache;\n    },\n    has(specifier, mode) {\n      return underlying.has(getUnderlyingCacheKey(specifier, mode));\n    },\n    forEach(cb) {\n      return underlying.forEach((elem, key) => {\n        const [specifier, mode] = memoizedReverseKeys.get(key);\n        return cb(elem, specifier, mode);\n      });\n    },\n    size() {\n      return underlying.size;\n    }\n  };\n  return cache;\n  function getUnderlyingCacheKey(specifier, mode) {\n    const result = mode === void 0 ? specifier : `${mode}|${specifier}`;\n    memoizedReverseKeys.set(result, [specifier, mode]);\n    return result;\n  }\n}\nfunction zipToModeAwareCache(file, keys, values) {\n  Debug.assert(keys.length === values.length);\n  const map2 = createModeAwareCache();\n  for (let i = 0; i < keys.length; ++i) {\n    const entry = keys[i];\n    const name = !isString(entry) ? entry.fileName.toLowerCase() : entry;\n    const mode = !isString(entry) ? entry.resolutionMode || file.impliedNodeFormat : getModeForResolutionAtIndex(file, i);\n    map2.set(name, mode, values[i]);\n  }\n  return map2;\n}\nfunction createModuleResolutionCache(currentDirectory, getCanonicalFileName, options, directoryToModuleNameMap, moduleNameToDirectoryMap) {\n  const perDirectoryResolutionCache = createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, directoryToModuleNameMap || (directoryToModuleNameMap = createCacheWithRedirects(options)));\n  moduleNameToDirectoryMap || (moduleNameToDirectoryMap = createCacheWithRedirects(options));\n  const packageJsonInfoCache = createPackageJsonInfoCache(currentDirectory, getCanonicalFileName);\n  return {\n    ...packageJsonInfoCache,\n    ...perDirectoryResolutionCache,\n    getOrCreateCacheForModuleName,\n    clear: clear2,\n    update,\n    getPackageJsonInfoCache: () => packageJsonInfoCache,\n    clearAllExceptPackageJsonInfoCache\n  };\n  function clear2() {\n    clearAllExceptPackageJsonInfoCache();\n    packageJsonInfoCache.clear();\n  }\n  function clearAllExceptPackageJsonInfoCache() {\n    perDirectoryResolutionCache.clear();\n    moduleNameToDirectoryMap.clear();\n  }\n  function update(options2) {\n    updateRedirectsMap(options2, directoryToModuleNameMap, moduleNameToDirectoryMap);\n  }\n  function getOrCreateCacheForModuleName(nonRelativeModuleName, mode, redirectedReference) {\n    Debug.assert(!isExternalModuleNameRelative(nonRelativeModuleName));\n    return getOrCreateCache(moduleNameToDirectoryMap, redirectedReference, mode === void 0 ? nonRelativeModuleName : `${mode}|${nonRelativeModuleName}`, createPerModuleNameCache);\n  }\n  function createPerModuleNameCache() {\n    const directoryPathMap = new Map2();\n    return { get, set };\n    function get(directory) {\n      return directoryPathMap.get(toPath(directory, currentDirectory, getCanonicalFileName));\n    }\n    function set(directory, result) {\n      const path = toPath(directory, currentDirectory, getCanonicalFileName);\n      if (directoryPathMap.has(path)) {\n        return;\n      }\n      directoryPathMap.set(path, result);\n      const resolvedFileName = result.resolvedModule && (result.resolvedModule.originalPath || result.resolvedModule.resolvedFileName);\n      const commonPrefix = resolvedFileName && getCommonPrefix(path, resolvedFileName);\n      let current = path;\n      while (current !== commonPrefix) {\n        const parent2 = getDirectoryPath(current);\n        if (parent2 === current || directoryPathMap.has(parent2)) {\n          break;\n        }\n        directoryPathMap.set(parent2, result);\n        current = parent2;\n      }\n    }\n    function getCommonPrefix(directory, resolution) {\n      const resolutionDirectory = toPath(getDirectoryPath(resolution), currentDirectory, getCanonicalFileName);\n      let i = 0;\n      const limit = Math.min(directory.length, resolutionDirectory.length);\n      while (i < limit && directory.charCodeAt(i) === resolutionDirectory.charCodeAt(i)) {\n        i++;\n      }\n      if (i === directory.length && (resolutionDirectory.length === i || resolutionDirectory[i] === directorySeparator)) {\n        return directory;\n      }\n      const rootLength = getRootLength(directory);\n      if (i < rootLength) {\n        return void 0;\n      }\n      const sep = directory.lastIndexOf(directorySeparator, i - 1);\n      if (sep === -1) {\n        return void 0;\n      }\n      return directory.substr(0, Math.max(sep, rootLength));\n    }\n  }\n}\nfunction createTypeReferenceDirectiveResolutionCache(currentDirectory, getCanonicalFileName, options, packageJsonInfoCache, directoryToModuleNameMap) {\n  const perDirectoryResolutionCache = createPerDirectoryResolutionCache(currentDirectory, getCanonicalFileName, directoryToModuleNameMap || (directoryToModuleNameMap = createCacheWithRedirects(options)));\n  packageJsonInfoCache || (packageJsonInfoCache = createPackageJsonInfoCache(currentDirectory, getCanonicalFileName));\n  return {\n    ...packageJsonInfoCache,\n    ...perDirectoryResolutionCache,\n    clear: clear2,\n    clearAllExceptPackageJsonInfoCache\n  };\n  function clear2() {\n    clearAllExceptPackageJsonInfoCache();\n    packageJsonInfoCache.clear();\n  }\n  function clearAllExceptPackageJsonInfoCache() {\n    perDirectoryResolutionCache.clear();\n  }\n}\nfunction resolveModuleNameFromCache(moduleName, containingFile, cache, mode) {\n  const containingDirectory = getDirectoryPath(containingFile);\n  const perFolderCache = cache && cache.getOrCreateCacheForDirectory(containingDirectory);\n  if (!perFolderCache)\n    return void 0;\n  return perFolderCache.get(moduleName, mode);\n}\nfunction resolveModuleName(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n  const traceEnabled = isTraceEnabled(compilerOptions, host);\n  if (redirectedReference) {\n    compilerOptions = redirectedReference.commandLine.options;\n  }\n  if (traceEnabled) {\n    trace(host, Diagnostics.Resolving_module_0_from_1, moduleName, containingFile);\n    if (redirectedReference) {\n      trace(host, Diagnostics.Using_compiler_options_of_project_reference_redirect_0, redirectedReference.sourceFile.fileName);\n    }\n  }\n  const containingDirectory = getDirectoryPath(containingFile);\n  const perFolderCache = cache && cache.getOrCreateCacheForDirectory(containingDirectory, redirectedReference);\n  let result = perFolderCache && perFolderCache.get(moduleName, resolutionMode);\n  if (result) {\n    if (traceEnabled) {\n      trace(host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory);\n    }\n  } else {\n    let moduleResolution = compilerOptions.moduleResolution;\n    if (moduleResolution === void 0) {\n      switch (getEmitModuleKind(compilerOptions)) {\n        case 1 /* CommonJS */:\n          moduleResolution = 2 /* NodeJs */;\n          break;\n        case 100 /* Node16 */:\n          moduleResolution = 3 /* Node16 */;\n          break;\n        case 199 /* NodeNext */:\n          moduleResolution = 99 /* NodeNext */;\n          break;\n        default:\n          moduleResolution = 1 /* Classic */;\n          break;\n      }\n      if (traceEnabled) {\n        trace(host, Diagnostics.Module_resolution_kind_is_not_specified_using_0, ModuleResolutionKind[moduleResolution]);\n      }\n    } else {\n      if (traceEnabled) {\n        trace(host, Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0, ModuleResolutionKind[moduleResolution]);\n      }\n    }\n    perfLogger.logStartResolveModule(moduleName);\n    switch (moduleResolution) {\n      case 3 /* Node16 */:\n        result = node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode);\n        break;\n      case 99 /* NodeNext */:\n        result = nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode);\n        break;\n      case 2 /* NodeJs */:\n        result = nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);\n        break;\n      case 1 /* Classic */:\n        result = classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference);\n        break;\n      default:\n        return Debug.fail(`Unexpected moduleResolution: ${moduleResolution}`);\n    }\n    if (result && result.resolvedModule)\n      perfLogger.logInfoEvent(`Module \"${moduleName}\" resolved to \"${result.resolvedModule.resolvedFileName}\"`);\n    perfLogger.logStopResolveModule(result && result.resolvedModule ? \"\" + result.resolvedModule.resolvedFileName : \"null\");\n    if (perFolderCache) {\n      perFolderCache.set(moduleName, resolutionMode, result);\n      if (!isExternalModuleNameRelative(moduleName)) {\n        cache.getOrCreateCacheForModuleName(moduleName, resolutionMode, redirectedReference).set(containingDirectory, result);\n      }\n    }\n  }\n  if (traceEnabled) {\n    if (result.resolvedModule) {\n      if (result.resolvedModule.packageId) {\n        trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2, moduleName, result.resolvedModule.resolvedFileName, packageIdToString(result.resolvedModule.packageId));\n      } else {\n        trace(host, Diagnostics.Module_name_0_was_successfully_resolved_to_1, moduleName, result.resolvedModule.resolvedFileName);\n      }\n    } else {\n      trace(host, Diagnostics.Module_name_0_was_not_resolved, moduleName);\n    }\n  }\n  return result;\n}\nfunction tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loader, state) {\n  const resolved = tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state);\n  if (resolved)\n    return resolved.value;\n  if (!isExternalModuleNameRelative(moduleName)) {\n    return tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state);\n  } else {\n    return tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state);\n  }\n}\nfunction tryLoadModuleUsingPathsIfEligible(extensions, moduleName, loader, state) {\n  var _a2;\n  const { baseUrl, paths, configFile } = state.compilerOptions;\n  if (paths && !pathIsRelative(moduleName)) {\n    if (state.traceEnabled) {\n      if (baseUrl) {\n        trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName);\n      }\n      trace(state.host, Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0, moduleName);\n    }\n    const baseDirectory = getPathsBasePath(state.compilerOptions, state.host);\n    const pathPatterns = (configFile == null ? void 0 : configFile.configFileSpecs) ? (_a2 = configFile.configFileSpecs).pathPatterns || (_a2.pathPatterns = tryParsePatterns(paths)) : void 0;\n    return tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, pathPatterns, loader, false, state);\n  }\n}\nfunction tryLoadModuleUsingRootDirs(extensions, moduleName, containingDirectory, loader, state) {\n  if (!state.compilerOptions.rootDirs) {\n    return void 0;\n  }\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0, moduleName);\n  }\n  const candidate = normalizePath(combinePaths(containingDirectory, moduleName));\n  let matchedRootDir;\n  let matchedNormalizedPrefix;\n  for (const rootDir of state.compilerOptions.rootDirs) {\n    let normalizedRoot = normalizePath(rootDir);\n    if (!endsWith(normalizedRoot, directorySeparator)) {\n      normalizedRoot += directorySeparator;\n    }\n    const isLongestMatchingPrefix = startsWith(candidate, normalizedRoot) && (matchedNormalizedPrefix === void 0 || matchedNormalizedPrefix.length < normalizedRoot.length);\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Checking_if_0_is_the_longest_matching_prefix_for_1_2, normalizedRoot, candidate, isLongestMatchingPrefix);\n    }\n    if (isLongestMatchingPrefix) {\n      matchedNormalizedPrefix = normalizedRoot;\n      matchedRootDir = rootDir;\n    }\n  }\n  if (matchedNormalizedPrefix) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Longest_matching_prefix_for_0_is_1, candidate, matchedNormalizedPrefix);\n    }\n    const suffix = candidate.substr(matchedNormalizedPrefix.length);\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, matchedNormalizedPrefix, candidate);\n    }\n    const resolvedFileName = loader(extensions, candidate, !directoryProbablyExists(containingDirectory, state.host), state);\n    if (resolvedFileName) {\n      return resolvedFileName;\n    }\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Trying_other_entries_in_rootDirs);\n    }\n    for (const rootDir of state.compilerOptions.rootDirs) {\n      if (rootDir === matchedRootDir) {\n        continue;\n      }\n      const candidate2 = combinePaths(normalizePath(rootDir), suffix);\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2, suffix, rootDir, candidate2);\n      }\n      const baseDirectory = getDirectoryPath(candidate2);\n      const resolvedFileName2 = loader(extensions, candidate2, !directoryProbablyExists(baseDirectory, state.host), state);\n      if (resolvedFileName2) {\n        return resolvedFileName2;\n      }\n    }\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Module_resolution_using_rootDirs_has_failed);\n    }\n  }\n  return void 0;\n}\nfunction tryLoadModuleUsingBaseUrl(extensions, moduleName, loader, state) {\n  const { baseUrl } = state.compilerOptions;\n  if (!baseUrl) {\n    return void 0;\n  }\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1, baseUrl, moduleName);\n  }\n  const candidate = normalizePath(combinePaths(baseUrl, moduleName));\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2, moduleName, baseUrl, candidate);\n  }\n  return loader(extensions, candidate, !directoryProbablyExists(getDirectoryPath(candidate), state.host), state);\n}\nfunction resolveJSModule(moduleName, initialDir, host) {\n  const { resolvedModule, failedLookupLocations } = tryResolveJSModuleWorker(moduleName, initialDir, host);\n  if (!resolvedModule) {\n    throw new Error(`Could not resolve JS module '${moduleName}' starting at '${initialDir}'. Looked in: ${failedLookupLocations.join(\", \")}`);\n  }\n  return resolvedModule.resolvedFileName;\n}\nvar NodeResolutionFeatures = /* @__PURE__ */ ((NodeResolutionFeatures2) => {\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"None\"] = 0] = \"None\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"Imports\"] = 2] = \"Imports\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"SelfName\"] = 4] = \"SelfName\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"Exports\"] = 8] = \"Exports\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"ExportsPatternTrailers\"] = 16] = \"ExportsPatternTrailers\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"AllFeatures\"] = 30] = \"AllFeatures\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"Node16Default\"] = 30] = \"Node16Default\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"NodeNextDefault\"] = 30 /* AllFeatures */] = \"NodeNextDefault\";\n  NodeResolutionFeatures2[NodeResolutionFeatures2[\"EsmMode\"] = 32] = \"EsmMode\";\n  return NodeResolutionFeatures2;\n})(NodeResolutionFeatures || {});\nfunction node16ModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n  return nodeNextModuleNameResolverWorker(\n    30 /* Node16Default */,\n    moduleName,\n    containingFile,\n    compilerOptions,\n    host,\n    cache,\n    redirectedReference,\n    resolutionMode\n  );\n}\nfunction nodeNextModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n  return nodeNextModuleNameResolverWorker(\n    30 /* NodeNextDefault */,\n    moduleName,\n    containingFile,\n    compilerOptions,\n    host,\n    cache,\n    redirectedReference,\n    resolutionMode\n  );\n}\nvar jsOnlyExtensions = [1 /* JavaScript */];\nvar tsExtensions = [0 /* TypeScript */, 1 /* JavaScript */];\nvar tsPlusJsonExtensions = [...tsExtensions, 2 /* Json */];\nvar tsconfigExtensions = [3 /* TSConfig */];\nfunction nodeNextModuleNameResolverWorker(features, moduleName, containingFile, compilerOptions, host, cache, redirectedReference, resolutionMode) {\n  const containingDirectory = getDirectoryPath(containingFile);\n  const esmMode = resolutionMode === 99 /* ESNext */ ? 32 /* EsmMode */ : 0;\n  let extensions = compilerOptions.noDtsResolution ? [5 /* TsOnly */, 1 /* JavaScript */] : tsExtensions;\n  if (compilerOptions.resolveJsonModule) {\n    extensions = [...extensions, 2 /* Json */];\n  }\n  return nodeModuleNameResolverWorker(features | esmMode, moduleName, containingDirectory, compilerOptions, host, cache, extensions, redirectedReference);\n}\nfunction tryResolveJSModuleWorker(moduleName, initialDir, host) {\n  return nodeModuleNameResolverWorker(0 /* None */, moduleName, initialDir, { moduleResolution: 2 /* NodeJs */, allowJs: true }, host, void 0, jsOnlyExtensions, void 0);\n}\nfunction nodeModuleNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference, lookupConfig) {\n  let extensions;\n  if (lookupConfig) {\n    extensions = tsconfigExtensions;\n  } else if (compilerOptions.noDtsResolution) {\n    extensions = [5 /* TsOnly */];\n    if (compilerOptions.allowJs)\n      extensions.push(1 /* JavaScript */);\n    if (compilerOptions.resolveJsonModule)\n      extensions.push(2 /* Json */);\n  } else {\n    extensions = compilerOptions.resolveJsonModule ? tsPlusJsonExtensions : tsExtensions;\n  }\n  return nodeModuleNameResolverWorker(0 /* None */, moduleName, getDirectoryPath(containingFile), compilerOptions, host, cache, extensions, redirectedReference);\n}\nfunction nodeModuleNameResolverWorker(features, moduleName, containingDirectory, compilerOptions, host, cache, extensions, redirectedReference) {\n  var _a2, _b;\n  const traceEnabled = isTraceEnabled(compilerOptions, host);\n  const failedLookupLocations = [];\n  const affectingLocations = [];\n  const conditions = features & 32 /* EsmMode */ ? [\"node\", \"import\", \"types\"] : [\"node\", \"require\", \"types\"];\n  if (compilerOptions.noDtsResolution) {\n    conditions.pop();\n  }\n  const diagnostics = [];\n  const state = {\n    compilerOptions,\n    host,\n    traceEnabled,\n    failedLookupLocations,\n    affectingLocations,\n    packageJsonInfoCache: cache,\n    features,\n    conditions,\n    requestContainingDirectory: containingDirectory,\n    reportDiagnostic: (diag2) => void diagnostics.push(diag2)\n  };\n  if (traceEnabled && getEmitModuleResolutionKind(compilerOptions) >= 3 /* Node16 */ && getEmitModuleResolutionKind(compilerOptions) <= 99 /* NodeNext */) {\n    trace(host, Diagnostics.Resolving_in_0_mode_with_conditions_1, features & 32 /* EsmMode */ ? \"ESM\" : \"CJS\", conditions.map((c) => `'${c}'`).join(\", \"));\n  }\n  const result = forEach(extensions, (ext) => tryResolve(ext));\n  return createResolvedModuleWithFailedLookupLocations(\n    (_a2 = result == null ? void 0 : result.value) == null ? void 0 : _a2.resolved,\n    (_b = result == null ? void 0 : result.value) == null ? void 0 : _b.isExternalLibraryImport,\n    failedLookupLocations,\n    affectingLocations,\n    diagnostics,\n    state.resultFromCache\n  );\n  function tryResolve(extensions2) {\n    const loader = (extensions3, candidate, onlyRecordFailures, state2) => nodeLoadModuleByRelativeName(extensions3, candidate, onlyRecordFailures, state2, true);\n    const isOHModules2 = isOhpm(compilerOptions.packageManagerType);\n    const resolved = tryLoadModuleUsingOptionalResolutionSettings(extensions2, moduleName, containingDirectory, loader, state);\n    if (resolved) {\n      return toSearchResult({ resolved, isExternalLibraryImport: isOHModules2 ? pathContainsOHModules(resolved.path) : pathContainsNodeModules(resolved.path) });\n    }\n    if (!isExternalModuleNameRelative(moduleName)) {\n      let resolved2;\n      if (features & 2 /* Imports */ && startsWith(moduleName, \"#\")) {\n        resolved2 = loadModuleFromImports(extensions2, moduleName, containingDirectory, state, cache, redirectedReference);\n      }\n      if (!resolved2 && features & 4 /* SelfName */) {\n        resolved2 = loadModuleFromSelfNameReference(extensions2, moduleName, containingDirectory, state, cache, redirectedReference);\n      }\n      if (!resolved2) {\n        if (traceEnabled) {\n          const message = isOHModules2 ? Diagnostics.Loading_module_0_from_oh_modules_folder_target_file_type_1 : Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1;\n          trace(host, message, moduleName, Extensions[extensions2]);\n        }\n        resolved2 = loadModuleFromNearestNodeModulesDirectory(extensions2, moduleName, containingDirectory, state, cache, redirectedReference);\n      }\n      if (!resolved2)\n        return void 0;\n      let resolvedValue = resolved2.value;\n      if (!compilerOptions.preserveSymlinks && resolvedValue && !resolvedValue.originalPath) {\n        const path = realPath(resolvedValue.path, host, traceEnabled);\n        const pathsAreEqual = arePathsEqual(path, resolvedValue.path, host);\n        const originalPath = pathsAreEqual ? void 0 : resolvedValue.path;\n        resolvedValue = { ...resolvedValue, path: pathsAreEqual ? resolvedValue.path : path, originalPath };\n      }\n      return { value: resolvedValue && { resolved: resolvedValue, isExternalLibraryImport: true } };\n    } else {\n      const { path: candidate, parts } = normalizePathForCJSResolution(containingDirectory, moduleName);\n      const resolved2 = nodeLoadModuleByRelativeName(extensions2, candidate, false, state, true);\n      return resolved2 && toSearchResult({ resolved: resolved2, isExternalLibraryImport: contains(parts, getModuleByPMType(compilerOptions.packageManagerType)) });\n    }\n  }\n}\nfunction normalizePathForCJSResolution(containingDirectory, moduleName) {\n  const combined = combinePaths(containingDirectory, moduleName);\n  const parts = getPathComponents(combined);\n  const lastPart = lastOrUndefined(parts);\n  const path = lastPart === \".\" || lastPart === \"..\" ? ensureTrailingDirectorySeparator(normalizePath(combined)) : normalizePath(combined);\n  return { path, parts };\n}\nfunction realPath(path, host, traceEnabled) {\n  if (!host.realpath) {\n    return path;\n  }\n  const real = normalizePath(host.realpath(path));\n  if (traceEnabled) {\n    trace(host, Diagnostics.Resolving_real_path_for_0_result_1, path, real);\n  }\n  Debug.assert(host.fileExists(real), `${path} linked to nonexistent file ${real}`);\n  return real;\n}\nfunction nodeLoadModuleByRelativeName(extensions, candidate, onlyRecordFailures, state, considerPackageJson) {\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1, candidate, Extensions[extensions]);\n  }\n  if (!hasTrailingDirectorySeparator(candidate)) {\n    if (!onlyRecordFailures) {\n      const parentOfCandidate = getDirectoryPath(candidate);\n      if (!directoryProbablyExists(parentOfCandidate, state.host)) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, parentOfCandidate);\n        }\n        onlyRecordFailures = true;\n      }\n    }\n    const resolvedFromFile = loadModuleFromFile(extensions, candidate, onlyRecordFailures, state);\n    if (resolvedFromFile) {\n      const packageDirectory = considerPackageJson ? parseModuleFromPath(resolvedFromFile.path, state.compilerOptions.packageManagerType) : void 0;\n      const packageInfo = packageDirectory ? getPackageJsonInfo(packageDirectory, false, state) : void 0;\n      return withPackageId(packageInfo, resolvedFromFile);\n    }\n  }\n  if (!onlyRecordFailures) {\n    const candidateExists = directoryProbablyExists(candidate, state.host);\n    if (!candidateExists) {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, candidate);\n      }\n      onlyRecordFailures = true;\n    }\n  }\n  if (!(state.features & 32 /* EsmMode */)) {\n    return loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson);\n  }\n  return void 0;\n}\nvar nodeModulesPathPart = \"/node_modules/\";\nfunction pathContainsNodeModules(path) {\n  return stringContains(path, nodeModulesPathPart);\n}\nfunction parseModuleFromPath(resolved, packageManagerType) {\n  const modulesPathPart = getModulePathPartByPMType(packageManagerType);\n  const path = normalizePath(resolved);\n  const idx = path.lastIndexOf(modulesPathPart);\n  if (idx === -1) {\n    return void 0;\n  }\n  const indexAfterModules = idx + modulesPathPart.length;\n  let indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterModules);\n  if (path.charCodeAt(indexAfterModules) === 64 /* at */) {\n    indexAfterPackageName = moveToNextDirectorySeparatorIfAvailable(path, indexAfterPackageName);\n  }\n  return path.slice(0, indexAfterPackageName);\n}\nfunction moveToNextDirectorySeparatorIfAvailable(path, prevSeparatorIndex) {\n  const nextSeparatorIndex = path.indexOf(directorySeparator, prevSeparatorIndex + 1);\n  return nextSeparatorIndex === -1 ? prevSeparatorIndex : nextSeparatorIndex;\n}\nfunction loadModuleFromFileNoPackageId(extensions, candidate, onlyRecordFailures, state) {\n  return noPackageId(loadModuleFromFile(extensions, candidate, onlyRecordFailures, state));\n}\nfunction loadModuleFromFile(extensions, candidate, onlyRecordFailures, state) {\n  if (extensions === 2 /* Json */ || extensions === 3 /* TSConfig */) {\n    const extensionLess = tryRemoveExtension(candidate, \".json\" /* Json */);\n    const extension = extensionLess ? candidate.substring(extensionLess.length) : \"\";\n    return extensionLess === void 0 && extensions === 2 /* Json */ ? void 0 : tryAddingExtensions(extensionLess || candidate, extensions, extension, onlyRecordFailures, state);\n  }\n  if (!(state.features & 32 /* EsmMode */)) {\n    const resolvedByAddingExtension = tryAddingExtensions(candidate, extensions, \"\", onlyRecordFailures, state);\n    if (resolvedByAddingExtension) {\n      return resolvedByAddingExtension;\n    }\n  }\n  return loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state);\n}\nfunction loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state) {\n  if (hasJSFileExtension(candidate) || fileExtensionIs(candidate, \".json\" /* Json */) && state.compilerOptions.resolveJsonModule) {\n    const extensionless = removeFileExtension(candidate);\n    const extension = candidate.substring(extensionless.length);\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.File_name_0_has_a_1_extension_stripping_it, candidate, extension);\n    }\n    return tryAddingExtensions(extensionless, extensions, extension, onlyRecordFailures, state);\n  }\n}\nfunction loadJSOrExactTSFileName(extensions, candidate, onlyRecordFailures, state) {\n  if ((extensions === 0 /* TypeScript */ || extensions === 4 /* DtsOnly */) && fileExtensionIsOneOf(candidate, supportedTSExtensionsFlat)) {\n    const result = tryFile(candidate, onlyRecordFailures, state);\n    return result !== void 0 ? { path: candidate, ext: tryExtractTSExtension(candidate) } : void 0;\n  }\n  return loadModuleFromFileNoImplicitExtensions(extensions, candidate, onlyRecordFailures, state);\n}\nfunction tryAddingExtensions(candidate, extensions, originalExtension, onlyRecordFailures, state) {\n  if (!onlyRecordFailures) {\n    const directory = getDirectoryPath(candidate);\n    if (directory) {\n      onlyRecordFailures = !directoryProbablyExists(directory, state.host);\n    }\n  }\n  switch (extensions) {\n    case 4 /* DtsOnly */:\n      switch (originalExtension) {\n        case \".mjs\" /* Mjs */:\n        case \".mts\" /* Mts */:\n        case \".d.mts\" /* Dmts */:\n          return tryExtension(\".d.mts\" /* Dmts */);\n        case \".cjs\" /* Cjs */:\n        case \".cts\" /* Cts */:\n        case \".d.cts\" /* Dcts */:\n          return tryExtension(\".d.cts\" /* Dcts */);\n        case \".json\" /* Json */:\n          candidate += \".json\" /* Json */;\n          return tryExtension(\".d.ts\" /* Dts */);\n        default:\n          return state.compilerOptions.ets ? tryExtension(\".d.ets\" /* Dets */) || tryExtension(\".d.ts\" /* Dts */) : tryExtension(\".d.ts\" /* Dts */);\n      }\n    case 0 /* TypeScript */:\n    case 5 /* TsOnly */:\n      const useDts = extensions === 0 /* TypeScript */;\n      switch (originalExtension) {\n        case \".mjs\" /* Mjs */:\n        case \".mts\" /* Mts */:\n        case \".d.mts\" /* Dmts */:\n          return tryExtension(\".mts\" /* Mts */) || (useDts ? tryExtension(\".d.mts\" /* Dmts */) : void 0);\n        case \".cjs\" /* Cjs */:\n        case \".cts\" /* Cts */:\n        case \".d.cts\" /* Dcts */:\n          return tryExtension(\".cts\" /* Cts */) || (useDts ? tryExtension(\".d.cts\" /* Dcts */) : void 0);\n        case \".json\" /* Json */:\n          candidate += \".json\" /* Json */;\n          return useDts ? tryExtension(\".d.ts\" /* Dts */) : void 0;\n        default:\n          if (state.compilerOptions.ets) {\n            return tryExtension(\".ets\" /* Ets */) || tryExtension(\".ts\" /* Ts */) || tryExtension(\".tsx\" /* Tsx */) || (useDts ? tryExtension(\".d.ets\" /* Dets */) || tryExtension(\".d.ts\" /* Dts */) : void 0);\n          } else {\n            return tryExtension(\".ts\" /* Ts */) || tryExtension(\".tsx\" /* Tsx */) || (useDts ? tryExtension(\".d.ts\" /* Dts */) || tryExtension(\".ets\" /* Ets */) || tryExtension(\".d.ets\" /* Dets */) : void 0);\n          }\n      }\n    case 1 /* JavaScript */:\n      switch (originalExtension) {\n        case \".mjs\" /* Mjs */:\n        case \".mts\" /* Mts */:\n        case \".d.mts\" /* Dmts */:\n          return tryExtension(\".mjs\" /* Mjs */);\n        case \".cjs\" /* Cjs */:\n        case \".cts\" /* Cts */:\n        case \".d.cts\" /* Dcts */:\n          return tryExtension(\".cjs\" /* Cjs */);\n        case \".json\" /* Json */:\n          return tryExtension(\".json\" /* Json */);\n        default:\n          return tryExtension(\".js\" /* Js */) || tryExtension(\".jsx\" /* Jsx */);\n      }\n    case 3 /* TSConfig */:\n    case 2 /* Json */:\n      return tryExtension(\".json\" /* Json */);\n  }\n  function tryExtension(ext) {\n    const path = tryFile(candidate + ext, onlyRecordFailures, state);\n    return path === void 0 ? void 0 : { path, ext };\n  }\n}\nfunction tryFile(fileName, onlyRecordFailures, state) {\n  var _a2, _b;\n  if (!((_a2 = state.compilerOptions.moduleSuffixes) == null ? void 0 : _a2.length)) {\n    return tryFileLookup(fileName, onlyRecordFailures, state);\n  }\n  const ext = (_b = tryGetExtensionFromPath2(fileName)) != null ? _b : \"\";\n  const fileNameNoExtension = ext ? removeExtension(fileName, ext) : fileName;\n  return forEach(state.compilerOptions.moduleSuffixes, (suffix) => tryFileLookup(fileNameNoExtension + suffix + ext, onlyRecordFailures, state));\n}\nfunction tryFileLookup(fileName, onlyRecordFailures, state) {\n  if (!onlyRecordFailures) {\n    if (state.host.fileExists(fileName)) {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.File_0_exist_use_it_as_a_name_resolution_result, fileName);\n      }\n      return fileName;\n    } else {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.File_0_does_not_exist, fileName);\n      }\n    }\n  }\n  state.failedLookupLocations.push(fileName);\n  return void 0;\n}\nfunction loadNodeModuleFromDirectory(extensions, candidate, onlyRecordFailures, state, considerPackageJson = true) {\n  const packageInfo = considerPackageJson ? getPackageJsonInfo(candidate, onlyRecordFailures, state) : void 0;\n  const packageJsonContent = packageInfo && packageInfo.contents.packageJsonContent;\n  const versionPaths = packageInfo && packageInfo.contents.versionPaths;\n  return withPackageId(packageInfo, loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, packageJsonContent, versionPaths));\n}\nfunction getEntrypointsFromPackageJsonInfo(packageJsonInfo, options, host, cache, resolveJs) {\n  if (!resolveJs && packageJsonInfo.contents.resolvedEntrypoints !== void 0) {\n    return packageJsonInfo.contents.resolvedEntrypoints;\n  }\n  let entrypoints;\n  const extensions = resolveJs ? 1 /* JavaScript */ : 0 /* TypeScript */;\n  const features = getDefaultNodeResolutionFeatures(options);\n  const requireState = getTemporaryModuleResolutionState(cache == null ? void 0 : cache.getPackageJsonInfoCache(), host, options);\n  requireState.conditions = [\"node\", \"require\", \"types\"];\n  requireState.requestContainingDirectory = packageJsonInfo.packageDirectory;\n  const requireResolution = loadNodeModuleFromDirectoryWorker(\n    extensions,\n    packageJsonInfo.packageDirectory,\n    false,\n    requireState,\n    packageJsonInfo.contents.packageJsonContent,\n    packageJsonInfo.contents.versionPaths\n  );\n  entrypoints = append(entrypoints, requireResolution == null ? void 0 : requireResolution.path);\n  if (features & 8 /* Exports */ && packageJsonInfo.contents.packageJsonContent.exports) {\n    for (const conditions of [[\"node\", \"import\", \"types\"], [\"node\", \"require\", \"types\"]]) {\n      const exportState = { ...requireState, failedLookupLocations: [], conditions };\n      const exportResolutions = loadEntrypointsFromExportMap(\n        packageJsonInfo,\n        packageJsonInfo.contents.packageJsonContent.exports,\n        exportState,\n        extensions\n      );\n      if (exportResolutions) {\n        for (const resolution of exportResolutions) {\n          entrypoints = appendIfUnique(entrypoints, resolution.path);\n        }\n      }\n    }\n  }\n  return packageJsonInfo.contents.resolvedEntrypoints = entrypoints || false;\n}\nfunction loadEntrypointsFromExportMap(scope, exports, state, extensions) {\n  let entrypoints;\n  if (isArray(exports)) {\n    for (const target of exports) {\n      loadEntrypointsFromTargetExports(target);\n    }\n  } else if (typeof exports === \"object\" && exports !== null && allKeysStartWithDot(exports)) {\n    for (const key in exports) {\n      loadEntrypointsFromTargetExports(exports[key]);\n    }\n  } else {\n    loadEntrypointsFromTargetExports(exports);\n  }\n  return entrypoints;\n  function loadEntrypointsFromTargetExports(target) {\n    var _a2, _b;\n    if (typeof target === \"string\" && startsWith(target, \"./\") && target.indexOf(\"*\") === -1) {\n      const partsAfterFirst = getPathComponents(target).slice(2);\n      if (partsAfterFirst.indexOf(\"..\") >= 0 || partsAfterFirst.indexOf(\".\") >= 0 || partsAfterFirst.indexOf(\"node_modules\") >= 0 || partsAfterFirst.indexOf(\"oh_modules\") >= 0) {\n        return false;\n      }\n      const resolvedTarget = combinePaths(scope.packageDirectory, target);\n      const finalPath = getNormalizedAbsolutePath(resolvedTarget, (_b = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a2));\n      const result = loadJSOrExactTSFileName(extensions, finalPath, false, state);\n      if (result) {\n        entrypoints = appendIfUnique(entrypoints, result, (a, b) => a.path === b.path);\n        return true;\n      }\n    } else if (Array.isArray(target)) {\n      for (const t of target) {\n        const success = loadEntrypointsFromTargetExports(t);\n        if (success) {\n          return true;\n        }\n      }\n    } else if (typeof target === \"object\" && target !== null) {\n      return forEach(getOwnKeys(target), (key) => {\n        if (key === \"default\" || contains(state.conditions, key) || isApplicableVersionedTypesKey(state.conditions, key)) {\n          loadEntrypointsFromTargetExports(target[key]);\n          return true;\n        }\n      });\n    }\n  }\n}\nfunction getTemporaryModuleResolutionState(packageJsonInfoCache, host, options) {\n  return {\n    host,\n    compilerOptions: options,\n    traceEnabled: isTraceEnabled(options, host),\n    failedLookupLocations: noopPush,\n    affectingLocations: noopPush,\n    packageJsonInfoCache,\n    features: 0 /* None */,\n    conditions: emptyArray,\n    requestContainingDirectory: void 0,\n    reportDiagnostic: noop\n  };\n}\nfunction getPackageScopeForPath(fileName, state) {\n  const parts = getPathComponents(fileName);\n  parts.pop();\n  while (parts.length > 0) {\n    const pkg = getPackageJsonInfo(getPathFromPathComponents(parts), false, state);\n    if (pkg) {\n      return pkg;\n    }\n    parts.pop();\n  }\n  return void 0;\n}\nfunction getPackageJsonInfo(packageDirectory, onlyRecordFailures, state) {\n  var _a2, _b, _c;\n  const { host, traceEnabled } = state;\n  const packageJsonPath = combinePaths(packageDirectory, getPackageJsonByPMType(state.compilerOptions.packageManagerType));\n  if (onlyRecordFailures) {\n    state.failedLookupLocations.push(packageJsonPath);\n    return void 0;\n  }\n  const existing = (_a2 = state.packageJsonInfoCache) == null ? void 0 : _a2.getPackageJsonInfo(packageJsonPath);\n  if (existing !== void 0) {\n    if (typeof existing !== \"boolean\") {\n      if (traceEnabled)\n        trace(host, Diagnostics.File_0_exists_according_to_earlier_cached_lookups, packageJsonPath);\n      state.affectingLocations.push(packageJsonPath);\n      return existing.packageDirectory === packageDirectory ? existing : { packageDirectory, contents: existing.contents };\n    } else {\n      if (existing && traceEnabled)\n        trace(host, Diagnostics.File_0_does_not_exist_according_to_earlier_cached_lookups, packageJsonPath);\n      state.failedLookupLocations.push(packageJsonPath);\n      return void 0;\n    }\n  }\n  const directoryExists = directoryProbablyExists(packageDirectory, host);\n  if (directoryExists && host.fileExists(packageJsonPath)) {\n    const isOHModules2 = isOhpm(state.compilerOptions.packageManagerType);\n    const packageJsonContent = isOHModules2 ? require(\"json5\").parse(host.readFile(packageJsonPath)) : readJson(packageJsonPath, host);\n    if (traceEnabled) {\n      const message = isOHModules2 ? Diagnostics.Found_oh_package_json5_at_0 : Diagnostics.Found_package_json_at_0;\n      trace(host, message, packageJsonPath);\n    }\n    const versionPaths = readPackageJsonTypesVersionPaths(packageJsonContent, state);\n    const result = { packageDirectory, contents: { packageJsonContent, versionPaths, resolvedEntrypoints: void 0 } };\n    (_b = state.packageJsonInfoCache) == null ? void 0 : _b.setPackageJsonInfo(packageJsonPath, result);\n    state.affectingLocations.push(packageJsonPath);\n    return result;\n  } else {\n    if (directoryExists && traceEnabled) {\n      trace(host, Diagnostics.File_0_does_not_exist, packageJsonPath);\n    }\n    (_c = state.packageJsonInfoCache) == null ? void 0 : _c.setPackageJsonInfo(packageJsonPath, directoryExists);\n    state.failedLookupLocations.push(packageJsonPath);\n  }\n}\nfunction loadNodeModuleFromDirectoryWorker(extensions, candidate, onlyRecordFailures, state, jsonContent, versionPaths) {\n  let packageFile;\n  if (jsonContent) {\n    switch (extensions) {\n      case 1 /* JavaScript */:\n      case 2 /* Json */:\n      case 5 /* TsOnly */:\n        packageFile = readPackageJsonMainField(jsonContent, candidate, state);\n        break;\n      case 0 /* TypeScript */:\n        packageFile = readPackageJsonTypesFields(jsonContent, candidate, state) || readPackageJsonMainField(jsonContent, candidate, state);\n        break;\n      case 4 /* DtsOnly */:\n        packageFile = readPackageJsonTypesFields(jsonContent, candidate, state);\n        break;\n      case 3 /* TSConfig */:\n        packageFile = readPackageJsonTSConfigField(jsonContent, candidate, state);\n        break;\n      default:\n        return Debug.assertNever(extensions);\n    }\n  }\n  const loader = (extensions2, candidate2, onlyRecordFailures2, state2) => {\n    const fromFile = tryFile(candidate2, onlyRecordFailures2, state2);\n    if (fromFile) {\n      const resolved = resolvedIfExtensionMatches(extensions2, fromFile);\n      if (resolved) {\n        return noPackageId(resolved);\n      }\n      if (state2.traceEnabled) {\n        trace(state2.host, Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it, fromFile);\n      }\n    }\n    const nextExtensions = extensions2 === 4 /* DtsOnly */ ? 0 /* TypeScript */ : extensions2;\n    const features = state2.features;\n    if ((jsonContent == null ? void 0 : jsonContent.type) !== \"module\") {\n      state2.features &= ~32 /* EsmMode */;\n    }\n    const result = nodeLoadModuleByRelativeName(nextExtensions, candidate2, onlyRecordFailures2, state2, false);\n    state2.features = features;\n    return result;\n  };\n  const onlyRecordFailuresForPackageFile = packageFile ? !directoryProbablyExists(getDirectoryPath(packageFile), state.host) : void 0;\n  const onlyRecordFailuresForIndex = onlyRecordFailures || !directoryProbablyExists(candidate, state.host);\n  const indexPath = combinePaths(candidate, extensions === 3 /* TSConfig */ ? \"tsconfig\" : \"index\");\n  if (versionPaths && (!packageFile || containsPath(candidate, packageFile))) {\n    const moduleName = getRelativePathFromDirectory(candidate, packageFile || indexPath, false);\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, versionPaths.version, version, moduleName);\n    }\n    const result = tryLoadModuleUsingPaths(extensions, moduleName, candidate, versionPaths.paths, void 0, loader, onlyRecordFailuresForPackageFile || onlyRecordFailuresForIndex, state);\n    if (result) {\n      return removeIgnoredPackageId(result.value);\n    }\n  }\n  const packageFileResult = packageFile && removeIgnoredPackageId(loader(extensions, packageFile, onlyRecordFailuresForPackageFile, state));\n  if (packageFileResult)\n    return packageFileResult;\n  if (!(state.features & 32 /* EsmMode */)) {\n    return loadModuleFromFile(extensions, indexPath, onlyRecordFailuresForIndex, state);\n  }\n}\nfunction resolvedIfExtensionMatches(extensions, path) {\n  const ext = tryGetExtensionFromPath2(path);\n  return ext !== void 0 && extensionIsOk(extensions, ext) ? { path, ext } : void 0;\n}\nfunction extensionIsOk(extensions, extension) {\n  switch (extensions) {\n    case 1 /* JavaScript */:\n      return extension === \".js\" /* Js */ || extension === \".jsx\" /* Jsx */ || extension === \".mjs\" /* Mjs */ || extension === \".cjs\" /* Cjs */;\n    case 3 /* TSConfig */:\n    case 2 /* Json */:\n      return extension === \".json\" /* Json */;\n    case 0 /* TypeScript */:\n      return extension === \".ts\" /* Ts */ || extension === \".tsx\" /* Tsx */ || extension === \".mts\" /* Mts */ || extension === \".cts\" /* Cts */ || extension === \".d.ts\" /* Dts */ || extension === \".d.mts\" /* Dmts */ || extension === \".d.cts\" /* Dcts */ || extension === \".ets\" /* Ets */ || extension === \".d.ets\" /* Dets */;\n    case 5 /* TsOnly */:\n      return extension === \".ts\" /* Ts */ || extension === \".tsx\" /* Tsx */ || extension === \".mts\" /* Mts */ || extension === \".cts\" /* Cts */ || extension === \".ets\" /* Ets */;\n    case 4 /* DtsOnly */:\n      return extension === \".d.ts\" /* Dts */ || extension === \".d.mts\" /* Dmts */ || extension === \".d.cts\" /* Dcts */ || extension === \".d.ets\" /* Dets */;\n  }\n}\nfunction parsePackageName(moduleName) {\n  let idx = moduleName.indexOf(directorySeparator);\n  if (moduleName[0] === \"@\") {\n    idx = moduleName.indexOf(directorySeparator, idx + 1);\n  }\n  return idx === -1 ? { packageName: moduleName, rest: \"\" } : { packageName: moduleName.slice(0, idx), rest: moduleName.slice(idx + 1) };\n}\nfunction allKeysStartWithDot(obj) {\n  return every(getOwnKeys(obj), (k) => startsWith(k, \".\"));\n}\nfunction noKeyStartsWithDot(obj) {\n  return !some(getOwnKeys(obj), (k) => startsWith(k, \".\"));\n}\nfunction loadModuleFromSelfNameReference(extensions, moduleName, directory, state, cache, redirectedReference) {\n  var _a2, _b;\n  const directoryPath = getNormalizedAbsolutePath(combinePaths(directory, \"dummy\"), (_b = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a2));\n  const scope = getPackageScopeForPath(directoryPath, state);\n  if (!scope || !scope.contents.packageJsonContent.exports) {\n    return void 0;\n  }\n  if (typeof scope.contents.packageJsonContent.name !== \"string\") {\n    return void 0;\n  }\n  const parts = getPathComponents(moduleName);\n  const nameParts = getPathComponents(scope.contents.packageJsonContent.name);\n  if (!every(nameParts, (p, i) => parts[i] === p)) {\n    return void 0;\n  }\n  const trailingParts = parts.slice(nameParts.length);\n  return loadModuleFromExports(scope, extensions, !length(trailingParts) ? \".\" : `.${directorySeparator}${trailingParts.join(directorySeparator)}`, state, cache, redirectedReference);\n}\nfunction loadModuleFromExports(scope, extensions, subpath, state, cache, redirectedReference) {\n  if (!scope.contents.packageJsonContent.exports) {\n    return void 0;\n  }\n  if (subpath === \".\") {\n    let mainExport;\n    if (typeof scope.contents.packageJsonContent.exports === \"string\" || Array.isArray(scope.contents.packageJsonContent.exports) || typeof scope.contents.packageJsonContent.exports === \"object\" && noKeyStartsWithDot(scope.contents.packageJsonContent.exports)) {\n      mainExport = scope.contents.packageJsonContent.exports;\n    } else if (hasProperty(scope.contents.packageJsonContent.exports, \".\")) {\n      mainExport = scope.contents.packageJsonContent.exports[\".\"];\n    }\n    if (mainExport) {\n      const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, subpath, scope, false);\n      return loadModuleFromTargetImportOrExport(mainExport, \"\", false, \".\");\n    }\n  } else if (allKeysStartWithDot(scope.contents.packageJsonContent.exports)) {\n    if (typeof scope.contents.packageJsonContent.exports !== \"object\") {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory);\n      }\n      return toSearchResult(void 0);\n    }\n    const result = loadModuleFromImportsOrExports(extensions, state, cache, redirectedReference, subpath, scope.contents.packageJsonContent.exports, scope, false);\n    if (result) {\n      return result;\n    }\n  }\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1, subpath, scope.packageDirectory);\n  }\n  return toSearchResult(void 0);\n}\nfunction loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) {\n  var _a2, _b;\n  if (moduleName === \"#\" || startsWith(moduleName, \"#/\")) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName);\n    }\n    return toSearchResult(void 0);\n  }\n  const directoryPath = getNormalizedAbsolutePath(combinePaths(directory, \"dummy\"), (_b = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a2));\n  const scope = getPackageScopeForPath(directoryPath, state);\n  if (!scope) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve, directoryPath);\n    }\n    return toSearchResult(void 0);\n  }\n  if (!scope.contents.packageJsonContent.imports) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.package_json_scope_0_has_no_imports_defined, scope.packageDirectory);\n    }\n    return toSearchResult(void 0);\n  }\n  const result = loadModuleFromImportsOrExports(extensions, state, cache, redirectedReference, moduleName, scope.contents.packageJsonContent.imports, scope, true);\n  if (result) {\n    return result;\n  }\n  if (state.traceEnabled) {\n    trace(state.host, Diagnostics.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1, moduleName, scope.packageDirectory);\n  }\n  return toSearchResult(void 0);\n}\nfunction comparePatternKeys(a, b) {\n  const aPatternIndex = a.indexOf(\"*\");\n  const bPatternIndex = b.indexOf(\"*\");\n  const baseLenA = aPatternIndex === -1 ? a.length : aPatternIndex + 1;\n  const baseLenB = bPatternIndex === -1 ? b.length : bPatternIndex + 1;\n  if (baseLenA > baseLenB)\n    return -1;\n  if (baseLenB > baseLenA)\n    return 1;\n  if (aPatternIndex === -1)\n    return 1;\n  if (bPatternIndex === -1)\n    return -1;\n  if (a.length > b.length)\n    return -1;\n  if (b.length > a.length)\n    return 1;\n  return 0;\n}\nfunction loadModuleFromImportsOrExports(extensions, state, cache, redirectedReference, moduleName, lookupTable, scope, isImports) {\n  const loadModuleFromTargetImportOrExport = getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports);\n  if (!endsWith(moduleName, directorySeparator) && moduleName.indexOf(\"*\") === -1 && hasProperty(lookupTable, moduleName)) {\n    const target = lookupTable[moduleName];\n    return loadModuleFromTargetImportOrExport(target, \"\", false, moduleName);\n  }\n  const expandingKeys = sort(filter(getOwnKeys(lookupTable), (k) => k.indexOf(\"*\") !== -1 || endsWith(k, \"/\")), comparePatternKeys);\n  for (const potentialTarget of expandingKeys) {\n    if (state.features & 16 /* ExportsPatternTrailers */ && matchesPatternWithTrailer(potentialTarget, moduleName)) {\n      const target = lookupTable[potentialTarget];\n      const starPos = potentialTarget.indexOf(\"*\");\n      const subpath = moduleName.substring(potentialTarget.substring(0, starPos).length, moduleName.length - (potentialTarget.length - 1 - starPos));\n      return loadModuleFromTargetImportOrExport(target, subpath, true, potentialTarget);\n    } else if (endsWith(potentialTarget, \"*\") && startsWith(moduleName, potentialTarget.substring(0, potentialTarget.length - 1))) {\n      const target = lookupTable[potentialTarget];\n      const subpath = moduleName.substring(potentialTarget.length - 1);\n      return loadModuleFromTargetImportOrExport(target, subpath, true, potentialTarget);\n    } else if (startsWith(moduleName, potentialTarget)) {\n      const target = lookupTable[potentialTarget];\n      const subpath = moduleName.substring(potentialTarget.length);\n      return loadModuleFromTargetImportOrExport(target, subpath, false, potentialTarget);\n    }\n  }\n  function matchesPatternWithTrailer(target, name) {\n    if (endsWith(target, \"*\"))\n      return false;\n    const starPos = target.indexOf(\"*\");\n    if (starPos === -1)\n      return false;\n    return startsWith(name, target.substring(0, starPos)) && endsWith(name, target.substring(starPos + 1));\n  }\n}\nfunction getLoadModuleFromTargetImportOrExport(extensions, state, cache, redirectedReference, moduleName, scope, isImports) {\n  return loadModuleFromTargetImportOrExport;\n  function loadModuleFromTargetImportOrExport(target, subpath, pattern, key) {\n    if (typeof target === \"string\") {\n      if (!pattern && subpath.length > 0 && !endsWith(target, \"/\")) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n        }\n        return toSearchResult(void 0);\n      }\n      if (!startsWith(target, \"./\")) {\n        if (isImports && !startsWith(target, \"../\") && !startsWith(target, \"/\") && !isRootedDiskPath(target)) {\n          const combinedLookup = pattern ? target.replace(/\\*/g, subpath) : target + subpath;\n          traceIfEnabled(state, Diagnostics.Using_0_subpath_1_with_target_2, \"imports\", key, combinedLookup);\n          traceIfEnabled(state, Diagnostics.Resolving_module_0_from_1, combinedLookup, scope.packageDirectory + \"/\");\n          const result = nodeModuleNameResolverWorker(state.features, combinedLookup, scope.packageDirectory + \"/\", state.compilerOptions, state.host, cache, [extensions], redirectedReference);\n          return toSearchResult(result.resolvedModule ? { path: result.resolvedModule.resolvedFileName, extension: result.resolvedModule.extension, packageId: result.resolvedModule.packageId, originalPath: result.resolvedModule.originalPath } : void 0);\n        }\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n        }\n        return toSearchResult(void 0);\n      }\n      const parts = pathIsRelative(target) ? getPathComponents(target).slice(1) : getPathComponents(target);\n      const partsAfterFirst = parts.slice(1);\n      if (partsAfterFirst.indexOf(\"..\") >= 0 || partsAfterFirst.indexOf(\".\") >= 0 || partsAfterFirst.indexOf(\"node_modules\") >= 0 || partsAfterFirst.indexOf(\"oh_modules\") >= 0) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n        }\n        return toSearchResult(void 0);\n      }\n      const resolvedTarget = combinePaths(scope.packageDirectory, target);\n      const subpathParts = getPathComponents(subpath);\n      if (subpathParts.indexOf(\"..\") >= 0 || subpathParts.indexOf(\".\") >= 0 || subpathParts.indexOf(\"node_modules\") >= 0 || subpathParts.indexOf(\"oh_modules\") >= 0) {\n        if (state.traceEnabled) {\n          trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n        }\n        return toSearchResult(void 0);\n      }\n      if (state.traceEnabled) {\n        trace(\n          state.host,\n          Diagnostics.Using_0_subpath_1_with_target_2,\n          isImports ? \"imports\" : \"exports\",\n          key,\n          pattern ? target.replace(/\\*/g, subpath) : target + subpath\n        );\n      }\n      const finalPath = toAbsolutePath(pattern ? resolvedTarget.replace(/\\*/g, subpath) : resolvedTarget + subpath);\n      const inputLink = tryLoadInputFileForPath(finalPath, subpath, combinePaths(scope.packageDirectory, \"package.json\"), isImports);\n      if (inputLink)\n        return inputLink;\n      return toSearchResult(withPackageId(scope, loadJSOrExactTSFileName(extensions, finalPath, false, state)));\n    } else if (typeof target === \"object\" && target !== null) {\n      if (!Array.isArray(target)) {\n        for (const condition of getOwnKeys(target)) {\n          if (condition === \"default\" || state.conditions.indexOf(condition) >= 0 || isApplicableVersionedTypesKey(state.conditions, condition)) {\n            traceIfEnabled(state, Diagnostics.Matched_0_condition_1, isImports ? \"imports\" : \"exports\", condition);\n            const subTarget = target[condition];\n            const result = loadModuleFromTargetImportOrExport(subTarget, subpath, pattern, key);\n            if (result) {\n              return result;\n            }\n          } else {\n            traceIfEnabled(state, Diagnostics.Saw_non_matching_condition_0, condition);\n          }\n        }\n        return void 0;\n      } else {\n        if (!length(target)) {\n          if (state.traceEnabled) {\n            trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n          }\n          return toSearchResult(void 0);\n        }\n        for (const elem of target) {\n          const result = loadModuleFromTargetImportOrExport(elem, subpath, pattern, key);\n          if (result) {\n            return result;\n          }\n        }\n      }\n    } else if (target === null) {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null, scope.packageDirectory, moduleName);\n      }\n      return toSearchResult(void 0);\n    }\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);\n    }\n    return toSearchResult(void 0);\n    function toAbsolutePath(path) {\n      var _a2, _b;\n      if (path === void 0)\n        return path;\n      return getNormalizedAbsolutePath(path, (_b = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a2));\n    }\n    function combineDirectoryPath(root, dir) {\n      return ensureTrailingDirectorySeparator(combinePaths(root, dir));\n    }\n    function useCaseSensitiveFileNames() {\n      return !state.host.useCaseSensitiveFileNames ? true : typeof state.host.useCaseSensitiveFileNames === \"boolean\" ? state.host.useCaseSensitiveFileNames : state.host.useCaseSensitiveFileNames();\n    }\n    function tryLoadInputFileForPath(finalPath, entry, packagePath, isImports2) {\n      var _a2, _b, _c, _d;\n      if ((extensions === 0 /* TypeScript */ || extensions === 1 /* JavaScript */ || extensions === 2 /* Json */) && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && (finalPath.indexOf(\"/node_modules/\") === -1 && finalPath.indexOf(\"/oh_modules/\") === -1) && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames()) : true)) {\n        const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames });\n        const commonSourceDirGuesses = [];\n        if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) {\n          const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], ((_b = (_a2 = state.host).getCurrentDirectory) == null ? void 0 : _b.call(_a2)) || \"\", getCanonicalFileName));\n          commonSourceDirGuesses.push(commonDir);\n        } else if (state.requestContainingDirectory) {\n          const requestingFile = toAbsolutePath(combinePaths(state.requestContainingDirectory, \"index.ts\"));\n          const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [requestingFile, toAbsolutePath(packagePath)], ((_d = (_c = state.host).getCurrentDirectory) == null ? void 0 : _d.call(_c)) || \"\", getCanonicalFileName));\n          commonSourceDirGuesses.push(commonDir);\n          let fragment = ensureTrailingDirectorySeparator(commonDir);\n          while (fragment && fragment.length > 1) {\n            const parts = getPathComponents(fragment);\n            parts.pop();\n            const commonDir2 = getPathFromPathComponents(parts);\n            commonSourceDirGuesses.unshift(commonDir2);\n            fragment = ensureTrailingDirectorySeparator(commonDir2);\n          }\n        }\n        if (commonSourceDirGuesses.length > 1) {\n          state.reportDiagnostic(createCompilerDiagnostic(\n            isImports2 ? Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate : Diagnostics.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,\n            entry === \"\" ? \".\" : entry,\n            packagePath\n          ));\n        }\n        for (const commonSourceDirGuess of commonSourceDirGuesses) {\n          const candidateDirectories = getOutputDirectoriesForBaseDirectory(commonSourceDirGuess);\n          for (const candidateDir of candidateDirectories) {\n            if (containsPath(candidateDir, finalPath, !useCaseSensitiveFileNames())) {\n              const pathFragment = finalPath.slice(candidateDir.length + 1);\n              const possibleInputBase = combinePaths(commonSourceDirGuess, pathFragment);\n              const jsAndDtsExtensions = [\".mjs\" /* Mjs */, \".cjs\" /* Cjs */, \".js\" /* Js */, \".json\" /* Json */, \".d.mts\" /* Dmts */, \".d.cts\" /* Dcts */, \".d.ts\" /* Dts */];\n              for (const ext of jsAndDtsExtensions) {\n                if (fileExtensionIs(possibleInputBase, ext)) {\n                  const inputExts = getPossibleOriginalInputExtensionForExtension(possibleInputBase);\n                  for (const possibleExt of inputExts) {\n                    const possibleInputWithInputExtension = changeAnyExtension(possibleInputBase, possibleExt, ext, !useCaseSensitiveFileNames());\n                    if (extensions === 0 /* TypeScript */ && hasJSFileExtension(possibleInputWithInputExtension) || extensions === 1 /* JavaScript */ && hasTSFileExtension(possibleInputWithInputExtension)) {\n                      continue;\n                    }\n                    if (state.host.fileExists(possibleInputWithInputExtension)) {\n                      return toSearchResult(withPackageId(scope, loadJSOrExactTSFileName(extensions, possibleInputWithInputExtension, false, state)));\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n      return void 0;\n      function getOutputDirectoriesForBaseDirectory(commonSourceDirGuess) {\n        var _a3, _b2;\n        const currentDir = state.compilerOptions.configFile ? ((_b2 = (_a3 = state.host).getCurrentDirectory) == null ? void 0 : _b2.call(_a3)) || \"\" : commonSourceDirGuess;\n        const candidateDirectories = [];\n        if (state.compilerOptions.declarationDir) {\n          candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.declarationDir)));\n        }\n        if (state.compilerOptions.outDir && state.compilerOptions.outDir !== state.compilerOptions.declarationDir) {\n          candidateDirectories.push(toAbsolutePath(combineDirectoryPath(currentDir, state.compilerOptions.outDir)));\n        }\n        return candidateDirectories;\n      }\n    }\n  }\n}\nfunction isApplicableVersionedTypesKey(conditions, key) {\n  if (conditions.indexOf(\"types\") === -1)\n    return false;\n  if (!startsWith(key, \"types@\"))\n    return false;\n  const range = VersionRange.tryParse(key.substring(\"types@\".length));\n  if (!range)\n    return false;\n  return range.test(version);\n}\nfunction loadModuleFromNearestNodeModulesDirectory(extensions, moduleName, directory, state, cache, redirectedReference) {\n  return loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, directory, state, false, cache, redirectedReference);\n}\nfunction loadModuleFromNearestModulesDirectoryTypesScope(moduleName, directory, state) {\n  return loadModuleFromNearestNodeModulesDirectoryWorker(4 /* DtsOnly */, moduleName, directory, state, true, void 0, void 0);\n}\nfunction loadModuleFromNearestNodeModulesDirectoryWorker(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) {\n  const perModuleNameCache = cache && cache.getOrCreateCacheForModuleName(moduleName, state.features === 0 ? void 0 : state.features & 32 /* EsmMode */ ? 99 /* ESNext */ : 1 /* CommonJS */, redirectedReference);\n  const packageManagerType = state.compilerOptions.packageManagerType;\n  const modulePathPart = getModuleByPMType(packageManagerType);\n  return forEachAncestorDirectory(normalizeSlashes(directory), (ancestorDirectory) => {\n    if (getBaseFileName(ancestorDirectory) !== modulePathPart) {\n      const resolutionFromCache = tryFindNonRelativeModuleNameInCache(perModuleNameCache, moduleName, ancestorDirectory, state);\n      if (resolutionFromCache) {\n        return resolutionFromCache;\n      }\n      return toSearchResult(loadModuleFromImmediateNodeModulesDirectory(extensions, moduleName, ancestorDirectory, state, typesScopeOnly, cache, redirectedReference));\n    }\n  });\n}\nfunction loadModuleFromImmediateNodeModulesDirectory(extensions, moduleName, directory, state, typesScopeOnly, cache, redirectedReference) {\n  const nodeModulesFolder = combinePaths(directory, getModuleByPMType(state.compilerOptions.packageManagerType));\n  const nodeModulesFolderExists = directoryProbablyExists(nodeModulesFolder, state.host);\n  if (!nodeModulesFolderExists && state.traceEnabled) {\n    trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, nodeModulesFolder);\n  }\n  const packageResult = typesScopeOnly ? void 0 : loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesFolder, nodeModulesFolderExists, state, cache, redirectedReference);\n  if (packageResult) {\n    return packageResult;\n  }\n  if (extensions === 0 /* TypeScript */ || extensions === 4 /* DtsOnly */) {\n    const modulesAtTypes = combinePaths(nodeModulesFolder, \"@types\");\n    let nodeModulesAtTypesExists = nodeModulesFolderExists;\n    if (nodeModulesFolderExists && !directoryProbablyExists(modulesAtTypes, state.host)) {\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it, modulesAtTypes);\n      }\n      nodeModulesAtTypesExists = false;\n    }\n    return loadModuleFromSpecificNodeModulesDirectory(4 /* DtsOnly */, mangleScopedPackageNameWithTrace(moduleName, state), modulesAtTypes, nodeModulesAtTypesExists, state, cache, redirectedReference);\n  }\n}\nfunction loadModuleFromSpecificNodeModulesDirectory(extensions, moduleName, nodeModulesDirectory, nodeModulesDirectoryExists, state, cache, redirectedReference) {\n  var _a2;\n  const candidate = normalizePath(combinePaths(nodeModulesDirectory, moduleName));\n  let packageInfo = getPackageJsonInfo(candidate, !nodeModulesDirectoryExists, state);\n  if (!(state.features & 8 /* Exports */)) {\n    if (packageInfo) {\n      const fromFile = loadModuleFromFile(extensions, candidate, !nodeModulesDirectoryExists, state);\n      if (fromFile) {\n        return noPackageId(fromFile);\n      }\n      const fromDirectory = loadNodeModuleFromDirectoryWorker(\n        extensions,\n        candidate,\n        !nodeModulesDirectoryExists,\n        state,\n        packageInfo.contents.packageJsonContent,\n        packageInfo.contents.versionPaths\n      );\n      return withPackageId(packageInfo, fromDirectory);\n    }\n  }\n  const loader = (extensions2, candidate2, onlyRecordFailures, state2) => {\n    let pathAndExtension = loadModuleFromFile(extensions2, candidate2, onlyRecordFailures, state2) || loadNodeModuleFromDirectoryWorker(\n      extensions2,\n      candidate2,\n      onlyRecordFailures,\n      state2,\n      packageInfo && packageInfo.contents.packageJsonContent,\n      packageInfo && packageInfo.contents.versionPaths\n    );\n    if (!pathAndExtension && packageInfo && (packageInfo.contents.packageJsonContent.exports === void 0 || packageInfo.contents.packageJsonContent.exports === null) && state2.features & 32 /* EsmMode */) {\n      pathAndExtension = loadModuleFromFile(extensions2, combinePaths(candidate2, \"index.js\"), onlyRecordFailures, state2);\n    }\n    return withPackageId(packageInfo, pathAndExtension);\n  };\n  const { packageName, rest } = parsePackageName(moduleName);\n  const packageDirectory = combinePaths(nodeModulesDirectory, packageName);\n  if (rest !== \"\") {\n    packageInfo = getPackageJsonInfo(packageDirectory, !nodeModulesDirectoryExists, state);\n  }\n  if (packageInfo && packageInfo.contents.packageJsonContent.exports && state.features & 8 /* Exports */) {\n    return (_a2 = loadModuleFromExports(packageInfo, extensions, combinePaths(\".\", rest), state, cache, redirectedReference)) == null ? void 0 : _a2.value;\n  }\n  if (rest !== \"\" && packageInfo && packageInfo.contents.versionPaths) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2, packageInfo.contents.versionPaths.version, version, rest);\n    }\n    const packageDirectoryExists = nodeModulesDirectoryExists && directoryProbablyExists(packageDirectory, state.host);\n    const fromPaths = tryLoadModuleUsingPaths(extensions, rest, packageDirectory, packageInfo.contents.versionPaths.paths, void 0, loader, !packageDirectoryExists, state);\n    if (fromPaths) {\n      return fromPaths.value;\n    }\n  }\n  return loader(extensions, candidate, !nodeModulesDirectoryExists, state);\n}\nfunction tryLoadModuleUsingPaths(extensions, moduleName, baseDirectory, paths, pathPatterns, loader, onlyRecordFailures, state) {\n  pathPatterns || (pathPatterns = tryParsePatterns(paths));\n  const matchedPattern = matchPatternOrExact(pathPatterns, moduleName);\n  if (matchedPattern) {\n    const matchedStar = isString(matchedPattern) ? void 0 : matchedText(matchedPattern, moduleName);\n    const matchedPatternText = isString(matchedPattern) ? matchedPattern : patternText(matchedPattern);\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Module_name_0_matched_pattern_1, moduleName, matchedPatternText);\n    }\n    const resolved = forEach(paths[matchedPatternText], (subst) => {\n      const path = matchedStar ? subst.replace(\"*\", matchedStar) : subst;\n      const candidate = normalizePath(combinePaths(baseDirectory, path));\n      if (state.traceEnabled) {\n        trace(state.host, Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1, subst, path);\n      }\n      const extension = tryGetExtensionFromPath2(subst);\n      if (extension !== void 0) {\n        const path2 = tryFile(candidate, onlyRecordFailures, state);\n        if (path2 !== void 0) {\n          return noPackageId({ path: path2, ext: extension });\n        }\n      }\n      return loader(extensions, candidate, onlyRecordFailures || !directoryProbablyExists(getDirectoryPath(candidate), state.host), state);\n    });\n    return { value: resolved };\n  }\n}\nvar mangledScopedPackageSeparator = \"__\";\nfunction mangleScopedPackageNameWithTrace(packageName, state) {\n  const mangled = mangleScopedPackageName(packageName);\n  if (state.traceEnabled && mangled !== packageName) {\n    trace(state.host, Diagnostics.Scoped_package_detected_looking_in_0, mangled);\n  }\n  return mangled;\n}\nfunction getTypesPackageName(packageName) {\n  return `@types/${mangleScopedPackageName(packageName)}`;\n}\nfunction mangleScopedPackageName(packageName) {\n  if (startsWith(packageName, \"@\")) {\n    const replaceSlash = packageName.replace(directorySeparator, mangledScopedPackageSeparator);\n    if (replaceSlash !== packageName) {\n      return replaceSlash.slice(1);\n    }\n  }\n  return packageName;\n}\nfunction getPackageNameFromTypesPackageName(mangledName) {\n  const withoutAtTypePrefix = removePrefix(mangledName, \"@types/\");\n  if (withoutAtTypePrefix !== mangledName) {\n    return unmangleScopedPackageName(withoutAtTypePrefix);\n  }\n  return mangledName;\n}\nfunction unmangleScopedPackageName(typesPackageName) {\n  return stringContains(typesPackageName, mangledScopedPackageSeparator) ? \"@\" + typesPackageName.replace(mangledScopedPackageSeparator, directorySeparator) : typesPackageName;\n}\nfunction tryFindNonRelativeModuleNameInCache(cache, moduleName, containingDirectory, state) {\n  const result = cache && cache.get(containingDirectory);\n  if (result) {\n    if (state.traceEnabled) {\n      trace(state.host, Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1, moduleName, containingDirectory);\n    }\n    state.resultFromCache = result;\n    return { value: result.resolvedModule && { path: result.resolvedModule.resolvedFileName, originalPath: result.resolvedModule.originalPath || true, extension: result.resolvedModule.extension, packageId: result.resolvedModule.packageId } };\n  }\n}\nfunction classicNameResolver(moduleName, containingFile, compilerOptions, host, cache, redirectedReference) {\n  const traceEnabled = isTraceEnabled(compilerOptions, host);\n  const failedLookupLocations = [];\n  const affectingLocations = [];\n  const containingDirectory = getDirectoryPath(containingFile);\n  const diagnostics = [];\n  const state = {\n    compilerOptions,\n    host,\n    traceEnabled,\n    failedLookupLocations,\n    affectingLocations,\n    packageJsonInfoCache: cache,\n    features: 0 /* None */,\n    conditions: [],\n    requestContainingDirectory: containingDirectory,\n    reportDiagnostic: (diag2) => void diagnostics.push(diag2)\n  };\n  const resolved = tryResolve(0 /* TypeScript */) || tryResolve(1 /* JavaScript */);\n  return createResolvedModuleWithFailedLookupLocations(\n    resolved && resolved.value,\n    false,\n    failedLookupLocations,\n    affectingLocations,\n    diagnostics,\n    state.resultFromCache\n  );\n  function tryResolve(extensions) {\n    const resolvedUsingSettings = tryLoadModuleUsingOptionalResolutionSettings(extensions, moduleName, containingDirectory, loadModuleFromFileNoPackageId, state);\n    if (resolvedUsingSettings) {\n      return { value: resolvedUsingSettings };\n    }\n    if (!isExternalModuleNameRelative(moduleName)) {\n      const perModuleNameCache = cache && cache.getOrCreateCacheForModuleName(moduleName, void 0, redirectedReference);\n      const resolved2 = forEachAncestorDirectory(containingDirectory, (directory) => {\n        const resolutionFromCache = tryFindNonRelativeModuleNameInCache(perModuleNameCache, moduleName, directory, state);\n        if (resolutionFromCache) {\n          return resolutionFromCache;\n        }\n        const searchName = normalizePath(combinePaths(directory, moduleName));\n        return toSearchResult(loadModuleFromFileNoPackageId(extensions, searchName, false, state));\n      });\n      if (resolved2) {\n        return resolved2;\n      }\n      if (extensions === 0 /* TypeScript */) {\n        return loadModuleFromNearestModulesDirectoryTypesScope(moduleName, containingDirectory, state);\n      }\n    } else {\n      const candidate = normalizePath(combinePaths(containingDirectory, moduleName));\n      return toSearchResult(loadModuleFromFileNoPackageId(extensions, candidate, false, state));\n    }\n  }\n}\nfunction loadModuleFromGlobalCache(moduleName, projectName, compilerOptions, host, globalCache, packageJsonInfoCache) {\n  const traceEnabled = isTraceEnabled(compilerOptions, host);\n  if (traceEnabled) {\n    trace(host, Diagnostics.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2, projectName, moduleName, globalCache);\n  }\n  const failedLookupLocations = [];\n  const affectingLocations = [];\n  const diagnostics = [];\n  const state = {\n    compilerOptions,\n    host,\n    traceEnabled,\n    failedLookupLocations,\n    affectingLocations,\n    packageJsonInfoCache,\n    features: 0 /* None */,\n    conditions: [],\n    requestContainingDirectory: void 0,\n    reportDiagnostic: (diag2) => void diagnostics.push(diag2)\n  };\n  const resolved = loadModuleFromImmediateNodeModulesDirectory(4 /* DtsOnly */, moduleName, globalCache, state, false, void 0, void 0);\n  return createResolvedModuleWithFailedLookupLocations(\n    resolved,\n    true,\n    failedLookupLocations,\n    affectingLocations,\n    diagnostics,\n    state.resultFromCache\n  );\n}\nfunction toSearchResult(value) {\n  return value !== void 0 ? { value } : void 0;\n}\nfunction traceIfEnabled(state, diagnostic, ...args) {\n  if (state.traceEnabled) {\n    trace(state.host, diagnostic, ...args);\n  }\n}\n\n// src/compiler/ohApi.ts\nvar annotationMagicNamePrefix = \"__$$ETS_ANNOTATION$$__\";\nvar maxFlowDepthDefaultValue = 2e3;\nfunction isInEtsFile(node) {\n  var _a2;\n  return node !== void 0 && ((_a2 = getSourceFileOfNode(node)) == null ? void 0 : _a2.scriptKind) === 8 /* ETS */;\n}\nfunction isInEtsFileWithOriginal(node) {\n  var _a2;\n  while (node) {\n    node = node.original;\n    if (node !== void 0 && ((_a2 = getSourceFileOfNode(node)) == null ? void 0 : _a2.scriptKind) === 8 /* ETS */) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction getReservedDecoratorsOfEtsFile(node, host) {\n  let reservedDecorators;\n  if (isInEtsFile(node)) {\n    reservedDecorators = ensureEtsDecorators(node, host);\n  }\n  return reservedDecorators;\n}\nfunction getReservedDecoratorsOfStructDeclaration(node, host) {\n  let reservedDecorators;\n  if (node.parent.kind === 265 /* StructDeclaration */) {\n    reservedDecorators = ensureEtsDecorators(node, host);\n  }\n  return reservedDecorators;\n}\nfunction ensureEtsDecorators(node, host) {\n  const allDecorators = getAllDecorators(node);\n  return getEffectiveDecorators(allDecorators, host);\n}\nfunction concatenateDecoratorsAndModifiers(decorators, modifiers) {\n  if (!decorators)\n    return modifiers;\n  if (!modifiers)\n    return decorators;\n  const decoratorsAndModifiers = concatenate(decorators, modifiers);\n  return decoratorsAndModifiers;\n}\nfunction getEffectiveDecorators(decorators, host) {\n  var _a2;\n  const emitDecorators = (_a2 = host.getCompilerOptions().ets) == null ? void 0 : _a2.emitDecorators;\n  if (!emitDecorators) {\n    return void 0;\n  }\n  const reservedComponents = [];\n  if (!decorators) {\n    return reservedComponents;\n  }\n  for (let decorator of decorators) {\n    const expr = decorator.expression;\n    if (isIdentifier(expr)) {\n      for (const availableDecorator of emitDecorators) {\n        if (availableDecorator.name === expr.escapedText.toString()) {\n          reservedComponents.push(decorator);\n          break;\n        }\n      }\n    } else if (isCallExpression(expr)) {\n      const childExpr = expr.expression;\n      if (isIdentifier(childExpr)) {\n        for (const availableDecorator of emitDecorators) {\n          if (availableDecorator.name === childExpr.escapedText.toString()) {\n            if (!availableDecorator.emitParameters) {\n              decorator = factory.updateDecorator(\n                decorator,\n                childExpr\n              );\n            }\n            reservedComponents.push(decorator);\n            break;\n          }\n        }\n      }\n    }\n  }\n  return reservedComponents;\n}\nfunction inEtsStylesContext(input, host) {\n  var _a2;\n  if (!((_a2 = host.getCompilerOptions().ets) == null ? void 0 : _a2.styles.component) || getSourceFileOfNode(input).scriptKind !== 8 /* ETS */) {\n    return false;\n  }\n  const decorators = getAllDecorators(input);\n  if (decorators.length == 0) {\n    return false;\n  }\n  for (const decorator of decorators) {\n    if (isIdentifier(decorator.expression) && decorator.expression.escapedText.toString() === \"Styles\") {\n      return true;\n    }\n  }\n  return false;\n}\nfunction isEtsFunctionDecorators(name, options) {\n  var _a2, _b, _c, _d, _e, _f, _g, _h;\n  const renderDecorators = (_b = (_a2 = options.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.decorator;\n  return (renderDecorators == null ? void 0 : renderDecorators.length) && name && renderDecorators.includes(name) || name === ((_d = (_c = options.ets) == null ? void 0 : _c.styles) == null ? void 0 : _d.decorator) || ((_h = (_g = (_f = (_e = options.ets) == null ? void 0 : _e.extend) == null ? void 0 : _f.decorator) == null ? void 0 : _g.includes(name)) != null ? _h : false);\n}\nfunction isOhpm(packageManagerType) {\n  return packageManagerType === \"ohpm\";\n}\nvar ohModulesPathPart = \"/oh_modules/\";\nfunction isOHModules(modulePath) {\n  return modulePath.indexOf(ohModulesPathPart) >= 0;\n}\nfunction isOhpmAndOhModules(packageManagerType, modulePath) {\n  return isOhpm(packageManagerType) && isOHModules(modulePath);\n}\nfunction getModulePathPartByPMType(packageManagerType) {\n  return isOhpm(packageManagerType) ? ohModulesPathPart : nodeModulesPathPart;\n}\nfunction getModuleByPMType(packageManagerType) {\n  if (isOhpm(packageManagerType)) {\n    return \"oh_modules\";\n  }\n  return \"node_modules\";\n}\nfunction getPackageJsonByPMType(packageManagerType) {\n  if (isOhpm(packageManagerType)) {\n    return \"oh-package.json5\";\n  }\n  return \"package.json\";\n}\nfunction isOHModulesDirectory(dirPath) {\n  return endsWith(dirPath, \"/oh_modules\");\n}\nfunction isTargetModulesDerectory(dirPath) {\n  return isNodeModulesDirectory(dirPath) || isOHModulesDirectory(dirPath);\n}\nfunction pathContainsOHModules(path) {\n  return stringContains(path, ohModulesPathPart);\n}\nfunction choosePathContainsModules(packageManagerType, fileName) {\n  return isOhpm(packageManagerType) ? pathContainsOHModules(fileName) : pathContainsNodeModules(fileName);\n}\nfunction isOHModulesAtTypesDirectory(dirPath) {\n  return endsWith(dirPath, \"/oh_modules/@types\");\n}\nfunction isOHModulesReference(fileName) {\n  return startsWith(fileName, \"oh_modules/\") || pathContainsOHModules(fileName);\n}\nfunction isArkTsDecorator(node, compilerOptions) {\n  if (compilerOptions) {\n    return hasEtsExtendDecoratorNames(getAllDecorators(node), compilerOptions) || hasEtsStylesDecoratorNames(getAllDecorators(node), compilerOptions) || hasEtsBuilderDecoratorNames(getAllDecorators(node), compilerOptions) || hasEtsConcurrentDecoratorNames(getAllDecorators(node), compilerOptions);\n  }\n  return false;\n}\nfunction hasEtsExtendDecoratorNames(decorators, options) {\n  const names = [];\n  if (!decorators || !decorators.length) {\n    return false;\n  }\n  decorators.forEach((decorator) => {\n    var _a2, _b;\n    const nameExpr = decorator.expression;\n    if (isCallExpression(nameExpr) && isIdentifier(nameExpr.expression) && ((_b = (_a2 = options.ets) == null ? void 0 : _a2.extend.decorator) == null ? void 0 : _b.includes(nameExpr.expression.escapedText.toString()))) {\n      names.push(nameExpr.expression.escapedText.toString());\n    }\n  });\n  return names.length !== 0;\n}\nfunction hasEtsStylesDecoratorNames(decorators, options) {\n  const names = [];\n  if (!decorators || !decorators.length) {\n    return false;\n  }\n  decorators.forEach((decorator) => {\n    var _a2, _b;\n    const nameExpr = decorator.expression;\n    if (isIdentifier(nameExpr) && nameExpr.escapedText.toString() === ((_b = (_a2 = options.ets) == null ? void 0 : _a2.styles) == null ? void 0 : _b.decorator)) {\n      names.push(nameExpr.escapedText.toString());\n    }\n  });\n  return names.length !== 0;\n}\nfunction hasEtsBuildDecoratorNames(decorators, options) {\n  const names = [];\n  if (!decorators || !decorators.length) {\n    return false;\n  }\n  decorators.forEach((decorator) => {\n    var _a2, _b;\n    const nameExpr = decorator.expression;\n    if (isIdentifier(nameExpr) && ((_b = (_a2 = options.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.method.indexOf(nameExpr.escapedText.toString())) !== -1) {\n      names.push(nameExpr.escapedText.toString());\n    }\n  });\n  return names.length !== 0;\n}\nfunction hasEtsBuilderDecoratorNames(decorators, options) {\n  var _a2, _b;\n  const names = [];\n  if (!decorators || !decorators.length) {\n    return false;\n  }\n  const renderDecorators = (_b = (_a2 = options == null ? void 0 : options.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.decorator;\n  if (!(renderDecorators && renderDecorators.length)) {\n    return false;\n  }\n  decorators.forEach((decorator) => {\n    const nameExpr = decorator.expression;\n    if (isIdentifier(nameExpr) && renderDecorators.includes(nameExpr.escapedText.toString())) {\n      names.push(nameExpr.escapedText.toString());\n    }\n  });\n  return names.length !== 0;\n}\nfunction hasEtsConcurrentDecoratorNames(decorators, options) {\n  const names = [];\n  if (!decorators || !decorators.length) {\n    return false;\n  }\n  decorators.forEach((decorator) => {\n    var _a2, _b;\n    const nameExpr = decorator.expression;\n    if (isIdentifier(nameExpr) && nameExpr.escapedText.toString() === ((_b = (_a2 = options.ets) == null ? void 0 : _a2.concurrent) == null ? void 0 : _b.decorator)) {\n      names.push(nameExpr.escapedText.toString());\n    }\n  });\n  return names.length !== 0;\n}\nfunction isTokenInsideBuilder(decorators, compilerOptions) {\n  var _a2, _b, _c;\n  const renderDecorators = (_c = (_b = (_a2 = compilerOptions.ets) == null ? void 0 : _a2.render) == null ? void 0 : _b.decorator) != null ? _c : [\"Builder\", \"LocalBuilder\"];\n  if (!decorators) {\n    return false;\n  }\n  if (!(renderDecorators && renderDecorators.length)) {\n    return false;\n  }\n  for (const decorator of decorators) {\n    if (isIdentifier(decorator.expression) && renderDecorators.includes(decorator.expression.escapedText.toString())) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction getEtsComponentExpressionInnerCallExpressionNode(node) {\n  while (node && node.kind !== 220 /* EtsComponentExpression */) {\n    if (node.kind === 213 /* CallExpression */) {\n      node = node.expression;\n    } else if (node.kind === 211 /* PropertyAccessExpression */) {\n      node = node.expression;\n    } else {\n      node = void 0;\n    }\n  }\n  return node;\n}\nfunction getRootEtsComponentInnerCallExpressionNode(node) {\n  if (node && isEtsComponentExpression(node)) {\n    return node;\n  }\n  while (node) {\n    const ancestor = getAncestor(isCallExpression(node) ? node.parent : node, 213 /* CallExpression */);\n    const target = getRootEtsComponent(ancestor);\n    if (target && isInStateStylesObject(node)) {\n      return target;\n    }\n    node = ancestor != null ? ancestor : node.parent;\n  }\n  return void 0;\n}\nfunction getEtsComponentExpressionInnerExpressionStatementNode(node) {\n  while (node && !isIdentifier(node)) {\n    const parent2 = node;\n    const currentNode = node.expression;\n    if (currentNode && isIdentifier(currentNode)) {\n      node = parent2;\n      break;\n    } else {\n      node = currentNode;\n    }\n  }\n  if (!node) {\n    return void 0;\n  }\n  if (isCallExpression(node) || isEtsComponentExpression(node) || isPropertyAccessExpression(node)) {\n    return node;\n  }\n  return void 0;\n}\nfunction isInStateStylesObject(node) {\n  const ancestor = getAncestor(node, 210 /* ObjectLiteralExpression */);\n  return ancestor !== void 0 && ancestor.parent !== void 0 && isPropertyAssignment(ancestor.parent);\n}\nfunction getEtsExtendDecoratorsComponentNames(decorators, compilerOptions) {\n  var _a2, _b, _c;\n  const extendComponents = [];\n  const extendDecorator = (_c = (_b = (_a2 = compilerOptions.ets) == null ? void 0 : _a2.extend) == null ? void 0 : _b.decorator) != null ? _c : \"Extend\";\n  decorators == null ? void 0 : decorators.forEach((decorator) => {\n    if (decorator.expression.kind === 213 /* CallExpression */) {\n      const identifier = decorator.expression.expression;\n      const args = decorator.expression.arguments;\n      if (identifier.kind === 79 /* Identifier */ && (extendDecorator == null ? void 0 : extendDecorator.includes(identifier.escapedText.toString())) && args.length) {\n        if (args[0].kind === 79 /* Identifier */) {\n          extendComponents.push(args[0].escapedText);\n        }\n      }\n    }\n  });\n  return extendComponents;\n}\nfunction getEtsStylesDecoratorComponentNames(decorators, compilerOptions) {\n  var _a2, _b, _c;\n  const stylesComponents = [];\n  const stylesDecorator = (_c = (_b = (_a2 = compilerOptions.ets) == null ? void 0 : _a2.styles) == null ? void 0 : _b.decorator) != null ? _c : \"Styles\";\n  decorators == null ? void 0 : decorators.forEach((decorator) => {\n    if (decorator.kind === 169 /* Decorator */ && decorator.expression.kind === 79 /* Identifier */) {\n      const identifier = decorator.expression;\n      if (identifier.kind === 79 /* Identifier */ && identifier.escapedText === stylesDecorator) {\n        stylesComponents.push(identifier.escapedText);\n      }\n    }\n  });\n  return stylesComponents;\n}\nfunction filterEtsExtendDecoratorComponentNamesByOptions(decoratorComponentNames, compilerOptions) {\n  var _a2;\n  if (!decoratorComponentNames.length) {\n    return [];\n  }\n  const filtered = [];\n  (_a2 = compilerOptions.ets) == null ? void 0 : _a2.extend.components.forEach(({ name }) => {\n    if (name === last(decoratorComponentNames)) {\n      filtered.push(name);\n    }\n  });\n  return filtered;\n}\nfunction getTypeExportImportAndConstEnumTransformer(context) {\n  return transformTypeExportImportAndConstEnumInTypeScript(context);\n}\nfunction getAnnotationTransformer() {\n  return (context) => transformAnnotation(context);\n}\nfunction transformAnnotation(context) {\n  const resolver = context.getEmitResolver();\n  return transformSourceFile;\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    const updatedSource = factory.updateSourceFile(\n      node,\n      visitLexicalEnvironment(node.statements, visitAnnotationsDeclarations, context)\n    );\n    return factory.updateSourceFile(\n      node,\n      visitLexicalEnvironment(updatedSource.statements, visitAnnotations, context)\n    );\n  }\n  function visitAnnotationsDeclarations(node) {\n    switch (node.kind) {\n      case 266 /* AnnotationDeclaration */:\n        return visitAnnotationDeclaration(node);\n      default:\n        return visitEachChild(node, visitAnnotationsDeclarations, context);\n    }\n  }\n  function visitIllegalDecorators(node) {\n    if (!node.illegalDecorators) {\n      return visitEachChild(node, visitAnnotations, context);\n    }\n    const shouldUpdateIllegalDecorators = node.illegalDecorators.some((decorator) => isAnnotation(decorator));\n    if (!shouldUpdateIllegalDecorators) {\n      return visitEachChild(node, visitAnnotations, context);\n    }\n    const newIllegalDecorators = factory.createNodeArray(filter(node.illegalDecorators, (decorator) => {\n      return !isAnnotation(decorator);\n    }));\n    const newNode = factory.updateIllegalDecorators(node, newIllegalDecorators);\n    return visitEachChild(newNode, visitAnnotations, context);\n  }\n  function visitAnnotations(node) {\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n        return visitImportDeclaration(node);\n      case 263 /* FunctionDeclaration */:\n      case 244 /* VariableStatement */:\n      case 268 /* TypeAliasDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 170 /* PropertySignature */:\n      case 173 /* MethodSignature */:\n      case 270 /* ModuleDeclaration */:\n      case 269 /* EnumDeclaration */:\n        return visitIllegalDecorators(node);\n      case 169 /* Decorator */:\n        return visitAnnotation(node);\n      default:\n        return visitEachChild(node, visitAnnotations, context);\n    }\n  }\n  function visitImportDeclaration(node) {\n    if (!node.importClause) {\n      return node;\n    }\n    const importClause = visitNode(node.importClause, visitImportClause, isImportClause);\n    return importClause ? factory.updateImportDeclaration(\n      node,\n      node.modifiers,\n      importClause,\n      node.moduleSpecifier,\n      node.assertClause\n    ) : void 0;\n  }\n  function visitImportClause(node) {\n    const namedBindings = visitNode(node.namedBindings, visitNamedImportBindings, isNamedImportBindings);\n    return node.name || namedBindings ? factory.updateImportClause(node, node.isTypeOnly, node.name, namedBindings) : void 0;\n  }\n  function visitNamedImportBindings(node) {\n    if (node.kind === 277 /* NamespaceImport */) {\n      return node;\n    }\n    const elements = visitNodes2(node.elements, visitImportSpecifier, isImportSpecifier);\n    return some(elements) ? factory.updateNamedImports(node, elements) : void 0;\n  }\n  function visitImportSpecifier(node) {\n    if (node.isTypeOnly || !resolver.isReferredToAnnotation(node)) {\n      return node;\n    }\n    if (resolver.isReferredToSourceRetentionAnnotation(node)) {\n      return void 0;\n    }\n    const magicPrefixName = addMagicPrefixToAnnotationNameIdentifier(node.name);\n    Debug.assert(isIdentifier(magicPrefixName));\n    return factory.updateImportSpecifier(node, node.isTypeOnly, node.propertyName, magicPrefixName);\n  }\n  function visitAnnotationDeclaration(node) {\n    const magicPrefixName = addMagicPrefixToAnnotationNameIdentifier(node.name);\n    Debug.assert(isIdentifier(magicPrefixName));\n    const members = node.members.map((node2) => {\n      const type = resolver.getAnnotationPropertyInferredType(node2);\n      const initializer = resolver.getAnnotationPropertyEvaluatedInitializer(node2);\n      return factory.updateAnnotationPropertyDeclaration(node2, node2.name, type, initializer);\n    });\n    return factory.updateAnnotationDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitAnnotation, isAnnotation),\n      magicPrefixName,\n      members\n    );\n  }\n  function visitAnnotation(node) {\n    if (!node.annotationDeclaration) {\n      return node;\n    }\n    if (!isClassDeclaration(node.parent) && !isMethodDeclaration(node.parent)) {\n      return void 0;\n    }\n    if (resolver.isSourceRetentionAnnotation(node)) {\n      return void 0;\n    }\n    return factory.updateDecorator(\n      node,\n      addMagicPrefixToAnnotationNameIdentifier(addDefaultValuesIntoAnnotationObjectLiteral(node)),\n      node.annotationDeclaration\n    );\n  }\n  function addMagicPrefixToAnnotationNameIdentifier(expr) {\n    switch (expr.kind) {\n      case 79 /* Identifier */:\n        return factory.createIdentifier(\n          annotationMagicNamePrefix + expr.escapedText\n        );\n      case 211 /* PropertyAccessExpression */:\n        const propAccessExpr = expr;\n        return factory.updatePropertyAccessExpression(\n          propAccessExpr,\n          propAccessExpr.expression,\n          addMagicPrefixToAnnotationNameIdentifier(propAccessExpr.name)\n        );\n      case 213 /* CallExpression */:\n        const callExpr = expr;\n        return factory.updateCallExpression(\n          callExpr,\n          addMagicPrefixToAnnotationNameIdentifier(callExpr.expression),\n          callExpr.typeArguments,\n          callExpr.arguments\n        );\n      default:\n        return expr;\n    }\n  }\n  function addDefaultValuesIntoAnnotationObjectLiteral(annotation) {\n    Debug.assert(annotation.annotationDeclaration);\n    const members = annotation.annotationDeclaration.members;\n    if (isIdentifier(annotation.expression) || isPropertyAccessExpression(annotation.expression) || isCallExpression(annotation.expression) && annotation.expression.arguments.length === 0) {\n      const defaultValues = new Array(members.length);\n      for (let i = 0; i < members.length; ++i) {\n        const member = members[i];\n        const initializer = resolver.getAnnotationPropertyEvaluatedInitializer(member);\n        Debug.assert(initializer !== void 0);\n        defaultValues[i] = factory.createPropertyAssignment(member.name, initializer);\n      }\n      const newCallExpr = factory.createCallExpression(\n        annotation.expression,\n        void 0,\n        [factory.createObjectLiteralExpression(defaultValues, false)]\n      );\n      return newCallExpr;\n    } else if (isCallExpression(annotation.expression)) {\n      Debug.assert(annotation.expression.arguments.length === 1);\n      const obj = annotation.expression.arguments[0];\n      const objPropNameToProp = /* @__PURE__ */ new Map();\n      obj.properties.forEach((p) => {\n        Debug.assert(isPropertyAssignment(p));\n        objPropNameToProp.set(tryGetTextOfPropertyName(p.name), p);\n      });\n      const defaultValues = new Array(members.length);\n      for (let i = 0; i < members.length; ++i) {\n        const member = members[i];\n        const memberName = tryGetTextOfPropertyName(member.name);\n        if (objPropNameToProp.has(memberName)) {\n          const evaluatedProps = resolver.getAnnotationObjectLiteralEvaluatedProps(annotation);\n          Debug.assert(evaluatedProps !== void 0);\n          defaultValues[i] = factory.createPropertyAssignment(member.name, evaluatedProps.get(memberName));\n        } else {\n          const evaluatedInitializer = resolver.getAnnotationPropertyEvaluatedInitializer(member);\n          Debug.assert(evaluatedInitializer !== void 0);\n          defaultValues[i] = factory.createPropertyAssignment(member.name, evaluatedInitializer);\n        }\n      }\n      const newCallExpr = factory.updateCallExpression(\n        annotation.expression,\n        annotation.expression.expression,\n        void 0,\n        [factory.updateObjectLiteralExpression(obj, defaultValues)]\n      );\n      return newCallExpr;\n    }\n    Debug.fail();\n  }\n}\nfunction transformTypeExportImportAndConstEnumInTypeScript(context) {\n  const resolver = context.getEmitResolver();\n  ;\n  ;\n  let currentTypeImportInfo;\n  let currentTypeExportInfo;\n  return transformSourceFile;\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    const visited = factory.updateSourceFile(\n      node,\n      visitLexicalEnvironment(node.statements, visitImportExportAndConstEnumMember, context)\n    );\n    return visited;\n  }\n  function visitImportExportAndConstEnumMember(node) {\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n        return visitImportDeclaration(node);\n      case 274 /* ImportEqualsDeclaration */:\n        return visitImportEqualsDeclaration(node);\n      case 281 /* ExportDeclaration */:\n        return visitExportDeclaration(node);\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        return visitConstEnum(node);\n      case 308 /* EnumMember */:\n        return visitEnumMember(node);\n      default:\n        return visitEachChild(node, visitImportExportAndConstEnumMember, context);\n    }\n  }\n  function visitImportDeclaration(node) {\n    if (!node.importClause || node.importClause.isTypeOnly) {\n      return node;\n    }\n    resetcurrentTypeImportInfo();\n    const res = [];\n    const importClause = visitNode(node.importClause, visitImportClause, isImportClause);\n    if (importClause) {\n      res.push(factory.updateImportDeclaration(\n        node,\n        void 0,\n        importClause,\n        node.moduleSpecifier,\n        void 0\n      ));\n    }\n    const typeImportClauses = createTypeImportClause();\n    for (const typeImportClause of typeImportClauses) {\n      res.push(factory.createImportDeclaration(\n        void 0,\n        typeImportClause,\n        node.moduleSpecifier\n      ));\n    }\n    return res.length > 0 ? res : void 0;\n  }\n  function visitImportClause(node) {\n    if (node.isTypeOnly) {\n      return node;\n    }\n    let name;\n    if (resolver.isReferencedAliasDeclaration(node)) {\n      name = node.name;\n    } else if (resolver.isReferenced(node)) {\n      addTypeImportClauseName(node);\n    }\n    const namedBindings = visitNode(node.namedBindings, visitNamedImportBindings, isNamedImportBindings);\n    return name || namedBindings ? factory.updateImportClause(node, false, name, namedBindings) : void 0;\n  }\n  function visitNamedImportBindings(node) {\n    if (node.kind === 277 /* NamespaceImport */) {\n      if (resolver.isReferencedAliasDeclaration(node)) {\n        return node;\n      }\n      if (resolver.isReferenced(node)) {\n        addTypeNamespaceImport(node);\n      }\n      return void 0;\n    } else {\n      const elements = visitNodes2(node.elements, visitImportSpecifier, isImportSpecifier);\n      return some(elements) ? factory.updateNamedImports(node, elements) : void 0;\n    }\n  }\n  function visitImportSpecifier(node) {\n    if (node.isTypeOnly) {\n      return node;\n    }\n    if (resolver.isReferencedAliasDeclaration(node)) {\n      return node;\n    }\n    if (resolver.isReferenced(node)) {\n      addTypeImportSpecifier(node);\n    }\n    return void 0;\n  }\n  function addTypeImportClauseName(node) {\n    currentTypeImportInfo.name = node.name;\n  }\n  function addTypeNamespaceImport(node) {\n    currentTypeImportInfo.namespaceImport = node;\n  }\n  function addTypeImportSpecifier(node) {\n    currentTypeImportInfo.namedImports.push(node);\n  }\n  function createTypeImportClause() {\n    const name = currentTypeImportInfo.name;\n    let namedBindings;\n    if (currentTypeImportInfo.namespaceImport) {\n      namedBindings = currentTypeImportInfo.namespaceImport;\n    } else if (currentTypeImportInfo.namedImports.length > 0) {\n      namedBindings = factory.createNamedImports(currentTypeImportInfo.namedImports);\n    }\n    const typeImportClauses = [];\n    if (name !== void 0) {\n      typeImportClauses.push(factory.createImportClause(true, name, void 0));\n    }\n    if (namedBindings !== void 0) {\n      typeImportClauses.push(factory.createImportClause(true, void 0, namedBindings));\n    }\n    resetcurrentTypeImportInfo();\n    return typeImportClauses;\n  }\n  function visitImportEqualsDeclaration(node) {\n    if (node.isTypeOnly) {\n      return node;\n    }\n    if (isExternalModuleImportEqualsDeclaration(node)) {\n      const isReferenced = resolver.isReferencedAliasDeclaration(node);\n      if (isReferenced) {\n        return node;\n      }\n      if (resolver.isReferenced(node)) {\n        return factory.updateImportEqualsDeclaration(\n          node,\n          node.modifiers,\n          true,\n          node.name,\n          node.moduleReference\n        );\n      }\n      return void 0;\n    }\n    return node;\n  }\n  function visitExportDeclaration(node) {\n    if (node.isTypeOnly || !node.exportClause || isNamespaceExport(node.exportClause)) {\n      return node;\n    }\n    resetcurrentTypeExportInfo();\n    const res = [];\n    const exportClause = visitNode(node.exportClause, visitNamedExports, isNamedExportBindings);\n    if (exportClause) {\n      res.push(factory.updateExportDeclaration(\n        node,\n        void 0,\n        node.isTypeOnly,\n        exportClause,\n        node.moduleSpecifier,\n        void 0\n      ));\n    }\n    const typeExportClause = createTypeExportClause();\n    if (typeExportClause) {\n      res.push(factory.createExportDeclaration(\n        void 0,\n        true,\n        typeExportClause,\n        node.moduleSpecifier\n      ));\n    }\n    return res.length > 0 ? res : void 0;\n  }\n  function visitNamedExports(node) {\n    const elements = visitNodes2(node.elements, visitExportSpecifier, isExportSpecifier);\n    return some(elements) ? factory.updateNamedExports(node, elements) : void 0;\n  }\n  function visitExportSpecifier(node) {\n    if (node.isTypeOnly) {\n      return node;\n    }\n    if (resolver.isValueAliasDeclaration(node)) {\n      return node;\n    }\n    addTypeExportSpecifier(node);\n    return void 0;\n  }\n  function addTypeExportSpecifier(node) {\n    currentTypeExportInfo.namedExports.push(node);\n  }\n  function createTypeExportClause() {\n    let namedBindings;\n    if (currentTypeExportInfo.namedExports.length > 0) {\n      namedBindings = factory.createNamedExports(currentTypeExportInfo.namedExports);\n    }\n    resetcurrentTypeExportInfo();\n    return namedBindings;\n  }\n  function visitConstEnum(node) {\n    const constantValue = resolver.getConstantValue(node);\n    if (constantValue !== void 0) {\n      const substitute = typeof constantValue === \"string\" ? factory.createStringLiteral(constantValue) : factory.createNumericLiteral(constantValue);\n      return substitute;\n    }\n    return visitEachChild(node, visitImportExportAndConstEnumMember, context);\n  }\n  function visitEnumMember(node) {\n    const value = resolver.getConstantValue(node);\n    if (value !== void 0) {\n      const substitute = typeof value === \"string\" ? factory.createStringLiteral(value) : factory.createNumericLiteral(value);\n      return factory.updateEnumMember(node, node.name, substitute);\n    }\n    return visitEachChild(node, visitImportExportAndConstEnumMember, context);\n  }\n  function resetcurrentTypeImportInfo() {\n    currentTypeImportInfo = { name: void 0, namespaceImport: void 0, namedImports: [] };\n  }\n  function resetcurrentTypeExportInfo() {\n    currentTypeExportInfo = { namedExports: [] };\n  }\n}\nfunction hasTsNoCheckOrTsIgnoreFlag(node) {\n  if (!!node.checkJsDirective && node.checkJsDirective.enabled === false) {\n    return true;\n  }\n  if (node.commentDirectives !== void 0) {\n    for (const commentDirective of node.commentDirectives) {\n      if (commentDirective.type === 1 /* Ignore */) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\nfunction createObfTextSingleLineWriter() {\n  const space = \" \";\n  let output;\n  let lineStart;\n  let linePos;\n  let lineCount;\n  const noSpaceTrailingChars = /* @__PURE__ */ new Set([\" \", \";\", \",\", \"(\", \")\", \"{\", \"}\"]);\n  function updateLineCountAndPosFor(s) {\n    const lineStartsOfS = computeLineStarts(s);\n    if (lineStartsOfS.length > 1) {\n      lineCount = lineCount + lineStartsOfS.length - 1;\n      linePos = output.length - s.length + last(lineStartsOfS);\n      lineStart = linePos - output.length === 0;\n    } else {\n      lineStart = false;\n    }\n  }\n  function writeText(s) {\n    if (s && s.length) {\n      if (lineStart) {\n        lineStart = false;\n      }\n      output += s;\n      updateLineCountAndPosFor(s);\n    }\n  }\n  function write(s) {\n    writeText(s);\n  }\n  function reset2() {\n    output = \"\";\n    lineStart = true;\n    linePos = 0;\n    lineCount = 0;\n  }\n  function rawWrite(s) {\n    if (s !== void 0) {\n      if ((lineStart || endsWithNoSpaceTrailingChar(output)) && s.trim().length === 0) {\n        return;\n      }\n      output += s;\n      updateLineCountAndPosFor(s);\n    }\n  }\n  function writeLiteral(s) {\n    if (s && s.length) {\n      write(s);\n    }\n  }\n  function writeLine(force) {\n    if (!force && (lineStart || endsWithNoSpaceTrailingChar(output))) {\n      return;\n    }\n    output += space;\n    lineStart = false;\n  }\n  function endsWithNoSpaceTrailingChar(input) {\n    const lastChar = input.charAt(input.length - 1);\n    return noSpaceTrailingChars.has(lastChar);\n  }\n  function getTextPosWithWriteLine() {\n    return lineStart ? output.length : output.length + space.length;\n  }\n  reset2();\n  return {\n    write,\n    rawWrite,\n    writeLiteral,\n    writeLine,\n    increaseIndent: noop,\n    decreaseIndent: noop,\n    getIndent: () => 0,\n    getTextPos: () => output.length,\n    getLine: () => lineCount,\n    getColumn: () => lineStart ? 0 : output.length - linePos,\n    getText: () => output,\n    isAtStartOfLine: () => lineStart,\n    hasTrailingComment: () => false,\n    hasTrailingWhitespace: () => !!output.length && isWhiteSpaceLike(output.charCodeAt(output.length - 1)),\n    clear: reset2,\n    reportInaccessibleThisError: noop,\n    reportPrivateInBaseOfClassExpression: noop,\n    reportInaccessibleUniqueSymbolError: noop,\n    trackSymbol: () => false,\n    writeKeyword: write,\n    writeOperator: write,\n    writeParameter: write,\n    writeProperty: write,\n    writePunctuation: write,\n    writeSpace: write,\n    writeStringLiteral: write,\n    writeSymbol: (s, _) => write(s),\n    writeTrailingSemicolon: write,\n    writeComment: noop,\n    getTextPosWithWriteLine\n  };\n}\nfunction isSendableFunctionOrType(node, maybeNotOriginalNode = false) {\n  if (!node || !(isFunctionDeclaration(node) || isTypeAliasDeclaration(node))) {\n    return false;\n  }\n  if (!isInEtsFile(node) && !(maybeNotOriginalNode && isInEtsFileWithOriginal(node))) {\n    return false;\n  }\n  const illegalDecorators = getIllegalDecorators(node);\n  if (!illegalDecorators || illegalDecorators.length !== 1) {\n    return false;\n  }\n  const nameExpr = illegalDecorators[0].expression;\n  return isIdentifier(nameExpr) && nameExpr.escapedText.toString() === \"Sendable\";\n}\nfunction checkStructPropertyPosition(declaration, prop) {\n  return declaration.pos < prop.pos && isStructDeclaration(declaration.parent) && declaration.parent.end > prop.end;\n}\nvar REQUIRE_DECORATOR = \"Require\";\nvar JSON_SUFFIX = \".json\";\nvar KIT_PREFIX = \"@kit.\";\nvar DTS_SUFFIX = \".d.ts\";\nvar DEFAULT_KEYWORD = \"default\";\nvar ETS_DECLARATION = \".d.ets\";\nvar THROWS_TAG = \"throws\";\nvar THROWS_CATCH = \"catch\";\nvar THROWS_ASYNC_CALLBACK = \"AsyncCallback\";\nvar THROWS_ERROR_CALLBACK = \"ErrorCallback\";\nvar kitJsonCache = /* @__PURE__ */ new Map();\nfunction getSdkPath(compilerOptions) {\n  if (isMixedCompilerSDKPath(compilerOptions)) {\n    return resolvePath(compilerOptions.etsLoaderPath, \"../../../../..\");\n  }\n  return compilerOptions.etsLoaderPath ? resolvePath(compilerOptions.etsLoaderPath, \"../../../..\") : void 0;\n}\nfunction getKitJsonObject(name, sdkPath, compilerOptions) {\n  if (kitJsonCache == null ? void 0 : kitJsonCache.has(name)) {\n    return kitJsonCache.get(name);\n  }\n  const OHOS_KIT_CONFIG_PATH = isMixedCompilerSDKPath(compilerOptions) ? \"./openharmony/ets/dynamic/build-tools/ets-loader/kit_configs\" : \"./openharmony/ets/build-tools/ets-loader/kit_configs\";\n  const HMS_KIT_CONFIG_PATH = isMixedCompilerSDKPath(compilerOptions) ? \"./hms/ets/dynamic/build-tools/ets-loader/kit_configs\" : \"./hms/ets/build-tools/ets-loader/kit_configs\";\n  const ohosJsonPath = resolvePath(sdkPath, OHOS_KIT_CONFIG_PATH, `./${name}${JSON_SUFFIX}`);\n  const hmsJsonPath = resolvePath(sdkPath, HMS_KIT_CONFIG_PATH, `./${name}${JSON_SUFFIX}`);\n  let fileInfo = sys.fileExists(ohosJsonPath) ? sys.readFile(ohosJsonPath, \"utf-8\") : sys.fileExists(hmsJsonPath) ? sys.readFile(hmsJsonPath, \"utf-8\") : void 0;\n  if (!fileInfo) {\n    kitJsonCache == null ? void 0 : kitJsonCache.set(name, void 0);\n    return void 0;\n  }\n  const obj = JSON.parse(fileInfo);\n  kitJsonCache == null ? void 0 : kitJsonCache.set(name, obj);\n  return obj;\n}\nfunction isMixedCompilerSDKPath(compilerOptions) {\n  if (!compilerOptions.etsLoaderPath) {\n    return false;\n  }\n  if (normalizePath(compilerOptions.etsLoaderPath).endsWith(\"dynamic/build-tools/ets-loader\")) {\n    return true;\n  }\n  return false;\n}\nfunction cleanKitJsonCache() {\n  kitJsonCache == null ? void 0 : kitJsonCache.clear();\n}\nfunction setVirtualNodeAndKitImportFlags(node, start = 0, end = 0) {\n  node.virtual = true;\n  setTextRangePosEnd(node, start, end);\n  node.flags |= 536870912 /* KitImportFlags */;\n  return node;\n}\nfunction setNoOriginalText(node) {\n  node.flags |= -2147483648 /* NoOriginalText */;\n  return node;\n}\nfunction createImportDeclarationForKit(factory2, isType3, name, symbol, oldStatement, importSpecifier, isLazy) {\n  const source = symbol.source.replace(/\\.d.[e]?ts$/, \"\");\n  const binding = symbol.bindings;\n  const oldModuleSpecifier = oldStatement.moduleSpecifier;\n  const newModuleSpecifier = setNoOriginalText(\n    setVirtualNodeAndKitImportFlags(factory2.createStringLiteral(source), oldModuleSpecifier.pos, oldModuleSpecifier.end)\n  );\n  let newImportClause;\n  if (binding === DEFAULT_KEYWORD) {\n    newImportClause = factory2.createImportClause(isType3, name, void 0);\n  } else {\n    const newPropertyName = isImportSpecifier(importSpecifier) && importSpecifier.propertyName === void 0 && binding === name.escapedText ? void 0 : setNoOriginalText(setVirtualNodeAndKitImportFlags(factory2.createIdentifier(binding), name.pos, name.end));\n    const newImportSpecific = setVirtualNodeAndKitImportFlags(\n      factory2.createImportSpecifier(false, newPropertyName, name),\n      importSpecifier.pos,\n      importSpecifier.end\n    );\n    const newNamedBindings = setVirtualNodeAndKitImportFlags(factory2.createNamedImports([newImportSpecific]), importSpecifier.pos, importSpecifier.end);\n    newImportClause = factory2.createImportClause(isType3, void 0, newNamedBindings);\n  }\n  newImportClause.isLazy = isLazy;\n  newImportClause = setVirtualNodeAndKitImportFlags(newImportClause, importSpecifier.pos, importSpecifier.end);\n  const newImportDeclaration = setVirtualNodeAndKitImportFlags(\n    factory2.createImportDeclaration(void 0, newImportClause, newModuleSpecifier),\n    oldStatement.pos,\n    oldStatement.end\n  );\n  return newImportDeclaration;\n}\nfunction markKitImport(statement, markedkitImportRanges) {\n  markedkitImportRanges.push({ pos: statement.pos, end: statement.end });\n}\nfunction isInMarkedKitImport(sourceFile, pos, end) {\n  var _a2;\n  return !!((_a2 = sourceFile.markedKitImportRange) == null ? void 0 : _a2.some(\n    (range) => {\n      return range.pos <= pos && end <= range.end;\n    }\n  ));\n}\nfunction excludeStatementForKitImport(statement) {\n  if (!isImportDeclaration(statement) || !statement.importClause || statement.importClause.namedBindings && isNamespaceImport(statement.importClause.namedBindings) || !isStringLiteral(statement.moduleSpecifier) || statement.illegalDecorators || !statement.moduleSpecifier.text.startsWith(KIT_PREFIX) || statement.modifiers || statement.assertClause) {\n    return true;\n  }\n  return false;\n}\nfunction excludeStatementForApiNamedBindingsImport(statement, fileName) {\n  if (!fileName.endsWith(DTS_SUFFIX) && isImportDeclaration(statement) && isValidImport(statement) && apiModuleWhiteList.has(statement.moduleSpecifier.text)) {\n    return true;\n  }\n  return false;\n}\nfunction processApiNamedBindingsStatement(statement, apiMap, existingAttribute) {\n  const importClause = statement.importClause;\n  if (!importClause || !importClause.namedBindings) {\n    return statement;\n  }\n  const moduleSpecifierText = statement.moduleSpecifier.text;\n  let newStatement = statement;\n  if (apiMap.has(moduleSpecifierText)) {\n    newStatement = addNamedBindingsElements(moduleSpecifierText, apiMap, statement, existingAttribute);\n  }\n  return newStatement;\n}\nfunction addNamedBindingsElements(moduleSpecifierText, map2, statement, existingAttribute) {\n  const addElements = /* @__PURE__ */ new Set();\n  for (const symbol of map2.get(moduleSpecifierText)) {\n    const symbolAttributeName = `${symbol}Attribute`;\n    if (!existingAttribute.has(symbolAttributeName)) {\n      addElements.add(symbolAttributeName);\n      existingAttribute.add(symbolAttributeName);\n    }\n  }\n  map2.delete(moduleSpecifierText);\n  if (!addElements.size) {\n    return statement;\n  }\n  const newStatement = supplementNamedBindings(addElements, statement);\n  return newStatement;\n}\nfunction supplementNamedBindings(addElements, statement) {\n  const namedBindings = statement.importClause.namedBindings;\n  const virtualElements = [];\n  for (const elementName of addElements) {\n    const virtualElement = createVirtualImportSpecifier(elementName);\n    virtualElements.push(virtualElement);\n  }\n  if (!virtualElements.length) {\n    return statement;\n  }\n  const newNamedBindingsElements = factory.createNodeArray([...namedBindings.elements, ...virtualElements]);\n  const newNamedBindings = factory.createNamedImports(newNamedBindingsElements);\n  const newImportClause = factory.updateImportClause(statement.importClause, false, void 0, newNamedBindings);\n  return factory.updateImportDeclaration(\n    statement,\n    statement.modifiers,\n    newImportClause,\n    statement.moduleSpecifier,\n    statement.assertClause\n  );\n}\nfunction createVirtualImportSpecifier(elementName) {\n  const identifier = finishVirtualNode(factory.createIdentifier(elementName, void 0, void 0, void 0));\n  const importSpecifierNode = factory.createImportSpecifier(false, void 0, identifier);\n  const result = finishVirtualNode(importSpecifierNode);\n  return result;\n}\nfunction finishVirtualNode(node) {\n  node.virtual = true;\n  return node;\n}\nvar whiteListForErrorSymbol = [\n  { kitName: \"@kit.CoreFileKit\", symbolName: \"DfsListeners\" },\n  { kitName: \"@kit.NetworkKit\", symbolName: \"VpnExtensionContext\" },\n  { kitName: \"@kit.ArkUI\", symbolName: \"CustomContentDialog\" }\n];\nvar whiteListForTsWarning = [\n  { kitName: \"@kit.ConnectivityKit\", symbolName: \"socket\" }\n];\nvar whiteListForTsFile = /* @__PURE__ */ new Set([\n  \"@kit.AccountKit\",\n  \"@kit.MapKit\",\n  \"@kit.Penkit\",\n  \"@kit.ScenarioFusionKit\",\n  \"@kit.ServiceCollaborationKit\",\n  \"@kit.SpeechKit\",\n  \"@kit.VisionKit\",\n  \"@kit.PDFKit\",\n  \"@kit.ReaderKit\"\n]);\nfunction inWhiteList(moduleSpecifierText, importName, inEtsContext) {\n  if (whiteListForErrorSymbol.some((info) => info.kitName === moduleSpecifierText && info.symbolName === importName)) {\n    return true;\n  }\n  if (!inEtsContext && whiteListForTsWarning.some((info) => info.kitName === moduleSpecifierText && info.symbolName === importName)) {\n    return true;\n  }\n  return false;\n}\nfunction processKitStatementSuccess(factory2, statement, jsonObject, inEtsContext, newImportStatements, kitMap, existingAttribute) {\n  const importClause = statement.importClause;\n  const moduleSpecifierText = statement.moduleSpecifier.text;\n  const kitSymbol = jsonObject == null ? void 0 : jsonObject.symbols;\n  if (!kitSymbol) {\n    return false;\n  }\n  const isType3 = importClause.isTypeOnly;\n  const isLazy = importClause.isLazy;\n  if (importClause.name) {\n    const symbol = kitSymbol[DEFAULT_KEYWORD];\n    if (!symbol || !inEtsContext && symbol.source.endsWith(ETS_DECLARATION)) {\n      return false;\n    }\n    newImportStatements.push(createImportDeclarationForKit(factory2, isType3, importClause.name, symbol, statement, importClause.name, isLazy));\n  }\n  if (importClause.namedBindings) {\n    let newStatement = statement;\n    if (kitMap.has(moduleSpecifierText)) {\n      newStatement = addNamedBindingsElements(moduleSpecifierText, kitMap, statement, existingAttribute);\n    }\n    let hasError = false;\n    let newImportClause = newStatement.importClause;\n    newImportClause.namedBindings.elements.forEach(\n      (element) => {\n        if (hasError) {\n          return;\n        }\n        const importName = unescapeLeadingUnderscores(element.propertyName ? element.propertyName.escapedText : element.name.escapedText);\n        const aliasName = element.name;\n        if (inWhiteList(moduleSpecifierText, importName, inEtsContext)) {\n          hasError = true;\n          return;\n        }\n        const symbol = kitSymbol[importName];\n        if (!symbol || !aliasName || !inEtsContext && symbol.source.endsWith(ETS_DECLARATION) || isType3 && element.isTypeOnly) {\n          hasError = true;\n          return;\n        }\n        newImportStatements.push(\n          createImportDeclarationForKit(factory2, isType3 || element.isTypeOnly, aliasName, symbol, statement, element, isLazy)\n        );\n      }\n    );\n    if (hasError) {\n      return false;\n    }\n  }\n  return true;\n}\nvar extendComponentWhiteList = /* @__PURE__ */ new Set([\n  \"ArcList\",\n  \"ArcListItem\",\n  \"MovingPhotoView\",\n  \"ArcSwiper\",\n  \"ArcScrollBar\",\n  \"ArcAlphabetIndexer\",\n  \"HdsNavigation\",\n  \"HdsNavDestination\",\n  \"HdsTabs\",\n  \"DotMatrix\",\n  \"Metaball\",\n  \"HdsListItemCard\",\n  \"HdsVisualComponent\",\n  \"MultiWindowEntryInAPP\",\n  \"AudioWave\"\n]);\nvar extendComponentAttributeWhiteList = /* @__PURE__ */ new Set([\n  \"ArcListAttribute\",\n  \"ArcListItemAttribute\",\n  \"MovingPhotoViewAttribute\",\n  \"ArcSwiperAttribute\",\n  \"ArcScrollBarAttribute\",\n  \"ArcAlphabetIndexerAttribute\",\n  \"HdsNavigationAttribute\",\n  \"HdsNavDestinationAttribute\",\n  \"HdsTabsAttribute\",\n  \"DotMatrixAttribute\",\n  \"MetaballAttribute\",\n  \"HdsListItemCardAttribute\",\n  \"HdsVisualComponentAttribute\",\n  \"MultiWindowEntryInAPPAttribute\",\n  \"AudioWaveAttribute\"\n]);\nvar apiModuleWhiteList = /* @__PURE__ */ new Set([\n  \"@ohos.arkui.ArcList\",\n  \"@ohos.arkui.ArcSwiper\",\n  \"@ohos.arkui.ArcScrollBar\",\n  \"@ohos.arkui.ArcAlphabetIndexer\",\n  \"@ohos.multimedia.movingphotoview\",\n  \"@hms.hds.hdsBaseComponent\",\n  \"@hms.hds.HdsVisualComponent\",\n  \"@hms.hds.dotMatrix\",\n  \"@hms.hds.Metaball\",\n  \"@hms.hds.AudioWave\"\n]);\nvar kitModuleWhiteList = /* @__PURE__ */ new Set([\n  \"@kit.ArkUI\",\n  \"@kit.MediaLibraryKit\",\n  \"@kit.UIDesignKit\"\n]);\nfunction processKit(factory2, statements, sdkPath, markedkitImportRanges, inEtsContext, compilerOptions, fileName) {\n  let apiModuleSpecifierMap = /* @__PURE__ */ new Map();\n  let kitModuleSpecifierMap = /* @__PURE__ */ new Map();\n  let existingAttribute = /* @__PURE__ */ new Set();\n  preProcessSpecifiedImportDeclaration(statements, inEtsContext, apiModuleSpecifierMap, kitModuleSpecifierMap, existingAttribute);\n  const list = [];\n  let skipRestStatements = false;\n  statements.forEach(\n    (statement) => {\n      if (!skipRestStatements && inEtsContext && !isImportDeclaration(statement)) {\n        skipRestStatements = true;\n      }\n      if (!skipRestStatements && excludeStatementForApiNamedBindingsImport(statement, fileName)) {\n        const newStatement = processApiNamedBindingsStatement(\n          statement,\n          apiModuleSpecifierMap,\n          existingAttribute\n        );\n        list.push(newStatement);\n        return;\n      }\n      if (skipRestStatements || excludeStatementForKitImport(statement)) {\n        list.push(statement);\n        return;\n      }\n      const moduleSpecifierText = statement.moduleSpecifier.text;\n      if (!inEtsContext && whiteListForTsFile.has(moduleSpecifierText)) {\n        list.push(statement);\n        return;\n      }\n      const jsonObject = getKitJsonObject(moduleSpecifierText, sdkPath, compilerOptions);\n      const newImportStatements = new Array();\n      if (!processKitStatementSuccess(\n        factory2,\n        statement,\n        jsonObject,\n        inEtsContext,\n        newImportStatements,\n        kitModuleSpecifierMap,\n        existingAttribute\n      )) {\n        list.push(statement);\n        return;\n      }\n      list.push(...newImportStatements);\n      markKitImport(statement, markedkitImportRanges);\n    }\n  );\n  return list;\n}\nfunction preProcessSpecifiedImportDeclaration(statements, inEtsContext, apiMap, kitMap, existingAttribute) {\n  let skipRestStatements = false;\n  statements.forEach((statement) => {\n    if (!isImportDeclaration(statement) || !isValidImport(statement)) {\n      return;\n    }\n    if (!skipRestStatements && inEtsContext && !isImportDeclaration(statement)) {\n      skipRestStatements = true;\n    }\n    const moduleSpecifierText = statement.moduleSpecifier.text;\n    if (!skipRestStatements) {\n      if (apiModuleWhiteList.has(moduleSpecifierText)) {\n        processSpecifiedImports(statement, apiMap, moduleSpecifierText, existingAttribute);\n      } else if (kitModuleWhiteList.has(moduleSpecifierText)) {\n        processSpecifiedImports(statement, kitMap, moduleSpecifierText, existingAttribute);\n      }\n    }\n  });\n}\nfunction isValidImport(statement) {\n  const importClause = statement.importClause;\n  if (importClause && importClause.namedBindings && !isNamespaceImport(importClause.namedBindings) && isStringLiteral(statement.moduleSpecifier) && !statement.illegalDecorators) {\n    return true;\n  }\n  return false;\n}\nfunction processSpecifiedImports(statement, map2, moduleSpecifierText, existingAttribute) {\n  var _a2, _b;\n  const namedBindings = (_a2 = statement.importClause) == null ? void 0 : _a2.namedBindings;\n  if (!namedBindings || isNamespaceImport(namedBindings)) {\n    return;\n  }\n  (_b = namedBindings.elements) == null ? void 0 : _b.forEach((element) => {\n    processExtendComponentMap(moduleSpecifierText, map2, element, existingAttribute);\n  });\n}\nfunction processExtendComponentMap(moduleSpecifierText, map2, nameBinding, existingAttribute) {\n  var _a2;\n  const namedBindingName = (_a2 = nameBinding.name) == null ? void 0 : _a2.escapedText.toString();\n  if (extendComponentWhiteList.has(namedBindingName)) {\n    if (!map2.has(moduleSpecifierText)) {\n      map2.set(moduleSpecifierText, /* @__PURE__ */ new Set([]));\n    }\n    map2.get(moduleSpecifierText).add(namedBindingName);\n    return;\n  }\n  if (extendComponentAttributeWhiteList.has(namedBindingName)) {\n    existingAttribute.add(namedBindingName);\n    return;\n  }\n}\nfunction getMaxFlowDepth(compilerOptions) {\n  return compilerOptions.maxFlowDepth || maxFlowDepthDefaultValue;\n}\nvar ErrorInfo = class {\n  constructor() {\n    this.code = \"\";\n    this.description = \"ArkTS Compiler Error\";\n    this.cause = \"\";\n    this.position = \"\";\n    this.solutions = [];\n  }\n  getCode() {\n    return this.code;\n  }\n  getDescription() {\n    return this.description;\n  }\n  getCause() {\n    return this.cause;\n  }\n  getPosition() {\n    return this.position;\n  }\n  getSolutions() {\n    return this.solutions;\n  }\n  getMoreInfo() {\n    return this.moreInfo;\n  }\n};\nvar ErrorCodeArea = /* @__PURE__ */ ((ErrorCodeArea2) => {\n  ErrorCodeArea2[ErrorCodeArea2[\"TSC\"] = 0] = \"TSC\";\n  ErrorCodeArea2[ErrorCodeArea2[\"LINTER\"] = 1] = \"LINTER\";\n  ErrorCodeArea2[ErrorCodeArea2[\"UI\"] = 2] = \"UI\";\n  return ErrorCodeArea2;\n})(ErrorCodeArea || {});\nvar SUBSYSTEM_CODE = \"105\";\nvar ERROR_TYPE_CODE = \"05\";\nvar EXTENSION_CODE = \"001\";\nvar codeCollectionUI = /* @__PURE__ */ new Set([28e3, 28001, 28002, 28003, 28004, 28005, 28006, 28007, 28015]);\nvar codeCollectionLinter = /* @__PURE__ */ new Set([28016, 28017]);\nvar newTscCodeMap = /* @__PURE__ */ new Map([\n  [28014, { code: \"10505114\", solutions: [] }],\n  [28045, { code: \"10505127\", solutions: [\"Make sure it is exported in the 'oh-exports' field of it's 'oh-package.json5'\"] }]\n]);\nfunction getErrorCode(diagnostic) {\n  let errorInfo = new ErrorInfo();\n  errorInfo.cause = flattenDiagnosticMessageText(diagnostic.messageText, \"\\n\");\n  if (diagnostic.file) {\n    const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);\n    errorInfo.position = `File: ${diagnostic.file.fileName}:${line + 1}:${character + 1}`;\n  }\n  if (newTscCodeMap.has(diagnostic.code)) {\n    errorInfo.code = newTscCodeMap.get(diagnostic.code).code;\n    errorInfo.solutions = newTscCodeMap.get(diagnostic.code).solutions;\n  } else {\n    errorInfo.code = SUBSYSTEM_CODE + ERROR_TYPE_CODE + EXTENSION_CODE;\n  }\n  return errorInfo;\n}\nfunction getErrorCodeArea(code) {\n  if (codeCollectionLinter.has(code)) {\n    return 1 /* LINTER */;\n  } else if (codeCollectionUI.has(code)) {\n    return 2 /* UI */;\n  } else {\n    return 0 /* TSC */;\n  }\n}\n\n// src/compiler/binder.ts\nvar ModuleInstanceState = /* @__PURE__ */ ((ModuleInstanceState2) => {\n  ModuleInstanceState2[ModuleInstanceState2[\"NonInstantiated\"] = 0] = \"NonInstantiated\";\n  ModuleInstanceState2[ModuleInstanceState2[\"Instantiated\"] = 1] = \"Instantiated\";\n  ModuleInstanceState2[ModuleInstanceState2[\"ConstEnumOnly\"] = 2] = \"ConstEnumOnly\";\n  return ModuleInstanceState2;\n})(ModuleInstanceState || {});\nfunction getModuleInstanceState(node, visited) {\n  if (node.body && !node.body.parent) {\n    setParent(node.body, node);\n    setParentRecursive(node.body, false);\n  }\n  return node.body ? getModuleInstanceStateCached(node.body, visited) : 1 /* Instantiated */;\n}\nfunction getModuleInstanceStateCached(node, visited = new Map2()) {\n  const nodeId = getNodeId(node);\n  if (visited.has(nodeId)) {\n    return visited.get(nodeId) || 0 /* NonInstantiated */;\n  }\n  visited.set(nodeId, void 0);\n  const result = getModuleInstanceStateWorker(node, visited);\n  visited.set(nodeId, result);\n  return result;\n}\nfunction getModuleInstanceStateWorker(node, visited) {\n  switch (node.kind) {\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n      return 0 /* NonInstantiated */;\n    case 269 /* EnumDeclaration */:\n      if (isEnumConst(node)) {\n        return 2 /* ConstEnumOnly */;\n      }\n      break;\n    case 275 /* ImportDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n      if (!hasSyntacticModifier(node, 1 /* Export */)) {\n        return 0 /* NonInstantiated */;\n      }\n      break;\n    case 281 /* ExportDeclaration */:\n      const exportDeclaration = node;\n      if (!exportDeclaration.moduleSpecifier && exportDeclaration.exportClause && exportDeclaration.exportClause.kind === 282 /* NamedExports */) {\n        let state = 0 /* NonInstantiated */;\n        for (const specifier of exportDeclaration.exportClause.elements) {\n          const specifierState = getModuleInstanceStateForAliasTarget(specifier, visited);\n          if (specifierState > state) {\n            state = specifierState;\n          }\n          if (state === 1 /* Instantiated */) {\n            return state;\n          }\n        }\n        return state;\n      }\n      break;\n    case 271 /* ModuleBlock */: {\n      let state = 0 /* NonInstantiated */;\n      forEachChild(node, (n) => {\n        const childState = getModuleInstanceStateCached(n, visited);\n        switch (childState) {\n          case 0 /* NonInstantiated */:\n            return;\n          case 2 /* ConstEnumOnly */:\n            state = 2 /* ConstEnumOnly */;\n            return;\n          case 1 /* Instantiated */:\n            state = 1 /* Instantiated */;\n            return true;\n          default:\n            Debug.assertNever(childState);\n        }\n      });\n      return state;\n    }\n    case 270 /* ModuleDeclaration */:\n      return getModuleInstanceState(node, visited);\n    case 79 /* Identifier */:\n      if (node.isInJSDocNamespace) {\n        return 0 /* NonInstantiated */;\n      }\n  }\n  return 1 /* Instantiated */;\n}\nfunction getModuleInstanceStateForAliasTarget(specifier, visited) {\n  const name = specifier.propertyName || specifier.name;\n  let p = specifier.parent;\n  while (p) {\n    if (isBlock(p) || isModuleBlock(p) || isSourceFile(p)) {\n      const statements = p.statements;\n      let found;\n      for (const statement of statements) {\n        if (nodeHasName(statement, name)) {\n          if (!statement.parent) {\n            setParent(statement, p);\n            setParentRecursive(statement, false);\n          }\n          const state = getModuleInstanceStateCached(statement, visited);\n          if (found === void 0 || state > found) {\n            found = state;\n          }\n          if (found === 1 /* Instantiated */) {\n            return found;\n          }\n        }\n      }\n      if (found !== void 0) {\n        return found;\n      }\n    }\n    p = p.parent;\n  }\n  return 1 /* Instantiated */;\n}\nvar ContainerFlags = /* @__PURE__ */ ((ContainerFlags2) => {\n  ContainerFlags2[ContainerFlags2[\"None\"] = 0] = \"None\";\n  ContainerFlags2[ContainerFlags2[\"IsContainer\"] = 1] = \"IsContainer\";\n  ContainerFlags2[ContainerFlags2[\"IsBlockScopedContainer\"] = 2] = \"IsBlockScopedContainer\";\n  ContainerFlags2[ContainerFlags2[\"IsControlFlowContainer\"] = 4] = \"IsControlFlowContainer\";\n  ContainerFlags2[ContainerFlags2[\"IsFunctionLike\"] = 8] = \"IsFunctionLike\";\n  ContainerFlags2[ContainerFlags2[\"IsFunctionExpression\"] = 16] = \"IsFunctionExpression\";\n  ContainerFlags2[ContainerFlags2[\"HasLocals\"] = 32] = \"HasLocals\";\n  ContainerFlags2[ContainerFlags2[\"IsInterface\"] = 64] = \"IsInterface\";\n  ContainerFlags2[ContainerFlags2[\"IsObjectLiteralOrClassExpressionMethodOrAccessor\"] = 128] = \"IsObjectLiteralOrClassExpressionMethodOrAccessor\";\n  return ContainerFlags2;\n})(ContainerFlags || {});\nfunction initFlowNode(node) {\n  Debug.attachFlowNodeDebugInfo(node);\n  return node;\n}\nvar binder = createBinder();\nfunction bindSourceFile(file, options) {\n  const recordInfo = MemoryDotting.recordStage(MemoryDotting.BINDE_SOURCE_FILE);\n  mark(\"beforeBind\");\n  perfLogger.logStartBindFile(\"\" + file.fileName);\n  binder(file, options);\n  perfLogger.logStopBindFile();\n  mark(\"afterBind\");\n  MemoryDotting.stopRecordStage(recordInfo);\n  measure(\"Bind\", \"beforeBind\", \"afterBind\");\n}\nfunction createBinder() {\n  var file;\n  var options;\n  var languageVersion;\n  var parent2;\n  var container;\n  var thisParentContainer;\n  var blockScopeContainer;\n  var lastContainer;\n  var delayedTypeAliases;\n  var seenThisKeyword;\n  var currentFlow;\n  var currentBreakTarget;\n  var currentContinueTarget;\n  var currentReturnTarget;\n  var currentTrueTarget;\n  var currentFalseTarget;\n  var currentExceptionTarget;\n  var preSwitchCaseFlow;\n  var activeLabelList;\n  var hasExplicitReturn;\n  var emitFlags;\n  var inStrictMode;\n  var inAssignmentPattern = false;\n  var symbolCount = 0;\n  var Symbol51;\n  var classifiableNames;\n  var unreachableFlow = { flags: 1 /* Unreachable */ };\n  var reportedUnreachableFlow = { flags: 1 /* Unreachable */ };\n  var bindBinaryExpressionFlow = createBindBinaryExpressionFlow();\n  return bindSourceFile2;\n  function createDiagnosticForNode2(node, message, arg0, arg1, arg2) {\n    return createDiagnosticForNodeInSourceFile(getSourceFileOfNode(node) || file, node, message, arg0, arg1, arg2);\n  }\n  function bindSourceFile2(f, opts) {\n    var _a2, _b;\n    file = f;\n    options = opts;\n    languageVersion = getEmitScriptTarget(options);\n    inStrictMode = bindInStrictMode(file, opts);\n    classifiableNames = new Set2();\n    symbolCount = 0;\n    Symbol51 = objectAllocator.getSymbolConstructor();\n    Debug.attachFlowNodeDebugInfo(unreachableFlow);\n    Debug.attachFlowNodeDebugInfo(reportedUnreachableFlow);\n    if (!file.locals) {\n      (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Bind, \"bindSourceFile\", { path: file.path }, true);\n      PerformanceDotting.start(\"bindSourceFile\", file.fileName);\n      bind(file);\n      PerformanceDotting.stop(\"bindSourceFile\");\n      (_b = tracing) == null ? void 0 : _b.pop();\n      file.symbolCount = symbolCount;\n      file.classifiableNames = classifiableNames;\n      delayedBindJSDocTypedefTag();\n    }\n    file = void 0;\n    options = void 0;\n    languageVersion = void 0;\n    parent2 = void 0;\n    container = void 0;\n    thisParentContainer = void 0;\n    blockScopeContainer = void 0;\n    lastContainer = void 0;\n    delayedTypeAliases = void 0;\n    seenThisKeyword = false;\n    currentFlow = void 0;\n    currentBreakTarget = void 0;\n    currentContinueTarget = void 0;\n    currentReturnTarget = void 0;\n    currentTrueTarget = void 0;\n    currentFalseTarget = void 0;\n    currentExceptionTarget = void 0;\n    activeLabelList = void 0;\n    hasExplicitReturn = false;\n    inAssignmentPattern = false;\n    emitFlags = 0 /* None */;\n  }\n  function bindInStrictMode(file2, opts) {\n    if (getStrictOptionValue(opts, \"alwaysStrict\") && !file2.isDeclarationFile) {\n      return true;\n    } else {\n      return !!file2.externalModuleIndicator;\n    }\n  }\n  function createSymbol(flags, name) {\n    symbolCount++;\n    return new Symbol51(flags, name);\n  }\n  function addDeclarationToSymbol(symbol, node, symbolFlags) {\n    symbol.flags |= symbolFlags;\n    node.symbol = symbol;\n    symbol.declarations = appendIfUnique(symbol.declarations, node);\n    if (symbolFlags & (32 /* Class */ | 384 /* Enum */ | 1536 /* Module */ | 3 /* Variable */) && !symbol.exports) {\n      symbol.exports = createSymbolTable();\n    }\n    if (symbolFlags & (32 /* Class */ | 64 /* Interface */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */) && !symbol.members) {\n      symbol.members = createSymbolTable();\n    }\n    if (symbol.constEnumOnlyModule && symbol.flags & (16 /* Function */ | 32 /* Class */ | 256 /* RegularEnum */)) {\n      symbol.constEnumOnlyModule = false;\n    }\n    if (symbolFlags & 111551 /* Value */) {\n      setValueDeclaration(symbol, node);\n    }\n  }\n  function getDeclarationName(node) {\n    if (node.kind === 280 /* ExportAssignment */) {\n      return node.isExportEquals ? \"export=\" /* ExportEquals */ : \"default\" /* Default */;\n    }\n    const name = getNameOfDeclaration(node);\n    if (name) {\n      if (isAmbientModule(node)) {\n        const moduleName = getTextOfIdentifierOrLiteral(name);\n        return isGlobalScopeAugmentation(node) ? \"__global\" : `\"${moduleName}\"`;\n      }\n      if (name.kind === 166 /* ComputedPropertyName */) {\n        const nameExpression = name.expression;\n        if (isStringOrNumericLiteralLike(nameExpression)) {\n          return escapeLeadingUnderscores(nameExpression.text);\n        }\n        if (isSignedNumericLiteral(nameExpression)) {\n          return tokenToString(nameExpression.operator) + nameExpression.operand.text;\n        } else {\n          Debug.fail(\"Only computed properties with literal names have declaration names\");\n        }\n      }\n      if (isPrivateIdentifier(name)) {\n        const containingClass = getContainingClass(node);\n        if (!containingClass) {\n          return void 0;\n        }\n        const containingClassSymbol = containingClass.symbol;\n        return getSymbolNameForPrivateIdentifier(containingClassSymbol, name.escapedText);\n      }\n      return isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : void 0;\n    }\n    switch (node.kind) {\n      case 176 /* Constructor */:\n        return \"__constructor\" /* Constructor */;\n      case 184 /* FunctionType */:\n      case 179 /* CallSignature */:\n      case 332 /* JSDocSignature */:\n        return \"__call\" /* Call */;\n      case 185 /* ConstructorType */:\n      case 180 /* ConstructSignature */:\n        return \"__new\" /* New */;\n      case 181 /* IndexSignature */:\n        return \"__index\" /* Index */;\n      case 281 /* ExportDeclaration */:\n        return \"__export\" /* ExportStar */;\n      case 314 /* SourceFile */:\n        return \"export=\" /* ExportEquals */;\n      case 227 /* BinaryExpression */:\n        if (getAssignmentDeclarationKind(node) === 2 /* ModuleExports */) {\n          return \"export=\" /* ExportEquals */;\n        }\n        Debug.fail(\"Unknown binary declaration kind\");\n      case 326 /* JSDocFunctionType */:\n        return isJSDocConstructSignature(node) ? \"__new\" /* New */ : \"__call\" /* Call */;\n      case 168 /* Parameter */:\n        Debug.assert(node.parent.kind === 326 /* JSDocFunctionType */, \"Impossible parameter parent kind\", () => `parent is: ${Debug.formatSyntaxKind(node.parent.kind)}, expected JSDocFunctionType`);\n        const functionType = node.parent;\n        const index = functionType.parameters.indexOf(node);\n        return \"arg\" + index;\n    }\n  }\n  function getDisplayName(node) {\n    return isNamedDeclaration(node) ? declarationNameToString(node.name) : unescapeLeadingUnderscores(Debug.checkDefined(getDeclarationName(node)));\n  }\n  function declareSymbol(symbolTable, parent3, node, includes, excludes, isReplaceableByMethod, isComputedName) {\n    Debug.assert(isComputedName || !hasDynamicName(node));\n    const isDefaultExport = hasSyntacticModifier(node, 1024 /* Default */) || isExportSpecifier(node) && node.name.escapedText === \"default\";\n    const name = isComputedName ? \"__computed\" /* Computed */ : isDefaultExport && parent3 ? \"default\" /* Default */ : getDeclarationName(node);\n    let symbol;\n    if (name === void 0) {\n      symbol = createSymbol(0 /* None */, \"__missing\" /* Missing */);\n    } else {\n      symbol = symbolTable.get(name);\n      if (includes & 2885600 /* Classifiable */) {\n        classifiableNames.add(name);\n      }\n      if (!symbol) {\n        symbolTable.set(name, symbol = createSymbol(0 /* None */, name));\n        if (isReplaceableByMethod)\n          symbol.isReplaceableByMethod = true;\n      } else if (isReplaceableByMethod && !symbol.isReplaceableByMethod) {\n        return symbol;\n      } else if (symbol.flags & excludes) {\n        if (symbol.isReplaceableByMethod) {\n          symbolTable.set(name, symbol = createSymbol(0 /* None */, name));\n        } else if (!(includes & 3 /* Variable */ && symbol.flags & 67108864 /* Assignment */)) {\n          if (isNamedDeclaration(node)) {\n            setParent(node.name, node);\n          }\n          let message = symbol.flags & 2 /* BlockScopedVariable */ ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0;\n          let messageNeedsName = true;\n          if (symbol.flags & 384 /* Enum */ || includes & 384 /* Enum */) {\n            message = Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;\n            messageNeedsName = false;\n          }\n          let multipleDefaultExports = false;\n          if (length(symbol.declarations)) {\n            if (isDefaultExport) {\n              message = Diagnostics.A_module_cannot_have_multiple_default_exports;\n              messageNeedsName = false;\n              multipleDefaultExports = true;\n            } else {\n              if (symbol.declarations && symbol.declarations.length && (node.kind === 280 /* ExportAssignment */ && !node.isExportEquals)) {\n                message = Diagnostics.A_module_cannot_have_multiple_default_exports;\n                messageNeedsName = false;\n                multipleDefaultExports = true;\n              }\n            }\n          }\n          const relatedInformation = [];\n          if (isTypeAliasDeclaration(node) && nodeIsMissing(node.type) && hasSyntacticModifier(node, 1 /* Export */) && symbol.flags & (2097152 /* Alias */ | 788968 /* Type */ | 1920 /* Namespace */)) {\n            relatedInformation.push(createDiagnosticForNode2(node, Diagnostics.Did_you_mean_0, `export type { ${unescapeLeadingUnderscores(node.name.escapedText)} }`));\n          }\n          const declarationName = getNameOfDeclaration(node) || node;\n          forEach(symbol.declarations, (declaration, index) => {\n            const decl = getNameOfDeclaration(declaration) || declaration;\n            const diag3 = createDiagnosticForNode2(decl, message, messageNeedsName ? getDisplayName(declaration) : void 0);\n            file.bindDiagnostics.push(\n              multipleDefaultExports ? addRelatedInfo(diag3, createDiagnosticForNode2(declarationName, index === 0 ? Diagnostics.Another_export_default_is_here : Diagnostics.and_here)) : diag3\n            );\n            if (multipleDefaultExports) {\n              relatedInformation.push(createDiagnosticForNode2(decl, Diagnostics.The_first_export_default_is_here));\n            }\n          });\n          const diag2 = createDiagnosticForNode2(declarationName, message, messageNeedsName ? getDisplayName(node) : void 0);\n          file.bindDiagnostics.push(addRelatedInfo(diag2, ...relatedInformation));\n          symbol = createSymbol(0 /* None */, name);\n        }\n      }\n    }\n    addDeclarationToSymbol(symbol, node, includes);\n    if (symbol.parent) {\n      Debug.assert(symbol.parent === parent3, \"Existing symbol parent should match new one\");\n    } else {\n      symbol.parent = parent3;\n    }\n    return symbol;\n  }\n  function declareModuleMember(node, symbolFlags, symbolExcludes) {\n    const hasExportModifier = !!(getCombinedModifierFlags(node) & 1 /* Export */) || jsdocTreatAsExported(node);\n    if (symbolFlags & 2097152 /* Alias */) {\n      if (node.kind === 284 /* ExportSpecifier */ || node.kind === 274 /* ImportEqualsDeclaration */ && hasExportModifier) {\n        return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n      } else {\n        return declareSymbol(container.locals, void 0, node, symbolFlags, symbolExcludes);\n      }\n    } else {\n      if (isJSDocTypeAlias(node))\n        Debug.assert(isInJSFile(node));\n      if (!isAmbientModule(node) && (hasExportModifier || container.flags & 64 /* ExportContext */)) {\n        if (!container.locals || hasSyntacticModifier(node, 1024 /* Default */) && !getDeclarationName(node)) {\n          return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n        }\n        const exportKind = symbolFlags & 111551 /* Value */ ? 1048576 /* ExportValue */ : 0;\n        const local = declareSymbol(container.locals, void 0, node, exportKind, symbolExcludes);\n        local.exportSymbol = declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n        node.localSymbol = local;\n        return local;\n      } else {\n        return declareSymbol(container.locals, void 0, node, symbolFlags, symbolExcludes);\n      }\n    }\n  }\n  function jsdocTreatAsExported(node) {\n    if (node.parent && isModuleDeclaration(node)) {\n      node = node.parent;\n    }\n    if (!isJSDocTypeAlias(node))\n      return false;\n    if (!isJSDocEnumTag(node) && !!node.fullName)\n      return true;\n    const declName = getNameOfDeclaration(node);\n    if (!declName)\n      return false;\n    if (isPropertyAccessEntityNameExpression(declName.parent) && isTopLevelNamespaceAssignment(declName.parent))\n      return true;\n    if (isDeclaration(declName.parent) && getCombinedModifierFlags(declName.parent) & 1 /* Export */)\n      return true;\n    return false;\n  }\n  function bindContainer(node, containerFlags) {\n    const saveContainer = container;\n    const saveThisParentContainer = thisParentContainer;\n    const savedBlockScopeContainer = blockScopeContainer;\n    if (containerFlags & 1 /* IsContainer */) {\n      if (node.kind !== 219 /* ArrowFunction */) {\n        thisParentContainer = container;\n      }\n      container = blockScopeContainer = node;\n      if (containerFlags & 32 /* HasLocals */) {\n        container.locals = createSymbolTable();\n      }\n      addToContainerChain(container);\n    } else if (containerFlags & 2 /* IsBlockScopedContainer */) {\n      blockScopeContainer = node;\n      blockScopeContainer.locals = void 0;\n    }\n    if (containerFlags & 4 /* IsControlFlowContainer */) {\n      const saveCurrentFlow = currentFlow;\n      const saveBreakTarget = currentBreakTarget;\n      const saveContinueTarget = currentContinueTarget;\n      const saveReturnTarget = currentReturnTarget;\n      const saveExceptionTarget = currentExceptionTarget;\n      const saveActiveLabelList = activeLabelList;\n      const saveHasExplicitReturn = hasExplicitReturn;\n      const isImmediatelyInvoked = containerFlags & 16 /* IsFunctionExpression */ && !hasSyntacticModifier(node, 512 /* Async */) && !node.asteriskToken && !!getImmediatelyInvokedFunctionExpression(node) || node.kind === 175 /* ClassStaticBlockDeclaration */;\n      if (!isImmediatelyInvoked) {\n        currentFlow = initFlowNode({ flags: 2 /* Start */ });\n        if (containerFlags & (16 /* IsFunctionExpression */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */)) {\n          currentFlow.node = node;\n        }\n      }\n      currentReturnTarget = isImmediatelyInvoked || node.kind === 176 /* Constructor */ || isInJSFile(node) && (node.kind === 263 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */) ? createBranchLabel() : void 0;\n      currentExceptionTarget = void 0;\n      currentBreakTarget = void 0;\n      currentContinueTarget = void 0;\n      activeLabelList = void 0;\n      hasExplicitReturn = false;\n      bindChildren(node);\n      node.flags &= ~2816 /* ReachabilityAndEmitFlags */;\n      if (!(currentFlow.flags & 1 /* Unreachable */) && containerFlags & 8 /* IsFunctionLike */ && nodeIsPresent(node.body)) {\n        node.flags |= 256 /* HasImplicitReturn */;\n        if (hasExplicitReturn)\n          node.flags |= 512 /* HasExplicitReturn */;\n        node.endFlowNode = currentFlow;\n      }\n      if (node.kind === 314 /* SourceFile */) {\n        node.flags |= emitFlags;\n        node.endFlowNode = currentFlow;\n      }\n      if (currentReturnTarget) {\n        addAntecedent(currentReturnTarget, currentFlow);\n        currentFlow = finishFlowLabel(currentReturnTarget);\n        if (node.kind === 176 /* Constructor */ || node.kind === 175 /* ClassStaticBlockDeclaration */ || isInJSFile(node) && (node.kind === 263 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */)) {\n          node.returnFlowNode = currentFlow;\n        }\n      }\n      if (!isImmediatelyInvoked) {\n        currentFlow = saveCurrentFlow;\n      }\n      currentBreakTarget = saveBreakTarget;\n      currentContinueTarget = saveContinueTarget;\n      currentReturnTarget = saveReturnTarget;\n      currentExceptionTarget = saveExceptionTarget;\n      activeLabelList = saveActiveLabelList;\n      hasExplicitReturn = saveHasExplicitReturn;\n    } else if (containerFlags & 64 /* IsInterface */) {\n      seenThisKeyword = false;\n      bindChildren(node);\n      node.flags = seenThisKeyword ? node.flags | 128 /* ContainsThis */ : node.flags & ~128 /* ContainsThis */;\n    } else {\n      bindChildren(node);\n    }\n    container = saveContainer;\n    thisParentContainer = saveThisParentContainer;\n    blockScopeContainer = savedBlockScopeContainer;\n  }\n  function bindEachFunctionsFirst(nodes) {\n    bindEach(nodes, (n) => n.kind === 263 /* FunctionDeclaration */ ? bind(n) : void 0);\n    bindEach(nodes, (n) => n.kind !== 263 /* FunctionDeclaration */ ? bind(n) : void 0);\n  }\n  function bindEach(nodes, bindFunction = bind) {\n    if (nodes === void 0) {\n      return;\n    }\n    forEach(nodes, bindFunction);\n  }\n  function bindEachChild(node) {\n    forEachChild(node, bind, bindEach);\n  }\n  function bindChildren(node) {\n    const saveInAssignmentPattern = inAssignmentPattern;\n    inAssignmentPattern = false;\n    if (checkUnreachable(node)) {\n      bindEachChild(node);\n      bindJSDoc(node);\n      inAssignmentPattern = saveInAssignmentPattern;\n      return;\n    }\n    if (node.kind >= 244 /* FirstStatement */ && node.kind <= 260 /* LastStatement */ && !options.allowUnreachableCode) {\n      node.flowNode = currentFlow;\n    }\n    switch (node.kind) {\n      case 248 /* WhileStatement */:\n        bindWhileStatement(node);\n        break;\n      case 247 /* DoStatement */:\n        bindDoStatement(node);\n        break;\n      case 249 /* ForStatement */:\n        bindForStatement(node);\n        break;\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n        bindForInOrForOfStatement(node);\n        break;\n      case 246 /* IfStatement */:\n        bindIfStatement(node);\n        break;\n      case 254 /* ReturnStatement */:\n      case 258 /* ThrowStatement */:\n        bindReturnOrThrow(node);\n        break;\n      case 253 /* BreakStatement */:\n      case 252 /* ContinueStatement */:\n        bindBreakOrContinueStatement(node);\n        break;\n      case 259 /* TryStatement */:\n        bindTryStatement(node);\n        break;\n      case 256 /* SwitchStatement */:\n        bindSwitchStatement(node);\n        break;\n      case 272 /* CaseBlock */:\n        bindCaseBlock(node);\n        break;\n      case 298 /* CaseClause */:\n        bindCaseClause(node);\n        break;\n      case 245 /* ExpressionStatement */:\n        bindExpressionStatement(node);\n        break;\n      case 257 /* LabeledStatement */:\n        bindLabeledStatement(node);\n        break;\n      case 225 /* PrefixUnaryExpression */:\n        bindPrefixUnaryExpressionFlow(node);\n        break;\n      case 226 /* PostfixUnaryExpression */:\n        bindPostfixUnaryExpressionFlow(node);\n        break;\n      case 227 /* BinaryExpression */:\n        if (isDestructuringAssignment(node)) {\n          inAssignmentPattern = saveInAssignmentPattern;\n          bindDestructuringAssignmentFlow(node);\n          return;\n        }\n        bindBinaryExpressionFlow(node);\n        break;\n      case 221 /* DeleteExpression */:\n        bindDeleteExpressionFlow(node);\n        break;\n      case 228 /* ConditionalExpression */:\n        bindConditionalExpressionFlow(node);\n        break;\n      case 261 /* VariableDeclaration */:\n        bindVariableDeclarationFlow(node);\n        break;\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        bindAccessExpressionFlow(node);\n        break;\n      case 213 /* CallExpression */:\n        bindCallExpressionFlow(node);\n        break;\n      case 236 /* NonNullExpression */:\n        bindNonNullExpressionFlow(node);\n        break;\n      case 354 /* JSDocTypedefTag */:\n      case 347 /* JSDocCallbackTag */:\n      case 348 /* JSDocEnumTag */:\n        bindJSDocTypeAlias(node);\n        break;\n      case 314 /* SourceFile */: {\n        bindEachFunctionsFirst(node.statements);\n        bind(node.endOfFileToken);\n        break;\n      }\n      case 242 /* Block */:\n      case 271 /* ModuleBlock */:\n        bindEachFunctionsFirst(node.statements);\n        break;\n      case 208 /* BindingElement */:\n        bindBindingElementFlow(node);\n        break;\n      case 168 /* Parameter */:\n        bindParameterFlow(node);\n        break;\n      case 210 /* ObjectLiteralExpression */:\n      case 209 /* ArrayLiteralExpression */:\n      case 305 /* PropertyAssignment */:\n      case 231 /* SpreadElement */:\n        inAssignmentPattern = saveInAssignmentPattern;\n      default:\n        bindEachChild(node);\n        break;\n    }\n    bindJSDoc(node);\n    inAssignmentPattern = saveInAssignmentPattern;\n  }\n  function isNarrowingExpression(expr) {\n    switch (expr.kind) {\n      case 79 /* Identifier */:\n      case 80 /* PrivateIdentifier */:\n      case 109 /* ThisKeyword */:\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        return containsNarrowableReference(expr);\n      case 213 /* CallExpression */:\n        return hasNarrowableArgument(expr);\n      case 217 /* ParenthesizedExpression */:\n      case 236 /* NonNullExpression */:\n        return isNarrowingExpression(expr.expression);\n      case 227 /* BinaryExpression */:\n        return isNarrowingBinaryExpression(expr);\n      case 225 /* PrefixUnaryExpression */:\n        return expr.operator === 53 /* ExclamationToken */ && isNarrowingExpression(expr.operand);\n      case 222 /* TypeOfExpression */:\n        return isNarrowingExpression(expr.expression);\n    }\n    return false;\n  }\n  function isNarrowableReference(expr) {\n    return isDottedName(expr) || (isPropertyAccessExpression(expr) || isNonNullExpression(expr) || isParenthesizedExpression(expr)) && isNarrowableReference(expr.expression) || isBinaryExpression(expr) && expr.operatorToken.kind === 27 /* CommaToken */ && isNarrowableReference(expr.right) || isElementAccessExpression(expr) && (isStringOrNumericLiteralLike(expr.argumentExpression) || isEntityNameExpression(expr.argumentExpression)) && isNarrowableReference(expr.expression) || isAssignmentExpression(expr) && isNarrowableReference(expr.left);\n  }\n  function containsNarrowableReference(expr) {\n    return isNarrowableReference(expr) || isOptionalChain(expr) && containsNarrowableReference(expr.expression);\n  }\n  function hasNarrowableArgument(expr) {\n    if (expr.arguments) {\n      for (const argument of expr.arguments) {\n        if (containsNarrowableReference(argument)) {\n          return true;\n        }\n      }\n    }\n    if (expr.expression.kind === 211 /* PropertyAccessExpression */ && containsNarrowableReference(expr.expression.expression)) {\n      return true;\n    }\n    return false;\n  }\n  function isNarrowingTypeofOperands(expr1, expr2) {\n    return isTypeOfExpression(expr1) && isNarrowableOperand(expr1.expression) && isStringLiteralLike(expr2);\n  }\n  function isNarrowingBinaryExpression(expr) {\n    switch (expr.operatorToken.kind) {\n      case 63 /* EqualsToken */:\n      case 75 /* BarBarEqualsToken */:\n      case 76 /* AmpersandAmpersandEqualsToken */:\n      case 77 /* QuestionQuestionEqualsToken */:\n        return containsNarrowableReference(expr.left);\n      case 34 /* EqualsEqualsToken */:\n      case 35 /* ExclamationEqualsToken */:\n      case 36 /* EqualsEqualsEqualsToken */:\n      case 37 /* ExclamationEqualsEqualsToken */:\n        return isNarrowableOperand(expr.left) || isNarrowableOperand(expr.right) || isNarrowingTypeofOperands(expr.right, expr.left) || isNarrowingTypeofOperands(expr.left, expr.right);\n      case 103 /* InstanceOfKeyword */:\n        return isNarrowableOperand(expr.left);\n      case 102 /* InKeyword */:\n        return isNarrowingExpression(expr.right);\n      case 27 /* CommaToken */:\n        return isNarrowingExpression(expr.right);\n    }\n    return false;\n  }\n  function isNarrowableOperand(expr) {\n    switch (expr.kind) {\n      case 217 /* ParenthesizedExpression */:\n        return isNarrowableOperand(expr.expression);\n      case 227 /* BinaryExpression */:\n        switch (expr.operatorToken.kind) {\n          case 63 /* EqualsToken */:\n            return isNarrowableOperand(expr.left);\n          case 27 /* CommaToken */:\n            return isNarrowableOperand(expr.right);\n        }\n    }\n    return containsNarrowableReference(expr);\n  }\n  function createBranchLabel() {\n    return initFlowNode({ flags: 4 /* BranchLabel */, antecedents: void 0 });\n  }\n  function createLoopLabel() {\n    return initFlowNode({ flags: 8 /* LoopLabel */, antecedents: void 0 });\n  }\n  function createReduceLabel(target, antecedents, antecedent) {\n    return initFlowNode({ flags: 1024 /* ReduceLabel */, target, antecedents, antecedent });\n  }\n  function setFlowNodeReferenced(flow) {\n    flow.flags |= flow.flags & 2048 /* Referenced */ ? 4096 /* Shared */ : 2048 /* Referenced */;\n  }\n  function addAntecedent(label, antecedent) {\n    if (!(antecedent.flags & 1 /* Unreachable */) && !contains(label.antecedents, antecedent)) {\n      (label.antecedents || (label.antecedents = [])).push(antecedent);\n      setFlowNodeReferenced(antecedent);\n    }\n  }\n  function createFlowCondition(flags, antecedent, expression) {\n    if (antecedent.flags & 1 /* Unreachable */) {\n      return antecedent;\n    }\n    if (!expression) {\n      return flags & 32 /* TrueCondition */ ? antecedent : unreachableFlow;\n    }\n    if ((expression.kind === 111 /* TrueKeyword */ && flags & 64 /* FalseCondition */ || expression.kind === 96 /* FalseKeyword */ && flags & 32 /* TrueCondition */) && !isExpressionOfOptionalChainRoot(expression) && !isNullishCoalesce(expression.parent)) {\n      return unreachableFlow;\n    }\n    if (!isNarrowingExpression(expression)) {\n      return antecedent;\n    }\n    setFlowNodeReferenced(antecedent);\n    return initFlowNode({ flags, antecedent, node: expression });\n  }\n  function createFlowSwitchClause(antecedent, switchStatement, clauseStart, clauseEnd) {\n    setFlowNodeReferenced(antecedent);\n    return initFlowNode({ flags: 128 /* SwitchClause */, antecedent, switchStatement, clauseStart, clauseEnd });\n  }\n  function createFlowMutation(flags, antecedent, node) {\n    setFlowNodeReferenced(antecedent);\n    const result = initFlowNode({ flags, antecedent, node });\n    if (currentExceptionTarget) {\n      addAntecedent(currentExceptionTarget, result);\n    }\n    return result;\n  }\n  function createFlowCall(antecedent, node) {\n    setFlowNodeReferenced(antecedent);\n    return initFlowNode({ flags: 512 /* Call */, antecedent, node });\n  }\n  function finishFlowLabel(flow) {\n    const antecedents = flow.antecedents;\n    if (!antecedents) {\n      return unreachableFlow;\n    }\n    if (antecedents.length === 1) {\n      return antecedents[0];\n    }\n    return flow;\n  }\n  function isStatementCondition(node) {\n    const parent3 = node.parent;\n    switch (parent3.kind) {\n      case 246 /* IfStatement */:\n      case 248 /* WhileStatement */:\n      case 247 /* DoStatement */:\n        return parent3.expression === node;\n      case 249 /* ForStatement */:\n      case 228 /* ConditionalExpression */:\n        return parent3.condition === node;\n    }\n    return false;\n  }\n  function isLogicalExpression(node) {\n    while (true) {\n      if (node.kind === 217 /* ParenthesizedExpression */) {\n        node = node.expression;\n      } else if (node.kind === 225 /* PrefixUnaryExpression */ && node.operator === 53 /* ExclamationToken */) {\n        node = node.operand;\n      } else {\n        return node.kind === 227 /* BinaryExpression */ && (node.operatorToken.kind === 55 /* AmpersandAmpersandToken */ || node.operatorToken.kind === 56 /* BarBarToken */ || node.operatorToken.kind === 60 /* QuestionQuestionToken */);\n      }\n    }\n  }\n  function isLogicalAssignmentExpression(node) {\n    node = skipParentheses(node);\n    return isBinaryExpression(node) && isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind);\n  }\n  function isTopLevelLogicalExpression(node) {\n    while (isParenthesizedExpression(node.parent) || isPrefixUnaryExpression(node.parent) && node.parent.operator === 53 /* ExclamationToken */) {\n      node = node.parent;\n    }\n    return !isStatementCondition(node) && !isLogicalExpression(node.parent) && !(isOptionalChain(node.parent) && node.parent.expression === node);\n  }\n  function doWithConditionalBranches(action, value, trueTarget, falseTarget) {\n    const savedTrueTarget = currentTrueTarget;\n    const savedFalseTarget = currentFalseTarget;\n    currentTrueTarget = trueTarget;\n    currentFalseTarget = falseTarget;\n    action(value);\n    currentTrueTarget = savedTrueTarget;\n    currentFalseTarget = savedFalseTarget;\n  }\n  function bindCondition(node, trueTarget, falseTarget) {\n    doWithConditionalBranches(bind, node, trueTarget, falseTarget);\n    if (!node || !isLogicalAssignmentExpression(node) && !isLogicalExpression(node) && !(isOptionalChain(node) && isOutermostOptionalChain(node))) {\n      addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node));\n      addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node));\n    }\n  }\n  function bindIterativeStatement(node, breakTarget, continueTarget) {\n    const saveBreakTarget = currentBreakTarget;\n    const saveContinueTarget = currentContinueTarget;\n    currentBreakTarget = breakTarget;\n    currentContinueTarget = continueTarget;\n    bind(node);\n    currentBreakTarget = saveBreakTarget;\n    currentContinueTarget = saveContinueTarget;\n  }\n  function setContinueTarget(node, target) {\n    let label = activeLabelList;\n    while (label && node.parent.kind === 257 /* LabeledStatement */) {\n      label.continueTarget = target;\n      label = label.next;\n      node = node.parent;\n    }\n    return target;\n  }\n  function bindWhileStatement(node) {\n    const preWhileLabel = setContinueTarget(node, createLoopLabel());\n    const preBodyLabel = createBranchLabel();\n    const postWhileLabel = createBranchLabel();\n    addAntecedent(preWhileLabel, currentFlow);\n    currentFlow = preWhileLabel;\n    bindCondition(node.expression, preBodyLabel, postWhileLabel);\n    currentFlow = finishFlowLabel(preBodyLabel);\n    bindIterativeStatement(node.statement, postWhileLabel, preWhileLabel);\n    addAntecedent(preWhileLabel, currentFlow);\n    currentFlow = finishFlowLabel(postWhileLabel);\n  }\n  function bindDoStatement(node) {\n    const preDoLabel = createLoopLabel();\n    const preConditionLabel = setContinueTarget(node, createBranchLabel());\n    const postDoLabel = createBranchLabel();\n    addAntecedent(preDoLabel, currentFlow);\n    currentFlow = preDoLabel;\n    bindIterativeStatement(node.statement, postDoLabel, preConditionLabel);\n    addAntecedent(preConditionLabel, currentFlow);\n    currentFlow = finishFlowLabel(preConditionLabel);\n    bindCondition(node.expression, preDoLabel, postDoLabel);\n    currentFlow = finishFlowLabel(postDoLabel);\n  }\n  function bindForStatement(node) {\n    const preLoopLabel = setContinueTarget(node, createLoopLabel());\n    const preBodyLabel = createBranchLabel();\n    const postLoopLabel = createBranchLabel();\n    bind(node.initializer);\n    addAntecedent(preLoopLabel, currentFlow);\n    currentFlow = preLoopLabel;\n    bindCondition(node.condition, preBodyLabel, postLoopLabel);\n    currentFlow = finishFlowLabel(preBodyLabel);\n    bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel);\n    bind(node.incrementor);\n    addAntecedent(preLoopLabel, currentFlow);\n    currentFlow = finishFlowLabel(postLoopLabel);\n  }\n  function bindForInOrForOfStatement(node) {\n    const preLoopLabel = setContinueTarget(node, createLoopLabel());\n    const postLoopLabel = createBranchLabel();\n    bind(node.expression);\n    addAntecedent(preLoopLabel, currentFlow);\n    currentFlow = preLoopLabel;\n    if (node.kind === 251 /* ForOfStatement */) {\n      bind(node.awaitModifier);\n    }\n    addAntecedent(postLoopLabel, currentFlow);\n    bind(node.initializer);\n    if (node.initializer.kind !== 262 /* VariableDeclarationList */) {\n      bindAssignmentTargetFlow(node.initializer);\n    }\n    bindIterativeStatement(node.statement, postLoopLabel, preLoopLabel);\n    addAntecedent(preLoopLabel, currentFlow);\n    currentFlow = finishFlowLabel(postLoopLabel);\n  }\n  function bindIfStatement(node) {\n    const thenLabel = createBranchLabel();\n    const elseLabel = createBranchLabel();\n    const postIfLabel = createBranchLabel();\n    bindCondition(node.expression, thenLabel, elseLabel);\n    currentFlow = finishFlowLabel(thenLabel);\n    bind(node.thenStatement);\n    addAntecedent(postIfLabel, currentFlow);\n    currentFlow = finishFlowLabel(elseLabel);\n    bind(node.elseStatement);\n    addAntecedent(postIfLabel, currentFlow);\n    currentFlow = finishFlowLabel(postIfLabel);\n  }\n  function bindReturnOrThrow(node) {\n    bind(node.expression);\n    if (node.kind === 254 /* ReturnStatement */) {\n      hasExplicitReturn = true;\n      if (currentReturnTarget) {\n        addAntecedent(currentReturnTarget, currentFlow);\n      }\n    }\n    currentFlow = unreachableFlow;\n  }\n  function findActiveLabel(name) {\n    for (let label = activeLabelList; label; label = label.next) {\n      if (label.name === name) {\n        return label;\n      }\n    }\n    return void 0;\n  }\n  function bindBreakOrContinueFlow(node, breakTarget, continueTarget) {\n    const flowLabel = node.kind === 253 /* BreakStatement */ ? breakTarget : continueTarget;\n    if (flowLabel) {\n      addAntecedent(flowLabel, currentFlow);\n      currentFlow = unreachableFlow;\n    }\n  }\n  function bindBreakOrContinueStatement(node) {\n    bind(node.label);\n    if (node.label) {\n      const activeLabel = findActiveLabel(node.label.escapedText);\n      if (activeLabel) {\n        activeLabel.referenced = true;\n        bindBreakOrContinueFlow(node, activeLabel.breakTarget, activeLabel.continueTarget);\n      }\n    } else {\n      bindBreakOrContinueFlow(node, currentBreakTarget, currentContinueTarget);\n    }\n  }\n  function bindTryStatement(node) {\n    const saveReturnTarget = currentReturnTarget;\n    const saveExceptionTarget = currentExceptionTarget;\n    const normalExitLabel = createBranchLabel();\n    const returnLabel = createBranchLabel();\n    let exceptionLabel = createBranchLabel();\n    if (node.finallyBlock) {\n      currentReturnTarget = returnLabel;\n    }\n    addAntecedent(exceptionLabel, currentFlow);\n    currentExceptionTarget = exceptionLabel;\n    bind(node.tryBlock);\n    addAntecedent(normalExitLabel, currentFlow);\n    if (node.catchClause) {\n      currentFlow = finishFlowLabel(exceptionLabel);\n      exceptionLabel = createBranchLabel();\n      addAntecedent(exceptionLabel, currentFlow);\n      currentExceptionTarget = exceptionLabel;\n      bind(node.catchClause);\n      addAntecedent(normalExitLabel, currentFlow);\n    }\n    currentReturnTarget = saveReturnTarget;\n    currentExceptionTarget = saveExceptionTarget;\n    if (node.finallyBlock) {\n      const finallyLabel = createBranchLabel();\n      finallyLabel.antecedents = concatenate(concatenate(normalExitLabel.antecedents, exceptionLabel.antecedents), returnLabel.antecedents);\n      currentFlow = finallyLabel;\n      bind(node.finallyBlock);\n      if (currentFlow.flags & 1 /* Unreachable */) {\n        currentFlow = unreachableFlow;\n      } else {\n        if (currentReturnTarget && returnLabel.antecedents) {\n          addAntecedent(currentReturnTarget, createReduceLabel(finallyLabel, returnLabel.antecedents, currentFlow));\n        }\n        if (currentExceptionTarget && exceptionLabel.antecedents) {\n          addAntecedent(currentExceptionTarget, createReduceLabel(finallyLabel, exceptionLabel.antecedents, currentFlow));\n        }\n        currentFlow = normalExitLabel.antecedents ? createReduceLabel(finallyLabel, normalExitLabel.antecedents, currentFlow) : unreachableFlow;\n      }\n    } else {\n      currentFlow = finishFlowLabel(normalExitLabel);\n    }\n  }\n  function bindSwitchStatement(node) {\n    const postSwitchLabel = createBranchLabel();\n    bind(node.expression);\n    const saveBreakTarget = currentBreakTarget;\n    const savePreSwitchCaseFlow = preSwitchCaseFlow;\n    currentBreakTarget = postSwitchLabel;\n    preSwitchCaseFlow = currentFlow;\n    bind(node.caseBlock);\n    addAntecedent(postSwitchLabel, currentFlow);\n    const hasDefault = forEach(node.caseBlock.clauses, (c) => c.kind === 299 /* DefaultClause */);\n    node.possiblyExhaustive = !hasDefault && !postSwitchLabel.antecedents;\n    if (!hasDefault) {\n      addAntecedent(postSwitchLabel, createFlowSwitchClause(preSwitchCaseFlow, node, 0, 0));\n    }\n    currentBreakTarget = saveBreakTarget;\n    preSwitchCaseFlow = savePreSwitchCaseFlow;\n    currentFlow = finishFlowLabel(postSwitchLabel);\n  }\n  function bindCaseBlock(node) {\n    const clauses = node.clauses;\n    const isNarrowingSwitch = isNarrowingExpression(node.parent.expression);\n    let fallthroughFlow = unreachableFlow;\n    for (let i = 0; i < clauses.length; i++) {\n      const clauseStart = i;\n      while (!clauses[i].statements.length && i + 1 < clauses.length) {\n        bind(clauses[i]);\n        i++;\n      }\n      const preCaseLabel = createBranchLabel();\n      addAntecedent(preCaseLabel, isNarrowingSwitch ? createFlowSwitchClause(preSwitchCaseFlow, node.parent, clauseStart, i + 1) : preSwitchCaseFlow);\n      addAntecedent(preCaseLabel, fallthroughFlow);\n      currentFlow = finishFlowLabel(preCaseLabel);\n      const clause = clauses[i];\n      bind(clause);\n      fallthroughFlow = currentFlow;\n      if (!(currentFlow.flags & 1 /* Unreachable */) && i !== clauses.length - 1 && options.noFallthroughCasesInSwitch) {\n        clause.fallthroughFlowNode = currentFlow;\n      }\n    }\n  }\n  function bindCaseClause(node) {\n    const saveCurrentFlow = currentFlow;\n    currentFlow = preSwitchCaseFlow;\n    bind(node.expression);\n    currentFlow = saveCurrentFlow;\n    bindEach(node.statements);\n  }\n  function bindExpressionStatement(node) {\n    bind(node.expression);\n    maybeBindExpressionFlowIfCall(node.expression);\n  }\n  function maybeBindExpressionFlowIfCall(node) {\n    if (node.kind === 213 /* CallExpression */) {\n      const call = node;\n      if (call.expression.kind !== 107 /* SuperKeyword */ && isDottedName(call.expression)) {\n        currentFlow = createFlowCall(currentFlow, call);\n      }\n    }\n  }\n  function bindLabeledStatement(node) {\n    const postStatementLabel = createBranchLabel();\n    activeLabelList = {\n      next: activeLabelList,\n      name: node.label.escapedText,\n      breakTarget: postStatementLabel,\n      continueTarget: void 0,\n      referenced: false\n    };\n    bind(node.label);\n    bind(node.statement);\n    if (!activeLabelList.referenced && !options.allowUnusedLabels) {\n      errorOrSuggestionOnNode(unusedLabelIsError(options), node.label, Diagnostics.Unused_label);\n    }\n    activeLabelList = activeLabelList.next;\n    addAntecedent(postStatementLabel, currentFlow);\n    currentFlow = finishFlowLabel(postStatementLabel);\n  }\n  function bindDestructuringTargetFlow(node) {\n    if (node.kind === 227 /* BinaryExpression */ && node.operatorToken.kind === 63 /* EqualsToken */) {\n      bindAssignmentTargetFlow(node.left);\n    } else {\n      bindAssignmentTargetFlow(node);\n    }\n  }\n  function bindAssignmentTargetFlow(node) {\n    if (isNarrowableReference(node)) {\n      currentFlow = createFlowMutation(16 /* Assignment */, currentFlow, node);\n    } else if (node.kind === 209 /* ArrayLiteralExpression */) {\n      for (const e of node.elements) {\n        if (e.kind === 231 /* SpreadElement */) {\n          bindAssignmentTargetFlow(e.expression);\n        } else {\n          bindDestructuringTargetFlow(e);\n        }\n      }\n    } else if (node.kind === 210 /* ObjectLiteralExpression */) {\n      for (const p of node.properties) {\n        if (p.kind === 305 /* PropertyAssignment */) {\n          bindDestructuringTargetFlow(p.initializer);\n        } else if (p.kind === 306 /* ShorthandPropertyAssignment */) {\n          bindAssignmentTargetFlow(p.name);\n        } else if (p.kind === 307 /* SpreadAssignment */) {\n          bindAssignmentTargetFlow(p.expression);\n        }\n      }\n    }\n  }\n  function bindLogicalLikeExpression(node, trueTarget, falseTarget) {\n    const preRightLabel = createBranchLabel();\n    if (node.operatorToken.kind === 55 /* AmpersandAmpersandToken */ || node.operatorToken.kind === 76 /* AmpersandAmpersandEqualsToken */) {\n      bindCondition(node.left, preRightLabel, falseTarget);\n    } else {\n      bindCondition(node.left, trueTarget, preRightLabel);\n    }\n    currentFlow = finishFlowLabel(preRightLabel);\n    bind(node.operatorToken);\n    if (isLogicalOrCoalescingAssignmentOperator(node.operatorToken.kind)) {\n      doWithConditionalBranches(bind, node.right, trueTarget, falseTarget);\n      bindAssignmentTargetFlow(node.left);\n      addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node));\n      addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node));\n    } else {\n      bindCondition(node.right, trueTarget, falseTarget);\n    }\n  }\n  function bindPrefixUnaryExpressionFlow(node) {\n    if (node.operator === 53 /* ExclamationToken */) {\n      const saveTrueTarget = currentTrueTarget;\n      currentTrueTarget = currentFalseTarget;\n      currentFalseTarget = saveTrueTarget;\n      bindEachChild(node);\n      currentFalseTarget = currentTrueTarget;\n      currentTrueTarget = saveTrueTarget;\n    } else {\n      bindEachChild(node);\n      if (node.operator === 45 /* PlusPlusToken */ || node.operator === 46 /* MinusMinusToken */) {\n        bindAssignmentTargetFlow(node.operand);\n      }\n    }\n  }\n  function bindPostfixUnaryExpressionFlow(node) {\n    bindEachChild(node);\n    if (node.operator === 45 /* PlusPlusToken */ || node.operator === 46 /* MinusMinusToken */) {\n      bindAssignmentTargetFlow(node.operand);\n    }\n  }\n  function bindDestructuringAssignmentFlow(node) {\n    if (inAssignmentPattern) {\n      inAssignmentPattern = false;\n      bind(node.operatorToken);\n      bind(node.right);\n      inAssignmentPattern = true;\n      bind(node.left);\n    } else {\n      inAssignmentPattern = true;\n      bind(node.left);\n      inAssignmentPattern = false;\n      bind(node.operatorToken);\n      bind(node.right);\n    }\n    bindAssignmentTargetFlow(node.left);\n  }\n  function createBindBinaryExpressionFlow() {\n    return createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, void 0);\n    function onEnter(node, state) {\n      if (state) {\n        state.stackIndex++;\n        setParent(node, parent2);\n        const saveInStrictMode = inStrictMode;\n        bindWorker(node);\n        const saveParent = parent2;\n        parent2 = node;\n        state.skip = false;\n        state.inStrictModeStack[state.stackIndex] = saveInStrictMode;\n        state.parentStack[state.stackIndex] = saveParent;\n      } else {\n        state = {\n          stackIndex: 0,\n          skip: false,\n          inStrictModeStack: [void 0],\n          parentStack: [void 0]\n        };\n      }\n      const operator = node.operatorToken.kind;\n      if (operator === 55 /* AmpersandAmpersandToken */ || operator === 56 /* BarBarToken */ || operator === 60 /* QuestionQuestionToken */ || isLogicalOrCoalescingAssignmentOperator(operator)) {\n        if (isTopLevelLogicalExpression(node)) {\n          const postExpressionLabel = createBranchLabel();\n          bindLogicalLikeExpression(node, postExpressionLabel, postExpressionLabel);\n          currentFlow = finishFlowLabel(postExpressionLabel);\n        } else {\n          bindLogicalLikeExpression(node, currentTrueTarget, currentFalseTarget);\n        }\n        state.skip = true;\n      }\n      return state;\n    }\n    function onLeft(left, state, node) {\n      if (!state.skip) {\n        const maybeBound = maybeBind2(left);\n        if (node.operatorToken.kind === 27 /* CommaToken */) {\n          maybeBindExpressionFlowIfCall(left);\n        }\n        return maybeBound;\n      }\n    }\n    function onOperator(operatorToken, state, _node) {\n      if (!state.skip) {\n        bind(operatorToken);\n      }\n    }\n    function onRight(right, state, node) {\n      if (!state.skip) {\n        const maybeBound = maybeBind2(right);\n        if (node.operatorToken.kind === 27 /* CommaToken */) {\n          maybeBindExpressionFlowIfCall(right);\n        }\n        return maybeBound;\n      }\n    }\n    function onExit(node, state) {\n      if (!state.skip) {\n        const operator = node.operatorToken.kind;\n        if (isAssignmentOperator(operator) && !isAssignmentTarget(node)) {\n          bindAssignmentTargetFlow(node.left);\n          if (operator === 63 /* EqualsToken */ && node.left.kind === 212 /* ElementAccessExpression */) {\n            const elementAccess = node.left;\n            if (isNarrowableOperand(elementAccess.expression)) {\n              currentFlow = createFlowMutation(256 /* ArrayMutation */, currentFlow, node);\n            }\n          }\n        }\n      }\n      const savedInStrictMode = state.inStrictModeStack[state.stackIndex];\n      const savedParent = state.parentStack[state.stackIndex];\n      if (savedInStrictMode !== void 0) {\n        inStrictMode = savedInStrictMode;\n      }\n      if (savedParent !== void 0) {\n        parent2 = savedParent;\n      }\n      state.skip = false;\n      state.stackIndex--;\n    }\n    function maybeBind2(node) {\n      if (node && isBinaryExpression(node) && !isDestructuringAssignment(node)) {\n        return node;\n      }\n      bind(node);\n    }\n  }\n  function bindDeleteExpressionFlow(node) {\n    bindEachChild(node);\n    if (node.expression.kind === 211 /* PropertyAccessExpression */) {\n      bindAssignmentTargetFlow(node.expression);\n    }\n  }\n  function bindConditionalExpressionFlow(node) {\n    const trueLabel = createBranchLabel();\n    const falseLabel = createBranchLabel();\n    const postExpressionLabel = createBranchLabel();\n    bindCondition(node.condition, trueLabel, falseLabel);\n    currentFlow = finishFlowLabel(trueLabel);\n    bind(node.questionToken);\n    bind(node.whenTrue);\n    addAntecedent(postExpressionLabel, currentFlow);\n    currentFlow = finishFlowLabel(falseLabel);\n    bind(node.colonToken);\n    bind(node.whenFalse);\n    addAntecedent(postExpressionLabel, currentFlow);\n    currentFlow = finishFlowLabel(postExpressionLabel);\n  }\n  function bindInitializedVariableFlow(node) {\n    const name = !isOmittedExpression(node) ? node.name : void 0;\n    if (isBindingPattern(name)) {\n      for (const child of name.elements) {\n        bindInitializedVariableFlow(child);\n      }\n    } else {\n      currentFlow = createFlowMutation(16 /* Assignment */, currentFlow, node);\n    }\n  }\n  function bindVariableDeclarationFlow(node) {\n    bindEachChild(node);\n    if (node.initializer || isForInOrOfStatement(node.parent.parent)) {\n      bindInitializedVariableFlow(node);\n    }\n  }\n  function bindBindingElementFlow(node) {\n    bind(node.dotDotDotToken);\n    bind(node.propertyName);\n    bindInitializer(node.initializer);\n    bind(node.name);\n  }\n  function bindParameterFlow(node) {\n    bindEach(node.modifiers);\n    bind(node.dotDotDotToken);\n    bind(node.questionToken);\n    bind(node.type);\n    bindInitializer(node.initializer);\n    bind(node.name);\n  }\n  function bindInitializer(node) {\n    if (!node) {\n      return;\n    }\n    const entryFlow = currentFlow;\n    bind(node);\n    if (entryFlow === unreachableFlow || entryFlow === currentFlow) {\n      return;\n    }\n    const exitFlow = createBranchLabel();\n    addAntecedent(exitFlow, entryFlow);\n    addAntecedent(exitFlow, currentFlow);\n    currentFlow = finishFlowLabel(exitFlow);\n  }\n  function bindJSDocTypeAlias(node) {\n    bind(node.tagName);\n    if (node.kind !== 348 /* JSDocEnumTag */ && node.fullName) {\n      setParent(node.fullName, node);\n      setParentRecursive(node.fullName, false);\n    }\n    if (typeof node.comment !== \"string\") {\n      bindEach(node.comment);\n    }\n  }\n  function bindJSDocClassTag(node) {\n    bindEachChild(node);\n    const host = getHostSignatureFromJSDoc(node);\n    if (host && host.kind !== 174 /* MethodDeclaration */) {\n      addDeclarationToSymbol(host.symbol, host, 32 /* Class */);\n    }\n  }\n  function bindOptionalExpression(node, trueTarget, falseTarget) {\n    doWithConditionalBranches(bind, node, trueTarget, falseTarget);\n    if (!isOptionalChain(node) || isOutermostOptionalChain(node)) {\n      addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node));\n      addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node));\n    }\n  }\n  function bindOptionalChainRest(node) {\n    switch (node.kind) {\n      case 211 /* PropertyAccessExpression */:\n        bind(node.questionDotToken);\n        bind(node.name);\n        break;\n      case 212 /* ElementAccessExpression */:\n        bind(node.questionDotToken);\n        bind(node.argumentExpression);\n        break;\n      case 213 /* CallExpression */:\n        bind(node.questionDotToken);\n        bindEach(node.typeArguments);\n        bindEach(node.arguments);\n        break;\n    }\n  }\n  function bindOptionalChain(node, trueTarget, falseTarget) {\n    const preChainLabel = isOptionalChainRoot(node) ? createBranchLabel() : void 0;\n    bindOptionalExpression(node.expression, preChainLabel || trueTarget, falseTarget);\n    if (preChainLabel) {\n      currentFlow = finishFlowLabel(preChainLabel);\n    }\n    doWithConditionalBranches(bindOptionalChainRest, node, trueTarget, falseTarget);\n    if (isOutermostOptionalChain(node)) {\n      addAntecedent(trueTarget, createFlowCondition(32 /* TrueCondition */, currentFlow, node));\n      addAntecedent(falseTarget, createFlowCondition(64 /* FalseCondition */, currentFlow, node));\n    }\n  }\n  function bindOptionalChainFlow(node) {\n    if (isTopLevelLogicalExpression(node)) {\n      const postExpressionLabel = createBranchLabel();\n      bindOptionalChain(node, postExpressionLabel, postExpressionLabel);\n      currentFlow = finishFlowLabel(postExpressionLabel);\n    } else {\n      bindOptionalChain(node, currentTrueTarget, currentFalseTarget);\n    }\n  }\n  function bindNonNullExpressionFlow(node) {\n    if (isOptionalChain(node)) {\n      bindOptionalChainFlow(node);\n    } else {\n      bindEachChild(node);\n    }\n  }\n  function bindAccessExpressionFlow(node) {\n    if (isOptionalChain(node)) {\n      bindOptionalChainFlow(node);\n    } else {\n      bindEachChild(node);\n    }\n  }\n  function bindCallExpressionFlow(node) {\n    if (isOptionalChain(node)) {\n      bindOptionalChainFlow(node);\n    } else {\n      const expr = skipParentheses(node.expression);\n      if (expr.kind === 218 /* FunctionExpression */ || expr.kind === 219 /* ArrowFunction */) {\n        bindEach(node.typeArguments);\n        bindEach(node.arguments);\n        bind(node.expression);\n      } else {\n        bindEachChild(node);\n        if (node.expression.kind === 107 /* SuperKeyword */) {\n          currentFlow = createFlowCall(currentFlow, node);\n        }\n      }\n    }\n    if (node.expression.kind === 211 /* PropertyAccessExpression */) {\n      const propertyAccess = node.expression;\n      if (isIdentifier(propertyAccess.name) && isNarrowableOperand(propertyAccess.expression) && isPushOrUnshiftIdentifier(propertyAccess.name)) {\n        currentFlow = createFlowMutation(256 /* ArrayMutation */, currentFlow, node);\n      }\n    }\n  }\n  function getContainerFlags(node) {\n    switch (node.kind) {\n      case 232 /* ClassExpression */:\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 266 /* AnnotationDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 210 /* ObjectLiteralExpression */:\n      case 187 /* TypeLiteral */:\n      case 331 /* JSDocTypeLiteral */:\n      case 295 /* JsxAttributes */:\n        return 1 /* IsContainer */;\n      case 267 /* InterfaceDeclaration */:\n        return 1 /* IsContainer */ | 64 /* IsInterface */;\n      case 270 /* ModuleDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 200 /* MappedType */:\n      case 181 /* IndexSignature */:\n        return 1 /* IsContainer */ | 32 /* HasLocals */;\n      case 314 /* SourceFile */:\n        return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */;\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 174 /* MethodDeclaration */:\n        if (isObjectLiteralOrClassExpressionMethodOrAccessor(node)) {\n          return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 128 /* IsObjectLiteralOrClassExpressionMethodOrAccessor */;\n        }\n      case 176 /* Constructor */:\n      case 263 /* FunctionDeclaration */:\n      case 173 /* MethodSignature */:\n      case 179 /* CallSignature */:\n      case 332 /* JSDocSignature */:\n      case 326 /* JSDocFunctionType */:\n      case 184 /* FunctionType */:\n      case 180 /* ConstructSignature */:\n      case 185 /* ConstructorType */:\n      case 175 /* ClassStaticBlockDeclaration */:\n        return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */;\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 16 /* IsFunctionExpression */;\n      case 271 /* ModuleBlock */:\n        return 4 /* IsControlFlowContainer */;\n      case 171 /* PropertyDeclaration */:\n        return node.initializer ? 4 /* IsControlFlowContainer */ : 0;\n      case 172 /* AnnotationPropertyDeclaration */:\n        return node.initializer ? 4 /* IsControlFlowContainer */ : 0;\n      case 301 /* CatchClause */:\n      case 249 /* ForStatement */:\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n      case 272 /* CaseBlock */:\n        return 2 /* IsBlockScopedContainer */;\n      case 242 /* Block */:\n        return isFunctionLike(node.parent) || isClassStaticBlockDeclaration(node.parent) ? 0 /* None */ : 2 /* IsBlockScopedContainer */;\n    }\n    return 0 /* None */;\n  }\n  function addToContainerChain(next) {\n    if (lastContainer) {\n      lastContainer.nextContainer = next;\n    }\n    lastContainer = next;\n  }\n  function declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes) {\n    switch (container.kind) {\n      case 270 /* ModuleDeclaration */:\n        return declareModuleMember(node, symbolFlags, symbolExcludes);\n      case 314 /* SourceFile */:\n        return declareSourceFileMember(node, symbolFlags, symbolExcludes);\n      case 232 /* ClassExpression */:\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 266 /* AnnotationDeclaration */:\n        return declareClassMember(node, symbolFlags, symbolExcludes);\n      case 269 /* EnumDeclaration */:\n        return declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes);\n      case 187 /* TypeLiteral */:\n      case 331 /* JSDocTypeLiteral */:\n      case 210 /* ObjectLiteralExpression */:\n      case 267 /* InterfaceDeclaration */:\n      case 295 /* JsxAttributes */:\n        return declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes);\n      case 184 /* FunctionType */:\n      case 185 /* ConstructorType */:\n      case 179 /* CallSignature */:\n      case 180 /* ConstructSignature */:\n      case 332 /* JSDocSignature */:\n      case 181 /* IndexSignature */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 176 /* Constructor */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 326 /* JSDocFunctionType */:\n      case 354 /* JSDocTypedefTag */:\n      case 347 /* JSDocCallbackTag */:\n      case 175 /* ClassStaticBlockDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 200 /* MappedType */:\n        return declareSymbol(container.locals, void 0, node, symbolFlags, symbolExcludes);\n    }\n  }\n  function declareClassMember(node, symbolFlags, symbolExcludes) {\n    return isStatic(node) ? declareSymbol(container.symbol.exports, container.symbol, node, symbolFlags, symbolExcludes) : declareSymbol(container.symbol.members, container.symbol, node, symbolFlags, symbolExcludes);\n  }\n  function declareSourceFileMember(node, symbolFlags, symbolExcludes) {\n    return isExternalModule(file) ? declareModuleMember(node, symbolFlags, symbolExcludes) : declareSymbol(file.locals, void 0, node, symbolFlags, symbolExcludes);\n  }\n  function hasExportDeclarations(node) {\n    const body = isSourceFile(node) ? node : tryCast(node.body, isModuleBlock);\n    return !!body && body.statements.some((s) => isExportDeclaration(s) || isExportAssignment(s));\n  }\n  function setExportContextFlag(node) {\n    if (node.flags & 16777216 /* Ambient */ && !hasExportDeclarations(node)) {\n      node.flags |= 64 /* ExportContext */;\n    } else {\n      node.flags &= ~64 /* ExportContext */;\n    }\n  }\n  function bindModuleDeclaration(node) {\n    setExportContextFlag(node);\n    if (isAmbientModule(node)) {\n      if (hasSyntacticModifier(node, 1 /* Export */)) {\n        errorOnFirstToken(node, Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible);\n      }\n      if (isModuleAugmentationExternal(node)) {\n        declareModuleSymbol(node);\n      } else {\n        let pattern;\n        if (node.name.kind === 10 /* StringLiteral */) {\n          const { text } = node.name;\n          pattern = tryParsePattern(text);\n          if (pattern === void 0) {\n            errorOnFirstToken(node.name, Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, text);\n          }\n        }\n        const symbol = declareSymbolAndAddToSymbolTable(node, 512 /* ValueModule */, 110735 /* ValueModuleExcludes */);\n        file.patternAmbientModules = append(file.patternAmbientModules, pattern && !isString(pattern) ? { pattern, symbol } : void 0);\n      }\n    } else {\n      const state = declareModuleSymbol(node);\n      if (state !== 0 /* NonInstantiated */) {\n        const { symbol } = node;\n        symbol.constEnumOnlyModule = !(symbol.flags & (16 /* Function */ | 32 /* Class */ | 256 /* RegularEnum */)) && state === 2 /* ConstEnumOnly */ && symbol.constEnumOnlyModule !== false;\n      }\n    }\n  }\n  function declareModuleSymbol(node) {\n    const state = getModuleInstanceState(node);\n    const instantiated = state !== 0 /* NonInstantiated */;\n    declareSymbolAndAddToSymbolTable(\n      node,\n      instantiated ? 512 /* ValueModule */ : 1024 /* NamespaceModule */,\n      instantiated ? 110735 /* ValueModuleExcludes */ : 0 /* NamespaceModuleExcludes */\n    );\n    return state;\n  }\n  function bindFunctionOrConstructorType(node) {\n    const symbol = createSymbol(131072 /* Signature */, getDeclarationName(node));\n    addDeclarationToSymbol(symbol, node, 131072 /* Signature */);\n    const typeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, \"__type\" /* Type */);\n    addDeclarationToSymbol(typeLiteralSymbol, node, 2048 /* TypeLiteral */);\n    typeLiteralSymbol.members = createSymbolTable();\n    typeLiteralSymbol.members.set(symbol.escapedName, symbol);\n  }\n  function bindObjectLiteralExpression(node) {\n    return bindAnonymousDeclaration(node, 4096 /* ObjectLiteral */, \"__object\" /* Object */);\n  }\n  function bindJsxAttributes(node) {\n    return bindAnonymousDeclaration(node, 4096 /* ObjectLiteral */, \"__jsxAttributes\" /* JSXAttributes */);\n  }\n  function bindJsxAttribute(node, symbolFlags, symbolExcludes) {\n    return declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes);\n  }\n  function bindAnonymousDeclaration(node, symbolFlags, name) {\n    const symbol = createSymbol(symbolFlags, name);\n    if (symbolFlags & (8 /* EnumMember */ | 106500 /* ClassMember */)) {\n      symbol.parent = container.symbol;\n    }\n    addDeclarationToSymbol(symbol, node, symbolFlags);\n    return symbol;\n  }\n  function bindBlockScopedDeclaration(node, symbolFlags, symbolExcludes) {\n    switch (blockScopeContainer.kind) {\n      case 270 /* ModuleDeclaration */:\n        declareModuleMember(node, symbolFlags, symbolExcludes);\n        break;\n      case 314 /* SourceFile */:\n        if (isExternalOrCommonJsModule(container)) {\n          declareModuleMember(node, symbolFlags, symbolExcludes);\n          break;\n        }\n      default:\n        if (!blockScopeContainer.locals) {\n          blockScopeContainer.locals = createSymbolTable();\n          addToContainerChain(blockScopeContainer);\n        }\n        declareSymbol(blockScopeContainer.locals, void 0, node, symbolFlags, symbolExcludes);\n    }\n  }\n  function delayedBindJSDocTypedefTag() {\n    if (!delayedTypeAliases) {\n      return;\n    }\n    const saveContainer = container;\n    const saveLastContainer = lastContainer;\n    const saveBlockScopeContainer = blockScopeContainer;\n    const saveParent = parent2;\n    const saveCurrentFlow = currentFlow;\n    for (const typeAlias of delayedTypeAliases) {\n      const host = typeAlias.parent.parent;\n      container = findAncestor(host.parent, (n) => !!(getContainerFlags(n) & 1 /* IsContainer */)) || file;\n      blockScopeContainer = getEnclosingBlockScopeContainer(host) || file;\n      currentFlow = initFlowNode({ flags: 2 /* Start */ });\n      parent2 = typeAlias;\n      bind(typeAlias.typeExpression);\n      const declName = getNameOfDeclaration(typeAlias);\n      if ((isJSDocEnumTag(typeAlias) || !typeAlias.fullName) && declName && isPropertyAccessEntityNameExpression(declName.parent)) {\n        const isTopLevel = isTopLevelNamespaceAssignment(declName.parent);\n        if (isTopLevel) {\n          bindPotentiallyMissingNamespaces(\n            file.symbol,\n            declName.parent,\n            isTopLevel,\n            !!findAncestor(declName, (d) => isPropertyAccessExpression(d) && d.name.escapedText === \"prototype\"),\n            false\n          );\n          const oldContainer = container;\n          switch (getAssignmentDeclarationPropertyAccessKind(declName.parent)) {\n            case 1 /* ExportsProperty */:\n            case 2 /* ModuleExports */:\n              if (!isExternalOrCommonJsModule(file)) {\n                container = void 0;\n              } else {\n                container = file;\n              }\n              break;\n            case 4 /* ThisProperty */:\n              container = declName.parent.expression;\n              break;\n            case 3 /* PrototypeProperty */:\n              container = declName.parent.expression.name;\n              break;\n            case 5 /* Property */:\n              container = isExportsOrModuleExportsOrAlias(file, declName.parent.expression) ? file : isPropertyAccessExpression(declName.parent.expression) ? declName.parent.expression.name : declName.parent.expression;\n              break;\n            case 0 /* None */:\n              return Debug.fail(\"Shouldn't have detected typedef or enum on non-assignment declaration\");\n          }\n          if (container) {\n            declareModuleMember(typeAlias, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */);\n          }\n          container = oldContainer;\n        }\n      } else if (isJSDocEnumTag(typeAlias) || !typeAlias.fullName || typeAlias.fullName.kind === 79 /* Identifier */) {\n        parent2 = typeAlias.parent;\n        bindBlockScopedDeclaration(typeAlias, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */);\n      } else {\n        bind(typeAlias.fullName);\n      }\n    }\n    container = saveContainer;\n    lastContainer = saveLastContainer;\n    blockScopeContainer = saveBlockScopeContainer;\n    parent2 = saveParent;\n    currentFlow = saveCurrentFlow;\n  }\n  function checkContextualIdentifier(node) {\n    if (!file.parseDiagnostics.length && !(node.flags & 16777216 /* Ambient */) && !(node.flags & 8388608 /* JSDoc */) && !isIdentifierName(node)) {\n      if (inStrictMode && node.originalKeywordKind >= 118 /* FirstFutureReservedWord */ && node.originalKeywordKind <= 126 /* LastFutureReservedWord */) {\n        file.bindDiagnostics.push(createDiagnosticForNode2(\n          node,\n          getStrictModeIdentifierMessage(node),\n          declarationNameToString(node)\n        ));\n      } else if (node.originalKeywordKind === 134 /* AwaitKeyword */) {\n        if (isExternalModule(file) && isInTopLevelContext(node)) {\n          file.bindDiagnostics.push(createDiagnosticForNode2(\n            node,\n            Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,\n            declarationNameToString(node)\n          ));\n        } else if (node.flags & 32768 /* AwaitContext */) {\n          file.bindDiagnostics.push(createDiagnosticForNode2(\n            node,\n            Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,\n            declarationNameToString(node)\n          ));\n        }\n      } else if (node.originalKeywordKind === 126 /* YieldKeyword */ && node.flags & 8192 /* YieldContext */) {\n        file.bindDiagnostics.push(createDiagnosticForNode2(\n          node,\n          Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,\n          declarationNameToString(node)\n        ));\n      }\n    }\n  }\n  function getStrictModeIdentifierMessage(node) {\n    if (getContainingClass(node)) {\n      return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;\n    }\n    if (file.externalModuleIndicator) {\n      return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;\n    }\n    return Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode;\n  }\n  function checkPrivateIdentifier(node) {\n    if (node.escapedText === \"#constructor\") {\n      if (!file.parseDiagnostics.length) {\n        file.bindDiagnostics.push(createDiagnosticForNode2(\n          node,\n          Diagnostics.constructor_is_a_reserved_word,\n          declarationNameToString(node)\n        ));\n      }\n    }\n  }\n  function checkStrictModeBinaryExpression(node) {\n    if (inStrictMode && isLeftHandSideExpression(node.left) && isAssignmentOperator(node.operatorToken.kind)) {\n      checkStrictModeEvalOrArguments(node, node.left);\n    }\n  }\n  function checkStrictModeCatchClause(node) {\n    if (inStrictMode && node.variableDeclaration) {\n      checkStrictModeEvalOrArguments(node, node.variableDeclaration.name);\n    }\n  }\n  function checkStrictModeDeleteExpression(node) {\n    if (inStrictMode && node.expression.kind === 79 /* Identifier */) {\n      const span = getErrorSpanForNode(file, node.expression);\n      file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode));\n    }\n  }\n  function isEvalOrArgumentsIdentifier(node) {\n    return isIdentifier(node) && (node.escapedText === \"eval\" || node.escapedText === \"arguments\");\n  }\n  function checkStrictModeEvalOrArguments(contextNode, name) {\n    if (name && name.kind === 79 /* Identifier */) {\n      const identifier = name;\n      if (isEvalOrArgumentsIdentifier(identifier)) {\n        const span = getErrorSpanForNode(file, name);\n        file.bindDiagnostics.push(createFileDiagnostic(\n          file,\n          span.start,\n          span.length,\n          getStrictModeEvalOrArgumentsMessage(contextNode),\n          idText(identifier)\n        ));\n      }\n    }\n  }\n  function getStrictModeEvalOrArgumentsMessage(node) {\n    if (getContainingClass(node)) {\n      return Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode;\n    }\n    if (file.externalModuleIndicator) {\n      return Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;\n    }\n    return Diagnostics.Invalid_use_of_0_in_strict_mode;\n  }\n  function checkStrictModeFunctionName(node) {\n    if (inStrictMode) {\n      checkStrictModeEvalOrArguments(node, node.name);\n    }\n  }\n  function getStrictModeBlockScopeFunctionDeclarationMessage(node) {\n    if (getContainingClass(node)) {\n      return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode;\n    }\n    if (file.externalModuleIndicator) {\n      return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode;\n    }\n    return Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5;\n  }\n  function checkStrictModeFunctionDeclaration(node) {\n    if (languageVersion < 2 /* ES2015 */) {\n      if (blockScopeContainer.kind !== 314 /* SourceFile */ && blockScopeContainer.kind !== 270 /* ModuleDeclaration */ && !isFunctionLikeOrClassStaticBlockDeclaration(blockScopeContainer)) {\n        const errorSpan = getErrorSpanForNode(file, node);\n        file.bindDiagnostics.push(createFileDiagnostic(\n          file,\n          errorSpan.start,\n          errorSpan.length,\n          getStrictModeBlockScopeFunctionDeclarationMessage(node)\n        ));\n      }\n    }\n  }\n  function checkStrictModeNumericLiteral(node) {\n    if (languageVersion < 1 /* ES5 */ && inStrictMode && node.numericLiteralFlags & 32 /* Octal */) {\n      file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Octal_literals_are_not_allowed_in_strict_mode));\n    }\n  }\n  function checkStrictModePostfixUnaryExpression(node) {\n    if (inStrictMode) {\n      checkStrictModeEvalOrArguments(node, node.operand);\n    }\n  }\n  function checkStrictModePrefixUnaryExpression(node) {\n    if (inStrictMode) {\n      if (node.operator === 45 /* PlusPlusToken */ || node.operator === 46 /* MinusMinusToken */) {\n        checkStrictModeEvalOrArguments(node, node.operand);\n      }\n    }\n  }\n  function checkStrictModeWithStatement(node) {\n    if (inStrictMode) {\n      errorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_strict_mode);\n    }\n  }\n  function checkStrictModeLabeledStatement(node) {\n    if (inStrictMode && getEmitScriptTarget(options) >= 2 /* ES2015 */) {\n      if (isDeclarationStatement(node.statement) || isVariableStatement(node.statement)) {\n        errorOnFirstToken(node.label, Diagnostics.A_label_is_not_allowed_here);\n      }\n    }\n  }\n  function errorOnFirstToken(node, message, arg0, arg1, arg2) {\n    const span = getSpanOfTokenAtPosition(file, node.pos);\n    file.bindDiagnostics.push(createFileDiagnostic(file, span.start, span.length, message, arg0, arg1, arg2));\n  }\n  function errorOrSuggestionOnNode(isError, node, message) {\n    errorOrSuggestionOnRange(isError, node, node, message);\n  }\n  function errorOrSuggestionOnRange(isError, startNode2, endNode2, message) {\n    addErrorOrSuggestionDiagnostic(isError, { pos: getTokenPosOfNode(startNode2, file), end: endNode2.end }, message);\n  }\n  function addErrorOrSuggestionDiagnostic(isError, range, message) {\n    const diag2 = createFileDiagnostic(file, range.pos, range.end - range.pos, message);\n    if (isError) {\n      file.bindDiagnostics.push(diag2);\n    } else {\n      file.bindSuggestionDiagnostics = append(file.bindSuggestionDiagnostics, { ...diag2, category: 2 /* Suggestion */ });\n    }\n  }\n  function bind(node) {\n    if (!node) {\n      return;\n    }\n    setParent(node, parent2);\n    if (tracing)\n      node.tracingPath = file.path;\n    const saveInStrictMode = inStrictMode;\n    bindWorker(node);\n    if (node.kind > 164 /* LastToken */) {\n      const saveParent = parent2;\n      parent2 = node;\n      const containerFlags = getContainerFlags(node);\n      if (containerFlags === 0 /* None */) {\n        bindChildren(node);\n      } else {\n        bindContainer(node, containerFlags);\n      }\n      parent2 = saveParent;\n    } else {\n      const saveParent = parent2;\n      if (node.kind === 1 /* EndOfFileToken */)\n        parent2 = node;\n      bindJSDoc(node);\n      parent2 = saveParent;\n    }\n    inStrictMode = saveInStrictMode;\n  }\n  function bindJSDoc(node) {\n    if (hasJSDocNodes(node)) {\n      if (isInJSFile(node)) {\n        for (const j of node.jsDoc) {\n          bind(j);\n        }\n      } else {\n        for (const j of node.jsDoc) {\n          setParent(j, node);\n          setParentRecursive(j, false);\n        }\n      }\n    }\n  }\n  function updateStrictModeStatementList(statements) {\n    if (!inStrictMode) {\n      for (const statement of statements) {\n        if (!isPrologueDirective(statement)) {\n          return;\n        }\n        if (isUseStrictPrologueDirective(statement)) {\n          inStrictMode = true;\n          return;\n        }\n      }\n    }\n  }\n  function isUseStrictPrologueDirective(node) {\n    const nodeText2 = getSourceTextOfNodeFromSourceFile(file, node.expression);\n    return nodeText2 === '\"use strict\"' || nodeText2 === \"'use strict'\";\n  }\n  function bindWorker(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        if (node.isInJSDocNamespace) {\n          let parentNode = node.parent;\n          while (parentNode && !isJSDocTypeAlias(parentNode)) {\n            parentNode = parentNode.parent;\n          }\n          bindBlockScopedDeclaration(parentNode, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */);\n          break;\n        }\n      case 109 /* ThisKeyword */:\n        if (currentFlow && (isExpression(node) || parent2.kind === 306 /* ShorthandPropertyAssignment */)) {\n          node.flowNode = currentFlow;\n        }\n        return checkContextualIdentifier(node);\n      case 165 /* QualifiedName */:\n        if (currentFlow && isPartOfTypeQuery(node)) {\n          node.flowNode = currentFlow;\n        }\n        break;\n      case 237 /* MetaProperty */:\n      case 107 /* SuperKeyword */:\n        node.flowNode = currentFlow;\n        break;\n      case 80 /* PrivateIdentifier */:\n        return checkPrivateIdentifier(node);\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        const expr = node;\n        if (currentFlow && isNarrowableReference(expr)) {\n          expr.flowNode = currentFlow;\n        }\n        if (isSpecialPropertyDeclaration(expr)) {\n          bindSpecialPropertyDeclaration(expr);\n        }\n        if (isInJSFile(expr) && file.commonJsModuleIndicator && isModuleExportsAccessExpression(expr) && !lookupSymbolForName(blockScopeContainer, \"module\")) {\n          declareSymbol(\n            file.locals,\n            void 0,\n            expr.expression,\n            1 /* FunctionScopedVariable */ | 134217728 /* ModuleExports */,\n            111550 /* FunctionScopedVariableExcludes */\n          );\n        }\n        break;\n      case 227 /* BinaryExpression */:\n        const specialKind = getAssignmentDeclarationKind(node);\n        switch (specialKind) {\n          case 1 /* ExportsProperty */:\n            bindExportsPropertyAssignment(node);\n            break;\n          case 2 /* ModuleExports */:\n            bindModuleExportsAssignment(node);\n            break;\n          case 3 /* PrototypeProperty */:\n            bindPrototypePropertyAssignment(node.left, node);\n            break;\n          case 6 /* Prototype */:\n            bindPrototypeAssignment(node);\n            break;\n          case 4 /* ThisProperty */:\n            bindThisPropertyAssignment(node);\n            break;\n          case 5 /* Property */:\n            const expression = node.left.expression;\n            if (isInJSFile(node) && isIdentifier(expression)) {\n              const symbol = lookupSymbolForName(blockScopeContainer, expression.escapedText);\n              if (isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration)) {\n                bindThisPropertyAssignment(node);\n                break;\n              }\n            }\n            bindSpecialPropertyAssignment(node);\n            break;\n          case 0 /* None */:\n            break;\n          default:\n            Debug.fail(\"Unknown binary expression special property assignment kind\");\n        }\n        return checkStrictModeBinaryExpression(node);\n      case 301 /* CatchClause */:\n        return checkStrictModeCatchClause(node);\n      case 221 /* DeleteExpression */:\n        return checkStrictModeDeleteExpression(node);\n      case 8 /* NumericLiteral */:\n        return checkStrictModeNumericLiteral(node);\n      case 226 /* PostfixUnaryExpression */:\n        return checkStrictModePostfixUnaryExpression(node);\n      case 225 /* PrefixUnaryExpression */:\n        return checkStrictModePrefixUnaryExpression(node);\n      case 255 /* WithStatement */:\n        return checkStrictModeWithStatement(node);\n      case 257 /* LabeledStatement */:\n        return checkStrictModeLabeledStatement(node);\n      case 197 /* ThisType */:\n        seenThisKeyword = true;\n        return;\n      case 182 /* TypePredicate */:\n        break;\n      case 167 /* TypeParameter */:\n        return bindTypeParameter(node);\n      case 168 /* Parameter */:\n        return bindParameter(node);\n      case 261 /* VariableDeclaration */:\n        return bindVariableDeclarationOrBindingElement(node);\n      case 208 /* BindingElement */:\n        node.flowNode = currentFlow;\n        return bindVariableDeclarationOrBindingElement(node);\n      case 171 /* PropertyDeclaration */:\n      case 172 /* AnnotationPropertyDeclaration */:\n      case 170 /* PropertySignature */:\n        return bindPropertyWorker(node);\n      case 305 /* PropertyAssignment */:\n      case 306 /* ShorthandPropertyAssignment */:\n        return bindPropertyOrMethodOrAccessor(node, 4 /* Property */, 0 /* PropertyExcludes */);\n      case 308 /* EnumMember */:\n        return bindPropertyOrMethodOrAccessor(node, 8 /* EnumMember */, 900095 /* EnumMemberExcludes */);\n      case 179 /* CallSignature */:\n      case 180 /* ConstructSignature */:\n      case 181 /* IndexSignature */:\n        return declareSymbolAndAddToSymbolTable(node, 131072 /* Signature */, 0 /* None */);\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        return bindPropertyOrMethodOrAccessor(\n          node,\n          8192 /* Method */ | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */),\n          isObjectLiteralMethod(node) ? 0 /* PropertyExcludes */ : 103359 /* MethodExcludes */\n        );\n      case 263 /* FunctionDeclaration */:\n        return bindFunctionDeclaration(node);\n      case 176 /* Constructor */:\n        return declareSymbolAndAddToSymbolTable(node, 16384 /* Constructor */, 0 /* None */);\n      case 177 /* GetAccessor */:\n        return bindPropertyOrMethodOrAccessor(node, 32768 /* GetAccessor */, 46015 /* GetAccessorExcludes */);\n      case 178 /* SetAccessor */:\n        return bindPropertyOrMethodOrAccessor(node, 65536 /* SetAccessor */, 78783 /* SetAccessorExcludes */);\n      case 184 /* FunctionType */:\n      case 326 /* JSDocFunctionType */:\n      case 332 /* JSDocSignature */:\n      case 185 /* ConstructorType */:\n        return bindFunctionOrConstructorType(node);\n      case 187 /* TypeLiteral */:\n      case 331 /* JSDocTypeLiteral */:\n      case 200 /* MappedType */:\n        return bindAnonymousTypeWorker(node);\n      case 341 /* JSDocClassTag */:\n        return bindJSDocClassTag(node);\n      case 210 /* ObjectLiteralExpression */:\n        return bindObjectLiteralExpression(node);\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        return bindFunctionExpression(node);\n      case 213 /* CallExpression */:\n        const assignmentKind = getAssignmentDeclarationKind(node);\n        switch (assignmentKind) {\n          case 7 /* ObjectDefinePropertyValue */:\n            return bindObjectDefinePropertyAssignment(node);\n          case 8 /* ObjectDefinePropertyExports */:\n            return bindObjectDefinePropertyExport(node);\n          case 9 /* ObjectDefinePrototypeProperty */:\n            return bindObjectDefinePrototypeProperty(node);\n          case 0 /* None */:\n            break;\n          default:\n            return Debug.fail(\"Unknown call expression assignment declaration kind\");\n        }\n        if (isInJSFile(node)) {\n          bindCallExpression(node);\n        }\n        break;\n      case 232 /* ClassExpression */:\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n        inStrictMode = true;\n        return bindClassLikeDeclaration(node);\n      case 266 /* AnnotationDeclaration */:\n        return bindAnnotationDeclaration(node);\n      case 267 /* InterfaceDeclaration */:\n        return bindBlockScopedDeclaration(node, 64 /* Interface */, 788872 /* InterfaceExcludes */);\n      case 268 /* TypeAliasDeclaration */:\n        return bindBlockScopedDeclaration(node, 524288 /* TypeAlias */, 788968 /* TypeAliasExcludes */);\n      case 269 /* EnumDeclaration */:\n        return bindEnumDeclaration(node);\n      case 270 /* ModuleDeclaration */:\n        return bindModuleDeclaration(node);\n      case 295 /* JsxAttributes */:\n        return bindJsxAttributes(node);\n      case 294 /* JsxAttribute */:\n        return bindJsxAttribute(node, 4 /* Property */, 0 /* PropertyExcludes */);\n      case 274 /* ImportEqualsDeclaration */:\n      case 277 /* NamespaceImport */:\n      case 279 /* ImportSpecifier */:\n      case 284 /* ExportSpecifier */:\n        return declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */);\n      case 273 /* NamespaceExportDeclaration */:\n        return bindNamespaceExportDeclaration(node);\n      case 276 /* ImportClause */:\n        return bindImportClause(node);\n      case 281 /* ExportDeclaration */:\n        return bindExportDeclaration(node);\n      case 280 /* ExportAssignment */:\n        return bindExportAssignment(node);\n      case 314 /* SourceFile */:\n        updateStrictModeStatementList(node.statements);\n        return bindSourceFileIfExternalModule();\n      case 242 /* Block */:\n        if (!isFunctionLikeOrClassStaticBlockDeclaration(node.parent)) {\n          return;\n        }\n      case 271 /* ModuleBlock */:\n        return updateStrictModeStatementList(node.statements);\n      case 349 /* JSDocParameterTag */:\n        if (node.parent.kind === 332 /* JSDocSignature */) {\n          return bindParameter(node);\n        }\n        if (node.parent.kind !== 331 /* JSDocTypeLiteral */) {\n          break;\n        }\n      case 356 /* JSDocPropertyTag */:\n        const propTag = node;\n        const flags = propTag.isBracketed || propTag.typeExpression && propTag.typeExpression.type.kind === 325 /* JSDocOptionalType */ ? 4 /* Property */ | 16777216 /* Optional */ : 4 /* Property */;\n        return declareSymbolAndAddToSymbolTable(propTag, flags, 0 /* PropertyExcludes */);\n      case 354 /* JSDocTypedefTag */:\n      case 347 /* JSDocCallbackTag */:\n      case 348 /* JSDocEnumTag */:\n        return (delayedTypeAliases || (delayedTypeAliases = [])).push(node);\n    }\n  }\n  function bindPropertyWorker(node) {\n    const isAutoAccessor = isAutoAccessorPropertyDeclaration(node);\n    const includes = isAutoAccessor ? 98304 /* Accessor */ : 4 /* Property */;\n    const excludes = isAutoAccessor ? 13247 /* AccessorExcludes */ : 0 /* PropertyExcludes */;\n    const isOptional = !isAnnotationPropertyDeclaration(node) && node.questionToken ? 16777216 /* Optional */ : 0 /* None */;\n    const annotationPropHasDefaultValue = isAnnotationPropertyDeclaration(node) && node.initializer !== void 0 ? 16777216 /* Optional */ : 0 /* None */;\n    return bindPropertyOrMethodOrAccessor(node, includes | isOptional | annotationPropHasDefaultValue, excludes);\n  }\n  function bindAnonymousTypeWorker(node) {\n    return bindAnonymousDeclaration(node, 2048 /* TypeLiteral */, \"__type\" /* Type */);\n  }\n  function bindSourceFileIfExternalModule() {\n    setExportContextFlag(file);\n    if (isExternalModule(file)) {\n      bindSourceFileAsExternalModule();\n    } else if (isJsonSourceFile(file)) {\n      bindSourceFileAsExternalModule();\n      const originalSymbol = file.symbol;\n      declareSymbol(file.symbol.exports, file.symbol, file, 4 /* Property */, 67108863 /* All */);\n      file.symbol = originalSymbol;\n    }\n  }\n  function bindSourceFileAsExternalModule() {\n    bindAnonymousDeclaration(file, 512 /* ValueModule */, `\"${removeFileExtension(file.fileName)}\"`);\n  }\n  function bindExportAssignment(node) {\n    if (!container.symbol || !container.symbol.exports) {\n      bindAnonymousDeclaration(node, 111551 /* Value */, getDeclarationName(node));\n    } else {\n      const flags = exportAssignmentIsAlias(node) ? 2097152 /* Alias */ : 4 /* Property */;\n      const symbol = declareSymbol(container.symbol.exports, container.symbol, node, flags, 67108863 /* All */);\n      if (node.isExportEquals) {\n        setValueDeclaration(symbol, node);\n      }\n    }\n  }\n  function bindNamespaceExportDeclaration(node) {\n    if (some(node.modifiers)) {\n      file.bindDiagnostics.push(createDiagnosticForNode2(node, Diagnostics.Modifiers_cannot_appear_here));\n    }\n    const diag2 = !isSourceFile(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_at_top_level : !isExternalModule(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_in_module_files : !node.parent.isDeclarationFile ? Diagnostics.Global_module_exports_may_only_appear_in_declaration_files : void 0;\n    if (diag2) {\n      file.bindDiagnostics.push(createDiagnosticForNode2(node, diag2));\n    } else {\n      file.symbol.globalExports = file.symbol.globalExports || createSymbolTable();\n      declareSymbol(file.symbol.globalExports, file.symbol, node, 2097152 /* Alias */, 2097152 /* AliasExcludes */);\n    }\n  }\n  function bindExportDeclaration(node) {\n    if (!container.symbol || !container.symbol.exports) {\n      bindAnonymousDeclaration(node, 8388608 /* ExportStar */, getDeclarationName(node));\n    } else if (!node.exportClause) {\n      declareSymbol(container.symbol.exports, container.symbol, node, 8388608 /* ExportStar */, 0 /* None */);\n    } else if (isNamespaceExport(node.exportClause)) {\n      setParent(node.exportClause, node);\n      declareSymbol(container.symbol.exports, container.symbol, node.exportClause, 2097152 /* Alias */, 2097152 /* AliasExcludes */);\n    }\n  }\n  function bindImportClause(node) {\n    if (node.name) {\n      declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */);\n    }\n  }\n  function setCommonJsModuleIndicator(node) {\n    if (file.externalModuleIndicator && file.externalModuleIndicator !== true) {\n      return false;\n    }\n    if (!file.commonJsModuleIndicator) {\n      file.commonJsModuleIndicator = node;\n      if (!file.externalModuleIndicator) {\n        bindSourceFileAsExternalModule();\n      }\n    }\n    return true;\n  }\n  function bindObjectDefinePropertyExport(node) {\n    if (!setCommonJsModuleIndicator(node)) {\n      return;\n    }\n    const symbol = forEachIdentifierInEntityName(node.arguments[0], void 0, (id, symbol2) => {\n      if (symbol2) {\n        addDeclarationToSymbol(symbol2, id, 1536 /* Module */ | 67108864 /* Assignment */);\n      }\n      return symbol2;\n    });\n    if (symbol) {\n      const flags = 4 /* Property */ | 1048576 /* ExportValue */;\n      declareSymbol(symbol.exports, symbol, node, flags, 0 /* None */);\n    }\n  }\n  function bindExportsPropertyAssignment(node) {\n    if (!setCommonJsModuleIndicator(node)) {\n      return;\n    }\n    const symbol = forEachIdentifierInEntityName(node.left.expression, void 0, (id, symbol2) => {\n      if (symbol2) {\n        addDeclarationToSymbol(symbol2, id, 1536 /* Module */ | 67108864 /* Assignment */);\n      }\n      return symbol2;\n    });\n    if (symbol) {\n      const isAlias = isAliasableExpression(node.right) && (isExportsIdentifier(node.left.expression) || isModuleExportsAccessExpression(node.left.expression));\n      const flags = isAlias ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */;\n      setParent(node.left, node);\n      declareSymbol(symbol.exports, symbol, node.left, flags, 0 /* None */);\n    }\n  }\n  function bindModuleExportsAssignment(node) {\n    if (!setCommonJsModuleIndicator(node)) {\n      return;\n    }\n    const assignedExpression = getRightMostAssignedExpression(node.right);\n    if (isEmptyObjectLiteral(assignedExpression) || container === file && isExportsOrModuleExportsOrAlias(file, assignedExpression)) {\n      return;\n    }\n    if (isObjectLiteralExpression(assignedExpression) && every(assignedExpression.properties, isShorthandPropertyAssignment)) {\n      forEach(assignedExpression.properties, bindExportAssignedObjectMemberAlias);\n      return;\n    }\n    const flags = exportAssignmentIsAlias(node) ? 2097152 /* Alias */ : 4 /* Property */ | 1048576 /* ExportValue */ | 512 /* ValueModule */;\n    const symbol = declareSymbol(file.symbol.exports, file.symbol, node, flags | 67108864 /* Assignment */, 0 /* None */);\n    setValueDeclaration(symbol, node);\n  }\n  function bindExportAssignedObjectMemberAlias(node) {\n    declareSymbol(file.symbol.exports, file.symbol, node, 2097152 /* Alias */ | 67108864 /* Assignment */, 0 /* None */);\n  }\n  function bindThisPropertyAssignment(node) {\n    Debug.assert(isInJSFile(node));\n    const hasPrivateIdentifier = isBinaryExpression(node) && isPropertyAccessExpression(node.left) && isPrivateIdentifier(node.left.name) || isPropertyAccessExpression(node) && isPrivateIdentifier(node.name);\n    if (hasPrivateIdentifier) {\n      return;\n    }\n    const thisContainer = getThisContainer(node, false);\n    switch (thisContainer.kind) {\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n        let constructorSymbol = thisContainer.symbol;\n        if (isBinaryExpression(thisContainer.parent) && thisContainer.parent.operatorToken.kind === 63 /* EqualsToken */) {\n          const l = thisContainer.parent.left;\n          if (isBindableStaticAccessExpression(l) && isPrototypeAccess(l.expression)) {\n            constructorSymbol = lookupSymbolForPropertyAccess(l.expression.expression, thisParentContainer);\n          }\n        }\n        if (constructorSymbol && constructorSymbol.valueDeclaration) {\n          constructorSymbol.members = constructorSymbol.members || createSymbolTable();\n          if (hasDynamicName(node)) {\n            bindDynamicallyNamedThisPropertyAssignment(node, constructorSymbol, constructorSymbol.members);\n          } else {\n            declareSymbol(constructorSymbol.members, constructorSymbol, node, 4 /* Property */ | 67108864 /* Assignment */, 0 /* PropertyExcludes */ & ~4 /* Property */);\n          }\n          addDeclarationToSymbol(constructorSymbol, constructorSymbol.valueDeclaration, 32 /* Class */);\n        }\n        break;\n      case 176 /* Constructor */:\n      case 171 /* PropertyDeclaration */:\n      case 172 /* AnnotationPropertyDeclaration */:\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 175 /* ClassStaticBlockDeclaration */:\n        const containingClass = thisContainer.parent;\n        const symbolTable = isStatic(thisContainer) ? containingClass.symbol.exports : containingClass.symbol.members;\n        if (hasDynamicName(node)) {\n          bindDynamicallyNamedThisPropertyAssignment(node, containingClass.symbol, symbolTable);\n        } else {\n          declareSymbol(symbolTable, containingClass.symbol, node, 4 /* Property */ | 67108864 /* Assignment */, 0 /* None */, true);\n        }\n        break;\n      case 314 /* SourceFile */:\n        if (hasDynamicName(node)) {\n          break;\n        } else if (thisContainer.commonJsModuleIndicator) {\n          declareSymbol(thisContainer.symbol.exports, thisContainer.symbol, node, 4 /* Property */ | 1048576 /* ExportValue */, 0 /* None */);\n        } else {\n          declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */);\n        }\n        break;\n      default:\n        Debug.failBadSyntaxKind(thisContainer);\n    }\n  }\n  function bindDynamicallyNamedThisPropertyAssignment(node, symbol, symbolTable) {\n    declareSymbol(symbolTable, symbol, node, 4 /* Property */, 0 /* None */, true, true);\n    addLateBoundAssignmentDeclarationToSymbol(node, symbol);\n  }\n  function addLateBoundAssignmentDeclarationToSymbol(node, symbol) {\n    if (symbol) {\n      (symbol.assignmentDeclarationMembers || (symbol.assignmentDeclarationMembers = new Map2())).set(getNodeId(node), node);\n    }\n  }\n  function bindSpecialPropertyDeclaration(node) {\n    if (node.expression.kind === 109 /* ThisKeyword */) {\n      bindThisPropertyAssignment(node);\n    } else if (isBindableStaticAccessExpression(node) && node.parent.parent.kind === 314 /* SourceFile */) {\n      if (isPrototypeAccess(node.expression)) {\n        bindPrototypePropertyAssignment(node, node.parent);\n      } else {\n        bindStaticPropertyAssignment(node);\n      }\n    }\n  }\n  function bindPrototypeAssignment(node) {\n    setParent(node.left, node);\n    setParent(node.right, node);\n    bindPropertyAssignment(node.left.expression, node.left, false, true);\n  }\n  function bindObjectDefinePrototypeProperty(node) {\n    const namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0].expression);\n    if (namespaceSymbol && namespaceSymbol.valueDeclaration) {\n      addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, 32 /* Class */);\n    }\n    bindPotentiallyNewExpandoMemberToNamespace(node, namespaceSymbol, true);\n  }\n  function bindPrototypePropertyAssignment(lhs, parent3) {\n    const classPrototype = lhs.expression;\n    const constructorFunction = classPrototype.expression;\n    setParent(constructorFunction, classPrototype);\n    setParent(classPrototype, lhs);\n    setParent(lhs, parent3);\n    bindPropertyAssignment(constructorFunction, lhs, true, true);\n  }\n  function bindObjectDefinePropertyAssignment(node) {\n    let namespaceSymbol = lookupSymbolForPropertyAccess(node.arguments[0]);\n    const isToplevel = node.parent.parent.kind === 314 /* SourceFile */;\n    namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, node.arguments[0], isToplevel, false, false);\n    bindPotentiallyNewExpandoMemberToNamespace(node, namespaceSymbol, false);\n  }\n  function bindSpecialPropertyAssignment(node) {\n    var _a2;\n    const parentSymbol = lookupSymbolForPropertyAccess(node.left.expression, container) || lookupSymbolForPropertyAccess(node.left.expression, blockScopeContainer);\n    if (!isInJSFile(node) && !isFunctionSymbol(parentSymbol)) {\n      return;\n    }\n    const rootExpr = getLeftmostAccessExpression(node.left);\n    if (isIdentifier(rootExpr) && ((_a2 = lookupSymbolForName(container, rootExpr.escapedText)) == null ? void 0 : _a2.flags) & 2097152 /* Alias */) {\n      return;\n    }\n    setParent(node.left, node);\n    setParent(node.right, node);\n    if (isIdentifier(node.left.expression) && container === file && isExportsOrModuleExportsOrAlias(file, node.left.expression)) {\n      bindExportsPropertyAssignment(node);\n    } else if (hasDynamicName(node)) {\n      bindAnonymousDeclaration(node, 4 /* Property */ | 67108864 /* Assignment */, \"__computed\" /* Computed */);\n      const sym = bindPotentiallyMissingNamespaces(parentSymbol, node.left.expression, isTopLevelNamespaceAssignment(node.left), false, false);\n      addLateBoundAssignmentDeclarationToSymbol(node, sym);\n    } else {\n      bindStaticPropertyAssignment(cast(node.left, isBindableStaticNameExpression));\n    }\n  }\n  function bindStaticPropertyAssignment(node) {\n    Debug.assert(!isIdentifier(node));\n    setParent(node.expression, node);\n    bindPropertyAssignment(node.expression, node, false, false);\n  }\n  function bindPotentiallyMissingNamespaces(namespaceSymbol, entityName, isToplevel, isPrototypeProperty, containerIsClass) {\n    if ((namespaceSymbol == null ? void 0 : namespaceSymbol.flags) & 2097152 /* Alias */) {\n      return namespaceSymbol;\n    }\n    if (isToplevel && !isPrototypeProperty) {\n      const flags = 1536 /* Module */ | 67108864 /* Assignment */;\n      const excludeFlags = 110735 /* ValueModuleExcludes */ & ~67108864 /* Assignment */;\n      namespaceSymbol = forEachIdentifierInEntityName(entityName, namespaceSymbol, (id, symbol, parent3) => {\n        if (symbol) {\n          addDeclarationToSymbol(symbol, id, flags);\n          return symbol;\n        } else {\n          const table = parent3 ? parent3.exports : file.jsGlobalAugmentations || (file.jsGlobalAugmentations = createSymbolTable());\n          return declareSymbol(table, parent3, id, flags, excludeFlags);\n        }\n      });\n    }\n    if (containerIsClass && namespaceSymbol && namespaceSymbol.valueDeclaration) {\n      addDeclarationToSymbol(namespaceSymbol, namespaceSymbol.valueDeclaration, 32 /* Class */);\n    }\n    return namespaceSymbol;\n  }\n  function bindPotentiallyNewExpandoMemberToNamespace(declaration, namespaceSymbol, isPrototypeProperty) {\n    if (!namespaceSymbol || !isExpandoSymbol(namespaceSymbol)) {\n      return;\n    }\n    const symbolTable = isPrototypeProperty ? namespaceSymbol.members || (namespaceSymbol.members = createSymbolTable()) : namespaceSymbol.exports || (namespaceSymbol.exports = createSymbolTable());\n    let includes = 0 /* None */;\n    let excludes = 0 /* None */;\n    if (isFunctionLikeDeclaration(getAssignedExpandoInitializer(declaration))) {\n      includes = 8192 /* Method */;\n      excludes = 103359 /* MethodExcludes */;\n    } else if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) {\n      if (some(declaration.arguments[2].properties, (p) => {\n        const id = getNameOfDeclaration(p);\n        return !!id && isIdentifier(id) && idText(id) === \"set\";\n      })) {\n        includes |= 65536 /* SetAccessor */ | 4 /* Property */;\n        excludes |= 78783 /* SetAccessorExcludes */;\n      }\n      if (some(declaration.arguments[2].properties, (p) => {\n        const id = getNameOfDeclaration(p);\n        return !!id && isIdentifier(id) && idText(id) === \"get\";\n      })) {\n        includes |= 32768 /* GetAccessor */ | 4 /* Property */;\n        excludes |= 46015 /* GetAccessorExcludes */;\n      }\n    }\n    if (includes === 0 /* None */) {\n      includes = 4 /* Property */;\n      excludes = 0 /* PropertyExcludes */;\n    }\n    declareSymbol(symbolTable, namespaceSymbol, declaration, includes | 67108864 /* Assignment */, excludes & ~67108864 /* Assignment */);\n  }\n  function isTopLevelNamespaceAssignment(propertyAccess) {\n    return isBinaryExpression(propertyAccess.parent) ? getParentOfBinaryExpression(propertyAccess.parent).parent.kind === 314 /* SourceFile */ : propertyAccess.parent.parent.kind === 314 /* SourceFile */;\n  }\n  function bindPropertyAssignment(name, propertyAccess, isPrototypeProperty, containerIsClass) {\n    let namespaceSymbol = lookupSymbolForPropertyAccess(name, container) || lookupSymbolForPropertyAccess(name, blockScopeContainer);\n    const isToplevel = isTopLevelNamespaceAssignment(propertyAccess);\n    namespaceSymbol = bindPotentiallyMissingNamespaces(namespaceSymbol, propertyAccess.expression, isToplevel, isPrototypeProperty, containerIsClass);\n    bindPotentiallyNewExpandoMemberToNamespace(propertyAccess, namespaceSymbol, isPrototypeProperty);\n  }\n  function isExpandoSymbol(symbol) {\n    if (symbol.flags & (16 /* Function */ | 32 /* Class */ | 1024 /* NamespaceModule */)) {\n      return true;\n    }\n    const node = symbol.valueDeclaration;\n    if (node && isCallExpression(node)) {\n      return !!getAssignedExpandoInitializer(node);\n    }\n    let init = !node ? void 0 : isVariableDeclaration(node) ? node.initializer : isBinaryExpression(node) ? node.right : isPropertyAccessExpression(node) && isBinaryExpression(node.parent) ? node.parent.right : void 0;\n    init = init && getRightMostAssignedExpression(init);\n    if (init) {\n      const isPrototypeAssignment = isPrototypeAccess(isVariableDeclaration(node) ? node.name : isBinaryExpression(node) ? node.left : node);\n      return !!getExpandoInitializer(isBinaryExpression(init) && (init.operatorToken.kind === 56 /* BarBarToken */ || init.operatorToken.kind === 60 /* QuestionQuestionToken */) ? init.right : init, isPrototypeAssignment);\n    }\n    return false;\n  }\n  function getParentOfBinaryExpression(expr) {\n    while (isBinaryExpression(expr.parent)) {\n      expr = expr.parent;\n    }\n    return expr.parent;\n  }\n  function lookupSymbolForPropertyAccess(node, lookupContainer = container) {\n    if (isIdentifier(node)) {\n      return lookupSymbolForName(lookupContainer, node.escapedText);\n    } else {\n      const symbol = lookupSymbolForPropertyAccess(node.expression);\n      return symbol && symbol.exports && symbol.exports.get(getElementOrPropertyAccessName(node));\n    }\n  }\n  function forEachIdentifierInEntityName(e, parent3, action) {\n    if (isExportsOrModuleExportsOrAlias(file, e)) {\n      return file.symbol;\n    } else if (isIdentifier(e)) {\n      return action(e, lookupSymbolForPropertyAccess(e), parent3);\n    } else {\n      const s = forEachIdentifierInEntityName(e.expression, parent3, action);\n      const name = getNameOrArgument(e);\n      if (isPrivateIdentifier(name)) {\n        Debug.fail(\"unexpected PrivateIdentifier\");\n      }\n      return action(name, s && s.exports && s.exports.get(getElementOrPropertyAccessName(e)), s);\n    }\n  }\n  function bindCallExpression(node) {\n    if (!file.commonJsModuleIndicator && isRequireCall(node, false)) {\n      setCommonJsModuleIndicator(node);\n    }\n  }\n  function bindClassLikeDeclaration(node) {\n    if (node.kind === 264 /* ClassDeclaration */ || node.kind === 265 /* StructDeclaration */) {\n      bindBlockScopedDeclaration(node, 32 /* Class */, 899503 /* ClassExcludes */);\n    } else {\n      const bindingName = node.name ? node.name.escapedText : \"__class\" /* Class */;\n      bindAnonymousDeclaration(node, 32 /* Class */, bindingName);\n      if (node.name) {\n        classifiableNames.add(node.name.escapedText);\n      }\n    }\n    const { symbol } = node;\n    const prototypeSymbol = createSymbol(4 /* Property */ | 4194304 /* Prototype */, \"prototype\");\n    const symbolExport = symbol.exports.get(prototypeSymbol.escapedName);\n    if (symbolExport) {\n      if (node.name) {\n        setParent(node.name, node);\n      }\n      file.bindDiagnostics.push(createDiagnosticForNode2(symbolExport.declarations[0], Diagnostics.Duplicate_identifier_0, symbolName(prototypeSymbol)));\n    }\n    symbol.exports.set(prototypeSymbol.escapedName, prototypeSymbol);\n    prototypeSymbol.parent = symbol;\n  }\n  function bindAnnotationDeclaration(node) {\n    Debug.assert(node.kind === 266 /* AnnotationDeclaration */);\n    bindBlockScopedDeclaration(node, 32 /* Class */ | 268435456 /* Annotation */, 899503 /* ClassExcludes */);\n    const { symbol } = node;\n    const prototypeSymbol = createSymbol(4 /* Property */ | 4194304 /* Prototype */, \"prototype\");\n    const symbolExport = symbol.exports.get(prototypeSymbol.escapedName);\n    if (symbolExport) {\n      if (node.name) {\n        setParent(node.name, node);\n      }\n      file.bindDiagnostics.push(createDiagnosticForNode2(symbolExport.declarations[0], Diagnostics.Duplicate_identifier_0, symbolName(prototypeSymbol)));\n    }\n    symbol.exports.set(prototypeSymbol.escapedName, prototypeSymbol);\n    prototypeSymbol.parent = symbol;\n  }\n  function bindEnumDeclaration(node) {\n    return isEnumConst(node) ? bindBlockScopedDeclaration(node, 128 /* ConstEnum */, 899967 /* ConstEnumExcludes */) : bindBlockScopedDeclaration(node, 256 /* RegularEnum */, 899327 /* RegularEnumExcludes */);\n  }\n  function bindVariableDeclarationOrBindingElement(node) {\n    if (inStrictMode) {\n      checkStrictModeEvalOrArguments(node, node.name);\n    }\n    if (!isBindingPattern(node.name)) {\n      const possibleVariableDecl = node.kind === 261 /* VariableDeclaration */ ? node : node.parent.parent;\n      if (isInJSFile(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(possibleVariableDecl) && !getJSDocTypeTag(node) && !(getCombinedModifierFlags(node) & 1 /* Export */)) {\n        declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */);\n      } else if (isBlockOrCatchScoped(node)) {\n        bindBlockScopedDeclaration(node, 2 /* BlockScopedVariable */, 111551 /* BlockScopedVariableExcludes */);\n      } else if (isParameterDeclaration(node)) {\n        declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111551 /* ParameterExcludes */);\n      } else {\n        declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111550 /* FunctionScopedVariableExcludes */);\n      }\n    }\n  }\n  function bindParameter(node) {\n    if (node.kind === 349 /* JSDocParameterTag */ && container.kind !== 332 /* JSDocSignature */) {\n      return;\n    }\n    if (inStrictMode && !(node.flags & 16777216 /* Ambient */)) {\n      checkStrictModeEvalOrArguments(node, node.name);\n    }\n    if (isBindingPattern(node.name)) {\n      bindAnonymousDeclaration(node, 1 /* FunctionScopedVariable */, \"__\" + node.parent.parameters.indexOf(node));\n    } else {\n      declareSymbolAndAddToSymbolTable(node, 1 /* FunctionScopedVariable */, 111551 /* ParameterExcludes */);\n    }\n    if (isParameterPropertyDeclaration(node, node.parent)) {\n      const classDeclaration = node.parent.parent;\n      declareSymbol(classDeclaration.symbol.members, classDeclaration.symbol, node, 4 /* Property */ | (node.questionToken ? 16777216 /* Optional */ : 0 /* None */), 0 /* PropertyExcludes */);\n    }\n  }\n  function bindFunctionDeclaration(node) {\n    if (!file.isDeclarationFile && !(node.flags & 16777216 /* Ambient */)) {\n      if (isAsyncFunction(node)) {\n        emitFlags |= 2048 /* HasAsyncFunctions */;\n      }\n    }\n    checkStrictModeFunctionName(node);\n    if (inStrictMode) {\n      checkStrictModeFunctionDeclaration(node);\n      bindBlockScopedDeclaration(node, 16 /* Function */, 110991 /* FunctionExcludes */);\n    } else {\n      declareSymbolAndAddToSymbolTable(node, 16 /* Function */, 110991 /* FunctionExcludes */);\n    }\n  }\n  function bindFunctionExpression(node) {\n    if (!file.isDeclarationFile && !(node.flags & 16777216 /* Ambient */)) {\n      if (isAsyncFunction(node)) {\n        emitFlags |= 2048 /* HasAsyncFunctions */;\n      }\n    }\n    if (currentFlow) {\n      node.flowNode = currentFlow;\n    }\n    checkStrictModeFunctionName(node);\n    const bindingName = node.name ? node.name.escapedText : \"__function\" /* Function */;\n    return bindAnonymousDeclaration(node, 16 /* Function */, bindingName);\n  }\n  function bindPropertyOrMethodOrAccessor(node, symbolFlags, symbolExcludes) {\n    if (!file.isDeclarationFile && !(node.flags & 16777216 /* Ambient */) && isAsyncFunction(node)) {\n      emitFlags |= 2048 /* HasAsyncFunctions */;\n    }\n    if (currentFlow && isObjectLiteralOrClassExpressionMethodOrAccessor(node)) {\n      node.flowNode = currentFlow;\n    }\n    return hasDynamicName(node) ? bindAnonymousDeclaration(node, symbolFlags, \"__computed\" /* Computed */) : declareSymbolAndAddToSymbolTable(node, symbolFlags, symbolExcludes);\n  }\n  function getInferTypeContainer(node) {\n    const extendsType = findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && n.parent.extendsType === n);\n    return extendsType && extendsType.parent;\n  }\n  function bindTypeParameter(node) {\n    if (isJSDocTemplateTag(node.parent)) {\n      const container2 = getEffectiveContainerForJSDocTemplateTag(node.parent);\n      if (container2) {\n        if (!container2.locals) {\n          container2.locals = createSymbolTable();\n        }\n        declareSymbol(container2.locals, void 0, node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */);\n      } else {\n        declareSymbolAndAddToSymbolTable(node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */);\n      }\n    } else if (node.parent.kind === 195 /* InferType */) {\n      const container2 = getInferTypeContainer(node.parent);\n      if (container2) {\n        if (!container2.locals) {\n          container2.locals = createSymbolTable();\n        }\n        declareSymbol(container2.locals, void 0, node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */);\n      } else {\n        bindAnonymousDeclaration(node, 262144 /* TypeParameter */, getDeclarationName(node));\n      }\n    } else {\n      declareSymbolAndAddToSymbolTable(node, 262144 /* TypeParameter */, 526824 /* TypeParameterExcludes */);\n    }\n  }\n  function shouldReportErrorOnModuleDeclaration(node) {\n    const instanceState = getModuleInstanceState(node);\n    return instanceState === 1 /* Instantiated */ || instanceState === 2 /* ConstEnumOnly */ && shouldPreserveConstEnums(options);\n  }\n  function checkUnreachable(node) {\n    if (!(currentFlow.flags & 1 /* Unreachable */)) {\n      return false;\n    }\n    if (currentFlow === unreachableFlow) {\n      const reportError = isStatementButNotDeclaration(node) && node.kind !== 243 /* EmptyStatement */ || node.kind === 264 /* ClassDeclaration */ || node.kind === 270 /* ModuleDeclaration */ && shouldReportErrorOnModuleDeclaration(node);\n      if (reportError) {\n        currentFlow = reportedUnreachableFlow;\n        if (!options.allowUnreachableCode) {\n          const isError = unreachableCodeIsError(options) && !(node.flags & 16777216 /* Ambient */) && (!isVariableStatement(node) || !!(getCombinedNodeFlags(node.declarationList) & 3 /* BlockScoped */) || node.declarationList.declarations.some((d) => !!d.initializer));\n          eachUnreachableRange(node, (start, end) => errorOrSuggestionOnRange(isError, start, end, Diagnostics.Unreachable_code_detected));\n        }\n      }\n    }\n    return true;\n  }\n}\nfunction eachUnreachableRange(node, cb) {\n  if (isStatement(node) && isExecutableStatement(node) && isBlock(node.parent)) {\n    const { statements } = node.parent;\n    const slice = sliceAfter(statements, node);\n    getRangesWhere(slice, isExecutableStatement, (start, afterEnd) => cb(slice[start], slice[afterEnd - 1]));\n  } else {\n    cb(node, node);\n  }\n}\nfunction isExecutableStatement(s) {\n  return !isFunctionDeclaration(s) && !isPurelyTypeDeclaration(s) && !isEnumDeclaration(s) && !(isVariableStatement(s) && !(getCombinedNodeFlags(s) & (1 /* Let */ | 2 /* Const */)) && s.declarationList.declarations.some((d) => !d.initializer));\n}\nfunction isPurelyTypeDeclaration(s) {\n  switch (s.kind) {\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n      return true;\n    case 270 /* ModuleDeclaration */:\n      return getModuleInstanceState(s) !== 1 /* Instantiated */;\n    case 269 /* EnumDeclaration */:\n      return hasSyntacticModifier(s, 2048 /* Const */);\n    default:\n      return false;\n  }\n}\nfunction isExportsOrModuleExportsOrAlias(sourceFile, node) {\n  let i = 0;\n  const q = createQueue();\n  q.enqueue(node);\n  while (!q.isEmpty() && i < 100) {\n    i++;\n    node = q.dequeue();\n    if (isExportsIdentifier(node) || isModuleExportsAccessExpression(node)) {\n      return true;\n    } else if (isIdentifier(node)) {\n      const symbol = lookupSymbolForName(sourceFile, node.escapedText);\n      if (!!symbol && !!symbol.valueDeclaration && isVariableDeclaration(symbol.valueDeclaration) && !!symbol.valueDeclaration.initializer) {\n        const init = symbol.valueDeclaration.initializer;\n        q.enqueue(init);\n        if (isAssignmentExpression(init, true)) {\n          q.enqueue(init.left);\n          q.enqueue(init.right);\n        }\n      }\n    }\n  }\n  return false;\n}\nfunction lookupSymbolForName(container, name) {\n  const local = container.locals && container.locals.get(name);\n  if (local) {\n    return local.exportSymbol || local;\n  }\n  if (isSourceFile(container) && container.jsGlobalAugmentations && container.jsGlobalAugmentations.has(name)) {\n    return container.jsGlobalAugmentations.get(name);\n  }\n  return container.symbol && container.symbol.exports && container.symbol.exports.get(name);\n}\n\n// src/compiler/symbolWalker.ts\nfunction createGetSymbolWalker(getRestTypeOfSignature, getTypePredicateOfSignature, getReturnTypeOfSignature, getBaseTypes, resolveStructuredTypeMembers, getTypeOfSymbol, getResolvedSymbol, getConstraintOfTypeParameter, getFirstIdentifier2, getTypeArguments) {\n  return getSymbolWalker;\n  function getSymbolWalker(accept = () => true) {\n    const visitedTypes = [];\n    const visitedSymbols = [];\n    return {\n      walkType: (type) => {\n        try {\n          visitType(type);\n          return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) };\n        } finally {\n          clear(visitedTypes);\n          clear(visitedSymbols);\n        }\n      },\n      walkSymbol: (symbol) => {\n        try {\n          visitSymbol(symbol);\n          return { visitedTypes: getOwnValues(visitedTypes), visitedSymbols: getOwnValues(visitedSymbols) };\n        } finally {\n          clear(visitedTypes);\n          clear(visitedSymbols);\n        }\n      }\n    };\n    function visitType(type) {\n      if (!type) {\n        return;\n      }\n      if (visitedTypes[type.id]) {\n        return;\n      }\n      visitedTypes[type.id] = type;\n      const shouldBail = visitSymbol(type.symbol);\n      if (shouldBail)\n        return;\n      if (type.flags & 524288 /* Object */) {\n        const objectType = type;\n        const objectFlags = objectType.objectFlags;\n        if (objectFlags & 4 /* Reference */) {\n          visitTypeReference(type);\n        }\n        if (objectFlags & 32 /* Mapped */) {\n          visitMappedType(type);\n        }\n        if (objectFlags & (1 /* Class */ | 2 /* Interface */)) {\n          visitInterfaceType(type);\n        }\n        if (objectFlags & (8 /* Tuple */ | 16 /* Anonymous */)) {\n          visitObjectType(objectType);\n        }\n      }\n      if (type.flags & 262144 /* TypeParameter */) {\n        visitTypeParameter(type);\n      }\n      if (type.flags & 3145728 /* UnionOrIntersection */) {\n        visitUnionOrIntersectionType(type);\n      }\n      if (type.flags & 4194304 /* Index */) {\n        visitIndexType(type);\n      }\n      if (type.flags & 8388608 /* IndexedAccess */) {\n        visitIndexedAccessType(type);\n      }\n    }\n    function visitTypeReference(type) {\n      visitType(type.target);\n      forEach(getTypeArguments(type), visitType);\n    }\n    function visitTypeParameter(type) {\n      visitType(getConstraintOfTypeParameter(type));\n    }\n    function visitUnionOrIntersectionType(type) {\n      forEach(type.types, visitType);\n    }\n    function visitIndexType(type) {\n      visitType(type.type);\n    }\n    function visitIndexedAccessType(type) {\n      visitType(type.objectType);\n      visitType(type.indexType);\n      visitType(type.constraint);\n    }\n    function visitMappedType(type) {\n      visitType(type.typeParameter);\n      visitType(type.constraintType);\n      visitType(type.templateType);\n      visitType(type.modifiersType);\n    }\n    function visitSignature(signature) {\n      const typePredicate = getTypePredicateOfSignature(signature);\n      if (typePredicate) {\n        visitType(typePredicate.type);\n      }\n      forEach(signature.typeParameters, visitType);\n      for (const parameter of signature.parameters) {\n        visitSymbol(parameter);\n      }\n      visitType(getRestTypeOfSignature(signature));\n      visitType(getReturnTypeOfSignature(signature));\n    }\n    function visitInterfaceType(interfaceT) {\n      visitObjectType(interfaceT);\n      forEach(interfaceT.typeParameters, visitType);\n      forEach(getBaseTypes(interfaceT), visitType);\n      visitType(interfaceT.thisType);\n    }\n    function visitObjectType(type) {\n      const resolved = resolveStructuredTypeMembers(type);\n      for (const info of resolved.indexInfos) {\n        visitType(info.keyType);\n        visitType(info.type);\n      }\n      for (const signature of resolved.callSignatures) {\n        visitSignature(signature);\n      }\n      for (const signature of resolved.constructSignatures) {\n        visitSignature(signature);\n      }\n      for (const p of resolved.properties) {\n        visitSymbol(p);\n      }\n    }\n    function visitSymbol(symbol) {\n      if (!symbol) {\n        return false;\n      }\n      const symbolId = getSymbolId(symbol);\n      if (visitedSymbols[symbolId]) {\n        return false;\n      }\n      visitedSymbols[symbolId] = symbol;\n      if (!accept(symbol)) {\n        return true;\n      }\n      const t = getTypeOfSymbol(symbol);\n      visitType(t);\n      if (symbol.exports) {\n        symbol.exports.forEach(visitSymbol);\n      }\n      forEach(symbol.declarations, (d) => {\n        if (d.type && d.type.kind === 186 /* TypeQuery */) {\n          const query = d.type;\n          const entity = getResolvedSymbol(getFirstIdentifier2(query.exprName));\n          visitSymbol(entity);\n        }\n      });\n      return false;\n    }\n  }\n}\n\n// src/compiler/_namespaces/ts.moduleSpecifiers.ts\nvar ts_moduleSpecifiers_exports = {};\n__export(ts_moduleSpecifiers_exports, {\n  countPathComponents: () => countPathComponents,\n  forEachFileNameOfModule: () => forEachFileNameOfModule,\n  getModuleSpecifier: () => getModuleSpecifier,\n  getModuleSpecifiers: () => getModuleSpecifiers,\n  getModuleSpecifiersWithCacheInfo: () => getModuleSpecifiersWithCacheInfo,\n  getNodeModulesPackageName: () => getNodeModulesPackageName,\n  tryGetJSExtensionForFile: () => tryGetJSExtensionForFile,\n  tryGetModuleSpecifiersFromCache: () => tryGetModuleSpecifiersFromCache,\n  updateModuleSpecifier: () => updateModuleSpecifier\n});\n\n// src/compiler/moduleSpecifiers.ts\nvar RelativePreference = /* @__PURE__ */ ((RelativePreference2) => {\n  RelativePreference2[RelativePreference2[\"Relative\"] = 0] = \"Relative\";\n  RelativePreference2[RelativePreference2[\"NonRelative\"] = 1] = \"NonRelative\";\n  RelativePreference2[RelativePreference2[\"Shortest\"] = 2] = \"Shortest\";\n  RelativePreference2[RelativePreference2[\"ExternalNonRelative\"] = 3] = \"ExternalNonRelative\";\n  return RelativePreference2;\n})(RelativePreference || {});\nvar Ending = /* @__PURE__ */ ((Ending2) => {\n  Ending2[Ending2[\"Minimal\"] = 0] = \"Minimal\";\n  Ending2[Ending2[\"Index\"] = 1] = \"Index\";\n  Ending2[Ending2[\"JsExtension\"] = 2] = \"JsExtension\";\n  return Ending2;\n})(Ending || {});\nfunction getPreferences(host, { importModuleSpecifierPreference, importModuleSpecifierEnding }, compilerOptions, importingSourceFile) {\n  return {\n    relativePreference: importModuleSpecifierPreference === \"relative\" ? 0 /* Relative */ : importModuleSpecifierPreference === \"non-relative\" ? 1 /* NonRelative */ : importModuleSpecifierPreference === \"project-relative\" ? 3 /* ExternalNonRelative */ : 2 /* Shortest */,\n    ending: getEnding()\n  };\n  function getEnding() {\n    switch (importModuleSpecifierEnding) {\n      case \"minimal\":\n        return 0 /* Minimal */;\n      case \"index\":\n        return 1 /* Index */;\n      case \"js\":\n        return 2 /* JsExtension */;\n      default:\n        return usesJsExtensionOnImports(importingSourceFile) || isFormatRequiringExtensions(compilerOptions, importingSourceFile.path, host) ? 2 /* JsExtension */ : getEmitModuleResolutionKind(compilerOptions) !== 2 /* NodeJs */ ? 1 /* Index */ : 0 /* Minimal */;\n    }\n  }\n}\nfunction getPreferencesForUpdate(compilerOptions, oldImportSpecifier, importingSourceFileName, host) {\n  return {\n    relativePreference: isExternalModuleNameRelative(oldImportSpecifier) ? 0 /* Relative */ : 1 /* NonRelative */,\n    ending: hasJSFileExtension(oldImportSpecifier) || isFormatRequiringExtensions(compilerOptions, importingSourceFileName, host) ? 2 /* JsExtension */ : getEmitModuleResolutionKind(compilerOptions) !== 2 /* NodeJs */ || endsWith(oldImportSpecifier, \"index\") ? 1 /* Index */ : 0 /* Minimal */\n  };\n}\nfunction isFormatRequiringExtensions(compilerOptions, importingSourceFileName, host) {\n  var _a2;\n  if (getEmitModuleResolutionKind(compilerOptions) !== 3 /* Node16 */ && getEmitModuleResolutionKind(compilerOptions) !== 99 /* NodeNext */) {\n    return false;\n  }\n  return getImpliedNodeFormatForFile(importingSourceFileName, (_a2 = host.getPackageJsonInfoCache) == null ? void 0 : _a2.call(host), getModuleResolutionHost(host), compilerOptions) !== 1 /* CommonJS */;\n}\nfunction getModuleResolutionHost(host) {\n  var _a2;\n  return {\n    fileExists: host.fileExists,\n    readFile: Debug.checkDefined(host.readFile),\n    directoryExists: host.directoryExists,\n    getCurrentDirectory: host.getCurrentDirectory,\n    realpath: host.realpath,\n    useCaseSensitiveFileNames: (_a2 = host.useCaseSensitiveFileNames) == null ? void 0 : _a2.call(host)\n  };\n}\nfunction updateModuleSpecifier(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, oldImportSpecifier, options = {}) {\n  const res = getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, getPreferencesForUpdate(compilerOptions, oldImportSpecifier, importingSourceFileName, host), {}, options);\n  if (res === oldImportSpecifier)\n    return void 0;\n  return res;\n}\nfunction getModuleSpecifier(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, options = {}) {\n  return getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, getPreferences(host, {}, compilerOptions, importingSourceFile), {}, options);\n}\nfunction getNodeModulesPackageName(compilerOptions, importingSourceFile, nodeModulesFileName, host, preferences, options = {}) {\n  const info = getInfo(importingSourceFile.path, host);\n  const modulePaths = getAllModulePaths(importingSourceFile.path, nodeModulesFileName, host, preferences, options, compilerOptions.packageManagerType);\n  return firstDefined(\n    modulePaths,\n    (modulePath) => tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compilerOptions, preferences, true, options.overrideImportMode)\n  );\n}\nfunction getModuleSpecifierWorker(compilerOptions, importingSourceFile, importingSourceFileName, toFileName2, host, preferences, userPreferences, options = {}) {\n  const info = getInfo(importingSourceFileName, host);\n  const modulePaths = getAllModulePaths(importingSourceFileName, toFileName2, host, userPreferences, options, compilerOptions.packageManagerType);\n  return firstDefined(modulePaths, (modulePath) => tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compilerOptions, userPreferences, void 0, options.overrideImportMode)) || getLocalModuleSpecifier(toFileName2, info, compilerOptions, host, options.overrideImportMode || importingSourceFile.impliedNodeFormat, preferences);\n}\nfunction tryGetModuleSpecifiersFromCache(moduleSymbol, importingSourceFile, host, userPreferences, options = {}) {\n  return tryGetModuleSpecifiersFromCacheWorker(\n    moduleSymbol,\n    importingSourceFile,\n    host,\n    userPreferences,\n    options\n  )[0];\n}\nfunction tryGetModuleSpecifiersFromCacheWorker(moduleSymbol, importingSourceFile, host, userPreferences, options = {}) {\n  var _a2;\n  const moduleSourceFile = getSourceFileOfModule(moduleSymbol);\n  if (!moduleSourceFile) {\n    return emptyArray;\n  }\n  const cache = (_a2 = host.getModuleSpecifierCache) == null ? void 0 : _a2.call(host);\n  const cached = cache == null ? void 0 : cache.get(importingSourceFile.path, moduleSourceFile.path, userPreferences, options);\n  return [cached == null ? void 0 : cached.moduleSpecifiers, moduleSourceFile, cached == null ? void 0 : cached.modulePaths, cache];\n}\nfunction getModuleSpecifiers(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}) {\n  return getModuleSpecifiersWithCacheInfo(\n    moduleSymbol,\n    checker,\n    compilerOptions,\n    importingSourceFile,\n    host,\n    userPreferences,\n    options\n  ).moduleSpecifiers;\n}\nfunction getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions, importingSourceFile, host, userPreferences, options = {}) {\n  let computedWithoutCache = false;\n  const ambient = tryGetModuleNameFromAmbientModule(moduleSymbol, checker);\n  if (ambient)\n    return { moduleSpecifiers: [ambient], computedWithoutCache };\n  let [specifiers, moduleSourceFile, modulePaths, cache] = tryGetModuleSpecifiersFromCacheWorker(\n    moduleSymbol,\n    importingSourceFile,\n    host,\n    userPreferences,\n    options\n  );\n  if (specifiers)\n    return { moduleSpecifiers: specifiers, computedWithoutCache };\n  if (!moduleSourceFile)\n    return { moduleSpecifiers: emptyArray, computedWithoutCache };\n  computedWithoutCache = true;\n  modulePaths || (modulePaths = getAllModulePathsWorker(importingSourceFile.path, moduleSourceFile.originalFileName, host, compilerOptions.packageManagerType));\n  const result = computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options);\n  cache == null ? void 0 : cache.set(importingSourceFile.path, moduleSourceFile.path, userPreferences, options, modulePaths, result);\n  return { moduleSpecifiers: result, computedWithoutCache };\n}\nfunction computeModuleSpecifiers(modulePaths, compilerOptions, importingSourceFile, host, userPreferences, options = {}) {\n  const info = getInfo(importingSourceFile.path, host);\n  const preferences = getPreferences(host, userPreferences, compilerOptions, importingSourceFile);\n  const existingSpecifier = forEach(modulePaths, (modulePath) => forEach(\n    host.getFileIncludeReasons().get(toPath(modulePath.path, host.getCurrentDirectory(), info.getCanonicalFileName)),\n    (reason) => {\n      if (reason.kind !== 3 /* Import */ || reason.file !== importingSourceFile.path)\n        return void 0;\n      if (importingSourceFile.impliedNodeFormat && importingSourceFile.impliedNodeFormat !== getModeForResolutionAtIndex(importingSourceFile, reason.index))\n        return void 0;\n      const specifier = getModuleNameStringLiteralAt(importingSourceFile, reason.index).text;\n      return preferences.relativePreference !== 1 /* NonRelative */ || !pathIsRelative(specifier) ? specifier : void 0;\n    }\n  ));\n  if (existingSpecifier) {\n    const moduleSpecifiers = [existingSpecifier];\n    return moduleSpecifiers;\n  }\n  const importedFileIsInNodeModules = some(modulePaths, (p) => p.isInNodeModules);\n  let modulesSpecifiers;\n  let pathsSpecifiers;\n  let relativeSpecifiers;\n  for (const modulePath of modulePaths) {\n    const specifier = tryGetModuleNameAsNodeModule(modulePath, info, importingSourceFile, host, compilerOptions, userPreferences, void 0, options.overrideImportMode);\n    modulesSpecifiers = append(modulesSpecifiers, specifier);\n    if (specifier && modulePath.isRedirect) {\n      return modulesSpecifiers;\n    }\n    if (!specifier && !modulePath.isRedirect) {\n      const local = getLocalModuleSpecifier(modulePath.path, info, compilerOptions, host, options.overrideImportMode || importingSourceFile.impliedNodeFormat, preferences);\n      if (pathIsBareSpecifier(local)) {\n        pathsSpecifiers = append(pathsSpecifiers, local);\n      } else if (!importedFileIsInNodeModules || modulePath.isInNodeModules) {\n        relativeSpecifiers = append(relativeSpecifiers, local);\n      }\n    }\n  }\n  return (pathsSpecifiers == null ? void 0 : pathsSpecifiers.length) ? pathsSpecifiers : (modulesSpecifiers == null ? void 0 : modulesSpecifiers.length) ? modulesSpecifiers : Debug.checkDefined(relativeSpecifiers);\n}\nfunction getInfo(importingSourceFileName, host) {\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames ? host.useCaseSensitiveFileNames() : true);\n  const sourceDirectory = getDirectoryPath(importingSourceFileName);\n  return { getCanonicalFileName, importingSourceFileName, sourceDirectory };\n}\nfunction getLocalModuleSpecifier(moduleFileName, info, compilerOptions, host, importMode, { ending, relativePreference }) {\n  const { baseUrl, paths, rootDirs } = compilerOptions;\n  const { sourceDirectory, getCanonicalFileName } = info;\n  const relativePath = rootDirs && tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) || removeExtensionAndIndexPostFix(ensurePathIsNonModuleName(getRelativePathFromDirectory(sourceDirectory, moduleFileName, getCanonicalFileName)), ending, compilerOptions);\n  if (!baseUrl && !paths || relativePreference === 0 /* Relative */) {\n    return relativePath;\n  }\n  const baseDirectory = getNormalizedAbsolutePath(getPathsBasePath(compilerOptions, host) || baseUrl, host.getCurrentDirectory());\n  const relativeToBaseUrl = getRelativePathIfInDirectory(moduleFileName, baseDirectory, getCanonicalFileName);\n  if (!relativeToBaseUrl) {\n    return relativePath;\n  }\n  const fromPaths = paths && tryGetModuleNameFromPaths(relativeToBaseUrl, paths, getAllowedEndings(ending, compilerOptions, importMode), host, compilerOptions);\n  const nonRelative = fromPaths === void 0 && baseUrl !== void 0 ? removeExtensionAndIndexPostFix(relativeToBaseUrl, ending, compilerOptions) : fromPaths;\n  if (!nonRelative) {\n    return relativePath;\n  }\n  if (relativePreference === 1 /* NonRelative */) {\n    return nonRelative;\n  }\n  if (relativePreference === 3 /* ExternalNonRelative */) {\n    const projectDirectory = compilerOptions.configFilePath ? toPath(getDirectoryPath(compilerOptions.configFilePath), host.getCurrentDirectory(), info.getCanonicalFileName) : info.getCanonicalFileName(host.getCurrentDirectory());\n    const modulePath = toPath(moduleFileName, projectDirectory, getCanonicalFileName);\n    const sourceIsInternal = startsWith(sourceDirectory, projectDirectory);\n    const targetIsInternal = startsWith(modulePath, projectDirectory);\n    if (sourceIsInternal && !targetIsInternal || !sourceIsInternal && targetIsInternal) {\n      return nonRelative;\n    }\n    const packageManagerType = compilerOptions.packageManagerType;\n    const nearestTargetPackageJson = getNearestAncestorDirectoryWithPackageJson(host, getDirectoryPath(modulePath), packageManagerType);\n    const nearestSourcePackageJson = getNearestAncestorDirectoryWithPackageJson(host, sourceDirectory, packageManagerType);\n    if (nearestSourcePackageJson !== nearestTargetPackageJson) {\n      return nonRelative;\n    }\n    return relativePath;\n  }\n  if (relativePreference !== 2 /* Shortest */)\n    Debug.assertNever(relativePreference);\n  return isPathRelativeToParent(nonRelative) || countPathComponents(relativePath) < countPathComponents(nonRelative) ? relativePath : nonRelative;\n}\nfunction countPathComponents(path) {\n  let count = 0;\n  for (let i = startsWith(path, \"./\") ? 2 : 0; i < path.length; i++) {\n    if (path.charCodeAt(i) === 47 /* slash */)\n      count++;\n  }\n  return count;\n}\nfunction usesJsExtensionOnImports({ imports }) {\n  return firstDefined(imports, ({ text }) => pathIsRelative(text) ? hasJSFileExtension(text) : void 0) || false;\n}\nfunction comparePathsByRedirectAndNumberOfDirectorySeparators(a, b) {\n  return compareBooleans(b.isRedirect, a.isRedirect) || compareNumberOfDirectorySeparators(a.path, b.path);\n}\nfunction getNearestAncestorDirectoryWithPackageJson(host, fileName, packageManagerType) {\n  if (host.getNearestAncestorDirectoryWithPackageJson) {\n    return host.getNearestAncestorDirectoryWithPackageJson(fileName);\n  }\n  return !!forEachAncestorDirectory(fileName, (directory) => {\n    return host.fileExists(combinePaths(directory, getPackageJsonByPMType(packageManagerType))) ? true : void 0;\n  });\n}\nfunction forEachFileNameOfModule(importingFileName, importedFileName, host, preferSymlinks, cb) {\n  var _a2;\n  const getCanonicalFileName = hostGetCanonicalFileName(host);\n  const cwd = host.getCurrentDirectory();\n  const referenceRedirect = host.isSourceOfProjectReferenceRedirect(importedFileName) ? host.getProjectReferenceRedirect(importedFileName) : void 0;\n  const importedPath = toPath(importedFileName, cwd, getCanonicalFileName);\n  const redirects = host.redirectTargetsMap.get(importedPath) || emptyArray;\n  const importedFileNames = [...referenceRedirect ? [referenceRedirect] : emptyArray, importedFileName, ...redirects];\n  const targets = importedFileNames.map((f) => getNormalizedAbsolutePath(f, cwd));\n  let shouldFilterIgnoredPaths = !every(targets, containsIgnoredPath);\n  if (!preferSymlinks) {\n    const result2 = forEach(targets, (p) => !(shouldFilterIgnoredPaths && containsIgnoredPath(p)) && cb(p, referenceRedirect === p));\n    if (result2)\n      return result2;\n  }\n  const symlinkedDirectories = (_a2 = host.getSymlinkCache) == null ? void 0 : _a2.call(host).getSymlinkedDirectoriesByRealpath();\n  const fullImportedFileName = getNormalizedAbsolutePath(importedFileName, cwd);\n  const result = symlinkedDirectories && forEachAncestorDirectory(getDirectoryPath(fullImportedFileName), (realPathDirectory) => {\n    const symlinkDirectories = symlinkedDirectories.get(ensureTrailingDirectorySeparator(toPath(realPathDirectory, cwd, getCanonicalFileName)));\n    if (!symlinkDirectories)\n      return void 0;\n    if (startsWithDirectory(importingFileName, realPathDirectory, getCanonicalFileName)) {\n      return false;\n    }\n    return forEach(targets, (target) => {\n      if (!startsWithDirectory(target, realPathDirectory, getCanonicalFileName)) {\n        return;\n      }\n      const relative = getRelativePathFromDirectory(realPathDirectory, target, getCanonicalFileName);\n      for (const symlinkDirectory of symlinkDirectories) {\n        const option = resolvePath(symlinkDirectory, relative);\n        const result2 = cb(option, target === referenceRedirect);\n        shouldFilterIgnoredPaths = true;\n        if (result2)\n          return result2;\n      }\n    });\n  });\n  return result || (preferSymlinks ? forEach(targets, (p) => shouldFilterIgnoredPaths && containsIgnoredPath(p) ? void 0 : cb(p, p === referenceRedirect)) : void 0);\n}\nfunction getAllModulePaths(importingFilePath, importedFileName, host, preferences, options = {}, packageManagerType) {\n  var _a2;\n  const importedFilePath = toPath(importedFileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host));\n  const cache = (_a2 = host.getModuleSpecifierCache) == null ? void 0 : _a2.call(host);\n  if (cache) {\n    const cached = cache.get(importingFilePath, importedFilePath, preferences, options);\n    if (cached == null ? void 0 : cached.modulePaths)\n      return cached.modulePaths;\n  }\n  const modulePaths = getAllModulePathsWorker(importingFilePath, importedFileName, host, packageManagerType);\n  if (cache) {\n    cache.setModulePaths(importingFilePath, importedFilePath, preferences, options, modulePaths);\n  }\n  return modulePaths;\n}\nfunction getAllModulePathsWorker(importingFileName, importedFileName, host, packageManagerType) {\n  const getCanonicalFileName = hostGetCanonicalFileName(host);\n  const allFileNames = new Map2();\n  let importedFileFromNodeModules = false;\n  forEachFileNameOfModule(\n    importingFileName,\n    importedFileName,\n    host,\n    true,\n    (path, isRedirect) => {\n      const isInNodeModules = isOhpm(packageManagerType) ? pathContainsOHModules(path) : pathContainsNodeModules(path);\n      allFileNames.set(path, { path: getCanonicalFileName(path), isRedirect, isInNodeModules });\n      importedFileFromNodeModules = importedFileFromNodeModules || isInNodeModules;\n    }\n  );\n  const sortedPaths = [];\n  for (let directory = getDirectoryPath(importingFileName); allFileNames.size !== 0; ) {\n    const directoryStart = ensureTrailingDirectorySeparator(directory);\n    let pathsInDirectory;\n    allFileNames.forEach(({ path, isRedirect, isInNodeModules }, fileName) => {\n      if (startsWith(path, directoryStart)) {\n        (pathsInDirectory || (pathsInDirectory = [])).push({ path: fileName, isRedirect, isInNodeModules });\n        allFileNames.delete(fileName);\n      }\n    });\n    if (pathsInDirectory) {\n      if (pathsInDirectory.length > 1) {\n        pathsInDirectory.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);\n      }\n      sortedPaths.push(...pathsInDirectory);\n    }\n    const newDirectory = getDirectoryPath(directory);\n    if (newDirectory === directory)\n      break;\n    directory = newDirectory;\n  }\n  if (allFileNames.size) {\n    const remainingPaths = arrayFrom(allFileNames.values());\n    if (remainingPaths.length > 1)\n      remainingPaths.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);\n    sortedPaths.push(...remainingPaths);\n  }\n  return sortedPaths;\n}\nfunction tryGetModuleNameFromAmbientModule(moduleSymbol, checker) {\n  var _a2;\n  const decl = (_a2 = moduleSymbol.declarations) == null ? void 0 : _a2.find(\n    (d) => isNonGlobalAmbientModule(d) && (!isExternalModuleAugmentation(d) || !isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(d.name)))\n  );\n  if (decl) {\n    return decl.name.text;\n  }\n  const ambientModuleDeclareCandidates = mapDefined(\n    moduleSymbol.declarations,\n    (d) => {\n      var _a3, _b, _c, _d;\n      if (!isModuleDeclaration(d))\n        return;\n      const topNamespace = getTopNamespace(d);\n      if (!(((_a3 = topNamespace == null ? void 0 : topNamespace.parent) == null ? void 0 : _a3.parent) && isModuleBlock(topNamespace.parent) && isAmbientModule(topNamespace.parent.parent) && isSourceFile(topNamespace.parent.parent.parent)))\n        return;\n      const exportAssignment = (_d = (_c = (_b = topNamespace.parent.parent.symbol.exports) == null ? void 0 : _b.get(\"export=\")) == null ? void 0 : _c.valueDeclaration) == null ? void 0 : _d.expression;\n      if (!exportAssignment)\n        return;\n      const exportSymbol = checker.getSymbolAtLocation(exportAssignment);\n      if (!exportSymbol)\n        return;\n      const originalExportSymbol = (exportSymbol == null ? void 0 : exportSymbol.flags) & 2097152 /* Alias */ ? checker.getAliasedSymbol(exportSymbol) : exportSymbol;\n      if (originalExportSymbol === d.symbol)\n        return topNamespace.parent.parent;\n      function getTopNamespace(namespaceDeclaration) {\n        while (namespaceDeclaration.flags & 4 /* NestedNamespace */) {\n          namespaceDeclaration = namespaceDeclaration.parent;\n        }\n        return namespaceDeclaration;\n      }\n    }\n  );\n  const ambientModuleDeclare = ambientModuleDeclareCandidates[0];\n  if (ambientModuleDeclare) {\n    return ambientModuleDeclare.name.text;\n  }\n}\nfunction getAllowedEndings(preferredEnding, compilerOptions, importMode) {\n  if (getEmitModuleResolutionKind(compilerOptions) >= 3 /* Node16 */ && importMode === 99 /* ESNext */) {\n    return [2 /* JsExtension */];\n  }\n  switch (preferredEnding) {\n    case 2 /* JsExtension */:\n      return [2 /* JsExtension */, 0 /* Minimal */, 1 /* Index */];\n    case 1 /* Index */:\n      return [1 /* Index */, 0 /* Minimal */, 2 /* JsExtension */];\n    case 0 /* Minimal */:\n      return [0 /* Minimal */, 1 /* Index */, 2 /* JsExtension */];\n    default:\n      Debug.assertNever(preferredEnding);\n  }\n}\nfunction tryGetModuleNameFromPaths(relativeToBaseUrl, paths, allowedEndings, host, compilerOptions) {\n  for (const key in paths) {\n    for (const patternText2 of paths[key]) {\n      const pattern = normalizePath(patternText2);\n      const indexOfStar = pattern.indexOf(\"*\");\n      const candidates = allowedEndings.map((ending) => ({\n        ending,\n        value: removeExtensionAndIndexPostFix(relativeToBaseUrl, ending, compilerOptions)\n      }));\n      if (tryGetExtensionFromPath2(pattern)) {\n        candidates.push({ ending: void 0, value: relativeToBaseUrl });\n      }\n      if (indexOfStar !== -1) {\n        const prefix = pattern.substring(0, indexOfStar);\n        const suffix = pattern.substring(indexOfStar + 1);\n        for (const { ending, value } of candidates) {\n          if (value.length >= prefix.length + suffix.length && startsWith(value, prefix) && endsWith(value, suffix) && validateEnding({ ending, value })) {\n            const matchedStar = value.substring(prefix.length, value.length - suffix.length);\n            return key.replace(\"*\", matchedStar);\n          }\n        }\n      } else if (some(candidates, (c) => c.ending !== 0 /* Minimal */ && pattern === c.value) || some(candidates, (c) => c.ending === 0 /* Minimal */ && pattern === c.value && validateEnding(c))) {\n        return key;\n      }\n    }\n  }\n  function validateEnding({ ending, value }) {\n    return ending !== 0 /* Minimal */ || value === removeExtensionAndIndexPostFix(relativeToBaseUrl, ending, compilerOptions, host);\n  }\n}\nvar MatchingMode = /* @__PURE__ */ ((MatchingMode2) => {\n  MatchingMode2[MatchingMode2[\"Exact\"] = 0] = \"Exact\";\n  MatchingMode2[MatchingMode2[\"Directory\"] = 1] = \"Directory\";\n  MatchingMode2[MatchingMode2[\"Pattern\"] = 2] = \"Pattern\";\n  return MatchingMode2;\n})(MatchingMode || {});\nfunction tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, packageName, exports, conditions, mode = 0 /* Exact */) {\n  if (typeof exports === \"string\") {\n    const pathOrPattern = getNormalizedAbsolutePath(combinePaths(packageDirectory, exports), void 0);\n    const extensionSwappedTarget = hasTSFileExtension(targetFilePath) ? removeFileExtension(targetFilePath) + tryGetJSExtensionForFile(targetFilePath, options) : void 0;\n    switch (mode) {\n      case 0 /* Exact */:\n        if (comparePaths(targetFilePath, pathOrPattern) === 0 /* EqualTo */ || extensionSwappedTarget && comparePaths(extensionSwappedTarget, pathOrPattern) === 0 /* EqualTo */) {\n          return { moduleFileToTry: packageName };\n        }\n        break;\n      case 1 /* Directory */:\n        if (containsPath(pathOrPattern, targetFilePath)) {\n          const fragment = getRelativePathFromDirectory(pathOrPattern, targetFilePath, false);\n          return { moduleFileToTry: getNormalizedAbsolutePath(combinePaths(combinePaths(packageName, exports), fragment), void 0) };\n        }\n        break;\n      case 2 /* Pattern */:\n        const starPos = pathOrPattern.indexOf(\"*\");\n        const leadingSlice = pathOrPattern.slice(0, starPos);\n        const trailingSlice = pathOrPattern.slice(starPos + 1);\n        if (startsWith(targetFilePath, leadingSlice) && endsWith(targetFilePath, trailingSlice)) {\n          const starReplacement = targetFilePath.slice(leadingSlice.length, targetFilePath.length - trailingSlice.length);\n          return { moduleFileToTry: packageName.replace(\"*\", starReplacement) };\n        }\n        if (extensionSwappedTarget && startsWith(extensionSwappedTarget, leadingSlice) && endsWith(extensionSwappedTarget, trailingSlice)) {\n          const starReplacement = extensionSwappedTarget.slice(leadingSlice.length, extensionSwappedTarget.length - trailingSlice.length);\n          return { moduleFileToTry: packageName.replace(\"*\", starReplacement) };\n        }\n        break;\n    }\n  } else if (Array.isArray(exports)) {\n    return forEach(exports, (e) => tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, packageName, e, conditions));\n  } else if (typeof exports === \"object\" && exports !== null) {\n    if (allKeysStartWithDot(exports)) {\n      return forEach(getOwnKeys(exports), (k) => {\n        const subPackageName = getNormalizedAbsolutePath(combinePaths(packageName, k), void 0);\n        const mode2 = endsWith(k, \"/\") ? 1 /* Directory */ : stringContains(k, \"*\") ? 2 /* Pattern */ : 0 /* Exact */;\n        return tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, subPackageName, exports[k], conditions, mode2);\n      });\n    } else {\n      for (const key of getOwnKeys(exports)) {\n        if (key === \"default\" || conditions.indexOf(key) >= 0 || isApplicableVersionedTypesKey(conditions, key)) {\n          const subTarget = exports[key];\n          const result = tryGetModuleNameFromExports(options, targetFilePath, packageDirectory, packageName, subTarget, conditions);\n          if (result) {\n            return result;\n          }\n        }\n      }\n    }\n  }\n  return void 0;\n}\nfunction tryGetModuleNameFromRootDirs(rootDirs, moduleFileName, sourceDirectory, getCanonicalFileName, ending, compilerOptions) {\n  const normalizedTargetPaths = getPathsRelativeToRootDirs(moduleFileName, rootDirs, getCanonicalFileName);\n  if (normalizedTargetPaths === void 0) {\n    return void 0;\n  }\n  const normalizedSourcePaths = getPathsRelativeToRootDirs(sourceDirectory, rootDirs, getCanonicalFileName);\n  const relativePaths = flatMap(normalizedSourcePaths, (sourcePath) => {\n    return map(normalizedTargetPaths, (targetPath) => ensurePathIsNonModuleName(getRelativePathFromDirectory(sourcePath, targetPath, getCanonicalFileName)));\n  });\n  const shortest = min(relativePaths, compareNumberOfDirectorySeparators);\n  if (!shortest) {\n    return void 0;\n  }\n  return getEmitModuleResolutionKind(compilerOptions) === 2 /* NodeJs */ ? removeExtensionAndIndexPostFix(shortest, ending, compilerOptions) : removeFileExtension(shortest);\n}\nfunction tryGetModuleNameAsNodeModule({ path, isRedirect }, { getCanonicalFileName, sourceDirectory }, importingSourceFile, host, options, userPreferences, packageNameOnly, overrideMode) {\n  if (!host.fileExists || !host.readFile) {\n    return void 0;\n  }\n  const parts = getNodeModulePathParts(path, isOhpm(options.packageManagerType) ? ohModulesPathPart : nodeModulesPathPart);\n  if (!parts) {\n    return void 0;\n  }\n  const preferences = getPreferences(host, userPreferences, options, importingSourceFile);\n  let moduleSpecifier = path;\n  let isPackageRootPath = false;\n  if (!packageNameOnly) {\n    let packageRootIndex = parts.packageRootIndex;\n    let moduleFileName;\n    while (true) {\n      const { moduleFileToTry, packageRootPath, blockedByExports, verbatimFromExports } = tryDirectoryWithPackageJson(packageRootIndex);\n      if (getEmitModuleResolutionKind(options) !== 1 /* Classic */) {\n        if (blockedByExports) {\n          return void 0;\n        }\n        if (verbatimFromExports) {\n          return moduleFileToTry;\n        }\n      }\n      if (packageRootPath) {\n        moduleSpecifier = packageRootPath;\n        isPackageRootPath = true;\n        break;\n      }\n      if (!moduleFileName)\n        moduleFileName = moduleFileToTry;\n      packageRootIndex = path.indexOf(directorySeparator, packageRootIndex + 1);\n      if (packageRootIndex === -1) {\n        moduleSpecifier = removeExtensionAndIndexPostFix(moduleFileName, preferences.ending, options, host);\n        break;\n      }\n    }\n  }\n  if (isRedirect && !isPackageRootPath) {\n    return void 0;\n  }\n  const globalTypingsCacheLocation = host.getGlobalTypingsCacheLocation && host.getGlobalTypingsCacheLocation();\n  const pathToTopLevelNodeModules = getCanonicalFileName(moduleSpecifier.substring(0, parts.topLevelNodeModulesIndex));\n  if (!(startsWith(sourceDirectory, pathToTopLevelNodeModules) || globalTypingsCacheLocation && startsWith(getCanonicalFileName(globalTypingsCacheLocation), pathToTopLevelNodeModules))) {\n    return void 0;\n  }\n  const nodeModulesDirectoryName = moduleSpecifier.substring(parts.topLevelPackageNameIndex + 1);\n  const packageName = getPackageNameFromTypesPackageName(nodeModulesDirectoryName);\n  return getEmitModuleResolutionKind(options) === 1 /* Classic */ && packageName === nodeModulesDirectoryName ? void 0 : packageName;\n  function tryDirectoryWithPackageJson(packageRootIndex) {\n    var _a2, _b;\n    const packageRootPath = path.substring(0, packageRootIndex);\n    const packageJsonPath = combinePaths(packageRootPath, getPackageJsonByPMType(options.packageManagerType));\n    let moduleFileToTry = path;\n    let maybeBlockedByTypesVersions = false;\n    const cachedPackageJson = (_b = (_a2 = host.getPackageJsonInfoCache) == null ? void 0 : _a2.call(host)) == null ? void 0 : _b.getPackageJsonInfo(packageJsonPath);\n    if (typeof cachedPackageJson === \"object\" || cachedPackageJson === void 0 && host.fileExists(packageJsonPath)) {\n      const packageJsonContent = (cachedPackageJson == null ? void 0 : cachedPackageJson.contents.packageJsonContent) || isOhpm(options.packageManagerType) ? require(\"json5\").parse(host.readFile(packageJsonPath)) : JSON.parse(host.readFile(packageJsonPath));\n      const importMode = overrideMode || importingSourceFile.impliedNodeFormat;\n      if (getEmitModuleResolutionKind(options) === 3 /* Node16 */ || getEmitModuleResolutionKind(options) === 99 /* NodeNext */) {\n        const conditions = [\"node\", importMode === 99 /* ESNext */ ? \"import\" : \"require\", \"types\"];\n        const fromExports = packageJsonContent.exports && typeof packageJsonContent.name === \"string\" ? tryGetModuleNameFromExports(options, path, packageRootPath, getPackageNameFromTypesPackageName(packageJsonContent.name), packageJsonContent.exports, conditions) : void 0;\n        if (fromExports) {\n          const withJsExtension = !hasTSFileExtension(fromExports.moduleFileToTry) ? fromExports : { moduleFileToTry: removeFileExtension(fromExports.moduleFileToTry) + tryGetJSExtensionForFile(fromExports.moduleFileToTry, options) };\n          return { ...withJsExtension, verbatimFromExports: true };\n        }\n        if (packageJsonContent.exports) {\n          return { moduleFileToTry: path, blockedByExports: true };\n        }\n      }\n      const versionPaths = packageJsonContent.typesVersions ? getPackageJsonTypesVersionsPaths(packageJsonContent.typesVersions) : void 0;\n      if (versionPaths) {\n        const subModuleName = path.slice(packageRootPath.length + 1);\n        const fromPaths = tryGetModuleNameFromPaths(\n          subModuleName,\n          versionPaths.paths,\n          getAllowedEndings(preferences.ending, options, importMode),\n          host,\n          options\n        );\n        if (fromPaths === void 0) {\n          maybeBlockedByTypesVersions = true;\n        } else {\n          moduleFileToTry = combinePaths(packageRootPath, fromPaths);\n        }\n      }\n      const mainFileRelative = packageJsonContent.typings || packageJsonContent.types || packageJsonContent.main || \"index.js\";\n      if (isString(mainFileRelative) && !(maybeBlockedByTypesVersions && matchPatternOrExact(tryParsePatterns(versionPaths.paths), mainFileRelative))) {\n        const mainExportFile = toPath(mainFileRelative, packageRootPath, getCanonicalFileName);\n        if (removeFileExtension(mainExportFile) === removeFileExtension(getCanonicalFileName(moduleFileToTry))) {\n          return { packageRootPath, moduleFileToTry };\n        }\n      }\n    } else {\n      const fileName = getCanonicalFileName(moduleFileToTry.substring(parts.packageRootIndex + 1));\n      if (fileName === \"index.d.ts\" || fileName === \"index.js\" || fileName === \"index.ts\" || fileName === \"index.tsx\") {\n        return { moduleFileToTry, packageRootPath };\n      }\n    }\n    return { moduleFileToTry };\n  }\n}\nfunction tryGetAnyFileFromPath(host, path) {\n  if (!host.fileExists)\n    return;\n  const extensions = flatten(getSupportedExtensions({ allowJs: true }, [{ extension: \"node\", isMixedContent: false }, { extension: \"json\", isMixedContent: false, scriptKind: 6 /* JSON */ }]));\n  for (const e of extensions) {\n    const fullPath = path + e;\n    if (host.fileExists(fullPath)) {\n      return fullPath;\n    }\n  }\n}\nfunction getPathsRelativeToRootDirs(path, rootDirs, getCanonicalFileName) {\n  return mapDefined(rootDirs, (rootDir) => {\n    const relativePath = getRelativePathIfInDirectory(path, rootDir, getCanonicalFileName);\n    return relativePath !== void 0 && isPathRelativeToParent(relativePath) ? void 0 : relativePath;\n  });\n}\nfunction removeExtensionAndIndexPostFix(fileName, ending, options, host) {\n  if (fileExtensionIsOneOf(fileName, [\".json\" /* Json */, \".mjs\" /* Mjs */, \".cjs\" /* Cjs */]))\n    return fileName;\n  const noExtension = removeFileExtension(fileName);\n  if (fileName === noExtension)\n    return fileName;\n  if (fileExtensionIsOneOf(fileName, [\".d.mts\" /* Dmts */, \".mts\" /* Mts */, \".d.cts\" /* Dcts */, \".cts\" /* Cts */]))\n    return noExtension + getJSExtensionForFile(fileName, options);\n  switch (ending) {\n    case 0 /* Minimal */:\n      const withoutIndex = removeSuffix(noExtension, \"/index\");\n      if (host && withoutIndex !== noExtension && tryGetAnyFileFromPath(host, withoutIndex)) {\n        return noExtension;\n      }\n      return withoutIndex;\n    case 1 /* Index */:\n      return noExtension;\n    case 2 /* JsExtension */:\n      return noExtension + getJSExtensionForFile(fileName, options);\n    default:\n      return Debug.assertNever(ending);\n  }\n}\nfunction getJSExtensionForFile(fileName, options) {\n  var _a2;\n  return (_a2 = tryGetJSExtensionForFile(fileName, options)) != null ? _a2 : Debug.fail(`Extension ${extensionFromPath(fileName)} is unsupported:: FileName:: ${fileName}`);\n}\nfunction tryGetJSExtensionForFile(fileName, options) {\n  const ext = tryGetExtensionFromPath2(fileName);\n  switch (ext) {\n    case \".ts\" /* Ts */:\n    case \".d.ts\" /* Dts */:\n    case \".ets\" /* Ets */:\n    case \".d.ets\" /* Dets */:\n      return \".js\" /* Js */;\n    case \".tsx\" /* Tsx */:\n      return options.jsx === 1 /* Preserve */ ? \".jsx\" /* Jsx */ : \".js\" /* Js */;\n    case \".js\" /* Js */:\n    case \".jsx\" /* Jsx */:\n    case \".json\" /* Json */:\n      return ext;\n    case \".d.mts\" /* Dmts */:\n    case \".mts\" /* Mts */:\n    case \".mjs\" /* Mjs */:\n      return \".mjs\" /* Mjs */;\n    case \".d.cts\" /* Dcts */:\n    case \".cts\" /* Cts */:\n    case \".cjs\" /* Cjs */:\n      return \".cjs\" /* Cjs */;\n    default:\n      return void 0;\n  }\n}\nfunction getRelativePathIfInDirectory(path, directoryPath, getCanonicalFileName) {\n  const relativePath = getRelativePathToDirectoryOrUrl(directoryPath, path, directoryPath, getCanonicalFileName, false);\n  return isRootedDiskPath(relativePath) ? void 0 : relativePath;\n}\nfunction isPathRelativeToParent(path) {\n  return startsWith(path, \"..\");\n}\n\n// src/compiler/checker.ts\nvar ambientModuleSymbolRegex = /^\".+\"$/;\nvar anon = \"(anonymous)\";\nvar nextSymbolId = 1;\nvar nextNodeId = 1;\nvar nextMergeId = 1;\nvar nextFlowId = 1;\nvar IterationUse = /* @__PURE__ */ ((IterationUse2) => {\n  IterationUse2[IterationUse2[\"AllowsSyncIterablesFlag\"] = 1] = \"AllowsSyncIterablesFlag\";\n  IterationUse2[IterationUse2[\"AllowsAsyncIterablesFlag\"] = 2] = \"AllowsAsyncIterablesFlag\";\n  IterationUse2[IterationUse2[\"AllowsStringInputFlag\"] = 4] = \"AllowsStringInputFlag\";\n  IterationUse2[IterationUse2[\"ForOfFlag\"] = 8] = \"ForOfFlag\";\n  IterationUse2[IterationUse2[\"YieldStarFlag\"] = 16] = \"YieldStarFlag\";\n  IterationUse2[IterationUse2[\"SpreadFlag\"] = 32] = \"SpreadFlag\";\n  IterationUse2[IterationUse2[\"DestructuringFlag\"] = 64] = \"DestructuringFlag\";\n  IterationUse2[IterationUse2[\"PossiblyOutOfBounds\"] = 128] = \"PossiblyOutOfBounds\";\n  IterationUse2[IterationUse2[\"Element\"] = 1 /* AllowsSyncIterablesFlag */] = \"Element\";\n  IterationUse2[IterationUse2[\"Spread\"] = 33] = \"Spread\";\n  IterationUse2[IterationUse2[\"Destructuring\"] = 65] = \"Destructuring\";\n  IterationUse2[IterationUse2[\"ForOf\"] = 13] = \"ForOf\";\n  IterationUse2[IterationUse2[\"ForAwaitOf\"] = 15] = \"ForAwaitOf\";\n  IterationUse2[IterationUse2[\"YieldStar\"] = 17] = \"YieldStar\";\n  IterationUse2[IterationUse2[\"AsyncYieldStar\"] = 19] = \"AsyncYieldStar\";\n  IterationUse2[IterationUse2[\"GeneratorReturnType\"] = 1 /* AllowsSyncIterablesFlag */] = \"GeneratorReturnType\";\n  IterationUse2[IterationUse2[\"AsyncGeneratorReturnType\"] = 2 /* AllowsAsyncIterablesFlag */] = \"AsyncGeneratorReturnType\";\n  return IterationUse2;\n})(IterationUse || {});\nvar IterationTypeKind = /* @__PURE__ */ ((IterationTypeKind2) => {\n  IterationTypeKind2[IterationTypeKind2[\"Yield\"] = 0] = \"Yield\";\n  IterationTypeKind2[IterationTypeKind2[\"Return\"] = 1] = \"Return\";\n  IterationTypeKind2[IterationTypeKind2[\"Next\"] = 2] = \"Next\";\n  return IterationTypeKind2;\n})(IterationTypeKind || {});\nvar WideningKind = /* @__PURE__ */ ((WideningKind2) => {\n  WideningKind2[WideningKind2[\"Normal\"] = 0] = \"Normal\";\n  WideningKind2[WideningKind2[\"FunctionReturn\"] = 1] = \"FunctionReturn\";\n  WideningKind2[WideningKind2[\"GeneratorNext\"] = 2] = \"GeneratorNext\";\n  WideningKind2[WideningKind2[\"GeneratorYield\"] = 3] = \"GeneratorYield\";\n  return WideningKind2;\n})(WideningKind || {});\nvar TypeFacts2 = /* @__PURE__ */ ((TypeFacts3) => {\n  TypeFacts3[TypeFacts3[\"None\"] = 0] = \"None\";\n  TypeFacts3[TypeFacts3[\"TypeofEQString\"] = 1] = \"TypeofEQString\";\n  TypeFacts3[TypeFacts3[\"TypeofEQNumber\"] = 2] = \"TypeofEQNumber\";\n  TypeFacts3[TypeFacts3[\"TypeofEQBigInt\"] = 4] = \"TypeofEQBigInt\";\n  TypeFacts3[TypeFacts3[\"TypeofEQBoolean\"] = 8] = \"TypeofEQBoolean\";\n  TypeFacts3[TypeFacts3[\"TypeofEQSymbol\"] = 16] = \"TypeofEQSymbol\";\n  TypeFacts3[TypeFacts3[\"TypeofEQObject\"] = 32] = \"TypeofEQObject\";\n  TypeFacts3[TypeFacts3[\"TypeofEQFunction\"] = 64] = \"TypeofEQFunction\";\n  TypeFacts3[TypeFacts3[\"TypeofEQHostObject\"] = 128] = \"TypeofEQHostObject\";\n  TypeFacts3[TypeFacts3[\"TypeofNEString\"] = 256] = \"TypeofNEString\";\n  TypeFacts3[TypeFacts3[\"TypeofNENumber\"] = 512] = \"TypeofNENumber\";\n  TypeFacts3[TypeFacts3[\"TypeofNEBigInt\"] = 1024] = \"TypeofNEBigInt\";\n  TypeFacts3[TypeFacts3[\"TypeofNEBoolean\"] = 2048] = \"TypeofNEBoolean\";\n  TypeFacts3[TypeFacts3[\"TypeofNESymbol\"] = 4096] = \"TypeofNESymbol\";\n  TypeFacts3[TypeFacts3[\"TypeofNEObject\"] = 8192] = \"TypeofNEObject\";\n  TypeFacts3[TypeFacts3[\"TypeofNEFunction\"] = 16384] = \"TypeofNEFunction\";\n  TypeFacts3[TypeFacts3[\"TypeofNEHostObject\"] = 32768] = \"TypeofNEHostObject\";\n  TypeFacts3[TypeFacts3[\"EQUndefined\"] = 65536] = \"EQUndefined\";\n  TypeFacts3[TypeFacts3[\"EQNull\"] = 131072] = \"EQNull\";\n  TypeFacts3[TypeFacts3[\"EQUndefinedOrNull\"] = 262144] = \"EQUndefinedOrNull\";\n  TypeFacts3[TypeFacts3[\"NEUndefined\"] = 524288] = \"NEUndefined\";\n  TypeFacts3[TypeFacts3[\"NENull\"] = 1048576] = \"NENull\";\n  TypeFacts3[TypeFacts3[\"NEUndefinedOrNull\"] = 2097152] = \"NEUndefinedOrNull\";\n  TypeFacts3[TypeFacts3[\"Truthy\"] = 4194304] = \"Truthy\";\n  TypeFacts3[TypeFacts3[\"Falsy\"] = 8388608] = \"Falsy\";\n  TypeFacts3[TypeFacts3[\"IsUndefined\"] = 16777216] = \"IsUndefined\";\n  TypeFacts3[TypeFacts3[\"IsNull\"] = 33554432] = \"IsNull\";\n  TypeFacts3[TypeFacts3[\"IsUndefinedOrNull\"] = 50331648] = \"IsUndefinedOrNull\";\n  TypeFacts3[TypeFacts3[\"All\"] = 134217727] = \"All\";\n  TypeFacts3[TypeFacts3[\"BaseStringStrictFacts\"] = 3735041] = \"BaseStringStrictFacts\";\n  TypeFacts3[TypeFacts3[\"BaseStringFacts\"] = 12582401] = \"BaseStringFacts\";\n  TypeFacts3[TypeFacts3[\"StringStrictFacts\"] = 16317953] = \"StringStrictFacts\";\n  TypeFacts3[TypeFacts3[\"StringFacts\"] = 16776705] = \"StringFacts\";\n  TypeFacts3[TypeFacts3[\"EmptyStringStrictFacts\"] = 12123649] = \"EmptyStringStrictFacts\";\n  TypeFacts3[TypeFacts3[\"EmptyStringFacts\"] = 12582401 /* BaseStringFacts */] = \"EmptyStringFacts\";\n  TypeFacts3[TypeFacts3[\"NonEmptyStringStrictFacts\"] = 7929345] = \"NonEmptyStringStrictFacts\";\n  TypeFacts3[TypeFacts3[\"NonEmptyStringFacts\"] = 16776705] = \"NonEmptyStringFacts\";\n  TypeFacts3[TypeFacts3[\"BaseNumberStrictFacts\"] = 3734786] = \"BaseNumberStrictFacts\";\n  TypeFacts3[TypeFacts3[\"BaseNumberFacts\"] = 12582146] = \"BaseNumberFacts\";\n  TypeFacts3[TypeFacts3[\"NumberStrictFacts\"] = 16317698] = \"NumberStrictFacts\";\n  TypeFacts3[TypeFacts3[\"NumberFacts\"] = 16776450] = \"NumberFacts\";\n  TypeFacts3[TypeFacts3[\"ZeroNumberStrictFacts\"] = 12123394] = \"ZeroNumberStrictFacts\";\n  TypeFacts3[TypeFacts3[\"ZeroNumberFacts\"] = 12582146 /* BaseNumberFacts */] = \"ZeroNumberFacts\";\n  TypeFacts3[TypeFacts3[\"NonZeroNumberStrictFacts\"] = 7929090] = \"NonZeroNumberStrictFacts\";\n  TypeFacts3[TypeFacts3[\"NonZeroNumberFacts\"] = 16776450] = \"NonZeroNumberFacts\";\n  TypeFacts3[TypeFacts3[\"BaseBigIntStrictFacts\"] = 3734276] = \"BaseBigIntStrictFacts\";\n  TypeFacts3[TypeFacts3[\"BaseBigIntFacts\"] = 12581636] = \"BaseBigIntFacts\";\n  TypeFacts3[TypeFacts3[\"BigIntStrictFacts\"] = 16317188] = \"BigIntStrictFacts\";\n  TypeFacts3[TypeFacts3[\"BigIntFacts\"] = 16775940] = \"BigIntFacts\";\n  TypeFacts3[TypeFacts3[\"ZeroBigIntStrictFacts\"] = 12122884] = \"ZeroBigIntStrictFacts\";\n  TypeFacts3[TypeFacts3[\"ZeroBigIntFacts\"] = 12581636 /* BaseBigIntFacts */] = \"ZeroBigIntFacts\";\n  TypeFacts3[TypeFacts3[\"NonZeroBigIntStrictFacts\"] = 7928580] = \"NonZeroBigIntStrictFacts\";\n  TypeFacts3[TypeFacts3[\"NonZeroBigIntFacts\"] = 16775940] = \"NonZeroBigIntFacts\";\n  TypeFacts3[TypeFacts3[\"BaseBooleanStrictFacts\"] = 3733256] = \"BaseBooleanStrictFacts\";\n  TypeFacts3[TypeFacts3[\"BaseBooleanFacts\"] = 12580616] = \"BaseBooleanFacts\";\n  TypeFacts3[TypeFacts3[\"BooleanStrictFacts\"] = 16316168] = \"BooleanStrictFacts\";\n  TypeFacts3[TypeFacts3[\"BooleanFacts\"] = 16774920] = \"BooleanFacts\";\n  TypeFacts3[TypeFacts3[\"FalseStrictFacts\"] = 12121864] = \"FalseStrictFacts\";\n  TypeFacts3[TypeFacts3[\"FalseFacts\"] = 12580616 /* BaseBooleanFacts */] = \"FalseFacts\";\n  TypeFacts3[TypeFacts3[\"TrueStrictFacts\"] = 7927560] = \"TrueStrictFacts\";\n  TypeFacts3[TypeFacts3[\"TrueFacts\"] = 16774920] = \"TrueFacts\";\n  TypeFacts3[TypeFacts3[\"SymbolStrictFacts\"] = 7925520] = \"SymbolStrictFacts\";\n  TypeFacts3[TypeFacts3[\"SymbolFacts\"] = 16772880] = \"SymbolFacts\";\n  TypeFacts3[TypeFacts3[\"ObjectStrictFacts\"] = 7888800] = \"ObjectStrictFacts\";\n  TypeFacts3[TypeFacts3[\"ObjectFacts\"] = 16736160] = \"ObjectFacts\";\n  TypeFacts3[TypeFacts3[\"FunctionStrictFacts\"] = 7880640] = \"FunctionStrictFacts\";\n  TypeFacts3[TypeFacts3[\"FunctionFacts\"] = 16728e3] = \"FunctionFacts\";\n  TypeFacts3[TypeFacts3[\"VoidFacts\"] = 9830144] = \"VoidFacts\";\n  TypeFacts3[TypeFacts3[\"UndefinedFacts\"] = 26607360] = \"UndefinedFacts\";\n  TypeFacts3[TypeFacts3[\"NullFacts\"] = 42917664] = \"NullFacts\";\n  TypeFacts3[TypeFacts3[\"EmptyObjectStrictFacts\"] = 83427327] = \"EmptyObjectStrictFacts\";\n  TypeFacts3[TypeFacts3[\"EmptyObjectFacts\"] = 83886079] = \"EmptyObjectFacts\";\n  TypeFacts3[TypeFacts3[\"UnknownFacts\"] = 83886079] = \"UnknownFacts\";\n  TypeFacts3[TypeFacts3[\"AllTypeofNE\"] = 556800] = \"AllTypeofNE\";\n  TypeFacts3[TypeFacts3[\"OrFactsMask\"] = 8256] = \"OrFactsMask\";\n  TypeFacts3[TypeFacts3[\"AndFactsMask\"] = 134209471] = \"AndFactsMask\";\n  return TypeFacts3;\n})(TypeFacts2 || {});\nvar typeofNEFacts = new Map2(getEntries({\n  string: 256 /* TypeofNEString */,\n  number: 512 /* TypeofNENumber */,\n  bigint: 1024 /* TypeofNEBigInt */,\n  boolean: 2048 /* TypeofNEBoolean */,\n  symbol: 4096 /* TypeofNESymbol */,\n  undefined: 524288 /* NEUndefined */,\n  object: 8192 /* TypeofNEObject */,\n  function: 16384 /* TypeofNEFunction */\n}));\nvar TypeSystemPropertyName = /* @__PURE__ */ ((TypeSystemPropertyName2) => {\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"Type\"] = 0] = \"Type\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"ResolvedBaseConstructorType\"] = 1] = \"ResolvedBaseConstructorType\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"DeclaredType\"] = 2] = \"DeclaredType\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"ResolvedReturnType\"] = 3] = \"ResolvedReturnType\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"ImmediateBaseConstraint\"] = 4] = \"ImmediateBaseConstraint\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"EnumTagType\"] = 5] = \"EnumTagType\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"ResolvedTypeArguments\"] = 6] = \"ResolvedTypeArguments\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"ResolvedBaseTypes\"] = 7] = \"ResolvedBaseTypes\";\n  TypeSystemPropertyName2[TypeSystemPropertyName2[\"WriteType\"] = 8] = \"WriteType\";\n  return TypeSystemPropertyName2;\n})(TypeSystemPropertyName || {});\nvar CheckMode2 = /* @__PURE__ */ ((CheckMode3) => {\n  CheckMode3[CheckMode3[\"Normal\"] = 0] = \"Normal\";\n  CheckMode3[CheckMode3[\"Contextual\"] = 1] = \"Contextual\";\n  CheckMode3[CheckMode3[\"Inferential\"] = 2] = \"Inferential\";\n  CheckMode3[CheckMode3[\"SkipContextSensitive\"] = 4] = \"SkipContextSensitive\";\n  CheckMode3[CheckMode3[\"SkipGenericFunctions\"] = 8] = \"SkipGenericFunctions\";\n  CheckMode3[CheckMode3[\"IsForSignatureHelp\"] = 16] = \"IsForSignatureHelp\";\n  CheckMode3[CheckMode3[\"IsForStringLiteralArgumentCompletions\"] = 32] = \"IsForStringLiteralArgumentCompletions\";\n  CheckMode3[CheckMode3[\"RestBindingElement\"] = 64] = \"RestBindingElement\";\n  CheckMode3[CheckMode3[\"SkipEtsComponentBody\"] = 128] = \"SkipEtsComponentBody\";\n  return CheckMode3;\n})(CheckMode2 || {});\nvar SignatureCheckMode2 = /* @__PURE__ */ ((SignatureCheckMode3) => {\n  SignatureCheckMode3[SignatureCheckMode3[\"BivariantCallback\"] = 1] = \"BivariantCallback\";\n  SignatureCheckMode3[SignatureCheckMode3[\"StrictCallback\"] = 2] = \"StrictCallback\";\n  SignatureCheckMode3[SignatureCheckMode3[\"IgnoreReturnTypes\"] = 4] = \"IgnoreReturnTypes\";\n  SignatureCheckMode3[SignatureCheckMode3[\"StrictArity\"] = 8] = \"StrictArity\";\n  SignatureCheckMode3[SignatureCheckMode3[\"Callback\"] = 3] = \"Callback\";\n  return SignatureCheckMode3;\n})(SignatureCheckMode2 || {});\nvar IntersectionState = /* @__PURE__ */ ((IntersectionState2) => {\n  IntersectionState2[IntersectionState2[\"None\"] = 0] = \"None\";\n  IntersectionState2[IntersectionState2[\"Source\"] = 1] = \"Source\";\n  IntersectionState2[IntersectionState2[\"Target\"] = 2] = \"Target\";\n  return IntersectionState2;\n})(IntersectionState || {});\nvar RecursionFlags = /* @__PURE__ */ ((RecursionFlags2) => {\n  RecursionFlags2[RecursionFlags2[\"None\"] = 0] = \"None\";\n  RecursionFlags2[RecursionFlags2[\"Source\"] = 1] = \"Source\";\n  RecursionFlags2[RecursionFlags2[\"Target\"] = 2] = \"Target\";\n  RecursionFlags2[RecursionFlags2[\"Both\"] = 3] = \"Both\";\n  return RecursionFlags2;\n})(RecursionFlags || {});\nvar MappedTypeModifiers = /* @__PURE__ */ ((MappedTypeModifiers2) => {\n  MappedTypeModifiers2[MappedTypeModifiers2[\"IncludeReadonly\"] = 1] = \"IncludeReadonly\";\n  MappedTypeModifiers2[MappedTypeModifiers2[\"ExcludeReadonly\"] = 2] = \"ExcludeReadonly\";\n  MappedTypeModifiers2[MappedTypeModifiers2[\"IncludeOptional\"] = 4] = \"IncludeOptional\";\n  MappedTypeModifiers2[MappedTypeModifiers2[\"ExcludeOptional\"] = 8] = \"ExcludeOptional\";\n  return MappedTypeModifiers2;\n})(MappedTypeModifiers || {});\nvar ExpandingFlags = /* @__PURE__ */ ((ExpandingFlags2) => {\n  ExpandingFlags2[ExpandingFlags2[\"None\"] = 0] = \"None\";\n  ExpandingFlags2[ExpandingFlags2[\"Source\"] = 1] = \"Source\";\n  ExpandingFlags2[ExpandingFlags2[\"Target\"] = 2] = \"Target\";\n  ExpandingFlags2[ExpandingFlags2[\"Both\"] = 3] = \"Both\";\n  return ExpandingFlags2;\n})(ExpandingFlags || {});\nvar MembersOrExportsResolutionKind = /* @__PURE__ */ ((MembersOrExportsResolutionKind2) => {\n  MembersOrExportsResolutionKind2[\"resolvedExports\"] = \"resolvedExports\";\n  MembersOrExportsResolutionKind2[\"resolvedMembers\"] = \"resolvedMembers\";\n  return MembersOrExportsResolutionKind2;\n})(MembersOrExportsResolutionKind || {});\nvar UnusedKind = /* @__PURE__ */ ((UnusedKind2) => {\n  UnusedKind2[UnusedKind2[\"Local\"] = 0] = \"Local\";\n  UnusedKind2[UnusedKind2[\"Parameter\"] = 1] = \"Parameter\";\n  return UnusedKind2;\n})(UnusedKind || {});\nvar isNotOverloadAndNotAccessor = and(isNotOverload, isNotAccessor);\nvar DeclarationMeaning = /* @__PURE__ */ ((DeclarationMeaning2) => {\n  DeclarationMeaning2[DeclarationMeaning2[\"GetAccessor\"] = 1] = \"GetAccessor\";\n  DeclarationMeaning2[DeclarationMeaning2[\"SetAccessor\"] = 2] = \"SetAccessor\";\n  DeclarationMeaning2[DeclarationMeaning2[\"PropertyAssignment\"] = 4] = \"PropertyAssignment\";\n  DeclarationMeaning2[DeclarationMeaning2[\"Method\"] = 8] = \"Method\";\n  DeclarationMeaning2[DeclarationMeaning2[\"PrivateStatic\"] = 16] = \"PrivateStatic\";\n  DeclarationMeaning2[DeclarationMeaning2[\"GetOrSetAccessor\"] = 3] = \"GetOrSetAccessor\";\n  DeclarationMeaning2[DeclarationMeaning2[\"PropertyAssignmentOrMethod\"] = 12] = \"PropertyAssignmentOrMethod\";\n  return DeclarationMeaning2;\n})(DeclarationMeaning || {});\nvar DeclarationSpaces = /* @__PURE__ */ ((DeclarationSpaces2) => {\n  DeclarationSpaces2[DeclarationSpaces2[\"None\"] = 0] = \"None\";\n  DeclarationSpaces2[DeclarationSpaces2[\"ExportValue\"] = 1] = \"ExportValue\";\n  DeclarationSpaces2[DeclarationSpaces2[\"ExportType\"] = 2] = \"ExportType\";\n  DeclarationSpaces2[DeclarationSpaces2[\"ExportNamespace\"] = 4] = \"ExportNamespace\";\n  return DeclarationSpaces2;\n})(DeclarationSpaces || {});\nvar MinArgumentCountFlags = /* @__PURE__ */ ((MinArgumentCountFlags2) => {\n  MinArgumentCountFlags2[MinArgumentCountFlags2[\"None\"] = 0] = \"None\";\n  MinArgumentCountFlags2[MinArgumentCountFlags2[\"StrongArityForUntypedJS\"] = 1] = \"StrongArityForUntypedJS\";\n  MinArgumentCountFlags2[MinArgumentCountFlags2[\"VoidIsNonOptional\"] = 2] = \"VoidIsNonOptional\";\n  return MinArgumentCountFlags2;\n})(MinArgumentCountFlags || {});\nvar IntrinsicTypeKind = /* @__PURE__ */ ((IntrinsicTypeKind2) => {\n  IntrinsicTypeKind2[IntrinsicTypeKind2[\"Uppercase\"] = 0] = \"Uppercase\";\n  IntrinsicTypeKind2[IntrinsicTypeKind2[\"Lowercase\"] = 1] = \"Lowercase\";\n  IntrinsicTypeKind2[IntrinsicTypeKind2[\"Capitalize\"] = 2] = \"Capitalize\";\n  IntrinsicTypeKind2[IntrinsicTypeKind2[\"Uncapitalize\"] = 3] = \"Uncapitalize\";\n  return IntrinsicTypeKind2;\n})(IntrinsicTypeKind || {});\nvar intrinsicTypeKinds = new Map2(getEntries({\n  Uppercase: 0 /* Uppercase */,\n  Lowercase: 1 /* Lowercase */,\n  Capitalize: 2 /* Capitalize */,\n  Uncapitalize: 3 /* Uncapitalize */\n}));\nfunction SymbolLinks() {\n}\nfunction NodeLinks() {\n  this.flags = 0;\n}\nfunction getNodeId(node) {\n  if (!node.id) {\n    node.id = nextNodeId;\n    nextNodeId++;\n  }\n  return node.id;\n}\nfunction getSymbolId(symbol) {\n  if (!symbol.id) {\n    symbol.id = nextSymbolId;\n    nextSymbolId++;\n  }\n  return symbol.id;\n}\nfunction isInstantiatedModule(node, preserveConstEnums) {\n  const moduleState = getModuleInstanceState(node);\n  return moduleState === 1 /* Instantiated */ || preserveConstEnums && moduleState === 2 /* ConstEnumOnly */;\n}\nfunction createTypeChecker(host, isTypeCheckerForLinter = false) {\n  var getPackagesMap = memoize(() => {\n    var map2 = new Map2();\n    host.getSourceFiles().forEach((sf) => {\n      if (!sf.resolvedModules)\n        return;\n      sf.resolvedModules.forEach((r) => {\n        if (r && r.packageId)\n          map2.set(r.packageId.name, r.extension === \".d.ts\" /* Dts */ || !!map2.get(r.packageId.name));\n      });\n    });\n    return map2;\n  });\n  var deferredDiagnosticsCallbacks = [];\n  var addLazyDiagnostic = (arg) => {\n    deferredDiagnosticsCallbacks.push(arg);\n  };\n  var cancellationToken;\n  var requestedExternalEmitHelpers;\n  var externalHelpersModule;\n  var Symbol51 = objectAllocator.getSymbolConstructor();\n  var Type31 = objectAllocator.getTypeConstructor();\n  var Signature17 = objectAllocator.getSignatureConstructor();\n  var typeCount = 0;\n  var symbolCount = 0;\n  var enumCount = 0;\n  var totalInstantiationCount = 0;\n  var instantiationCount = 0;\n  var instantiationDepth = 0;\n  var inlineLevel = 0;\n  var currentNode;\n  var varianceTypeParameter;\n  var emptySymbols = createSymbolTable();\n  var arrayVariances = [1 /* Covariant */];\n  var getJsDocNodeCheckedConfig = host.getJsDocNodeCheckedConfig;\n  var compilerOptions = { ...host.getCompilerOptions() };\n  let isAvailableVersion = host.isAvailableVersion;\n  let isAvailableDeclarationValid = host.isAvailableDeclarationValid;\n  if (!!compilerOptions.needDoArkTsLinter) {\n    compilerOptions.skipLibCheck = false;\n  }\n  if (isTypeCheckerForLinter) {\n    compilerOptions.strictNullChecks = true;\n    compilerOptions.strictFunctionTypes = true;\n    compilerOptions.strictPropertyInitialization = true;\n    compilerOptions.noImplicitReturns = true;\n    getJsDocNodeCheckedConfig = void 0;\n  }\n  var languageVersion = getEmitScriptTarget(compilerOptions);\n  var moduleKind = getEmitModuleKind(compilerOptions);\n  var useDefineForClassFields = getUseDefineForClassFields(compilerOptions);\n  var allowSyntheticDefaultImports = getAllowSyntheticDefaultImports(compilerOptions);\n  var strictNullChecks = getStrictOptionValue(compilerOptions, \"strictNullChecks\");\n  var strictFunctionTypes = getStrictOptionValue(compilerOptions, \"strictFunctionTypes\");\n  var strictBindCallApply = getStrictOptionValue(compilerOptions, \"strictBindCallApply\");\n  var strictPropertyInitialization = getStrictOptionValue(compilerOptions, \"strictPropertyInitialization\");\n  var noImplicitAny = getStrictOptionValue(compilerOptions, \"noImplicitAny\");\n  var noImplicitThis = getStrictOptionValue(compilerOptions, \"noImplicitThis\");\n  var useUnknownInCatchVariables = getStrictOptionValue(compilerOptions, \"useUnknownInCatchVariables\");\n  var keyofStringsOnly = !!compilerOptions.keyofStringsOnly;\n  var freshObjectLiteralFlag = compilerOptions.suppressExcessPropertyErrors ? 0 : 8192 /* FreshLiteral */;\n  var exactOptionalPropertyTypes = compilerOptions.exactOptionalPropertyTypes;\n  var checkBinaryExpression = createCheckBinaryExpression();\n  var emitResolver = createResolver();\n  var nodeBuilder = createNodeBuilder();\n  var globals = createSymbolTable();\n  var undefinedSymbol = createSymbol(4 /* Property */, \"undefined\");\n  undefinedSymbol.declarations = [];\n  var globalThisSymbol = createSymbol(1536 /* Module */, \"globalThis\", 8 /* Readonly */);\n  globalThisSymbol.exports = globals;\n  globalThisSymbol.declarations = [];\n  globals.set(globalThisSymbol.escapedName, globalThisSymbol);\n  var argumentsSymbol = createSymbol(4 /* Property */, \"arguments\");\n  var requireSymbol = createSymbol(4 /* Property */, \"require\");\n  var apparentArgumentCount;\n  var constEnumRelate = new Map2();\n  var performanceFileName;\n  var checkedSourceFiles = new Set2();\n  var qualifiedNameCache = new Map2();\n  var qualifiedNameForLinterCache = /* @__PURE__ */ new WeakMap();\n  var typeToStringCache = /* @__PURE__ */ new WeakMap();\n  const skipSdkPath = getSdkPath(compilerOptions);\n  const skipSdkPathReg = new RegExp(skipSdkPath);\n  const checker = {\n    getNodeCount: () => sum(host.getSourceFiles(), \"nodeCount\"),\n    getIdentifierCount: () => sum(host.getSourceFiles(), \"identifierCount\"),\n    getSymbolCount: () => sum(host.getSourceFiles(), \"symbolCount\") + symbolCount,\n    getTypeCount: () => typeCount,\n    getInstantiationCount: () => totalInstantiationCount,\n    getRelationCacheSizes: () => ({\n      assignable: assignableRelation.size,\n      identity: identityRelation.size,\n      subtype: subtypeRelation.size,\n      strictSubtype: strictSubtypeRelation.size\n    }),\n    isUndefinedSymbol: (symbol) => symbol === undefinedSymbol,\n    isArgumentsSymbol: (symbol) => symbol === argumentsSymbol,\n    isUnknownSymbol: (symbol) => symbol === unknownSymbol,\n    getMergedSymbol,\n    getDiagnostics: getDiagnostics2,\n    getGlobalDiagnostics,\n    getRecursionIdentity,\n    getUnmatchedProperties,\n    getTypeOfSymbolAtLocation: (symbol, locationIn) => {\n      const location = getParseTreeNode(locationIn);\n      return location ? getTypeOfSymbolAtLocation(symbol, location) : errorType;\n    },\n    getTypeOfSymbol,\n    getSymbolsOfParameterPropertyDeclaration: (parameterIn, parameterName) => {\n      const parameter = getParseTreeNode(parameterIn, isParameter);\n      if (parameter === void 0)\n        return Debug.fail(\"Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node.\");\n      return getSymbolsOfParameterPropertyDeclaration(parameter, escapeLeadingUnderscores(parameterName));\n    },\n    getDeclaredTypeOfSymbol,\n    getPropertiesOfType,\n    getPropertyOfType: (type, name) => getPropertyOfType(type, escapeLeadingUnderscores(name)),\n    getPrivateIdentifierPropertyOfType: (leftType, name, location) => {\n      const node = getParseTreeNode(location);\n      if (!node) {\n        return void 0;\n      }\n      const propName = escapeLeadingUnderscores(name);\n      const lexicallyScopedIdentifier = lookupSymbolForPrivateIdentifierDeclaration(propName, node);\n      return lexicallyScopedIdentifier ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) : void 0;\n    },\n    getTypeOfPropertyOfType: (type, name) => getTypeOfPropertyOfType(type, escapeLeadingUnderscores(name)),\n    getIndexInfoOfType: (type, kind) => getIndexInfoOfType(type, kind === 0 /* String */ ? stringType : numberType),\n    getIndexInfosOfType,\n    getIndexInfosOfIndexSymbol,\n    getSignaturesOfType,\n    getIndexTypeOfType: (type, kind) => getIndexTypeOfType(type, kind === 0 /* String */ ? stringType : numberType),\n    getIndexType: (type) => getIndexType(type),\n    getBaseTypes,\n    getBaseTypeOfLiteralType,\n    getWidenedType,\n    getTypeFromTypeNode: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isTypeNode);\n      return node ? getTypeFromTypeNode(node) : errorType;\n    },\n    getParameterType: getTypeAtPosition,\n    getParameterIdentifierNameAtPosition,\n    getPromisedTypeOfPromise,\n    getAwaitedType: (type) => getAwaitedType(type),\n    getReturnTypeOfSignature,\n    isNullableType,\n    getNullableType,\n    getNonNullableType: getNonNullableType3,\n    getNonOptionalType: removeOptionalTypeMarker,\n    getTypeArguments,\n    typeToTypeNode: nodeBuilder.typeToTypeNode,\n    indexInfoToIndexSignatureDeclaration: nodeBuilder.indexInfoToIndexSignatureDeclaration,\n    signatureToSignatureDeclaration: nodeBuilder.signatureToSignatureDeclaration,\n    symbolToEntityName: nodeBuilder.symbolToEntityName,\n    symbolToExpression: nodeBuilder.symbolToExpression,\n    symbolToNode: nodeBuilder.symbolToNode,\n    symbolToTypeParameterDeclarations: nodeBuilder.symbolToTypeParameterDeclarations,\n    symbolToParameterDeclaration: nodeBuilder.symbolToParameterDeclaration,\n    typeParameterToDeclaration: nodeBuilder.typeParameterToDeclaration,\n    getSymbolsInScope: (locationIn, meaning) => {\n      const location = getParseTreeNode(locationIn);\n      return location ? getSymbolsInScope(location, meaning) : [];\n    },\n    getSymbolAtLocation: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn);\n      return node ? getSymbolAtLocation(node, true) : void 0;\n    },\n    getIndexInfosAtLocation: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn);\n      return node ? getIndexInfosAtLocation(node) : void 0;\n    },\n    getShorthandAssignmentValueSymbol: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn);\n      return node ? getShorthandAssignmentValueSymbol(node) : void 0;\n    },\n    getExportSpecifierLocalTargetSymbol: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isExportSpecifier);\n      return node ? getExportSpecifierLocalTargetSymbol(node) : void 0;\n    },\n    getExportSymbolOfSymbol(symbol) {\n      return getMergedSymbol(symbol.exportSymbol || symbol);\n    },\n    getTypeAtLocation: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn);\n      return node ? getTypeOfNode(node) : errorType;\n    },\n    getTypeAtLocationForLinter: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn);\n      return node ? getTypeOfNode(node, true) : errorType;\n    },\n    tryGetTypeAtLocationWithoutCheck: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn);\n      return node ? tryGetTypeOfNodeWithoutCheck(node) : errorType;\n    },\n    getTypeOfAssignmentPattern: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isAssignmentPattern);\n      return node && getTypeOfAssignmentPattern(node) || errorType;\n    },\n    getPropertySymbolOfDestructuringAssignment: (locationIn) => {\n      const location = getParseTreeNode(locationIn, isIdentifier);\n      return location ? getPropertySymbolOfDestructuringAssignment(location) : void 0;\n    },\n    signatureToString: (signature, enclosingDeclaration, flags, kind) => {\n      return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind);\n    },\n    typeToString: (type, enclosingDeclaration, flags) => {\n      return typeToString(type, getParseTreeNode(enclosingDeclaration), flags);\n    },\n    typeToStringForLinter: (type, enclosingDeclaration, flags) => {\n      return typeToStringForLinter(type, getParseTreeNode(enclosingDeclaration), flags);\n    },\n    symbolToString: (symbol, enclosingDeclaration, meaning, flags) => {\n      return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags);\n    },\n    typePredicateToString: (predicate, enclosingDeclaration, flags) => {\n      return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags);\n    },\n    writeSignature: (signature, enclosingDeclaration, flags, kind, writer) => {\n      return signatureToString(signature, getParseTreeNode(enclosingDeclaration), flags, kind, writer);\n    },\n    writeType: (type, enclosingDeclaration, flags, writer) => {\n      return typeToString(type, getParseTreeNode(enclosingDeclaration), flags, writer);\n    },\n    writeSymbol: (symbol, enclosingDeclaration, meaning, flags, writer) => {\n      return symbolToString(symbol, getParseTreeNode(enclosingDeclaration), meaning, flags, writer);\n    },\n    writeTypePredicate: (predicate, enclosingDeclaration, flags, writer) => {\n      return typePredicateToString(predicate, getParseTreeNode(enclosingDeclaration), flags, writer);\n    },\n    getAugmentedPropertiesOfType,\n    getRootSymbols,\n    getSymbolOfExpando,\n    getContextualType: (nodeIn, contextFlags) => {\n      const node = getParseTreeNode(nodeIn, isExpression);\n      if (!node) {\n        return void 0;\n      }\n      if (contextFlags & 4 /* Completions */) {\n        return runWithInferenceBlockedFromSourceNode(node, () => getContextualType2(node, contextFlags));\n      }\n      return getContextualType2(node, contextFlags);\n    },\n    getContextualTypeForObjectLiteralElement: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isObjectLiteralElementLike);\n      return node ? getContextualTypeForObjectLiteralElement(node, void 0) : void 0;\n    },\n    getContextualTypeForArgumentAtIndex: (nodeIn, argIndex) => {\n      const node = getParseTreeNode(nodeIn, isCallLikeExpression);\n      return node && getContextualTypeForArgumentAtIndex(node, argIndex);\n    },\n    getContextualTypeForJsxAttribute: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isJsxAttributeLike);\n      return node && getContextualTypeForJsxAttribute(node, void 0);\n    },\n    isContextSensitive,\n    getTypeOfPropertyOfContextualType,\n    getFullyQualifiedName,\n    getFullyQualifiedNameForLinter,\n    tryGetResolvedSignatureWithoutCheck: (node, candidatesOutArray, argumentCount) => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 128 /* SkipEtsComponentBody */),\n    getResolvedSignature: (node, candidatesOutArray, argumentCount) => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 0 /* Normal */),\n    getResolvedSignatureForStringLiteralCompletions: (call, editingArgument, candidatesOutArray) => getResolvedSignatureWorker(call, candidatesOutArray, void 0, 32 /* IsForStringLiteralArgumentCompletions */, editingArgument),\n    getResolvedSignatureForSignatureHelp: (node, candidatesOutArray, argumentCount) => getResolvedSignatureWorker(node, candidatesOutArray, argumentCount, 16 /* IsForSignatureHelp */),\n    getExpandedParameters,\n    hasEffectiveRestParameter,\n    containsArgumentsReference,\n    getConstantValue: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, canHaveConstantValue);\n      return node ? getConstantValue2(node) : void 0;\n    },\n    isValidPropertyAccess: (nodeIn, propertyName) => {\n      const node = getParseTreeNode(nodeIn, isPropertyAccessOrQualifiedNameOrImportTypeNode);\n      return !!node && isValidPropertyAccess(node, escapeLeadingUnderscores(propertyName));\n    },\n    isValidPropertyAccessForCompletions: (nodeIn, type, property) => {\n      const node = getParseTreeNode(nodeIn, isPropertyAccessExpression);\n      return !!node && isValidPropertyAccessForCompletions(node, type, property);\n    },\n    getSignatureFromDeclaration: (declarationIn) => {\n      const declaration = getParseTreeNode(declarationIn, isFunctionLike);\n      return declaration ? getSignatureFromDeclaration(declaration) : void 0;\n    },\n    isImplementationOfOverload: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isFunctionLike);\n      return node ? isImplementationOfOverload(node) : void 0;\n    },\n    getImmediateAliasedSymbol,\n    getAliasedSymbol: resolveAlias,\n    getEmitResolver,\n    getExportsOfModule: getExportsOfModuleAsArray,\n    getExportsAndPropertiesOfModule,\n    forEachExportAndPropertyOfModule,\n    getSymbolWalker: createGetSymbolWalker(\n      getRestTypeOfSignature,\n      getTypePredicateOfSignature,\n      getReturnTypeOfSignature,\n      getBaseTypes,\n      resolveStructuredTypeMembers,\n      getTypeOfSymbol,\n      getResolvedSymbol,\n      getConstraintOfTypeParameter,\n      getFirstIdentifier,\n      getTypeArguments\n    ),\n    getAmbientModules,\n    getJsxIntrinsicTagNamesAt,\n    isOptionalParameter: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isParameter);\n      return node ? isOptionalParameter(node) : false;\n    },\n    tryGetMemberInModuleExports: (name, symbol) => tryGetMemberInModuleExports(escapeLeadingUnderscores(name), symbol),\n    tryGetMemberInModuleExportsAndProperties: (name, symbol) => tryGetMemberInModuleExportsAndProperties(escapeLeadingUnderscores(name), symbol),\n    tryFindAmbientModule: (moduleName) => tryFindAmbientModule(moduleName, true),\n    tryFindAmbientModuleWithoutAugmentations: (moduleName) => {\n      return tryFindAmbientModule(moduleName, false);\n    },\n    getApparentType,\n    getUnionType,\n    isTypeAssignableTo,\n    createAnonymousType,\n    createSignature,\n    createSymbol,\n    createIndexInfo,\n    getAnyType: () => anyType,\n    getStringType: () => stringType,\n    getNumberType: () => numberType,\n    createPromiseType,\n    createArrayType,\n    getElementTypeOfArrayType,\n    getBooleanType: () => booleanType,\n    getFalseType: (fresh) => fresh ? falseType : regularFalseType,\n    getTrueType: (fresh) => fresh ? trueType : regularTrueType,\n    getVoidType: () => voidType,\n    getUndefinedType: () => undefinedType,\n    getNullType: () => nullType,\n    getESSymbolType: () => esSymbolType,\n    getNeverType: () => neverType,\n    getOptionalType: () => optionalType,\n    getPromiseType: () => getGlobalPromiseType(false),\n    getPromiseLikeType: () => getGlobalPromiseLikeType(false),\n    getAsyncIterableType: () => {\n      const type = getGlobalAsyncIterableType(false);\n      if (type === emptyGenericType)\n        return void 0;\n      return type;\n    },\n    isSymbolAccessible,\n    isArrayType,\n    isTupleType,\n    isArrayLikeType: isArrayLikeType2,\n    isTypeInvalidDueToUnionDiscriminant,\n    getExactOptionalProperties,\n    getAllPossiblePropertiesOfTypes,\n    getSuggestedSymbolForNonexistentProperty,\n    getSuggestionForNonexistentProperty,\n    getSuggestedSymbolForNonexistentJSXAttribute,\n    getSuggestedSymbolForNonexistentSymbol: (location, name, meaning) => getSuggestedSymbolForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning),\n    getSuggestionForNonexistentSymbol: (location, name, meaning) => getSuggestionForNonexistentSymbol(location, escapeLeadingUnderscores(name), meaning),\n    getSuggestedSymbolForNonexistentModule,\n    getSuggestionForNonexistentExport,\n    getSuggestedSymbolForNonexistentClassMember,\n    getBaseConstraintOfType,\n    getDefaultFromTypeParameter: (type) => type && type.flags & 262144 /* TypeParameter */ ? getDefaultFromTypeParameter(type) : void 0,\n    resolveName(name, location, meaning, excludeGlobals) {\n      return resolveName(location, escapeLeadingUnderscores(name), meaning, void 0, void 0, false, excludeGlobals);\n    },\n    getJsxNamespace: (n) => unescapeLeadingUnderscores(getJsxNamespace(n)),\n    getJsxFragmentFactory: (n) => {\n      const jsxFragmentFactory = getJsxFragmentFactoryEntity(n);\n      return jsxFragmentFactory && unescapeLeadingUnderscores(getFirstIdentifier(jsxFragmentFactory).escapedText);\n    },\n    getAccessibleSymbolChain,\n    getTypePredicateOfSignature,\n    resolveExternalModuleName: (moduleSpecifierIn) => {\n      const moduleSpecifier = getParseTreeNode(moduleSpecifierIn, isExpression);\n      return moduleSpecifier && resolveExternalModuleName(moduleSpecifier, moduleSpecifier, true);\n    },\n    resolveExternalModuleSymbol,\n    tryGetThisTypeAt: (nodeIn, includeGlobalThis, container) => {\n      const node = getParseTreeNode(nodeIn);\n      return node && tryGetThisTypeAt(node, includeGlobalThis, container);\n    },\n    getTypeArgumentConstraint: (nodeIn) => {\n      const node = getParseTreeNode(nodeIn, isTypeNode);\n      return node && getTypeArgumentConstraint(node);\n    },\n    getSuggestionDiagnostics: (fileIn, ct) => {\n      const file = getParseTreeNode(fileIn, isSourceFile) || Debug.fail(\"Could not determine parsed source file.\");\n      if (skipTypeChecking(file, compilerOptions, host) || file.isDeclarationFile && !!compilerOptions.needDoArkTsLinter) {\n        return emptyArray;\n      }\n      let diagnostics2;\n      try {\n        cancellationToken = ct;\n        checkSourceFileWithEagerDiagnostics(file);\n        Debug.assert(!!(getNodeLinks(file).flags & 1 /* TypeChecked */));\n        diagnostics2 = addRange(diagnostics2, suggestionDiagnostics.getDiagnostics(file.fileName));\n        checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(file), (containingNode, kind, diag2) => {\n          if (!containsParseError(containingNode) && !unusedIsError(kind, !!(containingNode.flags & 16777216 /* Ambient */))) {\n            (diagnostics2 || (diagnostics2 = [])).push({ ...diag2, category: 2 /* Suggestion */ });\n          }\n        });\n        return diagnostics2 || emptyArray;\n      } finally {\n        cancellationToken = void 0;\n      }\n    },\n    runWithCancellationToken: (token, callback) => {\n      try {\n        cancellationToken = token;\n        return callback(checker);\n      } finally {\n        cancellationToken = void 0;\n      }\n    },\n    getLocalTypeParametersOfClassOrInterfaceOrTypeAlias,\n    isDeclarationVisible,\n    isPropertyAccessible,\n    getTypeOnlyAliasDeclaration,\n    getMemberOverrideModifierStatus,\n    isTypeParameterPossiblyReferenced,\n    getConstEnumRelate: () => constEnumRelate,\n    clearConstEnumRelate: () => {\n      constEnumRelate && constEnumRelate.clear();\n    },\n    deleteConstEnumRelate: (path) => {\n      constEnumRelate && constEnumRelate.delete(path);\n    },\n    getTypeArgumentsForResolvedSignature,\n    getCheckedSourceFiles: () => checkedSourceFiles,\n    collectHaveTsNoCheckFilesForLinter: (sourceFile) => {\n      checkedSourceFiles.add(sourceFile);\n    },\n    clearQualifiedNameCache: () => {\n      qualifiedNameCache && qualifiedNameCache.clear();\n    },\n    clearQualifiedNameForLinterCache: () => {\n      qualifiedNameForLinterCache = /* @__PURE__ */ new WeakMap();\n    },\n    clearTypeToStringForLinterCache: () => {\n      typeToStringCache = /* @__PURE__ */ new WeakMap();\n    },\n    isStaticRecord,\n    isStaticSourceFile\n  };\n  function getTypeArgumentsForResolvedSignature(signature) {\n    if (signature.mapper === void 0) {\n      return void 0;\n    }\n    return instantiateTypes((signature.target || signature).typeParameters, signature.mapper);\n  }\n  function runWithInferenceBlockedFromSourceNode(node, fn) {\n    const containingCall = findAncestor(node, isCallLikeExpression);\n    const containingCallResolvedSignature = containingCall && getNodeLinks(containingCall).resolvedSignature;\n    if (containingCall) {\n      let toMarkSkip = node;\n      do {\n        getNodeLinks(toMarkSkip).skipDirectInference = true;\n        toMarkSkip = toMarkSkip.parent;\n      } while (toMarkSkip && toMarkSkip !== containingCall);\n      getNodeLinks(containingCall).resolvedSignature = void 0;\n    }\n    const result = fn();\n    if (containingCall) {\n      let toMarkSkip = node;\n      do {\n        getNodeLinks(toMarkSkip).skipDirectInference = void 0;\n        toMarkSkip = toMarkSkip.parent;\n      } while (toMarkSkip && toMarkSkip !== containingCall);\n      getNodeLinks(containingCall).resolvedSignature = containingCallResolvedSignature;\n    }\n    return result;\n  }\n  function getResolvedSignatureWorker(nodeIn, candidatesOutArray, argumentCount, checkMode, editingArgument) {\n    const node = getParseTreeNode(nodeIn, isCallLikeExpression);\n    apparentArgumentCount = argumentCount;\n    const res = !node ? void 0 : editingArgument ? runWithInferenceBlockedFromSourceNode(editingArgument, () => getResolvedSignature(node, candidatesOutArray, checkMode)) : getResolvedSignature(node, candidatesOutArray, checkMode);\n    apparentArgumentCount = void 0;\n    return res;\n  }\n  var tupleTypes = new Map2();\n  var unionTypes = new Map2();\n  var intersectionTypes = new Map2();\n  var stringLiteralTypes = new Map2();\n  var numberLiteralTypes = new Map2();\n  var bigIntLiteralTypes = new Map2();\n  var enumLiteralTypes = new Map2();\n  var indexedAccessTypes = new Map2();\n  var templateLiteralTypes = new Map2();\n  var stringMappingTypes = new Map2();\n  var substitutionTypes = new Map2();\n  var subtypeReductionCache = new Map2();\n  var cachedTypes = new Map2();\n  var evolvingArrayTypes = [];\n  var undefinedProperties = new Map2();\n  var markerTypes = new Set2();\n  var unknownSymbol = createSymbol(4 /* Property */, \"unknown\");\n  var resolvingSymbol = createSymbol(0, \"__resolving__\" /* Resolving */);\n  var unresolvedSymbols = new Map2();\n  var errorTypes = new Map2();\n  var anyType = createIntrinsicType(1 /* Any */, \"any\");\n  var autoType = createIntrinsicType(1 /* Any */, \"any\", 262144 /* NonInferrableType */);\n  var wildcardType = createIntrinsicType(1 /* Any */, \"any\");\n  var errorType = createIntrinsicType(1 /* Any */, \"error\");\n  var unresolvedType = createIntrinsicType(1 /* Any */, \"unresolved\");\n  var nonInferrableAnyType = createIntrinsicType(1 /* Any */, \"any\", 65536 /* ContainsWideningType */);\n  var intrinsicMarkerType = createIntrinsicType(1 /* Any */, \"intrinsic\");\n  var unknownType = createIntrinsicType(2 /* Unknown */, \"unknown\");\n  var nonNullUnknownType = createIntrinsicType(2 /* Unknown */, \"unknown\");\n  var undefinedType = createIntrinsicType(32768 /* Undefined */, \"undefined\");\n  var undefinedWideningType = strictNullChecks ? undefinedType : createIntrinsicType(32768 /* Undefined */, \"undefined\", 65536 /* ContainsWideningType */);\n  var optionalType = createIntrinsicType(32768 /* Undefined */, \"undefined\");\n  var missingType = exactOptionalPropertyTypes ? createIntrinsicType(32768 /* Undefined */, \"undefined\") : undefinedType;\n  var nullType = createIntrinsicType(65536 /* Null */, \"null\");\n  var nullWideningType = strictNullChecks ? nullType : createIntrinsicType(65536 /* Null */, \"null\", 65536 /* ContainsWideningType */);\n  var stringType = createIntrinsicType(4 /* String */, \"string\");\n  var numberType = createIntrinsicType(8 /* Number */, \"number\");\n  var bigintType = createIntrinsicType(64 /* BigInt */, \"bigint\");\n  var falseType = createIntrinsicType(512 /* BooleanLiteral */, \"false\");\n  var regularFalseType = createIntrinsicType(512 /* BooleanLiteral */, \"false\");\n  var trueType = createIntrinsicType(512 /* BooleanLiteral */, \"true\");\n  var regularTrueType = createIntrinsicType(512 /* BooleanLiteral */, \"true\");\n  trueType.regularType = regularTrueType;\n  trueType.freshType = trueType;\n  regularTrueType.regularType = regularTrueType;\n  regularTrueType.freshType = trueType;\n  falseType.regularType = regularFalseType;\n  falseType.freshType = falseType;\n  regularFalseType.regularType = regularFalseType;\n  regularFalseType.freshType = falseType;\n  var booleanType = getUnionType([regularFalseType, regularTrueType]);\n  var esSymbolType = createIntrinsicType(4096 /* ESSymbol */, \"symbol\");\n  var voidType = createIntrinsicType(16384 /* Void */, \"void\");\n  var neverType = createIntrinsicType(131072 /* Never */, \"never\");\n  var silentNeverType = createIntrinsicType(131072 /* Never */, \"never\", 262144 /* NonInferrableType */);\n  var implicitNeverType = createIntrinsicType(131072 /* Never */, \"never\");\n  var unreachableNeverType = createIntrinsicType(131072 /* Never */, \"never\");\n  var nonPrimitiveType = createIntrinsicType(67108864 /* NonPrimitive */, \"object\");\n  var stringOrNumberType = getUnionType([stringType, numberType]);\n  var stringNumberSymbolType = getUnionType([stringType, numberType, esSymbolType]);\n  var keyofConstraintType = keyofStringsOnly ? stringType : stringNumberSymbolType;\n  var numberOrBigIntType = getUnionType([numberType, bigintType]);\n  var templateConstraintType = getUnionType([stringType, numberType, booleanType, bigintType, nullType, undefinedType]);\n  var numericStringType = getTemplateLiteralType([\"\", \"\"], [numberType]);\n  var restrictiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? getRestrictiveTypeParameter(t) : t, () => \"(restrictive mapper)\");\n  var permissiveMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? wildcardType : t, () => \"(permissive mapper)\");\n  var uniqueLiteralType = createIntrinsicType(131072 /* Never */, \"never\");\n  var uniqueLiteralMapper = makeFunctionTypeMapper((t) => t.flags & 262144 /* TypeParameter */ ? uniqueLiteralType : t, () => \"(unique literal mapper)\");\n  var outofbandVarianceMarkerHandler;\n  var reportUnreliableMapper = makeFunctionTypeMapper((t) => {\n    if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) {\n      outofbandVarianceMarkerHandler(true);\n    }\n    return t;\n  }, () => \"(unmeasurable reporter)\");\n  var reportUnmeasurableMapper = makeFunctionTypeMapper((t) => {\n    if (outofbandVarianceMarkerHandler && (t === markerSuperType || t === markerSubType || t === markerOtherType)) {\n      outofbandVarianceMarkerHandler(false);\n    }\n    return t;\n  }, () => \"(unreliable reporter)\");\n  var emptyObjectType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  var emptyJsxObjectType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  emptyJsxObjectType.objectFlags |= 2048 /* JsxAttributes */;\n  var emptyTypeLiteralSymbol = createSymbol(2048 /* TypeLiteral */, \"__type\" /* Type */);\n  emptyTypeLiteralSymbol.members = createSymbolTable();\n  var emptyTypeLiteralType = createAnonymousType(emptyTypeLiteralSymbol, emptySymbols, emptyArray, emptyArray, emptyArray);\n  var unknownEmptyObjectType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  var unknownUnionType = strictNullChecks ? getUnionType([undefinedType, nullType, unknownEmptyObjectType]) : unknownType;\n  var emptyGenericType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  emptyGenericType.instantiations = new Map2();\n  var anyFunctionType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  anyFunctionType.objectFlags |= 262144 /* NonInferrableType */;\n  var noConstraintType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  var circularConstraintType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  var resolvingDefaultType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n  var markerSuperType = createTypeParameter();\n  var markerSubType = createTypeParameter();\n  markerSubType.constraint = markerSuperType;\n  var markerOtherType = createTypeParameter();\n  var markerSuperTypeForCheck = createTypeParameter();\n  var markerSubTypeForCheck = createTypeParameter();\n  markerSubTypeForCheck.constraint = markerSuperTypeForCheck;\n  var noTypePredicate = createTypePredicate(1 /* Identifier */, \"<<unresolved>>\", 0, anyType);\n  var anySignature = createSignature(void 0, void 0, void 0, emptyArray, anyType, void 0, 0, 0 /* None */);\n  var unknownSignature = createSignature(void 0, void 0, void 0, emptyArray, errorType, void 0, 0, 0 /* None */);\n  var resolvingSignature = createSignature(void 0, void 0, void 0, emptyArray, anyType, void 0, 0, 0 /* None */);\n  var silentNeverSignature = createSignature(void 0, void 0, void 0, emptyArray, silentNeverType, void 0, 0, 0 /* None */);\n  var annotationDefaultSignature = createSignature(void 0, void 0, void 0, emptyArray, voidType, void 0, 0, 0 /* None */);\n  var enumNumberIndexInfo = createIndexInfo(numberType, stringType, true);\n  var iterationTypesCache = new Map2();\n  var noIterationTypes = {\n    get yieldType() {\n      return Debug.fail(\"Not supported\");\n    },\n    get returnType() {\n      return Debug.fail(\"Not supported\");\n    },\n    get nextType() {\n      return Debug.fail(\"Not supported\");\n    }\n  };\n  var anyIterationTypes = createIterationTypes(anyType, anyType, anyType);\n  var anyIterationTypesExceptNext = createIterationTypes(anyType, anyType, unknownType);\n  var defaultIterationTypes = createIterationTypes(neverType, anyType, undefinedType);\n  var asyncIterationTypesResolver = {\n    iterableCacheKey: \"iterationTypesOfAsyncIterable\",\n    iteratorCacheKey: \"iterationTypesOfAsyncIterator\",\n    iteratorSymbolName: \"asyncIterator\",\n    getGlobalIteratorType: getGlobalAsyncIteratorType,\n    getGlobalIterableType: getGlobalAsyncIterableType,\n    getGlobalIterableIteratorType: getGlobalAsyncIterableIteratorType,\n    getGlobalGeneratorType: getGlobalAsyncGeneratorType,\n    resolveIterationType: getAwaitedType,\n    mustHaveANextMethodDiagnostic: Diagnostics.An_async_iterator_must_have_a_next_method,\n    mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,\n    mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property\n  };\n  var syncIterationTypesResolver = {\n    iterableCacheKey: \"iterationTypesOfIterable\",\n    iteratorCacheKey: \"iterationTypesOfIterator\",\n    iteratorSymbolName: \"iterator\",\n    getGlobalIteratorType,\n    getGlobalIterableType,\n    getGlobalIterableIteratorType,\n    getGlobalGeneratorType,\n    resolveIterationType: (type, _errorNode) => type,\n    mustHaveANextMethodDiagnostic: Diagnostics.An_iterator_must_have_a_next_method,\n    mustBeAMethodDiagnostic: Diagnostics.The_0_property_of_an_iterator_must_be_a_method,\n    mustHaveAValueDiagnostic: Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property\n  };\n  var amalgamatedDuplicates;\n  var reverseMappedCache = new Map2();\n  var inInferTypeForHomomorphicMappedType = false;\n  var ambientModulesCache;\n  var patternAmbientModules;\n  var patternAmbientModuleAugmentations;\n  var globalObjectType;\n  var globalFunctionType;\n  var globalCallableFunctionType;\n  var globalNewableFunctionType;\n  var globalArrayType;\n  var globalReadonlyArrayType;\n  var globalStringType;\n  var globalNumberType;\n  var globalBooleanType;\n  var globalRegExpType;\n  var globalThisType;\n  var anyArrayType;\n  var autoArrayType;\n  var anyReadonlyArrayType;\n  var deferredGlobalNonNullableTypeAlias;\n  var deferredGlobalESSymbolConstructorSymbol;\n  var deferredGlobalESSymbolConstructorTypeSymbol;\n  var deferredGlobalESSymbolType;\n  var deferredGlobalTypedPropertyDescriptorType;\n  var deferredGlobalPromiseType;\n  var deferredGlobalPromiseLikeType;\n  var deferredGlobalPromiseConstructorSymbol;\n  var deferredGlobalPromiseConstructorLikeType;\n  var deferredGlobalIterableType;\n  var deferredGlobalIteratorType;\n  var deferredGlobalIterableIteratorType;\n  var deferredGlobalGeneratorType;\n  var deferredGlobalIteratorYieldResultType;\n  var deferredGlobalIteratorReturnResultType;\n  var deferredGlobalAsyncIterableType;\n  var deferredGlobalAsyncIteratorType;\n  var deferredGlobalAsyncIterableIteratorType;\n  var deferredGlobalAsyncGeneratorType;\n  var deferredGlobalTemplateStringsArrayType;\n  var deferredGlobalImportMetaType;\n  var deferredGlobalImportMetaExpressionType;\n  var deferredGlobalImportCallOptionsType;\n  var deferredGlobalExtractSymbol;\n  var deferredGlobalOmitSymbol;\n  var deferredGlobalAwaitedSymbol;\n  var deferredGlobalBigIntType;\n  var deferredGlobalNaNSymbol;\n  var deferredGlobalRecordSymbol;\n  var allPotentiallyUnusedIdentifiers = new Map2();\n  var flowLoopStart = 0;\n  var flowLoopCount = 0;\n  var sharedFlowCount = 0;\n  var flowAnalysisDisabled = false;\n  var flowInvocationCount = 0;\n  var lastFlowNode;\n  var lastFlowNodeReachable;\n  var flowTypeCache;\n  var emptyStringType = getStringLiteralType(\"\");\n  var zeroType = getNumberLiteralType(0);\n  var zeroBigIntType = getBigIntLiteralType({ negative: false, base10Value: \"0\" });\n  var resolutionTargets = [];\n  var resolutionResults = [];\n  var resolutionPropertyNames = [];\n  var suggestionCount = 0;\n  var maximumSuggestionCount = 10;\n  var mergedSymbols = [];\n  var symbolLinks = [];\n  var nodeLinks = [];\n  var flowLoopCaches = [];\n  var flowLoopNodes = [];\n  var flowLoopKeys = [];\n  var flowLoopTypes = [];\n  var sharedFlowNodes = [];\n  var sharedFlowTypes = [];\n  var flowNodeReachable = [];\n  var flowNodePostSuper = [];\n  var potentialThisCollisions = [];\n  var potentialNewTargetCollisions = [];\n  var potentialWeakMapSetCollisions = [];\n  var potentialReflectCollisions = [];\n  var potentialUnusedRenamedBindingElementsInTypes = [];\n  var awaitedTypeStack = [];\n  var diagnostics = createDiagnosticCollection();\n  var suggestionDiagnostics = createDiagnosticCollection();\n  var typeofType = createTypeofType();\n  var _jsxNamespace;\n  var _jsxFactoryEntity;\n  var subtypeRelation = new Map2();\n  var strictSubtypeRelation = new Map2();\n  var assignableRelation = new Map2();\n  var comparableRelation = new Map2();\n  var identityRelation = new Map2();\n  var enumRelation = new Map2();\n  var builtinGlobals = createSymbolTable();\n  builtinGlobals.set(undefinedSymbol.escapedName, undefinedSymbol);\n  var suggestedExtensions = [\n    [\".mts\", \".mjs\"],\n    [\".ts\", \".js\"],\n    [\".cts\", \".cjs\"],\n    [\".mjs\", \".mjs\"],\n    [\".js\", \".js\"],\n    [\".cjs\", \".cjs\"],\n    [\".tsx\", compilerOptions.jsx === 1 /* Preserve */ ? \".jsx\" : \".js\"],\n    [\".jsx\", \".jsx\"],\n    [\".json\", \".json\"]\n  ];\n  let jsDocFileCheckInfo = {\n    fileNeedCheck: false,\n    checkPayload: void 0,\n    currentFileName: \"\"\n  };\n  initializeTypeChecker();\n  return checker;\n  function getCachedType(key) {\n    return key ? cachedTypes.get(key) : void 0;\n  }\n  function setCachedType(key, type) {\n    if (key)\n      cachedTypes.set(key, type);\n    return type;\n  }\n  function getJsxNamespace(location) {\n    if (location) {\n      const file = getSourceFileOfNode(location);\n      if (file) {\n        if (isJsxOpeningFragment(location)) {\n          if (file.localJsxFragmentNamespace) {\n            return file.localJsxFragmentNamespace;\n          }\n          const jsxFragmentPragma = file.pragmas.get(\"jsxfrag\");\n          if (jsxFragmentPragma) {\n            const chosenPragma = isArray(jsxFragmentPragma) ? jsxFragmentPragma[0] : jsxFragmentPragma;\n            file.localJsxFragmentFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion);\n            visitNode(file.localJsxFragmentFactory, markAsSynthetic);\n            if (file.localJsxFragmentFactory) {\n              return file.localJsxFragmentNamespace = getFirstIdentifier(file.localJsxFragmentFactory).escapedText;\n            }\n          }\n          const entity = getJsxFragmentFactoryEntity(location);\n          if (entity) {\n            file.localJsxFragmentFactory = entity;\n            return file.localJsxFragmentNamespace = getFirstIdentifier(entity).escapedText;\n          }\n        } else {\n          const localJsxNamespace = getLocalJsxNamespace(file);\n          if (localJsxNamespace) {\n            return file.localJsxNamespace = localJsxNamespace;\n          }\n        }\n      }\n    }\n    if (!_jsxNamespace) {\n      _jsxNamespace = \"React\";\n      if (compilerOptions.jsxFactory) {\n        _jsxFactoryEntity = parseIsolatedEntityName(compilerOptions.jsxFactory, languageVersion);\n        visitNode(_jsxFactoryEntity, markAsSynthetic);\n        if (_jsxFactoryEntity) {\n          _jsxNamespace = getFirstIdentifier(_jsxFactoryEntity).escapedText;\n        }\n      } else if (compilerOptions.reactNamespace) {\n        _jsxNamespace = escapeLeadingUnderscores(compilerOptions.reactNamespace);\n      }\n    }\n    if (!_jsxFactoryEntity) {\n      _jsxFactoryEntity = factory.createQualifiedName(factory.createIdentifier(unescapeLeadingUnderscores(_jsxNamespace)), \"createElement\");\n    }\n    return _jsxNamespace;\n  }\n  function getLocalJsxNamespace(file) {\n    if (file.localJsxNamespace) {\n      return file.localJsxNamespace;\n    }\n    const jsxPragma = file.pragmas.get(\"jsx\");\n    if (jsxPragma) {\n      const chosenPragma = isArray(jsxPragma) ? jsxPragma[0] : jsxPragma;\n      file.localJsxFactory = parseIsolatedEntityName(chosenPragma.arguments.factory, languageVersion);\n      visitNode(file.localJsxFactory, markAsSynthetic);\n      if (file.localJsxFactory) {\n        return file.localJsxNamespace = getFirstIdentifier(file.localJsxFactory).escapedText;\n      }\n    }\n  }\n  function markAsSynthetic(node) {\n    setTextRangePosEnd(node, -1, -1);\n    return visitEachChild(node, markAsSynthetic, nullTransformationContext);\n  }\n  function getEmitResolver(sourceFile, cancellationToken2) {\n    getDiagnostics2(sourceFile, cancellationToken2);\n    return emitResolver;\n  }\n  function lookupOrIssueError(location, message, arg0, arg1, arg2, arg3) {\n    const diagnostic = location ? createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : createCompilerDiagnostic(message, arg0, arg1, arg2, arg3);\n    const existing = diagnostics.lookup(diagnostic);\n    if (existing) {\n      return existing;\n    } else {\n      diagnostics.add(diagnostic);\n      return diagnostic;\n    }\n  }\n  function errorSkippedOn(key, location, message, arg0, arg1, arg2, arg3) {\n    const diagnostic = error(location, message, arg0, arg1, arg2, arg3);\n    diagnostic.skippedOn = key;\n    return diagnostic;\n  }\n  function createError(location, message, arg0, arg1, arg2, arg3) {\n    return location ? createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : createCompilerDiagnostic(message, arg0, arg1, arg2, arg3);\n  }\n  function error(location, message, arg0, arg1, arg2, arg3) {\n    const diagnostic = createError(location, message, arg0, arg1, arg2, arg3);\n    diagnostics.add(diagnostic);\n    return diagnostic;\n  }\n  function addErrorOrSuggestion(isError, diagnostic) {\n    if (isError) {\n      diagnostics.add(diagnostic);\n    } else {\n      suggestionDiagnostics.add({ ...diagnostic, category: 2 /* Suggestion */ });\n    }\n  }\n  function errorOrSuggestion(isError, location, message, arg0, arg1, arg2, arg3) {\n    if (location.pos < 0 || location.end < 0) {\n      if (!isError) {\n        return;\n      }\n      const file = getSourceFileOfNode(location);\n      addErrorOrSuggestion(isError, \"message\" in message ? createFileDiagnostic(file, 0, 0, message, arg0, arg1, arg2, arg3) : createDiagnosticForFileFromMessageChain(file, message));\n      return;\n    }\n    addErrorOrSuggestion(isError, \"message\" in message ? createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : createDiagnosticForNodeFromMessageChain(location, message));\n  }\n  function errorAndMaybeSuggestAwait(location, maybeMissingAwait, message, arg0, arg1, arg2, arg3) {\n    const diagnostic = error(location, message, arg0, arg1, arg2, arg3);\n    if (maybeMissingAwait) {\n      const related = createDiagnosticForNode(location, Diagnostics.Did_you_forget_to_use_await);\n      addRelatedInfo(diagnostic, related);\n    }\n    return diagnostic;\n  }\n  function addDeprecatedSuggestionWorker(declarations, diagnostic) {\n    const deprecatedTag = Array.isArray(declarations) ? forEach(declarations, getJSDocDeprecatedTag) : getJSDocDeprecatedTag(declarations);\n    if (deprecatedTag) {\n      addRelatedInfo(\n        diagnostic,\n        createDiagnosticForNode(deprecatedTag, Diagnostics.The_declaration_was_marked_as_deprecated_here)\n      );\n    }\n    suggestionDiagnostics.add(diagnostic);\n    return diagnostic;\n  }\n  function isDeprecatedSymbol(symbol) {\n    return !!(getDeclarationNodeFlagsFromSymbol(symbol) & 268435456 /* Deprecated */);\n  }\n  function addDeprecatedSuggestion(location, declarations, deprecatedEntity) {\n    const diagnostic = createDiagnosticForNode(location, Diagnostics._0_is_deprecated, deprecatedEntity);\n    return addDeprecatedSuggestionWorker(declarations, diagnostic);\n  }\n  function addDeprecatedSuggestionWithSignature(location, declaration, deprecatedEntity, signatureString) {\n    const diagnostic = deprecatedEntity ? createDiagnosticForNode(location, Diagnostics.The_signature_0_of_1_is_deprecated, signatureString, deprecatedEntity) : createDiagnosticForNode(location, Diagnostics._0_is_deprecated, signatureString);\n    return addDeprecatedSuggestionWorker(declaration, diagnostic);\n  }\n  function createSymbol(flags, name, checkFlags) {\n    symbolCount++;\n    const symbol = new Symbol51(flags | 33554432 /* Transient */, name);\n    symbol.checkFlags = checkFlags || 0;\n    return symbol;\n  }\n  function getExcludedSymbolFlags(flags) {\n    let result = 0;\n    if (flags & 2 /* BlockScopedVariable */)\n      result |= 111551 /* BlockScopedVariableExcludes */;\n    if (flags & 1 /* FunctionScopedVariable */)\n      result |= 111550 /* FunctionScopedVariableExcludes */;\n    if (flags & 4 /* Property */)\n      result |= 0 /* PropertyExcludes */;\n    if (flags & 8 /* EnumMember */)\n      result |= 900095 /* EnumMemberExcludes */;\n    if (flags & 16 /* Function */)\n      result |= 110991 /* FunctionExcludes */;\n    if (flags & 32 /* Class */)\n      result |= 899503 /* ClassExcludes */;\n    if (flags & 64 /* Interface */)\n      result |= 788872 /* InterfaceExcludes */;\n    if (flags & 256 /* RegularEnum */)\n      result |= 899327 /* RegularEnumExcludes */;\n    if (flags & 128 /* ConstEnum */)\n      result |= 899967 /* ConstEnumExcludes */;\n    if (flags & 512 /* ValueModule */)\n      result |= 110735 /* ValueModuleExcludes */;\n    if (flags & 8192 /* Method */)\n      result |= 103359 /* MethodExcludes */;\n    if (flags & 32768 /* GetAccessor */)\n      result |= 46015 /* GetAccessorExcludes */;\n    if (flags & 65536 /* SetAccessor */)\n      result |= 78783 /* SetAccessorExcludes */;\n    if (flags & 262144 /* TypeParameter */)\n      result |= 526824 /* TypeParameterExcludes */;\n    if (flags & 524288 /* TypeAlias */)\n      result |= 788968 /* TypeAliasExcludes */;\n    if (flags & 2097152 /* Alias */)\n      result |= 2097152 /* AliasExcludes */;\n    return result;\n  }\n  function recordMergedSymbol(target, source) {\n    if (!source.mergeId) {\n      source.mergeId = nextMergeId;\n      nextMergeId++;\n    }\n    mergedSymbols[source.mergeId] = target;\n  }\n  function cloneSymbol(symbol) {\n    const result = createSymbol(symbol.flags, symbol.escapedName);\n    result.declarations = symbol.declarations ? symbol.declarations.slice() : [];\n    result.parent = symbol.parent;\n    if (symbol.valueDeclaration)\n      result.valueDeclaration = symbol.valueDeclaration;\n    if (symbol.constEnumOnlyModule)\n      result.constEnumOnlyModule = true;\n    if (symbol.members)\n      result.members = new Map2(symbol.members);\n    if (symbol.exports)\n      result.exports = new Map2(symbol.exports);\n    recordMergedSymbol(result, symbol);\n    return result;\n  }\n  function mergeSymbol(target, source, unidirectional = false) {\n    if (!(target.flags & getExcludedSymbolFlags(source.flags)) || (source.flags | target.flags) & 67108864 /* Assignment */) {\n      if (source === target) {\n        return target;\n      }\n      if (!(target.flags & 33554432 /* Transient */)) {\n        const resolvedTarget = resolveSymbol(target);\n        if (resolvedTarget === unknownSymbol) {\n          return source;\n        }\n        target = cloneSymbol(resolvedTarget);\n      }\n      if (source.flags & 512 /* ValueModule */ && target.flags & 512 /* ValueModule */ && target.constEnumOnlyModule && !source.constEnumOnlyModule) {\n        target.constEnumOnlyModule = false;\n      }\n      target.flags |= source.flags;\n      if (source.valueDeclaration) {\n        setValueDeclaration(target, source.valueDeclaration);\n      }\n      addRange(target.declarations, source.declarations);\n      if (source.members) {\n        if (!target.members)\n          target.members = createSymbolTable();\n        mergeSymbolTable(target.members, source.members, unidirectional);\n      }\n      if (source.exports) {\n        if (!target.exports)\n          target.exports = createSymbolTable();\n        mergeSymbolTable(target.exports, source.exports, unidirectional);\n      }\n      if (!unidirectional) {\n        recordMergedSymbol(target, source);\n      }\n    } else if (target.flags & 1024 /* NamespaceModule */) {\n      if (target !== globalThisSymbol) {\n        error(\n          source.declarations && getNameOfDeclaration(source.declarations[0]),\n          Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,\n          symbolToString(target)\n        );\n      }\n    } else {\n      const isEitherEnum = !!(target.flags & 384 /* Enum */ || source.flags & 384 /* Enum */);\n      const isEitherBlockScoped = !!(target.flags & 2 /* BlockScopedVariable */ || source.flags & 2 /* BlockScopedVariable */);\n      const message = isEitherEnum ? Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations : isEitherBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0;\n      const sourceSymbolFile = source.declarations && getSourceFileOfNode(source.declarations[0]);\n      const targetSymbolFile = target.declarations && getSourceFileOfNode(target.declarations[0]);\n      const isSourcePlainJs = isPlainJsFile(sourceSymbolFile, compilerOptions.checkJs);\n      const isTargetPlainJs = isPlainJsFile(targetSymbolFile, compilerOptions.checkJs);\n      const symbolName2 = symbolToString(source);\n      if (sourceSymbolFile && targetSymbolFile && amalgamatedDuplicates && !isEitherEnum && sourceSymbolFile !== targetSymbolFile) {\n        const firstFile = comparePaths(sourceSymbolFile.path, targetSymbolFile.path) === -1 /* LessThan */ ? sourceSymbolFile : targetSymbolFile;\n        const secondFile = firstFile === sourceSymbolFile ? targetSymbolFile : sourceSymbolFile;\n        const filesDuplicates = getOrUpdate(amalgamatedDuplicates, `${firstFile.path}|${secondFile.path}`, () => ({ firstFile, secondFile, conflictingSymbols: new Map2() }));\n        const conflictingSymbolInfo = getOrUpdate(filesDuplicates.conflictingSymbols, symbolName2, () => ({ isBlockScoped: isEitherBlockScoped, firstFileLocations: [], secondFileLocations: [] }));\n        if (!isSourcePlainJs)\n          addDuplicateLocations(conflictingSymbolInfo.firstFileLocations, source);\n        if (!isTargetPlainJs)\n          addDuplicateLocations(conflictingSymbolInfo.secondFileLocations, target);\n      } else {\n        if (!isSourcePlainJs)\n          addDuplicateDeclarationErrorsForSymbols(source, message, symbolName2, target);\n        if (!isTargetPlainJs)\n          addDuplicateDeclarationErrorsForSymbols(target, message, symbolName2, source);\n      }\n    }\n    return target;\n    function addDuplicateLocations(locs, symbol) {\n      if (symbol.declarations) {\n        for (const decl of symbol.declarations) {\n          pushIfUnique(locs, decl);\n        }\n      }\n    }\n  }\n  function addDuplicateDeclarationErrorsForSymbols(target, message, symbolName2, source) {\n    forEach(target.declarations, (node) => {\n      addDuplicateDeclarationError(node, message, symbolName2, source.declarations);\n    });\n  }\n  function addDuplicateDeclarationError(node, message, symbolName2, relatedNodes) {\n    const errorNode = (getExpandoInitializer(node, false) ? getNameOfExpando(node) : getNameOfDeclaration(node)) || node;\n    const err = lookupOrIssueError(errorNode, message, symbolName2);\n    for (const relatedNode of relatedNodes || emptyArray) {\n      const adjustedNode = (getExpandoInitializer(relatedNode, false) ? getNameOfExpando(relatedNode) : getNameOfDeclaration(relatedNode)) || relatedNode;\n      if (adjustedNode === errorNode)\n        continue;\n      err.relatedInformation = err.relatedInformation || [];\n      const leadingMessage = createDiagnosticForNode(adjustedNode, Diagnostics._0_was_also_declared_here, symbolName2);\n      const followOnMessage = createDiagnosticForNode(adjustedNode, Diagnostics.and_here);\n      if (length(err.relatedInformation) >= 5 || some(err.relatedInformation, (r) => compareDiagnostics(r, followOnMessage) === 0 /* EqualTo */ || compareDiagnostics(r, leadingMessage) === 0 /* EqualTo */))\n        continue;\n      addRelatedInfo(err, !length(err.relatedInformation) ? leadingMessage : followOnMessage);\n    }\n  }\n  function combineSymbolTables(first2, second) {\n    if (!(first2 == null ? void 0 : first2.size))\n      return second;\n    if (!(second == null ? void 0 : second.size))\n      return first2;\n    const combined = createSymbolTable();\n    mergeSymbolTable(combined, first2);\n    mergeSymbolTable(combined, second);\n    return combined;\n  }\n  function mergeSymbolTable(target, source, unidirectional = false) {\n    source.forEach((sourceSymbol, id) => {\n      const targetSymbol = target.get(id);\n      target.set(id, targetSymbol ? mergeSymbol(targetSymbol, sourceSymbol, unidirectional) : getMergedSymbol(sourceSymbol));\n    });\n  }\n  function mergeModuleAugmentation(moduleName) {\n    var _a2, _b, _c;\n    const moduleAugmentation = moduleName.parent;\n    if (((_a2 = moduleAugmentation.symbol.declarations) == null ? void 0 : _a2[0]) !== moduleAugmentation) {\n      Debug.assert(moduleAugmentation.symbol.declarations.length > 1);\n      return;\n    }\n    if (isGlobalScopeAugmentation(moduleAugmentation)) {\n      mergeSymbolTable(globals, moduleAugmentation.symbol.exports);\n    } else {\n      const moduleNotFoundError = !(moduleName.parent.parent.flags & 16777216 /* Ambient */) ? Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found : void 0;\n      let mainModule = resolveExternalModuleNameWorker(moduleName, moduleName, moduleNotFoundError, true);\n      if (!mainModule) {\n        return;\n      }\n      mainModule = resolveExternalModuleSymbol(mainModule);\n      if (mainModule.flags & 1920 /* Namespace */) {\n        if (some(patternAmbientModules, (module2) => mainModule === module2.symbol)) {\n          const merged = mergeSymbol(moduleAugmentation.symbol, mainModule, true);\n          if (!patternAmbientModuleAugmentations) {\n            patternAmbientModuleAugmentations = new Map2();\n          }\n          patternAmbientModuleAugmentations.set(moduleName.text, merged);\n        } else {\n          if (((_b = mainModule.exports) == null ? void 0 : _b.get(\"__export\" /* ExportStar */)) && ((_c = moduleAugmentation.symbol.exports) == null ? void 0 : _c.size)) {\n            const resolvedExports = getResolvedMembersOrExportsOfSymbol(mainModule, \"resolvedExports\" /* resolvedExports */);\n            for (const [key, value] of arrayFrom(moduleAugmentation.symbol.exports.entries())) {\n              if (resolvedExports.has(key) && !mainModule.exports.has(key)) {\n                mergeSymbol(resolvedExports.get(key), value);\n              }\n            }\n          }\n          mergeSymbol(mainModule, moduleAugmentation.symbol);\n        }\n      } else {\n        error(moduleName, Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity, moduleName.text);\n      }\n    }\n  }\n  function addToSymbolTable(target, source, message) {\n    source.forEach((sourceSymbol, id) => {\n      const targetSymbol = target.get(id);\n      if (targetSymbol) {\n        forEach(targetSymbol.declarations, addDeclarationDiagnostic(unescapeLeadingUnderscores(id), message));\n      } else {\n        target.set(id, sourceSymbol);\n      }\n    });\n    function addDeclarationDiagnostic(id, message2) {\n      return (declaration) => diagnostics.add(createDiagnosticForNode(declaration, message2, id));\n    }\n  }\n  function getSymbolLinks(symbol) {\n    if (symbol.flags & 33554432 /* Transient */)\n      return symbol;\n    const id = getSymbolId(symbol);\n    return symbolLinks[id] || (symbolLinks[id] = new SymbolLinks());\n  }\n  function getNodeLinks(node) {\n    const nodeId = getNodeId(node);\n    return nodeLinks[nodeId] || (nodeLinks[nodeId] = new NodeLinks());\n  }\n  function isGlobalSourceFile(node) {\n    return node.kind === 314 /* SourceFile */ && !isExternalOrCommonJsModule(node);\n  }\n  function isValidFromLibs(symbol, node) {\n    var _a2;\n    if (!node || !symbol.declarations || !symbol.declarations.length) {\n      return true;\n    }\n    const etsLibFilesNames = getEtsLibs(host);\n    const sourceFileName = getSourceFileOfNode(node).fileName.trim();\n    if (!sourceFileName) {\n      return true;\n    }\n    const fileName = (_a2 = sys) == null ? void 0 : _a2.resolvePath(sourceFileName);\n    if ((fileName == null ? void 0 : fileName.endsWith(\".ets\" /* Ets */)) || etsLibFilesNames.includes(fileName)) {\n      return true;\n    }\n    const declaration = symbol.declarations.filter((declaration2) => {\n      var _a3;\n      if (!getSourceFileOfNode(declaration2).fileName) {\n        return true;\n      }\n      const symbolFileName = (_a3 = sys) == null ? void 0 : _a3.resolvePath(getSourceFileOfNode(declaration2).fileName);\n      if (etsLibFilesNames.indexOf(symbolFileName) !== -1) {\n        return false;\n      }\n      return true;\n    });\n    if (!declaration.length) {\n      return false;\n    }\n    return true;\n  }\n  function getSymbol2(symbols, name, meaning, node) {\n    if (meaning) {\n      const symbol = getMergedSymbol(symbols.get(name));\n      if (symbol) {\n        Debug.assert((getCheckFlags(symbol) & 1 /* Instantiated */) === 0, \"Should never get an instantiated symbol here.\");\n        if (!isValidFromLibs(symbol, node)) {\n          return void 0;\n        }\n        if (symbol.flags & meaning) {\n          return symbol;\n        }\n        if (symbol.flags & 2097152 /* Alias */) {\n          const targetFlags = getAllSymbolFlags(symbol);\n          if (targetFlags & meaning) {\n            return symbol;\n          }\n        }\n      }\n    }\n  }\n  function getSymbolsOfParameterPropertyDeclaration(parameter, parameterName) {\n    const constructorDeclaration = parameter.parent;\n    const classDeclaration = parameter.parent.parent;\n    const parameterSymbol = getSymbol2(constructorDeclaration.locals, parameterName, 111551 /* Value */);\n    const propertySymbol = getSymbol2(getMembersOfSymbol(classDeclaration.symbol), parameterName, 111551 /* Value */);\n    if (parameterSymbol && propertySymbol) {\n      return [parameterSymbol, propertySymbol];\n    }\n    return Debug.fail(\"There should exist two symbols, one as property declaration and one as parameter declaration\");\n  }\n  function isBlockScopedNameDeclaredBeforeUse(declaration, usage) {\n    const declarationFile = getSourceFileOfNode(declaration);\n    const useFile = getSourceFileOfNode(usage);\n    const declContainer = getEnclosingBlockScopeContainer(declaration);\n    if (declarationFile !== useFile) {\n      if (moduleKind && (declarationFile.externalModuleIndicator || useFile.externalModuleIndicator) || !outFile(compilerOptions) || isInTypeQuery(usage) || declaration.flags & 16777216 /* Ambient */) {\n        return true;\n      }\n      if (isUsedInFunctionOrInstanceProperty(usage, declaration)) {\n        return true;\n      }\n      const sourceFiles = host.getSourceFiles();\n      return sourceFiles.indexOf(declarationFile) <= sourceFiles.indexOf(useFile);\n    }\n    if (declaration.pos <= usage.pos && !(isPropertyDeclaration(declaration) && isThisProperty(usage.parent) && !declaration.initializer && !declaration.exclamationToken)) {\n      if (declaration.kind === 208 /* BindingElement */) {\n        const errorBindingElement = getAncestor(usage, 208 /* BindingElement */);\n        if (errorBindingElement) {\n          return findAncestor(errorBindingElement, isBindingElement) !== findAncestor(declaration, isBindingElement) || declaration.pos < errorBindingElement.pos;\n        }\n        return isBlockScopedNameDeclaredBeforeUse(getAncestor(declaration, 261 /* VariableDeclaration */), usage);\n      } else if (declaration.kind === 261 /* VariableDeclaration */) {\n        return !isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration, usage);\n      } else if (isClassDeclaration(declaration)) {\n        return !findAncestor(usage, (n) => isComputedPropertyName(n) && n.parent.parent === declaration);\n      } else if (isPropertyDeclaration(declaration)) {\n        return !isPropertyImmediatelyReferencedWithinDeclaration(declaration, usage, false);\n      } else if (isParameterPropertyDeclaration(declaration, declaration.parent)) {\n        return !(getEmitScriptTarget(compilerOptions) === 99 /* ESNext */ && useDefineForClassFields && getContainingClass(declaration) === getContainingClass(usage) && isUsedInFunctionOrInstanceProperty(usage, declaration));\n      }\n      return true;\n    }\n    if (usage.parent.kind === 284 /* ExportSpecifier */ || usage.parent.kind === 280 /* ExportAssignment */ && usage.parent.isExportEquals) {\n      return true;\n    }\n    if (usage.kind === 280 /* ExportAssignment */ && usage.isExportEquals) {\n      return true;\n    }\n    if (!!(usage.flags & 8388608 /* JSDoc */) || isInTypeQuery(usage) || usageInTypeDeclaration()) {\n      return true;\n    }\n    if (isUsedInFunctionOrInstanceProperty(usage, declaration)) {\n      if (getEmitScriptTarget(compilerOptions) === 99 /* ESNext */ && useDefineForClassFields && getContainingClass(declaration) && (isPropertyDeclaration(declaration) || isParameterPropertyDeclaration(declaration, declaration.parent))) {\n        return !isPropertyImmediatelyReferencedWithinDeclaration(declaration, usage, true);\n      } else {\n        return true;\n      }\n    }\n    return false;\n    function usageInTypeDeclaration() {\n      return !!findAncestor(usage, (node) => isInterfaceDeclaration(node) || isTypeAliasDeclaration(node));\n    }\n    function isImmediatelyUsedInInitializerOfBlockScopedVariable(declaration2, usage2) {\n      switch (declaration2.parent.parent.kind) {\n        case 244 /* VariableStatement */:\n        case 249 /* ForStatement */:\n        case 251 /* ForOfStatement */:\n          if (isSameScopeDescendentOf(usage2, declaration2, declContainer)) {\n            return true;\n          }\n          break;\n      }\n      const grandparent = declaration2.parent.parent;\n      return isForInOrOfStatement(grandparent) && isSameScopeDescendentOf(usage2, grandparent.expression, declContainer);\n    }\n    function isUsedInFunctionOrInstanceProperty(usage2, declaration2) {\n      return !!findAncestor(usage2, (current) => {\n        if (current === declContainer) {\n          return \"quit\";\n        }\n        if (isFunctionLike(current)) {\n          return true;\n        }\n        if (isClassStaticBlockDeclaration(current)) {\n          return declaration2.pos < usage2.pos;\n        }\n        const propertyDeclaration = tryCast(current.parent, isPropertyDeclaration);\n        if (propertyDeclaration) {\n          const initializerOfProperty = propertyDeclaration.initializer === current;\n          if (initializerOfProperty) {\n            if (isStatic(current.parent)) {\n              if (declaration2.kind === 174 /* MethodDeclaration */) {\n                return true;\n              }\n              if (isPropertyDeclaration(declaration2) && getContainingClass(usage2) === getContainingClass(declaration2)) {\n                const propName = declaration2.name;\n                if (isIdentifier(propName) || isPrivateIdentifier(propName)) {\n                  const type = getTypeOfSymbol(getSymbolOfNode(declaration2));\n                  const staticBlocks = filter(declaration2.parent.members, isClassStaticBlockDeclaration);\n                  if (isPropertyInitializedInStaticBlocks(propName, type, staticBlocks, declaration2.parent.pos, current.pos)) {\n                    return true;\n                  }\n                }\n              }\n            } else {\n              const isDeclarationInstanceProperty = declaration2.kind === 171 /* PropertyDeclaration */ && !isStatic(declaration2);\n              if (!isDeclarationInstanceProperty || getContainingClass(usage2) !== getContainingClass(declaration2)) {\n                return true;\n              }\n            }\n          }\n        }\n        return false;\n      });\n    }\n    function isPropertyImmediatelyReferencedWithinDeclaration(declaration2, usage2, stopAtAnyPropertyDeclaration) {\n      if (usage2.end > declaration2.end) {\n        return false;\n      }\n      const ancestorChangingReferenceScope = findAncestor(usage2, (node) => {\n        if (node === declaration2) {\n          return \"quit\";\n        }\n        switch (node.kind) {\n          case 219 /* ArrowFunction */:\n            return true;\n          case 171 /* PropertyDeclaration */:\n            return stopAtAnyPropertyDeclaration && (isPropertyDeclaration(declaration2) && node.parent === declaration2.parent || isParameterPropertyDeclaration(declaration2, declaration2.parent) && node.parent === declaration2.parent.parent) ? \"quit\" : true;\n          case 242 /* Block */:\n            switch (node.parent.kind) {\n              case 177 /* GetAccessor */:\n              case 174 /* MethodDeclaration */:\n              case 178 /* SetAccessor */:\n                return true;\n              default:\n                return false;\n            }\n          default:\n            return false;\n        }\n      });\n      return ancestorChangingReferenceScope === void 0;\n    }\n  }\n  function useOuterVariableScopeInParameter(result, location, lastLocation) {\n    const target = getEmitScriptTarget(compilerOptions);\n    const functionLocation = location;\n    if (isParameter(lastLocation) && functionLocation.body && result.valueDeclaration && result.valueDeclaration.pos >= functionLocation.body.pos && result.valueDeclaration.end <= functionLocation.body.end) {\n      if (target >= 2 /* ES2015 */) {\n        const links = getNodeLinks(functionLocation);\n        if (links.declarationRequiresScopeChange === void 0) {\n          links.declarationRequiresScopeChange = forEach(functionLocation.parameters, requiresScopeChange) || false;\n        }\n        return !links.declarationRequiresScopeChange;\n      }\n    }\n    return false;\n    function requiresScopeChange(node) {\n      return requiresScopeChangeWorker(node.name) || !!node.initializer && requiresScopeChangeWorker(node.initializer);\n    }\n    function requiresScopeChangeWorker(node) {\n      switch (node.kind) {\n        case 219 /* ArrowFunction */:\n        case 218 /* FunctionExpression */:\n        case 263 /* FunctionDeclaration */:\n        case 176 /* Constructor */:\n          return false;\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 305 /* PropertyAssignment */:\n          return requiresScopeChangeWorker(node.name);\n        case 171 /* PropertyDeclaration */:\n          if (hasStaticModifier(node)) {\n            return target < 99 /* ESNext */ || !useDefineForClassFields;\n          }\n          return requiresScopeChangeWorker(node.name);\n        case 172 /* AnnotationPropertyDeclaration */:\n          return requiresScopeChangeWorker(node.name);\n        default:\n          if (isNullishCoalesce(node) || isOptionalChain(node)) {\n            return target < 7 /* ES2020 */;\n          }\n          if (isBindingElement(node) && node.dotDotDotToken && isObjectBindingPattern(node.parent)) {\n            return target < 4 /* ES2017 */;\n          }\n          if (isTypeNode(node))\n            return false;\n          return forEachChild(node, requiresScopeChangeWorker) || false;\n      }\n    }\n  }\n  function isConstAssertion(location) {\n    return isAssertionExpression(location) && isConstTypeReference(location.type) || isJSDocTypeTag(location) && isConstTypeReference(location.typeExpression);\n  }\n  function resolveName(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals = false, getSpellingSuggestions = true) {\n    return resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggestions, getSymbol2);\n  }\n  function resolveNameHelper(location, name, meaning, nameNotFoundMessage, nameArg, isUse, excludeGlobals, getSpellingSuggestions, lookup) {\n    var _a2, _b, _c;\n    const originalLocation = location;\n    let result;\n    let lastLocation;\n    let lastSelfReferenceLocation;\n    let propertyWithInvalidInitializer;\n    let associatedDeclarationForContainingInitializerOrBindingName;\n    let withinDeferredContext = false;\n    const errorLocation = location;\n    let grandparent;\n    let isInExternalModule = false;\n    loop:\n      while (location) {\n        if (name === \"const\" && isConstAssertion(location)) {\n          return void 0;\n        }\n        if (location.locals && !isGlobalSourceFile(location)) {\n          if (result = lookup(location.locals, name, meaning)) {\n            let useResult = true;\n            if (isFunctionLike(location) && lastLocation && lastLocation !== location.body) {\n              if (meaning & result.flags & 788968 /* Type */ && lastLocation.kind !== 329 /* JSDoc */) {\n                useResult = result.flags & 262144 /* TypeParameter */ ? lastLocation === location.type || lastLocation.kind === 168 /* Parameter */ || lastLocation.kind === 349 /* JSDocParameterTag */ || lastLocation.kind === 350 /* JSDocReturnTag */ || lastLocation.kind === 167 /* TypeParameter */ : false;\n              }\n              if (meaning & result.flags & 3 /* Variable */) {\n                if (useOuterVariableScopeInParameter(result, location, lastLocation)) {\n                  useResult = false;\n                } else if (result.flags & 1 /* FunctionScopedVariable */) {\n                  useResult = lastLocation.kind === 168 /* Parameter */ || lastLocation === location.type && !!findAncestor(result.valueDeclaration, isParameter);\n                }\n              }\n            } else if (location.kind === 194 /* ConditionalType */) {\n              useResult = lastLocation === location.trueType;\n            }\n            if (useResult) {\n              break loop;\n            } else {\n              result = void 0;\n            }\n          }\n        }\n        withinDeferredContext = withinDeferredContext || getIsDeferredContext(location, lastLocation);\n        switch (location.kind) {\n          case 314 /* SourceFile */:\n            if (!isExternalOrCommonJsModule(location))\n              break;\n            isInExternalModule = true;\n          case 270 /* ModuleDeclaration */:\n            const moduleExports = getSymbolOfNode(location) ? ((_a2 = getSymbolOfNode(location)) == null ? void 0 : _a2.exports) || emptySymbols : emptySymbols;\n            if (location.kind === 314 /* SourceFile */ || isModuleDeclaration(location) && location.flags & 16777216 /* Ambient */ && !isGlobalScopeAugmentation(location)) {\n              if (result = moduleExports.get(\"default\" /* Default */)) {\n                const localSymbol = getLocalSymbolForExportDefault(result);\n                if (localSymbol && result.flags & meaning && localSymbol.escapedName === name) {\n                  break loop;\n                }\n                result = void 0;\n              }\n              const moduleExport = moduleExports.get(name);\n              if (moduleExport && moduleExport.flags === 2097152 /* Alias */ && (getDeclarationOfKind(moduleExport, 284 /* ExportSpecifier */) || getDeclarationOfKind(moduleExport, 283 /* NamespaceExport */))) {\n                break;\n              }\n            }\n            if (name !== \"default\" /* Default */ && (result = lookup(moduleExports, name, meaning & 2623475 /* ModuleMember */))) {\n              if (isSourceFile(location) && location.commonJsModuleIndicator && !((_b = result.declarations) == null ? void 0 : _b.some(isJSDocTypeAlias))) {\n                result = void 0;\n              } else {\n                break loop;\n              }\n            }\n            break;\n          case 269 /* EnumDeclaration */:\n            if (result = lookup(((_c = getSymbolOfNode(location)) == null ? void 0 : _c.exports) || emptySymbols, name, meaning & 8 /* EnumMember */)) {\n              break loop;\n            }\n            break;\n          case 171 /* PropertyDeclaration */:\n            if (!isStatic(location)) {\n              const ctor = findConstructorDeclaration(location.parent);\n              if (ctor && ctor.locals) {\n                if (lookup(ctor.locals, name, meaning & 111551 /* Value */)) {\n                  Debug.assertNode(location, isPropertyDeclaration);\n                  propertyWithInvalidInitializer = location;\n                }\n              }\n            }\n            break;\n          case 264 /* ClassDeclaration */:\n          case 232 /* ClassExpression */:\n          case 267 /* InterfaceDeclaration */:\n            if (result = lookup(getSymbolOfNode(location).members || emptySymbols, name, meaning & 788968 /* Type */)) {\n              if (!isTypeParameterSymbolDeclaredInContainer(result, location)) {\n                result = void 0;\n                break;\n              }\n              if (lastLocation && isStatic(lastLocation)) {\n                if (nameNotFoundMessage) {\n                  error(errorLocation, Diagnostics.Static_members_cannot_reference_class_type_parameters);\n                }\n                return void 0;\n              }\n              break loop;\n            }\n            if (location.kind === 232 /* ClassExpression */ && meaning & 32 /* Class */) {\n              const className = location.name;\n              if (className && name === className.escapedText) {\n                result = location.symbol;\n                break loop;\n              }\n            }\n            break;\n          case 234 /* ExpressionWithTypeArguments */:\n            if (lastLocation === location.expression && location.parent.token === 95 /* ExtendsKeyword */) {\n              const container = location.parent.parent;\n              if (isClassLike(container) && (result = lookup(getSymbolOfNode(container).members, name, meaning & 788968 /* Type */))) {\n                if (nameNotFoundMessage) {\n                  error(errorLocation, Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters);\n                }\n                return void 0;\n              }\n            }\n            break;\n          case 166 /* ComputedPropertyName */:\n            grandparent = location.parent.parent;\n            if (isClassLike(grandparent) || grandparent.kind === 267 /* InterfaceDeclaration */) {\n              if (result = lookup(getSymbolOfNode(grandparent).members, name, meaning & 788968 /* Type */)) {\n                if (nameNotFoundMessage) {\n                  error(errorLocation, Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);\n                }\n                return void 0;\n              }\n            }\n            break;\n          case 219 /* ArrowFunction */:\n            if (getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */) {\n              break;\n            }\n          case 174 /* MethodDeclaration */:\n          case 176 /* Constructor */:\n          case 177 /* GetAccessor */:\n          case 178 /* SetAccessor */:\n          case 263 /* FunctionDeclaration */:\n            if (meaning & 3 /* Variable */ && name === \"arguments\") {\n              result = argumentsSymbol;\n              break loop;\n            }\n            break;\n          case 218 /* FunctionExpression */:\n            if (meaning & 3 /* Variable */ && name === \"arguments\") {\n              result = argumentsSymbol;\n              break loop;\n            }\n            if (meaning & 16 /* Function */) {\n              const functionName = location.name;\n              if (functionName && name === functionName.escapedText) {\n                result = location.symbol;\n                break loop;\n              }\n            }\n            break;\n          case 169 /* Decorator */:\n            if (location.parent && location.parent.kind === 168 /* Parameter */) {\n              location = location.parent;\n            }\n            if (location.parent && (isClassElement(location.parent) || location.parent.kind === 264 /* ClassDeclaration */)) {\n              location = location.parent;\n            }\n            break;\n          case 354 /* JSDocTypedefTag */:\n          case 347 /* JSDocCallbackTag */:\n          case 348 /* JSDocEnumTag */:\n            const root = getJSDocRoot(location);\n            if (root) {\n              location = root.parent;\n            }\n            break;\n          case 168 /* Parameter */:\n            if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) {\n              if (!associatedDeclarationForContainingInitializerOrBindingName) {\n                associatedDeclarationForContainingInitializerOrBindingName = location;\n              }\n            }\n            break;\n          case 208 /* BindingElement */:\n            if (lastLocation && (lastLocation === location.initializer || lastLocation === location.name && isBindingPattern(lastLocation))) {\n              if (isParameterDeclaration(location) && !associatedDeclarationForContainingInitializerOrBindingName) {\n                associatedDeclarationForContainingInitializerOrBindingName = location;\n              }\n            }\n            break;\n          case 195 /* InferType */:\n            if (meaning & 262144 /* TypeParameter */) {\n              const parameterName = location.typeParameter.name;\n              if (parameterName && name === parameterName.escapedText) {\n                result = location.typeParameter.symbol;\n                break loop;\n              }\n            }\n            break;\n        }\n        if (isSelfReferenceLocation(location)) {\n          lastSelfReferenceLocation = location;\n        }\n        lastLocation = location;\n        location = isJSDocTemplateTag(location) ? getEffectiveContainerForJSDocTemplateTag(location) || location.parent : isJSDocParameterTag(location) || isJSDocReturnTag(location) ? getHostSignatureFromJSDoc(location) || location.parent : location.parent;\n      }\n    if (isUse && result && (!lastSelfReferenceLocation || result !== lastSelfReferenceLocation.symbol)) {\n      result.isReferenced |= meaning;\n    }\n    if (!result) {\n      if (lastLocation) {\n        Debug.assert(lastLocation.kind === 314 /* SourceFile */);\n        if (lastLocation.commonJsModuleIndicator && name === \"exports\" && meaning & lastLocation.symbol.flags) {\n          return lastLocation.symbol;\n        }\n      }\n      if (!excludeGlobals) {\n        result = lookup(globals, name, meaning, originalLocation);\n      }\n    }\n    if (!result) {\n      if (originalLocation && isInJSFile(originalLocation) && originalLocation.parent) {\n        if (isRequireCall(originalLocation.parent, false)) {\n          return requireSymbol;\n        }\n      }\n    }\n    function checkAndReportErrorForInvalidInitializer() {\n      if (propertyWithInvalidInitializer && !(useDefineForClassFields && getEmitScriptTarget(compilerOptions) >= 9 /* ES2022 */)) {\n        error(\n          errorLocation,\n          errorLocation && propertyWithInvalidInitializer.type && textRangeContainsPositionInclusive(propertyWithInvalidInitializer.type, errorLocation.pos) ? Diagnostics.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor : Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,\n          declarationNameToString(propertyWithInvalidInitializer.name),\n          diagnosticName(nameArg)\n        );\n        return true;\n      }\n      return false;\n    }\n    if (!result) {\n      if (nameNotFoundMessage) {\n        addLazyDiagnostic(() => {\n          if (!errorLocation || !checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) && !checkAndReportErrorForInvalidInitializer() && !checkAndReportErrorForExtendingInterface(errorLocation) && !checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) && !checkAndReportErrorForExportingPrimitiveType(errorLocation, name) && !checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) && !checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning)) {\n            let suggestion;\n            let suggestedLib;\n            if (nameArg) {\n              suggestedLib = getSuggestedLibForNonExistentName(nameArg);\n              if (suggestedLib) {\n                error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg), suggestedLib);\n              }\n            }\n            if (!suggestedLib && getSpellingSuggestions && suggestionCount < maximumSuggestionCount) {\n              suggestion = getSuggestedSymbolForNonexistentSymbol(originalLocation, name, meaning);\n              const isGlobalScopeAugmentationDeclaration = (suggestion == null ? void 0 : suggestion.valueDeclaration) && isAmbientModule(suggestion.valueDeclaration) && isGlobalScopeAugmentation(suggestion.valueDeclaration);\n              if (isGlobalScopeAugmentationDeclaration) {\n                suggestion = void 0;\n              }\n              if (suggestion) {\n                const suggestionName = symbolToString(suggestion);\n                const isUncheckedJS = isUncheckedJSSuggestion(originalLocation, suggestion, false);\n                const message = meaning === 1920 /* Namespace */ || nameArg && typeof nameArg !== \"string\" && nodeIsSynthesized(nameArg) ? Diagnostics.Cannot_find_namespace_0_Did_you_mean_1 : isUncheckedJS ? Diagnostics.Could_not_find_name_0_Did_you_mean_1 : Diagnostics.Cannot_find_name_0_Did_you_mean_1;\n                const diagnostic = createError(errorLocation, message, diagnosticName(nameArg), suggestionName);\n                addErrorOrSuggestion(!isUncheckedJS, diagnostic);\n                if (suggestion.valueDeclaration) {\n                  addRelatedInfo(\n                    diagnostic,\n                    createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName)\n                  );\n                }\n              }\n            }\n            if (!suggestion && !suggestedLib && nameArg) {\n              error(errorLocation, nameNotFoundMessage, diagnosticName(nameArg));\n            }\n            suggestionCount++;\n          }\n        });\n      }\n      return void 0;\n    } else if (nameNotFoundMessage && checkAndReportErrorForInvalidInitializer()) {\n      return void 0;\n    }\n    if (nameNotFoundMessage) {\n      addLazyDiagnostic(() => {\n        if (errorLocation && (meaning & 2 /* BlockScopedVariable */ || (meaning & 32 /* Class */ || meaning & 384 /* Enum */) && (meaning & 111551 /* Value */) === 111551 /* Value */)) {\n          const exportOrLocalSymbol = getExportSymbolOfValueSymbolIfExported(result);\n          if (exportOrLocalSymbol.flags & 2 /* BlockScopedVariable */ || exportOrLocalSymbol.flags & 32 /* Class */ || exportOrLocalSymbol.flags & 384 /* Enum */) {\n            checkResolvedBlockScopedVariable(exportOrLocalSymbol, errorLocation);\n          }\n        }\n        if (result && isInExternalModule && (meaning & 111551 /* Value */) === 111551 /* Value */ && !(originalLocation.flags & 8388608 /* JSDoc */)) {\n          const merged = getMergedSymbol(result);\n          if (length(merged.declarations) && every(merged.declarations, (d) => isNamespaceExportDeclaration(d) || isSourceFile(d) && !!d.symbol.globalExports)) {\n            errorOrSuggestion(!compilerOptions.allowUmdGlobalAccess, errorLocation, Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead, unescapeLeadingUnderscores(name));\n          }\n        }\n        if (result && associatedDeclarationForContainingInitializerOrBindingName && !withinDeferredContext && (meaning & 111551 /* Value */) === 111551 /* Value */) {\n          const candidate = getMergedSymbol(getLateBoundSymbol(result));\n          const root = getRootDeclaration(associatedDeclarationForContainingInitializerOrBindingName);\n          if (candidate === getSymbolOfNode(associatedDeclarationForContainingInitializerOrBindingName)) {\n            error(errorLocation, Diagnostics.Parameter_0_cannot_reference_itself, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name));\n          } else if (candidate.valueDeclaration && candidate.valueDeclaration.pos > associatedDeclarationForContainingInitializerOrBindingName.pos && root.parent.locals && lookup(root.parent.locals, candidate.escapedName, meaning) === candidate) {\n            error(errorLocation, Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it, declarationNameToString(associatedDeclarationForContainingInitializerOrBindingName.name), declarationNameToString(errorLocation));\n          }\n        }\n        if (result && errorLocation && meaning & 111551 /* Value */ && result.flags & 2097152 /* Alias */ && !(result.flags & 111551 /* Value */) && !isValidTypeOnlyAliasUseSite(errorLocation)) {\n          const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(result, 111551 /* Value */);\n          if (typeOnlyDeclaration) {\n            const message = typeOnlyDeclaration.kind === 284 /* ExportSpecifier */ ? Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type : Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;\n            const unescapedName = unescapeLeadingUnderscores(name);\n            addTypeOnlyDeclarationRelatedInfo(\n              error(errorLocation, message, unescapedName),\n              typeOnlyDeclaration,\n              unescapedName\n            );\n          }\n        }\n      });\n    }\n    return result;\n  }\n  function addTypeOnlyDeclarationRelatedInfo(diagnostic, typeOnlyDeclaration, unescapedName) {\n    if (!typeOnlyDeclaration)\n      return diagnostic;\n    return addRelatedInfo(\n      diagnostic,\n      createDiagnosticForNode(\n        typeOnlyDeclaration,\n        typeOnlyDeclaration.kind === 284 /* ExportSpecifier */ ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here,\n        unescapedName\n      )\n    );\n  }\n  function getIsDeferredContext(location, lastLocation) {\n    if (location.kind !== 219 /* ArrowFunction */ && location.kind !== 218 /* FunctionExpression */) {\n      return isTypeQueryNode(location) || (isFunctionLikeDeclaration(location) || location.kind === 171 /* PropertyDeclaration */ && !isStatic(location)) && (!lastLocation || lastLocation !== location.name);\n    }\n    if (lastLocation && lastLocation === location.name) {\n      return false;\n    }\n    if (location.asteriskToken || hasSyntacticModifier(location, 512 /* Async */)) {\n      return true;\n    }\n    return !getImmediatelyInvokedFunctionExpression(location);\n  }\n  function isSelfReferenceLocation(node) {\n    switch (node.kind) {\n      case 263 /* FunctionDeclaration */:\n      case 264 /* ClassDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 270 /* ModuleDeclaration */:\n        return true;\n      default:\n        return false;\n    }\n  }\n  function diagnosticName(nameArg) {\n    return isString(nameArg) ? unescapeLeadingUnderscores(nameArg) : declarationNameToString(nameArg);\n  }\n  function isTypeParameterSymbolDeclaredInContainer(symbol, container) {\n    if (symbol.declarations) {\n      for (const decl of symbol.declarations) {\n        if (decl.kind === 167 /* TypeParameter */) {\n          const parent2 = isJSDocTemplateTag(decl.parent) ? getJSDocHost(decl.parent) : decl.parent;\n          if (parent2 === container) {\n            return !(isJSDocTemplateTag(decl.parent) && find(decl.parent.parent.tags, isJSDocTypeAlias));\n          }\n        }\n      }\n    }\n    return false;\n  }\n  function checkAndReportErrorForMissingPrefix(errorLocation, name, nameArg) {\n    if (!isIdentifier(errorLocation) || errorLocation.escapedText !== name || isTypeReferenceIdentifier(errorLocation) || isInTypeQuery(errorLocation)) {\n      return false;\n    }\n    const container = getThisContainer(errorLocation, false);\n    let location = container;\n    while (location) {\n      if (isClassLike(location.parent)) {\n        const classSymbol = getSymbolOfNode(location.parent);\n        if (!classSymbol) {\n          break;\n        }\n        const constructorType = getTypeOfSymbol(classSymbol);\n        if (getPropertyOfType(constructorType, name)) {\n          error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0, diagnosticName(nameArg), symbolToString(classSymbol));\n          return true;\n        }\n        if (location === container && !isStatic(location)) {\n          const instanceType = getDeclaredTypeOfSymbol(classSymbol).thisType;\n          if (getPropertyOfType(instanceType, name)) {\n            error(errorLocation, Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0, diagnosticName(nameArg));\n            return true;\n          }\n        }\n      }\n      location = location.parent;\n    }\n    return false;\n  }\n  function checkAndReportErrorForExtendingInterface(errorLocation) {\n    const expression = getEntityNameForExtendingInterface(errorLocation);\n    if (expression && resolveEntityName(expression, 64 /* Interface */, true)) {\n      error(errorLocation, Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements, getTextOfNode(expression));\n      return true;\n    }\n    return false;\n  }\n  function getEntityNameForExtendingInterface(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n      case 211 /* PropertyAccessExpression */:\n        return node.parent ? getEntityNameForExtendingInterface(node.parent) : void 0;\n      case 234 /* ExpressionWithTypeArguments */:\n        if (isEntityNameExpression(node.expression)) {\n          return node.expression;\n        }\n      default:\n        return void 0;\n    }\n  }\n  function checkAndReportErrorForUsingTypeAsNamespace(errorLocation, name, meaning) {\n    const namespaceMeaning = 1920 /* Namespace */ | (isInJSFile(errorLocation) ? 111551 /* Value */ : 0);\n    if (meaning === namespaceMeaning) {\n      const symbol = resolveSymbol(resolveName(errorLocation, name, 788968 /* Type */ & ~namespaceMeaning, void 0, void 0, false));\n      const parent2 = errorLocation.parent;\n      if (symbol) {\n        if (isQualifiedName(parent2)) {\n          Debug.assert(parent2.left === errorLocation, \"Should only be resolving left side of qualified name as a namespace\");\n          const propName = parent2.right.escapedText;\n          const propType = getPropertyOfType(getDeclaredTypeOfSymbol(symbol), propName);\n          if (propType) {\n            error(\n              parent2,\n              Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,\n              unescapeLeadingUnderscores(name),\n              unescapeLeadingUnderscores(propName)\n            );\n            return true;\n          }\n        }\n        error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here, unescapeLeadingUnderscores(name));\n        return true;\n      }\n    }\n    return false;\n  }\n  function checkAndReportErrorForUsingValueAsType(errorLocation, name, meaning) {\n    if (meaning & (788968 /* Type */ & ~1920 /* Namespace */)) {\n      const symbol = resolveSymbol(resolveName(errorLocation, name, ~788968 /* Type */ & 111551 /* Value */, void 0, void 0, false));\n      if (symbol && !(symbol.flags & 1920 /* Namespace */)) {\n        error(errorLocation, Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0, unescapeLeadingUnderscores(name));\n        return true;\n      }\n    }\n    return false;\n  }\n  function isPrimitiveTypeName(name) {\n    return name === \"any\" || name === \"string\" || name === \"number\" || name === \"boolean\" || name === \"never\" || name === \"unknown\";\n  }\n  function checkAndReportErrorForExportingPrimitiveType(errorLocation, name) {\n    if (isPrimitiveTypeName(name) && errorLocation.parent.kind === 284 /* ExportSpecifier */) {\n      error(errorLocation, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, name);\n      return true;\n    }\n    return false;\n  }\n  function checkAndReportErrorForUsingTypeAsValue(errorLocation, name, meaning) {\n    if (meaning & 111551 /* Value */) {\n      if (isPrimitiveTypeName(name)) {\n        if (isExtendedByInterface(errorLocation)) {\n          error(errorLocation, Diagnostics.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes, unescapeLeadingUnderscores(name));\n        } else {\n          error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, unescapeLeadingUnderscores(name));\n        }\n        return true;\n      }\n      const symbol = resolveSymbol(resolveName(errorLocation, name, 788968 /* Type */ & ~111551 /* Value */, void 0, void 0, false));\n      const allFlags = symbol && getAllSymbolFlags(symbol);\n      if (symbol && allFlags !== void 0 && !(allFlags & 111551 /* Value */)) {\n        const rawName = unescapeLeadingUnderscores(name);\n        if (isES2015OrLaterConstructorName(name)) {\n          error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later, rawName);\n        } else if (maybeMappedType(errorLocation, symbol)) {\n          error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0, rawName, rawName === \"K\" ? \"P\" : \"K\");\n        } else {\n          error(errorLocation, Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here, rawName);\n        }\n        return true;\n      }\n    }\n    return false;\n  }\n  function isExtendedByInterface(node) {\n    const grandparent = node.parent.parent;\n    const parentOfGrandparent = grandparent.parent;\n    if (grandparent && parentOfGrandparent) {\n      const isExtending = isHeritageClause(grandparent) && grandparent.token === 95 /* ExtendsKeyword */;\n      const isInterface = isInterfaceDeclaration(parentOfGrandparent);\n      return isExtending && isInterface;\n    }\n    return false;\n  }\n  function maybeMappedType(node, symbol) {\n    const container = findAncestor(node.parent, (n) => isComputedPropertyName(n) || isPropertySignature(n) ? false : isTypeLiteralNode(n) || \"quit\");\n    if (container && container.members.length === 1) {\n      const type = getDeclaredTypeOfSymbol(symbol);\n      return !!(type.flags & 1048576 /* Union */) && allTypesAssignableToKind(type, 384 /* StringOrNumberLiteral */, true);\n    }\n    return false;\n  }\n  function isES2015OrLaterConstructorName(n) {\n    switch (n) {\n      case \"Promise\":\n      case \"Symbol\":\n      case \"Map\":\n      case \"WeakMap\":\n      case \"Set\":\n      case \"WeakSet\":\n        return true;\n    }\n    return false;\n  }\n  function checkAndReportErrorForUsingNamespaceAsTypeOrValue(errorLocation, name, meaning) {\n    if (meaning & (111551 /* Value */ & ~788968 /* Type */)) {\n      const symbol = resolveSymbol(resolveName(errorLocation, name, 1024 /* NamespaceModule */, void 0, void 0, false));\n      if (symbol) {\n        error(\n          errorLocation,\n          Diagnostics.Cannot_use_namespace_0_as_a_value,\n          unescapeLeadingUnderscores(name)\n        );\n        return true;\n      }\n    } else if (meaning & (788968 /* Type */ & ~111551 /* Value */)) {\n      const symbol = resolveSymbol(resolveName(errorLocation, name, 1536 /* Module */, void 0, void 0, false));\n      if (symbol) {\n        error(errorLocation, Diagnostics.Cannot_use_namespace_0_as_a_type, unescapeLeadingUnderscores(name));\n        return true;\n      }\n    }\n    return false;\n  }\n  function checkResolvedBlockScopedVariable(result, errorLocation) {\n    var _a2;\n    Debug.assert(!!(result.flags & 2 /* BlockScopedVariable */ || result.flags & 32 /* Class */ || result.flags & 384 /* Enum */));\n    if (result.flags & (16 /* Function */ | 1 /* FunctionScopedVariable */ | 67108864 /* Assignment */) && result.flags & 32 /* Class */) {\n      return;\n    }\n    const declaration = (_a2 = result.declarations) == null ? void 0 : _a2.find(\n      (d) => isBlockOrCatchScoped(d) || isClassLike(d) || isAnnotationDeclaration(d) || d.kind === 269 /* EnumDeclaration */\n    );\n    if (declaration === void 0)\n      return Debug.fail(\"checkResolvedBlockScopedVariable could not find block-scoped declaration\");\n    if (!(declaration.flags & 16777216 /* Ambient */) && !isBlockScopedNameDeclaredBeforeUse(declaration, errorLocation)) {\n      let diagnosticMessage;\n      const declarationName = declarationNameToString(getNameOfDeclaration(declaration));\n      if (result.flags & 2 /* BlockScopedVariable */) {\n        diagnosticMessage = error(errorLocation, Diagnostics.Block_scoped_variable_0_used_before_its_declaration, declarationName);\n      } else if (result.flags & 268435456 /* Annotation */) {\n        diagnosticMessage = error(errorLocation, Diagnostics.Annotation_0_used_before_its_declaration, declarationName);\n      } else if (result.flags & 32 /* Class */) {\n        diagnosticMessage = error(errorLocation, Diagnostics.Class_0_used_before_its_declaration, declarationName);\n      } else if (result.flags & 256 /* RegularEnum */) {\n        diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName);\n      } else {\n        Debug.assert(!!(result.flags & 128 /* ConstEnum */));\n        if (shouldPreserveConstEnums(compilerOptions)) {\n          diagnosticMessage = error(errorLocation, Diagnostics.Enum_0_used_before_its_declaration, declarationName);\n        }\n      }\n      if (diagnosticMessage) {\n        addRelatedInfo(\n          diagnosticMessage,\n          createDiagnosticForNode(declaration, Diagnostics._0_is_declared_here, declarationName)\n        );\n      }\n    }\n  }\n  function isSameScopeDescendentOf(initial, parent2, stopAt) {\n    return !!parent2 && !!findAncestor(initial, (n) => n === parent2 || (n === stopAt || isFunctionLike(n) && !getImmediatelyInvokedFunctionExpression(n) ? \"quit\" : false));\n  }\n  function getAnyImportSyntax(node) {\n    switch (node.kind) {\n      case 274 /* ImportEqualsDeclaration */:\n        return node;\n      case 276 /* ImportClause */:\n        return node.parent;\n      case 277 /* NamespaceImport */:\n        return node.parent.parent;\n      case 279 /* ImportSpecifier */:\n        return node.parent.parent.parent;\n      default:\n        return void 0;\n    }\n  }\n  function getDeclarationOfAliasSymbol(symbol) {\n    return symbol.declarations && findLast(symbol.declarations, isAliasSymbolDeclaration2);\n  }\n  function isAliasSymbolDeclaration2(node) {\n    return node.kind === 274 /* ImportEqualsDeclaration */ || node.kind === 273 /* NamespaceExportDeclaration */ || node.kind === 276 /* ImportClause */ && !!node.name || node.kind === 277 /* NamespaceImport */ || node.kind === 283 /* NamespaceExport */ || node.kind === 279 /* ImportSpecifier */ || node.kind === 284 /* ExportSpecifier */ || node.kind === 280 /* ExportAssignment */ && exportAssignmentIsAlias(node) || isBinaryExpression(node) && getAssignmentDeclarationKind(node) === 2 /* ModuleExports */ && exportAssignmentIsAlias(node) || isAccessExpression(node) && isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63 /* EqualsToken */ && isAliasableOrJsExpression(node.parent.right) || node.kind === 306 /* ShorthandPropertyAssignment */ || node.kind === 305 /* PropertyAssignment */ && isAliasableOrJsExpression(node.initializer) || node.kind === 261 /* VariableDeclaration */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node) || node.kind === 208 /* BindingElement */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node.parent.parent);\n  }\n  function isAliasableOrJsExpression(e) {\n    return isAliasableExpression(e) || isFunctionExpression(e) && isJSConstructor(e);\n  }\n  function getTargetOfImportEqualsDeclaration(node, dontResolveAlias) {\n    const commonJSPropertyAccess = getCommonJSPropertyAccess(node);\n    if (commonJSPropertyAccess) {\n      const name = getLeftmostAccessExpression(commonJSPropertyAccess.expression).arguments[0];\n      return isIdentifier(commonJSPropertyAccess.name) ? resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral(name), commonJSPropertyAccess.name.escapedText)) : void 0;\n    }\n    if (isVariableDeclaration(node) || node.moduleReference.kind === 286 /* ExternalModuleReference */) {\n      const immediate = resolveExternalModuleName(\n        node,\n        getExternalModuleRequireArgument(node) || getExternalModuleImportEqualsDeclarationExpression(node)\n      );\n      const resolved2 = resolveExternalModuleSymbol(immediate);\n      markSymbolOfAliasDeclarationIfTypeOnly(node, immediate, resolved2, false);\n      return resolved2;\n    }\n    const resolved = getSymbolOfPartOfRightHandSideOfImportEquals(node.moduleReference, dontResolveAlias);\n    checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved);\n    return resolved;\n  }\n  function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(node, resolved) {\n    if (markSymbolOfAliasDeclarationIfTypeOnly(node, void 0, resolved, false) && !node.isTypeOnly) {\n      const typeOnlyDeclaration = getTypeOnlyAliasDeclaration(getSymbolOfNode(node));\n      const isExport = typeOnlyDeclaration.kind === 284 /* ExportSpecifier */;\n      const message = isExport ? Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type : Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type;\n      const relatedMessage = isExport ? Diagnostics._0_was_exported_here : Diagnostics._0_was_imported_here;\n      const name = unescapeLeadingUnderscores(typeOnlyDeclaration.name.escapedText);\n      addRelatedInfo(error(node.moduleReference, message), createDiagnosticForNode(typeOnlyDeclaration, relatedMessage, name));\n    }\n  }\n  function resolveExportByName(moduleSymbol, name, sourceNode, dontResolveAlias) {\n    const exportValue = moduleSymbol.exports.get(\"export=\" /* ExportEquals */);\n    const exportSymbol = exportValue ? getPropertyOfType(getTypeOfSymbol(exportValue), name) : moduleSymbol.exports.get(name);\n    const resolved = resolveSymbol(exportSymbol, dontResolveAlias);\n    markSymbolOfAliasDeclarationIfTypeOnly(sourceNode, exportSymbol, resolved, false);\n    return resolved;\n  }\n  function isSyntacticDefault(node) {\n    return isExportAssignment(node) && !node.isExportEquals || hasSyntacticModifier(node, 1024 /* Default */) || isExportSpecifier(node);\n  }\n  function getUsageModeForExpression(usage) {\n    return isStringLiteralLike(usage) ? getModeForUsageLocation(getSourceFileOfNode(usage), usage) : void 0;\n  }\n  function isESMFormatImportImportingCommonjsFormatFile(usageMode, targetMode) {\n    return usageMode === 99 /* ESNext */ && targetMode === 1 /* CommonJS */;\n  }\n  function isOnlyImportedAsDefault(usage) {\n    const usageMode = getUsageModeForExpression(usage);\n    return usageMode === 99 /* ESNext */ && endsWith(usage.text, \".json\" /* Json */);\n  }\n  function canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, usage) {\n    const usageMode = file && getUsageModeForExpression(usage);\n    if (file && usageMode !== void 0) {\n      const result = isESMFormatImportImportingCommonjsFormatFile(usageMode, file.impliedNodeFormat);\n      if (usageMode === 99 /* ESNext */ || result) {\n        return result;\n      }\n    }\n    if (!allowSyntheticDefaultImports) {\n      return false;\n    }\n    if (!file || file.isDeclarationFile) {\n      const defaultExportSymbol = resolveExportByName(moduleSymbol, \"default\" /* Default */, void 0, true);\n      if (defaultExportSymbol && some(defaultExportSymbol.declarations, isSyntacticDefault)) {\n        return false;\n      }\n      if (resolveExportByName(moduleSymbol, escapeLeadingUnderscores(\"__esModule\"), void 0, dontResolveAlias)) {\n        return false;\n      }\n      return true;\n    }\n    if (!isSourceFileJS(file)) {\n      return hasExportAssignmentSymbol(moduleSymbol);\n    }\n    return typeof file.externalModuleIndicator !== \"object\" && !resolveExportByName(moduleSymbol, escapeLeadingUnderscores(\"__esModule\"), void 0, dontResolveAlias);\n  }\n  function getTargetOfImportClause(node, dontResolveAlias) {\n    const moduleSymbol = resolveExternalModuleName(node, node.parent.moduleSpecifier);\n    if (moduleSymbol) {\n      return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias);\n    }\n  }\n  function getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias) {\n    var _a2;\n    let exportDefaultSymbol;\n    if (isShorthandAmbientModuleSymbol(moduleSymbol)) {\n      exportDefaultSymbol = moduleSymbol;\n    } else {\n      exportDefaultSymbol = resolveExportByName(moduleSymbol, \"default\" /* Default */, node, dontResolveAlias);\n    }\n    const file = (_a2 = moduleSymbol.declarations) == null ? void 0 : _a2.find(isSourceFile);\n    const specifier = getModuleSpecifierForImportOrExport(node);\n    if (!specifier) {\n      return exportDefaultSymbol;\n    }\n    const hasDefaultOnly = isOnlyImportedAsDefault(specifier);\n    const hasSyntheticDefault = canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, specifier);\n    if (!exportDefaultSymbol && !hasSyntheticDefault && !hasDefaultOnly) {\n      if (hasExportAssignmentSymbol(moduleSymbol)) {\n        const compilerOptionName = moduleKind >= 5 /* ES2015 */ ? \"allowSyntheticDefaultImports\" : \"esModuleInterop\";\n        const exportEqualsSymbol = moduleSymbol.exports.get(\"export=\" /* ExportEquals */);\n        const exportAssignment = exportEqualsSymbol.valueDeclaration;\n        const err = error(node.name, Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag, symbolToString(moduleSymbol), compilerOptionName);\n        if (exportAssignment) {\n          addRelatedInfo(err, createDiagnosticForNode(\n            exportAssignment,\n            Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,\n            compilerOptionName\n          ));\n        }\n      } else if (isImportClause(node)) {\n        reportNonDefaultExport(moduleSymbol, node);\n      } else {\n        errorNoModuleMemberSymbol(moduleSymbol, moduleSymbol, node, isImportOrExportSpecifier(node) && node.propertyName || node.name);\n      }\n    } else if (hasSyntheticDefault || hasDefaultOnly) {\n      const resolved = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias);\n      markSymbolOfAliasDeclarationIfTypeOnly(node, moduleSymbol, resolved, false);\n      return resolved;\n    }\n    markSymbolOfAliasDeclarationIfTypeOnly(node, exportDefaultSymbol, void 0, false);\n    return exportDefaultSymbol;\n  }\n  function getModuleSpecifierForImportOrExport(node) {\n    switch (node.kind) {\n      case 276 /* ImportClause */:\n        return node.parent.moduleSpecifier;\n      case 274 /* ImportEqualsDeclaration */:\n        return isExternalModuleReference(node.moduleReference) ? node.moduleReference.expression : void 0;\n      case 277 /* NamespaceImport */:\n        return node.parent.parent.moduleSpecifier;\n      case 279 /* ImportSpecifier */:\n        return node.parent.parent.parent.moduleSpecifier;\n      case 284 /* ExportSpecifier */:\n        return node.parent.parent.moduleSpecifier;\n      default:\n        return Debug.assertNever(node);\n    }\n  }\n  function reportNonDefaultExport(moduleSymbol, node) {\n    var _a2, _b, _c;\n    if ((_a2 = moduleSymbol.exports) == null ? void 0 : _a2.has(node.symbol.escapedName)) {\n      error(\n        node.name,\n        Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,\n        symbolToString(moduleSymbol),\n        symbolToString(node.symbol)\n      );\n    } else {\n      const diagnostic = error(node.name, Diagnostics.Module_0_has_no_default_export, symbolToString(moduleSymbol));\n      const exportStar = (_b = moduleSymbol.exports) == null ? void 0 : _b.get(\"__export\" /* ExportStar */);\n      if (exportStar) {\n        const defaultExport = (_c = exportStar.declarations) == null ? void 0 : _c.find((decl) => {\n          var _a3, _b2;\n          return !!(isExportDeclaration(decl) && decl.moduleSpecifier && ((_b2 = (_a3 = resolveExternalModuleName(decl, decl.moduleSpecifier)) == null ? void 0 : _a3.exports) == null ? void 0 : _b2.has(\"default\" /* Default */)));\n        });\n        if (defaultExport) {\n          addRelatedInfo(diagnostic, createDiagnosticForNode(defaultExport, Diagnostics.export_Asterisk_does_not_re_export_a_default));\n        }\n      }\n    }\n  }\n  function getTargetOfNamespaceImport(node, dontResolveAlias) {\n    const moduleSpecifier = node.parent.parent.moduleSpecifier;\n    const immediate = resolveExternalModuleName(node, moduleSpecifier);\n    const resolved = resolveESModuleSymbol(immediate, moduleSpecifier, dontResolveAlias, false);\n    markSymbolOfAliasDeclarationIfTypeOnly(node, immediate, resolved, false);\n    return resolved;\n  }\n  function getTargetOfNamespaceExport(node, dontResolveAlias) {\n    const moduleSpecifier = node.parent.moduleSpecifier;\n    const immediate = moduleSpecifier && resolveExternalModuleName(node, moduleSpecifier);\n    const resolved = moduleSpecifier && resolveESModuleSymbol(immediate, moduleSpecifier, dontResolveAlias, false);\n    markSymbolOfAliasDeclarationIfTypeOnly(node, immediate, resolved, false);\n    return resolved;\n  }\n  function combineValueAndTypeSymbols(valueSymbol, typeSymbol) {\n    if (valueSymbol === unknownSymbol && typeSymbol === unknownSymbol) {\n      return unknownSymbol;\n    }\n    if (valueSymbol.flags & (788968 /* Type */ | 1920 /* Namespace */)) {\n      return valueSymbol;\n    }\n    const result = createSymbol(valueSymbol.flags | typeSymbol.flags, valueSymbol.escapedName);\n    result.declarations = deduplicate(concatenate(valueSymbol.declarations, typeSymbol.declarations), equateValues);\n    result.parent = valueSymbol.parent || typeSymbol.parent;\n    if (valueSymbol.valueDeclaration)\n      result.valueDeclaration = valueSymbol.valueDeclaration;\n    if (typeSymbol.members)\n      result.members = new Map2(typeSymbol.members);\n    if (valueSymbol.exports)\n      result.exports = new Map2(valueSymbol.exports);\n    return result;\n  }\n  function getExportOfModule(symbol, name, specifier, dontResolveAlias) {\n    if (symbol.flags & 1536 /* Module */) {\n      const exportSymbol = getExportsOfSymbol(symbol).get(name.escapedText);\n      const resolved = resolveSymbol(exportSymbol, dontResolveAlias);\n      markSymbolOfAliasDeclarationIfTypeOnly(specifier, exportSymbol, resolved, false);\n      return resolved;\n    }\n  }\n  function getPropertyOfVariable(symbol, name) {\n    if (symbol.flags & 3 /* Variable */) {\n      const typeAnnotation = symbol.valueDeclaration.type;\n      if (typeAnnotation) {\n        return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(typeAnnotation), name));\n      }\n    }\n  }\n  function getExternalModuleMember(node, specifier, dontResolveAlias = false) {\n    var _a2;\n    const moduleSpecifier = getExternalModuleRequireArgument(node) || node.moduleSpecifier;\n    const moduleSymbol = resolveExternalModuleName(node, moduleSpecifier);\n    const name = !isPropertyAccessExpression(specifier) && specifier.propertyName || specifier.name;\n    if (!isIdentifier(name)) {\n      return void 0;\n    }\n    const suppressInteropError = name.escapedText === \"default\" /* Default */ && !!(compilerOptions.allowSyntheticDefaultImports || getESModuleInterop(compilerOptions));\n    const targetSymbol = resolveESModuleSymbol(moduleSymbol, moduleSpecifier, false, suppressInteropError);\n    if (targetSymbol) {\n      if (name.escapedText) {\n        if (isShorthandAmbientModuleSymbol(moduleSymbol)) {\n          return moduleSymbol;\n        }\n        let symbolFromVariable;\n        if (moduleSymbol && moduleSymbol.exports && moduleSymbol.exports.get(\"export=\" /* ExportEquals */)) {\n          symbolFromVariable = getPropertyOfType(getTypeOfSymbol(targetSymbol), name.escapedText, true);\n        } else {\n          symbolFromVariable = getPropertyOfVariable(targetSymbol, name.escapedText);\n        }\n        symbolFromVariable = resolveSymbol(symbolFromVariable, dontResolveAlias);\n        let symbolFromModule = getExportOfModule(targetSymbol, name, specifier, dontResolveAlias);\n        if (symbolFromModule === void 0 && name.escapedText === \"default\" /* Default */) {\n          const file = (_a2 = moduleSymbol.declarations) == null ? void 0 : _a2.find(isSourceFile);\n          if (isOnlyImportedAsDefault(moduleSpecifier) || canHaveSyntheticDefault(file, moduleSymbol, dontResolveAlias, moduleSpecifier)) {\n            symbolFromModule = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) || resolveSymbol(moduleSymbol, dontResolveAlias);\n          }\n        }\n        const symbol = symbolFromModule && symbolFromVariable && symbolFromModule !== symbolFromVariable ? combineValueAndTypeSymbols(symbolFromVariable, symbolFromModule) : symbolFromModule || symbolFromVariable;\n        if (!symbol) {\n          errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name);\n        }\n        return symbol;\n      }\n    }\n  }\n  function errorNoModuleMemberSymbol(moduleSymbol, targetSymbol, node, name) {\n    var _a2;\n    const moduleName = getFullyQualifiedName(moduleSymbol, node);\n    const declarationName = declarationNameToString(name);\n    const suggestion = getSuggestedSymbolForNonexistentModule(name, targetSymbol);\n    if (suggestion !== void 0) {\n      const suggestionName = symbolToString(suggestion);\n      const diagnostic = error(name, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, moduleName, declarationName, suggestionName);\n      if (suggestion.valueDeclaration) {\n        addRelatedInfo(\n          diagnostic,\n          createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestionName)\n        );\n      }\n    } else {\n      if ((_a2 = moduleSymbol.exports) == null ? void 0 : _a2.has(\"default\" /* Default */)) {\n        error(\n          name,\n          Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,\n          moduleName,\n          declarationName\n        );\n      } else {\n        reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName);\n      }\n    }\n  }\n  function reportNonExportedMember(node, name, declarationName, moduleSymbol, moduleName) {\n    var _a2, _b;\n    const localSymbol = (_b = (_a2 = moduleSymbol.valueDeclaration) == null ? void 0 : _a2.locals) == null ? void 0 : _b.get(name.escapedText);\n    const exports = moduleSymbol.exports;\n    if (localSymbol) {\n      const exportedEqualsSymbol = exports == null ? void 0 : exports.get(\"export=\" /* ExportEquals */);\n      if (exportedEqualsSymbol) {\n        getSymbolIfSameReference(exportedEqualsSymbol, localSymbol) ? reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) : error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName);\n      } else {\n        const exportedSymbol = exports ? find(symbolsToArray(exports), (symbol) => !!getSymbolIfSameReference(symbol, localSymbol)) : void 0;\n        const diagnostic = exportedSymbol ? error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2, moduleName, declarationName, symbolToString(exportedSymbol)) : error(name, Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported, moduleName, declarationName);\n        if (localSymbol.declarations) {\n          addRelatedInfo(\n            diagnostic,\n            ...map(localSymbol.declarations, (decl, index) => createDiagnosticForNode(decl, index === 0 ? Diagnostics._0_is_declared_here : Diagnostics.and_here, declarationName))\n          );\n        }\n      }\n    } else {\n      error(name, Diagnostics.Module_0_has_no_exported_member_1, moduleName, declarationName);\n    }\n  }\n  function reportInvalidImportEqualsExportMember(node, name, declarationName, moduleName) {\n    if (moduleKind >= 5 /* ES2015 */) {\n      const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;\n      error(name, message, declarationName);\n    } else {\n      if (isInJSFile(node)) {\n        const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import : Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;\n        error(name, message, declarationName);\n      } else {\n        const message = getESModuleInterop(compilerOptions) ? Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import : Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;\n        error(name, message, declarationName, declarationName, moduleName);\n      }\n    }\n  }\n  function getTargetOfImportSpecifier(node, dontResolveAlias) {\n    if (isImportSpecifier(node) && idText(node.propertyName || node.name) === \"default\" /* Default */) {\n      const specifier = getModuleSpecifierForImportOrExport(node);\n      const moduleSymbol = specifier && resolveExternalModuleName(node, specifier);\n      if (moduleSymbol) {\n        return getTargetofModuleDefault(moduleSymbol, node, dontResolveAlias);\n      }\n    }\n    const root = isBindingElement(node) ? getRootDeclaration(node) : node.parent.parent.parent;\n    const commonJSPropertyAccess = getCommonJSPropertyAccess(root);\n    const resolved = getExternalModuleMember(root, commonJSPropertyAccess || node, dontResolveAlias);\n    const name = node.propertyName || node.name;\n    if (commonJSPropertyAccess && resolved && isIdentifier(name)) {\n      return resolveSymbol(getPropertyOfType(getTypeOfSymbol(resolved), name.escapedText), dontResolveAlias);\n    }\n    markSymbolOfAliasDeclarationIfTypeOnly(node, void 0, resolved, false);\n    return resolved;\n  }\n  function getCommonJSPropertyAccess(node) {\n    if (isVariableDeclaration(node) && node.initializer && isPropertyAccessExpression(node.initializer)) {\n      return node.initializer;\n    }\n  }\n  function getTargetOfNamespaceExportDeclaration(node, dontResolveAlias) {\n    const resolved = resolveExternalModuleSymbol(node.parent.symbol, dontResolveAlias);\n    markSymbolOfAliasDeclarationIfTypeOnly(node, void 0, resolved, false);\n    return resolved;\n  }\n  function getTargetOfExportSpecifier(node, meaning, dontResolveAlias) {\n    if (idText(node.propertyName || node.name) === \"default\" /* Default */) {\n      const specifier = getModuleSpecifierForImportOrExport(node);\n      const moduleSymbol = specifier && resolveExternalModuleName(node, specifier);\n      if (moduleSymbol) {\n        return getTargetofModuleDefault(moduleSymbol, node, !!dontResolveAlias);\n      }\n    }\n    const resolved = node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node, dontResolveAlias) : resolveEntityName(node.propertyName || node.name, meaning, false, dontResolveAlias);\n    markSymbolOfAliasDeclarationIfTypeOnly(node, void 0, resolved, false);\n    return resolved;\n  }\n  function getTargetOfExportAssignment(node, dontResolveAlias) {\n    const expression = isExportAssignment(node) ? node.expression : node.right;\n    const resolved = getTargetOfAliasLikeExpression(expression, dontResolveAlias);\n    markSymbolOfAliasDeclarationIfTypeOnly(node, void 0, resolved, false);\n    return resolved;\n  }\n  function getTargetOfAliasLikeExpression(expression, dontResolveAlias) {\n    if (isClassExpression(expression)) {\n      return checkExpressionCached(expression).symbol;\n    }\n    if (!isEntityName(expression) && !isEntityNameExpression(expression)) {\n      return void 0;\n    }\n    const aliasLike = resolveEntityName(expression, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, true, dontResolveAlias);\n    if (aliasLike) {\n      return aliasLike;\n    }\n    checkExpressionCached(expression);\n    return getNodeLinks(expression).resolvedSymbol;\n  }\n  function getTargetOfAccessExpression(node, dontRecursivelyResolve) {\n    if (!(isBinaryExpression(node.parent) && node.parent.left === node && node.parent.operatorToken.kind === 63 /* EqualsToken */)) {\n      return void 0;\n    }\n    return getTargetOfAliasLikeExpression(node.parent.right, dontRecursivelyResolve);\n  }\n  function getTargetOfAliasDeclaration(node, dontRecursivelyResolve = false) {\n    switch (node.kind) {\n      case 274 /* ImportEqualsDeclaration */:\n      case 261 /* VariableDeclaration */:\n        return getTargetOfImportEqualsDeclaration(node, dontRecursivelyResolve);\n      case 276 /* ImportClause */:\n        return getTargetOfImportClause(node, dontRecursivelyResolve);\n      case 277 /* NamespaceImport */:\n        return getTargetOfNamespaceImport(node, dontRecursivelyResolve);\n      case 283 /* NamespaceExport */:\n        return getTargetOfNamespaceExport(node, dontRecursivelyResolve);\n      case 279 /* ImportSpecifier */:\n      case 208 /* BindingElement */:\n        return getTargetOfImportSpecifier(node, dontRecursivelyResolve);\n      case 284 /* ExportSpecifier */:\n        return getTargetOfExportSpecifier(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, dontRecursivelyResolve);\n      case 280 /* ExportAssignment */:\n      case 227 /* BinaryExpression */:\n        return getTargetOfExportAssignment(node, dontRecursivelyResolve);\n      case 273 /* NamespaceExportDeclaration */:\n        return getTargetOfNamespaceExportDeclaration(node, dontRecursivelyResolve);\n      case 306 /* ShorthandPropertyAssignment */:\n        return resolveEntityName(node.name, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, true, dontRecursivelyResolve);\n      case 305 /* PropertyAssignment */:\n        return getTargetOfAliasLikeExpression(node.initializer, dontRecursivelyResolve);\n      case 212 /* ElementAccessExpression */:\n      case 211 /* PropertyAccessExpression */:\n        return getTargetOfAccessExpression(node, dontRecursivelyResolve);\n      default:\n        return Debug.fail();\n    }\n  }\n  function isNonLocalAlias(symbol, excludes = 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */) {\n    if (!symbol)\n      return false;\n    return (symbol.flags & (2097152 /* Alias */ | excludes)) === 2097152 /* Alias */ || !!(symbol.flags & 2097152 /* Alias */ && symbol.flags & 67108864 /* Assignment */);\n  }\n  function resolveSymbol(symbol, dontResolveAlias) {\n    return !dontResolveAlias && isNonLocalAlias(symbol) ? resolveAlias(symbol) : symbol;\n  }\n  function resolveAlias(symbol) {\n    Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, \"Should only get Alias here.\");\n    const links = getSymbolLinks(symbol);\n    if (!links.aliasTarget) {\n      links.aliasTarget = resolvingSymbol;\n      const node = getDeclarationOfAliasSymbol(symbol);\n      if (!node)\n        return Debug.fail();\n      const target = getTargetOfAliasDeclaration(node);\n      if (links.aliasTarget === resolvingSymbol) {\n        links.aliasTarget = target || unknownSymbol;\n      } else {\n        error(node, Diagnostics.Circular_definition_of_import_alias_0, symbolToString(symbol));\n      }\n    } else if (links.aliasTarget === resolvingSymbol) {\n      links.aliasTarget = unknownSymbol;\n    }\n    return links.aliasTarget;\n  }\n  function tryResolveAlias(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (links.aliasTarget !== resolvingSymbol) {\n      return resolveAlias(symbol);\n    }\n    return void 0;\n  }\n  function getAllSymbolFlags(symbol) {\n    let flags = symbol.flags;\n    let seenSymbols;\n    while (symbol.flags & 2097152 /* Alias */) {\n      const target = resolveAlias(symbol);\n      if (target === unknownSymbol) {\n        return 67108863 /* All */;\n      }\n      if (target === symbol || (seenSymbols == null ? void 0 : seenSymbols.has(target))) {\n        break;\n      }\n      if (target.flags & 2097152 /* Alias */) {\n        if (seenSymbols) {\n          seenSymbols.add(target);\n        } else {\n          seenSymbols = new Set2([symbol, target]);\n        }\n      }\n      flags |= target.flags;\n      symbol = target;\n    }\n    return flags;\n  }\n  function markSymbolOfAliasDeclarationIfTypeOnly(aliasDeclaration, immediateTarget, finalTarget, overwriteEmpty) {\n    if (!aliasDeclaration || isPropertyAccessExpression(aliasDeclaration))\n      return false;\n    const sourceSymbol = getSymbolOfNode(aliasDeclaration);\n    if (isTypeOnlyImportOrExportDeclaration(aliasDeclaration)) {\n      const links2 = getSymbolLinks(sourceSymbol);\n      links2.typeOnlyDeclaration = aliasDeclaration;\n      return true;\n    }\n    const links = getSymbolLinks(sourceSymbol);\n    return markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, immediateTarget, overwriteEmpty) || markSymbolOfAliasDeclarationIfTypeOnlyWorker(links, finalTarget, overwriteEmpty);\n  }\n  function markSymbolOfAliasDeclarationIfTypeOnlyWorker(aliasDeclarationLinks, target, overwriteEmpty) {\n    var _a2, _b, _c;\n    if (target && (aliasDeclarationLinks.typeOnlyDeclaration === void 0 || overwriteEmpty && aliasDeclarationLinks.typeOnlyDeclaration === false)) {\n      const exportSymbol = (_b = (_a2 = target.exports) == null ? void 0 : _a2.get(\"export=\" /* ExportEquals */)) != null ? _b : target;\n      const typeOnly = exportSymbol.declarations && find(exportSymbol.declarations, isTypeOnlyImportOrExportDeclaration);\n      aliasDeclarationLinks.typeOnlyDeclaration = (_c = typeOnly != null ? typeOnly : getSymbolLinks(exportSymbol).typeOnlyDeclaration) != null ? _c : false;\n    }\n    return !!aliasDeclarationLinks.typeOnlyDeclaration;\n  }\n  function getTypeOnlyAliasDeclaration(symbol, include) {\n    if (!(symbol.flags & 2097152 /* Alias */)) {\n      return void 0;\n    }\n    const links = getSymbolLinks(symbol);\n    if (include === void 0) {\n      return links.typeOnlyDeclaration || void 0;\n    }\n    if (links.typeOnlyDeclaration) {\n      return getAllSymbolFlags(resolveAlias(links.typeOnlyDeclaration.symbol)) & include ? links.typeOnlyDeclaration : void 0;\n    }\n    return void 0;\n  }\n  function markExportAsReferenced(node) {\n    const symbol = getSymbolOfNode(node);\n    const target = resolveAlias(symbol);\n    if (target) {\n      const markAlias = target === unknownSymbol || getAllSymbolFlags(target) & 111551 /* Value */ && !isConstEnumOrConstEnumOnlyModule(target) && !getTypeOnlyAliasDeclaration(symbol, 111551 /* Value */);\n      if (markAlias) {\n        markAliasSymbolAsReferenced(symbol);\n      }\n    }\n  }\n  function markAliasSymbolAsReferenced(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.referenced) {\n      links.referenced = true;\n      const node = getDeclarationOfAliasSymbol(symbol);\n      if (!node)\n        return Debug.fail();\n      if (isInternalModuleImportEqualsDeclaration(node)) {\n        if (getAllSymbolFlags(resolveSymbol(symbol)) & 111551 /* Value */) {\n          checkExpressionCached(node.moduleReference);\n        }\n      }\n    }\n  }\n  function markConstEnumAliasAsReferenced(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.constEnumReferenced) {\n      links.constEnumReferenced = true;\n    }\n  }\n  function getSymbolOfPartOfRightHandSideOfImportEquals(entityName, dontResolveAlias) {\n    if (entityName.kind === 79 /* Identifier */ && isRightSideOfQualifiedNameOrPropertyAccess(entityName)) {\n      entityName = entityName.parent;\n    }\n    if (entityName.kind === 79 /* Identifier */ || entityName.parent.kind === 165 /* QualifiedName */) {\n      return resolveEntityName(entityName, 1920 /* Namespace */, false, dontResolveAlias);\n    } else {\n      Debug.assert(entityName.parent.kind === 274 /* ImportEqualsDeclaration */);\n      return resolveEntityName(entityName, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */, false, dontResolveAlias);\n    }\n  }\n  function getFullyQualifiedNameForLinter(symbol) {\n    const cachedQualifiedName = qualifiedNameForLinterCache.get(symbol);\n    if (cachedQualifiedName) {\n      return cachedQualifiedName;\n    }\n    const parts = [];\n    let current = symbol;\n    collectSymbolNames(parts, current);\n    const fullName = parts.join(\".\");\n    qualifiedNameForLinterCache.set(symbol, fullName);\n    return fullName;\n  }\n  function collectSymbolNames(parts, symbol, containingLocation) {\n    if (symbol.parent) {\n      collectSymbolNames(parts, symbol.parent, containingLocation);\n    }\n    const name = symbolToString(\n      symbol,\n      containingLocation,\n      void 0,\n      32 /* DoNotIncludeSymbolChain */ | 4 /* AllowAnyNodeKind */\n    );\n    parts.push(name);\n  }\n  function getFullyQualifiedName(symbol, containingLocation) {\n    if (isTypeCheckerForLinter && containingLocation === void 0) {\n      const cachedQualifiedName = qualifiedNameCache.get(symbol);\n      if (cachedQualifiedName) {\n        return cachedQualifiedName;\n      }\n    }\n    let qualifiedName = getFullyQualifiedNameNoCache(symbol, containingLocation);\n    if (isTypeCheckerForLinter && containingLocation === void 0) {\n      qualifiedNameCache.set(symbol, qualifiedName);\n    }\n    return qualifiedName;\n  }\n  function getFullyQualifiedNameNoCache(symbol, containingLocation) {\n    return symbol.parent ? getFullyQualifiedNameNoCache(symbol.parent, containingLocation) + \".\" + symbolToString(symbol) : symbolToString(\n      symbol,\n      containingLocation,\n      void 0,\n      32 /* DoNotIncludeSymbolChain */ | 4 /* AllowAnyNodeKind */\n    );\n  }\n  function getContainingQualifiedNameNode(node) {\n    while (isQualifiedName(node.parent)) {\n      node = node.parent;\n    }\n    return node;\n  }\n  function tryGetQualifiedNameAsValue(node) {\n    let left = getFirstIdentifier(node);\n    let symbol = resolveName(left, left.escapedText, 111551 /* Value */, void 0, left, true);\n    if (!symbol) {\n      return void 0;\n    }\n    while (isQualifiedName(left.parent)) {\n      const type = getTypeOfSymbol(symbol);\n      symbol = getPropertyOfType(type, left.parent.right.escapedText);\n      if (!symbol) {\n        return void 0;\n      }\n      left = left.parent;\n    }\n    return symbol;\n  }\n  function resolveEntityName(name, meaning, ignoreErrors, dontResolveAlias, location) {\n    if (nodeIsMissing(name)) {\n      return void 0;\n    }\n    const namespaceMeaning = 1920 /* Namespace */ | (isInJSFile(name) ? meaning & 111551 /* Value */ : 0);\n    let symbol;\n    if (name.kind === 79 /* Identifier */) {\n      const message = meaning === namespaceMeaning || nodeIsSynthesized(name) ? Diagnostics.Cannot_find_namespace_0 : getCannotFindNameDiagnosticForName(getFirstIdentifier(name));\n      const symbolFromJSPrototype = isInJSFile(name) && !nodeIsSynthesized(name) ? resolveEntityNameFromAssignmentDeclaration(name, meaning) : void 0;\n      symbol = getMergedSymbol(resolveName(location || name, name.escapedText, meaning, ignoreErrors || symbolFromJSPrototype ? void 0 : message, name, true, false));\n      if (!symbol) {\n        return getMergedSymbol(symbolFromJSPrototype);\n      }\n    } else if (name.kind === 165 /* QualifiedName */ || name.kind === 211 /* PropertyAccessExpression */) {\n      const left = name.kind === 165 /* QualifiedName */ ? name.left : name.expression;\n      const right = name.kind === 165 /* QualifiedName */ ? name.right : name.name;\n      let namespace = resolveEntityName(left, namespaceMeaning, ignoreErrors, false, location);\n      if (!namespace || nodeIsMissing(right)) {\n        return void 0;\n      } else if (namespace === unknownSymbol) {\n        return namespace;\n      }\n      if (namespace.valueDeclaration && isInJSFile(namespace.valueDeclaration) && isVariableDeclaration(namespace.valueDeclaration) && namespace.valueDeclaration.initializer && isCommonJsRequire(namespace.valueDeclaration.initializer)) {\n        const moduleName = namespace.valueDeclaration.initializer.arguments[0];\n        const moduleSym = resolveExternalModuleName(moduleName, moduleName);\n        if (moduleSym) {\n          const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym);\n          if (resolvedModuleSymbol) {\n            namespace = resolvedModuleSymbol;\n          }\n        }\n      }\n      symbol = getMergedSymbol(getSymbol2(getExportsOfSymbol(namespace), right.escapedText, meaning));\n      if (!symbol) {\n        if (!ignoreErrors) {\n          const namespaceName = getFullyQualifiedName(namespace);\n          const declarationName = declarationNameToString(right);\n          const suggestionForNonexistentModule = getSuggestedSymbolForNonexistentModule(right, namespace);\n          if (suggestionForNonexistentModule) {\n            error(right, Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2, namespaceName, declarationName, symbolToString(suggestionForNonexistentModule));\n            return void 0;\n          }\n          const containingQualifiedName = isQualifiedName(name) && getContainingQualifiedNameNode(name);\n          const canSuggestTypeof = globalObjectType && meaning & 788968 /* Type */ && containingQualifiedName && !isTypeOfExpression(containingQualifiedName.parent) && tryGetQualifiedNameAsValue(containingQualifiedName);\n          if (canSuggestTypeof) {\n            error(\n              containingQualifiedName,\n              Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,\n              entityNameToString(containingQualifiedName)\n            );\n            return void 0;\n          }\n          if (meaning & 1920 /* Namespace */ && isQualifiedName(name.parent)) {\n            const exportedTypeSymbol = getMergedSymbol(getSymbol2(getExportsOfSymbol(namespace), right.escapedText, 788968 /* Type */));\n            if (exportedTypeSymbol) {\n              error(\n                name.parent.right,\n                Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,\n                symbolToString(exportedTypeSymbol),\n                unescapeLeadingUnderscores(name.parent.right.escapedText)\n              );\n              return void 0;\n            }\n          }\n          error(right, Diagnostics.Namespace_0_has_no_exported_member_1, namespaceName, declarationName);\n        }\n        return void 0;\n      }\n    } else {\n      throw Debug.assertNever(name, \"Unknown entity name kind.\");\n    }\n    Debug.assert((getCheckFlags(symbol) & 1 /* Instantiated */) === 0, \"Should never get an instantiated symbol here.\");\n    if (!nodeIsSynthesized(name) && isEntityName(name) && (symbol.flags & 2097152 /* Alias */ || name.parent.kind === 280 /* ExportAssignment */)) {\n      markSymbolOfAliasDeclarationIfTypeOnly(getAliasDeclarationFromName(name), symbol, void 0, true);\n    }\n    return symbol.flags & meaning || dontResolveAlias ? symbol : resolveAlias(symbol);\n  }\n  function resolveEntityNameFromAssignmentDeclaration(name, meaning) {\n    if (isJSDocTypeReference(name.parent)) {\n      const secondaryLocation = getAssignmentDeclarationLocation(name.parent);\n      if (secondaryLocation) {\n        return resolveName(secondaryLocation, name.escapedText, meaning, void 0, name, true);\n      }\n    }\n  }\n  function getAssignmentDeclarationLocation(node) {\n    const typeAlias = findAncestor(node, (node2) => !(isJSDocNode(node2) || node2.flags & 8388608 /* JSDoc */) ? \"quit\" : isJSDocTypeAlias(node2));\n    if (typeAlias) {\n      return;\n    }\n    const host2 = getJSDocHost(node);\n    if (host2 && isExpressionStatement(host2) && isPrototypePropertyAssignment(host2.expression)) {\n      const symbol = getSymbolOfNode(host2.expression.left);\n      if (symbol) {\n        return getDeclarationOfJSPrototypeContainer(symbol);\n      }\n    }\n    if (host2 && isFunctionExpression(host2) && isPrototypePropertyAssignment(host2.parent) && isExpressionStatement(host2.parent.parent)) {\n      const symbol = getSymbolOfNode(host2.parent.left);\n      if (symbol) {\n        return getDeclarationOfJSPrototypeContainer(symbol);\n      }\n    }\n    if (host2 && (isObjectLiteralMethod(host2) || isPropertyAssignment(host2)) && isBinaryExpression(host2.parent.parent) && getAssignmentDeclarationKind(host2.parent.parent) === 6 /* Prototype */) {\n      const symbol = getSymbolOfNode(host2.parent.parent.left);\n      if (symbol) {\n        return getDeclarationOfJSPrototypeContainer(symbol);\n      }\n    }\n    const sig = getEffectiveJSDocHost(node);\n    if (sig && isFunctionLike(sig)) {\n      const symbol = getSymbolOfNode(sig);\n      return symbol && symbol.valueDeclaration;\n    }\n  }\n  function getDeclarationOfJSPrototypeContainer(symbol) {\n    const decl = symbol.parent.valueDeclaration;\n    if (!decl) {\n      return void 0;\n    }\n    const initializer = isAssignmentDeclaration(decl) ? getAssignedExpandoInitializer(decl) : hasOnlyExpressionInitializer(decl) ? getDeclaredExpandoInitializer(decl) : void 0;\n    return initializer || decl;\n  }\n  function getExpandoSymbol(symbol) {\n    const decl = symbol.valueDeclaration;\n    if (!decl || !isInJSFile(decl) || symbol.flags & 524288 /* TypeAlias */ || getExpandoInitializer(decl, false)) {\n      return void 0;\n    }\n    const init = isVariableDeclaration(decl) ? getDeclaredExpandoInitializer(decl) : getAssignedExpandoInitializer(decl);\n    if (init) {\n      const initSymbol = getSymbolOfNode(init);\n      if (initSymbol) {\n        return mergeJSSymbols(initSymbol, symbol);\n      }\n    }\n  }\n  function resolveExternalModuleName(location, moduleReferenceExpression, ignoreErrors) {\n    const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */;\n    const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;\n    return resolveExternalModuleNameWorker(location, moduleReferenceExpression, ignoreErrors ? void 0 : errorMessage);\n  }\n  function resolveExternalModuleNameWorker(location, moduleReferenceExpression, moduleNotFoundError, isForAugmentation = false) {\n    return isStringLiteralLike(moduleReferenceExpression) ? resolveExternalModule(location, moduleReferenceExpression.text, moduleNotFoundError, moduleReferenceExpression, isForAugmentation) : void 0;\n  }\n  function resolveExternalModule(location, moduleReference, moduleNotFoundError, errorNode, isForAugmentation = false) {\n    var _a2, _b, _c, _d, _e, _f, _g, _h;\n    if (startsWith(moduleReference, \"@types/\")) {\n      const diag2 = Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;\n      const withoutAtTypePrefix = removePrefix(moduleReference, \"@types/\");\n      error(errorNode, diag2, withoutAtTypePrefix, moduleReference);\n    }\n    const isSoFile = moduleReference.lastIndexOf(\".so\") !== -1;\n    if (isSoFile && !(isInETSFile(location) && compilerOptions.needDoArkTsLinter && !compilerOptions.isCompatibleVersion)) {\n      const diagnostic = createDiagnosticForNode(errorNode, Diagnostics.Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in_later_SDK_version_Please_make_sure_the_corresponding_d_ts_file_is_provided_and_the_napis_are_correctly_declared, moduleReference);\n      diagnostics.add(diagnostic);\n      return void 0;\n    }\n    const ambientModule = tryFindAmbientModule(moduleReference, true);\n    if (ambientModule) {\n      return ambientModule;\n    }\n    const currentSourceFile = getSourceFileOfNode(location);\n    const contextSpecifier = isStringLiteralLike(location) ? location : ((_a2 = findAncestor(location, isImportCall)) == null ? void 0 : _a2.arguments[0]) || ((_b = findAncestor(location, isImportDeclaration)) == null ? void 0 : _b.moduleSpecifier) || ((_c = findAncestor(location, isExternalModuleImportEqualsDeclaration)) == null ? void 0 : _c.moduleReference.expression) || ((_d = findAncestor(location, isExportDeclaration)) == null ? void 0 : _d.moduleSpecifier) || ((_e = isModuleDeclaration(location) ? location : location.parent && isModuleDeclaration(location.parent) && location.parent.name === location ? location.parent : void 0) == null ? void 0 : _e.name) || ((_f = isLiteralImportTypeNode(location) ? location : void 0) == null ? void 0 : _f.argument.literal);\n    const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? getModeForUsageLocation(currentSourceFile, contextSpecifier) : currentSourceFile.impliedNodeFormat;\n    const resolvedModule = getResolvedModule(currentSourceFile, moduleReference, mode);\n    const sdkPath = compilerOptions.etsLoaderPath ? resolvePath(compilerOptions.etsLoaderPath, \"../..\") : void 0;\n    if (compilerOptions.needDoArkTsLinter && currentSourceFile && currentSourceFile.scriptKind === 3 /* TS */ && resolvedModule && (resolvedModule.extension === \".ets\" || resolvedModule.extension === \".d.ets\")) {\n      const diagnosticType = compilerOptions.isCompatibleVersion ? Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden : Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden;\n      if (contextSpecifier && !isImportDeclaration(contextSpecifier.parent) && !isExportDeclaration(contextSpecifier.parent) || !allowImportSendable(sdkPath, currentSourceFile)) {\n        error(errorNode, diagnosticType, moduleReference);\n      }\n    }\n    const resolutionDiagnostic = resolvedModule && getResolutionDiagnostic(compilerOptions, resolvedModule);\n    const sourceFile = resolvedModule && (!resolutionDiagnostic || resolutionDiagnostic === Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set) && (!compilerOptions.needDoArkTsLinter || isTypeCheckerForLinter || !hasJSFileExtension(resolvedModule.resolvedFileName)) && host.getSourceFile(resolvedModule.resolvedFileName);\n    if (sourceFile) {\n      if (resolutionDiagnostic) {\n        error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName);\n      }\n      if (sourceFile.symbol) {\n        if (resolvedModule.isExternalLibraryImport && !resolutionExtensionIsTSOrJson(resolvedModule.extension)) {\n          errorOnImplicitAnyModule(false, errorNode, resolvedModule, moduleReference);\n        }\n        if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) {\n          const isSyncImport = currentSourceFile.impliedNodeFormat === 1 /* CommonJS */ && !findAncestor(location, isImportCall) || !!findAncestor(location, isImportEqualsDeclaration);\n          const overrideClauseHost = findAncestor(location, (l) => isImportTypeNode(l) || isExportDeclaration(l) || isImportDeclaration(l));\n          const overrideClause = overrideClauseHost && isImportTypeNode(overrideClauseHost) ? (_g = overrideClauseHost.assertions) == null ? void 0 : _g.assertClause : overrideClauseHost == null ? void 0 : overrideClauseHost.assertClause;\n          if (isSyncImport && sourceFile.impliedNodeFormat === 99 /* ESNext */ && !getResolutionModeOverrideForClause(overrideClause)) {\n            if (findAncestor(location, isImportEqualsDeclaration)) {\n              error(errorNode, Diagnostics.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead, moduleReference);\n            } else {\n              let diagnosticDetails;\n              const ext = tryGetExtensionFromPath2(currentSourceFile.fileName);\n              if (ext === \".ts\" /* Ts */ || ext === \".js\" /* Js */ || ext === \".tsx\" /* Tsx */ || ext === \".jsx\" /* Jsx */) {\n                const scope = currentSourceFile.packageJsonScope;\n                const targetExt = ext === \".ts\" /* Ts */ ? \".mts\" /* Mts */ : ext === \".js\" /* Js */ ? \".mjs\" /* Mjs */ : void 0;\n                if (scope && !scope.contents.packageJsonContent.type) {\n                  if (targetExt) {\n                    diagnosticDetails = chainDiagnosticMessages(\n                      void 0,\n                      Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,\n                      targetExt,\n                      combinePaths(scope.packageDirectory, getPackageJsonByPMType(compilerOptions.packageManagerType))\n                    );\n                  } else {\n                    diagnosticDetails = chainDiagnosticMessages(\n                      void 0,\n                      Diagnostics.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,\n                      combinePaths(scope.packageDirectory, getPackageJsonByPMType(compilerOptions.packageManagerType))\n                    );\n                  }\n                } else {\n                  if (targetExt) {\n                    diagnosticDetails = chainDiagnosticMessages(\n                      void 0,\n                      Diagnostics.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,\n                      targetExt\n                    );\n                  } else {\n                    diagnosticDetails = chainDiagnosticMessages(\n                      void 0,\n                      Diagnostics.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module\n                    );\n                  }\n                }\n              }\n              diagnostics.add(createDiagnosticForNodeFromMessageChain(errorNode, chainDiagnosticMessages(\n                diagnosticDetails,\n                Diagnostics.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,\n                moduleReference\n              )));\n            }\n          }\n        }\n        return getMergedSymbol(sourceFile.symbol);\n      }\n      if (moduleNotFoundError) {\n        error(errorNode, Diagnostics.File_0_is_not_a_module, sourceFile.fileName);\n      }\n      return void 0;\n    }\n    if (patternAmbientModules) {\n      const pattern = findBestPatternMatch(patternAmbientModules, (_) => _.pattern, moduleReference);\n      if (pattern) {\n        const augmentation = patternAmbientModuleAugmentations && patternAmbientModuleAugmentations.get(moduleReference);\n        if (augmentation) {\n          return getMergedSymbol(augmentation);\n        }\n        return getMergedSymbol(pattern.symbol);\n      }\n    }\n    if (resolvedModule && !resolutionExtensionIsTSOrJson(resolvedModule.extension) && resolutionDiagnostic === void 0 || resolutionDiagnostic === Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type) {\n      if (resolvedModule == null ? void 0 : resolvedModule.isNotOhExport) {\n        error(errorNode, Diagnostics.Cannot_find_module_0_This_module_is_not_exported, moduleReference);\n      }\n      if (isForAugmentation) {\n        const diag2 = Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;\n        error(errorNode, diag2, moduleReference, resolvedModule.resolvedFileName);\n      } else {\n        errorOnImplicitAnyModule(noImplicitAny && !!moduleNotFoundError, errorNode, resolvedModule, moduleReference);\n      }\n      return void 0;\n    }\n    if (moduleNotFoundError) {\n      if (resolvedModule) {\n        const redirect = host.getProjectReferenceRedirect(resolvedModule.resolvedFileName);\n        if (redirect) {\n          error(errorNode, Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, resolvedModule.resolvedFileName);\n          return void 0;\n        }\n      }\n      if (resolutionDiagnostic) {\n        error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName);\n      } else {\n        const tsExtension = tryExtractTSExtension(moduleReference);\n        const isExtensionlessRelativePathImport = pathIsRelative(moduleReference) && !hasExtension(moduleReference);\n        const moduleResolutionKind = getEmitModuleResolutionKind(compilerOptions);\n        const resolutionIsNode16OrNext = moduleResolutionKind === 3 /* Node16 */ || moduleResolutionKind === 99 /* NodeNext */;\n        if (tsExtension) {\n          const diag2 = Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;\n          const importSourceWithoutExtension = removeExtension(moduleReference, tsExtension);\n          let replacedImportSource = importSourceWithoutExtension;\n          if (moduleKind >= 5 /* ES2015 */) {\n            replacedImportSource += tsExtension === \".mts\" /* Mts */ ? \".mjs\" : tsExtension === \".cts\" /* Cts */ ? \".cjs\" : \".js\";\n          }\n          error(errorNode, diag2, tsExtension, replacedImportSource);\n        } else if (!compilerOptions.resolveJsonModule && fileExtensionIs(moduleReference, \".json\" /* Json */) && getEmitModuleResolutionKind(compilerOptions) !== 1 /* Classic */ && hasJsonModuleEmitEnabled(compilerOptions)) {\n          error(errorNode, Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension, moduleReference);\n        } else if (mode === 99 /* ESNext */ && resolutionIsNode16OrNext && isExtensionlessRelativePathImport) {\n          const absoluteRef = getNormalizedAbsolutePath(moduleReference, getDirectoryPath(currentSourceFile.path));\n          const suggestedExt = (_h = suggestedExtensions.find(([actualExt, _importExt]) => host.fileExists(absoluteRef + actualExt))) == null ? void 0 : _h[1];\n          if (suggestedExt) {\n            error(\n              errorNode,\n              Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,\n              moduleReference + suggestedExt\n            );\n          } else {\n            error(errorNode, Diagnostics.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path);\n          }\n        } else {\n          if (isSoFile) {\n            const diagnostic = createDiagnosticForNode(errorNode, Diagnostics.Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in_later_SDK_version_Please_make_sure_the_corresponding_d_ts_file_is_provided_and_the_napis_are_correctly_declared, moduleReference);\n            diagnostics.add(diagnostic);\n          } else if (resolvedModule == null ? void 0 : resolvedModule.isNotOhExport) {\n            error(errorNode, Diagnostics.Cannot_find_module_0_This_module_is_not_exported, moduleReference);\n          } else {\n            error(errorNode, moduleNotFoundError, moduleReference);\n          }\n        }\n      }\n    }\n    return void 0;\n  }\n  function allowImportSendable(sdkPath, currentSourceFile) {\n    const isInSdkPath = !!(sdkPath && normalizePath(currentSourceFile.fileName).startsWith(sdkPath));\n    return isInSdkPath && currentSourceFile.isDeclarationFile || !!compilerOptions.tsImportSendableEnable && !currentSourceFile.isDeclarationFile;\n  }\n  function errorOnImplicitAnyModule(isError, errorNode, { packageId, resolvedFileName }, moduleReference) {\n    const errorInfo = !isExternalModuleNameRelative(moduleReference) && packageId ? typesPackageExists(packageId.name) ? chainDiagnosticMessages(\n      void 0,\n      Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,\n      packageId.name,\n      mangleScopedPackageName(packageId.name)\n    ) : packageBundlesTypes(packageId.name) ? chainDiagnosticMessages(\n      void 0,\n      Diagnostics.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,\n      packageId.name,\n      moduleReference\n    ) : chainDiagnosticMessages(\n      void 0,\n      Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,\n      moduleReference,\n      mangleScopedPackageName(packageId.name)\n    ) : void 0;\n    errorOrSuggestion(isError, errorNode, chainDiagnosticMessages(\n      errorInfo,\n      Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,\n      moduleReference,\n      resolvedFileName\n    ));\n  }\n  function typesPackageExists(packageName) {\n    return getPackagesMap().has(getTypesPackageName(packageName));\n  }\n  function packageBundlesTypes(packageName) {\n    return !!getPackagesMap().get(packageName);\n  }\n  function resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias) {\n    if (moduleSymbol == null ? void 0 : moduleSymbol.exports) {\n      const exportEquals = resolveSymbol(moduleSymbol.exports.get(\"export=\" /* ExportEquals */), dontResolveAlias);\n      const exported = getCommonJsExportEquals(getMergedSymbol(exportEquals), getMergedSymbol(moduleSymbol));\n      return getMergedSymbol(exported) || moduleSymbol;\n    }\n    return void 0;\n  }\n  function getCommonJsExportEquals(exported, moduleSymbol) {\n    if (!exported || exported === unknownSymbol || exported === moduleSymbol || moduleSymbol.exports.size === 1 || exported.flags & 2097152 /* Alias */) {\n      return exported;\n    }\n    const links = getSymbolLinks(exported);\n    if (links.cjsExportMerged) {\n      return links.cjsExportMerged;\n    }\n    const merged = exported.flags & 33554432 /* Transient */ ? exported : cloneSymbol(exported);\n    merged.flags = merged.flags | 512 /* ValueModule */;\n    if (merged.exports === void 0) {\n      merged.exports = createSymbolTable();\n    }\n    moduleSymbol.exports.forEach((s, name) => {\n      if (name === \"export=\" /* ExportEquals */)\n        return;\n      merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s);\n    });\n    getSymbolLinks(merged).cjsExportMerged = merged;\n    return links.cjsExportMerged = merged;\n  }\n  function resolveESModuleSymbol(moduleSymbol, referencingLocation, dontResolveAlias, suppressInteropError) {\n    var _a2;\n    const symbol = resolveExternalModuleSymbol(moduleSymbol, dontResolveAlias);\n    if (!dontResolveAlias && symbol) {\n      if (!suppressInteropError && !(symbol.flags & (1536 /* Module */ | 3 /* Variable */)) && !getDeclarationOfKind(symbol, 314 /* SourceFile */)) {\n        const compilerOptionName = moduleKind >= 5 /* ES2015 */ ? \"allowSyntheticDefaultImports\" : \"esModuleInterop\";\n        error(referencingLocation, Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export, compilerOptionName);\n        return symbol;\n      }\n      const referenceParent = referencingLocation.parent;\n      if (isImportDeclaration(referenceParent) && getNamespaceDeclarationNode(referenceParent) || isImportCall(referenceParent)) {\n        const reference = isImportCall(referenceParent) ? referenceParent.arguments[0] : referenceParent.moduleSpecifier;\n        const type = getTypeOfSymbol(symbol);\n        const defaultOnlyType = getTypeWithSyntheticDefaultOnly(type, symbol, moduleSymbol, reference);\n        if (defaultOnlyType) {\n          return cloneTypeAsModuleType(symbol, defaultOnlyType, referenceParent);\n        }\n        const targetFile = (_a2 = moduleSymbol == null ? void 0 : moduleSymbol.declarations) == null ? void 0 : _a2.find(isSourceFile);\n        const isEsmCjsRef = targetFile && isESMFormatImportImportingCommonjsFormatFile(getUsageModeForExpression(reference), targetFile.impliedNodeFormat);\n        if (getESModuleInterop(compilerOptions) || isEsmCjsRef) {\n          let sigs = getSignaturesOfStructuredType(type, 0 /* Call */);\n          if (!sigs || !sigs.length) {\n            sigs = getSignaturesOfStructuredType(type, 1 /* Construct */);\n          }\n          if (sigs && sigs.length || getPropertyOfType(type, \"default\" /* Default */, true) || isEsmCjsRef) {\n            const moduleType = getTypeWithSyntheticDefaultImportType(type, symbol, moduleSymbol, reference);\n            return cloneTypeAsModuleType(symbol, moduleType, referenceParent);\n          }\n        }\n      }\n    }\n    return symbol;\n  }\n  function cloneTypeAsModuleType(symbol, moduleType, referenceParent) {\n    const result = createSymbol(symbol.flags, symbol.escapedName);\n    result.declarations = symbol.declarations ? symbol.declarations.slice() : [];\n    result.parent = symbol.parent;\n    result.target = symbol;\n    result.originatingImport = referenceParent;\n    if (symbol.valueDeclaration)\n      result.valueDeclaration = symbol.valueDeclaration;\n    if (symbol.constEnumOnlyModule)\n      result.constEnumOnlyModule = true;\n    if (symbol.members)\n      result.members = new Map2(symbol.members);\n    if (symbol.exports)\n      result.exports = new Map2(symbol.exports);\n    const resolvedModuleType = resolveStructuredTypeMembers(moduleType);\n    result.type = createAnonymousType(result, resolvedModuleType.members, emptyArray, emptyArray, resolvedModuleType.indexInfos);\n    return result;\n  }\n  function hasExportAssignmentSymbol(moduleSymbol) {\n    return moduleSymbol.exports.get(\"export=\" /* ExportEquals */) !== void 0;\n  }\n  function getExportsOfModuleAsArray(moduleSymbol) {\n    return symbolsToArray(getExportsOfModule(moduleSymbol));\n  }\n  function getExportsAndPropertiesOfModule(moduleSymbol) {\n    const exports = getExportsOfModuleAsArray(moduleSymbol);\n    const exportEquals = resolveExternalModuleSymbol(moduleSymbol);\n    if (exportEquals !== moduleSymbol) {\n      const type = getTypeOfSymbol(exportEquals);\n      if (shouldTreatPropertiesOfExternalModuleAsExports(type)) {\n        addRange(exports, getPropertiesOfType(type));\n      }\n    }\n    return exports;\n  }\n  function forEachExportAndPropertyOfModule(moduleSymbol, cb) {\n    const exports = getExportsOfModule(moduleSymbol);\n    exports.forEach((symbol, key) => {\n      if (!isReservedMemberName(key)) {\n        cb(symbol, key);\n      }\n    });\n    const exportEquals = resolveExternalModuleSymbol(moduleSymbol);\n    if (exportEquals !== moduleSymbol) {\n      const type = getTypeOfSymbol(exportEquals);\n      if (shouldTreatPropertiesOfExternalModuleAsExports(type)) {\n        forEachPropertyOfType(type, (symbol, escapedName) => {\n          cb(symbol, escapedName);\n        });\n      }\n    }\n  }\n  function tryGetMemberInModuleExports(memberName, moduleSymbol) {\n    const symbolTable = getExportsOfModule(moduleSymbol);\n    if (symbolTable) {\n      return symbolTable.get(memberName);\n    }\n  }\n  function tryGetMemberInModuleExportsAndProperties(memberName, moduleSymbol) {\n    const symbol = tryGetMemberInModuleExports(memberName, moduleSymbol);\n    if (symbol) {\n      return symbol;\n    }\n    const exportEquals = resolveExternalModuleSymbol(moduleSymbol);\n    if (exportEquals === moduleSymbol) {\n      return void 0;\n    }\n    const type = getTypeOfSymbol(exportEquals);\n    return shouldTreatPropertiesOfExternalModuleAsExports(type) ? getPropertyOfType(type, memberName) : void 0;\n  }\n  function shouldTreatPropertiesOfExternalModuleAsExports(resolvedExternalModuleType) {\n    return !(resolvedExternalModuleType.flags & 131068 /* Primitive */ || getObjectFlags(resolvedExternalModuleType) & 1 /* Class */ || isArrayType(resolvedExternalModuleType) || isTupleType(resolvedExternalModuleType));\n  }\n  function getExportsOfSymbol(symbol) {\n    return symbol.flags & 6256 /* LateBindingContainer */ ? getResolvedMembersOrExportsOfSymbol(symbol, \"resolvedExports\" /* resolvedExports */) : symbol.flags & 1536 /* Module */ ? getExportsOfModule(symbol) : symbol.exports || emptySymbols;\n  }\n  function getExportsOfModule(moduleSymbol) {\n    const links = getSymbolLinks(moduleSymbol);\n    return links.resolvedExports || (links.resolvedExports = getExportsOfModuleWorker(moduleSymbol));\n  }\n  function extendExportSymbols(target, source, lookupTable, exportNode) {\n    if (!source)\n      return;\n    source.forEach((sourceSymbol, id) => {\n      if (id === \"default\" /* Default */)\n        return;\n      const targetSymbol = target.get(id);\n      if (!targetSymbol) {\n        target.set(id, sourceSymbol);\n        if (lookupTable && exportNode) {\n          lookupTable.set(id, {\n            specifierText: getTextOfNode(exportNode.moduleSpecifier)\n          });\n        }\n      } else if (lookupTable && exportNode && targetSymbol && resolveSymbol(targetSymbol) !== resolveSymbol(sourceSymbol)) {\n        const collisionTracker = lookupTable.get(id);\n        if (!collisionTracker.exportsWithDuplicate) {\n          collisionTracker.exportsWithDuplicate = [exportNode];\n        } else {\n          collisionTracker.exportsWithDuplicate.push(exportNode);\n        }\n      }\n    });\n  }\n  function getExportsOfModuleWorker(moduleSymbol) {\n    const visitedSymbols = [];\n    moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);\n    return visit(moduleSymbol) || emptySymbols;\n    function visit(symbol) {\n      if (!(symbol && symbol.exports && pushIfUnique(visitedSymbols, symbol))) {\n        return;\n      }\n      const symbols = new Map2(symbol.exports);\n      const exportStars = symbol.exports.get(\"__export\" /* ExportStar */);\n      if (exportStars) {\n        const nestedSymbols = createSymbolTable();\n        const lookupTable = new Map2();\n        if (exportStars.declarations) {\n          for (const node of exportStars.declarations) {\n            const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier);\n            const exportedSymbols = visit(resolvedModule);\n            extendExportSymbols(\n              nestedSymbols,\n              exportedSymbols,\n              lookupTable,\n              node\n            );\n          }\n        }\n        lookupTable.forEach(({ exportsWithDuplicate }, id) => {\n          if (id === \"export=\" || !(exportsWithDuplicate && exportsWithDuplicate.length) || symbols.has(id)) {\n            return;\n          }\n          for (const node of exportsWithDuplicate) {\n            diagnostics.add(createDiagnosticForNode(\n              node,\n              Diagnostics.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,\n              lookupTable.get(id).specifierText,\n              unescapeLeadingUnderscores(id)\n            ));\n          }\n        });\n        extendExportSymbols(symbols, nestedSymbols);\n      }\n      return symbols;\n    }\n  }\n  function getMergedSymbol(symbol) {\n    let merged;\n    return symbol && symbol.mergeId && (merged = mergedSymbols[symbol.mergeId]) ? merged : symbol;\n  }\n  function getSymbolOfNode(node) {\n    return getMergedSymbol(node.symbol && getLateBoundSymbol(node.symbol));\n  }\n  function getParentOfSymbol(symbol) {\n    return getMergedSymbol(symbol.parent && getLateBoundSymbol(symbol.parent));\n  }\n  function getAlternativeContainingModules(symbol, enclosingDeclaration) {\n    const containingFile = getSourceFileOfNode(enclosingDeclaration);\n    const id = getNodeId(containingFile);\n    const links = getSymbolLinks(symbol);\n    let results;\n    if (links.extendedContainersByFile && (results = links.extendedContainersByFile.get(id))) {\n      return results;\n    }\n    if (containingFile && containingFile.imports) {\n      for (const importRef of containingFile.imports) {\n        if (nodeIsSynthesized(importRef))\n          continue;\n        const resolvedModule = resolveExternalModuleName(enclosingDeclaration, importRef, true);\n        if (!resolvedModule)\n          continue;\n        const ref = getAliasForSymbolInContainer(resolvedModule, symbol);\n        if (!ref)\n          continue;\n        results = append(results, resolvedModule);\n      }\n      if (length(results)) {\n        (links.extendedContainersByFile || (links.extendedContainersByFile = new Map2())).set(id, results);\n        return results;\n      }\n    }\n    if (links.extendedContainers) {\n      return links.extendedContainers;\n    }\n    const otherFiles = host.getSourceFiles();\n    for (const file of otherFiles) {\n      if (!isExternalModule(file))\n        continue;\n      const sym = getSymbolOfNode(file);\n      const ref = getAliasForSymbolInContainer(sym, symbol);\n      if (!ref)\n        continue;\n      results = append(results, sym);\n    }\n    return links.extendedContainers = results || emptyArray;\n  }\n  function getContainersOfSymbol(symbol, enclosingDeclaration, meaning) {\n    const container = getParentOfSymbol(symbol);\n    if (container && !(symbol.flags & 262144 /* TypeParameter */)) {\n      const additionalContainers = mapDefined(container.declarations, fileSymbolIfFileSymbolExportEqualsContainer);\n      const reexportContainers = enclosingDeclaration && getAlternativeContainingModules(symbol, enclosingDeclaration);\n      const objectLiteralContainer = getVariableDeclarationOfObjectLiteral(container, meaning);\n      if (enclosingDeclaration && container.flags & getQualifiedLeftMeaning(meaning) && getAccessibleSymbolChain(container, enclosingDeclaration, 1920 /* Namespace */, false)) {\n        return append(concatenate(concatenate([container], additionalContainers), reexportContainers), objectLiteralContainer);\n      }\n      const firstVariableMatch = !(container.flags & getQualifiedLeftMeaning(meaning)) && container.flags & 788968 /* Type */ && getDeclaredTypeOfSymbol(container).flags & 524288 /* Object */ && meaning === 111551 /* Value */ ? forEachSymbolTableInScope(enclosingDeclaration, (t) => {\n        return forEachEntry(t, (s) => {\n          if (s.flags & getQualifiedLeftMeaning(meaning) && getTypeOfSymbol(s) === getDeclaredTypeOfSymbol(container)) {\n            return s;\n          }\n        });\n      }) : void 0;\n      let res = firstVariableMatch ? [firstVariableMatch, ...additionalContainers, container] : [...additionalContainers, container];\n      res = append(res, objectLiteralContainer);\n      res = addRange(res, reexportContainers);\n      return res;\n    }\n    const candidates = mapDefined(symbol.declarations, (d) => {\n      if (!isAmbientModule(d) && d.parent) {\n        if (hasNonGlobalAugmentationExternalModuleSymbol(d.parent)) {\n          return getSymbolOfNode(d.parent);\n        }\n        if (isModuleBlock(d.parent) && d.parent.parent && resolveExternalModuleSymbol(getSymbolOfNode(d.parent.parent)) === symbol) {\n          return getSymbolOfNode(d.parent.parent);\n        }\n      }\n      if (isClassExpression(d) && isBinaryExpression(d.parent) && d.parent.operatorToken.kind === 63 /* EqualsToken */ && isAccessExpression(d.parent.left) && isEntityNameExpression(d.parent.left.expression)) {\n        if (isModuleExportsAccessExpression(d.parent.left) || isExportsIdentifier(d.parent.left.expression)) {\n          return getSymbolOfNode(getSourceFileOfNode(d));\n        }\n        checkExpressionCached(d.parent.left.expression);\n        return getNodeLinks(d.parent.left.expression).resolvedSymbol;\n      }\n    });\n    if (!length(candidates)) {\n      return void 0;\n    }\n    return mapDefined(candidates, (candidate) => getAliasForSymbolInContainer(candidate, symbol) ? candidate : void 0);\n    function fileSymbolIfFileSymbolExportEqualsContainer(d) {\n      return container && getFileSymbolIfFileSymbolExportEqualsContainer(d, container);\n    }\n  }\n  function getVariableDeclarationOfObjectLiteral(symbol, meaning) {\n    const firstDecl = !!length(symbol.declarations) && first(symbol.declarations);\n    if (meaning & 111551 /* Value */ && firstDecl && firstDecl.parent && isVariableDeclaration(firstDecl.parent)) {\n      if (isObjectLiteralExpression(firstDecl) && firstDecl === firstDecl.parent.initializer || isTypeLiteralNode(firstDecl) && firstDecl === firstDecl.parent.type) {\n        return getSymbolOfNode(firstDecl.parent);\n      }\n    }\n  }\n  function getFileSymbolIfFileSymbolExportEqualsContainer(d, container) {\n    const fileSymbol = getExternalModuleContainer(d);\n    const exported = fileSymbol && fileSymbol.exports && fileSymbol.exports.get(\"export=\" /* ExportEquals */);\n    return exported && getSymbolIfSameReference(exported, container) ? fileSymbol : void 0;\n  }\n  function getAliasForSymbolInContainer(container, symbol) {\n    if (container === getParentOfSymbol(symbol)) {\n      return symbol;\n    }\n    const exportEquals = container.exports && container.exports.get(\"export=\" /* ExportEquals */);\n    if (exportEquals && getSymbolIfSameReference(exportEquals, symbol)) {\n      return container;\n    }\n    const exports = getExportsOfSymbol(container);\n    const quick = exports.get(symbol.escapedName);\n    if (quick && getSymbolIfSameReference(quick, symbol)) {\n      return quick;\n    }\n    return forEachEntry(exports, (exported) => {\n      if (getSymbolIfSameReference(exported, symbol)) {\n        return exported;\n      }\n    });\n  }\n  function getSymbolIfSameReference(s1, s2) {\n    if (getMergedSymbol(resolveSymbol(getMergedSymbol(s1))) === getMergedSymbol(resolveSymbol(getMergedSymbol(s2)))) {\n      return s1;\n    }\n  }\n  function getExportSymbolOfValueSymbolIfExported(symbol) {\n    return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol);\n  }\n  function symbolIsValue(symbol, includeTypeOnlyMembers) {\n    return !!(symbol.flags & 111551 /* Value */ || symbol.flags & 2097152 /* Alias */ && getAllSymbolFlags(symbol) & 111551 /* Value */ && (includeTypeOnlyMembers || !getTypeOnlyAliasDeclaration(symbol)));\n  }\n  function findConstructorDeclaration(node) {\n    const members = node.members;\n    for (const member of members) {\n      if (member.kind === 176 /* Constructor */ && nodeIsPresent(member.body)) {\n        return member;\n      }\n    }\n  }\n  function createType(flags) {\n    var _a2;\n    const result = new Type31(checker, flags);\n    typeCount++;\n    result.id = typeCount;\n    (_a2 = tracing) == null ? void 0 : _a2.recordType(result);\n    return result;\n  }\n  function createOriginType(flags) {\n    return new Type31(checker, flags);\n  }\n  function createIntrinsicType(kind, intrinsicName, objectFlags = 0) {\n    const type = createType(kind);\n    type.intrinsicName = intrinsicName;\n    type.objectFlags = objectFlags;\n    return type;\n  }\n  function createObjectType(objectFlags, symbol) {\n    const type = createType(524288 /* Object */);\n    type.objectFlags = objectFlags;\n    type.symbol = symbol;\n    type.members = void 0;\n    type.properties = void 0;\n    type.callSignatures = void 0;\n    type.constructSignatures = void 0;\n    type.indexInfos = void 0;\n    return type;\n  }\n  function createTypeofType() {\n    return getUnionType(arrayFrom(typeofNEFacts.keys(), getStringLiteralType));\n  }\n  function createTypeParameter(symbol) {\n    const type = createType(262144 /* TypeParameter */);\n    if (symbol)\n      type.symbol = symbol;\n    return type;\n  }\n  function isReservedMemberName(name) {\n    return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) !== 95 /* _ */ && name.charCodeAt(2) !== 64 /* at */ && name.charCodeAt(2) !== 35 /* hash */;\n  }\n  function getNamedMembers(members) {\n    let result;\n    members.forEach((symbol, id) => {\n      if (isNamedMember(symbol, id)) {\n        (result || (result = [])).push(symbol);\n      }\n    });\n    return result || emptyArray;\n  }\n  function isNamedMember(member, escapedName) {\n    return !isReservedMemberName(escapedName) && symbolIsValue(member);\n  }\n  function getNamedOrIndexSignatureMembers(members) {\n    const result = getNamedMembers(members);\n    const index = getIndexSymbolFromSymbolTable(members);\n    return index ? concatenate(result, [index]) : result;\n  }\n  function setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos) {\n    const resolved = type;\n    resolved.members = members;\n    resolved.properties = emptyArray;\n    resolved.callSignatures = callSignatures;\n    resolved.constructSignatures = constructSignatures;\n    resolved.indexInfos = indexInfos;\n    if (members !== emptySymbols)\n      resolved.properties = getNamedMembers(members);\n    return resolved;\n  }\n  function createAnonymousType(symbol, members, callSignatures, constructSignatures, indexInfos) {\n    return setStructuredTypeMembers(\n      createObjectType(16 /* Anonymous */, symbol),\n      members,\n      callSignatures,\n      constructSignatures,\n      indexInfos\n    );\n  }\n  function getResolvedTypeWithoutAbstractConstructSignatures(type) {\n    if (type.constructSignatures.length === 0)\n      return type;\n    if (type.objectTypeWithoutAbstractConstructSignatures)\n      return type.objectTypeWithoutAbstractConstructSignatures;\n    const constructSignatures = filter(type.constructSignatures, (signature) => !(signature.flags & 4 /* Abstract */));\n    if (type.constructSignatures === constructSignatures)\n      return type;\n    const typeCopy = createAnonymousType(\n      type.symbol,\n      type.members,\n      type.callSignatures,\n      some(constructSignatures) ? constructSignatures : emptyArray,\n      type.indexInfos\n    );\n    type.objectTypeWithoutAbstractConstructSignatures = typeCopy;\n    typeCopy.objectTypeWithoutAbstractConstructSignatures = typeCopy;\n    return typeCopy;\n  }\n  function forEachSymbolTableInScope(enclosingDeclaration, callback) {\n    let result;\n    for (let location = enclosingDeclaration; location; location = location.parent) {\n      if (location.locals && !isGlobalSourceFile(location)) {\n        if (result = callback(location.locals, void 0, true, location)) {\n          return result;\n        }\n      }\n      switch (location.kind) {\n        case 314 /* SourceFile */:\n          if (!isExternalOrCommonJsModule(location)) {\n            break;\n          }\n        case 270 /* ModuleDeclaration */:\n          const sym = getSymbolOfNode(location);\n          if (result = callback((sym == null ? void 0 : sym.exports) || emptySymbols, void 0, true, location)) {\n            return result;\n          }\n          break;\n        case 264 /* ClassDeclaration */:\n        case 232 /* ClassExpression */:\n        case 267 /* InterfaceDeclaration */:\n          let table;\n          (getSymbolOfNode(location).members || emptySymbols).forEach((memberSymbol, key) => {\n            if (memberSymbol.flags & (788968 /* Type */ & ~67108864 /* Assignment */)) {\n              (table || (table = createSymbolTable())).set(key, memberSymbol);\n            }\n          });\n          if (table && (result = callback(table, void 0, false, location))) {\n            return result;\n          }\n          break;\n      }\n    }\n    return callback(globals, void 0, true);\n  }\n  function getQualifiedLeftMeaning(rightMeaning) {\n    return rightMeaning === 111551 /* Value */ ? 111551 /* Value */ : 1920 /* Namespace */;\n  }\n  function getAccessibleSymbolChain(symbol, enclosingDeclaration, meaning, useOnlyExternalAliasing, visitedSymbolTablesMap = new Map2()) {\n    if (!(symbol && !isPropertyOrMethodDeclarationSymbol(symbol))) {\n      return void 0;\n    }\n    const links = getSymbolLinks(symbol);\n    const cache = links.accessibleChainCache || (links.accessibleChainCache = new Map2());\n    const firstRelevantLocation = forEachSymbolTableInScope(enclosingDeclaration, (_, __, ___, node) => node);\n    const key = `${useOnlyExternalAliasing ? 0 : 1}|${firstRelevantLocation && getNodeId(firstRelevantLocation)}|${meaning}`;\n    if (cache.has(key)) {\n      return cache.get(key);\n    }\n    const id = getSymbolId(symbol);\n    let visitedSymbolTables = visitedSymbolTablesMap.get(id);\n    if (!visitedSymbolTables) {\n      visitedSymbolTablesMap.set(id, visitedSymbolTables = []);\n    }\n    const result = forEachSymbolTableInScope(enclosingDeclaration, getAccessibleSymbolChainFromSymbolTable);\n    cache.set(key, result);\n    return result;\n    function getAccessibleSymbolChainFromSymbolTable(symbols, ignoreQualification, isLocalNameLookup) {\n      if (!pushIfUnique(visitedSymbolTables, symbols)) {\n        return void 0;\n      }\n      const result2 = trySymbolTable(symbols, ignoreQualification, isLocalNameLookup);\n      visitedSymbolTables.pop();\n      return result2;\n    }\n    function canQualifySymbol(symbolFromSymbolTable, meaning2) {\n      return !needsQualification(symbolFromSymbolTable, enclosingDeclaration, meaning2) || !!getAccessibleSymbolChain(symbolFromSymbolTable.parent, enclosingDeclaration, getQualifiedLeftMeaning(meaning2), useOnlyExternalAliasing, visitedSymbolTablesMap);\n    }\n    function isAccessible(symbolFromSymbolTable, resolvedAliasSymbol, ignoreQualification) {\n      return (symbol === (resolvedAliasSymbol || symbolFromSymbolTable) || getMergedSymbol(symbol) === getMergedSymbol(resolvedAliasSymbol || symbolFromSymbolTable)) && !some(symbolFromSymbolTable.declarations, hasNonGlobalAugmentationExternalModuleSymbol) && (ignoreQualification || canQualifySymbol(getMergedSymbol(symbolFromSymbolTable), meaning));\n    }\n    function trySymbolTable(symbols, ignoreQualification, isLocalNameLookup) {\n      if (isAccessible(symbols.get(symbol.escapedName), void 0, ignoreQualification)) {\n        return [symbol];\n      }\n      const result2 = forEachEntry(symbols, (symbolFromSymbolTable) => {\n        if (symbolFromSymbolTable.flags & 2097152 /* Alias */ && symbolFromSymbolTable.escapedName !== \"export=\" /* ExportEquals */ && symbolFromSymbolTable.escapedName !== \"default\" /* Default */ && !(isUMDExportSymbol(symbolFromSymbolTable) && enclosingDeclaration && isExternalModule(getSourceFileOfNode(enclosingDeclaration))) && (!useOnlyExternalAliasing || some(symbolFromSymbolTable.declarations, isExternalModuleImportEqualsDeclaration)) && (isLocalNameLookup ? !some(symbolFromSymbolTable.declarations, isNamespaceReexportDeclaration) : true) && (ignoreQualification || !getDeclarationOfKind(symbolFromSymbolTable, 284 /* ExportSpecifier */))) {\n          const resolvedImportedSymbol = resolveAlias(symbolFromSymbolTable);\n          const candidate = getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification);\n          if (candidate) {\n            return candidate;\n          }\n        }\n        if (symbolFromSymbolTable.escapedName === symbol.escapedName && symbolFromSymbolTable.exportSymbol) {\n          if (isAccessible(getMergedSymbol(symbolFromSymbolTable.exportSymbol), void 0, ignoreQualification)) {\n            return [symbol];\n          }\n        }\n      });\n      return result2 || (symbols === globals ? getCandidateListForSymbol(globalThisSymbol, globalThisSymbol, ignoreQualification) : void 0);\n    }\n    function getCandidateListForSymbol(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification) {\n      if (isAccessible(symbolFromSymbolTable, resolvedImportedSymbol, ignoreQualification)) {\n        return [symbolFromSymbolTable];\n      }\n      const candidateTable = getExportsOfSymbol(resolvedImportedSymbol);\n      const accessibleSymbolsFromExports = candidateTable && getAccessibleSymbolChainFromSymbolTable(candidateTable, true);\n      if (accessibleSymbolsFromExports && canQualifySymbol(symbolFromSymbolTable, getQualifiedLeftMeaning(meaning))) {\n        return [symbolFromSymbolTable].concat(accessibleSymbolsFromExports);\n      }\n    }\n  }\n  function needsQualification(symbol, enclosingDeclaration, meaning) {\n    let qualify = false;\n    forEachSymbolTableInScope(enclosingDeclaration, (symbolTable) => {\n      let symbolFromSymbolTable = getMergedSymbol(symbolTable.get(symbol.escapedName));\n      if (!symbolFromSymbolTable) {\n        return false;\n      }\n      if (symbolFromSymbolTable === symbol) {\n        return true;\n      }\n      const shouldResolveAlias = symbolFromSymbolTable.flags & 2097152 /* Alias */ && !getDeclarationOfKind(symbolFromSymbolTable, 284 /* ExportSpecifier */);\n      symbolFromSymbolTable = shouldResolveAlias ? resolveAlias(symbolFromSymbolTable) : symbolFromSymbolTable;\n      const flags = shouldResolveAlias ? getAllSymbolFlags(symbolFromSymbolTable) : symbolFromSymbolTable.flags;\n      if (flags & meaning) {\n        qualify = true;\n        return true;\n      }\n      return false;\n    });\n    return qualify;\n  }\n  function isPropertyOrMethodDeclarationSymbol(symbol) {\n    if (symbol.declarations && symbol.declarations.length) {\n      for (const declaration of symbol.declarations) {\n        switch (declaration.kind) {\n          case 171 /* PropertyDeclaration */:\n          case 174 /* MethodDeclaration */:\n          case 177 /* GetAccessor */:\n          case 178 /* SetAccessor */:\n            continue;\n          default:\n            return false;\n        }\n      }\n      return true;\n    }\n    return false;\n  }\n  function isTypeSymbolAccessible(typeSymbol, enclosingDeclaration) {\n    const access = isSymbolAccessibleWorker(typeSymbol, enclosingDeclaration, 788968 /* Type */, false, true);\n    return access.accessibility === 0 /* Accessible */;\n  }\n  function isValueSymbolAccessible(typeSymbol, enclosingDeclaration) {\n    const access = isSymbolAccessibleWorker(typeSymbol, enclosingDeclaration, 111551 /* Value */, false, true);\n    return access.accessibility === 0 /* Accessible */;\n  }\n  function isSymbolAccessibleByFlags(typeSymbol, enclosingDeclaration, flags) {\n    const access = isSymbolAccessibleWorker(typeSymbol, enclosingDeclaration, flags, false, false);\n    return access.accessibility === 0 /* Accessible */;\n  }\n  function isAnySymbolAccessible(symbols, enclosingDeclaration, initialSymbol, meaning, shouldComputeAliasesToMakeVisible, allowModules) {\n    if (!length(symbols))\n      return;\n    let hadAccessibleChain;\n    let earlyModuleBail = false;\n    for (const symbol of symbols) {\n      const accessibleSymbolChain = getAccessibleSymbolChain(symbol, enclosingDeclaration, meaning, false);\n      if (accessibleSymbolChain) {\n        hadAccessibleChain = symbol;\n        const hasAccessibleDeclarations = hasVisibleDeclarations(accessibleSymbolChain[0], shouldComputeAliasesToMakeVisible);\n        if (hasAccessibleDeclarations) {\n          return hasAccessibleDeclarations;\n        }\n      }\n      if (allowModules) {\n        if (some(symbol.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n          if (shouldComputeAliasesToMakeVisible) {\n            earlyModuleBail = true;\n            continue;\n          }\n          return {\n            accessibility: 0 /* Accessible */\n          };\n        }\n      }\n      const containers = getContainersOfSymbol(symbol, enclosingDeclaration, meaning);\n      const parentResult = isAnySymbolAccessible(containers, enclosingDeclaration, initialSymbol, initialSymbol === symbol ? getQualifiedLeftMeaning(meaning) : meaning, shouldComputeAliasesToMakeVisible, allowModules);\n      if (parentResult) {\n        return parentResult;\n      }\n    }\n    if (earlyModuleBail) {\n      return {\n        accessibility: 0 /* Accessible */\n      };\n    }\n    if (hadAccessibleChain) {\n      return {\n        accessibility: 1 /* NotAccessible */,\n        errorSymbolName: symbolToString(initialSymbol, enclosingDeclaration, meaning),\n        errorModuleName: hadAccessibleChain !== initialSymbol ? symbolToString(hadAccessibleChain, enclosingDeclaration, 1920 /* Namespace */) : void 0\n      };\n    }\n  }\n  function isSymbolAccessible(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible) {\n    return isSymbolAccessibleWorker(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible, true);\n  }\n  function isSymbolAccessibleWorker(symbol, enclosingDeclaration, meaning, shouldComputeAliasesToMakeVisible, allowModules) {\n    if (symbol && enclosingDeclaration) {\n      const result = isAnySymbolAccessible([symbol], enclosingDeclaration, symbol, meaning, shouldComputeAliasesToMakeVisible, allowModules);\n      if (result) {\n        return result;\n      }\n      const symbolExternalModule = forEach(symbol.declarations, getExternalModuleContainer);\n      if (symbolExternalModule) {\n        const enclosingExternalModule = getExternalModuleContainer(enclosingDeclaration);\n        if (symbolExternalModule !== enclosingExternalModule) {\n          return {\n            accessibility: 2 /* CannotBeNamed */,\n            errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning),\n            errorModuleName: symbolToString(symbolExternalModule),\n            errorNode: isInJSFile(enclosingDeclaration) ? enclosingDeclaration : void 0\n          };\n        }\n      }\n      return {\n        accessibility: 1 /* NotAccessible */,\n        errorSymbolName: symbolToString(symbol, enclosingDeclaration, meaning)\n      };\n    }\n    return { accessibility: 0 /* Accessible */ };\n  }\n  function getExternalModuleContainer(declaration) {\n    const node = findAncestor(declaration, hasExternalModuleSymbol);\n    return node && getSymbolOfNode(node);\n  }\n  function hasExternalModuleSymbol(declaration) {\n    return isAmbientModule(declaration) || declaration.kind === 314 /* SourceFile */ && isExternalOrCommonJsModule(declaration);\n  }\n  function hasNonGlobalAugmentationExternalModuleSymbol(declaration) {\n    return isModuleWithStringLiteralName(declaration) || declaration.kind === 314 /* SourceFile */ && isExternalOrCommonJsModule(declaration);\n  }\n  function hasVisibleDeclarations(symbol, shouldComputeAliasToMakeVisible) {\n    let aliasesToMakeVisible;\n    if (!every(filter(symbol.declarations, (d) => d.kind !== 79 /* Identifier */), getIsDeclarationVisible)) {\n      return void 0;\n    }\n    return { accessibility: 0 /* Accessible */, aliasesToMakeVisible };\n    function getIsDeclarationVisible(declaration) {\n      var _a2, _b;\n      if (!isDeclarationVisible(declaration)) {\n        const anyImportSyntax = getAnyImportSyntax(declaration);\n        if (anyImportSyntax && !hasSyntacticModifier(anyImportSyntax, 1 /* Export */) && isDeclarationVisible(anyImportSyntax.parent)) {\n          return addVisibleAlias(declaration, anyImportSyntax);\n        } else if (isVariableDeclaration(declaration) && isVariableStatement(declaration.parent.parent) && !hasSyntacticModifier(declaration.parent.parent, 1 /* Export */) && isDeclarationVisible(declaration.parent.parent.parent)) {\n          return addVisibleAlias(declaration, declaration.parent.parent);\n        } else if (isLateVisibilityPaintedStatement(declaration) && !hasSyntacticModifier(declaration, 1 /* Export */) && isDeclarationVisible(declaration.parent)) {\n          return addVisibleAlias(declaration, declaration);\n        } else if (isBindingElement(declaration)) {\n          if (symbol.flags & 2097152 /* Alias */ && isInJSFile(declaration) && ((_a2 = declaration.parent) == null ? void 0 : _a2.parent) && isVariableDeclaration(declaration.parent.parent) && ((_b = declaration.parent.parent.parent) == null ? void 0 : _b.parent) && isVariableStatement(declaration.parent.parent.parent.parent) && !hasSyntacticModifier(declaration.parent.parent.parent.parent, 1 /* Export */) && declaration.parent.parent.parent.parent.parent && isDeclarationVisible(declaration.parent.parent.parent.parent.parent)) {\n            return addVisibleAlias(declaration, declaration.parent.parent.parent.parent);\n          } else if (symbol.flags & 2 /* BlockScopedVariable */) {\n            const variableStatement = findAncestor(declaration, isVariableStatement);\n            if (hasSyntacticModifier(variableStatement, 1 /* Export */)) {\n              return true;\n            }\n            if (!isDeclarationVisible(variableStatement.parent)) {\n              return false;\n            }\n            return addVisibleAlias(declaration, variableStatement);\n          }\n        }\n        return false;\n      }\n      return true;\n    }\n    function addVisibleAlias(declaration, aliasingStatement) {\n      if (shouldComputeAliasToMakeVisible) {\n        getNodeLinks(declaration).isVisible = true;\n        aliasesToMakeVisible = appendIfUnique(aliasesToMakeVisible, aliasingStatement);\n      }\n      return true;\n    }\n  }\n  function isEntityNameVisible(entityName, enclosingDeclaration) {\n    let meaning;\n    if (entityName.parent.kind === 186 /* TypeQuery */ || entityName.parent.kind === 234 /* ExpressionWithTypeArguments */ && !isPartOfTypeNode(entityName.parent) || entityName.parent.kind === 166 /* ComputedPropertyName */) {\n      meaning = 111551 /* Value */ | 1048576 /* ExportValue */;\n    } else if (entityName.kind === 165 /* QualifiedName */ || entityName.kind === 211 /* PropertyAccessExpression */ || entityName.parent.kind === 274 /* ImportEqualsDeclaration */) {\n      meaning = 1920 /* Namespace */;\n    } else {\n      meaning = 788968 /* Type */;\n    }\n    const firstIdentifier = getFirstIdentifier(entityName);\n    const symbol = resolveName(enclosingDeclaration, firstIdentifier.escapedText, meaning, void 0, void 0, false);\n    if (symbol && symbol.flags & 262144 /* TypeParameter */ && meaning & 788968 /* Type */) {\n      return { accessibility: 0 /* Accessible */ };\n    }\n    if (!symbol && isThisIdentifier(firstIdentifier) && isSymbolAccessible(getSymbolOfNode(getThisContainer(firstIdentifier, false)), firstIdentifier, meaning, false).accessibility === 0 /* Accessible */) {\n      return { accessibility: 0 /* Accessible */ };\n    }\n    return symbol && hasVisibleDeclarations(symbol, true) || {\n      accessibility: 1 /* NotAccessible */,\n      errorSymbolName: getTextOfNode(firstIdentifier),\n      errorNode: firstIdentifier\n    };\n  }\n  function symbolToString(symbol, enclosingDeclaration, meaning, flags = 4 /* AllowAnyNodeKind */, writer) {\n    let nodeFlags = 70221824 /* IgnoreErrors */;\n    if (flags & 2 /* UseOnlyExternalAliasing */) {\n      nodeFlags |= 128 /* UseOnlyExternalAliasing */;\n    }\n    if (flags & 1 /* WriteTypeParametersOrArguments */) {\n      nodeFlags |= 512 /* WriteTypeParametersInQualifiedName */;\n    }\n    if (flags & 8 /* UseAliasDefinedOutsideCurrentScope */) {\n      nodeFlags |= 16384 /* UseAliasDefinedOutsideCurrentScope */;\n    }\n    if (flags & 32 /* DoNotIncludeSymbolChain */) {\n      nodeFlags |= 134217728 /* DoNotIncludeSymbolChain */;\n    }\n    if (flags & 16 /* WriteComputedProps */) {\n      nodeFlags |= 1073741824 /* WriteComputedProps */;\n    }\n    const builder = flags & 4 /* AllowAnyNodeKind */ ? nodeBuilder.symbolToNode : nodeBuilder.symbolToEntityName;\n    return writer ? symbolToStringWorker(writer).getText() : usingSingleLineStringWriter(symbolToStringWorker);\n    function symbolToStringWorker(writer2) {\n      const entity = builder(symbol, meaning, enclosingDeclaration, nodeFlags);\n      const printer3 = (enclosingDeclaration == null ? void 0 : enclosingDeclaration.kind) === 314 /* SourceFile */ ? createPrinterWithRemoveCommentsNeverAsciiEscape() : createPrinterWithRemoveComments();\n      const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n      printer3.writeNode(4 /* Unspecified */, entity, sourceFile, writer2);\n      return writer2;\n    }\n  }\n  function signatureToString(signature, enclosingDeclaration, flags = 0 /* None */, kind, writer) {\n    return writer ? signatureToStringWorker(writer).getText() : usingSingleLineStringWriter(signatureToStringWorker);\n    function signatureToStringWorker(writer2) {\n      let sigOutput;\n      if (flags & 262144 /* WriteArrowStyleSignature */) {\n        sigOutput = kind === 1 /* Construct */ ? 185 /* ConstructorType */ : 184 /* FunctionType */;\n      } else {\n        sigOutput = kind === 1 /* Construct */ ? 180 /* ConstructSignature */ : 179 /* CallSignature */;\n      }\n      const sig = nodeBuilder.signatureToSignatureDeclaration(signature, sigOutput, enclosingDeclaration, toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | 512 /* WriteTypeParametersInQualifiedName */);\n      const printer3 = createPrinterWithRemoveCommentsOmitTrailingSemicolon();\n      const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n      printer3.writeNode(4 /* Unspecified */, sig, sourceFile, getTrailingSemicolonDeferringWriter(writer2));\n      return writer2;\n    }\n  }\n  function typeToStringForLinter(type, enclosingDeclaration, flags = 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer = createTextWriter(\"\")) {\n    const typeCache = typeToStringCache.get(type);\n    if (typeCache) {\n      return typeCache;\n    }\n    const result = typeToString(type, enclosingDeclaration, flags, writer);\n    typeToStringCache.set(type, result);\n    return result;\n  }\n  function typeToString(type, enclosingDeclaration, flags = 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer = createTextWriter(\"\")) {\n    const noTruncation = compilerOptions.noErrorTruncation || flags & 1 /* NoTruncation */;\n    const typeNode = nodeBuilder.typeToTypeNode(type, enclosingDeclaration, toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | (noTruncation ? 1 /* NoTruncation */ : 0), writer);\n    if (typeNode === void 0)\n      return Debug.fail(\"should always get typenode\");\n    const printer3 = type !== unresolvedType ? createPrinterWithRemoveComments() : createPrinterWithDefaults();\n    const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n    printer3.writeNode(4 /* Unspecified */, typeNode, sourceFile, writer);\n    const result = writer.getText();\n    const maxLength2 = noTruncation ? noTruncationMaximumTruncationLength * 2 : defaultMaximumTruncationLength * 2;\n    if (maxLength2 && result && result.length >= maxLength2) {\n      return result.substr(0, maxLength2 - \"...\".length) + \"...\";\n    }\n    return result;\n  }\n  function getTypeNamesForErrorDisplay(left, right) {\n    let leftStr = symbolValueDeclarationIsContextSensitive(left.symbol) ? typeToString(left, left.symbol.valueDeclaration) : typeToString(left);\n    let rightStr = symbolValueDeclarationIsContextSensitive(right.symbol) ? typeToString(right, right.symbol.valueDeclaration) : typeToString(right);\n    if (leftStr === rightStr) {\n      leftStr = getTypeNameForErrorDisplay(left);\n      rightStr = getTypeNameForErrorDisplay(right);\n    }\n    return [leftStr, rightStr];\n  }\n  function getTypeNameForErrorDisplay(type) {\n    return typeToString(type, void 0, 64 /* UseFullyQualifiedType */);\n  }\n  function symbolValueDeclarationIsContextSensitive(symbol) {\n    return symbol && !!symbol.valueDeclaration && isExpression(symbol.valueDeclaration) && !isContextSensitive(symbol.valueDeclaration);\n  }\n  function toNodeBuilderFlags(flags = 0 /* None */) {\n    return flags & 848330091 /* NodeBuilderFlagsMask */;\n  }\n  function isClassInstanceSide(type) {\n    return !!type.symbol && !!(type.symbol.flags & 32 /* Class */) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || !!(type.flags & 524288 /* Object */) && !!(getObjectFlags(type) & 16777216 /* IsClassInstanceClone */));\n  }\n  function createNodeBuilder() {\n    return {\n      typeToTypeNode: (type, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => typeToTypeNodeHelper(type, context)),\n      indexInfoToIndexSignatureDeclaration: (indexInfo, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, void 0)),\n      signatureToSignatureDeclaration: (signature, kind, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => signatureToSignatureDeclarationHelper(signature, kind, context)),\n      symbolToEntityName: (symbol, meaning, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToName(symbol, context, meaning, false)),\n      symbolToExpression: (symbol, meaning, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToExpression(symbol, context, meaning)),\n      symbolToTypeParameterDeclarations: (symbol, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => typeParametersToTypeParameterDeclarations(symbol, context)),\n      symbolToParameterDeclaration: (symbol, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToParameterDeclaration(symbol, context)),\n      typeParameterToDeclaration: (parameter, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => typeParameterToDeclaration(parameter, context)),\n      symbolTableToDeclarationStatements: (symbolTable, enclosingDeclaration, flags, tracker, bundled) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolTableToDeclarationStatements(symbolTable, context, bundled)),\n      symbolToNode: (symbol, meaning, enclosingDeclaration, flags, tracker) => withContext(enclosingDeclaration, flags, tracker, (context) => symbolToNode(symbol, context, meaning))\n    };\n    function symbolToNode(symbol, context, meaning) {\n      if (context.flags & 1073741824 /* WriteComputedProps */) {\n        if (symbol.valueDeclaration) {\n          const name = getNameOfDeclaration(symbol.valueDeclaration);\n          if (name && isComputedPropertyName(name))\n            return name;\n        }\n        const nameType = getSymbolLinks(symbol).nameType;\n        if (nameType && nameType.flags & (1024 /* EnumLiteral */ | 8192 /* UniqueESSymbol */)) {\n          context.enclosingDeclaration = nameType.symbol.valueDeclaration;\n          return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, meaning));\n        }\n      }\n      return symbolToExpression(symbol, context, meaning);\n    }\n    function withContext(enclosingDeclaration, flags, tracker, cb) {\n      var _a2, _b;\n      Debug.assert(enclosingDeclaration === void 0 || (enclosingDeclaration.flags & 8 /* Synthesized */) === 0);\n      const context = {\n        enclosingDeclaration,\n        flags: flags || 0 /* None */,\n        tracker: tracker && tracker.trackSymbol ? tracker : { trackSymbol: () => false, moduleResolverHost: flags & 134217728 /* DoNotIncludeSymbolChain */ ? {\n          getCommonSourceDirectory: !!host.getCommonSourceDirectory ? () => host.getCommonSourceDirectory() : () => \"\",\n          getCurrentDirectory: () => host.getCurrentDirectory(),\n          getSymlinkCache: maybeBind(host, host.getSymlinkCache),\n          getPackageJsonInfoCache: () => {\n            var _a3;\n            return (_a3 = host.getPackageJsonInfoCache) == null ? void 0 : _a3.call(host);\n          },\n          useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames),\n          redirectTargetsMap: host.redirectTargetsMap,\n          getProjectReferenceRedirect: (fileName) => host.getProjectReferenceRedirect(fileName),\n          isSourceOfProjectReferenceRedirect: (fileName) => host.isSourceOfProjectReferenceRedirect(fileName),\n          fileExists: (fileName) => host.fileExists(fileName),\n          getFileIncludeReasons: () => host.getFileIncludeReasons(),\n          readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0\n        } : void 0 },\n        encounteredError: false,\n        reportedDiagnostic: false,\n        visitedTypes: void 0,\n        symbolDepth: void 0,\n        inferTypeParameters: void 0,\n        approximateLength: 0\n      };\n      context.tracker = wrapSymbolTrackerToReportForContext(context, context.tracker);\n      const resultingNode = cb(context);\n      if (context.truncating && context.flags & 1 /* NoTruncation */) {\n        (_b = (_a2 = context.tracker) == null ? void 0 : _a2.reportTruncationError) == null ? void 0 : _b.call(_a2);\n      }\n      return context.encounteredError ? void 0 : resultingNode;\n    }\n    function wrapSymbolTrackerToReportForContext(context, tracker) {\n      const oldTrackSymbol = tracker.trackSymbol;\n      return {\n        ...tracker,\n        reportCyclicStructureError: wrapReportedDiagnostic(tracker.reportCyclicStructureError),\n        reportInaccessibleThisError: wrapReportedDiagnostic(tracker.reportInaccessibleThisError),\n        reportInaccessibleUniqueSymbolError: wrapReportedDiagnostic(tracker.reportInaccessibleUniqueSymbolError),\n        reportLikelyUnsafeImportRequiredError: wrapReportedDiagnostic(tracker.reportLikelyUnsafeImportRequiredError),\n        reportNonlocalAugmentation: wrapReportedDiagnostic(tracker.reportNonlocalAugmentation),\n        reportPrivateInBaseOfClassExpression: wrapReportedDiagnostic(tracker.reportPrivateInBaseOfClassExpression),\n        reportNonSerializableProperty: wrapReportedDiagnostic(tracker.reportNonSerializableProperty),\n        trackSymbol: oldTrackSymbol && ((...args) => {\n          const result = oldTrackSymbol(...args);\n          if (result) {\n            context.reportedDiagnostic = true;\n          }\n          return result;\n        })\n      };\n      function wrapReportedDiagnostic(method) {\n        if (!method) {\n          return method;\n        }\n        return (...args) => {\n          context.reportedDiagnostic = true;\n          return method(...args);\n        };\n      }\n    }\n    function checkTruncationLength(context) {\n      if (context.truncating)\n        return context.truncating;\n      return context.truncating = context.approximateLength > (context.flags & 1 /* NoTruncation */ ? noTruncationMaximumTruncationLength : defaultMaximumTruncationLength);\n    }\n    function typeToTypeNodeHelper(type, context) {\n      const savedFlags = context.flags;\n      const typeNode = typeToTypeNodeWorker(type, context);\n      context.flags = savedFlags;\n      return typeNode;\n    }\n    function typeToTypeNodeWorker(type, context) {\n      if (cancellationToken && cancellationToken.throwIfCancellationRequested) {\n        cancellationToken.throwIfCancellationRequested();\n      }\n      const inTypeAlias = context.flags & 8388608 /* InTypeAlias */;\n      context.flags &= ~8388608 /* InTypeAlias */;\n      if (!type) {\n        if (!(context.flags & 262144 /* AllowEmptyUnionOrIntersection */)) {\n          context.encounteredError = true;\n          return void 0;\n        }\n        context.approximateLength += 3;\n        return factory.createKeywordTypeNode(132 /* AnyKeyword */);\n      }\n      if (!(context.flags & 536870912 /* NoTypeReduction */)) {\n        type = getReducedType(type);\n      }\n      if (type.flags & 1 /* Any */) {\n        if (type.aliasSymbol) {\n          return factory.createTypeReferenceNode(symbolToEntityNameNode(type.aliasSymbol), mapToTypeNodes(type.aliasTypeArguments, context));\n        }\n        if (type === unresolvedType) {\n          return addSyntheticLeadingComment(factory.createKeywordTypeNode(132 /* AnyKeyword */), 3 /* MultiLineCommentTrivia */, \"unresolved\");\n        }\n        context.approximateLength += 3;\n        return factory.createKeywordTypeNode(type === intrinsicMarkerType ? 140 /* IntrinsicKeyword */ : 132 /* AnyKeyword */);\n      }\n      if (type.flags & 2 /* Unknown */) {\n        return factory.createKeywordTypeNode(159 /* UnknownKeyword */);\n      }\n      if (type.flags & 4 /* String */) {\n        context.approximateLength += 6;\n        return factory.createKeywordTypeNode(153 /* StringKeyword */);\n      }\n      if (type.flags & 8 /* Number */) {\n        context.approximateLength += 6;\n        return factory.createKeywordTypeNode(149 /* NumberKeyword */);\n      }\n      if (type.flags & 64 /* BigInt */) {\n        context.approximateLength += 6;\n        return factory.createKeywordTypeNode(162 /* BigIntKeyword */);\n      }\n      if (type.flags & 16 /* Boolean */ && !type.aliasSymbol) {\n        context.approximateLength += 7;\n        return factory.createKeywordTypeNode(135 /* BooleanKeyword */);\n      }\n      if (type.flags & 1024 /* EnumLiteral */ && !(type.flags & 1048576 /* Union */)) {\n        const parentSymbol = getParentOfSymbol(type.symbol);\n        const parentName = symbolToTypeNode(parentSymbol, context, 788968 /* Type */);\n        if (getDeclaredTypeOfSymbol(parentSymbol) === type) {\n          return parentName;\n        }\n        const memberName = symbolName(type.symbol);\n        if (isIdentifierText(memberName, 0 /* ES3 */)) {\n          return appendReferenceToType(\n            parentName,\n            factory.createTypeReferenceNode(memberName, void 0)\n          );\n        }\n        if (isImportTypeNode(parentName)) {\n          parentName.isTypeOf = true;\n          return factory.createIndexedAccessTypeNode(parentName, factory.createLiteralTypeNode(factory.createStringLiteral(memberName)));\n        } else if (isTypeReferenceNode(parentName)) {\n          return factory.createIndexedAccessTypeNode(factory.createTypeQueryNode(parentName.typeName), factory.createLiteralTypeNode(factory.createStringLiteral(memberName)));\n        } else {\n          return Debug.fail(\"Unhandled type node kind returned from `symbolToTypeNode`.\");\n        }\n      }\n      if (type.flags & 1056 /* EnumLike */) {\n        return symbolToTypeNode(type.symbol, context, 788968 /* Type */);\n      }\n      if (type.flags & 128 /* StringLiteral */) {\n        context.approximateLength += type.value.length + 2;\n        return factory.createLiteralTypeNode(setEmitFlags(factory.createStringLiteral(type.value, !!(context.flags & 268435456 /* UseSingleQuotesForStringLiteralType */)), 16777216 /* NoAsciiEscaping */));\n      }\n      if (type.flags & 256 /* NumberLiteral */) {\n        const value = type.value;\n        context.approximateLength += (\"\" + value).length;\n        return factory.createLiteralTypeNode(value < 0 ? factory.createPrefixUnaryExpression(40 /* MinusToken */, factory.createNumericLiteral(-value)) : factory.createNumericLiteral(value));\n      }\n      if (type.flags & 2048 /* BigIntLiteral */) {\n        context.approximateLength += pseudoBigIntToString(type.value).length + 1;\n        return factory.createLiteralTypeNode(factory.createBigIntLiteral(type.value));\n      }\n      if (type.flags & 512 /* BooleanLiteral */) {\n        context.approximateLength += type.intrinsicName.length;\n        return factory.createLiteralTypeNode(type.intrinsicName === \"true\" ? factory.createTrue() : factory.createFalse());\n      }\n      if (type.flags & 8192 /* UniqueESSymbol */) {\n        if (!(context.flags & 1048576 /* AllowUniqueESSymbolType */)) {\n          if (isValueSymbolAccessible(type.symbol, context.enclosingDeclaration)) {\n            context.approximateLength += 6;\n            return symbolToTypeNode(type.symbol, context, 111551 /* Value */);\n          }\n          if (context.tracker.reportInaccessibleUniqueSymbolError) {\n            context.tracker.reportInaccessibleUniqueSymbolError();\n          }\n        }\n        context.approximateLength += 13;\n        return factory.createTypeOperatorNode(158 /* UniqueKeyword */, factory.createKeywordTypeNode(154 /* SymbolKeyword */));\n      }\n      if (type.flags & 16384 /* Void */) {\n        context.approximateLength += 4;\n        return factory.createKeywordTypeNode(115 /* VoidKeyword */);\n      }\n      if (type.flags & 32768 /* Undefined */) {\n        context.approximateLength += 9;\n        return factory.createKeywordTypeNode(157 /* UndefinedKeyword */);\n      }\n      if (type.flags & 65536 /* Null */) {\n        context.approximateLength += 4;\n        return factory.createLiteralTypeNode(factory.createNull());\n      }\n      if (type.flags & 131072 /* Never */) {\n        context.approximateLength += 5;\n        return factory.createKeywordTypeNode(145 /* NeverKeyword */);\n      }\n      if (type.flags & 4096 /* ESSymbol */) {\n        context.approximateLength += 6;\n        return factory.createKeywordTypeNode(154 /* SymbolKeyword */);\n      }\n      if (type.flags & 67108864 /* NonPrimitive */) {\n        context.approximateLength += 6;\n        return factory.createKeywordTypeNode(150 /* ObjectKeyword */);\n      }\n      if (isThisTypeParameter(type)) {\n        if (context.flags & 4194304 /* InObjectTypeLiteral */) {\n          if (!context.encounteredError && !(context.flags & 32768 /* AllowThisInObjectLiteral */)) {\n            context.encounteredError = true;\n          }\n          if (context.tracker.reportInaccessibleThisError) {\n            context.tracker.reportInaccessibleThisError();\n          }\n        }\n        context.approximateLength += 4;\n        return factory.createThisTypeNode();\n      }\n      if (!inTypeAlias && type.aliasSymbol && (context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */ || isTypeSymbolAccessible(type.aliasSymbol, context.enclosingDeclaration))) {\n        const typeArgumentNodes = mapToTypeNodes(type.aliasTypeArguments, context);\n        if (isReservedMemberName(type.aliasSymbol.escapedName) && !(type.aliasSymbol.flags & 32 /* Class */))\n          return factory.createTypeReferenceNode(factory.createIdentifier(\"\"), typeArgumentNodes);\n        if (length(typeArgumentNodes) === 1 && type.aliasSymbol === globalArrayType.symbol) {\n          return factory.createArrayTypeNode(typeArgumentNodes[0]);\n        }\n        return symbolToTypeNode(type.aliasSymbol, context, 788968 /* Type */, typeArgumentNodes);\n      }\n      const objectFlags = getObjectFlags(type);\n      if (objectFlags & 4 /* Reference */) {\n        Debug.assert(!!(type.flags & 524288 /* Object */));\n        return type.node ? visitAndTransformType(type, typeReferenceToTypeNode) : typeReferenceToTypeNode(type);\n      }\n      if (type.flags & 262144 /* TypeParameter */ || objectFlags & 3 /* ClassOrInterface */) {\n        if (type.flags & 262144 /* TypeParameter */ && contains(context.inferTypeParameters, type)) {\n          context.approximateLength += symbolName(type.symbol).length + 6;\n          let constraintNode;\n          const constraint = getConstraintOfTypeParameter(type);\n          if (constraint) {\n            const inferredConstraint = getInferredTypeParameterConstraint(type, true);\n            if (!(inferredConstraint && isTypeIdenticalTo(constraint, inferredConstraint))) {\n              context.approximateLength += 9;\n              constraintNode = constraint && typeToTypeNodeHelper(constraint, context);\n            }\n          }\n          return factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(type, context, constraintNode));\n        }\n        if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && type.flags & 262144 /* TypeParameter */ && !isTypeSymbolAccessible(type.symbol, context.enclosingDeclaration)) {\n          const name2 = typeParameterToName(type, context);\n          context.approximateLength += idText(name2).length;\n          return factory.createTypeReferenceNode(factory.createIdentifier(idText(name2)), void 0);\n        }\n        if (type.symbol) {\n          return symbolToTypeNode(type.symbol, context, 788968 /* Type */);\n        }\n        const name = (type === markerSuperTypeForCheck || type === markerSubTypeForCheck) && varianceTypeParameter && varianceTypeParameter.symbol ? (type === markerSubTypeForCheck ? \"sub-\" : \"super-\") + symbolName(varianceTypeParameter.symbol) : \"?\";\n        return factory.createTypeReferenceNode(factory.createIdentifier(name), void 0);\n      }\n      if (type.flags & 1048576 /* Union */ && type.origin) {\n        type = type.origin;\n      }\n      if (type.flags & (1048576 /* Union */ | 2097152 /* Intersection */)) {\n        const types = type.flags & 1048576 /* Union */ ? formatUnionTypes(type.types) : type.types;\n        if (length(types) === 1) {\n          return typeToTypeNodeHelper(types[0], context);\n        }\n        const typeNodes = mapToTypeNodes(types, context, true);\n        if (typeNodes && typeNodes.length > 0) {\n          return type.flags & 1048576 /* Union */ ? factory.createUnionTypeNode(typeNodes) : factory.createIntersectionTypeNode(typeNodes);\n        } else {\n          if (!context.encounteredError && !(context.flags & 262144 /* AllowEmptyUnionOrIntersection */)) {\n            context.encounteredError = true;\n          }\n          return void 0;\n        }\n      }\n      if (objectFlags & (16 /* Anonymous */ | 32 /* Mapped */)) {\n        Debug.assert(!!(type.flags & 524288 /* Object */));\n        return createAnonymousTypeNode(type);\n      }\n      if (type.flags & 4194304 /* Index */) {\n        const indexedType = type.type;\n        context.approximateLength += 6;\n        const indexTypeNode = typeToTypeNodeHelper(indexedType, context);\n        return factory.createTypeOperatorNode(142 /* KeyOfKeyword */, indexTypeNode);\n      }\n      if (type.flags & 134217728 /* TemplateLiteral */) {\n        const texts = type.texts;\n        const types = type.types;\n        const templateHead = factory.createTemplateHead(texts[0]);\n        const templateSpans = factory.createNodeArray(\n          map(types, (t, i) => factory.createTemplateLiteralTypeSpan(\n            typeToTypeNodeHelper(t, context),\n            (i < types.length - 1 ? factory.createTemplateMiddle : factory.createTemplateTail)(texts[i + 1])\n          ))\n        );\n        context.approximateLength += 2;\n        return factory.createTemplateLiteralType(templateHead, templateSpans);\n      }\n      if (type.flags & 268435456 /* StringMapping */) {\n        const typeNode = typeToTypeNodeHelper(type.type, context);\n        return symbolToTypeNode(type.symbol, context, 788968 /* Type */, [typeNode]);\n      }\n      if (type.flags & 8388608 /* IndexedAccess */) {\n        const objectTypeNode = typeToTypeNodeHelper(type.objectType, context);\n        const indexTypeNode = typeToTypeNodeHelper(type.indexType, context);\n        context.approximateLength += 2;\n        return factory.createIndexedAccessTypeNode(objectTypeNode, indexTypeNode);\n      }\n      if (type.flags & 16777216 /* Conditional */) {\n        return visitAndTransformType(type, (type2) => conditionalTypeToTypeNode(type2));\n      }\n      if (type.flags & 33554432 /* Substitution */) {\n        return typeToTypeNodeHelper(type.baseType, context);\n      }\n      return Debug.fail(\"Should be unreachable.\");\n      function conditionalTypeToTypeNode(type2) {\n        const checkTypeNode = typeToTypeNodeHelper(type2.checkType, context);\n        context.approximateLength += 15;\n        if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && type2.root.isDistributive && !(type2.checkType.flags & 262144 /* TypeParameter */)) {\n          const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, \"T\"));\n          const name = typeParameterToName(newParam, context);\n          const newTypeVariable = factory.createTypeReferenceNode(name);\n          context.approximateLength += 37;\n          const newMapper = prependTypeMapping(type2.root.checkType, newParam, type2.mapper);\n          const saveInferTypeParameters2 = context.inferTypeParameters;\n          context.inferTypeParameters = type2.root.inferTypeParameters;\n          const extendsTypeNode2 = typeToTypeNodeHelper(instantiateType(type2.root.extendsType, newMapper), context);\n          context.inferTypeParameters = saveInferTypeParameters2;\n          const trueTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode(type2.root.node.trueType), newMapper));\n          const falseTypeNode2 = typeToTypeNodeOrCircularityElision(instantiateType(getTypeFromTypeNode(type2.root.node.falseType), newMapper));\n          return factory.createConditionalTypeNode(\n            checkTypeNode,\n            factory.createInferTypeNode(factory.createTypeParameterDeclaration(void 0, factory.cloneNode(newTypeVariable.typeName))),\n            factory.createConditionalTypeNode(\n              factory.createTypeReferenceNode(factory.cloneNode(name)),\n              typeToTypeNodeHelper(type2.checkType, context),\n              factory.createConditionalTypeNode(newTypeVariable, extendsTypeNode2, trueTypeNode2, falseTypeNode2),\n              factory.createKeywordTypeNode(145 /* NeverKeyword */)\n            ),\n            factory.createKeywordTypeNode(145 /* NeverKeyword */)\n          );\n        }\n        const saveInferTypeParameters = context.inferTypeParameters;\n        context.inferTypeParameters = type2.root.inferTypeParameters;\n        const extendsTypeNode = typeToTypeNodeHelper(type2.extendsType, context);\n        context.inferTypeParameters = saveInferTypeParameters;\n        const trueTypeNode = typeToTypeNodeOrCircularityElision(getTrueTypeFromConditionalType(type2));\n        const falseTypeNode = typeToTypeNodeOrCircularityElision(getFalseTypeFromConditionalType(type2));\n        return factory.createConditionalTypeNode(checkTypeNode, extendsTypeNode, trueTypeNode, falseTypeNode);\n      }\n      function typeToTypeNodeOrCircularityElision(type2) {\n        var _a2, _b, _c;\n        if (type2.flags & 1048576 /* Union */) {\n          if ((_a2 = context.visitedTypes) == null ? void 0 : _a2.has(getTypeId(type2))) {\n            if (!(context.flags & 131072 /* AllowAnonymousIdentifier */)) {\n              context.encounteredError = true;\n              (_c = (_b = context.tracker) == null ? void 0 : _b.reportCyclicStructureError) == null ? void 0 : _c.call(_b);\n            }\n            return createElidedInformationPlaceholder(context);\n          }\n          return visitAndTransformType(type2, (type3) => typeToTypeNodeHelper(type3, context));\n        }\n        return typeToTypeNodeHelper(type2, context);\n      }\n      function isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) {\n        return isMappedTypeWithKeyofConstraintDeclaration(type2) && !(getModifiersTypeFromMappedType(type2).flags & 262144 /* TypeParameter */);\n      }\n      function createMappedTypeNodeFromType(type2) {\n        Debug.assert(!!(type2.flags & 524288 /* Object */));\n        const readonlyToken = type2.declaration.readonlyToken ? factory.createToken(type2.declaration.readonlyToken.kind) : void 0;\n        const questionToken = type2.declaration.questionToken ? factory.createToken(type2.declaration.questionToken.kind) : void 0;\n        let appropriateConstraintTypeNode;\n        let newTypeVariable;\n        if (isMappedTypeWithKeyofConstraintDeclaration(type2)) {\n          if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */) {\n            const newParam = createTypeParameter(createSymbol(262144 /* TypeParameter */, \"T\"));\n            const name = typeParameterToName(newParam, context);\n            newTypeVariable = factory.createTypeReferenceNode(name);\n          }\n          appropriateConstraintTypeNode = factory.createTypeOperatorNode(142 /* KeyOfKeyword */, newTypeVariable || typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context));\n        } else {\n          appropriateConstraintTypeNode = typeToTypeNodeHelper(getConstraintTypeFromMappedType(type2), context);\n        }\n        const typeParameterNode = typeParameterToDeclarationWithConstraint(getTypeParameterFromMappedType(type2), context, appropriateConstraintTypeNode);\n        const nameTypeNode = type2.declaration.nameType ? typeToTypeNodeHelper(getNameTypeFromMappedType(type2), context) : void 0;\n        const templateTypeNode = typeToTypeNodeHelper(removeMissingType(getTemplateTypeFromMappedType(type2), !!(getMappedTypeModifiers(type2) & 4 /* IncludeOptional */)), context);\n        const mappedTypeNode = factory.createMappedTypeNode(readonlyToken, typeParameterNode, nameTypeNode, questionToken, templateTypeNode, void 0);\n        context.approximateLength += 10;\n        const result = setEmitFlags(mappedTypeNode, 1 /* SingleLine */);\n        if (isHomomorphicMappedTypeWithNonHomomorphicInstantiation(type2) && context.flags & 4 /* GenerateNamesForShadowedTypeParams */) {\n          const originalConstraint = instantiateType(getConstraintOfTypeParameter(getTypeFromTypeNode(type2.declaration.typeParameter.constraint.type)) || unknownType, type2.mapper);\n          return factory.createConditionalTypeNode(\n            typeToTypeNodeHelper(getModifiersTypeFromMappedType(type2), context),\n            factory.createInferTypeNode(factory.createTypeParameterDeclaration(void 0, factory.cloneNode(newTypeVariable.typeName), originalConstraint.flags & 2 /* Unknown */ ? void 0 : typeToTypeNodeHelper(originalConstraint, context))),\n            result,\n            factory.createKeywordTypeNode(145 /* NeverKeyword */)\n          );\n        }\n        return result;\n      }\n      function createAnonymousTypeNode(type2) {\n        var _a2;\n        const typeId = type2.id;\n        const symbol = type2.symbol;\n        if (symbol) {\n          const isInstanceType = isClassInstanceSide(type2) ? 788968 /* Type */ : 111551 /* Value */;\n          if (isJSConstructor(symbol.valueDeclaration)) {\n            return symbolToTypeNode(symbol, context, isInstanceType);\n          } else if (symbol.flags & 32 /* Class */ && !getBaseTypeVariableOfClass(symbol) && !(symbol.valueDeclaration && isClassLike(symbol.valueDeclaration) && context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ && (!isClassDeclaration(symbol.valueDeclaration) || isSymbolAccessible(symbol, context.enclosingDeclaration, isInstanceType, false).accessibility !== 0 /* Accessible */)) || symbol.flags & (384 /* Enum */ | 512 /* ValueModule */) || shouldWriteTypeOfFunctionSymbol()) {\n            return symbolToTypeNode(symbol, context, isInstanceType);\n          } else if ((_a2 = context.visitedTypes) == null ? void 0 : _a2.has(typeId)) {\n            const typeAlias = getTypeAliasForTypeLiteral(type2);\n            if (typeAlias) {\n              return symbolToTypeNode(typeAlias, context, 788968 /* Type */);\n            } else {\n              return createElidedInformationPlaceholder(context);\n            }\n          } else {\n            return visitAndTransformType(type2, createTypeNodeFromObjectType);\n          }\n        } else {\n          return createTypeNodeFromObjectType(type2);\n        }\n        function shouldWriteTypeOfFunctionSymbol() {\n          var _a3;\n          const isStaticMethodSymbol = !!(symbol.flags & 8192 /* Method */) && some(symbol.declarations, (declaration) => isStatic(declaration));\n          const isNonLocalFunctionSymbol = !!(symbol.flags & 16 /* Function */) && (symbol.parent || forEach(symbol.declarations, (declaration) => declaration.parent.kind === 314 /* SourceFile */ || declaration.parent.kind === 271 /* ModuleBlock */));\n          if (isStaticMethodSymbol || isNonLocalFunctionSymbol) {\n            return (!!(context.flags & 4096 /* UseTypeOfFunction */) || ((_a3 = context.visitedTypes) == null ? void 0 : _a3.has(typeId))) && (!(context.flags & 8 /* UseStructuralFallback */) || isValueSymbolAccessible(symbol, context.enclosingDeclaration));\n          }\n        }\n      }\n      function visitAndTransformType(type2, transform2) {\n        var _a2, _b;\n        const typeId = type2.id;\n        const isConstructorObject = getObjectFlags(type2) & 16 /* Anonymous */ && type2.symbol && type2.symbol.flags & 32 /* Class */;\n        const id = getObjectFlags(type2) & 4 /* Reference */ && type2.node ? \"N\" + getNodeId(type2.node) : type2.flags & 16777216 /* Conditional */ ? \"N\" + getNodeId(type2.root.node) : type2.symbol ? (isConstructorObject ? \"+\" : \"\") + getSymbolId(type2.symbol) : void 0;\n        if (!context.visitedTypes) {\n          context.visitedTypes = new Set2();\n        }\n        if (id && !context.symbolDepth) {\n          context.symbolDepth = new Map2();\n        }\n        const links = context.enclosingDeclaration && getNodeLinks(context.enclosingDeclaration);\n        const key = `${getTypeId(type2)}|${context.flags}`;\n        if (links) {\n          links.serializedTypes || (links.serializedTypes = new Map2());\n        }\n        const cachedResult = (_a2 = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _a2.get(key);\n        if (cachedResult) {\n          if (cachedResult.truncating) {\n            context.truncating = true;\n          }\n          context.approximateLength += cachedResult.addedLength;\n          return deepCloneOrReuseNode(cachedResult);\n        }\n        let depth;\n        if (id) {\n          depth = context.symbolDepth.get(id) || 0;\n          if (depth > 10) {\n            return createElidedInformationPlaceholder(context);\n          }\n          context.symbolDepth.set(id, depth + 1);\n        }\n        context.visitedTypes.add(typeId);\n        const startLength = context.approximateLength;\n        const result = transform2(type2);\n        const addedLength = context.approximateLength - startLength;\n        if (!context.reportedDiagnostic && !context.encounteredError) {\n          if (context.truncating) {\n            result.truncating = true;\n          }\n          result.addedLength = addedLength;\n          (_b = links == null ? void 0 : links.serializedTypes) == null ? void 0 : _b.set(key, result);\n        }\n        context.visitedTypes.delete(typeId);\n        if (id) {\n          context.symbolDepth.set(id, depth);\n        }\n        return result;\n        function deepCloneOrReuseNode(node) {\n          if (!nodeIsSynthesized(node) && getParseTreeNode(node) === node) {\n            return node;\n          }\n          return setTextRange(factory.cloneNode(visitEachChild(node, deepCloneOrReuseNode, nullTransformationContext, deepCloneOrReuseNodes)), node);\n        }\n        function deepCloneOrReuseNodes(nodes, visitor, test, start, count) {\n          if (nodes && nodes.length === 0) {\n            return setTextRange(factory.createNodeArray(void 0, nodes.hasTrailingComma), nodes);\n          }\n          return visitNodes2(nodes, visitor, test, start, count);\n        }\n      }\n      function createTypeNodeFromObjectType(type2) {\n        if (isGenericMappedType(type2) || type2.containsError) {\n          return createMappedTypeNodeFromType(type2);\n        }\n        const resolved = resolveStructuredTypeMembers(type2);\n        if (!resolved.properties.length && !resolved.indexInfos.length) {\n          if (!resolved.callSignatures.length && !resolved.constructSignatures.length) {\n            context.approximateLength += 2;\n            return setEmitFlags(factory.createTypeLiteralNode(void 0), 1 /* SingleLine */);\n          }\n          if (resolved.callSignatures.length === 1 && !resolved.constructSignatures.length) {\n            const signature = resolved.callSignatures[0];\n            const signatureNode = signatureToSignatureDeclarationHelper(signature, 184 /* FunctionType */, context);\n            return signatureNode;\n          }\n          if (resolved.constructSignatures.length === 1 && !resolved.callSignatures.length) {\n            const signature = resolved.constructSignatures[0];\n            const signatureNode = signatureToSignatureDeclarationHelper(signature, 185 /* ConstructorType */, context);\n            return signatureNode;\n          }\n        }\n        const abstractSignatures = filter(resolved.constructSignatures, (signature) => !!(signature.flags & 4 /* Abstract */));\n        if (some(abstractSignatures)) {\n          const types = map(abstractSignatures, getOrCreateTypeFromSignature);\n          const typeElementCount = resolved.callSignatures.length + (resolved.constructSignatures.length - abstractSignatures.length) + resolved.indexInfos.length + (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ ? countWhere(resolved.properties, (p) => !(p.flags & 4194304 /* Prototype */)) : length(resolved.properties));\n          if (typeElementCount) {\n            types.push(getResolvedTypeWithoutAbstractConstructSignatures(resolved));\n          }\n          return typeToTypeNodeHelper(getIntersectionType(types), context);\n        }\n        const savedFlags = context.flags;\n        context.flags |= 4194304 /* InObjectTypeLiteral */;\n        const members = createTypeNodesFromResolvedType(resolved);\n        context.flags = savedFlags;\n        const typeLiteralNode = factory.createTypeLiteralNode(members);\n        context.approximateLength += 2;\n        setEmitFlags(typeLiteralNode, context.flags & 1024 /* MultilineObjectLiterals */ ? 0 : 1 /* SingleLine */);\n        return typeLiteralNode;\n      }\n      function typeReferenceToTypeNode(type2) {\n        let typeArguments = getTypeArguments(type2);\n        if (type2.target === globalArrayType || type2.target === globalReadonlyArrayType) {\n          if (context.flags & 2 /* WriteArrayAsGenericType */) {\n            const typeArgumentNode = typeToTypeNodeHelper(typeArguments[0], context);\n            return factory.createTypeReferenceNode(type2.target === globalArrayType ? \"Array\" : \"ReadonlyArray\", [typeArgumentNode]);\n          }\n          const elementType = typeToTypeNodeHelper(typeArguments[0], context);\n          const arrayType = factory.createArrayTypeNode(elementType);\n          return type2.target === globalArrayType ? arrayType : factory.createTypeOperatorNode(147 /* ReadonlyKeyword */, arrayType);\n        } else if (type2.target.objectFlags & 8 /* Tuple */) {\n          typeArguments = sameMap(typeArguments, (t, i) => removeMissingType(t, !!(type2.target.elementFlags[i] & 2 /* Optional */)));\n          if (typeArguments.length > 0) {\n            const arity = getTypeReferenceArity(type2);\n            const tupleConstituentNodes = mapToTypeNodes(typeArguments.slice(0, arity), context);\n            if (tupleConstituentNodes) {\n              if (type2.target.labeledElementDeclarations) {\n                for (let i = 0; i < tupleConstituentNodes.length; i++) {\n                  const flags = type2.target.elementFlags[i];\n                  tupleConstituentNodes[i] = factory.createNamedTupleMember(\n                    flags & 12 /* Variable */ ? factory.createToken(25 /* DotDotDotToken */) : void 0,\n                    factory.createIdentifier(unescapeLeadingUnderscores(getTupleElementLabel(type2.target.labeledElementDeclarations[i]))),\n                    flags & 2 /* Optional */ ? factory.createToken(57 /* QuestionToken */) : void 0,\n                    flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]\n                  );\n                }\n              } else {\n                for (let i = 0; i < Math.min(arity, tupleConstituentNodes.length); i++) {\n                  const flags = type2.target.elementFlags[i];\n                  tupleConstituentNodes[i] = flags & 12 /* Variable */ ? factory.createRestTypeNode(flags & 4 /* Rest */ ? factory.createArrayTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i]) : flags & 2 /* Optional */ ? factory.createOptionalTypeNode(tupleConstituentNodes[i]) : tupleConstituentNodes[i];\n                }\n              }\n              const tupleTypeNode = setEmitFlags(factory.createTupleTypeNode(tupleConstituentNodes), 1 /* SingleLine */);\n              return type2.target.readonly ? factory.createTypeOperatorNode(147 /* ReadonlyKeyword */, tupleTypeNode) : tupleTypeNode;\n            }\n          }\n          if (context.encounteredError || context.flags & 524288 /* AllowEmptyTuple */) {\n            const tupleTypeNode = setEmitFlags(factory.createTupleTypeNode([]), 1 /* SingleLine */);\n            return type2.target.readonly ? factory.createTypeOperatorNode(147 /* ReadonlyKeyword */, tupleTypeNode) : tupleTypeNode;\n          }\n          context.encounteredError = true;\n          return void 0;\n        } else if (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */ && type2.symbol.valueDeclaration && isClassLike(type2.symbol.valueDeclaration) && !isValueSymbolAccessible(type2.symbol, context.enclosingDeclaration)) {\n          return createAnonymousTypeNode(type2);\n        } else {\n          const outerTypeParameters = type2.target.outerTypeParameters;\n          let i = 0;\n          let resultType;\n          if (outerTypeParameters) {\n            const length2 = outerTypeParameters.length;\n            while (i < length2) {\n              const start = i;\n              const parent2 = getParentSymbolOfTypeParameter(outerTypeParameters[i]);\n              do {\n                i++;\n              } while (i < length2 && getParentSymbolOfTypeParameter(outerTypeParameters[i]) === parent2);\n              if (!rangeEquals(outerTypeParameters, typeArguments, start, i)) {\n                const typeArgumentSlice = mapToTypeNodes(typeArguments.slice(start, i), context);\n                const flags2 = context.flags;\n                context.flags |= 16 /* ForbidIndexedAccessSymbolReferences */;\n                const ref = symbolToTypeNode(parent2, context, 788968 /* Type */, typeArgumentSlice);\n                context.flags = flags2;\n                resultType = !resultType ? ref : appendReferenceToType(resultType, ref);\n              }\n            }\n          }\n          let typeArgumentNodes;\n          if (typeArguments.length > 0) {\n            const typeParameterCount = (type2.target.typeParameters || emptyArray).length;\n            typeArgumentNodes = mapToTypeNodes(typeArguments.slice(i, typeParameterCount), context);\n          }\n          const flags = context.flags;\n          context.flags |= 16 /* ForbidIndexedAccessSymbolReferences */;\n          const finalRef = symbolToTypeNode(type2.symbol, context, 788968 /* Type */, typeArgumentNodes);\n          context.flags = flags;\n          return !resultType ? finalRef : appendReferenceToType(resultType, finalRef);\n        }\n      }\n      function appendReferenceToType(root, ref) {\n        if (isImportTypeNode(root)) {\n          let typeArguments = root.typeArguments;\n          let qualifier = root.qualifier;\n          if (qualifier) {\n            if (isIdentifier(qualifier)) {\n              qualifier = factory.updateIdentifier(qualifier, typeArguments);\n            } else {\n              qualifier = factory.updateQualifiedName(\n                qualifier,\n                qualifier.left,\n                factory.updateIdentifier(qualifier.right, typeArguments)\n              );\n            }\n          }\n          typeArguments = ref.typeArguments;\n          const ids = getAccessStack(ref);\n          for (const id of ids) {\n            qualifier = qualifier ? factory.createQualifiedName(qualifier, id) : id;\n          }\n          return factory.updateImportTypeNode(\n            root,\n            root.argument,\n            root.assertions,\n            qualifier,\n            typeArguments,\n            root.isTypeOf\n          );\n        } else {\n          let typeArguments = root.typeArguments;\n          let typeName = root.typeName;\n          if (isIdentifier(typeName)) {\n            typeName = factory.updateIdentifier(typeName, typeArguments);\n          } else {\n            typeName = factory.updateQualifiedName(\n              typeName,\n              typeName.left,\n              factory.updateIdentifier(typeName.right, typeArguments)\n            );\n          }\n          typeArguments = ref.typeArguments;\n          const ids = getAccessStack(ref);\n          for (const id of ids) {\n            typeName = factory.createQualifiedName(typeName, id);\n          }\n          return factory.updateTypeReferenceNode(\n            root,\n            typeName,\n            typeArguments\n          );\n        }\n      }\n      function getAccessStack(ref) {\n        let state = ref.typeName;\n        const ids = [];\n        while (!isIdentifier(state)) {\n          ids.unshift(state.right);\n          state = state.left;\n        }\n        ids.unshift(state);\n        return ids;\n      }\n      function createTypeNodesFromResolvedType(resolvedType) {\n        if (checkTruncationLength(context)) {\n          return [factory.createPropertySignature(void 0, \"...\", void 0, void 0)];\n        }\n        const typeElements = [];\n        for (const signature of resolvedType.callSignatures) {\n          typeElements.push(signatureToSignatureDeclarationHelper(signature, 179 /* CallSignature */, context));\n        }\n        for (const signature of resolvedType.constructSignatures) {\n          if (signature.flags & 4 /* Abstract */)\n            continue;\n          typeElements.push(signatureToSignatureDeclarationHelper(signature, 180 /* ConstructSignature */, context));\n        }\n        for (const info of resolvedType.indexInfos) {\n          typeElements.push(indexInfoToIndexSignatureDeclarationHelper(info, context, resolvedType.objectFlags & 1024 /* ReverseMapped */ ? createElidedInformationPlaceholder(context) : void 0));\n        }\n        const properties = resolvedType.properties;\n        if (!properties) {\n          return typeElements;\n        }\n        let i = 0;\n        for (const propertySymbol of properties) {\n          i++;\n          if (context.flags & 2048 /* WriteClassExpressionAsTypeLiteral */) {\n            if (propertySymbol.flags & 4194304 /* Prototype */) {\n              continue;\n            }\n            if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (8 /* Private */ | 16 /* Protected */) && context.tracker.reportPrivateInBaseOfClassExpression) {\n              context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName));\n            }\n          }\n          if (checkTruncationLength(context) && i + 2 < properties.length - 1) {\n            typeElements.push(factory.createPropertySignature(void 0, `... ${properties.length - i} more ...`, void 0, void 0));\n            addPropertyToElementList(properties[properties.length - 1], context, typeElements);\n            break;\n          }\n          addPropertyToElementList(propertySymbol, context, typeElements);\n        }\n        return typeElements.length ? typeElements : void 0;\n      }\n    }\n    function createElidedInformationPlaceholder(context) {\n      context.approximateLength += 3;\n      if (!(context.flags & 1 /* NoTruncation */)) {\n        return factory.createTypeReferenceNode(factory.createIdentifier(\"...\"), void 0);\n      }\n      return factory.createKeywordTypeNode(132 /* AnyKeyword */);\n    }\n    function shouldUsePlaceholderForProperty(propertySymbol, context) {\n      var _a2;\n      return !!(getCheckFlags(propertySymbol) & 8192 /* ReverseMapped */) && (contains(context.reverseMappedStack, propertySymbol) || ((_a2 = context.reverseMappedStack) == null ? void 0 : _a2[0]) && !(getObjectFlags(last(context.reverseMappedStack).propertyType) & 16 /* Anonymous */));\n    }\n    function addPropertyToElementList(propertySymbol, context, typeElements) {\n      var _a2, _b;\n      const propertyIsReverseMapped = !!(getCheckFlags(propertySymbol) & 8192 /* ReverseMapped */);\n      const propertyType = shouldUsePlaceholderForProperty(propertySymbol, context) ? anyType : getNonMissingTypeOfSymbol(propertySymbol);\n      const saveEnclosingDeclaration = context.enclosingDeclaration;\n      context.enclosingDeclaration = void 0;\n      if (context.tracker.trackSymbol && isLateBoundName(propertySymbol.escapedName)) {\n        if (propertySymbol.declarations) {\n          const decl = first(propertySymbol.declarations);\n          if (hasLateBindableName(decl)) {\n            if (isBinaryExpression(decl)) {\n              const name = getNameOfDeclaration(decl);\n              if (name && isElementAccessExpression(name) && isPropertyAccessEntityNameExpression(name.argumentExpression)) {\n                trackComputedName(name.argumentExpression, saveEnclosingDeclaration, context);\n              }\n            } else {\n              trackComputedName(decl.name.expression, saveEnclosingDeclaration, context);\n            }\n          }\n        } else if ((_a2 = context.tracker) == null ? void 0 : _a2.reportNonSerializableProperty) {\n          context.tracker.reportNonSerializableProperty(symbolToString(propertySymbol));\n        }\n      }\n      context.enclosingDeclaration = propertySymbol.valueDeclaration || ((_b = propertySymbol.declarations) == null ? void 0 : _b[0]) || saveEnclosingDeclaration;\n      const propertyName = getPropertyNameNodeForSymbol(propertySymbol, context);\n      context.enclosingDeclaration = saveEnclosingDeclaration;\n      context.approximateLength += symbolName(propertySymbol).length + 1;\n      const optionalToken = propertySymbol.flags & 16777216 /* Optional */ ? factory.createToken(57 /* QuestionToken */) : void 0;\n      if (propertySymbol.flags & (16 /* Function */ | 8192 /* Method */) && !getPropertiesOfObjectType(propertyType).length && !isReadonlySymbol(propertySymbol)) {\n        const signatures = getSignaturesOfType(filterType(propertyType, (t) => !(t.flags & 32768 /* Undefined */)), 0 /* Call */);\n        for (const signature of signatures) {\n          const methodDeclaration = signatureToSignatureDeclarationHelper(signature, 173 /* MethodSignature */, context, { name: propertyName, questionToken: optionalToken });\n          typeElements.push(preserveCommentsOn(methodDeclaration));\n        }\n      } else {\n        let propertyTypeNode;\n        if (shouldUsePlaceholderForProperty(propertySymbol, context)) {\n          propertyTypeNode = createElidedInformationPlaceholder(context);\n        } else {\n          if (propertyIsReverseMapped) {\n            context.reverseMappedStack || (context.reverseMappedStack = []);\n            context.reverseMappedStack.push(propertySymbol);\n          }\n          propertyTypeNode = propertyType ? serializeTypeForDeclaration(context, propertyType, propertySymbol, saveEnclosingDeclaration) : factory.createKeywordTypeNode(132 /* AnyKeyword */);\n          if (propertyIsReverseMapped) {\n            context.reverseMappedStack.pop();\n          }\n        }\n        const modifiers = isReadonlySymbol(propertySymbol) ? [factory.createToken(147 /* ReadonlyKeyword */)] : void 0;\n        if (modifiers) {\n          context.approximateLength += 9;\n        }\n        const propertySignature = factory.createPropertySignature(\n          modifiers,\n          propertyName,\n          optionalToken,\n          propertyTypeNode\n        );\n        typeElements.push(preserveCommentsOn(propertySignature));\n      }\n      function preserveCommentsOn(node) {\n        var _a3;\n        if (some(propertySymbol.declarations, (d) => d.kind === 356 /* JSDocPropertyTag */)) {\n          const d = (_a3 = propertySymbol.declarations) == null ? void 0 : _a3.find((d2) => d2.kind === 356 /* JSDocPropertyTag */);\n          const commentText = getTextOfJSDocComment(d.comment);\n          if (commentText) {\n            setSyntheticLeadingComments(node, [{ kind: 3 /* MultiLineCommentTrivia */, text: \"*\\n * \" + commentText.replace(/\\n/g, \"\\n * \") + \"\\n \", pos: -1, end: -1, hasTrailingNewLine: true }]);\n          }\n        } else if (propertySymbol.valueDeclaration) {\n          setCommentRange(node, propertySymbol.valueDeclaration);\n        }\n        return node;\n      }\n    }\n    function mapToTypeNodes(types, context, isBareList) {\n      if (some(types)) {\n        if (checkTruncationLength(context)) {\n          if (!isBareList) {\n            return [factory.createTypeReferenceNode(\"...\", void 0)];\n          } else if (types.length > 2) {\n            return [\n              typeToTypeNodeHelper(types[0], context),\n              factory.createTypeReferenceNode(`... ${types.length - 2} more ...`, void 0),\n              typeToTypeNodeHelper(types[types.length - 1], context)\n            ];\n          }\n        }\n        const mayHaveNameCollisions = !(context.flags & 64 /* UseFullyQualifiedType */);\n        const seenNames = mayHaveNameCollisions ? createUnderscoreEscapedMultiMap() : void 0;\n        const result = [];\n        let i = 0;\n        for (const type of types) {\n          i++;\n          if (checkTruncationLength(context) && i + 2 < types.length - 1) {\n            result.push(factory.createTypeReferenceNode(`... ${types.length - i} more ...`, void 0));\n            const typeNode2 = typeToTypeNodeHelper(types[types.length - 1], context);\n            if (typeNode2) {\n              result.push(typeNode2);\n            }\n            break;\n          }\n          context.approximateLength += 2;\n          const typeNode = typeToTypeNodeHelper(type, context);\n          if (typeNode) {\n            result.push(typeNode);\n            if (seenNames && isIdentifierTypeReference(typeNode)) {\n              seenNames.add(typeNode.typeName.escapedText, [type, result.length - 1]);\n            }\n          }\n        }\n        if (seenNames) {\n          const saveContextFlags = context.flags;\n          context.flags |= 64 /* UseFullyQualifiedType */;\n          seenNames.forEach((types2) => {\n            if (!arrayIsHomogeneous(types2, ([a], [b]) => typesAreSameReference(a, b))) {\n              for (const [type, resultIndex] of types2) {\n                result[resultIndex] = typeToTypeNodeHelper(type, context);\n              }\n            }\n          });\n          context.flags = saveContextFlags;\n        }\n        return result;\n      }\n    }\n    function typesAreSameReference(a, b) {\n      return a === b || !!a.symbol && a.symbol === b.symbol || !!a.aliasSymbol && a.aliasSymbol === b.aliasSymbol;\n    }\n    function indexInfoToIndexSignatureDeclarationHelper(indexInfo, context, typeNode) {\n      const name = getNameFromIndexInfo(indexInfo) || \"x\";\n      const indexerTypeNode = typeToTypeNodeHelper(indexInfo.keyType, context);\n      const indexingParameter = factory.createParameterDeclaration(\n        void 0,\n        void 0,\n        name,\n        void 0,\n        indexerTypeNode,\n        void 0\n      );\n      if (!typeNode) {\n        typeNode = typeToTypeNodeHelper(indexInfo.type || anyType, context);\n      }\n      if (!indexInfo.type && !(context.flags & 2097152 /* AllowEmptyIndexInfoType */)) {\n        context.encounteredError = true;\n      }\n      context.approximateLength += name.length + 4;\n      return factory.createIndexSignature(\n        indexInfo.isReadonly ? [factory.createToken(147 /* ReadonlyKeyword */)] : void 0,\n        [indexingParameter],\n        typeNode\n      );\n    }\n    function signatureToSignatureDeclarationHelper(signature, kind, context, options) {\n      var _a2, _b, _c, _d;\n      const suppressAny = context.flags & 256 /* SuppressAnyReturnType */;\n      if (suppressAny)\n        context.flags &= ~256 /* SuppressAnyReturnType */;\n      context.approximateLength += 3;\n      let typeParameters;\n      let typeArguments;\n      if (context.flags & 32 /* WriteTypeArgumentsOfSignature */ && signature.target && signature.mapper && signature.target.typeParameters) {\n        typeArguments = signature.target.typeParameters.map((parameter) => typeToTypeNodeHelper(instantiateType(parameter, signature.mapper), context));\n      } else {\n        typeParameters = signature.typeParameters && signature.typeParameters.map((parameter) => typeParameterToDeclaration(parameter, context));\n      }\n      const expandedParams = getExpandedParameters(signature, true)[0];\n      const parameters = (some(expandedParams, (p) => p !== expandedParams[expandedParams.length - 1] && !!(getCheckFlags(p) & 32768 /* RestParameter */)) ? signature.parameters : expandedParams).map((parameter) => symbolToParameterDeclaration(parameter, context, kind === 176 /* Constructor */, options == null ? void 0 : options.privateSymbolVisitor, options == null ? void 0 : options.bundledImports));\n      const thisParameter = context.flags & 33554432 /* OmitThisParameter */ ? void 0 : tryGetThisParameterDeclaration(signature, context);\n      if (thisParameter) {\n        parameters.unshift(thisParameter);\n      }\n      let returnTypeNode;\n      const typePredicate = getTypePredicateOfSignature(signature);\n      if (typePredicate) {\n        const assertsModifier = typePredicate.kind === 2 /* AssertsThis */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? factory.createToken(130 /* AssertsKeyword */) : void 0;\n        const parameterName = typePredicate.kind === 1 /* Identifier */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? setEmitFlags(factory.createIdentifier(typePredicate.parameterName), 16777216 /* NoAsciiEscaping */) : factory.createThisTypeNode();\n        const typeNode = typePredicate.type && typeToTypeNodeHelper(typePredicate.type, context);\n        returnTypeNode = factory.createTypePredicateNode(assertsModifier, parameterName, typeNode);\n      } else {\n        const returnType = getReturnTypeOfSignature(signature);\n        if (returnType && !(suppressAny && isTypeAny(returnType))) {\n          returnTypeNode = serializeReturnTypeForSignature(context, returnType, signature, options == null ? void 0 : options.privateSymbolVisitor, options == null ? void 0 : options.bundledImports);\n        } else if (!suppressAny) {\n          returnTypeNode = factory.createKeywordTypeNode(132 /* AnyKeyword */);\n        }\n      }\n      let modifiers = options == null ? void 0 : options.modifiers;\n      if (kind === 185 /* ConstructorType */ && signature.flags & 4 /* Abstract */) {\n        const flags = modifiersToFlags(modifiers);\n        modifiers = factory.createModifiersFromModifierFlags(flags | 256 /* Abstract */);\n      }\n      const node = kind === 179 /* CallSignature */ ? factory.createCallSignature(typeParameters, parameters, returnTypeNode) : kind === 180 /* ConstructSignature */ ? factory.createConstructSignature(typeParameters, parameters, returnTypeNode) : kind === 173 /* MethodSignature */ ? factory.createMethodSignature(modifiers, (_a2 = options == null ? void 0 : options.name) != null ? _a2 : factory.createIdentifier(\"\"), options == null ? void 0 : options.questionToken, typeParameters, parameters, returnTypeNode) : kind === 174 /* MethodDeclaration */ ? factory.createMethodDeclaration(modifiers, void 0, (_b = options == null ? void 0 : options.name) != null ? _b : factory.createIdentifier(\"\"), void 0, typeParameters, parameters, returnTypeNode, void 0) : kind === 176 /* Constructor */ ? factory.createConstructorDeclaration(modifiers, parameters, void 0) : kind === 177 /* GetAccessor */ ? factory.createGetAccessorDeclaration(modifiers, (_c = options == null ? void 0 : options.name) != null ? _c : factory.createIdentifier(\"\"), parameters, returnTypeNode, void 0) : kind === 178 /* SetAccessor */ ? factory.createSetAccessorDeclaration(modifiers, (_d = options == null ? void 0 : options.name) != null ? _d : factory.createIdentifier(\"\"), parameters, void 0) : kind === 181 /* IndexSignature */ ? factory.createIndexSignature(modifiers, parameters, returnTypeNode) : kind === 326 /* JSDocFunctionType */ ? factory.createJSDocFunctionType(parameters, returnTypeNode) : kind === 184 /* FunctionType */ ? factory.createFunctionTypeNode(typeParameters, parameters, returnTypeNode != null ? returnTypeNode : factory.createTypeReferenceNode(factory.createIdentifier(\"\"))) : kind === 185 /* ConstructorType */ ? factory.createConstructorTypeNode(modifiers, typeParameters, parameters, returnTypeNode != null ? returnTypeNode : factory.createTypeReferenceNode(factory.createIdentifier(\"\"))) : kind === 263 /* FunctionDeclaration */ ? factory.createFunctionDeclaration(modifiers, void 0, (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(\"\"), typeParameters, parameters, returnTypeNode, void 0) : kind === 218 /* FunctionExpression */ ? factory.createFunctionExpression(modifiers, void 0, (options == null ? void 0 : options.name) ? cast(options.name, isIdentifier) : factory.createIdentifier(\"\"), typeParameters, parameters, returnTypeNode, factory.createBlock([])) : kind === 219 /* ArrowFunction */ ? factory.createArrowFunction(modifiers, typeParameters, parameters, returnTypeNode, void 0, factory.createBlock([])) : Debug.assertNever(kind);\n      if (typeArguments) {\n        node.typeArguments = factory.createNodeArray(typeArguments);\n      }\n      return node;\n    }\n    function tryGetThisParameterDeclaration(signature, context) {\n      if (signature.thisParameter) {\n        return symbolToParameterDeclaration(signature.thisParameter, context);\n      }\n      if (signature.declaration) {\n        const thisTag = getJSDocThisTag(signature.declaration);\n        if (thisTag && thisTag.typeExpression) {\n          return factory.createParameterDeclaration(\n            void 0,\n            void 0,\n            \"this\",\n            void 0,\n            typeToTypeNodeHelper(getTypeFromTypeNode(thisTag.typeExpression), context)\n          );\n        }\n      }\n    }\n    function typeParameterToDeclarationWithConstraint(type, context, constraintNode) {\n      const savedContextFlags = context.flags;\n      context.flags &= ~512 /* WriteTypeParametersInQualifiedName */;\n      const modifiers = factory.createModifiersFromModifierFlags(getVarianceModifiers(type));\n      const name = typeParameterToName(type, context);\n      const defaultParameter = getDefaultFromTypeParameter(type);\n      const defaultParameterNode = defaultParameter && typeToTypeNodeHelper(defaultParameter, context);\n      context.flags = savedContextFlags;\n      return factory.createTypeParameterDeclaration(modifiers, name, constraintNode, defaultParameterNode);\n    }\n    function typeParameterToDeclaration(type, context, constraint = getConstraintOfTypeParameter(type)) {\n      const constraintNode = constraint && typeToTypeNodeHelper(constraint, context);\n      return typeParameterToDeclarationWithConstraint(type, context, constraintNode);\n    }\n    function symbolToParameterDeclaration(parameterSymbol, context, preserveModifierFlags, privateSymbolVisitor, bundledImports) {\n      let parameterDeclaration = getDeclarationOfKind(parameterSymbol, 168 /* Parameter */);\n      if (!parameterDeclaration && !isTransientSymbol(parameterSymbol)) {\n        parameterDeclaration = getDeclarationOfKind(parameterSymbol, 349 /* JSDocParameterTag */);\n      }\n      let parameterType = getTypeOfSymbol(parameterSymbol);\n      if (parameterDeclaration && isRequiredInitializedParameter(parameterDeclaration)) {\n        parameterType = getOptionalType(parameterType);\n      }\n      const parameterTypeNode = serializeTypeForDeclaration(context, parameterType, parameterSymbol, context.enclosingDeclaration, privateSymbolVisitor, bundledImports);\n      const modifiers = !(context.flags & 8192 /* OmitParameterModifiers */) && preserveModifierFlags && parameterDeclaration && canHaveModifiers(parameterDeclaration) ? map(getModifiers(parameterDeclaration), factory.cloneNode) : void 0;\n      const isRest = parameterDeclaration && isRestParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 32768 /* RestParameter */;\n      const dotDotDotToken = isRest ? factory.createToken(25 /* DotDotDotToken */) : void 0;\n      const name = parameterDeclaration ? parameterDeclaration.name ? parameterDeclaration.name.kind === 79 /* Identifier */ ? setEmitFlags(factory.cloneNode(parameterDeclaration.name), 16777216 /* NoAsciiEscaping */) : parameterDeclaration.name.kind === 165 /* QualifiedName */ ? setEmitFlags(factory.cloneNode(parameterDeclaration.name.right), 16777216 /* NoAsciiEscaping */) : cloneBindingName(parameterDeclaration.name) : symbolName(parameterSymbol) : symbolName(parameterSymbol);\n      const isOptional = parameterDeclaration && isOptionalParameter(parameterDeclaration) || getCheckFlags(parameterSymbol) & 16384 /* OptionalParameter */;\n      const questionToken = isOptional ? factory.createToken(57 /* QuestionToken */) : void 0;\n      const parameterNode = factory.createParameterDeclaration(\n        modifiers,\n        dotDotDotToken,\n        name,\n        questionToken,\n        parameterTypeNode,\n        void 0\n      );\n      context.approximateLength += symbolName(parameterSymbol).length + 3;\n      return parameterNode;\n      function cloneBindingName(node) {\n        return elideInitializerAndSetEmitFlags(node);\n        function elideInitializerAndSetEmitFlags(node2) {\n          if (context.tracker.trackSymbol && isComputedPropertyName(node2) && isLateBindableName(node2)) {\n            trackComputedName(node2.expression, context.enclosingDeclaration, context);\n          }\n          let visited = visitEachChild(node2, elideInitializerAndSetEmitFlags, nullTransformationContext, void 0, elideInitializerAndSetEmitFlags);\n          if (isBindingElement(visited)) {\n            visited = factory.updateBindingElement(\n              visited,\n              visited.dotDotDotToken,\n              visited.propertyName,\n              visited.name,\n              void 0\n            );\n          }\n          if (!nodeIsSynthesized(visited)) {\n            visited = factory.cloneNode(visited);\n          }\n          return setEmitFlags(visited, 1 /* SingleLine */ | 16777216 /* NoAsciiEscaping */);\n        }\n      }\n    }\n    function trackComputedName(accessExpression, enclosingDeclaration, context) {\n      if (!context.tracker.trackSymbol)\n        return;\n      const firstIdentifier = getFirstIdentifier(accessExpression);\n      const name = resolveName(firstIdentifier, firstIdentifier.escapedText, 111551 /* Value */ | 1048576 /* ExportValue */, void 0, void 0, true);\n      if (name) {\n        context.tracker.trackSymbol(name, enclosingDeclaration, 111551 /* Value */);\n      }\n    }\n    function lookupSymbolChain(symbol, context, meaning, yieldModuleSymbol) {\n      context.tracker.trackSymbol(symbol, context.enclosingDeclaration, meaning);\n      return lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol);\n    }\n    function lookupSymbolChainWorker(symbol, context, meaning, yieldModuleSymbol) {\n      let chain;\n      const isTypeParameter = symbol.flags & 262144 /* TypeParameter */;\n      if (!isTypeParameter && (context.enclosingDeclaration || context.flags & 64 /* UseFullyQualifiedType */) && !(context.flags & 134217728 /* DoNotIncludeSymbolChain */)) {\n        chain = Debug.checkDefined(getSymbolChain(symbol, meaning, true));\n        Debug.assert(chain && chain.length > 0);\n      } else {\n        chain = [symbol];\n      }\n      return chain;\n      function getSymbolChain(symbol2, meaning2, endOfChain) {\n        let accessibleSymbolChain = getAccessibleSymbolChain(symbol2, context.enclosingDeclaration, meaning2, !!(context.flags & 128 /* UseOnlyExternalAliasing */));\n        let parentSpecifiers;\n        if (!accessibleSymbolChain || needsQualification(accessibleSymbolChain[0], context.enclosingDeclaration, accessibleSymbolChain.length === 1 ? meaning2 : getQualifiedLeftMeaning(meaning2))) {\n          const parents = getContainersOfSymbol(accessibleSymbolChain ? accessibleSymbolChain[0] : symbol2, context.enclosingDeclaration, meaning2);\n          if (length(parents)) {\n            parentSpecifiers = parents.map((symbol3) => some(symbol3.declarations, hasNonGlobalAugmentationExternalModuleSymbol) ? getSpecifierForModuleSymbol(symbol3, context) : void 0);\n            const indices = parents.map((_, i) => i);\n            indices.sort(sortByBestName);\n            const sortedParents = indices.map((i) => parents[i]);\n            for (const parent2 of sortedParents) {\n              const parentChain = getSymbolChain(parent2, getQualifiedLeftMeaning(meaning2), false);\n              if (parentChain) {\n                if (parent2.exports && parent2.exports.get(\"export=\" /* ExportEquals */) && getSymbolIfSameReference(parent2.exports.get(\"export=\" /* ExportEquals */), symbol2)) {\n                  accessibleSymbolChain = parentChain;\n                  break;\n                }\n                accessibleSymbolChain = parentChain.concat(accessibleSymbolChain || [getAliasForSymbolInContainer(parent2, symbol2) || symbol2]);\n                break;\n              }\n            }\n          }\n        }\n        if (accessibleSymbolChain) {\n          return accessibleSymbolChain;\n        }\n        if (endOfChain || !(symbol2.flags & (2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */))) {\n          if (!endOfChain && !yieldModuleSymbol && !!forEach(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n            return;\n          }\n          return [symbol2];\n        }\n        function sortByBestName(a, b) {\n          const specifierA = parentSpecifiers[a];\n          const specifierB = parentSpecifiers[b];\n          if (specifierA && specifierB) {\n            const isBRelative = pathIsRelative(specifierB);\n            if (pathIsRelative(specifierA) === isBRelative) {\n              return countPathComponents(specifierA) - countPathComponents(specifierB);\n            }\n            if (isBRelative) {\n              return -1;\n            }\n            return 1;\n          }\n          return 0;\n        }\n      }\n    }\n    function typeParametersToTypeParameterDeclarations(symbol, context) {\n      let typeParameterNodes;\n      const targetSymbol = getTargetSymbol(symbol);\n      if (targetSymbol.flags & (32 /* Class */ | 64 /* Interface */ | 524288 /* TypeAlias */)) {\n        typeParameterNodes = factory.createNodeArray(map(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol), (tp) => typeParameterToDeclaration(tp, context)));\n      }\n      return typeParameterNodes;\n    }\n    function lookupTypeParameterNodes(chain, index, context) {\n      var _a2;\n      Debug.assert(chain && 0 <= index && index < chain.length);\n      const symbol = chain[index];\n      const symbolId = getSymbolId(symbol);\n      if ((_a2 = context.typeParameterSymbolList) == null ? void 0 : _a2.has(symbolId)) {\n        return void 0;\n      }\n      (context.typeParameterSymbolList || (context.typeParameterSymbolList = new Set2())).add(symbolId);\n      let typeParameterNodes;\n      if (context.flags & 512 /* WriteTypeParametersInQualifiedName */ && index < chain.length - 1) {\n        const parentSymbol = symbol;\n        const nextSymbol = chain[index + 1];\n        if (getCheckFlags(nextSymbol) & 1 /* Instantiated */) {\n          const params = getTypeParametersOfClassOrInterface(\n            parentSymbol.flags & 2097152 /* Alias */ ? resolveAlias(parentSymbol) : parentSymbol\n          );\n          typeParameterNodes = mapToTypeNodes(map(params, (t) => getMappedType(t, nextSymbol.mapper)), context);\n        } else {\n          typeParameterNodes = typeParametersToTypeParameterDeclarations(symbol, context);\n        }\n      }\n      return typeParameterNodes;\n    }\n    function getTopmostIndexedAccessType(top) {\n      if (isIndexedAccessTypeNode(top.objectType)) {\n        return getTopmostIndexedAccessType(top.objectType);\n      }\n      return top;\n    }\n    function getSpecifierForModuleSymbol(symbol, context, overrideImportMode) {\n      var _a2;\n      let file = getDeclarationOfKind(symbol, 314 /* SourceFile */);\n      if (!file) {\n        const equivalentFileSymbol = firstDefined(symbol.declarations, (d) => getFileSymbolIfFileSymbolExportEqualsContainer(d, symbol));\n        if (equivalentFileSymbol) {\n          file = getDeclarationOfKind(equivalentFileSymbol, 314 /* SourceFile */);\n        }\n      }\n      if (file && file.moduleName !== void 0) {\n        return file.moduleName;\n      }\n      if (!file) {\n        if (context.tracker.trackReferencedAmbientModule) {\n          const ambientDecls = filter(symbol.declarations, isAmbientModule);\n          if (length(ambientDecls)) {\n            for (const decl of ambientDecls) {\n              context.tracker.trackReferencedAmbientModule(decl, symbol);\n            }\n          }\n        }\n        if (ambientModuleSymbolRegex.test(symbol.escapedName)) {\n          return symbol.escapedName.substring(1, symbol.escapedName.length - 1);\n        }\n      }\n      if (!context.enclosingDeclaration || !context.tracker.moduleResolverHost) {\n        if (ambientModuleSymbolRegex.test(symbol.escapedName)) {\n          return symbol.escapedName.substring(1, symbol.escapedName.length - 1);\n        }\n        return getSourceFileOfNode(getNonAugmentationDeclaration(symbol)).fileName;\n      }\n      const contextFile = getSourceFileOfNode(getOriginalNode(context.enclosingDeclaration));\n      const resolutionMode = overrideImportMode || (contextFile == null ? void 0 : contextFile.impliedNodeFormat);\n      const cacheKey = getSpecifierCacheKey(contextFile.path, resolutionMode);\n      const links = getSymbolLinks(symbol);\n      let specifier = links.specifierCache && links.specifierCache.get(cacheKey);\n      if (!specifier) {\n        const isBundle2 = !!outFile(compilerOptions);\n        const { moduleResolverHost } = context.tracker;\n        const specifierCompilerOptions = isBundle2 ? { ...compilerOptions, baseUrl: moduleResolverHost.getCommonSourceDirectory() } : compilerOptions;\n        specifier = first(getModuleSpecifiers(\n          symbol,\n          checker,\n          specifierCompilerOptions,\n          contextFile,\n          moduleResolverHost,\n          {\n            importModuleSpecifierPreference: isBundle2 ? \"non-relative\" : \"project-relative\",\n            importModuleSpecifierEnding: isBundle2 ? \"minimal\" : resolutionMode === 99 /* ESNext */ ? \"js\" : void 0\n          },\n          { overrideImportMode }\n        ));\n        (_a2 = links.specifierCache) != null ? _a2 : links.specifierCache = new Map2();\n        links.specifierCache.set(cacheKey, specifier);\n      }\n      return specifier;\n      function getSpecifierCacheKey(path, mode) {\n        return mode === void 0 ? path : `${mode}|${path}`;\n      }\n    }\n    function symbolToEntityNameNode(symbol) {\n      const identifier = factory.createIdentifier(unescapeLeadingUnderscores(symbol.escapedName));\n      return symbol.parent ? factory.createQualifiedName(symbolToEntityNameNode(symbol.parent), identifier) : identifier;\n    }\n    function symbolToTypeNode(symbol, context, meaning, overrideTypeArguments) {\n      var _a2, _b, _c, _d;\n      const chain = lookupSymbolChain(symbol, context, meaning, !(context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */));\n      const isTypeOf = meaning === 111551 /* Value */;\n      if (some(chain[0].declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n        const nonRootParts = chain.length > 1 ? createAccessFromSymbolChain(chain, chain.length - 1, 1) : void 0;\n        const typeParameterNodes = overrideTypeArguments || lookupTypeParameterNodes(chain, 0, context);\n        const contextFile = getSourceFileOfNode(getOriginalNode(context.enclosingDeclaration));\n        const targetFile = getSourceFileOfModule(chain[0]);\n        let specifier;\n        let assertion;\n        if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) {\n          if ((targetFile == null ? void 0 : targetFile.impliedNodeFormat) === 99 /* ESNext */ && targetFile.impliedNodeFormat !== (contextFile == null ? void 0 : contextFile.impliedNodeFormat)) {\n            specifier = getSpecifierForModuleSymbol(chain[0], context, 99 /* ESNext */);\n            assertion = factory.createImportTypeAssertionContainer(factory.createAssertClause(factory.createNodeArray([\n              factory.createAssertEntry(\n                factory.createStringLiteral(\"resolution-mode\"),\n                factory.createStringLiteral(\"import\")\n              )\n            ])));\n            (_b = (_a2 = context.tracker).reportImportTypeNodeResolutionModeOverride) == null ? void 0 : _b.call(_a2);\n          }\n        }\n        if (!specifier) {\n          specifier = getSpecifierForModuleSymbol(chain[0], context);\n        }\n        if (!(context.flags & 67108864 /* AllowNodeModulesRelativePaths */) && getEmitModuleResolutionKind(compilerOptions) !== 1 /* Classic */ && (specifier.indexOf(\"/node_modules/\") >= 0 || isOhpmAndOhModules(compilerOptions.packageManagerType, specifier))) {\n          const oldSpecifier = specifier;\n          if (getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */) {\n            const swappedMode = (contextFile == null ? void 0 : contextFile.impliedNodeFormat) === 99 /* ESNext */ ? 1 /* CommonJS */ : 99 /* ESNext */;\n            specifier = getSpecifierForModuleSymbol(chain[0], context, swappedMode);\n            if (specifier.indexOf(\"/node_modules/\") >= 0 || isOHModules(specifier)) {\n              specifier = oldSpecifier;\n            } else {\n              assertion = factory.createImportTypeAssertionContainer(factory.createAssertClause(factory.createNodeArray([\n                factory.createAssertEntry(\n                  factory.createStringLiteral(\"resolution-mode\"),\n                  factory.createStringLiteral(swappedMode === 99 /* ESNext */ ? \"import\" : \"require\")\n                )\n              ])));\n              (_d = (_c = context.tracker).reportImportTypeNodeResolutionModeOverride) == null ? void 0 : _d.call(_c);\n            }\n          }\n          if (!assertion) {\n            context.encounteredError = true;\n            if (context.tracker.reportLikelyUnsafeImportRequiredError) {\n              context.tracker.reportLikelyUnsafeImportRequiredError(oldSpecifier);\n            }\n          }\n        }\n        if (specifier.endsWith(\"/ets/api/global/resource\") || specifier.endsWith(\"/ets/dynamic/api/global/resource\")) {\n          const lastSymbol = chain[chain.length - 1];\n          if (lastSymbol.escapedName === \"Resource\") {\n            const entityName2 = createAccessFromSymbolChain([lastSymbol], 0, 0);\n            if (isIndexedAccessTypeNode(entityName2)) {\n              return entityName2;\n            }\n            return factory.createTypeReferenceNode(entityName2);\n          }\n        }\n        const lit = factory.createLiteralTypeNode(factory.createStringLiteral(specifier));\n        if (context.tracker.trackExternalModuleSymbolOfImportTypeNode)\n          context.tracker.trackExternalModuleSymbolOfImportTypeNode(chain[0]);\n        context.approximateLength += specifier.length + 10;\n        if (!nonRootParts || isEntityName(nonRootParts)) {\n          if (nonRootParts) {\n            const lastId = isIdentifier(nonRootParts) ? nonRootParts : nonRootParts.right;\n            lastId.typeArguments = void 0;\n          }\n          return factory.createImportTypeNode(lit, assertion, nonRootParts, typeParameterNodes, isTypeOf);\n        } else {\n          const splitNode = getTopmostIndexedAccessType(nonRootParts);\n          const qualifier = splitNode.objectType.typeName;\n          return factory.createIndexedAccessTypeNode(factory.createImportTypeNode(lit, assertion, qualifier, typeParameterNodes, isTypeOf), splitNode.indexType);\n        }\n      }\n      const entityName = createAccessFromSymbolChain(chain, chain.length - 1, 0);\n      if (isIndexedAccessTypeNode(entityName)) {\n        return entityName;\n      }\n      if (isTypeOf) {\n        return factory.createTypeQueryNode(entityName);\n      } else {\n        const lastId = isIdentifier(entityName) ? entityName : entityName.right;\n        const lastTypeArgs = lastId.typeArguments;\n        lastId.typeArguments = void 0;\n        return factory.createTypeReferenceNode(entityName, lastTypeArgs);\n      }\n      function createAccessFromSymbolChain(chain2, index, stopper) {\n        const typeParameterNodes = index === chain2.length - 1 ? overrideTypeArguments : lookupTypeParameterNodes(chain2, index, context);\n        const symbol2 = chain2[index];\n        const parent2 = chain2[index - 1];\n        let symbolName2;\n        if (index === 0) {\n          context.flags |= 16777216 /* InInitialEntityName */;\n          symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n          context.approximateLength += (symbolName2 ? symbolName2.length : 0) + 1;\n          context.flags ^= 16777216 /* InInitialEntityName */;\n        } else {\n          if (parent2 && getExportsOfSymbol(parent2)) {\n            const exports = getExportsOfSymbol(parent2);\n            forEachEntry(exports, (ex, name) => {\n              if (getSymbolIfSameReference(ex, symbol2) && !isLateBoundName(name) && name !== \"export=\" /* ExportEquals */) {\n                symbolName2 = unescapeLeadingUnderscores(name);\n                return true;\n              }\n            });\n          }\n        }\n        if (symbolName2 === void 0) {\n          const name = firstDefined(symbol2.declarations, getNameOfDeclaration);\n          if (name && isComputedPropertyName(name) && isEntityName(name.expression)) {\n            const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper);\n            if (isEntityName(LHS)) {\n              return factory.createIndexedAccessTypeNode(factory.createParenthesizedType(factory.createTypeQueryNode(LHS)), factory.createTypeQueryNode(name.expression));\n            }\n            return LHS;\n          }\n          symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n        }\n        context.approximateLength += symbolName2.length + 1;\n        if (!(context.flags & 16 /* ForbidIndexedAccessSymbolReferences */) && parent2 && getMembersOfSymbol(parent2) && getMembersOfSymbol(parent2).get(symbol2.escapedName) && getSymbolIfSameReference(getMembersOfSymbol(parent2).get(symbol2.escapedName), symbol2)) {\n          const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper);\n          if (isIndexedAccessTypeNode(LHS)) {\n            return factory.createIndexedAccessTypeNode(LHS, factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2)));\n          } else {\n            return factory.createIndexedAccessTypeNode(factory.createTypeReferenceNode(LHS, typeParameterNodes), factory.createLiteralTypeNode(factory.createStringLiteral(symbolName2)));\n          }\n        }\n        const identifier = setEmitFlags(factory.createIdentifier(symbolName2, typeParameterNodes), 16777216 /* NoAsciiEscaping */);\n        identifier.symbol = symbol2;\n        if (index > stopper) {\n          const LHS = createAccessFromSymbolChain(chain2, index - 1, stopper);\n          if (!isEntityName(LHS)) {\n            return Debug.fail(\"Impossible construct - an export of an indexed access cannot be reachable\");\n          }\n          return factory.createQualifiedName(LHS, identifier);\n        }\n        return identifier;\n      }\n    }\n    function typeParameterShadowsNameInScope(escapedName, context, type) {\n      const result = resolveName(context.enclosingDeclaration, escapedName, 788968 /* Type */, void 0, escapedName, false);\n      if (result) {\n        if (result.flags & 262144 /* TypeParameter */ && result === type.symbol) {\n          return false;\n        }\n        return true;\n      }\n      return false;\n    }\n    function typeParameterToName(type, context) {\n      var _a2, _b;\n      if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */ && context.typeParameterNames) {\n        const cached = context.typeParameterNames.get(getTypeId(type));\n        if (cached) {\n          return cached;\n        }\n      }\n      let result = symbolToName(type.symbol, context, 788968 /* Type */, true);\n      if (!(result.kind & 79 /* Identifier */)) {\n        return factory.createIdentifier(\"(Missing type parameter)\");\n      }\n      if (context.flags & 4 /* GenerateNamesForShadowedTypeParams */) {\n        const rawtext = result.escapedText;\n        let i = ((_a2 = context.typeParameterNamesByTextNextNameCount) == null ? void 0 : _a2.get(rawtext)) || 0;\n        let text = rawtext;\n        while (((_b = context.typeParameterNamesByText) == null ? void 0 : _b.has(text)) || typeParameterShadowsNameInScope(text, context, type)) {\n          i++;\n          text = `${rawtext}_${i}`;\n        }\n        if (text !== rawtext) {\n          result = factory.createIdentifier(text, result.typeArguments);\n        }\n        (context.typeParameterNamesByTextNextNameCount || (context.typeParameterNamesByTextNextNameCount = new Map2())).set(rawtext, i);\n        (context.typeParameterNames || (context.typeParameterNames = new Map2())).set(getTypeId(type), result);\n        (context.typeParameterNamesByText || (context.typeParameterNamesByText = new Set2())).add(rawtext);\n      }\n      return result;\n    }\n    function symbolToName(symbol, context, meaning, expectsIdentifier) {\n      const chain = lookupSymbolChain(symbol, context, meaning);\n      if (expectsIdentifier && chain.length !== 1 && !context.encounteredError && !(context.flags & 65536 /* AllowQualifiedNameInPlaceOfIdentifier */)) {\n        context.encounteredError = true;\n      }\n      return createEntityNameFromSymbolChain(chain, chain.length - 1);\n      function createEntityNameFromSymbolChain(chain2, index) {\n        const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context);\n        const symbol2 = chain2[index];\n        if (index === 0) {\n          context.flags |= 16777216 /* InInitialEntityName */;\n        }\n        const symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n        if (index === 0) {\n          context.flags ^= 16777216 /* InInitialEntityName */;\n        }\n        const identifier = setEmitFlags(factory.createIdentifier(symbolName2, typeParameterNodes), 16777216 /* NoAsciiEscaping */);\n        identifier.symbol = symbol2;\n        return index > 0 ? factory.createQualifiedName(createEntityNameFromSymbolChain(chain2, index - 1), identifier) : identifier;\n      }\n    }\n    function symbolToExpression(symbol, context, meaning) {\n      const chain = lookupSymbolChain(symbol, context, meaning);\n      return createExpressionFromSymbolChain(chain, chain.length - 1);\n      function createExpressionFromSymbolChain(chain2, index) {\n        const typeParameterNodes = lookupTypeParameterNodes(chain2, index, context);\n        const symbol2 = chain2[index];\n        if (index === 0) {\n          context.flags |= 16777216 /* InInitialEntityName */;\n        }\n        let symbolName2 = getNameOfSymbolAsWritten(symbol2, context);\n        if (index === 0) {\n          context.flags ^= 16777216 /* InInitialEntityName */;\n        }\n        let firstChar = symbolName2.charCodeAt(0);\n        if (isSingleOrDoubleQuote(firstChar) && some(symbol2.declarations, hasNonGlobalAugmentationExternalModuleSymbol)) {\n          return factory.createStringLiteral(getSpecifierForModuleSymbol(symbol2, context));\n        }\n        const canUsePropertyAccess = firstChar === 35 /* hash */ ? symbolName2.length > 1 && isIdentifierStart(symbolName2.charCodeAt(1), languageVersion) : isIdentifierStart(firstChar, languageVersion);\n        if (index === 0 || canUsePropertyAccess) {\n          const identifier = setEmitFlags(factory.createIdentifier(symbolName2, typeParameterNodes), 16777216 /* NoAsciiEscaping */);\n          identifier.symbol = symbol2;\n          return index > 0 ? factory.createPropertyAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), identifier) : identifier;\n        } else {\n          if (firstChar === 91 /* openBracket */) {\n            symbolName2 = symbolName2.substring(1, symbolName2.length - 1);\n            firstChar = symbolName2.charCodeAt(0);\n          }\n          let expression;\n          if (isSingleOrDoubleQuote(firstChar) && !(symbol2.flags & 8 /* EnumMember */)) {\n            expression = factory.createStringLiteral(stripQuotes(symbolName2).replace(/\\\\./g, (s) => s.substring(1)), firstChar === 39 /* singleQuote */);\n          } else if (\"\" + +symbolName2 === symbolName2) {\n            expression = factory.createNumericLiteral(+symbolName2);\n          }\n          if (!expression) {\n            expression = setEmitFlags(factory.createIdentifier(symbolName2, typeParameterNodes), 16777216 /* NoAsciiEscaping */);\n            expression.symbol = symbol2;\n          }\n          return factory.createElementAccessExpression(createExpressionFromSymbolChain(chain2, index - 1), expression);\n        }\n      }\n    }\n    function isStringNamed(d) {\n      const name = getNameOfDeclaration(d);\n      return !!name && isStringLiteral(name);\n    }\n    function isSingleQuotedStringNamed(d) {\n      const name = getNameOfDeclaration(d);\n      return !!(name && isStringLiteral(name) && (name.singleQuote || !nodeIsSynthesized(name) && startsWith(getTextOfNode(name, false), \"'\")));\n    }\n    function getPropertyNameNodeForSymbol(symbol, context) {\n      const singleQuote = !!length(symbol.declarations) && every(symbol.declarations, isSingleQuotedStringNamed);\n      const fromNameType = getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote);\n      if (fromNameType) {\n        return fromNameType;\n      }\n      const rawName = unescapeLeadingUnderscores(symbol.escapedName);\n      const stringNamed = !!length(symbol.declarations) && every(symbol.declarations, isStringNamed);\n      return createPropertyNameNodeForIdentifierOrLiteral(rawName, getEmitScriptTarget(compilerOptions), singleQuote, stringNamed);\n    }\n    function getPropertyNameNodeForSymbolFromNameType(symbol, context, singleQuote) {\n      const nameType = getSymbolLinks(symbol).nameType;\n      if (nameType) {\n        if (nameType.flags & 384 /* StringOrNumberLiteral */) {\n          const name = \"\" + nameType.value;\n          if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && !isNumericLiteralName(name)) {\n            return factory.createStringLiteral(name, !!singleQuote);\n          }\n          if (isNumericLiteralName(name) && startsWith(name, \"-\")) {\n            return factory.createComputedPropertyName(factory.createNumericLiteral(+name));\n          }\n          return createPropertyNameNodeForIdentifierOrLiteral(name, getEmitScriptTarget(compilerOptions));\n        }\n        if (nameType.flags & 8192 /* UniqueESSymbol */) {\n          return factory.createComputedPropertyName(symbolToExpression(nameType.symbol, context, 111551 /* Value */));\n        }\n      }\n    }\n    function cloneNodeBuilderContext(context) {\n      const initial = { ...context };\n      if (initial.typeParameterNames) {\n        initial.typeParameterNames = new Map2(initial.typeParameterNames);\n      }\n      if (initial.typeParameterNamesByText) {\n        initial.typeParameterNamesByText = new Set2(initial.typeParameterNamesByText);\n      }\n      if (initial.typeParameterSymbolList) {\n        initial.typeParameterSymbolList = new Set2(initial.typeParameterSymbolList);\n      }\n      initial.tracker = wrapSymbolTrackerToReportForContext(initial, initial.tracker);\n      return initial;\n    }\n    function getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration) {\n      return symbol.declarations && find(symbol.declarations, (s) => !!getEffectiveTypeAnnotationNode(s) && (!enclosingDeclaration || !!findAncestor(s, (n) => n === enclosingDeclaration)));\n    }\n    function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type) {\n      return !(getObjectFlags(type) & 4 /* Reference */) || !isTypeReferenceNode(existing) || length(existing.typeArguments) >= getMinTypeArgumentCount(type.target.typeParameters);\n    }\n    function serializeTypeForDeclaration(context, type, symbol, enclosingDeclaration, includePrivateSymbol, bundled) {\n      if (!isErrorType(type) && enclosingDeclaration) {\n        const declWithExistingAnnotation = getDeclarationWithTypeAnnotation(symbol, enclosingDeclaration);\n        if (declWithExistingAnnotation && !isFunctionLikeDeclaration(declWithExistingAnnotation) && !isGetAccessorDeclaration(declWithExistingAnnotation)) {\n          const existing = getEffectiveTypeAnnotationNode(declWithExistingAnnotation);\n          if (typeNodeIsEquivalentToType(existing, declWithExistingAnnotation, type) && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(existing, type)) {\n            const result2 = serializeExistingTypeNode(context, existing, includePrivateSymbol, bundled);\n            if (result2) {\n              return result2;\n            }\n          }\n        }\n      }\n      const oldFlags = context.flags;\n      if (type.flags & 8192 /* UniqueESSymbol */ && type.symbol === symbol && (!context.enclosingDeclaration || some(symbol.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)))) {\n        context.flags |= 1048576 /* AllowUniqueESSymbolType */;\n      }\n      const result = typeToTypeNodeHelper(type, context);\n      context.flags = oldFlags;\n      return result;\n    }\n    function typeNodeIsEquivalentToType(typeNode, annotatedDeclaration, type) {\n      const typeFromTypeNode = getTypeFromTypeNode(typeNode);\n      if (typeFromTypeNode === type) {\n        return true;\n      }\n      if (isParameter(annotatedDeclaration) && annotatedDeclaration.questionToken) {\n        return getTypeWithFacts(type, 524288 /* NEUndefined */) === typeFromTypeNode;\n      }\n      return false;\n    }\n    function serializeReturnTypeForSignature(context, type, signature, includePrivateSymbol, bundled) {\n      if (!isErrorType(type) && context.enclosingDeclaration) {\n        const annotation = signature.declaration && getEffectiveReturnTypeNode(signature.declaration);\n        if (!!findAncestor(annotation, (n) => n === context.enclosingDeclaration) && annotation) {\n          const annotated = getTypeFromTypeNode(annotation);\n          const thisInstantiated = annotated.flags & 262144 /* TypeParameter */ && annotated.isThisType ? instantiateType(annotated, signature.mapper) : annotated;\n          if (thisInstantiated === type && existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(annotation, type)) {\n            const result = serializeExistingTypeNode(context, annotation, includePrivateSymbol, bundled);\n            if (result) {\n              return result;\n            }\n          }\n        }\n      }\n      return typeToTypeNodeHelper(type, context);\n    }\n    function trackExistingEntityName(node, context, includePrivateSymbol) {\n      var _a2, _b;\n      let introducesError = false;\n      const leftmost = getFirstIdentifier(node);\n      if (isInJSFile(node) && (isExportsIdentifier(leftmost) || isModuleExportsAccessExpression(leftmost.parent) || isQualifiedName(leftmost.parent) && isModuleIdentifier(leftmost.parent.left) && isExportsIdentifier(leftmost.parent.right))) {\n        introducesError = true;\n        return { introducesError, node };\n      }\n      const sym = resolveEntityName(leftmost, 67108863 /* All */, true, true);\n      if (sym) {\n        if (isSymbolAccessible(sym, context.enclosingDeclaration, 67108863 /* All */, false).accessibility !== 0 /* Accessible */) {\n          introducesError = true;\n        } else {\n          (_b = (_a2 = context.tracker) == null ? void 0 : _a2.trackSymbol) == null ? void 0 : _b.call(_a2, sym, context.enclosingDeclaration, 67108863 /* All */);\n          includePrivateSymbol == null ? void 0 : includePrivateSymbol(sym);\n        }\n        if (isIdentifier(node)) {\n          const type = getDeclaredTypeOfSymbol(sym);\n          const name = sym.flags & 262144 /* TypeParameter */ && !isTypeSymbolAccessible(type.symbol, context.enclosingDeclaration) ? typeParameterToName(type, context) : factory.cloneNode(node);\n          name.symbol = sym;\n          return { introducesError, node: setEmitFlags(setOriginalNode(name, node), 16777216 /* NoAsciiEscaping */) };\n        }\n      }\n      return { introducesError, node };\n    }\n    function serializeExistingTypeNode(context, existing, includePrivateSymbol, bundled) {\n      if (cancellationToken && cancellationToken.throwIfCancellationRequested) {\n        cancellationToken.throwIfCancellationRequested();\n      }\n      let hadError = false;\n      const file = getSourceFileOfNode(existing);\n      const transformed = visitNode(existing, visitExistingNodeTreeSymbols);\n      if (hadError) {\n        return void 0;\n      }\n      return transformed === existing ? setTextRange(factory.cloneNode(existing), existing) : transformed;\n      function visitExistingNodeTreeSymbols(node) {\n        if (isJSDocAllType(node) || node.kind === 328 /* JSDocNamepathType */) {\n          return factory.createKeywordTypeNode(132 /* AnyKeyword */);\n        }\n        if (isJSDocUnknownType(node)) {\n          return factory.createKeywordTypeNode(159 /* UnknownKeyword */);\n        }\n        if (isJSDocNullableType(node)) {\n          return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols), factory.createLiteralTypeNode(factory.createNull())]);\n        }\n        if (isJSDocOptionalType(node)) {\n          return factory.createUnionTypeNode([visitNode(node.type, visitExistingNodeTreeSymbols), factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]);\n        }\n        if (isJSDocNonNullableType(node)) {\n          return visitNode(node.type, visitExistingNodeTreeSymbols);\n        }\n        if (isJSDocVariadicType(node)) {\n          return factory.createArrayTypeNode(visitNode(node.type, visitExistingNodeTreeSymbols));\n        }\n        if (isJSDocTypeLiteral(node)) {\n          return factory.createTypeLiteralNode(map(node.jsDocPropertyTags, (t) => {\n            const name = isIdentifier(t.name) ? t.name : t.name.right;\n            const typeViaParent = getTypeOfPropertyOfType(getTypeFromTypeNode(node), name.escapedText);\n            const overrideTypeNode = typeViaParent && t.typeExpression && getTypeFromTypeNode(t.typeExpression.type) !== typeViaParent ? typeToTypeNodeHelper(typeViaParent, context) : void 0;\n            return factory.createPropertySignature(\n              void 0,\n              name,\n              t.isBracketed || t.typeExpression && isJSDocOptionalType(t.typeExpression.type) ? factory.createToken(57 /* QuestionToken */) : void 0,\n              overrideTypeNode || t.typeExpression && visitNode(t.typeExpression.type, visitExistingNodeTreeSymbols) || factory.createKeywordTypeNode(132 /* AnyKeyword */)\n            );\n          }));\n        }\n        if (isTypeReferenceNode(node) && isIdentifier(node.typeName) && node.typeName.escapedText === \"\") {\n          return setOriginalNode(factory.createKeywordTypeNode(132 /* AnyKeyword */), node);\n        }\n        if ((isExpressionWithTypeArguments(node) || isTypeReferenceNode(node)) && isJSDocIndexSignature(node)) {\n          return factory.createTypeLiteralNode([factory.createIndexSignature(\n            void 0,\n            [factory.createParameterDeclaration(\n              void 0,\n              void 0,\n              \"x\",\n              void 0,\n              visitNode(node.typeArguments[0], visitExistingNodeTreeSymbols)\n            )],\n            visitNode(node.typeArguments[1], visitExistingNodeTreeSymbols)\n          )]);\n        }\n        if (isJSDocFunctionType(node)) {\n          if (isJSDocConstructSignature(node)) {\n            let newTypeNode;\n            return factory.createConstructorTypeNode(\n              void 0,\n              visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols),\n              mapDefined(node.parameters, (p, i) => p.name && isIdentifier(p.name) && p.name.escapedText === \"new\" ? (newTypeNode = p.type, void 0) : factory.createParameterDeclaration(\n                void 0,\n                getEffectiveDotDotDotForParameter(p),\n                getNameForJSDocFunctionParameter(p, i),\n                p.questionToken,\n                visitNode(p.type, visitExistingNodeTreeSymbols),\n                void 0\n              )),\n              visitNode(newTypeNode || node.type, visitExistingNodeTreeSymbols) || factory.createKeywordTypeNode(132 /* AnyKeyword */)\n            );\n          } else {\n            return factory.createFunctionTypeNode(\n              visitNodes2(node.typeParameters, visitExistingNodeTreeSymbols),\n              map(node.parameters, (p, i) => factory.createParameterDeclaration(\n                void 0,\n                getEffectiveDotDotDotForParameter(p),\n                getNameForJSDocFunctionParameter(p, i),\n                p.questionToken,\n                visitNode(p.type, visitExistingNodeTreeSymbols),\n                void 0\n              )),\n              visitNode(node.type, visitExistingNodeTreeSymbols) || factory.createKeywordTypeNode(132 /* AnyKeyword */)\n            );\n          }\n        }\n        if (isTypeReferenceNode(node) && isInJSDoc(node) && (!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(node, getTypeFromTypeNode(node)) || getIntendedTypeFromJSDocTypeReference(node) || unknownSymbol === resolveTypeReferenceName(node, 788968 /* Type */, true))) {\n          return setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(node), context), node);\n        }\n        if (isLiteralImportTypeNode(node)) {\n          const nodeSymbol = getNodeLinks(node).resolvedSymbol;\n          if (isInJSDoc(node) && nodeSymbol && (!node.isTypeOf && !(nodeSymbol.flags & 788968 /* Type */) || !(length(node.typeArguments) >= getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(nodeSymbol))))) {\n            return setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(node), context), node);\n          }\n          return factory.updateImportTypeNode(\n            node,\n            factory.updateLiteralTypeNode(node.argument, rewriteModuleSpecifier(node, node.argument.literal)),\n            node.assertions,\n            node.qualifier,\n            visitNodes2(node.typeArguments, visitExistingNodeTreeSymbols, isTypeNode),\n            node.isTypeOf\n          );\n        }\n        if (isEntityName(node) || isEntityNameExpression(node)) {\n          const { introducesError, node: result } = trackExistingEntityName(node, context, includePrivateSymbol);\n          hadError = hadError || introducesError;\n          if (result !== node) {\n            return result;\n          }\n        }\n        if (file && isTupleTypeNode(node) && getLineAndCharacterOfPosition(file, node.pos).line === getLineAndCharacterOfPosition(file, node.end).line) {\n          setEmitFlags(node, 1 /* SingleLine */);\n        }\n        return visitEachChild(node, visitExistingNodeTreeSymbols, nullTransformationContext);\n        function getEffectiveDotDotDotForParameter(p) {\n          return p.dotDotDotToken || (p.type && isJSDocVariadicType(p.type) ? factory.createToken(25 /* DotDotDotToken */) : void 0);\n        }\n        function getNameForJSDocFunctionParameter(p, index) {\n          return p.name && isIdentifier(p.name) && p.name.escapedText === \"this\" ? \"this\" : getEffectiveDotDotDotForParameter(p) ? `args` : `arg${index}`;\n        }\n        function rewriteModuleSpecifier(parent2, lit) {\n          if (bundled) {\n            if (context.tracker && context.tracker.moduleResolverHost) {\n              const targetFile = getExternalModuleFileFromDeclaration(parent2);\n              if (targetFile) {\n                const getCanonicalFileName = createGetCanonicalFileName(!!host.useCaseSensitiveFileNames);\n                const resolverHost = {\n                  getCanonicalFileName,\n                  getCurrentDirectory: () => context.tracker.moduleResolverHost.getCurrentDirectory(),\n                  getCommonSourceDirectory: () => context.tracker.moduleResolverHost.getCommonSourceDirectory()\n                };\n                const newName = getResolvedExternalModuleName(resolverHost, targetFile);\n                return factory.createStringLiteral(newName);\n              }\n            }\n          } else {\n            if (context.tracker && context.tracker.trackExternalModuleSymbolOfImportTypeNode) {\n              const moduleSym = resolveExternalModuleNameWorker(lit, lit, void 0);\n              if (moduleSym) {\n                context.tracker.trackExternalModuleSymbolOfImportTypeNode(moduleSym);\n              }\n            }\n          }\n          return lit;\n        }\n      }\n    }\n    function symbolTableToDeclarationStatements(symbolTable, context, bundled) {\n      const serializePropertySymbolForClass = makeSerializePropertySymbol(factory.createPropertyDeclaration, 174 /* MethodDeclaration */, true);\n      const serializePropertySymbolForInterfaceWorker = makeSerializePropertySymbol((mods, name, question, type) => factory.createPropertySignature(mods, name, question, type), 173 /* MethodSignature */, false);\n      const enclosingDeclaration = context.enclosingDeclaration;\n      let results = [];\n      const visitedSymbols = new Set2();\n      const deferredPrivatesStack = [];\n      const oldcontext = context;\n      context = {\n        ...oldcontext,\n        usedSymbolNames: new Set2(oldcontext.usedSymbolNames),\n        remappedSymbolNames: new Map2(),\n        tracker: {\n          ...oldcontext.tracker,\n          trackSymbol: (sym, decl, meaning) => {\n            const accessibleResult = isSymbolAccessible(sym, decl, meaning, false);\n            if (accessibleResult.accessibility === 0 /* Accessible */) {\n              const chain = lookupSymbolChainWorker(sym, context, meaning);\n              if (!(sym.flags & 4 /* Property */)) {\n                includePrivateSymbol(chain[0]);\n              }\n            } else if (oldcontext.tracker && oldcontext.tracker.trackSymbol) {\n              return oldcontext.tracker.trackSymbol(sym, decl, meaning);\n            }\n            return false;\n          }\n        }\n      };\n      context.tracker = wrapSymbolTrackerToReportForContext(context, context.tracker);\n      forEachEntry(symbolTable, (symbol, name) => {\n        const baseName = unescapeLeadingUnderscores(name);\n        void getInternalSymbolName(symbol, baseName);\n      });\n      let addingDeclare = !bundled;\n      const exportEquals = symbolTable.get(\"export=\" /* ExportEquals */);\n      if (exportEquals && symbolTable.size > 1 && exportEquals.flags & 2097152 /* Alias */) {\n        symbolTable = createSymbolTable();\n        symbolTable.set(\"export=\" /* ExportEquals */, exportEquals);\n      }\n      visitSymbolTable(symbolTable);\n      return mergeRedundantStatements(results);\n      function isIdentifierAndNotUndefined(node) {\n        return !!node && node.kind === 79 /* Identifier */;\n      }\n      function getNamesOfDeclaration(statement) {\n        if (isVariableStatement(statement)) {\n          return filter(map(statement.declarationList.declarations, getNameOfDeclaration), isIdentifierAndNotUndefined);\n        }\n        return filter([getNameOfDeclaration(statement)], isIdentifierAndNotUndefined);\n      }\n      function flattenExportAssignedNamespace(statements) {\n        const exportAssignment = find(statements, isExportAssignment);\n        const nsIndex = findIndex(statements, isModuleDeclaration);\n        let ns = nsIndex !== -1 ? statements[nsIndex] : void 0;\n        if (ns && exportAssignment && exportAssignment.isExportEquals && isIdentifier(exportAssignment.expression) && isIdentifier(ns.name) && idText(ns.name) === idText(exportAssignment.expression) && ns.body && isModuleBlock(ns.body)) {\n          const excessExports = filter(statements, (s) => !!(getEffectiveModifierFlags(s) & 1 /* Export */));\n          const name = ns.name;\n          let body = ns.body;\n          if (length(excessExports)) {\n            ns = factory.updateModuleDeclaration(\n              ns,\n              ns.modifiers,\n              ns.name,\n              body = factory.updateModuleBlock(\n                body,\n                factory.createNodeArray([...ns.body.statements, factory.createExportDeclaration(\n                  void 0,\n                  false,\n                  factory.createNamedExports(map(flatMap(excessExports, (e) => getNamesOfDeclaration(e)), (id) => factory.createExportSpecifier(false, void 0, id))),\n                  void 0\n                )])\n              )\n            );\n            statements = [...statements.slice(0, nsIndex), ns, ...statements.slice(nsIndex + 1)];\n          }\n          if (!find(statements, (s) => s !== ns && nodeHasName(s, name))) {\n            results = [];\n            const mixinExportFlag = !some(body.statements, (s) => hasSyntacticModifier(s, 1 /* Export */) || isExportAssignment(s) || isExportDeclaration(s));\n            forEach(body.statements, (s) => {\n              addResult(s, mixinExportFlag ? 1 /* Export */ : 0 /* None */);\n            });\n            statements = [...filter(statements, (s) => s !== ns && s !== exportAssignment), ...results];\n          }\n        }\n        return statements;\n      }\n      function mergeExportDeclarations(statements) {\n        const exports = filter(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause));\n        if (length(exports) > 1) {\n          const nonExports = filter(statements, (d) => !isExportDeclaration(d) || !!d.moduleSpecifier || !d.exportClause);\n          statements = [...nonExports, factory.createExportDeclaration(\n            void 0,\n            false,\n            factory.createNamedExports(flatMap(exports, (e) => cast(e.exportClause, isNamedExports).elements)),\n            void 0\n          )];\n        }\n        const reexports = filter(statements, (d) => isExportDeclaration(d) && !!d.moduleSpecifier && !!d.exportClause && isNamedExports(d.exportClause));\n        if (length(reexports) > 1) {\n          const groups = group(reexports, (decl) => isStringLiteral(decl.moduleSpecifier) ? \">\" + decl.moduleSpecifier.text : \">\");\n          if (groups.length !== reexports.length) {\n            for (const group2 of groups) {\n              if (group2.length > 1) {\n                statements = [\n                  ...filter(statements, (s) => group2.indexOf(s) === -1),\n                  factory.createExportDeclaration(\n                    void 0,\n                    false,\n                    factory.createNamedExports(flatMap(group2, (e) => cast(e.exportClause, isNamedExports).elements)),\n                    group2[0].moduleSpecifier\n                  )\n                ];\n              }\n            }\n          }\n        }\n        return statements;\n      }\n      function inlineExportModifiers(statements) {\n        const index = findIndex(statements, (d) => isExportDeclaration(d) && !d.moduleSpecifier && !d.assertClause && !!d.exportClause && isNamedExports(d.exportClause));\n        if (index >= 0) {\n          const exportDecl = statements[index];\n          const replacements = mapDefined(exportDecl.exportClause.elements, (e) => {\n            if (!e.propertyName) {\n              const indices = indicesOf(statements);\n              const associatedIndices = filter(indices, (i) => nodeHasName(statements[i], e.name));\n              if (length(associatedIndices) && every(associatedIndices, (i) => canHaveExportModifier(statements[i]))) {\n                for (const index2 of associatedIndices) {\n                  statements[index2] = addExportModifier(statements[index2]);\n                }\n                return void 0;\n              }\n            }\n            return e;\n          });\n          if (!length(replacements)) {\n            orderedRemoveItemAt(statements, index);\n          } else {\n            statements[index] = factory.updateExportDeclaration(\n              exportDecl,\n              exportDecl.modifiers,\n              exportDecl.isTypeOnly,\n              factory.updateNamedExports(\n                exportDecl.exportClause,\n                replacements\n              ),\n              exportDecl.moduleSpecifier,\n              exportDecl.assertClause\n            );\n          }\n        }\n        return statements;\n      }\n      function mergeRedundantStatements(statements) {\n        statements = flattenExportAssignedNamespace(statements);\n        statements = mergeExportDeclarations(statements);\n        statements = inlineExportModifiers(statements);\n        if (enclosingDeclaration && (isSourceFile(enclosingDeclaration) && isExternalOrCommonJsModule(enclosingDeclaration) || isModuleDeclaration(enclosingDeclaration)) && (!some(statements, isExternalModuleIndicator) || !hasScopeMarker(statements) && some(statements, needsScopeMarker))) {\n          statements.push(createEmptyExports(factory));\n        }\n        return statements;\n      }\n      function addExportModifier(node) {\n        const flags = (getEffectiveModifierFlags(node) | 1 /* Export */) & ~2 /* Ambient */;\n        return factory.updateModifiers(node, flags);\n      }\n      function removeExportModifier(node) {\n        const flags = getEffectiveModifierFlags(node) & ~1 /* Export */;\n        return factory.updateModifiers(node, flags);\n      }\n      function visitSymbolTable(symbolTable2, suppressNewPrivateContext, propertyAsAlias) {\n        if (!suppressNewPrivateContext) {\n          deferredPrivatesStack.push(new Map2());\n        }\n        symbolTable2.forEach((symbol) => {\n          serializeSymbol(symbol, false, !!propertyAsAlias);\n        });\n        if (!suppressNewPrivateContext) {\n          deferredPrivatesStack[deferredPrivatesStack.length - 1].forEach((symbol) => {\n            serializeSymbol(symbol, true, !!propertyAsAlias);\n          });\n          deferredPrivatesStack.pop();\n        }\n      }\n      function serializeSymbol(symbol, isPrivate, propertyAsAlias) {\n        const visitedSym = getMergedSymbol(symbol);\n        if (visitedSymbols.has(getSymbolId(visitedSym))) {\n          return;\n        }\n        visitedSymbols.add(getSymbolId(visitedSym));\n        const skipMembershipCheck = !isPrivate;\n        if (skipMembershipCheck || !!length(symbol.declarations) && some(symbol.declarations, (d) => !!findAncestor(d, (n) => n === enclosingDeclaration))) {\n          const oldContext = context;\n          context = cloneNodeBuilderContext(context);\n          serializeSymbolWorker(symbol, isPrivate, propertyAsAlias);\n          if (context.reportedDiagnostic) {\n            oldcontext.reportedDiagnostic = context.reportedDiagnostic;\n          }\n          context = oldContext;\n        }\n      }\n      function serializeSymbolWorker(symbol, isPrivate, propertyAsAlias) {\n        var _a2, _b, _c, _d;\n        const symbolName2 = unescapeLeadingUnderscores(symbol.escapedName);\n        const isDefault = symbol.escapedName === \"default\" /* Default */;\n        if (isPrivate && !(context.flags & 131072 /* AllowAnonymousIdentifier */) && isStringANonContextualKeyword(symbolName2) && !isDefault) {\n          context.encounteredError = true;\n          return;\n        }\n        let needsPostExportDefault = isDefault && !!(symbol.flags & -113 /* ExportDoesNotSupportDefaultModifier */ || symbol.flags & 16 /* Function */ && length(getPropertiesOfType(getTypeOfSymbol(symbol)))) && !(symbol.flags & 2097152 /* Alias */);\n        let needsExportDeclaration = !needsPostExportDefault && !isPrivate && isStringANonContextualKeyword(symbolName2) && !isDefault;\n        if (needsPostExportDefault || needsExportDeclaration) {\n          isPrivate = true;\n        }\n        const modifierFlags = (!isPrivate ? 1 /* Export */ : 0) | (isDefault && !needsPostExportDefault ? 1024 /* Default */ : 0);\n        const isConstMergedWithNS = symbol.flags & 1536 /* Module */ && symbol.flags & (2 /* BlockScopedVariable */ | 1 /* FunctionScopedVariable */ | 4 /* Property */) && symbol.escapedName !== \"export=\" /* ExportEquals */;\n        const isConstMergedWithNSPrintableAsSignatureMerge = isConstMergedWithNS && isTypeRepresentableAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol);\n        if (symbol.flags & (16 /* Function */ | 8192 /* Method */) || isConstMergedWithNSPrintableAsSignatureMerge) {\n          serializeAsFunctionNamespaceMerge(getTypeOfSymbol(symbol), symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n        }\n        if (symbol.flags & 524288 /* TypeAlias */) {\n          serializeTypeAlias(symbol, symbolName2, modifierFlags);\n        }\n        if (symbol.flags & (2 /* BlockScopedVariable */ | 1 /* FunctionScopedVariable */ | 4 /* Property */) && symbol.escapedName !== \"export=\" /* ExportEquals */ && !(symbol.flags & 4194304 /* Prototype */) && !(symbol.flags & 32 /* Class */) && !(symbol.flags & 8192 /* Method */) && !isConstMergedWithNSPrintableAsSignatureMerge) {\n          if (propertyAsAlias) {\n            const createdExport = serializeMaybeAliasAssignment(symbol);\n            if (createdExport) {\n              needsExportDeclaration = false;\n              needsPostExportDefault = false;\n            }\n          } else {\n            const type = getTypeOfSymbol(symbol);\n            const localName = getInternalSymbolName(symbol, symbolName2);\n            if (!(symbol.flags & 16 /* Function */) && isTypeRepresentableAsFunctionNamespaceMerge(type, symbol)) {\n              serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags);\n            } else {\n              const flags = !(symbol.flags & 2 /* BlockScopedVariable */) ? ((_a2 = symbol.parent) == null ? void 0 : _a2.valueDeclaration) && isSourceFile((_b = symbol.parent) == null ? void 0 : _b.valueDeclaration) ? 2 /* Const */ : void 0 : isConstVariable(symbol) ? 2 /* Const */ : 1 /* Let */;\n              const name = needsPostExportDefault || !(symbol.flags & 4 /* Property */) ? localName : getUnusedName(localName, symbol);\n              let textRange = symbol.declarations && find(symbol.declarations, (d) => isVariableDeclaration(d));\n              if (textRange && isVariableDeclarationList(textRange.parent) && textRange.parent.declarations.length === 1) {\n                textRange = textRange.parent.parent;\n              }\n              const propertyAccessRequire = (_c = symbol.declarations) == null ? void 0 : _c.find(isPropertyAccessExpression);\n              if (propertyAccessRequire && isBinaryExpression(propertyAccessRequire.parent) && isIdentifier(propertyAccessRequire.parent.right) && ((_d = type.symbol) == null ? void 0 : _d.valueDeclaration) && isSourceFile(type.symbol.valueDeclaration)) {\n                const alias = localName === propertyAccessRequire.parent.right.escapedText ? void 0 : propertyAccessRequire.parent.right;\n                addResult(\n                  factory.createExportDeclaration(\n                    void 0,\n                    false,\n                    factory.createNamedExports([factory.createExportSpecifier(false, alias, localName)])\n                  ),\n                  0 /* None */\n                );\n                context.tracker.trackSymbol(type.symbol, context.enclosingDeclaration, 111551 /* Value */);\n              } else {\n                const statement = setTextRange(factory.createVariableStatement(void 0, factory.createVariableDeclarationList([\n                  factory.createVariableDeclaration(name, void 0, serializeTypeForDeclaration(context, type, symbol, enclosingDeclaration, includePrivateSymbol, bundled))\n                ], flags)), textRange);\n                addResult(statement, name !== localName ? modifierFlags & ~1 /* Export */ : modifierFlags);\n                if (name !== localName && !isPrivate) {\n                  addResult(\n                    factory.createExportDeclaration(\n                      void 0,\n                      false,\n                      factory.createNamedExports([factory.createExportSpecifier(false, name, localName)])\n                    ),\n                    0 /* None */\n                  );\n                  needsExportDeclaration = false;\n                  needsPostExportDefault = false;\n                }\n              }\n            }\n          }\n        }\n        if (symbol.flags & 384 /* Enum */) {\n          serializeEnum(symbol, symbolName2, modifierFlags);\n        }\n        if (symbol.flags & 32 /* Class */) {\n          if (symbol.flags & 4 /* Property */ && symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration.parent) && isClassExpression(symbol.valueDeclaration.parent.right)) {\n            serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n          } else {\n            serializeAsClass(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n          }\n        }\n        if (symbol.flags & (512 /* ValueModule */ | 1024 /* NamespaceModule */) && (!isConstMergedWithNS || isTypeOnlyNamespace(symbol)) || isConstMergedWithNSPrintableAsSignatureMerge) {\n          serializeModule(symbol, symbolName2, modifierFlags);\n        }\n        if (symbol.flags & 64 /* Interface */ && !(symbol.flags & 32 /* Class */)) {\n          serializeInterface(symbol, symbolName2, modifierFlags);\n        }\n        if (symbol.flags & 2097152 /* Alias */) {\n          serializeAsAlias(symbol, getInternalSymbolName(symbol, symbolName2), modifierFlags);\n        }\n        if (symbol.flags & 4 /* Property */ && symbol.escapedName === \"export=\" /* ExportEquals */) {\n          serializeMaybeAliasAssignment(symbol);\n        }\n        if (symbol.flags & 8388608 /* ExportStar */) {\n          if (symbol.declarations) {\n            for (const node of symbol.declarations) {\n              const resolvedModule = resolveExternalModuleName(node, node.moduleSpecifier);\n              if (!resolvedModule)\n                continue;\n              addResult(factory.createExportDeclaration(void 0, false, void 0, factory.createStringLiteral(getSpecifierForModuleSymbol(resolvedModule, context))), 0 /* None */);\n            }\n          }\n        }\n        if (needsPostExportDefault) {\n          addResult(factory.createExportAssignment(void 0, false, factory.createIdentifier(getInternalSymbolName(symbol, symbolName2))), 0 /* None */);\n        } else if (needsExportDeclaration) {\n          addResult(factory.createExportDeclaration(\n            void 0,\n            false,\n            factory.createNamedExports([factory.createExportSpecifier(false, getInternalSymbolName(symbol, symbolName2), symbolName2)])\n          ), 0 /* None */);\n        }\n      }\n      function includePrivateSymbol(symbol) {\n        if (some(symbol.declarations, isParameterDeclaration))\n          return;\n        Debug.assertIsDefined(deferredPrivatesStack[deferredPrivatesStack.length - 1]);\n        getUnusedName(unescapeLeadingUnderscores(symbol.escapedName), symbol);\n        const isExternalImportAlias = !!(symbol.flags & 2097152 /* Alias */) && !some(\n          symbol.declarations,\n          (d) => !!findAncestor(d, isExportDeclaration) || isNamespaceExport(d) || isImportEqualsDeclaration(d) && !isExternalModuleReference(d.moduleReference)\n        );\n        deferredPrivatesStack[isExternalImportAlias ? 0 : deferredPrivatesStack.length - 1].set(getSymbolId(symbol), symbol);\n      }\n      function isExportingScope(enclosingDeclaration2) {\n        return isSourceFile(enclosingDeclaration2) && (isExternalOrCommonJsModule(enclosingDeclaration2) || isJsonSourceFile(enclosingDeclaration2)) || isAmbientModule(enclosingDeclaration2) && !isGlobalScopeAugmentation(enclosingDeclaration2);\n      }\n      function addResult(node, additionalModifierFlags) {\n        if (canHaveModifiers(node)) {\n          let newModifierFlags = 0 /* None */;\n          const enclosingDeclaration2 = context.enclosingDeclaration && (isJSDocTypeAlias(context.enclosingDeclaration) ? getSourceFileOfNode(context.enclosingDeclaration) : context.enclosingDeclaration);\n          if (additionalModifierFlags & 1 /* Export */ && enclosingDeclaration2 && (isExportingScope(enclosingDeclaration2) || isModuleDeclaration(enclosingDeclaration2)) && canHaveExportModifier(node)) {\n            newModifierFlags |= 1 /* Export */;\n          }\n          if (addingDeclare && !(newModifierFlags & 1 /* Export */) && (!enclosingDeclaration2 || !(enclosingDeclaration2.flags & 16777216 /* Ambient */)) && (isEnumDeclaration(node) || isVariableStatement(node) || isFunctionDeclaration(node) || isClassDeclaration(node) || isModuleDeclaration(node))) {\n            newModifierFlags |= 2 /* Ambient */;\n          }\n          if (additionalModifierFlags & 1024 /* Default */ && (isClassDeclaration(node) || isInterfaceDeclaration(node) || isFunctionDeclaration(node))) {\n            newModifierFlags |= 1024 /* Default */;\n          }\n          if (newModifierFlags) {\n            node = factory.updateModifiers(node, newModifierFlags | getEffectiveModifierFlags(node));\n          }\n        }\n        results.push(node);\n      }\n      function serializeTypeAlias(symbol, symbolName2, modifierFlags) {\n        var _a2;\n        const aliasType = getDeclaredTypeOfTypeAlias(symbol);\n        const typeParams = getSymbolLinks(symbol).typeParameters;\n        const typeParamDecls = map(typeParams, (p) => typeParameterToDeclaration(p, context));\n        const jsdocAliasDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isJSDocTypeAlias);\n        const commentText = getTextOfJSDocComment(jsdocAliasDecl ? jsdocAliasDecl.comment || jsdocAliasDecl.parent.comment : void 0);\n        const oldFlags = context.flags;\n        context.flags |= 8388608 /* InTypeAlias */;\n        const oldEnclosingDecl = context.enclosingDeclaration;\n        context.enclosingDeclaration = jsdocAliasDecl;\n        const typeNode = jsdocAliasDecl && jsdocAliasDecl.typeExpression && isJSDocTypeExpression(jsdocAliasDecl.typeExpression) && serializeExistingTypeNode(context, jsdocAliasDecl.typeExpression.type, includePrivateSymbol, bundled) || typeToTypeNodeHelper(aliasType, context);\n        addResult(setSyntheticLeadingComments(\n          factory.createTypeAliasDeclaration(void 0, getInternalSymbolName(symbol, symbolName2), typeParamDecls, typeNode),\n          !commentText ? [] : [{ kind: 3 /* MultiLineCommentTrivia */, text: \"*\\n * \" + commentText.replace(/\\n/g, \"\\n * \") + \"\\n \", pos: -1, end: -1, hasTrailingNewLine: true }]\n        ), modifierFlags);\n        context.flags = oldFlags;\n        context.enclosingDeclaration = oldEnclosingDecl;\n      }\n      function serializeInterface(symbol, symbolName2, modifierFlags) {\n        const interfaceType = getDeclaredTypeOfClassOrInterface(symbol);\n        const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n        const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context));\n        const baseTypes = getBaseTypes(interfaceType);\n        const baseType = length(baseTypes) ? getIntersectionType(baseTypes) : void 0;\n        const members = flatMap(getPropertiesOfType(interfaceType), (p) => serializePropertySymbolForInterface(p, baseType));\n        const callSignatures = serializeSignatures(0 /* Call */, interfaceType, baseType, 179 /* CallSignature */);\n        const constructSignatures = serializeSignatures(1 /* Construct */, interfaceType, baseType, 180 /* ConstructSignature */);\n        const indexSignatures = serializeIndexSignatures(interfaceType, baseType);\n        const heritageClauses = !length(baseTypes) ? void 0 : [factory.createHeritageClause(95 /* ExtendsKeyword */, mapDefined(baseTypes, (b) => trySerializeAsTypeReference(b, 111551 /* Value */)))];\n        addResult(factory.createInterfaceDeclaration(\n          void 0,\n          getInternalSymbolName(symbol, symbolName2),\n          typeParamDecls,\n          heritageClauses,\n          [...indexSignatures, ...constructSignatures, ...callSignatures, ...members]\n        ), modifierFlags);\n      }\n      function getNamespaceMembersForSerialization(symbol) {\n        return !symbol.exports ? [] : filter(arrayFrom(symbol.exports.values()), isNamespaceMember);\n      }\n      function isTypeOnlyNamespace(symbol) {\n        return every(getNamespaceMembersForSerialization(symbol), (m) => !(getAllSymbolFlags(resolveSymbol(m)) & 111551 /* Value */));\n      }\n      function serializeModule(symbol, symbolName2, modifierFlags) {\n        const members = getNamespaceMembersForSerialization(symbol);\n        const locationMap = arrayToMultiMap(members, (m) => m.parent && m.parent === symbol ? \"real\" : \"merged\");\n        const realMembers = locationMap.get(\"real\") || emptyArray;\n        const mergedMembers = locationMap.get(\"merged\") || emptyArray;\n        if (length(realMembers)) {\n          const localName = getInternalSymbolName(symbol, symbolName2);\n          serializeAsNamespaceDeclaration(realMembers, localName, modifierFlags, !!(symbol.flags & (16 /* Function */ | 67108864 /* Assignment */)));\n        }\n        if (length(mergedMembers)) {\n          const containingFile = getSourceFileOfNode(context.enclosingDeclaration);\n          const localName = getInternalSymbolName(symbol, symbolName2);\n          const nsBody = factory.createModuleBlock([factory.createExportDeclaration(\n            void 0,\n            false,\n            factory.createNamedExports(mapDefined(filter(mergedMembers, (n) => n.escapedName !== \"export=\" /* ExportEquals */), (s) => {\n              var _a2, _b;\n              const name = unescapeLeadingUnderscores(s.escapedName);\n              const localName2 = getInternalSymbolName(s, name);\n              const aliasDecl = s.declarations && getDeclarationOfAliasSymbol(s);\n              if (containingFile && (aliasDecl ? containingFile !== getSourceFileOfNode(aliasDecl) : !some(s.declarations, (d) => getSourceFileOfNode(d) === containingFile))) {\n                (_b = (_a2 = context.tracker) == null ? void 0 : _a2.reportNonlocalAugmentation) == null ? void 0 : _b.call(_a2, containingFile, symbol, s);\n                return void 0;\n              }\n              const target = aliasDecl && getTargetOfAliasDeclaration(aliasDecl, true);\n              includePrivateSymbol(target || s);\n              const targetName = target ? getInternalSymbolName(target, unescapeLeadingUnderscores(target.escapedName)) : localName2;\n              return factory.createExportSpecifier(false, name === targetName ? void 0 : targetName, name);\n            }))\n          )]);\n          addResult(factory.createModuleDeclaration(\n            void 0,\n            factory.createIdentifier(localName),\n            nsBody,\n            16 /* Namespace */\n          ), 0 /* None */);\n        }\n      }\n      function serializeEnum(symbol, symbolName2, modifierFlags) {\n        addResult(factory.createEnumDeclaration(\n          factory.createModifiersFromModifierFlags(isConstEnumSymbol(symbol) ? 2048 /* Const */ : 0),\n          getInternalSymbolName(symbol, symbolName2),\n          map(filter(getPropertiesOfType(getTypeOfSymbol(symbol)), (p) => !!(p.flags & 8 /* EnumMember */)), (p) => {\n            const initializedValue = p.declarations && p.declarations[0] && isEnumMember(p.declarations[0]) ? getConstantValue2(p.declarations[0]) : void 0;\n            return factory.createEnumMember(unescapeLeadingUnderscores(p.escapedName), initializedValue === void 0 ? void 0 : typeof initializedValue === \"string\" ? factory.createStringLiteral(initializedValue) : factory.createNumericLiteral(initializedValue));\n          })\n        ), modifierFlags);\n      }\n      function serializeAsFunctionNamespaceMerge(type, symbol, localName, modifierFlags) {\n        const signatures = getSignaturesOfType(type, 0 /* Call */);\n        for (const sig of signatures) {\n          const decl = signatureToSignatureDeclarationHelper(sig, 263 /* FunctionDeclaration */, context, { name: factory.createIdentifier(localName), privateSymbolVisitor: includePrivateSymbol, bundledImports: bundled });\n          addResult(setTextRange(decl, getSignatureTextRangeLocation(sig)), modifierFlags);\n        }\n        if (!(symbol.flags & (512 /* ValueModule */ | 1024 /* NamespaceModule */) && !!symbol.exports && !!symbol.exports.size)) {\n          const props = filter(getPropertiesOfType(type), isNamespaceMember);\n          serializeAsNamespaceDeclaration(props, localName, modifierFlags, true);\n        }\n      }\n      function getSignatureTextRangeLocation(signature) {\n        if (signature.declaration && signature.declaration.parent) {\n          if (isBinaryExpression(signature.declaration.parent) && getAssignmentDeclarationKind(signature.declaration.parent) === 5 /* Property */) {\n            return signature.declaration.parent;\n          }\n          if (isVariableDeclaration(signature.declaration.parent) && signature.declaration.parent.parent) {\n            return signature.declaration.parent.parent;\n          }\n        }\n        return signature.declaration;\n      }\n      function serializeAsNamespaceDeclaration(props, localName, modifierFlags, suppressNewPrivateContext) {\n        if (length(props)) {\n          const localVsRemoteMap = arrayToMultiMap(\n            props,\n            (p) => !length(p.declarations) || some(\n              p.declarations,\n              (d) => getSourceFileOfNode(d) === getSourceFileOfNode(context.enclosingDeclaration)\n            ) ? \"local\" : \"remote\"\n          );\n          const localProps = localVsRemoteMap.get(\"local\") || emptyArray;\n          let fakespace = parseNodeFactory.createModuleDeclaration(void 0, factory.createIdentifier(localName), factory.createModuleBlock([]), 16 /* Namespace */);\n          setParent(fakespace, enclosingDeclaration);\n          fakespace.locals = createSymbolTable(props);\n          fakespace.symbol = props[0].parent;\n          const oldResults = results;\n          results = [];\n          const oldAddingDeclare = addingDeclare;\n          addingDeclare = false;\n          const subcontext = { ...context, enclosingDeclaration: fakespace };\n          const oldContext = context;\n          context = subcontext;\n          visitSymbolTable(createSymbolTable(localProps), suppressNewPrivateContext, true);\n          context = oldContext;\n          addingDeclare = oldAddingDeclare;\n          const declarations = results;\n          results = oldResults;\n          const defaultReplaced = map(declarations, (d) => isExportAssignment(d) && !d.isExportEquals && isIdentifier(d.expression) ? factory.createExportDeclaration(\n            void 0,\n            false,\n            factory.createNamedExports([factory.createExportSpecifier(false, d.expression, factory.createIdentifier(\"default\" /* Default */))])\n          ) : d);\n          const exportModifierStripped = every(defaultReplaced, (d) => hasSyntacticModifier(d, 1 /* Export */)) ? map(defaultReplaced, removeExportModifier) : defaultReplaced;\n          fakespace = factory.updateModuleDeclaration(\n            fakespace,\n            fakespace.modifiers,\n            fakespace.name,\n            factory.createModuleBlock(exportModifierStripped)\n          );\n          addResult(fakespace, modifierFlags);\n        }\n      }\n      function isNamespaceMember(p) {\n        return !!(p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) || !(p.flags & 4194304 /* Prototype */ || p.escapedName === \"prototype\" || p.valueDeclaration && isStatic(p.valueDeclaration) && isClassLike(p.valueDeclaration.parent));\n      }\n      function sanitizeJSDocImplements(clauses) {\n        const result = mapDefined(clauses, (e) => {\n          const oldEnclosing = context.enclosingDeclaration;\n          context.enclosingDeclaration = e;\n          let expr = e.expression;\n          if (isEntityNameExpression(expr)) {\n            if (isIdentifier(expr) && idText(expr) === \"\") {\n              return cleanup(void 0);\n            }\n            let introducesError;\n            ({ introducesError, node: expr } = trackExistingEntityName(expr, context, includePrivateSymbol));\n            if (introducesError) {\n              return cleanup(void 0);\n            }\n          }\n          return cleanup(factory.createExpressionWithTypeArguments(\n            expr,\n            map(\n              e.typeArguments,\n              (a) => serializeExistingTypeNode(context, a, includePrivateSymbol, bundled) || typeToTypeNodeHelper(getTypeFromTypeNode(a), context)\n            )\n          ));\n          function cleanup(result2) {\n            context.enclosingDeclaration = oldEnclosing;\n            return result2;\n          }\n        });\n        if (result.length === clauses.length) {\n          return result;\n        }\n        return void 0;\n      }\n      function serializeAsClass(symbol, localName, modifierFlags) {\n        var _a2, _b;\n        const originalDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isClassLike);\n        const oldEnclosing = context.enclosingDeclaration;\n        context.enclosingDeclaration = originalDecl || oldEnclosing;\n        const localParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n        const typeParamDecls = map(localParams, (p) => typeParameterToDeclaration(p, context));\n        const classType = getDeclaredTypeOfClassOrInterface(symbol);\n        const baseTypes = getBaseTypes(classType);\n        const originalImplements = originalDecl && getEffectiveImplementsTypeNodes(originalDecl);\n        const implementsExpressions = originalImplements && sanitizeJSDocImplements(originalImplements) || mapDefined(getImplementsTypes(classType), serializeImplementedType);\n        const staticType = getTypeOfSymbol(symbol);\n        const isClass = !!((_b = staticType.symbol) == null ? void 0 : _b.valueDeclaration) && isClassLike(staticType.symbol.valueDeclaration);\n        const staticBaseType = isClass ? getBaseConstructorTypeOfClass(staticType) : anyType;\n        const heritageClauses = [\n          ...!length(baseTypes) ? [] : [factory.createHeritageClause(95 /* ExtendsKeyword */, map(baseTypes, (b) => serializeBaseType(b, staticBaseType, localName)))],\n          ...!length(implementsExpressions) ? [] : [factory.createHeritageClause(118 /* ImplementsKeyword */, implementsExpressions)]\n        ];\n        const symbolProps = getNonInheritedProperties(classType, baseTypes, getPropertiesOfType(classType));\n        const publicSymbolProps = filter(symbolProps, (s) => {\n          const valueDecl = s.valueDeclaration;\n          return !!valueDecl && !(isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name));\n        });\n        const hasPrivateIdentifier = some(symbolProps, (s) => {\n          const valueDecl = s.valueDeclaration;\n          return !!valueDecl && isNamedDeclaration(valueDecl) && isPrivateIdentifier(valueDecl.name);\n        });\n        const privateProperties = hasPrivateIdentifier ? [factory.createPropertyDeclaration(\n          void 0,\n          factory.createPrivateIdentifier(\"#private\"),\n          void 0,\n          void 0,\n          void 0\n        )] : emptyArray;\n        const publicProperties = flatMap(publicSymbolProps, (p) => serializePropertySymbolForClass(p, false, baseTypes[0]));\n        const staticMembers = flatMap(\n          filter(getPropertiesOfType(staticType), (p) => !(p.flags & 4194304 /* Prototype */) && p.escapedName !== \"prototype\" && !isNamespaceMember(p)),\n          (p) => serializePropertySymbolForClass(p, true, staticBaseType)\n        );\n        const isNonConstructableClassLikeInJsFile = !isClass && !!symbol.valueDeclaration && isInJSFile(symbol.valueDeclaration) && !some(getSignaturesOfType(staticType, 1 /* Construct */));\n        const constructors = isNonConstructableClassLikeInJsFile ? [factory.createConstructorDeclaration(factory.createModifiersFromModifierFlags(8 /* Private */), [], void 0)] : serializeSignatures(1 /* Construct */, staticType, staticBaseType, 176 /* Constructor */);\n        const indexSignatures = serializeIndexSignatures(classType, baseTypes[0]);\n        context.enclosingDeclaration = oldEnclosing;\n        addResult(setTextRange(factory.createClassDeclaration(\n          void 0,\n          localName,\n          typeParamDecls,\n          heritageClauses,\n          [...indexSignatures, ...staticMembers, ...constructors, ...publicProperties, ...privateProperties]\n        ), symbol.declarations && filter(symbol.declarations, (d) => isClassDeclaration(d) || isClassExpression(d))[0]), modifierFlags);\n      }\n      function getSomeTargetNameFromDeclarations(declarations) {\n        return firstDefined(declarations, (d) => {\n          if (isImportSpecifier(d) || isExportSpecifier(d)) {\n            return idText(d.propertyName || d.name);\n          }\n          if (isBinaryExpression(d) || isExportAssignment(d)) {\n            const expression = isExportAssignment(d) ? d.expression : d.right;\n            if (isPropertyAccessExpression(expression)) {\n              return idText(expression.name);\n            }\n          }\n          if (isAliasSymbolDeclaration2(d)) {\n            const name = getNameOfDeclaration(d);\n            if (name && isIdentifier(name)) {\n              return idText(name);\n            }\n          }\n          return void 0;\n        });\n      }\n      function serializeAsAlias(symbol, localName, modifierFlags) {\n        var _a2, _b, _c, _d, _e;\n        const node = getDeclarationOfAliasSymbol(symbol);\n        if (!node)\n          return Debug.fail();\n        const target = getMergedSymbol(getTargetOfAliasDeclaration(node, true));\n        if (!target) {\n          return;\n        }\n        let verbatimTargetName = isShorthandAmbientModuleSymbol(target) && getSomeTargetNameFromDeclarations(symbol.declarations) || unescapeLeadingUnderscores(target.escapedName);\n        if (verbatimTargetName === \"export=\" /* ExportEquals */ && (getESModuleInterop(compilerOptions) || compilerOptions.allowSyntheticDefaultImports)) {\n          verbatimTargetName = \"default\" /* Default */;\n        }\n        const targetName = getInternalSymbolName(target, verbatimTargetName);\n        includePrivateSymbol(target);\n        switch (node.kind) {\n          case 208 /* BindingElement */:\n            if (((_b = (_a2 = node.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.kind) === 261 /* VariableDeclaration */) {\n              const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context);\n              const { propertyName } = node;\n              addResult(factory.createImportDeclaration(\n                void 0,\n                factory.createImportClause(false, void 0, factory.createNamedImports([factory.createImportSpecifier(\n                  false,\n                  propertyName && isIdentifier(propertyName) ? factory.createIdentifier(idText(propertyName)) : void 0,\n                  factory.createIdentifier(localName)\n                )])),\n                factory.createStringLiteral(specifier2),\n                void 0\n              ), 0 /* None */);\n              break;\n            }\n            Debug.failBadSyntaxKind(((_c = node.parent) == null ? void 0 : _c.parent) || node, \"Unhandled binding element grandparent kind in declaration serialization\");\n          case 306 /* ShorthandPropertyAssignment */:\n            if (((_e = (_d = node.parent) == null ? void 0 : _d.parent) == null ? void 0 : _e.kind) === 227 /* BinaryExpression */) {\n              serializeExportSpecifier(\n                unescapeLeadingUnderscores(symbol.escapedName),\n                targetName\n              );\n            }\n            break;\n          case 261 /* VariableDeclaration */:\n            if (isPropertyAccessExpression(node.initializer)) {\n              const initializer = node.initializer;\n              const uniqueName = factory.createUniqueName(localName);\n              const specifier2 = getSpecifierForModuleSymbol(target.parent || target, context);\n              addResult(factory.createImportEqualsDeclaration(\n                void 0,\n                false,\n                uniqueName,\n                factory.createExternalModuleReference(factory.createStringLiteral(specifier2))\n              ), 0 /* None */);\n              addResult(factory.createImportEqualsDeclaration(\n                void 0,\n                false,\n                factory.createIdentifier(localName),\n                factory.createQualifiedName(uniqueName, initializer.name)\n              ), modifierFlags);\n              break;\n            }\n          case 274 /* ImportEqualsDeclaration */:\n            if (target.escapedName === \"export=\" /* ExportEquals */ && some(target.declarations, isJsonSourceFile)) {\n              serializeMaybeAliasAssignment(symbol);\n              break;\n            }\n            const isLocalImport = !(target.flags & 512 /* ValueModule */) && !isVariableDeclaration(node);\n            addResult(factory.createImportEqualsDeclaration(\n              void 0,\n              false,\n              factory.createIdentifier(localName),\n              isLocalImport ? symbolToName(target, context, 67108863 /* All */, false) : factory.createExternalModuleReference(factory.createStringLiteral(getSpecifierForModuleSymbol(target, context)))\n            ), isLocalImport ? modifierFlags : 0 /* None */);\n            break;\n          case 273 /* NamespaceExportDeclaration */:\n            addResult(factory.createNamespaceExportDeclaration(idText(node.name)), 0 /* None */);\n            break;\n          case 276 /* ImportClause */:\n            addResult(factory.createImportDeclaration(\n              void 0,\n              factory.createImportClause(false, factory.createIdentifier(localName), void 0),\n              factory.createStringLiteral(getSpecifierForModuleSymbol(target.parent || target, context)),\n              void 0\n            ), 0 /* None */);\n            break;\n          case 277 /* NamespaceImport */:\n            addResult(factory.createImportDeclaration(\n              void 0,\n              factory.createImportClause(false, void 0, factory.createNamespaceImport(factory.createIdentifier(localName))),\n              factory.createStringLiteral(getSpecifierForModuleSymbol(target, context)),\n              void 0\n            ), 0 /* None */);\n            break;\n          case 283 /* NamespaceExport */:\n            addResult(factory.createExportDeclaration(\n              void 0,\n              false,\n              factory.createNamespaceExport(factory.createIdentifier(localName)),\n              factory.createStringLiteral(getSpecifierForModuleSymbol(target, context))\n            ), 0 /* None */);\n            break;\n          case 279 /* ImportSpecifier */:\n            addResult(factory.createImportDeclaration(\n              void 0,\n              factory.createImportClause(\n                false,\n                void 0,\n                factory.createNamedImports([\n                  factory.createImportSpecifier(\n                    false,\n                    localName !== verbatimTargetName ? factory.createIdentifier(verbatimTargetName) : void 0,\n                    factory.createIdentifier(localName)\n                  )\n                ])\n              ),\n              factory.createStringLiteral(getSpecifierForModuleSymbol(target.parent || target, context)),\n              void 0\n            ), 0 /* None */);\n            break;\n          case 284 /* ExportSpecifier */:\n            const specifier = node.parent.parent.moduleSpecifier;\n            serializeExportSpecifier(\n              unescapeLeadingUnderscores(symbol.escapedName),\n              specifier ? verbatimTargetName : targetName,\n              specifier && isStringLiteralLike(specifier) ? factory.createStringLiteral(specifier.text) : void 0\n            );\n            break;\n          case 280 /* ExportAssignment */:\n            serializeMaybeAliasAssignment(symbol);\n            break;\n          case 227 /* BinaryExpression */:\n          case 211 /* PropertyAccessExpression */:\n          case 212 /* ElementAccessExpression */:\n            if (symbol.escapedName === \"default\" /* Default */ || symbol.escapedName === \"export=\" /* ExportEquals */) {\n              serializeMaybeAliasAssignment(symbol);\n            } else {\n              serializeExportSpecifier(localName, targetName);\n            }\n            break;\n          default:\n            return Debug.failBadSyntaxKind(node, \"Unhandled alias declaration kind in symbol serializer!\");\n        }\n      }\n      function serializeExportSpecifier(localName, targetName, specifier) {\n        addResult(factory.createExportDeclaration(\n          void 0,\n          false,\n          factory.createNamedExports([factory.createExportSpecifier(false, localName !== targetName ? targetName : void 0, localName)]),\n          specifier\n        ), 0 /* None */);\n      }\n      function serializeMaybeAliasAssignment(symbol) {\n        if (symbol.flags & 4194304 /* Prototype */) {\n          return false;\n        }\n        const name = unescapeLeadingUnderscores(symbol.escapedName);\n        const isExportEquals = name === \"export=\" /* ExportEquals */;\n        const isDefault = name === \"default\" /* Default */;\n        const isExportAssignmentCompatibleSymbolName = isExportEquals || isDefault;\n        const aliasDecl = symbol.declarations && getDeclarationOfAliasSymbol(symbol);\n        const target = aliasDecl && getTargetOfAliasDeclaration(aliasDecl, true);\n        if (target && length(target.declarations) && some(target.declarations, (d) => getSourceFileOfNode(d) === getSourceFileOfNode(enclosingDeclaration))) {\n          const expr = aliasDecl && (isExportAssignment(aliasDecl) || isBinaryExpression(aliasDecl) ? getExportAssignmentExpression(aliasDecl) : getPropertyAssignmentAliasLikeExpression(aliasDecl));\n          const first2 = expr && isEntityNameExpression(expr) ? getFirstNonModuleExportsIdentifier(expr) : void 0;\n          const referenced = first2 && resolveEntityName(first2, 67108863 /* All */, true, true, enclosingDeclaration);\n          if (referenced || target) {\n            includePrivateSymbol(referenced || target);\n          }\n          const oldTrack = context.tracker.trackSymbol;\n          context.tracker.trackSymbol = () => false;\n          if (isExportAssignmentCompatibleSymbolName) {\n            results.push(factory.createExportAssignment(\n              void 0,\n              isExportEquals,\n              symbolToExpression(target, context, 67108863 /* All */)\n            ));\n          } else {\n            if (first2 === expr && first2) {\n              serializeExportSpecifier(name, idText(first2));\n            } else if (expr && isClassExpression(expr)) {\n              serializeExportSpecifier(name, getInternalSymbolName(target, symbolName(target)));\n            } else {\n              const varName = getUnusedName(name, symbol);\n              addResult(factory.createImportEqualsDeclaration(\n                void 0,\n                false,\n                factory.createIdentifier(varName),\n                symbolToName(target, context, 67108863 /* All */, false)\n              ), 0 /* None */);\n              serializeExportSpecifier(name, varName);\n            }\n          }\n          context.tracker.trackSymbol = oldTrack;\n          return true;\n        } else {\n          const varName = getUnusedName(name, symbol);\n          const typeToSerialize = getWidenedType(getTypeOfSymbol(getMergedSymbol(symbol)));\n          if (isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, symbol)) {\n            serializeAsFunctionNamespaceMerge(typeToSerialize, symbol, varName, isExportAssignmentCompatibleSymbolName ? 0 /* None */ : 1 /* Export */);\n          } else {\n            const statement = factory.createVariableStatement(void 0, factory.createVariableDeclarationList([\n              factory.createVariableDeclaration(varName, void 0, serializeTypeForDeclaration(context, typeToSerialize, symbol, enclosingDeclaration, includePrivateSymbol, bundled))\n            ], 2 /* Const */));\n            addResult(\n              statement,\n              target && target.flags & 4 /* Property */ && target.escapedName === \"export=\" /* ExportEquals */ ? 2 /* Ambient */ : name === varName ? 1 /* Export */ : 0 /* None */\n            );\n          }\n          if (isExportAssignmentCompatibleSymbolName) {\n            results.push(factory.createExportAssignment(\n              void 0,\n              isExportEquals,\n              factory.createIdentifier(varName)\n            ));\n            return true;\n          } else if (name !== varName) {\n            serializeExportSpecifier(name, varName);\n            return true;\n          }\n          return false;\n        }\n      }\n      function isTypeRepresentableAsFunctionNamespaceMerge(typeToSerialize, hostSymbol) {\n        const ctxSrc = getSourceFileOfNode(context.enclosingDeclaration);\n        return getObjectFlags(typeToSerialize) & (16 /* Anonymous */ | 32 /* Mapped */) && !length(getIndexInfosOfType(typeToSerialize)) && !isClassInstanceSide(typeToSerialize) && !!(length(filter(getPropertiesOfType(typeToSerialize), isNamespaceMember)) || length(getSignaturesOfType(typeToSerialize, 0 /* Call */))) && !length(getSignaturesOfType(typeToSerialize, 1 /* Construct */)) && !getDeclarationWithTypeAnnotation(hostSymbol, enclosingDeclaration) && !(typeToSerialize.symbol && some(typeToSerialize.symbol.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && !some(getPropertiesOfType(typeToSerialize), (p) => isLateBoundName(p.escapedName)) && !some(getPropertiesOfType(typeToSerialize), (p) => some(p.declarations, (d) => getSourceFileOfNode(d) !== ctxSrc)) && every(getPropertiesOfType(typeToSerialize), (p) => isIdentifierText(symbolName(p), languageVersion));\n      }\n      function makeSerializePropertySymbol(createProperty2, methodKind, useAccessors) {\n        return function serializePropertySymbol(p, isStatic2, baseType) {\n          var _a2, _b, _c, _d, _e;\n          const modifierFlags = getDeclarationModifierFlagsFromSymbol(p);\n          const isPrivate = !!(modifierFlags & 8 /* Private */);\n          if (isStatic2 && p.flags & (788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */)) {\n            return [];\n          }\n          if (p.flags & 4194304 /* Prototype */ || baseType && getPropertyOfType(baseType, p.escapedName) && isReadonlySymbol(getPropertyOfType(baseType, p.escapedName)) === isReadonlySymbol(p) && (p.flags & 16777216 /* Optional */) === (getPropertyOfType(baseType, p.escapedName).flags & 16777216 /* Optional */) && isTypeIdenticalTo(getTypeOfSymbol(p), getTypeOfPropertyOfType(baseType, p.escapedName))) {\n            return [];\n          }\n          const flag = modifierFlags & ~512 /* Async */ | (isStatic2 ? 32 /* Static */ : 0);\n          const name = getPropertyNameNodeForSymbol(p, context);\n          const firstPropertyLikeDecl = (_a2 = p.declarations) == null ? void 0 : _a2.find(or(isPropertyDeclaration, isAccessor, isVariableDeclaration, isPropertySignature, isBinaryExpression, isPropertyAccessExpression));\n          if (p.flags & 98304 /* Accessor */ && useAccessors) {\n            const result = [];\n            if (p.flags & 65536 /* SetAccessor */) {\n              result.push(setTextRange(factory.createSetAccessorDeclaration(\n                factory.createModifiersFromModifierFlags(flag),\n                name,\n                [factory.createParameterDeclaration(\n                  void 0,\n                  void 0,\n                  \"arg\",\n                  void 0,\n                  isPrivate ? void 0 : serializeTypeForDeclaration(context, getTypeOfSymbol(p), p, enclosingDeclaration, includePrivateSymbol, bundled)\n                )],\n                void 0\n              ), ((_b = p.declarations) == null ? void 0 : _b.find(isSetAccessor)) || firstPropertyLikeDecl));\n            }\n            if (p.flags & 32768 /* GetAccessor */) {\n              const isPrivate2 = modifierFlags & 8 /* Private */;\n              result.push(setTextRange(factory.createGetAccessorDeclaration(\n                factory.createModifiersFromModifierFlags(flag),\n                name,\n                [],\n                isPrivate2 ? void 0 : serializeTypeForDeclaration(context, getTypeOfSymbol(p), p, enclosingDeclaration, includePrivateSymbol, bundled),\n                void 0\n              ), ((_c = p.declarations) == null ? void 0 : _c.find(isGetAccessor)) || firstPropertyLikeDecl));\n            }\n            return result;\n          } else if (p.flags & (4 /* Property */ | 3 /* Variable */ | 98304 /* Accessor */)) {\n            return setTextRange(createProperty2(\n              factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 64 /* Readonly */ : 0) | flag),\n              name,\n              p.flags & 16777216 /* Optional */ ? factory.createToken(57 /* QuestionToken */) : void 0,\n              isPrivate ? void 0 : serializeTypeForDeclaration(context, getWriteTypeOfSymbol(p), p, enclosingDeclaration, includePrivateSymbol, bundled),\n              void 0\n            ), ((_d = p.declarations) == null ? void 0 : _d.find(or(isPropertyDeclaration, isVariableDeclaration))) || firstPropertyLikeDecl);\n          }\n          if (p.flags & (8192 /* Method */ | 16 /* Function */)) {\n            const type = getTypeOfSymbol(p);\n            const signatures = getSignaturesOfType(type, 0 /* Call */);\n            if (flag & 8 /* Private */) {\n              return setTextRange(createProperty2(\n                factory.createModifiersFromModifierFlags((isReadonlySymbol(p) ? 64 /* Readonly */ : 0) | flag),\n                name,\n                p.flags & 16777216 /* Optional */ ? factory.createToken(57 /* QuestionToken */) : void 0,\n                void 0,\n                void 0\n              ), ((_e = p.declarations) == null ? void 0 : _e.find(isFunctionLikeDeclaration)) || signatures[0] && signatures[0].declaration || p.declarations && p.declarations[0]);\n            }\n            const results2 = [];\n            for (const sig of signatures) {\n              const decl = signatureToSignatureDeclarationHelper(\n                sig,\n                methodKind,\n                context,\n                {\n                  name,\n                  questionToken: p.flags & 16777216 /* Optional */ ? factory.createToken(57 /* QuestionToken */) : void 0,\n                  modifiers: flag ? factory.createModifiersFromModifierFlags(flag) : void 0\n                }\n              );\n              const location = sig.declaration && isPrototypePropertyAssignment(sig.declaration.parent) ? sig.declaration.parent : sig.declaration;\n              results2.push(setTextRange(decl, location));\n            }\n            return results2;\n          }\n          return Debug.fail(`Unhandled class member kind! ${p.__debugFlags || p.flags}`);\n        };\n      }\n      function serializePropertySymbolForInterface(p, baseType) {\n        return serializePropertySymbolForInterfaceWorker(p, false, baseType);\n      }\n      function serializeSignatures(kind, input, baseType, outputKind) {\n        const signatures = getSignaturesOfType(input, kind);\n        if (kind === 1 /* Construct */) {\n          if (!baseType && every(signatures, (s) => length(s.parameters) === 0)) {\n            return [];\n          }\n          if (baseType) {\n            const baseSigs = getSignaturesOfType(baseType, 1 /* Construct */);\n            if (!length(baseSigs) && every(signatures, (s) => length(s.parameters) === 0)) {\n              return [];\n            }\n            if (baseSigs.length === signatures.length) {\n              let failed = false;\n              for (let i = 0; i < baseSigs.length; i++) {\n                if (!compareSignaturesIdentical(signatures[i], baseSigs[i], false, false, true, compareTypesIdentical)) {\n                  failed = true;\n                  break;\n                }\n              }\n              if (!failed) {\n                return [];\n              }\n            }\n          }\n          let privateProtected = 0;\n          for (const s of signatures) {\n            if (s.declaration) {\n              privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 8 /* Private */ | 16 /* Protected */);\n            }\n          }\n          if (privateProtected) {\n            return [setTextRange(factory.createConstructorDeclaration(\n              factory.createModifiersFromModifierFlags(privateProtected),\n              [],\n              void 0\n            ), signatures[0].declaration)];\n          }\n        }\n        const results2 = [];\n        for (const sig of signatures) {\n          const decl = signatureToSignatureDeclarationHelper(sig, outputKind, context);\n          results2.push(setTextRange(decl, sig.declaration));\n        }\n        return results2;\n      }\n      function serializeIndexSignatures(input, baseType) {\n        const results2 = [];\n        for (const info of getIndexInfosOfType(input)) {\n          if (baseType) {\n            const baseInfo = getIndexInfoOfType(baseType, info.keyType);\n            if (baseInfo) {\n              if (isTypeIdenticalTo(info.type, baseInfo.type)) {\n                continue;\n              }\n            }\n          }\n          results2.push(indexInfoToIndexSignatureDeclarationHelper(info, context, void 0));\n        }\n        return results2;\n      }\n      function serializeBaseType(t, staticType, rootName) {\n        const ref = trySerializeAsTypeReference(t, 111551 /* Value */);\n        if (ref) {\n          return ref;\n        }\n        const tempName = getUnusedName(`${rootName}_base`);\n        const statement = factory.createVariableStatement(void 0, factory.createVariableDeclarationList([\n          factory.createVariableDeclaration(tempName, void 0, typeToTypeNodeHelper(staticType, context))\n        ], 2 /* Const */));\n        addResult(statement, 0 /* None */);\n        return factory.createExpressionWithTypeArguments(factory.createIdentifier(tempName), void 0);\n      }\n      function trySerializeAsTypeReference(t, flags) {\n        let typeArgs;\n        let reference;\n        if (t.target && isSymbolAccessibleByFlags(t.target.symbol, enclosingDeclaration, flags)) {\n          typeArgs = map(getTypeArguments(t), (t2) => typeToTypeNodeHelper(t2, context));\n          reference = symbolToExpression(t.target.symbol, context, 788968 /* Type */);\n        } else if (t.symbol && isSymbolAccessibleByFlags(t.symbol, enclosingDeclaration, flags)) {\n          reference = symbolToExpression(t.symbol, context, 788968 /* Type */);\n        }\n        if (reference) {\n          return factory.createExpressionWithTypeArguments(reference, typeArgs);\n        }\n      }\n      function serializeImplementedType(t) {\n        const ref = trySerializeAsTypeReference(t, 788968 /* Type */);\n        if (ref) {\n          return ref;\n        }\n        if (t.symbol) {\n          return factory.createExpressionWithTypeArguments(symbolToExpression(t.symbol, context, 788968 /* Type */), void 0);\n        }\n      }\n      function getUnusedName(input, symbol) {\n        var _a2, _b;\n        const id = symbol ? getSymbolId(symbol) : void 0;\n        if (id) {\n          if (context.remappedSymbolNames.has(id)) {\n            return context.remappedSymbolNames.get(id);\n          }\n        }\n        if (symbol) {\n          input = getNameCandidateWorker(symbol, input);\n        }\n        let i = 0;\n        const original = input;\n        while ((_a2 = context.usedSymbolNames) == null ? void 0 : _a2.has(input)) {\n          i++;\n          input = `${original}_${i}`;\n        }\n        (_b = context.usedSymbolNames) == null ? void 0 : _b.add(input);\n        if (id) {\n          context.remappedSymbolNames.set(id, input);\n        }\n        return input;\n      }\n      function getNameCandidateWorker(symbol, localName) {\n        if (localName === \"default\" /* Default */ || localName === \"__class\" /* Class */ || localName === \"__function\" /* Function */) {\n          const flags = context.flags;\n          context.flags |= 16777216 /* InInitialEntityName */;\n          const nameCandidate = getNameOfSymbolAsWritten(symbol, context);\n          context.flags = flags;\n          localName = nameCandidate.length > 0 && isSingleOrDoubleQuote(nameCandidate.charCodeAt(0)) ? stripQuotes(nameCandidate) : nameCandidate;\n        }\n        if (localName === \"default\" /* Default */) {\n          localName = \"_default\";\n        } else if (localName === \"export=\" /* ExportEquals */) {\n          localName = \"_exports\";\n        }\n        localName = isIdentifierText(localName, languageVersion) && !isStringANonContextualKeyword(localName) ? localName : \"_\" + localName.replace(/[^a-zA-Z0-9]/g, \"_\");\n        return localName;\n      }\n      function getInternalSymbolName(symbol, localName) {\n        const id = getSymbolId(symbol);\n        if (context.remappedSymbolNames.has(id)) {\n          return context.remappedSymbolNames.get(id);\n        }\n        localName = getNameCandidateWorker(symbol, localName);\n        context.remappedSymbolNames.set(id, localName);\n        return localName;\n      }\n    }\n  }\n  function typePredicateToString(typePredicate, enclosingDeclaration, flags = 16384 /* UseAliasDefinedOutsideCurrentScope */, writer) {\n    return writer ? typePredicateToStringWorker(writer).getText() : usingSingleLineStringWriter(typePredicateToStringWorker);\n    function typePredicateToStringWorker(writer2) {\n      const predicate = factory.createTypePredicateNode(\n        typePredicate.kind === 2 /* AssertsThis */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? factory.createToken(130 /* AssertsKeyword */) : void 0,\n        typePredicate.kind === 1 /* Identifier */ || typePredicate.kind === 3 /* AssertsIdentifier */ ? factory.createIdentifier(typePredicate.parameterName) : factory.createThisTypeNode(),\n        typePredicate.type && nodeBuilder.typeToTypeNode(typePredicate.type, enclosingDeclaration, toNodeBuilderFlags(flags) | 70221824 /* IgnoreErrors */ | 512 /* WriteTypeParametersInQualifiedName */)\n      );\n      const printer3 = createPrinterWithRemoveComments();\n      const sourceFile = enclosingDeclaration && getSourceFileOfNode(enclosingDeclaration);\n      printer3.writeNode(4 /* Unspecified */, predicate, sourceFile, writer2);\n      return writer2;\n    }\n  }\n  function formatUnionTypes(types) {\n    const result = [];\n    let flags = 0;\n    for (let i = 0; i < types.length; i++) {\n      const t = types[i];\n      flags |= t.flags;\n      if (!(t.flags & 98304 /* Nullable */)) {\n        if (t.flags & (512 /* BooleanLiteral */ | 1024 /* EnumLiteral */)) {\n          const baseType = t.flags & 512 /* BooleanLiteral */ ? booleanType : getBaseTypeOfEnumLiteralType(t);\n          if (baseType.flags & 1048576 /* Union */) {\n            const count = baseType.types.length;\n            if (i + count <= types.length && getRegularTypeOfLiteralType(types[i + count - 1]) === getRegularTypeOfLiteralType(baseType.types[count - 1])) {\n              result.push(baseType);\n              i += count - 1;\n              continue;\n            }\n          }\n        }\n        result.push(t);\n      }\n    }\n    if (flags & 65536 /* Null */)\n      result.push(nullType);\n    if (flags & 32768 /* Undefined */)\n      result.push(undefinedType);\n    return result || types;\n  }\n  function visibilityToString(flags) {\n    if (flags === 8 /* Private */) {\n      return \"private\";\n    }\n    if (flags === 16 /* Protected */) {\n      return \"protected\";\n    }\n    return \"public\";\n  }\n  function getTypeAliasForTypeLiteral(type) {\n    if (type.symbol && type.symbol.flags & 2048 /* TypeLiteral */ && type.symbol.declarations) {\n      const node = walkUpParenthesizedTypes(type.symbol.declarations[0].parent);\n      if (node.kind === 268 /* TypeAliasDeclaration */) {\n        return getSymbolOfNode(node);\n      }\n    }\n    return void 0;\n  }\n  function isTopLevelInExternalModuleAugmentation(node) {\n    return node && node.parent && node.parent.kind === 271 /* ModuleBlock */ && isExternalModuleAugmentation(node.parent.parent);\n  }\n  function isDefaultBindingContext(location) {\n    return location.kind === 314 /* SourceFile */ || isAmbientModule(location);\n  }\n  function getNameOfSymbolFromNameType(symbol, context) {\n    const nameType = getSymbolLinks(symbol).nameType;\n    if (nameType) {\n      if (nameType.flags & 384 /* StringOrNumberLiteral */) {\n        const name = \"\" + nameType.value;\n        if (!isIdentifierText(name, getEmitScriptTarget(compilerOptions)) && !isNumericLiteralName(name)) {\n          return `\"${escapeString(name, 34 /* doubleQuote */)}\"`;\n        }\n        if (isNumericLiteralName(name) && startsWith(name, \"-\")) {\n          return `[${name}]`;\n        }\n        return name;\n      }\n      if (nameType.flags & 8192 /* UniqueESSymbol */) {\n        return `[${getNameOfSymbolAsWritten(nameType.symbol, context)}]`;\n      }\n    }\n  }\n  function getNameOfSymbolAsWritten(symbol, context) {\n    if (context && symbol.escapedName === \"default\" /* Default */ && !(context.flags & 16384 /* UseAliasDefinedOutsideCurrentScope */) && (!(context.flags & 16777216 /* InInitialEntityName */) || !symbol.declarations || context.enclosingDeclaration && findAncestor(symbol.declarations[0], isDefaultBindingContext) !== findAncestor(context.enclosingDeclaration, isDefaultBindingContext))) {\n      return \"default\";\n    }\n    if (symbol.declarations && symbol.declarations.length) {\n      let declaration = firstDefined(symbol.declarations, (d) => getNameOfDeclaration(d) ? d : void 0);\n      const name2 = declaration && getNameOfDeclaration(declaration);\n      if (declaration && name2) {\n        if (isCallExpression(declaration) && isBindableObjectDefinePropertyCall(declaration)) {\n          return symbolName(symbol);\n        }\n        if (isComputedPropertyName(name2) && !(getCheckFlags(symbol) & 4096 /* Late */)) {\n          const nameType = getSymbolLinks(symbol).nameType;\n          if (nameType && nameType.flags & 384 /* StringOrNumberLiteral */) {\n            const result = getNameOfSymbolFromNameType(symbol, context);\n            if (result !== void 0) {\n              return result;\n            }\n          }\n        }\n        return declarationNameToString(name2);\n      }\n      if (!declaration) {\n        declaration = symbol.declarations[0];\n      }\n      if (declaration.parent && declaration.parent.kind === 261 /* VariableDeclaration */) {\n        return declarationNameToString(declaration.parent.name);\n      }\n      switch (declaration.kind) {\n        case 232 /* ClassExpression */:\n        case 218 /* FunctionExpression */:\n        case 219 /* ArrowFunction */:\n          if (context && !context.encounteredError && !(context.flags & 131072 /* AllowAnonymousIdentifier */)) {\n            context.encounteredError = true;\n          }\n          return declaration.kind === 232 /* ClassExpression */ ? \"(Anonymous class)\" : \"(Anonymous function)\";\n      }\n    }\n    const name = getNameOfSymbolFromNameType(symbol, context);\n    return name !== void 0 ? name : symbolName(symbol);\n  }\n  function isDeclarationVisible(node) {\n    if (node) {\n      const links = getNodeLinks(node);\n      if (links.isVisible === void 0) {\n        links.isVisible = !!determineIfDeclarationIsVisible();\n      }\n      return links.isVisible;\n    }\n    return false;\n    function determineIfDeclarationIsVisible() {\n      switch (node.kind) {\n        case 347 /* JSDocCallbackTag */:\n        case 354 /* JSDocTypedefTag */:\n        case 348 /* JSDocEnumTag */:\n          return !!(node.parent && node.parent.parent && node.parent.parent.parent && isSourceFile(node.parent.parent.parent));\n        case 208 /* BindingElement */:\n          return isDeclarationVisible(node.parent.parent);\n        case 261 /* VariableDeclaration */:\n          if (isBindingPattern(node.name) && !node.name.elements.length) {\n            return false;\n          }\n        case 270 /* ModuleDeclaration */:\n        case 264 /* ClassDeclaration */:\n        case 265 /* StructDeclaration */:\n        case 267 /* InterfaceDeclaration */:\n        case 268 /* TypeAliasDeclaration */:\n        case 263 /* FunctionDeclaration */:\n        case 269 /* EnumDeclaration */:\n        case 274 /* ImportEqualsDeclaration */:\n        case 266 /* AnnotationDeclaration */:\n          if (isExternalModuleAugmentation(node)) {\n            return true;\n          }\n          const parent2 = getDeclarationContainer(node);\n          if (!(getCombinedModifierFlags(node) & 1 /* Export */) && !(node.kind !== 274 /* ImportEqualsDeclaration */ && parent2.kind !== 314 /* SourceFile */ && parent2.flags & 16777216 /* Ambient */)) {\n            return isGlobalSourceFile(parent2);\n          }\n          return isDeclarationVisible(parent2);\n        case 171 /* PropertyDeclaration */:\n        case 170 /* PropertySignature */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 174 /* MethodDeclaration */:\n        case 173 /* MethodSignature */:\n          if (hasEffectiveModifier(node, 8 /* Private */ | 16 /* Protected */)) {\n            return false;\n          }\n        case 176 /* Constructor */:\n        case 180 /* ConstructSignature */:\n        case 179 /* CallSignature */:\n        case 181 /* IndexSignature */:\n        case 168 /* Parameter */:\n        case 271 /* ModuleBlock */:\n        case 184 /* FunctionType */:\n        case 185 /* ConstructorType */:\n        case 187 /* TypeLiteral */:\n        case 183 /* TypeReference */:\n        case 188 /* ArrayType */:\n        case 189 /* TupleType */:\n        case 192 /* UnionType */:\n        case 193 /* IntersectionType */:\n        case 196 /* ParenthesizedType */:\n        case 202 /* NamedTupleMember */:\n          return isDeclarationVisible(node.parent);\n        case 276 /* ImportClause */:\n        case 277 /* NamespaceImport */:\n        case 279 /* ImportSpecifier */:\n          return false;\n        case 167 /* TypeParameter */:\n        case 314 /* SourceFile */:\n        case 273 /* NamespaceExportDeclaration */:\n          return true;\n        case 280 /* ExportAssignment */:\n          return false;\n        default:\n          return false;\n      }\n    }\n  }\n  function collectLinkedAliases(node, setVisibility) {\n    let exportSymbol;\n    if (node.parent && node.parent.kind === 280 /* ExportAssignment */) {\n      exportSymbol = resolveName(node, node.escapedText, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, void 0, node, false);\n    } else if (node.parent.kind === 284 /* ExportSpecifier */) {\n      exportSymbol = getTargetOfExportSpecifier(node.parent, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */);\n    }\n    let result;\n    let visited;\n    if (exportSymbol) {\n      visited = new Set2();\n      visited.add(getSymbolId(exportSymbol));\n      buildVisibleNodeList(exportSymbol.declarations);\n    }\n    return result;\n    function buildVisibleNodeList(declarations) {\n      forEach(declarations, (declaration) => {\n        const resultNode = getAnyImportSyntax(declaration) || declaration;\n        if (setVisibility) {\n          getNodeLinks(declaration).isVisible = true;\n        } else {\n          result = result || [];\n          pushIfUnique(result, resultNode);\n        }\n        if (isInternalModuleImportEqualsDeclaration(declaration)) {\n          const internalModuleReference = declaration.moduleReference;\n          const firstIdentifier = getFirstIdentifier(internalModuleReference);\n          const importSymbol = resolveName(\n            declaration,\n            firstIdentifier.escapedText,\n            111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */,\n            void 0,\n            void 0,\n            false\n          );\n          if (importSymbol && visited) {\n            if (tryAddToSet(visited, getSymbolId(importSymbol))) {\n              buildVisibleNodeList(importSymbol.declarations);\n            }\n          }\n        }\n      });\n    }\n  }\n  function pushTypeResolution(target, propertyName) {\n    const resolutionCycleStartIndex = findResolutionCycleStartIndex(target, propertyName);\n    if (resolutionCycleStartIndex >= 0) {\n      const { length: length2 } = resolutionTargets;\n      for (let i = resolutionCycleStartIndex; i < length2; i++) {\n        resolutionResults[i] = false;\n      }\n      return false;\n    }\n    resolutionTargets.push(target);\n    resolutionResults.push(true);\n    resolutionPropertyNames.push(propertyName);\n    return true;\n  }\n  function findResolutionCycleStartIndex(target, propertyName) {\n    for (let i = resolutionTargets.length - 1; i >= 0; i--) {\n      if (hasType2(resolutionTargets[i], resolutionPropertyNames[i])) {\n        return -1;\n      }\n      if (resolutionTargets[i] === target && resolutionPropertyNames[i] === propertyName) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function hasType2(target, propertyName) {\n    switch (propertyName) {\n      case 0 /* Type */:\n        return !!getSymbolLinks(target).type;\n      case 5 /* EnumTagType */:\n        return !!getNodeLinks(target).resolvedEnumType;\n      case 2 /* DeclaredType */:\n        return !!getSymbolLinks(target).declaredType;\n      case 1 /* ResolvedBaseConstructorType */:\n        return !!target.resolvedBaseConstructorType;\n      case 3 /* ResolvedReturnType */:\n        return !!target.resolvedReturnType;\n      case 4 /* ImmediateBaseConstraint */:\n        return !!target.immediateBaseConstraint;\n      case 6 /* ResolvedTypeArguments */:\n        return !!target.resolvedTypeArguments;\n      case 7 /* ResolvedBaseTypes */:\n        return !!target.baseTypesResolved;\n      case 8 /* WriteType */:\n        return !!getSymbolLinks(target).writeType;\n    }\n  }\n  function popTypeResolution() {\n    resolutionTargets.pop();\n    resolutionPropertyNames.pop();\n    return resolutionResults.pop();\n  }\n  function getDeclarationContainer(node) {\n    return findAncestor(getRootDeclaration(node), (node2) => {\n      switch (node2.kind) {\n        case 261 /* VariableDeclaration */:\n        case 262 /* VariableDeclarationList */:\n        case 279 /* ImportSpecifier */:\n        case 278 /* NamedImports */:\n        case 277 /* NamespaceImport */:\n        case 276 /* ImportClause */:\n          return false;\n        default:\n          return true;\n      }\n    }).parent;\n  }\n  function getTypeOfPrototypeProperty(prototype) {\n    const classType = getDeclaredTypeOfSymbol(getParentOfSymbol(prototype));\n    return classType.typeParameters ? createTypeReference(classType, map(classType.typeParameters, (_) => anyType)) : classType;\n  }\n  function getTypeOfPropertyOfType(type, name) {\n    const prop = getPropertyOfType(type, name);\n    return prop ? getTypeOfSymbol(prop) : void 0;\n  }\n  function getTypeOfPropertyOrIndexSignature(type, name) {\n    var _a2;\n    return getTypeOfPropertyOfType(type, name) || ((_a2 = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a2.type) || unknownType;\n  }\n  function isTypeAny(type) {\n    return type && (type.flags & 1 /* Any */) !== 0;\n  }\n  function isErrorType(type) {\n    return type === errorType || !!(type.flags & 1 /* Any */ && type.aliasSymbol);\n  }\n  function getTypeForBindingElementParent(node, checkMode) {\n    if (checkMode !== 0 /* Normal */) {\n      return getTypeForVariableLikeDeclaration(node, false, checkMode);\n    }\n    const symbol = getSymbolOfNode(node);\n    return symbol && getSymbolLinks(symbol).type || getTypeForVariableLikeDeclaration(node, false, checkMode);\n  }\n  function getRestType(source, properties, symbol) {\n    source = filterType(source, (t) => !(t.flags & 98304 /* Nullable */));\n    if (source.flags & 131072 /* Never */) {\n      return emptyObjectType;\n    }\n    if (source.flags & 1048576 /* Union */) {\n      return mapType(source, (t) => getRestType(t, properties, symbol));\n    }\n    let omitKeyType = getUnionType(map(properties, getLiteralTypeFromPropertyName));\n    const spreadableProperties = [];\n    const unspreadableToRestKeys = [];\n    for (const prop of getPropertiesOfType(source)) {\n      const literalTypeFromProperty = getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */);\n      if (!isTypeAssignableTo(literalTypeFromProperty, omitKeyType) && !(getDeclarationModifierFlagsFromSymbol(prop) & (8 /* Private */ | 16 /* Protected */)) && isSpreadableProperty(prop)) {\n        spreadableProperties.push(prop);\n      } else {\n        unspreadableToRestKeys.push(literalTypeFromProperty);\n      }\n    }\n    if (isGenericObjectType(source) || isGenericIndexType(omitKeyType)) {\n      if (unspreadableToRestKeys.length) {\n        omitKeyType = getUnionType([omitKeyType, ...unspreadableToRestKeys]);\n      }\n      if (omitKeyType.flags & 131072 /* Never */) {\n        return source;\n      }\n      const omitTypeAlias = getGlobalOmitSymbol();\n      if (!omitTypeAlias) {\n        return errorType;\n      }\n      return getTypeAliasInstantiation(omitTypeAlias, [source, omitKeyType]);\n    }\n    const members = createSymbolTable();\n    for (const prop of spreadableProperties) {\n      members.set(prop.escapedName, getSpreadSymbol(prop, false));\n    }\n    const result = createAnonymousType(symbol, members, emptyArray, emptyArray, getIndexInfosOfType(source));\n    result.objectFlags |= 4194304 /* ObjectRestType */;\n    return result;\n  }\n  function isGenericTypeWithUndefinedConstraint(type) {\n    return !!(type.flags & 465829888 /* Instantiable */) && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 32768 /* Undefined */);\n  }\n  function getNonUndefinedType(type) {\n    const typeOrConstraint = someType(type, isGenericTypeWithUndefinedConstraint) ? mapType(type, (t) => t.flags & 465829888 /* Instantiable */ ? getBaseConstraintOrType(t) : t) : type;\n    return getTypeWithFacts(typeOrConstraint, 524288 /* NEUndefined */);\n  }\n  function getFlowTypeOfDestructuring(node, declaredType) {\n    const reference = getSyntheticElementAccess(node);\n    return reference ? getFlowTypeOfReference(reference, declaredType) : declaredType;\n  }\n  function getSyntheticElementAccess(node) {\n    const parentAccess = getParentElementAccess(node);\n    if (parentAccess && parentAccess.flowNode) {\n      const propName = getDestructuringPropertyName(node);\n      if (propName) {\n        const literal = setTextRange(parseNodeFactory.createStringLiteral(propName), node);\n        const lhsExpr = isLeftHandSideExpression(parentAccess) ? parentAccess : parseNodeFactory.createParenthesizedExpression(parentAccess);\n        const result = setTextRange(parseNodeFactory.createElementAccessExpression(lhsExpr, literal), node);\n        setParent(literal, result);\n        setParent(result, node);\n        if (lhsExpr !== parentAccess) {\n          setParent(lhsExpr, result);\n        }\n        result.flowNode = parentAccess.flowNode;\n        return result;\n      }\n    }\n  }\n  function getParentElementAccess(node) {\n    const ancestor = node.parent.parent;\n    switch (ancestor.kind) {\n      case 208 /* BindingElement */:\n      case 305 /* PropertyAssignment */:\n        return getSyntheticElementAccess(ancestor);\n      case 209 /* ArrayLiteralExpression */:\n        return getSyntheticElementAccess(node.parent);\n      case 261 /* VariableDeclaration */:\n        return ancestor.initializer;\n      case 227 /* BinaryExpression */:\n        return ancestor.right;\n    }\n  }\n  function getDestructuringPropertyName(node) {\n    const parent2 = node.parent;\n    if (node.kind === 208 /* BindingElement */ && parent2.kind === 206 /* ObjectBindingPattern */) {\n      return getLiteralPropertyNameText(node.propertyName || node.name);\n    }\n    if (node.kind === 305 /* PropertyAssignment */ || node.kind === 306 /* ShorthandPropertyAssignment */) {\n      return getLiteralPropertyNameText(node.name);\n    }\n    return \"\" + parent2.elements.indexOf(node);\n  }\n  function getLiteralPropertyNameText(name) {\n    const type = getLiteralTypeFromPropertyName(name);\n    return type.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */) ? \"\" + type.value : void 0;\n  }\n  function getTypeForBindingElement(declaration) {\n    const checkMode = declaration.dotDotDotToken ? 64 /* RestBindingElement */ : 0 /* Normal */;\n    const parentType = getTypeForBindingElementParent(declaration.parent.parent, checkMode);\n    return parentType && getBindingElementTypeFromParentType(declaration, parentType);\n  }\n  function getBindingElementTypeFromParentType(declaration, parentType) {\n    if (isTypeAny(parentType)) {\n      return parentType;\n    }\n    const pattern = declaration.parent;\n    if (strictNullChecks && declaration.flags & 16777216 /* Ambient */ && isParameterDeclaration(declaration)) {\n      parentType = getNonNullableType3(parentType);\n    } else if (strictNullChecks && pattern.parent.initializer && !(getTypeFacts(getTypeOfInitializer(pattern.parent.initializer)) & 65536 /* EQUndefined */)) {\n      parentType = getTypeWithFacts(parentType, 524288 /* NEUndefined */);\n    }\n    let type;\n    if (pattern.kind === 206 /* ObjectBindingPattern */) {\n      if (declaration.dotDotDotToken) {\n        parentType = getReducedType(parentType);\n        if (parentType.flags & 2 /* Unknown */ || !isValidSpreadType(parentType)) {\n          error(declaration, Diagnostics.Rest_types_may_only_be_created_from_object_types);\n          return errorType;\n        }\n        const literalMembers = [];\n        for (const element of pattern.elements) {\n          if (!element.dotDotDotToken) {\n            literalMembers.push(element.propertyName || element.name);\n          }\n        }\n        type = getRestType(parentType, literalMembers, declaration.symbol);\n      } else {\n        const name = declaration.propertyName || declaration.name;\n        const indexType = getLiteralTypeFromPropertyName(name);\n        const declaredType = getIndexedAccessType(parentType, indexType, 32 /* ExpressionPosition */, name);\n        type = getFlowTypeOfDestructuring(declaration, declaredType);\n      }\n    } else {\n      const elementType = checkIteratedTypeOrElementType(65 /* Destructuring */ | (declaration.dotDotDotToken ? 0 : 128 /* PossiblyOutOfBounds */), parentType, undefinedType, pattern);\n      const index = pattern.elements.indexOf(declaration);\n      if (declaration.dotDotDotToken) {\n        type = everyType(parentType, isTupleType) ? mapType(parentType, (t) => sliceTupleType(t, index)) : createArrayType(elementType);\n      } else if (isArrayLikeType2(parentType)) {\n        const indexType = getNumberLiteralType(index);\n        const accessFlags = 32 /* ExpressionPosition */ | (hasDefaultValue(declaration) ? 16 /* NoTupleBoundsCheck */ : 0);\n        const declaredType = getIndexedAccessTypeOrUndefined(parentType, indexType, accessFlags, declaration.name) || errorType;\n        type = getFlowTypeOfDestructuring(declaration, declaredType);\n      } else {\n        type = elementType;\n      }\n    }\n    if (!declaration.initializer) {\n      return type;\n    }\n    if (getEffectiveTypeAnnotationNode(walkUpBindingElementsAndPatterns(declaration))) {\n      return strictNullChecks && !(getTypeFacts(checkDeclarationInitializer(declaration, 0 /* Normal */)) & 16777216 /* IsUndefined */) ? getNonUndefinedType(type) : type;\n    }\n    return widenTypeInferredFromInitializer(declaration, getUnionType([getNonUndefinedType(type), checkDeclarationInitializer(declaration, 0 /* Normal */)], 2 /* Subtype */));\n  }\n  function getTypeForDeclarationFromJSDocComment(declaration) {\n    const jsdocType = getJSDocType(declaration);\n    if (jsdocType) {\n      return getTypeFromTypeNode(jsdocType);\n    }\n    return void 0;\n  }\n  function isNullOrUndefined3(node) {\n    const expr = skipParentheses(node, true);\n    return expr.kind === 105 /* NullKeyword */ || expr.kind === 79 /* Identifier */ && getResolvedSymbol(expr) === undefinedSymbol;\n  }\n  function isEmptyArrayLiteral2(node) {\n    const expr = skipParentheses(node, true);\n    return expr.kind === 209 /* ArrayLiteralExpression */ && expr.elements.length === 0;\n  }\n  function addOptionality(type, isProperty = false, isOptional = true) {\n    return strictNullChecks && isOptional ? getOptionalType(type, isProperty) : type;\n  }\n  function getTypeForVariableLikeDeclaration(declaration, includeOptionality, checkMode) {\n    if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 250 /* ForInStatement */) {\n      const indexType = getIndexType(getNonNullableTypeIfNeeded(checkExpression(declaration.parent.parent.expression, checkMode)));\n      return indexType.flags & (262144 /* TypeParameter */ | 4194304 /* Index */) ? getExtractStringType(indexType) : stringType;\n    }\n    if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 251 /* ForOfStatement */) {\n      const forOfStatement = declaration.parent.parent;\n      return checkRightHandSideOfForOf(forOfStatement) || anyType;\n    }\n    if (isBindingPattern(declaration.parent)) {\n      return getTypeForBindingElement(declaration);\n    }\n    const isProperty = isPropertyDeclaration(declaration) && !hasAccessorModifier(declaration) || isPropertySignature(declaration);\n    const isOptional = includeOptionality && (isProperty && !!declaration.questionToken || isParameter(declaration) && (!!declaration.questionToken || isJSDocOptionalParameter(declaration)) || isOptionalJSDocPropertyLikeTag(declaration));\n    const declaredType = tryGetTypeFromEffectiveTypeNode(declaration);\n    if (declaredType) {\n      return addOptionality(declaredType, isProperty, isOptional);\n    }\n    if ((noImplicitAny || isInJSFile(declaration)) && isVariableDeclaration(declaration) && !isBindingPattern(declaration.name) && !(getCombinedModifierFlags(declaration) & 1 /* Export */) && !(declaration.flags & 16777216 /* Ambient */)) {\n      if (!(getCombinedNodeFlags(declaration) & 2 /* Const */) && (!declaration.initializer || isNullOrUndefined3(declaration.initializer))) {\n        return autoType;\n      }\n      if (declaration.initializer && isEmptyArrayLiteral2(declaration.initializer)) {\n        return autoArrayType;\n      }\n    }\n    if (isParameter(declaration)) {\n      const func = declaration.parent;\n      if (func.kind === 178 /* SetAccessor */ && hasBindableName(func)) {\n        const getter = getDeclarationOfKind(getSymbolOfNode(declaration.parent), 177 /* GetAccessor */);\n        if (getter) {\n          const getterSignature = getSignatureFromDeclaration(getter);\n          const thisParameter = getAccessorThisParameter(func);\n          if (thisParameter && declaration === thisParameter) {\n            Debug.assert(!thisParameter.type);\n            return getTypeOfSymbol(getterSignature.thisParameter);\n          }\n          return getReturnTypeOfSignature(getterSignature);\n        }\n      }\n      const parameterTypeOfTypeTag = getParameterTypeOfTypeTag(func, declaration);\n      if (parameterTypeOfTypeTag)\n        return parameterTypeOfTypeTag;\n      const type = declaration.symbol.escapedName === \"this\" /* This */ ? getContextualThisParameterType(func) : getContextuallyTypedParameterType(declaration);\n      if (type) {\n        return addOptionality(type, false, isOptional);\n      }\n    }\n    if (hasOnlyExpressionInitializer(declaration) && !!declaration.initializer) {\n      if (isInJSFile(declaration) && !isParameter(declaration)) {\n        const containerObjectType = getJSContainerObjectType(declaration, getSymbolOfNode(declaration), getDeclaredExpandoInitializer(declaration));\n        if (containerObjectType) {\n          return containerObjectType;\n        }\n      }\n      const type = widenTypeInferredFromInitializer(declaration, checkDeclarationInitializer(declaration, checkMode));\n      return addOptionality(type, isProperty, isOptional);\n    }\n    if (isPropertyDeclaration(declaration) && (noImplicitAny || isInJSFile(declaration))) {\n      if (!hasStaticModifier(declaration)) {\n        const constructor = findConstructorDeclaration(declaration.parent);\n        const type = constructor ? getFlowTypeInConstructor(declaration.symbol, constructor) : getEffectiveModifierFlags(declaration) & 2 /* Ambient */ ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0;\n        return type && addOptionality(type, true, isOptional);\n      } else {\n        const staticBlocks = filter(declaration.parent.members, isClassStaticBlockDeclaration);\n        const type = staticBlocks.length ? getFlowTypeInStaticBlocks(declaration.symbol, staticBlocks) : getEffectiveModifierFlags(declaration) & 2 /* Ambient */ ? getTypeOfPropertyInBaseClass(declaration.symbol) : void 0;\n        return type && addOptionality(type, true, isOptional);\n      }\n    }\n    if (isJsxAttribute(declaration)) {\n      return trueType;\n    }\n    if (isBindingPattern(declaration.name)) {\n      return getTypeFromBindingPattern(declaration.name, false, true);\n    }\n    return void 0;\n  }\n  function isConstructorDeclaredProperty(symbol) {\n    if (symbol.valueDeclaration && isBinaryExpression(symbol.valueDeclaration)) {\n      const links = getSymbolLinks(symbol);\n      if (links.isConstructorDeclaredProperty === void 0) {\n        links.isConstructorDeclaredProperty = false;\n        links.isConstructorDeclaredProperty = !!getDeclaringConstructor(symbol) && every(symbol.declarations, (declaration) => isBinaryExpression(declaration) && isPossiblyAliasedThisProperty(declaration) && (declaration.left.kind !== 212 /* ElementAccessExpression */ || isStringOrNumericLiteralLike(declaration.left.argumentExpression)) && !getAnnotatedTypeForAssignmentDeclaration(void 0, declaration, symbol, declaration));\n      }\n      return links.isConstructorDeclaredProperty;\n    }\n    return false;\n  }\n  function isAutoTypedProperty(symbol) {\n    const declaration = symbol.valueDeclaration;\n    return declaration && isPropertyDeclaration(declaration) && !getEffectiveTypeAnnotationNode(declaration) && !declaration.initializer && (noImplicitAny || isInJSFile(declaration));\n  }\n  function getDeclaringConstructor(symbol) {\n    if (!symbol.declarations) {\n      return;\n    }\n    for (const declaration of symbol.declarations) {\n      const container = getThisContainer(declaration, false);\n      if (container && (container.kind === 176 /* Constructor */ || isJSConstructor(container))) {\n        return container;\n      }\n    }\n  }\n  function getFlowTypeFromCommonJSExport(symbol) {\n    const file = getSourceFileOfNode(symbol.declarations[0]);\n    const accessName = unescapeLeadingUnderscores(symbol.escapedName);\n    const areAllModuleExports = symbol.declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && isModuleExportsAccessExpression(d.expression));\n    const reference = areAllModuleExports ? factory.createPropertyAccessExpression(factory.createPropertyAccessExpression(factory.createIdentifier(\"module\"), factory.createIdentifier(\"exports\")), accessName) : factory.createPropertyAccessExpression(factory.createIdentifier(\"exports\"), accessName);\n    if (areAllModuleExports) {\n      setParent(reference.expression.expression, reference.expression);\n    }\n    setParent(reference.expression, reference);\n    setParent(reference, file);\n    reference.flowNode = file.endFlowNode;\n    return getFlowTypeOfReference(reference, autoType, undefinedType);\n  }\n  function getFlowTypeInStaticBlocks(symbol, staticBlocks) {\n    const accessName = startsWith(symbol.escapedName, \"__#\") ? factory.createPrivateIdentifier(symbol.escapedName.split(\"@\")[1]) : unescapeLeadingUnderscores(symbol.escapedName);\n    for (const staticBlock of staticBlocks) {\n      const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName);\n      setParent(reference.expression, reference);\n      setParent(reference, staticBlock);\n      reference.flowNode = staticBlock.returnFlowNode;\n      const flowType = getFlowTypeOfProperty(reference, symbol);\n      if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) {\n        error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));\n      }\n      if (everyType(flowType, isNullableType)) {\n        continue;\n      }\n      return convertAutoToAny(flowType);\n    }\n  }\n  function getFlowTypeInConstructor(symbol, constructor) {\n    const accessName = startsWith(symbol.escapedName, \"__#\") ? factory.createPrivateIdentifier(symbol.escapedName.split(\"@\")[1]) : unescapeLeadingUnderscores(symbol.escapedName);\n    const reference = factory.createPropertyAccessExpression(factory.createThis(), accessName);\n    setParent(reference.expression, reference);\n    setParent(reference, constructor);\n    reference.flowNode = constructor.returnFlowNode;\n    const flowType = getFlowTypeOfProperty(reference, symbol);\n    if (noImplicitAny && (flowType === autoType || flowType === autoArrayType)) {\n      error(symbol.valueDeclaration, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));\n    }\n    return everyType(flowType, isNullableType) ? void 0 : convertAutoToAny(flowType);\n  }\n  function getFlowTypeOfProperty(reference, prop) {\n    const initialType = (prop == null ? void 0 : prop.valueDeclaration) && (!isAutoTypedProperty(prop) || getEffectiveModifierFlags(prop.valueDeclaration) & 2 /* Ambient */) && getTypeOfPropertyInBaseClass(prop) || undefinedType;\n    return getFlowTypeOfReference(reference, autoType, initialType);\n  }\n  function getWidenedTypeForAssignmentDeclaration(symbol, resolvedSymbol) {\n    const container = getAssignedExpandoInitializer(symbol.valueDeclaration);\n    if (container) {\n      const tag = getJSDocTypeTag(container);\n      if (tag && tag.typeExpression) {\n        return getTypeFromTypeNode(tag.typeExpression);\n      }\n      const containerObjectType = symbol.valueDeclaration && getJSContainerObjectType(symbol.valueDeclaration, symbol, container);\n      return containerObjectType || getWidenedLiteralType(checkExpressionCached(container));\n    }\n    let type;\n    let definedInConstructor = false;\n    let definedInMethod = false;\n    if (isConstructorDeclaredProperty(symbol)) {\n      type = getFlowTypeInConstructor(symbol, getDeclaringConstructor(symbol));\n    }\n    if (!type) {\n      let types;\n      if (symbol.declarations) {\n        let jsdocType;\n        for (const declaration of symbol.declarations) {\n          const expression = isBinaryExpression(declaration) || isCallExpression(declaration) ? declaration : isAccessExpression(declaration) ? isBinaryExpression(declaration.parent) ? declaration.parent : declaration : void 0;\n          if (!expression) {\n            continue;\n          }\n          const kind = isAccessExpression(expression) ? getAssignmentDeclarationPropertyAccessKind(expression) : getAssignmentDeclarationKind(expression);\n          if (kind === 4 /* ThisProperty */ || isBinaryExpression(expression) && isPossiblyAliasedThisProperty(expression, kind)) {\n            if (isDeclarationInConstructor(expression)) {\n              definedInConstructor = true;\n            } else {\n              definedInMethod = true;\n            }\n          }\n          if (!isCallExpression(expression)) {\n            jsdocType = getAnnotatedTypeForAssignmentDeclaration(jsdocType, expression, symbol, declaration);\n          }\n          if (!jsdocType) {\n            (types || (types = [])).push(isBinaryExpression(expression) || isCallExpression(expression) ? getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) : neverType);\n          }\n        }\n        type = jsdocType;\n      }\n      if (!type) {\n        if (!length(types)) {\n          return errorType;\n        }\n        let constructorTypes = definedInConstructor && symbol.declarations ? getConstructorDefinedThisAssignmentTypes(types, symbol.declarations) : void 0;\n        if (definedInMethod) {\n          const propType = getTypeOfPropertyInBaseClass(symbol);\n          if (propType) {\n            (constructorTypes || (constructorTypes = [])).push(propType);\n            definedInConstructor = true;\n          }\n        }\n        const sourceTypes = some(constructorTypes, (t) => !!(t.flags & ~98304 /* Nullable */)) ? constructorTypes : types;\n        type = getUnionType(sourceTypes);\n      }\n    }\n    const widened = getWidenedType(addOptionality(type, false, definedInMethod && !definedInConstructor));\n    if (symbol.valueDeclaration && filterType(widened, (t) => !!(t.flags & ~98304 /* Nullable */)) === neverType) {\n      reportImplicitAny(symbol.valueDeclaration, anyType);\n      return anyType;\n    }\n    return widened;\n  }\n  function getJSContainerObjectType(decl, symbol, init) {\n    var _a2, _b;\n    if (!isInJSFile(decl) || !init || !isObjectLiteralExpression(init) || init.properties.length) {\n      return void 0;\n    }\n    const exports = createSymbolTable();\n    while (isBinaryExpression(decl) || isPropertyAccessExpression(decl)) {\n      const s2 = getSymbolOfNode(decl);\n      if ((_a2 = s2 == null ? void 0 : s2.exports) == null ? void 0 : _a2.size) {\n        mergeSymbolTable(exports, s2.exports);\n      }\n      decl = isBinaryExpression(decl) ? decl.parent : decl.parent.parent;\n    }\n    const s = getSymbolOfNode(decl);\n    if ((_b = s == null ? void 0 : s.exports) == null ? void 0 : _b.size) {\n      mergeSymbolTable(exports, s.exports);\n    }\n    const type = createAnonymousType(symbol, exports, emptyArray, emptyArray, emptyArray);\n    type.objectFlags |= 4096 /* JSLiteral */;\n    return type;\n  }\n  function getAnnotatedTypeForAssignmentDeclaration(declaredType, expression, symbol, declaration) {\n    var _a2;\n    const typeNode = getEffectiveTypeAnnotationNode(expression.parent);\n    if (typeNode) {\n      const type = getWidenedType(getTypeFromTypeNode(typeNode));\n      if (!declaredType) {\n        return type;\n      } else if (!isErrorType(declaredType) && !isErrorType(type) && !isTypeIdenticalTo(declaredType, type)) {\n        errorNextVariableOrPropertyDeclarationMustHaveSameType(void 0, declaredType, declaration, type);\n      }\n    }\n    if ((_a2 = symbol.parent) == null ? void 0 : _a2.valueDeclaration) {\n      const typeNode2 = getEffectiveTypeAnnotationNode(symbol.parent.valueDeclaration);\n      if (typeNode2) {\n        const annotationSymbol = getPropertyOfType(getTypeFromTypeNode(typeNode2), symbol.escapedName);\n        if (annotationSymbol) {\n          return getNonMissingTypeOfSymbol(annotationSymbol);\n        }\n      }\n    }\n    return declaredType;\n  }\n  function getInitializerTypeFromAssignmentDeclaration(symbol, resolvedSymbol, expression, kind) {\n    if (isCallExpression(expression)) {\n      if (resolvedSymbol) {\n        return getTypeOfSymbol(resolvedSymbol);\n      }\n      const objectLitType = checkExpressionCached(expression.arguments[2]);\n      const valueType = getTypeOfPropertyOfType(objectLitType, \"value\");\n      if (valueType) {\n        return valueType;\n      }\n      const getFunc = getTypeOfPropertyOfType(objectLitType, \"get\");\n      if (getFunc) {\n        const getSig = getSingleCallSignature(getFunc);\n        if (getSig) {\n          return getReturnTypeOfSignature(getSig);\n        }\n      }\n      const setFunc = getTypeOfPropertyOfType(objectLitType, \"set\");\n      if (setFunc) {\n        const setSig = getSingleCallSignature(setFunc);\n        if (setSig) {\n          return getTypeOfFirstParameterOfSignature(setSig);\n        }\n      }\n      return anyType;\n    }\n    if (containsSameNamedThisProperty(expression.left, expression.right)) {\n      return anyType;\n    }\n    const isDirectExport = kind === 1 /* ExportsProperty */ && (isPropertyAccessExpression(expression.left) || isElementAccessExpression(expression.left)) && (isModuleExportsAccessExpression(expression.left.expression) || isIdentifier(expression.left.expression) && isExportsIdentifier(expression.left.expression));\n    const type = resolvedSymbol ? getTypeOfSymbol(resolvedSymbol) : isDirectExport ? getRegularTypeOfLiteralType(checkExpressionCached(expression.right)) : getWidenedLiteralType(checkExpressionCached(expression.right));\n    if (type.flags & 524288 /* Object */ && kind === 2 /* ModuleExports */ && symbol.escapedName === \"export=\" /* ExportEquals */) {\n      const exportedType = resolveStructuredTypeMembers(type);\n      const members = createSymbolTable();\n      copyEntries(exportedType.members, members);\n      const initialSize = members.size;\n      if (resolvedSymbol && !resolvedSymbol.exports) {\n        resolvedSymbol.exports = createSymbolTable();\n      }\n      (resolvedSymbol || symbol).exports.forEach((s, name) => {\n        var _a2;\n        const exportedMember = members.get(name);\n        if (exportedMember && exportedMember !== s && !(s.flags & 2097152 /* Alias */)) {\n          if (s.flags & 111551 /* Value */ && exportedMember.flags & 111551 /* Value */) {\n            if (s.valueDeclaration && exportedMember.valueDeclaration && getSourceFileOfNode(s.valueDeclaration) !== getSourceFileOfNode(exportedMember.valueDeclaration)) {\n              const unescapedName = unescapeLeadingUnderscores(s.escapedName);\n              const exportedMemberName = ((_a2 = tryCast(exportedMember.valueDeclaration, isNamedDeclaration)) == null ? void 0 : _a2.name) || exportedMember.valueDeclaration;\n              addRelatedInfo(\n                error(s.valueDeclaration, Diagnostics.Duplicate_identifier_0, unescapedName),\n                createDiagnosticForNode(exportedMemberName, Diagnostics._0_was_also_declared_here, unescapedName)\n              );\n              addRelatedInfo(\n                error(exportedMemberName, Diagnostics.Duplicate_identifier_0, unescapedName),\n                createDiagnosticForNode(s.valueDeclaration, Diagnostics._0_was_also_declared_here, unescapedName)\n              );\n            }\n            const union = createSymbol(s.flags | exportedMember.flags, name);\n            union.type = getUnionType([getTypeOfSymbol(s), getTypeOfSymbol(exportedMember)]);\n            union.valueDeclaration = exportedMember.valueDeclaration;\n            union.declarations = concatenate(exportedMember.declarations, s.declarations);\n            members.set(name, union);\n          } else {\n            members.set(name, mergeSymbol(s, exportedMember));\n          }\n        } else {\n          members.set(name, s);\n        }\n      });\n      const result = createAnonymousType(\n        initialSize !== members.size ? void 0 : exportedType.symbol,\n        members,\n        exportedType.callSignatures,\n        exportedType.constructSignatures,\n        exportedType.indexInfos\n      );\n      if (initialSize === members.size) {\n        if (type.aliasSymbol) {\n          result.aliasSymbol = type.aliasSymbol;\n          result.aliasTypeArguments = type.aliasTypeArguments;\n        }\n        if (getObjectFlags(type) & 4 /* Reference */) {\n          result.aliasSymbol = type.symbol;\n          const args = getTypeArguments(type);\n          result.aliasTypeArguments = length(args) ? args : void 0;\n        }\n      }\n      result.objectFlags |= getObjectFlags(type) & 4096 /* JSLiteral */;\n      if (result.symbol && result.symbol.flags & 32 /* Class */ && type === getDeclaredTypeOfClassOrInterface(result.symbol)) {\n        result.objectFlags |= 16777216 /* IsClassInstanceClone */;\n      }\n      return result;\n    }\n    if (isEmptyArrayLiteralType(type)) {\n      reportImplicitAny(expression, anyArrayType);\n      return anyArrayType;\n    }\n    return type;\n  }\n  function containsSameNamedThisProperty(thisProperty, expression) {\n    return isPropertyAccessExpression(thisProperty) && thisProperty.expression.kind === 109 /* ThisKeyword */ && forEachChildRecursively(expression, (n) => isMatchingReference(thisProperty, n));\n  }\n  function isDeclarationInConstructor(expression) {\n    const thisContainer = getThisContainer(expression, false);\n    return thisContainer.kind === 176 /* Constructor */ || thisContainer.kind === 263 /* FunctionDeclaration */ || thisContainer.kind === 218 /* FunctionExpression */ && !isPrototypePropertyAssignment(thisContainer.parent);\n  }\n  function getConstructorDefinedThisAssignmentTypes(types, declarations) {\n    Debug.assert(types.length === declarations.length);\n    return types.filter((_, i) => {\n      const declaration = declarations[i];\n      const expression = isBinaryExpression(declaration) ? declaration : isBinaryExpression(declaration.parent) ? declaration.parent : void 0;\n      return expression && isDeclarationInConstructor(expression);\n    });\n  }\n  function getTypeFromBindingElement(element, includePatternInType, reportErrors2) {\n    if (element.initializer) {\n      const contextualType = isBindingPattern(element.name) ? getTypeFromBindingPattern(element.name, true, false) : unknownType;\n      return addOptionality(widenTypeInferredFromInitializer(element, checkDeclarationInitializer(element, 0 /* Normal */, contextualType)));\n    }\n    if (isBindingPattern(element.name)) {\n      return getTypeFromBindingPattern(element.name, includePatternInType, reportErrors2);\n    }\n    if (reportErrors2 && !declarationBelongsToPrivateAmbientMember(element)) {\n      reportImplicitAny(element, anyType);\n    }\n    return includePatternInType ? nonInferrableAnyType : anyType;\n  }\n  function getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) {\n    const members = createSymbolTable();\n    let stringIndexInfo;\n    let objectFlags = 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */;\n    forEach(pattern.elements, (e) => {\n      const name = e.propertyName || e.name;\n      if (e.dotDotDotToken) {\n        stringIndexInfo = createIndexInfo(stringType, anyType, false);\n        return;\n      }\n      const exprType = getLiteralTypeFromPropertyName(name);\n      if (!isTypeUsableAsPropertyName(exprType)) {\n        objectFlags |= 512 /* ObjectLiteralPatternWithComputedProperties */;\n        return;\n      }\n      const text = getPropertyNameFromType(exprType);\n      const flags = 4 /* Property */ | (e.initializer ? 16777216 /* Optional */ : 0);\n      const symbol = createSymbol(flags, text);\n      symbol.type = getTypeFromBindingElement(e, includePatternInType, reportErrors2);\n      symbol.bindingElement = e;\n      members.set(symbol.escapedName, symbol);\n    });\n    const result = createAnonymousType(void 0, members, emptyArray, emptyArray, stringIndexInfo ? [stringIndexInfo] : emptyArray);\n    result.objectFlags |= objectFlags;\n    if (includePatternInType) {\n      result.pattern = pattern;\n      result.objectFlags |= 131072 /* ContainsObjectOrArrayLiteral */;\n    }\n    return result;\n  }\n  function getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2) {\n    const elements = pattern.elements;\n    const lastElement = lastOrUndefined(elements);\n    const restElement = lastElement && lastElement.kind === 208 /* BindingElement */ && lastElement.dotDotDotToken ? lastElement : void 0;\n    if (elements.length === 0 || elements.length === 1 && restElement) {\n      return languageVersion >= 2 /* ES2015 */ ? createIterableType(anyType) : anyArrayType;\n    }\n    const elementTypes = map(elements, (e) => isOmittedExpression(e) ? anyType : getTypeFromBindingElement(e, includePatternInType, reportErrors2));\n    const minLength = findLastIndex(elements, (e) => !(e === restElement || isOmittedExpression(e) || hasDefaultValue(e)), elements.length - 1) + 1;\n    const elementFlags = map(elements, (e, i) => e === restElement ? 4 /* Rest */ : i >= minLength ? 2 /* Optional */ : 1 /* Required */);\n    let result = createTupleType(elementTypes, elementFlags);\n    if (includePatternInType) {\n      result = cloneTypeReference(result);\n      result.pattern = pattern;\n      result.objectFlags |= 131072 /* ContainsObjectOrArrayLiteral */;\n    }\n    return result;\n  }\n  function getTypeFromBindingPattern(pattern, includePatternInType = false, reportErrors2 = false) {\n    return pattern.kind === 206 /* ObjectBindingPattern */ ? getTypeFromObjectBindingPattern(pattern, includePatternInType, reportErrors2) : getTypeFromArrayBindingPattern(pattern, includePatternInType, reportErrors2);\n  }\n  function getWidenedTypeForVariableLikeDeclaration(declaration, reportErrors2) {\n    return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(declaration, true, 0 /* Normal */), declaration, reportErrors2);\n  }\n  function isGlobalSymbolConstructor(node) {\n    const symbol = getSymbolOfNode(node);\n    const globalSymbol = getGlobalESSymbolConstructorTypeSymbol(false);\n    return globalSymbol && symbol && symbol === globalSymbol;\n  }\n  function widenTypeForVariableLikeDeclaration(type, declaration, reportErrors2) {\n    if (type) {\n      if (type.flags & 4096 /* ESSymbol */ && isGlobalSymbolConstructor(declaration.parent)) {\n        type = getESSymbolLikeTypeForNode(declaration);\n      }\n      if (reportErrors2) {\n        reportErrorsFromWidening(declaration, type);\n      }\n      if (type.flags & 8192 /* UniqueESSymbol */ && (isBindingElement(declaration) || !declaration.type) && type.symbol !== getSymbolOfNode(declaration)) {\n        type = esSymbolType;\n      }\n      return getWidenedType(type);\n    }\n    type = isParameter(declaration) && declaration.dotDotDotToken ? anyArrayType : anyType;\n    if (reportErrors2) {\n      if (!declarationBelongsToPrivateAmbientMember(declaration)) {\n        reportImplicitAny(declaration, type);\n      }\n    }\n    return type;\n  }\n  function declarationBelongsToPrivateAmbientMember(declaration) {\n    const root = getRootDeclaration(declaration);\n    const memberDeclaration = root.kind === 168 /* Parameter */ ? root.parent : root;\n    return isPrivateWithinAmbient(memberDeclaration);\n  }\n  function tryGetTypeFromEffectiveTypeNode(node) {\n    const typeNode = getEffectiveTypeAnnotationNode(node);\n    if (typeNode) {\n      return getTypeFromTypeNode(typeNode);\n    }\n  }\n  function getTypeOfVariableOrParameterOrProperty(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.type) {\n      const type = getTypeOfVariableOrParameterOrPropertyWorker(symbol);\n      if (!links.type) {\n        links.type = type;\n      }\n    }\n    return links.type;\n  }\n  function getTypeOfVariableOrParameterOrPropertyWorker(symbol) {\n    if (symbol.flags & 4194304 /* Prototype */) {\n      return getTypeOfPrototypeProperty(symbol);\n    }\n    if (symbol === requireSymbol) {\n      return anyType;\n    }\n    if (symbol.flags & 134217728 /* ModuleExports */ && symbol.valueDeclaration) {\n      const fileSymbol = getSymbolOfNode(getSourceFileOfNode(symbol.valueDeclaration));\n      const result = createSymbol(fileSymbol.flags, \"exports\");\n      result.declarations = fileSymbol.declarations ? fileSymbol.declarations.slice() : [];\n      result.parent = symbol;\n      result.target = fileSymbol;\n      if (fileSymbol.valueDeclaration)\n        result.valueDeclaration = fileSymbol.valueDeclaration;\n      if (fileSymbol.members)\n        result.members = new Map2(fileSymbol.members);\n      if (fileSymbol.exports)\n        result.exports = new Map2(fileSymbol.exports);\n      const members = createSymbolTable();\n      members.set(\"exports\", result);\n      return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray);\n    }\n    Debug.assertIsDefined(symbol.valueDeclaration);\n    const declaration = symbol.valueDeclaration;\n    if (isCatchClauseVariableDeclarationOrBindingElement(declaration)) {\n      const typeNode = getEffectiveTypeAnnotationNode(declaration);\n      if (typeNode === void 0) {\n        return useUnknownInCatchVariables ? unknownType : anyType;\n      }\n      const type2 = getTypeOfNode(typeNode);\n      return isTypeAny(type2) || type2 === unknownType ? type2 : errorType;\n    }\n    if (isSourceFile(declaration) && isJsonSourceFile(declaration)) {\n      if (!declaration.statements.length) {\n        return emptyObjectType;\n      }\n      return getWidenedType(getWidenedLiteralType(checkExpression(declaration.statements[0].expression)));\n    }\n    if (isAccessor(declaration)) {\n      return getTypeOfAccessors(symbol);\n    }\n    if (!pushTypeResolution(symbol, 0 /* Type */)) {\n      if (symbol.flags & 512 /* ValueModule */ && !(symbol.flags & 67108864 /* Assignment */)) {\n        return getTypeOfFuncClassEnumModule(symbol);\n      }\n      return reportCircularityError(symbol);\n    }\n    let type;\n    if (declaration.kind === 280 /* ExportAssignment */) {\n      type = widenTypeForVariableLikeDeclaration(tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionCached(declaration.expression), declaration);\n    } else if (isBinaryExpression(declaration) || isInJSFile(declaration) && (isCallExpression(declaration) || (isPropertyAccessExpression(declaration) || isBindableStaticElementAccessExpression(declaration)) && isBinaryExpression(declaration.parent))) {\n      type = getWidenedTypeForAssignmentDeclaration(symbol);\n    } else if (isPropertyAccessExpression(declaration) || isElementAccessExpression(declaration) || isIdentifier(declaration) || isStringLiteralLike(declaration) || isNumericLiteral(declaration) || isClassDeclaration(declaration) || isFunctionDeclaration(declaration) || isMethodDeclaration(declaration) && !isObjectLiteralMethod(declaration) || isMethodSignature(declaration) || isSourceFile(declaration)) {\n      if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 384 /* Enum */ | 512 /* ValueModule */)) {\n        return getTypeOfFuncClassEnumModule(symbol);\n      }\n      type = isBinaryExpression(declaration.parent) ? getWidenedTypeForAssignmentDeclaration(symbol) : tryGetTypeFromEffectiveTypeNode(declaration) || anyType;\n    } else if (isPropertyAssignment(declaration)) {\n      type = tryGetTypeFromEffectiveTypeNode(declaration) || checkPropertyAssignment(declaration);\n    } else if (isJsxAttribute(declaration)) {\n      type = tryGetTypeFromEffectiveTypeNode(declaration) || checkJsxAttribute(declaration);\n    } else if (isShorthandPropertyAssignment(declaration)) {\n      type = tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionForMutableLocation(declaration.name, 0 /* Normal */);\n    } else if (isObjectLiteralMethod(declaration)) {\n      type = tryGetTypeFromEffectiveTypeNode(declaration) || checkObjectLiteralMethod(declaration, 0 /* Normal */);\n    } else if (isParameter(declaration) || isPropertyDeclaration(declaration) || isPropertySignature(declaration) || isAnnotationPropertyDeclaration(declaration) || isVariableDeclaration(declaration) || isBindingElement(declaration) || isJSDocPropertyLikeTag(declaration)) {\n      type = getWidenedTypeForVariableLikeDeclaration(declaration, true);\n    } else if (isEnumDeclaration(declaration)) {\n      type = getTypeOfFuncClassEnumModule(symbol);\n    } else if (isEnumMember(declaration)) {\n      type = getTypeOfEnumMember(symbol);\n    } else {\n      return Debug.fail(\"Unhandled declaration kind! \" + Debug.formatSyntaxKind(declaration.kind) + \" for \" + Debug.formatSymbol(symbol));\n    }\n    if (!popTypeResolution()) {\n      if (symbol.flags & 512 /* ValueModule */ && !(symbol.flags & 67108864 /* Assignment */)) {\n        return getTypeOfFuncClassEnumModule(symbol);\n      }\n      return reportCircularityError(symbol);\n    }\n    return type;\n  }\n  function getAnnotatedAccessorTypeNode(accessor) {\n    if (accessor) {\n      switch (accessor.kind) {\n        case 177 /* GetAccessor */:\n          const getterTypeAnnotation = getEffectiveReturnTypeNode(accessor);\n          return getterTypeAnnotation;\n        case 178 /* SetAccessor */:\n          const setterTypeAnnotation = getEffectiveSetAccessorTypeAnnotationNode(accessor);\n          return setterTypeAnnotation;\n        case 171 /* PropertyDeclaration */:\n          Debug.assert(hasAccessorModifier(accessor));\n          const accessorTypeAnnotation = getEffectiveTypeAnnotationNode(accessor);\n          return accessorTypeAnnotation;\n      }\n    }\n    return void 0;\n  }\n  function getAnnotatedAccessorType(accessor) {\n    const node = getAnnotatedAccessorTypeNode(accessor);\n    return node && getTypeFromTypeNode(node);\n  }\n  function getAnnotatedAccessorThisParameter(accessor) {\n    const parameter = getAccessorThisParameter(accessor);\n    return parameter && parameter.symbol;\n  }\n  function getThisTypeOfDeclaration(declaration) {\n    return getThisTypeOfSignature(getSignatureFromDeclaration(declaration));\n  }\n  function getTypeOfAccessors(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.type) {\n      if (!pushTypeResolution(symbol, 0 /* Type */)) {\n        return errorType;\n      }\n      const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */);\n      const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */);\n      const accessor = tryCast(getDeclarationOfKind(symbol, 171 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration);\n      let type = getter && isInJSFile(getter) && getTypeForDeclarationFromJSDocComment(getter) || getAnnotatedAccessorType(getter) || getAnnotatedAccessorType(setter) || getAnnotatedAccessorType(accessor) || getter && getter.body && getReturnTypeFromBody(getter) || accessor && accessor.initializer && getWidenedTypeForVariableLikeDeclaration(accessor, true);\n      if (!type) {\n        if (setter && !isPrivateWithinAmbient(setter)) {\n          errorOrSuggestion(noImplicitAny, setter, Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation, symbolToString(symbol));\n        } else if (getter && !isPrivateWithinAmbient(getter)) {\n          errorOrSuggestion(noImplicitAny, getter, Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation, symbolToString(symbol));\n        } else if (accessor && !isPrivateWithinAmbient(accessor)) {\n          errorOrSuggestion(noImplicitAny, accessor, Diagnostics.Member_0_implicitly_has_an_1_type, symbolToString(symbol), \"any\");\n        }\n        type = anyType;\n      }\n      if (!popTypeResolution()) {\n        if (getAnnotatedAccessorTypeNode(getter)) {\n          error(getter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n        } else if (getAnnotatedAccessorTypeNode(setter)) {\n          error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n        } else if (getAnnotatedAccessorTypeNode(accessor)) {\n          error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n        } else if (getter && noImplicitAny) {\n          error(getter, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, symbolToString(symbol));\n        }\n        type = anyType;\n      }\n      links.type = type;\n    }\n    return links.type;\n  }\n  function getWriteTypeOfAccessors(symbol) {\n    var _a2;\n    const links = getSymbolLinks(symbol);\n    if (!links.writeType) {\n      if (!pushTypeResolution(symbol, 8 /* WriteType */)) {\n        return errorType;\n      }\n      const setter = (_a2 = getDeclarationOfKind(symbol, 178 /* SetAccessor */)) != null ? _a2 : tryCast(getDeclarationOfKind(symbol, 171 /* PropertyDeclaration */), isAutoAccessorPropertyDeclaration);\n      let writeType = getAnnotatedAccessorType(setter);\n      if (!popTypeResolution()) {\n        if (getAnnotatedAccessorTypeNode(setter)) {\n          error(setter, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation, symbolToString(symbol));\n        }\n        writeType = anyType;\n      }\n      links.writeType = writeType || getTypeOfAccessors(symbol);\n    }\n    return links.writeType;\n  }\n  function getBaseTypeVariableOfClass(symbol) {\n    const baseConstructorType = getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(symbol));\n    return baseConstructorType.flags & 8650752 /* TypeVariable */ ? baseConstructorType : baseConstructorType.flags & 2097152 /* Intersection */ ? find(baseConstructorType.types, (t) => !!(t.flags & 8650752 /* TypeVariable */)) : void 0;\n  }\n  function getTypeOfFuncClassEnumModule(symbol) {\n    let links = getSymbolLinks(symbol);\n    const originalLinks = links;\n    if (!links.type) {\n      const expando = symbol.valueDeclaration && getSymbolOfExpando(symbol.valueDeclaration, false);\n      if (expando) {\n        const merged = mergeJSSymbols(symbol, expando);\n        if (merged) {\n          symbol = links = merged;\n        }\n      }\n      originalLinks.type = links.type = getTypeOfFuncClassEnumModuleWorker(symbol);\n    }\n    return links.type;\n  }\n  function getTypeOfFuncClassEnumModuleWorker(symbol) {\n    const declaration = symbol.valueDeclaration;\n    if (symbol.flags & 1536 /* Module */ && isShorthandAmbientModuleSymbol(symbol)) {\n      return anyType;\n    } else if (declaration && (declaration.kind === 227 /* BinaryExpression */ || isAccessExpression(declaration) && declaration.parent.kind === 227 /* BinaryExpression */)) {\n      return getWidenedTypeForAssignmentDeclaration(symbol);\n    } else if (symbol.flags & 512 /* ValueModule */ && declaration && isSourceFile(declaration) && declaration.commonJsModuleIndicator) {\n      const resolvedModule = resolveExternalModuleSymbol(symbol);\n      if (resolvedModule !== symbol) {\n        if (!pushTypeResolution(symbol, 0 /* Type */)) {\n          return errorType;\n        }\n        const exportEquals = getMergedSymbol(symbol.exports.get(\"export=\" /* ExportEquals */));\n        const type2 = getWidenedTypeForAssignmentDeclaration(exportEquals, exportEquals === resolvedModule ? void 0 : resolvedModule);\n        if (!popTypeResolution()) {\n          return reportCircularityError(symbol);\n        }\n        return type2;\n      }\n    }\n    const type = createObjectType(16 /* Anonymous */, symbol);\n    if (symbol.flags & 32 /* Class */) {\n      const baseTypeVariable = getBaseTypeVariableOfClass(symbol);\n      return baseTypeVariable ? getIntersectionType([type, baseTypeVariable]) : type;\n    } else {\n      return strictNullChecks && symbol.flags & 16777216 /* Optional */ ? getOptionalType(type) : type;\n    }\n  }\n  function getTypeOfEnumMember(symbol) {\n    const links = getSymbolLinks(symbol);\n    return links.type || (links.type = getDeclaredTypeOfEnumMember(symbol));\n  }\n  function getTypeOfAlias(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.type) {\n      const targetSymbol = resolveAlias(symbol);\n      const exportSymbol = symbol.declarations && getTargetOfAliasDeclaration(getDeclarationOfAliasSymbol(symbol), true);\n      const declaredType = firstDefined(exportSymbol == null ? void 0 : exportSymbol.declarations, (d) => isExportAssignment(d) ? tryGetTypeFromEffectiveTypeNode(d) : void 0);\n      links.type = (exportSymbol == null ? void 0 : exportSymbol.declarations) && isDuplicatedCommonJSExport(exportSymbol.declarations) && symbol.declarations.length ? getFlowTypeFromCommonJSExport(exportSymbol) : isDuplicatedCommonJSExport(symbol.declarations) ? autoType : declaredType ? declaredType : getAllSymbolFlags(targetSymbol) & 111551 /* Value */ ? getTypeOfSymbol(targetSymbol) : errorType;\n    }\n    return links.type;\n  }\n  function getTypeOfInstantiatedSymbol(symbol) {\n    const links = getSymbolLinks(symbol);\n    return links.type || (links.type = instantiateType(getTypeOfSymbol(links.target), links.mapper));\n  }\n  function getWriteTypeOfInstantiatedSymbol(symbol) {\n    const links = getSymbolLinks(symbol);\n    return links.writeType || (links.writeType = instantiateType(getWriteTypeOfSymbol(links.target), links.mapper));\n  }\n  function reportCircularityError(symbol) {\n    const declaration = symbol.valueDeclaration;\n    if (getEffectiveTypeAnnotationNode(declaration)) {\n      error(\n        symbol.valueDeclaration,\n        Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,\n        symbolToString(symbol)\n      );\n      return errorType;\n    }\n    if (noImplicitAny && (declaration.kind !== 168 /* Parameter */ || declaration.initializer)) {\n      error(\n        symbol.valueDeclaration,\n        Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,\n        symbolToString(symbol)\n      );\n    }\n    return anyType;\n  }\n  function getTypeOfSymbolWithDeferredType(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.type) {\n      Debug.assertIsDefined(links.deferralParent);\n      Debug.assertIsDefined(links.deferralConstituents);\n      links.type = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralConstituents) : getIntersectionType(links.deferralConstituents);\n    }\n    return links.type;\n  }\n  function getWriteTypeOfSymbolWithDeferredType(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.writeType && links.deferralWriteConstituents) {\n      Debug.assertIsDefined(links.deferralParent);\n      Debug.assertIsDefined(links.deferralConstituents);\n      links.writeType = links.deferralParent.flags & 1048576 /* Union */ ? getUnionType(links.deferralWriteConstituents) : getIntersectionType(links.deferralWriteConstituents);\n    }\n    return links.writeType;\n  }\n  function getWriteTypeOfSymbol(symbol) {\n    const checkFlags = getCheckFlags(symbol);\n    if (symbol.flags & 4 /* Property */) {\n      return checkFlags & 2 /* SyntheticProperty */ ? checkFlags & 65536 /* DeferredType */ ? getWriteTypeOfSymbolWithDeferredType(symbol) || getTypeOfSymbolWithDeferredType(symbol) : symbol.writeType || symbol.type : getTypeOfSymbol(symbol);\n    }\n    if (symbol.flags & 98304 /* Accessor */) {\n      return checkFlags & 1 /* Instantiated */ ? getWriteTypeOfInstantiatedSymbol(symbol) : getWriteTypeOfAccessors(symbol);\n    }\n    return getTypeOfSymbol(symbol);\n  }\n  function getTypeOfSymbol(symbol) {\n    const checkFlags = getCheckFlags(symbol);\n    if (checkFlags & 65536 /* DeferredType */) {\n      return getTypeOfSymbolWithDeferredType(symbol);\n    }\n    if (checkFlags & 1 /* Instantiated */) {\n      return getTypeOfInstantiatedSymbol(symbol);\n    }\n    if (checkFlags & 262144 /* Mapped */) {\n      return getTypeOfMappedSymbol(symbol);\n    }\n    if (checkFlags & 8192 /* ReverseMapped */) {\n      return getTypeOfReverseMappedSymbol(symbol);\n    }\n    if (symbol.flags & (3 /* Variable */ | 4 /* Property */)) {\n      return getTypeOfVariableOrParameterOrProperty(symbol);\n    }\n    if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 384 /* Enum */ | 512 /* ValueModule */)) {\n      return getTypeOfFuncClassEnumModule(symbol);\n    }\n    if (symbol.flags & 8 /* EnumMember */) {\n      return getTypeOfEnumMember(symbol);\n    }\n    if (symbol.flags & 98304 /* Accessor */) {\n      return getTypeOfAccessors(symbol);\n    }\n    if (symbol.flags & 2097152 /* Alias */) {\n      return getTypeOfAlias(symbol);\n    }\n    return errorType;\n  }\n  function getNonMissingTypeOfSymbol(symbol) {\n    return removeMissingType(getTypeOfSymbol(symbol), !!(symbol.flags & 16777216 /* Optional */));\n  }\n  function isReferenceToType2(type, target) {\n    return type !== void 0 && target !== void 0 && (getObjectFlags(type) & 4 /* Reference */) !== 0 && type.target === target;\n  }\n  function getTargetType3(type) {\n    return getObjectFlags(type) & 4 /* Reference */ ? type.target : type;\n  }\n  function hasBaseType(type, checkBase) {\n    return check(type);\n    function check(type2) {\n      if (getObjectFlags(type2) & (3 /* ClassOrInterface */ | 4 /* Reference */)) {\n        const target = getTargetType3(type2);\n        return target === checkBase || some(getBaseTypes(target), check);\n      } else if (type2.flags & 2097152 /* Intersection */) {\n        return some(type2.types, check);\n      }\n      return false;\n    }\n  }\n  function appendTypeParameters(typeParameters, declarations) {\n    for (const declaration of declarations) {\n      typeParameters = appendIfUnique(typeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfNode(declaration)));\n    }\n    return typeParameters;\n  }\n  function getOuterTypeParameters(node, includeThisTypes) {\n    while (true) {\n      node = node.parent;\n      if (node && isBinaryExpression(node)) {\n        const assignmentKind = getAssignmentDeclarationKind(node);\n        if (assignmentKind === 6 /* Prototype */ || assignmentKind === 3 /* PrototypeProperty */) {\n          const symbol = getSymbolOfNode(node.left);\n          if (symbol && symbol.parent && !findAncestor(symbol.parent.valueDeclaration, (d) => node === d)) {\n            node = symbol.parent.valueDeclaration;\n          }\n        }\n      }\n      if (!node) {\n        return void 0;\n      }\n      switch (node.kind) {\n        case 264 /* ClassDeclaration */:\n        case 232 /* ClassExpression */:\n        case 267 /* InterfaceDeclaration */:\n        case 179 /* CallSignature */:\n        case 180 /* ConstructSignature */:\n        case 173 /* MethodSignature */:\n        case 184 /* FunctionType */:\n        case 185 /* ConstructorType */:\n        case 326 /* JSDocFunctionType */:\n        case 263 /* FunctionDeclaration */:\n        case 174 /* MethodDeclaration */:\n        case 218 /* FunctionExpression */:\n        case 219 /* ArrowFunction */:\n        case 268 /* TypeAliasDeclaration */:\n        case 353 /* JSDocTemplateTag */:\n        case 354 /* JSDocTypedefTag */:\n        case 348 /* JSDocEnumTag */:\n        case 347 /* JSDocCallbackTag */:\n        case 200 /* MappedType */:\n        case 194 /* ConditionalType */: {\n          const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes);\n          if (node.kind === 200 /* MappedType */) {\n            return append(outerTypeParameters, getDeclaredTypeOfTypeParameter(getSymbolOfNode(node.typeParameter)));\n          } else if (node.kind === 194 /* ConditionalType */) {\n            return concatenate(outerTypeParameters, getInferTypeParameters(node));\n          }\n          const outerAndOwnTypeParameters = appendTypeParameters(outerTypeParameters, getEffectiveTypeParameterDeclarations(node));\n          const thisType = includeThisTypes && (node.kind === 264 /* ClassDeclaration */ || node.kind === 232 /* ClassExpression */ || node.kind === 267 /* InterfaceDeclaration */ || isJSConstructor(node)) && getDeclaredTypeOfClassOrInterface(getSymbolOfNode(node)).thisType;\n          return thisType ? append(outerAndOwnTypeParameters, thisType) : outerAndOwnTypeParameters;\n        }\n        case 349 /* JSDocParameterTag */:\n          const paramSymbol = getParameterSymbolFromJSDoc(node);\n          if (paramSymbol) {\n            node = paramSymbol.valueDeclaration;\n          }\n          break;\n        case 329 /* JSDoc */: {\n          const outerTypeParameters = getOuterTypeParameters(node, includeThisTypes);\n          return node.tags ? appendTypeParameters(outerTypeParameters, flatMap(node.tags, (t) => isJSDocTemplateTag(t) ? t.typeParameters : void 0)) : outerTypeParameters;\n        }\n      }\n    }\n  }\n  function getOuterTypeParametersOfClassOrInterface(symbol) {\n    const declaration = symbol.flags & 32 /* Class */ ? symbol.valueDeclaration : getDeclarationOfKind(symbol, 267 /* InterfaceDeclaration */);\n    Debug.assert(!!declaration, \"Class was missing valueDeclaration -OR- non-class had no interface declarations\");\n    return getOuterTypeParameters(declaration);\n  }\n  function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) {\n    if (!symbol.declarations) {\n      return;\n    }\n    let result;\n    for (const node of symbol.declarations) {\n      if (node.kind === 267 /* InterfaceDeclaration */ || node.kind === 264 /* ClassDeclaration */ || node.kind === 232 /* ClassExpression */ || isJSConstructor(node) || isTypeAlias(node)) {\n        const declaration = node;\n        result = appendTypeParameters(result, getEffectiveTypeParameterDeclarations(declaration));\n      }\n    }\n    return result;\n  }\n  function getTypeParametersOfClassOrInterface(symbol) {\n    return concatenate(getOuterTypeParametersOfClassOrInterface(symbol), getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol));\n  }\n  function isMixinConstructorType(type) {\n    const signatures = getSignaturesOfType(type, 1 /* Construct */);\n    if (signatures.length === 1) {\n      const s = signatures[0];\n      if (!s.typeParameters && s.parameters.length === 1 && signatureHasRestParameter(s)) {\n        const paramType = getTypeOfParameter(s.parameters[0]);\n        return isTypeAny(paramType) || getElementTypeOfArrayType(paramType) === anyType;\n      }\n    }\n    return false;\n  }\n  function isConstructorType(type) {\n    if (getSignaturesOfType(type, 1 /* Construct */).length > 0) {\n      return true;\n    }\n    if (type.flags & 8650752 /* TypeVariable */) {\n      const constraint = getBaseConstraintOfType(type);\n      return !!constraint && isMixinConstructorType(constraint);\n    }\n    return false;\n  }\n  function getBaseTypeNodeOfClass(type) {\n    const decl = getClassLikeDeclarationOfSymbol(type.symbol);\n    return decl && getEffectiveBaseTypeNode(decl);\n  }\n  function getConstructorsForTypeArguments(type, typeArgumentNodes, location) {\n    const typeArgCount = length(typeArgumentNodes);\n    const isJavascript = isInJSFile(location);\n    return filter(\n      getSignaturesOfType(type, 1 /* Construct */),\n      (sig) => (isJavascript || typeArgCount >= getMinTypeArgumentCount(sig.typeParameters)) && typeArgCount <= length(sig.typeParameters)\n    );\n  }\n  function getInstantiatedConstructorsForTypeArguments(type, typeArgumentNodes, location) {\n    const signatures = getConstructorsForTypeArguments(type, typeArgumentNodes, location);\n    const typeArguments = map(typeArgumentNodes, getTypeFromTypeNode);\n    return sameMap(signatures, (sig) => some(sig.typeParameters) ? getSignatureInstantiation(sig, typeArguments, isInJSFile(location)) : sig);\n  }\n  function getBaseConstructorTypeOfClass(type) {\n    if (!type.resolvedBaseConstructorType) {\n      const decl = getClassLikeDeclarationOfSymbol(type.symbol);\n      const extended = decl && getEffectiveBaseTypeNode(decl);\n      const baseTypeNode = getBaseTypeNodeOfClass(type);\n      if (!baseTypeNode) {\n        return type.resolvedBaseConstructorType = undefinedType;\n      }\n      if (!pushTypeResolution(type, 1 /* ResolvedBaseConstructorType */)) {\n        return errorType;\n      }\n      const baseConstructorType = checkExpression(baseTypeNode.expression);\n      if (extended && baseTypeNode !== extended) {\n        Debug.assert(!extended.typeArguments);\n        checkExpression(extended.expression);\n      }\n      if (baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */)) {\n        resolveStructuredTypeMembers(baseConstructorType);\n      }\n      if (!popTypeResolution()) {\n        error(type.symbol.valueDeclaration, Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression, symbolToString(type.symbol));\n        return type.resolvedBaseConstructorType = errorType;\n      }\n      if (!(baseConstructorType.flags & 1 /* Any */) && baseConstructorType !== nullWideningType && !isConstructorType(baseConstructorType)) {\n        const err = error(baseTypeNode.expression, Diagnostics.Type_0_is_not_a_constructor_function_type, typeToString(baseConstructorType));\n        if (baseConstructorType.flags & 262144 /* TypeParameter */) {\n          const constraint = getConstraintFromTypeParameter(baseConstructorType);\n          let ctorReturn = unknownType;\n          if (constraint) {\n            const ctorSig = getSignaturesOfType(constraint, 1 /* Construct */);\n            if (ctorSig[0]) {\n              ctorReturn = getReturnTypeOfSignature(ctorSig[0]);\n            }\n          }\n          if (baseConstructorType.symbol.declarations) {\n            addRelatedInfo(err, createDiagnosticForNode(baseConstructorType.symbol.declarations[0], Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1, symbolToString(baseConstructorType.symbol), typeToString(ctorReturn)));\n          }\n        }\n        return type.resolvedBaseConstructorType = errorType;\n      }\n      type.resolvedBaseConstructorType = baseConstructorType;\n    }\n    return type.resolvedBaseConstructorType;\n  }\n  function getImplementsTypes(type) {\n    let resolvedImplementsTypes = emptyArray;\n    if (type.symbol.declarations) {\n      for (const declaration of type.symbol.declarations) {\n        const implementsTypeNodes = getEffectiveImplementsTypeNodes(declaration);\n        if (!implementsTypeNodes)\n          continue;\n        for (const node of implementsTypeNodes) {\n          const implementsType = getTypeFromTypeNode(node);\n          if (!isErrorType(implementsType)) {\n            if (resolvedImplementsTypes === emptyArray) {\n              resolvedImplementsTypes = [implementsType];\n            } else {\n              resolvedImplementsTypes.push(implementsType);\n            }\n          }\n        }\n      }\n    }\n    return resolvedImplementsTypes;\n  }\n  function reportCircularBaseType(node, type) {\n    error(node, Diagnostics.Type_0_recursively_references_itself_as_a_base_type, typeToString(type, void 0, 2 /* WriteArrayAsGenericType */));\n  }\n  function getBaseTypes(type) {\n    if (!type.baseTypesResolved) {\n      if (pushTypeResolution(type, 7 /* ResolvedBaseTypes */)) {\n        if (type.objectFlags & 8 /* Tuple */) {\n          type.resolvedBaseTypes = [getTupleBaseType(type)];\n        } else if (type.symbol.flags & (32 /* Class */ | 64 /* Interface */)) {\n          if (type.symbol.flags & 32 /* Class */) {\n            resolveBaseTypesOfClass(type);\n          }\n          if (type.symbol.flags & 64 /* Interface */) {\n            resolveBaseTypesOfInterface(type);\n          }\n        } else {\n          Debug.fail(\"type must be class or interface\");\n        }\n        if (!popTypeResolution() && type.symbol.declarations) {\n          for (const declaration of type.symbol.declarations) {\n            if (declaration.kind === 264 /* ClassDeclaration */ || declaration.kind === 267 /* InterfaceDeclaration */) {\n              reportCircularBaseType(declaration, type);\n            }\n          }\n        }\n      }\n      type.baseTypesResolved = true;\n    }\n    return type.resolvedBaseTypes;\n  }\n  function getTupleBaseType(type) {\n    const elementTypes = sameMap(type.typeParameters, (t, i) => type.elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t);\n    return createArrayType(getUnionType(elementTypes || emptyArray), type.readonly);\n  }\n  function resolveBaseTypesOfClass(type) {\n    type.resolvedBaseTypes = resolvingEmptyArray;\n    const baseConstructorType = getApparentType(getBaseConstructorTypeOfClass(type));\n    if (!(baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 1 /* Any */))) {\n      return type.resolvedBaseTypes = emptyArray;\n    }\n    const baseTypeNode = getBaseTypeNodeOfClass(type);\n    let baseType;\n    const originalBaseType = baseConstructorType.symbol ? getDeclaredTypeOfSymbol(baseConstructorType.symbol) : void 0;\n    if (baseConstructorType.symbol && baseConstructorType.symbol.flags & 32 /* Class */ && areAllOuterTypeParametersApplied(originalBaseType)) {\n      baseType = getTypeFromClassOrInterfaceReference(baseTypeNode, baseConstructorType.symbol);\n    } else if (baseConstructorType.flags & 1 /* Any */) {\n      baseType = baseConstructorType;\n    } else {\n      const constructors = getInstantiatedConstructorsForTypeArguments(baseConstructorType, baseTypeNode.typeArguments, baseTypeNode);\n      if (!constructors.length) {\n        error(baseTypeNode.expression, Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments);\n        return type.resolvedBaseTypes = emptyArray;\n      }\n      baseType = getReturnTypeOfSignature(constructors[0]);\n    }\n    if (isErrorType(baseType)) {\n      return type.resolvedBaseTypes = emptyArray;\n    }\n    const reducedBaseType = getReducedType(baseType);\n    if (!isValidBaseType(reducedBaseType)) {\n      const elaboration = elaborateNeverIntersection(void 0, baseType);\n      const diagnostic = chainDiagnosticMessages(elaboration, Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members, typeToString(reducedBaseType));\n      diagnostics.add(createDiagnosticForNodeFromMessageChain(baseTypeNode.expression, diagnostic));\n      return type.resolvedBaseTypes = emptyArray;\n    }\n    if (type === reducedBaseType || hasBaseType(reducedBaseType, type)) {\n      error(\n        type.symbol.valueDeclaration,\n        Diagnostics.Type_0_recursively_references_itself_as_a_base_type,\n        typeToString(type, void 0, 2 /* WriteArrayAsGenericType */)\n      );\n      return type.resolvedBaseTypes = emptyArray;\n    }\n    if (type.resolvedBaseTypes === resolvingEmptyArray) {\n      type.members = void 0;\n    }\n    return type.resolvedBaseTypes = [reducedBaseType];\n  }\n  function areAllOuterTypeParametersApplied(type) {\n    const outerTypeParameters = type.outerTypeParameters;\n    if (outerTypeParameters) {\n      const last2 = outerTypeParameters.length - 1;\n      const typeArguments = getTypeArguments(type);\n      return outerTypeParameters[last2].symbol !== typeArguments[last2].symbol;\n    }\n    return true;\n  }\n  function isValidBaseType(type) {\n    if (type.flags & 524288 /* Object */ && type.objectFlags & 134217728 /* Annotation */) {\n      return false;\n    }\n    if (type.flags & 262144 /* TypeParameter */) {\n      const constraint = getBaseConstraintOfType(type);\n      if (constraint) {\n        return isValidBaseType(constraint);\n      }\n    }\n    return !!(type.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */ | 1 /* Any */) && !isGenericMappedType(type) || type.flags & 2097152 /* Intersection */ && every(type.types, isValidBaseType));\n  }\n  function resolveBaseTypesOfInterface(type) {\n    type.resolvedBaseTypes = type.resolvedBaseTypes || emptyArray;\n    if (type.symbol.declarations) {\n      for (const declaration of type.symbol.declarations) {\n        if (declaration.kind === 267 /* InterfaceDeclaration */ && getInterfaceBaseTypeNodes(declaration)) {\n          for (const node of getInterfaceBaseTypeNodes(declaration)) {\n            const baseType = getReducedType(getTypeFromTypeNode(node));\n            if (!isErrorType(baseType)) {\n              if (isValidBaseType(baseType)) {\n                if (type !== baseType && !hasBaseType(baseType, type)) {\n                  if (type.resolvedBaseTypes === emptyArray) {\n                    type.resolvedBaseTypes = [baseType];\n                  } else {\n                    type.resolvedBaseTypes.push(baseType);\n                  }\n                } else {\n                  reportCircularBaseType(declaration, type);\n                }\n              } else {\n                error(node, Diagnostics.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members);\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  function isThislessInterface(symbol) {\n    if (!symbol.declarations) {\n      return true;\n    }\n    for (const declaration of symbol.declarations) {\n      if (declaration.kind === 267 /* InterfaceDeclaration */) {\n        if (declaration.flags & 128 /* ContainsThis */) {\n          return false;\n        }\n        const baseTypeNodes = getInterfaceBaseTypeNodes(declaration);\n        if (baseTypeNodes) {\n          for (const node of baseTypeNodes) {\n            if (isEntityNameExpression(node.expression)) {\n              const baseSymbol = resolveEntityName(node.expression, 788968 /* Type */, true);\n              if (!baseSymbol || !(baseSymbol.flags & 64 /* Interface */) || getDeclaredTypeOfClassOrInterface(baseSymbol).thisType) {\n                return false;\n              }\n            }\n          }\n        }\n      }\n    }\n    return true;\n  }\n  function getDeclaredTypeOfClassOrInterface(symbol) {\n    let links = getSymbolLinks(symbol);\n    const originalLinks = links;\n    if (!links.declaredType) {\n      const kind = (symbol.flags & 32 /* Class */ ? 1 /* Class */ : 2 /* Interface */) | (symbol.flags & 268435456 /* Annotation */ ? 134217728 /* Annotation */ : 0);\n      const merged = mergeJSSymbols(symbol, symbol.valueDeclaration && getAssignedClassSymbol(symbol.valueDeclaration));\n      if (merged) {\n        symbol = links = merged;\n      }\n      const type = originalLinks.declaredType = links.declaredType = createObjectType(kind, symbol);\n      const outerTypeParameters = getOuterTypeParametersOfClassOrInterface(symbol);\n      const localTypeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n      if (outerTypeParameters || localTypeParameters || kind === 1 /* Class */ || !isThislessInterface(symbol)) {\n        type.objectFlags |= 4 /* Reference */;\n        type.typeParameters = concatenate(outerTypeParameters, localTypeParameters);\n        type.outerTypeParameters = outerTypeParameters;\n        type.localTypeParameters = localTypeParameters;\n        type.instantiations = new Map2();\n        type.instantiations.set(getTypeListId(type.typeParameters), type);\n        type.target = type;\n        type.resolvedTypeArguments = type.typeParameters;\n        type.thisType = createTypeParameter(symbol);\n        type.thisType.isThisType = true;\n        type.thisType.constraint = type;\n      }\n    }\n    return links.declaredType;\n  }\n  function getDeclaredTypeOfTypeAlias(symbol) {\n    var _a2;\n    const links = getSymbolLinks(symbol);\n    if (!links.declaredType) {\n      if (!pushTypeResolution(symbol, 2 /* DeclaredType */)) {\n        return errorType;\n      }\n      const declaration = Debug.checkDefined((_a2 = symbol.declarations) == null ? void 0 : _a2.find(isTypeAlias), \"Type alias symbol with no valid declaration found\");\n      const typeNode = isJSDocTypeAlias(declaration) ? declaration.typeExpression : declaration.type;\n      let type = typeNode ? getTypeFromTypeNode(typeNode) : errorType;\n      if (popTypeResolution()) {\n        const typeParameters = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n        if (typeParameters) {\n          links.typeParameters = typeParameters;\n          links.instantiations = new Map2();\n          links.instantiations.set(getTypeListId(typeParameters), type);\n        }\n      } else {\n        type = errorType;\n        if (declaration.kind === 348 /* JSDocEnumTag */) {\n          error(declaration.typeExpression.type, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));\n        } else {\n          error(isNamedDeclaration(declaration) ? declaration.name || declaration : declaration, Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));\n        }\n      }\n      links.declaredType = type;\n    }\n    return links.declaredType;\n  }\n  function isStringConcatExpression(expr) {\n    if (isStringLiteralLike(expr)) {\n      return true;\n    } else if (expr.kind === 227 /* BinaryExpression */) {\n      return isStringConcatExpression(expr.left) && isStringConcatExpression(expr.right);\n    }\n    return false;\n  }\n  function isLiteralEnumMember(member) {\n    const expr = member.initializer;\n    if (!expr) {\n      return !(member.flags & 16777216 /* Ambient */);\n    }\n    switch (expr.kind) {\n      case 10 /* StringLiteral */:\n      case 8 /* NumericLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n        return true;\n      case 225 /* PrefixUnaryExpression */:\n        return expr.operator === 40 /* MinusToken */ && expr.operand.kind === 8 /* NumericLiteral */;\n      case 79 /* Identifier */:\n        return nodeIsMissing(expr) || !!getSymbolOfNode(member.parent).exports.get(expr.escapedText);\n      case 227 /* BinaryExpression */:\n        return isStringConcatExpression(expr);\n      default:\n        return false;\n    }\n  }\n  function getEnumKind(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (links.enumKind !== void 0) {\n      return links.enumKind;\n    }\n    let hasNonLiteralMember = false;\n    if (symbol.declarations) {\n      for (const declaration of symbol.declarations) {\n        if (declaration.kind === 269 /* EnumDeclaration */) {\n          for (const member of declaration.members) {\n            if (member.initializer && isStringLiteralLike(member.initializer)) {\n              return links.enumKind = 1 /* Literal */;\n            }\n            if (!isLiteralEnumMember(member)) {\n              hasNonLiteralMember = true;\n            }\n          }\n        }\n      }\n    }\n    return links.enumKind = hasNonLiteralMember ? 0 /* Numeric */ : 1 /* Literal */;\n  }\n  function getBaseTypeOfEnumLiteralType(type) {\n    return type.flags & 1024 /* EnumLiteral */ && !(type.flags & 1048576 /* Union */) ? getDeclaredTypeOfSymbol(getParentOfSymbol(type.symbol)) : type;\n  }\n  function getDeclaredTypeOfEnum(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (links.declaredType) {\n      return links.declaredType;\n    }\n    if (getEnumKind(symbol) === 1 /* Literal */) {\n      enumCount++;\n      const memberTypeList = [];\n      if (symbol.declarations) {\n        for (const declaration of symbol.declarations) {\n          if (declaration.kind === 269 /* EnumDeclaration */) {\n            for (const member of declaration.members) {\n              const value = getEnumMemberValue(member);\n              const memberType = getFreshTypeOfLiteralType(getEnumLiteralType(value !== void 0 ? value : 0, enumCount, getSymbolOfNode(member)));\n              getSymbolLinks(getSymbolOfNode(member)).declaredType = memberType;\n              memberTypeList.push(getRegularTypeOfLiteralType(memberType));\n            }\n          }\n        }\n      }\n      if (memberTypeList.length) {\n        const enumType2 = getUnionType(memberTypeList, 1 /* Literal */, symbol, void 0);\n        if (enumType2.flags & 1048576 /* Union */) {\n          enumType2.flags |= 1024 /* EnumLiteral */;\n          enumType2.symbol = symbol;\n        }\n        return links.declaredType = enumType2;\n      }\n    }\n    const enumType = createType(32 /* Enum */);\n    enumType.symbol = symbol;\n    return links.declaredType = enumType;\n  }\n  function getDeclaredTypeOfEnumMember(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.declaredType) {\n      const enumType = getDeclaredTypeOfEnum(getParentOfSymbol(symbol));\n      if (!links.declaredType) {\n        links.declaredType = enumType;\n      }\n    }\n    return links.declaredType;\n  }\n  function getDeclaredTypeOfTypeParameter(symbol) {\n    const links = getSymbolLinks(symbol);\n    return links.declaredType || (links.declaredType = createTypeParameter(symbol));\n  }\n  function getDeclaredTypeOfAlias(symbol) {\n    const links = getSymbolLinks(symbol);\n    return links.declaredType || (links.declaredType = getDeclaredTypeOfSymbol(resolveAlias(symbol)));\n  }\n  function getDeclaredTypeOfSymbol(symbol) {\n    return tryGetDeclaredTypeOfSymbol(symbol) || errorType;\n  }\n  function tryGetDeclaredTypeOfSymbol(symbol) {\n    if (symbol.flags & (32 /* Class */ | 64 /* Interface */)) {\n      return getDeclaredTypeOfClassOrInterface(symbol);\n    }\n    if (symbol.flags & 524288 /* TypeAlias */) {\n      return getDeclaredTypeOfTypeAlias(symbol);\n    }\n    if (symbol.flags & 262144 /* TypeParameter */) {\n      return getDeclaredTypeOfTypeParameter(symbol);\n    }\n    if (symbol.flags & 384 /* Enum */) {\n      return getDeclaredTypeOfEnum(symbol);\n    }\n    if (symbol.flags & 8 /* EnumMember */) {\n      return getDeclaredTypeOfEnumMember(symbol);\n    }\n    if (symbol.flags & 2097152 /* Alias */) {\n      return getDeclaredTypeOfAlias(symbol);\n    }\n    return void 0;\n  }\n  function isThislessType(node) {\n    switch (node.kind) {\n      case 132 /* AnyKeyword */:\n      case 159 /* UnknownKeyword */:\n      case 153 /* StringKeyword */:\n      case 149 /* NumberKeyword */:\n      case 162 /* BigIntKeyword */:\n      case 135 /* BooleanKeyword */:\n      case 154 /* SymbolKeyword */:\n      case 150 /* ObjectKeyword */:\n      case 115 /* VoidKeyword */:\n      case 157 /* UndefinedKeyword */:\n      case 145 /* NeverKeyword */:\n      case 201 /* LiteralType */:\n        return true;\n      case 188 /* ArrayType */:\n        return isThislessType(node.elementType);\n      case 183 /* TypeReference */:\n        return !node.typeArguments || node.typeArguments.every(isThislessType);\n    }\n    return false;\n  }\n  function isThislessTypeParameter(node) {\n    const constraint = getEffectiveConstraintOfTypeParameter(node);\n    return !constraint || isThislessType(constraint);\n  }\n  function isThislessVariableLikeDeclaration(node) {\n    const typeNode = getEffectiveTypeAnnotationNode(node);\n    return typeNode ? isThislessType(typeNode) : !hasInitializer(node);\n  }\n  function isThislessFunctionLikeDeclaration(node) {\n    const returnType = getEffectiveReturnTypeNode(node);\n    const typeParameters = getEffectiveTypeParameterDeclarations(node);\n    return (node.kind === 176 /* Constructor */ || !!returnType && isThislessType(returnType)) && node.parameters.every(isThislessVariableLikeDeclaration) && typeParameters.every(isThislessTypeParameter);\n  }\n  function isThisless(symbol) {\n    if (symbol.declarations && symbol.declarations.length === 1) {\n      const declaration = symbol.declarations[0];\n      if (declaration) {\n        switch (declaration.kind) {\n          case 171 /* PropertyDeclaration */:\n          case 170 /* PropertySignature */:\n            return isThislessVariableLikeDeclaration(declaration);\n          case 174 /* MethodDeclaration */:\n          case 173 /* MethodSignature */:\n          case 176 /* Constructor */:\n          case 177 /* GetAccessor */:\n          case 178 /* SetAccessor */:\n            return isThislessFunctionLikeDeclaration(declaration);\n        }\n      }\n    }\n    return false;\n  }\n  function createInstantiatedSymbolTable(symbols, mapper, mappingThisOnly) {\n    const result = createSymbolTable();\n    for (const symbol of symbols) {\n      result.set(symbol.escapedName, mappingThisOnly && isThisless(symbol) ? symbol : instantiateSymbol(symbol, mapper));\n    }\n    return result;\n  }\n  function addInheritedMembers(symbols, baseSymbols) {\n    for (const s of baseSymbols) {\n      if (!symbols.has(s.escapedName) && !isStaticPrivateIdentifierProperty(s)) {\n        symbols.set(s.escapedName, s);\n      }\n    }\n  }\n  function isStaticPrivateIdentifierProperty(s) {\n    return !!s.valueDeclaration && isPrivateIdentifierClassElementDeclaration(s.valueDeclaration) && isStatic(s.valueDeclaration);\n  }\n  function resolveDeclaredMembers(type) {\n    if (!type.declaredProperties) {\n      const symbol = type.symbol;\n      const members = getMembersOfSymbol(symbol);\n      type.declaredProperties = getNamedMembers(members);\n      type.declaredCallSignatures = emptyArray;\n      type.declaredConstructSignatures = emptyArray;\n      type.declaredIndexInfos = emptyArray;\n      type.declaredCallSignatures = getSignaturesOfSymbol(members.get(\"__call\" /* Call */));\n      type.declaredConstructSignatures = getSignaturesOfSymbol(members.get(\"__new\" /* New */));\n      type.declaredIndexInfos = getIndexInfosOfSymbol(symbol);\n    }\n    return type;\n  }\n  function isTypeUsableAsPropertyName(type) {\n    return !!(type.flags & 8576 /* StringOrNumberLiteralOrUnique */);\n  }\n  function isLateBindableName(node) {\n    if (!isComputedPropertyName(node) && !isElementAccessExpression(node)) {\n      return false;\n    }\n    const expr = isComputedPropertyName(node) ? node.expression : node.argumentExpression;\n    return isEntityNameExpression(expr) && isTypeUsableAsPropertyName(isComputedPropertyName(node) ? checkComputedPropertyName(node) : checkExpressionCached(expr));\n  }\n  function isLateBoundName(name) {\n    return name.charCodeAt(0) === 95 /* _ */ && name.charCodeAt(1) === 95 /* _ */ && name.charCodeAt(2) === 64 /* at */;\n  }\n  function hasLateBindableName(node) {\n    const name = getNameOfDeclaration(node);\n    return !!name && isLateBindableName(name);\n  }\n  function hasBindableName(node) {\n    return !hasDynamicName(node) || hasLateBindableName(node);\n  }\n  function isNonBindableDynamicName(node) {\n    return isDynamicName(node) && !isLateBindableName(node);\n  }\n  function getPropertyNameFromType(type) {\n    if (type.flags & 8192 /* UniqueESSymbol */) {\n      return type.escapedName;\n    }\n    if (type.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) {\n      return escapeLeadingUnderscores(\"\" + type.value);\n    }\n    return Debug.fail();\n  }\n  function addDeclarationToLateBoundSymbol(symbol, member, symbolFlags) {\n    Debug.assert(!!(getCheckFlags(symbol) & 4096 /* Late */), \"Expected a late-bound symbol.\");\n    symbol.flags |= symbolFlags;\n    getSymbolLinks(member.symbol).lateSymbol = symbol;\n    if (!symbol.declarations) {\n      symbol.declarations = [member];\n    } else if (!member.symbol.isReplaceableByMethod) {\n      symbol.declarations.push(member);\n    }\n    if (symbolFlags & 111551 /* Value */) {\n      if (!symbol.valueDeclaration || symbol.valueDeclaration.kind !== member.kind) {\n        symbol.valueDeclaration = member;\n      }\n    }\n  }\n  function lateBindMember(parent2, earlySymbols, lateSymbols, decl) {\n    Debug.assert(!!decl.symbol, \"The member is expected to have a symbol.\");\n    const links = getNodeLinks(decl);\n    if (!links.resolvedSymbol) {\n      links.resolvedSymbol = decl.symbol;\n      const declName = isBinaryExpression(decl) ? decl.left : decl.name;\n      const type = isElementAccessExpression(declName) ? checkExpressionCached(declName.argumentExpression) : checkComputedPropertyName(declName);\n      if (isTypeUsableAsPropertyName(type)) {\n        const memberName = getPropertyNameFromType(type);\n        const symbolFlags = decl.symbol.flags;\n        let lateSymbol = lateSymbols.get(memberName);\n        if (!lateSymbol)\n          lateSymbols.set(memberName, lateSymbol = createSymbol(0 /* None */, memberName, 4096 /* Late */));\n        const earlySymbol = earlySymbols && earlySymbols.get(memberName);\n        if (lateSymbol.flags & getExcludedSymbolFlags(symbolFlags) || earlySymbol) {\n          const declarations = earlySymbol ? concatenate(earlySymbol.declarations, lateSymbol.declarations) : lateSymbol.declarations;\n          const name = !(type.flags & 8192 /* UniqueESSymbol */) && unescapeLeadingUnderscores(memberName) || declarationNameToString(declName);\n          forEach(declarations, (declaration) => error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Property_0_was_also_declared_here, name));\n          error(declName || decl, Diagnostics.Duplicate_property_0, name);\n          lateSymbol = createSymbol(0 /* None */, memberName, 4096 /* Late */);\n        }\n        lateSymbol.nameType = type;\n        addDeclarationToLateBoundSymbol(lateSymbol, decl, symbolFlags);\n        if (lateSymbol.parent) {\n          Debug.assert(lateSymbol.parent === parent2, \"Existing symbol parent should match new one\");\n        } else {\n          lateSymbol.parent = parent2;\n        }\n        return links.resolvedSymbol = lateSymbol;\n      }\n    }\n    return links.resolvedSymbol;\n  }\n  function getResolvedMembersOrExportsOfSymbol(symbol, resolutionKind) {\n    const links = getSymbolLinks(symbol);\n    if (!links[resolutionKind]) {\n      const isStatic2 = resolutionKind === \"resolvedExports\" /* resolvedExports */;\n      const earlySymbols = !isStatic2 ? symbol.members : symbol.flags & 1536 /* Module */ ? getExportsOfModuleWorker(symbol) : symbol.exports;\n      links[resolutionKind] = earlySymbols || emptySymbols;\n      const lateSymbols = createSymbolTable();\n      for (const decl of symbol.declarations || emptyArray) {\n        const members = getMembersOfDeclaration(decl);\n        if (members) {\n          for (const member of members) {\n            if (isStatic2 === hasStaticModifier(member)) {\n              if (hasLateBindableName(member)) {\n                lateBindMember(symbol, earlySymbols, lateSymbols, member);\n              }\n            }\n          }\n        }\n      }\n      const assignments = symbol.assignmentDeclarationMembers;\n      if (assignments) {\n        const decls = arrayFrom(assignments.values());\n        for (const member of decls) {\n          const assignmentKind = getAssignmentDeclarationKind(member);\n          const isInstanceMember = assignmentKind === 3 /* PrototypeProperty */ || isBinaryExpression(member) && isPossiblyAliasedThisProperty(member, assignmentKind) || assignmentKind === 9 /* ObjectDefinePrototypeProperty */ || assignmentKind === 6 /* Prototype */;\n          if (isStatic2 === !isInstanceMember) {\n            if (hasLateBindableName(member)) {\n              lateBindMember(symbol, earlySymbols, lateSymbols, member);\n            }\n          }\n        }\n      }\n      links[resolutionKind] = combineSymbolTables(earlySymbols, lateSymbols) || emptySymbols;\n    }\n    return links[resolutionKind];\n  }\n  function getMembersOfSymbol(symbol) {\n    return symbol.flags & 6256 /* LateBindingContainer */ ? getResolvedMembersOrExportsOfSymbol(symbol, \"resolvedMembers\" /* resolvedMembers */) : symbol.members || emptySymbols;\n  }\n  function getLateBoundSymbol(symbol) {\n    if (symbol.flags & 106500 /* ClassMember */ && symbol.escapedName === \"__computed\" /* Computed */) {\n      const links = getSymbolLinks(symbol);\n      if (!links.lateSymbol && some(symbol.declarations, hasLateBindableName)) {\n        const parent2 = getMergedSymbol(symbol.parent);\n        if (some(symbol.declarations, hasStaticModifier)) {\n          getExportsOfSymbol(parent2);\n        } else {\n          getMembersOfSymbol(parent2);\n        }\n      }\n      return links.lateSymbol || (links.lateSymbol = symbol);\n    }\n    return symbol;\n  }\n  function getTypeWithThisArgument(type, thisArgument, needApparentType) {\n    if (getObjectFlags(type) & 4 /* Reference */) {\n      const target = type.target;\n      const typeArguments = getTypeArguments(type);\n      if (length(target.typeParameters) === length(typeArguments)) {\n        const ref = createTypeReference(target, concatenate(typeArguments, [thisArgument || target.thisType]));\n        return needApparentType ? getApparentType(ref) : ref;\n      }\n    } else if (type.flags & 2097152 /* Intersection */) {\n      const types = sameMap(type.types, (t) => getTypeWithThisArgument(t, thisArgument, needApparentType));\n      return types !== type.types ? getIntersectionType(types) : type;\n    }\n    return needApparentType ? getApparentType(type) : type;\n  }\n  function resolveObjectTypeMembers(type, source, typeParameters, typeArguments) {\n    let mapper;\n    let members;\n    let callSignatures;\n    let constructSignatures;\n    let indexInfos;\n    if (rangeEquals(typeParameters, typeArguments, 0, typeParameters.length)) {\n      members = source.symbol ? getMembersOfSymbol(source.symbol) : createSymbolTable(source.declaredProperties);\n      callSignatures = source.declaredCallSignatures;\n      constructSignatures = source.declaredConstructSignatures;\n      indexInfos = source.declaredIndexInfos;\n    } else {\n      mapper = createTypeMapper(typeParameters, typeArguments);\n      members = createInstantiatedSymbolTable(source.declaredProperties, mapper, typeParameters.length === 1);\n      callSignatures = instantiateSignatures(source.declaredCallSignatures, mapper);\n      constructSignatures = instantiateSignatures(source.declaredConstructSignatures, mapper);\n      indexInfos = instantiateIndexInfos(source.declaredIndexInfos, mapper);\n    }\n    const baseTypes = getBaseTypes(source);\n    if (baseTypes.length) {\n      if (source.symbol && members === getMembersOfSymbol(source.symbol)) {\n        members = createSymbolTable(source.declaredProperties);\n      }\n      setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos);\n      const thisArgument = lastOrUndefined(typeArguments);\n      for (const baseType of baseTypes) {\n        const instantiatedBaseType = thisArgument ? getTypeWithThisArgument(instantiateType(baseType, mapper), thisArgument) : baseType;\n        addInheritedMembers(members, getPropertiesOfType(instantiatedBaseType));\n        callSignatures = concatenate(callSignatures, getSignaturesOfType(instantiatedBaseType, 0 /* Call */));\n        constructSignatures = concatenate(constructSignatures, getSignaturesOfType(instantiatedBaseType, 1 /* Construct */));\n        const inheritedIndexInfos = instantiatedBaseType !== anyType ? getIndexInfosOfType(instantiatedBaseType) : [createIndexInfo(stringType, anyType, false)];\n        indexInfos = concatenate(indexInfos, filter(inheritedIndexInfos, (info) => !findIndexInfo(indexInfos, info.keyType)));\n      }\n    }\n    setStructuredTypeMembers(type, members, callSignatures, constructSignatures, indexInfos);\n  }\n  function resolveClassOrInterfaceMembers(type) {\n    resolveObjectTypeMembers(type, resolveDeclaredMembers(type), emptyArray, emptyArray);\n  }\n  function resolveTypeReferenceMembers(type) {\n    const source = resolveDeclaredMembers(type.target);\n    const typeParameters = concatenate(source.typeParameters, [source.thisType]);\n    const typeArguments = getTypeArguments(type);\n    const paddedTypeArguments = typeArguments.length === typeParameters.length ? typeArguments : concatenate(typeArguments, [type]);\n    resolveObjectTypeMembers(type, source, typeParameters, paddedTypeArguments);\n  }\n  function createSignature(declaration, typeParameters, thisParameter, parameters, resolvedReturnType, resolvedTypePredicate, minArgumentCount, flags) {\n    const sig = new Signature17(checker, flags);\n    sig.declaration = declaration;\n    sig.typeParameters = typeParameters;\n    sig.parameters = parameters;\n    sig.thisParameter = thisParameter;\n    sig.resolvedReturnType = resolvedReturnType;\n    sig.resolvedTypePredicate = resolvedTypePredicate;\n    sig.minArgumentCount = minArgumentCount;\n    sig.resolvedMinArgumentCount = void 0;\n    sig.target = void 0;\n    sig.mapper = void 0;\n    sig.compositeSignatures = void 0;\n    sig.compositeKind = void 0;\n    return sig;\n  }\n  function cloneSignature(sig) {\n    const result = createSignature(\n      sig.declaration,\n      sig.typeParameters,\n      sig.thisParameter,\n      sig.parameters,\n      void 0,\n      void 0,\n      sig.minArgumentCount,\n      sig.flags & 39 /* PropagatingFlags */\n    );\n    result.target = sig.target;\n    result.mapper = sig.mapper;\n    result.compositeSignatures = sig.compositeSignatures;\n    result.compositeKind = sig.compositeKind;\n    return result;\n  }\n  function createUnionSignature(signature, unionSignatures) {\n    const result = cloneSignature(signature);\n    result.compositeSignatures = unionSignatures;\n    result.compositeKind = 1048576 /* Union */;\n    result.target = void 0;\n    result.mapper = void 0;\n    return result;\n  }\n  function getOptionalCallSignature(signature, callChainFlags) {\n    if ((signature.flags & 24 /* CallChainFlags */) === callChainFlags) {\n      return signature;\n    }\n    if (!signature.optionalCallSignatureCache) {\n      signature.optionalCallSignatureCache = {};\n    }\n    const key = callChainFlags === 8 /* IsInnerCallChain */ ? \"inner\" : \"outer\";\n    return signature.optionalCallSignatureCache[key] || (signature.optionalCallSignatureCache[key] = createOptionalCallSignature(signature, callChainFlags));\n  }\n  function createOptionalCallSignature(signature, callChainFlags) {\n    Debug.assert(\n      callChainFlags === 8 /* IsInnerCallChain */ || callChainFlags === 16 /* IsOuterCallChain */,\n      \"An optional call signature can either be for an inner call chain or an outer call chain, but not both.\"\n    );\n    const result = cloneSignature(signature);\n    result.flags |= callChainFlags;\n    return result;\n  }\n  function getExpandedParameters(sig, skipUnionExpanding) {\n    if (signatureHasRestParameter(sig)) {\n      const restIndex = sig.parameters.length - 1;\n      const restType = getTypeOfSymbol(sig.parameters[restIndex]);\n      if (isTupleType(restType)) {\n        return [expandSignatureParametersWithTupleMembers(restType, restIndex)];\n      } else if (!skipUnionExpanding && restType.flags & 1048576 /* Union */ && every(restType.types, isTupleType)) {\n        return map(restType.types, (t) => expandSignatureParametersWithTupleMembers(t, restIndex));\n      }\n    }\n    return [sig.parameters];\n    function expandSignatureParametersWithTupleMembers(restType, restIndex) {\n      const elementTypes = getTypeArguments(restType);\n      const associatedNames = restType.target.labeledElementDeclarations;\n      const restParams = map(elementTypes, (t, i) => {\n        const tupleLabelName = !!associatedNames && getTupleElementLabel(associatedNames[i]);\n        const name = tupleLabelName || getParameterNameAtPosition(sig, restIndex + i, restType);\n        const flags = restType.target.elementFlags[i];\n        const checkFlags = flags & 12 /* Variable */ ? 32768 /* RestParameter */ : flags & 2 /* Optional */ ? 16384 /* OptionalParameter */ : 0;\n        const symbol = createSymbol(1 /* FunctionScopedVariable */, name, checkFlags);\n        symbol.type = flags & 4 /* Rest */ ? createArrayType(t) : t;\n        return symbol;\n      });\n      return concatenate(sig.parameters.slice(0, restIndex), restParams);\n    }\n  }\n  function getDefaultConstructSignatures(classType) {\n    const baseConstructorType = getBaseConstructorTypeOfClass(classType);\n    const baseSignatures = getSignaturesOfType(baseConstructorType, 1 /* Construct */);\n    const declaration = getClassLikeDeclarationOfSymbol(classType.symbol);\n    const isAbstract = !!declaration && hasSyntacticModifier(declaration, 256 /* Abstract */);\n    if (baseSignatures.length === 0) {\n      return [createSignature(void 0, classType.localTypeParameters, void 0, emptyArray, classType, void 0, 0, isAbstract ? 4 /* Abstract */ : 0 /* None */)];\n    }\n    const baseTypeNode = getBaseTypeNodeOfClass(classType);\n    const isJavaScript = isInJSFile(baseTypeNode);\n    const typeArguments = typeArgumentsFromTypeReferenceNode(baseTypeNode);\n    const typeArgCount = length(typeArguments);\n    const result = [];\n    for (const baseSig of baseSignatures) {\n      const minTypeArgumentCount = getMinTypeArgumentCount(baseSig.typeParameters);\n      const typeParamCount = length(baseSig.typeParameters);\n      if (isJavaScript || typeArgCount >= minTypeArgumentCount && typeArgCount <= typeParamCount) {\n        const sig = typeParamCount ? createSignatureInstantiation(baseSig, fillMissingTypeArguments(typeArguments, baseSig.typeParameters, minTypeArgumentCount, isJavaScript)) : cloneSignature(baseSig);\n        sig.typeParameters = classType.localTypeParameters;\n        sig.resolvedReturnType = classType;\n        sig.flags = isAbstract ? sig.flags | 4 /* Abstract */ : sig.flags & ~4 /* Abstract */;\n        result.push(sig);\n      }\n    }\n    return result;\n  }\n  function findMatchingSignature(signatureList, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes) {\n    for (const s of signatureList) {\n      if (compareSignaturesIdentical(s, signature, partialMatch, ignoreThisTypes, ignoreReturnTypes, partialMatch ? compareTypesSubtypeOf : compareTypesIdentical)) {\n        return s;\n      }\n    }\n  }\n  function findMatchingSignatures(signatureLists, signature, listIndex) {\n    if (signature.typeParameters) {\n      if (listIndex > 0) {\n        return void 0;\n      }\n      for (let i = 1; i < signatureLists.length; i++) {\n        if (!findMatchingSignature(signatureLists[i], signature, false, false, false)) {\n          return void 0;\n        }\n      }\n      return [signature];\n    }\n    let result;\n    for (let i = 0; i < signatureLists.length; i++) {\n      const match = i === listIndex ? signature : findMatchingSignature(signatureLists[i], signature, true, false, true);\n      if (!match) {\n        return void 0;\n      }\n      result = appendIfUnique(result, match);\n    }\n    return result;\n  }\n  function getUnionSignatures(signatureLists) {\n    let result;\n    let indexWithLengthOverOne;\n    for (let i = 0; i < signatureLists.length; i++) {\n      if (signatureLists[i].length === 0)\n        return emptyArray;\n      if (signatureLists[i].length > 1) {\n        indexWithLengthOverOne = indexWithLengthOverOne === void 0 ? i : -1;\n      }\n      for (const signature of signatureLists[i]) {\n        if (!result || !findMatchingSignature(result, signature, false, false, true)) {\n          const unionSignatures = findMatchingSignatures(signatureLists, signature, i);\n          if (unionSignatures) {\n            let s = signature;\n            if (unionSignatures.length > 1) {\n              let thisParameter = signature.thisParameter;\n              const firstThisParameterOfUnionSignatures = forEach(unionSignatures, (sig) => sig.thisParameter);\n              if (firstThisParameterOfUnionSignatures) {\n                const thisType = getIntersectionType(mapDefined(unionSignatures, (sig) => sig.thisParameter && getTypeOfSymbol(sig.thisParameter)));\n                thisParameter = createSymbolWithType(firstThisParameterOfUnionSignatures, thisType);\n              }\n              s = createUnionSignature(signature, unionSignatures);\n              s.thisParameter = thisParameter;\n            }\n            (result || (result = [])).push(s);\n          }\n        }\n      }\n    }\n    if (!length(result) && indexWithLengthOverOne !== -1) {\n      const masterList = signatureLists[indexWithLengthOverOne !== void 0 ? indexWithLengthOverOne : 0];\n      let results = masterList.slice();\n      for (const signatures of signatureLists) {\n        if (signatures !== masterList) {\n          const signature = signatures[0];\n          Debug.assert(!!signature, \"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass\");\n          results = !!signature.typeParameters && some(results, (s) => !!s.typeParameters && !compareTypeParametersIdentical(signature.typeParameters, s.typeParameters)) ? void 0 : map(results, (sig) => combineSignaturesOfUnionMembers(sig, signature));\n          if (!results) {\n            break;\n          }\n        }\n      }\n      result = results;\n    }\n    return result || emptyArray;\n  }\n  function compareTypeParametersIdentical(sourceParams, targetParams) {\n    if (length(sourceParams) !== length(targetParams)) {\n      return false;\n    }\n    if (!sourceParams || !targetParams) {\n      return true;\n    }\n    const mapper = createTypeMapper(targetParams, sourceParams);\n    for (let i = 0; i < sourceParams.length; i++) {\n      const source = sourceParams[i];\n      const target = targetParams[i];\n      if (source === target)\n        continue;\n      if (!isTypeIdenticalTo(getConstraintFromTypeParameter(source) || unknownType, instantiateType(getConstraintFromTypeParameter(target) || unknownType, mapper)))\n        return false;\n    }\n    return true;\n  }\n  function combineUnionThisParam(left, right, mapper) {\n    if (!left || !right) {\n      return left || right;\n    }\n    const thisType = getIntersectionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]);\n    return createSymbolWithType(left, thisType);\n  }\n  function combineUnionParameters(left, right, mapper) {\n    const leftCount = getParameterCount(left);\n    const rightCount = getParameterCount(right);\n    const longest = leftCount >= rightCount ? left : right;\n    const shorter = longest === left ? right : left;\n    const longestCount = longest === left ? leftCount : rightCount;\n    const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right);\n    const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest);\n    const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0));\n    for (let i = 0; i < longestCount; i++) {\n      let longestParamType = tryGetTypeAtPosition(longest, i);\n      if (longest === right) {\n        longestParamType = instantiateType(longestParamType, mapper);\n      }\n      let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType;\n      if (shorter === right) {\n        shorterParamType = instantiateType(shorterParamType, mapper);\n      }\n      const unionParamType = getIntersectionType([longestParamType, shorterParamType]);\n      const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1;\n      const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter);\n      const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i);\n      const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i);\n      const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0;\n      const paramSymbol = createSymbol(\n        1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0),\n        paramName || `arg${i}`\n      );\n      paramSymbol.type = isRestParam ? createArrayType(unionParamType) : unionParamType;\n      params[i] = paramSymbol;\n    }\n    if (needsExtraRestElement) {\n      const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, \"args\");\n      restParamSymbol.type = createArrayType(getTypeAtPosition(shorter, longestCount));\n      if (shorter === right) {\n        restParamSymbol.type = instantiateType(restParamSymbol.type, mapper);\n      }\n      params[longestCount] = restParamSymbol;\n    }\n    return params;\n  }\n  function combineSignaturesOfUnionMembers(left, right) {\n    const typeParams = left.typeParameters || right.typeParameters;\n    let paramMapper;\n    if (left.typeParameters && right.typeParameters) {\n      paramMapper = createTypeMapper(right.typeParameters, left.typeParameters);\n    }\n    const declaration = left.declaration;\n    const params = combineUnionParameters(left, right, paramMapper);\n    const thisParam = combineUnionThisParam(left.thisParameter, right.thisParameter, paramMapper);\n    const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount);\n    const result = createSignature(\n      declaration,\n      typeParams,\n      thisParam,\n      params,\n      void 0,\n      void 0,\n      minArgCount,\n      (left.flags | right.flags) & 39 /* PropagatingFlags */\n    );\n    result.compositeKind = 1048576 /* Union */;\n    result.compositeSignatures = concatenate(left.compositeKind !== 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]);\n    if (paramMapper) {\n      result.mapper = left.compositeKind !== 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;\n    }\n    return result;\n  }\n  function getUnionIndexInfos(types) {\n    const sourceInfos = getIndexInfosOfType(types[0]);\n    if (sourceInfos) {\n      const result = [];\n      for (const info of sourceInfos) {\n        const indexType = info.keyType;\n        if (every(types, (t) => !!getIndexInfoOfType(t, indexType))) {\n          result.push(createIndexInfo(\n            indexType,\n            getUnionType(map(types, (t) => getIndexTypeOfType(t, indexType))),\n            some(types, (t) => getIndexInfoOfType(t, indexType).isReadonly)\n          ));\n        }\n      }\n      return result;\n    }\n    return emptyArray;\n  }\n  function resolveUnionTypeMembers(type) {\n    const callSignatures = getUnionSignatures(map(type.types, (t) => t === globalFunctionType ? [unknownSignature] : getSignaturesOfType(t, 0 /* Call */)));\n    const constructSignatures = getUnionSignatures(map(type.types, (t) => getSignaturesOfType(t, 1 /* Construct */)));\n    const indexInfos = getUnionIndexInfos(type.types);\n    setStructuredTypeMembers(type, emptySymbols, callSignatures, constructSignatures, indexInfos);\n  }\n  function intersectTypes(type1, type2) {\n    return !type1 ? type2 : !type2 ? type1 : getIntersectionType([type1, type2]);\n  }\n  function findMixins(types) {\n    const constructorTypeCount = countWhere(types, (t) => getSignaturesOfType(t, 1 /* Construct */).length > 0);\n    const mixinFlags = map(types, isMixinConstructorType);\n    if (constructorTypeCount > 0 && constructorTypeCount === countWhere(mixinFlags, (b) => b)) {\n      const firstMixinIndex = mixinFlags.indexOf(true);\n      mixinFlags[firstMixinIndex] = false;\n    }\n    return mixinFlags;\n  }\n  function includeMixinType(type, types, mixinFlags, index) {\n    const mixedTypes = [];\n    for (let i = 0; i < types.length; i++) {\n      if (i === index) {\n        mixedTypes.push(type);\n      } else if (mixinFlags[i]) {\n        mixedTypes.push(getReturnTypeOfSignature(getSignaturesOfType(types[i], 1 /* Construct */)[0]));\n      }\n    }\n    return getIntersectionType(mixedTypes);\n  }\n  function resolveIntersectionTypeMembers(type) {\n    let callSignatures;\n    let constructSignatures;\n    let indexInfos;\n    const types = type.types;\n    const mixinFlags = findMixins(types);\n    const mixinCount = countWhere(mixinFlags, (b) => b);\n    for (let i = 0; i < types.length; i++) {\n      const t = type.types[i];\n      if (!mixinFlags[i]) {\n        let signatures = getSignaturesOfType(t, 1 /* Construct */);\n        if (signatures.length && mixinCount > 0) {\n          signatures = map(signatures, (s) => {\n            const clone2 = cloneSignature(s);\n            clone2.resolvedReturnType = includeMixinType(getReturnTypeOfSignature(s), types, mixinFlags, i);\n            return clone2;\n          });\n        }\n        constructSignatures = appendSignatures(constructSignatures, signatures);\n      }\n      callSignatures = appendSignatures(callSignatures, getSignaturesOfType(t, 0 /* Call */));\n      indexInfos = reduceLeft(getIndexInfosOfType(t), (infos, newInfo) => appendIndexInfo(infos, newInfo, false), indexInfos);\n    }\n    setStructuredTypeMembers(type, emptySymbols, callSignatures || emptyArray, constructSignatures || emptyArray, indexInfos || emptyArray);\n  }\n  function appendSignatures(signatures, newSignatures) {\n    for (const sig of newSignatures) {\n      if (!signatures || every(signatures, (s) => !compareSignaturesIdentical(s, sig, false, false, false, compareTypesIdentical))) {\n        signatures = append(signatures, sig);\n      }\n    }\n    return signatures;\n  }\n  function appendIndexInfo(indexInfos, newInfo, union) {\n    if (indexInfos) {\n      for (let i = 0; i < indexInfos.length; i++) {\n        const info = indexInfos[i];\n        if (info.keyType === newInfo.keyType) {\n          indexInfos[i] = createIndexInfo(\n            info.keyType,\n            union ? getUnionType([info.type, newInfo.type]) : getIntersectionType([info.type, newInfo.type]),\n            union ? info.isReadonly || newInfo.isReadonly : info.isReadonly && newInfo.isReadonly\n          );\n          return indexInfos;\n        }\n      }\n    }\n    return append(indexInfos, newInfo);\n  }\n  function resolveAnonymousTypeMembers(type) {\n    if (type.target) {\n      setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray);\n      const members2 = createInstantiatedSymbolTable(getPropertiesOfObjectType(type.target), type.mapper, false);\n      const callSignatures = instantiateSignatures(getSignaturesOfType(type.target, 0 /* Call */), type.mapper);\n      const constructSignatures = instantiateSignatures(getSignaturesOfType(type.target, 1 /* Construct */), type.mapper);\n      const indexInfos2 = instantiateIndexInfos(getIndexInfosOfType(type.target), type.mapper);\n      setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2);\n      return;\n    }\n    const symbol = getMergedSymbol(type.symbol);\n    if (symbol.flags & 2048 /* TypeLiteral */) {\n      setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray);\n      const members2 = getMembersOfSymbol(symbol);\n      const callSignatures = getSignaturesOfSymbol(members2.get(\"__call\" /* Call */));\n      const constructSignatures = getSignaturesOfSymbol(members2.get(\"__new\" /* New */));\n      const indexInfos2 = getIndexInfosOfSymbol(symbol);\n      setStructuredTypeMembers(type, members2, callSignatures, constructSignatures, indexInfos2);\n      return;\n    }\n    let members = emptySymbols;\n    let indexInfos;\n    if (symbol.exports) {\n      members = getExportsOfSymbol(symbol);\n      if (symbol === globalThisSymbol) {\n        const varsOnly = new Map2();\n        members.forEach((p) => {\n          var _a2;\n          if (!(p.flags & 418 /* BlockScoped */) && !(p.flags & 512 /* ValueModule */ && ((_a2 = p.declarations) == null ? void 0 : _a2.length) && every(p.declarations, isAmbientModule))) {\n            varsOnly.set(p.escapedName, p);\n          }\n        });\n        members = varsOnly;\n      }\n    }\n    let baseConstructorIndexInfo;\n    setStructuredTypeMembers(type, members, emptyArray, emptyArray, emptyArray);\n    if (symbol.flags & 32 /* Class */) {\n      const classType = getDeclaredTypeOfClassOrInterface(symbol);\n      const baseConstructorType = getBaseConstructorTypeOfClass(classType);\n      if (baseConstructorType.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 8650752 /* TypeVariable */)) {\n        members = createSymbolTable(getNamedOrIndexSignatureMembers(members));\n        addInheritedMembers(members, getPropertiesOfType(baseConstructorType));\n      } else if (baseConstructorType === anyType) {\n        baseConstructorIndexInfo = createIndexInfo(stringType, anyType, false);\n      }\n    }\n    const indexSymbol = getIndexSymbolFromSymbolTable(members);\n    if (indexSymbol) {\n      indexInfos = getIndexInfosOfIndexSymbol(indexSymbol);\n    } else {\n      if (baseConstructorIndexInfo) {\n        indexInfos = append(indexInfos, baseConstructorIndexInfo);\n      }\n      if (symbol.flags & 384 /* Enum */ && (getDeclaredTypeOfSymbol(symbol).flags & 32 /* Enum */ || some(type.properties, (prop) => !!(getTypeOfSymbol(prop).flags & 296 /* NumberLike */)))) {\n        indexInfos = append(indexInfos, enumNumberIndexInfo);\n      }\n    }\n    setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray);\n    if (symbol.flags & (16 /* Function */ | 8192 /* Method */)) {\n      type.callSignatures = getSignaturesOfSymbol(symbol);\n    }\n    if (symbol.flags & 32 /* Class */) {\n      const classType = getDeclaredTypeOfClassOrInterface(symbol);\n      if (symbol.flags & 268435456 /* Annotation */) {\n        const proto = getPropertyOfType(getTypeOfSymbol(symbol), \"prototype\");\n        type.callSignatures = [createSignature(\n          void 0,\n          void 0,\n          void 0,\n          [proto],\n          voidType,\n          void 0,\n          1,\n          0 /* None */\n        )];\n        type.constructSignatures = [];\n        return;\n      }\n      let constructSignatures = symbol.members ? getSignaturesOfSymbol(symbol.members.get(\"__constructor\" /* Constructor */)) : emptyArray;\n      if (symbol.flags & 16 /* Function */) {\n        constructSignatures = addRange(constructSignatures.slice(), mapDefined(\n          type.callSignatures,\n          (sig) => isJSConstructor(sig.declaration) ? createSignature(sig.declaration, sig.typeParameters, sig.thisParameter, sig.parameters, classType, void 0, sig.minArgumentCount, sig.flags & 39 /* PropagatingFlags */) : void 0\n        ));\n      }\n      if (!constructSignatures.length) {\n        constructSignatures = getDefaultConstructSignatures(classType);\n      }\n      type.constructSignatures = constructSignatures;\n    }\n  }\n  function replaceIndexedAccess(instantiable, type, replacement) {\n    return instantiateType(instantiable, createTypeMapper([type.indexType, type.objectType], [getNumberLiteralType(0), createTupleType([replacement])]));\n  }\n  function resolveReverseMappedTypeMembers(type) {\n    const indexInfo = getIndexInfoOfType(type.source, stringType);\n    const modifiers = getMappedTypeModifiers(type.mappedType);\n    const readonlyMask = modifiers & 1 /* IncludeReadonly */ ? false : true;\n    const optionalMask = modifiers & 4 /* IncludeOptional */ ? 0 : 16777216 /* Optional */;\n    const indexInfos = indexInfo ? [createIndexInfo(stringType, inferReverseMappedType(indexInfo.type, type.mappedType, type.constraintType), readonlyMask && indexInfo.isReadonly)] : emptyArray;\n    const members = createSymbolTable();\n    for (const prop of getPropertiesOfType(type.source)) {\n      const checkFlags = 8192 /* ReverseMapped */ | (readonlyMask && isReadonlySymbol(prop) ? 8 /* Readonly */ : 0);\n      const inferredProp = createSymbol(4 /* Property */ | prop.flags & optionalMask, prop.escapedName, checkFlags);\n      inferredProp.declarations = prop.declarations;\n      inferredProp.nameType = getSymbolLinks(prop).nameType;\n      inferredProp.propertyType = getTypeOfSymbol(prop);\n      if (type.constraintType.type.flags & 8388608 /* IndexedAccess */ && type.constraintType.type.objectType.flags & 262144 /* TypeParameter */ && type.constraintType.type.indexType.flags & 262144 /* TypeParameter */) {\n        const newTypeParam = type.constraintType.type.objectType;\n        const newMappedType = replaceIndexedAccess(type.mappedType, type.constraintType.type, newTypeParam);\n        inferredProp.mappedType = newMappedType;\n        inferredProp.constraintType = getIndexType(newTypeParam);\n      } else {\n        inferredProp.mappedType = type.mappedType;\n        inferredProp.constraintType = type.constraintType;\n      }\n      members.set(prop.escapedName, inferredProp);\n    }\n    setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos);\n  }\n  function getLowerBoundOfKeyType(type) {\n    if (type.flags & 4194304 /* Index */) {\n      const t = getApparentType(type.type);\n      return isGenericTupleType(t) ? getKnownKeysOfTupleType(t) : getIndexType(t);\n    }\n    if (type.flags & 16777216 /* Conditional */) {\n      if (type.root.isDistributive) {\n        const checkType = type.checkType;\n        const constraint = getLowerBoundOfKeyType(checkType);\n        if (constraint !== checkType) {\n          return getConditionalTypeInstantiation(type, prependTypeMapping(type.root.checkType, constraint, type.mapper));\n        }\n      }\n      return type;\n    }\n    if (type.flags & 1048576 /* Union */) {\n      return mapType(type, getLowerBoundOfKeyType);\n    }\n    if (type.flags & 2097152 /* Intersection */) {\n      const types = type.types;\n      if (types.length === 2 && !!(types[0].flags & (4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) && types[1] === emptyTypeLiteralType) {\n        return type;\n      }\n      return getIntersectionType(sameMap(type.types, getLowerBoundOfKeyType));\n    }\n    return type;\n  }\n  function getIsLateCheckFlag(s) {\n    return getCheckFlags(s) & 4096 /* Late */;\n  }\n  function forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(type, include, stringsOnly, cb) {\n    for (const prop of getPropertiesOfType(type)) {\n      cb(getLiteralTypeFromProperty(prop, include));\n    }\n    if (type.flags & 1 /* Any */) {\n      cb(stringType);\n    } else {\n      for (const info of getIndexInfosOfType(type)) {\n        if (!stringsOnly || info.keyType.flags & (4 /* String */ | 134217728 /* TemplateLiteral */)) {\n          cb(info.keyType);\n        }\n      }\n    }\n  }\n  function resolveMappedTypeMembers(type) {\n    const members = createSymbolTable();\n    let indexInfos;\n    setStructuredTypeMembers(type, emptySymbols, emptyArray, emptyArray, emptyArray);\n    const typeParameter = getTypeParameterFromMappedType(type);\n    const constraintType = getConstraintTypeFromMappedType(type);\n    const nameType = getNameTypeFromMappedType(type.target || type);\n    const templateType = getTemplateTypeFromMappedType(type.target || type);\n    const modifiersType = getApparentType(getModifiersTypeFromMappedType(type));\n    const templateModifiers = getMappedTypeModifiers(type);\n    const include = keyofStringsOnly ? 128 /* StringLiteral */ : 8576 /* StringOrNumberLiteralOrUnique */;\n    if (isMappedTypeWithKeyofConstraintDeclaration(type)) {\n      forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(modifiersType, include, keyofStringsOnly, addMemberForKeyType);\n    } else {\n      forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType);\n    }\n    setStructuredTypeMembers(type, members, emptyArray, emptyArray, indexInfos || emptyArray);\n    function addMemberForKeyType(keyType) {\n      const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType;\n      forEachType(propNameType, (t) => addMemberForKeyTypeWorker(keyType, t));\n    }\n    function addMemberForKeyTypeWorker(keyType, propNameType) {\n      if (isTypeUsableAsPropertyName(propNameType)) {\n        const propName = getPropertyNameFromType(propNameType);\n        const existingProp = members.get(propName);\n        if (existingProp) {\n          existingProp.nameType = getUnionType([existingProp.nameType, propNameType]);\n          existingProp.keyType = getUnionType([existingProp.keyType, keyType]);\n        } else {\n          const modifiersProp = isTypeUsableAsPropertyName(keyType) ? getPropertyOfType(modifiersType, getPropertyNameFromType(keyType)) : void 0;\n          const isOptional = !!(templateModifiers & 4 /* IncludeOptional */ || !(templateModifiers & 8 /* ExcludeOptional */) && modifiersProp && modifiersProp.flags & 16777216 /* Optional */);\n          const isReadonly = !!(templateModifiers & 1 /* IncludeReadonly */ || !(templateModifiers & 2 /* ExcludeReadonly */) && modifiersProp && isReadonlySymbol(modifiersProp));\n          const stripOptional = strictNullChecks && !isOptional && modifiersProp && modifiersProp.flags & 16777216 /* Optional */;\n          const lateFlag = modifiersProp ? getIsLateCheckFlag(modifiersProp) : 0;\n          const prop = createSymbol(\n            4 /* Property */ | (isOptional ? 16777216 /* Optional */ : 0),\n            propName,\n            lateFlag | 262144 /* Mapped */ | (isReadonly ? 8 /* Readonly */ : 0) | (stripOptional ? 524288 /* StripOptional */ : 0)\n          );\n          prop.mappedType = type;\n          prop.nameType = propNameType;\n          prop.keyType = keyType;\n          if (modifiersProp) {\n            prop.syntheticOrigin = modifiersProp;\n            prop.declarations = nameType ? void 0 : modifiersProp.declarations;\n          }\n          members.set(propName, prop);\n        }\n      } else if (isValidIndexKeyType(propNameType) || propNameType.flags & (1 /* Any */ | 32 /* Enum */)) {\n        const indexKeyType = propNameType.flags & (1 /* Any */ | 4 /* String */) ? stringType : propNameType.flags & (8 /* Number */ | 32 /* Enum */) ? numberType : propNameType;\n        const propType = instantiateType(templateType, appendTypeMapping(type.mapper, typeParameter, keyType));\n        const indexInfo = createIndexInfo(indexKeyType, propType, !!(templateModifiers & 1 /* IncludeReadonly */));\n        indexInfos = appendIndexInfo(indexInfos, indexInfo, true);\n      }\n    }\n  }\n  function getTypeOfMappedSymbol(symbol) {\n    if (!symbol.type) {\n      const mappedType = symbol.mappedType;\n      if (!pushTypeResolution(symbol, 0 /* Type */)) {\n        mappedType.containsError = true;\n        return errorType;\n      }\n      const templateType = getTemplateTypeFromMappedType(mappedType.target || mappedType);\n      const mapper = appendTypeMapping(mappedType.mapper, getTypeParameterFromMappedType(mappedType), symbol.keyType);\n      const propType = instantiateType(templateType, mapper);\n      let type = strictNullChecks && symbol.flags & 16777216 /* Optional */ && !maybeTypeOfKind(propType, 32768 /* Undefined */ | 16384 /* Void */) ? getOptionalType(propType, true) : symbol.checkFlags & 524288 /* StripOptional */ ? removeMissingOrUndefinedType(propType) : propType;\n      if (!popTypeResolution()) {\n        error(currentNode, Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1, symbolToString(symbol), typeToString(mappedType));\n        type = errorType;\n      }\n      symbol.type = type;\n    }\n    return symbol.type;\n  }\n  function getTypeParameterFromMappedType(type) {\n    return type.typeParameter || (type.typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfNode(type.declaration.typeParameter)));\n  }\n  function getConstraintTypeFromMappedType(type) {\n    return type.constraintType || (type.constraintType = getConstraintOfTypeParameter(getTypeParameterFromMappedType(type)) || errorType);\n  }\n  function getNameTypeFromMappedType(type) {\n    return type.declaration.nameType ? type.nameType || (type.nameType = instantiateType(getTypeFromTypeNode(type.declaration.nameType), type.mapper)) : void 0;\n  }\n  function getTemplateTypeFromMappedType(type) {\n    return type.templateType || (type.templateType = type.declaration.type ? instantiateType(addOptionality(getTypeFromTypeNode(type.declaration.type), true, !!(getMappedTypeModifiers(type) & 4 /* IncludeOptional */)), type.mapper) : errorType);\n  }\n  function getConstraintDeclarationForMappedType(type) {\n    return getEffectiveConstraintOfTypeParameter(type.declaration.typeParameter);\n  }\n  function isMappedTypeWithKeyofConstraintDeclaration(type) {\n    const constraintDeclaration = getConstraintDeclarationForMappedType(type);\n    return constraintDeclaration.kind === 198 /* TypeOperator */ && constraintDeclaration.operator === 142 /* KeyOfKeyword */;\n  }\n  function getModifiersTypeFromMappedType(type) {\n    if (!type.modifiersType) {\n      if (isMappedTypeWithKeyofConstraintDeclaration(type)) {\n        type.modifiersType = instantiateType(getTypeFromTypeNode(getConstraintDeclarationForMappedType(type).type), type.mapper);\n      } else {\n        const declaredType = getTypeFromMappedTypeNode(type.declaration);\n        const constraint = getConstraintTypeFromMappedType(declaredType);\n        const extendedConstraint = constraint && constraint.flags & 262144 /* TypeParameter */ ? getConstraintOfTypeParameter(constraint) : constraint;\n        type.modifiersType = extendedConstraint && extendedConstraint.flags & 4194304 /* Index */ ? instantiateType(extendedConstraint.type, type.mapper) : unknownType;\n      }\n    }\n    return type.modifiersType;\n  }\n  function getMappedTypeModifiers(type) {\n    const declaration = type.declaration;\n    return (declaration.readonlyToken ? declaration.readonlyToken.kind === 40 /* MinusToken */ ? 2 /* ExcludeReadonly */ : 1 /* IncludeReadonly */ : 0) | (declaration.questionToken ? declaration.questionToken.kind === 40 /* MinusToken */ ? 8 /* ExcludeOptional */ : 4 /* IncludeOptional */ : 0);\n  }\n  function getMappedTypeOptionality(type) {\n    const modifiers = getMappedTypeModifiers(type);\n    return modifiers & 8 /* ExcludeOptional */ ? -1 : modifiers & 4 /* IncludeOptional */ ? 1 : 0;\n  }\n  function getCombinedMappedTypeOptionality(type) {\n    const optionality = getMappedTypeOptionality(type);\n    const modifiersType = getModifiersTypeFromMappedType(type);\n    return optionality || (isGenericMappedType(modifiersType) ? getMappedTypeOptionality(modifiersType) : 0);\n  }\n  function isPartialMappedType(type) {\n    return !!(getObjectFlags(type) & 32 /* Mapped */ && getMappedTypeModifiers(type) & 4 /* IncludeOptional */);\n  }\n  function isGenericMappedType(type) {\n    if (getObjectFlags(type) & 32 /* Mapped */) {\n      const constraint = getConstraintTypeFromMappedType(type);\n      if (isGenericIndexType(constraint)) {\n        return true;\n      }\n      const nameType = getNameTypeFromMappedType(type);\n      if (nameType && isGenericIndexType(instantiateType(nameType, makeUnaryTypeMapper(getTypeParameterFromMappedType(type), constraint)))) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function resolveStructuredTypeMembers(type) {\n    if (!type.members) {\n      if (type.flags & 524288 /* Object */) {\n        if (type.objectFlags & 4 /* Reference */) {\n          resolveTypeReferenceMembers(type);\n        } else if (type.objectFlags & 3 /* ClassOrInterface */) {\n          resolveClassOrInterfaceMembers(type);\n        } else if (type.objectFlags & 1024 /* ReverseMapped */) {\n          resolveReverseMappedTypeMembers(type);\n        } else if (type.objectFlags & 16 /* Anonymous */) {\n          resolveAnonymousTypeMembers(type);\n        } else if (type.objectFlags & 32 /* Mapped */) {\n          resolveMappedTypeMembers(type);\n        } else {\n          Debug.fail(\"Unhandled object type \" + Debug.formatObjectFlags(type.objectFlags));\n        }\n      } else if (type.flags & 1048576 /* Union */) {\n        resolveUnionTypeMembers(type);\n      } else if (type.flags & 2097152 /* Intersection */) {\n        resolveIntersectionTypeMembers(type);\n      } else {\n        Debug.fail(\"Unhandled type \" + Debug.formatTypeFlags(type.flags));\n      }\n    }\n    return type;\n  }\n  function getPropertiesOfObjectType(type) {\n    if (type.flags & 524288 /* Object */) {\n      return resolveStructuredTypeMembers(type).properties;\n    }\n    return emptyArray;\n  }\n  function getPropertyOfObjectType(type, name) {\n    if (type.flags & 524288 /* Object */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      const symbol = resolved.members.get(name);\n      if (symbol && symbolIsValue(symbol)) {\n        return symbol;\n      }\n    }\n  }\n  function getPropertiesOfUnionOrIntersectionType(type) {\n    if (!type.resolvedProperties) {\n      const members = createSymbolTable();\n      for (const current of type.types) {\n        for (const prop of getPropertiesOfType(current)) {\n          if (!members.has(prop.escapedName)) {\n            const combinedProp = getPropertyOfUnionOrIntersectionType(type, prop.escapedName);\n            if (combinedProp) {\n              members.set(prop.escapedName, combinedProp);\n            }\n          }\n        }\n        if (type.flags & 1048576 /* Union */ && getIndexInfosOfType(current).length === 0) {\n          break;\n        }\n      }\n      type.resolvedProperties = getNamedMembers(members);\n    }\n    return type.resolvedProperties;\n  }\n  function getPropertiesOfType(type) {\n    type = getReducedApparentType(type);\n    return type.flags & 3145728 /* UnionOrIntersection */ ? getPropertiesOfUnionOrIntersectionType(type) : getPropertiesOfObjectType(type);\n  }\n  function forEachPropertyOfType(type, action) {\n    type = getReducedApparentType(type);\n    if (type.flags & 3670016 /* StructuredType */) {\n      resolveStructuredTypeMembers(type).members.forEach((symbol, escapedName) => {\n        if (isNamedMember(symbol, escapedName)) {\n          action(symbol, escapedName);\n        }\n      });\n    }\n  }\n  function isTypeInvalidDueToUnionDiscriminant(contextualType, obj) {\n    const list = obj.properties;\n    return list.some((property) => {\n      const nameType = property.name && getLiteralTypeFromPropertyName(property.name);\n      const name = nameType && isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0;\n      const expected = name === void 0 ? void 0 : getTypeOfPropertyOfType(contextualType, name);\n      return !!expected && isLiteralType3(expected) && !isTypeAssignableTo(getTypeOfNode(property), expected);\n    });\n  }\n  function getAllPossiblePropertiesOfTypes(types) {\n    const unionType = getUnionType(types);\n    if (!(unionType.flags & 1048576 /* Union */)) {\n      return getAugmentedPropertiesOfType(unionType);\n    }\n    const props = createSymbolTable();\n    for (const memberType of types) {\n      for (const { escapedName } of getAugmentedPropertiesOfType(memberType)) {\n        if (!props.has(escapedName)) {\n          const prop = createUnionOrIntersectionProperty(unionType, escapedName);\n          if (prop)\n            props.set(escapedName, prop);\n        }\n      }\n    }\n    return arrayFrom(props.values());\n  }\n  function getConstraintOfType(type) {\n    return type.flags & 262144 /* TypeParameter */ ? getConstraintOfTypeParameter(type) : type.flags & 8388608 /* IndexedAccess */ ? getConstraintOfIndexedAccess(type) : type.flags & 16777216 /* Conditional */ ? getConstraintOfConditionalType(type) : getBaseConstraintOfType(type);\n  }\n  function getConstraintOfTypeParameter(typeParameter) {\n    return hasNonCircularBaseConstraint(typeParameter) ? getConstraintFromTypeParameter(typeParameter) : void 0;\n  }\n  function getConstraintOfIndexedAccess(type) {\n    return hasNonCircularBaseConstraint(type) ? getConstraintFromIndexedAccess(type) : void 0;\n  }\n  function getSimplifiedTypeOrConstraint(type) {\n    const simplified = getSimplifiedType(type, false);\n    return simplified !== type ? simplified : getConstraintOfType(type);\n  }\n  function getConstraintFromIndexedAccess(type) {\n    if (isMappedTypeGenericIndexedAccess(type)) {\n      return substituteIndexedMappedType(type.objectType, type.indexType);\n    }\n    const indexConstraint = getSimplifiedTypeOrConstraint(type.indexType);\n    if (indexConstraint && indexConstraint !== type.indexType) {\n      const indexedAccess = getIndexedAccessTypeOrUndefined(type.objectType, indexConstraint, type.accessFlags);\n      if (indexedAccess) {\n        return indexedAccess;\n      }\n    }\n    const objectConstraint = getSimplifiedTypeOrConstraint(type.objectType);\n    if (objectConstraint && objectConstraint !== type.objectType) {\n      return getIndexedAccessTypeOrUndefined(objectConstraint, type.indexType, type.accessFlags);\n    }\n    return void 0;\n  }\n  function getDefaultConstraintOfConditionalType(type) {\n    if (!type.resolvedDefaultConstraint) {\n      const trueConstraint = getInferredTrueTypeFromConditionalType(type);\n      const falseConstraint = getFalseTypeFromConditionalType(type);\n      type.resolvedDefaultConstraint = isTypeAny(trueConstraint) ? falseConstraint : isTypeAny(falseConstraint) ? trueConstraint : getUnionType([trueConstraint, falseConstraint]);\n    }\n    return type.resolvedDefaultConstraint;\n  }\n  function getConstraintOfDistributiveConditionalType(type) {\n    if (type.root.isDistributive && type.restrictiveInstantiation !== type) {\n      const simplified = getSimplifiedType(type.checkType, false);\n      const constraint = simplified === type.checkType ? getConstraintOfType(simplified) : simplified;\n      if (constraint && constraint !== type.checkType) {\n        const instantiated = getConditionalTypeInstantiation(type, prependTypeMapping(type.root.checkType, constraint, type.mapper));\n        if (!(instantiated.flags & 131072 /* Never */)) {\n          return instantiated;\n        }\n      }\n    }\n    return void 0;\n  }\n  function getConstraintFromConditionalType(type) {\n    return getConstraintOfDistributiveConditionalType(type) || getDefaultConstraintOfConditionalType(type);\n  }\n  function getConstraintOfConditionalType(type) {\n    return hasNonCircularBaseConstraint(type) ? getConstraintFromConditionalType(type) : void 0;\n  }\n  function getEffectiveConstraintOfIntersection(types, targetIsUnion) {\n    let constraints;\n    let hasDisjointDomainType = false;\n    for (const t of types) {\n      if (t.flags & 465829888 /* Instantiable */) {\n        let constraint = getConstraintOfType(t);\n        while (constraint && constraint.flags & (262144 /* TypeParameter */ | 4194304 /* Index */ | 16777216 /* Conditional */)) {\n          constraint = getConstraintOfType(constraint);\n        }\n        if (constraint) {\n          constraints = append(constraints, constraint);\n          if (targetIsUnion) {\n            constraints = append(constraints, t);\n          }\n        }\n      } else if (t.flags & 469892092 /* DisjointDomains */ || isEmptyAnonymousObjectType(t)) {\n        hasDisjointDomainType = true;\n      }\n    }\n    if (constraints && (targetIsUnion || hasDisjointDomainType)) {\n      if (hasDisjointDomainType) {\n        for (const t of types) {\n          if (t.flags & 469892092 /* DisjointDomains */ || isEmptyAnonymousObjectType(t)) {\n            constraints = append(constraints, t);\n          }\n        }\n      }\n      return getNormalizedType(getIntersectionType(constraints), false);\n    }\n    return void 0;\n  }\n  function getBaseConstraintOfType(type) {\n    if (type.flags & (58982400 /* InstantiableNonPrimitive */ | 3145728 /* UnionOrIntersection */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */)) {\n      const constraint = getResolvedBaseConstraint(type);\n      return constraint !== noConstraintType && constraint !== circularConstraintType ? constraint : void 0;\n    }\n    return type.flags & 4194304 /* Index */ ? keyofConstraintType : void 0;\n  }\n  function getBaseConstraintOrType(type) {\n    return getBaseConstraintOfType(type) || type;\n  }\n  function hasNonCircularBaseConstraint(type) {\n    return getResolvedBaseConstraint(type) !== circularConstraintType;\n  }\n  function getResolvedBaseConstraint(type) {\n    if (type.resolvedBaseConstraint) {\n      return type.resolvedBaseConstraint;\n    }\n    const stack = [];\n    return type.resolvedBaseConstraint = getTypeWithThisArgument(getImmediateBaseConstraint(type), type);\n    function getImmediateBaseConstraint(t) {\n      if (!t.immediateBaseConstraint) {\n        if (!pushTypeResolution(t, 4 /* ImmediateBaseConstraint */)) {\n          return circularConstraintType;\n        }\n        let result;\n        const identity2 = getRecursionIdentity(t);\n        if (stack.length < 10 || stack.length < 50 && !contains(stack, identity2)) {\n          stack.push(identity2);\n          result = computeBaseConstraint(getSimplifiedType(t, false));\n          stack.pop();\n        }\n        if (!popTypeResolution()) {\n          if (t.flags & 262144 /* TypeParameter */) {\n            const errorNode = getConstraintDeclaration(t);\n            if (errorNode) {\n              const diagnostic = error(errorNode, Diagnostics.Type_parameter_0_has_a_circular_constraint, typeToString(t));\n              if (currentNode && !isNodeDescendantOf(errorNode, currentNode) && !isNodeDescendantOf(currentNode, errorNode)) {\n                addRelatedInfo(diagnostic, createDiagnosticForNode(currentNode, Diagnostics.Circularity_originates_in_type_at_this_location));\n              }\n            }\n          }\n          result = circularConstraintType;\n        }\n        t.immediateBaseConstraint = result || noConstraintType;\n      }\n      return t.immediateBaseConstraint;\n    }\n    function getBaseConstraint(t) {\n      const c = getImmediateBaseConstraint(t);\n      return c !== noConstraintType && c !== circularConstraintType ? c : void 0;\n    }\n    function computeBaseConstraint(t) {\n      if (t.flags & 262144 /* TypeParameter */) {\n        const constraint = getConstraintFromTypeParameter(t);\n        return t.isThisType || !constraint ? constraint : getBaseConstraint(constraint);\n      }\n      if (t.flags & 3145728 /* UnionOrIntersection */) {\n        const types = t.types;\n        const baseTypes = [];\n        let different = false;\n        for (const type2 of types) {\n          const baseType = getBaseConstraint(type2);\n          if (baseType) {\n            if (baseType !== type2) {\n              different = true;\n            }\n            baseTypes.push(baseType);\n          } else {\n            different = true;\n          }\n        }\n        if (!different) {\n          return t;\n        }\n        return t.flags & 1048576 /* Union */ && baseTypes.length === types.length ? getUnionType(baseTypes) : t.flags & 2097152 /* Intersection */ && baseTypes.length ? getIntersectionType(baseTypes) : void 0;\n      }\n      if (t.flags & 4194304 /* Index */) {\n        return keyofConstraintType;\n      }\n      if (t.flags & 134217728 /* TemplateLiteral */) {\n        const types = t.types;\n        const constraints = mapDefined(types, getBaseConstraint);\n        return constraints.length === types.length ? getTemplateLiteralType(t.texts, constraints) : stringType;\n      }\n      if (t.flags & 268435456 /* StringMapping */) {\n        const constraint = getBaseConstraint(t.type);\n        return constraint && constraint !== t.type ? getStringMappingType(t.symbol, constraint) : stringType;\n      }\n      if (t.flags & 8388608 /* IndexedAccess */) {\n        if (isMappedTypeGenericIndexedAccess(t)) {\n          return getBaseConstraint(substituteIndexedMappedType(t.objectType, t.indexType));\n        }\n        const baseObjectType = getBaseConstraint(t.objectType);\n        const baseIndexType = getBaseConstraint(t.indexType);\n        const baseIndexedAccess = baseObjectType && baseIndexType && getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, t.accessFlags);\n        return baseIndexedAccess && getBaseConstraint(baseIndexedAccess);\n      }\n      if (t.flags & 16777216 /* Conditional */) {\n        const constraint = getConstraintFromConditionalType(t);\n        return constraint && getBaseConstraint(constraint);\n      }\n      if (t.flags & 33554432 /* Substitution */) {\n        return getBaseConstraint(getSubstitutionIntersection(t));\n      }\n      return t;\n    }\n  }\n  function getApparentTypeOfIntersectionType(type) {\n    return type.resolvedApparentType || (type.resolvedApparentType = getTypeWithThisArgument(type, type, true));\n  }\n  function getResolvedTypeParameterDefault(typeParameter) {\n    if (!typeParameter.default) {\n      if (typeParameter.target) {\n        const targetDefault = getResolvedTypeParameterDefault(typeParameter.target);\n        typeParameter.default = targetDefault ? instantiateType(targetDefault, typeParameter.mapper) : noConstraintType;\n      } else {\n        typeParameter.default = resolvingDefaultType;\n        const defaultDeclaration = typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default);\n        const defaultType = defaultDeclaration ? getTypeFromTypeNode(defaultDeclaration) : noConstraintType;\n        if (typeParameter.default === resolvingDefaultType) {\n          typeParameter.default = defaultType;\n        }\n      }\n    } else if (typeParameter.default === resolvingDefaultType) {\n      typeParameter.default = circularConstraintType;\n    }\n    return typeParameter.default;\n  }\n  function getDefaultFromTypeParameter(typeParameter) {\n    const defaultType = getResolvedTypeParameterDefault(typeParameter);\n    return defaultType !== noConstraintType && defaultType !== circularConstraintType ? defaultType : void 0;\n  }\n  function hasNonCircularTypeParameterDefault(typeParameter) {\n    return getResolvedTypeParameterDefault(typeParameter) !== circularConstraintType;\n  }\n  function hasTypeParameterDefault(typeParameter) {\n    return !!(typeParameter.symbol && forEach(typeParameter.symbol.declarations, (decl) => isTypeParameterDeclaration(decl) && decl.default));\n  }\n  function getApparentTypeOfMappedType(type) {\n    return type.resolvedApparentType || (type.resolvedApparentType = getResolvedApparentTypeOfMappedType(type));\n  }\n  function getResolvedApparentTypeOfMappedType(type) {\n    const typeVariable = getHomomorphicTypeVariable(type);\n    if (typeVariable && !type.declaration.nameType) {\n      const constraint = getConstraintOfTypeParameter(typeVariable);\n      if (constraint && isArrayOrTupleType(constraint)) {\n        return instantiateType(type, prependTypeMapping(typeVariable, constraint, type.mapper));\n      }\n    }\n    return type;\n  }\n  function isMappedTypeGenericIndexedAccess(type) {\n    let objectType;\n    return !!(type.flags & 8388608 /* IndexedAccess */ && getObjectFlags(objectType = type.objectType) & 32 /* Mapped */ && !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && !(getMappedTypeModifiers(objectType) & 8 /* ExcludeOptional */) && !objectType.declaration.nameType);\n  }\n  function getApparentType(type) {\n    const t = !(type.flags & 465829888 /* Instantiable */) ? type : getBaseConstraintOfType(type) || unknownType;\n    return getObjectFlags(t) & 32 /* Mapped */ ? getApparentTypeOfMappedType(t) : t.flags & 2097152 /* Intersection */ ? getApparentTypeOfIntersectionType(t) : t.flags & 402653316 /* StringLike */ ? globalStringType : t.flags & 296 /* NumberLike */ ? globalNumberType : t.flags & 2112 /* BigIntLike */ ? getGlobalBigIntType() : t.flags & 528 /* BooleanLike */ ? globalBooleanType : t.flags & 12288 /* ESSymbolLike */ ? getGlobalESSymbolType() : t.flags & 67108864 /* NonPrimitive */ ? emptyObjectType : t.flags & 4194304 /* Index */ ? keyofConstraintType : t.flags & 2 /* Unknown */ && !strictNullChecks ? emptyObjectType : t;\n  }\n  function getReducedApparentType(type) {\n    return getReducedType(getApparentType(getReducedType(type)));\n  }\n  function createUnionOrIntersectionProperty(containingType, name, skipObjectFunctionPropertyAugment) {\n    var _a2, _b;\n    let singleProp;\n    let propSet;\n    let indexTypes;\n    const isUnion = containingType.flags & 1048576 /* Union */;\n    let optionalFlag;\n    let syntheticFlag = 4 /* SyntheticMethod */;\n    let checkFlags = isUnion ? 0 : 8 /* Readonly */;\n    let mergedInstantiations = false;\n    for (const current of containingType.types) {\n      const type = getApparentType(current);\n      if (!(isErrorType(type) || type.flags & 131072 /* Never */)) {\n        const prop = getPropertyOfType(type, name, skipObjectFunctionPropertyAugment);\n        const modifiers = prop ? getDeclarationModifierFlagsFromSymbol(prop) : 0;\n        if (prop) {\n          if (prop.flags & 106500 /* ClassMember */) {\n            optionalFlag != null ? optionalFlag : optionalFlag = isUnion ? 0 /* None */ : 16777216 /* Optional */;\n            if (isUnion) {\n              optionalFlag |= prop.flags & 16777216 /* Optional */;\n            } else {\n              optionalFlag &= prop.flags;\n            }\n          }\n          if (!singleProp) {\n            singleProp = prop;\n          } else if (prop !== singleProp) {\n            const isInstantiation = (getTargetSymbol(prop) || prop) === (getTargetSymbol(singleProp) || singleProp);\n            if (isInstantiation && compareProperties2(singleProp, prop, (a, b) => a === b ? -1 /* True */ : 0 /* False */) === -1 /* True */) {\n              mergedInstantiations = !!singleProp.parent && !!length(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(singleProp.parent));\n            } else {\n              if (!propSet) {\n                propSet = new Map2();\n                propSet.set(getSymbolId(singleProp), singleProp);\n              }\n              const id = getSymbolId(prop);\n              if (!propSet.has(id)) {\n                propSet.set(id, prop);\n              }\n            }\n          }\n          if (isUnion && isReadonlySymbol(prop)) {\n            checkFlags |= 8 /* Readonly */;\n          } else if (!isUnion && !isReadonlySymbol(prop)) {\n            checkFlags &= ~8 /* Readonly */;\n          }\n          checkFlags |= (!(modifiers & 24 /* NonPublicAccessibilityModifier */) ? 256 /* ContainsPublic */ : 0) | (modifiers & 16 /* Protected */ ? 512 /* ContainsProtected */ : 0) | (modifiers & 8 /* Private */ ? 1024 /* ContainsPrivate */ : 0) | (modifiers & 32 /* Static */ ? 2048 /* ContainsStatic */ : 0);\n          if (!isPrototypeProperty(prop)) {\n            syntheticFlag = 2 /* SyntheticProperty */;\n          }\n        } else if (isUnion) {\n          const indexInfo = !isLateBoundName(name) && getApplicableIndexInfoForName(type, name);\n          if (indexInfo) {\n            checkFlags |= 32 /* WritePartial */ | (indexInfo.isReadonly ? 8 /* Readonly */ : 0);\n            indexTypes = append(indexTypes, isTupleType(type) ? getRestTypeOfTupleType(type) || undefinedType : indexInfo.type);\n          } else if (isObjectLiteralType4(type) && !(getObjectFlags(type) & 2097152 /* ContainsSpread */)) {\n            checkFlags |= 32 /* WritePartial */;\n            indexTypes = append(indexTypes, undefinedType);\n          } else {\n            checkFlags |= 16 /* ReadPartial */;\n          }\n        }\n      }\n    }\n    if (!singleProp || isUnion && (propSet || checkFlags & 48 /* Partial */) && checkFlags & (1024 /* ContainsPrivate */ | 512 /* ContainsProtected */) && !(propSet && getCommonDeclarationsOfSymbols(arrayFrom(propSet.values())))) {\n      return void 0;\n    }\n    if (!propSet && !(checkFlags & 16 /* ReadPartial */) && !indexTypes) {\n      if (mergedInstantiations) {\n        const clone2 = createSymbolWithType(singleProp, singleProp.type);\n        clone2.parent = (_b = (_a2 = singleProp.valueDeclaration) == null ? void 0 : _a2.symbol) == null ? void 0 : _b.parent;\n        clone2.containingType = containingType;\n        clone2.mapper = singleProp.mapper;\n        return clone2;\n      } else {\n        return singleProp;\n      }\n    }\n    const props = propSet ? arrayFrom(propSet.values()) : [singleProp];\n    let declarations;\n    let firstType;\n    let nameType;\n    const propTypes = [];\n    let writeTypes;\n    let firstValueDeclaration;\n    let hasNonUniformValueDeclaration = false;\n    for (const prop of props) {\n      if (!firstValueDeclaration) {\n        firstValueDeclaration = prop.valueDeclaration;\n      } else if (prop.valueDeclaration && prop.valueDeclaration !== firstValueDeclaration) {\n        hasNonUniformValueDeclaration = true;\n      }\n      declarations = addRange(declarations, prop.declarations);\n      const type = getTypeOfSymbol(prop);\n      if (!firstType) {\n        firstType = type;\n        nameType = getSymbolLinks(prop).nameType;\n      }\n      const writeType = getWriteTypeOfSymbol(prop);\n      if (writeTypes || writeType !== type) {\n        writeTypes = append(!writeTypes ? propTypes.slice() : writeTypes, writeType);\n      } else if (type !== firstType) {\n        checkFlags |= 64 /* HasNonUniformType */;\n      }\n      if (isLiteralType3(type) || isPatternLiteralType(type) || type === uniqueLiteralType) {\n        checkFlags |= 128 /* HasLiteralType */;\n      }\n      if (type.flags & 131072 /* Never */ && type !== uniqueLiteralType) {\n        checkFlags |= 131072 /* HasNeverType */;\n      }\n      propTypes.push(type);\n    }\n    addRange(propTypes, indexTypes);\n    const result = createSymbol(4 /* Property */ | (optionalFlag != null ? optionalFlag : 0), name, syntheticFlag | checkFlags);\n    result.containingType = containingType;\n    if (!hasNonUniformValueDeclaration && firstValueDeclaration) {\n      result.valueDeclaration = firstValueDeclaration;\n      if (firstValueDeclaration.symbol.parent) {\n        result.parent = firstValueDeclaration.symbol.parent;\n      }\n    }\n    result.declarations = declarations;\n    result.nameType = nameType;\n    if (propTypes.length > 2) {\n      result.checkFlags |= 65536 /* DeferredType */;\n      result.deferralParent = containingType;\n      result.deferralConstituents = propTypes;\n      result.deferralWriteConstituents = writeTypes;\n    } else {\n      result.type = isUnion ? getUnionType(propTypes) : getIntersectionType(propTypes);\n      if (writeTypes) {\n        result.writeType = isUnion ? getUnionType(writeTypes) : getIntersectionType(writeTypes);\n      }\n    }\n    return result;\n  }\n  function getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment) {\n    var _a2, _b;\n    let property = ((_a2 = type.propertyCacheWithoutObjectFunctionPropertyAugment) == null ? void 0 : _a2.get(name)) || !skipObjectFunctionPropertyAugment ? (_b = type.propertyCache) == null ? void 0 : _b.get(name) : void 0;\n    if (!property) {\n      property = createUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);\n      if (property) {\n        const properties = skipObjectFunctionPropertyAugment ? type.propertyCacheWithoutObjectFunctionPropertyAugment || (type.propertyCacheWithoutObjectFunctionPropertyAugment = createSymbolTable()) : type.propertyCache || (type.propertyCache = createSymbolTable());\n        properties.set(name, property);\n      }\n    }\n    return property;\n  }\n  function getCommonDeclarationsOfSymbols(symbols) {\n    let commonDeclarations;\n    for (const symbol of symbols) {\n      if (!symbol.declarations) {\n        return void 0;\n      }\n      if (!commonDeclarations) {\n        commonDeclarations = new Set2(symbol.declarations);\n        continue;\n      }\n      commonDeclarations.forEach((declaration) => {\n        if (!contains(symbol.declarations, declaration)) {\n          commonDeclarations.delete(declaration);\n        }\n      });\n      if (commonDeclarations.size === 0) {\n        return void 0;\n      }\n    }\n    return commonDeclarations;\n  }\n  function getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment) {\n    const property = getUnionOrIntersectionProperty(type, name, skipObjectFunctionPropertyAugment);\n    return property && !(getCheckFlags(property) & 16 /* ReadPartial */) ? property : void 0;\n  }\n  function getReducedType(type) {\n    if (type.flags & 1048576 /* Union */ && type.objectFlags & 16777216 /* ContainsIntersections */) {\n      return type.resolvedReducedType || (type.resolvedReducedType = getReducedUnionType(type));\n    } else if (type.flags & 2097152 /* Intersection */) {\n      if (!(type.objectFlags & 16777216 /* IsNeverIntersectionComputed */)) {\n        type.objectFlags |= 16777216 /* IsNeverIntersectionComputed */ | (some(getPropertiesOfUnionOrIntersectionType(type), isNeverReducedProperty) ? 33554432 /* IsNeverIntersection */ : 0);\n      }\n      return type.objectFlags & 33554432 /* IsNeverIntersection */ ? neverType : type;\n    }\n    return type;\n  }\n  function getReducedUnionType(unionType) {\n    const reducedTypes = sameMap(unionType.types, getReducedType);\n    if (reducedTypes === unionType.types) {\n      return unionType;\n    }\n    const reduced = getUnionType(reducedTypes);\n    if (reduced.flags & 1048576 /* Union */) {\n      reduced.resolvedReducedType = reduced;\n    }\n    return reduced;\n  }\n  function isNeverReducedProperty(prop) {\n    return isDiscriminantWithNeverType(prop) || isConflictingPrivateProperty(prop);\n  }\n  function isDiscriminantWithNeverType(prop) {\n    return !(prop.flags & 16777216 /* Optional */) && (getCheckFlags(prop) & (192 /* Discriminant */ | 131072 /* HasNeverType */)) === 192 /* Discriminant */ && !!(getTypeOfSymbol(prop).flags & 131072 /* Never */);\n  }\n  function isConflictingPrivateProperty(prop) {\n    return !prop.valueDeclaration && !!(getCheckFlags(prop) & 1024 /* ContainsPrivate */);\n  }\n  function elaborateNeverIntersection(errorInfo, type) {\n    if (type.flags & 2097152 /* Intersection */ && getObjectFlags(type) & 33554432 /* IsNeverIntersection */) {\n      const neverProp = find(getPropertiesOfUnionOrIntersectionType(type), isDiscriminantWithNeverType);\n      if (neverProp) {\n        return chainDiagnosticMessages(\n          errorInfo,\n          Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,\n          typeToString(type, void 0, 536870912 /* NoTypeReduction */),\n          symbolToString(neverProp)\n        );\n      }\n      const privateProp = find(getPropertiesOfUnionOrIntersectionType(type), isConflictingPrivateProperty);\n      if (privateProp) {\n        return chainDiagnosticMessages(\n          errorInfo,\n          Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,\n          typeToString(type, void 0, 536870912 /* NoTypeReduction */),\n          symbolToString(privateProp)\n        );\n      }\n    }\n    return errorInfo;\n  }\n  function getPropertyOfType(type, name, skipObjectFunctionPropertyAugment, includeTypeOnlyMembers) {\n    type = getReducedApparentType(type);\n    if (type.flags & 524288 /* Object */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      const symbol = resolved.members.get(name);\n      if (symbol && symbolIsValue(symbol, includeTypeOnlyMembers)) {\n        return symbol;\n      }\n      if (skipObjectFunctionPropertyAugment)\n        return void 0;\n      const functionType = resolved === anyFunctionType ? globalFunctionType : resolved.callSignatures.length ? globalCallableFunctionType : resolved.constructSignatures.length ? globalNewableFunctionType : void 0;\n      if (functionType) {\n        const symbol2 = getPropertyOfObjectType(functionType, name);\n        if (symbol2) {\n          return symbol2;\n        }\n      }\n      return getPropertyOfObjectType(globalObjectType, name);\n    }\n    if (type.flags & 3145728 /* UnionOrIntersection */) {\n      return getPropertyOfUnionOrIntersectionType(type, name, skipObjectFunctionPropertyAugment);\n    }\n    return void 0;\n  }\n  function getSignaturesOfStructuredType(type, kind) {\n    if (type.flags & 3670016 /* StructuredType */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      return kind === 0 /* Call */ ? resolved.callSignatures : resolved.constructSignatures;\n    }\n    return emptyArray;\n  }\n  function getSignaturesOfType(type, kind) {\n    return getSignaturesOfStructuredType(getReducedApparentType(type), kind);\n  }\n  function findIndexInfo(indexInfos, keyType) {\n    return find(indexInfos, (info) => info.keyType === keyType);\n  }\n  function findApplicableIndexInfo(indexInfos, keyType) {\n    let stringIndexInfo;\n    let applicableInfo;\n    let applicableInfos;\n    for (const info of indexInfos) {\n      if (info.keyType === stringType) {\n        stringIndexInfo = info;\n      } else if (isApplicableIndexType(keyType, info.keyType)) {\n        if (!applicableInfo) {\n          applicableInfo = info;\n        } else {\n          (applicableInfos || (applicableInfos = [applicableInfo])).push(info);\n        }\n      }\n    }\n    return applicableInfos ? createIndexInfo(\n      unknownType,\n      getIntersectionType(map(applicableInfos, (info) => info.type)),\n      reduceLeft(applicableInfos, (isReadonly, info) => isReadonly && info.isReadonly, true)\n    ) : applicableInfo ? applicableInfo : stringIndexInfo && isApplicableIndexType(keyType, stringType) ? stringIndexInfo : void 0;\n  }\n  function isApplicableIndexType(source, target) {\n    return isTypeAssignableTo(source, target) || target === stringType && isTypeAssignableTo(source, numberType) || target === numberType && (source === numericStringType || !!(source.flags & 128 /* StringLiteral */) && isNumericLiteralName(source.value));\n  }\n  function getIndexInfosOfStructuredType(type) {\n    if (type.flags & 3670016 /* StructuredType */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      return resolved.indexInfos;\n    }\n    return emptyArray;\n  }\n  function getIndexInfosOfType(type) {\n    return getIndexInfosOfStructuredType(getReducedApparentType(type));\n  }\n  function getIndexInfoOfType(type, keyType) {\n    return findIndexInfo(getIndexInfosOfType(type), keyType);\n  }\n  function getIndexTypeOfType(type, keyType) {\n    var _a2;\n    return (_a2 = getIndexInfoOfType(type, keyType)) == null ? void 0 : _a2.type;\n  }\n  function getApplicableIndexInfos(type, keyType) {\n    return getIndexInfosOfType(type).filter((info) => isApplicableIndexType(keyType, info.keyType));\n  }\n  function getApplicableIndexInfo(type, keyType) {\n    return findApplicableIndexInfo(getIndexInfosOfType(type), keyType);\n  }\n  function getApplicableIndexInfoForName(type, name) {\n    return getApplicableIndexInfo(type, isLateBoundName(name) ? esSymbolType : getStringLiteralType(unescapeLeadingUnderscores(name)));\n  }\n  function getTypeParametersFromDeclaration(declaration) {\n    var _a2;\n    let result;\n    for (const node of getEffectiveTypeParameterDeclarations(declaration)) {\n      result = appendIfUnique(result, getDeclaredTypeOfTypeParameter(node.symbol));\n    }\n    return (result == null ? void 0 : result.length) ? result : isFunctionDeclaration(declaration) ? (_a2 = getSignatureOfTypeTag(declaration)) == null ? void 0 : _a2.typeParameters : void 0;\n  }\n  function symbolsToArray(symbols) {\n    const result = [];\n    symbols.forEach((symbol, id) => {\n      if (!isReservedMemberName(id)) {\n        result.push(symbol);\n      }\n    });\n    return result;\n  }\n  function isJSDocOptionalParameter(node) {\n    return isInJSFile(node) && (node.type && node.type.kind === 325 /* JSDocOptionalType */ || getJSDocParameterTags(node).some(({ isBracketed, typeExpression }) => isBracketed || !!typeExpression && typeExpression.type.kind === 325 /* JSDocOptionalType */));\n  }\n  function tryFindAmbientModule(moduleName, withAugmentations) {\n    if (isExternalModuleNameRelative(moduleName)) {\n      return void 0;\n    }\n    const symbol = getSymbol2(globals, '\"' + moduleName + '\"', 512 /* ValueModule */);\n    return symbol && withAugmentations ? getMergedSymbol(symbol) : symbol;\n  }\n  function isOptionalParameter(node) {\n    if (hasQuestionToken(node) || isOptionalJSDocPropertyLikeTag(node) || isJSDocOptionalParameter(node)) {\n      return true;\n    }\n    if (node.initializer) {\n      const signature = getSignatureFromDeclaration(node.parent);\n      const parameterIndex = node.parent.parameters.indexOf(node);\n      Debug.assert(parameterIndex >= 0);\n      return parameterIndex >= getMinArgumentCount(signature, 1 /* StrongArityForUntypedJS */ | 2 /* VoidIsNonOptional */);\n    }\n    const iife = getImmediatelyInvokedFunctionExpression(node.parent);\n    if (iife) {\n      return !node.type && !node.dotDotDotToken && node.parent.parameters.indexOf(node) >= iife.arguments.length;\n    }\n    return false;\n  }\n  function isOptionalPropertyDeclaration(node) {\n    return isPropertyDeclaration(node) && !hasAccessorModifier(node) && node.questionToken;\n  }\n  function isOptionalJSDocPropertyLikeTag(node) {\n    if (!isJSDocPropertyLikeTag(node)) {\n      return false;\n    }\n    const { isBracketed, typeExpression } = node;\n    return isBracketed || !!typeExpression && typeExpression.type.kind === 325 /* JSDocOptionalType */;\n  }\n  function createTypePredicate(kind, parameterName, parameterIndex, type) {\n    return { kind, parameterName, parameterIndex, type };\n  }\n  function getMinTypeArgumentCount(typeParameters) {\n    let minTypeArgumentCount = 0;\n    if (typeParameters) {\n      for (let i = 0; i < typeParameters.length; i++) {\n        if (!hasTypeParameterDefault(typeParameters[i])) {\n          minTypeArgumentCount = i + 1;\n        }\n      }\n    }\n    return minTypeArgumentCount;\n  }\n  function fillMissingTypeArguments(typeArguments, typeParameters, minTypeArgumentCount, isJavaScriptImplicitAny) {\n    const numTypeParameters = length(typeParameters);\n    if (!numTypeParameters) {\n      return [];\n    }\n    const numTypeArguments = length(typeArguments);\n    if (isJavaScriptImplicitAny || numTypeArguments >= minTypeArgumentCount && numTypeArguments <= numTypeParameters) {\n      const result = typeArguments ? typeArguments.slice() : [];\n      for (let i = numTypeArguments; i < numTypeParameters; i++) {\n        result[i] = errorType;\n      }\n      const baseDefaultType = getDefaultTypeArgumentType(isJavaScriptImplicitAny);\n      for (let i = numTypeArguments; i < numTypeParameters; i++) {\n        let defaultType = getDefaultFromTypeParameter(typeParameters[i]);\n        if (isJavaScriptImplicitAny && defaultType && (isTypeIdenticalTo(defaultType, unknownType) || isTypeIdenticalTo(defaultType, emptyObjectType))) {\n          defaultType = anyType;\n        }\n        result[i] = defaultType ? instantiateType(defaultType, createTypeMapper(typeParameters, result)) : baseDefaultType;\n      }\n      result.length = typeParameters.length;\n      return result;\n    }\n    return typeArguments && typeArguments.slice();\n  }\n  function getSignatureFromDeclaration(declaration) {\n    const links = getNodeLinks(declaration);\n    if (!links.resolvedSignature) {\n      const parameters = [];\n      let flags = 0 /* None */;\n      let minArgumentCount = 0;\n      let thisParameter;\n      let hasThisParameter2 = false;\n      const iife = getImmediatelyInvokedFunctionExpression(declaration);\n      const isJSConstructSignature = isJSDocConstructSignature(declaration);\n      const isUntypedSignatureInJSFile = !iife && isInJSFile(declaration) && isValueSignatureDeclaration(declaration) && !hasJSDocParameterTags(declaration) && !getJSDocType(declaration);\n      if (isUntypedSignatureInJSFile) {\n        flags |= 32 /* IsUntypedSignatureInJSFile */;\n      }\n      for (let i = isJSConstructSignature ? 1 : 0; i < declaration.parameters.length; i++) {\n        const param = declaration.parameters[i];\n        let paramSymbol = param.symbol;\n        const type = isJSDocParameterTag(param) ? param.typeExpression && param.typeExpression.type : param.type;\n        if (paramSymbol && !!(paramSymbol.flags & 4 /* Property */) && !isBindingPattern(param.name)) {\n          const resolvedSymbol = resolveName(param, paramSymbol.escapedName, 111551 /* Value */, void 0, void 0, false);\n          paramSymbol = resolvedSymbol;\n        }\n        if (i === 0 && paramSymbol && paramSymbol.escapedName === \"this\" /* This */) {\n          hasThisParameter2 = true;\n          thisParameter = param.symbol;\n        } else {\n          parameters.push(paramSymbol);\n        }\n        if (type && type.kind === 201 /* LiteralType */) {\n          flags |= 2 /* HasLiteralTypes */;\n        }\n        const isOptionalParameter2 = isOptionalJSDocPropertyLikeTag(param) || param.initializer || param.questionToken || isRestParameter(param) || iife && parameters.length > iife.arguments.length && !type || isJSDocOptionalParameter(param);\n        if (!isOptionalParameter2) {\n          minArgumentCount = parameters.length;\n        }\n      }\n      if ((declaration.kind === 177 /* GetAccessor */ || declaration.kind === 178 /* SetAccessor */) && hasBindableName(declaration) && (!hasThisParameter2 || !thisParameter)) {\n        const otherKind = declaration.kind === 177 /* GetAccessor */ ? 178 /* SetAccessor */ : 177 /* GetAccessor */;\n        const other = getDeclarationOfKind(getSymbolOfNode(declaration), otherKind);\n        if (other) {\n          thisParameter = getAnnotatedAccessorThisParameter(other);\n        }\n      }\n      const classType = declaration.kind === 176 /* Constructor */ ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(declaration.parent.symbol)) : void 0;\n      const typeParameters = classType ? classType.localTypeParameters : getTypeParametersFromDeclaration(declaration);\n      if (hasRestParameter(declaration) || isInJSFile(declaration) && maybeAddJsSyntheticRestParameter(declaration, parameters)) {\n        flags |= 1 /* HasRestParameter */;\n      }\n      if (isConstructorTypeNode(declaration) && hasSyntacticModifier(declaration, 256 /* Abstract */) || isConstructorDeclaration(declaration) && hasSyntacticModifier(declaration.parent, 256 /* Abstract */)) {\n        flags |= 4 /* Abstract */;\n      }\n      links.resolvedSignature = createSignature(\n        declaration,\n        typeParameters,\n        thisParameter,\n        parameters,\n        void 0,\n        void 0,\n        minArgumentCount,\n        flags\n      );\n    }\n    return links.resolvedSignature;\n  }\n  function maybeAddJsSyntheticRestParameter(declaration, parameters) {\n    if (isJSDocSignature(declaration) || !containsArgumentsReference(declaration)) {\n      return false;\n    }\n    const lastParam = lastOrUndefined(declaration.parameters);\n    const lastParamTags = lastParam ? getJSDocParameterTags(lastParam) : getJSDocTags(declaration).filter(isJSDocParameterTag);\n    const lastParamVariadicType = firstDefined(lastParamTags, (p) => p.typeExpression && isJSDocVariadicType(p.typeExpression.type) ? p.typeExpression.type : void 0);\n    const syntheticArgsSymbol = createSymbol(3 /* Variable */, \"args\", 32768 /* RestParameter */);\n    if (lastParamVariadicType) {\n      syntheticArgsSymbol.type = createArrayType(getTypeFromTypeNode(lastParamVariadicType.type));\n    } else {\n      syntheticArgsSymbol.checkFlags |= 65536 /* DeferredType */;\n      syntheticArgsSymbol.deferralParent = neverType;\n      syntheticArgsSymbol.deferralConstituents = [anyArrayType];\n      syntheticArgsSymbol.deferralWriteConstituents = [anyArrayType];\n    }\n    if (lastParamVariadicType) {\n      parameters.pop();\n    }\n    parameters.push(syntheticArgsSymbol);\n    return true;\n  }\n  function getSignatureOfTypeTag(node) {\n    if (!(isInJSFile(node) && isFunctionLikeDeclaration(node)))\n      return void 0;\n    const typeTag = getJSDocTypeTag(node);\n    return (typeTag == null ? void 0 : typeTag.typeExpression) && getSingleCallSignature(getTypeFromTypeNode(typeTag.typeExpression));\n  }\n  function getParameterTypeOfTypeTag(func, parameter) {\n    const signature = getSignatureOfTypeTag(func);\n    if (!signature)\n      return void 0;\n    const pos = func.parameters.indexOf(parameter);\n    return parameter.dotDotDotToken ? getRestTypeAtPosition(signature, pos) : getTypeAtPosition(signature, pos);\n  }\n  function getReturnTypeOfTypeTag(node) {\n    const signature = getSignatureOfTypeTag(node);\n    return signature && getReturnTypeOfSignature(signature);\n  }\n  function containsArgumentsReference(declaration) {\n    const links = getNodeLinks(declaration);\n    if (links.containsArgumentsReference === void 0) {\n      if (links.flags & 8192 /* CaptureArguments */) {\n        links.containsArgumentsReference = true;\n      } else {\n        links.containsArgumentsReference = traverse(declaration.body);\n      }\n    }\n    return links.containsArgumentsReference;\n    function traverse(node) {\n      if (!node)\n        return false;\n      switch (node.kind) {\n        case 79 /* Identifier */:\n          return node.escapedText === argumentsSymbol.escapedName && getReferencedValueSymbol(node) === argumentsSymbol;\n        case 171 /* PropertyDeclaration */:\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          return node.name.kind === 166 /* ComputedPropertyName */ && traverse(node.name);\n        case 211 /* PropertyAccessExpression */:\n        case 212 /* ElementAccessExpression */:\n          return traverse(node.expression);\n        case 305 /* PropertyAssignment */:\n          return traverse(node.initializer);\n        default:\n          return !nodeStartsNewLexicalEnvironment(node) && !isPartOfTypeNode(node) && !!forEachChild(node, traverse);\n      }\n    }\n  }\n  function getSignaturesOfSymbol(symbol) {\n    if (!symbol || !symbol.declarations)\n      return emptyArray;\n    const result = [];\n    for (let i = 0; i < symbol.declarations.length; i++) {\n      const decl = symbol.declarations[i];\n      if (!isFunctionLike(decl))\n        continue;\n      if (i > 0 && decl.body) {\n        const previous = symbol.declarations[i - 1];\n        if (decl.parent === previous.parent && decl.kind === previous.kind && decl.pos === previous.end) {\n          continue;\n        }\n      }\n      result.push(\n        !isFunctionExpressionOrArrowFunction(decl) && !isObjectLiteralMethod(decl) && getSignatureOfTypeTag(decl) || getSignatureFromDeclaration(decl)\n      );\n    }\n    return result;\n  }\n  function resolveExternalModuleTypeByLiteral(name) {\n    const moduleSym = resolveExternalModuleName(name, name);\n    if (moduleSym) {\n      const resolvedModuleSymbol = resolveExternalModuleSymbol(moduleSym);\n      if (resolvedModuleSymbol) {\n        return getTypeOfSymbol(resolvedModuleSymbol);\n      }\n    }\n    return anyType;\n  }\n  function getThisTypeOfSignature(signature) {\n    if (signature.thisParameter) {\n      return getTypeOfSymbol(signature.thisParameter);\n    }\n  }\n  function getTypePredicateOfSignature(signature) {\n    if (!signature.resolvedTypePredicate) {\n      if (signature.target) {\n        const targetTypePredicate = getTypePredicateOfSignature(signature.target);\n        signature.resolvedTypePredicate = targetTypePredicate ? instantiateTypePredicate(targetTypePredicate, signature.mapper) : noTypePredicate;\n      } else if (signature.compositeSignatures) {\n        signature.resolvedTypePredicate = getUnionOrIntersectionTypePredicate(signature.compositeSignatures, signature.compositeKind) || noTypePredicate;\n      } else {\n        const type = signature.declaration && getEffectiveReturnTypeNode(signature.declaration);\n        let jsdocPredicate;\n        if (!type) {\n          const jsdocSignature = getSignatureOfTypeTag(signature.declaration);\n          if (jsdocSignature && signature !== jsdocSignature) {\n            jsdocPredicate = getTypePredicateOfSignature(jsdocSignature);\n          }\n        }\n        signature.resolvedTypePredicate = type && isTypePredicateNode(type) ? createTypePredicateFromTypePredicateNode(type, signature) : jsdocPredicate || noTypePredicate;\n      }\n      Debug.assert(!!signature.resolvedTypePredicate);\n    }\n    return signature.resolvedTypePredicate === noTypePredicate ? void 0 : signature.resolvedTypePredicate;\n  }\n  function createTypePredicateFromTypePredicateNode(node, signature) {\n    const parameterName = node.parameterName;\n    const type = node.type && getTypeFromTypeNode(node.type);\n    return parameterName.kind === 197 /* ThisType */ ? createTypePredicate(node.assertsModifier ? 2 /* AssertsThis */ : 0 /* This */, void 0, void 0, type) : createTypePredicate(\n      node.assertsModifier ? 3 /* AssertsIdentifier */ : 1 /* Identifier */,\n      parameterName.escapedText,\n      findIndex(signature.parameters, (p) => p.escapedName === parameterName.escapedText),\n      type\n    );\n  }\n  function getUnionOrIntersectionType(types, kind, unionReduction) {\n    return kind !== 2097152 /* Intersection */ ? getUnionType(types, unionReduction) : getIntersectionType(types);\n  }\n  function getReturnTypeOfSignature(signature) {\n    if (!signature.resolvedReturnType) {\n      if (!pushTypeResolution(signature, 3 /* ResolvedReturnType */)) {\n        return errorType;\n      }\n      let type = signature.target ? instantiateType(getReturnTypeOfSignature(signature.target), signature.mapper) : signature.compositeSignatures ? instantiateType(getUnionOrIntersectionType(map(signature.compositeSignatures, getReturnTypeOfSignature), signature.compositeKind, 2 /* Subtype */), signature.mapper) : getReturnTypeFromAnnotation(signature.declaration) || (nodeIsMissing(signature.declaration.body) ? anyType : getReturnTypeFromBody(signature.declaration));\n      if (signature.flags & 8 /* IsInnerCallChain */) {\n        type = addOptionalTypeMarker(type);\n      } else if (signature.flags & 16 /* IsOuterCallChain */) {\n        type = getOptionalType(type);\n      }\n      if (!popTypeResolution()) {\n        if (signature.declaration) {\n          const typeNode = getEffectiveReturnTypeNode(signature.declaration);\n          if (typeNode) {\n            error(typeNode, Diagnostics.Return_type_annotation_circularly_references_itself);\n          } else if (noImplicitAny) {\n            const declaration = signature.declaration;\n            const name = getNameOfDeclaration(declaration);\n            if (name) {\n              error(name, Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions, declarationNameToString(name));\n            } else {\n              error(declaration, Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions);\n            }\n          }\n        }\n        type = anyType;\n      }\n      signature.resolvedReturnType = type;\n    }\n    return signature.resolvedReturnType;\n  }\n  function getReturnTypeFromAnnotation(declaration) {\n    if (declaration.kind === 176 /* Constructor */) {\n      return getDeclaredTypeOfClassOrInterface(getMergedSymbol(declaration.parent.symbol));\n    }\n    if (isJSDocConstructSignature(declaration)) {\n      return getTypeFromTypeNode(declaration.parameters[0].type);\n    }\n    const typeNode = getEffectiveReturnTypeNode(declaration);\n    if (typeNode) {\n      return getTypeFromTypeNode(typeNode);\n    }\n    if (declaration.kind === 177 /* GetAccessor */ && hasBindableName(declaration)) {\n      const jsDocType = isInJSFile(declaration) && getTypeForDeclarationFromJSDocComment(declaration);\n      if (jsDocType) {\n        return jsDocType;\n      }\n      const setter = getDeclarationOfKind(getSymbolOfNode(declaration), 178 /* SetAccessor */);\n      const setterType = getAnnotatedAccessorType(setter);\n      if (setterType) {\n        return setterType;\n      }\n    }\n    return getReturnTypeOfTypeTag(declaration);\n  }\n  function isResolvingReturnTypeOfSignature(signature) {\n    return !signature.resolvedReturnType && findResolutionCycleStartIndex(signature, 3 /* ResolvedReturnType */) >= 0;\n  }\n  function getRestTypeOfSignature(signature) {\n    return tryGetRestTypeOfSignature(signature) || anyType;\n  }\n  function tryGetRestTypeOfSignature(signature) {\n    if (signatureHasRestParameter(signature)) {\n      const sigRestType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n      const restType = isTupleType(sigRestType) ? getRestTypeOfTupleType(sigRestType) : sigRestType;\n      return restType && getIndexTypeOfType(restType, numberType);\n    }\n    return void 0;\n  }\n  function getSignatureInstantiation(signature, typeArguments, isJavascript, inferredTypeParameters) {\n    const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, fillMissingTypeArguments(typeArguments, signature.typeParameters, getMinTypeArgumentCount(signature.typeParameters), isJavascript));\n    if (inferredTypeParameters) {\n      const returnSignature = getSingleCallOrConstructSignature(getReturnTypeOfSignature(instantiatedSignature));\n      if (returnSignature) {\n        const newReturnSignature = cloneSignature(returnSignature);\n        newReturnSignature.typeParameters = inferredTypeParameters;\n        const newInstantiatedSignature = cloneSignature(instantiatedSignature);\n        newInstantiatedSignature.resolvedReturnType = getOrCreateTypeFromSignature(newReturnSignature);\n        return newInstantiatedSignature;\n      }\n    }\n    return instantiatedSignature;\n  }\n  function getSignatureInstantiationWithoutFillingInTypeArguments(signature, typeArguments) {\n    const instantiations = signature.instantiations || (signature.instantiations = new Map2());\n    const id = getTypeListId(typeArguments);\n    let instantiation = instantiations.get(id);\n    if (!instantiation) {\n      instantiations.set(id, instantiation = createSignatureInstantiation(signature, typeArguments));\n    }\n    return instantiation;\n  }\n  function createSignatureInstantiation(signature, typeArguments) {\n    return instantiateSignature(signature, createSignatureTypeMapper(signature, typeArguments), true);\n  }\n  function createSignatureTypeMapper(signature, typeArguments) {\n    return createTypeMapper(signature.typeParameters, typeArguments);\n  }\n  function getErasedSignature(signature) {\n    return signature.typeParameters ? signature.erasedSignatureCache || (signature.erasedSignatureCache = createErasedSignature(signature)) : signature;\n  }\n  function createErasedSignature(signature) {\n    return instantiateSignature(signature, createTypeEraser(signature.typeParameters), true);\n  }\n  function getCanonicalSignature(signature) {\n    return signature.typeParameters ? signature.canonicalSignatureCache || (signature.canonicalSignatureCache = createCanonicalSignature(signature)) : signature;\n  }\n  function createCanonicalSignature(signature) {\n    return getSignatureInstantiation(\n      signature,\n      map(signature.typeParameters, (tp) => tp.target && !getConstraintOfTypeParameter(tp.target) ? tp.target : tp),\n      isInJSFile(signature.declaration)\n    );\n  }\n  function getBaseSignature(signature) {\n    const typeParameters = signature.typeParameters;\n    if (typeParameters) {\n      if (signature.baseSignatureCache) {\n        return signature.baseSignatureCache;\n      }\n      const typeEraser = createTypeEraser(typeParameters);\n      const baseConstraintMapper = createTypeMapper(typeParameters, map(typeParameters, (tp) => getConstraintOfTypeParameter(tp) || unknownType));\n      let baseConstraints = map(typeParameters, (tp) => instantiateType(tp, baseConstraintMapper) || unknownType);\n      for (let i = 0; i < typeParameters.length - 1; i++) {\n        baseConstraints = instantiateTypes(baseConstraints, baseConstraintMapper);\n      }\n      baseConstraints = instantiateTypes(baseConstraints, typeEraser);\n      return signature.baseSignatureCache = instantiateSignature(signature, createTypeMapper(typeParameters, baseConstraints), true);\n    }\n    return signature;\n  }\n  function getOrCreateTypeFromSignature(signature) {\n    var _a2;\n    if (!signature.isolatedSignatureType) {\n      const kind = (_a2 = signature.declaration) == null ? void 0 : _a2.kind;\n      const isConstructor = kind === void 0 || kind === 176 /* Constructor */ || kind === 180 /* ConstructSignature */ || kind === 185 /* ConstructorType */;\n      const type = createObjectType(16 /* Anonymous */);\n      type.members = emptySymbols;\n      type.properties = emptyArray;\n      type.callSignatures = !isConstructor ? [signature] : emptyArray;\n      type.constructSignatures = isConstructor ? [signature] : emptyArray;\n      type.indexInfos = emptyArray;\n      signature.isolatedSignatureType = type;\n    }\n    return signature.isolatedSignatureType;\n  }\n  function getIndexSymbol(symbol) {\n    return symbol.members ? getIndexSymbolFromSymbolTable(symbol.members) : void 0;\n  }\n  function getIndexSymbolFromSymbolTable(symbolTable) {\n    return symbolTable.get(\"__index\" /* Index */);\n  }\n  function createIndexInfo(keyType, type, isReadonly, declaration) {\n    return { keyType, type, isReadonly, declaration };\n  }\n  function getIndexInfosOfSymbol(symbol) {\n    const indexSymbol = getIndexSymbol(symbol);\n    return indexSymbol ? getIndexInfosOfIndexSymbol(indexSymbol) : emptyArray;\n  }\n  function getIndexInfosOfIndexSymbol(indexSymbol) {\n    if (indexSymbol.declarations) {\n      const indexInfos = [];\n      for (const declaration of indexSymbol.declarations) {\n        if (declaration.parameters.length === 1) {\n          const parameter = declaration.parameters[0];\n          if (parameter.type) {\n            forEachType(getTypeFromTypeNode(parameter.type), (keyType) => {\n              if (isValidIndexKeyType(keyType) && !findIndexInfo(indexInfos, keyType)) {\n                indexInfos.push(createIndexInfo(\n                  keyType,\n                  declaration.type ? getTypeFromTypeNode(declaration.type) : anyType,\n                  hasEffectiveModifier(declaration, 64 /* Readonly */),\n                  declaration\n                ));\n              }\n            });\n          }\n        }\n      }\n      return indexInfos;\n    }\n    return emptyArray;\n  }\n  function isValidIndexKeyType(type) {\n    return !!(type.flags & (4 /* String */ | 8 /* Number */ | 4096 /* ESSymbol */)) || isPatternLiteralType(type) || !!(type.flags & 2097152 /* Intersection */) && !isGenericType(type) && some(type.types, isValidIndexKeyType);\n  }\n  function getConstraintDeclaration(type) {\n    return mapDefined(filter(type.symbol && type.symbol.declarations, isTypeParameterDeclaration), getEffectiveConstraintOfTypeParameter)[0];\n  }\n  function getInferredTypeParameterConstraint(typeParameter, omitTypeReferences) {\n    var _a2;\n    let inferences;\n    if ((_a2 = typeParameter.symbol) == null ? void 0 : _a2.declarations) {\n      for (const declaration of typeParameter.symbol.declarations) {\n        if (declaration.parent.kind === 195 /* InferType */) {\n          const [childTypeParameter = declaration.parent, grandParent] = walkUpParenthesizedTypesAndGetParentAndChild(declaration.parent.parent);\n          if (grandParent.kind === 183 /* TypeReference */ && !omitTypeReferences) {\n            const typeReference = grandParent;\n            const typeParameters = getTypeParametersForTypeReference(typeReference);\n            if (typeParameters) {\n              const index = typeReference.typeArguments.indexOf(childTypeParameter);\n              if (index < typeParameters.length) {\n                const declaredConstraint = getConstraintOfTypeParameter(typeParameters[index]);\n                if (declaredConstraint) {\n                  const mapper = makeDeferredTypeMapper(typeParameters, typeParameters.map((_, index2) => () => {\n                    return getEffectiveTypeArgumentAtIndex(typeReference, typeParameters, index2);\n                  }));\n                  const constraint = instantiateType(declaredConstraint, mapper);\n                  if (constraint !== typeParameter) {\n                    inferences = append(inferences, constraint);\n                  }\n                }\n              }\n            }\n          } else if (grandParent.kind === 168 /* Parameter */ && grandParent.dotDotDotToken || grandParent.kind === 191 /* RestType */ || grandParent.kind === 202 /* NamedTupleMember */ && grandParent.dotDotDotToken) {\n            inferences = append(inferences, createArrayType(unknownType));\n          } else if (grandParent.kind === 204 /* TemplateLiteralTypeSpan */) {\n            inferences = append(inferences, stringType);\n          } else if (grandParent.kind === 167 /* TypeParameter */ && grandParent.parent.kind === 200 /* MappedType */) {\n            inferences = append(inferences, keyofConstraintType);\n          } else if (grandParent.kind === 200 /* MappedType */ && grandParent.type && skipParentheses(grandParent.type) === declaration.parent && grandParent.parent.kind === 194 /* ConditionalType */ && grandParent.parent.extendsType === grandParent && grandParent.parent.checkType.kind === 200 /* MappedType */ && grandParent.parent.checkType.type) {\n            const checkMappedType2 = grandParent.parent.checkType;\n            const nodeType = getTypeFromTypeNode(checkMappedType2.type);\n            inferences = append(inferences, instantiateType(\n              nodeType,\n              makeUnaryTypeMapper(getDeclaredTypeOfTypeParameter(getSymbolOfNode(checkMappedType2.typeParameter)), checkMappedType2.typeParameter.constraint ? getTypeFromTypeNode(checkMappedType2.typeParameter.constraint) : keyofConstraintType)\n            ));\n          }\n        }\n      }\n    }\n    return inferences && getIntersectionType(inferences);\n  }\n  function getConstraintFromTypeParameter(typeParameter) {\n    if (!typeParameter.constraint) {\n      if (typeParameter.target) {\n        const targetConstraint = getConstraintOfTypeParameter(typeParameter.target);\n        typeParameter.constraint = targetConstraint ? instantiateType(targetConstraint, typeParameter.mapper) : noConstraintType;\n      } else {\n        const constraintDeclaration = getConstraintDeclaration(typeParameter);\n        if (!constraintDeclaration) {\n          typeParameter.constraint = getInferredTypeParameterConstraint(typeParameter) || noConstraintType;\n        } else {\n          let type = getTypeFromTypeNode(constraintDeclaration);\n          if (type.flags & 1 /* Any */ && !isErrorType(type)) {\n            type = constraintDeclaration.parent.parent.kind === 200 /* MappedType */ ? keyofConstraintType : unknownType;\n          }\n          typeParameter.constraint = type;\n        }\n      }\n    }\n    return typeParameter.constraint === noConstraintType ? void 0 : typeParameter.constraint;\n  }\n  function getParentSymbolOfTypeParameter(typeParameter) {\n    const tp = getDeclarationOfKind(typeParameter.symbol, 167 /* TypeParameter */);\n    const host2 = isJSDocTemplateTag(tp.parent) ? getEffectiveContainerForJSDocTemplateTag(tp.parent) : tp.parent;\n    return host2 && getSymbolOfNode(host2);\n  }\n  function getTypeListId(types) {\n    let result = \"\";\n    if (types) {\n      const length2 = types.length;\n      let i = 0;\n      while (i < length2) {\n        const startId = types[i].id;\n        let count = 1;\n        while (i + count < length2 && types[i + count].id === startId + count) {\n          count++;\n        }\n        if (result.length) {\n          result += \",\";\n        }\n        result += startId;\n        if (count > 1) {\n          result += \":\" + count;\n        }\n        i += count;\n      }\n    }\n    return result;\n  }\n  function getAliasId(aliasSymbol, aliasTypeArguments) {\n    return aliasSymbol ? `@${getSymbolId(aliasSymbol)}` + (aliasTypeArguments ? `:${getTypeListId(aliasTypeArguments)}` : \"\") : \"\";\n  }\n  function getPropagatingFlagsOfTypes(types, excludeKinds) {\n    let result = 0;\n    for (const type of types) {\n      if (excludeKinds === void 0 || !(type.flags & excludeKinds)) {\n        result |= getObjectFlags(type);\n      }\n    }\n    return result & 458752 /* PropagatingFlags */;\n  }\n  function createTypeReference(target, typeArguments) {\n    const id = getTypeListId(typeArguments);\n    let type = target.instantiations.get(id);\n    if (!type) {\n      type = createObjectType(4 /* Reference */, target.symbol);\n      target.instantiations.set(id, type);\n      type.objectFlags |= typeArguments ? getPropagatingFlagsOfTypes(typeArguments) : 0;\n      type.target = target;\n      type.resolvedTypeArguments = typeArguments;\n    }\n    return type;\n  }\n  function cloneTypeReference(source) {\n    const type = createType(source.flags);\n    type.symbol = source.symbol;\n    type.objectFlags = source.objectFlags;\n    type.target = source.target;\n    type.resolvedTypeArguments = source.resolvedTypeArguments;\n    return type;\n  }\n  function createDeferredTypeReference(target, node, mapper, aliasSymbol, aliasTypeArguments) {\n    if (!aliasSymbol) {\n      aliasSymbol = getAliasSymbolForTypeNode(node);\n      const localAliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol);\n      aliasTypeArguments = mapper ? instantiateTypes(localAliasTypeArguments, mapper) : localAliasTypeArguments;\n    }\n    const type = createObjectType(4 /* Reference */, target.symbol);\n    type.target = target;\n    type.node = node;\n    type.mapper = mapper;\n    type.aliasSymbol = aliasSymbol;\n    type.aliasTypeArguments = aliasTypeArguments;\n    return type;\n  }\n  function getTypeArguments(type) {\n    var _a2, _b;\n    if (!type.resolvedTypeArguments) {\n      if (!pushTypeResolution(type, 6 /* ResolvedTypeArguments */)) {\n        return ((_a2 = type.target.localTypeParameters) == null ? void 0 : _a2.map(() => errorType)) || emptyArray;\n      }\n      const node = type.node;\n      const typeArguments = !node ? emptyArray : node.kind === 183 /* TypeReference */ ? concatenate(type.target.outerTypeParameters, getEffectiveTypeArguments2(node, type.target.localTypeParameters)) : node.kind === 188 /* ArrayType */ ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode);\n      if (popTypeResolution()) {\n        type.resolvedTypeArguments = type.mapper ? instantiateTypes(typeArguments, type.mapper) : typeArguments;\n      } else {\n        type.resolvedTypeArguments = ((_b = type.target.localTypeParameters) == null ? void 0 : _b.map(() => errorType)) || emptyArray;\n        error(\n          type.node || currentNode,\n          type.target.symbol ? Diagnostics.Type_arguments_for_0_circularly_reference_themselves : Diagnostics.Tuple_type_arguments_circularly_reference_themselves,\n          type.target.symbol && symbolToString(type.target.symbol)\n        );\n      }\n    }\n    return type.resolvedTypeArguments;\n  }\n  function getTypeReferenceArity(type) {\n    return length(type.target.typeParameters);\n  }\n  function getTypeFromClassOrInterfaceReference(node, symbol) {\n    const type = getDeclaredTypeOfSymbol(getMergedSymbol(symbol));\n    const typeParameters = type.localTypeParameters;\n    if (typeParameters) {\n      const numTypeArguments = length(node.typeArguments);\n      const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters);\n      const isJs = isInJSFile(node);\n      const isJsImplicitAny = !noImplicitAny && isJs;\n      if (!isJsImplicitAny && (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length)) {\n        const missingAugmentsTag = isJs && isExpressionWithTypeArguments(node) && !isJSDocAugmentsTag(node.parent);\n        const diag2 = minTypeArgumentCount === typeParameters.length ? missingAugmentsTag ? Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_1_type_argument_s : missingAugmentsTag ? Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;\n        const typeStr = typeToString(type, void 0, 2 /* WriteArrayAsGenericType */);\n        error(node, diag2, typeStr, minTypeArgumentCount, typeParameters.length);\n        if (!isJs) {\n          return errorType;\n        }\n      }\n      if (node.kind === 183 /* TypeReference */ && isDeferredTypeReferenceNode(node, length(node.typeArguments) !== typeParameters.length)) {\n        return createDeferredTypeReference(type, node, void 0);\n      }\n      const typeArguments = concatenate(type.outerTypeParameters, fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(node), typeParameters, minTypeArgumentCount, isJs));\n      return createTypeReference(type, typeArguments);\n    }\n    return checkNoTypeArguments(node, symbol) ? type : errorType;\n  }\n  function getTypeAliasInstantiation(symbol, typeArguments, aliasSymbol, aliasTypeArguments) {\n    const type = getDeclaredTypeOfSymbol(symbol);\n    if (type === intrinsicMarkerType && intrinsicTypeKinds.has(symbol.escapedName) && typeArguments && typeArguments.length === 1) {\n      return getStringMappingType(symbol, typeArguments[0]);\n    }\n    const links = getSymbolLinks(symbol);\n    const typeParameters = links.typeParameters;\n    const id = getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments);\n    let instantiation = links.instantiations.get(id);\n    if (!instantiation) {\n      links.instantiations.set(id, instantiation = instantiateTypeWithAlias(\n        type,\n        createTypeMapper(typeParameters, fillMissingTypeArguments(typeArguments, typeParameters, getMinTypeArgumentCount(typeParameters), isInJSFile(symbol.valueDeclaration))),\n        aliasSymbol,\n        aliasTypeArguments\n      ));\n    }\n    return instantiation;\n  }\n  function getTypeFromTypeAliasReference(node, symbol) {\n    if (getCheckFlags(symbol) & 1048576 /* Unresolved */) {\n      const typeArguments = typeArgumentsFromTypeReferenceNode(node);\n      const id = getAliasId(symbol, typeArguments);\n      let errorType2 = errorTypes.get(id);\n      if (!errorType2) {\n        errorType2 = createIntrinsicType(1 /* Any */, \"error\");\n        errorType2.aliasSymbol = symbol;\n        errorType2.aliasTypeArguments = typeArguments;\n        errorTypes.set(id, errorType2);\n      }\n      return errorType2;\n    }\n    const type = getDeclaredTypeOfSymbol(symbol);\n    const typeParameters = getSymbolLinks(symbol).typeParameters;\n    if (typeParameters) {\n      const numTypeArguments = length(node.typeArguments);\n      const minTypeArgumentCount = getMinTypeArgumentCount(typeParameters);\n      if (numTypeArguments < minTypeArgumentCount || numTypeArguments > typeParameters.length) {\n        error(\n          node,\n          minTypeArgumentCount === typeParameters.length ? Diagnostics.Generic_type_0_requires_1_type_argument_s : Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,\n          symbolToString(symbol),\n          minTypeArgumentCount,\n          typeParameters.length\n        );\n        return errorType;\n      }\n      const aliasSymbol = getAliasSymbolForTypeNode(node);\n      const newAliasSymbol = aliasSymbol && (isLocalTypeAlias(symbol) || !isLocalTypeAlias(aliasSymbol)) ? aliasSymbol : void 0;\n      return getTypeAliasInstantiation(symbol, typeArgumentsFromTypeReferenceNode(node), newAliasSymbol, getTypeArgumentsForAliasSymbol(newAliasSymbol));\n    }\n    return checkNoTypeArguments(node, symbol) ? type : errorType;\n  }\n  function isLocalTypeAlias(symbol) {\n    var _a2;\n    const declaration = (_a2 = symbol.declarations) == null ? void 0 : _a2.find(isTypeAlias);\n    return !!(declaration && getContainingFunction(declaration));\n  }\n  function getTypeReferenceName(node) {\n    switch (node.kind) {\n      case 183 /* TypeReference */:\n        return node.typeName;\n      case 234 /* ExpressionWithTypeArguments */:\n        const expr = node.expression;\n        if (isEntityNameExpression(expr)) {\n          return expr;\n        }\n    }\n    return void 0;\n  }\n  function getSymbolPath(symbol) {\n    return symbol.parent ? `${getSymbolPath(symbol.parent)}.${symbol.escapedName}` : symbol.escapedName;\n  }\n  function getUnresolvedSymbolForEntityName(name) {\n    const identifier = name.kind === 165 /* QualifiedName */ ? name.right : name.kind === 211 /* PropertyAccessExpression */ ? name.name : name;\n    const text = identifier.escapedText;\n    if (text) {\n      const parentSymbol = name.kind === 165 /* QualifiedName */ ? getUnresolvedSymbolForEntityName(name.left) : name.kind === 211 /* PropertyAccessExpression */ ? getUnresolvedSymbolForEntityName(name.expression) : void 0;\n      const path = parentSymbol ? `${getSymbolPath(parentSymbol)}.${text}` : text;\n      let result = unresolvedSymbols.get(path);\n      if (!result) {\n        unresolvedSymbols.set(path, result = createSymbol(524288 /* TypeAlias */, text, 1048576 /* Unresolved */));\n        result.parent = parentSymbol;\n        result.declaredType = unresolvedType;\n      }\n      return result;\n    }\n    return unknownSymbol;\n  }\n  function resolveTypeReferenceName(typeReference, meaning, ignoreErrors) {\n    const name = getTypeReferenceName(typeReference);\n    if (!name) {\n      return unknownSymbol;\n    }\n    const symbol = resolveEntityName(name, meaning, ignoreErrors);\n    return symbol && symbol !== unknownSymbol ? symbol : ignoreErrors ? unknownSymbol : getUnresolvedSymbolForEntityName(name);\n  }\n  function isStaticRecord(type) {\n    var _a2;\n    if (type === void 0) {\n      return false;\n    }\n    const aliasedSymbol = type.aliasSymbol;\n    if (aliasedSymbol === void 0) {\n      return false;\n    }\n    const links = getSymbolLinks(aliasedSymbol);\n    if (links.isStaticRecord === void 0) {\n      links.isStaticRecord = isStaticSourceFile(getSourceFileOfNode((_a2 = aliasedSymbol == null ? void 0 : aliasedSymbol.declarations) == null ? void 0 : _a2[0]));\n    }\n    return links.isStaticRecord;\n  }\n  function isStaticSourceFile(sourceFile) {\n    if (!sourceFile) {\n      return false;\n    }\n    if (host.isStaticSourceFile) {\n      return host.isStaticSourceFile(sourceFile.fileName);\n    }\n    return false;\n  }\n  function getTypeReferenceType(node, symbol) {\n    if (symbol === unknownSymbol) {\n      return errorType;\n    }\n    symbol = getExpandoSymbol(symbol) || symbol;\n    if (symbol.flags & (32 /* Class */ | 64 /* Interface */)) {\n      return getTypeFromClassOrInterfaceReference(node, symbol);\n    }\n    if (symbol.flags & 524288 /* TypeAlias */) {\n      return getTypeFromTypeAliasReference(node, symbol);\n    }\n    const res = tryGetDeclaredTypeOfSymbol(symbol);\n    if (res) {\n      return checkNoTypeArguments(node, symbol) ? getRegularTypeOfLiteralType(res) : errorType;\n    }\n    if (symbol.flags & 111551 /* Value */ && isJSDocTypeReference(node)) {\n      const jsdocType = getTypeFromJSDocValueReference(node, symbol);\n      if (jsdocType) {\n        return jsdocType;\n      } else {\n        resolveTypeReferenceName(node, 788968 /* Type */);\n        return getTypeOfSymbol(symbol);\n      }\n    }\n    return errorType;\n  }\n  function getTypeFromJSDocValueReference(node, symbol) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedJSDocType) {\n      const valueType = getTypeOfSymbol(symbol);\n      let typeType = valueType;\n      if (symbol.valueDeclaration) {\n        const isImportTypeWithQualifier = node.kind === 205 /* ImportType */ && node.qualifier;\n        if (valueType.symbol && valueType.symbol !== symbol && isImportTypeWithQualifier) {\n          typeType = getTypeReferenceType(node, valueType.symbol);\n        }\n      }\n      links.resolvedJSDocType = typeType;\n    }\n    return links.resolvedJSDocType;\n  }\n  function getSubstitutionType(baseType, constraint) {\n    if (constraint.flags & 3 /* AnyOrUnknown */ || constraint === baseType || !isGenericType(baseType) && !isGenericType(constraint)) {\n      return baseType;\n    }\n    const id = `${getTypeId(baseType)}>${getTypeId(constraint)}`;\n    const cached = substitutionTypes.get(id);\n    if (cached) {\n      return cached;\n    }\n    const result = createType(33554432 /* Substitution */);\n    result.baseType = baseType;\n    result.constraint = constraint;\n    substitutionTypes.set(id, result);\n    return result;\n  }\n  function getSubstitutionIntersection(substitutionType) {\n    return getIntersectionType([substitutionType.constraint, substitutionType.baseType]);\n  }\n  function isUnaryTupleTypeNode(node) {\n    return node.kind === 189 /* TupleType */ && node.elements.length === 1;\n  }\n  function getImpliedConstraint(type, checkNode, extendsNode) {\n    return isUnaryTupleTypeNode(checkNode) && isUnaryTupleTypeNode(extendsNode) ? getImpliedConstraint(type, checkNode.elements[0], extendsNode.elements[0]) : getActualTypeVariable(getTypeFromTypeNode(checkNode)) === getActualTypeVariable(type) ? getTypeFromTypeNode(extendsNode) : void 0;\n  }\n  function getConditionalFlowTypeOfType(type, node) {\n    let constraints;\n    let covariant = true;\n    while (node && !isStatement(node) && node.kind !== 329 /* JSDoc */) {\n      const parent2 = node.parent;\n      if (parent2.kind === 168 /* Parameter */) {\n        covariant = !covariant;\n      }\n      if ((covariant || type.flags & 8650752 /* TypeVariable */) && parent2.kind === 194 /* ConditionalType */ && node === parent2.trueType) {\n        const constraint = getImpliedConstraint(type, parent2.checkType, parent2.extendsType);\n        if (constraint) {\n          constraints = append(constraints, constraint);\n        }\n      } else if (type.flags & 262144 /* TypeParameter */ && parent2.kind === 200 /* MappedType */ && node === parent2.type) {\n        const mappedType = getTypeFromTypeNode(parent2);\n        if (getTypeParameterFromMappedType(mappedType) === getActualTypeVariable(type)) {\n          const typeParameter = getHomomorphicTypeVariable(mappedType);\n          if (typeParameter) {\n            const constraint = getConstraintOfTypeParameter(typeParameter);\n            if (constraint && everyType(constraint, isArrayOrTupleType)) {\n              constraints = append(constraints, getUnionType([numberType, numericStringType]));\n            }\n          }\n        }\n      }\n      node = parent2;\n    }\n    return constraints ? getSubstitutionType(type, getIntersectionType(constraints)) : type;\n  }\n  function isJSDocTypeReference(node) {\n    return !!(node.flags & 8388608 /* JSDoc */) && (node.kind === 183 /* TypeReference */ || node.kind === 205 /* ImportType */);\n  }\n  function checkNoTypeArguments(node, symbol) {\n    if (node.typeArguments) {\n      error(node, Diagnostics.Type_0_is_not_generic, symbol ? symbolToString(symbol) : node.typeName ? declarationNameToString(node.typeName) : anon);\n      return false;\n    }\n    return true;\n  }\n  function getIntendedTypeFromJSDocTypeReference(node) {\n    if (isIdentifier(node.typeName)) {\n      const typeArgs = node.typeArguments;\n      switch (node.typeName.escapedText) {\n        case \"String\":\n          checkNoTypeArguments(node);\n          return stringType;\n        case \"Number\":\n          checkNoTypeArguments(node);\n          return numberType;\n        case \"Boolean\":\n          checkNoTypeArguments(node);\n          return booleanType;\n        case \"Void\":\n          checkNoTypeArguments(node);\n          return voidType;\n        case \"Undefined\":\n          checkNoTypeArguments(node);\n          return undefinedType;\n        case \"Null\":\n          checkNoTypeArguments(node);\n          return nullType;\n        case \"Function\":\n        case \"function\":\n          checkNoTypeArguments(node);\n          return globalFunctionType;\n        case \"array\":\n          return (!typeArgs || !typeArgs.length) && !noImplicitAny ? anyArrayType : void 0;\n        case \"promise\":\n          return (!typeArgs || !typeArgs.length) && !noImplicitAny ? createPromiseType(anyType) : void 0;\n        case \"Object\":\n          if (typeArgs && typeArgs.length === 2) {\n            if (isJSDocIndexSignature(node)) {\n              const indexed = getTypeFromTypeNode(typeArgs[0]);\n              const target = getTypeFromTypeNode(typeArgs[1]);\n              const indexInfo = indexed === stringType || indexed === numberType ? [createIndexInfo(indexed, target, false)] : emptyArray;\n              return createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, indexInfo);\n            }\n            return anyType;\n          }\n          checkNoTypeArguments(node);\n          return !noImplicitAny ? anyType : void 0;\n      }\n    }\n  }\n  function getTypeFromJSDocNullableTypeNode(node) {\n    const type = getTypeFromTypeNode(node.type);\n    return strictNullChecks ? getNullableType(type, 65536 /* Null */) : type;\n  }\n  function getTypeFromTypeReference(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      if (isConstTypeReference(node) && isAssertionExpression(node.parent)) {\n        links.resolvedSymbol = unknownSymbol;\n        return links.resolvedType = checkExpressionCached(node.parent.expression);\n      }\n      let symbol;\n      let type;\n      const meaning = 788968 /* Type */;\n      if (isJSDocTypeReference(node)) {\n        type = getIntendedTypeFromJSDocTypeReference(node);\n        if (!type) {\n          symbol = resolveTypeReferenceName(node, meaning, true);\n          if (symbol === unknownSymbol) {\n            symbol = resolveTypeReferenceName(node, meaning | 111551 /* Value */);\n          } else {\n            resolveTypeReferenceName(node, meaning);\n          }\n          type = getTypeReferenceType(node, symbol);\n        }\n      }\n      if (!type) {\n        symbol = resolveTypeReferenceName(node, meaning);\n        type = getTypeReferenceType(node, symbol);\n      }\n      links.resolvedSymbol = symbol;\n      links.resolvedType = type;\n    }\n    return links.resolvedType;\n  }\n  function typeArgumentsFromTypeReferenceNode(node) {\n    return map(node.typeArguments, getTypeFromTypeNode);\n  }\n  function getTypeFromTypeQueryNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const type = checkExpressionWithTypeArguments(node);\n      links.resolvedType = getRegularTypeOfLiteralType(getWidenedType(type));\n    }\n    return links.resolvedType;\n  }\n  function getTypeOfGlobalSymbol(symbol, arity) {\n    function getTypeDeclaration(symbol2) {\n      const declarations = symbol2.declarations;\n      if (declarations) {\n        for (const declaration of declarations) {\n          switch (declaration.kind) {\n            case 264 /* ClassDeclaration */:\n            case 267 /* InterfaceDeclaration */:\n            case 269 /* EnumDeclaration */:\n              return declaration;\n          }\n        }\n      }\n    }\n    if (!symbol) {\n      return arity ? emptyGenericType : emptyObjectType;\n    }\n    const type = getDeclaredTypeOfSymbol(symbol);\n    if (!(type.flags & 524288 /* Object */)) {\n      error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_be_a_class_or_interface_type, symbolName(symbol));\n      return arity ? emptyGenericType : emptyObjectType;\n    }\n    if (length(type.typeParameters) !== arity) {\n      error(getTypeDeclaration(symbol), Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity);\n      return arity ? emptyGenericType : emptyObjectType;\n    }\n    return type;\n  }\n  function getGlobalValueSymbol(name, reportErrors2) {\n    return getGlobalSymbol(name, 111551 /* Value */, reportErrors2 ? Diagnostics.Cannot_find_global_value_0 : void 0);\n  }\n  function getGlobalTypeSymbol(name, reportErrors2) {\n    return getGlobalSymbol(name, 788968 /* Type */, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0);\n  }\n  function getGlobalTypeAliasSymbol(name, arity, reportErrors2) {\n    const symbol = getGlobalSymbol(name, 788968 /* Type */, reportErrors2 ? Diagnostics.Cannot_find_global_type_0 : void 0);\n    if (symbol) {\n      getDeclaredTypeOfSymbol(symbol);\n      if (length(getSymbolLinks(symbol).typeParameters) !== arity) {\n        const decl = symbol.declarations && find(symbol.declarations, isTypeAliasDeclaration);\n        error(decl, Diagnostics.Global_type_0_must_have_1_type_parameter_s, symbolName(symbol), arity);\n        return void 0;\n      }\n    }\n    return symbol;\n  }\n  function getGlobalSymbol(name, meaning, diagnostic) {\n    return resolveName(void 0, name, meaning, diagnostic, name, false, false, false);\n  }\n  function getGlobalType(name, arity, reportErrors2) {\n    const symbol = getGlobalTypeSymbol(name, reportErrors2);\n    return symbol || reportErrors2 ? getTypeOfGlobalSymbol(symbol, arity) : void 0;\n  }\n  function getGlobalTypedPropertyDescriptorType() {\n    return deferredGlobalTypedPropertyDescriptorType || (deferredGlobalTypedPropertyDescriptorType = getGlobalType(\"TypedPropertyDescriptor\", 1, true) || emptyGenericType);\n  }\n  function getGlobalTemplateStringsArrayType() {\n    return deferredGlobalTemplateStringsArrayType || (deferredGlobalTemplateStringsArrayType = getGlobalType(\"TemplateStringsArray\", 0, true) || emptyObjectType);\n  }\n  function getGlobalImportMetaType() {\n    return deferredGlobalImportMetaType || (deferredGlobalImportMetaType = getGlobalType(\"ImportMeta\", 0, true) || emptyObjectType);\n  }\n  function getGlobalImportMetaExpressionType() {\n    if (!deferredGlobalImportMetaExpressionType) {\n      const symbol = createSymbol(0 /* None */, \"ImportMetaExpression\");\n      const importMetaType = getGlobalImportMetaType();\n      const metaPropertySymbol = createSymbol(4 /* Property */, \"meta\", 8 /* Readonly */);\n      metaPropertySymbol.parent = symbol;\n      metaPropertySymbol.type = importMetaType;\n      const members = createSymbolTable([metaPropertySymbol]);\n      symbol.members = members;\n      deferredGlobalImportMetaExpressionType = createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray);\n    }\n    return deferredGlobalImportMetaExpressionType;\n  }\n  function getGlobalImportCallOptionsType(reportErrors2) {\n    return deferredGlobalImportCallOptionsType || (deferredGlobalImportCallOptionsType = getGlobalType(\"ImportCallOptions\", 0, reportErrors2)) || emptyObjectType;\n  }\n  function getGlobalESSymbolConstructorSymbol(reportErrors2) {\n    return deferredGlobalESSymbolConstructorSymbol || (deferredGlobalESSymbolConstructorSymbol = getGlobalValueSymbol(\"Symbol\", reportErrors2));\n  }\n  function getGlobalESSymbolConstructorTypeSymbol(reportErrors2) {\n    return deferredGlobalESSymbolConstructorTypeSymbol || (deferredGlobalESSymbolConstructorTypeSymbol = getGlobalTypeSymbol(\"SymbolConstructor\", reportErrors2));\n  }\n  function getGlobalESSymbolType() {\n    return deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType(\"Symbol\", 0, false)) || emptyObjectType;\n  }\n  function getGlobalPromiseType(reportErrors2) {\n    return deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType(\"Promise\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalPromiseLikeType(reportErrors2) {\n    return deferredGlobalPromiseLikeType || (deferredGlobalPromiseLikeType = getGlobalType(\"PromiseLike\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalPromiseConstructorSymbol(reportErrors2) {\n    return deferredGlobalPromiseConstructorSymbol || (deferredGlobalPromiseConstructorSymbol = getGlobalValueSymbol(\"Promise\", reportErrors2));\n  }\n  function getGlobalPromiseConstructorLikeType(reportErrors2) {\n    return deferredGlobalPromiseConstructorLikeType || (deferredGlobalPromiseConstructorLikeType = getGlobalType(\"PromiseConstructorLike\", 0, reportErrors2)) || emptyObjectType;\n  }\n  function getGlobalAsyncIterableType(reportErrors2) {\n    return deferredGlobalAsyncIterableType || (deferredGlobalAsyncIterableType = getGlobalType(\"AsyncIterable\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalAsyncIteratorType(reportErrors2) {\n    return deferredGlobalAsyncIteratorType || (deferredGlobalAsyncIteratorType = getGlobalType(\"AsyncIterator\", 3, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalAsyncIterableIteratorType(reportErrors2) {\n    return deferredGlobalAsyncIterableIteratorType || (deferredGlobalAsyncIterableIteratorType = getGlobalType(\"AsyncIterableIterator\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalAsyncGeneratorType(reportErrors2) {\n    return deferredGlobalAsyncGeneratorType || (deferredGlobalAsyncGeneratorType = getGlobalType(\"AsyncGenerator\", 3, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalIterableType(reportErrors2) {\n    return deferredGlobalIterableType || (deferredGlobalIterableType = getGlobalType(\"Iterable\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalIteratorType(reportErrors2) {\n    return deferredGlobalIteratorType || (deferredGlobalIteratorType = getGlobalType(\"Iterator\", 3, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalIterableIteratorType(reportErrors2) {\n    return deferredGlobalIterableIteratorType || (deferredGlobalIterableIteratorType = getGlobalType(\"IterableIterator\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalGeneratorType(reportErrors2) {\n    return deferredGlobalGeneratorType || (deferredGlobalGeneratorType = getGlobalType(\"Generator\", 3, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalIteratorYieldResultType(reportErrors2) {\n    return deferredGlobalIteratorYieldResultType || (deferredGlobalIteratorYieldResultType = getGlobalType(\"IteratorYieldResult\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalIteratorReturnResultType(reportErrors2) {\n    return deferredGlobalIteratorReturnResultType || (deferredGlobalIteratorReturnResultType = getGlobalType(\"IteratorReturnResult\", 1, reportErrors2)) || emptyGenericType;\n  }\n  function getGlobalTypeOrUndefined(name, arity = 0) {\n    const symbol = getGlobalSymbol(name, 788968 /* Type */, void 0);\n    return symbol && getTypeOfGlobalSymbol(symbol, arity);\n  }\n  function getGlobalExtractSymbol() {\n    deferredGlobalExtractSymbol || (deferredGlobalExtractSymbol = getGlobalTypeAliasSymbol(\"Extract\", 2, true) || unknownSymbol);\n    return deferredGlobalExtractSymbol === unknownSymbol ? void 0 : deferredGlobalExtractSymbol;\n  }\n  function getGlobalOmitSymbol() {\n    deferredGlobalOmitSymbol || (deferredGlobalOmitSymbol = getGlobalTypeAliasSymbol(\"Omit\", 2, true) || unknownSymbol);\n    return deferredGlobalOmitSymbol === unknownSymbol ? void 0 : deferredGlobalOmitSymbol;\n  }\n  function getGlobalAwaitedSymbol(reportErrors2) {\n    deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeAliasSymbol(\"Awaited\", 1, reportErrors2) || (reportErrors2 ? unknownSymbol : void 0));\n    return deferredGlobalAwaitedSymbol === unknownSymbol ? void 0 : deferredGlobalAwaitedSymbol;\n  }\n  function getGlobalBigIntType() {\n    return deferredGlobalBigIntType || (deferredGlobalBigIntType = getGlobalType(\"BigInt\", 0, false)) || emptyObjectType;\n  }\n  function getGlobalNaNSymbol() {\n    return deferredGlobalNaNSymbol || (deferredGlobalNaNSymbol = getGlobalValueSymbol(\"NaN\", false));\n  }\n  function getGlobalRecordSymbol() {\n    deferredGlobalRecordSymbol || (deferredGlobalRecordSymbol = getGlobalTypeAliasSymbol(\"Record\", 2, true) || unknownSymbol);\n    return deferredGlobalRecordSymbol === unknownSymbol ? void 0 : deferredGlobalRecordSymbol;\n  }\n  function createTypeFromGenericGlobalType(genericGlobalType, typeArguments) {\n    return genericGlobalType !== emptyGenericType ? createTypeReference(genericGlobalType, typeArguments) : emptyObjectType;\n  }\n  function createTypedPropertyDescriptorType(propertyType) {\n    return createTypeFromGenericGlobalType(getGlobalTypedPropertyDescriptorType(), [propertyType]);\n  }\n  function createIterableType(iteratedType) {\n    return createTypeFromGenericGlobalType(getGlobalIterableType(true), [iteratedType]);\n  }\n  function createArrayType(elementType, readonly) {\n    return createTypeFromGenericGlobalType(readonly ? globalReadonlyArrayType : globalArrayType, [elementType]);\n  }\n  function getTupleElementFlags(node) {\n    switch (node.kind) {\n      case 190 /* OptionalType */:\n        return 2 /* Optional */;\n      case 191 /* RestType */:\n        return getRestTypeElementFlags(node);\n      case 202 /* NamedTupleMember */:\n        return node.questionToken ? 2 /* Optional */ : node.dotDotDotToken ? getRestTypeElementFlags(node) : 1 /* Required */;\n      default:\n        return 1 /* Required */;\n    }\n  }\n  function getRestTypeElementFlags(node) {\n    return getArrayElementTypeNode(node.type) ? 4 /* Rest */ : 8 /* Variadic */;\n  }\n  function getArrayOrTupleTargetType(node) {\n    const readonly = isReadonlyTypeOperator(node.parent);\n    const elementType = getArrayElementTypeNode(node);\n    if (elementType) {\n      return readonly ? globalReadonlyArrayType : globalArrayType;\n    }\n    const elementFlags = map(node.elements, getTupleElementFlags);\n    const missingName = some(node.elements, (e) => e.kind !== 202 /* NamedTupleMember */);\n    return getTupleTargetType(elementFlags, readonly, missingName ? void 0 : node.elements);\n  }\n  function isDeferredTypeReferenceNode(node, hasDefaultTypeArguments) {\n    return !!getAliasSymbolForTypeNode(node) || isResolvedByTypeAlias(node) && (node.kind === 188 /* ArrayType */ ? mayResolveTypeAlias(node.elementType) : node.kind === 189 /* TupleType */ ? some(node.elements, mayResolveTypeAlias) : hasDefaultTypeArguments || some(node.typeArguments, mayResolveTypeAlias));\n  }\n  function isResolvedByTypeAlias(node) {\n    const parent2 = node.parent;\n    switch (parent2.kind) {\n      case 196 /* ParenthesizedType */:\n      case 202 /* NamedTupleMember */:\n      case 183 /* TypeReference */:\n      case 192 /* UnionType */:\n      case 193 /* IntersectionType */:\n      case 199 /* IndexedAccessType */:\n      case 194 /* ConditionalType */:\n      case 198 /* TypeOperator */:\n      case 188 /* ArrayType */:\n      case 189 /* TupleType */:\n        return isResolvedByTypeAlias(parent2);\n      case 268 /* TypeAliasDeclaration */:\n        return true;\n    }\n    return false;\n  }\n  function mayResolveTypeAlias(node) {\n    switch (node.kind) {\n      case 183 /* TypeReference */:\n        return isJSDocTypeReference(node) || !!(resolveTypeReferenceName(node, 788968 /* Type */).flags & 524288 /* TypeAlias */);\n      case 186 /* TypeQuery */:\n        return true;\n      case 198 /* TypeOperator */:\n        return node.operator !== 158 /* UniqueKeyword */ && mayResolveTypeAlias(node.type);\n      case 196 /* ParenthesizedType */:\n      case 190 /* OptionalType */:\n      case 202 /* NamedTupleMember */:\n      case 325 /* JSDocOptionalType */:\n      case 323 /* JSDocNullableType */:\n      case 324 /* JSDocNonNullableType */:\n      case 318 /* JSDocTypeExpression */:\n        return mayResolveTypeAlias(node.type);\n      case 191 /* RestType */:\n        return node.type.kind !== 188 /* ArrayType */ || mayResolveTypeAlias(node.type.elementType);\n      case 192 /* UnionType */:\n      case 193 /* IntersectionType */:\n        return some(node.types, mayResolveTypeAlias);\n      case 199 /* IndexedAccessType */:\n        return mayResolveTypeAlias(node.objectType) || mayResolveTypeAlias(node.indexType);\n      case 194 /* ConditionalType */:\n        return mayResolveTypeAlias(node.checkType) || mayResolveTypeAlias(node.extendsType) || mayResolveTypeAlias(node.trueType) || mayResolveTypeAlias(node.falseType);\n    }\n    return false;\n  }\n  function getTypeFromArrayOrTupleTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const target = getArrayOrTupleTargetType(node);\n      if (target === emptyGenericType) {\n        links.resolvedType = emptyObjectType;\n      } else if (!(node.kind === 189 /* TupleType */ && some(node.elements, (e) => !!(getTupleElementFlags(e) & 8 /* Variadic */))) && isDeferredTypeReferenceNode(node)) {\n        links.resolvedType = node.kind === 189 /* TupleType */ && node.elements.length === 0 ? target : createDeferredTypeReference(target, node, void 0);\n      } else {\n        const elementTypes = node.kind === 188 /* ArrayType */ ? [getTypeFromTypeNode(node.elementType)] : map(node.elements, getTypeFromTypeNode);\n        links.resolvedType = createNormalizedTypeReference(target, elementTypes);\n      }\n    }\n    return links.resolvedType;\n  }\n  function isReadonlyTypeOperator(node) {\n    return isTypeOperatorNode(node) && node.operator === 147 /* ReadonlyKeyword */;\n  }\n  function createTupleType(elementTypes, elementFlags, readonly = false, namedMemberDeclarations) {\n    const tupleTarget = getTupleTargetType(elementFlags || map(elementTypes, (_) => 1 /* Required */), readonly, namedMemberDeclarations);\n    return tupleTarget === emptyGenericType ? emptyObjectType : elementTypes.length ? createNormalizedTypeReference(tupleTarget, elementTypes) : tupleTarget;\n  }\n  function getTupleTargetType(elementFlags, readonly, namedMemberDeclarations) {\n    if (elementFlags.length === 1 && elementFlags[0] & 4 /* Rest */) {\n      return readonly ? globalReadonlyArrayType : globalArrayType;\n    }\n    const key = map(elementFlags, (f) => f & 1 /* Required */ ? \"#\" : f & 2 /* Optional */ ? \"?\" : f & 4 /* Rest */ ? \".\" : \"*\").join() + (readonly ? \"R\" : \"\") + (namedMemberDeclarations && namedMemberDeclarations.length ? \",\" + map(namedMemberDeclarations, getNodeId).join(\",\") : \"\");\n    let type = tupleTypes.get(key);\n    if (!type) {\n      tupleTypes.set(key, type = createTupleTargetType(elementFlags, readonly, namedMemberDeclarations));\n    }\n    return type;\n  }\n  function createTupleTargetType(elementFlags, readonly, namedMemberDeclarations) {\n    const arity = elementFlags.length;\n    const minLength = countWhere(elementFlags, (f) => !!(f & (1 /* Required */ | 8 /* Variadic */)));\n    let typeParameters;\n    const properties = [];\n    let combinedFlags = 0;\n    if (arity) {\n      typeParameters = new Array(arity);\n      for (let i = 0; i < arity; i++) {\n        const typeParameter = typeParameters[i] = createTypeParameter();\n        const flags = elementFlags[i];\n        combinedFlags |= flags;\n        if (!(combinedFlags & 12 /* Variable */)) {\n          const property = createSymbol(\n            4 /* Property */ | (flags & 2 /* Optional */ ? 16777216 /* Optional */ : 0),\n            \"\" + i,\n            readonly ? 8 /* Readonly */ : 0\n          );\n          property.tupleLabelDeclaration = namedMemberDeclarations == null ? void 0 : namedMemberDeclarations[i];\n          property.type = typeParameter;\n          properties.push(property);\n        }\n      }\n    }\n    const fixedLength = properties.length;\n    const lengthSymbol = createSymbol(4 /* Property */, \"length\", readonly ? 8 /* Readonly */ : 0);\n    if (combinedFlags & 12 /* Variable */) {\n      lengthSymbol.type = numberType;\n    } else {\n      const literalTypes = [];\n      for (let i = minLength; i <= arity; i++)\n        literalTypes.push(getNumberLiteralType(i));\n      lengthSymbol.type = getUnionType(literalTypes);\n    }\n    properties.push(lengthSymbol);\n    const type = createObjectType(8 /* Tuple */ | 4 /* Reference */);\n    type.typeParameters = typeParameters;\n    type.outerTypeParameters = void 0;\n    type.localTypeParameters = typeParameters;\n    type.instantiations = new Map2();\n    type.instantiations.set(getTypeListId(type.typeParameters), type);\n    type.target = type;\n    type.resolvedTypeArguments = type.typeParameters;\n    type.thisType = createTypeParameter();\n    type.thisType.isThisType = true;\n    type.thisType.constraint = type;\n    type.declaredProperties = properties;\n    type.declaredCallSignatures = emptyArray;\n    type.declaredConstructSignatures = emptyArray;\n    type.declaredIndexInfos = emptyArray;\n    type.elementFlags = elementFlags;\n    type.minLength = minLength;\n    type.fixedLength = fixedLength;\n    type.hasRestElement = !!(combinedFlags & 12 /* Variable */);\n    type.combinedFlags = combinedFlags;\n    type.readonly = readonly;\n    type.labeledElementDeclarations = namedMemberDeclarations;\n    return type;\n  }\n  function createNormalizedTypeReference(target, typeArguments) {\n    return target.objectFlags & 8 /* Tuple */ ? createNormalizedTupleType(target, typeArguments) : createTypeReference(target, typeArguments);\n  }\n  function createNormalizedTupleType(target, elementTypes) {\n    var _a2, _b, _c;\n    if (!(target.combinedFlags & 14 /* NonRequired */)) {\n      return createTypeReference(target, elementTypes);\n    }\n    if (target.combinedFlags & 8 /* Variadic */) {\n      const unionIndex = findIndex(elementTypes, (t, i) => !!(target.elementFlags[i] & 8 /* Variadic */ && t.flags & (131072 /* Never */ | 1048576 /* Union */)));\n      if (unionIndex >= 0) {\n        return checkCrossProductUnion(map(elementTypes, (t, i) => target.elementFlags[i] & 8 /* Variadic */ ? t : unknownType)) ? mapType(elementTypes[unionIndex], (t) => createNormalizedTupleType(target, replaceElement(elementTypes, unionIndex, t))) : errorType;\n      }\n    }\n    const expandedTypes = [];\n    const expandedFlags = [];\n    let expandedDeclarations = [];\n    let lastRequiredIndex = -1;\n    let firstRestIndex = -1;\n    let lastOptionalOrRestIndex = -1;\n    for (let i = 0; i < elementTypes.length; i++) {\n      const type = elementTypes[i];\n      const flags = target.elementFlags[i];\n      if (flags & 8 /* Variadic */) {\n        if (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type)) {\n          addElement(type, 8 /* Variadic */, (_a2 = target.labeledElementDeclarations) == null ? void 0 : _a2[i]);\n        } else if (isTupleType(type)) {\n          const elements = getTypeArguments(type);\n          if (elements.length + expandedTypes.length >= 1e4) {\n            error(currentNode, isPartOfTypeNode(currentNode) ? Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent : Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent);\n            return errorType;\n          }\n          forEach(elements, (t, n) => {\n            var _a3;\n            return addElement(t, type.target.elementFlags[n], (_a3 = type.target.labeledElementDeclarations) == null ? void 0 : _a3[n]);\n          });\n        } else {\n          addElement(isArrayLikeType2(type) && getIndexTypeOfType(type, numberType) || errorType, 4 /* Rest */, (_b = target.labeledElementDeclarations) == null ? void 0 : _b[i]);\n        }\n      } else {\n        addElement(type, flags, (_c = target.labeledElementDeclarations) == null ? void 0 : _c[i]);\n      }\n    }\n    for (let i = 0; i < lastRequiredIndex; i++) {\n      if (expandedFlags[i] & 2 /* Optional */)\n        expandedFlags[i] = 1 /* Required */;\n    }\n    if (firstRestIndex >= 0 && firstRestIndex < lastOptionalOrRestIndex) {\n      expandedTypes[firstRestIndex] = getUnionType(sameMap(\n        expandedTypes.slice(firstRestIndex, lastOptionalOrRestIndex + 1),\n        (t, i) => expandedFlags[firstRestIndex + i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t\n      ));\n      expandedTypes.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);\n      expandedFlags.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);\n      expandedDeclarations == null ? void 0 : expandedDeclarations.splice(firstRestIndex + 1, lastOptionalOrRestIndex - firstRestIndex);\n    }\n    const tupleTarget = getTupleTargetType(expandedFlags, target.readonly, expandedDeclarations);\n    return tupleTarget === emptyGenericType ? emptyObjectType : expandedFlags.length ? createTypeReference(tupleTarget, expandedTypes) : tupleTarget;\n    function addElement(type, flags, declaration) {\n      if (flags & 1 /* Required */) {\n        lastRequiredIndex = expandedFlags.length;\n      }\n      if (flags & 4 /* Rest */ && firstRestIndex < 0) {\n        firstRestIndex = expandedFlags.length;\n      }\n      if (flags & (2 /* Optional */ | 4 /* Rest */)) {\n        lastOptionalOrRestIndex = expandedFlags.length;\n      }\n      expandedTypes.push(flags & 2 /* Optional */ ? addOptionality(type, true) : type);\n      expandedFlags.push(flags);\n      if (expandedDeclarations && declaration) {\n        expandedDeclarations.push(declaration);\n      } else {\n        expandedDeclarations = void 0;\n      }\n    }\n  }\n  function sliceTupleType(type, index, endSkipCount = 0) {\n    const target = type.target;\n    const endIndex = getTypeReferenceArity(type) - endSkipCount;\n    return index > target.fixedLength ? getRestArrayTypeOfTupleType(type) || createTupleType(emptyArray) : createTupleType(\n      getTypeArguments(type).slice(index, endIndex),\n      target.elementFlags.slice(index, endIndex),\n      false,\n      target.labeledElementDeclarations && target.labeledElementDeclarations.slice(index, endIndex)\n    );\n  }\n  function getKnownKeysOfTupleType(type) {\n    return getUnionType(append(\n      arrayOf(type.target.fixedLength, (i) => getStringLiteralType(\"\" + i)),\n      getIndexType(type.target.readonly ? globalReadonlyArrayType : globalArrayType)\n    ));\n  }\n  function getStartElementCount(type, flags) {\n    const index = findIndex(type.elementFlags, (f) => !(f & flags));\n    return index >= 0 ? index : type.elementFlags.length;\n  }\n  function getEndElementCount(type, flags) {\n    return type.elementFlags.length - findLastIndex(type.elementFlags, (f) => !(f & flags)) - 1;\n  }\n  function getTypeFromOptionalTypeNode(node) {\n    return addOptionality(getTypeFromTypeNode(node.type), true);\n  }\n  function getTypeId(type) {\n    return type.id;\n  }\n  function containsType(types, type) {\n    return binarySearch(types, type, getTypeId, compareValues) >= 0;\n  }\n  function insertType(types, type) {\n    const index = binarySearch(types, type, getTypeId, compareValues);\n    if (index < 0) {\n      types.splice(~index, 0, type);\n      return true;\n    }\n    return false;\n  }\n  function addTypeToUnion(typeSet, includes, type) {\n    const flags = type.flags;\n    if (flags & 1048576 /* Union */) {\n      return addTypesToUnion(typeSet, includes | (isNamedUnionType(type) ? 1048576 /* Union */ : 0), type.types);\n    }\n    if (!(flags & 131072 /* Never */)) {\n      includes |= flags & 205258751 /* IncludesMask */;\n      if (flags & 465829888 /* Instantiable */)\n        includes |= 33554432 /* IncludesInstantiable */;\n      if (type === wildcardType)\n        includes |= 8388608 /* IncludesWildcard */;\n      if (!strictNullChecks && flags & 98304 /* Nullable */) {\n        if (!(getObjectFlags(type) & 65536 /* ContainsWideningType */))\n          includes |= 4194304 /* IncludesNonWideningType */;\n      } else {\n        const len = typeSet.length;\n        const index = len && type.id > typeSet[len - 1].id ? ~len : binarySearch(typeSet, type, getTypeId, compareValues);\n        if (index < 0) {\n          typeSet.splice(~index, 0, type);\n        }\n      }\n    }\n    return includes;\n  }\n  function addTypesToUnion(typeSet, includes, types) {\n    for (const type of types) {\n      includes = addTypeToUnion(typeSet, includes, type);\n    }\n    return includes;\n  }\n  function removeSubtypes(types, hasObjectTypes) {\n    var _a2;\n    if (types.length < 2) {\n      return types;\n    }\n    const id = getTypeListId(types);\n    const match = subtypeReductionCache.get(id);\n    if (match) {\n      return match;\n    }\n    const hasEmptyObject = hasObjectTypes && some(types, (t) => !!(t.flags & 524288 /* Object */) && !isGenericMappedType(t) && isEmptyResolvedType(resolveStructuredTypeMembers(t)));\n    const len = types.length;\n    let i = len;\n    let count = 0;\n    while (i > 0) {\n      i--;\n      const source = types[i];\n      if (hasEmptyObject || source.flags & 469499904 /* StructuredOrInstantiable */) {\n        const keyProperty = source.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */) ? find(getPropertiesOfType(source), (p) => isUnitType(getTypeOfSymbol(p))) : void 0;\n        const keyPropertyType = keyProperty && getRegularTypeOfLiteralType(getTypeOfSymbol(keyProperty));\n        for (const target of types) {\n          if (source !== target) {\n            if (count === 1e5) {\n              const estimatedCount = count / (len - i) * len;\n              if (estimatedCount > 1e6) {\n                (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, \"removeSubtypes_DepthLimit\", { typeIds: types.map((t) => t.id) });\n                error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);\n                return void 0;\n              }\n            }\n            count++;\n            if (keyProperty && target.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */)) {\n              const t = getTypeOfPropertyOfType(target, keyProperty.escapedName);\n              if (t && isUnitType(t) && getRegularTypeOfLiteralType(t) !== keyPropertyType) {\n                continue;\n              }\n            }\n            if (isTypeRelatedTo(source, target, strictSubtypeRelation) && (!(getObjectFlags(getTargetType3(source)) & 1 /* Class */) || !(getObjectFlags(getTargetType3(target)) & 1 /* Class */) || isTypeDerivedFrom(source, target))) {\n              orderedRemoveItemAt(types, i);\n              break;\n            }\n          }\n        }\n      }\n    }\n    subtypeReductionCache.set(id, types);\n    return types;\n  }\n  function removeRedundantLiteralTypes(types, includes, reduceVoidUndefined) {\n    let i = types.length;\n    while (i > 0) {\n      i--;\n      const t = types[i];\n      const flags = t.flags;\n      const remove = flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && includes & 4 /* String */ || flags & 256 /* NumberLiteral */ && includes & 8 /* Number */ || flags & 2048 /* BigIntLiteral */ && includes & 64 /* BigInt */ || flags & 8192 /* UniqueESSymbol */ && includes & 4096 /* ESSymbol */ || reduceVoidUndefined && flags & 32768 /* Undefined */ && includes & 16384 /* Void */ || isFreshLiteralType(t) && containsType(types, t.regularType);\n      if (remove) {\n        orderedRemoveItemAt(types, i);\n      }\n    }\n  }\n  function removeStringLiteralsMatchedByTemplateLiterals(types) {\n    const templates = filter(types, isPatternLiteralType);\n    if (templates.length) {\n      let i = types.length;\n      while (i > 0) {\n        i--;\n        const t = types[i];\n        if (t.flags & 128 /* StringLiteral */ && some(templates, (template) => isTypeMatchedByTemplateLiteralType(t, template))) {\n          orderedRemoveItemAt(types, i);\n        }\n      }\n    }\n  }\n  function isNamedUnionType(type) {\n    return !!(type.flags & 1048576 /* Union */ && (type.aliasSymbol || type.origin));\n  }\n  function addNamedUnions(namedUnions, types) {\n    for (const t of types) {\n      if (t.flags & 1048576 /* Union */) {\n        const origin = t.origin;\n        if (t.aliasSymbol || origin && !(origin.flags & 1048576 /* Union */)) {\n          pushIfUnique(namedUnions, t);\n        } else if (origin && origin.flags & 1048576 /* Union */) {\n          addNamedUnions(namedUnions, origin.types);\n        }\n      }\n    }\n  }\n  function createOriginUnionOrIntersectionType(flags, types) {\n    const result = createOriginType(flags);\n    result.types = types;\n    return result;\n  }\n  function getUnionType(types, unionReduction = 1 /* Literal */, aliasSymbol, aliasTypeArguments, origin) {\n    if (types.length === 0) {\n      return neverType;\n    }\n    if (types.length === 1) {\n      return types[0];\n    }\n    let typeSet = [];\n    const includes = addTypesToUnion(typeSet, 0, types);\n    if (unionReduction !== 0 /* None */) {\n      if (includes & 3 /* AnyOrUnknown */) {\n        return includes & 1 /* Any */ ? includes & 8388608 /* IncludesWildcard */ ? wildcardType : anyType : includes & 65536 /* Null */ || containsType(typeSet, unknownType) ? unknownType : nonNullUnknownType;\n      }\n      if (exactOptionalPropertyTypes && includes & 32768 /* Undefined */) {\n        const missingIndex = binarySearch(typeSet, missingType, getTypeId, compareValues);\n        if (missingIndex >= 0 && containsType(typeSet, undefinedType)) {\n          orderedRemoveItemAt(typeSet, missingIndex);\n        }\n      }\n      if (includes & (2944 /* Literal */ | 8192 /* UniqueESSymbol */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || includes & 16384 /* Void */ && includes & 32768 /* Undefined */) {\n        removeRedundantLiteralTypes(typeSet, includes, !!(unionReduction & 2 /* Subtype */));\n      }\n      if (includes & 128 /* StringLiteral */ && includes & 134217728 /* TemplateLiteral */) {\n        removeStringLiteralsMatchedByTemplateLiterals(typeSet);\n      }\n      if (unionReduction === 2 /* Subtype */) {\n        typeSet = removeSubtypes(typeSet, !!(includes & 524288 /* Object */));\n        if (!typeSet) {\n          return errorType;\n        }\n      }\n      if (typeSet.length === 0) {\n        return includes & 65536 /* Null */ ? includes & 4194304 /* IncludesNonWideningType */ ? nullType : nullWideningType : includes & 32768 /* Undefined */ ? includes & 4194304 /* IncludesNonWideningType */ ? undefinedType : undefinedWideningType : neverType;\n      }\n    }\n    if (!origin && includes & 1048576 /* Union */) {\n      const namedUnions = [];\n      addNamedUnions(namedUnions, types);\n      const reducedTypes = [];\n      for (const t of typeSet) {\n        if (!some(namedUnions, (union) => containsType(union.types, t))) {\n          reducedTypes.push(t);\n        }\n      }\n      if (!aliasSymbol && namedUnions.length === 1 && reducedTypes.length === 0) {\n        return namedUnions[0];\n      }\n      const namedTypesCount = reduceLeft(namedUnions, (sum2, union) => sum2 + union.types.length, 0);\n      if (namedTypesCount + reducedTypes.length === typeSet.length) {\n        for (const t of namedUnions) {\n          insertType(reducedTypes, t);\n        }\n        origin = createOriginUnionOrIntersectionType(1048576 /* Union */, reducedTypes);\n      }\n    }\n    const objectFlags = (includes & 36323331 /* NotPrimitiveUnion */ ? 0 : 32768 /* PrimitiveUnion */) | (includes & 2097152 /* Intersection */ ? 16777216 /* ContainsIntersections */ : 0);\n    return getUnionTypeFromSortedList(typeSet, objectFlags, aliasSymbol, aliasTypeArguments, origin);\n  }\n  function getUnionOrIntersectionTypePredicate(signatures, kind) {\n    let first2;\n    const types = [];\n    for (const sig of signatures) {\n      const pred = getTypePredicateOfSignature(sig);\n      if (!pred || pred.kind === 2 /* AssertsThis */ || pred.kind === 3 /* AssertsIdentifier */) {\n        if (kind !== 2097152 /* Intersection */) {\n          continue;\n        } else {\n          return;\n        }\n      }\n      if (first2) {\n        if (!typePredicateKindsMatch(first2, pred)) {\n          return void 0;\n        }\n      } else {\n        first2 = pred;\n      }\n      types.push(pred.type);\n    }\n    if (!first2) {\n      return void 0;\n    }\n    const compositeType = getUnionOrIntersectionType(types, kind);\n    return createTypePredicate(first2.kind, first2.parameterName, first2.parameterIndex, compositeType);\n  }\n  function typePredicateKindsMatch(a, b) {\n    return a.kind === b.kind && a.parameterIndex === b.parameterIndex;\n  }\n  function getUnionTypeFromSortedList(types, objectFlags, aliasSymbol, aliasTypeArguments, origin) {\n    if (types.length === 0) {\n      return neverType;\n    }\n    if (types.length === 1) {\n      return types[0];\n    }\n    const typeKey = !origin ? getTypeListId(types) : origin.flags & 1048576 /* Union */ ? `|${getTypeListId(origin.types)}` : origin.flags & 2097152 /* Intersection */ ? `&${getTypeListId(origin.types)}` : `#${origin.type.id}|${getTypeListId(types)}`;\n    const id = typeKey + getAliasId(aliasSymbol, aliasTypeArguments);\n    let type = unionTypes.get(id);\n    if (!type) {\n      type = createType(1048576 /* Union */);\n      type.objectFlags = objectFlags | getPropagatingFlagsOfTypes(types, 98304 /* Nullable */);\n      type.types = types;\n      type.origin = origin;\n      type.aliasSymbol = aliasSymbol;\n      type.aliasTypeArguments = aliasTypeArguments;\n      if (types.length === 2 && types[0].flags & 512 /* BooleanLiteral */ && types[1].flags & 512 /* BooleanLiteral */) {\n        type.flags |= 16 /* Boolean */;\n        type.intrinsicName = \"boolean\";\n      }\n      unionTypes.set(id, type);\n    }\n    return type;\n  }\n  function getTypeFromUnionTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const aliasSymbol = getAliasSymbolForTypeNode(node);\n      links.resolvedType = getUnionType(\n        map(node.types, getTypeFromTypeNode),\n        1 /* Literal */,\n        aliasSymbol,\n        getTypeArgumentsForAliasSymbol(aliasSymbol)\n      );\n    }\n    return links.resolvedType;\n  }\n  function addTypeToIntersection(typeSet, includes, type) {\n    const flags = type.flags;\n    if (flags & 2097152 /* Intersection */) {\n      return addTypesToIntersection(typeSet, includes, type.types);\n    }\n    if (isEmptyAnonymousObjectType(type)) {\n      if (!(includes & 16777216 /* IncludesEmptyObject */)) {\n        includes |= 16777216 /* IncludesEmptyObject */;\n        typeSet.set(type.id.toString(), type);\n      }\n    } else {\n      if (flags & 3 /* AnyOrUnknown */) {\n        if (type === wildcardType)\n          includes |= 8388608 /* IncludesWildcard */;\n      } else if (strictNullChecks || !(flags & 98304 /* Nullable */)) {\n        if (exactOptionalPropertyTypes && type === missingType) {\n          includes |= 262144 /* IncludesMissingType */;\n          type = undefinedType;\n        }\n        if (!typeSet.has(type.id.toString())) {\n          if (type.flags & 109440 /* Unit */ && includes & 109440 /* Unit */) {\n            includes |= 67108864 /* NonPrimitive */;\n          }\n          typeSet.set(type.id.toString(), type);\n        }\n      }\n      includes |= flags & 205258751 /* IncludesMask */;\n    }\n    return includes;\n  }\n  function addTypesToIntersection(typeSet, includes, types) {\n    for (const type of types) {\n      includes = addTypeToIntersection(typeSet, includes, getRegularTypeOfLiteralType(type));\n    }\n    return includes;\n  }\n  function removeRedundantSupertypes(types, includes) {\n    let i = types.length;\n    while (i > 0) {\n      i--;\n      const t = types[i];\n      const remove = t.flags & 4 /* String */ && includes & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || t.flags & 8 /* Number */ && includes & 256 /* NumberLiteral */ || t.flags & 64 /* BigInt */ && includes & 2048 /* BigIntLiteral */ || t.flags & 4096 /* ESSymbol */ && includes & 8192 /* UniqueESSymbol */ || t.flags & 16384 /* Void */ && includes & 32768 /* Undefined */ || isEmptyAnonymousObjectType(t) && includes & 470302716 /* DefinitelyNonNullable */;\n      if (remove) {\n        orderedRemoveItemAt(types, i);\n      }\n    }\n  }\n  function eachUnionContains(unionTypes2, type) {\n    for (const u of unionTypes2) {\n      if (!containsType(u.types, type)) {\n        const primitive = type.flags & 128 /* StringLiteral */ ? stringType : type.flags & (32 /* Enum */ | 256 /* NumberLiteral */) ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 8192 /* UniqueESSymbol */ ? esSymbolType : void 0;\n        if (!primitive || !containsType(u.types, primitive)) {\n          return false;\n        }\n      }\n    }\n    return true;\n  }\n  function extractRedundantTemplateLiterals(types) {\n    let i = types.length;\n    const literals = filter(types, (t) => !!(t.flags & 128 /* StringLiteral */));\n    while (i > 0) {\n      i--;\n      const t = types[i];\n      if (!(t.flags & 134217728 /* TemplateLiteral */))\n        continue;\n      for (const t2 of literals) {\n        if (isTypeSubtypeOf(t2, t)) {\n          orderedRemoveItemAt(types, i);\n          break;\n        } else if (isPatternLiteralType(t)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function removeFromEach(types, flag) {\n    for (let i = 0; i < types.length; i++) {\n      types[i] = filterType(types[i], (t) => !(t.flags & flag));\n    }\n  }\n  function intersectUnionsOfPrimitiveTypes(types) {\n    let unionTypes2;\n    const index = findIndex(types, (t) => !!(getObjectFlags(t) & 32768 /* PrimitiveUnion */));\n    if (index < 0) {\n      return false;\n    }\n    let i = index + 1;\n    while (i < types.length) {\n      const t = types[i];\n      if (getObjectFlags(t) & 32768 /* PrimitiveUnion */) {\n        (unionTypes2 || (unionTypes2 = [types[index]])).push(t);\n        orderedRemoveItemAt(types, i);\n      } else {\n        i++;\n      }\n    }\n    if (!unionTypes2) {\n      return false;\n    }\n    const checked = [];\n    const result = [];\n    for (const u of unionTypes2) {\n      for (const t of u.types) {\n        if (insertType(checked, t)) {\n          if (eachUnionContains(unionTypes2, t)) {\n            insertType(result, t);\n          }\n        }\n      }\n    }\n    types[index] = getUnionTypeFromSortedList(result, 32768 /* PrimitiveUnion */);\n    return true;\n  }\n  function createIntersectionType(types, aliasSymbol, aliasTypeArguments) {\n    const result = createType(2097152 /* Intersection */);\n    result.objectFlags = getPropagatingFlagsOfTypes(types, 98304 /* Nullable */);\n    result.types = types;\n    result.aliasSymbol = aliasSymbol;\n    result.aliasTypeArguments = aliasTypeArguments;\n    return result;\n  }\n  function getIntersectionType(types, aliasSymbol, aliasTypeArguments, noSupertypeReduction) {\n    const typeMembershipMap = new Map2();\n    const includes = addTypesToIntersection(typeMembershipMap, 0, types);\n    const typeSet = arrayFrom(typeMembershipMap.values());\n    if (includes & 131072 /* Never */) {\n      return contains(typeSet, silentNeverType) ? silentNeverType : neverType;\n    }\n    if (strictNullChecks && includes & 98304 /* Nullable */ && includes & (524288 /* Object */ | 67108864 /* NonPrimitive */ | 16777216 /* IncludesEmptyObject */) || includes & 67108864 /* NonPrimitive */ && includes & (469892092 /* DisjointDomains */ & ~67108864 /* NonPrimitive */) || includes & 402653316 /* StringLike */ && includes & (469892092 /* DisjointDomains */ & ~402653316 /* StringLike */) || includes & 296 /* NumberLike */ && includes & (469892092 /* DisjointDomains */ & ~296 /* NumberLike */) || includes & 2112 /* BigIntLike */ && includes & (469892092 /* DisjointDomains */ & ~2112 /* BigIntLike */) || includes & 12288 /* ESSymbolLike */ && includes & (469892092 /* DisjointDomains */ & ~12288 /* ESSymbolLike */) || includes & 49152 /* VoidLike */ && includes & (469892092 /* DisjointDomains */ & ~49152 /* VoidLike */)) {\n      return neverType;\n    }\n    if (includes & 134217728 /* TemplateLiteral */ && includes & 128 /* StringLiteral */ && extractRedundantTemplateLiterals(typeSet)) {\n      return neverType;\n    }\n    if (includes & 1 /* Any */) {\n      return includes & 8388608 /* IncludesWildcard */ ? wildcardType : anyType;\n    }\n    if (!strictNullChecks && includes & 98304 /* Nullable */) {\n      return includes & 16777216 /* IncludesEmptyObject */ ? neverType : includes & 32768 /* Undefined */ ? undefinedType : nullType;\n    }\n    if (includes & 4 /* String */ && includes & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) || includes & 8 /* Number */ && includes & 256 /* NumberLiteral */ || includes & 64 /* BigInt */ && includes & 2048 /* BigIntLiteral */ || includes & 4096 /* ESSymbol */ && includes & 8192 /* UniqueESSymbol */ || includes & 16384 /* Void */ && includes & 32768 /* Undefined */ || includes & 16777216 /* IncludesEmptyObject */ && includes & 470302716 /* DefinitelyNonNullable */) {\n      if (!noSupertypeReduction)\n        removeRedundantSupertypes(typeSet, includes);\n    }\n    if (includes & 262144 /* IncludesMissingType */) {\n      typeSet[typeSet.indexOf(undefinedType)] = missingType;\n    }\n    if (typeSet.length === 0) {\n      return unknownType;\n    }\n    if (typeSet.length === 1) {\n      return typeSet[0];\n    }\n    const id = getTypeListId(typeSet) + getAliasId(aliasSymbol, aliasTypeArguments);\n    let result = intersectionTypes.get(id);\n    if (!result) {\n      if (includes & 1048576 /* Union */) {\n        if (intersectUnionsOfPrimitiveTypes(typeSet)) {\n          result = getIntersectionType(typeSet, aliasSymbol, aliasTypeArguments);\n        } else if (every(typeSet, (t) => !!(t.flags & 1048576 /* Union */ && t.types[0].flags & 32768 /* Undefined */))) {\n          const undefinedOrMissingType = exactOptionalPropertyTypes && some(typeSet, (t) => containsType(t.types, missingType)) ? missingType : undefinedType;\n          removeFromEach(typeSet, 32768 /* Undefined */);\n          result = getUnionType([getIntersectionType(typeSet), undefinedOrMissingType], 1 /* Literal */, aliasSymbol, aliasTypeArguments);\n        } else if (every(typeSet, (t) => !!(t.flags & 1048576 /* Union */ && (t.types[0].flags & 65536 /* Null */ || t.types[1].flags & 65536 /* Null */)))) {\n          removeFromEach(typeSet, 65536 /* Null */);\n          result = getUnionType([getIntersectionType(typeSet), nullType], 1 /* Literal */, aliasSymbol, aliasTypeArguments);\n        } else {\n          if (!checkCrossProductUnion(typeSet)) {\n            return errorType;\n          }\n          const constituents = getCrossProductIntersections(typeSet);\n          const origin = some(constituents, (t) => !!(t.flags & 2097152 /* Intersection */)) && getConstituentCountOfTypes(constituents) > getConstituentCountOfTypes(typeSet) ? createOriginUnionOrIntersectionType(2097152 /* Intersection */, typeSet) : void 0;\n          result = getUnionType(constituents, 1 /* Literal */, aliasSymbol, aliasTypeArguments, origin);\n        }\n      } else {\n        result = createIntersectionType(typeSet, aliasSymbol, aliasTypeArguments);\n      }\n      intersectionTypes.set(id, result);\n    }\n    return result;\n  }\n  function getCrossProductUnionSize(types) {\n    return reduceLeft(types, (n, t) => t.flags & 1048576 /* Union */ ? n * t.types.length : t.flags & 131072 /* Never */ ? 0 : n, 1);\n  }\n  function checkCrossProductUnion(types) {\n    var _a2;\n    const size = getCrossProductUnionSize(types);\n    if (size >= 1e5) {\n      (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, \"checkCrossProductUnion_DepthLimit\", { typeIds: types.map((t) => t.id), size });\n      error(currentNode, Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);\n      return false;\n    }\n    return true;\n  }\n  function getCrossProductIntersections(types) {\n    const count = getCrossProductUnionSize(types);\n    const intersections = [];\n    for (let i = 0; i < count; i++) {\n      const constituents = types.slice();\n      let n = i;\n      for (let j = types.length - 1; j >= 0; j--) {\n        if (types[j].flags & 1048576 /* Union */) {\n          const sourceTypes = types[j].types;\n          const length2 = sourceTypes.length;\n          constituents[j] = sourceTypes[n % length2];\n          n = Math.floor(n / length2);\n        }\n      }\n      const t = getIntersectionType(constituents);\n      if (!(t.flags & 131072 /* Never */))\n        intersections.push(t);\n    }\n    return intersections;\n  }\n  function getConstituentCount(type) {\n    return !(type.flags & 3145728 /* UnionOrIntersection */) || type.aliasSymbol ? 1 : type.flags & 1048576 /* Union */ && type.origin ? getConstituentCount(type.origin) : getConstituentCountOfTypes(type.types);\n  }\n  function getConstituentCountOfTypes(types) {\n    return reduceLeft(types, (n, t) => n + getConstituentCount(t), 0);\n  }\n  function getTypeFromIntersectionTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const aliasSymbol = getAliasSymbolForTypeNode(node);\n      const types = map(node.types, getTypeFromTypeNode);\n      const noSupertypeReduction = types.length === 2 && !!(types[0].flags & (4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) && types[1] === emptyTypeLiteralType;\n      links.resolvedType = getIntersectionType(types, aliasSymbol, getTypeArgumentsForAliasSymbol(aliasSymbol), noSupertypeReduction);\n    }\n    return links.resolvedType;\n  }\n  function createIndexType(type, stringsOnly) {\n    const result = createType(4194304 /* Index */);\n    result.type = type;\n    result.stringsOnly = stringsOnly;\n    return result;\n  }\n  function createOriginIndexType(type) {\n    const result = createOriginType(4194304 /* Index */);\n    result.type = type;\n    return result;\n  }\n  function getIndexTypeForGenericType(type, stringsOnly) {\n    return stringsOnly ? type.resolvedStringIndexType || (type.resolvedStringIndexType = createIndexType(type, true)) : type.resolvedIndexType || (type.resolvedIndexType = createIndexType(type, false));\n  }\n  function getIndexTypeForMappedType(type, stringsOnly, noIndexSignatures) {\n    const typeParameter = getTypeParameterFromMappedType(type);\n    const constraintType = getConstraintTypeFromMappedType(type);\n    const nameType = getNameTypeFromMappedType(type.target || type);\n    if (!nameType && !noIndexSignatures) {\n      return constraintType;\n    }\n    const keyTypes = [];\n    if (isMappedTypeWithKeyofConstraintDeclaration(type)) {\n      if (!isGenericIndexType(constraintType)) {\n        const modifiersType = getApparentType(getModifiersTypeFromMappedType(type));\n        forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(modifiersType, 8576 /* StringOrNumberLiteralOrUnique */, stringsOnly, addMemberForKeyType);\n      } else {\n        return getIndexTypeForGenericType(type, stringsOnly);\n      }\n    } else {\n      forEachType(getLowerBoundOfKeyType(constraintType), addMemberForKeyType);\n    }\n    if (isGenericIndexType(constraintType)) {\n      forEachType(constraintType, addMemberForKeyType);\n    }\n    const result = noIndexSignatures ? filterType(getUnionType(keyTypes), (t) => !(t.flags & (1 /* Any */ | 4 /* String */))) : getUnionType(keyTypes);\n    if (result.flags & 1048576 /* Union */ && constraintType.flags & 1048576 /* Union */ && getTypeListId(result.types) === getTypeListId(constraintType.types)) {\n      return constraintType;\n    }\n    return result;\n    function addMemberForKeyType(keyType) {\n      const propNameType = nameType ? instantiateType(nameType, appendTypeMapping(type.mapper, typeParameter, keyType)) : keyType;\n      keyTypes.push(propNameType === stringType ? stringOrNumberType : propNameType);\n    }\n  }\n  function hasDistributiveNameType(mappedType) {\n    const typeVariable = getTypeParameterFromMappedType(mappedType);\n    return isDistributive(getNameTypeFromMappedType(mappedType) || typeVariable);\n    function isDistributive(type) {\n      return type.flags & (3 /* AnyOrUnknown */ | 131068 /* Primitive */ | 131072 /* Never */ | 262144 /* TypeParameter */ | 524288 /* Object */ | 67108864 /* NonPrimitive */) ? true : type.flags & 16777216 /* Conditional */ ? type.root.isDistributive && type.checkType === typeVariable : type.flags & (3145728 /* UnionOrIntersection */ | 134217728 /* TemplateLiteral */) ? every(type.types, isDistributive) : type.flags & 8388608 /* IndexedAccess */ ? isDistributive(type.objectType) && isDistributive(type.indexType) : type.flags & 33554432 /* Substitution */ ? isDistributive(type.baseType) && isDistributive(type.constraint) : type.flags & 268435456 /* StringMapping */ ? isDistributive(type.type) : false;\n    }\n  }\n  function getLiteralTypeFromPropertyName(name) {\n    if (isPrivateIdentifier(name)) {\n      return neverType;\n    }\n    return isIdentifier(name) ? getStringLiteralType(unescapeLeadingUnderscores(name.escapedText)) : getRegularTypeOfLiteralType(isComputedPropertyName(name) ? checkComputedPropertyName(name) : checkExpression(name));\n  }\n  function getLiteralTypeFromProperty(prop, include, includeNonPublic) {\n    if (includeNonPublic || !(getDeclarationModifierFlagsFromSymbol(prop) & 24 /* NonPublicAccessibilityModifier */)) {\n      let type = getSymbolLinks(getLateBoundSymbol(prop)).nameType;\n      if (!type) {\n        const name = getNameOfDeclaration(prop.valueDeclaration);\n        type = prop.escapedName === \"default\" /* Default */ ? getStringLiteralType(\"default\") : name && getLiteralTypeFromPropertyName(name) || (!isKnownSymbol(prop) ? getStringLiteralType(symbolName(prop)) : void 0);\n      }\n      if (type && type.flags & include) {\n        return type;\n      }\n    }\n    return neverType;\n  }\n  function isKeyTypeIncluded(keyType, include) {\n    return !!(keyType.flags & include || keyType.flags & 2097152 /* Intersection */ && some(keyType.types, (t) => isKeyTypeIncluded(t, include)));\n  }\n  function getLiteralTypeFromProperties(type, include, includeOrigin) {\n    const origin = includeOrigin && (getObjectFlags(type) & (3 /* ClassOrInterface */ | 4 /* Reference */) || type.aliasSymbol) ? createOriginIndexType(type) : void 0;\n    const propertyTypes = map(getPropertiesOfType(type), (prop) => getLiteralTypeFromProperty(prop, include));\n    const indexKeyTypes = map(getIndexInfosOfType(type), (info) => info !== enumNumberIndexInfo && isKeyTypeIncluded(info.keyType, include) ? info.keyType === stringType && include & 8 /* Number */ ? stringOrNumberType : info.keyType : neverType);\n    return getUnionType(\n      concatenate(propertyTypes, indexKeyTypes),\n      1 /* Literal */,\n      void 0,\n      void 0,\n      origin\n    );\n  }\n  function isPossiblyReducibleByInstantiation(type) {\n    const uniqueFilled = getUniqueLiteralFilledInstantiation(type);\n    return getReducedType(uniqueFilled) !== uniqueFilled;\n  }\n  function shouldDeferIndexType(type) {\n    return !!(type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericTupleType(type) || isGenericMappedType(type) && !hasDistributiveNameType(type) || type.flags & 1048576 /* Union */ && some(type.types, isPossiblyReducibleByInstantiation) || type.flags & 2097152 /* Intersection */ && maybeTypeOfKind(type, 465829888 /* Instantiable */) && some(type.types, isEmptyAnonymousObjectType));\n  }\n  function getIndexType(type, stringsOnly = keyofStringsOnly, noIndexSignatures) {\n    type = getReducedType(type);\n    return shouldDeferIndexType(type) ? getIndexTypeForGenericType(type, stringsOnly) : type.flags & 1048576 /* Union */ ? getIntersectionType(map(type.types, (t) => getIndexType(t, stringsOnly, noIndexSignatures))) : type.flags & 2097152 /* Intersection */ ? getUnionType(map(type.types, (t) => getIndexType(t, stringsOnly, noIndexSignatures))) : getObjectFlags(type) & 32 /* Mapped */ ? getIndexTypeForMappedType(type, stringsOnly, noIndexSignatures) : type === wildcardType ? wildcardType : type.flags & 2 /* Unknown */ ? neverType : type.flags & (1 /* Any */ | 131072 /* Never */) ? keyofConstraintType : getLiteralTypeFromProperties(\n      type,\n      (noIndexSignatures ? 128 /* StringLiteral */ : 402653316 /* StringLike */) | (stringsOnly ? 0 : 296 /* NumberLike */ | 12288 /* ESSymbolLike */),\n      stringsOnly === keyofStringsOnly && !noIndexSignatures\n    );\n  }\n  function getExtractStringType(type) {\n    if (keyofStringsOnly) {\n      return type;\n    }\n    const extractTypeAlias = getGlobalExtractSymbol();\n    return extractTypeAlias ? getTypeAliasInstantiation(extractTypeAlias, [type, stringType]) : stringType;\n  }\n  function getIndexTypeOrString(type) {\n    const indexType = getExtractStringType(getIndexType(type));\n    return indexType.flags & 131072 /* Never */ ? stringType : indexType;\n  }\n  function getTypeFromTypeOperatorNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      switch (node.operator) {\n        case 142 /* KeyOfKeyword */:\n          links.resolvedType = getIndexType(getTypeFromTypeNode(node.type));\n          break;\n        case 158 /* UniqueKeyword */:\n          links.resolvedType = node.type.kind === 154 /* SymbolKeyword */ ? getESSymbolLikeTypeForNode(walkUpParenthesizedTypes(node.parent)) : errorType;\n          break;\n        case 147 /* ReadonlyKeyword */:\n          links.resolvedType = getTypeFromTypeNode(node.type);\n          break;\n        default:\n          throw Debug.assertNever(node.operator);\n      }\n    }\n    return links.resolvedType;\n  }\n  function getTypeFromTemplateTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      links.resolvedType = getTemplateLiteralType(\n        [node.head.text, ...map(node.templateSpans, (span) => span.literal.text)],\n        map(node.templateSpans, (span) => getTypeFromTypeNode(span.type))\n      );\n    }\n    return links.resolvedType;\n  }\n  function getTemplateLiteralType(texts, types) {\n    const unionIndex = findIndex(types, (t) => !!(t.flags & (131072 /* Never */ | 1048576 /* Union */)));\n    if (unionIndex >= 0) {\n      return checkCrossProductUnion(types) ? mapType(types[unionIndex], (t) => getTemplateLiteralType(texts, replaceElement(types, unionIndex, t))) : errorType;\n    }\n    if (contains(types, wildcardType)) {\n      return wildcardType;\n    }\n    const newTypes = [];\n    const newTexts = [];\n    let text = texts[0];\n    if (!addSpans(texts, types)) {\n      return stringType;\n    }\n    if (newTypes.length === 0) {\n      return getStringLiteralType(text);\n    }\n    newTexts.push(text);\n    if (every(newTexts, (t) => t === \"\")) {\n      if (every(newTypes, (t) => !!(t.flags & 4 /* String */))) {\n        return stringType;\n      }\n      if (newTypes.length === 1 && isPatternLiteralType(newTypes[0])) {\n        return newTypes[0];\n      }\n    }\n    const id = `${getTypeListId(newTypes)}|${map(newTexts, (t) => t.length).join(\",\")}|${newTexts.join(\"\")}`;\n    let type = templateLiteralTypes.get(id);\n    if (!type) {\n      templateLiteralTypes.set(id, type = createTemplateLiteralType(newTexts, newTypes));\n    }\n    return type;\n    function addSpans(texts2, types2) {\n      const isTextsArray = isArray(texts2);\n      for (let i = 0; i < types2.length; i++) {\n        const t = types2[i];\n        const addText = isTextsArray ? texts2[i + 1] : texts2;\n        if (t.flags & (2944 /* Literal */ | 65536 /* Null */ | 32768 /* Undefined */)) {\n          text += getTemplateStringForType(t) || \"\";\n          text += addText;\n          if (!isTextsArray)\n            return true;\n        } else if (t.flags & 134217728 /* TemplateLiteral */) {\n          text += t.texts[0];\n          if (!addSpans(t.texts, t.types))\n            return false;\n          text += addText;\n          if (!isTextsArray)\n            return true;\n        } else if (isGenericIndexType(t) || isPatternLiteralPlaceholderType(t)) {\n          newTypes.push(t);\n          newTexts.push(text);\n          text = addText;\n        } else if (t.flags & 2097152 /* Intersection */) {\n          const added = addSpans(texts2[i + 1], t.types);\n          if (!added)\n            return false;\n        } else if (isTextsArray) {\n          return false;\n        }\n      }\n      return true;\n    }\n  }\n  function getTemplateStringForType(type) {\n    return type.flags & 128 /* StringLiteral */ ? type.value : type.flags & 256 /* NumberLiteral */ ? \"\" + type.value : type.flags & 2048 /* BigIntLiteral */ ? pseudoBigIntToString(type.value) : type.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) ? type.intrinsicName : void 0;\n  }\n  function createTemplateLiteralType(texts, types) {\n    const type = createType(134217728 /* TemplateLiteral */);\n    type.texts = texts;\n    type.types = types;\n    return type;\n  }\n  function getStringMappingType(symbol, type) {\n    return type.flags & (1048576 /* Union */ | 131072 /* Never */) ? mapType(type, (t) => getStringMappingType(symbol, t)) : type.flags & 128 /* StringLiteral */ ? getStringLiteralType(applyStringMapping(symbol, type.value)) : type.flags & 134217728 /* TemplateLiteral */ ? getTemplateLiteralType(...applyTemplateStringMapping(symbol, type.texts, type.types)) : type.flags & 268435456 /* StringMapping */ && symbol === type.symbol ? type : type.flags & (1 /* Any */ | 4 /* String */ | 268435456 /* StringMapping */) || isGenericIndexType(type) ? getStringMappingTypeForGenericType(symbol, type) : isPatternLiteralPlaceholderType(type) ? getStringMappingTypeForGenericType(symbol, getTemplateLiteralType([\"\", \"\"], [type])) : type;\n  }\n  function applyStringMapping(symbol, str) {\n    switch (intrinsicTypeKinds.get(symbol.escapedName)) {\n      case 0 /* Uppercase */:\n        return str.toUpperCase();\n      case 1 /* Lowercase */:\n        return str.toLowerCase();\n      case 2 /* Capitalize */:\n        return str.charAt(0).toUpperCase() + str.slice(1);\n      case 3 /* Uncapitalize */:\n        return str.charAt(0).toLowerCase() + str.slice(1);\n    }\n    return str;\n  }\n  function applyTemplateStringMapping(symbol, texts, types) {\n    switch (intrinsicTypeKinds.get(symbol.escapedName)) {\n      case 0 /* Uppercase */:\n        return [texts.map((t) => t.toUpperCase()), types.map((t) => getStringMappingType(symbol, t))];\n      case 1 /* Lowercase */:\n        return [texts.map((t) => t.toLowerCase()), types.map((t) => getStringMappingType(symbol, t))];\n      case 2 /* Capitalize */:\n        return [texts[0] === \"\" ? texts : [texts[0].charAt(0).toUpperCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === \"\" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types];\n      case 3 /* Uncapitalize */:\n        return [texts[0] === \"\" ? texts : [texts[0].charAt(0).toLowerCase() + texts[0].slice(1), ...texts.slice(1)], texts[0] === \"\" ? [getStringMappingType(symbol, types[0]), ...types.slice(1)] : types];\n    }\n    return [texts, types];\n  }\n  function getStringMappingTypeForGenericType(symbol, type) {\n    const id = `${getSymbolId(symbol)},${getTypeId(type)}`;\n    let result = stringMappingTypes.get(id);\n    if (!result) {\n      stringMappingTypes.set(id, result = createStringMappingType(symbol, type));\n    }\n    return result;\n  }\n  function createStringMappingType(symbol, type) {\n    const result = createType(268435456 /* StringMapping */);\n    result.symbol = symbol;\n    result.type = type;\n    return result;\n  }\n  function createIndexedAccessType(objectType, indexType, accessFlags, aliasSymbol, aliasTypeArguments) {\n    const type = createType(8388608 /* IndexedAccess */);\n    type.objectType = objectType;\n    type.indexType = indexType;\n    type.accessFlags = accessFlags;\n    type.aliasSymbol = aliasSymbol;\n    type.aliasTypeArguments = aliasTypeArguments;\n    return type;\n  }\n  function isJSLiteralType(type) {\n    if (noImplicitAny) {\n      return false;\n    }\n    if (getObjectFlags(type) & 4096 /* JSLiteral */) {\n      return true;\n    }\n    if (type.flags & 1048576 /* Union */) {\n      return every(type.types, isJSLiteralType);\n    }\n    if (type.flags & 2097152 /* Intersection */) {\n      return some(type.types, isJSLiteralType);\n    }\n    if (type.flags & 465829888 /* Instantiable */) {\n      const constraint = getResolvedBaseConstraint(type);\n      return constraint !== type && isJSLiteralType(constraint);\n    }\n    return false;\n  }\n  function getPropertyNameFromIndex(indexType, accessNode) {\n    return isTypeUsableAsPropertyName(indexType) ? getPropertyNameFromType(indexType) : accessNode && isPropertyName(accessNode) ? getPropertyNameForPropertyNameNode(accessNode) : void 0;\n  }\n  function isUncalledFunctionReference(node, symbol) {\n    if (symbol.flags & (16 /* Function */ | 8192 /* Method */)) {\n      const parent2 = findAncestor(node.parent, (n) => !isAccessExpression(n)) || node.parent;\n      if (isCallLikeExpression(parent2)) {\n        return isCallOrNewExpression(parent2) && isIdentifier(node) && hasMatchingArgument(parent2, node);\n      }\n      return every(symbol.declarations, (d) => !isFunctionLike(d) || !!(getCombinedNodeFlags(d) & 268435456 /* Deprecated */));\n    }\n    return true;\n  }\n  function getPropertyTypeForIndexType(originalObjectType, objectType, indexType, fullIndexType, accessNode, accessFlags) {\n    var _a2;\n    const accessExpression = accessNode && accessNode.kind === 212 /* ElementAccessExpression */ ? accessNode : void 0;\n    const propName = accessNode && isPrivateIdentifier(accessNode) ? void 0 : getPropertyNameFromIndex(indexType, accessNode);\n    if (propName !== void 0) {\n      if (accessFlags & 256 /* Contextual */) {\n        return getTypeOfPropertyOfContextualType(objectType, propName) || anyType;\n      }\n      const prop = getPropertyOfType(objectType, propName);\n      if (prop) {\n        if (accessFlags & 64 /* ReportDeprecated */ && accessNode && prop.declarations && isDeprecatedSymbol(prop) && isUncalledFunctionReference(accessNode, prop)) {\n          const deprecatedNode = (_a2 = accessExpression == null ? void 0 : accessExpression.argumentExpression) != null ? _a2 : isIndexedAccessTypeNode(accessNode) ? accessNode.indexType : accessNode;\n          addDeprecatedSuggestion(deprecatedNode, prop.declarations, propName);\n        }\n        if (accessExpression) {\n          markPropertyAsReferenced(prop, accessExpression, isSelfTypeAccess(accessExpression.expression, objectType.symbol));\n          if (isAssignmentToReadonlyEntity(accessExpression, prop, getAssignmentTargetKind(accessExpression))) {\n            error(accessExpression.argumentExpression, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(prop));\n            return void 0;\n          }\n          if (accessFlags & 8 /* CacheSymbol */) {\n            getNodeLinks(accessNode).resolvedSymbol = prop;\n          }\n          if (isThisPropertyAccessInConstructor(accessExpression, prop)) {\n            return autoType;\n          }\n        }\n        const propType = getTypeOfSymbol(prop);\n        return accessExpression && getAssignmentTargetKind(accessExpression) !== 1 /* Definite */ ? getFlowTypeOfReference(accessExpression, propType) : propType;\n      }\n      if (everyType(objectType, isTupleType) && isNumericLiteralName(propName)) {\n        const index = +propName;\n        if (accessNode && everyType(objectType, (t) => !t.target.hasRestElement) && !(accessFlags & 16 /* NoTupleBoundsCheck */)) {\n          const indexNode = getIndexNodeForAccessExpression(accessNode);\n          if (isTupleType(objectType)) {\n            if (index < 0) {\n              error(indexNode, Diagnostics.A_tuple_type_cannot_be_indexed_with_a_negative_value);\n              return undefinedType;\n            }\n            error(\n              indexNode,\n              Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,\n              typeToString(objectType),\n              getTypeReferenceArity(objectType),\n              unescapeLeadingUnderscores(propName)\n            );\n          } else {\n            error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType));\n          }\n        }\n        if (index >= 0) {\n          errorIfWritingToReadonlyIndex(getIndexInfoOfType(objectType, numberType));\n          return mapType(objectType, (t) => {\n            const restType = getRestTypeOfTupleType(t) || undefinedType;\n            return accessFlags & 1 /* IncludeUndefined */ ? getUnionType([restType, undefinedType]) : restType;\n          });\n        }\n      }\n    }\n    if (!(indexType.flags & 98304 /* Nullable */) && isTypeAssignableToKind(indexType, 402653316 /* StringLike */ | 296 /* NumberLike */ | 12288 /* ESSymbolLike */)) {\n      if (objectType.flags & (1 /* Any */ | 131072 /* Never */)) {\n        return objectType;\n      }\n      const indexInfo = getApplicableIndexInfo(objectType, indexType) || getIndexInfoOfType(objectType, stringType);\n      if (indexInfo) {\n        if (accessFlags & 2 /* NoIndexSignatures */ && indexInfo.keyType !== numberType) {\n          if (accessExpression) {\n            error(accessExpression, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(originalObjectType));\n          }\n          return void 0;\n        }\n        if (accessNode && indexInfo.keyType === stringType && !isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {\n          const indexNode = getIndexNodeForAccessExpression(accessNode);\n          error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeToString(indexType));\n          return accessFlags & 1 /* IncludeUndefined */ ? getUnionType([indexInfo.type, undefinedType]) : indexInfo.type;\n        }\n        errorIfWritingToReadonlyIndex(indexInfo);\n        if (accessFlags & 1 /* IncludeUndefined */ && !(objectType.symbol && objectType.symbol.flags & (256 /* RegularEnum */ | 128 /* ConstEnum */) && (indexType.symbol && indexType.flags & 1024 /* EnumLiteral */ && getParentOfSymbol(indexType.symbol) === objectType.symbol))) {\n          return getUnionType([indexInfo.type, undefinedType]);\n        }\n        return indexInfo.type;\n      }\n      if (indexType.flags & 131072 /* Never */) {\n        return neverType;\n      }\n      if (isJSLiteralType(objectType)) {\n        return anyType;\n      }\n      if (accessExpression && !isConstEnumObjectType(objectType)) {\n        if (isObjectLiteralType4(objectType)) {\n          if (noImplicitAny && indexType.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) {\n            diagnostics.add(createDiagnosticForNode(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, indexType.value, typeToString(objectType)));\n            return undefinedType;\n          } else if (indexType.flags & (8 /* Number */ | 4 /* String */)) {\n            const types = map(objectType.properties, (property) => {\n              return getTypeOfSymbol(property);\n            });\n            return getUnionType(append(types, undefinedType));\n          }\n        }\n        if (objectType.symbol === globalThisSymbol && propName !== void 0 && globalThisSymbol.exports.has(propName) && globalThisSymbol.exports.get(propName).flags & 418 /* BlockScoped */) {\n          error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(propName), typeToString(objectType));\n        } else if (noImplicitAny && !compilerOptions.suppressImplicitAnyIndexErrors && !(accessFlags & 128 /* SuppressNoImplicitAnyError */)) {\n          if (propName !== void 0 && typeHasStaticProperty(propName, objectType)) {\n            const typeName = typeToString(objectType);\n            error(accessExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + \"[\" + getTextOfNode(accessExpression.argumentExpression) + \"]\");\n          } else if (getIndexTypeOfType(objectType, numberType)) {\n            error(accessExpression.argumentExpression, Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);\n          } else {\n            let suggestion;\n            if (propName !== void 0 && (suggestion = getSuggestionForNonexistentProperty(propName, objectType))) {\n              if (suggestion !== void 0) {\n                error(accessExpression.argumentExpression, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(objectType), suggestion);\n              }\n            } else {\n              const suggestion2 = getSuggestionForNonexistentIndexSignature(objectType, accessExpression, indexType);\n              if (suggestion2 !== void 0) {\n                error(accessExpression, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1, typeToString(objectType), suggestion2);\n              } else {\n                let errorInfo;\n                if (indexType.flags & 1024 /* EnumLiteral */) {\n                  errorInfo = chainDiagnosticMessages(void 0, Diagnostics.Property_0_does_not_exist_on_type_1, \"[\" + typeToString(indexType) + \"]\", typeToString(objectType));\n                } else if (indexType.flags & 8192 /* UniqueESSymbol */) {\n                  const symbolName2 = getFullyQualifiedName(indexType.symbol, accessExpression);\n                  errorInfo = chainDiagnosticMessages(void 0, Diagnostics.Property_0_does_not_exist_on_type_1, \"[\" + symbolName2 + \"]\", typeToString(objectType));\n                } else if (indexType.flags & 128 /* StringLiteral */) {\n                  errorInfo = chainDiagnosticMessages(void 0, Diagnostics.Property_0_does_not_exist_on_type_1, indexType.value, typeToString(objectType));\n                } else if (indexType.flags & 256 /* NumberLiteral */) {\n                  errorInfo = chainDiagnosticMessages(void 0, Diagnostics.Property_0_does_not_exist_on_type_1, indexType.value, typeToString(objectType));\n                } else if (indexType.flags & (8 /* Number */ | 4 /* String */)) {\n                  errorInfo = chainDiagnosticMessages(void 0, Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1, typeToString(indexType), typeToString(objectType));\n                }\n                errorInfo = chainDiagnosticMessages(\n                  errorInfo,\n                  Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,\n                  typeToString(fullIndexType),\n                  typeToString(objectType)\n                );\n                diagnostics.add(createDiagnosticForNodeFromMessageChain(accessExpression, errorInfo));\n              }\n            }\n          }\n        }\n        return void 0;\n      }\n    }\n    if (isJSLiteralType(objectType)) {\n      return anyType;\n    }\n    if (accessNode) {\n      const indexNode = getIndexNodeForAccessExpression(accessNode);\n      if (indexType.flags & (128 /* StringLiteral */ | 256 /* NumberLiteral */)) {\n        error(indexNode, Diagnostics.Property_0_does_not_exist_on_type_1, \"\" + indexType.value, typeToString(objectType));\n      } else if (indexType.flags & (4 /* String */ | 8 /* Number */)) {\n        error(indexNode, Diagnostics.Type_0_has_no_matching_index_signature_for_type_1, typeToString(objectType), typeToString(indexType));\n      } else {\n        error(indexNode, Diagnostics.Type_0_cannot_be_used_as_an_index_type, typeToString(indexType));\n      }\n    }\n    if (isTypeAny(indexType)) {\n      return indexType;\n    }\n    return void 0;\n    function errorIfWritingToReadonlyIndex(indexInfo) {\n      if (indexInfo && indexInfo.isReadonly && accessExpression && (isAssignmentTarget(accessExpression) || isDeleteTarget(accessExpression))) {\n        error(accessExpression, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType));\n      }\n    }\n  }\n  function getIndexNodeForAccessExpression(accessNode) {\n    return accessNode.kind === 212 /* ElementAccessExpression */ ? accessNode.argumentExpression : accessNode.kind === 199 /* IndexedAccessType */ ? accessNode.indexType : accessNode.kind === 166 /* ComputedPropertyName */ ? accessNode.expression : accessNode;\n  }\n  function isPatternLiteralPlaceholderType(type) {\n    return !!(type.flags & (1 /* Any */ | 4 /* String */ | 8 /* Number */ | 64 /* BigInt */)) || isPatternLiteralType(type);\n  }\n  function isPatternLiteralType(type) {\n    return !!(type.flags & 134217728 /* TemplateLiteral */) && every(type.types, isPatternLiteralPlaceholderType) || !!(type.flags & 268435456 /* StringMapping */) && isPatternLiteralPlaceholderType(type.type);\n  }\n  function isGenericType(type) {\n    return !!getGenericObjectFlags(type);\n  }\n  function isGenericObjectType(type) {\n    return !!(getGenericObjectFlags(type) & 4194304 /* IsGenericObjectType */);\n  }\n  function isGenericIndexType(type) {\n    return !!(getGenericObjectFlags(type) & 8388608 /* IsGenericIndexType */);\n  }\n  function getGenericObjectFlags(type) {\n    if (type.flags & 3145728 /* UnionOrIntersection */) {\n      if (!(type.objectFlags & 2097152 /* IsGenericTypeComputed */)) {\n        type.objectFlags |= 2097152 /* IsGenericTypeComputed */ | reduceLeft(type.types, (flags, t) => flags | getGenericObjectFlags(t), 0);\n      }\n      return type.objectFlags & 12582912 /* IsGenericType */;\n    }\n    if (type.flags & 33554432 /* Substitution */) {\n      if (!(type.objectFlags & 2097152 /* IsGenericTypeComputed */)) {\n        type.objectFlags |= 2097152 /* IsGenericTypeComputed */ | getGenericObjectFlags(type.baseType) | getGenericObjectFlags(type.constraint);\n      }\n      return type.objectFlags & 12582912 /* IsGenericType */;\n    }\n    return (type.flags & 58982400 /* InstantiableNonPrimitive */ || isGenericMappedType(type) || isGenericTupleType(type) ? 4194304 /* IsGenericObjectType */ : 0) | (type.flags & (58982400 /* InstantiableNonPrimitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && !isPatternLiteralType(type) ? 8388608 /* IsGenericIndexType */ : 0);\n  }\n  function getSimplifiedType(type, writing) {\n    return type.flags & 8388608 /* IndexedAccess */ ? getSimplifiedIndexedAccessType(type, writing) : type.flags & 16777216 /* Conditional */ ? getSimplifiedConditionalType(type, writing) : type;\n  }\n  function distributeIndexOverObjectType(objectType, indexType, writing) {\n    if (objectType.flags & 1048576 /* Union */ || objectType.flags & 2097152 /* Intersection */ && !shouldDeferIndexType(objectType)) {\n      const types = map(objectType.types, (t) => getSimplifiedType(getIndexedAccessType(t, indexType), writing));\n      return objectType.flags & 2097152 /* Intersection */ || writing ? getIntersectionType(types) : getUnionType(types);\n    }\n  }\n  function distributeObjectOverIndexType(objectType, indexType, writing) {\n    if (indexType.flags & 1048576 /* Union */) {\n      const types = map(indexType.types, (t) => getSimplifiedType(getIndexedAccessType(objectType, t), writing));\n      return writing ? getIntersectionType(types) : getUnionType(types);\n    }\n  }\n  function getSimplifiedIndexedAccessType(type, writing) {\n    const cache = writing ? \"simplifiedForWriting\" : \"simplifiedForReading\";\n    if (type[cache]) {\n      return type[cache] === circularConstraintType ? type : type[cache];\n    }\n    type[cache] = circularConstraintType;\n    const objectType = getSimplifiedType(type.objectType, writing);\n    const indexType = getSimplifiedType(type.indexType, writing);\n    const distributedOverIndex = distributeObjectOverIndexType(objectType, indexType, writing);\n    if (distributedOverIndex) {\n      return type[cache] = distributedOverIndex;\n    }\n    if (!(indexType.flags & 465829888 /* Instantiable */)) {\n      const distributedOverObject = distributeIndexOverObjectType(objectType, indexType, writing);\n      if (distributedOverObject) {\n        return type[cache] = distributedOverObject;\n      }\n    }\n    if (isGenericTupleType(objectType) && indexType.flags & 296 /* NumberLike */) {\n      const elementType = getElementTypeOfSliceOfTupleType(objectType, indexType.flags & 8 /* Number */ ? 0 : objectType.target.fixedLength, 0, writing);\n      if (elementType) {\n        return type[cache] = elementType;\n      }\n    }\n    if (isGenericMappedType(objectType)) {\n      const nameType = getNameTypeFromMappedType(objectType);\n      if (!nameType || isTypeAssignableTo(nameType, getTypeParameterFromMappedType(objectType))) {\n        return type[cache] = mapType(substituteIndexedMappedType(objectType, type.indexType), (t) => getSimplifiedType(t, writing));\n      }\n    }\n    return type[cache] = type;\n  }\n  function getSimplifiedConditionalType(type, writing) {\n    const checkType = type.checkType;\n    const extendsType = type.extendsType;\n    const trueType2 = getTrueTypeFromConditionalType(type);\n    const falseType2 = getFalseTypeFromConditionalType(type);\n    if (falseType2.flags & 131072 /* Never */ && getActualTypeVariable(trueType2) === getActualTypeVariable(checkType)) {\n      if (checkType.flags & 1 /* Any */ || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) {\n        return getSimplifiedType(trueType2, writing);\n      } else if (isIntersectionEmpty(checkType, extendsType)) {\n        return neverType;\n      }\n    } else if (trueType2.flags & 131072 /* Never */ && getActualTypeVariable(falseType2) === getActualTypeVariable(checkType)) {\n      if (!(checkType.flags & 1 /* Any */) && isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(extendsType))) {\n        return neverType;\n      } else if (checkType.flags & 1 /* Any */ || isIntersectionEmpty(checkType, extendsType)) {\n        return getSimplifiedType(falseType2, writing);\n      }\n    }\n    return type;\n  }\n  function isIntersectionEmpty(type1, type2) {\n    return !!(getUnionType([intersectTypes(type1, type2), neverType]).flags & 131072 /* Never */);\n  }\n  function substituteIndexedMappedType(objectType, index) {\n    const mapper = createTypeMapper([getTypeParameterFromMappedType(objectType)], [index]);\n    const templateMapper = combineTypeMappers(objectType.mapper, mapper);\n    return instantiateType(getTemplateTypeFromMappedType(objectType.target || objectType), templateMapper);\n  }\n  function getIndexedAccessType(objectType, indexType, accessFlags = 0 /* None */, accessNode, aliasSymbol, aliasTypeArguments) {\n    return getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags, accessNode, aliasSymbol, aliasTypeArguments) || (accessNode ? errorType : unknownType);\n  }\n  function indexTypeLessThan(indexType, limit) {\n    return everyType(indexType, (t) => {\n      if (t.flags & 384 /* StringOrNumberLiteral */) {\n        const propName = getPropertyNameFromType(t);\n        if (isNumericLiteralName(propName)) {\n          const index = +propName;\n          return index >= 0 && index < limit;\n        }\n      }\n      return false;\n    });\n  }\n  function getIndexedAccessTypeOrUndefined(objectType, indexType, accessFlags = 0 /* None */, accessNode, aliasSymbol, aliasTypeArguments) {\n    if (objectType === wildcardType || indexType === wildcardType) {\n      return wildcardType;\n    }\n    if (isStringIndexSignatureOnlyType(objectType) && !(indexType.flags & 98304 /* Nullable */) && isTypeAssignableToKind(indexType, 4 /* String */ | 8 /* Number */)) {\n      indexType = stringType;\n    }\n    if (compilerOptions.noUncheckedIndexedAccess && accessFlags & 32 /* ExpressionPosition */)\n      accessFlags |= 1 /* IncludeUndefined */;\n    if (isGenericIndexType(indexType) || (accessNode && accessNode.kind !== 199 /* IndexedAccessType */ ? isGenericTupleType(objectType) && !indexTypeLessThan(indexType, objectType.target.fixedLength) : isGenericObjectType(objectType) && !(isTupleType(objectType) && indexTypeLessThan(indexType, objectType.target.fixedLength)))) {\n      if (objectType.flags & 3 /* AnyOrUnknown */) {\n        return objectType;\n      }\n      const persistentAccessFlags = accessFlags & 1 /* Persistent */;\n      const id = objectType.id + \",\" + indexType.id + \",\" + persistentAccessFlags + getAliasId(aliasSymbol, aliasTypeArguments);\n      let type = indexedAccessTypes.get(id);\n      if (!type) {\n        indexedAccessTypes.set(id, type = createIndexedAccessType(objectType, indexType, persistentAccessFlags, aliasSymbol, aliasTypeArguments));\n      }\n      return type;\n    }\n    const apparentObjectType = getReducedApparentType(objectType);\n    if (indexType.flags & 1048576 /* Union */ && !(indexType.flags & 16 /* Boolean */)) {\n      const propTypes = [];\n      let wasMissingProp = false;\n      for (const t of indexType.types) {\n        const propType = getPropertyTypeForIndexType(objectType, apparentObjectType, t, indexType, accessNode, accessFlags | (wasMissingProp ? 128 /* SuppressNoImplicitAnyError */ : 0));\n        if (propType) {\n          propTypes.push(propType);\n        } else if (!accessNode) {\n          return void 0;\n        } else {\n          wasMissingProp = true;\n        }\n      }\n      if (wasMissingProp) {\n        return void 0;\n      }\n      return accessFlags & 4 /* Writing */ ? getIntersectionType(propTypes, aliasSymbol, aliasTypeArguments) : getUnionType(propTypes, 1 /* Literal */, aliasSymbol, aliasTypeArguments);\n    }\n    return getPropertyTypeForIndexType(objectType, apparentObjectType, indexType, indexType, accessNode, accessFlags | 8 /* CacheSymbol */ | 64 /* ReportDeprecated */);\n  }\n  function getTypeFromIndexedAccessTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const objectType = getTypeFromTypeNode(node.objectType);\n      const indexType = getTypeFromTypeNode(node.indexType);\n      const potentialAlias = getAliasSymbolForTypeNode(node);\n      links.resolvedType = getIndexedAccessType(objectType, indexType, 0 /* None */, node, potentialAlias, getTypeArgumentsForAliasSymbol(potentialAlias));\n    }\n    return links.resolvedType;\n  }\n  function getTypeFromMappedTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const type = createObjectType(32 /* Mapped */, node.symbol);\n      type.declaration = node;\n      type.aliasSymbol = getAliasSymbolForTypeNode(node);\n      type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(type.aliasSymbol);\n      links.resolvedType = type;\n      getConstraintTypeFromMappedType(type);\n    }\n    return links.resolvedType;\n  }\n  function getActualTypeVariable(type) {\n    if (type.flags & 33554432 /* Substitution */) {\n      return type.baseType;\n    }\n    if (type.flags & 8388608 /* IndexedAccess */ && (type.objectType.flags & 33554432 /* Substitution */ || type.indexType.flags & 33554432 /* Substitution */)) {\n      return getIndexedAccessType(getActualTypeVariable(type.objectType), getActualTypeVariable(type.indexType));\n    }\n    return type;\n  }\n  function maybeCloneTypeParameter(p) {\n    const constraint = getConstraintOfTypeParameter(p);\n    return constraint && (isGenericObjectType(constraint) || isGenericIndexType(constraint)) ? cloneTypeParameter(p) : p;\n  }\n  function isTypicalNondistributiveConditional(root) {\n    return !root.isDistributive && isSingletonTupleType(root.node.checkType) && isSingletonTupleType(root.node.extendsType);\n  }\n  function isSingletonTupleType(node) {\n    return isTupleTypeNode(node) && length(node.elements) === 1 && !isOptionalTypeNode(node.elements[0]) && !isRestTypeNode(node.elements[0]) && !(isNamedTupleMember(node.elements[0]) && (node.elements[0].questionToken || node.elements[0].dotDotDotToken));\n  }\n  function unwrapNondistributiveConditionalTuple(root, type) {\n    return isTypicalNondistributiveConditional(root) && isTupleType(type) ? getTypeArguments(type)[0] : type;\n  }\n  function getConditionalType(root, mapper, aliasSymbol, aliasTypeArguments) {\n    let result;\n    let extraTypes;\n    let tailCount = 0;\n    while (true) {\n      if (tailCount === 1e3) {\n        error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);\n        result = errorType;\n        break;\n      }\n      const isUnwrapped = isTypicalNondistributiveConditional(root);\n      const checkType = instantiateType(unwrapNondistributiveConditionalTuple(root, getActualTypeVariable(root.checkType)), mapper);\n      const checkTypeInstantiable = isGenericType(checkType);\n      const extendsType = instantiateType(unwrapNondistributiveConditionalTuple(root, root.extendsType), mapper);\n      if (checkType === wildcardType || extendsType === wildcardType) {\n        return wildcardType;\n      }\n      let combinedMapper;\n      if (root.inferTypeParameters) {\n        const freshParams = sameMap(root.inferTypeParameters, maybeCloneTypeParameter);\n        const freshMapper = freshParams !== root.inferTypeParameters ? createTypeMapper(root.inferTypeParameters, freshParams) : void 0;\n        const context = createInferenceContext(freshParams, void 0, 0 /* None */);\n        if (freshMapper) {\n          const freshCombinedMapper = combineTypeMappers(mapper, freshMapper);\n          for (const p of freshParams) {\n            if (root.inferTypeParameters.indexOf(p) === -1) {\n              p.mapper = freshCombinedMapper;\n            }\n          }\n        }\n        if (!checkTypeInstantiable) {\n          inferTypes(context.inferences, checkType, instantiateType(extendsType, freshMapper), 512 /* NoConstraints */ | 1024 /* AlwaysStrict */);\n        }\n        const innerMapper = combineTypeMappers(freshMapper, context.mapper);\n        combinedMapper = mapper ? combineTypeMappers(innerMapper, mapper) : innerMapper;\n      }\n      const inferredExtendsType = combinedMapper ? instantiateType(unwrapNondistributiveConditionalTuple(root, root.extendsType), combinedMapper) : extendsType;\n      if (!checkTypeInstantiable && !isGenericType(inferredExtendsType)) {\n        if (!(inferredExtendsType.flags & 3 /* AnyOrUnknown */) && (checkType.flags & 1 /* Any */ && !isUnwrapped || !isTypeAssignableTo(getPermissiveInstantiation(checkType), getPermissiveInstantiation(inferredExtendsType)))) {\n          if (checkType.flags & 1 /* Any */ && !isUnwrapped) {\n            (extraTypes || (extraTypes = [])).push(instantiateType(getTypeFromTypeNode(root.node.trueType), combinedMapper || mapper));\n          }\n          const falseType2 = getTypeFromTypeNode(root.node.falseType);\n          if (falseType2.flags & 16777216 /* Conditional */) {\n            const newRoot = falseType2.root;\n            if (newRoot.node.parent === root.node && (!newRoot.isDistributive || newRoot.checkType === root.checkType)) {\n              root = newRoot;\n              continue;\n            }\n            if (canTailRecurse(falseType2, mapper)) {\n              continue;\n            }\n          }\n          result = instantiateType(falseType2, mapper);\n          break;\n        }\n        if (inferredExtendsType.flags & 3 /* AnyOrUnknown */ || isTypeAssignableTo(getRestrictiveInstantiation(checkType), getRestrictiveInstantiation(inferredExtendsType))) {\n          const trueType2 = getTypeFromTypeNode(root.node.trueType);\n          const trueMapper = combinedMapper || mapper;\n          if (canTailRecurse(trueType2, trueMapper)) {\n            continue;\n          }\n          result = instantiateType(trueType2, trueMapper);\n          break;\n        }\n      }\n      result = createType(16777216 /* Conditional */);\n      result.root = root;\n      result.checkType = instantiateType(root.checkType, mapper);\n      result.extendsType = instantiateType(root.extendsType, mapper);\n      result.mapper = mapper;\n      result.combinedMapper = combinedMapper;\n      result.aliasSymbol = aliasSymbol || root.aliasSymbol;\n      result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(root.aliasTypeArguments, mapper);\n      break;\n    }\n    return extraTypes ? getUnionType(append(extraTypes, result)) : result;\n    function canTailRecurse(newType, newMapper) {\n      if (newType.flags & 16777216 /* Conditional */ && newMapper) {\n        const newRoot = newType.root;\n        if (newRoot.outerTypeParameters) {\n          const typeParamMapper = combineTypeMappers(newType.mapper, newMapper);\n          const typeArguments = map(newRoot.outerTypeParameters, (t) => getMappedType(t, typeParamMapper));\n          const newRootMapper = createTypeMapper(newRoot.outerTypeParameters, typeArguments);\n          const newCheckType = newRoot.isDistributive ? getMappedType(newRoot.checkType, newRootMapper) : void 0;\n          if (!newCheckType || newCheckType === newRoot.checkType || !(newCheckType.flags & (1048576 /* Union */ | 131072 /* Never */))) {\n            root = newRoot;\n            mapper = newRootMapper;\n            aliasSymbol = void 0;\n            aliasTypeArguments = void 0;\n            if (newRoot.aliasSymbol) {\n              tailCount++;\n            }\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n  }\n  function getTrueTypeFromConditionalType(type) {\n    return type.resolvedTrueType || (type.resolvedTrueType = instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.mapper));\n  }\n  function getFalseTypeFromConditionalType(type) {\n    return type.resolvedFalseType || (type.resolvedFalseType = instantiateType(getTypeFromTypeNode(type.root.node.falseType), type.mapper));\n  }\n  function getInferredTrueTypeFromConditionalType(type) {\n    return type.resolvedInferredTrueType || (type.resolvedInferredTrueType = type.combinedMapper ? instantiateType(getTypeFromTypeNode(type.root.node.trueType), type.combinedMapper) : getTrueTypeFromConditionalType(type));\n  }\n  function getInferTypeParameters(node) {\n    let result;\n    if (node.locals) {\n      node.locals.forEach((symbol) => {\n        if (symbol.flags & 262144 /* TypeParameter */) {\n          result = append(result, getDeclaredTypeOfSymbol(symbol));\n        }\n      });\n    }\n    return result;\n  }\n  function isDistributionDependent(root) {\n    return root.isDistributive && (isTypeParameterPossiblyReferenced(root.checkType, root.node.trueType) || isTypeParameterPossiblyReferenced(root.checkType, root.node.falseType));\n  }\n  function getTypeFromConditionalTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const checkType = getTypeFromTypeNode(node.checkType);\n      const aliasSymbol = getAliasSymbolForTypeNode(node);\n      const aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol);\n      const allOuterTypeParameters = getOuterTypeParameters(node, true);\n      const outerTypeParameters = aliasTypeArguments ? allOuterTypeParameters : filter(allOuterTypeParameters, (tp) => isTypeParameterPossiblyReferenced(tp, node));\n      const root = {\n        node,\n        checkType,\n        extendsType: getTypeFromTypeNode(node.extendsType),\n        isDistributive: !!(checkType.flags & 262144 /* TypeParameter */),\n        inferTypeParameters: getInferTypeParameters(node),\n        outerTypeParameters,\n        instantiations: void 0,\n        aliasSymbol,\n        aliasTypeArguments\n      };\n      links.resolvedType = getConditionalType(root, void 0);\n      if (outerTypeParameters) {\n        root.instantiations = new Map2();\n        root.instantiations.set(getTypeListId(outerTypeParameters), links.resolvedType);\n      }\n    }\n    return links.resolvedType;\n  }\n  function getTypeFromInferTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      links.resolvedType = getDeclaredTypeOfTypeParameter(getSymbolOfNode(node.typeParameter));\n    }\n    return links.resolvedType;\n  }\n  function getIdentifierChain(node) {\n    if (isIdentifier(node)) {\n      return [node];\n    } else {\n      return append(getIdentifierChain(node.left), node.right);\n    }\n  }\n  function getTypeFromImportTypeNode(node) {\n    var _a2;\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      if (node.isTypeOf && node.typeArguments) {\n        error(node, Diagnostics.Type_arguments_cannot_be_used_here);\n        links.resolvedSymbol = unknownSymbol;\n        return links.resolvedType = errorType;\n      }\n      if (!isLiteralImportTypeNode(node)) {\n        error(node.argument, Diagnostics.String_literal_expected);\n        links.resolvedSymbol = unknownSymbol;\n        return links.resolvedType = errorType;\n      }\n      const targetMeaning = node.isTypeOf ? 111551 /* Value */ : node.flags & 8388608 /* JSDoc */ ? 111551 /* Value */ | 788968 /* Type */ : 788968 /* Type */;\n      const innerModuleSymbol = resolveExternalModuleName(node, node.argument.literal);\n      if (!innerModuleSymbol) {\n        links.resolvedSymbol = unknownSymbol;\n        return links.resolvedType = errorType;\n      }\n      const isExportEquals = !!((_a2 = innerModuleSymbol.exports) == null ? void 0 : _a2.get(\"export=\" /* ExportEquals */));\n      const moduleSymbol = resolveExternalModuleSymbol(innerModuleSymbol, false);\n      if (!nodeIsMissing(node.qualifier)) {\n        const nameStack = getIdentifierChain(node.qualifier);\n        let currentNamespace = moduleSymbol;\n        let current;\n        while (current = nameStack.shift()) {\n          const meaning = nameStack.length ? 1920 /* Namespace */ : targetMeaning;\n          const mergedResolvedSymbol = getMergedSymbol(resolveSymbol(currentNamespace));\n          const symbolFromVariable = node.isTypeOf || isInJSFile(node) && isExportEquals ? getPropertyOfType(getTypeOfSymbol(mergedResolvedSymbol), current.escapedText, false, true) : void 0;\n          const symbolFromModule = node.isTypeOf ? void 0 : getSymbol2(getExportsOfSymbol(mergedResolvedSymbol), current.escapedText, meaning);\n          const next = symbolFromModule != null ? symbolFromModule : symbolFromVariable;\n          if (!next) {\n            error(current, Diagnostics.Namespace_0_has_no_exported_member_1, getFullyQualifiedName(currentNamespace), declarationNameToString(current));\n            return links.resolvedType = errorType;\n          }\n          getNodeLinks(current).resolvedSymbol = next;\n          getNodeLinks(current.parent).resolvedSymbol = next;\n          currentNamespace = next;\n        }\n        links.resolvedType = resolveImportSymbolType(node, links, currentNamespace, targetMeaning);\n      } else {\n        if (moduleSymbol.flags & targetMeaning) {\n          links.resolvedType = resolveImportSymbolType(node, links, moduleSymbol, targetMeaning);\n        } else {\n          const errorMessage = targetMeaning === 111551 /* Value */ ? Diagnostics.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here : Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;\n          error(node, errorMessage, node.argument.literal.text);\n          links.resolvedSymbol = unknownSymbol;\n          links.resolvedType = errorType;\n        }\n      }\n    }\n    return links.resolvedType;\n  }\n  function resolveImportSymbolType(node, links, symbol, meaning) {\n    const resolvedSymbol = resolveSymbol(symbol);\n    links.resolvedSymbol = resolvedSymbol;\n    if (meaning === 111551 /* Value */) {\n      return getTypeOfSymbol(symbol);\n    } else {\n      return getTypeReferenceType(node, resolvedSymbol);\n    }\n  }\n  function getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const aliasSymbol = getAliasSymbolForTypeNode(node);\n      if (getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) {\n        links.resolvedType = emptyTypeLiteralType;\n      } else {\n        let type = createObjectType(16 /* Anonymous */, node.symbol);\n        type.aliasSymbol = aliasSymbol;\n        type.aliasTypeArguments = getTypeArgumentsForAliasSymbol(aliasSymbol);\n        if (isJSDocTypeLiteral(node) && node.isArrayType) {\n          type = createArrayType(type);\n        }\n        links.resolvedType = type;\n      }\n    }\n    return links.resolvedType;\n  }\n  function getAliasSymbolForTypeNode(node) {\n    let host2 = node.parent;\n    while (isParenthesizedTypeNode(host2) || isJSDocTypeExpression(host2) || isTypeOperatorNode(host2) && host2.operator === 147 /* ReadonlyKeyword */) {\n      host2 = host2.parent;\n    }\n    return isTypeAlias(host2) ? getSymbolOfNode(host2) : void 0;\n  }\n  function getTypeArgumentsForAliasSymbol(symbol) {\n    return symbol ? getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol) : void 0;\n  }\n  function isNonGenericObjectType(type) {\n    return !!(type.flags & 524288 /* Object */) && !isGenericMappedType(type);\n  }\n  function isEmptyObjectTypeOrSpreadsIntoEmptyObject(type) {\n    return isEmptyObjectType(type) || !!(type.flags & (65536 /* Null */ | 32768 /* Undefined */ | 528 /* BooleanLike */ | 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 1056 /* EnumLike */ | 67108864 /* NonPrimitive */ | 4194304 /* Index */));\n  }\n  function tryMergeUnionOfObjectTypeAndEmptyObject(type, readonly) {\n    if (!(type.flags & 1048576 /* Union */)) {\n      return type;\n    }\n    if (every(type.types, isEmptyObjectTypeOrSpreadsIntoEmptyObject)) {\n      return find(type.types, isEmptyObjectType) || emptyObjectType;\n    }\n    const firstType = find(type.types, (t) => !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t));\n    if (!firstType) {\n      return type;\n    }\n    const secondType = find(type.types, (t) => t !== firstType && !isEmptyObjectTypeOrSpreadsIntoEmptyObject(t));\n    if (secondType) {\n      return type;\n    }\n    return getAnonymousPartialType(firstType);\n    function getAnonymousPartialType(type2) {\n      const members = createSymbolTable();\n      for (const prop of getPropertiesOfType(type2)) {\n        if (getDeclarationModifierFlagsFromSymbol(prop) & (8 /* Private */ | 16 /* Protected */)) {\n        } else if (isSpreadableProperty(prop)) {\n          const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */);\n          const flags = 4 /* Property */ | 16777216 /* Optional */;\n          const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 /* Readonly */ : 0));\n          result.type = isSetonlyAccessor ? undefinedType : addOptionality(getTypeOfSymbol(prop), true);\n          result.declarations = prop.declarations;\n          result.nameType = getSymbolLinks(prop).nameType;\n          result.syntheticOrigin = prop;\n          members.set(prop.escapedName, result);\n        }\n      }\n      const spread = createAnonymousType(type2.symbol, members, emptyArray, emptyArray, getIndexInfosOfType(type2));\n      spread.objectFlags |= 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */;\n      return spread;\n    }\n  }\n  function getSpreadType(left, right, symbol, objectFlags, readonly) {\n    if (left.flags & 1 /* Any */ || right.flags & 1 /* Any */) {\n      return anyType;\n    }\n    if (left.flags & 2 /* Unknown */ || right.flags & 2 /* Unknown */) {\n      return unknownType;\n    }\n    if (left.flags & 131072 /* Never */) {\n      return right;\n    }\n    if (right.flags & 131072 /* Never */) {\n      return left;\n    }\n    left = tryMergeUnionOfObjectTypeAndEmptyObject(left, readonly);\n    if (left.flags & 1048576 /* Union */) {\n      return checkCrossProductUnion([left, right]) ? mapType(left, (t) => getSpreadType(t, right, symbol, objectFlags, readonly)) : errorType;\n    }\n    right = tryMergeUnionOfObjectTypeAndEmptyObject(right, readonly);\n    if (right.flags & 1048576 /* Union */) {\n      return checkCrossProductUnion([left, right]) ? mapType(right, (t) => getSpreadType(left, t, symbol, objectFlags, readonly)) : errorType;\n    }\n    if (right.flags & (528 /* BooleanLike */ | 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 1056 /* EnumLike */ | 67108864 /* NonPrimitive */ | 4194304 /* Index */)) {\n      return left;\n    }\n    if (isGenericObjectType(left) || isGenericObjectType(right)) {\n      if (isEmptyObjectType(left)) {\n        return right;\n      }\n      if (left.flags & 2097152 /* Intersection */) {\n        const types = left.types;\n        const lastLeft = types[types.length - 1];\n        if (isNonGenericObjectType(lastLeft) && isNonGenericObjectType(right)) {\n          return getIntersectionType(concatenate(types.slice(0, types.length - 1), [getSpreadType(lastLeft, right, symbol, objectFlags, readonly)]));\n        }\n      }\n      return getIntersectionType([left, right]);\n    }\n    const members = createSymbolTable();\n    const skippedPrivateMembers = new Set2();\n    const indexInfos = left === emptyObjectType ? getIndexInfosOfType(right) : getUnionIndexInfos([left, right]);\n    for (const rightProp of getPropertiesOfType(right)) {\n      if (getDeclarationModifierFlagsFromSymbol(rightProp) & (8 /* Private */ | 16 /* Protected */)) {\n        skippedPrivateMembers.add(rightProp.escapedName);\n      } else if (isSpreadableProperty(rightProp)) {\n        members.set(rightProp.escapedName, getSpreadSymbol(rightProp, readonly));\n      }\n    }\n    for (const leftProp of getPropertiesOfType(left)) {\n      if (skippedPrivateMembers.has(leftProp.escapedName) || !isSpreadableProperty(leftProp)) {\n        continue;\n      }\n      if (members.has(leftProp.escapedName)) {\n        const rightProp = members.get(leftProp.escapedName);\n        const rightType = getTypeOfSymbol(rightProp);\n        if (rightProp.flags & 16777216 /* Optional */) {\n          const declarations = concatenate(leftProp.declarations, rightProp.declarations);\n          const flags = 4 /* Property */ | leftProp.flags & 16777216 /* Optional */;\n          const result = createSymbol(flags, leftProp.escapedName);\n          result.type = getUnionType([getTypeOfSymbol(leftProp), removeMissingOrUndefinedType(rightType)], 2 /* Subtype */);\n          result.leftSpread = leftProp;\n          result.rightSpread = rightProp;\n          result.declarations = declarations;\n          result.nameType = getSymbolLinks(leftProp).nameType;\n          members.set(leftProp.escapedName, result);\n        }\n      } else {\n        members.set(leftProp.escapedName, getSpreadSymbol(leftProp, readonly));\n      }\n    }\n    const spread = createAnonymousType(symbol, members, emptyArray, emptyArray, sameMap(indexInfos, (info) => getIndexInfoWithReadonly(info, readonly)));\n    spread.objectFlags |= 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */ | 2097152 /* ContainsSpread */ | objectFlags;\n    return spread;\n  }\n  function isSpreadableProperty(prop) {\n    var _a2;\n    return !some(prop.declarations, isPrivateIdentifierClassElementDeclaration) && (!(prop.flags & (8192 /* Method */ | 32768 /* GetAccessor */ | 65536 /* SetAccessor */)) || !((_a2 = prop.declarations) == null ? void 0 : _a2.some((decl) => isClassLike(decl.parent))));\n  }\n  function getSpreadSymbol(prop, readonly) {\n    const isSetonlyAccessor = prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */);\n    if (!isSetonlyAccessor && readonly === isReadonlySymbol(prop)) {\n      return prop;\n    }\n    const flags = 4 /* Property */ | prop.flags & 16777216 /* Optional */;\n    const result = createSymbol(flags, prop.escapedName, getIsLateCheckFlag(prop) | (readonly ? 8 /* Readonly */ : 0));\n    result.type = isSetonlyAccessor ? undefinedType : getTypeOfSymbol(prop);\n    result.declarations = prop.declarations;\n    result.nameType = getSymbolLinks(prop).nameType;\n    result.syntheticOrigin = prop;\n    return result;\n  }\n  function getIndexInfoWithReadonly(info, readonly) {\n    return info.isReadonly !== readonly ? createIndexInfo(info.keyType, info.type, readonly, info.declaration) : info;\n  }\n  function createLiteralType(flags, value, symbol, regularType) {\n    const type = createType(flags);\n    type.symbol = symbol;\n    type.value = value;\n    type.regularType = regularType || type;\n    return type;\n  }\n  function getFreshTypeOfLiteralType(type) {\n    if (type.flags & 2944 /* Literal */) {\n      if (!type.freshType) {\n        const freshType = createLiteralType(type.flags, type.value, type.symbol, type);\n        freshType.freshType = freshType;\n        type.freshType = freshType;\n      }\n      return type.freshType;\n    }\n    return type;\n  }\n  function getRegularTypeOfLiteralType(type) {\n    return type.flags & 2944 /* Literal */ ? type.regularType : type.flags & 1048576 /* Union */ ? type.regularType || (type.regularType = mapType(type, getRegularTypeOfLiteralType)) : type;\n  }\n  function isFreshLiteralType(type) {\n    return !!(type.flags & 2944 /* Literal */) && type.freshType === type;\n  }\n  function getStringLiteralType(value) {\n    let type;\n    return stringLiteralTypes.get(value) || (stringLiteralTypes.set(value, type = createLiteralType(128 /* StringLiteral */, value)), type);\n  }\n  function getNumberLiteralType(value) {\n    let type;\n    return numberLiteralTypes.get(value) || (numberLiteralTypes.set(value, type = createLiteralType(256 /* NumberLiteral */, value)), type);\n  }\n  function getBigIntLiteralType(value) {\n    let type;\n    const key = pseudoBigIntToString(value);\n    return bigIntLiteralTypes.get(key) || (bigIntLiteralTypes.set(key, type = createLiteralType(2048 /* BigIntLiteral */, value)), type);\n  }\n  function getEnumLiteralType(value, enumId, symbol) {\n    let type;\n    const qualifier = typeof value === \"string\" ? \"@\" : \"#\";\n    const key = enumId + qualifier + value;\n    const flags = 1024 /* EnumLiteral */ | (typeof value === \"string\" ? 128 /* StringLiteral */ : 256 /* NumberLiteral */);\n    return enumLiteralTypes.get(key) || (enumLiteralTypes.set(key, type = createLiteralType(flags, value, symbol)), type);\n  }\n  function getTypeFromLiteralTypeNode(node) {\n    if (node.literal.kind === 105 /* NullKeyword */) {\n      return nullType;\n    }\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      links.resolvedType = getRegularTypeOfLiteralType(checkExpression(node.literal));\n    }\n    return links.resolvedType;\n  }\n  function createUniqueESSymbolType(symbol) {\n    const type = createType(8192 /* UniqueESSymbol */);\n    type.symbol = symbol;\n    type.escapedName = `__@${type.symbol.escapedName}@${getSymbolId(type.symbol)}`;\n    return type;\n  }\n  function getESSymbolLikeTypeForNode(node) {\n    if (isValidESSymbolDeclaration(node)) {\n      const symbol = isCommonJsExportPropertyAssignment(node) ? getSymbolOfNode(node.left) : getSymbolOfNode(node);\n      if (symbol) {\n        const links = getSymbolLinks(symbol);\n        return links.uniqueESSymbolType || (links.uniqueESSymbolType = createUniqueESSymbolType(symbol));\n      }\n    }\n    return esSymbolType;\n  }\n  function getThisType(node) {\n    const container = getThisContainer(node, false);\n    const parent2 = container && container.parent;\n    if (parent2 && (isClassLike(parent2) || parent2.kind === 267 /* InterfaceDeclaration */)) {\n      if (!isStatic(container) && (!isConstructorDeclaration(container) || isNodeDescendantOf(node, container.body))) {\n        return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(parent2)).thisType;\n      }\n    }\n    if (parent2 && isObjectLiteralExpression(parent2) && isBinaryExpression(parent2.parent) && getAssignmentDeclarationKind(parent2.parent) === 6 /* Prototype */) {\n      return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(parent2.parent.left).parent).thisType;\n    }\n    const host2 = node.flags & 8388608 /* JSDoc */ ? getHostSignatureFromJSDoc(node) : void 0;\n    if (host2 && isFunctionExpression(host2) && isBinaryExpression(host2.parent) && getAssignmentDeclarationKind(host2.parent) === 3 /* PrototypeProperty */) {\n      return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(host2.parent.left).parent).thisType;\n    }\n    if (isJSConstructor(container) && isNodeDescendantOf(node, container.body)) {\n      return getDeclaredTypeOfClassOrInterface(getSymbolOfNode(container)).thisType;\n    }\n    error(node, Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface);\n    return errorType;\n  }\n  function getTypeFromThisTypeNode(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      links.resolvedType = getThisType(node);\n    }\n    return links.resolvedType;\n  }\n  function getTypeFromRestTypeNode(node) {\n    return getTypeFromTypeNode(getArrayElementTypeNode(node.type) || node.type);\n  }\n  function getArrayElementTypeNode(node) {\n    switch (node.kind) {\n      case 196 /* ParenthesizedType */:\n        return getArrayElementTypeNode(node.type);\n      case 189 /* TupleType */:\n        if (node.elements.length === 1) {\n          node = node.elements[0];\n          if (node.kind === 191 /* RestType */ || node.kind === 202 /* NamedTupleMember */ && node.dotDotDotToken) {\n            return getArrayElementTypeNode(node.type);\n          }\n        }\n        break;\n      case 188 /* ArrayType */:\n        return node.elementType;\n    }\n    return void 0;\n  }\n  function getTypeFromNamedTupleTypeNode(node) {\n    const links = getNodeLinks(node);\n    return links.resolvedType || (links.resolvedType = node.dotDotDotToken ? getTypeFromRestTypeNode(node) : addOptionality(getTypeFromTypeNode(node.type), true, !!node.questionToken));\n  }\n  function getTypeFromTypeNode(node) {\n    return getConditionalFlowTypeOfType(getTypeFromTypeNodeWorker(node), node);\n  }\n  function getTypeFromTypeNodeWorker(node) {\n    switch (node.kind) {\n      case 132 /* AnyKeyword */:\n      case 321 /* JSDocAllType */:\n      case 322 /* JSDocUnknownType */:\n        return anyType;\n      case 159 /* UnknownKeyword */:\n        return unknownType;\n      case 153 /* StringKeyword */:\n        return stringType;\n      case 149 /* NumberKeyword */:\n        return numberType;\n      case 162 /* BigIntKeyword */:\n        return bigintType;\n      case 135 /* BooleanKeyword */:\n        return booleanType;\n      case 154 /* SymbolKeyword */:\n        return esSymbolType;\n      case 115 /* VoidKeyword */:\n        return voidType;\n      case 157 /* UndefinedKeyword */:\n        return undefinedType;\n      case 105 /* NullKeyword */:\n        return nullType;\n      case 145 /* NeverKeyword */:\n        return neverType;\n      case 150 /* ObjectKeyword */:\n        return node.flags & 262144 /* JavaScriptFile */ && !noImplicitAny ? anyType : nonPrimitiveType;\n      case 140 /* IntrinsicKeyword */:\n        return intrinsicMarkerType;\n      case 197 /* ThisType */:\n      case 109 /* ThisKeyword */:\n        return getTypeFromThisTypeNode(node);\n      case 201 /* LiteralType */:\n        return getTypeFromLiteralTypeNode(node);\n      case 183 /* TypeReference */:\n        return getTypeFromTypeReference(node);\n      case 182 /* TypePredicate */:\n        return node.assertsModifier ? voidType : booleanType;\n      case 234 /* ExpressionWithTypeArguments */:\n        return getTypeFromTypeReference(node);\n      case 186 /* TypeQuery */:\n        return getTypeFromTypeQueryNode(node);\n      case 188 /* ArrayType */:\n      case 189 /* TupleType */:\n        return getTypeFromArrayOrTupleTypeNode(node);\n      case 190 /* OptionalType */:\n        return getTypeFromOptionalTypeNode(node);\n      case 192 /* UnionType */:\n        return getTypeFromUnionTypeNode(node);\n      case 193 /* IntersectionType */:\n        return getTypeFromIntersectionTypeNode(node);\n      case 323 /* JSDocNullableType */:\n        return getTypeFromJSDocNullableTypeNode(node);\n      case 325 /* JSDocOptionalType */:\n        return addOptionality(getTypeFromTypeNode(node.type));\n      case 202 /* NamedTupleMember */:\n        return getTypeFromNamedTupleTypeNode(node);\n      case 196 /* ParenthesizedType */:\n      case 324 /* JSDocNonNullableType */:\n      case 318 /* JSDocTypeExpression */:\n        return getTypeFromTypeNode(node.type);\n      case 191 /* RestType */:\n        return getTypeFromRestTypeNode(node);\n      case 327 /* JSDocVariadicType */:\n        return getTypeFromJSDocVariadicType(node);\n      case 184 /* FunctionType */:\n      case 185 /* ConstructorType */:\n      case 187 /* TypeLiteral */:\n      case 331 /* JSDocTypeLiteral */:\n      case 326 /* JSDocFunctionType */:\n      case 332 /* JSDocSignature */:\n        return getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node);\n      case 198 /* TypeOperator */:\n        return getTypeFromTypeOperatorNode(node);\n      case 199 /* IndexedAccessType */:\n        return getTypeFromIndexedAccessTypeNode(node);\n      case 200 /* MappedType */:\n        return getTypeFromMappedTypeNode(node);\n      case 194 /* ConditionalType */:\n        return getTypeFromConditionalTypeNode(node);\n      case 195 /* InferType */:\n        return getTypeFromInferTypeNode(node);\n      case 203 /* TemplateLiteralType */:\n        return getTypeFromTemplateTypeNode(node);\n      case 205 /* ImportType */:\n        return getTypeFromImportTypeNode(node);\n      case 79 /* Identifier */:\n      case 165 /* QualifiedName */:\n      case 211 /* PropertyAccessExpression */:\n        const symbol = getSymbolAtLocation(node);\n        return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType;\n      default:\n        return errorType;\n    }\n  }\n  function instantiateList(items, mapper, instantiator) {\n    if (items && items.length) {\n      for (let i = 0; i < items.length; i++) {\n        const item = items[i];\n        const mapped = instantiator(item, mapper);\n        if (item !== mapped) {\n          const result = i === 0 ? [] : items.slice(0, i);\n          result.push(mapped);\n          for (i++; i < items.length; i++) {\n            result.push(instantiator(items[i], mapper));\n          }\n          return result;\n        }\n      }\n    }\n    return items;\n  }\n  function instantiateTypes(types, mapper) {\n    return instantiateList(types, mapper, instantiateType);\n  }\n  function instantiateSignatures(signatures, mapper) {\n    return instantiateList(signatures, mapper, instantiateSignature);\n  }\n  function instantiateIndexInfos(indexInfos, mapper) {\n    return instantiateList(indexInfos, mapper, instantiateIndexInfo);\n  }\n  function createTypeMapper(sources, targets) {\n    return sources.length === 1 ? makeUnaryTypeMapper(sources[0], targets ? targets[0] : anyType) : makeArrayTypeMapper(sources, targets);\n  }\n  function getMappedType(type, mapper) {\n    switch (mapper.kind) {\n      case 0 /* Simple */:\n        return type === mapper.source ? mapper.target : type;\n      case 1 /* Array */: {\n        const sources = mapper.sources;\n        const targets = mapper.targets;\n        for (let i = 0; i < sources.length; i++) {\n          if (type === sources[i]) {\n            return targets ? targets[i] : anyType;\n          }\n        }\n        return type;\n      }\n      case 2 /* Deferred */: {\n        const sources = mapper.sources;\n        const targets = mapper.targets;\n        for (let i = 0; i < sources.length; i++) {\n          if (type === sources[i]) {\n            return targets[i]();\n          }\n        }\n        return type;\n      }\n      case 3 /* Function */:\n        return mapper.func(type);\n      case 4 /* Composite */:\n      case 5 /* Merged */:\n        const t1 = getMappedType(type, mapper.mapper1);\n        return t1 !== type && mapper.kind === 4 /* Composite */ ? instantiateType(t1, mapper.mapper2) : getMappedType(t1, mapper.mapper2);\n    }\n  }\n  function makeUnaryTypeMapper(source, target) {\n    return Debug.attachDebugPrototypeIfDebug({ kind: 0 /* Simple */, source, target });\n  }\n  function makeArrayTypeMapper(sources, targets) {\n    return Debug.attachDebugPrototypeIfDebug({ kind: 1 /* Array */, sources, targets });\n  }\n  function makeFunctionTypeMapper(func, debugInfo) {\n    return Debug.attachDebugPrototypeIfDebug({ kind: 3 /* Function */, func, debugInfo: Debug.isDebugging ? debugInfo : void 0 });\n  }\n  function makeDeferredTypeMapper(sources, targets) {\n    return Debug.attachDebugPrototypeIfDebug({ kind: 2 /* Deferred */, sources, targets });\n  }\n  function makeCompositeTypeMapper(kind, mapper1, mapper2) {\n    return Debug.attachDebugPrototypeIfDebug({ kind, mapper1, mapper2 });\n  }\n  function createTypeEraser(sources) {\n    return createTypeMapper(sources, void 0);\n  }\n  function createBackreferenceMapper(context, index) {\n    const forwardInferences = context.inferences.slice(index);\n    return createTypeMapper(map(forwardInferences, (i) => i.typeParameter), map(forwardInferences, () => unknownType));\n  }\n  function combineTypeMappers(mapper1, mapper2) {\n    return mapper1 ? makeCompositeTypeMapper(4 /* Composite */, mapper1, mapper2) : mapper2;\n  }\n  function mergeTypeMappers(mapper1, mapper2) {\n    return mapper1 ? makeCompositeTypeMapper(5 /* Merged */, mapper1, mapper2) : mapper2;\n  }\n  function prependTypeMapping(source, target, mapper) {\n    return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5 /* Merged */, makeUnaryTypeMapper(source, target), mapper);\n  }\n  function appendTypeMapping(mapper, source, target) {\n    return !mapper ? makeUnaryTypeMapper(source, target) : makeCompositeTypeMapper(5 /* Merged */, mapper, makeUnaryTypeMapper(source, target));\n  }\n  function getRestrictiveTypeParameter(tp) {\n    return !tp.constraint && !getConstraintDeclaration(tp) || tp.constraint === noConstraintType ? tp : tp.restrictiveInstantiation || (tp.restrictiveInstantiation = createTypeParameter(tp.symbol), tp.restrictiveInstantiation.constraint = noConstraintType, tp.restrictiveInstantiation);\n  }\n  function cloneTypeParameter(typeParameter) {\n    const result = createTypeParameter(typeParameter.symbol);\n    result.target = typeParameter;\n    return result;\n  }\n  function instantiateTypePredicate(predicate, mapper) {\n    return createTypePredicate(predicate.kind, predicate.parameterName, predicate.parameterIndex, instantiateType(predicate.type, mapper));\n  }\n  function instantiateSignature(signature, mapper, eraseTypeParameters) {\n    let freshTypeParameters;\n    if (signature.typeParameters && !eraseTypeParameters) {\n      freshTypeParameters = map(signature.typeParameters, cloneTypeParameter);\n      mapper = combineTypeMappers(createTypeMapper(signature.typeParameters, freshTypeParameters), mapper);\n      for (const tp of freshTypeParameters) {\n        tp.mapper = mapper;\n      }\n    }\n    const result = createSignature(\n      signature.declaration,\n      freshTypeParameters,\n      signature.thisParameter && instantiateSymbol(signature.thisParameter, mapper),\n      instantiateList(signature.parameters, mapper, instantiateSymbol),\n      void 0,\n      void 0,\n      signature.minArgumentCount,\n      signature.flags & 39 /* PropagatingFlags */\n    );\n    result.target = signature;\n    result.mapper = mapper;\n    return result;\n  }\n  function instantiateSymbol(symbol, mapper) {\n    const links = getSymbolLinks(symbol);\n    if (links.type && !couldContainTypeVariables(links.type)) {\n      return symbol;\n    }\n    if (getCheckFlags(symbol) & 1 /* Instantiated */) {\n      symbol = links.target;\n      mapper = combineTypeMappers(links.mapper, mapper);\n    }\n    const result = createSymbol(symbol.flags, symbol.escapedName, 1 /* Instantiated */ | getCheckFlags(symbol) & (8 /* Readonly */ | 4096 /* Late */ | 16384 /* OptionalParameter */ | 32768 /* RestParameter */));\n    result.declarations = symbol.declarations;\n    result.parent = symbol.parent;\n    result.target = symbol;\n    result.mapper = mapper;\n    if (symbol.valueDeclaration) {\n      result.valueDeclaration = symbol.valueDeclaration;\n    }\n    if (links.nameType) {\n      result.nameType = links.nameType;\n    }\n    return result;\n  }\n  function getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments) {\n    const declaration = type.objectFlags & 4 /* Reference */ ? type.node : type.objectFlags & 8388608 /* InstantiationExpressionType */ ? type.node : type.symbol.declarations[0];\n    const links = getNodeLinks(declaration);\n    const target = type.objectFlags & 4 /* Reference */ ? links.resolvedType : type.objectFlags & 64 /* Instantiated */ ? type.target : type;\n    let typeParameters = links.outerTypeParameters;\n    if (!typeParameters) {\n      let outerTypeParameters = getOuterTypeParameters(declaration, true);\n      if (isJSConstructor(declaration)) {\n        const templateTagParameters = getTypeParametersFromDeclaration(declaration);\n        outerTypeParameters = addRange(outerTypeParameters, templateTagParameters);\n      }\n      typeParameters = outerTypeParameters || emptyArray;\n      const allDeclarations = type.objectFlags & (4 /* Reference */ | 8388608 /* InstantiationExpressionType */) ? [declaration] : type.symbol.declarations;\n      typeParameters = (target.objectFlags & (4 /* Reference */ | 8388608 /* InstantiationExpressionType */) || target.symbol.flags & 8192 /* Method */ || target.symbol.flags & 2048 /* TypeLiteral */) && !target.aliasTypeArguments ? filter(typeParameters, (tp) => some(allDeclarations, (d) => isTypeParameterPossiblyReferenced(tp, d))) : typeParameters;\n      links.outerTypeParameters = typeParameters;\n    }\n    if (typeParameters.length) {\n      const combinedMapper = combineTypeMappers(type.mapper, mapper);\n      const typeArguments = map(typeParameters, (t) => getMappedType(t, combinedMapper));\n      const newAliasSymbol = aliasSymbol || type.aliasSymbol;\n      const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n      const id = getTypeListId(typeArguments) + getAliasId(newAliasSymbol, newAliasTypeArguments);\n      if (!target.instantiations) {\n        target.instantiations = new Map2();\n        target.instantiations.set(getTypeListId(typeParameters) + getAliasId(target.aliasSymbol, target.aliasTypeArguments), target);\n      }\n      let result = target.instantiations.get(id);\n      if (!result) {\n        const newMapper = createTypeMapper(typeParameters, typeArguments);\n        result = target.objectFlags & 4 /* Reference */ ? createDeferredTypeReference(type.target, type.node, newMapper, newAliasSymbol, newAliasTypeArguments) : target.objectFlags & 32 /* Mapped */ ? instantiateMappedType(target, newMapper, newAliasSymbol, newAliasTypeArguments) : instantiateAnonymousType(target, newMapper, newAliasSymbol, newAliasTypeArguments);\n        target.instantiations.set(id, result);\n      }\n      return result;\n    }\n    return type;\n  }\n  function maybeTypeParameterReference(node) {\n    return !(node.parent.kind === 183 /* TypeReference */ && node.parent.typeArguments && node === node.parent.typeName || node.parent.kind === 205 /* ImportType */ && node.parent.typeArguments && node === node.parent.qualifier);\n  }\n  function isTypeParameterPossiblyReferenced(tp, node) {\n    if (tp.symbol && tp.symbol.declarations && tp.symbol.declarations.length === 1) {\n      const container = tp.symbol.declarations[0].parent;\n      for (let n = node; n !== container; n = n.parent) {\n        if (!n || n.kind === 242 /* Block */ || n.kind === 194 /* ConditionalType */ && forEachChild(n.extendsType, containsReference)) {\n          return true;\n        }\n      }\n      return containsReference(node);\n    }\n    return true;\n    function containsReference(node2) {\n      switch (node2.kind) {\n        case 197 /* ThisType */:\n          return !!tp.isThisType;\n        case 79 /* Identifier */:\n          return !tp.isThisType && isPartOfTypeNode(node2) && maybeTypeParameterReference(node2) && getTypeFromTypeNodeWorker(node2) === tp;\n        case 186 /* TypeQuery */:\n          const entityName = node2.exprName;\n          const firstIdentifier = getFirstIdentifier(entityName);\n          const firstIdentifierSymbol = getResolvedSymbol(firstIdentifier);\n          const tpDeclaration = tp.symbol.declarations[0];\n          let tpScope;\n          if (tpDeclaration.kind === 167 /* TypeParameter */) {\n            tpScope = tpDeclaration.parent;\n          } else if (tp.isThisType) {\n            tpScope = tpDeclaration;\n          } else {\n            return true;\n          }\n          if (firstIdentifierSymbol.declarations) {\n            return some(firstIdentifierSymbol.declarations, (idDecl) => isNodeDescendantOf(idDecl, tpScope)) || some(node2.typeArguments, containsReference);\n          }\n          return true;\n        case 174 /* MethodDeclaration */:\n        case 173 /* MethodSignature */:\n          return !node2.type && !!node2.body || some(node2.typeParameters, containsReference) || some(node2.parameters, containsReference) || !!node2.type && containsReference(node2.type);\n      }\n      return !!forEachChild(node2, containsReference);\n    }\n  }\n  function getHomomorphicTypeVariable(type) {\n    const constraintType = getConstraintTypeFromMappedType(type);\n    if (constraintType.flags & 4194304 /* Index */) {\n      const typeVariable = getActualTypeVariable(constraintType.type);\n      if (typeVariable.flags & 262144 /* TypeParameter */) {\n        return typeVariable;\n      }\n    }\n    return void 0;\n  }\n  function instantiateMappedType(type, mapper, aliasSymbol, aliasTypeArguments) {\n    const typeVariable = getHomomorphicTypeVariable(type);\n    if (typeVariable) {\n      const mappedTypeVariable = instantiateType(typeVariable, mapper);\n      if (typeVariable !== mappedTypeVariable) {\n        return mapTypeWithAlias(getReducedType(mappedTypeVariable), (t) => {\n          if (t.flags & (3 /* AnyOrUnknown */ | 58982400 /* InstantiableNonPrimitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && t !== wildcardType && !isErrorType(t)) {\n            if (!type.declaration.nameType) {\n              let constraint;\n              if (isArrayType(t) || t.flags & 1 /* Any */ && findResolutionCycleStartIndex(typeVariable, 4 /* ImmediateBaseConstraint */) < 0 && (constraint = getConstraintOfTypeParameter(typeVariable)) && everyType(constraint, isArrayOrTupleType)) {\n                return instantiateMappedArrayType(t, type, prependTypeMapping(typeVariable, t, mapper));\n              }\n              if (isGenericTupleType(t)) {\n                return instantiateMappedGenericTupleType(t, type, typeVariable, mapper);\n              }\n              if (isTupleType(t)) {\n                return instantiateMappedTupleType(t, type, prependTypeMapping(typeVariable, t, mapper));\n              }\n            }\n            return instantiateAnonymousType(type, prependTypeMapping(typeVariable, t, mapper));\n          }\n          return t;\n        }, aliasSymbol, aliasTypeArguments);\n      }\n    }\n    return instantiateType(getConstraintTypeFromMappedType(type), mapper) === wildcardType ? wildcardType : instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments);\n  }\n  function getModifiedReadonlyState(state, modifiers) {\n    return modifiers & 1 /* IncludeReadonly */ ? true : modifiers & 2 /* ExcludeReadonly */ ? false : state;\n  }\n  function instantiateMappedGenericTupleType(tupleType, mappedType, typeVariable, mapper) {\n    const elementFlags = tupleType.target.elementFlags;\n    const elementTypes = map(getTypeArguments(tupleType), (t, i) => {\n      const singleton = elementFlags[i] & 8 /* Variadic */ ? t : elementFlags[i] & 4 /* Rest */ ? createArrayType(t) : createTupleType([t], [elementFlags[i]]);\n      return instantiateMappedType(mappedType, prependTypeMapping(typeVariable, singleton, mapper));\n    });\n    const newReadonly = getModifiedReadonlyState(tupleType.target.readonly, getMappedTypeModifiers(mappedType));\n    return createTupleType(elementTypes, map(elementTypes, (_) => 8 /* Variadic */), newReadonly);\n  }\n  function instantiateMappedArrayType(arrayType, mappedType, mapper) {\n    const elementType = instantiateMappedTypeTemplate(mappedType, numberType, true, mapper);\n    return isErrorType(elementType) ? errorType : createArrayType(elementType, getModifiedReadonlyState(isReadonlyArrayType2(arrayType), getMappedTypeModifiers(mappedType)));\n  }\n  function instantiateMappedTupleType(tupleType, mappedType, mapper) {\n    const elementFlags = tupleType.target.elementFlags;\n    const elementTypes = map(getTypeArguments(tupleType), (_, i) => instantiateMappedTypeTemplate(mappedType, getStringLiteralType(\"\" + i), !!(elementFlags[i] & 2 /* Optional */), mapper));\n    const modifiers = getMappedTypeModifiers(mappedType);\n    const newTupleModifiers = modifiers & 4 /* IncludeOptional */ ? map(elementFlags, (f) => f & 1 /* Required */ ? 2 /* Optional */ : f) : modifiers & 8 /* ExcludeOptional */ ? map(elementFlags, (f) => f & 2 /* Optional */ ? 1 /* Required */ : f) : elementFlags;\n    const newReadonly = getModifiedReadonlyState(tupleType.target.readonly, modifiers);\n    return contains(elementTypes, errorType) ? errorType : createTupleType(elementTypes, newTupleModifiers, newReadonly, tupleType.target.labeledElementDeclarations);\n  }\n  function instantiateMappedTypeTemplate(type, key, isOptional, mapper) {\n    const templateMapper = appendTypeMapping(mapper, getTypeParameterFromMappedType(type), key);\n    const propType = instantiateType(getTemplateTypeFromMappedType(type.target || type), templateMapper);\n    const modifiers = getMappedTypeModifiers(type);\n    return strictNullChecks && modifiers & 4 /* IncludeOptional */ && !maybeTypeOfKind(propType, 32768 /* Undefined */ | 16384 /* Void */) ? getOptionalType(propType, true) : strictNullChecks && modifiers & 8 /* ExcludeOptional */ && isOptional ? getTypeWithFacts(propType, 524288 /* NEUndefined */) : propType;\n  }\n  function instantiateAnonymousType(type, mapper, aliasSymbol, aliasTypeArguments) {\n    const result = createObjectType(type.objectFlags | 64 /* Instantiated */, type.symbol);\n    if (type.objectFlags & 32 /* Mapped */) {\n      result.declaration = type.declaration;\n      const origTypeParameter = getTypeParameterFromMappedType(type);\n      const freshTypeParameter = cloneTypeParameter(origTypeParameter);\n      result.typeParameter = freshTypeParameter;\n      mapper = combineTypeMappers(makeUnaryTypeMapper(origTypeParameter, freshTypeParameter), mapper);\n      freshTypeParameter.mapper = mapper;\n    }\n    if (type.objectFlags & 8388608 /* InstantiationExpressionType */) {\n      result.node = type.node;\n    }\n    result.target = type;\n    result.mapper = mapper;\n    result.aliasSymbol = aliasSymbol || type.aliasSymbol;\n    result.aliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n    result.objectFlags |= result.aliasTypeArguments ? getPropagatingFlagsOfTypes(result.aliasTypeArguments) : 0;\n    return result;\n  }\n  function getConditionalTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments) {\n    const root = type.root;\n    if (root.outerTypeParameters) {\n      const typeArguments = map(root.outerTypeParameters, (t) => getMappedType(t, mapper));\n      const id = getTypeListId(typeArguments) + getAliasId(aliasSymbol, aliasTypeArguments);\n      let result = root.instantiations.get(id);\n      if (!result) {\n        const newMapper = createTypeMapper(root.outerTypeParameters, typeArguments);\n        const checkType = root.checkType;\n        const distributionType = root.isDistributive ? getMappedType(checkType, newMapper) : void 0;\n        result = distributionType && checkType !== distributionType && distributionType.flags & (1048576 /* Union */ | 131072 /* Never */) ? mapTypeWithAlias(getReducedType(distributionType), (t) => getConditionalType(root, prependTypeMapping(checkType, t, newMapper)), aliasSymbol, aliasTypeArguments) : getConditionalType(root, newMapper, aliasSymbol, aliasTypeArguments);\n        root.instantiations.set(id, result);\n      }\n      return result;\n    }\n    return type;\n  }\n  function instantiateType(type, mapper) {\n    return type && mapper ? instantiateTypeWithAlias(type, mapper, void 0, void 0) : type;\n  }\n  function instantiateTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) {\n    var _a2;\n    if (!couldContainTypeVariables(type)) {\n      return type;\n    }\n    if (instantiationDepth === 100 || instantiationCount >= 5e6) {\n      (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, \"instantiateType_DepthLimit\", { typeId: type.id, instantiationDepth, instantiationCount });\n      error(currentNode, Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);\n      return errorType;\n    }\n    totalInstantiationCount++;\n    instantiationCount++;\n    instantiationDepth++;\n    const result = instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments);\n    instantiationDepth--;\n    return result;\n  }\n  function instantiateTypeWorker(type, mapper, aliasSymbol, aliasTypeArguments) {\n    const flags = type.flags;\n    if (flags & 262144 /* TypeParameter */) {\n      return getMappedType(type, mapper);\n    }\n    if (flags & 524288 /* Object */) {\n      const objectFlags = type.objectFlags;\n      if (objectFlags & (4 /* Reference */ | 16 /* Anonymous */ | 32 /* Mapped */)) {\n        if (objectFlags & 4 /* Reference */ && !type.node) {\n          const resolvedTypeArguments = type.resolvedTypeArguments;\n          const newTypeArguments = instantiateTypes(resolvedTypeArguments, mapper);\n          return newTypeArguments !== resolvedTypeArguments ? createNormalizedTypeReference(type.target, newTypeArguments) : type;\n        }\n        if (objectFlags & 1024 /* ReverseMapped */) {\n          return instantiateReverseMappedType(type, mapper);\n        }\n        return getObjectTypeInstantiation(type, mapper, aliasSymbol, aliasTypeArguments);\n      }\n      return type;\n    }\n    if (flags & 3145728 /* UnionOrIntersection */) {\n      const origin = type.flags & 1048576 /* Union */ ? type.origin : void 0;\n      const types = origin && origin.flags & 3145728 /* UnionOrIntersection */ ? origin.types : type.types;\n      const newTypes = instantiateTypes(types, mapper);\n      if (newTypes === types && aliasSymbol === type.aliasSymbol) {\n        return type;\n      }\n      const newAliasSymbol = aliasSymbol || type.aliasSymbol;\n      const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n      return flags & 2097152 /* Intersection */ || origin && origin.flags & 2097152 /* Intersection */ ? getIntersectionType(newTypes, newAliasSymbol, newAliasTypeArguments) : getUnionType(newTypes, 1 /* Literal */, newAliasSymbol, newAliasTypeArguments);\n    }\n    if (flags & 4194304 /* Index */) {\n      return getIndexType(instantiateType(type.type, mapper));\n    }\n    if (flags & 134217728 /* TemplateLiteral */) {\n      return getTemplateLiteralType(type.texts, instantiateTypes(type.types, mapper));\n    }\n    if (flags & 268435456 /* StringMapping */) {\n      return getStringMappingType(type.symbol, instantiateType(type.type, mapper));\n    }\n    if (flags & 8388608 /* IndexedAccess */) {\n      const newAliasSymbol = aliasSymbol || type.aliasSymbol;\n      const newAliasTypeArguments = aliasSymbol ? aliasTypeArguments : instantiateTypes(type.aliasTypeArguments, mapper);\n      return getIndexedAccessType(instantiateType(type.objectType, mapper), instantiateType(type.indexType, mapper), type.accessFlags, void 0, newAliasSymbol, newAliasTypeArguments);\n    }\n    if (flags & 16777216 /* Conditional */) {\n      return getConditionalTypeInstantiation(type, combineTypeMappers(type.mapper, mapper), aliasSymbol, aliasTypeArguments);\n    }\n    if (flags & 33554432 /* Substitution */) {\n      const newBaseType = instantiateType(type.baseType, mapper);\n      const newConstraint = instantiateType(type.constraint, mapper);\n      if (newBaseType.flags & 8650752 /* TypeVariable */ && isGenericType(newConstraint)) {\n        return getSubstitutionType(newBaseType, newConstraint);\n      }\n      if (newConstraint.flags & 3 /* AnyOrUnknown */ || isTypeAssignableTo(getRestrictiveInstantiation(newBaseType), getRestrictiveInstantiation(newConstraint))) {\n        return newBaseType;\n      }\n      return newBaseType.flags & 8650752 /* TypeVariable */ ? getSubstitutionType(newBaseType, newConstraint) : getIntersectionType([newConstraint, newBaseType]);\n    }\n    return type;\n  }\n  function instantiateReverseMappedType(type, mapper) {\n    const innerMappedType = instantiateType(type.mappedType, mapper);\n    if (!(getObjectFlags(innerMappedType) & 32 /* Mapped */)) {\n      return type;\n    }\n    const innerIndexType = instantiateType(type.constraintType, mapper);\n    if (!(innerIndexType.flags & 4194304 /* Index */)) {\n      return type;\n    }\n    const instantiated = inferTypeForHomomorphicMappedType(\n      instantiateType(type.source, mapper),\n      innerMappedType,\n      innerIndexType\n    );\n    if (instantiated) {\n      return instantiated;\n    }\n    return type;\n  }\n  function getUniqueLiteralFilledInstantiation(type) {\n    return type.flags & (131068 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */) ? type : type.uniqueLiteralFilledInstantiation || (type.uniqueLiteralFilledInstantiation = instantiateType(type, uniqueLiteralMapper));\n  }\n  function getPermissiveInstantiation(type) {\n    return type.flags & (131068 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */) ? type : type.permissiveInstantiation || (type.permissiveInstantiation = instantiateType(type, permissiveMapper));\n  }\n  function getRestrictiveInstantiation(type) {\n    if (type.flags & (131068 /* Primitive */ | 3 /* AnyOrUnknown */ | 131072 /* Never */)) {\n      return type;\n    }\n    if (type.restrictiveInstantiation) {\n      return type.restrictiveInstantiation;\n    }\n    type.restrictiveInstantiation = instantiateType(type, restrictiveMapper);\n    type.restrictiveInstantiation.restrictiveInstantiation = type.restrictiveInstantiation;\n    return type.restrictiveInstantiation;\n  }\n  function instantiateIndexInfo(info, mapper) {\n    return createIndexInfo(info.keyType, instantiateType(info.type, mapper), info.isReadonly, info.declaration);\n  }\n  function isContextSensitive(node) {\n    Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node));\n    switch (node.kind) {\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 174 /* MethodDeclaration */:\n      case 263 /* FunctionDeclaration */:\n        return isContextSensitiveFunctionLikeDeclaration(node);\n      case 210 /* ObjectLiteralExpression */:\n        return some(node.properties, isContextSensitive);\n      case 209 /* ArrayLiteralExpression */:\n        return some(node.elements, isContextSensitive);\n      case 228 /* ConditionalExpression */:\n        return isContextSensitive(node.whenTrue) || isContextSensitive(node.whenFalse);\n      case 227 /* BinaryExpression */:\n        return (node.operatorToken.kind === 56 /* BarBarToken */ || node.operatorToken.kind === 60 /* QuestionQuestionToken */) && (isContextSensitive(node.left) || isContextSensitive(node.right));\n      case 305 /* PropertyAssignment */:\n        return isContextSensitive(node.initializer);\n      case 217 /* ParenthesizedExpression */:\n        return isContextSensitive(node.expression);\n      case 295 /* JsxAttributes */:\n        return some(node.properties, isContextSensitive) || isJsxOpeningElement(node.parent) && some(node.parent.parent.children, isContextSensitive);\n      case 294 /* JsxAttribute */: {\n        const { initializer } = node;\n        return !!initializer && isContextSensitive(initializer);\n      }\n      case 297 /* JsxExpression */: {\n        const { expression } = node;\n        return !!expression && isContextSensitive(expression);\n      }\n    }\n    return false;\n  }\n  function isContextSensitiveFunctionLikeDeclaration(node) {\n    return hasContextSensitiveParameters(node) || hasContextSensitiveReturnExpression(node);\n  }\n  function hasContextSensitiveReturnExpression(node) {\n    return !node.typeParameters && !getEffectiveReturnTypeNode(node) && !!node.body && node.body.kind !== 242 /* Block */ && isContextSensitive(node.body);\n  }\n  function isContextSensitiveFunctionOrObjectLiteralMethod(func) {\n    return (isFunctionExpressionOrArrowFunction(func) || isObjectLiteralMethod(func)) && isContextSensitiveFunctionLikeDeclaration(func);\n  }\n  function getTypeWithoutSignatures(type) {\n    if (type.flags & 524288 /* Object */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      if (resolved.constructSignatures.length || resolved.callSignatures.length) {\n        const result = createObjectType(16 /* Anonymous */, type.symbol);\n        result.members = resolved.members;\n        result.properties = resolved.properties;\n        result.callSignatures = emptyArray;\n        result.constructSignatures = emptyArray;\n        result.indexInfos = emptyArray;\n        return result;\n      }\n    } else if (type.flags & 2097152 /* Intersection */) {\n      return getIntersectionType(map(type.types, getTypeWithoutSignatures));\n    }\n    return type;\n  }\n  function isTypeIdenticalTo(source, target) {\n    return isTypeRelatedTo(source, target, identityRelation);\n  }\n  function compareTypesIdentical(source, target) {\n    return isTypeRelatedTo(source, target, identityRelation) ? -1 /* True */ : 0 /* False */;\n  }\n  function compareTypesAssignable(source, target) {\n    return isTypeRelatedTo(source, target, assignableRelation) ? -1 /* True */ : 0 /* False */;\n  }\n  function compareTypesSubtypeOf(source, target) {\n    return isTypeRelatedTo(source, target, subtypeRelation) ? -1 /* True */ : 0 /* False */;\n  }\n  function isTypeSubtypeOf(source, target) {\n    return isTypeRelatedTo(source, target, subtypeRelation);\n  }\n  function isTypeAssignableTo(source, target) {\n    return isTypeRelatedTo(source, target, assignableRelation);\n  }\n  function isTypeDerivedFrom(source, target) {\n    return source.flags & 1048576 /* Union */ ? every(source.types, (t) => isTypeDerivedFrom(t, target)) : target.flags & 1048576 /* Union */ ? some(target.types, (t) => isTypeDerivedFrom(source, t)) : source.flags & 58982400 /* InstantiableNonPrimitive */ ? isTypeDerivedFrom(getBaseConstraintOfType(source) || unknownType, target) : target === globalObjectType ? !!(source.flags & (524288 /* Object */ | 67108864 /* NonPrimitive */)) : target === globalFunctionType ? !!(source.flags & 524288 /* Object */) && isFunctionObjectType(source) : hasBaseType(source, getTargetType3(target)) || isArrayType(target) && !isReadonlyArrayType2(target) && isTypeDerivedFrom(source, globalReadonlyArrayType);\n  }\n  function isTypeComparableTo(source, target) {\n    return isTypeRelatedTo(source, target, comparableRelation);\n  }\n  function areTypesComparable(type1, type2) {\n    return isTypeComparableTo(type1, type2) || isTypeComparableTo(type2, type1);\n  }\n  function checkTypeAssignableTo(source, target, errorNode, headMessage, containingMessageChain, errorOutputObject) {\n    return checkTypeRelatedTo(source, target, assignableRelation, errorNode, headMessage, containingMessageChain, errorOutputObject);\n  }\n  function checkTypeAssignableToAndOptionallyElaborate(source, target, errorNode, expr, headMessage, containingMessageChain) {\n    return checkTypeRelatedToAndOptionallyElaborate(source, target, assignableRelation, errorNode, expr, headMessage, containingMessageChain, void 0);\n  }\n  function checkTypeRelatedToAndOptionallyElaborate(source, target, relation, errorNode, expr, headMessage, containingMessageChain, errorOutputContainer) {\n    if (isTypeRelatedTo(source, target, relation))\n      return true;\n    if (!errorNode || !elaborateError(expr, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) {\n      return checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer);\n    }\n    return false;\n  }\n  function isOrHasGenericConditional(type) {\n    return !!(type.flags & 16777216 /* Conditional */ || type.flags & 2097152 /* Intersection */ && some(type.types, isOrHasGenericConditional));\n  }\n  function elaborateError(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) {\n    if (!node || isOrHasGenericConditional(target))\n      return false;\n    if (!checkTypeRelatedTo(source, target, relation, void 0) && elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer)) {\n      return true;\n    }\n    switch (node.kind) {\n      case 297 /* JsxExpression */:\n      case 217 /* ParenthesizedExpression */:\n        return elaborateError(node.expression, source, target, relation, headMessage, containingMessageChain, errorOutputContainer);\n      case 227 /* BinaryExpression */:\n        switch (node.operatorToken.kind) {\n          case 63 /* EqualsToken */:\n          case 27 /* CommaToken */:\n            return elaborateError(node.right, source, target, relation, headMessage, containingMessageChain, errorOutputContainer);\n        }\n        break;\n      case 210 /* ObjectLiteralExpression */:\n        return elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer);\n      case 209 /* ArrayLiteralExpression */:\n        return elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer);\n      case 295 /* JsxAttributes */:\n        return elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer);\n      case 219 /* ArrowFunction */:\n        return elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer);\n    }\n    return false;\n  }\n  function elaborateDidYouMeanToCallOrConstruct(node, source, target, relation, headMessage, containingMessageChain, errorOutputContainer) {\n    const callSignatures = getSignaturesOfType(source, 0 /* Call */);\n    const constructSignatures = getSignaturesOfType(source, 1 /* Construct */);\n    for (const signatures of [constructSignatures, callSignatures]) {\n      if (some(signatures, (s) => {\n        const returnType = getReturnTypeOfSignature(s);\n        return !(returnType.flags & (1 /* Any */ | 131072 /* Never */)) && checkTypeRelatedTo(returnType, target, relation, void 0);\n      })) {\n        const resultObj = errorOutputContainer || {};\n        checkTypeAssignableTo(source, target, node, headMessage, containingMessageChain, resultObj);\n        const diagnostic = resultObj.errors[resultObj.errors.length - 1];\n        addRelatedInfo(diagnostic, createDiagnosticForNode(\n          node,\n          signatures === constructSignatures ? Diagnostics.Did_you_mean_to_use_new_with_this_expression : Diagnostics.Did_you_mean_to_call_this_expression\n        ));\n        return true;\n      }\n    }\n    return false;\n  }\n  function elaborateArrowFunction(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n    if (isBlock(node.body)) {\n      return false;\n    }\n    if (some(node.parameters, hasType)) {\n      return false;\n    }\n    const sourceSig = getSingleCallSignature(source);\n    if (!sourceSig) {\n      return false;\n    }\n    const targetSignatures = getSignaturesOfType(target, 0 /* Call */);\n    if (!length(targetSignatures)) {\n      return false;\n    }\n    const returnExpression = node.body;\n    const sourceReturn = getReturnTypeOfSignature(sourceSig);\n    const targetReturn = getUnionType(map(targetSignatures, getReturnTypeOfSignature));\n    if (!checkTypeRelatedTo(sourceReturn, targetReturn, relation, void 0)) {\n      const elaborated = returnExpression && elaborateError(returnExpression, sourceReturn, targetReturn, relation, void 0, containingMessageChain, errorOutputContainer);\n      if (elaborated) {\n        return elaborated;\n      }\n      const resultObj = errorOutputContainer || {};\n      checkTypeRelatedTo(sourceReturn, targetReturn, relation, returnExpression, void 0, containingMessageChain, resultObj);\n      if (resultObj.errors) {\n        if (target.symbol && length(target.symbol.declarations)) {\n          addRelatedInfo(resultObj.errors[resultObj.errors.length - 1], createDiagnosticForNode(\n            target.symbol.declarations[0],\n            Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature\n          ));\n        }\n        if ((getFunctionFlags(node) & 2 /* Async */) === 0 && !getTypeOfPropertyOfType(sourceReturn, \"then\") && checkTypeRelatedTo(createPromiseType(sourceReturn), targetReturn, relation, void 0)) {\n          addRelatedInfo(resultObj.errors[resultObj.errors.length - 1], createDiagnosticForNode(\n            node,\n            Diagnostics.Did_you_mean_to_mark_this_function_as_async\n          ));\n        }\n        return true;\n      }\n    }\n    return false;\n  }\n  function getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType) {\n    const idx = getIndexedAccessTypeOrUndefined(target, nameType);\n    if (idx) {\n      return idx;\n    }\n    if (target.flags & 1048576 /* Union */) {\n      const best = getBestMatchingType(source, target);\n      if (best) {\n        return getIndexedAccessTypeOrUndefined(best, nameType);\n      }\n    }\n  }\n  function checkExpressionForMutableLocationWithContextualType(next, sourcePropType) {\n    next.contextualType = sourcePropType;\n    try {\n      return checkExpressionForMutableLocation(next, 1 /* Contextual */, sourcePropType);\n    } finally {\n      next.contextualType = void 0;\n    }\n  }\n  function elaborateElementwise(iterator, source, target, relation, containingMessageChain, errorOutputContainer) {\n    let reportedError = false;\n    for (let status = iterator.next(); !status.done; status = iterator.next()) {\n      const { errorNode: prop, innerExpression: next, nameType, errorMessage } = status.value;\n      let targetPropType = getBestMatchIndexedAccessTypeOrUndefined(source, target, nameType);\n      if (!targetPropType || targetPropType.flags & 8388608 /* IndexedAccess */)\n        continue;\n      let sourcePropType = getIndexedAccessTypeOrUndefined(source, nameType);\n      if (!sourcePropType)\n        continue;\n      const propName = getPropertyNameFromIndex(nameType, void 0);\n      if (!checkTypeRelatedTo(sourcePropType, targetPropType, relation, void 0)) {\n        const elaborated = next && elaborateError(next, sourcePropType, targetPropType, relation, void 0, containingMessageChain, errorOutputContainer);\n        reportedError = true;\n        if (!elaborated) {\n          const resultObj = errorOutputContainer || {};\n          const specificSource = next ? checkExpressionForMutableLocationWithContextualType(next, sourcePropType) : sourcePropType;\n          if (exactOptionalPropertyTypes && isExactOptionalPropertyMismatch(specificSource, targetPropType)) {\n            const diag2 = createDiagnosticForNode(prop, Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target, typeToString(specificSource), typeToString(targetPropType));\n            diagnostics.add(diag2);\n            resultObj.errors = [diag2];\n          } else {\n            const targetIsOptional = !!(propName && (getPropertyOfType(target, propName) || unknownSymbol).flags & 16777216 /* Optional */);\n            const sourceIsOptional = !!(propName && (getPropertyOfType(source, propName) || unknownSymbol).flags & 16777216 /* Optional */);\n            targetPropType = removeMissingType(targetPropType, targetIsOptional);\n            sourcePropType = removeMissingType(sourcePropType, targetIsOptional && sourceIsOptional);\n            const result = checkTypeRelatedTo(specificSource, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj);\n            if (result && specificSource !== sourcePropType) {\n              checkTypeRelatedTo(sourcePropType, targetPropType, relation, prop, errorMessage, containingMessageChain, resultObj);\n            }\n          }\n          if (resultObj.errors) {\n            const reportedDiag = resultObj.errors[resultObj.errors.length - 1];\n            const propertyName = isTypeUsableAsPropertyName(nameType) ? getPropertyNameFromType(nameType) : void 0;\n            const targetProp = propertyName !== void 0 ? getPropertyOfType(target, propertyName) : void 0;\n            let issuedElaboration = false;\n            if (!targetProp) {\n              const indexInfo = getApplicableIndexInfo(target, nameType);\n              if (indexInfo && indexInfo.declaration && !getSourceFileOfNode(indexInfo.declaration).hasNoDefaultLib) {\n                issuedElaboration = true;\n                addRelatedInfo(reportedDiag, createDiagnosticForNode(indexInfo.declaration, Diagnostics.The_expected_type_comes_from_this_index_signature));\n              }\n            }\n            if (!issuedElaboration && (targetProp && length(targetProp.declarations) || target.symbol && length(target.symbol.declarations))) {\n              const targetNode = targetProp && length(targetProp.declarations) ? targetProp.declarations[0] : target.symbol.declarations[0];\n              if (!getSourceFileOfNode(targetNode).hasNoDefaultLib) {\n                addRelatedInfo(reportedDiag, createDiagnosticForNode(\n                  targetNode,\n                  Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,\n                  propertyName && !(nameType.flags & 8192 /* UniqueESSymbol */) ? unescapeLeadingUnderscores(propertyName) : typeToString(nameType),\n                  typeToString(target)\n                ));\n              }\n            }\n          }\n        }\n      }\n    }\n    return reportedError;\n  }\n  function* generateJsxAttributes(node) {\n    if (!length(node.properties))\n      return;\n    for (const prop of node.properties) {\n      if (isJsxSpreadAttribute(prop) || isHyphenatedJsxName(idText(prop.name)))\n        continue;\n      yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: getStringLiteralType(idText(prop.name)) };\n    }\n  }\n  function* generateJsxChildren(node, getInvalidTextDiagnostic) {\n    if (!length(node.children))\n      return;\n    let memberOffset = 0;\n    for (let i = 0; i < node.children.length; i++) {\n      const child = node.children[i];\n      const nameType = getNumberLiteralType(i - memberOffset);\n      const elem = getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic);\n      if (elem) {\n        yield elem;\n      } else {\n        memberOffset++;\n      }\n    }\n  }\n  function getElaborationElementForJsxChild(child, nameType, getInvalidTextDiagnostic) {\n    switch (child.kind) {\n      case 297 /* JsxExpression */:\n        return { errorNode: child, innerExpression: child.expression, nameType };\n      case 11 /* JsxText */:\n        if (child.containsOnlyTriviaWhiteSpaces) {\n          break;\n        }\n        return { errorNode: child, innerExpression: void 0, nameType, errorMessage: getInvalidTextDiagnostic() };\n      case 287 /* JsxElement */:\n      case 288 /* JsxSelfClosingElement */:\n      case 291 /* JsxFragment */:\n        return { errorNode: child, innerExpression: child, nameType };\n      default:\n        return Debug.assertNever(child, \"Found invalid jsx child\");\n    }\n  }\n  function elaborateJsxComponents(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n    let result = elaborateElementwise(generateJsxAttributes(node), source, target, relation, containingMessageChain, errorOutputContainer);\n    let invalidTextDiagnostic;\n    if (isJsxOpeningElement(node.parent) && isJsxElement(node.parent.parent)) {\n      const containingElement = node.parent.parent;\n      const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node));\n      const childrenPropName = childPropName === void 0 ? \"children\" : unescapeLeadingUnderscores(childPropName);\n      const childrenNameType = getStringLiteralType(childrenPropName);\n      const childrenTargetType = getIndexedAccessType(target, childrenNameType);\n      const validChildren = getSemanticJsxChildren(containingElement.children);\n      if (!length(validChildren)) {\n        return result;\n      }\n      const moreThanOneRealChildren = length(validChildren) > 1;\n      const arrayLikeTargetParts = filterType(childrenTargetType, isArrayOrTupleLikeType);\n      const nonArrayLikeTargetParts = filterType(childrenTargetType, (t) => !isArrayOrTupleLikeType(t));\n      if (moreThanOneRealChildren) {\n        if (arrayLikeTargetParts !== neverType) {\n          const realSource = createTupleType(checkJsxChildren(containingElement, 0 /* Normal */));\n          const children = generateJsxChildren(containingElement, getInvalidTextualChildDiagnostic);\n          result = elaborateElementwise(children, realSource, arrayLikeTargetParts, relation, containingMessageChain, errorOutputContainer) || result;\n        } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) {\n          result = true;\n          const diag2 = error(\n            containingElement.openingElement.tagName,\n            Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,\n            childrenPropName,\n            typeToString(childrenTargetType)\n          );\n          if (errorOutputContainer && errorOutputContainer.skipLogging) {\n            (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n          }\n        }\n      } else {\n        if (nonArrayLikeTargetParts !== neverType) {\n          const child = validChildren[0];\n          const elem = getElaborationElementForJsxChild(child, childrenNameType, getInvalidTextualChildDiagnostic);\n          if (elem) {\n            result = elaborateElementwise(\n              function* () {\n                yield elem;\n              }(),\n              source,\n              target,\n              relation,\n              containingMessageChain,\n              errorOutputContainer\n            ) || result;\n          }\n        } else if (!isTypeRelatedTo(getIndexedAccessType(source, childrenNameType), childrenTargetType, relation)) {\n          result = true;\n          const diag2 = error(\n            containingElement.openingElement.tagName,\n            Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,\n            childrenPropName,\n            typeToString(childrenTargetType)\n          );\n          if (errorOutputContainer && errorOutputContainer.skipLogging) {\n            (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n          }\n        }\n      }\n    }\n    return result;\n    function getInvalidTextualChildDiagnostic() {\n      if (!invalidTextDiagnostic) {\n        const tagNameText = getTextOfNode(node.parent.tagName);\n        const childPropName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node));\n        const childrenPropName = childPropName === void 0 ? \"children\" : unescapeLeadingUnderscores(childPropName);\n        const childrenTargetType = getIndexedAccessType(target, getStringLiteralType(childrenPropName));\n        const diagnostic = Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;\n        invalidTextDiagnostic = { ...diagnostic, key: \"!!ALREADY FORMATTED!!\", message: formatMessage(void 0, diagnostic, tagNameText, childrenPropName, typeToString(childrenTargetType)) };\n      }\n      return invalidTextDiagnostic;\n    }\n  }\n  function* generateLimitedTupleElements(node, target) {\n    const len = length(node.elements);\n    if (!len)\n      return;\n    for (let i = 0; i < len; i++) {\n      if (isTupleLikeType(target) && !getPropertyOfType(target, \"\" + i))\n        continue;\n      const elem = node.elements[i];\n      if (isOmittedExpression(elem))\n        continue;\n      const nameType = getNumberLiteralType(i);\n      yield { errorNode: elem, innerExpression: elem, nameType };\n    }\n  }\n  function elaborateArrayLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n    if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))\n      return false;\n    if (isTupleLikeType(source)) {\n      return elaborateElementwise(generateLimitedTupleElements(node, target), source, target, relation, containingMessageChain, errorOutputContainer);\n    }\n    const oldContext = node.contextualType;\n    node.contextualType = target;\n    try {\n      const tupleizedType = checkArrayLiteral(node, 1 /* Contextual */, true);\n      node.contextualType = oldContext;\n      if (isTupleLikeType(tupleizedType)) {\n        return elaborateElementwise(generateLimitedTupleElements(node, target), tupleizedType, target, relation, containingMessageChain, errorOutputContainer);\n      }\n      return false;\n    } finally {\n      node.contextualType = oldContext;\n    }\n  }\n  function* generateObjectLiteralElements(node) {\n    if (!length(node.properties))\n      return;\n    for (const prop of node.properties) {\n      if (isSpreadAssignment(prop))\n        continue;\n      const type = getLiteralTypeFromProperty(getSymbolOfNode(prop), 8576 /* StringOrNumberLiteralOrUnique */);\n      if (!type || type.flags & 131072 /* Never */) {\n        continue;\n      }\n      switch (prop.kind) {\n        case 178 /* SetAccessor */:\n        case 177 /* GetAccessor */:\n        case 174 /* MethodDeclaration */:\n        case 306 /* ShorthandPropertyAssignment */:\n          yield { errorNode: prop.name, innerExpression: void 0, nameType: type };\n          break;\n        case 305 /* PropertyAssignment */:\n          yield { errorNode: prop.name, innerExpression: prop.initializer, nameType: type, errorMessage: isComputedNonLiteralName(prop.name) ? Diagnostics.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1 : void 0 };\n          break;\n        default:\n          Debug.assertNever(prop);\n      }\n    }\n  }\n  function elaborateObjectLiteral(node, source, target, relation, containingMessageChain, errorOutputContainer) {\n    if (target.flags & (131068 /* Primitive */ | 131072 /* Never */))\n      return false;\n    return elaborateElementwise(generateObjectLiteralElements(node), source, target, relation, containingMessageChain, errorOutputContainer);\n  }\n  function checkTypeComparableTo(source, target, errorNode, headMessage, containingMessageChain) {\n    return checkTypeRelatedTo(source, target, comparableRelation, errorNode, headMessage, containingMessageChain);\n  }\n  function isSignatureAssignableTo(source, target, ignoreReturnTypes) {\n    return compareSignaturesRelated(\n      source,\n      target,\n      ignoreReturnTypes ? 4 /* IgnoreReturnTypes */ : 0,\n      false,\n      void 0,\n      void 0,\n      compareTypesAssignable,\n      void 0\n    ) !== 0 /* False */;\n  }\n  function isAnySignature(s) {\n    return !s.typeParameters && (!s.thisParameter || isTypeAny(getTypeOfParameter(s.thisParameter))) && s.parameters.length === 1 && signatureHasRestParameter(s) && (getTypeOfParameter(s.parameters[0]) === anyArrayType || isTypeAny(getTypeOfParameter(s.parameters[0]))) && isTypeAny(getReturnTypeOfSignature(s));\n  }\n  function compareSignaturesRelated(source, target, checkMode, reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) {\n    if (source === target) {\n      return -1 /* True */;\n    }\n    if (isAnySignature(target)) {\n      return -1 /* True */;\n    }\n    const targetCount = getParameterCount(target);\n    const sourceHasMoreParameters = !hasEffectiveRestParameter(target) && (checkMode & 8 /* StrictArity */ ? hasEffectiveRestParameter(source) || getParameterCount(source) > targetCount : getMinArgumentCount(source) > targetCount);\n    if (sourceHasMoreParameters) {\n      return 0 /* False */;\n    }\n    if (source.typeParameters && source.typeParameters !== target.typeParameters) {\n      target = getCanonicalSignature(target);\n      source = instantiateSignatureInContextOf(source, target, void 0, compareTypes);\n    }\n    const sourceCount = getParameterCount(source);\n    const sourceRestType = getNonArrayRestType(source);\n    const targetRestType = getNonArrayRestType(target);\n    if (sourceRestType || targetRestType) {\n      void instantiateType(sourceRestType || targetRestType, reportUnreliableMarkers);\n    }\n    const kind = target.declaration ? target.declaration.kind : 0 /* Unknown */;\n    const strictVariance = !(checkMode & 3 /* Callback */) && strictFunctionTypes && kind !== 174 /* MethodDeclaration */ && kind !== 173 /* MethodSignature */ && kind !== 176 /* Constructor */;\n    let result = -1 /* True */;\n    const sourceThisType = getThisTypeOfSignature(source);\n    if (sourceThisType && sourceThisType !== voidType) {\n      const targetThisType = getThisTypeOfSignature(target);\n      if (targetThisType) {\n        const related = !strictVariance && compareTypes(sourceThisType, targetThisType, false) || compareTypes(targetThisType, sourceThisType, reportErrors2);\n        if (!related) {\n          if (reportErrors2) {\n            errorReporter(Diagnostics.The_this_types_of_each_signature_are_incompatible);\n          }\n          return 0 /* False */;\n        }\n        result &= related;\n      }\n    }\n    const paramCount = sourceRestType || targetRestType ? Math.min(sourceCount, targetCount) : Math.max(sourceCount, targetCount);\n    const restIndex = sourceRestType || targetRestType ? paramCount - 1 : -1;\n    for (let i = 0; i < paramCount; i++) {\n      const sourceType = i === restIndex ? getRestTypeAtPosition(source, i) : tryGetTypeAtPosition(source, i);\n      const targetType = i === restIndex ? getRestTypeAtPosition(target, i) : tryGetTypeAtPosition(target, i);\n      if (sourceType && targetType) {\n        const sourceSig = checkMode & 3 /* Callback */ ? void 0 : getSingleCallSignature(getNonNullableType3(sourceType));\n        const targetSig = checkMode & 3 /* Callback */ ? void 0 : getSingleCallSignature(getNonNullableType3(targetType));\n        const callbacks = sourceSig && targetSig && !getTypePredicateOfSignature(sourceSig) && !getTypePredicateOfSignature(targetSig) && (getTypeFacts(sourceType) & 50331648 /* IsUndefinedOrNull */) === (getTypeFacts(targetType) & 50331648 /* IsUndefinedOrNull */);\n        let related = callbacks ? compareSignaturesRelated(targetSig, sourceSig, checkMode & 8 /* StrictArity */ | (strictVariance ? 2 /* StrictCallback */ : 1 /* BivariantCallback */), reportErrors2, errorReporter, incompatibleErrorReporter, compareTypes, reportUnreliableMarkers) : !(checkMode & 3 /* Callback */) && !strictVariance && compareTypes(sourceType, targetType, false) || compareTypes(targetType, sourceType, reportErrors2);\n        if (related && checkMode & 8 /* StrictArity */ && i >= getMinArgumentCount(source) && i < getMinArgumentCount(target) && compareTypes(sourceType, targetType, false)) {\n          related = 0 /* False */;\n        }\n        if (!related) {\n          if (reportErrors2) {\n            errorReporter(\n              Diagnostics.Types_of_parameters_0_and_1_are_incompatible,\n              unescapeLeadingUnderscores(getParameterNameAtPosition(source, i)),\n              unescapeLeadingUnderscores(getParameterNameAtPosition(target, i))\n            );\n          }\n          return 0 /* False */;\n        }\n        result &= related;\n      }\n    }\n    if (!(checkMode & 4 /* IgnoreReturnTypes */)) {\n      const targetReturnType = isResolvingReturnTypeOfSignature(target) ? anyType : target.declaration && isJSConstructor(target.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(target.declaration.symbol)) : getReturnTypeOfSignature(target);\n      if (targetReturnType === voidType || targetReturnType === anyType) {\n        return result;\n      }\n      const sourceReturnType = isResolvingReturnTypeOfSignature(source) ? anyType : source.declaration && isJSConstructor(source.declaration) ? getDeclaredTypeOfClassOrInterface(getMergedSymbol(source.declaration.symbol)) : getReturnTypeOfSignature(source);\n      const targetTypePredicate = getTypePredicateOfSignature(target);\n      if (targetTypePredicate) {\n        const sourceTypePredicate = getTypePredicateOfSignature(source);\n        if (sourceTypePredicate) {\n          result &= compareTypePredicateRelatedTo(sourceTypePredicate, targetTypePredicate, reportErrors2, errorReporter, compareTypes);\n        } else if (isIdentifierTypePredicate(targetTypePredicate)) {\n          if (reportErrors2) {\n            errorReporter(Diagnostics.Signature_0_must_be_a_type_predicate, signatureToString(source));\n          }\n          return 0 /* False */;\n        }\n      } else {\n        result &= checkMode & 1 /* BivariantCallback */ && compareTypes(targetReturnType, sourceReturnType, false) || compareTypes(sourceReturnType, targetReturnType, reportErrors2);\n        if (!result && reportErrors2 && incompatibleErrorReporter) {\n          incompatibleErrorReporter(sourceReturnType, targetReturnType);\n        }\n      }\n    }\n    return result;\n  }\n  function compareTypePredicateRelatedTo(source, target, reportErrors2, errorReporter, compareTypes) {\n    if (source.kind !== target.kind) {\n      if (reportErrors2) {\n        errorReporter(Diagnostics.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard);\n        errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target));\n      }\n      return 0 /* False */;\n    }\n    if (source.kind === 1 /* Identifier */ || source.kind === 3 /* AssertsIdentifier */) {\n      if (source.parameterIndex !== target.parameterIndex) {\n        if (reportErrors2) {\n          errorReporter(Diagnostics.Parameter_0_is_not_in_the_same_position_as_parameter_1, source.parameterName, target.parameterName);\n          errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target));\n        }\n        return 0 /* False */;\n      }\n    }\n    const related = source.type === target.type ? -1 /* True */ : source.type && target.type ? compareTypes(source.type, target.type, reportErrors2) : 0 /* False */;\n    if (related === 0 /* False */ && reportErrors2) {\n      errorReporter(Diagnostics.Type_predicate_0_is_not_assignable_to_1, typePredicateToString(source), typePredicateToString(target));\n    }\n    return related;\n  }\n  function isImplementationCompatibleWithOverload(implementation, overload) {\n    const erasedSource = getErasedSignature(implementation);\n    const erasedTarget = getErasedSignature(overload);\n    const sourceReturnType = getReturnTypeOfSignature(erasedSource);\n    const targetReturnType = getReturnTypeOfSignature(erasedTarget);\n    if (targetReturnType === voidType || isTypeRelatedTo(targetReturnType, sourceReturnType, assignableRelation) || isTypeRelatedTo(sourceReturnType, targetReturnType, assignableRelation)) {\n      return isSignatureAssignableTo(erasedSource, erasedTarget, true);\n    }\n    return false;\n  }\n  function isEmptyResolvedType(t) {\n    return t !== anyFunctionType && t.properties.length === 0 && t.callSignatures.length === 0 && t.constructSignatures.length === 0 && t.indexInfos.length === 0;\n  }\n  function isEmptyObjectType(type) {\n    return type.flags & 524288 /* Object */ ? !isGenericMappedType(type) && isEmptyResolvedType(resolveStructuredTypeMembers(type)) : type.flags & 67108864 /* NonPrimitive */ ? true : type.flags & 1048576 /* Union */ ? some(type.types, isEmptyObjectType) : type.flags & 2097152 /* Intersection */ ? every(type.types, isEmptyObjectType) : false;\n  }\n  function isEmptyAnonymousObjectType(type) {\n    return !!(getObjectFlags(type) & 16 /* Anonymous */ && (type.members && isEmptyResolvedType(type) || type.symbol && type.symbol.flags & 2048 /* TypeLiteral */ && getMembersOfSymbol(type.symbol).size === 0));\n  }\n  function isUnknownLikeUnionType(type) {\n    if (strictNullChecks && type.flags & 1048576 /* Union */) {\n      if (!(type.objectFlags & 33554432 /* IsUnknownLikeUnionComputed */)) {\n        const types = type.types;\n        type.objectFlags |= 33554432 /* IsUnknownLikeUnionComputed */ | (types.length >= 3 && types[0].flags & 32768 /* Undefined */ && types[1].flags & 65536 /* Null */ && some(types, isEmptyAnonymousObjectType) ? 67108864 /* IsUnknownLikeUnion */ : 0);\n      }\n      return !!(type.objectFlags & 67108864 /* IsUnknownLikeUnion */);\n    }\n    return false;\n  }\n  function containsUndefinedType(type) {\n    return !!((type.flags & 1048576 /* Union */ ? type.types[0] : type).flags & 32768 /* Undefined */);\n  }\n  function isStringIndexSignatureOnlyType(type) {\n    return type.flags & 524288 /* Object */ && !isGenericMappedType(type) && getPropertiesOfType(type).length === 0 && getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, stringType) || type.flags & 3145728 /* UnionOrIntersection */ && every(type.types, isStringIndexSignatureOnlyType) || false;\n  }\n  function isEnumTypeRelatedTo(sourceSymbol, targetSymbol, errorReporter) {\n    if (sourceSymbol === targetSymbol) {\n      return true;\n    }\n    const id = getSymbolId(sourceSymbol) + \",\" + getSymbolId(targetSymbol);\n    const entry = enumRelation.get(id);\n    if (entry !== void 0 && !(entry & 2 /* Failed */ && errorReporter)) {\n      return !!(entry & 1 /* Succeeded */);\n    }\n    if (sourceSymbol.escapedName !== targetSymbol.escapedName || !(sourceSymbol.flags & 256 /* RegularEnum */) || !(targetSymbol.flags & 256 /* RegularEnum */)) {\n      enumRelation.set(id, 2 /* Failed */);\n      return false;\n    }\n    const targetEnumType = getTypeOfSymbol(targetSymbol);\n    for (const property of getPropertiesOfType(getTypeOfSymbol(sourceSymbol))) {\n      if (property.flags & 8 /* EnumMember */) {\n        const targetProperty = getPropertyOfType(targetEnumType, property.escapedName);\n        if (!targetProperty || !(targetProperty.flags & 8 /* EnumMember */)) {\n          if (errorReporter) {\n            errorReporter(\n              Diagnostics.Property_0_is_missing_in_type_1,\n              symbolName(property),\n              typeToString(getDeclaredTypeOfSymbol(targetSymbol), void 0, 64 /* UseFullyQualifiedType */)\n            );\n          }\n          enumRelation.set(id, 2 /* Failed */);\n          return false;\n        }\n      }\n    }\n    enumRelation.set(id, 1 /* Succeeded */);\n    return true;\n  }\n  function isSimpleTypeRelatedTo(source, target, relation, errorReporter) {\n    const s = source.flags;\n    const t = target.flags;\n    if (t & 3 /* AnyOrUnknown */ || s & 131072 /* Never */ || source === wildcardType)\n      return true;\n    if (t & 131072 /* Never */)\n      return false;\n    if (s & 402653316 /* StringLike */ && t & 4 /* String */)\n      return true;\n    if (s & 128 /* StringLiteral */ && s & 1024 /* EnumLiteral */ && t & 128 /* StringLiteral */ && !(t & 1024 /* EnumLiteral */) && source.value === target.value)\n      return true;\n    if (s & 296 /* NumberLike */ && t & 8 /* Number */)\n      return true;\n    if (s & 256 /* NumberLiteral */ && s & 1024 /* EnumLiteral */ && t & 256 /* NumberLiteral */ && !(t & 1024 /* EnumLiteral */) && source.value === target.value)\n      return true;\n    if (s & 2112 /* BigIntLike */ && t & 64 /* BigInt */)\n      return true;\n    if (s & 528 /* BooleanLike */ && t & 16 /* Boolean */)\n      return true;\n    if (s & 12288 /* ESSymbolLike */ && t & 4096 /* ESSymbol */)\n      return true;\n    if (s & 32 /* Enum */ && t & 32 /* Enum */ && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter))\n      return true;\n    if (s & 1024 /* EnumLiteral */ && t & 1024 /* EnumLiteral */) {\n      if (s & 1048576 /* Union */ && t & 1048576 /* Union */ && isEnumTypeRelatedTo(source.symbol, target.symbol, errorReporter))\n        return true;\n      if (s & 2944 /* Literal */ && t & 2944 /* Literal */ && source.value === target.value && isEnumTypeRelatedTo(getParentOfSymbol(source.symbol), getParentOfSymbol(target.symbol), errorReporter))\n        return true;\n    }\n    if (s & 32768 /* Undefined */ && (!strictNullChecks && !(t & 3145728 /* UnionOrIntersection */) || t & (32768 /* Undefined */ | 16384 /* Void */)))\n      return true;\n    if (s & 65536 /* Null */ && (!strictNullChecks && !(t & 3145728 /* UnionOrIntersection */) || t & 65536 /* Null */))\n      return true;\n    if (s & 524288 /* Object */ && t & 67108864 /* NonPrimitive */ && !(relation === strictSubtypeRelation && isEmptyAnonymousObjectType(source) && !(getObjectFlags(source) & 8192 /* FreshLiteral */)))\n      return true;\n    if (relation === assignableRelation || relation === comparableRelation) {\n      if (s & 1 /* Any */)\n        return true;\n      if (s & (8 /* Number */ | 256 /* NumberLiteral */) && !(s & 1024 /* EnumLiteral */) && (t & 32 /* Enum */ || relation === assignableRelation && t & 256 /* NumberLiteral */ && t & 1024 /* EnumLiteral */))\n        return true;\n      if (isUnknownLikeUnionType(target))\n        return true;\n    }\n    return false;\n  }\n  function isTypeRelatedTo(source, target, relation) {\n    if (isFreshLiteralType(source)) {\n      source = source.regularType;\n    }\n    if (isFreshLiteralType(target)) {\n      target = target.regularType;\n    }\n    if (source === target) {\n      return true;\n    }\n    if (relation !== identityRelation) {\n      if (relation === comparableRelation && !(target.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(target, source, relation) || isSimpleTypeRelatedTo(source, target, relation)) {\n        return true;\n      }\n    } else if (!((source.flags | target.flags) & (3145728 /* UnionOrIntersection */ | 8388608 /* IndexedAccess */ | 16777216 /* Conditional */ | 33554432 /* Substitution */))) {\n      if (source.flags !== target.flags)\n        return false;\n      if (source.flags & 67358815 /* Singleton */)\n        return true;\n    }\n    if (source.flags & 524288 /* Object */ && target.flags & 524288 /* Object */) {\n      const related = relation.get(getRelationKey(source, target, 0 /* None */, relation, false));\n      if (related !== void 0) {\n        return !!(related & 1 /* Succeeded */);\n      }\n    }\n    if (source.flags & 469499904 /* StructuredOrInstantiable */ || target.flags & 469499904 /* StructuredOrInstantiable */) {\n      return checkTypeRelatedTo(source, target, relation, void 0);\n    }\n    return false;\n  }\n  function isIgnoredJsxProperty(source, sourceProp) {\n    return getObjectFlags(source) & 2048 /* JsxAttributes */ && isHyphenatedJsxName(sourceProp.escapedName);\n  }\n  function getNormalizedType(type, writing) {\n    while (true) {\n      const t = isFreshLiteralType(type) ? type.regularType : getObjectFlags(type) & 4 /* Reference */ ? type.node ? createTypeReference(type.target, getTypeArguments(type)) : getSingleBaseForNonAugmentingSubtype(type) || type : type.flags & 3145728 /* UnionOrIntersection */ ? getNormalizedUnionOrIntersectionType(type, writing) : type.flags & 33554432 /* Substitution */ ? writing ? type.baseType : getSubstitutionIntersection(type) : type.flags & 25165824 /* Simplifiable */ ? getSimplifiedType(type, writing) : type;\n      if (t === type)\n        return t;\n      type = t;\n    }\n  }\n  function getNormalizedUnionOrIntersectionType(type, writing) {\n    const reduced = getReducedType(type);\n    if (reduced !== type) {\n      return reduced;\n    }\n    if (type.flags & 2097152 /* Intersection */ && some(type.types, isEmptyAnonymousObjectType)) {\n      const normalizedTypes = sameMap(type.types, (t) => getNormalizedType(t, writing));\n      if (normalizedTypes !== type.types) {\n        return getIntersectionType(normalizedTypes);\n      }\n    }\n    return type;\n  }\n  function checkTypeRelatedTo(source, target, relation, errorNode, headMessage, containingMessageChain, errorOutputContainer) {\n    var _a2;\n    let errorInfo;\n    let relatedInfo;\n    let maybeKeys;\n    let sourceStack;\n    let targetStack;\n    let maybeCount = 0;\n    let sourceDepth = 0;\n    let targetDepth = 0;\n    let expandingFlags = 0 /* None */;\n    let overflow = false;\n    let overrideNextErrorInfo = 0;\n    let lastSkippedInfo;\n    let incompatibleStack;\n    let inPropertyCheck = false;\n    Debug.assert(relation !== identityRelation || !errorNode, \"no error reporting in identity checking\");\n    const result = isRelatedTo(source, target, 3 /* Both */, !!errorNode, headMessage);\n    if (incompatibleStack) {\n      reportIncompatibleStack();\n    }\n    if (overflow) {\n      (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, \"checkTypeRelatedTo_DepthLimit\", { sourceId: source.id, targetId: target.id, depth: sourceDepth, targetDepth });\n      const diag2 = error(errorNode || currentNode, Diagnostics.Excessive_stack_depth_comparing_types_0_and_1, typeToString(source), typeToString(target));\n      if (errorOutputContainer) {\n        (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n      }\n    } else if (errorInfo) {\n      if (containingMessageChain) {\n        const chain = containingMessageChain();\n        if (chain) {\n          concatenateDiagnosticMessageChains(chain, errorInfo);\n          errorInfo = chain;\n        }\n      }\n      let relatedInformation;\n      if (headMessage && errorNode && !result && source.symbol) {\n        const links = getSymbolLinks(source.symbol);\n        if (links.originatingImport && !isImportCall(links.originatingImport)) {\n          const helpfulRetry = checkTypeRelatedTo(getTypeOfSymbol(links.target), target, relation, void 0);\n          if (helpfulRetry) {\n            const diag3 = createDiagnosticForNode(links.originatingImport, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead);\n            relatedInformation = append(relatedInformation, diag3);\n          }\n        }\n      }\n      const diag2 = createDiagnosticForNodeFromMessageChain(errorNode, errorInfo, relatedInformation);\n      if (relatedInfo) {\n        addRelatedInfo(diag2, ...relatedInfo);\n      }\n      if (errorOutputContainer) {\n        (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n      }\n      if (!errorOutputContainer || !errorOutputContainer.skipLogging) {\n        diagnostics.add(diag2);\n      }\n    }\n    if (errorNode && errorOutputContainer && errorOutputContainer.skipLogging && result === 0 /* False */) {\n      Debug.assert(!!errorOutputContainer.errors, \"missed opportunity to interact with error.\");\n    }\n    return result !== 0 /* False */;\n    function resetErrorInfo(saved) {\n      errorInfo = saved.errorInfo;\n      lastSkippedInfo = saved.lastSkippedInfo;\n      incompatibleStack = saved.incompatibleStack;\n      overrideNextErrorInfo = saved.overrideNextErrorInfo;\n      relatedInfo = saved.relatedInfo;\n    }\n    function captureErrorCalculationState() {\n      return {\n        errorInfo,\n        lastSkippedInfo,\n        incompatibleStack: incompatibleStack == null ? void 0 : incompatibleStack.slice(),\n        overrideNextErrorInfo,\n        relatedInfo: relatedInfo == null ? void 0 : relatedInfo.slice()\n      };\n    }\n    function reportIncompatibleError(message, arg0, arg1, arg2, arg3) {\n      overrideNextErrorInfo++;\n      lastSkippedInfo = void 0;\n      (incompatibleStack || (incompatibleStack = [])).push([message, arg0, arg1, arg2, arg3]);\n    }\n    function reportIncompatibleStack() {\n      const stack = incompatibleStack || [];\n      incompatibleStack = void 0;\n      const info = lastSkippedInfo;\n      lastSkippedInfo = void 0;\n      if (stack.length === 1) {\n        reportError(...stack[0]);\n        if (info) {\n          reportRelationError(void 0, ...info);\n        }\n        return;\n      }\n      let path = \"\";\n      const secondaryRootErrors = [];\n      while (stack.length) {\n        const [msg, ...args] = stack.pop();\n        switch (msg.code) {\n          case Diagnostics.Types_of_property_0_are_incompatible.code: {\n            if (path.indexOf(\"new \") === 0) {\n              path = `(${path})`;\n            }\n            const str = \"\" + args[0];\n            if (path.length === 0) {\n              path = `${str}`;\n            } else if (isIdentifierText(str, getEmitScriptTarget(compilerOptions))) {\n              path = `${path}.${str}`;\n            } else if (str[0] === \"[\" && str[str.length - 1] === \"]\") {\n              path = `${path}${str}`;\n            } else {\n              path = `${path}[${str}]`;\n            }\n            break;\n          }\n          case Diagnostics.Call_signature_return_types_0_and_1_are_incompatible.code:\n          case Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code:\n          case Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:\n          case Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code: {\n            if (path.length === 0) {\n              let mappedMsg = msg;\n              if (msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) {\n                mappedMsg = Diagnostics.Call_signature_return_types_0_and_1_are_incompatible;\n              } else if (msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code) {\n                mappedMsg = Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible;\n              }\n              secondaryRootErrors.unshift([mappedMsg, args[0], args[1]]);\n            } else {\n              const prefix = msg.code === Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? \"new \" : \"\";\n              const params = msg.code === Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code || msg.code === Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code ? \"\" : \"...\";\n              path = `${prefix}${path}(${params})`;\n            }\n            break;\n          }\n          case Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code: {\n            secondaryRootErrors.unshift([Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, args[0], args[1]]);\n            break;\n          }\n          case Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code: {\n            secondaryRootErrors.unshift([Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, args[0], args[1], args[2]]);\n            break;\n          }\n          default:\n            return Debug.fail(`Unhandled Diagnostic: ${msg.code}`);\n        }\n      }\n      if (path) {\n        reportError(\n          path[path.length - 1] === \")\" ? Diagnostics.The_types_returned_by_0_are_incompatible_between_these_types : Diagnostics.The_types_of_0_are_incompatible_between_these_types,\n          path\n        );\n      } else {\n        secondaryRootErrors.shift();\n      }\n      for (const [msg, ...args] of secondaryRootErrors) {\n        const originalValue = msg.elidedInCompatabilityPyramid;\n        msg.elidedInCompatabilityPyramid = false;\n        reportError(msg, ...args);\n        msg.elidedInCompatabilityPyramid = originalValue;\n      }\n      if (info) {\n        reportRelationError(void 0, ...info);\n      }\n    }\n    function reportError(message, arg0, arg1, arg2, arg3) {\n      Debug.assert(!!errorNode);\n      if (incompatibleStack)\n        reportIncompatibleStack();\n      if (message.elidedInCompatabilityPyramid)\n        return;\n      errorInfo = chainDiagnosticMessages(errorInfo, message, arg0, arg1, arg2, arg3);\n    }\n    function associateRelatedInfo(info) {\n      Debug.assert(!!errorInfo);\n      if (!relatedInfo) {\n        relatedInfo = [info];\n      } else {\n        relatedInfo.push(info);\n      }\n    }\n    function reportRelationError(message, source2, target2) {\n      if (incompatibleStack)\n        reportIncompatibleStack();\n      const [sourceType, targetType] = getTypeNamesForErrorDisplay(source2, target2);\n      let generalizedSource = source2;\n      let generalizedSourceType = sourceType;\n      if (isLiteralType3(source2) && !typeCouldHaveTopLevelSingletonTypes(target2)) {\n        generalizedSource = getBaseTypeOfLiteralType(source2);\n        Debug.assert(!isTypeAssignableTo(generalizedSource, target2), \"generalized source shouldn't be assignable\");\n        generalizedSourceType = getTypeNameForErrorDisplay(generalizedSource);\n      }\n      if (target2.flags & 262144 /* TypeParameter */ && target2 !== markerSuperTypeForCheck && target2 !== markerSubTypeForCheck) {\n        const constraint = getBaseConstraintOfType(target2);\n        let needsOriginalSource;\n        if (constraint && (isTypeAssignableTo(generalizedSource, constraint) || (needsOriginalSource = isTypeAssignableTo(source2, constraint)))) {\n          reportError(\n            Diagnostics._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,\n            needsOriginalSource ? sourceType : generalizedSourceType,\n            targetType,\n            typeToString(constraint)\n          );\n        } else {\n          errorInfo = void 0;\n          reportError(\n            Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,\n            targetType,\n            generalizedSourceType\n          );\n        }\n      }\n      if (!message) {\n        if (relation === comparableRelation) {\n          message = Diagnostics.Type_0_is_not_comparable_to_type_1;\n        } else if (sourceType === targetType) {\n          message = Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;\n        } else if (exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) {\n          message = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;\n        } else {\n          if (source2.flags & 128 /* StringLiteral */ && target2.flags & 1048576 /* Union */) {\n            const suggestedType = getSuggestedTypeForNonexistentStringLiteralType(source2, target2);\n            if (suggestedType) {\n              reportError(Diagnostics.Type_0_is_not_assignable_to_type_1_Did_you_mean_2, generalizedSourceType, targetType, typeToString(suggestedType));\n              return;\n            }\n          }\n          message = Diagnostics.Type_0_is_not_assignable_to_type_1;\n        }\n      } else if (message === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1 && exactOptionalPropertyTypes && getExactOptionalUnassignableProperties(source2, target2).length) {\n        message = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;\n      }\n      reportError(message, generalizedSourceType, targetType);\n    }\n    function tryElaborateErrorsForPrimitivesAndObjects(source2, target2) {\n      const sourceType = symbolValueDeclarationIsContextSensitive(source2.symbol) ? typeToString(source2, source2.symbol.valueDeclaration) : typeToString(source2);\n      const targetType = symbolValueDeclarationIsContextSensitive(target2.symbol) ? typeToString(target2, target2.symbol.valueDeclaration) : typeToString(target2);\n      if (globalStringType === source2 && stringType === target2 || globalNumberType === source2 && numberType === target2 || globalBooleanType === source2 && booleanType === target2 || getGlobalESSymbolType() === source2 && esSymbolType === target2) {\n        reportError(Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible, targetType, sourceType);\n      }\n    }\n    function tryElaborateArrayLikeErrors(source2, target2, reportErrors2) {\n      if (isTupleType(source2)) {\n        if (source2.target.readonly && isMutableArrayOrTuple(target2)) {\n          if (reportErrors2) {\n            reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2));\n          }\n          return false;\n        }\n        return isArrayOrTupleType(target2);\n      }\n      if (isReadonlyArrayType2(source2) && isMutableArrayOrTuple(target2)) {\n        if (reportErrors2) {\n          reportError(Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1, typeToString(source2), typeToString(target2));\n        }\n        return false;\n      }\n      if (isTupleType(target2)) {\n        return isArrayType(source2);\n      }\n      return true;\n    }\n    function isRelatedToWorker(source2, target2, reportErrors2) {\n      return isRelatedTo(source2, target2, 3 /* Both */, reportErrors2);\n    }\n    function isRelatedTo(originalSource, originalTarget, recursionFlags = 3 /* Both */, reportErrors2 = false, headMessage2, intersectionState = 0 /* None */) {\n      if (originalSource.flags & 524288 /* Object */ && originalTarget.flags & 131068 /* Primitive */) {\n        if (isSimpleTypeRelatedTo(originalSource, originalTarget, relation, reportErrors2 ? reportError : void 0)) {\n          return -1 /* True */;\n        }\n        if (reportErrors2) {\n          reportErrorResults(originalSource, originalTarget, originalSource, originalTarget, headMessage2);\n        }\n        return 0 /* False */;\n      }\n      const source2 = getNormalizedType(originalSource, false);\n      let target2 = getNormalizedType(originalTarget, true);\n      if (source2 === target2)\n        return -1 /* True */;\n      if (relation === identityRelation) {\n        if (source2.flags !== target2.flags)\n          return 0 /* False */;\n        if (source2.flags & 67358815 /* Singleton */)\n          return -1 /* True */;\n        traceUnionsOrIntersectionsTooLarge(source2, target2);\n        return recursiveTypeRelatedTo(source2, target2, false, 0 /* None */, recursionFlags);\n      }\n      if (source2.flags & 262144 /* TypeParameter */ && getConstraintOfType(source2) === target2) {\n        return -1 /* True */;\n      }\n      if (source2.flags & 470302716 /* DefinitelyNonNullable */ && target2.flags & 1048576 /* Union */) {\n        const types = target2.types;\n        const candidate = types.length === 2 && types[0].flags & 98304 /* Nullable */ ? types[1] : types.length === 3 && types[0].flags & 98304 /* Nullable */ && types[1].flags & 98304 /* Nullable */ ? types[2] : void 0;\n        if (candidate && !(candidate.flags & 98304 /* Nullable */)) {\n          target2 = getNormalizedType(candidate, true);\n          if (source2 === target2)\n            return -1 /* True */;\n        }\n      }\n      if (relation === comparableRelation && !(target2.flags & 131072 /* Never */) && isSimpleTypeRelatedTo(target2, source2, relation) || isSimpleTypeRelatedTo(source2, target2, relation, reportErrors2 ? reportError : void 0))\n        return -1 /* True */;\n      if (source2.flags & 469499904 /* StructuredOrInstantiable */ || target2.flags & 469499904 /* StructuredOrInstantiable */) {\n        const isPerformingExcessPropertyChecks = !(intersectionState & 2 /* Target */) && (isObjectLiteralType4(source2) && getObjectFlags(source2) & 8192 /* FreshLiteral */);\n        if (isPerformingExcessPropertyChecks) {\n          if (hasExcessProperties(source2, target2, reportErrors2)) {\n            if (reportErrors2) {\n              reportRelationError(headMessage2, source2, originalTarget.aliasSymbol ? originalTarget : target2);\n            }\n            return 0 /* False */;\n          }\n        }\n        const isPerformingCommonPropertyChecks = (relation !== comparableRelation || isUnitType(source2)) && !(intersectionState & 2 /* Target */) && source2.flags & (131068 /* Primitive */ | 524288 /* Object */ | 2097152 /* Intersection */) && source2 !== globalObjectType && target2.flags & (524288 /* Object */ | 2097152 /* Intersection */) && isWeakType(target2) && (getPropertiesOfType(source2).length > 0 || typeHasCallOrConstructSignatures2(source2));\n        const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048 /* JsxAttributes */);\n        if (isPerformingCommonPropertyChecks && !hasCommonProperties(source2, target2, isComparingJsxAttributes)) {\n          if (reportErrors2) {\n            const sourceString = typeToString(originalSource.aliasSymbol ? originalSource : source2);\n            const targetString = typeToString(originalTarget.aliasSymbol ? originalTarget : target2);\n            const calls = getSignaturesOfType(source2, 0 /* Call */);\n            const constructs = getSignaturesOfType(source2, 1 /* Construct */);\n            if (calls.length > 0 && isRelatedTo(getReturnTypeOfSignature(calls[0]), target2, 1 /* Source */, false) || constructs.length > 0 && isRelatedTo(getReturnTypeOfSignature(constructs[0]), target2, 1 /* Source */, false)) {\n              reportError(Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it, sourceString, targetString);\n            } else {\n              reportError(Diagnostics.Type_0_has_no_properties_in_common_with_type_1, sourceString, targetString);\n            }\n          }\n          return 0 /* False */;\n        }\n        traceUnionsOrIntersectionsTooLarge(source2, target2);\n        const skipCaching = source2.flags & 1048576 /* Union */ && source2.types.length < 4 && !(target2.flags & 1048576 /* Union */) || target2.flags & 1048576 /* Union */ && target2.types.length < 4 && !(source2.flags & 469499904 /* StructuredOrInstantiable */);\n        const result2 = skipCaching ? unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) : recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags);\n        if (result2) {\n          return result2;\n        }\n      }\n      if (reportErrors2) {\n        reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2);\n      }\n      return 0 /* False */;\n    }\n    function reportErrorResults(originalSource, originalTarget, source2, target2, headMessage2) {\n      var _a3, _b;\n      const sourceHasBase = !!getSingleBaseForNonAugmentingSubtype(originalSource);\n      const targetHasBase = !!getSingleBaseForNonAugmentingSubtype(originalTarget);\n      source2 = originalSource.aliasSymbol || sourceHasBase ? originalSource : source2;\n      target2 = originalTarget.aliasSymbol || targetHasBase ? originalTarget : target2;\n      let maybeSuppress = overrideNextErrorInfo > 0;\n      if (maybeSuppress) {\n        overrideNextErrorInfo--;\n      }\n      if (source2.flags & 524288 /* Object */ && target2.flags & 524288 /* Object */) {\n        const currentError = errorInfo;\n        tryElaborateArrayLikeErrors(source2, target2, true);\n        if (errorInfo !== currentError) {\n          maybeSuppress = !!errorInfo;\n        }\n      }\n      if (source2.flags & 524288 /* Object */ && target2.flags & 131068 /* Primitive */) {\n        tryElaborateErrorsForPrimitivesAndObjects(source2, target2);\n      } else if (source2.symbol && source2.flags & 524288 /* Object */ && globalObjectType === source2) {\n        reportError(Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);\n      } else if (getObjectFlags(source2) & 2048 /* JsxAttributes */ && target2.flags & 2097152 /* Intersection */) {\n        const targetTypes = target2.types;\n        const intrinsicAttributes = getJsxType(JsxNames.IntrinsicAttributes, errorNode);\n        const intrinsicClassAttributes = getJsxType(JsxNames.IntrinsicClassAttributes, errorNode);\n        if (!isErrorType(intrinsicAttributes) && !isErrorType(intrinsicClassAttributes) && (contains(targetTypes, intrinsicAttributes) || contains(targetTypes, intrinsicClassAttributes))) {\n          return;\n        }\n      } else {\n        errorInfo = elaborateNeverIntersection(errorInfo, originalTarget);\n      }\n      if (!headMessage2 && maybeSuppress) {\n        lastSkippedInfo = [source2, target2];\n        return;\n      }\n      reportRelationError(headMessage2, source2, target2);\n      if (source2.flags & 262144 /* TypeParameter */ && ((_b = (_a3 = source2.symbol) == null ? void 0 : _a3.declarations) == null ? void 0 : _b[0]) && !getConstraintOfType(source2)) {\n        const syntheticParam = cloneTypeParameter(source2);\n        syntheticParam.constraint = instantiateType(target2, makeUnaryTypeMapper(source2, syntheticParam));\n        if (hasNonCircularBaseConstraint(syntheticParam)) {\n          const targetConstraintString = typeToString(target2, source2.symbol.declarations[0]);\n          associateRelatedInfo(createDiagnosticForNode(source2.symbol.declarations[0], Diagnostics.This_type_parameter_might_need_an_extends_0_constraint, targetConstraintString));\n        }\n      }\n    }\n    function traceUnionsOrIntersectionsTooLarge(source2, target2) {\n      if (!tracing) {\n        return;\n      }\n      if (source2.flags & 3145728 /* UnionOrIntersection */ && target2.flags & 3145728 /* UnionOrIntersection */) {\n        const sourceUnionOrIntersection = source2;\n        const targetUnionOrIntersection = target2;\n        if (sourceUnionOrIntersection.objectFlags & targetUnionOrIntersection.objectFlags & 32768 /* PrimitiveUnion */) {\n          return;\n        }\n        const sourceSize = sourceUnionOrIntersection.types.length;\n        const targetSize = targetUnionOrIntersection.types.length;\n        if (sourceSize * targetSize > 1e6) {\n          tracing.instant(tracing.Phase.CheckTypes, \"traceUnionsOrIntersectionsTooLarge_DepthLimit\", {\n            sourceId: source2.id,\n            sourceSize,\n            targetId: target2.id,\n            targetSize,\n            pos: errorNode == null ? void 0 : errorNode.pos,\n            end: errorNode == null ? void 0 : errorNode.end\n          });\n        }\n      }\n    }\n    function getTypeOfPropertyInTypes(types, name) {\n      const appendPropType = (propTypes, type) => {\n        var _a3;\n        type = getApparentType(type);\n        const prop = type.flags & 3145728 /* UnionOrIntersection */ ? getPropertyOfUnionOrIntersectionType(type, name) : getPropertyOfObjectType(type, name);\n        const propType = prop && getTypeOfSymbol(prop) || ((_a3 = getApplicableIndexInfoForName(type, name)) == null ? void 0 : _a3.type) || undefinedType;\n        return append(propTypes, propType);\n      };\n      return getUnionType(reduceLeft(types, appendPropType, void 0) || emptyArray);\n    }\n    function hasExcessProperties(source2, target2, reportErrors2) {\n      var _a3;\n      if (!isExcessPropertyCheckTarget(target2) || !noImplicitAny && getObjectFlags(target2) & 4096 /* JSLiteral */) {\n        return false;\n      }\n      const isComparingJsxAttributes = !!(getObjectFlags(source2) & 2048 /* JsxAttributes */);\n      if ((relation === assignableRelation || relation === comparableRelation) && (isTypeSubsetOf(globalObjectType, target2) || !isComparingJsxAttributes && isEmptyObjectType(target2))) {\n        return false;\n      }\n      let reducedTarget = target2;\n      let checkTypes;\n      if (target2.flags & 1048576 /* Union */) {\n        reducedTarget = findMatchingDiscriminantType(source2, target2, isRelatedTo) || filterPrimitivesIfContainsNonPrimitive(target2);\n        checkTypes = reducedTarget.flags & 1048576 /* Union */ ? reducedTarget.types : [reducedTarget];\n      }\n      for (const prop of getPropertiesOfType(source2)) {\n        if (shouldCheckAsExcessProperty(prop, source2.symbol) && !isIgnoredJsxProperty(source2, prop)) {\n          if (!isKnownProperty(reducedTarget, prop.escapedName, isComparingJsxAttributes)) {\n            if (reportErrors2) {\n              const errorTarget = filterType(reducedTarget, isExcessPropertyCheckTarget);\n              if (!errorNode)\n                return Debug.fail();\n              if (isJsxAttributes(errorNode) || isJsxOpeningLikeElement(errorNode) || isJsxOpeningLikeElement(errorNode.parent)) {\n                if (prop.valueDeclaration && isJsxAttribute(prop.valueDeclaration) && getSourceFileOfNode(errorNode) === getSourceFileOfNode(prop.valueDeclaration.name)) {\n                  errorNode = prop.valueDeclaration.name;\n                }\n                const propName = symbolToString(prop);\n                const suggestionSymbol = getSuggestedSymbolForNonexistentJSXAttribute(propName, errorTarget);\n                const suggestion = suggestionSymbol ? symbolToString(suggestionSymbol) : void 0;\n                if (suggestion) {\n                  reportError(Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2, propName, typeToString(errorTarget), suggestion);\n                } else {\n                  reportError(Diagnostics.Property_0_does_not_exist_on_type_1, propName, typeToString(errorTarget));\n                }\n              } else {\n                const objectLiteralDeclaration = ((_a3 = source2.symbol) == null ? void 0 : _a3.declarations) && firstOrUndefined(source2.symbol.declarations);\n                let suggestion;\n                if (prop.valueDeclaration && findAncestor(prop.valueDeclaration, (d) => d === objectLiteralDeclaration) && getSourceFileOfNode(objectLiteralDeclaration) === getSourceFileOfNode(errorNode)) {\n                  const propDeclaration = prop.valueDeclaration;\n                  Debug.assertNode(propDeclaration, isObjectLiteralElementLike);\n                  errorNode = propDeclaration;\n                  const name = propDeclaration.name;\n                  if (isIdentifier(name)) {\n                    suggestion = getSuggestionForNonexistentProperty(name, errorTarget);\n                  }\n                }\n                if (suggestion !== void 0) {\n                  reportError(\n                    Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,\n                    symbolToString(prop),\n                    typeToString(errorTarget),\n                    suggestion\n                  );\n                } else {\n                  reportError(\n                    Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,\n                    symbolToString(prop),\n                    typeToString(errorTarget)\n                  );\n                }\n              }\n            }\n            return true;\n          }\n          if (checkTypes && !isRelatedTo(getTypeOfSymbol(prop), getTypeOfPropertyInTypes(checkTypes, prop.escapedName), 3 /* Both */, reportErrors2)) {\n            if (reportErrors2) {\n              reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(prop));\n            }\n            return true;\n          }\n        }\n      }\n      return false;\n    }\n    function shouldCheckAsExcessProperty(prop, container) {\n      return prop.valueDeclaration && container.valueDeclaration && prop.valueDeclaration.parent === container.valueDeclaration;\n    }\n    function unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState) {\n      if (source2.flags & 1048576 /* Union */) {\n        return relation === comparableRelation ? someTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 131068 /* Primitive */), intersectionState) : eachTypeRelatedToType(source2, target2, reportErrors2 && !(source2.flags & 131068 /* Primitive */), intersectionState);\n      }\n      if (target2.flags & 1048576 /* Union */) {\n        return typeRelatedToSomeType(getRegularTypeOfObjectLiteral(source2), target2, reportErrors2 && !(source2.flags & 131068 /* Primitive */) && !(target2.flags & 131068 /* Primitive */));\n      }\n      if (target2.flags & 2097152 /* Intersection */) {\n        return typeRelatedToEachType(source2, target2, reportErrors2, 2 /* Target */);\n      }\n      if (relation === comparableRelation && target2.flags & 131068 /* Primitive */) {\n        const constraints = sameMap(source2.types, (t) => t.flags & 465829888 /* Instantiable */ ? getBaseConstraintOfType(t) || unknownType : t);\n        if (constraints !== source2.types) {\n          source2 = getIntersectionType(constraints);\n          if (source2.flags & 131072 /* Never */) {\n            return 0 /* False */;\n          }\n          if (!(source2.flags & 2097152 /* Intersection */)) {\n            return isRelatedTo(source2, target2, 1 /* Source */, false) || isRelatedTo(target2, source2, 1 /* Source */, false);\n          }\n        }\n      }\n      return someTypeRelatedToType(source2, target2, false, 1 /* Source */);\n    }\n    function eachTypeRelatedToSomeType(source2, target2) {\n      let result2 = -1 /* True */;\n      const sourceTypes = source2.types;\n      for (const sourceType of sourceTypes) {\n        const related = typeRelatedToSomeType(sourceType, target2, false);\n        if (!related) {\n          return 0 /* False */;\n        }\n        result2 &= related;\n      }\n      return result2;\n    }\n    function typeRelatedToSomeType(source2, target2, reportErrors2) {\n      const targetTypes = target2.types;\n      if (target2.flags & 1048576 /* Union */) {\n        if (containsType(targetTypes, source2)) {\n          return -1 /* True */;\n        }\n        if (relation !== comparableRelation && getObjectFlags(target2) & 32768 /* PrimitiveUnion */ && !(source2.flags & 1024 /* EnumLiteral */) && (source2.flags & (128 /* StringLiteral */ | 512 /* BooleanLiteral */ | 2048 /* BigIntLiteral */) || (relation === subtypeRelation || relation === strictSubtypeRelation) && source2.flags & 256 /* NumberLiteral */)) {\n          const alternateForm = source2 === source2.regularType ? source2.freshType : source2.regularType;\n          const primitive = source2.flags & 128 /* StringLiteral */ ? stringType : source2.flags & 256 /* NumberLiteral */ ? numberType : source2.flags & 2048 /* BigIntLiteral */ ? bigintType : void 0;\n          return primitive && containsType(targetTypes, primitive) || alternateForm && containsType(targetTypes, alternateForm) ? -1 /* True */ : 0 /* False */;\n        }\n        const match = getMatchingUnionConstituentForType(target2, source2);\n        if (match) {\n          const related = isRelatedTo(source2, match, 2 /* Target */, false);\n          if (related) {\n            return related;\n          }\n        }\n      }\n      for (const type of targetTypes) {\n        const related = isRelatedTo(source2, type, 2 /* Target */, false);\n        if (related) {\n          return related;\n        }\n      }\n      if (reportErrors2) {\n        const bestMatchingType = getBestMatchingType(source2, target2, isRelatedTo);\n        if (bestMatchingType) {\n          isRelatedTo(source2, bestMatchingType, 2 /* Target */, true);\n        }\n      }\n      return 0 /* False */;\n    }\n    function typeRelatedToEachType(source2, target2, reportErrors2, intersectionState) {\n      let result2 = -1 /* True */;\n      const targetTypes = target2.types;\n      for (const targetType of targetTypes) {\n        const related = isRelatedTo(source2, targetType, 2 /* Target */, reportErrors2, void 0, intersectionState);\n        if (!related) {\n          return 0 /* False */;\n        }\n        result2 &= related;\n      }\n      return result2;\n    }\n    function someTypeRelatedToType(source2, target2, reportErrors2, intersectionState) {\n      const sourceTypes = source2.types;\n      if (source2.flags & 1048576 /* Union */ && containsType(sourceTypes, target2)) {\n        return -1 /* True */;\n      }\n      const len = sourceTypes.length;\n      for (let i = 0; i < len; i++) {\n        const related = isRelatedTo(sourceTypes[i], target2, 1 /* Source */, reportErrors2 && i === len - 1, void 0, intersectionState);\n        if (related) {\n          return related;\n        }\n      }\n      return 0 /* False */;\n    }\n    function getUndefinedStrippedTargetIfNeeded(source2, target2) {\n      if (source2.flags & 1048576 /* Union */ && target2.flags & 1048576 /* Union */ && !(source2.types[0].flags & 32768 /* Undefined */) && target2.types[0].flags & 32768 /* Undefined */) {\n        return extractTypesOfKind(target2, ~32768 /* Undefined */);\n      }\n      return target2;\n    }\n    function eachTypeRelatedToType(source2, target2, reportErrors2, intersectionState) {\n      let result2 = -1 /* True */;\n      const sourceTypes = source2.types;\n      const undefinedStrippedTarget = getUndefinedStrippedTargetIfNeeded(source2, target2);\n      for (let i = 0; i < sourceTypes.length; i++) {\n        const sourceType = sourceTypes[i];\n        if (undefinedStrippedTarget.flags & 1048576 /* Union */ && sourceTypes.length >= undefinedStrippedTarget.types.length && sourceTypes.length % undefinedStrippedTarget.types.length === 0) {\n          const related2 = isRelatedTo(sourceType, undefinedStrippedTarget.types[i % undefinedStrippedTarget.types.length], 3 /* Both */, false, void 0, intersectionState);\n          if (related2) {\n            result2 &= related2;\n            continue;\n          }\n        }\n        const related = isRelatedTo(sourceType, target2, 1 /* Source */, reportErrors2, void 0, intersectionState);\n        if (!related) {\n          return 0 /* False */;\n        }\n        result2 &= related;\n      }\n      return result2;\n    }\n    function typeArgumentsRelatedTo(sources = emptyArray, targets = emptyArray, variances = emptyArray, reportErrors2, intersectionState) {\n      if (sources.length !== targets.length && relation === identityRelation) {\n        return 0 /* False */;\n      }\n      const length2 = sources.length <= targets.length ? sources.length : targets.length;\n      let result2 = -1 /* True */;\n      for (let i = 0; i < length2; i++) {\n        const varianceFlags = i < variances.length ? variances[i] : 1 /* Covariant */;\n        const variance = varianceFlags & 7 /* VarianceMask */;\n        if (variance !== 4 /* Independent */) {\n          const s = sources[i];\n          const t = targets[i];\n          let related = -1 /* True */;\n          if (varianceFlags & 8 /* Unmeasurable */) {\n            related = relation === identityRelation ? isRelatedTo(s, t, 3 /* Both */, false) : compareTypesIdentical(s, t);\n          } else if (variance === 1 /* Covariant */) {\n            related = isRelatedTo(s, t, 3 /* Both */, reportErrors2, void 0, intersectionState);\n          } else if (variance === 2 /* Contravariant */) {\n            related = isRelatedTo(t, s, 3 /* Both */, reportErrors2, void 0, intersectionState);\n          } else if (variance === 3 /* Bivariant */) {\n            related = isRelatedTo(t, s, 3 /* Both */, false);\n            if (!related) {\n              related = isRelatedTo(s, t, 3 /* Both */, reportErrors2, void 0, intersectionState);\n            }\n          } else {\n            related = isRelatedTo(s, t, 3 /* Both */, reportErrors2, void 0, intersectionState);\n            if (related) {\n              related &= isRelatedTo(t, s, 3 /* Both */, reportErrors2, void 0, intersectionState);\n            }\n          }\n          if (!related) {\n            return 0 /* False */;\n          }\n          result2 &= related;\n        }\n      }\n      return result2;\n    }\n    function recursiveTypeRelatedTo(source2, target2, reportErrors2, intersectionState, recursionFlags) {\n      var _a3, _b, _c;\n      if (overflow) {\n        return 0 /* False */;\n      }\n      const id = getRelationKey(source2, target2, intersectionState, relation, false);\n      const entry = relation.get(id);\n      if (entry !== void 0) {\n        if (reportErrors2 && entry & 2 /* Failed */) {\n        } else {\n          if (outofbandVarianceMarkerHandler) {\n            const saved = entry & 24 /* ReportsMask */;\n            if (saved & 8 /* ReportsUnmeasurable */) {\n              instantiateType(source2, reportUnmeasurableMapper);\n            }\n            if (saved & 16 /* ReportsUnreliable */) {\n              instantiateType(source2, reportUnreliableMapper);\n            }\n          }\n          return entry & 1 /* Succeeded */ ? -1 /* True */ : 0 /* False */;\n        }\n      }\n      if (!maybeKeys) {\n        maybeKeys = [];\n        sourceStack = [];\n        targetStack = [];\n      } else {\n        const broadestEquivalentId = id.startsWith(\"*\") ? getRelationKey(source2, target2, intersectionState, relation, true) : void 0;\n        for (let i = 0; i < maybeCount; i++) {\n          if (id === maybeKeys[i] || broadestEquivalentId && broadestEquivalentId === maybeKeys[i]) {\n            return 3 /* Maybe */;\n          }\n        }\n        if (sourceDepth === 100 || targetDepth === 100) {\n          overflow = true;\n          return 0 /* False */;\n        }\n      }\n      const maybeStart = maybeCount;\n      maybeKeys[maybeCount] = id;\n      maybeCount++;\n      const saveExpandingFlags = expandingFlags;\n      if (recursionFlags & 1 /* Source */) {\n        sourceStack[sourceDepth] = source2;\n        sourceDepth++;\n        if (!(expandingFlags & 1 /* Source */) && isDeeplyNestedType(source2, sourceStack, sourceDepth))\n          expandingFlags |= 1 /* Source */;\n      }\n      if (recursionFlags & 2 /* Target */) {\n        targetStack[targetDepth] = target2;\n        targetDepth++;\n        if (!(expandingFlags & 2 /* Target */) && isDeeplyNestedType(target2, targetStack, targetDepth))\n          expandingFlags |= 2 /* Target */;\n      }\n      let originalHandler;\n      let propagatingVarianceFlags = 0;\n      if (outofbandVarianceMarkerHandler) {\n        originalHandler = outofbandVarianceMarkerHandler;\n        outofbandVarianceMarkerHandler = (onlyUnreliable) => {\n          propagatingVarianceFlags |= onlyUnreliable ? 16 /* ReportsUnreliable */ : 8 /* ReportsUnmeasurable */;\n          return originalHandler(onlyUnreliable);\n        };\n      }\n      let result2;\n      if (expandingFlags === 3 /* Both */) {\n        (_a3 = tracing) == null ? void 0 : _a3.instant(tracing.Phase.CheckTypes, \"recursiveTypeRelatedTo_DepthLimit\", {\n          sourceId: source2.id,\n          sourceIdStack: sourceStack.map((t) => t.id),\n          targetId: target2.id,\n          targetIdStack: targetStack.map((t) => t.id),\n          depth: sourceDepth,\n          targetDepth\n        });\n        result2 = 3 /* Maybe */;\n      } else {\n        (_b = tracing) == null ? void 0 : _b.push(tracing.Phase.CheckTypes, \"structuredTypeRelatedTo\", { sourceId: source2.id, targetId: target2.id });\n        PerformanceDotting.start(\"structuredTypeRelatedTo\");\n        result2 = structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState);\n        PerformanceDotting.stop(\"structuredTypeRelatedTo\");\n        (_c = tracing) == null ? void 0 : _c.pop();\n      }\n      if (outofbandVarianceMarkerHandler) {\n        outofbandVarianceMarkerHandler = originalHandler;\n      }\n      if (recursionFlags & 1 /* Source */) {\n        sourceDepth--;\n      }\n      if (recursionFlags & 2 /* Target */) {\n        targetDepth--;\n      }\n      expandingFlags = saveExpandingFlags;\n      if (result2) {\n        if (result2 === -1 /* True */ || sourceDepth === 0 && targetDepth === 0) {\n          if (result2 === -1 /* True */ || result2 === 3 /* Maybe */) {\n            for (let i = maybeStart; i < maybeCount; i++) {\n              relation.set(maybeKeys[i], 1 /* Succeeded */ | propagatingVarianceFlags);\n            }\n          }\n          maybeCount = maybeStart;\n        }\n      } else {\n        relation.set(id, 2 /* Failed */ | propagatingVarianceFlags);\n        maybeCount = maybeStart;\n      }\n      return result2;\n    }\n    function structuredTypeRelatedTo(source2, target2, reportErrors2, intersectionState) {\n      const saveErrorInfo = captureErrorCalculationState();\n      let result2 = structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo);\n      if (relation !== identityRelation) {\n        if (!result2 && (source2.flags & 2097152 /* Intersection */ || source2.flags & 262144 /* TypeParameter */ && target2.flags & 1048576 /* Union */)) {\n          const constraint = getEffectiveConstraintOfIntersection(source2.flags & 2097152 /* Intersection */ ? source2.types : [source2], !!(target2.flags & 1048576 /* Union */));\n          if (constraint && everyType(constraint, (c) => c !== source2)) {\n            result2 = isRelatedTo(constraint, target2, 1 /* Source */, false, void 0, intersectionState);\n          }\n        }\n        if (result2 && !inPropertyCheck && (target2.flags & 2097152 /* Intersection */ && !isGenericObjectType(target2) && source2.flags & (524288 /* Object */ | 2097152 /* Intersection */) || isNonGenericObjectType(target2) && !isArrayOrTupleType(target2) && source2.flags & 2097152 /* Intersection */ && getApparentType(source2).flags & 3670016 /* StructuredType */ && !some(source2.types, (t) => !!(getObjectFlags(t) & 262144 /* NonInferrableType */)))) {\n          inPropertyCheck = true;\n          result2 &= propertiesRelatedTo(source2, target2, reportErrors2, void 0, 0 /* None */);\n          inPropertyCheck = false;\n        }\n      }\n      if (result2) {\n        resetErrorInfo(saveErrorInfo);\n      }\n      return result2;\n    }\n    function structuredTypeRelatedToWorker(source2, target2, reportErrors2, intersectionState, saveErrorInfo) {\n      let result2;\n      let originalErrorInfo;\n      let varianceCheckFailed = false;\n      let sourceFlags = source2.flags;\n      const targetFlags = target2.flags;\n      if (relation === identityRelation) {\n        if (sourceFlags & 3145728 /* UnionOrIntersection */) {\n          let result3 = eachTypeRelatedToSomeType(source2, target2);\n          if (result3) {\n            result3 &= eachTypeRelatedToSomeType(target2, source2);\n          }\n          return result3;\n        }\n        if (sourceFlags & 4194304 /* Index */) {\n          return isRelatedTo(source2.type, target2.type, 3 /* Both */, false);\n        }\n        if (sourceFlags & 8388608 /* IndexedAccess */) {\n          if (result2 = isRelatedTo(source2.objectType, target2.objectType, 3 /* Both */, false)) {\n            if (result2 &= isRelatedTo(source2.indexType, target2.indexType, 3 /* Both */, false)) {\n              return result2;\n            }\n          }\n        }\n        if (sourceFlags & 16777216 /* Conditional */) {\n          if (source2.root.isDistributive === target2.root.isDistributive) {\n            if (result2 = isRelatedTo(source2.checkType, target2.checkType, 3 /* Both */, false)) {\n              if (result2 &= isRelatedTo(source2.extendsType, target2.extendsType, 3 /* Both */, false)) {\n                if (result2 &= isRelatedTo(getTrueTypeFromConditionalType(source2), getTrueTypeFromConditionalType(target2), 3 /* Both */, false)) {\n                  if (result2 &= isRelatedTo(getFalseTypeFromConditionalType(source2), getFalseTypeFromConditionalType(target2), 3 /* Both */, false)) {\n                    return result2;\n                  }\n                }\n              }\n            }\n          }\n        }\n        if (sourceFlags & 33554432 /* Substitution */) {\n          if (result2 = isRelatedTo(source2.baseType, target2.baseType, 3 /* Both */, false)) {\n            if (result2 &= isRelatedTo(source2.constraint, target2.constraint, 3 /* Both */, false)) {\n              return result2;\n            }\n          }\n        }\n        if (!(sourceFlags & 524288 /* Object */)) {\n          return 0 /* False */;\n        }\n      } else if (sourceFlags & 3145728 /* UnionOrIntersection */ || targetFlags & 3145728 /* UnionOrIntersection */) {\n        if (result2 = unionOrIntersectionRelatedTo(source2, target2, reportErrors2, intersectionState)) {\n          return result2;\n        }\n        if (!(sourceFlags & 465829888 /* Instantiable */ || sourceFlags & 524288 /* Object */ && targetFlags & 1048576 /* Union */ || sourceFlags & 2097152 /* Intersection */ && targetFlags & (524288 /* Object */ | 1048576 /* Union */ | 465829888 /* Instantiable */))) {\n          return 0 /* False */;\n        }\n      }\n      if (sourceFlags & (524288 /* Object */ | 16777216 /* Conditional */) && source2.aliasSymbol && source2.aliasTypeArguments && source2.aliasSymbol === target2.aliasSymbol && !(isMarkerType(source2) || isMarkerType(target2))) {\n        const variances = getAliasVariances(source2.aliasSymbol);\n        if (variances === emptyArray) {\n          return 1 /* Unknown */;\n        }\n        const varianceResult = relateVariances(source2.aliasTypeArguments, target2.aliasTypeArguments, variances, intersectionState);\n        if (varianceResult !== void 0) {\n          return varianceResult;\n        }\n      }\n      if (isSingleElementGenericTupleType(source2) && !source2.target.readonly && (result2 = isRelatedTo(getTypeArguments(source2)[0], target2, 1 /* Source */)) || isSingleElementGenericTupleType(target2) && (target2.target.readonly || isMutableArrayOrTuple(getBaseConstraintOfType(source2) || source2)) && (result2 = isRelatedTo(source2, getTypeArguments(target2)[0], 2 /* Target */))) {\n        return result2;\n      }\n      if (targetFlags & 262144 /* TypeParameter */) {\n        if (getObjectFlags(source2) & 32 /* Mapped */ && !source2.declaration.nameType && isRelatedTo(getIndexType(target2), getConstraintTypeFromMappedType(source2), 3 /* Both */)) {\n          if (!(getMappedTypeModifiers(source2) & 4 /* IncludeOptional */)) {\n            const templateType = getTemplateTypeFromMappedType(source2);\n            const indexedAccessType = getIndexedAccessType(target2, getTypeParameterFromMappedType(source2));\n            if (result2 = isRelatedTo(templateType, indexedAccessType, 3 /* Both */, reportErrors2)) {\n              return result2;\n            }\n          }\n        }\n        if (relation === comparableRelation && sourceFlags & 262144 /* TypeParameter */) {\n          let constraint = getConstraintOfTypeParameter(source2);\n          if (constraint && hasNonCircularBaseConstraint(source2)) {\n            while (constraint && someType(constraint, (c) => !!(c.flags & 262144 /* TypeParameter */))) {\n              if (result2 = isRelatedTo(constraint, target2, 1 /* Source */, false)) {\n                return result2;\n              }\n              constraint = getConstraintOfTypeParameter(constraint);\n            }\n          }\n          return 0 /* False */;\n        }\n      } else if (targetFlags & 4194304 /* Index */) {\n        const targetType = target2.type;\n        if (sourceFlags & 4194304 /* Index */) {\n          if (result2 = isRelatedTo(targetType, source2.type, 3 /* Both */, false)) {\n            return result2;\n          }\n        }\n        if (isTupleType(targetType)) {\n          if (result2 = isRelatedTo(source2, getKnownKeysOfTupleType(targetType), 2 /* Target */, reportErrors2)) {\n            return result2;\n          }\n        } else {\n          const constraint = getSimplifiedTypeOrConstraint(targetType);\n          if (constraint) {\n            if (isRelatedTo(source2, getIndexType(constraint, target2.stringsOnly), 2 /* Target */, reportErrors2) === -1 /* True */) {\n              return -1 /* True */;\n            }\n          } else if (isGenericMappedType(targetType)) {\n            const nameType = getNameTypeFromMappedType(targetType);\n            const constraintType = getConstraintTypeFromMappedType(targetType);\n            let targetKeys;\n            if (nameType && isMappedTypeWithKeyofConstraintDeclaration(targetType)) {\n              const modifiersType = getApparentType(getModifiersTypeFromMappedType(targetType));\n              const mappedKeys = [];\n              forEachMappedTypePropertyKeyTypeAndIndexSignatureKeyType(\n                modifiersType,\n                8576 /* StringOrNumberLiteralOrUnique */,\n                false,\n                (t) => void mappedKeys.push(instantiateType(nameType, appendTypeMapping(targetType.mapper, getTypeParameterFromMappedType(targetType), t)))\n              );\n              targetKeys = getUnionType([...mappedKeys, nameType]);\n            } else {\n              targetKeys = nameType || constraintType;\n            }\n            if (isRelatedTo(source2, targetKeys, 2 /* Target */, reportErrors2) === -1 /* True */) {\n              return -1 /* True */;\n            }\n          }\n        }\n      } else if (targetFlags & 8388608 /* IndexedAccess */) {\n        if (sourceFlags & 8388608 /* IndexedAccess */) {\n          if (result2 = isRelatedTo(source2.objectType, target2.objectType, 3 /* Both */, reportErrors2)) {\n            result2 &= isRelatedTo(source2.indexType, target2.indexType, 3 /* Both */, reportErrors2);\n          }\n          if (result2) {\n            return result2;\n          }\n          if (reportErrors2) {\n            originalErrorInfo = errorInfo;\n          }\n        }\n        if (relation === assignableRelation || relation === comparableRelation) {\n          const objectType = target2.objectType;\n          const indexType = target2.indexType;\n          const baseObjectType = getBaseConstraintOfType(objectType) || objectType;\n          const baseIndexType = getBaseConstraintOfType(indexType) || indexType;\n          if (!isGenericObjectType(baseObjectType) && !isGenericIndexType(baseIndexType)) {\n            const accessFlags = 4 /* Writing */ | (baseObjectType !== objectType ? 2 /* NoIndexSignatures */ : 0);\n            const constraint = getIndexedAccessTypeOrUndefined(baseObjectType, baseIndexType, accessFlags);\n            if (constraint) {\n              if (reportErrors2 && originalErrorInfo) {\n                resetErrorInfo(saveErrorInfo);\n              }\n              if (result2 = isRelatedTo(source2, constraint, 2 /* Target */, reportErrors2, void 0, intersectionState)) {\n                return result2;\n              }\n              if (reportErrors2 && originalErrorInfo && errorInfo) {\n                errorInfo = countMessageChainBreadth([originalErrorInfo]) <= countMessageChainBreadth([errorInfo]) ? originalErrorInfo : errorInfo;\n              }\n            }\n          }\n        }\n        if (reportErrors2) {\n          originalErrorInfo = void 0;\n        }\n      } else if (isGenericMappedType(target2) && relation !== identityRelation) {\n        const keysRemapped = !!target2.declaration.nameType;\n        const templateType = getTemplateTypeFromMappedType(target2);\n        const modifiers = getMappedTypeModifiers(target2);\n        if (!(modifiers & 8 /* ExcludeOptional */)) {\n          if (!keysRemapped && templateType.flags & 8388608 /* IndexedAccess */ && templateType.objectType === source2 && templateType.indexType === getTypeParameterFromMappedType(target2)) {\n            return -1 /* True */;\n          }\n          if (!isGenericMappedType(source2)) {\n            const targetKeys = keysRemapped ? getNameTypeFromMappedType(target2) : getConstraintTypeFromMappedType(target2);\n            const sourceKeys = getIndexType(source2, void 0, true);\n            const includeOptional = modifiers & 4 /* IncludeOptional */;\n            const filteredByApplicability = includeOptional ? intersectTypes(targetKeys, sourceKeys) : void 0;\n            if (includeOptional ? !(filteredByApplicability.flags & 131072 /* Never */) : isRelatedTo(targetKeys, sourceKeys, 3 /* Both */)) {\n              const templateType2 = getTemplateTypeFromMappedType(target2);\n              const typeParameter = getTypeParameterFromMappedType(target2);\n              const nonNullComponent = extractTypesOfKind(templateType2, ~98304 /* Nullable */);\n              if (!keysRemapped && nonNullComponent.flags & 8388608 /* IndexedAccess */ && nonNullComponent.indexType === typeParameter) {\n                if (result2 = isRelatedTo(source2, nonNullComponent.objectType, 2 /* Target */, reportErrors2)) {\n                  return result2;\n                }\n              } else {\n                const indexingType = keysRemapped ? filteredByApplicability || targetKeys : filteredByApplicability ? getIntersectionType([filteredByApplicability, typeParameter]) : typeParameter;\n                const indexedAccessType = getIndexedAccessType(source2, indexingType);\n                if (result2 = isRelatedTo(indexedAccessType, templateType2, 3 /* Both */, reportErrors2)) {\n                  return result2;\n                }\n              }\n            }\n            originalErrorInfo = errorInfo;\n            resetErrorInfo(saveErrorInfo);\n          }\n        }\n      } else if (targetFlags & 16777216 /* Conditional */) {\n        if (isDeeplyNestedType(target2, targetStack, targetDepth, 10)) {\n          return 3 /* Maybe */;\n        }\n        const c = target2;\n        if (!c.root.inferTypeParameters && !isDistributionDependent(c.root)) {\n          const skipTrue = !isTypeAssignableTo(getPermissiveInstantiation(c.checkType), getPermissiveInstantiation(c.extendsType));\n          const skipFalse = !skipTrue && isTypeAssignableTo(getRestrictiveInstantiation(c.checkType), getRestrictiveInstantiation(c.extendsType));\n          if (result2 = skipTrue ? -1 /* True */ : isRelatedTo(source2, getTrueTypeFromConditionalType(c), 2 /* Target */, false, void 0, intersectionState)) {\n            result2 &= skipFalse ? -1 /* True */ : isRelatedTo(source2, getFalseTypeFromConditionalType(c), 2 /* Target */, false, void 0, intersectionState);\n            if (result2) {\n              return result2;\n            }\n          }\n        }\n      } else if (targetFlags & 134217728 /* TemplateLiteral */) {\n        if (sourceFlags & 134217728 /* TemplateLiteral */) {\n          if (relation === comparableRelation) {\n            return templateLiteralTypesDefinitelyUnrelated(source2, target2) ? 0 /* False */ : -1 /* True */;\n          }\n          instantiateType(source2, reportUnreliableMapper);\n        }\n        if (isTypeMatchedByTemplateLiteralType(source2, target2)) {\n          return -1 /* True */;\n        }\n      } else if (target2.flags & 268435456 /* StringMapping */) {\n        if (!(source2.flags & 268435456 /* StringMapping */)) {\n          if (isMemberOfStringMapping(source2, target2)) {\n            return -1 /* True */;\n          }\n        }\n      }\n      if (sourceFlags & 8650752 /* TypeVariable */) {\n        if (!(sourceFlags & 8388608 /* IndexedAccess */ && targetFlags & 8388608 /* IndexedAccess */)) {\n          const constraint = getConstraintOfType(source2) || unknownType;\n          if (result2 = isRelatedTo(constraint, target2, 1 /* Source */, false, void 0, intersectionState)) {\n            return result2;\n          } else if (result2 = isRelatedTo(getTypeWithThisArgument(constraint, source2), target2, 1 /* Source */, reportErrors2 && constraint !== unknownType && !(targetFlags & sourceFlags & 262144 /* TypeParameter */), void 0, intersectionState)) {\n            return result2;\n          }\n          if (isMappedTypeGenericIndexedAccess(source2)) {\n            const indexConstraint = getConstraintOfType(source2.indexType);\n            if (indexConstraint) {\n              if (result2 = isRelatedTo(getIndexedAccessType(source2.objectType, indexConstraint), target2, 1 /* Source */, reportErrors2)) {\n                return result2;\n              }\n            }\n          }\n        }\n      } else if (sourceFlags & 4194304 /* Index */) {\n        if (result2 = isRelatedTo(keyofConstraintType, target2, 1 /* Source */, reportErrors2)) {\n          return result2;\n        }\n      } else if (sourceFlags & 134217728 /* TemplateLiteral */ && !(targetFlags & 524288 /* Object */)) {\n        if (!(targetFlags & 134217728 /* TemplateLiteral */)) {\n          const constraint = getBaseConstraintOfType(source2);\n          if (constraint && constraint !== source2 && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) {\n            return result2;\n          }\n        }\n      } else if (sourceFlags & 268435456 /* StringMapping */) {\n        if (targetFlags & 268435456 /* StringMapping */) {\n          if (source2.symbol !== target2.symbol) {\n            return 0 /* False */;\n          }\n          if (result2 = isRelatedTo(source2.type, target2.type, 3 /* Both */, reportErrors2)) {\n            return result2;\n          }\n        } else {\n          const constraint = getBaseConstraintOfType(source2);\n          if (constraint && (result2 = isRelatedTo(constraint, target2, 1 /* Source */, reportErrors2))) {\n            return result2;\n          }\n        }\n      } else if (sourceFlags & 16777216 /* Conditional */) {\n        if (isDeeplyNestedType(source2, sourceStack, sourceDepth, 10)) {\n          return 3 /* Maybe */;\n        }\n        if (targetFlags & 16777216 /* Conditional */) {\n          const sourceParams = source2.root.inferTypeParameters;\n          let sourceExtends = source2.extendsType;\n          let mapper;\n          if (sourceParams) {\n            const ctx = createInferenceContext(sourceParams, void 0, 0 /* None */, isRelatedToWorker);\n            inferTypes(ctx.inferences, target2.extendsType, sourceExtends, 512 /* NoConstraints */ | 1024 /* AlwaysStrict */);\n            sourceExtends = instantiateType(sourceExtends, ctx.mapper);\n            mapper = ctx.mapper;\n          }\n          if (isTypeIdenticalTo(sourceExtends, target2.extendsType) && (isRelatedTo(source2.checkType, target2.checkType, 3 /* Both */) || isRelatedTo(target2.checkType, source2.checkType, 3 /* Both */))) {\n            if (result2 = isRelatedTo(instantiateType(getTrueTypeFromConditionalType(source2), mapper), getTrueTypeFromConditionalType(target2), 3 /* Both */, reportErrors2)) {\n              result2 &= isRelatedTo(getFalseTypeFromConditionalType(source2), getFalseTypeFromConditionalType(target2), 3 /* Both */, reportErrors2);\n            }\n            if (result2) {\n              return result2;\n            }\n          }\n        } else {\n          const distributiveConstraint = hasNonCircularBaseConstraint(source2) ? getConstraintOfDistributiveConditionalType(source2) : void 0;\n          if (distributiveConstraint) {\n            if (result2 = isRelatedTo(distributiveConstraint, target2, 1 /* Source */, reportErrors2)) {\n              return result2;\n            }\n          }\n        }\n        const defaultConstraint = getDefaultConstraintOfConditionalType(source2);\n        if (defaultConstraint) {\n          if (result2 = isRelatedTo(defaultConstraint, target2, 1 /* Source */, reportErrors2)) {\n            return result2;\n          }\n        }\n      } else {\n        if (relation !== subtypeRelation && relation !== strictSubtypeRelation && isPartialMappedType(target2) && isEmptyObjectType(source2)) {\n          return -1 /* True */;\n        }\n        if (isGenericMappedType(target2)) {\n          if (isGenericMappedType(source2)) {\n            if (result2 = mappedTypeRelatedTo(source2, target2, reportErrors2)) {\n              return result2;\n            }\n          }\n          return 0 /* False */;\n        }\n        const sourceIsPrimitive = !!(sourceFlags & 131068 /* Primitive */);\n        if (relation !== identityRelation) {\n          source2 = getApparentType(source2);\n          sourceFlags = source2.flags;\n        } else if (isGenericMappedType(source2)) {\n          return 0 /* False */;\n        }\n        if (getObjectFlags(source2) & 4 /* Reference */ && getObjectFlags(target2) & 4 /* Reference */ && source2.target === target2.target && !isTupleType(source2) && !(isMarkerType(source2) || isMarkerType(target2))) {\n          if (isEmptyArrayLiteralType(source2)) {\n            return -1 /* True */;\n          }\n          const variances = getVariances(source2.target);\n          if (variances === emptyArray) {\n            return 1 /* Unknown */;\n          }\n          const varianceResult = relateVariances(getTypeArguments(source2), getTypeArguments(target2), variances, intersectionState);\n          if (varianceResult !== void 0) {\n            return varianceResult;\n          }\n        } else if (isReadonlyArrayType2(target2) ? isArrayOrTupleType(source2) : isArrayType(target2) && isTupleType(source2) && !source2.target.readonly) {\n          if (relation !== identityRelation) {\n            return isRelatedTo(getIndexTypeOfType(source2, numberType) || anyType, getIndexTypeOfType(target2, numberType) || anyType, 3 /* Both */, reportErrors2);\n          } else {\n            return 0 /* False */;\n          }\n        } else if ((relation === subtypeRelation || relation === strictSubtypeRelation) && isEmptyObjectType(target2) && getObjectFlags(target2) & 8192 /* FreshLiteral */ && !isEmptyObjectType(source2)) {\n          return 0 /* False */;\n        }\n        if (sourceFlags & (524288 /* Object */ | 2097152 /* Intersection */) && targetFlags & 524288 /* Object */) {\n          const reportStructuralErrors = reportErrors2 && errorInfo === saveErrorInfo.errorInfo && !sourceIsPrimitive;\n          result2 = propertiesRelatedTo(source2, target2, reportStructuralErrors, void 0, intersectionState);\n          if (result2) {\n            result2 &= signaturesRelatedTo(source2, target2, 0 /* Call */, reportStructuralErrors);\n            if (result2) {\n              result2 &= signaturesRelatedTo(source2, target2, 1 /* Construct */, reportStructuralErrors);\n              if (result2) {\n                result2 &= indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportStructuralErrors, intersectionState);\n              }\n            }\n          }\n          if (varianceCheckFailed && result2) {\n            errorInfo = originalErrorInfo || errorInfo || saveErrorInfo.errorInfo;\n          } else if (result2) {\n            return result2;\n          }\n        }\n        if (sourceFlags & (524288 /* Object */ | 2097152 /* Intersection */) && targetFlags & 1048576 /* Union */) {\n          const objectOnlyTarget = extractTypesOfKind(target2, 524288 /* Object */ | 2097152 /* Intersection */ | 33554432 /* Substitution */);\n          if (objectOnlyTarget.flags & 1048576 /* Union */) {\n            const result3 = typeRelatedToDiscriminatedType(source2, objectOnlyTarget);\n            if (result3) {\n              return result3;\n            }\n          }\n        }\n      }\n      return 0 /* False */;\n      function countMessageChainBreadth(info) {\n        if (!info)\n          return 0;\n        return reduceLeft(info, (value, chain) => value + 1 + countMessageChainBreadth(chain.next), 0);\n      }\n      function relateVariances(sourceTypeArguments, targetTypeArguments, variances, intersectionState2) {\n        if (result2 = typeArgumentsRelatedTo(sourceTypeArguments, targetTypeArguments, variances, reportErrors2, intersectionState2)) {\n          return result2;\n        }\n        if (some(variances, (v) => !!(v & 24 /* AllowsStructuralFallback */))) {\n          originalErrorInfo = void 0;\n          resetErrorInfo(saveErrorInfo);\n          return void 0;\n        }\n        const allowStructuralFallback = targetTypeArguments && hasCovariantVoidArgument(targetTypeArguments, variances);\n        varianceCheckFailed = !allowStructuralFallback;\n        if (variances !== emptyArray && !allowStructuralFallback) {\n          if (varianceCheckFailed && !(reportErrors2 && some(variances, (v) => (v & 7 /* VarianceMask */) === 0 /* Invariant */))) {\n            return 0 /* False */;\n          }\n          originalErrorInfo = errorInfo;\n          resetErrorInfo(saveErrorInfo);\n        }\n      }\n    }\n    function mappedTypeRelatedTo(source2, target2, reportErrors2) {\n      const modifiersRelated = relation === comparableRelation || (relation === identityRelation ? getMappedTypeModifiers(source2) === getMappedTypeModifiers(target2) : getCombinedMappedTypeOptionality(source2) <= getCombinedMappedTypeOptionality(target2));\n      if (modifiersRelated) {\n        let result2;\n        const targetConstraint = getConstraintTypeFromMappedType(target2);\n        const sourceConstraint = instantiateType(getConstraintTypeFromMappedType(source2), getCombinedMappedTypeOptionality(source2) < 0 ? reportUnmeasurableMapper : reportUnreliableMapper);\n        if (result2 = isRelatedTo(targetConstraint, sourceConstraint, 3 /* Both */, reportErrors2)) {\n          const mapper = createTypeMapper([getTypeParameterFromMappedType(source2)], [getTypeParameterFromMappedType(target2)]);\n          if (instantiateType(getNameTypeFromMappedType(source2), mapper) === instantiateType(getNameTypeFromMappedType(target2), mapper)) {\n            return result2 & isRelatedTo(instantiateType(getTemplateTypeFromMappedType(source2), mapper), getTemplateTypeFromMappedType(target2), 3 /* Both */, reportErrors2);\n          }\n        }\n      }\n      return 0 /* False */;\n    }\n    function typeRelatedToDiscriminatedType(source2, target2) {\n      var _a3;\n      const sourceProperties = getPropertiesOfType(source2);\n      const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target2);\n      if (!sourcePropertiesFiltered)\n        return 0 /* False */;\n      let numCombinations = 1;\n      for (const sourceProperty of sourcePropertiesFiltered) {\n        numCombinations *= countTypes(getNonMissingTypeOfSymbol(sourceProperty));\n        if (numCombinations > 25) {\n          (_a3 = tracing) == null ? void 0 : _a3.instant(tracing.Phase.CheckTypes, \"typeRelatedToDiscriminatedType_DepthLimit\", { sourceId: source2.id, targetId: target2.id, numCombinations });\n          return 0 /* False */;\n        }\n      }\n      const sourceDiscriminantTypes = new Array(sourcePropertiesFiltered.length);\n      const excludedProperties = new Set2();\n      for (let i = 0; i < sourcePropertiesFiltered.length; i++) {\n        const sourceProperty = sourcePropertiesFiltered[i];\n        const sourcePropertyType = getNonMissingTypeOfSymbol(sourceProperty);\n        sourceDiscriminantTypes[i] = sourcePropertyType.flags & 1048576 /* Union */ ? sourcePropertyType.types : [sourcePropertyType];\n        excludedProperties.add(sourceProperty.escapedName);\n      }\n      const discriminantCombinations = cartesianProduct(sourceDiscriminantTypes);\n      const matchingTypes = [];\n      for (const combination of discriminantCombinations) {\n        let hasMatch = false;\n        outer:\n          for (const type of target2.types) {\n            for (let i = 0; i < sourcePropertiesFiltered.length; i++) {\n              const sourceProperty = sourcePropertiesFiltered[i];\n              const targetProperty = getPropertyOfType(type, sourceProperty.escapedName);\n              if (!targetProperty)\n                continue outer;\n              if (sourceProperty === targetProperty)\n                continue;\n              const related = propertyRelatedTo(source2, target2, sourceProperty, targetProperty, (_) => combination[i], false, 0 /* None */, strictNullChecks || relation === comparableRelation);\n              if (!related) {\n                continue outer;\n              }\n            }\n            pushIfUnique(matchingTypes, type, equateValues);\n            hasMatch = true;\n          }\n        if (!hasMatch) {\n          return 0 /* False */;\n        }\n      }\n      let result2 = -1 /* True */;\n      for (const type of matchingTypes) {\n        result2 &= propertiesRelatedTo(source2, type, false, excludedProperties, 0 /* None */);\n        if (result2) {\n          result2 &= signaturesRelatedTo(source2, type, 0 /* Call */, false);\n          if (result2) {\n            result2 &= signaturesRelatedTo(source2, type, 1 /* Construct */, false);\n            if (result2 && !(isTupleType(source2) && isTupleType(type))) {\n              result2 &= indexSignaturesRelatedTo(source2, type, false, false, 0 /* None */);\n            }\n          }\n        }\n        if (!result2) {\n          return result2;\n        }\n      }\n      return result2;\n    }\n    function excludeProperties(properties, excludedProperties) {\n      if (!excludedProperties || properties.length === 0)\n        return properties;\n      let result2;\n      for (let i = 0; i < properties.length; i++) {\n        if (!excludedProperties.has(properties[i].escapedName)) {\n          if (result2) {\n            result2.push(properties[i]);\n          }\n        } else if (!result2) {\n          result2 = properties.slice(0, i);\n        }\n      }\n      return result2 || properties;\n    }\n    function isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState) {\n      const targetIsOptional = strictNullChecks && !!(getCheckFlags(targetProp) & 48 /* Partial */);\n      const effectiveTarget = addOptionality(getNonMissingTypeOfSymbol(targetProp), false, targetIsOptional);\n      const effectiveSource = getTypeOfSourceProperty(sourceProp);\n      return isRelatedTo(effectiveSource, effectiveTarget, 3 /* Both */, reportErrors2, void 0, intersectionState);\n    }\n    function propertyRelatedTo(source2, target2, sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState, skipOptional) {\n      const sourcePropFlags = getDeclarationModifierFlagsFromSymbol(sourceProp);\n      const targetPropFlags = getDeclarationModifierFlagsFromSymbol(targetProp);\n      if (sourcePropFlags & 8 /* Private */ || targetPropFlags & 8 /* Private */) {\n        if (sourceProp.valueDeclaration !== targetProp.valueDeclaration) {\n          if (reportErrors2) {\n            if (sourcePropFlags & 8 /* Private */ && targetPropFlags & 8 /* Private */) {\n              reportError(Diagnostics.Types_have_separate_declarations_of_a_private_property_0, symbolToString(targetProp));\n            } else {\n              reportError(\n                Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,\n                symbolToString(targetProp),\n                typeToString(sourcePropFlags & 8 /* Private */ ? source2 : target2),\n                typeToString(sourcePropFlags & 8 /* Private */ ? target2 : source2)\n              );\n            }\n          }\n          return 0 /* False */;\n        }\n      } else if (targetPropFlags & 16 /* Protected */) {\n        if (!isValidOverrideOf(sourceProp, targetProp)) {\n          if (reportErrors2) {\n            reportError(\n              Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,\n              symbolToString(targetProp),\n              typeToString(getDeclaringClass(sourceProp) || source2),\n              typeToString(getDeclaringClass(targetProp) || target2)\n            );\n          }\n          return 0 /* False */;\n        }\n      } else if (sourcePropFlags & 16 /* Protected */) {\n        if (reportErrors2) {\n          reportError(\n            Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,\n            symbolToString(targetProp),\n            typeToString(source2),\n            typeToString(target2)\n          );\n        }\n        return 0 /* False */;\n      }\n      if (relation === strictSubtypeRelation && isReadonlySymbol(sourceProp) && !isReadonlySymbol(targetProp)) {\n        return 0 /* False */;\n      }\n      const related = isPropertySymbolTypeRelated(sourceProp, targetProp, getTypeOfSourceProperty, reportErrors2, intersectionState);\n      if (!related) {\n        if (reportErrors2) {\n          reportIncompatibleError(Diagnostics.Types_of_property_0_are_incompatible, symbolToString(targetProp));\n        }\n        return 0 /* False */;\n      }\n      if (!skipOptional && sourceProp.flags & 16777216 /* Optional */ && targetProp.flags & 106500 /* ClassMember */ && !(targetProp.flags & 16777216 /* Optional */)) {\n        if (reportErrors2) {\n          reportError(\n            Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,\n            symbolToString(targetProp),\n            typeToString(source2),\n            typeToString(target2)\n          );\n        }\n        return 0 /* False */;\n      }\n      return related;\n    }\n    function reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties) {\n      let shouldSkipElaboration = false;\n      if (unmatchedProperty.valueDeclaration && isNamedDeclaration(unmatchedProperty.valueDeclaration) && isPrivateIdentifier(unmatchedProperty.valueDeclaration.name) && source2.symbol && source2.symbol.flags & 32 /* Class */) {\n        const privateIdentifierDescription = unmatchedProperty.valueDeclaration.name.escapedText;\n        const symbolTableKey = getSymbolNameForPrivateIdentifier(source2.symbol, privateIdentifierDescription);\n        if (symbolTableKey && getPropertyOfType(source2, symbolTableKey)) {\n          const sourceName = factory.getDeclarationName(source2.symbol.valueDeclaration);\n          const targetName = factory.getDeclarationName(target2.symbol.valueDeclaration);\n          reportError(\n            Diagnostics.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,\n            diagnosticName(privateIdentifierDescription),\n            diagnosticName(sourceName.escapedText === \"\" ? anon : sourceName),\n            diagnosticName(targetName.escapedText === \"\" ? anon : targetName)\n          );\n          return;\n        }\n      }\n      const props = arrayFrom(getUnmatchedProperties(source2, target2, requireOptionalProperties, false));\n      if (!headMessage || headMessage.code !== Diagnostics.Class_0_incorrectly_implements_interface_1.code && headMessage.code !== Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code) {\n        shouldSkipElaboration = true;\n      }\n      if (props.length === 1) {\n        const propName = symbolToString(unmatchedProperty, void 0, 0 /* None */, 4 /* AllowAnyNodeKind */ | 16 /* WriteComputedProps */);\n        reportError(Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2, propName, ...getTypeNamesForErrorDisplay(source2, target2));\n        if (length(unmatchedProperty.declarations)) {\n          associateRelatedInfo(createDiagnosticForNode(unmatchedProperty.declarations[0], Diagnostics._0_is_declared_here, propName));\n        }\n        if (shouldSkipElaboration && errorInfo) {\n          overrideNextErrorInfo++;\n        }\n      } else if (tryElaborateArrayLikeErrors(source2, target2, false)) {\n        if (props.length > 5) {\n          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);\n        } else {\n          reportError(Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2, typeToString(source2), typeToString(target2), map(props, (p) => symbolToString(p)).join(\", \"));\n        }\n        if (shouldSkipElaboration && errorInfo) {\n          overrideNextErrorInfo++;\n        }\n      }\n    }\n    function propertiesRelatedTo(source2, target2, reportErrors2, excludedProperties, intersectionState) {\n      if (relation === identityRelation) {\n        return propertiesIdenticalTo(source2, target2, excludedProperties);\n      }\n      let result2 = -1 /* True */;\n      if (isTupleType(target2)) {\n        if (isArrayOrTupleType(source2)) {\n          if (!target2.target.readonly && (isReadonlyArrayType2(source2) || isTupleType(source2) && source2.target.readonly)) {\n            return 0 /* False */;\n          }\n          const sourceArity = getTypeReferenceArity(source2);\n          const targetArity = getTypeReferenceArity(target2);\n          const sourceRestFlag = isTupleType(source2) ? source2.target.combinedFlags & 4 /* Rest */ : 4 /* Rest */;\n          const targetRestFlag = target2.target.combinedFlags & 4 /* Rest */;\n          const sourceMinLength = isTupleType(source2) ? source2.target.minLength : 0;\n          const targetMinLength = target2.target.minLength;\n          if (!sourceRestFlag && sourceArity < targetMinLength) {\n            if (reportErrors2) {\n              reportError(Diagnostics.Source_has_0_element_s_but_target_requires_1, sourceArity, targetMinLength);\n            }\n            return 0 /* False */;\n          }\n          if (!targetRestFlag && targetArity < sourceMinLength) {\n            if (reportErrors2) {\n              reportError(Diagnostics.Source_has_0_element_s_but_target_allows_only_1, sourceMinLength, targetArity);\n            }\n            return 0 /* False */;\n          }\n          if (!targetRestFlag && (sourceRestFlag || targetArity < sourceArity)) {\n            if (reportErrors2) {\n              if (sourceMinLength < targetMinLength) {\n                reportError(Diagnostics.Target_requires_0_element_s_but_source_may_have_fewer, targetMinLength);\n              } else {\n                reportError(Diagnostics.Target_allows_only_0_element_s_but_source_may_have_more, targetArity);\n              }\n            }\n            return 0 /* False */;\n          }\n          const sourceTypeArguments = getTypeArguments(source2);\n          const targetTypeArguments = getTypeArguments(target2);\n          const startCount = Math.min(isTupleType(source2) ? getStartElementCount(source2.target, 11 /* NonRest */) : 0, getStartElementCount(target2.target, 11 /* NonRest */));\n          const endCount = Math.min(isTupleType(source2) ? getEndElementCount(source2.target, 11 /* NonRest */) : 0, targetRestFlag ? getEndElementCount(target2.target, 11 /* NonRest */) : 0);\n          let canExcludeDiscriminants = !!excludedProperties;\n          for (let i = 0; i < targetArity; i++) {\n            const sourceIndex = i < targetArity - endCount ? i : i + sourceArity - targetArity;\n            const sourceFlags = isTupleType(source2) && (i < startCount || i >= targetArity - endCount) ? source2.target.elementFlags[sourceIndex] : 4 /* Rest */;\n            const targetFlags = target2.target.elementFlags[i];\n            if (targetFlags & 8 /* Variadic */ && !(sourceFlags & 8 /* Variadic */)) {\n              if (reportErrors2) {\n                reportError(Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target, i);\n              }\n              return 0 /* False */;\n            }\n            if (sourceFlags & 8 /* Variadic */ && !(targetFlags & 12 /* Variable */)) {\n              if (reportErrors2) {\n                reportError(Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target, sourceIndex, i);\n              }\n              return 0 /* False */;\n            }\n            if (targetFlags & 1 /* Required */ && !(sourceFlags & 1 /* Required */)) {\n              if (reportErrors2) {\n                reportError(Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target, i);\n              }\n              return 0 /* False */;\n            }\n            if (canExcludeDiscriminants) {\n              if (sourceFlags & 12 /* Variable */ || targetFlags & 12 /* Variable */) {\n                canExcludeDiscriminants = false;\n              }\n              if (canExcludeDiscriminants && (excludedProperties == null ? void 0 : excludedProperties.has(\"\" + i))) {\n                continue;\n              }\n            }\n            const sourceType = !isTupleType(source2) ? sourceTypeArguments[0] : i < startCount || i >= targetArity - endCount ? removeMissingType(sourceTypeArguments[sourceIndex], !!(sourceFlags & targetFlags & 2 /* Optional */)) : getElementTypeOfSliceOfTupleType(source2, startCount, endCount) || neverType;\n            const targetType = targetTypeArguments[i];\n            const targetCheckType = sourceFlags & 8 /* Variadic */ && targetFlags & 4 /* Rest */ ? createArrayType(targetType) : removeMissingType(targetType, !!(targetFlags & 2 /* Optional */));\n            const related = isRelatedTo(sourceType, targetCheckType, 3 /* Both */, reportErrors2, void 0, intersectionState);\n            if (!related) {\n              if (reportErrors2 && (targetArity > 1 || sourceArity > 1)) {\n                if (i < startCount || i >= targetArity - endCount || sourceArity - startCount - endCount === 1) {\n                  reportIncompatibleError(Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target, sourceIndex, i);\n                } else {\n                  reportIncompatibleError(Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target, startCount, sourceArity - endCount - 1, i);\n                }\n              }\n              return 0 /* False */;\n            }\n            result2 &= related;\n          }\n          return result2;\n        }\n        if (target2.target.combinedFlags & 12 /* Variable */) {\n          return 0 /* False */;\n        }\n      }\n      const requireOptionalProperties = (relation === subtypeRelation || relation === strictSubtypeRelation) && !isObjectLiteralType4(source2) && !isEmptyArrayLiteralType(source2) && !isTupleType(source2);\n      const unmatchedProperty = getUnmatchedProperty(source2, target2, requireOptionalProperties, false);\n      if (unmatchedProperty) {\n        if (reportErrors2 && shouldReportUnmatchedPropertyError(source2, target2)) {\n          reportUnmatchedProperty(source2, target2, unmatchedProperty, requireOptionalProperties);\n        }\n        return 0 /* False */;\n      }\n      if (isObjectLiteralType4(target2)) {\n        for (const sourceProp of excludeProperties(getPropertiesOfType(source2), excludedProperties)) {\n          if (!getPropertyOfObjectType(target2, sourceProp.escapedName)) {\n            const sourceType = getTypeOfSymbol(sourceProp);\n            if (!(sourceType.flags & 32768 /* Undefined */)) {\n              if (reportErrors2) {\n                reportError(Diagnostics.Property_0_does_not_exist_on_type_1, symbolToString(sourceProp), typeToString(target2));\n              }\n              return 0 /* False */;\n            }\n          }\n        }\n      }\n      const properties = getPropertiesOfType(target2);\n      const numericNamesOnly = isTupleType(source2) && isTupleType(target2);\n      for (const targetProp of excludeProperties(properties, excludedProperties)) {\n        const name = targetProp.escapedName;\n        if (!(targetProp.flags & 4194304 /* Prototype */) && (!numericNamesOnly || isNumericLiteralName(name) || name === \"length\")) {\n          const sourceProp = getPropertyOfType(source2, name);\n          if (sourceProp && sourceProp !== targetProp) {\n            const related = propertyRelatedTo(source2, target2, sourceProp, targetProp, getNonMissingTypeOfSymbol, reportErrors2, intersectionState, relation === comparableRelation);\n            if (!related) {\n              return 0 /* False */;\n            }\n            result2 &= related;\n          }\n        }\n      }\n      return result2;\n    }\n    function propertiesIdenticalTo(source2, target2, excludedProperties) {\n      if (!(source2.flags & 524288 /* Object */ && target2.flags & 524288 /* Object */)) {\n        return 0 /* False */;\n      }\n      const sourceProperties = excludeProperties(getPropertiesOfObjectType(source2), excludedProperties);\n      const targetProperties = excludeProperties(getPropertiesOfObjectType(target2), excludedProperties);\n      if (sourceProperties.length !== targetProperties.length) {\n        return 0 /* False */;\n      }\n      let result2 = -1 /* True */;\n      for (const sourceProp of sourceProperties) {\n        const targetProp = getPropertyOfObjectType(target2, sourceProp.escapedName);\n        if (!targetProp) {\n          return 0 /* False */;\n        }\n        const related = compareProperties2(sourceProp, targetProp, isRelatedTo);\n        if (!related) {\n          return 0 /* False */;\n        }\n        result2 &= related;\n      }\n      return result2;\n    }\n    function signaturesRelatedTo(source2, target2, kind, reportErrors2) {\n      var _a3, _b;\n      if (relation === identityRelation) {\n        return signaturesIdenticalTo(source2, target2, kind);\n      }\n      if (target2 === anyFunctionType || source2 === anyFunctionType) {\n        return -1 /* True */;\n      }\n      const sourceIsJSConstructor = source2.symbol && isJSConstructor(source2.symbol.valueDeclaration);\n      const targetIsJSConstructor = target2.symbol && isJSConstructor(target2.symbol.valueDeclaration);\n      const sourceSignatures = getSignaturesOfType(source2, sourceIsJSConstructor && kind === 1 /* Construct */ ? 0 /* Call */ : kind);\n      const targetSignatures = getSignaturesOfType(target2, targetIsJSConstructor && kind === 1 /* Construct */ ? 0 /* Call */ : kind);\n      if (kind === 1 /* Construct */ && sourceSignatures.length && targetSignatures.length) {\n        const sourceIsAbstract = !!(sourceSignatures[0].flags & 4 /* Abstract */);\n        const targetIsAbstract = !!(targetSignatures[0].flags & 4 /* Abstract */);\n        if (sourceIsAbstract && !targetIsAbstract) {\n          if (reportErrors2) {\n            reportError(Diagnostics.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type);\n          }\n          return 0 /* False */;\n        }\n        if (!constructorVisibilitiesAreCompatible(sourceSignatures[0], targetSignatures[0], reportErrors2)) {\n          return 0 /* False */;\n        }\n      }\n      let result2 = -1 /* True */;\n      const incompatibleReporter = kind === 1 /* Construct */ ? reportIncompatibleConstructSignatureReturn : reportIncompatibleCallSignatureReturn;\n      const sourceObjectFlags = getObjectFlags(source2);\n      const targetObjectFlags = getObjectFlags(target2);\n      if (sourceObjectFlags & 64 /* Instantiated */ && targetObjectFlags & 64 /* Instantiated */ && source2.symbol === target2.symbol || sourceObjectFlags & 4 /* Reference */ && targetObjectFlags & 4 /* Reference */ && source2.target === target2.target) {\n        for (let i = 0; i < targetSignatures.length; i++) {\n          const related = signatureRelatedTo(sourceSignatures[i], targetSignatures[i], true, reportErrors2, incompatibleReporter(sourceSignatures[i], targetSignatures[i]));\n          if (!related) {\n            return 0 /* False */;\n          }\n          result2 &= related;\n        }\n      } else if (sourceSignatures.length === 1 && targetSignatures.length === 1) {\n        const eraseGenerics = relation === comparableRelation || !!compilerOptions.noStrictGenericChecks;\n        const sourceSignature = first(sourceSignatures);\n        const targetSignature = first(targetSignatures);\n        result2 = signatureRelatedTo(sourceSignature, targetSignature, eraseGenerics, reportErrors2, incompatibleReporter(sourceSignature, targetSignature));\n        if (!result2 && reportErrors2 && kind === 1 /* Construct */ && sourceObjectFlags & targetObjectFlags && (((_a3 = targetSignature.declaration) == null ? void 0 : _a3.kind) === 176 /* Constructor */ || ((_b = sourceSignature.declaration) == null ? void 0 : _b.kind) === 176 /* Constructor */)) {\n          const constructSignatureToString = (signature) => signatureToString(signature, void 0, 262144 /* WriteArrowStyleSignature */, kind);\n          reportError(Diagnostics.Type_0_is_not_assignable_to_type_1, constructSignatureToString(sourceSignature), constructSignatureToString(targetSignature));\n          reportError(Diagnostics.Types_of_construct_signatures_are_incompatible);\n          return result2;\n        }\n      } else {\n        outer:\n          for (const t of targetSignatures) {\n            const saveErrorInfo = captureErrorCalculationState();\n            let shouldElaborateErrors = reportErrors2;\n            for (const s of sourceSignatures) {\n              const related = signatureRelatedTo(s, t, true, shouldElaborateErrors, incompatibleReporter(s, t));\n              if (related) {\n                result2 &= related;\n                resetErrorInfo(saveErrorInfo);\n                continue outer;\n              }\n              shouldElaborateErrors = false;\n            }\n            if (shouldElaborateErrors) {\n              reportError(\n                Diagnostics.Type_0_provides_no_match_for_the_signature_1,\n                typeToString(source2),\n                signatureToString(t, void 0, void 0, kind)\n              );\n            }\n            return 0 /* False */;\n          }\n      }\n      return result2;\n    }\n    function shouldReportUnmatchedPropertyError(source2, target2) {\n      const typeCallSignatures = getSignaturesOfStructuredType(source2, 0 /* Call */);\n      const typeConstructSignatures = getSignaturesOfStructuredType(source2, 1 /* Construct */);\n      const typeProperties = getPropertiesOfObjectType(source2);\n      if ((typeCallSignatures.length || typeConstructSignatures.length) && !typeProperties.length) {\n        if (getSignaturesOfType(target2, 0 /* Call */).length && typeCallSignatures.length || getSignaturesOfType(target2, 1 /* Construct */).length && typeConstructSignatures.length) {\n          return true;\n        }\n        return false;\n      }\n      return true;\n    }\n    function reportIncompatibleCallSignatureReturn(siga, sigb) {\n      if (siga.parameters.length === 0 && sigb.parameters.length === 0) {\n        return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2));\n      }\n      return (source2, target2) => reportIncompatibleError(Diagnostics.Call_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2));\n    }\n    function reportIncompatibleConstructSignatureReturn(siga, sigb) {\n      if (siga.parameters.length === 0 && sigb.parameters.length === 0) {\n        return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1, typeToString(source2), typeToString(target2));\n      }\n      return (source2, target2) => reportIncompatibleError(Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible, typeToString(source2), typeToString(target2));\n    }\n    function signatureRelatedTo(source2, target2, erase, reportErrors2, incompatibleReporter) {\n      return compareSignaturesRelated(\n        erase ? getErasedSignature(source2) : source2,\n        erase ? getErasedSignature(target2) : target2,\n        relation === strictSubtypeRelation ? 8 /* StrictArity */ : 0,\n        reportErrors2,\n        reportError,\n        incompatibleReporter,\n        isRelatedToWorker,\n        reportUnreliableMapper\n      );\n    }\n    function signaturesIdenticalTo(source2, target2, kind) {\n      const sourceSignatures = getSignaturesOfType(source2, kind);\n      const targetSignatures = getSignaturesOfType(target2, kind);\n      if (sourceSignatures.length !== targetSignatures.length) {\n        return 0 /* False */;\n      }\n      let result2 = -1 /* True */;\n      for (let i = 0; i < sourceSignatures.length; i++) {\n        const related = compareSignaturesIdentical(sourceSignatures[i], targetSignatures[i], false, false, false, isRelatedTo);\n        if (!related) {\n          return 0 /* False */;\n        }\n        result2 &= related;\n      }\n      return result2;\n    }\n    function membersRelatedToIndexInfo(source2, targetInfo, reportErrors2) {\n      let result2 = -1 /* True */;\n      const keyType = targetInfo.keyType;\n      const props = source2.flags & 2097152 /* Intersection */ ? getPropertiesOfUnionOrIntersectionType(source2) : getPropertiesOfObjectType(source2);\n      for (const prop of props) {\n        if (isIgnoredJsxProperty(source2, prop)) {\n          continue;\n        }\n        if (isApplicableIndexType(getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */), keyType)) {\n          const propType = getNonMissingTypeOfSymbol(prop);\n          const type = exactOptionalPropertyTypes || propType.flags & 32768 /* Undefined */ || keyType === numberType || !(prop.flags & 16777216 /* Optional */) ? propType : getTypeWithFacts(propType, 524288 /* NEUndefined */);\n          const related = isRelatedTo(type, targetInfo.type, 3 /* Both */, reportErrors2);\n          if (!related) {\n            if (reportErrors2) {\n              reportError(Diagnostics.Property_0_is_incompatible_with_index_signature, symbolToString(prop));\n            }\n            return 0 /* False */;\n          }\n          result2 &= related;\n        }\n      }\n      for (const info of getIndexInfosOfType(source2)) {\n        if (isApplicableIndexType(info.keyType, keyType)) {\n          const related = indexInfoRelatedTo(info, targetInfo, reportErrors2);\n          if (!related) {\n            return 0 /* False */;\n          }\n          result2 &= related;\n        }\n      }\n      return result2;\n    }\n    function indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2) {\n      const related = isRelatedTo(sourceInfo.type, targetInfo.type, 3 /* Both */, reportErrors2);\n      if (!related && reportErrors2) {\n        if (sourceInfo.keyType === targetInfo.keyType) {\n          reportError(Diagnostics._0_index_signatures_are_incompatible, typeToString(sourceInfo.keyType));\n        } else {\n          reportError(Diagnostics._0_and_1_index_signatures_are_incompatible, typeToString(sourceInfo.keyType), typeToString(targetInfo.keyType));\n        }\n      }\n      return related;\n    }\n    function indexSignaturesRelatedTo(source2, target2, sourceIsPrimitive, reportErrors2, intersectionState) {\n      if (relation === identityRelation) {\n        return indexSignaturesIdenticalTo(source2, target2);\n      }\n      const indexInfos = getIndexInfosOfType(target2);\n      const targetHasStringIndex = some(indexInfos, (info) => info.keyType === stringType);\n      let result2 = -1 /* True */;\n      for (const targetInfo of indexInfos) {\n        const related = !sourceIsPrimitive && targetHasStringIndex && targetInfo.type.flags & 1 /* Any */ ? -1 /* True */ : isGenericMappedType(source2) && targetHasStringIndex ? isRelatedTo(getTemplateTypeFromMappedType(source2), targetInfo.type, 3 /* Both */, reportErrors2) : typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState);\n        if (!related) {\n          return 0 /* False */;\n        }\n        result2 &= related;\n      }\n      return result2;\n    }\n    function typeRelatedToIndexInfo(source2, targetInfo, reportErrors2, intersectionState) {\n      const sourceInfo = getApplicableIndexInfo(source2, targetInfo.keyType);\n      if (sourceInfo) {\n        return indexInfoRelatedTo(sourceInfo, targetInfo, reportErrors2);\n      }\n      if (!(intersectionState & 1 /* Source */) && isObjectTypeWithInferableIndex(source2)) {\n        return membersRelatedToIndexInfo(source2, targetInfo, reportErrors2);\n      }\n      if (reportErrors2) {\n        reportError(Diagnostics.Index_signature_for_type_0_is_missing_in_type_1, typeToString(targetInfo.keyType), typeToString(source2));\n      }\n      return 0 /* False */;\n    }\n    function indexSignaturesIdenticalTo(source2, target2) {\n      const sourceInfos = getIndexInfosOfType(source2);\n      const targetInfos = getIndexInfosOfType(target2);\n      if (sourceInfos.length !== targetInfos.length) {\n        return 0 /* False */;\n      }\n      for (const targetInfo of targetInfos) {\n        const sourceInfo = getIndexInfoOfType(source2, targetInfo.keyType);\n        if (!(sourceInfo && isRelatedTo(sourceInfo.type, targetInfo.type, 3 /* Both */) && sourceInfo.isReadonly === targetInfo.isReadonly)) {\n          return 0 /* False */;\n        }\n      }\n      return -1 /* True */;\n    }\n    function constructorVisibilitiesAreCompatible(sourceSignature, targetSignature, reportErrors2) {\n      if (!sourceSignature.declaration || !targetSignature.declaration) {\n        return true;\n      }\n      const sourceAccessibility = getSelectedEffectiveModifierFlags(sourceSignature.declaration, 24 /* NonPublicAccessibilityModifier */);\n      const targetAccessibility = getSelectedEffectiveModifierFlags(targetSignature.declaration, 24 /* NonPublicAccessibilityModifier */);\n      if (targetAccessibility === 8 /* Private */) {\n        return true;\n      }\n      if (targetAccessibility === 16 /* Protected */ && sourceAccessibility !== 8 /* Private */) {\n        return true;\n      }\n      if (targetAccessibility !== 16 /* Protected */ && !sourceAccessibility) {\n        return true;\n      }\n      if (reportErrors2) {\n        reportError(Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type, visibilityToString(sourceAccessibility), visibilityToString(targetAccessibility));\n      }\n      return false;\n    }\n  }\n  function typeCouldHaveTopLevelSingletonTypes(type) {\n    if (type.flags & 16 /* Boolean */) {\n      return false;\n    }\n    if (type.flags & 3145728 /* UnionOrIntersection */) {\n      return !!forEach(type.types, typeCouldHaveTopLevelSingletonTypes);\n    }\n    if (type.flags & 465829888 /* Instantiable */) {\n      const constraint = getConstraintOfType(type);\n      if (constraint && constraint !== type) {\n        return typeCouldHaveTopLevelSingletonTypes(constraint);\n      }\n    }\n    return isUnitType(type) || !!(type.flags & 134217728 /* TemplateLiteral */) || !!(type.flags & 268435456 /* StringMapping */);\n  }\n  function getExactOptionalUnassignableProperties(source, target) {\n    if (isTupleType(source) && isTupleType(target))\n      return emptyArray;\n    return getPropertiesOfType(target).filter((targetProp) => isExactOptionalPropertyMismatch(getTypeOfPropertyOfType(source, targetProp.escapedName), getTypeOfSymbol(targetProp)));\n  }\n  function isExactOptionalPropertyMismatch(source, target) {\n    return !!source && !!target && maybeTypeOfKind(source, 32768 /* Undefined */) && !!containsMissingType(target);\n  }\n  function getExactOptionalProperties(type) {\n    return getPropertiesOfType(type).filter((targetProp) => containsMissingType(getTypeOfSymbol(targetProp)));\n  }\n  function getBestMatchingType(source, target, isRelatedTo = compareTypesAssignable) {\n    return findMatchingDiscriminantType(source, target, isRelatedTo, true) || findMatchingTypeReferenceOrTypeAliasReference(source, target) || findBestTypeForObjectLiteral(source, target) || findBestTypeForInvokable(source, target) || findMostOverlappyType(source, target);\n  }\n  function discriminateTypeByDiscriminableItems(target, discriminators, related, defaultValue, skipPartial) {\n    const discriminable = target.types.map((_) => void 0);\n    for (const [getDiscriminatingType, propertyName] of discriminators) {\n      const targetProp = getUnionOrIntersectionProperty(target, propertyName);\n      if (skipPartial && targetProp && getCheckFlags(targetProp) & 16 /* ReadPartial */) {\n        continue;\n      }\n      let i = 0;\n      for (const type of target.types) {\n        const targetType = getTypeOfPropertyOfType(type, propertyName);\n        if (targetType && related(getDiscriminatingType(), targetType)) {\n          discriminable[i] = discriminable[i] === void 0 ? true : discriminable[i];\n        } else {\n          discriminable[i] = false;\n        }\n        i++;\n      }\n    }\n    const match = discriminable.indexOf(true);\n    if (match === -1) {\n      return defaultValue;\n    }\n    let nextMatch = discriminable.indexOf(true, match + 1);\n    while (nextMatch !== -1) {\n      if (!isTypeIdenticalTo(target.types[match], target.types[nextMatch])) {\n        return defaultValue;\n      }\n      nextMatch = discriminable.indexOf(true, nextMatch + 1);\n    }\n    return target.types[match];\n  }\n  function isWeakType(type) {\n    if (type.flags & 524288 /* Object */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      return resolved.callSignatures.length === 0 && resolved.constructSignatures.length === 0 && resolved.indexInfos.length === 0 && resolved.properties.length > 0 && every(resolved.properties, (p) => !!(p.flags & 16777216 /* Optional */));\n    }\n    if (type.flags & 2097152 /* Intersection */) {\n      return every(type.types, isWeakType);\n    }\n    return false;\n  }\n  function hasCommonProperties(source, target, isComparingJsxAttributes) {\n    for (const prop of getPropertiesOfType(source)) {\n      if (isKnownProperty(target, prop.escapedName, isComparingJsxAttributes)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function getVariances(type) {\n    return type === globalArrayType || type === globalReadonlyArrayType || type.objectFlags & 8 /* Tuple */ ? arrayVariances : getVariancesWorker(type.symbol, type.typeParameters);\n  }\n  function getAliasVariances(symbol) {\n    return getVariancesWorker(symbol, getSymbolLinks(symbol).typeParameters);\n  }\n  function getVariancesWorker(symbol, typeParameters = emptyArray) {\n    var _a2, _b;\n    const links = getSymbolLinks(symbol);\n    if (!links.variances) {\n      (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.CheckTypes, \"getVariancesWorker\", { arity: typeParameters.length, id: getTypeId(getDeclaredTypeOfSymbol(symbol)) });\n      PerformanceDotting.start(\"getVariancesWorker\");\n      links.variances = emptyArray;\n      const variances = [];\n      for (const tp of typeParameters) {\n        const modifiers = getVarianceModifiers(tp);\n        let variance = modifiers & 65536 /* Out */ ? modifiers & 32768 /* In */ ? 0 /* Invariant */ : 1 /* Covariant */ : modifiers & 32768 /* In */ ? 2 /* Contravariant */ : void 0;\n        if (variance === void 0) {\n          let unmeasurable = false;\n          let unreliable = false;\n          const oldHandler = outofbandVarianceMarkerHandler;\n          outofbandVarianceMarkerHandler = (onlyUnreliable) => onlyUnreliable ? unreliable = true : unmeasurable = true;\n          const typeWithSuper = createMarkerType(symbol, tp, markerSuperType);\n          const typeWithSub = createMarkerType(symbol, tp, markerSubType);\n          variance = (isTypeAssignableTo(typeWithSub, typeWithSuper) ? 1 /* Covariant */ : 0) | (isTypeAssignableTo(typeWithSuper, typeWithSub) ? 2 /* Contravariant */ : 0);\n          if (variance === 3 /* Bivariant */ && isTypeAssignableTo(createMarkerType(symbol, tp, markerOtherType), typeWithSuper)) {\n            variance = 4 /* Independent */;\n          }\n          outofbandVarianceMarkerHandler = oldHandler;\n          if (unmeasurable || unreliable) {\n            if (unmeasurable) {\n              variance |= 8 /* Unmeasurable */;\n            }\n            if (unreliable) {\n              variance |= 16 /* Unreliable */;\n            }\n          }\n        }\n        variances.push(variance);\n      }\n      links.variances = variances;\n      PerformanceDotting.stop(\"getVariancesWorker\");\n      (_b = tracing) == null ? void 0 : _b.pop({ variances: variances.map(Debug.formatVariance) });\n    }\n    return links.variances;\n  }\n  function createMarkerType(symbol, source, target) {\n    const mapper = makeUnaryTypeMapper(source, target);\n    const type = getDeclaredTypeOfSymbol(symbol);\n    if (isErrorType(type)) {\n      return type;\n    }\n    const result = symbol.flags & 524288 /* TypeAlias */ ? getTypeAliasInstantiation(symbol, instantiateTypes(getSymbolLinks(symbol).typeParameters, mapper)) : createTypeReference(type, instantiateTypes(type.typeParameters, mapper));\n    markerTypes.add(getTypeId(result));\n    return result;\n  }\n  function isMarkerType(type) {\n    return markerTypes.has(getTypeId(type));\n  }\n  function getVarianceModifiers(tp) {\n    var _a2, _b;\n    return (some((_a2 = tp.symbol) == null ? void 0 : _a2.declarations, (d) => hasSyntacticModifier(d, 32768 /* In */)) ? 32768 /* In */ : 0) | (some((_b = tp.symbol) == null ? void 0 : _b.declarations, (d) => hasSyntacticModifier(d, 65536 /* Out */)) ? 65536 /* Out */ : 0);\n  }\n  function hasCovariantVoidArgument(typeArguments, variances) {\n    for (let i = 0; i < variances.length; i++) {\n      if ((variances[i] & 7 /* VarianceMask */) === 1 /* Covariant */ && typeArguments[i].flags & 16384 /* Void */) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isUnconstrainedTypeParameter(type) {\n    return type.flags & 262144 /* TypeParameter */ && !getConstraintOfTypeParameter(type);\n  }\n  function isNonDeferredTypeReference(type) {\n    return !!(getObjectFlags(type) & 4 /* Reference */) && !type.node;\n  }\n  function isTypeReferenceWithGenericArguments(type) {\n    return isNonDeferredTypeReference(type) && some(getTypeArguments(type), (t) => !!(t.flags & 262144 /* TypeParameter */) || isTypeReferenceWithGenericArguments(t));\n  }\n  function getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) {\n    const typeParameters = [];\n    let constraintMarker = \"\";\n    const sourceId = getTypeReferenceId(source, 0);\n    const targetId = getTypeReferenceId(target, 0);\n    return `${constraintMarker}${sourceId},${targetId}${postFix}`;\n    function getTypeReferenceId(type, depth = 0) {\n      let result = \"\" + type.target.id;\n      for (const t of getTypeArguments(type)) {\n        if (t.flags & 262144 /* TypeParameter */) {\n          if (ignoreConstraints || isUnconstrainedTypeParameter(t)) {\n            let index = typeParameters.indexOf(t);\n            if (index < 0) {\n              index = typeParameters.length;\n              typeParameters.push(t);\n            }\n            result += \"=\" + index;\n            continue;\n          }\n          constraintMarker = \"*\";\n        } else if (depth < 4 && isTypeReferenceWithGenericArguments(t)) {\n          result += \"<\" + getTypeReferenceId(t, depth + 1) + \">\";\n          continue;\n        }\n        result += \"-\" + t.id;\n      }\n      return result;\n    }\n  }\n  function getRelationKey(source, target, intersectionState, relation, ignoreConstraints) {\n    if (relation === identityRelation && source.id > target.id) {\n      const temp = source;\n      source = target;\n      target = temp;\n    }\n    const postFix = intersectionState ? \":\" + intersectionState : \"\";\n    return isTypeReferenceWithGenericArguments(source) && isTypeReferenceWithGenericArguments(target) ? getGenericTypeReferenceRelationKey(source, target, postFix, ignoreConstraints) : `${source.id},${target.id}${postFix}`;\n  }\n  function forEachProperty2(prop, callback) {\n    if (getCheckFlags(prop) & 6 /* Synthetic */) {\n      for (const t of prop.containingType.types) {\n        const p = getPropertyOfType(t, prop.escapedName);\n        const result = p && forEachProperty2(p, callback);\n        if (result) {\n          return result;\n        }\n      }\n      return void 0;\n    }\n    return callback(prop);\n  }\n  function getDeclaringClass(prop) {\n    return prop.parent && prop.parent.flags & 32 /* Class */ ? getDeclaredTypeOfSymbol(getParentOfSymbol(prop)) : void 0;\n  }\n  function getTypeOfPropertyInBaseClass(property) {\n    const classType = getDeclaringClass(property);\n    const baseClassType = classType && getBaseTypes(classType)[0];\n    return baseClassType && getTypeOfPropertyOfType(baseClassType, property.escapedName);\n  }\n  function isPropertyInClassDerivedFrom(prop, baseClass) {\n    return forEachProperty2(prop, (sp) => {\n      const sourceClass = getDeclaringClass(sp);\n      return sourceClass ? hasBaseType(sourceClass, baseClass) : false;\n    });\n  }\n  function isValidOverrideOf(sourceProp, targetProp) {\n    return !forEachProperty2(targetProp, (tp) => getDeclarationModifierFlagsFromSymbol(tp) & 16 /* Protected */ ? !isPropertyInClassDerivedFrom(sourceProp, getDeclaringClass(tp)) : false);\n  }\n  function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) {\n    return forEachProperty2(prop, (p) => getDeclarationModifierFlagsFromSymbol(p, writing) & 16 /* Protected */ ? !hasBaseType(checkClass, getDeclaringClass(p)) : false) ? void 0 : checkClass;\n  }\n  function isDeeplyNestedType(type, stack, depth, maxDepth = 3) {\n    if (depth >= maxDepth) {\n      const identity2 = getRecursionIdentity(type);\n      let count = 0;\n      let lastTypeId = 0;\n      for (let i = 0; i < depth; i++) {\n        const t = stack[i];\n        if (getRecursionIdentity(t) === identity2) {\n          if (t.id >= lastTypeId) {\n            count++;\n            if (count >= maxDepth) {\n              return true;\n            }\n          }\n          lastTypeId = t.id;\n        }\n      }\n    }\n    return false;\n  }\n  function getRecursionIdentity(type) {\n    if (type.flags & 524288 /* Object */ && !isObjectOrArrayLiteralType(type)) {\n      if (getObjectFlags(type) && 4 /* Reference */ && type.node) {\n        return type.node;\n      }\n      if (type.symbol && !(getObjectFlags(type) & 16 /* Anonymous */ && type.symbol.flags & 32 /* Class */)) {\n        return type.symbol;\n      }\n      if (isTupleType(type)) {\n        return type.target;\n      }\n    }\n    if (type.flags & 262144 /* TypeParameter */) {\n      return type.symbol;\n    }\n    if (type.flags & 8388608 /* IndexedAccess */) {\n      do {\n        type = type.objectType;\n      } while (type.flags & 8388608 /* IndexedAccess */);\n      return type;\n    }\n    if (type.flags & 16777216 /* Conditional */) {\n      return type.root;\n    }\n    return type;\n  }\n  function isPropertyIdenticalTo(sourceProp, targetProp) {\n    return compareProperties2(sourceProp, targetProp, compareTypesIdentical) !== 0 /* False */;\n  }\n  function compareProperties2(sourceProp, targetProp, compareTypes) {\n    if (sourceProp === targetProp) {\n      return -1 /* True */;\n    }\n    const sourcePropAccessibility = getDeclarationModifierFlagsFromSymbol(sourceProp) & 24 /* NonPublicAccessibilityModifier */;\n    const targetPropAccessibility = getDeclarationModifierFlagsFromSymbol(targetProp) & 24 /* NonPublicAccessibilityModifier */;\n    if (sourcePropAccessibility !== targetPropAccessibility) {\n      return 0 /* False */;\n    }\n    if (sourcePropAccessibility) {\n      if (getTargetSymbol(sourceProp) !== getTargetSymbol(targetProp)) {\n        return 0 /* False */;\n      }\n    } else {\n      if ((sourceProp.flags & 16777216 /* Optional */) !== (targetProp.flags & 16777216 /* Optional */)) {\n        return 0 /* False */;\n      }\n    }\n    if (isReadonlySymbol(sourceProp) !== isReadonlySymbol(targetProp)) {\n      return 0 /* False */;\n    }\n    return compareTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp));\n  }\n  function isMatchingSignature(source, target, partialMatch) {\n    const sourceParameterCount = getParameterCount(source);\n    const targetParameterCount = getParameterCount(target);\n    const sourceMinArgumentCount = getMinArgumentCount(source);\n    const targetMinArgumentCount = getMinArgumentCount(target);\n    const sourceHasRestParameter = hasEffectiveRestParameter(source);\n    const targetHasRestParameter = hasEffectiveRestParameter(target);\n    if (sourceParameterCount === targetParameterCount && sourceMinArgumentCount === targetMinArgumentCount && sourceHasRestParameter === targetHasRestParameter) {\n      return true;\n    }\n    if (partialMatch && sourceMinArgumentCount <= targetMinArgumentCount) {\n      return true;\n    }\n    return false;\n  }\n  function compareSignaturesIdentical(source, target, partialMatch, ignoreThisTypes, ignoreReturnTypes, compareTypes) {\n    if (source === target) {\n      return -1 /* True */;\n    }\n    if (!isMatchingSignature(source, target, partialMatch)) {\n      return 0 /* False */;\n    }\n    if (length(source.typeParameters) !== length(target.typeParameters)) {\n      return 0 /* False */;\n    }\n    if (target.typeParameters) {\n      const mapper = createTypeMapper(source.typeParameters, target.typeParameters);\n      for (let i = 0; i < target.typeParameters.length; i++) {\n        const s = source.typeParameters[i];\n        const t = target.typeParameters[i];\n        if (!(s === t || compareTypes(instantiateType(getConstraintFromTypeParameter(s), mapper) || unknownType, getConstraintFromTypeParameter(t) || unknownType) && compareTypes(instantiateType(getDefaultFromTypeParameter(s), mapper) || unknownType, getDefaultFromTypeParameter(t) || unknownType))) {\n          return 0 /* False */;\n        }\n      }\n      source = instantiateSignature(source, mapper, true);\n    }\n    let result = -1 /* True */;\n    if (!ignoreThisTypes) {\n      const sourceThisType = getThisTypeOfSignature(source);\n      if (sourceThisType) {\n        const targetThisType = getThisTypeOfSignature(target);\n        if (targetThisType) {\n          const related = compareTypes(sourceThisType, targetThisType);\n          if (!related) {\n            return 0 /* False */;\n          }\n          result &= related;\n        }\n      }\n    }\n    const targetLen = getParameterCount(target);\n    for (let i = 0; i < targetLen; i++) {\n      const s = getTypeAtPosition(source, i);\n      const t = getTypeAtPosition(target, i);\n      const related = compareTypes(t, s);\n      if (!related) {\n        return 0 /* False */;\n      }\n      result &= related;\n    }\n    if (!ignoreReturnTypes) {\n      const sourceTypePredicate = getTypePredicateOfSignature(source);\n      const targetTypePredicate = getTypePredicateOfSignature(target);\n      result &= sourceTypePredicate || targetTypePredicate ? compareTypePredicatesIdentical(sourceTypePredicate, targetTypePredicate, compareTypes) : compareTypes(getReturnTypeOfSignature(source), getReturnTypeOfSignature(target));\n    }\n    return result;\n  }\n  function compareTypePredicatesIdentical(source, target, compareTypes) {\n    return !(source && target && typePredicateKindsMatch(source, target)) ? 0 /* False */ : source.type === target.type ? -1 /* True */ : source.type && target.type ? compareTypes(source.type, target.type) : 0 /* False */;\n  }\n  function literalTypesWithSameBaseType(types) {\n    let commonBaseType;\n    for (const t of types) {\n      if (!(t.flags & 131072 /* Never */)) {\n        const baseType = getBaseTypeOfLiteralType(t);\n        commonBaseType != null ? commonBaseType : commonBaseType = baseType;\n        if (baseType === t || baseType !== commonBaseType) {\n          return false;\n        }\n      }\n    }\n    return true;\n  }\n  function getCombinedTypeFlags(types) {\n    return reduceLeft(types, (flags, t) => flags | (t.flags & 1048576 /* Union */ ? getCombinedTypeFlags(t.types) : t.flags), 0);\n  }\n  function getCommonSupertype(types) {\n    if (types.length === 1) {\n      return types[0];\n    }\n    const primaryTypes = strictNullChecks ? sameMap(types, (t) => filterType(t, (u) => !(u.flags & 98304 /* Nullable */))) : types;\n    const superTypeOrUnion = literalTypesWithSameBaseType(primaryTypes) ? getUnionType(primaryTypes) : reduceLeft(primaryTypes, (s, t) => isTypeSubtypeOf(s, t) ? t : s);\n    return primaryTypes === types ? superTypeOrUnion : getNullableType(superTypeOrUnion, getCombinedTypeFlags(types) & 98304 /* Nullable */);\n  }\n  function getCommonSubtype(types) {\n    return reduceLeft(types, (s, t) => isTypeSubtypeOf(t, s) ? t : s);\n  }\n  function isArrayType(type) {\n    return !!(getObjectFlags(type) & 4 /* Reference */) && (type.target === globalArrayType || type.target === globalReadonlyArrayType);\n  }\n  function isReadonlyArrayType2(type) {\n    return !!(getObjectFlags(type) & 4 /* Reference */) && type.target === globalReadonlyArrayType;\n  }\n  function isArrayOrTupleType(type) {\n    return isArrayType(type) || isTupleType(type);\n  }\n  function isMutableArrayOrTuple(type) {\n    return isArrayType(type) && !isReadonlyArrayType2(type) || isTupleType(type) && !type.target.readonly;\n  }\n  function getElementTypeOfArrayType(type) {\n    return isArrayType(type) ? getTypeArguments(type)[0] : void 0;\n  }\n  function isArrayLikeType2(type) {\n    return isArrayType(type) || !(type.flags & 98304 /* Nullable */) && isTypeAssignableTo(type, anyReadonlyArrayType);\n  }\n  function getSingleBaseForNonAugmentingSubtype(type) {\n    if (!(getObjectFlags(type) & 4 /* Reference */) || !(getObjectFlags(type.target) & 3 /* ClassOrInterface */)) {\n      return void 0;\n    }\n    if (getObjectFlags(type) & 33554432 /* IdenticalBaseTypeCalculated */) {\n      return getObjectFlags(type) & 67108864 /* IdenticalBaseTypeExists */ ? type.cachedEquivalentBaseType : void 0;\n    }\n    type.objectFlags |= 33554432 /* IdenticalBaseTypeCalculated */;\n    const target = type.target;\n    if (getObjectFlags(target) & 1 /* Class */) {\n      const baseTypeNode = getBaseTypeNodeOfClass(target);\n      if (baseTypeNode && baseTypeNode.expression.kind !== 79 /* Identifier */ && baseTypeNode.expression.kind !== 211 /* PropertyAccessExpression */) {\n        return void 0;\n      }\n    }\n    const bases = getBaseTypes(target);\n    if (bases.length !== 1) {\n      return void 0;\n    }\n    if (getMembersOfSymbol(type.symbol).size) {\n      return void 0;\n    }\n    let instantiatedBase = !length(target.typeParameters) ? bases[0] : instantiateType(bases[0], createTypeMapper(target.typeParameters, getTypeArguments(type).slice(0, target.typeParameters.length)));\n    if (length(getTypeArguments(type)) > length(target.typeParameters)) {\n      instantiatedBase = getTypeWithThisArgument(instantiatedBase, last(getTypeArguments(type)));\n    }\n    type.objectFlags |= 67108864 /* IdenticalBaseTypeExists */;\n    return type.cachedEquivalentBaseType = instantiatedBase;\n  }\n  function isEmptyLiteralType(type) {\n    return strictNullChecks ? type === implicitNeverType : type === undefinedWideningType;\n  }\n  function isEmptyArrayLiteralType(type) {\n    const elementType = getElementTypeOfArrayType(type);\n    return !!elementType && isEmptyLiteralType(elementType);\n  }\n  function isTupleLikeType(type) {\n    return isTupleType(type) || !!getPropertyOfType(type, \"0\");\n  }\n  function isArrayOrTupleLikeType(type) {\n    return isArrayLikeType2(type) || isTupleLikeType(type);\n  }\n  function getTupleElementType(type, index) {\n    const propType = getTypeOfPropertyOfType(type, \"\" + index);\n    if (propType) {\n      return propType;\n    }\n    if (everyType(type, isTupleType)) {\n      return mapType(type, (t) => getRestTypeOfTupleType(t) || undefinedType);\n    }\n    return void 0;\n  }\n  function isNeitherUnitTypeNorNever(type) {\n    return !(type.flags & (109440 /* Unit */ | 131072 /* Never */));\n  }\n  function isUnitType(type) {\n    return !!(type.flags & 109440 /* Unit */);\n  }\n  function isUnitLikeType(type) {\n    const t = getBaseConstraintOrType(type);\n    return t.flags & 2097152 /* Intersection */ ? some(t.types, isUnitType) : isUnitType(t);\n  }\n  function extractUnitType(type) {\n    return type.flags & 2097152 /* Intersection */ ? find(type.types, isUnitType) || type : type;\n  }\n  function isLiteralType3(type) {\n    return type.flags & 16 /* Boolean */ ? true : type.flags & 1048576 /* Union */ ? type.flags & 1024 /* EnumLiteral */ ? true : every(type.types, isUnitType) : isUnitType(type);\n  }\n  function getBaseTypeOfLiteralType(type) {\n    return type.flags & 1024 /* EnumLiteral */ ? getBaseTypeOfEnumLiteralType(type) : type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? stringType : type.flags & 256 /* NumberLiteral */ ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 512 /* BooleanLiteral */ ? booleanType : type.flags & 1048576 /* Union */ ? getBaseTypeOfLiteralTypeUnion(type) : type;\n  }\n  function getBaseTypeOfLiteralTypeUnion(type) {\n    var _a2;\n    const key = `B${getTypeId(type)}`;\n    return (_a2 = getCachedType(key)) != null ? _a2 : setCachedType(key, mapType(type, getBaseTypeOfLiteralType));\n  }\n  function getWidenedLiteralType(type) {\n    return type.flags & 1024 /* EnumLiteral */ && isFreshLiteralType(type) ? getBaseTypeOfEnumLiteralType(type) : type.flags & 128 /* StringLiteral */ && isFreshLiteralType(type) ? stringType : type.flags & 256 /* NumberLiteral */ && isFreshLiteralType(type) ? numberType : type.flags & 2048 /* BigIntLiteral */ && isFreshLiteralType(type) ? bigintType : type.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(type) ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedLiteralType) : type;\n  }\n  function getWidenedUniqueESSymbolType(type) {\n    return type.flags & 8192 /* UniqueESSymbol */ ? esSymbolType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedUniqueESSymbolType) : type;\n  }\n  function getWidenedLiteralLikeTypeForContextualType(type, contextualType) {\n    if (!isLiteralOfContextualType(type, contextualType)) {\n      type = getWidenedUniqueESSymbolType(getWidenedLiteralType(type));\n    }\n    return getRegularTypeOfLiteralType(type);\n  }\n  function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(type, contextualSignatureReturnType, isAsync) {\n    if (type && isUnitType(type)) {\n      const contextualType = !contextualSignatureReturnType ? void 0 : isAsync ? getPromisedTypeOfPromise(contextualSignatureReturnType) : contextualSignatureReturnType;\n      type = getWidenedLiteralLikeTypeForContextualType(type, contextualType);\n    }\n    return type;\n  }\n  function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(type, contextualSignatureReturnType, kind, isAsyncGenerator) {\n    if (type && isUnitType(type)) {\n      const contextualType = !contextualSignatureReturnType ? void 0 : getIterationTypeOfGeneratorFunctionReturnType(kind, contextualSignatureReturnType, isAsyncGenerator);\n      type = getWidenedLiteralLikeTypeForContextualType(type, contextualType);\n    }\n    return type;\n  }\n  function isTupleType(type) {\n    return !!(getObjectFlags(type) & 4 /* Reference */ && type.target.objectFlags & 8 /* Tuple */);\n  }\n  function isGenericTupleType(type) {\n    return isTupleType(type) && !!(type.target.combinedFlags & 8 /* Variadic */);\n  }\n  function isSingleElementGenericTupleType(type) {\n    return isGenericTupleType(type) && type.target.elementFlags.length === 1;\n  }\n  function getRestTypeOfTupleType(type) {\n    return getElementTypeOfSliceOfTupleType(type, type.target.fixedLength);\n  }\n  function getRestArrayTypeOfTupleType(type) {\n    const restType = getRestTypeOfTupleType(type);\n    return restType && createArrayType(restType);\n  }\n  function getElementTypeOfSliceOfTupleType(type, index, endSkipCount = 0, writing = false) {\n    const length2 = getTypeReferenceArity(type) - endSkipCount;\n    if (index < length2) {\n      const typeArguments = getTypeArguments(type);\n      const elementTypes = [];\n      for (let i = index; i < length2; i++) {\n        const t = typeArguments[i];\n        elementTypes.push(type.target.elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessType(t, numberType) : t);\n      }\n      return writing ? getIntersectionType(elementTypes) : getUnionType(elementTypes);\n    }\n    return void 0;\n  }\n  function isTupleTypeStructureMatching(t1, t2) {\n    return getTypeReferenceArity(t1) === getTypeReferenceArity(t2) && every(t1.target.elementFlags, (f, i) => (f & 12 /* Variable */) === (t2.target.elementFlags[i] & 12 /* Variable */));\n  }\n  function isZeroBigInt({ value }) {\n    return value.base10Value === \"0\";\n  }\n  function removeDefinitelyFalsyTypes(type) {\n    return filterType(type, (t) => !!(getTypeFacts(t) & 4194304 /* Truthy */));\n  }\n  function extractDefinitelyFalsyTypes(type) {\n    return mapType(type, getDefinitelyFalsyPartOfType);\n  }\n  function getDefinitelyFalsyPartOfType(type) {\n    return type.flags & 4 /* String */ ? emptyStringType : type.flags & 8 /* Number */ ? zeroType : type.flags & 64 /* BigInt */ ? zeroBigIntType : type === regularFalseType || type === falseType || type.flags & (16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */ | 3 /* AnyOrUnknown */) || type.flags & 128 /* StringLiteral */ && type.value === \"\" || type.flags & 256 /* NumberLiteral */ && type.value === 0 || type.flags & 2048 /* BigIntLiteral */ && isZeroBigInt(type) ? type : neverType;\n  }\n  function getNullableType(type, flags) {\n    const missing = flags & ~type.flags & (32768 /* Undefined */ | 65536 /* Null */);\n    return missing === 0 ? type : missing === 32768 /* Undefined */ ? getUnionType([type, undefinedType]) : missing === 65536 /* Null */ ? getUnionType([type, nullType]) : getUnionType([type, undefinedType, nullType]);\n  }\n  function getOptionalType(type, isProperty = false) {\n    Debug.assert(strictNullChecks);\n    const missingOrUndefined = isProperty ? missingType : undefinedType;\n    return type.flags & 32768 /* Undefined */ || type.flags & 1048576 /* Union */ && type.types[0] === missingOrUndefined ? type : getUnionType([type, missingOrUndefined]);\n  }\n  function getGlobalNonNullableTypeInstantiation(type) {\n    if (!deferredGlobalNonNullableTypeAlias) {\n      deferredGlobalNonNullableTypeAlias = getGlobalSymbol(\"NonNullable\", 524288 /* TypeAlias */, void 0) || unknownSymbol;\n    }\n    return deferredGlobalNonNullableTypeAlias !== unknownSymbol ? getTypeAliasInstantiation(deferredGlobalNonNullableTypeAlias, [type]) : getIntersectionType([type, emptyObjectType]);\n  }\n  function getNonNullableType3(type) {\n    return strictNullChecks ? getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type;\n  }\n  function addOptionalTypeMarker(type) {\n    return strictNullChecks ? getUnionType([type, optionalType]) : type;\n  }\n  function removeOptionalTypeMarker(type) {\n    return strictNullChecks ? removeType(type, optionalType) : type;\n  }\n  function propagateOptionalTypeMarker(type, node, wasOptional) {\n    return wasOptional ? isOutermostOptionalChain(node) ? getOptionalType(type) : addOptionalTypeMarker(type) : type;\n  }\n  function getOptionalExpressionType(exprType, expression) {\n    return isExpressionOfOptionalChainRoot(expression) ? getNonNullableType3(exprType) : isOptionalChain(expression) ? removeOptionalTypeMarker(exprType) : exprType;\n  }\n  function removeMissingType(type, isOptional) {\n    return exactOptionalPropertyTypes && isOptional ? removeType(type, missingType) : type;\n  }\n  function containsMissingType(type) {\n    return exactOptionalPropertyTypes && (type === missingType || type.flags & 1048576 /* Union */ && containsType(type.types, missingType));\n  }\n  function removeMissingOrUndefinedType(type) {\n    return exactOptionalPropertyTypes ? removeType(type, missingType) : getTypeWithFacts(type, 524288 /* NEUndefined */);\n  }\n  function isCoercibleUnderDoubleEquals(source, target) {\n    return (source.flags & (8 /* Number */ | 4 /* String */ | 512 /* BooleanLiteral */)) !== 0 && (target.flags & (8 /* Number */ | 4 /* String */ | 16 /* Boolean */)) !== 0;\n  }\n  function isObjectTypeWithInferableIndex(type) {\n    const objectFlags = getObjectFlags(type);\n    return type.flags & 2097152 /* Intersection */ ? every(type.types, isObjectTypeWithInferableIndex) : !!(type.symbol && (type.symbol.flags & (4096 /* ObjectLiteral */ | 2048 /* TypeLiteral */ | 384 /* Enum */ | 512 /* ValueModule */)) !== 0 && !(type.symbol.flags & 32 /* Class */) && !typeHasCallOrConstructSignatures2(type)) || !!(objectFlags & 4194304 /* ObjectRestType */) || !!(objectFlags & 1024 /* ReverseMapped */ && isObjectTypeWithInferableIndex(type.source));\n  }\n  function createSymbolWithType(source, type) {\n    const symbol = createSymbol(source.flags, source.escapedName, getCheckFlags(source) & 8 /* Readonly */);\n    symbol.declarations = source.declarations;\n    symbol.parent = source.parent;\n    symbol.type = type;\n    symbol.target = source;\n    if (source.valueDeclaration) {\n      symbol.valueDeclaration = source.valueDeclaration;\n    }\n    const nameType = getSymbolLinks(source).nameType;\n    if (nameType) {\n      symbol.nameType = nameType;\n    }\n    return symbol;\n  }\n  function transformTypeOfMembers(type, f) {\n    const members = createSymbolTable();\n    for (const property of getPropertiesOfObjectType(type)) {\n      const original = getTypeOfSymbol(property);\n      const updated = f(original);\n      members.set(property.escapedName, updated === original ? property : createSymbolWithType(property, updated));\n    }\n    return members;\n  }\n  function getRegularTypeOfObjectLiteral(type) {\n    if (!(isObjectLiteralType4(type) && getObjectFlags(type) & 8192 /* FreshLiteral */)) {\n      return type;\n    }\n    const regularType = type.regularType;\n    if (regularType) {\n      return regularType;\n    }\n    const resolved = type;\n    const members = transformTypeOfMembers(type, getRegularTypeOfObjectLiteral);\n    const regularNew = createAnonymousType(resolved.symbol, members, resolved.callSignatures, resolved.constructSignatures, resolved.indexInfos);\n    regularNew.flags = resolved.flags;\n    regularNew.objectFlags |= resolved.objectFlags & ~8192 /* FreshLiteral */;\n    type.regularType = regularNew;\n    return regularNew;\n  }\n  function createWideningContext(parent2, propertyName, siblings) {\n    return { parent: parent2, propertyName, siblings, resolvedProperties: void 0 };\n  }\n  function getSiblingsOfContext(context) {\n    if (!context.siblings) {\n      const siblings = [];\n      for (const type of getSiblingsOfContext(context.parent)) {\n        if (isObjectLiteralType4(type)) {\n          const prop = getPropertyOfObjectType(type, context.propertyName);\n          if (prop) {\n            forEachType(getTypeOfSymbol(prop), (t) => {\n              siblings.push(t);\n            });\n          }\n        }\n      }\n      context.siblings = siblings;\n    }\n    return context.siblings;\n  }\n  function getPropertiesOfContext(context) {\n    if (!context.resolvedProperties) {\n      const names = new Map2();\n      for (const t of getSiblingsOfContext(context)) {\n        if (isObjectLiteralType4(t) && !(getObjectFlags(t) & 2097152 /* ContainsSpread */)) {\n          for (const prop of getPropertiesOfType(t)) {\n            names.set(prop.escapedName, prop);\n          }\n        }\n      }\n      context.resolvedProperties = arrayFrom(names.values());\n    }\n    return context.resolvedProperties;\n  }\n  function getWidenedProperty(prop, context) {\n    if (!(prop.flags & 4 /* Property */)) {\n      return prop;\n    }\n    const original = getTypeOfSymbol(prop);\n    const propContext = context && createWideningContext(context, prop.escapedName, void 0);\n    const widened = getWidenedTypeWithContext(original, propContext);\n    return widened === original ? prop : createSymbolWithType(prop, widened);\n  }\n  function getUndefinedProperty(prop) {\n    const cached = undefinedProperties.get(prop.escapedName);\n    if (cached) {\n      return cached;\n    }\n    const result = createSymbolWithType(prop, missingType);\n    result.flags |= 16777216 /* Optional */;\n    undefinedProperties.set(prop.escapedName, result);\n    return result;\n  }\n  function getWidenedTypeOfObjectLiteral(type, context) {\n    const members = createSymbolTable();\n    for (const prop of getPropertiesOfObjectType(type)) {\n      members.set(prop.escapedName, getWidenedProperty(prop, context));\n    }\n    if (context) {\n      for (const prop of getPropertiesOfContext(context)) {\n        if (!members.has(prop.escapedName)) {\n          members.set(prop.escapedName, getUndefinedProperty(prop));\n        }\n      }\n    }\n    const result = createAnonymousType(\n      type.symbol,\n      members,\n      emptyArray,\n      emptyArray,\n      sameMap(getIndexInfosOfType(type), (info) => createIndexInfo(info.keyType, getWidenedType(info.type), info.isReadonly))\n    );\n    result.objectFlags |= getObjectFlags(type) & (4096 /* JSLiteral */ | 262144 /* NonInferrableType */);\n    return result;\n  }\n  function getWidenedType(type) {\n    return getWidenedTypeWithContext(type, void 0);\n  }\n  function getWidenedTypeWithContext(type, context) {\n    if (getObjectFlags(type) & 196608 /* RequiresWidening */) {\n      if (context === void 0 && type.widened) {\n        return type.widened;\n      }\n      let result;\n      if (type.flags & (1 /* Any */ | 98304 /* Nullable */)) {\n        result = anyType;\n      } else if (isObjectLiteralType4(type)) {\n        result = getWidenedTypeOfObjectLiteral(type, context);\n      } else if (type.flags & 1048576 /* Union */) {\n        const unionContext = context || createWideningContext(void 0, void 0, type.types);\n        const widenedTypes = sameMap(type.types, (t) => t.flags & 98304 /* Nullable */ ? t : getWidenedTypeWithContext(t, unionContext));\n        result = getUnionType(widenedTypes, some(widenedTypes, isEmptyObjectType) ? 2 /* Subtype */ : 1 /* Literal */);\n      } else if (type.flags & 2097152 /* Intersection */) {\n        result = getIntersectionType(sameMap(type.types, getWidenedType));\n      } else if (isArrayOrTupleType(type)) {\n        result = createTypeReference(type.target, sameMap(getTypeArguments(type), getWidenedType));\n      }\n      if (result && context === void 0) {\n        type.widened = result;\n      }\n      return result || type;\n    }\n    return type;\n  }\n  function reportWideningErrorsInType(type) {\n    let errorReported = false;\n    if (getObjectFlags(type) & 65536 /* ContainsWideningType */) {\n      if (type.flags & 1048576 /* Union */) {\n        if (some(type.types, isEmptyObjectType)) {\n          errorReported = true;\n        } else {\n          for (const t of type.types) {\n            if (reportWideningErrorsInType(t)) {\n              errorReported = true;\n            }\n          }\n        }\n      }\n      if (isArrayOrTupleType(type)) {\n        for (const t of getTypeArguments(type)) {\n          if (reportWideningErrorsInType(t)) {\n            errorReported = true;\n          }\n        }\n      }\n      if (isObjectLiteralType4(type)) {\n        for (const p of getPropertiesOfObjectType(type)) {\n          const t = getTypeOfSymbol(p);\n          if (getObjectFlags(t) & 65536 /* ContainsWideningType */) {\n            if (!reportWideningErrorsInType(t)) {\n              error(p.valueDeclaration, Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type, symbolToString(p), typeToString(getWidenedType(t)));\n            }\n            errorReported = true;\n          }\n        }\n      }\n    }\n    return errorReported;\n  }\n  function reportImplicitAny(declaration, type, wideningKind) {\n    const typeAsString = typeToString(getWidenedType(type));\n    if (isInJSFile(declaration) && !isCheckJsEnabledForFile(getSourceFileOfNode(declaration), compilerOptions)) {\n      return;\n    }\n    let diagnostic;\n    switch (declaration.kind) {\n      case 227 /* BinaryExpression */:\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n        diagnostic = noImplicitAny ? Diagnostics.Member_0_implicitly_has_an_1_type : Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;\n        break;\n      case 168 /* Parameter */:\n        const param = declaration;\n        if (isIdentifier(param.name) && (isCallSignatureDeclaration(param.parent) || isMethodSignature(param.parent) || isFunctionTypeNode(param.parent)) && param.parent.parameters.indexOf(param) > -1 && (resolveName(param, param.name.escapedText, 788968 /* Type */, void 0, param.name.escapedText, true) || param.name.originalKeywordKind && isTypeNodeKind(param.name.originalKeywordKind))) {\n          const newName = \"arg\" + param.parent.parameters.indexOf(param);\n          const typeName = declarationNameToString(param.name) + (param.dotDotDotToken ? \"[]\" : \"\");\n          errorOrSuggestion(noImplicitAny, declaration, Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1, newName, typeName);\n          return;\n        }\n        diagnostic = declaration.dotDotDotToken ? noImplicitAny ? Diagnostics.Rest_parameter_0_implicitly_has_an_any_type : Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage : noImplicitAny ? Diagnostics.Parameter_0_implicitly_has_an_1_type : Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;\n        break;\n      case 208 /* BindingElement */:\n        diagnostic = Diagnostics.Binding_element_0_implicitly_has_an_1_type;\n        if (!noImplicitAny) {\n          return;\n        }\n        break;\n      case 326 /* JSDocFunctionType */:\n        error(declaration, Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString);\n        return;\n      case 263 /* FunctionDeclaration */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        if (noImplicitAny && !declaration.name) {\n          if (wideningKind === 3 /* GeneratorYield */) {\n            error(declaration, Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation, typeAsString);\n          } else {\n            error(declaration, Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type, typeAsString);\n          }\n          return;\n        }\n        diagnostic = !noImplicitAny ? Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage : wideningKind === 3 /* GeneratorYield */ ? Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type : Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;\n        break;\n      case 200 /* MappedType */:\n        if (noImplicitAny) {\n          error(declaration, Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type);\n        }\n        return;\n      default:\n        diagnostic = noImplicitAny ? Diagnostics.Variable_0_implicitly_has_an_1_type : Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;\n    }\n    errorOrSuggestion(noImplicitAny, declaration, diagnostic, declarationNameToString(getNameOfDeclaration(declaration)), typeAsString);\n  }\n  function reportErrorsFromWidening(declaration, type, wideningKind) {\n    addLazyDiagnostic(() => {\n      if (noImplicitAny && getObjectFlags(type) & 65536 /* ContainsWideningType */ && (!wideningKind || !getContextualSignatureForFunctionLikeDeclaration(declaration))) {\n        if (!reportWideningErrorsInType(type)) {\n          reportImplicitAny(declaration, type, wideningKind);\n        }\n      }\n    });\n  }\n  function applyToParameterTypes(source, target, callback) {\n    const sourceCount = getParameterCount(source);\n    const targetCount = getParameterCount(target);\n    const sourceRestType = getEffectiveRestType(source);\n    const targetRestType = getEffectiveRestType(target);\n    const targetNonRestCount = targetRestType ? targetCount - 1 : targetCount;\n    const paramCount = sourceRestType ? targetNonRestCount : Math.min(sourceCount, targetNonRestCount);\n    const sourceThisType = getThisTypeOfSignature(source);\n    if (sourceThisType) {\n      const targetThisType = getThisTypeOfSignature(target);\n      if (targetThisType) {\n        callback(sourceThisType, targetThisType);\n      }\n    }\n    for (let i = 0; i < paramCount; i++) {\n      callback(getTypeAtPosition(source, i), getTypeAtPosition(target, i));\n    }\n    if (targetRestType) {\n      callback(getRestTypeAtPosition(source, paramCount), targetRestType);\n    }\n  }\n  function applyToReturnTypes(source, target, callback) {\n    const sourceTypePredicate = getTypePredicateOfSignature(source);\n    const targetTypePredicate = getTypePredicateOfSignature(target);\n    if (sourceTypePredicate && targetTypePredicate && typePredicateKindsMatch(sourceTypePredicate, targetTypePredicate) && sourceTypePredicate.type && targetTypePredicate.type) {\n      callback(sourceTypePredicate.type, targetTypePredicate.type);\n    } else {\n      callback(getReturnTypeOfSignature(source), getReturnTypeOfSignature(target));\n    }\n  }\n  function createInferenceContext(typeParameters, signature, flags, compareTypes) {\n    return createInferenceContextWorker(typeParameters.map(createInferenceInfo), signature, flags, compareTypes || compareTypesAssignable);\n  }\n  function cloneInferenceContext(context, extraFlags = 0) {\n    return context && createInferenceContextWorker(map(context.inferences, cloneInferenceInfo), context.signature, context.flags | extraFlags, context.compareTypes);\n  }\n  function createInferenceContextWorker(inferences, signature, flags, compareTypes) {\n    const context = {\n      inferences,\n      signature,\n      flags,\n      compareTypes,\n      mapper: reportUnmeasurableMapper,\n      nonFixingMapper: reportUnmeasurableMapper\n    };\n    context.mapper = makeFixingMapperForContext(context);\n    context.nonFixingMapper = makeNonFixingMapperForContext(context);\n    return context;\n  }\n  function makeFixingMapperForContext(context) {\n    return makeDeferredTypeMapper(map(context.inferences, (i) => i.typeParameter), map(context.inferences, (inference, i) => () => {\n      if (!inference.isFixed) {\n        inferFromIntraExpressionSites(context);\n        clearCachedInferences(context.inferences);\n        inference.isFixed = true;\n      }\n      return getInferredType(context, i);\n    }));\n  }\n  function makeNonFixingMapperForContext(context) {\n    return makeDeferredTypeMapper(map(context.inferences, (i) => i.typeParameter), map(context.inferences, (_, i) => () => {\n      return getInferredType(context, i);\n    }));\n  }\n  function clearCachedInferences(inferences) {\n    for (const inference of inferences) {\n      if (!inference.isFixed) {\n        inference.inferredType = void 0;\n      }\n    }\n  }\n  function addIntraExpressionInferenceSite(context, node, type) {\n    var _a2;\n    ((_a2 = context.intraExpressionInferenceSites) != null ? _a2 : context.intraExpressionInferenceSites = []).push({ node, type });\n  }\n  function inferFromIntraExpressionSites(context) {\n    if (context.intraExpressionInferenceSites) {\n      for (const { node, type } of context.intraExpressionInferenceSites) {\n        const contextualType = node.kind === 174 /* MethodDeclaration */ ? getContextualTypeForObjectLiteralMethod(node, 2 /* NoConstraints */) : getContextualType2(node, 2 /* NoConstraints */);\n        if (contextualType) {\n          inferTypes(context.inferences, type, contextualType);\n        }\n      }\n      context.intraExpressionInferenceSites = void 0;\n    }\n  }\n  function createInferenceInfo(typeParameter) {\n    return {\n      typeParameter,\n      candidates: void 0,\n      contraCandidates: void 0,\n      inferredType: void 0,\n      priority: void 0,\n      topLevel: true,\n      isFixed: false,\n      impliedArity: void 0\n    };\n  }\n  function cloneInferenceInfo(inference) {\n    return {\n      typeParameter: inference.typeParameter,\n      candidates: inference.candidates && inference.candidates.slice(),\n      contraCandidates: inference.contraCandidates && inference.contraCandidates.slice(),\n      inferredType: inference.inferredType,\n      priority: inference.priority,\n      topLevel: inference.topLevel,\n      isFixed: inference.isFixed,\n      impliedArity: inference.impliedArity\n    };\n  }\n  function cloneInferredPartOfContext(context) {\n    const inferences = filter(context.inferences, hasInferenceCandidates);\n    return inferences.length ? createInferenceContextWorker(map(inferences, cloneInferenceInfo), context.signature, context.flags, context.compareTypes) : void 0;\n  }\n  function getMapperFromContext(context) {\n    return context && context.mapper;\n  }\n  function couldContainTypeVariables(type) {\n    const objectFlags = getObjectFlags(type);\n    if (objectFlags & 524288 /* CouldContainTypeVariablesComputed */) {\n      return !!(objectFlags & 1048576 /* CouldContainTypeVariables */);\n    }\n    const result = !!(type.flags & 465829888 /* Instantiable */ || type.flags & 524288 /* Object */ && !isNonGenericTopLevelType(type) && (objectFlags & 4 /* Reference */ && (type.node || forEach(getTypeArguments(type), couldContainTypeVariables)) || objectFlags & 16 /* Anonymous */ && type.symbol && type.symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 2048 /* TypeLiteral */ | 4096 /* ObjectLiteral */) && type.symbol.declarations || objectFlags & (32 /* Mapped */ | 1024 /* ReverseMapped */ | 4194304 /* ObjectRestType */ | 8388608 /* InstantiationExpressionType */)) || type.flags & 3145728 /* UnionOrIntersection */ && !(type.flags & 1024 /* EnumLiteral */) && !isNonGenericTopLevelType(type) && some(type.types, couldContainTypeVariables));\n    if (type.flags & 3899393 /* ObjectFlagsType */) {\n      type.objectFlags |= 524288 /* CouldContainTypeVariablesComputed */ | (result ? 1048576 /* CouldContainTypeVariables */ : 0);\n    }\n    return result;\n  }\n  function isNonGenericTopLevelType(type) {\n    if (type.aliasSymbol && !type.aliasTypeArguments) {\n      const declaration = getDeclarationOfKind(type.aliasSymbol, 268 /* TypeAliasDeclaration */);\n      return !!(declaration && findAncestor(declaration.parent, (n) => n.kind === 314 /* SourceFile */ ? true : n.kind === 270 /* ModuleDeclaration */ ? false : \"quit\"));\n    }\n    return false;\n  }\n  function isTypeParameterAtTopLevel(type, typeParameter) {\n    return !!(type === typeParameter || type.flags & 3145728 /* UnionOrIntersection */ && some(type.types, (t) => isTypeParameterAtTopLevel(t, typeParameter)) || type.flags & 16777216 /* Conditional */ && (getTrueTypeFromConditionalType(type) === typeParameter || getFalseTypeFromConditionalType(type) === typeParameter));\n  }\n  function createEmptyObjectTypeFromStringLiteral(type) {\n    const members = createSymbolTable();\n    forEachType(type, (t) => {\n      if (!(t.flags & 128 /* StringLiteral */)) {\n        return;\n      }\n      const name = escapeLeadingUnderscores(t.value);\n      const literalProp = createSymbol(4 /* Property */, name);\n      literalProp.type = anyType;\n      if (t.symbol) {\n        literalProp.declarations = t.symbol.declarations;\n        literalProp.valueDeclaration = t.symbol.valueDeclaration;\n      }\n      members.set(name, literalProp);\n    });\n    const indexInfos = type.flags & 4 /* String */ ? [createIndexInfo(stringType, emptyObjectType, false)] : emptyArray;\n    return createAnonymousType(void 0, members, emptyArray, emptyArray, indexInfos);\n  }\n  function inferTypeForHomomorphicMappedType(source, target, constraint) {\n    if (inInferTypeForHomomorphicMappedType) {\n      return void 0;\n    }\n    const key = source.id + \",\" + target.id + \",\" + constraint.id;\n    if (reverseMappedCache.has(key)) {\n      return reverseMappedCache.get(key);\n    }\n    inInferTypeForHomomorphicMappedType = true;\n    const type = createReverseMappedType(source, target, constraint);\n    inInferTypeForHomomorphicMappedType = false;\n    reverseMappedCache.set(key, type);\n    return type;\n  }\n  function isPartiallyInferableType(type) {\n    return !(getObjectFlags(type) & 262144 /* NonInferrableType */) || isObjectLiteralType4(type) && some(getPropertiesOfType(type), (prop) => isPartiallyInferableType(getTypeOfSymbol(prop))) || isTupleType(type) && some(getTypeArguments(type), isPartiallyInferableType);\n  }\n  function createReverseMappedType(source, target, constraint) {\n    if (!(getIndexInfoOfType(source, stringType) || getPropertiesOfType(source).length !== 0 && isPartiallyInferableType(source))) {\n      return void 0;\n    }\n    if (isArrayType(source)) {\n      return createArrayType(inferReverseMappedType(getTypeArguments(source)[0], target, constraint), isReadonlyArrayType2(source));\n    }\n    if (isTupleType(source)) {\n      const elementTypes = map(getTypeArguments(source), (t) => inferReverseMappedType(t, target, constraint));\n      const elementFlags = getMappedTypeModifiers(target) & 4 /* IncludeOptional */ ? sameMap(source.target.elementFlags, (f) => f & 2 /* Optional */ ? 1 /* Required */ : f) : source.target.elementFlags;\n      return createTupleType(elementTypes, elementFlags, source.target.readonly, source.target.labeledElementDeclarations);\n    }\n    const reversed = createObjectType(1024 /* ReverseMapped */ | 16 /* Anonymous */, void 0);\n    reversed.source = source;\n    reversed.mappedType = target;\n    reversed.constraintType = constraint;\n    return reversed;\n  }\n  function getTypeOfReverseMappedSymbol(symbol) {\n    const links = getSymbolLinks(symbol);\n    if (!links.type) {\n      links.type = inferReverseMappedType(symbol.propertyType, symbol.mappedType, symbol.constraintType);\n    }\n    return links.type;\n  }\n  function inferReverseMappedType(sourceType, target, constraint) {\n    const typeParameter = getIndexedAccessType(constraint.type, getTypeParameterFromMappedType(target));\n    const templateType = getTemplateTypeFromMappedType(target);\n    const inference = createInferenceInfo(typeParameter);\n    inferTypes([inference], sourceType, templateType);\n    return getTypeFromInference(inference) || unknownType;\n  }\n  function* getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties) {\n    const properties = getPropertiesOfType(target);\n    for (const targetProp of properties) {\n      if (isStaticPrivateIdentifierProperty(targetProp)) {\n        continue;\n      }\n      if (requireOptionalProperties || !(targetProp.flags & 16777216 /* Optional */ || getCheckFlags(targetProp) & 48 /* Partial */)) {\n        const sourceProp = getPropertyOfType(source, targetProp.escapedName);\n        if (!sourceProp) {\n          yield targetProp;\n        } else if (matchDiscriminantProperties) {\n          const targetType = getTypeOfSymbol(targetProp);\n          if (targetType.flags & 109440 /* Unit */) {\n            const sourceType = getTypeOfSymbol(sourceProp);\n            if (!(sourceType.flags & 1 /* Any */ || getRegularTypeOfLiteralType(sourceType) === getRegularTypeOfLiteralType(targetType))) {\n              yield targetProp;\n            }\n          }\n        }\n      }\n    }\n  }\n  function getUnmatchedProperty(source, target, requireOptionalProperties, matchDiscriminantProperties) {\n    const result = getUnmatchedProperties(source, target, requireOptionalProperties, matchDiscriminantProperties).next();\n    if (!result.done)\n      return result.value;\n  }\n  function tupleTypesDefinitelyUnrelated(source, target) {\n    return !(target.target.combinedFlags & 8 /* Variadic */) && target.target.minLength > source.target.minLength || !target.target.hasRestElement && (source.target.hasRestElement || target.target.fixedLength < source.target.fixedLength);\n  }\n  function typesDefinitelyUnrelated(source, target) {\n    return isTupleType(source) && isTupleType(target) ? tupleTypesDefinitelyUnrelated(source, target) : !!getUnmatchedProperty(source, target, false, true) && !!getUnmatchedProperty(target, source, false, false);\n  }\n  function getTypeFromInference(inference) {\n    return inference.candidates ? getUnionType(inference.candidates, 2 /* Subtype */) : inference.contraCandidates ? getIntersectionType(inference.contraCandidates) : void 0;\n  }\n  function hasSkipDirectInferenceFlag(node) {\n    return !!getNodeLinks(node).skipDirectInference;\n  }\n  function isFromInferenceBlockedSource(type) {\n    return !!(type.symbol && some(type.symbol.declarations, hasSkipDirectInferenceFlag));\n  }\n  function templateLiteralTypesDefinitelyUnrelated(source, target) {\n    const sourceStart = source.texts[0];\n    const targetStart = target.texts[0];\n    const sourceEnd = source.texts[source.texts.length - 1];\n    const targetEnd = target.texts[target.texts.length - 1];\n    const startLen = Math.min(sourceStart.length, targetStart.length);\n    const endLen = Math.min(sourceEnd.length, targetEnd.length);\n    return sourceStart.slice(0, startLen) !== targetStart.slice(0, startLen) || sourceEnd.slice(sourceEnd.length - endLen) !== targetEnd.slice(targetEnd.length - endLen);\n  }\n  function isValidNumberString(s, roundTripOnly) {\n    if (s === \"\")\n      return false;\n    const n = +s;\n    return isFinite(n) && (!roundTripOnly || \"\" + n === s);\n  }\n  function parseBigIntLiteralType(text) {\n    const negative = text.startsWith(\"-\");\n    const base10Value = parsePseudoBigInt(`${negative ? text.slice(1) : text}n`);\n    return getBigIntLiteralType({ negative, base10Value });\n  }\n  function isValidBigIntString(s, roundTripOnly) {\n    if (s === \"\")\n      return false;\n    const scanner2 = createScanner(99 /* ESNext */, false);\n    let success = true;\n    scanner2.setOnError(() => success = false);\n    scanner2.setText(s + \"n\");\n    let result = scanner2.scan();\n    const negative = result === 40 /* MinusToken */;\n    if (negative) {\n      result = scanner2.scan();\n    }\n    const flags = scanner2.getTokenFlags();\n    return success && result === 9 /* BigIntLiteral */ && scanner2.getTextPos() === s.length + 1 && !(flags & 512 /* ContainsSeparator */) && (!roundTripOnly || s === pseudoBigIntToString({ negative, base10Value: parsePseudoBigInt(scanner2.getTokenValue()) }));\n  }\n  function isMemberOfStringMapping(source, target) {\n    if (target.flags & (4 /* String */ | 1 /* Any */)) {\n      return true;\n    }\n    if (target.flags & 134217728 /* TemplateLiteral */) {\n      return isTypeAssignableTo(source, target);\n    }\n    if (target.flags & 268435456 /* StringMapping */) {\n      const mappingStack = [];\n      while (target.flags & 268435456 /* StringMapping */) {\n        mappingStack.unshift(target.symbol);\n        target = target.type;\n      }\n      const mappedSource = reduceLeft(mappingStack, (memo, value) => getStringMappingType(value, memo), source);\n      return mappedSource === source && isMemberOfStringMapping(source, target);\n    }\n    return false;\n  }\n  function isValidTypeForTemplateLiteralPlaceholder(source, target) {\n    if (source === target || target.flags & (1 /* Any */ | 4 /* String */)) {\n      return true;\n    }\n    if (source.flags & 128 /* StringLiteral */) {\n      const value = source.value;\n      return !!(target.flags & 8 /* Number */ && isValidNumberString(value, false) || target.flags & 64 /* BigInt */ && isValidBigIntString(value, false) || target.flags & (512 /* BooleanLiteral */ | 98304 /* Nullable */) && value === target.intrinsicName || target.flags & 268435456 /* StringMapping */ && isMemberOfStringMapping(getStringLiteralType(value), target));\n    }\n    if (source.flags & 134217728 /* TemplateLiteral */) {\n      const texts = source.texts;\n      return texts.length === 2 && texts[0] === \"\" && texts[1] === \"\" && isTypeAssignableTo(source.types[0], target);\n    }\n    return isTypeAssignableTo(source, target);\n  }\n  function inferTypesFromTemplateLiteralType(source, target) {\n    return source.flags & 128 /* StringLiteral */ ? inferFromLiteralPartsToTemplateLiteral([source.value], emptyArray, target) : source.flags & 134217728 /* TemplateLiteral */ ? arraysEqual(source.texts, target.texts) ? map(source.types, getStringLikeTypeForType) : inferFromLiteralPartsToTemplateLiteral(source.texts, source.types, target) : void 0;\n  }\n  function isTypeMatchedByTemplateLiteralType(source, target) {\n    const inferences = inferTypesFromTemplateLiteralType(source, target);\n    return !!inferences && every(inferences, (r, i) => isValidTypeForTemplateLiteralPlaceholder(r, target.types[i]));\n  }\n  function getStringLikeTypeForType(type) {\n    return type.flags & (1 /* Any */ | 402653316 /* StringLike */) ? type : getTemplateLiteralType([\"\", \"\"], [type]);\n  }\n  function inferFromLiteralPartsToTemplateLiteral(sourceTexts, sourceTypes, target) {\n    const lastSourceIndex = sourceTexts.length - 1;\n    const sourceStartText = sourceTexts[0];\n    const sourceEndText = sourceTexts[lastSourceIndex];\n    const targetTexts = target.texts;\n    const lastTargetIndex = targetTexts.length - 1;\n    const targetStartText = targetTexts[0];\n    const targetEndText = targetTexts[lastTargetIndex];\n    if (lastSourceIndex === 0 && sourceStartText.length < targetStartText.length + targetEndText.length || !sourceStartText.startsWith(targetStartText) || !sourceEndText.endsWith(targetEndText))\n      return void 0;\n    const remainingEndText = sourceEndText.slice(0, sourceEndText.length - targetEndText.length);\n    const matches = [];\n    let seg = 0;\n    let pos = targetStartText.length;\n    for (let i = 1; i < lastTargetIndex; i++) {\n      const delim = targetTexts[i];\n      if (delim.length > 0) {\n        let s = seg;\n        let p = pos;\n        while (true) {\n          p = getSourceText(s).indexOf(delim, p);\n          if (p >= 0)\n            break;\n          s++;\n          if (s === sourceTexts.length)\n            return void 0;\n          p = 0;\n        }\n        addMatch(s, p);\n        pos += delim.length;\n      } else if (pos < getSourceText(seg).length) {\n        addMatch(seg, pos + 1);\n      } else if (seg < lastSourceIndex) {\n        addMatch(seg + 1, 0);\n      } else {\n        return void 0;\n      }\n    }\n    addMatch(lastSourceIndex, getSourceText(lastSourceIndex).length);\n    return matches;\n    function getSourceText(index) {\n      return index < lastSourceIndex ? sourceTexts[index] : remainingEndText;\n    }\n    function addMatch(s, p) {\n      const matchType = s === seg ? getStringLiteralType(getSourceText(s).slice(pos, p)) : getTemplateLiteralType(\n        [sourceTexts[seg].slice(pos), ...sourceTexts.slice(seg + 1, s), getSourceText(s).slice(0, p)],\n        sourceTypes.slice(seg, s)\n      );\n      matches.push(matchType);\n      seg = s;\n      pos = p;\n    }\n  }\n  function inferTypes(inferences, originalSource, originalTarget, priority = 0, contravariant = false) {\n    let bivariant = false;\n    let propagationType;\n    let inferencePriority = 2048 /* MaxValue */;\n    let allowComplexConstraintInference = true;\n    let visited;\n    let sourceStack;\n    let targetStack;\n    let expandingFlags = 0 /* None */;\n    inferFromTypes(originalSource, originalTarget);\n    function inferFromTypes(source, target) {\n      if (!couldContainTypeVariables(target)) {\n        return;\n      }\n      if (source === wildcardType) {\n        const savePropagationType = propagationType;\n        propagationType = source;\n        inferFromTypes(target, target);\n        propagationType = savePropagationType;\n        return;\n      }\n      if (source.aliasSymbol && source.aliasSymbol === target.aliasSymbol) {\n        if (source.aliasTypeArguments) {\n          inferFromTypeArguments(source.aliasTypeArguments, target.aliasTypeArguments, getAliasVariances(source.aliasSymbol));\n        }\n        return;\n      }\n      if (source === target && source.flags & 3145728 /* UnionOrIntersection */) {\n        for (const t of source.types) {\n          inferFromTypes(t, t);\n        }\n        return;\n      }\n      if (target.flags & 1048576 /* Union */) {\n        const [tempSources, tempTargets] = inferFromMatchingTypes(source.flags & 1048576 /* Union */ ? source.types : [source], target.types, isTypeOrBaseIdenticalTo);\n        const [sources, targets] = inferFromMatchingTypes(tempSources, tempTargets, isTypeCloselyMatchedBy);\n        if (targets.length === 0) {\n          return;\n        }\n        target = getUnionType(targets);\n        if (sources.length === 0) {\n          inferWithPriority(source, target, 1 /* NakedTypeVariable */);\n          return;\n        }\n        source = getUnionType(sources);\n      } else if (target.flags & 2097152 /* Intersection */ && some(\n        target.types,\n        (t) => !!getInferenceInfoForType(t) || isGenericMappedType(t) && !!getInferenceInfoForType(getHomomorphicTypeVariable(t) || neverType)\n      )) {\n        if (!(source.flags & 1048576 /* Union */)) {\n          const [sources, targets] = inferFromMatchingTypes(source.flags & 2097152 /* Intersection */ ? source.types : [source], target.types, isTypeIdenticalTo);\n          if (sources.length === 0 || targets.length === 0) {\n            return;\n          }\n          source = getIntersectionType(sources);\n          target = getIntersectionType(targets);\n        }\n      } else if (target.flags & (8388608 /* IndexedAccess */ | 33554432 /* Substitution */)) {\n        target = getActualTypeVariable(target);\n      }\n      if (target.flags & 8650752 /* TypeVariable */) {\n        if (isFromInferenceBlockedSource(source)) {\n          return;\n        }\n        const inference = getInferenceInfoForType(target);\n        if (inference) {\n          if (getObjectFlags(source) & 262144 /* NonInferrableType */ || source === nonInferrableAnyType) {\n            return;\n          }\n          if (!inference.isFixed) {\n            if (inference.priority === void 0 || priority < inference.priority) {\n              inference.candidates = void 0;\n              inference.contraCandidates = void 0;\n              inference.topLevel = true;\n              inference.priority = priority;\n            }\n            if (priority === inference.priority) {\n              const candidate = propagationType || source;\n              if (contravariant && !bivariant) {\n                if (!contains(inference.contraCandidates, candidate)) {\n                  inference.contraCandidates = append(inference.contraCandidates, candidate);\n                  clearCachedInferences(inferences);\n                }\n              } else if (!contains(inference.candidates, candidate)) {\n                inference.candidates = append(inference.candidates, candidate);\n                clearCachedInferences(inferences);\n              }\n            }\n            if (!(priority & 128 /* ReturnType */) && target.flags & 262144 /* TypeParameter */ && inference.topLevel && !isTypeParameterAtTopLevel(originalTarget, target)) {\n              inference.topLevel = false;\n              clearCachedInferences(inferences);\n            }\n          }\n          inferencePriority = Math.min(inferencePriority, priority);\n          return;\n        }\n        const simplified = getSimplifiedType(target, false);\n        if (simplified !== target) {\n          inferFromTypes(source, simplified);\n        } else if (target.flags & 8388608 /* IndexedAccess */) {\n          const indexType = getSimplifiedType(target.indexType, false);\n          if (indexType.flags & 465829888 /* Instantiable */) {\n            const simplified2 = distributeIndexOverObjectType(getSimplifiedType(target.objectType, false), indexType, false);\n            if (simplified2 && simplified2 !== target) {\n              inferFromTypes(source, simplified2);\n            }\n          }\n        }\n      }\n      if (getObjectFlags(source) & 4 /* Reference */ && getObjectFlags(target) & 4 /* Reference */ && (source.target === target.target || isArrayType(source) && isArrayType(target)) && !(source.node && target.node)) {\n        inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target));\n      } else if (source.flags & 4194304 /* Index */ && target.flags & 4194304 /* Index */) {\n        inferFromContravariantTypes(source.type, target.type);\n      } else if ((isLiteralType3(source) || source.flags & 4 /* String */) && target.flags & 4194304 /* Index */) {\n        const empty = createEmptyObjectTypeFromStringLiteral(source);\n        inferFromContravariantTypesWithPriority(empty, target.type, 256 /* LiteralKeyof */);\n      } else if (source.flags & 8388608 /* IndexedAccess */ && target.flags & 8388608 /* IndexedAccess */) {\n        inferFromTypes(source.objectType, target.objectType);\n        inferFromTypes(source.indexType, target.indexType);\n      } else if (source.flags & 268435456 /* StringMapping */ && target.flags & 268435456 /* StringMapping */) {\n        if (source.symbol === target.symbol) {\n          inferFromTypes(source.type, target.type);\n        }\n      } else if (source.flags & 33554432 /* Substitution */) {\n        inferFromTypes(source.baseType, target);\n        inferWithPriority(getSubstitutionIntersection(source), target, 4 /* SubstituteSource */);\n      } else if (target.flags & 16777216 /* Conditional */) {\n        invokeOnce(source, target, inferToConditionalType);\n      } else if (target.flags & 3145728 /* UnionOrIntersection */) {\n        inferToMultipleTypes(source, target.types, target.flags);\n      } else if (source.flags & 1048576 /* Union */) {\n        const sourceTypes = source.types;\n        for (const sourceType of sourceTypes) {\n          inferFromTypes(sourceType, target);\n        }\n      } else if (target.flags & 134217728 /* TemplateLiteral */) {\n        inferToTemplateLiteralType(source, target);\n      } else {\n        source = getReducedType(source);\n        if (!(priority & 512 /* NoConstraints */ && source.flags & (2097152 /* Intersection */ | 465829888 /* Instantiable */))) {\n          const apparentSource = getApparentType(source);\n          if (apparentSource !== source && allowComplexConstraintInference && !(apparentSource.flags & (524288 /* Object */ | 2097152 /* Intersection */))) {\n            allowComplexConstraintInference = false;\n            return inferFromTypes(apparentSource, target);\n          }\n          source = apparentSource;\n        }\n        if (source.flags & (524288 /* Object */ | 2097152 /* Intersection */)) {\n          invokeOnce(source, target, inferFromObjectTypes);\n        }\n      }\n    }\n    function inferWithPriority(source, target, newPriority) {\n      const savePriority = priority;\n      priority |= newPriority;\n      inferFromTypes(source, target);\n      priority = savePriority;\n    }\n    function inferFromContravariantTypesWithPriority(source, target, newPriority) {\n      const savePriority = priority;\n      priority |= newPriority;\n      inferFromContravariantTypes(source, target);\n      priority = savePriority;\n    }\n    function inferToMultipleTypesWithPriority(source, targets, targetFlags, newPriority) {\n      const savePriority = priority;\n      priority |= newPriority;\n      inferToMultipleTypes(source, targets, targetFlags);\n      priority = savePriority;\n    }\n    function invokeOnce(source, target, action) {\n      const key = source.id + \",\" + target.id;\n      const status = visited && visited.get(key);\n      if (status !== void 0) {\n        inferencePriority = Math.min(inferencePriority, status);\n        return;\n      }\n      (visited || (visited = new Map2())).set(key, -1 /* Circularity */);\n      const saveInferencePriority = inferencePriority;\n      inferencePriority = 2048 /* MaxValue */;\n      const saveExpandingFlags = expandingFlags;\n      const sourceIdentity = getRecursionIdentity(source);\n      const targetIdentity = getRecursionIdentity(target);\n      if (contains(sourceStack, sourceIdentity))\n        expandingFlags |= 1 /* Source */;\n      if (contains(targetStack, targetIdentity))\n        expandingFlags |= 2 /* Target */;\n      if (expandingFlags !== 3 /* Both */) {\n        (sourceStack || (sourceStack = [])).push(sourceIdentity);\n        (targetStack || (targetStack = [])).push(targetIdentity);\n        action(source, target);\n        targetStack.pop();\n        sourceStack.pop();\n      } else {\n        inferencePriority = -1 /* Circularity */;\n      }\n      expandingFlags = saveExpandingFlags;\n      visited.set(key, inferencePriority);\n      inferencePriority = Math.min(inferencePriority, saveInferencePriority);\n    }\n    function inferFromMatchingTypes(sources, targets, matches) {\n      let matchedSources;\n      let matchedTargets;\n      for (const t of targets) {\n        for (const s of sources) {\n          if (matches(s, t)) {\n            inferFromTypes(s, t);\n            matchedSources = appendIfUnique(matchedSources, s);\n            matchedTargets = appendIfUnique(matchedTargets, t);\n          }\n        }\n      }\n      return [\n        matchedSources ? filter(sources, (t) => !contains(matchedSources, t)) : sources,\n        matchedTargets ? filter(targets, (t) => !contains(matchedTargets, t)) : targets\n      ];\n    }\n    function inferFromTypeArguments(sourceTypes, targetTypes, variances) {\n      const count = sourceTypes.length < targetTypes.length ? sourceTypes.length : targetTypes.length;\n      for (let i = 0; i < count; i++) {\n        if (i < variances.length && (variances[i] & 7 /* VarianceMask */) === 2 /* Contravariant */) {\n          inferFromContravariantTypes(sourceTypes[i], targetTypes[i]);\n        } else {\n          inferFromTypes(sourceTypes[i], targetTypes[i]);\n        }\n      }\n    }\n    function inferFromContravariantTypes(source, target) {\n      contravariant = !contravariant;\n      inferFromTypes(source, target);\n      contravariant = !contravariant;\n    }\n    function inferFromContravariantTypesIfStrictFunctionTypes(source, target) {\n      if (strictFunctionTypes || priority & 1024 /* AlwaysStrict */) {\n        inferFromContravariantTypes(source, target);\n      } else {\n        inferFromTypes(source, target);\n      }\n    }\n    function getInferenceInfoForType(type) {\n      if (type.flags & 8650752 /* TypeVariable */) {\n        for (const inference of inferences) {\n          if (type === inference.typeParameter) {\n            return inference;\n          }\n        }\n      }\n      return void 0;\n    }\n    function getSingleTypeVariableFromIntersectionTypes(types) {\n      let typeVariable;\n      for (const type of types) {\n        const t = type.flags & 2097152 /* Intersection */ && find(type.types, (t2) => !!getInferenceInfoForType(t2));\n        if (!t || typeVariable && t !== typeVariable) {\n          return void 0;\n        }\n        typeVariable = t;\n      }\n      return typeVariable;\n    }\n    function inferToMultipleTypes(source, targets, targetFlags) {\n      let typeVariableCount = 0;\n      if (targetFlags & 1048576 /* Union */) {\n        let nakedTypeVariable;\n        const sources = source.flags & 1048576 /* Union */ ? source.types : [source];\n        const matched = new Array(sources.length);\n        let inferenceCircularity = false;\n        for (const t of targets) {\n          if (getInferenceInfoForType(t)) {\n            nakedTypeVariable = t;\n            typeVariableCount++;\n          } else {\n            for (let i = 0; i < sources.length; i++) {\n              const saveInferencePriority = inferencePriority;\n              inferencePriority = 2048 /* MaxValue */;\n              inferFromTypes(sources[i], t);\n              if (inferencePriority === priority)\n                matched[i] = true;\n              inferenceCircularity = inferenceCircularity || inferencePriority === -1 /* Circularity */;\n              inferencePriority = Math.min(inferencePriority, saveInferencePriority);\n            }\n          }\n        }\n        if (typeVariableCount === 0) {\n          const intersectionTypeVariable = getSingleTypeVariableFromIntersectionTypes(targets);\n          if (intersectionTypeVariable) {\n            inferWithPriority(source, intersectionTypeVariable, 1 /* NakedTypeVariable */);\n          }\n          return;\n        }\n        if (typeVariableCount === 1 && !inferenceCircularity) {\n          const unmatched = flatMap(sources, (s, i) => matched[i] ? void 0 : s);\n          if (unmatched.length) {\n            inferFromTypes(getUnionType(unmatched), nakedTypeVariable);\n            return;\n          }\n        }\n      } else {\n        for (const t of targets) {\n          if (getInferenceInfoForType(t)) {\n            typeVariableCount++;\n          } else {\n            inferFromTypes(source, t);\n          }\n        }\n      }\n      if (targetFlags & 2097152 /* Intersection */ ? typeVariableCount === 1 : typeVariableCount > 0) {\n        for (const t of targets) {\n          if (getInferenceInfoForType(t)) {\n            inferWithPriority(source, t, 1 /* NakedTypeVariable */);\n          }\n        }\n      }\n    }\n    function inferToMappedType(source, target, constraintType) {\n      if (constraintType.flags & 1048576 /* Union */) {\n        let result = false;\n        for (const type of constraintType.types) {\n          result = inferToMappedType(source, target, type) || result;\n        }\n        return result;\n      }\n      if (constraintType.flags & 4194304 /* Index */) {\n        const inference = getInferenceInfoForType(constraintType.type);\n        if (inference && !inference.isFixed && !isFromInferenceBlockedSource(source)) {\n          const inferredType = inferTypeForHomomorphicMappedType(source, target, constraintType);\n          if (inferredType) {\n            inferWithPriority(\n              inferredType,\n              inference.typeParameter,\n              getObjectFlags(source) & 262144 /* NonInferrableType */ ? 16 /* PartialHomomorphicMappedType */ : 8 /* HomomorphicMappedType */\n            );\n          }\n        }\n        return true;\n      }\n      if (constraintType.flags & 262144 /* TypeParameter */) {\n        inferWithPriority(getIndexType(source), constraintType, 32 /* MappedTypeConstraint */);\n        const extendedConstraint = getConstraintOfType(constraintType);\n        if (extendedConstraint && inferToMappedType(source, target, extendedConstraint)) {\n          return true;\n        }\n        const propTypes = map(getPropertiesOfType(source), getTypeOfSymbol);\n        const indexTypes = map(getIndexInfosOfType(source), (info) => info !== enumNumberIndexInfo ? info.type : neverType);\n        inferFromTypes(getUnionType(concatenate(propTypes, indexTypes)), getTemplateTypeFromMappedType(target));\n        return true;\n      }\n      return false;\n    }\n    function inferToConditionalType(source, target) {\n      if (source.flags & 16777216 /* Conditional */) {\n        inferFromTypes(source.checkType, target.checkType);\n        inferFromTypes(source.extendsType, target.extendsType);\n        inferFromTypes(getTrueTypeFromConditionalType(source), getTrueTypeFromConditionalType(target));\n        inferFromTypes(getFalseTypeFromConditionalType(source), getFalseTypeFromConditionalType(target));\n      } else {\n        const targetTypes = [getTrueTypeFromConditionalType(target), getFalseTypeFromConditionalType(target)];\n        inferToMultipleTypesWithPriority(source, targetTypes, target.flags, contravariant ? 64 /* ContravariantConditional */ : 0);\n      }\n    }\n    function inferToTemplateLiteralType(source, target) {\n      const matches = inferTypesFromTemplateLiteralType(source, target);\n      const types = target.types;\n      if (matches || every(target.texts, (s) => s.length === 0)) {\n        for (let i = 0; i < types.length; i++) {\n          const source2 = matches ? matches[i] : neverType;\n          const target2 = types[i];\n          if (source2.flags & 128 /* StringLiteral */ && target2.flags & 8650752 /* TypeVariable */) {\n            const inferenceContext = getInferenceInfoForType(target2);\n            const constraint = inferenceContext ? getBaseConstraintOfType(inferenceContext.typeParameter) : void 0;\n            if (constraint && !isTypeAny(constraint)) {\n              const constraintTypes = constraint.flags & 1048576 /* Union */ ? constraint.types : [constraint];\n              let allTypeFlags = reduceLeft(constraintTypes, (flags, t) => flags | t.flags, 0);\n              if (!(allTypeFlags & 4 /* String */)) {\n                const str = source2.value;\n                if (allTypeFlags & 296 /* NumberLike */ && !isValidNumberString(str, true)) {\n                  allTypeFlags &= ~296 /* NumberLike */;\n                }\n                if (allTypeFlags & 2112 /* BigIntLike */ && !isValidBigIntString(str, true)) {\n                  allTypeFlags &= ~2112 /* BigIntLike */;\n                }\n                const matchingType = reduceLeft(\n                  constraintTypes,\n                  (left, right) => !(right.flags & allTypeFlags) ? left : left.flags & 4 /* String */ ? left : right.flags & 4 /* String */ ? source2 : left.flags & 134217728 /* TemplateLiteral */ ? left : right.flags & 134217728 /* TemplateLiteral */ && isTypeMatchedByTemplateLiteralType(source2, right) ? source2 : left.flags & 268435456 /* StringMapping */ ? left : right.flags & 268435456 /* StringMapping */ && str === applyStringMapping(right.symbol, str) ? source2 : left.flags & 128 /* StringLiteral */ ? left : right.flags & 128 /* StringLiteral */ && right.value === str ? right : left.flags & 8 /* Number */ ? left : right.flags & 8 /* Number */ ? getNumberLiteralType(+str) : left.flags & 32 /* Enum */ ? left : right.flags & 32 /* Enum */ ? getNumberLiteralType(+str) : left.flags & 256 /* NumberLiteral */ ? left : right.flags & 256 /* NumberLiteral */ && right.value === +str ? right : left.flags & 64 /* BigInt */ ? left : right.flags & 64 /* BigInt */ ? parseBigIntLiteralType(str) : left.flags & 2048 /* BigIntLiteral */ ? left : right.flags & 2048 /* BigIntLiteral */ && pseudoBigIntToString(right.value) === str ? right : left.flags & 16 /* Boolean */ ? left : right.flags & 16 /* Boolean */ ? str === \"true\" ? trueType : str === \"false\" ? falseType : booleanType : left.flags & 512 /* BooleanLiteral */ ? left : right.flags & 512 /* BooleanLiteral */ && right.intrinsicName === str ? right : left.flags & 32768 /* Undefined */ ? left : right.flags & 32768 /* Undefined */ && right.intrinsicName === str ? right : left.flags & 65536 /* Null */ ? left : right.flags & 65536 /* Null */ && right.intrinsicName === str ? right : left,\n                  neverType\n                );\n                if (!(matchingType.flags & 131072 /* Never */)) {\n                  inferFromTypes(matchingType, target2);\n                  continue;\n                }\n              }\n            }\n          }\n          inferFromTypes(source2, target2);\n        }\n      }\n    }\n    function inferFromObjectTypes(source, target) {\n      if (getObjectFlags(source) & 4 /* Reference */ && getObjectFlags(target) & 4 /* Reference */ && (source.target === target.target || isArrayType(source) && isArrayType(target))) {\n        inferFromTypeArguments(getTypeArguments(source), getTypeArguments(target), getVariances(source.target));\n        return;\n      }\n      if (isGenericMappedType(source) && isGenericMappedType(target)) {\n        inferFromTypes(getConstraintTypeFromMappedType(source), getConstraintTypeFromMappedType(target));\n        inferFromTypes(getTemplateTypeFromMappedType(source), getTemplateTypeFromMappedType(target));\n        const sourceNameType = getNameTypeFromMappedType(source);\n        const targetNameType = getNameTypeFromMappedType(target);\n        if (sourceNameType && targetNameType)\n          inferFromTypes(sourceNameType, targetNameType);\n      }\n      if (getObjectFlags(target) & 32 /* Mapped */ && !target.declaration.nameType) {\n        const constraintType = getConstraintTypeFromMappedType(target);\n        if (inferToMappedType(source, target, constraintType)) {\n          return;\n        }\n      }\n      if (!typesDefinitelyUnrelated(source, target)) {\n        if (isArrayOrTupleType(source)) {\n          if (isTupleType(target)) {\n            const sourceArity = getTypeReferenceArity(source);\n            const targetArity = getTypeReferenceArity(target);\n            const elementTypes = getTypeArguments(target);\n            const elementFlags = target.target.elementFlags;\n            if (isTupleType(source) && isTupleTypeStructureMatching(source, target)) {\n              for (let i = 0; i < targetArity; i++) {\n                inferFromTypes(getTypeArguments(source)[i], elementTypes[i]);\n              }\n              return;\n            }\n            const startLength = isTupleType(source) ? Math.min(source.target.fixedLength, target.target.fixedLength) : 0;\n            const endLength = Math.min(\n              isTupleType(source) ? getEndElementCount(source.target, 3 /* Fixed */) : 0,\n              target.target.hasRestElement ? getEndElementCount(target.target, 3 /* Fixed */) : 0\n            );\n            for (let i = 0; i < startLength; i++) {\n              inferFromTypes(getTypeArguments(source)[i], elementTypes[i]);\n            }\n            if (!isTupleType(source) || sourceArity - startLength - endLength === 1 && source.target.elementFlags[startLength] & 4 /* Rest */) {\n              const restType = getTypeArguments(source)[startLength];\n              for (let i = startLength; i < targetArity - endLength; i++) {\n                inferFromTypes(elementFlags[i] & 8 /* Variadic */ ? createArrayType(restType) : restType, elementTypes[i]);\n              }\n            } else {\n              const middleLength = targetArity - startLength - endLength;\n              if (middleLength === 2 && elementFlags[startLength] & elementFlags[startLength + 1] & 8 /* Variadic */ && isTupleType(source)) {\n                const targetInfo = getInferenceInfoForType(elementTypes[startLength]);\n                if (targetInfo && targetInfo.impliedArity !== void 0) {\n                  inferFromTypes(sliceTupleType(source, startLength, endLength + sourceArity - targetInfo.impliedArity), elementTypes[startLength]);\n                  inferFromTypes(sliceTupleType(source, startLength + targetInfo.impliedArity, endLength), elementTypes[startLength + 1]);\n                }\n              } else if (middleLength === 1 && elementFlags[startLength] & 8 /* Variadic */) {\n                const endsInOptional = target.target.elementFlags[targetArity - 1] & 2 /* Optional */;\n                const sourceSlice = isTupleType(source) ? sliceTupleType(source, startLength, endLength) : createArrayType(getTypeArguments(source)[0]);\n                inferWithPriority(sourceSlice, elementTypes[startLength], endsInOptional ? 2 /* SpeculativeTuple */ : 0);\n              } else if (middleLength === 1 && elementFlags[startLength] & 4 /* Rest */) {\n                const restType = isTupleType(source) ? getElementTypeOfSliceOfTupleType(source, startLength, endLength) : getTypeArguments(source)[0];\n                if (restType) {\n                  inferFromTypes(restType, elementTypes[startLength]);\n                }\n              }\n            }\n            for (let i = 0; i < endLength; i++) {\n              inferFromTypes(getTypeArguments(source)[sourceArity - i - 1], elementTypes[targetArity - i - 1]);\n            }\n            return;\n          }\n          if (isArrayType(target)) {\n            inferFromIndexTypes(source, target);\n            return;\n          }\n        }\n        inferFromProperties(source, target);\n        inferFromSignatures(source, target, 0 /* Call */);\n        inferFromSignatures(source, target, 1 /* Construct */);\n        inferFromIndexTypes(source, target);\n      }\n    }\n    function inferFromProperties(source, target) {\n      const properties = getPropertiesOfObjectType(target);\n      for (const targetProp of properties) {\n        const sourceProp = getPropertyOfType(source, targetProp.escapedName);\n        if (sourceProp && !some(sourceProp.declarations, hasSkipDirectInferenceFlag)) {\n          inferFromTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp));\n        }\n      }\n    }\n    function inferFromSignatures(source, target, kind) {\n      const sourceSignatures = getSignaturesOfType(source, kind);\n      const targetSignatures = getSignaturesOfType(target, kind);\n      const sourceLen = sourceSignatures.length;\n      const targetLen = targetSignatures.length;\n      const len = sourceLen < targetLen ? sourceLen : targetLen;\n      for (let i = 0; i < len; i++) {\n        inferFromSignature(getBaseSignature(sourceSignatures[sourceLen - len + i]), getErasedSignature(targetSignatures[targetLen - len + i]));\n      }\n    }\n    function inferFromSignature(source, target) {\n      const saveBivariant = bivariant;\n      const kind = target.declaration ? target.declaration.kind : 0 /* Unknown */;\n      bivariant = bivariant || kind === 174 /* MethodDeclaration */ || kind === 173 /* MethodSignature */ || kind === 176 /* Constructor */;\n      applyToParameterTypes(source, target, inferFromContravariantTypesIfStrictFunctionTypes);\n      bivariant = saveBivariant;\n      applyToReturnTypes(source, target, inferFromTypes);\n    }\n    function inferFromIndexTypes(source, target) {\n      const priority2 = getObjectFlags(source) & getObjectFlags(target) & 32 /* Mapped */ ? 8 /* HomomorphicMappedType */ : 0;\n      const indexInfos = getIndexInfosOfType(target);\n      if (isObjectTypeWithInferableIndex(source)) {\n        for (const targetInfo of indexInfos) {\n          const propTypes = [];\n          for (const prop of getPropertiesOfType(source)) {\n            if (isApplicableIndexType(getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */), targetInfo.keyType)) {\n              const propType = getTypeOfSymbol(prop);\n              propTypes.push(prop.flags & 16777216 /* Optional */ ? removeMissingOrUndefinedType(propType) : propType);\n            }\n          }\n          for (const info of getIndexInfosOfType(source)) {\n            if (isApplicableIndexType(info.keyType, targetInfo.keyType)) {\n              propTypes.push(info.type);\n            }\n          }\n          if (propTypes.length) {\n            inferWithPriority(getUnionType(propTypes), targetInfo.type, priority2);\n          }\n        }\n      }\n      for (const targetInfo of indexInfos) {\n        const sourceInfo = getApplicableIndexInfo(source, targetInfo.keyType);\n        if (sourceInfo) {\n          inferWithPriority(sourceInfo.type, targetInfo.type, priority2);\n        }\n      }\n    }\n  }\n  function isTypeOrBaseIdenticalTo(s, t) {\n    return exactOptionalPropertyTypes && t === missingType ? s === t : isTypeIdenticalTo(s, t) || !!(t.flags & 4 /* String */ && s.flags & 128 /* StringLiteral */ || t.flags & 8 /* Number */ && s.flags & 256 /* NumberLiteral */);\n  }\n  function isTypeCloselyMatchedBy(s, t) {\n    return !!(s.flags & 524288 /* Object */ && t.flags & 524288 /* Object */ && s.symbol && s.symbol === t.symbol || s.aliasSymbol && s.aliasTypeArguments && s.aliasSymbol === t.aliasSymbol);\n  }\n  function hasPrimitiveConstraint(type) {\n    const constraint = getConstraintOfTypeParameter(type);\n    return !!constraint && maybeTypeOfKind(constraint.flags & 16777216 /* Conditional */ ? getDefaultConstraintOfConditionalType(constraint) : constraint, 131068 /* Primitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */);\n  }\n  function isObjectLiteralType4(type) {\n    return !!(getObjectFlags(type) & 128 /* ObjectLiteral */);\n  }\n  function isObjectOrArrayLiteralType(type) {\n    return !!(getObjectFlags(type) & (128 /* ObjectLiteral */ | 16384 /* ArrayLiteral */));\n  }\n  function unionObjectAndArrayLiteralCandidates(candidates) {\n    if (candidates.length > 1) {\n      const objectLiterals = filter(candidates, isObjectOrArrayLiteralType);\n      if (objectLiterals.length) {\n        const literalsType = getUnionType(objectLiterals, 2 /* Subtype */);\n        return concatenate(filter(candidates, (t) => !isObjectOrArrayLiteralType(t)), [literalsType]);\n      }\n    }\n    return candidates;\n  }\n  function getContravariantInference(inference) {\n    return inference.priority & 416 /* PriorityImpliesCombination */ ? getIntersectionType(inference.contraCandidates) : getCommonSubtype(inference.contraCandidates);\n  }\n  function getCovariantInference(inference, signature) {\n    const candidates = unionObjectAndArrayLiteralCandidates(inference.candidates);\n    const primitiveConstraint = hasPrimitiveConstraint(inference.typeParameter);\n    const widenLiteralTypes = !primitiveConstraint && inference.topLevel && (inference.isFixed || !isTypeParameterAtTopLevel(getReturnTypeOfSignature(signature), inference.typeParameter));\n    const baseCandidates = primitiveConstraint ? sameMap(candidates, getRegularTypeOfLiteralType) : widenLiteralTypes ? sameMap(candidates, getWidenedLiteralType) : candidates;\n    const unwidenedType = inference.priority & 416 /* PriorityImpliesCombination */ ? getUnionType(baseCandidates, 2 /* Subtype */) : getCommonSupertype(baseCandidates);\n    return getWidenedType(unwidenedType);\n  }\n  function getInferredType(context, index) {\n    const inference = context.inferences[index];\n    if (!inference.inferredType) {\n      let inferredType;\n      const signature = context.signature;\n      if (signature) {\n        const inferredCovariantType = inference.candidates ? getCovariantInference(inference, signature) : void 0;\n        if (inference.contraCandidates) {\n          inferredType = inferredCovariantType && !(inferredCovariantType.flags & 131072 /* Never */) && some(inference.contraCandidates, (t) => isTypeSubtypeOf(inferredCovariantType, t)) ? inferredCovariantType : getContravariantInference(inference);\n        } else if (inferredCovariantType) {\n          inferredType = inferredCovariantType;\n        } else if (context.flags & 1 /* NoDefault */) {\n          inferredType = silentNeverType;\n        } else {\n          const defaultType = getDefaultFromTypeParameter(inference.typeParameter);\n          if (defaultType) {\n            inferredType = instantiateType(defaultType, mergeTypeMappers(createBackreferenceMapper(context, index), context.nonFixingMapper));\n          }\n        }\n      } else {\n        inferredType = getTypeFromInference(inference);\n      }\n      inference.inferredType = inferredType || getDefaultTypeArgumentType(!!(context.flags & 2 /* AnyDefault */));\n      const constraint = getConstraintOfTypeParameter(inference.typeParameter);\n      if (constraint) {\n        const instantiatedConstraint = instantiateType(constraint, context.nonFixingMapper);\n        if (!inferredType || !context.compareTypes(inferredType, getTypeWithThisArgument(instantiatedConstraint, inferredType))) {\n          inference.inferredType = inferredType = instantiatedConstraint;\n        }\n      }\n    }\n    return inference.inferredType;\n  }\n  function getDefaultTypeArgumentType(isInJavaScriptFile) {\n    return isInJavaScriptFile ? anyType : unknownType;\n  }\n  function getInferredTypes(context) {\n    const result = [];\n    for (let i = 0; i < context.inferences.length; i++) {\n      result.push(getInferredType(context, i));\n    }\n    return result;\n  }\n  function getCannotFindNameDiagnosticForName(node) {\n    switch (node.escapedText) {\n      case \"document\":\n      case \"console\":\n        return Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;\n      case \"$\":\n        return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery;\n      case \"describe\":\n      case \"suite\":\n      case \"it\":\n      case \"test\":\n        return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha;\n      case \"process\":\n      case \"require\":\n      case \"Buffer\":\n      case \"module\":\n        return compilerOptions.types ? Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig : Diagnostics.Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode;\n      case \"Map\":\n      case \"Set\":\n      case \"Promise\":\n      case \"Symbol\":\n      case \"WeakMap\":\n      case \"WeakSet\":\n      case \"Iterator\":\n      case \"AsyncIterator\":\n      case \"SharedArrayBuffer\":\n      case \"Atomics\":\n      case \"AsyncIterable\":\n      case \"AsyncIterableIterator\":\n      case \"AsyncGenerator\":\n      case \"AsyncGeneratorFunction\":\n      case \"BigInt\":\n      case \"Reflect\":\n      case \"BigInt64Array\":\n      case \"BigUint64Array\":\n        return Diagnostics.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;\n      case \"await\":\n        if (isCallExpression(node.parent)) {\n          return Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;\n        }\n      default:\n        if (node.parent.kind === 306 /* ShorthandPropertyAssignment */) {\n          return Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer;\n        } else {\n          return Diagnostics.Cannot_find_name_0;\n        }\n    }\n  }\n  function getResolvedSymbol(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedSymbol) {\n      links.resolvedSymbol = !nodeIsMissing(node) && resolveName(\n        node,\n        node.escapedText,\n        111551 /* Value */ | 1048576 /* ExportValue */,\n        getCannotFindNameDiagnosticForName(node),\n        node,\n        !isWriteOnlyAccess(node),\n        false\n      ) || unknownSymbol;\n    }\n    return links.resolvedSymbol;\n  }\n  function isInTypeQuery(node) {\n    return !!findAncestor(\n      node,\n      (n) => n.kind === 186 /* TypeQuery */ ? true : n.kind === 79 /* Identifier */ || n.kind === 165 /* QualifiedName */ ? false : \"quit\"\n    );\n  }\n  function getFlowCacheKey(node, declaredType, initialType, flowContainer) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        if (!isThisInTypeQuery(node)) {\n          const symbol = getResolvedSymbol(node);\n          return symbol !== unknownSymbol ? `${flowContainer ? getNodeId(flowContainer) : \"-1\"}|${getTypeId(declaredType)}|${getTypeId(initialType)}|${getSymbolId(symbol)}` : void 0;\n        }\n      case 109 /* ThisKeyword */:\n        return `0|${flowContainer ? getNodeId(flowContainer) : \"-1\"}|${getTypeId(declaredType)}|${getTypeId(initialType)}`;\n      case 236 /* NonNullExpression */:\n      case 217 /* ParenthesizedExpression */:\n        return getFlowCacheKey(node.expression, declaredType, initialType, flowContainer);\n      case 165 /* QualifiedName */:\n        const left = getFlowCacheKey(node.left, declaredType, initialType, flowContainer);\n        return left && left + \".\" + node.right.escapedText;\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        const propName = getAccessedPropertyName(node);\n        if (propName !== void 0) {\n          const key = getFlowCacheKey(node.expression, declaredType, initialType, flowContainer);\n          return key && key + \".\" + propName;\n        }\n        break;\n      case 206 /* ObjectBindingPattern */:\n      case 207 /* ArrayBindingPattern */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 174 /* MethodDeclaration */:\n        return `${getNodeId(node)}#${getTypeId(declaredType)}`;\n    }\n    return void 0;\n  }\n  function isMatchingReference(source, target) {\n    switch (target.kind) {\n      case 217 /* ParenthesizedExpression */:\n      case 236 /* NonNullExpression */:\n        return isMatchingReference(source, target.expression);\n      case 227 /* BinaryExpression */:\n        return isAssignmentExpression(target) && isMatchingReference(source, target.left) || isBinaryExpression(target) && target.operatorToken.kind === 27 /* CommaToken */ && isMatchingReference(source, target.right);\n    }\n    switch (source.kind) {\n      case 237 /* MetaProperty */:\n        return target.kind === 237 /* MetaProperty */ && source.keywordToken === target.keywordToken && source.name.escapedText === target.name.escapedText;\n      case 79 /* Identifier */:\n      case 80 /* PrivateIdentifier */:\n        return isThisInTypeQuery(source) ? target.kind === 109 /* ThisKeyword */ : target.kind === 79 /* Identifier */ && getResolvedSymbol(source) === getResolvedSymbol(target) || (target.kind === 261 /* VariableDeclaration */ || target.kind === 208 /* BindingElement */) && getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(source)) === getSymbolOfNode(target);\n      case 109 /* ThisKeyword */:\n        return target.kind === 109 /* ThisKeyword */;\n      case 107 /* SuperKeyword */:\n        return target.kind === 107 /* SuperKeyword */;\n      case 236 /* NonNullExpression */:\n      case 217 /* ParenthesizedExpression */:\n        return isMatchingReference(source.expression, target);\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        const sourcePropertyName = getAccessedPropertyName(source);\n        const targetPropertyName = isAccessExpression(target) ? getAccessedPropertyName(target) : void 0;\n        return sourcePropertyName !== void 0 && targetPropertyName !== void 0 && targetPropertyName === sourcePropertyName && isMatchingReference(source.expression, target.expression);\n      case 165 /* QualifiedName */:\n        return isAccessExpression(target) && source.right.escapedText === getAccessedPropertyName(target) && isMatchingReference(source.left, target.expression);\n      case 227 /* BinaryExpression */:\n        return isBinaryExpression(source) && source.operatorToken.kind === 27 /* CommaToken */ && isMatchingReference(source.right, target);\n    }\n    return false;\n  }\n  function getAccessedPropertyName(access) {\n    if (isPropertyAccessExpression(access)) {\n      return access.name.escapedText;\n    }\n    if (isElementAccessExpression(access)) {\n      return tryGetElementAccessExpressionName(access);\n    }\n    if (isBindingElement(access)) {\n      const name = getDestructuringPropertyName(access);\n      return name ? escapeLeadingUnderscores(name) : void 0;\n    }\n    if (isParameter(access)) {\n      return \"\" + access.parent.parameters.indexOf(access);\n    }\n    return void 0;\n  }\n  function tryGetNameFromType(type) {\n    return type.flags & 8192 /* UniqueESSymbol */ ? type.escapedName : type.flags & 384 /* StringOrNumberLiteral */ ? escapeLeadingUnderscores(\"\" + type.value) : void 0;\n  }\n  function tryGetElementAccessExpressionName(node) {\n    if (isStringOrNumericLiteralLike(node.argumentExpression)) {\n      return escapeLeadingUnderscores(node.argumentExpression.text);\n    }\n    if (isEntityNameExpression(node.argumentExpression)) {\n      const symbol = resolveEntityName(node.argumentExpression, 111551 /* Value */, true);\n      if (!symbol || !(isConstVariable(symbol) || symbol.flags & 8 /* EnumMember */))\n        return void 0;\n      const declaration = symbol.valueDeclaration;\n      if (declaration === void 0)\n        return void 0;\n      const type = tryGetTypeFromEffectiveTypeNode(declaration);\n      if (type) {\n        const name = tryGetNameFromType(type);\n        if (name !== void 0) {\n          return name;\n        }\n      }\n      if (hasOnlyExpressionInitializer(declaration) && isBlockScopedNameDeclaredBeforeUse(declaration, node.argumentExpression)) {\n        const initializer = getEffectiveInitializer(declaration);\n        if (initializer) {\n          return tryGetNameFromType(getTypeOfExpression(initializer));\n        }\n        if (isEnumMember(declaration)) {\n          return getTextOfPropertyName(declaration.name);\n        }\n      }\n    }\n    return void 0;\n  }\n  function containsMatchingReference(source, target) {\n    while (isAccessExpression(source)) {\n      source = source.expression;\n      if (isMatchingReference(source, target)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function optionalChainContainsReference(source, target) {\n    while (isOptionalChain(source)) {\n      source = source.expression;\n      if (isMatchingReference(source, target)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isDiscriminantProperty(type, name) {\n    if (type && type.flags & 1048576 /* Union */) {\n      const prop = getUnionOrIntersectionProperty(type, name);\n      if (prop && getCheckFlags(prop) & 2 /* SyntheticProperty */) {\n        if (prop.isDiscriminantProperty === void 0) {\n          prop.isDiscriminantProperty = (prop.checkFlags & 192 /* Discriminant */) === 192 /* Discriminant */ && !isGenericType(getTypeOfSymbol(prop));\n        }\n        return !!prop.isDiscriminantProperty;\n      }\n    }\n    return false;\n  }\n  function findDiscriminantProperties(sourceProperties, target) {\n    let result;\n    for (const sourceProperty of sourceProperties) {\n      if (isDiscriminantProperty(target, sourceProperty.escapedName)) {\n        if (result) {\n          result.push(sourceProperty);\n          continue;\n        }\n        result = [sourceProperty];\n      }\n    }\n    return result;\n  }\n  function mapTypesByKeyProperty(types, name) {\n    const map2 = new Map2();\n    let count = 0;\n    for (const type of types) {\n      if (type.flags & (524288 /* Object */ | 2097152 /* Intersection */ | 58982400 /* InstantiableNonPrimitive */)) {\n        const discriminant = getTypeOfPropertyOfType(type, name);\n        if (discriminant) {\n          if (!isLiteralType3(discriminant)) {\n            return void 0;\n          }\n          let duplicate = false;\n          forEachType(discriminant, (t) => {\n            const id = getTypeId(getRegularTypeOfLiteralType(t));\n            const existing = map2.get(id);\n            if (!existing) {\n              map2.set(id, type);\n            } else if (existing !== unknownType) {\n              map2.set(id, unknownType);\n              duplicate = true;\n            }\n          });\n          if (!duplicate)\n            count++;\n        }\n      }\n    }\n    return count >= 10 && count * 2 >= types.length ? map2 : void 0;\n  }\n  function getKeyPropertyName(unionType) {\n    const types = unionType.types;\n    if (types.length < 10 || getObjectFlags(unionType) & 32768 /* PrimitiveUnion */ || countWhere(types, (t) => !!(t.flags & (524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */))) < 10) {\n      return void 0;\n    }\n    if (unionType.keyPropertyName === void 0) {\n      const keyPropertyName = forEach(types, (t) => t.flags & (524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */) ? forEach(getPropertiesOfType(t), (p) => isUnitType(getTypeOfSymbol(p)) ? p.escapedName : void 0) : void 0);\n      const mapByKeyProperty = keyPropertyName && mapTypesByKeyProperty(types, keyPropertyName);\n      unionType.keyPropertyName = mapByKeyProperty ? keyPropertyName : \"\";\n      unionType.constituentMap = mapByKeyProperty;\n    }\n    return unionType.keyPropertyName.length ? unionType.keyPropertyName : void 0;\n  }\n  function getConstituentTypeForKeyType(unionType, keyType) {\n    var _a2;\n    const result = (_a2 = unionType.constituentMap) == null ? void 0 : _a2.get(getTypeId(getRegularTypeOfLiteralType(keyType)));\n    return result !== unknownType ? result : void 0;\n  }\n  function getMatchingUnionConstituentForType(unionType, type) {\n    const keyPropertyName = getKeyPropertyName(unionType);\n    const propType = keyPropertyName && getTypeOfPropertyOfType(type, keyPropertyName);\n    return propType && getConstituentTypeForKeyType(unionType, propType);\n  }\n  function getMatchingUnionConstituentForObjectLiteral(unionType, node) {\n    const keyPropertyName = getKeyPropertyName(unionType);\n    const propNode = keyPropertyName && find(node.properties, (p) => p.symbol && p.kind === 305 /* PropertyAssignment */ && p.symbol.escapedName === keyPropertyName && isPossiblyDiscriminantValue(p.initializer));\n    const propType = propNode && getContextFreeTypeOfExpression(propNode.initializer);\n    return propType && getConstituentTypeForKeyType(unionType, propType);\n  }\n  function isOrContainsMatchingReference(source, target) {\n    return isMatchingReference(source, target) || containsMatchingReference(source, target);\n  }\n  function hasMatchingArgument(expression, reference) {\n    if (expression.arguments) {\n      for (const argument of expression.arguments) {\n        if (isOrContainsMatchingReference(reference, argument)) {\n          return true;\n        }\n      }\n    }\n    if (expression.expression.kind === 211 /* PropertyAccessExpression */ && isOrContainsMatchingReference(reference, expression.expression.expression)) {\n      return true;\n    }\n    return false;\n  }\n  function getFlowNodeId(flow) {\n    if (!flow.id || flow.id < 0) {\n      flow.id = nextFlowId;\n      nextFlowId++;\n    }\n    return flow.id;\n  }\n  function typeMaybeAssignableTo(source, target) {\n    if (!(source.flags & 1048576 /* Union */)) {\n      return isTypeAssignableTo(source, target);\n    }\n    for (const t of source.types) {\n      if (isTypeAssignableTo(t, target)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function getAssignmentReducedType(declaredType, assignedType) {\n    var _a2;\n    if (declaredType === assignedType) {\n      return declaredType;\n    }\n    if (assignedType.flags & 131072 /* Never */) {\n      return assignedType;\n    }\n    const key = `A${getTypeId(declaredType)},${getTypeId(assignedType)}`;\n    return (_a2 = getCachedType(key)) != null ? _a2 : setCachedType(key, getAssignmentReducedTypeWorker(declaredType, assignedType));\n  }\n  function getAssignmentReducedTypeWorker(declaredType, assignedType) {\n    const filteredType = filterType(declaredType, (t) => typeMaybeAssignableTo(assignedType, t));\n    const reducedType = assignedType.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(assignedType) ? mapType(filteredType, getFreshTypeOfLiteralType) : filteredType;\n    return isTypeAssignableTo(assignedType, reducedType) ? reducedType : declaredType;\n  }\n  function isFunctionObjectType(type) {\n    const resolved = resolveStructuredTypeMembers(type);\n    return !!(resolved.callSignatures.length || resolved.constructSignatures.length || resolved.members.get(\"bind\") && isTypeSubtypeOf(type, globalFunctionType));\n  }\n  function getTypeFacts(type) {\n    if (type.flags & (2097152 /* Intersection */ | 465829888 /* Instantiable */)) {\n      type = getBaseConstraintOfType(type) || unknownType;\n    }\n    const flags = type.flags;\n    if (flags & (4 /* String */ | 268435456 /* StringMapping */)) {\n      return strictNullChecks ? 16317953 /* StringStrictFacts */ : 16776705 /* StringFacts */;\n    }\n    if (flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */)) {\n      const isEmpty = flags & 128 /* StringLiteral */ && type.value === \"\";\n      return strictNullChecks ? isEmpty ? 12123649 /* EmptyStringStrictFacts */ : 7929345 /* NonEmptyStringStrictFacts */ : isEmpty ? 12582401 /* EmptyStringFacts */ : 16776705 /* NonEmptyStringFacts */;\n    }\n    if (flags & (8 /* Number */ | 32 /* Enum */)) {\n      return strictNullChecks ? 16317698 /* NumberStrictFacts */ : 16776450 /* NumberFacts */;\n    }\n    if (flags & 256 /* NumberLiteral */) {\n      const isZero = type.value === 0;\n      return strictNullChecks ? isZero ? 12123394 /* ZeroNumberStrictFacts */ : 7929090 /* NonZeroNumberStrictFacts */ : isZero ? 12582146 /* ZeroNumberFacts */ : 16776450 /* NonZeroNumberFacts */;\n    }\n    if (flags & 64 /* BigInt */) {\n      return strictNullChecks ? 16317188 /* BigIntStrictFacts */ : 16775940 /* BigIntFacts */;\n    }\n    if (flags & 2048 /* BigIntLiteral */) {\n      const isZero = isZeroBigInt(type);\n      return strictNullChecks ? isZero ? 12122884 /* ZeroBigIntStrictFacts */ : 7928580 /* NonZeroBigIntStrictFacts */ : isZero ? 12581636 /* ZeroBigIntFacts */ : 16775940 /* NonZeroBigIntFacts */;\n    }\n    if (flags & 16 /* Boolean */) {\n      return strictNullChecks ? 16316168 /* BooleanStrictFacts */ : 16774920 /* BooleanFacts */;\n    }\n    if (flags & 528 /* BooleanLike */) {\n      return strictNullChecks ? type === falseType || type === regularFalseType ? 12121864 /* FalseStrictFacts */ : 7927560 /* TrueStrictFacts */ : type === falseType || type === regularFalseType ? 12580616 /* FalseFacts */ : 16774920 /* TrueFacts */;\n    }\n    if (flags & 524288 /* Object */) {\n      return getObjectFlags(type) & 16 /* Anonymous */ && isEmptyObjectType(type) ? strictNullChecks ? 83427327 /* EmptyObjectStrictFacts */ : 83886079 /* EmptyObjectFacts */ : isFunctionObjectType(type) ? strictNullChecks ? 7880640 /* FunctionStrictFacts */ : 16728e3 /* FunctionFacts */ : strictNullChecks ? 7888800 /* ObjectStrictFacts */ : 16736160 /* ObjectFacts */;\n    }\n    if (flags & 16384 /* Void */) {\n      return 9830144 /* VoidFacts */;\n    }\n    if (flags & 32768 /* Undefined */) {\n      return 26607360 /* UndefinedFacts */;\n    }\n    if (flags & 65536 /* Null */) {\n      return 42917664 /* NullFacts */;\n    }\n    if (flags & 12288 /* ESSymbolLike */) {\n      return strictNullChecks ? 7925520 /* SymbolStrictFacts */ : 16772880 /* SymbolFacts */;\n    }\n    if (flags & 67108864 /* NonPrimitive */) {\n      return strictNullChecks ? 7888800 /* ObjectStrictFacts */ : 16736160 /* ObjectFacts */;\n    }\n    if (flags & 131072 /* Never */) {\n      return 0 /* None */;\n    }\n    if (flags & 1048576 /* Union */) {\n      return reduceLeft(type.types, (facts, t) => facts | getTypeFacts(t), 0 /* None */);\n    }\n    if (flags & 2097152 /* Intersection */) {\n      return getIntersectionTypeFacts(type);\n    }\n    return 83886079 /* UnknownFacts */;\n  }\n  function getIntersectionTypeFacts(type) {\n    const ignoreObjects = maybeTypeOfKind(type, 131068 /* Primitive */);\n    let oredFacts = 0 /* None */;\n    let andedFacts = 134217727 /* All */;\n    for (const t of type.types) {\n      if (!(ignoreObjects && t.flags & 524288 /* Object */)) {\n        const f = getTypeFacts(t);\n        oredFacts |= f;\n        andedFacts &= f;\n      }\n    }\n    return oredFacts & 8256 /* OrFactsMask */ | andedFacts & 134209471 /* AndFactsMask */;\n  }\n  function getTypeWithFacts(type, include) {\n    return filterType(type, (t) => (getTypeFacts(t) & include) !== 0);\n  }\n  function getAdjustedTypeWithFacts(type, facts) {\n    const reduced = recombineUnknownType(getTypeWithFacts(strictNullChecks && type.flags & 2 /* Unknown */ ? unknownUnionType : type, facts));\n    if (strictNullChecks) {\n      switch (facts) {\n        case 524288 /* NEUndefined */:\n          return mapType(reduced, (t) => getTypeFacts(t) & 65536 /* EQUndefined */ ? getIntersectionType([t, getTypeFacts(t) & 131072 /* EQNull */ && !maybeTypeOfKind(reduced, 65536 /* Null */) ? getUnionType([emptyObjectType, nullType]) : emptyObjectType]) : t);\n        case 1048576 /* NENull */:\n          return mapType(reduced, (t) => getTypeFacts(t) & 131072 /* EQNull */ ? getIntersectionType([t, getTypeFacts(t) & 65536 /* EQUndefined */ && !maybeTypeOfKind(reduced, 32768 /* Undefined */) ? getUnionType([emptyObjectType, undefinedType]) : emptyObjectType]) : t);\n        case 2097152 /* NEUndefinedOrNull */:\n        case 4194304 /* Truthy */:\n          return mapType(reduced, (t) => getTypeFacts(t) & 262144 /* EQUndefinedOrNull */ ? getGlobalNonNullableTypeInstantiation(t) : t);\n      }\n    }\n    return reduced;\n  }\n  function recombineUnknownType(type) {\n    return type === unknownUnionType ? unknownType : type;\n  }\n  function getTypeWithDefault(type, defaultExpression) {\n    return defaultExpression ? getUnionType([getNonUndefinedType(type), getTypeOfExpression(defaultExpression)]) : type;\n  }\n  function getTypeOfDestructuredProperty(type, name) {\n    var _a2;\n    const nameType = getLiteralTypeFromPropertyName(name);\n    if (!isTypeUsableAsPropertyName(nameType))\n      return errorType;\n    const text = getPropertyNameFromType(nameType);\n    return getTypeOfPropertyOfType(type, text) || includeUndefinedInIndexSignature((_a2 = getApplicableIndexInfoForName(type, text)) == null ? void 0 : _a2.type) || errorType;\n  }\n  function getTypeOfDestructuredArrayElement(type, index) {\n    return everyType(type, isTupleLikeType) && getTupleElementType(type, index) || includeUndefinedInIndexSignature(checkIteratedTypeOrElementType(65 /* Destructuring */, type, undefinedType, void 0)) || errorType;\n  }\n  function includeUndefinedInIndexSignature(type) {\n    if (!type)\n      return type;\n    return compilerOptions.noUncheckedIndexedAccess ? getUnionType([type, undefinedType]) : type;\n  }\n  function getTypeOfDestructuredSpreadExpression(type) {\n    return createArrayType(checkIteratedTypeOrElementType(65 /* Destructuring */, type, undefinedType, void 0) || errorType);\n  }\n  function getAssignedTypeOfBinaryExpression(node) {\n    const isDestructuringDefaultAssignment = node.parent.kind === 209 /* ArrayLiteralExpression */ && isDestructuringAssignmentTarget(node.parent) || node.parent.kind === 305 /* PropertyAssignment */ && isDestructuringAssignmentTarget(node.parent.parent);\n    return isDestructuringDefaultAssignment ? getTypeWithDefault(getAssignedType(node), node.right) : getTypeOfExpression(node.right);\n  }\n  function isDestructuringAssignmentTarget(parent2) {\n    return parent2.parent.kind === 227 /* BinaryExpression */ && parent2.parent.left === parent2 || parent2.parent.kind === 251 /* ForOfStatement */ && parent2.parent.initializer === parent2;\n  }\n  function getAssignedTypeOfArrayLiteralElement(node, element) {\n    return getTypeOfDestructuredArrayElement(getAssignedType(node), node.elements.indexOf(element));\n  }\n  function getAssignedTypeOfSpreadExpression(node) {\n    return getTypeOfDestructuredSpreadExpression(getAssignedType(node.parent));\n  }\n  function getAssignedTypeOfPropertyAssignment(node) {\n    return getTypeOfDestructuredProperty(getAssignedType(node.parent), node.name);\n  }\n  function getAssignedTypeOfShorthandPropertyAssignment(node) {\n    return getTypeWithDefault(getAssignedTypeOfPropertyAssignment(node), node.objectAssignmentInitializer);\n  }\n  function getAssignedType(node) {\n    const { parent: parent2 } = node;\n    switch (parent2.kind) {\n      case 250 /* ForInStatement */:\n        return stringType;\n      case 251 /* ForOfStatement */:\n        return checkRightHandSideOfForOf(parent2) || errorType;\n      case 227 /* BinaryExpression */:\n        return getAssignedTypeOfBinaryExpression(parent2);\n      case 221 /* DeleteExpression */:\n        return undefinedType;\n      case 209 /* ArrayLiteralExpression */:\n        return getAssignedTypeOfArrayLiteralElement(parent2, node);\n      case 231 /* SpreadElement */:\n        return getAssignedTypeOfSpreadExpression(parent2);\n      case 305 /* PropertyAssignment */:\n        return getAssignedTypeOfPropertyAssignment(parent2);\n      case 306 /* ShorthandPropertyAssignment */:\n        return getAssignedTypeOfShorthandPropertyAssignment(parent2);\n    }\n    return errorType;\n  }\n  function getInitialTypeOfBindingElement(node) {\n    const pattern = node.parent;\n    const parentType = getInitialType(pattern.parent);\n    const type = pattern.kind === 206 /* ObjectBindingPattern */ ? getTypeOfDestructuredProperty(parentType, node.propertyName || node.name) : !node.dotDotDotToken ? getTypeOfDestructuredArrayElement(parentType, pattern.elements.indexOf(node)) : getTypeOfDestructuredSpreadExpression(parentType);\n    return getTypeWithDefault(type, node.initializer);\n  }\n  function getTypeOfInitializer(node) {\n    const links = getNodeLinks(node);\n    return links.resolvedType || getTypeOfExpression(node);\n  }\n  function getInitialTypeOfVariableDeclaration(node) {\n    if (node.initializer) {\n      return getTypeOfInitializer(node.initializer);\n    }\n    if (node.parent.parent.kind === 250 /* ForInStatement */) {\n      return stringType;\n    }\n    if (node.parent.parent.kind === 251 /* ForOfStatement */) {\n      return checkRightHandSideOfForOf(node.parent.parent) || errorType;\n    }\n    return errorType;\n  }\n  function getInitialType(node) {\n    return node.kind === 261 /* VariableDeclaration */ ? getInitialTypeOfVariableDeclaration(node) : getInitialTypeOfBindingElement(node);\n  }\n  function isEmptyArrayAssignment(node) {\n    return node.kind === 261 /* VariableDeclaration */ && node.initializer && isEmptyArrayLiteral2(node.initializer) || node.kind !== 208 /* BindingElement */ && node.parent.kind === 227 /* BinaryExpression */ && isEmptyArrayLiteral2(node.parent.right);\n  }\n  function getReferenceCandidate(node) {\n    switch (node.kind) {\n      case 217 /* ParenthesizedExpression */:\n        return getReferenceCandidate(node.expression);\n      case 227 /* BinaryExpression */:\n        switch (node.operatorToken.kind) {\n          case 63 /* EqualsToken */:\n          case 75 /* BarBarEqualsToken */:\n          case 76 /* AmpersandAmpersandEqualsToken */:\n          case 77 /* QuestionQuestionEqualsToken */:\n            return getReferenceCandidate(node.left);\n          case 27 /* CommaToken */:\n            return getReferenceCandidate(node.right);\n        }\n    }\n    return node;\n  }\n  function getReferenceRoot(node) {\n    const { parent: parent2 } = node;\n    return parent2.kind === 217 /* ParenthesizedExpression */ || parent2.kind === 227 /* BinaryExpression */ && parent2.operatorToken.kind === 63 /* EqualsToken */ && parent2.left === node || parent2.kind === 227 /* BinaryExpression */ && parent2.operatorToken.kind === 27 /* CommaToken */ && parent2.right === node ? getReferenceRoot(parent2) : node;\n  }\n  function getTypeOfSwitchClause(clause) {\n    if (clause.kind === 298 /* CaseClause */) {\n      return getRegularTypeOfLiteralType(getTypeOfExpression(clause.expression));\n    }\n    return neverType;\n  }\n  function getSwitchClauseTypes(switchStatement) {\n    const links = getNodeLinks(switchStatement);\n    if (!links.switchTypes) {\n      links.switchTypes = [];\n      for (const clause of switchStatement.caseBlock.clauses) {\n        links.switchTypes.push(getTypeOfSwitchClause(clause));\n      }\n    }\n    return links.switchTypes;\n  }\n  function getSwitchClauseTypeOfWitnesses(switchStatement) {\n    if (some(switchStatement.caseBlock.clauses, (clause) => clause.kind === 298 /* CaseClause */ && !isStringLiteralLike(clause.expression))) {\n      return void 0;\n    }\n    const witnesses = [];\n    for (const clause of switchStatement.caseBlock.clauses) {\n      const text = clause.kind === 298 /* CaseClause */ ? clause.expression.text : void 0;\n      witnesses.push(text && !contains(witnesses, text) ? text : void 0);\n    }\n    return witnesses;\n  }\n  function eachTypeContainedIn(source, types) {\n    return source.flags & 1048576 /* Union */ ? !forEach(source.types, (t) => !contains(types, t)) : contains(types, source);\n  }\n  function isTypeSubsetOf(source, target) {\n    return source === target || target.flags & 1048576 /* Union */ && isTypeSubsetOfUnion(source, target);\n  }\n  function isTypeSubsetOfUnion(source, target) {\n    if (source.flags & 1048576 /* Union */) {\n      for (const t of source.types) {\n        if (!containsType(target.types, t)) {\n          return false;\n        }\n      }\n      return true;\n    }\n    if (source.flags & 1024 /* EnumLiteral */ && getBaseTypeOfEnumLiteralType(source) === target) {\n      return true;\n    }\n    return containsType(target.types, source);\n  }\n  function forEachType(type, f) {\n    return type.flags & 1048576 /* Union */ ? forEach(type.types, f) : f(type);\n  }\n  function someType(type, f) {\n    return type.flags & 1048576 /* Union */ ? some(type.types, f) : f(type);\n  }\n  function everyType(type, f) {\n    return type.flags & 1048576 /* Union */ ? every(type.types, f) : f(type);\n  }\n  function everyContainedType(type, f) {\n    return type.flags & 3145728 /* UnionOrIntersection */ ? every(type.types, f) : f(type);\n  }\n  function filterType(type, f) {\n    if (type.flags & 1048576 /* Union */) {\n      const types = type.types;\n      const filtered = filter(types, f);\n      if (filtered === types) {\n        return type;\n      }\n      const origin = type.origin;\n      let newOrigin;\n      if (origin && origin.flags & 1048576 /* Union */) {\n        const originTypes = origin.types;\n        const originFiltered = filter(originTypes, (t) => !!(t.flags & 1048576 /* Union */) || f(t));\n        if (originTypes.length - originFiltered.length === types.length - filtered.length) {\n          if (originFiltered.length === 1) {\n            return originFiltered[0];\n          }\n          newOrigin = createOriginUnionOrIntersectionType(1048576 /* Union */, originFiltered);\n        }\n      }\n      return getUnionTypeFromSortedList(filtered, type.objectFlags, void 0, void 0, newOrigin);\n    }\n    return type.flags & 131072 /* Never */ || f(type) ? type : neverType;\n  }\n  function removeType(type, targetType) {\n    return filterType(type, (t) => t !== targetType);\n  }\n  function countTypes(type) {\n    return type.flags & 1048576 /* Union */ ? type.types.length : 1;\n  }\n  function mapType(type, mapper, noReductions) {\n    if (type.flags & 131072 /* Never */) {\n      return type;\n    }\n    if (!(type.flags & 1048576 /* Union */)) {\n      return mapper(type);\n    }\n    const origin = type.origin;\n    const types = origin && origin.flags & 1048576 /* Union */ ? origin.types : type.types;\n    let mappedTypes;\n    let changed = false;\n    for (const t of types) {\n      const mapped = t.flags & 1048576 /* Union */ ? mapType(t, mapper, noReductions) : mapper(t);\n      changed || (changed = t !== mapped);\n      if (mapped) {\n        if (!mappedTypes) {\n          mappedTypes = [mapped];\n        } else {\n          mappedTypes.push(mapped);\n        }\n      }\n    }\n    return changed ? mappedTypes && getUnionType(mappedTypes, noReductions ? 0 /* None */ : 1 /* Literal */) : type;\n  }\n  function mapTypeWithAlias(type, mapper, aliasSymbol, aliasTypeArguments) {\n    return type.flags & 1048576 /* Union */ && aliasSymbol ? getUnionType(map(type.types, mapper), 1 /* Literal */, aliasSymbol, aliasTypeArguments) : mapType(type, mapper);\n  }\n  function extractTypesOfKind(type, kind) {\n    return filterType(type, (t) => (t.flags & kind) !== 0);\n  }\n  function replacePrimitivesWithLiterals(typeWithPrimitives, typeWithLiterals) {\n    if (maybeTypeOfKind(typeWithPrimitives, 4 /* String */ | 134217728 /* TemplateLiteral */ | 8 /* Number */ | 64 /* BigInt */) && maybeTypeOfKind(typeWithLiterals, 128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */ | 256 /* NumberLiteral */ | 2048 /* BigIntLiteral */)) {\n      return mapType(typeWithPrimitives, (t) => t.flags & 4 /* String */ ? extractTypesOfKind(typeWithLiterals, 4 /* String */ | 128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) : isPatternLiteralType(t) && !maybeTypeOfKind(typeWithLiterals, 4 /* String */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? extractTypesOfKind(typeWithLiterals, 128 /* StringLiteral */) : t.flags & 8 /* Number */ ? extractTypesOfKind(typeWithLiterals, 8 /* Number */ | 256 /* NumberLiteral */) : t.flags & 64 /* BigInt */ ? extractTypesOfKind(typeWithLiterals, 64 /* BigInt */ | 2048 /* BigIntLiteral */) : t);\n    }\n    return typeWithPrimitives;\n  }\n  function isIncomplete(flowType) {\n    return flowType.flags === 0;\n  }\n  function getTypeFromFlowType(flowType) {\n    return flowType.flags === 0 ? flowType.type : flowType;\n  }\n  function createFlowType(type, incomplete) {\n    return incomplete ? { flags: 0, type: type.flags & 131072 /* Never */ ? silentNeverType : type } : type;\n  }\n  function createEvolvingArrayType(elementType) {\n    const result = createObjectType(256 /* EvolvingArray */);\n    result.elementType = elementType;\n    return result;\n  }\n  function getEvolvingArrayType(elementType) {\n    return evolvingArrayTypes[elementType.id] || (evolvingArrayTypes[elementType.id] = createEvolvingArrayType(elementType));\n  }\n  function addEvolvingArrayElementType(evolvingArrayType, node) {\n    const elementType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(getContextFreeTypeOfExpression(node)));\n    return isTypeSubsetOf(elementType, evolvingArrayType.elementType) ? evolvingArrayType : getEvolvingArrayType(getUnionType([evolvingArrayType.elementType, elementType]));\n  }\n  function createFinalArrayType(elementType) {\n    return elementType.flags & 131072 /* Never */ ? autoArrayType : createArrayType(elementType.flags & 1048576 /* Union */ ? getUnionType(elementType.types, 2 /* Subtype */) : elementType);\n  }\n  function getFinalArrayType(evolvingArrayType) {\n    return evolvingArrayType.finalArrayType || (evolvingArrayType.finalArrayType = createFinalArrayType(evolvingArrayType.elementType));\n  }\n  function finalizeEvolvingArrayType(type) {\n    return getObjectFlags(type) & 256 /* EvolvingArray */ ? getFinalArrayType(type) : type;\n  }\n  function getElementTypeOfEvolvingArrayType(type) {\n    return getObjectFlags(type) & 256 /* EvolvingArray */ ? type.elementType : neverType;\n  }\n  function isEvolvingArrayTypeList(types) {\n    let hasEvolvingArrayType = false;\n    for (const t of types) {\n      if (!(t.flags & 131072 /* Never */)) {\n        if (!(getObjectFlags(t) & 256 /* EvolvingArray */)) {\n          return false;\n        }\n        hasEvolvingArrayType = true;\n      }\n    }\n    return hasEvolvingArrayType;\n  }\n  function isEvolvingArrayOperationTarget(node) {\n    const root = getReferenceRoot(node);\n    const parent2 = root.parent;\n    const isLengthPushOrUnshift = isPropertyAccessExpression(parent2) && (parent2.name.escapedText === \"length\" || parent2.parent.kind === 213 /* CallExpression */ && isIdentifier(parent2.name) && isPushOrUnshiftIdentifier(parent2.name));\n    const isElementAssignment = parent2.kind === 212 /* ElementAccessExpression */ && parent2.expression === root && parent2.parent.kind === 227 /* BinaryExpression */ && parent2.parent.operatorToken.kind === 63 /* EqualsToken */ && parent2.parent.left === parent2 && !isAssignmentTarget(parent2.parent) && isTypeAssignableToKind(getTypeOfExpression(parent2.argumentExpression), 296 /* NumberLike */);\n    return isLengthPushOrUnshift || isElementAssignment;\n  }\n  function isDeclarationWithExplicitTypeAnnotation(node) {\n    return (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isParameter(node)) && !!(getEffectiveTypeAnnotationNode(node) || isInJSFile(node) && hasInitializer(node) && node.initializer && isFunctionExpressionOrArrowFunction(node.initializer) && getEffectiveReturnTypeNode(node.initializer));\n  }\n  function getExplicitTypeOfSymbol(symbol, diagnostic) {\n    symbol = resolveSymbol(symbol);\n    if (symbol.flags & (16 /* Function */ | 8192 /* Method */ | 32 /* Class */ | 512 /* ValueModule */)) {\n      return getTypeOfSymbol(symbol);\n    }\n    if (symbol.flags & (3 /* Variable */ | 4 /* Property */)) {\n      if (getCheckFlags(symbol) & 262144 /* Mapped */) {\n        const origin = symbol.syntheticOrigin;\n        if (origin && getExplicitTypeOfSymbol(origin)) {\n          return getTypeOfSymbol(symbol);\n        }\n      }\n      const declaration = symbol.valueDeclaration;\n      if (declaration) {\n        if (isDeclarationWithExplicitTypeAnnotation(declaration)) {\n          return getTypeOfSymbol(symbol);\n        }\n        if (isVariableDeclaration(declaration) && declaration.parent.parent.kind === 251 /* ForOfStatement */) {\n          const statement = declaration.parent.parent;\n          const expressionType = getTypeOfDottedName(statement.expression, void 0);\n          if (expressionType) {\n            const use = statement.awaitModifier ? 15 /* ForAwaitOf */ : 13 /* ForOf */;\n            return checkIteratedTypeOrElementType(use, expressionType, undefinedType, void 0);\n          }\n        }\n        if (diagnostic) {\n          addRelatedInfo(diagnostic, createDiagnosticForNode(declaration, Diagnostics._0_needs_an_explicit_type_annotation, symbolToString(symbol)));\n        }\n      }\n    }\n  }\n  function getTypeOfDottedName(node, diagnostic) {\n    if (!(node.flags & 33554432 /* InWithStatement */)) {\n      switch (node.kind) {\n        case 79 /* Identifier */:\n          const symbol = getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(node));\n          return getExplicitTypeOfSymbol(symbol, diagnostic);\n        case 109 /* ThisKeyword */:\n          return getExplicitThisType(node);\n        case 107 /* SuperKeyword */:\n          return checkSuperExpression(node);\n        case 211 /* PropertyAccessExpression */: {\n          const type = getTypeOfDottedName(node.expression, diagnostic);\n          if (type) {\n            const name = node.name;\n            let prop;\n            if (isPrivateIdentifier(name)) {\n              if (!type.symbol) {\n                return void 0;\n              }\n              prop = getPropertyOfType(type, getSymbolNameForPrivateIdentifier(type.symbol, name.escapedText));\n            } else {\n              prop = getPropertyOfType(type, name.escapedText);\n            }\n            return prop && getExplicitTypeOfSymbol(prop, diagnostic);\n          }\n          return void 0;\n        }\n        case 217 /* ParenthesizedExpression */:\n          return getTypeOfDottedName(node.expression, diagnostic);\n      }\n    }\n  }\n  function getEffectsSignature(node) {\n    const links = getNodeLinks(node);\n    let signature = links.effectsSignature;\n    if (signature === void 0) {\n      let funcType;\n      if (node.parent.kind === 245 /* ExpressionStatement */) {\n        funcType = getTypeOfDottedName(node.expression, void 0);\n      } else if (node.expression.kind !== 107 /* SuperKeyword */) {\n        if (isOptionalChain(node)) {\n          funcType = checkNonNullType(\n            getOptionalExpressionType(checkExpression(node.expression), node.expression),\n            node.expression\n          );\n        } else {\n          funcType = checkNonNullExpression(node.expression);\n        }\n      }\n      const signatures = getSignaturesOfType(funcType && getApparentType(funcType) || unknownType, 0 /* Call */);\n      const candidate = signatures.length === 1 && !signatures[0].typeParameters ? signatures[0] : some(signatures, hasTypePredicateOrNeverReturnType) ? getResolvedSignature(node) : void 0;\n      signature = links.effectsSignature = candidate && hasTypePredicateOrNeverReturnType(candidate) ? candidate : unknownSignature;\n    }\n    return signature === unknownSignature ? void 0 : signature;\n  }\n  function hasTypePredicateOrNeverReturnType(signature) {\n    return !!(getTypePredicateOfSignature(signature) || signature.declaration && (getReturnTypeFromAnnotation(signature.declaration) || unknownType).flags & 131072 /* Never */);\n  }\n  function getTypePredicateArgument(predicate, callExpression) {\n    if (predicate.kind === 1 /* Identifier */ || predicate.kind === 3 /* AssertsIdentifier */) {\n      return callExpression.arguments[predicate.parameterIndex];\n    }\n    const invokedExpression = skipParentheses(callExpression.expression);\n    return isAccessExpression(invokedExpression) ? skipParentheses(invokedExpression.expression) : void 0;\n  }\n  function reportFlowControlError(node) {\n    const block = findAncestor(node, isFunctionOrModuleBlock);\n    const sourceFile = getSourceFileOfNode(node);\n    const span = getSpanOfTokenAtPosition(sourceFile, block.statements.pos);\n    diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis));\n  }\n  function isReachableFlowNode(flow) {\n    const result = isReachableFlowNodeWorker(flow, false);\n    lastFlowNode = flow;\n    lastFlowNodeReachable = result;\n    return result;\n  }\n  function isFalseExpression(expr) {\n    const node = skipParentheses(expr, true);\n    return node.kind === 96 /* FalseKeyword */ || node.kind === 227 /* BinaryExpression */ && (node.operatorToken.kind === 55 /* AmpersandAmpersandToken */ && (isFalseExpression(node.left) || isFalseExpression(node.right)) || node.operatorToken.kind === 56 /* BarBarToken */ && isFalseExpression(node.left) && isFalseExpression(node.right));\n  }\n  function isReachableFlowNodeWorker(flow, noCacheCheck) {\n    while (true) {\n      if (flow === lastFlowNode) {\n        return lastFlowNodeReachable;\n      }\n      const flags = flow.flags;\n      if (flags & 4096 /* Shared */) {\n        if (!noCacheCheck) {\n          const id = getFlowNodeId(flow);\n          const reachable = flowNodeReachable[id];\n          return reachable !== void 0 ? reachable : flowNodeReachable[id] = isReachableFlowNodeWorker(flow, true);\n        }\n        noCacheCheck = false;\n      }\n      if (flags & (16 /* Assignment */ | 96 /* Condition */ | 256 /* ArrayMutation */)) {\n        flow = flow.antecedent;\n      } else if (flags & 512 /* Call */) {\n        const signature = getEffectsSignature(flow.node);\n        if (signature) {\n          const predicate = getTypePredicateOfSignature(signature);\n          if (predicate && predicate.kind === 3 /* AssertsIdentifier */ && !predicate.type) {\n            const predicateArgument = flow.node.arguments[predicate.parameterIndex];\n            if (predicateArgument && isFalseExpression(predicateArgument)) {\n              return false;\n            }\n          }\n          if (getReturnTypeOfSignature(signature).flags & 131072 /* Never */) {\n            return false;\n          }\n        }\n        flow = flow.antecedent;\n      } else if (flags & 4 /* BranchLabel */) {\n        return some(flow.antecedents, (f) => isReachableFlowNodeWorker(f, false));\n      } else if (flags & 8 /* LoopLabel */) {\n        const antecedents = flow.antecedents;\n        if (antecedents === void 0 || antecedents.length === 0) {\n          return false;\n        }\n        flow = antecedents[0];\n      } else if (flags & 128 /* SwitchClause */) {\n        if (flow.clauseStart === flow.clauseEnd && isExhaustiveSwitchStatement(flow.switchStatement)) {\n          return false;\n        }\n        flow = flow.antecedent;\n      } else if (flags & 1024 /* ReduceLabel */) {\n        lastFlowNode = void 0;\n        const target = flow.target;\n        const saveAntecedents = target.antecedents;\n        target.antecedents = flow.antecedents;\n        const result = isReachableFlowNodeWorker(flow.antecedent, false);\n        target.antecedents = saveAntecedents;\n        return result;\n      } else {\n        return !(flags & 1 /* Unreachable */);\n      }\n    }\n  }\n  function isPostSuperFlowNode(flow, noCacheCheck) {\n    while (true) {\n      const flags = flow.flags;\n      if (flags & 4096 /* Shared */) {\n        if (!noCacheCheck) {\n          const id = getFlowNodeId(flow);\n          const postSuper = flowNodePostSuper[id];\n          return postSuper !== void 0 ? postSuper : flowNodePostSuper[id] = isPostSuperFlowNode(flow, true);\n        }\n        noCacheCheck = false;\n      }\n      if (flags & (16 /* Assignment */ | 96 /* Condition */ | 256 /* ArrayMutation */ | 128 /* SwitchClause */)) {\n        flow = flow.antecedent;\n      } else if (flags & 512 /* Call */) {\n        if (flow.node.expression.kind === 107 /* SuperKeyword */) {\n          return true;\n        }\n        flow = flow.antecedent;\n      } else if (flags & 4 /* BranchLabel */) {\n        return every(flow.antecedents, (f) => isPostSuperFlowNode(f, false));\n      } else if (flags & 8 /* LoopLabel */) {\n        flow = flow.antecedents[0];\n      } else if (flags & 1024 /* ReduceLabel */) {\n        const target = flow.target;\n        const saveAntecedents = target.antecedents;\n        target.antecedents = flow.antecedents;\n        const result = isPostSuperFlowNode(flow.antecedent, false);\n        target.antecedents = saveAntecedents;\n        return result;\n      } else {\n        return !!(flags & 1 /* Unreachable */);\n      }\n    }\n  }\n  function isConstantReference(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */: {\n        const symbol = getResolvedSymbol(node);\n        return isConstVariable(symbol) || isParameterOrCatchClauseVariable(symbol) && !isSymbolAssigned(symbol);\n      }\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        return isConstantReference(node.expression) && isReadonlySymbol(getNodeLinks(node).resolvedSymbol || unknownSymbol);\n    }\n    return false;\n  }\n  function getFlowTypeOfReference(reference, declaredType, initialType = declaredType, flowContainer, flowNode = reference.flowNode) {\n    let key;\n    let isKeySet = false;\n    let flowDepth = 0;\n    if (flowAnalysisDisabled) {\n      return errorType;\n    }\n    if (!flowNode) {\n      return declaredType;\n    }\n    flowInvocationCount++;\n    const sharedFlowStart = sharedFlowCount;\n    const evolvedType = getTypeFromFlowType(getTypeAtFlowNode(flowNode));\n    sharedFlowCount = sharedFlowStart;\n    const resultType = getObjectFlags(evolvedType) & 256 /* EvolvingArray */ && isEvolvingArrayOperationTarget(reference) ? autoArrayType : finalizeEvolvingArrayType(evolvedType);\n    if (resultType === unreachableNeverType || reference.parent && reference.parent.kind === 236 /* NonNullExpression */ && !(resultType.flags & 131072 /* Never */) && getTypeWithFacts(resultType, 2097152 /* NEUndefinedOrNull */).flags & 131072 /* Never */) {\n      return declaredType;\n    }\n    return resultType === nonNullUnknownType ? unknownType : resultType;\n    function getOrSetCacheKey() {\n      if (isKeySet) {\n        return key;\n      }\n      isKeySet = true;\n      return key = getFlowCacheKey(reference, declaredType, initialType, flowContainer);\n    }\n    function getTypeAtFlowNode(flow) {\n      var _a2;\n      if (flowDepth === getMaxFlowDepth(compilerOptions)) {\n        (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.CheckTypes, \"getTypeAtFlowNode_DepthLimit\", { flowId: flow.id });\n        flowAnalysisDisabled = true;\n        reportFlowControlError(reference);\n        return errorType;\n      }\n      flowDepth++;\n      let sharedFlow;\n      while (true) {\n        const flags = flow.flags;\n        if (flags & 4096 /* Shared */) {\n          for (let i = sharedFlowStart; i < sharedFlowCount; i++) {\n            if (sharedFlowNodes[i] === flow) {\n              flowDepth--;\n              return sharedFlowTypes[i];\n            }\n          }\n          sharedFlow = flow;\n        }\n        let type;\n        if (flags & 16 /* Assignment */) {\n          type = getTypeAtFlowAssignment(flow);\n          if (!type) {\n            flow = flow.antecedent;\n            continue;\n          }\n        } else if (flags & 512 /* Call */) {\n          type = getTypeAtFlowCall(flow);\n          if (!type) {\n            flow = flow.antecedent;\n            continue;\n          }\n        } else if (flags & 96 /* Condition */) {\n          type = getTypeAtFlowCondition(flow);\n        } else if (flags & 128 /* SwitchClause */) {\n          type = getTypeAtSwitchClause(flow);\n        } else if (flags & 12 /* Label */) {\n          if (flow.antecedents.length === 1) {\n            flow = flow.antecedents[0];\n            continue;\n          }\n          type = flags & 4 /* BranchLabel */ ? getTypeAtFlowBranchLabel(flow) : getTypeAtFlowLoopLabel(flow);\n        } else if (flags & 256 /* ArrayMutation */) {\n          type = getTypeAtFlowArrayMutation(flow);\n          if (!type) {\n            flow = flow.antecedent;\n            continue;\n          }\n        } else if (flags & 1024 /* ReduceLabel */) {\n          const target = flow.target;\n          const saveAntecedents = target.antecedents;\n          target.antecedents = flow.antecedents;\n          type = getTypeAtFlowNode(flow.antecedent);\n          target.antecedents = saveAntecedents;\n        } else if (flags & 2 /* Start */) {\n          const container = flow.node;\n          if (container && container !== flowContainer && reference.kind !== 211 /* PropertyAccessExpression */ && reference.kind !== 212 /* ElementAccessExpression */ && reference.kind !== 109 /* ThisKeyword */) {\n            flow = container.flowNode;\n            continue;\n          }\n          type = initialType;\n        } else {\n          type = convertAutoToAny(declaredType);\n        }\n        if (sharedFlow) {\n          sharedFlowNodes[sharedFlowCount] = sharedFlow;\n          sharedFlowTypes[sharedFlowCount] = type;\n          sharedFlowCount++;\n        }\n        flowDepth--;\n        return type;\n      }\n    }\n    function getInitialOrAssignedType(flow) {\n      const node = flow.node;\n      return getNarrowableTypeForReference(node.kind === 261 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */ ? getInitialType(node) : getAssignedType(node), reference);\n    }\n    function getTypeAtFlowAssignment(flow) {\n      const node = flow.node;\n      if (isMatchingReference(reference, node)) {\n        if (!isReachableFlowNode(flow)) {\n          return unreachableNeverType;\n        }\n        if (getAssignmentTargetKind(node) === 2 /* Compound */) {\n          const flowType = getTypeAtFlowNode(flow.antecedent);\n          return createFlowType(getBaseTypeOfLiteralType(getTypeFromFlowType(flowType)), isIncomplete(flowType));\n        }\n        if (declaredType === autoType || declaredType === autoArrayType) {\n          if (isEmptyArrayAssignment(node)) {\n            return getEvolvingArrayType(neverType);\n          }\n          const assignedType = getWidenedLiteralType(getInitialOrAssignedType(flow));\n          return isTypeAssignableTo(assignedType, declaredType) ? assignedType : anyArrayType;\n        }\n        if (declaredType.flags & 1048576 /* Union */) {\n          return getAssignmentReducedType(declaredType, getInitialOrAssignedType(flow));\n        }\n        return declaredType;\n      }\n      if (containsMatchingReference(reference, node)) {\n        if (!isReachableFlowNode(flow)) {\n          return unreachableNeverType;\n        }\n        if (isVariableDeclaration(node) && (isInJSFile(node) || isVarConst(node))) {\n          const init = getDeclaredExpandoInitializer(node);\n          if (init && (init.kind === 218 /* FunctionExpression */ || init.kind === 219 /* ArrowFunction */)) {\n            return getTypeAtFlowNode(flow.antecedent);\n          }\n        }\n        return declaredType;\n      }\n      if (isVariableDeclaration(node) && node.parent.parent.kind === 250 /* ForInStatement */ && isMatchingReference(reference, node.parent.parent.expression)) {\n        return getNonNullableTypeIfNeeded(finalizeEvolvingArrayType(getTypeFromFlowType(getTypeAtFlowNode(flow.antecedent))));\n      }\n      return void 0;\n    }\n    function narrowTypeByAssertion(type, expr) {\n      const node = skipParentheses(expr, true);\n      if (node.kind === 96 /* FalseKeyword */) {\n        return unreachableNeverType;\n      }\n      if (node.kind === 227 /* BinaryExpression */) {\n        if (node.operatorToken.kind === 55 /* AmpersandAmpersandToken */) {\n          return narrowTypeByAssertion(narrowTypeByAssertion(type, node.left), node.right);\n        }\n        if (node.operatorToken.kind === 56 /* BarBarToken */) {\n          return getUnionType([narrowTypeByAssertion(type, node.left), narrowTypeByAssertion(type, node.right)]);\n        }\n      }\n      return narrowType(type, node, true);\n    }\n    function getTypeAtFlowCall(flow) {\n      const signature = getEffectsSignature(flow.node);\n      if (signature) {\n        const predicate = getTypePredicateOfSignature(signature);\n        if (predicate && (predicate.kind === 2 /* AssertsThis */ || predicate.kind === 3 /* AssertsIdentifier */)) {\n          const flowType = getTypeAtFlowNode(flow.antecedent);\n          const type = finalizeEvolvingArrayType(getTypeFromFlowType(flowType));\n          const narrowedType = predicate.type ? narrowTypeByTypePredicate(type, predicate, flow.node, true) : predicate.kind === 3 /* AssertsIdentifier */ && predicate.parameterIndex >= 0 && predicate.parameterIndex < flow.node.arguments.length ? narrowTypeByAssertion(type, flow.node.arguments[predicate.parameterIndex]) : type;\n          return narrowedType === type ? flowType : createFlowType(narrowedType, isIncomplete(flowType));\n        }\n        if (getReturnTypeOfSignature(signature).flags & 131072 /* Never */) {\n          return unreachableNeverType;\n        }\n      }\n      return void 0;\n    }\n    function getTypeAtFlowArrayMutation(flow) {\n      if (declaredType === autoType || declaredType === autoArrayType) {\n        const node = flow.node;\n        const expr = node.kind === 213 /* CallExpression */ ? node.expression.expression : node.left.expression;\n        if (isMatchingReference(reference, getReferenceCandidate(expr))) {\n          const flowType = getTypeAtFlowNode(flow.antecedent);\n          const type = getTypeFromFlowType(flowType);\n          if (getObjectFlags(type) & 256 /* EvolvingArray */) {\n            let evolvedType2 = type;\n            if (node.kind === 213 /* CallExpression */) {\n              for (const arg of node.arguments) {\n                evolvedType2 = addEvolvingArrayElementType(evolvedType2, arg);\n              }\n            } else {\n              const indexType = getContextFreeTypeOfExpression(node.left.argumentExpression);\n              if (isTypeAssignableToKind(indexType, 296 /* NumberLike */)) {\n                evolvedType2 = addEvolvingArrayElementType(evolvedType2, node.right);\n              }\n            }\n            return evolvedType2 === type ? flowType : createFlowType(evolvedType2, isIncomplete(flowType));\n          }\n          return flowType;\n        }\n      }\n      return void 0;\n    }\n    function getTypeAtFlowCondition(flow) {\n      const flowType = getTypeAtFlowNode(flow.antecedent);\n      const type = getTypeFromFlowType(flowType);\n      if (type.flags & 131072 /* Never */) {\n        return flowType;\n      }\n      const assumeTrue = (flow.flags & 32 /* TrueCondition */) !== 0;\n      const nonEvolvingType = finalizeEvolvingArrayType(type);\n      const narrowedType = narrowType(nonEvolvingType, flow.node, assumeTrue);\n      if (narrowedType === nonEvolvingType) {\n        return flowType;\n      }\n      return createFlowType(narrowedType, isIncomplete(flowType));\n    }\n    function getTypeAtSwitchClause(flow) {\n      const expr = flow.switchStatement.expression;\n      const flowType = getTypeAtFlowNode(flow.antecedent);\n      let type = getTypeFromFlowType(flowType);\n      if (isMatchingReference(reference, expr)) {\n        type = narrowTypeBySwitchOnDiscriminant(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);\n      } else if (expr.kind === 222 /* TypeOfExpression */ && isMatchingReference(reference, expr.expression)) {\n        type = narrowTypeBySwitchOnTypeOf(type, flow.switchStatement, flow.clauseStart, flow.clauseEnd);\n      } else {\n        if (strictNullChecks) {\n          if (optionalChainContainsReference(expr, reference)) {\n            type = narrowTypeBySwitchOptionalChainContainment(\n              type,\n              flow.switchStatement,\n              flow.clauseStart,\n              flow.clauseEnd,\n              (t) => !(t.flags & (32768 /* Undefined */ | 131072 /* Never */))\n            );\n          } else if (expr.kind === 222 /* TypeOfExpression */ && optionalChainContainsReference(expr.expression, reference)) {\n            type = narrowTypeBySwitchOptionalChainContainment(\n              type,\n              flow.switchStatement,\n              flow.clauseStart,\n              flow.clauseEnd,\n              (t) => !(t.flags & 131072 /* Never */ || t.flags & 128 /* StringLiteral */ && t.value === \"undefined\")\n            );\n          }\n        }\n        const access = getDiscriminantPropertyAccess(expr, type);\n        if (access) {\n          type = narrowTypeBySwitchOnDiscriminantProperty(type, access, flow.switchStatement, flow.clauseStart, flow.clauseEnd);\n        }\n      }\n      return createFlowType(type, isIncomplete(flowType));\n    }\n    function getTypeAtFlowBranchLabel(flow) {\n      const antecedentTypes = [];\n      let subtypeReduction = false;\n      let seenIncomplete = false;\n      let bypassFlow;\n      for (const antecedent of flow.antecedents) {\n        if (!bypassFlow && antecedent.flags & 128 /* SwitchClause */ && antecedent.clauseStart === antecedent.clauseEnd) {\n          bypassFlow = antecedent;\n          continue;\n        }\n        const flowType = getTypeAtFlowNode(antecedent);\n        const type = getTypeFromFlowType(flowType);\n        if (type === declaredType && declaredType === initialType) {\n          return type;\n        }\n        pushIfUnique(antecedentTypes, type);\n        if (!isTypeSubsetOf(type, declaredType)) {\n          subtypeReduction = true;\n        }\n        if (isIncomplete(flowType)) {\n          seenIncomplete = true;\n        }\n      }\n      if (bypassFlow) {\n        const flowType = getTypeAtFlowNode(bypassFlow);\n        const type = getTypeFromFlowType(flowType);\n        if (!contains(antecedentTypes, type) && !isExhaustiveSwitchStatement(bypassFlow.switchStatement)) {\n          if (type === declaredType && declaredType === initialType) {\n            return type;\n          }\n          antecedentTypes.push(type);\n          if (!isTypeSubsetOf(type, declaredType)) {\n            subtypeReduction = true;\n          }\n          if (isIncomplete(flowType)) {\n            seenIncomplete = true;\n          }\n        }\n      }\n      return createFlowType(getUnionOrEvolvingArrayType(antecedentTypes, subtypeReduction ? 2 /* Subtype */ : 1 /* Literal */), seenIncomplete);\n    }\n    function getTypeAtFlowLoopLabel(flow) {\n      const id = getFlowNodeId(flow);\n      const cache = flowLoopCaches[id] || (flowLoopCaches[id] = new Map2());\n      const key2 = getOrSetCacheKey();\n      if (!key2) {\n        return declaredType;\n      }\n      const cached = cache.get(key2);\n      if (cached) {\n        return cached;\n      }\n      for (let i = flowLoopStart; i < flowLoopCount; i++) {\n        if (flowLoopNodes[i] === flow && flowLoopKeys[i] === key2 && flowLoopTypes[i].length) {\n          return createFlowType(getUnionOrEvolvingArrayType(flowLoopTypes[i], 1 /* Literal */), true);\n        }\n      }\n      const antecedentTypes = [];\n      let subtypeReduction = false;\n      let firstAntecedentType;\n      for (const antecedent of flow.antecedents) {\n        let flowType;\n        if (!firstAntecedentType) {\n          flowType = firstAntecedentType = getTypeAtFlowNode(antecedent);\n        } else {\n          flowLoopNodes[flowLoopCount] = flow;\n          flowLoopKeys[flowLoopCount] = key2;\n          flowLoopTypes[flowLoopCount] = antecedentTypes;\n          flowLoopCount++;\n          const saveFlowTypeCache = flowTypeCache;\n          flowTypeCache = void 0;\n          flowType = getTypeAtFlowNode(antecedent);\n          flowTypeCache = saveFlowTypeCache;\n          flowLoopCount--;\n          const cached2 = cache.get(key2);\n          if (cached2) {\n            return cached2;\n          }\n        }\n        const type = getTypeFromFlowType(flowType);\n        pushIfUnique(antecedentTypes, type);\n        if (!isTypeSubsetOf(type, declaredType)) {\n          subtypeReduction = true;\n        }\n        if (type === declaredType) {\n          break;\n        }\n      }\n      const result = getUnionOrEvolvingArrayType(antecedentTypes, subtypeReduction ? 2 /* Subtype */ : 1 /* Literal */);\n      if (isIncomplete(firstAntecedentType)) {\n        return createFlowType(result, true);\n      }\n      cache.set(key2, result);\n      return result;\n    }\n    function getUnionOrEvolvingArrayType(types, subtypeReduction) {\n      if (isEvolvingArrayTypeList(types)) {\n        return getEvolvingArrayType(getUnionType(map(types, getElementTypeOfEvolvingArrayType)));\n      }\n      const result = recombineUnknownType(getUnionType(sameMap(types, finalizeEvolvingArrayType), subtypeReduction));\n      if (result !== declaredType && result.flags & declaredType.flags & 1048576 /* Union */ && arraysEqual(result.types, declaredType.types)) {\n        return declaredType;\n      }\n      return result;\n    }\n    function getCandidateDiscriminantPropertyAccess(expr) {\n      if (isBindingPattern(reference) || isFunctionExpressionOrArrowFunction(reference) || isObjectLiteralMethod(reference)) {\n        if (isIdentifier(expr)) {\n          const symbol = getResolvedSymbol(expr);\n          const declaration = symbol.valueDeclaration;\n          if (declaration && (isBindingElement(declaration) || isParameter(declaration)) && reference === declaration.parent && !declaration.initializer && !declaration.dotDotDotToken) {\n            return declaration;\n          }\n        }\n      } else if (isAccessExpression(expr)) {\n        if (isMatchingReference(reference, expr.expression)) {\n          return expr;\n        }\n      } else if (isIdentifier(expr)) {\n        const symbol = getResolvedSymbol(expr);\n        if (isConstVariable(symbol)) {\n          const declaration = symbol.valueDeclaration;\n          if (isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isAccessExpression(declaration.initializer) && isMatchingReference(reference, declaration.initializer.expression)) {\n            return declaration.initializer;\n          }\n          if (isBindingElement(declaration) && !declaration.initializer) {\n            const parent2 = declaration.parent.parent;\n            if (isVariableDeclaration(parent2) && !parent2.type && parent2.initializer && (isIdentifier(parent2.initializer) || isAccessExpression(parent2.initializer)) && isMatchingReference(reference, parent2.initializer)) {\n              return declaration;\n            }\n          }\n        }\n      }\n      return void 0;\n    }\n    function getDiscriminantPropertyAccess(expr, computedType) {\n      const type = declaredType.flags & 1048576 /* Union */ ? declaredType : computedType;\n      if (type.flags & 1048576 /* Union */) {\n        const access = getCandidateDiscriminantPropertyAccess(expr);\n        if (access) {\n          const name = getAccessedPropertyName(access);\n          if (name && isDiscriminantProperty(type, name)) {\n            return access;\n          }\n        }\n      }\n      return void 0;\n    }\n    function narrowTypeByDiscriminant(type, access, narrowType2) {\n      const propName = getAccessedPropertyName(access);\n      if (propName === void 0) {\n        return type;\n      }\n      const removeNullable = strictNullChecks && isOptionalChain(access) && maybeTypeOfKind(type, 98304 /* Nullable */);\n      let propType = getTypeOfPropertyOfType(removeNullable ? getTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type, propName);\n      if (!propType) {\n        return type;\n      }\n      propType = removeNullable ? getOptionalType(propType) : propType;\n      const narrowedPropType = narrowType2(propType);\n      return filterType(type, (t) => {\n        const discriminantType = getTypeOfPropertyOrIndexSignature(t, propName);\n        return !(discriminantType.flags & 131072 /* Never */) && !(narrowedPropType.flags & 131072 /* Never */) && areTypesComparable(narrowedPropType, discriminantType);\n      });\n    }\n    function narrowTypeByDiscriminantProperty(type, access, operator, value, assumeTrue) {\n      if ((operator === 36 /* EqualsEqualsEqualsToken */ || operator === 37 /* ExclamationEqualsEqualsToken */) && type.flags & 1048576 /* Union */) {\n        const keyPropertyName = getKeyPropertyName(type);\n        if (keyPropertyName && keyPropertyName === getAccessedPropertyName(access)) {\n          const candidate = getConstituentTypeForKeyType(type, getTypeOfExpression(value));\n          if (candidate) {\n            return operator === (assumeTrue ? 36 /* EqualsEqualsEqualsToken */ : 37 /* ExclamationEqualsEqualsToken */) ? candidate : isUnitType(getTypeOfPropertyOfType(candidate, keyPropertyName) || unknownType) ? removeType(type, candidate) : type;\n          }\n        }\n      }\n      return narrowTypeByDiscriminant(type, access, (t) => narrowTypeByEquality(t, operator, value, assumeTrue));\n    }\n    function narrowTypeBySwitchOnDiscriminantProperty(type, access, switchStatement, clauseStart, clauseEnd) {\n      if (clauseStart < clauseEnd && type.flags & 1048576 /* Union */ && getKeyPropertyName(type) === getAccessedPropertyName(access)) {\n        const clauseTypes = getSwitchClauseTypes(switchStatement).slice(clauseStart, clauseEnd);\n        const candidate = getUnionType(map(clauseTypes, (t) => getConstituentTypeForKeyType(type, t) || unknownType));\n        if (candidate !== unknownType) {\n          return candidate;\n        }\n      }\n      return narrowTypeByDiscriminant(type, access, (t) => narrowTypeBySwitchOnDiscriminant(t, switchStatement, clauseStart, clauseEnd));\n    }\n    function narrowTypeByTruthiness(type, expr, assumeTrue) {\n      if (isMatchingReference(reference, expr)) {\n        return getAdjustedTypeWithFacts(type, assumeTrue ? 4194304 /* Truthy */ : 8388608 /* Falsy */);\n      }\n      if (strictNullChecks && assumeTrue && optionalChainContainsReference(expr, reference)) {\n        type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */);\n      }\n      const access = getDiscriminantPropertyAccess(expr, type);\n      if (access) {\n        return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(t, assumeTrue ? 4194304 /* Truthy */ : 8388608 /* Falsy */));\n      }\n      return type;\n    }\n    function isTypePresencePossible(type, propName, assumeTrue) {\n      const prop = getPropertyOfType(type, propName);\n      return prop ? !!(prop.flags & 16777216 /* Optional */) || assumeTrue : !!getApplicableIndexInfoForName(type, propName) || !assumeTrue;\n    }\n    function narrowTypeByInKeyword(type, nameType, assumeTrue) {\n      const name = getPropertyNameFromType(nameType);\n      const isKnownProperty2 = someType(type, (t) => isTypePresencePossible(t, name, true));\n      if (isKnownProperty2) {\n        return filterType(type, (t) => isTypePresencePossible(t, name, assumeTrue));\n      }\n      if (assumeTrue) {\n        const recordSymbol = getGlobalRecordSymbol();\n        if (recordSymbol) {\n          return getIntersectionType([type, getTypeAliasInstantiation(recordSymbol, [nameType, unknownType])]);\n        }\n      }\n      return type;\n    }\n    function narrowTypeByBinaryExpression(type, expr, assumeTrue) {\n      switch (expr.operatorToken.kind) {\n        case 63 /* EqualsToken */:\n        case 75 /* BarBarEqualsToken */:\n        case 76 /* AmpersandAmpersandEqualsToken */:\n        case 77 /* QuestionQuestionEqualsToken */:\n          return narrowTypeByTruthiness(narrowType(type, expr.right, assumeTrue), expr.left, assumeTrue);\n        case 34 /* EqualsEqualsToken */:\n        case 35 /* ExclamationEqualsToken */:\n        case 36 /* EqualsEqualsEqualsToken */:\n        case 37 /* ExclamationEqualsEqualsToken */:\n          const operator = expr.operatorToken.kind;\n          const left = getReferenceCandidate(expr.left);\n          const right = getReferenceCandidate(expr.right);\n          if (left.kind === 222 /* TypeOfExpression */ && isStringLiteralLike(right)) {\n            return narrowTypeByTypeof(type, left, operator, right, assumeTrue);\n          }\n          if (right.kind === 222 /* TypeOfExpression */ && isStringLiteralLike(left)) {\n            return narrowTypeByTypeof(type, right, operator, left, assumeTrue);\n          }\n          if (isMatchingReference(reference, left)) {\n            return narrowTypeByEquality(type, operator, right, assumeTrue);\n          }\n          if (isMatchingReference(reference, right)) {\n            return narrowTypeByEquality(type, operator, left, assumeTrue);\n          }\n          if (strictNullChecks) {\n            if (optionalChainContainsReference(left, reference)) {\n              type = narrowTypeByOptionalChainContainment(type, operator, right, assumeTrue);\n            } else if (optionalChainContainsReference(right, reference)) {\n              type = narrowTypeByOptionalChainContainment(type, operator, left, assumeTrue);\n            }\n          }\n          const leftAccess = getDiscriminantPropertyAccess(left, type);\n          if (leftAccess) {\n            return narrowTypeByDiscriminantProperty(type, leftAccess, operator, right, assumeTrue);\n          }\n          const rightAccess = getDiscriminantPropertyAccess(right, type);\n          if (rightAccess) {\n            return narrowTypeByDiscriminantProperty(type, rightAccess, operator, left, assumeTrue);\n          }\n          if (isMatchingConstructorReference(left)) {\n            return narrowTypeByConstructor(type, operator, right, assumeTrue);\n          }\n          if (isMatchingConstructorReference(right)) {\n            return narrowTypeByConstructor(type, operator, left, assumeTrue);\n          }\n          break;\n        case 103 /* InstanceOfKeyword */:\n          return narrowTypeByInstanceof(type, expr, assumeTrue);\n        case 102 /* InKeyword */:\n          if (isPrivateIdentifier(expr.left)) {\n            return narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue);\n          }\n          const target = getReferenceCandidate(expr.right);\n          const leftType = getTypeOfExpression(expr.left);\n          if (leftType.flags & 8576 /* StringOrNumberLiteralOrUnique */) {\n            if (containsMissingType(type) && isAccessExpression(reference) && isMatchingReference(reference.expression, target) && getAccessedPropertyName(reference) === getPropertyNameFromType(leftType)) {\n              return getTypeWithFacts(type, assumeTrue ? 524288 /* NEUndefined */ : 65536 /* EQUndefined */);\n            }\n            if (isMatchingReference(reference, target)) {\n              return narrowTypeByInKeyword(type, leftType, assumeTrue);\n            }\n          }\n          break;\n        case 27 /* CommaToken */:\n          return narrowType(type, expr.right, assumeTrue);\n        case 55 /* AmpersandAmpersandToken */:\n          return assumeTrue ? narrowType(narrowType(type, expr.left, true), expr.right, true) : getUnionType([narrowType(type, expr.left, false), narrowType(type, expr.right, false)]);\n        case 56 /* BarBarToken */:\n          return assumeTrue ? getUnionType([narrowType(type, expr.left, true), narrowType(type, expr.right, true)]) : narrowType(narrowType(type, expr.left, false), expr.right, false);\n      }\n      return type;\n    }\n    function narrowTypeByPrivateIdentifierInInExpression(type, expr, assumeTrue) {\n      const target = getReferenceCandidate(expr.right);\n      if (!isMatchingReference(reference, target)) {\n        return type;\n      }\n      Debug.assertNode(expr.left, isPrivateIdentifier);\n      const symbol = getSymbolForPrivateIdentifierExpression(expr.left);\n      if (symbol === void 0) {\n        return type;\n      }\n      const classSymbol = symbol.parent;\n      const targetType = hasStaticModifier(Debug.checkDefined(symbol.valueDeclaration, \"should always have a declaration\")) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol);\n      return getNarrowedType(type, targetType, assumeTrue, true);\n    }\n    function narrowTypeByOptionalChainContainment(type, operator, value, assumeTrue) {\n      const equalsOperator = operator === 34 /* EqualsEqualsToken */ || operator === 36 /* EqualsEqualsEqualsToken */;\n      const nullableFlags = operator === 34 /* EqualsEqualsToken */ || operator === 35 /* ExclamationEqualsToken */ ? 98304 /* Nullable */ : 32768 /* Undefined */;\n      const valueType = getTypeOfExpression(value);\n      const removeNullable = equalsOperator !== assumeTrue && everyType(valueType, (t) => !!(t.flags & nullableFlags)) || equalsOperator === assumeTrue && everyType(valueType, (t) => !(t.flags & (3 /* AnyOrUnknown */ | nullableFlags)));\n      return removeNullable ? getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type;\n    }\n    function narrowTypeByEquality(type, operator, value, assumeTrue) {\n      if (type.flags & 1 /* Any */) {\n        return type;\n      }\n      if (operator === 35 /* ExclamationEqualsToken */ || operator === 37 /* ExclamationEqualsEqualsToken */) {\n        assumeTrue = !assumeTrue;\n      }\n      const valueType = getTypeOfExpression(value);\n      const doubleEquals = operator === 34 /* EqualsEqualsToken */ || operator === 35 /* ExclamationEqualsToken */;\n      if (valueType.flags & 98304 /* Nullable */) {\n        if (!strictNullChecks) {\n          return type;\n        }\n        const facts = doubleEquals ? assumeTrue ? 262144 /* EQUndefinedOrNull */ : 2097152 /* NEUndefinedOrNull */ : valueType.flags & 65536 /* Null */ ? assumeTrue ? 131072 /* EQNull */ : 1048576 /* NENull */ : assumeTrue ? 65536 /* EQUndefined */ : 524288 /* NEUndefined */;\n        return getAdjustedTypeWithFacts(type, facts);\n      }\n      if (assumeTrue) {\n        if (!doubleEquals && (type.flags & 2 /* Unknown */ || someType(type, isEmptyAnonymousObjectType))) {\n          if (valueType.flags & (131068 /* Primitive */ | 67108864 /* NonPrimitive */) || isEmptyAnonymousObjectType(valueType)) {\n            return valueType;\n          }\n          if (valueType.flags & 524288 /* Object */) {\n            return nonPrimitiveType;\n          }\n        }\n        const filteredType = filterType(type, (t) => areTypesComparable(t, valueType) || doubleEquals && isCoercibleUnderDoubleEquals(t, valueType));\n        return replacePrimitivesWithLiterals(filteredType, valueType);\n      }\n      if (isUnitType(valueType)) {\n        return filterType(type, (t) => !(isUnitLikeType(t) && areTypesComparable(t, valueType)));\n      }\n      return type;\n    }\n    function narrowTypeByTypeof(type, typeOfExpr, operator, literal, assumeTrue) {\n      if (operator === 35 /* ExclamationEqualsToken */ || operator === 37 /* ExclamationEqualsEqualsToken */) {\n        assumeTrue = !assumeTrue;\n      }\n      const target = getReferenceCandidate(typeOfExpr.expression);\n      if (!isMatchingReference(reference, target)) {\n        const propertyAccess = getDiscriminantPropertyAccess(typeOfExpr.expression, type);\n        if (propertyAccess) {\n          return narrowTypeByDiscriminant(type, propertyAccess, (t) => narrowTypeByLiteralExpression(t, literal, assumeTrue));\n        }\n        if (strictNullChecks && optionalChainContainsReference(target, reference) && assumeTrue === (literal.text !== \"undefined\")) {\n          return getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */);\n        }\n        return type;\n      }\n      return narrowTypeByLiteralExpression(type, literal, assumeTrue);\n    }\n    function narrowTypeByLiteralExpression(type, literal, assumeTrue) {\n      return assumeTrue ? narrowTypeByTypeName(type, literal.text) : getTypeWithFacts(type, typeofNEFacts.get(literal.text) || 32768 /* TypeofNEHostObject */);\n    }\n    function narrowTypeBySwitchOptionalChainContainment(type, switchStatement, clauseStart, clauseEnd, clauseCheck) {\n      const everyClauseChecks = clauseStart !== clauseEnd && every(getSwitchClauseTypes(switchStatement).slice(clauseStart, clauseEnd), clauseCheck);\n      return everyClauseChecks ? getTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */) : type;\n    }\n    function narrowTypeBySwitchOnDiscriminant(type, switchStatement, clauseStart, clauseEnd) {\n      const switchTypes = getSwitchClauseTypes(switchStatement);\n      if (!switchTypes.length) {\n        return type;\n      }\n      const clauseTypes = switchTypes.slice(clauseStart, clauseEnd);\n      const hasDefaultClause = clauseStart === clauseEnd || contains(clauseTypes, neverType);\n      if (type.flags & 2 /* Unknown */ && !hasDefaultClause) {\n        let groundClauseTypes;\n        for (let i = 0; i < clauseTypes.length; i += 1) {\n          const t = clauseTypes[i];\n          if (t.flags & (131068 /* Primitive */ | 67108864 /* NonPrimitive */)) {\n            if (groundClauseTypes !== void 0) {\n              groundClauseTypes.push(t);\n            }\n          } else if (t.flags & 524288 /* Object */) {\n            if (groundClauseTypes === void 0) {\n              groundClauseTypes = clauseTypes.slice(0, i);\n            }\n            groundClauseTypes.push(nonPrimitiveType);\n          } else {\n            return type;\n          }\n        }\n        return getUnionType(groundClauseTypes === void 0 ? clauseTypes : groundClauseTypes);\n      }\n      const discriminantType = getUnionType(clauseTypes);\n      const caseType = discriminantType.flags & 131072 /* Never */ ? neverType : replacePrimitivesWithLiterals(filterType(type, (t) => areTypesComparable(discriminantType, t)), discriminantType);\n      if (!hasDefaultClause) {\n        return caseType;\n      }\n      const defaultType = filterType(type, (t) => !(isUnitLikeType(t) && contains(switchTypes, getRegularTypeOfLiteralType(extractUnitType(t)))));\n      return caseType.flags & 131072 /* Never */ ? defaultType : getUnionType([caseType, defaultType]);\n    }\n    function narrowTypeByTypeName(type, typeName) {\n      switch (typeName) {\n        case \"string\":\n          return narrowTypeByTypeFacts(type, stringType, 1 /* TypeofEQString */);\n        case \"number\":\n          return narrowTypeByTypeFacts(type, numberType, 2 /* TypeofEQNumber */);\n        case \"bigint\":\n          return narrowTypeByTypeFacts(type, bigintType, 4 /* TypeofEQBigInt */);\n        case \"boolean\":\n          return narrowTypeByTypeFacts(type, booleanType, 8 /* TypeofEQBoolean */);\n        case \"symbol\":\n          return narrowTypeByTypeFacts(type, esSymbolType, 16 /* TypeofEQSymbol */);\n        case \"object\":\n          return type.flags & 1 /* Any */ ? type : getUnionType([narrowTypeByTypeFacts(type, nonPrimitiveType, 32 /* TypeofEQObject */), narrowTypeByTypeFacts(type, nullType, 131072 /* EQNull */)]);\n        case \"function\":\n          return type.flags & 1 /* Any */ ? type : narrowTypeByTypeFacts(type, globalFunctionType, 64 /* TypeofEQFunction */);\n        case \"undefined\":\n          return narrowTypeByTypeFacts(type, undefinedType, 65536 /* EQUndefined */);\n      }\n      return narrowTypeByTypeFacts(type, nonPrimitiveType, 128 /* TypeofEQHostObject */);\n    }\n    function narrowTypeByTypeFacts(type, impliedType, facts) {\n      return mapType(type, (t) => isTypeRelatedTo(t, impliedType, strictSubtypeRelation) ? getTypeFacts(t) & facts ? t : neverType : isTypeSubtypeOf(impliedType, t) ? impliedType : getTypeFacts(t) & facts ? getIntersectionType([t, impliedType]) : neverType);\n    }\n    function narrowTypeBySwitchOnTypeOf(type, switchStatement, clauseStart, clauseEnd) {\n      const witnesses = getSwitchClauseTypeOfWitnesses(switchStatement);\n      if (!witnesses) {\n        return type;\n      }\n      const defaultIndex = findIndex(switchStatement.caseBlock.clauses, (clause) => clause.kind === 299 /* DefaultClause */);\n      const hasDefaultClause = clauseStart === clauseEnd || defaultIndex >= clauseStart && defaultIndex < clauseEnd;\n      if (hasDefaultClause) {\n        const notEqualFacts = getNotEqualFactsFromTypeofSwitch(clauseStart, clauseEnd, witnesses);\n        return filterType(type, (t) => (getTypeFacts(t) & notEqualFacts) === notEqualFacts);\n      }\n      const clauseWitnesses = witnesses.slice(clauseStart, clauseEnd);\n      return getUnionType(map(clauseWitnesses, (text) => text ? narrowTypeByTypeName(type, text) : neverType));\n    }\n    function isMatchingConstructorReference(expr) {\n      return (isPropertyAccessExpression(expr) && idText(expr.name) === \"constructor\" || isElementAccessExpression(expr) && isStringLiteralLike(expr.argumentExpression) && expr.argumentExpression.text === \"constructor\") && isMatchingReference(reference, expr.expression);\n    }\n    function narrowTypeByConstructor(type, operator, identifier, assumeTrue) {\n      if (assumeTrue ? operator !== 34 /* EqualsEqualsToken */ && operator !== 36 /* EqualsEqualsEqualsToken */ : operator !== 35 /* ExclamationEqualsToken */ && operator !== 37 /* ExclamationEqualsEqualsToken */) {\n        return type;\n      }\n      const identifierType = getTypeOfExpression(identifier);\n      if (!isFunctionType(identifierType) && !isConstructorType(identifierType)) {\n        return type;\n      }\n      const prototypeProperty = getPropertyOfType(identifierType, \"prototype\");\n      if (!prototypeProperty) {\n        return type;\n      }\n      const prototypeType = getTypeOfSymbol(prototypeProperty);\n      const candidate = !isTypeAny(prototypeType) ? prototypeType : void 0;\n      if (!candidate || candidate === globalObjectType || candidate === globalFunctionType) {\n        return type;\n      }\n      if (isTypeAny(type)) {\n        return candidate;\n      }\n      return filterType(type, (t) => isConstructedBy(t, candidate));\n      function isConstructedBy(source, target) {\n        if (source.flags & 524288 /* Object */ && getObjectFlags(source) & 1 /* Class */ || target.flags & 524288 /* Object */ && getObjectFlags(target) & 1 /* Class */) {\n          return source.symbol === target.symbol;\n        }\n        return isTypeSubtypeOf(source, target);\n      }\n    }\n    function narrowTypeByInstanceof(type, expr, assumeTrue) {\n      const left = getReferenceCandidate(expr.left);\n      if (!isMatchingReference(reference, left)) {\n        if (assumeTrue && strictNullChecks && optionalChainContainsReference(left, reference)) {\n          return getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */);\n        }\n        return type;\n      }\n      const rightType = getTypeOfExpression(expr.right);\n      if (!isTypeDerivedFrom(rightType, globalFunctionType)) {\n        return type;\n      }\n      let targetType;\n      const prototypeProperty = getPropertyOfType(rightType, \"prototype\");\n      if (prototypeProperty) {\n        const prototypePropertyType = getTypeOfSymbol(prototypeProperty);\n        if (!isTypeAny(prototypePropertyType)) {\n          targetType = prototypePropertyType;\n        }\n      }\n      if (isTypeAny(type) && (targetType === globalObjectType || targetType === globalFunctionType)) {\n        return type;\n      }\n      if (!targetType) {\n        const constructSignatures = getSignaturesOfType(rightType, 1 /* Construct */);\n        targetType = constructSignatures.length ? getUnionType(map(constructSignatures, (signature) => getReturnTypeOfSignature(getErasedSignature(signature)))) : emptyObjectType;\n      }\n      if (!assumeTrue && rightType.flags & 1048576 /* Union */) {\n        const nonConstructorTypeInUnion = find(rightType.types, (t) => !isConstructorType(t));\n        if (!nonConstructorTypeInUnion)\n          return type;\n      }\n      return getNarrowedType(type, targetType, assumeTrue, true);\n    }\n    function getNarrowedType(type, candidate, assumeTrue, checkDerived) {\n      var _a2;\n      const key2 = type.flags & 1048576 /* Union */ ? `N${getTypeId(type)},${getTypeId(candidate)},${(assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)}` : void 0;\n      return (_a2 = getCachedType(key2)) != null ? _a2 : setCachedType(key2, getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived));\n    }\n    function getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived) {\n      const isRelated = checkDerived ? isTypeDerivedFrom : isTypeSubtypeOf;\n      if (!assumeTrue) {\n        return filterType(type, (t) => !isRelated(t, candidate));\n      }\n      if (type.flags & 3 /* AnyOrUnknown */) {\n        return candidate;\n      }\n      const keyPropertyName = type.flags & 1048576 /* Union */ ? getKeyPropertyName(type) : void 0;\n      const narrowedType = mapType(candidate, (c) => {\n        const discriminant = keyPropertyName && getTypeOfPropertyOfType(c, keyPropertyName);\n        const matching = discriminant && getConstituentTypeForKeyType(type, discriminant);\n        const directlyRelated = mapType(matching || type, checkDerived ? (t) => isTypeDerivedFrom(t, c) ? t : isTypeDerivedFrom(c, t) ? c : neverType : (t) => isTypeSubtypeOf(c, t) ? c : isTypeSubtypeOf(t, c) ? t : neverType);\n        return directlyRelated.flags & 131072 /* Never */ ? mapType(type, (t) => maybeTypeOfKind(t, 465829888 /* Instantiable */) && isRelated(c, getBaseConstraintOfType(t) || unknownType) ? getIntersectionType([t, c]) : neverType) : directlyRelated;\n      });\n      return !(narrowedType.flags & 131072 /* Never */) ? narrowedType : isTypeSubtypeOf(candidate, type) ? candidate : isTypeAssignableTo(type, candidate) ? type : isTypeAssignableTo(candidate, type) ? candidate : getIntersectionType([type, candidate]);\n    }\n    function narrowTypeByCallExpression(type, callExpression, assumeTrue) {\n      if (hasMatchingArgument(callExpression, reference)) {\n        const signature = assumeTrue || !isCallChain(callExpression) ? getEffectsSignature(callExpression) : void 0;\n        const predicate = signature && getTypePredicateOfSignature(signature);\n        if (predicate && (predicate.kind === 0 /* This */ || predicate.kind === 1 /* Identifier */)) {\n          return narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue);\n        }\n      }\n      if (containsMissingType(type) && isAccessExpression(reference) && isPropertyAccessExpression(callExpression.expression)) {\n        const callAccess = callExpression.expression;\n        if (isMatchingReference(reference.expression, getReferenceCandidate(callAccess.expression)) && isIdentifier(callAccess.name) && callAccess.name.escapedText === \"hasOwnProperty\" && callExpression.arguments.length === 1) {\n          const argument = callExpression.arguments[0];\n          if (isStringLiteralLike(argument) && getAccessedPropertyName(reference) === escapeLeadingUnderscores(argument.text)) {\n            return getTypeWithFacts(type, assumeTrue ? 524288 /* NEUndefined */ : 65536 /* EQUndefined */);\n          }\n        }\n      }\n      return type;\n    }\n    function narrowTypeByTypePredicate(type, predicate, callExpression, assumeTrue) {\n      if (predicate.type && !(isTypeAny(type) && (predicate.type === globalObjectType || predicate.type === globalFunctionType))) {\n        const predicateArgument = getTypePredicateArgument(predicate, callExpression);\n        if (predicateArgument) {\n          if (isMatchingReference(reference, predicateArgument)) {\n            return getNarrowedType(type, predicate.type, assumeTrue, false);\n          }\n          if (strictNullChecks && assumeTrue && optionalChainContainsReference(predicateArgument, reference) && !(getTypeFacts(predicate.type) & 65536 /* EQUndefined */)) {\n            type = getAdjustedTypeWithFacts(type, 2097152 /* NEUndefinedOrNull */);\n          }\n          const access = getDiscriminantPropertyAccess(predicateArgument, type);\n          if (access) {\n            return narrowTypeByDiscriminant(type, access, (t) => getNarrowedType(t, predicate.type, assumeTrue, false));\n          }\n        }\n      }\n      return type;\n    }\n    function narrowType(type, expr, assumeTrue) {\n      if (isExpressionOfOptionalChainRoot(expr) || isBinaryExpression(expr.parent) && expr.parent.operatorToken.kind === 60 /* QuestionQuestionToken */ && expr.parent.left === expr) {\n        return narrowTypeByOptionality(type, expr, assumeTrue);\n      }\n      switch (expr.kind) {\n        case 79 /* Identifier */:\n          if (!isMatchingReference(reference, expr) && inlineLevel < 5) {\n            const symbol = getResolvedSymbol(expr);\n            if (isConstVariable(symbol)) {\n              const declaration = symbol.valueDeclaration;\n              if (declaration && isVariableDeclaration(declaration) && !declaration.type && declaration.initializer && isConstantReference(reference)) {\n                inlineLevel++;\n                const result = narrowType(type, declaration.initializer, assumeTrue);\n                inlineLevel--;\n                return result;\n              }\n            }\n          }\n        case 109 /* ThisKeyword */:\n        case 107 /* SuperKeyword */:\n        case 211 /* PropertyAccessExpression */:\n        case 212 /* ElementAccessExpression */:\n          return narrowTypeByTruthiness(type, expr, assumeTrue);\n        case 213 /* CallExpression */:\n          return narrowTypeByCallExpression(type, expr, assumeTrue);\n        case 217 /* ParenthesizedExpression */:\n        case 236 /* NonNullExpression */:\n          return narrowType(type, expr.expression, assumeTrue);\n        case 227 /* BinaryExpression */:\n          return narrowTypeByBinaryExpression(type, expr, assumeTrue);\n        case 225 /* PrefixUnaryExpression */:\n          if (expr.operator === 53 /* ExclamationToken */) {\n            return narrowType(type, expr.operand, !assumeTrue);\n          }\n          break;\n      }\n      return type;\n    }\n    function narrowTypeByOptionality(type, expr, assumePresent) {\n      if (isMatchingReference(reference, expr)) {\n        return getAdjustedTypeWithFacts(type, assumePresent ? 2097152 /* NEUndefinedOrNull */ : 262144 /* EQUndefinedOrNull */);\n      }\n      const access = getDiscriminantPropertyAccess(expr, type);\n      if (access) {\n        return narrowTypeByDiscriminant(type, access, (t) => getTypeWithFacts(t, assumePresent ? 2097152 /* NEUndefinedOrNull */ : 262144 /* EQUndefinedOrNull */));\n      }\n      return type;\n    }\n  }\n  function getTypeOfSymbolAtLocation(symbol, location) {\n    symbol = symbol.exportSymbol || symbol;\n    if (location.kind === 79 /* Identifier */ || location.kind === 80 /* PrivateIdentifier */) {\n      if (isRightSideOfQualifiedNameOrPropertyAccess(location)) {\n        location = location.parent;\n      }\n      if (isExpressionNode(location) && (!isAssignmentTarget(location) || isWriteAccess(location))) {\n        const type = getTypeOfExpression(location);\n        if (getExportSymbolOfValueSymbolIfExported(getNodeLinks(location).resolvedSymbol) === symbol) {\n          return type;\n        }\n      }\n    }\n    if (isDeclarationName(location) && isSetAccessor(location.parent) && getAnnotatedAccessorTypeNode(location.parent)) {\n      return getWriteTypeOfAccessors(location.parent.symbol);\n    }\n    return getNonMissingTypeOfSymbol(symbol);\n  }\n  function getControlFlowContainer(node) {\n    return findAncestor(node.parent, (node2) => isFunctionLike(node2) && !getImmediatelyInvokedFunctionExpression(node2) || node2.kind === 271 /* ModuleBlock */ || node2.kind === 314 /* SourceFile */ || node2.kind === 171 /* PropertyDeclaration */ || node2.kind === 172 /* AnnotationPropertyDeclaration */);\n  }\n  function isSymbolAssigned(symbol) {\n    if (!symbol.valueDeclaration) {\n      return false;\n    }\n    const parent2 = getRootDeclaration(symbol.valueDeclaration).parent;\n    const links = getNodeLinks(parent2);\n    if (!(links.flags & 8388608 /* AssignmentsMarked */)) {\n      links.flags |= 8388608 /* AssignmentsMarked */;\n      if (!hasParentWithAssignmentsMarked(parent2)) {\n        markNodeAssignments(parent2);\n      }\n    }\n    return symbol.isAssigned || false;\n  }\n  function hasParentWithAssignmentsMarked(node) {\n    return !!findAncestor(node.parent, (node2) => (isFunctionLike(node2) || isCatchClause(node2)) && !!(getNodeLinks(node2).flags & 8388608 /* AssignmentsMarked */));\n  }\n  function markNodeAssignments(node) {\n    if (node.kind === 79 /* Identifier */) {\n      if (isAssignmentTarget(node)) {\n        const symbol = getResolvedSymbol(node);\n        if (isParameterOrCatchClauseVariable(symbol)) {\n          symbol.isAssigned = true;\n        }\n      }\n    } else {\n      forEachChild(node, markNodeAssignments);\n    }\n  }\n  function isConstVariable(symbol) {\n    return symbol.flags & 3 /* Variable */ && (getDeclarationNodeFlagsFromSymbol(symbol) & 2 /* Const */) !== 0;\n  }\n  function removeOptionalityFromDeclaredType(declaredType, declaration) {\n    if (pushTypeResolution(declaration.symbol, 2 /* DeclaredType */)) {\n      const annotationIncludesUndefined = strictNullChecks && declaration.kind === 168 /* Parameter */ && declaration.initializer && getTypeFacts(declaredType) & 16777216 /* IsUndefined */ && !(getTypeFacts(checkExpression(declaration.initializer)) & 16777216 /* IsUndefined */);\n      popTypeResolution();\n      return annotationIncludesUndefined ? getTypeWithFacts(declaredType, 524288 /* NEUndefined */) : declaredType;\n    } else {\n      reportCircularityError(declaration.symbol);\n      return declaredType;\n    }\n  }\n  function isConstraintPosition(type, node) {\n    const parent2 = node.parent;\n    return parent2.kind === 211 /* PropertyAccessExpression */ || parent2.kind === 165 /* QualifiedName */ || parent2.kind === 213 /* CallExpression */ && parent2.expression === node || parent2.kind === 212 /* ElementAccessExpression */ && parent2.expression === node && !(someType(type, isGenericTypeWithoutNullableConstraint) && isGenericIndexType(getTypeOfExpression(parent2.argumentExpression)));\n  }\n  function isGenericTypeWithUnionConstraint(type) {\n    return type.flags & 2097152 /* Intersection */ ? some(type.types, isGenericTypeWithUnionConstraint) : !!(type.flags & 465829888 /* Instantiable */ && getBaseConstraintOrType(type).flags & (98304 /* Nullable */ | 1048576 /* Union */));\n  }\n  function isGenericTypeWithoutNullableConstraint(type) {\n    return type.flags & 2097152 /* Intersection */ ? some(type.types, isGenericTypeWithoutNullableConstraint) : !!(type.flags & 465829888 /* Instantiable */ && !maybeTypeOfKind(getBaseConstraintOrType(type), 98304 /* Nullable */));\n  }\n  function hasContextualTypeWithNoGenericTypes(node, checkMode) {\n    const contextualType = (isIdentifier(node) || isPropertyAccessExpression(node) || isElementAccessExpression(node)) && !((isJsxOpeningElement(node.parent) || isJsxSelfClosingElement(node.parent)) && node.parent.tagName === node) && (checkMode && checkMode & 64 /* RestBindingElement */ ? getContextualType2(node, 8 /* SkipBindingPatterns */) : getContextualType2(node, void 0));\n    return contextualType && !isGenericType(contextualType);\n  }\n  function getNarrowableTypeForReference(type, reference, checkMode) {\n    const substituteConstraints = !(checkMode && checkMode & 2 /* Inferential */) && someType(type, isGenericTypeWithUnionConstraint) && (isConstraintPosition(type, reference) || hasContextualTypeWithNoGenericTypes(reference, checkMode));\n    return substituteConstraints ? mapType(type, getBaseConstraintOrType) : type;\n  }\n  function isExportOrExportExpression(location) {\n    return !!findAncestor(location, (n) => {\n      const parent2 = n.parent;\n      if (parent2 === void 0) {\n        return \"quit\";\n      }\n      if (isExportAssignment(parent2)) {\n        return parent2.expression === n && isEntityNameExpression(n);\n      }\n      if (isExportSpecifier(parent2)) {\n        return parent2.name === n || parent2.propertyName === n;\n      }\n      return false;\n    });\n  }\n  function markAliasReferenced(symbol, location) {\n    if (isNonLocalAlias(symbol, 111551 /* Value */) && !isInTypeQuery(location) && !getTypeOnlyAliasDeclaration(symbol, 111551 /* Value */)) {\n      const target = resolveAlias(symbol);\n      if (getAllSymbolFlags(target) & (111551 /* Value */ | 1048576 /* ExportValue */)) {\n        if (compilerOptions.isolatedModules || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(location) || !isConstEnumOrConstEnumOnlyModule(getExportSymbolOfValueSymbolIfExported(target))) {\n          markAliasSymbolAsReferenced(symbol);\n        } else {\n          markConstEnumAliasAsReferenced(symbol);\n        }\n      }\n    }\n  }\n  function getNarrowedTypeOfSymbol(symbol, location) {\n    const declaration = symbol.valueDeclaration;\n    if (declaration) {\n      if (isBindingElement(declaration) && !declaration.initializer && !declaration.dotDotDotToken && declaration.parent.elements.length >= 2) {\n        const parent2 = declaration.parent.parent;\n        if (parent2.kind === 261 /* VariableDeclaration */ && getCombinedNodeFlags(declaration) & 2 /* Const */ || parent2.kind === 168 /* Parameter */) {\n          const links = getNodeLinks(parent2);\n          if (!(links.flags & 268435456 /* InCheckIdentifier */)) {\n            links.flags |= 268435456 /* InCheckIdentifier */;\n            const parentType = getTypeForBindingElementParent(parent2, 0 /* Normal */);\n            const parentTypeConstraint = parentType && mapType(parentType, getBaseConstraintOrType);\n            links.flags &= ~268435456 /* InCheckIdentifier */;\n            if (parentTypeConstraint && parentTypeConstraint.flags & 1048576 /* Union */ && !(parent2.kind === 168 /* Parameter */ && isSymbolAssigned(symbol))) {\n              const pattern = declaration.parent;\n              const narrowedType = getFlowTypeOfReference(pattern, parentTypeConstraint, parentTypeConstraint, void 0, location.flowNode);\n              if (narrowedType.flags & 131072 /* Never */) {\n                return neverType;\n              }\n              return getBindingElementTypeFromParentType(declaration, narrowedType);\n            }\n          }\n        }\n      }\n      if (isParameter(declaration) && !declaration.type && !declaration.initializer && !declaration.dotDotDotToken) {\n        const func = declaration.parent;\n        if (func.parameters.length >= 2 && isContextSensitiveFunctionOrObjectLiteralMethod(func)) {\n          const contextualSignature = getContextualSignature(func);\n          if (contextualSignature && contextualSignature.parameters.length === 1 && signatureHasRestParameter(contextualSignature)) {\n            const restType = getReducedApparentType(getTypeOfSymbol(contextualSignature.parameters[0]));\n            if (restType.flags & 1048576 /* Union */ && everyType(restType, isTupleType) && !isSymbolAssigned(symbol)) {\n              const narrowedType = getFlowTypeOfReference(func, restType, restType, void 0, location.flowNode);\n              const index = func.parameters.indexOf(declaration) - (getThisParameter(func) ? 1 : 0);\n              return getIndexedAccessType(narrowedType, getNumberLiteralType(index));\n            }\n          }\n        }\n      }\n    }\n    return getTypeOfSymbol(symbol);\n  }\n  function checkIdentifier(node, checkMode) {\n    if (isThisInTypeQuery(node)) {\n      return checkThisExpression(node);\n    }\n    const symbol = getResolvedSymbol(node);\n    if (symbol === unknownSymbol) {\n      return errorType;\n    }\n    if (symbol === argumentsSymbol) {\n      if (isInPropertyInitializerOrClassStaticBlock(node)) {\n        error(node, Diagnostics.arguments_cannot_be_referenced_in_property_initializers);\n        return errorType;\n      }\n      const container = getContainingFunction(node);\n      if (languageVersion < 2 /* ES2015 */) {\n        if (container.kind === 219 /* ArrowFunction */) {\n          error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression);\n        } else if (hasSyntacticModifier(container, 512 /* Async */)) {\n          error(node, Diagnostics.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method);\n        }\n      }\n      getNodeLinks(container).flags |= 8192 /* CaptureArguments */;\n      checkIdentifierJsDoc(node, symbol);\n      return getTypeOfSymbol(symbol);\n    }\n    if (shouldMarkIdentifierAliasReferenced(node)) {\n      markAliasReferenced(symbol, node);\n    }\n    const localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol);\n    const targetSymbol = checkDeprecatedAliasedSymbol(localOrExportSymbol, node);\n    checkIdentifierJsDoc(node, targetSymbol);\n    if (isDeprecatedSymbol(targetSymbol) && isUncalledFunctionReference(node, targetSymbol) && targetSymbol.declarations) {\n      addDeprecatedSuggestion(node, targetSymbol.declarations, node.escapedText);\n    }\n    let declaration = localOrExportSymbol.valueDeclaration;\n    if (declaration && localOrExportSymbol.flags & 32 /* Class */) {\n      if (declaration.kind === 264 /* ClassDeclaration */ && nodeIsDecorated(declaration)) {\n        let container = getContainingClass(node);\n        while (container !== void 0) {\n          if (container === declaration && container.name !== node) {\n            getNodeLinks(declaration).flags |= 16777216 /* ClassWithConstructorReference */;\n            getNodeLinks(node).flags |= 33554432 /* ConstructorReferenceInClass */;\n            break;\n          }\n          container = getContainingClass(container);\n        }\n      } else if (declaration.kind === 232 /* ClassExpression */) {\n        let container = getThisContainer(node, false);\n        while (container.kind !== 314 /* SourceFile */) {\n          if (container.parent === declaration) {\n            if (isPropertyDeclaration(container) && isStatic(container) || isClassStaticBlockDeclaration(container)) {\n              getNodeLinks(declaration).flags |= 16777216 /* ClassWithConstructorReference */;\n              getNodeLinks(node).flags |= 33554432 /* ConstructorReferenceInClass */;\n            }\n            break;\n          }\n          container = getThisContainer(container, false);\n        }\n      }\n    }\n    checkNestedBlockScopedBinding(node, symbol);\n    let type = getNarrowedTypeOfSymbol(localOrExportSymbol, node);\n    const assignmentKind = getAssignmentTargetKind(node);\n    if (localOrExportSymbol.flags & 268435456 /* Annotation */ && !findAncestor(node, isAnnotationDeclaration) && !findAncestor(node, isAnnotation) && !findAncestor(node, isDecorator) && !findAncestor(node, isImportDeclaration) && !findAncestor(node, isExportDeclaration) && !findAncestor(node, isExportAssignment)) {\n      error(node, Diagnostics.Annotation_cannot_be_used_as_type_or_variable_or_function_or_method);\n      return errorType;\n    }\n    if (assignmentKind) {\n      if (!(localOrExportSymbol.flags & 3 /* Variable */) && !(isInJSFile(node) && localOrExportSymbol.flags & 512 /* ValueModule */)) {\n        const assignmentError = localOrExportSymbol.flags & 384 /* Enum */ ? Diagnostics.Cannot_assign_to_0_because_it_is_an_enum : localOrExportSymbol.flags & 32 /* Class */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_class : localOrExportSymbol.flags & 1536 /* Module */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_namespace : localOrExportSymbol.flags & 16 /* Function */ ? Diagnostics.Cannot_assign_to_0_because_it_is_a_function : localOrExportSymbol.flags & 2097152 /* Alias */ ? Diagnostics.Cannot_assign_to_0_because_it_is_an_import : Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable;\n        error(node, assignmentError, symbolToString(symbol));\n        return errorType;\n      }\n      if (isReadonlySymbol(localOrExportSymbol)) {\n        if (localOrExportSymbol.flags & 3 /* Variable */) {\n          error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_constant, symbolToString(symbol));\n        } else {\n          error(node, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, symbolToString(symbol));\n        }\n        return errorType;\n      }\n    }\n    const isAlias = localOrExportSymbol.flags & 2097152 /* Alias */;\n    if (localOrExportSymbol.flags & 3 /* Variable */) {\n      if (assignmentKind === 1 /* Definite */) {\n        return type;\n      }\n    } else if (isAlias) {\n      declaration = getDeclarationOfAliasSymbol(symbol);\n    } else {\n      return type;\n    }\n    if (!declaration) {\n      return type;\n    }\n    type = getNarrowableTypeForReference(type, node, checkMode);\n    const isParameter2 = getRootDeclaration(declaration).kind === 168 /* Parameter */;\n    const declarationContainer = getControlFlowContainer(declaration);\n    let flowContainer = getControlFlowContainer(node);\n    const isOuterVariable = flowContainer !== declarationContainer;\n    const isSpreadDestructuringAssignmentTarget = node.parent && node.parent.parent && isSpreadAssignment(node.parent) && isDestructuringAssignmentTarget(node.parent.parent);\n    const isModuleExports = symbol.flags & 134217728 /* ModuleExports */;\n    while (flowContainer !== declarationContainer && (flowContainer.kind === 218 /* FunctionExpression */ || flowContainer.kind === 219 /* ArrowFunction */ || isObjectLiteralOrClassExpressionMethodOrAccessor(flowContainer)) && (isConstVariable(localOrExportSymbol) && type !== autoArrayType || isParameter2 && !isSymbolAssigned(localOrExportSymbol))) {\n      flowContainer = getControlFlowContainer(flowContainer);\n    }\n    const assumeInitialized = isParameter2 || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || isSameScopedBindingElement(node, declaration) || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */)) !== 0 || isInTypeQuery(node) || node.parent.kind === 284 /* ExportSpecifier */) || node.parent.kind === 236 /* NonNullExpression */ || declaration.kind === 261 /* VariableDeclaration */ && declaration.exclamationToken || declaration.flags & 16777216 /* Ambient */;\n    const initialType = assumeInitialized ? isParameter2 ? removeOptionalityFromDeclaredType(type, declaration) : type : type === autoType || type === autoArrayType ? undefinedType : getOptionalType(type);\n    const flowType = getFlowTypeOfReference(node, type, initialType, flowContainer);\n    if (!isEvolvingArrayOperationTarget(node) && (type === autoType || type === autoArrayType)) {\n      if (flowType === autoType || flowType === autoArrayType) {\n        if (noImplicitAny) {\n          error(getNameOfDeclaration(declaration), Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined, symbolToString(symbol), typeToString(flowType));\n          error(node, Diagnostics.Variable_0_implicitly_has_an_1_type, symbolToString(symbol), typeToString(flowType));\n        }\n        return convertAutoToAny(flowType);\n      }\n    } else if (!assumeInitialized && !containsUndefinedType(type) && containsUndefinedType(flowType)) {\n      error(node, Diagnostics.Variable_0_is_used_before_being_assigned, symbolToString(symbol));\n      return type;\n    }\n    return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;\n  }\n  function isSameScopedBindingElement(node, declaration) {\n    if (isBindingElement(declaration)) {\n      const bindingElement = findAncestor(node, isBindingElement);\n      return bindingElement && getRootDeclaration(bindingElement) === getRootDeclaration(declaration);\n    }\n  }\n  function shouldMarkIdentifierAliasReferenced(node) {\n    var _a2;\n    const parent2 = node.parent;\n    if (parent2) {\n      if (isPropertyAccessExpression(parent2) && parent2.expression === node) {\n        return false;\n      }\n      if (isExportSpecifier(parent2) && parent2.isTypeOnly) {\n        return false;\n      }\n      const greatGrandparent = (_a2 = parent2.parent) == null ? void 0 : _a2.parent;\n      if (greatGrandparent && isExportDeclaration(greatGrandparent) && greatGrandparent.isTypeOnly) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function isInsideFunctionOrInstancePropertyInitializer(node, threshold) {\n    return !!findAncestor(node, (n) => n === threshold ? \"quit\" : isFunctionLike(n) || n.parent && isPropertyDeclaration(n.parent) && !hasStaticModifier(n.parent) && n.parent.initializer === n);\n  }\n  function getPartOfForStatementContainingNode(node, container) {\n    return findAncestor(node, (n) => n === container ? \"quit\" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement);\n  }\n  function getEnclosingIterationStatement(node) {\n    return findAncestor(node, (n) => !n || nodeStartsNewLexicalEnvironment(n) ? \"quit\" : isIterationStatement(n, false));\n  }\n  function checkNestedBlockScopedBinding(node, symbol) {\n    if (languageVersion >= 2 /* ES2015 */ || (symbol.flags & (2 /* BlockScopedVariable */ | 32 /* Class */)) === 0 || !symbol.valueDeclaration || isSourceFile(symbol.valueDeclaration) || symbol.valueDeclaration.parent.kind === 301 /* CatchClause */) {\n      return;\n    }\n    const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration);\n    const isCaptured = isInsideFunctionOrInstancePropertyInitializer(node, container);\n    const enclosingIterationStatement = getEnclosingIterationStatement(container);\n    if (enclosingIterationStatement) {\n      if (isCaptured) {\n        let capturesBlockScopeBindingInLoopBody = true;\n        if (isForStatement(container)) {\n          const varDeclList = getAncestor(symbol.valueDeclaration, 262 /* VariableDeclarationList */);\n          if (varDeclList && varDeclList.parent === container) {\n            const part = getPartOfForStatementContainingNode(node.parent, container);\n            if (part) {\n              const links = getNodeLinks(part);\n              links.flags |= 131072 /* ContainsCapturedBlockScopeBinding */;\n              const capturedBindings = links.capturedBlockScopeBindings || (links.capturedBlockScopeBindings = []);\n              pushIfUnique(capturedBindings, symbol);\n              if (part === container.initializer) {\n                capturesBlockScopeBindingInLoopBody = false;\n              }\n            }\n          }\n        }\n        if (capturesBlockScopeBindingInLoopBody) {\n          getNodeLinks(enclosingIterationStatement).flags |= 65536 /* LoopWithCapturedBlockScopedBinding */;\n        }\n      }\n      if (isForStatement(container)) {\n        const varDeclList = getAncestor(symbol.valueDeclaration, 262 /* VariableDeclarationList */);\n        if (varDeclList && varDeclList.parent === container && isAssignedInBodyOfForStatement(node, container)) {\n          getNodeLinks(symbol.valueDeclaration).flags |= 4194304 /* NeedsLoopOutParameter */;\n        }\n      }\n      getNodeLinks(symbol.valueDeclaration).flags |= 524288 /* BlockScopedBindingInLoop */;\n    }\n    if (isCaptured) {\n      getNodeLinks(symbol.valueDeclaration).flags |= 262144 /* CapturedBlockScopedBinding */;\n    }\n  }\n  function isBindingCapturedByNode(node, decl) {\n    const links = getNodeLinks(node);\n    return !!links && contains(links.capturedBlockScopeBindings, getSymbolOfNode(decl));\n  }\n  function isAssignedInBodyOfForStatement(node, container) {\n    let current = node;\n    while (current.parent.kind === 217 /* ParenthesizedExpression */) {\n      current = current.parent;\n    }\n    let isAssigned = false;\n    if (isAssignmentTarget(current)) {\n      isAssigned = true;\n    } else if (current.parent.kind === 225 /* PrefixUnaryExpression */ || current.parent.kind === 226 /* PostfixUnaryExpression */) {\n      const expr = current.parent;\n      isAssigned = expr.operator === 45 /* PlusPlusToken */ || expr.operator === 46 /* MinusMinusToken */;\n    }\n    if (!isAssigned) {\n      return false;\n    }\n    return !!findAncestor(current, (n) => n === container ? \"quit\" : n === container.statement);\n  }\n  function captureLexicalThis(node, container) {\n    getNodeLinks(node).flags |= 2 /* LexicalThis */;\n    if (container.kind === 171 /* PropertyDeclaration */ || container.kind === 176 /* Constructor */) {\n      const classNode = container.parent;\n      getNodeLinks(classNode).flags |= 4 /* CaptureThis */;\n    } else {\n      getNodeLinks(container).flags |= 4 /* CaptureThis */;\n    }\n  }\n  function findFirstSuperCall(node) {\n    return isSuperCall(node) ? node : isFunctionLike(node) ? void 0 : forEachChild(node, findFirstSuperCall);\n  }\n  function classDeclarationExtendsNull(classDecl) {\n    const classSymbol = getSymbolOfNode(classDecl);\n    const classInstanceType = getDeclaredTypeOfSymbol(classSymbol);\n    const baseConstructorType = getBaseConstructorTypeOfClass(classInstanceType);\n    return baseConstructorType === nullWideningType;\n  }\n  function checkThisBeforeSuper(node, container, diagnosticMessage) {\n    const containingClassDecl = container.parent;\n    const baseTypeNode = getClassExtendsHeritageElement(containingClassDecl);\n    if (baseTypeNode && !classDeclarationExtendsNull(containingClassDecl)) {\n      if (node.flowNode && !isPostSuperFlowNode(node.flowNode, false)) {\n        error(node, diagnosticMessage);\n      }\n    }\n  }\n  function checkThisInStaticClassFieldInitializerInDecoratedClass(thisExpression, container) {\n    if (isPropertyDeclaration(container) && hasStaticModifier(container) && container.initializer && textRangeContainsPositionInclusive(container.initializer, thisExpression.pos) && hasDecorators(container.parent)) {\n      error(thisExpression, Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class);\n    }\n  }\n  function checkThisExpression(node) {\n    const isNodeInTypeQuery = isInTypeQuery(node);\n    let container = getThisContainer(node, true);\n    let capturedByArrowFunction = false;\n    if (container.kind === 176 /* Constructor */) {\n      checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);\n    }\n    if (container.kind === 219 /* ArrowFunction */) {\n      container = getThisContainer(container, false);\n      capturedByArrowFunction = true;\n    }\n    checkThisInStaticClassFieldInitializerInDecoratedClass(node, container);\n    switch (container.kind) {\n      case 270 /* ModuleDeclaration */:\n        error(node, Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);\n        break;\n      case 269 /* EnumDeclaration */:\n        error(node, Diagnostics.this_cannot_be_referenced_in_current_location);\n        break;\n      case 176 /* Constructor */:\n        if (isInConstructorArgumentInitializer(node, container)) {\n          error(node, Diagnostics.this_cannot_be_referenced_in_constructor_arguments);\n        }\n        break;\n      case 166 /* ComputedPropertyName */:\n        error(node, Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);\n        break;\n    }\n    if (!isNodeInTypeQuery && capturedByArrowFunction && languageVersion < 2 /* ES2015 */) {\n      captureLexicalThis(node, container);\n    }\n    const type = tryGetThisTypeAt(node, true, container);\n    if (noImplicitThis) {\n      const globalThisType2 = getTypeOfSymbol(globalThisSymbol);\n      if (type === globalThisType2 && capturedByArrowFunction) {\n        error(node, Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);\n      } else if (!type) {\n        const diag2 = error(node, Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);\n        if (!isSourceFile(container)) {\n          const outsideThis = tryGetThisTypeAt(container);\n          if (outsideThis && outsideThis !== globalThisType2) {\n            addRelatedInfo(diag2, createDiagnosticForNode(container, Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container));\n          }\n        }\n      }\n    }\n    return type || anyType;\n  }\n  function tryGetThisTypeAt(node, includeGlobalThis = true, container = getThisContainer(node, false)) {\n    const isInJS = isInJSFile(node);\n    if (isFunctionLike(container) && (!isInParameterInitializerBeforeContainingFunction(node) || getThisParameter(container))) {\n      let thisType = getThisTypeOfDeclaration(container) || isInJS && getTypeForThisExpressionFromJSDoc(container);\n      if (!thisType) {\n        const className = getClassNameFromPrototypeMethod(container);\n        if (isInJS && className) {\n          const classSymbol = checkExpression(className).symbol;\n          if (classSymbol && classSymbol.members && classSymbol.flags & 16 /* Function */) {\n            thisType = getDeclaredTypeOfSymbol(classSymbol).thisType;\n          }\n        } else if (isJSConstructor(container)) {\n          thisType = getDeclaredTypeOfSymbol(getMergedSymbol(container.symbol)).thisType;\n        }\n        thisType || (thisType = getContextualThisParameterType(container));\n      }\n      if (thisType) {\n        return getFlowTypeOfReference(node, thisType);\n      }\n    }\n    if (isClassLike(container.parent)) {\n      const symbol = getSymbolOfNode(container.parent);\n      const type = isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType;\n      return getFlowTypeOfReference(node, type);\n    }\n    if (isSourceFile(container)) {\n      if (container.commonJsModuleIndicator) {\n        const fileSymbol = getSymbolOfNode(container);\n        return fileSymbol && getTypeOfSymbol(fileSymbol);\n      } else if (container.externalModuleIndicator) {\n        return undefinedType;\n      } else if (includeGlobalThis) {\n        return getTypeOfSymbol(globalThisSymbol);\n      }\n    }\n  }\n  function getExplicitThisType(node) {\n    const container = getThisContainer(node, false);\n    if (isFunctionLike(container)) {\n      const signature = getSignatureFromDeclaration(container);\n      if (signature.thisParameter) {\n        return getExplicitTypeOfSymbol(signature.thisParameter);\n      }\n    }\n    if (isClassLike(container.parent)) {\n      const symbol = getSymbolOfNode(container.parent);\n      return isStatic(container) ? getTypeOfSymbol(symbol) : getDeclaredTypeOfSymbol(symbol).thisType;\n    }\n  }\n  function getClassNameFromPrototypeMethod(container) {\n    if (container.kind === 218 /* FunctionExpression */ && isBinaryExpression(container.parent) && getAssignmentDeclarationKind(container.parent) === 3 /* PrototypeProperty */) {\n      return container.parent.left.expression.expression;\n    } else if (container.kind === 174 /* MethodDeclaration */ && container.parent.kind === 210 /* ObjectLiteralExpression */ && isBinaryExpression(container.parent.parent) && getAssignmentDeclarationKind(container.parent.parent) === 6 /* Prototype */) {\n      return container.parent.parent.left.expression;\n    } else if (container.kind === 218 /* FunctionExpression */ && container.parent.kind === 305 /* PropertyAssignment */ && container.parent.parent.kind === 210 /* ObjectLiteralExpression */ && isBinaryExpression(container.parent.parent.parent) && getAssignmentDeclarationKind(container.parent.parent.parent) === 6 /* Prototype */) {\n      return container.parent.parent.parent.left.expression;\n    } else if (container.kind === 218 /* FunctionExpression */ && isPropertyAssignment(container.parent) && isIdentifier(container.parent.name) && (container.parent.name.escapedText === \"value\" || container.parent.name.escapedText === \"get\" || container.parent.name.escapedText === \"set\") && isObjectLiteralExpression(container.parent.parent) && isCallExpression(container.parent.parent.parent) && container.parent.parent.parent.arguments[2] === container.parent.parent && getAssignmentDeclarationKind(container.parent.parent.parent) === 9 /* ObjectDefinePrototypeProperty */) {\n      return container.parent.parent.parent.arguments[0].expression;\n    } else if (isMethodDeclaration(container) && isIdentifier(container.name) && (container.name.escapedText === \"value\" || container.name.escapedText === \"get\" || container.name.escapedText === \"set\") && isObjectLiteralExpression(container.parent) && isCallExpression(container.parent.parent) && container.parent.parent.arguments[2] === container.parent && getAssignmentDeclarationKind(container.parent.parent) === 9 /* ObjectDefinePrototypeProperty */) {\n      return container.parent.parent.arguments[0].expression;\n    }\n  }\n  function getTypeForThisExpressionFromJSDoc(node) {\n    const jsdocType = getJSDocType(node);\n    if (jsdocType && jsdocType.kind === 326 /* JSDocFunctionType */) {\n      const jsDocFunctionType = jsdocType;\n      if (jsDocFunctionType.parameters.length > 0 && jsDocFunctionType.parameters[0].name && jsDocFunctionType.parameters[0].name.escapedText === \"this\" /* This */) {\n        return getTypeFromTypeNode(jsDocFunctionType.parameters[0].type);\n      }\n    }\n    const thisTag = getJSDocThisTag(node);\n    if (thisTag && thisTag.typeExpression) {\n      return getTypeFromTypeNode(thisTag.typeExpression);\n    }\n  }\n  function isInConstructorArgumentInitializer(node, constructorDecl) {\n    return !!findAncestor(node, (n) => isFunctionLikeDeclaration(n) ? \"quit\" : n.kind === 168 /* Parameter */ && n.parent === constructorDecl);\n  }\n  function checkSuperExpression(node) {\n    const isCallExpression2 = node.parent.kind === 213 /* CallExpression */ && node.parent.expression === node;\n    const immediateContainer = getSuperContainer(node, true);\n    let container = immediateContainer;\n    let needToCaptureLexicalThis = false;\n    let inAsyncFunction = false;\n    if (!isCallExpression2) {\n      while (container && container.kind === 219 /* ArrowFunction */) {\n        if (hasSyntacticModifier(container, 512 /* Async */))\n          inAsyncFunction = true;\n        container = getSuperContainer(container, true);\n        needToCaptureLexicalThis = languageVersion < 2 /* ES2015 */;\n      }\n      if (container && hasSyntacticModifier(container, 512 /* Async */))\n        inAsyncFunction = true;\n    }\n    const canUseSuperExpression = isLegalUsageOfSuperExpression(container);\n    let nodeCheckFlag = 0;\n    if (!canUseSuperExpression) {\n      const current = findAncestor(node, (n) => n === container ? \"quit\" : n.kind === 166 /* ComputedPropertyName */);\n      if (current && current.kind === 166 /* ComputedPropertyName */) {\n        error(node, Diagnostics.super_cannot_be_referenced_in_a_computed_property_name);\n      } else if (isCallExpression2) {\n        error(node, Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors);\n      } else if (!container || !container.parent || !(isClassLike(container.parent) || container.parent.kind === 210 /* ObjectLiteralExpression */)) {\n        error(node, Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions);\n      } else {\n        error(node, Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class);\n      }\n      return errorType;\n    }\n    if (!isCallExpression2 && immediateContainer.kind === 176 /* Constructor */) {\n      checkThisBeforeSuper(node, container, Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class);\n    }\n    if (isStatic(container) || isCallExpression2) {\n      nodeCheckFlag = 512 /* SuperStatic */;\n      if (!isCallExpression2 && languageVersion >= 2 /* ES2015 */ && languageVersion <= 8 /* ES2021 */ && (isPropertyDeclaration(container) || isClassStaticBlockDeclaration(container))) {\n        forEachEnclosingBlockScopeContainer(node.parent, (current) => {\n          if (!isSourceFile(current) || isExternalOrCommonJsModule(current)) {\n            getNodeLinks(current).flags |= 134217728 /* ContainsSuperPropertyInStaticInitializer */;\n          }\n        });\n      }\n    } else {\n      nodeCheckFlag = 256 /* SuperInstance */;\n    }\n    getNodeLinks(node).flags |= nodeCheckFlag;\n    if (container.kind === 174 /* MethodDeclaration */ && inAsyncFunction) {\n      if (isSuperProperty(node.parent) && isAssignmentTarget(node.parent)) {\n        getNodeLinks(container).flags |= 4096 /* MethodWithSuperPropertyAssignmentInAsync */;\n      } else {\n        getNodeLinks(container).flags |= 2048 /* MethodWithSuperPropertyAccessInAsync */;\n      }\n    }\n    if (needToCaptureLexicalThis) {\n      captureLexicalThis(node.parent, container);\n    }\n    if (container.parent.kind === 210 /* ObjectLiteralExpression */) {\n      if (languageVersion < 2 /* ES2015 */) {\n        error(node, Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);\n        return errorType;\n      } else {\n        return anyType;\n      }\n    }\n    const classLikeDeclaration = container.parent;\n    if (!getClassExtendsHeritageElement(classLikeDeclaration)) {\n      error(node, Diagnostics.super_can_only_be_referenced_in_a_derived_class);\n      return errorType;\n    }\n    const classType = getDeclaredTypeOfSymbol(getSymbolOfNode(classLikeDeclaration));\n    const baseClassType = classType && getBaseTypes(classType)[0];\n    if (!baseClassType) {\n      return errorType;\n    }\n    if (container.kind === 176 /* Constructor */ && isInConstructorArgumentInitializer(node, container)) {\n      error(node, Diagnostics.super_cannot_be_referenced_in_constructor_arguments);\n      return errorType;\n    }\n    return nodeCheckFlag === 512 /* SuperStatic */ ? getBaseConstructorTypeOfClass(classType) : getTypeWithThisArgument(baseClassType, classType.thisType);\n    function isLegalUsageOfSuperExpression(container2) {\n      if (!container2) {\n        return false;\n      }\n      if (isCallExpression2) {\n        return container2.kind === 176 /* Constructor */;\n      } else {\n        if (isClassLike(container2.parent) || container2.parent.kind === 210 /* ObjectLiteralExpression */) {\n          if (isStatic(container2)) {\n            return container2.kind === 174 /* MethodDeclaration */ || container2.kind === 173 /* MethodSignature */ || container2.kind === 177 /* GetAccessor */ || container2.kind === 178 /* SetAccessor */ || container2.kind === 171 /* PropertyDeclaration */ || container2.kind === 175 /* ClassStaticBlockDeclaration */;\n          } else {\n            return container2.kind === 174 /* MethodDeclaration */ || container2.kind === 173 /* MethodSignature */ || container2.kind === 177 /* GetAccessor */ || container2.kind === 178 /* SetAccessor */ || container2.kind === 171 /* PropertyDeclaration */ || container2.kind === 170 /* PropertySignature */ || container2.kind === 176 /* Constructor */;\n          }\n        }\n      }\n      return false;\n    }\n  }\n  function getContainingObjectLiteral(func) {\n    return (func.kind === 174 /* MethodDeclaration */ || func.kind === 177 /* GetAccessor */ || func.kind === 178 /* SetAccessor */) && func.parent.kind === 210 /* ObjectLiteralExpression */ ? func.parent : func.kind === 218 /* FunctionExpression */ && func.parent.kind === 305 /* PropertyAssignment */ ? func.parent.parent : void 0;\n  }\n  function getThisTypeArgument(type) {\n    return getObjectFlags(type) & 4 /* Reference */ && type.target === globalThisType ? getTypeArguments(type)[0] : void 0;\n  }\n  function getThisTypeFromContextualType(type) {\n    return mapType(type, (t) => {\n      return t.flags & 2097152 /* Intersection */ ? forEach(t.types, getThisTypeArgument) : getThisTypeArgument(t);\n    });\n  }\n  function getContextualThisParameterType(func) {\n    if (func.kind === 219 /* ArrowFunction */) {\n      return void 0;\n    }\n    if (isContextSensitiveFunctionOrObjectLiteralMethod(func)) {\n      const contextualSignature = getContextualSignature(func);\n      if (contextualSignature) {\n        const thisParameter = contextualSignature.thisParameter;\n        if (thisParameter) {\n          return getTypeOfSymbol(thisParameter);\n        }\n      }\n    }\n    const inJs = isInJSFile(func);\n    if (noImplicitThis || inJs) {\n      const containingLiteral = getContainingObjectLiteral(func);\n      if (containingLiteral) {\n        const contextualType = getApparentTypeOfContextualType(containingLiteral, void 0);\n        let literal = containingLiteral;\n        let type = contextualType;\n        while (type) {\n          const thisType = getThisTypeFromContextualType(type);\n          if (thisType) {\n            return instantiateType(thisType, getMapperFromContext(getInferenceContext(containingLiteral)));\n          }\n          if (literal.parent.kind !== 305 /* PropertyAssignment */) {\n            break;\n          }\n          literal = literal.parent.parent;\n          type = getApparentTypeOfContextualType(literal, void 0);\n        }\n        return getWidenedType(contextualType ? getNonNullableType3(contextualType) : checkExpressionCached(containingLiteral));\n      }\n      const parent2 = walkUpParenthesizedExpressions(func.parent);\n      if (parent2.kind === 227 /* BinaryExpression */ && parent2.operatorToken.kind === 63 /* EqualsToken */) {\n        const target = parent2.left;\n        if (isAccessExpression(target)) {\n          const { expression } = target;\n          if (inJs && isIdentifier(expression)) {\n            const sourceFile = getSourceFileOfNode(parent2);\n            if (sourceFile.commonJsModuleIndicator && getResolvedSymbol(expression) === sourceFile.symbol) {\n              return void 0;\n            }\n          }\n          return getWidenedType(checkExpressionCached(expression));\n        }\n      }\n    }\n    return void 0;\n  }\n  function getContextuallyTypedParameterType(parameter) {\n    const func = parameter.parent;\n    if (!isContextSensitiveFunctionOrObjectLiteralMethod(func)) {\n      return void 0;\n    }\n    const iife = getImmediatelyInvokedFunctionExpression(func);\n    if (iife && iife.arguments) {\n      const args = getEffectiveCallArguments(iife);\n      const indexOfParameter = func.parameters.indexOf(parameter);\n      if (parameter.dotDotDotToken) {\n        return getSpreadArgumentType(args, indexOfParameter, args.length, anyType, void 0, 0 /* Normal */);\n      }\n      const links = getNodeLinks(iife);\n      const cached = links.resolvedSignature;\n      links.resolvedSignature = anySignature;\n      const type = indexOfParameter < args.length ? getWidenedLiteralType(checkExpression(args[indexOfParameter])) : parameter.initializer ? void 0 : undefinedWideningType;\n      links.resolvedSignature = cached;\n      return type;\n    }\n    const contextualSignature = getContextualSignature(func);\n    if (contextualSignature) {\n      const index = func.parameters.indexOf(parameter) - (getThisParameter(func) ? 1 : 0);\n      return parameter.dotDotDotToken && lastOrUndefined(func.parameters) === parameter ? getRestTypeAtPosition(contextualSignature, index) : tryGetTypeAtPosition(contextualSignature, index);\n    }\n  }\n  function getContextualTypeForVariableLikeDeclaration(declaration, contextFlags) {\n    const typeNode = getEffectiveTypeAnnotationNode(declaration);\n    if (typeNode) {\n      return getTypeFromTypeNode(typeNode);\n    }\n    switch (declaration.kind) {\n      case 168 /* Parameter */:\n        return getContextuallyTypedParameterType(declaration);\n      case 208 /* BindingElement */:\n        return getContextualTypeForBindingElement(declaration, contextFlags);\n      case 171 /* PropertyDeclaration */:\n        if (isStatic(declaration)) {\n          return getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags);\n        }\n    }\n  }\n  function getContextualTypeForBindingElement(declaration, contextFlags) {\n    const parent2 = declaration.parent.parent;\n    const name = declaration.propertyName || declaration.name;\n    const parentType = getContextualTypeForVariableLikeDeclaration(parent2, contextFlags) || parent2.kind !== 208 /* BindingElement */ && parent2.initializer && checkDeclarationInitializer(parent2, declaration.dotDotDotToken ? 64 /* RestBindingElement */ : 0 /* Normal */);\n    if (!parentType || isBindingPattern(name) || isComputedNonLiteralName(name))\n      return void 0;\n    if (parent2.name.kind === 207 /* ArrayBindingPattern */) {\n      const index = indexOfNode(declaration.parent.elements, declaration);\n      if (index < 0)\n        return void 0;\n      return getContextualTypeForElementExpression(parentType, index);\n    }\n    const nameType = getLiteralTypeFromPropertyName(name);\n    if (isTypeUsableAsPropertyName(nameType)) {\n      const text = getPropertyNameFromType(nameType);\n      return getTypeOfPropertyOfType(parentType, text);\n    }\n  }\n  function getContextualTypeForStaticPropertyDeclaration(declaration, contextFlags) {\n    const parentType = isExpression(declaration.parent) && getContextualType2(declaration.parent, contextFlags);\n    if (!parentType)\n      return void 0;\n    return getTypeOfPropertyOfContextualType(parentType, getSymbolOfNode(declaration).escapedName);\n  }\n  function getContextualTypeForInitializerExpression(node, contextFlags) {\n    const declaration = node.parent;\n    if (hasInitializer(declaration) && node === declaration.initializer) {\n      const result = getContextualTypeForVariableLikeDeclaration(declaration, contextFlags);\n      if (result) {\n        return result;\n      }\n      if (!(contextFlags & 8 /* SkipBindingPatterns */) && isBindingPattern(declaration.name) && declaration.name.elements.length > 0) {\n        return getTypeFromBindingPattern(declaration.name, true, false);\n      }\n    }\n    return void 0;\n  }\n  function getContextualTypeForReturnExpression(node, contextFlags) {\n    const func = getContainingFunction(node);\n    if (func) {\n      let contextualReturnType = getContextualReturnType(func, contextFlags);\n      if (contextualReturnType) {\n        const functionFlags = getFunctionFlags(func);\n        if (functionFlags & 1 /* Generator */) {\n          const isAsyncGenerator = (functionFlags & 2 /* Async */) !== 0;\n          if (contextualReturnType.flags & 1048576 /* Union */) {\n            contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, type, isAsyncGenerator));\n          }\n          const iterationReturnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, contextualReturnType, (functionFlags & 2 /* Async */) !== 0);\n          if (!iterationReturnType) {\n            return void 0;\n          }\n          contextualReturnType = iterationReturnType;\n        }\n        if (functionFlags & 2 /* Async */) {\n          const contextualAwaitedType = mapType(contextualReturnType, getAwaitedTypeNoAlias);\n          return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]);\n        }\n        return contextualReturnType;\n      }\n    }\n    return void 0;\n  }\n  function getContextualTypeForAwaitOperand(node, contextFlags) {\n    const contextualType = getContextualType2(node, contextFlags);\n    if (contextualType) {\n      const contextualAwaitedType = getAwaitedTypeNoAlias(contextualType);\n      return contextualAwaitedType && getUnionType([contextualAwaitedType, createPromiseLikeType(contextualAwaitedType)]);\n    }\n    return void 0;\n  }\n  function getContextualTypeForYieldOperand(node, contextFlags) {\n    const func = getContainingFunction(node);\n    if (func) {\n      const functionFlags = getFunctionFlags(func);\n      let contextualReturnType = getContextualReturnType(func, contextFlags);\n      if (contextualReturnType) {\n        const isAsyncGenerator = (functionFlags & 2 /* Async */) !== 0;\n        if (!node.asteriskToken && contextualReturnType.flags & 1048576 /* Union */) {\n          contextualReturnType = filterType(contextualReturnType, (type) => !!getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, type, isAsyncGenerator));\n        }\n        return node.asteriskToken ? contextualReturnType : getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, contextualReturnType, isAsyncGenerator);\n      }\n    }\n    return void 0;\n  }\n  function isInParameterInitializerBeforeContainingFunction(node) {\n    let inBindingInitializer = false;\n    while (node.parent && !isFunctionLike(node.parent)) {\n      if (isParameter(node.parent) && (inBindingInitializer || node.parent.initializer === node)) {\n        return true;\n      }\n      if (isBindingElement(node.parent) && node.parent.initializer === node) {\n        inBindingInitializer = true;\n      }\n      node = node.parent;\n    }\n    return false;\n  }\n  function getContextualIterationType(kind, functionDecl) {\n    const isAsync = !!(getFunctionFlags(functionDecl) & 2 /* Async */);\n    const contextualReturnType = getContextualReturnType(functionDecl, void 0);\n    if (contextualReturnType) {\n      return getIterationTypeOfGeneratorFunctionReturnType(kind, contextualReturnType, isAsync) || void 0;\n    }\n    return void 0;\n  }\n  function getContextualReturnType(functionDecl, contextFlags) {\n    const returnType = getReturnTypeFromAnnotation(functionDecl);\n    if (returnType) {\n      return returnType;\n    }\n    const signature = getContextualSignatureForFunctionLikeDeclaration(functionDecl);\n    if (signature && !isResolvingReturnTypeOfSignature(signature)) {\n      return getReturnTypeOfSignature(signature);\n    }\n    const iife = getImmediatelyInvokedFunctionExpression(functionDecl);\n    if (iife) {\n      return getContextualType2(iife, contextFlags);\n    }\n    return void 0;\n  }\n  function getContextualTypeForArgument(callTarget, arg) {\n    const args = getEffectiveCallArguments(callTarget);\n    const argIndex = args.indexOf(arg);\n    return argIndex === -1 ? void 0 : getContextualTypeForArgumentAtIndex(callTarget, argIndex);\n  }\n  function getContextualTypeForArgumentAtIndex(callTarget, argIndex) {\n    if (isImportCall(callTarget)) {\n      return argIndex === 0 ? stringType : argIndex === 1 ? getGlobalImportCallOptionsType(false) : anyType;\n    }\n    const signature = getNodeLinks(callTarget).resolvedSignature === resolvingSignature ? resolvingSignature : getResolvedSignature(callTarget);\n    if (isJsxOpeningLikeElement(callTarget) && argIndex === 0) {\n      return getEffectiveFirstArgumentForJsxSignature(signature, callTarget);\n    }\n    const restIndex = signature.parameters.length - 1;\n    return signatureHasRestParameter(signature) && argIndex >= restIndex ? getIndexedAccessType(getTypeOfSymbol(signature.parameters[restIndex]), getNumberLiteralType(argIndex - restIndex), 256 /* Contextual */) : getTypeAtPosition(signature, argIndex);\n  }\n  function getContextualTypeForSubstitutionExpression(template, substitutionExpression) {\n    if (template.parent.kind === 215 /* TaggedTemplateExpression */) {\n      return getContextualTypeForArgument(template.parent, substitutionExpression);\n    }\n    return void 0;\n  }\n  function getContextualTypeForBinaryOperand(node, contextFlags) {\n    const binaryExpression = node.parent;\n    const { left, operatorToken, right } = binaryExpression;\n    switch (operatorToken.kind) {\n      case 63 /* EqualsToken */:\n      case 76 /* AmpersandAmpersandEqualsToken */:\n      case 75 /* BarBarEqualsToken */:\n      case 77 /* QuestionQuestionEqualsToken */:\n        return node === right ? getContextualTypeForAssignmentDeclaration(binaryExpression) : void 0;\n      case 56 /* BarBarToken */:\n      case 60 /* QuestionQuestionToken */:\n        const type = getContextualType2(binaryExpression, contextFlags);\n        return node === right && (type && type.pattern || !type && !isDefaultedExpandoInitializer(binaryExpression)) ? getTypeOfExpression(left) : type;\n      case 55 /* AmpersandAmpersandToken */:\n      case 27 /* CommaToken */:\n        return node === right ? getContextualType2(binaryExpression, contextFlags) : void 0;\n      default:\n        return void 0;\n    }\n  }\n  function getSymbolForExpression(e) {\n    if (e.symbol) {\n      return e.symbol;\n    }\n    if (isIdentifier(e)) {\n      return getResolvedSymbol(e);\n    }\n    if (isPropertyAccessExpression(e)) {\n      const lhsType = getTypeOfExpression(e.expression);\n      return isPrivateIdentifier(e.name) ? tryGetPrivateIdentifierPropertyOfType(lhsType, e.name) : getPropertyOfType(lhsType, e.name.escapedText);\n    }\n    if (isElementAccessExpression(e)) {\n      const propType = checkExpressionCached(e.argumentExpression);\n      if (!isTypeUsableAsPropertyName(propType)) {\n        return void 0;\n      }\n      const lhsType = getTypeOfExpression(e.expression);\n      return getPropertyOfType(lhsType, getPropertyNameFromType(propType));\n    }\n    return void 0;\n    function tryGetPrivateIdentifierPropertyOfType(type, id) {\n      const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(id.escapedText, id);\n      return lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(type, lexicallyScopedSymbol);\n    }\n  }\n  function getContextualTypeForAssignmentDeclaration(binaryExpression) {\n    var _a2, _b;\n    const kind = getAssignmentDeclarationKind(binaryExpression);\n    switch (kind) {\n      case 0 /* None */:\n      case 4 /* ThisProperty */:\n        const lhsSymbol = getSymbolForExpression(binaryExpression.left);\n        const decl = lhsSymbol && lhsSymbol.valueDeclaration;\n        if (decl && (isPropertyDeclaration(decl) || isPropertySignature(decl))) {\n          const overallAnnotation = getEffectiveTypeAnnotationNode(decl);\n          return overallAnnotation && instantiateType(getTypeFromTypeNode(overallAnnotation), getSymbolLinks(lhsSymbol).mapper) || (isPropertyDeclaration(decl) ? decl.initializer && getTypeOfExpression(binaryExpression.left) : void 0);\n        }\n        if (kind === 0 /* None */) {\n          return getTypeOfExpression(binaryExpression.left);\n        }\n        return getContextualTypeForThisPropertyAssignment(binaryExpression);\n      case 5 /* Property */:\n        if (isPossiblyAliasedThisProperty(binaryExpression, kind)) {\n          return getContextualTypeForThisPropertyAssignment(binaryExpression);\n        } else if (!binaryExpression.left.symbol) {\n          return getTypeOfExpression(binaryExpression.left);\n        } else {\n          const decl2 = binaryExpression.left.symbol.valueDeclaration;\n          if (!decl2) {\n            return void 0;\n          }\n          const lhs = cast(binaryExpression.left, isAccessExpression);\n          const overallAnnotation = getEffectiveTypeAnnotationNode(decl2);\n          if (overallAnnotation) {\n            return getTypeFromTypeNode(overallAnnotation);\n          } else if (isIdentifier(lhs.expression)) {\n            const id = lhs.expression;\n            const parentSymbol = resolveName(id, id.escapedText, 111551 /* Value */, void 0, id.escapedText, true);\n            if (parentSymbol) {\n              const annotated2 = parentSymbol.valueDeclaration && getEffectiveTypeAnnotationNode(parentSymbol.valueDeclaration);\n              if (annotated2) {\n                const nameStr = getElementOrPropertyAccessName(lhs);\n                if (nameStr !== void 0) {\n                  return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(annotated2), nameStr);\n                }\n              }\n              return void 0;\n            }\n          }\n          return isInJSFile(decl2) ? void 0 : getTypeOfExpression(binaryExpression.left);\n        }\n      case 1 /* ExportsProperty */:\n      case 6 /* Prototype */:\n      case 3 /* PrototypeProperty */:\n      case 2 /* ModuleExports */:\n        let valueDeclaration;\n        if (kind !== 2 /* ModuleExports */) {\n          valueDeclaration = (_a2 = binaryExpression.left.symbol) == null ? void 0 : _a2.valueDeclaration;\n        }\n        valueDeclaration || (valueDeclaration = (_b = binaryExpression.symbol) == null ? void 0 : _b.valueDeclaration);\n        const annotated = valueDeclaration && getEffectiveTypeAnnotationNode(valueDeclaration);\n        return annotated ? getTypeFromTypeNode(annotated) : void 0;\n      case 7 /* ObjectDefinePropertyValue */:\n      case 8 /* ObjectDefinePropertyExports */:\n      case 9 /* ObjectDefinePrototypeProperty */:\n        return Debug.fail(\"Does not apply\");\n      default:\n        return Debug.assertNever(kind);\n    }\n  }\n  function isPossiblyAliasedThisProperty(declaration, kind = getAssignmentDeclarationKind(declaration)) {\n    if (kind === 4 /* ThisProperty */) {\n      return true;\n    }\n    if (!isInJSFile(declaration) || kind !== 5 /* Property */ || !isIdentifier(declaration.left.expression)) {\n      return false;\n    }\n    const name = declaration.left.expression.escapedText;\n    const symbol = resolveName(declaration.left, name, 111551 /* Value */, void 0, void 0, true, true);\n    return isThisInitializedDeclaration(symbol == null ? void 0 : symbol.valueDeclaration);\n  }\n  function getContextualTypeForThisPropertyAssignment(binaryExpression) {\n    if (!binaryExpression.symbol)\n      return getTypeOfExpression(binaryExpression.left);\n    if (binaryExpression.symbol.valueDeclaration) {\n      const annotated = getEffectiveTypeAnnotationNode(binaryExpression.symbol.valueDeclaration);\n      if (annotated) {\n        const type = getTypeFromTypeNode(annotated);\n        if (type) {\n          return type;\n        }\n      }\n    }\n    const thisAccess = cast(binaryExpression.left, isAccessExpression);\n    if (!isObjectLiteralMethod(getThisContainer(thisAccess.expression, false))) {\n      return void 0;\n    }\n    const thisType = checkThisExpression(thisAccess.expression);\n    const nameStr = getElementOrPropertyAccessName(thisAccess);\n    return nameStr !== void 0 && getTypeOfPropertyOfContextualType(thisType, nameStr) || void 0;\n  }\n  function isCircularMappedProperty(symbol) {\n    return !!(getCheckFlags(symbol) & 262144 /* Mapped */ && !symbol.type && findResolutionCycleStartIndex(symbol, 0 /* Type */) >= 0);\n  }\n  function getTypeOfPropertyOfContextualType(type, name, nameType) {\n    return mapType(type, (t) => {\n      var _a2;\n      if (isGenericMappedType(t) && !t.declaration.nameType) {\n        const constraint = getConstraintTypeFromMappedType(t);\n        const constraintOfConstraint = getBaseConstraintOfType(constraint) || constraint;\n        const propertyNameType = nameType || getStringLiteralType(unescapeLeadingUnderscores(name));\n        if (isTypeAssignableTo(propertyNameType, constraintOfConstraint)) {\n          return substituteIndexedMappedType(t, propertyNameType);\n        }\n      } else if (t.flags & 3670016 /* StructuredType */) {\n        const prop = getPropertyOfType(t, name);\n        if (prop) {\n          return isCircularMappedProperty(prop) ? void 0 : getTypeOfSymbol(prop);\n        }\n        if (isTupleType(t)) {\n          const restType = getRestTypeOfTupleType(t);\n          if (restType && isNumericLiteralName(name) && +name >= 0) {\n            return restType;\n          }\n        }\n        return (_a2 = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType || getStringLiteralType(unescapeLeadingUnderscores(name)))) == null ? void 0 : _a2.type;\n      }\n      return void 0;\n    }, true);\n  }\n  function getContextualTypeForObjectLiteralMethod(node, contextFlags) {\n    Debug.assert(isObjectLiteralMethod(node));\n    if (node.flags & 33554432 /* InWithStatement */) {\n      return void 0;\n    }\n    return getContextualTypeForObjectLiteralElement(node, contextFlags);\n  }\n  function getContextualTypeForObjectLiteralElement(element, contextFlags) {\n    const objectLiteral = element.parent;\n    const propertyAssignmentType = isPropertyAssignment(element) && getContextualTypeForVariableLikeDeclaration(element, contextFlags);\n    if (propertyAssignmentType) {\n      return propertyAssignmentType;\n    }\n    const type = getApparentTypeOfContextualType(objectLiteral, contextFlags);\n    if (type) {\n      if (hasBindableName(element)) {\n        const symbol = getSymbolOfNode(element);\n        return getTypeOfPropertyOfContextualType(type, symbol.escapedName, getSymbolLinks(symbol).nameType);\n      }\n      if (element.name) {\n        const nameType = getLiteralTypeFromPropertyName(element.name);\n        return mapType(type, (t) => {\n          var _a2;\n          return (_a2 = findApplicableIndexInfo(getIndexInfosOfStructuredType(t), nameType)) == null ? void 0 : _a2.type;\n        }, true);\n      }\n    }\n    return void 0;\n  }\n  function getContextualTypeForElementExpression(arrayContextualType, index) {\n    return arrayContextualType && (getTypeOfPropertyOfContextualType(arrayContextualType, \"\" + index) || mapType(\n      arrayContextualType,\n      (t) => getIteratedTypeOrElementType(1 /* Element */, t, undefinedType, void 0, false),\n      true\n    ));\n  }\n  function getContextualTypeForConditionalOperand(node, contextFlags) {\n    const conditional = node.parent;\n    return node === conditional.whenTrue || node === conditional.whenFalse ? getContextualType2(conditional, contextFlags) : void 0;\n  }\n  function getContextualTypeForChildJsxExpression(node, child, contextFlags) {\n    const attributesType = getApparentTypeOfContextualType(node.openingElement.tagName, contextFlags);\n    const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(node));\n    if (!(attributesType && !isTypeAny(attributesType) && jsxChildrenPropertyName && jsxChildrenPropertyName !== \"\")) {\n      return void 0;\n    }\n    const realChildren = getSemanticJsxChildren(node.children);\n    const childIndex = realChildren.indexOf(child);\n    const childFieldType = getTypeOfPropertyOfContextualType(attributesType, jsxChildrenPropertyName);\n    return childFieldType && (realChildren.length === 1 ? childFieldType : mapType(childFieldType, (t) => {\n      if (isArrayLikeType2(t)) {\n        return getIndexedAccessType(t, getNumberLiteralType(childIndex));\n      } else {\n        return t;\n      }\n    }, true));\n  }\n  function getContextualTypeForJsxExpression(node, contextFlags) {\n    const exprParent = node.parent;\n    return isJsxAttributeLike(exprParent) ? getContextualType2(node, contextFlags) : isJsxElement(exprParent) ? getContextualTypeForChildJsxExpression(exprParent, node, contextFlags) : void 0;\n  }\n  function getContextualTypeForJsxAttribute(attribute, contextFlags) {\n    if (isJsxAttribute(attribute)) {\n      const attributesType = getApparentTypeOfContextualType(attribute.parent, contextFlags);\n      if (!attributesType || isTypeAny(attributesType)) {\n        return void 0;\n      }\n      return getTypeOfPropertyOfContextualType(attributesType, attribute.name.escapedText);\n    } else {\n      return getContextualType2(attribute.parent, contextFlags);\n    }\n  }\n  function isPossiblyDiscriminantValue(node) {\n    switch (node.kind) {\n      case 10 /* StringLiteral */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 105 /* NullKeyword */:\n      case 79 /* Identifier */:\n      case 157 /* UndefinedKeyword */:\n        return true;\n      case 211 /* PropertyAccessExpression */:\n      case 217 /* ParenthesizedExpression */:\n        return isPossiblyDiscriminantValue(node.expression);\n      case 297 /* JsxExpression */:\n        return !node.expression || isPossiblyDiscriminantValue(node.expression);\n    }\n    return false;\n  }\n  function discriminateContextualTypeByObjectMembers(node, contextualType) {\n    return getMatchingUnionConstituentForObjectLiteral(contextualType, node) || discriminateTypeByDiscriminableItems(\n      contextualType,\n      concatenate(\n        map(\n          filter(node.properties, (p) => !!p.symbol && p.kind === 305 /* PropertyAssignment */ && isPossiblyDiscriminantValue(p.initializer) && isDiscriminantProperty(contextualType, p.symbol.escapedName)),\n          (prop) => [() => getContextFreeTypeOfExpression(prop.initializer), prop.symbol.escapedName]\n        ),\n        map(\n          filter(getPropertiesOfType(contextualType), (s) => {\n            var _a2;\n            return !!(s.flags & 16777216 /* Optional */) && !!((_a2 = node == null ? void 0 : node.symbol) == null ? void 0 : _a2.members) && !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName);\n          }),\n          (s) => [() => undefinedType, s.escapedName]\n        )\n      ),\n      isTypeAssignableTo,\n      contextualType\n    );\n  }\n  function discriminateContextualTypeByJSXAttributes(node, contextualType) {\n    return discriminateTypeByDiscriminableItems(\n      contextualType,\n      concatenate(\n        map(\n          filter(node.properties, (p) => !!p.symbol && p.kind === 294 /* JsxAttribute */ && isDiscriminantProperty(contextualType, p.symbol.escapedName) && (!p.initializer || isPossiblyDiscriminantValue(p.initializer))),\n          (prop) => [!prop.initializer ? () => trueType : () => getContextFreeTypeOfExpression(prop.initializer), prop.symbol.escapedName]\n        ),\n        map(\n          filter(getPropertiesOfType(contextualType), (s) => {\n            var _a2;\n            return !!(s.flags & 16777216 /* Optional */) && !!((_a2 = node == null ? void 0 : node.symbol) == null ? void 0 : _a2.members) && !node.symbol.members.has(s.escapedName) && isDiscriminantProperty(contextualType, s.escapedName);\n          }),\n          (s) => [() => undefinedType, s.escapedName]\n        )\n      ),\n      isTypeAssignableTo,\n      contextualType\n    );\n  }\n  function getApparentTypeOfContextualType(node, contextFlags) {\n    const contextualType = isObjectLiteralMethod(node) ? getContextualTypeForObjectLiteralMethod(node, contextFlags) : getContextualType2(node, contextFlags);\n    const instantiatedType = instantiateContextualType(contextualType, node, contextFlags);\n    if (instantiatedType && !(contextFlags && contextFlags & 2 /* NoConstraints */ && instantiatedType.flags & 8650752 /* TypeVariable */)) {\n      const apparentType = mapType(instantiatedType, getApparentType, true);\n      return apparentType.flags & 1048576 /* Union */ && isObjectLiteralExpression(node) ? discriminateContextualTypeByObjectMembers(node, apparentType) : apparentType.flags & 1048576 /* Union */ && isJsxAttributes(node) ? discriminateContextualTypeByJSXAttributes(node, apparentType) : apparentType;\n    }\n  }\n  function instantiateContextualType(contextualType, node, contextFlags) {\n    if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) {\n      const inferenceContext = getInferenceContext(node);\n      if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {\n        return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);\n      }\n      if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {\n        const type = instantiateInstantiableTypes(contextualType, inferenceContext.returnMapper);\n        return type.flags & 1048576 /* Union */ && containsType(type.types, regularFalseType) && containsType(type.types, regularTrueType) ? filterType(type, (t) => t !== regularFalseType && t !== regularTrueType) : type;\n      }\n    }\n    return contextualType;\n  }\n  function instantiateInstantiableTypes(type, mapper) {\n    if (type.flags & 465829888 /* Instantiable */) {\n      return instantiateType(type, mapper);\n    }\n    if (type.flags & 1048576 /* Union */) {\n      return getUnionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper)), 0 /* None */);\n    }\n    if (type.flags & 2097152 /* Intersection */) {\n      return getIntersectionType(map(type.types, (t) => instantiateInstantiableTypes(t, mapper)));\n    }\n    return type;\n  }\n  function getContextualType2(node, contextFlags) {\n    if (node.flags & 33554432 /* InWithStatement */) {\n      return void 0;\n    }\n    if (node.contextualType) {\n      return node.contextualType;\n    }\n    const { parent: parent2 } = node;\n    switch (parent2.kind) {\n      case 261 /* VariableDeclaration */:\n      case 168 /* Parameter */:\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 208 /* BindingElement */:\n        return getContextualTypeForInitializerExpression(node, contextFlags);\n      case 219 /* ArrowFunction */:\n      case 254 /* ReturnStatement */:\n        return getContextualTypeForReturnExpression(node, contextFlags);\n      case 230 /* YieldExpression */:\n        return getContextualTypeForYieldOperand(parent2, contextFlags);\n      case 224 /* AwaitExpression */:\n        return getContextualTypeForAwaitOperand(parent2, contextFlags);\n      case 213 /* CallExpression */:\n      case 220 /* EtsComponentExpression */:\n        if (isInEtsFile(parent2) && parent2.expression.kind === 101 /* ImportKeyword */) {\n          return stringType;\n        }\n      case 214 /* NewExpression */:\n        return getContextualTypeForArgument(parent2, node);\n      case 216 /* TypeAssertionExpression */:\n      case 235 /* AsExpression */:\n        return isConstTypeReference(parent2.type) ? tryFindWhenConstTypeReference(parent2) : getTypeFromTypeNode(parent2.type);\n      case 227 /* BinaryExpression */:\n        return getContextualTypeForBinaryOperand(node, contextFlags);\n      case 305 /* PropertyAssignment */:\n      case 306 /* ShorthandPropertyAssignment */:\n        return getContextualTypeForObjectLiteralElement(parent2, contextFlags);\n      case 307 /* SpreadAssignment */:\n        return getContextualType2(parent2.parent, contextFlags);\n      case 209 /* ArrayLiteralExpression */: {\n        const arrayLiteral = parent2;\n        const type = getApparentTypeOfContextualType(arrayLiteral, contextFlags);\n        return getContextualTypeForElementExpression(type, indexOfNode(arrayLiteral.elements, node));\n      }\n      case 228 /* ConditionalExpression */:\n        return getContextualTypeForConditionalOperand(node, contextFlags);\n      case 240 /* TemplateSpan */:\n        Debug.assert(parent2.parent.kind === 229 /* TemplateExpression */);\n        return getContextualTypeForSubstitutionExpression(parent2.parent, node);\n      case 217 /* ParenthesizedExpression */: {\n        const tag = isInJSFile(parent2) ? getJSDocTypeTag(parent2) : void 0;\n        return !tag ? getContextualType2(parent2, contextFlags) : isJSDocTypeTag(tag) && isConstTypeReference(tag.typeExpression.type) ? tryFindWhenConstTypeReference(parent2) : getTypeFromTypeNode(tag.typeExpression.type);\n      }\n      case 236 /* NonNullExpression */:\n        return getContextualType2(parent2, contextFlags);\n      case 239 /* SatisfiesExpression */:\n        return getTypeFromTypeNode(parent2.type);\n      case 280 /* ExportAssignment */:\n        return tryGetTypeFromEffectiveTypeNode(parent2);\n      case 297 /* JsxExpression */:\n        return getContextualTypeForJsxExpression(parent2, contextFlags);\n      case 294 /* JsxAttribute */:\n      case 296 /* JsxSpreadAttribute */:\n        return getContextualTypeForJsxAttribute(parent2, contextFlags);\n      case 289 /* JsxOpeningElement */:\n      case 288 /* JsxSelfClosingElement */:\n        return getContextualJsxElementAttributesType(parent2, contextFlags);\n    }\n    return void 0;\n    function tryFindWhenConstTypeReference(node2) {\n      return getContextualType2(node2, contextFlags);\n    }\n  }\n  function getInferenceContext(node) {\n    const ancestor = findAncestor(node, (n) => !!n.inferenceContext);\n    return ancestor && ancestor.inferenceContext;\n  }\n  function getContextualJsxElementAttributesType(node, contextFlags) {\n    if (isJsxOpeningElement(node) && node.parent.contextualType && contextFlags !== 4 /* Completions */) {\n      return node.parent.contextualType;\n    }\n    return getContextualTypeForArgumentAtIndex(node, 0);\n  }\n  function getEffectiveFirstArgumentForJsxSignature(signature, node) {\n    return getJsxReferenceKind(node) !== 0 /* Component */ ? getJsxPropsTypeFromCallSignature(signature, node) : getJsxPropsTypeFromClassType(signature, node);\n  }\n  function getJsxPropsTypeFromCallSignature(sig, context) {\n    let propsType = getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType);\n    propsType = getJsxManagedAttributesFromLocatedAttributes(context, getJsxNamespaceAt(context), propsType);\n    const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context);\n    if (!isErrorType(intrinsicAttribs)) {\n      propsType = intersectTypes(intrinsicAttribs, propsType);\n    }\n    return propsType;\n  }\n  function getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation) {\n    if (sig.compositeSignatures) {\n      const results = [];\n      for (const signature of sig.compositeSignatures) {\n        const instance = getReturnTypeOfSignature(signature);\n        if (isTypeAny(instance)) {\n          return instance;\n        }\n        const propType = getTypeOfPropertyOfType(instance, forcedLookupLocation);\n        if (!propType) {\n          return;\n        }\n        results.push(propType);\n      }\n      return getIntersectionType(results);\n    }\n    const instanceType = getReturnTypeOfSignature(sig);\n    return isTypeAny(instanceType) ? instanceType : getTypeOfPropertyOfType(instanceType, forcedLookupLocation);\n  }\n  function getStaticTypeOfReferencedJsxConstructor(context) {\n    if (isJsxIntrinsicIdentifier(context.tagName)) {\n      const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(context);\n      const fakeSignature = createSignatureForJSXIntrinsic(context, result);\n      return getOrCreateTypeFromSignature(fakeSignature);\n    }\n    const tagType = checkExpressionCached(context.tagName);\n    if (tagType.flags & 128 /* StringLiteral */) {\n      const result = getIntrinsicAttributesTypeFromStringLiteralType(tagType, context);\n      if (!result) {\n        return errorType;\n      }\n      const fakeSignature = createSignatureForJSXIntrinsic(context, result);\n      return getOrCreateTypeFromSignature(fakeSignature);\n    }\n    return tagType;\n  }\n  function getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType) {\n    const managedSym = getJsxLibraryManagedAttributes(ns);\n    if (managedSym) {\n      const declaredManagedType = getDeclaredTypeOfSymbol(managedSym);\n      const ctorType = getStaticTypeOfReferencedJsxConstructor(context);\n      if (managedSym.flags & 524288 /* TypeAlias */) {\n        const params = getSymbolLinks(managedSym).typeParameters;\n        if (length(params) >= 2) {\n          const args = fillMissingTypeArguments([ctorType, attributesType], params, 2, isInJSFile(context));\n          return getTypeAliasInstantiation(managedSym, args);\n        }\n      }\n      if (length(declaredManagedType.typeParameters) >= 2) {\n        const args = fillMissingTypeArguments([ctorType, attributesType], declaredManagedType.typeParameters, 2, isInJSFile(context));\n        return createTypeReference(declaredManagedType, args);\n      }\n    }\n    return attributesType;\n  }\n  function getJsxPropsTypeFromClassType(sig, context) {\n    const ns = getJsxNamespaceAt(context);\n    const forcedLookupLocation = getJsxElementPropertiesName(ns);\n    let attributesType = forcedLookupLocation === void 0 ? getTypeOfFirstParameterOfSignatureWithFallback(sig, unknownType) : forcedLookupLocation === \"\" ? getReturnTypeOfSignature(sig) : getJsxPropsTypeForSignatureFromMember(sig, forcedLookupLocation);\n    if (!attributesType) {\n      if (!!forcedLookupLocation && !!length(context.attributes.properties)) {\n        error(context, Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property, unescapeLeadingUnderscores(forcedLookupLocation));\n      }\n      return unknownType;\n    }\n    attributesType = getJsxManagedAttributesFromLocatedAttributes(context, ns, attributesType);\n    if (isTypeAny(attributesType)) {\n      return attributesType;\n    } else {\n      let apparentAttributesType = attributesType;\n      const intrinsicClassAttribs = getJsxType(JsxNames.IntrinsicClassAttributes, context);\n      if (!isErrorType(intrinsicClassAttribs)) {\n        const typeParams = getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(intrinsicClassAttribs.symbol);\n        const hostClassType = getReturnTypeOfSignature(sig);\n        let libraryManagedAttributeType;\n        if (typeParams) {\n          const inferredArgs = fillMissingTypeArguments([hostClassType], typeParams, getMinTypeArgumentCount(typeParams), isInJSFile(context));\n          libraryManagedAttributeType = instantiateType(intrinsicClassAttribs, createTypeMapper(typeParams, inferredArgs));\n        } else\n          libraryManagedAttributeType = intrinsicClassAttribs;\n        apparentAttributesType = intersectTypes(libraryManagedAttributeType, apparentAttributesType);\n      }\n      const intrinsicAttribs = getJsxType(JsxNames.IntrinsicAttributes, context);\n      if (!isErrorType(intrinsicAttribs)) {\n        apparentAttributesType = intersectTypes(intrinsicAttribs, apparentAttributesType);\n      }\n      return apparentAttributesType;\n    }\n  }\n  function getIntersectedSignatures(signatures) {\n    return getStrictOptionValue(compilerOptions, \"noImplicitAny\") ? reduceLeft(\n      signatures,\n      (left, right) => left === right || !left ? left : compareTypeParametersIdentical(left.typeParameters, right.typeParameters) ? combineSignaturesOfIntersectionMembers(left, right) : void 0\n    ) : void 0;\n  }\n  function combineIntersectionThisParam(left, right, mapper) {\n    if (!left || !right) {\n      return left || right;\n    }\n    const thisType = getUnionType([getTypeOfSymbol(left), instantiateType(getTypeOfSymbol(right), mapper)]);\n    return createSymbolWithType(left, thisType);\n  }\n  function combineIntersectionParameters(left, right, mapper) {\n    const leftCount = getParameterCount(left);\n    const rightCount = getParameterCount(right);\n    const longest = leftCount >= rightCount ? left : right;\n    const shorter = longest === left ? right : left;\n    const longestCount = longest === left ? leftCount : rightCount;\n    const eitherHasEffectiveRest = hasEffectiveRestParameter(left) || hasEffectiveRestParameter(right);\n    const needsExtraRestElement = eitherHasEffectiveRest && !hasEffectiveRestParameter(longest);\n    const params = new Array(longestCount + (needsExtraRestElement ? 1 : 0));\n    for (let i = 0; i < longestCount; i++) {\n      let longestParamType = tryGetTypeAtPosition(longest, i);\n      if (longest === right) {\n        longestParamType = instantiateType(longestParamType, mapper);\n      }\n      let shorterParamType = tryGetTypeAtPosition(shorter, i) || unknownType;\n      if (shorter === right) {\n        shorterParamType = instantiateType(shorterParamType, mapper);\n      }\n      const unionParamType = getUnionType([longestParamType, shorterParamType]);\n      const isRestParam = eitherHasEffectiveRest && !needsExtraRestElement && i === longestCount - 1;\n      const isOptional = i >= getMinArgumentCount(longest) && i >= getMinArgumentCount(shorter);\n      const leftName = i >= leftCount ? void 0 : getParameterNameAtPosition(left, i);\n      const rightName = i >= rightCount ? void 0 : getParameterNameAtPosition(right, i);\n      const paramName = leftName === rightName ? leftName : !leftName ? rightName : !rightName ? leftName : void 0;\n      const paramSymbol = createSymbol(\n        1 /* FunctionScopedVariable */ | (isOptional && !isRestParam ? 16777216 /* Optional */ : 0),\n        paramName || `arg${i}`\n      );\n      paramSymbol.type = isRestParam ? createArrayType(unionParamType) : unionParamType;\n      params[i] = paramSymbol;\n    }\n    if (needsExtraRestElement) {\n      const restParamSymbol = createSymbol(1 /* FunctionScopedVariable */, \"args\");\n      restParamSymbol.type = createArrayType(getTypeAtPosition(shorter, longestCount));\n      if (shorter === right) {\n        restParamSymbol.type = instantiateType(restParamSymbol.type, mapper);\n      }\n      params[longestCount] = restParamSymbol;\n    }\n    return params;\n  }\n  function combineSignaturesOfIntersectionMembers(left, right) {\n    const typeParams = left.typeParameters || right.typeParameters;\n    let paramMapper;\n    if (left.typeParameters && right.typeParameters) {\n      paramMapper = createTypeMapper(right.typeParameters, left.typeParameters);\n    }\n    const declaration = left.declaration;\n    const params = combineIntersectionParameters(left, right, paramMapper);\n    const thisParam = combineIntersectionThisParam(left.thisParameter, right.thisParameter, paramMapper);\n    const minArgCount = Math.max(left.minArgumentCount, right.minArgumentCount);\n    const result = createSignature(\n      declaration,\n      typeParams,\n      thisParam,\n      params,\n      void 0,\n      void 0,\n      minArgCount,\n      (left.flags | right.flags) & 39 /* PropagatingFlags */\n    );\n    result.compositeKind = 2097152 /* Intersection */;\n    result.compositeSignatures = concatenate(left.compositeKind === 2097152 /* Intersection */ && left.compositeSignatures || [left], [right]);\n    if (paramMapper) {\n      result.mapper = left.compositeKind === 2097152 /* Intersection */ && left.mapper && left.compositeSignatures ? combineTypeMappers(left.mapper, paramMapper) : paramMapper;\n    }\n    return result;\n  }\n  function getContextualCallSignature(type, node) {\n    const signatures = getSignaturesOfType(type, 0 /* Call */);\n    const applicableByArity = filter(signatures, (s) => !isAritySmaller(s, node));\n    return applicableByArity.length === 1 ? applicableByArity[0] : getIntersectedSignatures(applicableByArity);\n  }\n  function isAritySmaller(signature, target) {\n    let targetParameterCount = 0;\n    for (; targetParameterCount < target.parameters.length; targetParameterCount++) {\n      const param = target.parameters[targetParameterCount];\n      if (param.initializer || param.questionToken || param.dotDotDotToken || isJSDocOptionalParameter(param)) {\n        break;\n      }\n    }\n    if (target.parameters.length && parameterIsThisKeyword(target.parameters[0])) {\n      targetParameterCount--;\n    }\n    return !hasEffectiveRestParameter(signature) && getParameterCount(signature) < targetParameterCount;\n  }\n  function getContextualSignatureForFunctionLikeDeclaration(node) {\n    return isFunctionExpressionOrArrowFunction(node) || isObjectLiteralMethod(node) ? getContextualSignature(node) : void 0;\n  }\n  function getContextualSignature(node) {\n    Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node));\n    const typeTagSignature = getSignatureOfTypeTag(node);\n    if (typeTagSignature) {\n      return typeTagSignature;\n    }\n    const type = getApparentTypeOfContextualType(node, 1 /* Signature */);\n    if (!type) {\n      return void 0;\n    }\n    if (!(type.flags & 1048576 /* Union */)) {\n      return getContextualCallSignature(type, node);\n    }\n    let signatureList;\n    const types = type.types;\n    for (const current of types) {\n      const signature = getContextualCallSignature(current, node);\n      if (signature) {\n        if (!signatureList) {\n          signatureList = [signature];\n        } else if (!compareSignaturesIdentical(signatureList[0], signature, false, true, true, compareTypesIdentical)) {\n          return void 0;\n        } else {\n          signatureList.push(signature);\n        }\n      }\n    }\n    if (signatureList) {\n      return signatureList.length === 1 ? signatureList[0] : createUnionSignature(signatureList[0], signatureList);\n    }\n  }\n  function checkSpreadExpression(node, checkMode) {\n    if (languageVersion < 2 /* ES2015 */) {\n      checkExternalEmitHelpers(node, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */);\n    }\n    const arrayOrIterableType = checkExpression(node.expression, checkMode);\n    return checkIteratedTypeOrElementType(33 /* Spread */, arrayOrIterableType, undefinedType, node.expression);\n  }\n  function checkSyntheticExpression(node) {\n    return node.isSpread ? getIndexedAccessType(node.type, numberType) : node.type;\n  }\n  function hasDefaultValue(node) {\n    return node.kind === 208 /* BindingElement */ && !!node.initializer || node.kind === 227 /* BinaryExpression */ && node.operatorToken.kind === 63 /* EqualsToken */;\n  }\n  function checkArrayLiteral(node, checkMode, forceTuple) {\n    const elements = node.elements;\n    const elementCount = elements.length;\n    const elementTypes = [];\n    const elementFlags = [];\n    const contextualType = getApparentTypeOfContextualType(node, void 0);\n    const inDestructuringPattern = isAssignmentTarget(node);\n    const inConstContext = isConstContext(node);\n    let hasOmittedExpression = false;\n    for (let i = 0; i < elementCount; i++) {\n      const e = elements[i];\n      if (e.kind === 231 /* SpreadElement */) {\n        if (languageVersion < 2 /* ES2015 */) {\n          checkExternalEmitHelpers(e, compilerOptions.downlevelIteration ? 1536 /* SpreadIncludes */ : 1024 /* SpreadArray */);\n        }\n        const spreadType = checkExpression(e.expression, checkMode, forceTuple);\n        if (isArrayLikeType2(spreadType)) {\n          elementTypes.push(spreadType);\n          elementFlags.push(8 /* Variadic */);\n        } else if (inDestructuringPattern) {\n          const restElementType = getIndexTypeOfType(spreadType, numberType) || getIteratedTypeOrElementType(65 /* Destructuring */, spreadType, undefinedType, void 0, false) || unknownType;\n          elementTypes.push(restElementType);\n          elementFlags.push(4 /* Rest */);\n        } else {\n          elementTypes.push(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, e.expression));\n          elementFlags.push(4 /* Rest */);\n        }\n      } else if (exactOptionalPropertyTypes && e.kind === 233 /* OmittedExpression */) {\n        hasOmittedExpression = true;\n        elementTypes.push(missingType);\n        elementFlags.push(2 /* Optional */);\n      } else {\n        const elementContextualType = getContextualTypeForElementExpression(contextualType, elementTypes.length);\n        const type = checkExpressionForMutableLocation(e, checkMode, elementContextualType, forceTuple);\n        elementTypes.push(addOptionality(type, true, hasOmittedExpression));\n        elementFlags.push(hasOmittedExpression ? 2 /* Optional */ : 1 /* Required */);\n        if (contextualType && someType(contextualType, isTupleLikeType) && checkMode && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && isContextSensitive(e)) {\n          const inferenceContext = getInferenceContext(node);\n          Debug.assert(inferenceContext);\n          addIntraExpressionInferenceSite(inferenceContext, e, type);\n        }\n      }\n    }\n    if (inDestructuringPattern) {\n      return createTupleType(elementTypes, elementFlags);\n    }\n    if (forceTuple || inConstContext || contextualType && someType(contextualType, isTupleLikeType)) {\n      return createArrayLiteralType(createTupleType(elementTypes, elementFlags, inConstContext));\n    }\n    return createArrayLiteralType(createArrayType(elementTypes.length ? getUnionType(sameMap(elementTypes, (t, i) => elementFlags[i] & 8 /* Variadic */ ? getIndexedAccessTypeOrUndefined(t, numberType) || anyType : t), 2 /* Subtype */) : strictNullChecks ? implicitNeverType : undefinedWideningType, inConstContext));\n  }\n  function createArrayLiteralType(type) {\n    if (!(getObjectFlags(type) & 4 /* Reference */)) {\n      return type;\n    }\n    let literalType = type.literalType;\n    if (!literalType) {\n      literalType = type.literalType = cloneTypeReference(type);\n      literalType.objectFlags |= 16384 /* ArrayLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */;\n    }\n    return literalType;\n  }\n  function isNumericName(name) {\n    switch (name.kind) {\n      case 166 /* ComputedPropertyName */:\n        return isNumericComputedName(name);\n      case 79 /* Identifier */:\n        return isNumericLiteralName(name.escapedText);\n      case 8 /* NumericLiteral */:\n      case 10 /* StringLiteral */:\n        return isNumericLiteralName(name.text);\n      default:\n        return false;\n    }\n  }\n  function isNumericComputedName(name) {\n    return isTypeAssignableToKind(checkComputedPropertyName(name), 296 /* NumberLike */);\n  }\n  function checkComputedPropertyName(node) {\n    const links = getNodeLinks(node.expression);\n    if (!links.resolvedType) {\n      if ((isTypeLiteralNode(node.parent.parent) || isClassLike(node.parent.parent) || isInterfaceDeclaration(node.parent.parent)) && isBinaryExpression(node.expression) && node.expression.operatorToken.kind === 102 /* InKeyword */ && node.parent.kind !== 177 /* GetAccessor */ && node.parent.kind !== 178 /* SetAccessor */) {\n        return links.resolvedType = errorType;\n      }\n      links.resolvedType = checkExpression(node.expression);\n      if (isPropertyDeclaration(node.parent) && !hasStaticModifier(node.parent) && isClassExpression(node.parent.parent)) {\n        const container = getEnclosingBlockScopeContainer(node.parent.parent);\n        const enclosingIterationStatement = getEnclosingIterationStatement(container);\n        if (enclosingIterationStatement) {\n          getNodeLinks(enclosingIterationStatement).flags |= 65536 /* LoopWithCapturedBlockScopedBinding */;\n          getNodeLinks(node).flags |= 524288 /* BlockScopedBindingInLoop */;\n          getNodeLinks(node.parent.parent).flags |= 524288 /* BlockScopedBindingInLoop */;\n        }\n      }\n      if (links.resolvedType.flags & 98304 /* Nullable */ || !isTypeAssignableToKind(links.resolvedType, 402653316 /* StringLike */ | 296 /* NumberLike */ | 12288 /* ESSymbolLike */) && !isTypeAssignableTo(links.resolvedType, stringNumberSymbolType)) {\n        error(node, Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any);\n      }\n    }\n    return links.resolvedType;\n  }\n  function isSymbolWithNumericName(symbol) {\n    var _a2;\n    const firstDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2[0];\n    return isNumericLiteralName(symbol.escapedName) || firstDecl && isNamedDeclaration(firstDecl) && isNumericName(firstDecl.name);\n  }\n  function isSymbolWithSymbolName(symbol) {\n    var _a2;\n    const firstDecl = (_a2 = symbol.declarations) == null ? void 0 : _a2[0];\n    return isKnownSymbol(symbol) || firstDecl && isNamedDeclaration(firstDecl) && isComputedPropertyName(firstDecl.name) && isTypeAssignableToKind(checkComputedPropertyName(firstDecl.name), 4096 /* ESSymbol */);\n  }\n  function getObjectLiteralIndexInfo(node, offset, properties, keyType) {\n    const propTypes = [];\n    for (let i = offset; i < properties.length; i++) {\n      const prop = properties[i];\n      if (keyType === stringType && !isSymbolWithSymbolName(prop) || keyType === numberType && isSymbolWithNumericName(prop) || keyType === esSymbolType && isSymbolWithSymbolName(prop)) {\n        propTypes.push(getTypeOfSymbol(properties[i]));\n      }\n    }\n    const unionType = propTypes.length ? getUnionType(propTypes, 2 /* Subtype */) : undefinedType;\n    return createIndexInfo(keyType, unionType, isConstContext(node));\n  }\n  function getImmediateAliasedSymbol(symbol) {\n    Debug.assert((symbol.flags & 2097152 /* Alias */) !== 0, \"Should only get Alias here.\");\n    const links = getSymbolLinks(symbol);\n    if (!links.immediateTarget) {\n      const node = getDeclarationOfAliasSymbol(symbol);\n      if (!node)\n        return Debug.fail();\n      links.immediateTarget = getTargetOfAliasDeclaration(node, true);\n    }\n    return links.immediateTarget;\n  }\n  function checkObjectLiteral(node, checkMode) {\n    const inDestructuringPattern = isAssignmentTarget(node);\n    checkGrammarObjectLiteralExpression(node, inDestructuringPattern);\n    const allPropertiesTable = strictNullChecks ? createSymbolTable() : void 0;\n    let propertiesTable = createSymbolTable();\n    let propertiesArray = [];\n    let spread = emptyObjectType;\n    const contextualType = getApparentTypeOfContextualType(node, void 0);\n    const contextualTypeHasPattern = contextualType && contextualType.pattern && (contextualType.pattern.kind === 206 /* ObjectBindingPattern */ || contextualType.pattern.kind === 210 /* ObjectLiteralExpression */);\n    const inConstContext = isConstContext(node);\n    const checkFlags = inConstContext ? 8 /* Readonly */ : 0;\n    const isInJavascript = isInJSFile(node) && !isInJsonFile(node);\n    const enumTag = getJSDocEnumTag(node);\n    const isJSObjectLiteral = !contextualType && isInJavascript && !enumTag;\n    let objectFlags = freshObjectLiteralFlag;\n    let patternWithComputedProperties = false;\n    let hasComputedStringProperty = false;\n    let hasComputedNumberProperty = false;\n    let hasComputedSymbolProperty = false;\n    for (const elem of node.properties) {\n      if (elem.name && isComputedPropertyName(elem.name)) {\n        checkComputedPropertyName(elem.name);\n      }\n    }\n    let offset = 0;\n    for (const memberDecl of node.properties) {\n      let member = getSymbolOfNode(memberDecl);\n      const computedNameType = memberDecl.name && memberDecl.name.kind === 166 /* ComputedPropertyName */ ? checkComputedPropertyName(memberDecl.name) : void 0;\n      if (memberDecl.kind === 305 /* PropertyAssignment */ || memberDecl.kind === 306 /* ShorthandPropertyAssignment */ || isObjectLiteralMethod(memberDecl)) {\n        let type = memberDecl.kind === 305 /* PropertyAssignment */ ? checkPropertyAssignment(memberDecl, checkMode) : memberDecl.kind === 306 /* ShorthandPropertyAssignment */ ? checkExpressionForMutableLocation(!inDestructuringPattern && memberDecl.objectAssignmentInitializer ? memberDecl.objectAssignmentInitializer : memberDecl.name, checkMode) : checkObjectLiteralMethod(memberDecl, checkMode);\n        if (isInJavascript) {\n          const jsDocType = getTypeForDeclarationFromJSDocComment(memberDecl);\n          if (jsDocType) {\n            checkTypeAssignableTo(type, jsDocType, memberDecl);\n            type = jsDocType;\n          } else if (enumTag && enumTag.typeExpression) {\n            checkTypeAssignableTo(type, getTypeFromTypeNode(enumTag.typeExpression), memberDecl);\n          }\n        }\n        objectFlags |= getObjectFlags(type) & 458752 /* PropagatingFlags */;\n        const nameType = computedNameType && isTypeUsableAsPropertyName(computedNameType) ? computedNameType : void 0;\n        const prop = nameType ? createSymbol(4 /* Property */ | member.flags, getPropertyNameFromType(nameType), checkFlags | 4096 /* Late */) : createSymbol(4 /* Property */ | member.flags, member.escapedName, checkFlags);\n        if (nameType) {\n          prop.nameType = nameType;\n        }\n        if (inDestructuringPattern) {\n          const isOptional = memberDecl.kind === 305 /* PropertyAssignment */ && hasDefaultValue(memberDecl.initializer) || memberDecl.kind === 306 /* ShorthandPropertyAssignment */ && memberDecl.objectAssignmentInitializer;\n          if (isOptional) {\n            prop.flags |= 16777216 /* Optional */;\n          }\n        } else if (contextualTypeHasPattern && !(getObjectFlags(contextualType) & 512 /* ObjectLiteralPatternWithComputedProperties */)) {\n          const impliedProp = getPropertyOfType(contextualType, member.escapedName);\n          if (impliedProp) {\n            prop.flags |= impliedProp.flags & 16777216 /* Optional */;\n          } else if (!compilerOptions.suppressExcessPropertyErrors && !getIndexInfoOfType(contextualType, stringType)) {\n            error(\n              memberDecl.name,\n              Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,\n              symbolToString(member),\n              typeToString(contextualType)\n            );\n          }\n        }\n        prop.declarations = member.declarations;\n        prop.parent = member.parent;\n        if (member.valueDeclaration) {\n          prop.valueDeclaration = member.valueDeclaration;\n        }\n        prop.type = type;\n        prop.target = member;\n        member = prop;\n        allPropertiesTable == null ? void 0 : allPropertiesTable.set(prop.escapedName, prop);\n        if (contextualType && checkMode && checkMode & 2 /* Inferential */ && !(checkMode & 4 /* SkipContextSensitive */) && (memberDecl.kind === 305 /* PropertyAssignment */ || memberDecl.kind === 174 /* MethodDeclaration */) && isContextSensitive(memberDecl)) {\n          const inferenceContext = getInferenceContext(node);\n          Debug.assert(inferenceContext);\n          const inferenceNode = memberDecl.kind === 305 /* PropertyAssignment */ ? memberDecl.initializer : memberDecl;\n          addIntraExpressionInferenceSite(inferenceContext, inferenceNode, type);\n        }\n        if (type.symbol && type.symbol.flags & 268435456 /* Annotation */) {\n          error(memberDecl, Diagnostics.Annotation_cannot_be_used_as_a_value);\n        }\n      } else if (memberDecl.kind === 307 /* SpreadAssignment */) {\n        if (languageVersion < 2 /* ES2015 */) {\n          checkExternalEmitHelpers(memberDecl, 2 /* Assign */);\n        }\n        if (propertiesArray.length > 0) {\n          spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext);\n          propertiesArray = [];\n          propertiesTable = createSymbolTable();\n          hasComputedStringProperty = false;\n          hasComputedNumberProperty = false;\n          hasComputedSymbolProperty = false;\n        }\n        const type = getReducedType(checkExpression(memberDecl.expression));\n        if (isValidSpreadType(type)) {\n          const mergedType = tryMergeUnionOfObjectTypeAndEmptyObject(type, inConstContext);\n          if (allPropertiesTable) {\n            checkSpreadPropOverrides(mergedType, allPropertiesTable, memberDecl);\n          }\n          offset = propertiesArray.length;\n          if (isErrorType(spread)) {\n            continue;\n          }\n          spread = getSpreadType(spread, mergedType, node.symbol, objectFlags, inConstContext);\n        } else {\n          error(memberDecl, Diagnostics.Spread_types_may_only_be_created_from_object_types);\n          spread = errorType;\n        }\n        continue;\n      } else {\n        Debug.assert(memberDecl.kind === 177 /* GetAccessor */ || memberDecl.kind === 178 /* SetAccessor */);\n        checkNodeDeferred(memberDecl);\n      }\n      if (computedNameType && !(computedNameType.flags & 8576 /* StringOrNumberLiteralOrUnique */)) {\n        if (isTypeAssignableTo(computedNameType, stringNumberSymbolType)) {\n          if (isTypeAssignableTo(computedNameType, numberType)) {\n            hasComputedNumberProperty = true;\n          } else if (isTypeAssignableTo(computedNameType, esSymbolType)) {\n            hasComputedSymbolProperty = true;\n          } else {\n            hasComputedStringProperty = true;\n          }\n          if (inDestructuringPattern) {\n            patternWithComputedProperties = true;\n          }\n        }\n      } else {\n        propertiesTable.set(member.escapedName, member);\n      }\n      propertiesArray.push(member);\n    }\n    if (contextualTypeHasPattern) {\n      const rootPatternParent = findAncestor(\n        contextualType.pattern.parent,\n        (n) => n.kind === 261 /* VariableDeclaration */ || n.kind === 227 /* BinaryExpression */ || n.kind === 168 /* Parameter */\n      );\n      const spreadOrOutsideRootObject = findAncestor(\n        node,\n        (n) => n === rootPatternParent || n.kind === 307 /* SpreadAssignment */\n      );\n      if (spreadOrOutsideRootObject.kind !== 307 /* SpreadAssignment */) {\n        for (const prop of getPropertiesOfType(contextualType)) {\n          if (!propertiesTable.get(prop.escapedName) && !getPropertyOfType(spread, prop.escapedName)) {\n            if (!(prop.flags & 16777216 /* Optional */)) {\n              error(\n                prop.valueDeclaration || prop.bindingElement,\n                Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value\n              );\n            }\n            propertiesTable.set(prop.escapedName, prop);\n            propertiesArray.push(prop);\n          }\n        }\n      }\n    }\n    if (isErrorType(spread)) {\n      return errorType;\n    }\n    if (spread !== emptyObjectType) {\n      if (propertiesArray.length > 0) {\n        spread = getSpreadType(spread, createObjectLiteralType(), node.symbol, objectFlags, inConstContext);\n        propertiesArray = [];\n        propertiesTable = createSymbolTable();\n        hasComputedStringProperty = false;\n        hasComputedNumberProperty = false;\n      }\n      return mapType(spread, (t) => t === emptyObjectType ? createObjectLiteralType() : t);\n    }\n    return createObjectLiteralType();\n    function createObjectLiteralType() {\n      const indexInfos = [];\n      if (hasComputedStringProperty)\n        indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, stringType));\n      if (hasComputedNumberProperty)\n        indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, numberType));\n      if (hasComputedSymbolProperty)\n        indexInfos.push(getObjectLiteralIndexInfo(node, offset, propertiesArray, esSymbolType));\n      const result = createAnonymousType(node.symbol, propertiesTable, emptyArray, emptyArray, indexInfos);\n      result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */;\n      if (isJSObjectLiteral) {\n        result.objectFlags |= 4096 /* JSLiteral */;\n      }\n      if (patternWithComputedProperties) {\n        result.objectFlags |= 512 /* ObjectLiteralPatternWithComputedProperties */;\n      }\n      if (inDestructuringPattern) {\n        result.pattern = node;\n      }\n      return result;\n    }\n  }\n  function isValidSpreadType(type) {\n    const t = removeDefinitelyFalsyTypes(mapType(type, getBaseConstraintOrType));\n    return !!(t.flags & (1 /* Any */ | 67108864 /* NonPrimitive */ | 524288 /* Object */ | 58982400 /* InstantiableNonPrimitive */) || t.flags & 3145728 /* UnionOrIntersection */ && every(t.types, isValidSpreadType));\n  }\n  function checkJsxSelfClosingElementDeferred(node) {\n    checkJsxOpeningLikeElementOrOpeningFragment(node);\n  }\n  function checkJsxSelfClosingElement(node, _checkMode) {\n    checkNodeDeferred(node);\n    return getJsxElementTypeAt(node) || anyType;\n  }\n  function checkJsxElementDeferred(node) {\n    checkJsxOpeningLikeElementOrOpeningFragment(node.openingElement);\n    if (isJsxIntrinsicIdentifier(node.closingElement.tagName)) {\n      getIntrinsicTagSymbol(node.closingElement);\n    } else {\n      checkExpression(node.closingElement.tagName);\n    }\n    checkJsxChildren(node);\n  }\n  function checkJsxElement(node, _checkMode) {\n    checkNodeDeferred(node);\n    return getJsxElementTypeAt(node) || anyType;\n  }\n  function checkJsxFragment(node) {\n    checkJsxOpeningLikeElementOrOpeningFragment(node.openingFragment);\n    const nodeSourceFile = getSourceFileOfNode(node);\n    if (getJSXTransformEnabled(compilerOptions) && (compilerOptions.jsxFactory || nodeSourceFile.pragmas.has(\"jsx\")) && !compilerOptions.jsxFragmentFactory && !nodeSourceFile.pragmas.has(\"jsxfrag\")) {\n      error(node, compilerOptions.jsxFactory ? Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option : Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments);\n    }\n    checkJsxChildren(node);\n    return getJsxElementTypeAt(node) || anyType;\n  }\n  function isHyphenatedJsxName(name) {\n    return stringContains(name, \"-\");\n  }\n  function isJsxIntrinsicIdentifier(tagName) {\n    return tagName.kind === 79 /* Identifier */ && isIntrinsicJsxName(tagName.escapedText);\n  }\n  function checkJsxAttribute(node, checkMode) {\n    return node.initializer ? checkExpressionForMutableLocation(node.initializer, checkMode) : trueType;\n  }\n  function createJsxAttributesTypeFromAttributesProperty(openingLikeElement, checkMode) {\n    const attributes = openingLikeElement.attributes;\n    const attributesType = getContextualType2(attributes, 0 /* None */);\n    const allAttributesTable = strictNullChecks ? createSymbolTable() : void 0;\n    let attributesTable = createSymbolTable();\n    let spread = emptyJsxObjectType;\n    let hasSpreadAnyType = false;\n    let typeToIntersect;\n    let explicitlySpecifyChildrenAttribute = false;\n    let objectFlags = 2048 /* JsxAttributes */;\n    const jsxChildrenPropertyName = getJsxElementChildrenPropertyName(getJsxNamespaceAt(openingLikeElement));\n    for (const attributeDecl of attributes.properties) {\n      const member = attributeDecl.symbol;\n      if (isJsxAttribute(attributeDecl)) {\n        const exprType = checkJsxAttribute(attributeDecl, checkMode);\n        objectFlags |= getObjectFlags(exprType) & 458752 /* PropagatingFlags */;\n        const attributeSymbol = createSymbol(4 /* Property */ | member.flags, member.escapedName);\n        attributeSymbol.declarations = member.declarations;\n        attributeSymbol.parent = member.parent;\n        if (member.valueDeclaration) {\n          attributeSymbol.valueDeclaration = member.valueDeclaration;\n        }\n        attributeSymbol.type = exprType;\n        attributeSymbol.target = member;\n        attributesTable.set(attributeSymbol.escapedName, attributeSymbol);\n        allAttributesTable == null ? void 0 : allAttributesTable.set(attributeSymbol.escapedName, attributeSymbol);\n        if (attributeDecl.name.escapedText === jsxChildrenPropertyName) {\n          explicitlySpecifyChildrenAttribute = true;\n        }\n        if (attributesType) {\n          const prop = getPropertyOfType(attributesType, member.escapedName);\n          if (prop && prop.declarations && isDeprecatedSymbol(prop)) {\n            addDeprecatedSuggestion(attributeDecl.name, prop.declarations, attributeDecl.name.escapedText);\n          }\n        }\n      } else {\n        Debug.assert(attributeDecl.kind === 296 /* JsxSpreadAttribute */);\n        if (attributesTable.size > 0) {\n          spread = getSpreadType(spread, createJsxAttributesType(), attributes.symbol, objectFlags, false);\n          attributesTable = createSymbolTable();\n        }\n        const exprType = getReducedType(checkExpressionCached(attributeDecl.expression, checkMode));\n        if (isTypeAny(exprType)) {\n          hasSpreadAnyType = true;\n        }\n        if (isValidSpreadType(exprType)) {\n          spread = getSpreadType(spread, exprType, attributes.symbol, objectFlags, false);\n          if (allAttributesTable) {\n            checkSpreadPropOverrides(exprType, allAttributesTable, attributeDecl);\n          }\n        } else {\n          error(attributeDecl.expression, Diagnostics.Spread_types_may_only_be_created_from_object_types);\n          typeToIntersect = typeToIntersect ? getIntersectionType([typeToIntersect, exprType]) : exprType;\n        }\n      }\n    }\n    if (!hasSpreadAnyType) {\n      if (attributesTable.size > 0) {\n        spread = getSpreadType(spread, createJsxAttributesType(), attributes.symbol, objectFlags, false);\n      }\n    }\n    const parent2 = openingLikeElement.parent.kind === 287 /* JsxElement */ ? openingLikeElement.parent : void 0;\n    if (parent2 && parent2.openingElement === openingLikeElement && parent2.children.length > 0) {\n      const childrenTypes = checkJsxChildren(parent2, checkMode);\n      if (!hasSpreadAnyType && jsxChildrenPropertyName && jsxChildrenPropertyName !== \"\") {\n        if (explicitlySpecifyChildrenAttribute) {\n          error(attributes, Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten, unescapeLeadingUnderscores(jsxChildrenPropertyName));\n        }\n        const contextualType = getApparentTypeOfContextualType(openingLikeElement.attributes, void 0);\n        const childrenContextualType = contextualType && getTypeOfPropertyOfContextualType(contextualType, jsxChildrenPropertyName);\n        const childrenPropSymbol = createSymbol(4 /* Property */, jsxChildrenPropertyName);\n        childrenPropSymbol.type = childrenTypes.length === 1 ? childrenTypes[0] : childrenContextualType && someType(childrenContextualType, isTupleLikeType) ? createTupleType(childrenTypes) : createArrayType(getUnionType(childrenTypes));\n        childrenPropSymbol.valueDeclaration = factory.createPropertySignature(void 0, unescapeLeadingUnderscores(jsxChildrenPropertyName), void 0, void 0);\n        setParent(childrenPropSymbol.valueDeclaration, attributes);\n        childrenPropSymbol.valueDeclaration.symbol = childrenPropSymbol;\n        const childPropMap = createSymbolTable();\n        childPropMap.set(jsxChildrenPropertyName, childrenPropSymbol);\n        spread = getSpreadType(\n          spread,\n          createAnonymousType(attributes.symbol, childPropMap, emptyArray, emptyArray, emptyArray),\n          attributes.symbol,\n          objectFlags,\n          false\n        );\n      }\n    }\n    if (hasSpreadAnyType) {\n      return anyType;\n    }\n    if (typeToIntersect && spread !== emptyJsxObjectType) {\n      return getIntersectionType([typeToIntersect, spread]);\n    }\n    return typeToIntersect || (spread === emptyJsxObjectType ? createJsxAttributesType() : spread);\n    function createJsxAttributesType() {\n      objectFlags |= freshObjectLiteralFlag;\n      const result = createAnonymousType(attributes.symbol, attributesTable, emptyArray, emptyArray, emptyArray);\n      result.objectFlags |= objectFlags | 128 /* ObjectLiteral */ | 131072 /* ContainsObjectOrArrayLiteral */;\n      return result;\n    }\n  }\n  function checkJsxChildren(node, checkMode) {\n    const childrenTypes = [];\n    for (const child of node.children) {\n      if (child.kind === 11 /* JsxText */) {\n        if (!child.containsOnlyTriviaWhiteSpaces) {\n          childrenTypes.push(stringType);\n        }\n      } else if (child.kind === 297 /* JsxExpression */ && !child.expression) {\n        continue;\n      } else {\n        childrenTypes.push(checkExpressionForMutableLocation(child, checkMode));\n      }\n    }\n    return childrenTypes;\n  }\n  function checkSpreadPropOverrides(type, props, spread) {\n    for (const right of getPropertiesOfType(type)) {\n      if (!(right.flags & 16777216 /* Optional */)) {\n        const left = props.get(right.escapedName);\n        if (left) {\n          const diagnostic = error(left.valueDeclaration, Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten, unescapeLeadingUnderscores(left.escapedName));\n          addRelatedInfo(diagnostic, createDiagnosticForNode(spread, Diagnostics.This_spread_always_overwrites_this_property));\n        }\n      }\n    }\n  }\n  function checkJsxAttributes(node, checkMode) {\n    return createJsxAttributesTypeFromAttributesProperty(node.parent, checkMode);\n  }\n  function getJsxType(name, location) {\n    const namespace = getJsxNamespaceAt(location);\n    const exports = namespace && getExportsOfSymbol(namespace);\n    const typeSymbol = exports && getSymbol2(exports, name, 788968 /* Type */);\n    return typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType;\n  }\n  function getIntrinsicTagSymbol(node) {\n    const links = getNodeLinks(node);\n    if (!links.resolvedSymbol) {\n      const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, node);\n      if (!isErrorType(intrinsicElementsType)) {\n        if (!isIdentifier(node.tagName))\n          return Debug.fail();\n        const intrinsicProp = getPropertyOfType(intrinsicElementsType, node.tagName.escapedText);\n        if (intrinsicProp) {\n          links.jsxFlags |= 1 /* IntrinsicNamedElement */;\n          return links.resolvedSymbol = intrinsicProp;\n        }\n        const indexSignatureType = getIndexTypeOfType(intrinsicElementsType, stringType);\n        if (indexSignatureType) {\n          links.jsxFlags |= 2 /* IntrinsicIndexedElement */;\n          return links.resolvedSymbol = intrinsicElementsType.symbol;\n        }\n        error(node, Diagnostics.Property_0_does_not_exist_on_type_1, idText(node.tagName), \"JSX.\" + JsxNames.IntrinsicElements);\n        return links.resolvedSymbol = unknownSymbol;\n      } else {\n        if (noImplicitAny) {\n          error(node, Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists, unescapeLeadingUnderscores(JsxNames.IntrinsicElements));\n        }\n        return links.resolvedSymbol = unknownSymbol;\n      }\n    }\n    return links.resolvedSymbol;\n  }\n  function getJsxNamespaceContainerForImplicitImport(location) {\n    const file = location && getSourceFileOfNode(location);\n    const links = file && getNodeLinks(file);\n    if (links && links.jsxImplicitImportContainer === false) {\n      return void 0;\n    }\n    if (links && links.jsxImplicitImportContainer) {\n      return links.jsxImplicitImportContainer;\n    }\n    const runtimeImportSpecifier = getJSXRuntimeImport(getJSXImplicitImportBase(compilerOptions, file), compilerOptions);\n    if (!runtimeImportSpecifier) {\n      return void 0;\n    }\n    const isClassic = getEmitModuleResolutionKind(compilerOptions) === 1 /* Classic */;\n    const errorMessage = isClassic ? Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option : Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;\n    const mod = resolveExternalModule(location, runtimeImportSpecifier, errorMessage, location);\n    const result = mod && mod !== unknownSymbol ? getMergedSymbol(resolveSymbol(mod)) : void 0;\n    if (links) {\n      links.jsxImplicitImportContainer = result || false;\n    }\n    return result;\n  }\n  function getJsxNamespaceAt(location) {\n    const links = location && getNodeLinks(location);\n    if (links && links.jsxNamespace) {\n      return links.jsxNamespace;\n    }\n    if (!links || links.jsxNamespace !== false) {\n      let resolvedNamespace = getJsxNamespaceContainerForImplicitImport(location);\n      if (!resolvedNamespace || resolvedNamespace === unknownSymbol) {\n        const namespaceName = getJsxNamespace(location);\n        resolvedNamespace = resolveName(location, namespaceName, 1920 /* Namespace */, void 0, namespaceName, false);\n      }\n      if (resolvedNamespace) {\n        const candidate = resolveSymbol(getSymbol2(getExportsOfSymbol(resolveSymbol(resolvedNamespace)), JsxNames.JSX, 1920 /* Namespace */));\n        if (candidate && candidate !== unknownSymbol) {\n          if (links) {\n            links.jsxNamespace = candidate;\n          }\n          return candidate;\n        }\n      }\n      if (links) {\n        links.jsxNamespace = false;\n      }\n    }\n    const s = resolveSymbol(getGlobalSymbol(JsxNames.JSX, 1920 /* Namespace */, void 0));\n    if (s === unknownSymbol) {\n      return void 0;\n    }\n    return s;\n  }\n  function getNameFromJsxElementAttributesContainer(nameOfAttribPropContainer, jsxNamespace) {\n    const jsxElementAttribPropInterfaceSym = jsxNamespace && getSymbol2(jsxNamespace.exports, nameOfAttribPropContainer, 788968 /* Type */);\n    const jsxElementAttribPropInterfaceType = jsxElementAttribPropInterfaceSym && getDeclaredTypeOfSymbol(jsxElementAttribPropInterfaceSym);\n    const propertiesOfJsxElementAttribPropInterface = jsxElementAttribPropInterfaceType && getPropertiesOfType(jsxElementAttribPropInterfaceType);\n    if (propertiesOfJsxElementAttribPropInterface) {\n      if (propertiesOfJsxElementAttribPropInterface.length === 0) {\n        return \"\";\n      } else if (propertiesOfJsxElementAttribPropInterface.length === 1) {\n        return propertiesOfJsxElementAttribPropInterface[0].escapedName;\n      } else if (propertiesOfJsxElementAttribPropInterface.length > 1 && jsxElementAttribPropInterfaceSym.declarations) {\n        error(jsxElementAttribPropInterfaceSym.declarations[0], Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property, unescapeLeadingUnderscores(nameOfAttribPropContainer));\n      }\n    }\n    return void 0;\n  }\n  function getJsxLibraryManagedAttributes(jsxNamespace) {\n    return jsxNamespace && getSymbol2(jsxNamespace.exports, JsxNames.LibraryManagedAttributes, 788968 /* Type */);\n  }\n  function getJsxElementPropertiesName(jsxNamespace) {\n    return getNameFromJsxElementAttributesContainer(JsxNames.ElementAttributesPropertyNameContainer, jsxNamespace);\n  }\n  function getJsxElementChildrenPropertyName(jsxNamespace) {\n    return getNameFromJsxElementAttributesContainer(JsxNames.ElementChildrenAttributeNameContainer, jsxNamespace);\n  }\n  function getUninstantiatedJsxSignaturesOfType(elementType, caller) {\n    if (elementType.flags & 4 /* String */) {\n      return [anySignature];\n    } else if (elementType.flags & 128 /* StringLiteral */) {\n      const intrinsicType = getIntrinsicAttributesTypeFromStringLiteralType(elementType, caller);\n      if (!intrinsicType) {\n        error(caller, Diagnostics.Property_0_does_not_exist_on_type_1, elementType.value, \"JSX.\" + JsxNames.IntrinsicElements);\n        return emptyArray;\n      } else {\n        const fakeSignature = createSignatureForJSXIntrinsic(caller, intrinsicType);\n        return [fakeSignature];\n      }\n    }\n    const apparentElemType = getApparentType(elementType);\n    let signatures = getSignaturesOfType(apparentElemType, 1 /* Construct */);\n    if (signatures.length === 0) {\n      signatures = getSignaturesOfType(apparentElemType, 0 /* Call */);\n    }\n    if (signatures.length === 0 && apparentElemType.flags & 1048576 /* Union */) {\n      signatures = getUnionSignatures(map(apparentElemType.types, (t) => getUninstantiatedJsxSignaturesOfType(t, caller)));\n    }\n    return signatures;\n  }\n  function getIntrinsicAttributesTypeFromStringLiteralType(type, location) {\n    const intrinsicElementsType = getJsxType(JsxNames.IntrinsicElements, location);\n    if (!isErrorType(intrinsicElementsType)) {\n      const stringLiteralTypeName = type.value;\n      const intrinsicProp = getPropertyOfType(intrinsicElementsType, escapeLeadingUnderscores(stringLiteralTypeName));\n      if (intrinsicProp) {\n        return getTypeOfSymbol(intrinsicProp);\n      }\n      const indexSignatureType = getIndexTypeOfType(intrinsicElementsType, stringType);\n      if (indexSignatureType) {\n        return indexSignatureType;\n      }\n      return void 0;\n    }\n    return anyType;\n  }\n  function checkJsxReturnAssignableToAppropriateBound(refKind, elemInstanceType, openingLikeElement) {\n    if (refKind === 1 /* Function */) {\n      const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement);\n      if (sfcReturnConstraint) {\n        checkTypeRelatedTo(elemInstanceType, sfcReturnConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain);\n      }\n    } else if (refKind === 0 /* Component */) {\n      const classConstraint = getJsxElementClassTypeAt(openingLikeElement);\n      if (classConstraint) {\n        checkTypeRelatedTo(elemInstanceType, classConstraint, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain);\n      }\n    } else {\n      const sfcReturnConstraint = getJsxStatelessElementTypeAt(openingLikeElement);\n      const classConstraint = getJsxElementClassTypeAt(openingLikeElement);\n      if (!sfcReturnConstraint || !classConstraint) {\n        return;\n      }\n      const combined = getUnionType([sfcReturnConstraint, classConstraint]);\n      checkTypeRelatedTo(elemInstanceType, combined, assignableRelation, openingLikeElement.tagName, Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element, generateInitialErrorChain);\n    }\n    function generateInitialErrorChain() {\n      const componentName = getTextOfNode(openingLikeElement.tagName);\n      return chainDiagnosticMessages(void 0, Diagnostics._0_cannot_be_used_as_a_JSX_component, componentName);\n    }\n  }\n  function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node) {\n    Debug.assert(isJsxIntrinsicIdentifier(node.tagName));\n    const links = getNodeLinks(node);\n    if (!links.resolvedJsxElementAttributesType) {\n      const symbol = getIntrinsicTagSymbol(node);\n      if (links.jsxFlags & 1 /* IntrinsicNamedElement */) {\n        return links.resolvedJsxElementAttributesType = getTypeOfSymbol(symbol) || errorType;\n      } else if (links.jsxFlags & 2 /* IntrinsicIndexedElement */) {\n        return links.resolvedJsxElementAttributesType = getIndexTypeOfType(getJsxType(JsxNames.IntrinsicElements, node), stringType) || errorType;\n      } else {\n        return links.resolvedJsxElementAttributesType = errorType;\n      }\n    }\n    return links.resolvedJsxElementAttributesType;\n  }\n  function getJsxElementClassTypeAt(location) {\n    const type = getJsxType(JsxNames.ElementClass, location);\n    if (isErrorType(type))\n      return void 0;\n    return type;\n  }\n  function getJsxElementTypeAt(location) {\n    return getJsxType(JsxNames.Element, location);\n  }\n  function getJsxStatelessElementTypeAt(location) {\n    const jsxElementType = getJsxElementTypeAt(location);\n    if (jsxElementType) {\n      return getUnionType([jsxElementType, nullType]);\n    }\n  }\n  function getJsxIntrinsicTagNamesAt(location) {\n    const intrinsics = getJsxType(JsxNames.IntrinsicElements, location);\n    return intrinsics ? getPropertiesOfType(intrinsics) : emptyArray;\n  }\n  function checkJsxPreconditions(errorNode) {\n    if ((compilerOptions.jsx || 0 /* None */) === 0 /* None */) {\n      error(errorNode, Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided);\n    }\n    if (getJsxElementTypeAt(errorNode) === void 0) {\n      if (noImplicitAny) {\n        error(errorNode, Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist);\n      }\n    }\n  }\n  function checkJsxOpeningLikeElementOrOpeningFragment(node) {\n    const isNodeOpeningLikeElement = isJsxOpeningLikeElement(node);\n    if (isNodeOpeningLikeElement) {\n      checkGrammarJsxElement(node);\n    }\n    checkJsxPreconditions(node);\n    if (!getJsxNamespaceContainerForImplicitImport(node)) {\n      const jsxFactoryRefErr = diagnostics && compilerOptions.jsx === 2 /* React */ ? Diagnostics.Cannot_find_name_0 : void 0;\n      const jsxFactoryNamespace = getJsxNamespace(node);\n      const jsxFactoryLocation = isNodeOpeningLikeElement ? node.tagName : node;\n      let jsxFactorySym;\n      if (!(isJsxOpeningFragment(node) && jsxFactoryNamespace === \"null\")) {\n        jsxFactorySym = resolveName(jsxFactoryLocation, jsxFactoryNamespace, 111551 /* Value */, jsxFactoryRefErr, jsxFactoryNamespace, true);\n      }\n      if (jsxFactorySym) {\n        jsxFactorySym.isReferenced = 67108863 /* All */;\n        if (jsxFactorySym.flags & 2097152 /* Alias */ && !getTypeOnlyAliasDeclaration(jsxFactorySym)) {\n          markAliasSymbolAsReferenced(jsxFactorySym);\n        }\n      }\n      if (isJsxOpeningFragment(node)) {\n        const file = getSourceFileOfNode(node);\n        const localJsxNamespace = getLocalJsxNamespace(file);\n        if (localJsxNamespace) {\n          resolveName(jsxFactoryLocation, localJsxNamespace, 111551 /* Value */, jsxFactoryRefErr, localJsxNamespace, true);\n        }\n      }\n    }\n    if (isNodeOpeningLikeElement) {\n      const jsxOpeningLikeNode = node;\n      const sig = getResolvedSignature(jsxOpeningLikeNode);\n      checkDeprecatedSignature(sig, node);\n      checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(jsxOpeningLikeNode), getReturnTypeOfSignature(sig), jsxOpeningLikeNode);\n    }\n  }\n  function isKnownProperty(targetType, name, isComparingJsxAttributes) {\n    if (targetType.flags & 524288 /* Object */) {\n      if (getPropertyOfObjectType(targetType, name) || getApplicableIndexInfoForName(targetType, name) || isLateBoundName(name) && getIndexInfoOfType(targetType, stringType) || isComparingJsxAttributes && isHyphenatedJsxName(name)) {\n        return true;\n      }\n    } else if (targetType.flags & 3145728 /* UnionOrIntersection */ && isExcessPropertyCheckTarget(targetType)) {\n      for (const t of targetType.types) {\n        if (isKnownProperty(t, name, isComparingJsxAttributes)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function isExcessPropertyCheckTarget(type) {\n    return !!(type.flags & 524288 /* Object */ && !(getObjectFlags(type) & 512 /* ObjectLiteralPatternWithComputedProperties */) || type.flags & 67108864 /* NonPrimitive */ || type.flags & 1048576 /* Union */ && some(type.types, isExcessPropertyCheckTarget) || type.flags & 2097152 /* Intersection */ && every(type.types, isExcessPropertyCheckTarget));\n  }\n  function checkJsxExpression(node, checkMode) {\n    checkGrammarJsxExpression(node);\n    if (node.expression) {\n      const type = checkExpression(node.expression, checkMode);\n      if (node.dotDotDotToken && type !== anyType && !isArrayType(type)) {\n        error(node, Diagnostics.JSX_spread_child_must_be_an_array_type);\n      }\n      return type;\n    } else {\n      return errorType;\n    }\n  }\n  function getDeclarationNodeFlagsFromSymbol(s) {\n    return s.valueDeclaration ? getCombinedNodeFlags(s.valueDeclaration) : 0;\n  }\n  function isPrototypeProperty(symbol) {\n    if (symbol.flags & 8192 /* Method */ || getCheckFlags(symbol) & 4 /* SyntheticMethod */) {\n      return true;\n    }\n    if (isInJSFile(symbol.valueDeclaration)) {\n      const parent2 = symbol.valueDeclaration.parent;\n      return parent2 && isBinaryExpression(parent2) && getAssignmentDeclarationKind(parent2) === 3 /* PrototypeProperty */;\n    }\n  }\n  function checkPropertyAccessibility(node, isSuper, writing, type, prop, reportError = true) {\n    const errorNode = !reportError ? void 0 : node.kind === 165 /* QualifiedName */ ? node.right : node.kind === 205 /* ImportType */ ? node : node.kind === 208 /* BindingElement */ && node.propertyName ? node.propertyName : node.name;\n    return checkPropertyAccessibilityAtLocation(node, isSuper, writing, type, prop, errorNode);\n  }\n  function checkPropertyAccessibilityAtLocation(location, isSuper, writing, containingType, prop, errorNode) {\n    const flags = getDeclarationModifierFlagsFromSymbol(prop, writing);\n    if (isSuper) {\n      if (languageVersion < 2 /* ES2015 */) {\n        if (symbolHasNonMethodDeclaration(prop)) {\n          if (errorNode) {\n            error(errorNode, Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword);\n          }\n          return false;\n        }\n      }\n      if (flags & 256 /* Abstract */) {\n        if (errorNode) {\n          error(\n            errorNode,\n            Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,\n            symbolToString(prop),\n            typeToString(getDeclaringClass(prop))\n          );\n        }\n        return false;\n      }\n    }\n    if (flags & 256 /* Abstract */ && symbolHasNonMethodDeclaration(prop) && (isThisProperty(location) || isThisInitializedObjectBindingExpression(location) || isObjectBindingPattern(location.parent) && isThisInitializedDeclaration(location.parent.parent))) {\n      const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop));\n      if (declaringClassDeclaration && isNodeUsedDuringClassInitialization(location)) {\n        if (errorNode) {\n          error(\n            errorNode,\n            Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,\n            symbolToString(prop),\n            getTextOfIdentifierOrLiteral(declaringClassDeclaration.name)\n          );\n        }\n        return false;\n      }\n    }\n    if (!(flags & 24 /* NonPublicAccessibilityModifier */)) {\n      return true;\n    }\n    if (flags & 8 /* Private */) {\n      const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(getParentOfSymbol(prop));\n      if (!isNodeWithinClass(location, declaringClassDeclaration)) {\n        if (errorNode) {\n          error(\n            errorNode,\n            Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,\n            symbolToString(prop),\n            typeToString(getDeclaringClass(prop))\n          );\n        }\n        return false;\n      }\n      return true;\n    }\n    if (isSuper) {\n      return true;\n    }\n    let enclosingClass = forEachEnclosingClass(location, (enclosingDeclaration) => {\n      const enclosingClass2 = getDeclaredTypeOfSymbol(getSymbolOfNode(enclosingDeclaration));\n      return isClassDerivedFromDeclaringClasses(enclosingClass2, prop, writing);\n    });\n    if (!enclosingClass) {\n      enclosingClass = getEnclosingClassFromThisParameter(location);\n      enclosingClass = enclosingClass && isClassDerivedFromDeclaringClasses(enclosingClass, prop, writing);\n      if (flags & 32 /* Static */ || !enclosingClass) {\n        if (errorNode) {\n          error(\n            errorNode,\n            Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,\n            symbolToString(prop),\n            typeToString(getDeclaringClass(prop) || containingType)\n          );\n        }\n        return false;\n      }\n    }\n    if (flags & 32 /* Static */) {\n      return true;\n    }\n    if (containingType.flags & 262144 /* TypeParameter */) {\n      containingType = containingType.isThisType ? getConstraintOfTypeParameter(containingType) : getBaseConstraintOfType(containingType);\n    }\n    if (!containingType || !hasBaseType(containingType, enclosingClass)) {\n      if (errorNode) {\n        error(\n          errorNode,\n          Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,\n          symbolToString(prop),\n          typeToString(enclosingClass),\n          typeToString(containingType)\n        );\n      }\n      return false;\n    }\n    return true;\n  }\n  function getEnclosingClassFromThisParameter(node) {\n    const thisParameter = getThisParameterFromNodeContext(node);\n    let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type);\n    if (thisType && thisType.flags & 262144 /* TypeParameter */) {\n      thisType = getConstraintOfTypeParameter(thisType);\n    }\n    if (thisType && getObjectFlags(thisType) & (3 /* ClassOrInterface */ | 4 /* Reference */)) {\n      return getTargetType3(thisType);\n    }\n    return void 0;\n  }\n  function getThisParameterFromNodeContext(node) {\n    const thisContainer = getThisContainer(node, false);\n    return thisContainer && isFunctionLike(thisContainer) ? getThisParameter(thisContainer) : void 0;\n  }\n  function symbolHasNonMethodDeclaration(symbol) {\n    return !!forEachProperty2(symbol, (prop) => !(prop.flags & 8192 /* Method */));\n  }\n  function checkNonNullExpression(node, checkMode) {\n    return checkNonNullType(checkExpression(node, checkMode), node);\n  }\n  function isNullableType(type) {\n    return !!(getTypeFacts(type) & 50331648 /* IsUndefinedOrNull */);\n  }\n  function getNonNullableTypeIfNeeded(type) {\n    return isNullableType(type) ? getNonNullableType3(type) : type;\n  }\n  function reportObjectPossiblyNullOrUndefinedError(node, facts) {\n    const nodeText2 = isEntityNameExpression(node) ? entityNameToString(node) : void 0;\n    if (node.kind === 105 /* NullKeyword */) {\n      error(node, Diagnostics.The_value_0_cannot_be_used_here, \"null\");\n      return;\n    }\n    if (nodeText2 !== void 0 && nodeText2.length < 100) {\n      if (isIdentifier(node) && nodeText2 === \"undefined\") {\n        error(node, Diagnostics.The_value_0_cannot_be_used_here, \"undefined\");\n        return;\n      }\n      error(\n        node,\n        facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics._0_is_possibly_null_or_undefined : Diagnostics._0_is_possibly_undefined : Diagnostics._0_is_possibly_null,\n        nodeText2\n      );\n    } else {\n      error(\n        node,\n        facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics.Object_is_possibly_null_or_undefined : Diagnostics.Object_is_possibly_undefined : Diagnostics.Object_is_possibly_null\n      );\n    }\n  }\n  function reportCannotInvokePossiblyNullOrUndefinedError(node, facts) {\n    error(\n      node,\n      facts & 16777216 /* IsUndefined */ ? facts & 33554432 /* IsNull */ ? Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined : Diagnostics.Cannot_invoke_an_object_which_is_possibly_null\n    );\n  }\n  function checkNonNullTypeWithReporter(type, node, reportError) {\n    if (strictNullChecks && type.flags & 2 /* Unknown */) {\n      if (isEntityNameExpression(node)) {\n        const nodeText2 = entityNameToString(node);\n        if (nodeText2.length < 100) {\n          error(node, Diagnostics._0_is_of_type_unknown, nodeText2);\n          return errorType;\n        }\n      }\n      error(node, Diagnostics.Object_is_of_type_unknown);\n      return errorType;\n    }\n    const facts = getTypeFacts(type);\n    if (facts & 50331648 /* IsUndefinedOrNull */) {\n      reportError(node, facts);\n      const t = getNonNullableType3(type);\n      return t.flags & (98304 /* Nullable */ | 131072 /* Never */) ? errorType : t;\n    }\n    return type;\n  }\n  function checkNonNullType(type, node) {\n    return checkNonNullTypeWithReporter(type, node, reportObjectPossiblyNullOrUndefinedError);\n  }\n  function checkNonNullNonVoidType(type, node) {\n    const nonNullType = checkNonNullType(type, node);\n    if (nonNullType.flags & 16384 /* Void */) {\n      if (isEntityNameExpression(node)) {\n        const nodeText2 = entityNameToString(node);\n        if (isIdentifier(node) && nodeText2 === \"undefined\") {\n          error(node, Diagnostics.The_value_0_cannot_be_used_here, nodeText2);\n          return nonNullType;\n        }\n        if (nodeText2.length < 100) {\n          error(node, Diagnostics._0_is_possibly_undefined, nodeText2);\n          return nonNullType;\n        }\n      }\n      error(node, Diagnostics.Object_is_possibly_undefined);\n    }\n    return nonNullType;\n  }\n  function checkPropertyAccessExpression(node, checkMode) {\n    if (checkMode !== 128 /* SkipEtsComponentBody */) {\n      propertyAccessExpressionConditionCheck(node);\n    }\n    return node.flags & 32 /* OptionalChain */ ? checkPropertyAccessChain(node, checkMode) : checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullExpression(node.expression), node.name, checkMode);\n  }\n  function checkPropertyAccessChain(node, checkMode) {\n    const leftType = checkExpression(node.expression);\n    const nonOptionalType = getOptionalExpressionType(leftType, node.expression);\n    return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullType(nonOptionalType, node.expression), node.name, checkMode), node, nonOptionalType !== leftType);\n  }\n  function checkQualifiedName(node, checkMode) {\n    const leftType = isPartOfTypeQuery(node) && isThisIdentifier(node.left) ? checkNonNullType(checkThisExpression(node.left), node.left) : checkNonNullExpression(node.left);\n    return checkPropertyAccessExpressionOrQualifiedName(node, node.left, leftType, node.right, checkMode);\n  }\n  function isMethodAccessForCall(node) {\n    while (node.parent.kind === 217 /* ParenthesizedExpression */) {\n      node = node.parent;\n    }\n    return isCallOrNewExpression(node.parent) && node.parent.expression === node;\n  }\n  function lookupSymbolForPrivateIdentifierDeclaration(propName, location) {\n    for (let containingClass = getContainingClass(location); !!containingClass; containingClass = getContainingClass(containingClass)) {\n      const { symbol } = containingClass;\n      const name = getSymbolNameForPrivateIdentifier(symbol, propName);\n      const prop = symbol.members && symbol.members.get(name) || symbol.exports && symbol.exports.get(name);\n      if (prop) {\n        return prop;\n      }\n    }\n  }\n  function checkGrammarPrivateIdentifierExpression(privId) {\n    if (!getContainingClass(privId)) {\n      return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n    }\n    if (!isForInStatement(privId.parent)) {\n      if (!isExpressionNode(privId)) {\n        return grammarErrorOnNode(privId, Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);\n      }\n      const isInOperation = isBinaryExpression(privId.parent) && privId.parent.operatorToken.kind === 102 /* InKeyword */;\n      if (!getSymbolForPrivateIdentifierExpression(privId) && !isInOperation) {\n        return grammarErrorOnNode(privId, Diagnostics.Cannot_find_name_0, idText(privId));\n      }\n    }\n    return false;\n  }\n  function checkPrivateIdentifierExpression(privId) {\n    checkGrammarPrivateIdentifierExpression(privId);\n    const symbol = getSymbolForPrivateIdentifierExpression(privId);\n    if (symbol) {\n      markPropertyAsReferenced(symbol, void 0, false);\n    }\n    return anyType;\n  }\n  function getSymbolForPrivateIdentifierExpression(privId) {\n    if (!isExpressionNode(privId)) {\n      return void 0;\n    }\n    const links = getNodeLinks(privId);\n    if (links.resolvedSymbol === void 0) {\n      links.resolvedSymbol = lookupSymbolForPrivateIdentifierDeclaration(privId.escapedText, privId);\n    }\n    return links.resolvedSymbol;\n  }\n  function getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedIdentifier) {\n    return getPropertyOfType(leftType, lexicallyScopedIdentifier.escapedName);\n  }\n  function checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedIdentifier) {\n    let propertyOnType;\n    const properties = getPropertiesOfType(leftType);\n    if (properties) {\n      forEach(properties, (symbol) => {\n        const decl = symbol.valueDeclaration;\n        if (decl && isNamedDeclaration(decl) && isPrivateIdentifier(decl.name) && decl.name.escapedText === right.escapedText) {\n          propertyOnType = symbol;\n          return true;\n        }\n      });\n    }\n    const diagName = diagnosticName(right);\n    if (propertyOnType) {\n      const typeValueDecl = Debug.checkDefined(propertyOnType.valueDeclaration);\n      const typeClass = Debug.checkDefined(getContainingClass(typeValueDecl));\n      if (lexicallyScopedIdentifier == null ? void 0 : lexicallyScopedIdentifier.valueDeclaration) {\n        const lexicalValueDecl = lexicallyScopedIdentifier.valueDeclaration;\n        const lexicalClass = getContainingClass(lexicalValueDecl);\n        Debug.assert(!!lexicalClass);\n        if (findAncestor(lexicalClass, (n) => typeClass === n)) {\n          const diagnostic = error(\n            right,\n            Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,\n            diagName,\n            typeToString(leftType)\n          );\n          addRelatedInfo(\n            diagnostic,\n            createDiagnosticForNode(\n              lexicalValueDecl,\n              Diagnostics.The_shadowing_declaration_of_0_is_defined_here,\n              diagName\n            ),\n            createDiagnosticForNode(\n              typeValueDecl,\n              Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,\n              diagName\n            )\n          );\n          return true;\n        }\n      }\n      error(\n        right,\n        Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,\n        diagName,\n        diagnosticName(typeClass.name || anon)\n      );\n      return true;\n    }\n    return false;\n  }\n  function isThisPropertyAccessInConstructor(node, prop) {\n    return (isConstructorDeclaredProperty(prop) || isThisProperty(node) && isAutoTypedProperty(prop)) && getThisContainer(node, true) === getDeclaringConstructor(prop);\n  }\n  function checkPropertyAccessExpressionOrQualifiedName(node, left, leftType, right, checkMode) {\n    var _a2;\n    const parentSymbol = getNodeLinks(left).resolvedSymbol;\n    const assignmentKind = getAssignmentTargetKind(node);\n    const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(leftType) : leftType);\n    const isAnyLike = isTypeAny(apparentType) || apparentType === silentNeverType;\n    let prop;\n    if (isPropertyAccessExpression(node) && isConstEnumObjectType(leftType)) {\n      checkConstEnumRelate(node, leftType.symbol);\n    }\n    if (isPrivateIdentifier(right)) {\n      if (languageVersion < 99 /* ESNext */) {\n        if (assignmentKind !== 0 /* None */) {\n          checkExternalEmitHelpers(node, 1048576 /* ClassPrivateFieldSet */);\n        }\n        if (assignmentKind !== 1 /* Definite */) {\n          checkExternalEmitHelpers(node, 524288 /* ClassPrivateFieldGet */);\n        }\n      }\n      const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right);\n      if (assignmentKind && lexicallyScopedSymbol && lexicallyScopedSymbol.valueDeclaration && isMethodDeclaration(lexicallyScopedSymbol.valueDeclaration)) {\n        grammarErrorOnNode(right, Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable, idText(right));\n      }\n      if (isAnyLike) {\n        if (lexicallyScopedSymbol) {\n          return isErrorType(apparentType) ? errorType : apparentType;\n        }\n        if (!getContainingClass(right)) {\n          grammarErrorOnNode(right, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n          return anyType;\n        }\n      }\n      prop = lexicallyScopedSymbol ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedSymbol) : void 0;\n      if (!prop && checkPrivateIdentifierPropertyAccess(leftType, right, lexicallyScopedSymbol)) {\n        return errorType;\n      } else {\n        const isSetonlyAccessor = prop && prop.flags & 65536 /* SetAccessor */ && !(prop.flags & 32768 /* GetAccessor */);\n        if (isSetonlyAccessor && assignmentKind !== 1 /* Definite */) {\n          error(node, Diagnostics.Private_accessor_was_defined_without_a_getter);\n        }\n      }\n    } else {\n      if (isAnyLike) {\n        if (isIdentifier(left) && parentSymbol) {\n          markAliasReferenced(parentSymbol, node);\n        }\n        return isErrorType(apparentType) ? errorType : apparentType;\n      }\n      prop = getPropertyOfType(apparentType, right.escapedText, false, node.kind === 165 /* QualifiedName */);\n      if (!prop) {\n        const etsComponentExpressionNode = getEtsComponentExpressionInnerCallExpressionNode(node) || getRootEtsComponentInnerCallExpressionNode(node);\n        const locals = getSourceFileOfNode(node).locals;\n        if (etsComponentExpressionNode && (locals == null ? void 0 : locals.has(right.escapedText))) {\n          const extraSymbol = locals == null ? void 0 : locals.get(right.escapedText);\n          const decorators = getAllDecorators(extraSymbol == null ? void 0 : extraSymbol.valueDeclaration);\n          const etsComponentName = etsComponentExpressionNode.expression.kind === 79 /* Identifier */ ? etsComponentExpressionNode.expression.escapedText : void 0;\n          if (getEtsExtendDecoratorsComponentNames(decorators, compilerOptions).find((extendComponentName) => extendComponentName === etsComponentName)) {\n            prop = extraSymbol;\n          }\n          if (hasEtsStylesDecoratorNames(decorators, compilerOptions)) {\n            prop = extraSymbol;\n          }\n        }\n        const props = (_a2 = getContainingStruct(node)) == null ? void 0 : _a2.symbol.members;\n        if (etsComponentExpressionNode && (props == null ? void 0 : props.has(right.escapedText))) {\n          const stylesSymbol = props == null ? void 0 : props.get(right.escapedText);\n          const decorators = getAllDecorators(stylesSymbol == null ? void 0 : stylesSymbol.valueDeclaration);\n          if (hasEtsStylesDecoratorNames(decorators, compilerOptions)) {\n            prop = stylesSymbol;\n          }\n        }\n      }\n    }\n    if (isIdentifier(left) && parentSymbol && (compilerOptions.isolatedModules || !(prop && (isConstEnumOrConstEnumOnlyModule(prop) || prop.flags & 8 /* EnumMember */ && node.parent.kind === 308 /* EnumMember */)) || shouldPreserveConstEnums(compilerOptions) && isExportOrExportExpression(node))) {\n      markAliasReferenced(parentSymbol, node);\n    }\n    let propType;\n    if (!prop) {\n      const indexInfo = !isPrivateIdentifier(right) && (assignmentKind === 0 /* None */ || !isGenericObjectType(leftType) || isThisTypeParameter(leftType)) ? getApplicableIndexInfoForName(apparentType, right.escapedText) : void 0;\n      if (!(indexInfo && indexInfo.type)) {\n        const isUncheckedJS = isUncheckedJSSuggestion(node, leftType.symbol, true);\n        if (!isUncheckedJS && isJSLiteralType(leftType)) {\n          return anyType;\n        }\n        if (leftType.symbol === globalThisSymbol) {\n          if (globalThisSymbol.exports.has(right.escapedText) && globalThisSymbol.exports.get(right.escapedText).flags & 418 /* BlockScoped */) {\n            error(right, Diagnostics.Property_0_does_not_exist_on_type_1, unescapeLeadingUnderscores(right.escapedText), typeToString(leftType));\n          } else if (noImplicitAny) {\n            error(right, Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature, typeToString(leftType));\n          }\n          return anyType;\n        }\n        if (right.escapedText && !checkAndReportErrorForExtendingInterface(node)) {\n          reportNonexistentProperty(right, isThisTypeParameter(leftType) ? apparentType : leftType, isUncheckedJS);\n        }\n        return errorType;\n      }\n      if (indexInfo.isReadonly && (isAssignmentTarget(node) || isDeleteTarget(node))) {\n        error(node, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(apparentType));\n      }\n      propType = compilerOptions.noUncheckedIndexedAccess && !isAssignmentTarget(node) ? getUnionType([indexInfo.type, undefinedType]) : indexInfo.type;\n      if (compilerOptions.noPropertyAccessFromIndexSignature && isPropertyAccessExpression(node)) {\n        error(right, Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0, unescapeLeadingUnderscores(right.escapedText));\n      }\n      if (indexInfo.declaration && getCombinedNodeFlags(indexInfo.declaration) & 268435456 /* Deprecated */) {\n        addDeprecatedSuggestion(right, [indexInfo.declaration], right.escapedText);\n      }\n    } else {\n      if (isDeprecatedSymbol(prop) && isUncalledFunctionReference(node, prop) && prop.declarations) {\n        addDeprecatedSuggestion(right, prop.declarations, right.escapedText);\n      }\n      checkPropertyNotUsedBeforeDeclaration(prop, node, right);\n      markPropertyAsReferenced(prop, node, isSelfTypeAccess(left, parentSymbol));\n      getNodeLinks(node).resolvedSymbol = prop;\n      const writing = isWriteAccess(node);\n      checkPropertyAccessibility(node, left.kind === 107 /* SuperKeyword */, writing, apparentType, prop);\n      if (isAssignmentToReadonlyEntity(node, prop, assignmentKind)) {\n        error(right, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, idText(right));\n        return errorType;\n      }\n      propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);\n    }\n    return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);\n  }\n  function checkConstEnumRelate(node, originalSymbol) {\n    var _a2, _b;\n    const symbol = resolveSymbol(originalSymbol);\n    let filePath = (_a2 = getSourceFileOfNode(node)) == null ? void 0 : _a2.resolvedPath;\n    if (!symbol || !filePath) {\n      return;\n    }\n    if (!constEnumRelate.has(filePath)) {\n      constEnumRelate.set(filePath, new Map2());\n    }\n    (_b = symbol.declarations) == null ? void 0 : _b.forEach((decl) => {\n      var _a3;\n      let file = getSourceFileOfNode(decl);\n      if (!file || file.resolvedPath === filePath) {\n        return;\n      }\n      (_a3 = constEnumRelate.get(filePath)) == null ? void 0 : _a3.set(file.resolvedPath, file.version);\n    });\n  }\n  function isUncheckedJSSuggestion(node, suggestion, excludeClasses) {\n    const file = getSourceFileOfNode(node);\n    if (file) {\n      if (compilerOptions.checkJs === void 0 && file.checkJsDirective === void 0 && (file.scriptKind === 1 /* JS */ || file.scriptKind === 2 /* JSX */)) {\n        const declarationFile = forEach(suggestion == null ? void 0 : suggestion.declarations, getSourceFileOfNode);\n        return !(file !== declarationFile && !!declarationFile && isGlobalSourceFile(declarationFile)) && !(excludeClasses && suggestion && suggestion.flags & 32 /* Class */) && !(!!node && excludeClasses && isPropertyAccessExpression(node) && node.expression.kind === 109 /* ThisKeyword */);\n      }\n    }\n    return false;\n  }\n  function getFlowTypeOfAccessExpression(node, prop, propType, errorNode, checkMode) {\n    const assignmentKind = getAssignmentTargetKind(node);\n    if (assignmentKind === 1 /* Definite */) {\n      return removeMissingType(propType, !!(prop && prop.flags & 16777216 /* Optional */));\n    }\n    if (prop && !(prop.flags & (3 /* Variable */ | 4 /* Property */ | 98304 /* Accessor */)) && !(prop.flags & 8192 /* Method */ && propType.flags & 1048576 /* Union */) && !isDuplicatedCommonJSExport(prop.declarations)) {\n      return propType;\n    }\n    if (propType === autoType) {\n      return getFlowTypeOfProperty(node, prop);\n    }\n    propType = getNarrowableTypeForReference(propType, node, checkMode);\n    let assumeUninitialized = false;\n    if (strictNullChecks && strictPropertyInitialization && isAccessExpression(node) && node.expression.kind === 109 /* ThisKeyword */) {\n      const declaration = prop && prop.valueDeclaration;\n      if (declaration && isPropertyWithoutInitializer(declaration)) {\n        if (!isStatic(declaration)) {\n          const flowContainer = getControlFlowContainer(node);\n          if (flowContainer.kind === 176 /* Constructor */ && flowContainer.parent === declaration.parent && !(declaration.flags & 16777216 /* Ambient */)) {\n            assumeUninitialized = true;\n          }\n        }\n      }\n    } else if (strictNullChecks && prop && prop.valueDeclaration && isPropertyAccessExpression(prop.valueDeclaration) && getAssignmentDeclarationPropertyAccessKind(prop.valueDeclaration) && getControlFlowContainer(node) === getControlFlowContainer(prop.valueDeclaration)) {\n      assumeUninitialized = true;\n    }\n    const flowType = getFlowTypeOfReference(node, propType, assumeUninitialized ? getOptionalType(propType) : propType);\n    if (assumeUninitialized && !containsUndefinedType(propType) && containsUndefinedType(flowType)) {\n      error(errorNode, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(prop));\n      return propType;\n    }\n    return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;\n  }\n  function checkPropertyNotUsedBeforeDeclaration(prop, node, right) {\n    var _a2;\n    const { valueDeclaration } = prop;\n    if (!valueDeclaration || getSourceFileOfNode(node).isDeclarationFile) {\n      return;\n    }\n    let diagnosticMessage;\n    const declarationName = idText(right);\n    if (isInPropertyInitializerOrClassStaticBlock(node) && !isOptionalPropertyDeclaration(valueDeclaration) && !(isAccessExpression(node) && isAccessExpression(node.expression)) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right) && !(isMethodDeclaration(valueDeclaration) && getCombinedModifierFlags(valueDeclaration) & 32 /* Static */) && (compilerOptions.useDefineForClassFields || !isPropertyDeclaredInAncestorClass(prop))) {\n      let needInitialization = false;\n      let hasRequireDecorator = false;\n      const decorators = getAllDecorators(prop == null ? void 0 : prop.valueDeclaration);\n      if (decorators) {\n        needInitialization = (_a2 = host.getCompilerOptions().ets) == null ? void 0 : _a2.propertyDecorators.some((property) => {\n          return decorators == null ? void 0 : decorators.some((decorator) => {\n            if (isIdentifier(decorator.expression) && property.name === decorator.expression.escapedText.toString() && !property.needInitialization) {\n              return true;\n            } else {\n              return false;\n            }\n          });\n        });\n        hasRequireDecorator = decorators.some((decorator) => {\n          return isIdentifier(decorator.expression) && decorator.expression.escapedText.toString() === REQUIRE_DECORATOR;\n        });\n      }\n      if (!needInitialization && !(hasRequireDecorator && checkStructPropertyPosition(valueDeclaration, node))) {\n        diagnosticMessage = error(right, Diagnostics.Property_0_is_used_before_its_initialization, declarationName);\n      }\n    } else if (valueDeclaration.kind === 264 /* ClassDeclaration */ && node.parent.kind !== 183 /* TypeReference */ && !(valueDeclaration.flags & 16777216 /* Ambient */) && !isBlockScopedNameDeclaredBeforeUse(valueDeclaration, right)) {\n      diagnosticMessage = error(right, Diagnostics.Class_0_used_before_its_declaration, declarationName);\n    }\n    if (diagnosticMessage) {\n      addRelatedInfo(\n        diagnosticMessage,\n        createDiagnosticForNode(valueDeclaration, Diagnostics._0_is_declared_here, declarationName)\n      );\n    }\n  }\n  function isInPropertyInitializerOrClassStaticBlock(node) {\n    return !!findAncestor(node, (node2) => {\n      switch (node2.kind) {\n        case 171 /* PropertyDeclaration */:\n          return true;\n        case 305 /* PropertyAssignment */:\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 307 /* SpreadAssignment */:\n        case 166 /* ComputedPropertyName */:\n        case 240 /* TemplateSpan */:\n        case 297 /* JsxExpression */:\n        case 294 /* JsxAttribute */:\n        case 295 /* JsxAttributes */:\n        case 296 /* JsxSpreadAttribute */:\n        case 289 /* JsxOpeningElement */:\n        case 234 /* ExpressionWithTypeArguments */:\n        case 300 /* HeritageClause */:\n          return false;\n        case 219 /* ArrowFunction */:\n        case 245 /* ExpressionStatement */:\n          return isBlock(node2.parent) && isClassStaticBlockDeclaration(node2.parent.parent) ? true : \"quit\";\n        default:\n          return isExpressionNode(node2) ? false : \"quit\";\n      }\n    });\n  }\n  function isPropertyDeclaredInAncestorClass(prop) {\n    if (!(prop.parent.flags & 32 /* Class */)) {\n      return false;\n    }\n    let classType = getTypeOfSymbol(prop.parent);\n    while (true) {\n      classType = classType.symbol && getSuperClass(classType);\n      if (!classType) {\n        return false;\n      }\n      const superProperty = getPropertyOfType(classType, prop.escapedName);\n      if (superProperty && superProperty.valueDeclaration) {\n        return true;\n      }\n    }\n  }\n  function getSuperClass(classType) {\n    const x = getBaseTypes(classType);\n    if (x.length === 0) {\n      return void 0;\n    }\n    return getIntersectionType(x);\n  }\n  function reportNonexistentProperty(propNode, containingType, isUncheckedJS) {\n    let errorInfo;\n    let relatedInfo;\n    if (!isPrivateIdentifier(propNode) && containingType.flags & 1048576 /* Union */ && !(containingType.flags & 131068 /* Primitive */)) {\n      for (const subtype of containingType.types) {\n        if (!getPropertyOfType(subtype, propNode.escapedText) && !getApplicableIndexInfoForName(subtype, propNode.escapedText)) {\n          errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(subtype));\n          break;\n        }\n      }\n    }\n    if (typeHasStaticProperty(propNode.escapedText, containingType)) {\n      const propName = declarationNameToString(propNode);\n      const typeName = typeToString(containingType);\n      errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead, propName, typeName, typeName + \".\" + propName);\n    } else {\n      const promisedType = getPromisedTypeOfPromise(containingType);\n      if (promisedType && getPropertyOfType(promisedType, propNode.escapedText)) {\n        errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1, declarationNameToString(propNode), typeToString(containingType));\n        relatedInfo = createDiagnosticForNode(propNode, Diagnostics.Did_you_forget_to_use_await);\n      } else {\n        const missingProperty = declarationNameToString(propNode);\n        const container = typeToString(containingType);\n        const libSuggestion = getSuggestedLibForNonExistentProperty(missingProperty, containingType);\n        if (libSuggestion !== void 0) {\n          errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later, missingProperty, container, libSuggestion);\n        } else {\n          const suggestion = getSuggestedSymbolForNonexistentProperty(propNode, containingType);\n          if (suggestion !== void 0) {\n            const suggestedName = symbolName(suggestion);\n            const message = isUncheckedJS ? Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2 : Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2;\n            errorInfo = chainDiagnosticMessages(errorInfo, message, missingProperty, container, suggestedName);\n            relatedInfo = suggestion.valueDeclaration && createDiagnosticForNode(suggestion.valueDeclaration, Diagnostics._0_is_declared_here, suggestedName);\n          } else {\n            const diagnostic = containerSeemsToBeEmptyDomElement(containingType) ? Diagnostics.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom : Diagnostics.Property_0_does_not_exist_on_type_1;\n            errorInfo = chainDiagnosticMessages(elaborateNeverIntersection(errorInfo, containingType), diagnostic, missingProperty, container);\n          }\n        }\n      }\n    }\n    const resultDiagnostic = createDiagnosticForNodeFromMessageChain(propNode, errorInfo);\n    if (relatedInfo) {\n      addRelatedInfo(resultDiagnostic, relatedInfo);\n    }\n    addErrorOrSuggestion(!isUncheckedJS || errorInfo.code !== Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code, resultDiagnostic);\n  }\n  function containerSeemsToBeEmptyDomElement(containingType) {\n    return compilerOptions.lib && !compilerOptions.lib.includes(\"dom\") && everyContainedType(containingType, (type) => type.symbol && /^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(unescapeLeadingUnderscores(type.symbol.escapedName))) && isEmptyObjectType(containingType);\n  }\n  function typeHasStaticProperty(propName, containingType) {\n    const prop = containingType.symbol && getPropertyOfType(getTypeOfSymbol(containingType.symbol), propName);\n    return prop !== void 0 && !!prop.valueDeclaration && isStatic(prop.valueDeclaration);\n  }\n  function getSuggestedLibForNonExistentName(name) {\n    const missingName = diagnosticName(name);\n    const allFeatures = getScriptTargetFeatures();\n    const libTargets = getOwnKeys(allFeatures);\n    for (const libTarget of libTargets) {\n      const containingTypes = getOwnKeys(allFeatures[libTarget]);\n      if (containingTypes !== void 0 && contains(containingTypes, missingName)) {\n        return libTarget;\n      }\n    }\n  }\n  function getSuggestedLibForNonExistentProperty(missingProperty, containingType) {\n    const container = getApparentType(containingType).symbol;\n    if (!container) {\n      return void 0;\n    }\n    const allFeatures = getScriptTargetFeatures();\n    const libTargets = getOwnKeys(allFeatures);\n    for (const libTarget of libTargets) {\n      const featuresOfLib = allFeatures[libTarget];\n      const featuresOfContainingType = featuresOfLib[symbolName(container)];\n      if (featuresOfContainingType !== void 0 && contains(featuresOfContainingType, missingProperty)) {\n        return libTarget;\n      }\n    }\n  }\n  function getSuggestedSymbolForNonexistentClassMember(name, baseType) {\n    return getSpellingSuggestionForName(name, getPropertiesOfType(baseType), 106500 /* ClassMember */);\n  }\n  function getSuggestedSymbolForNonexistentProperty(name, containingType) {\n    let props = getPropertiesOfType(containingType);\n    if (typeof name !== \"string\") {\n      const parent2 = name.parent;\n      if (isPropertyAccessExpression(parent2)) {\n        props = filter(props, (prop) => isValidPropertyAccessForCompletions(parent2, containingType, prop));\n      }\n      name = idText(name);\n    }\n    return getSpellingSuggestionForName(name, props, 111551 /* Value */);\n  }\n  function getSuggestedSymbolForNonexistentJSXAttribute(name, containingType) {\n    const strName = isString(name) ? name : idText(name);\n    const properties = getPropertiesOfType(containingType);\n    const jsxSpecific = strName === \"for\" ? find(properties, (x) => symbolName(x) === \"htmlFor\") : strName === \"class\" ? find(properties, (x) => symbolName(x) === \"className\") : void 0;\n    return jsxSpecific != null ? jsxSpecific : getSpellingSuggestionForName(strName, properties, 111551 /* Value */);\n  }\n  function getSuggestionForNonexistentProperty(name, containingType) {\n    const suggestion = getSuggestedSymbolForNonexistentProperty(name, containingType);\n    return suggestion && symbolName(suggestion);\n  }\n  function getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning) {\n    Debug.assert(outerName !== void 0, \"outername should always be defined\");\n    const result = resolveNameHelper(location, outerName, meaning, void 0, outerName, false, false, true, (symbols, name, meaning2, node) => {\n      Debug.assertEqual(outerName, name, \"name should equal outerName\");\n      const symbol = getSymbol2(symbols, name, meaning2, node);\n      if (symbol)\n        return symbol;\n      let candidates;\n      if (symbols === globals) {\n        const primitives = mapDefined(\n          [\"string\", \"number\", \"boolean\", \"object\", \"bigint\", \"symbol\"],\n          (s) => symbols.has(s.charAt(0).toUpperCase() + s.slice(1)) ? createSymbol(524288 /* TypeAlias */, s) : void 0\n        );\n        candidates = primitives.concat(arrayFrom(symbols.values()));\n      } else {\n        candidates = arrayFrom(symbols.values());\n      }\n      return getSpellingSuggestionForName(unescapeLeadingUnderscores(name), candidates, meaning2);\n    });\n    return result;\n  }\n  function getSuggestionForNonexistentSymbol(location, outerName, meaning) {\n    const symbolResult = getSuggestedSymbolForNonexistentSymbol(location, outerName, meaning);\n    return symbolResult && symbolName(symbolResult);\n  }\n  function getSuggestedSymbolForNonexistentModule(name, targetModule) {\n    return targetModule.exports && getSpellingSuggestionForName(idText(name), getExportsOfModuleAsArray(targetModule), 2623475 /* ModuleMember */);\n  }\n  function getSuggestionForNonexistentExport(name, targetModule) {\n    const suggestion = getSuggestedSymbolForNonexistentModule(name, targetModule);\n    return suggestion && symbolName(suggestion);\n  }\n  function getSuggestionForNonexistentIndexSignature(objectType, expr, keyedType) {\n    function hasProp(name) {\n      const prop = getPropertyOfObjectType(objectType, name);\n      if (prop) {\n        const s = getSingleCallSignature(getTypeOfSymbol(prop));\n        return !!s && getMinArgumentCount(s) >= 1 && isTypeAssignableTo(keyedType, getTypeAtPosition(s, 0));\n      }\n      return false;\n    }\n    const suggestedMethod = isAssignmentTarget(expr) ? \"set\" : \"get\";\n    if (!hasProp(suggestedMethod)) {\n      return void 0;\n    }\n    let suggestion = tryGetPropertyAccessOrIdentifierToString(expr.expression);\n    if (suggestion === void 0) {\n      suggestion = suggestedMethod;\n    } else {\n      suggestion += \".\" + suggestedMethod;\n    }\n    return suggestion;\n  }\n  function getSuggestedTypeForNonexistentStringLiteralType(source, target) {\n    const candidates = target.types.filter((type) => !!(type.flags & 128 /* StringLiteral */));\n    return getSpellingSuggestion(source.value, candidates, (type) => type.value);\n  }\n  function getSpellingSuggestionForName(name, symbols, meaning) {\n    return getSpellingSuggestion(name, symbols, getCandidateName);\n    function getCandidateName(candidate) {\n      const candidateName = symbolName(candidate);\n      if (startsWith(candidateName, '\"')) {\n        return void 0;\n      }\n      if (candidate.flags & meaning) {\n        return candidateName;\n      }\n      if (candidate.flags & 2097152 /* Alias */) {\n        const alias = tryResolveAlias(candidate);\n        if (alias && alias.flags & meaning) {\n          return candidateName;\n        }\n      }\n      return void 0;\n    }\n  }\n  function markPropertyAsReferenced(prop, nodeForCheckWriteOnly, isSelfTypeAccess2) {\n    const valueDeclaration = prop && prop.flags & 106500 /* ClassMember */ && prop.valueDeclaration;\n    if (!valueDeclaration) {\n      return;\n    }\n    const hasPrivateModifier = hasEffectiveModifier(valueDeclaration, 8 /* Private */);\n    const hasPrivateIdentifier = prop.valueDeclaration && isNamedDeclaration(prop.valueDeclaration) && isPrivateIdentifier(prop.valueDeclaration.name);\n    if (!hasPrivateModifier && !hasPrivateIdentifier) {\n      return;\n    }\n    if (nodeForCheckWriteOnly && isWriteOnlyAccess(nodeForCheckWriteOnly) && !(prop.flags & 65536 /* SetAccessor */)) {\n      return;\n    }\n    if (isSelfTypeAccess2) {\n      const containingMethod = findAncestor(nodeForCheckWriteOnly, isFunctionLikeDeclaration);\n      if (containingMethod && containingMethod.symbol === prop) {\n        return;\n      }\n    }\n    (getCheckFlags(prop) & 1 /* Instantiated */ ? getSymbolLinks(prop).target : prop).isReferenced = 67108863 /* All */;\n  }\n  function isSelfTypeAccess(name, parent2) {\n    return name.kind === 109 /* ThisKeyword */ || !!parent2 && isEntityNameExpression(name) && parent2 === getResolvedSymbol(getFirstIdentifier(name));\n  }\n  function isValidPropertyAccess(node, propertyName) {\n    switch (node.kind) {\n      case 211 /* PropertyAccessExpression */:\n        return isValidPropertyAccessWithType(node, node.expression.kind === 107 /* SuperKeyword */, propertyName, getWidenedType(checkExpression(node.expression)));\n      case 165 /* QualifiedName */:\n        return isValidPropertyAccessWithType(node, false, propertyName, getWidenedType(checkExpression(node.left)));\n      case 205 /* ImportType */:\n        return isValidPropertyAccessWithType(node, false, propertyName, getTypeFromTypeNode(node));\n    }\n  }\n  function isValidPropertyAccessForCompletions(node, type, property) {\n    return isPropertyAccessible(\n      node,\n      node.kind === 211 /* PropertyAccessExpression */ && node.expression.kind === 107 /* SuperKeyword */,\n      false,\n      type,\n      property\n    );\n  }\n  function isValidPropertyAccessWithType(node, isSuper, propertyName, type) {\n    if (isTypeAny(type)) {\n      return true;\n    }\n    const prop = getPropertyOfType(type, propertyName);\n    return !!prop && isPropertyAccessible(node, isSuper, false, type, prop);\n  }\n  function isPropertyAccessible(node, isSuper, isWrite, containingType, property) {\n    if (isTypeAny(containingType)) {\n      return true;\n    }\n    if (property.valueDeclaration && isPrivateIdentifierClassElementDeclaration(property.valueDeclaration)) {\n      const declClass = getContainingClass(property.valueDeclaration);\n      return !isOptionalChain(node) && !!findAncestor(node, (parent2) => parent2 === declClass);\n    }\n    return checkPropertyAccessibilityAtLocation(node, isSuper, isWrite, containingType, property);\n  }\n  function getForInVariableSymbol(node) {\n    const initializer = node.initializer;\n    if (initializer.kind === 262 /* VariableDeclarationList */) {\n      const variable = initializer.declarations[0];\n      if (variable && !isBindingPattern(variable.name)) {\n        return getSymbolOfNode(variable);\n      }\n    } else if (initializer.kind === 79 /* Identifier */) {\n      return getResolvedSymbol(initializer);\n    }\n    return void 0;\n  }\n  function hasNumericPropertyNames(type) {\n    return getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, numberType);\n  }\n  function isForInVariableForNumericPropertyNames(expr) {\n    const e = skipParentheses(expr);\n    if (e.kind === 79 /* Identifier */) {\n      const symbol = getResolvedSymbol(e);\n      if (symbol.flags & 3 /* Variable */) {\n        let child = expr;\n        let node = expr.parent;\n        while (node) {\n          if (node.kind === 250 /* ForInStatement */ && child === node.statement && getForInVariableSymbol(node) === symbol && hasNumericPropertyNames(getTypeOfExpression(node.expression))) {\n            return true;\n          }\n          child = node;\n          node = node.parent;\n        }\n      }\n    }\n    return false;\n  }\n  function checkIndexedAccess(node, checkMode) {\n    return node.flags & 32 /* OptionalChain */ ? checkElementAccessChain(node, checkMode) : checkElementAccessExpression(node, checkNonNullExpression(node.expression), checkMode);\n  }\n  function checkElementAccessChain(node, checkMode) {\n    const exprType = checkExpression(node.expression);\n    const nonOptionalType = getOptionalExpressionType(exprType, node.expression);\n    return propagateOptionalTypeMarker(checkElementAccessExpression(node, checkNonNullType(nonOptionalType, node.expression), checkMode), node, nonOptionalType !== exprType);\n  }\n  function checkElementAccessExpression(node, exprType, checkMode) {\n    const objectType = getAssignmentTargetKind(node) !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(exprType) : exprType;\n    const indexExpression = node.argumentExpression;\n    const indexType = checkExpression(indexExpression);\n    if (isErrorType(objectType) || objectType === silentNeverType) {\n      return objectType;\n    }\n    if (isConstEnumObjectType(objectType) && !isStringLiteralLike(indexExpression)) {\n      error(indexExpression, Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);\n      return errorType;\n    }\n    if (isConstEnumObjectType(objectType)) {\n      checkConstEnumRelate(node, objectType.symbol);\n    }\n    const effectiveIndexType = isForInVariableForNumericPropertyNames(indexExpression) ? numberType : indexType;\n    const accessFlags = isAssignmentTarget(node) ? 4 /* Writing */ | (isGenericObjectType(objectType) && !isThisTypeParameter(objectType) ? 2 /* NoIndexSignatures */ : 0) : 32 /* ExpressionPosition */;\n    const indexedAccessType = getIndexedAccessTypeOrUndefined(objectType, effectiveIndexType, accessFlags, node) || errorType;\n    return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(node, getNodeLinks(node).resolvedSymbol, indexedAccessType, indexExpression, checkMode), node);\n  }\n  function callLikeExpressionMayHaveTypeArguments(node) {\n    return isCallOrNewExpression(node) || isTaggedTemplateExpression(node) || isJsxOpeningLikeElement(node);\n  }\n  function resolveUntypedCall(node) {\n    if (callLikeExpressionMayHaveTypeArguments(node)) {\n      forEach(node.typeArguments, checkSourceElement);\n    }\n    if (node.kind === 215 /* TaggedTemplateExpression */) {\n      checkExpression(node.template);\n    } else if (isJsxOpeningLikeElement(node)) {\n      checkExpression(node.attributes);\n    } else if (node.kind !== 169 /* Decorator */) {\n      forEach(node.arguments, (argument) => {\n        checkExpression(argument);\n      });\n    }\n    return anySignature;\n  }\n  function resolveErrorCall(node) {\n    resolveUntypedCall(node);\n    return unknownSignature;\n  }\n  function reorderCandidates(signatures, result, callChainFlags) {\n    let lastParent;\n    let lastSymbol;\n    let cutoffIndex = 0;\n    let index;\n    let specializedIndex = -1;\n    let spliceIndex;\n    Debug.assert(!result.length);\n    for (const signature of signatures) {\n      const symbol = signature.declaration && getSymbolOfNode(signature.declaration);\n      const parent2 = signature.declaration && signature.declaration.parent;\n      if (!lastSymbol || symbol === lastSymbol) {\n        if (lastParent && parent2 === lastParent) {\n          index = index + 1;\n        } else {\n          lastParent = parent2;\n          index = cutoffIndex;\n        }\n      } else {\n        index = cutoffIndex = result.length;\n        lastParent = parent2;\n      }\n      lastSymbol = symbol;\n      if (signatureHasLiteralTypes(signature)) {\n        specializedIndex++;\n        spliceIndex = specializedIndex;\n        cutoffIndex++;\n      } else {\n        spliceIndex = index;\n      }\n      result.splice(spliceIndex, 0, callChainFlags ? getOptionalCallSignature(signature, callChainFlags) : signature);\n    }\n  }\n  function isSpreadArgument(arg) {\n    return !!arg && (arg.kind === 231 /* SpreadElement */ || arg.kind === 238 /* SyntheticExpression */ && arg.isSpread);\n  }\n  function getSpreadArgumentIndex(args) {\n    return findIndex(args, isSpreadArgument);\n  }\n  function acceptsVoid(t) {\n    return !!(t.flags & 16384 /* Void */);\n  }\n  function acceptsVoidUndefinedUnknownOrAny(t) {\n    return !!(t.flags & (16384 /* Void */ | 32768 /* Undefined */ | 2 /* Unknown */ | 1 /* Any */));\n  }\n  function hasCorrectArity(node, args, signature, signatureHelpTrailingComma = false) {\n    let argCount;\n    let callIsIncomplete = false;\n    let effectiveParameterCount = getParameterCount(signature);\n    let effectiveMinimumArguments = getMinArgumentCount(signature);\n    if (node.kind === 215 /* TaggedTemplateExpression */) {\n      argCount = args.length;\n      if (node.template.kind === 229 /* TemplateExpression */) {\n        const lastSpan = last(node.template.templateSpans);\n        callIsIncomplete = nodeIsMissing(lastSpan.literal) || !!lastSpan.literal.isUnterminated;\n      } else {\n        const templateLiteral = node.template;\n        Debug.assert(templateLiteral.kind === 14 /* NoSubstitutionTemplateLiteral */);\n        callIsIncomplete = !!templateLiteral.isUnterminated;\n      }\n    } else if (node.kind === 169 /* Decorator */) {\n      argCount = getDecoratorArgumentCount(node, signature);\n    } else if (isJsxOpeningLikeElement(node)) {\n      callIsIncomplete = node.attributes.end === node.end;\n      if (callIsIncomplete) {\n        return true;\n      }\n      argCount = effectiveMinimumArguments === 0 ? args.length : 1;\n      effectiveParameterCount = args.length === 0 ? effectiveParameterCount : 1;\n      effectiveMinimumArguments = Math.min(effectiveMinimumArguments, 1);\n    } else if (!node.arguments) {\n      Debug.assert(node.kind === 214 /* NewExpression */);\n      return getMinArgumentCount(signature) === 0;\n    } else {\n      argCount = signatureHelpTrailingComma ? args.length + 1 : args.length;\n      callIsIncomplete = node.arguments.end === node.end;\n      const spreadArgIndex = getSpreadArgumentIndex(args);\n      if (spreadArgIndex >= 0) {\n        return spreadArgIndex >= getMinArgumentCount(signature) && (hasEffectiveRestParameter(signature) || spreadArgIndex < getParameterCount(signature));\n      }\n    }\n    if (!hasEffectiveRestParameter(signature) && argCount > effectiveParameterCount) {\n      return false;\n    }\n    if (callIsIncomplete || argCount >= effectiveMinimumArguments) {\n      return true;\n    }\n    for (let i = argCount; i < effectiveMinimumArguments; i++) {\n      const type = getTypeAtPosition(signature, i);\n      if (filterType(type, isInJSFile(node) && !strictNullChecks ? acceptsVoidUndefinedUnknownOrAny : acceptsVoid).flags & 131072 /* Never */) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function hasCorrectTypeArgumentArity(signature, typeArguments, virtual) {\n    const numTypeParameters = virtual ? 1 : length(signature.typeParameters);\n    const minTypeArgumentCount = virtual ? 1 : getMinTypeArgumentCount(signature.typeParameters);\n    return !some(typeArguments) || typeArguments.length >= minTypeArgumentCount && typeArguments.length <= numTypeParameters;\n  }\n  function getSingleCallSignature(type) {\n    return getSingleSignature(type, 0 /* Call */, false);\n  }\n  function getSingleCallOrConstructSignature(type) {\n    return getSingleSignature(type, 0 /* Call */, false) || getSingleSignature(type, 1 /* Construct */, false);\n  }\n  function getSingleSignature(type, kind, allowMembers) {\n    if (type.flags & 524288 /* Object */) {\n      const resolved = resolveStructuredTypeMembers(type);\n      if (allowMembers || resolved.properties.length === 0 && resolved.indexInfos.length === 0) {\n        if (kind === 0 /* Call */ && resolved.callSignatures.length === 1 && resolved.constructSignatures.length === 0) {\n          return resolved.callSignatures[0];\n        }\n        if (kind === 1 /* Construct */ && resolved.constructSignatures.length === 1 && resolved.callSignatures.length === 0) {\n          return resolved.constructSignatures[0];\n        }\n      }\n    }\n    return void 0;\n  }\n  function instantiateSignatureInContextOf(signature, contextualSignature, inferenceContext, compareTypes) {\n    const context = createInferenceContext(signature.typeParameters, signature, 0 /* None */, compareTypes);\n    const restType = getEffectiveRestType(contextualSignature);\n    const mapper = inferenceContext && (restType && restType.flags & 262144 /* TypeParameter */ ? inferenceContext.nonFixingMapper : inferenceContext.mapper);\n    const sourceSignature = mapper ? instantiateSignature(contextualSignature, mapper) : contextualSignature;\n    applyToParameterTypes(sourceSignature, signature, (source, target) => {\n      inferTypes(context.inferences, source, target);\n    });\n    if (!inferenceContext) {\n      applyToReturnTypes(contextualSignature, signature, (source, target) => {\n        inferTypes(context.inferences, source, target, 128 /* ReturnType */);\n      });\n    }\n    return getSignatureInstantiation(signature, getInferredTypes(context), isInJSFile(contextualSignature.declaration));\n  }\n  function inferJsxTypeArguments(node, signature, checkMode, context) {\n    const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node);\n    const checkAttrType = checkExpressionWithContextualType(node.attributes, paramType, context, checkMode);\n    inferTypes(context.inferences, checkAttrType, paramType);\n    return getInferredTypes(context);\n  }\n  function getThisArgumentType(thisArgumentNode) {\n    if (!thisArgumentNode) {\n      return voidType;\n    }\n    const thisArgumentType = checkExpression(thisArgumentNode);\n    return isOptionalChainRoot(thisArgumentNode.parent) ? getNonNullableType3(thisArgumentType) : isOptionalChain(thisArgumentNode.parent) ? removeOptionalTypeMarker(thisArgumentType) : thisArgumentType;\n  }\n  function inferTypeArguments(node, signature, args, checkMode, context) {\n    if (isJsxOpeningLikeElement(node)) {\n      return inferJsxTypeArguments(node, signature, checkMode, context);\n    }\n    if (node.kind !== 169 /* Decorator */) {\n      const skipBindingPatterns = every(signature.typeParameters, (p) => !!getDefaultFromTypeParameter(p));\n      const contextualType = getContextualType2(node, skipBindingPatterns ? 8 /* SkipBindingPatterns */ : 0 /* None */);\n      if (contextualType) {\n        const inferenceTargetType = getReturnTypeOfSignature(signature);\n        if (couldContainTypeVariables(inferenceTargetType)) {\n          const outerContext = getInferenceContext(node);\n          const isFromBindingPattern = !skipBindingPatterns && getContextualType2(node, 8 /* SkipBindingPatterns */) !== contextualType;\n          if (!isFromBindingPattern) {\n            const outerMapper = getMapperFromContext(cloneInferenceContext(outerContext, 1 /* NoDefault */));\n            const instantiatedType = instantiateType(contextualType, outerMapper);\n            const contextualSignature = getSingleCallSignature(instantiatedType);\n            const inferenceSourceType = contextualSignature && contextualSignature.typeParameters ? getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(contextualSignature, contextualSignature.typeParameters)) : instantiatedType;\n            inferTypes(context.inferences, inferenceSourceType, inferenceTargetType, 128 /* ReturnType */);\n          }\n          const returnContext = createInferenceContext(signature.typeParameters, signature, context.flags);\n          const returnSourceType = instantiateType(contextualType, outerContext && outerContext.returnMapper);\n          inferTypes(returnContext.inferences, returnSourceType, inferenceTargetType);\n          context.returnMapper = some(returnContext.inferences, hasInferenceCandidates) ? getMapperFromContext(cloneInferredPartOfContext(returnContext)) : void 0;\n        }\n      }\n    }\n    const restType = getNonArrayRestType(signature);\n    const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length;\n    if (restType && restType.flags & 262144 /* TypeParameter */) {\n      const info = find(context.inferences, (info2) => info2.typeParameter === restType);\n      if (info) {\n        info.impliedArity = findIndex(args, isSpreadArgument, argCount) < 0 ? args.length - argCount : void 0;\n      }\n    }\n    const thisType = getThisTypeOfSignature(signature);\n    if (thisType && couldContainTypeVariables(thisType)) {\n      const thisArgumentNode = getThisArgumentOfCall(node);\n      inferTypes(context.inferences, getThisArgumentType(thisArgumentNode), thisType);\n    }\n    for (let i = 0; i < argCount; i++) {\n      const arg = args[i];\n      if (arg.kind !== 233 /* OmittedExpression */ && !(checkMode & 32 /* IsForStringLiteralArgumentCompletions */ && hasSkipDirectInferenceFlag(arg))) {\n        const paramType = getTypeAtPosition(signature, i);\n        if (couldContainTypeVariables(paramType)) {\n          const argType = checkExpressionWithContextualType(arg, paramType, context, checkMode);\n          inferTypes(context.inferences, argType, paramType);\n        }\n      }\n    }\n    if (restType && couldContainTypeVariables(restType)) {\n      const spreadType = getSpreadArgumentType(args, argCount, args.length, restType, context, checkMode);\n      inferTypes(context.inferences, spreadType, restType);\n    }\n    return getInferredTypes(context);\n  }\n  function getMutableArrayOrTupleType(type) {\n    return type.flags & 1048576 /* Union */ ? mapType(type, getMutableArrayOrTupleType) : type.flags & 1 /* Any */ || isMutableArrayOrTuple(getBaseConstraintOfType(type) || type) ? type : isTupleType(type) ? createTupleType(getTypeArguments(type), type.target.elementFlags, false, type.target.labeledElementDeclarations) : createTupleType([type], [8 /* Variadic */]);\n  }\n  function getSpreadArgumentType(args, index, argCount, restType, context, checkMode) {\n    if (index >= argCount - 1) {\n      const arg = args[argCount - 1];\n      if (isSpreadArgument(arg)) {\n        return getMutableArrayOrTupleType(arg.kind === 238 /* SyntheticExpression */ ? arg.type : checkExpressionWithContextualType(arg.expression, restType, context, checkMode));\n      }\n    }\n    const types = [];\n    const flags = [];\n    const names = [];\n    for (let i = index; i < argCount; i++) {\n      const arg = args[i];\n      if (isSpreadArgument(arg)) {\n        const spreadType = arg.kind === 238 /* SyntheticExpression */ ? arg.type : checkExpression(arg.expression);\n        if (isArrayLikeType2(spreadType)) {\n          types.push(spreadType);\n          flags.push(8 /* Variadic */);\n        } else {\n          types.push(checkIteratedTypeOrElementType(33 /* Spread */, spreadType, undefinedType, arg.kind === 231 /* SpreadElement */ ? arg.expression : arg));\n          flags.push(4 /* Rest */);\n        }\n      } else {\n        const contextualType = getIndexedAccessType(restType, getNumberLiteralType(i - index), 256 /* Contextual */);\n        const argType = checkExpressionWithContextualType(arg, contextualType, context, checkMode);\n        const hasPrimitiveContextualType = maybeTypeOfKind(contextualType, 131068 /* Primitive */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */);\n        types.push(hasPrimitiveContextualType ? getRegularTypeOfLiteralType(argType) : getWidenedLiteralType(argType));\n        flags.push(1 /* Required */);\n      }\n      if (arg.kind === 238 /* SyntheticExpression */ && arg.tupleNameSource) {\n        names.push(arg.tupleNameSource);\n      }\n    }\n    return createTupleType(types, flags, false, length(names) === length(types) ? names : void 0);\n  }\n  function checkTypeArguments(signature, typeArgumentNodes, reportErrors2, headMessage) {\n    const isJavascript = isInJSFile(signature.declaration);\n    const typeParameters = signature.typeParameters;\n    const typeArgumentTypes = fillMissingTypeArguments(map(typeArgumentNodes, getTypeFromTypeNode), typeParameters, getMinTypeArgumentCount(typeParameters), isJavascript);\n    let mapper;\n    for (let i = 0; i < typeArgumentNodes.length; i++) {\n      Debug.assert(typeParameters[i] !== void 0, \"Should not call checkTypeArguments with too many type arguments\");\n      const constraint = getConstraintOfTypeParameter(typeParameters[i]);\n      if (constraint) {\n        const errorInfo = reportErrors2 && headMessage ? () => chainDiagnosticMessages(void 0, Diagnostics.Type_0_does_not_satisfy_the_constraint_1) : void 0;\n        const typeArgumentHeadMessage = headMessage || Diagnostics.Type_0_does_not_satisfy_the_constraint_1;\n        if (!mapper) {\n          mapper = createTypeMapper(typeParameters, typeArgumentTypes);\n        }\n        const typeArgument = typeArgumentTypes[i];\n        if (!checkTypeAssignableTo(\n          typeArgument,\n          getTypeWithThisArgument(instantiateType(constraint, mapper), typeArgument),\n          reportErrors2 ? typeArgumentNodes[i] : void 0,\n          typeArgumentHeadMessage,\n          errorInfo\n        )) {\n          return void 0;\n        }\n      }\n    }\n    return typeArgumentTypes;\n  }\n  function getJsxReferenceKind(node) {\n    if (isJsxIntrinsicIdentifier(node.tagName)) {\n      return 2 /* Mixed */;\n    }\n    const tagType = getApparentType(checkExpression(node.tagName));\n    if (length(getSignaturesOfType(tagType, 1 /* Construct */))) {\n      return 0 /* Component */;\n    }\n    if (length(getSignaturesOfType(tagType, 0 /* Call */))) {\n      return 1 /* Function */;\n    }\n    return 2 /* Mixed */;\n  }\n  function checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer) {\n    const paramType = getEffectiveFirstArgumentForJsxSignature(signature, node);\n    const attributesType = checkExpressionWithContextualType(node.attributes, paramType, void 0, checkMode);\n    return checkTagNameDoesNotExpectTooManyArguments() && checkTypeRelatedToAndOptionallyElaborate(\n      attributesType,\n      paramType,\n      relation,\n      reportErrors2 ? node.tagName : void 0,\n      node.attributes,\n      void 0,\n      containingMessageChain,\n      errorOutputContainer\n    );\n    function checkTagNameDoesNotExpectTooManyArguments() {\n      var _a2;\n      if (getJsxNamespaceContainerForImplicitImport(node)) {\n        return true;\n      }\n      const tagType = isJsxOpeningElement(node) || isJsxSelfClosingElement(node) && !isJsxIntrinsicIdentifier(node.tagName) ? checkExpression(node.tagName) : void 0;\n      if (!tagType) {\n        return true;\n      }\n      const tagCallSignatures = getSignaturesOfType(tagType, 0 /* Call */);\n      if (!length(tagCallSignatures)) {\n        return true;\n      }\n      const factory2 = getJsxFactoryEntity(node);\n      if (!factory2) {\n        return true;\n      }\n      const factorySymbol = resolveEntityName(factory2, 111551 /* Value */, true, false, node);\n      if (!factorySymbol) {\n        return true;\n      }\n      const factoryType = getTypeOfSymbol(factorySymbol);\n      const callSignatures = getSignaturesOfType(factoryType, 0 /* Call */);\n      if (!length(callSignatures)) {\n        return true;\n      }\n      let hasFirstParamSignatures = false;\n      let maxParamCount = 0;\n      for (const sig of callSignatures) {\n        const firstparam = getTypeAtPosition(sig, 0);\n        const signaturesOfParam = getSignaturesOfType(firstparam, 0 /* Call */);\n        if (!length(signaturesOfParam))\n          continue;\n        for (const paramSig of signaturesOfParam) {\n          hasFirstParamSignatures = true;\n          if (hasEffectiveRestParameter(paramSig)) {\n            return true;\n          }\n          const paramCount = getParameterCount(paramSig);\n          if (paramCount > maxParamCount) {\n            maxParamCount = paramCount;\n          }\n        }\n      }\n      if (!hasFirstParamSignatures) {\n        return true;\n      }\n      let absoluteMinArgCount = Infinity;\n      for (const tagSig of tagCallSignatures) {\n        const tagRequiredArgCount = getMinArgumentCount(tagSig);\n        if (tagRequiredArgCount < absoluteMinArgCount) {\n          absoluteMinArgCount = tagRequiredArgCount;\n        }\n      }\n      if (absoluteMinArgCount <= maxParamCount) {\n        return true;\n      }\n      if (reportErrors2) {\n        const diag2 = createDiagnosticForNode(node.tagName, Diagnostics.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3, entityNameToString(node.tagName), absoluteMinArgCount, entityNameToString(factory2), maxParamCount);\n        const tagNameDeclaration = (_a2 = getSymbolAtLocation(node.tagName)) == null ? void 0 : _a2.valueDeclaration;\n        if (tagNameDeclaration) {\n          addRelatedInfo(diag2, createDiagnosticForNode(tagNameDeclaration, Diagnostics._0_is_declared_here, entityNameToString(node.tagName)));\n        }\n        if (errorOutputContainer && errorOutputContainer.skipLogging) {\n          (errorOutputContainer.errors || (errorOutputContainer.errors = [])).push(diag2);\n        }\n        if (!errorOutputContainer.skipLogging) {\n          diagnostics.add(diag2);\n        }\n      }\n      return false;\n    }\n  }\n  function getSignatureApplicabilityError(node, args, signature, relation, checkMode, reportErrors2, containingMessageChain) {\n    const errorOutputContainer = { errors: void 0, skipLogging: true };\n    if (isJsxOpeningLikeElement(node)) {\n      if (!checkApplicableSignatureForJsxOpeningLikeElement(node, signature, relation, checkMode, reportErrors2, containingMessageChain, errorOutputContainer)) {\n        Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, \"jsx should have errors when reporting errors\");\n        return errorOutputContainer.errors || emptyArray;\n      }\n      return void 0;\n    }\n    const thisType = getThisTypeOfSignature(signature);\n    if (thisType && thisType !== voidType && node.kind !== 214 /* NewExpression */) {\n      const thisArgumentNode = getThisArgumentOfCall(node);\n      const thisArgumentType = getThisArgumentType(thisArgumentNode);\n      const errorNode = reportErrors2 ? thisArgumentNode || node : void 0;\n      const headMessage2 = Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;\n      if (!checkTypeRelatedTo(thisArgumentType, thisType, relation, errorNode, headMessage2, containingMessageChain, errorOutputContainer)) {\n        Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, \"this parameter should have errors when reporting errors\");\n        return errorOutputContainer.errors || emptyArray;\n      }\n    }\n    const headMessage = Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1;\n    const restType = getNonArrayRestType(signature);\n    const argCount = restType ? Math.min(getParameterCount(signature) - 1, args.length) : args.length;\n    for (let i = 0; i < argCount; i++) {\n      const arg = args[i];\n      if (arg.kind !== 233 /* OmittedExpression */) {\n        const paramType = getTypeAtPosition(signature, i);\n        const argType = checkExpressionWithContextualType(arg, paramType, void 0, checkMode);\n        const checkArgType = checkMode & 4 /* SkipContextSensitive */ ? getRegularTypeOfObjectLiteral(argType) : argType;\n        if (!checkTypeRelatedToAndOptionallyElaborate(checkArgType, paramType, relation, reportErrors2 ? arg : void 0, arg, headMessage, containingMessageChain, errorOutputContainer)) {\n          Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, \"parameter should have errors when reporting errors\");\n          maybeAddMissingAwaitInfo(arg, checkArgType, paramType);\n          return errorOutputContainer.errors || emptyArray;\n        }\n      }\n    }\n    if (restType) {\n      const spreadType = getSpreadArgumentType(args, argCount, args.length, restType, void 0, checkMode);\n      const restArgCount = args.length - argCount;\n      const errorNode = !reportErrors2 ? void 0 : restArgCount === 0 ? node : restArgCount === 1 ? args[argCount] : setTextRangePosEnd(createSyntheticExpression(node, spreadType), args[argCount].pos, args[args.length - 1].end);\n      if (!checkTypeRelatedTo(spreadType, restType, relation, errorNode, headMessage, void 0, errorOutputContainer)) {\n        Debug.assert(!reportErrors2 || !!errorOutputContainer.errors, \"rest parameter should have errors when reporting errors\");\n        maybeAddMissingAwaitInfo(errorNode, spreadType, restType);\n        return errorOutputContainer.errors || emptyArray;\n      }\n    }\n    return void 0;\n    function maybeAddMissingAwaitInfo(errorNode, source, target) {\n      if (errorNode && reportErrors2 && errorOutputContainer.errors && errorOutputContainer.errors.length) {\n        if (getAwaitedTypeOfPromise(target)) {\n          return;\n        }\n        const awaitedTypeOfSource = getAwaitedTypeOfPromise(source);\n        if (awaitedTypeOfSource && isTypeRelatedTo(awaitedTypeOfSource, target, relation)) {\n          addRelatedInfo(errorOutputContainer.errors[0], createDiagnosticForNode(errorNode, Diagnostics.Did_you_forget_to_use_await));\n        }\n      }\n    }\n  }\n  function getThisArgumentOfCall(node) {\n    const expression = node.kind === 213 /* CallExpression */ ? node.expression : node.kind === 215 /* TaggedTemplateExpression */ ? node.tag : void 0;\n    if (expression) {\n      const callee = skipOuterExpressions(expression);\n      if (isAccessExpression(callee)) {\n        return callee.expression;\n      }\n    }\n  }\n  function createSyntheticExpression(parent2, type, isSpread, tupleNameSource) {\n    const result = parseNodeFactory.createSyntheticExpression(type, isSpread, tupleNameSource);\n    setTextRange(result, parent2);\n    setParent(result, parent2);\n    return result;\n  }\n  function getEffectiveCallArguments(node) {\n    if (node.kind === 215 /* TaggedTemplateExpression */) {\n      const template = node.template;\n      const args2 = [createSyntheticExpression(template, getGlobalTemplateStringsArrayType())];\n      if (template.kind === 229 /* TemplateExpression */) {\n        forEach(template.templateSpans, (span) => {\n          args2.push(span.expression);\n        });\n      }\n      return args2;\n    }\n    if (node.kind === 169 /* Decorator */) {\n      return getEffectiveDecoratorArguments(node);\n    }\n    if (isJsxOpeningLikeElement(node)) {\n      return node.attributes.properties.length > 0 || isJsxOpeningElement(node) && node.parent.children.length > 0 ? [node.attributes] : emptyArray;\n    }\n    const args = node.arguments || emptyArray;\n    const spreadIndex = getSpreadArgumentIndex(args);\n    if (spreadIndex >= 0) {\n      const effectiveArgs = args.slice(0, spreadIndex);\n      for (let i = spreadIndex; i < args.length; i++) {\n        const arg = args[i];\n        const spreadType = arg.kind === 231 /* SpreadElement */ && (flowLoopCount ? checkExpression(arg.expression) : checkExpressionCached(arg.expression));\n        if (spreadType && isTupleType(spreadType)) {\n          forEach(getTypeArguments(spreadType), (t, i2) => {\n            var _a2;\n            const flags = spreadType.target.elementFlags[i2];\n            const syntheticArg = createSyntheticExpression(\n              arg,\n              flags & 4 /* Rest */ ? createArrayType(t) : t,\n              !!(flags & 12 /* Variable */),\n              (_a2 = spreadType.target.labeledElementDeclarations) == null ? void 0 : _a2[i2]\n            );\n            effectiveArgs.push(syntheticArg);\n          });\n        } else {\n          effectiveArgs.push(arg);\n        }\n      }\n      return effectiveArgs;\n    }\n    return args;\n  }\n  function getEffectiveDecoratorArguments(node) {\n    const parent2 = node.parent;\n    const expr = node.expression;\n    switch (parent2.kind) {\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n        return [\n          createSyntheticExpression(expr, getTypeOfSymbol(getSymbolOfNode(parent2)))\n        ];\n      case 168 /* Parameter */:\n        const func = parent2.parent;\n        return [\n          createSyntheticExpression(expr, parent2.parent.kind === 176 /* Constructor */ ? getTypeOfSymbol(getSymbolOfNode(func)) : errorType),\n          createSyntheticExpression(expr, anyType),\n          createSyntheticExpression(expr, numberType)\n        ];\n      case 171 /* PropertyDeclaration */:\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        const hasPropDesc = languageVersion !== 0 /* ES3 */ && (!isPropertyDeclaration(parent2) || hasAccessorModifier(parent2));\n        return [\n          createSyntheticExpression(expr, getParentTypeOfClassElement(parent2)),\n          createSyntheticExpression(expr, getClassElementPropertyKeyType(parent2)),\n          createSyntheticExpression(expr, hasPropDesc ? createTypedPropertyDescriptorType(getTypeOfNode(parent2)) : anyType)\n        ];\n      case 263 /* FunctionDeclaration */:\n        if (isEtsFunctionDecorators(getNameOfDecorator(node), compilerOptions)) {\n          const symbol = getSymbolOfNode(expr);\n          return symbol ? [\n            createSyntheticExpression(expr, getTypeOfSymbol(symbol))\n          ] : [];\n        }\n        return Debug.fail();\n    }\n    return Debug.fail();\n  }\n  function getDecoratorArgumentCount(node, signature) {\n    switch (node.parent.kind) {\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n        return 1;\n      case 171 /* PropertyDeclaration */:\n        return hasAccessorModifier(node.parent) ? 3 : 2;\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return languageVersion === 0 /* ES3 */ || signature.parameters.length <= 2 ? 2 : 3;\n      case 168 /* Parameter */:\n        return 3;\n      case 263 /* FunctionDeclaration */:\n        if (isEtsFunctionDecorators(getNameOfDecorator(node), compilerOptions)) {\n          return isCallExpression(node.expression) ? 1 : 0;\n        }\n        return Debug.fail();\n      default:\n        return Debug.fail();\n    }\n  }\n  function getDiagnosticSpanForCallNode(node, doNotIncludeArguments) {\n    let start;\n    let length2;\n    const sourceFile = getSourceFileOfNode(node);\n    if (isPropertyAccessExpression(node.expression)) {\n      const nameSpan = getErrorSpanForNode(sourceFile, node.expression.name);\n      start = nameSpan.start;\n      length2 = doNotIncludeArguments ? nameSpan.length : node.end - start;\n    } else {\n      const expressionSpan = getErrorSpanForNode(sourceFile, node.expression);\n      start = expressionSpan.start;\n      length2 = doNotIncludeArguments ? expressionSpan.length : node.end - start;\n    }\n    return { start, length: length2, sourceFile };\n  }\n  function getDiagnosticForCallNode(node, message, arg0, arg1, arg2, arg3) {\n    if (isCallExpression(node)) {\n      const { sourceFile, start, length: length2 } = getDiagnosticSpanForCallNode(node);\n      return createFileDiagnostic(sourceFile, start, length2, message, arg0, arg1, arg2, arg3);\n    } else {\n      return createDiagnosticForNode(node, message, arg0, arg1, arg2, arg3);\n    }\n  }\n  function isPromiseResolveArityError(node) {\n    if (!isCallExpression(node) || !isIdentifier(node.expression))\n      return false;\n    const symbol = resolveName(node.expression, node.expression.escapedText, 111551 /* Value */, void 0, void 0, false);\n    const decl = symbol == null ? void 0 : symbol.valueDeclaration;\n    if (!decl || !isParameter(decl) || !isFunctionExpressionOrArrowFunction(decl.parent) || !isNewExpression(decl.parent.parent) || !isIdentifier(decl.parent.parent.expression)) {\n      return false;\n    }\n    const globalPromiseSymbol = getGlobalPromiseConstructorSymbol(false);\n    if (!globalPromiseSymbol)\n      return false;\n    const constructorSymbol = getSymbolAtLocation(decl.parent.parent.expression, true);\n    return constructorSymbol === globalPromiseSymbol;\n  }\n  function getArgumentArityError(node, signatures, args) {\n    var _a2;\n    const spreadIndex = getSpreadArgumentIndex(args);\n    if (spreadIndex > -1) {\n      return createDiagnosticForNode(args[spreadIndex], Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);\n    }\n    let min2 = Number.POSITIVE_INFINITY;\n    let max = Number.NEGATIVE_INFINITY;\n    let maxBelow = Number.NEGATIVE_INFINITY;\n    let minAbove = Number.POSITIVE_INFINITY;\n    let closestSignature;\n    for (const sig of signatures) {\n      const minParameter = getMinArgumentCount(sig);\n      const maxParameter = getParameterCount(sig);\n      if (minParameter < min2) {\n        min2 = minParameter;\n        closestSignature = sig;\n      }\n      max = Math.max(max, maxParameter);\n      if (minParameter < args.length && minParameter > maxBelow)\n        maxBelow = minParameter;\n      if (args.length < maxParameter && maxParameter < minAbove)\n        minAbove = maxParameter;\n    }\n    const hasRestParameter2 = some(signatures, hasEffectiveRestParameter);\n    const parameterRange = hasRestParameter2 ? min2 : min2 < max ? min2 + \"-\" + max : min2;\n    const isVoidPromiseError = !hasRestParameter2 && parameterRange === 1 && args.length === 0 && isPromiseResolveArityError(node);\n    if (isVoidPromiseError && isInJSFile(node)) {\n      return getDiagnosticForCallNode(node, Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments);\n    }\n    const error2 = hasRestParameter2 ? Diagnostics.Expected_at_least_0_arguments_but_got_1 : isVoidPromiseError ? Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise : Diagnostics.Expected_0_arguments_but_got_1;\n    if (min2 < args.length && args.length < max) {\n      return getDiagnosticForCallNode(node, Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments, args.length, maxBelow, minAbove);\n    } else if (args.length < min2) {\n      const diagnostic = getDiagnosticForCallNode(node, error2, parameterRange, args.length);\n      const parameter = (_a2 = closestSignature == null ? void 0 : closestSignature.declaration) == null ? void 0 : _a2.parameters[closestSignature.thisParameter ? args.length + 1 : args.length];\n      if (parameter) {\n        const parameterError = createDiagnosticForNode(\n          parameter,\n          isBindingPattern(parameter.name) ? Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided : isRestParameter(parameter) ? Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided : Diagnostics.An_argument_for_0_was_not_provided,\n          !parameter.name ? args.length : !isBindingPattern(parameter.name) ? idText(getFirstIdentifier(parameter.name)) : void 0\n        );\n        return addRelatedInfo(diagnostic, parameterError);\n      }\n      return diagnostic;\n    } else {\n      const errorSpan = factory.createNodeArray(args.slice(max));\n      const pos = first(errorSpan).pos;\n      let end = last(errorSpan).end;\n      if (end === pos) {\n        end++;\n      }\n      setTextRangePosEnd(errorSpan, pos, end);\n      return createDiagnosticForNodeArray(getSourceFileOfNode(node), errorSpan, error2, parameterRange, args.length);\n    }\n  }\n  function getTypeArgumentArityError(node, signatures, typeArguments) {\n    const argCount = typeArguments.length;\n    if (signatures.length === 1) {\n      const sig = signatures[0];\n      const min2 = getMinTypeArgumentCount(sig.typeParameters);\n      const max = length(sig.typeParameters);\n      return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, min2 < max ? min2 + \"-\" + max : min2, argCount);\n    }\n    let belowArgCount = -Infinity;\n    let aboveArgCount = Infinity;\n    for (const sig of signatures) {\n      const min2 = getMinTypeArgumentCount(sig.typeParameters);\n      const max = length(sig.typeParameters);\n      if (min2 > argCount) {\n        aboveArgCount = Math.min(aboveArgCount, min2);\n      } else if (max < argCount) {\n        belowArgCount = Math.max(belowArgCount, max);\n      }\n    }\n    if (belowArgCount !== -Infinity && aboveArgCount !== Infinity) {\n      return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments, argCount, belowArgCount, aboveArgCount);\n    }\n    return createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, belowArgCount === -Infinity ? aboveArgCount : belowArgCount, argCount);\n  }\n  function resolveCall(node, signatures, candidatesOutArray, checkMode, callChainFlags, fallbackError) {\n    const isTaggedTemplate = node.kind === 215 /* TaggedTemplateExpression */;\n    const isDecorator2 = node.kind === 169 /* Decorator */;\n    const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);\n    const isEtsComponentExpression2 = node.kind === 220 /* EtsComponentExpression */;\n    const reportErrors2 = !candidatesOutArray;\n    let typeArguments;\n    let virtual;\n    if (!isDecorator2 && !isSuperCall(node)) {\n      typeArguments = node.typeArguments;\n      virtual = typeArguments == null ? void 0 : typeArguments.some((typeArgument) => typeArgument.virtual);\n      if (isTaggedTemplate || isJsxOpeningOrSelfClosingElement || node.expression.kind !== 107 /* SuperKeyword */) {\n        forEach(typeArguments, checkSourceElement);\n      }\n      if (isEtsComponentExpression2 && checkMode !== 128 /* SkipEtsComponentBody */) {\n        checkSourceElement(node.body);\n      }\n    }\n    const candidates = candidatesOutArray || [];\n    reorderCandidates(signatures, candidates, callChainFlags);\n    if (!candidates.length) {\n      if (reportErrors2) {\n        diagnostics.add(getDiagnosticForCallNode(node, Diagnostics.Call_target_does_not_contain_any_signatures));\n      }\n      return resolveErrorCall(node);\n    }\n    const args = getEffectiveCallArguments(node);\n    const isSingleNonGenericCandidate = candidates.length === 1 && !candidates[0].typeParameters;\n    let argCheckMode = !isDecorator2 && !isSingleNonGenericCandidate && some(args, isContextSensitive) ? 4 /* SkipContextSensitive */ : 0 /* Normal */;\n    argCheckMode |= checkMode & 32 /* IsForStringLiteralArgumentCompletions */;\n    let candidatesForArgumentError;\n    let candidateForArgumentArityError;\n    let candidateForTypeArgumentError;\n    let result;\n    const signatureHelpTrailingComma = !!(checkMode & 16 /* IsForSignatureHelp */) && node.kind === 213 /* CallExpression */ && node.arguments.hasTrailingComma;\n    if (candidates.length > 1) {\n      result = chooseOverload(candidates, subtypeRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma);\n    }\n    if (!result) {\n      result = chooseOverload(candidates, assignableRelation, isSingleNonGenericCandidate, signatureHelpTrailingComma);\n    }\n    if (result) {\n      return result;\n    }\n    result = getCandidateForOverloadFailure(node, candidates, args, !!candidatesOutArray, checkMode);\n    getNodeLinks(node).resolvedSignature = result;\n    if (reportErrors2) {\n      if (candidatesForArgumentError) {\n        if (candidatesForArgumentError.length === 1 || candidatesForArgumentError.length > 3) {\n          const last2 = candidatesForArgumentError[candidatesForArgumentError.length - 1];\n          let chain;\n          if (candidatesForArgumentError.length > 3) {\n            chain = chainDiagnosticMessages(chain, Diagnostics.The_last_overload_gave_the_following_error);\n            chain = chainDiagnosticMessages(chain, Diagnostics.No_overload_matches_this_call);\n          }\n          const diags = getSignatureApplicabilityError(node, args, last2, assignableRelation, 0 /* Normal */, true, () => chain);\n          if (diags) {\n            for (const d of diags) {\n              if (last2.declaration && candidatesForArgumentError.length > 3) {\n                addRelatedInfo(d, createDiagnosticForNode(last2.declaration, Diagnostics.The_last_overload_is_declared_here));\n              }\n              addImplementationSuccessElaboration(last2, d);\n              diagnostics.add(d);\n            }\n          } else {\n            Debug.fail(\"No error for last overload signature\");\n          }\n        } else {\n          const allDiagnostics = [];\n          let max = 0;\n          let min2 = Number.MAX_VALUE;\n          let minIndex = 0;\n          let i = 0;\n          for (const c of candidatesForArgumentError) {\n            const chain2 = () => chainDiagnosticMessages(void 0, Diagnostics.Overload_0_of_1_2_gave_the_following_error, i + 1, candidates.length, signatureToString(c));\n            const diags2 = getSignatureApplicabilityError(node, args, c, assignableRelation, 0 /* Normal */, true, chain2);\n            if (diags2) {\n              if (diags2.length <= min2) {\n                min2 = diags2.length;\n                minIndex = i;\n              }\n              max = Math.max(max, diags2.length);\n              allDiagnostics.push(diags2);\n            } else {\n              Debug.fail(\"No error for 3 or fewer overload signatures\");\n            }\n            i++;\n          }\n          const diags = max > 1 ? allDiagnostics[minIndex] : flatten(allDiagnostics);\n          Debug.assert(diags.length > 0, \"No errors reported for 3 or fewer overload signatures\");\n          const chain = chainDiagnosticMessages(\n            map(diags, createDiagnosticMessageChainFromDiagnostic),\n            Diagnostics.No_overload_matches_this_call\n          );\n          const related = [...flatMap(diags, (d) => d.relatedInformation)];\n          let diag2;\n          if (every(diags, (d) => d.start === diags[0].start && d.length === diags[0].length && d.file === diags[0].file)) {\n            const { file, start, length: length2 } = diags[0];\n            diag2 = { file, start, length: length2, code: chain.code, category: chain.category, messageText: chain, relatedInformation: related };\n          } else {\n            diag2 = createDiagnosticForNodeFromMessageChain(node, chain, related);\n          }\n          addImplementationSuccessElaboration(candidatesForArgumentError[0], diag2);\n          diagnostics.add(diag2);\n        }\n      } else if (candidateForArgumentArityError) {\n        diagnostics.add(getArgumentArityError(node, [candidateForArgumentArityError], args));\n      } else if (candidateForTypeArgumentError) {\n        checkTypeArguments(candidateForTypeArgumentError, node.typeArguments, true, fallbackError);\n      } else {\n        const signaturesWithCorrectTypeArgumentArity = filter(signatures, (s) => hasCorrectTypeArgumentArity(s, typeArguments, virtual));\n        if (signaturesWithCorrectTypeArgumentArity.length === 0) {\n          diagnostics.add(getTypeArgumentArityError(node, signatures, typeArguments));\n        } else if (!isDecorator2) {\n          diagnostics.add(getArgumentArityError(node, signaturesWithCorrectTypeArgumentArity, args));\n        } else if (fallbackError) {\n          diagnostics.add(getDiagnosticForCallNode(node, fallbackError));\n        }\n      }\n    }\n    return result;\n    function addImplementationSuccessElaboration(failed, diagnostic) {\n      var _a2, _b;\n      const oldCandidatesForArgumentError = candidatesForArgumentError;\n      const oldCandidateForArgumentArityError = candidateForArgumentArityError;\n      const oldCandidateForTypeArgumentError = candidateForTypeArgumentError;\n      const failedSignatureDeclarations = ((_b = (_a2 = failed.declaration) == null ? void 0 : _a2.symbol) == null ? void 0 : _b.declarations) || emptyArray;\n      const isOverload = failedSignatureDeclarations.length > 1;\n      const implDecl = isOverload ? find(failedSignatureDeclarations, (d) => isFunctionLikeDeclaration(d) && nodeIsPresent(d.body)) : void 0;\n      if (implDecl) {\n        const candidate = getSignatureFromDeclaration(implDecl);\n        const isSingleNonGenericCandidate2 = !candidate.typeParameters;\n        if (chooseOverload([candidate], assignableRelation, isSingleNonGenericCandidate2)) {\n          addRelatedInfo(diagnostic, createDiagnosticForNode(implDecl, Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible));\n        }\n      }\n      candidatesForArgumentError = oldCandidatesForArgumentError;\n      candidateForArgumentArityError = oldCandidateForArgumentArityError;\n      candidateForTypeArgumentError = oldCandidateForTypeArgumentError;\n    }\n    function chooseOverload(candidates2, relation, isSingleNonGenericCandidate2, signatureHelpTrailingComma2 = false) {\n      candidatesForArgumentError = void 0;\n      candidateForArgumentArityError = void 0;\n      candidateForTypeArgumentError = void 0;\n      if (isSingleNonGenericCandidate2) {\n        const candidate = candidates2[0];\n        if (some(typeArguments) && !virtual || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) {\n          return void 0;\n        }\n        if (getSignatureApplicabilityError(node, args, candidate, relation, 0 /* Normal */, false, void 0)) {\n          candidatesForArgumentError = [candidate];\n          return void 0;\n        }\n        return candidate;\n      }\n      for (let candidateIndex = 0; candidateIndex < candidates2.length; candidateIndex++) {\n        const candidate = candidates2[candidateIndex];\n        if (!hasCorrectTypeArgumentArity(candidate, typeArguments, virtual) || !hasCorrectArity(node, args, candidate, signatureHelpTrailingComma2)) {\n          continue;\n        }\n        let checkCandidate;\n        let inferenceContext;\n        if (candidate.typeParameters) {\n          let typeArgumentTypes;\n          if (some(typeArguments)) {\n            typeArgumentTypes = checkTypeArguments(candidate, typeArguments, false);\n            if (!typeArgumentTypes) {\n              candidateForTypeArgumentError = candidate;\n              continue;\n            }\n          } else {\n            inferenceContext = createInferenceContext(candidate.typeParameters, candidate, isInJSFile(node) ? 2 /* AnyDefault */ : 0 /* None */);\n            typeArgumentTypes = inferTypeArguments(node, candidate, args, argCheckMode | 8 /* SkipGenericFunctions */, inferenceContext);\n            argCheckMode |= inferenceContext.flags & 4 /* SkippedGenericFunction */ ? 8 /* SkipGenericFunctions */ : 0 /* Normal */;\n          }\n          checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext && inferenceContext.inferredTypeParameters);\n          if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) {\n            candidateForArgumentArityError = checkCandidate;\n            continue;\n          }\n        } else {\n          checkCandidate = candidate;\n        }\n        if (getSignatureApplicabilityError(node, args, checkCandidate, relation, argCheckMode, false, void 0)) {\n          (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate);\n          continue;\n        }\n        if (argCheckMode) {\n          argCheckMode = checkMode & 32 /* IsForStringLiteralArgumentCompletions */;\n          if (inferenceContext) {\n            const typeArgumentTypes = inferTypeArguments(node, candidate, args, argCheckMode, inferenceContext);\n            checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, isInJSFile(candidate.declaration), inferenceContext.inferredTypeParameters);\n            if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma2)) {\n              candidateForArgumentArityError = checkCandidate;\n              continue;\n            }\n          }\n          if (getSignatureApplicabilityError(node, args, checkCandidate, relation, argCheckMode, false, void 0)) {\n            (candidatesForArgumentError || (candidatesForArgumentError = [])).push(checkCandidate);\n            continue;\n          }\n        }\n        candidates2[candidateIndex] = checkCandidate;\n        return checkCandidate;\n      }\n      return void 0;\n    }\n  }\n  function getCandidateForOverloadFailure(node, candidates, args, hasCandidatesOutArray, checkMode) {\n    Debug.assert(candidates.length > 0);\n    checkNodeDeferred(node);\n    return hasCandidatesOutArray || candidates.length === 1 || candidates.some((c) => !!c.typeParameters) ? pickLongestCandidateSignature(node, candidates, args, checkMode) : createUnionOfSignaturesForOverloadFailure(candidates);\n  }\n  function createUnionOfSignaturesForOverloadFailure(candidates) {\n    const thisParameters = mapDefined(candidates, (c) => c.thisParameter);\n    let thisParameter;\n    if (thisParameters.length) {\n      thisParameter = createCombinedSymbolFromTypes(thisParameters, thisParameters.map(getTypeOfParameter));\n    }\n    const { min: minArgumentCount, max: maxNonRestParam } = minAndMax(candidates, getNumNonRestParameters);\n    const parameters = [];\n    for (let i = 0; i < maxNonRestParam; i++) {\n      const symbols = mapDefined(candidates, (s) => signatureHasRestParameter(s) ? i < s.parameters.length - 1 ? s.parameters[i] : last(s.parameters) : i < s.parameters.length ? s.parameters[i] : void 0);\n      Debug.assert(symbols.length !== 0);\n      parameters.push(createCombinedSymbolFromTypes(symbols, mapDefined(candidates, (candidate) => tryGetTypeAtPosition(candidate, i))));\n    }\n    const restParameterSymbols = mapDefined(candidates, (c) => signatureHasRestParameter(c) ? last(c.parameters) : void 0);\n    let flags = 0 /* None */;\n    if (restParameterSymbols.length !== 0) {\n      const type = createArrayType(getUnionType(mapDefined(candidates, tryGetRestTypeOfSignature), 2 /* Subtype */));\n      parameters.push(createCombinedSymbolForOverloadFailure(restParameterSymbols, type));\n      flags |= 1 /* HasRestParameter */;\n    }\n    if (candidates.some(signatureHasLiteralTypes)) {\n      flags |= 2 /* HasLiteralTypes */;\n    }\n    return createSignature(\n      candidates[0].declaration,\n      void 0,\n      thisParameter,\n      parameters,\n      getIntersectionType(candidates.map(getReturnTypeOfSignature)),\n      void 0,\n      minArgumentCount,\n      flags\n    );\n  }\n  function getNumNonRestParameters(signature) {\n    const numParams = signature.parameters.length;\n    return signatureHasRestParameter(signature) ? numParams - 1 : numParams;\n  }\n  function createCombinedSymbolFromTypes(sources, types) {\n    return createCombinedSymbolForOverloadFailure(sources, getUnionType(types, 2 /* Subtype */));\n  }\n  function createCombinedSymbolForOverloadFailure(sources, type) {\n    return createSymbolWithType(first(sources), type);\n  }\n  function pickLongestCandidateSignature(node, candidates, args, checkMode) {\n    const bestIndex = getLongestCandidateIndex(candidates, apparentArgumentCount === void 0 ? args.length : apparentArgumentCount);\n    const candidate = candidates[bestIndex];\n    const { typeParameters } = candidate;\n    if (!typeParameters) {\n      return candidate;\n    }\n    const typeArgumentNodes = callLikeExpressionMayHaveTypeArguments(node) ? node.typeArguments : void 0;\n    const instantiated = typeArgumentNodes ? createSignatureInstantiation(candidate, getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isInJSFile(node))) : inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode);\n    candidates[bestIndex] = instantiated;\n    return instantiated;\n  }\n  function getTypeArgumentsFromNodes(typeArgumentNodes, typeParameters, isJs) {\n    const typeArguments = typeArgumentNodes.map((node) => getTypeOfNode(node));\n    while (typeArguments.length > typeParameters.length) {\n      typeArguments.pop();\n    }\n    while (typeArguments.length < typeParameters.length) {\n      typeArguments.push(getDefaultFromTypeParameter(typeParameters[typeArguments.length]) || getConstraintOfTypeParameter(typeParameters[typeArguments.length]) || getDefaultTypeArgumentType(isJs));\n    }\n    return typeArguments;\n  }\n  function inferSignatureInstantiationForOverloadFailure(node, typeParameters, candidate, args, checkMode) {\n    const inferenceContext = createInferenceContext(typeParameters, candidate, isInJSFile(node) ? 2 /* AnyDefault */ : 0 /* None */);\n    const typeArgumentTypes = inferTypeArguments(node, candidate, args, checkMode | 4 /* SkipContextSensitive */ | 8 /* SkipGenericFunctions */, inferenceContext);\n    return createSignatureInstantiation(candidate, typeArgumentTypes);\n  }\n  function getLongestCandidateIndex(candidates, argsCount) {\n    let maxParamsIndex = -1;\n    let maxParams = -1;\n    for (let i = 0; i < candidates.length; i++) {\n      const candidate = candidates[i];\n      const paramCount = getParameterCount(candidate);\n      if (hasEffectiveRestParameter(candidate) || paramCount >= argsCount) {\n        return i;\n      }\n      if (paramCount > maxParams) {\n        maxParams = paramCount;\n        maxParamsIndex = i;\n      }\n    }\n    return maxParamsIndex;\n  }\n  function resolveCallExpression(node, candidatesOutArray, checkMode) {\n    var _a2;\n    if (node.expression.kind === 107 /* SuperKeyword */) {\n      const superType = checkSuperExpression(node.expression);\n      if (isTypeAny(superType)) {\n        for (const arg of node.arguments) {\n          checkExpression(arg);\n        }\n        return anySignature;\n      }\n      if (!isErrorType(superType)) {\n        const baseTypeNode = getEffectiveBaseTypeNode(getContainingClass(node));\n        if (baseTypeNode) {\n          const baseConstructors = getInstantiatedConstructorsForTypeArguments(superType, baseTypeNode.typeArguments, baseTypeNode);\n          return resolveCall(node, baseConstructors, candidatesOutArray, checkMode, 0 /* None */);\n        }\n      }\n      return resolveUntypedCall(node);\n    }\n    let callChainFlags;\n    let checkExpressionCheckMode = checkMode;\n    if (checkMode !== 128 /* SkipEtsComponentBody */) {\n      checkExpressionCheckMode = void 0;\n    }\n    let funcType = checkExpression(node.expression, checkExpressionCheckMode);\n    if (isCallChain(node)) {\n      const nonOptionalType = getOptionalExpressionType(funcType, node.expression);\n      callChainFlags = nonOptionalType === funcType ? 0 /* None */ : isOutermostOptionalChain(node) ? 16 /* IsOuterCallChain */ : 8 /* IsInnerCallChain */;\n      funcType = nonOptionalType;\n    } else {\n      callChainFlags = 0 /* None */;\n    }\n    funcType = checkNonNullTypeWithReporter(\n      funcType,\n      node.expression,\n      reportCannotInvokePossiblyNullOrUndefinedError\n    );\n    if (funcType === silentNeverType) {\n      return silentNeverSignature;\n    }\n    const apparentType = getApparentType(funcType);\n    if (isErrorType(apparentType)) {\n      return resolveErrorCall(node);\n    }\n    const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */);\n    const constructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */);\n    const numConstructSignatures = constructSignatures.length;\n    if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) {\n      if (!isErrorType(funcType) && node.typeArguments) {\n        error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments);\n      }\n      return resolveUntypedCall(node);\n    }\n    const isStructDeclaration4 = isCalledStructDeclaration((_a2 = apparentType.symbol) == null ? void 0 : _a2.declarations);\n    if (!callSignatures.length) {\n      if (numConstructSignatures) {\n        if (!isStructDeclaration4) {\n          error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));\n        } else {\n          return resolveCall(node, constructSignatures, candidatesOutArray, checkMode, 0 /* None */);\n        }\n      } else {\n        let relatedInformation;\n        if (node.arguments.length === 1) {\n          const text = getSourceFileOfNode(node).text;\n          if (isLineBreak(text.charCodeAt(skipTrivia(text, node.expression.end, true) - 1))) {\n            relatedInformation = createDiagnosticForNode(node.expression, Diagnostics.Are_you_missing_a_semicolon);\n          }\n        }\n        invocationError(node.expression, apparentType, 0 /* Call */, relatedInformation);\n      }\n      return resolveErrorCall(node);\n    }\n    if (checkMode & 8 /* SkipGenericFunctions */ && !node.typeArguments && callSignatures.some(isGenericFunctionReturningFunction)) {\n      skippedGenericFunction(node, checkMode);\n      return resolvingSignature;\n    }\n    if (callSignatures.some((sig) => isInJSFile(sig.declaration) && !!getJSDocClassTag(sig.declaration))) {\n      error(node, Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new, typeToString(funcType));\n      return resolveErrorCall(node);\n    }\n    return resolveCall(node, callSignatures, candidatesOutArray, checkMode, callChainFlags);\n  }\n  function isGenericFunctionReturningFunction(signature) {\n    return !!(signature.typeParameters && isFunctionType(getReturnTypeOfSignature(signature)));\n  }\n  function isUntypedFunctionCall(funcType, apparentFuncType, numCallSignatures, numConstructSignatures) {\n    return isTypeAny(funcType) || isTypeAny(apparentFuncType) && !!(funcType.flags & 262144 /* TypeParameter */) || !numCallSignatures && !numConstructSignatures && !(apparentFuncType.flags & 1048576 /* Union */) && !(getReducedType(apparentFuncType).flags & 131072 /* Never */) && isTypeAssignableTo(funcType, globalFunctionType);\n  }\n  function resolveNewExpression(node, candidatesOutArray, checkMode) {\n    if (node.arguments && languageVersion < 1 /* ES5 */) {\n      const spreadIndex = getSpreadArgumentIndex(node.arguments);\n      if (spreadIndex >= 0) {\n        error(node.arguments[spreadIndex], Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);\n      }\n    }\n    let expressionType = checkNonNullExpression(node.expression, checkMode);\n    if (expressionType === silentNeverType) {\n      return silentNeverSignature;\n    }\n    expressionType = getApparentType(expressionType);\n    if (isErrorType(expressionType)) {\n      return resolveErrorCall(node);\n    }\n    if (isTypeAny(expressionType)) {\n      if (node.typeArguments) {\n        error(node, Diagnostics.Untyped_function_calls_may_not_accept_type_arguments);\n      }\n      return resolveUntypedCall(node);\n    }\n    const constructSignatures = getSignaturesOfType(expressionType, 1 /* Construct */);\n    if (constructSignatures.length) {\n      if (!isConstructorAccessible(node, constructSignatures[0])) {\n        return resolveErrorCall(node);\n      }\n      if (someSignature(constructSignatures, (signature) => !!(signature.flags & 4 /* Abstract */))) {\n        error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class);\n        return resolveErrorCall(node);\n      }\n      const valueDecl = expressionType.symbol && getClassLikeDeclarationOfSymbol(expressionType.symbol);\n      if (valueDecl && hasSyntacticModifier(valueDecl, 256 /* Abstract */)) {\n        error(node, Diagnostics.Cannot_create_an_instance_of_an_abstract_class);\n        return resolveErrorCall(node);\n      }\n      return resolveCall(node, constructSignatures, candidatesOutArray, checkMode, 0 /* None */);\n    }\n    const callSignatures = getSignaturesOfType(expressionType, 0 /* Call */);\n    if (callSignatures.length) {\n      const signature = resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */);\n      if (!noImplicitAny) {\n        if (signature.declaration && !isJSConstructor(signature.declaration) && getReturnTypeOfSignature(signature) !== voidType) {\n          error(node, Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword);\n        }\n        if (getThisTypeOfSignature(signature) === voidType) {\n          error(node, Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void);\n        }\n      }\n      return signature;\n    }\n    invocationError(node.expression, expressionType, 1 /* Construct */);\n    return resolveErrorCall(node);\n  }\n  function someSignature(signatures, f) {\n    if (isArray(signatures)) {\n      return some(signatures, (signature) => someSignature(signature, f));\n    }\n    return signatures.compositeKind === 1048576 /* Union */ ? some(signatures.compositeSignatures, f) : f(signatures);\n  }\n  function typeHasProtectedAccessibleBase(target, type) {\n    const baseTypes = getBaseTypes(type);\n    if (!length(baseTypes)) {\n      return false;\n    }\n    const firstBase = baseTypes[0];\n    if (firstBase.flags & 2097152 /* Intersection */) {\n      const types = firstBase.types;\n      const mixinFlags = findMixins(types);\n      let i = 0;\n      for (const intersectionMember of firstBase.types) {\n        if (!mixinFlags[i]) {\n          if (getObjectFlags(intersectionMember) & (1 /* Class */ | 2 /* Interface */)) {\n            if (intersectionMember.symbol === target) {\n              return true;\n            }\n            if (typeHasProtectedAccessibleBase(target, intersectionMember)) {\n              return true;\n            }\n          }\n        }\n        i++;\n      }\n      return false;\n    }\n    if (firstBase.symbol === target) {\n      return true;\n    }\n    return typeHasProtectedAccessibleBase(target, firstBase);\n  }\n  function isConstructorAccessible(node, signature) {\n    if (!signature || !signature.declaration) {\n      return true;\n    }\n    const declaration = signature.declaration;\n    const modifiers = getSelectedEffectiveModifierFlags(declaration, 24 /* NonPublicAccessibilityModifier */);\n    if (!modifiers || declaration.kind !== 176 /* Constructor */) {\n      return true;\n    }\n    const declaringClassDeclaration = getClassLikeDeclarationOfSymbol(declaration.parent.symbol);\n    const declaringClass = getDeclaredTypeOfSymbol(declaration.parent.symbol);\n    if (!isNodeWithinClass(node, declaringClassDeclaration)) {\n      const containingClass = getContainingClass(node);\n      if (containingClass && modifiers & 16 /* Protected */) {\n        const containingType = getTypeOfNode(containingClass);\n        if (typeHasProtectedAccessibleBase(declaration.parent.symbol, containingType)) {\n          return true;\n        }\n      }\n      if (modifiers & 8 /* Private */) {\n        error(node, Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration, typeToString(declaringClass));\n      }\n      if (modifiers & 16 /* Protected */) {\n        error(node, Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration, typeToString(declaringClass));\n      }\n      return false;\n    }\n    return true;\n  }\n  function invocationErrorDetails(errorTarget, apparentType, kind) {\n    let errorInfo;\n    const isCall = kind === 0 /* Call */;\n    const awaitedType = getAwaitedType(apparentType);\n    const maybeMissingAwait = awaitedType && getSignaturesOfType(awaitedType, kind).length > 0;\n    if (apparentType.flags & 1048576 /* Union */) {\n      const types = apparentType.types;\n      let hasSignatures = false;\n      for (const constituent of types) {\n        const signatures = getSignaturesOfType(constituent, kind);\n        if (signatures.length !== 0) {\n          hasSignatures = true;\n          if (errorInfo) {\n            break;\n          }\n        } else {\n          if (!errorInfo) {\n            errorInfo = chainDiagnosticMessages(\n              errorInfo,\n              isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures,\n              typeToString(constituent)\n            );\n            errorInfo = chainDiagnosticMessages(\n              errorInfo,\n              isCall ? Diagnostics.Not_all_constituents_of_type_0_are_callable : Diagnostics.Not_all_constituents_of_type_0_are_constructable,\n              typeToString(apparentType)\n            );\n          }\n          if (hasSignatures) {\n            break;\n          }\n        }\n      }\n      if (!hasSignatures) {\n        errorInfo = chainDiagnosticMessages(\n          void 0,\n          isCall ? Diagnostics.No_constituent_of_type_0_is_callable : Diagnostics.No_constituent_of_type_0_is_constructable,\n          typeToString(apparentType)\n        );\n      }\n      if (!errorInfo) {\n        errorInfo = chainDiagnosticMessages(\n          errorInfo,\n          isCall ? Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other : Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,\n          typeToString(apparentType)\n        );\n      }\n    } else {\n      errorInfo = chainDiagnosticMessages(\n        errorInfo,\n        isCall ? Diagnostics.Type_0_has_no_call_signatures : Diagnostics.Type_0_has_no_construct_signatures,\n        typeToString(apparentType)\n      );\n    }\n    let headMessage = isCall ? Diagnostics.This_expression_is_not_callable : Diagnostics.This_expression_is_not_constructable;\n    if (isCallExpression(errorTarget.parent) && errorTarget.parent.arguments.length === 0) {\n      const { resolvedSymbol } = getNodeLinks(errorTarget);\n      if (resolvedSymbol && resolvedSymbol.flags & 32768 /* GetAccessor */) {\n        headMessage = Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without;\n      }\n    }\n    return {\n      messageChain: chainDiagnosticMessages(errorInfo, headMessage),\n      relatedMessage: maybeMissingAwait ? Diagnostics.Did_you_forget_to_use_await : void 0\n    };\n  }\n  function invocationError(errorTarget, apparentType, kind, relatedInformation) {\n    const { messageChain, relatedMessage: relatedInfo } = invocationErrorDetails(errorTarget, apparentType, kind);\n    const diagnostic = createDiagnosticForNodeFromMessageChain(errorTarget, messageChain);\n    if (relatedInfo) {\n      addRelatedInfo(diagnostic, createDiagnosticForNode(errorTarget, relatedInfo));\n    }\n    if (isCallExpression(errorTarget.parent)) {\n      const { start, length: length2 } = getDiagnosticSpanForCallNode(errorTarget.parent, true);\n      diagnostic.start = start;\n      diagnostic.length = length2;\n    }\n    diagnostics.add(diagnostic);\n    invocationErrorRecovery(apparentType, kind, relatedInformation ? addRelatedInfo(diagnostic, relatedInformation) : diagnostic);\n  }\n  function invocationErrorRecovery(apparentType, kind, diagnostic) {\n    if (!apparentType.symbol) {\n      return;\n    }\n    const importNode = getSymbolLinks(apparentType.symbol).originatingImport;\n    if (importNode && !isImportCall(importNode)) {\n      const sigs = getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(apparentType.symbol).target), kind);\n      if (!sigs || !sigs.length)\n        return;\n      addRelatedInfo(\n        diagnostic,\n        createDiagnosticForNode(importNode, Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead)\n      );\n    }\n  }\n  function resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode) {\n    const tagType = checkExpression(node.tag);\n    const apparentType = getApparentType(tagType);\n    if (isErrorType(apparentType)) {\n      return resolveErrorCall(node);\n    }\n    const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */);\n    const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length;\n    if (isUntypedFunctionCall(tagType, apparentType, callSignatures.length, numConstructSignatures)) {\n      return resolveUntypedCall(node);\n    }\n    if (!callSignatures.length) {\n      if (isArrayLiteralExpression(node.parent)) {\n        const diagnostic = createDiagnosticForNode(node.tag, Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);\n        diagnostics.add(diagnostic);\n        return resolveErrorCall(node);\n      }\n      invocationError(node.tag, apparentType, 0 /* Call */);\n      return resolveErrorCall(node);\n    }\n    return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */);\n  }\n  function getDiagnosticHeadMessageForDecoratorResolution(node) {\n    switch (node.parent.kind) {\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n        return Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;\n      case 168 /* Parameter */:\n        return Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;\n      case 171 /* PropertyDeclaration */:\n        return Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;\n      case 263 /* FunctionDeclaration */:\n        const decoratorName = getNameOfDecorator(node);\n        if (isEtsFunctionDecorators(decoratorName, compilerOptions)) {\n          return Diagnostics.Unable_to_resolve_signature_of_function_decorator_when_decorators_are_not_valid;\n        }\n        return Debug.fail();\n      default:\n        return Debug.fail();\n    }\n  }\n  function annotationHasDefaultValue(node) {\n    const members = node.annotationDeclaration.members;\n    return every(members, (elem) => elem.initializer !== void 0);\n  }\n  function setAnnotationDefaultSignature(node, annotationDefaultSignature2) {\n    if (!annotationHasDefaultValue(node)) {\n      const nodeStr = getTextOfNode(node.expression, false);\n      error(node, Diagnostics.When_annotation_0_is_applied_all_fields_without_default_values_must_be_provided, nodeStr);\n      return resolveErrorCall(node);\n    }\n    return annotationDefaultSignature2;\n  }\n  function resolveAnnotation(node) {\n    if (isIdentifier(node.expression) || isPropertyAccessExpression(node.expression)) {\n      const identType = checkExpression(node.expression);\n      Debug.assert(identType.symbol.flags & 268435456 /* Annotation */);\n      return setAnnotationDefaultSignature(node, annotationDefaultSignature);\n    }\n    Debug.assert(isCallExpression(node.expression));\n    if (node.expression.arguments && !node.expression.arguments.length) {\n      const identType = checkExpression(node.expression.expression);\n      Debug.assert(identType.symbol.flags & 268435456 /* Annotation */);\n      return setAnnotationDefaultSignature(node, annotationDefaultSignature);\n    }\n    if (!node.expression.arguments || node.expression.arguments.length !== 1 || !isObjectLiteralExpression(node.expression.arguments[0])) {\n      const nodeStr = getTextOfNode(node.expression.arguments[0] || node.expression, false);\n      error(node, Diagnostics.Only_an_object_literal_have_to_be_provided_as_annotation_parameters_list_got_Colon_0, nodeStr);\n      return resolveErrorCall(node);\n    }\n    const arg = node.expression.arguments[0];\n    const evaluatedProps = new Map2();\n    if (!arg.properties.length) {\n      return setAnnotationDefaultSignature(node, annotationDefaultSignature);\n    }\n    for (const prop of arg.properties) {\n      if (!isPropertyAssignment(prop)) {\n        const nodeStr = getTextOfNode(arg, false);\n        error(node, Diagnostics.Only_an_object_literal_have_to_be_provided_as_annotation_parameters_list_got_Colon_0, nodeStr);\n        return resolveErrorCall(node);\n      }\n      const evaluated = evaluateAnnotationPropertyConstantExpression(prop.initializer);\n      if (evaluated === void 0) {\n        const nodeStr = getTextOfNode(prop.initializer, false);\n        error(node, Diagnostics.All_members_of_object_literal_which_is_provided_as_annotation_parameters_list_have_to_be_constant_expressions_got_Colon_0, nodeStr);\n        return resolveErrorCall(node);\n      }\n      evaluatedProps.set(tryGetTextOfPropertyName(prop.name), evaluated);\n    }\n    const funcType = checkExpression(node.expression);\n    const apparentType = getApparentType(funcType);\n    if (isErrorType(apparentType)) {\n      return resolveErrorCall(node);\n    }\n    const members = node.annotationDeclaration.members;\n    for (const m of members) {\n      const memberName = tryGetTextOfPropertyName(m.name);\n      if (evaluatedProps.has(memberName)) {\n        const propValue = annotationEvaluatedValueToExpr(evaluatedProps.get(memberName), getTypeOfNode(m));\n        if (getNodeLinks(node).annotationObjectLiteralEvaluatedProps === void 0) {\n          getNodeLinks(node).annotationObjectLiteralEvaluatedProps = new Map2();\n        }\n        getNodeLinks(node).annotationObjectLiteralEvaluatedProps.set(memberName, propValue);\n      }\n    }\n    return getResolvedSignature(node.expression);\n  }\n  function resolveDecorator(node, candidatesOutArray, checkMode) {\n    const funcType = checkExpression(node.expression);\n    const apparentType = getApparentType(funcType);\n    if (isErrorType(apparentType)) {\n      return resolveErrorCall(node);\n    }\n    const callSignatures = getSignaturesOfType(apparentType, 0 /* Call */);\n    const numConstructSignatures = getSignaturesOfType(apparentType, 1 /* Construct */).length;\n    if (isUntypedFunctionCall(funcType, apparentType, callSignatures.length, numConstructSignatures)) {\n      return resolveUntypedCall(node);\n    }\n    if (isPotentiallyUncalledDecorator(node, callSignatures)) {\n      const nodeStr = getTextOfNode(node.expression, false);\n      error(node, Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0, nodeStr);\n      return resolveErrorCall(node);\n    }\n    const headMessage = getDiagnosticHeadMessageForDecoratorResolution(node);\n    if (!callSignatures.length) {\n      const errorDetails = invocationErrorDetails(node.expression, apparentType, 0 /* Call */);\n      const messageChain = chainDiagnosticMessages(errorDetails.messageChain, headMessage);\n      const diag2 = createDiagnosticForNodeFromMessageChain(node.expression, messageChain);\n      if (errorDetails.relatedMessage) {\n        addRelatedInfo(diag2, createDiagnosticForNode(node.expression, errorDetails.relatedMessage));\n      }\n      diagnostics.add(diag2);\n      invocationErrorRecovery(apparentType, 0 /* Call */, diag2);\n      return resolveErrorCall(node);\n    }\n    return resolveCall(node, callSignatures, candidatesOutArray, checkMode, 0 /* None */, headMessage);\n  }\n  function createSignatureForJSXIntrinsic(node, result) {\n    const namespace = getJsxNamespaceAt(node);\n    const exports = namespace && getExportsOfSymbol(namespace);\n    const typeSymbol = exports && getSymbol2(exports, JsxNames.Element, 788968 /* Type */);\n    const returnNode = typeSymbol && nodeBuilder.symbolToEntityName(typeSymbol, 788968 /* Type */, node);\n    const declaration = factory.createFunctionTypeNode(\n      void 0,\n      [factory.createParameterDeclaration(void 0, void 0, \"props\", void 0, nodeBuilder.typeToTypeNode(result, node))],\n      returnNode ? factory.createTypeReferenceNode(returnNode, void 0) : factory.createKeywordTypeNode(132 /* AnyKeyword */)\n    );\n    const parameterSymbol = createSymbol(1 /* FunctionScopedVariable */, \"props\");\n    parameterSymbol.type = result;\n    return createSignature(\n      declaration,\n      void 0,\n      void 0,\n      [parameterSymbol],\n      typeSymbol ? getDeclaredTypeOfSymbol(typeSymbol) : errorType,\n      void 0,\n      1,\n      0 /* None */\n    );\n  }\n  function resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode) {\n    if (isJsxIntrinsicIdentifier(node.tagName)) {\n      const result = getIntrinsicAttributesTypeFromJsxOpeningLikeElement(node);\n      const fakeSignature = createSignatureForJSXIntrinsic(node, result);\n      checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType(node.attributes, getEffectiveFirstArgumentForJsxSignature(fakeSignature, node), void 0, 0 /* Normal */), result, node.tagName, node.attributes);\n      if (length(node.typeArguments)) {\n        forEach(node.typeArguments, checkSourceElement);\n        diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), node.typeArguments, Diagnostics.Expected_0_type_arguments_but_got_1, 0, length(node.typeArguments)));\n      }\n      return fakeSignature;\n    }\n    const exprTypes = checkExpression(node.tagName);\n    const apparentType = getApparentType(exprTypes);\n    if (isErrorType(apparentType)) {\n      return resolveErrorCall(node);\n    }\n    const signatures = getUninstantiatedJsxSignaturesOfType(exprTypes, node);\n    if (isUntypedFunctionCall(exprTypes, apparentType, signatures.length, 0)) {\n      return resolveUntypedCall(node);\n    }\n    if (signatures.length === 0) {\n      error(node.tagName, Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures, getTextOfNode(node.tagName));\n      return resolveErrorCall(node);\n    }\n    return resolveCall(node, signatures, candidatesOutArray, checkMode, 0 /* None */);\n  }\n  function isPotentiallyUncalledDecorator(decorator, signatures) {\n    return signatures.length && every(signatures, (signature) => signature.minArgumentCount === 0 && !signatureHasRestParameter(signature) && signature.parameters.length < getDecoratorArgumentCount(decorator, signature));\n  }\n  function resolveSignature(node, candidatesOutArray, checkMode) {\n    switch (node.kind) {\n      case 213 /* CallExpression */:\n      case 220 /* EtsComponentExpression */:\n        return resolveCallExpression(node, candidatesOutArray, checkMode);\n      case 214 /* NewExpression */:\n        return resolveNewExpression(node, candidatesOutArray, checkMode);\n      case 215 /* TaggedTemplateExpression */:\n        return resolveTaggedTemplateExpression(node, candidatesOutArray, checkMode);\n      case 169 /* Decorator */:\n        if (isAnnotation(node)) {\n          return resolveAnnotation(node);\n        }\n        return resolveDecorator(node, candidatesOutArray, checkMode);\n      case 289 /* JsxOpeningElement */:\n      case 288 /* JsxSelfClosingElement */:\n        return resolveJsxOpeningLikeElement(node, candidatesOutArray, checkMode);\n    }\n  }\n  function getResolvedSignature(node, candidatesOutArray, checkMode) {\n    const links = getNodeLinks(node);\n    const cached = links.resolvedSignature;\n    if (cached && cached !== resolvingSignature && !candidatesOutArray) {\n      return cached;\n    }\n    links.resolvedSignature = resolvingSignature;\n    const result = resolveSignature(node, candidatesOutArray, checkMode || 0 /* Normal */);\n    if (result !== resolvingSignature) {\n      links.resolvedSignature = flowLoopStart === flowLoopCount ? result : cached;\n    }\n    return result;\n  }\n  function isJSConstructor(node) {\n    var _a2;\n    if (!node || !isInJSFile(node)) {\n      return false;\n    }\n    const func = isFunctionDeclaration(node) || isFunctionExpression(node) ? node : (isVariableDeclaration(node) || isPropertyAssignment(node)) && node.initializer && isFunctionExpression(node.initializer) ? node.initializer : void 0;\n    if (func) {\n      if (getJSDocClassTag(node))\n        return true;\n      if (isPropertyAssignment(walkUpParenthesizedExpressions(func.parent)))\n        return false;\n      const symbol = getSymbolOfNode(func);\n      return !!((_a2 = symbol == null ? void 0 : symbol.members) == null ? void 0 : _a2.size);\n    }\n    return false;\n  }\n  function mergeJSSymbols(target, source) {\n    var _a2, _b;\n    if (source) {\n      const links = getSymbolLinks(source);\n      if (!links.inferredClassSymbol || !links.inferredClassSymbol.has(getSymbolId(target))) {\n        const inferred = isTransientSymbol(target) ? target : cloneSymbol(target);\n        inferred.exports = inferred.exports || createSymbolTable();\n        inferred.members = inferred.members || createSymbolTable();\n        inferred.flags |= source.flags & 32 /* Class */;\n        if ((_a2 = source.exports) == null ? void 0 : _a2.size) {\n          mergeSymbolTable(inferred.exports, source.exports);\n        }\n        if ((_b = source.members) == null ? void 0 : _b.size) {\n          mergeSymbolTable(inferred.members, source.members);\n        }\n        (links.inferredClassSymbol || (links.inferredClassSymbol = new Map2())).set(getSymbolId(inferred), inferred);\n        return inferred;\n      }\n      return links.inferredClassSymbol.get(getSymbolId(target));\n    }\n  }\n  function getAssignedClassSymbol(decl) {\n    var _a2;\n    const assignmentSymbol = decl && getSymbolOfExpando(decl, true);\n    const prototype = (_a2 = assignmentSymbol == null ? void 0 : assignmentSymbol.exports) == null ? void 0 : _a2.get(\"prototype\");\n    const init = (prototype == null ? void 0 : prototype.valueDeclaration) && getAssignedJSPrototype(prototype.valueDeclaration);\n    return init ? getSymbolOfNode(init) : void 0;\n  }\n  function getSymbolOfExpando(node, allowDeclaration) {\n    if (!node.parent) {\n      return void 0;\n    }\n    let name;\n    let decl;\n    if (isVariableDeclaration(node.parent) && node.parent.initializer === node) {\n      if (!isInJSFile(node) && !(isVarConst(node.parent) && isFunctionLikeDeclaration(node))) {\n        return void 0;\n      }\n      name = node.parent.name;\n      decl = node.parent;\n    } else if (isBinaryExpression(node.parent)) {\n      const parentNode = node.parent;\n      const parentNodeOperator = node.parent.operatorToken.kind;\n      if (parentNodeOperator === 63 /* EqualsToken */ && (allowDeclaration || parentNode.right === node)) {\n        name = parentNode.left;\n        decl = name;\n      } else if (parentNodeOperator === 56 /* BarBarToken */ || parentNodeOperator === 60 /* QuestionQuestionToken */) {\n        if (isVariableDeclaration(parentNode.parent) && parentNode.parent.initializer === parentNode) {\n          name = parentNode.parent.name;\n          decl = parentNode.parent;\n        } else if (isBinaryExpression(parentNode.parent) && parentNode.parent.operatorToken.kind === 63 /* EqualsToken */ && (allowDeclaration || parentNode.parent.right === parentNode)) {\n          name = parentNode.parent.left;\n          decl = name;\n        }\n        if (!name || !isBindableStaticNameExpression(name) || !isSameEntityName(name, parentNode.left)) {\n          return void 0;\n        }\n      }\n    } else if (allowDeclaration && isFunctionDeclaration(node)) {\n      name = node.name;\n      decl = node;\n    }\n    if (!decl || !name || !allowDeclaration && !getExpandoInitializer(node, isPrototypeAccess(name))) {\n      return void 0;\n    }\n    return getSymbolOfNode(decl);\n  }\n  function getAssignedJSPrototype(node) {\n    if (!node.parent) {\n      return false;\n    }\n    let parent2 = node.parent;\n    while (parent2 && parent2.kind === 211 /* PropertyAccessExpression */) {\n      parent2 = parent2.parent;\n    }\n    if (parent2 && isBinaryExpression(parent2) && isPrototypeAccess(parent2.left) && parent2.operatorToken.kind === 63 /* EqualsToken */) {\n      const right = getInitializerOfBinaryExpression(parent2);\n      return isObjectLiteralExpression(right) && right;\n    }\n  }\n  function checkCallExpression(node, checkMode) {\n    var _a2;\n    checkGrammarTypeArguments(node, node.typeArguments);\n    const signature = getResolvedSignature(node, void 0, checkMode);\n    if (signature === resolvingSignature) {\n      return silentNeverType;\n    }\n    checkDeprecatedSignature(signature, node);\n    if (node.expression.kind === 107 /* SuperKeyword */) {\n      return voidType;\n    }\n    if (node.kind === 214 /* NewExpression */) {\n      const declaration = signature.declaration;\n      if (declaration && declaration.kind !== 176 /* Constructor */ && declaration.kind !== 180 /* ConstructSignature */ && declaration.kind !== 185 /* ConstructorType */ && !isJSDocConstructSignature(declaration) && !isJSConstructor(declaration)) {\n        if (noImplicitAny) {\n          error(node, Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type);\n        }\n        return anyType;\n      }\n    }\n    if (isInJSFile(node) && isCommonJsRequire(node)) {\n      return resolveExternalModuleTypeByLiteral(node.arguments[0]);\n    }\n    const returnType = getReturnTypeOfSignature(signature);\n    if (returnType.flags & 12288 /* ESSymbolLike */ && isSymbolOrSymbolForCall(node)) {\n      return getESSymbolLikeTypeForNode(walkUpParenthesizedExpressions(node.parent));\n    }\n    if (node.kind === 213 /* CallExpression */ && !node.questionDotToken && node.parent.kind === 245 /* ExpressionStatement */ && returnType.flags & 16384 /* Void */ && getTypePredicateOfSignature(signature)) {\n      if (!isDottedName(node.expression)) {\n        error(node.expression, Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);\n      } else if (!getEffectsSignature(node)) {\n        const diagnostic = error(node.expression, Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);\n        getTypeOfDottedName(node.expression, diagnostic);\n      }\n    }\n    if (isInJSFile(node)) {\n      const jsSymbol = getSymbolOfExpando(node, false);\n      if ((_a2 = jsSymbol == null ? void 0 : jsSymbol.exports) == null ? void 0 : _a2.size) {\n        const jsAssignmentType = createAnonymousType(jsSymbol, jsSymbol.exports, emptyArray, emptyArray, emptyArray);\n        jsAssignmentType.objectFlags |= 4096 /* JSLiteral */;\n        return getIntersectionType([returnType, jsAssignmentType]);\n      }\n    }\n    if (isInETSFile(node) && isIdentifier(node.expression) && !isNewExpression(node) && isSystemEtsComponent(node.expression, compilerOptions) && !isInBuildOrPageTransitionContext(node, compilerOptions)) {\n      error(node.expression, Diagnostics.UI_component_0_cannot_be_used_in_this_place, diagnosticName(node.expression));\n    }\n    const signatureDeclaration = signature.declaration;\n    if (node.kind === 213 /* CallExpression */ && signatureDeclaration && !isJSDocSignature(signatureDeclaration) && (isMethodDeclaration(signatureDeclaration) || isMethodSignature(signatureDeclaration) || isFunctionDeclaration(signatureDeclaration))) {\n      if (shouldCheckThrows(signatureDeclaration) && !hasAsyncErrorCallbacks(signatureDeclaration)) {\n        checkThrowableFunction(node);\n      }\n    }\n    return returnType;\n  }\n  function checkThrowableFunction(node) {\n    if (isThrowsHandled(node)) {\n      return;\n    }\n    const currentDecl = findAncestor(\n      node,\n      (node2) => isFunctionLikeDeclaration(node2)\n    );\n    if (!currentDecl || !(isFunctionDeclaration(currentDecl) || isMethodDeclaration(currentDecl))) {\n      return;\n    }\n    if (hasThrowsTag(currentDecl)) {\n      return;\n    }\n    error(getThrowsErrorNode(node), Diagnostics.Function_may_throw_exceptions_Special_handling_is_required);\n  }\n  function hasAsyncErrorCallbacks(declaration) {\n    let parameters = declaration.parameters;\n    for (const parameter of parameters) {\n      if (parameter.type && isTypeReferenceNode(parameter.type) && isIdentifier(parameter.type.typeName) && (parameter.type.typeName.escapedText === THROWS_ASYNC_CALLBACK || parameter.type.typeName.escapedText === THROWS_ERROR_CALLBACK)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function shouldCheckThrows(declaration) {\n    const sourceFileNamePath = getSourceFileOfNode(declaration).fileName.replace(/\\\\/g, \"/\");\n    const SKIPPED_PATHS = [\"/node_modules/\", \"/oh_modules/\", \"/js_util_module/\"];\n    if (SKIPPED_PATHS.some((path) => sourceFileNamePath.includes(path))) {\n      return false;\n    }\n    const isSDKPath = skipSdkPathReg.test(sourceFileNamePath);\n    const tags = getJSDocTags(declaration);\n    for (const tag of tags) {\n      if (tag.tagName.escapedText === THROWS_TAG && !shouldSkipTag(tag, isSDKPath)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function hasThrowsTag(declaration) {\n    const tags = getJSDocTags(declaration);\n    for (const tag of tags) {\n      if (tag.tagName.escapedText === THROWS_TAG) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function getJSDocTagComment(tag) {\n    if (!tag.comment) {\n      return void 0;\n    }\n    if (typeof tag.comment === \"string\") {\n      return tag.comment;\n    }\n    if (isNodeArray(tag.comment)) {\n      return tag.comment.map((c) => c.text).join(\"\\n\");\n    }\n    return void 0;\n  }\n  function shouldSkipTag(tag, isSDKPath) {\n    const comment = getJSDocTagComment(tag);\n    if (!comment) {\n      return false;\n    }\n    const skippedErrorReg = /\\{ BusinessError \\} 401 -.*/;\n    if (comment.match(skippedErrorReg) && isSDKPath) {\n      return true;\n    }\n    return false;\n  }\n  function isThrowsHandled(node) {\n    let current = node.parent;\n    while (current) {\n      if (isMethodDeclaration(current) || isFunctionDeclaration(current)) {\n        return false;\n      }\n      if (isTryStatement(current)) {\n        const tryBlock = current.tryBlock;\n        const catchClause = current.catchClause;\n        if (tryBlock && catchClause && node.pos >= tryBlock.pos && node.end <= tryBlock.end) {\n          return true;\n        }\n      }\n      if (isPropertyAccessExpression(current) && current.name.escapedText === THROWS_CATCH && isCallExpression(current.parent)) {\n        return true;\n      }\n      current = current.parent;\n    }\n    return false;\n  }\n  function getThrowsErrorNode(node) {\n    const expression = node.expression;\n    if (isIdentifier(expression)) {\n      return expression;\n    }\n    if (isPropertyAccessExpression(expression)) {\n      return expression.expression;\n    }\n    return node;\n  }\n  function isSystemEtsComponent(node, compilerOptions2) {\n    var _a2;\n    const name = getTextOfPropertyName(node).toString();\n    if (!((_a2 = compilerOptions2.ets) == null ? void 0 : _a2.components.some((component) => component === name))) {\n      return false;\n    }\n    if (!compilerOptions2.etsLoaderPath) {\n      return false;\n    }\n    const declarationsPath = resolvePath(compilerOptions2.etsLoaderPath, \"declarations\");\n    const symbol = resolveSymbol(getSymbolAtLocation(node));\n    const declarations = symbol == null ? void 0 : symbol.declarations;\n    if (!declarations || declarations.length !== 1) {\n      return false;\n    }\n    const sourceFile = getSourceFileOfNode(declarations[0]);\n    const fileName = sourceFile == null ? void 0 : sourceFile.fileName;\n    return !!(fileName == null ? void 0 : fileName.startsWith(declarationsPath));\n  }\n  function propertyAccessExpressionConditionCheck(node) {\n    var _a2;\n    if (!jsDocFileCheckInfo.fileNeedCheck || !getJsDocNodeCheckedConfig) {\n      return;\n    }\n    const sourceFile = getSourceFileOfNode(node);\n    const sourceSymbol = getPropertyAccessExpressionNameSymbol(node);\n    if (!sourceSymbol || !sourceSymbol.valueDeclaration) {\n      return;\n    }\n    const sourceSymbolSourceFile = getSourceFileOfNode(sourceSymbol.valueDeclaration);\n    if (!sourceSymbolSourceFile) {\n      return;\n    }\n    const checkParam = getJsDocNodeCheckedConfig(jsDocFileCheckInfo, sourceSymbolSourceFile.fileName);\n    if (!checkParam.nodeNeedCheck) {\n      return;\n    }\n    if (isIdentifier(node.name)) {\n      if ((sourceSymbol == null ? void 0 : sourceSymbol.declarations) && (sourceSymbol == null ? void 0 : sourceSymbol.declarations.length) >= 2) {\n        const signatureDeclaration = tryGetSignatureDeclaration2(checker, node);\n        if (signatureDeclaration) {\n          expressionCheckByJsDoc(signatureDeclaration, node.name, sourceFile, checkParam.checkConfig);\n        }\n      } else {\n        (_a2 = sourceSymbol == null ? void 0 : sourceSymbol.declarations) == null ? void 0 : _a2.forEach((item) => {\n          if (isIdentifier(node.name)) {\n            expressionCheckByJsDoc(item, node.name, sourceFile, checkParam.checkConfig);\n          }\n        });\n      }\n    }\n  }\n  function tryGetSignatureDeclaration2(typeChecker3, node) {\n    const callLike = getAncestorCallLikeExpression2(node);\n    const signature = callLike && typeChecker3.tryGetResolvedSignatureWithoutCheck(callLike);\n    return tryCast(signature && signature.declaration, (d) => isFunctionLike(d) && !isFunctionTypeNode(d));\n  }\n  function getAncestorCallLikeExpression2(node) {\n    const target = findAncestor(node, (n) => !isRightSideOfAccessExpression(n));\n    const callLike = target == null ? void 0 : target.parent;\n    return callLike && isCallLikeExpression(callLike) && getInvokedExpression(callLike) === target ? callLike : void 0;\n  }\n  function getPropertyAccessExpressionNameSymbol(node) {\n    const right = node.name;\n    const leftType = checkNonNullExpression(node.expression);\n    const assignmentKind = getAssignmentTargetKind(node);\n    const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(leftType) : leftType);\n    let sourceSymbol;\n    if (isPrivateIdentifier(right)) {\n      const lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(right.escapedText, right);\n      sourceSymbol = lexicallyScopedSymbol ? getPrivateIdentifierPropertyOfType(leftType, lexicallyScopedSymbol) : void 0;\n    } else {\n      sourceSymbol = getPropertyOfType(apparentType, right.escapedText);\n      if (!sourceSymbol) {\n        const etsComponentExpressionNode = getEtsComponentExpressionInnerExpressionStatementNode(node) || getRootEtsComponentInnerCallExpressionNode(node);\n        if (etsComponentExpressionNode) {\n          sourceSymbol = getEtsComponentExpressionPropertyOfType(node, etsComponentExpressionNode, right);\n        }\n      }\n    }\n    return sourceSymbol;\n  }\n  function getEtsComponentExpressionPropertyOfType(node, etsComponentExpressionNode, right) {\n    var _a2;\n    let sourceSymbol;\n    const locals = getSourceFileOfNode(node).locals;\n    if (locals == null ? void 0 : locals.has(right.escapedText)) {\n      const extraSymbol = locals == null ? void 0 : locals.get(right.escapedText);\n      const etsComponentName = isIdentifier(etsComponentExpressionNode) ? etsComponentExpressionNode.escapedText : isIdentifier(node.expression) ? node.expression.escapedText : void 0;\n      const decorators = getAllDecorators(extraSymbol == null ? void 0 : extraSymbol.valueDeclaration);\n      if (getEtsExtendDecoratorsComponentNames(decorators, compilerOptions).find((extendComponentName) => extendComponentName === etsComponentName)) {\n        sourceSymbol = extraSymbol;\n      }\n      if (hasEtsStylesDecoratorNames(decorators, compilerOptions)) {\n        sourceSymbol = extraSymbol;\n      }\n    }\n    const props = (_a2 = getContainingStruct(node)) == null ? void 0 : _a2.symbol.members;\n    if (props == null ? void 0 : props.has(right.escapedText)) {\n      const stylesSymbol = props == null ? void 0 : props.get(right.escapedText);\n      const decorators = getAllDecorators(stylesSymbol == null ? void 0 : stylesSymbol.valueDeclaration);\n      if (hasEtsStylesDecoratorNames(decorators, compilerOptions)) {\n        sourceSymbol = stylesSymbol;\n      }\n    }\n    return sourceSymbol;\n  }\n  function conditionCheck(node, jsDocTags, sourceFile, checkConfig, jsDocs) {\n    const specifyJsDocTagValue = getSpecifyJsDocTagValue(jsDocTags, checkConfig.tagName);\n    if (specifyJsDocTagValue === void 0) {\n      return;\n    }\n    const hasIfChecked = hasConditionChecked(node, specifyJsDocTagValue, checkConfig, jsDocs);\n    if (!hasIfChecked && host.getJsDocNodeConditionCheckedResult) {\n      const jsDocTagInfos = [];\n      jsDocTags.forEach((item) => {\n        jsDocTagInfos.push({\n          name: item.tagName.escapedText.toString(),\n          text: getTextOfJSDocComment(item.comment)\n        });\n      });\n      const conditionCheckResult = host.getJsDocNodeConditionCheckedResult(jsDocFileCheckInfo, jsDocTagInfos, jsDocs);\n      if (conditionCheckResult.valid) {\n        return;\n      } else {\n        const diagnostic = createDiagnosticForNodeInSourceFile(sourceFile, node, Diagnostics.The_statement_must_be_written_use_the_function_0_under_the_if_condition, checkConfig.specifyCheckConditionFuncName);\n        collectDiagnostics(conditionCheckResult, node, diagnostic);\n      }\n    }\n  }\n  function expressionCheckByJsDoc(declaration, node, sourceFile, checkConfig) {\n    const jsDocTags = getJSDocTags(declaration);\n    forEachAncestor(declaration, setAnnotationsOfNode);\n    for (let i = 0; i < checkConfig.length; i++) {\n      const config = checkConfig[i];\n      let tagNameCheckNecessity = true;\n      if (config.checkJsDocSpecialValidCallback) {\n        tagNameCheckNecessity = config.checkJsDocSpecialValidCallback(jsDocTags, config, node, declaration);\n      }\n      if (!tagNameCheckNecessity) {\n        continue;\n      }\n      let tagNameExisted = false;\n      if (!config.tagNameShouldExisted && config.needConditionCheck) {\n        jsDocFileCheckInfo.tagName = config.tagName;\n        conditionCheck(node, jsDocTags, sourceFile, config, declaration.jsDoc);\n      }\n      jsDocTags.forEach((item) => {\n        if (config.tagName.includes(item.tagName.escapedText.toString())) {\n          if (config.checkValidCallback) {\n            tagNameExisted = config.checkValidCallback(item, config);\n          } else {\n            tagNameExisted = true;\n          }\n          if (tagNameExisted && !config.tagNameShouldExisted && !config.needConditionCheck) {\n            const diagnostic = createDiagnosticForNodeInSourceFile(sourceFile, node, Diagnostics.This_API_has_been_Special_Markings_exercise_caution_when_using_this_API);\n            collectDiagnostics(config, node, diagnostic);\n          }\n        }\n      });\n      if (config.tagNameShouldExisted && !tagNameExisted) {\n        const diagnostic = createDiagnosticForNodeInSourceFile(sourceFile, node, Diagnostics.This_API_has_been_Special_Markings_exercise_caution_when_using_this_API);\n        collectDiagnostics(config, node, diagnostic);\n      }\n    }\n  }\n  function collectDiagnostics(config, node, diagnostic) {\n    if (config.message) {\n      diagnostic.messageText = config.message.replace(\"{0}\", node.getText() === \"\" ? node.text : node.getText());\n    }\n    diagnostic.category = config.type ? config.type : 0 /* Warning */;\n    diagnostics.add(diagnostic);\n    suggestionDiagnostics.add(diagnostic);\n  }\n  function getSpecifyJsDocTagValue(jsDocs, specifyTag) {\n    let specifyJsDocTagValue;\n    jsDocs.forEach((item) => {\n      var _a2;\n      if (specifyTag.includes(item.tagName.escapedText.toString())) {\n        specifyJsDocTagValue = (_a2 = item.comment) != null ? _a2 : \"\";\n      }\n    });\n    return specifyJsDocTagValue;\n  }\n  function hasConditionChecked(expression, importSymbol, checkConfig, jsDocs) {\n    const result = { hasIfChecked: false };\n    const container = findAncestor(expression, isSourceFile);\n    if (!container) {\n      return result.hasIfChecked;\n    }\n    traversalNode(expression, importSymbol, container, result, checkConfig, jsDocs);\n    return result.hasIfChecked;\n  }\n  function traversalNode(node, importSymbol, parent2, result, checkConfig, jsDocs) {\n    const specifyFuncName = checkConfig.specifyCheckConditionFuncName;\n    if (result.hasIfChecked) {\n      return;\n    }\n    if (node.parent !== parent2) {\n      if (isIfStatement(node.parent)) {\n        if (isCallExpression(node.parent.expression) && (checkConfig.checkConditionValidCallback ? checkConfig.checkConditionValidCallback(node.parent.expression, specifyFuncName, importSymbol, jsDocs) : isTargetCallExpression(node.parent.expression, specifyFuncName, importSymbol))) {\n          result.hasIfChecked = true;\n          return;\n        } else {\n          traversalNode(node.parent, importSymbol, parent2, result, checkConfig, jsDocs);\n        }\n      }\n      traversalNode(node.parent, importSymbol, parent2, result, checkConfig, jsDocs);\n    } else {\n      return;\n    }\n  }\n  function isTargetCallExpression(node, specifyFuncName, importSymbol) {\n    if (isIdentifier(node.expression) && node.arguments.length === 1 && node.expression.escapedText.toString() === specifyFuncName) {\n      const expression = node.arguments[0];\n      if (isStringLiteral(expression) && expression.text.toString() === importSymbol) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function checkDeprecatedSignature(signature, node) {\n    if (signature.declaration && signature.declaration.flags & 268435456 /* Deprecated */) {\n      const suggestionNode = getDeprecatedSuggestionNode(node);\n      const name = tryGetPropertyAccessOrIdentifierToString(getInvokedExpression(node));\n      addDeprecatedSuggestionWithSignature(suggestionNode, signature.declaration, name, signatureToString(signature));\n    }\n  }\n  function getDeprecatedSuggestionNode(node) {\n    node = skipParentheses(node);\n    switch (node.kind) {\n      case 213 /* CallExpression */:\n      case 169 /* Decorator */:\n      case 214 /* NewExpression */:\n        return getDeprecatedSuggestionNode(node.expression);\n      case 215 /* TaggedTemplateExpression */:\n        return getDeprecatedSuggestionNode(node.tag);\n      case 289 /* JsxOpeningElement */:\n      case 288 /* JsxSelfClosingElement */:\n        return getDeprecatedSuggestionNode(node.tagName);\n      case 212 /* ElementAccessExpression */:\n        return node.argumentExpression;\n      case 211 /* PropertyAccessExpression */:\n        return node.name;\n      case 183 /* TypeReference */:\n        const typeReference = node;\n        return isQualifiedName(typeReference.typeName) ? typeReference.typeName.right : typeReference;\n      default:\n        return node;\n    }\n  }\n  function isSymbolOrSymbolForCall(node) {\n    if (!isCallExpression(node))\n      return false;\n    let left = node.expression;\n    if (isPropertyAccessExpression(left) && left.name.escapedText === \"for\") {\n      left = left.expression;\n    }\n    if (!isIdentifier(left) || left.escapedText !== \"Symbol\") {\n      return false;\n    }\n    const globalESSymbol = getGlobalESSymbolConstructorSymbol(false);\n    if (!globalESSymbol) {\n      return false;\n    }\n    return globalESSymbol === resolveName(left, \"Symbol\", 111551 /* Value */, void 0, void 0, false);\n  }\n  function checkImportCallExpression(node) {\n    checkGrammarImportCallExpression(node);\n    if (node.arguments.length === 0) {\n      return createPromiseReturnType(node, anyType);\n    }\n    const specifier = node.arguments[0];\n    const specifierType = checkExpressionCached(specifier);\n    const optionsType = node.arguments.length > 1 ? checkExpressionCached(node.arguments[1]) : void 0;\n    for (let i = 2; i < node.arguments.length; ++i) {\n      checkExpressionCached(node.arguments[i]);\n    }\n    if (specifierType.flags & 32768 /* Undefined */ || specifierType.flags & 65536 /* Null */ || !isTypeAssignableTo(specifierType, stringType)) {\n      error(specifier, Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0, typeToString(specifierType));\n    }\n    if (optionsType) {\n      const importCallOptionsType = getGlobalImportCallOptionsType(true);\n      if (importCallOptionsType !== emptyObjectType) {\n        checkTypeAssignableTo(optionsType, getNullableType(importCallOptionsType, 32768 /* Undefined */), node.arguments[1]);\n      }\n    }\n    const moduleSymbol = resolveExternalModuleName(node, specifier);\n    if (moduleSymbol) {\n      const esModuleSymbol = resolveESModuleSymbol(moduleSymbol, specifier, true, false);\n      if (esModuleSymbol) {\n        return createPromiseReturnType(\n          node,\n          getTypeWithSyntheticDefaultOnly(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier) || getTypeWithSyntheticDefaultImportType(getTypeOfSymbol(esModuleSymbol), esModuleSymbol, moduleSymbol, specifier)\n        );\n      }\n    }\n    return createPromiseReturnType(node, anyType);\n  }\n  function createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol) {\n    const memberTable = createSymbolTable();\n    const newSymbol = createSymbol(2097152 /* Alias */, \"default\" /* Default */);\n    newSymbol.parent = originalSymbol;\n    newSymbol.nameType = getStringLiteralType(\"default\");\n    newSymbol.aliasTarget = resolveSymbol(symbol);\n    memberTable.set(\"default\" /* Default */, newSymbol);\n    return createAnonymousType(anonymousSymbol, memberTable, emptyArray, emptyArray, emptyArray);\n  }\n  function getTypeWithSyntheticDefaultOnly(type, symbol, originalSymbol, moduleSpecifier) {\n    const hasDefaultOnly = isOnlyImportedAsDefault(moduleSpecifier);\n    if (hasDefaultOnly && type && !isErrorType(type)) {\n      const synthType = type;\n      if (!synthType.defaultOnlyType) {\n        const type2 = createDefaultPropertyWrapperForModule(symbol, originalSymbol);\n        synthType.defaultOnlyType = type2;\n      }\n      return synthType.defaultOnlyType;\n    }\n    return void 0;\n  }\n  function getTypeWithSyntheticDefaultImportType(type, symbol, originalSymbol, moduleSpecifier) {\n    var _a2;\n    if (allowSyntheticDefaultImports && type && !isErrorType(type)) {\n      const synthType = type;\n      if (!synthType.syntheticType) {\n        const file = (_a2 = originalSymbol.declarations) == null ? void 0 : _a2.find(isSourceFile);\n        const hasSyntheticDefault = canHaveSyntheticDefault(file, originalSymbol, false, moduleSpecifier);\n        if (hasSyntheticDefault) {\n          const anonymousSymbol = createSymbol(2048 /* TypeLiteral */, \"__type\" /* Type */);\n          const defaultContainingObject = createDefaultPropertyWrapperForModule(symbol, originalSymbol, anonymousSymbol);\n          anonymousSymbol.type = defaultContainingObject;\n          synthType.syntheticType = isValidSpreadType(type) ? getSpreadType(type, defaultContainingObject, anonymousSymbol, 0, false) : defaultContainingObject;\n        } else {\n          synthType.syntheticType = type;\n        }\n      }\n      return synthType.syntheticType;\n    }\n    return type;\n  }\n  function isCommonJsRequire(node) {\n    if (!isRequireCall(node, true)) {\n      return false;\n    }\n    if (!isIdentifier(node.expression))\n      return Debug.fail();\n    const resolvedRequire = resolveName(node.expression, node.expression.escapedText, 111551 /* Value */, void 0, void 0, true);\n    if (resolvedRequire === requireSymbol) {\n      return true;\n    }\n    if (resolvedRequire.flags & 2097152 /* Alias */) {\n      return false;\n    }\n    const targetDeclarationKind = resolvedRequire.flags & 16 /* Function */ ? 263 /* FunctionDeclaration */ : resolvedRequire.flags & 3 /* Variable */ ? 261 /* VariableDeclaration */ : 0 /* Unknown */;\n    if (targetDeclarationKind !== 0 /* Unknown */) {\n      const decl = getDeclarationOfKind(resolvedRequire, targetDeclarationKind);\n      return !!decl && !!(decl.flags & 16777216 /* Ambient */);\n    }\n    return false;\n  }\n  function checkTaggedTemplateExpression(node) {\n    if (!checkGrammarTaggedTemplateChain(node))\n      checkGrammarTypeArguments(node, node.typeArguments);\n    if (languageVersion < 2 /* ES2015 */) {\n      checkExternalEmitHelpers(node, 262144 /* MakeTemplateObject */);\n    }\n    const signature = getResolvedSignature(node);\n    checkDeprecatedSignature(signature, node);\n    return getReturnTypeOfSignature(signature);\n  }\n  function checkAssertion(node) {\n    if (node.kind === 216 /* TypeAssertionExpression */) {\n      const file = getSourceFileOfNode(node);\n      if (file && fileExtensionIsOneOf(file.fileName, [\".cts\" /* Cts */, \".mts\" /* Mts */])) {\n        grammarErrorOnNode(node, Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead);\n      }\n    }\n    return checkAssertionWorker(node, node.type, node.expression);\n  }\n  function isValidConstAssertionArgument(node) {\n    switch (node.kind) {\n      case 10 /* StringLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 209 /* ArrayLiteralExpression */:\n      case 210 /* ObjectLiteralExpression */:\n      case 229 /* TemplateExpression */:\n        return true;\n      case 217 /* ParenthesizedExpression */:\n        return isValidConstAssertionArgument(node.expression);\n      case 225 /* PrefixUnaryExpression */:\n        const op = node.operator;\n        const arg = node.operand;\n        return op === 40 /* MinusToken */ && (arg.kind === 8 /* NumericLiteral */ || arg.kind === 9 /* BigIntLiteral */) || op === 39 /* PlusToken */ && arg.kind === 8 /* NumericLiteral */;\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        const expr = node.expression;\n        let symbol = getTypeOfNode(expr).symbol;\n        if (symbol && symbol.flags & 2097152 /* Alias */) {\n          symbol = resolveAlias(symbol);\n        }\n        return !!(symbol && getAllSymbolFlags(symbol) & 384 /* Enum */ && getEnumKind(symbol) === 1 /* Literal */);\n    }\n    return false;\n  }\n  function checkAssertionWorker(errNode, type, expression, checkMode) {\n    let exprType = checkExpression(expression, checkMode);\n    if (isConstTypeReference(type)) {\n      if (!isValidConstAssertionArgument(expression)) {\n        error(expression, Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals);\n      }\n      return getRegularTypeOfLiteralType(exprType);\n    }\n    checkSourceElement(type);\n    exprType = getRegularTypeOfObjectLiteral(getBaseTypeOfLiteralType(exprType));\n    const targetType = getTypeFromTypeNode(type);\n    if (!isErrorType(targetType)) {\n      addLazyDiagnostic(() => {\n        const widenedType = getWidenedType(exprType);\n        if (!isTypeComparableTo(targetType, widenedType)) {\n          checkTypeComparableTo(\n            exprType,\n            targetType,\n            errNode,\n            Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first\n          );\n        }\n      });\n    }\n    return targetType;\n  }\n  function checkNonNullChain(node) {\n    const leftType = checkExpression(node.expression);\n    const nonOptionalType = getOptionalExpressionType(leftType, node.expression);\n    return propagateOptionalTypeMarker(getNonNullableType3(nonOptionalType), node, nonOptionalType !== leftType);\n  }\n  function checkNonNullAssertion(node) {\n    return node.flags & 32 /* OptionalChain */ ? checkNonNullChain(node) : getNonNullableType3(checkExpression(node.expression));\n  }\n  function checkExpressionWithTypeArguments(node) {\n    checkGrammarExpressionWithTypeArguments(node);\n    const exprType = node.kind === 234 /* ExpressionWithTypeArguments */ ? checkExpression(node.expression) : isThisIdentifier(node.exprName) ? checkThisExpression(node.exprName) : checkExpression(node.exprName);\n    const typeArguments = node.typeArguments;\n    if (exprType === silentNeverType || isErrorType(exprType) || !some(typeArguments)) {\n      return exprType;\n    }\n    let hasSomeApplicableSignature = false;\n    let nonApplicableType;\n    const result = getInstantiatedType(exprType);\n    const errorType2 = hasSomeApplicableSignature ? nonApplicableType : exprType;\n    if (errorType2) {\n      diagnostics.add(createDiagnosticForNodeArray(getSourceFileOfNode(node), typeArguments, Diagnostics.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable, typeToString(errorType2)));\n    }\n    return result;\n    function getInstantiatedType(type) {\n      let hasSignatures = false;\n      let hasApplicableSignature = false;\n      const result2 = getInstantiatedTypePart(type);\n      hasSomeApplicableSignature || (hasSomeApplicableSignature = hasApplicableSignature);\n      if (hasSignatures && !hasApplicableSignature) {\n        nonApplicableType != null ? nonApplicableType : nonApplicableType = type;\n      }\n      return result2;\n      function getInstantiatedTypePart(type2) {\n        if (type2.flags & 524288 /* Object */) {\n          const resolved = resolveStructuredTypeMembers(type2);\n          const callSignatures = getInstantiatedSignatures(resolved.callSignatures);\n          const constructSignatures = getInstantiatedSignatures(resolved.constructSignatures);\n          hasSignatures || (hasSignatures = resolved.callSignatures.length !== 0 || resolved.constructSignatures.length !== 0);\n          hasApplicableSignature || (hasApplicableSignature = callSignatures.length !== 0 || constructSignatures.length !== 0);\n          if (callSignatures !== resolved.callSignatures || constructSignatures !== resolved.constructSignatures) {\n            const result3 = createAnonymousType(void 0, resolved.members, callSignatures, constructSignatures, resolved.indexInfos);\n            result3.objectFlags |= 8388608 /* InstantiationExpressionType */;\n            result3.node = node;\n            return result3;\n          }\n        } else if (type2.flags & 58982400 /* InstantiableNonPrimitive */) {\n          const constraint = getBaseConstraintOfType(type2);\n          if (constraint) {\n            const instantiated = getInstantiatedTypePart(constraint);\n            if (instantiated !== constraint) {\n              return instantiated;\n            }\n          }\n        } else if (type2.flags & 1048576 /* Union */) {\n          return mapType(type2, getInstantiatedType);\n        } else if (type2.flags & 2097152 /* Intersection */) {\n          return getIntersectionType(sameMap(type2.types, getInstantiatedTypePart));\n        }\n        return type2;\n      }\n    }\n    function getInstantiatedSignatures(signatures) {\n      const applicableSignatures = filter(signatures, (sig) => !!sig.typeParameters && hasCorrectTypeArgumentArity(sig, typeArguments));\n      return sameMap(applicableSignatures, (sig) => {\n        const typeArgumentTypes = checkTypeArguments(sig, typeArguments, true);\n        return typeArgumentTypes ? getSignatureInstantiation(sig, typeArgumentTypes, isInJSFile(sig.declaration)) : sig;\n      });\n    }\n  }\n  function checkSatisfiesExpression(node) {\n    checkSourceElement(node.type);\n    const exprType = checkExpression(node.expression);\n    const targetType = getTypeFromTypeNode(node.type);\n    if (isErrorType(targetType)) {\n      return targetType;\n    }\n    checkTypeAssignableToAndOptionallyElaborate(exprType, targetType, node.type, node.expression, Diagnostics.Type_0_does_not_satisfy_the_expected_type_1);\n    return exprType;\n  }\n  function checkMetaProperty(node) {\n    checkGrammarMetaProperty(node);\n    if (node.keywordToken === 104 /* NewKeyword */) {\n      return checkNewTargetMetaProperty(node);\n    }\n    if (node.keywordToken === 101 /* ImportKeyword */) {\n      return checkImportMetaProperty(node);\n    }\n    return Debug.assertNever(node.keywordToken);\n  }\n  function checkMetaPropertyKeyword(node) {\n    switch (node.keywordToken) {\n      case 101 /* ImportKeyword */:\n        return getGlobalImportMetaExpressionType();\n      case 104 /* NewKeyword */:\n        const type = checkNewTargetMetaProperty(node);\n        return isErrorType(type) ? errorType : createNewTargetExpressionType(type);\n      default:\n        Debug.assertNever(node.keywordToken);\n    }\n  }\n  function checkNewTargetMetaProperty(node) {\n    const container = getNewTargetContainer(node);\n    if (!container) {\n      error(node, Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor, \"new.target\");\n      return errorType;\n    } else if (container.kind === 176 /* Constructor */) {\n      const symbol = getSymbolOfNode(container.parent);\n      return getTypeOfSymbol(symbol);\n    } else {\n      const symbol = getSymbolOfNode(container);\n      return getTypeOfSymbol(symbol);\n    }\n  }\n  function checkImportMetaProperty(node) {\n    if (moduleKind === 100 /* Node16 */ || moduleKind === 199 /* NodeNext */) {\n      if (getSourceFileOfNode(node).impliedNodeFormat !== 99 /* ESNext */) {\n        error(node, Diagnostics.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output);\n      }\n    } else if (moduleKind < 6 /* ES2020 */ && moduleKind !== 4 /* System */) {\n      error(node, Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);\n    }\n    const file = getSourceFileOfNode(node);\n    Debug.assert(!!(file.flags & 4194304 /* PossiblyContainsImportMeta */), \"Containing file is missing import meta node flag.\");\n    return node.name.escapedText === \"meta\" ? getGlobalImportMetaType() : errorType;\n  }\n  function getTypeOfParameter(symbol) {\n    const type = getTypeOfSymbol(symbol);\n    if (strictNullChecks) {\n      const declaration = symbol.valueDeclaration;\n      if (declaration && hasInitializer(declaration)) {\n        return getOptionalType(type);\n      }\n    }\n    return type;\n  }\n  function getTupleElementLabel(d) {\n    Debug.assert(isIdentifier(d.name));\n    return d.name.escapedText;\n  }\n  function getParameterNameAtPosition(signature, pos, overrideRestType) {\n    const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n    if (pos < paramCount) {\n      return signature.parameters[pos].escapedName;\n    }\n    const restParameter = signature.parameters[paramCount] || unknownSymbol;\n    const restType = overrideRestType || getTypeOfSymbol(restParameter);\n    if (isTupleType(restType)) {\n      const associatedNames = restType.target.labeledElementDeclarations;\n      const index = pos - paramCount;\n      return associatedNames && getTupleElementLabel(associatedNames[index]) || restParameter.escapedName + \"_\" + index;\n    }\n    return restParameter.escapedName;\n  }\n  function getParameterIdentifierNameAtPosition(signature, pos) {\n    var _a2;\n    if (((_a2 = signature.declaration) == null ? void 0 : _a2.kind) === 326 /* JSDocFunctionType */) {\n      return void 0;\n    }\n    const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n    if (pos < paramCount) {\n      const param = signature.parameters[pos];\n      return isParameterDeclarationWithIdentifierName(param) ? [param.escapedName, false] : void 0;\n    }\n    const restParameter = signature.parameters[paramCount] || unknownSymbol;\n    if (!isParameterDeclarationWithIdentifierName(restParameter)) {\n      return void 0;\n    }\n    const restType = getTypeOfSymbol(restParameter);\n    if (isTupleType(restType)) {\n      const associatedNames = restType.target.labeledElementDeclarations;\n      const index = pos - paramCount;\n      const associatedName = associatedNames == null ? void 0 : associatedNames[index];\n      const isRestTupleElement = !!(associatedName == null ? void 0 : associatedName.dotDotDotToken);\n      return associatedName ? [\n        getTupleElementLabel(associatedName),\n        isRestTupleElement\n      ] : void 0;\n    }\n    if (pos === paramCount) {\n      return [restParameter.escapedName, true];\n    }\n    return void 0;\n  }\n  function isParameterDeclarationWithIdentifierName(symbol) {\n    return symbol.valueDeclaration && isParameter(symbol.valueDeclaration) && isIdentifier(symbol.valueDeclaration.name);\n  }\n  function isValidDeclarationForTupleLabel(d) {\n    return d.kind === 202 /* NamedTupleMember */ || isParameter(d) && d.name && isIdentifier(d.name);\n  }\n  function getNameableDeclarationAtPosition(signature, pos) {\n    const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n    if (pos < paramCount) {\n      const decl = signature.parameters[pos].valueDeclaration;\n      return decl && isValidDeclarationForTupleLabel(decl) ? decl : void 0;\n    }\n    const restParameter = signature.parameters[paramCount] || unknownSymbol;\n    const restType = getTypeOfSymbol(restParameter);\n    if (isTupleType(restType)) {\n      const associatedNames = restType.target.labeledElementDeclarations;\n      const index = pos - paramCount;\n      return associatedNames && associatedNames[index];\n    }\n    return restParameter.valueDeclaration && isValidDeclarationForTupleLabel(restParameter.valueDeclaration) ? restParameter.valueDeclaration : void 0;\n  }\n  function getTypeAtPosition(signature, pos) {\n    return tryGetTypeAtPosition(signature, pos) || anyType;\n  }\n  function tryGetTypeAtPosition(signature, pos) {\n    const paramCount = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n    if (pos < paramCount) {\n      return getTypeOfParameter(signature.parameters[pos]);\n    }\n    if (signatureHasRestParameter(signature)) {\n      const restType = getTypeOfSymbol(signature.parameters[paramCount]);\n      const index = pos - paramCount;\n      if (!isTupleType(restType) || restType.target.hasRestElement || index < restType.target.fixedLength) {\n        return getIndexedAccessType(restType, getNumberLiteralType(index));\n      }\n    }\n    return void 0;\n  }\n  function getRestTypeAtPosition(source, pos) {\n    const parameterCount = getParameterCount(source);\n    const minArgumentCount = getMinArgumentCount(source);\n    const restType = getEffectiveRestType(source);\n    if (restType && pos >= parameterCount - 1) {\n      return pos === parameterCount - 1 ? restType : createArrayType(getIndexedAccessType(restType, numberType));\n    }\n    const types = [];\n    const flags = [];\n    const names = [];\n    for (let i = pos; i < parameterCount; i++) {\n      if (!restType || i < parameterCount - 1) {\n        types.push(getTypeAtPosition(source, i));\n        flags.push(i < minArgumentCount ? 1 /* Required */ : 2 /* Optional */);\n      } else {\n        types.push(restType);\n        flags.push(8 /* Variadic */);\n      }\n      const name = getNameableDeclarationAtPosition(source, i);\n      if (name) {\n        names.push(name);\n      }\n    }\n    return createTupleType(types, flags, false, length(names) === length(types) ? names : void 0);\n  }\n  function getParameterCount(signature) {\n    const length2 = signature.parameters.length;\n    if (signatureHasRestParameter(signature)) {\n      const restType = getTypeOfSymbol(signature.parameters[length2 - 1]);\n      if (isTupleType(restType)) {\n        return length2 + restType.target.fixedLength - (restType.target.hasRestElement ? 0 : 1);\n      }\n    }\n    return length2;\n  }\n  function getMinArgumentCount(signature, flags) {\n    const strongArityForUntypedJS = flags & 1 /* StrongArityForUntypedJS */;\n    const voidIsNonOptional = flags & 2 /* VoidIsNonOptional */;\n    if (voidIsNonOptional || signature.resolvedMinArgumentCount === void 0) {\n      let minArgumentCount;\n      if (signatureHasRestParameter(signature)) {\n        const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n        if (isTupleType(restType)) {\n          const firstOptionalIndex = findIndex(restType.target.elementFlags, (f) => !(f & 1 /* Required */));\n          const requiredCount = firstOptionalIndex < 0 ? restType.target.fixedLength : firstOptionalIndex;\n          if (requiredCount > 0) {\n            minArgumentCount = signature.parameters.length - 1 + requiredCount;\n          }\n        }\n      }\n      if (minArgumentCount === void 0) {\n        if (!strongArityForUntypedJS && signature.flags & 32 /* IsUntypedSignatureInJSFile */) {\n          return 0;\n        }\n        minArgumentCount = signature.minArgumentCount;\n      }\n      if (voidIsNonOptional) {\n        return minArgumentCount;\n      }\n      for (let i = minArgumentCount - 1; i >= 0; i--) {\n        const type = getTypeAtPosition(signature, i);\n        if (filterType(type, acceptsVoid).flags & 131072 /* Never */) {\n          break;\n        }\n        minArgumentCount = i;\n      }\n      signature.resolvedMinArgumentCount = minArgumentCount;\n    }\n    return signature.resolvedMinArgumentCount;\n  }\n  function hasEffectiveRestParameter(signature) {\n    if (signatureHasRestParameter(signature)) {\n      const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n      return !isTupleType(restType) || restType.target.hasRestElement;\n    }\n    return false;\n  }\n  function getEffectiveRestType(signature) {\n    if (signatureHasRestParameter(signature)) {\n      const restType = getTypeOfSymbol(signature.parameters[signature.parameters.length - 1]);\n      if (!isTupleType(restType)) {\n        return restType;\n      }\n      if (restType.target.hasRestElement) {\n        return sliceTupleType(restType, restType.target.fixedLength);\n      }\n    }\n    return void 0;\n  }\n  function getNonArrayRestType(signature) {\n    const restType = getEffectiveRestType(signature);\n    return restType && !isArrayType(restType) && !isTypeAny(restType) && (getReducedType(restType).flags & 131072 /* Never */) === 0 ? restType : void 0;\n  }\n  function getTypeOfFirstParameterOfSignature(signature) {\n    return getTypeOfFirstParameterOfSignatureWithFallback(signature, neverType);\n  }\n  function getTypeOfFirstParameterOfSignatureWithFallback(signature, fallbackType) {\n    return signature.parameters.length > 0 ? getTypeAtPosition(signature, 0) : fallbackType;\n  }\n  function inferFromAnnotatedParameters(signature, context, inferenceContext) {\n    const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n    for (let i = 0; i < len; i++) {\n      const declaration = signature.parameters[i].valueDeclaration;\n      if (declaration.type) {\n        const typeNode = getEffectiveTypeAnnotationNode(declaration);\n        if (typeNode) {\n          inferTypes(inferenceContext.inferences, getTypeFromTypeNode(typeNode), getTypeAtPosition(context, i));\n        }\n      }\n    }\n  }\n  function assignContextualParameterTypes(signature, context) {\n    if (context.typeParameters) {\n      if (!signature.typeParameters) {\n        signature.typeParameters = context.typeParameters;\n      } else {\n        return;\n      }\n    }\n    if (context.thisParameter) {\n      const parameter = signature.thisParameter;\n      if (!parameter || parameter.valueDeclaration && !parameter.valueDeclaration.type) {\n        if (!parameter) {\n          signature.thisParameter = createSymbolWithType(context.thisParameter, void 0);\n        }\n        assignParameterType(signature.thisParameter, getTypeOfSymbol(context.thisParameter));\n      }\n    }\n    const len = signature.parameters.length - (signatureHasRestParameter(signature) ? 1 : 0);\n    for (let i = 0; i < len; i++) {\n      const parameter = signature.parameters[i];\n      if (!getEffectiveTypeAnnotationNode(parameter.valueDeclaration)) {\n        const contextualParameterType = tryGetTypeAtPosition(context, i);\n        assignParameterType(parameter, contextualParameterType);\n      }\n    }\n    if (signatureHasRestParameter(signature)) {\n      const parameter = last(signature.parameters);\n      if (parameter.valueDeclaration ? !getEffectiveTypeAnnotationNode(parameter.valueDeclaration) : !!(getCheckFlags(parameter) & 65536 /* DeferredType */)) {\n        const contextualParameterType = getRestTypeAtPosition(context, len);\n        assignParameterType(parameter, contextualParameterType);\n      }\n    }\n  }\n  function assignNonContextualParameterTypes(signature) {\n    if (signature.thisParameter) {\n      assignParameterType(signature.thisParameter);\n    }\n    for (const parameter of signature.parameters) {\n      assignParameterType(parameter);\n    }\n  }\n  function assignParameterType(parameter, type) {\n    const links = getSymbolLinks(parameter);\n    if (!links.type) {\n      const declaration = parameter.valueDeclaration;\n      links.type = type || (declaration ? getWidenedTypeForVariableLikeDeclaration(declaration, true) : getTypeOfSymbol(parameter));\n      if (declaration && declaration.name.kind !== 79 /* Identifier */) {\n        if (links.type === unknownType) {\n          links.type = getTypeFromBindingPattern(declaration.name);\n        }\n        assignBindingElementTypes(declaration.name, links.type);\n      }\n    } else if (type) {\n      Debug.assertEqual(links.type, type, \"Parameter symbol already has a cached type which differs from newly assigned type\");\n    }\n  }\n  function assignBindingElementTypes(pattern, parentType) {\n    for (const element of pattern.elements) {\n      if (!isOmittedExpression(element)) {\n        const type = getBindingElementTypeFromParentType(element, parentType);\n        if (element.name.kind === 79 /* Identifier */) {\n          getSymbolLinks(getSymbolOfNode(element)).type = type;\n        } else {\n          assignBindingElementTypes(element.name, type);\n        }\n      }\n    }\n  }\n  function createPromiseType(promisedType) {\n    const globalPromiseType = getGlobalPromiseType(true);\n    if (globalPromiseType !== emptyGenericType) {\n      promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType;\n      return createTypeReference(globalPromiseType, [promisedType]);\n    }\n    return unknownType;\n  }\n  function createPromiseLikeType(promisedType) {\n    const globalPromiseLikeType = getGlobalPromiseLikeType(true);\n    if (globalPromiseLikeType !== emptyGenericType) {\n      promisedType = getAwaitedTypeNoAlias(unwrapAwaitedType(promisedType)) || unknownType;\n      return createTypeReference(globalPromiseLikeType, [promisedType]);\n    }\n    return unknownType;\n  }\n  function createPromiseReturnType(func, promisedType) {\n    const promiseType = createPromiseType(promisedType);\n    if (promiseType === unknownType) {\n      error(func, isImportCall(func) ? Diagnostics.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option);\n      return errorType;\n    } else if (!getGlobalPromiseConstructorSymbol(true)) {\n      error(func, isImportCall(func) ? Diagnostics.A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option : Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option);\n    }\n    return promiseType;\n  }\n  function createNewTargetExpressionType(targetType) {\n    const symbol = createSymbol(0 /* None */, \"NewTargetExpression\");\n    const targetPropertySymbol = createSymbol(4 /* Property */, \"target\", 8 /* Readonly */);\n    targetPropertySymbol.parent = symbol;\n    targetPropertySymbol.type = targetType;\n    const members = createSymbolTable([targetPropertySymbol]);\n    symbol.members = members;\n    return createAnonymousType(symbol, members, emptyArray, emptyArray, emptyArray);\n  }\n  function getReturnTypeFromBody(func, checkMode) {\n    if (!func.body) {\n      return errorType;\n    }\n    const functionFlags = getFunctionFlags(func);\n    const isAsync = (functionFlags & 2 /* Async */) !== 0;\n    const isGenerator = (functionFlags & 1 /* Generator */) !== 0;\n    let returnType;\n    let yieldType;\n    let nextType;\n    let fallbackReturnType = voidType;\n    if (func.body.kind !== 242 /* Block */) {\n      returnType = checkExpressionCached(func.body, checkMode && checkMode & ~8 /* SkipGenericFunctions */);\n      if (isAsync) {\n        returnType = unwrapAwaitedType(checkAwaitedType(returnType, false, func, Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));\n      }\n    } else if (isGenerator) {\n      const returnTypes = checkAndAggregateReturnExpressionTypes(func, checkMode);\n      if (!returnTypes) {\n        fallbackReturnType = neverType;\n      } else if (returnTypes.length > 0) {\n        returnType = getUnionType(returnTypes, 2 /* Subtype */);\n      }\n      const { yieldTypes, nextTypes } = checkAndAggregateYieldOperandTypes(func, checkMode);\n      yieldType = some(yieldTypes) ? getUnionType(yieldTypes, 2 /* Subtype */) : void 0;\n      nextType = some(nextTypes) ? getIntersectionType(nextTypes) : void 0;\n    } else {\n      const types = checkAndAggregateReturnExpressionTypes(func, checkMode);\n      if (!types) {\n        return functionFlags & 2 /* Async */ ? createPromiseReturnType(func, neverType) : neverType;\n      }\n      if (types.length === 0) {\n        return functionFlags & 2 /* Async */ ? createPromiseReturnType(func, voidType) : voidType;\n      }\n      returnType = getUnionType(types, 2 /* Subtype */);\n    }\n    if (returnType || yieldType || nextType) {\n      if (yieldType)\n        reportErrorsFromWidening(func, yieldType, 3 /* GeneratorYield */);\n      if (returnType)\n        reportErrorsFromWidening(func, returnType, 1 /* FunctionReturn */);\n      if (nextType)\n        reportErrorsFromWidening(func, nextType, 2 /* GeneratorNext */);\n      if (returnType && isUnitType(returnType) || yieldType && isUnitType(yieldType) || nextType && isUnitType(nextType)) {\n        const contextualSignature = getContextualSignatureForFunctionLikeDeclaration(func);\n        const contextualType = !contextualSignature ? void 0 : contextualSignature === getSignatureFromDeclaration(func) ? isGenerator ? void 0 : returnType : instantiateContextualType(getReturnTypeOfSignature(contextualSignature), func, void 0);\n        if (isGenerator) {\n          yieldType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(yieldType, contextualType, 0 /* Yield */, isAsync);\n          returnType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(returnType, contextualType, 1 /* Return */, isAsync);\n          nextType = getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(nextType, contextualType, 2 /* Next */, isAsync);\n        } else {\n          returnType = getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(returnType, contextualType, isAsync);\n        }\n      }\n      if (yieldType)\n        yieldType = getWidenedType(yieldType);\n      if (returnType)\n        returnType = getWidenedType(returnType);\n      if (nextType)\n        nextType = getWidenedType(nextType);\n    }\n    if (isGenerator) {\n      return createGeneratorReturnType(\n        yieldType || neverType,\n        returnType || fallbackReturnType,\n        nextType || getContextualIterationType(2 /* Next */, func) || unknownType,\n        isAsync\n      );\n    } else {\n      return isAsync ? createPromiseType(returnType || fallbackReturnType) : returnType || fallbackReturnType;\n    }\n  }\n  function createGeneratorReturnType(yieldType, returnType, nextType, isAsyncGenerator) {\n    const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver;\n    const globalGeneratorType = resolver.getGlobalGeneratorType(false);\n    yieldType = resolver.resolveIterationType(yieldType, void 0) || unknownType;\n    returnType = resolver.resolveIterationType(returnType, void 0) || unknownType;\n    nextType = resolver.resolveIterationType(nextType, void 0) || unknownType;\n    if (globalGeneratorType === emptyGenericType) {\n      const globalType = resolver.getGlobalIterableIteratorType(false);\n      const iterationTypes = globalType !== emptyGenericType ? getIterationTypesOfGlobalIterableType(globalType, resolver) : void 0;\n      const iterableIteratorReturnType = iterationTypes ? iterationTypes.returnType : anyType;\n      const iterableIteratorNextType = iterationTypes ? iterationTypes.nextType : undefinedType;\n      if (isTypeAssignableTo(returnType, iterableIteratorReturnType) && isTypeAssignableTo(iterableIteratorNextType, nextType)) {\n        if (globalType !== emptyGenericType) {\n          return createTypeFromGenericGlobalType(globalType, [yieldType]);\n        }\n        resolver.getGlobalIterableIteratorType(true);\n        return emptyObjectType;\n      }\n      resolver.getGlobalGeneratorType(true);\n      return emptyObjectType;\n    }\n    return createTypeFromGenericGlobalType(globalGeneratorType, [yieldType, returnType, nextType]);\n  }\n  function checkAndAggregateYieldOperandTypes(func, checkMode) {\n    const yieldTypes = [];\n    const nextTypes = [];\n    const isAsync = (getFunctionFlags(func) & 2 /* Async */) !== 0;\n    forEachYieldExpression(func.body, (yieldExpression) => {\n      const yieldExpressionType = yieldExpression.expression ? checkExpression(yieldExpression.expression, checkMode) : undefinedWideningType;\n      pushIfUnique(yieldTypes, getYieldedTypeOfYieldExpression(yieldExpression, yieldExpressionType, anyType, isAsync));\n      let nextType;\n      if (yieldExpression.asteriskToken) {\n        const iterationTypes = getIterationTypesOfIterable(\n          yieldExpressionType,\n          isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */,\n          yieldExpression.expression\n        );\n        nextType = iterationTypes && iterationTypes.nextType;\n      } else {\n        nextType = getContextualType2(yieldExpression, void 0);\n      }\n      if (nextType)\n        pushIfUnique(nextTypes, nextType);\n    });\n    return { yieldTypes, nextTypes };\n  }\n  function getYieldedTypeOfYieldExpression(node, expressionType, sentType, isAsync) {\n    const errorNode = node.expression || node;\n    const yieldedType = node.asteriskToken ? checkIteratedTypeOrElementType(isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */, expressionType, sentType, errorNode) : expressionType;\n    return !isAsync ? yieldedType : getAwaitedType(yieldedType, errorNode, node.asteriskToken ? Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member : Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);\n  }\n  function getNotEqualFactsFromTypeofSwitch(start, end, witnesses) {\n    let facts = 0 /* None */;\n    for (let i = 0; i < witnesses.length; i++) {\n      const witness = i < start || i >= end ? witnesses[i] : void 0;\n      facts |= witness !== void 0 ? typeofNEFacts.get(witness) || 32768 /* TypeofNEHostObject */ : 0;\n    }\n    return facts;\n  }\n  function isExhaustiveSwitchStatement(node) {\n    const links = getNodeLinks(node);\n    if (links.isExhaustive === void 0) {\n      links.isExhaustive = 0;\n      const exhaustive = computeExhaustiveSwitchStatement(node);\n      if (links.isExhaustive === 0) {\n        links.isExhaustive = exhaustive;\n      }\n    } else if (links.isExhaustive === 0) {\n      links.isExhaustive = false;\n    }\n    return links.isExhaustive;\n  }\n  function computeExhaustiveSwitchStatement(node) {\n    if (node.expression.kind === 222 /* TypeOfExpression */) {\n      const witnesses = getSwitchClauseTypeOfWitnesses(node);\n      if (!witnesses) {\n        return false;\n      }\n      const operandConstraint = getBaseConstraintOrType(checkExpressionCached(node.expression.expression));\n      const notEqualFacts = getNotEqualFactsFromTypeofSwitch(0, 0, witnesses);\n      if (operandConstraint.flags & 3 /* AnyOrUnknown */) {\n        return (556800 /* AllTypeofNE */ & notEqualFacts) === 556800 /* AllTypeofNE */;\n      }\n      return !someType(operandConstraint, (t) => (getTypeFacts(t) & notEqualFacts) === notEqualFacts);\n    }\n    const type = checkExpressionCached(node.expression);\n    if (!isLiteralType3(type)) {\n      return false;\n    }\n    const switchTypes = getSwitchClauseTypes(node);\n    if (!switchTypes.length || some(switchTypes, isNeitherUnitTypeNorNever)) {\n      return false;\n    }\n    return eachTypeContainedIn(mapType(type, getRegularTypeOfLiteralType), switchTypes);\n  }\n  function functionHasImplicitReturn(func) {\n    return func.endFlowNode && isReachableFlowNode(func.endFlowNode);\n  }\n  function checkAndAggregateReturnExpressionTypes(func, checkMode) {\n    const functionFlags = getFunctionFlags(func);\n    const aggregatedTypes = [];\n    let hasReturnWithNoExpression = functionHasImplicitReturn(func);\n    let hasReturnOfTypeNever = false;\n    forEachReturnStatement(func.body, (returnStatement) => {\n      const expr = returnStatement.expression;\n      if (expr) {\n        let type = checkExpressionCached(expr, checkMode && checkMode & ~8 /* SkipGenericFunctions */);\n        if (functionFlags & 2 /* Async */) {\n          type = unwrapAwaitedType(checkAwaitedType(type, false, func, Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));\n        }\n        if (type.flags & 131072 /* Never */) {\n          hasReturnOfTypeNever = true;\n        }\n        pushIfUnique(aggregatedTypes, type);\n      } else {\n        hasReturnWithNoExpression = true;\n      }\n    });\n    if (aggregatedTypes.length === 0 && !hasReturnWithNoExpression && (hasReturnOfTypeNever || mayReturnNever(func))) {\n      return void 0;\n    }\n    if (strictNullChecks && aggregatedTypes.length && hasReturnWithNoExpression && !(isJSConstructor(func) && aggregatedTypes.some((t) => t.symbol === func.symbol))) {\n      pushIfUnique(aggregatedTypes, undefinedType);\n    }\n    return aggregatedTypes;\n  }\n  function mayReturnNever(func) {\n    switch (func.kind) {\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        return true;\n      case 174 /* MethodDeclaration */:\n        return func.parent.kind === 210 /* ObjectLiteralExpression */;\n      default:\n        return false;\n    }\n  }\n  function checkAllCodePathsInNonVoidFunctionReturnOrThrow(func, returnType) {\n    addLazyDiagnostic(checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics);\n    return;\n    function checkAllCodePathsInNonVoidFunctionReturnOrThrowDiagnostics() {\n      var _a2, _b;\n      const functionFlags = getFunctionFlags(func);\n      const type = returnType && unwrapReturnType(returnType, functionFlags);\n      if (type && maybeTypeOfKind(type, 1 /* Any */ | 16384 /* Void */)) {\n        return;\n      }\n      if (isFunctionDeclaration(func) && func.illegalDecorators && returnType) {\n        const extendNames = getEtsExtendDecoratorsComponentNames(func.illegalDecorators, compilerOptions);\n        if (extendNames.length !== 0) {\n          let returnTypeReferenceName;\n          (_a2 = compilerOptions.ets) == null ? void 0 : _a2.extend.components.forEach(({ name, type: type2 }) => {\n            if (name === last(extendNames)) {\n              returnTypeReferenceName = type2;\n            }\n          });\n          if (((_b = returnType == null ? void 0 : returnType.symbol) == null ? void 0 : _b.escapedName) === returnTypeReferenceName) {\n            return;\n          } else {\n            error(getEffectiveReturnTypeNode(func), Diagnostics.Should_not_add_return_type_to_the_function_that_is_annotated_by_Extend);\n            return;\n          }\n        }\n        const stylesNames = getEtsStylesDecoratorComponentNames(func.illegalDecorators, compilerOptions);\n        if (stylesNames.length > 0) {\n          return judgeReturnTypeOfStyles();\n        }\n      }\n      if (isMethodDeclaration(func) && func.modifiers && func.modifiers.length && returnType) {\n        const stylesNames = getEtsStylesDecoratorComponentNames(func.modifiers, compilerOptions);\n        if (stylesNames.length > 0) {\n          return judgeReturnTypeOfStyles();\n        }\n      }\n      if (func.kind === 173 /* MethodSignature */ || nodeIsMissing(func.body) || func.body.kind !== 242 /* Block */ || !functionHasImplicitReturn(func)) {\n        return;\n      }\n      const hasExplicitReturn = func.flags & 512 /* HasExplicitReturn */;\n      const errorNode = getEffectiveReturnTypeNode(func) || func;\n      if (type && type.flags & 131072 /* Never */) {\n        error(errorNode, Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);\n      } else if (type && !hasExplicitReturn) {\n        error(errorNode, Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);\n      } else if (type && strictNullChecks && !isTypeAssignableTo(undefinedType, type)) {\n        error(errorNode, Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);\n      } else if (compilerOptions.noImplicitReturns) {\n        if (!type) {\n          if (!hasExplicitReturn) {\n            return;\n          }\n          const inferredReturnType = getReturnTypeOfSignature(getSignatureFromDeclaration(func));\n          if (isUnwrappedReturnTypeVoidOrAny(func, inferredReturnType)) {\n            return;\n          }\n        }\n        error(errorNode, Diagnostics.Not_all_code_paths_return_a_value);\n      }\n      function judgeReturnTypeOfStyles() {\n        var _a3, _b2;\n        const returnTypeReferenceName = (_a3 = compilerOptions.ets) == null ? void 0 : _a3.styles.component.type;\n        if (((_b2 = returnType == null ? void 0 : returnType.symbol) == null ? void 0 : _b2.escapedName) === returnTypeReferenceName) {\n          return;\n        } else {\n          error(getEffectiveReturnTypeNode(func), Diagnostics.Should_not_add_return_type_to_the_function_that_is_annotated_by_Styles);\n          return;\n        }\n      }\n    }\n  }\n  function checkFunctionExpressionOrObjectLiteralMethod(node, checkMode) {\n    Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node));\n    checkNodeDeferred(node);\n    if (isFunctionExpression(node)) {\n      checkCollisionsForDeclarationName(node, node.name);\n    }\n    if (checkMode && checkMode & 4 /* SkipContextSensitive */ && isContextSensitive(node)) {\n      if (!getEffectiveReturnTypeNode(node) && !hasContextSensitiveParameters(node)) {\n        const contextualSignature = getContextualSignature(node);\n        if (contextualSignature && couldContainTypeVariables(getReturnTypeOfSignature(contextualSignature))) {\n          const links = getNodeLinks(node);\n          if (links.contextFreeType) {\n            return links.contextFreeType;\n          }\n          const returnType = getReturnTypeFromBody(node, checkMode);\n          const returnOnlySignature = createSignature(void 0, void 0, void 0, emptyArray, returnType, void 0, 0, 0 /* None */);\n          const returnOnlyType = createAnonymousType(node.symbol, emptySymbols, [returnOnlySignature], emptyArray, emptyArray);\n          returnOnlyType.objectFlags |= 262144 /* NonInferrableType */;\n          return links.contextFreeType = returnOnlyType;\n        }\n      }\n      return anyFunctionType;\n    }\n    const hasGrammarError = checkGrammarFunctionLikeDeclaration(node);\n    if (!hasGrammarError && node.kind === 218 /* FunctionExpression */) {\n      checkGrammarForGenerator(node);\n    }\n    contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode);\n    return getTypeOfSymbol(getSymbolOfNode(node));\n  }\n  function contextuallyCheckFunctionExpressionOrObjectLiteralMethod(node, checkMode) {\n    const links = getNodeLinks(node);\n    if (!(links.flags & 1024 /* ContextChecked */)) {\n      const contextualSignature = getContextualSignature(node);\n      if (!(links.flags & 1024 /* ContextChecked */)) {\n        links.flags |= 1024 /* ContextChecked */;\n        const signature = firstOrUndefined(getSignaturesOfType(getTypeOfSymbol(getSymbolOfNode(node)), 0 /* Call */));\n        if (!signature) {\n          return;\n        }\n        if (isContextSensitive(node)) {\n          if (contextualSignature) {\n            const inferenceContext = getInferenceContext(node);\n            let instantiatedContextualSignature;\n            if (checkMode && checkMode & 2 /* Inferential */) {\n              inferFromAnnotatedParameters(signature, contextualSignature, inferenceContext);\n              const restType = getEffectiveRestType(contextualSignature);\n              if (restType && restType.flags & 262144 /* TypeParameter */) {\n                instantiatedContextualSignature = instantiateSignature(contextualSignature, inferenceContext.nonFixingMapper);\n              }\n            }\n            instantiatedContextualSignature || (instantiatedContextualSignature = inferenceContext ? instantiateSignature(contextualSignature, inferenceContext.mapper) : contextualSignature);\n            assignContextualParameterTypes(signature, instantiatedContextualSignature);\n          } else {\n            assignNonContextualParameterTypes(signature);\n          }\n        }\n        if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {\n          const returnType = getReturnTypeFromBody(node, checkMode);\n          if (!signature.resolvedReturnType) {\n            signature.resolvedReturnType = returnType;\n          }\n        }\n        checkSignatureDeclaration(node);\n      }\n    }\n  }\n  function checkFunctionExpressionOrObjectLiteralMethodDeferred(node) {\n    Debug.assert(node.kind !== 174 /* MethodDeclaration */ || isObjectLiteralMethod(node));\n    const functionFlags = getFunctionFlags(node);\n    const returnType = getReturnTypeFromAnnotation(node);\n    checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType);\n    if (node.body) {\n      if (!getEffectiveReturnTypeNode(node)) {\n        getReturnTypeOfSignature(getSignatureFromDeclaration(node));\n      }\n      if (node.body.kind === 242 /* Block */) {\n        checkSourceElement(node.body);\n      } else {\n        const exprType = checkExpression(node.body);\n        const returnOrPromisedType = returnType && unwrapReturnType(returnType, functionFlags);\n        if (returnOrPromisedType) {\n          if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */) {\n            const awaitedType = checkAwaitedType(exprType, false, node.body, Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);\n            checkTypeAssignableToAndOptionallyElaborate(awaitedType, returnOrPromisedType, node.body, node.body);\n          } else {\n            checkTypeAssignableToAndOptionallyElaborate(exprType, returnOrPromisedType, node.body, node.body);\n          }\n        }\n      }\n    }\n  }\n  function checkArithmeticOperandType(operand, type, diagnostic, isAwaitValid = false) {\n    if (!isTypeAssignableTo(type, numberOrBigIntType)) {\n      const awaitedType = isAwaitValid && getAwaitedTypeOfPromise(type);\n      errorAndMaybeSuggestAwait(\n        operand,\n        !!awaitedType && isTypeAssignableTo(awaitedType, numberOrBigIntType),\n        diagnostic\n      );\n      return false;\n    }\n    return true;\n  }\n  function isReadonlyAssignmentDeclaration(d) {\n    if (!isCallExpression(d)) {\n      return false;\n    }\n    if (!isBindableObjectDefinePropertyCall(d)) {\n      return false;\n    }\n    const objectLitType = checkExpressionCached(d.arguments[2]);\n    const valueType = getTypeOfPropertyOfType(objectLitType, \"value\");\n    if (valueType) {\n      const writableProp = getPropertyOfType(objectLitType, \"writable\");\n      const writableType = writableProp && getTypeOfSymbol(writableProp);\n      if (!writableType || writableType === falseType || writableType === regularFalseType) {\n        return true;\n      }\n      if (writableProp && writableProp.valueDeclaration && isPropertyAssignment(writableProp.valueDeclaration)) {\n        const initializer = writableProp.valueDeclaration.initializer;\n        const rawOriginalType = checkExpression(initializer);\n        if (rawOriginalType === falseType || rawOriginalType === regularFalseType) {\n          return true;\n        }\n      }\n      return false;\n    }\n    const setProp = getPropertyOfType(objectLitType, \"set\");\n    return !setProp;\n  }\n  function isReadonlySymbol(symbol) {\n    return !!(getCheckFlags(symbol) & 8 /* Readonly */ || symbol.flags & 4 /* Property */ && getDeclarationModifierFlagsFromSymbol(symbol) & 64 /* Readonly */ || symbol.flags & 3 /* Variable */ && getDeclarationNodeFlagsFromSymbol(symbol) & 2 /* Const */ || symbol.flags & 98304 /* Accessor */ && !(symbol.flags & 65536 /* SetAccessor */) || symbol.flags & 8 /* EnumMember */ || some(symbol.declarations, isReadonlyAssignmentDeclaration));\n  }\n  function isAssignmentToReadonlyEntity(expr, symbol, assignmentKind) {\n    var _a2, _b;\n    if (assignmentKind === 0 /* None */) {\n      return false;\n    }\n    if (isReadonlySymbol(symbol)) {\n      if (symbol.flags & 4 /* Property */ && isAccessExpression(expr) && expr.expression.kind === 109 /* ThisKeyword */) {\n        const ctor = getContainingFunction(expr);\n        if (!(ctor && (ctor.kind === 176 /* Constructor */ || isJSConstructor(ctor)))) {\n          return true;\n        }\n        if (symbol.valueDeclaration) {\n          const isAssignmentDeclaration2 = isBinaryExpression(symbol.valueDeclaration);\n          const isLocalPropertyDeclaration = ctor.parent === symbol.valueDeclaration.parent;\n          const isLocalParameterProperty = ctor === symbol.valueDeclaration.parent;\n          const isLocalThisPropertyAssignment = isAssignmentDeclaration2 && ((_a2 = symbol.parent) == null ? void 0 : _a2.valueDeclaration) === ctor.parent;\n          const isLocalThisPropertyAssignmentConstructorFunction = isAssignmentDeclaration2 && ((_b = symbol.parent) == null ? void 0 : _b.valueDeclaration) === ctor;\n          const isWriteableSymbol = isLocalPropertyDeclaration || isLocalParameterProperty || isLocalThisPropertyAssignment || isLocalThisPropertyAssignmentConstructorFunction;\n          return !isWriteableSymbol;\n        }\n      }\n      return true;\n    }\n    if (isAccessExpression(expr)) {\n      const node = skipParentheses(expr.expression);\n      if (node.kind === 79 /* Identifier */) {\n        const symbol2 = getNodeLinks(node).resolvedSymbol;\n        if (symbol2.flags & 2097152 /* Alias */) {\n          const declaration = getDeclarationOfAliasSymbol(symbol2);\n          return !!declaration && declaration.kind === 277 /* NamespaceImport */;\n        }\n      }\n    }\n    return false;\n  }\n  function checkReferenceExpression(expr, invalidReferenceMessage, invalidOptionalChainMessage) {\n    const node = skipOuterExpressions(expr, 6 /* Assertions */ | 1 /* Parentheses */);\n    if (node.kind !== 79 /* Identifier */ && !isAccessExpression(node)) {\n      error(expr, invalidReferenceMessage);\n      return false;\n    }\n    if (node.flags & 32 /* OptionalChain */) {\n      error(expr, invalidOptionalChainMessage);\n      return false;\n    }\n    return true;\n  }\n  function checkDeleteExpression(node) {\n    checkExpression(node.expression);\n    const expr = skipParentheses(node.expression);\n    if (!isAccessExpression(expr)) {\n      error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference);\n      return booleanType;\n    }\n    if (isPropertyAccessExpression(expr) && isPrivateIdentifier(expr.name)) {\n      error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);\n    }\n    const links = getNodeLinks(expr);\n    const symbol = getExportSymbolOfValueSymbolIfExported(links.resolvedSymbol);\n    if (symbol) {\n      if (isReadonlySymbol(symbol)) {\n        error(expr, Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property);\n      }\n      checkDeleteExpressionMustBeOptional(expr, symbol);\n    }\n    return booleanType;\n  }\n  function checkDeleteExpressionMustBeOptional(expr, symbol) {\n    const type = getTypeOfSymbol(symbol);\n    if (strictNullChecks && !(type.flags & (3 /* AnyOrUnknown */ | 131072 /* Never */)) && !(exactOptionalPropertyTypes ? symbol.flags & 16777216 /* Optional */ : getTypeFacts(type) & 16777216 /* IsUndefined */)) {\n      error(expr, Diagnostics.The_operand_of_a_delete_operator_must_be_optional);\n    }\n  }\n  function checkTypeOfExpression(node) {\n    checkExpression(node.expression);\n    return typeofType;\n  }\n  function checkVoidExpression(node) {\n    checkExpression(node.expression);\n    return undefinedWideningType;\n  }\n  function checkAwaitExpressionGrammar(node) {\n    const container = getContainingFunctionOrClassStaticBlock(node);\n    if (container && isClassStaticBlockDeclaration(container)) {\n      error(node, Diagnostics.Await_expression_cannot_be_used_inside_a_class_static_block);\n    } else if (!(node.flags & 32768 /* AwaitContext */)) {\n      if (isInTopLevelContext(node)) {\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          let span;\n          if (!isEffectiveExternalModule(sourceFile, compilerOptions)) {\n            span != null ? span : span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n            const diagnostic = createFileDiagnostic(\n              sourceFile,\n              span.start,\n              span.length,\n              Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module\n            );\n            diagnostics.add(diagnostic);\n          }\n          switch (moduleKind) {\n            case 100 /* Node16 */:\n            case 199 /* NodeNext */:\n              if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) {\n                span != null ? span : span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n                diagnostics.add(\n                  createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)\n                );\n                break;\n              }\n            case 7 /* ES2022 */:\n            case 99 /* ESNext */:\n            case 4 /* System */:\n              if (languageVersion >= 4 /* ES2017 */) {\n                break;\n              }\n            default:\n              span != null ? span : span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n              diagnostics.add(\n                createFileDiagnostic(\n                  sourceFile,\n                  span.start,\n                  span.length,\n                  Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher\n                )\n              );\n              break;\n          }\n        }\n      } else {\n        const sourceFile = getSourceFileOfNode(node);\n        if (!hasParseDiagnostics(sourceFile)) {\n          const span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n          const diagnostic = createFileDiagnostic(sourceFile, span.start, span.length, Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);\n          if (container && container.kind !== 176 /* Constructor */ && (getFunctionFlags(container) & 2 /* Async */) === 0) {\n            const relatedInfo = createDiagnosticForNode(container, Diagnostics.Did_you_mean_to_mark_this_function_as_async);\n            addRelatedInfo(diagnostic, relatedInfo);\n          }\n          diagnostics.add(diagnostic);\n        }\n      }\n    }\n    if (isInParameterInitializerBeforeContainingFunction(node)) {\n      error(node, Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer);\n    }\n  }\n  function checkAwaitExpression(node) {\n    addLazyDiagnostic(() => checkAwaitExpressionGrammar(node));\n    const operandType = checkExpression(node.expression);\n    const awaitedType = checkAwaitedType(operandType, true, node, Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);\n    if (awaitedType === operandType && !isErrorType(awaitedType) && !(operandType.flags & 3 /* AnyOrUnknown */)) {\n      addErrorOrSuggestion(false, createDiagnosticForNode(node, Diagnostics.await_has_no_effect_on_the_type_of_this_expression));\n    }\n    return awaitedType;\n  }\n  function checkPrefixUnaryExpression(node) {\n    const operandType = checkExpression(node.operand);\n    if (operandType === silentNeverType) {\n      return silentNeverType;\n    }\n    switch (node.operand.kind) {\n      case 8 /* NumericLiteral */:\n        switch (node.operator) {\n          case 40 /* MinusToken */:\n            return getFreshTypeOfLiteralType(getNumberLiteralType(-node.operand.text));\n          case 39 /* PlusToken */:\n            return getFreshTypeOfLiteralType(getNumberLiteralType(+node.operand.text));\n        }\n        break;\n      case 9 /* BigIntLiteral */:\n        if (node.operator === 40 /* MinusToken */) {\n          return getFreshTypeOfLiteralType(getBigIntLiteralType({\n            negative: true,\n            base10Value: parsePseudoBigInt(node.operand.text)\n          }));\n        }\n    }\n    switch (node.operator) {\n      case 39 /* PlusToken */:\n      case 40 /* MinusToken */:\n      case 54 /* TildeToken */:\n        checkNonNullType(operandType, node.operand);\n        if (maybeTypeOfKindConsideringBaseConstraint(operandType, 12288 /* ESSymbolLike */)) {\n          error(node.operand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(node.operator));\n        }\n        if (node.operator === 39 /* PlusToken */) {\n          if (maybeTypeOfKindConsideringBaseConstraint(operandType, 2112 /* BigIntLike */)) {\n            error(node.operand, Diagnostics.Operator_0_cannot_be_applied_to_type_1, tokenToString(node.operator), typeToString(getBaseTypeOfLiteralType(operandType)));\n          }\n          return numberType;\n        }\n        return getUnaryResultType(operandType);\n      case 53 /* ExclamationToken */:\n        checkTruthinessExpression(node.operand);\n        const facts = getTypeFacts(operandType) & (4194304 /* Truthy */ | 8388608 /* Falsy */);\n        return facts === 4194304 /* Truthy */ ? falseType : facts === 8388608 /* Falsy */ ? trueType : booleanType;\n      case 45 /* PlusPlusToken */:\n      case 46 /* MinusMinusToken */:\n        const ok = checkArithmeticOperandType(\n          node.operand,\n          checkNonNullType(operandType, node.operand),\n          Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type\n        );\n        if (ok) {\n          checkReferenceExpression(\n            node.operand,\n            Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,\n            Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access\n          );\n        }\n        return getUnaryResultType(operandType);\n    }\n  }\n  function checkPostfixUnaryExpression(node) {\n    const operandType = checkExpression(node.operand);\n    if (operandType === silentNeverType) {\n      return silentNeverType;\n    }\n    const ok = checkArithmeticOperandType(\n      node.operand,\n      checkNonNullType(operandType, node.operand),\n      Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type\n    );\n    if (ok) {\n      checkReferenceExpression(\n        node.operand,\n        Diagnostics.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,\n        Diagnostics.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access\n      );\n    }\n    return getUnaryResultType(operandType);\n  }\n  function getUnaryResultType(operandType) {\n    if (maybeTypeOfKind(operandType, 2112 /* BigIntLike */)) {\n      return isTypeAssignableToKind(operandType, 3 /* AnyOrUnknown */) || maybeTypeOfKind(operandType, 296 /* NumberLike */) ? numberOrBigIntType : bigintType;\n    }\n    return numberType;\n  }\n  function maybeTypeOfKindConsideringBaseConstraint(type, kind) {\n    if (maybeTypeOfKind(type, kind)) {\n      return true;\n    }\n    const baseConstraint = getBaseConstraintOrType(type);\n    return !!baseConstraint && maybeTypeOfKind(baseConstraint, kind);\n  }\n  function maybeTypeOfKind(type, kind) {\n    if (type.flags & kind) {\n      return true;\n    }\n    if (type.flags & 3145728 /* UnionOrIntersection */) {\n      const types = type.types;\n      for (const t of types) {\n        if (maybeTypeOfKind(t, kind)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function isTypeAssignableToKind(source, kind, strict) {\n    if (source.flags & kind) {\n      return true;\n    }\n    if (strict && source.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */)) {\n      return false;\n    }\n    return !!(kind & 296 /* NumberLike */) && isTypeAssignableTo(source, numberType) || !!(kind & 2112 /* BigIntLike */) && isTypeAssignableTo(source, bigintType) || !!(kind & 402653316 /* StringLike */) && isTypeAssignableTo(source, stringType) || !!(kind & 528 /* BooleanLike */) && isTypeAssignableTo(source, booleanType) || !!(kind & 16384 /* Void */) && isTypeAssignableTo(source, voidType) || !!(kind & 131072 /* Never */) && isTypeAssignableTo(source, neverType) || !!(kind & 65536 /* Null */) && isTypeAssignableTo(source, nullType) || !!(kind & 32768 /* Undefined */) && isTypeAssignableTo(source, undefinedType) || !!(kind & 4096 /* ESSymbol */) && isTypeAssignableTo(source, esSymbolType) || !!(kind & 67108864 /* NonPrimitive */) && isTypeAssignableTo(source, nonPrimitiveType);\n  }\n  function allTypesAssignableToKind(source, kind, strict) {\n    return source.flags & 1048576 /* Union */ ? every(source.types, (subType) => allTypesAssignableToKind(subType, kind, strict)) : isTypeAssignableToKind(source, kind, strict);\n  }\n  function isConstEnumObjectType(type) {\n    return !!(getObjectFlags(type) & 16 /* Anonymous */) && !!type.symbol && isConstEnumSymbol(type.symbol);\n  }\n  function isConstEnumSymbol(symbol) {\n    return (symbol.flags & 128 /* ConstEnum */) !== 0;\n  }\n  function checkInstanceOfExpression(left, right, leftType, rightType) {\n    if (leftType === silentNeverType || rightType === silentNeverType) {\n      return silentNeverType;\n    }\n    if (!isTypeAny(leftType) && allTypesAssignableToKind(leftType, 131068 /* Primitive */)) {\n      error(left, Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter);\n    }\n    if (!(isTypeAny(rightType) || typeHasCallOrConstructSignatures2(rightType) || isTypeSubtypeOf(rightType, globalFunctionType))) {\n      error(right, Diagnostics.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type);\n    }\n    return booleanType;\n  }\n  function hasEmptyObjectIntersection(type) {\n    return someType(type, (t) => t === unknownEmptyObjectType || !!(t.flags & 2097152 /* Intersection */) && some(t.types, isEmptyAnonymousObjectType));\n  }\n  function checkInExpression(left, right, leftType, rightType) {\n    if (leftType === silentNeverType || rightType === silentNeverType) {\n      return silentNeverType;\n    }\n    if (isPrivateIdentifier(left)) {\n      if (languageVersion < 99 /* ESNext */) {\n        checkExternalEmitHelpers(left, 2097152 /* ClassPrivateFieldIn */);\n      }\n      if (!getNodeLinks(left).resolvedSymbol && getContainingClass(left)) {\n        const isUncheckedJS = isUncheckedJSSuggestion(left, rightType.symbol, true);\n        reportNonexistentProperty(left, rightType, isUncheckedJS);\n      }\n    } else {\n      checkTypeAssignableTo(checkNonNullType(leftType, left), stringNumberSymbolType, left);\n    }\n    if (checkTypeAssignableTo(checkNonNullType(rightType, right), nonPrimitiveType, right)) {\n      if (hasEmptyObjectIntersection(rightType)) {\n        error(right, Diagnostics.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator, typeToString(rightType));\n      }\n    }\n    return booleanType;\n  }\n  function checkObjectLiteralAssignment(node, sourceType, rightIsThis) {\n    const properties = node.properties;\n    if (strictNullChecks && properties.length === 0) {\n      return checkNonNullType(sourceType, node);\n    }\n    for (let i = 0; i < properties.length; i++) {\n      checkObjectLiteralDestructuringPropertyAssignment(node, sourceType, i, properties, rightIsThis);\n    }\n    return sourceType;\n  }\n  function checkObjectLiteralDestructuringPropertyAssignment(node, objectLiteralType, propertyIndex, allProperties, rightIsThis = false) {\n    const properties = node.properties;\n    const property = properties[propertyIndex];\n    if (property.kind === 305 /* PropertyAssignment */ || property.kind === 306 /* ShorthandPropertyAssignment */) {\n      const name = property.name;\n      const exprType = getLiteralTypeFromPropertyName(name);\n      if (isTypeUsableAsPropertyName(exprType)) {\n        const text = getPropertyNameFromType(exprType);\n        const prop = getPropertyOfType(objectLiteralType, text);\n        if (prop) {\n          markPropertyAsReferenced(prop, property, rightIsThis);\n          checkPropertyAccessibility(property, false, true, objectLiteralType, prop);\n        }\n      }\n      const elementType = getIndexedAccessType(objectLiteralType, exprType, 32 /* ExpressionPosition */, name);\n      const type = getFlowTypeOfDestructuring(property, elementType);\n      return checkDestructuringAssignment(property.kind === 306 /* ShorthandPropertyAssignment */ ? property : property.initializer, type);\n    } else if (property.kind === 307 /* SpreadAssignment */) {\n      if (propertyIndex < properties.length - 1) {\n        error(property, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);\n      } else {\n        if (languageVersion < 99 /* ESNext */) {\n          checkExternalEmitHelpers(property, 4 /* Rest */);\n        }\n        const nonRestNames = [];\n        if (allProperties) {\n          for (const otherProperty of allProperties) {\n            if (!isSpreadAssignment(otherProperty)) {\n              nonRestNames.push(otherProperty.name);\n            }\n          }\n        }\n        const type = getRestType(objectLiteralType, nonRestNames, objectLiteralType.symbol);\n        checkGrammarForDisallowedTrailingComma(allProperties, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n        return checkDestructuringAssignment(property.expression, type);\n      }\n    } else {\n      error(property, Diagnostics.Property_assignment_expected);\n    }\n  }\n  function checkArrayLiteralAssignment(node, sourceType, checkMode) {\n    const elements = node.elements;\n    if (languageVersion < 2 /* ES2015 */ && compilerOptions.downlevelIteration) {\n      checkExternalEmitHelpers(node, 512 /* Read */);\n    }\n    const possiblyOutOfBoundsType = checkIteratedTypeOrElementType(65 /* Destructuring */ | 128 /* PossiblyOutOfBounds */, sourceType, undefinedType, node) || errorType;\n    let inBoundsType = compilerOptions.noUncheckedIndexedAccess ? void 0 : possiblyOutOfBoundsType;\n    for (let i = 0; i < elements.length; i++) {\n      let type = possiblyOutOfBoundsType;\n      if (node.elements[i].kind === 231 /* SpreadElement */) {\n        type = inBoundsType = inBoundsType != null ? inBoundsType : checkIteratedTypeOrElementType(65 /* Destructuring */, sourceType, undefinedType, node) || errorType;\n      }\n      checkArrayLiteralDestructuringElementAssignment(node, sourceType, i, type, checkMode);\n    }\n    return sourceType;\n  }\n  function checkArrayLiteralDestructuringElementAssignment(node, sourceType, elementIndex, elementType, checkMode) {\n    const elements = node.elements;\n    const element = elements[elementIndex];\n    if (element.kind !== 233 /* OmittedExpression */) {\n      if (element.kind !== 231 /* SpreadElement */) {\n        const indexType = getNumberLiteralType(elementIndex);\n        if (isArrayLikeType2(sourceType)) {\n          const accessFlags = 32 /* ExpressionPosition */ | (hasDefaultValue(element) ? 16 /* NoTupleBoundsCheck */ : 0);\n          const elementType2 = getIndexedAccessTypeOrUndefined(sourceType, indexType, accessFlags, createSyntheticExpression(element, indexType)) || errorType;\n          const assignedType = hasDefaultValue(element) ? getTypeWithFacts(elementType2, 524288 /* NEUndefined */) : elementType2;\n          const type = getFlowTypeOfDestructuring(element, assignedType);\n          return checkDestructuringAssignment(element, type, checkMode);\n        }\n        return checkDestructuringAssignment(element, elementType, checkMode);\n      }\n      if (elementIndex < elements.length - 1) {\n        error(element, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);\n      } else {\n        const restExpression = element.expression;\n        if (restExpression.kind === 227 /* BinaryExpression */ && restExpression.operatorToken.kind === 63 /* EqualsToken */) {\n          error(restExpression.operatorToken, Diagnostics.A_rest_element_cannot_have_an_initializer);\n        } else {\n          checkGrammarForDisallowedTrailingComma(node.elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n          const type = everyType(sourceType, isTupleType) ? mapType(sourceType, (t) => sliceTupleType(t, elementIndex)) : createArrayType(elementType);\n          return checkDestructuringAssignment(restExpression, type, checkMode);\n        }\n      }\n    }\n    return void 0;\n  }\n  function checkDestructuringAssignment(exprOrAssignment, sourceType, checkMode, rightIsThis) {\n    let target;\n    if (exprOrAssignment.kind === 306 /* ShorthandPropertyAssignment */) {\n      const prop = exprOrAssignment;\n      if (prop.objectAssignmentInitializer) {\n        if (strictNullChecks && !(getTypeFacts(checkExpression(prop.objectAssignmentInitializer)) & 16777216 /* IsUndefined */)) {\n          sourceType = getTypeWithFacts(sourceType, 524288 /* NEUndefined */);\n        }\n        checkBinaryLikeExpression(prop.name, prop.equalsToken, prop.objectAssignmentInitializer, checkMode);\n      }\n      target = exprOrAssignment.name;\n    } else {\n      target = exprOrAssignment;\n    }\n    if (target.kind === 227 /* BinaryExpression */ && target.operatorToken.kind === 63 /* EqualsToken */) {\n      checkBinaryExpression(target, checkMode);\n      target = target.left;\n      if (strictNullChecks) {\n        sourceType = getTypeWithFacts(sourceType, 524288 /* NEUndefined */);\n      }\n    }\n    if (target.kind === 210 /* ObjectLiteralExpression */) {\n      return checkObjectLiteralAssignment(target, sourceType, rightIsThis);\n    }\n    if (target.kind === 209 /* ArrayLiteralExpression */) {\n      return checkArrayLiteralAssignment(target, sourceType, checkMode);\n    }\n    return checkReferenceAssignment(target, sourceType, checkMode);\n  }\n  function checkReferenceAssignment(target, sourceType, checkMode) {\n    const targetType = checkExpression(target, checkMode);\n    const error2 = target.parent.kind === 307 /* SpreadAssignment */ ? Diagnostics.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access;\n    const optionalError = target.parent.kind === 307 /* SpreadAssignment */ ? Diagnostics.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access : Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;\n    if (checkReferenceExpression(target, error2, optionalError)) {\n      checkTypeAssignableToAndOptionallyElaborate(sourceType, targetType, target, target);\n    }\n    if (isPrivateIdentifierPropertyAccessExpression(target)) {\n      checkExternalEmitHelpers(target.parent, 1048576 /* ClassPrivateFieldSet */);\n    }\n    return sourceType;\n  }\n  function isSideEffectFree(node) {\n    node = skipParentheses(node);\n    switch (node.kind) {\n      case 79 /* Identifier */:\n      case 10 /* StringLiteral */:\n      case 13 /* RegularExpressionLiteral */:\n      case 215 /* TaggedTemplateExpression */:\n      case 229 /* TemplateExpression */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 105 /* NullKeyword */:\n      case 157 /* UndefinedKeyword */:\n      case 218 /* FunctionExpression */:\n      case 232 /* ClassExpression */:\n      case 219 /* ArrowFunction */:\n      case 209 /* ArrayLiteralExpression */:\n      case 210 /* ObjectLiteralExpression */:\n      case 222 /* TypeOfExpression */:\n      case 236 /* NonNullExpression */:\n      case 288 /* JsxSelfClosingElement */:\n      case 287 /* JsxElement */:\n        return true;\n      case 228 /* ConditionalExpression */:\n        return isSideEffectFree(node.whenTrue) && isSideEffectFree(node.whenFalse);\n      case 227 /* BinaryExpression */:\n        if (isAssignmentOperator(node.operatorToken.kind)) {\n          return false;\n        }\n        return isSideEffectFree(node.left) && isSideEffectFree(node.right);\n      case 225 /* PrefixUnaryExpression */:\n      case 226 /* PostfixUnaryExpression */:\n        switch (node.operator) {\n          case 53 /* ExclamationToken */:\n          case 39 /* PlusToken */:\n          case 40 /* MinusToken */:\n          case 54 /* TildeToken */:\n            return true;\n        }\n        return false;\n      case 223 /* VoidExpression */:\n      case 216 /* TypeAssertionExpression */:\n      case 235 /* AsExpression */:\n      default:\n        return false;\n    }\n  }\n  function isTypeEqualityComparableTo(source, target) {\n    return (target.flags & 98304 /* Nullable */) !== 0 || isTypeComparableTo(source, target);\n  }\n  function createCheckBinaryExpression() {\n    const trampoline = createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, foldState);\n    return (node, checkMode) => {\n      const result = trampoline(node, checkMode);\n      Debug.assertIsDefined(result);\n      return result;\n    };\n    function onEnter(node, state, checkMode) {\n      if (state) {\n        state.stackIndex++;\n        state.skip = false;\n        setLeftType(state, void 0);\n        setLastResult(state, void 0);\n      } else {\n        state = {\n          checkMode,\n          skip: false,\n          stackIndex: 0,\n          typeStack: [void 0, void 0]\n        };\n      }\n      if (isInJSFile(node) && getAssignedExpandoInitializer(node)) {\n        state.skip = true;\n        setLastResult(state, checkExpression(node.right, checkMode));\n        return state;\n      }\n      checkGrammarNullishCoalesceWithLogicalExpression(node);\n      const operator = node.operatorToken.kind;\n      if (operator === 63 /* EqualsToken */ && (node.left.kind === 210 /* ObjectLiteralExpression */ || node.left.kind === 209 /* ArrayLiteralExpression */)) {\n        state.skip = true;\n        setLastResult(state, checkDestructuringAssignment(node.left, checkExpression(node.right, checkMode), checkMode, node.right.kind === 109 /* ThisKeyword */));\n        return state;\n      }\n      return state;\n    }\n    function onLeft(left, state, _node) {\n      if (!state.skip) {\n        return maybeCheckExpression(state, left);\n      }\n    }\n    function onOperator(operatorToken, state, node) {\n      if (!state.skip) {\n        const leftType = getLastResult(state);\n        Debug.assertIsDefined(leftType);\n        setLeftType(state, leftType);\n        setLastResult(state, void 0);\n        const operator = operatorToken.kind;\n        if (operator === 55 /* AmpersandAmpersandToken */ || operator === 56 /* BarBarToken */ || operator === 60 /* QuestionQuestionToken */) {\n          if (operator === 55 /* AmpersandAmpersandToken */) {\n            let parent2 = node.parent;\n            while (parent2.kind === 217 /* ParenthesizedExpression */ || isBinaryExpression(parent2) && (parent2.operatorToken.kind === 55 /* AmpersandAmpersandToken */ || parent2.operatorToken.kind === 56 /* BarBarToken */)) {\n              parent2 = parent2.parent;\n            }\n            checkTestingKnownTruthyCallableOrAwaitableType(node.left, leftType, isIfStatement(parent2) ? parent2.thenStatement : void 0);\n          }\n          checkTruthinessOfType(leftType, node.left);\n        }\n      }\n    }\n    function onRight(right, state, _node) {\n      if (!state.skip) {\n        return maybeCheckExpression(state, right);\n      }\n    }\n    function onExit(node, state) {\n      let result;\n      if (state.skip) {\n        result = getLastResult(state);\n      } else {\n        const leftType = getLeftType(state);\n        Debug.assertIsDefined(leftType);\n        const rightType = getLastResult(state);\n        Debug.assertIsDefined(rightType);\n        result = checkBinaryLikeExpressionWorker(node.left, node.operatorToken, node.right, leftType, rightType, node);\n      }\n      state.skip = false;\n      setLeftType(state, void 0);\n      setLastResult(state, void 0);\n      state.stackIndex--;\n      return result;\n    }\n    function foldState(state, result, _side) {\n      setLastResult(state, result);\n      return state;\n    }\n    function maybeCheckExpression(state, node) {\n      if (isBinaryExpression(node)) {\n        return node;\n      }\n      setLastResult(state, checkExpression(node, state.checkMode));\n    }\n    function getLeftType(state) {\n      return state.typeStack[state.stackIndex];\n    }\n    function setLeftType(state, type) {\n      state.typeStack[state.stackIndex] = type;\n    }\n    function getLastResult(state) {\n      return state.typeStack[state.stackIndex + 1];\n    }\n    function setLastResult(state, type) {\n      state.typeStack[state.stackIndex + 1] = type;\n    }\n  }\n  function checkGrammarNullishCoalesceWithLogicalExpression(node) {\n    const { left, operatorToken, right } = node;\n    if (operatorToken.kind === 60 /* QuestionQuestionToken */) {\n      if (isBinaryExpression(left) && (left.operatorToken.kind === 56 /* BarBarToken */ || left.operatorToken.kind === 55 /* AmpersandAmpersandToken */)) {\n        grammarErrorOnNode(left, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(left.operatorToken.kind), tokenToString(operatorToken.kind));\n      }\n      if (isBinaryExpression(right) && (right.operatorToken.kind === 56 /* BarBarToken */ || right.operatorToken.kind === 55 /* AmpersandAmpersandToken */)) {\n        grammarErrorOnNode(right, Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses, tokenToString(right.operatorToken.kind), tokenToString(operatorToken.kind));\n      }\n    }\n  }\n  function checkBinaryLikeExpression(left, operatorToken, right, checkMode, errorNode) {\n    const operator = operatorToken.kind;\n    if (operator === 63 /* EqualsToken */ && (left.kind === 210 /* ObjectLiteralExpression */ || left.kind === 209 /* ArrayLiteralExpression */)) {\n      return checkDestructuringAssignment(left, checkExpression(right, checkMode), checkMode, right.kind === 109 /* ThisKeyword */);\n    }\n    let leftType;\n    if (operator === 55 /* AmpersandAmpersandToken */ || operator === 56 /* BarBarToken */ || operator === 60 /* QuestionQuestionToken */) {\n      leftType = checkTruthinessExpression(left, checkMode);\n    } else {\n      leftType = checkExpression(left, checkMode);\n    }\n    const rightType = checkExpression(right, checkMode);\n    return checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, errorNode);\n  }\n  function checkBinaryLikeExpressionWorker(left, operatorToken, right, leftType, rightType, errorNode) {\n    const operator = operatorToken.kind;\n    switch (operator) {\n      case 41 /* AsteriskToken */:\n      case 42 /* AsteriskAsteriskToken */:\n      case 66 /* AsteriskEqualsToken */:\n      case 67 /* AsteriskAsteriskEqualsToken */:\n      case 43 /* SlashToken */:\n      case 68 /* SlashEqualsToken */:\n      case 44 /* PercentToken */:\n      case 69 /* PercentEqualsToken */:\n      case 40 /* MinusToken */:\n      case 65 /* MinusEqualsToken */:\n      case 47 /* LessThanLessThanToken */:\n      case 70 /* LessThanLessThanEqualsToken */:\n      case 48 /* GreaterThanGreaterThanToken */:\n      case 71 /* GreaterThanGreaterThanEqualsToken */:\n      case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n      case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n      case 51 /* BarToken */:\n      case 74 /* BarEqualsToken */:\n      case 52 /* CaretToken */:\n      case 78 /* CaretEqualsToken */:\n      case 50 /* AmpersandToken */:\n      case 73 /* AmpersandEqualsToken */:\n        if (leftType === silentNeverType || rightType === silentNeverType) {\n          return silentNeverType;\n        }\n        leftType = checkNonNullType(leftType, left);\n        rightType = checkNonNullType(rightType, right);\n        let suggestedOperator;\n        if (leftType.flags & 528 /* BooleanLike */ && rightType.flags & 528 /* BooleanLike */ && (suggestedOperator = getSuggestedBooleanOperator(operatorToken.kind)) !== void 0) {\n          error(errorNode || operatorToken, Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead, tokenToString(operatorToken.kind), tokenToString(suggestedOperator));\n          return numberType;\n        } else {\n          const leftOk = checkArithmeticOperandType(left, leftType, Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type, true);\n          const rightOk = checkArithmeticOperandType(right, rightType, Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type, true);\n          let resultType2;\n          if (isTypeAssignableToKind(leftType, 3 /* AnyOrUnknown */) && isTypeAssignableToKind(rightType, 3 /* AnyOrUnknown */) || !(maybeTypeOfKind(leftType, 2112 /* BigIntLike */) || maybeTypeOfKind(rightType, 2112 /* BigIntLike */))) {\n            resultType2 = numberType;\n          } else if (bothAreBigIntLike(leftType, rightType)) {\n            switch (operator) {\n              case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n              case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n                reportOperatorError();\n                break;\n              case 42 /* AsteriskAsteriskToken */:\n              case 67 /* AsteriskAsteriskEqualsToken */:\n                if (languageVersion < 3 /* ES2016 */) {\n                  error(errorNode, Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later);\n                }\n            }\n            resultType2 = bigintType;\n          } else {\n            reportOperatorError(bothAreBigIntLike);\n            resultType2 = errorType;\n          }\n          if (leftOk && rightOk) {\n            checkAssignmentOperator(resultType2);\n          }\n          return resultType2;\n        }\n      case 39 /* PlusToken */:\n      case 64 /* PlusEqualsToken */:\n        if (leftType === silentNeverType || rightType === silentNeverType) {\n          return silentNeverType;\n        }\n        if (!isTypeAssignableToKind(leftType, 402653316 /* StringLike */) && !isTypeAssignableToKind(rightType, 402653316 /* StringLike */)) {\n          leftType = checkNonNullType(leftType, left);\n          rightType = checkNonNullType(rightType, right);\n        }\n        let resultType;\n        if (isTypeAssignableToKind(leftType, 296 /* NumberLike */, true) && isTypeAssignableToKind(rightType, 296 /* NumberLike */, true)) {\n          resultType = numberType;\n        } else if (isTypeAssignableToKind(leftType, 2112 /* BigIntLike */, true) && isTypeAssignableToKind(rightType, 2112 /* BigIntLike */, true)) {\n          resultType = bigintType;\n        } else if (isTypeAssignableToKind(leftType, 402653316 /* StringLike */, true) || isTypeAssignableToKind(rightType, 402653316 /* StringLike */, true)) {\n          resultType = stringType;\n        } else if (isTypeAny(leftType) || isTypeAny(rightType)) {\n          resultType = isErrorType(leftType) || isErrorType(rightType) ? errorType : anyType;\n        }\n        if (resultType && !checkForDisallowedESSymbolOperand(operator)) {\n          return resultType;\n        }\n        if (!resultType) {\n          const closeEnoughKind = 296 /* NumberLike */ | 2112 /* BigIntLike */ | 402653316 /* StringLike */ | 3 /* AnyOrUnknown */;\n          reportOperatorError((left2, right2) => isTypeAssignableToKind(left2, closeEnoughKind) && isTypeAssignableToKind(right2, closeEnoughKind));\n          return anyType;\n        }\n        if (operator === 64 /* PlusEqualsToken */) {\n          checkAssignmentOperator(resultType);\n        }\n        return resultType;\n      case 29 /* LessThanToken */:\n      case 31 /* GreaterThanToken */:\n      case 32 /* LessThanEqualsToken */:\n      case 33 /* GreaterThanEqualsToken */:\n        if (checkForDisallowedESSymbolOperand(operator)) {\n          leftType = getBaseTypeOfLiteralType(checkNonNullType(leftType, left));\n          rightType = getBaseTypeOfLiteralType(checkNonNullType(rightType, right));\n          reportOperatorErrorUnless((left2, right2) => isTypeComparableTo(left2, right2) || isTypeComparableTo(right2, left2) || isTypeAssignableTo(left2, numberOrBigIntType) && isTypeAssignableTo(right2, numberOrBigIntType));\n        }\n        return booleanType;\n      case 34 /* EqualsEqualsToken */:\n      case 35 /* ExclamationEqualsToken */:\n      case 36 /* EqualsEqualsEqualsToken */:\n      case 37 /* ExclamationEqualsEqualsToken */:\n        if (isLiteralExpressionOfObject(left) || isLiteralExpressionOfObject(right)) {\n          const eqType = operator === 34 /* EqualsEqualsToken */ || operator === 36 /* EqualsEqualsEqualsToken */;\n          error(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? \"false\" : \"true\");\n        }\n        checkNaNEquality(errorNode, operator, left, right);\n        reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2));\n        return booleanType;\n      case 103 /* InstanceOfKeyword */:\n        return checkInstanceOfExpression(left, right, leftType, rightType);\n      case 102 /* InKeyword */:\n        return checkInExpression(left, right, leftType, rightType);\n      case 55 /* AmpersandAmpersandToken */:\n      case 76 /* AmpersandAmpersandEqualsToken */: {\n        const resultType2 = getTypeFacts(leftType) & 4194304 /* Truthy */ ? getUnionType([extractDefinitelyFalsyTypes(strictNullChecks ? leftType : getBaseTypeOfLiteralType(rightType)), rightType]) : leftType;\n        if (operator === 76 /* AmpersandAmpersandEqualsToken */) {\n          checkAssignmentOperator(rightType);\n        }\n        return resultType2;\n      }\n      case 56 /* BarBarToken */:\n      case 75 /* BarBarEqualsToken */: {\n        const resultType2 = getTypeFacts(leftType) & 8388608 /* Falsy */ ? getUnionType([getNonNullableType3(removeDefinitelyFalsyTypes(leftType)), rightType], 2 /* Subtype */) : leftType;\n        if (operator === 75 /* BarBarEqualsToken */) {\n          checkAssignmentOperator(rightType);\n        }\n        return resultType2;\n      }\n      case 60 /* QuestionQuestionToken */:\n      case 77 /* QuestionQuestionEqualsToken */: {\n        const resultType2 = getTypeFacts(leftType) & 262144 /* EQUndefinedOrNull */ ? getUnionType([getNonNullableType3(leftType), rightType], 2 /* Subtype */) : leftType;\n        if (operator === 77 /* QuestionQuestionEqualsToken */) {\n          checkAssignmentOperator(rightType);\n        }\n        return resultType2;\n      }\n      case 63 /* EqualsToken */:\n        const declKind = isBinaryExpression(left.parent) ? getAssignmentDeclarationKind(left.parent) : 0 /* None */;\n        checkAssignmentDeclaration(declKind, rightType);\n        if (isAssignmentDeclaration2(declKind)) {\n          if (!(rightType.flags & 524288 /* Object */) || declKind !== 2 /* ModuleExports */ && declKind !== 6 /* Prototype */ && !isEmptyObjectType(rightType) && !isFunctionObjectType(rightType) && !(getObjectFlags(rightType) & 1 /* Class */)) {\n            checkAssignmentOperator(rightType);\n          }\n          return leftType;\n        } else {\n          checkAssignmentOperator(rightType);\n          return getRegularTypeOfObjectLiteral(rightType);\n        }\n      case 27 /* CommaToken */:\n        if (!compilerOptions.allowUnreachableCode && isSideEffectFree(left) && !isEvalNode(right)) {\n          const sf = getSourceFileOfNode(left);\n          const sourceText = sf.text;\n          const start = skipTrivia(sourceText, left.pos);\n          const isInDiag2657 = sf.parseDiagnostics.some((diag2) => {\n            if (diag2.code !== Diagnostics.JSX_expressions_must_have_one_parent_element.code)\n              return false;\n            return textSpanContainsPosition(diag2, start);\n          });\n          if (!isInDiag2657)\n            error(left, Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects);\n        }\n        return rightType;\n      default:\n        return Debug.fail();\n    }\n    function bothAreBigIntLike(left2, right2) {\n      return isTypeAssignableToKind(left2, 2112 /* BigIntLike */) && isTypeAssignableToKind(right2, 2112 /* BigIntLike */);\n    }\n    function checkAssignmentDeclaration(kind, rightType2) {\n      if (kind === 2 /* ModuleExports */) {\n        for (const prop of getPropertiesOfObjectType(rightType2)) {\n          const propType = getTypeOfSymbol(prop);\n          if (propType.symbol && propType.symbol.flags & 32 /* Class */) {\n            const name = prop.escapedName;\n            const symbol = resolveName(prop.valueDeclaration, name, 788968 /* Type */, void 0, name, false);\n            if ((symbol == null ? void 0 : symbol.declarations) && symbol.declarations.some(isJSDocTypedefTag)) {\n              addDuplicateDeclarationErrorsForSymbols(symbol, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), prop);\n              addDuplicateDeclarationErrorsForSymbols(prop, Diagnostics.Duplicate_identifier_0, unescapeLeadingUnderscores(name), symbol);\n            }\n          }\n        }\n      }\n    }\n    function isEvalNode(node) {\n      return node.kind === 79 /* Identifier */ && node.escapedText === \"eval\";\n    }\n    function checkForDisallowedESSymbolOperand(operator2) {\n      const offendingSymbolOperand = maybeTypeOfKindConsideringBaseConstraint(leftType, 12288 /* ESSymbolLike */) ? left : maybeTypeOfKindConsideringBaseConstraint(rightType, 12288 /* ESSymbolLike */) ? right : void 0;\n      if (offendingSymbolOperand) {\n        error(offendingSymbolOperand, Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol, tokenToString(operator2));\n        return false;\n      }\n      return true;\n    }\n    function getSuggestedBooleanOperator(operator2) {\n      switch (operator2) {\n        case 51 /* BarToken */:\n        case 74 /* BarEqualsToken */:\n          return 56 /* BarBarToken */;\n        case 52 /* CaretToken */:\n        case 78 /* CaretEqualsToken */:\n          return 37 /* ExclamationEqualsEqualsToken */;\n        case 50 /* AmpersandToken */:\n        case 73 /* AmpersandEqualsToken */:\n          return 55 /* AmpersandAmpersandToken */;\n        default:\n          return void 0;\n      }\n    }\n    function checkAssignmentOperator(valueType) {\n      if (isAssignmentOperator(operator)) {\n        addLazyDiagnostic(checkAssignmentOperatorWorker);\n      }\n      function checkAssignmentOperatorWorker() {\n        if (checkReferenceExpression(\n          left,\n          Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,\n          Diagnostics.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access\n        ) && (!isIdentifier(left) || unescapeLeadingUnderscores(left.escapedText) !== \"exports\")) {\n          let headMessage;\n          if (exactOptionalPropertyTypes && isPropertyAccessExpression(left) && maybeTypeOfKind(valueType, 32768 /* Undefined */)) {\n            const target = getTypeOfPropertyOfType(getTypeOfExpression(left.expression), left.name.escapedText);\n            if (isExactOptionalPropertyMismatch(valueType, target)) {\n              headMessage = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target;\n            }\n          }\n          checkTypeAssignableToAndOptionallyElaborate(valueType, leftType, left, right, headMessage);\n        }\n      }\n    }\n    function isAssignmentDeclaration2(kind) {\n      var _a2;\n      switch (kind) {\n        case 2 /* ModuleExports */:\n          return true;\n        case 1 /* ExportsProperty */:\n        case 5 /* Property */:\n        case 6 /* Prototype */:\n        case 3 /* PrototypeProperty */:\n        case 4 /* ThisProperty */:\n          const symbol = getSymbolOfNode(left);\n          const init = getAssignedExpandoInitializer(right);\n          return !!init && isObjectLiteralExpression(init) && !!((_a2 = symbol == null ? void 0 : symbol.exports) == null ? void 0 : _a2.size);\n        default:\n          return false;\n      }\n    }\n    function reportOperatorErrorUnless(typesAreCompatible) {\n      if (!typesAreCompatible(leftType, rightType)) {\n        reportOperatorError(typesAreCompatible);\n        return true;\n      }\n      return false;\n    }\n    function reportOperatorError(isRelated) {\n      let wouldWorkWithAwait = false;\n      const errNode = errorNode || operatorToken;\n      if (isRelated) {\n        const awaitedLeftType = getAwaitedTypeNoAlias(leftType);\n        const awaitedRightType = getAwaitedTypeNoAlias(rightType);\n        wouldWorkWithAwait = !(awaitedLeftType === leftType && awaitedRightType === rightType) && !!(awaitedLeftType && awaitedRightType) && isRelated(awaitedLeftType, awaitedRightType);\n      }\n      let effectiveLeft = leftType;\n      let effectiveRight = rightType;\n      if (!wouldWorkWithAwait && isRelated) {\n        [effectiveLeft, effectiveRight] = getBaseTypesIfUnrelated(leftType, rightType, isRelated);\n      }\n      const [leftStr, rightStr] = getTypeNamesForErrorDisplay(effectiveLeft, effectiveRight);\n      if (!tryGiveBetterPrimaryError(errNode, wouldWorkWithAwait, leftStr, rightStr)) {\n        errorAndMaybeSuggestAwait(\n          errNode,\n          wouldWorkWithAwait,\n          Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,\n          tokenToString(operatorToken.kind),\n          leftStr,\n          rightStr\n        );\n      }\n    }\n    function tryGiveBetterPrimaryError(errNode, maybeMissingAwait, leftStr, rightStr) {\n      switch (operatorToken.kind) {\n        case 36 /* EqualsEqualsEqualsToken */:\n        case 34 /* EqualsEqualsToken */:\n        case 37 /* ExclamationEqualsEqualsToken */:\n        case 35 /* ExclamationEqualsToken */:\n          return errorAndMaybeSuggestAwait(\n            errNode,\n            maybeMissingAwait,\n            Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,\n            leftStr,\n            rightStr\n          );\n        default:\n          return void 0;\n      }\n    }\n    function checkNaNEquality(errorNode2, operator2, left2, right2) {\n      const isLeftNaN = isGlobalNaN(skipParentheses(left2));\n      const isRightNaN = isGlobalNaN(skipParentheses(right2));\n      if (isLeftNaN || isRightNaN) {\n        const err = error(\n          errorNode2,\n          Diagnostics.This_condition_will_always_return_0,\n          tokenToString(operator2 === 36 /* EqualsEqualsEqualsToken */ || operator2 === 34 /* EqualsEqualsToken */ ? 96 /* FalseKeyword */ : 111 /* TrueKeyword */)\n        );\n        if (isLeftNaN && isRightNaN)\n          return;\n        const operatorString = operator2 === 37 /* ExclamationEqualsEqualsToken */ || operator2 === 35 /* ExclamationEqualsToken */ ? tokenToString(53 /* ExclamationToken */) : \"\";\n        const location = isLeftNaN ? right2 : left2;\n        const expression = skipParentheses(location);\n        addRelatedInfo(err, createDiagnosticForNode(\n          location,\n          Diagnostics.Did_you_mean_0,\n          `${operatorString}Number.isNaN(${isEntityNameExpression(expression) ? entityNameToString(expression) : \"...\"})`\n        ));\n      }\n    }\n    function isGlobalNaN(expr) {\n      if (isIdentifier(expr) && expr.escapedText === \"NaN\") {\n        const globalNaNSymbol = getGlobalNaNSymbol();\n        return !!globalNaNSymbol && globalNaNSymbol === getResolvedSymbol(expr);\n      }\n      return false;\n    }\n  }\n  function getBaseTypesIfUnrelated(leftType, rightType, isRelated) {\n    let effectiveLeft = leftType;\n    let effectiveRight = rightType;\n    const leftBase = getBaseTypeOfLiteralType(leftType);\n    const rightBase = getBaseTypeOfLiteralType(rightType);\n    if (!isRelated(leftBase, rightBase)) {\n      effectiveLeft = leftBase;\n      effectiveRight = rightBase;\n    }\n    return [effectiveLeft, effectiveRight];\n  }\n  function checkYieldExpression(node) {\n    addLazyDiagnostic(checkYieldExpressionGrammar);\n    const func = getContainingFunction(node);\n    if (!func)\n      return anyType;\n    const functionFlags = getFunctionFlags(func);\n    if (!(functionFlags & 1 /* Generator */)) {\n      return anyType;\n    }\n    const isAsync = (functionFlags & 2 /* Async */) !== 0;\n    if (node.asteriskToken) {\n      if (isAsync && languageVersion < 99 /* ESNext */) {\n        checkExternalEmitHelpers(node, 26624 /* AsyncDelegatorIncludes */);\n      }\n      if (!isAsync && languageVersion < 2 /* ES2015 */ && compilerOptions.downlevelIteration) {\n        checkExternalEmitHelpers(node, 256 /* Values */);\n      }\n    }\n    const returnType = getReturnTypeFromAnnotation(func);\n    const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync);\n    const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType;\n    const signatureNextType = iterationTypes && iterationTypes.nextType || anyType;\n    const resolvedSignatureNextType = isAsync ? getAwaitedType(signatureNextType) || anyType : signatureNextType;\n    const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType;\n    const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, resolvedSignatureNextType, isAsync);\n    if (returnType && yieldedType) {\n      checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression);\n    }\n    if (node.asteriskToken) {\n      const use = isAsync ? 19 /* AsyncYieldStar */ : 17 /* YieldStar */;\n      return getIterationTypeOfIterable(use, 1 /* Return */, yieldExpressionType, node.expression) || anyType;\n    } else if (returnType) {\n      return getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, isAsync) || anyType;\n    }\n    let type = getContextualIterationType(2 /* Next */, func);\n    if (!type) {\n      type = anyType;\n      addLazyDiagnostic(() => {\n        if (noImplicitAny && !expressionResultIsUnused(node)) {\n          const contextualType = getContextualType2(node, void 0);\n          if (!contextualType || isTypeAny(contextualType)) {\n            error(node, Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation);\n          }\n        }\n      });\n    }\n    return type;\n    function checkYieldExpressionGrammar() {\n      if (!(node.flags & 8192 /* YieldContext */)) {\n        grammarErrorOnFirstToken(node, Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body);\n      }\n      if (isInParameterInitializerBeforeContainingFunction(node)) {\n        error(node, Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer);\n      }\n    }\n  }\n  function checkConditionalExpression(node, checkMode) {\n    const type = checkTruthinessExpression(node.condition);\n    checkTestingKnownTruthyCallableOrAwaitableType(node.condition, type, node.whenTrue);\n    const type1 = checkExpression(node.whenTrue, checkMode);\n    const type2 = checkExpression(node.whenFalse, checkMode);\n    return getUnionType([type1, type2], 2 /* Subtype */);\n  }\n  function isTemplateLiteralContext(node) {\n    const parent2 = node.parent;\n    return isParenthesizedExpression(parent2) && isTemplateLiteralContext(parent2) || isElementAccessExpression(parent2) && parent2.argumentExpression === node;\n  }\n  function checkTemplateExpression(node) {\n    const texts = [node.head.text];\n    const types = [];\n    for (const span of node.templateSpans) {\n      const type = checkExpression(span.expression);\n      if (maybeTypeOfKindConsideringBaseConstraint(type, 12288 /* ESSymbolLike */)) {\n        error(span.expression, Diagnostics.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String);\n      }\n      texts.push(span.literal.text);\n      types.push(isTypeAssignableTo(type, templateConstraintType) ? type : stringType);\n    }\n    return isConstContext(node) || isTemplateLiteralContext(node) || someType(getContextualType2(node, void 0) || unknownType, isTemplateLiteralContextualType) ? getTemplateLiteralType(texts, types) : stringType;\n  }\n  function isTemplateLiteralContextualType(type) {\n    return !!(type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */) || type.flags & 58982400 /* InstantiableNonPrimitive */ && maybeTypeOfKind(getBaseConstraintOfType(type) || unknownType, 402653316 /* StringLike */));\n  }\n  function getContextNode2(node) {\n    if (node.kind === 295 /* JsxAttributes */ && !isJsxSelfClosingElement(node.parent)) {\n      return node.parent.parent;\n    }\n    return node;\n  }\n  function checkExpressionWithContextualType(node, contextualType, inferenceContext, checkMode) {\n    const context = getContextNode2(node);\n    const saveContextualType = context.contextualType;\n    const saveInferenceContext = context.inferenceContext;\n    try {\n      context.contextualType = contextualType;\n      context.inferenceContext = inferenceContext;\n      const type = checkExpression(node, checkMode | 1 /* Contextual */ | (inferenceContext ? 2 /* Inferential */ : 0));\n      if (inferenceContext && inferenceContext.intraExpressionInferenceSites) {\n        inferenceContext.intraExpressionInferenceSites = void 0;\n      }\n      const result = maybeTypeOfKind(type, 2944 /* Literal */) && isLiteralOfContextualType(type, instantiateContextualType(contextualType, node, void 0)) ? getRegularTypeOfLiteralType(type) : type;\n      return result;\n    } finally {\n      context.contextualType = saveContextualType;\n      context.inferenceContext = saveInferenceContext;\n    }\n  }\n  function checkExpressionCached(node, checkMode) {\n    if (checkMode && checkMode !== 0 /* Normal */) {\n      return checkExpression(node, checkMode);\n    }\n    const links = getNodeLinks(node);\n    if (!links.resolvedType) {\n      const saveFlowLoopStart = flowLoopStart;\n      const saveFlowTypeCache = flowTypeCache;\n      flowLoopStart = flowLoopCount;\n      flowTypeCache = void 0;\n      links.resolvedType = checkExpression(node, checkMode);\n      flowTypeCache = saveFlowTypeCache;\n      flowLoopStart = saveFlowLoopStart;\n    }\n    return links.resolvedType;\n  }\n  function isTypeAssertion3(node) {\n    node = skipParentheses(node, true);\n    return node.kind === 216 /* TypeAssertionExpression */ || node.kind === 235 /* AsExpression */ || isJSDocTypeAssertion(node);\n  }\n  function checkDeclarationInitializer(declaration, checkMode, contextualType) {\n    const initializer = getEffectiveInitializer(declaration);\n    const type = getQuickTypeOfExpression(initializer) || (contextualType ? checkExpressionWithContextualType(initializer, contextualType, void 0, checkMode || 0 /* Normal */) : checkExpressionCached(initializer, checkMode));\n    return isParameter(declaration) && declaration.name.kind === 207 /* ArrayBindingPattern */ && isTupleType(type) && !type.target.hasRestElement && getTypeReferenceArity(type) < declaration.name.elements.length ? padTupleType(type, declaration.name) : type;\n  }\n  function padTupleType(type, pattern) {\n    const patternElements = pattern.elements;\n    const elementTypes = getTypeArguments(type).slice();\n    const elementFlags = type.target.elementFlags.slice();\n    for (let i = getTypeReferenceArity(type); i < patternElements.length; i++) {\n      const e = patternElements[i];\n      if (i < patternElements.length - 1 || !(e.kind === 208 /* BindingElement */ && e.dotDotDotToken)) {\n        elementTypes.push(!isOmittedExpression(e) && hasDefaultValue(e) ? getTypeFromBindingElement(e, false, false) : anyType);\n        elementFlags.push(2 /* Optional */);\n        if (!isOmittedExpression(e) && !hasDefaultValue(e)) {\n          reportImplicitAny(e, anyType);\n        }\n      }\n    }\n    return createTupleType(elementTypes, elementFlags, type.target.readonly);\n  }\n  function widenTypeInferredFromInitializer(declaration, type) {\n    const widened = getCombinedNodeFlags(declaration) & 2 /* Const */ || isDeclarationReadonly(declaration) ? type : getWidenedLiteralType(type);\n    if (isInJSFile(declaration)) {\n      if (isEmptyLiteralType(widened)) {\n        reportImplicitAny(declaration, anyType);\n        return anyType;\n      } else if (isEmptyArrayLiteralType(widened)) {\n        reportImplicitAny(declaration, anyArrayType);\n        return anyArrayType;\n      }\n    }\n    return widened;\n  }\n  function isLiteralOfContextualType(candidateType, contextualType) {\n    if (contextualType) {\n      if (contextualType.flags & 3145728 /* UnionOrIntersection */) {\n        const types = contextualType.types;\n        return some(types, (t) => isLiteralOfContextualType(candidateType, t));\n      }\n      if (contextualType.flags & 58982400 /* InstantiableNonPrimitive */) {\n        const constraint = getBaseConstraintOfType(contextualType) || unknownType;\n        return maybeTypeOfKind(constraint, 4 /* String */) && maybeTypeOfKind(candidateType, 128 /* StringLiteral */) || maybeTypeOfKind(constraint, 8 /* Number */) && maybeTypeOfKind(candidateType, 256 /* NumberLiteral */) || maybeTypeOfKind(constraint, 64 /* BigInt */) && maybeTypeOfKind(candidateType, 2048 /* BigIntLiteral */) || maybeTypeOfKind(constraint, 4096 /* ESSymbol */) && maybeTypeOfKind(candidateType, 8192 /* UniqueESSymbol */) || isLiteralOfContextualType(candidateType, constraint);\n      }\n      return !!(contextualType.flags & (128 /* StringLiteral */ | 4194304 /* Index */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) && maybeTypeOfKind(candidateType, 128 /* StringLiteral */) || contextualType.flags & 256 /* NumberLiteral */ && maybeTypeOfKind(candidateType, 256 /* NumberLiteral */) || contextualType.flags & 2048 /* BigIntLiteral */ && maybeTypeOfKind(candidateType, 2048 /* BigIntLiteral */) || contextualType.flags & 512 /* BooleanLiteral */ && maybeTypeOfKind(candidateType, 512 /* BooleanLiteral */) || contextualType.flags & 8192 /* UniqueESSymbol */ && maybeTypeOfKind(candidateType, 8192 /* UniqueESSymbol */));\n    }\n    return false;\n  }\n  function isConstContext(node) {\n    const parent2 = node.parent;\n    return isAssertionExpression(parent2) && isConstTypeReference(parent2.type) || isJSDocTypeAssertion(parent2) && isConstTypeReference(getJSDocTypeAssertionType(parent2)) || (isParenthesizedExpression(parent2) || isArrayLiteralExpression(parent2) || isSpreadElement(parent2)) && isConstContext(parent2) || (isPropertyAssignment(parent2) || isShorthandPropertyAssignment(parent2) || isTemplateSpan(parent2)) && isConstContext(parent2.parent);\n  }\n  function checkExpressionForMutableLocation(node, checkMode, contextualType, forceTuple) {\n    const type = checkExpression(node, checkMode, forceTuple);\n    return isConstContext(node) || isCommonJsExportedExpression(node) ? getRegularTypeOfLiteralType(type) : isTypeAssertion3(node) ? type : getWidenedLiteralLikeTypeForContextualType(type, instantiateContextualType(arguments.length === 2 ? getContextualType2(node, void 0) : contextualType, node, void 0));\n  }\n  function checkPropertyAssignment(node, checkMode) {\n    if (node.name.kind === 166 /* ComputedPropertyName */) {\n      checkComputedPropertyName(node.name);\n    }\n    return checkExpressionForMutableLocation(node.initializer, checkMode);\n  }\n  function checkObjectLiteralMethod(node, checkMode) {\n    checkGrammarMethod(node);\n    if (node.name.kind === 166 /* ComputedPropertyName */) {\n      checkComputedPropertyName(node.name);\n    }\n    const uninstantiatedType = checkFunctionExpressionOrObjectLiteralMethod(node, checkMode);\n    return instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode);\n  }\n  function instantiateTypeWithSingleGenericCallSignature(node, type, checkMode) {\n    if (checkMode && checkMode & (2 /* Inferential */ | 8 /* SkipGenericFunctions */)) {\n      const callSignature = getSingleSignature(type, 0 /* Call */, true);\n      const constructSignature = getSingleSignature(type, 1 /* Construct */, true);\n      const signature = callSignature || constructSignature;\n      if (signature && signature.typeParameters) {\n        const contextualType = getApparentTypeOfContextualType(node, 2 /* NoConstraints */);\n        if (contextualType) {\n          const contextualSignature = getSingleSignature(getNonNullableType3(contextualType), callSignature ? 0 /* Call */ : 1 /* Construct */, false);\n          if (contextualSignature && !contextualSignature.typeParameters) {\n            if (checkMode & 8 /* SkipGenericFunctions */) {\n              skippedGenericFunction(node, checkMode);\n              return anyFunctionType;\n            }\n            const context = getInferenceContext(node);\n            const returnType = context.signature && getReturnTypeOfSignature(context.signature);\n            const returnSignature = returnType && getSingleCallOrConstructSignature(returnType);\n            if (returnSignature && !returnSignature.typeParameters && !every(context.inferences, hasInferenceCandidates)) {\n              const uniqueTypeParameters = getUniqueTypeParameters(context, signature.typeParameters);\n              const instantiatedSignature = getSignatureInstantiationWithoutFillingInTypeArguments(signature, uniqueTypeParameters);\n              const inferences = map(context.inferences, (info) => createInferenceInfo(info.typeParameter));\n              applyToParameterTypes(instantiatedSignature, contextualSignature, (source, target) => {\n                inferTypes(inferences, source, target, 0, true);\n              });\n              if (some(inferences, hasInferenceCandidates)) {\n                applyToReturnTypes(instantiatedSignature, contextualSignature, (source, target) => {\n                  inferTypes(inferences, source, target);\n                });\n                if (!hasOverlappingInferences(context.inferences, inferences)) {\n                  mergeInferences(context.inferences, inferences);\n                  context.inferredTypeParameters = concatenate(context.inferredTypeParameters, uniqueTypeParameters);\n                  return getOrCreateTypeFromSignature(instantiatedSignature);\n                }\n              }\n            }\n            return getOrCreateTypeFromSignature(instantiateSignatureInContextOf(signature, contextualSignature, context));\n          }\n        }\n      }\n    }\n    return type;\n  }\n  function skippedGenericFunction(node, checkMode) {\n    if (checkMode & 2 /* Inferential */) {\n      const context = getInferenceContext(node);\n      context.flags |= 4 /* SkippedGenericFunction */;\n    }\n  }\n  function hasInferenceCandidates(info) {\n    return !!(info.candidates || info.contraCandidates);\n  }\n  function hasInferenceCandidatesOrDefault(info) {\n    return !!(info.candidates || info.contraCandidates || hasTypeParameterDefault(info.typeParameter));\n  }\n  function hasOverlappingInferences(a, b) {\n    for (let i = 0; i < a.length; i++) {\n      if (hasInferenceCandidates(a[i]) && hasInferenceCandidates(b[i])) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function mergeInferences(target, source) {\n    for (let i = 0; i < target.length; i++) {\n      if (!hasInferenceCandidates(target[i]) && hasInferenceCandidates(source[i])) {\n        target[i] = source[i];\n      }\n    }\n  }\n  function getUniqueTypeParameters(context, typeParameters) {\n    const result = [];\n    let oldTypeParameters;\n    let newTypeParameters;\n    for (const tp of typeParameters) {\n      const name = tp.symbol.escapedName;\n      if (hasTypeParameterByName(context.inferredTypeParameters, name) || hasTypeParameterByName(result, name)) {\n        const newName = getUniqueTypeParameterName(concatenate(context.inferredTypeParameters, result), name);\n        const symbol = createSymbol(262144 /* TypeParameter */, newName);\n        const newTypeParameter = createTypeParameter(symbol);\n        newTypeParameter.target = tp;\n        oldTypeParameters = append(oldTypeParameters, tp);\n        newTypeParameters = append(newTypeParameters, newTypeParameter);\n        result.push(newTypeParameter);\n      } else {\n        result.push(tp);\n      }\n    }\n    if (newTypeParameters) {\n      const mapper = createTypeMapper(oldTypeParameters, newTypeParameters);\n      for (const tp of newTypeParameters) {\n        tp.mapper = mapper;\n      }\n    }\n    return result;\n  }\n  function hasTypeParameterByName(typeParameters, name) {\n    return some(typeParameters, (tp) => tp.symbol.escapedName === name);\n  }\n  function getUniqueTypeParameterName(typeParameters, baseName) {\n    let len = baseName.length;\n    while (len > 1 && baseName.charCodeAt(len - 1) >= 48 /* _0 */ && baseName.charCodeAt(len - 1) <= 57 /* _9 */)\n      len--;\n    const s = baseName.slice(0, len);\n    for (let index = 1; true; index++) {\n      const augmentedName = s + index;\n      if (!hasTypeParameterByName(typeParameters, augmentedName)) {\n        return augmentedName;\n      }\n    }\n  }\n  function getReturnTypeOfSingleNonGenericCallSignature(funcType) {\n    const signature = getSingleCallSignature(funcType);\n    if (signature && !signature.typeParameters) {\n      return getReturnTypeOfSignature(signature);\n    }\n  }\n  function getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) {\n    const funcType = checkExpression(expr.expression);\n    const nonOptionalType = getOptionalExpressionType(funcType, expr.expression);\n    const returnType = getReturnTypeOfSingleNonGenericCallSignature(funcType);\n    return returnType && propagateOptionalTypeMarker(returnType, expr, nonOptionalType !== funcType);\n  }\n  function getTypeOfExpression(node, checkMode) {\n    const quickType = getQuickTypeOfExpression(node);\n    if (quickType) {\n      return quickType;\n    }\n    if (node.flags & 134217728 /* TypeCached */ && flowTypeCache) {\n      const cachedType = flowTypeCache[getNodeId(node)];\n      if (cachedType) {\n        return cachedType;\n      }\n    }\n    const startInvocationCount = flowInvocationCount;\n    const type = checkExpression(node, checkMode);\n    if (flowInvocationCount !== startInvocationCount) {\n      const cache = flowTypeCache || (flowTypeCache = []);\n      cache[getNodeId(node)] = type;\n      setNodeFlags(node, node.flags | 134217728 /* TypeCached */);\n    }\n    return type;\n  }\n  function getQuickTypeOfExpression(node) {\n    let expr = skipParentheses(node, true);\n    if (isJSDocTypeAssertion(expr)) {\n      const type = getJSDocTypeAssertionType(expr);\n      if (!isConstTypeReference(type)) {\n        return getTypeFromTypeNode(type);\n      }\n    }\n    expr = skipParentheses(node);\n    if (isCallExpression(expr) && expr.expression.kind !== 107 /* SuperKeyword */ && !isRequireCall(expr, true) && !isSymbolOrSymbolForCall(expr)) {\n      const type = isCallChain(expr) ? getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) : getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(expr.expression, 128 /* SkipEtsComponentBody */));\n      if (type) {\n        return type;\n      }\n    } else if (isEtsComponentExpression(expr) && expr.expression.kind !== 107 /* SuperKeyword */ && !isRequireCall(expr, true) && !isSymbolOrSymbolForCall(expr)) {\n      const type = isCallChain(expr) ? getReturnTypeOfSingleNonGenericSignatureOfCallChain(expr) : getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(expr.expression, 128 /* SkipEtsComponentBody */));\n      if (type) {\n        return type;\n      }\n    } else if (isAssertionExpression(expr) && !isConstTypeReference(expr.type)) {\n      return getTypeFromTypeNode(expr.type);\n    } else if (node.kind === 8 /* NumericLiteral */ || node.kind === 10 /* StringLiteral */ || node.kind === 111 /* TrueKeyword */ || node.kind === 96 /* FalseKeyword */) {\n      return checkExpression(node);\n    }\n    return void 0;\n  }\n  function getContextFreeTypeOfExpression(node) {\n    const links = getNodeLinks(node);\n    if (links.contextFreeType) {\n      return links.contextFreeType;\n    }\n    const saveContextualType = node.contextualType;\n    node.contextualType = anyType;\n    try {\n      const type = links.contextFreeType = checkExpression(node, 4 /* SkipContextSensitive */);\n      return type;\n    } finally {\n      node.contextualType = saveContextualType;\n    }\n  }\n  function checkExpression(node, checkMode, forceTuple) {\n    var _a2, _b;\n    (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Check, \"checkExpression\", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });\n    PerformanceDotting.start(\"checkExpression\", performanceFileName);\n    const saveCurrentNode = currentNode;\n    currentNode = node;\n    instantiationCount = 0;\n    const uninstantiatedType = checkExpressionWorker(node, checkMode, forceTuple);\n    const type = instantiateTypeWithSingleGenericCallSignature(node, uninstantiatedType, checkMode);\n    if (isConstEnumObjectType(type)) {\n      checkConstEnumAccess(node, type);\n    }\n    currentNode = saveCurrentNode;\n    PerformanceDotting.stop(\"checkExpression\");\n    (_b = tracing) == null ? void 0 : _b.pop();\n    return type;\n  }\n  function checkConstEnumAccess(node, type) {\n    const ok = node.parent.kind === 211 /* PropertyAccessExpression */ && node.parent.expression === node || node.parent.kind === 212 /* ElementAccessExpression */ && node.parent.expression === node || ((node.kind === 79 /* Identifier */ || node.kind === 165 /* QualifiedName */) && isInRightSideOfImportOrExportAssignment(node) || node.parent.kind === 186 /* TypeQuery */ && node.parent.exprName === node) || node.parent.kind === 284 /* ExportSpecifier */;\n    if (!ok) {\n      error(node, Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query);\n    }\n    if (compilerOptions.isolatedModules) {\n      Debug.assert(!!(type.symbol.flags & 128 /* ConstEnum */));\n      const constEnumDeclaration = type.symbol.valueDeclaration;\n      if (constEnumDeclaration.flags & 16777216 /* Ambient */) {\n        error(node, Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided);\n      }\n    }\n  }\n  function checkParenthesizedExpression(node, checkMode) {\n    if (hasJSDocNodes(node) && isJSDocTypeAssertion(node)) {\n      const type = getJSDocTypeAssertionType(node);\n      return checkAssertionWorker(type, type, node.expression, checkMode);\n    }\n    return checkExpression(node.expression, checkMode);\n  }\n  function checkExpressionWorker(node, checkMode, forceTuple) {\n    const kind = node.kind;\n    if (cancellationToken) {\n      switch (kind) {\n        case 232 /* ClassExpression */:\n        case 218 /* FunctionExpression */:\n        case 219 /* ArrowFunction */:\n          cancellationToken.throwIfCancellationRequested();\n      }\n    }\n    switch (kind) {\n      case 79 /* Identifier */:\n        return checkIdentifier(node, checkMode);\n      case 80 /* PrivateIdentifier */:\n        return checkPrivateIdentifierExpression(node);\n      case 109 /* ThisKeyword */:\n        return checkThisExpression(node);\n      case 107 /* SuperKeyword */:\n        return checkSuperExpression(node);\n      case 105 /* NullKeyword */:\n        return nullWideningType;\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 10 /* StringLiteral */:\n        return getFreshTypeOfLiteralType(getStringLiteralType(node.text));\n      case 8 /* NumericLiteral */:\n        checkGrammarNumericLiteral(node);\n        return getFreshTypeOfLiteralType(getNumberLiteralType(+node.text));\n      case 9 /* BigIntLiteral */:\n        checkGrammarBigIntLiteral(node);\n        return getFreshTypeOfLiteralType(getBigIntLiteralType({\n          negative: false,\n          base10Value: parsePseudoBigInt(node.text)\n        }));\n      case 111 /* TrueKeyword */:\n        return trueType;\n      case 96 /* FalseKeyword */:\n        return falseType;\n      case 229 /* TemplateExpression */:\n        return checkTemplateExpression(node);\n      case 13 /* RegularExpressionLiteral */:\n        return globalRegExpType;\n      case 209 /* ArrayLiteralExpression */:\n        return checkArrayLiteral(node, checkMode, forceTuple);\n      case 210 /* ObjectLiteralExpression */:\n        return checkObjectLiteral(node, checkMode);\n      case 211 /* PropertyAccessExpression */:\n        return checkPropertyAccessExpression(node, checkMode);\n      case 165 /* QualifiedName */:\n        return checkQualifiedName(node, checkMode);\n      case 212 /* ElementAccessExpression */:\n        return checkIndexedAccess(node, checkMode);\n      case 213 /* CallExpression */:\n        if (node.expression.kind === 101 /* ImportKeyword */) {\n          return checkImportCallExpression(node);\n        }\n      case 214 /* NewExpression */:\n        return checkCallExpression(node, checkMode);\n      case 220 /* EtsComponentExpression */:\n        const newNode = node;\n        if (newNode.body && newNode.body.statements.length) {\n          traverseEtsComponentStatements(newNode.body.statements, checkMode);\n        }\n        return checkCallExpression(node, checkMode);\n      case 215 /* TaggedTemplateExpression */:\n        return checkTaggedTemplateExpression(node);\n      case 217 /* ParenthesizedExpression */:\n        return checkParenthesizedExpression(node, checkMode);\n      case 232 /* ClassExpression */:\n        return checkClassExpression(node);\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        return checkFunctionExpressionOrObjectLiteralMethod(node, checkMode);\n      case 222 /* TypeOfExpression */:\n        return checkTypeOfExpression(node);\n      case 216 /* TypeAssertionExpression */:\n      case 235 /* AsExpression */:\n        return checkAssertion(node);\n      case 236 /* NonNullExpression */:\n        return checkNonNullAssertion(node);\n      case 234 /* ExpressionWithTypeArguments */:\n        return checkExpressionWithTypeArguments(node);\n      case 239 /* SatisfiesExpression */:\n        return checkSatisfiesExpression(node);\n      case 237 /* MetaProperty */:\n        return checkMetaProperty(node);\n      case 221 /* DeleteExpression */:\n        return checkDeleteExpression(node);\n      case 223 /* VoidExpression */:\n        return checkVoidExpression(node);\n      case 224 /* AwaitExpression */:\n        return checkAwaitExpression(node);\n      case 225 /* PrefixUnaryExpression */:\n        return checkPrefixUnaryExpression(node);\n      case 226 /* PostfixUnaryExpression */:\n        return checkPostfixUnaryExpression(node);\n      case 227 /* BinaryExpression */:\n        return checkBinaryExpression(node, checkMode);\n      case 228 /* ConditionalExpression */:\n        return checkConditionalExpression(node, checkMode);\n      case 231 /* SpreadElement */:\n        return checkSpreadExpression(node, checkMode);\n      case 233 /* OmittedExpression */:\n        return undefinedWideningType;\n      case 230 /* YieldExpression */:\n        return checkYieldExpression(node);\n      case 238 /* SyntheticExpression */:\n        return checkSyntheticExpression(node);\n      case 297 /* JsxExpression */:\n        return checkJsxExpression(node, checkMode);\n      case 287 /* JsxElement */:\n        return checkJsxElement(node, checkMode);\n      case 288 /* JsxSelfClosingElement */:\n        return checkJsxSelfClosingElement(node, checkMode);\n      case 291 /* JsxFragment */:\n        return checkJsxFragment(node);\n      case 295 /* JsxAttributes */:\n        return checkJsxAttributes(node, checkMode);\n      case 289 /* JsxOpeningElement */:\n        Debug.fail(\"Shouldn't ever directly check a JsxOpeningElement\");\n    }\n    return errorType;\n  }\n  function checkIfEtsComponent(node, checkMode) {\n    checkIfChildComponent(node, checkMode);\n    if (node.thenStatement && isBlock(node.thenStatement) && node.thenStatement.statements) {\n      traverseEtsComponentStatements(node.thenStatement.statements, checkMode);\n    }\n    if (node.elseStatement) {\n      if (isIfStatement(node.elseStatement)) {\n        checkIfEtsComponent(node.elseStatement, checkMode);\n      }\n      if (isBlock(node.elseStatement) && node.elseStatement.statements) {\n        traverseEtsComponentStatements(node.elseStatement.statements, checkMode);\n      }\n    }\n  }\n  function checkIfChildComponent(node, checkMode) {\n    if (node.expression) {\n      checkExpressionWorker(node.expression, checkMode);\n    }\n    node.getChildren().forEach((item) => checkIfChildComponent(item, checkMode));\n  }\n  function traverseEtsComponentStatements(statements, checkMode) {\n    if (statements.length) {\n      statements.forEach((item) => {\n        if (isIfStatement(item)) {\n          checkIfEtsComponent(item, checkMode);\n        } else if (item.expression) {\n          checkExpressionWorker(item.expression, checkMode);\n        }\n      });\n    }\n  }\n  function checkTypeParameter(node) {\n    checkGrammarModifiers(node);\n    if (node.expression) {\n      grammarErrorOnFirstToken(node.expression, Diagnostics.Type_expected);\n    }\n    checkSourceElement(node.constraint);\n    checkSourceElement(node.default);\n    const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfNode(node));\n    getBaseConstraintOfType(typeParameter);\n    if (!hasNonCircularTypeParameterDefault(typeParameter)) {\n      error(node.default, Diagnostics.Type_parameter_0_has_a_circular_default, typeToString(typeParameter));\n    }\n    const constraintType = getConstraintOfTypeParameter(typeParameter);\n    const defaultType = getDefaultFromTypeParameter(typeParameter);\n    if (constraintType && defaultType) {\n      checkTypeAssignableTo(defaultType, getTypeWithThisArgument(instantiateType(constraintType, makeUnaryTypeMapper(typeParameter, defaultType)), defaultType), node.default, Diagnostics.Type_0_does_not_satisfy_the_constraint_1);\n    }\n    checkNodeDeferred(node);\n    addLazyDiagnostic(() => checkTypeNameIsReserved(node.name, Diagnostics.Type_parameter_name_cannot_be_0));\n  }\n  function checkTypeParameterDeferred(node) {\n    var _a2, _b;\n    PerformanceDotting.start(\"checkTypeParameterDeferred\", performanceFileName);\n    if (isInterfaceDeclaration(node.parent) || isClassLike(node.parent) || isTypeAliasDeclaration(node.parent)) {\n      const typeParameter = getDeclaredTypeOfTypeParameter(getSymbolOfNode(node));\n      const modifiers = getVarianceModifiers(typeParameter);\n      if (modifiers) {\n        const symbol = getSymbolOfNode(node.parent);\n        if (isTypeAliasDeclaration(node.parent) && !(getObjectFlags(getDeclaredTypeOfSymbol(symbol)) & (16 /* Anonymous */ | 32 /* Mapped */))) {\n          error(node, Diagnostics.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);\n        } else if (modifiers === 32768 /* In */ || modifiers === 65536 /* Out */) {\n          (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.CheckTypes, \"checkTypeParameterDeferred\", { parent: getTypeId(getDeclaredTypeOfSymbol(symbol)), id: getTypeId(typeParameter) });\n          const source = createMarkerType(symbol, typeParameter, modifiers === 65536 /* Out */ ? markerSubTypeForCheck : markerSuperTypeForCheck);\n          const target = createMarkerType(symbol, typeParameter, modifiers === 65536 /* Out */ ? markerSuperTypeForCheck : markerSubTypeForCheck);\n          const saveVarianceTypeParameter = typeParameter;\n          varianceTypeParameter = typeParameter;\n          checkTypeAssignableTo(source, target, node, Diagnostics.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation);\n          varianceTypeParameter = saveVarianceTypeParameter;\n          (_b = tracing) == null ? void 0 : _b.pop();\n        }\n      }\n    }\n    PerformanceDotting.stop(\"checkTypeParameterDeferred\");\n  }\n  function checkParameter(node) {\n    checkGrammarDecoratorsAndModifiers(node);\n    checkVariableLikeDeclaration(node);\n    const func = getContainingFunction(node);\n    if (hasSyntacticModifier(node, 16476 /* ParameterPropertyModifier */)) {\n      if (!(func.kind === 176 /* Constructor */ && nodeIsPresent(func.body))) {\n        error(node, Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation);\n      }\n      if (func.kind === 176 /* Constructor */ && isIdentifier(node.name) && node.name.escapedText === \"constructor\") {\n        error(node.name, Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name);\n      }\n    }\n    if ((node.questionToken || isJSDocOptionalParameter(node)) && isBindingPattern(node.name) && func.body) {\n      error(node, Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature);\n    }\n    if (node.name && isIdentifier(node.name) && (node.name.escapedText === \"this\" || node.name.escapedText === \"new\")) {\n      if (func.parameters.indexOf(node) !== 0) {\n        error(node, Diagnostics.A_0_parameter_must_be_the_first_parameter, node.name.escapedText);\n      }\n      if (func.kind === 176 /* Constructor */ || func.kind === 180 /* ConstructSignature */ || func.kind === 185 /* ConstructorType */) {\n        error(node, Diagnostics.A_constructor_cannot_have_a_this_parameter);\n      }\n      if (func.kind === 219 /* ArrowFunction */) {\n        error(node, Diagnostics.An_arrow_function_cannot_have_a_this_parameter);\n      }\n      if (func.kind === 177 /* GetAccessor */ || func.kind === 178 /* SetAccessor */) {\n        error(node, Diagnostics.get_and_set_accessors_cannot_declare_this_parameters);\n      }\n    }\n    if (node.dotDotDotToken && !isBindingPattern(node.name) && !isTypeAssignableTo(getReducedType(getTypeOfSymbol(node.symbol)), anyReadonlyArrayType)) {\n      error(node, Diagnostics.A_rest_parameter_must_be_of_an_array_type);\n    }\n  }\n  function checkTypePredicate(node) {\n    const parent2 = getTypePredicateParent(node);\n    if (!parent2) {\n      error(node, Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);\n      return;\n    }\n    const signature = getSignatureFromDeclaration(parent2);\n    const typePredicate = getTypePredicateOfSignature(signature);\n    if (!typePredicate) {\n      return;\n    }\n    checkSourceElement(node.type);\n    const { parameterName } = node;\n    if (typePredicate.kind === 0 /* This */ || typePredicate.kind === 2 /* AssertsThis */) {\n      getTypeFromThisTypeNode(parameterName);\n    } else {\n      if (typePredicate.parameterIndex >= 0) {\n        if (signatureHasRestParameter(signature) && typePredicate.parameterIndex === signature.parameters.length - 1) {\n          error(parameterName, Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter);\n        } else {\n          if (typePredicate.type) {\n            const leadingError = () => chainDiagnosticMessages(void 0, Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);\n            checkTypeAssignableTo(\n              typePredicate.type,\n              getTypeOfSymbol(signature.parameters[typePredicate.parameterIndex]),\n              node.type,\n              void 0,\n              leadingError\n            );\n          }\n        }\n      } else if (parameterName) {\n        let hasReportedError = false;\n        for (const { name } of parent2.parameters) {\n          if (isBindingPattern(name) && checkIfTypePredicateVariableIsDeclaredInBindingPattern(name, parameterName, typePredicate.parameterName)) {\n            hasReportedError = true;\n            break;\n          }\n        }\n        if (!hasReportedError) {\n          error(node.parameterName, Diagnostics.Cannot_find_parameter_0, typePredicate.parameterName);\n        }\n      }\n    }\n  }\n  function getTypePredicateParent(node) {\n    switch (node.parent.kind) {\n      case 219 /* ArrowFunction */:\n      case 179 /* CallSignature */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 184 /* FunctionType */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        const parent2 = node.parent;\n        if (node === parent2.type) {\n          return parent2;\n        }\n    }\n  }\n  function checkIfTypePredicateVariableIsDeclaredInBindingPattern(pattern, predicateVariableNode, predicateVariableName) {\n    for (const element of pattern.elements) {\n      if (isOmittedExpression(element)) {\n        continue;\n      }\n      const name = element.name;\n      if (name.kind === 79 /* Identifier */ && name.escapedText === predicateVariableName) {\n        error(\n          predicateVariableNode,\n          Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,\n          predicateVariableName\n        );\n        return true;\n      } else if (name.kind === 207 /* ArrayBindingPattern */ || name.kind === 206 /* ObjectBindingPattern */) {\n        if (checkIfTypePredicateVariableIsDeclaredInBindingPattern(\n          name,\n          predicateVariableNode,\n          predicateVariableName\n        )) {\n          return true;\n        }\n      }\n    }\n  }\n  function checkSignatureDeclaration(node) {\n    if (node.kind === 181 /* IndexSignature */) {\n      checkGrammarIndexSignature(node);\n    } else if (node.kind === 184 /* FunctionType */ || node.kind === 263 /* FunctionDeclaration */ || node.kind === 185 /* ConstructorType */ || node.kind === 179 /* CallSignature */ || node.kind === 176 /* Constructor */ || node.kind === 180 /* ConstructSignature */) {\n      checkGrammarFunctionLikeDeclaration(node);\n    }\n    const functionFlags = getFunctionFlags(node);\n    if (!(functionFlags & 4 /* Invalid */)) {\n      if ((functionFlags & 3 /* AsyncGenerator */) === 3 /* AsyncGenerator */ && languageVersion < 99 /* ESNext */) {\n        checkExternalEmitHelpers(node, 6144 /* AsyncGeneratorIncludes */);\n      }\n      if ((functionFlags & 3 /* AsyncGenerator */) === 2 /* Async */ && languageVersion < 4 /* ES2017 */) {\n        checkExternalEmitHelpers(node, 64 /* Awaiter */);\n      }\n      if ((functionFlags & 3 /* AsyncGenerator */) !== 0 /* Normal */ && languageVersion < 2 /* ES2015 */) {\n        checkExternalEmitHelpers(node, 128 /* Generator */);\n      }\n    }\n    checkTypeParameters(getEffectiveTypeParameterDeclarations(node));\n    checkUnmatchedJSDocParameters(node);\n    forEach(node.parameters, checkParameter);\n    if (node.type) {\n      checkSourceElement(node.type);\n    }\n    addLazyDiagnostic(checkSignatureDeclarationDiagnostics);\n    function checkSignatureDeclarationDiagnostics() {\n      checkCollisionWithArgumentsInGeneratedCode(node);\n      const returnTypeNode = getEffectiveReturnTypeNode(node);\n      if (noImplicitAny && !returnTypeNode) {\n        switch (node.kind) {\n          case 180 /* ConstructSignature */:\n            error(node, Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);\n            break;\n          case 179 /* CallSignature */:\n            error(node, Diagnostics.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);\n            break;\n        }\n      }\n      if (returnTypeNode) {\n        const functionFlags2 = getFunctionFlags(node);\n        if ((functionFlags2 & (4 /* Invalid */ | 1 /* Generator */)) === 1 /* Generator */) {\n          const returnType = getTypeFromTypeNode(returnTypeNode);\n          if (returnType === voidType) {\n            error(returnTypeNode, Diagnostics.A_generator_cannot_have_a_void_type_annotation);\n          } else {\n            const generatorYieldType = getIterationTypeOfGeneratorFunctionReturnType(0 /* Yield */, returnType, (functionFlags2 & 2 /* Async */) !== 0) || anyType;\n            const generatorReturnType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, (functionFlags2 & 2 /* Async */) !== 0) || generatorYieldType;\n            const generatorNextType = getIterationTypeOfGeneratorFunctionReturnType(2 /* Next */, returnType, (functionFlags2 & 2 /* Async */) !== 0) || unknownType;\n            const generatorInstantiation = createGeneratorReturnType(generatorYieldType, generatorReturnType, generatorNextType, !!(functionFlags2 & 2 /* Async */));\n            checkTypeAssignableTo(generatorInstantiation, returnType, returnTypeNode);\n          }\n        } else if ((functionFlags2 & 3 /* AsyncGenerator */) === 2 /* Async */) {\n          checkAsyncFunctionReturnType(node, returnTypeNode);\n        }\n      }\n      if (node.kind !== 181 /* IndexSignature */ && node.kind !== 326 /* JSDocFunctionType */) {\n        registerForUnusedIdentifiersCheck(node);\n      }\n    }\n  }\n  function checkClassForDuplicateDeclarations(node) {\n    const instanceNames = new Map2();\n    const staticNames = new Map2();\n    const privateIdentifiers = new Map2();\n    for (const member of node.members) {\n      if (member.kind === 176 /* Constructor */) {\n        for (const param of member.parameters) {\n          if (isParameterPropertyDeclaration(param, member) && !isBindingPattern(param.name)) {\n            addName(instanceNames, param.name, param.name.escapedText, 3 /* GetOrSetAccessor */);\n          }\n        }\n      } else {\n        const isStaticMember = isStatic(member);\n        const name = member.name;\n        if (!name) {\n          continue;\n        }\n        const isPrivate = isPrivateIdentifier(name);\n        const privateStaticFlags = isPrivate && isStaticMember ? 16 /* PrivateStatic */ : 0;\n        const names = isPrivate ? privateIdentifiers : isStaticMember ? staticNames : instanceNames;\n        const memberName = name && getPropertyNameForPropertyNameNode(name);\n        if (memberName) {\n          switch (member.kind) {\n            case 177 /* GetAccessor */:\n              addName(names, name, memberName, 1 /* GetAccessor */ | privateStaticFlags);\n              break;\n            case 178 /* SetAccessor */:\n              addName(names, name, memberName, 2 /* SetAccessor */ | privateStaticFlags);\n              break;\n            case 171 /* PropertyDeclaration */:\n              addName(names, name, memberName, 3 /* GetOrSetAccessor */ | privateStaticFlags);\n              break;\n            case 172 /* AnnotationPropertyDeclaration */:\n              addName(names, name, memberName, 3 /* GetOrSetAccessor */ | privateStaticFlags);\n              break;\n            case 174 /* MethodDeclaration */:\n              addName(names, name, memberName, 8 /* Method */ | privateStaticFlags);\n              break;\n          }\n        }\n      }\n    }\n    function addName(names, location, name, meaning) {\n      const prev = names.get(name);\n      if (prev) {\n        if ((prev & 16 /* PrivateStatic */) !== (meaning & 16 /* PrivateStatic */)) {\n          error(location, Diagnostics.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name, getTextOfNode(location));\n        } else {\n          const prevIsMethod = !!(prev & 8 /* Method */);\n          const isMethod = !!(meaning & 8 /* Method */);\n          if (prevIsMethod || isMethod) {\n            if (prevIsMethod !== isMethod) {\n              error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location));\n            }\n          } else if (prev & meaning & ~16 /* PrivateStatic */) {\n            error(location, Diagnostics.Duplicate_identifier_0, getTextOfNode(location));\n          } else {\n            names.set(name, prev | meaning);\n          }\n        }\n      } else {\n        names.set(name, meaning);\n      }\n    }\n  }\n  function checkClassForStaticPropertyNameConflicts(node) {\n    for (const member of node.members) {\n      const memberNameNode = member.name;\n      const isStaticMember = isStatic(member);\n      if (isStaticMember && memberNameNode) {\n        const memberName = getPropertyNameForPropertyNameNode(memberNameNode);\n        switch (memberName) {\n          case \"name\":\n          case \"length\":\n          case \"caller\":\n          case \"arguments\":\n          case \"prototype\":\n            const message = Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1;\n            const className = getNameOfSymbolAsWritten(getSymbolOfNode(node));\n            error(memberNameNode, message, memberName, className);\n            break;\n        }\n      }\n    }\n  }\n  function checkObjectTypeForDuplicateDeclarations(node) {\n    const names = new Map2();\n    for (const member of node.members) {\n      if (member.kind === 170 /* PropertySignature */) {\n        let memberName;\n        const name = member.name;\n        switch (name.kind) {\n          case 10 /* StringLiteral */:\n          case 8 /* NumericLiteral */:\n            memberName = name.text;\n            break;\n          case 79 /* Identifier */:\n            memberName = idText(name);\n            break;\n          default:\n            continue;\n        }\n        if (names.get(memberName)) {\n          error(getNameOfDeclaration(member.symbol.valueDeclaration), Diagnostics.Duplicate_identifier_0, memberName);\n          error(member.name, Diagnostics.Duplicate_identifier_0, memberName);\n        } else {\n          names.set(memberName, true);\n        }\n      }\n    }\n  }\n  function checkTypeForDuplicateIndexSignatures(node) {\n    if (node.kind === 267 /* InterfaceDeclaration */) {\n      const nodeSymbol = getSymbolOfNode(node);\n      if (nodeSymbol.declarations && nodeSymbol.declarations.length > 0 && nodeSymbol.declarations[0] !== node) {\n        return;\n      }\n    }\n    const indexSymbol = getIndexSymbol(getSymbolOfNode(node));\n    if (indexSymbol == null ? void 0 : indexSymbol.declarations) {\n      const indexSignatureMap = new Map2();\n      for (const declaration of indexSymbol.declarations) {\n        if (declaration.parameters.length === 1 && declaration.parameters[0].type) {\n          forEachType(getTypeFromTypeNode(declaration.parameters[0].type), (type) => {\n            const entry = indexSignatureMap.get(getTypeId(type));\n            if (entry) {\n              entry.declarations.push(declaration);\n            } else {\n              indexSignatureMap.set(getTypeId(type), { type, declarations: [declaration] });\n            }\n          });\n        }\n      }\n      indexSignatureMap.forEach((entry) => {\n        if (entry.declarations.length > 1) {\n          for (const declaration of entry.declarations) {\n            error(declaration, Diagnostics.Duplicate_index_signature_for_type_0, typeToString(entry.type));\n          }\n        }\n      });\n    }\n  }\n  function isAllowedAnnotationPropertyEnumType(type) {\n    if (!type.symbol) {\n      return false;\n    }\n    if (!isConstEnumSymbol(type.symbol)) {\n      if (!type.symbol.parent || !isConstEnumSymbol(type.symbol.parent)) {\n        return false;\n      }\n    }\n    if (type.symbol.declarations) {\n      for (const decl of type.symbol.declarations) {\n        if (decl.kind === 269 /* EnumDeclaration */) {\n          const members = decl.members;\n          for (let i = 0; i < members.length; ++i) {\n            if (i > 1 && typeof getConstantValue2(members[i - 1]) !== typeof getConstantValue2(members[i])) {\n              return false;\n            }\n          }\n        }\n      }\n    }\n    return true;\n  }\n  function isAllowedAnnotationPropertyType(type) {\n    if (type === numberType || type === booleanType || type === stringType || isAllowedAnnotationPropertyEnumType(type)) {\n      return true;\n    } else if (isArrayType(type)) {\n      const elemType = getElementTypeOfArrayType(type);\n      if (!elemType) {\n        return false;\n      }\n      return isAllowedAnnotationPropertyType(elemType);\n    }\n    return false;\n  }\n  function annotationEvaluatedValueToExpr(initVal, initValType) {\n    if (initVal === void 0 || initValType === errorType) {\n      return void 0;\n    }\n    if (isArrayType(initValType) && !Array.isArray(initVal)) {\n      return void 0;\n    }\n    if (typeof initVal === \"number\") {\n      return factory.createNumericLiteral(initVal);\n    } else if (typeof initVal === \"string\") {\n      return factory.createStringLiteral(initVal);\n    } else if (initValType === booleanType && typeof initVal === \"boolean\") {\n      return initVal ? factory.createTrue() : factory.createFalse();\n    } else if (isArrayType(initValType)) {\n      Debug.assert(Array.isArray(initVal));\n      const elemType = initValType.resolvedTypeArguments[0];\n      if (initVal.length === 0) {\n        if (isArrayType(elemType)) {\n          return factory.createArrayLiteralExpression([annotationEvaluatedValueToExpr(initVal, elemType)]);\n        }\n        const args = new Array();\n        if (elemType.symbol && isConstEnumSymbol(elemType.symbol)) {\n          const enumMembers = elemType.symbol.declarations[0].members;\n          if (enumMembers.length === 0 || typeof getConstantValue2(enumMembers[0]) === \"number\") {\n            args.push(factory.createNumericLiteral(1));\n          } else {\n            args.push(factory.createNumericLiteral(3));\n          }\n        }\n        return factory.createNewExpression(\n          factory.createIdentifier(\"Array\"),\n          [nodeBuilder.typeToTypeNode(elemType)],\n          args\n        );\n      }\n      const result = new Array(initVal.length);\n      for (let i = 0; i < initVal.length; ++i) {\n        result[i] = annotationEvaluatedValueToExpr(initVal[i], elemType);\n        if (result[i] === void 0) {\n          return void 0;\n        }\n      }\n      return factory.createArrayLiteralExpression(result);\n    }\n    return void 0;\n  }\n  function evaluateAnnotationPropertyConstantExpression(expr) {\n    switch (expr.kind) {\n      case 225 /* PrefixUnaryExpression */:\n        const value = evaluateAnnotationPropertyConstantExpression(expr.operand);\n        if (typeof value === \"number\" || typeof value === \"string\" || typeof value === \"boolean\") {\n          switch (expr.operator) {\n            case 53 /* ExclamationToken */:\n              return !value;\n          }\n        }\n        if (typeof value === \"number\") {\n          switch (expr.operator) {\n            case 39 /* PlusToken */:\n              return value;\n            case 40 /* MinusToken */:\n              return -value;\n            case 54 /* TildeToken */:\n              return ~value;\n          }\n        }\n        break;\n      case 227 /* BinaryExpression */:\n        const left = evaluateAnnotationPropertyConstantExpression(expr.left);\n        const right = evaluateAnnotationPropertyConstantExpression(expr.right);\n        if (left !== void 0 && right !== void 0 && typeof left === typeof right) {\n          switch (expr.operatorToken.kind) {\n            case 29 /* LessThanToken */:\n              return left < right;\n            case 32 /* LessThanEqualsToken */:\n              return left <= right;\n            case 31 /* GreaterThanToken */:\n              return left > right;\n            case 33 /* GreaterThanEqualsToken */:\n              return left >= right;\n            case 36 /* EqualsEqualsEqualsToken */:\n              return left === right;\n            case 37 /* ExclamationEqualsEqualsToken */:\n              return left !== right;\n            case 34 /* EqualsEqualsToken */:\n              return left === right;\n            case 35 /* ExclamationEqualsToken */:\n              return left !== right;\n            case 55 /* AmpersandAmpersandToken */:\n              return left && right;\n            case 56 /* BarBarToken */:\n              return left || right;\n          }\n        }\n        if ((typeof left === \"number\" || typeof left === \"string\" || typeof left === \"boolean\") && (typeof right === \"number\" || typeof right === \"string\" || typeof right === \"boolean\")) {\n          switch (expr.operatorToken.kind) {\n            case 55 /* AmpersandAmpersandToken */:\n              return left && right;\n            case 56 /* BarBarToken */:\n              return left || right;\n          }\n        }\n        if (typeof left === \"number\" && typeof right === \"number\") {\n          switch (expr.operatorToken.kind) {\n            case 51 /* BarToken */:\n              return left | right;\n            case 50 /* AmpersandToken */:\n              return left & right;\n            case 48 /* GreaterThanGreaterThanToken */:\n              return left >> right;\n            case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n              return left >>> right;\n            case 47 /* LessThanLessThanToken */:\n              return left << right;\n            case 52 /* CaretToken */:\n              return left ^ right;\n            case 41 /* AsteriskToken */:\n              return left * right;\n            case 43 /* SlashToken */:\n              return left / right;\n            case 39 /* PlusToken */:\n              return left + right;\n            case 40 /* MinusToken */:\n              return left - right;\n            case 44 /* PercentToken */:\n              return left % right;\n            case 42 /* AsteriskAsteriskToken */:\n              return left ** right;\n          }\n        } else if (typeof left === \"string\" && typeof right === \"string\") {\n          switch (expr.operatorToken.kind) {\n            case 39 /* PlusToken */:\n              return left + right;\n          }\n        }\n        break;\n      case 209 /* ArrayLiteralExpression */:\n        const elements = expr.elements;\n        const result = new Array(elements.length);\n        for (let i = 0; i < elements.length; ++i) {\n          const elem = evaluateAnnotationPropertyConstantExpression(elements[i]);\n          if (elem === void 0) {\n            return void 0;\n          }\n          if (i > 0 && typeof result[i - 1] !== typeof elem) {\n            return void 0;\n          }\n          result[i] = elem;\n        }\n        return result;\n      case 111 /* TrueKeyword */:\n        return true;\n      case 96 /* FalseKeyword */:\n        return false;\n      case 10 /* StringLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n        return expr.text;\n      case 8 /* NumericLiteral */:\n        checkGrammarNumericLiteral(expr);\n        return +expr.text;\n      case 217 /* ParenthesizedExpression */:\n        return evaluateAnnotationPropertyConstantExpression(expr.expression);\n      case 79 /* Identifier */:\n        if (isInfinityOrNaNString(expr.escapedText)) {\n          return +expr.escapedText;\n        }\n        const symbol = getExportSymbolOfValueSymbolIfExported(getResolvedSymbol(expr));\n        if (!symbol || !isConstVariable(symbol)) {\n          return void 0;\n        }\n        if (symbol.valueDeclaration && hasOnlyExpressionInitializer(symbol.valueDeclaration) && symbol.valueDeclaration.initializer) {\n          return evaluateAnnotationPropertyConstantExpression(symbol.valueDeclaration.initializer);\n        }\n        break;\n      case 211 /* PropertyAccessExpression */:\n        if (isConstantMemberAccess(expr)) {\n          return getConstantValue2(expr);\n        }\n        break;\n    }\n    return void 0;\n  }\n  function checkPropertyDeclaration(node) {\n    if (!isAnnotationPropertyDeclaration(node) && !checkGrammarDecoratorsAndModifiers(node) && !checkGrammarProperty(node)) {\n      checkGrammarComputedPropertyName(node.name);\n    }\n    if (isAnnotationPropertyDeclaration(node)) {\n      if (!node.type && !node.initializer) {\n        error(node, Diagnostics.An_annotation_property_must_have_a_type_or_Slashand_an_initializer);\n      }\n    }\n    checkVariableLikeDeclaration(node);\n    setNodeLinksForPrivateIdentifierScope(node);\n    if (hasSyntacticModifier(node, 256 /* Abstract */) && node.kind === 171 /* PropertyDeclaration */ && node.initializer) {\n      error(node, Diagnostics.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract, declarationNameToString(node.name));\n    }\n    if (isAnnotationPropertyDeclaration(node)) {\n      checkAnnotationPropertyDeclaration(node);\n    }\n  }\n  function checkAnnotationPropertyDeclaration(node) {\n    const propType = getTypeOfNode(node);\n    if (!isAllowedAnnotationPropertyType(propType)) {\n      error(node, Diagnostics.A_type_of_annotation_property_have_to_be_number_boolean_string_const_enumeration_types_or_array_of_above_types_got_Colon_0, typeToString(propType));\n    }\n    if (node.initializer) {\n      const evaluated = evaluateAnnotationPropertyConstantExpression(node.initializer);\n      if (evaluated === void 0) {\n        error(node, Diagnostics.Default_value_of_annotation_property_can_be_a_constant_expression_got_Colon_0, getTextOfNode(node.initializer, false));\n      } else {\n        const evaluatedExpr = annotationEvaluatedValueToExpr(evaluated, getTypeOfNode(node));\n        getNodeLinks(node).annotationPropertyEvaluatedInitializer = evaluatedExpr;\n      }\n    }\n    if (!node.initializer) {\n      const initializer = addAnnotationPropertyEnumInitalizer(propType);\n      if (initializer) {\n        getNodeLinks(node).annotationPropertyEvaluatedInitializer = initializer;\n      }\n    }\n    getNodeLinks(node).annotationPropertyInferredType = nodeBuilder.typeToTypeNode(propType);\n  }\n  function addAnnotationPropertyEnumInitalizer(propType) {\n    if (propType.symbol && isConstEnumSymbol(propType.symbol)) {\n      const enumMembers = propType.symbol.declarations[0].members;\n      const firstMemeberVal = getConstantValue2(enumMembers[0]);\n      if (enumMembers.length === 0 || typeof firstMemeberVal === \"number\") {\n        return factory.createAsExpression(\n          factory.createNewExpression(\n            factory.createIdentifier(\n              typeToString(globalNumberType)\n            ),\n            void 0,\n            [factory.createNumericLiteral(firstMemeberVal)]\n          ),\n          nodeBuilder.typeToTypeNode(numberType)\n        );\n      }\n    } else if (isArrayType(propType)) {\n      return addAnnotationPropertyEnumArrayInitalizer(propType);\n    }\n    return void 0;\n  }\n  function addAnnotationPropertyEnumArrayInitalizer(propType) {\n    if (isArrayType(propType)) {\n      const elemType = propType.resolvedTypeArguments[0];\n      if (isArrayType(elemType)) {\n        const arr = addAnnotationPropertyEnumArrayInitalizer(elemType);\n        if (arr) {\n          return factory.createArrayLiteralExpression([arr]);\n        }\n      }\n      if (elemType.symbol && isConstEnumSymbol(elemType.symbol)) {\n        const args = new Array();\n        const enumMembers = elemType.symbol.declarations[0].members;\n        if (enumMembers.length === 0 || typeof getConstantValue2(enumMembers[0]) === \"number\") {\n          args.push(factory.createNumericLiteral(0));\n        } else {\n          args.push(factory.createNumericLiteral(2));\n        }\n        return factory.createNewExpression(\n          factory.createIdentifier(\n            typeToString(propType, void 0, 2 /* WriteArrayAsGenericType */)\n          ),\n          void 0,\n          args\n        );\n      }\n    }\n    return void 0;\n  }\n  function checkPropertySignature(node) {\n    if (isPrivateIdentifier(node.name)) {\n      error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n    }\n    return checkPropertyDeclaration(node);\n  }\n  function checkMethodDeclaration(node) {\n    if (!checkGrammarMethod(node))\n      checkGrammarComputedPropertyName(node.name);\n    if (isMethodDeclaration(node) && node.asteriskToken && isIdentifier(node.name) && idText(node.name) === \"constructor\") {\n      error(node.name, Diagnostics.Class_constructor_may_not_be_a_generator);\n    }\n    checkFunctionOrMethodDeclaration(node);\n    if (hasSyntacticModifier(node, 256 /* Abstract */) && node.kind === 174 /* MethodDeclaration */ && node.body) {\n      error(node, Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract, declarationNameToString(node.name));\n    }\n    if (isPrivateIdentifier(node.name) && !getContainingClass(node)) {\n      error(node, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n    }\n    setNodeLinksForPrivateIdentifierScope(node);\n  }\n  function setNodeLinksForPrivateIdentifierScope(node) {\n    if (isPrivateIdentifier(node.name) && languageVersion < 99 /* ESNext */) {\n      for (let lexicalScope = getEnclosingBlockScopeContainer(node); !!lexicalScope; lexicalScope = getEnclosingBlockScopeContainer(lexicalScope)) {\n        getNodeLinks(lexicalScope).flags |= 67108864 /* ContainsClassWithPrivateIdentifiers */;\n      }\n      if (isClassExpression(node.parent)) {\n        const enclosingIterationStatement = getEnclosingIterationStatement(node.parent);\n        if (enclosingIterationStatement) {\n          getNodeLinks(node.name).flags |= 524288 /* BlockScopedBindingInLoop */;\n          getNodeLinks(enclosingIterationStatement).flags |= 65536 /* LoopWithCapturedBlockScopedBinding */;\n        }\n      }\n    }\n  }\n  function checkClassStaticBlockDeclaration(node) {\n    checkGrammarDecoratorsAndModifiers(node);\n    forEachChild(node, checkSourceElement);\n  }\n  function checkConstructorDeclaration(node) {\n    if (node.virtual) {\n      return;\n    }\n    checkSignatureDeclaration(node);\n    if (!checkGrammarConstructorTypeParameters(node))\n      checkGrammarConstructorTypeAnnotation(node);\n    checkSourceElement(node.body);\n    const symbol = getSymbolOfNode(node);\n    const firstDeclaration = getDeclarationOfKind(symbol, node.kind);\n    if (node === firstDeclaration) {\n      checkFunctionOrConstructorSymbol(symbol);\n    }\n    if (nodeIsMissing(node.body)) {\n      return;\n    }\n    addLazyDiagnostic(checkConstructorDeclarationDiagnostics);\n    return;\n    function isInstancePropertyWithInitializerOrPrivateIdentifierProperty(n) {\n      if (isPrivateIdentifierClassElementDeclaration(n)) {\n        return true;\n      }\n      return n.kind === 171 /* PropertyDeclaration */ && !isStatic(n) && !!n.initializer;\n    }\n    function checkConstructorDeclarationDiagnostics() {\n      const containingClassDecl = node.parent;\n      if (getClassExtendsHeritageElement(containingClassDecl)) {\n        captureLexicalThis(node.parent, containingClassDecl);\n        const classExtendsNull = classDeclarationExtendsNull(containingClassDecl);\n        const superCall = findFirstSuperCall(node.body);\n        if (superCall) {\n          if (classExtendsNull) {\n            error(superCall, Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null);\n          }\n          const superCallShouldBeRootLevel = (getEmitScriptTarget(compilerOptions) !== 99 /* ESNext */ || !useDefineForClassFields) && (some(node.parent.members, isInstancePropertyWithInitializerOrPrivateIdentifierProperty) || some(node.parameters, (p) => hasSyntacticModifier(p, 16476 /* ParameterPropertyModifier */)));\n          if (superCallShouldBeRootLevel) {\n            if (!superCallIsRootLevelInConstructor(superCall, node.body)) {\n              error(superCall, Diagnostics.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers);\n            } else {\n              let superCallStatement;\n              for (const statement of node.body.statements) {\n                if (isExpressionStatement(statement) && isSuperCall(skipOuterExpressions(statement.expression))) {\n                  superCallStatement = statement;\n                  break;\n                }\n                if (nodeImmediatelyReferencesSuperOrThis(statement)) {\n                  break;\n                }\n              }\n              if (superCallStatement === void 0) {\n                error(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);\n              }\n            }\n          }\n        } else if (!classExtendsNull) {\n          error(node, Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call);\n        }\n      }\n    }\n  }\n  function superCallIsRootLevelInConstructor(superCall, body) {\n    const superCallParent = walkUpParenthesizedExpressions(superCall.parent);\n    return isExpressionStatement(superCallParent) && superCallParent.parent === body;\n  }\n  function nodeImmediatelyReferencesSuperOrThis(node) {\n    if (node.kind === 107 /* SuperKeyword */ || node.kind === 109 /* ThisKeyword */) {\n      return true;\n    }\n    if (isThisContainerOrFunctionBlock(node)) {\n      return false;\n    }\n    return !!forEachChild(node, nodeImmediatelyReferencesSuperOrThis);\n  }\n  function checkAccessorDeclaration(node) {\n    if (isIdentifier(node.name) && idText(node.name) === \"constructor\") {\n      error(node.name, Diagnostics.Class_constructor_may_not_be_an_accessor);\n    }\n    addLazyDiagnostic(checkAccessorDeclarationDiagnostics);\n    checkSourceElement(node.body);\n    setNodeLinksForPrivateIdentifierScope(node);\n    function checkAccessorDeclarationDiagnostics() {\n      if (!checkGrammarFunctionLikeDeclaration(node) && !checkGrammarAccessor(node))\n        checkGrammarComputedPropertyName(node.name);\n      checkDecorators(node);\n      checkSignatureDeclaration(node);\n      if (node.kind === 177 /* GetAccessor */) {\n        if (!(node.flags & 16777216 /* Ambient */) && nodeIsPresent(node.body) && node.flags & 256 /* HasImplicitReturn */) {\n          if (!(node.flags & 512 /* HasExplicitReturn */)) {\n            error(node.name, Diagnostics.A_get_accessor_must_return_a_value);\n          }\n        }\n      }\n      if (node.name.kind === 166 /* ComputedPropertyName */) {\n        checkComputedPropertyName(node.name);\n      }\n      if (hasBindableName(node)) {\n        const symbol = getSymbolOfNode(node);\n        const getter = getDeclarationOfKind(symbol, 177 /* GetAccessor */);\n        const setter = getDeclarationOfKind(symbol, 178 /* SetAccessor */);\n        if (getter && setter && !(getNodeCheckFlags(getter) & 1 /* TypeChecked */)) {\n          getNodeLinks(getter).flags |= 1 /* TypeChecked */;\n          const getterFlags = getEffectiveModifierFlags(getter);\n          const setterFlags = getEffectiveModifierFlags(setter);\n          if ((getterFlags & 256 /* Abstract */) !== (setterFlags & 256 /* Abstract */)) {\n            error(getter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract);\n            error(setter.name, Diagnostics.Accessors_must_both_be_abstract_or_non_abstract);\n          }\n          if (getterFlags & 16 /* Protected */ && !(setterFlags & (16 /* Protected */ | 8 /* Private */)) || getterFlags & 8 /* Private */ && !(setterFlags & 8 /* Private */)) {\n            error(getter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter);\n            error(setter.name, Diagnostics.A_get_accessor_must_be_at_least_as_accessible_as_the_setter);\n          }\n          const getterType = getAnnotatedAccessorType(getter);\n          const setterType = getAnnotatedAccessorType(setter);\n          if (getterType && setterType) {\n            checkTypeAssignableTo(getterType, setterType, getter, Diagnostics.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type);\n          }\n        }\n      }\n      const returnType = getTypeOfAccessors(getSymbolOfNode(node));\n      if (node.kind === 177 /* GetAccessor */) {\n        checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, returnType);\n      }\n    }\n  }\n  function checkMissingDeclaration(node) {\n    checkDecorators(node);\n  }\n  function getEffectiveTypeArgumentAtIndex(node, typeParameters, index) {\n    if (node.typeArguments && index < node.typeArguments.length) {\n      return getTypeFromTypeNode(node.typeArguments[index]);\n    }\n    return getEffectiveTypeArguments2(node, typeParameters)[index];\n  }\n  function getEffectiveTypeArguments2(node, typeParameters) {\n    return fillMissingTypeArguments(\n      map(node.typeArguments, getTypeFromTypeNode),\n      typeParameters,\n      getMinTypeArgumentCount(typeParameters),\n      isInJSFile(node)\n    );\n  }\n  function checkTypeArgumentConstraints(node, typeParameters) {\n    let typeArguments;\n    let mapper;\n    let result = true;\n    for (let i = 0; i < typeParameters.length; i++) {\n      const constraint = getConstraintOfTypeParameter(typeParameters[i]);\n      if (constraint) {\n        if (!typeArguments) {\n          typeArguments = getEffectiveTypeArguments2(node, typeParameters);\n          mapper = createTypeMapper(typeParameters, typeArguments);\n        }\n        result = result && checkTypeAssignableTo(\n          typeArguments[i],\n          instantiateType(constraint, mapper),\n          node.typeArguments[i],\n          Diagnostics.Type_0_does_not_satisfy_the_constraint_1\n        );\n      }\n    }\n    return result;\n  }\n  function getTypeParametersForTypeReference(node) {\n    const type = getTypeFromTypeReference(node);\n    if (!isErrorType(type)) {\n      const symbol = getNodeLinks(node).resolvedSymbol;\n      if (symbol) {\n        return symbol.flags & 524288 /* TypeAlias */ && getSymbolLinks(symbol).typeParameters || (getObjectFlags(type) & 4 /* Reference */ ? type.target.localTypeParameters : void 0);\n      }\n    }\n    return void 0;\n  }\n  function checkTypeReferenceNode(node) {\n    checkGrammarTypeArguments(node, node.typeArguments);\n    if (node.kind === 183 /* TypeReference */ && node.typeName.jsdocDotPos !== void 0 && !isInJSFile(node) && !isInJSDoc(node)) {\n      grammarErrorAtPos(node, node.typeName.jsdocDotPos, 1, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments);\n    }\n    forEach(node.typeArguments, checkSourceElement);\n    const type = getTypeFromTypeReference(node);\n    if (type.symbol && type.symbol.flags & 268435456 /* Annotation */) {\n      error(node, Diagnostics.Annotation_cannot_be_used_as_a_type);\n    }\n    if (!isErrorType(type)) {\n      if (node.typeArguments) {\n        addLazyDiagnostic(() => {\n          const typeParameters = getTypeParametersForTypeReference(node);\n          if (typeParameters) {\n            checkTypeArgumentConstraints(node, typeParameters);\n          }\n        });\n      }\n      const symbol = getNodeLinks(node).resolvedSymbol;\n      if (symbol) {\n        if (some(symbol.declarations, (d) => isTypeDeclaration(d) && !!(d.flags & 268435456 /* Deprecated */))) {\n          addDeprecatedSuggestion(\n            getDeprecatedSuggestionNode(node),\n            symbol.declarations,\n            symbol.escapedName\n          );\n        }\n        if (type.flags & 32 /* Enum */ && symbol.flags & 8 /* EnumMember */) {\n          error(node, Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals, typeToString(type));\n        }\n      }\n    }\n  }\n  function getTypeArgumentConstraint(node) {\n    const typeReferenceNode = tryCast(node.parent, isTypeReferenceType);\n    if (!typeReferenceNode)\n      return void 0;\n    const typeParameters = getTypeParametersForTypeReference(typeReferenceNode);\n    if (!typeParameters)\n      return void 0;\n    const constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]);\n    return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments2(typeReferenceNode, typeParameters)));\n  }\n  function checkTypeQuery(node) {\n    getTypeFromTypeQueryNode(node);\n  }\n  function checkTypeLiteral(node) {\n    forEach(node.members, checkSourceElement);\n    addLazyDiagnostic(checkTypeLiteralDiagnostics);\n    function checkTypeLiteralDiagnostics() {\n      const type = getTypeFromTypeLiteralOrFunctionOrConstructorTypeNode(node);\n      checkIndexConstraints(type, type.symbol);\n      checkTypeForDuplicateIndexSignatures(node);\n      checkObjectTypeForDuplicateDeclarations(node);\n    }\n  }\n  function checkArrayType(node) {\n    checkSourceElement(node.elementType);\n  }\n  function checkTupleType(node) {\n    const elementTypes = node.elements;\n    let seenOptionalElement = false;\n    let seenRestElement = false;\n    const hasNamedElement = some(elementTypes, isNamedTupleMember);\n    for (const e of elementTypes) {\n      if (e.kind !== 202 /* NamedTupleMember */ && hasNamedElement) {\n        grammarErrorOnNode(e, Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);\n        break;\n      }\n      const flags = getTupleElementFlags(e);\n      if (flags & 8 /* Variadic */) {\n        const type = getTypeFromTypeNode(e.type);\n        if (!isArrayLikeType2(type)) {\n          error(e, Diagnostics.A_rest_element_type_must_be_an_array_type);\n          break;\n        }\n        if (isArrayType(type) || isTupleType(type) && type.target.combinedFlags & 4 /* Rest */) {\n          seenRestElement = true;\n        }\n      } else if (flags & 4 /* Rest */) {\n        if (seenRestElement) {\n          grammarErrorOnNode(e, Diagnostics.A_rest_element_cannot_follow_another_rest_element);\n          break;\n        }\n        seenRestElement = true;\n      } else if (flags & 2 /* Optional */) {\n        if (seenRestElement) {\n          grammarErrorOnNode(e, Diagnostics.An_optional_element_cannot_follow_a_rest_element);\n          break;\n        }\n        seenOptionalElement = true;\n      } else if (seenOptionalElement) {\n        grammarErrorOnNode(e, Diagnostics.A_required_element_cannot_follow_an_optional_element);\n        break;\n      }\n    }\n    forEach(node.elements, checkSourceElement);\n    getTypeFromTypeNode(node);\n  }\n  function checkUnionOrIntersectionType(node) {\n    forEach(node.types, checkSourceElement);\n    getTypeFromTypeNode(node);\n  }\n  function checkIndexedAccessIndexType(type, accessNode) {\n    if (!(type.flags & 8388608 /* IndexedAccess */)) {\n      return type;\n    }\n    const objectType = type.objectType;\n    const indexType = type.indexType;\n    if (isTypeAssignableTo(indexType, getIndexType(objectType, false))) {\n      if (accessNode.kind === 212 /* ElementAccessExpression */ && isAssignmentTarget(accessNode) && getObjectFlags(objectType) & 32 /* Mapped */ && getMappedTypeModifiers(objectType) & 1 /* IncludeReadonly */) {\n        error(accessNode, Diagnostics.Index_signature_in_type_0_only_permits_reading, typeToString(objectType));\n      }\n      return type;\n    }\n    const apparentObjectType = getApparentType(objectType);\n    if (getIndexInfoOfType(apparentObjectType, numberType) && isTypeAssignableToKind(indexType, 296 /* NumberLike */)) {\n      return type;\n    }\n    if (isGenericObjectType(objectType)) {\n      const propertyName = getPropertyNameFromIndex(indexType, accessNode);\n      if (propertyName) {\n        const propertySymbol = forEachType(apparentObjectType, (t) => getPropertyOfType(t, propertyName));\n        if (propertySymbol && getDeclarationModifierFlagsFromSymbol(propertySymbol) & 24 /* NonPublicAccessibilityModifier */) {\n          error(accessNode, Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter, unescapeLeadingUnderscores(propertyName));\n          return errorType;\n        }\n      }\n    }\n    error(accessNode, Diagnostics.Type_0_cannot_be_used_to_index_type_1, typeToString(indexType), typeToString(objectType));\n    return errorType;\n  }\n  function checkIndexedAccessType(node) {\n    checkSourceElement(node.objectType);\n    checkSourceElement(node.indexType);\n    checkIndexedAccessIndexType(getTypeFromIndexedAccessTypeNode(node), node);\n  }\n  function checkMappedType(node) {\n    checkGrammarMappedType(node);\n    checkSourceElement(node.typeParameter);\n    checkSourceElement(node.nameType);\n    checkSourceElement(node.type);\n    if (!node.type) {\n      reportImplicitAny(node, anyType);\n    }\n    const type = getTypeFromMappedTypeNode(node);\n    const nameType = getNameTypeFromMappedType(type);\n    if (nameType) {\n      checkTypeAssignableTo(nameType, keyofConstraintType, node.nameType);\n    } else {\n      const constraintType = getConstraintTypeFromMappedType(type);\n      checkTypeAssignableTo(constraintType, keyofConstraintType, getEffectiveConstraintOfTypeParameter(node.typeParameter));\n    }\n  }\n  function checkGrammarMappedType(node) {\n    var _a2;\n    if ((_a2 = node.members) == null ? void 0 : _a2.length) {\n      return grammarErrorOnNode(node.members[0], Diagnostics.A_mapped_type_may_not_declare_properties_or_methods);\n    }\n  }\n  function checkThisType(node) {\n    getTypeFromThisTypeNode(node);\n  }\n  function checkTypeOperator(node) {\n    checkGrammarTypeOperatorNode(node);\n    checkSourceElement(node.type);\n  }\n  function checkConditionalType(node) {\n    forEachChild(node, checkSourceElement);\n  }\n  function checkInferType(node) {\n    if (!findAncestor(node, (n) => n.parent && n.parent.kind === 194 /* ConditionalType */ && n.parent.extendsType === n)) {\n      grammarErrorOnNode(node, Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type);\n    }\n    checkSourceElement(node.typeParameter);\n    const symbol = getSymbolOfNode(node.typeParameter);\n    if (symbol.declarations && symbol.declarations.length > 1) {\n      const links = getSymbolLinks(symbol);\n      if (!links.typeParametersChecked) {\n        links.typeParametersChecked = true;\n        const typeParameter = getDeclaredTypeOfTypeParameter(symbol);\n        const declarations = getDeclarationsOfKind(symbol, 167 /* TypeParameter */);\n        if (!areTypeParametersIdentical(declarations, [typeParameter], (decl) => [decl])) {\n          const name = symbolToString(symbol);\n          for (const declaration of declarations) {\n            error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_constraints, name);\n          }\n        }\n      }\n    }\n    registerForUnusedIdentifiersCheck(node);\n  }\n  function checkTemplateLiteralType(node) {\n    for (const span of node.templateSpans) {\n      checkSourceElement(span.type);\n      const type = getTypeFromTypeNode(span.type);\n      checkTypeAssignableTo(type, templateConstraintType, span.type);\n    }\n    getTypeFromTypeNode(node);\n  }\n  function checkImportType(node) {\n    checkSourceElement(node.argument);\n    if (node.assertions) {\n      const override = getResolutionModeOverrideForClause(node.assertions.assertClause, grammarErrorOnNode);\n      if (override) {\n        if (!isNightly()) {\n          grammarErrorOnNode(node.assertions.assertClause, Diagnostics.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next);\n        }\n        if (getEmitModuleResolutionKind(compilerOptions) !== 3 /* Node16 */ && getEmitModuleResolutionKind(compilerOptions) !== 99 /* NodeNext */) {\n          grammarErrorOnNode(node.assertions.assertClause, Diagnostics.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext);\n        }\n      }\n    }\n    getTypeFromTypeNode(node);\n  }\n  function checkNamedTupleMember(node) {\n    if (node.dotDotDotToken && node.questionToken) {\n      grammarErrorOnNode(node, Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest);\n    }\n    if (node.type.kind === 190 /* OptionalType */) {\n      grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type);\n    }\n    if (node.type.kind === 191 /* RestType */) {\n      grammarErrorOnNode(node.type, Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type);\n    }\n    checkSourceElement(node.type);\n    getTypeFromTypeNode(node);\n  }\n  function isPrivateWithinAmbient(node) {\n    return (hasEffectiveModifier(node, 8 /* Private */) || isPrivateIdentifierClassElementDeclaration(node)) && !!(node.flags & 16777216 /* Ambient */);\n  }\n  function getEffectiveDeclarationFlags(n, flagsToCheck) {\n    let flags = getCombinedModifierFlags(n);\n    if (n.parent.kind !== 267 /* InterfaceDeclaration */ && n.parent.kind !== 264 /* ClassDeclaration */ && n.parent.kind !== 232 /* ClassExpression */ && n.flags & 16777216 /* Ambient */) {\n      if (!(flags & 2 /* Ambient */) && !(isModuleBlock(n.parent) && isModuleDeclaration(n.parent.parent) && isGlobalScopeAugmentation(n.parent.parent))) {\n        flags |= 1 /* Export */;\n      }\n      flags |= 2 /* Ambient */;\n    }\n    return flags & flagsToCheck;\n  }\n  function checkFunctionOrConstructorSymbol(symbol) {\n    addLazyDiagnostic(() => checkFunctionOrConstructorSymbolWorker(symbol));\n  }\n  function checkFunctionOrConstructorSymbolWorker(symbol) {\n    function getCanonicalOverload(overloads, implementation) {\n      const implementationSharesContainerWithFirstOverload = implementation !== void 0 && implementation.parent === overloads[0].parent;\n      return implementationSharesContainerWithFirstOverload ? implementation : overloads[0];\n    }\n    function checkFlagAgreementBetweenOverloads(overloads, implementation, flagsToCheck2, someOverloadFlags, allOverloadFlags) {\n      const someButNotAllOverloadFlags = someOverloadFlags ^ allOverloadFlags;\n      if (someButNotAllOverloadFlags !== 0) {\n        const canonicalFlags = getEffectiveDeclarationFlags(getCanonicalOverload(overloads, implementation), flagsToCheck2);\n        forEach(overloads, (o) => {\n          const deviation = getEffectiveDeclarationFlags(o, flagsToCheck2) ^ canonicalFlags;\n          if (deviation & 1 /* Export */) {\n            error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported);\n          } else if (deviation & 2 /* Ambient */) {\n            error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient);\n          } else if (deviation & (8 /* Private */ | 16 /* Protected */)) {\n            error(getNameOfDeclaration(o) || o, Diagnostics.Overload_signatures_must_all_be_public_private_or_protected);\n          } else if (deviation & 256 /* Abstract */) {\n            error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract);\n          }\n        });\n      }\n    }\n    function checkQuestionTokenAgreementBetweenOverloads(overloads, implementation, someHaveQuestionToken2, allHaveQuestionToken2) {\n      if (someHaveQuestionToken2 !== allHaveQuestionToken2) {\n        const canonicalHasQuestionToken = hasQuestionToken(getCanonicalOverload(overloads, implementation));\n        forEach(overloads, (o) => {\n          const deviation = hasQuestionToken(o) !== canonicalHasQuestionToken;\n          if (deviation) {\n            error(getNameOfDeclaration(o), Diagnostics.Overload_signatures_must_all_be_optional_or_required);\n          }\n        });\n      }\n    }\n    const flagsToCheck = 1 /* Export */ | 2 /* Ambient */ | 8 /* Private */ | 16 /* Protected */ | 256 /* Abstract */;\n    let someNodeFlags = 0 /* None */;\n    let allNodeFlags = flagsToCheck;\n    let someHaveQuestionToken = false;\n    let allHaveQuestionToken = true;\n    let hasOverloads = false;\n    let bodyDeclaration;\n    let lastSeenNonAmbientDeclaration;\n    let previousDeclaration;\n    const declarations = symbol.declarations;\n    const isConstructor = (symbol.flags & 16384 /* Constructor */) !== 0;\n    function reportImplementationExpectedError(node) {\n      if (node.name && nodeIsMissing(node.name)) {\n        return;\n      }\n      let seen = false;\n      const subsequentNode = forEachChild(node.parent, (c) => {\n        if (seen) {\n          return c;\n        } else {\n          seen = c === node;\n        }\n      });\n      if (subsequentNode && subsequentNode.pos === node.end) {\n        if (subsequentNode.kind === node.kind) {\n          const errorNode2 = subsequentNode.name || subsequentNode;\n          const subsequentName = subsequentNode.name;\n          if (node.name && subsequentName && (isPrivateIdentifier(node.name) && isPrivateIdentifier(subsequentName) && node.name.escapedText === subsequentName.escapedText || isComputedPropertyName(node.name) && isComputedPropertyName(subsequentName) || isPropertyNameLiteral(node.name) && isPropertyNameLiteral(subsequentName) && getEscapedTextOfIdentifierOrLiteral(node.name) === getEscapedTextOfIdentifierOrLiteral(subsequentName))) {\n            const reportError = (node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */) && isStatic(node) !== isStatic(subsequentNode);\n            if (reportError) {\n              const diagnostic = isStatic(node) ? Diagnostics.Function_overload_must_be_static : Diagnostics.Function_overload_must_not_be_static;\n              error(errorNode2, diagnostic);\n            }\n            return;\n          }\n          if (nodeIsPresent(subsequentNode.body)) {\n            error(errorNode2, Diagnostics.Function_implementation_name_must_be_0, declarationNameToString(node.name));\n            return;\n          }\n        }\n      }\n      const errorNode = node.name || node;\n      if (isConstructor) {\n        error(errorNode, Diagnostics.Constructor_implementation_is_missing);\n      } else {\n        if (hasSyntacticModifier(node, 256 /* Abstract */)) {\n          error(errorNode, Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive);\n        } else {\n          error(errorNode, Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration);\n        }\n      }\n    }\n    let duplicateFunctionDeclaration = false;\n    let multipleConstructorImplementation = false;\n    let hasNonAmbientClass = false;\n    const functionDeclarations = [];\n    if (declarations) {\n      for (const current of declarations) {\n        const node = current;\n        const inAmbientContext = node.flags & 16777216 /* Ambient */;\n        const inAmbientContextOrInterface = node.parent && (node.parent.kind === 267 /* InterfaceDeclaration */ || node.parent.kind === 187 /* TypeLiteral */) || inAmbientContext;\n        if (inAmbientContextOrInterface) {\n          previousDeclaration = void 0;\n        }\n        if ((node.kind === 264 /* ClassDeclaration */ || node.kind === 232 /* ClassExpression */) && !inAmbientContext) {\n          hasNonAmbientClass = true;\n        }\n        if (node.kind === 263 /* FunctionDeclaration */ || node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */ || node.kind === 176 /* Constructor */) {\n          functionDeclarations.push(node);\n          const currentNodeFlags = getEffectiveDeclarationFlags(node, flagsToCheck);\n          someNodeFlags |= currentNodeFlags;\n          allNodeFlags &= currentNodeFlags;\n          someHaveQuestionToken = someHaveQuestionToken || hasQuestionToken(node);\n          allHaveQuestionToken = allHaveQuestionToken && hasQuestionToken(node);\n          const bodyIsPresent = nodeIsPresent(node.body);\n          if (bodyIsPresent && bodyDeclaration) {\n            if (isConstructor) {\n              multipleConstructorImplementation = true;\n            } else {\n              duplicateFunctionDeclaration = true;\n            }\n          } else if ((previousDeclaration == null ? void 0 : previousDeclaration.parent) === node.parent && previousDeclaration.end !== node.pos) {\n            reportImplementationExpectedError(previousDeclaration);\n          }\n          if (bodyIsPresent) {\n            if (!bodyDeclaration) {\n              bodyDeclaration = node;\n            }\n          } else {\n            hasOverloads = true;\n          }\n          previousDeclaration = node;\n          if (!inAmbientContextOrInterface) {\n            lastSeenNonAmbientDeclaration = node;\n          }\n        }\n      }\n    }\n    if (multipleConstructorImplementation) {\n      forEach(functionDeclarations, (declaration) => {\n        error(declaration, Diagnostics.Multiple_constructor_implementations_are_not_allowed);\n      });\n    }\n    if (duplicateFunctionDeclaration) {\n      forEach(functionDeclarations, (declaration) => {\n        error(getNameOfDeclaration(declaration) || declaration, Diagnostics.Duplicate_function_implementation);\n      });\n    }\n    if (hasNonAmbientClass && !isConstructor && symbol.flags & 16 /* Function */ && declarations) {\n      const relatedDiagnostics = filter(declarations, (d) => d.kind === 264 /* ClassDeclaration */).map((d) => createDiagnosticForNode(d, Diagnostics.Consider_adding_a_declare_modifier_to_this_class));\n      forEach(declarations, (declaration) => {\n        const diagnostic = declaration.kind === 264 /* ClassDeclaration */ ? Diagnostics.Class_declaration_cannot_implement_overload_list_for_0 : declaration.kind === 263 /* FunctionDeclaration */ ? Diagnostics.Function_with_bodies_can_only_merge_with_classes_that_are_ambient : void 0;\n        if (diagnostic) {\n          addRelatedInfo(\n            error(getNameOfDeclaration(declaration) || declaration, diagnostic, symbolName(symbol)),\n            ...relatedDiagnostics\n          );\n        }\n      });\n    }\n    if (lastSeenNonAmbientDeclaration && !lastSeenNonAmbientDeclaration.body && !hasSyntacticModifier(lastSeenNonAmbientDeclaration, 256 /* Abstract */) && !lastSeenNonAmbientDeclaration.questionToken) {\n      reportImplementationExpectedError(lastSeenNonAmbientDeclaration);\n    }\n    if (hasOverloads) {\n      if (declarations) {\n        checkFlagAgreementBetweenOverloads(declarations, bodyDeclaration, flagsToCheck, someNodeFlags, allNodeFlags);\n        checkQuestionTokenAgreementBetweenOverloads(declarations, bodyDeclaration, someHaveQuestionToken, allHaveQuestionToken);\n      }\n      if (bodyDeclaration) {\n        const signatures = getSignaturesOfSymbol(symbol);\n        const bodySignature = getSignatureFromDeclaration(bodyDeclaration);\n        for (const signature of signatures) {\n          if (!isImplementationCompatibleWithOverload(bodySignature, signature)) {\n            addRelatedInfo(\n              error(signature.declaration, Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),\n              createDiagnosticForNode(bodyDeclaration, Diagnostics.The_implementation_signature_is_declared_here)\n            );\n            break;\n          }\n        }\n      }\n    }\n  }\n  function checkExportsOnMergedDeclarations(node) {\n    addLazyDiagnostic(() => checkExportsOnMergedDeclarationsWorker(node));\n  }\n  function checkExportsOnMergedDeclarationsWorker(node) {\n    let symbol = node.localSymbol;\n    if (!symbol) {\n      symbol = getSymbolOfNode(node);\n      if (!symbol.exportSymbol) {\n        return;\n      }\n    }\n    if (getDeclarationOfKind(symbol, node.kind) !== node) {\n      return;\n    }\n    let exportedDeclarationSpaces = 0 /* None */;\n    let nonExportedDeclarationSpaces = 0 /* None */;\n    let defaultExportedDeclarationSpaces = 0 /* None */;\n    for (const d of symbol.declarations) {\n      const declarationSpaces = getDeclarationSpaces(d);\n      const effectiveDeclarationFlags = getEffectiveDeclarationFlags(d, 1 /* Export */ | 1024 /* Default */);\n      if (effectiveDeclarationFlags & 1 /* Export */) {\n        if (effectiveDeclarationFlags & 1024 /* Default */) {\n          defaultExportedDeclarationSpaces |= declarationSpaces;\n        } else {\n          exportedDeclarationSpaces |= declarationSpaces;\n        }\n      } else {\n        nonExportedDeclarationSpaces |= declarationSpaces;\n      }\n    }\n    const nonDefaultExportedDeclarationSpaces = exportedDeclarationSpaces | nonExportedDeclarationSpaces;\n    const commonDeclarationSpacesForExportsAndLocals = exportedDeclarationSpaces & nonExportedDeclarationSpaces;\n    const commonDeclarationSpacesForDefaultAndNonDefault = defaultExportedDeclarationSpaces & nonDefaultExportedDeclarationSpaces;\n    if (commonDeclarationSpacesForExportsAndLocals || commonDeclarationSpacesForDefaultAndNonDefault) {\n      for (const d of symbol.declarations) {\n        const declarationSpaces = getDeclarationSpaces(d);\n        const name = getNameOfDeclaration(d);\n        if (declarationSpaces & commonDeclarationSpacesForDefaultAndNonDefault) {\n          error(name, Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead, declarationNameToString(name));\n        } else if (declarationSpaces & commonDeclarationSpacesForExportsAndLocals) {\n          error(name, Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local, declarationNameToString(name));\n        }\n      }\n    }\n    function getDeclarationSpaces(decl) {\n      let d = decl;\n      switch (d.kind) {\n        case 267 /* InterfaceDeclaration */:\n        case 268 /* TypeAliasDeclaration */:\n        case 354 /* JSDocTypedefTag */:\n        case 347 /* JSDocCallbackTag */:\n        case 348 /* JSDocEnumTag */:\n          return 2 /* ExportType */;\n        case 270 /* ModuleDeclaration */:\n          return isAmbientModule(d) || getModuleInstanceState(d) !== 0 /* NonInstantiated */ ? 4 /* ExportNamespace */ | 1 /* ExportValue */ : 4 /* ExportNamespace */;\n        case 264 /* ClassDeclaration */:\n        case 265 /* StructDeclaration */:\n        case 266 /* AnnotationDeclaration */:\n        case 269 /* EnumDeclaration */:\n        case 308 /* EnumMember */:\n          return 2 /* ExportType */ | 1 /* ExportValue */;\n        case 314 /* SourceFile */:\n          return 2 /* ExportType */ | 1 /* ExportValue */ | 4 /* ExportNamespace */;\n        case 280 /* ExportAssignment */:\n        case 227 /* BinaryExpression */:\n          const node2 = d;\n          const expression = isExportAssignment(node2) ? node2.expression : node2.right;\n          if (!isEntityNameExpression(expression)) {\n            return 1 /* ExportValue */;\n          }\n          d = expression;\n        case 274 /* ImportEqualsDeclaration */:\n        case 277 /* NamespaceImport */:\n        case 276 /* ImportClause */:\n          let result = 0 /* None */;\n          const target = resolveAlias(getSymbolOfNode(d));\n          forEach(target.declarations, (d2) => {\n            result |= getDeclarationSpaces(d2);\n          });\n          return result;\n        case 261 /* VariableDeclaration */:\n        case 208 /* BindingElement */:\n        case 263 /* FunctionDeclaration */:\n        case 279 /* ImportSpecifier */:\n        case 79 /* Identifier */:\n          return 1 /* ExportValue */;\n        default:\n          return Debug.failBadSyntaxKind(d);\n      }\n    }\n  }\n  function getAwaitedTypeOfPromise(type, errorNode, diagnosticMessage, arg0) {\n    const promisedType = getPromisedTypeOfPromise(type, errorNode);\n    return promisedType && getAwaitedType(promisedType, errorNode, diagnosticMessage, arg0);\n  }\n  function getPromisedTypeOfPromise(type, errorNode, thisTypeForErrorOut) {\n    if (isTypeAny(type)) {\n      return void 0;\n    }\n    const typeAsPromise = type;\n    if (typeAsPromise.promisedTypeOfPromise) {\n      return typeAsPromise.promisedTypeOfPromise;\n    }\n    if (isReferenceToType2(type, getGlobalPromiseType(false))) {\n      return typeAsPromise.promisedTypeOfPromise = getTypeArguments(type)[0];\n    }\n    if (allTypesAssignableToKind(getBaseConstraintOrType(type), 131068 /* Primitive */ | 131072 /* Never */)) {\n      return void 0;\n    }\n    const thenFunction = getTypeOfPropertyOfType(type, \"then\");\n    if (isTypeAny(thenFunction)) {\n      return void 0;\n    }\n    const thenSignatures = thenFunction ? getSignaturesOfType(thenFunction, 0 /* Call */) : emptyArray;\n    if (thenSignatures.length === 0) {\n      if (errorNode) {\n        error(errorNode, Diagnostics.A_promise_must_have_a_then_method);\n      }\n      return void 0;\n    }\n    let thisTypeForError;\n    let candidates;\n    for (const thenSignature of thenSignatures) {\n      const thisType = getThisTypeOfSignature(thenSignature);\n      if (thisType && thisType !== voidType && !isTypeRelatedTo(type, thisType, subtypeRelation)) {\n        thisTypeForError = thisType;\n      } else {\n        candidates = append(candidates, thenSignature);\n      }\n    }\n    if (!candidates) {\n      Debug.assertIsDefined(thisTypeForError);\n      if (thisTypeForErrorOut) {\n        thisTypeForErrorOut.value = thisTypeForError;\n      }\n      if (errorNode) {\n        error(errorNode, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForError));\n      }\n      return void 0;\n    }\n    const onfulfilledParameterType = getTypeWithFacts(getUnionType(map(candidates, getTypeOfFirstParameterOfSignature)), 2097152 /* NEUndefinedOrNull */);\n    if (isTypeAny(onfulfilledParameterType)) {\n      return void 0;\n    }\n    const onfulfilledParameterSignatures = getSignaturesOfType(onfulfilledParameterType, 0 /* Call */);\n    if (onfulfilledParameterSignatures.length === 0) {\n      if (errorNode) {\n        error(errorNode, Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);\n      }\n      return void 0;\n    }\n    return typeAsPromise.promisedTypeOfPromise = getUnionType(map(onfulfilledParameterSignatures, getTypeOfFirstParameterOfSignature), 2 /* Subtype */);\n  }\n  function checkAwaitedType(type, withAlias, errorNode, diagnosticMessage, arg0) {\n    const awaitedType = withAlias ? getAwaitedType(type, errorNode, diagnosticMessage, arg0) : getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0);\n    return awaitedType || errorType;\n  }\n  function isThenableType(type) {\n    if (allTypesAssignableToKind(getBaseConstraintOrType(type), 131068 /* Primitive */ | 131072 /* Never */)) {\n      return false;\n    }\n    const thenFunction = getTypeOfPropertyOfType(type, \"then\");\n    return !!thenFunction && getSignaturesOfType(getTypeWithFacts(thenFunction, 2097152 /* NEUndefinedOrNull */), 0 /* Call */).length > 0;\n  }\n  function isAwaitedTypeInstantiation(type) {\n    var _a2;\n    if (type.flags & 16777216 /* Conditional */) {\n      const awaitedSymbol = getGlobalAwaitedSymbol(false);\n      return !!awaitedSymbol && type.aliasSymbol === awaitedSymbol && ((_a2 = type.aliasTypeArguments) == null ? void 0 : _a2.length) === 1;\n    }\n    return false;\n  }\n  function unwrapAwaitedType(type) {\n    return type.flags & 1048576 /* Union */ ? mapType(type, unwrapAwaitedType) : isAwaitedTypeInstantiation(type) ? type.aliasTypeArguments[0] : type;\n  }\n  function isAwaitedTypeNeeded(type) {\n    if (isTypeAny(type) || isAwaitedTypeInstantiation(type)) {\n      return false;\n    }\n    if (isGenericObjectType(type)) {\n      const baseConstraint = getBaseConstraintOfType(type);\n      if (baseConstraint ? baseConstraint.flags & 3 /* AnyOrUnknown */ || isEmptyObjectType(baseConstraint) || someType(baseConstraint, isThenableType) : maybeTypeOfKind(type, 8650752 /* TypeVariable */)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function tryCreateAwaitedType(type) {\n    const awaitedSymbol = getGlobalAwaitedSymbol(true);\n    if (awaitedSymbol) {\n      return getTypeAliasInstantiation(awaitedSymbol, [unwrapAwaitedType(type)]);\n    }\n    return void 0;\n  }\n  function createAwaitedTypeIfNeeded(type) {\n    if (isAwaitedTypeNeeded(type)) {\n      const awaitedType = tryCreateAwaitedType(type);\n      if (awaitedType) {\n        return awaitedType;\n      }\n    }\n    Debug.assert(getPromisedTypeOfPromise(type) === void 0, \"type provided should not be a non-generic 'promise'-like.\");\n    return type;\n  }\n  function getAwaitedType(type, errorNode, diagnosticMessage, arg0) {\n    const awaitedType = getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0);\n    return awaitedType && createAwaitedTypeIfNeeded(awaitedType);\n  }\n  function getAwaitedTypeNoAlias(type, errorNode, diagnosticMessage, arg0) {\n    if (isTypeAny(type)) {\n      return type;\n    }\n    if (isAwaitedTypeInstantiation(type)) {\n      return type;\n    }\n    const typeAsAwaitable = type;\n    if (typeAsAwaitable.awaitedTypeOfType) {\n      return typeAsAwaitable.awaitedTypeOfType;\n    }\n    if (type.flags & 1048576 /* Union */) {\n      if (awaitedTypeStack.lastIndexOf(type.id) >= 0) {\n        if (errorNode) {\n          error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);\n        }\n        return void 0;\n      }\n      const mapper = errorNode ? (constituentType) => getAwaitedTypeNoAlias(constituentType, errorNode, diagnosticMessage, arg0) : getAwaitedTypeNoAlias;\n      awaitedTypeStack.push(type.id);\n      const mapped = mapType(type, mapper);\n      awaitedTypeStack.pop();\n      return typeAsAwaitable.awaitedTypeOfType = mapped;\n    }\n    if (isAwaitedTypeNeeded(type)) {\n      return typeAsAwaitable.awaitedTypeOfType = type;\n    }\n    const thisTypeForErrorOut = { value: void 0 };\n    const promisedType = getPromisedTypeOfPromise(type, void 0, thisTypeForErrorOut);\n    if (promisedType) {\n      if (type.id === promisedType.id || awaitedTypeStack.lastIndexOf(promisedType.id) >= 0) {\n        if (errorNode) {\n          error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);\n        }\n        return void 0;\n      }\n      awaitedTypeStack.push(type.id);\n      const awaitedType = getAwaitedTypeNoAlias(promisedType, errorNode, diagnosticMessage, arg0);\n      awaitedTypeStack.pop();\n      if (!awaitedType) {\n        return void 0;\n      }\n      return typeAsAwaitable.awaitedTypeOfType = awaitedType;\n    }\n    if (isThenableType(type)) {\n      if (errorNode) {\n        Debug.assertIsDefined(diagnosticMessage);\n        let chain;\n        if (thisTypeForErrorOut.value) {\n          chain = chainDiagnosticMessages(chain, Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1, typeToString(type), typeToString(thisTypeForErrorOut.value));\n        }\n        chain = chainDiagnosticMessages(chain, diagnosticMessage, arg0);\n        diagnostics.add(createDiagnosticForNodeFromMessageChain(errorNode, chain));\n      }\n      return void 0;\n    }\n    return typeAsAwaitable.awaitedTypeOfType = type;\n  }\n  function checkAsyncFunctionReturnType(node, returnTypeNode) {\n    const returnType = getTypeFromTypeNode(returnTypeNode);\n    if (languageVersion >= 2 /* ES2015 */) {\n      if (isErrorType(returnType)) {\n        return;\n      }\n      const globalPromiseType = getGlobalPromiseType(true);\n      if (globalPromiseType !== emptyGenericType && !isReferenceToType2(returnType, globalPromiseType)) {\n        error(returnTypeNode, Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0, typeToString(getAwaitedTypeNoAlias(returnType) || voidType));\n        return;\n      }\n    } else {\n      markTypeNodeAsReferenced(returnTypeNode);\n      if (isErrorType(returnType)) {\n        return;\n      }\n      const promiseConstructorName = getEntityNameFromTypeNode(returnTypeNode);\n      if (promiseConstructorName === void 0) {\n        error(returnTypeNode, Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, typeToString(returnType));\n        return;\n      }\n      const promiseConstructorSymbol = resolveEntityName(promiseConstructorName, 111551 /* Value */, true);\n      const promiseConstructorType = promiseConstructorSymbol ? getTypeOfSymbol(promiseConstructorSymbol) : errorType;\n      if (isErrorType(promiseConstructorType)) {\n        if (promiseConstructorName.kind === 79 /* Identifier */ && promiseConstructorName.escapedText === \"Promise\" && getTargetType3(returnType) === getGlobalPromiseType(false)) {\n          error(returnTypeNode, Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option);\n        } else {\n          error(returnTypeNode, Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, entityNameToString(promiseConstructorName));\n        }\n        return;\n      }\n      const globalPromiseConstructorLikeType = getGlobalPromiseConstructorLikeType(true);\n      if (globalPromiseConstructorLikeType === emptyObjectType) {\n        error(returnTypeNode, Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value, entityNameToString(promiseConstructorName));\n        return;\n      }\n      if (!checkTypeAssignableTo(\n        promiseConstructorType,\n        globalPromiseConstructorLikeType,\n        returnTypeNode,\n        Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value\n      )) {\n        return;\n      }\n      const rootName = promiseConstructorName && getFirstIdentifier(promiseConstructorName);\n      const collidingSymbol = getSymbol2(node.locals, rootName.escapedText, 111551 /* Value */);\n      if (collidingSymbol) {\n        error(\n          collidingSymbol.valueDeclaration,\n          Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,\n          idText(rootName),\n          entityNameToString(promiseConstructorName)\n        );\n        return;\n      }\n    }\n    checkAwaitedType(returnType, false, node, Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);\n  }\n  function checkDecorator(node) {\n    const signature = getResolvedSignature(node);\n    checkDeprecatedSignature(signature, node);\n    const returnType = getReturnTypeOfSignature(signature);\n    if (returnType.flags & 1 /* Any */) {\n      return;\n    }\n    let headMessage;\n    let expectedReturnType;\n    switch (node.parent.kind) {\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n        headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;\n        const classSymbol = getSymbolOfNode(node.parent);\n        const classConstructorType = getTypeOfSymbol(classSymbol);\n        expectedReturnType = getUnionType([classConstructorType, voidType]);\n        break;\n      case 171 /* PropertyDeclaration */:\n      case 168 /* Parameter */:\n        headMessage = Diagnostics.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;\n        expectedReturnType = voidType;\n        break;\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        headMessage = Diagnostics.Decorator_function_return_type_0_is_not_assignable_to_type_1;\n        const methodType = getTypeOfNode(node.parent);\n        const descriptorType = createTypedPropertyDescriptorType(methodType);\n        expectedReturnType = getUnionType([descriptorType, voidType]);\n        break;\n      default:\n        return Debug.fail();\n    }\n    checkTypeAssignableTo(\n      returnType,\n      expectedReturnType,\n      node,\n      headMessage\n    );\n  }\n  function markTypeNodeAsReferenced(node) {\n    markEntityNameOrEntityExpressionAsReference(node && getEntityNameFromTypeNode(node), false);\n  }\n  function markEntityNameOrEntityExpressionAsReference(typeName, forDecoratorMetadata) {\n    if (!typeName)\n      return;\n    const rootName = getFirstIdentifier(typeName);\n    const meaning = (typeName.kind === 79 /* Identifier */ ? 788968 /* Type */ : 1920 /* Namespace */) | 2097152 /* Alias */;\n    const rootSymbol = resolveName(rootName, rootName.escapedText, meaning, void 0, void 0, true);\n    if (rootSymbol && rootSymbol.flags & 2097152 /* Alias */) {\n      if (symbolIsValue(rootSymbol) && !isConstEnumOrConstEnumOnlyModule(resolveAlias(rootSymbol)) && !getTypeOnlyAliasDeclaration(rootSymbol)) {\n        markAliasSymbolAsReferenced(rootSymbol);\n      } else if (forDecoratorMetadata && compilerOptions.isolatedModules && getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */ && !symbolIsValue(rootSymbol) && !some(rootSymbol.declarations, isTypeOnlyImportOrExportDeclaration)) {\n        const diag2 = error(typeName, Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled);\n        const aliasDeclaration = find(rootSymbol.declarations || emptyArray, isAliasSymbolDeclaration2);\n        if (aliasDeclaration) {\n          addRelatedInfo(diag2, createDiagnosticForNode(aliasDeclaration, Diagnostics._0_was_imported_here, idText(rootName)));\n        }\n      }\n    }\n  }\n  function markDecoratorMedataDataTypeNodeAsReferenced(node) {\n    const entityName = getEntityNameForDecoratorMetadata(node);\n    if (entityName && isEntityName(entityName)) {\n      markEntityNameOrEntityExpressionAsReference(entityName, true);\n    }\n  }\n  function getEntityNameForDecoratorMetadata(node) {\n    if (node) {\n      switch (node.kind) {\n        case 193 /* IntersectionType */:\n        case 192 /* UnionType */:\n          return getEntityNameForDecoratorMetadataFromTypeList(node.types);\n        case 194 /* ConditionalType */:\n          return getEntityNameForDecoratorMetadataFromTypeList([node.trueType, node.falseType]);\n        case 196 /* ParenthesizedType */:\n        case 202 /* NamedTupleMember */:\n          return getEntityNameForDecoratorMetadata(node.type);\n        case 183 /* TypeReference */:\n          return node.typeName;\n      }\n    }\n  }\n  function getEntityNameForDecoratorMetadataFromTypeList(types) {\n    let commonEntityName;\n    for (let typeNode of types) {\n      while (typeNode.kind === 196 /* ParenthesizedType */ || typeNode.kind === 202 /* NamedTupleMember */) {\n        typeNode = typeNode.type;\n      }\n      if (typeNode.kind === 145 /* NeverKeyword */) {\n        continue;\n      }\n      if (!strictNullChecks && (typeNode.kind === 201 /* LiteralType */ && typeNode.literal.kind === 105 /* NullKeyword */ || typeNode.kind === 157 /* UndefinedKeyword */)) {\n        continue;\n      }\n      const individualEntityName = getEntityNameForDecoratorMetadata(typeNode);\n      if (!individualEntityName) {\n        return void 0;\n      }\n      if (commonEntityName) {\n        if (!isIdentifier(commonEntityName) || !isIdentifier(individualEntityName) || commonEntityName.escapedText !== individualEntityName.escapedText) {\n          return void 0;\n        }\n      } else {\n        commonEntityName = individualEntityName;\n      }\n    }\n    return commonEntityName;\n  }\n  function getParameterTypeNodeForDecoratorCheck(node) {\n    const typeNode = getEffectiveTypeAnnotationNode(node);\n    return isRestParameter(node) ? getRestParameterElementType(typeNode) : typeNode;\n  }\n  function checkIdentifierJsDoc(node, sourceSymbol) {\n    var _a2;\n    if (node.virtual || !jsDocFileCheckInfo.fileNeedCheck || !getJsDocNodeCheckedConfig) {\n      return;\n    }\n    if (!sourceSymbol || !sourceSymbol.valueDeclaration) {\n      return;\n    }\n    const sourceSymbolSourceFile = getSourceFileOfNode(sourceSymbol.valueDeclaration);\n    if (!sourceSymbolSourceFile) {\n      return;\n    }\n    const sourceFile = getSourceFileOfNode(node);\n    const checkParam = getJsDocNodeCheckedConfig(jsDocFileCheckInfo, sourceSymbolSourceFile.fileName);\n    if (!checkParam.nodeNeedCheck) {\n      return;\n    }\n    (_a2 = sourceSymbol.declarations) == null ? void 0 : _a2.forEach((declaration) => {\n      expressionCheckByJsDoc(declaration, node, sourceFile, checkParam.checkConfig);\n    });\n  }\n  function checkAnnotations(decorators) {\n    if (!decorators) {\n      return;\n    }\n    const annotationsSet = new Set2();\n    for (const decorator of decorators) {\n      if (isAnnotation(decorator)) {\n        checkAnnotation(decorator, annotationsSet);\n      }\n    }\n  }\n  function checkAnnotation(annotation, annotationsSet) {\n    if (isSourceRetentionAnnotation(annotation)) {\n      checkSourceRetentionAnnotation(annotation, annotationsSet);\n      return;\n    }\n    if (compilerOptions.isCompileJsHar && inModuleRootPath(annotation)) {\n      grammarErrorOnNode(annotation, Diagnostics.Annotations_are_not_supported_in_Hars_compiled_to_JavaScript_files);\n    }\n    const signature = getResolvedSignature(annotation);\n    const returnType = getReturnTypeOfSignature(signature);\n    if (isErrorType(returnType)) {\n      return;\n    }\n    const annotatedDecl = annotation.parent;\n    if (!isClassDeclaration(annotatedDecl) && !(isMethodDeclaration(annotatedDecl) && isClassDeclaration(annotatedDecl.parent))) {\n      const nodeStr = getTextOfNode(annotatedDecl, false);\n      switch (annotatedDecl.kind) {\n        case 176 /* Constructor */:\n          error(annotation, Diagnostics.Annotation_cannot_be_applied_for_constructor_got_Colon_0, nodeStr);\n          break;\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          error(annotation, Diagnostics.Annotation_cannot_be_applied_for_getter_or_setter_got_Colon_0, nodeStr);\n          break;\n        case 266 /* AnnotationDeclaration */:\n          error(annotation, Diagnostics.Annotation_cannot_be_applied_for_annotation_declaration);\n          break;\n        default:\n          error(annotation, Diagnostics.Annotation_have_to_be_applied_for_classes_or_methods_in_classes_only_got_Colon_0, nodeStr);\n      }\n      return;\n    }\n    if (hasSyntacticModifier(annotatedDecl, 256 /* Abstract */)) {\n      const nodeStr = getTextOfNode(annotatedDecl, false);\n      error(annotation, Diagnostics.Annotation_have_to_be_applied_only_for_non_abstract_class_declarations_and_method_declarations_in_non_abstract_classes_got_Colon_0, nodeStr);\n      return;\n    }\n    switch (annotatedDecl.kind) {\n      case 264 /* ClassDeclaration */:\n        break;\n      case 174 /* MethodDeclaration */:\n        const enclosingDecl = annotatedDecl.parent;\n        Debug.assert(isClassDeclaration(enclosingDecl));\n        if (hasSyntacticModifier(enclosingDecl, 256 /* Abstract */)) {\n          const nodeStr = getTextOfNode(enclosingDecl, false);\n          error(annotation, Diagnostics.Annotation_have_to_be_applied_only_for_non_abstract_class_declarations_and_method_declarations_in_non_abstract_classes_got_Colon_0, nodeStr);\n        }\n        break;\n      default:\n        Debug.fail();\n    }\n    checkDuplicateAnnotation(annotation, annotationsSet);\n  }\n  function checkDuplicateAnnotation(annotation, annotationsSet) {\n    Debug.assert(annotation.annotationDeclaration);\n    const typeName = typeToString(\n      getTypeOfSymbol(getSymbolOfNode(annotation.annotationDeclaration)),\n      void 0,\n      64 /* UseFullyQualifiedType */\n    );\n    if (annotationsSet.size && annotationsSet.has(typeName)) {\n      const nodeStr = getTextOfNode(annotation, false);\n      error(annotation, Diagnostics.Repeatable_annotation_are_not_supported_got_Colon_0, nodeStr);\n      return;\n    } else {\n      annotationsSet.add(typeName);\n    }\n  }\n  function checkSourceRetentionAnnotation(annotation, annotationsSet) {\n    const signature = getResolvedSignature(annotation);\n    const returnType = getReturnTypeOfSignature(signature);\n    if (isErrorType(returnType)) {\n      return;\n    }\n    const annotatedDecl = annotation.parent;\n    const nodeStr = getTextOfNode(annotatedDecl, false);\n    const nodeDecl = annotation.annotationDeclaration ? getTextOfNode(annotation.annotationDeclaration.name, false) : void 0;\n    switch (annotatedDecl.kind) {\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 263 /* FunctionDeclaration */:\n      case 244 /* VariableStatement */:\n      case 268 /* TypeAliasDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 266 /* AnnotationDeclaration */:\n      case 270 /* ModuleDeclaration */:\n        break;\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 174 /* MethodDeclaration */:\n      case 171 /* PropertyDeclaration */:\n        if (isClassDeclaration(annotatedDecl.parent) || isStructDeclaration(annotatedDecl.parent) || isInterfaceDeclaration(annotatedDecl.parent)) {\n          break;\n        }\n      case 170 /* PropertySignature */:\n      case 173 /* MethodSignature */:\n        if (isInterfaceDeclaration(annotatedDecl.parent)) {\n          break;\n        }\n      default:\n        error(annotation, Diagnostics._0_annotation_are_not_valid_here_got_Colon_1, nodeDecl, nodeStr);\n        return;\n    }\n    checkDuplicateAnnotation(annotation, annotationsSet);\n    if (isAvailableVersion) {\n      let checkResult = isAvailableVersion(annotation);\n      if (checkResult && !checkResult.valid) {\n        const diagnostic = createDiagnosticForNodeInSourceFile(\n          getSourceFileOfNode(annotation),\n          annotation,\n          Diagnostics.This_API_has_been_Special_Markings_exercise_caution_when_using_this_API\n        );\n        diagnostic.messageText = checkResult.message ? checkResult.message : \"\";\n        collectDiagnostics(checkResult, annotation, diagnostic);\n      }\n    }\n  }\n  function getAnnotationDeclaration(da) {\n    let ident;\n    switch (da.expression.kind) {\n      case 79 /* Identifier */:\n        ident = da.expression;\n        break;\n      case 211 /* PropertyAccessExpression */:\n        ident = da.expression;\n        break;\n      case 213 /* CallExpression */:\n        ident = getIdentifierFromEntityNameExpression(da.expression.expression);\n        break;\n      default:\n        return void 0;\n    }\n    if (!ident) {\n      return void 0;\n    }\n    const symbol = getSymbolOfNameOrPropertyAccessExpression(ident);\n    if (!symbol) {\n      return void 0;\n    }\n    const type = getTypeOfSymbolAtLocation(symbol, ident);\n    if (!type || !type.symbol || !type.symbol.declarations) {\n      return void 0;\n    }\n    if (!isAnnotationDeclaration(type.symbol.declarations[0])) {\n      return void 0;\n    }\n    return type.symbol.declarations[0];\n  }\n  function setAnnotationsOfNode(node) {\n    if (!canHaveDecorators(node) && !canHaveIllegalDecorators(node)) {\n      return;\n    }\n    const links = getNodeLinks(node);\n    if (!(links.flags & 536870912 /* AnnotationChecked */)) {\n      links.flags |= 536870912 /* AnnotationChecked */;\n      getAllDecorators(node).forEach((item) => {\n        const annotationDecl = getAnnotationDeclaration(item);\n        if (annotationDecl) {\n          item.annotationDeclaration = annotationDecl;\n        }\n      });\n    }\n  }\n  function checkDecorators(node) {\n    setAnnotationsOfNode(node);\n    let atLeastOneDecorator = false;\n    getAllDecorators(node).forEach((item) => {\n      if (isIdentifier(item.expression)) {\n        const symbol = getResolvedSymbol(item.expression);\n        if (symbol !== unknownSymbol) {\n          checkIdentifierJsDoc(item.expression, symbol);\n        }\n      }\n      atLeastOneDecorator = true;\n    });\n    if (canHaveDecorators(node) && some(node.modifiers, isAnnotation)) {\n      checkAnnotations(node.modifiers);\n    }\n    if (isAnnotationDeclaration(node) || !canHaveDecorators(node) || !hasDecorators(node) && !hasAnnotations(node) || !node.modifiers || !nodeCanBeDecorated(node, node.parent, node.parent.parent)) {\n      return;\n    }\n    if (atLeastOneDecorator && !compilerOptions.experimentalDecorators) {\n      error(node, Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning);\n    }\n    const firstDecorator = find(node.modifiers, isDecorator);\n    if (!firstDecorator) {\n      return;\n    }\n    checkExternalEmitHelpers(firstDecorator, 8 /* Decorate */);\n    if (node.kind === 168 /* Parameter */) {\n      checkExternalEmitHelpers(firstDecorator, 32 /* Param */);\n    }\n    if (compilerOptions.emitDecoratorMetadata) {\n      checkExternalEmitHelpers(firstDecorator, 16 /* Metadata */);\n      switch (node.kind) {\n        case 264 /* ClassDeclaration */:\n          const constructor = getFirstConstructorWithBody(node);\n          if (constructor) {\n            for (const parameter of constructor.parameters) {\n              markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));\n            }\n          }\n          break;\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          const otherKind = node.kind === 177 /* GetAccessor */ ? 178 /* SetAccessor */ : 177 /* GetAccessor */;\n          const otherAccessor = getDeclarationOfKind(getSymbolOfNode(node), otherKind);\n          markDecoratorMedataDataTypeNodeAsReferenced(getAnnotatedAccessorTypeNode(node) || otherAccessor && getAnnotatedAccessorTypeNode(otherAccessor));\n          break;\n        case 174 /* MethodDeclaration */:\n          for (const parameter of node.parameters) {\n            markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));\n          }\n          markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(node));\n          break;\n        case 171 /* PropertyDeclaration */:\n          markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveTypeAnnotationNode(node));\n          break;\n        case 168 /* Parameter */:\n          markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(node));\n          const containingSignature = node.parent;\n          for (const parameter of containingSignature.parameters) {\n            markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));\n          }\n          break;\n      }\n    }\n    for (const modifier of node.modifiers) {\n      if (isDecorator(modifier)) {\n        checkDecorator(modifier);\n      }\n    }\n  }\n  function checkFunctionDeclaration(node) {\n    addLazyDiagnostic(checkFunctionDeclarationDiagnostics);\n    function checkFunctionDeclarationDiagnostics() {\n      checkFunctionOrMethodDeclaration(node);\n      checkGrammarForGenerator(node);\n      checkCollisionsForDeclarationName(node, node.name);\n    }\n  }\n  function checkJSDocTypeAliasTag(node) {\n    if (!node.typeExpression) {\n      error(node.name, Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags);\n    }\n    if (node.name) {\n      checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0);\n    }\n    checkSourceElement(node.typeExpression);\n    checkTypeParameters(getEffectiveTypeParameterDeclarations(node));\n  }\n  function checkJSDocTemplateTag(node) {\n    checkSourceElement(node.constraint);\n    for (const tp of node.typeParameters) {\n      checkSourceElement(tp);\n    }\n  }\n  function checkJSDocTypeTag(node) {\n    checkSourceElement(node.typeExpression);\n  }\n  function checkJSDocLinkLikeTag(node) {\n    if (node.name) {\n      resolveJSDocMemberName(node.name, true);\n    }\n  }\n  function checkJSDocParameterTag(node) {\n    checkSourceElement(node.typeExpression);\n  }\n  function checkJSDocPropertyTag(node) {\n    checkSourceElement(node.typeExpression);\n  }\n  function checkJSDocFunctionType(node) {\n    addLazyDiagnostic(checkJSDocFunctionTypeImplicitAny);\n    checkSignatureDeclaration(node);\n    function checkJSDocFunctionTypeImplicitAny() {\n      if (!node.type && !isJSDocConstructSignature(node)) {\n        reportImplicitAny(node, anyType);\n      }\n    }\n  }\n  function checkJSDocImplementsTag(node) {\n    const classLike = getEffectiveJSDocHost(node);\n    if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) {\n      error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName));\n    }\n  }\n  function checkJSDocAugmentsTag(node) {\n    const classLike = getEffectiveJSDocHost(node);\n    if (!classLike || !isClassDeclaration(classLike) && !isClassExpression(classLike)) {\n      error(classLike, Diagnostics.JSDoc_0_is_not_attached_to_a_class, idText(node.tagName));\n      return;\n    }\n    const augmentsTags = getJSDocTags(classLike).filter(isJSDocAugmentsTag);\n    Debug.assert(augmentsTags.length > 0);\n    if (augmentsTags.length > 1) {\n      error(augmentsTags[1], Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);\n    }\n    const name = getIdentifierFromEntityNameExpression(node.class.expression);\n    const extend2 = getClassExtendsHeritageElement(classLike);\n    if (extend2) {\n      const className = getIdentifierFromEntityNameExpression(extend2.expression);\n      if (className && name.escapedText !== className.escapedText) {\n        error(name, Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause, idText(node.tagName), idText(name), idText(className));\n      }\n    }\n  }\n  function checkJSDocAccessibilityModifiers(node) {\n    const host2 = getJSDocHost(node);\n    if (host2 && isPrivateIdentifierClassElementDeclaration(host2)) {\n      error(node, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);\n    }\n  }\n  function getIdentifierFromEntityNameExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return node;\n      case 211 /* PropertyAccessExpression */:\n        return node.name;\n      default:\n        return void 0;\n    }\n  }\n  function checkFunctionOrMethodDeclaration(node) {\n    var _a2;\n    checkDecorators(node);\n    checkSignatureDeclaration(node);\n    const functionFlags = getFunctionFlags(node);\n    if (node.name && node.name.kind === 166 /* ComputedPropertyName */) {\n      checkComputedPropertyName(node.name);\n    }\n    if (hasBindableName(node)) {\n      const symbol = getSymbolOfNode(node);\n      const localSymbol = node.localSymbol || symbol;\n      const firstDeclaration = (_a2 = localSymbol.declarations) == null ? void 0 : _a2.find(\n        (declaration) => declaration.kind === node.kind && !(declaration.flags & 262144 /* JavaScriptFile */)\n      );\n      if (node === firstDeclaration) {\n        checkFunctionOrConstructorSymbol(localSymbol);\n      }\n      if (symbol.parent) {\n        checkFunctionOrConstructorSymbol(symbol);\n      }\n    }\n    const body = node.kind === 173 /* MethodSignature */ ? void 0 : node.body;\n    checkSourceElement(body);\n    checkAllCodePathsInNonVoidFunctionReturnOrThrow(node, getReturnTypeFromAnnotation(node));\n    addLazyDiagnostic(checkFunctionOrMethodDeclarationDiagnostics);\n    if (isInJSFile(node)) {\n      const typeTag = getJSDocTypeTag(node);\n      if (typeTag && typeTag.typeExpression && !getContextualCallSignature(getTypeFromTypeNode(typeTag.typeExpression), node)) {\n        error(typeTag.typeExpression.type, Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature);\n      }\n    }\n    function checkFunctionOrMethodDeclarationDiagnostics() {\n      if (!getEffectiveReturnTypeNode(node)) {\n        if (nodeIsMissing(body) && !isPrivateWithinAmbient(node)) {\n          reportImplicitAny(node, anyType);\n        }\n        if (functionFlags & 1 /* Generator */ && nodeIsPresent(body)) {\n          getReturnTypeOfSignature(getSignatureFromDeclaration(node));\n        }\n      }\n    }\n  }\n  function registerForUnusedIdentifiersCheck(node) {\n    addLazyDiagnostic(registerForUnusedIdentifiersCheckDiagnostics);\n    function registerForUnusedIdentifiersCheckDiagnostics() {\n      const sourceFile = getSourceFileOfNode(node);\n      let potentiallyUnusedIdentifiers = allPotentiallyUnusedIdentifiers.get(sourceFile.path);\n      if (!potentiallyUnusedIdentifiers) {\n        potentiallyUnusedIdentifiers = [];\n        allPotentiallyUnusedIdentifiers.set(sourceFile.path, potentiallyUnusedIdentifiers);\n      }\n      potentiallyUnusedIdentifiers.push(node);\n    }\n  }\n  function checkUnusedIdentifiers(potentiallyUnusedIdentifiers, addDiagnostic) {\n    for (const node of potentiallyUnusedIdentifiers) {\n      switch (node.kind) {\n        case 264 /* ClassDeclaration */:\n        case 232 /* ClassExpression */:\n        case 265 /* StructDeclaration */:\n          checkUnusedClassMembers(node, addDiagnostic);\n          checkUnusedTypeParameters(node, addDiagnostic);\n          break;\n        case 314 /* SourceFile */:\n        case 270 /* ModuleDeclaration */:\n        case 242 /* Block */:\n        case 272 /* CaseBlock */:\n        case 249 /* ForStatement */:\n        case 250 /* ForInStatement */:\n        case 251 /* ForOfStatement */:\n          checkUnusedLocalsAndParameters(node, addDiagnostic);\n          break;\n        case 176 /* Constructor */:\n        case 218 /* FunctionExpression */:\n        case 263 /* FunctionDeclaration */:\n        case 219 /* ArrowFunction */:\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          if (node.body) {\n            checkUnusedLocalsAndParameters(node, addDiagnostic);\n          }\n          checkUnusedTypeParameters(node, addDiagnostic);\n          break;\n        case 173 /* MethodSignature */:\n        case 179 /* CallSignature */:\n        case 180 /* ConstructSignature */:\n        case 184 /* FunctionType */:\n        case 185 /* ConstructorType */:\n        case 268 /* TypeAliasDeclaration */:\n        case 267 /* InterfaceDeclaration */:\n          checkUnusedTypeParameters(node, addDiagnostic);\n          break;\n        case 195 /* InferType */:\n          checkUnusedInferTypeParameter(node, addDiagnostic);\n          break;\n        default:\n          Debug.assertNever(node, \"Node should not have been registered for unused identifiers check\");\n      }\n    }\n  }\n  function errorUnusedLocal(declaration, name, addDiagnostic) {\n    const node = getNameOfDeclaration(declaration) || declaration;\n    const message = isTypeDeclaration(declaration) ? Diagnostics._0_is_declared_but_never_used : Diagnostics._0_is_declared_but_its_value_is_never_read;\n    addDiagnostic(declaration, 0 /* Local */, createDiagnosticForNode(node, message, name));\n  }\n  function isIdentifierThatStartsWithUnderscore(node) {\n    return isIdentifier(node) && idText(node).charCodeAt(0) === 95 /* _ */;\n  }\n  function checkUnusedClassMembers(node, addDiagnostic) {\n    for (const member of node.members) {\n      switch (member.kind) {\n        case 174 /* MethodDeclaration */:\n        case 171 /* PropertyDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          if (member.kind === 178 /* SetAccessor */ && member.symbol.flags & 32768 /* GetAccessor */) {\n            break;\n          }\n          const symbol = getSymbolOfNode(member);\n          if (!symbol.isReferenced && (hasEffectiveModifier(member, 8 /* Private */) || isNamedDeclaration(member) && isPrivateIdentifier(member.name)) && !(member.flags & 16777216 /* Ambient */)) {\n            addDiagnostic(member, 0 /* Local */, createDiagnosticForNode(member.name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolToString(symbol)));\n          }\n          break;\n        case 176 /* Constructor */:\n          for (const parameter of member.parameters) {\n            if (!parameter.symbol.isReferenced && hasSyntacticModifier(parameter, 8 /* Private */)) {\n              addDiagnostic(parameter, 0 /* Local */, createDiagnosticForNode(parameter.name, Diagnostics.Property_0_is_declared_but_its_value_is_never_read, symbolName(parameter.symbol)));\n            }\n          }\n          break;\n        case 181 /* IndexSignature */:\n        case 241 /* SemicolonClassElement */:\n        case 175 /* ClassStaticBlockDeclaration */:\n          break;\n        default:\n          Debug.fail(\"Unexpected class member\");\n      }\n    }\n  }\n  function checkUnusedInferTypeParameter(node, addDiagnostic) {\n    const { typeParameter } = node;\n    if (isTypeParameterUnused(typeParameter)) {\n      addDiagnostic(node, 1 /* Parameter */, createDiagnosticForNode(node, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(typeParameter.name)));\n    }\n  }\n  function checkUnusedTypeParameters(node, addDiagnostic) {\n    const declarations = getSymbolOfNode(node).declarations;\n    if (!declarations || last(declarations) !== node)\n      return;\n    const typeParameters = getEffectiveTypeParameterDeclarations(node);\n    const seenParentsWithEveryUnused = new Set2();\n    for (const typeParameter of typeParameters) {\n      if (!isTypeParameterUnused(typeParameter))\n        continue;\n      const name = idText(typeParameter.name);\n      const { parent: parent2 } = typeParameter;\n      if (parent2.kind !== 195 /* InferType */ && parent2.typeParameters.every(isTypeParameterUnused)) {\n        if (tryAddToSet(seenParentsWithEveryUnused, parent2)) {\n          const sourceFile = getSourceFileOfNode(parent2);\n          const range = isJSDocTemplateTag(parent2) ? rangeOfNode(parent2) : rangeOfTypeParameters(sourceFile, parent2.typeParameters);\n          const only = parent2.typeParameters.length === 1;\n          const message = only ? Diagnostics._0_is_declared_but_its_value_is_never_read : Diagnostics.All_type_parameters_are_unused;\n          const arg0 = only ? name : void 0;\n          addDiagnostic(typeParameter, 1 /* Parameter */, createFileDiagnostic(sourceFile, range.pos, range.end - range.pos, message, arg0));\n        }\n      } else {\n        addDiagnostic(typeParameter, 1 /* Parameter */, createDiagnosticForNode(typeParameter, Diagnostics._0_is_declared_but_its_value_is_never_read, name));\n      }\n    }\n  }\n  function isTypeParameterUnused(typeParameter) {\n    return !(getMergedSymbol(typeParameter.symbol).isReferenced & 262144 /* TypeParameter */) && !isIdentifierThatStartsWithUnderscore(typeParameter.name);\n  }\n  function addToGroup(map2, key, value, getKey) {\n    const keyString = String(getKey(key));\n    const group2 = map2.get(keyString);\n    if (group2) {\n      group2[1].push(value);\n    } else {\n      map2.set(keyString, [key, [value]]);\n    }\n  }\n  function tryGetRootParameterDeclaration(node) {\n    return tryCast(getRootDeclaration(node), isParameter);\n  }\n  function isValidUnusedLocalDeclaration(declaration) {\n    if (isBindingElement(declaration)) {\n      if (isObjectBindingPattern(declaration.parent)) {\n        return !!(declaration.propertyName && isIdentifierThatStartsWithUnderscore(declaration.name));\n      }\n      return isIdentifierThatStartsWithUnderscore(declaration.name);\n    }\n    return isAmbientModule(declaration) || (isVariableDeclaration(declaration) && isForInOrOfStatement(declaration.parent.parent) || isImportedDeclaration(declaration)) && isIdentifierThatStartsWithUnderscore(declaration.name);\n  }\n  function checkUnusedLocalsAndParameters(nodeWithLocals, addDiagnostic) {\n    const unusedImports = new Map2();\n    const unusedDestructures = new Map2();\n    const unusedVariables = new Map2();\n    nodeWithLocals.locals.forEach((local) => {\n      if (local.flags & 262144 /* TypeParameter */ ? !(local.flags & 3 /* Variable */ && !(local.isReferenced & 3 /* Variable */)) : local.isReferenced || local.exportSymbol) {\n        return;\n      }\n      if (local.declarations) {\n        for (const declaration of local.declarations) {\n          if (isValidUnusedLocalDeclaration(declaration)) {\n            continue;\n          }\n          if (isImportedDeclaration(declaration)) {\n            addToGroup(unusedImports, importClauseFromImported(declaration), declaration, getNodeId);\n          } else if (isBindingElement(declaration) && isObjectBindingPattern(declaration.parent)) {\n            const lastElement = last(declaration.parent.elements);\n            if (declaration === lastElement || !last(declaration.parent.elements).dotDotDotToken) {\n              addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId);\n            }\n          } else if (isVariableDeclaration(declaration)) {\n            addToGroup(unusedVariables, declaration.parent, declaration, getNodeId);\n          } else {\n            const parameter = local.valueDeclaration && tryGetRootParameterDeclaration(local.valueDeclaration);\n            const name = local.valueDeclaration && getNameOfDeclaration(local.valueDeclaration);\n            if (parameter && name) {\n              if (!isParameterPropertyDeclaration(parameter, parameter.parent) && !parameterIsThisKeyword(parameter) && !isIdentifierThatStartsWithUnderscore(name)) {\n                if (isBindingElement(declaration) && isArrayBindingPattern(declaration.parent)) {\n                  addToGroup(unusedDestructures, declaration.parent, declaration, getNodeId);\n                } else {\n                  addDiagnostic(parameter, 1 /* Parameter */, createDiagnosticForNode(name, Diagnostics._0_is_declared_but_its_value_is_never_read, symbolName(local)));\n                }\n              }\n            } else {\n              errorUnusedLocal(declaration, symbolName(local), addDiagnostic);\n            }\n          }\n        }\n      }\n    });\n    unusedImports.forEach(([importClause, unuseds]) => {\n      const importDecl = importClause.parent;\n      const nDeclarations = (importClause.name ? 1 : 0) + (importClause.namedBindings ? importClause.namedBindings.kind === 277 /* NamespaceImport */ ? 1 : importClause.namedBindings.elements.length : 0);\n      if (nDeclarations === unuseds.length) {\n        addDiagnostic(importDecl, 0 /* Local */, unuseds.length === 1 ? createDiagnosticForNode(importDecl, Diagnostics._0_is_declared_but_its_value_is_never_read, idText(first(unuseds).name)) : createDiagnosticForNode(importDecl, Diagnostics.All_imports_in_import_declaration_are_unused));\n      } else {\n        for (const unused of unuseds)\n          errorUnusedLocal(unused, idText(unused.name), addDiagnostic);\n      }\n    });\n    unusedDestructures.forEach(([bindingPattern, bindingElements]) => {\n      const kind = tryGetRootParameterDeclaration(bindingPattern.parent) ? 1 /* Parameter */ : 0 /* Local */;\n      if (bindingPattern.elements.length === bindingElements.length) {\n        if (bindingElements.length === 1 && bindingPattern.parent.kind === 261 /* VariableDeclaration */ && bindingPattern.parent.parent.kind === 262 /* VariableDeclarationList */) {\n          addToGroup(unusedVariables, bindingPattern.parent.parent, bindingPattern.parent, getNodeId);\n        } else {\n          addDiagnostic(bindingPattern, kind, bindingElements.length === 1 ? createDiagnosticForNode(bindingPattern, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(bindingElements).name)) : createDiagnosticForNode(bindingPattern, Diagnostics.All_destructured_elements_are_unused));\n        }\n      } else {\n        for (const e of bindingElements) {\n          addDiagnostic(e, kind, createDiagnosticForNode(e, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(e.name)));\n        }\n      }\n    });\n    unusedVariables.forEach(([declarationList, declarations]) => {\n      if (declarationList.declarations.length === declarations.length) {\n        addDiagnostic(declarationList, 0 /* Local */, declarations.length === 1 ? createDiagnosticForNode(first(declarations).name, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(first(declarations).name)) : createDiagnosticForNode(declarationList.parent.kind === 244 /* VariableStatement */ ? declarationList.parent : declarationList, Diagnostics.All_variables_are_unused));\n      } else {\n        for (const decl of declarations) {\n          addDiagnostic(decl, 0 /* Local */, createDiagnosticForNode(decl, Diagnostics._0_is_declared_but_its_value_is_never_read, bindingNameText(decl.name)));\n        }\n      }\n    });\n  }\n  function checkPotentialUncheckedRenamedBindingElementsInTypes() {\n    var _a2;\n    for (const node of potentialUnusedRenamedBindingElementsInTypes) {\n      if (!((_a2 = getSymbolOfNode(node)) == null ? void 0 : _a2.isReferenced)) {\n        const wrappingDeclaration = walkUpBindingElementsAndPatterns(node);\n        Debug.assert(isParameterDeclaration(wrappingDeclaration), \"Only parameter declaration should be checked here\");\n        const diagnostic = createDiagnosticForNode(node.name, Diagnostics._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation, declarationNameToString(node.name), declarationNameToString(node.propertyName));\n        if (!wrappingDeclaration.type) {\n          addRelatedInfo(\n            diagnostic,\n            createFileDiagnostic(getSourceFileOfNode(wrappingDeclaration), wrappingDeclaration.end, 1, Diagnostics.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here, declarationNameToString(node.propertyName))\n          );\n        }\n        diagnostics.add(diagnostic);\n      }\n    }\n  }\n  function bindingNameText(name) {\n    switch (name.kind) {\n      case 79 /* Identifier */:\n        return idText(name);\n      case 207 /* ArrayBindingPattern */:\n      case 206 /* ObjectBindingPattern */:\n        return bindingNameText(cast(first(name.elements), isBindingElement).name);\n      default:\n        return Debug.assertNever(name);\n    }\n  }\n  function isImportedDeclaration(node) {\n    return node.kind === 276 /* ImportClause */ || node.kind === 279 /* ImportSpecifier */ || node.kind === 277 /* NamespaceImport */;\n  }\n  function importClauseFromImported(decl) {\n    return decl.kind === 276 /* ImportClause */ ? decl : decl.kind === 277 /* NamespaceImport */ ? decl.parent : decl.parent.parent;\n  }\n  function checkBlock(node) {\n    if (node.kind === 242 /* Block */) {\n      checkGrammarStatementInAmbientContext(node);\n    }\n    if (isFunctionOrModuleBlock(node)) {\n      const saveFlowAnalysisDisabled = flowAnalysisDisabled;\n      forEach(node.statements, checkSourceElement);\n      flowAnalysisDisabled = saveFlowAnalysisDisabled;\n    } else {\n      forEach(node.statements, checkSourceElement);\n    }\n    if (node.locals) {\n      registerForUnusedIdentifiersCheck(node);\n    }\n  }\n  function checkCollisionWithArgumentsInGeneratedCode(node) {\n    if (languageVersion >= 2 /* ES2015 */ || !hasRestParameter(node) || node.flags & 16777216 /* Ambient */ || nodeIsMissing(node.body)) {\n      return;\n    }\n    forEach(node.parameters, (p) => {\n      if (p.name && !isBindingPattern(p.name) && p.name.escapedText === argumentsSymbol.escapedName) {\n        errorSkippedOn(\"noEmit\", p, Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters);\n      }\n    });\n  }\n  function needCollisionCheckForIdentifier(node, identifier, name) {\n    if ((identifier == null ? void 0 : identifier.escapedText) !== name) {\n      return false;\n    }\n    if (node.kind === 171 /* PropertyDeclaration */ || node.kind === 170 /* PropertySignature */ || node.kind === 174 /* MethodDeclaration */ || node.kind === 173 /* MethodSignature */ || node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */ || node.kind === 305 /* PropertyAssignment */) {\n      return false;\n    }\n    if (node.flags & 16777216 /* Ambient */) {\n      return false;\n    }\n    if (isImportClause(node) || isImportEqualsDeclaration(node) || isImportSpecifier(node)) {\n      if (isTypeOnlyImportOrExportDeclaration(node)) {\n        return false;\n      }\n    }\n    const root = getRootDeclaration(node);\n    if (isParameter(root) && nodeIsMissing(root.parent.body)) {\n      return false;\n    }\n    return true;\n  }\n  function checkIfThisIsCapturedInEnclosingScope(node) {\n    findAncestor(node, (current) => {\n      if (getNodeCheckFlags(current) & 4 /* CaptureThis */) {\n        const isDeclaration2 = node.kind !== 79 /* Identifier */;\n        if (isDeclaration2) {\n          error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference);\n        } else {\n          error(node, Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference);\n        }\n        return true;\n      }\n      return false;\n    });\n  }\n  function checkIfNewTargetIsCapturedInEnclosingScope(node) {\n    findAncestor(node, (current) => {\n      if (getNodeCheckFlags(current) & 8 /* CaptureNewTarget */) {\n        const isDeclaration2 = node.kind !== 79 /* Identifier */;\n        if (isDeclaration2) {\n          error(getNameOfDeclaration(node), Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference);\n        } else {\n          error(node, Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference);\n        }\n        return true;\n      }\n      return false;\n    });\n  }\n  function checkCollisionWithRequireExportsInGeneratedCode(node, name) {\n    if (moduleKind >= 5 /* ES2015 */ && !(moduleKind >= 100 /* Node16 */ && getSourceFileOfNode(node).impliedNodeFormat === 1 /* CommonJS */)) {\n      return;\n    }\n    if (!name || !needCollisionCheckForIdentifier(node, name, \"require\") && !needCollisionCheckForIdentifier(node, name, \"exports\")) {\n      return;\n    }\n    if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1 /* Instantiated */) {\n      return;\n    }\n    const parent2 = getDeclarationContainer(node);\n    if (parent2.kind === 314 /* SourceFile */ && isExternalOrCommonJsModule(parent2)) {\n      errorSkippedOn(\n        \"noEmit\",\n        name,\n        Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,\n        declarationNameToString(name),\n        declarationNameToString(name)\n      );\n    }\n  }\n  function checkCollisionWithGlobalPromiseInGeneratedCode(node, name) {\n    if (!name || languageVersion >= 4 /* ES2017 */ || !needCollisionCheckForIdentifier(node, name, \"Promise\")) {\n      return;\n    }\n    if (isModuleDeclaration(node) && getModuleInstanceState(node) !== 1 /* Instantiated */) {\n      return;\n    }\n    const parent2 = getDeclarationContainer(node);\n    if (parent2.kind === 314 /* SourceFile */ && isExternalOrCommonJsModule(parent2) && parent2.flags & 2048 /* HasAsyncFunctions */) {\n      errorSkippedOn(\n        \"noEmit\",\n        name,\n        Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,\n        declarationNameToString(name),\n        declarationNameToString(name)\n      );\n    }\n  }\n  function recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name) {\n    if (languageVersion <= 8 /* ES2021 */ && (needCollisionCheckForIdentifier(node, name, \"WeakMap\") || needCollisionCheckForIdentifier(node, name, \"WeakSet\"))) {\n      potentialWeakMapSetCollisions.push(node);\n    }\n  }\n  function checkWeakMapSetCollision(node) {\n    const enclosingBlockScope = getEnclosingBlockScopeContainer(node);\n    if (getNodeCheckFlags(enclosingBlockScope) & 67108864 /* ContainsClassWithPrivateIdentifiers */) {\n      Debug.assert(isNamedDeclaration(node) && isIdentifier(node.name) && typeof node.name.escapedText === \"string\", \"The target of a WeakMap/WeakSet collision check should be an identifier\");\n      errorSkippedOn(\"noEmit\", node, Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel, node.name.escapedText);\n    }\n  }\n  function recordPotentialCollisionWithReflectInGeneratedCode(node, name) {\n    if (name && languageVersion >= 2 /* ES2015 */ && languageVersion <= 8 /* ES2021 */ && needCollisionCheckForIdentifier(node, name, \"Reflect\")) {\n      potentialReflectCollisions.push(node);\n    }\n  }\n  function checkReflectCollision(node) {\n    let hasCollision = false;\n    if (isClassExpression(node)) {\n      for (const member of node.members) {\n        if (getNodeCheckFlags(member) & 134217728 /* ContainsSuperPropertyInStaticInitializer */) {\n          hasCollision = true;\n          break;\n        }\n      }\n    } else if (isFunctionExpression(node)) {\n      if (getNodeCheckFlags(node) & 134217728 /* ContainsSuperPropertyInStaticInitializer */) {\n        hasCollision = true;\n      }\n    } else {\n      const container = getEnclosingBlockScopeContainer(node);\n      if (container && getNodeCheckFlags(container) & 134217728 /* ContainsSuperPropertyInStaticInitializer */) {\n        hasCollision = true;\n      }\n    }\n    if (hasCollision) {\n      Debug.assert(isNamedDeclaration(node) && isIdentifier(node.name), \"The target of a Reflect collision check should be an identifier\");\n      errorSkippedOn(\n        \"noEmit\",\n        node,\n        Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,\n        declarationNameToString(node.name),\n        \"Reflect\"\n      );\n    }\n  }\n  function checkCollisionsForDeclarationName(node, name) {\n    if (!name)\n      return;\n    checkCollisionWithRequireExportsInGeneratedCode(node, name);\n    checkCollisionWithGlobalPromiseInGeneratedCode(node, name);\n    recordPotentialCollisionWithWeakMapSetInGeneratedCode(node, name);\n    recordPotentialCollisionWithReflectInGeneratedCode(node, name);\n    if (isClassLike(node)) {\n      checkTypeNameIsReserved(name, Diagnostics.Class_name_cannot_be_0);\n      if (!(node.flags & 16777216 /* Ambient */)) {\n        checkClassNameCollisionWithObject(name);\n      }\n    } else if (isEnumDeclaration(node)) {\n      checkTypeNameIsReserved(name, Diagnostics.Enum_name_cannot_be_0);\n    } else if (isAnnotationDeclaration(node)) {\n      checkTypeNameIsReserved(name, Diagnostics.Annotation_name_cannot_be_0);\n      if (!(node.flags & 16777216 /* Ambient */)) {\n        checkClassNameCollisionWithObject(name);\n      }\n    }\n  }\n  function checkVarDeclaredNamesNotShadowed(node) {\n    if ((getCombinedNodeFlags(node) & 3 /* BlockScoped */) !== 0 || isParameterDeclaration(node)) {\n      return;\n    }\n    if (node.kind === 261 /* VariableDeclaration */ && !node.initializer) {\n      return;\n    }\n    const symbol = getSymbolOfNode(node);\n    if (symbol.flags & 1 /* FunctionScopedVariable */) {\n      if (!isIdentifier(node.name))\n        return Debug.fail();\n      const localDeclarationSymbol = resolveName(node, node.name.escapedText, 3 /* Variable */, void 0, void 0, false);\n      if (localDeclarationSymbol && localDeclarationSymbol !== symbol && localDeclarationSymbol.flags & 2 /* BlockScopedVariable */) {\n        if (getDeclarationNodeFlagsFromSymbol(localDeclarationSymbol) & 3 /* BlockScoped */) {\n          const varDeclList = getAncestor(localDeclarationSymbol.valueDeclaration, 262 /* VariableDeclarationList */);\n          const container = varDeclList.parent.kind === 244 /* VariableStatement */ && varDeclList.parent.parent ? varDeclList.parent.parent : void 0;\n          const namesShareScope = container && (container.kind === 242 /* Block */ && isFunctionLike(container.parent) || container.kind === 271 /* ModuleBlock */ || container.kind === 270 /* ModuleDeclaration */ || container.kind === 314 /* SourceFile */);\n          if (!namesShareScope) {\n            const name = symbolToString(localDeclarationSymbol);\n            error(node, Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1, name, name);\n          }\n        }\n      }\n    }\n  }\n  function convertAutoToAny(type) {\n    return type === autoType ? anyType : type === autoArrayType ? anyArrayType : type;\n  }\n  function checkVariableLikeDeclaration(node) {\n    var _a2;\n    checkDecorators(node);\n    if (!isBindingElement(node)) {\n      checkSourceElement(node.type);\n    }\n    if (!node.name) {\n      return;\n    }\n    if (node.name.kind === 166 /* ComputedPropertyName */) {\n      checkComputedPropertyName(node.name);\n      if (hasOnlyExpressionInitializer(node) && node.initializer) {\n        checkExpressionCached(node.initializer);\n      }\n    }\n    if (isBindingElement(node)) {\n      if (node.propertyName && isIdentifier(node.name) && isParameterDeclaration(node) && nodeIsMissing(getContainingFunction(node).body)) {\n        potentialUnusedRenamedBindingElementsInTypes.push(node);\n        return;\n      }\n      if (isObjectBindingPattern(node.parent) && node.dotDotDotToken && languageVersion < 5 /* ES2018 */) {\n        checkExternalEmitHelpers(node, 4 /* Rest */);\n      }\n      if (node.propertyName && node.propertyName.kind === 166 /* ComputedPropertyName */) {\n        checkComputedPropertyName(node.propertyName);\n      }\n      const parent2 = node.parent.parent;\n      const parentCheckMode = node.dotDotDotToken ? 64 /* RestBindingElement */ : 0 /* Normal */;\n      const parentType = getTypeForBindingElementParent(parent2, parentCheckMode);\n      const name = node.propertyName || node.name;\n      if (parentType && !isBindingPattern(name)) {\n        const exprType = getLiteralTypeFromPropertyName(name);\n        if (isTypeUsableAsPropertyName(exprType)) {\n          const nameText = getPropertyNameFromType(exprType);\n          const property = getPropertyOfType(parentType, nameText);\n          if (property) {\n            markPropertyAsReferenced(property, void 0, false);\n            checkPropertyAccessibility(node, !!parent2.initializer && parent2.initializer.kind === 107 /* SuperKeyword */, false, parentType, property);\n          }\n        }\n      }\n    }\n    if (isBindingPattern(node.name)) {\n      if (node.name.kind === 207 /* ArrayBindingPattern */ && languageVersion < 2 /* ES2015 */ && compilerOptions.downlevelIteration) {\n        checkExternalEmitHelpers(node, 512 /* Read */);\n      }\n      forEach(node.name.elements, checkSourceElement);\n    }\n    if (isParameter(node) && node.initializer && nodeIsMissing(getContainingFunction(node).body)) {\n      error(node, Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);\n      return;\n    }\n    if (isBindingPattern(node.name)) {\n      const needCheckInitializer = hasOnlyExpressionInitializer(node) && node.initializer && node.parent.parent.kind !== 250 /* ForInStatement */;\n      const needCheckWidenedType = !some(node.name.elements, not(isOmittedExpression));\n      if (needCheckInitializer || needCheckWidenedType) {\n        const widenedType = getWidenedTypeForVariableLikeDeclaration(node);\n        if (needCheckInitializer) {\n          const initializerType = checkExpressionCached(node.initializer);\n          if (strictNullChecks && needCheckWidenedType) {\n            checkNonNullNonVoidType(initializerType, node);\n          } else {\n            checkTypeAssignableToAndOptionallyElaborate(initializerType, getWidenedTypeForVariableLikeDeclaration(node), node, node.initializer);\n          }\n        }\n        if (needCheckWidenedType) {\n          if (isArrayBindingPattern(node.name)) {\n            checkIteratedTypeOrElementType(65 /* Destructuring */, widenedType, undefinedType, node);\n          } else if (strictNullChecks) {\n            checkNonNullNonVoidType(widenedType, node);\n          }\n        }\n      }\n      return;\n    }\n    const symbol = getSymbolOfNode(node);\n    if (symbol.flags & 2097152 /* Alias */ && isVariableDeclarationInitializedToBareOrAccessedRequire(node.kind === 208 /* BindingElement */ ? node.parent.parent : node)) {\n      checkAliasSymbol(node);\n      return;\n    }\n    const type = convertAutoToAny(getTypeOfSymbol(symbol));\n    if (node === symbol.valueDeclaration) {\n      const initializer = hasOnlyExpressionInitializer(node) && getEffectiveInitializer(node);\n      if (initializer) {\n        const isJSObjectLiteralInitializer = isInJSFile(node) && isObjectLiteralExpression(initializer) && (initializer.properties.length === 0 || isPrototypeAccess(node.name)) && !!((_a2 = symbol.exports) == null ? void 0 : _a2.size);\n        if (!isJSObjectLiteralInitializer && node.parent.parent.kind !== 250 /* ForInStatement */) {\n          checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(initializer), type, node, initializer, void 0);\n        }\n      }\n      if (symbol.declarations && symbol.declarations.length > 1) {\n        if (some(symbol.declarations, (d) => d !== node && isVariableLike(d) && !areDeclarationFlagsIdentical(d, node))) {\n          error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name));\n        }\n      }\n    } else {\n      const declarationType = convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(node));\n      if (!isErrorType(type) && !isErrorType(declarationType) && !isTypeIdenticalTo(type, declarationType) && !(symbol.flags & 67108864 /* Assignment */)) {\n        errorNextVariableOrPropertyDeclarationMustHaveSameType(symbol.valueDeclaration, type, node, declarationType);\n      }\n      if (hasOnlyExpressionInitializer(node) && node.initializer) {\n        checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(node.initializer), declarationType, node, node.initializer, void 0);\n      }\n      if (symbol.valueDeclaration && !areDeclarationFlagsIdentical(node, symbol.valueDeclaration)) {\n        error(node.name, Diagnostics.All_declarations_of_0_must_have_identical_modifiers, declarationNameToString(node.name));\n      }\n    }\n    if (node.kind !== 171 /* PropertyDeclaration */ && node.kind !== 170 /* PropertySignature */ && node.kind !== 172 /* AnnotationPropertyDeclaration */) {\n      checkExportsOnMergedDeclarations(node);\n      if (node.kind === 261 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) {\n        checkVarDeclaredNamesNotShadowed(node);\n      }\n      checkCollisionsForDeclarationName(node, node.name);\n    }\n  }\n  function errorNextVariableOrPropertyDeclarationMustHaveSameType(firstDeclaration, firstType, nextDeclaration, nextType) {\n    const nextDeclarationName = getNameOfDeclaration(nextDeclaration);\n    const message = nextDeclaration.kind === 171 /* PropertyDeclaration */ || nextDeclaration.kind === 170 /* PropertySignature */ ? Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2 : Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;\n    const declName = declarationNameToString(nextDeclarationName);\n    const err = error(\n      nextDeclarationName,\n      message,\n      declName,\n      typeToString(firstType),\n      typeToString(nextType)\n    );\n    if (firstDeclaration) {\n      addRelatedInfo(\n        err,\n        createDiagnosticForNode(firstDeclaration, Diagnostics._0_was_also_declared_here, declName)\n      );\n    }\n  }\n  function areDeclarationFlagsIdentical(left, right) {\n    if (left.kind === 168 /* Parameter */ && right.kind === 261 /* VariableDeclaration */ || left.kind === 261 /* VariableDeclaration */ && right.kind === 168 /* Parameter */) {\n      return true;\n    }\n    if (hasQuestionToken(left) !== hasQuestionToken(right)) {\n      return false;\n    }\n    const interestingFlags = 8 /* Private */ | 16 /* Protected */ | 512 /* Async */ | 256 /* Abstract */ | 64 /* Readonly */ | 32 /* Static */;\n    return getSelectedEffectiveModifierFlags(left, interestingFlags) === getSelectedEffectiveModifierFlags(right, interestingFlags);\n  }\n  function checkVariableDeclaration(node) {\n    var _a2, _b;\n    (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Check, \"checkVariableDeclaration\", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });\n    PerformanceDotting.start(\"checkVariableDeclaration\", performanceFileName);\n    checkGrammarVariableDeclaration(node);\n    checkVariableLikeDeclaration(node);\n    PerformanceDotting.stop(\"checkVariableDeclaration\");\n    (_b = tracing) == null ? void 0 : _b.pop();\n  }\n  function checkBindingElement(node) {\n    checkGrammarBindingElement(node);\n    return checkVariableLikeDeclaration(node);\n  }\n  function checkVariableStatement(node) {\n    if (!checkGrammarDecoratorsAndModifiers(node) && !checkGrammarVariableDeclarationList(node.declarationList))\n      checkGrammarForDisallowedLetOrConstStatement(node);\n    forEach(node.declarationList.declarations, checkSourceElement);\n  }\n  function checkExpressionStatement(node) {\n    checkGrammarStatementInAmbientContext(node);\n    checkExpression(node.expression);\n  }\n  function checkIfStatement(node) {\n    checkGrammarStatementInAmbientContext(node);\n    const type = checkTruthinessExpression(node.expression);\n    checkTestingKnownTruthyCallableOrAwaitableType(node.expression, type, node.thenStatement);\n    checkSourceElement(node.thenStatement);\n    if (node.thenStatement.kind === 243 /* EmptyStatement */) {\n      error(node.thenStatement, Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement);\n    }\n    checkSourceElement(node.elseStatement);\n  }\n  function checkTestingKnownTruthyCallableOrAwaitableType(condExpr, condType, body) {\n    if (!strictNullChecks)\n      return;\n    helper(condExpr, body);\n    while (isBinaryExpression(condExpr) && condExpr.operatorToken.kind === 56 /* BarBarToken */) {\n      condExpr = condExpr.left;\n      helper(condExpr, body);\n    }\n    function helper(condExpr2, body2) {\n      const location = isBinaryExpression(condExpr2) && (condExpr2.operatorToken.kind === 56 /* BarBarToken */ || condExpr2.operatorToken.kind === 55 /* AmpersandAmpersandToken */) ? condExpr2.right : condExpr2;\n      if (isModuleExportsAccessExpression(location))\n        return;\n      const type = location === condExpr2 ? condType : checkTruthinessExpression(location);\n      const isPropertyExpressionCast = isPropertyAccessExpression(location) && isTypeAssertion3(location.expression);\n      if (!(getTypeFacts(type) & 4194304 /* Truthy */) || isPropertyExpressionCast)\n        return;\n      const callSignatures = getSignaturesOfType(type, 0 /* Call */);\n      const isPromise = !!getAwaitedTypeOfPromise(type);\n      if (callSignatures.length === 0 && !isPromise) {\n        return;\n      }\n      const testedNode = isIdentifier(location) ? location : isPropertyAccessExpression(location) ? location.name : isBinaryExpression(location) && isIdentifier(location.right) ? location.right : void 0;\n      const testedSymbol = testedNode && getSymbolAtLocation(testedNode);\n      if (!testedSymbol && !isPromise) {\n        return;\n      }\n      const isUsed = testedSymbol && isBinaryExpression(condExpr2.parent) && isSymbolUsedInBinaryExpressionChain(condExpr2.parent, testedSymbol) || testedSymbol && body2 && isSymbolUsedInConditionBody(condExpr2, body2, testedNode, testedSymbol);\n      if (!isUsed) {\n        if (isPromise) {\n          errorAndMaybeSuggestAwait(\n            location,\n            true,\n            Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,\n            getTypeNameForErrorDisplay(type)\n          );\n        } else {\n          error(location, Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead);\n        }\n      }\n    }\n  }\n  function isSymbolUsedInConditionBody(expr, body, testedNode, testedSymbol) {\n    return !!forEachChild(body, function check(childNode) {\n      if (isIdentifier(childNode)) {\n        const childSymbol = getSymbolAtLocation(childNode);\n        if (childSymbol && childSymbol === testedSymbol) {\n          if (isIdentifier(expr) || isIdentifier(testedNode) && isBinaryExpression(testedNode.parent)) {\n            return true;\n          }\n          let testedExpression = testedNode.parent;\n          let childExpression = childNode.parent;\n          while (testedExpression && childExpression) {\n            if (isIdentifier(testedExpression) && isIdentifier(childExpression) || testedExpression.kind === 109 /* ThisKeyword */ && childExpression.kind === 109 /* ThisKeyword */) {\n              return getSymbolAtLocation(testedExpression) === getSymbolAtLocation(childExpression);\n            } else if (isPropertyAccessExpression(testedExpression) && isPropertyAccessExpression(childExpression)) {\n              if (getSymbolAtLocation(testedExpression.name) !== getSymbolAtLocation(childExpression.name)) {\n                return false;\n              }\n              childExpression = childExpression.expression;\n              testedExpression = testedExpression.expression;\n            } else if (isCallExpression(testedExpression) && isCallExpression(childExpression)) {\n              childExpression = childExpression.expression;\n              testedExpression = testedExpression.expression;\n            } else {\n              return false;\n            }\n          }\n        }\n      }\n      return forEachChild(childNode, check);\n    });\n  }\n  function isSymbolUsedInBinaryExpressionChain(node, testedSymbol) {\n    while (isBinaryExpression(node) && node.operatorToken.kind === 55 /* AmpersandAmpersandToken */) {\n      const isUsed = forEachChild(node.right, function visit(child) {\n        if (isIdentifier(child)) {\n          const symbol = getSymbolAtLocation(child);\n          if (symbol && symbol === testedSymbol) {\n            return true;\n          }\n        }\n        return forEachChild(child, visit);\n      });\n      if (isUsed) {\n        return true;\n      }\n      node = node.parent;\n    }\n    return false;\n  }\n  function checkDoStatement(node) {\n    checkGrammarStatementInAmbientContext(node);\n    checkSourceElement(node.statement);\n    checkTruthinessExpression(node.expression);\n  }\n  function checkWhileStatement(node) {\n    checkGrammarStatementInAmbientContext(node);\n    checkTruthinessExpression(node.expression);\n    checkSourceElement(node.statement);\n  }\n  function checkTruthinessOfType(type, node) {\n    if (type.flags & 16384 /* Void */) {\n      error(node, Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness);\n    }\n    return type;\n  }\n  function checkTruthinessExpression(node, checkMode) {\n    return checkTruthinessOfType(checkExpression(node, checkMode), node);\n  }\n  function checkForStatement(node) {\n    if (!checkGrammarStatementInAmbientContext(node)) {\n      if (node.initializer && node.initializer.kind === 262 /* VariableDeclarationList */) {\n        checkGrammarVariableDeclarationList(node.initializer);\n      }\n    }\n    if (node.initializer) {\n      if (node.initializer.kind === 262 /* VariableDeclarationList */) {\n        forEach(node.initializer.declarations, checkVariableDeclaration);\n      } else {\n        checkExpression(node.initializer);\n      }\n    }\n    if (node.condition)\n      checkTruthinessExpression(node.condition);\n    if (node.incrementor)\n      checkExpression(node.incrementor);\n    checkSourceElement(node.statement);\n    if (node.locals) {\n      registerForUnusedIdentifiersCheck(node);\n    }\n  }\n  function checkForOfStatement(node) {\n    checkGrammarForInOrForOfStatement(node);\n    const container = getContainingFunctionOrClassStaticBlock(node);\n    if (node.awaitModifier) {\n      if (container && isClassStaticBlockDeclaration(container)) {\n        grammarErrorOnNode(node.awaitModifier, Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block);\n      } else {\n        const functionFlags = getFunctionFlags(container);\n        if ((functionFlags & (4 /* Invalid */ | 2 /* Async */)) === 2 /* Async */ && languageVersion < 99 /* ESNext */) {\n          checkExternalEmitHelpers(node, 16384 /* ForAwaitOfIncludes */);\n        }\n      }\n    } else if (compilerOptions.downlevelIteration && languageVersion < 2 /* ES2015 */) {\n      checkExternalEmitHelpers(node, 256 /* ForOfIncludes */);\n    }\n    if (node.initializer.kind === 262 /* VariableDeclarationList */) {\n      checkForInOrForOfVariableDeclaration(node);\n    } else {\n      const varExpr = node.initializer;\n      const iteratedType = checkRightHandSideOfForOf(node);\n      if (varExpr.kind === 209 /* ArrayLiteralExpression */ || varExpr.kind === 210 /* ObjectLiteralExpression */) {\n        checkDestructuringAssignment(varExpr, iteratedType || errorType);\n      } else {\n        const leftType = checkExpression(varExpr);\n        checkReferenceExpression(\n          varExpr,\n          Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,\n          Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access\n        );\n        if (iteratedType) {\n          checkTypeAssignableToAndOptionallyElaborate(iteratedType, leftType, varExpr, node.expression);\n        }\n      }\n    }\n    checkSourceElement(node.statement);\n    if (node.locals) {\n      registerForUnusedIdentifiersCheck(node);\n    }\n  }\n  function checkForInStatement(node) {\n    checkGrammarForInOrForOfStatement(node);\n    const rightType = getNonNullableTypeIfNeeded(checkExpression(node.expression));\n    if (node.initializer.kind === 262 /* VariableDeclarationList */) {\n      const variable = node.initializer.declarations[0];\n      if (variable && isBindingPattern(variable.name)) {\n        error(variable.name, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern);\n      }\n      checkForInOrForOfVariableDeclaration(node);\n    } else {\n      const varExpr = node.initializer;\n      const leftType = checkExpression(varExpr);\n      if (varExpr.kind === 209 /* ArrayLiteralExpression */ || varExpr.kind === 210 /* ObjectLiteralExpression */) {\n        error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern);\n      } else if (!isTypeAssignableTo(getIndexTypeOrString(rightType), leftType)) {\n        error(varExpr, Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any);\n      } else {\n        checkReferenceExpression(\n          varExpr,\n          Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,\n          Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access\n        );\n      }\n    }\n    if (rightType === neverType || !isTypeAssignableToKind(rightType, 67108864 /* NonPrimitive */ | 58982400 /* InstantiableNonPrimitive */)) {\n      error(node.expression, Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0, typeToString(rightType));\n    }\n    checkSourceElement(node.statement);\n    if (node.locals) {\n      registerForUnusedIdentifiersCheck(node);\n    }\n  }\n  function checkForInOrForOfVariableDeclaration(iterationStatement) {\n    const variableDeclarationList = iterationStatement.initializer;\n    if (variableDeclarationList.declarations.length >= 1) {\n      const decl = variableDeclarationList.declarations[0];\n      checkVariableDeclaration(decl);\n    }\n  }\n  function checkRightHandSideOfForOf(statement) {\n    const use = statement.awaitModifier ? 15 /* ForAwaitOf */ : 13 /* ForOf */;\n    return checkIteratedTypeOrElementType(use, checkNonNullExpression(statement.expression), undefinedType, statement.expression);\n  }\n  function checkIteratedTypeOrElementType(use, inputType, sentType, errorNode) {\n    if (isTypeAny(inputType)) {\n      return inputType;\n    }\n    return getIteratedTypeOrElementType(use, inputType, sentType, errorNode, true) || anyType;\n  }\n  function getIteratedTypeOrElementType(use, inputType, sentType, errorNode, checkAssignability) {\n    const allowAsyncIterables = (use & 2 /* AllowsAsyncIterablesFlag */) !== 0;\n    if (inputType === neverType) {\n      reportTypeNotIterableError(errorNode, inputType, allowAsyncIterables);\n      return void 0;\n    }\n    const uplevelIteration = languageVersion >= 2 /* ES2015 */;\n    const downlevelIteration = !uplevelIteration && compilerOptions.downlevelIteration;\n    const possibleOutOfBounds = compilerOptions.noUncheckedIndexedAccess && !!(use & 128 /* PossiblyOutOfBounds */);\n    if (uplevelIteration || downlevelIteration || allowAsyncIterables) {\n      const iterationTypes = getIterationTypesOfIterable(inputType, use, uplevelIteration ? errorNode : void 0);\n      if (checkAssignability) {\n        if (iterationTypes) {\n          const diagnostic = use & 8 /* ForOfFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0 : use & 32 /* SpreadFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0 : use & 64 /* DestructuringFlag */ ? Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0 : use & 16 /* YieldStarFlag */ ? Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0 : void 0;\n          if (diagnostic) {\n            checkTypeAssignableTo(sentType, iterationTypes.nextType, errorNode, diagnostic);\n          }\n        }\n      }\n      if (iterationTypes || uplevelIteration) {\n        return possibleOutOfBounds ? includeUndefinedInIndexSignature(iterationTypes && iterationTypes.yieldType) : iterationTypes && iterationTypes.yieldType;\n      }\n    }\n    let arrayType = inputType;\n    let reportedError = false;\n    let hasStringConstituent = false;\n    if (use & 4 /* AllowsStringInputFlag */) {\n      if (arrayType.flags & 1048576 /* Union */) {\n        const arrayTypes = inputType.types;\n        const filteredTypes = filter(arrayTypes, (t) => !(t.flags & 402653316 /* StringLike */));\n        if (filteredTypes !== arrayTypes) {\n          arrayType = getUnionType(filteredTypes, 2 /* Subtype */);\n        }\n      } else if (arrayType.flags & 402653316 /* StringLike */) {\n        arrayType = neverType;\n      }\n      hasStringConstituent = arrayType !== inputType;\n      if (hasStringConstituent) {\n        if (languageVersion < 1 /* ES5 */) {\n          if (errorNode) {\n            error(errorNode, Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);\n            reportedError = true;\n          }\n        }\n        if (arrayType.flags & 131072 /* Never */) {\n          return possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType;\n        }\n      }\n    }\n    if (!isArrayLikeType2(arrayType)) {\n      if (errorNode && !reportedError) {\n        const allowsStrings = !!(use & 4 /* AllowsStringInputFlag */) && !hasStringConstituent;\n        const [defaultDiagnostic, maybeMissingAwait] = getIterationDiagnosticDetails(allowsStrings, downlevelIteration);\n        errorAndMaybeSuggestAwait(\n          errorNode,\n          maybeMissingAwait && !!getAwaitedTypeOfPromise(arrayType),\n          defaultDiagnostic,\n          typeToString(arrayType)\n        );\n      }\n      return hasStringConstituent ? possibleOutOfBounds ? includeUndefinedInIndexSignature(stringType) : stringType : void 0;\n    }\n    const arrayElementType = getIndexTypeOfType(arrayType, numberType);\n    if (hasStringConstituent && arrayElementType) {\n      if (arrayElementType.flags & 402653316 /* StringLike */ && !compilerOptions.noUncheckedIndexedAccess) {\n        return stringType;\n      }\n      return getUnionType(possibleOutOfBounds ? [arrayElementType, stringType, undefinedType] : [arrayElementType, stringType], 2 /* Subtype */);\n    }\n    return use & 128 /* PossiblyOutOfBounds */ ? includeUndefinedInIndexSignature(arrayElementType) : arrayElementType;\n    function getIterationDiagnosticDetails(allowsStrings, downlevelIteration2) {\n      var _a2;\n      if (downlevelIteration2) {\n        return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true] : [Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator, true];\n      }\n      const yieldType = getIterationTypeOfIterable(use, 0 /* Yield */, inputType, void 0);\n      if (yieldType) {\n        return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, false];\n      }\n      if (isES2015OrLaterIterable((_a2 = inputType.symbol) == null ? void 0 : _a2.escapedName)) {\n        return [Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher, true];\n      }\n      return allowsStrings ? [Diagnostics.Type_0_is_not_an_array_type_or_a_string_type, true] : [Diagnostics.Type_0_is_not_an_array_type, true];\n    }\n  }\n  function isES2015OrLaterIterable(n) {\n    switch (n) {\n      case \"Float32Array\":\n      case \"Float64Array\":\n      case \"Int16Array\":\n      case \"Int32Array\":\n      case \"Int8Array\":\n      case \"NodeList\":\n      case \"Uint16Array\":\n      case \"Uint32Array\":\n      case \"Uint8Array\":\n      case \"Uint8ClampedArray\":\n        return true;\n    }\n    return false;\n  }\n  function getIterationTypeOfIterable(use, typeKind, inputType, errorNode) {\n    if (isTypeAny(inputType)) {\n      return void 0;\n    }\n    const iterationTypes = getIterationTypesOfIterable(inputType, use, errorNode);\n    return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(typeKind)];\n  }\n  function createIterationTypes(yieldType = neverType, returnType = neverType, nextType = unknownType) {\n    if (yieldType.flags & 67359327 /* Intrinsic */ && returnType.flags & (1 /* Any */ | 131072 /* Never */ | 2 /* Unknown */ | 16384 /* Void */ | 32768 /* Undefined */) && nextType.flags & (1 /* Any */ | 131072 /* Never */ | 2 /* Unknown */ | 16384 /* Void */ | 32768 /* Undefined */)) {\n      const id = getTypeListId([yieldType, returnType, nextType]);\n      let iterationTypes = iterationTypesCache.get(id);\n      if (!iterationTypes) {\n        iterationTypes = { yieldType, returnType, nextType };\n        iterationTypesCache.set(id, iterationTypes);\n      }\n      return iterationTypes;\n    }\n    return { yieldType, returnType, nextType };\n  }\n  function combineIterationTypes(array) {\n    let yieldTypes;\n    let returnTypes;\n    let nextTypes;\n    for (const iterationTypes of array) {\n      if (iterationTypes === void 0 || iterationTypes === noIterationTypes) {\n        continue;\n      }\n      if (iterationTypes === anyIterationTypes) {\n        return anyIterationTypes;\n      }\n      yieldTypes = append(yieldTypes, iterationTypes.yieldType);\n      returnTypes = append(returnTypes, iterationTypes.returnType);\n      nextTypes = append(nextTypes, iterationTypes.nextType);\n    }\n    if (yieldTypes || returnTypes || nextTypes) {\n      return createIterationTypes(\n        yieldTypes && getUnionType(yieldTypes),\n        returnTypes && getUnionType(returnTypes),\n        nextTypes && getIntersectionType(nextTypes)\n      );\n    }\n    return noIterationTypes;\n  }\n  function getCachedIterationTypes(type, cacheKey) {\n    return type[cacheKey];\n  }\n  function setCachedIterationTypes(type, cacheKey, cachedTypes2) {\n    return type[cacheKey] = cachedTypes2;\n  }\n  function getIterationTypesOfIterable(type, use, errorNode) {\n    var _a2, _b;\n    if (isTypeAny(type)) {\n      return anyIterationTypes;\n    }\n    if (!(type.flags & 1048576 /* Union */)) {\n      const errorOutputContainer = errorNode ? { errors: void 0 } : void 0;\n      const iterationTypes2 = getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer);\n      if (iterationTypes2 === noIterationTypes) {\n        if (errorNode) {\n          const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2 /* AllowsAsyncIterablesFlag */));\n          if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) {\n            addRelatedInfo(rootDiag, ...errorOutputContainer.errors);\n          }\n        }\n        return void 0;\n      } else if ((_a2 = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _a2.length) {\n        for (const diag2 of errorOutputContainer.errors) {\n          diagnostics.add(diag2);\n        }\n      }\n      return iterationTypes2;\n    }\n    const cacheKey = use & 2 /* AllowsAsyncIterablesFlag */ ? \"iterationTypesOfAsyncIterable\" : \"iterationTypesOfIterable\";\n    const cachedTypes2 = getCachedIterationTypes(type, cacheKey);\n    if (cachedTypes2)\n      return cachedTypes2 === noIterationTypes ? void 0 : cachedTypes2;\n    let allIterationTypes;\n    for (const constituent of type.types) {\n      const errorOutputContainer = errorNode ? { errors: void 0 } : void 0;\n      const iterationTypes2 = getIterationTypesOfIterableWorker(constituent, use, errorNode, errorOutputContainer);\n      if (iterationTypes2 === noIterationTypes) {\n        if (errorNode) {\n          const rootDiag = reportTypeNotIterableError(errorNode, type, !!(use & 2 /* AllowsAsyncIterablesFlag */));\n          if (errorOutputContainer == null ? void 0 : errorOutputContainer.errors) {\n            addRelatedInfo(rootDiag, ...errorOutputContainer.errors);\n          }\n        }\n        setCachedIterationTypes(type, cacheKey, noIterationTypes);\n        return void 0;\n      } else if ((_b = errorOutputContainer == null ? void 0 : errorOutputContainer.errors) == null ? void 0 : _b.length) {\n        for (const diag2 of errorOutputContainer.errors) {\n          diagnostics.add(diag2);\n        }\n      }\n      allIterationTypes = append(allIterationTypes, iterationTypes2);\n    }\n    const iterationTypes = allIterationTypes ? combineIterationTypes(allIterationTypes) : noIterationTypes;\n    setCachedIterationTypes(type, cacheKey, iterationTypes);\n    return iterationTypes === noIterationTypes ? void 0 : iterationTypes;\n  }\n  function getAsyncFromSyncIterationTypes(iterationTypes, errorNode) {\n    if (iterationTypes === noIterationTypes)\n      return noIterationTypes;\n    if (iterationTypes === anyIterationTypes)\n      return anyIterationTypes;\n    const { yieldType, returnType, nextType } = iterationTypes;\n    if (errorNode) {\n      getGlobalAwaitedSymbol(true);\n    }\n    return createIterationTypes(\n      getAwaitedType(yieldType, errorNode) || anyType,\n      getAwaitedType(returnType, errorNode) || anyType,\n      nextType\n    );\n  }\n  function getIterationTypesOfIterableWorker(type, use, errorNode, errorOutputContainer) {\n    if (isTypeAny(type)) {\n      return anyIterationTypes;\n    }\n    let noCache = false;\n    if (use & 2 /* AllowsAsyncIterablesFlag */) {\n      const iterationTypes = getIterationTypesOfIterableCached(type, asyncIterationTypesResolver) || getIterationTypesOfIterableFast(type, asyncIterationTypesResolver);\n      if (iterationTypes) {\n        if (iterationTypes === noIterationTypes && errorNode) {\n          noCache = true;\n        } else {\n          return use & 8 /* ForOfFlag */ ? getAsyncFromSyncIterationTypes(iterationTypes, errorNode) : iterationTypes;\n        }\n      }\n    }\n    if (use & 1 /* AllowsSyncIterablesFlag */) {\n      let iterationTypes = getIterationTypesOfIterableCached(type, syncIterationTypesResolver) || getIterationTypesOfIterableFast(type, syncIterationTypesResolver);\n      if (iterationTypes) {\n        if (iterationTypes === noIterationTypes && errorNode) {\n          noCache = true;\n        } else {\n          if (use & 2 /* AllowsAsyncIterablesFlag */) {\n            if (iterationTypes !== noIterationTypes) {\n              iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode);\n              return noCache ? iterationTypes : setCachedIterationTypes(type, \"iterationTypesOfAsyncIterable\", iterationTypes);\n            }\n          } else {\n            return iterationTypes;\n          }\n        }\n      }\n    }\n    if (use & 2 /* AllowsAsyncIterablesFlag */) {\n      const iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache);\n      if (iterationTypes !== noIterationTypes) {\n        return iterationTypes;\n      }\n    }\n    if (use & 1 /* AllowsSyncIterablesFlag */) {\n      let iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache);\n      if (iterationTypes !== noIterationTypes) {\n        if (use & 2 /* AllowsAsyncIterablesFlag */) {\n          iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode);\n          return noCache ? iterationTypes : setCachedIterationTypes(type, \"iterationTypesOfAsyncIterable\", iterationTypes);\n        } else {\n          return iterationTypes;\n        }\n      }\n    }\n    return noIterationTypes;\n  }\n  function getIterationTypesOfIterableCached(type, resolver) {\n    return getCachedIterationTypes(type, resolver.iterableCacheKey);\n  }\n  function getIterationTypesOfGlobalIterableType(globalType, resolver) {\n    const globalIterationTypes = getIterationTypesOfIterableCached(globalType, resolver) || getIterationTypesOfIterableSlow(globalType, resolver, void 0, void 0, false);\n    return globalIterationTypes === noIterationTypes ? defaultIterationTypes : globalIterationTypes;\n  }\n  function getIterationTypesOfIterableFast(type, resolver) {\n    let globalType;\n    if (isReferenceToType2(type, globalType = resolver.getGlobalIterableType(false)) || isReferenceToType2(type, globalType = resolver.getGlobalIterableIteratorType(false))) {\n      const [yieldType] = getTypeArguments(type);\n      const { returnType, nextType } = getIterationTypesOfGlobalIterableType(globalType, resolver);\n      return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType(yieldType, void 0) || yieldType, resolver.resolveIterationType(returnType, void 0) || returnType, nextType));\n    }\n    if (isReferenceToType2(type, resolver.getGlobalGeneratorType(false))) {\n      const [yieldType, returnType, nextType] = getTypeArguments(type);\n      return setCachedIterationTypes(type, resolver.iterableCacheKey, createIterationTypes(resolver.resolveIterationType(yieldType, void 0) || yieldType, resolver.resolveIterationType(returnType, void 0) || returnType, nextType));\n    }\n  }\n  function getPropertyNameForKnownSymbolName(symbolName2) {\n    const ctorType = getGlobalESSymbolConstructorSymbol(false);\n    const uniqueType = ctorType && getTypeOfPropertyOfType(getTypeOfSymbol(ctorType), escapeLeadingUnderscores(symbolName2));\n    return uniqueType && isTypeUsableAsPropertyName(uniqueType) ? getPropertyNameFromType(uniqueType) : `__@${symbolName2}`;\n  }\n  function getIterationTypesOfIterableSlow(type, resolver, errorNode, errorOutputContainer, noCache) {\n    var _a2;\n    const method = getPropertyOfType(type, getPropertyNameForKnownSymbolName(resolver.iteratorSymbolName));\n    const methodType = method && !(method.flags & 16777216 /* Optional */) ? getTypeOfSymbol(method) : void 0;\n    if (isTypeAny(methodType)) {\n      return noCache ? anyIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, anyIterationTypes);\n    }\n    const signatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : void 0;\n    if (!some(signatures)) {\n      return noCache ? noIterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, noIterationTypes);\n    }\n    const iteratorType = getIntersectionType(map(signatures, getReturnTypeOfSignature));\n    const iterationTypes = (_a2 = getIterationTypesOfIteratorWorker(iteratorType, resolver, errorNode, errorOutputContainer, noCache)) != null ? _a2 : noIterationTypes;\n    return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iterableCacheKey, iterationTypes);\n  }\n  function reportTypeNotIterableError(errorNode, type, allowAsyncIterables) {\n    const message = allowAsyncIterables ? Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator : Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator;\n    const suggestAwait = !!getAwaitedTypeOfPromise(type) || !allowAsyncIterables && isForOfStatement(errorNode.parent) && errorNode.parent.expression === errorNode && getGlobalAsyncIterableType(false) !== emptyGenericType && isTypeAssignableTo(\n      type,\n      getGlobalAsyncIterableType(false)\n    );\n    return errorAndMaybeSuggestAwait(errorNode, suggestAwait, message, typeToString(type));\n  }\n  function getIterationTypesOfIterator(type, resolver, errorNode, errorOutputContainer) {\n    return getIterationTypesOfIteratorWorker(type, resolver, errorNode, errorOutputContainer, false);\n  }\n  function getIterationTypesOfIteratorWorker(type, resolver, errorNode, errorOutputContainer, noCache) {\n    if (isTypeAny(type)) {\n      return anyIterationTypes;\n    }\n    let iterationTypes = getIterationTypesOfIteratorCached(type, resolver) || getIterationTypesOfIteratorFast(type, resolver);\n    if (iterationTypes === noIterationTypes && errorNode) {\n      iterationTypes = void 0;\n      noCache = true;\n    }\n    iterationTypes != null ? iterationTypes : iterationTypes = getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache);\n    return iterationTypes === noIterationTypes ? void 0 : iterationTypes;\n  }\n  function getIterationTypesOfIteratorCached(type, resolver) {\n    return getCachedIterationTypes(type, resolver.iteratorCacheKey);\n  }\n  function getIterationTypesOfIteratorFast(type, resolver) {\n    const globalType = resolver.getGlobalIterableIteratorType(false);\n    if (isReferenceToType2(type, globalType)) {\n      const [yieldType] = getTypeArguments(type);\n      const globalIterationTypes = getIterationTypesOfIteratorCached(globalType, resolver) || getIterationTypesOfIteratorSlow(globalType, resolver, void 0, void 0, false);\n      const { returnType, nextType } = globalIterationTypes === noIterationTypes ? defaultIterationTypes : globalIterationTypes;\n      return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType));\n    }\n    if (isReferenceToType2(type, resolver.getGlobalIteratorType(false)) || isReferenceToType2(type, resolver.getGlobalGeneratorType(false))) {\n      const [yieldType, returnType, nextType] = getTypeArguments(type);\n      return setCachedIterationTypes(type, resolver.iteratorCacheKey, createIterationTypes(yieldType, returnType, nextType));\n    }\n  }\n  function isIteratorResult(type, kind) {\n    const doneType = getTypeOfPropertyOfType(type, \"done\") || falseType;\n    return isTypeAssignableTo(kind === 0 /* Yield */ ? falseType : trueType, doneType);\n  }\n  function isYieldIteratorResult(type) {\n    return isIteratorResult(type, 0 /* Yield */);\n  }\n  function isReturnIteratorResult(type) {\n    return isIteratorResult(type, 1 /* Return */);\n  }\n  function getIterationTypesOfIteratorResult(type) {\n    if (isTypeAny(type)) {\n      return anyIterationTypes;\n    }\n    const cachedTypes2 = getCachedIterationTypes(type, \"iterationTypesOfIteratorResult\");\n    if (cachedTypes2) {\n      return cachedTypes2;\n    }\n    if (isReferenceToType2(type, getGlobalIteratorYieldResultType(false))) {\n      const yieldType2 = getTypeArguments(type)[0];\n      return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", createIterationTypes(yieldType2, void 0, void 0));\n    }\n    if (isReferenceToType2(type, getGlobalIteratorReturnResultType(false))) {\n      const returnType2 = getTypeArguments(type)[0];\n      return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", createIterationTypes(void 0, returnType2, void 0));\n    }\n    const yieldIteratorResult = filterType(type, isYieldIteratorResult);\n    const yieldType = yieldIteratorResult !== neverType ? getTypeOfPropertyOfType(yieldIteratorResult, \"value\") : void 0;\n    const returnIteratorResult = filterType(type, isReturnIteratorResult);\n    const returnType = returnIteratorResult !== neverType ? getTypeOfPropertyOfType(returnIteratorResult, \"value\") : void 0;\n    if (!yieldType && !returnType) {\n      return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", noIterationTypes);\n    }\n    return setCachedIterationTypes(type, \"iterationTypesOfIteratorResult\", createIterationTypes(yieldType, returnType || voidType, void 0));\n  }\n  function getIterationTypesOfMethod(type, resolver, methodName, errorNode, errorOutputContainer) {\n    var _a2, _b, _c, _d, _e, _f;\n    const method = getPropertyOfType(type, methodName);\n    if (!method && methodName !== \"next\") {\n      return void 0;\n    }\n    const methodType = method && !(methodName === \"next\" && method.flags & 16777216 /* Optional */) ? methodName === \"next\" ? getTypeOfSymbol(method) : getTypeWithFacts(getTypeOfSymbol(method), 2097152 /* NEUndefinedOrNull */) : void 0;\n    if (isTypeAny(methodType)) {\n      return methodName === \"next\" ? anyIterationTypes : anyIterationTypesExceptNext;\n    }\n    const methodSignatures = methodType ? getSignaturesOfType(methodType, 0 /* Call */) : emptyArray;\n    if (methodSignatures.length === 0) {\n      if (errorNode) {\n        const diagnostic = methodName === \"next\" ? resolver.mustHaveANextMethodDiagnostic : resolver.mustBeAMethodDiagnostic;\n        if (errorOutputContainer) {\n          (_a2 = errorOutputContainer.errors) != null ? _a2 : errorOutputContainer.errors = [];\n          errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, diagnostic, methodName));\n        } else {\n          error(errorNode, diagnostic, methodName);\n        }\n      }\n      return methodName === \"next\" ? noIterationTypes : void 0;\n    }\n    if ((methodType == null ? void 0 : methodType.symbol) && methodSignatures.length === 1) {\n      const globalGeneratorType = resolver.getGlobalGeneratorType(false);\n      const globalIteratorType = resolver.getGlobalIteratorType(false);\n      const isGeneratorMethod = ((_c = (_b = globalGeneratorType.symbol) == null ? void 0 : _b.members) == null ? void 0 : _c.get(methodName)) === methodType.symbol;\n      const isIteratorMethod = !isGeneratorMethod && ((_e = (_d = globalIteratorType.symbol) == null ? void 0 : _d.members) == null ? void 0 : _e.get(methodName)) === methodType.symbol;\n      if (isGeneratorMethod || isIteratorMethod) {\n        const globalType = isGeneratorMethod ? globalGeneratorType : globalIteratorType;\n        const { mapper } = methodType;\n        return createIterationTypes(\n          getMappedType(globalType.typeParameters[0], mapper),\n          getMappedType(globalType.typeParameters[1], mapper),\n          methodName === \"next\" ? getMappedType(globalType.typeParameters[2], mapper) : void 0\n        );\n      }\n    }\n    let methodParameterTypes;\n    let methodReturnTypes;\n    for (const signature of methodSignatures) {\n      if (methodName !== \"throw\" && some(signature.parameters)) {\n        methodParameterTypes = append(methodParameterTypes, getTypeAtPosition(signature, 0));\n      }\n      methodReturnTypes = append(methodReturnTypes, getReturnTypeOfSignature(signature));\n    }\n    let returnTypes;\n    let nextType;\n    if (methodName !== \"throw\") {\n      const methodParameterType = methodParameterTypes ? getUnionType(methodParameterTypes) : unknownType;\n      if (methodName === \"next\") {\n        nextType = methodParameterType;\n      } else if (methodName === \"return\") {\n        const resolvedMethodParameterType = resolver.resolveIterationType(methodParameterType, errorNode) || anyType;\n        returnTypes = append(returnTypes, resolvedMethodParameterType);\n      }\n    }\n    let yieldType;\n    const methodReturnType = methodReturnTypes ? getIntersectionType(methodReturnTypes) : neverType;\n    const resolvedMethodReturnType = resolver.resolveIterationType(methodReturnType, errorNode) || anyType;\n    const iterationTypes = getIterationTypesOfIteratorResult(resolvedMethodReturnType);\n    if (iterationTypes === noIterationTypes) {\n      if (errorNode) {\n        if (errorOutputContainer) {\n          (_f = errorOutputContainer.errors) != null ? _f : errorOutputContainer.errors = [];\n          errorOutputContainer.errors.push(createDiagnosticForNode(errorNode, resolver.mustHaveAValueDiagnostic, methodName));\n        } else {\n          error(errorNode, resolver.mustHaveAValueDiagnostic, methodName);\n        }\n      }\n      yieldType = anyType;\n      returnTypes = append(returnTypes, anyType);\n    } else {\n      yieldType = iterationTypes.yieldType;\n      returnTypes = append(returnTypes, iterationTypes.returnType);\n    }\n    return createIterationTypes(yieldType, getUnionType(returnTypes), nextType);\n  }\n  function getIterationTypesOfIteratorSlow(type, resolver, errorNode, errorOutputContainer, noCache) {\n    const iterationTypes = combineIterationTypes([\n      getIterationTypesOfMethod(type, resolver, \"next\", errorNode, errorOutputContainer),\n      getIterationTypesOfMethod(type, resolver, \"return\", errorNode, errorOutputContainer),\n      getIterationTypesOfMethod(type, resolver, \"throw\", errorNode, errorOutputContainer)\n    ]);\n    return noCache ? iterationTypes : setCachedIterationTypes(type, resolver.iteratorCacheKey, iterationTypes);\n  }\n  function getIterationTypeOfGeneratorFunctionReturnType(kind, returnType, isAsyncGenerator) {\n    if (isTypeAny(returnType)) {\n      return void 0;\n    }\n    const iterationTypes = getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsyncGenerator);\n    return iterationTypes && iterationTypes[getIterationTypesKeyFromIterationTypeKind(kind)];\n  }\n  function getIterationTypesOfGeneratorFunctionReturnType(type, isAsyncGenerator) {\n    if (isTypeAny(type)) {\n      return anyIterationTypes;\n    }\n    const use = isAsyncGenerator ? 2 /* AsyncGeneratorReturnType */ : 1 /* GeneratorReturnType */;\n    const resolver = isAsyncGenerator ? asyncIterationTypesResolver : syncIterationTypesResolver;\n    return getIterationTypesOfIterable(type, use, void 0) || getIterationTypesOfIterator(type, resolver, void 0, void 0);\n  }\n  function checkBreakOrContinueStatement(node) {\n    if (!checkGrammarStatementInAmbientContext(node))\n      checkGrammarBreakOrContinueStatement(node);\n  }\n  function unwrapReturnType(returnType, functionFlags) {\n    const isGenerator = !!(functionFlags & 1 /* Generator */);\n    const isAsync = !!(functionFlags & 2 /* Async */);\n    if (isGenerator) {\n      const returnIterationType = getIterationTypeOfGeneratorFunctionReturnType(1 /* Return */, returnType, isAsync);\n      if (!returnIterationType) {\n        return errorType;\n      }\n      return isAsync ? getAwaitedTypeNoAlias(unwrapAwaitedType(returnIterationType)) : returnIterationType;\n    }\n    return isAsync ? getAwaitedTypeNoAlias(returnType) || errorType : returnType;\n  }\n  function isUnwrappedReturnTypeVoidOrAny(func, returnType) {\n    const unwrappedReturnType = unwrapReturnType(returnType, getFunctionFlags(func));\n    return !!unwrappedReturnType && maybeTypeOfKind(unwrappedReturnType, 16384 /* Void */ | 3 /* AnyOrUnknown */);\n  }\n  function checkReturnStatement(node) {\n    var _a2;\n    if (checkGrammarStatementInAmbientContext(node)) {\n      return;\n    }\n    const container = getContainingFunctionOrClassStaticBlock(node);\n    if (container && isClassStaticBlockDeclaration(container)) {\n      grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block);\n      return;\n    }\n    if (!container) {\n      grammarErrorOnFirstToken(node, Diagnostics.A_return_statement_can_only_be_used_within_a_function_body);\n      return;\n    }\n    const signature = getSignatureFromDeclaration(container);\n    const returnType = getReturnTypeOfSignature(signature);\n    const functionFlags = getFunctionFlags(container);\n    if (strictNullChecks || node.expression || returnType.flags & 131072 /* Never */) {\n      const exprType = node.expression ? checkExpressionCached(node.expression) : undefinedType;\n      if (container.kind === 178 /* SetAccessor */) {\n        if (node.expression) {\n          error(node, Diagnostics.Setters_cannot_return_a_value);\n        }\n      } else if (container.kind === 176 /* Constructor */) {\n        if (node.expression && !checkTypeAssignableToAndOptionallyElaborate(exprType, returnType, node, node.expression)) {\n          error(node, Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);\n        }\n      } else if (getReturnTypeFromAnnotation(container)) {\n        const unwrappedReturnType = (_a2 = unwrapReturnType(returnType, functionFlags)) != null ? _a2 : returnType;\n        const unwrappedExprType = functionFlags & 2 /* Async */ ? checkAwaitedType(exprType, false, node, Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member) : exprType;\n        if (unwrappedReturnType) {\n          checkTypeAssignableToAndOptionallyElaborate(unwrappedExprType, unwrappedReturnType, node, node.expression);\n        }\n      }\n    } else if (container.kind !== 176 /* Constructor */ && compilerOptions.noImplicitReturns && !isUnwrappedReturnTypeVoidOrAny(container, returnType)) {\n      error(node, Diagnostics.Not_all_code_paths_return_a_value);\n    }\n  }\n  function checkWithStatement(node) {\n    if (!checkGrammarStatementInAmbientContext(node)) {\n      if (node.flags & 32768 /* AwaitContext */) {\n        grammarErrorOnFirstToken(node, Diagnostics.with_statements_are_not_allowed_in_an_async_function_block);\n      }\n    }\n    checkExpression(node.expression);\n    const sourceFile = getSourceFileOfNode(node);\n    if (!hasParseDiagnostics(sourceFile)) {\n      const start = getSpanOfTokenAtPosition(sourceFile, node.pos).start;\n      const end = node.statement.pos;\n      grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any);\n    }\n  }\n  function checkSwitchStatement(node) {\n    checkGrammarStatementInAmbientContext(node);\n    let firstDefaultClause;\n    let hasDuplicateDefaultClause = false;\n    const expressionType = checkExpression(node.expression);\n    const expressionIsLiteral = isLiteralType3(expressionType);\n    forEach(node.caseBlock.clauses, (clause) => {\n      if (clause.kind === 299 /* DefaultClause */ && !hasDuplicateDefaultClause) {\n        if (firstDefaultClause === void 0) {\n          firstDefaultClause = clause;\n        } else {\n          grammarErrorOnNode(clause, Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement);\n          hasDuplicateDefaultClause = true;\n        }\n      }\n      if (clause.kind === 298 /* CaseClause */) {\n        addLazyDiagnostic(createLazyCaseClauseDiagnostics(clause));\n      }\n      forEach(clause.statements, checkSourceElement);\n      if (compilerOptions.noFallthroughCasesInSwitch && clause.fallthroughFlowNode && isReachableFlowNode(clause.fallthroughFlowNode)) {\n        error(clause, Diagnostics.Fallthrough_case_in_switch);\n      }\n      function createLazyCaseClauseDiagnostics(clause2) {\n        return () => {\n          let caseType = checkExpression(clause2.expression);\n          const caseIsLiteral = isLiteralType3(caseType);\n          let comparedExpressionType = expressionType;\n          if (!caseIsLiteral || !expressionIsLiteral) {\n            caseType = caseIsLiteral ? getBaseTypeOfLiteralType(caseType) : caseType;\n            comparedExpressionType = getBaseTypeOfLiteralType(expressionType);\n          }\n          if (!isTypeEqualityComparableTo(comparedExpressionType, caseType)) {\n            checkTypeComparableTo(caseType, comparedExpressionType, clause2.expression, void 0);\n          }\n        };\n      }\n    });\n    if (node.caseBlock.locals) {\n      registerForUnusedIdentifiersCheck(node.caseBlock);\n    }\n  }\n  function checkLabeledStatement(node) {\n    if (!checkGrammarStatementInAmbientContext(node)) {\n      findAncestor(node.parent, (current) => {\n        if (isFunctionLike(current)) {\n          return \"quit\";\n        }\n        if (current.kind === 257 /* LabeledStatement */ && current.label.escapedText === node.label.escapedText) {\n          grammarErrorOnNode(node.label, Diagnostics.Duplicate_label_0, getTextOfNode(node.label));\n          return true;\n        }\n        return false;\n      });\n    }\n    checkSourceElement(node.statement);\n  }\n  function checkThrowStatement(node) {\n    if (!checkGrammarStatementInAmbientContext(node)) {\n      if (isIdentifier(node.expression) && !node.expression.escapedText) {\n        grammarErrorAfterFirstToken(node, Diagnostics.Line_break_not_permitted_here);\n      }\n    }\n    if (node.expression) {\n      checkExpression(node.expression);\n    }\n  }\n  function checkTryStatement(node) {\n    checkGrammarStatementInAmbientContext(node);\n    checkBlock(node.tryBlock);\n    const catchClause = node.catchClause;\n    if (catchClause) {\n      if (catchClause.variableDeclaration) {\n        const declaration = catchClause.variableDeclaration;\n        const typeNode = getEffectiveTypeAnnotationNode(getRootDeclaration(declaration));\n        if (typeNode) {\n          const type = getTypeForVariableLikeDeclaration(declaration, false, 0 /* Normal */);\n          if (type && !(type.flags & 3 /* AnyOrUnknown */)) {\n            grammarErrorOnFirstToken(typeNode, Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified);\n          }\n        } else if (declaration.initializer) {\n          grammarErrorOnFirstToken(declaration.initializer, Diagnostics.Catch_clause_variable_cannot_have_an_initializer);\n        } else {\n          const blockLocals = catchClause.block.locals;\n          if (blockLocals) {\n            forEachKey(catchClause.locals, (caughtName) => {\n              const blockLocal = blockLocals.get(caughtName);\n              if ((blockLocal == null ? void 0 : blockLocal.valueDeclaration) && (blockLocal.flags & 2 /* BlockScopedVariable */) !== 0) {\n                grammarErrorOnNode(blockLocal.valueDeclaration, Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause, caughtName);\n              }\n            });\n          }\n        }\n      }\n      checkBlock(catchClause.block);\n    }\n    if (node.finallyBlock) {\n      checkBlock(node.finallyBlock);\n    }\n  }\n  function checkIndexConstraints(type, symbol, isStaticIndex) {\n    const indexInfos = getIndexInfosOfType(type);\n    if (indexInfos.length === 0) {\n      return;\n    }\n    for (const prop of getPropertiesOfObjectType(type)) {\n      if (!(isStaticIndex && prop.flags & 4194304 /* Prototype */)) {\n        checkIndexConstraintForProperty(type, prop, getLiteralTypeFromProperty(prop, 8576 /* StringOrNumberLiteralOrUnique */, true), getNonMissingTypeOfSymbol(prop));\n      }\n    }\n    const typeDeclaration = symbol.valueDeclaration;\n    if (typeDeclaration && isClassLike(typeDeclaration)) {\n      for (const member of typeDeclaration.members) {\n        if (!isStatic(member) && !hasBindableName(member)) {\n          const symbol2 = getSymbolOfNode(member);\n          checkIndexConstraintForProperty(type, symbol2, getTypeOfExpression(member.name.expression), getNonMissingTypeOfSymbol(symbol2));\n        }\n      }\n    }\n    if (indexInfos.length > 1) {\n      for (const info of indexInfos) {\n        checkIndexConstraintForIndexSignature(type, info);\n      }\n    }\n  }\n  function checkIndexConstraintForProperty(type, prop, propNameType, propType) {\n    const declaration = prop.valueDeclaration;\n    const name = getNameOfDeclaration(declaration);\n    if (name && isPrivateIdentifier(name)) {\n      return;\n    }\n    const indexInfos = getApplicableIndexInfos(type, propNameType);\n    const interfaceDeclaration = getObjectFlags(type) & 2 /* Interface */ ? getDeclarationOfKind(type.symbol, 267 /* InterfaceDeclaration */) : void 0;\n    const propDeclaration = declaration && declaration.kind === 227 /* BinaryExpression */ || name && name.kind === 166 /* ComputedPropertyName */ ? declaration : void 0;\n    const localPropDeclaration = getParentOfSymbol(prop) === type.symbol ? declaration : void 0;\n    for (const info of indexInfos) {\n      const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfNode(info.declaration)) === type.symbol ? info.declaration : void 0;\n      const errorNode = localPropDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getPropertyOfObjectType(base, prop.escapedName) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0);\n      if (errorNode && !isTypeAssignableTo(propType, info.type)) {\n        const diagnostic = createError(\n          errorNode,\n          Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,\n          symbolToString(prop),\n          typeToString(propType),\n          typeToString(info.keyType),\n          typeToString(info.type)\n        );\n        if (propDeclaration && errorNode !== propDeclaration) {\n          addRelatedInfo(diagnostic, createDiagnosticForNode(propDeclaration, Diagnostics._0_is_declared_here, symbolToString(prop)));\n        }\n        diagnostics.add(diagnostic);\n      }\n    }\n  }\n  function checkIndexConstraintForIndexSignature(type, checkInfo) {\n    const declaration = checkInfo.declaration;\n    const indexInfos = getApplicableIndexInfos(type, checkInfo.keyType);\n    const interfaceDeclaration = getObjectFlags(type) & 2 /* Interface */ ? getDeclarationOfKind(type.symbol, 267 /* InterfaceDeclaration */) : void 0;\n    const localCheckDeclaration = declaration && getParentOfSymbol(getSymbolOfNode(declaration)) === type.symbol ? declaration : void 0;\n    for (const info of indexInfos) {\n      if (info === checkInfo)\n        continue;\n      const localIndexDeclaration = info.declaration && getParentOfSymbol(getSymbolOfNode(info.declaration)) === type.symbol ? info.declaration : void 0;\n      const errorNode = localCheckDeclaration || localIndexDeclaration || (interfaceDeclaration && !some(getBaseTypes(type), (base) => !!getIndexInfoOfType(base, checkInfo.keyType) && !!getIndexTypeOfType(base, info.keyType)) ? interfaceDeclaration : void 0);\n      if (errorNode && !isTypeAssignableTo(checkInfo.type, info.type)) {\n        error(\n          errorNode,\n          Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3,\n          typeToString(checkInfo.keyType),\n          typeToString(checkInfo.type),\n          typeToString(info.keyType),\n          typeToString(info.type)\n        );\n      }\n    }\n  }\n  function checkTypeNameIsReserved(name, message) {\n    switch (name.escapedText) {\n      case \"any\":\n      case \"unknown\":\n      case \"never\":\n      case \"number\":\n      case \"bigint\":\n      case \"boolean\":\n      case \"string\":\n      case \"symbol\":\n      case \"void\":\n      case \"object\":\n        error(name, message, name.escapedText);\n    }\n  }\n  function checkClassNameCollisionWithObject(name) {\n    if (languageVersion >= 1 /* ES5 */ && name.escapedText === \"Object\" && (moduleKind < 5 /* ES2015 */ || getSourceFileOfNode(name).impliedNodeFormat === 1 /* CommonJS */)) {\n      error(name, Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0, ModuleKind[moduleKind]);\n    }\n  }\n  function checkUnmatchedJSDocParameters(node) {\n    const jsdocParameters = filter(getJSDocTags(node), isJSDocParameterTag);\n    if (!length(jsdocParameters))\n      return;\n    const isJs = isInJSFile(node);\n    const parameters = new Set2();\n    const excludedParameters = new Set2();\n    forEach(node.parameters, ({ name }, index) => {\n      if (isIdentifier(name)) {\n        parameters.add(name.escapedText);\n      }\n      if (isBindingPattern(name)) {\n        excludedParameters.add(index);\n      }\n    });\n    const containsArguments = containsArgumentsReference(node);\n    if (containsArguments) {\n      const lastJSDocParam = lastOrUndefined(jsdocParameters);\n      if (isJs && lastJSDocParam && isIdentifier(lastJSDocParam.name) && lastJSDocParam.typeExpression && lastJSDocParam.typeExpression.type && !parameters.has(lastJSDocParam.name.escapedText) && !isArrayType(getTypeFromTypeNode(lastJSDocParam.typeExpression.type))) {\n        error(lastJSDocParam.name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type, idText(lastJSDocParam.name));\n      }\n    } else {\n      forEach(jsdocParameters, ({ name, isNameFirst }, index) => {\n        if (excludedParameters.has(index) || isIdentifier(name) && parameters.has(name.escapedText)) {\n          return;\n        }\n        if (isQualifiedName(name)) {\n          if (isJs) {\n            error(name, Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1, entityNameToString(name), entityNameToString(name.left));\n          }\n        } else {\n          if (!isNameFirst) {\n            errorOrSuggestion(isJs, name, Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name, idText(name));\n          }\n        }\n      });\n    }\n  }\n  function checkTypeParameters(typeParameterDeclarations) {\n    let seenDefault = false;\n    if (typeParameterDeclarations) {\n      for (let i = 0; i < typeParameterDeclarations.length; i++) {\n        const node = typeParameterDeclarations[i];\n        checkTypeParameter(node);\n        addLazyDiagnostic(createCheckTypeParameterDiagnostic(node, i));\n      }\n    }\n    function createCheckTypeParameterDiagnostic(node, i) {\n      return () => {\n        if (node.default) {\n          seenDefault = true;\n          checkTypeParametersNotReferenced(node.default, typeParameterDeclarations, i);\n        } else if (seenDefault) {\n          error(node, Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);\n        }\n        for (let j = 0; j < i; j++) {\n          if (typeParameterDeclarations[j].symbol === node.symbol) {\n            error(node.name, Diagnostics.Duplicate_identifier_0, declarationNameToString(node.name));\n          }\n        }\n      };\n    }\n  }\n  function checkTypeParametersNotReferenced(root, typeParameters, index) {\n    visit(root);\n    function visit(node) {\n      if (node.kind === 183 /* TypeReference */) {\n        const type = getTypeFromTypeReference(node);\n        if (type.flags & 262144 /* TypeParameter */) {\n          for (let i = index; i < typeParameters.length; i++) {\n            if (type.symbol === getSymbolOfNode(typeParameters[i])) {\n              error(node, Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters);\n            }\n          }\n        }\n      }\n      forEachChild(node, visit);\n    }\n  }\n  function checkTypeParameterListsIdentical(symbol) {\n    if (symbol.declarations && symbol.declarations.length === 1) {\n      return;\n    }\n    const links = getSymbolLinks(symbol);\n    if (!links.typeParametersChecked) {\n      links.typeParametersChecked = true;\n      const declarations = getClassOrInterfaceDeclarationsOfSymbol(symbol);\n      if (!declarations || declarations.length <= 1) {\n        return;\n      }\n      const type = getDeclaredTypeOfSymbol(symbol);\n      if (!areTypeParametersIdentical(declarations, type.localTypeParameters, getEffectiveTypeParameterDeclarations)) {\n        const name = symbolToString(symbol);\n        for (const declaration of declarations) {\n          error(declaration.name, Diagnostics.All_declarations_of_0_must_have_identical_type_parameters, name);\n        }\n      }\n    }\n  }\n  function areTypeParametersIdentical(declarations, targetParameters, getTypeParameterDeclarations) {\n    const maxTypeArgumentCount = length(targetParameters);\n    const minTypeArgumentCount = getMinTypeArgumentCount(targetParameters);\n    for (const declaration of declarations) {\n      const sourceParameters = getTypeParameterDeclarations(declaration);\n      const numTypeParameters = sourceParameters.length;\n      if (numTypeParameters < minTypeArgumentCount || numTypeParameters > maxTypeArgumentCount) {\n        return false;\n      }\n      for (let i = 0; i < numTypeParameters; i++) {\n        const source = sourceParameters[i];\n        const target = targetParameters[i];\n        if (source.name.escapedText !== target.symbol.escapedName) {\n          return false;\n        }\n        const constraint = getEffectiveConstraintOfTypeParameter(source);\n        const sourceConstraint = constraint && getTypeFromTypeNode(constraint);\n        const targetConstraint = getConstraintOfTypeParameter(target);\n        if (sourceConstraint && targetConstraint && !isTypeIdenticalTo(sourceConstraint, targetConstraint)) {\n          return false;\n        }\n        const sourceDefault = source.default && getTypeFromTypeNode(source.default);\n        const targetDefault = getDefaultFromTypeParameter(target);\n        if (sourceDefault && targetDefault && !isTypeIdenticalTo(sourceDefault, targetDefault)) {\n          return false;\n        }\n      }\n    }\n    return true;\n  }\n  function checkClassExpression(node) {\n    checkClassLikeDeclaration(node);\n    checkNodeDeferred(node);\n    return getTypeOfSymbol(getSymbolOfNode(node));\n  }\n  function checkClassExpressionDeferred(node) {\n    forEach(node.members, checkSourceElement);\n    registerForUnusedIdentifiersCheck(node);\n  }\n  function checkClassDeclaration(node) {\n    const firstDecorator = find(node.modifiers, isDecorator);\n    if (firstDecorator && some(node.members, (p) => hasStaticModifier(p) && isPrivateIdentifierClassElementDeclaration(p))) {\n      grammarErrorOnNode(firstDecorator, Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator);\n    }\n    if (!node.name && !hasSyntacticModifier(node, 1024 /* Default */)) {\n      grammarErrorOnFirstToken(node, Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name);\n    }\n    checkClassLikeDeclaration(node);\n    forEach(node.members, checkSourceElement);\n    registerForUnusedIdentifiersCheck(node);\n  }\n  function checkStructDeclaration(node) {\n    if (!node.name && !hasSyntacticModifier(node, 1024 /* Default */)) {\n      grammarErrorOnFirstToken(node, Diagnostics.A_struct_declaration_without_the_default_modifier_must_have_a_name);\n    }\n    checkClassLikeDeclaration(node);\n    checkStructName(node);\n    forEach(node.members, checkSourceElement);\n    registerForUnusedIdentifiersCheck(node);\n  }\n  function checkStructName(node) {\n    var _a2;\n    if (host.getCompilerOptions().ets && node.name && isIdentifier(node.name)) {\n      const arrReservedComponents = (_a2 = host.getCompilerOptions().ets) == null ? void 0 : _a2.components;\n      if (arrReservedComponents.includes(node.name.escapedText.toString())) {\n        error(node.name, Diagnostics.The_struct_name_cannot_contain_reserved_tag_name_Colon_0, node.name.escapedText.toString());\n      }\n    }\n  }\n  function inModuleRootPath(annotation) {\n    return !!compilerOptions.moduleRootPath && normalizePath(getSourceFileOfNode(annotation).fileName).startsWith(normalizePath(compilerOptions.moduleRootPath));\n  }\n  function checkAnnotationDeclaration(node) {\n    checkGrammarAnnotationDeclaration(node);\n    checkDecorators(node);\n    if (compilerOptions.isCompileJsHar && inModuleRootPath(node)) {\n      grammarErrorOnNode(node, Diagnostics.Annotations_are_not_supported_in_Hars_compiled_to_JavaScript_files);\n    }\n    const firstDecorator = find(node.modifiers, isDecorator);\n    if (firstDecorator) {\n      grammarErrorOnNode(firstDecorator, Diagnostics.Decorators_are_not_valid_here);\n    }\n    checkCollisionsForDeclarationName(node, node.name);\n    checkExportsOnMergedDeclarations(node);\n    const symbol = getSymbolOfNode(node);\n    const type = getDeclaredTypeOfSymbol(symbol);\n    const staticType = getTypeOfSymbol(symbol);\n    checkClassForDuplicateDeclarations(node);\n    addLazyDiagnostic(() => {\n      checkIndexConstraints(type, symbol);\n      checkIndexConstraints(staticType, symbol, true);\n      checkTypeForDuplicateIndexSignatures(node);\n      checkPropertyInitialization(node);\n    });\n    forEach(node.members, checkSourceElement);\n  }\n  function checkGrammarAnnotationDeclaration(node) {\n    Debug.assert(node.parent);\n    if (!isSourceFile(node.parent)) {\n      grammarErrorOnNode(node, Diagnostics.Annotation_must_be_defined_at_top_level_only);\n    }\n    checkGrammarDecoratorsAndModifiers(node);\n  }\n  function checkClassLikeDeclaration(node) {\n    checkGrammarClassLikeDeclaration(node);\n    checkDecorators(node);\n    checkCollisionsForDeclarationName(node, node.name);\n    checkTypeParameters(getEffectiveTypeParameterDeclarations(node));\n    checkExportsOnMergedDeclarations(node);\n    const symbol = getSymbolOfNode(node);\n    const type = getDeclaredTypeOfSymbol(symbol);\n    const typeWithThis = getTypeWithThisArgument(type);\n    const staticType = getTypeOfSymbol(symbol);\n    checkTypeParameterListsIdentical(symbol);\n    checkFunctionOrConstructorSymbol(symbol);\n    checkClassForDuplicateDeclarations(node);\n    const nodeInAmbientContext = !!(node.flags & 16777216 /* Ambient */);\n    if (!nodeInAmbientContext) {\n      checkClassForStaticPropertyNameConflicts(node);\n    }\n    const baseTypeNode = getEffectiveBaseTypeNode(node);\n    if (baseTypeNode) {\n      forEach(baseTypeNode.typeArguments, checkSourceElement);\n      if (languageVersion < 2 /* ES2015 */) {\n        checkExternalEmitHelpers(baseTypeNode.parent, 1 /* Extends */);\n      }\n      const extendsNode = getClassExtendsHeritageElement(node);\n      if (extendsNode && extendsNode !== baseTypeNode) {\n        checkExpression(extendsNode.expression);\n      }\n      const baseTypes = getBaseTypes(type);\n      if (baseTypes.length) {\n        addLazyDiagnostic(() => {\n          const baseType = baseTypes[0];\n          const baseConstructorType = getBaseConstructorTypeOfClass(type);\n          const staticBaseType = getApparentType(baseConstructorType);\n          checkBaseTypeAccessibility(staticBaseType, baseTypeNode);\n          checkSourceElement(baseTypeNode.expression);\n          if (some(baseTypeNode.typeArguments)) {\n            forEach(baseTypeNode.typeArguments, checkSourceElement);\n            for (const constructor of getConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode)) {\n              if (!checkTypeArgumentConstraints(baseTypeNode, constructor.typeParameters)) {\n                break;\n              }\n            }\n          }\n          const baseWithThis = getTypeWithThisArgument(baseType, type.thisType);\n          if (!checkTypeAssignableTo(typeWithThis, baseWithThis, void 0)) {\n            issueMemberSpecificError(node, typeWithThis, baseWithThis, Diagnostics.Class_0_incorrectly_extends_base_class_1);\n          } else {\n            checkTypeAssignableTo(\n              staticType,\n              getTypeWithoutSignatures(staticBaseType),\n              node.name || node,\n              Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1\n            );\n          }\n          if (baseConstructorType.flags & 8650752 /* TypeVariable */) {\n            if (!isMixinConstructorType(staticType)) {\n              error(node.name || node, Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any);\n            } else {\n              const constructSignatures = getSignaturesOfType(baseConstructorType, 1 /* Construct */);\n              if (constructSignatures.some((signature) => signature.flags & 4 /* Abstract */) && !hasSyntacticModifier(node, 256 /* Abstract */)) {\n                error(node.name || node, Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract);\n              }\n            }\n          }\n          if (!(staticBaseType.symbol && staticBaseType.symbol.flags & 32 /* Class */) && !(baseConstructorType.flags & 8650752 /* TypeVariable */)) {\n            const constructors = getInstantiatedConstructorsForTypeArguments(staticBaseType, baseTypeNode.typeArguments, baseTypeNode);\n            if (forEach(constructors, (sig) => !isJSConstructor(sig.declaration) && !isTypeIdenticalTo(getReturnTypeOfSignature(sig), baseType))) {\n              error(baseTypeNode.expression, Diagnostics.Base_constructors_must_all_have_the_same_return_type);\n            }\n          }\n          checkKindsOfPropertyMemberOverrides(type, baseType);\n        });\n      }\n    }\n    checkMembersForOverrideModifier(node, type, typeWithThis, staticType);\n    const implementedTypeNodes = getEffectiveImplementsTypeNodes(node);\n    if (implementedTypeNodes) {\n      for (const typeRefNode of implementedTypeNodes) {\n        if (!isEntityNameExpression(typeRefNode.expression) || isOptionalChain(typeRefNode.expression)) {\n          error(typeRefNode.expression, Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments);\n        }\n        checkTypeReferenceNode(typeRefNode);\n        addLazyDiagnostic(createImplementsDiagnostics(typeRefNode));\n      }\n    }\n    addLazyDiagnostic(() => {\n      checkIndexConstraints(type, symbol);\n      checkIndexConstraints(staticType, symbol, true);\n      checkTypeForDuplicateIndexSignatures(node);\n      checkPropertyInitialization(node);\n    });\n    function createImplementsDiagnostics(typeRefNode) {\n      return () => {\n        const t = getReducedType(getTypeFromTypeNode(typeRefNode));\n        if (!isErrorType(t)) {\n          if (isValidBaseType(t)) {\n            const genericDiag = t.symbol && t.symbol.flags & 32 /* Class */ ? Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass : Diagnostics.Class_0_incorrectly_implements_interface_1;\n            const baseWithThis = getTypeWithThisArgument(t, type.thisType);\n            if (!checkTypeAssignableTo(typeWithThis, baseWithThis, void 0)) {\n              issueMemberSpecificError(node, typeWithThis, baseWithThis, genericDiag);\n            }\n          } else {\n            error(typeRefNode, Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members);\n          }\n        }\n      };\n    }\n  }\n  function checkMembersForOverrideModifier(node, type, typeWithThis, staticType) {\n    const baseTypeNode = getEffectiveBaseTypeNode(node);\n    const baseTypes = baseTypeNode && getBaseTypes(type);\n    const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0;\n    const baseStaticType = getBaseConstructorTypeOfClass(type);\n    for (const member of node.members) {\n      if (hasAmbientModifier(member)) {\n        continue;\n      }\n      if (isConstructorDeclaration(member)) {\n        forEach(member.parameters, (param) => {\n          if (isParameterPropertyDeclaration(param, member)) {\n            checkExistingMemberForOverrideModifier(\n              node,\n              staticType,\n              baseStaticType,\n              baseWithThis,\n              type,\n              typeWithThis,\n              param,\n              true\n            );\n          }\n        });\n      }\n      checkExistingMemberForOverrideModifier(\n        node,\n        staticType,\n        baseStaticType,\n        baseWithThis,\n        type,\n        typeWithThis,\n        member,\n        false\n      );\n    }\n  }\n  function checkExistingMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, member, memberIsParameterProperty, reportErrors2 = true) {\n    const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member);\n    if (!declaredProp) {\n      return 0 /* Ok */;\n    }\n    return checkMemberForOverrideModifier(\n      node,\n      staticType,\n      baseStaticType,\n      baseWithThis,\n      type,\n      typeWithThis,\n      hasOverrideModifier(member),\n      hasAbstractModifier(member),\n      isStatic(member),\n      memberIsParameterProperty,\n      symbolName(declaredProp),\n      reportErrors2 ? member : void 0\n    );\n  }\n  function checkMemberForOverrideModifier(node, staticType, baseStaticType, baseWithThis, type, typeWithThis, memberHasOverrideModifier, memberHasAbstractModifier, memberIsStatic, memberIsParameterProperty, memberName, errorNode) {\n    const isJs = isInJSFile(node);\n    const nodeInAmbientContext = !!(node.flags & 16777216 /* Ambient */);\n    if (baseWithThis && (memberHasOverrideModifier || compilerOptions.noImplicitOverride)) {\n      const memberEscapedName = escapeLeadingUnderscores(memberName);\n      const thisType = memberIsStatic ? staticType : typeWithThis;\n      const baseType = memberIsStatic ? baseStaticType : baseWithThis;\n      const prop = getPropertyOfType(thisType, memberEscapedName);\n      const baseProp = getPropertyOfType(baseType, memberEscapedName);\n      const baseClassName = typeToString(baseWithThis);\n      if (prop && !baseProp && memberHasOverrideModifier) {\n        if (errorNode) {\n          const suggestion = getSuggestedSymbolForNonexistentClassMember(memberName, baseType);\n          suggestion ? error(\n            errorNode,\n            isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,\n            baseClassName,\n            symbolToString(suggestion)\n          ) : error(\n            errorNode,\n            isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0 : Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,\n            baseClassName\n          );\n        }\n        return 2 /* HasInvalidOverride */;\n      } else if (prop && (baseProp == null ? void 0 : baseProp.declarations) && compilerOptions.noImplicitOverride && !nodeInAmbientContext) {\n        const baseHasAbstract = some(baseProp.declarations, hasAbstractModifier);\n        if (memberHasOverrideModifier) {\n          return 0 /* Ok */;\n        }\n        if (!baseHasAbstract) {\n          if (errorNode) {\n            const diag2 = memberIsParameterProperty ? isJs ? Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0 : isJs ? Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0 : Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;\n            error(errorNode, diag2, baseClassName);\n          }\n          return 1 /* NeedsOverride */;\n        } else if (memberHasAbstractModifier && baseHasAbstract) {\n          if (errorNode) {\n            error(errorNode, Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0, baseClassName);\n          }\n          return 1 /* NeedsOverride */;\n        }\n      }\n    } else if (memberHasOverrideModifier) {\n      if (errorNode) {\n        const className = typeToString(type);\n        error(\n          errorNode,\n          isJs ? Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class : Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,\n          className\n        );\n      }\n      return 2 /* HasInvalidOverride */;\n    }\n    return 0 /* Ok */;\n  }\n  function issueMemberSpecificError(node, typeWithThis, baseWithThis, broadDiag) {\n    let issuedMemberError = false;\n    for (const member of node.members) {\n      if (isStatic(member)) {\n        continue;\n      }\n      const declaredProp = member.name && getSymbolAtLocation(member.name) || getSymbolAtLocation(member);\n      if (declaredProp) {\n        const prop = getPropertyOfType(typeWithThis, declaredProp.escapedName);\n        const baseProp = getPropertyOfType(baseWithThis, declaredProp.escapedName);\n        if (prop && baseProp) {\n          const rootChain = () => chainDiagnosticMessages(\n            void 0,\n            Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,\n            symbolToString(declaredProp),\n            typeToString(typeWithThis),\n            typeToString(baseWithThis)\n          );\n          if (!checkTypeAssignableTo(getTypeOfSymbol(prop), getTypeOfSymbol(baseProp), member.name || member, void 0, rootChain)) {\n            issuedMemberError = true;\n          }\n        }\n      }\n    }\n    if (!issuedMemberError) {\n      checkTypeAssignableTo(typeWithThis, baseWithThis, node.name || node, broadDiag);\n    }\n  }\n  function checkBaseTypeAccessibility(type, node) {\n    const signatures = getSignaturesOfType(type, 1 /* Construct */);\n    if (signatures.length) {\n      const declaration = signatures[0].declaration;\n      if (declaration && hasEffectiveModifier(declaration, 8 /* Private */)) {\n        const typeClassDeclaration = getClassLikeDeclarationOfSymbol(type.symbol);\n        if (!isNodeWithinClass(node, typeClassDeclaration)) {\n          error(node, Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private, getFullyQualifiedName(type.symbol));\n        }\n      }\n    }\n  }\n  function getMemberOverrideModifierStatus(node, member) {\n    if (!member.name) {\n      return 0 /* Ok */;\n    }\n    const symbol = getSymbolOfNode(node);\n    const type = getDeclaredTypeOfSymbol(symbol);\n    const typeWithThis = getTypeWithThisArgument(type);\n    const staticType = getTypeOfSymbol(symbol);\n    const baseTypeNode = getEffectiveBaseTypeNode(node);\n    const baseTypes = baseTypeNode && getBaseTypes(type);\n    const baseWithThis = (baseTypes == null ? void 0 : baseTypes.length) ? getTypeWithThisArgument(first(baseTypes), type.thisType) : void 0;\n    const baseStaticType = getBaseConstructorTypeOfClass(type);\n    const memberHasOverrideModifier = member.parent ? hasOverrideModifier(member) : hasSyntacticModifier(member, 16384 /* Override */);\n    const memberName = unescapeLeadingUnderscores(getTextOfPropertyName(member.name));\n    return checkMemberForOverrideModifier(\n      node,\n      staticType,\n      baseStaticType,\n      baseWithThis,\n      type,\n      typeWithThis,\n      memberHasOverrideModifier,\n      hasAbstractModifier(member),\n      isStatic(member),\n      false,\n      memberName\n    );\n  }\n  function getTargetSymbol(s) {\n    return getCheckFlags(s) & 1 /* Instantiated */ ? s.target : s;\n  }\n  function getClassOrInterfaceDeclarationsOfSymbol(symbol) {\n    return filter(symbol.declarations, (d) => d.kind === 264 /* ClassDeclaration */ || d.kind === 267 /* InterfaceDeclaration */);\n  }\n  function checkKindsOfPropertyMemberOverrides(type, baseType) {\n    var _a2, _b, _c, _d;\n    const baseProperties = getPropertiesOfType(baseType);\n    basePropertyCheck:\n      for (const baseProperty of baseProperties) {\n        const base = getTargetSymbol(baseProperty);\n        if (base.flags & 4194304 /* Prototype */) {\n          continue;\n        }\n        const baseSymbol = getPropertyOfObjectType(type, base.escapedName);\n        if (!baseSymbol) {\n          continue;\n        }\n        const derived = getTargetSymbol(baseSymbol);\n        const baseDeclarationFlags = getDeclarationModifierFlagsFromSymbol(base);\n        Debug.assert(!!derived, \"derived should point to something, even if it is the base class' declaration.\");\n        if (derived === base) {\n          const derivedClassDecl = getClassLikeDeclarationOfSymbol(type.symbol);\n          if (baseDeclarationFlags & 256 /* Abstract */ && (!derivedClassDecl || !hasSyntacticModifier(derivedClassDecl, 256 /* Abstract */))) {\n            for (const otherBaseType of getBaseTypes(type)) {\n              if (otherBaseType === baseType)\n                continue;\n              const baseSymbol2 = getPropertyOfObjectType(otherBaseType, base.escapedName);\n              const derivedElsewhere = baseSymbol2 && getTargetSymbol(baseSymbol2);\n              if (derivedElsewhere && derivedElsewhere !== base) {\n                continue basePropertyCheck;\n              }\n            }\n            if (derivedClassDecl.kind === 232 /* ClassExpression */) {\n              error(\n                derivedClassDecl,\n                Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,\n                symbolToString(baseProperty),\n                typeToString(baseType)\n              );\n            } else {\n              error(\n                derivedClassDecl,\n                Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,\n                typeToString(type),\n                symbolToString(baseProperty),\n                typeToString(baseType)\n              );\n            }\n          }\n        } else {\n          const derivedDeclarationFlags = getDeclarationModifierFlagsFromSymbol(derived);\n          if (baseDeclarationFlags & 8 /* Private */ || derivedDeclarationFlags & 8 /* Private */) {\n            continue;\n          }\n          let errorMessage;\n          const basePropertyFlags = base.flags & 98308 /* PropertyOrAccessor */;\n          const derivedPropertyFlags = derived.flags & 98308 /* PropertyOrAccessor */;\n          if (basePropertyFlags && derivedPropertyFlags) {\n            if ((getCheckFlags(base) & 6 /* Synthetic */ ? (_a2 = base.declarations) == null ? void 0 : _a2.some((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags)) : (_b = base.declarations) == null ? void 0 : _b.every((d) => isPropertyAbstractOrInterface(d, baseDeclarationFlags))) || getCheckFlags(base) & 262144 /* Mapped */ || derived.valueDeclaration && isBinaryExpression(derived.valueDeclaration)) {\n              continue;\n            }\n            const overriddenInstanceProperty = basePropertyFlags !== 4 /* Property */ && derivedPropertyFlags === 4 /* Property */;\n            const overriddenInstanceAccessor = basePropertyFlags === 4 /* Property */ && derivedPropertyFlags !== 4 /* Property */;\n            if (overriddenInstanceProperty || overriddenInstanceAccessor) {\n              const errorMessage2 = overriddenInstanceProperty ? Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property : Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;\n              error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType), typeToString(type));\n            } else if (useDefineForClassFields) {\n              const uninitialized = (_c = derived.declarations) == null ? void 0 : _c.find((d) => d.kind === 171 /* PropertyDeclaration */ && !d.initializer);\n              if (uninitialized && !(derived.flags & 33554432 /* Transient */) && !(baseDeclarationFlags & 256 /* Abstract */) && !(derivedDeclarationFlags & 256 /* Abstract */) && !((_d = derived.declarations) == null ? void 0 : _d.some((d) => !!(d.flags & 16777216 /* Ambient */)))) {\n                const constructor = findConstructorDeclaration(getClassLikeDeclarationOfSymbol(type.symbol));\n                const propName = uninitialized.name;\n                if (uninitialized.exclamationToken || !constructor || !isIdentifier(propName) || !strictNullChecks || !isPropertyInitializedInConstructor(propName, type, constructor)) {\n                  const errorMessage2 = Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration;\n                  error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage2, symbolToString(base), typeToString(baseType));\n                }\n              }\n            }\n            continue;\n          } else if (isPrototypeProperty(base)) {\n            if (isPrototypeProperty(derived) || derived.flags & 4 /* Property */) {\n              continue;\n            } else {\n              Debug.assert(!!(derived.flags & 98304 /* Accessor */));\n              errorMessage = Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor;\n            }\n          } else if (base.flags & 98304 /* Accessor */) {\n            errorMessage = Diagnostics.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function;\n          } else {\n            errorMessage = Diagnostics.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;\n          }\n          error(getNameOfDeclaration(derived.valueDeclaration) || derived.valueDeclaration, errorMessage, typeToString(baseType), symbolToString(base), typeToString(type));\n        }\n      }\n  }\n  function isPropertyAbstractOrInterface(declaration, baseDeclarationFlags) {\n    return baseDeclarationFlags & 256 /* Abstract */ && (!isPropertyDeclaration(declaration) || !declaration.initializer) || isInterfaceDeclaration(declaration.parent);\n  }\n  function getNonInheritedProperties(type, baseTypes, properties) {\n    if (!length(baseTypes)) {\n      return properties;\n    }\n    const seen = new Map2();\n    forEach(properties, (p) => {\n      seen.set(p.escapedName, p);\n    });\n    for (const base of baseTypes) {\n      const properties2 = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType));\n      for (const prop of properties2) {\n        const existing = seen.get(prop.escapedName);\n        if (existing && prop.parent === existing.parent) {\n          seen.delete(prop.escapedName);\n        }\n      }\n    }\n    return arrayFrom(seen.values());\n  }\n  function checkInheritedPropertiesAreIdentical(type, typeNode) {\n    const baseTypes = getBaseTypes(type);\n    if (baseTypes.length < 2) {\n      return true;\n    }\n    const seen = new Map2();\n    forEach(resolveDeclaredMembers(type).declaredProperties, (p) => {\n      seen.set(p.escapedName, { prop: p, containingType: type });\n    });\n    let ok = true;\n    for (const base of baseTypes) {\n      const properties = getPropertiesOfType(getTypeWithThisArgument(base, type.thisType));\n      for (const prop of properties) {\n        const existing = seen.get(prop.escapedName);\n        if (!existing) {\n          seen.set(prop.escapedName, { prop, containingType: base });\n        } else {\n          const isInheritedProperty = existing.containingType !== type;\n          if (isInheritedProperty && !isPropertyIdenticalTo(existing.prop, prop)) {\n            ok = false;\n            const typeName1 = typeToString(existing.containingType);\n            const typeName2 = typeToString(base);\n            let errorInfo = chainDiagnosticMessages(void 0, Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical, symbolToString(prop), typeName1, typeName2);\n            errorInfo = chainDiagnosticMessages(errorInfo, Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2, typeToString(type), typeName1, typeName2);\n            diagnostics.add(createDiagnosticForNodeFromMessageChain(typeNode, errorInfo));\n          }\n        }\n      }\n    }\n    return ok;\n  }\n  function checkPropertyInitialization(node) {\n    if (!strictNullChecks || !strictPropertyInitialization || node.flags & 16777216 /* Ambient */) {\n      return;\n    }\n    const constructor = !isAnnotationDeclaration(node) ? findConstructorDeclaration(node) : void 0;\n    for (const member of node.members) {\n      if (getEffectiveModifierFlags(member) & 2 /* Ambient */) {\n        continue;\n      }\n      if (!isStatic(member) && isPropertyWithoutInitializer(member)) {\n        const propName = member.name;\n        if (isIdentifier(propName) || isPrivateIdentifier(propName) || isComputedPropertyName(propName)) {\n          const type = getTypeOfSymbol(getSymbolOfNode(member));\n          if (!(type.flags & 3 /* AnyOrUnknown */ || containsUndefinedType(type))) {\n            if (!constructor || !isPropertyInitializedInConstructor(propName, type, constructor)) {\n              error(member.name, Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor, declarationNameToString(propName));\n            }\n          }\n        }\n      }\n    }\n  }\n  function isPropertyWithoutInitializer(node) {\n    return node.kind === 171 /* PropertyDeclaration */ && !hasAbstractModifier(node) && !node.exclamationToken && !node.initializer;\n  }\n  function isPropertyInitializedInStaticBlocks(propName, propType, staticBlocks, startPos, endPos) {\n    for (const staticBlock of staticBlocks) {\n      if (staticBlock.pos >= startPos && staticBlock.pos <= endPos) {\n        const reference = factory.createPropertyAccessExpression(factory.createThis(), propName);\n        setParent(reference.expression, reference);\n        setParent(reference, staticBlock);\n        reference.flowNode = staticBlock.returnFlowNode;\n        const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType));\n        if (!containsUndefinedType(flowType)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function isPropertyInitializedInConstructor(propName, propType, constructor) {\n    const reference = isComputedPropertyName(propName) ? factory.createElementAccessExpression(factory.createThis(), propName.expression) : factory.createPropertyAccessExpression(factory.createThis(), propName);\n    setParent(reference.expression, reference);\n    setParent(reference, constructor);\n    reference.flowNode = constructor.returnFlowNode;\n    const flowType = getFlowTypeOfReference(reference, propType, getOptionalType(propType));\n    return !containsUndefinedType(flowType);\n  }\n  function checkInterfaceDeclaration(node) {\n    if (!checkGrammarDecoratorsAndModifiers(node))\n      checkGrammarInterfaceDeclaration(node);\n    checkTypeParameters(node.typeParameters);\n    addLazyDiagnostic(() => {\n      checkTypeNameIsReserved(node.name, Diagnostics.Interface_name_cannot_be_0);\n      checkExportsOnMergedDeclarations(node);\n      const symbol = getSymbolOfNode(node);\n      checkTypeParameterListsIdentical(symbol);\n      const firstInterfaceDecl = getDeclarationOfKind(symbol, 267 /* InterfaceDeclaration */);\n      if (node === firstInterfaceDecl) {\n        const type = getDeclaredTypeOfSymbol(symbol);\n        const typeWithThis = getTypeWithThisArgument(type);\n        if (checkInheritedPropertiesAreIdentical(type, node.name)) {\n          for (const baseType of getBaseTypes(type)) {\n            checkTypeAssignableTo(typeWithThis, getTypeWithThisArgument(baseType, type.thisType), node.name, Diagnostics.Interface_0_incorrectly_extends_interface_1);\n          }\n          checkIndexConstraints(type, symbol);\n        }\n      }\n      checkObjectTypeForDuplicateDeclarations(node);\n    });\n    forEach(getInterfaceBaseTypeNodes(node), (heritageElement) => {\n      if (!isEntityNameExpression(heritageElement.expression) || isOptionalChain(heritageElement.expression)) {\n        error(heritageElement.expression, Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments);\n      }\n      checkTypeReferenceNode(heritageElement);\n    });\n    forEach(node.members, checkSourceElement);\n    addLazyDiagnostic(() => {\n      checkTypeForDuplicateIndexSignatures(node);\n      registerForUnusedIdentifiersCheck(node);\n    });\n  }\n  function checkTypeAliasDeclaration(node) {\n    checkGrammarDecoratorsAndModifiers(node);\n    checkTypeNameIsReserved(node.name, Diagnostics.Type_alias_name_cannot_be_0);\n    checkExportsOnMergedDeclarations(node);\n    checkTypeParameters(node.typeParameters);\n    if (node.type.kind === 140 /* IntrinsicKeyword */) {\n      if (!intrinsicTypeKinds.has(node.name.escapedText) || length(node.typeParameters) !== 1) {\n        error(node.type, Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types);\n      }\n    } else {\n      checkSourceElement(node.type);\n      registerForUnusedIdentifiersCheck(node);\n    }\n  }\n  function computeEnumMemberValues(node) {\n    const nodeLinks2 = getNodeLinks(node);\n    if (!(nodeLinks2.flags & 16384 /* EnumValuesComputed */)) {\n      nodeLinks2.flags |= 16384 /* EnumValuesComputed */;\n      let autoValue = 0;\n      for (const member of node.members) {\n        const value = computeMemberValue(member, autoValue);\n        getNodeLinks(member).enumMemberValue = value;\n        autoValue = typeof value === \"number\" ? value + 1 : void 0;\n      }\n    }\n  }\n  function computeMemberValue(member, autoValue) {\n    if (isComputedNonLiteralName(member.name)) {\n      error(member.name, Diagnostics.Computed_property_names_are_not_allowed_in_enums);\n    } else {\n      const text = getTextOfPropertyName(member.name);\n      if (isNumericLiteralName(text) && !isInfinityOrNaNString(text)) {\n        error(member.name, Diagnostics.An_enum_member_cannot_have_a_numeric_name);\n      }\n    }\n    if (member.initializer) {\n      return computeConstantValue(member);\n    }\n    if (member.parent.flags & 16777216 /* Ambient */ && !isEnumConst(member.parent) && getEnumKind(getSymbolOfNode(member.parent)) === 0 /* Numeric */) {\n      return void 0;\n    }\n    if (autoValue !== void 0) {\n      return autoValue;\n    }\n    error(member.name, Diagnostics.Enum_member_must_have_initializer);\n    return void 0;\n  }\n  function computeConstantValue(member) {\n    const enumKind = getEnumKind(getSymbolOfNode(member.parent));\n    const isConstEnum2 = isEnumConst(member.parent);\n    const initializer = member.initializer;\n    const value = enumKind === 1 /* Literal */ && !isLiteralEnumMember(member) ? void 0 : evaluate(initializer);\n    if (value !== void 0) {\n      if (isConstEnum2 && typeof value === \"number\" && !isFinite(value)) {\n        error(initializer, isNaN(value) ? Diagnostics.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN : Diagnostics.const_enum_member_initializer_was_evaluated_to_a_non_finite_value);\n      }\n    } else if (enumKind === 1 /* Literal */) {\n      error(initializer, Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members);\n      return 0;\n    } else if (isConstEnum2) {\n      error(initializer, Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values);\n    } else if (member.parent.flags & 16777216 /* Ambient */) {\n      error(initializer, Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);\n    } else {\n      const source = checkExpression(initializer);\n      if (!isTypeAssignableToKind(source, 296 /* NumberLike */)) {\n        error(initializer, Diagnostics.Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead, typeToString(source));\n      } else {\n        checkTypeAssignableTo(source, getDeclaredTypeOfSymbol(getSymbolOfNode(member.parent)), initializer, void 0);\n      }\n    }\n    return value;\n    function evaluate(expr) {\n      switch (expr.kind) {\n        case 225 /* PrefixUnaryExpression */:\n          const value2 = evaluate(expr.operand);\n          if (typeof value2 === \"number\") {\n            switch (expr.operator) {\n              case 39 /* PlusToken */:\n                return value2;\n              case 40 /* MinusToken */:\n                return -value2;\n              case 54 /* TildeToken */:\n                return ~value2;\n            }\n          }\n          break;\n        case 227 /* BinaryExpression */:\n          const left = evaluate(expr.left);\n          const right = evaluate(expr.right);\n          if (typeof left === \"number\" && typeof right === \"number\") {\n            switch (expr.operatorToken.kind) {\n              case 51 /* BarToken */:\n                return left | right;\n              case 50 /* AmpersandToken */:\n                return left & right;\n              case 48 /* GreaterThanGreaterThanToken */:\n                return left >> right;\n              case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n                return left >>> right;\n              case 47 /* LessThanLessThanToken */:\n                return left << right;\n              case 52 /* CaretToken */:\n                return left ^ right;\n              case 41 /* AsteriskToken */:\n                return left * right;\n              case 43 /* SlashToken */:\n                return left / right;\n              case 39 /* PlusToken */:\n                return left + right;\n              case 40 /* MinusToken */:\n                return left - right;\n              case 44 /* PercentToken */:\n                return left % right;\n              case 42 /* AsteriskAsteriskToken */:\n                return left ** right;\n            }\n          } else if (typeof left === \"string\" && typeof right === \"string\" && expr.operatorToken.kind === 39 /* PlusToken */) {\n            return left + right;\n          }\n          break;\n        case 10 /* StringLiteral */:\n        case 14 /* NoSubstitutionTemplateLiteral */:\n          return expr.text;\n        case 8 /* NumericLiteral */:\n          checkGrammarNumericLiteral(expr);\n          return +expr.text;\n        case 217 /* ParenthesizedExpression */:\n          return evaluate(expr.expression);\n        case 79 /* Identifier */:\n          const identifier = expr;\n          if (isInfinityOrNaNString(identifier.escapedText)) {\n            return +identifier.escapedText;\n          }\n          return nodeIsMissing(expr) ? 0 : evaluateEnumMember(expr, getSymbolOfNode(member.parent), identifier.escapedText);\n        case 212 /* ElementAccessExpression */:\n        case 211 /* PropertyAccessExpression */:\n          if (isConstantMemberAccess(expr)) {\n            const type = getTypeOfExpression(expr.expression);\n            if (type.symbol && type.symbol.flags & 384 /* Enum */) {\n              let name;\n              if (expr.kind === 211 /* PropertyAccessExpression */) {\n                name = expr.name.escapedText;\n              } else {\n                name = escapeLeadingUnderscores(cast(expr.argumentExpression, isLiteralExpression).text);\n              }\n              return evaluateEnumMember(expr, type.symbol, name);\n            }\n          }\n          break;\n      }\n      return void 0;\n    }\n    function evaluateEnumMember(expr, enumSymbol, name) {\n      const memberSymbol = enumSymbol.exports.get(name);\n      if (memberSymbol) {\n        const declaration = memberSymbol.valueDeclaration;\n        if (declaration !== member) {\n          if (declaration && isBlockScopedNameDeclaredBeforeUse(declaration, member) && isEnumDeclaration(declaration.parent)) {\n            return getEnumMemberValue(declaration);\n          }\n          error(expr, Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums);\n          return 0;\n        } else {\n          error(expr, Diagnostics.Property_0_is_used_before_being_assigned, symbolToString(memberSymbol));\n        }\n      }\n      return void 0;\n    }\n  }\n  function isConstantMemberAccess(node) {\n    const type = getTypeOfExpression(node);\n    if (type === errorType) {\n      return false;\n    }\n    return node.kind === 79 /* Identifier */ || node.kind === 211 /* PropertyAccessExpression */ && isConstantMemberAccess(node.expression) || node.kind === 212 /* ElementAccessExpression */ && isConstantMemberAccess(node.expression) && isStringLiteralLike(node.argumentExpression);\n  }\n  function checkEnumDeclaration(node) {\n    addLazyDiagnostic(() => checkEnumDeclarationWorker(node));\n  }\n  function checkEnumDeclarationWorker(node) {\n    checkGrammarDecoratorsAndModifiers(node);\n    checkCollisionsForDeclarationName(node, node.name);\n    checkExportsOnMergedDeclarations(node);\n    node.members.forEach(checkEnumMember);\n    computeEnumMemberValues(node);\n    const enumSymbol = getSymbolOfNode(node);\n    const firstDeclaration = getDeclarationOfKind(enumSymbol, node.kind);\n    if (node === firstDeclaration) {\n      if (enumSymbol.declarations && enumSymbol.declarations.length > 1) {\n        const enumIsConst = isEnumConst(node);\n        forEach(enumSymbol.declarations, (decl) => {\n          if (isEnumDeclaration(decl) && isEnumConst(decl) !== enumIsConst) {\n            error(getNameOfDeclaration(decl), Diagnostics.Enum_declarations_must_all_be_const_or_non_const);\n          }\n        });\n      }\n      let seenEnumMissingInitialInitializer = false;\n      forEach(enumSymbol.declarations, (declaration) => {\n        if (declaration.kind !== 269 /* EnumDeclaration */) {\n          return false;\n        }\n        const enumDeclaration = declaration;\n        if (!enumDeclaration.members.length) {\n          return false;\n        }\n        const firstEnumMember = enumDeclaration.members[0];\n        if (!firstEnumMember.initializer) {\n          if (seenEnumMissingInitialInitializer) {\n            error(firstEnumMember.name, Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element);\n          } else {\n            seenEnumMissingInitialInitializer = true;\n          }\n        }\n      });\n    }\n  }\n  function checkEnumMember(node) {\n    if (isPrivateIdentifier(node.name)) {\n      error(node, Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier);\n    }\n  }\n  function getFirstNonAmbientClassOrFunctionDeclaration(symbol) {\n    const declarations = symbol.declarations;\n    if (declarations) {\n      for (const declaration of declarations) {\n        if ((declaration.kind === 264 /* ClassDeclaration */ || declaration.kind === 263 /* FunctionDeclaration */ && nodeIsPresent(declaration.body)) && !(declaration.flags & 16777216 /* Ambient */)) {\n          return declaration;\n        }\n      }\n    }\n    return void 0;\n  }\n  function inSameLexicalScope(node1, node2) {\n    const container1 = getEnclosingBlockScopeContainer(node1);\n    const container2 = getEnclosingBlockScopeContainer(node2);\n    if (isGlobalSourceFile(container1)) {\n      return isGlobalSourceFile(container2);\n    } else if (isGlobalSourceFile(container2)) {\n      return false;\n    } else {\n      return container1 === container2;\n    }\n  }\n  function checkModuleDeclaration(node) {\n    if (node.body) {\n      checkSourceElement(node.body);\n      if (!isGlobalScopeAugmentation(node)) {\n        registerForUnusedIdentifiersCheck(node);\n      }\n    }\n    addLazyDiagnostic(checkModuleDeclarationDiagnostics);\n    function checkModuleDeclarationDiagnostics() {\n      const isGlobalAugmentation = isGlobalScopeAugmentation(node);\n      const inAmbientContext = node.flags & 16777216 /* Ambient */;\n      if (isGlobalAugmentation && !inAmbientContext) {\n        error(node.name, Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);\n      }\n      const isAmbientExternalModule = isAmbientModule(node);\n      const contextErrorMessage = isAmbientExternalModule ? Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file : Diagnostics.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;\n      if (checkGrammarModuleElementContext(node, contextErrorMessage)) {\n        return;\n      }\n      if (!checkGrammarDecoratorsAndModifiers(node)) {\n        if (!inAmbientContext && node.name.kind === 10 /* StringLiteral */) {\n          grammarErrorOnNode(node.name, Diagnostics.Only_ambient_modules_can_use_quoted_names);\n        }\n      }\n      if (isIdentifier(node.name)) {\n        checkCollisionsForDeclarationName(node, node.name);\n      }\n      checkExportsOnMergedDeclarations(node);\n      const symbol = getSymbolOfNode(node);\n      if (symbol.flags & 512 /* ValueModule */ && !inAmbientContext && symbol.declarations && symbol.declarations.length > 1 && isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions))) {\n        const firstNonAmbientClassOrFunc = getFirstNonAmbientClassOrFunctionDeclaration(symbol);\n        if (firstNonAmbientClassOrFunc) {\n          if (getSourceFileOfNode(node) !== getSourceFileOfNode(firstNonAmbientClassOrFunc)) {\n            error(node.name, Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged);\n          } else if (node.pos < firstNonAmbientClassOrFunc.pos) {\n            error(node.name, Diagnostics.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged);\n          }\n        }\n        const mergedClass = getDeclarationOfKind(symbol, 264 /* ClassDeclaration */);\n        if (mergedClass && inSameLexicalScope(node, mergedClass)) {\n          getNodeLinks(node).flags |= 32768 /* LexicalModuleMergesWithClass */;\n        }\n      }\n      if (isAmbientExternalModule) {\n        if (isExternalModuleAugmentation(node)) {\n          const checkBody = isGlobalAugmentation || getSymbolOfNode(node).flags & 33554432 /* Transient */;\n          if (checkBody && node.body) {\n            for (const statement of node.body.statements) {\n              checkModuleAugmentationElement(statement, isGlobalAugmentation);\n            }\n          }\n        } else if (isGlobalSourceFile(node.parent)) {\n          if (isGlobalAugmentation) {\n            error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations);\n          } else if (isExternalModuleNameRelative(getTextOfIdentifierOrLiteral(node.name))) {\n            error(node.name, Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name);\n          }\n        } else {\n          if (isGlobalAugmentation) {\n            error(node.name, Diagnostics.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations);\n          } else {\n            error(node.name, Diagnostics.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces);\n          }\n        }\n      }\n    }\n  }\n  function checkModuleAugmentationElement(node, isGlobalAugmentation) {\n    switch (node.kind) {\n      case 244 /* VariableStatement */:\n        for (const decl of node.declarationList.declarations) {\n          checkModuleAugmentationElement(decl, isGlobalAugmentation);\n        }\n        break;\n      case 280 /* ExportAssignment */:\n      case 281 /* ExportDeclaration */:\n        grammarErrorOnFirstToken(node, Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);\n        break;\n      case 274 /* ImportEqualsDeclaration */:\n      case 275 /* ImportDeclaration */:\n        grammarErrorOnFirstToken(node, Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);\n        break;\n      case 208 /* BindingElement */:\n      case 261 /* VariableDeclaration */:\n        const name = node.name;\n        if (isBindingPattern(name)) {\n          for (const el of name.elements) {\n            checkModuleAugmentationElement(el, isGlobalAugmentation);\n          }\n          break;\n        }\n      case 264 /* ClassDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 263 /* FunctionDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 270 /* ModuleDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n        if (isGlobalAugmentation) {\n          return;\n        }\n        break;\n    }\n  }\n  function getFirstNonModuleExportsIdentifier(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return node;\n      case 165 /* QualifiedName */:\n        do {\n          node = node.left;\n        } while (node.kind !== 79 /* Identifier */);\n        return node;\n      case 211 /* PropertyAccessExpression */:\n        do {\n          if (isModuleExportsAccessExpression(node.expression) && !isPrivateIdentifier(node.name)) {\n            return node.name;\n          }\n          node = node.expression;\n        } while (node.kind !== 79 /* Identifier */);\n        return node;\n    }\n  }\n  function checkExternalImportOrExportDeclaration(node) {\n    const moduleName = getExternalModuleName(node);\n    if (!moduleName || nodeIsMissing(moduleName)) {\n      return false;\n    }\n    if (!isStringLiteral(moduleName)) {\n      error(moduleName, Diagnostics.String_literal_expected);\n      return false;\n    }\n    const inAmbientExternalModule = node.parent.kind === 271 /* ModuleBlock */ && isAmbientModule(node.parent.parent);\n    if (node.parent.kind !== 314 /* SourceFile */ && !inAmbientExternalModule) {\n      error(moduleName, node.kind === 281 /* ExportDeclaration */ ? Diagnostics.Export_declarations_are_not_permitted_in_a_namespace : Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module);\n      return false;\n    }\n    if (inAmbientExternalModule && isExternalModuleNameRelative(moduleName.text)) {\n      if (!isTopLevelInExternalModuleAugmentation(node)) {\n        error(node, Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name);\n        return false;\n      }\n    }\n    if (!isImportEqualsDeclaration(node) && node.assertClause) {\n      let hasError = false;\n      for (const clause of node.assertClause.elements) {\n        if (!isStringLiteral(clause.value)) {\n          hasError = true;\n          error(clause.value, Diagnostics.Import_assertion_values_must_be_string_literal_expressions);\n        }\n      }\n      return !hasError;\n    }\n    return true;\n  }\n  function checkAliasSymbol(node) {\n    var _a2, _b, _c, _d, _e;\n    let symbol = getSymbolOfNode(node);\n    const target = resolveAlias(symbol);\n    if (target !== unknownSymbol) {\n      symbol = getMergedSymbol(symbol.exportSymbol || symbol);\n      if (isInJSFile(node) && !(target.flags & 111551 /* Value */) && !isTypeOnlyImportOrExportDeclaration(node)) {\n        const errorNode = isImportOrExportSpecifier(node) ? node.propertyName || node.name : isNamedDeclaration(node) ? node.name : node;\n        Debug.assert(node.kind !== 283 /* NamespaceExport */);\n        if (node.kind === 284 /* ExportSpecifier */) {\n          const diag2 = error(errorNode, Diagnostics.Types_cannot_appear_in_export_declarations_in_JavaScript_files);\n          const alreadyExportedSymbol = (_b = (_a2 = getSourceFileOfNode(node).symbol) == null ? void 0 : _a2.exports) == null ? void 0 : _b.get((node.propertyName || node.name).escapedText);\n          if (alreadyExportedSymbol === target) {\n            const exportingDeclaration = (_c = alreadyExportedSymbol.declarations) == null ? void 0 : _c.find(isJSDocNode);\n            if (exportingDeclaration) {\n              addRelatedInfo(diag2, createDiagnosticForNode(\n                exportingDeclaration,\n                Diagnostics._0_is_automatically_exported_here,\n                unescapeLeadingUnderscores(alreadyExportedSymbol.escapedName)\n              ));\n            }\n          }\n        } else {\n          Debug.assert(node.kind !== 261 /* VariableDeclaration */);\n          const importDeclaration = findAncestor(node, or(isImportDeclaration, isImportEqualsDeclaration));\n          const moduleSpecifier = (_e = importDeclaration && ((_d = tryGetModuleSpecifierFromDeclaration(importDeclaration)) == null ? void 0 : _d.text)) != null ? _e : \"...\";\n          const importedIdentifier = unescapeLeadingUnderscores(isIdentifier(errorNode) ? errorNode.escapedText : symbol.escapedName);\n          error(\n            errorNode,\n            Diagnostics._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,\n            importedIdentifier,\n            `import(\"${moduleSpecifier}\").${importedIdentifier}`\n          );\n        }\n        return;\n      }\n      const targetFlags = getAllSymbolFlags(target);\n      const excludedMeanings = (symbol.flags & (111551 /* Value */ | 1048576 /* ExportValue */) ? 111551 /* Value */ : 0) | (symbol.flags & 788968 /* Type */ ? 788968 /* Type */ : 0) | (symbol.flags & 1920 /* Namespace */ ? 1920 /* Namespace */ : 0);\n      if (targetFlags & excludedMeanings) {\n        const message = node.kind === 284 /* ExportSpecifier */ ? Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0 : Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0;\n        error(node, message, symbolToString(symbol));\n      }\n      if (compilerOptions.isolatedModules && !isTypeOnlyImportOrExportDeclaration(node) && !(node.flags & 16777216 /* Ambient */)) {\n        const typeOnlyAlias = getTypeOnlyAliasDeclaration(symbol);\n        const isType3 = !(targetFlags & 111551 /* Value */);\n        if (isType3 || typeOnlyAlias) {\n          switch (node.kind) {\n            case 276 /* ImportClause */:\n            case 279 /* ImportSpecifier */:\n            case 274 /* ImportEqualsDeclaration */: {\n              if (compilerOptions.preserveValueImports) {\n                Debug.assertIsDefined(node.name, \"An ImportClause with a symbol should have a name\");\n                const message = isType3 ? Diagnostics._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled;\n                const name = idText(node.kind === 279 /* ImportSpecifier */ ? node.propertyName || node.name : node.name);\n                addTypeOnlyDeclarationRelatedInfo(\n                  error(node, message, name),\n                  isType3 ? void 0 : typeOnlyAlias,\n                  name\n                );\n              }\n              if (isType3 && node.kind === 274 /* ImportEqualsDeclaration */ && hasEffectiveModifier(node, 1 /* Export */)) {\n                error(node, Diagnostics.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided);\n              }\n              break;\n            }\n            case 284 /* ExportSpecifier */: {\n              if (getSourceFileOfNode(typeOnlyAlias) !== getSourceFileOfNode(node)) {\n                const message = isType3 ? Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type : Diagnostics._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isolatedModules_is_enabled;\n                const name = idText(node.propertyName || node.name);\n                addTypeOnlyDeclarationRelatedInfo(\n                  error(node, message, name),\n                  isType3 ? void 0 : typeOnlyAlias,\n                  name\n                );\n                return;\n              }\n            }\n          }\n        }\n      }\n      if (isImportSpecifier(node)) {\n        const targetSymbol = checkDeprecatedAliasedSymbol(symbol, node);\n        if (isDeprecatedAliasedSymbol(targetSymbol) && targetSymbol.declarations) {\n          addDeprecatedSuggestion(node, targetSymbol.declarations, targetSymbol.escapedName);\n        }\n      }\n      if (isImportSpecifier(node) || isExportSpecifier(node)) {\n        if (targetFlags & 268435456 /* Annotation */) {\n          getNodeLinks(node).exportOrImportRefersToAnnotation = true;\n          if (node.propertyName) {\n            error(node, Diagnostics.Annotation_cannot_be_renamed_in_import_or_export);\n          }\n        }\n      }\n      if (!isVariableDeclaration(node) && !isBindingElement(node)) {\n        if (targetFlags & 128 /* ConstEnum */) {\n          checkConstEnumRelate(node, target);\n        }\n      }\n    }\n  }\n  function isDeprecatedAliasedSymbol(symbol) {\n    return !!symbol.declarations && every(symbol.declarations, (d) => !!(getCombinedNodeFlags(d) & 268435456 /* Deprecated */));\n  }\n  function checkDeprecatedAliasedSymbol(symbol, location) {\n    if (!(symbol.flags & 2097152 /* Alias */))\n      return symbol;\n    const targetSymbol = resolveAlias(symbol);\n    if (targetSymbol === unknownSymbol)\n      return targetSymbol;\n    while (symbol.flags & 2097152 /* Alias */) {\n      const target = getImmediateAliasedSymbol(symbol);\n      if (target) {\n        if (target === targetSymbol)\n          break;\n        if (target.declarations && length(target.declarations)) {\n          if (isDeprecatedAliasedSymbol(target)) {\n            addDeprecatedSuggestion(location, target.declarations, target.escapedName);\n            break;\n          } else {\n            if (symbol === targetSymbol)\n              break;\n            symbol = target;\n          }\n        }\n      } else {\n        break;\n      }\n    }\n    return targetSymbol;\n  }\n  function checkImportBinding(node) {\n    checkCollisionsForDeclarationName(node, node.name);\n    checkAliasSymbol(node);\n    if (node.kind === 279 /* ImportSpecifier */ && idText(node.propertyName || node.name) === \"default\" && getESModuleInterop(compilerOptions) && moduleKind !== 4 /* System */ && (moduleKind < 5 /* ES2015 */ || getSourceFileOfNode(node).impliedNodeFormat === 1 /* CommonJS */)) {\n      checkExternalEmitHelpers(node, 131072 /* ImportDefault */);\n    }\n  }\n  function checkAssertClause(declaration) {\n    var _a2;\n    if (declaration.assertClause) {\n      const validForTypeAssertions = isExclusivelyTypeOnlyImportOrExport(declaration);\n      const override = getResolutionModeOverrideForClause(declaration.assertClause, validForTypeAssertions ? grammarErrorOnNode : void 0);\n      if (validForTypeAssertions && override) {\n        if (!isNightly()) {\n          grammarErrorOnNode(declaration.assertClause, Diagnostics.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next);\n        }\n        if (getEmitModuleResolutionKind(compilerOptions) !== 3 /* Node16 */ && getEmitModuleResolutionKind(compilerOptions) !== 99 /* NodeNext */) {\n          return grammarErrorOnNode(declaration.assertClause, Diagnostics.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext);\n        }\n        return;\n      }\n      const mode = moduleKind === 199 /* NodeNext */ && declaration.moduleSpecifier && getUsageModeForExpression(declaration.moduleSpecifier);\n      if (mode !== 99 /* ESNext */ && moduleKind !== 99 /* ESNext */) {\n        return grammarErrorOnNode(\n          declaration.assertClause,\n          moduleKind === 199 /* NodeNext */ ? Diagnostics.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls : Diagnostics.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext\n        );\n      }\n      if (isImportDeclaration(declaration) ? (_a2 = declaration.importClause) == null ? void 0 : _a2.isTypeOnly : declaration.isTypeOnly) {\n        return grammarErrorOnNode(declaration.assertClause, Diagnostics.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);\n      }\n      if (override) {\n        return grammarErrorOnNode(declaration.assertClause, Diagnostics.resolution_mode_can_only_be_set_for_type_only_imports);\n      }\n    }\n  }\n  function checkImportDeclaration(node) {\n    if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) {\n      return;\n    }\n    if (!checkGrammarDecoratorsAndModifiers(node) && hasEffectiveModifiers(node)) {\n      grammarErrorOnFirstToken(node, Diagnostics.An_import_declaration_cannot_have_modifiers);\n    }\n    if (checkExternalImportOrExportDeclaration(node)) {\n      const importClause = node.importClause;\n      if (importClause && !checkGrammarImportClause(importClause)) {\n        if (importClause.name) {\n          checkImportBinding(importClause);\n        }\n        if (importClause.namedBindings) {\n          if (importClause.namedBindings.kind === 277 /* NamespaceImport */) {\n            checkImportBinding(importClause.namedBindings);\n            if (moduleKind !== 4 /* System */ && (moduleKind < 5 /* ES2015 */ || getSourceFileOfNode(node).impliedNodeFormat === 1 /* CommonJS */) && getESModuleInterop(compilerOptions)) {\n              checkExternalEmitHelpers(node, 65536 /* ImportStar */);\n            }\n          } else {\n            const moduleExisted = resolveExternalModuleName(node, node.moduleSpecifier);\n            if (moduleExisted) {\n              forEach(importClause.namedBindings.elements, checkImportBinding);\n            }\n          }\n        }\n      }\n    }\n    checkAssertClause(node);\n  }\n  function checkImportEqualsDeclaration(node) {\n    if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) {\n      return;\n    }\n    checkGrammarDecoratorsAndModifiers(node);\n    if (isInternalModuleImportEqualsDeclaration(node) || checkExternalImportOrExportDeclaration(node)) {\n      checkImportBinding(node);\n      if (hasSyntacticModifier(node, 1 /* Export */)) {\n        markExportAsReferenced(node);\n      }\n      if (node.moduleReference.kind !== 286 /* ExternalModuleReference */) {\n        const target = resolveAlias(getSymbolOfNode(node));\n        if (target !== unknownSymbol) {\n          const targetFlags = getAllSymbolFlags(target);\n          if (targetFlags & 111551 /* Value */) {\n            const moduleName = getFirstIdentifier(node.moduleReference);\n            if (!(resolveEntityName(moduleName, 111551 /* Value */ | 1920 /* Namespace */).flags & 1920 /* Namespace */)) {\n              error(moduleName, Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name, declarationNameToString(moduleName));\n            }\n          }\n          if (targetFlags & 788968 /* Type */) {\n            checkTypeNameIsReserved(node.name, Diagnostics.Import_name_cannot_be_0);\n          }\n        }\n        if (node.isTypeOnly) {\n          grammarErrorOnNode(node, Diagnostics.An_import_alias_cannot_use_import_type);\n        }\n      } else {\n        if (moduleKind >= 5 /* ES2015 */ && getSourceFileOfNode(node).impliedNodeFormat === void 0 && !node.isTypeOnly && !(node.flags & 16777216 /* Ambient */)) {\n          grammarErrorOnNode(node, Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead);\n        }\n      }\n    }\n  }\n  function checkExportDeclaration(node) {\n    if (checkGrammarModuleElementContext(node, isInJSFile(node) ? Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module : Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)) {\n      return;\n    }\n    if (!checkGrammarDecoratorsAndModifiers(node) && hasSyntacticModifiers(node)) {\n      grammarErrorOnFirstToken(node, Diagnostics.An_export_declaration_cannot_have_modifiers);\n    }\n    if (node.moduleSpecifier && node.exportClause && isNamedExports(node.exportClause) && length(node.exportClause.elements) && languageVersion === 0 /* ES3 */) {\n      checkExternalEmitHelpers(node, 4194304 /* CreateBinding */);\n    }\n    checkGrammarExportDeclaration(node);\n    if (!node.moduleSpecifier || checkExternalImportOrExportDeclaration(node)) {\n      if (node.exportClause && !isNamespaceExport(node.exportClause)) {\n        forEach(node.exportClause.elements, checkExportSpecifier);\n        const inAmbientExternalModule = node.parent.kind === 271 /* ModuleBlock */ && isAmbientModule(node.parent.parent);\n        const inAmbientNamespaceDeclaration = !inAmbientExternalModule && node.parent.kind === 271 /* ModuleBlock */ && !node.moduleSpecifier && node.flags & 16777216 /* Ambient */;\n        if (node.parent.kind !== 314 /* SourceFile */ && !inAmbientExternalModule && !inAmbientNamespaceDeclaration) {\n          error(node, Diagnostics.Export_declarations_are_not_permitted_in_a_namespace);\n        }\n      } else {\n        const moduleSymbol = resolveExternalModuleName(node, node.moduleSpecifier);\n        if (moduleSymbol && hasExportAssignmentSymbol(moduleSymbol)) {\n          error(node.moduleSpecifier, Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk, symbolToString(moduleSymbol));\n        } else if (node.exportClause) {\n          checkAliasSymbol(node.exportClause);\n        }\n        if (moduleKind !== 4 /* System */ && (moduleKind < 5 /* ES2015 */ || getSourceFileOfNode(node).impliedNodeFormat === 1 /* CommonJS */)) {\n          if (node.exportClause) {\n            if (getESModuleInterop(compilerOptions)) {\n              checkExternalEmitHelpers(node, 65536 /* ImportStar */);\n            }\n          } else {\n            checkExternalEmitHelpers(node, 32768 /* ExportStar */);\n          }\n        }\n      }\n    }\n    checkAssertClause(node);\n  }\n  function checkGrammarExportDeclaration(node) {\n    var _a2;\n    if (node.isTypeOnly) {\n      if (((_a2 = node.exportClause) == null ? void 0 : _a2.kind) === 282 /* NamedExports */) {\n        return checkGrammarNamedImportsOrExports(node.exportClause);\n      } else {\n        return grammarErrorOnNode(node, Diagnostics.Only_named_exports_may_use_export_type);\n      }\n    }\n    return false;\n  }\n  function checkGrammarModuleElementContext(node, errorMessage) {\n    const isInAppropriateContext = node.parent.kind === 314 /* SourceFile */ || node.parent.kind === 271 /* ModuleBlock */ || node.parent.kind === 270 /* ModuleDeclaration */;\n    if (!isInAppropriateContext) {\n      grammarErrorOnFirstToken(node, errorMessage);\n    }\n    return !isInAppropriateContext;\n  }\n  function importClauseContainsReferencedImport(importClause) {\n    return forEachImportClauseDeclaration(importClause, (declaration) => {\n      return !!getSymbolOfNode(declaration).isReferenced;\n    });\n  }\n  function importClauseContainsConstEnumUsedAsValue(importClause) {\n    return forEachImportClauseDeclaration(importClause, (declaration) => {\n      return !!getSymbolLinks(getSymbolOfNode(declaration)).constEnumReferenced;\n    });\n  }\n  function canConvertImportDeclarationToTypeOnly(statement) {\n    return isImportDeclaration(statement) && statement.importClause && !statement.importClause.isTypeOnly && importClauseContainsReferencedImport(statement.importClause) && !isReferencedAliasDeclaration(statement.importClause, true) && !importClauseContainsConstEnumUsedAsValue(statement.importClause);\n  }\n  function canConvertImportEqualsDeclarationToTypeOnly(statement) {\n    return isImportEqualsDeclaration(statement) && isExternalModuleReference(statement.moduleReference) && !statement.isTypeOnly && getSymbolOfNode(statement).isReferenced && !isReferencedAliasDeclaration(statement, false) && !getSymbolLinks(getSymbolOfNode(statement)).constEnumReferenced;\n  }\n  function checkImportsForTypeOnlyConversion(sourceFile) {\n    for (const statement of sourceFile.statements) {\n      if (canConvertImportDeclarationToTypeOnly(statement) || canConvertImportEqualsDeclarationToTypeOnly(statement)) {\n        error(\n          statement,\n          Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error\n        );\n      }\n    }\n  }\n  function checkExportSpecifier(node) {\n    checkAliasSymbol(node);\n    if (isReferredToAnnotation(node)) {\n      error(node, Diagnostics.Annotation_can_only_be_exported_in_declaration_statement);\n    }\n    if (getEmitDeclarations(compilerOptions)) {\n      collectLinkedAliases(node.propertyName || node.name, true);\n    }\n    if (!node.parent.parent.moduleSpecifier) {\n      const exportedName = node.propertyName || node.name;\n      const symbol = resolveName(\n        exportedName,\n        exportedName.escapedText,\n        111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */,\n        void 0,\n        void 0,\n        true\n      );\n      if (symbol && (symbol === undefinedSymbol || symbol === globalThisSymbol || symbol.declarations && isGlobalSourceFile(getDeclarationContainer(symbol.declarations[0])))) {\n        error(exportedName, Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, idText(exportedName));\n      } else {\n        if (!node.isTypeOnly && !node.parent.parent.isTypeOnly) {\n          markExportAsReferenced(node);\n        }\n        const target = symbol && (symbol.flags & 2097152 /* Alias */ ? resolveAlias(symbol) : symbol);\n        if (!target || getAllSymbolFlags(target) & 111551 /* Value */) {\n          checkExpressionCached(node.propertyName || node.name);\n        }\n      }\n    } else {\n      if (getESModuleInterop(compilerOptions) && moduleKind !== 4 /* System */ && (moduleKind < 5 /* ES2015 */ || getSourceFileOfNode(node).impliedNodeFormat === 1 /* CommonJS */) && idText(node.propertyName || node.name) === \"default\") {\n        checkExternalEmitHelpers(node, 131072 /* ImportDefault */);\n      }\n    }\n  }\n  function checkAnnotationInExportAssignment(node) {\n    let ident;\n    switch (node.expression.kind) {\n      case 79 /* Identifier */:\n        ident = node.expression;\n        break;\n      case 211 /* PropertyAccessExpression */:\n        ident = node.expression;\n        break;\n      default:\n        return;\n    }\n    if (!ident) {\n      return;\n    }\n    const symbol = getSymbolOfNameOrPropertyAccessExpression(ident);\n    if (!symbol) {\n      return;\n    }\n    if (getAllSymbolFlags(symbol) & 268435456 /* Annotation */) {\n      getNodeLinks(node).exportOrImportRefersToAnnotation = true;\n      if (node.isExportEquals === void 0) {\n        error(node, Diagnostics.Annotation_cannot_be_exported_as_default);\n      }\n    }\n  }\n  function checkExportAssignment(node) {\n    const illegalContextMessage = node.isExportEquals ? Diagnostics.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration : Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;\n    if (checkGrammarModuleElementContext(node, illegalContextMessage)) {\n      return;\n    }\n    const container = node.parent.kind === 314 /* SourceFile */ ? node.parent : node.parent.parent;\n    if (container.kind === 270 /* ModuleDeclaration */ && !isAmbientModule(container)) {\n      if (node.isExportEquals) {\n        error(node, Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace);\n      } else {\n        error(node, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);\n      }\n      return;\n    }\n    if (!checkGrammarDecoratorsAndModifiers(node) && hasEffectiveModifiers(node)) {\n      grammarErrorOnFirstToken(node, Diagnostics.An_export_assignment_cannot_have_modifiers);\n    }\n    const typeAnnotationNode = getEffectiveTypeAnnotationNode(node);\n    if (typeAnnotationNode) {\n      checkTypeAssignableTo(checkExpressionCached(node.expression), getTypeFromTypeNode(typeAnnotationNode), node.expression);\n    }\n    if (node.expression.kind === 79 /* Identifier */) {\n      const id = node.expression;\n      const sym = resolveEntityName(id, 67108863 /* All */, true, true, node);\n      if (sym) {\n        markAliasReferenced(sym, id);\n        const target = sym.flags & 2097152 /* Alias */ ? resolveAlias(sym) : sym;\n        if (getAllSymbolFlags(target) & 111551 /* Value */) {\n          checkExpressionCached(node.expression);\n        }\n      } else {\n        checkExpressionCached(node.expression);\n      }\n      if (getEmitDeclarations(compilerOptions)) {\n        collectLinkedAliases(node.expression, true);\n      }\n    } else {\n      checkExpressionCached(node.expression);\n    }\n    checkAnnotationInExportAssignment(node);\n    checkExternalModuleExports(container);\n    if (node.flags & 16777216 /* Ambient */ && !isEntityNameExpression(node.expression)) {\n      grammarErrorOnNode(node.expression, Diagnostics.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context);\n    }\n    if (node.isExportEquals && !(node.flags & 16777216 /* Ambient */)) {\n      if (moduleKind >= 5 /* ES2015 */ && getSourceFileOfNode(node).impliedNodeFormat !== 1 /* CommonJS */) {\n        grammarErrorOnNode(node, Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead);\n      } else if (moduleKind === 4 /* System */) {\n        grammarErrorOnNode(node, Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system);\n      }\n    }\n  }\n  function hasExportedMembers(moduleSymbol) {\n    return forEachEntry(moduleSymbol.exports, (_, id) => id !== \"export=\");\n  }\n  function checkExternalModuleExports(node) {\n    const moduleSymbol = getSymbolOfNode(node);\n    const links = getSymbolLinks(moduleSymbol);\n    if (!links.exportsChecked) {\n      const exportEqualsSymbol = moduleSymbol.exports.get(\"export=\");\n      if (exportEqualsSymbol && hasExportedMembers(moduleSymbol)) {\n        const declaration = getDeclarationOfAliasSymbol(exportEqualsSymbol) || exportEqualsSymbol.valueDeclaration;\n        if (declaration && !isTopLevelInExternalModuleAugmentation(declaration) && !isInJSFile(declaration)) {\n          error(declaration, Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements);\n        }\n      }\n      const exports = getExportsOfModule(moduleSymbol);\n      if (exports) {\n        exports.forEach(({ declarations, flags }, id) => {\n          if (id === \"__export\") {\n            return;\n          }\n          if (flags & (1920 /* Namespace */ | 384 /* Enum */)) {\n            return;\n          }\n          const exportedDeclarationsCount = countWhere(declarations, and(isNotOverloadAndNotAccessor, not(isInterfaceDeclaration)));\n          if (flags & 524288 /* TypeAlias */ && exportedDeclarationsCount <= 2) {\n            return;\n          }\n          if (exportedDeclarationsCount > 1) {\n            if (!isDuplicatedCommonJSExport(declarations)) {\n              for (const declaration of declarations) {\n                if (isNotOverload(declaration)) {\n                  diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Cannot_redeclare_exported_variable_0, unescapeLeadingUnderscores(id)));\n                }\n              }\n            }\n          }\n        });\n      }\n      links.exportsChecked = true;\n    }\n  }\n  function isDuplicatedCommonJSExport(declarations) {\n    return declarations && declarations.length > 1 && declarations.every((d) => isInJSFile(d) && isAccessExpression(d) && (isExportsIdentifier(d.expression) || isModuleExportsAccessExpression(d.expression)));\n  }\n  function checkSourceElement(node) {\n    if (node) {\n      const saveCurrentNode = currentNode;\n      currentNode = node;\n      instantiationCount = 0;\n      checkSourceElementWorker(node);\n      currentNode = saveCurrentNode;\n    }\n  }\n  function checkSourceElementWorker(node) {\n    forEach(node.jsDoc, ({ comment, tags }) => {\n      checkJSDocCommentWorker(comment);\n      forEach(tags, (tag) => {\n        checkJSDocCommentWorker(tag.comment);\n        if (isInJSFile(node)) {\n          checkSourceElement(tag);\n        }\n      });\n    });\n    const kind = node.kind;\n    if (cancellationToken) {\n      switch (kind) {\n        case 270 /* ModuleDeclaration */:\n        case 264 /* ClassDeclaration */:\n        case 267 /* InterfaceDeclaration */:\n        case 263 /* FunctionDeclaration */:\n          cancellationToken.throwIfCancellationRequested();\n      }\n    }\n    if (kind >= 244 /* FirstStatement */ && kind <= 260 /* LastStatement */ && node.flowNode && !isReachableFlowNode(node.flowNode)) {\n      errorOrSuggestion(compilerOptions.allowUnreachableCode === false, node, Diagnostics.Unreachable_code_detected);\n    }\n    switch (kind) {\n      case 167 /* TypeParameter */:\n        return checkTypeParameter(node);\n      case 168 /* Parameter */:\n        return checkParameter(node);\n      case 171 /* PropertyDeclaration */:\n        return checkPropertyDeclaration(node);\n      case 170 /* PropertySignature */:\n        return checkPropertySignature(node);\n      case 172 /* AnnotationPropertyDeclaration */:\n        return checkPropertyDeclaration(node);\n      case 185 /* ConstructorType */:\n      case 184 /* FunctionType */:\n      case 179 /* CallSignature */:\n      case 180 /* ConstructSignature */:\n      case 181 /* IndexSignature */:\n        return checkSignatureDeclaration(node);\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        return checkMethodDeclaration(node);\n      case 175 /* ClassStaticBlockDeclaration */:\n        return checkClassStaticBlockDeclaration(node);\n      case 176 /* Constructor */:\n        return checkConstructorDeclaration(node);\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return checkAccessorDeclaration(node);\n      case 183 /* TypeReference */:\n        return checkTypeReferenceNode(node);\n      case 182 /* TypePredicate */:\n        return checkTypePredicate(node);\n      case 186 /* TypeQuery */:\n        return checkTypeQuery(node);\n      case 187 /* TypeLiteral */:\n        return checkTypeLiteral(node);\n      case 188 /* ArrayType */:\n        return checkArrayType(node);\n      case 189 /* TupleType */:\n        return checkTupleType(node);\n      case 192 /* UnionType */:\n      case 193 /* IntersectionType */:\n        return checkUnionOrIntersectionType(node);\n      case 196 /* ParenthesizedType */:\n      case 190 /* OptionalType */:\n      case 191 /* RestType */:\n        return checkSourceElement(node.type);\n      case 197 /* ThisType */:\n        return checkThisType(node);\n      case 198 /* TypeOperator */:\n        return checkTypeOperator(node);\n      case 194 /* ConditionalType */:\n        return checkConditionalType(node);\n      case 195 /* InferType */:\n        return checkInferType(node);\n      case 203 /* TemplateLiteralType */:\n        return checkTemplateLiteralType(node);\n      case 205 /* ImportType */:\n        return checkImportType(node);\n      case 202 /* NamedTupleMember */:\n        return checkNamedTupleMember(node);\n      case 337 /* JSDocAugmentsTag */:\n        return checkJSDocAugmentsTag(node);\n      case 338 /* JSDocImplementsTag */:\n        return checkJSDocImplementsTag(node);\n      case 354 /* JSDocTypedefTag */:\n      case 347 /* JSDocCallbackTag */:\n      case 348 /* JSDocEnumTag */:\n        return checkJSDocTypeAliasTag(node);\n      case 353 /* JSDocTemplateTag */:\n        return checkJSDocTemplateTag(node);\n      case 352 /* JSDocTypeTag */:\n        return checkJSDocTypeTag(node);\n      case 333 /* JSDocLink */:\n      case 334 /* JSDocLinkCode */:\n      case 335 /* JSDocLinkPlain */:\n        return checkJSDocLinkLikeTag(node);\n      case 349 /* JSDocParameterTag */:\n        return checkJSDocParameterTag(node);\n      case 356 /* JSDocPropertyTag */:\n        return checkJSDocPropertyTag(node);\n      case 326 /* JSDocFunctionType */:\n        checkJSDocFunctionType(node);\n      case 324 /* JSDocNonNullableType */:\n      case 323 /* JSDocNullableType */:\n      case 321 /* JSDocAllType */:\n      case 322 /* JSDocUnknownType */:\n      case 331 /* JSDocTypeLiteral */:\n        checkJSDocTypeIsInJsFile(node);\n        forEachChild(node, checkSourceElement);\n        return;\n      case 327 /* JSDocVariadicType */:\n        checkJSDocVariadicType(node);\n        return;\n      case 318 /* JSDocTypeExpression */:\n        return checkSourceElement(node.type);\n      case 342 /* JSDocPublicTag */:\n      case 344 /* JSDocProtectedTag */:\n      case 343 /* JSDocPrivateTag */:\n        return checkJSDocAccessibilityModifiers(node);\n      case 199 /* IndexedAccessType */:\n        return checkIndexedAccessType(node);\n      case 200 /* MappedType */:\n        return checkMappedType(node);\n      case 263 /* FunctionDeclaration */:\n        return checkFunctionDeclaration(node);\n      case 242 /* Block */:\n      case 271 /* ModuleBlock */:\n        return checkBlock(node);\n      case 244 /* VariableStatement */:\n        return checkVariableStatement(node);\n      case 245 /* ExpressionStatement */:\n        return checkExpressionStatement(node);\n      case 246 /* IfStatement */:\n        return checkIfStatement(node);\n      case 247 /* DoStatement */:\n        return checkDoStatement(node);\n      case 248 /* WhileStatement */:\n        return checkWhileStatement(node);\n      case 249 /* ForStatement */:\n        return checkForStatement(node);\n      case 250 /* ForInStatement */:\n        return checkForInStatement(node);\n      case 251 /* ForOfStatement */:\n        return checkForOfStatement(node);\n      case 252 /* ContinueStatement */:\n      case 253 /* BreakStatement */:\n        return checkBreakOrContinueStatement(node);\n      case 254 /* ReturnStatement */:\n        return checkReturnStatement(node);\n      case 255 /* WithStatement */:\n        return checkWithStatement(node);\n      case 256 /* SwitchStatement */:\n        return checkSwitchStatement(node);\n      case 257 /* LabeledStatement */:\n        return checkLabeledStatement(node);\n      case 258 /* ThrowStatement */:\n        return checkThrowStatement(node);\n      case 259 /* TryStatement */:\n        return checkTryStatement(node);\n      case 261 /* VariableDeclaration */:\n        return checkVariableDeclaration(node);\n      case 208 /* BindingElement */:\n        return checkBindingElement(node);\n      case 264 /* ClassDeclaration */:\n        return checkClassDeclaration(node);\n      case 265 /* StructDeclaration */:\n        return checkStructDeclaration(node);\n      case 266 /* AnnotationDeclaration */:\n        return checkAnnotationDeclaration(node);\n      case 267 /* InterfaceDeclaration */:\n        return checkInterfaceDeclaration(node);\n      case 268 /* TypeAliasDeclaration */:\n        return checkTypeAliasDeclaration(node);\n      case 269 /* EnumDeclaration */:\n        return checkEnumDeclaration(node);\n      case 270 /* ModuleDeclaration */:\n        return checkModuleDeclaration(node);\n      case 275 /* ImportDeclaration */:\n        return checkImportDeclaration(node);\n      case 274 /* ImportEqualsDeclaration */:\n        return checkImportEqualsDeclaration(node);\n      case 281 /* ExportDeclaration */:\n        return checkExportDeclaration(node);\n      case 280 /* ExportAssignment */:\n        return checkExportAssignment(node);\n      case 243 /* EmptyStatement */:\n      case 260 /* DebuggerStatement */:\n        checkGrammarStatementInAmbientContext(node);\n        return;\n      case 285 /* MissingDeclaration */:\n        return checkMissingDeclaration(node);\n    }\n  }\n  function checkJSDocCommentWorker(node) {\n    if (isArray(node)) {\n      forEach(node, (tag) => {\n        if (isJSDocLinkLike(tag)) {\n          checkSourceElement(tag);\n        }\n      });\n    }\n  }\n  function checkJSDocTypeIsInJsFile(node) {\n    if (!isInJSFile(node)) {\n      grammarErrorOnNode(node, Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments);\n    }\n  }\n  function checkJSDocVariadicType(node) {\n    checkJSDocTypeIsInJsFile(node);\n    checkSourceElement(node.type);\n    const { parent: parent2 } = node;\n    if (isParameter(parent2) && isJSDocFunctionType(parent2.parent)) {\n      if (last(parent2.parent.parameters) !== parent2) {\n        error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);\n      }\n      return;\n    }\n    if (!isJSDocTypeExpression(parent2)) {\n      error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);\n    }\n    const paramTag = node.parent.parent;\n    if (!isJSDocParameterTag(paramTag)) {\n      error(node, Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);\n      return;\n    }\n    const param = getParameterSymbolFromJSDoc(paramTag);\n    if (!param) {\n      return;\n    }\n    const host2 = getHostSignatureFromJSDoc(paramTag);\n    if (!host2 || last(host2.parameters).symbol !== param) {\n      error(node, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);\n    }\n  }\n  function getTypeFromJSDocVariadicType(node) {\n    const type = getTypeFromTypeNode(node.type);\n    const { parent: parent2 } = node;\n    const paramTag = node.parent.parent;\n    if (isJSDocTypeExpression(node.parent) && isJSDocParameterTag(paramTag)) {\n      const host2 = getHostSignatureFromJSDoc(paramTag);\n      const isCallbackTag = isJSDocCallbackTag(paramTag.parent.parent);\n      if (host2 || isCallbackTag) {\n        const lastParamDeclaration = isCallbackTag ? lastOrUndefined(paramTag.parent.parent.typeExpression.parameters) : lastOrUndefined(host2.parameters);\n        const symbol = getParameterSymbolFromJSDoc(paramTag);\n        if (!lastParamDeclaration || symbol && lastParamDeclaration.symbol === symbol && isRestParameter(lastParamDeclaration)) {\n          return createArrayType(type);\n        }\n      }\n    }\n    if (isParameter(parent2) && isJSDocFunctionType(parent2.parent)) {\n      return createArrayType(type);\n    }\n    return addOptionality(type);\n  }\n  function checkNodeDeferred(node) {\n    const enclosingFile = getSourceFileOfNode(node);\n    const links = getNodeLinks(enclosingFile);\n    if (!(links.flags & 1 /* TypeChecked */)) {\n      links.deferredNodes || (links.deferredNodes = new Set2());\n      links.deferredNodes.add(node);\n    }\n  }\n  function checkDeferredNodes(context) {\n    const links = getNodeLinks(context);\n    if (links.deferredNodes) {\n      links.deferredNodes.forEach(checkDeferredNode);\n    }\n  }\n  function checkDeferredNode(node) {\n    var _a2, _b;\n    (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Check, \"checkDeferredNode\", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });\n    PerformanceDotting.start(\"checkDeferredNode\", performanceFileName);\n    const saveCurrentNode = currentNode;\n    currentNode = node;\n    instantiationCount = 0;\n    switch (node.kind) {\n      case 213 /* CallExpression */:\n      case 214 /* NewExpression */:\n      case 215 /* TaggedTemplateExpression */:\n      case 169 /* Decorator */:\n      case 289 /* JsxOpeningElement */:\n        resolveUntypedCall(node);\n        break;\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        checkFunctionExpressionOrObjectLiteralMethodDeferred(node);\n        break;\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        checkAccessorDeclaration(node);\n        break;\n      case 232 /* ClassExpression */:\n        checkClassExpressionDeferred(node);\n        break;\n      case 167 /* TypeParameter */:\n        checkTypeParameterDeferred(node);\n        break;\n      case 288 /* JsxSelfClosingElement */:\n        checkJsxSelfClosingElementDeferred(node);\n        break;\n      case 287 /* JsxElement */:\n        checkJsxElementDeferred(node);\n        break;\n    }\n    currentNode = saveCurrentNode;\n    PerformanceDotting.stop(\"checkDeferredNode\");\n    (_b = tracing) == null ? void 0 : _b.pop();\n  }\n  function checkSourceFile(node) {\n    var _a2, _b;\n    performanceFileName = node.fileName;\n    (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Check, \"checkSourceFile\", { path: node.path }, true);\n    PerformanceDotting.start(\"checkSourceFile\", performanceFileName);\n    const recordInfo = MemoryDotting.recordStage(MemoryDotting.CHECK_SOURCE_FILE);\n    mark(\"beforeCheck\");\n    if (host.getFileCheckedModuleInfo) {\n      jsDocFileCheckInfo = host.getFileCheckedModuleInfo(node.fileName);\n      jsDocFileCheckInfo.currentFileName = node.fileName;\n    }\n    checkSourceFileWorker(node);\n    mark(\"afterCheck\");\n    PerformanceDotting.stop(\"checkSourceFile\");\n    MemoryDotting.stopRecordStage(recordInfo);\n    measure(\"Check\", \"beforeCheck\", \"afterCheck\");\n    (_b = tracing) == null ? void 0 : _b.pop();\n  }\n  function unusedIsError(kind, isAmbient) {\n    if (isAmbient) {\n      return false;\n    }\n    switch (kind) {\n      case 0 /* Local */:\n        return !!compilerOptions.noUnusedLocals;\n      case 1 /* Parameter */:\n        return !!compilerOptions.noUnusedParameters;\n      default:\n        return Debug.assertNever(kind);\n    }\n  }\n  function getPotentiallyUnusedIdentifiers(sourceFile) {\n    return allPotentiallyUnusedIdentifiers.get(sourceFile.path) || emptyArray;\n  }\n  function checkSourceFileWorker(node) {\n    const links = getNodeLinks(node);\n    if (!(links.flags & 1 /* TypeChecked */)) {\n      if (skipTypeChecking(node, compilerOptions, host)) {\n        return;\n      }\n      constEnumRelate.set(node.resolvedPath, new Map2());\n      checkGrammarSourceFile(node);\n      clear(potentialThisCollisions);\n      clear(potentialNewTargetCollisions);\n      clear(potentialWeakMapSetCollisions);\n      clear(potentialReflectCollisions);\n      clear(potentialUnusedRenamedBindingElementsInTypes);\n      forEach(node.statements, (node2) => {\n        if (!node2.skipCheck) {\n          checkSourceElement(node2);\n        }\n      });\n      checkSourceElement(node.endOfFileToken);\n      checkDeferredNodes(node);\n      if (isExternalOrCommonJsModule(node)) {\n        registerForUnusedIdentifiersCheck(node);\n      }\n      addLazyDiagnostic(() => {\n        if (!node.isDeclarationFile && (compilerOptions.noUnusedLocals || compilerOptions.noUnusedParameters)) {\n          checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(node), (containingNode, kind, diag2) => {\n            if (!containsParseError(containingNode) && unusedIsError(kind, !!(containingNode.flags & 16777216 /* Ambient */))) {\n              diagnostics.add(diag2);\n            }\n          });\n        }\n        if (!node.isDeclarationFile) {\n          checkPotentialUncheckedRenamedBindingElementsInTypes();\n        }\n      });\n      if (compilerOptions.importsNotUsedAsValues === 2 /* Error */ && !node.isDeclarationFile && isExternalModule(node)) {\n        checkImportsForTypeOnlyConversion(node);\n      }\n      if (isExternalOrCommonJsModule(node)) {\n        checkExternalModuleExports(node);\n      }\n      if (potentialThisCollisions.length) {\n        forEach(potentialThisCollisions, checkIfThisIsCapturedInEnclosingScope);\n        clear(potentialThisCollisions);\n      }\n      if (potentialNewTargetCollisions.length) {\n        forEach(potentialNewTargetCollisions, checkIfNewTargetIsCapturedInEnclosingScope);\n        clear(potentialNewTargetCollisions);\n      }\n      if (potentialWeakMapSetCollisions.length) {\n        forEach(potentialWeakMapSetCollisions, checkWeakMapSetCollision);\n        clear(potentialWeakMapSetCollisions);\n      }\n      if (potentialReflectCollisions.length) {\n        forEach(potentialReflectCollisions, checkReflectCollision);\n        clear(potentialReflectCollisions);\n      }\n      checkedSourceFiles.add(node);\n      links.flags |= 1 /* TypeChecked */;\n    }\n  }\n  function getDiagnostics2(sourceFile, ct) {\n    try {\n      cancellationToken = ct;\n      return getDiagnosticsWorker(sourceFile);\n    } finally {\n      cancellationToken = void 0;\n    }\n  }\n  function ensurePendingDiagnosticWorkComplete() {\n    for (const cb of deferredDiagnosticsCallbacks) {\n      cb();\n    }\n    deferredDiagnosticsCallbacks = [];\n  }\n  function checkSourceFileWithEagerDiagnostics(sourceFile) {\n    ensurePendingDiagnosticWorkComplete();\n    const oldAddLazyDiagnostics = addLazyDiagnostic;\n    addLazyDiagnostic = (cb) => cb();\n    checkSourceFile(sourceFile);\n    addLazyDiagnostic = oldAddLazyDiagnostics;\n  }\n  function getDiagnosticsWorker(sourceFile) {\n    if (sourceFile) {\n      ensurePendingDiagnosticWorkComplete();\n      const previousGlobalDiagnostics = diagnostics.getGlobalDiagnostics();\n      const previousGlobalDiagnosticsSize = previousGlobalDiagnostics.length;\n      checkSourceFileWithEagerDiagnostics(sourceFile);\n      const semanticDiagnostics = diagnostics.getDiagnostics(sourceFile.fileName);\n      const currentGlobalDiagnostics = diagnostics.getGlobalDiagnostics();\n      if (currentGlobalDiagnostics !== previousGlobalDiagnostics) {\n        const deferredGlobalDiagnostics = relativeComplement(previousGlobalDiagnostics, currentGlobalDiagnostics, compareDiagnostics);\n        return concatenate(deferredGlobalDiagnostics, semanticDiagnostics);\n      } else if (previousGlobalDiagnosticsSize === 0 && currentGlobalDiagnostics.length > 0) {\n        return concatenate(currentGlobalDiagnostics, semanticDiagnostics);\n      }\n      return semanticDiagnostics;\n    }\n    forEach(host.getSourceFiles(), checkSourceFileWithEagerDiagnostics);\n    return diagnostics.getDiagnostics();\n  }\n  function getGlobalDiagnostics() {\n    ensurePendingDiagnosticWorkComplete();\n    return diagnostics.getGlobalDiagnostics();\n  }\n  function getSymbolsInScope(location, meaning) {\n    if (location.flags & 33554432 /* InWithStatement */) {\n      return [];\n    }\n    const symbols = createSymbolTable();\n    let isStaticSymbol = false;\n    populateSymbols();\n    symbols.delete(\"this\" /* This */);\n    return symbolsToArray(symbols);\n    function populateSymbols() {\n      while (location) {\n        if (location.locals && !isGlobalSourceFile(location)) {\n          copySymbols(location.locals, meaning);\n        }\n        switch (location.kind) {\n          case 314 /* SourceFile */:\n            if (!isExternalModule(location))\n              break;\n          case 270 /* ModuleDeclaration */:\n            copyLocallyVisibleExportSymbols(getSymbolOfNode(location).exports, meaning & 2623475 /* ModuleMember */);\n            break;\n          case 269 /* EnumDeclaration */:\n            copySymbols(getSymbolOfNode(location).exports, meaning & 8 /* EnumMember */);\n            break;\n          case 232 /* ClassExpression */:\n            const className = location.name;\n            if (className) {\n              copySymbol(location.symbol, meaning);\n            }\n          case 264 /* ClassDeclaration */:\n          case 267 /* InterfaceDeclaration */:\n            if (!isStaticSymbol) {\n              copySymbols(getMembersOfSymbol(getSymbolOfNode(location)), meaning & 788968 /* Type */);\n            }\n            break;\n          case 218 /* FunctionExpression */:\n            const funcName = location.name;\n            if (funcName) {\n              copySymbol(location.symbol, meaning);\n            }\n            break;\n        }\n        if (introducesArgumentsExoticObject(location)) {\n          copySymbol(argumentsSymbol, meaning);\n        }\n        isStaticSymbol = isStatic(location);\n        location = location.parent;\n      }\n      copySymbols(globals, meaning);\n    }\n    function copySymbol(symbol, meaning2) {\n      if (getCombinedLocalAndExportSymbolFlags(symbol) & meaning2) {\n        const id = symbol.escapedName;\n        if (!symbols.has(id)) {\n          symbols.set(id, symbol);\n        }\n      }\n    }\n    function copySymbols(source, meaning2) {\n      if (meaning2) {\n        source.forEach((symbol) => {\n          copySymbol(symbol, meaning2);\n        });\n      }\n    }\n    function copyLocallyVisibleExportSymbols(source, meaning2) {\n      if (meaning2) {\n        source.forEach((symbol) => {\n          if (!getDeclarationOfKind(symbol, 284 /* ExportSpecifier */) && !getDeclarationOfKind(symbol, 283 /* NamespaceExport */)) {\n            copySymbol(symbol, meaning2);\n          }\n        });\n      }\n    }\n  }\n  function isTypeDeclarationName(name) {\n    return name.kind === 79 /* Identifier */ && isTypeDeclaration(name.parent) && getNameOfDeclaration(name.parent) === name;\n  }\n  function isTypeReferenceIdentifier(node) {\n    while (node.parent.kind === 165 /* QualifiedName */) {\n      node = node.parent;\n    }\n    return node.parent.kind === 183 /* TypeReference */;\n  }\n  function isHeritageClauseElementIdentifier(node) {\n    while (node.parent.kind === 211 /* PropertyAccessExpression */) {\n      node = node.parent;\n    }\n    return node.parent.kind === 234 /* ExpressionWithTypeArguments */;\n  }\n  function forEachEnclosingClass(node, callback) {\n    let result;\n    while (true) {\n      node = getContainingClass(node);\n      if (!node)\n        break;\n      if (result = callback(node))\n        break;\n    }\n    return result;\n  }\n  function isNodeUsedDuringClassInitialization(node) {\n    return !!findAncestor(node, (element) => {\n      if (isConstructorDeclaration(element) && nodeIsPresent(element.body) || isPropertyDeclaration(element)) {\n        return true;\n      } else if (isClassLike(element) || isFunctionLikeDeclaration(element)) {\n        return \"quit\";\n      }\n      return false;\n    });\n  }\n  function isNodeWithinClass(node, classDeclaration) {\n    return !!forEachEnclosingClass(node, (n) => n === classDeclaration);\n  }\n  function getLeftSideOfImportEqualsOrExportAssignment(nodeOnRightSide) {\n    while (nodeOnRightSide.parent.kind === 165 /* QualifiedName */) {\n      nodeOnRightSide = nodeOnRightSide.parent;\n    }\n    if (nodeOnRightSide.parent.kind === 274 /* ImportEqualsDeclaration */) {\n      return nodeOnRightSide.parent.moduleReference === nodeOnRightSide ? nodeOnRightSide.parent : void 0;\n    }\n    if (nodeOnRightSide.parent.kind === 280 /* ExportAssignment */) {\n      return nodeOnRightSide.parent.expression === nodeOnRightSide ? nodeOnRightSide.parent : void 0;\n    }\n    return void 0;\n  }\n  function isInRightSideOfImportOrExportAssignment(node) {\n    return getLeftSideOfImportEqualsOrExportAssignment(node) !== void 0;\n  }\n  function getSpecialPropertyAssignmentSymbolFromEntityName(entityName) {\n    const specialPropertyAssignmentKind = getAssignmentDeclarationKind(entityName.parent.parent);\n    switch (specialPropertyAssignmentKind) {\n      case 1 /* ExportsProperty */:\n      case 3 /* PrototypeProperty */:\n        return getSymbolOfNode(entityName.parent);\n      case 4 /* ThisProperty */:\n      case 2 /* ModuleExports */:\n      case 5 /* Property */:\n        return getSymbolOfNode(entityName.parent.parent);\n    }\n  }\n  function isImportTypeQualifierPart(node) {\n    let parent2 = node.parent;\n    while (isQualifiedName(parent2)) {\n      node = parent2;\n      parent2 = parent2.parent;\n    }\n    if (parent2 && parent2.kind === 205 /* ImportType */ && parent2.qualifier === node) {\n      return parent2;\n    }\n    return void 0;\n  }\n  function getSymbolOfNameOrPropertyAccessExpression(name) {\n    if (isDeclarationName(name)) {\n      return getSymbolOfNode(name.parent);\n    }\n    if (isInJSFile(name) && name.parent.kind === 211 /* PropertyAccessExpression */ && name.parent === name.parent.parent.left) {\n      if (!isPrivateIdentifier(name) && !isJSDocMemberName(name)) {\n        const specialPropertyAssignmentSymbol = getSpecialPropertyAssignmentSymbolFromEntityName(name);\n        if (specialPropertyAssignmentSymbol) {\n          return specialPropertyAssignmentSymbol;\n        }\n      }\n    }\n    if (name.parent.kind === 280 /* ExportAssignment */ && isEntityNameExpression(name)) {\n      const success = resolveEntityName(\n        name,\n        111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */,\n        true\n      );\n      if (success && success !== unknownSymbol) {\n        return success;\n      }\n    } else if (isEntityName(name) && isInRightSideOfImportOrExportAssignment(name)) {\n      const importEqualsDeclaration = getAncestor(name, 274 /* ImportEqualsDeclaration */);\n      Debug.assert(importEqualsDeclaration !== void 0);\n      return getSymbolOfPartOfRightHandSideOfImportEquals(name, true);\n    }\n    if (isEntityName(name)) {\n      const possibleImportNode = isImportTypeQualifierPart(name);\n      if (possibleImportNode) {\n        getTypeFromTypeNode(possibleImportNode);\n        const sym = getNodeLinks(name).resolvedSymbol;\n        return sym === unknownSymbol ? void 0 : sym;\n      }\n    }\n    while (isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(name)) {\n      name = name.parent;\n    }\n    if (isHeritageClauseElementIdentifier(name)) {\n      let meaning = 0 /* None */;\n      if (name.parent.kind === 234 /* ExpressionWithTypeArguments */) {\n        meaning = 788968 /* Type */;\n        if (isExpressionWithTypeArgumentsInClassExtendsClause(name.parent)) {\n          meaning |= 111551 /* Value */;\n        }\n      } else {\n        meaning = 1920 /* Namespace */;\n      }\n      meaning |= 2097152 /* Alias */;\n      const entityNameSymbol = isEntityNameExpression(name) ? resolveEntityName(name, meaning) : void 0;\n      if (entityNameSymbol) {\n        return entityNameSymbol;\n      }\n    }\n    if (name.parent.kind === 349 /* JSDocParameterTag */) {\n      return getParameterSymbolFromJSDoc(name.parent);\n    }\n    if (name.parent.kind === 167 /* TypeParameter */ && name.parent.parent.kind === 353 /* JSDocTemplateTag */) {\n      Debug.assert(!isInJSFile(name));\n      const typeParameter = getTypeParameterFromJsDoc(name.parent);\n      return typeParameter && typeParameter.symbol;\n    }\n    if (isExpressionNode(name)) {\n      if (nodeIsMissing(name)) {\n        return void 0;\n      }\n      const isJSDoc2 = findAncestor(name, or(isJSDocLinkLike, isJSDocNameReference, isJSDocMemberName));\n      const meaning = isJSDoc2 ? 788968 /* Type */ | 1920 /* Namespace */ | 111551 /* Value */ : 111551 /* Value */;\n      if (name.kind === 79 /* Identifier */) {\n        if (isJSXTagName(name) && isJsxIntrinsicIdentifier(name)) {\n          const symbol = getIntrinsicTagSymbol(name.parent);\n          return symbol === unknownSymbol ? void 0 : symbol;\n        }\n        const result = resolveEntityName(name, meaning, true, true, getHostSignatureFromJSDoc(name));\n        if (!result && isJSDoc2) {\n          const container = findAncestor(name, or(isClassLike, isInterfaceDeclaration));\n          if (container) {\n            return resolveJSDocMemberName(name, true, getSymbolOfNode(container));\n          }\n        }\n        if (result && isJSDoc2) {\n          const container = getJSDocHost(name);\n          if (container && isEnumMember(container) && container === result.valueDeclaration) {\n            return resolveEntityName(name, meaning, true, true, getSourceFileOfNode(container)) || result;\n          }\n        }\n        return result;\n      } else if (isPrivateIdentifier(name)) {\n        return getSymbolForPrivateIdentifierExpression(name);\n      } else if (name.kind === 211 /* PropertyAccessExpression */ || name.kind === 165 /* QualifiedName */) {\n        const links = getNodeLinks(name);\n        if (links.resolvedSymbol) {\n          return links.resolvedSymbol;\n        }\n        if (name.kind === 211 /* PropertyAccessExpression */) {\n          checkPropertyAccessExpression(name, 0 /* Normal */);\n          if (!links.resolvedSymbol) {\n            const expressionType = checkExpressionCached(name.expression);\n            const infos = getApplicableIndexInfos(expressionType, getLiteralTypeFromPropertyName(name.name));\n            if (infos.length && expressionType.members) {\n              const resolved = resolveStructuredTypeMembers(expressionType);\n              const symbol = resolved.members.get(\"__index\" /* Index */);\n              if (infos === getIndexInfosOfType(expressionType)) {\n                links.resolvedSymbol = symbol;\n              } else if (symbol) {\n                const symbolLinks2 = getSymbolLinks(symbol);\n                const declarationList = mapDefined(infos, (i) => i.declaration);\n                const nodeListId = map(declarationList, getNodeId).join(\",\");\n                if (!symbolLinks2.filteredIndexSymbolCache) {\n                  symbolLinks2.filteredIndexSymbolCache = new Map2();\n                }\n                if (symbolLinks2.filteredIndexSymbolCache.has(nodeListId)) {\n                  links.resolvedSymbol = symbolLinks2.filteredIndexSymbolCache.get(nodeListId);\n                } else {\n                  const copy = createSymbol(131072 /* Signature */, \"__index\" /* Index */);\n                  copy.declarations = mapDefined(infos, (i) => i.declaration);\n                  copy.parent = expressionType.aliasSymbol ? expressionType.aliasSymbol : expressionType.symbol ? expressionType.symbol : getSymbolAtLocation(copy.declarations[0].parent);\n                  symbolLinks2.filteredIndexSymbolCache.set(nodeListId, copy);\n                  links.resolvedSymbol = symbolLinks2.filteredIndexSymbolCache.get(nodeListId);\n                }\n              }\n            }\n          }\n        } else {\n          checkQualifiedName(name, 0 /* Normal */);\n        }\n        if (!links.resolvedSymbol && isJSDoc2 && isQualifiedName(name)) {\n          return resolveJSDocMemberName(name);\n        }\n        return links.resolvedSymbol;\n      } else if (isJSDocMemberName(name)) {\n        return resolveJSDocMemberName(name);\n      }\n    } else if (isTypeReferenceIdentifier(name)) {\n      const meaning = name.parent.kind === 183 /* TypeReference */ ? 788968 /* Type */ : 1920 /* Namespace */;\n      const symbol = resolveEntityName(name, meaning, true, true);\n      return symbol && symbol !== unknownSymbol ? symbol : getUnresolvedSymbolForEntityName(name);\n    }\n    if (name.parent.kind === 182 /* TypePredicate */) {\n      return resolveEntityName(name, 1 /* FunctionScopedVariable */, true);\n    }\n    return void 0;\n  }\n  function resolveJSDocMemberName(name, ignoreErrors, container) {\n    if (isEntityName(name)) {\n      const meaning = 788968 /* Type */ | 1920 /* Namespace */ | 111551 /* Value */;\n      let symbol = resolveEntityName(name, meaning, ignoreErrors, true, getHostSignatureFromJSDoc(name));\n      if (!symbol && isIdentifier(name) && container) {\n        symbol = getMergedSymbol(getSymbol2(getExportsOfSymbol(container), name.escapedText, meaning));\n      }\n      if (symbol) {\n        return symbol;\n      }\n    }\n    const left = isIdentifier(name) ? container : resolveJSDocMemberName(name.left, ignoreErrors, container);\n    const right = isIdentifier(name) ? name.escapedText : name.right.escapedText;\n    if (left) {\n      const proto = left.flags & 111551 /* Value */ && getPropertyOfType(getTypeOfSymbol(left), \"prototype\");\n      const t = proto ? getTypeOfSymbol(proto) : getDeclaredTypeOfSymbol(left);\n      return getPropertyOfType(t, right);\n    }\n  }\n  function getSymbolAtLocation(node, ignoreErrors) {\n    if (node.kind === 314 /* SourceFile */) {\n      return isExternalModule(node) ? getMergedSymbol(node.symbol) : void 0;\n    }\n    const { parent: parent2 } = node;\n    const grandParent = parent2.parent;\n    if (node.flags & 33554432 /* InWithStatement */) {\n      return void 0;\n    }\n    if (isDeclarationNameOrImportPropertyName(node)) {\n      const parentSymbol = getSymbolOfNode(parent2);\n      return isImportOrExportSpecifier(node.parent) && node.parent.propertyName === node ? getImmediateAliasedSymbol(parentSymbol) : parentSymbol;\n    } else if (isLiteralComputedPropertyDeclarationName(node)) {\n      return getSymbolOfNode(parent2.parent);\n    }\n    if (node.kind === 79 /* Identifier */) {\n      if (isInRightSideOfImportOrExportAssignment(node)) {\n        return getSymbolOfNameOrPropertyAccessExpression(node);\n      } else if (parent2.kind === 208 /* BindingElement */ && grandParent.kind === 206 /* ObjectBindingPattern */ && node === parent2.propertyName) {\n        const typeOfPattern = getTypeOfNode(grandParent);\n        const propertyDeclaration = getPropertyOfType(typeOfPattern, node.escapedText);\n        if (propertyDeclaration) {\n          return propertyDeclaration;\n        }\n      } else if (isMetaProperty(parent2) && parent2.name === node) {\n        if (parent2.keywordToken === 104 /* NewKeyword */ && idText(node) === \"target\") {\n          return checkNewTargetMetaProperty(parent2).symbol;\n        }\n        if (parent2.keywordToken === 101 /* ImportKeyword */ && idText(node) === \"meta\") {\n          return getGlobalImportMetaExpressionType().members.get(\"meta\");\n        }\n        return void 0;\n      }\n    }\n    switch (node.kind) {\n      case 79 /* Identifier */:\n      case 80 /* PrivateIdentifier */:\n      case 211 /* PropertyAccessExpression */:\n      case 165 /* QualifiedName */:\n        if (!isThisInTypeQuery(node)) {\n          return getSymbolOfNameOrPropertyAccessExpression(node);\n        }\n      case 109 /* ThisKeyword */:\n        const container = getThisContainer(node, false);\n        if (isFunctionLike(container)) {\n          const sig = getSignatureFromDeclaration(container);\n          if (sig.thisParameter) {\n            return sig.thisParameter;\n          }\n        }\n        if (isInExpressionContext(node)) {\n          return checkExpression(node).symbol;\n        }\n      case 197 /* ThisType */:\n        return getTypeFromThisTypeNode(node).symbol;\n      case 107 /* SuperKeyword */:\n        return checkExpression(node).symbol;\n      case 136 /* ConstructorKeyword */:\n        const constructorDeclaration = node.parent;\n        if (constructorDeclaration && constructorDeclaration.kind === 176 /* Constructor */) {\n          return constructorDeclaration.parent.symbol;\n        }\n        return void 0;\n      case 10 /* StringLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n        if (isExternalModuleImportEqualsDeclaration(node.parent.parent) && getExternalModuleImportEqualsDeclarationExpression(node.parent.parent) === node || (node.parent.kind === 275 /* ImportDeclaration */ || node.parent.kind === 281 /* ExportDeclaration */) && node.parent.moduleSpecifier === node || (isInJSFile(node) && isRequireCall(node.parent, false) || isImportCall(node.parent)) || isLiteralTypeNode(node.parent) && isLiteralImportTypeNode(node.parent.parent) && node.parent.parent.argument === node.parent) {\n          return resolveExternalModuleName(node, node, ignoreErrors);\n        }\n        if (isCallExpression(parent2) && isBindableObjectDefinePropertyCall(parent2) && parent2.arguments[1] === node) {\n          return getSymbolOfNode(parent2);\n        }\n      case 8 /* NumericLiteral */:\n        const objectType = isElementAccessExpression(parent2) ? parent2.argumentExpression === node ? getTypeOfExpression(parent2.expression) : void 0 : isLiteralTypeNode(parent2) && isIndexedAccessTypeNode(grandParent) ? getTypeFromTypeNode(grandParent.objectType) : void 0;\n        return objectType && getPropertyOfType(objectType, escapeLeadingUnderscores(node.text));\n      case 89 /* DefaultKeyword */:\n      case 99 /* FunctionKeyword */:\n      case 38 /* EqualsGreaterThanToken */:\n      case 84 /* ClassKeyword */:\n        return getSymbolOfNode(node.parent);\n      case 205 /* ImportType */:\n        return isLiteralImportTypeNode(node) ? getSymbolAtLocation(node.argument.literal, ignoreErrors) : void 0;\n      case 94 /* ExportKeyword */:\n        return isExportAssignment(node.parent) ? Debug.checkDefined(node.parent.symbol) : void 0;\n      case 101 /* ImportKeyword */:\n      case 104 /* NewKeyword */:\n        return isMetaProperty(node.parent) ? checkMetaPropertyKeyword(node.parent).symbol : void 0;\n      case 237 /* MetaProperty */:\n        return checkExpression(node).symbol;\n      default:\n        return void 0;\n    }\n  }\n  function getIndexInfosAtLocation(node) {\n    if (isIdentifier(node) && isPropertyAccessExpression(node.parent) && node.parent.name === node) {\n      const keyType = getLiteralTypeFromPropertyName(node);\n      const objectType = getTypeOfExpression(node.parent.expression);\n      const objectTypes = objectType.flags & 1048576 /* Union */ ? objectType.types : [objectType];\n      return flatMap(objectTypes, (t) => filter(getIndexInfosOfType(t), (info) => isApplicableIndexType(keyType, info.keyType)));\n    }\n    return void 0;\n  }\n  function getShorthandAssignmentValueSymbol(location) {\n    if (location && location.kind === 306 /* ShorthandPropertyAssignment */) {\n      return resolveEntityName(location.name, 111551 /* Value */ | 2097152 /* Alias */, true);\n    }\n    return void 0;\n  }\n  function getExportSpecifierLocalTargetSymbol(node) {\n    if (isExportSpecifier(node)) {\n      return node.parent.parent.moduleSpecifier ? getExternalModuleMember(node.parent.parent, node) : resolveEntityName(node.propertyName || node.name, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, true);\n    } else {\n      return resolveEntityName(node, 111551 /* Value */ | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */, true);\n    }\n  }\n  function getTypeOfNode(node, isForLinter = false) {\n    if (isSourceFile(node) && (!isExternalModule(node) || isForLinter)) {\n      return errorType;\n    }\n    if (node.flags & 33554432 /* InWithStatement */) {\n      return errorType;\n    }\n    const classDecl = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node);\n    const classType = classDecl && getDeclaredTypeOfClassOrInterface(getSymbolOfNode(classDecl.class));\n    if (isPartOfTypeNode(node)) {\n      const typeFromTypeNode = getTypeFromTypeNode(node);\n      return classType ? getTypeWithThisArgument(typeFromTypeNode, classType.thisType) : typeFromTypeNode;\n    }\n    if (isExpressionNode(node)) {\n      return getRegularTypeOfExpression(node);\n    }\n    if (classType && !classDecl.isImplements) {\n      const baseType = firstOrUndefined(getBaseTypes(classType));\n      return baseType ? getTypeWithThisArgument(baseType, classType.thisType) : errorType;\n    }\n    if (isTypeDeclaration(node)) {\n      const symbol = getSymbolOfNode(node);\n      return getDeclaredTypeOfSymbol(symbol);\n    }\n    if (isTypeDeclarationName(node)) {\n      const symbol = getSymbolAtLocation(node);\n      return symbol ? getDeclaredTypeOfSymbol(symbol) : errorType;\n    }\n    if (isDeclaration(node)) {\n      const symbol = getSymbolOfNode(node);\n      return symbol ? getTypeOfSymbol(symbol) : errorType;\n    }\n    if (isDeclarationNameOrImportPropertyName(node)) {\n      const symbol = getSymbolAtLocation(node);\n      if (symbol) {\n        return getTypeOfSymbol(symbol);\n      }\n      return errorType;\n    }\n    if (isBindingPattern(node)) {\n      return getTypeForVariableLikeDeclaration(node.parent, true, 0 /* Normal */) || errorType;\n    }\n    if (isInRightSideOfImportOrExportAssignment(node)) {\n      const symbol = getSymbolAtLocation(node);\n      if (symbol) {\n        const declaredType = getDeclaredTypeOfSymbol(symbol);\n        return !isErrorType(declaredType) ? declaredType : getTypeOfSymbol(symbol);\n      }\n    }\n    if (isMetaProperty(node.parent) && node.parent.keywordToken === node.kind) {\n      return checkMetaPropertyKeyword(node.parent);\n    }\n    return errorType;\n  }\n  function tryGetTypeOfNodeWithoutCheck(node) {\n    if (isSourceFile(node) && !isExternalModule(node)) {\n      return errorType;\n    }\n    if (node.flags & 33554432 /* InWithStatement */) {\n      return errorType;\n    }\n    const classDecl = tryGetClassImplementingOrExtendingExpressionWithTypeArguments(node);\n    const classType = classDecl && getDeclaredTypeOfClassOrInterface(getSymbolOfNode(classDecl.class));\n    if (isPartOfTypeNode(node)) {\n      const typeFromTypeNode = getTypeFromTypeNode(node);\n      return classType ? getTypeWithThisArgument(typeFromTypeNode, classType.thisType) : typeFromTypeNode;\n    }\n    if (isExpressionNode(node)) {\n      return getRegularTypeOfExpression(node, 128 /* SkipEtsComponentBody */);\n    }\n    return getTypeOfNode(node);\n  }\n  function getTypeOfAssignmentPattern(expr) {\n    Debug.assert(expr.kind === 210 /* ObjectLiteralExpression */ || expr.kind === 209 /* ArrayLiteralExpression */);\n    if (expr.parent.kind === 251 /* ForOfStatement */) {\n      const iteratedType = checkRightHandSideOfForOf(expr.parent);\n      return checkDestructuringAssignment(expr, iteratedType || errorType);\n    }\n    if (expr.parent.kind === 227 /* BinaryExpression */) {\n      const iteratedType = getTypeOfExpression(expr.parent.right);\n      return checkDestructuringAssignment(expr, iteratedType || errorType);\n    }\n    if (expr.parent.kind === 305 /* PropertyAssignment */) {\n      const node2 = cast(expr.parent.parent, isObjectLiteralExpression);\n      const typeOfParentObjectLiteral = getTypeOfAssignmentPattern(node2) || errorType;\n      const propertyIndex = indexOfNode(node2.properties, expr.parent);\n      return checkObjectLiteralDestructuringPropertyAssignment(node2, typeOfParentObjectLiteral, propertyIndex);\n    }\n    const node = cast(expr.parent, isArrayLiteralExpression);\n    const typeOfArrayLiteral = getTypeOfAssignmentPattern(node) || errorType;\n    const elementType = checkIteratedTypeOrElementType(65 /* Destructuring */, typeOfArrayLiteral, undefinedType, expr.parent) || errorType;\n    return checkArrayLiteralDestructuringElementAssignment(node, typeOfArrayLiteral, node.elements.indexOf(expr), elementType);\n  }\n  function getPropertySymbolOfDestructuringAssignment(location) {\n    const typeOfObjectLiteral = getTypeOfAssignmentPattern(cast(location.parent.parent, isAssignmentPattern));\n    return typeOfObjectLiteral && getPropertyOfType(typeOfObjectLiteral, location.escapedText);\n  }\n  function getRegularTypeOfExpression(expr, checkMode) {\n    if (isRightSideOfQualifiedNameOrPropertyAccess(expr)) {\n      expr = expr.parent;\n    }\n    return getRegularTypeOfLiteralType(getTypeOfExpression(expr, checkMode));\n  }\n  function getParentTypeOfClassElement(node) {\n    const classSymbol = getSymbolOfNode(node.parent);\n    return isStatic(node) ? getTypeOfSymbol(classSymbol) : getDeclaredTypeOfSymbol(classSymbol);\n  }\n  function getClassElementPropertyKeyType(element) {\n    const name = element.name;\n    switch (name.kind) {\n      case 79 /* Identifier */:\n        return getStringLiteralType(idText(name));\n      case 8 /* NumericLiteral */:\n      case 10 /* StringLiteral */:\n        return getStringLiteralType(name.text);\n      case 166 /* ComputedPropertyName */:\n        const nameType = checkComputedPropertyName(name);\n        return isTypeAssignableToKind(nameType, 12288 /* ESSymbolLike */) ? nameType : stringType;\n      default:\n        return Debug.fail(\"Unsupported property name.\");\n    }\n  }\n  function getAugmentedPropertiesOfType(type) {\n    type = getApparentType(type);\n    const propsByName = createSymbolTable(getPropertiesOfType(type));\n    const functionType = getSignaturesOfType(type, 0 /* Call */).length ? globalCallableFunctionType : getSignaturesOfType(type, 1 /* Construct */).length ? globalNewableFunctionType : void 0;\n    if (functionType) {\n      forEach(getPropertiesOfType(functionType), (p) => {\n        if (!propsByName.has(p.escapedName)) {\n          propsByName.set(p.escapedName, p);\n        }\n      });\n    }\n    return getNamedMembers(propsByName);\n  }\n  function typeHasCallOrConstructSignatures2(type) {\n    return typeHasCallOrConstructSignatures(type, checker);\n  }\n  function getRootSymbols(symbol) {\n    const roots = getImmediateRootSymbols(symbol);\n    return roots ? flatMap(roots, getRootSymbols) : [symbol];\n  }\n  function getImmediateRootSymbols(symbol) {\n    if (getCheckFlags(symbol) & 6 /* Synthetic */) {\n      return mapDefined(getSymbolLinks(symbol).containingType.types, (type) => getPropertyOfType(type, symbol.escapedName));\n    } else if (symbol.flags & 33554432 /* Transient */) {\n      const { leftSpread, rightSpread, syntheticOrigin } = symbol;\n      return leftSpread ? [leftSpread, rightSpread] : syntheticOrigin ? [syntheticOrigin] : singleElementArray(tryGetTarget(symbol));\n    }\n    return void 0;\n  }\n  function tryGetTarget(symbol) {\n    let target;\n    let next = symbol;\n    while (next = getSymbolLinks(next).target) {\n      target = next;\n    }\n    return target;\n  }\n  function isArgumentsLocalBinding(nodeIn) {\n    if (isGeneratedIdentifier(nodeIn))\n      return false;\n    const node = getParseTreeNode(nodeIn, isIdentifier);\n    if (!node)\n      return false;\n    const parent2 = node.parent;\n    if (!parent2)\n      return false;\n    const isPropertyName2 = (isPropertyAccessExpression(parent2) || isPropertyAssignment(parent2)) && parent2.name === node;\n    return !isPropertyName2 && getReferencedValueSymbol(node) === argumentsSymbol;\n  }\n  function moduleExportsSomeValue(moduleReferenceExpression) {\n    let moduleSymbol = resolveExternalModuleName(moduleReferenceExpression.parent, moduleReferenceExpression);\n    if (!moduleSymbol || isShorthandAmbientModuleSymbol(moduleSymbol)) {\n      return true;\n    }\n    const hasExportAssignment = hasExportAssignmentSymbol(moduleSymbol);\n    moduleSymbol = resolveExternalModuleSymbol(moduleSymbol);\n    const symbolLinks2 = getSymbolLinks(moduleSymbol);\n    if (symbolLinks2.exportsSomeValue === void 0) {\n      symbolLinks2.exportsSomeValue = hasExportAssignment ? !!(moduleSymbol.flags & 111551 /* Value */) : forEachEntry(getExportsOfModule(moduleSymbol), isValue);\n    }\n    return symbolLinks2.exportsSomeValue;\n    function isValue(s) {\n      s = resolveSymbol(s);\n      return s && !!(getAllSymbolFlags(s) & 111551 /* Value */);\n    }\n  }\n  function isNameOfModuleOrEnumDeclaration(node) {\n    return isModuleOrEnumDeclaration(node.parent) && node === node.parent.name;\n  }\n  function getReferencedExportContainer(nodeIn, prefixLocals) {\n    var _a2;\n    const node = getParseTreeNode(nodeIn, isIdentifier);\n    if (node) {\n      let symbol = getReferencedValueSymbol(node, isNameOfModuleOrEnumDeclaration(node));\n      if (symbol) {\n        if (symbol.flags & 1048576 /* ExportValue */) {\n          const exportSymbol = getMergedSymbol(symbol.exportSymbol);\n          if (!prefixLocals && exportSymbol.flags & 944 /* ExportHasLocal */ && !(exportSymbol.flags & 3 /* Variable */)) {\n            return void 0;\n          }\n          symbol = exportSymbol;\n        }\n        const parentSymbol = getParentOfSymbol(symbol);\n        if (parentSymbol) {\n          if (parentSymbol.flags & 512 /* ValueModule */ && ((_a2 = parentSymbol.valueDeclaration) == null ? void 0 : _a2.kind) === 314 /* SourceFile */) {\n            const symbolFile = parentSymbol.valueDeclaration;\n            const referenceFile = getSourceFileOfNode(node);\n            const symbolIsUmdExport = symbolFile !== referenceFile;\n            return symbolIsUmdExport ? void 0 : symbolFile;\n          }\n          return findAncestor(node.parent, (n) => isModuleOrEnumDeclaration(n) && getSymbolOfNode(n) === parentSymbol);\n        }\n      }\n    }\n  }\n  function getReferencedImportDeclaration(nodeIn) {\n    if (nodeIn.generatedImportReference) {\n      return nodeIn.generatedImportReference;\n    }\n    const node = getParseTreeNode(nodeIn, isIdentifier);\n    if (node) {\n      const symbol = getReferencedValueOrAliasSymbol(node);\n      if (isNonLocalAlias(symbol, 111551 /* Value */) && !getTypeOnlyAliasDeclaration(symbol, 111551 /* Value */)) {\n        return getDeclarationOfAliasSymbol(symbol);\n      }\n    }\n    return void 0;\n  }\n  function isSymbolOfDestructuredElementOfCatchBinding(symbol) {\n    return symbol.valueDeclaration && isBindingElement(symbol.valueDeclaration) && walkUpBindingElementsAndPatterns(symbol.valueDeclaration).parent.kind === 301 /* CatchClause */;\n  }\n  function isSymbolOfDeclarationWithCollidingName(symbol) {\n    if (symbol.flags & 418 /* BlockScoped */ && symbol.valueDeclaration && !isSourceFile(symbol.valueDeclaration)) {\n      const links = getSymbolLinks(symbol);\n      if (links.isDeclarationWithCollidingName === void 0) {\n        const container = getEnclosingBlockScopeContainer(symbol.valueDeclaration);\n        if (isStatementWithLocals(container) || isSymbolOfDestructuredElementOfCatchBinding(symbol)) {\n          const nodeLinks2 = getNodeLinks(symbol.valueDeclaration);\n          if (resolveName(container.parent, symbol.escapedName, 111551 /* Value */, void 0, void 0, false)) {\n            links.isDeclarationWithCollidingName = true;\n          } else if (nodeLinks2.flags & 262144 /* CapturedBlockScopedBinding */) {\n            const isDeclaredInLoop = nodeLinks2.flags & 524288 /* BlockScopedBindingInLoop */;\n            const inLoopInitializer = isIterationStatement(container, false);\n            const inLoopBodyBlock = container.kind === 242 /* Block */ && isIterationStatement(container.parent, false);\n            links.isDeclarationWithCollidingName = !isBlockScopedContainerTopLevel(container) && (!isDeclaredInLoop || !inLoopInitializer && !inLoopBodyBlock);\n          } else {\n            links.isDeclarationWithCollidingName = false;\n          }\n        }\n      }\n      return links.isDeclarationWithCollidingName;\n    }\n    return false;\n  }\n  function getReferencedDeclarationWithCollidingName(nodeIn) {\n    if (!isGeneratedIdentifier(nodeIn)) {\n      const node = getParseTreeNode(nodeIn, isIdentifier);\n      if (node) {\n        const symbol = getReferencedValueSymbol(node);\n        if (symbol && isSymbolOfDeclarationWithCollidingName(symbol)) {\n          return symbol.valueDeclaration;\n        }\n      }\n    }\n    return void 0;\n  }\n  function isDeclarationWithCollidingName(nodeIn) {\n    const node = getParseTreeNode(nodeIn, isDeclaration);\n    if (node) {\n      const symbol = getSymbolOfNode(node);\n      if (symbol) {\n        return isSymbolOfDeclarationWithCollidingName(symbol);\n      }\n    }\n    return false;\n  }\n  function isValueAliasDeclaration(node) {\n    switch (node.kind) {\n      case 274 /* ImportEqualsDeclaration */:\n        return isAliasResolvedToValue(getSymbolOfNode(node));\n      case 276 /* ImportClause */:\n      case 277 /* NamespaceImport */:\n      case 279 /* ImportSpecifier */:\n      case 284 /* ExportSpecifier */:\n        const symbol = getSymbolOfNode(node);\n        return !!symbol && isAliasResolvedToValue(symbol) && !getTypeOnlyAliasDeclaration(symbol, 111551 /* Value */);\n      case 281 /* ExportDeclaration */:\n        const exportClause = node.exportClause;\n        return !!exportClause && (isNamespaceExport(exportClause) || some(exportClause.elements, isValueAliasDeclaration));\n      case 280 /* ExportAssignment */:\n        return node.expression && node.expression.kind === 79 /* Identifier */ ? isAliasResolvedToValue(getSymbolOfNode(node)) : true;\n    }\n    return false;\n  }\n  function isTopLevelValueImportEqualsWithEntityName(nodeIn) {\n    const node = getParseTreeNode(nodeIn, isImportEqualsDeclaration);\n    if (node === void 0 || node.parent.kind !== 314 /* SourceFile */ || !isInternalModuleImportEqualsDeclaration(node)) {\n      return false;\n    }\n    const isValue = isAliasResolvedToValue(getSymbolOfNode(node));\n    return isValue && node.moduleReference && !nodeIsMissing(node.moduleReference);\n  }\n  function isAliasResolvedToValue(symbol) {\n    var _a2;\n    if (!symbol) {\n      return false;\n    }\n    const target = getExportSymbolOfValueSymbolIfExported(resolveAlias(symbol));\n    if (target === unknownSymbol) {\n      return true;\n    }\n    return !!(((_a2 = getAllSymbolFlags(target)) != null ? _a2 : -1) & 111551 /* Value */) && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target));\n  }\n  function isConstEnumOrConstEnumOnlyModule(s) {\n    return isConstEnumSymbol(s) || !!s.constEnumOnlyModule;\n  }\n  function isReferencedAliasDeclaration(node, checkChildren) {\n    if (isAliasSymbolDeclaration2(node)) {\n      const symbol = getSymbolOfNode(node);\n      const links = symbol && getSymbolLinks(symbol);\n      if (links == null ? void 0 : links.referenced) {\n        return true;\n      }\n      const target = getSymbolLinks(symbol).aliasTarget;\n      if (target && getEffectiveModifierFlags(node) & 1 /* Export */ && getAllSymbolFlags(target) & 111551 /* Value */ && (shouldPreserveConstEnums(compilerOptions) || !isConstEnumOrConstEnumOnlyModule(target))) {\n        return true;\n      }\n    }\n    if (checkChildren) {\n      return !!forEachChild(node, (node2) => isReferencedAliasDeclaration(node2, checkChildren));\n    }\n    return false;\n  }\n  function isReferenced(node) {\n    const symbol = getSymbolOfNode(node);\n    return !!(symbol == null ? void 0 : symbol.isReferenced);\n  }\n  function isImplementationOfOverload(node) {\n    if (nodeIsPresent(node.body)) {\n      if (isGetAccessor(node) || isSetAccessor(node))\n        return false;\n      const symbol = getSymbolOfNode(node);\n      const signaturesOfSymbol = getSignaturesOfSymbol(symbol);\n      return signaturesOfSymbol.length > 1 || signaturesOfSymbol.length === 1 && signaturesOfSymbol[0].declaration !== node;\n    }\n    return false;\n  }\n  function declaredParameterTypeContainsUndefined(parameter) {\n    const typeNode = getNonlocalEffectiveTypeAnnotationNode(parameter);\n    if (!typeNode)\n      return false;\n    const type = getTypeFromTypeNode(typeNode);\n    return containsUndefinedType(type);\n  }\n  function requiresAddingImplicitUndefined(parameter) {\n    return (isRequiredInitializedParameter(parameter) || isOptionalUninitializedParameterProperty(parameter)) && !declaredParameterTypeContainsUndefined(parameter);\n  }\n  function isRequiredInitializedParameter(parameter) {\n    return !!strictNullChecks && !isOptionalParameter(parameter) && !isJSDocParameterTag(parameter) && !!parameter.initializer && !hasSyntacticModifier(parameter, 16476 /* ParameterPropertyModifier */);\n  }\n  function isOptionalUninitializedParameterProperty(parameter) {\n    return strictNullChecks && isOptionalParameter(parameter) && (isJSDocParameterTag(parameter) || !parameter.initializer) && hasSyntacticModifier(parameter, 16476 /* ParameterPropertyModifier */);\n  }\n  function isExpandoFunctionDeclaration(node) {\n    const declaration = getParseTreeNode(node, isFunctionDeclaration);\n    if (!declaration) {\n      return false;\n    }\n    const symbol = getSymbolOfNode(declaration);\n    if (!symbol || !(symbol.flags & 16 /* Function */)) {\n      return false;\n    }\n    return !!forEachEntry(getExportsOfSymbol(symbol), (p) => p.flags & 111551 /* Value */ && p.valueDeclaration && isPropertyAccessExpression(p.valueDeclaration));\n  }\n  function getPropertiesOfContainerFunction(node) {\n    const declaration = getParseTreeNode(node, isFunctionDeclaration);\n    if (!declaration) {\n      return emptyArray;\n    }\n    const symbol = getSymbolOfNode(declaration);\n    return symbol && getPropertiesOfType(getTypeOfSymbol(symbol)) || emptyArray;\n  }\n  function getNodeCheckFlags(node) {\n    var _a2;\n    const nodeId = node.id || 0;\n    if (nodeId < 0 || nodeId >= nodeLinks.length)\n      return 0;\n    return ((_a2 = nodeLinks[nodeId]) == null ? void 0 : _a2.flags) || 0;\n  }\n  function getEnumMemberValue(node) {\n    computeEnumMemberValues(node.parent);\n    return getNodeLinks(node).enumMemberValue;\n  }\n  function canHaveConstantValue(node) {\n    switch (node.kind) {\n      case 308 /* EnumMember */:\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        return true;\n    }\n    return false;\n  }\n  function getConstantValue2(node) {\n    if (node.kind === 308 /* EnumMember */) {\n      return getEnumMemberValue(node);\n    }\n    const symbol = getNodeLinks(node).resolvedSymbol;\n    if (symbol && symbol.flags & 8 /* EnumMember */) {\n      const member = symbol.valueDeclaration;\n      if (isEnumConst(member.parent)) {\n        return getEnumMemberValue(member);\n      }\n    }\n    return void 0;\n  }\n  function isFunctionType(type) {\n    return !!(type.flags & 524288 /* Object */) && getSignaturesOfType(type, 0 /* Call */).length > 0;\n  }\n  function getTypeReferenceSerializationKind(typeNameIn, location) {\n    var _a2, _b;\n    const typeName = getParseTreeNode(typeNameIn, isEntityName);\n    if (!typeName)\n      return 0 /* Unknown */;\n    if (location) {\n      location = getParseTreeNode(location);\n      if (!location)\n        return 0 /* Unknown */;\n    }\n    let isTypeOnly = false;\n    if (isQualifiedName(typeName)) {\n      const rootValueSymbol = resolveEntityName(getFirstIdentifier(typeName), 111551 /* Value */, true, true, location);\n      isTypeOnly = !!((_a2 = rootValueSymbol == null ? void 0 : rootValueSymbol.declarations) == null ? void 0 : _a2.every(isTypeOnlyImportOrExportDeclaration));\n    }\n    const valueSymbol = resolveEntityName(typeName, 111551 /* Value */, true, true, location);\n    const resolvedSymbol = valueSymbol && valueSymbol.flags & 2097152 /* Alias */ ? resolveAlias(valueSymbol) : valueSymbol;\n    isTypeOnly || (isTypeOnly = !!((_b = valueSymbol == null ? void 0 : valueSymbol.declarations) == null ? void 0 : _b.every(isTypeOnlyImportOrExportDeclaration)));\n    const typeSymbol = resolveEntityName(typeName, 788968 /* Type */, true, false, location);\n    if (resolvedSymbol && resolvedSymbol === typeSymbol) {\n      const globalPromiseSymbol = getGlobalPromiseConstructorSymbol(false);\n      if (globalPromiseSymbol && resolvedSymbol === globalPromiseSymbol) {\n        return 9 /* Promise */;\n      }\n      const constructorType = getTypeOfSymbol(resolvedSymbol);\n      if (constructorType && isConstructorType(constructorType)) {\n        return isTypeOnly ? 10 /* TypeWithCallSignature */ : 1 /* TypeWithConstructSignatureAndValue */;\n      }\n    }\n    if (!typeSymbol) {\n      return isTypeOnly ? 11 /* ObjectType */ : 0 /* Unknown */;\n    }\n    const type = getDeclaredTypeOfSymbol(typeSymbol);\n    if (isErrorType(type)) {\n      return isTypeOnly ? 11 /* ObjectType */ : 0 /* Unknown */;\n    } else if (type.flags & 3 /* AnyOrUnknown */) {\n      return 11 /* ObjectType */;\n    } else if (isTypeAssignableToKind(type, 16384 /* Void */ | 98304 /* Nullable */ | 131072 /* Never */)) {\n      return 2 /* VoidNullableOrNeverType */;\n    } else if (isTypeAssignableToKind(type, 528 /* BooleanLike */)) {\n      return 6 /* BooleanType */;\n    } else if (isTypeAssignableToKind(type, 296 /* NumberLike */)) {\n      return 3 /* NumberLikeType */;\n    } else if (isTypeAssignableToKind(type, 2112 /* BigIntLike */)) {\n      return 4 /* BigIntLikeType */;\n    } else if (isTypeAssignableToKind(type, 402653316 /* StringLike */)) {\n      return 5 /* StringLikeType */;\n    } else if (isTupleType(type)) {\n      return 7 /* ArrayLikeType */;\n    } else if (isTypeAssignableToKind(type, 12288 /* ESSymbolLike */)) {\n      return 8 /* ESSymbolType */;\n    } else if (isFunctionType(type)) {\n      return 10 /* TypeWithCallSignature */;\n    } else if (isArrayType(type)) {\n      return 7 /* ArrayLikeType */;\n    } else {\n      return 11 /* ObjectType */;\n    }\n  }\n  function createTypeOfDeclaration(declarationIn, enclosingDeclaration, flags, tracker, addUndefined) {\n    const declaration = getParseTreeNode(declarationIn, isVariableLikeOrAccessor);\n    if (!declaration) {\n      return factory.createToken(132 /* AnyKeyword */);\n    }\n    const symbol = getSymbolOfNode(declaration);\n    let type = symbol && !(symbol.flags & (2048 /* TypeLiteral */ | 131072 /* Signature */)) ? getWidenedLiteralType(getTypeOfSymbol(symbol)) : errorType;\n    if (type.flags & 8192 /* UniqueESSymbol */ && type.symbol === symbol) {\n      flags |= 1048576 /* AllowUniqueESSymbolType */;\n    }\n    if (addUndefined) {\n      type = getOptionalType(type);\n    }\n    return nodeBuilder.typeToTypeNode(type, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, tracker);\n  }\n  function getAllAccessorDeclarationsForDeclaration(accessor) {\n    accessor = getParseTreeNode(accessor, isGetOrSetAccessorDeclaration);\n    const otherKind = accessor.kind === 178 /* SetAccessor */ ? 177 /* GetAccessor */ : 178 /* SetAccessor */;\n    const otherAccessor = getDeclarationOfKind(getSymbolOfNode(accessor), otherKind);\n    const firstAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? otherAccessor : accessor;\n    const secondAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? accessor : otherAccessor;\n    const setAccessor = accessor.kind === 178 /* SetAccessor */ ? accessor : otherAccessor;\n    const getAccessor = accessor.kind === 177 /* GetAccessor */ ? accessor : otherAccessor;\n    return {\n      firstAccessor,\n      secondAccessor,\n      setAccessor,\n      getAccessor\n    };\n  }\n  function createReturnTypeOfSignatureDeclaration(signatureDeclarationIn, enclosingDeclaration, flags, tracker) {\n    const signatureDeclaration = getParseTreeNode(signatureDeclarationIn, isFunctionLike);\n    if (!signatureDeclaration) {\n      return factory.createToken(132 /* AnyKeyword */);\n    }\n    const signature = getSignatureFromDeclaration(signatureDeclaration);\n    return nodeBuilder.typeToTypeNode(getReturnTypeOfSignature(signature), enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, tracker);\n  }\n  function createTypeOfExpression(exprIn, enclosingDeclaration, flags, tracker) {\n    const expr = getParseTreeNode(exprIn, isExpression);\n    if (!expr) {\n      return factory.createToken(132 /* AnyKeyword */);\n    }\n    const type = getWidenedType(getRegularTypeOfExpression(expr));\n    return nodeBuilder.typeToTypeNode(type, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */, tracker);\n  }\n  function hasGlobalName(name) {\n    return globals.has(escapeLeadingUnderscores(name));\n  }\n  function getReferencedValueSymbol(reference, startInDeclarationContainer) {\n    const resolvedSymbol = getNodeLinks(reference).resolvedSymbol;\n    if (resolvedSymbol) {\n      return resolvedSymbol;\n    }\n    let location = reference;\n    if (startInDeclarationContainer) {\n      const parent2 = reference.parent;\n      if (isDeclaration(parent2) && reference === parent2.name) {\n        location = getDeclarationContainer(parent2);\n      }\n    }\n    return resolveName(location, reference.escapedText, 111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */, void 0, void 0, true);\n  }\n  function getReferencedValueOrAliasSymbol(reference) {\n    const resolvedSymbol = getNodeLinks(reference).resolvedSymbol;\n    if (resolvedSymbol && resolvedSymbol !== unknownSymbol) {\n      return resolvedSymbol;\n    }\n    return resolveName(\n      reference,\n      reference.escapedText,\n      111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */,\n      void 0,\n      void 0,\n      true,\n      void 0,\n      void 0\n    );\n  }\n  function getReferencedValueDeclaration(referenceIn) {\n    if (!isGeneratedIdentifier(referenceIn)) {\n      const reference = getParseTreeNode(referenceIn, isIdentifier);\n      if (reference) {\n        const symbol = getReferencedValueSymbol(reference);\n        if (symbol) {\n          return getExportSymbolOfValueSymbolIfExported(symbol).valueDeclaration;\n        }\n      }\n    }\n    return void 0;\n  }\n  function isLiteralConstDeclaration(node) {\n    if (isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConst(node)) {\n      return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(node)));\n    }\n    return false;\n  }\n  function literalTypeToNode(type, enclosing, tracker) {\n    const enumResult = type.flags & 1024 /* EnumLiteral */ ? nodeBuilder.symbolToExpression(type.symbol, 111551 /* Value */, enclosing, void 0, tracker) : type === trueType ? factory.createTrue() : type === falseType && factory.createFalse();\n    if (enumResult)\n      return enumResult;\n    const literalValue = type.value;\n    return typeof literalValue === \"object\" ? factory.createBigIntLiteral(literalValue) : typeof literalValue === \"number\" ? factory.createNumericLiteral(literalValue) : factory.createStringLiteral(literalValue);\n  }\n  function createLiteralConstValue(node, tracker) {\n    const type = getTypeOfSymbol(getSymbolOfNode(node));\n    return literalTypeToNode(type, node, tracker);\n  }\n  function getJsxFactoryEntity(location) {\n    return location ? (getJsxNamespace(location), getSourceFileOfNode(location).localJsxFactory || _jsxFactoryEntity) : _jsxFactoryEntity;\n  }\n  function getJsxFragmentFactoryEntity(location) {\n    if (location) {\n      const file = getSourceFileOfNode(location);\n      if (file) {\n        if (file.localJsxFragmentFactory) {\n          return file.localJsxFragmentFactory;\n        }\n        const jsxFragPragmas = file.pragmas.get(\"jsxfrag\");\n        const jsxFragPragma = isArray(jsxFragPragmas) ? jsxFragPragmas[0] : jsxFragPragmas;\n        if (jsxFragPragma) {\n          file.localJsxFragmentFactory = parseIsolatedEntityName(jsxFragPragma.arguments.factory, languageVersion);\n          return file.localJsxFragmentFactory;\n        }\n      }\n    }\n    if (compilerOptions.jsxFragmentFactory) {\n      return parseIsolatedEntityName(compilerOptions.jsxFragmentFactory, languageVersion);\n    }\n  }\n  function getNonlocalEffectiveTypeAnnotationNode(node) {\n    const direct = getEffectiveTypeAnnotationNode(node);\n    if (direct) {\n      return direct;\n    }\n    if (node.kind === 168 /* Parameter */ && node.parent.kind === 178 /* SetAccessor */) {\n      const other = getAllAccessorDeclarationsForDeclaration(node.parent).getAccessor;\n      if (other) {\n        return getEffectiveReturnTypeNode(other);\n      }\n    }\n    return void 0;\n  }\n  function isReferredToAnnotation(node) {\n    let links = getNodeLinks(node);\n    if (!links.exportOrImportRefersToAnnotation) {\n      let ident = void 0;\n      if (isExportAssignment(node)) {\n        switch (node.expression.kind) {\n          case 79 /* Identifier */:\n            ident = node.expression;\n            break;\n          case 211 /* PropertyAccessExpression */:\n            ident = node.expression;\n            break;\n          default:\n            return void 0;\n        }\n        if (!ident) {\n          return void 0;\n        }\n        const symbol = getSymbolOfNameOrPropertyAccessExpression(ident);\n        if (!symbol) {\n          return void 0;\n        }\n        if (getAllSymbolFlags(symbol) & 268435456 /* Annotation */) {\n          links.exportOrImportRefersToAnnotation = true;\n        }\n      }\n      if (isImportSpecifier(node) || isExportSpecifier(node)) {\n        let symbol = getSymbolOfNode(node);\n        if (!symbol) {\n          return void 0;\n        }\n        const target = resolveAlias(symbol);\n        const targetFlags = getAllSymbolFlags(target);\n        if (targetFlags & 268435456 /* Annotation */) {\n          links.exportOrImportRefersToAnnotation = true;\n        }\n      }\n    }\n    return links.exportOrImportRefersToAnnotation;\n  }\n  function isReferredToSourceRetentionAnnotation(node) {\n    var _a2;\n    let links = getNodeLinks(node);\n    if (!links.importRefersToSourceRetentionAnnotation) {\n      let symbol = getSymbolOfNode(node);\n      if (!symbol) {\n        return void 0;\n      }\n      const target = resolveAlias(symbol);\n      const targetFlags = getAllSymbolFlags(target);\n      if (targetFlags & 268435456 /* Annotation */) {\n        links.exportOrImportRefersToAnnotation = true;\n        const annoDecl = target.valueDeclaration || ((_a2 = target.declarations) == null ? void 0 : _a2[0]);\n        if (!annoDecl || !isAnnotationDeclaration(annoDecl)) {\n          return void 0;\n        }\n        links.importRefersToSourceRetentionAnnotation = isSourceRetentionAnnotationDeclaration(annoDecl);\n      }\n    }\n    return links.importRefersToSourceRetentionAnnotation;\n  }\n  function isSourceRetentionAnnotation(node) {\n    if (!node || !node.annotationDeclaration) {\n      return false;\n    }\n    const annoDecl = node.annotationDeclaration;\n    return isSourceRetentionAnnotationDeclaration(annoDecl);\n  }\n  function isSourceRetentionAnnotationDeclaration(node) {\n    if (!node) {\n      return false;\n    }\n    const links = getNodeLinks(node);\n    if (links.sourceRetentionAnnotation === void 0) {\n      links.sourceRetentionAnnotation = false;\n      if (isAvailableDeclarationValid) {\n        links.sourceRetentionAnnotation = isAvailableDeclarationValid(node);\n      }\n    }\n    return links.sourceRetentionAnnotation;\n  }\n  function createResolver() {\n    const resolvedTypeReferenceDirectives = host.getResolvedTypeReferenceDirectives();\n    let fileToDirective;\n    if (resolvedTypeReferenceDirectives) {\n      fileToDirective = new Map2();\n      resolvedTypeReferenceDirectives.forEach((resolvedDirective, key, mode) => {\n        if (!resolvedDirective || !resolvedDirective.resolvedFileName) {\n          return;\n        }\n        const file = host.getSourceFile(resolvedDirective.resolvedFileName);\n        if (file) {\n          addReferencedFilesToTypeDirective(file, key, mode);\n        }\n      });\n    }\n    return {\n      getReferencedExportContainer,\n      getReferencedImportDeclaration,\n      getReferencedDeclarationWithCollidingName,\n      isDeclarationWithCollidingName,\n      isValueAliasDeclaration: (nodeIn) => {\n        const node = getParseTreeNode(nodeIn);\n        return node ? isValueAliasDeclaration(node) : true;\n      },\n      hasGlobalName,\n      isReferencedAliasDeclaration: (nodeIn, checkChildren) => {\n        const node = getParseTreeNode(nodeIn);\n        return node ? isReferencedAliasDeclaration(node, checkChildren) : true;\n      },\n      isReferenced: (nodeIn) => {\n        const node = getParseTreeNode(nodeIn);\n        return node ? isReferenced(node) : false;\n      },\n      getNodeCheckFlags: (nodeIn) => {\n        const node = getParseTreeNode(nodeIn);\n        return node ? getNodeCheckFlags(node) : 0;\n      },\n      isTopLevelValueImportEqualsWithEntityName,\n      isDeclarationVisible,\n      isImplementationOfOverload,\n      requiresAddingImplicitUndefined,\n      isRequiredInitializedParameter,\n      isOptionalUninitializedParameterProperty,\n      isExpandoFunctionDeclaration,\n      getPropertiesOfContainerFunction,\n      createTypeOfDeclaration,\n      createReturnTypeOfSignatureDeclaration,\n      createTypeOfExpression,\n      createLiteralConstValue,\n      isSymbolAccessible,\n      isEntityNameVisible,\n      getConstantValue: (nodeIn) => {\n        const node = getParseTreeNode(nodeIn, canHaveConstantValue);\n        return node ? getConstantValue2(node) : void 0;\n      },\n      collectLinkedAliases,\n      getReferencedValueDeclaration,\n      getTypeReferenceSerializationKind,\n      isOptionalParameter,\n      moduleExportsSomeValue,\n      isArgumentsLocalBinding,\n      getExternalModuleFileFromDeclaration: (nodeIn) => {\n        const node = getParseTreeNode(nodeIn, hasPossibleExternalModuleReference);\n        return node && getExternalModuleFileFromDeclaration(node);\n      },\n      getTypeReferenceDirectivesForEntityName,\n      getTypeReferenceDirectivesForSymbol,\n      isLiteralConstDeclaration,\n      isLateBound: (nodeIn) => {\n        const node = getParseTreeNode(nodeIn, isDeclaration);\n        const symbol = node && getSymbolOfNode(node);\n        return !!(symbol && getCheckFlags(symbol) & 4096 /* Late */);\n      },\n      getJsxFactoryEntity,\n      getJsxFragmentFactoryEntity,\n      getAllAccessorDeclarations(accessor) {\n        accessor = getParseTreeNode(accessor, isGetOrSetAccessorDeclaration);\n        const otherKind = accessor.kind === 178 /* SetAccessor */ ? 177 /* GetAccessor */ : 178 /* SetAccessor */;\n        const otherAccessor = getDeclarationOfKind(getSymbolOfNode(accessor), otherKind);\n        const firstAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? otherAccessor : accessor;\n        const secondAccessor = otherAccessor && otherAccessor.pos < accessor.pos ? accessor : otherAccessor;\n        const setAccessor = accessor.kind === 178 /* SetAccessor */ ? accessor : otherAccessor;\n        const getAccessor = accessor.kind === 177 /* GetAccessor */ ? accessor : otherAccessor;\n        return {\n          firstAccessor,\n          secondAccessor,\n          setAccessor,\n          getAccessor\n        };\n      },\n      getSymbolOfExternalModuleSpecifier: (moduleName) => resolveExternalModuleNameWorker(moduleName, moduleName, void 0),\n      isBindingCapturedByNode: (node, decl) => {\n        const parseNode = getParseTreeNode(node);\n        const parseDecl = getParseTreeNode(decl);\n        return !!parseNode && !!parseDecl && (isVariableDeclaration(parseDecl) || isBindingElement(parseDecl)) && isBindingCapturedByNode(parseNode, parseDecl);\n      },\n      getDeclarationStatementsForSourceFile: (node, flags, tracker, bundled) => {\n        const n = getParseTreeNode(node);\n        Debug.assert(n && n.kind === 314 /* SourceFile */, \"Non-sourcefile node passed into getDeclarationsForSourceFile\");\n        const sym = getSymbolOfNode(node);\n        if (!sym) {\n          return !node.locals ? [] : nodeBuilder.symbolTableToDeclarationStatements(node.locals, node, flags, tracker, bundled);\n        }\n        return !sym.exports ? [] : nodeBuilder.symbolTableToDeclarationStatements(sym.exports, node, flags, tracker, bundled);\n      },\n      isImportRequiredByAugmentation,\n      getAnnotationObjectLiteralEvaluatedProps: (node) => {\n        let links = getNodeLinks(node);\n        if (!links.annotationObjectLiteralEvaluatedProps) {\n          if (!isCallExpression(node.expression)) {\n            return void 0;\n          }\n          if (!node.expression.arguments || node.expression.arguments.length !== 1 || !isObjectLiteralExpression(node.expression.arguments[0])) {\n            return void 0;\n          }\n          const funcType = checkExpression(node.expression);\n          const apparentType = getApparentType(funcType);\n          if (isErrorType(apparentType)) {\n            return void 0;\n          }\n          const arg = node.expression.arguments[0];\n          const evaluatedProps = new Map2();\n          for (const prop of arg.properties) {\n            if (!isPropertyAssignment(prop)) {\n              return void 0;\n            }\n            const evaluated = evaluateAnnotationPropertyConstantExpression(prop.initializer);\n            if (evaluated === void 0) {\n              return void 0;\n            }\n            evaluatedProps.set(tryGetTextOfPropertyName(prop.name), evaluated);\n          }\n          const members = node.annotationDeclaration.members;\n          for (const m of members) {\n            const memberName = tryGetTextOfPropertyName(m.name);\n            if (evaluatedProps.has(memberName)) {\n              const propValue = annotationEvaluatedValueToExpr(evaluatedProps.get(memberName), getTypeOfNode(m));\n              if (links.annotationObjectLiteralEvaluatedProps === void 0) {\n                links.annotationObjectLiteralEvaluatedProps = new Map2();\n              }\n              links.annotationObjectLiteralEvaluatedProps.set(memberName, propValue);\n            }\n          }\n        }\n        return links.annotationObjectLiteralEvaluatedProps;\n      },\n      getAnnotationPropertyEvaluatedInitializer: (node) => {\n        let links = getNodeLinks(node);\n        if (!links.annotationPropertyEvaluatedInitializer) {\n          const propType = getTypeOfNode(node);\n          if (!isAllowedAnnotationPropertyType(propType)) {\n            return void 0;\n          }\n          if (node.initializer) {\n            const evaluated = evaluateAnnotationPropertyConstantExpression(node.initializer);\n            if (evaluated === void 0) {\n              return void 0;\n            } else {\n              const evaluatedExpr = annotationEvaluatedValueToExpr(evaluated, getTypeOfNode(node));\n              links.annotationPropertyEvaluatedInitializer = evaluatedExpr;\n            }\n          }\n          if (!node.initializer) {\n            const initializer = addAnnotationPropertyEnumInitalizer(propType);\n            if (initializer) {\n              links.annotationPropertyEvaluatedInitializer = initializer;\n            }\n          }\n        }\n        return links.annotationPropertyEvaluatedInitializer;\n      },\n      getAnnotationPropertyInferredType: (node) => {\n        let links = getNodeLinks(node);\n        if (!links.annotationPropertyInferredType) {\n          const propType = getTypeOfNode(node);\n          if (!isAllowedAnnotationPropertyType(propType)) {\n            return void 0;\n          }\n          links.annotationPropertyInferredType = nodeBuilder.typeToTypeNode(propType);\n        }\n        return links.annotationPropertyInferredType;\n      },\n      isReferredToAnnotation,\n      isSourceRetentionAnnotation,\n      isReferredToSourceRetentionAnnotation\n    };\n    function isImportRequiredByAugmentation(node) {\n      const file = getSourceFileOfNode(node);\n      if (!file.symbol)\n        return false;\n      const importTarget = getExternalModuleFileFromDeclaration(node);\n      if (!importTarget)\n        return false;\n      if (importTarget === file)\n        return false;\n      const exports = getExportsOfModule(file.symbol);\n      for (const s of arrayFrom(exports.values())) {\n        if (s.mergeId) {\n          const merged = getMergedSymbol(s);\n          if (merged.declarations) {\n            for (const d of merged.declarations) {\n              const declFile = getSourceFileOfNode(d);\n              if (declFile === importTarget) {\n                return true;\n              }\n            }\n          }\n        }\n      }\n      return false;\n    }\n    function isInHeritageClause(node) {\n      return node.parent && node.parent.kind === 234 /* ExpressionWithTypeArguments */ && node.parent.parent && node.parent.parent.kind === 300 /* HeritageClause */;\n    }\n    function getTypeReferenceDirectivesForEntityName(node) {\n      if (!fileToDirective) {\n        return void 0;\n      }\n      let meaning;\n      if (node.parent.kind === 166 /* ComputedPropertyName */) {\n        meaning = 111551 /* Value */ | 1048576 /* ExportValue */;\n      } else {\n        meaning = 788968 /* Type */ | 1920 /* Namespace */;\n        if (node.kind === 79 /* Identifier */ && isInTypeQuery(node) || node.kind === 211 /* PropertyAccessExpression */ && !isInHeritageClause(node)) {\n          meaning = 111551 /* Value */ | 1048576 /* ExportValue */;\n        }\n      }\n      const symbol = resolveEntityName(node, meaning, true);\n      return symbol && symbol !== unknownSymbol ? getTypeReferenceDirectivesForSymbol(symbol, meaning) : void 0;\n    }\n    function getTypeReferenceDirectivesForSymbol(symbol, meaning) {\n      if (!fileToDirective || !isSymbolFromTypeDeclarationFile(symbol)) {\n        return void 0;\n      }\n      let typeReferenceDirectives;\n      for (const decl of symbol.declarations) {\n        if (decl.symbol && decl.symbol.flags & meaning) {\n          const file = getSourceFileOfNode(decl);\n          const typeReferenceDirective = fileToDirective.get(file.path);\n          if (typeReferenceDirective) {\n            (typeReferenceDirectives || (typeReferenceDirectives = [])).push(typeReferenceDirective);\n          } else {\n            return void 0;\n          }\n        }\n      }\n      return typeReferenceDirectives;\n    }\n    function isSymbolFromTypeDeclarationFile(symbol) {\n      if (!symbol.declarations) {\n        return false;\n      }\n      let current = symbol;\n      while (true) {\n        const parent2 = getParentOfSymbol(current);\n        if (parent2) {\n          current = parent2;\n        } else {\n          break;\n        }\n      }\n      if (current.valueDeclaration && current.valueDeclaration.kind === 314 /* SourceFile */ && current.flags & 512 /* ValueModule */) {\n        return false;\n      }\n      for (const decl of symbol.declarations) {\n        const file = getSourceFileOfNode(decl);\n        if (fileToDirective.has(file.path)) {\n          return true;\n        }\n      }\n      return false;\n    }\n    function addReferencedFilesToTypeDirective(file, key, mode) {\n      if (fileToDirective.has(file.path))\n        return;\n      fileToDirective.set(file.path, [key, mode]);\n      for (const { fileName, resolutionMode } of file.referencedFiles) {\n        const resolvedFile = resolveTripleslashReference(fileName, file.fileName);\n        const referencedFile = host.getSourceFile(resolvedFile);\n        if (referencedFile) {\n          addReferencedFilesToTypeDirective(referencedFile, key, resolutionMode || file.impliedNodeFormat);\n        }\n      }\n    }\n  }\n  function getExternalModuleFileFromDeclaration(declaration) {\n    const specifier = declaration.kind === 270 /* ModuleDeclaration */ ? tryCast(declaration.name, isStringLiteral) : getExternalModuleName(declaration);\n    const moduleSymbol = resolveExternalModuleNameWorker(specifier, specifier, void 0);\n    if (!moduleSymbol) {\n      return void 0;\n    }\n    return getDeclarationOfKind(moduleSymbol, 314 /* SourceFile */);\n  }\n  function initializeTypeChecker() {\n    for (const file of host.getSourceFiles()) {\n      bindSourceFile(file, compilerOptions);\n    }\n    amalgamatedDuplicates = new Map2();\n    let augmentations;\n    for (const file of host.getSourceFiles()) {\n      if (file.redirectInfo) {\n        continue;\n      }\n      if (!isExternalOrCommonJsModule(file)) {\n        const fileGlobalThisSymbol = file.locals.get(\"globalThis\");\n        if (fileGlobalThisSymbol == null ? void 0 : fileGlobalThisSymbol.declarations) {\n          for (const declaration of fileGlobalThisSymbol.declarations) {\n            diagnostics.add(createDiagnosticForNode(declaration, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0, \"globalThis\"));\n          }\n        }\n        mergeSymbolTable(globals, file.locals);\n      }\n      if (file.jsGlobalAugmentations) {\n        mergeSymbolTable(globals, file.jsGlobalAugmentations);\n      }\n      if (file.patternAmbientModules && file.patternAmbientModules.length) {\n        patternAmbientModules = concatenate(patternAmbientModules, file.patternAmbientModules);\n      }\n      if (file.moduleAugmentations.length) {\n        (augmentations || (augmentations = [])).push(file.moduleAugmentations);\n      }\n      if (file.symbol && file.symbol.globalExports) {\n        const source = file.symbol.globalExports;\n        source.forEach((sourceSymbol, id) => {\n          if (!globals.has(id)) {\n            globals.set(id, sourceSymbol);\n          }\n        });\n      }\n    }\n    if (augmentations) {\n      for (const list of augmentations) {\n        for (const augmentation of list) {\n          if (!isGlobalScopeAugmentation(augmentation.parent))\n            continue;\n          mergeModuleAugmentation(augmentation);\n        }\n      }\n    }\n    addToSymbolTable(globals, builtinGlobals, Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0);\n    getSymbolLinks(undefinedSymbol).type = undefinedWideningType;\n    getSymbolLinks(argumentsSymbol).type = getGlobalType(\"IArguments\", 0, true);\n    getSymbolLinks(unknownSymbol).type = errorType;\n    getSymbolLinks(globalThisSymbol).type = createObjectType(16 /* Anonymous */, globalThisSymbol);\n    globalArrayType = getGlobalType(\"Array\", 1, true);\n    globalObjectType = getGlobalType(\"Object\", 0, true);\n    globalFunctionType = getGlobalType(\"Function\", 0, true);\n    globalCallableFunctionType = strictBindCallApply && getGlobalType(\"CallableFunction\", 0, true) || globalFunctionType;\n    globalNewableFunctionType = strictBindCallApply && getGlobalType(\"NewableFunction\", 0, true) || globalFunctionType;\n    globalStringType = getGlobalType(\"String\", 0, true);\n    globalNumberType = getGlobalType(\"Number\", 0, true);\n    globalBooleanType = getGlobalType(\"Boolean\", 0, true);\n    globalRegExpType = getGlobalType(\"RegExp\", 0, true);\n    anyArrayType = createArrayType(anyType);\n    autoArrayType = createArrayType(autoType);\n    if (autoArrayType === emptyObjectType) {\n      autoArrayType = createAnonymousType(void 0, emptySymbols, emptyArray, emptyArray, emptyArray);\n    }\n    globalReadonlyArrayType = getGlobalTypeOrUndefined(\"ReadonlyArray\", 1) || globalArrayType;\n    anyReadonlyArrayType = globalReadonlyArrayType ? createTypeFromGenericGlobalType(globalReadonlyArrayType, [anyType]) : anyArrayType;\n    globalThisType = getGlobalTypeOrUndefined(\"ThisType\", 1);\n    if (augmentations) {\n      for (const list of augmentations) {\n        for (const augmentation of list) {\n          if (isGlobalScopeAugmentation(augmentation.parent))\n            continue;\n          mergeModuleAugmentation(augmentation);\n        }\n      }\n    }\n    amalgamatedDuplicates.forEach(({ firstFile, secondFile, conflictingSymbols }) => {\n      if (conflictingSymbols.size < 8) {\n        conflictingSymbols.forEach(({ isBlockScoped, firstFileLocations, secondFileLocations }, symbolName2) => {\n          const message = isBlockScoped ? Diagnostics.Cannot_redeclare_block_scoped_variable_0 : Diagnostics.Duplicate_identifier_0;\n          for (const node of firstFileLocations) {\n            addDuplicateDeclarationError(node, message, symbolName2, secondFileLocations);\n          }\n          for (const node of secondFileLocations) {\n            addDuplicateDeclarationError(node, message, symbolName2, firstFileLocations);\n          }\n        });\n      } else {\n        const list = arrayFrom(conflictingSymbols.keys()).join(\", \");\n        diagnostics.add(addRelatedInfo(\n          createDiagnosticForNode(firstFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list),\n          createDiagnosticForNode(secondFile, Diagnostics.Conflicts_are_in_this_file)\n        ));\n        diagnostics.add(addRelatedInfo(\n          createDiagnosticForNode(secondFile, Diagnostics.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0, list),\n          createDiagnosticForNode(firstFile, Diagnostics.Conflicts_are_in_this_file)\n        ));\n      }\n    });\n    amalgamatedDuplicates = void 0;\n  }\n  function checkExternalEmitHelpers(location, helpers) {\n    if ((requestedExternalEmitHelpers & helpers) !== helpers && compilerOptions.importHelpers) {\n      const sourceFile = getSourceFileOfNode(location);\n      if (isEffectiveExternalModule(sourceFile, compilerOptions) && !(location.flags & 16777216 /* Ambient */)) {\n        const helpersModule = resolveHelpersModule(sourceFile, location);\n        if (helpersModule !== unknownSymbol) {\n          const uncheckedHelpers = helpers & ~requestedExternalEmitHelpers;\n          for (let helper = 1 /* FirstEmitHelper */; helper <= 4194304 /* LastEmitHelper */; helper <<= 1) {\n            if (uncheckedHelpers & helper) {\n              const name = getHelperName(helper);\n              const symbol = getSymbol2(helpersModule.exports, escapeLeadingUnderscores(name), 111551 /* Value */);\n              if (!symbol) {\n                error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name);\n              } else if (helper & 524288 /* ClassPrivateFieldGet */) {\n                if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 3)) {\n                  error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 4);\n                }\n              } else if (helper & 1048576 /* ClassPrivateFieldSet */) {\n                if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 4)) {\n                  error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 5);\n                }\n              } else if (helper & 1024 /* SpreadArray */) {\n                if (!some(getSignaturesOfSymbol(symbol), (signature) => getParameterCount(signature) > 2)) {\n                  error(location, Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0, externalHelpersModuleNameText, name, 3);\n                }\n              }\n            }\n          }\n        }\n        requestedExternalEmitHelpers |= helpers;\n      }\n    }\n  }\n  function getHelperName(helper) {\n    switch (helper) {\n      case 1 /* Extends */:\n        return \"__extends\";\n      case 2 /* Assign */:\n        return \"__assign\";\n      case 4 /* Rest */:\n        return \"__rest\";\n      case 8 /* Decorate */:\n        return \"__decorate\";\n      case 16 /* Metadata */:\n        return \"__metadata\";\n      case 32 /* Param */:\n        return \"__param\";\n      case 64 /* Awaiter */:\n        return \"__awaiter\";\n      case 128 /* Generator */:\n        return \"__generator\";\n      case 256 /* Values */:\n        return \"__values\";\n      case 512 /* Read */:\n        return \"__read\";\n      case 1024 /* SpreadArray */:\n        return \"__spreadArray\";\n      case 2048 /* Await */:\n        return \"__await\";\n      case 4096 /* AsyncGenerator */:\n        return \"__asyncGenerator\";\n      case 8192 /* AsyncDelegator */:\n        return \"__asyncDelegator\";\n      case 16384 /* AsyncValues */:\n        return \"__asyncValues\";\n      case 32768 /* ExportStar */:\n        return \"__exportStar\";\n      case 65536 /* ImportStar */:\n        return \"__importStar\";\n      case 131072 /* ImportDefault */:\n        return \"__importDefault\";\n      case 262144 /* MakeTemplateObject */:\n        return \"__makeTemplateObject\";\n      case 524288 /* ClassPrivateFieldGet */:\n        return \"__classPrivateFieldGet\";\n      case 1048576 /* ClassPrivateFieldSet */:\n        return \"__classPrivateFieldSet\";\n      case 2097152 /* ClassPrivateFieldIn */:\n        return \"__classPrivateFieldIn\";\n      case 4194304 /* CreateBinding */:\n        return \"__createBinding\";\n      default:\n        return Debug.fail(\"Unrecognized helper\");\n    }\n  }\n  function resolveHelpersModule(node, errorNode) {\n    if (!externalHelpersModule) {\n      externalHelpersModule = resolveExternalModule(node, externalHelpersModuleNameText, Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found, errorNode) || unknownSymbol;\n    }\n    return externalHelpersModule;\n  }\n  function checkGrammarDecoratorsAndModifiers(node) {\n    return checkGrammarDecorators(node) || checkGrammarModifiers(node);\n  }\n  function checkGrammarDecorators(node) {\n    setAnnotationsOfNode(node);\n    if (canHaveIllegalDecorators(node) && some(node.illegalDecorators, isAnnotation)) {\n      checkAnnotations(node.illegalDecorators);\n    }\n    if (canHaveIllegalDecorators(node) && some(node.illegalDecorators) && !isArkTsDecorator(node, compilerOptions)) {\n      if (isSendableFunctionOrType(node)) {\n        return false;\n      }\n      const firstIllgealDecorator = find(node.illegalDecorators, isDecorator);\n      if (firstIllgealDecorator) {\n        return grammarErrorOnFirstToken(firstIllgealDecorator, Diagnostics.Decorators_are_not_valid_here);\n      }\n    }\n    if (!canHaveDecorators(node) || !hasDecorators(node) && !(isFunctionDeclaration(node) && !isArkTsDecorator(node, compilerOptions))) {\n      return false;\n    }\n    const decorators = getAllDecorators(node);\n    if (getSourceFileOfNode(node).scriptKind === 8 /* ETS */) {\n      if (isTokenInsideBuilder(decorators, compilerOptions) && !isConstructorDeclaration(node)) {\n        return false;\n      }\n      if (hasEtsStylesDecoratorNames(decorators, compilerOptions) && !isConstructorDeclaration(node)) {\n        return true;\n      }\n    }\n    if (!nodeCanBeDecorated(node, node.parent, node.parent.parent, compilerOptions)) {\n      const isMethodDeclarationAndNodeIsNotPresent = node.kind === 174 /* MethodDeclaration */ && !nodeIsPresent(node.body);\n      const message = isMethodDeclarationAndNodeIsNotPresent ? Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload : Diagnostics.Decorators_are_not_valid_here;\n      for (const decorator of decorators) {\n        if (!grammarErrorOnNode(decorator, message)) {\n          return false;\n        }\n      }\n      return true;\n    } else if (node.kind === 177 /* GetAccessor */ || node.kind === 178 /* SetAccessor */) {\n      const accessors = getAllAccessorDeclarations(node.parent.members, node);\n      if (hasDecorators(accessors.firstAccessor) && node === accessors.secondAccessor) {\n        return grammarErrorOnFirstToken(node, Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name);\n      }\n    }\n    return false;\n  }\n  function checkGrammarModifiers(node) {\n    const quickResult = reportObviousModifierErrors(node);\n    if (quickResult !== void 0) {\n      return quickResult;\n    }\n    let lastStatic, lastDeclare, lastAsync, lastOverride;\n    let flags = 0 /* None */;\n    for (const modifier of node.modifiers) {\n      if (isDecoratorOrAnnotation(modifier)) {\n        continue;\n      }\n      if (modifier.kind !== 147 /* ReadonlyKeyword */) {\n        if (node.kind === 170 /* PropertySignature */ || node.kind === 173 /* MethodSignature */) {\n          return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_member, tokenToString(modifier.kind));\n        }\n        if (node.kind === 181 /* IndexSignature */ && (modifier.kind !== 125 /* StaticKeyword */ || !isClassLike(node.parent))) {\n          return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_an_index_signature, tokenToString(modifier.kind));\n        }\n      }\n      if (modifier.kind !== 102 /* InKeyword */ && modifier.kind !== 146 /* OutKeyword */) {\n        if (node.kind === 167 /* TypeParameter */) {\n          return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_type_parameter, tokenToString(modifier.kind));\n        }\n      }\n      switch (modifier.kind) {\n        case 86 /* ConstKeyword */:\n          if (node.kind !== 269 /* EnumDeclaration */) {\n            return grammarErrorOnNode(node, Diagnostics.A_class_member_cannot_have_the_0_keyword, tokenToString(86 /* ConstKeyword */));\n          }\n          break;\n        case 163 /* OverrideKeyword */:\n          if (flags & 16384 /* Override */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"override\");\n          } else if (flags & 2 /* Ambient */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"override\", \"declare\");\n          } else if (flags & 64 /* Readonly */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"override\", \"readonly\");\n          } else if (flags & 128 /* Accessor */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"override\", \"accessor\");\n          } else if (flags & 512 /* Async */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"override\", \"async\");\n          }\n          flags |= 16384 /* Override */;\n          lastOverride = modifier;\n          break;\n        case 124 /* PublicKeyword */:\n        case 123 /* ProtectedKeyword */:\n        case 122 /* PrivateKeyword */:\n          const text = visibilityToString(modifierToFlag(modifier.kind));\n          if (flags & 28 /* AccessibilityModifier */) {\n            return grammarErrorOnNode(modifier, Diagnostics.Accessibility_modifier_already_seen);\n          } else if (flags & 16384 /* Override */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"override\");\n          } else if (flags & 32 /* Static */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"static\");\n          } else if (flags & 128 /* Accessor */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"accessor\");\n          } else if (flags & 64 /* Readonly */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"readonly\");\n          } else if (flags & 512 /* Async */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"async\");\n          } else if (node.parent.kind === 271 /* ModuleBlock */ || node.parent.kind === 314 /* SourceFile */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, text);\n          } else if (flags & 256 /* Abstract */) {\n            if (modifier.kind === 122 /* PrivateKeyword */) {\n              return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, text, \"abstract\");\n            } else {\n              return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, text, \"abstract\");\n            }\n          } else if (isPrivateIdentifierClassElementDeclaration(node)) {\n            return grammarErrorOnNode(modifier, Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);\n          }\n          flags |= modifierToFlag(modifier.kind);\n          break;\n        case 125 /* StaticKeyword */:\n          if (flags & 32 /* Static */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"static\");\n          } else if (flags & 64 /* Readonly */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"readonly\");\n          } else if (flags & 512 /* Async */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"async\");\n          } else if (flags & 128 /* Accessor */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"accessor\");\n          } else if (node.parent.kind === 271 /* ModuleBlock */ || node.parent.kind === 314 /* SourceFile */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element, \"static\");\n          } else if (node.kind === 168 /* Parameter */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"static\");\n          } else if (flags & 256 /* Abstract */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"static\", \"abstract\");\n          } else if (flags & 16384 /* Override */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"static\", \"override\");\n          }\n          flags |= 32 /* Static */;\n          lastStatic = modifier;\n          break;\n        case 128 /* AccessorKeyword */:\n          if (flags & 128 /* Accessor */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"accessor\");\n          } else if (flags & 64 /* Readonly */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"accessor\", \"readonly\");\n          } else if (flags & 2 /* Ambient */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"accessor\", \"declare\");\n          } else if (node.kind !== 171 /* PropertyDeclaration */) {\n            return grammarErrorOnNode(modifier, Diagnostics.accessor_modifier_can_only_appear_on_a_property_declaration);\n          }\n          flags |= 128 /* Accessor */;\n          break;\n        case 147 /* ReadonlyKeyword */:\n          if (flags & 64 /* Readonly */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"readonly\");\n          } else if (node.kind !== 171 /* PropertyDeclaration */ && node.kind !== 170 /* PropertySignature */ && node.kind !== 181 /* IndexSignature */ && node.kind !== 168 /* Parameter */) {\n            return grammarErrorOnNode(modifier, Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);\n          }\n          flags |= 64 /* Readonly */;\n          break;\n        case 94 /* ExportKeyword */:\n          if (flags & 1 /* Export */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"export\");\n          } else if (flags & 2 /* Ambient */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"declare\");\n          } else if (flags & 256 /* Abstract */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"abstract\");\n          } else if (flags & 512 /* Async */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"async\");\n          } else if (isClassLike(node.parent)) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, \"export\");\n          } else if (node.kind === 168 /* Parameter */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"export\");\n          }\n          flags |= 1 /* Export */;\n          break;\n        case 89 /* DefaultKeyword */:\n          const container = node.parent.kind === 314 /* SourceFile */ ? node.parent : node.parent.parent;\n          if (container.kind === 270 /* ModuleDeclaration */ && !isAmbientModule(container)) {\n            return grammarErrorOnNode(modifier, Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);\n          } else if (!(flags & 1 /* Export */)) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"export\", \"default\");\n          }\n          flags |= 1024 /* Default */;\n          break;\n        case 137 /* DeclareKeyword */:\n          if (flags & 2 /* Ambient */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"declare\");\n          } else if (flags & 512 /* Async */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, \"async\");\n          } else if (flags & 16384 /* Override */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, \"override\");\n          } else if (isClassLike(node.parent) && !isPropertyDeclaration(node)) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind, \"declare\");\n          } else if (node.kind === 168 /* Parameter */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"declare\");\n          } else if (node.parent.flags & 16777216 /* Ambient */ && node.parent.kind === 271 /* ModuleBlock */) {\n            return grammarErrorOnNode(modifier, Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);\n          } else if (isPrivateIdentifierClassElementDeclaration(node)) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, \"declare\");\n          }\n          flags |= 2 /* Ambient */;\n          lastDeclare = modifier;\n          break;\n        case 127 /* AbstractKeyword */:\n          if (flags & 256 /* Abstract */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"abstract\");\n          }\n          if (node.kind !== 264 /* ClassDeclaration */ && node.kind !== 185 /* ConstructorType */) {\n            if (node.kind !== 174 /* MethodDeclaration */ && node.kind !== 171 /* PropertyDeclaration */ && node.kind !== 177 /* GetAccessor */ && node.kind !== 178 /* SetAccessor */) {\n              return grammarErrorOnNode(modifier, Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);\n            }\n            if (!(node.parent.kind === 264 /* ClassDeclaration */ && hasSyntacticModifier(node.parent, 256 /* Abstract */))) {\n              return grammarErrorOnNode(modifier, Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);\n            }\n            if (flags & 32 /* Static */) {\n              return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"static\", \"abstract\");\n            }\n            if (flags & 8 /* Private */) {\n              return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"private\", \"abstract\");\n            }\n            if (flags & 512 /* Async */ && lastAsync) {\n              return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"async\", \"abstract\");\n            }\n            if (flags & 16384 /* Override */) {\n              return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"abstract\", \"override\");\n            }\n            if (flags & 128 /* Accessor */) {\n              return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"abstract\", \"accessor\");\n            }\n          }\n          if (isNamedDeclaration(node) && node.name.kind === 80 /* PrivateIdentifier */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier, \"abstract\");\n          }\n          flags |= 256 /* Abstract */;\n          break;\n        case 133 /* AsyncKeyword */:\n          if (flags & 512 /* Async */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, \"async\");\n          } else if (flags & 2 /* Ambient */ || node.parent.flags & 16777216 /* Ambient */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context, \"async\");\n          } else if (node.kind === 168 /* Parameter */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_appear_on_a_parameter, \"async\");\n          }\n          if (flags & 256 /* Abstract */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_cannot_be_used_with_1_modifier, \"async\", \"abstract\");\n          }\n          flags |= 512 /* Async */;\n          lastAsync = modifier;\n          break;\n        case 102 /* InKeyword */:\n        case 146 /* OutKeyword */:\n          const inOutFlag = modifier.kind === 102 /* InKeyword */ ? 32768 /* In */ : 65536 /* Out */;\n          const inOutText = modifier.kind === 102 /* InKeyword */ ? \"in\" : \"out\";\n          if (node.kind !== 167 /* TypeParameter */ || !(isInterfaceDeclaration(node.parent) || isClassLike(node.parent) || isTypeAliasDeclaration(node.parent))) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias, inOutText);\n          }\n          if (flags & inOutFlag) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_already_seen, inOutText);\n          }\n          if (inOutFlag & 32768 /* In */ && flags & 65536 /* Out */) {\n            return grammarErrorOnNode(modifier, Diagnostics._0_modifier_must_precede_1_modifier, \"in\", \"out\");\n          }\n          flags |= inOutFlag;\n          break;\n      }\n    }\n    if (node.kind === 176 /* Constructor */) {\n      if (flags & 32 /* Static */) {\n        return grammarErrorOnNode(lastStatic, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, \"static\");\n      }\n      if (flags & 16384 /* Override */) {\n        return grammarErrorOnNode(lastOverride, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, \"override\");\n      }\n      if (flags & 512 /* Async */) {\n        return grammarErrorOnNode(lastAsync, Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration, \"async\");\n      }\n      return false;\n    } else if ((node.kind === 275 /* ImportDeclaration */ || node.kind === 274 /* ImportEqualsDeclaration */) && flags & 2 /* Ambient */) {\n      return grammarErrorOnNode(lastDeclare, Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration, \"declare\");\n    } else if (node.kind === 168 /* Parameter */ && flags & 16476 /* ParameterPropertyModifier */ && isBindingPattern(node.name)) {\n      return grammarErrorOnNode(node, Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern);\n    } else if (node.kind === 168 /* Parameter */ && flags & 16476 /* ParameterPropertyModifier */ && node.dotDotDotToken) {\n      return grammarErrorOnNode(node, Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter);\n    }\n    if (flags & 512 /* Async */) {\n      return checkGrammarAsyncModifier(node, lastAsync);\n    }\n    return false;\n  }\n  function reportObviousModifierErrors(node) {\n    return !node.modifiers ? false : shouldReportBadModifier(node) ? grammarErrorOnFirstToken(node, Diagnostics.Modifiers_cannot_appear_here) : void 0;\n  }\n  function shouldReportBadModifier(node) {\n    switch (node.kind) {\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 176 /* Constructor */:\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 181 /* IndexSignature */:\n      case 270 /* ModuleDeclaration */:\n      case 275 /* ImportDeclaration */:\n      case 274 /* ImportEqualsDeclaration */:\n      case 281 /* ExportDeclaration */:\n      case 280 /* ExportAssignment */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 168 /* Parameter */:\n      case 167 /* TypeParameter */:\n        return false;\n      case 175 /* ClassStaticBlockDeclaration */:\n      case 305 /* PropertyAssignment */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 273 /* NamespaceExportDeclaration */:\n      case 184 /* FunctionType */:\n      case 285 /* MissingDeclaration */:\n        return true;\n      default:\n        if (node.parent.kind === 271 /* ModuleBlock */ || node.parent.kind === 314 /* SourceFile */) {\n          return false;\n        }\n        switch (node.kind) {\n          case 263 /* FunctionDeclaration */:\n            return nodeHasAnyModifiersExcept(node, 133 /* AsyncKeyword */);\n          case 264 /* ClassDeclaration */:\n          case 265 /* StructDeclaration */:\n          case 266 /* AnnotationDeclaration */:\n          case 185 /* ConstructorType */:\n            return nodeHasAnyModifiersExcept(node, 127 /* AbstractKeyword */);\n          case 232 /* ClassExpression */:\n          case 267 /* InterfaceDeclaration */:\n          case 244 /* VariableStatement */:\n          case 268 /* TypeAliasDeclaration */:\n            return true;\n          case 269 /* EnumDeclaration */:\n            return nodeHasAnyModifiersExcept(node, 86 /* ConstKeyword */);\n          default:\n            Debug.assertNever(node);\n        }\n    }\n  }\n  function nodeHasAnyModifiersExcept(node, allowedModifier) {\n    for (const modifier of node.modifiers) {\n      if (isDecoratorOrAnnotation(modifier)) {\n        continue;\n      }\n      return modifier.kind !== allowedModifier;\n    }\n    return false;\n  }\n  function checkGrammarAsyncModifier(node, asyncModifier) {\n    switch (node.kind) {\n      case 174 /* MethodDeclaration */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        return false;\n    }\n    return grammarErrorOnNode(asyncModifier, Diagnostics._0_modifier_cannot_be_used_here, \"async\");\n  }\n  function checkGrammarForDisallowedTrailingComma(list, diag2 = Diagnostics.Trailing_comma_not_allowed) {\n    if (list && list.hasTrailingComma) {\n      return grammarErrorAtPos(list[0], list.end - \",\".length, \",\".length, diag2);\n    }\n    return false;\n  }\n  function checkGrammarTypeParameterList(typeParameters, file) {\n    if (typeParameters && typeParameters.length === 0) {\n      const start = typeParameters.pos - \"<\".length;\n      const end = skipTrivia(file.text, typeParameters.end) + \">\".length;\n      return grammarErrorAtPos(file, start, end - start, Diagnostics.Type_parameter_list_cannot_be_empty);\n    }\n    return false;\n  }\n  function checkGrammarParameterList(parameters) {\n    let seenOptionalParameter = false;\n    const parameterCount = parameters.length;\n    for (let i = 0; i < parameterCount; i++) {\n      const parameter = parameters[i];\n      if (parameter.dotDotDotToken) {\n        if (i !== parameterCount - 1) {\n          return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);\n        }\n        if (!(parameter.flags & 16777216 /* Ambient */)) {\n          checkGrammarForDisallowedTrailingComma(parameters, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n        }\n        if (parameter.questionToken) {\n          return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_rest_parameter_cannot_be_optional);\n        }\n        if (parameter.initializer) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.A_rest_parameter_cannot_have_an_initializer);\n        }\n      } else if (isOptionalParameter(parameter)) {\n        seenOptionalParameter = true;\n        if (parameter.questionToken && parameter.initializer) {\n          return grammarErrorOnNode(parameter.name, Diagnostics.Parameter_cannot_have_question_mark_and_initializer);\n        }\n      } else if (seenOptionalParameter && !parameter.initializer) {\n        return grammarErrorOnNode(parameter.name, Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter);\n      }\n    }\n  }\n  function getNonSimpleParameters(parameters) {\n    return filter(parameters, (parameter) => !!parameter.initializer || isBindingPattern(parameter.name) || isRestParameter(parameter));\n  }\n  function checkGrammarForUseStrictSimpleParameterList(node) {\n    if (languageVersion >= 3 /* ES2016 */) {\n      const useStrictDirective = node.body && isBlock(node.body) && findUseStrictPrologue(node.body.statements);\n      if (useStrictDirective) {\n        const nonSimpleParameters = getNonSimpleParameters(node.parameters);\n        if (length(nonSimpleParameters)) {\n          forEach(nonSimpleParameters, (parameter) => {\n            addRelatedInfo(\n              error(parameter, Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),\n              createDiagnosticForNode(useStrictDirective, Diagnostics.use_strict_directive_used_here)\n            );\n          });\n          const diagnostics2 = nonSimpleParameters.map((parameter, index) => index === 0 ? createDiagnosticForNode(parameter, Diagnostics.Non_simple_parameter_declared_here) : createDiagnosticForNode(parameter, Diagnostics.and_here));\n          addRelatedInfo(error(useStrictDirective, Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list), ...diagnostics2);\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function checkGrammarFunctionLikeDeclaration(node) {\n    const file = getSourceFileOfNode(node);\n    return checkGrammarDecoratorsAndModifiers(node) || checkGrammarTypeParameterList(node.typeParameters, file) || checkGrammarParameterList(node.parameters) || checkGrammarArrowFunction(node, file) || isFunctionLikeDeclaration(node) && checkGrammarForUseStrictSimpleParameterList(node);\n  }\n  function checkGrammarClassLikeDeclaration(node) {\n    const file = getSourceFileOfNode(node);\n    return checkGrammarClassDeclarationHeritageClauses(node) || checkGrammarTypeParameterList(node.typeParameters, file);\n  }\n  function checkGrammarArrowFunction(node, file) {\n    if (!isArrowFunction(node)) {\n      return false;\n    }\n    if (node.typeParameters && !(length(node.typeParameters) > 1 || node.typeParameters.hasTrailingComma || node.typeParameters[0].constraint)) {\n      if (file && fileExtensionIsOneOf(file.fileName, [\".mts\" /* Mts */, \".cts\" /* Cts */])) {\n        grammarErrorOnNode(node.typeParameters[0], Diagnostics.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);\n      }\n    }\n    const { equalsGreaterThanToken } = node;\n    const startLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.pos).line;\n    const endLine = getLineAndCharacterOfPosition(file, equalsGreaterThanToken.end).line;\n    return startLine !== endLine && grammarErrorOnNode(equalsGreaterThanToken, Diagnostics.Line_terminator_not_permitted_before_arrow);\n  }\n  function checkGrammarIndexSignatureParameters(node) {\n    const parameter = node.parameters[0];\n    if (node.parameters.length !== 1) {\n      if (parameter) {\n        return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_must_have_exactly_one_parameter);\n      } else {\n        return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_exactly_one_parameter);\n      }\n    }\n    checkGrammarForDisallowedTrailingComma(node.parameters, Diagnostics.An_index_signature_cannot_have_a_trailing_comma);\n    if (parameter.dotDotDotToken) {\n      return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.An_index_signature_cannot_have_a_rest_parameter);\n    }\n    if (hasEffectiveModifiers(parameter)) {\n      return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);\n    }\n    if (parameter.questionToken) {\n      return grammarErrorOnNode(parameter.questionToken, Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);\n    }\n    if (parameter.initializer) {\n      return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);\n    }\n    if (!parameter.type) {\n      return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);\n    }\n    const type = getTypeFromTypeNode(parameter.type);\n    if (someType(type, (t) => !!(t.flags & 8576 /* StringOrNumberLiteralOrUnique */)) || isGenericType(type)) {\n      return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead);\n    }\n    if (!everyType(type, isValidIndexKeyType)) {\n      return grammarErrorOnNode(parameter.name, Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type);\n    }\n    if (!node.type) {\n      return grammarErrorOnNode(node, Diagnostics.An_index_signature_must_have_a_type_annotation);\n    }\n    return false;\n  }\n  function checkGrammarIndexSignature(node) {\n    return checkGrammarDecoratorsAndModifiers(node) || checkGrammarIndexSignatureParameters(node);\n  }\n  function checkGrammarForAtLeastOneTypeArgument(node, typeArguments) {\n    if (typeArguments && typeArguments.length === 0) {\n      const sourceFile = getSourceFileOfNode(node);\n      const start = typeArguments.pos - \"<\".length;\n      const end = skipTrivia(sourceFile.text, typeArguments.end) + \">\".length;\n      return grammarErrorAtPos(sourceFile, start, end - start, Diagnostics.Type_argument_list_cannot_be_empty);\n    }\n    return false;\n  }\n  function checkGrammarTypeArguments(node, typeArguments) {\n    return checkGrammarForDisallowedTrailingComma(typeArguments) || checkGrammarForAtLeastOneTypeArgument(node, typeArguments);\n  }\n  function checkGrammarTaggedTemplateChain(node) {\n    if (node.questionDotToken || node.flags & 32 /* OptionalChain */) {\n      return grammarErrorOnNode(node.template, Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain);\n    }\n    return false;\n  }\n  function checkGrammarHeritageClause(node) {\n    const types = node.types;\n    if (checkGrammarForDisallowedTrailingComma(types)) {\n      return true;\n    }\n    if (types && types.length === 0) {\n      const listType = tokenToString(node.token);\n      return grammarErrorAtPos(node, types.pos, 0, Diagnostics._0_list_cannot_be_empty, listType);\n    }\n    return some(types, checkGrammarExpressionWithTypeArguments);\n  }\n  function checkGrammarExpressionWithTypeArguments(node) {\n    if (isExpressionWithTypeArguments(node) && isImportKeyword(node.expression) && node.typeArguments) {\n      return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);\n    }\n    return checkGrammarTypeArguments(node, node.typeArguments);\n  }\n  function checkGrammarClassDeclarationHeritageClauses(node) {\n    let seenExtendsClause = false;\n    let seenImplementsClause = false;\n    if (!checkGrammarDecoratorsAndModifiers(node) && node.heritageClauses) {\n      for (const heritageClause of node.heritageClauses) {\n        if (heritageClause.token === 95 /* ExtendsKeyword */) {\n          if (seenExtendsClause) {\n            return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen);\n          }\n          if (seenImplementsClause) {\n            return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_must_precede_implements_clause);\n          }\n          if (heritageClause.types.length > 1) {\n            return grammarErrorOnFirstToken(heritageClause.types[1], Diagnostics.Classes_can_only_extend_a_single_class);\n          }\n          seenExtendsClause = true;\n        } else {\n          Debug.assert(heritageClause.token === 118 /* ImplementsKeyword */);\n          if (seenImplementsClause) {\n            return grammarErrorOnFirstToken(heritageClause, Diagnostics.implements_clause_already_seen);\n          }\n          seenImplementsClause = true;\n        }\n        checkGrammarHeritageClause(heritageClause);\n      }\n    }\n  }\n  function checkGrammarInterfaceDeclaration(node) {\n    let seenExtendsClause = false;\n    if (node.heritageClauses) {\n      for (const heritageClause of node.heritageClauses) {\n        if (heritageClause.token === 95 /* ExtendsKeyword */) {\n          if (seenExtendsClause) {\n            return grammarErrorOnFirstToken(heritageClause, Diagnostics.extends_clause_already_seen);\n          }\n          seenExtendsClause = true;\n        } else {\n          Debug.assert(heritageClause.token === 118 /* ImplementsKeyword */);\n          return grammarErrorOnFirstToken(heritageClause, Diagnostics.Interface_declaration_cannot_have_implements_clause);\n        }\n        checkGrammarHeritageClause(heritageClause);\n      }\n    }\n    return false;\n  }\n  function checkGrammarComputedPropertyName(node) {\n    if (node.kind !== 166 /* ComputedPropertyName */) {\n      return false;\n    }\n    const computedPropertyName = node;\n    if (computedPropertyName.expression.kind === 227 /* BinaryExpression */ && computedPropertyName.expression.operatorToken.kind === 27 /* CommaToken */) {\n      return grammarErrorOnNode(computedPropertyName.expression, Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name);\n    }\n    return false;\n  }\n  function checkGrammarForGenerator(node) {\n    if (node.asteriskToken) {\n      Debug.assert(\n        node.kind === 263 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */ || node.kind === 174 /* MethodDeclaration */\n      );\n      if (node.flags & 16777216 /* Ambient */) {\n        return grammarErrorOnNode(node.asteriskToken, Diagnostics.Generators_are_not_allowed_in_an_ambient_context);\n      }\n      if (!node.body) {\n        return grammarErrorOnNode(node.asteriskToken, Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator);\n      }\n    }\n  }\n  function checkGrammarForInvalidQuestionMark(questionToken, message) {\n    return !!questionToken && grammarErrorOnNode(questionToken, message);\n  }\n  function checkGrammarForInvalidExclamationToken(exclamationToken, message) {\n    return !!exclamationToken && grammarErrorOnNode(exclamationToken, message);\n  }\n  function checkGrammarObjectLiteralExpression(node, inDestructuring) {\n    const seen = new Map2();\n    for (const prop of node.properties) {\n      if (prop.kind === 307 /* SpreadAssignment */) {\n        if (inDestructuring) {\n          const expression = skipParentheses(prop.expression);\n          if (isArrayLiteralExpression(expression) || isObjectLiteralExpression(expression)) {\n            return grammarErrorOnNode(prop.expression, Diagnostics.A_rest_element_cannot_contain_a_binding_pattern);\n          }\n        }\n        continue;\n      }\n      const name = prop.name;\n      if (name.kind === 166 /* ComputedPropertyName */) {\n        checkGrammarComputedPropertyName(name);\n      }\n      if (prop.kind === 306 /* ShorthandPropertyAssignment */ && !inDestructuring && prop.objectAssignmentInitializer) {\n        grammarErrorOnNode(prop.equalsToken, Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern);\n      }\n      if (name.kind === 80 /* PrivateIdentifier */) {\n        grammarErrorOnNode(name, Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);\n      }\n      if (canHaveModifiers(prop) && prop.modifiers) {\n        for (const mod of prop.modifiers) {\n          if (isModifier(mod) && (mod.kind !== 133 /* AsyncKeyword */ || prop.kind !== 174 /* MethodDeclaration */)) {\n            grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));\n          }\n        }\n      } else if (canHaveIllegalModifiers(prop) && prop.modifiers) {\n        for (const mod of prop.modifiers) {\n          grammarErrorOnNode(mod, Diagnostics._0_modifier_cannot_be_used_here, getTextOfNode(mod));\n        }\n      }\n      let currentKind;\n      switch (prop.kind) {\n        case 306 /* ShorthandPropertyAssignment */:\n        case 305 /* PropertyAssignment */:\n          checkGrammarForInvalidExclamationToken(prop.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);\n          checkGrammarForInvalidQuestionMark(prop.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional);\n          if (name.kind === 8 /* NumericLiteral */) {\n            checkGrammarNumericLiteral(name);\n          }\n          currentKind = 4 /* PropertyAssignment */;\n          break;\n        case 174 /* MethodDeclaration */:\n          currentKind = 8 /* Method */;\n          break;\n        case 177 /* GetAccessor */:\n          currentKind = 1 /* GetAccessor */;\n          break;\n        case 178 /* SetAccessor */:\n          currentKind = 2 /* SetAccessor */;\n          break;\n        default:\n          throw Debug.assertNever(prop, \"Unexpected syntax kind:\" + prop.kind);\n      }\n      if (!inDestructuring) {\n        const effectiveName = getPropertyNameForPropertyNameNode(name);\n        if (effectiveName === void 0) {\n          continue;\n        }\n        const existingKind = seen.get(effectiveName);\n        if (!existingKind) {\n          seen.set(effectiveName, currentKind);\n        } else {\n          if (currentKind & 8 /* Method */ && existingKind & 8 /* Method */) {\n            grammarErrorOnNode(name, Diagnostics.Duplicate_identifier_0, getTextOfNode(name));\n          } else if (currentKind & 4 /* PropertyAssignment */ && existingKind & 4 /* PropertyAssignment */) {\n            grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name, getTextOfNode(name));\n          } else if (currentKind & 3 /* GetOrSetAccessor */ && existingKind & 3 /* GetOrSetAccessor */) {\n            if (existingKind !== 3 /* GetOrSetAccessor */ && currentKind !== existingKind) {\n              seen.set(effectiveName, currentKind | existingKind);\n            } else {\n              return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);\n            }\n          } else {\n            return grammarErrorOnNode(name, Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);\n          }\n        }\n      }\n    }\n  }\n  function checkGrammarJsxElement(node) {\n    checkGrammarJsxName(node.tagName);\n    checkGrammarTypeArguments(node, node.typeArguments);\n    const seen = new Map2();\n    for (const attr of node.attributes.properties) {\n      if (attr.kind === 296 /* JsxSpreadAttribute */) {\n        continue;\n      }\n      const { name, initializer } = attr;\n      if (!seen.get(name.escapedText)) {\n        seen.set(name.escapedText, true);\n      } else {\n        return grammarErrorOnNode(name, Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);\n      }\n      if (initializer && initializer.kind === 297 /* JsxExpression */ && !initializer.expression) {\n        return grammarErrorOnNode(initializer, Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression);\n      }\n    }\n  }\n  function checkGrammarJsxName(node) {\n    if (isPropertyAccessExpression(node)) {\n      let propName = node;\n      do {\n        const check2 = checkGrammarJsxNestedIdentifier(propName.name);\n        if (check2) {\n          return check2;\n        }\n        propName = propName.expression;\n      } while (isPropertyAccessExpression(propName));\n      const check = checkGrammarJsxNestedIdentifier(propName);\n      if (check) {\n        return check;\n      }\n    }\n    function checkGrammarJsxNestedIdentifier(name) {\n      if (isIdentifier(name) && idText(name).indexOf(\":\") !== -1) {\n        return grammarErrorOnNode(name, Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names);\n      }\n    }\n  }\n  function checkGrammarJsxExpression(node) {\n    if (node.expression && isCommaSequence(node.expression)) {\n      return grammarErrorOnNode(node.expression, Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array);\n    }\n  }\n  function checkGrammarForInOrForOfStatement(forInOrOfStatement) {\n    if (checkGrammarStatementInAmbientContext(forInOrOfStatement)) {\n      return true;\n    }\n    if (forInOrOfStatement.kind === 251 /* ForOfStatement */ && forInOrOfStatement.awaitModifier) {\n      if (!(forInOrOfStatement.flags & 32768 /* AwaitContext */)) {\n        const sourceFile = getSourceFileOfNode(forInOrOfStatement);\n        if (isInTopLevelContext(forInOrOfStatement)) {\n          if (!hasParseDiagnostics(sourceFile)) {\n            if (!isEffectiveExternalModule(sourceFile, compilerOptions)) {\n              diagnostics.add(createDiagnosticForNode(\n                forInOrOfStatement.awaitModifier,\n                Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module\n              ));\n            }\n            switch (moduleKind) {\n              case 100 /* Node16 */:\n              case 199 /* NodeNext */:\n                if (sourceFile.impliedNodeFormat === 1 /* CommonJS */) {\n                  diagnostics.add(\n                    createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)\n                  );\n                  break;\n                }\n              case 7 /* ES2022 */:\n              case 99 /* ESNext */:\n              case 4 /* System */:\n                if (languageVersion >= 4 /* ES2017 */) {\n                  break;\n                }\n              default:\n                diagnostics.add(\n                  createDiagnosticForNode(\n                    forInOrOfStatement.awaitModifier,\n                    Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher\n                  )\n                );\n                break;\n            }\n          }\n        } else {\n          if (!hasParseDiagnostics(sourceFile)) {\n            const diagnostic = createDiagnosticForNode(forInOrOfStatement.awaitModifier, Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);\n            const func = getContainingFunction(forInOrOfStatement);\n            if (func && func.kind !== 176 /* Constructor */) {\n              Debug.assert((getFunctionFlags(func) & 2 /* Async */) === 0, \"Enclosing function should never be an async function.\");\n              const relatedInfo = createDiagnosticForNode(func, Diagnostics.Did_you_mean_to_mark_this_function_as_async);\n              addRelatedInfo(diagnostic, relatedInfo);\n            }\n            diagnostics.add(diagnostic);\n            return true;\n          }\n        }\n        return false;\n      }\n    }\n    if (isForOfStatement(forInOrOfStatement) && !(forInOrOfStatement.flags & 32768 /* AwaitContext */) && isIdentifier(forInOrOfStatement.initializer) && forInOrOfStatement.initializer.escapedText === \"async\") {\n      grammarErrorOnNode(forInOrOfStatement.initializer, Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async);\n      return false;\n    }\n    if (forInOrOfStatement.initializer.kind === 262 /* VariableDeclarationList */) {\n      const variableList = forInOrOfStatement.initializer;\n      if (!checkGrammarVariableDeclarationList(variableList)) {\n        const declarations = variableList.declarations;\n        if (!declarations.length) {\n          return false;\n        }\n        if (declarations.length > 1) {\n          const diagnostic = forInOrOfStatement.kind === 250 /* ForInStatement */ ? Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement : Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;\n          return grammarErrorOnFirstToken(variableList.declarations[1], diagnostic);\n        }\n        const firstDeclaration = declarations[0];\n        if (firstDeclaration.initializer) {\n          const diagnostic = forInOrOfStatement.kind === 250 /* ForInStatement */ ? Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer : Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;\n          return grammarErrorOnNode(firstDeclaration.name, diagnostic);\n        }\n        if (firstDeclaration.type) {\n          const diagnostic = forInOrOfStatement.kind === 250 /* ForInStatement */ ? Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation : Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;\n          return grammarErrorOnNode(firstDeclaration, diagnostic);\n        }\n      }\n    }\n    return false;\n  }\n  function checkGrammarAccessor(accessor) {\n    if (!(accessor.flags & 16777216 /* Ambient */) && accessor.parent.kind !== 187 /* TypeLiteral */ && accessor.parent.kind !== 267 /* InterfaceDeclaration */) {\n      if (languageVersion < 1 /* ES5 */) {\n        return grammarErrorOnNode(accessor.name, Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);\n      }\n      if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(accessor.name)) {\n        return grammarErrorOnNode(accessor.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n      }\n      if (accessor.body === void 0 && !hasSyntacticModifier(accessor, 256 /* Abstract */)) {\n        return grammarErrorAtPos(accessor, accessor.end - 1, \";\".length, Diagnostics._0_expected, \"{\");\n      }\n    }\n    if (accessor.body) {\n      if (hasSyntacticModifier(accessor, 256 /* Abstract */)) {\n        return grammarErrorOnNode(accessor, Diagnostics.An_abstract_accessor_cannot_have_an_implementation);\n      }\n      if (accessor.parent.kind === 187 /* TypeLiteral */ || accessor.parent.kind === 267 /* InterfaceDeclaration */) {\n        return grammarErrorOnNode(accessor.body, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);\n      }\n    }\n    if (accessor.typeParameters) {\n      return grammarErrorOnNode(accessor.name, Diagnostics.An_accessor_cannot_have_type_parameters);\n    }\n    if (!doesAccessorHaveCorrectParameterCount(accessor)) {\n      return grammarErrorOnNode(\n        accessor.name,\n        accessor.kind === 177 /* GetAccessor */ ? Diagnostics.A_get_accessor_cannot_have_parameters : Diagnostics.A_set_accessor_must_have_exactly_one_parameter\n      );\n    }\n    if (accessor.kind === 178 /* SetAccessor */) {\n      if (accessor.type) {\n        return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation);\n      }\n      const parameter = Debug.checkDefined(getSetAccessorValueParameter(accessor), \"Return value does not match parameter count assertion.\");\n      if (parameter.dotDotDotToken) {\n        return grammarErrorOnNode(parameter.dotDotDotToken, Diagnostics.A_set_accessor_cannot_have_rest_parameter);\n      }\n      if (parameter.questionToken) {\n        return grammarErrorOnNode(parameter.questionToken, Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);\n      }\n      if (parameter.initializer) {\n        return grammarErrorOnNode(accessor.name, Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer);\n      }\n    }\n    return false;\n  }\n  function doesAccessorHaveCorrectParameterCount(accessor) {\n    return getAccessorThisParameter(accessor) || accessor.parameters.length === (accessor.kind === 177 /* GetAccessor */ ? 0 : 1);\n  }\n  function getAccessorThisParameter(accessor) {\n    if (accessor.parameters.length === (accessor.kind === 177 /* GetAccessor */ ? 1 : 2)) {\n      return getThisParameter(accessor);\n    }\n  }\n  function checkGrammarTypeOperatorNode(node) {\n    if (node.operator === 158 /* UniqueKeyword */) {\n      if (node.type.kind !== 154 /* SymbolKeyword */) {\n        return grammarErrorOnNode(node.type, Diagnostics._0_expected, tokenToString(154 /* SymbolKeyword */));\n      }\n      let parent2 = walkUpParenthesizedTypes(node.parent);\n      if (isInJSFile(parent2) && isJSDocTypeExpression(parent2)) {\n        const host2 = getJSDocHost(parent2);\n        if (host2) {\n          parent2 = getSingleVariableOfVariableStatement(host2) || host2;\n        }\n      }\n      switch (parent2.kind) {\n        case 261 /* VariableDeclaration */:\n          const decl = parent2;\n          if (decl.name.kind !== 79 /* Identifier */) {\n            return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);\n          }\n          if (!isVariableDeclarationInVariableStatement(decl)) {\n            return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);\n          }\n          if (!(decl.parent.flags & 2 /* Const */)) {\n            return grammarErrorOnNode(parent2.name, Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);\n          }\n          break;\n        case 171 /* PropertyDeclaration */:\n          if (!isStatic(parent2) || !hasEffectiveReadonlyModifier(parent2)) {\n            return grammarErrorOnNode(parent2.name, Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);\n          }\n          break;\n        case 170 /* PropertySignature */:\n          if (!hasSyntacticModifier(parent2, 64 /* Readonly */)) {\n            return grammarErrorOnNode(parent2.name, Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);\n          }\n          break;\n        default:\n          return grammarErrorOnNode(node, Diagnostics.unique_symbol_types_are_not_allowed_here);\n      }\n    } else if (node.operator === 147 /* ReadonlyKeyword */) {\n      if (node.type.kind !== 188 /* ArrayType */ && node.type.kind !== 189 /* TupleType */) {\n        return grammarErrorOnFirstToken(node, Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types, tokenToString(154 /* SymbolKeyword */));\n      }\n    }\n  }\n  function checkGrammarForInvalidDynamicName(node, message) {\n    if (isNonBindableDynamicName(node)) {\n      return grammarErrorOnNode(node, message);\n    }\n  }\n  function checkGrammarMethod(node) {\n    if (checkGrammarFunctionLikeDeclaration(node)) {\n      return true;\n    }\n    if (node.kind === 174 /* MethodDeclaration */) {\n      if (node.parent.kind === 210 /* ObjectLiteralExpression */) {\n        if (node.modifiers && !(node.modifiers.length === 1 && first(node.modifiers).kind === 133 /* AsyncKeyword */)) {\n          return grammarErrorOnFirstToken(node, Diagnostics.Modifiers_cannot_appear_here);\n        } else if (checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_object_member_cannot_be_declared_optional)) {\n          return true;\n        } else if (checkGrammarForInvalidExclamationToken(node.exclamationToken, Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)) {\n          return true;\n        } else if (node.body === void 0) {\n          return grammarErrorAtPos(node, node.end - 1, \";\".length, Diagnostics._0_expected, \"{\");\n        }\n      }\n      if (checkGrammarForGenerator(node)) {\n        return true;\n      }\n    }\n    if (isClassLike(node.parent)) {\n      if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(node.name)) {\n        return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n      }\n      if (node.flags & 16777216 /* Ambient */) {\n        return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n      } else if (node.kind === 174 /* MethodDeclaration */ && !node.body) {\n        return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n      }\n    } else if (node.parent.kind === 267 /* InterfaceDeclaration */) {\n      return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n    } else if (node.parent.kind === 187 /* TypeLiteral */) {\n      return checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);\n    }\n  }\n  function checkGrammarBreakOrContinueStatement(node) {\n    let current = node;\n    while (current) {\n      if (isFunctionLikeOrClassStaticBlockDeclaration(current)) {\n        return grammarErrorOnNode(node, Diagnostics.Jump_target_cannot_cross_function_boundary);\n      }\n      switch (current.kind) {\n        case 257 /* LabeledStatement */:\n          if (node.label && current.label.escapedText === node.label.escapedText) {\n            const isMisplacedContinueLabel = node.kind === 252 /* ContinueStatement */ && !isIterationStatement(current.statement, true);\n            if (isMisplacedContinueLabel) {\n              return grammarErrorOnNode(node, Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);\n            }\n            return false;\n          }\n          break;\n        case 256 /* SwitchStatement */:\n          if (node.kind === 253 /* BreakStatement */ && !node.label) {\n            return false;\n          }\n          break;\n        default:\n          if (isIterationStatement(current, false) && !node.label) {\n            return false;\n          }\n          break;\n      }\n      current = current.parent;\n    }\n    if (node.label) {\n      const message = node.kind === 253 /* BreakStatement */ ? Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement : Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;\n      return grammarErrorOnNode(node, message);\n    } else {\n      const message = node.kind === 253 /* BreakStatement */ ? Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement : Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;\n      return grammarErrorOnNode(node, message);\n    }\n  }\n  function checkGrammarBindingElement(node) {\n    if (node.dotDotDotToken) {\n      const elements = node.parent.elements;\n      if (node !== last(elements)) {\n        return grammarErrorOnNode(node, Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);\n      }\n      checkGrammarForDisallowedTrailingComma(elements, Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);\n      if (node.propertyName) {\n        return grammarErrorOnNode(node.name, Diagnostics.A_rest_element_cannot_have_a_property_name);\n      }\n    }\n    if (node.dotDotDotToken && node.initializer) {\n      return grammarErrorAtPos(node, node.initializer.pos - 1, 1, Diagnostics.A_rest_element_cannot_have_an_initializer);\n    }\n  }\n  function isStringOrNumberLiteralExpression(expr) {\n    return isStringOrNumericLiteralLike(expr) || expr.kind === 225 /* PrefixUnaryExpression */ && expr.operator === 40 /* MinusToken */ && expr.operand.kind === 8 /* NumericLiteral */;\n  }\n  function isBigIntLiteralExpression(expr) {\n    return expr.kind === 9 /* BigIntLiteral */ || expr.kind === 225 /* PrefixUnaryExpression */ && expr.operator === 40 /* MinusToken */ && expr.operand.kind === 9 /* BigIntLiteral */;\n  }\n  function isSimpleLiteralEnumReference(expr) {\n    if ((isPropertyAccessExpression(expr) || isElementAccessExpression(expr) && isStringOrNumberLiteralExpression(expr.argumentExpression)) && isEntityNameExpression(expr.expression)) {\n      return !!(checkExpressionCached(expr).flags & 1024 /* EnumLiteral */);\n    }\n  }\n  function checkAmbientInitializer(node) {\n    const initializer = node.initializer;\n    if (initializer) {\n      const isInvalidInitializer = !(isStringOrNumberLiteralExpression(initializer) || isSimpleLiteralEnumReference(initializer) || initializer.kind === 111 /* TrueKeyword */ || initializer.kind === 96 /* FalseKeyword */ || isBigIntLiteralExpression(initializer));\n      const isConstOrReadonly = isDeclarationReadonly(node) || isVariableDeclaration(node) && isVarConst(node);\n      if (isConstOrReadonly && !node.type) {\n        if (isInvalidInitializer) {\n          return grammarErrorOnNode(initializer, Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);\n        }\n      } else {\n        return grammarErrorOnNode(initializer, Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);\n      }\n    }\n  }\n  function checkGrammarVariableDeclaration(node) {\n    if (node.parent.parent.kind !== 250 /* ForInStatement */ && node.parent.parent.kind !== 251 /* ForOfStatement */) {\n      if (node.flags & 16777216 /* Ambient */) {\n        checkAmbientInitializer(node);\n      } else if (!node.initializer) {\n        if (isBindingPattern(node.name) && !isBindingPattern(node.parent)) {\n          return grammarErrorOnNode(node, Diagnostics.A_destructuring_declaration_must_have_an_initializer);\n        }\n        if (isVarConst(node)) {\n          return grammarErrorOnNode(node, Diagnostics.const_declarations_must_be_initialized);\n        }\n      }\n    }\n    if (node.exclamationToken && (node.parent.parent.kind !== 244 /* VariableStatement */ || !node.type || node.initializer || node.flags & 16777216 /* Ambient */)) {\n      const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;\n      return grammarErrorOnNode(node.exclamationToken, message);\n    }\n    if ((moduleKind < 5 /* ES2015 */ || getSourceFileOfNode(node).impliedNodeFormat === 1 /* CommonJS */) && moduleKind !== 4 /* System */ && !(node.parent.parent.flags & 16777216 /* Ambient */) && hasSyntacticModifier(node.parent.parent, 1 /* Export */)) {\n      checkESModuleMarker(node.name);\n    }\n    const checkLetConstNames = isLet(node) || isVarConst(node);\n    return checkLetConstNames && checkGrammarNameInLetOrConstDeclarations(node.name);\n  }\n  function checkESModuleMarker(name) {\n    if (name.kind === 79 /* Identifier */) {\n      if (idText(name) === \"__esModule\") {\n        return grammarErrorOnNodeSkippedOn(\"noEmit\", name, Diagnostics.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules);\n      }\n    } else {\n      const elements = name.elements;\n      for (const element of elements) {\n        if (!isOmittedExpression(element)) {\n          return checkESModuleMarker(element.name);\n        }\n      }\n    }\n    return false;\n  }\n  function checkGrammarNameInLetOrConstDeclarations(name) {\n    if (name.kind === 79 /* Identifier */) {\n      if (name.originalKeywordKind === 120 /* LetKeyword */) {\n        return grammarErrorOnNode(name, Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations);\n      }\n    } else {\n      const elements = name.elements;\n      for (const element of elements) {\n        if (!isOmittedExpression(element)) {\n          checkGrammarNameInLetOrConstDeclarations(element.name);\n        }\n      }\n    }\n    return false;\n  }\n  function checkGrammarVariableDeclarationList(declarationList) {\n    const declarations = declarationList.declarations;\n    if (checkGrammarForDisallowedTrailingComma(declarationList.declarations)) {\n      return true;\n    }\n    if (!declarationList.declarations.length) {\n      return grammarErrorAtPos(declarationList, declarations.pos, declarations.end - declarations.pos, Diagnostics.Variable_declaration_list_cannot_be_empty);\n    }\n    return false;\n  }\n  function allowLetAndConstDeclarations(parent2) {\n    switch (parent2.kind) {\n      case 246 /* IfStatement */:\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n      case 255 /* WithStatement */:\n      case 249 /* ForStatement */:\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n        return false;\n      case 257 /* LabeledStatement */:\n        return allowLetAndConstDeclarations(parent2.parent);\n    }\n    return true;\n  }\n  function checkGrammarForDisallowedLetOrConstStatement(node) {\n    if (!allowLetAndConstDeclarations(node.parent)) {\n      if (isLet(node.declarationList)) {\n        return grammarErrorOnNode(node, Diagnostics.let_declarations_can_only_be_declared_inside_a_block);\n      } else if (isVarConst(node.declarationList)) {\n        return grammarErrorOnNode(node, Diagnostics.const_declarations_can_only_be_declared_inside_a_block);\n      }\n    }\n  }\n  function checkGrammarMetaProperty(node) {\n    const escapedText = node.name.escapedText;\n    switch (node.keywordToken) {\n      case 104 /* NewKeyword */:\n        if (escapedText !== \"target\") {\n          return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, node.name.escapedText, tokenToString(node.keywordToken), \"target\");\n        }\n        break;\n      case 101 /* ImportKeyword */:\n        if (escapedText !== \"meta\") {\n          return grammarErrorOnNode(node.name, Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2, node.name.escapedText, tokenToString(node.keywordToken), \"meta\");\n        }\n        break;\n    }\n  }\n  function hasParseDiagnostics(sourceFile) {\n    return sourceFile.parseDiagnostics.length > 0;\n  }\n  function grammarErrorOnFirstToken(node, message, arg0, arg1, arg2) {\n    const sourceFile = getSourceFileOfNode(node);\n    if (!hasParseDiagnostics(sourceFile)) {\n      const span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n      diagnostics.add(createFileDiagnostic(sourceFile, span.start, span.length, message, arg0, arg1, arg2));\n      return true;\n    }\n    return false;\n  }\n  function grammarErrorAtPos(nodeForSourceFile, start, length2, message, arg0, arg1, arg2) {\n    const sourceFile = getSourceFileOfNode(nodeForSourceFile);\n    if (!hasParseDiagnostics(sourceFile)) {\n      diagnostics.add(createFileDiagnostic(sourceFile, start, length2, message, arg0, arg1, arg2));\n      return true;\n    }\n    return false;\n  }\n  function grammarErrorOnNodeSkippedOn(key, node, message, arg0, arg1, arg2) {\n    const sourceFile = getSourceFileOfNode(node);\n    if (!hasParseDiagnostics(sourceFile)) {\n      errorSkippedOn(key, node, message, arg0, arg1, arg2);\n      return true;\n    }\n    return false;\n  }\n  function grammarErrorOnNode(node, message, arg0, arg1, arg2) {\n    const sourceFile = getSourceFileOfNode(node);\n    if (!hasParseDiagnostics(sourceFile)) {\n      diagnostics.add(createDiagnosticForNode(node, message, arg0, arg1, arg2));\n      return true;\n    }\n    return false;\n  }\n  function checkGrammarConstructorTypeParameters(node) {\n    const jsdocTypeParameters = isInJSFile(node) ? getJSDocTypeParameterDeclarations(node) : void 0;\n    const range = node.typeParameters || jsdocTypeParameters && firstOrUndefined(jsdocTypeParameters);\n    if (range) {\n      const pos = range.pos === range.end ? range.pos : skipTrivia(getSourceFileOfNode(node).text, range.pos);\n      return grammarErrorAtPos(node, pos, range.end - pos, Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration);\n    }\n  }\n  function checkGrammarConstructorTypeAnnotation(node) {\n    const type = node.type || getEffectiveReturnTypeNode(node);\n    if (type) {\n      return grammarErrorOnNode(type, Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration);\n    }\n  }\n  function checkGrammarProperty(node) {\n    if (isComputedPropertyName(node.name) && isBinaryExpression(node.name.expression) && node.name.expression.operatorToken.kind === 102 /* InKeyword */) {\n      return grammarErrorOnNode(\n        node.parent.members[0],\n        Diagnostics.A_mapped_type_may_not_declare_properties_or_methods\n      );\n    }\n    if (isClassLike(node.parent)) {\n      if (isStringLiteral(node.name) && node.name.text === \"constructor\") {\n        return grammarErrorOnNode(node.name, Diagnostics.Classes_may_not_have_a_field_named_constructor);\n      }\n      if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)) {\n        return true;\n      }\n      if (languageVersion < 2 /* ES2015 */ && isPrivateIdentifier(node.name)) {\n        return grammarErrorOnNode(node.name, Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n      }\n      if (languageVersion < 2 /* ES2015 */ && isAutoAccessorPropertyDeclaration(node)) {\n        return grammarErrorOnNode(node.name, Diagnostics.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);\n      }\n      if (isAutoAccessorPropertyDeclaration(node) && checkGrammarForInvalidQuestionMark(node.questionToken, Diagnostics.An_accessor_property_cannot_be_declared_optional)) {\n        return true;\n      }\n    } else if (node.parent.kind === 267 /* InterfaceDeclaration */) {\n      if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) {\n        return true;\n      }\n      Debug.assertNode(node, isPropertySignature);\n      if (node.initializer) {\n        return grammarErrorOnNode(node.initializer, Diagnostics.An_interface_property_cannot_have_an_initializer);\n      }\n    } else if (isTypeLiteralNode(node.parent)) {\n      if (checkGrammarForInvalidDynamicName(node.name, Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)) {\n        return true;\n      }\n      Debug.assertNode(node, isPropertySignature);\n      if (node.initializer) {\n        return grammarErrorOnNode(node.initializer, Diagnostics.A_type_literal_property_cannot_have_an_initializer);\n      }\n    }\n    if (node.flags & 16777216 /* Ambient */) {\n      checkAmbientInitializer(node);\n    }\n    if (isPropertyDeclaration(node) && node.exclamationToken && (!isClassLike(node.parent) || !node.type || node.initializer || node.flags & 16777216 /* Ambient */ || isStatic(node) || hasAbstractModifier(node))) {\n      const message = node.initializer ? Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions : !node.type ? Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations : Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;\n      return grammarErrorOnNode(node.exclamationToken, message);\n    }\n  }\n  function checkGrammarTopLevelElementForRequiredDeclareModifier(node) {\n    if (node.kind === 267 /* InterfaceDeclaration */ || node.kind === 268 /* TypeAliasDeclaration */ || node.kind === 275 /* ImportDeclaration */ || node.kind === 274 /* ImportEqualsDeclaration */ || node.kind === 281 /* ExportDeclaration */ || node.kind === 280 /* ExportAssignment */ || node.kind === 273 /* NamespaceExportDeclaration */ || hasSyntacticModifier(node, 2 /* Ambient */ | 1 /* Export */ | 1024 /* Default */)) {\n      return false;\n    }\n    return grammarErrorOnFirstToken(node, Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier);\n  }\n  function checkGrammarTopLevelElementsForRequiredDeclareModifier(file) {\n    for (const decl of file.statements) {\n      if (isDeclaration(decl) || decl.kind === 244 /* VariableStatement */) {\n        if (checkGrammarTopLevelElementForRequiredDeclareModifier(decl)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function checkGrammarSourceFile(node) {\n    return !!(node.flags & 16777216 /* Ambient */) && checkGrammarTopLevelElementsForRequiredDeclareModifier(node);\n  }\n  function checkGrammarStatementInAmbientContext(node) {\n    if (node.flags & 16777216 /* Ambient */) {\n      const links = getNodeLinks(node);\n      if (!links.hasReportedStatementInAmbientContext && (isFunctionLike(node.parent) || isAccessor(node.parent))) {\n        return getNodeLinks(node).hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);\n      }\n      if (node.parent.kind === 242 /* Block */ || node.parent.kind === 271 /* ModuleBlock */ || node.parent.kind === 314 /* SourceFile */) {\n        const links2 = getNodeLinks(node.parent);\n        if (!links2.hasReportedStatementInAmbientContext) {\n          return links2.hasReportedStatementInAmbientContext = grammarErrorOnFirstToken(node, Diagnostics.Statements_are_not_allowed_in_ambient_contexts);\n        }\n      } else {\n      }\n    }\n    return false;\n  }\n  function checkGrammarNumericLiteral(node) {\n    if (node.numericLiteralFlags & 32 /* Octal */) {\n      let diagnosticMessage;\n      if (languageVersion >= 1 /* ES5 */) {\n        diagnosticMessage = Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0;\n      } else if (isChildOfNodeWithKind(node, 201 /* LiteralType */)) {\n        diagnosticMessage = Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0;\n      } else if (isChildOfNodeWithKind(node, 308 /* EnumMember */)) {\n        diagnosticMessage = Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0;\n      }\n      if (diagnosticMessage) {\n        const withMinus = isPrefixUnaryExpression(node.parent) && node.parent.operator === 40 /* MinusToken */;\n        const literal = (withMinus ? \"-\" : \"\") + \"0o\" + node.text;\n        return grammarErrorOnNode(withMinus ? node.parent : node, diagnosticMessage, literal);\n      }\n    }\n    checkNumericLiteralValueSize(node);\n    return false;\n  }\n  function checkNumericLiteralValueSize(node) {\n    const isFractional = getTextOfNode(node).indexOf(\".\") !== -1;\n    const isScientific = node.numericLiteralFlags & 16 /* Scientific */;\n    if (isFractional || isScientific) {\n      return;\n    }\n    const value = +node.text;\n    if (value <= 2 ** 53 - 1) {\n      return;\n    }\n    addErrorOrSuggestion(false, createDiagnosticForNode(node, Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers));\n  }\n  function checkGrammarBigIntLiteral(node) {\n    const literalType = isLiteralTypeNode(node.parent) || isPrefixUnaryExpression(node.parent) && isLiteralTypeNode(node.parent.parent);\n    if (!literalType) {\n      if (languageVersion < 7 /* ES2020 */) {\n        if (grammarErrorOnNode(node, Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function grammarErrorAfterFirstToken(node, message, arg0, arg1, arg2) {\n    const sourceFile = getSourceFileOfNode(node);\n    if (!hasParseDiagnostics(sourceFile)) {\n      const span = getSpanOfTokenAtPosition(sourceFile, node.pos);\n      diagnostics.add(createFileDiagnostic(sourceFile, textSpanEnd(span), 0, message, arg0, arg1, arg2));\n      return true;\n    }\n    return false;\n  }\n  function getAmbientModules() {\n    if (!ambientModulesCache) {\n      ambientModulesCache = [];\n      globals.forEach((global2, sym) => {\n        if (ambientModuleSymbolRegex.test(sym)) {\n          ambientModulesCache.push(global2);\n        }\n      });\n    }\n    return ambientModulesCache;\n  }\n  function checkGrammarImportClause(node) {\n    var _a2;\n    if (node.isTypeOnly && node.name && node.namedBindings) {\n      return grammarErrorOnNode(node, Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);\n    }\n    if (node.isTypeOnly && ((_a2 = node.namedBindings) == null ? void 0 : _a2.kind) === 278 /* NamedImports */) {\n      return checkGrammarNamedImportsOrExports(node.namedBindings);\n    }\n    return false;\n  }\n  function checkGrammarNamedImportsOrExports(namedBindings) {\n    return !!forEach(namedBindings.elements, (specifier) => {\n      if (specifier.isTypeOnly) {\n        return grammarErrorOnFirstToken(\n          specifier,\n          specifier.kind === 279 /* ImportSpecifier */ ? Diagnostics.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement : Diagnostics.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement\n        );\n      }\n    });\n  }\n  function checkGrammarImportCallExpression(node) {\n    if (moduleKind === 5 /* ES2015 */) {\n      return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);\n    }\n    if (node.typeArguments) {\n      return grammarErrorOnNode(node, Diagnostics.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);\n    }\n    const nodeArguments = node.arguments;\n    if (moduleKind !== 99 /* ESNext */ && moduleKind !== 199 /* NodeNext */ && moduleKind !== 100 /* Node16 */) {\n      checkGrammarForDisallowedTrailingComma(nodeArguments);\n      if (nodeArguments.length > 1) {\n        const assertionArgument = nodeArguments[1];\n        return grammarErrorOnNode(assertionArgument, Diagnostics.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext);\n      }\n    }\n    if (nodeArguments.length === 0 || nodeArguments.length > 2) {\n      return grammarErrorOnNode(node, Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);\n    }\n    const spreadElement = find(nodeArguments, isSpreadElement);\n    if (spreadElement) {\n      return grammarErrorOnNode(spreadElement, Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element);\n    }\n    return false;\n  }\n  function findMatchingTypeReferenceOrTypeAliasReference(source, unionTarget) {\n    const sourceObjectFlags = getObjectFlags(source);\n    if (sourceObjectFlags & (4 /* Reference */ | 16 /* Anonymous */) && unionTarget.flags & 1048576 /* Union */) {\n      return find(unionTarget.types, (target) => {\n        if (target.flags & 524288 /* Object */) {\n          const overlapObjFlags = sourceObjectFlags & getObjectFlags(target);\n          if (overlapObjFlags & 4 /* Reference */) {\n            return source.target === target.target;\n          }\n          if (overlapObjFlags & 16 /* Anonymous */) {\n            return !!source.aliasSymbol && source.aliasSymbol === target.aliasSymbol;\n          }\n        }\n        return false;\n      });\n    }\n  }\n  function findBestTypeForObjectLiteral(source, unionTarget) {\n    if (getObjectFlags(source) & 128 /* ObjectLiteral */ && someType(unionTarget, isArrayLikeType2)) {\n      return find(unionTarget.types, (t) => !isArrayLikeType2(t));\n    }\n  }\n  function findBestTypeForInvokable(source, unionTarget) {\n    let signatureKind = 0 /* Call */;\n    const hasSignatures = getSignaturesOfType(source, signatureKind).length > 0 || (signatureKind = 1 /* Construct */, getSignaturesOfType(source, signatureKind).length > 0);\n    if (hasSignatures) {\n      return find(unionTarget.types, (t) => getSignaturesOfType(t, signatureKind).length > 0);\n    }\n  }\n  function findMostOverlappyType(source, unionTarget) {\n    let bestMatch;\n    if (!(source.flags & (131068 /* Primitive */ | 406847488 /* InstantiablePrimitive */))) {\n      let matchingCount = 0;\n      for (const target of unionTarget.types) {\n        if (!(target.flags & (131068 /* Primitive */ | 406847488 /* InstantiablePrimitive */))) {\n          const overlap = getIntersectionType([getIndexType(source), getIndexType(target)]);\n          if (overlap.flags & 4194304 /* Index */) {\n            return target;\n          } else if (isUnitType(overlap) || overlap.flags & 1048576 /* Union */) {\n            const len = overlap.flags & 1048576 /* Union */ ? countWhere(overlap.types, isUnitType) : 1;\n            if (len >= matchingCount) {\n              bestMatch = target;\n              matchingCount = len;\n            }\n          }\n        }\n      }\n    }\n    return bestMatch;\n  }\n  function filterPrimitivesIfContainsNonPrimitive(type) {\n    if (maybeTypeOfKind(type, 67108864 /* NonPrimitive */)) {\n      const result = filterType(type, (t) => !(t.flags & 131068 /* Primitive */));\n      if (!(result.flags & 131072 /* Never */)) {\n        return result;\n      }\n    }\n    return type;\n  }\n  function findMatchingDiscriminantType(source, target, isRelatedTo, skipPartial) {\n    if (target.flags & 1048576 /* Union */ && source.flags & (2097152 /* Intersection */ | 524288 /* Object */)) {\n      const match = getMatchingUnionConstituentForType(target, source);\n      if (match) {\n        return match;\n      }\n      const sourceProperties = getPropertiesOfType(source);\n      if (sourceProperties) {\n        const sourcePropertiesFiltered = findDiscriminantProperties(sourceProperties, target);\n        if (sourcePropertiesFiltered) {\n          return discriminateTypeByDiscriminableItems(target, map(sourcePropertiesFiltered, (p) => [() => getTypeOfSymbol(p), p.escapedName]), isRelatedTo, void 0, skipPartial);\n        }\n      }\n    }\n    return void 0;\n  }\n}\nfunction isNotAccessor(declaration) {\n  return !isAccessor(declaration);\n}\nfunction isNotOverload(declaration) {\n  return declaration.kind !== 263 /* FunctionDeclaration */ && declaration.kind !== 174 /* MethodDeclaration */ || !!declaration.body;\n}\nfunction isDeclarationNameOrImportPropertyName(name) {\n  switch (name.parent.kind) {\n    case 279 /* ImportSpecifier */:\n    case 284 /* ExportSpecifier */:\n      return isIdentifier(name);\n    default:\n      return isDeclarationName(name);\n  }\n}\nvar JsxNames;\n((JsxNames2) => {\n  JsxNames2.JSX = \"JSX\";\n  JsxNames2.IntrinsicElements = \"IntrinsicElements\";\n  JsxNames2.ElementClass = \"ElementClass\";\n  JsxNames2.ElementAttributesPropertyNameContainer = \"ElementAttributesProperty\";\n  JsxNames2.ElementChildrenAttributeNameContainer = \"ElementChildrenAttribute\";\n  JsxNames2.Element = \"Element\";\n  JsxNames2.IntrinsicAttributes = \"IntrinsicAttributes\";\n  JsxNames2.IntrinsicClassAttributes = \"IntrinsicClassAttributes\";\n  JsxNames2.LibraryManagedAttributes = \"LibraryManagedAttributes\";\n})(JsxNames || (JsxNames = {}));\nfunction getIterationTypesKeyFromIterationTypeKind(typeKind) {\n  switch (typeKind) {\n    case 0 /* Yield */:\n      return \"yieldType\";\n    case 1 /* Return */:\n      return \"returnType\";\n    case 2 /* Next */:\n      return \"nextType\";\n  }\n}\nfunction signatureHasRestParameter(s) {\n  return !!(s.flags & 1 /* HasRestParameter */);\n}\nfunction signatureHasLiteralTypes(s) {\n  return !!(s.flags & 2 /* HasLiteralTypes */);\n}\n\n// src/compiler/visitorPublic.ts\nfunction visitNode(node, visitor, test, lift) {\n  if (node === void 0 || visitor === void 0) {\n    return node;\n  }\n  const visited = visitor(node);\n  if (visited === node) {\n    return node;\n  }\n  let visitedNode;\n  if (visited === void 0) {\n    return void 0;\n  } else if (isArray(visited)) {\n    visitedNode = (lift || extractSingleNode)(visited);\n  } else {\n    visitedNode = visited;\n  }\n  Debug.assertNode(visitedNode, test);\n  return visitedNode;\n}\nfunction visitNodes2(nodes, visitor, test, start, count) {\n  if (nodes === void 0 || visitor === void 0) {\n    return nodes;\n  }\n  const length2 = nodes.length;\n  if (start === void 0 || start < 0) {\n    start = 0;\n  }\n  if (count === void 0 || count > length2 - start) {\n    count = length2 - start;\n  }\n  let hasTrailingComma;\n  let pos = -1;\n  let end = -1;\n  if (start > 0 || count < length2) {\n    hasTrailingComma = nodes.hasTrailingComma && start + count === length2;\n  } else {\n    pos = nodes.pos;\n    end = nodes.end;\n    hasTrailingComma = nodes.hasTrailingComma;\n  }\n  const updated = visitArrayWorker(nodes, visitor, test, start, count);\n  if (updated !== nodes) {\n    const updatedArray = factory.createNodeArray(updated, hasTrailingComma);\n    setTextRangePosEnd(updatedArray, pos, end);\n    return updatedArray;\n  }\n  return nodes;\n}\nfunction visitArray(nodes, visitor, test, start, count) {\n  if (nodes === void 0) {\n    return nodes;\n  }\n  const length2 = nodes.length;\n  if (start === void 0 || start < 0) {\n    start = 0;\n  }\n  if (count === void 0 || count > length2 - start) {\n    count = length2 - start;\n  }\n  return visitArrayWorker(nodes, visitor, test, start, count);\n}\nfunction visitArrayWorker(nodes, visitor, test, start, count) {\n  let updated;\n  const length2 = nodes.length;\n  if (start > 0 || count < length2) {\n    updated = [];\n  }\n  for (let i = 0; i < count; i++) {\n    const node = nodes[i + start];\n    const visited = node !== void 0 ? visitor(node) : void 0;\n    if (updated !== void 0 || visited === void 0 || visited !== node) {\n      if (updated === void 0) {\n        updated = nodes.slice(0, i);\n      }\n      if (visited) {\n        if (isArray(visited)) {\n          for (const visitedNode of visited) {\n            void Debug.assertNode(visitedNode, test);\n            updated.push(visitedNode);\n          }\n        } else {\n          void Debug.assertNode(visited, test);\n          updated.push(visited);\n        }\n      }\n    }\n  }\n  return updated != null ? updated : nodes;\n}\nfunction visitLexicalEnvironment(statements, visitor, context, start, ensureUseStrict, nodesVisitor = visitNodes2) {\n  context.startLexicalEnvironment();\n  statements = nodesVisitor(statements, visitor, isStatement, start);\n  if (ensureUseStrict)\n    statements = context.factory.ensureUseStrict(statements);\n  return factory.mergeLexicalEnvironment(statements, context.endLexicalEnvironment());\n}\nfunction visitParameterList(nodes, visitor, context, nodesVisitor = visitNodes2) {\n  let updated;\n  context.startLexicalEnvironment();\n  if (nodes) {\n    context.setLexicalEnvironmentFlags(1 /* InParameters */, true);\n    updated = nodesVisitor(nodes, visitor, isParameterDeclaration);\n    if (context.getLexicalEnvironmentFlags() & 2 /* VariablesHoistedInParameters */ && getEmitScriptTarget(context.getCompilerOptions()) >= 2 /* ES2015 */) {\n      updated = addDefaultValueAssignmentsIfNeeded(updated, context);\n    }\n    context.setLexicalEnvironmentFlags(1 /* InParameters */, false);\n  }\n  context.suspendLexicalEnvironment();\n  return updated;\n}\nfunction addDefaultValueAssignmentsIfNeeded(parameters, context) {\n  let result;\n  for (let i = 0; i < parameters.length; i++) {\n    const parameter = parameters[i];\n    const updated = addDefaultValueAssignmentIfNeeded(parameter, context);\n    if (result || updated !== parameter) {\n      if (!result)\n        result = parameters.slice(0, i);\n      result[i] = updated;\n    }\n  }\n  if (result) {\n    return setTextRange(context.factory.createNodeArray(result, parameters.hasTrailingComma), parameters);\n  }\n  return parameters;\n}\nfunction addDefaultValueAssignmentIfNeeded(parameter, context) {\n  return parameter.dotDotDotToken ? parameter : isBindingPattern(parameter.name) ? addDefaultValueAssignmentForBindingPattern(parameter, context) : parameter.initializer ? addDefaultValueAssignmentForInitializer(parameter, parameter.name, parameter.initializer, context) : parameter;\n}\nfunction addDefaultValueAssignmentForBindingPattern(parameter, context) {\n  const { factory: factory2 } = context;\n  context.addInitializationStatement(\n    factory2.createVariableStatement(\n      void 0,\n      factory2.createVariableDeclarationList([\n        factory2.createVariableDeclaration(\n          parameter.name,\n          void 0,\n          parameter.type,\n          parameter.initializer ? factory2.createConditionalExpression(\n            factory2.createStrictEquality(\n              factory2.getGeneratedNameForNode(parameter),\n              factory2.createVoidZero()\n            ),\n            void 0,\n            parameter.initializer,\n            void 0,\n            factory2.getGeneratedNameForNode(parameter)\n          ) : factory2.getGeneratedNameForNode(parameter)\n        )\n      ])\n    )\n  );\n  return factory2.updateParameterDeclaration(\n    parameter,\n    parameter.modifiers,\n    parameter.dotDotDotToken,\n    factory2.getGeneratedNameForNode(parameter),\n    parameter.questionToken,\n    parameter.type,\n    void 0\n  );\n}\nfunction addDefaultValueAssignmentForInitializer(parameter, name, initializer, context) {\n  const factory2 = context.factory;\n  context.addInitializationStatement(\n    factory2.createIfStatement(\n      factory2.createTypeCheck(factory2.cloneNode(name), \"undefined\"),\n      setEmitFlags(\n        setTextRange(\n          factory2.createBlock([\n            factory2.createExpressionStatement(\n              setEmitFlags(\n                setTextRange(\n                  factory2.createAssignment(\n                    setEmitFlags(factory2.cloneNode(name), 48 /* NoSourceMap */),\n                    setEmitFlags(initializer, 48 /* NoSourceMap */ | getEmitFlags(initializer) | 1536 /* NoComments */)\n                  ),\n                  parameter\n                ),\n                1536 /* NoComments */\n              )\n            )\n          ]),\n          parameter\n        ),\n        1 /* SingleLine */ | 32 /* NoTrailingSourceMap */ | 384 /* NoTokenSourceMaps */ | 1536 /* NoComments */\n      )\n    )\n  );\n  return factory2.updateParameterDeclaration(\n    parameter,\n    parameter.modifiers,\n    parameter.dotDotDotToken,\n    parameter.name,\n    parameter.questionToken,\n    parameter.type,\n    void 0\n  );\n}\nfunction visitFunctionBody(node, visitor, context, nodeVisitor = visitNode) {\n  context.resumeLexicalEnvironment();\n  const updated = nodeVisitor(node, visitor, isConciseBody);\n  const declarations = context.endLexicalEnvironment();\n  if (some(declarations)) {\n    if (!updated) {\n      return context.factory.createBlock(declarations);\n    }\n    const block = context.factory.converters.convertToFunctionBlock(updated);\n    const statements = factory.mergeLexicalEnvironment(block.statements, declarations);\n    return context.factory.updateBlock(block, statements);\n  }\n  return updated;\n}\nfunction visitIterationBody(body, visitor, context, nodeVisitor = visitNode) {\n  context.startBlockScope();\n  const updated = nodeVisitor(body, visitor, isStatement, context.factory.liftToBlock);\n  const declarations = context.endBlockScope();\n  if (some(declarations)) {\n    if (isBlock(updated)) {\n      declarations.push(...updated.statements);\n      return context.factory.updateBlock(updated, declarations);\n    }\n    declarations.push(updated);\n    return context.factory.createBlock(declarations);\n  }\n  return updated;\n}\nfunction visitEachChild(node, visitor, context, nodesVisitor = visitNodes2, tokenVisitor, nodeVisitor = visitNode) {\n  if (node === void 0) {\n    return void 0;\n  }\n  const fn = visitEachChildTable[node.kind];\n  return fn === void 0 ? node : fn(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor);\n}\nvar visitEachChildTable = {\n  [79 /* Identifier */]: function visitEachChildOfIdentifier(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateIdentifier(\n      node,\n      nodesVisitor(node.typeArguments, visitor, isTypeNodeOrTypeParameterDeclaration)\n    );\n  },\n  [165 /* QualifiedName */]: function visitEachChildOfQualifiedName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateQualifiedName(\n      node,\n      nodeVisitor(node.left, visitor, isEntityName),\n      nodeVisitor(node.right, visitor, isIdentifier)\n    );\n  },\n  [166 /* ComputedPropertyName */]: function visitEachChildOfComputedPropertyName(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateComputedPropertyName(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [167 /* TypeParameter */]: function visitEachChildOfTypeParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeParameterDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodeVisitor(node.constraint, visitor, isTypeNode),\n      nodeVisitor(node.default, visitor, isTypeNode)\n    );\n  },\n  [168 /* Parameter */]: function visitEachChildOfParameterDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateParameterDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifierLike),\n      nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken),\n      nodeVisitor(node.name, visitor, isBindingName),\n      nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [169 /* Decorator */]: function visitEachChildOfDecorator(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateDecorator(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      node.annotationDeclaration\n    );\n  },\n  [170 /* PropertySignature */]: function visitEachChildOfPropertySignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updatePropertySignature(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor(node.questionToken, tokenVisitor, isToken),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [171 /* PropertyDeclaration */]: function visitEachChildOfPropertyDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    var _a2;\n    return context.factory.updatePropertyDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifierLike),\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor((_a2 = node.questionToken) != null ? _a2 : node.exclamationToken, tokenVisitor, isQuestionOrExclamationToken),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [172 /* AnnotationPropertyDeclaration */]: function visitEachChildOfAnnotationPropertyDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateAnnotationPropertyDeclaration(\n      node,\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [173 /* MethodSignature */]: function visitEachChildOfMethodSignature(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateMethodSignature(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [174 /* MethodDeclaration */]: function visitEachChildOfMethodDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateMethodDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifierLike),\n      nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken),\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      visitParameterList(node.parameters, visitor, context, nodesVisitor),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      visitFunctionBody(node.body, visitor, context, nodeVisitor)\n    );\n  },\n  [176 /* Constructor */]: function visitEachChildOfConstructorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateConstructorDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      visitParameterList(node.parameters, visitor, context, nodesVisitor),\n      visitFunctionBody(node.body, visitor, context, nodeVisitor)\n    );\n  },\n  [177 /* GetAccessor */]: function visitEachChildOfGetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    if (context.isLexicalEnvironmentSuspended && context.isLexicalEnvironmentSuspended()) {\n      return context.factory.updateGetAccessorDeclaration(\n        node,\n        nodesVisitor(node.modifiers, visitor, isModifierLike),\n        nodeVisitor(node.name, visitor, isPropertyName),\n        nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n        nodeVisitor(node.type, visitor, isTypeNode),\n        nodeVisitor(node.body, visitor, isConciseBody)\n      );\n    } else {\n      return context.factory.updateGetAccessorDeclaration(\n        node,\n        nodesVisitor(node.modifiers, visitor, isModifierLike),\n        nodeVisitor(node.name, visitor, isPropertyName),\n        visitParameterList(node.parameters, visitor, context, nodesVisitor),\n        nodeVisitor(node.type, visitor, isTypeNode),\n        visitFunctionBody(node.body, visitor, context, nodeVisitor)\n      );\n    }\n  },\n  [178 /* SetAccessor */]: function visitEachChildOfSetAccessorDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    if (context.isLexicalEnvironmentSuspended && context.isLexicalEnvironmentSuspended()) {\n      return context.factory.updateSetAccessorDeclaration(\n        node,\n        nodesVisitor(node.modifiers, visitor, isModifierLike),\n        nodeVisitor(node.name, visitor, isPropertyName),\n        nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n        nodeVisitor(node.body, visitor, isConciseBody)\n      );\n    } else {\n      return context.factory.updateSetAccessorDeclaration(\n        node,\n        nodesVisitor(node.modifiers, visitor, isModifierLike),\n        nodeVisitor(node.name, visitor, isPropertyName),\n        visitParameterList(node.parameters, visitor, context, nodesVisitor),\n        visitFunctionBody(node.body, visitor, context, nodeVisitor)\n      );\n    }\n  },\n  [175 /* ClassStaticBlockDeclaration */]: function visitEachChildOfClassStaticBlockDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    context.startLexicalEnvironment();\n    context.suspendLexicalEnvironment();\n    return context.factory.updateClassStaticBlockDeclaration(\n      node,\n      visitFunctionBody(node.body, visitor, context, nodeVisitor)\n    );\n  },\n  [179 /* CallSignature */]: function visitEachChildOfCallSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateCallSignature(\n      node,\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [180 /* ConstructSignature */]: function visitEachChildOfConstructSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateConstructSignature(\n      node,\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [181 /* IndexSignature */]: function visitEachChildOfIndexSignatureDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateIndexSignature(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [182 /* TypePredicate */]: function visitEachChildOfTypePredicateNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypePredicateNode(\n      node,\n      nodeVisitor(node.assertsModifier, visitor, isAssertsKeyword),\n      nodeVisitor(node.parameterName, visitor, isIdentifierOrThisTypeNode),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [183 /* TypeReference */]: function visitEachChildOfTypeReferenceNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeReferenceNode(\n      node,\n      nodeVisitor(node.typeName, visitor, isEntityName),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode)\n    );\n  },\n  [184 /* FunctionType */]: function visitEachChildOfFunctionTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateFunctionTypeNode(\n      node,\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [185 /* ConstructorType */]: function visitEachChildOfConstructorTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateConstructorTypeNode(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.parameters, visitor, isParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [186 /* TypeQuery */]: function visitEachChildOfTypeQueryNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeQueryNode(\n      node,\n      nodeVisitor(node.exprName, visitor, isEntityName),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode)\n    );\n  },\n  [187 /* TypeLiteral */]: function visitEachChildOfTypeLiteralNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeLiteralNode(\n      node,\n      nodesVisitor(node.members, visitor, isTypeElement)\n    );\n  },\n  [188 /* ArrayType */]: function visitEachChildOfArrayTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateArrayTypeNode(\n      node,\n      nodeVisitor(node.elementType, visitor, isTypeNode)\n    );\n  },\n  [189 /* TupleType */]: function visitEachChildOfTupleTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTupleTypeNode(\n      node,\n      nodesVisitor(node.elements, visitor, isTypeNode)\n    );\n  },\n  [190 /* OptionalType */]: function visitEachChildOfOptionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateOptionalTypeNode(\n      node,\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [191 /* RestType */]: function visitEachChildOfRestTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateRestTypeNode(\n      node,\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [192 /* UnionType */]: function visitEachChildOfUnionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateUnionTypeNode(\n      node,\n      nodesVisitor(node.types, visitor, isTypeNode)\n    );\n  },\n  [193 /* IntersectionType */]: function visitEachChildOfIntersectionTypeNode(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateIntersectionTypeNode(\n      node,\n      nodesVisitor(node.types, visitor, isTypeNode)\n    );\n  },\n  [194 /* ConditionalType */]: function visitEachChildOfConditionalTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateConditionalTypeNode(\n      node,\n      nodeVisitor(node.checkType, visitor, isTypeNode),\n      nodeVisitor(node.extendsType, visitor, isTypeNode),\n      nodeVisitor(node.trueType, visitor, isTypeNode),\n      nodeVisitor(node.falseType, visitor, isTypeNode)\n    );\n  },\n  [195 /* InferType */]: function visitEachChildOfInferTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateInferTypeNode(\n      node,\n      nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration)\n    );\n  },\n  [205 /* ImportType */]: function visitEachChildOfImportTypeNode(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateImportTypeNode(\n      node,\n      nodeVisitor(node.argument, visitor, isTypeNode),\n      nodeVisitor(node.assertions, visitor, isImportTypeAssertionContainer),\n      nodeVisitor(node.qualifier, visitor, isEntityName),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      node.isTypeOf\n    );\n  },\n  [304 /* ImportTypeAssertionContainer */]: function visitEachChildOfImportTypeAssertionContainer(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateImportTypeAssertionContainer(\n      node,\n      nodeVisitor(node.assertClause, visitor, isAssertClause),\n      node.multiLine\n    );\n  },\n  [202 /* NamedTupleMember */]: function visitEachChildOfNamedTupleMember(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateNamedTupleMember(\n      node,\n      nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [196 /* ParenthesizedType */]: function visitEachChildOfParenthesizedType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateParenthesizedType(\n      node,\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [198 /* TypeOperator */]: function visitEachChildOfTypeOperatorNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeOperatorNode(\n      node,\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [199 /* IndexedAccessType */]: function visitEachChildOfIndexedAccessType(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateIndexedAccessTypeNode(\n      node,\n      nodeVisitor(node.objectType, visitor, isTypeNode),\n      nodeVisitor(node.indexType, visitor, isTypeNode)\n    );\n  },\n  [200 /* MappedType */]: function visitEachChildOfMappedType(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateMappedTypeNode(\n      node,\n      nodeVisitor(node.readonlyToken, tokenVisitor, isReadonlyKeywordOrPlusOrMinusToken),\n      nodeVisitor(node.typeParameter, visitor, isTypeParameterDeclaration),\n      nodeVisitor(node.nameType, visitor, isTypeNode),\n      nodeVisitor(node.questionToken, tokenVisitor, isQuestionOrPlusOrMinusToken),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodesVisitor(node.members, visitor, isTypeElement)\n    );\n  },\n  [201 /* LiteralType */]: function visitEachChildOfLiteralTypeNode(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateLiteralTypeNode(\n      node,\n      nodeVisitor(node.literal, visitor, isExpression)\n    );\n  },\n  [203 /* TemplateLiteralType */]: function visitEachChildOfTemplateLiteralType(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTemplateLiteralType(\n      node,\n      nodeVisitor(node.head, visitor, isTemplateHead),\n      nodesVisitor(node.templateSpans, visitor, isTemplateLiteralTypeSpan)\n    );\n  },\n  [204 /* TemplateLiteralTypeSpan */]: function visitEachChildOfTemplateLiteralTypeSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTemplateLiteralTypeSpan(\n      node,\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail)\n    );\n  },\n  [206 /* ObjectBindingPattern */]: function visitEachChildOfObjectBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateObjectBindingPattern(\n      node,\n      nodesVisitor(node.elements, visitor, isBindingElement)\n    );\n  },\n  [207 /* ArrayBindingPattern */]: function visitEachChildOfArrayBindingPattern(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateArrayBindingPattern(\n      node,\n      nodesVisitor(node.elements, visitor, isArrayBindingElement)\n    );\n  },\n  [208 /* BindingElement */]: function visitEachChildOfBindingElement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateBindingElement(\n      node,\n      nodeVisitor(node.dotDotDotToken, tokenVisitor, isDotDotDotToken),\n      nodeVisitor(node.propertyName, visitor, isPropertyName),\n      nodeVisitor(node.name, visitor, isBindingName),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [209 /* ArrayLiteralExpression */]: function visitEachChildOfArrayLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateArrayLiteralExpression(\n      node,\n      nodesVisitor(node.elements, visitor, isExpression)\n    );\n  },\n  [210 /* ObjectLiteralExpression */]: function visitEachChildOfObjectLiteralExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateObjectLiteralExpression(\n      node,\n      nodesVisitor(node.properties, visitor, isObjectLiteralElementLike)\n    );\n  },\n  [211 /* PropertyAccessExpression */]: function visitEachChildOfPropertyAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return isPropertyAccessChain(node) ? context.factory.updatePropertyAccessChain(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken),\n      nodeVisitor(node.name, visitor, isMemberName)\n    ) : context.factory.updatePropertyAccessExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.name, visitor, isMemberName)\n    );\n  },\n  [212 /* ElementAccessExpression */]: function visitEachChildOfElementAccessExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return isElementAccessChain(node) ? context.factory.updateElementAccessChain(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken),\n      nodeVisitor(node.argumentExpression, visitor, isExpression)\n    ) : context.factory.updateElementAccessExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.argumentExpression, visitor, isExpression)\n    );\n  },\n  [213 /* CallExpression */]: function visitEachChildOfCallExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return isCallChain(node) ? context.factory.updateCallChain(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.questionDotToken, tokenVisitor, isQuestionDotToken),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      nodesVisitor(node.arguments, visitor, isExpression)\n    ) : context.factory.updateCallExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      nodesVisitor(node.arguments, visitor, isExpression)\n    );\n  },\n  [220 /* EtsComponentExpression */]: function visitEachChildOfEtsComponentExpression(node, visitor, context, nodesVisitor, nodeVisitor) {\n    return context.factory.updateEtsComponentExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodesVisitor(node.arguments, visitor, isExpression),\n      nodeVisitor(node.body, visitor, isBlock)\n    );\n  },\n  [214 /* NewExpression */]: function visitEachChildOfNewExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateNewExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      nodesVisitor(node.arguments, visitor, isExpression)\n    );\n  },\n  [215 /* TaggedTemplateExpression */]: function visitEachChildOfTaggedTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTaggedTemplateExpression(\n      node,\n      nodeVisitor(node.tag, visitor, isExpression),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      nodeVisitor(node.template, visitor, isTemplateLiteral)\n    );\n  },\n  [216 /* TypeAssertionExpression */]: function visitEachChildOfTypeAssertionExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeAssertion(\n      node,\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [217 /* ParenthesizedExpression */]: function visitEachChildOfParenthesizedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateParenthesizedExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [218 /* FunctionExpression */]: function visitEachChildOfFunctionExpression(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateFunctionExpression(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      visitParameterList(node.parameters, visitor, context, nodesVisitor),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      visitFunctionBody(node.body, visitor, context, nodeVisitor)\n    );\n  },\n  [219 /* ArrowFunction */]: function visitEachChildOfArrowFunction(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateArrowFunction(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      visitParameterList(node.parameters, visitor, context, nodesVisitor),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.equalsGreaterThanToken, tokenVisitor, isEqualsGreaterThanToken),\n      visitFunctionBody(node.body, visitor, context, nodeVisitor)\n    );\n  },\n  [221 /* DeleteExpression */]: function visitEachChildOfDeleteExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateDeleteExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [222 /* TypeOfExpression */]: function visitEachChildOfTypeOfExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeOfExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [223 /* VoidExpression */]: function visitEachChildOfVoidExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateVoidExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [224 /* AwaitExpression */]: function visitEachChildOfAwaitExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateAwaitExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [225 /* PrefixUnaryExpression */]: function visitEachChildOfPrefixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updatePrefixUnaryExpression(\n      node,\n      nodeVisitor(node.operand, visitor, isExpression)\n    );\n  },\n  [226 /* PostfixUnaryExpression */]: function visitEachChildOfPostfixUnaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updatePostfixUnaryExpression(\n      node,\n      nodeVisitor(node.operand, visitor, isExpression)\n    );\n  },\n  [227 /* BinaryExpression */]: function visitEachChildOfBinaryExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateBinaryExpression(\n      node,\n      nodeVisitor(node.left, visitor, isExpression),\n      nodeVisitor(node.operatorToken, tokenVisitor, isBinaryOperatorToken),\n      nodeVisitor(node.right, visitor, isExpression)\n    );\n  },\n  [228 /* ConditionalExpression */]: function visitEachChildOfConditionalExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateConditionalExpression(\n      node,\n      nodeVisitor(node.condition, visitor, isExpression),\n      nodeVisitor(node.questionToken, tokenVisitor, isQuestionToken),\n      nodeVisitor(node.whenTrue, visitor, isExpression),\n      nodeVisitor(node.colonToken, tokenVisitor, isColonToken),\n      nodeVisitor(node.whenFalse, visitor, isExpression)\n    );\n  },\n  [229 /* TemplateExpression */]: function visitEachChildOfTemplateExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTemplateExpression(\n      node,\n      nodeVisitor(node.head, visitor, isTemplateHead),\n      nodesVisitor(node.templateSpans, visitor, isTemplateSpan)\n    );\n  },\n  [230 /* YieldExpression */]: function visitEachChildOfYieldExpression(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateYieldExpression(\n      node,\n      nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken),\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [231 /* SpreadElement */]: function visitEachChildOfSpreadElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateSpreadElement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [232 /* ClassExpression */]: function visitEachChildOfClassExpression(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateClassExpression(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifierLike),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n      nodesVisitor(node.members, visitor, isClassElement)\n    );\n  },\n  [234 /* ExpressionWithTypeArguments */]: function visitEachChildOfExpressionWithTypeArguments(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateExpressionWithTypeArguments(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode)\n    );\n  },\n  [235 /* AsExpression */]: function visitEachChildOfAsExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateAsExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [239 /* SatisfiesExpression */]: function visitEachChildOfSatisfiesExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateSatisfiesExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [236 /* NonNullExpression */]: function visitEachChildOfNonNullExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return isOptionalChain(node) ? context.factory.updateNonNullChain(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    ) : context.factory.updateNonNullExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [237 /* MetaProperty */]: function visitEachChildOfMetaProperty(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateMetaProperty(\n      node,\n      nodeVisitor(node.name, visitor, isIdentifier)\n    );\n  },\n  [240 /* TemplateSpan */]: function visitEachChildOfTemplateSpan(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTemplateSpan(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.literal, visitor, isTemplateMiddleOrTemplateTail)\n    );\n  },\n  [242 /* Block */]: function visitEachChildOfBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateBlock(\n      node,\n      nodesVisitor(node.statements, visitor, isStatement)\n    );\n  },\n  [244 /* VariableStatement */]: function visitEachChildOfVariableStatement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateVariableStatement(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.declarationList, visitor, isVariableDeclarationList)\n    );\n  },\n  [245 /* ExpressionStatement */]: function visitEachChildOfExpressionStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateExpressionStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [246 /* IfStatement */]: function visitEachChildOfIfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateIfStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.thenStatement, visitor, isStatement, context.factory.liftToBlock),\n      nodeVisitor(node.elseStatement, visitor, isStatement, context.factory.liftToBlock)\n    );\n  },\n  [247 /* DoStatement */]: function visitEachChildOfDoStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateDoStatement(\n      node,\n      visitIterationBody(node.statement, visitor, context, nodeVisitor),\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [248 /* WhileStatement */]: function visitEachChildOfWhileStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateWhileStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, visitor, context, nodeVisitor)\n    );\n  },\n  [249 /* ForStatement */]: function visitEachChildOfForStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateForStatement(\n      node,\n      nodeVisitor(node.initializer, visitor, isForInitializer),\n      nodeVisitor(node.condition, visitor, isExpression),\n      nodeVisitor(node.incrementor, visitor, isExpression),\n      visitIterationBody(node.statement, visitor, context, nodeVisitor)\n    );\n  },\n  [250 /* ForInStatement */]: function visitEachChildOfForInStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateForInStatement(\n      node,\n      nodeVisitor(node.initializer, visitor, isForInitializer),\n      nodeVisitor(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, visitor, context, nodeVisitor)\n    );\n  },\n  [251 /* ForOfStatement */]: function visitEachChildOfForOfStatement(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateForOfStatement(\n      node,\n      nodeVisitor(node.awaitModifier, tokenVisitor, isAwaitKeyword),\n      nodeVisitor(node.initializer, visitor, isForInitializer),\n      nodeVisitor(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, visitor, context, nodeVisitor)\n    );\n  },\n  [252 /* ContinueStatement */]: function visitEachChildOfContinueStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateContinueStatement(\n      node,\n      nodeVisitor(node.label, visitor, isIdentifier)\n    );\n  },\n  [253 /* BreakStatement */]: function visitEachChildOfBreakStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateBreakStatement(\n      node,\n      nodeVisitor(node.label, visitor, isIdentifier)\n    );\n  },\n  [254 /* ReturnStatement */]: function visitEachChildOfReturnStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateReturnStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [255 /* WithStatement */]: function visitEachChildOfWithStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateWithStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock)\n    );\n  },\n  [256 /* SwitchStatement */]: function visitEachChildOfSwitchStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateSwitchStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodeVisitor(node.caseBlock, visitor, isCaseBlock)\n    );\n  },\n  [257 /* LabeledStatement */]: function visitEachChildOfLabeledStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateLabeledStatement(\n      node,\n      nodeVisitor(node.label, visitor, isIdentifier),\n      nodeVisitor(node.statement, visitor, isStatement, context.factory.liftToBlock)\n    );\n  },\n  [258 /* ThrowStatement */]: function visitEachChildOfThrowStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateThrowStatement(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [259 /* TryStatement */]: function visitEachChildOfTryStatement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTryStatement(\n      node,\n      nodeVisitor(node.tryBlock, visitor, isBlock),\n      nodeVisitor(node.catchClause, visitor, isCatchClause),\n      nodeVisitor(node.finallyBlock, visitor, isBlock)\n    );\n  },\n  [261 /* VariableDeclaration */]: function visitEachChildOfVariableDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateVariableDeclaration(\n      node,\n      nodeVisitor(node.name, visitor, isBindingName),\n      nodeVisitor(node.exclamationToken, tokenVisitor, isExclamationToken),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [262 /* VariableDeclarationList */]: function visitEachChildOfVariableDeclarationList(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateVariableDeclarationList(\n      node,\n      nodesVisitor(node.declarations, visitor, isVariableDeclaration)\n    );\n  },\n  [263 /* FunctionDeclaration */]: function visitEachChildOfFunctionDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, tokenVisitor) {\n    return context.factory.updateFunctionDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.asteriskToken, tokenVisitor, isAsteriskToken),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      visitParameterList(node.parameters, visitor, context, nodesVisitor),\n      nodeVisitor(node.type, visitor, isTypeNode),\n      visitFunctionBody(node.body, visitor, context, nodeVisitor)\n    );\n  },\n  [264 /* ClassDeclaration */]: function visitEachChildOfClassDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateClassDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifierLike),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n      nodesVisitor(node.members, visitor, isClassElement)\n    );\n  },\n  [265 /* StructDeclaration */]: function visitEachChildOfStructDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateStructDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n      nodesVisitor(node.members, visitor, isClassElement)\n    );\n  },\n  [266 /* AnnotationDeclaration */]: function visitEachChildOfAnnotationDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateAnnotationDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.members, visitor, isAnnotationElement)\n    );\n  },\n  [267 /* InterfaceDeclaration */]: function visitEachChildOfInterfaceDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateInterfaceDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodesVisitor(node.heritageClauses, visitor, isHeritageClause),\n      nodesVisitor(node.members, visitor, isTypeElement)\n    );\n  },\n  [268 /* TypeAliasDeclaration */]: function visitEachChildOfTypeAliasDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateTypeAliasDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.typeParameters, visitor, isTypeParameterDeclaration),\n      nodeVisitor(node.type, visitor, isTypeNode)\n    );\n  },\n  [269 /* EnumDeclaration */]: function visitEachChildOfEnumDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateEnumDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodesVisitor(node.members, visitor, isEnumMember)\n    );\n  },\n  [270 /* ModuleDeclaration */]: function visitEachChildOfModuleDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateModuleDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.name, visitor, isModuleName),\n      nodeVisitor(node.body, visitor, isModuleBody)\n    );\n  },\n  [271 /* ModuleBlock */]: function visitEachChildOfModuleBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateModuleBlock(\n      node,\n      nodesVisitor(node.statements, visitor, isStatement)\n    );\n  },\n  [272 /* CaseBlock */]: function visitEachChildOfCaseBlock(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateCaseBlock(\n      node,\n      nodesVisitor(node.clauses, visitor, isCaseOrDefaultClause)\n    );\n  },\n  [273 /* NamespaceExportDeclaration */]: function visitEachChildOfNamespaceExportDeclaration(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateNamespaceExportDeclaration(\n      node,\n      nodeVisitor(node.name, visitor, isIdentifier)\n    );\n  },\n  [274 /* ImportEqualsDeclaration */]: function visitEachChildOfImportEqualsDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateImportEqualsDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      node.isTypeOnly,\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodeVisitor(node.moduleReference, visitor, isModuleReference)\n    );\n  },\n  [275 /* ImportDeclaration */]: function visitEachChildOfImportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateImportDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.importClause, visitor, isImportClause),\n      nodeVisitor(node.moduleSpecifier, visitor, isExpression),\n      nodeVisitor(node.assertClause, visitor, isAssertClause)\n    );\n  },\n  [302 /* AssertClause */]: function visitEachChildOfAssertClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateAssertClause(\n      node,\n      nodesVisitor(node.elements, visitor, isAssertEntry),\n      node.multiLine\n    );\n  },\n  [303 /* AssertEntry */]: function visitEachChildOfAssertEntry(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateAssertEntry(\n      node,\n      nodeVisitor(node.name, visitor, isAssertionKey),\n      nodeVisitor(node.value, visitor, isExpression)\n    );\n  },\n  [276 /* ImportClause */]: function visitEachChildOfImportClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateImportClause(\n      node,\n      node.isTypeOnly,\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodeVisitor(node.namedBindings, visitor, isNamedImportBindings)\n    );\n  },\n  [277 /* NamespaceImport */]: function visitEachChildOfNamespaceImport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateNamespaceImport(\n      node,\n      nodeVisitor(node.name, visitor, isIdentifier)\n    );\n  },\n  [283 /* NamespaceExport */]: function visitEachChildOfNamespaceExport(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateNamespaceExport(\n      node,\n      nodeVisitor(node.name, visitor, isIdentifier)\n    );\n  },\n  [278 /* NamedImports */]: function visitEachChildOfNamedImports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateNamedImports(\n      node,\n      nodesVisitor(node.elements, visitor, isImportSpecifier)\n    );\n  },\n  [279 /* ImportSpecifier */]: function visitEachChildOfImportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateImportSpecifier(\n      node,\n      node.isTypeOnly,\n      nodeVisitor(node.propertyName, visitor, isIdentifier),\n      nodeVisitor(node.name, visitor, isIdentifier)\n    );\n  },\n  [280 /* ExportAssignment */]: function visitEachChildOfExportAssignment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateExportAssignment(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [281 /* ExportDeclaration */]: function visitEachChildOfExportDeclaration(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateExportDeclaration(\n      node,\n      nodesVisitor(node.modifiers, visitor, isModifier),\n      node.isTypeOnly,\n      nodeVisitor(node.exportClause, visitor, isNamedExportBindings),\n      nodeVisitor(node.moduleSpecifier, visitor, isExpression),\n      nodeVisitor(node.assertClause, visitor, isAssertClause)\n    );\n  },\n  [282 /* NamedExports */]: function visitEachChildOfNamedExports(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateNamedExports(\n      node,\n      nodesVisitor(node.elements, visitor, isExportSpecifier)\n    );\n  },\n  [284 /* ExportSpecifier */]: function visitEachChildOfExportSpecifier(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateExportSpecifier(\n      node,\n      node.isTypeOnly,\n      nodeVisitor(node.propertyName, visitor, isIdentifier),\n      nodeVisitor(node.name, visitor, isIdentifier)\n    );\n  },\n  [286 /* ExternalModuleReference */]: function visitEachChildOfExternalModuleReference(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateExternalModuleReference(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [287 /* JsxElement */]: function visitEachChildOfJsxElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxElement(\n      node,\n      nodeVisitor(node.openingElement, visitor, isJsxOpeningElement),\n      nodesVisitor(node.children, visitor, isJsxChild),\n      nodeVisitor(node.closingElement, visitor, isJsxClosingElement)\n    );\n  },\n  [288 /* JsxSelfClosingElement */]: function visitEachChildOfJsxSelfClosingElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxSelfClosingElement(\n      node,\n      nodeVisitor(node.tagName, visitor, isJsxTagNameExpression),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      nodeVisitor(node.attributes, visitor, isJsxAttributes)\n    );\n  },\n  [289 /* JsxOpeningElement */]: function visitEachChildOfJsxOpeningElement(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxOpeningElement(\n      node,\n      nodeVisitor(node.tagName, visitor, isJsxTagNameExpression),\n      nodesVisitor(node.typeArguments, visitor, isTypeNode),\n      nodeVisitor(node.attributes, visitor, isJsxAttributes)\n    );\n  },\n  [290 /* JsxClosingElement */]: function visitEachChildOfJsxClosingElement(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxClosingElement(\n      node,\n      nodeVisitor(node.tagName, visitor, isJsxTagNameExpression)\n    );\n  },\n  [291 /* JsxFragment */]: function visitEachChildOfJsxFragment(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxFragment(\n      node,\n      nodeVisitor(node.openingFragment, visitor, isJsxOpeningFragment),\n      nodesVisitor(node.children, visitor, isJsxChild),\n      nodeVisitor(node.closingFragment, visitor, isJsxClosingFragment)\n    );\n  },\n  [294 /* JsxAttribute */]: function visitEachChildOfJsxAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxAttribute(\n      node,\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodeVisitor(node.initializer, visitor, isStringLiteralOrJsxExpression)\n    );\n  },\n  [295 /* JsxAttributes */]: function visitEachChildOfJsxAttributes(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxAttributes(\n      node,\n      nodesVisitor(node.properties, visitor, isJsxAttributeLike)\n    );\n  },\n  [296 /* JsxSpreadAttribute */]: function visitEachChildOfJsxSpreadAttribute(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxSpreadAttribute(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [297 /* JsxExpression */]: function visitEachChildOfJsxExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateJsxExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [298 /* CaseClause */]: function visitEachChildOfCaseClause(node, visitor, context, nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateCaseClause(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression),\n      nodesVisitor(node.statements, visitor, isStatement)\n    );\n  },\n  [299 /* DefaultClause */]: function visitEachChildOfDefaultClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateDefaultClause(\n      node,\n      nodesVisitor(node.statements, visitor, isStatement)\n    );\n  },\n  [300 /* HeritageClause */]: function visitEachChildOfHeritageClause(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateHeritageClause(\n      node,\n      nodesVisitor(node.types, visitor, isExpressionWithTypeArguments)\n    );\n  },\n  [301 /* CatchClause */]: function visitEachChildOfCatchClause(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateCatchClause(\n      node,\n      nodeVisitor(node.variableDeclaration, visitor, isVariableDeclaration),\n      nodeVisitor(node.block, visitor, isBlock)\n    );\n  },\n  [305 /* PropertyAssignment */]: function visitEachChildOfPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updatePropertyAssignment(\n      node,\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [306 /* ShorthandPropertyAssignment */]: function visitEachChildOfShorthandPropertyAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateShorthandPropertyAssignment(\n      node,\n      nodeVisitor(node.name, visitor, isIdentifier),\n      nodeVisitor(node.objectAssignmentInitializer, visitor, isExpression)\n    );\n  },\n  [307 /* SpreadAssignment */]: function visitEachChildOfSpreadAssignment(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateSpreadAssignment(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [308 /* EnumMember */]: function visitEachChildOfEnumMember(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updateEnumMember(\n      node,\n      nodeVisitor(node.name, visitor, isPropertyName),\n      nodeVisitor(node.initializer, visitor, isExpression)\n    );\n  },\n  [314 /* SourceFile */]: function visitEachChildOfSourceFile(node, visitor, context, _nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateSourceFile(\n      node,\n      visitLexicalEnvironment(node.statements, visitor, context)\n    );\n  },\n  [359 /* PartiallyEmittedExpression */]: function visitEachChildOfPartiallyEmittedExpression(node, visitor, context, _nodesVisitor, nodeVisitor, _tokenVisitor) {\n    return context.factory.updatePartiallyEmittedExpression(\n      node,\n      nodeVisitor(node.expression, visitor, isExpression)\n    );\n  },\n  [360 /* CommaListExpression */]: function visitEachChildOfCommaListExpression(node, visitor, context, nodesVisitor, _nodeVisitor, _tokenVisitor) {\n    return context.factory.updateCommaListExpression(\n      node,\n      nodesVisitor(node.elements, visitor, isExpression)\n    );\n  }\n};\nfunction extractSingleNode(nodes) {\n  Debug.assert(nodes.length <= 1, \"Too many nodes written to output.\");\n  return singleOrUndefined(nodes);\n}\n\n// src/compiler/sourcemap.ts\nfunction createSourceMapGenerator(host, file, sourceRoot, sourcesDirectoryPath, generatorOptions) {\n  var { enter, exit } = generatorOptions.extendedDiagnostics ? createTimer(\"Source Map\", \"beforeSourcemap\", \"afterSourcemap\") : nullTimer;\n  var rawSources = [];\n  var sources = [];\n  var sourceToSourceIndexMap = new Map2();\n  var sourcesContent;\n  var names = [];\n  var nameToNameIndexMap;\n  var mappingCharCodes = [];\n  var mappings = \"\";\n  var lastGeneratedLine = 0;\n  var lastGeneratedCharacter = 0;\n  var lastSourceIndex = 0;\n  var lastSourceLine = 0;\n  var lastSourceCharacter = 0;\n  var lastNameIndex = 0;\n  var hasLast = false;\n  var pendingGeneratedLine = 0;\n  var pendingGeneratedCharacter = 0;\n  var pendingSourceIndex = 0;\n  var pendingSourceLine = 0;\n  var pendingSourceCharacter = 0;\n  var pendingNameIndex = 0;\n  var hasPending = false;\n  var hasPendingSource = false;\n  var hasPendingName = false;\n  return {\n    getSources: () => rawSources,\n    addSource,\n    setSourceContent,\n    addName,\n    addMapping,\n    appendSourceMap,\n    toJSON,\n    toString: () => JSON.stringify(toJSON())\n  };\n  function addSource(fileName) {\n    enter();\n    const source = getRelativePathToDirectoryOrUrl(\n      sourcesDirectoryPath,\n      fileName,\n      host.getCurrentDirectory(),\n      host.getCanonicalFileName,\n      true\n    );\n    let sourceIndex = sourceToSourceIndexMap.get(source);\n    if (sourceIndex === void 0) {\n      sourceIndex = sources.length;\n      sources.push(source);\n      rawSources.push(fileName);\n      sourceToSourceIndexMap.set(source, sourceIndex);\n    }\n    exit();\n    return sourceIndex;\n  }\n  function setSourceContent(sourceIndex, content) {\n    enter();\n    if (content !== null) {\n      if (!sourcesContent)\n        sourcesContent = [];\n      while (sourcesContent.length < sourceIndex) {\n        sourcesContent.push(null);\n      }\n      sourcesContent[sourceIndex] = content;\n    }\n    exit();\n  }\n  function addName(name) {\n    enter();\n    if (!nameToNameIndexMap)\n      nameToNameIndexMap = new Map2();\n    let nameIndex = nameToNameIndexMap.get(name);\n    if (nameIndex === void 0) {\n      nameIndex = names.length;\n      names.push(name);\n      nameToNameIndexMap.set(name, nameIndex);\n    }\n    exit();\n    return nameIndex;\n  }\n  function isNewGeneratedPosition(generatedLine, generatedCharacter) {\n    return !hasPending || pendingGeneratedLine !== generatedLine || pendingGeneratedCharacter !== generatedCharacter;\n  }\n  function isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter) {\n    return sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0 && pendingSourceIndex === sourceIndex && (pendingSourceLine > sourceLine || pendingSourceLine === sourceLine && pendingSourceCharacter > sourceCharacter);\n  }\n  function addMapping(generatedLine, generatedCharacter, sourceIndex, sourceLine, sourceCharacter, nameIndex) {\n    Debug.assert(generatedLine >= pendingGeneratedLine, \"generatedLine cannot backtrack\");\n    Debug.assert(generatedCharacter >= 0, \"generatedCharacter cannot be negative\");\n    Debug.assert(sourceIndex === void 0 || sourceIndex >= 0, \"sourceIndex cannot be negative\");\n    Debug.assert(sourceLine === void 0 || sourceLine >= 0, \"sourceLine cannot be negative\");\n    Debug.assert(sourceCharacter === void 0 || sourceCharacter >= 0, \"sourceCharacter cannot be negative\");\n    enter();\n    if (isNewGeneratedPosition(generatedLine, generatedCharacter) || isBacktrackingSourcePosition(sourceIndex, sourceLine, sourceCharacter)) {\n      commitPendingMapping();\n      pendingGeneratedLine = generatedLine;\n      pendingGeneratedCharacter = generatedCharacter;\n      hasPendingSource = false;\n      hasPendingName = false;\n      hasPending = true;\n    }\n    if (sourceIndex !== void 0 && sourceLine !== void 0 && sourceCharacter !== void 0) {\n      pendingSourceIndex = sourceIndex;\n      pendingSourceLine = sourceLine;\n      pendingSourceCharacter = sourceCharacter;\n      hasPendingSource = true;\n      if (nameIndex !== void 0) {\n        pendingNameIndex = nameIndex;\n        hasPendingName = true;\n      }\n    }\n    exit();\n  }\n  function appendSourceMap(generatedLine, generatedCharacter, map2, sourceMapPath, start, end) {\n    Debug.assert(generatedLine >= pendingGeneratedLine, \"generatedLine cannot backtrack\");\n    Debug.assert(generatedCharacter >= 0, \"generatedCharacter cannot be negative\");\n    enter();\n    const sourceIndexToNewSourceIndexMap = [];\n    let nameIndexToNewNameIndexMap;\n    const mappingIterator = decodeMappings(map2.mappings);\n    for (let iterResult = mappingIterator.next(); !iterResult.done; iterResult = mappingIterator.next()) {\n      const raw = iterResult.value;\n      if (end && (raw.generatedLine > end.line || raw.generatedLine === end.line && raw.generatedCharacter > end.character)) {\n        break;\n      }\n      if (start && (raw.generatedLine < start.line || start.line === raw.generatedLine && raw.generatedCharacter < start.character)) {\n        continue;\n      }\n      let newSourceIndex;\n      let newSourceLine;\n      let newSourceCharacter;\n      let newNameIndex;\n      if (raw.sourceIndex !== void 0) {\n        newSourceIndex = sourceIndexToNewSourceIndexMap[raw.sourceIndex];\n        if (newSourceIndex === void 0) {\n          const rawPath = map2.sources[raw.sourceIndex];\n          const relativePath = map2.sourceRoot ? combinePaths(map2.sourceRoot, rawPath) : rawPath;\n          const combinedPath = combinePaths(getDirectoryPath(sourceMapPath), relativePath);\n          sourceIndexToNewSourceIndexMap[raw.sourceIndex] = newSourceIndex = addSource(combinedPath);\n          if (map2.sourcesContent && typeof map2.sourcesContent[raw.sourceIndex] === \"string\") {\n            setSourceContent(newSourceIndex, map2.sourcesContent[raw.sourceIndex]);\n          }\n        }\n        newSourceLine = raw.sourceLine;\n        newSourceCharacter = raw.sourceCharacter;\n        if (map2.names && raw.nameIndex !== void 0) {\n          if (!nameIndexToNewNameIndexMap)\n            nameIndexToNewNameIndexMap = [];\n          newNameIndex = nameIndexToNewNameIndexMap[raw.nameIndex];\n          if (newNameIndex === void 0) {\n            nameIndexToNewNameIndexMap[raw.nameIndex] = newNameIndex = addName(map2.names[raw.nameIndex]);\n          }\n        }\n      }\n      const rawGeneratedLine = raw.generatedLine - (start ? start.line : 0);\n      const newGeneratedLine = rawGeneratedLine + generatedLine;\n      const rawGeneratedCharacter = start && start.line === raw.generatedLine ? raw.generatedCharacter - start.character : raw.generatedCharacter;\n      const newGeneratedCharacter = rawGeneratedLine === 0 ? rawGeneratedCharacter + generatedCharacter : rawGeneratedCharacter;\n      addMapping(newGeneratedLine, newGeneratedCharacter, newSourceIndex, newSourceLine, newSourceCharacter, newNameIndex);\n    }\n    exit();\n  }\n  function shouldCommitMapping() {\n    return !hasLast || lastGeneratedLine !== pendingGeneratedLine || lastGeneratedCharacter !== pendingGeneratedCharacter || lastSourceIndex !== pendingSourceIndex || lastSourceLine !== pendingSourceLine || lastSourceCharacter !== pendingSourceCharacter || lastNameIndex !== pendingNameIndex;\n  }\n  function appendMappingCharCode(charCode) {\n    mappingCharCodes.push(charCode);\n    if (mappingCharCodes.length >= 1024) {\n      flushMappingBuffer();\n    }\n  }\n  function commitPendingMapping() {\n    if (!hasPending || !shouldCommitMapping()) {\n      return;\n    }\n    enter();\n    if (lastGeneratedLine < pendingGeneratedLine) {\n      do {\n        appendMappingCharCode(59 /* semicolon */);\n        lastGeneratedLine++;\n      } while (lastGeneratedLine < pendingGeneratedLine);\n      lastGeneratedCharacter = 0;\n    } else {\n      Debug.assertEqual(lastGeneratedLine, pendingGeneratedLine, \"generatedLine cannot backtrack\");\n      if (hasLast) {\n        appendMappingCharCode(44 /* comma */);\n      }\n    }\n    appendBase64VLQ(pendingGeneratedCharacter - lastGeneratedCharacter);\n    lastGeneratedCharacter = pendingGeneratedCharacter;\n    if (hasPendingSource) {\n      appendBase64VLQ(pendingSourceIndex - lastSourceIndex);\n      lastSourceIndex = pendingSourceIndex;\n      appendBase64VLQ(pendingSourceLine - lastSourceLine);\n      lastSourceLine = pendingSourceLine;\n      appendBase64VLQ(pendingSourceCharacter - lastSourceCharacter);\n      lastSourceCharacter = pendingSourceCharacter;\n      if (hasPendingName) {\n        appendBase64VLQ(pendingNameIndex - lastNameIndex);\n        lastNameIndex = pendingNameIndex;\n      }\n    }\n    hasLast = true;\n    exit();\n  }\n  function flushMappingBuffer() {\n    if (mappingCharCodes.length > 0) {\n      mappings += String.fromCharCode.apply(void 0, mappingCharCodes);\n      mappingCharCodes.length = 0;\n    }\n  }\n  function toJSON() {\n    commitPendingMapping();\n    flushMappingBuffer();\n    return {\n      version: 3,\n      file,\n      sourceRoot,\n      sources,\n      names,\n      mappings,\n      sourcesContent\n    };\n  }\n  function appendBase64VLQ(inValue) {\n    if (inValue < 0) {\n      inValue = (-inValue << 1) + 1;\n    } else {\n      inValue = inValue << 1;\n    }\n    do {\n      let currentDigit = inValue & 31;\n      inValue = inValue >> 5;\n      if (inValue > 0) {\n        currentDigit = currentDigit | 32;\n      }\n      appendMappingCharCode(base64FormatEncode(currentDigit));\n    } while (inValue > 0);\n  }\n}\nvar sourceMapCommentRegExp = /^\\/\\/[@#] source[M]appingURL=(.+)\\r?\\n?$/;\nvar whitespaceOrMapCommentRegExp = /^\\s*(\\/\\/[@#] .*)?$/;\nfunction getLineInfo(text, lineStarts) {\n  return {\n    getLineCount: () => lineStarts.length,\n    getLineText: (line) => text.substring(lineStarts[line], lineStarts[line + 1])\n  };\n}\nfunction tryGetSourceMappingURL(lineInfo) {\n  for (let index = lineInfo.getLineCount() - 1; index >= 0; index--) {\n    const line = lineInfo.getLineText(index);\n    const comment = sourceMapCommentRegExp.exec(line);\n    if (comment) {\n      return trimStringEnd(comment[1]);\n    } else if (!line.match(whitespaceOrMapCommentRegExp)) {\n      break;\n    }\n  }\n}\nfunction isStringOrNull(x) {\n  return typeof x === \"string\" || x === null;\n}\nfunction isRawSourceMap(x) {\n  return x !== null && typeof x === \"object\" && x.version === 3 && typeof x.file === \"string\" && typeof x.mappings === \"string\" && isArray(x.sources) && every(x.sources, isString) && (x.sourceRoot === void 0 || x.sourceRoot === null || typeof x.sourceRoot === \"string\") && (x.sourcesContent === void 0 || x.sourcesContent === null || isArray(x.sourcesContent) && every(x.sourcesContent, isStringOrNull)) && (x.names === void 0 || x.names === null || isArray(x.names) && every(x.names, isString));\n}\nfunction tryParseRawSourceMap(text) {\n  try {\n    const parsed = JSON.parse(text);\n    if (isRawSourceMap(parsed)) {\n      return parsed;\n    }\n  } catch (e) {\n  }\n  return void 0;\n}\nfunction decodeMappings(mappings) {\n  let done = false;\n  let pos = 0;\n  let generatedLine = 0;\n  let generatedCharacter = 0;\n  let sourceIndex = 0;\n  let sourceLine = 0;\n  let sourceCharacter = 0;\n  let nameIndex = 0;\n  let error;\n  return {\n    get pos() {\n      return pos;\n    },\n    get error() {\n      return error;\n    },\n    get state() {\n      return captureMapping(true, true);\n    },\n    next() {\n      while (!done && pos < mappings.length) {\n        const ch = mappings.charCodeAt(pos);\n        if (ch === 59 /* semicolon */) {\n          generatedLine++;\n          generatedCharacter = 0;\n          pos++;\n          continue;\n        }\n        if (ch === 44 /* comma */) {\n          pos++;\n          continue;\n        }\n        let hasSource = false;\n        let hasName = false;\n        generatedCharacter += base64VLQFormatDecode();\n        if (hasReportedError())\n          return stopIterating();\n        if (generatedCharacter < 0)\n          return setErrorAndStopIterating(\"Invalid generatedCharacter found\");\n        if (!isSourceMappingSegmentEnd()) {\n          hasSource = true;\n          sourceIndex += base64VLQFormatDecode();\n          if (hasReportedError())\n            return stopIterating();\n          if (sourceIndex < 0)\n            return setErrorAndStopIterating(\"Invalid sourceIndex found\");\n          if (isSourceMappingSegmentEnd())\n            return setErrorAndStopIterating(\"Unsupported Format: No entries after sourceIndex\");\n          sourceLine += base64VLQFormatDecode();\n          if (hasReportedError())\n            return stopIterating();\n          if (sourceLine < 0)\n            return setErrorAndStopIterating(\"Invalid sourceLine found\");\n          if (isSourceMappingSegmentEnd())\n            return setErrorAndStopIterating(\"Unsupported Format: No entries after sourceLine\");\n          sourceCharacter += base64VLQFormatDecode();\n          if (hasReportedError())\n            return stopIterating();\n          if (sourceCharacter < 0)\n            return setErrorAndStopIterating(\"Invalid sourceCharacter found\");\n          if (!isSourceMappingSegmentEnd()) {\n            hasName = true;\n            nameIndex += base64VLQFormatDecode();\n            if (hasReportedError())\n              return stopIterating();\n            if (nameIndex < 0)\n              return setErrorAndStopIterating(\"Invalid nameIndex found\");\n            if (!isSourceMappingSegmentEnd())\n              return setErrorAndStopIterating(\"Unsupported Error Format: Entries after nameIndex\");\n          }\n        }\n        return { value: captureMapping(hasSource, hasName), done };\n      }\n      return stopIterating();\n    }\n  };\n  function captureMapping(hasSource, hasName) {\n    return {\n      generatedLine,\n      generatedCharacter,\n      sourceIndex: hasSource ? sourceIndex : void 0,\n      sourceLine: hasSource ? sourceLine : void 0,\n      sourceCharacter: hasSource ? sourceCharacter : void 0,\n      nameIndex: hasName ? nameIndex : void 0\n    };\n  }\n  function stopIterating() {\n    done = true;\n    return { value: void 0, done: true };\n  }\n  function setError(message) {\n    if (error === void 0) {\n      error = message;\n    }\n  }\n  function setErrorAndStopIterating(message) {\n    setError(message);\n    return stopIterating();\n  }\n  function hasReportedError() {\n    return error !== void 0;\n  }\n  function isSourceMappingSegmentEnd() {\n    return pos === mappings.length || mappings.charCodeAt(pos) === 44 /* comma */ || mappings.charCodeAt(pos) === 59 /* semicolon */;\n  }\n  function base64VLQFormatDecode() {\n    let moreDigits = true;\n    let shiftCount = 0;\n    let value = 0;\n    for (; moreDigits; pos++) {\n      if (pos >= mappings.length)\n        return setError(\"Error in decoding base64VLQFormatDecode, past the mapping string\"), -1;\n      const currentByte = base64FormatDecode(mappings.charCodeAt(pos));\n      if (currentByte === -1)\n        return setError(\"Invalid character in VLQ\"), -1;\n      moreDigits = (currentByte & 32) !== 0;\n      value = value | (currentByte & 31) << shiftCount;\n      shiftCount += 5;\n    }\n    if ((value & 1) === 0) {\n      value = value >> 1;\n    } else {\n      value = value >> 1;\n      value = -value;\n    }\n    return value;\n  }\n}\nfunction sameMapping(left, right) {\n  return left === right || left.generatedLine === right.generatedLine && left.generatedCharacter === right.generatedCharacter && left.sourceIndex === right.sourceIndex && left.sourceLine === right.sourceLine && left.sourceCharacter === right.sourceCharacter && left.nameIndex === right.nameIndex;\n}\nfunction isSourceMapping(mapping) {\n  return mapping.sourceIndex !== void 0 && mapping.sourceLine !== void 0 && mapping.sourceCharacter !== void 0;\n}\nfunction base64FormatEncode(value) {\n  return value >= 0 && value < 26 ? 65 /* A */ + value : value >= 26 && value < 52 ? 97 /* a */ + value - 26 : value >= 52 && value < 62 ? 48 /* _0 */ + value - 52 : value === 62 ? 43 /* plus */ : value === 63 ? 47 /* slash */ : Debug.fail(`${value}: not a base64 value`);\n}\nfunction base64FormatDecode(ch) {\n  return ch >= 65 /* A */ && ch <= 90 /* Z */ ? ch - 65 /* A */ : ch >= 97 /* a */ && ch <= 122 /* z */ ? ch - 97 /* a */ + 26 : ch >= 48 /* _0 */ && ch <= 57 /* _9 */ ? ch - 48 /* _0 */ + 52 : ch === 43 /* plus */ ? 62 : ch === 47 /* slash */ ? 63 : -1;\n}\nfunction isSourceMappedPosition(value) {\n  return value.sourceIndex !== void 0 && value.sourcePosition !== void 0;\n}\nfunction sameMappedPosition(left, right) {\n  return left.generatedPosition === right.generatedPosition && left.sourceIndex === right.sourceIndex && left.sourcePosition === right.sourcePosition;\n}\nfunction compareSourcePositions(left, right) {\n  Debug.assert(left.sourceIndex === right.sourceIndex);\n  return compareValues(left.sourcePosition, right.sourcePosition);\n}\nfunction compareGeneratedPositions(left, right) {\n  return compareValues(left.generatedPosition, right.generatedPosition);\n}\nfunction getSourcePositionOfMapping(value) {\n  return value.sourcePosition;\n}\nfunction getGeneratedPositionOfMapping(value) {\n  return value.generatedPosition;\n}\nfunction createDocumentPositionMapper(host, map2, mapPath) {\n  const mapDirectory = getDirectoryPath(mapPath);\n  const sourceRoot = map2.sourceRoot ? getNormalizedAbsolutePath(map2.sourceRoot, mapDirectory) : mapDirectory;\n  const generatedAbsoluteFilePath = getNormalizedAbsolutePath(map2.file, mapDirectory);\n  const generatedFile = host.getSourceFileLike(generatedAbsoluteFilePath);\n  const sourceFileAbsolutePaths = map2.sources.map((source) => getNormalizedAbsolutePath(source, sourceRoot));\n  const sourceToSourceIndexMap = new Map2(sourceFileAbsolutePaths.map((source, i) => [host.getCanonicalFileName(source), i]));\n  let decodedMappings;\n  let generatedMappings;\n  let sourceMappings;\n  return {\n    getSourcePosition,\n    getGeneratedPosition\n  };\n  function processMapping(mapping) {\n    const generatedPosition = generatedFile !== void 0 ? getPositionOfLineAndCharacter(generatedFile, mapping.generatedLine, mapping.generatedCharacter, true) : -1;\n    let source;\n    let sourcePosition;\n    if (isSourceMapping(mapping)) {\n      const sourceFile = host.getSourceFileLike(sourceFileAbsolutePaths[mapping.sourceIndex]);\n      source = map2.sources[mapping.sourceIndex];\n      sourcePosition = sourceFile !== void 0 ? getPositionOfLineAndCharacter(sourceFile, mapping.sourceLine, mapping.sourceCharacter, true) : -1;\n    }\n    return {\n      generatedPosition,\n      source,\n      sourceIndex: mapping.sourceIndex,\n      sourcePosition,\n      nameIndex: mapping.nameIndex\n    };\n  }\n  function getDecodedMappings() {\n    if (decodedMappings === void 0) {\n      const decoder = decodeMappings(map2.mappings);\n      const mappings = arrayFrom(decoder, processMapping);\n      if (decoder.error !== void 0) {\n        if (host.log) {\n          host.log(`Encountered error while decoding sourcemap: ${decoder.error}`);\n        }\n        decodedMappings = emptyArray;\n      } else {\n        decodedMappings = mappings;\n      }\n    }\n    return decodedMappings;\n  }\n  function getSourceMappings(sourceIndex) {\n    if (sourceMappings === void 0) {\n      const lists = [];\n      for (const mapping of getDecodedMappings()) {\n        if (!isSourceMappedPosition(mapping))\n          continue;\n        let list = lists[mapping.sourceIndex];\n        if (!list)\n          lists[mapping.sourceIndex] = list = [];\n        list.push(mapping);\n      }\n      sourceMappings = lists.map((list) => sortAndDeduplicate(list, compareSourcePositions, sameMappedPosition));\n    }\n    return sourceMappings[sourceIndex];\n  }\n  function getGeneratedMappings() {\n    if (generatedMappings === void 0) {\n      const list = [];\n      for (const mapping of getDecodedMappings()) {\n        list.push(mapping);\n      }\n      generatedMappings = sortAndDeduplicate(list, compareGeneratedPositions, sameMappedPosition);\n    }\n    return generatedMappings;\n  }\n  function getGeneratedPosition(loc) {\n    const sourceIndex = sourceToSourceIndexMap.get(host.getCanonicalFileName(loc.fileName));\n    if (sourceIndex === void 0)\n      return loc;\n    const sourceMappings2 = getSourceMappings(sourceIndex);\n    if (!some(sourceMappings2))\n      return loc;\n    let targetIndex = binarySearchKey(sourceMappings2, loc.pos, getSourcePositionOfMapping, compareValues);\n    if (targetIndex < 0) {\n      targetIndex = ~targetIndex;\n    }\n    const mapping = sourceMappings2[targetIndex];\n    if (mapping === void 0 || mapping.sourceIndex !== sourceIndex) {\n      return loc;\n    }\n    return { fileName: generatedAbsoluteFilePath, pos: mapping.generatedPosition };\n  }\n  function getSourcePosition(loc) {\n    const generatedMappings2 = getGeneratedMappings();\n    if (!some(generatedMappings2))\n      return loc;\n    let targetIndex = binarySearchKey(generatedMappings2, loc.pos, getGeneratedPositionOfMapping, compareValues);\n    if (targetIndex < 0) {\n      targetIndex = ~targetIndex;\n    }\n    const mapping = generatedMappings2[targetIndex];\n    if (mapping === void 0 || !isSourceMappedPosition(mapping)) {\n      return loc;\n    }\n    return { fileName: sourceFileAbsolutePaths[mapping.sourceIndex], pos: mapping.sourcePosition };\n  }\n}\nvar identitySourceMapConsumer = {\n  getSourcePosition: identity,\n  getGeneratedPosition: identity\n};\n\n// src/compiler/transformers/utilities.ts\nfunction getOriginalNodeId(node) {\n  node = getOriginalNode(node);\n  return node ? getNodeId(node) : 0;\n}\nfunction containsDefaultReference(node) {\n  if (!node)\n    return false;\n  if (!isNamedImports(node))\n    return false;\n  return some(node.elements, isNamedDefaultReference);\n}\nfunction isNamedDefaultReference(e) {\n  return e.propertyName !== void 0 && e.propertyName.escapedText === \"default\" /* Default */;\n}\nfunction chainBundle(context, transformSourceFile) {\n  return transformSourceFileOrBundle;\n  function transformSourceFileOrBundle(node) {\n    return node.kind === 314 /* SourceFile */ ? transformSourceFile(node) : transformBundle(node);\n  }\n  function transformBundle(node) {\n    return context.factory.createBundle(map(node.sourceFiles, transformSourceFile), node.prepends);\n  }\n}\nfunction getExportNeedsImportStarHelper(node) {\n  return !!getNamespaceDeclarationNode(node);\n}\nfunction getImportNeedsImportStarHelper(node) {\n  if (!!getNamespaceDeclarationNode(node)) {\n    return true;\n  }\n  const bindings = node.importClause && node.importClause.namedBindings;\n  if (!bindings) {\n    return false;\n  }\n  if (!isNamedImports(bindings))\n    return false;\n  let defaultRefCount = 0;\n  for (const binding of bindings.elements) {\n    if (isNamedDefaultReference(binding)) {\n      defaultRefCount++;\n    }\n  }\n  return defaultRefCount > 0 && defaultRefCount !== bindings.elements.length || !!(bindings.elements.length - defaultRefCount) && isDefaultImport(node);\n}\nfunction getImportNeedsImportDefaultHelper(node) {\n  return !getImportNeedsImportStarHelper(node) && (isDefaultImport(node) || !!node.importClause && isNamedImports(node.importClause.namedBindings) && containsDefaultReference(node.importClause.namedBindings));\n}\nfunction collectExternalModuleInfo(context, sourceFile, resolver, compilerOptions) {\n  const externalImports = [];\n  const exportSpecifiers = createMultiMap();\n  const exportedBindings = [];\n  const uniqueExports = new Map2();\n  let exportedNames;\n  let hasExportDefault = false;\n  let exportEquals;\n  let hasExportStarsToExportValues = false;\n  let hasImportStar = false;\n  let hasImportDefault = false;\n  for (const node of sourceFile.statements) {\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n        externalImports.push(node);\n        if (!hasImportStar && getImportNeedsImportStarHelper(node)) {\n          hasImportStar = true;\n        }\n        if (!hasImportDefault && getImportNeedsImportDefaultHelper(node)) {\n          hasImportDefault = true;\n        }\n        break;\n      case 274 /* ImportEqualsDeclaration */:\n        if (node.moduleReference.kind === 286 /* ExternalModuleReference */) {\n          externalImports.push(node);\n        }\n        break;\n      case 281 /* ExportDeclaration */:\n        if (node.moduleSpecifier) {\n          if (!node.exportClause) {\n            externalImports.push(node);\n            hasExportStarsToExportValues = true;\n          } else {\n            externalImports.push(node);\n            if (isNamedExports(node.exportClause)) {\n              addExportedNamesForExportDeclaration(node);\n            } else {\n              const name = node.exportClause.name;\n              if (!uniqueExports.get(idText(name))) {\n                multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);\n                uniqueExports.set(idText(name), true);\n                exportedNames = append(exportedNames, name);\n              }\n              hasImportStar = true;\n            }\n          }\n        } else {\n          addExportedNamesForExportDeclaration(node);\n        }\n        break;\n      case 280 /* ExportAssignment */:\n        if (node.isExportEquals && !exportEquals) {\n          exportEquals = node;\n        }\n        break;\n      case 244 /* VariableStatement */:\n        if (hasSyntacticModifier(node, 1 /* Export */)) {\n          for (const decl of node.declarationList.declarations) {\n            exportedNames = collectExportedVariableInfo(decl, uniqueExports, exportedNames);\n          }\n        }\n        break;\n      case 263 /* FunctionDeclaration */:\n        if (hasSyntacticModifier(node, 1 /* Export */)) {\n          if (hasSyntacticModifier(node, 1024 /* Default */)) {\n            if (!hasExportDefault) {\n              multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node));\n              hasExportDefault = true;\n            }\n          } else {\n            const name = node.name;\n            if (!uniqueExports.get(idText(name))) {\n              multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);\n              uniqueExports.set(idText(name), true);\n              exportedNames = append(exportedNames, name);\n            }\n          }\n        }\n        break;\n      case 264 /* ClassDeclaration */:\n        if (hasSyntacticModifier(node, 1 /* Export */)) {\n          if (hasSyntacticModifier(node, 1024 /* Default */)) {\n            if (!hasExportDefault) {\n              multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), context.factory.getDeclarationName(node));\n              hasExportDefault = true;\n            }\n          } else {\n            const name = node.name;\n            if (name && !uniqueExports.get(idText(name))) {\n              multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(node), name);\n              uniqueExports.set(idText(name), true);\n              exportedNames = append(exportedNames, name);\n            }\n          }\n        }\n        break;\n    }\n  }\n  const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(context.factory, context.getEmitHelperFactory(), sourceFile, compilerOptions, hasExportStarsToExportValues, hasImportStar, hasImportDefault);\n  if (externalHelpersImportDeclaration) {\n    externalImports.unshift(externalHelpersImportDeclaration);\n  }\n  return { externalImports, exportSpecifiers, exportEquals, hasExportStarsToExportValues, exportedBindings, exportedNames, externalHelpersImportDeclaration };\n  function addExportedNamesForExportDeclaration(node) {\n    for (const specifier of cast(node.exportClause, isNamedExports).elements) {\n      if (resolver.isReferredToAnnotation(specifier) === true) {\n        continue;\n      }\n      if (!uniqueExports.get(idText(specifier.name))) {\n        const name = specifier.propertyName || specifier.name;\n        if (!node.moduleSpecifier) {\n          exportSpecifiers.add(idText(name), specifier);\n        }\n        const decl = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name);\n        if (decl) {\n          multiMapSparseArrayAdd(exportedBindings, getOriginalNodeId(decl), specifier.name);\n        }\n        uniqueExports.set(idText(specifier.name), true);\n        exportedNames = append(exportedNames, specifier.name);\n      }\n    }\n  }\n}\nfunction collectExportedVariableInfo(decl, uniqueExports, exportedNames) {\n  if (isBindingPattern(decl.name)) {\n    for (const element of decl.name.elements) {\n      if (!isOmittedExpression(element)) {\n        exportedNames = collectExportedVariableInfo(element, uniqueExports, exportedNames);\n      }\n    }\n  } else if (!isGeneratedIdentifier(decl.name)) {\n    const text = idText(decl.name);\n    if (!uniqueExports.get(text)) {\n      uniqueExports.set(text, true);\n      exportedNames = append(exportedNames, decl.name);\n    }\n  }\n  return exportedNames;\n}\nfunction multiMapSparseArrayAdd(map2, key, value) {\n  let values = map2[key];\n  if (values) {\n    values.push(value);\n  } else {\n    map2[key] = values = [value];\n  }\n  return values;\n}\nfunction isSimpleCopiableExpression(expression) {\n  return isStringLiteralLike(expression) || expression.kind === 8 /* NumericLiteral */ || isKeyword(expression.kind) || isIdentifier(expression);\n}\nfunction isSimpleInlineableExpression(expression) {\n  return !isIdentifier(expression) && isSimpleCopiableExpression(expression);\n}\nfunction isCompoundAssignment(kind) {\n  return kind >= 64 /* FirstCompoundAssignment */ && kind <= 78 /* LastCompoundAssignment */;\n}\nfunction getNonAssignmentOperatorForCompoundAssignment(kind) {\n  switch (kind) {\n    case 64 /* PlusEqualsToken */:\n      return 39 /* PlusToken */;\n    case 65 /* MinusEqualsToken */:\n      return 40 /* MinusToken */;\n    case 66 /* AsteriskEqualsToken */:\n      return 41 /* AsteriskToken */;\n    case 67 /* AsteriskAsteriskEqualsToken */:\n      return 42 /* AsteriskAsteriskToken */;\n    case 68 /* SlashEqualsToken */:\n      return 43 /* SlashToken */;\n    case 69 /* PercentEqualsToken */:\n      return 44 /* PercentToken */;\n    case 70 /* LessThanLessThanEqualsToken */:\n      return 47 /* LessThanLessThanToken */;\n    case 71 /* GreaterThanGreaterThanEqualsToken */:\n      return 48 /* GreaterThanGreaterThanToken */;\n    case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n      return 49 /* GreaterThanGreaterThanGreaterThanToken */;\n    case 73 /* AmpersandEqualsToken */:\n      return 50 /* AmpersandToken */;\n    case 74 /* BarEqualsToken */:\n      return 51 /* BarToken */;\n    case 78 /* CaretEqualsToken */:\n      return 52 /* CaretToken */;\n    case 75 /* BarBarEqualsToken */:\n      return 56 /* BarBarToken */;\n    case 76 /* AmpersandAmpersandEqualsToken */:\n      return 55 /* AmpersandAmpersandToken */;\n    case 77 /* QuestionQuestionEqualsToken */:\n      return 60 /* QuestionQuestionToken */;\n  }\n}\nfunction getSuperCallFromStatement(statement) {\n  if (!isExpressionStatement(statement)) {\n    return void 0;\n  }\n  const expression = skipParentheses(statement.expression);\n  return isSuperCall(expression) ? expression : void 0;\n}\nfunction findSuperStatementIndex(statements, indexAfterLastPrologueStatement) {\n  for (let i = indexAfterLastPrologueStatement; i < statements.length; i += 1) {\n    const statement = statements[i];\n    if (getSuperCallFromStatement(statement)) {\n      return i;\n    }\n  }\n  return -1;\n}\nfunction getProperties(node, requireInitializer, isStatic2) {\n  return filter(node.members, (m) => isInitializedOrStaticProperty(m, requireInitializer, isStatic2));\n}\nfunction isStaticPropertyDeclarationOrClassStaticBlockDeclaration(element) {\n  return isStaticPropertyDeclaration(element) || isClassStaticBlockDeclaration(element);\n}\nfunction getStaticPropertiesAndClassStaticBlock(node) {\n  return filter(node.members, isStaticPropertyDeclarationOrClassStaticBlockDeclaration);\n}\nfunction isInitializedOrStaticProperty(member, requireInitializer, isStatic2) {\n  return isPropertyDeclaration(member) && (!!member.initializer || !requireInitializer) && hasStaticModifier(member) === isStatic2;\n}\nfunction isStaticPropertyDeclaration(member) {\n  return isPropertyDeclaration(member) && hasStaticModifier(member);\n}\nfunction isInitializedProperty(member) {\n  return member.kind === 171 /* PropertyDeclaration */ && member.initializer !== void 0;\n}\nfunction isNonStaticMethodOrAccessorWithPrivateName(member) {\n  return !isStatic(member) && (isMethodOrAccessor(member) || isAutoAccessorPropertyDeclaration(member)) && isPrivateIdentifier(member.name);\n}\nfunction getDecoratorsOfParameters(node) {\n  let decorators;\n  if (node) {\n    const parameters = node.parameters;\n    const firstParameterIsThis = parameters.length > 0 && parameterIsThisKeyword(parameters[0]);\n    const firstParameterOffset = firstParameterIsThis ? 1 : 0;\n    const numParameters = firstParameterIsThis ? parameters.length - 1 : parameters.length;\n    for (let i = 0; i < numParameters; i++) {\n      const parameter = parameters[i + firstParameterOffset];\n      if (decorators || hasDecorators(parameter)) {\n        if (!decorators) {\n          decorators = new Array(numParameters);\n        }\n        decorators[i] = getDecorators(parameter);\n      }\n    }\n  }\n  return decorators;\n}\nfunction getAllDecoratorsOfClass(node) {\n  const decorators = getDecorators(node);\n  const parameters = getDecoratorsOfParameters(getFirstConstructorWithBody(node));\n  if (!some(decorators) && !some(parameters)) {\n    return void 0;\n  }\n  return {\n    decorators,\n    parameters\n  };\n}\nfunction getAllDecoratorsOfClassElement(member, parent2) {\n  switch (member.kind) {\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return getAllDecoratorsOfAccessors(member, parent2);\n    case 174 /* MethodDeclaration */:\n      return getAllDecoratorsOfMethod(member);\n    case 171 /* PropertyDeclaration */:\n      return getAllDecoratorsOfProperty(member);\n    default:\n      return void 0;\n  }\n}\nfunction getAllDecoratorsOfAccessors(accessor, parent2) {\n  if (!accessor.body) {\n    return void 0;\n  }\n  const { firstAccessor, secondAccessor, getAccessor, setAccessor } = getAllAccessorDeclarations(parent2.members, accessor);\n  const firstAccessorWithDecorators = hasDecorators(firstAccessor) ? firstAccessor : secondAccessor && hasDecorators(secondAccessor) ? secondAccessor : void 0;\n  if (!firstAccessorWithDecorators || accessor !== firstAccessorWithDecorators) {\n    return void 0;\n  }\n  const decorators = getDecorators(firstAccessorWithDecorators);\n  const parameters = getDecoratorsOfParameters(setAccessor);\n  if (!some(decorators) && !some(parameters)) {\n    return void 0;\n  }\n  return {\n    decorators,\n    parameters,\n    getDecorators: getAccessor && getDecorators(getAccessor),\n    setDecorators: setAccessor && getDecorators(setAccessor)\n  };\n}\nfunction getAllDecoratorsOfMethod(method) {\n  if (!method.body) {\n    return void 0;\n  }\n  const decorators = getDecorators(method);\n  const parameters = getDecoratorsOfParameters(method);\n  if (!some(decorators) && !some(parameters)) {\n    return void 0;\n  }\n  return { decorators, parameters };\n}\nfunction getAllDecoratorsOfProperty(property) {\n  const decorators = getDecorators(property);\n  if (!some(decorators)) {\n    return void 0;\n  }\n  return { decorators };\n}\n\n// src/compiler/transformers/destructuring.ts\nvar FlattenLevel = /* @__PURE__ */ ((FlattenLevel2) => {\n  FlattenLevel2[FlattenLevel2[\"All\"] = 0] = \"All\";\n  FlattenLevel2[FlattenLevel2[\"ObjectRest\"] = 1] = \"ObjectRest\";\n  return FlattenLevel2;\n})(FlattenLevel || {});\nfunction flattenDestructuringAssignment(node, visitor, context, level, needsValue, createAssignmentCallback) {\n  let location = node;\n  let value;\n  if (isDestructuringAssignment(node)) {\n    value = node.right;\n    while (isEmptyArrayLiteral(node.left) || isEmptyObjectLiteral(node.left)) {\n      if (isDestructuringAssignment(value)) {\n        location = node = value;\n        value = node.right;\n      } else {\n        return visitNode(value, visitor, isExpression);\n      }\n    }\n  }\n  let expressions;\n  const flattenContext = {\n    context,\n    level,\n    downlevelIteration: !!context.getCompilerOptions().downlevelIteration,\n    hoistTempVariables: true,\n    emitExpression,\n    emitBindingOrAssignment,\n    createArrayBindingOrAssignmentPattern: (elements) => makeArrayAssignmentPattern(context.factory, elements),\n    createObjectBindingOrAssignmentPattern: (elements) => makeObjectAssignmentPattern(context.factory, elements),\n    createArrayBindingOrAssignmentElement: makeAssignmentElement,\n    visitor\n  };\n  if (value) {\n    value = visitNode(value, visitor, isExpression);\n    if (isIdentifier(value) && bindingOrAssignmentElementAssignsToName(node, value.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node)) {\n      value = ensureIdentifier(flattenContext, value, false, location);\n    } else if (needsValue) {\n      value = ensureIdentifier(flattenContext, value, true, location);\n    } else if (nodeIsSynthesized(node)) {\n      location = value;\n    }\n  }\n  flattenBindingOrAssignmentElement(flattenContext, node, value, location, isDestructuringAssignment(node));\n  if (value && needsValue) {\n    if (!some(expressions)) {\n      return value;\n    }\n    expressions.push(value);\n  }\n  return context.factory.inlineExpressions(expressions) || context.factory.createOmittedExpression();\n  function emitExpression(expression) {\n    expressions = append(expressions, expression);\n  }\n  function emitBindingOrAssignment(target, value2, location2, original) {\n    Debug.assertNode(target, createAssignmentCallback ? isIdentifier : isExpression);\n    const expression = createAssignmentCallback ? createAssignmentCallback(target, value2, location2) : setTextRange(\n      context.factory.createAssignment(visitNode(target, visitor, isExpression), value2),\n      location2\n    );\n    expression.original = original;\n    emitExpression(expression);\n  }\n}\nfunction bindingOrAssignmentElementAssignsToName(element, escapedName) {\n  const target = getTargetOfBindingOrAssignmentElement(element);\n  if (isBindingOrAssignmentPattern(target)) {\n    return bindingOrAssignmentPatternAssignsToName(target, escapedName);\n  } else if (isIdentifier(target)) {\n    return target.escapedText === escapedName;\n  }\n  return false;\n}\nfunction bindingOrAssignmentPatternAssignsToName(pattern, escapedName) {\n  const elements = getElementsOfBindingOrAssignmentPattern(pattern);\n  for (const element of elements) {\n    if (bindingOrAssignmentElementAssignsToName(element, escapedName)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction bindingOrAssignmentElementContainsNonLiteralComputedName(element) {\n  const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element);\n  if (propertyName && isComputedPropertyName(propertyName) && !isLiteralExpression(propertyName.expression)) {\n    return true;\n  }\n  const target = getTargetOfBindingOrAssignmentElement(element);\n  return !!target && isBindingOrAssignmentPattern(target) && bindingOrAssignmentPatternContainsNonLiteralComputedName(target);\n}\nfunction bindingOrAssignmentPatternContainsNonLiteralComputedName(pattern) {\n  return !!forEach(getElementsOfBindingOrAssignmentPattern(pattern), bindingOrAssignmentElementContainsNonLiteralComputedName);\n}\nfunction flattenDestructuringBinding(node, visitor, context, level, rval, hoistTempVariables = false, skipInitializer) {\n  let pendingExpressions;\n  const pendingDeclarations = [];\n  const declarations = [];\n  const flattenContext = {\n    context,\n    level,\n    downlevelIteration: !!context.getCompilerOptions().downlevelIteration,\n    hoistTempVariables,\n    emitExpression,\n    emitBindingOrAssignment,\n    createArrayBindingOrAssignmentPattern: (elements) => makeArrayBindingPattern(context.factory, elements),\n    createObjectBindingOrAssignmentPattern: (elements) => makeObjectBindingPattern(context.factory, elements),\n    createArrayBindingOrAssignmentElement: (name) => makeBindingElement(context.factory, name),\n    visitor\n  };\n  if (isVariableDeclaration(node)) {\n    let initializer = getInitializerOfBindingOrAssignmentElement(node);\n    if (initializer && (isIdentifier(initializer) && bindingOrAssignmentElementAssignsToName(node, initializer.escapedText) || bindingOrAssignmentElementContainsNonLiteralComputedName(node))) {\n      initializer = ensureIdentifier(flattenContext, visitNode(initializer, flattenContext.visitor), false, initializer);\n      node = context.factory.updateVariableDeclaration(node, node.name, void 0, void 0, initializer);\n    }\n  }\n  flattenBindingOrAssignmentElement(flattenContext, node, rval, node, skipInitializer);\n  if (pendingExpressions) {\n    const temp = context.factory.createTempVariable(void 0);\n    if (hoistTempVariables) {\n      const value = context.factory.inlineExpressions(pendingExpressions);\n      pendingExpressions = void 0;\n      emitBindingOrAssignment(temp, value, void 0, void 0);\n    } else {\n      context.hoistVariableDeclaration(temp);\n      const pendingDeclaration = last(pendingDeclarations);\n      pendingDeclaration.pendingExpressions = append(\n        pendingDeclaration.pendingExpressions,\n        context.factory.createAssignment(temp, pendingDeclaration.value)\n      );\n      addRange(pendingDeclaration.pendingExpressions, pendingExpressions);\n      pendingDeclaration.value = temp;\n    }\n  }\n  for (const { pendingExpressions: pendingExpressions2, name, value, location, original } of pendingDeclarations) {\n    const variable = context.factory.createVariableDeclaration(\n      name,\n      void 0,\n      void 0,\n      pendingExpressions2 ? context.factory.inlineExpressions(append(pendingExpressions2, value)) : value\n    );\n    variable.original = original;\n    setTextRange(variable, location);\n    declarations.push(variable);\n  }\n  return declarations;\n  function emitExpression(value) {\n    pendingExpressions = append(pendingExpressions, value);\n  }\n  function emitBindingOrAssignment(target, value, location, original) {\n    Debug.assertNode(target, isBindingName);\n    if (pendingExpressions) {\n      value = context.factory.inlineExpressions(append(pendingExpressions, value));\n      pendingExpressions = void 0;\n    }\n    pendingDeclarations.push({ pendingExpressions, name: target, value, location, original });\n  }\n}\nfunction flattenBindingOrAssignmentElement(flattenContext, element, value, location, skipInitializer) {\n  const bindingTarget = getTargetOfBindingOrAssignmentElement(element);\n  if (!skipInitializer) {\n    const initializer = visitNode(getInitializerOfBindingOrAssignmentElement(element), flattenContext.visitor, isExpression);\n    if (initializer) {\n      if (value) {\n        value = createDefaultValueCheck(flattenContext, value, initializer, location);\n        if (!isSimpleInlineableExpression(initializer) && isBindingOrAssignmentPattern(bindingTarget)) {\n          value = ensureIdentifier(flattenContext, value, true, location);\n        }\n      } else {\n        value = initializer;\n      }\n    } else if (!value) {\n      value = flattenContext.context.factory.createVoidZero();\n    }\n  }\n  if (isObjectBindingOrAssignmentPattern(bindingTarget)) {\n    flattenObjectBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location);\n  } else if (isArrayBindingOrAssignmentPattern(bindingTarget)) {\n    flattenArrayBindingOrAssignmentPattern(flattenContext, element, bindingTarget, value, location);\n  } else {\n    flattenContext.emitBindingOrAssignment(bindingTarget, value, location, element);\n  }\n}\nfunction flattenObjectBindingOrAssignmentPattern(flattenContext, parent2, pattern, value, location) {\n  const elements = getElementsOfBindingOrAssignmentPattern(pattern);\n  const numElements = elements.length;\n  if (numElements !== 1) {\n    const reuseIdentifierExpressions = !isDeclarationBindingElement(parent2) || numElements !== 0;\n    value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location);\n  }\n  let bindingElements;\n  let computedTempVariables;\n  for (let i = 0; i < numElements; i++) {\n    const element = elements[i];\n    if (!getRestIndicatorOfBindingOrAssignmentElement(element)) {\n      const propertyName = getPropertyNameOfBindingOrAssignmentElement(element);\n      if (flattenContext.level >= 1 /* ObjectRest */ && !(element.transformFlags & (32768 /* ContainsRestOrSpread */ | 65536 /* ContainsObjectRestOrSpread */)) && !(getTargetOfBindingOrAssignmentElement(element).transformFlags & (32768 /* ContainsRestOrSpread */ | 65536 /* ContainsObjectRestOrSpread */)) && !isComputedPropertyName(propertyName)) {\n        bindingElements = append(bindingElements, visitNode(element, flattenContext.visitor));\n      } else {\n        if (bindingElements) {\n          flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n          bindingElements = void 0;\n        }\n        const rhsValue = createDestructuringPropertyAccess(flattenContext, value, propertyName);\n        if (isComputedPropertyName(propertyName)) {\n          computedTempVariables = append(computedTempVariables, rhsValue.argumentExpression);\n        }\n        flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element);\n      }\n    } else if (i === numElements - 1) {\n      if (bindingElements) {\n        flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n        bindingElements = void 0;\n      }\n      const rhsValue = flattenContext.context.getEmitHelperFactory().createRestHelper(value, elements, computedTempVariables, pattern);\n      flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element);\n    }\n  }\n  if (bindingElements) {\n    flattenContext.emitBindingOrAssignment(flattenContext.createObjectBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n  }\n}\nfunction flattenArrayBindingOrAssignmentPattern(flattenContext, parent2, pattern, value, location) {\n  const elements = getElementsOfBindingOrAssignmentPattern(pattern);\n  const numElements = elements.length;\n  if (flattenContext.level < 1 /* ObjectRest */ && flattenContext.downlevelIteration) {\n    value = ensureIdentifier(\n      flattenContext,\n      setTextRange(\n        flattenContext.context.getEmitHelperFactory().createReadHelper(\n          value,\n          numElements > 0 && getRestIndicatorOfBindingOrAssignmentElement(elements[numElements - 1]) ? void 0 : numElements\n        ),\n        location\n      ),\n      false,\n      location\n    );\n  } else if (numElements !== 1 && (flattenContext.level < 1 /* ObjectRest */ || numElements === 0) || every(elements, isOmittedExpression)) {\n    const reuseIdentifierExpressions = !isDeclarationBindingElement(parent2) || numElements !== 0;\n    value = ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location);\n  }\n  let bindingElements;\n  let restContainingElements;\n  for (let i = 0; i < numElements; i++) {\n    const element = elements[i];\n    if (flattenContext.level >= 1 /* ObjectRest */) {\n      if (element.transformFlags & 65536 /* ContainsObjectRestOrSpread */ || flattenContext.hasTransformedPriorElement && !isSimpleBindingOrAssignmentElement(element)) {\n        flattenContext.hasTransformedPriorElement = true;\n        const temp = flattenContext.context.factory.createTempVariable(void 0);\n        if (flattenContext.hoistTempVariables) {\n          flattenContext.context.hoistVariableDeclaration(temp);\n        }\n        restContainingElements = append(restContainingElements, [temp, element]);\n        bindingElements = append(bindingElements, flattenContext.createArrayBindingOrAssignmentElement(temp));\n      } else {\n        bindingElements = append(bindingElements, element);\n      }\n    } else if (isOmittedExpression(element)) {\n      continue;\n    } else if (!getRestIndicatorOfBindingOrAssignmentElement(element)) {\n      const rhsValue = flattenContext.context.factory.createElementAccessExpression(value, i);\n      flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element);\n    } else if (i === numElements - 1) {\n      const rhsValue = flattenContext.context.factory.createArraySliceCall(value, i);\n      flattenBindingOrAssignmentElement(flattenContext, element, rhsValue, element);\n    }\n  }\n  if (bindingElements) {\n    flattenContext.emitBindingOrAssignment(flattenContext.createArrayBindingOrAssignmentPattern(bindingElements), value, location, pattern);\n  }\n  if (restContainingElements) {\n    for (const [id, element] of restContainingElements) {\n      flattenBindingOrAssignmentElement(flattenContext, element, id, element);\n    }\n  }\n}\nfunction isSimpleBindingOrAssignmentElement(element) {\n  const target = getTargetOfBindingOrAssignmentElement(element);\n  if (!target || isOmittedExpression(target))\n    return true;\n  const propertyName = tryGetPropertyNameOfBindingOrAssignmentElement(element);\n  if (propertyName && !isPropertyNameLiteral(propertyName))\n    return false;\n  const initializer = getInitializerOfBindingOrAssignmentElement(element);\n  if (initializer && !isSimpleInlineableExpression(initializer))\n    return false;\n  if (isBindingOrAssignmentPattern(target))\n    return every(getElementsOfBindingOrAssignmentPattern(target), isSimpleBindingOrAssignmentElement);\n  return isIdentifier(target);\n}\nfunction createDefaultValueCheck(flattenContext, value, defaultValue, location) {\n  value = ensureIdentifier(flattenContext, value, true, location);\n  return flattenContext.context.factory.createConditionalExpression(flattenContext.context.factory.createTypeCheck(value, \"undefined\"), void 0, defaultValue, void 0, value);\n}\nfunction createDestructuringPropertyAccess(flattenContext, value, propertyName) {\n  if (isComputedPropertyName(propertyName)) {\n    const argumentExpression = ensureIdentifier(flattenContext, visitNode(propertyName.expression, flattenContext.visitor), false, propertyName);\n    return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression);\n  } else if (isStringOrNumericLiteralLike(propertyName)) {\n    const argumentExpression = factory.cloneNode(propertyName);\n    return flattenContext.context.factory.createElementAccessExpression(value, argumentExpression);\n  } else {\n    const name = flattenContext.context.factory.createIdentifier(idText(propertyName));\n    return flattenContext.context.factory.createPropertyAccessExpression(value, name);\n  }\n}\nfunction ensureIdentifier(flattenContext, value, reuseIdentifierExpressions, location) {\n  if (isIdentifier(value) && reuseIdentifierExpressions) {\n    return value;\n  } else {\n    const temp = flattenContext.context.factory.createTempVariable(void 0);\n    if (flattenContext.hoistTempVariables) {\n      flattenContext.context.hoistVariableDeclaration(temp);\n      flattenContext.emitExpression(setTextRange(flattenContext.context.factory.createAssignment(temp, value), location));\n    } else {\n      flattenContext.emitBindingOrAssignment(temp, value, location, void 0);\n    }\n    return temp;\n  }\n}\nfunction makeArrayBindingPattern(factory2, elements) {\n  Debug.assertEachNode(elements, isArrayBindingElement);\n  return factory2.createArrayBindingPattern(elements);\n}\nfunction makeArrayAssignmentPattern(factory2, elements) {\n  return factory2.createArrayLiteralExpression(map(elements, factory2.converters.convertToArrayAssignmentElement));\n}\nfunction makeObjectBindingPattern(factory2, elements) {\n  Debug.assertEachNode(elements, isBindingElement);\n  return factory2.createObjectBindingPattern(elements);\n}\nfunction makeObjectAssignmentPattern(factory2, elements) {\n  return factory2.createObjectLiteralExpression(map(elements, factory2.converters.convertToObjectAssignmentElement));\n}\nfunction makeBindingElement(factory2, name) {\n  return factory2.createBindingElement(void 0, void 0, name);\n}\nfunction makeAssignmentElement(name) {\n  return name;\n}\n\n// src/compiler/transformers/taggedTemplate.ts\nvar ProcessLevel = /* @__PURE__ */ ((ProcessLevel2) => {\n  ProcessLevel2[ProcessLevel2[\"LiftRestriction\"] = 0] = \"LiftRestriction\";\n  ProcessLevel2[ProcessLevel2[\"All\"] = 1] = \"All\";\n  return ProcessLevel2;\n})(ProcessLevel || {});\nfunction processTaggedTemplateExpression(context, node, visitor, currentSourceFile, recordTaggedTemplateString, level) {\n  const tag = visitNode(node.tag, visitor, isExpression);\n  const templateArguments = [void 0];\n  const cookedStrings = [];\n  const rawStrings = [];\n  const template = node.template;\n  if (level === 0 /* LiftRestriction */ && !hasInvalidEscape(template)) {\n    return visitEachChild(node, visitor, context);\n  }\n  if (isNoSubstitutionTemplateLiteral(template)) {\n    cookedStrings.push(createTemplateCooked(template));\n    rawStrings.push(getRawLiteral(template, currentSourceFile));\n  } else {\n    cookedStrings.push(createTemplateCooked(template.head));\n    rawStrings.push(getRawLiteral(template.head, currentSourceFile));\n    for (const templateSpan of template.templateSpans) {\n      cookedStrings.push(createTemplateCooked(templateSpan.literal));\n      rawStrings.push(getRawLiteral(templateSpan.literal, currentSourceFile));\n      templateArguments.push(visitNode(templateSpan.expression, visitor, isExpression));\n    }\n  }\n  const helperCall = context.getEmitHelperFactory().createTemplateObjectHelper(\n    factory.createArrayLiteralExpression(cookedStrings),\n    factory.createArrayLiteralExpression(rawStrings)\n  );\n  if (isExternalModule(currentSourceFile)) {\n    const tempVar = factory.createUniqueName(\"templateObject\");\n    recordTaggedTemplateString(tempVar);\n    templateArguments[0] = factory.createLogicalOr(\n      tempVar,\n      factory.createAssignment(\n        tempVar,\n        helperCall\n      )\n    );\n  } else {\n    templateArguments[0] = helperCall;\n  }\n  return factory.createCallExpression(tag, void 0, templateArguments);\n}\nfunction createTemplateCooked(template) {\n  return template.templateFlags ? factory.createVoidZero() : factory.createStringLiteral(template.text);\n}\nfunction getRawLiteral(node, currentSourceFile) {\n  let text = node.rawText;\n  if (text === void 0) {\n    Debug.assertIsDefined(\n      currentSourceFile,\n      \"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform.\"\n    );\n    text = getSourceTextOfNodeFromSourceFile(currentSourceFile, node);\n    const isLast = node.kind === 14 /* NoSubstitutionTemplateLiteral */ || node.kind === 17 /* TemplateTail */;\n    text = text.substring(1, text.length - (isLast ? 1 : 2));\n  }\n  text = text.replace(/\\r\\n?/g, \"\\n\");\n  return setTextRange(factory.createStringLiteral(text), node);\n}\n\n// src/compiler/transformers/ts.ts\nvar USE_NEW_TYPE_METADATA_FORMAT = false;\nvar TypeScriptSubstitutionFlags = /* @__PURE__ */ ((TypeScriptSubstitutionFlags2) => {\n  TypeScriptSubstitutionFlags2[TypeScriptSubstitutionFlags2[\"NamespaceExports\"] = 2] = \"NamespaceExports\";\n  TypeScriptSubstitutionFlags2[TypeScriptSubstitutionFlags2[\"NonQualifiedEnumMembers\"] = 8] = \"NonQualifiedEnumMembers\";\n  return TypeScriptSubstitutionFlags2;\n})(TypeScriptSubstitutionFlags || {});\nvar ClassFacts = /* @__PURE__ */ ((ClassFacts3) => {\n  ClassFacts3[ClassFacts3[\"None\"] = 0] = \"None\";\n  ClassFacts3[ClassFacts3[\"HasStaticInitializedProperties\"] = 1] = \"HasStaticInitializedProperties\";\n  ClassFacts3[ClassFacts3[\"HasConstructorDecorators\"] = 2] = \"HasConstructorDecorators\";\n  ClassFacts3[ClassFacts3[\"HasMemberDecorators\"] = 4] = \"HasMemberDecorators\";\n  ClassFacts3[ClassFacts3[\"IsExportOfNamespace\"] = 8] = \"IsExportOfNamespace\";\n  ClassFacts3[ClassFacts3[\"IsNamedExternalExport\"] = 16] = \"IsNamedExternalExport\";\n  ClassFacts3[ClassFacts3[\"IsDefaultExternalExport\"] = 32] = \"IsDefaultExternalExport\";\n  ClassFacts3[ClassFacts3[\"IsDerivedClass\"] = 64] = \"IsDerivedClass\";\n  ClassFacts3[ClassFacts3[\"UseImmediatelyInvokedFunctionExpression\"] = 128] = \"UseImmediatelyInvokedFunctionExpression\";\n  ClassFacts3[ClassFacts3[\"HasAnyDecorators\"] = 6] = \"HasAnyDecorators\";\n  ClassFacts3[ClassFacts3[\"NeedsName\"] = 5] = \"NeedsName\";\n  ClassFacts3[ClassFacts3[\"MayNeedImmediatelyInvokedFunctionExpression\"] = 7] = \"MayNeedImmediatelyInvokedFunctionExpression\";\n  ClassFacts3[ClassFacts3[\"IsExported\"] = 56] = \"IsExported\";\n  return ClassFacts3;\n})(ClassFacts || {});\nfunction transformTypeScript(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    startLexicalEnvironment,\n    resumeLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistVariableDeclaration\n  } = context;\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const moduleKind = getEmitModuleKind(compilerOptions);\n  const typeSerializer = compilerOptions.emitDecoratorMetadata ? createRuntimeTypeSerializer(context) : void 0;\n  const previousOnEmitNode = context.onEmitNode;\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onEmitNode = onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  context.enableSubstitution(211 /* PropertyAccessExpression */);\n  context.enableSubstitution(212 /* ElementAccessExpression */);\n  let currentSourceFile;\n  let currentNamespace;\n  let currentNamespaceContainerName;\n  let currentLexicalScope;\n  let currentScopeFirstDeclarationsOfName;\n  let currentClassHasParameterProperties;\n  let enabledSubstitutions;\n  let applicableSubstitutions;\n  return transformSourceFileOrBundle;\n  function transformSourceFileOrBundle(node) {\n    if (node.kind === 315 /* Bundle */) {\n      return transformBundle(node);\n    }\n    return transformSourceFile(node);\n  }\n  function transformBundle(node) {\n    return factory2.createBundle(node.sourceFiles.map(transformSourceFile), mapDefined(node.prepends, (prepend) => {\n      if (prepend.kind === 317 /* InputFiles */) {\n        return createUnparsedSourceFile(prepend, \"js\");\n      }\n      return prepend;\n    }));\n  }\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    currentSourceFile = node;\n    const visited = saveStateAndInvoke(node, visitSourceFile);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    currentSourceFile = void 0;\n    return visited;\n  }\n  function saveStateAndInvoke(node, f) {\n    const savedCurrentScope = currentLexicalScope;\n    const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName;\n    const savedCurrentClassHasParameterProperties = currentClassHasParameterProperties;\n    onBeforeVisitNode(node);\n    const visited = f(node);\n    if (currentLexicalScope !== savedCurrentScope) {\n      currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName;\n    }\n    currentLexicalScope = savedCurrentScope;\n    currentClassHasParameterProperties = savedCurrentClassHasParameterProperties;\n    return visited;\n  }\n  function onBeforeVisitNode(node) {\n    switch (node.kind) {\n      case 314 /* SourceFile */:\n      case 272 /* CaseBlock */:\n      case 271 /* ModuleBlock */:\n      case 242 /* Block */:\n        currentLexicalScope = node;\n        currentScopeFirstDeclarationsOfName = void 0;\n        break;\n      case 264 /* ClassDeclaration */:\n      case 263 /* FunctionDeclaration */:\n        if (hasSyntacticModifier(node, 2 /* Ambient */)) {\n          break;\n        }\n        if (node.name) {\n          recordEmittedDeclarationInScope(node);\n        } else {\n          Debug.assert(node.kind === 264 /* ClassDeclaration */ || hasSyntacticModifier(node, 1024 /* Default */));\n        }\n        break;\n    }\n  }\n  function visitor(node) {\n    return saveStateAndInvoke(node, visitorWorker);\n  }\n  function visitorWorker(node) {\n    if (node.transformFlags & 1 /* ContainsTypeScript */) {\n      return visitTypeScript(node);\n    }\n    return node;\n  }\n  function sourceElementVisitor(node) {\n    return saveStateAndInvoke(node, sourceElementVisitorWorker);\n  }\n  function sourceElementVisitorWorker(node) {\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n      case 274 /* ImportEqualsDeclaration */:\n      case 280 /* ExportAssignment */:\n      case 281 /* ExportDeclaration */:\n        return visitElidableStatement(node);\n      default:\n        return visitorWorker(node);\n    }\n  }\n  function visitElidableStatement(node) {\n    const parsed = getParseTreeNode(node);\n    if (parsed !== node) {\n      if (node.transformFlags & 1 /* ContainsTypeScript */) {\n        return visitEachChild(node, visitor, context);\n      }\n      if (isImportDeclaration(node)) {\n        return visitImportDeclaration(node);\n      }\n      return node;\n    }\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n        return visitImportDeclaration(node);\n      case 274 /* ImportEqualsDeclaration */:\n        return visitImportEqualsDeclaration(node);\n      case 280 /* ExportAssignment */:\n        return visitExportAssignment(node);\n      case 281 /* ExportDeclaration */:\n        return visitExportDeclaration(node);\n      default:\n        Debug.fail(\"Unhandled ellided statement\");\n    }\n  }\n  function namespaceElementVisitor(node) {\n    return saveStateAndInvoke(node, namespaceElementVisitorWorker);\n  }\n  function namespaceElementVisitorWorker(node) {\n    if (node.kind === 281 /* ExportDeclaration */ || node.kind === 275 /* ImportDeclaration */ || node.kind === 276 /* ImportClause */ || node.kind === 274 /* ImportEqualsDeclaration */ && node.moduleReference.kind === 286 /* ExternalModuleReference */) {\n      return void 0;\n    } else if (node.transformFlags & 1 /* ContainsTypeScript */ || hasSyntacticModifier(node, 1 /* Export */)) {\n      return visitTypeScript(node);\n    }\n    return node;\n  }\n  function getClassElementVisitor(parent2) {\n    return (node) => saveStateAndInvoke(node, (n) => classElementVisitorWorker(n, parent2));\n  }\n  function classElementVisitorWorker(node, parent2) {\n    switch (node.kind) {\n      case 176 /* Constructor */:\n        return visitConstructor(node);\n      case 171 /* PropertyDeclaration */:\n        return visitPropertyDeclaration(node, parent2);\n      case 177 /* GetAccessor */:\n        return visitGetAccessor(node, parent2);\n      case 178 /* SetAccessor */:\n        return visitSetAccessor(node, parent2);\n      case 174 /* MethodDeclaration */:\n        return visitMethodDeclaration(node, parent2);\n      case 175 /* ClassStaticBlockDeclaration */:\n        return visitEachChild(node, visitor, context);\n      case 241 /* SemicolonClassElement */:\n        return node;\n      case 181 /* IndexSignature */:\n        return;\n      default:\n        return Debug.failBadSyntaxKind(node);\n    }\n  }\n  function getObjectLiteralElementVisitor(parent2) {\n    return (node) => saveStateAndInvoke(node, (n) => objectLiteralElementVisitorWorker(n, parent2));\n  }\n  function objectLiteralElementVisitorWorker(node, parent2) {\n    switch (node.kind) {\n      case 305 /* PropertyAssignment */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 307 /* SpreadAssignment */:\n        return visitor(node);\n      case 177 /* GetAccessor */:\n        return visitGetAccessor(node, parent2);\n      case 178 /* SetAccessor */:\n        return visitSetAccessor(node, parent2);\n      case 174 /* MethodDeclaration */:\n        return visitMethodDeclaration(node, parent2);\n      default:\n        return Debug.failBadSyntaxKind(node);\n    }\n  }\n  function modifierVisitor(node) {\n    if (isDecoratorOrAnnotation(node)) {\n      return void 0;\n    }\n    if (modifierToFlag(node.kind) & 117086 /* TypeScriptModifier */) {\n      return void 0;\n    } else if (currentNamespace && node.kind === 94 /* ExportKeyword */) {\n      return void 0;\n    }\n    return node;\n  }\n  function visitTypeScript(node) {\n    if (isStatement(node) && hasSyntacticModifier(node, 2 /* Ambient */)) {\n      return factory2.createNotEmittedStatement(node);\n    }\n    switch (node.kind) {\n      case 94 /* ExportKeyword */:\n      case 89 /* DefaultKeyword */:\n        return currentNamespace ? void 0 : node;\n      case 124 /* PublicKeyword */:\n      case 122 /* PrivateKeyword */:\n      case 123 /* ProtectedKeyword */:\n      case 127 /* AbstractKeyword */:\n      case 163 /* OverrideKeyword */:\n      case 86 /* ConstKeyword */:\n      case 137 /* DeclareKeyword */:\n      case 147 /* ReadonlyKeyword */:\n      case 102 /* InKeyword */:\n      case 146 /* OutKeyword */:\n      case 188 /* ArrayType */:\n      case 189 /* TupleType */:\n      case 190 /* OptionalType */:\n      case 191 /* RestType */:\n      case 187 /* TypeLiteral */:\n      case 182 /* TypePredicate */:\n      case 167 /* TypeParameter */:\n      case 132 /* AnyKeyword */:\n      case 159 /* UnknownKeyword */:\n      case 135 /* BooleanKeyword */:\n      case 153 /* StringKeyword */:\n      case 149 /* NumberKeyword */:\n      case 145 /* NeverKeyword */:\n      case 115 /* VoidKeyword */:\n      case 154 /* SymbolKeyword */:\n      case 185 /* ConstructorType */:\n      case 184 /* FunctionType */:\n      case 186 /* TypeQuery */:\n      case 183 /* TypeReference */:\n      case 192 /* UnionType */:\n      case 193 /* IntersectionType */:\n      case 194 /* ConditionalType */:\n      case 196 /* ParenthesizedType */:\n      case 197 /* ThisType */:\n      case 198 /* TypeOperator */:\n      case 199 /* IndexedAccessType */:\n      case 200 /* MappedType */:\n      case 201 /* LiteralType */:\n      case 181 /* IndexSignature */:\n        return void 0;\n      case 268 /* TypeAliasDeclaration */:\n        return factory2.createNotEmittedStatement(node);\n      case 273 /* NamespaceExportDeclaration */:\n        return void 0;\n      case 267 /* InterfaceDeclaration */:\n        return factory2.createNotEmittedStatement(node);\n      case 264 /* ClassDeclaration */:\n        return visitClassDeclaration(node);\n      case 232 /* ClassExpression */:\n        return visitClassExpression(node);\n      case 266 /* AnnotationDeclaration */:\n        return factory2.createNotEmittedStatement(node);\n      case 300 /* HeritageClause */:\n        return visitHeritageClause(node);\n      case 234 /* ExpressionWithTypeArguments */:\n        return visitExpressionWithTypeArguments(node);\n      case 210 /* ObjectLiteralExpression */:\n        return visitObjectLiteralExpression(node);\n      case 176 /* Constructor */:\n      case 171 /* PropertyDeclaration */:\n      case 172 /* AnnotationPropertyDeclaration */:\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 175 /* ClassStaticBlockDeclaration */:\n        return Debug.fail(\"Class and object literal elements must be visited with their respective visitors\");\n      case 263 /* FunctionDeclaration */:\n        return visitFunctionDeclaration(node);\n      case 218 /* FunctionExpression */:\n        return visitFunctionExpression(node);\n      case 219 /* ArrowFunction */:\n        return visitArrowFunction(node);\n      case 168 /* Parameter */:\n        return visitParameter(node);\n      case 217 /* ParenthesizedExpression */:\n        return visitParenthesizedExpression(node);\n      case 216 /* TypeAssertionExpression */:\n      case 235 /* AsExpression */:\n        return visitAssertionExpression(node);\n      case 239 /* SatisfiesExpression */:\n        return visitSatisfiesExpression(node);\n      case 213 /* CallExpression */:\n        return visitCallExpression(node);\n      case 214 /* NewExpression */:\n        return visitNewExpression(node);\n      case 215 /* TaggedTemplateExpression */:\n        return visitTaggedTemplateExpression(node);\n      case 236 /* NonNullExpression */:\n        return visitNonNullExpression(node);\n      case 269 /* EnumDeclaration */:\n        return visitEnumDeclaration(node);\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 261 /* VariableDeclaration */:\n        return visitVariableDeclaration(node);\n      case 270 /* ModuleDeclaration */:\n        return visitModuleDeclaration(node);\n      case 274 /* ImportEqualsDeclaration */:\n        return visitImportEqualsDeclaration(node);\n      case 288 /* JsxSelfClosingElement */:\n        return visitJsxSelfClosingElement(node);\n      case 289 /* JsxOpeningElement */:\n        return visitJsxJsxOpeningElement(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitSourceFile(node) {\n    const alwaysStrict = getStrictOptionValue(compilerOptions, \"alwaysStrict\") && !(isExternalModule(node) && moduleKind >= 5 /* ES2015 */) && !isJsonSourceFile(node);\n    return factory2.updateSourceFile(\n      node,\n      visitLexicalEnvironment(node.statements, sourceElementVisitor, context, 0, alwaysStrict)\n    );\n  }\n  function visitObjectLiteralExpression(node) {\n    return factory2.updateObjectLiteralExpression(\n      node,\n      visitNodes2(node.properties, getObjectLiteralElementVisitor(node), isObjectLiteralElement)\n    );\n  }\n  function getClassFacts(node, staticProperties) {\n    let facts = 0 /* None */;\n    if (some(staticProperties))\n      facts |= 1 /* HasStaticInitializedProperties */;\n    const extendsClauseElement = getEffectiveBaseTypeNode(node);\n    if (extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 105 /* NullKeyword */)\n      facts |= 64 /* IsDerivedClass */;\n    if (classOrConstructorParameterIsDecorated(node))\n      facts |= 2 /* HasConstructorDecorators */;\n    if (childIsDecorated(node))\n      facts |= 4 /* HasMemberDecorators */;\n    if (isExportOfNamespace(node))\n      facts |= 8 /* IsExportOfNamespace */;\n    else if (isDefaultExternalModuleExport(node))\n      facts |= 32 /* IsDefaultExternalExport */;\n    else if (isNamedExternalModuleExport(node))\n      facts |= 16 /* IsNamedExternalExport */;\n    if (languageVersion <= 1 /* ES5 */ && facts & 7 /* MayNeedImmediatelyInvokedFunctionExpression */)\n      facts |= 128 /* UseImmediatelyInvokedFunctionExpression */;\n    return facts;\n  }\n  function hasTypeScriptClassSyntax(node) {\n    return !!(node.transformFlags & 8192 /* ContainsTypeScriptClassSyntax */);\n  }\n  function isClassLikeDeclarationWithTypeScriptSyntax(node) {\n    return hasDecorators(node) || some(node.typeParameters) || some(node.heritageClauses, hasTypeScriptClassSyntax) || some(node.members, hasTypeScriptClassSyntax);\n  }\n  function visitClassDeclaration(node) {\n    if (!isClassLikeDeclarationWithTypeScriptSyntax(node) && !(currentNamespace && hasSyntacticModifier(node, 1 /* Export */))) {\n      return factory2.updateClassDeclaration(\n        node,\n        visitNodes2(node.modifiers, modifierVisitor, isModifier),\n        node.name,\n        void 0,\n        visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n        visitNodes2(node.members, getClassElementVisitor(node), isClassElement)\n      );\n    }\n    const staticProperties = getProperties(node, true, true);\n    const facts = getClassFacts(node, staticProperties);\n    if (facts & 128 /* UseImmediatelyInvokedFunctionExpression */) {\n      context.startLexicalEnvironment();\n    }\n    const name = node.name || (facts & 5 /* NeedsName */ ? factory2.getGeneratedNameForNode(node) : void 0);\n    const allDecorators = getAllDecoratorsOfClass(node);\n    const decorators = transformAllDecoratorsOfDeclaration(node, node, allDecorators);\n    const modifiers = !(facts & 128 /* UseImmediatelyInvokedFunctionExpression */) ? visitNodes2(node.modifiers, modifierVisitor, isModifier) : elideNodes(factory2, node.modifiers);\n    const classStatement = factory2.updateClassDeclaration(\n      node,\n      concatenate(decorators, modifiers),\n      name,\n      void 0,\n      visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n      transformClassMembers(node)\n    );\n    let emitFlags = getEmitFlags(node);\n    if (facts & 1 /* HasStaticInitializedProperties */) {\n      emitFlags |= 32 /* NoTrailingSourceMap */;\n    }\n    setEmitFlags(classStatement, emitFlags);\n    let statements = [classStatement];\n    if (facts & 128 /* UseImmediatelyInvokedFunctionExpression */) {\n      const closingBraceLocation = createTokenRange(skipTrivia(currentSourceFile.text, node.members.end), 19 /* CloseBraceToken */);\n      const localName = factory2.getInternalName(node);\n      const outer = factory2.createPartiallyEmittedExpression(localName);\n      setTextRangeEnd(outer, closingBraceLocation.end);\n      setEmitFlags(outer, 1536 /* NoComments */);\n      const statement = factory2.createReturnStatement(outer);\n      setTextRangePos(statement, closingBraceLocation.pos);\n      setEmitFlags(statement, 1536 /* NoComments */ | 384 /* NoTokenSourceMaps */);\n      statements.push(statement);\n      insertStatementsAfterStandardPrologue(statements, context.endLexicalEnvironment());\n      const iife = factory2.createImmediatelyInvokedArrowFunction(statements);\n      setEmitFlags(iife, 33554432 /* TypeScriptClassWrapper */);\n      const varStatement = factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList([\n          factory2.createVariableDeclaration(\n            factory2.getLocalName(node, false, false),\n            void 0,\n            void 0,\n            iife\n          )\n        ])\n      );\n      setOriginalNode(varStatement, node);\n      setCommentRange(varStatement, node);\n      setSourceMapRange(varStatement, moveRangePastDecorators(node));\n      startOnNewLine(varStatement);\n      statements = [varStatement];\n    }\n    if (facts & 8 /* IsExportOfNamespace */) {\n      addExportMemberAssignment(statements, node);\n    } else if (facts & 128 /* UseImmediatelyInvokedFunctionExpression */ || facts & 2 /* HasConstructorDecorators */) {\n      if (facts & 32 /* IsDefaultExternalExport */) {\n        statements.push(factory2.createExportDefault(factory2.getLocalName(node, false, true)));\n      } else if (facts & 16 /* IsNamedExternalExport */) {\n        statements.push(factory2.createExternalModuleExport(factory2.getLocalName(node, false, true)));\n      }\n    }\n    if (statements.length > 1) {\n      statements.push(factory2.createEndOfDeclarationMarker(node));\n      setEmitFlags(classStatement, getEmitFlags(classStatement) | 4194304 /* HasEndOfDeclarationMarker */);\n    }\n    return singleOrMany(statements);\n  }\n  function visitClassExpression(node) {\n    const allDecorators = getAllDecoratorsOfClass(node);\n    const decorators = transformAllDecoratorsOfDeclaration(node, node, allDecorators);\n    return factory2.updateClassExpression(\n      node,\n      decorators,\n      node.name,\n      void 0,\n      visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n      isClassLikeDeclarationWithTypeScriptSyntax(node) ? transformClassMembers(node) : visitNodes2(node.members, getClassElementVisitor(node), isClassElement)\n    );\n  }\n  function transformClassMembers(node) {\n    const members = [];\n    const constructor = getFirstConstructorWithBody(node);\n    const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor));\n    if (parametersWithPropertyAssignments) {\n      for (const parameter of parametersWithPropertyAssignments) {\n        if (isIdentifier(parameter.name)) {\n          members.push(setOriginalNode(factory2.createPropertyDeclaration(\n            void 0,\n            parameter.name,\n            void 0,\n            void 0,\n            void 0\n          ), parameter));\n        }\n      }\n    }\n    addRange(members, visitNodes2(node.members, getClassElementVisitor(node), isClassElement));\n    return setTextRange(factory2.createNodeArray(members), node.members);\n  }\n  function transformAllDecoratorsOfDeclaration(node, container, allDecorators) {\n    var _a2, _b, _c, _d;\n    if (!allDecorators) {\n      return void 0;\n    }\n    const decorators = visitArray(allDecorators.decorators, visitor, isDecorator);\n    const parameterDecorators = flatMap(allDecorators.parameters, transformDecoratorsOfParameter);\n    const metadataDecorators = some(decorators) || some(parameterDecorators) ? getTypeMetadata(node, container) : void 0;\n    const result = factory2.createNodeArray(concatenate(concatenate(decorators, parameterDecorators), metadataDecorators));\n    const pos = (_b = (_a2 = firstOrUndefined(allDecorators.decorators)) == null ? void 0 : _a2.pos) != null ? _b : -1;\n    const end = (_d = (_c = lastOrUndefined(allDecorators.decorators)) == null ? void 0 : _c.end) != null ? _d : -1;\n    setTextRangePosEnd(result, pos, end);\n    return result;\n  }\n  function transformDecoratorsOfParameter(parameterDecorators, parameterOffset) {\n    if (parameterDecorators) {\n      const decorators = [];\n      for (const parameterDecorator of parameterDecorators) {\n        const expression = visitNode(parameterDecorator.expression, visitor, isExpression);\n        const helper = emitHelpers().createParamHelper(expression, parameterOffset);\n        setTextRange(helper, parameterDecorator.expression);\n        setEmitFlags(helper, 1536 /* NoComments */);\n        const decorator = factory2.createDecorator(helper);\n        setSourceMapRange(decorator, parameterDecorator.expression);\n        setCommentRange(decorator, parameterDecorator.expression);\n        setEmitFlags(decorator, 1536 /* NoComments */);\n        decorators.push(decorator);\n      }\n      return decorators;\n    }\n  }\n  function getTypeMetadata(node, container) {\n    return USE_NEW_TYPE_METADATA_FORMAT ? getNewTypeMetadata(node, container) : getOldTypeMetadata(node, container);\n  }\n  function getOldTypeMetadata(node, container) {\n    if (typeSerializer) {\n      let decorators;\n      if (shouldAddTypeMetadata(node)) {\n        const typeMetadata = emitHelpers().createMetadataHelper(\"design:type\", typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node));\n        decorators = append(decorators, factory2.createDecorator(typeMetadata));\n      }\n      if (shouldAddParamTypesMetadata(node)) {\n        const paramTypesMetadata = emitHelpers().createMetadataHelper(\"design:paramtypes\", typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container));\n        decorators = append(decorators, factory2.createDecorator(paramTypesMetadata));\n      }\n      if (shouldAddReturnTypeMetadata(node)) {\n        const returnTypeMetadata = emitHelpers().createMetadataHelper(\"design:returntype\", typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node));\n        decorators = append(decorators, factory2.createDecorator(returnTypeMetadata));\n      }\n      return decorators;\n    }\n  }\n  function getNewTypeMetadata(node, container) {\n    if (typeSerializer) {\n      let properties;\n      if (shouldAddTypeMetadata(node)) {\n        const typeProperty = factory2.createPropertyAssignment(\"type\", factory2.createArrowFunction(void 0, void 0, [], void 0, factory2.createToken(38 /* EqualsGreaterThanToken */), typeSerializer.serializeTypeOfNode({ currentLexicalScope, currentNameScope: container }, node)));\n        properties = append(properties, typeProperty);\n      }\n      if (shouldAddParamTypesMetadata(node)) {\n        const paramTypeProperty = factory2.createPropertyAssignment(\"paramTypes\", factory2.createArrowFunction(void 0, void 0, [], void 0, factory2.createToken(38 /* EqualsGreaterThanToken */), typeSerializer.serializeParameterTypesOfNode({ currentLexicalScope, currentNameScope: container }, node, container)));\n        properties = append(properties, paramTypeProperty);\n      }\n      if (shouldAddReturnTypeMetadata(node)) {\n        const returnTypeProperty = factory2.createPropertyAssignment(\"returnType\", factory2.createArrowFunction(void 0, void 0, [], void 0, factory2.createToken(38 /* EqualsGreaterThanToken */), typeSerializer.serializeReturnTypeOfNode({ currentLexicalScope, currentNameScope: container }, node)));\n        properties = append(properties, returnTypeProperty);\n      }\n      if (properties) {\n        const typeInfoMetadata = emitHelpers().createMetadataHelper(\"design:typeinfo\", factory2.createObjectLiteralExpression(properties, true));\n        return [factory2.createDecorator(typeInfoMetadata)];\n      }\n    }\n  }\n  function shouldAddTypeMetadata(node) {\n    const kind = node.kind;\n    return kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */ || kind === 171 /* PropertyDeclaration */;\n  }\n  function shouldAddReturnTypeMetadata(node) {\n    return node.kind === 174 /* MethodDeclaration */;\n  }\n  function shouldAddParamTypesMetadata(node) {\n    switch (node.kind) {\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n        return getFirstConstructorWithBody(node) !== void 0;\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return true;\n    }\n    return false;\n  }\n  function getExpressionForPropertyName(member, generateNameForComputedPropertyName) {\n    const name = member.name;\n    if (isPrivateIdentifier(name)) {\n      return factory2.createIdentifier(\"\");\n    } else if (isComputedPropertyName(name)) {\n      return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression;\n    } else if (isIdentifier(name)) {\n      return factory2.createStringLiteral(idText(name));\n    } else {\n      return factory2.cloneNode(name);\n    }\n  }\n  function visitPropertyNameOfClassElement(member) {\n    const name = member.name;\n    if (isComputedPropertyName(name) && (!hasStaticModifier(member) && currentClassHasParameterProperties || hasDecorators(member))) {\n      const expression = visitNode(name.expression, visitor, isExpression);\n      const innerExpression = skipPartiallyEmittedExpressions(expression);\n      if (!isSimpleInlineableExpression(innerExpression)) {\n        const generatedName = factory2.getGeneratedNameForNode(name);\n        hoistVariableDeclaration(generatedName);\n        return factory2.updateComputedPropertyName(name, factory2.createAssignment(generatedName, expression));\n      }\n    }\n    return visitNode(name, visitor, isPropertyName);\n  }\n  function visitHeritageClause(node) {\n    if (node.token === 118 /* ImplementsKeyword */) {\n      return void 0;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitExpressionWithTypeArguments(node) {\n    return factory2.updateExpressionWithTypeArguments(\n      node,\n      visitNode(node.expression, visitor, isLeftHandSideExpression),\n      void 0\n    );\n  }\n  function shouldEmitFunctionLikeDeclaration(node) {\n    return !nodeIsMissing(node.body);\n  }\n  function visitPropertyDeclaration(node, parent2) {\n    const isAmbient = node.flags & 16777216 /* Ambient */ || hasSyntacticModifier(node, 256 /* Abstract */);\n    if (isAmbient && !hasDecorators(node)) {\n      return void 0;\n    }\n    const allDecorators = getAllDecoratorsOfClassElement(node, parent2);\n    const decorators = transformAllDecoratorsOfDeclaration(node, parent2, allDecorators);\n    if (isAmbient) {\n      return factory2.updatePropertyDeclaration(\n        node,\n        concatenate(decorators, factory2.createModifiersFromModifierFlags(2 /* Ambient */)),\n        visitNode(node.name, visitor, isPropertyName),\n        void 0,\n        void 0,\n        void 0\n      );\n    }\n    return factory2.updatePropertyDeclaration(\n      node,\n      concatenate(decorators, visitNodes2(node.modifiers, modifierVisitor, isModifierLike)),\n      visitPropertyNameOfClassElement(node),\n      void 0,\n      void 0,\n      visitNode(node.initializer, visitor)\n    );\n  }\n  function visitConstructor(node) {\n    if (!shouldEmitFunctionLikeDeclaration(node)) {\n      return void 0;\n    }\n    return factory2.updateConstructorDeclaration(\n      node,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      transformConstructorBody(node.body, node)\n    );\n  }\n  function transformConstructorBody(body, constructor) {\n    const parametersWithPropertyAssignments = constructor && filter(constructor.parameters, (p) => isParameterPropertyDeclaration(p, constructor));\n    if (!some(parametersWithPropertyAssignments)) {\n      return visitFunctionBody(body, visitor, context);\n    }\n    let statements = [];\n    resumeLexicalEnvironment();\n    const prologueStatementCount = factory2.copyPrologue(body.statements, statements, false, visitor);\n    const superStatementIndex = findSuperStatementIndex(body.statements, prologueStatementCount);\n    if (superStatementIndex >= 0) {\n      addRange(\n        statements,\n        visitNodes2(body.statements, visitor, isStatement, prologueStatementCount, superStatementIndex + 1 - prologueStatementCount)\n      );\n    }\n    const parameterPropertyAssignments = mapDefined(parametersWithPropertyAssignments, transformParameterWithPropertyAssignment);\n    if (superStatementIndex >= 0) {\n      addRange(statements, parameterPropertyAssignments);\n    } else {\n      statements = [\n        ...statements.slice(0, prologueStatementCount),\n        ...parameterPropertyAssignments,\n        ...statements.slice(prologueStatementCount)\n      ];\n    }\n    const start = superStatementIndex >= 0 ? superStatementIndex + 1 : prologueStatementCount;\n    addRange(statements, visitNodes2(body.statements, visitor, isStatement, start));\n    statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n    const block = factory2.createBlock(setTextRange(factory2.createNodeArray(statements), body.statements), true);\n    setTextRange(block, body);\n    setOriginalNode(block, body);\n    return block;\n  }\n  function transformParameterWithPropertyAssignment(node) {\n    const name = node.name;\n    if (!isIdentifier(name)) {\n      return void 0;\n    }\n    const propertyName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);\n    setEmitFlags(propertyName, 1536 /* NoComments */ | 48 /* NoSourceMap */);\n    const localName = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);\n    setEmitFlags(localName, 1536 /* NoComments */);\n    return startOnNewLine(\n      removeAllComments(\n        setTextRange(\n          setOriginalNode(\n            factory2.createExpressionStatement(\n              factory2.createAssignment(\n                setTextRange(\n                  factory2.createPropertyAccessExpression(\n                    factory2.createThis(),\n                    propertyName\n                  ),\n                  node.name\n                ),\n                localName\n              )\n            ),\n            node\n          ),\n          moveRangePos(node, -1)\n        )\n      )\n    );\n  }\n  function visitMethodDeclaration(node, parent2) {\n    if (!(node.transformFlags & 1 /* ContainsTypeScript */)) {\n      return node;\n    }\n    if (!shouldEmitFunctionLikeDeclaration(node)) {\n      return void 0;\n    }\n    const allDecorators = isClassLike(parent2) ? getAllDecoratorsOfClassElement(node, parent2) : void 0;\n    const decorators = isClassLike(parent2) ? transformAllDecoratorsOfDeclaration(node, parent2, allDecorators) : void 0;\n    return factory2.updateMethodDeclaration(\n      node,\n      concatenate(decorators, visitNodes2(node.modifiers, modifierVisitor, isModifierLike)),\n      node.asteriskToken,\n      visitPropertyNameOfClassElement(node),\n      void 0,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      visitFunctionBody(node.body, visitor, context)\n    );\n  }\n  function shouldEmitAccessorDeclaration(node) {\n    return !(nodeIsMissing(node.body) && hasSyntacticModifier(node, 256 /* Abstract */));\n  }\n  function visitGetAccessor(node, parent2) {\n    if (!(node.transformFlags & 1 /* ContainsTypeScript */)) {\n      return node;\n    }\n    if (!shouldEmitAccessorDeclaration(node)) {\n      return void 0;\n    }\n    const decorators = isClassLike(parent2) ? transformAllDecoratorsOfDeclaration(node, parent2, getAllDecoratorsOfClassElement(node, parent2)) : void 0;\n    return factory2.updateGetAccessorDeclaration(\n      node,\n      concatenate(decorators, visitNodes2(node.modifiers, modifierVisitor, isModifierLike)),\n      visitPropertyNameOfClassElement(node),\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n    );\n  }\n  function visitSetAccessor(node, parent2) {\n    if (!(node.transformFlags & 1 /* ContainsTypeScript */)) {\n      return node;\n    }\n    if (!shouldEmitAccessorDeclaration(node)) {\n      return void 0;\n    }\n    const decorators = isClassLike(parent2) ? transformAllDecoratorsOfDeclaration(node, parent2, getAllDecoratorsOfClassElement(node, parent2)) : void 0;\n    return factory2.updateSetAccessorDeclaration(\n      node,\n      concatenate(decorators, visitNodes2(node.modifiers, modifierVisitor, isModifierLike)),\n      visitPropertyNameOfClassElement(node),\n      visitParameterList(node.parameters, visitor, context),\n      visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n    );\n  }\n  function visitFunctionDeclaration(node) {\n    if (!shouldEmitFunctionLikeDeclaration(node)) {\n      return factory2.createNotEmittedStatement(node);\n    }\n    const updated = factory2.updateFunctionDeclaration(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      node.asteriskToken,\n      node.name,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n    );\n    updated.illegalDecorators = factory2.createNodeArray(filter(node.illegalDecorators, (decorator) => {\n      return !isAnnotation(decorator);\n    }));\n    if (isExportOfNamespace(node)) {\n      const statements = [updated];\n      addExportMemberAssignment(statements, node);\n      return statements;\n    }\n    return updated;\n  }\n  function visitFunctionExpression(node) {\n    if (!shouldEmitFunctionLikeDeclaration(node)) {\n      return factory2.createOmittedExpression();\n    }\n    const updated = factory2.updateFunctionExpression(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      node.asteriskToken,\n      node.name,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      visitFunctionBody(node.body, visitor, context) || factory2.createBlock([])\n    );\n    return updated;\n  }\n  function visitArrowFunction(node) {\n    const updated = factory2.updateArrowFunction(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      node.equalsGreaterThanToken,\n      visitFunctionBody(node.body, visitor, context)\n    );\n    return updated;\n  }\n  function visitParameter(node) {\n    if (parameterIsThisKeyword(node)) {\n      return void 0;\n    }\n    const updated = factory2.updateParameterDeclaration(\n      node,\n      elideNodes(factory2, node.modifiers),\n      node.dotDotDotToken,\n      visitNode(node.name, visitor, isBindingName),\n      void 0,\n      void 0,\n      visitNode(node.initializer, visitor, isExpression)\n    );\n    if (updated !== node) {\n      setCommentRange(updated, node);\n      setTextRange(updated, moveRangePastModifiers(node));\n      setSourceMapRange(updated, moveRangePastModifiers(node));\n      setEmitFlags(updated.name, 32 /* NoTrailingSourceMap */);\n    }\n    return updated;\n  }\n  function visitVariableStatement(node) {\n    node.illegalDecorators = factory2.createNodeArray(filter(node.illegalDecorators, (decorator) => {\n      return !isAnnotation(decorator);\n    }));\n    if (isExportOfNamespace(node)) {\n      const variables = getInitializedVariables(node.declarationList);\n      if (variables.length === 0) {\n        return void 0;\n      }\n      return setTextRange(\n        factory2.createExpressionStatement(\n          factory2.inlineExpressions(\n            map(variables, transformInitializedVariable)\n          )\n        ),\n        node\n      );\n    } else {\n      return visitEachChild(node, visitor, context);\n    }\n  }\n  function transformInitializedVariable(node) {\n    const name = node.name;\n    if (isBindingPattern(name)) {\n      return flattenDestructuringAssignment(\n        node,\n        visitor,\n        context,\n        0 /* All */,\n        false,\n        createNamespaceExportExpression\n      );\n    } else {\n      return setTextRange(\n        factory2.createAssignment(\n          getNamespaceMemberNameWithSourceMapsAndWithoutComments(name),\n          visitNode(node.initializer, visitor, isExpression)\n        ),\n        node\n      );\n    }\n  }\n  function visitVariableDeclaration(node) {\n    const updated = factory2.updateVariableDeclaration(\n      node,\n      visitNode(node.name, visitor, isBindingName),\n      void 0,\n      void 0,\n      visitNode(node.initializer, visitor, isExpression)\n    );\n    if (node.type) {\n      setTypeNode(updated.name, node.type);\n    }\n    return updated;\n  }\n  function visitParenthesizedExpression(node) {\n    const innerExpression = skipOuterExpressions(node.expression, ~6 /* Assertions */);\n    if (isAssertionExpression(innerExpression)) {\n      const expression = visitNode(node.expression, visitor, isExpression);\n      return factory2.createPartiallyEmittedExpression(expression, node);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitAssertionExpression(node) {\n    const expression = visitNode(node.expression, visitor, isExpression);\n    return factory2.createPartiallyEmittedExpression(expression, node);\n  }\n  function visitNonNullExpression(node) {\n    const expression = visitNode(node.expression, visitor, isLeftHandSideExpression);\n    return factory2.createPartiallyEmittedExpression(expression, node);\n  }\n  function visitSatisfiesExpression(node) {\n    const expression = visitNode(node.expression, visitor, isExpression);\n    return factory2.createPartiallyEmittedExpression(expression, node);\n  }\n  function visitCallExpression(node) {\n    return factory2.updateCallExpression(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      void 0,\n      visitNodes2(node.arguments, visitor, isExpression)\n    );\n  }\n  function visitNewExpression(node) {\n    return factory2.updateNewExpression(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      void 0,\n      visitNodes2(node.arguments, visitor, isExpression)\n    );\n  }\n  function visitTaggedTemplateExpression(node) {\n    return factory2.updateTaggedTemplateExpression(\n      node,\n      visitNode(node.tag, visitor, isExpression),\n      void 0,\n      visitNode(node.template, visitor, isExpression)\n    );\n  }\n  function visitJsxSelfClosingElement(node) {\n    return factory2.updateJsxSelfClosingElement(\n      node,\n      visitNode(node.tagName, visitor, isJsxTagNameExpression),\n      void 0,\n      visitNode(node.attributes, visitor, isJsxAttributes)\n    );\n  }\n  function visitJsxJsxOpeningElement(node) {\n    return factory2.updateJsxOpeningElement(\n      node,\n      visitNode(node.tagName, visitor, isJsxTagNameExpression),\n      void 0,\n      visitNode(node.attributes, visitor, isJsxAttributes)\n    );\n  }\n  function shouldEmitEnumDeclaration(node) {\n    return !isEnumConst(node) || shouldPreserveConstEnums(compilerOptions);\n  }\n  function visitEnumDeclaration(node) {\n    if (!shouldEmitEnumDeclaration(node)) {\n      return factory2.createNotEmittedStatement(node);\n    }\n    node.illegalDecorators = factory2.createNodeArray(filter(node.illegalDecorators, (decorator) => {\n      return !isAnnotation(decorator);\n    }));\n    const statements = [];\n    let emitFlags = 2 /* AdviseOnEmitNode */;\n    const varAdded = addVarForEnumOrModuleDeclaration(statements, node);\n    if (varAdded) {\n      if (moduleKind !== 4 /* System */ || currentLexicalScope !== currentSourceFile) {\n        emitFlags |= 512 /* NoLeadingComments */;\n      }\n    }\n    const parameterName = getNamespaceParameterName(node);\n    const containerName = getNamespaceContainerName(node);\n    const exportName = hasSyntacticModifier(node, 1 /* Export */) ? factory2.getExternalModuleOrNamespaceExportName(currentNamespaceContainerName, node, false, true) : factory2.getLocalName(node, false, true);\n    let moduleArg = factory2.createLogicalOr(\n      exportName,\n      factory2.createAssignment(\n        exportName,\n        factory2.createObjectLiteralExpression()\n      )\n    );\n    if (hasNamespaceQualifiedExportName(node)) {\n      const localName = factory2.getLocalName(node, false, true);\n      moduleArg = factory2.createAssignment(localName, moduleArg);\n    }\n    const enumStatement = factory2.createExpressionStatement(\n      factory2.createCallExpression(\n        factory2.createFunctionExpression(\n          void 0,\n          void 0,\n          void 0,\n          void 0,\n          [factory2.createParameterDeclaration(void 0, void 0, parameterName)],\n          void 0,\n          transformEnumBody(node, containerName)\n        ),\n        void 0,\n        [moduleArg]\n      )\n    );\n    setOriginalNode(enumStatement, node);\n    if (varAdded) {\n      setSyntheticLeadingComments(enumStatement, void 0);\n      setSyntheticTrailingComments(enumStatement, void 0);\n    }\n    setTextRange(enumStatement, node);\n    addEmitFlags(enumStatement, emitFlags);\n    statements.push(enumStatement);\n    statements.push(factory2.createEndOfDeclarationMarker(node));\n    return statements;\n  }\n  function transformEnumBody(node, localName) {\n    const savedCurrentNamespaceLocalName = currentNamespaceContainerName;\n    currentNamespaceContainerName = localName;\n    const statements = [];\n    startLexicalEnvironment();\n    const members = map(node.members, transformEnumMember);\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    addRange(statements, members);\n    currentNamespaceContainerName = savedCurrentNamespaceLocalName;\n    return factory2.createBlock(\n      setTextRange(factory2.createNodeArray(statements), node.members),\n      true\n    );\n  }\n  function transformEnumMember(member) {\n    const name = getExpressionForPropertyName(member, false);\n    const valueExpression = transformEnumMemberDeclarationValue(member);\n    const innerAssignment = factory2.createAssignment(\n      factory2.createElementAccessExpression(\n        currentNamespaceContainerName,\n        name\n      ),\n      valueExpression\n    );\n    const outerAssignment = valueExpression.kind === 10 /* StringLiteral */ ? innerAssignment : factory2.createAssignment(\n      factory2.createElementAccessExpression(\n        currentNamespaceContainerName,\n        innerAssignment\n      ),\n      name\n    );\n    return setTextRange(\n      factory2.createExpressionStatement(\n        setTextRange(\n          outerAssignment,\n          member\n        )\n      ),\n      member\n    );\n  }\n  function transformEnumMemberDeclarationValue(member) {\n    const value = resolver.getConstantValue(member);\n    if (value !== void 0) {\n      return typeof value === \"string\" ? factory2.createStringLiteral(value) : factory2.createNumericLiteral(value);\n    } else {\n      enableSubstitutionForNonQualifiedEnumMembers();\n      if (member.initializer) {\n        return visitNode(member.initializer, visitor, isExpression);\n      } else {\n        return factory2.createVoidZero();\n      }\n    }\n  }\n  function shouldEmitModuleDeclaration(nodeIn) {\n    const node = getParseTreeNode(nodeIn, isModuleDeclaration);\n    if (!node) {\n      return true;\n    }\n    return isInstantiatedModule(node, shouldPreserveConstEnums(compilerOptions));\n  }\n  function hasNamespaceQualifiedExportName(node) {\n    return isExportOfNamespace(node) || isExternalModuleExport(node) && moduleKind !== 5 /* ES2015 */ && moduleKind !== 6 /* ES2020 */ && moduleKind !== 7 /* ES2022 */ && moduleKind !== 99 /* ESNext */ && moduleKind !== 4 /* System */;\n  }\n  function recordEmittedDeclarationInScope(node) {\n    if (!currentScopeFirstDeclarationsOfName) {\n      currentScopeFirstDeclarationsOfName = new Map2();\n    }\n    const name = declaredNameInScope(node);\n    if (!currentScopeFirstDeclarationsOfName.has(name)) {\n      currentScopeFirstDeclarationsOfName.set(name, node);\n    }\n  }\n  function isFirstEmittedDeclarationInScope(node) {\n    if (currentScopeFirstDeclarationsOfName) {\n      const name = declaredNameInScope(node);\n      return currentScopeFirstDeclarationsOfName.get(name) === node;\n    }\n    return true;\n  }\n  function declaredNameInScope(node) {\n    Debug.assertNode(node.name, isIdentifier);\n    return node.name.escapedText;\n  }\n  function addVarForEnumOrModuleDeclaration(statements, node) {\n    const statement = factory2.createVariableStatement(\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      factory2.createVariableDeclarationList([\n        factory2.createVariableDeclaration(\n          factory2.getLocalName(node, false, true)\n        )\n      ], currentLexicalScope.kind === 314 /* SourceFile */ ? 0 /* None */ : 1 /* Let */)\n    );\n    setOriginalNode(statement, node);\n    recordEmittedDeclarationInScope(node);\n    if (isFirstEmittedDeclarationInScope(node)) {\n      if (node.kind === 269 /* EnumDeclaration */) {\n        setSourceMapRange(statement.declarationList, node);\n      } else {\n        setSourceMapRange(statement, node);\n      }\n      setCommentRange(statement, node);\n      addEmitFlags(statement, 1024 /* NoTrailingComments */ | 4194304 /* HasEndOfDeclarationMarker */);\n      statements.push(statement);\n      return true;\n    } else {\n      const mergeMarker = factory2.createMergeDeclarationMarker(statement);\n      setEmitFlags(mergeMarker, 1536 /* NoComments */ | 4194304 /* HasEndOfDeclarationMarker */);\n      statements.push(mergeMarker);\n      return false;\n    }\n  }\n  function visitModuleDeclaration(node) {\n    if (!shouldEmitModuleDeclaration(node)) {\n      return factory2.createNotEmittedStatement(node);\n    }\n    node.illegalDecorators = factory2.createNodeArray(filter(node.illegalDecorators, (decorator) => {\n      return !isAnnotation(decorator);\n    }));\n    Debug.assertNode(node.name, isIdentifier, \"A TypeScript namespace should have an Identifier name.\");\n    enableSubstitutionForNamespaceExports();\n    const statements = [];\n    let emitFlags = 2 /* AdviseOnEmitNode */;\n    const varAdded = addVarForEnumOrModuleDeclaration(statements, node);\n    if (varAdded) {\n      if (moduleKind !== 4 /* System */ || currentLexicalScope !== currentSourceFile) {\n        emitFlags |= 512 /* NoLeadingComments */;\n      }\n    }\n    const parameterName = getNamespaceParameterName(node);\n    const containerName = getNamespaceContainerName(node);\n    const exportName = hasSyntacticModifier(node, 1 /* Export */) ? factory2.getExternalModuleOrNamespaceExportName(currentNamespaceContainerName, node, false, true) : factory2.getLocalName(node, false, true);\n    let moduleArg = factory2.createLogicalOr(\n      exportName,\n      factory2.createAssignment(\n        exportName,\n        factory2.createObjectLiteralExpression()\n      )\n    );\n    if (hasNamespaceQualifiedExportName(node)) {\n      const localName = factory2.getLocalName(node, false, true);\n      moduleArg = factory2.createAssignment(localName, moduleArg);\n    }\n    const moduleStatement = factory2.createExpressionStatement(\n      factory2.createCallExpression(\n        factory2.createFunctionExpression(\n          void 0,\n          void 0,\n          void 0,\n          void 0,\n          [factory2.createParameterDeclaration(void 0, void 0, parameterName)],\n          void 0,\n          transformModuleBody(node, containerName)\n        ),\n        void 0,\n        [moduleArg]\n      )\n    );\n    setOriginalNode(moduleStatement, node);\n    if (varAdded) {\n      setSyntheticLeadingComments(moduleStatement, void 0);\n      setSyntheticTrailingComments(moduleStatement, void 0);\n    }\n    setTextRange(moduleStatement, node);\n    addEmitFlags(moduleStatement, emitFlags);\n    statements.push(moduleStatement);\n    statements.push(factory2.createEndOfDeclarationMarker(node));\n    return statements;\n  }\n  function transformModuleBody(node, namespaceLocalName) {\n    const savedCurrentNamespaceContainerName = currentNamespaceContainerName;\n    const savedCurrentNamespace = currentNamespace;\n    const savedCurrentScopeFirstDeclarationsOfName = currentScopeFirstDeclarationsOfName;\n    currentNamespaceContainerName = namespaceLocalName;\n    currentNamespace = node;\n    currentScopeFirstDeclarationsOfName = void 0;\n    const statements = [];\n    startLexicalEnvironment();\n    let statementsLocation;\n    let blockLocation;\n    if (node.body) {\n      if (node.body.kind === 271 /* ModuleBlock */) {\n        saveStateAndInvoke(node.body, (body) => addRange(statements, visitNodes2(body.statements, namespaceElementVisitor, isStatement)));\n        statementsLocation = node.body.statements;\n        blockLocation = node.body;\n      } else {\n        const result = visitModuleDeclaration(node.body);\n        if (result) {\n          if (isArray(result)) {\n            addRange(statements, result);\n          } else {\n            statements.push(result);\n          }\n        }\n        const moduleBlock = getInnerMostModuleDeclarationFromDottedModule(node).body;\n        statementsLocation = moveRangePos(moduleBlock.statements, -1);\n      }\n    }\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    currentNamespaceContainerName = savedCurrentNamespaceContainerName;\n    currentNamespace = savedCurrentNamespace;\n    currentScopeFirstDeclarationsOfName = savedCurrentScopeFirstDeclarationsOfName;\n    const block = factory2.createBlock(\n      setTextRange(\n        factory2.createNodeArray(statements),\n        statementsLocation\n      ),\n      true\n    );\n    setTextRange(block, blockLocation);\n    if (!node.body || node.body.kind !== 271 /* ModuleBlock */) {\n      setEmitFlags(block, getEmitFlags(block) | 1536 /* NoComments */);\n    }\n    return block;\n  }\n  function getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration) {\n    if (moduleDeclaration.body.kind === 270 /* ModuleDeclaration */) {\n      const recursiveInnerModule = getInnerMostModuleDeclarationFromDottedModule(moduleDeclaration.body);\n      return recursiveInnerModule || moduleDeclaration.body;\n    }\n  }\n  function visitImportDeclaration(node) {\n    if (!node.importClause) {\n      return node;\n    }\n    if (node.importClause.isTypeOnly) {\n      return void 0;\n    }\n    const importClause = visitNode(node.importClause, visitImportClause, isImportClause);\n    return importClause || compilerOptions.importsNotUsedAsValues === 1 /* Preserve */ || compilerOptions.importsNotUsedAsValues === 2 /* Error */ ? factory2.updateImportDeclaration(\n      node,\n      void 0,\n      importClause,\n      node.moduleSpecifier,\n      node.assertClause\n    ) : void 0;\n  }\n  function visitImportClause(node) {\n    Debug.assert(!node.isTypeOnly);\n    const name = shouldEmitAliasDeclaration(node) ? node.name : void 0;\n    const namedBindings = visitNode(node.namedBindings, visitNamedImportBindings, isNamedImportBindings);\n    return name || namedBindings ? factory2.updateImportClause(node, false, name, namedBindings) : void 0;\n  }\n  function visitNamedImportBindings(node) {\n    if (node.kind === 277 /* NamespaceImport */) {\n      return shouldEmitAliasDeclaration(node) ? node : void 0;\n    } else {\n      const allowEmpty = compilerOptions.preserveValueImports && (compilerOptions.importsNotUsedAsValues === 1 /* Preserve */ || compilerOptions.importsNotUsedAsValues === 2 /* Error */);\n      const elements = visitNodes2(node.elements, visitImportSpecifier, isImportSpecifier);\n      return allowEmpty || some(elements) ? factory2.updateNamedImports(node, elements) : void 0;\n    }\n  }\n  function visitImportSpecifier(node) {\n    const original = getOriginalNode(node);\n    return !node.isTypeOnly && shouldEmitAliasDeclaration(node) && !(original && isImportSpecifier(original) && resolver.isReferredToAnnotation(original)) ? node : void 0;\n  }\n  function visitExportAssignment(node) {\n    return resolver.isValueAliasDeclaration(node) ? visitEachChild(node, visitor, context) : void 0;\n  }\n  function visitExportDeclaration(node) {\n    if (node.isTypeOnly) {\n      return void 0;\n    }\n    if (!node.exportClause || isNamespaceExport(node.exportClause)) {\n      return node;\n    }\n    const allowEmpty = !!node.moduleSpecifier && (compilerOptions.importsNotUsedAsValues === 1 /* Preserve */ || compilerOptions.importsNotUsedAsValues === 2 /* Error */);\n    const exportClause = visitNode(\n      node.exportClause,\n      (bindings) => visitNamedExportBindings(bindings, allowEmpty),\n      isNamedExportBindings\n    );\n    return exportClause ? factory2.updateExportDeclaration(\n      node,\n      void 0,\n      node.isTypeOnly,\n      exportClause,\n      node.moduleSpecifier,\n      node.assertClause\n    ) : void 0;\n  }\n  function visitNamedExports(node, allowEmpty) {\n    const elements = visitNodes2(node.elements, visitExportSpecifier, isExportSpecifier);\n    return allowEmpty || some(elements) ? factory2.updateNamedExports(node, elements) : void 0;\n  }\n  function visitNamespaceExports(node) {\n    return factory2.updateNamespaceExport(node, visitNode(node.name, visitor, isIdentifier));\n  }\n  function visitNamedExportBindings(node, allowEmpty) {\n    return isNamespaceExport(node) ? visitNamespaceExports(node) : visitNamedExports(node, allowEmpty);\n  }\n  function visitExportSpecifier(node) {\n    const original = getOriginalNode(node);\n    return !node.isTypeOnly && resolver.isValueAliasDeclaration(node) && !(original && isExportSpecifier(original) && resolver.isReferredToAnnotation(original)) ? node : void 0;\n  }\n  function shouldEmitImportEqualsDeclaration(node) {\n    return shouldEmitAliasDeclaration(node) || !isExternalModule(currentSourceFile) && resolver.isTopLevelValueImportEqualsWithEntityName(node);\n  }\n  function visitImportEqualsDeclaration(node) {\n    if (node.isTypeOnly) {\n      return void 0;\n    }\n    if (isExternalModuleImportEqualsDeclaration(node)) {\n      const isReferenced = shouldEmitAliasDeclaration(node);\n      if (!isReferenced && compilerOptions.importsNotUsedAsValues === 1 /* Preserve */) {\n        return setOriginalNode(\n          setTextRange(\n            factory2.createImportDeclaration(\n              void 0,\n              void 0,\n              node.moduleReference.expression,\n              void 0\n            ),\n            node\n          ),\n          node\n        );\n      }\n      return isReferenced ? visitEachChild(node, visitor, context) : void 0;\n    }\n    if (!shouldEmitImportEqualsDeclaration(node)) {\n      return void 0;\n    }\n    const moduleReference = createExpressionFromEntityName(factory2, node.moduleReference);\n    setEmitFlags(moduleReference, 1536 /* NoComments */ | 2048 /* NoNestedComments */);\n    if (isNamedExternalModuleExport(node) || !isExportOfNamespace(node)) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createVariableStatement(\n            visitNodes2(node.modifiers, modifierVisitor, isModifier),\n            factory2.createVariableDeclarationList([\n              setOriginalNode(\n                factory2.createVariableDeclaration(\n                  node.name,\n                  void 0,\n                  void 0,\n                  moduleReference\n                ),\n                node\n              )\n            ])\n          ),\n          node\n        ),\n        node\n      );\n    } else {\n      return setOriginalNode(\n        createNamespaceExport2(\n          node.name,\n          moduleReference,\n          node\n        ),\n        node\n      );\n    }\n  }\n  function isExportOfNamespace(node) {\n    return currentNamespace !== void 0 && hasSyntacticModifier(node, 1 /* Export */);\n  }\n  function isExternalModuleExport(node) {\n    return currentNamespace === void 0 && hasSyntacticModifier(node, 1 /* Export */);\n  }\n  function isNamedExternalModuleExport(node) {\n    return isExternalModuleExport(node) && !hasSyntacticModifier(node, 1024 /* Default */);\n  }\n  function isDefaultExternalModuleExport(node) {\n    return isExternalModuleExport(node) && hasSyntacticModifier(node, 1024 /* Default */);\n  }\n  function addExportMemberAssignment(statements, node) {\n    const expression = factory2.createAssignment(\n      factory2.getExternalModuleOrNamespaceExportName(currentNamespaceContainerName, node, false, true),\n      factory2.getLocalName(node)\n    );\n    setSourceMapRange(expression, createRange(node.name ? node.name.pos : node.pos, node.end));\n    const statement = factory2.createExpressionStatement(expression);\n    setSourceMapRange(statement, createRange(-1, node.end));\n    statements.push(statement);\n  }\n  function createNamespaceExport2(exportName, exportValue, location) {\n    return setTextRange(\n      factory2.createExpressionStatement(\n        factory2.createAssignment(\n          factory2.getNamespaceMemberName(currentNamespaceContainerName, exportName, false, true),\n          exportValue\n        )\n      ),\n      location\n    );\n  }\n  function createNamespaceExportExpression(exportName, exportValue, location) {\n    return setTextRange(factory2.createAssignment(getNamespaceMemberNameWithSourceMapsAndWithoutComments(exportName), exportValue), location);\n  }\n  function getNamespaceMemberNameWithSourceMapsAndWithoutComments(name) {\n    return factory2.getNamespaceMemberName(currentNamespaceContainerName, name, false, true);\n  }\n  function getNamespaceParameterName(node) {\n    const name = factory2.getGeneratedNameForNode(node);\n    setSourceMapRange(name, node.name);\n    return name;\n  }\n  function getNamespaceContainerName(node) {\n    return factory2.getGeneratedNameForNode(node);\n  }\n  function enableSubstitutionForNonQualifiedEnumMembers() {\n    if ((enabledSubstitutions & 8 /* NonQualifiedEnumMembers */) === 0) {\n      enabledSubstitutions |= 8 /* NonQualifiedEnumMembers */;\n      context.enableSubstitution(79 /* Identifier */);\n    }\n  }\n  function enableSubstitutionForNamespaceExports() {\n    if ((enabledSubstitutions & 2 /* NamespaceExports */) === 0) {\n      enabledSubstitutions |= 2 /* NamespaceExports */;\n      context.enableSubstitution(79 /* Identifier */);\n      context.enableSubstitution(306 /* ShorthandPropertyAssignment */);\n      context.enableEmitNotification(270 /* ModuleDeclaration */);\n    }\n  }\n  function isTransformedModuleDeclaration(node) {\n    return getOriginalNode(node).kind === 270 /* ModuleDeclaration */;\n  }\n  function isTransformedEnumDeclaration(node) {\n    return getOriginalNode(node).kind === 269 /* EnumDeclaration */;\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    const savedApplicableSubstitutions = applicableSubstitutions;\n    const savedCurrentSourceFile = currentSourceFile;\n    if (isSourceFile(node)) {\n      currentSourceFile = node;\n    }\n    if (enabledSubstitutions & 2 /* NamespaceExports */ && isTransformedModuleDeclaration(node)) {\n      applicableSubstitutions |= 2 /* NamespaceExports */;\n    }\n    if (enabledSubstitutions & 8 /* NonQualifiedEnumMembers */ && isTransformedEnumDeclaration(node)) {\n      applicableSubstitutions |= 8 /* NonQualifiedEnumMembers */;\n    }\n    previousOnEmitNode(hint, node, emitCallback);\n    applicableSubstitutions = savedApplicableSubstitutions;\n    currentSourceFile = savedCurrentSourceFile;\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    } else if (isShorthandPropertyAssignment(node)) {\n      return substituteShorthandPropertyAssignment(node);\n    }\n    return node;\n  }\n  function substituteShorthandPropertyAssignment(node) {\n    if (enabledSubstitutions & 2 /* NamespaceExports */) {\n      const name = node.name;\n      const exportedName = trySubstituteNamespaceExportedName(name);\n      if (exportedName) {\n        if (node.objectAssignmentInitializer) {\n          const initializer = factory2.createAssignment(exportedName, node.objectAssignmentInitializer);\n          return setTextRange(factory2.createPropertyAssignment(name, initializer), node);\n        }\n        return setTextRange(factory2.createPropertyAssignment(name, exportedName), node);\n      }\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return substituteExpressionIdentifier(node);\n      case 211 /* PropertyAccessExpression */:\n        return substitutePropertyAccessExpression(node);\n      case 212 /* ElementAccessExpression */:\n        return substituteElementAccessExpression(node);\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    return trySubstituteNamespaceExportedName(node) || node;\n  }\n  function trySubstituteNamespaceExportedName(node) {\n    if (enabledSubstitutions & applicableSubstitutions && !isGeneratedIdentifier(node) && !isLocalName(node)) {\n      const container = resolver.getReferencedExportContainer(node, false);\n      if (container && container.kind !== 314 /* SourceFile */) {\n        const substitute = applicableSubstitutions & 2 /* NamespaceExports */ && container.kind === 270 /* ModuleDeclaration */ || applicableSubstitutions & 8 /* NonQualifiedEnumMembers */ && container.kind === 269 /* EnumDeclaration */;\n        if (substitute) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(factory2.getGeneratedNameForNode(container), node),\n            node\n          );\n        }\n      }\n    }\n    return void 0;\n  }\n  function substitutePropertyAccessExpression(node) {\n    return substituteConstantValue(node);\n  }\n  function substituteElementAccessExpression(node) {\n    return substituteConstantValue(node);\n  }\n  function safeMultiLineComment(value) {\n    return value.replace(/\\*\\//g, \"*_/\");\n  }\n  function substituteConstantValue(node) {\n    const constantValue = tryGetConstEnumValue(node);\n    if (constantValue !== void 0) {\n      setConstantValue(node, constantValue);\n      const substitute = typeof constantValue === \"string\" ? factory2.createStringLiteral(constantValue) : factory2.createNumericLiteral(constantValue);\n      if (!compilerOptions.removeComments) {\n        const originalNode = getOriginalNode(node, isAccessExpression);\n        addSyntheticTrailingComment(substitute, 3 /* MultiLineCommentTrivia */, ` ${safeMultiLineComment(getTextOfNode(originalNode))} `);\n      }\n      return substitute;\n    }\n    return node;\n  }\n  function tryGetConstEnumValue(node) {\n    if (compilerOptions.isolatedModules) {\n      return void 0;\n    }\n    return isPropertyAccessExpression(node) || isElementAccessExpression(node) ? resolver.getConstantValue(node) : void 0;\n  }\n  function shouldEmitAliasDeclaration(node) {\n    return isInJSFile(node) || (compilerOptions.preserveValueImports ? resolver.isValueAliasDeclaration(node) : resolver.isReferencedAliasDeclaration(node));\n  }\n}\n\n// src/compiler/transformers/classFields.ts\nvar ClassPropertySubstitutionFlags = /* @__PURE__ */ ((ClassPropertySubstitutionFlags2) => {\n  ClassPropertySubstitutionFlags2[ClassPropertySubstitutionFlags2[\"ClassAliases\"] = 1] = \"ClassAliases\";\n  ClassPropertySubstitutionFlags2[ClassPropertySubstitutionFlags2[\"ClassStaticThisOrSuperReference\"] = 2] = \"ClassStaticThisOrSuperReference\";\n  return ClassPropertySubstitutionFlags2;\n})(ClassPropertySubstitutionFlags || {});\nvar PrivateIdentifierKind2 = /* @__PURE__ */ ((PrivateIdentifierKind3) => {\n  PrivateIdentifierKind3[\"Field\"] = \"f\";\n  PrivateIdentifierKind3[\"Method\"] = \"m\";\n  PrivateIdentifierKind3[\"Accessor\"] = \"a\";\n  return PrivateIdentifierKind3;\n})(PrivateIdentifierKind2 || {});\nvar ClassFacts2 = /* @__PURE__ */ ((ClassFacts3) => {\n  ClassFacts3[ClassFacts3[\"None\"] = 0] = \"None\";\n  ClassFacts3[ClassFacts3[\"ClassWasDecorated\"] = 1] = \"ClassWasDecorated\";\n  ClassFacts3[ClassFacts3[\"NeedsClassConstructorReference\"] = 2] = \"NeedsClassConstructorReference\";\n  ClassFacts3[ClassFacts3[\"NeedsClassSuperReference\"] = 4] = \"NeedsClassSuperReference\";\n  ClassFacts3[ClassFacts3[\"NeedsSubstitutionForThisInClassStaticField\"] = 8] = \"NeedsSubstitutionForThisInClassStaticField\";\n  return ClassFacts3;\n})(ClassFacts2 || {});\nfunction transformClassFields(context) {\n  const {\n    factory: factory2,\n    hoistVariableDeclaration,\n    endLexicalEnvironment,\n    startLexicalEnvironment,\n    resumeLexicalEnvironment,\n    addBlockScopedVariable\n  } = context;\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const useDefineForClassFields = getUseDefineForClassFields(compilerOptions);\n  const shouldTransformInitializersUsingSet = !useDefineForClassFields;\n  const shouldTransformInitializersUsingDefine = useDefineForClassFields && languageVersion < 9 /* ES2022 */;\n  const shouldTransformInitializers = shouldTransformInitializersUsingSet || shouldTransformInitializersUsingDefine;\n  const shouldTransformPrivateElementsOrClassStaticBlocks = languageVersion < 9 /* ES2022 */;\n  const shouldTransformAutoAccessors = languageVersion < 99 /* ESNext */;\n  const shouldTransformThisInStaticInitializers = languageVersion < 9 /* ES2022 */;\n  const shouldTransformSuperInStaticInitializers = shouldTransformThisInStaticInitializers && languageVersion >= 2 /* ES2015 */;\n  const shouldTransformAnything = shouldTransformInitializers || shouldTransformPrivateElementsOrClassStaticBlocks || shouldTransformAutoAccessors;\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onSubstituteNode = onSubstituteNode;\n  const previousOnEmitNode = context.onEmitNode;\n  context.onEmitNode = onEmitNode;\n  let enabledSubstitutions;\n  let classAliases;\n  let pendingExpressions;\n  let pendingStatements;\n  const classLexicalEnvironmentStack = [];\n  const classLexicalEnvironmentMap = new Map2();\n  let currentClassLexicalEnvironment;\n  let currentClassContainer;\n  let currentComputedPropertyNameClassLexicalEnvironment;\n  let currentStaticPropertyDeclarationOrStaticBlock;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile || !shouldTransformAnything) {\n      return node;\n    }\n    const visited = visitEachChild(node, visitor, context);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    return visited;\n  }\n  function visitor(node) {\n    if (!(node.transformFlags & 16777216 /* ContainsClassFields */) && !(node.transformFlags & 134234112 /* ContainsLexicalThisOrSuper */)) {\n      return node;\n    }\n    switch (node.kind) {\n      case 128 /* AccessorKeyword */:\n        return shouldTransformAutoAccessors ? void 0 : node;\n      case 264 /* ClassDeclaration */:\n        return visitClassDeclaration(node);\n      case 266 /* AnnotationDeclaration */:\n        return void 0;\n      case 232 /* ClassExpression */:\n        return visitClassExpression(node);\n      case 175 /* ClassStaticBlockDeclaration */:\n        return visitClassStaticBlockDeclaration(node);\n      case 171 /* PropertyDeclaration */:\n        return visitPropertyDeclaration(node);\n      case 172 /* AnnotationPropertyDeclaration */:\n        return void 0;\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 80 /* PrivateIdentifier */:\n        return visitPrivateIdentifier(node);\n      case 211 /* PropertyAccessExpression */:\n        return visitPropertyAccessExpression(node);\n      case 212 /* ElementAccessExpression */:\n        return visitElementAccessExpression(node);\n      case 225 /* PrefixUnaryExpression */:\n      case 226 /* PostfixUnaryExpression */:\n        return visitPreOrPostfixUnaryExpression(node, false);\n      case 227 /* BinaryExpression */:\n        return visitBinaryExpression(node, false);\n      case 213 /* CallExpression */:\n        return visitCallExpression(node);\n      case 245 /* ExpressionStatement */:\n        return visitExpressionStatement(node);\n      case 215 /* TaggedTemplateExpression */:\n        return visitTaggedTemplateExpression(node);\n      case 249 /* ForStatement */:\n        return visitForStatement(node);\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 176 /* Constructor */:\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */: {\n        return setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n          void 0,\n          fallbackVisitor,\n          node\n        );\n      }\n      default:\n        return fallbackVisitor(node);\n    }\n  }\n  function fallbackVisitor(node) {\n    return visitEachChild(node, visitor, context);\n  }\n  function discardedValueVisitor(node) {\n    switch (node.kind) {\n      case 225 /* PrefixUnaryExpression */:\n      case 226 /* PostfixUnaryExpression */:\n        return visitPreOrPostfixUnaryExpression(node, true);\n      case 227 /* BinaryExpression */:\n        return visitBinaryExpression(node, true);\n      default:\n        return visitor(node);\n    }\n  }\n  function heritageClauseVisitor(node) {\n    switch (node.kind) {\n      case 300 /* HeritageClause */:\n        return visitEachChild(node, heritageClauseVisitor, context);\n      case 234 /* ExpressionWithTypeArguments */:\n        return visitExpressionWithTypeArgumentsInHeritageClause(node);\n      default:\n        return visitor(node);\n    }\n  }\n  function assignmentTargetVisitor(node) {\n    switch (node.kind) {\n      case 210 /* ObjectLiteralExpression */:\n      case 209 /* ArrayLiteralExpression */:\n        return visitAssignmentPattern(node);\n      default:\n        return visitor(node);\n    }\n  }\n  function classElementVisitor(node) {\n    switch (node.kind) {\n      case 176 /* Constructor */:\n        return visitConstructorDeclaration(node);\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 174 /* MethodDeclaration */:\n        return setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n          void 0,\n          visitMethodOrAccessorDeclaration,\n          node\n        );\n      case 171 /* PropertyDeclaration */:\n        return setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n          void 0,\n          visitPropertyDeclaration,\n          node\n        );\n      case 166 /* ComputedPropertyName */:\n        return visitComputedPropertyName(node);\n      case 241 /* SemicolonClassElement */:\n        return node;\n      default:\n        return visitor(node);\n    }\n  }\n  function accessorFieldResultVisitor(node) {\n    switch (node.kind) {\n      case 171 /* PropertyDeclaration */:\n        return transformFieldInitializer(node);\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return classElementVisitor(node);\n      default:\n        Debug.assertMissingNode(node, \"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration\");\n        break;\n    }\n  }\n  function visitPrivateIdentifier(node) {\n    if (!shouldTransformPrivateElementsOrClassStaticBlocks) {\n      return node;\n    }\n    if (isStatement(node.parent)) {\n      return node;\n    }\n    return setOriginalNode(factory2.createIdentifier(\"\"), node);\n  }\n  function isPrivateIdentifierInExpression(node) {\n    return isPrivateIdentifier(node.left) && node.operatorToken.kind === 102 /* InKeyword */;\n  }\n  function transformPrivateIdentifierInInExpression(node) {\n    const info = accessPrivateIdentifier(node.left);\n    if (info) {\n      const receiver = visitNode(node.right, visitor, isExpression);\n      return setOriginalNode(\n        context.getEmitHelperFactory().createClassPrivateFieldInHelper(info.brandCheckIdentifier, receiver),\n        node\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitVariableStatement(node) {\n    const savedPendingStatements = pendingStatements;\n    pendingStatements = [];\n    const visitedNode = visitEachChild(node, visitor, context);\n    const statement = some(pendingStatements) ? [visitedNode, ...pendingStatements] : visitedNode;\n    pendingStatements = savedPendingStatements;\n    return statement;\n  }\n  function visitComputedPropertyName(node) {\n    let expression = visitNode(node.expression, visitor, isExpression);\n    if (some(pendingExpressions)) {\n      if (isParenthesizedExpression(expression)) {\n        expression = factory2.updateParenthesizedExpression(expression, factory2.inlineExpressions([...pendingExpressions, expression.expression]));\n      } else {\n        expression = factory2.inlineExpressions([...pendingExpressions, expression]);\n      }\n      pendingExpressions = void 0;\n    }\n    return factory2.updateComputedPropertyName(node, expression);\n  }\n  function visitConstructorDeclaration(node) {\n    if (currentClassContainer) {\n      return transformConstructor(node, currentClassContainer);\n    }\n    return fallbackVisitor(node);\n  }\n  function visitMethodOrAccessorDeclaration(node) {\n    Debug.assert(!hasDecorators(node));\n    if (!shouldTransformPrivateElementsOrClassStaticBlocks || !isPrivateIdentifier(node.name)) {\n      return visitEachChild(node, classElementVisitor, context);\n    }\n    const info = accessPrivateIdentifier(node.name);\n    Debug.assert(info, \"Undeclared private name for property declaration.\");\n    if (!info.isValid) {\n      return node;\n    }\n    const functionName = getHoistedFunctionName(node);\n    if (functionName) {\n      getPendingExpressions().push(\n        factory2.createAssignment(\n          functionName,\n          factory2.createFunctionExpression(\n            filter(node.modifiers, (m) => isModifier(m) && !isStaticModifier(m) && !isAccessorModifier(m)),\n            node.asteriskToken,\n            functionName,\n            void 0,\n            visitParameterList(node.parameters, visitor, context),\n            void 0,\n            visitFunctionBody(node.body, visitor, context)\n          )\n        )\n      );\n    }\n    return void 0;\n  }\n  function setCurrentStaticPropertyDeclarationOrStaticBlockAnd(current, visitor2, arg) {\n    const savedCurrentStaticPropertyDeclarationOrStaticBlock = currentStaticPropertyDeclarationOrStaticBlock;\n    currentStaticPropertyDeclarationOrStaticBlock = current;\n    const result = visitor2(arg);\n    currentStaticPropertyDeclarationOrStaticBlock = savedCurrentStaticPropertyDeclarationOrStaticBlock;\n    return result;\n  }\n  function getHoistedFunctionName(node) {\n    Debug.assert(isPrivateIdentifier(node.name));\n    const info = accessPrivateIdentifier(node.name);\n    Debug.assert(info, \"Undeclared private name for property declaration.\");\n    if (info.kind === \"m\" /* Method */) {\n      return info.methodName;\n    }\n    if (info.kind === \"a\" /* Accessor */) {\n      if (isGetAccessor(node)) {\n        return info.getterName;\n      }\n      if (isSetAccessor(node)) {\n        return info.setterName;\n      }\n    }\n  }\n  function transformAutoAccessor(node) {\n    Debug.assertEachNode(node.modifiers, isModifier);\n    const commentRange = getCommentRange(node);\n    const sourceMapRange = getSourceMapRange(node);\n    const name = node.name;\n    let getterName = name;\n    let setterName = name;\n    if (isComputedPropertyName(name) && !isSimpleInlineableExpression(name.expression)) {\n      const temp = factory2.createTempVariable(hoistVariableDeclaration);\n      setSourceMapRange(temp, name.expression);\n      const expression = visitNode(name.expression, visitor, isExpression);\n      const assignment = factory2.createAssignment(temp, expression);\n      setSourceMapRange(assignment, name.expression);\n      getterName = factory2.updateComputedPropertyName(name, factory2.inlineExpressions([assignment, temp]));\n      setterName = factory2.updateComputedPropertyName(name, temp);\n    }\n    const backingField = createAccessorPropertyBackingField(factory2, node, node.modifiers, node.initializer);\n    setOriginalNode(backingField, node);\n    setEmitFlags(backingField, 1536 /* NoComments */);\n    setSourceMapRange(backingField, sourceMapRange);\n    const getter = createAccessorPropertyGetRedirector(factory2, node, node.modifiers, getterName);\n    setOriginalNode(getter, node);\n    setCommentRange(getter, commentRange);\n    setSourceMapRange(getter, sourceMapRange);\n    const setter = createAccessorPropertySetRedirector(factory2, node, node.modifiers, setterName);\n    setOriginalNode(setter, node);\n    setEmitFlags(setter, 1536 /* NoComments */);\n    setSourceMapRange(setter, sourceMapRange);\n    return visitArray([backingField, getter, setter], accessorFieldResultVisitor, isClassElement);\n  }\n  function transformPrivateFieldInitializer(node) {\n    if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n      const info = accessPrivateIdentifier(node.name);\n      Debug.assert(info, \"Undeclared private name for property declaration.\");\n      return info.isValid ? void 0 : node;\n    }\n    if (shouldTransformInitializersUsingSet && !isStatic(node)) {\n      return factory2.updatePropertyDeclaration(\n        node,\n        visitNodes2(node.modifiers, visitor, isModifierLike),\n        node.name,\n        void 0,\n        void 0,\n        void 0\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function transformPublicFieldInitializer(node) {\n    if (shouldTransformInitializers) {\n      const expr = getPropertyNameExpressionIfNeeded(node.name, !!node.initializer || useDefineForClassFields);\n      if (expr) {\n        getPendingExpressions().push(expr);\n      }\n      if (isStatic(node) && !shouldTransformPrivateElementsOrClassStaticBlocks) {\n        const initializerStatement = transformPropertyOrClassStaticBlock(node, factory2.createThis());\n        if (initializerStatement) {\n          const staticBlock = factory2.createClassStaticBlockDeclaration(\n            factory2.createBlock([initializerStatement])\n          );\n          setOriginalNode(staticBlock, node);\n          setCommentRange(staticBlock, node);\n          setCommentRange(initializerStatement, { pos: -1, end: -1 });\n          setSyntheticLeadingComments(initializerStatement, void 0);\n          setSyntheticTrailingComments(initializerStatement, void 0);\n          return staticBlock;\n        }\n      }\n      return void 0;\n    }\n    return visitEachChild(node, classElementVisitor, context);\n  }\n  function transformFieldInitializer(node) {\n    Debug.assert(!hasDecorators(node), \"Decorators should already have been transformed and elided.\");\n    return isPrivateIdentifierClassElementDeclaration(node) ? transformPrivateFieldInitializer(node) : transformPublicFieldInitializer(node);\n  }\n  function visitPropertyDeclaration(node) {\n    if (shouldTransformAutoAccessors && isAutoAccessorPropertyDeclaration(node)) {\n      return transformAutoAccessor(node);\n    }\n    return transformFieldInitializer(node);\n  }\n  function createPrivateIdentifierAccess(info, receiver) {\n    return createPrivateIdentifierAccessHelper(info, visitNode(receiver, visitor, isExpression));\n  }\n  function createPrivateIdentifierAccessHelper(info, receiver) {\n    setCommentRange(receiver, moveRangePos(receiver, -1));\n    switch (info.kind) {\n      case \"a\" /* Accessor */:\n        return context.getEmitHelperFactory().createClassPrivateFieldGetHelper(\n          receiver,\n          info.brandCheckIdentifier,\n          info.kind,\n          info.getterName\n        );\n      case \"m\" /* Method */:\n        return context.getEmitHelperFactory().createClassPrivateFieldGetHelper(\n          receiver,\n          info.brandCheckIdentifier,\n          info.kind,\n          info.methodName\n        );\n      case \"f\" /* Field */:\n        return context.getEmitHelperFactory().createClassPrivateFieldGetHelper(\n          receiver,\n          info.brandCheckIdentifier,\n          info.kind,\n          info.variableName\n        );\n      default:\n        Debug.assertNever(info, \"Unknown private element type\");\n    }\n  }\n  function visitPropertyAccessExpression(node) {\n    if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifier(node.name)) {\n      const privateIdentifierInfo = accessPrivateIdentifier(node.name);\n      if (privateIdentifierInfo) {\n        return setTextRange(\n          setOriginalNode(\n            createPrivateIdentifierAccess(privateIdentifierInfo, node.expression),\n            node\n          ),\n          node\n        );\n      }\n    }\n    if (shouldTransformSuperInStaticInitializers && isSuperProperty(node) && isIdentifier(node.name) && currentStaticPropertyDeclarationOrStaticBlock && currentClassLexicalEnvironment) {\n      const { classConstructor, superClassReference, facts } = currentClassLexicalEnvironment;\n      if (facts & 1 /* ClassWasDecorated */) {\n        return visitInvalidSuperProperty(node);\n      }\n      if (classConstructor && superClassReference) {\n        const superProperty = factory2.createReflectGetCall(\n          superClassReference,\n          factory2.createStringLiteralFromNode(node.name),\n          classConstructor\n        );\n        setOriginalNode(superProperty, node.expression);\n        setTextRange(superProperty, node.expression);\n        return superProperty;\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitElementAccessExpression(node) {\n    if (shouldTransformSuperInStaticInitializers && isSuperProperty(node) && currentStaticPropertyDeclarationOrStaticBlock && currentClassLexicalEnvironment) {\n      const { classConstructor, superClassReference, facts } = currentClassLexicalEnvironment;\n      if (facts & 1 /* ClassWasDecorated */) {\n        return visitInvalidSuperProperty(node);\n      }\n      if (classConstructor && superClassReference) {\n        const superProperty = factory2.createReflectGetCall(\n          superClassReference,\n          visitNode(node.argumentExpression, visitor, isExpression),\n          classConstructor\n        );\n        setOriginalNode(superProperty, node.expression);\n        setTextRange(superProperty, node.expression);\n        return superProperty;\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitPreOrPostfixUnaryExpression(node, valueIsDiscarded) {\n    if (node.operator === 45 /* PlusPlusToken */ || node.operator === 46 /* MinusMinusToken */) {\n      const operand = skipParentheses(node.operand);\n      if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifierPropertyAccessExpression(operand)) {\n        let info;\n        if (info = accessPrivateIdentifier(operand.name)) {\n          const receiver = visitNode(operand.expression, visitor, isExpression);\n          const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver);\n          let expression = createPrivateIdentifierAccess(info, readExpression);\n          const temp = isPrefixUnaryExpression(node) || valueIsDiscarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n          expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp);\n          expression = createPrivateIdentifierAssignment(\n            info,\n            initializeExpression || readExpression,\n            expression,\n            63 /* EqualsToken */\n          );\n          setOriginalNode(expression, node);\n          setTextRange(expression, node);\n          if (temp) {\n            expression = factory2.createComma(expression, temp);\n            setTextRange(expression, node);\n          }\n          return expression;\n        }\n      } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(operand) && currentStaticPropertyDeclarationOrStaticBlock && currentClassLexicalEnvironment) {\n        const { classConstructor, superClassReference, facts } = currentClassLexicalEnvironment;\n        if (facts & 1 /* ClassWasDecorated */) {\n          const expression = visitInvalidSuperProperty(operand);\n          return isPrefixUnaryExpression(node) ? factory2.updatePrefixUnaryExpression(node, expression) : factory2.updatePostfixUnaryExpression(node, expression);\n        }\n        if (classConstructor && superClassReference) {\n          let setterName;\n          let getterName;\n          if (isPropertyAccessExpression(operand)) {\n            if (isIdentifier(operand.name)) {\n              getterName = setterName = factory2.createStringLiteralFromNode(operand.name);\n            }\n          } else {\n            if (isSimpleInlineableExpression(operand.argumentExpression)) {\n              getterName = setterName = operand.argumentExpression;\n            } else {\n              getterName = factory2.createTempVariable(hoistVariableDeclaration);\n              setterName = factory2.createAssignment(getterName, visitNode(operand.argumentExpression, visitor, isExpression));\n            }\n          }\n          if (setterName && getterName) {\n            let expression = factory2.createReflectGetCall(superClassReference, getterName, classConstructor);\n            setTextRange(expression, operand);\n            const temp = valueIsDiscarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n            expression = expandPreOrPostfixIncrementOrDecrementExpression(factory2, node, expression, hoistVariableDeclaration, temp);\n            expression = factory2.createReflectSetCall(superClassReference, setterName, expression, classConstructor);\n            setOriginalNode(expression, node);\n            setTextRange(expression, node);\n            if (temp) {\n              expression = factory2.createComma(expression, temp);\n              setTextRange(expression, node);\n            }\n            return expression;\n          }\n        }\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitForStatement(node) {\n    return factory2.updateForStatement(\n      node,\n      visitNode(node.initializer, discardedValueVisitor, isForInitializer),\n      visitNode(node.condition, visitor, isExpression),\n      visitNode(node.incrementor, discardedValueVisitor, isExpression),\n      visitIterationBody(node.statement, visitor, context)\n    );\n  }\n  function visitExpressionStatement(node) {\n    return factory2.updateExpressionStatement(\n      node,\n      visitNode(node.expression, discardedValueVisitor, isExpression)\n    );\n  }\n  function createCopiableReceiverExpr(receiver) {\n    const clone2 = nodeIsSynthesized(receiver) ? receiver : factory2.cloneNode(receiver);\n    if (isSimpleInlineableExpression(receiver)) {\n      return { readExpression: clone2, initializeExpression: void 0 };\n    }\n    const readExpression = factory2.createTempVariable(hoistVariableDeclaration);\n    const initializeExpression = factory2.createAssignment(readExpression, clone2);\n    return { readExpression, initializeExpression };\n  }\n  function visitCallExpression(node) {\n    if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifierPropertyAccessExpression(node.expression)) {\n      const { thisArg, target } = factory2.createCallBinding(node.expression, hoistVariableDeclaration, languageVersion);\n      if (isCallChain(node)) {\n        return factory2.updateCallChain(\n          node,\n          factory2.createPropertyAccessChain(visitNode(target, visitor), node.questionDotToken, \"call\"),\n          void 0,\n          void 0,\n          [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)]\n        );\n      }\n      return factory2.updateCallExpression(\n        node,\n        factory2.createPropertyAccessExpression(visitNode(target, visitor), \"call\"),\n        void 0,\n        [visitNode(thisArg, visitor, isExpression), ...visitNodes2(node.arguments, visitor, isExpression)]\n      );\n    }\n    if (shouldTransformSuperInStaticInitializers && isSuperProperty(node.expression) && currentStaticPropertyDeclarationOrStaticBlock && (currentClassLexicalEnvironment == null ? void 0 : currentClassLexicalEnvironment.classConstructor)) {\n      const invocation = factory2.createFunctionCallCall(\n        visitNode(node.expression, visitor, isExpression),\n        currentClassLexicalEnvironment.classConstructor,\n        visitNodes2(node.arguments, visitor, isExpression)\n      );\n      setOriginalNode(invocation, node);\n      setTextRange(invocation, node);\n      return invocation;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitTaggedTemplateExpression(node) {\n    if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifierPropertyAccessExpression(node.tag)) {\n      const { thisArg, target } = factory2.createCallBinding(node.tag, hoistVariableDeclaration, languageVersion);\n      return factory2.updateTaggedTemplateExpression(\n        node,\n        factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(visitNode(target, visitor), \"bind\"),\n          void 0,\n          [visitNode(thisArg, visitor, isExpression)]\n        ),\n        void 0,\n        visitNode(node.template, visitor, isTemplateLiteral)\n      );\n    }\n    if (shouldTransformSuperInStaticInitializers && isSuperProperty(node.tag) && currentStaticPropertyDeclarationOrStaticBlock && (currentClassLexicalEnvironment == null ? void 0 : currentClassLexicalEnvironment.classConstructor)) {\n      const invocation = factory2.createFunctionBindCall(\n        visitNode(node.tag, visitor, isExpression),\n        currentClassLexicalEnvironment.classConstructor,\n        []\n      );\n      setOriginalNode(invocation, node);\n      setTextRange(invocation, node);\n      return factory2.updateTaggedTemplateExpression(\n        node,\n        invocation,\n        void 0,\n        visitNode(node.template, visitor, isTemplateLiteral)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function transformClassStaticBlockDeclaration(node) {\n    if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n      if (currentClassLexicalEnvironment) {\n        classLexicalEnvironmentMap.set(getOriginalNodeId(node), currentClassLexicalEnvironment);\n      }\n      startLexicalEnvironment();\n      let statements = setCurrentStaticPropertyDeclarationOrStaticBlockAnd(\n        node,\n        (statements2) => visitNodes2(statements2, visitor, isStatement),\n        node.body.statements\n      );\n      statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n      const iife = factory2.createImmediatelyInvokedArrowFunction(statements);\n      setOriginalNode(iife, node);\n      setTextRange(iife, node);\n      addEmitFlags(iife, 2 /* AdviseOnEmitNode */);\n      return iife;\n    }\n  }\n  function visitBinaryExpression(node, valueIsDiscarded) {\n    if (isDestructuringAssignment(node)) {\n      const savedPendingExpressions = pendingExpressions;\n      pendingExpressions = void 0;\n      node = factory2.updateBinaryExpression(\n        node,\n        visitNode(node.left, assignmentTargetVisitor),\n        node.operatorToken,\n        visitNode(node.right, visitor)\n      );\n      const expr = some(pendingExpressions) ? factory2.inlineExpressions(compact([...pendingExpressions, node])) : node;\n      pendingExpressions = savedPendingExpressions;\n      return expr;\n    }\n    if (isAssignmentExpression(node)) {\n      if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifierPropertyAccessExpression(node.left)) {\n        const info = accessPrivateIdentifier(node.left.name);\n        if (info) {\n          return setTextRange(\n            setOriginalNode(\n              createPrivateIdentifierAssignment(info, node.left.expression, node.right, node.operatorToken.kind),\n              node\n            ),\n            node\n          );\n        }\n      } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(node.left) && currentStaticPropertyDeclarationOrStaticBlock && currentClassLexicalEnvironment) {\n        const { classConstructor, superClassReference, facts } = currentClassLexicalEnvironment;\n        if (facts & 1 /* ClassWasDecorated */) {\n          return factory2.updateBinaryExpression(\n            node,\n            visitInvalidSuperProperty(node.left),\n            node.operatorToken,\n            visitNode(node.right, visitor, isExpression)\n          );\n        }\n        if (classConstructor && superClassReference) {\n          let setterName = isElementAccessExpression(node.left) ? visitNode(node.left.argumentExpression, visitor, isExpression) : isIdentifier(node.left.name) ? factory2.createStringLiteralFromNode(node.left.name) : void 0;\n          if (setterName) {\n            let expression = visitNode(node.right, visitor, isExpression);\n            if (isCompoundAssignment(node.operatorToken.kind)) {\n              let getterName = setterName;\n              if (!isSimpleInlineableExpression(setterName)) {\n                getterName = factory2.createTempVariable(hoistVariableDeclaration);\n                setterName = factory2.createAssignment(getterName, setterName);\n              }\n              const superPropertyGet = factory2.createReflectGetCall(\n                superClassReference,\n                getterName,\n                classConstructor\n              );\n              setOriginalNode(superPropertyGet, node.left);\n              setTextRange(superPropertyGet, node.left);\n              expression = factory2.createBinaryExpression(\n                superPropertyGet,\n                getNonAssignmentOperatorForCompoundAssignment(node.operatorToken.kind),\n                expression\n              );\n              setTextRange(expression, node);\n            }\n            const temp = valueIsDiscarded ? void 0 : factory2.createTempVariable(hoistVariableDeclaration);\n            if (temp) {\n              expression = factory2.createAssignment(temp, expression);\n              setTextRange(temp, node);\n            }\n            expression = factory2.createReflectSetCall(\n              superClassReference,\n              setterName,\n              expression,\n              classConstructor\n            );\n            setOriginalNode(expression, node);\n            setTextRange(expression, node);\n            if (temp) {\n              expression = factory2.createComma(expression, temp);\n              setTextRange(expression, node);\n            }\n            return expression;\n          }\n        }\n      }\n    }\n    if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifierInExpression(node)) {\n      return transformPrivateIdentifierInInExpression(node);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function createPrivateIdentifierAssignment(info, receiver, right, operator) {\n    receiver = visitNode(receiver, visitor, isExpression);\n    right = visitNode(right, visitor, isExpression);\n    if (isCompoundAssignment(operator)) {\n      const { readExpression, initializeExpression } = createCopiableReceiverExpr(receiver);\n      receiver = initializeExpression || readExpression;\n      right = factory2.createBinaryExpression(\n        createPrivateIdentifierAccessHelper(info, readExpression),\n        getNonAssignmentOperatorForCompoundAssignment(operator),\n        right\n      );\n    }\n    setCommentRange(receiver, moveRangePos(receiver, -1));\n    switch (info.kind) {\n      case \"a\" /* Accessor */:\n        return context.getEmitHelperFactory().createClassPrivateFieldSetHelper(\n          receiver,\n          info.brandCheckIdentifier,\n          right,\n          info.kind,\n          info.setterName\n        );\n      case \"m\" /* Method */:\n        return context.getEmitHelperFactory().createClassPrivateFieldSetHelper(\n          receiver,\n          info.brandCheckIdentifier,\n          right,\n          info.kind,\n          void 0\n        );\n      case \"f\" /* Field */:\n        return context.getEmitHelperFactory().createClassPrivateFieldSetHelper(\n          receiver,\n          info.brandCheckIdentifier,\n          right,\n          info.kind,\n          info.variableName\n        );\n      default:\n        Debug.assertNever(info, \"Unknown private element type\");\n    }\n  }\n  function getPrivateInstanceMethodsAndAccessors(node) {\n    return filter(node.members, isNonStaticMethodOrAccessorWithPrivateName);\n  }\n  function getClassFacts(node) {\n    let facts = 0 /* None */;\n    const original = getOriginalNode(node);\n    if (isClassDeclaration(original) && classOrConstructorParameterIsDecorated(original)) {\n      facts |= 1 /* ClassWasDecorated */;\n    }\n    for (const member of node.members) {\n      if (!isStatic(member))\n        continue;\n      if (member.name && (isPrivateIdentifier(member.name) || isAutoAccessorPropertyDeclaration(member)) && shouldTransformPrivateElementsOrClassStaticBlocks) {\n        facts |= 2 /* NeedsClassConstructorReference */;\n      }\n      if (isPropertyDeclaration(member) || isClassStaticBlockDeclaration(member)) {\n        if (shouldTransformThisInStaticInitializers && member.transformFlags & 16384 /* ContainsLexicalThis */) {\n          facts |= 8 /* NeedsSubstitutionForThisInClassStaticField */;\n          if (!(facts & 1 /* ClassWasDecorated */)) {\n            facts |= 2 /* NeedsClassConstructorReference */;\n          }\n        }\n        if (shouldTransformSuperInStaticInitializers && member.transformFlags & 134217728 /* ContainsLexicalSuper */) {\n          if (!(facts & 1 /* ClassWasDecorated */)) {\n            facts |= 2 /* NeedsClassConstructorReference */ | 4 /* NeedsClassSuperReference */;\n          }\n        }\n      }\n    }\n    return facts;\n  }\n  function visitExpressionWithTypeArgumentsInHeritageClause(node) {\n    const facts = (currentClassLexicalEnvironment == null ? void 0 : currentClassLexicalEnvironment.facts) || 0 /* None */;\n    if (facts & 4 /* NeedsClassSuperReference */) {\n      const temp = factory2.createTempVariable(hoistVariableDeclaration, true);\n      getClassLexicalEnvironment().superClassReference = temp;\n      return factory2.updateExpressionWithTypeArguments(\n        node,\n        factory2.createAssignment(\n          temp,\n          visitNode(node.expression, visitor, isExpression)\n        ),\n        void 0\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitInNewClassLexicalEnvironment(node, visitor2) {\n    const savedCurrentClassContainer = currentClassContainer;\n    const savedPendingExpressions = pendingExpressions;\n    currentClassContainer = node;\n    pendingExpressions = void 0;\n    startClassLexicalEnvironment();\n    if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n      const name = getNameOfDeclaration(node);\n      if (name && isIdentifier(name)) {\n        getPrivateIdentifierEnvironment().className = name;\n      }\n      const privateInstanceMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node);\n      if (some(privateInstanceMethodsAndAccessors)) {\n        getPrivateIdentifierEnvironment().weakSetName = createHoistedVariableForClass(\n          \"instances\",\n          privateInstanceMethodsAndAccessors[0].name\n        );\n      }\n    }\n    const facts = getClassFacts(node);\n    if (facts) {\n      getClassLexicalEnvironment().facts = facts;\n    }\n    if (facts & 8 /* NeedsSubstitutionForThisInClassStaticField */) {\n      enableSubstitutionForClassStaticThisOrSuperReference();\n    }\n    const result = visitor2(node, facts);\n    endClassLexicalEnvironment();\n    currentClassContainer = savedCurrentClassContainer;\n    pendingExpressions = savedPendingExpressions;\n    return result;\n  }\n  function visitClassDeclaration(node) {\n    return visitInNewClassLexicalEnvironment(node, visitClassDeclarationInNewClassLexicalEnvironment);\n  }\n  function visitClassDeclarationInNewClassLexicalEnvironment(node, facts) {\n    let pendingClassReferenceAssignment;\n    if (facts & 2 /* NeedsClassConstructorReference */) {\n      const temp = factory2.createTempVariable(hoistVariableDeclaration, true);\n      getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp);\n      pendingClassReferenceAssignment = factory2.createAssignment(temp, factory2.getInternalName(node));\n    }\n    const modifiers = visitNodes2(node.modifiers, visitor, isModifierLike);\n    const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause);\n    const { members, prologue } = transformClassMembers(node);\n    const classDecl = factory2.updateClassDeclaration(\n      node,\n      modifiers,\n      node.name,\n      void 0,\n      heritageClauses,\n      members\n    );\n    const statements = [];\n    if (prologue) {\n      statements.push(factory2.createExpressionStatement(prologue));\n    }\n    statements.push(classDecl);\n    if (pendingClassReferenceAssignment) {\n      getPendingExpressions().unshift(pendingClassReferenceAssignment);\n    }\n    if (some(pendingExpressions)) {\n      statements.push(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)));\n    }\n    if (shouldTransformInitializersUsingSet || shouldTransformPrivateElementsOrClassStaticBlocks) {\n      const staticProperties = getStaticPropertiesAndClassStaticBlock(node);\n      if (some(staticProperties)) {\n        addPropertyOrClassStaticBlockStatements(statements, staticProperties, factory2.getInternalName(node));\n      }\n    }\n    return statements;\n  }\n  function visitClassExpression(node) {\n    return visitInNewClassLexicalEnvironment(node, visitClassExpressionInNewClassLexicalEnvironment);\n  }\n  function visitClassExpressionInNewClassLexicalEnvironment(node, facts) {\n    const isDecoratedClassDeclaration = !!(facts & 1 /* ClassWasDecorated */);\n    const staticPropertiesOrClassStaticBlocks = getStaticPropertiesAndClassStaticBlock(node);\n    const isClassWithConstructorReference = resolver.getNodeCheckFlags(node) & 16777216 /* ClassWithConstructorReference */;\n    let temp;\n    function createClassTempVar() {\n      const classCheckFlags = resolver.getNodeCheckFlags(node);\n      const isClassWithConstructorReference2 = classCheckFlags & 16777216 /* ClassWithConstructorReference */;\n      const requiresBlockScopedVar = classCheckFlags & 524288 /* BlockScopedBindingInLoop */;\n      return factory2.createTempVariable(requiresBlockScopedVar ? addBlockScopedVariable : hoistVariableDeclaration, !!isClassWithConstructorReference2);\n    }\n    if (facts & 2 /* NeedsClassConstructorReference */) {\n      temp = createClassTempVar();\n      getClassLexicalEnvironment().classConstructor = factory2.cloneNode(temp);\n    }\n    const modifiers = visitNodes2(node.modifiers, visitor, isModifierLike);\n    const heritageClauses = visitNodes2(node.heritageClauses, heritageClauseVisitor, isHeritageClause);\n    const { members, prologue } = transformClassMembers(node);\n    const classExpression = factory2.updateClassExpression(\n      node,\n      modifiers,\n      node.name,\n      void 0,\n      heritageClauses,\n      members\n    );\n    const expressions = [];\n    if (prologue) {\n      expressions.push(prologue);\n    }\n    const hasTransformableStatics = shouldTransformPrivateElementsOrClassStaticBlocks && some(staticPropertiesOrClassStaticBlocks, (node2) => isClassStaticBlockDeclaration(node2) || isPrivateIdentifierClassElementDeclaration(node2) || shouldTransformInitializers && isInitializedProperty(node2));\n    if (hasTransformableStatics || some(pendingExpressions)) {\n      if (isDecoratedClassDeclaration) {\n        Debug.assertIsDefined(pendingStatements, \"Decorated classes transformed by TypeScript are expected to be within a variable declaration.\");\n        if (pendingStatements && pendingExpressions && some(pendingExpressions)) {\n          pendingStatements.push(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)));\n        }\n        if (pendingStatements && some(staticPropertiesOrClassStaticBlocks)) {\n          addPropertyOrClassStaticBlockStatements(pendingStatements, staticPropertiesOrClassStaticBlocks, factory2.getInternalName(node));\n        }\n        if (temp) {\n          expressions.push(\n            startOnNewLine(factory2.createAssignment(temp, classExpression)),\n            startOnNewLine(temp)\n          );\n        } else {\n          expressions.push(classExpression);\n          if (prologue) {\n            startOnNewLine(classExpression);\n          }\n        }\n      } else {\n        temp || (temp = createClassTempVar());\n        if (isClassWithConstructorReference) {\n          enableSubstitutionForClassAliases();\n          const alias = factory2.cloneNode(temp);\n          alias.autoGenerateFlags &= ~8 /* ReservedInNestedScopes */;\n          classAliases[getOriginalNodeId(node)] = alias;\n        }\n        setEmitFlags(classExpression, 65536 /* Indented */ | getEmitFlags(classExpression));\n        expressions.push(startOnNewLine(factory2.createAssignment(temp, classExpression)));\n        addRange(expressions, map(pendingExpressions, startOnNewLine));\n        addRange(expressions, generateInitializedPropertyExpressionsOrClassStaticBlock(staticPropertiesOrClassStaticBlocks, temp));\n        expressions.push(startOnNewLine(temp));\n      }\n    } else {\n      expressions.push(classExpression);\n      if (prologue) {\n        startOnNewLine(classExpression);\n      }\n    }\n    return factory2.inlineExpressions(expressions);\n  }\n  function visitClassStaticBlockDeclaration(node) {\n    if (!shouldTransformPrivateElementsOrClassStaticBlocks) {\n      return visitEachChild(node, visitor, context);\n    }\n    return void 0;\n  }\n  function transformClassMembers(node) {\n    if (shouldTransformPrivateElementsOrClassStaticBlocks) {\n      for (const member of node.members) {\n        if (isPrivateIdentifierClassElementDeclaration(member)) {\n          addPrivateIdentifierToEnvironment(member, member.name, addPrivateIdentifierClassElementToEnvironment);\n        }\n      }\n      if (some(getPrivateInstanceMethodsAndAccessors(node))) {\n        createBrandCheckWeakSetForPrivateMethods();\n      }\n      if (shouldTransformAutoAccessors) {\n        for (const member of node.members) {\n          if (isAutoAccessorPropertyDeclaration(member)) {\n            const storageName = factory2.getGeneratedPrivateNameForNode(member.name, void 0, \"_accessor_storage\");\n            addPrivateIdentifierToEnvironment(member, storageName, addPrivateIdentifierPropertyDeclarationToEnvironment);\n          }\n        }\n      }\n    }\n    let members = visitNodes2(node.members, classElementVisitor, isClassElement);\n    let syntheticConstructor;\n    if (!some(members, isConstructorDeclaration)) {\n      syntheticConstructor = transformConstructor(void 0, node);\n    }\n    let prologue;\n    let syntheticStaticBlock;\n    if (!shouldTransformPrivateElementsOrClassStaticBlocks && some(pendingExpressions)) {\n      let statement = factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions));\n      if (statement.transformFlags & 134234112 /* ContainsLexicalThisOrSuper */) {\n        const temp = factory2.createTempVariable(hoistVariableDeclaration);\n        const arrow = factory2.createArrowFunction(\n          void 0,\n          void 0,\n          [],\n          void 0,\n          void 0,\n          factory2.createBlock([statement])\n        );\n        prologue = factory2.createAssignment(temp, arrow);\n        statement = factory2.createExpressionStatement(factory2.createCallExpression(temp, void 0, []));\n      }\n      const block = factory2.createBlock([statement]);\n      syntheticStaticBlock = factory2.createClassStaticBlockDeclaration(block);\n      pendingExpressions = void 0;\n    }\n    if (syntheticConstructor || syntheticStaticBlock) {\n      let membersArray;\n      membersArray = append(membersArray, syntheticConstructor);\n      membersArray = append(membersArray, syntheticStaticBlock);\n      membersArray = addRange(membersArray, members);\n      members = setTextRange(factory2.createNodeArray(membersArray), node.members);\n    }\n    return { members, prologue };\n  }\n  function createBrandCheckWeakSetForPrivateMethods() {\n    const { weakSetName } = getPrivateIdentifierEnvironment();\n    Debug.assert(weakSetName, \"weakSetName should be set in private identifier environment\");\n    getPendingExpressions().push(\n      factory2.createAssignment(\n        weakSetName,\n        factory2.createNewExpression(\n          factory2.createIdentifier(\"WeakSet\"),\n          void 0,\n          []\n        )\n      )\n    );\n  }\n  function isClassElementThatRequiresConstructorStatement(member) {\n    if (isStatic(member) || hasAbstractModifier(getOriginalNode(member))) {\n      return false;\n    }\n    return shouldTransformInitializersUsingDefine && isPropertyDeclaration(member) || shouldTransformInitializersUsingSet && isInitializedProperty(member) || shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifierClassElementDeclaration(member) || shouldTransformPrivateElementsOrClassStaticBlocks && shouldTransformAutoAccessors && isAutoAccessorPropertyDeclaration(member);\n  }\n  function transformConstructor(constructor, container) {\n    constructor = visitNode(constructor, visitor, isConstructorDeclaration);\n    if (!some(container.members, isClassElementThatRequiresConstructorStatement)) {\n      return constructor;\n    }\n    const extendsClauseElement = getEffectiveBaseTypeNode(container);\n    const isDerivedClass = !!(extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 105 /* NullKeyword */);\n    const parameters = visitParameterList(constructor ? constructor.parameters : void 0, visitor, context);\n    const body = transformConstructorBody(container, constructor, isDerivedClass);\n    if (!body) {\n      return constructor;\n    }\n    if (constructor) {\n      Debug.assert(parameters);\n      return factory2.updateConstructorDeclaration(constructor, void 0, parameters, body);\n    }\n    return startOnNewLine(\n      setOriginalNode(\n        setTextRange(\n          factory2.createConstructorDeclaration(\n            void 0,\n            parameters != null ? parameters : [],\n            body\n          ),\n          constructor || container\n        ),\n        constructor\n      )\n    );\n  }\n  function transformConstructorBody(node, constructor, isDerivedClass) {\n    var _a2, _b;\n    let properties = getProperties(node, false, false);\n    if (!useDefineForClassFields) {\n      properties = filter(properties, (property) => !!property.initializer || isPrivateIdentifier(property.name) || hasAccessorModifier(property));\n    }\n    const privateMethodsAndAccessors = getPrivateInstanceMethodsAndAccessors(node);\n    const needsConstructorBody = some(properties) || some(privateMethodsAndAccessors);\n    if (!constructor && !needsConstructorBody) {\n      return visitFunctionBody(void 0, visitor, context);\n    }\n    resumeLexicalEnvironment();\n    const needsSyntheticConstructor = !constructor && isDerivedClass;\n    let indexOfFirstStatementAfterSuperAndPrologue = 0;\n    let prologueStatementCount = 0;\n    let superStatementIndex = -1;\n    let statements = [];\n    if ((_a2 = constructor == null ? void 0 : constructor.body) == null ? void 0 : _a2.statements) {\n      prologueStatementCount = factory2.copyPrologue(constructor.body.statements, statements, false, visitor);\n      superStatementIndex = findSuperStatementIndex(constructor.body.statements, prologueStatementCount);\n      if (superStatementIndex >= 0) {\n        indexOfFirstStatementAfterSuperAndPrologue = superStatementIndex + 1;\n        statements = [\n          ...statements.slice(0, prologueStatementCount),\n          ...visitNodes2(constructor.body.statements, visitor, isStatement, prologueStatementCount, indexOfFirstStatementAfterSuperAndPrologue - prologueStatementCount),\n          ...statements.slice(prologueStatementCount)\n        ];\n      } else if (prologueStatementCount >= 0) {\n        indexOfFirstStatementAfterSuperAndPrologue = prologueStatementCount;\n      }\n    }\n    if (needsSyntheticConstructor) {\n      statements.push(\n        factory2.createExpressionStatement(\n          factory2.createCallExpression(\n            factory2.createSuper(),\n            void 0,\n            [factory2.createSpreadElement(factory2.createIdentifier(\"arguments\"))]\n          )\n        )\n      );\n    }\n    let parameterPropertyDeclarationCount = 0;\n    if (constructor == null ? void 0 : constructor.body) {\n      if (useDefineForClassFields) {\n        statements = statements.filter((statement) => !isParameterPropertyDeclaration(getOriginalNode(statement), constructor));\n      } else {\n        for (const statement of constructor.body.statements) {\n          if (isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) {\n            parameterPropertyDeclarationCount++;\n          }\n        }\n        if (parameterPropertyDeclarationCount > 0) {\n          const parameterProperties = visitNodes2(constructor.body.statements, visitor, isStatement, indexOfFirstStatementAfterSuperAndPrologue, parameterPropertyDeclarationCount);\n          if (superStatementIndex >= 0) {\n            addRange(statements, parameterProperties);\n          } else {\n            let superAndPrologueStatementCount = prologueStatementCount;\n            if (needsSyntheticConstructor)\n              superAndPrologueStatementCount++;\n            statements = [\n              ...statements.slice(0, superAndPrologueStatementCount),\n              ...parameterProperties,\n              ...statements.slice(superAndPrologueStatementCount)\n            ];\n          }\n          indexOfFirstStatementAfterSuperAndPrologue += parameterPropertyDeclarationCount;\n        }\n      }\n    }\n    const receiver = factory2.createThis();\n    addMethodStatements(statements, privateMethodsAndAccessors, receiver);\n    addPropertyOrClassStaticBlockStatements(statements, properties, receiver);\n    if (constructor) {\n      addRange(statements, visitNodes2(constructor.body.statements, visitBodyStatement, isStatement, indexOfFirstStatementAfterSuperAndPrologue));\n    }\n    statements = factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n    if (statements.length === 0 && !constructor) {\n      return void 0;\n    }\n    const multiLine = (constructor == null ? void 0 : constructor.body) && constructor.body.statements.length >= statements.length ? (_b = constructor.body.multiLine) != null ? _b : statements.length > 0 : statements.length > 0;\n    return setTextRange(\n      factory2.createBlock(\n        setTextRange(\n          factory2.createNodeArray(statements),\n          constructor ? constructor.body.statements : node.members\n        ),\n        multiLine\n      ),\n      constructor ? constructor.body : void 0\n    );\n    function visitBodyStatement(statement) {\n      if (useDefineForClassFields && isParameterPropertyDeclaration(getOriginalNode(statement), constructor)) {\n        return void 0;\n      }\n      return visitor(statement);\n    }\n  }\n  function addPropertyOrClassStaticBlockStatements(statements, properties, receiver) {\n    for (const property of properties) {\n      if (isStatic(property) && !shouldTransformPrivateElementsOrClassStaticBlocks && !useDefineForClassFields) {\n        continue;\n      }\n      const statement = transformPropertyOrClassStaticBlock(property, receiver);\n      if (!statement) {\n        continue;\n      }\n      statements.push(statement);\n    }\n  }\n  function transformPropertyOrClassStaticBlock(property, receiver) {\n    const expression = isClassStaticBlockDeclaration(property) ? transformClassStaticBlockDeclaration(property) : transformProperty(property, receiver);\n    if (!expression) {\n      return void 0;\n    }\n    const statement = factory2.createExpressionStatement(expression);\n    setOriginalNode(statement, property);\n    addEmitFlags(statement, getEmitFlags(property) & 1536 /* NoComments */);\n    setSourceMapRange(statement, moveRangePastModifiers(property));\n    setCommentRange(statement, property);\n    setSyntheticLeadingComments(expression, void 0);\n    setSyntheticTrailingComments(expression, void 0);\n    return statement;\n  }\n  function generateInitializedPropertyExpressionsOrClassStaticBlock(propertiesOrClassStaticBlocks, receiver) {\n    const expressions = [];\n    for (const property of propertiesOrClassStaticBlocks) {\n      const expression = isClassStaticBlockDeclaration(property) ? transformClassStaticBlockDeclaration(property) : transformProperty(property, receiver);\n      if (!expression) {\n        continue;\n      }\n      startOnNewLine(expression);\n      setOriginalNode(expression, property);\n      addEmitFlags(expression, getEmitFlags(property) & 1536 /* NoComments */);\n      setSourceMapRange(expression, moveRangePastModifiers(property));\n      setCommentRange(expression, property);\n      expressions.push(expression);\n    }\n    return expressions;\n  }\n  function transformProperty(property, receiver) {\n    const savedCurrentStaticPropertyDeclarationOrStaticBlock = currentStaticPropertyDeclarationOrStaticBlock;\n    const transformed = transformPropertyWorker(property, receiver);\n    if (transformed && hasStaticModifier(property) && (currentClassLexicalEnvironment == null ? void 0 : currentClassLexicalEnvironment.facts)) {\n      setOriginalNode(transformed, property);\n      addEmitFlags(transformed, 2 /* AdviseOnEmitNode */);\n      classLexicalEnvironmentMap.set(getOriginalNodeId(transformed), currentClassLexicalEnvironment);\n    }\n    currentStaticPropertyDeclarationOrStaticBlock = savedCurrentStaticPropertyDeclarationOrStaticBlock;\n    return transformed;\n  }\n  function transformPropertyWorker(property, receiver) {\n    var _a2;\n    const emitAssignment = !useDefineForClassFields;\n    const propertyName = hasAccessorModifier(property) ? factory2.getGeneratedPrivateNameForNode(property.name) : isComputedPropertyName(property.name) && !isSimpleInlineableExpression(property.name.expression) ? factory2.updateComputedPropertyName(property.name, factory2.getGeneratedNameForNode(property.name)) : property.name;\n    if (hasStaticModifier(property)) {\n      currentStaticPropertyDeclarationOrStaticBlock = property;\n    }\n    if (shouldTransformPrivateElementsOrClassStaticBlocks && isPrivateIdentifier(propertyName)) {\n      const privateIdentifierInfo = accessPrivateIdentifier(propertyName);\n      if (privateIdentifierInfo) {\n        if (privateIdentifierInfo.kind === \"f\" /* Field */) {\n          if (!privateIdentifierInfo.isStatic) {\n            return createPrivateInstanceFieldInitializer(\n              receiver,\n              visitNode(property.initializer, visitor, isExpression),\n              privateIdentifierInfo.brandCheckIdentifier\n            );\n          } else {\n            return createPrivateStaticFieldInitializer(\n              privateIdentifierInfo.variableName,\n              visitNode(property.initializer, visitor, isExpression)\n            );\n          }\n        } else {\n          return void 0;\n        }\n      } else {\n        Debug.fail(\"Undeclared private name for property declaration.\");\n      }\n    }\n    if ((isPrivateIdentifier(propertyName) || hasStaticModifier(property)) && !property.initializer) {\n      return void 0;\n    }\n    const propertyOriginalNode = getOriginalNode(property);\n    if (hasSyntacticModifier(propertyOriginalNode, 256 /* Abstract */)) {\n      return void 0;\n    }\n    const initializer = property.initializer || emitAssignment ? (_a2 = visitNode(property.initializer, visitor, isExpression)) != null ? _a2 : factory2.createVoidZero() : isParameterPropertyDeclaration(propertyOriginalNode, propertyOriginalNode.parent) && isIdentifier(propertyName) ? propertyName : factory2.createVoidZero();\n    if (emitAssignment || isPrivateIdentifier(propertyName)) {\n      const memberAccess = createMemberAccessForPropertyName(factory2, receiver, propertyName, propertyName);\n      return factory2.createAssignment(memberAccess, initializer);\n    } else {\n      const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName;\n      const descriptor = factory2.createPropertyDescriptor({ value: initializer, configurable: true, writable: true, enumerable: true });\n      return factory2.createObjectDefinePropertyCall(receiver, name, descriptor);\n    }\n  }\n  function enableSubstitutionForClassAliases() {\n    if ((enabledSubstitutions & 1 /* ClassAliases */) === 0) {\n      enabledSubstitutions |= 1 /* ClassAliases */;\n      context.enableSubstitution(79 /* Identifier */);\n      classAliases = [];\n    }\n  }\n  function enableSubstitutionForClassStaticThisOrSuperReference() {\n    if ((enabledSubstitutions & 2 /* ClassStaticThisOrSuperReference */) === 0) {\n      enabledSubstitutions |= 2 /* ClassStaticThisOrSuperReference */;\n      context.enableSubstitution(109 /* ThisKeyword */);\n      context.enableEmitNotification(263 /* FunctionDeclaration */);\n      context.enableEmitNotification(218 /* FunctionExpression */);\n      context.enableEmitNotification(176 /* Constructor */);\n      context.enableEmitNotification(177 /* GetAccessor */);\n      context.enableEmitNotification(178 /* SetAccessor */);\n      context.enableEmitNotification(174 /* MethodDeclaration */);\n      context.enableEmitNotification(171 /* PropertyDeclaration */);\n      context.enableEmitNotification(166 /* ComputedPropertyName */);\n    }\n  }\n  function addMethodStatements(statements, methods, receiver) {\n    if (!shouldTransformPrivateElementsOrClassStaticBlocks || !some(methods)) {\n      return;\n    }\n    const { weakSetName } = getPrivateIdentifierEnvironment();\n    Debug.assert(weakSetName, \"weakSetName should be set in private identifier environment\");\n    statements.push(\n      factory2.createExpressionStatement(\n        createPrivateInstanceMethodInitializer(receiver, weakSetName)\n      )\n    );\n  }\n  function visitInvalidSuperProperty(node) {\n    return isPropertyAccessExpression(node) ? factory2.updatePropertyAccessExpression(\n      node,\n      factory2.createVoidZero(),\n      node.name\n    ) : factory2.updateElementAccessExpression(\n      node,\n      factory2.createVoidZero(),\n      visitNode(node.argumentExpression, visitor, isExpression)\n    );\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    const original = getOriginalNode(node);\n    if (original.id) {\n      const classLexicalEnvironment = classLexicalEnvironmentMap.get(original.id);\n      if (classLexicalEnvironment) {\n        const savedClassLexicalEnvironment = currentClassLexicalEnvironment;\n        const savedCurrentComputedPropertyNameClassLexicalEnvironment = currentComputedPropertyNameClassLexicalEnvironment;\n        currentClassLexicalEnvironment = classLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = classLexicalEnvironment;\n        previousOnEmitNode(hint, node, emitCallback);\n        currentClassLexicalEnvironment = savedClassLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = savedCurrentComputedPropertyNameClassLexicalEnvironment;\n        return;\n      }\n    }\n    switch (node.kind) {\n      case 218 /* FunctionExpression */:\n        if (isArrowFunction(original) || getEmitFlags(node) & 262144 /* AsyncFunctionBody */) {\n          break;\n        }\n      case 263 /* FunctionDeclaration */:\n      case 176 /* Constructor */: {\n        const savedClassLexicalEnvironment = currentClassLexicalEnvironment;\n        const savedCurrentComputedPropertyNameClassLexicalEnvironment = currentComputedPropertyNameClassLexicalEnvironment;\n        currentClassLexicalEnvironment = void 0;\n        currentComputedPropertyNameClassLexicalEnvironment = void 0;\n        previousOnEmitNode(hint, node, emitCallback);\n        currentClassLexicalEnvironment = savedClassLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = savedCurrentComputedPropertyNameClassLexicalEnvironment;\n        return;\n      }\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 174 /* MethodDeclaration */:\n      case 171 /* PropertyDeclaration */: {\n        const savedClassLexicalEnvironment = currentClassLexicalEnvironment;\n        const savedCurrentComputedPropertyNameClassLexicalEnvironment = currentComputedPropertyNameClassLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = currentClassLexicalEnvironment;\n        currentClassLexicalEnvironment = void 0;\n        previousOnEmitNode(hint, node, emitCallback);\n        currentClassLexicalEnvironment = savedClassLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = savedCurrentComputedPropertyNameClassLexicalEnvironment;\n        return;\n      }\n      case 166 /* ComputedPropertyName */: {\n        const savedClassLexicalEnvironment = currentClassLexicalEnvironment;\n        const savedCurrentComputedPropertyNameClassLexicalEnvironment = currentComputedPropertyNameClassLexicalEnvironment;\n        currentClassLexicalEnvironment = currentComputedPropertyNameClassLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = void 0;\n        previousOnEmitNode(hint, node, emitCallback);\n        currentClassLexicalEnvironment = savedClassLexicalEnvironment;\n        currentComputedPropertyNameClassLexicalEnvironment = savedCurrentComputedPropertyNameClassLexicalEnvironment;\n        return;\n      }\n    }\n    previousOnEmitNode(hint, node, emitCallback);\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return substituteExpressionIdentifier(node);\n      case 109 /* ThisKeyword */:\n        return substituteThisExpression(node);\n    }\n    return node;\n  }\n  function substituteThisExpression(node) {\n    if (enabledSubstitutions & 2 /* ClassStaticThisOrSuperReference */ && currentClassLexicalEnvironment) {\n      const { facts, classConstructor } = currentClassLexicalEnvironment;\n      if (facts & 1 /* ClassWasDecorated */) {\n        return factory2.createParenthesizedExpression(factory2.createVoidZero());\n      }\n      if (classConstructor) {\n        return setTextRange(\n          setOriginalNode(\n            factory2.cloneNode(classConstructor),\n            node\n          ),\n          node\n        );\n      }\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    return trySubstituteClassAlias(node) || node;\n  }\n  function trySubstituteClassAlias(node) {\n    if (enabledSubstitutions & 1 /* ClassAliases */) {\n      if (resolver.getNodeCheckFlags(node) & 33554432 /* ConstructorReferenceInClass */) {\n        const declaration = resolver.getReferencedValueDeclaration(node);\n        if (declaration) {\n          const classAlias = classAliases[declaration.id];\n          if (classAlias) {\n            const clone2 = factory2.cloneNode(classAlias);\n            setSourceMapRange(clone2, node);\n            setCommentRange(clone2, node);\n            return clone2;\n          }\n        }\n      }\n    }\n    return void 0;\n  }\n  function getPropertyNameExpressionIfNeeded(name, shouldHoist) {\n    if (isComputedPropertyName(name)) {\n      const expression = visitNode(name.expression, visitor, isExpression);\n      const innerExpression = skipPartiallyEmittedExpressions(expression);\n      const inlinable = isSimpleInlineableExpression(innerExpression);\n      const alreadyTransformed = isAssignmentExpression(innerExpression) && isGeneratedIdentifier(innerExpression.left);\n      if (!alreadyTransformed && !inlinable && shouldHoist) {\n        const generatedName = factory2.getGeneratedNameForNode(name);\n        if (resolver.getNodeCheckFlags(name) & 524288 /* BlockScopedBindingInLoop */) {\n          addBlockScopedVariable(generatedName);\n        } else {\n          hoistVariableDeclaration(generatedName);\n        }\n        return factory2.createAssignment(generatedName, expression);\n      }\n      return inlinable || isIdentifier(innerExpression) ? void 0 : expression;\n    }\n  }\n  function startClassLexicalEnvironment() {\n    classLexicalEnvironmentStack.push(currentClassLexicalEnvironment);\n    currentClassLexicalEnvironment = void 0;\n  }\n  function endClassLexicalEnvironment() {\n    currentClassLexicalEnvironment = classLexicalEnvironmentStack.pop();\n  }\n  function getClassLexicalEnvironment() {\n    return currentClassLexicalEnvironment || (currentClassLexicalEnvironment = {\n      facts: 0 /* None */,\n      classConstructor: void 0,\n      superClassReference: void 0,\n      privateIdentifierEnvironment: void 0\n    });\n  }\n  function getPrivateIdentifierEnvironment() {\n    const lex = getClassLexicalEnvironment();\n    lex.privateIdentifierEnvironment || (lex.privateIdentifierEnvironment = {\n      className: void 0,\n      weakSetName: void 0,\n      identifiers: void 0,\n      generatedIdentifiers: void 0\n    });\n    return lex.privateIdentifierEnvironment;\n  }\n  function getPendingExpressions() {\n    return pendingExpressions != null ? pendingExpressions : pendingExpressions = [];\n  }\n  function addPrivateIdentifierClassElementToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo) {\n    if (isAutoAccessorPropertyDeclaration(node)) {\n      addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n    } else if (isPropertyDeclaration(node)) {\n      addPrivateIdentifierPropertyDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n    } else if (isMethodDeclaration(node)) {\n      addPrivateIdentifierMethodDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n    } else if (isGetAccessorDeclaration(node)) {\n      addPrivateIdentifierGetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n    } else if (isSetAccessorDeclaration(node)) {\n      addPrivateIdentifierSetAccessorDeclarationToEnvironment(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n    }\n  }\n  function addPrivateIdentifierPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) {\n    if (isStatic2) {\n      Debug.assert(lex.classConstructor, \"classConstructor should be set in private identifier environment\");\n      const variableName = createHoistedVariableForPrivateName(name);\n      setPrivateIdentifier(privateEnv, name, {\n        kind: \"f\" /* Field */,\n        brandCheckIdentifier: lex.classConstructor,\n        variableName,\n        isStatic: true,\n        isValid\n      });\n    } else {\n      const weakMapName = createHoistedVariableForPrivateName(name);\n      setPrivateIdentifier(privateEnv, name, {\n        kind: \"f\" /* Field */,\n        brandCheckIdentifier: weakMapName,\n        variableName: void 0,\n        isStatic: false,\n        isValid\n      });\n      getPendingExpressions().push(factory2.createAssignment(\n        weakMapName,\n        factory2.createNewExpression(\n          factory2.createIdentifier(\"WeakMap\"),\n          void 0,\n          []\n        )\n      ));\n    }\n  }\n  function addPrivateIdentifierMethodDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) {\n    const methodName = createHoistedVariableForPrivateName(name);\n    const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug.checkDefined(privateEnv.weakSetName, \"weakSetName should be set in private identifier environment\");\n    setPrivateIdentifier(privateEnv, name, {\n      kind: \"m\" /* Method */,\n      methodName,\n      brandCheckIdentifier,\n      isStatic: isStatic2,\n      isValid\n    });\n  }\n  function addPrivateIdentifierGetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) {\n    const getterName = createHoistedVariableForPrivateName(name, \"_get\");\n    const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug.checkDefined(privateEnv.weakSetName, \"weakSetName should be set in private identifier environment\");\n    if ((previousInfo == null ? void 0 : previousInfo.kind) === \"a\" /* Accessor */ && previousInfo.isStatic === isStatic2 && !previousInfo.getterName) {\n      previousInfo.getterName = getterName;\n    } else {\n      setPrivateIdentifier(privateEnv, name, {\n        kind: \"a\" /* Accessor */,\n        getterName,\n        setterName: void 0,\n        brandCheckIdentifier,\n        isStatic: isStatic2,\n        isValid\n      });\n    }\n  }\n  function addPrivateIdentifierSetAccessorDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, previousInfo) {\n    const setterName = createHoistedVariableForPrivateName(name, \"_set\");\n    const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug.checkDefined(privateEnv.weakSetName, \"weakSetName should be set in private identifier environment\");\n    if ((previousInfo == null ? void 0 : previousInfo.kind) === \"a\" /* Accessor */ && previousInfo.isStatic === isStatic2 && !previousInfo.setterName) {\n      previousInfo.setterName = setterName;\n    } else {\n      setPrivateIdentifier(privateEnv, name, {\n        kind: \"a\" /* Accessor */,\n        getterName: void 0,\n        setterName,\n        brandCheckIdentifier,\n        isStatic: isStatic2,\n        isValid\n      });\n    }\n  }\n  function addPrivateIdentifierAutoAccessorPropertyDeclarationToEnvironment(_node, name, lex, privateEnv, isStatic2, isValid, _previousInfo) {\n    const getterName = createHoistedVariableForPrivateName(name, \"_get\");\n    const setterName = createHoistedVariableForPrivateName(name, \"_set\");\n    const brandCheckIdentifier = isStatic2 ? Debug.checkDefined(lex.classConstructor, \"classConstructor should be set in private identifier environment\") : Debug.checkDefined(privateEnv.weakSetName, \"weakSetName should be set in private identifier environment\");\n    setPrivateIdentifier(privateEnv, name, {\n      kind: \"a\" /* Accessor */,\n      getterName,\n      setterName,\n      brandCheckIdentifier,\n      isStatic: isStatic2,\n      isValid\n    });\n  }\n  function addPrivateIdentifierToEnvironment(node, name, addDeclaration) {\n    const lex = getClassLexicalEnvironment();\n    const privateEnv = getPrivateIdentifierEnvironment();\n    const previousInfo = getPrivateIdentifier(privateEnv, name);\n    const isStatic2 = hasStaticModifier(node);\n    const isValid = !isReservedPrivateName(name) && previousInfo === void 0;\n    addDeclaration(node, name, lex, privateEnv, isStatic2, isValid, previousInfo);\n  }\n  function createHoistedVariableForClass(name, node, suffix) {\n    const { className } = getPrivateIdentifierEnvironment();\n    const prefix = className ? { prefix: \"_\", node: className, suffix: \"_\" } : \"_\";\n    const identifier = typeof name === \"object\" ? factory2.getGeneratedNameForNode(name, 16 /* Optimistic */ | 8 /* ReservedInNestedScopes */, prefix, suffix) : typeof name === \"string\" ? factory2.createUniqueName(name, 16 /* Optimistic */, prefix, suffix) : factory2.createTempVariable(void 0, true, prefix, suffix);\n    if (resolver.getNodeCheckFlags(node) & 524288 /* BlockScopedBindingInLoop */) {\n      addBlockScopedVariable(identifier);\n    } else {\n      hoistVariableDeclaration(identifier);\n    }\n    return identifier;\n  }\n  function createHoistedVariableForPrivateName(name, suffix) {\n    var _a2;\n    const text = tryGetTextOfPropertyName(name);\n    return createHoistedVariableForClass((_a2 = text == null ? void 0 : text.substring(1)) != null ? _a2 : name, name, suffix);\n  }\n  function accessPrivateIdentifier(name) {\n    if (isGeneratedPrivateIdentifier(name)) {\n      return accessGeneratedPrivateIdentifier(name);\n    } else {\n      return accessPrivateIdentifierByText(name.escapedText);\n    }\n  }\n  function accessPrivateIdentifierByText(text) {\n    return accessPrivateIdentifierWorker(getPrivateIdentifierInfo, text);\n  }\n  function accessGeneratedPrivateIdentifier(name) {\n    return accessPrivateIdentifierWorker(getGeneratedPrivateIdentifierInfo, getNodeForGeneratedName(name));\n  }\n  function accessPrivateIdentifierWorker(getPrivateIdentifierInfo2, privateIdentifierKey) {\n    if (currentClassLexicalEnvironment == null ? void 0 : currentClassLexicalEnvironment.privateIdentifierEnvironment) {\n      const info = getPrivateIdentifierInfo2(currentClassLexicalEnvironment.privateIdentifierEnvironment, privateIdentifierKey);\n      if (info) {\n        return info;\n      }\n    }\n    for (let i = classLexicalEnvironmentStack.length - 1; i >= 0; --i) {\n      const env = classLexicalEnvironmentStack[i];\n      if (!env) {\n        continue;\n      }\n      if (env.privateIdentifierEnvironment) {\n        const info = getPrivateIdentifierInfo2(env.privateIdentifierEnvironment, privateIdentifierKey);\n        if (info) {\n          return info;\n        }\n      }\n    }\n    return void 0;\n  }\n  function wrapPrivateIdentifierForDestructuringTarget(node) {\n    const parameter = factory2.getGeneratedNameForNode(node);\n    const info = accessPrivateIdentifier(node.name);\n    if (!info) {\n      return visitEachChild(node, visitor, context);\n    }\n    let receiver = node.expression;\n    if (isThisProperty(node) || isSuperProperty(node) || !isSimpleCopiableExpression(node.expression)) {\n      receiver = factory2.createTempVariable(hoistVariableDeclaration, true);\n      getPendingExpressions().push(factory2.createBinaryExpression(receiver, 63 /* EqualsToken */, visitNode(node.expression, visitor, isExpression)));\n    }\n    return factory2.createAssignmentTargetWrapper(\n      parameter,\n      createPrivateIdentifierAssignment(\n        info,\n        receiver,\n        parameter,\n        63 /* EqualsToken */\n      )\n    );\n  }\n  function visitArrayAssignmentTarget(node) {\n    const target = getTargetOfBindingOrAssignmentElement(node);\n    if (target) {\n      let wrapped;\n      if (isPrivateIdentifierPropertyAccessExpression(target)) {\n        wrapped = wrapPrivateIdentifierForDestructuringTarget(target);\n      } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(target) && currentStaticPropertyDeclarationOrStaticBlock && currentClassLexicalEnvironment) {\n        const { classConstructor, superClassReference, facts } = currentClassLexicalEnvironment;\n        if (facts & 1 /* ClassWasDecorated */) {\n          wrapped = visitInvalidSuperProperty(target);\n        } else if (classConstructor && superClassReference) {\n          const name = isElementAccessExpression(target) ? visitNode(target.argumentExpression, visitor, isExpression) : isIdentifier(target.name) ? factory2.createStringLiteralFromNode(target.name) : void 0;\n          if (name) {\n            const temp = factory2.createTempVariable(void 0);\n            wrapped = factory2.createAssignmentTargetWrapper(\n              temp,\n              factory2.createReflectSetCall(\n                superClassReference,\n                name,\n                temp,\n                classConstructor\n              )\n            );\n          }\n        }\n      }\n      if (wrapped) {\n        if (isAssignmentExpression(node)) {\n          return factory2.updateBinaryExpression(\n            node,\n            wrapped,\n            node.operatorToken,\n            visitNode(node.right, visitor, isExpression)\n          );\n        } else if (isSpreadElement(node)) {\n          return factory2.updateSpreadElement(node, wrapped);\n        } else {\n          return wrapped;\n        }\n      }\n    }\n    return visitNode(node, assignmentTargetVisitor);\n  }\n  function visitObjectAssignmentTarget(node) {\n    if (isObjectBindingOrAssignmentElement(node) && !isShorthandPropertyAssignment(node)) {\n      const target = getTargetOfBindingOrAssignmentElement(node);\n      let wrapped;\n      if (target) {\n        if (isPrivateIdentifierPropertyAccessExpression(target)) {\n          wrapped = wrapPrivateIdentifierForDestructuringTarget(target);\n        } else if (shouldTransformSuperInStaticInitializers && isSuperProperty(target) && currentStaticPropertyDeclarationOrStaticBlock && currentClassLexicalEnvironment) {\n          const { classConstructor, superClassReference, facts } = currentClassLexicalEnvironment;\n          if (facts & 1 /* ClassWasDecorated */) {\n            wrapped = visitInvalidSuperProperty(target);\n          } else if (classConstructor && superClassReference) {\n            const name = isElementAccessExpression(target) ? visitNode(target.argumentExpression, visitor, isExpression) : isIdentifier(target.name) ? factory2.createStringLiteralFromNode(target.name) : void 0;\n            if (name) {\n              const temp = factory2.createTempVariable(void 0);\n              wrapped = factory2.createAssignmentTargetWrapper(\n                temp,\n                factory2.createReflectSetCall(\n                  superClassReference,\n                  name,\n                  temp,\n                  classConstructor\n                )\n              );\n            }\n          }\n        }\n      }\n      if (isPropertyAssignment(node)) {\n        const initializer = getInitializerOfBindingOrAssignmentElement(node);\n        return factory2.updatePropertyAssignment(\n          node,\n          visitNode(node.name, visitor, isPropertyName),\n          wrapped ? initializer ? factory2.createAssignment(wrapped, visitNode(initializer, visitor)) : wrapped : visitNode(node.initializer, assignmentTargetVisitor, isExpression)\n        );\n      }\n      if (isSpreadAssignment(node)) {\n        return factory2.updateSpreadAssignment(\n          node,\n          wrapped || visitNode(node.expression, assignmentTargetVisitor, isExpression)\n        );\n      }\n      Debug.assert(wrapped === void 0, \"Should not have generated a wrapped target\");\n    }\n    return visitNode(node, visitor);\n  }\n  function visitAssignmentPattern(node) {\n    if (isArrayLiteralExpression(node)) {\n      return factory2.updateArrayLiteralExpression(\n        node,\n        visitNodes2(node.elements, visitArrayAssignmentTarget, isExpression)\n      );\n    } else {\n      return factory2.updateObjectLiteralExpression(\n        node,\n        visitNodes2(node.properties, visitObjectAssignmentTarget, isObjectLiteralElementLike)\n      );\n    }\n  }\n}\nfunction createPrivateStaticFieldInitializer(variableName, initializer) {\n  return factory.createAssignment(\n    variableName,\n    factory.createObjectLiteralExpression([\n      factory.createPropertyAssignment(\"value\", initializer || factory.createVoidZero())\n    ])\n  );\n}\nfunction createPrivateInstanceFieldInitializer(receiver, initializer, weakMapName) {\n  return factory.createCallExpression(\n    factory.createPropertyAccessExpression(weakMapName, \"set\"),\n    void 0,\n    [receiver, initializer || factory.createVoidZero()]\n  );\n}\nfunction createPrivateInstanceMethodInitializer(receiver, weakSetName) {\n  return factory.createCallExpression(\n    factory.createPropertyAccessExpression(weakSetName, \"add\"),\n    void 0,\n    [receiver]\n  );\n}\nfunction isReservedPrivateName(node) {\n  return !isGeneratedPrivateIdentifier(node) && node.escapedText === \"#constructor\";\n}\nfunction getPrivateIdentifier(privateEnv, name) {\n  return isGeneratedPrivateIdentifier(name) ? getGeneratedPrivateIdentifierInfo(privateEnv, getNodeForGeneratedName(name)) : getPrivateIdentifierInfo(privateEnv, name.escapedText);\n}\nfunction setPrivateIdentifier(privateEnv, name, info) {\n  var _a2, _b;\n  if (isGeneratedPrivateIdentifier(name)) {\n    (_a2 = privateEnv.generatedIdentifiers) != null ? _a2 : privateEnv.generatedIdentifiers = new Map2();\n    privateEnv.generatedIdentifiers.set(getNodeForGeneratedName(name), info);\n  } else {\n    (_b = privateEnv.identifiers) != null ? _b : privateEnv.identifiers = new Map2();\n    privateEnv.identifiers.set(name.escapedText, info);\n  }\n}\nfunction getPrivateIdentifierInfo(privateEnv, key) {\n  var _a2;\n  return (_a2 = privateEnv.identifiers) == null ? void 0 : _a2.get(key);\n}\nfunction getGeneratedPrivateIdentifierInfo(privateEnv, key) {\n  var _a2;\n  return (_a2 = privateEnv.generatedIdentifiers) == null ? void 0 : _a2.get(key);\n}\n\n// src/compiler/transformers/typeSerializer.ts\nfunction createRuntimeTypeSerializer(context) {\n  const {\n    hoistVariableDeclaration\n  } = context;\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const strictNullChecks = getStrictOptionValue(compilerOptions, \"strictNullChecks\");\n  let currentLexicalScope;\n  let currentNameScope;\n  return {\n    serializeTypeNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeTypeNode, node),\n    serializeTypeOfNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeTypeOfNode, node),\n    serializeParameterTypesOfNode: (serializerContext, node, container) => setSerializerContextAnd(serializerContext, serializeParameterTypesOfNode, node, container),\n    serializeReturnTypeOfNode: (serializerContext, node) => setSerializerContextAnd(serializerContext, serializeReturnTypeOfNode, node)\n  };\n  function setSerializerContextAnd(serializerContext, cb, node, arg) {\n    const savedCurrentLexicalScope = currentLexicalScope;\n    const savedCurrentNameScope = currentNameScope;\n    currentLexicalScope = serializerContext.currentLexicalScope;\n    currentNameScope = serializerContext.currentNameScope;\n    const result = arg === void 0 ? cb(node) : cb(node, arg);\n    currentLexicalScope = savedCurrentLexicalScope;\n    currentNameScope = savedCurrentNameScope;\n    return result;\n  }\n  function getAccessorTypeNode(node) {\n    const accessors = resolver.getAllAccessorDeclarations(node);\n    return accessors.setAccessor && getSetAccessorTypeAnnotationNode(accessors.setAccessor) || accessors.getAccessor && getEffectiveReturnTypeNode(accessors.getAccessor);\n  }\n  function serializeTypeOfNode(node) {\n    switch (node.kind) {\n      case 171 /* PropertyDeclaration */:\n      case 168 /* Parameter */:\n        return serializeTypeNode(node.type);\n      case 178 /* SetAccessor */:\n      case 177 /* GetAccessor */:\n        return serializeTypeNode(getAccessorTypeNode(node));\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 174 /* MethodDeclaration */:\n        return factory.createIdentifier(\"Function\");\n      default:\n        return factory.createVoidZero();\n    }\n  }\n  function serializeParameterTypesOfNode(node, container) {\n    const valueDeclaration = isClassLike(node) ? getFirstConstructorWithBody(node) : isFunctionLike(node) && nodeIsPresent(node.body) ? node : void 0;\n    const expressions = [];\n    if (valueDeclaration) {\n      const parameters = getParametersOfDecoratedDeclaration(valueDeclaration, container);\n      const numParameters = parameters.length;\n      for (let i = 0; i < numParameters; i++) {\n        const parameter = parameters[i];\n        if (i === 0 && isIdentifier(parameter.name) && parameter.name.escapedText === \"this\") {\n          continue;\n        }\n        if (parameter.dotDotDotToken) {\n          expressions.push(serializeTypeNode(getRestParameterElementType(parameter.type)));\n        } else {\n          expressions.push(serializeTypeOfNode(parameter));\n        }\n      }\n    }\n    return factory.createArrayLiteralExpression(expressions);\n  }\n  function getParametersOfDecoratedDeclaration(node, container) {\n    if (container && node.kind === 177 /* GetAccessor */) {\n      const { setAccessor } = getAllAccessorDeclarations(container.members, node);\n      if (setAccessor) {\n        return setAccessor.parameters;\n      }\n    }\n    return node.parameters;\n  }\n  function serializeReturnTypeOfNode(node) {\n    if (isFunctionLike(node) && node.type) {\n      return serializeTypeNode(node.type);\n    } else if (isAsyncFunction(node)) {\n      return factory.createIdentifier(\"Promise\");\n    }\n    return factory.createVoidZero();\n  }\n  function serializeTypeNode(node) {\n    if (node === void 0) {\n      return factory.createIdentifier(\"Object\");\n    }\n    node = skipTypeParentheses(node);\n    switch (node.kind) {\n      case 115 /* VoidKeyword */:\n      case 157 /* UndefinedKeyword */:\n      case 145 /* NeverKeyword */:\n        return factory.createVoidZero();\n      case 184 /* FunctionType */:\n      case 185 /* ConstructorType */:\n        return factory.createIdentifier(\"Function\");\n      case 188 /* ArrayType */:\n      case 189 /* TupleType */:\n        return factory.createIdentifier(\"Array\");\n      case 182 /* TypePredicate */:\n        return node.assertsModifier ? factory.createVoidZero() : factory.createIdentifier(\"Boolean\");\n      case 135 /* BooleanKeyword */:\n        return factory.createIdentifier(\"Boolean\");\n      case 203 /* TemplateLiteralType */:\n      case 153 /* StringKeyword */:\n        return factory.createIdentifier(\"String\");\n      case 150 /* ObjectKeyword */:\n        return factory.createIdentifier(\"Object\");\n      case 201 /* LiteralType */:\n        return serializeLiteralOfLiteralTypeNode(node.literal);\n      case 149 /* NumberKeyword */:\n        return factory.createIdentifier(\"Number\");\n      case 162 /* BigIntKeyword */:\n        return getGlobalConstructor(\"BigInt\", 7 /* ES2020 */);\n      case 154 /* SymbolKeyword */:\n        return getGlobalConstructor(\"Symbol\", 2 /* ES2015 */);\n      case 183 /* TypeReference */:\n        return serializeTypeReferenceNode(node);\n      case 193 /* IntersectionType */:\n        return serializeUnionOrIntersectionConstituents(node.types, true);\n      case 192 /* UnionType */:\n        return serializeUnionOrIntersectionConstituents(node.types, false);\n      case 194 /* ConditionalType */:\n        return serializeUnionOrIntersectionConstituents([node.trueType, node.falseType], false);\n      case 198 /* TypeOperator */:\n        if (node.operator === 147 /* ReadonlyKeyword */) {\n          return serializeTypeNode(node.type);\n        }\n        break;\n      case 186 /* TypeQuery */:\n      case 199 /* IndexedAccessType */:\n      case 200 /* MappedType */:\n      case 187 /* TypeLiteral */:\n      case 132 /* AnyKeyword */:\n      case 159 /* UnknownKeyword */:\n      case 197 /* ThisType */:\n      case 205 /* ImportType */:\n        break;\n      case 321 /* JSDocAllType */:\n      case 322 /* JSDocUnknownType */:\n      case 326 /* JSDocFunctionType */:\n      case 327 /* JSDocVariadicType */:\n      case 328 /* JSDocNamepathType */:\n        break;\n      case 323 /* JSDocNullableType */:\n      case 324 /* JSDocNonNullableType */:\n      case 325 /* JSDocOptionalType */:\n        return serializeTypeNode(node.type);\n      default:\n        return Debug.failBadSyntaxKind(node);\n    }\n    return factory.createIdentifier(\"Object\");\n  }\n  function serializeLiteralOfLiteralTypeNode(node) {\n    switch (node.kind) {\n      case 10 /* StringLiteral */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n        return factory.createIdentifier(\"String\");\n      case 225 /* PrefixUnaryExpression */: {\n        const operand = node.operand;\n        switch (operand.kind) {\n          case 8 /* NumericLiteral */:\n          case 9 /* BigIntLiteral */:\n            return serializeLiteralOfLiteralTypeNode(operand);\n          default:\n            return Debug.failBadSyntaxKind(operand);\n        }\n      }\n      case 8 /* NumericLiteral */:\n        return factory.createIdentifier(\"Number\");\n      case 9 /* BigIntLiteral */:\n        return getGlobalConstructor(\"BigInt\", 7 /* ES2020 */);\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n        return factory.createIdentifier(\"Boolean\");\n      case 105 /* NullKeyword */:\n        return factory.createVoidZero();\n      default:\n        return Debug.failBadSyntaxKind(node);\n    }\n  }\n  function serializeUnionOrIntersectionConstituents(types, isIntersection) {\n    let serializedType;\n    for (let typeNode of types) {\n      typeNode = skipTypeParentheses(typeNode);\n      if (typeNode.kind === 145 /* NeverKeyword */) {\n        if (isIntersection)\n          return factory.createVoidZero();\n        continue;\n      }\n      if (typeNode.kind === 159 /* UnknownKeyword */) {\n        if (!isIntersection)\n          return factory.createIdentifier(\"Object\");\n        continue;\n      }\n      if (typeNode.kind === 132 /* AnyKeyword */) {\n        return factory.createIdentifier(\"Object\");\n      }\n      if (!strictNullChecks && (isLiteralTypeNode(typeNode) && typeNode.literal.kind === 105 /* NullKeyword */ || typeNode.kind === 157 /* UndefinedKeyword */)) {\n        continue;\n      }\n      const serializedConstituent = serializeTypeNode(typeNode);\n      if (isIdentifier(serializedConstituent) && serializedConstituent.escapedText === \"Object\") {\n        return serializedConstituent;\n      }\n      if (serializedType) {\n        if (!equateSerializedTypeNodes(serializedType, serializedConstituent)) {\n          return factory.createIdentifier(\"Object\");\n        }\n      } else {\n        serializedType = serializedConstituent;\n      }\n    }\n    return serializedType != null ? serializedType : factory.createVoidZero();\n  }\n  function equateSerializedTypeNodes(left, right) {\n    return isGeneratedIdentifier(left) ? isGeneratedIdentifier(right) : isIdentifier(left) ? isIdentifier(right) && left.escapedText === right.escapedText : isPropertyAccessExpression(left) ? isPropertyAccessExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) && equateSerializedTypeNodes(left.name, right.name) : isVoidExpression(left) ? isVoidExpression(right) && isNumericLiteral(left.expression) && left.expression.text === \"0\" && isNumericLiteral(right.expression) && right.expression.text === \"0\" : isStringLiteral(left) ? isStringLiteral(right) && left.text === right.text : isTypeOfExpression(left) ? isTypeOfExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : isParenthesizedExpression(left) ? isParenthesizedExpression(right) && equateSerializedTypeNodes(left.expression, right.expression) : isConditionalExpression(left) ? isConditionalExpression(right) && equateSerializedTypeNodes(left.condition, right.condition) && equateSerializedTypeNodes(left.whenTrue, right.whenTrue) && equateSerializedTypeNodes(left.whenFalse, right.whenFalse) : isBinaryExpression(left) ? isBinaryExpression(right) && left.operatorToken.kind === right.operatorToken.kind && equateSerializedTypeNodes(left.left, right.left) && equateSerializedTypeNodes(left.right, right.right) : false;\n  }\n  function serializeTypeReferenceNode(node) {\n    const kind = resolver.getTypeReferenceSerializationKind(node.typeName, currentNameScope != null ? currentNameScope : currentLexicalScope);\n    switch (kind) {\n      case 0 /* Unknown */:\n        if (findAncestor(node, (n) => n.parent && isConditionalTypeNode(n.parent) && (n.parent.trueType === n || n.parent.falseType === n))) {\n          return factory.createIdentifier(\"Object\");\n        }\n        const serialized = serializeEntityNameAsExpressionFallback(node.typeName);\n        const temp = factory.createTempVariable(hoistVariableDeclaration);\n        return factory.createConditionalExpression(\n          factory.createTypeCheck(factory.createAssignment(temp, serialized), \"function\"),\n          void 0,\n          temp,\n          void 0,\n          factory.createIdentifier(\"Object\")\n        );\n      case 1 /* TypeWithConstructSignatureAndValue */:\n        return serializeEntityNameAsExpression(node.typeName);\n      case 2 /* VoidNullableOrNeverType */:\n        return factory.createVoidZero();\n      case 4 /* BigIntLikeType */:\n        return getGlobalConstructor(\"BigInt\", 7 /* ES2020 */);\n      case 6 /* BooleanType */:\n        return factory.createIdentifier(\"Boolean\");\n      case 3 /* NumberLikeType */:\n        return factory.createIdentifier(\"Number\");\n      case 5 /* StringLikeType */:\n        return factory.createIdentifier(\"String\");\n      case 7 /* ArrayLikeType */:\n        return factory.createIdentifier(\"Array\");\n      case 8 /* ESSymbolType */:\n        return getGlobalConstructor(\"Symbol\", 2 /* ES2015 */);\n      case 10 /* TypeWithCallSignature */:\n        return factory.createIdentifier(\"Function\");\n      case 9 /* Promise */:\n        return factory.createIdentifier(\"Promise\");\n      case 11 /* ObjectType */:\n        return factory.createIdentifier(\"Object\");\n      default:\n        return Debug.assertNever(kind);\n    }\n  }\n  function createCheckedValue(left, right) {\n    return factory.createLogicalAnd(\n      factory.createStrictInequality(factory.createTypeOfExpression(left), factory.createStringLiteral(\"undefined\")),\n      right\n    );\n  }\n  function serializeEntityNameAsExpressionFallback(node) {\n    if (node.kind === 79 /* Identifier */) {\n      const copied = serializeEntityNameAsExpression(node);\n      return createCheckedValue(copied, copied);\n    }\n    if (node.left.kind === 79 /* Identifier */) {\n      return createCheckedValue(serializeEntityNameAsExpression(node.left), serializeEntityNameAsExpression(node));\n    }\n    const left = serializeEntityNameAsExpressionFallback(node.left);\n    const temp = factory.createTempVariable(hoistVariableDeclaration);\n    return factory.createLogicalAnd(\n      factory.createLogicalAnd(\n        left.left,\n        factory.createStrictInequality(factory.createAssignment(temp, left.right), factory.createVoidZero())\n      ),\n      factory.createPropertyAccessExpression(temp, node.right)\n    );\n  }\n  function serializeEntityNameAsExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        const name = setParent(setTextRange(parseNodeFactory.cloneNode(node), node), node.parent);\n        name.original = void 0;\n        setParent(name, getParseTreeNode(currentLexicalScope));\n        return name;\n      case 165 /* QualifiedName */:\n        return serializeQualifiedNameAsExpression(node);\n    }\n  }\n  function serializeQualifiedNameAsExpression(node) {\n    return factory.createPropertyAccessExpression(serializeEntityNameAsExpression(node.left), node.right);\n  }\n  function getGlobalConstructorWithFallback(name) {\n    return factory.createConditionalExpression(\n      factory.createTypeCheck(factory.createIdentifier(name), \"function\"),\n      void 0,\n      factory.createIdentifier(name),\n      void 0,\n      factory.createIdentifier(\"Object\")\n    );\n  }\n  function getGlobalConstructor(name, minLanguageVersion) {\n    return languageVersion < minLanguageVersion ? getGlobalConstructorWithFallback(name) : factory.createIdentifier(name);\n  }\n}\n\n// src/compiler/transformers/legacyDecorators.ts\nfunction transformLegacyDecorators(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    hoistVariableDeclaration\n  } = context;\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onSubstituteNode = onSubstituteNode;\n  let classAliases;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    const visited = visitEachChild(node, visitor, context);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    return visited;\n  }\n  function modifierVisitor(node) {\n    return isDecorator(node) || isAnnotation(node) ? void 0 : node;\n  }\n  function visitor(node) {\n    if (!(node.transformFlags & 33554432 /* ContainsDecorators */)) {\n      return node;\n    }\n    switch (node.kind) {\n      case 169 /* Decorator */:\n        return void 0;\n      case 264 /* ClassDeclaration */:\n        return visitClassDeclaration(node);\n      case 232 /* ClassExpression */:\n        return visitClassExpression(node);\n      case 176 /* Constructor */:\n        return visitConstructorDeclaration(node);\n      case 174 /* MethodDeclaration */:\n        return visitMethodDeclaration(node);\n      case 178 /* SetAccessor */:\n        return visitSetAccessorDeclaration(node);\n      case 177 /* GetAccessor */:\n        return visitGetAccessorDeclaration(node);\n      case 171 /* PropertyDeclaration */:\n        return visitPropertyDeclaration(node);\n      case 168 /* Parameter */:\n        return visitParameterDeclaration(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitClassDeclaration(node) {\n    if (!(classOrConstructorParameterIsDecorated(node) || childIsDecorated(node)))\n      return visitEachChild(node, visitor, context);\n    const statements = hasDecorators(node) ? transformClassDeclarationWithClassDecorators(node, node.name) : transformClassDeclarationWithoutClassDecorators(node, node.name);\n    if (statements.length > 1) {\n      statements.push(factory2.createEndOfDeclarationMarker(node));\n      setEmitFlags(statements[0], getEmitFlags(statements[0]) | 4194304 /* HasEndOfDeclarationMarker */);\n    }\n    return singleOrMany(statements);\n  }\n  function decoratorContainsPrivateIdentifierInExpression(decorator) {\n    return !!(decorator.transformFlags & 536870912 /* ContainsPrivateIdentifierInExpression */);\n  }\n  function parameterDecoratorsContainPrivateIdentifierInExpression(parameterDecorators) {\n    return some(parameterDecorators, decoratorContainsPrivateIdentifierInExpression);\n  }\n  function hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node) {\n    for (const member of node.members) {\n      if (!canHaveDecorators(member))\n        continue;\n      const allDecorators = getAllDecoratorsOfClassElement(member, node);\n      if (some(allDecorators == null ? void 0 : allDecorators.decorators, decoratorContainsPrivateIdentifierInExpression))\n        return true;\n      if (some(allDecorators == null ? void 0 : allDecorators.parameters, parameterDecoratorsContainPrivateIdentifierInExpression))\n        return true;\n    }\n    return false;\n  }\n  function transformDecoratorsOfClassElements(node, members) {\n    let decorationStatements = [];\n    addClassElementDecorationStatements(decorationStatements, node, false);\n    addClassElementDecorationStatements(decorationStatements, node, true);\n    if (hasClassElementWithDecoratorContainingPrivateIdentifierInExpression(node)) {\n      members = setTextRange(factory2.createNodeArray([\n        ...members,\n        factory2.createClassStaticBlockDeclaration(\n          factory2.createBlock(decorationStatements, true)\n        )\n      ]), members);\n      decorationStatements = void 0;\n    }\n    return { decorationStatements, members };\n  }\n  function transformClassDeclarationWithoutClassDecorators(node, name) {\n    const modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n    const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n    let members = visitNodes2(node.members, visitor, isClassElement);\n    let decorationStatements = [];\n    ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members));\n    const updated = factory2.updateClassDeclaration(\n      node,\n      modifiers,\n      name,\n      void 0,\n      heritageClauses,\n      members\n    );\n    return addRange([updated], decorationStatements);\n  }\n  function transformClassDeclarationWithClassDecorators(node, name) {\n    const location = moveRangePastModifiers(node);\n    const classAlias = getClassAliasIfNeeded(node);\n    const declName = languageVersion <= 2 /* ES2015 */ ? factory2.getInternalName(node, false, true) : factory2.getLocalName(node, false, true);\n    const heritageClauses = visitNodes2(node.heritageClauses, visitor, isHeritageClause);\n    let members = visitNodes2(node.members, visitor, isClassElement);\n    let decorationStatements = [];\n    ({ members, decorationStatements } = transformDecoratorsOfClassElements(node, members));\n    const classExpression = factory2.createClassExpression(\n      void 0,\n      name,\n      void 0,\n      heritageClauses,\n      members\n    );\n    setOriginalNode(classExpression, node);\n    setTextRange(classExpression, location);\n    const statement = factory2.createVariableStatement(\n      void 0,\n      factory2.createVariableDeclarationList([\n        factory2.createVariableDeclaration(\n          declName,\n          void 0,\n          void 0,\n          classAlias ? factory2.createAssignment(classAlias, classExpression) : classExpression\n        )\n      ], 1 /* Let */)\n    );\n    setOriginalNode(statement, node);\n    setTextRange(statement, location);\n    setCommentRange(statement, node);\n    const statements = [statement];\n    addRange(statements, decorationStatements);\n    addConstructorDecorationStatement(statements, node);\n    return statements;\n  }\n  function visitClassExpression(node) {\n    return factory2.updateClassExpression(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      node.name,\n      void 0,\n      visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n      visitNodes2(node.members, visitor, isClassElement)\n    );\n  }\n  function visitConstructorDeclaration(node) {\n    return factory2.updateConstructorDeclaration(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      visitNodes2(node.parameters, visitor, isParameterDeclaration),\n      visitNode(node.body, visitor, isBlock)\n    );\n  }\n  function finishClassElement(updated, original) {\n    if (updated !== original) {\n      setCommentRange(updated, original);\n      setSourceMapRange(updated, moveRangePastModifiers(original));\n    }\n    return updated;\n  }\n  function visitMethodDeclaration(node) {\n    return finishClassElement(factory2.updateMethodDeclaration(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      node.asteriskToken,\n      visitNode(node.name, visitor, isPropertyName),\n      void 0,\n      void 0,\n      visitNodes2(node.parameters, visitor, isParameterDeclaration),\n      void 0,\n      visitNode(node.body, visitor, isBlock)\n    ), node);\n  }\n  function visitGetAccessorDeclaration(node) {\n    return finishClassElement(factory2.updateGetAccessorDeclaration(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      visitNode(node.name, visitor, isPropertyName),\n      visitNodes2(node.parameters, visitor, isParameterDeclaration),\n      void 0,\n      visitNode(node.body, visitor, isBlock)\n    ), node);\n  }\n  function visitSetAccessorDeclaration(node) {\n    return finishClassElement(factory2.updateSetAccessorDeclaration(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      visitNode(node.name, visitor, isPropertyName),\n      visitNodes2(node.parameters, visitor, isParameterDeclaration),\n      visitNode(node.body, visitor, isBlock)\n    ), node);\n  }\n  function visitPropertyDeclaration(node) {\n    if (node.flags & 16777216 /* Ambient */ || hasSyntacticModifier(node, 2 /* Ambient */)) {\n      return void 0;\n    }\n    return finishClassElement(factory2.updatePropertyDeclaration(\n      node,\n      visitNodes2(node.modifiers, modifierVisitor, isModifier),\n      visitNode(node.name, visitor, isPropertyName),\n      void 0,\n      void 0,\n      visitNode(node.initializer, visitor, isExpression)\n    ), node);\n  }\n  function visitParameterDeclaration(node) {\n    const updated = factory2.updateParameterDeclaration(\n      node,\n      elideNodes(factory2, node.modifiers),\n      node.dotDotDotToken,\n      visitNode(node.name, visitor, isBindingName),\n      void 0,\n      void 0,\n      visitNode(node.initializer, visitor, isExpression)\n    );\n    if (updated !== node) {\n      setCommentRange(updated, node);\n      setTextRange(updated, moveRangePastModifiers(node));\n      setSourceMapRange(updated, moveRangePastModifiers(node));\n      setEmitFlags(updated.name, 32 /* NoTrailingSourceMap */);\n    }\n    return updated;\n  }\n  function transformAllDecoratorsOfDeclaration(allDecorators) {\n    if (!allDecorators) {\n      return void 0;\n    }\n    const decoratorExpressions = [];\n    addRange(decoratorExpressions, map(allDecorators.decorators, transformDecorator));\n    addRange(decoratorExpressions, flatMap(allDecorators.parameters, transformDecoratorsOfParameter));\n    return decoratorExpressions;\n  }\n  function addClassElementDecorationStatements(statements, node, isStatic2) {\n    addRange(statements, map(generateClassElementDecorationExpressions(node, isStatic2), (expr) => factory2.createExpressionStatement(expr)));\n  }\n  function isDecoratedClassElement(member, isStaticElement, parent2) {\n    return nodeOrChildIsDecorated(member, parent2) && isStaticElement === isStatic(member);\n  }\n  function getDecoratedClassElements(node, isStatic2) {\n    return filter(node.members, (m) => isDecoratedClassElement(m, isStatic2, node));\n  }\n  function generateClassElementDecorationExpressions(node, isStatic2) {\n    const members = getDecoratedClassElements(node, isStatic2);\n    let expressions;\n    for (const member of members) {\n      expressions = append(expressions, generateClassElementDecorationExpression(node, member));\n    }\n    return expressions;\n  }\n  function generateClassElementDecorationExpression(node, member) {\n    const allDecorators = getAllDecoratorsOfClassElement(member, node);\n    const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators);\n    if (!decoratorExpressions) {\n      return void 0;\n    }\n    const prefix = getClassMemberPrefix(node, member);\n    const memberName = getExpressionForPropertyName(member, !hasSyntacticModifier(member, 2 /* Ambient */));\n    const descriptor = languageVersion > 0 /* ES3 */ ? isPropertyDeclaration(member) && !hasAccessorModifier(member) ? factory2.createVoidZero() : factory2.createNull() : void 0;\n    const helper = emitHelpers().createDecorateHelper(\n      decoratorExpressions,\n      prefix,\n      memberName,\n      descriptor\n    );\n    setEmitFlags(helper, 1536 /* NoComments */);\n    setSourceMapRange(helper, moveRangePastModifiers(member));\n    return helper;\n  }\n  function addConstructorDecorationStatement(statements, node) {\n    const expression = generateConstructorDecorationExpression(node);\n    if (expression) {\n      statements.push(setOriginalNode(factory2.createExpressionStatement(expression), node));\n    }\n  }\n  function generateConstructorDecorationExpression(node) {\n    const allDecorators = getAllDecoratorsOfClass(node);\n    const decoratorExpressions = transformAllDecoratorsOfDeclaration(allDecorators);\n    if (!decoratorExpressions) {\n      return void 0;\n    }\n    const classAlias = classAliases && classAliases[getOriginalNodeId(node)];\n    const localName = languageVersion <= 2 /* ES2015 */ ? factory2.getInternalName(node, false, true) : factory2.getLocalName(node, false, true);\n    const decorate = emitHelpers().createDecorateHelper(decoratorExpressions, localName);\n    const expression = factory2.createAssignment(localName, classAlias ? factory2.createAssignment(classAlias, decorate) : decorate);\n    setEmitFlags(expression, 1536 /* NoComments */);\n    setSourceMapRange(expression, moveRangePastModifiers(node));\n    return expression;\n  }\n  function transformDecorator(decorator) {\n    return visitNode(decorator.expression, visitor, isExpression);\n  }\n  function transformDecoratorsOfParameter(decorators, parameterOffset) {\n    let expressions;\n    if (decorators) {\n      expressions = [];\n      for (const decorator of decorators) {\n        const helper = emitHelpers().createParamHelper(\n          transformDecorator(decorator),\n          parameterOffset\n        );\n        setTextRange(helper, decorator.expression);\n        setEmitFlags(helper, 1536 /* NoComments */);\n        expressions.push(helper);\n      }\n    }\n    return expressions;\n  }\n  function getExpressionForPropertyName(member, generateNameForComputedPropertyName) {\n    const name = member.name;\n    if (isPrivateIdentifier(name)) {\n      return factory2.createIdentifier(\"\");\n    } else if (isComputedPropertyName(name)) {\n      return generateNameForComputedPropertyName && !isSimpleInlineableExpression(name.expression) ? factory2.getGeneratedNameForNode(name) : name.expression;\n    } else if (isIdentifier(name)) {\n      return factory2.createStringLiteral(idText(name));\n    } else {\n      return factory2.cloneNode(name);\n    }\n  }\n  function enableSubstitutionForClassAliases() {\n    if (!classAliases) {\n      context.enableSubstitution(79 /* Identifier */);\n      classAliases = [];\n    }\n  }\n  function getClassAliasIfNeeded(node) {\n    if (resolver.getNodeCheckFlags(node) & 16777216 /* ClassWithConstructorReference */) {\n      enableSubstitutionForClassAliases();\n      const classAlias = factory2.createUniqueName(node.name && !isGeneratedIdentifier(node.name) ? idText(node.name) : \"default\");\n      classAliases[getOriginalNodeId(node)] = classAlias;\n      hoistVariableDeclaration(classAlias);\n      return classAlias;\n    }\n  }\n  function getClassPrototype(node) {\n    return factory2.createPropertyAccessExpression(factory2.getDeclarationName(node), \"prototype\");\n  }\n  function getClassMemberPrefix(node, member) {\n    return isStatic(member) ? factory2.getDeclarationName(node) : getClassPrototype(node);\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return substituteExpressionIdentifier(node);\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    var _a2;\n    return (_a2 = trySubstituteClassAlias(node)) != null ? _a2 : node;\n  }\n  function trySubstituteClassAlias(node) {\n    if (classAliases) {\n      if (resolver.getNodeCheckFlags(node) & 33554432 /* ConstructorReferenceInClass */) {\n        const declaration = resolver.getReferencedValueDeclaration(node);\n        if (declaration) {\n          const classAlias = classAliases[declaration.id];\n          if (classAlias) {\n            const clone2 = factory2.cloneNode(classAlias);\n            setSourceMapRange(clone2, node);\n            setCommentRange(clone2, node);\n            return clone2;\n          }\n        }\n      }\n    }\n    return void 0;\n  }\n}\n\n// src/compiler/transformers/es2017.ts\nvar ES2017SubstitutionFlags = /* @__PURE__ */ ((ES2017SubstitutionFlags2) => {\n  ES2017SubstitutionFlags2[ES2017SubstitutionFlags2[\"AsyncMethodsWithSuper\"] = 1] = \"AsyncMethodsWithSuper\";\n  return ES2017SubstitutionFlags2;\n})(ES2017SubstitutionFlags || {});\nvar ContextFlags2 = /* @__PURE__ */ ((ContextFlags3) => {\n  ContextFlags3[ContextFlags3[\"NonTopLevel\"] = 1] = \"NonTopLevel\";\n  ContextFlags3[ContextFlags3[\"HasLexicalThis\"] = 2] = \"HasLexicalThis\";\n  return ContextFlags3;\n})(ContextFlags2 || {});\nfunction transformES2017(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    resumeLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistVariableDeclaration\n  } = context;\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  let enabledSubstitutions;\n  let enclosingSuperContainerFlags = 0;\n  let enclosingFunctionParameterNames;\n  let capturedSuperProperties;\n  let hasSuperElementAccess;\n  const substitutedSuperAccessors = [];\n  let contextFlags = 0;\n  const previousOnEmitNode = context.onEmitNode;\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onEmitNode = onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    setContextFlag(1 /* NonTopLevel */, false);\n    setContextFlag(2 /* HasLexicalThis */, !isEffectiveStrictModeSourceFile(node, compilerOptions));\n    const visited = visitEachChild(node, visitor, context);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    return visited;\n  }\n  function setContextFlag(flag, val) {\n    contextFlags = val ? contextFlags | flag : contextFlags & ~flag;\n  }\n  function inContext(flags) {\n    return (contextFlags & flags) !== 0;\n  }\n  function inTopLevelContext() {\n    return !inContext(1 /* NonTopLevel */);\n  }\n  function inHasLexicalThisContext() {\n    return inContext(2 /* HasLexicalThis */);\n  }\n  function doWithContext(flags, cb, value) {\n    const contextFlagsToSet = flags & ~contextFlags;\n    if (contextFlagsToSet) {\n      setContextFlag(contextFlagsToSet, true);\n      const result = cb(value);\n      setContextFlag(contextFlagsToSet, false);\n      return result;\n    }\n    return cb(value);\n  }\n  function visitDefault(node) {\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    if ((node.transformFlags & 256 /* ContainsES2017 */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      case 133 /* AsyncKeyword */:\n        return void 0;\n      case 224 /* AwaitExpression */:\n        return visitAwaitExpression(node);\n      case 174 /* MethodDeclaration */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitMethodDeclaration, node);\n      case 263 /* FunctionDeclaration */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitFunctionDeclaration, node);\n      case 218 /* FunctionExpression */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitFunctionExpression, node);\n      case 219 /* ArrowFunction */:\n        return doWithContext(1 /* NonTopLevel */, visitArrowFunction, node);\n      case 211 /* PropertyAccessExpression */:\n        if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 107 /* SuperKeyword */) {\n          capturedSuperProperties.add(node.name.escapedText);\n        }\n        return visitEachChild(node, visitor, context);\n      case 212 /* ElementAccessExpression */:\n        if (capturedSuperProperties && node.expression.kind === 107 /* SuperKeyword */) {\n          hasSuperElementAccess = true;\n        }\n        return visitEachChild(node, visitor, context);\n      case 177 /* GetAccessor */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitGetAccessorDeclaration, node);\n      case 178 /* SetAccessor */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitSetAccessorDeclaration, node);\n      case 176 /* Constructor */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitConstructorDeclaration, node);\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n        return doWithContext(1 /* NonTopLevel */ | 2 /* HasLexicalThis */, visitDefault, node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function asyncBodyVisitor(node) {\n    if (isNodeWithPossibleHoistedDeclaration(node)) {\n      switch (node.kind) {\n        case 244 /* VariableStatement */:\n          return visitVariableStatementInAsyncBody(node);\n        case 249 /* ForStatement */:\n          return visitForStatementInAsyncBody(node);\n        case 250 /* ForInStatement */:\n          return visitForInStatementInAsyncBody(node);\n        case 251 /* ForOfStatement */:\n          return visitForOfStatementInAsyncBody(node);\n        case 301 /* CatchClause */:\n          return visitCatchClauseInAsyncBody(node);\n        case 242 /* Block */:\n        case 256 /* SwitchStatement */:\n        case 272 /* CaseBlock */:\n        case 298 /* CaseClause */:\n        case 299 /* DefaultClause */:\n        case 259 /* TryStatement */:\n        case 247 /* DoStatement */:\n        case 248 /* WhileStatement */:\n        case 246 /* IfStatement */:\n        case 255 /* WithStatement */:\n        case 257 /* LabeledStatement */:\n          return visitEachChild(node, asyncBodyVisitor, context);\n        default:\n          return Debug.assertNever(node, \"Unhandled node.\");\n      }\n    }\n    return visitor(node);\n  }\n  function visitCatchClauseInAsyncBody(node) {\n    const catchClauseNames = new Set2();\n    recordDeclarationName(node.variableDeclaration, catchClauseNames);\n    let catchClauseUnshadowedNames;\n    catchClauseNames.forEach((_, escapedName) => {\n      if (enclosingFunctionParameterNames.has(escapedName)) {\n        if (!catchClauseUnshadowedNames) {\n          catchClauseUnshadowedNames = new Set2(enclosingFunctionParameterNames);\n        }\n        catchClauseUnshadowedNames.delete(escapedName);\n      }\n    });\n    if (catchClauseUnshadowedNames) {\n      const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames;\n      enclosingFunctionParameterNames = catchClauseUnshadowedNames;\n      const result = visitEachChild(node, asyncBodyVisitor, context);\n      enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames;\n      return result;\n    } else {\n      return visitEachChild(node, asyncBodyVisitor, context);\n    }\n  }\n  function visitVariableStatementInAsyncBody(node) {\n    if (isVariableDeclarationListWithCollidingName(node.declarationList)) {\n      const expression = visitVariableDeclarationListWithCollidingNames(node.declarationList, false);\n      return expression ? factory2.createExpressionStatement(expression) : void 0;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitForInStatementInAsyncBody(node) {\n    return factory2.updateForInStatement(\n      node,\n      isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames(node.initializer, true) : visitNode(node.initializer, visitor, isForInitializer),\n      visitNode(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, asyncBodyVisitor, context)\n    );\n  }\n  function visitForOfStatementInAsyncBody(node) {\n    return factory2.updateForOfStatement(\n      node,\n      visitNode(node.awaitModifier, visitor, isToken),\n      isVariableDeclarationListWithCollidingName(node.initializer) ? visitVariableDeclarationListWithCollidingNames(node.initializer, true) : visitNode(node.initializer, visitor, isForInitializer),\n      visitNode(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, asyncBodyVisitor, context)\n    );\n  }\n  function visitForStatementInAsyncBody(node) {\n    const initializer = node.initializer;\n    return factory2.updateForStatement(\n      node,\n      isVariableDeclarationListWithCollidingName(initializer) ? visitVariableDeclarationListWithCollidingNames(initializer, false) : visitNode(node.initializer, visitor, isForInitializer),\n      visitNode(node.condition, visitor, isExpression),\n      visitNode(node.incrementor, visitor, isExpression),\n      visitIterationBody(node.statement, asyncBodyVisitor, context)\n    );\n  }\n  function visitAwaitExpression(node) {\n    if (inTopLevelContext()) {\n      return visitEachChild(node, visitor, context);\n    }\n    return setOriginalNode(\n      setTextRange(\n        factory2.createYieldExpression(\n          void 0,\n          visitNode(node.expression, visitor, isExpression)\n        ),\n        node\n      ),\n      node\n    );\n  }\n  function visitConstructorDeclaration(node) {\n    return factory2.updateConstructorDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      visitParameterList(node.parameters, visitor, context),\n      transformMethodBody(node)\n    );\n  }\n  function visitMethodDeclaration(node) {\n    return factory2.updateMethodDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      node.asteriskToken,\n      node.name,\n      void 0,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      getFunctionFlags(node) & 2 /* Async */ ? transformAsyncFunctionBody(node) : transformMethodBody(node)\n    );\n  }\n  function visitGetAccessorDeclaration(node) {\n    return factory2.updateGetAccessorDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      node.name,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      transformMethodBody(node)\n    );\n  }\n  function visitSetAccessorDeclaration(node) {\n    return factory2.updateSetAccessorDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      node.name,\n      visitParameterList(node.parameters, visitor, context),\n      transformMethodBody(node)\n    );\n  }\n  function visitFunctionDeclaration(node) {\n    return factory2.updateFunctionDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      node.asteriskToken,\n      node.name,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      getFunctionFlags(node) & 2 /* Async */ ? transformAsyncFunctionBody(node) : visitFunctionBody(node.body, visitor, context)\n    );\n  }\n  function visitFunctionExpression(node) {\n    return factory2.updateFunctionExpression(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      node.asteriskToken,\n      node.name,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      getFunctionFlags(node) & 2 /* Async */ ? transformAsyncFunctionBody(node) : visitFunctionBody(node.body, visitor, context)\n    );\n  }\n  function visitArrowFunction(node) {\n    return factory2.updateArrowFunction(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifierLike),\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      node.equalsGreaterThanToken,\n      getFunctionFlags(node) & 2 /* Async */ ? transformAsyncFunctionBody(node) : visitFunctionBody(node.body, visitor, context)\n    );\n  }\n  function recordDeclarationName({ name }, names) {\n    if (isIdentifier(name)) {\n      names.add(name.escapedText);\n    } else {\n      for (const element of name.elements) {\n        if (!isOmittedExpression(element)) {\n          recordDeclarationName(element, names);\n        }\n      }\n    }\n  }\n  function isVariableDeclarationListWithCollidingName(node) {\n    return !!node && isVariableDeclarationList(node) && !(node.flags & 3 /* BlockScoped */) && node.declarations.some(collidesWithParameterName);\n  }\n  function visitVariableDeclarationListWithCollidingNames(node, hasReceiver) {\n    hoistVariableDeclarationList(node);\n    const variables = getInitializedVariables(node);\n    if (variables.length === 0) {\n      if (hasReceiver) {\n        return visitNode(factory2.converters.convertToAssignmentElementTarget(node.declarations[0].name), visitor, isExpression);\n      }\n      return void 0;\n    }\n    return factory2.inlineExpressions(map(variables, transformInitializedVariable));\n  }\n  function hoistVariableDeclarationList(node) {\n    forEach(node.declarations, hoistVariable);\n  }\n  function hoistVariable({ name }) {\n    if (isIdentifier(name)) {\n      hoistVariableDeclaration(name);\n    } else {\n      for (const element of name.elements) {\n        if (!isOmittedExpression(element)) {\n          hoistVariable(element);\n        }\n      }\n    }\n  }\n  function transformInitializedVariable(node) {\n    const converted = setSourceMapRange(\n      factory2.createAssignment(\n        factory2.converters.convertToAssignmentElementTarget(node.name),\n        node.initializer\n      ),\n      node\n    );\n    return visitNode(converted, visitor, isExpression);\n  }\n  function collidesWithParameterName({ name }) {\n    if (isIdentifier(name)) {\n      return enclosingFunctionParameterNames.has(name.escapedText);\n    } else {\n      for (const element of name.elements) {\n        if (!isOmittedExpression(element) && collidesWithParameterName(element)) {\n          return true;\n        }\n      }\n    }\n    return false;\n  }\n  function transformMethodBody(node) {\n    Debug.assertIsDefined(node.body);\n    const savedCapturedSuperProperties = capturedSuperProperties;\n    const savedHasSuperElementAccess = hasSuperElementAccess;\n    capturedSuperProperties = new Set2();\n    hasSuperElementAccess = false;\n    let updated = visitFunctionBody(node.body, visitor, context);\n    const originalMethod = getOriginalNode(node, isFunctionLikeDeclaration);\n    const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && resolver.getNodeCheckFlags(node) & (4096 /* MethodWithSuperPropertyAssignmentInAsync */ | 2048 /* MethodWithSuperPropertyAccessInAsync */) && (getFunctionFlags(originalMethod) & 3 /* AsyncGenerator */) !== 3 /* AsyncGenerator */;\n    if (emitSuperHelpers) {\n      enableSubstitutionForAsyncMethodsWithSuper();\n      if (capturedSuperProperties.size) {\n        const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties);\n        substitutedSuperAccessors[getNodeId(variableStatement)] = true;\n        const statements = updated.statements.slice();\n        insertStatementsAfterStandardPrologue(statements, [variableStatement]);\n        updated = factory2.updateBlock(updated, statements);\n      }\n      if (hasSuperElementAccess) {\n        if (resolver.getNodeCheckFlags(node) & 4096 /* MethodWithSuperPropertyAssignmentInAsync */) {\n          addEmitHelper(updated, advancedAsyncSuperHelper);\n        } else if (resolver.getNodeCheckFlags(node) & 2048 /* MethodWithSuperPropertyAccessInAsync */) {\n          addEmitHelper(updated, asyncSuperHelper);\n        }\n      }\n    }\n    capturedSuperProperties = savedCapturedSuperProperties;\n    hasSuperElementAccess = savedHasSuperElementAccess;\n    return updated;\n  }\n  function transformAsyncFunctionBody(node) {\n    resumeLexicalEnvironment();\n    const original = getOriginalNode(node, isFunctionLike);\n    const nodeType = original.type;\n    const promiseConstructor = languageVersion < 2 /* ES2015 */ ? getPromiseConstructor(nodeType) : void 0;\n    const isArrowFunction2 = node.kind === 219 /* ArrowFunction */;\n    const hasLexicalArguments = (resolver.getNodeCheckFlags(node) & 8192 /* CaptureArguments */) !== 0;\n    const savedEnclosingFunctionParameterNames = enclosingFunctionParameterNames;\n    enclosingFunctionParameterNames = new Set2();\n    for (const parameter of node.parameters) {\n      recordDeclarationName(parameter, enclosingFunctionParameterNames);\n    }\n    const savedCapturedSuperProperties = capturedSuperProperties;\n    const savedHasSuperElementAccess = hasSuperElementAccess;\n    if (!isArrowFunction2) {\n      capturedSuperProperties = new Set2();\n      hasSuperElementAccess = false;\n    }\n    let result;\n    if (!isArrowFunction2) {\n      const statements = [];\n      const statementOffset = factory2.copyPrologue(node.body.statements, statements, false, visitor);\n      statements.push(\n        factory2.createReturnStatement(\n          emitHelpers().createAwaiterHelper(\n            inHasLexicalThisContext(),\n            hasLexicalArguments,\n            promiseConstructor,\n            transformAsyncFunctionBodyWorker(node.body, statementOffset)\n          )\n        )\n      );\n      insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n      const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && resolver.getNodeCheckFlags(node) & (4096 /* MethodWithSuperPropertyAssignmentInAsync */ | 2048 /* MethodWithSuperPropertyAccessInAsync */);\n      if (emitSuperHelpers) {\n        enableSubstitutionForAsyncMethodsWithSuper();\n        if (capturedSuperProperties.size) {\n          const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties);\n          substitutedSuperAccessors[getNodeId(variableStatement)] = true;\n          insertStatementsAfterStandardPrologue(statements, [variableStatement]);\n        }\n      }\n      const block = factory2.createBlock(statements, true);\n      setTextRange(block, node.body);\n      if (emitSuperHelpers && hasSuperElementAccess) {\n        if (resolver.getNodeCheckFlags(node) & 4096 /* MethodWithSuperPropertyAssignmentInAsync */) {\n          addEmitHelper(block, advancedAsyncSuperHelper);\n        } else if (resolver.getNodeCheckFlags(node) & 2048 /* MethodWithSuperPropertyAccessInAsync */) {\n          addEmitHelper(block, asyncSuperHelper);\n        }\n      }\n      result = block;\n    } else {\n      const expression = emitHelpers().createAwaiterHelper(\n        inHasLexicalThisContext(),\n        hasLexicalArguments,\n        promiseConstructor,\n        transformAsyncFunctionBodyWorker(node.body)\n      );\n      const declarations = endLexicalEnvironment();\n      if (some(declarations)) {\n        const block = factory2.converters.convertToFunctionBlock(expression);\n        result = factory2.updateBlock(block, setTextRange(factory2.createNodeArray(concatenate(declarations, block.statements)), block.statements));\n      } else {\n        result = expression;\n      }\n    }\n    enclosingFunctionParameterNames = savedEnclosingFunctionParameterNames;\n    if (!isArrowFunction2) {\n      capturedSuperProperties = savedCapturedSuperProperties;\n      hasSuperElementAccess = savedHasSuperElementAccess;\n    }\n    return result;\n  }\n  function transformAsyncFunctionBodyWorker(body, start) {\n    if (isBlock(body)) {\n      return factory2.updateBlock(body, visitNodes2(body.statements, asyncBodyVisitor, isStatement, start));\n    } else {\n      return factory2.converters.convertToFunctionBlock(visitNode(body, asyncBodyVisitor, isConciseBody));\n    }\n  }\n  function getPromiseConstructor(type) {\n    const typeName = type && getEntityNameFromTypeNode(type);\n    if (typeName && isEntityName(typeName)) {\n      const serializationKind = resolver.getTypeReferenceSerializationKind(typeName);\n      if (serializationKind === 1 /* TypeWithConstructSignatureAndValue */ || serializationKind === 0 /* Unknown */) {\n        return typeName;\n      }\n    }\n    return void 0;\n  }\n  function enableSubstitutionForAsyncMethodsWithSuper() {\n    if ((enabledSubstitutions & 1 /* AsyncMethodsWithSuper */) === 0) {\n      enabledSubstitutions |= 1 /* AsyncMethodsWithSuper */;\n      context.enableSubstitution(213 /* CallExpression */);\n      context.enableSubstitution(211 /* PropertyAccessExpression */);\n      context.enableSubstitution(212 /* ElementAccessExpression */);\n      context.enableEmitNotification(264 /* ClassDeclaration */);\n      context.enableEmitNotification(174 /* MethodDeclaration */);\n      context.enableEmitNotification(177 /* GetAccessor */);\n      context.enableEmitNotification(178 /* SetAccessor */);\n      context.enableEmitNotification(176 /* Constructor */);\n      context.enableEmitNotification(244 /* VariableStatement */);\n    }\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (enabledSubstitutions & 1 /* AsyncMethodsWithSuper */ && isSuperContainer(node)) {\n      const superContainerFlags = resolver.getNodeCheckFlags(node) & (2048 /* MethodWithSuperPropertyAccessInAsync */ | 4096 /* MethodWithSuperPropertyAssignmentInAsync */);\n      if (superContainerFlags !== enclosingSuperContainerFlags) {\n        const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n        enclosingSuperContainerFlags = superContainerFlags;\n        previousOnEmitNode(hint, node, emitCallback);\n        enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n        return;\n      }\n    } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) {\n      const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n      enclosingSuperContainerFlags = 0;\n      previousOnEmitNode(hint, node, emitCallback);\n      enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n      return;\n    }\n    previousOnEmitNode(hint, node, emitCallback);\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */ && enclosingSuperContainerFlags) {\n      return substituteExpression(node);\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 211 /* PropertyAccessExpression */:\n        return substitutePropertyAccessExpression(node);\n      case 212 /* ElementAccessExpression */:\n        return substituteElementAccessExpression(node);\n      case 213 /* CallExpression */:\n        return substituteCallExpression(node);\n    }\n    return node;\n  }\n  function substitutePropertyAccessExpression(node) {\n    if (node.expression.kind === 107 /* SuperKeyword */) {\n      return setTextRange(\n        factory2.createPropertyAccessExpression(\n          factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          node.name\n        ),\n        node\n      );\n    }\n    return node;\n  }\n  function substituteElementAccessExpression(node) {\n    if (node.expression.kind === 107 /* SuperKeyword */) {\n      return createSuperElementAccessInAsyncMethod(\n        node.argumentExpression,\n        node\n      );\n    }\n    return node;\n  }\n  function substituteCallExpression(node) {\n    const expression = node.expression;\n    if (isSuperProperty(expression)) {\n      const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression);\n      return factory2.createCallExpression(\n        factory2.createPropertyAccessExpression(argumentExpression, \"call\"),\n        void 0,\n        [\n          factory2.createThis(),\n          ...node.arguments\n        ]\n      );\n    }\n    return node;\n  }\n  function isSuperContainer(node) {\n    const kind = node.kind;\n    return kind === 264 /* ClassDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */;\n  }\n  function createSuperElementAccessInAsyncMethod(argumentExpression, location) {\n    if (enclosingSuperContainerFlags & 4096 /* MethodWithSuperPropertyAssignmentInAsync */) {\n      return setTextRange(\n        factory2.createPropertyAccessExpression(\n          factory2.createCallExpression(\n            factory2.createUniqueName(\"_superIndex\", 16 /* Optimistic */ | 32 /* FileLevel */),\n            void 0,\n            [argumentExpression]\n          ),\n          \"value\"\n        ),\n        location\n      );\n    } else {\n      return setTextRange(\n        factory2.createCallExpression(\n          factory2.createUniqueName(\"_superIndex\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          void 0,\n          [argumentExpression]\n        ),\n        location\n      );\n    }\n  }\n}\nfunction createSuperAccessVariableStatement(factory2, resolver, node, names) {\n  const hasBinding = (resolver.getNodeCheckFlags(node) & 4096 /* MethodWithSuperPropertyAssignmentInAsync */) !== 0;\n  const accessors = [];\n  names.forEach((_, key) => {\n    const name = unescapeLeadingUnderscores(key);\n    const getterAndSetter = [];\n    getterAndSetter.push(factory2.createPropertyAssignment(\n      \"get\",\n      factory2.createArrowFunction(\n        void 0,\n        void 0,\n        [],\n        void 0,\n        void 0,\n        setEmitFlags(\n          factory2.createPropertyAccessExpression(\n            setEmitFlags(\n              factory2.createSuper(),\n              4 /* NoSubstitution */\n            ),\n            name\n          ),\n          4 /* NoSubstitution */\n        )\n      )\n    ));\n    if (hasBinding) {\n      getterAndSetter.push(\n        factory2.createPropertyAssignment(\n          \"set\",\n          factory2.createArrowFunction(\n            void 0,\n            void 0,\n            [\n              factory2.createParameterDeclaration(\n                void 0,\n                void 0,\n                \"v\",\n                void 0,\n                void 0,\n                void 0\n              )\n            ],\n            void 0,\n            void 0,\n            factory2.createAssignment(\n              setEmitFlags(\n                factory2.createPropertyAccessExpression(\n                  setEmitFlags(\n                    factory2.createSuper(),\n                    4 /* NoSubstitution */\n                  ),\n                  name\n                ),\n                4 /* NoSubstitution */\n              ),\n              factory2.createIdentifier(\"v\")\n            )\n          )\n        )\n      );\n    }\n    accessors.push(\n      factory2.createPropertyAssignment(\n        name,\n        factory2.createObjectLiteralExpression(getterAndSetter)\n      )\n    );\n  });\n  return factory2.createVariableStatement(\n    void 0,\n    factory2.createVariableDeclarationList(\n      [\n        factory2.createVariableDeclaration(\n          factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          void 0,\n          void 0,\n          factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(\n              factory2.createIdentifier(\"Object\"),\n              \"create\"\n            ),\n            void 0,\n            [\n              factory2.createNull(),\n              factory2.createObjectLiteralExpression(accessors, true)\n            ]\n          )\n        )\n      ],\n      2 /* Const */\n    )\n  );\n}\n\n// src/compiler/transformers/es2018.ts\nvar ESNextSubstitutionFlags = /* @__PURE__ */ ((ESNextSubstitutionFlags2) => {\n  ESNextSubstitutionFlags2[ESNextSubstitutionFlags2[\"AsyncMethodsWithSuper\"] = 1] = \"AsyncMethodsWithSuper\";\n  return ESNextSubstitutionFlags2;\n})(ESNextSubstitutionFlags || {});\nvar HierarchyFacts = /* @__PURE__ */ ((HierarchyFacts3) => {\n  HierarchyFacts3[HierarchyFacts3[\"None\"] = 0] = \"None\";\n  HierarchyFacts3[HierarchyFacts3[\"HasLexicalThis\"] = 1] = \"HasLexicalThis\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationContainer\"] = 2] = \"IterationContainer\";\n  HierarchyFacts3[HierarchyFacts3[\"AncestorFactsMask\"] = 3] = \"AncestorFactsMask\";\n  HierarchyFacts3[HierarchyFacts3[\"SourceFileIncludes\"] = 1 /* HasLexicalThis */] = \"SourceFileIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"SourceFileExcludes\"] = 2 /* IterationContainer */] = \"SourceFileExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"StrictModeSourceFileIncludes\"] = 0 /* None */] = \"StrictModeSourceFileIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ClassOrFunctionIncludes\"] = 1 /* HasLexicalThis */] = \"ClassOrFunctionIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ClassOrFunctionExcludes\"] = 2 /* IterationContainer */] = \"ClassOrFunctionExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ArrowFunctionIncludes\"] = 0 /* None */] = \"ArrowFunctionIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ArrowFunctionExcludes\"] = 2 /* ClassOrFunctionExcludes */] = \"ArrowFunctionExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationStatementIncludes\"] = 2 /* IterationContainer */] = \"IterationStatementIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationStatementExcludes\"] = 0 /* None */] = \"IterationStatementExcludes\";\n  return HierarchyFacts3;\n})(HierarchyFacts || {});\nfunction transformES2018(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    resumeLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistVariableDeclaration\n  } = context;\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const previousOnEmitNode = context.onEmitNode;\n  context.onEmitNode = onEmitNode;\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onSubstituteNode = onSubstituteNode;\n  let exportedVariableStatement = false;\n  let enabledSubstitutions;\n  let enclosingFunctionFlags;\n  let parametersWithPrecedingObjectRestOrSpread;\n  let enclosingSuperContainerFlags = 0;\n  let hierarchyFacts = 0;\n  let currentSourceFile;\n  let taggedTemplateStringDeclarations;\n  let capturedSuperProperties;\n  let hasSuperElementAccess;\n  const substitutedSuperAccessors = [];\n  return chainBundle(context, transformSourceFile);\n  function affectsSubtree(excludeFacts, includeFacts) {\n    return hierarchyFacts !== (hierarchyFacts & ~excludeFacts | includeFacts);\n  }\n  function enterSubtree(excludeFacts, includeFacts) {\n    const ancestorFacts = hierarchyFacts;\n    hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 3 /* AncestorFactsMask */;\n    return ancestorFacts;\n  }\n  function exitSubtree(ancestorFacts) {\n    hierarchyFacts = ancestorFacts;\n  }\n  function recordTaggedTemplateString(temp) {\n    taggedTemplateStringDeclarations = append(\n      taggedTemplateStringDeclarations,\n      factory2.createVariableDeclaration(temp)\n    );\n  }\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    currentSourceFile = node;\n    const visited = visitSourceFile(node);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    currentSourceFile = void 0;\n    taggedTemplateStringDeclarations = void 0;\n    return visited;\n  }\n  function visitor(node) {\n    return visitorWorker(node, false);\n  }\n  function visitorWithUnusedExpressionResult(node) {\n    return visitorWorker(node, true);\n  }\n  function visitorNoAsyncModifier(node) {\n    if (node.kind === 133 /* AsyncKeyword */) {\n      return void 0;\n    }\n    return node;\n  }\n  function doWithHierarchyFacts(cb, value, excludeFacts, includeFacts) {\n    if (affectsSubtree(excludeFacts, includeFacts)) {\n      const ancestorFacts = enterSubtree(excludeFacts, includeFacts);\n      const result = cb(value);\n      exitSubtree(ancestorFacts);\n      return result;\n    }\n    return cb(value);\n  }\n  function visitDefault(node) {\n    return visitEachChild(node, visitor, context);\n  }\n  function visitorWorker(node, expressionResultIsUnused2) {\n    if ((node.transformFlags & 128 /* ContainsES2018 */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      case 224 /* AwaitExpression */:\n        return visitAwaitExpression(node);\n      case 230 /* YieldExpression */:\n        return visitYieldExpression(node);\n      case 254 /* ReturnStatement */:\n        return visitReturnStatement(node);\n      case 257 /* LabeledStatement */:\n        return visitLabeledStatement(node);\n      case 210 /* ObjectLiteralExpression */:\n        return visitObjectLiteralExpression(node);\n      case 227 /* BinaryExpression */:\n        return visitBinaryExpression(node, expressionResultIsUnused2);\n      case 360 /* CommaListExpression */:\n        return visitCommaListExpression(node, expressionResultIsUnused2);\n      case 301 /* CatchClause */:\n        return visitCatchClause(node);\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 261 /* VariableDeclaration */:\n        return visitVariableDeclaration(node);\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n      case 250 /* ForInStatement */:\n        return doWithHierarchyFacts(\n          visitDefault,\n          node,\n          0 /* IterationStatementExcludes */,\n          2 /* IterationStatementIncludes */\n        );\n      case 251 /* ForOfStatement */:\n        return visitForOfStatement(node, void 0);\n      case 249 /* ForStatement */:\n        return doWithHierarchyFacts(\n          visitForStatement,\n          node,\n          0 /* IterationStatementExcludes */,\n          2 /* IterationStatementIncludes */\n        );\n      case 223 /* VoidExpression */:\n        return visitVoidExpression(node);\n      case 176 /* Constructor */:\n        return doWithHierarchyFacts(\n          visitConstructorDeclaration,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      case 174 /* MethodDeclaration */:\n        return doWithHierarchyFacts(\n          visitMethodDeclaration,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      case 177 /* GetAccessor */:\n        return doWithHierarchyFacts(\n          visitGetAccessorDeclaration,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      case 178 /* SetAccessor */:\n        return doWithHierarchyFacts(\n          visitSetAccessorDeclaration,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      case 263 /* FunctionDeclaration */:\n        return doWithHierarchyFacts(\n          visitFunctionDeclaration,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      case 218 /* FunctionExpression */:\n        return doWithHierarchyFacts(\n          visitFunctionExpression,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      case 219 /* ArrowFunction */:\n        return doWithHierarchyFacts(\n          visitArrowFunction,\n          node,\n          2 /* ArrowFunctionExcludes */,\n          0 /* ArrowFunctionIncludes */\n        );\n      case 168 /* Parameter */:\n        return visitParameter(node);\n      case 245 /* ExpressionStatement */:\n        return visitExpressionStatement(node);\n      case 217 /* ParenthesizedExpression */:\n        return visitParenthesizedExpression(node, expressionResultIsUnused2);\n      case 215 /* TaggedTemplateExpression */:\n        return visitTaggedTemplateExpression(node);\n      case 211 /* PropertyAccessExpression */:\n        if (capturedSuperProperties && isPropertyAccessExpression(node) && node.expression.kind === 107 /* SuperKeyword */) {\n          capturedSuperProperties.add(node.name.escapedText);\n        }\n        return visitEachChild(node, visitor, context);\n      case 212 /* ElementAccessExpression */:\n        if (capturedSuperProperties && node.expression.kind === 107 /* SuperKeyword */) {\n          hasSuperElementAccess = true;\n        }\n        return visitEachChild(node, visitor, context);\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n        return doWithHierarchyFacts(\n          visitDefault,\n          node,\n          2 /* ClassOrFunctionExcludes */,\n          1 /* ClassOrFunctionIncludes */\n        );\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitAwaitExpression(node) {\n    if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createYieldExpression(void 0, emitHelpers().createAwaitHelper(visitNode(node.expression, visitor, isExpression))),\n          node\n        ),\n        node\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitYieldExpression(node) {\n    if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) {\n      if (node.asteriskToken) {\n        const expression = visitNode(Debug.checkDefined(node.expression), visitor, isExpression);\n        return setOriginalNode(\n          setTextRange(\n            factory2.createYieldExpression(\n              void 0,\n              emitHelpers().createAwaitHelper(\n                factory2.updateYieldExpression(\n                  node,\n                  node.asteriskToken,\n                  setTextRange(\n                    emitHelpers().createAsyncDelegatorHelper(\n                      setTextRange(\n                        emitHelpers().createAsyncValuesHelper(expression),\n                        expression\n                      )\n                    ),\n                    expression\n                  )\n                )\n              )\n            ),\n            node\n          ),\n          node\n        );\n      }\n      return setOriginalNode(\n        setTextRange(\n          factory2.createYieldExpression(\n            void 0,\n            createDownlevelAwait(\n              node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero()\n            )\n          ),\n          node\n        ),\n        node\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitReturnStatement(node) {\n    if (enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */) {\n      return factory2.updateReturnStatement(node, createDownlevelAwait(\n        node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero()\n      ));\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitLabeledStatement(node) {\n    if (enclosingFunctionFlags & 2 /* Async */) {\n      const statement = unwrapInnermostStatementOfLabel(node);\n      if (statement.kind === 251 /* ForOfStatement */ && statement.awaitModifier) {\n        return visitForOfStatement(statement, node);\n      }\n      return factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock), node);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function chunkObjectLiteralElements(elements) {\n    let chunkObject;\n    const objects = [];\n    for (const e of elements) {\n      if (e.kind === 307 /* SpreadAssignment */) {\n        if (chunkObject) {\n          objects.push(factory2.createObjectLiteralExpression(chunkObject));\n          chunkObject = void 0;\n        }\n        const target = e.expression;\n        objects.push(visitNode(target, visitor, isExpression));\n      } else {\n        chunkObject = append(chunkObject, e.kind === 305 /* PropertyAssignment */ ? factory2.createPropertyAssignment(e.name, visitNode(e.initializer, visitor, isExpression)) : visitNode(e, visitor, isObjectLiteralElementLike));\n      }\n    }\n    if (chunkObject) {\n      objects.push(factory2.createObjectLiteralExpression(chunkObject));\n    }\n    return objects;\n  }\n  function visitObjectLiteralExpression(node) {\n    if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n      const objects = chunkObjectLiteralElements(node.properties);\n      if (objects.length && objects[0].kind !== 210 /* ObjectLiteralExpression */) {\n        objects.unshift(factory2.createObjectLiteralExpression());\n      }\n      let expression = objects[0];\n      if (objects.length > 1) {\n        for (let i = 1; i < objects.length; i++) {\n          expression = emitHelpers().createAssignHelper([expression, objects[i]]);\n        }\n        return expression;\n      } else {\n        return emitHelpers().createAssignHelper(objects);\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitExpressionStatement(node) {\n    return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n  }\n  function visitParenthesizedExpression(node, expressionResultIsUnused2) {\n    return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context);\n  }\n  function visitSourceFile(node) {\n    const ancestorFacts = enterSubtree(\n      2 /* SourceFileExcludes */,\n      isEffectiveStrictModeSourceFile(node, compilerOptions) ? 0 /* StrictModeSourceFileIncludes */ : 1 /* SourceFileIncludes */\n    );\n    exportedVariableStatement = false;\n    const visited = visitEachChild(node, visitor, context);\n    const statement = concatenate(visited.statements, taggedTemplateStringDeclarations && [\n      factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList(taggedTemplateStringDeclarations)\n      )\n    ]);\n    const result = factory2.updateSourceFile(visited, setTextRange(factory2.createNodeArray(statement), node.statements));\n    exitSubtree(ancestorFacts);\n    return result;\n  }\n  function visitTaggedTemplateExpression(node) {\n    return processTaggedTemplateExpression(\n      context,\n      node,\n      visitor,\n      currentSourceFile,\n      recordTaggedTemplateString,\n      0 /* LiftRestriction */\n    );\n  }\n  function visitBinaryExpression(node, expressionResultIsUnused2) {\n    if (isDestructuringAssignment(node) && node.left.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n      return flattenDestructuringAssignment(\n        node,\n        visitor,\n        context,\n        1 /* ObjectRest */,\n        !expressionResultIsUnused2\n      );\n    }\n    if (node.operatorToken.kind === 27 /* CommaToken */) {\n      return factory2.updateBinaryExpression(\n        node,\n        visitNode(node.left, visitorWithUnusedExpressionResult, isExpression),\n        node.operatorToken,\n        visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitCommaListExpression(node, expressionResultIsUnused2) {\n    if (expressionResultIsUnused2) {\n      return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n    }\n    let result;\n    for (let i = 0; i < node.elements.length; i++) {\n      const element = node.elements[i];\n      const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression);\n      if (result || visited !== element) {\n        result || (result = node.elements.slice(0, i));\n        result.push(visited);\n      }\n    }\n    const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements;\n    return factory2.updateCommaListExpression(node, elements);\n  }\n  function visitCatchClause(node) {\n    if (node.variableDeclaration && isBindingPattern(node.variableDeclaration.name) && node.variableDeclaration.name.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n      const name = factory2.getGeneratedNameForNode(node.variableDeclaration.name);\n      const updatedDecl = factory2.updateVariableDeclaration(node.variableDeclaration, node.variableDeclaration.name, void 0, void 0, name);\n      const visitedBindings = flattenDestructuringBinding(updatedDecl, visitor, context, 1 /* ObjectRest */);\n      let block = visitNode(node.block, visitor, isBlock);\n      if (some(visitedBindings)) {\n        block = factory2.updateBlock(block, [\n          factory2.createVariableStatement(void 0, visitedBindings),\n          ...block.statements\n        ]);\n      }\n      return factory2.updateCatchClause(\n        node,\n        factory2.updateVariableDeclaration(node.variableDeclaration, name, void 0, void 0, void 0),\n        block\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitVariableStatement(node) {\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      const savedExportedVariableStatement = exportedVariableStatement;\n      exportedVariableStatement = true;\n      const visited = visitEachChild(node, visitor, context);\n      exportedVariableStatement = savedExportedVariableStatement;\n      return visited;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitVariableDeclaration(node) {\n    if (exportedVariableStatement) {\n      const savedExportedVariableStatement = exportedVariableStatement;\n      exportedVariableStatement = false;\n      const visited = visitVariableDeclarationWorker(node, true);\n      exportedVariableStatement = savedExportedVariableStatement;\n      return visited;\n    }\n    return visitVariableDeclarationWorker(node, false);\n  }\n  function visitVariableDeclarationWorker(node, exportedVariableStatement2) {\n    if (isBindingPattern(node.name) && node.name.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n      return flattenDestructuringBinding(\n        node,\n        visitor,\n        context,\n        1 /* ObjectRest */,\n        void 0,\n        exportedVariableStatement2\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitForStatement(node) {\n    return factory2.updateForStatement(\n      node,\n      visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer),\n      visitNode(node.condition, visitor, isExpression),\n      visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression),\n      visitIterationBody(node.statement, visitor, context)\n    );\n  }\n  function visitVoidExpression(node) {\n    return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n  }\n  function visitForOfStatement(node, outermostLabeledStatement) {\n    const ancestorFacts = enterSubtree(0 /* IterationStatementExcludes */, 2 /* IterationStatementIncludes */);\n    if (node.initializer.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n      node = transformForOfStatementWithObjectRest(node);\n    }\n    const result = node.awaitModifier ? transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) : factory2.restoreEnclosingLabel(visitEachChild(node, visitor, context), outermostLabeledStatement);\n    exitSubtree(ancestorFacts);\n    return result;\n  }\n  function transformForOfStatementWithObjectRest(node) {\n    const initializerWithoutParens = skipParentheses(node.initializer);\n    if (isVariableDeclarationList(initializerWithoutParens) || isAssignmentPattern(initializerWithoutParens)) {\n      let bodyLocation;\n      let statementsLocation;\n      const temp = factory2.createTempVariable(void 0);\n      const statements = [createForOfBindingStatement(factory2, initializerWithoutParens, temp)];\n      if (isBlock(node.statement)) {\n        addRange(statements, node.statement.statements);\n        bodyLocation = node.statement;\n        statementsLocation = node.statement.statements;\n      } else if (node.statement) {\n        append(statements, node.statement);\n        bodyLocation = node.statement;\n        statementsLocation = node.statement;\n      }\n      return factory2.updateForOfStatement(\n        node,\n        node.awaitModifier,\n        setTextRange(\n          factory2.createVariableDeclarationList(\n            [\n              setTextRange(factory2.createVariableDeclaration(temp), node.initializer)\n            ],\n            1 /* Let */\n          ),\n          node.initializer\n        ),\n        node.expression,\n        setTextRange(\n          factory2.createBlock(\n            setTextRange(factory2.createNodeArray(statements), statementsLocation),\n            true\n          ),\n          bodyLocation\n        )\n      );\n    }\n    return node;\n  }\n  function convertForOfStatementHead(node, boundValue, nonUserCode) {\n    const value = factory2.createTempVariable(hoistVariableDeclaration);\n    const iteratorValueExpression = factory2.createAssignment(value, boundValue);\n    const iteratorValueStatement = factory2.createExpressionStatement(iteratorValueExpression);\n    setSourceMapRange(iteratorValueStatement, node.expression);\n    const exitNonUserCodeExpression = factory2.createAssignment(nonUserCode, factory2.createFalse());\n    const exitNonUserCodeStatement = factory2.createExpressionStatement(exitNonUserCodeExpression);\n    setSourceMapRange(exitNonUserCodeStatement, node.expression);\n    const enterNonUserCodeExpression = factory2.createAssignment(nonUserCode, factory2.createTrue());\n    const enterNonUserCodeStatement = factory2.createExpressionStatement(enterNonUserCodeExpression);\n    setSourceMapRange(exitNonUserCodeStatement, node.expression);\n    const statements = [];\n    const binding = createForOfBindingStatement(factory2, node.initializer, value);\n    statements.push(visitNode(binding, visitor, isStatement));\n    let bodyLocation;\n    let statementsLocation;\n    const statement = visitIterationBody(node.statement, visitor, context);\n    if (isBlock(statement)) {\n      addRange(statements, statement.statements);\n      bodyLocation = statement;\n      statementsLocation = statement.statements;\n    } else {\n      statements.push(statement);\n    }\n    const body = setEmitFlags(\n      setTextRange(\n        factory2.createBlock(\n          setTextRange(factory2.createNodeArray(statements), statementsLocation),\n          true\n        ),\n        bodyLocation\n      ),\n      48 /* NoSourceMap */ | 384 /* NoTokenSourceMaps */\n    );\n    return factory2.createBlock([\n      iteratorValueStatement,\n      exitNonUserCodeStatement,\n      factory2.createTryStatement(\n        body,\n        void 0,\n        factory2.createBlock([\n          enterNonUserCodeStatement\n        ])\n      )\n    ]);\n  }\n  function createDownlevelAwait(expression) {\n    return enclosingFunctionFlags & 1 /* Generator */ ? factory2.createYieldExpression(void 0, emitHelpers().createAwaitHelper(expression)) : factory2.createAwaitExpression(expression);\n  }\n  function transformForAwaitOfStatement(node, outermostLabeledStatement, ancestorFacts) {\n    const expression = visitNode(node.expression, visitor, isExpression);\n    const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable(void 0);\n    const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable(void 0);\n    const nonUserCode = factory2.createTempVariable(void 0);\n    const done = factory2.createTempVariable(hoistVariableDeclaration);\n    const errorRecord = factory2.createUniqueName(\"e\");\n    const catchVariable = factory2.getGeneratedNameForNode(errorRecord);\n    const returnMethod = factory2.createTempVariable(void 0);\n    const callValues = setTextRange(emitHelpers().createAsyncValuesHelper(expression), node.expression);\n    const callNext = factory2.createCallExpression(factory2.createPropertyAccessExpression(iterator, \"next\"), void 0, []);\n    const getDone = factory2.createPropertyAccessExpression(result, \"done\");\n    const getValue = factory2.createPropertyAccessExpression(result, \"value\");\n    const callReturn = factory2.createFunctionCallCall(returnMethod, iterator, []);\n    hoistVariableDeclaration(errorRecord);\n    hoistVariableDeclaration(returnMethod);\n    const initializer = ancestorFacts & 2 /* IterationContainer */ ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), callValues]) : callValues;\n    const forStatement = setEmitFlags(\n      setTextRange(\n        factory2.createForStatement(\n          setEmitFlags(\n            setTextRange(\n              factory2.createVariableDeclarationList([\n                factory2.createVariableDeclaration(nonUserCode, void 0, void 0, factory2.createTrue()),\n                setTextRange(factory2.createVariableDeclaration(iterator, void 0, void 0, initializer), node.expression),\n                factory2.createVariableDeclaration(result)\n              ]),\n              node.expression\n            ),\n            2097152 /* NoHoisting */\n          ),\n          factory2.inlineExpressions([\n            factory2.createAssignment(result, createDownlevelAwait(callNext)),\n            factory2.createAssignment(done, getDone),\n            factory2.createLogicalNot(done)\n          ]),\n          void 0,\n          convertForOfStatementHead(node, getValue, nonUserCode)\n        ),\n        node\n      ),\n      256 /* NoTokenTrailingSourceMaps */\n    );\n    setOriginalNode(forStatement, node);\n    return factory2.createTryStatement(\n      factory2.createBlock([\n        factory2.restoreEnclosingLabel(\n          forStatement,\n          outermostLabeledStatement\n        )\n      ]),\n      factory2.createCatchClause(\n        factory2.createVariableDeclaration(catchVariable),\n        setEmitFlags(\n          factory2.createBlock([\n            factory2.createExpressionStatement(\n              factory2.createAssignment(\n                errorRecord,\n                factory2.createObjectLiteralExpression([\n                  factory2.createPropertyAssignment(\"error\", catchVariable)\n                ])\n              )\n            )\n          ]),\n          1 /* SingleLine */\n        )\n      ),\n      factory2.createBlock([\n        factory2.createTryStatement(\n          factory2.createBlock([\n            setEmitFlags(\n              factory2.createIfStatement(\n                factory2.createLogicalAnd(\n                  factory2.createLogicalAnd(\n                    factory2.createLogicalNot(nonUserCode),\n                    factory2.createLogicalNot(done)\n                  ),\n                  factory2.createAssignment(\n                    returnMethod,\n                    factory2.createPropertyAccessExpression(iterator, \"return\")\n                  )\n                ),\n                factory2.createExpressionStatement(createDownlevelAwait(callReturn))\n              ),\n              1 /* SingleLine */\n            )\n          ]),\n          void 0,\n          setEmitFlags(\n            factory2.createBlock([\n              setEmitFlags(\n                factory2.createIfStatement(\n                  errorRecord,\n                  factory2.createThrowStatement(\n                    factory2.createPropertyAccessExpression(errorRecord, \"error\")\n                  )\n                ),\n                1 /* SingleLine */\n              )\n            ]),\n            1 /* SingleLine */\n          )\n        )\n      ])\n    );\n  }\n  function parameterVisitor(node) {\n    Debug.assertNode(node, isParameter);\n    return visitParameter(node);\n  }\n  function visitParameter(node) {\n    if (parametersWithPrecedingObjectRestOrSpread == null ? void 0 : parametersWithPrecedingObjectRestOrSpread.has(node)) {\n      return factory2.updateParameterDeclaration(\n        node,\n        void 0,\n        node.dotDotDotToken,\n        isBindingPattern(node.name) ? factory2.getGeneratedNameForNode(node) : node.name,\n        void 0,\n        void 0,\n        void 0\n      );\n    }\n    if (node.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n      return factory2.updateParameterDeclaration(\n        node,\n        void 0,\n        node.dotDotDotToken,\n        factory2.getGeneratedNameForNode(node),\n        void 0,\n        void 0,\n        visitNode(node.initializer, visitor, isExpression)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function collectParametersWithPrecedingObjectRestOrSpread(node) {\n    let parameters;\n    for (const parameter of node.parameters) {\n      if (parameters) {\n        parameters.add(parameter);\n      } else if (parameter.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n        parameters = new Set2();\n      }\n    }\n    return parameters;\n  }\n  function visitConstructorDeclaration(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateConstructorDeclaration(\n      node,\n      node.modifiers,\n      visitParameterList(node.parameters, parameterVisitor, context),\n      transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function visitGetAccessorDeclaration(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateGetAccessorDeclaration(\n      node,\n      node.modifiers,\n      visitNode(node.name, visitor, isPropertyName),\n      visitParameterList(node.parameters, parameterVisitor, context),\n      void 0,\n      transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function visitSetAccessorDeclaration(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateSetAccessorDeclaration(\n      node,\n      node.modifiers,\n      visitNode(node.name, visitor, isPropertyName),\n      visitParameterList(node.parameters, parameterVisitor, context),\n      transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function visitMethodDeclaration(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateMethodDeclaration(\n      node,\n      enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifierLike) : node.modifiers,\n      enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken,\n      visitNode(node.name, visitor, isPropertyName),\n      visitNode(void 0, visitor, isToken),\n      void 0,\n      visitParameterList(node.parameters, parameterVisitor, context),\n      void 0,\n      enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function visitFunctionDeclaration(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateFunctionDeclaration(\n      node,\n      enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers,\n      enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken,\n      node.name,\n      void 0,\n      visitParameterList(node.parameters, parameterVisitor, context),\n      void 0,\n      enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function visitArrowFunction(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateArrowFunction(\n      node,\n      node.modifiers,\n      void 0,\n      visitParameterList(node.parameters, parameterVisitor, context),\n      void 0,\n      node.equalsGreaterThanToken,\n      transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function visitFunctionExpression(node) {\n    const savedEnclosingFunctionFlags = enclosingFunctionFlags;\n    const savedParametersWithPrecedingObjectRestOrSpread = parametersWithPrecedingObjectRestOrSpread;\n    enclosingFunctionFlags = getFunctionFlags(node);\n    parametersWithPrecedingObjectRestOrSpread = collectParametersWithPrecedingObjectRestOrSpread(node);\n    const updated = factory2.updateFunctionExpression(\n      node,\n      enclosingFunctionFlags & 1 /* Generator */ ? visitNodes2(node.modifiers, visitorNoAsyncModifier, isModifier) : node.modifiers,\n      enclosingFunctionFlags & 2 /* Async */ ? void 0 : node.asteriskToken,\n      node.name,\n      void 0,\n      visitParameterList(node.parameters, parameterVisitor, context),\n      void 0,\n      enclosingFunctionFlags & 2 /* Async */ && enclosingFunctionFlags & 1 /* Generator */ ? transformAsyncGeneratorFunctionBody(node) : transformFunctionBody2(node)\n    );\n    enclosingFunctionFlags = savedEnclosingFunctionFlags;\n    parametersWithPrecedingObjectRestOrSpread = savedParametersWithPrecedingObjectRestOrSpread;\n    return updated;\n  }\n  function transformAsyncGeneratorFunctionBody(node) {\n    resumeLexicalEnvironment();\n    const statements = [];\n    const statementOffset = factory2.copyPrologue(node.body.statements, statements, false, visitor);\n    appendObjectRestAssignmentsIfNeeded(statements, node);\n    const savedCapturedSuperProperties = capturedSuperProperties;\n    const savedHasSuperElementAccess = hasSuperElementAccess;\n    capturedSuperProperties = new Set2();\n    hasSuperElementAccess = false;\n    const returnStatement = factory2.createReturnStatement(\n      emitHelpers().createAsyncGeneratorHelper(\n        factory2.createFunctionExpression(\n          void 0,\n          factory2.createToken(41 /* AsteriskToken */),\n          node.name && factory2.getGeneratedNameForNode(node.name),\n          void 0,\n          [],\n          void 0,\n          factory2.updateBlock(\n            node.body,\n            visitLexicalEnvironment(node.body.statements, visitor, context, statementOffset)\n          )\n        ),\n        !!(hierarchyFacts & 1 /* HasLexicalThis */)\n      )\n    );\n    const emitSuperHelpers = languageVersion >= 2 /* ES2015 */ && resolver.getNodeCheckFlags(node) & (4096 /* MethodWithSuperPropertyAssignmentInAsync */ | 2048 /* MethodWithSuperPropertyAccessInAsync */);\n    if (emitSuperHelpers) {\n      enableSubstitutionForAsyncMethodsWithSuper();\n      const variableStatement = createSuperAccessVariableStatement(factory2, resolver, node, capturedSuperProperties);\n      substitutedSuperAccessors[getNodeId(variableStatement)] = true;\n      insertStatementsAfterStandardPrologue(statements, [variableStatement]);\n    }\n    statements.push(returnStatement);\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    const block = factory2.updateBlock(node.body, statements);\n    if (emitSuperHelpers && hasSuperElementAccess) {\n      if (resolver.getNodeCheckFlags(node) & 4096 /* MethodWithSuperPropertyAssignmentInAsync */) {\n        addEmitHelper(block, advancedAsyncSuperHelper);\n      } else if (resolver.getNodeCheckFlags(node) & 2048 /* MethodWithSuperPropertyAccessInAsync */) {\n        addEmitHelper(block, asyncSuperHelper);\n      }\n    }\n    capturedSuperProperties = savedCapturedSuperProperties;\n    hasSuperElementAccess = savedHasSuperElementAccess;\n    return block;\n  }\n  function transformFunctionBody2(node) {\n    var _a2;\n    resumeLexicalEnvironment();\n    let statementOffset = 0;\n    const statements = [];\n    const body = (_a2 = visitNode(node.body, visitor, isConciseBody)) != null ? _a2 : factory2.createBlock([]);\n    if (isBlock(body)) {\n      statementOffset = factory2.copyPrologue(body.statements, statements, false, visitor);\n    }\n    addRange(statements, appendObjectRestAssignmentsIfNeeded(void 0, node));\n    const leadingStatements = endLexicalEnvironment();\n    if (statementOffset > 0 || some(statements) || some(leadingStatements)) {\n      const block = factory2.converters.convertToFunctionBlock(body, true);\n      insertStatementsAfterStandardPrologue(statements, leadingStatements);\n      addRange(statements, block.statements.slice(statementOffset));\n      return factory2.updateBlock(block, setTextRange(factory2.createNodeArray(statements), block.statements));\n    }\n    return body;\n  }\n  function appendObjectRestAssignmentsIfNeeded(statements, node) {\n    let containsPrecedingObjectRestOrSpread = false;\n    for (const parameter of node.parameters) {\n      if (containsPrecedingObjectRestOrSpread) {\n        if (isBindingPattern(parameter.name)) {\n          if (parameter.name.elements.length > 0) {\n            const declarations = flattenDestructuringBinding(\n              parameter,\n              visitor,\n              context,\n              0 /* All */,\n              factory2.getGeneratedNameForNode(parameter)\n            );\n            if (some(declarations)) {\n              const declarationList = factory2.createVariableDeclarationList(declarations);\n              const statement = factory2.createVariableStatement(void 0, declarationList);\n              setEmitFlags(statement, 1048576 /* CustomPrologue */);\n              statements = append(statements, statement);\n            }\n          } else if (parameter.initializer) {\n            const name = factory2.getGeneratedNameForNode(parameter);\n            const initializer = visitNode(parameter.initializer, visitor, isExpression);\n            const assignment = factory2.createAssignment(name, initializer);\n            const statement = factory2.createExpressionStatement(assignment);\n            setEmitFlags(statement, 1048576 /* CustomPrologue */);\n            statements = append(statements, statement);\n          }\n        } else if (parameter.initializer) {\n          const name = factory2.cloneNode(parameter.name);\n          setTextRange(name, parameter.name);\n          setEmitFlags(name, 48 /* NoSourceMap */);\n          const initializer = visitNode(parameter.initializer, visitor, isExpression);\n          addEmitFlags(initializer, 48 /* NoSourceMap */ | 1536 /* NoComments */);\n          const assignment = factory2.createAssignment(name, initializer);\n          setTextRange(assignment, parameter);\n          setEmitFlags(assignment, 1536 /* NoComments */);\n          const block = factory2.createBlock([factory2.createExpressionStatement(assignment)]);\n          setTextRange(block, parameter);\n          setEmitFlags(block, 1 /* SingleLine */ | 32 /* NoTrailingSourceMap */ | 384 /* NoTokenSourceMaps */ | 1536 /* NoComments */);\n          const typeCheck = factory2.createTypeCheck(factory2.cloneNode(parameter.name), \"undefined\");\n          const statement = factory2.createIfStatement(typeCheck, block);\n          startOnNewLine(statement);\n          setTextRange(statement, parameter);\n          setEmitFlags(statement, 384 /* NoTokenSourceMaps */ | 32 /* NoTrailingSourceMap */ | 1048576 /* CustomPrologue */ | 1536 /* NoComments */);\n          statements = append(statements, statement);\n        }\n      } else if (parameter.transformFlags & 65536 /* ContainsObjectRestOrSpread */) {\n        containsPrecedingObjectRestOrSpread = true;\n        const declarations = flattenDestructuringBinding(\n          parameter,\n          visitor,\n          context,\n          1 /* ObjectRest */,\n          factory2.getGeneratedNameForNode(parameter),\n          false,\n          true\n        );\n        if (some(declarations)) {\n          const declarationList = factory2.createVariableDeclarationList(declarations);\n          const statement = factory2.createVariableStatement(void 0, declarationList);\n          setEmitFlags(statement, 1048576 /* CustomPrologue */);\n          statements = append(statements, statement);\n        }\n      }\n    }\n    return statements;\n  }\n  function enableSubstitutionForAsyncMethodsWithSuper() {\n    if ((enabledSubstitutions & 1 /* AsyncMethodsWithSuper */) === 0) {\n      enabledSubstitutions |= 1 /* AsyncMethodsWithSuper */;\n      context.enableSubstitution(213 /* CallExpression */);\n      context.enableSubstitution(211 /* PropertyAccessExpression */);\n      context.enableSubstitution(212 /* ElementAccessExpression */);\n      context.enableEmitNotification(264 /* ClassDeclaration */);\n      context.enableEmitNotification(174 /* MethodDeclaration */);\n      context.enableEmitNotification(177 /* GetAccessor */);\n      context.enableEmitNotification(178 /* SetAccessor */);\n      context.enableEmitNotification(176 /* Constructor */);\n      context.enableEmitNotification(244 /* VariableStatement */);\n    }\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (enabledSubstitutions & 1 /* AsyncMethodsWithSuper */ && isSuperContainer(node)) {\n      const superContainerFlags = resolver.getNodeCheckFlags(node) & (2048 /* MethodWithSuperPropertyAccessInAsync */ | 4096 /* MethodWithSuperPropertyAssignmentInAsync */);\n      if (superContainerFlags !== enclosingSuperContainerFlags) {\n        const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n        enclosingSuperContainerFlags = superContainerFlags;\n        previousOnEmitNode(hint, node, emitCallback);\n        enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n        return;\n      }\n    } else if (enabledSubstitutions && substitutedSuperAccessors[getNodeId(node)]) {\n      const savedEnclosingSuperContainerFlags = enclosingSuperContainerFlags;\n      enclosingSuperContainerFlags = 0;\n      previousOnEmitNode(hint, node, emitCallback);\n      enclosingSuperContainerFlags = savedEnclosingSuperContainerFlags;\n      return;\n    }\n    previousOnEmitNode(hint, node, emitCallback);\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */ && enclosingSuperContainerFlags) {\n      return substituteExpression(node);\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 211 /* PropertyAccessExpression */:\n        return substitutePropertyAccessExpression(node);\n      case 212 /* ElementAccessExpression */:\n        return substituteElementAccessExpression(node);\n      case 213 /* CallExpression */:\n        return substituteCallExpression(node);\n    }\n    return node;\n  }\n  function substitutePropertyAccessExpression(node) {\n    if (node.expression.kind === 107 /* SuperKeyword */) {\n      return setTextRange(\n        factory2.createPropertyAccessExpression(\n          factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          node.name\n        ),\n        node\n      );\n    }\n    return node;\n  }\n  function substituteElementAccessExpression(node) {\n    if (node.expression.kind === 107 /* SuperKeyword */) {\n      return createSuperElementAccessInAsyncMethod(\n        node.argumentExpression,\n        node\n      );\n    }\n    return node;\n  }\n  function substituteCallExpression(node) {\n    const expression = node.expression;\n    if (isSuperProperty(expression)) {\n      const argumentExpression = isPropertyAccessExpression(expression) ? substitutePropertyAccessExpression(expression) : substituteElementAccessExpression(expression);\n      return factory2.createCallExpression(\n        factory2.createPropertyAccessExpression(argumentExpression, \"call\"),\n        void 0,\n        [\n          factory2.createThis(),\n          ...node.arguments\n        ]\n      );\n    }\n    return node;\n  }\n  function isSuperContainer(node) {\n    const kind = node.kind;\n    return kind === 264 /* ClassDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */;\n  }\n  function createSuperElementAccessInAsyncMethod(argumentExpression, location) {\n    if (enclosingSuperContainerFlags & 4096 /* MethodWithSuperPropertyAssignmentInAsync */) {\n      return setTextRange(\n        factory2.createPropertyAccessExpression(\n          factory2.createCallExpression(\n            factory2.createIdentifier(\"_superIndex\"),\n            void 0,\n            [argumentExpression]\n          ),\n          \"value\"\n        ),\n        location\n      );\n    } else {\n      return setTextRange(\n        factory2.createCallExpression(\n          factory2.createIdentifier(\"_superIndex\"),\n          void 0,\n          [argumentExpression]\n        ),\n        location\n      );\n    }\n  }\n}\n\n// src/compiler/transformers/es2019.ts\nfunction transformES2019(context) {\n  const factory2 = context.factory;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    if ((node.transformFlags & 64 /* ContainsES2019 */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      case 301 /* CatchClause */:\n        return visitCatchClause(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitCatchClause(node) {\n    if (!node.variableDeclaration) {\n      return factory2.updateCatchClause(\n        node,\n        factory2.createVariableDeclaration(factory2.createTempVariable(void 0)),\n        visitNode(node.block, visitor, isBlock)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n}\n\n// src/compiler/transformers/es2020.ts\nfunction transformES2020(context) {\n  const {\n    factory: factory2,\n    hoistVariableDeclaration\n  } = context;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    if ((node.transformFlags & 32 /* ContainsES2020 */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      case 213 /* CallExpression */: {\n        const updated = visitNonOptionalCallExpression(node, false);\n        Debug.assertNotNode(updated, isSyntheticReference);\n        return updated;\n      }\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        if (isOptionalChain(node)) {\n          const updated = visitOptionalExpression(node, false, false);\n          Debug.assertNotNode(updated, isSyntheticReference);\n          return updated;\n        }\n        return visitEachChild(node, visitor, context);\n      case 227 /* BinaryExpression */:\n        if (node.operatorToken.kind === 60 /* QuestionQuestionToken */) {\n          return transformNullishCoalescingExpression(node);\n        }\n        return visitEachChild(node, visitor, context);\n      case 221 /* DeleteExpression */:\n        return visitDeleteExpression(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function flattenChain(chain) {\n    Debug.assertNotNode(chain, isNonNullChain);\n    const links = [chain];\n    while (!chain.questionDotToken && !isTaggedTemplateExpression(chain)) {\n      chain = cast(skipPartiallyEmittedExpressions(chain.expression), isOptionalChain);\n      Debug.assertNotNode(chain, isNonNullChain);\n      links.unshift(chain);\n    }\n    return { expression: chain.expression, chain: links };\n  }\n  function visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete) {\n    const expression = visitNonOptionalExpression(node.expression, captureThisArg, isDelete);\n    if (isSyntheticReference(expression)) {\n      return factory2.createSyntheticReferenceExpression(factory2.updateParenthesizedExpression(node, expression.expression), expression.thisArg);\n    }\n    return factory2.updateParenthesizedExpression(node, expression);\n  }\n  function visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete) {\n    if (isOptionalChain(node)) {\n      return visitOptionalExpression(node, captureThisArg, isDelete);\n    }\n    let expression = visitNode(node.expression, visitor, isExpression);\n    Debug.assertNotNode(expression, isSyntheticReference);\n    let thisArg;\n    if (captureThisArg) {\n      if (!isSimpleCopiableExpression(expression)) {\n        thisArg = factory2.createTempVariable(hoistVariableDeclaration);\n        expression = factory2.createAssignment(thisArg, expression);\n      } else {\n        thisArg = expression;\n      }\n    }\n    expression = node.kind === 211 /* PropertyAccessExpression */ ? factory2.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentifier)) : factory2.updateElementAccessExpression(node, expression, visitNode(node.argumentExpression, visitor, isExpression));\n    return thisArg ? factory2.createSyntheticReferenceExpression(expression, thisArg) : expression;\n  }\n  function visitNonOptionalCallExpression(node, captureThisArg) {\n    if (isOptionalChain(node)) {\n      return visitOptionalExpression(node, captureThisArg, false);\n    }\n    if (isParenthesizedExpression(node.expression) && isOptionalChain(skipParentheses(node.expression))) {\n      const expression = visitNonOptionalParenthesizedExpression(node.expression, true, false);\n      const args = visitNodes2(node.arguments, visitor, isExpression);\n      if (isSyntheticReference(expression)) {\n        return setTextRange(factory2.createFunctionCallCall(expression.expression, expression.thisArg, args), node);\n      }\n      return factory2.updateCallExpression(node, expression, void 0, args);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitNonOptionalExpression(node, captureThisArg, isDelete) {\n    switch (node.kind) {\n      case 217 /* ParenthesizedExpression */:\n        return visitNonOptionalParenthesizedExpression(node, captureThisArg, isDelete);\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        return visitNonOptionalPropertyOrElementAccessExpression(node, captureThisArg, isDelete);\n      case 213 /* CallExpression */:\n        return visitNonOptionalCallExpression(node, captureThisArg);\n      default:\n        return visitNode(node, visitor, isExpression);\n    }\n  }\n  function visitOptionalExpression(node, captureThisArg, isDelete) {\n    const { expression, chain } = flattenChain(node);\n    const left = visitNonOptionalExpression(skipPartiallyEmittedExpressions(expression), isCallChain(chain[0]), false);\n    let leftThisArg = isSyntheticReference(left) ? left.thisArg : void 0;\n    let capturedLeft = isSyntheticReference(left) ? left.expression : left;\n    let leftExpression = factory2.restoreOuterExpressions(expression, capturedLeft, 8 /* PartiallyEmittedExpressions */);\n    if (!isSimpleCopiableExpression(capturedLeft)) {\n      capturedLeft = factory2.createTempVariable(hoistVariableDeclaration);\n      leftExpression = factory2.createAssignment(capturedLeft, leftExpression);\n    }\n    let rightExpression = capturedLeft;\n    let thisArg;\n    for (let i = 0; i < chain.length; i++) {\n      const segment = chain[i];\n      switch (segment.kind) {\n        case 211 /* PropertyAccessExpression */:\n        case 212 /* ElementAccessExpression */:\n          if (i === chain.length - 1 && captureThisArg) {\n            if (!isSimpleCopiableExpression(rightExpression)) {\n              thisArg = factory2.createTempVariable(hoistVariableDeclaration);\n              rightExpression = factory2.createAssignment(thisArg, rightExpression);\n            } else {\n              thisArg = rightExpression;\n            }\n          }\n          rightExpression = segment.kind === 211 /* PropertyAccessExpression */ ? factory2.createPropertyAccessExpression(rightExpression, visitNode(segment.name, visitor, isIdentifier)) : factory2.createElementAccessExpression(rightExpression, visitNode(segment.argumentExpression, visitor, isExpression));\n          break;\n        case 213 /* CallExpression */:\n          if (i === 0 && leftThisArg) {\n            if (!isGeneratedIdentifier(leftThisArg)) {\n              leftThisArg = factory2.cloneNode(leftThisArg);\n              addEmitFlags(leftThisArg, 1536 /* NoComments */);\n            }\n            rightExpression = factory2.createFunctionCallCall(\n              rightExpression,\n              leftThisArg.kind === 107 /* SuperKeyword */ ? factory2.createThis() : leftThisArg,\n              visitNodes2(segment.arguments, visitor, isExpression)\n            );\n          } else {\n            rightExpression = factory2.createCallExpression(\n              rightExpression,\n              void 0,\n              visitNodes2(segment.arguments, visitor, isExpression)\n            );\n          }\n          break;\n      }\n      setOriginalNode(rightExpression, segment);\n    }\n    const target = isDelete ? factory2.createConditionalExpression(createNotNullCondition(leftExpression, capturedLeft, true), void 0, factory2.createTrue(), void 0, factory2.createDeleteExpression(rightExpression)) : factory2.createConditionalExpression(createNotNullCondition(leftExpression, capturedLeft, true), void 0, factory2.createVoidZero(), void 0, rightExpression);\n    setTextRange(target, node);\n    return thisArg ? factory2.createSyntheticReferenceExpression(target, thisArg) : target;\n  }\n  function createNotNullCondition(left, right, invert) {\n    return factory2.createBinaryExpression(\n      factory2.createBinaryExpression(\n        left,\n        factory2.createToken(invert ? 36 /* EqualsEqualsEqualsToken */ : 37 /* ExclamationEqualsEqualsToken */),\n        factory2.createNull()\n      ),\n      factory2.createToken(invert ? 56 /* BarBarToken */ : 55 /* AmpersandAmpersandToken */),\n      factory2.createBinaryExpression(\n        right,\n        factory2.createToken(invert ? 36 /* EqualsEqualsEqualsToken */ : 37 /* ExclamationEqualsEqualsToken */),\n        factory2.createVoidZero()\n      )\n    );\n  }\n  function transformNullishCoalescingExpression(node) {\n    let left = visitNode(node.left, visitor, isExpression);\n    let right = left;\n    if (!isSimpleCopiableExpression(left)) {\n      right = factory2.createTempVariable(hoistVariableDeclaration);\n      left = factory2.createAssignment(right, left);\n    }\n    return setTextRange(factory2.createConditionalExpression(\n      createNotNullCondition(left, right),\n      void 0,\n      right,\n      void 0,\n      visitNode(node.right, visitor, isExpression)\n    ), node);\n  }\n  function visitDeleteExpression(node) {\n    return isOptionalChain(skipParentheses(node.expression)) ? setOriginalNode(visitNonOptionalExpression(node.expression, false, true), node) : factory2.updateDeleteExpression(node, visitNode(node.expression, visitor, isExpression));\n  }\n}\n\n// src/compiler/transformers/es2021.ts\nfunction transformES2021(context) {\n  const {\n    hoistVariableDeclaration,\n    factory: factory2\n  } = context;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    if ((node.transformFlags & 16 /* ContainsES2021 */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      case 227 /* BinaryExpression */:\n        const binaryExpression = node;\n        if (isLogicalOrCoalescingAssignmentExpression(binaryExpression)) {\n          return transformLogicalAssignment(binaryExpression);\n        }\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function transformLogicalAssignment(binaryExpression) {\n    const operator = binaryExpression.operatorToken;\n    const nonAssignmentOperator = getNonAssignmentOperatorForCompoundAssignment(operator.kind);\n    let left = skipParentheses(visitNode(binaryExpression.left, visitor, isLeftHandSideExpression));\n    let assignmentTarget = left;\n    const right = skipParentheses(visitNode(binaryExpression.right, visitor, isExpression));\n    if (isAccessExpression(left)) {\n      const propertyAccessTargetSimpleCopiable = isSimpleCopiableExpression(left.expression);\n      const propertyAccessTarget = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createTempVariable(hoistVariableDeclaration);\n      const propertyAccessTargetAssignment = propertyAccessTargetSimpleCopiable ? left.expression : factory2.createAssignment(\n        propertyAccessTarget,\n        left.expression\n      );\n      if (isPropertyAccessExpression(left)) {\n        assignmentTarget = factory2.createPropertyAccessExpression(\n          propertyAccessTarget,\n          left.name\n        );\n        left = factory2.createPropertyAccessExpression(\n          propertyAccessTargetAssignment,\n          left.name\n        );\n      } else {\n        const elementAccessArgumentSimpleCopiable = isSimpleCopiableExpression(left.argumentExpression);\n        const elementAccessArgument = elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createTempVariable(hoistVariableDeclaration);\n        assignmentTarget = factory2.createElementAccessExpression(\n          propertyAccessTarget,\n          elementAccessArgument\n        );\n        left = factory2.createElementAccessExpression(\n          propertyAccessTargetAssignment,\n          elementAccessArgumentSimpleCopiable ? left.argumentExpression : factory2.createAssignment(\n            elementAccessArgument,\n            left.argumentExpression\n          )\n        );\n      }\n    }\n    return factory2.createBinaryExpression(\n      left,\n      nonAssignmentOperator,\n      factory2.createParenthesizedExpression(\n        factory2.createAssignment(\n          assignmentTarget,\n          right\n        )\n      )\n    );\n  }\n}\n\n// src/compiler/transformers/esnext.ts\nfunction transformESNext(context) {\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    if ((node.transformFlags & 4 /* ContainsESNext */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n}\n\n// src/compiler/transformers/jsx.ts\nfunction transformJsx(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers\n  } = context;\n  const compilerOptions = context.getCompilerOptions();\n  let currentSourceFile;\n  let currentFileState;\n  return chainBundle(context, transformSourceFile);\n  function getCurrentFileNameExpression() {\n    if (currentFileState.filenameDeclaration) {\n      return currentFileState.filenameDeclaration.name;\n    }\n    const declaration = factory2.createVariableDeclaration(factory2.createUniqueName(\"_jsxFileName\", 16 /* Optimistic */ | 32 /* FileLevel */), void 0, void 0, factory2.createStringLiteral(currentSourceFile.fileName));\n    currentFileState.filenameDeclaration = declaration;\n    return currentFileState.filenameDeclaration.name;\n  }\n  function getJsxFactoryCalleePrimitive(isStaticChildren) {\n    return compilerOptions.jsx === 5 /* ReactJSXDev */ ? \"jsxDEV\" : isStaticChildren ? \"jsxs\" : \"jsx\";\n  }\n  function getJsxFactoryCallee(isStaticChildren) {\n    const type = getJsxFactoryCalleePrimitive(isStaticChildren);\n    return getImplicitImportForName(type);\n  }\n  function getImplicitJsxFragmentReference() {\n    return getImplicitImportForName(\"Fragment\");\n  }\n  function getImplicitImportForName(name) {\n    var _a2, _b;\n    const importSource = name === \"createElement\" ? currentFileState.importSpecifier : getJSXRuntimeImport(currentFileState.importSpecifier, compilerOptions);\n    const existing = (_b = (_a2 = currentFileState.utilizedImplicitRuntimeImports) == null ? void 0 : _a2.get(importSource)) == null ? void 0 : _b.get(name);\n    if (existing) {\n      return existing.name;\n    }\n    if (!currentFileState.utilizedImplicitRuntimeImports) {\n      currentFileState.utilizedImplicitRuntimeImports = new Map2();\n    }\n    let specifierSourceImports = currentFileState.utilizedImplicitRuntimeImports.get(importSource);\n    if (!specifierSourceImports) {\n      specifierSourceImports = new Map2();\n      currentFileState.utilizedImplicitRuntimeImports.set(importSource, specifierSourceImports);\n    }\n    const generatedName = factory2.createUniqueName(`_${name}`, 16 /* Optimistic */ | 32 /* FileLevel */ | 64 /* AllowNameSubstitution */);\n    const specifier = factory2.createImportSpecifier(false, factory2.createIdentifier(name), generatedName);\n    generatedName.generatedImportReference = specifier;\n    specifierSourceImports.set(name, specifier);\n    return generatedName;\n  }\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    currentSourceFile = node;\n    currentFileState = {};\n    currentFileState.importSpecifier = getJSXImplicitImportBase(compilerOptions, node);\n    let visited = visitEachChild(node, visitor, context);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    let statements = visited.statements;\n    if (currentFileState.filenameDeclaration) {\n      statements = insertStatementAfterCustomPrologue(statements.slice(), factory2.createVariableStatement(void 0, factory2.createVariableDeclarationList([currentFileState.filenameDeclaration], 2 /* Const */)));\n    }\n    if (currentFileState.utilizedImplicitRuntimeImports) {\n      for (const [importSource, importSpecifiersMap] of arrayFrom(currentFileState.utilizedImplicitRuntimeImports.entries())) {\n        if (isExternalModule(node)) {\n          const importStatement = factory2.createImportDeclaration(void 0, factory2.createImportClause(false, void 0, factory2.createNamedImports(arrayFrom(importSpecifiersMap.values()))), factory2.createStringLiteral(importSource), void 0);\n          setParentRecursive(importStatement, false);\n          statements = insertStatementAfterCustomPrologue(statements.slice(), importStatement);\n        } else if (isExternalOrCommonJsModule(node)) {\n          const requireStatement = factory2.createVariableStatement(void 0, factory2.createVariableDeclarationList([\n            factory2.createVariableDeclaration(\n              factory2.createObjectBindingPattern(map(arrayFrom(importSpecifiersMap.values()), (s) => factory2.createBindingElement(void 0, s.propertyName, s.name))),\n              void 0,\n              void 0,\n              factory2.createCallExpression(factory2.createIdentifier(\"require\"), void 0, [factory2.createStringLiteral(importSource)])\n            )\n          ], 2 /* Const */));\n          setParentRecursive(requireStatement, false);\n          statements = insertStatementAfterCustomPrologue(statements.slice(), requireStatement);\n        } else {\n        }\n      }\n    }\n    if (statements !== visited.statements) {\n      visited = factory2.updateSourceFile(visited, statements);\n    }\n    currentFileState = void 0;\n    return visited;\n  }\n  function visitor(node) {\n    if (node.transformFlags & 2 /* ContainsJsx */) {\n      return visitorWorker(node);\n    } else {\n      return node;\n    }\n  }\n  function visitorWorker(node) {\n    switch (node.kind) {\n      case 287 /* JsxElement */:\n        return visitJsxElement(node, false);\n      case 288 /* JsxSelfClosingElement */:\n        return visitJsxSelfClosingElement(node, false);\n      case 291 /* JsxFragment */:\n        return visitJsxFragment(node, false);\n      case 297 /* JsxExpression */:\n        return visitJsxExpression(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function transformJsxChildToExpression(node) {\n    switch (node.kind) {\n      case 11 /* JsxText */:\n        return visitJsxText(node);\n      case 297 /* JsxExpression */:\n        return visitJsxExpression(node);\n      case 287 /* JsxElement */:\n        return visitJsxElement(node, true);\n      case 288 /* JsxSelfClosingElement */:\n        return visitJsxSelfClosingElement(node, true);\n      case 291 /* JsxFragment */:\n        return visitJsxFragment(node, true);\n      default:\n        return Debug.failBadSyntaxKind(node);\n    }\n  }\n  function hasKeyAfterPropsSpread(node) {\n    let spread = false;\n    for (const elem of node.attributes.properties) {\n      if (isJsxSpreadAttribute(elem)) {\n        spread = true;\n      } else if (spread && isJsxAttribute(elem) && elem.name.escapedText === \"key\") {\n        return true;\n      }\n    }\n    return false;\n  }\n  function shouldUseCreateElement(node) {\n    return currentFileState.importSpecifier === void 0 || hasKeyAfterPropsSpread(node);\n  }\n  function visitJsxElement(node, isChild) {\n    const tagTransform = shouldUseCreateElement(node.openingElement) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX;\n    return tagTransform(node.openingElement, node.children, isChild, node);\n  }\n  function visitJsxSelfClosingElement(node, isChild) {\n    const tagTransform = shouldUseCreateElement(node) ? visitJsxOpeningLikeElementCreateElement : visitJsxOpeningLikeElementJSX;\n    return tagTransform(node, void 0, isChild, node);\n  }\n  function visitJsxFragment(node, isChild) {\n    const tagTransform = currentFileState.importSpecifier === void 0 ? visitJsxOpeningFragmentCreateElement : visitJsxOpeningFragmentJSX;\n    return tagTransform(node.openingFragment, node.children, isChild, node);\n  }\n  function convertJsxChildrenToChildrenPropObject(children) {\n    const prop = convertJsxChildrenToChildrenPropAssignment(children);\n    return prop && factory2.createObjectLiteralExpression([prop]);\n  }\n  function convertJsxChildrenToChildrenPropAssignment(children) {\n    const nonWhitespaceChildren = getSemanticJsxChildren(children);\n    if (length(nonWhitespaceChildren) === 1 && !nonWhitespaceChildren[0].dotDotDotToken) {\n      const result2 = transformJsxChildToExpression(nonWhitespaceChildren[0]);\n      return result2 && factory2.createPropertyAssignment(\"children\", result2);\n    }\n    const result = mapDefined(children, transformJsxChildToExpression);\n    return length(result) ? factory2.createPropertyAssignment(\"children\", factory2.createArrayLiteralExpression(result)) : void 0;\n  }\n  function visitJsxOpeningLikeElementJSX(node, children, isChild, location) {\n    const tagName = getTagName(node);\n    const childrenProp = children && children.length ? convertJsxChildrenToChildrenPropAssignment(children) : void 0;\n    const keyAttr = find(node.attributes.properties, (p) => !!p.name && isIdentifier(p.name) && p.name.escapedText === \"key\");\n    const attrs = keyAttr ? filter(node.attributes.properties, (p) => p !== keyAttr) : node.attributes.properties;\n    const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs, childrenProp) : factory2.createObjectLiteralExpression(childrenProp ? [childrenProp] : emptyArray);\n    return visitJsxOpeningLikeElementOrFragmentJSX(\n      tagName,\n      objectProperties,\n      keyAttr,\n      children || emptyArray,\n      isChild,\n      location\n    );\n  }\n  function visitJsxOpeningLikeElementOrFragmentJSX(tagName, objectProperties, keyAttr, children, isChild, location) {\n    var _a2;\n    const nonWhitespaceChildren = getSemanticJsxChildren(children);\n    const isStaticChildren = length(nonWhitespaceChildren) > 1 || !!((_a2 = nonWhitespaceChildren[0]) == null ? void 0 : _a2.dotDotDotToken);\n    const args = [tagName, objectProperties];\n    if (keyAttr) {\n      args.push(transformJsxAttributeInitializer(keyAttr.initializer));\n    }\n    if (compilerOptions.jsx === 5 /* ReactJSXDev */) {\n      const originalFile = getOriginalNode(currentSourceFile);\n      if (originalFile && isSourceFile(originalFile)) {\n        if (keyAttr === void 0) {\n          args.push(factory2.createVoidZero());\n        }\n        args.push(isStaticChildren ? factory2.createTrue() : factory2.createFalse());\n        const lineCol = getLineAndCharacterOfPosition(originalFile, location.pos);\n        args.push(factory2.createObjectLiteralExpression([\n          factory2.createPropertyAssignment(\"fileName\", getCurrentFileNameExpression()),\n          factory2.createPropertyAssignment(\"lineNumber\", factory2.createNumericLiteral(lineCol.line + 1)),\n          factory2.createPropertyAssignment(\"columnNumber\", factory2.createNumericLiteral(lineCol.character + 1))\n        ]));\n        args.push(factory2.createThis());\n      }\n    }\n    const element = setTextRange(\n      factory2.createCallExpression(getJsxFactoryCallee(isStaticChildren), void 0, args),\n      location\n    );\n    if (isChild) {\n      startOnNewLine(element);\n    }\n    return element;\n  }\n  function visitJsxOpeningLikeElementCreateElement(node, children, isChild, location) {\n    const tagName = getTagName(node);\n    const attrs = node.attributes.properties;\n    const objectProperties = length(attrs) ? transformJsxAttributesToObjectProps(attrs) : factory2.createNull();\n    const callee = currentFileState.importSpecifier === void 0 ? createJsxFactoryExpression(\n      factory2,\n      context.getEmitResolver().getJsxFactoryEntity(currentSourceFile),\n      compilerOptions.reactNamespace,\n      node\n    ) : getImplicitImportForName(\"createElement\");\n    const element = createExpressionForJsxElement(\n      factory2,\n      callee,\n      tagName,\n      objectProperties,\n      mapDefined(children, transformJsxChildToExpression),\n      location\n    );\n    if (isChild) {\n      startOnNewLine(element);\n    }\n    return element;\n  }\n  function visitJsxOpeningFragmentJSX(_node, children, isChild, location) {\n    let childrenProps;\n    if (children && children.length) {\n      const result = convertJsxChildrenToChildrenPropObject(children);\n      if (result) {\n        childrenProps = result;\n      }\n    }\n    return visitJsxOpeningLikeElementOrFragmentJSX(\n      getImplicitJsxFragmentReference(),\n      childrenProps || factory2.createObjectLiteralExpression([]),\n      void 0,\n      children,\n      isChild,\n      location\n    );\n  }\n  function visitJsxOpeningFragmentCreateElement(node, children, isChild, location) {\n    const element = createExpressionForJsxFragment(\n      factory2,\n      context.getEmitResolver().getJsxFactoryEntity(currentSourceFile),\n      context.getEmitResolver().getJsxFragmentFactoryEntity(currentSourceFile),\n      compilerOptions.reactNamespace,\n      mapDefined(children, transformJsxChildToExpression),\n      node,\n      location\n    );\n    if (isChild) {\n      startOnNewLine(element);\n    }\n    return element;\n  }\n  function transformJsxSpreadAttributeToSpreadAssignment(node) {\n    return factory2.createSpreadAssignment(visitNode(node.expression, visitor, isExpression));\n  }\n  function transformJsxAttributesToObjectProps(attrs, children) {\n    const target = getEmitScriptTarget(compilerOptions);\n    return target && target >= 5 /* ES2018 */ ? factory2.createObjectLiteralExpression(transformJsxAttributesToProps(attrs, children)) : transformJsxAttributesToExpression(attrs, children);\n  }\n  function transformJsxAttributesToProps(attrs, children) {\n    const props = flatten(spanMap(attrs, isJsxSpreadAttribute, (attrs2, isSpread) => map(attrs2, (attr) => isSpread ? transformJsxSpreadAttributeToSpreadAssignment(attr) : transformJsxAttributeToObjectLiteralElement(attr))));\n    if (children) {\n      props.push(children);\n    }\n    return props;\n  }\n  function transformJsxAttributesToExpression(attrs, children) {\n    const expressions = flatten(\n      spanMap(\n        attrs,\n        isJsxSpreadAttribute,\n        (attrs2, isSpread) => isSpread ? map(attrs2, transformJsxSpreadAttributeToExpression) : factory2.createObjectLiteralExpression(map(attrs2, transformJsxAttributeToObjectLiteralElement))\n      )\n    );\n    if (isJsxSpreadAttribute(attrs[0])) {\n      expressions.unshift(factory2.createObjectLiteralExpression());\n    }\n    if (children) {\n      expressions.push(factory2.createObjectLiteralExpression([children]));\n    }\n    return singleOrUndefined(expressions) || emitHelpers().createAssignHelper(expressions);\n  }\n  function transformJsxSpreadAttributeToExpression(node) {\n    return visitNode(node.expression, visitor, isExpression);\n  }\n  function transformJsxAttributeToObjectLiteralElement(node) {\n    const name = getAttributeName(node);\n    const expression = transformJsxAttributeInitializer(node.initializer);\n    return factory2.createPropertyAssignment(name, expression);\n  }\n  function transformJsxAttributeInitializer(node) {\n    if (node === void 0) {\n      return factory2.createTrue();\n    }\n    if (node.kind === 10 /* StringLiteral */) {\n      const singleQuote = node.singleQuote !== void 0 ? node.singleQuote : !isStringDoubleQuoted(node, currentSourceFile);\n      const literal = factory2.createStringLiteral(tryDecodeEntities(node.text) || node.text, singleQuote);\n      return setTextRange(literal, node);\n    }\n    if (node.kind === 297 /* JsxExpression */) {\n      if (node.expression === void 0) {\n        return factory2.createTrue();\n      }\n      return visitNode(node.expression, visitor, isExpression);\n    }\n    if (isJsxElement(node)) {\n      return visitJsxElement(node, false);\n    }\n    if (isJsxSelfClosingElement(node)) {\n      return visitJsxSelfClosingElement(node, false);\n    }\n    if (isJsxFragment(node)) {\n      return visitJsxFragment(node, false);\n    }\n    return Debug.failBadSyntaxKind(node);\n  }\n  function visitJsxText(node) {\n    const fixed = fixupWhitespaceAndDecodeEntities(node.text);\n    return fixed === void 0 ? void 0 : factory2.createStringLiteral(fixed);\n  }\n  function fixupWhitespaceAndDecodeEntities(text) {\n    let acc;\n    let firstNonWhitespace = 0;\n    let lastNonWhitespace = -1;\n    for (let i = 0; i < text.length; i++) {\n      const c = text.charCodeAt(i);\n      if (isLineBreak(c)) {\n        if (firstNonWhitespace !== -1 && lastNonWhitespace !== -1) {\n          acc = addLineOfJsxText(acc, text.substr(firstNonWhitespace, lastNonWhitespace - firstNonWhitespace + 1));\n        }\n        firstNonWhitespace = -1;\n      } else if (!isWhiteSpaceSingleLine(c)) {\n        lastNonWhitespace = i;\n        if (firstNonWhitespace === -1) {\n          firstNonWhitespace = i;\n        }\n      }\n    }\n    return firstNonWhitespace !== -1 ? addLineOfJsxText(acc, text.substr(firstNonWhitespace)) : acc;\n  }\n  function addLineOfJsxText(acc, trimmedLine) {\n    const decoded = decodeEntities(trimmedLine);\n    return acc === void 0 ? decoded : acc + \" \" + decoded;\n  }\n  function decodeEntities(text) {\n    return text.replace(/&((#((\\d+)|x([\\da-fA-F]+)))|(\\w+));/g, (match, _all, _number, _digits, decimal, hex, word) => {\n      if (decimal) {\n        return utf16EncodeAsString(parseInt(decimal, 10));\n      } else if (hex) {\n        return utf16EncodeAsString(parseInt(hex, 16));\n      } else {\n        const ch = entities.get(word);\n        return ch ? utf16EncodeAsString(ch) : match;\n      }\n    });\n  }\n  function tryDecodeEntities(text) {\n    const decoded = decodeEntities(text);\n    return decoded === text ? void 0 : decoded;\n  }\n  function getTagName(node) {\n    if (node.kind === 287 /* JsxElement */) {\n      return getTagName(node.openingElement);\n    } else {\n      const name = node.tagName;\n      if (isIdentifier(name) && isIntrinsicJsxName(name.escapedText)) {\n        return factory2.createStringLiteral(idText(name));\n      } else {\n        return createExpressionFromEntityName(factory2, name);\n      }\n    }\n  }\n  function getAttributeName(node) {\n    const name = node.name;\n    const text = idText(name);\n    if (/^[A-Za-z_]\\w*$/.test(text)) {\n      return name;\n    } else {\n      return factory2.createStringLiteral(text);\n    }\n  }\n  function visitJsxExpression(node) {\n    const expression = visitNode(node.expression, visitor, isExpression);\n    return node.dotDotDotToken ? factory2.createSpreadElement(expression) : expression;\n  }\n}\nvar entities = new Map2(getEntries({\n  quot: 34,\n  amp: 38,\n  apos: 39,\n  lt: 60,\n  gt: 62,\n  nbsp: 160,\n  iexcl: 161,\n  cent: 162,\n  pound: 163,\n  curren: 164,\n  yen: 165,\n  brvbar: 166,\n  sect: 167,\n  uml: 168,\n  copy: 169,\n  ordf: 170,\n  laquo: 171,\n  not: 172,\n  shy: 173,\n  reg: 174,\n  macr: 175,\n  deg: 176,\n  plusmn: 177,\n  sup2: 178,\n  sup3: 179,\n  acute: 180,\n  micro: 181,\n  para: 182,\n  middot: 183,\n  cedil: 184,\n  sup1: 185,\n  ordm: 186,\n  raquo: 187,\n  frac14: 188,\n  frac12: 189,\n  frac34: 190,\n  iquest: 191,\n  Agrave: 192,\n  Aacute: 193,\n  Acirc: 194,\n  Atilde: 195,\n  Auml: 196,\n  Aring: 197,\n  AElig: 198,\n  Ccedil: 199,\n  Egrave: 200,\n  Eacute: 201,\n  Ecirc: 202,\n  Euml: 203,\n  Igrave: 204,\n  Iacute: 205,\n  Icirc: 206,\n  Iuml: 207,\n  ETH: 208,\n  Ntilde: 209,\n  Ograve: 210,\n  Oacute: 211,\n  Ocirc: 212,\n  Otilde: 213,\n  Ouml: 214,\n  times: 215,\n  Oslash: 216,\n  Ugrave: 217,\n  Uacute: 218,\n  Ucirc: 219,\n  Uuml: 220,\n  Yacute: 221,\n  THORN: 222,\n  szlig: 223,\n  agrave: 224,\n  aacute: 225,\n  acirc: 226,\n  atilde: 227,\n  auml: 228,\n  aring: 229,\n  aelig: 230,\n  ccedil: 231,\n  egrave: 232,\n  eacute: 233,\n  ecirc: 234,\n  euml: 235,\n  igrave: 236,\n  iacute: 237,\n  icirc: 238,\n  iuml: 239,\n  eth: 240,\n  ntilde: 241,\n  ograve: 242,\n  oacute: 243,\n  ocirc: 244,\n  otilde: 245,\n  ouml: 246,\n  divide: 247,\n  oslash: 248,\n  ugrave: 249,\n  uacute: 250,\n  ucirc: 251,\n  uuml: 252,\n  yacute: 253,\n  thorn: 254,\n  yuml: 255,\n  OElig: 338,\n  oelig: 339,\n  Scaron: 352,\n  scaron: 353,\n  Yuml: 376,\n  fnof: 402,\n  circ: 710,\n  tilde: 732,\n  Alpha: 913,\n  Beta: 914,\n  Gamma: 915,\n  Delta: 916,\n  Epsilon: 917,\n  Zeta: 918,\n  Eta: 919,\n  Theta: 920,\n  Iota: 921,\n  Kappa: 922,\n  Lambda: 923,\n  Mu: 924,\n  Nu: 925,\n  Xi: 926,\n  Omicron: 927,\n  Pi: 928,\n  Rho: 929,\n  Sigma: 931,\n  Tau: 932,\n  Upsilon: 933,\n  Phi: 934,\n  Chi: 935,\n  Psi: 936,\n  Omega: 937,\n  alpha: 945,\n  beta: 946,\n  gamma: 947,\n  delta: 948,\n  epsilon: 949,\n  zeta: 950,\n  eta: 951,\n  theta: 952,\n  iota: 953,\n  kappa: 954,\n  lambda: 955,\n  mu: 956,\n  nu: 957,\n  xi: 958,\n  omicron: 959,\n  pi: 960,\n  rho: 961,\n  sigmaf: 962,\n  sigma: 963,\n  tau: 964,\n  upsilon: 965,\n  phi: 966,\n  chi: 967,\n  psi: 968,\n  omega: 969,\n  thetasym: 977,\n  upsih: 978,\n  piv: 982,\n  ensp: 8194,\n  emsp: 8195,\n  thinsp: 8201,\n  zwnj: 8204,\n  zwj: 8205,\n  lrm: 8206,\n  rlm: 8207,\n  ndash: 8211,\n  mdash: 8212,\n  lsquo: 8216,\n  rsquo: 8217,\n  sbquo: 8218,\n  ldquo: 8220,\n  rdquo: 8221,\n  bdquo: 8222,\n  dagger: 8224,\n  Dagger: 8225,\n  bull: 8226,\n  hellip: 8230,\n  permil: 8240,\n  prime: 8242,\n  Prime: 8243,\n  lsaquo: 8249,\n  rsaquo: 8250,\n  oline: 8254,\n  frasl: 8260,\n  euro: 8364,\n  image: 8465,\n  weierp: 8472,\n  real: 8476,\n  trade: 8482,\n  alefsym: 8501,\n  larr: 8592,\n  uarr: 8593,\n  rarr: 8594,\n  darr: 8595,\n  harr: 8596,\n  crarr: 8629,\n  lArr: 8656,\n  uArr: 8657,\n  rArr: 8658,\n  dArr: 8659,\n  hArr: 8660,\n  forall: 8704,\n  part: 8706,\n  exist: 8707,\n  empty: 8709,\n  nabla: 8711,\n  isin: 8712,\n  notin: 8713,\n  ni: 8715,\n  prod: 8719,\n  sum: 8721,\n  minus: 8722,\n  lowast: 8727,\n  radic: 8730,\n  prop: 8733,\n  infin: 8734,\n  ang: 8736,\n  and: 8743,\n  or: 8744,\n  cap: 8745,\n  cup: 8746,\n  int: 8747,\n  there4: 8756,\n  sim: 8764,\n  cong: 8773,\n  asymp: 8776,\n  ne: 8800,\n  equiv: 8801,\n  le: 8804,\n  ge: 8805,\n  sub: 8834,\n  sup: 8835,\n  nsub: 8836,\n  sube: 8838,\n  supe: 8839,\n  oplus: 8853,\n  otimes: 8855,\n  perp: 8869,\n  sdot: 8901,\n  lceil: 8968,\n  rceil: 8969,\n  lfloor: 8970,\n  rfloor: 8971,\n  lang: 9001,\n  rang: 9002,\n  loz: 9674,\n  spades: 9824,\n  clubs: 9827,\n  hearts: 9829,\n  diams: 9830\n}));\n\n// src/compiler/transformers/es2016.ts\nfunction transformES2016(context) {\n  const {\n    factory: factory2,\n    hoistVariableDeclaration\n  } = context;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    if ((node.transformFlags & 512 /* ContainsES2016 */) === 0) {\n      return node;\n    }\n    switch (node.kind) {\n      case 227 /* BinaryExpression */:\n        return visitBinaryExpression(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitBinaryExpression(node) {\n    switch (node.operatorToken.kind) {\n      case 67 /* AsteriskAsteriskEqualsToken */:\n        return visitExponentiationAssignmentExpression(node);\n      case 42 /* AsteriskAsteriskToken */:\n        return visitExponentiationExpression(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitExponentiationAssignmentExpression(node) {\n    let target;\n    let value;\n    const left = visitNode(node.left, visitor, isExpression);\n    const right = visitNode(node.right, visitor, isExpression);\n    if (isElementAccessExpression(left)) {\n      const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration);\n      const argumentExpressionTemp = factory2.createTempVariable(hoistVariableDeclaration);\n      target = setTextRange(\n        factory2.createElementAccessExpression(\n          setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression),\n          setTextRange(factory2.createAssignment(argumentExpressionTemp, left.argumentExpression), left.argumentExpression)\n        ),\n        left\n      );\n      value = setTextRange(\n        factory2.createElementAccessExpression(\n          expressionTemp,\n          argumentExpressionTemp\n        ),\n        left\n      );\n    } else if (isPropertyAccessExpression(left)) {\n      const expressionTemp = factory2.createTempVariable(hoistVariableDeclaration);\n      target = setTextRange(\n        factory2.createPropertyAccessExpression(\n          setTextRange(factory2.createAssignment(expressionTemp, left.expression), left.expression),\n          left.name\n        ),\n        left\n      );\n      value = setTextRange(\n        factory2.createPropertyAccessExpression(\n          expressionTemp,\n          left.name\n        ),\n        left\n      );\n    } else {\n      target = left;\n      value = left;\n    }\n    return setTextRange(\n      factory2.createAssignment(\n        target,\n        setTextRange(factory2.createGlobalMethodCall(\"Math\", \"pow\", [value, right]), node)\n      ),\n      node\n    );\n  }\n  function visitExponentiationExpression(node) {\n    const left = visitNode(node.left, visitor, isExpression);\n    const right = visitNode(node.right, visitor, isExpression);\n    return setTextRange(factory2.createGlobalMethodCall(\"Math\", \"pow\", [left, right]), node);\n  }\n}\n\n// src/compiler/transformers/es2015.ts\nvar ES2015SubstitutionFlags = /* @__PURE__ */ ((ES2015SubstitutionFlags2) => {\n  ES2015SubstitutionFlags2[ES2015SubstitutionFlags2[\"CapturedThis\"] = 1] = \"CapturedThis\";\n  ES2015SubstitutionFlags2[ES2015SubstitutionFlags2[\"BlockScopedBindings\"] = 2] = \"BlockScopedBindings\";\n  return ES2015SubstitutionFlags2;\n})(ES2015SubstitutionFlags || {});\nvar LoopOutParameterFlags = /* @__PURE__ */ ((LoopOutParameterFlags2) => {\n  LoopOutParameterFlags2[LoopOutParameterFlags2[\"Body\"] = 1] = \"Body\";\n  LoopOutParameterFlags2[LoopOutParameterFlags2[\"Initializer\"] = 2] = \"Initializer\";\n  return LoopOutParameterFlags2;\n})(LoopOutParameterFlags || {});\nvar CopyDirection = /* @__PURE__ */ ((CopyDirection2) => {\n  CopyDirection2[CopyDirection2[\"ToOriginal\"] = 0] = \"ToOriginal\";\n  CopyDirection2[CopyDirection2[\"ToOutParameter\"] = 1] = \"ToOutParameter\";\n  return CopyDirection2;\n})(CopyDirection || {});\nvar Jump = /* @__PURE__ */ ((Jump2) => {\n  Jump2[Jump2[\"Break\"] = 2] = \"Break\";\n  Jump2[Jump2[\"Continue\"] = 4] = \"Continue\";\n  Jump2[Jump2[\"Return\"] = 8] = \"Return\";\n  return Jump2;\n})(Jump || {});\nvar HierarchyFacts2 = /* @__PURE__ */ ((HierarchyFacts3) => {\n  HierarchyFacts3[HierarchyFacts3[\"None\"] = 0] = \"None\";\n  HierarchyFacts3[HierarchyFacts3[\"Function\"] = 1] = \"Function\";\n  HierarchyFacts3[HierarchyFacts3[\"ArrowFunction\"] = 2] = \"ArrowFunction\";\n  HierarchyFacts3[HierarchyFacts3[\"AsyncFunctionBody\"] = 4] = \"AsyncFunctionBody\";\n  HierarchyFacts3[HierarchyFacts3[\"NonStaticClassElement\"] = 8] = \"NonStaticClassElement\";\n  HierarchyFacts3[HierarchyFacts3[\"CapturesThis\"] = 16] = \"CapturesThis\";\n  HierarchyFacts3[HierarchyFacts3[\"ExportedVariableStatement\"] = 32] = \"ExportedVariableStatement\";\n  HierarchyFacts3[HierarchyFacts3[\"TopLevel\"] = 64] = \"TopLevel\";\n  HierarchyFacts3[HierarchyFacts3[\"Block\"] = 128] = \"Block\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationStatement\"] = 256] = \"IterationStatement\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationStatementBlock\"] = 512] = \"IterationStatementBlock\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationContainer\"] = 1024] = \"IterationContainer\";\n  HierarchyFacts3[HierarchyFacts3[\"ForStatement\"] = 2048] = \"ForStatement\";\n  HierarchyFacts3[HierarchyFacts3[\"ForInOrForOfStatement\"] = 4096] = \"ForInOrForOfStatement\";\n  HierarchyFacts3[HierarchyFacts3[\"ConstructorWithCapturedSuper\"] = 8192] = \"ConstructorWithCapturedSuper\";\n  HierarchyFacts3[HierarchyFacts3[\"StaticInitializer\"] = 16384] = \"StaticInitializer\";\n  HierarchyFacts3[HierarchyFacts3[\"AncestorFactsMask\"] = 32767] = \"AncestorFactsMask\";\n  HierarchyFacts3[HierarchyFacts3[\"BlockScopeIncludes\"] = 0 /* None */] = \"BlockScopeIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"BlockScopeExcludes\"] = 7104] = \"BlockScopeExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"SourceFileIncludes\"] = 64 /* TopLevel */] = \"SourceFileIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"SourceFileExcludes\"] = 8064] = \"SourceFileExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"FunctionIncludes\"] = 65] = \"FunctionIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"FunctionExcludes\"] = 32670] = \"FunctionExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"AsyncFunctionBodyIncludes\"] = 69] = \"AsyncFunctionBodyIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"AsyncFunctionBodyExcludes\"] = 32662] = \"AsyncFunctionBodyExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ArrowFunctionIncludes\"] = 66] = \"ArrowFunctionIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ArrowFunctionExcludes\"] = 15232] = \"ArrowFunctionExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ConstructorIncludes\"] = 73] = \"ConstructorIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ConstructorExcludes\"] = 32662] = \"ConstructorExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"DoOrWhileStatementIncludes\"] = 1280] = \"DoOrWhileStatementIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"DoOrWhileStatementExcludes\"] = 0 /* None */] = \"DoOrWhileStatementExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ForStatementIncludes\"] = 3328] = \"ForStatementIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ForStatementExcludes\"] = 5056] = \"ForStatementExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ForInOrForOfStatementIncludes\"] = 5376] = \"ForInOrForOfStatementIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"ForInOrForOfStatementExcludes\"] = 3008] = \"ForInOrForOfStatementExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"BlockIncludes\"] = 128 /* Block */] = \"BlockIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"BlockExcludes\"] = 6976] = \"BlockExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationStatementBlockIncludes\"] = 512 /* IterationStatementBlock */] = \"IterationStatementBlockIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"IterationStatementBlockExcludes\"] = 7104 /* BlockScopeExcludes */] = \"IterationStatementBlockExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"StaticInitializerIncludes\"] = 16449] = \"StaticInitializerIncludes\";\n  HierarchyFacts3[HierarchyFacts3[\"StaticInitializerExcludes\"] = 32670 /* FunctionExcludes */] = \"StaticInitializerExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"NewTarget\"] = 32768] = \"NewTarget\";\n  HierarchyFacts3[HierarchyFacts3[\"CapturedLexicalThis\"] = 65536] = \"CapturedLexicalThis\";\n  HierarchyFacts3[HierarchyFacts3[\"SubtreeFactsMask\"] = -32768] = \"SubtreeFactsMask\";\n  HierarchyFacts3[HierarchyFacts3[\"ArrowFunctionSubtreeExcludes\"] = 0 /* None */] = \"ArrowFunctionSubtreeExcludes\";\n  HierarchyFacts3[HierarchyFacts3[\"FunctionSubtreeExcludes\"] = 98304] = \"FunctionSubtreeExcludes\";\n  return HierarchyFacts3;\n})(HierarchyFacts2 || {});\nvar SpreadSegmentKind = /* @__PURE__ */ ((SpreadSegmentKind2) => {\n  SpreadSegmentKind2[SpreadSegmentKind2[\"None\"] = 0] = \"None\";\n  SpreadSegmentKind2[SpreadSegmentKind2[\"UnpackedSpread\"] = 1] = \"UnpackedSpread\";\n  SpreadSegmentKind2[SpreadSegmentKind2[\"PackedSpread\"] = 2] = \"PackedSpread\";\n  return SpreadSegmentKind2;\n})(SpreadSegmentKind || {});\nfunction createSpreadSegment(kind, expression) {\n  return { kind, expression };\n}\nfunction transformES2015(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    startLexicalEnvironment,\n    resumeLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistVariableDeclaration\n  } = context;\n  const compilerOptions = context.getCompilerOptions();\n  const resolver = context.getEmitResolver();\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  const previousOnEmitNode = context.onEmitNode;\n  context.onEmitNode = onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  let currentSourceFile;\n  let currentText;\n  let hierarchyFacts;\n  let taggedTemplateStringDeclarations;\n  function recordTaggedTemplateString(temp) {\n    taggedTemplateStringDeclarations = append(\n      taggedTemplateStringDeclarations,\n      factory2.createVariableDeclaration(temp)\n    );\n  }\n  let convertedLoopState;\n  let enabledSubstitutions;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    currentSourceFile = node;\n    currentText = node.text;\n    const visited = visitSourceFile(node);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    currentSourceFile = void 0;\n    currentText = void 0;\n    taggedTemplateStringDeclarations = void 0;\n    hierarchyFacts = 0 /* None */;\n    return visited;\n  }\n  function enterSubtree(excludeFacts, includeFacts) {\n    const ancestorFacts = hierarchyFacts;\n    hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & 32767 /* AncestorFactsMask */;\n    return ancestorFacts;\n  }\n  function exitSubtree(ancestorFacts, excludeFacts, includeFacts) {\n    hierarchyFacts = (hierarchyFacts & ~excludeFacts | includeFacts) & -32768 /* SubtreeFactsMask */ | ancestorFacts;\n  }\n  function isReturnVoidStatementInConstructorWithCapturedSuper(node) {\n    return (hierarchyFacts & 8192 /* ConstructorWithCapturedSuper */) !== 0 && node.kind === 254 /* ReturnStatement */ && !node.expression;\n  }\n  function isOrMayContainReturnCompletion(node) {\n    return node.transformFlags & 4194304 /* ContainsHoistedDeclarationOrCompletion */ && (isReturnStatement(node) || isIfStatement(node) || isWithStatement(node) || isSwitchStatement(node) || isCaseBlock(node) || isCaseClause(node) || isDefaultClause(node) || isTryStatement(node) || isCatchClause(node) || isLabeledStatement(node) || isIterationStatement(node, false) || isBlock(node));\n  }\n  function shouldVisitNode(node) {\n    return (node.transformFlags & 1024 /* ContainsES2015 */) !== 0 || convertedLoopState !== void 0 || hierarchyFacts & 8192 /* ConstructorWithCapturedSuper */ && isOrMayContainReturnCompletion(node) || isIterationStatement(node, false) && shouldConvertIterationStatement(node) || (getEmitFlags(node) & 33554432 /* TypeScriptClassWrapper */) !== 0;\n  }\n  function visitor(node) {\n    return shouldVisitNode(node) ? visitorWorker(node, false) : node;\n  }\n  function visitorWithUnusedExpressionResult(node) {\n    return shouldVisitNode(node) ? visitorWorker(node, true) : node;\n  }\n  function classWrapperStatementVisitor(node) {\n    if (shouldVisitNode(node)) {\n      const original = getOriginalNode(node);\n      if (isPropertyDeclaration(original) && hasStaticModifier(original)) {\n        const ancestorFacts = enterSubtree(\n          32670 /* StaticInitializerExcludes */,\n          16449 /* StaticInitializerIncludes */\n        );\n        const result = visitorWorker(node, false);\n        exitSubtree(ancestorFacts, 98304 /* FunctionSubtreeExcludes */, 0 /* None */);\n        return result;\n      }\n      return visitorWorker(node, false);\n    }\n    return node;\n  }\n  function callExpressionVisitor(node) {\n    if (node.kind === 107 /* SuperKeyword */) {\n      return visitSuperKeyword(true);\n    }\n    return visitor(node);\n  }\n  function visitorWorker(node, expressionResultIsUnused2) {\n    switch (node.kind) {\n      case 125 /* StaticKeyword */:\n        return void 0;\n      case 264 /* ClassDeclaration */:\n        return visitClassDeclaration(node);\n      case 232 /* ClassExpression */:\n        return visitClassExpression(node);\n      case 168 /* Parameter */:\n        return visitParameter(node);\n      case 263 /* FunctionDeclaration */:\n        return visitFunctionDeclaration(node);\n      case 219 /* ArrowFunction */:\n        return visitArrowFunction(node);\n      case 218 /* FunctionExpression */:\n        return visitFunctionExpression(node);\n      case 261 /* VariableDeclaration */:\n        return visitVariableDeclaration(node);\n      case 79 /* Identifier */:\n        return visitIdentifier(node);\n      case 262 /* VariableDeclarationList */:\n        return visitVariableDeclarationList(node);\n      case 256 /* SwitchStatement */:\n        return visitSwitchStatement(node);\n      case 272 /* CaseBlock */:\n        return visitCaseBlock(node);\n      case 242 /* Block */:\n        return visitBlock(node, false);\n      case 253 /* BreakStatement */:\n      case 252 /* ContinueStatement */:\n        return visitBreakOrContinueStatement(node);\n      case 257 /* LabeledStatement */:\n        return visitLabeledStatement(node);\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n        return visitDoOrWhileStatement(node, void 0);\n      case 249 /* ForStatement */:\n        return visitForStatement(node, void 0);\n      case 250 /* ForInStatement */:\n        return visitForInStatement(node, void 0);\n      case 251 /* ForOfStatement */:\n        return visitForOfStatement(node, void 0);\n      case 245 /* ExpressionStatement */:\n        return visitExpressionStatement(node);\n      case 210 /* ObjectLiteralExpression */:\n        return visitObjectLiteralExpression(node);\n      case 301 /* CatchClause */:\n        return visitCatchClause(node);\n      case 306 /* ShorthandPropertyAssignment */:\n        return visitShorthandPropertyAssignment(node);\n      case 166 /* ComputedPropertyName */:\n        return visitComputedPropertyName(node);\n      case 209 /* ArrayLiteralExpression */:\n        return visitArrayLiteralExpression(node);\n      case 213 /* CallExpression */:\n        return visitCallExpression(node);\n      case 214 /* NewExpression */:\n        return visitNewExpression(node);\n      case 217 /* ParenthesizedExpression */:\n        return visitParenthesizedExpression(node, expressionResultIsUnused2);\n      case 227 /* BinaryExpression */:\n        return visitBinaryExpression(node, expressionResultIsUnused2);\n      case 360 /* CommaListExpression */:\n        return visitCommaListExpression(node, expressionResultIsUnused2);\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 15 /* TemplateHead */:\n      case 16 /* TemplateMiddle */:\n      case 17 /* TemplateTail */:\n        return visitTemplateLiteral(node);\n      case 10 /* StringLiteral */:\n        return visitStringLiteral(node);\n      case 8 /* NumericLiteral */:\n        return visitNumericLiteral(node);\n      case 215 /* TaggedTemplateExpression */:\n        return visitTaggedTemplateExpression(node);\n      case 229 /* TemplateExpression */:\n        return visitTemplateExpression(node);\n      case 230 /* YieldExpression */:\n        return visitYieldExpression(node);\n      case 231 /* SpreadElement */:\n        return visitSpreadElement(node);\n      case 107 /* SuperKeyword */:\n        return visitSuperKeyword(false);\n      case 109 /* ThisKeyword */:\n        return visitThisKeyword(node);\n      case 237 /* MetaProperty */:\n        return visitMetaProperty(node);\n      case 174 /* MethodDeclaration */:\n        return visitMethodDeclaration(node);\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return visitAccessorDeclaration(node);\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 254 /* ReturnStatement */:\n        return visitReturnStatement(node);\n      case 223 /* VoidExpression */:\n        return visitVoidExpression(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitSourceFile(node) {\n    const ancestorFacts = enterSubtree(8064 /* SourceFileExcludes */, 64 /* SourceFileIncludes */);\n    const prologue = [];\n    const statements = [];\n    startLexicalEnvironment();\n    const statementOffset = factory2.copyPrologue(node.statements, prologue, false, visitor);\n    addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset));\n    if (taggedTemplateStringDeclarations) {\n      statements.push(\n        factory2.createVariableStatement(\n          void 0,\n          factory2.createVariableDeclarationList(taggedTemplateStringDeclarations)\n        )\n      );\n    }\n    factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment());\n    insertCaptureThisForNodeIfNeeded(prologue, node);\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return factory2.updateSourceFile(\n      node,\n      setTextRange(factory2.createNodeArray(concatenate(prologue, statements)), node.statements)\n    );\n  }\n  function visitSwitchStatement(node) {\n    if (convertedLoopState !== void 0) {\n      const savedAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps;\n      convertedLoopState.allowedNonLabeledJumps |= 2 /* Break */;\n      const result = visitEachChild(node, visitor, context);\n      convertedLoopState.allowedNonLabeledJumps = savedAllowedNonLabeledJumps;\n      return result;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitCaseBlock(node) {\n    const ancestorFacts = enterSubtree(7104 /* BlockScopeExcludes */, 0 /* BlockScopeIncludes */);\n    const updated = visitEachChild(node, visitor, context);\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return updated;\n  }\n  function returnCapturedThis(node) {\n    return setOriginalNode(factory2.createReturnStatement(factory2.createUniqueName(\"_this\", 16 /* Optimistic */ | 32 /* FileLevel */)), node);\n  }\n  function visitReturnStatement(node) {\n    if (convertedLoopState) {\n      convertedLoopState.nonLocalJumps |= 8 /* Return */;\n      if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) {\n        node = returnCapturedThis(node);\n      }\n      return factory2.createReturnStatement(\n        factory2.createObjectLiteralExpression(\n          [\n            factory2.createPropertyAssignment(\n              factory2.createIdentifier(\"value\"),\n              node.expression ? visitNode(node.expression, visitor, isExpression) : factory2.createVoidZero()\n            )\n          ]\n        )\n      );\n    } else if (isReturnVoidStatementInConstructorWithCapturedSuper(node)) {\n      return returnCapturedThis(node);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitThisKeyword(node) {\n    if (hierarchyFacts & 2 /* ArrowFunction */ && !(hierarchyFacts & 16384 /* StaticInitializer */)) {\n      hierarchyFacts |= 65536 /* CapturedLexicalThis */;\n    }\n    if (convertedLoopState) {\n      if (hierarchyFacts & 2 /* ArrowFunction */) {\n        convertedLoopState.containsLexicalThis = true;\n        return node;\n      }\n      return convertedLoopState.thisName || (convertedLoopState.thisName = factory2.createUniqueName(\"this\"));\n    }\n    return node;\n  }\n  function visitVoidExpression(node) {\n    return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n  }\n  function visitIdentifier(node) {\n    if (convertedLoopState) {\n      if (resolver.isArgumentsLocalBinding(node)) {\n        return convertedLoopState.argumentsName || (convertedLoopState.argumentsName = factory2.createUniqueName(\"arguments\"));\n      }\n    }\n    if (node.hasExtendedUnicodeEscape) {\n      return setOriginalNode(setTextRange(\n        factory2.createIdentifier(unescapeLeadingUnderscores(node.escapedText)),\n        node\n      ), node);\n    }\n    return node;\n  }\n  function visitBreakOrContinueStatement(node) {\n    if (convertedLoopState) {\n      const jump = node.kind === 253 /* BreakStatement */ ? 2 /* Break */ : 4 /* Continue */;\n      const canUseBreakOrContinue = node.label && convertedLoopState.labels && convertedLoopState.labels.get(idText(node.label)) || !node.label && convertedLoopState.allowedNonLabeledJumps & jump;\n      if (!canUseBreakOrContinue) {\n        let labelMarker;\n        const label = node.label;\n        if (!label) {\n          if (node.kind === 253 /* BreakStatement */) {\n            convertedLoopState.nonLocalJumps |= 2 /* Break */;\n            labelMarker = \"break\";\n          } else {\n            convertedLoopState.nonLocalJumps |= 4 /* Continue */;\n            labelMarker = \"continue\";\n          }\n        } else {\n          if (node.kind === 253 /* BreakStatement */) {\n            labelMarker = `break-${label.escapedText}`;\n            setLabeledJump(convertedLoopState, true, idText(label), labelMarker);\n          } else {\n            labelMarker = `continue-${label.escapedText}`;\n            setLabeledJump(convertedLoopState, false, idText(label), labelMarker);\n          }\n        }\n        let returnExpression = factory2.createStringLiteral(labelMarker);\n        if (convertedLoopState.loopOutParameters.length) {\n          const outParams = convertedLoopState.loopOutParameters;\n          let expr;\n          for (let i = 0; i < outParams.length; i++) {\n            const copyExpr = copyOutParameter(outParams[i], 1 /* ToOutParameter */);\n            if (i === 0) {\n              expr = copyExpr;\n            } else {\n              expr = factory2.createBinaryExpression(expr, 27 /* CommaToken */, copyExpr);\n            }\n          }\n          returnExpression = factory2.createBinaryExpression(expr, 27 /* CommaToken */, returnExpression);\n        }\n        return factory2.createReturnStatement(returnExpression);\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitClassDeclaration(node) {\n    const variable = factory2.createVariableDeclaration(\n      factory2.getLocalName(node, true),\n      void 0,\n      void 0,\n      transformClassLikeDeclarationToExpression(node)\n    );\n    setOriginalNode(variable, node);\n    const statements = [];\n    const statement = factory2.createVariableStatement(void 0, factory2.createVariableDeclarationList([variable]));\n    setOriginalNode(statement, node);\n    setTextRange(statement, node);\n    startOnNewLine(statement);\n    statements.push(statement);\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      const exportStatement = hasSyntacticModifier(node, 1024 /* Default */) ? factory2.createExportDefault(factory2.getLocalName(node)) : factory2.createExternalModuleExport(factory2.getLocalName(node));\n      setOriginalNode(exportStatement, statement);\n      statements.push(exportStatement);\n    }\n    const emitFlags = getEmitFlags(node);\n    if ((emitFlags & 4194304 /* HasEndOfDeclarationMarker */) === 0) {\n      statements.push(factory2.createEndOfDeclarationMarker(node));\n      setEmitFlags(statement, emitFlags | 4194304 /* HasEndOfDeclarationMarker */);\n    }\n    return singleOrMany(statements);\n  }\n  function visitClassExpression(node) {\n    return transformClassLikeDeclarationToExpression(node);\n  }\n  function transformClassLikeDeclarationToExpression(node) {\n    if (node.name) {\n      enableSubstitutionsForBlockScopedBindings();\n    }\n    const extendsClauseElement = getClassExtendsHeritageElement(node);\n    const classFunction = factory2.createFunctionExpression(\n      void 0,\n      void 0,\n      void 0,\n      void 0,\n      extendsClauseElement ? [factory2.createParameterDeclaration(void 0, void 0, factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */))] : [],\n      void 0,\n      transformClassBody(node, extendsClauseElement)\n    );\n    setEmitFlags(classFunction, getEmitFlags(node) & 65536 /* Indented */ | 524288 /* ReuseTempVariableScope */);\n    const inner = factory2.createPartiallyEmittedExpression(classFunction);\n    setTextRangeEnd(inner, node.end);\n    setEmitFlags(inner, 1536 /* NoComments */);\n    const outer = factory2.createPartiallyEmittedExpression(inner);\n    setTextRangeEnd(outer, skipTrivia(currentText, node.pos));\n    setEmitFlags(outer, 1536 /* NoComments */);\n    const result = factory2.createParenthesizedExpression(\n      factory2.createCallExpression(\n        outer,\n        void 0,\n        extendsClauseElement ? [visitNode(extendsClauseElement.expression, visitor, isExpression)] : []\n      )\n    );\n    addSyntheticLeadingComment(result, 3 /* MultiLineCommentTrivia */, \"* @class \");\n    return result;\n  }\n  function transformClassBody(node, extendsClauseElement) {\n    const statements = [];\n    const name = factory2.getInternalName(node);\n    const constructorLikeName = isIdentifierANonContextualKeyword(name) ? factory2.getGeneratedNameForNode(name) : name;\n    startLexicalEnvironment();\n    addExtendsHelperIfNeeded(statements, node, extendsClauseElement);\n    addConstructor(statements, node, constructorLikeName, extendsClauseElement);\n    addClassMembers(statements, node);\n    const closingBraceLocation = createTokenRange(skipTrivia(currentText, node.members.end), 19 /* CloseBraceToken */);\n    const outer = factory2.createPartiallyEmittedExpression(constructorLikeName);\n    setTextRangeEnd(outer, closingBraceLocation.end);\n    setEmitFlags(outer, 1536 /* NoComments */);\n    const statement = factory2.createReturnStatement(outer);\n    setTextRangePos(statement, closingBraceLocation.pos);\n    setEmitFlags(statement, 1536 /* NoComments */ | 384 /* NoTokenSourceMaps */);\n    statements.push(statement);\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    const block = factory2.createBlock(setTextRange(factory2.createNodeArray(statements), node.members), true);\n    setEmitFlags(block, 1536 /* NoComments */);\n    return block;\n  }\n  function addExtendsHelperIfNeeded(statements, node, extendsClauseElement) {\n    if (extendsClauseElement) {\n      statements.push(\n        setTextRange(\n          factory2.createExpressionStatement(\n            emitHelpers().createExtendsHelper(factory2.getInternalName(node))\n          ),\n          extendsClauseElement\n        )\n      );\n    }\n  }\n  function addConstructor(statements, node, name, extendsClauseElement) {\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const ancestorFacts = enterSubtree(32662 /* ConstructorExcludes */, 73 /* ConstructorIncludes */);\n    const constructor = getFirstConstructorWithBody(node);\n    const hasSynthesizedSuper = hasSynthesizedDefaultSuperCall(constructor, extendsClauseElement !== void 0);\n    const constructorFunction = factory2.createFunctionDeclaration(\n      void 0,\n      void 0,\n      name,\n      void 0,\n      transformConstructorParameters(constructor, hasSynthesizedSuper),\n      void 0,\n      transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper)\n    );\n    setTextRange(constructorFunction, constructor || node);\n    if (extendsClauseElement) {\n      setEmitFlags(constructorFunction, 8 /* CapturesThis */);\n    }\n    statements.push(constructorFunction);\n    exitSubtree(ancestorFacts, 98304 /* FunctionSubtreeExcludes */, 0 /* None */);\n    convertedLoopState = savedConvertedLoopState;\n  }\n  function transformConstructorParameters(constructor, hasSynthesizedSuper) {\n    return visitParameterList(constructor && !hasSynthesizedSuper ? constructor.parameters : void 0, visitor, context) || [];\n  }\n  function createDefaultConstructorBody(node, isDerivedClass) {\n    const statements = [];\n    resumeLexicalEnvironment();\n    factory2.mergeLexicalEnvironment(statements, endLexicalEnvironment());\n    if (isDerivedClass) {\n      statements.push(factory2.createReturnStatement(createDefaultSuperCallOrThis()));\n    }\n    const statementsArray = factory2.createNodeArray(statements);\n    setTextRange(statementsArray, node.members);\n    const block = factory2.createBlock(statementsArray, true);\n    setTextRange(block, node);\n    setEmitFlags(block, 1536 /* NoComments */);\n    return block;\n  }\n  function transformConstructorBody(constructor, node, extendsClauseElement, hasSynthesizedSuper) {\n    const isDerivedClass = !!extendsClauseElement && skipOuterExpressions(extendsClauseElement.expression).kind !== 105 /* NullKeyword */;\n    if (!constructor)\n      return createDefaultConstructorBody(node, isDerivedClass);\n    const prologue = [];\n    const statements = [];\n    resumeLexicalEnvironment();\n    const existingPrologue = takeWhile(constructor.body.statements, isPrologueDirective);\n    const { superCall, superStatementIndex } = findSuperCallAndStatementIndex(constructor.body.statements, existingPrologue);\n    const postSuperStatementsStart = superStatementIndex === -1 ? existingPrologue.length : superStatementIndex + 1;\n    let statementOffset = postSuperStatementsStart;\n    if (!hasSynthesizedSuper)\n      statementOffset = factory2.copyStandardPrologue(constructor.body.statements, prologue, statementOffset, false);\n    if (!hasSynthesizedSuper)\n      statementOffset = factory2.copyCustomPrologue(constructor.body.statements, statements, statementOffset, visitor, void 0);\n    let superCallExpression;\n    if (hasSynthesizedSuper) {\n      superCallExpression = createDefaultSuperCallOrThis();\n    } else if (superCall) {\n      superCallExpression = visitSuperCallInBody(superCall);\n    }\n    if (superCallExpression) {\n      hierarchyFacts |= 8192 /* ConstructorWithCapturedSuper */;\n    }\n    addDefaultValueAssignmentsIfNeeded2(prologue, constructor);\n    addRestParameterIfNeeded(prologue, constructor, hasSynthesizedSuper);\n    addRange(statements, visitNodes2(constructor.body.statements, visitor, isStatement, statementOffset));\n    factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment());\n    insertCaptureNewTargetIfNeeded(prologue, constructor, false);\n    if (isDerivedClass || superCallExpression) {\n      if (superCallExpression && postSuperStatementsStart === constructor.body.statements.length && !(constructor.body.transformFlags & 16384 /* ContainsLexicalThis */)) {\n        const superCall2 = cast(cast(superCallExpression, isBinaryExpression).left, isCallExpression);\n        const returnStatement = factory2.createReturnStatement(superCallExpression);\n        setCommentRange(returnStatement, getCommentRange(superCall2));\n        setEmitFlags(superCall2, 1536 /* NoComments */);\n        statements.push(returnStatement);\n      } else {\n        if (superStatementIndex <= existingPrologue.length) {\n          insertCaptureThisForNode(statements, constructor, superCallExpression || createActualThis());\n        } else {\n          insertCaptureThisForNode(prologue, constructor, createActualThis());\n          if (superCallExpression) {\n            insertSuperThisCaptureThisForNode(statements, superCallExpression);\n          }\n        }\n        if (!isSufficientlyCoveredByReturnStatements(constructor.body)) {\n          statements.push(factory2.createReturnStatement(factory2.createUniqueName(\"_this\", 16 /* Optimistic */ | 32 /* FileLevel */)));\n        }\n      }\n    } else {\n      insertCaptureThisForNodeIfNeeded(prologue, constructor);\n    }\n    const body = factory2.createBlock(\n      setTextRange(\n        factory2.createNodeArray(\n          [\n            ...existingPrologue,\n            ...prologue,\n            ...superStatementIndex <= existingPrologue.length ? emptyArray : visitNodes2(constructor.body.statements, visitor, isStatement, existingPrologue.length, superStatementIndex - existingPrologue.length),\n            ...statements\n          ]\n        ),\n        constructor.body.statements\n      ),\n      true\n    );\n    setTextRange(body, constructor.body);\n    return body;\n  }\n  function findSuperCallAndStatementIndex(originalBodyStatements, existingPrologue) {\n    for (let i = existingPrologue.length; i < originalBodyStatements.length; i += 1) {\n      const superCall = getSuperCallFromStatement(originalBodyStatements[i]);\n      if (superCall) {\n        return {\n          superCall,\n          superStatementIndex: i\n        };\n      }\n    }\n    return {\n      superStatementIndex: -1\n    };\n  }\n  function isSufficientlyCoveredByReturnStatements(statement) {\n    if (statement.kind === 254 /* ReturnStatement */) {\n      return true;\n    } else if (statement.kind === 246 /* IfStatement */) {\n      const ifStatement = statement;\n      if (ifStatement.elseStatement) {\n        return isSufficientlyCoveredByReturnStatements(ifStatement.thenStatement) && isSufficientlyCoveredByReturnStatements(ifStatement.elseStatement);\n      }\n    } else if (statement.kind === 242 /* Block */) {\n      const lastStatement = lastOrUndefined(statement.statements);\n      if (lastStatement && isSufficientlyCoveredByReturnStatements(lastStatement)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function createActualThis() {\n    return setEmitFlags(factory2.createThis(), 4 /* NoSubstitution */);\n  }\n  function createDefaultSuperCallOrThis() {\n    return factory2.createLogicalOr(\n      factory2.createLogicalAnd(\n        factory2.createStrictInequality(\n          factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          factory2.createNull()\n        ),\n        factory2.createFunctionApplyCall(\n          factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          createActualThis(),\n          factory2.createIdentifier(\"arguments\")\n        )\n      ),\n      createActualThis()\n    );\n  }\n  function visitParameter(node) {\n    if (node.dotDotDotToken) {\n      return void 0;\n    } else if (isBindingPattern(node.name)) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createParameterDeclaration(\n            void 0,\n            void 0,\n            factory2.getGeneratedNameForNode(node),\n            void 0,\n            void 0,\n            void 0\n          ),\n          node\n        ),\n        node\n      );\n    } else if (node.initializer) {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createParameterDeclaration(\n            void 0,\n            void 0,\n            node.name,\n            void 0,\n            void 0,\n            void 0\n          ),\n          node\n        ),\n        node\n      );\n    } else {\n      return node;\n    }\n  }\n  function hasDefaultValueOrBindingPattern(node) {\n    return node.initializer !== void 0 || isBindingPattern(node.name);\n  }\n  function addDefaultValueAssignmentsIfNeeded2(statements, node) {\n    if (!some(node.parameters, hasDefaultValueOrBindingPattern)) {\n      return false;\n    }\n    let added = false;\n    for (const parameter of node.parameters) {\n      const { name, initializer, dotDotDotToken } = parameter;\n      if (dotDotDotToken) {\n        continue;\n      }\n      if (isBindingPattern(name)) {\n        added = insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) || added;\n      } else if (initializer) {\n        insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer);\n        added = true;\n      }\n    }\n    return added;\n  }\n  function insertDefaultValueAssignmentForBindingPattern(statements, parameter, name, initializer) {\n    if (name.elements.length > 0) {\n      insertStatementAfterCustomPrologue(\n        statements,\n        setEmitFlags(\n          factory2.createVariableStatement(\n            void 0,\n            factory2.createVariableDeclarationList(\n              flattenDestructuringBinding(\n                parameter,\n                visitor,\n                context,\n                0 /* All */,\n                factory2.getGeneratedNameForNode(parameter)\n              )\n            )\n          ),\n          1048576 /* CustomPrologue */\n        )\n      );\n      return true;\n    } else if (initializer) {\n      insertStatementAfterCustomPrologue(\n        statements,\n        setEmitFlags(\n          factory2.createExpressionStatement(\n            factory2.createAssignment(\n              factory2.getGeneratedNameForNode(parameter),\n              visitNode(initializer, visitor, isExpression)\n            )\n          ),\n          1048576 /* CustomPrologue */\n        )\n      );\n      return true;\n    }\n    return false;\n  }\n  function insertDefaultValueAssignmentForInitializer(statements, parameter, name, initializer) {\n    initializer = visitNode(initializer, visitor, isExpression);\n    const statement = factory2.createIfStatement(\n      factory2.createTypeCheck(factory2.cloneNode(name), \"undefined\"),\n      setEmitFlags(\n        setTextRange(\n          factory2.createBlock([\n            factory2.createExpressionStatement(\n              setEmitFlags(\n                setTextRange(\n                  factory2.createAssignment(\n                    setEmitFlags(setParent(setTextRange(factory2.cloneNode(name), name), name.parent), 48 /* NoSourceMap */),\n                    setEmitFlags(initializer, 48 /* NoSourceMap */ | getEmitFlags(initializer) | 1536 /* NoComments */)\n                  ),\n                  parameter\n                ),\n                1536 /* NoComments */\n              )\n            )\n          ]),\n          parameter\n        ),\n        1 /* SingleLine */ | 32 /* NoTrailingSourceMap */ | 384 /* NoTokenSourceMaps */ | 1536 /* NoComments */\n      )\n    );\n    startOnNewLine(statement);\n    setTextRange(statement, parameter);\n    setEmitFlags(statement, 384 /* NoTokenSourceMaps */ | 32 /* NoTrailingSourceMap */ | 1048576 /* CustomPrologue */ | 1536 /* NoComments */);\n    insertStatementAfterCustomPrologue(statements, statement);\n  }\n  function shouldAddRestParameter(node, inConstructorWithSynthesizedSuper) {\n    return !!(node && node.dotDotDotToken && !inConstructorWithSynthesizedSuper);\n  }\n  function addRestParameterIfNeeded(statements, node, inConstructorWithSynthesizedSuper) {\n    const prologueStatements = [];\n    const parameter = lastOrUndefined(node.parameters);\n    if (!shouldAddRestParameter(parameter, inConstructorWithSynthesizedSuper)) {\n      return false;\n    }\n    const declarationName = parameter.name.kind === 79 /* Identifier */ ? setParent(setTextRange(factory2.cloneNode(parameter.name), parameter.name), parameter.name.parent) : factory2.createTempVariable(void 0);\n    setEmitFlags(declarationName, 48 /* NoSourceMap */);\n    const expressionName = parameter.name.kind === 79 /* Identifier */ ? factory2.cloneNode(parameter.name) : declarationName;\n    const restIndex = node.parameters.length - 1;\n    const temp = factory2.createLoopVariable();\n    prologueStatements.push(\n      setEmitFlags(\n        setTextRange(\n          factory2.createVariableStatement(\n            void 0,\n            factory2.createVariableDeclarationList([\n              factory2.createVariableDeclaration(\n                declarationName,\n                void 0,\n                void 0,\n                factory2.createArrayLiteralExpression([])\n              )\n            ])\n          ),\n          parameter\n        ),\n        1048576 /* CustomPrologue */\n      )\n    );\n    const forStatement = factory2.createForStatement(\n      setTextRange(\n        factory2.createVariableDeclarationList([\n          factory2.createVariableDeclaration(temp, void 0, void 0, factory2.createNumericLiteral(restIndex))\n        ]),\n        parameter\n      ),\n      setTextRange(\n        factory2.createLessThan(\n          temp,\n          factory2.createPropertyAccessExpression(factory2.createIdentifier(\"arguments\"), \"length\")\n        ),\n        parameter\n      ),\n      setTextRange(factory2.createPostfixIncrement(temp), parameter),\n      factory2.createBlock([\n        startOnNewLine(\n          setTextRange(\n            factory2.createExpressionStatement(\n              factory2.createAssignment(\n                factory2.createElementAccessExpression(\n                  expressionName,\n                  restIndex === 0 ? temp : factory2.createSubtract(temp, factory2.createNumericLiteral(restIndex))\n                ),\n                factory2.createElementAccessExpression(factory2.createIdentifier(\"arguments\"), temp)\n              )\n            ),\n            parameter\n          )\n        )\n      ])\n    );\n    setEmitFlags(forStatement, 1048576 /* CustomPrologue */);\n    startOnNewLine(forStatement);\n    prologueStatements.push(forStatement);\n    if (parameter.name.kind !== 79 /* Identifier */) {\n      prologueStatements.push(\n        setEmitFlags(\n          setTextRange(\n            factory2.createVariableStatement(\n              void 0,\n              factory2.createVariableDeclarationList(\n                flattenDestructuringBinding(parameter, visitor, context, 0 /* All */, expressionName)\n              )\n            ),\n            parameter\n          ),\n          1048576 /* CustomPrologue */\n        )\n      );\n    }\n    insertStatementsAfterCustomPrologue(statements, prologueStatements);\n    return true;\n  }\n  function insertCaptureThisForNodeIfNeeded(statements, node) {\n    if (hierarchyFacts & 65536 /* CapturedLexicalThis */ && node.kind !== 219 /* ArrowFunction */) {\n      insertCaptureThisForNode(statements, node, factory2.createThis());\n      return true;\n    }\n    return false;\n  }\n  function insertSuperThisCaptureThisForNode(statements, superExpression) {\n    enableSubstitutionsForCapturedThis();\n    const assignSuperExpression = factory2.createExpressionStatement(\n      factory2.createBinaryExpression(\n        factory2.createThis(),\n        63 /* EqualsToken */,\n        superExpression\n      )\n    );\n    insertStatementAfterCustomPrologue(statements, assignSuperExpression);\n    setCommentRange(assignSuperExpression, getOriginalNode(superExpression).parent);\n  }\n  function insertCaptureThisForNode(statements, node, initializer) {\n    enableSubstitutionsForCapturedThis();\n    const captureThisStatement = factory2.createVariableStatement(\n      void 0,\n      factory2.createVariableDeclarationList([\n        factory2.createVariableDeclaration(\n          factory2.createUniqueName(\"_this\", 16 /* Optimistic */ | 32 /* FileLevel */),\n          void 0,\n          void 0,\n          initializer\n        )\n      ])\n    );\n    setEmitFlags(captureThisStatement, 1536 /* NoComments */ | 1048576 /* CustomPrologue */);\n    setSourceMapRange(captureThisStatement, node);\n    insertStatementAfterCustomPrologue(statements, captureThisStatement);\n  }\n  function insertCaptureNewTargetIfNeeded(statements, node, copyOnWrite) {\n    if (hierarchyFacts & 32768 /* NewTarget */) {\n      let newTarget;\n      switch (node.kind) {\n        case 219 /* ArrowFunction */:\n          return statements;\n        case 174 /* MethodDeclaration */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          newTarget = factory2.createVoidZero();\n          break;\n        case 176 /* Constructor */:\n          newTarget = factory2.createPropertyAccessExpression(\n            setEmitFlags(factory2.createThis(), 4 /* NoSubstitution */),\n            \"constructor\"\n          );\n          break;\n        case 263 /* FunctionDeclaration */:\n        case 218 /* FunctionExpression */:\n          newTarget = factory2.createConditionalExpression(\n            factory2.createLogicalAnd(\n              setEmitFlags(factory2.createThis(), 4 /* NoSubstitution */),\n              factory2.createBinaryExpression(\n                setEmitFlags(factory2.createThis(), 4 /* NoSubstitution */),\n                103 /* InstanceOfKeyword */,\n                factory2.getLocalName(node)\n              )\n            ),\n            void 0,\n            factory2.createPropertyAccessExpression(\n              setEmitFlags(factory2.createThis(), 4 /* NoSubstitution */),\n              \"constructor\"\n            ),\n            void 0,\n            factory2.createVoidZero()\n          );\n          break;\n        default:\n          return Debug.failBadSyntaxKind(node);\n      }\n      const captureNewTargetStatement = factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList([\n          factory2.createVariableDeclaration(\n            factory2.createUniqueName(\"_newTarget\", 16 /* Optimistic */ | 32 /* FileLevel */),\n            void 0,\n            void 0,\n            newTarget\n          )\n        ])\n      );\n      setEmitFlags(captureNewTargetStatement, 1536 /* NoComments */ | 1048576 /* CustomPrologue */);\n      if (copyOnWrite) {\n        statements = statements.slice();\n      }\n      insertStatementAfterCustomPrologue(statements, captureNewTargetStatement);\n    }\n    return statements;\n  }\n  function addClassMembers(statements, node) {\n    for (const member of node.members) {\n      switch (member.kind) {\n        case 241 /* SemicolonClassElement */:\n          statements.push(transformSemicolonClassElementToStatement(member));\n          break;\n        case 174 /* MethodDeclaration */:\n          statements.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(node, member), member, node));\n          break;\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          const accessors = getAllAccessorDeclarations(node.members, member);\n          if (member === accessors.firstAccessor) {\n            statements.push(transformAccessorsToStatement(getClassMemberPrefix(node, member), accessors, node));\n          }\n          break;\n        case 176 /* Constructor */:\n        case 175 /* ClassStaticBlockDeclaration */:\n          break;\n        default:\n          Debug.failBadSyntaxKind(member, currentSourceFile && currentSourceFile.fileName);\n          break;\n      }\n    }\n  }\n  function transformSemicolonClassElementToStatement(member) {\n    return setTextRange(factory2.createEmptyStatement(), member);\n  }\n  function transformClassMethodDeclarationToStatement(receiver, member, container) {\n    const commentRange = getCommentRange(member);\n    const sourceMapRange = getSourceMapRange(member);\n    const memberFunction = transformFunctionLikeToExpression(member, member, void 0, container);\n    const propertyName = visitNode(member.name, visitor, isPropertyName);\n    let e;\n    if (!isPrivateIdentifier(propertyName) && getUseDefineForClassFields(context.getCompilerOptions())) {\n      const name = isComputedPropertyName(propertyName) ? propertyName.expression : isIdentifier(propertyName) ? factory2.createStringLiteral(unescapeLeadingUnderscores(propertyName.escapedText)) : propertyName;\n      e = factory2.createObjectDefinePropertyCall(receiver, name, factory2.createPropertyDescriptor({ value: memberFunction, enumerable: false, writable: true, configurable: true }));\n    } else {\n      const memberName = createMemberAccessForPropertyName(factory2, receiver, propertyName, member.name);\n      e = factory2.createAssignment(memberName, memberFunction);\n    }\n    setEmitFlags(memberFunction, 1536 /* NoComments */);\n    setSourceMapRange(memberFunction, sourceMapRange);\n    const statement = setTextRange(factory2.createExpressionStatement(e), member);\n    setOriginalNode(statement, member);\n    setCommentRange(statement, commentRange);\n    setEmitFlags(statement, 48 /* NoSourceMap */);\n    return statement;\n  }\n  function transformAccessorsToStatement(receiver, accessors, container) {\n    const statement = factory2.createExpressionStatement(transformAccessorsToExpression(receiver, accessors, container, false));\n    setEmitFlags(statement, 1536 /* NoComments */);\n    setSourceMapRange(statement, getSourceMapRange(accessors.firstAccessor));\n    return statement;\n  }\n  function transformAccessorsToExpression(receiver, { firstAccessor, getAccessor, setAccessor }, container, startsOnNewLine) {\n    const target = setParent(setTextRange(factory2.cloneNode(receiver), receiver), receiver.parent);\n    setEmitFlags(target, 1536 /* NoComments */ | 32 /* NoTrailingSourceMap */);\n    setSourceMapRange(target, firstAccessor.name);\n    const visitedAccessorName = visitNode(firstAccessor.name, visitor, isPropertyName);\n    if (isPrivateIdentifier(visitedAccessorName)) {\n      return Debug.failBadSyntaxKind(visitedAccessorName, \"Encountered unhandled private identifier while transforming ES2015.\");\n    }\n    const propertyName = createExpressionForPropertyName(factory2, visitedAccessorName);\n    setEmitFlags(propertyName, 1536 /* NoComments */ | 16 /* NoLeadingSourceMap */);\n    setSourceMapRange(propertyName, firstAccessor.name);\n    const properties = [];\n    if (getAccessor) {\n      const getterFunction = transformFunctionLikeToExpression(getAccessor, void 0, void 0, container);\n      setSourceMapRange(getterFunction, getSourceMapRange(getAccessor));\n      setEmitFlags(getterFunction, 512 /* NoLeadingComments */);\n      const getter = factory2.createPropertyAssignment(\"get\", getterFunction);\n      setCommentRange(getter, getCommentRange(getAccessor));\n      properties.push(getter);\n    }\n    if (setAccessor) {\n      const setterFunction = transformFunctionLikeToExpression(setAccessor, void 0, void 0, container);\n      setSourceMapRange(setterFunction, getSourceMapRange(setAccessor));\n      setEmitFlags(setterFunction, 512 /* NoLeadingComments */);\n      const setter = factory2.createPropertyAssignment(\"set\", setterFunction);\n      setCommentRange(setter, getCommentRange(setAccessor));\n      properties.push(setter);\n    }\n    properties.push(\n      factory2.createPropertyAssignment(\"enumerable\", getAccessor || setAccessor ? factory2.createFalse() : factory2.createTrue()),\n      factory2.createPropertyAssignment(\"configurable\", factory2.createTrue())\n    );\n    const call = factory2.createCallExpression(\n      factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Object\"), \"defineProperty\"),\n      void 0,\n      [\n        target,\n        propertyName,\n        factory2.createObjectLiteralExpression(properties, true)\n      ]\n    );\n    if (startsOnNewLine) {\n      startOnNewLine(call);\n    }\n    return call;\n  }\n  function visitArrowFunction(node) {\n    if (node.transformFlags & 16384 /* ContainsLexicalThis */ && !(hierarchyFacts & 16384 /* StaticInitializer */)) {\n      hierarchyFacts |= 65536 /* CapturedLexicalThis */;\n    }\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const ancestorFacts = enterSubtree(15232 /* ArrowFunctionExcludes */, 66 /* ArrowFunctionIncludes */);\n    const func = factory2.createFunctionExpression(\n      void 0,\n      void 0,\n      void 0,\n      void 0,\n      visitParameterList(node.parameters, visitor, context),\n      void 0,\n      transformFunctionBody2(node)\n    );\n    setTextRange(func, node);\n    setOriginalNode(func, node);\n    setEmitFlags(func, 8 /* CapturesThis */);\n    exitSubtree(ancestorFacts, 0 /* ArrowFunctionSubtreeExcludes */, 0 /* None */);\n    convertedLoopState = savedConvertedLoopState;\n    return func;\n  }\n  function visitFunctionExpression(node) {\n    const ancestorFacts = getEmitFlags(node) & 262144 /* AsyncFunctionBody */ ? enterSubtree(32662 /* AsyncFunctionBodyExcludes */, 69 /* AsyncFunctionBodyIncludes */) : enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */);\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const parameters = visitParameterList(node.parameters, visitor, context);\n    const body = transformFunctionBody2(node);\n    const name = hierarchyFacts & 32768 /* NewTarget */ ? factory2.getLocalName(node) : node.name;\n    exitSubtree(ancestorFacts, 98304 /* FunctionSubtreeExcludes */, 0 /* None */);\n    convertedLoopState = savedConvertedLoopState;\n    return factory2.updateFunctionExpression(\n      node,\n      void 0,\n      node.asteriskToken,\n      name,\n      void 0,\n      parameters,\n      void 0,\n      body\n    );\n  }\n  function visitFunctionDeclaration(node) {\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const ancestorFacts = enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */);\n    const parameters = visitParameterList(node.parameters, visitor, context);\n    const body = transformFunctionBody2(node);\n    const name = hierarchyFacts & 32768 /* NewTarget */ ? factory2.getLocalName(node) : node.name;\n    exitSubtree(ancestorFacts, 98304 /* FunctionSubtreeExcludes */, 0 /* None */);\n    convertedLoopState = savedConvertedLoopState;\n    return factory2.updateFunctionDeclaration(\n      node,\n      visitNodes2(node.modifiers, visitor, isModifier),\n      node.asteriskToken,\n      name,\n      void 0,\n      parameters,\n      void 0,\n      body\n    );\n  }\n  function transformFunctionLikeToExpression(node, location, name, container) {\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const ancestorFacts = container && isClassLike(container) && !isStatic(node) ? enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */ | 8 /* NonStaticClassElement */) : enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */);\n    const parameters = visitParameterList(node.parameters, visitor, context);\n    const body = transformFunctionBody2(node);\n    if (hierarchyFacts & 32768 /* NewTarget */ && !name && (node.kind === 263 /* FunctionDeclaration */ || node.kind === 218 /* FunctionExpression */)) {\n      name = factory2.getGeneratedNameForNode(node);\n    }\n    exitSubtree(ancestorFacts, 98304 /* FunctionSubtreeExcludes */, 0 /* None */);\n    convertedLoopState = savedConvertedLoopState;\n    return setOriginalNode(\n      setTextRange(\n        factory2.createFunctionExpression(\n          void 0,\n          node.asteriskToken,\n          name,\n          void 0,\n          parameters,\n          void 0,\n          body\n        ),\n        location\n      ),\n      node\n    );\n  }\n  function transformFunctionBody2(node) {\n    let multiLine = false;\n    let singleLine = false;\n    let statementsLocation;\n    let closeBraceLocation;\n    const prologue = [];\n    const statements = [];\n    const body = node.body;\n    let statementOffset;\n    resumeLexicalEnvironment();\n    if (isBlock(body)) {\n      statementOffset = factory2.copyStandardPrologue(body.statements, prologue, 0, false);\n      statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedFunction);\n      statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor, isHoistedVariableStatement);\n    }\n    multiLine = addDefaultValueAssignmentsIfNeeded2(statements, node) || multiLine;\n    multiLine = addRestParameterIfNeeded(statements, node, false) || multiLine;\n    if (isBlock(body)) {\n      statementOffset = factory2.copyCustomPrologue(body.statements, statements, statementOffset, visitor);\n      statementsLocation = body.statements;\n      addRange(statements, visitNodes2(body.statements, visitor, isStatement, statementOffset));\n      if (!multiLine && body.multiLine) {\n        multiLine = true;\n      }\n    } else {\n      Debug.assert(node.kind === 219 /* ArrowFunction */);\n      statementsLocation = moveRangeEnd(body, -1);\n      const equalsGreaterThanToken = node.equalsGreaterThanToken;\n      if (!nodeIsSynthesized(equalsGreaterThanToken) && !nodeIsSynthesized(body)) {\n        if (rangeEndIsOnSameLineAsRangeStart(equalsGreaterThanToken, body, currentSourceFile)) {\n          singleLine = true;\n        } else {\n          multiLine = true;\n        }\n      }\n      const expression = visitNode(body, visitor, isExpression);\n      const returnStatement = factory2.createReturnStatement(expression);\n      setTextRange(returnStatement, body);\n      moveSyntheticComments(returnStatement, body);\n      setEmitFlags(returnStatement, 384 /* NoTokenSourceMaps */ | 32 /* NoTrailingSourceMap */ | 1024 /* NoTrailingComments */);\n      statements.push(returnStatement);\n      closeBraceLocation = body;\n    }\n    factory2.mergeLexicalEnvironment(prologue, endLexicalEnvironment());\n    insertCaptureNewTargetIfNeeded(prologue, node, false);\n    insertCaptureThisForNodeIfNeeded(prologue, node);\n    if (some(prologue)) {\n      multiLine = true;\n    }\n    statements.unshift(...prologue);\n    if (isBlock(body) && arrayIsEqualTo(statements, body.statements)) {\n      return body;\n    }\n    const block = factory2.createBlock(setTextRange(factory2.createNodeArray(statements), statementsLocation), multiLine);\n    setTextRange(block, node.body);\n    if (!multiLine && singleLine) {\n      setEmitFlags(block, 1 /* SingleLine */);\n    }\n    if (closeBraceLocation) {\n      setTokenSourceMapRange(block, 19 /* CloseBraceToken */, closeBraceLocation);\n    }\n    setOriginalNode(block, node.body);\n    return block;\n  }\n  function visitBlock(node, isFunctionBody2) {\n    if (isFunctionBody2) {\n      return visitEachChild(node, visitor, context);\n    }\n    const ancestorFacts = hierarchyFacts & 256 /* IterationStatement */ ? enterSubtree(7104 /* IterationStatementBlockExcludes */, 512 /* IterationStatementBlockIncludes */) : enterSubtree(6976 /* BlockExcludes */, 128 /* BlockIncludes */);\n    const updated = visitEachChild(node, visitor, context);\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return updated;\n  }\n  function visitExpressionStatement(node) {\n    return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n  }\n  function visitParenthesizedExpression(node, expressionResultIsUnused2) {\n    return visitEachChild(node, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, context);\n  }\n  function visitBinaryExpression(node, expressionResultIsUnused2) {\n    if (isDestructuringAssignment(node)) {\n      return flattenDestructuringAssignment(\n        node,\n        visitor,\n        context,\n        0 /* All */,\n        !expressionResultIsUnused2\n      );\n    }\n    if (node.operatorToken.kind === 27 /* CommaToken */) {\n      return factory2.updateBinaryExpression(\n        node,\n        visitNode(node.left, visitorWithUnusedExpressionResult, isExpression),\n        node.operatorToken,\n        visitNode(node.right, expressionResultIsUnused2 ? visitorWithUnusedExpressionResult : visitor, isExpression)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitCommaListExpression(node, expressionResultIsUnused2) {\n    if (expressionResultIsUnused2) {\n      return visitEachChild(node, visitorWithUnusedExpressionResult, context);\n    }\n    let result;\n    for (let i = 0; i < node.elements.length; i++) {\n      const element = node.elements[i];\n      const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResult : visitor, isExpression);\n      if (result || visited !== element) {\n        result || (result = node.elements.slice(0, i));\n        result.push(visited);\n      }\n    }\n    const elements = result ? setTextRange(factory2.createNodeArray(result), node.elements) : node.elements;\n    return factory2.updateCommaListExpression(node, elements);\n  }\n  function isVariableStatementOfTypeScriptClassWrapper(node) {\n    return node.declarationList.declarations.length === 1 && !!node.declarationList.declarations[0].initializer && !!(getEmitFlags(node.declarationList.declarations[0].initializer) & 33554432 /* TypeScriptClassWrapper */);\n  }\n  function visitVariableStatement(node) {\n    const ancestorFacts = enterSubtree(0 /* None */, hasSyntacticModifier(node, 1 /* Export */) ? 32 /* ExportedVariableStatement */ : 0 /* None */);\n    let updated;\n    if (convertedLoopState && (node.declarationList.flags & 3 /* BlockScoped */) === 0 && !isVariableStatementOfTypeScriptClassWrapper(node)) {\n      let assignments;\n      for (const decl of node.declarationList.declarations) {\n        hoistVariableDeclarationDeclaredInConvertedLoop(convertedLoopState, decl);\n        if (decl.initializer) {\n          let assignment;\n          if (isBindingPattern(decl.name)) {\n            assignment = flattenDestructuringAssignment(\n              decl,\n              visitor,\n              context,\n              0 /* All */\n            );\n          } else {\n            assignment = factory2.createBinaryExpression(decl.name, 63 /* EqualsToken */, visitNode(decl.initializer, visitor, isExpression));\n            setTextRange(assignment, decl);\n          }\n          assignments = append(assignments, assignment);\n        }\n      }\n      if (assignments) {\n        updated = setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(assignments)), node);\n      } else {\n        updated = void 0;\n      }\n    } else {\n      updated = visitEachChild(node, visitor, context);\n    }\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return updated;\n  }\n  function visitVariableDeclarationList(node) {\n    if (node.flags & 3 /* BlockScoped */ || node.transformFlags & 524288 /* ContainsBindingPattern */) {\n      if (node.flags & 3 /* BlockScoped */) {\n        enableSubstitutionsForBlockScopedBindings();\n      }\n      const declarations = flatMap(node.declarations, node.flags & 1 /* Let */ ? visitVariableDeclarationInLetDeclarationList : visitVariableDeclaration);\n      const declarationList = factory2.createVariableDeclarationList(declarations);\n      setOriginalNode(declarationList, node);\n      setTextRange(declarationList, node);\n      setCommentRange(declarationList, node);\n      if (node.transformFlags & 524288 /* ContainsBindingPattern */ && (isBindingPattern(node.declarations[0].name) || isBindingPattern(last(node.declarations).name))) {\n        setSourceMapRange(declarationList, getRangeUnion(declarations));\n      }\n      return declarationList;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function getRangeUnion(declarations) {\n    let pos = -1, end = -1;\n    for (const node of declarations) {\n      pos = pos === -1 ? node.pos : node.pos === -1 ? pos : Math.min(pos, node.pos);\n      end = Math.max(end, node.end);\n    }\n    return createRange(pos, end);\n  }\n  function shouldEmitExplicitInitializerForLetDeclaration(node) {\n    const flags = resolver.getNodeCheckFlags(node);\n    const isCapturedInFunction = flags & 262144 /* CapturedBlockScopedBinding */;\n    const isDeclaredInLoop = flags & 524288 /* BlockScopedBindingInLoop */;\n    const emittedAsTopLevel = (hierarchyFacts & 64 /* TopLevel */) !== 0 || isCapturedInFunction && isDeclaredInLoop && (hierarchyFacts & 512 /* IterationStatementBlock */) !== 0;\n    const emitExplicitInitializer = !emittedAsTopLevel && (hierarchyFacts & 4096 /* ForInOrForOfStatement */) === 0 && (!resolver.isDeclarationWithCollidingName(node) || isDeclaredInLoop && !isCapturedInFunction && (hierarchyFacts & (2048 /* ForStatement */ | 4096 /* ForInOrForOfStatement */)) === 0);\n    return emitExplicitInitializer;\n  }\n  function visitVariableDeclarationInLetDeclarationList(node) {\n    const name = node.name;\n    if (isBindingPattern(name)) {\n      return visitVariableDeclaration(node);\n    }\n    if (!node.initializer && shouldEmitExplicitInitializerForLetDeclaration(node)) {\n      return factory2.updateVariableDeclaration(node, node.name, void 0, void 0, factory2.createVoidZero());\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitVariableDeclaration(node) {\n    const ancestorFacts = enterSubtree(32 /* ExportedVariableStatement */, 0 /* None */);\n    let updated;\n    if (isBindingPattern(node.name)) {\n      updated = flattenDestructuringBinding(\n        node,\n        visitor,\n        context,\n        0 /* All */,\n        void 0,\n        (ancestorFacts & 32 /* ExportedVariableStatement */) !== 0\n      );\n    } else {\n      updated = visitEachChild(node, visitor, context);\n    }\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return updated;\n  }\n  function recordLabel(node) {\n    convertedLoopState.labels.set(idText(node.label), true);\n  }\n  function resetLabel(node) {\n    convertedLoopState.labels.set(idText(node.label), false);\n  }\n  function visitLabeledStatement(node) {\n    if (convertedLoopState && !convertedLoopState.labels) {\n      convertedLoopState.labels = new Map2();\n    }\n    const statement = unwrapInnermostStatementOfLabel(node, convertedLoopState && recordLabel);\n    return isIterationStatement(statement, false) ? visitIterationStatement(statement, node) : factory2.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory2.liftToBlock), node, convertedLoopState && resetLabel);\n  }\n  function visitIterationStatement(node, outermostLabeledStatement) {\n    switch (node.kind) {\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n        return visitDoOrWhileStatement(node, outermostLabeledStatement);\n      case 249 /* ForStatement */:\n        return visitForStatement(node, outermostLabeledStatement);\n      case 250 /* ForInStatement */:\n        return visitForInStatement(node, outermostLabeledStatement);\n      case 251 /* ForOfStatement */:\n        return visitForOfStatement(node, outermostLabeledStatement);\n    }\n  }\n  function visitIterationStatementWithFacts(excludeFacts, includeFacts, node, outermostLabeledStatement, convert) {\n    const ancestorFacts = enterSubtree(excludeFacts, includeFacts);\n    const updated = convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert);\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return updated;\n  }\n  function visitDoOrWhileStatement(node, outermostLabeledStatement) {\n    return visitIterationStatementWithFacts(\n      0 /* DoOrWhileStatementExcludes */,\n      1280 /* DoOrWhileStatementIncludes */,\n      node,\n      outermostLabeledStatement\n    );\n  }\n  function visitForStatement(node, outermostLabeledStatement) {\n    return visitIterationStatementWithFacts(\n      5056 /* ForStatementExcludes */,\n      3328 /* ForStatementIncludes */,\n      node,\n      outermostLabeledStatement\n    );\n  }\n  function visitEachChildOfForStatement2(node) {\n    return factory2.updateForStatement(\n      node,\n      visitNode(node.initializer, visitorWithUnusedExpressionResult, isForInitializer),\n      visitNode(node.condition, visitor, isExpression),\n      visitNode(node.incrementor, visitorWithUnusedExpressionResult, isExpression),\n      visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)\n    );\n  }\n  function visitForInStatement(node, outermostLabeledStatement) {\n    return visitIterationStatementWithFacts(\n      3008 /* ForInOrForOfStatementExcludes */,\n      5376 /* ForInOrForOfStatementIncludes */,\n      node,\n      outermostLabeledStatement\n    );\n  }\n  function visitForOfStatement(node, outermostLabeledStatement) {\n    return visitIterationStatementWithFacts(\n      3008 /* ForInOrForOfStatementExcludes */,\n      5376 /* ForInOrForOfStatementIncludes */,\n      node,\n      outermostLabeledStatement,\n      compilerOptions.downlevelIteration ? convertForOfStatementForIterable : convertForOfStatementForArray\n    );\n  }\n  function convertForOfStatementHead(node, boundValue, convertedLoopBodyStatements) {\n    const statements = [];\n    const initializer = node.initializer;\n    if (isVariableDeclarationList(initializer)) {\n      if (node.initializer.flags & 3 /* BlockScoped */) {\n        enableSubstitutionsForBlockScopedBindings();\n      }\n      const firstOriginalDeclaration = firstOrUndefined(initializer.declarations);\n      if (firstOriginalDeclaration && isBindingPattern(firstOriginalDeclaration.name)) {\n        const declarations = flattenDestructuringBinding(\n          firstOriginalDeclaration,\n          visitor,\n          context,\n          0 /* All */,\n          boundValue\n        );\n        const declarationList = setTextRange(factory2.createVariableDeclarationList(declarations), node.initializer);\n        setOriginalNode(declarationList, node.initializer);\n        setSourceMapRange(declarationList, createRange(declarations[0].pos, last(declarations).end));\n        statements.push(\n          factory2.createVariableStatement(\n            void 0,\n            declarationList\n          )\n        );\n      } else {\n        statements.push(\n          setTextRange(\n            factory2.createVariableStatement(\n              void 0,\n              setOriginalNode(\n                setTextRange(\n                  factory2.createVariableDeclarationList([\n                    factory2.createVariableDeclaration(\n                      firstOriginalDeclaration ? firstOriginalDeclaration.name : factory2.createTempVariable(void 0),\n                      void 0,\n                      void 0,\n                      boundValue\n                    )\n                  ]),\n                  moveRangePos(initializer, -1)\n                ),\n                initializer\n              )\n            ),\n            moveRangeEnd(initializer, -1)\n          )\n        );\n      }\n    } else {\n      const assignment = factory2.createAssignment(initializer, boundValue);\n      if (isDestructuringAssignment(assignment)) {\n        statements.push(factory2.createExpressionStatement(visitBinaryExpression(assignment, true)));\n      } else {\n        setTextRangeEnd(assignment, initializer.end);\n        statements.push(setTextRange(factory2.createExpressionStatement(visitNode(assignment, visitor, isExpression)), moveRangeEnd(initializer, -1)));\n      }\n    }\n    if (convertedLoopBodyStatements) {\n      return createSyntheticBlockForConvertedStatements(addRange(statements, convertedLoopBodyStatements));\n    } else {\n      const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock);\n      if (isBlock(statement)) {\n        return factory2.updateBlock(statement, setTextRange(factory2.createNodeArray(concatenate(statements, statement.statements)), statement.statements));\n      } else {\n        statements.push(statement);\n        return createSyntheticBlockForConvertedStatements(statements);\n      }\n    }\n  }\n  function createSyntheticBlockForConvertedStatements(statements) {\n    return setEmitFlags(\n      factory2.createBlock(\n        factory2.createNodeArray(statements),\n        true\n      ),\n      48 /* NoSourceMap */ | 384 /* NoTokenSourceMaps */\n    );\n  }\n  function convertForOfStatementForArray(node, outermostLabeledStatement, convertedLoopBodyStatements) {\n    const expression = visitNode(node.expression, visitor, isExpression);\n    const counter = factory2.createLoopVariable();\n    const rhsReference = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable(void 0);\n    setEmitFlags(expression, 48 /* NoSourceMap */ | getEmitFlags(expression));\n    const forStatement = setTextRange(\n      factory2.createForStatement(\n        setEmitFlags(\n          setTextRange(\n            factory2.createVariableDeclarationList([\n              setTextRange(factory2.createVariableDeclaration(counter, void 0, void 0, factory2.createNumericLiteral(0)), moveRangePos(node.expression, -1)),\n              setTextRange(factory2.createVariableDeclaration(rhsReference, void 0, void 0, expression), node.expression)\n            ]),\n            node.expression\n          ),\n          2097152 /* NoHoisting */\n        ),\n        setTextRange(\n          factory2.createLessThan(\n            counter,\n            factory2.createPropertyAccessExpression(rhsReference, \"length\")\n          ),\n          node.expression\n        ),\n        setTextRange(factory2.createPostfixIncrement(counter), node.expression),\n        convertForOfStatementHead(\n          node,\n          factory2.createElementAccessExpression(rhsReference, counter),\n          convertedLoopBodyStatements\n        )\n      ),\n      node\n    );\n    setEmitFlags(forStatement, 256 /* NoTokenTrailingSourceMaps */);\n    setTextRange(forStatement, node);\n    return factory2.restoreEnclosingLabel(forStatement, outermostLabeledStatement, convertedLoopState && resetLabel);\n  }\n  function convertForOfStatementForIterable(node, outermostLabeledStatement, convertedLoopBodyStatements, ancestorFacts) {\n    const expression = visitNode(node.expression, visitor, isExpression);\n    const iterator = isIdentifier(expression) ? factory2.getGeneratedNameForNode(expression) : factory2.createTempVariable(void 0);\n    const result = isIdentifier(expression) ? factory2.getGeneratedNameForNode(iterator) : factory2.createTempVariable(void 0);\n    const errorRecord = factory2.createUniqueName(\"e\");\n    const catchVariable = factory2.getGeneratedNameForNode(errorRecord);\n    const returnMethod = factory2.createTempVariable(void 0);\n    const values = setTextRange(emitHelpers().createValuesHelper(expression), node.expression);\n    const next = factory2.createCallExpression(factory2.createPropertyAccessExpression(iterator, \"next\"), void 0, []);\n    hoistVariableDeclaration(errorRecord);\n    hoistVariableDeclaration(returnMethod);\n    const initializer = ancestorFacts & 1024 /* IterationContainer */ ? factory2.inlineExpressions([factory2.createAssignment(errorRecord, factory2.createVoidZero()), values]) : values;\n    const forStatement = setEmitFlags(\n      setTextRange(\n        factory2.createForStatement(\n          setEmitFlags(\n            setTextRange(\n              factory2.createVariableDeclarationList([\n                setTextRange(factory2.createVariableDeclaration(iterator, void 0, void 0, initializer), node.expression),\n                factory2.createVariableDeclaration(result, void 0, void 0, next)\n              ]),\n              node.expression\n            ),\n            2097152 /* NoHoisting */\n          ),\n          factory2.createLogicalNot(factory2.createPropertyAccessExpression(result, \"done\")),\n          factory2.createAssignment(result, next),\n          convertForOfStatementHead(\n            node,\n            factory2.createPropertyAccessExpression(result, \"value\"),\n            convertedLoopBodyStatements\n          )\n        ),\n        node\n      ),\n      256 /* NoTokenTrailingSourceMaps */\n    );\n    return factory2.createTryStatement(\n      factory2.createBlock([\n        factory2.restoreEnclosingLabel(\n          forStatement,\n          outermostLabeledStatement,\n          convertedLoopState && resetLabel\n        )\n      ]),\n      factory2.createCatchClause(\n        factory2.createVariableDeclaration(catchVariable),\n        setEmitFlags(\n          factory2.createBlock([\n            factory2.createExpressionStatement(\n              factory2.createAssignment(\n                errorRecord,\n                factory2.createObjectLiteralExpression([\n                  factory2.createPropertyAssignment(\"error\", catchVariable)\n                ])\n              )\n            )\n          ]),\n          1 /* SingleLine */\n        )\n      ),\n      factory2.createBlock([\n        factory2.createTryStatement(\n          factory2.createBlock([\n            setEmitFlags(\n              factory2.createIfStatement(\n                factory2.createLogicalAnd(\n                  factory2.createLogicalAnd(\n                    result,\n                    factory2.createLogicalNot(\n                      factory2.createPropertyAccessExpression(result, \"done\")\n                    )\n                  ),\n                  factory2.createAssignment(\n                    returnMethod,\n                    factory2.createPropertyAccessExpression(iterator, \"return\")\n                  )\n                ),\n                factory2.createExpressionStatement(\n                  factory2.createFunctionCallCall(returnMethod, iterator, [])\n                )\n              ),\n              1 /* SingleLine */\n            )\n          ]),\n          void 0,\n          setEmitFlags(\n            factory2.createBlock([\n              setEmitFlags(\n                factory2.createIfStatement(\n                  errorRecord,\n                  factory2.createThrowStatement(\n                    factory2.createPropertyAccessExpression(errorRecord, \"error\")\n                  )\n                ),\n                1 /* SingleLine */\n              )\n            ]),\n            1 /* SingleLine */\n          )\n        )\n      ])\n    );\n  }\n  function visitObjectLiteralExpression(node) {\n    const properties = node.properties;\n    let numInitialProperties = -1, hasComputed = false;\n    for (let i = 0; i < properties.length; i++) {\n      const property = properties[i];\n      if (property.transformFlags & 1048576 /* ContainsYield */ && hierarchyFacts & 4 /* AsyncFunctionBody */ || (hasComputed = Debug.checkDefined(property.name).kind === 166 /* ComputedPropertyName */)) {\n        numInitialProperties = i;\n        break;\n      }\n    }\n    if (numInitialProperties < 0) {\n      return visitEachChild(node, visitor, context);\n    }\n    const temp = factory2.createTempVariable(hoistVariableDeclaration);\n    const expressions = [];\n    const assignment = factory2.createAssignment(\n      temp,\n      setEmitFlags(\n        factory2.createObjectLiteralExpression(\n          visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties),\n          node.multiLine\n        ),\n        hasComputed ? 65536 /* Indented */ : 0\n      )\n    );\n    if (node.multiLine) {\n      startOnNewLine(assignment);\n    }\n    expressions.push(assignment);\n    addObjectLiteralMembers(expressions, node, temp, numInitialProperties);\n    expressions.push(node.multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp);\n    return factory2.inlineExpressions(expressions);\n  }\n  function shouldConvertPartOfIterationStatement(node) {\n    return (resolver.getNodeCheckFlags(node) & 131072 /* ContainsCapturedBlockScopeBinding */) !== 0;\n  }\n  function shouldConvertInitializerOfForStatement(node) {\n    return isForStatement(node) && !!node.initializer && shouldConvertPartOfIterationStatement(node.initializer);\n  }\n  function shouldConvertConditionOfForStatement(node) {\n    return isForStatement(node) && !!node.condition && shouldConvertPartOfIterationStatement(node.condition);\n  }\n  function shouldConvertIncrementorOfForStatement(node) {\n    return isForStatement(node) && !!node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor);\n  }\n  function shouldConvertIterationStatement(node) {\n    return shouldConvertBodyOfIterationStatement(node) || shouldConvertInitializerOfForStatement(node);\n  }\n  function shouldConvertBodyOfIterationStatement(node) {\n    return (resolver.getNodeCheckFlags(node) & 65536 /* LoopWithCapturedBlockScopedBinding */) !== 0;\n  }\n  function hoistVariableDeclarationDeclaredInConvertedLoop(state, node) {\n    if (!state.hoistedLocalVariables) {\n      state.hoistedLocalVariables = [];\n    }\n    visit(node.name);\n    function visit(node2) {\n      if (node2.kind === 79 /* Identifier */) {\n        state.hoistedLocalVariables.push(node2);\n      } else {\n        for (const element of node2.elements) {\n          if (!isOmittedExpression(element)) {\n            visit(element.name);\n          }\n        }\n      }\n    }\n  }\n  function convertIterationStatementBodyIfNecessary(node, outermostLabeledStatement, ancestorFacts, convert) {\n    if (!shouldConvertIterationStatement(node)) {\n      let saveAllowedNonLabeledJumps;\n      if (convertedLoopState) {\n        saveAllowedNonLabeledJumps = convertedLoopState.allowedNonLabeledJumps;\n        convertedLoopState.allowedNonLabeledJumps = 2 /* Break */ | 4 /* Continue */;\n      }\n      const result = convert ? convert(node, outermostLabeledStatement, void 0, ancestorFacts) : factory2.restoreEnclosingLabel(\n        isForStatement(node) ? visitEachChildOfForStatement2(node) : visitEachChild(node, visitor, context),\n        outermostLabeledStatement,\n        convertedLoopState && resetLabel\n      );\n      if (convertedLoopState) {\n        convertedLoopState.allowedNonLabeledJumps = saveAllowedNonLabeledJumps;\n      }\n      return result;\n    }\n    const currentState = createConvertedLoopState(node);\n    const statements = [];\n    const outerConvertedLoopState = convertedLoopState;\n    convertedLoopState = currentState;\n    const initializerFunction = shouldConvertInitializerOfForStatement(node) ? createFunctionForInitializerOfForStatement(node, currentState) : void 0;\n    const bodyFunction = shouldConvertBodyOfIterationStatement(node) ? createFunctionForBodyOfIterationStatement(node, currentState, outerConvertedLoopState) : void 0;\n    convertedLoopState = outerConvertedLoopState;\n    if (initializerFunction)\n      statements.push(initializerFunction.functionDeclaration);\n    if (bodyFunction)\n      statements.push(bodyFunction.functionDeclaration);\n    addExtraDeclarationsForConvertedLoop(statements, currentState, outerConvertedLoopState);\n    if (initializerFunction) {\n      statements.push(generateCallToConvertedLoopInitializer(initializerFunction.functionName, initializerFunction.containsYield));\n    }\n    let loop;\n    if (bodyFunction) {\n      if (convert) {\n        loop = convert(node, outermostLabeledStatement, bodyFunction.part, ancestorFacts);\n      } else {\n        const clone2 = convertIterationStatementCore(node, initializerFunction, factory2.createBlock(bodyFunction.part, true));\n        loop = factory2.restoreEnclosingLabel(clone2, outermostLabeledStatement, convertedLoopState && resetLabel);\n      }\n    } else {\n      const clone2 = convertIterationStatementCore(node, initializerFunction, visitNode(node.statement, visitor, isStatement, factory2.liftToBlock));\n      loop = factory2.restoreEnclosingLabel(clone2, outermostLabeledStatement, convertedLoopState && resetLabel);\n    }\n    statements.push(loop);\n    return statements;\n  }\n  function convertIterationStatementCore(node, initializerFunction, convertedLoopBody) {\n    switch (node.kind) {\n      case 249 /* ForStatement */:\n        return convertForStatement(node, initializerFunction, convertedLoopBody);\n      case 250 /* ForInStatement */:\n        return convertForInStatement(node, convertedLoopBody);\n      case 251 /* ForOfStatement */:\n        return convertForOfStatement(node, convertedLoopBody);\n      case 247 /* DoStatement */:\n        return convertDoStatement(node, convertedLoopBody);\n      case 248 /* WhileStatement */:\n        return convertWhileStatement(node, convertedLoopBody);\n      default:\n        return Debug.failBadSyntaxKind(node, \"IterationStatement expected\");\n    }\n  }\n  function convertForStatement(node, initializerFunction, convertedLoopBody) {\n    const shouldConvertCondition = node.condition && shouldConvertPartOfIterationStatement(node.condition);\n    const shouldConvertIncrementor = shouldConvertCondition || node.incrementor && shouldConvertPartOfIterationStatement(node.incrementor);\n    return factory2.updateForStatement(\n      node,\n      visitNode(initializerFunction ? initializerFunction.part : node.initializer, visitorWithUnusedExpressionResult, isForInitializer),\n      visitNode(shouldConvertCondition ? void 0 : node.condition, visitor, isExpression),\n      visitNode(shouldConvertIncrementor ? void 0 : node.incrementor, visitorWithUnusedExpressionResult, isExpression),\n      convertedLoopBody\n    );\n  }\n  function convertForOfStatement(node, convertedLoopBody) {\n    return factory2.updateForOfStatement(\n      node,\n      void 0,\n      visitNode(node.initializer, visitor, isForInitializer),\n      visitNode(node.expression, visitor, isExpression),\n      convertedLoopBody\n    );\n  }\n  function convertForInStatement(node, convertedLoopBody) {\n    return factory2.updateForInStatement(\n      node,\n      visitNode(node.initializer, visitor, isForInitializer),\n      visitNode(node.expression, visitor, isExpression),\n      convertedLoopBody\n    );\n  }\n  function convertDoStatement(node, convertedLoopBody) {\n    return factory2.updateDoStatement(\n      node,\n      convertedLoopBody,\n      visitNode(node.expression, visitor, isExpression)\n    );\n  }\n  function convertWhileStatement(node, convertedLoopBody) {\n    return factory2.updateWhileStatement(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      convertedLoopBody\n    );\n  }\n  function createConvertedLoopState(node) {\n    let loopInitializer;\n    switch (node.kind) {\n      case 249 /* ForStatement */:\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n        const initializer = node.initializer;\n        if (initializer && initializer.kind === 262 /* VariableDeclarationList */) {\n          loopInitializer = initializer;\n        }\n        break;\n    }\n    const loopParameters = [];\n    const loopOutParameters = [];\n    if (loopInitializer && getCombinedNodeFlags(loopInitializer) & 3 /* BlockScoped */) {\n      const hasCapturedBindingsInForHead = shouldConvertInitializerOfForStatement(node) || shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node);\n      for (const decl of loopInitializer.declarations) {\n        processLoopVariableDeclaration(node, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead);\n      }\n    }\n    const currentState = { loopParameters, loopOutParameters };\n    if (convertedLoopState) {\n      if (convertedLoopState.argumentsName) {\n        currentState.argumentsName = convertedLoopState.argumentsName;\n      }\n      if (convertedLoopState.thisName) {\n        currentState.thisName = convertedLoopState.thisName;\n      }\n      if (convertedLoopState.hoistedLocalVariables) {\n        currentState.hoistedLocalVariables = convertedLoopState.hoistedLocalVariables;\n      }\n    }\n    return currentState;\n  }\n  function addExtraDeclarationsForConvertedLoop(statements, state, outerState) {\n    let extraVariableDeclarations;\n    if (state.argumentsName) {\n      if (outerState) {\n        outerState.argumentsName = state.argumentsName;\n      } else {\n        (extraVariableDeclarations || (extraVariableDeclarations = [])).push(\n          factory2.createVariableDeclaration(\n            state.argumentsName,\n            void 0,\n            void 0,\n            factory2.createIdentifier(\"arguments\")\n          )\n        );\n      }\n    }\n    if (state.thisName) {\n      if (outerState) {\n        outerState.thisName = state.thisName;\n      } else {\n        (extraVariableDeclarations || (extraVariableDeclarations = [])).push(\n          factory2.createVariableDeclaration(\n            state.thisName,\n            void 0,\n            void 0,\n            factory2.createIdentifier(\"this\")\n          )\n        );\n      }\n    }\n    if (state.hoistedLocalVariables) {\n      if (outerState) {\n        outerState.hoistedLocalVariables = state.hoistedLocalVariables;\n      } else {\n        if (!extraVariableDeclarations) {\n          extraVariableDeclarations = [];\n        }\n        for (const identifier of state.hoistedLocalVariables) {\n          extraVariableDeclarations.push(factory2.createVariableDeclaration(identifier));\n        }\n      }\n    }\n    if (state.loopOutParameters.length) {\n      if (!extraVariableDeclarations) {\n        extraVariableDeclarations = [];\n      }\n      for (const outParam of state.loopOutParameters) {\n        extraVariableDeclarations.push(factory2.createVariableDeclaration(outParam.outParamName));\n      }\n    }\n    if (state.conditionVariable) {\n      if (!extraVariableDeclarations) {\n        extraVariableDeclarations = [];\n      }\n      extraVariableDeclarations.push(factory2.createVariableDeclaration(state.conditionVariable, void 0, void 0, factory2.createFalse()));\n    }\n    if (extraVariableDeclarations) {\n      statements.push(factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList(extraVariableDeclarations)\n      ));\n    }\n  }\n  function createOutVariable(p) {\n    return factory2.createVariableDeclaration(p.originalName, void 0, void 0, p.outParamName);\n  }\n  function createFunctionForInitializerOfForStatement(node, currentState) {\n    const functionName = factory2.createUniqueName(\"_loop_init\");\n    const containsYield = (node.initializer.transformFlags & 1048576 /* ContainsYield */) !== 0;\n    let emitFlags = 0 /* None */;\n    if (currentState.containsLexicalThis)\n      emitFlags |= 8 /* CapturesThis */;\n    if (containsYield && hierarchyFacts & 4 /* AsyncFunctionBody */)\n      emitFlags |= 262144 /* AsyncFunctionBody */;\n    const statements = [];\n    statements.push(factory2.createVariableStatement(void 0, node.initializer));\n    copyOutParameters(currentState.loopOutParameters, 2 /* Initializer */, 1 /* ToOutParameter */, statements);\n    const functionDeclaration = factory2.createVariableStatement(\n      void 0,\n      setEmitFlags(\n        factory2.createVariableDeclarationList([\n          factory2.createVariableDeclaration(\n            functionName,\n            void 0,\n            void 0,\n            setEmitFlags(\n              factory2.createFunctionExpression(\n                void 0,\n                containsYield ? factory2.createToken(41 /* AsteriskToken */) : void 0,\n                void 0,\n                void 0,\n                void 0,\n                void 0,\n                visitNode(\n                  factory2.createBlock(statements, true),\n                  visitor,\n                  isBlock\n                )\n              ),\n              emitFlags\n            )\n          )\n        ]),\n        2097152 /* NoHoisting */\n      )\n    );\n    const part = factory2.createVariableDeclarationList(map(currentState.loopOutParameters, createOutVariable));\n    return { functionName, containsYield, functionDeclaration, part };\n  }\n  function createFunctionForBodyOfIterationStatement(node, currentState, outerState) {\n    const functionName = factory2.createUniqueName(\"_loop\");\n    startLexicalEnvironment();\n    const statement = visitNode(node.statement, visitor, isStatement, factory2.liftToBlock);\n    const lexicalEnvironment = endLexicalEnvironment();\n    const statements = [];\n    if (shouldConvertConditionOfForStatement(node) || shouldConvertIncrementorOfForStatement(node)) {\n      currentState.conditionVariable = factory2.createUniqueName(\"inc\");\n      if (node.incrementor) {\n        statements.push(factory2.createIfStatement(\n          currentState.conditionVariable,\n          factory2.createExpressionStatement(visitNode(node.incrementor, visitor, isExpression)),\n          factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue()))\n        ));\n      } else {\n        statements.push(factory2.createIfStatement(\n          factory2.createLogicalNot(currentState.conditionVariable),\n          factory2.createExpressionStatement(factory2.createAssignment(currentState.conditionVariable, factory2.createTrue()))\n        ));\n      }\n      if (shouldConvertConditionOfForStatement(node)) {\n        statements.push(factory2.createIfStatement(\n          factory2.createPrefixUnaryExpression(53 /* ExclamationToken */, visitNode(node.condition, visitor, isExpression)),\n          visitNode(factory2.createBreakStatement(), visitor, isStatement)\n        ));\n      }\n    }\n    if (isBlock(statement)) {\n      addRange(statements, statement.statements);\n    } else {\n      statements.push(statement);\n    }\n    copyOutParameters(currentState.loopOutParameters, 1 /* Body */, 1 /* ToOutParameter */, statements);\n    insertStatementsAfterStandardPrologue(statements, lexicalEnvironment);\n    const loopBody = factory2.createBlock(statements, true);\n    if (isBlock(statement))\n      setOriginalNode(loopBody, statement);\n    const containsYield = (node.statement.transformFlags & 1048576 /* ContainsYield */) !== 0;\n    let emitFlags = 524288 /* ReuseTempVariableScope */;\n    if (currentState.containsLexicalThis)\n      emitFlags |= 8 /* CapturesThis */;\n    if (containsYield && (hierarchyFacts & 4 /* AsyncFunctionBody */) !== 0)\n      emitFlags |= 262144 /* AsyncFunctionBody */;\n    const functionDeclaration = factory2.createVariableStatement(\n      void 0,\n      setEmitFlags(\n        factory2.createVariableDeclarationList(\n          [\n            factory2.createVariableDeclaration(\n              functionName,\n              void 0,\n              void 0,\n              setEmitFlags(\n                factory2.createFunctionExpression(\n                  void 0,\n                  containsYield ? factory2.createToken(41 /* AsteriskToken */) : void 0,\n                  void 0,\n                  void 0,\n                  currentState.loopParameters,\n                  void 0,\n                  loopBody\n                ),\n                emitFlags\n              )\n            )\n          ]\n        ),\n        2097152 /* NoHoisting */\n      )\n    );\n    const part = generateCallToConvertedLoop(functionName, currentState, outerState, containsYield);\n    return { functionName, containsYield, functionDeclaration, part };\n  }\n  function copyOutParameter(outParam, copyDirection) {\n    const source = copyDirection === 0 /* ToOriginal */ ? outParam.outParamName : outParam.originalName;\n    const target = copyDirection === 0 /* ToOriginal */ ? outParam.originalName : outParam.outParamName;\n    return factory2.createBinaryExpression(target, 63 /* EqualsToken */, source);\n  }\n  function copyOutParameters(outParams, partFlags, copyDirection, statements) {\n    for (const outParam of outParams) {\n      if (outParam.flags & partFlags) {\n        statements.push(factory2.createExpressionStatement(copyOutParameter(outParam, copyDirection)));\n      }\n    }\n  }\n  function generateCallToConvertedLoopInitializer(initFunctionExpressionName, containsYield) {\n    const call = factory2.createCallExpression(initFunctionExpressionName, void 0, []);\n    const callResult = containsYield ? factory2.createYieldExpression(\n      factory2.createToken(41 /* AsteriskToken */),\n      setEmitFlags(call, 8388608 /* Iterator */)\n    ) : call;\n    return factory2.createExpressionStatement(callResult);\n  }\n  function generateCallToConvertedLoop(loopFunctionExpressionName, state, outerState, containsYield) {\n    const statements = [];\n    const isSimpleLoop = !(state.nonLocalJumps & ~4 /* Continue */) && !state.labeledNonLocalBreaks && !state.labeledNonLocalContinues;\n    const call = factory2.createCallExpression(loopFunctionExpressionName, void 0, map(state.loopParameters, (p) => p.name));\n    const callResult = containsYield ? factory2.createYieldExpression(\n      factory2.createToken(41 /* AsteriskToken */),\n      setEmitFlags(call, 8388608 /* Iterator */)\n    ) : call;\n    if (isSimpleLoop) {\n      statements.push(factory2.createExpressionStatement(callResult));\n      copyOutParameters(state.loopOutParameters, 1 /* Body */, 0 /* ToOriginal */, statements);\n    } else {\n      const loopResultName = factory2.createUniqueName(\"state\");\n      const stateVariable = factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList(\n          [factory2.createVariableDeclaration(loopResultName, void 0, void 0, callResult)]\n        )\n      );\n      statements.push(stateVariable);\n      copyOutParameters(state.loopOutParameters, 1 /* Body */, 0 /* ToOriginal */, statements);\n      if (state.nonLocalJumps & 8 /* Return */) {\n        let returnStatement;\n        if (outerState) {\n          outerState.nonLocalJumps |= 8 /* Return */;\n          returnStatement = factory2.createReturnStatement(loopResultName);\n        } else {\n          returnStatement = factory2.createReturnStatement(factory2.createPropertyAccessExpression(loopResultName, \"value\"));\n        }\n        statements.push(\n          factory2.createIfStatement(\n            factory2.createTypeCheck(loopResultName, \"object\"),\n            returnStatement\n          )\n        );\n      }\n      if (state.nonLocalJumps & 2 /* Break */) {\n        statements.push(\n          factory2.createIfStatement(\n            factory2.createStrictEquality(\n              loopResultName,\n              factory2.createStringLiteral(\"break\")\n            ),\n            factory2.createBreakStatement()\n          )\n        );\n      }\n      if (state.labeledNonLocalBreaks || state.labeledNonLocalContinues) {\n        const caseClauses = [];\n        processLabeledJumps(state.labeledNonLocalBreaks, true, loopResultName, outerState, caseClauses);\n        processLabeledJumps(state.labeledNonLocalContinues, false, loopResultName, outerState, caseClauses);\n        statements.push(\n          factory2.createSwitchStatement(\n            loopResultName,\n            factory2.createCaseBlock(caseClauses)\n          )\n        );\n      }\n    }\n    return statements;\n  }\n  function setLabeledJump(state, isBreak, labelText, labelMarker) {\n    if (isBreak) {\n      if (!state.labeledNonLocalBreaks) {\n        state.labeledNonLocalBreaks = new Map2();\n      }\n      state.labeledNonLocalBreaks.set(labelText, labelMarker);\n    } else {\n      if (!state.labeledNonLocalContinues) {\n        state.labeledNonLocalContinues = new Map2();\n      }\n      state.labeledNonLocalContinues.set(labelText, labelMarker);\n    }\n  }\n  function processLabeledJumps(table, isBreak, loopResultName, outerLoop, caseClauses) {\n    if (!table) {\n      return;\n    }\n    table.forEach((labelMarker, labelText) => {\n      const statements = [];\n      if (!outerLoop || outerLoop.labels && outerLoop.labels.get(labelText)) {\n        const label = factory2.createIdentifier(labelText);\n        statements.push(isBreak ? factory2.createBreakStatement(label) : factory2.createContinueStatement(label));\n      } else {\n        setLabeledJump(outerLoop, isBreak, labelText, labelMarker);\n        statements.push(factory2.createReturnStatement(loopResultName));\n      }\n      caseClauses.push(factory2.createCaseClause(factory2.createStringLiteral(labelMarker), statements));\n    });\n  }\n  function processLoopVariableDeclaration(container, decl, loopParameters, loopOutParameters, hasCapturedBindingsInForHead) {\n    const name = decl.name;\n    if (isBindingPattern(name)) {\n      for (const element of name.elements) {\n        if (!isOmittedExpression(element)) {\n          processLoopVariableDeclaration(container, element, loopParameters, loopOutParameters, hasCapturedBindingsInForHead);\n        }\n      }\n    } else {\n      loopParameters.push(factory2.createParameterDeclaration(void 0, void 0, name));\n      const checkFlags = resolver.getNodeCheckFlags(decl);\n      if (checkFlags & 4194304 /* NeedsLoopOutParameter */ || hasCapturedBindingsInForHead) {\n        const outParamName = factory2.createUniqueName(\"out_\" + idText(name));\n        let flags = 0;\n        if (checkFlags & 4194304 /* NeedsLoopOutParameter */) {\n          flags |= 1 /* Body */;\n        }\n        if (isForStatement(container)) {\n          if (container.initializer && resolver.isBindingCapturedByNode(container.initializer, decl)) {\n            flags |= 2 /* Initializer */;\n          }\n          if (container.condition && resolver.isBindingCapturedByNode(container.condition, decl) || container.incrementor && resolver.isBindingCapturedByNode(container.incrementor, decl)) {\n            flags |= 1 /* Body */;\n          }\n        }\n        loopOutParameters.push({ flags, originalName: name, outParamName });\n      }\n    }\n  }\n  function addObjectLiteralMembers(expressions, node, receiver, start) {\n    const properties = node.properties;\n    const numProperties = properties.length;\n    for (let i = start; i < numProperties; i++) {\n      const property = properties[i];\n      switch (property.kind) {\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          const accessors = getAllAccessorDeclarations(node.properties, property);\n          if (property === accessors.firstAccessor) {\n            expressions.push(transformAccessorsToExpression(receiver, accessors, node, !!node.multiLine));\n          }\n          break;\n        case 174 /* MethodDeclaration */:\n          expressions.push(transformObjectLiteralMethodDeclarationToExpression(property, receiver, node, node.multiLine));\n          break;\n        case 305 /* PropertyAssignment */:\n          expressions.push(transformPropertyAssignmentToExpression(property, receiver, node.multiLine));\n          break;\n        case 306 /* ShorthandPropertyAssignment */:\n          expressions.push(transformShorthandPropertyAssignmentToExpression(property, receiver, node.multiLine));\n          break;\n        default:\n          Debug.failBadSyntaxKind(node);\n          break;\n      }\n    }\n  }\n  function transformPropertyAssignmentToExpression(property, receiver, startsOnNewLine) {\n    const expression = factory2.createAssignment(\n      createMemberAccessForPropertyName(\n        factory2,\n        receiver,\n        visitNode(property.name, visitor, isPropertyName)\n      ),\n      visitNode(property.initializer, visitor, isExpression)\n    );\n    setTextRange(expression, property);\n    if (startsOnNewLine) {\n      startOnNewLine(expression);\n    }\n    return expression;\n  }\n  function transformShorthandPropertyAssignmentToExpression(property, receiver, startsOnNewLine) {\n    const expression = factory2.createAssignment(\n      createMemberAccessForPropertyName(\n        factory2,\n        receiver,\n        visitNode(property.name, visitor, isPropertyName)\n      ),\n      factory2.cloneNode(property.name)\n    );\n    setTextRange(expression, property);\n    if (startsOnNewLine) {\n      startOnNewLine(expression);\n    }\n    return expression;\n  }\n  function transformObjectLiteralMethodDeclarationToExpression(method, receiver, container, startsOnNewLine) {\n    const expression = factory2.createAssignment(\n      createMemberAccessForPropertyName(\n        factory2,\n        receiver,\n        visitNode(method.name, visitor, isPropertyName)\n      ),\n      transformFunctionLikeToExpression(method, method, void 0, container)\n    );\n    setTextRange(expression, method);\n    if (startsOnNewLine) {\n      startOnNewLine(expression);\n    }\n    return expression;\n  }\n  function visitCatchClause(node) {\n    const ancestorFacts = enterSubtree(7104 /* BlockScopeExcludes */, 0 /* BlockScopeIncludes */);\n    let updated;\n    Debug.assert(!!node.variableDeclaration, \"Catch clause variable should always be present when downleveling ES2015.\");\n    if (isBindingPattern(node.variableDeclaration.name)) {\n      const temp = factory2.createTempVariable(void 0);\n      const newVariableDeclaration = factory2.createVariableDeclaration(temp);\n      setTextRange(newVariableDeclaration, node.variableDeclaration);\n      const vars = flattenDestructuringBinding(\n        node.variableDeclaration,\n        visitor,\n        context,\n        0 /* All */,\n        temp\n      );\n      const list = factory2.createVariableDeclarationList(vars);\n      setTextRange(list, node.variableDeclaration);\n      const destructure = factory2.createVariableStatement(void 0, list);\n      updated = factory2.updateCatchClause(node, newVariableDeclaration, addStatementToStartOfBlock(node.block, destructure));\n    } else {\n      updated = visitEachChild(node, visitor, context);\n    }\n    exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n    return updated;\n  }\n  function addStatementToStartOfBlock(block, statement) {\n    const transformedStatements = visitNodes2(block.statements, visitor, isStatement);\n    return factory2.updateBlock(block, [statement, ...transformedStatements]);\n  }\n  function visitMethodDeclaration(node) {\n    Debug.assert(!isComputedPropertyName(node.name));\n    const functionExpression = transformFunctionLikeToExpression(node, moveRangePos(node, -1), void 0, void 0);\n    setEmitFlags(functionExpression, 512 /* NoLeadingComments */ | getEmitFlags(functionExpression));\n    return setTextRange(\n      factory2.createPropertyAssignment(\n        node.name,\n        functionExpression\n      ),\n      node\n    );\n  }\n  function visitAccessorDeclaration(node) {\n    Debug.assert(!isComputedPropertyName(node.name));\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const ancestorFacts = enterSubtree(32670 /* FunctionExcludes */, 65 /* FunctionIncludes */);\n    let updated;\n    const parameters = visitParameterList(node.parameters, visitor, context);\n    const body = transformFunctionBody2(node);\n    if (node.kind === 177 /* GetAccessor */) {\n      updated = factory2.updateGetAccessorDeclaration(node, node.modifiers, node.name, parameters, node.type, body);\n    } else {\n      updated = factory2.updateSetAccessorDeclaration(node, node.modifiers, node.name, parameters, body);\n    }\n    exitSubtree(ancestorFacts, 98304 /* FunctionSubtreeExcludes */, 0 /* None */);\n    convertedLoopState = savedConvertedLoopState;\n    return updated;\n  }\n  function visitShorthandPropertyAssignment(node) {\n    return setTextRange(\n      factory2.createPropertyAssignment(\n        node.name,\n        visitIdentifier(factory2.cloneNode(node.name))\n      ),\n      node\n    );\n  }\n  function visitComputedPropertyName(node) {\n    return visitEachChild(node, visitor, context);\n  }\n  function visitYieldExpression(node) {\n    return visitEachChild(node, visitor, context);\n  }\n  function visitArrayLiteralExpression(node) {\n    if (some(node.elements, isSpreadElement)) {\n      return transformAndSpreadElements(node.elements, false, !!node.multiLine, !!node.elements.hasTrailingComma);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitCallExpression(node) {\n    if (getEmitFlags(node) & 33554432 /* TypeScriptClassWrapper */) {\n      return visitTypeScriptClassWrapper(node);\n    }\n    const expression = skipOuterExpressions(node.expression);\n    if (expression.kind === 107 /* SuperKeyword */ || isSuperProperty(expression) || some(node.arguments, isSpreadElement)) {\n      return visitCallExpressionWithPotentialCapturedThisAssignment(node, true);\n    }\n    return factory2.updateCallExpression(\n      node,\n      visitNode(node.expression, callExpressionVisitor, isExpression),\n      void 0,\n      visitNodes2(node.arguments, visitor, isExpression)\n    );\n  }\n  function visitTypeScriptClassWrapper(node) {\n    const body = cast(cast(skipOuterExpressions(node.expression), isArrowFunction).body, isBlock);\n    const isVariableStatementWithInitializer = (stmt) => isVariableStatement(stmt) && !!first(stmt.declarationList.declarations).initializer;\n    const savedConvertedLoopState = convertedLoopState;\n    convertedLoopState = void 0;\n    const bodyStatements = visitNodes2(body.statements, classWrapperStatementVisitor, isStatement);\n    convertedLoopState = savedConvertedLoopState;\n    const classStatements = filter(bodyStatements, isVariableStatementWithInitializer);\n    const remainingStatements = filter(bodyStatements, (stmt) => !isVariableStatementWithInitializer(stmt));\n    const varStatement = cast(first(classStatements), isVariableStatement);\n    const variable = varStatement.declarationList.declarations[0];\n    const initializer = skipOuterExpressions(variable.initializer);\n    let aliasAssignment = tryCast(initializer, isAssignmentExpression);\n    if (!aliasAssignment && isBinaryExpression(initializer) && initializer.operatorToken.kind === 27 /* CommaToken */) {\n      aliasAssignment = tryCast(initializer.left, isAssignmentExpression);\n    }\n    const call = cast(aliasAssignment ? skipOuterExpressions(aliasAssignment.right) : initializer, isCallExpression);\n    const func = cast(skipOuterExpressions(call.expression), isFunctionExpression);\n    const funcStatements = func.body.statements;\n    let classBodyStart = 0;\n    let classBodyEnd = -1;\n    const statements = [];\n    if (aliasAssignment) {\n      const extendsCall = tryCast(funcStatements[classBodyStart], isExpressionStatement);\n      if (extendsCall) {\n        statements.push(extendsCall);\n        classBodyStart++;\n      }\n      statements.push(funcStatements[classBodyStart]);\n      classBodyStart++;\n      statements.push(\n        factory2.createExpressionStatement(\n          factory2.createAssignment(\n            aliasAssignment.left,\n            cast(variable.name, isIdentifier)\n          )\n        )\n      );\n    }\n    while (!isReturnStatement(elementAt(funcStatements, classBodyEnd))) {\n      classBodyEnd--;\n    }\n    addRange(statements, funcStatements, classBodyStart, classBodyEnd);\n    if (classBodyEnd < -1) {\n      addRange(statements, funcStatements, classBodyEnd + 1);\n    }\n    addRange(statements, remainingStatements);\n    addRange(statements, classStatements, 1);\n    return factory2.restoreOuterExpressions(\n      node.expression,\n      factory2.restoreOuterExpressions(\n        variable.initializer,\n        factory2.restoreOuterExpressions(\n          aliasAssignment && aliasAssignment.right,\n          factory2.updateCallExpression(\n            call,\n            factory2.restoreOuterExpressions(\n              call.expression,\n              factory2.updateFunctionExpression(\n                func,\n                void 0,\n                void 0,\n                void 0,\n                void 0,\n                func.parameters,\n                void 0,\n                factory2.updateBlock(\n                  func.body,\n                  statements\n                )\n              )\n            ),\n            void 0,\n            call.arguments\n          )\n        )\n      )\n    );\n  }\n  function visitSuperCallInBody(node) {\n    return visitCallExpressionWithPotentialCapturedThisAssignment(node, false);\n  }\n  function visitCallExpressionWithPotentialCapturedThisAssignment(node, assignToCapturedThis) {\n    if (node.transformFlags & 32768 /* ContainsRestOrSpread */ || node.expression.kind === 107 /* SuperKeyword */ || isSuperProperty(skipOuterExpressions(node.expression))) {\n      const { target, thisArg } = factory2.createCallBinding(node.expression, hoistVariableDeclaration);\n      if (node.expression.kind === 107 /* SuperKeyword */) {\n        setEmitFlags(thisArg, 4 /* NoSubstitution */);\n      }\n      let resultingCall;\n      if (node.transformFlags & 32768 /* ContainsRestOrSpread */) {\n        resultingCall = factory2.createFunctionApplyCall(\n          visitNode(target, callExpressionVisitor, isExpression),\n          node.expression.kind === 107 /* SuperKeyword */ ? thisArg : visitNode(thisArg, visitor, isExpression),\n          transformAndSpreadElements(node.arguments, true, false, false)\n        );\n      } else {\n        resultingCall = setTextRange(\n          factory2.createFunctionCallCall(\n            visitNode(target, callExpressionVisitor, isExpression),\n            node.expression.kind === 107 /* SuperKeyword */ ? thisArg : visitNode(thisArg, visitor, isExpression),\n            visitNodes2(node.arguments, visitor, isExpression)\n          ),\n          node\n        );\n      }\n      if (node.expression.kind === 107 /* SuperKeyword */) {\n        const initializer = factory2.createLogicalOr(\n          resultingCall,\n          createActualThis()\n        );\n        resultingCall = assignToCapturedThis ? factory2.createAssignment(factory2.createUniqueName(\"_this\", 16 /* Optimistic */ | 32 /* FileLevel */), initializer) : initializer;\n      }\n      return setOriginalNode(resultingCall, node);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitNewExpression(node) {\n    if (some(node.arguments, isSpreadElement)) {\n      const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, \"bind\"), hoistVariableDeclaration);\n      return factory2.createNewExpression(\n        factory2.createFunctionApplyCall(\n          visitNode(target, visitor, isExpression),\n          thisArg,\n          transformAndSpreadElements(factory2.createNodeArray([factory2.createVoidZero(), ...node.arguments]), true, false, false)\n        ),\n        void 0,\n        []\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function transformAndSpreadElements(elements, isArgumentList, multiLine, hasTrailingComma) {\n    const numElements = elements.length;\n    const segments = flatten(\n      spanMap(\n        elements,\n        partitionSpread,\n        (partition, visitPartition, _start, end) => visitPartition(partition, multiLine, hasTrailingComma && end === numElements)\n      )\n    );\n    if (segments.length === 1) {\n      const firstSegment = segments[0];\n      if (isArgumentList && !compilerOptions.downlevelIteration || isPackedArrayLiteral(firstSegment.expression) || isCallToHelper(firstSegment.expression, \"___spreadArray\")) {\n        return firstSegment.expression;\n      }\n    }\n    const helpers = emitHelpers();\n    const startsWithSpread = segments[0].kind !== 0 /* None */;\n    let expression = startsWithSpread ? factory2.createArrayLiteralExpression() : segments[0].expression;\n    for (let i = startsWithSpread ? 0 : 1; i < segments.length; i++) {\n      const segment = segments[i];\n      expression = helpers.createSpreadArrayHelper(\n        expression,\n        segment.expression,\n        segment.kind === 1 /* UnpackedSpread */ && !isArgumentList\n      );\n    }\n    return expression;\n  }\n  function partitionSpread(node) {\n    return isSpreadElement(node) ? visitSpanOfSpreads : visitSpanOfNonSpreads;\n  }\n  function visitSpanOfSpreads(chunk) {\n    return map(chunk, visitExpressionOfSpread);\n  }\n  function visitExpressionOfSpread(node) {\n    let expression = visitNode(node.expression, visitor, isExpression);\n    const isCallToReadHelper = isCallToHelper(expression, \"___read\");\n    let kind = isCallToReadHelper || isPackedArrayLiteral(expression) ? 2 /* PackedSpread */ : 1 /* UnpackedSpread */;\n    if (compilerOptions.downlevelIteration && kind === 1 /* UnpackedSpread */ && !isArrayLiteralExpression(expression) && !isCallToReadHelper) {\n      expression = emitHelpers().createReadHelper(expression, void 0);\n      kind = 2 /* PackedSpread */;\n    }\n    return createSpreadSegment(kind, expression);\n  }\n  function visitSpanOfNonSpreads(chunk, multiLine, hasTrailingComma) {\n    const expression = factory2.createArrayLiteralExpression(\n      visitNodes2(factory2.createNodeArray(chunk, hasTrailingComma), visitor, isExpression),\n      multiLine\n    );\n    return createSpreadSegment(0 /* None */, expression);\n  }\n  function visitSpreadElement(node) {\n    return visitNode(node.expression, visitor, isExpression);\n  }\n  function visitTemplateLiteral(node) {\n    return setTextRange(factory2.createStringLiteral(node.text), node);\n  }\n  function visitStringLiteral(node) {\n    if (node.hasExtendedUnicodeEscape) {\n      return setTextRange(factory2.createStringLiteral(node.text), node);\n    }\n    return node;\n  }\n  function visitNumericLiteral(node) {\n    if (node.numericLiteralFlags & 384 /* BinaryOrOctalSpecifier */) {\n      return setTextRange(factory2.createNumericLiteral(node.text), node);\n    }\n    return node;\n  }\n  function visitTaggedTemplateExpression(node) {\n    return processTaggedTemplateExpression(\n      context,\n      node,\n      visitor,\n      currentSourceFile,\n      recordTaggedTemplateString,\n      1 /* All */\n    );\n  }\n  function visitTemplateExpression(node) {\n    let expression = factory2.createStringLiteral(node.head.text);\n    for (const span of node.templateSpans) {\n      const args = [visitNode(span.expression, visitor, isExpression)];\n      if (span.literal.text.length > 0) {\n        args.push(factory2.createStringLiteral(span.literal.text));\n      }\n      expression = factory2.createCallExpression(\n        factory2.createPropertyAccessExpression(expression, \"concat\"),\n        void 0,\n        args\n      );\n    }\n    return setTextRange(expression, node);\n  }\n  function visitSuperKeyword(isExpressionOfCall) {\n    return hierarchyFacts & 8 /* NonStaticClassElement */ && !isExpressionOfCall ? factory2.createPropertyAccessExpression(factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */), \"prototype\") : factory2.createUniqueName(\"_super\", 16 /* Optimistic */ | 32 /* FileLevel */);\n  }\n  function visitMetaProperty(node) {\n    if (node.keywordToken === 104 /* NewKeyword */ && node.name.escapedText === \"target\") {\n      hierarchyFacts |= 32768 /* NewTarget */;\n      return factory2.createUniqueName(\"_newTarget\", 16 /* Optimistic */ | 32 /* FileLevel */);\n    }\n    return node;\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (enabledSubstitutions & 1 /* CapturedThis */ && isFunctionLike(node)) {\n      const ancestorFacts = enterSubtree(\n        32670 /* FunctionExcludes */,\n        getEmitFlags(node) & 8 /* CapturesThis */ ? 65 /* FunctionIncludes */ | 16 /* CapturesThis */ : 65 /* FunctionIncludes */\n      );\n      previousOnEmitNode(hint, node, emitCallback);\n      exitSubtree(ancestorFacts, 0 /* None */, 0 /* None */);\n      return;\n    }\n    previousOnEmitNode(hint, node, emitCallback);\n  }\n  function enableSubstitutionsForBlockScopedBindings() {\n    if ((enabledSubstitutions & 2 /* BlockScopedBindings */) === 0) {\n      enabledSubstitutions |= 2 /* BlockScopedBindings */;\n      context.enableSubstitution(79 /* Identifier */);\n    }\n  }\n  function enableSubstitutionsForCapturedThis() {\n    if ((enabledSubstitutions & 1 /* CapturedThis */) === 0) {\n      enabledSubstitutions |= 1 /* CapturedThis */;\n      context.enableSubstitution(109 /* ThisKeyword */);\n      context.enableEmitNotification(176 /* Constructor */);\n      context.enableEmitNotification(174 /* MethodDeclaration */);\n      context.enableEmitNotification(177 /* GetAccessor */);\n      context.enableEmitNotification(178 /* SetAccessor */);\n      context.enableEmitNotification(219 /* ArrowFunction */);\n      context.enableEmitNotification(218 /* FunctionExpression */);\n      context.enableEmitNotification(263 /* FunctionDeclaration */);\n    }\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    }\n    if (isIdentifier(node)) {\n      return substituteIdentifier(node);\n    }\n    return node;\n  }\n  function substituteIdentifier(node) {\n    if (enabledSubstitutions & 2 /* BlockScopedBindings */ && !isInternalName(node)) {\n      const original = getParseTreeNode(node, isIdentifier);\n      if (original && isNameOfDeclarationWithCollidingName(original)) {\n        return setTextRange(factory2.getGeneratedNameForNode(original), node);\n      }\n    }\n    return node;\n  }\n  function isNameOfDeclarationWithCollidingName(node) {\n    switch (node.parent.kind) {\n      case 208 /* BindingElement */:\n      case 264 /* ClassDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 261 /* VariableDeclaration */:\n        return node.parent.name === node && resolver.isDeclarationWithCollidingName(node.parent);\n    }\n    return false;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return substituteExpressionIdentifier(node);\n      case 109 /* ThisKeyword */:\n        return substituteThisKeyword(node);\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    if (enabledSubstitutions & 2 /* BlockScopedBindings */ && !isInternalName(node)) {\n      const declaration = resolver.getReferencedDeclarationWithCollidingName(node);\n      if (declaration && !(isClassLike(declaration) && isPartOfClassBody(declaration, node))) {\n        return setTextRange(factory2.getGeneratedNameForNode(getNameOfDeclaration(declaration)), node);\n      }\n    }\n    return node;\n  }\n  function isPartOfClassBody(declaration, node) {\n    let currentNode = getParseTreeNode(node);\n    if (!currentNode || currentNode === declaration || currentNode.end <= declaration.pos || currentNode.pos >= declaration.end) {\n      return false;\n    }\n    const blockScope = getEnclosingBlockScopeContainer(declaration);\n    while (currentNode) {\n      if (currentNode === blockScope || currentNode === declaration) {\n        return false;\n      }\n      if (isClassElement(currentNode) && currentNode.parent === declaration) {\n        return true;\n      }\n      currentNode = currentNode.parent;\n    }\n    return false;\n  }\n  function substituteThisKeyword(node) {\n    if (enabledSubstitutions & 1 /* CapturedThis */ && hierarchyFacts & 16 /* CapturesThis */) {\n      return setTextRange(factory2.createUniqueName(\"_this\", 16 /* Optimistic */ | 32 /* FileLevel */), node);\n    }\n    return node;\n  }\n  function getClassMemberPrefix(node, member) {\n    return isStatic(member) ? factory2.getInternalName(node) : factory2.createPropertyAccessExpression(factory2.getInternalName(node), \"prototype\");\n  }\n  function hasSynthesizedDefaultSuperCall(constructor, hasExtendsClause) {\n    if (!constructor || !hasExtendsClause) {\n      return false;\n    }\n    if (some(constructor.parameters)) {\n      return false;\n    }\n    const statement = firstOrUndefined(constructor.body.statements);\n    if (!statement || !nodeIsSynthesized(statement) || statement.kind !== 245 /* ExpressionStatement */) {\n      return false;\n    }\n    const statementExpression = statement.expression;\n    if (!nodeIsSynthesized(statementExpression) || statementExpression.kind !== 213 /* CallExpression */) {\n      return false;\n    }\n    const callTarget = statementExpression.expression;\n    if (!nodeIsSynthesized(callTarget) || callTarget.kind !== 107 /* SuperKeyword */) {\n      return false;\n    }\n    const callArgument = singleOrUndefined(statementExpression.arguments);\n    if (!callArgument || !nodeIsSynthesized(callArgument) || callArgument.kind !== 231 /* SpreadElement */) {\n      return false;\n    }\n    const expression = callArgument.expression;\n    return isIdentifier(expression) && expression.escapedText === \"arguments\";\n  }\n}\n\n// src/compiler/transformers/es5.ts\nfunction transformES5(context) {\n  const { factory: factory2 } = context;\n  const compilerOptions = context.getCompilerOptions();\n  let previousOnEmitNode;\n  let noSubstitution;\n  if (compilerOptions.jsx === 1 /* Preserve */ || compilerOptions.jsx === 3 /* ReactNative */) {\n    previousOnEmitNode = context.onEmitNode;\n    context.onEmitNode = onEmitNode;\n    context.enableEmitNotification(289 /* JsxOpeningElement */);\n    context.enableEmitNotification(290 /* JsxClosingElement */);\n    context.enableEmitNotification(288 /* JsxSelfClosingElement */);\n    noSubstitution = [];\n  }\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onSubstituteNode = onSubstituteNode;\n  context.enableSubstitution(211 /* PropertyAccessExpression */);\n  context.enableSubstitution(305 /* PropertyAssignment */);\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    return node;\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    switch (node.kind) {\n      case 289 /* JsxOpeningElement */:\n      case 290 /* JsxClosingElement */:\n      case 288 /* JsxSelfClosingElement */:\n        const tagName = node.tagName;\n        noSubstitution[getOriginalNodeId(tagName)] = true;\n        break;\n    }\n    previousOnEmitNode(hint, node, emitCallback);\n  }\n  function onSubstituteNode(hint, node) {\n    if (node.id && noSubstitution && noSubstitution[node.id]) {\n      return previousOnSubstituteNode(hint, node);\n    }\n    node = previousOnSubstituteNode(hint, node);\n    if (isPropertyAccessExpression(node)) {\n      return substitutePropertyAccessExpression(node);\n    } else if (isPropertyAssignment(node)) {\n      return substitutePropertyAssignment(node);\n    }\n    return node;\n  }\n  function substitutePropertyAccessExpression(node) {\n    if (isPrivateIdentifier(node.name)) {\n      return node;\n    }\n    const literalName = trySubstituteReservedName(node.name);\n    if (literalName) {\n      return setTextRange(factory2.createElementAccessExpression(node.expression, literalName), node);\n    }\n    return node;\n  }\n  function substitutePropertyAssignment(node) {\n    const literalName = isIdentifier(node.name) && trySubstituteReservedName(node.name);\n    if (literalName) {\n      return factory2.updatePropertyAssignment(node, literalName, node.initializer);\n    }\n    return node;\n  }\n  function trySubstituteReservedName(name) {\n    const token = name.originalKeywordKind || (nodeIsSynthesized(name) ? stringToToken(idText(name)) : void 0);\n    if (token !== void 0 && token >= 81 /* FirstReservedWord */ && token <= 117 /* LastReservedWord */) {\n      return setTextRange(factory2.createStringLiteralFromNode(name), name);\n    }\n    return void 0;\n  }\n}\n\n// src/compiler/transformers/generators.ts\nvar OpCode = /* @__PURE__ */ ((OpCode2) => {\n  OpCode2[OpCode2[\"Nop\"] = 0] = \"Nop\";\n  OpCode2[OpCode2[\"Statement\"] = 1] = \"Statement\";\n  OpCode2[OpCode2[\"Assign\"] = 2] = \"Assign\";\n  OpCode2[OpCode2[\"Break\"] = 3] = \"Break\";\n  OpCode2[OpCode2[\"BreakWhenTrue\"] = 4] = \"BreakWhenTrue\";\n  OpCode2[OpCode2[\"BreakWhenFalse\"] = 5] = \"BreakWhenFalse\";\n  OpCode2[OpCode2[\"Yield\"] = 6] = \"Yield\";\n  OpCode2[OpCode2[\"YieldStar\"] = 7] = \"YieldStar\";\n  OpCode2[OpCode2[\"Return\"] = 8] = \"Return\";\n  OpCode2[OpCode2[\"Throw\"] = 9] = \"Throw\";\n  OpCode2[OpCode2[\"Endfinally\"] = 10] = \"Endfinally\";\n  return OpCode2;\n})(OpCode || {});\nvar BlockAction = /* @__PURE__ */ ((BlockAction2) => {\n  BlockAction2[BlockAction2[\"Open\"] = 0] = \"Open\";\n  BlockAction2[BlockAction2[\"Close\"] = 1] = \"Close\";\n  return BlockAction2;\n})(BlockAction || {});\nvar CodeBlockKind = /* @__PURE__ */ ((CodeBlockKind2) => {\n  CodeBlockKind2[CodeBlockKind2[\"Exception\"] = 0] = \"Exception\";\n  CodeBlockKind2[CodeBlockKind2[\"With\"] = 1] = \"With\";\n  CodeBlockKind2[CodeBlockKind2[\"Switch\"] = 2] = \"Switch\";\n  CodeBlockKind2[CodeBlockKind2[\"Loop\"] = 3] = \"Loop\";\n  CodeBlockKind2[CodeBlockKind2[\"Labeled\"] = 4] = \"Labeled\";\n  return CodeBlockKind2;\n})(CodeBlockKind || {});\nvar ExceptionBlockState = /* @__PURE__ */ ((ExceptionBlockState2) => {\n  ExceptionBlockState2[ExceptionBlockState2[\"Try\"] = 0] = \"Try\";\n  ExceptionBlockState2[ExceptionBlockState2[\"Catch\"] = 1] = \"Catch\";\n  ExceptionBlockState2[ExceptionBlockState2[\"Finally\"] = 2] = \"Finally\";\n  ExceptionBlockState2[ExceptionBlockState2[\"Done\"] = 3] = \"Done\";\n  return ExceptionBlockState2;\n})(ExceptionBlockState || {});\nvar Instruction = /* @__PURE__ */ ((Instruction2) => {\n  Instruction2[Instruction2[\"Next\"] = 0] = \"Next\";\n  Instruction2[Instruction2[\"Throw\"] = 1] = \"Throw\";\n  Instruction2[Instruction2[\"Return\"] = 2] = \"Return\";\n  Instruction2[Instruction2[\"Break\"] = 3] = \"Break\";\n  Instruction2[Instruction2[\"Yield\"] = 4] = \"Yield\";\n  Instruction2[Instruction2[\"YieldStar\"] = 5] = \"YieldStar\";\n  Instruction2[Instruction2[\"Catch\"] = 6] = \"Catch\";\n  Instruction2[Instruction2[\"Endfinally\"] = 7] = \"Endfinally\";\n  return Instruction2;\n})(Instruction || {});\nfunction getInstructionName(instruction) {\n  switch (instruction) {\n    case 2 /* Return */:\n      return \"return\";\n    case 3 /* Break */:\n      return \"break\";\n    case 4 /* Yield */:\n      return \"yield\";\n    case 5 /* YieldStar */:\n      return \"yield*\";\n    case 7 /* Endfinally */:\n      return \"endfinally\";\n    default:\n      return void 0;\n  }\n}\nfunction transformGenerators(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    resumeLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistFunctionDeclaration,\n    hoistVariableDeclaration\n  } = context;\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const resolver = context.getEmitResolver();\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onSubstituteNode = onSubstituteNode;\n  let renamedCatchVariables;\n  let renamedCatchVariableDeclarations;\n  let inGeneratorFunctionBody;\n  let inStatementContainingYield;\n  let blocks;\n  let blockOffsets;\n  let blockActions;\n  let blockStack;\n  let labelOffsets;\n  let labelExpressions;\n  let nextLabelId = 1;\n  let operations;\n  let operationArguments;\n  let operationLocations;\n  let state;\n  let blockIndex = 0;\n  let labelNumber = 0;\n  let labelNumbers;\n  let lastOperationWasAbrupt;\n  let lastOperationWasCompletion;\n  let clauses;\n  let statements;\n  let exceptionBlockStack;\n  let currentExceptionBlock;\n  let withBlockStack;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile || (node.transformFlags & 2048 /* ContainsGenerator */) === 0) {\n      return node;\n    }\n    const visited = visitEachChild(node, visitor, context);\n    addEmitHelpers(visited, context.readEmitHelpers());\n    return visited;\n  }\n  function visitor(node) {\n    const transformFlags = node.transformFlags;\n    if (inStatementContainingYield) {\n      return visitJavaScriptInStatementContainingYield(node);\n    } else if (inGeneratorFunctionBody) {\n      return visitJavaScriptInGeneratorFunctionBody(node);\n    } else if (isFunctionLikeDeclaration(node) && node.asteriskToken) {\n      return visitGenerator(node);\n    } else if (transformFlags & 2048 /* ContainsGenerator */) {\n      return visitEachChild(node, visitor, context);\n    } else {\n      return node;\n    }\n  }\n  function visitJavaScriptInStatementContainingYield(node) {\n    switch (node.kind) {\n      case 247 /* DoStatement */:\n        return visitDoStatement(node);\n      case 248 /* WhileStatement */:\n        return visitWhileStatement(node);\n      case 256 /* SwitchStatement */:\n        return visitSwitchStatement(node);\n      case 257 /* LabeledStatement */:\n        return visitLabeledStatement(node);\n      default:\n        return visitJavaScriptInGeneratorFunctionBody(node);\n    }\n  }\n  function visitJavaScriptInGeneratorFunctionBody(node) {\n    switch (node.kind) {\n      case 263 /* FunctionDeclaration */:\n        return visitFunctionDeclaration(node);\n      case 218 /* FunctionExpression */:\n        return visitFunctionExpression(node);\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return visitAccessorDeclaration(node);\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 249 /* ForStatement */:\n        return visitForStatement(node);\n      case 250 /* ForInStatement */:\n        return visitForInStatement(node);\n      case 253 /* BreakStatement */:\n        return visitBreakStatement(node);\n      case 252 /* ContinueStatement */:\n        return visitContinueStatement(node);\n      case 254 /* ReturnStatement */:\n        return visitReturnStatement(node);\n      default:\n        if (node.transformFlags & 1048576 /* ContainsYield */) {\n          return visitJavaScriptContainingYield(node);\n        } else if (node.transformFlags & (2048 /* ContainsGenerator */ | 4194304 /* ContainsHoistedDeclarationOrCompletion */)) {\n          return visitEachChild(node, visitor, context);\n        } else {\n          return node;\n        }\n    }\n  }\n  function visitJavaScriptContainingYield(node) {\n    switch (node.kind) {\n      case 227 /* BinaryExpression */:\n        return visitBinaryExpression(node);\n      case 360 /* CommaListExpression */:\n        return visitCommaListExpression(node);\n      case 228 /* ConditionalExpression */:\n        return visitConditionalExpression(node);\n      case 230 /* YieldExpression */:\n        return visitYieldExpression(node);\n      case 209 /* ArrayLiteralExpression */:\n        return visitArrayLiteralExpression(node);\n      case 210 /* ObjectLiteralExpression */:\n        return visitObjectLiteralExpression(node);\n      case 212 /* ElementAccessExpression */:\n        return visitElementAccessExpression(node);\n      case 213 /* CallExpression */:\n        return visitCallExpression(node);\n      case 214 /* NewExpression */:\n        return visitNewExpression(node);\n      default:\n        return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitGenerator(node) {\n    switch (node.kind) {\n      case 263 /* FunctionDeclaration */:\n        return visitFunctionDeclaration(node);\n      case 218 /* FunctionExpression */:\n        return visitFunctionExpression(node);\n      default:\n        return Debug.failBadSyntaxKind(node);\n    }\n  }\n  function visitFunctionDeclaration(node) {\n    if (node.asteriskToken) {\n      node = setOriginalNode(\n        setTextRange(\n          factory2.createFunctionDeclaration(\n            node.modifiers,\n            void 0,\n            node.name,\n            void 0,\n            visitParameterList(node.parameters, visitor, context),\n            void 0,\n            transformGeneratorFunctionBody(node.body)\n          ),\n          node\n        ),\n        node\n      );\n    } else {\n      const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n      const savedInStatementContainingYield = inStatementContainingYield;\n      inGeneratorFunctionBody = false;\n      inStatementContainingYield = false;\n      node = visitEachChild(node, visitor, context);\n      inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n      inStatementContainingYield = savedInStatementContainingYield;\n    }\n    if (inGeneratorFunctionBody) {\n      hoistFunctionDeclaration(node);\n      return void 0;\n    } else {\n      return node;\n    }\n  }\n  function visitFunctionExpression(node) {\n    if (node.asteriskToken) {\n      node = setOriginalNode(\n        setTextRange(\n          factory2.createFunctionExpression(\n            void 0,\n            void 0,\n            node.name,\n            void 0,\n            visitParameterList(node.parameters, visitor, context),\n            void 0,\n            transformGeneratorFunctionBody(node.body)\n          ),\n          node\n        ),\n        node\n      );\n    } else {\n      const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n      const savedInStatementContainingYield = inStatementContainingYield;\n      inGeneratorFunctionBody = false;\n      inStatementContainingYield = false;\n      node = visitEachChild(node, visitor, context);\n      inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n      inStatementContainingYield = savedInStatementContainingYield;\n    }\n    return node;\n  }\n  function visitAccessorDeclaration(node) {\n    const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n    const savedInStatementContainingYield = inStatementContainingYield;\n    inGeneratorFunctionBody = false;\n    inStatementContainingYield = false;\n    node = visitEachChild(node, visitor, context);\n    inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n    inStatementContainingYield = savedInStatementContainingYield;\n    return node;\n  }\n  function transformGeneratorFunctionBody(body) {\n    const statements2 = [];\n    const savedInGeneratorFunctionBody = inGeneratorFunctionBody;\n    const savedInStatementContainingYield = inStatementContainingYield;\n    const savedBlocks = blocks;\n    const savedBlockOffsets = blockOffsets;\n    const savedBlockActions = blockActions;\n    const savedBlockStack = blockStack;\n    const savedLabelOffsets = labelOffsets;\n    const savedLabelExpressions = labelExpressions;\n    const savedNextLabelId = nextLabelId;\n    const savedOperations = operations;\n    const savedOperationArguments = operationArguments;\n    const savedOperationLocations = operationLocations;\n    const savedState = state;\n    inGeneratorFunctionBody = true;\n    inStatementContainingYield = false;\n    blocks = void 0;\n    blockOffsets = void 0;\n    blockActions = void 0;\n    blockStack = void 0;\n    labelOffsets = void 0;\n    labelExpressions = void 0;\n    nextLabelId = 1;\n    operations = void 0;\n    operationArguments = void 0;\n    operationLocations = void 0;\n    state = factory2.createTempVariable(void 0);\n    resumeLexicalEnvironment();\n    const statementOffset = factory2.copyPrologue(body.statements, statements2, false, visitor);\n    transformAndEmitStatements(body.statements, statementOffset);\n    const buildResult = build2();\n    insertStatementsAfterStandardPrologue(statements2, endLexicalEnvironment());\n    statements2.push(factory2.createReturnStatement(buildResult));\n    inGeneratorFunctionBody = savedInGeneratorFunctionBody;\n    inStatementContainingYield = savedInStatementContainingYield;\n    blocks = savedBlocks;\n    blockOffsets = savedBlockOffsets;\n    blockActions = savedBlockActions;\n    blockStack = savedBlockStack;\n    labelOffsets = savedLabelOffsets;\n    labelExpressions = savedLabelExpressions;\n    nextLabelId = savedNextLabelId;\n    operations = savedOperations;\n    operationArguments = savedOperationArguments;\n    operationLocations = savedOperationLocations;\n    state = savedState;\n    return setTextRange(factory2.createBlock(statements2, body.multiLine), body);\n  }\n  function visitVariableStatement(node) {\n    if (node.transformFlags & 1048576 /* ContainsYield */) {\n      transformAndEmitVariableDeclarationList(node.declarationList);\n      return void 0;\n    } else {\n      if (getEmitFlags(node) & 1048576 /* CustomPrologue */) {\n        return node;\n      }\n      for (const variable of node.declarationList.declarations) {\n        hoistVariableDeclaration(variable.name);\n      }\n      const variables = getInitializedVariables(node.declarationList);\n      if (variables.length === 0) {\n        return void 0;\n      }\n      return setSourceMapRange(\n        factory2.createExpressionStatement(\n          factory2.inlineExpressions(\n            map(variables, transformInitializedVariable)\n          )\n        ),\n        node\n      );\n    }\n  }\n  function visitBinaryExpression(node) {\n    const assoc = getExpressionAssociativity(node);\n    switch (assoc) {\n      case 0 /* Left */:\n        return visitLeftAssociativeBinaryExpression(node);\n      case 1 /* Right */:\n        return visitRightAssociativeBinaryExpression(node);\n      default:\n        return Debug.assertNever(assoc);\n    }\n  }\n  function visitRightAssociativeBinaryExpression(node) {\n    const { left, right } = node;\n    if (containsYield(right)) {\n      let target;\n      switch (left.kind) {\n        case 211 /* PropertyAccessExpression */:\n          target = factory2.updatePropertyAccessExpression(\n            left,\n            cacheExpression(visitNode(left.expression, visitor, isLeftHandSideExpression)),\n            left.name\n          );\n          break;\n        case 212 /* ElementAccessExpression */:\n          target = factory2.updateElementAccessExpression(\n            left,\n            cacheExpression(visitNode(left.expression, visitor, isLeftHandSideExpression)),\n            cacheExpression(visitNode(left.argumentExpression, visitor, isExpression))\n          );\n          break;\n        default:\n          target = visitNode(left, visitor, isExpression);\n          break;\n      }\n      const operator = node.operatorToken.kind;\n      if (isCompoundAssignment(operator)) {\n        return setTextRange(\n          factory2.createAssignment(\n            target,\n            setTextRange(\n              factory2.createBinaryExpression(\n                cacheExpression(target),\n                getNonAssignmentOperatorForCompoundAssignment(operator),\n                visitNode(right, visitor, isExpression)\n              ),\n              node\n            )\n          ),\n          node\n        );\n      } else {\n        return factory2.updateBinaryExpression(node, target, node.operatorToken, visitNode(right, visitor, isExpression));\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitLeftAssociativeBinaryExpression(node) {\n    if (containsYield(node.right)) {\n      if (isLogicalOperator(node.operatorToken.kind)) {\n        return visitLogicalBinaryExpression(node);\n      } else if (node.operatorToken.kind === 27 /* CommaToken */) {\n        return visitCommaExpression(node);\n      }\n      return factory2.updateBinaryExpression(\n        node,\n        cacheExpression(visitNode(node.left, visitor, isExpression)),\n        node.operatorToken,\n        visitNode(node.right, visitor, isExpression)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitCommaExpression(node) {\n    let pendingExpressions = [];\n    visit(node.left);\n    visit(node.right);\n    return factory2.inlineExpressions(pendingExpressions);\n    function visit(node2) {\n      if (isBinaryExpression(node2) && node2.operatorToken.kind === 27 /* CommaToken */) {\n        visit(node2.left);\n        visit(node2.right);\n      } else {\n        if (containsYield(node2) && pendingExpressions.length > 0) {\n          emitWorker(1 /* Statement */, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]);\n          pendingExpressions = [];\n        }\n        pendingExpressions.push(visitNode(node2, visitor, isExpression));\n      }\n    }\n  }\n  function visitCommaListExpression(node) {\n    let pendingExpressions = [];\n    for (const elem of node.elements) {\n      if (isBinaryExpression(elem) && elem.operatorToken.kind === 27 /* CommaToken */) {\n        pendingExpressions.push(visitCommaExpression(elem));\n      } else {\n        if (containsYield(elem) && pendingExpressions.length > 0) {\n          emitWorker(1 /* Statement */, [factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions))]);\n          pendingExpressions = [];\n        }\n        pendingExpressions.push(visitNode(elem, visitor, isExpression));\n      }\n    }\n    return factory2.inlineExpressions(pendingExpressions);\n  }\n  function visitLogicalBinaryExpression(node) {\n    const resultLabel = defineLabel();\n    const resultLocal = declareLocal();\n    emitAssignment(resultLocal, visitNode(node.left, visitor, isExpression), node.left);\n    if (node.operatorToken.kind === 55 /* AmpersandAmpersandToken */) {\n      emitBreakWhenFalse(resultLabel, resultLocal, node.left);\n    } else {\n      emitBreakWhenTrue(resultLabel, resultLocal, node.left);\n    }\n    emitAssignment(resultLocal, visitNode(node.right, visitor, isExpression), node.right);\n    markLabel(resultLabel);\n    return resultLocal;\n  }\n  function visitConditionalExpression(node) {\n    if (containsYield(node.whenTrue) || containsYield(node.whenFalse)) {\n      const whenFalseLabel = defineLabel();\n      const resultLabel = defineLabel();\n      const resultLocal = declareLocal();\n      emitBreakWhenFalse(whenFalseLabel, visitNode(node.condition, visitor, isExpression), node.condition);\n      emitAssignment(resultLocal, visitNode(node.whenTrue, visitor, isExpression), node.whenTrue);\n      emitBreak(resultLabel);\n      markLabel(whenFalseLabel);\n      emitAssignment(resultLocal, visitNode(node.whenFalse, visitor, isExpression), node.whenFalse);\n      markLabel(resultLabel);\n      return resultLocal;\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitYieldExpression(node) {\n    const resumeLabel = defineLabel();\n    const expression = visitNode(node.expression, visitor, isExpression);\n    if (node.asteriskToken) {\n      const iterator = (getEmitFlags(node.expression) & 8388608 /* Iterator */) === 0 ? setTextRange(emitHelpers().createValuesHelper(expression), node) : expression;\n      emitYieldStar(iterator, node);\n    } else {\n      emitYield(expression, node);\n    }\n    markLabel(resumeLabel);\n    return createGeneratorResume(node);\n  }\n  function visitArrayLiteralExpression(node) {\n    return visitElements(node.elements, void 0, void 0, node.multiLine);\n  }\n  function visitElements(elements, leadingElement, location, multiLine) {\n    const numInitialElements = countInitialNodesWithoutYield(elements);\n    let temp;\n    if (numInitialElements > 0) {\n      temp = declareLocal();\n      const initialElements = visitNodes2(elements, visitor, isExpression, 0, numInitialElements);\n      emitAssignment(\n        temp,\n        factory2.createArrayLiteralExpression(\n          leadingElement ? [leadingElement, ...initialElements] : initialElements\n        )\n      );\n      leadingElement = void 0;\n    }\n    const expressions = reduceLeft(elements, reduceElement, [], numInitialElements);\n    return temp ? factory2.createArrayConcatCall(temp, [factory2.createArrayLiteralExpression(expressions, multiLine)]) : setTextRange(\n      factory2.createArrayLiteralExpression(leadingElement ? [leadingElement, ...expressions] : expressions, multiLine),\n      location\n    );\n    function reduceElement(expressions2, element) {\n      if (containsYield(element) && expressions2.length > 0) {\n        const hasAssignedTemp = temp !== void 0;\n        if (!temp) {\n          temp = declareLocal();\n        }\n        emitAssignment(\n          temp,\n          hasAssignedTemp ? factory2.createArrayConcatCall(\n            temp,\n            [factory2.createArrayLiteralExpression(expressions2, multiLine)]\n          ) : factory2.createArrayLiteralExpression(\n            leadingElement ? [leadingElement, ...expressions2] : expressions2,\n            multiLine\n          )\n        );\n        leadingElement = void 0;\n        expressions2 = [];\n      }\n      expressions2.push(visitNode(element, visitor, isExpression));\n      return expressions2;\n    }\n  }\n  function visitObjectLiteralExpression(node) {\n    const properties = node.properties;\n    const multiLine = node.multiLine;\n    const numInitialProperties = countInitialNodesWithoutYield(properties);\n    const temp = declareLocal();\n    emitAssignment(\n      temp,\n      factory2.createObjectLiteralExpression(\n        visitNodes2(properties, visitor, isObjectLiteralElementLike, 0, numInitialProperties),\n        multiLine\n      )\n    );\n    const expressions = reduceLeft(properties, reduceProperty, [], numInitialProperties);\n    expressions.push(multiLine ? startOnNewLine(setParent(setTextRange(factory2.cloneNode(temp), temp), temp.parent)) : temp);\n    return factory2.inlineExpressions(expressions);\n    function reduceProperty(expressions2, property) {\n      if (containsYield(property) && expressions2.length > 0) {\n        emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(expressions2)));\n        expressions2 = [];\n      }\n      const expression = createExpressionForObjectLiteralElementLike(factory2, node, property, temp);\n      const visited = visitNode(expression, visitor, isExpression);\n      if (visited) {\n        if (multiLine) {\n          startOnNewLine(visited);\n        }\n        expressions2.push(visited);\n      }\n      return expressions2;\n    }\n  }\n  function visitElementAccessExpression(node) {\n    if (containsYield(node.argumentExpression)) {\n      return factory2.updateElementAccessExpression(\n        node,\n        cacheExpression(visitNode(node.expression, visitor, isLeftHandSideExpression)),\n        visitNode(node.argumentExpression, visitor, isExpression)\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitCallExpression(node) {\n    if (!isImportCall(node) && forEach(node.arguments, containsYield)) {\n      const { target, thisArg } = factory2.createCallBinding(node.expression, hoistVariableDeclaration, languageVersion, true);\n      return setOriginalNode(\n        setTextRange(\n          factory2.createFunctionApplyCall(\n            cacheExpression(visitNode(target, visitor, isLeftHandSideExpression)),\n            thisArg,\n            visitElements(node.arguments)\n          ),\n          node\n        ),\n        node\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitNewExpression(node) {\n    if (forEach(node.arguments, containsYield)) {\n      const { target, thisArg } = factory2.createCallBinding(factory2.createPropertyAccessExpression(node.expression, \"bind\"), hoistVariableDeclaration);\n      return setOriginalNode(\n        setTextRange(\n          factory2.createNewExpression(\n            factory2.createFunctionApplyCall(\n              cacheExpression(visitNode(target, visitor, isExpression)),\n              thisArg,\n              visitElements(\n                node.arguments,\n                factory2.createVoidZero()\n              )\n            ),\n            void 0,\n            []\n          ),\n          node\n        ),\n        node\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function transformAndEmitStatements(statements2, start = 0) {\n    const numStatements = statements2.length;\n    for (let i = start; i < numStatements; i++) {\n      transformAndEmitStatement(statements2[i]);\n    }\n  }\n  function transformAndEmitEmbeddedStatement(node) {\n    if (isBlock(node)) {\n      transformAndEmitStatements(node.statements);\n    } else {\n      transformAndEmitStatement(node);\n    }\n  }\n  function transformAndEmitStatement(node) {\n    const savedInStatementContainingYield = inStatementContainingYield;\n    if (!inStatementContainingYield) {\n      inStatementContainingYield = containsYield(node);\n    }\n    transformAndEmitStatementWorker(node);\n    inStatementContainingYield = savedInStatementContainingYield;\n  }\n  function transformAndEmitStatementWorker(node) {\n    switch (node.kind) {\n      case 242 /* Block */:\n        return transformAndEmitBlock(node);\n      case 245 /* ExpressionStatement */:\n        return transformAndEmitExpressionStatement(node);\n      case 246 /* IfStatement */:\n        return transformAndEmitIfStatement(node);\n      case 247 /* DoStatement */:\n        return transformAndEmitDoStatement(node);\n      case 248 /* WhileStatement */:\n        return transformAndEmitWhileStatement(node);\n      case 249 /* ForStatement */:\n        return transformAndEmitForStatement(node);\n      case 250 /* ForInStatement */:\n        return transformAndEmitForInStatement(node);\n      case 252 /* ContinueStatement */:\n        return transformAndEmitContinueStatement(node);\n      case 253 /* BreakStatement */:\n        return transformAndEmitBreakStatement(node);\n      case 254 /* ReturnStatement */:\n        return transformAndEmitReturnStatement(node);\n      case 255 /* WithStatement */:\n        return transformAndEmitWithStatement(node);\n      case 256 /* SwitchStatement */:\n        return transformAndEmitSwitchStatement(node);\n      case 257 /* LabeledStatement */:\n        return transformAndEmitLabeledStatement(node);\n      case 258 /* ThrowStatement */:\n        return transformAndEmitThrowStatement(node);\n      case 259 /* TryStatement */:\n        return transformAndEmitTryStatement(node);\n      default:\n        return emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function transformAndEmitBlock(node) {\n    if (containsYield(node)) {\n      transformAndEmitStatements(node.statements);\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function transformAndEmitExpressionStatement(node) {\n    emitStatement(visitNode(node, visitor, isStatement));\n  }\n  function transformAndEmitVariableDeclarationList(node) {\n    for (const variable of node.declarations) {\n      const name = factory2.cloneNode(variable.name);\n      setCommentRange(name, variable.name);\n      hoistVariableDeclaration(name);\n    }\n    const variables = getInitializedVariables(node);\n    const numVariables = variables.length;\n    let variablesWritten = 0;\n    let pendingExpressions = [];\n    while (variablesWritten < numVariables) {\n      for (let i = variablesWritten; i < numVariables; i++) {\n        const variable = variables[i];\n        if (containsYield(variable.initializer) && pendingExpressions.length > 0) {\n          break;\n        }\n        pendingExpressions.push(transformInitializedVariable(variable));\n      }\n      if (pendingExpressions.length) {\n        emitStatement(factory2.createExpressionStatement(factory2.inlineExpressions(pendingExpressions)));\n        variablesWritten += pendingExpressions.length;\n        pendingExpressions = [];\n      }\n    }\n    return void 0;\n  }\n  function transformInitializedVariable(node) {\n    return setSourceMapRange(\n      factory2.createAssignment(\n        setSourceMapRange(factory2.cloneNode(node.name), node.name),\n        visitNode(node.initializer, visitor, isExpression)\n      ),\n      node\n    );\n  }\n  function transformAndEmitIfStatement(node) {\n    if (containsYield(node)) {\n      if (containsYield(node.thenStatement) || containsYield(node.elseStatement)) {\n        const endLabel = defineLabel();\n        const elseLabel = node.elseStatement ? defineLabel() : void 0;\n        emitBreakWhenFalse(node.elseStatement ? elseLabel : endLabel, visitNode(node.expression, visitor, isExpression), node.expression);\n        transformAndEmitEmbeddedStatement(node.thenStatement);\n        if (node.elseStatement) {\n          emitBreak(endLabel);\n          markLabel(elseLabel);\n          transformAndEmitEmbeddedStatement(node.elseStatement);\n        }\n        markLabel(endLabel);\n      } else {\n        emitStatement(visitNode(node, visitor, isStatement));\n      }\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function transformAndEmitDoStatement(node) {\n    if (containsYield(node)) {\n      const conditionLabel = defineLabel();\n      const loopLabel = defineLabel();\n      beginLoopBlock(conditionLabel);\n      markLabel(loopLabel);\n      transformAndEmitEmbeddedStatement(node.statement);\n      markLabel(conditionLabel);\n      emitBreakWhenTrue(loopLabel, visitNode(node.expression, visitor, isExpression));\n      endLoopBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function visitDoStatement(node) {\n    if (inStatementContainingYield) {\n      beginScriptLoopBlock();\n      node = visitEachChild(node, visitor, context);\n      endLoopBlock();\n      return node;\n    } else {\n      return visitEachChild(node, visitor, context);\n    }\n  }\n  function transformAndEmitWhileStatement(node) {\n    if (containsYield(node)) {\n      const loopLabel = defineLabel();\n      const endLabel = beginLoopBlock(loopLabel);\n      markLabel(loopLabel);\n      emitBreakWhenFalse(endLabel, visitNode(node.expression, visitor, isExpression));\n      transformAndEmitEmbeddedStatement(node.statement);\n      emitBreak(loopLabel);\n      endLoopBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function visitWhileStatement(node) {\n    if (inStatementContainingYield) {\n      beginScriptLoopBlock();\n      node = visitEachChild(node, visitor, context);\n      endLoopBlock();\n      return node;\n    } else {\n      return visitEachChild(node, visitor, context);\n    }\n  }\n  function transformAndEmitForStatement(node) {\n    if (containsYield(node)) {\n      const conditionLabel = defineLabel();\n      const incrementLabel = defineLabel();\n      const endLabel = beginLoopBlock(incrementLabel);\n      if (node.initializer) {\n        const initializer = node.initializer;\n        if (isVariableDeclarationList(initializer)) {\n          transformAndEmitVariableDeclarationList(initializer);\n        } else {\n          emitStatement(\n            setTextRange(\n              factory2.createExpressionStatement(\n                visitNode(initializer, visitor, isExpression)\n              ),\n              initializer\n            )\n          );\n        }\n      }\n      markLabel(conditionLabel);\n      if (node.condition) {\n        emitBreakWhenFalse(endLabel, visitNode(node.condition, visitor, isExpression));\n      }\n      transformAndEmitEmbeddedStatement(node.statement);\n      markLabel(incrementLabel);\n      if (node.incrementor) {\n        emitStatement(\n          setTextRange(\n            factory2.createExpressionStatement(\n              visitNode(node.incrementor, visitor, isExpression)\n            ),\n            node.incrementor\n          )\n        );\n      }\n      emitBreak(conditionLabel);\n      endLoopBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function visitForStatement(node) {\n    if (inStatementContainingYield) {\n      beginScriptLoopBlock();\n    }\n    const initializer = node.initializer;\n    if (initializer && isVariableDeclarationList(initializer)) {\n      for (const variable of initializer.declarations) {\n        hoistVariableDeclaration(variable.name);\n      }\n      const variables = getInitializedVariables(initializer);\n      node = factory2.updateForStatement(\n        node,\n        variables.length > 0 ? factory2.inlineExpressions(map(variables, transformInitializedVariable)) : void 0,\n        visitNode(node.condition, visitor, isExpression),\n        visitNode(node.incrementor, visitor, isExpression),\n        visitIterationBody(node.statement, visitor, context)\n      );\n    } else {\n      node = visitEachChild(node, visitor, context);\n    }\n    if (inStatementContainingYield) {\n      endLoopBlock();\n    }\n    return node;\n  }\n  function transformAndEmitForInStatement(node) {\n    if (containsYield(node)) {\n      const obj = declareLocal();\n      const keysArray = declareLocal();\n      const key = declareLocal();\n      const keysIndex = factory2.createLoopVariable();\n      const initializer = node.initializer;\n      hoistVariableDeclaration(keysIndex);\n      emitAssignment(obj, visitNode(node.expression, visitor, isExpression));\n      emitAssignment(keysArray, factory2.createArrayLiteralExpression());\n      emitStatement(\n        factory2.createForInStatement(\n          key,\n          obj,\n          factory2.createExpressionStatement(\n            factory2.createCallExpression(\n              factory2.createPropertyAccessExpression(keysArray, \"push\"),\n              void 0,\n              [key]\n            )\n          )\n        )\n      );\n      emitAssignment(keysIndex, factory2.createNumericLiteral(0));\n      const conditionLabel = defineLabel();\n      const incrementLabel = defineLabel();\n      const endLoopLabel = beginLoopBlock(incrementLabel);\n      markLabel(conditionLabel);\n      emitBreakWhenFalse(endLoopLabel, factory2.createLessThan(keysIndex, factory2.createPropertyAccessExpression(keysArray, \"length\")));\n      emitAssignment(key, factory2.createElementAccessExpression(keysArray, keysIndex));\n      emitBreakWhenFalse(incrementLabel, factory2.createBinaryExpression(key, 102 /* InKeyword */, obj));\n      let variable;\n      if (isVariableDeclarationList(initializer)) {\n        for (const variable2 of initializer.declarations) {\n          hoistVariableDeclaration(variable2.name);\n        }\n        variable = factory2.cloneNode(initializer.declarations[0].name);\n      } else {\n        variable = visitNode(initializer, visitor, isExpression);\n        Debug.assert(isLeftHandSideExpression(variable));\n      }\n      emitAssignment(variable, key);\n      transformAndEmitEmbeddedStatement(node.statement);\n      markLabel(incrementLabel);\n      emitStatement(factory2.createExpressionStatement(factory2.createPostfixIncrement(keysIndex)));\n      emitBreak(conditionLabel);\n      endLoopBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function visitForInStatement(node) {\n    if (inStatementContainingYield) {\n      beginScriptLoopBlock();\n    }\n    const initializer = node.initializer;\n    if (isVariableDeclarationList(initializer)) {\n      for (const variable of initializer.declarations) {\n        hoistVariableDeclaration(variable.name);\n      }\n      node = factory2.updateForInStatement(\n        node,\n        initializer.declarations[0].name,\n        visitNode(node.expression, visitor, isExpression),\n        visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)\n      );\n    } else {\n      node = visitEachChild(node, visitor, context);\n    }\n    if (inStatementContainingYield) {\n      endLoopBlock();\n    }\n    return node;\n  }\n  function transformAndEmitContinueStatement(node) {\n    const label = findContinueTarget(node.label ? idText(node.label) : void 0);\n    if (label > 0) {\n      emitBreak(label, node);\n    } else {\n      emitStatement(node);\n    }\n  }\n  function visitContinueStatement(node) {\n    if (inStatementContainingYield) {\n      const label = findContinueTarget(node.label && idText(node.label));\n      if (label > 0) {\n        return createInlineBreak(label, node);\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function transformAndEmitBreakStatement(node) {\n    const label = findBreakTarget(node.label ? idText(node.label) : void 0);\n    if (label > 0) {\n      emitBreak(label, node);\n    } else {\n      emitStatement(node);\n    }\n  }\n  function visitBreakStatement(node) {\n    if (inStatementContainingYield) {\n      const label = findBreakTarget(node.label && idText(node.label));\n      if (label > 0) {\n        return createInlineBreak(label, node);\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function transformAndEmitReturnStatement(node) {\n    emitReturn(\n      visitNode(node.expression, visitor, isExpression),\n      node\n    );\n  }\n  function visitReturnStatement(node) {\n    return createInlineReturn(\n      visitNode(node.expression, visitor, isExpression),\n      node\n    );\n  }\n  function transformAndEmitWithStatement(node) {\n    if (containsYield(node)) {\n      beginWithBlock(cacheExpression(visitNode(node.expression, visitor, isExpression)));\n      transformAndEmitEmbeddedStatement(node.statement);\n      endWithBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function transformAndEmitSwitchStatement(node) {\n    if (containsYield(node.caseBlock)) {\n      const caseBlock = node.caseBlock;\n      const numClauses = caseBlock.clauses.length;\n      const endLabel = beginSwitchBlock();\n      const expression = cacheExpression(visitNode(node.expression, visitor, isExpression));\n      const clauseLabels = [];\n      let defaultClauseIndex = -1;\n      for (let i = 0; i < numClauses; i++) {\n        const clause = caseBlock.clauses[i];\n        clauseLabels.push(defineLabel());\n        if (clause.kind === 299 /* DefaultClause */ && defaultClauseIndex === -1) {\n          defaultClauseIndex = i;\n        }\n      }\n      let clausesWritten = 0;\n      let pendingClauses = [];\n      while (clausesWritten < numClauses) {\n        let defaultClausesSkipped = 0;\n        for (let i = clausesWritten; i < numClauses; i++) {\n          const clause = caseBlock.clauses[i];\n          if (clause.kind === 298 /* CaseClause */) {\n            if (containsYield(clause.expression) && pendingClauses.length > 0) {\n              break;\n            }\n            pendingClauses.push(\n              factory2.createCaseClause(\n                visitNode(clause.expression, visitor, isExpression),\n                [\n                  createInlineBreak(clauseLabels[i], clause.expression)\n                ]\n              )\n            );\n          } else {\n            defaultClausesSkipped++;\n          }\n        }\n        if (pendingClauses.length) {\n          emitStatement(factory2.createSwitchStatement(expression, factory2.createCaseBlock(pendingClauses)));\n          clausesWritten += pendingClauses.length;\n          pendingClauses = [];\n        }\n        if (defaultClausesSkipped > 0) {\n          clausesWritten += defaultClausesSkipped;\n          defaultClausesSkipped = 0;\n        }\n      }\n      if (defaultClauseIndex >= 0) {\n        emitBreak(clauseLabels[defaultClauseIndex]);\n      } else {\n        emitBreak(endLabel);\n      }\n      for (let i = 0; i < numClauses; i++) {\n        markLabel(clauseLabels[i]);\n        transformAndEmitStatements(caseBlock.clauses[i].statements);\n      }\n      endSwitchBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function visitSwitchStatement(node) {\n    if (inStatementContainingYield) {\n      beginScriptSwitchBlock();\n    }\n    node = visitEachChild(node, visitor, context);\n    if (inStatementContainingYield) {\n      endSwitchBlock();\n    }\n    return node;\n  }\n  function transformAndEmitLabeledStatement(node) {\n    if (containsYield(node)) {\n      beginLabeledBlock(idText(node.label));\n      transformAndEmitEmbeddedStatement(node.statement);\n      endLabeledBlock();\n    } else {\n      emitStatement(visitNode(node, visitor, isStatement));\n    }\n  }\n  function visitLabeledStatement(node) {\n    if (inStatementContainingYield) {\n      beginScriptLabeledBlock(idText(node.label));\n    }\n    node = visitEachChild(node, visitor, context);\n    if (inStatementContainingYield) {\n      endLabeledBlock();\n    }\n    return node;\n  }\n  function transformAndEmitThrowStatement(node) {\n    var _a2;\n    emitThrow(\n      visitNode((_a2 = node.expression) != null ? _a2 : factory2.createVoidZero(), visitor, isExpression),\n      node\n    );\n  }\n  function transformAndEmitTryStatement(node) {\n    if (containsYield(node)) {\n      beginExceptionBlock();\n      transformAndEmitEmbeddedStatement(node.tryBlock);\n      if (node.catchClause) {\n        beginCatchBlock(node.catchClause.variableDeclaration);\n        transformAndEmitEmbeddedStatement(node.catchClause.block);\n      }\n      if (node.finallyBlock) {\n        beginFinallyBlock();\n        transformAndEmitEmbeddedStatement(node.finallyBlock);\n      }\n      endExceptionBlock();\n    } else {\n      emitStatement(visitEachChild(node, visitor, context));\n    }\n  }\n  function containsYield(node) {\n    return !!node && (node.transformFlags & 1048576 /* ContainsYield */) !== 0;\n  }\n  function countInitialNodesWithoutYield(nodes) {\n    const numNodes = nodes.length;\n    for (let i = 0; i < numNodes; i++) {\n      if (containsYield(nodes[i])) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    if (isIdentifier(node)) {\n      return substituteExpressionIdentifier(node);\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    if (!isGeneratedIdentifier(node) && renamedCatchVariables && renamedCatchVariables.has(idText(node))) {\n      const original = getOriginalNode(node);\n      if (isIdentifier(original) && original.parent) {\n        const declaration = resolver.getReferencedValueDeclaration(original);\n        if (declaration) {\n          const name = renamedCatchVariableDeclarations[getOriginalNodeId(declaration)];\n          if (name) {\n            const clone2 = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);\n            setSourceMapRange(clone2, node);\n            setCommentRange(clone2, node);\n            return clone2;\n          }\n        }\n      }\n    }\n    return node;\n  }\n  function cacheExpression(node) {\n    if (isGeneratedIdentifier(node) || getEmitFlags(node) & 4096 /* HelperName */) {\n      return node;\n    }\n    const temp = factory2.createTempVariable(hoistVariableDeclaration);\n    emitAssignment(temp, node, node);\n    return temp;\n  }\n  function declareLocal(name) {\n    const temp = name ? factory2.createUniqueName(name) : factory2.createTempVariable(void 0);\n    hoistVariableDeclaration(temp);\n    return temp;\n  }\n  function defineLabel() {\n    if (!labelOffsets) {\n      labelOffsets = [];\n    }\n    const label = nextLabelId;\n    nextLabelId++;\n    labelOffsets[label] = -1;\n    return label;\n  }\n  function markLabel(label) {\n    Debug.assert(labelOffsets !== void 0, \"No labels were defined.\");\n    labelOffsets[label] = operations ? operations.length : 0;\n  }\n  function beginBlock(block) {\n    if (!blocks) {\n      blocks = [];\n      blockActions = [];\n      blockOffsets = [];\n      blockStack = [];\n    }\n    const index = blockActions.length;\n    blockActions[index] = 0 /* Open */;\n    blockOffsets[index] = operations ? operations.length : 0;\n    blocks[index] = block;\n    blockStack.push(block);\n    return index;\n  }\n  function endBlock() {\n    const block = peekBlock();\n    if (block === void 0)\n      return Debug.fail(\"beginBlock was never called.\");\n    const index = blockActions.length;\n    blockActions[index] = 1 /* Close */;\n    blockOffsets[index] = operations ? operations.length : 0;\n    blocks[index] = block;\n    blockStack.pop();\n    return block;\n  }\n  function peekBlock() {\n    return lastOrUndefined(blockStack);\n  }\n  function peekBlockKind() {\n    const block = peekBlock();\n    return block && block.kind;\n  }\n  function beginWithBlock(expression) {\n    const startLabel = defineLabel();\n    const endLabel = defineLabel();\n    markLabel(startLabel);\n    beginBlock({\n      kind: 1 /* With */,\n      expression,\n      startLabel,\n      endLabel\n    });\n  }\n  function endWithBlock() {\n    Debug.assert(peekBlockKind() === 1 /* With */);\n    const block = endBlock();\n    markLabel(block.endLabel);\n  }\n  function beginExceptionBlock() {\n    const startLabel = defineLabel();\n    const endLabel = defineLabel();\n    markLabel(startLabel);\n    beginBlock({\n      kind: 0 /* Exception */,\n      state: 0 /* Try */,\n      startLabel,\n      endLabel\n    });\n    emitNop();\n    return endLabel;\n  }\n  function beginCatchBlock(variable) {\n    Debug.assert(peekBlockKind() === 0 /* Exception */);\n    let name;\n    if (isGeneratedIdentifier(variable.name)) {\n      name = variable.name;\n      hoistVariableDeclaration(variable.name);\n    } else {\n      const text = idText(variable.name);\n      name = declareLocal(text);\n      if (!renamedCatchVariables) {\n        renamedCatchVariables = new Map2();\n        renamedCatchVariableDeclarations = [];\n        context.enableSubstitution(79 /* Identifier */);\n      }\n      renamedCatchVariables.set(text, true);\n      renamedCatchVariableDeclarations[getOriginalNodeId(variable)] = name;\n    }\n    const exception = peekBlock();\n    Debug.assert(exception.state < 1 /* Catch */);\n    const endLabel = exception.endLabel;\n    emitBreak(endLabel);\n    const catchLabel = defineLabel();\n    markLabel(catchLabel);\n    exception.state = 1 /* Catch */;\n    exception.catchVariable = name;\n    exception.catchLabel = catchLabel;\n    emitAssignment(name, factory2.createCallExpression(factory2.createPropertyAccessExpression(state, \"sent\"), void 0, []));\n    emitNop();\n  }\n  function beginFinallyBlock() {\n    Debug.assert(peekBlockKind() === 0 /* Exception */);\n    const exception = peekBlock();\n    Debug.assert(exception.state < 2 /* Finally */);\n    const endLabel = exception.endLabel;\n    emitBreak(endLabel);\n    const finallyLabel = defineLabel();\n    markLabel(finallyLabel);\n    exception.state = 2 /* Finally */;\n    exception.finallyLabel = finallyLabel;\n  }\n  function endExceptionBlock() {\n    Debug.assert(peekBlockKind() === 0 /* Exception */);\n    const exception = endBlock();\n    const state2 = exception.state;\n    if (state2 < 2 /* Finally */) {\n      emitBreak(exception.endLabel);\n    } else {\n      emitEndfinally();\n    }\n    markLabel(exception.endLabel);\n    emitNop();\n    exception.state = 3 /* Done */;\n  }\n  function beginScriptLoopBlock() {\n    beginBlock({\n      kind: 3 /* Loop */,\n      isScript: true,\n      breakLabel: -1,\n      continueLabel: -1\n    });\n  }\n  function beginLoopBlock(continueLabel) {\n    const breakLabel = defineLabel();\n    beginBlock({\n      kind: 3 /* Loop */,\n      isScript: false,\n      breakLabel,\n      continueLabel\n    });\n    return breakLabel;\n  }\n  function endLoopBlock() {\n    Debug.assert(peekBlockKind() === 3 /* Loop */);\n    const block = endBlock();\n    const breakLabel = block.breakLabel;\n    if (!block.isScript) {\n      markLabel(breakLabel);\n    }\n  }\n  function beginScriptSwitchBlock() {\n    beginBlock({\n      kind: 2 /* Switch */,\n      isScript: true,\n      breakLabel: -1\n    });\n  }\n  function beginSwitchBlock() {\n    const breakLabel = defineLabel();\n    beginBlock({\n      kind: 2 /* Switch */,\n      isScript: false,\n      breakLabel\n    });\n    return breakLabel;\n  }\n  function endSwitchBlock() {\n    Debug.assert(peekBlockKind() === 2 /* Switch */);\n    const block = endBlock();\n    const breakLabel = block.breakLabel;\n    if (!block.isScript) {\n      markLabel(breakLabel);\n    }\n  }\n  function beginScriptLabeledBlock(labelText) {\n    beginBlock({\n      kind: 4 /* Labeled */,\n      isScript: true,\n      labelText,\n      breakLabel: -1\n    });\n  }\n  function beginLabeledBlock(labelText) {\n    const breakLabel = defineLabel();\n    beginBlock({\n      kind: 4 /* Labeled */,\n      isScript: false,\n      labelText,\n      breakLabel\n    });\n  }\n  function endLabeledBlock() {\n    Debug.assert(peekBlockKind() === 4 /* Labeled */);\n    const block = endBlock();\n    if (!block.isScript) {\n      markLabel(block.breakLabel);\n    }\n  }\n  function supportsUnlabeledBreak(block) {\n    return block.kind === 2 /* Switch */ || block.kind === 3 /* Loop */;\n  }\n  function supportsLabeledBreakOrContinue(block) {\n    return block.kind === 4 /* Labeled */;\n  }\n  function supportsUnlabeledContinue(block) {\n    return block.kind === 3 /* Loop */;\n  }\n  function hasImmediateContainingLabeledBlock(labelText, start) {\n    for (let j = start; j >= 0; j--) {\n      const containingBlock = blockStack[j];\n      if (supportsLabeledBreakOrContinue(containingBlock)) {\n        if (containingBlock.labelText === labelText) {\n          return true;\n        }\n      } else {\n        break;\n      }\n    }\n    return false;\n  }\n  function findBreakTarget(labelText) {\n    if (blockStack) {\n      if (labelText) {\n        for (let i = blockStack.length - 1; i >= 0; i--) {\n          const block = blockStack[i];\n          if (supportsLabeledBreakOrContinue(block) && block.labelText === labelText) {\n            return block.breakLabel;\n          } else if (supportsUnlabeledBreak(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) {\n            return block.breakLabel;\n          }\n        }\n      } else {\n        for (let i = blockStack.length - 1; i >= 0; i--) {\n          const block = blockStack[i];\n          if (supportsUnlabeledBreak(block)) {\n            return block.breakLabel;\n          }\n        }\n      }\n    }\n    return 0;\n  }\n  function findContinueTarget(labelText) {\n    if (blockStack) {\n      if (labelText) {\n        for (let i = blockStack.length - 1; i >= 0; i--) {\n          const block = blockStack[i];\n          if (supportsUnlabeledContinue(block) && hasImmediateContainingLabeledBlock(labelText, i - 1)) {\n            return block.continueLabel;\n          }\n        }\n      } else {\n        for (let i = blockStack.length - 1; i >= 0; i--) {\n          const block = blockStack[i];\n          if (supportsUnlabeledContinue(block)) {\n            return block.continueLabel;\n          }\n        }\n      }\n    }\n    return 0;\n  }\n  function createLabel2(label) {\n    if (label !== void 0 && label > 0) {\n      if (labelExpressions === void 0) {\n        labelExpressions = [];\n      }\n      const expression = factory2.createNumericLiteral(-1);\n      if (labelExpressions[label] === void 0) {\n        labelExpressions[label] = [expression];\n      } else {\n        labelExpressions[label].push(expression);\n      }\n      return expression;\n    }\n    return factory2.createOmittedExpression();\n  }\n  function createInstruction(instruction) {\n    const literal = factory2.createNumericLiteral(instruction);\n    addSyntheticTrailingComment(literal, 3 /* MultiLineCommentTrivia */, getInstructionName(instruction));\n    return literal;\n  }\n  function createInlineBreak(label, location) {\n    Debug.assertLessThan(0, label, \"Invalid label\");\n    return setTextRange(\n      factory2.createReturnStatement(\n        factory2.createArrayLiteralExpression([\n          createInstruction(3 /* Break */),\n          createLabel2(label)\n        ])\n      ),\n      location\n    );\n  }\n  function createInlineReturn(expression, location) {\n    return setTextRange(\n      factory2.createReturnStatement(\n        factory2.createArrayLiteralExpression(\n          expression ? [createInstruction(2 /* Return */), expression] : [createInstruction(2 /* Return */)]\n        )\n      ),\n      location\n    );\n  }\n  function createGeneratorResume(location) {\n    return setTextRange(\n      factory2.createCallExpression(\n        factory2.createPropertyAccessExpression(state, \"sent\"),\n        void 0,\n        []\n      ),\n      location\n    );\n  }\n  function emitNop() {\n    emitWorker(0 /* Nop */);\n  }\n  function emitStatement(node) {\n    if (node) {\n      emitWorker(1 /* Statement */, [node]);\n    } else {\n      emitNop();\n    }\n  }\n  function emitAssignment(left, right, location) {\n    emitWorker(2 /* Assign */, [left, right], location);\n  }\n  function emitBreak(label, location) {\n    emitWorker(3 /* Break */, [label], location);\n  }\n  function emitBreakWhenTrue(label, condition, location) {\n    emitWorker(4 /* BreakWhenTrue */, [label, condition], location);\n  }\n  function emitBreakWhenFalse(label, condition, location) {\n    emitWorker(5 /* BreakWhenFalse */, [label, condition], location);\n  }\n  function emitYieldStar(expression, location) {\n    emitWorker(7 /* YieldStar */, [expression], location);\n  }\n  function emitYield(expression, location) {\n    emitWorker(6 /* Yield */, [expression], location);\n  }\n  function emitReturn(expression, location) {\n    emitWorker(8 /* Return */, [expression], location);\n  }\n  function emitThrow(expression, location) {\n    emitWorker(9 /* Throw */, [expression], location);\n  }\n  function emitEndfinally() {\n    emitWorker(10 /* Endfinally */);\n  }\n  function emitWorker(code, args, location) {\n    if (operations === void 0) {\n      operations = [];\n      operationArguments = [];\n      operationLocations = [];\n    }\n    if (labelOffsets === void 0) {\n      markLabel(defineLabel());\n    }\n    const operationIndex = operations.length;\n    operations[operationIndex] = code;\n    operationArguments[operationIndex] = args;\n    operationLocations[operationIndex] = location;\n  }\n  function build2() {\n    blockIndex = 0;\n    labelNumber = 0;\n    labelNumbers = void 0;\n    lastOperationWasAbrupt = false;\n    lastOperationWasCompletion = false;\n    clauses = void 0;\n    statements = void 0;\n    exceptionBlockStack = void 0;\n    currentExceptionBlock = void 0;\n    withBlockStack = void 0;\n    const buildResult = buildStatements();\n    return emitHelpers().createGeneratorHelper(\n      setEmitFlags(\n        factory2.createFunctionExpression(\n          void 0,\n          void 0,\n          void 0,\n          void 0,\n          [factory2.createParameterDeclaration(void 0, void 0, state)],\n          void 0,\n          factory2.createBlock(\n            buildResult,\n            buildResult.length > 0\n          )\n        ),\n        524288 /* ReuseTempVariableScope */\n      )\n    );\n  }\n  function buildStatements() {\n    if (operations) {\n      for (let operationIndex = 0; operationIndex < operations.length; operationIndex++) {\n        writeOperation(operationIndex);\n      }\n      flushFinalLabel(operations.length);\n    } else {\n      flushFinalLabel(0);\n    }\n    if (clauses) {\n      const labelExpression = factory2.createPropertyAccessExpression(state, \"label\");\n      const switchStatement = factory2.createSwitchStatement(labelExpression, factory2.createCaseBlock(clauses));\n      return [startOnNewLine(switchStatement)];\n    }\n    if (statements) {\n      return statements;\n    }\n    return [];\n  }\n  function flushLabel() {\n    if (!statements) {\n      return;\n    }\n    appendLabel(!lastOperationWasAbrupt);\n    lastOperationWasAbrupt = false;\n    lastOperationWasCompletion = false;\n    labelNumber++;\n  }\n  function flushFinalLabel(operationIndex) {\n    if (isFinalLabelReachable(operationIndex)) {\n      tryEnterLabel(operationIndex);\n      withBlockStack = void 0;\n      writeReturn(void 0, void 0);\n    }\n    if (statements && clauses) {\n      appendLabel(false);\n    }\n    updateLabelExpressions();\n  }\n  function isFinalLabelReachable(operationIndex) {\n    if (!lastOperationWasCompletion) {\n      return true;\n    }\n    if (!labelOffsets || !labelExpressions) {\n      return false;\n    }\n    for (let label = 0; label < labelOffsets.length; label++) {\n      if (labelOffsets[label] === operationIndex && labelExpressions[label]) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function appendLabel(markLabelEnd) {\n    if (!clauses) {\n      clauses = [];\n    }\n    if (statements) {\n      if (withBlockStack) {\n        for (let i = withBlockStack.length - 1; i >= 0; i--) {\n          const withBlock = withBlockStack[i];\n          statements = [factory2.createWithStatement(withBlock.expression, factory2.createBlock(statements))];\n        }\n      }\n      if (currentExceptionBlock) {\n        const { startLabel, catchLabel, finallyLabel, endLabel } = currentExceptionBlock;\n        statements.unshift(\n          factory2.createExpressionStatement(\n            factory2.createCallExpression(\n              factory2.createPropertyAccessExpression(factory2.createPropertyAccessExpression(state, \"trys\"), \"push\"),\n              void 0,\n              [\n                factory2.createArrayLiteralExpression([\n                  createLabel2(startLabel),\n                  createLabel2(catchLabel),\n                  createLabel2(finallyLabel),\n                  createLabel2(endLabel)\n                ])\n              ]\n            )\n          )\n        );\n        currentExceptionBlock = void 0;\n      }\n      if (markLabelEnd) {\n        statements.push(\n          factory2.createExpressionStatement(\n            factory2.createAssignment(\n              factory2.createPropertyAccessExpression(state, \"label\"),\n              factory2.createNumericLiteral(labelNumber + 1)\n            )\n          )\n        );\n      }\n    }\n    clauses.push(\n      factory2.createCaseClause(\n        factory2.createNumericLiteral(labelNumber),\n        statements || []\n      )\n    );\n    statements = void 0;\n  }\n  function tryEnterLabel(operationIndex) {\n    if (!labelOffsets) {\n      return;\n    }\n    for (let label = 0; label < labelOffsets.length; label++) {\n      if (labelOffsets[label] === operationIndex) {\n        flushLabel();\n        if (labelNumbers === void 0) {\n          labelNumbers = [];\n        }\n        if (labelNumbers[labelNumber] === void 0) {\n          labelNumbers[labelNumber] = [label];\n        } else {\n          labelNumbers[labelNumber].push(label);\n        }\n      }\n    }\n  }\n  function updateLabelExpressions() {\n    if (labelExpressions !== void 0 && labelNumbers !== void 0) {\n      for (let labelNumber2 = 0; labelNumber2 < labelNumbers.length; labelNumber2++) {\n        const labels = labelNumbers[labelNumber2];\n        if (labels !== void 0) {\n          for (const label of labels) {\n            const expressions = labelExpressions[label];\n            if (expressions !== void 0) {\n              for (const expression of expressions) {\n                expression.text = String(labelNumber2);\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  function tryEnterOrLeaveBlock(operationIndex) {\n    if (blocks) {\n      for (; blockIndex < blockActions.length && blockOffsets[blockIndex] <= operationIndex; blockIndex++) {\n        const block = blocks[blockIndex];\n        const blockAction = blockActions[blockIndex];\n        switch (block.kind) {\n          case 0 /* Exception */:\n            if (blockAction === 0 /* Open */) {\n              if (!exceptionBlockStack) {\n                exceptionBlockStack = [];\n              }\n              if (!statements) {\n                statements = [];\n              }\n              exceptionBlockStack.push(currentExceptionBlock);\n              currentExceptionBlock = block;\n            } else if (blockAction === 1 /* Close */) {\n              currentExceptionBlock = exceptionBlockStack.pop();\n            }\n            break;\n          case 1 /* With */:\n            if (blockAction === 0 /* Open */) {\n              if (!withBlockStack) {\n                withBlockStack = [];\n              }\n              withBlockStack.push(block);\n            } else if (blockAction === 1 /* Close */) {\n              withBlockStack.pop();\n            }\n            break;\n        }\n      }\n    }\n  }\n  function writeOperation(operationIndex) {\n    tryEnterLabel(operationIndex);\n    tryEnterOrLeaveBlock(operationIndex);\n    if (lastOperationWasAbrupt) {\n      return;\n    }\n    lastOperationWasAbrupt = false;\n    lastOperationWasCompletion = false;\n    const opcode = operations[operationIndex];\n    if (opcode === 0 /* Nop */) {\n      return;\n    } else if (opcode === 10 /* Endfinally */) {\n      return writeEndfinally();\n    }\n    const args = operationArguments[operationIndex];\n    if (opcode === 1 /* Statement */) {\n      return writeStatement(args[0]);\n    }\n    const location = operationLocations[operationIndex];\n    switch (opcode) {\n      case 2 /* Assign */:\n        return writeAssign(args[0], args[1], location);\n      case 3 /* Break */:\n        return writeBreak(args[0], location);\n      case 4 /* BreakWhenTrue */:\n        return writeBreakWhenTrue(args[0], args[1], location);\n      case 5 /* BreakWhenFalse */:\n        return writeBreakWhenFalse(args[0], args[1], location);\n      case 6 /* Yield */:\n        return writeYield(args[0], location);\n      case 7 /* YieldStar */:\n        return writeYieldStar(args[0], location);\n      case 8 /* Return */:\n        return writeReturn(args[0], location);\n      case 9 /* Throw */:\n        return writeThrow(args[0], location);\n    }\n  }\n  function writeStatement(statement) {\n    if (statement) {\n      if (!statements) {\n        statements = [statement];\n      } else {\n        statements.push(statement);\n      }\n    }\n  }\n  function writeAssign(left, right, operationLocation) {\n    writeStatement(setTextRange(factory2.createExpressionStatement(factory2.createAssignment(left, right)), operationLocation));\n  }\n  function writeThrow(expression, operationLocation) {\n    lastOperationWasAbrupt = true;\n    lastOperationWasCompletion = true;\n    writeStatement(setTextRange(factory2.createThrowStatement(expression), operationLocation));\n  }\n  function writeReturn(expression, operationLocation) {\n    lastOperationWasAbrupt = true;\n    lastOperationWasCompletion = true;\n    writeStatement(\n      setEmitFlags(\n        setTextRange(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression(\n              expression ? [createInstruction(2 /* Return */), expression] : [createInstruction(2 /* Return */)]\n            )\n          ),\n          operationLocation\n        ),\n        384 /* NoTokenSourceMaps */\n      )\n    );\n  }\n  function writeBreak(label, operationLocation) {\n    lastOperationWasAbrupt = true;\n    writeStatement(\n      setEmitFlags(\n        setTextRange(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression([\n              createInstruction(3 /* Break */),\n              createLabel2(label)\n            ])\n          ),\n          operationLocation\n        ),\n        384 /* NoTokenSourceMaps */\n      )\n    );\n  }\n  function writeBreakWhenTrue(label, condition, operationLocation) {\n    writeStatement(\n      setEmitFlags(\n        factory2.createIfStatement(\n          condition,\n          setEmitFlags(\n            setTextRange(\n              factory2.createReturnStatement(\n                factory2.createArrayLiteralExpression([\n                  createInstruction(3 /* Break */),\n                  createLabel2(label)\n                ])\n              ),\n              operationLocation\n            ),\n            384 /* NoTokenSourceMaps */\n          )\n        ),\n        1 /* SingleLine */\n      )\n    );\n  }\n  function writeBreakWhenFalse(label, condition, operationLocation) {\n    writeStatement(\n      setEmitFlags(\n        factory2.createIfStatement(\n          factory2.createLogicalNot(condition),\n          setEmitFlags(\n            setTextRange(\n              factory2.createReturnStatement(\n                factory2.createArrayLiteralExpression([\n                  createInstruction(3 /* Break */),\n                  createLabel2(label)\n                ])\n              ),\n              operationLocation\n            ),\n            384 /* NoTokenSourceMaps */\n          )\n        ),\n        1 /* SingleLine */\n      )\n    );\n  }\n  function writeYield(expression, operationLocation) {\n    lastOperationWasAbrupt = true;\n    writeStatement(\n      setEmitFlags(\n        setTextRange(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression(\n              expression ? [createInstruction(4 /* Yield */), expression] : [createInstruction(4 /* Yield */)]\n            )\n          ),\n          operationLocation\n        ),\n        384 /* NoTokenSourceMaps */\n      )\n    );\n  }\n  function writeYieldStar(expression, operationLocation) {\n    lastOperationWasAbrupt = true;\n    writeStatement(\n      setEmitFlags(\n        setTextRange(\n          factory2.createReturnStatement(\n            factory2.createArrayLiteralExpression([\n              createInstruction(5 /* YieldStar */),\n              expression\n            ])\n          ),\n          operationLocation\n        ),\n        384 /* NoTokenSourceMaps */\n      )\n    );\n  }\n  function writeEndfinally() {\n    lastOperationWasAbrupt = true;\n    writeStatement(\n      factory2.createReturnStatement(\n        factory2.createArrayLiteralExpression([\n          createInstruction(7 /* Endfinally */)\n        ])\n      )\n    );\n  }\n}\n\n// src/compiler/transformers/module/module.ts\nfunction transformModule(context) {\n  function getTransformModuleDelegate(moduleKind2) {\n    switch (moduleKind2) {\n      case 2 /* AMD */:\n        return transformAMDModule;\n      case 3 /* UMD */:\n        return transformUMDModule;\n      default:\n        return transformCommonJSModule;\n    }\n  }\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers,\n    startLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistVariableDeclaration\n  } = context;\n  const compilerOptions = context.getCompilerOptions();\n  const resolver = context.getEmitResolver();\n  const host = context.getEmitHost();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const moduleKind = getEmitModuleKind(compilerOptions);\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  const previousOnEmitNode = context.onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  context.onEmitNode = onEmitNode;\n  context.enableSubstitution(213 /* CallExpression */);\n  context.enableSubstitution(215 /* TaggedTemplateExpression */);\n  context.enableSubstitution(79 /* Identifier */);\n  context.enableSubstitution(227 /* BinaryExpression */);\n  context.enableSubstitution(306 /* ShorthandPropertyAssignment */);\n  context.enableEmitNotification(314 /* SourceFile */);\n  const moduleInfoMap = [];\n  const deferredExports = [];\n  let currentSourceFile;\n  let currentModuleInfo;\n  const noSubstitution = [];\n  let needUMDDynamicImportHelper;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 /* ContainsDynamicImport */ || isJsonSourceFile(node) && hasJsonModuleEmitEnabled(compilerOptions) && outFile(compilerOptions))) {\n      return node;\n    }\n    currentSourceFile = node;\n    currentModuleInfo = collectExternalModuleInfo(context, node, resolver, compilerOptions);\n    moduleInfoMap[getOriginalNodeId(node)] = currentModuleInfo;\n    const transformModule2 = getTransformModuleDelegate(moduleKind);\n    const updated = transformModule2(node);\n    currentSourceFile = void 0;\n    currentModuleInfo = void 0;\n    needUMDDynamicImportHelper = false;\n    return updated;\n  }\n  function shouldEmitUnderscoreUnderscoreESModule() {\n    if (!currentModuleInfo.exportEquals && isExternalModule(currentSourceFile) && !isOnlyAnnotationsAreExportedOrImported(currentSourceFile, resolver)) {\n      return true;\n    }\n    return false;\n  }\n  function transformCommonJSModule(node) {\n    startLexicalEnvironment();\n    const statements = [];\n    const ensureUseStrict = getStrictOptionValue(compilerOptions, \"alwaysStrict\") || !compilerOptions.noImplicitUseStrict && isExternalModule(currentSourceFile);\n    const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict && !isJsonSourceFile(node), topLevelVisitor);\n    if (shouldEmitUnderscoreUnderscoreESModule()) {\n      append(statements, createUnderscoreUnderscoreESModule());\n    }\n    if (length(currentModuleInfo.exportedNames)) {\n      const chunkSize = 50;\n      for (let i = 0; i < currentModuleInfo.exportedNames.length; i += chunkSize) {\n        append(\n          statements,\n          factory2.createExpressionStatement(\n            reduceLeft(\n              currentModuleInfo.exportedNames.slice(i, i + chunkSize),\n              (prev, nextId) => factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier(\"exports\"), factory2.createIdentifier(idText(nextId))), prev),\n              factory2.createVoidZero()\n            )\n          )\n        );\n      }\n    }\n    append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement));\n    addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset));\n    addExportEqualsIfNeeded(statements, false);\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    const updated = factory2.updateSourceFile(node, setTextRange(factory2.createNodeArray(statements), node.statements));\n    addEmitHelpers(updated, context.readEmitHelpers());\n    return updated;\n  }\n  function transformAMDModule(node) {\n    const define = factory2.createIdentifier(\"define\");\n    const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions);\n    const jsonSourceFile = isJsonSourceFile(node) && node;\n    const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies(node, true);\n    const updated = factory2.updateSourceFile(\n      node,\n      setTextRange(\n        factory2.createNodeArray([\n          factory2.createExpressionStatement(\n            factory2.createCallExpression(\n              define,\n              void 0,\n              [\n                ...moduleName ? [moduleName] : [],\n                factory2.createArrayLiteralExpression(jsonSourceFile ? emptyArray : [\n                  factory2.createStringLiteral(\"require\"),\n                  factory2.createStringLiteral(\"exports\"),\n                  ...aliasedModuleNames,\n                  ...unaliasedModuleNames\n                ]),\n                jsonSourceFile ? jsonSourceFile.statements.length ? jsonSourceFile.statements[0].expression : factory2.createObjectLiteralExpression() : factory2.createFunctionExpression(\n                  void 0,\n                  void 0,\n                  void 0,\n                  void 0,\n                  [\n                    factory2.createParameterDeclaration(void 0, void 0, \"require\"),\n                    factory2.createParameterDeclaration(void 0, void 0, \"exports\"),\n                    ...importAliasNames\n                  ],\n                  void 0,\n                  transformAsynchronousModuleBody(node)\n                )\n              ]\n            )\n          )\n        ]),\n        node.statements\n      )\n    );\n    addEmitHelpers(updated, context.readEmitHelpers());\n    return updated;\n  }\n  function transformUMDModule(node) {\n    const { aliasedModuleNames, unaliasedModuleNames, importAliasNames } = collectAsynchronousDependencies(node, false);\n    const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions);\n    const umdHeader = factory2.createFunctionExpression(\n      void 0,\n      void 0,\n      void 0,\n      void 0,\n      [factory2.createParameterDeclaration(void 0, void 0, \"factory\")],\n      void 0,\n      setTextRange(\n        factory2.createBlock(\n          [\n            factory2.createIfStatement(\n              factory2.createLogicalAnd(\n                factory2.createTypeCheck(factory2.createIdentifier(\"module\"), \"object\"),\n                factory2.createTypeCheck(factory2.createPropertyAccessExpression(factory2.createIdentifier(\"module\"), \"exports\"), \"object\")\n              ),\n              factory2.createBlock([\n                factory2.createVariableStatement(\n                  void 0,\n                  [\n                    factory2.createVariableDeclaration(\n                      \"v\",\n                      void 0,\n                      void 0,\n                      factory2.createCallExpression(\n                        factory2.createIdentifier(\"factory\"),\n                        void 0,\n                        [\n                          factory2.createIdentifier(\"require\"),\n                          factory2.createIdentifier(\"exports\")\n                        ]\n                      )\n                    )\n                  ]\n                ),\n                setEmitFlags(\n                  factory2.createIfStatement(\n                    factory2.createStrictInequality(\n                      factory2.createIdentifier(\"v\"),\n                      factory2.createIdentifier(\"undefined\")\n                    ),\n                    factory2.createExpressionStatement(\n                      factory2.createAssignment(\n                        factory2.createPropertyAccessExpression(factory2.createIdentifier(\"module\"), \"exports\"),\n                        factory2.createIdentifier(\"v\")\n                      )\n                    )\n                  ),\n                  1 /* SingleLine */\n                )\n              ]),\n              factory2.createIfStatement(\n                factory2.createLogicalAnd(\n                  factory2.createTypeCheck(factory2.createIdentifier(\"define\"), \"function\"),\n                  factory2.createPropertyAccessExpression(factory2.createIdentifier(\"define\"), \"amd\")\n                ),\n                factory2.createBlock([\n                  factory2.createExpressionStatement(\n                    factory2.createCallExpression(\n                      factory2.createIdentifier(\"define\"),\n                      void 0,\n                      [\n                        ...moduleName ? [moduleName] : [],\n                        factory2.createArrayLiteralExpression([\n                          factory2.createStringLiteral(\"require\"),\n                          factory2.createStringLiteral(\"exports\"),\n                          ...aliasedModuleNames,\n                          ...unaliasedModuleNames\n                        ]),\n                        factory2.createIdentifier(\"factory\")\n                      ]\n                    )\n                  )\n                ])\n              )\n            )\n          ],\n          true\n        ),\n        void 0\n      )\n    );\n    const updated = factory2.updateSourceFile(\n      node,\n      setTextRange(\n        factory2.createNodeArray([\n          factory2.createExpressionStatement(\n            factory2.createCallExpression(\n              umdHeader,\n              void 0,\n              [\n                factory2.createFunctionExpression(\n                  void 0,\n                  void 0,\n                  void 0,\n                  void 0,\n                  [\n                    factory2.createParameterDeclaration(void 0, void 0, \"require\"),\n                    factory2.createParameterDeclaration(void 0, void 0, \"exports\"),\n                    ...importAliasNames\n                  ],\n                  void 0,\n                  transformAsynchronousModuleBody(node)\n                )\n              ]\n            )\n          )\n        ]),\n        node.statements\n      )\n    );\n    addEmitHelpers(updated, context.readEmitHelpers());\n    return updated;\n  }\n  function collectAsynchronousDependencies(node, includeNonAmdDependencies) {\n    const aliasedModuleNames = [];\n    const unaliasedModuleNames = [];\n    const importAliasNames = [];\n    for (const amdDependency of node.amdDependencies) {\n      if (amdDependency.name) {\n        aliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path));\n        importAliasNames.push(factory2.createParameterDeclaration(void 0, void 0, amdDependency.name));\n      } else {\n        unaliasedModuleNames.push(factory2.createStringLiteral(amdDependency.path));\n      }\n    }\n    for (const importNode of currentModuleInfo.externalImports) {\n      const externalModuleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions);\n      const importAliasName = getLocalNameForExternalImport(factory2, importNode, currentSourceFile);\n      if (externalModuleName) {\n        if (includeNonAmdDependencies && importAliasName) {\n          setEmitFlags(importAliasName, 4 /* NoSubstitution */);\n          aliasedModuleNames.push(externalModuleName);\n          importAliasNames.push(factory2.createParameterDeclaration(void 0, void 0, importAliasName));\n        } else {\n          unaliasedModuleNames.push(externalModuleName);\n        }\n      }\n    }\n    return { aliasedModuleNames, unaliasedModuleNames, importAliasNames };\n  }\n  function getAMDImportExpressionForImport(node) {\n    if (isImportEqualsDeclaration(node) || isExportDeclaration(node) || !getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions)) {\n      return void 0;\n    }\n    const name = getLocalNameForExternalImport(factory2, node, currentSourceFile);\n    const expr = getHelperExpressionForImport(node, name);\n    if (expr === name) {\n      return void 0;\n    }\n    return factory2.createExpressionStatement(factory2.createAssignment(name, expr));\n  }\n  function transformAsynchronousModuleBody(node) {\n    startLexicalEnvironment();\n    const statements = [];\n    const statementOffset = factory2.copyPrologue(node.statements, statements, !compilerOptions.noImplicitUseStrict, topLevelVisitor);\n    if (shouldEmitUnderscoreUnderscoreESModule()) {\n      append(statements, createUnderscoreUnderscoreESModule());\n    }\n    if (length(currentModuleInfo.exportedNames)) {\n      append(statements, factory2.createExpressionStatement(reduceLeft(currentModuleInfo.exportedNames, (prev, nextId) => factory2.createAssignment(factory2.createPropertyAccessExpression(factory2.createIdentifier(\"exports\"), factory2.createIdentifier(idText(nextId))), prev), factory2.createVoidZero())));\n    }\n    append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement));\n    if (moduleKind === 2 /* AMD */) {\n      addRange(statements, mapDefined(currentModuleInfo.externalImports, getAMDImportExpressionForImport));\n    }\n    addRange(statements, visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset));\n    addExportEqualsIfNeeded(statements, true);\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    const body = factory2.createBlock(statements, true);\n    if (needUMDDynamicImportHelper) {\n      addEmitHelper(body, dynamicImportUMDHelper);\n    }\n    return body;\n  }\n  function addExportEqualsIfNeeded(statements, emitAsReturn) {\n    if (currentModuleInfo.exportEquals) {\n      const expressionResult = visitNode(currentModuleInfo.exportEquals.expression, visitor);\n      if (expressionResult) {\n        if (emitAsReturn) {\n          const statement = factory2.createReturnStatement(expressionResult);\n          setTextRange(statement, currentModuleInfo.exportEquals);\n          setEmitFlags(statement, 384 /* NoTokenSourceMaps */ | 1536 /* NoComments */);\n          statements.push(statement);\n        } else {\n          const statement = factory2.createExpressionStatement(\n            factory2.createAssignment(\n              factory2.createPropertyAccessExpression(\n                factory2.createIdentifier(\"module\"),\n                \"exports\"\n              ),\n              expressionResult\n            )\n          );\n          setTextRange(statement, currentModuleInfo.exportEquals);\n          setEmitFlags(statement, 1536 /* NoComments */);\n          statements.push(statement);\n        }\n      }\n    }\n  }\n  function topLevelVisitor(node) {\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n        return visitImportDeclaration(node);\n      case 274 /* ImportEqualsDeclaration */:\n        return visitImportEqualsDeclaration(node);\n      case 281 /* ExportDeclaration */:\n        return visitExportDeclaration(node);\n      case 280 /* ExportAssignment */:\n        return visitExportAssignment(node);\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 263 /* FunctionDeclaration */:\n        return visitFunctionDeclaration(node);\n      case 264 /* ClassDeclaration */:\n        return visitClassDeclaration(node);\n      case 361 /* MergeDeclarationMarker */:\n        return visitMergeDeclarationMarker(node);\n      case 362 /* EndOfDeclarationMarker */:\n        return visitEndOfDeclarationMarker(node);\n      default:\n        return visitor(node);\n    }\n  }\n  function visitorWorker(node, valueIsDiscarded) {\n    if (!(node.transformFlags & (8388608 /* ContainsDynamicImport */ | 4096 /* ContainsDestructuringAssignment */ | 268435456 /* ContainsUpdateExpressionForIdentifier */))) {\n      return node;\n    }\n    switch (node.kind) {\n      case 249 /* ForStatement */:\n        return visitForStatement(node);\n      case 245 /* ExpressionStatement */:\n        return visitExpressionStatement(node);\n      case 217 /* ParenthesizedExpression */:\n        return visitParenthesizedExpression(node, valueIsDiscarded);\n      case 359 /* PartiallyEmittedExpression */:\n        return visitPartiallyEmittedExpression(node, valueIsDiscarded);\n      case 213 /* CallExpression */:\n        if (isImportCall(node) && currentSourceFile.impliedNodeFormat === void 0) {\n          return visitImportCallExpression(node);\n        }\n        break;\n      case 227 /* BinaryExpression */:\n        if (isDestructuringAssignment(node)) {\n          return visitDestructuringAssignment(node, valueIsDiscarded);\n        }\n        break;\n      case 225 /* PrefixUnaryExpression */:\n      case 226 /* PostfixUnaryExpression */:\n        return visitPreOrPostfixUnaryExpression(node, valueIsDiscarded);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    return visitorWorker(node, false);\n  }\n  function discardedValueVisitor(node) {\n    return visitorWorker(node, true);\n  }\n  function destructuringNeedsFlattening(node) {\n    if (isObjectLiteralExpression(node)) {\n      for (const elem of node.properties) {\n        switch (elem.kind) {\n          case 305 /* PropertyAssignment */:\n            if (destructuringNeedsFlattening(elem.initializer)) {\n              return true;\n            }\n            break;\n          case 306 /* ShorthandPropertyAssignment */:\n            if (destructuringNeedsFlattening(elem.name)) {\n              return true;\n            }\n            break;\n          case 307 /* SpreadAssignment */:\n            if (destructuringNeedsFlattening(elem.expression)) {\n              return true;\n            }\n            break;\n          case 174 /* MethodDeclaration */:\n          case 177 /* GetAccessor */:\n          case 178 /* SetAccessor */:\n            return false;\n          default:\n            Debug.assertNever(elem, \"Unhandled object member kind\");\n        }\n      }\n    } else if (isArrayLiteralExpression(node)) {\n      for (const elem of node.elements) {\n        if (isSpreadElement(elem)) {\n          if (destructuringNeedsFlattening(elem.expression)) {\n            return true;\n          }\n        } else if (destructuringNeedsFlattening(elem)) {\n          return true;\n        }\n      }\n    } else if (isIdentifier(node)) {\n      return length(getExports(node)) > (isExportName(node) ? 1 : 0);\n    }\n    return false;\n  }\n  function visitDestructuringAssignment(node, valueIsDiscarded) {\n    if (destructuringNeedsFlattening(node.left)) {\n      return flattenDestructuringAssignment(node, visitor, context, 0 /* All */, !valueIsDiscarded, createAllExportExpressions);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitForStatement(node) {\n    return factory2.updateForStatement(\n      node,\n      visitNode(node.initializer, discardedValueVisitor, isForInitializer),\n      visitNode(node.condition, visitor, isExpression),\n      visitNode(node.incrementor, discardedValueVisitor, isExpression),\n      visitIterationBody(node.statement, visitor, context)\n    );\n  }\n  function visitExpressionStatement(node) {\n    return factory2.updateExpressionStatement(\n      node,\n      visitNode(node.expression, discardedValueVisitor, isExpression)\n    );\n  }\n  function visitParenthesizedExpression(node, valueIsDiscarded) {\n    return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n  }\n  function visitPartiallyEmittedExpression(node, valueIsDiscarded) {\n    return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n  }\n  function visitPreOrPostfixUnaryExpression(node, valueIsDiscarded) {\n    if ((node.operator === 45 /* PlusPlusToken */ || node.operator === 46 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) {\n      const exportedNames = getExports(node.operand);\n      if (exportedNames) {\n        let temp;\n        let expression = visitNode(node.operand, visitor, isExpression);\n        if (isPrefixUnaryExpression(node)) {\n          expression = factory2.updatePrefixUnaryExpression(node, expression);\n        } else {\n          expression = factory2.updatePostfixUnaryExpression(node, expression);\n          if (!valueIsDiscarded) {\n            temp = factory2.createTempVariable(hoistVariableDeclaration);\n            expression = factory2.createAssignment(temp, expression);\n            setTextRange(expression, node);\n          }\n          expression = factory2.createComma(expression, factory2.cloneNode(node.operand));\n          setTextRange(expression, node);\n        }\n        for (const exportName of exportedNames) {\n          noSubstitution[getNodeId(expression)] = true;\n          expression = createExportExpression(exportName, expression);\n          setTextRange(expression, node);\n        }\n        if (temp) {\n          noSubstitution[getNodeId(expression)] = true;\n          expression = factory2.createComma(expression, temp);\n          setTextRange(expression, node);\n        }\n        return expression;\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitImportCallExpression(node) {\n    const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions);\n    const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor);\n    const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument;\n    const containsLexicalThis = !!(node.transformFlags & 16384 /* ContainsLexicalThis */);\n    switch (compilerOptions.module) {\n      case 2 /* AMD */:\n        return createImportCallExpressionAMD(argument, containsLexicalThis);\n      case 3 /* UMD */:\n        return createImportCallExpressionUMD(argument != null ? argument : factory2.createVoidZero(), containsLexicalThis);\n      case 1 /* CommonJS */:\n      default:\n        return createImportCallExpressionCommonJS(argument);\n    }\n  }\n  function createImportCallExpressionUMD(arg, containsLexicalThis) {\n    needUMDDynamicImportHelper = true;\n    if (isSimpleCopiableExpression(arg)) {\n      const argClone = isGeneratedIdentifier(arg) ? arg : isStringLiteral(arg) ? factory2.createStringLiteralFromNode(arg) : setEmitFlags(setTextRange(factory2.cloneNode(arg), arg), 1536 /* NoComments */);\n      return factory2.createConditionalExpression(\n        factory2.createIdentifier(\"__syncRequire\"),\n        void 0,\n        createImportCallExpressionCommonJS(arg),\n        void 0,\n        createImportCallExpressionAMD(argClone, containsLexicalThis)\n      );\n    } else {\n      const temp = factory2.createTempVariable(hoistVariableDeclaration);\n      return factory2.createComma(factory2.createAssignment(temp, arg), factory2.createConditionalExpression(\n        factory2.createIdentifier(\"__syncRequire\"),\n        void 0,\n        createImportCallExpressionCommonJS(temp, true),\n        void 0,\n        createImportCallExpressionAMD(temp, containsLexicalThis)\n      ));\n    }\n  }\n  function createImportCallExpressionAMD(arg, containsLexicalThis) {\n    const resolve = factory2.createUniqueName(\"resolve\");\n    const reject = factory2.createUniqueName(\"reject\");\n    const parameters = [\n      factory2.createParameterDeclaration(void 0, void 0, resolve),\n      factory2.createParameterDeclaration(void 0, void 0, reject)\n    ];\n    const body = factory2.createBlock([\n      factory2.createExpressionStatement(\n        factory2.createCallExpression(\n          factory2.createIdentifier(\"require\"),\n          void 0,\n          [factory2.createArrayLiteralExpression([arg || factory2.createOmittedExpression()]), resolve, reject]\n        )\n      )\n    ]);\n    let func;\n    if (languageVersion >= 2 /* ES2015 */) {\n      func = factory2.createArrowFunction(\n        void 0,\n        void 0,\n        parameters,\n        void 0,\n        void 0,\n        body\n      );\n    } else {\n      func = factory2.createFunctionExpression(\n        void 0,\n        void 0,\n        void 0,\n        void 0,\n        parameters,\n        void 0,\n        body\n      );\n      if (containsLexicalThis) {\n        setEmitFlags(func, 8 /* CapturesThis */);\n      }\n    }\n    const promise = factory2.createNewExpression(factory2.createIdentifier(\"Promise\"), void 0, [func]);\n    if (getESModuleInterop(compilerOptions)) {\n      return factory2.createCallExpression(factory2.createPropertyAccessExpression(promise, factory2.createIdentifier(\"then\")), void 0, [emitHelpers().createImportStarCallbackHelper()]);\n    }\n    return promise;\n  }\n  function createImportCallExpressionCommonJS(arg, isInlineable) {\n    const temp = arg && !isSimpleInlineableExpression(arg) && !isInlineable ? factory2.createTempVariable(hoistVariableDeclaration) : void 0;\n    const promiseResolveCall = factory2.createCallExpression(\n      factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Promise\"), \"resolve\"),\n      void 0,\n      []\n    );\n    let requireCall = factory2.createCallExpression(\n      factory2.createIdentifier(\"require\"),\n      void 0,\n      temp ? [temp] : arg ? [arg] : []\n    );\n    if (getESModuleInterop(compilerOptions)) {\n      requireCall = emitHelpers().createImportStarHelper(requireCall);\n    }\n    let func;\n    if (languageVersion >= 2 /* ES2015 */) {\n      func = factory2.createArrowFunction(\n        void 0,\n        void 0,\n        [],\n        void 0,\n        void 0,\n        requireCall\n      );\n    } else {\n      func = factory2.createFunctionExpression(\n        void 0,\n        void 0,\n        void 0,\n        void 0,\n        [],\n        void 0,\n        factory2.createBlock([factory2.createReturnStatement(requireCall)])\n      );\n    }\n    const downleveledImport = factory2.createCallExpression(factory2.createPropertyAccessExpression(promiseResolveCall, \"then\"), void 0, [func]);\n    return temp === void 0 ? downleveledImport : factory2.createCommaListExpression([factory2.createAssignment(temp, arg), downleveledImport]);\n  }\n  function getHelperExpressionForExport(node, innerExpr) {\n    if (!getESModuleInterop(compilerOptions) || getEmitFlags(node) & 67108864 /* NeverApplyImportHelper */) {\n      return innerExpr;\n    }\n    if (getExportNeedsImportStarHelper(node)) {\n      return emitHelpers().createImportStarHelper(innerExpr);\n    }\n    return innerExpr;\n  }\n  function getHelperExpressionForImport(node, innerExpr) {\n    if (!getESModuleInterop(compilerOptions) || getEmitFlags(node) & 67108864 /* NeverApplyImportHelper */) {\n      return innerExpr;\n    }\n    if (getImportNeedsImportStarHelper(node)) {\n      return emitHelpers().createImportStarHelper(innerExpr);\n    }\n    if (getImportNeedsImportDefaultHelper(node)) {\n      return emitHelpers().createImportDefaultHelper(innerExpr);\n    }\n    return innerExpr;\n  }\n  function visitImportDeclaration(node) {\n    let statements;\n    const namespaceDeclaration = getNamespaceDeclarationNode(node);\n    if (moduleKind !== 2 /* AMD */) {\n      if (!node.importClause) {\n        return setOriginalNode(setTextRange(factory2.createExpressionStatement(createRequireCall2(node)), node), node);\n      } else {\n        const variables = [];\n        if (namespaceDeclaration && !isDefaultImport(node)) {\n          variables.push(\n            factory2.createVariableDeclaration(\n              factory2.cloneNode(namespaceDeclaration.name),\n              void 0,\n              void 0,\n              getHelperExpressionForImport(node, createRequireCall2(node))\n            )\n          );\n        } else {\n          variables.push(\n            factory2.createVariableDeclaration(\n              factory2.getGeneratedNameForNode(node),\n              void 0,\n              void 0,\n              getHelperExpressionForImport(node, createRequireCall2(node))\n            )\n          );\n          if (namespaceDeclaration && isDefaultImport(node)) {\n            variables.push(\n              factory2.createVariableDeclaration(\n                factory2.cloneNode(namespaceDeclaration.name),\n                void 0,\n                void 0,\n                factory2.getGeneratedNameForNode(node)\n              )\n            );\n          }\n        }\n        statements = append(\n          statements,\n          setOriginalNode(\n            setTextRange(\n              factory2.createVariableStatement(\n                void 0,\n                factory2.createVariableDeclarationList(\n                  variables,\n                  languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */\n                )\n              ),\n              node\n            ),\n            node\n          )\n        );\n      }\n    } else if (namespaceDeclaration && isDefaultImport(node)) {\n      statements = append(\n        statements,\n        factory2.createVariableStatement(\n          void 0,\n          factory2.createVariableDeclarationList(\n            [\n              setOriginalNode(\n                setTextRange(\n                  factory2.createVariableDeclaration(\n                    factory2.cloneNode(namespaceDeclaration.name),\n                    void 0,\n                    void 0,\n                    factory2.getGeneratedNameForNode(node)\n                  ),\n                  node\n                ),\n                node\n              )\n            ],\n            languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */\n          )\n        )\n      );\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfImportDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfImportDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function createRequireCall2(importNode) {\n    const moduleName = getExternalModuleNameLiteral(factory2, importNode, currentSourceFile, host, resolver, compilerOptions);\n    const args = [];\n    if (moduleName) {\n      args.push(moduleName);\n    }\n    return factory2.createCallExpression(factory2.createIdentifier(\"require\"), void 0, args);\n  }\n  function visitImportEqualsDeclaration(node) {\n    Debug.assert(isExternalModuleImportEqualsDeclaration(node), \"import= for internal module references should be handled in an earlier transformer.\");\n    let statements;\n    if (moduleKind !== 2 /* AMD */) {\n      if (hasSyntacticModifier(node, 1 /* Export */)) {\n        statements = append(\n          statements,\n          setOriginalNode(\n            setTextRange(\n              factory2.createExpressionStatement(\n                createExportExpression(\n                  node.name,\n                  createRequireCall2(node)\n                )\n              ),\n              node\n            ),\n            node\n          )\n        );\n      } else {\n        statements = append(\n          statements,\n          setOriginalNode(\n            setTextRange(\n              factory2.createVariableStatement(\n                void 0,\n                factory2.createVariableDeclarationList(\n                  [\n                    factory2.createVariableDeclaration(\n                      factory2.cloneNode(node.name),\n                      void 0,\n                      void 0,\n                      createRequireCall2(node)\n                    )\n                  ],\n                  languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */\n                )\n              ),\n              node\n            ),\n            node\n          )\n        );\n      }\n    } else {\n      if (hasSyntacticModifier(node, 1 /* Export */)) {\n        statements = append(\n          statements,\n          setOriginalNode(\n            setTextRange(\n              factory2.createExpressionStatement(\n                createExportExpression(factory2.getExportName(node), factory2.getLocalName(node))\n              ),\n              node\n            ),\n            node\n          )\n        );\n      }\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfImportEqualsDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfImportEqualsDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function visitExportDeclaration(node) {\n    if (!node.moduleSpecifier) {\n      return void 0;\n    }\n    const generatedName = factory2.getGeneratedNameForNode(node);\n    if (node.exportClause && isNamedExports(node.exportClause)) {\n      const allExportsAreAnnotations2 = every(node.exportClause.elements, (s) => resolver.isReferredToAnnotation(s) === true);\n      if (node.exportClause.elements.length > 0 && allExportsAreAnnotations2) {\n        return void 0;\n      }\n      const statements = [];\n      if (moduleKind !== 2 /* AMD */) {\n        statements.push(\n          setOriginalNode(\n            setTextRange(\n              factory2.createVariableStatement(\n                void 0,\n                factory2.createVariableDeclarationList([\n                  factory2.createVariableDeclaration(\n                    generatedName,\n                    void 0,\n                    void 0,\n                    createRequireCall2(node)\n                  )\n                ])\n              ),\n              node\n            ),\n            node\n          )\n        );\n      }\n      for (const specifier of node.exportClause.elements) {\n        if (resolver.isReferredToAnnotation(specifier) === true) {\n          continue;\n        }\n        if (languageVersion === 0 /* ES3 */) {\n          statements.push(\n            setOriginalNode(\n              setTextRange(\n                factory2.createExpressionStatement(\n                  emitHelpers().createCreateBindingHelper(generatedName, factory2.createStringLiteralFromNode(specifier.propertyName || specifier.name), specifier.propertyName ? factory2.createStringLiteralFromNode(specifier.name) : void 0)\n                ),\n                specifier\n              ),\n              specifier\n            )\n          );\n        } else {\n          const exportNeedsImportDefault = !!getESModuleInterop(compilerOptions) && !(getEmitFlags(node) & 67108864 /* NeverApplyImportHelper */) && idText(specifier.propertyName || specifier.name) === \"default\";\n          const exportedValue = factory2.createPropertyAccessExpression(\n            exportNeedsImportDefault ? emitHelpers().createImportDefaultHelper(generatedName) : generatedName,\n            specifier.propertyName || specifier.name\n          );\n          statements.push(\n            setOriginalNode(\n              setTextRange(\n                factory2.createExpressionStatement(\n                  createExportExpression(factory2.getExportName(specifier), exportedValue, void 0, true)\n                ),\n                specifier\n              ),\n              specifier\n            )\n          );\n        }\n      }\n      return singleOrMany(statements);\n    } else if (node.exportClause) {\n      const statements = [];\n      statements.push(\n        setOriginalNode(\n          setTextRange(\n            factory2.createExpressionStatement(\n              createExportExpression(\n                factory2.cloneNode(node.exportClause.name),\n                getHelperExpressionForExport(node, moduleKind !== 2 /* AMD */ ? createRequireCall2(node) : isExportNamespaceAsDefaultDeclaration(node) ? generatedName : factory2.createIdentifier(idText(node.exportClause.name)))\n              )\n            ),\n            node\n          ),\n          node\n        )\n      );\n      return singleOrMany(statements);\n    } else {\n      return setOriginalNode(\n        setTextRange(\n          factory2.createExpressionStatement(\n            emitHelpers().createExportStarHelper(moduleKind !== 2 /* AMD */ ? createRequireCall2(node) : generatedName)\n          ),\n          node\n        ),\n        node\n      );\n    }\n  }\n  function visitExportAssignment(node) {\n    if (node.isExportEquals) {\n      return void 0;\n    }\n    let statements;\n    const original = node.original;\n    if (original && hasAssociatedEndOfDeclarationMarker(original)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportStatement(deferredExports[id], factory2.createIdentifier(\"default\"), visitNode(node.expression, visitor), node, true);\n    } else {\n      statements = appendExportStatement(statements, factory2.createIdentifier(\"default\"), visitNode(node.expression, visitor), node, true);\n    }\n    return singleOrMany(statements);\n  }\n  function visitFunctionDeclaration(node) {\n    let statements;\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      statements = append(\n        statements,\n        setOriginalNode(\n          setTextRange(\n            factory2.createFunctionDeclaration(\n              visitNodes2(node.modifiers, modifierVisitor, isModifier),\n              node.asteriskToken,\n              factory2.getDeclarationName(node, true, true),\n              void 0,\n              visitNodes2(node.parameters, visitor),\n              void 0,\n              visitEachChild(node.body, visitor, context)\n            ),\n            node\n          ),\n          node\n        )\n      );\n    } else {\n      statements = append(statements, visitEachChild(node, visitor, context));\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfHoistedDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function visitClassDeclaration(node) {\n    let statements;\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      statements = append(\n        statements,\n        setOriginalNode(\n          setTextRange(\n            factory2.createClassDeclaration(\n              visitNodes2(node.modifiers, modifierVisitor, isModifierLike),\n              factory2.getDeclarationName(node, true, true),\n              void 0,\n              visitNodes2(node.heritageClauses, visitor),\n              visitNodes2(node.members, visitor)\n            ),\n            node\n          ),\n          node\n        )\n      );\n    } else {\n      statements = append(statements, visitEachChild(node, visitor, context));\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfHoistedDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function visitVariableStatement(node) {\n    let statements;\n    let variables;\n    let expressions;\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      let modifiers;\n      let removeCommentsOnExpressions = false;\n      for (const variable of node.declarationList.declarations) {\n        if (isIdentifier(variable.name) && isLocalName(variable.name)) {\n          if (!modifiers) {\n            modifiers = visitNodes2(node.modifiers, modifierVisitor, isModifier);\n          }\n          variables = append(variables, variable);\n        } else if (variable.initializer) {\n          if (!isBindingPattern(variable.name) && (isArrowFunction(variable.initializer) || isFunctionExpression(variable.initializer) || isClassExpression(variable.initializer))) {\n            const expression = factory2.createAssignment(\n              setTextRange(\n                factory2.createPropertyAccessExpression(\n                  factory2.createIdentifier(\"exports\"),\n                  variable.name\n                ),\n                variable.name\n              ),\n              factory2.createIdentifier(getTextOfIdentifierOrLiteral(variable.name))\n            );\n            const updatedVariable = factory2.createVariableDeclaration(\n              variable.name,\n              variable.exclamationToken,\n              variable.type,\n              visitNode(variable.initializer, visitor)\n            );\n            variables = append(variables, updatedVariable);\n            expressions = append(expressions, expression);\n            removeCommentsOnExpressions = true;\n          } else {\n            expressions = append(expressions, transformInitializedVariable(variable));\n          }\n        }\n      }\n      if (variables) {\n        statements = append(statements, factory2.updateVariableStatement(node, modifiers, factory2.updateVariableDeclarationList(node.declarationList, variables)));\n      }\n      if (expressions) {\n        const statement = setOriginalNode(setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node), node);\n        if (removeCommentsOnExpressions) {\n          removeAllComments(statement);\n        }\n        statements = append(statements, statement);\n      }\n    } else {\n      statements = append(statements, visitEachChild(node, visitor, context));\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfVariableStatement(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function createAllExportExpressions(name, value, location) {\n    const exportedNames = getExports(name);\n    if (exportedNames) {\n      let expression = isExportName(name) ? value : factory2.createAssignment(name, value);\n      for (const exportName of exportedNames) {\n        setEmitFlags(expression, 4 /* NoSubstitution */);\n        expression = createExportExpression(exportName, expression, location);\n      }\n      return expression;\n    }\n    return factory2.createAssignment(name, value);\n  }\n  function transformInitializedVariable(node) {\n    if (isBindingPattern(node.name)) {\n      return flattenDestructuringAssignment(\n        visitNode(node, visitor),\n        void 0,\n        context,\n        0 /* All */,\n        false,\n        createAllExportExpressions\n      );\n    } else {\n      return factory2.createAssignment(\n        setTextRange(\n          factory2.createPropertyAccessExpression(\n            factory2.createIdentifier(\"exports\"),\n            node.name\n          ),\n          node.name\n        ),\n        node.initializer ? visitNode(node.initializer, visitor) : factory2.createVoidZero()\n      );\n    }\n  }\n  function visitMergeDeclarationMarker(node) {\n    if (hasAssociatedEndOfDeclarationMarker(node) && node.original.kind === 244 /* VariableStatement */) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node.original);\n    }\n    return node;\n  }\n  function hasAssociatedEndOfDeclarationMarker(node) {\n    return (getEmitFlags(node) & 4194304 /* HasEndOfDeclarationMarker */) !== 0;\n  }\n  function visitEndOfDeclarationMarker(node) {\n    const id = getOriginalNodeId(node);\n    const statements = deferredExports[id];\n    if (statements) {\n      delete deferredExports[id];\n      return append(statements, node);\n    }\n    return node;\n  }\n  function appendExportsOfImportDeclaration(statements, decl) {\n    if (currentModuleInfo.exportEquals) {\n      return statements;\n    }\n    const importClause = decl.importClause;\n    if (!importClause) {\n      return statements;\n    }\n    if (importClause.name) {\n      statements = appendExportsOfDeclaration(statements, importClause);\n    }\n    const namedBindings = importClause.namedBindings;\n    if (namedBindings) {\n      switch (namedBindings.kind) {\n        case 277 /* NamespaceImport */:\n          statements = appendExportsOfDeclaration(statements, namedBindings);\n          break;\n        case 278 /* NamedImports */:\n          for (const importBinding of namedBindings.elements) {\n            statements = appendExportsOfDeclaration(statements, importBinding, true);\n          }\n          break;\n      }\n    }\n    return statements;\n  }\n  function appendExportsOfImportEqualsDeclaration(statements, decl) {\n    if (currentModuleInfo.exportEquals) {\n      return statements;\n    }\n    return appendExportsOfDeclaration(statements, decl);\n  }\n  function appendExportsOfVariableStatement(statements, node) {\n    if (currentModuleInfo.exportEquals) {\n      return statements;\n    }\n    for (const decl of node.declarationList.declarations) {\n      statements = appendExportsOfBindingElement(statements, decl);\n    }\n    return statements;\n  }\n  function appendExportsOfBindingElement(statements, decl) {\n    if (currentModuleInfo.exportEquals) {\n      return statements;\n    }\n    if (isBindingPattern(decl.name)) {\n      for (const element of decl.name.elements) {\n        if (!isOmittedExpression(element)) {\n          statements = appendExportsOfBindingElement(statements, element);\n        }\n      }\n    } else if (!isGeneratedIdentifier(decl.name)) {\n      statements = appendExportsOfDeclaration(statements, decl);\n    }\n    return statements;\n  }\n  function appendExportsOfHoistedDeclaration(statements, decl) {\n    if (currentModuleInfo.exportEquals) {\n      return statements;\n    }\n    if (hasSyntacticModifier(decl, 1 /* Export */)) {\n      const exportName = hasSyntacticModifier(decl, 1024 /* Default */) ? factory2.createIdentifier(\"default\") : factory2.getDeclarationName(decl);\n      statements = appendExportStatement(statements, exportName, factory2.getLocalName(decl), decl);\n    }\n    if (decl.name) {\n      statements = appendExportsOfDeclaration(statements, decl);\n    }\n    return statements;\n  }\n  function appendExportsOfDeclaration(statements, decl, liveBinding) {\n    const name = factory2.getDeclarationName(decl);\n    const exportSpecifiers = currentModuleInfo.exportSpecifiers.get(idText(name));\n    if (exportSpecifiers) {\n      for (const exportSpecifier of exportSpecifiers) {\n        statements = appendExportStatement(statements, exportSpecifier.name, name, exportSpecifier.name, void 0, liveBinding);\n      }\n    }\n    return statements;\n  }\n  function appendExportStatement(statements, exportName, expression, location, allowComments, liveBinding) {\n    statements = append(statements, createExportStatement(exportName, expression, location, allowComments, liveBinding));\n    return statements;\n  }\n  function createUnderscoreUnderscoreESModule() {\n    let statement;\n    if (languageVersion === 0 /* ES3 */) {\n      statement = factory2.createExpressionStatement(\n        createExportExpression(\n          factory2.createIdentifier(\"__esModule\"),\n          factory2.createTrue()\n        )\n      );\n    } else {\n      statement = factory2.createExpressionStatement(\n        factory2.createCallExpression(\n          factory2.createPropertyAccessExpression(factory2.createIdentifier(\"Object\"), \"defineProperty\"),\n          void 0,\n          [\n            factory2.createIdentifier(\"exports\"),\n            factory2.createStringLiteral(\"__esModule\"),\n            factory2.createObjectLiteralExpression([\n              factory2.createPropertyAssignment(\"value\", factory2.createTrue())\n            ])\n          ]\n        )\n      );\n    }\n    setEmitFlags(statement, 1048576 /* CustomPrologue */);\n    return statement;\n  }\n  function createExportStatement(name, value, location, allowComments, liveBinding) {\n    const statement = setTextRange(factory2.createExpressionStatement(createExportExpression(name, value, void 0, liveBinding)), location);\n    startOnNewLine(statement);\n    if (!allowComments) {\n      setEmitFlags(statement, 1536 /* NoComments */);\n    }\n    return statement;\n  }\n  function createExportExpression(name, value, location, liveBinding) {\n    return setTextRange(\n      liveBinding && languageVersion !== 0 /* ES3 */ ? factory2.createCallExpression(\n        factory2.createPropertyAccessExpression(\n          factory2.createIdentifier(\"Object\"),\n          \"defineProperty\"\n        ),\n        void 0,\n        [\n          factory2.createIdentifier(\"exports\"),\n          factory2.createStringLiteralFromNode(name),\n          factory2.createObjectLiteralExpression([\n            factory2.createPropertyAssignment(\"enumerable\", factory2.createTrue()),\n            factory2.createPropertyAssignment(\"get\", factory2.createFunctionExpression(\n              void 0,\n              void 0,\n              void 0,\n              void 0,\n              [],\n              void 0,\n              factory2.createBlock([factory2.createReturnStatement(value)])\n            ))\n          ])\n        ]\n      ) : factory2.createAssignment(\n        factory2.createPropertyAccessExpression(\n          factory2.createIdentifier(\"exports\"),\n          factory2.cloneNode(name)\n        ),\n        value\n      ),\n      location\n    );\n  }\n  function modifierVisitor(node) {\n    switch (node.kind) {\n      case 94 /* ExportKeyword */:\n      case 89 /* DefaultKeyword */:\n        return void 0;\n    }\n    return node;\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (node.kind === 314 /* SourceFile */) {\n      currentSourceFile = node;\n      currentModuleInfo = moduleInfoMap[getOriginalNodeId(currentSourceFile)];\n      previousOnEmitNode(hint, node, emitCallback);\n      currentSourceFile = void 0;\n      currentModuleInfo = void 0;\n    } else {\n      previousOnEmitNode(hint, node, emitCallback);\n    }\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (node.id && noSubstitution[node.id]) {\n      return node;\n    }\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    } else if (isShorthandPropertyAssignment(node)) {\n      return substituteShorthandPropertyAssignment(node);\n    }\n    return node;\n  }\n  function substituteShorthandPropertyAssignment(node) {\n    const name = node.name;\n    const exportedOrImportedName = substituteExpressionIdentifier(name);\n    if (exportedOrImportedName !== name) {\n      if (node.objectAssignmentInitializer) {\n        const initializer = factory2.createAssignment(exportedOrImportedName, node.objectAssignmentInitializer);\n        return setTextRange(factory2.createPropertyAssignment(name, initializer), node);\n      }\n      return setTextRange(factory2.createPropertyAssignment(name, exportedOrImportedName), node);\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return substituteExpressionIdentifier(node);\n      case 213 /* CallExpression */:\n        return substituteCallExpression(node);\n      case 215 /* TaggedTemplateExpression */:\n        return substituteTaggedTemplateExpression(node);\n      case 227 /* BinaryExpression */:\n        return substituteBinaryExpression(node);\n    }\n    return node;\n  }\n  function substituteCallExpression(node) {\n    if (isIdentifier(node.expression)) {\n      const expression = substituteExpressionIdentifier(node.expression);\n      noSubstitution[getNodeId(expression)] = true;\n      if (!isIdentifier(expression) && !(getEmitFlags(node.expression) & 4096 /* HelperName */)) {\n        return addEmitFlags(\n          factory2.updateCallExpression(\n            node,\n            expression,\n            void 0,\n            node.arguments\n          ),\n          536870912 /* IndirectCall */\n        );\n      }\n    }\n    return node;\n  }\n  function substituteTaggedTemplateExpression(node) {\n    if (isIdentifier(node.tag)) {\n      const tag = substituteExpressionIdentifier(node.tag);\n      noSubstitution[getNodeId(tag)] = true;\n      if (!isIdentifier(tag) && !(getEmitFlags(node.tag) & 4096 /* HelperName */)) {\n        return addEmitFlags(\n          factory2.updateTaggedTemplateExpression(\n            node,\n            tag,\n            void 0,\n            node.template\n          ),\n          536870912 /* IndirectCall */\n        );\n      }\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    var _a2, _b;\n    if (getEmitFlags(node) & 4096 /* HelperName */) {\n      const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile);\n      if (externalHelpersModuleName) {\n        return factory2.createPropertyAccessExpression(externalHelpersModuleName, node);\n      }\n      return node;\n    } else if (!(isGeneratedIdentifier(node) && !(node.autoGenerateFlags & 64 /* AllowNameSubstitution */)) && !isLocalName(node)) {\n      const exportContainer = resolver.getReferencedExportContainer(node, isExportName(node));\n      if (exportContainer && exportContainer.kind === 314 /* SourceFile */) {\n        return setTextRange(\n          factory2.createPropertyAccessExpression(\n            factory2.createIdentifier(\"exports\"),\n            factory2.cloneNode(node)\n          ),\n          node\n        );\n      }\n      const importDeclaration = resolver.getReferencedImportDeclaration(node);\n      if (importDeclaration) {\n        if (isImportClause(importDeclaration)) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.getGeneratedNameForNode(importDeclaration.parent),\n              factory2.createIdentifier(\"default\")\n            ),\n            node\n          );\n        } else if (isImportSpecifier(importDeclaration)) {\n          const name = importDeclaration.propertyName || importDeclaration.name;\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.getGeneratedNameForNode(((_b = (_a2 = importDeclaration.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.parent) || importDeclaration),\n              factory2.cloneNode(name)\n            ),\n            node\n          );\n        }\n      }\n    }\n    return node;\n  }\n  function substituteBinaryExpression(node) {\n    if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && !isGeneratedIdentifier(node.left) && !isLocalName(node.left) && !isDeclarationNameOfEnumOrNamespace(node.left)) {\n      const exportedNames = getExports(node.left);\n      if (exportedNames) {\n        let expression = node;\n        for (const exportName of exportedNames) {\n          noSubstitution[getNodeId(expression)] = true;\n          expression = createExportExpression(exportName, expression, node);\n        }\n        return expression;\n      }\n    }\n    return node;\n  }\n  function getExports(name) {\n    if (!isGeneratedIdentifier(name)) {\n      const valueDeclaration = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name);\n      if (valueDeclaration) {\n        return currentModuleInfo && currentModuleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)];\n      }\n    }\n  }\n}\nvar dynamicImportUMDHelper = {\n  name: \"typescript:dynamicimport-sync-require\",\n  scoped: true,\n  text: `\n            var __syncRequire = typeof module === \"object\" && typeof module.exports === \"object\";`\n};\n\n// src/compiler/transformers/module/system.ts\nfunction transformSystemModule(context) {\n  const {\n    factory: factory2,\n    startLexicalEnvironment,\n    endLexicalEnvironment,\n    hoistVariableDeclaration\n  } = context;\n  const compilerOptions = context.getCompilerOptions();\n  const resolver = context.getEmitResolver();\n  const host = context.getEmitHost();\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  const previousOnEmitNode = context.onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  context.onEmitNode = onEmitNode;\n  context.enableSubstitution(79 /* Identifier */);\n  context.enableSubstitution(306 /* ShorthandPropertyAssignment */);\n  context.enableSubstitution(227 /* BinaryExpression */);\n  context.enableSubstitution(237 /* MetaProperty */);\n  context.enableEmitNotification(314 /* SourceFile */);\n  const moduleInfoMap = [];\n  const deferredExports = [];\n  const exportFunctionsMap = [];\n  const noSubstitutionMap = [];\n  const contextObjectMap = [];\n  let currentSourceFile;\n  let moduleInfo;\n  let exportFunction;\n  let contextObject;\n  let hoistedStatements;\n  let enclosingBlockScopedContainer;\n  let noSubstitution;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile || !(isEffectiveExternalModule(node, compilerOptions) || node.transformFlags & 8388608 /* ContainsDynamicImport */)) {\n      return node;\n    }\n    const id = getOriginalNodeId(node);\n    currentSourceFile = node;\n    enclosingBlockScopedContainer = node;\n    moduleInfo = moduleInfoMap[id] = collectExternalModuleInfo(context, node, resolver, compilerOptions);\n    exportFunction = factory2.createUniqueName(\"exports\");\n    exportFunctionsMap[id] = exportFunction;\n    contextObject = contextObjectMap[id] = factory2.createUniqueName(\"context\");\n    const dependencyGroups = collectDependencyGroups(moduleInfo.externalImports);\n    const moduleBodyBlock = createSystemModuleBody(node, dependencyGroups);\n    const moduleBodyFunction = factory2.createFunctionExpression(\n      void 0,\n      void 0,\n      void 0,\n      void 0,\n      [\n        factory2.createParameterDeclaration(void 0, void 0, exportFunction),\n        factory2.createParameterDeclaration(void 0, void 0, contextObject)\n      ],\n      void 0,\n      moduleBodyBlock\n    );\n    const moduleName = tryGetModuleNameFromFile(factory2, node, host, compilerOptions);\n    const dependencies = factory2.createArrayLiteralExpression(map(dependencyGroups, (dependencyGroup) => dependencyGroup.name));\n    const updated = setEmitFlags(\n      factory2.updateSourceFile(\n        node,\n        setTextRange(\n          factory2.createNodeArray([\n            factory2.createExpressionStatement(\n              factory2.createCallExpression(\n                factory2.createPropertyAccessExpression(factory2.createIdentifier(\"System\"), \"register\"),\n                void 0,\n                moduleName ? [moduleName, dependencies, moduleBodyFunction] : [dependencies, moduleBodyFunction]\n              )\n            )\n          ]),\n          node.statements\n        )\n      ),\n      1024 /* NoTrailingComments */\n    );\n    if (!outFile(compilerOptions)) {\n      moveEmitHelpers(updated, moduleBodyBlock, (helper) => !helper.scoped);\n    }\n    if (noSubstitution) {\n      noSubstitutionMap[id] = noSubstitution;\n      noSubstitution = void 0;\n    }\n    currentSourceFile = void 0;\n    moduleInfo = void 0;\n    exportFunction = void 0;\n    contextObject = void 0;\n    hoistedStatements = void 0;\n    enclosingBlockScopedContainer = void 0;\n    return updated;\n  }\n  function collectDependencyGroups(externalImports) {\n    const groupIndices = new Map2();\n    const dependencyGroups = [];\n    for (const externalImport of externalImports) {\n      const externalModuleName = getExternalModuleNameLiteral(factory2, externalImport, currentSourceFile, host, resolver, compilerOptions);\n      if (externalModuleName) {\n        const text = externalModuleName.text;\n        const groupIndex = groupIndices.get(text);\n        if (groupIndex !== void 0) {\n          dependencyGroups[groupIndex].externalImports.push(externalImport);\n        } else {\n          groupIndices.set(text, dependencyGroups.length);\n          dependencyGroups.push({\n            name: externalModuleName,\n            externalImports: [externalImport]\n          });\n        }\n      }\n    }\n    return dependencyGroups;\n  }\n  function createSystemModuleBody(node, dependencyGroups) {\n    const statements = [];\n    startLexicalEnvironment();\n    const ensureUseStrict = getStrictOptionValue(compilerOptions, \"alwaysStrict\") || !compilerOptions.noImplicitUseStrict && isExternalModule(currentSourceFile);\n    const statementOffset = factory2.copyPrologue(node.statements, statements, ensureUseStrict, topLevelVisitor);\n    statements.push(\n      factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList([\n          factory2.createVariableDeclaration(\n            \"__moduleName\",\n            void 0,\n            void 0,\n            factory2.createLogicalAnd(\n              contextObject,\n              factory2.createPropertyAccessExpression(contextObject, \"id\")\n            )\n          )\n        ])\n      )\n    );\n    visitNode(moduleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement);\n    const executeStatements = visitNodes2(node.statements, topLevelVisitor, isStatement, statementOffset);\n    addRange(statements, hoistedStatements);\n    insertStatementsAfterStandardPrologue(statements, endLexicalEnvironment());\n    const exportStarFunction = addExportStarIfNeeded(statements);\n    const modifiers = node.transformFlags & 2097152 /* ContainsAwait */ ? factory2.createModifiersFromModifierFlags(512 /* Async */) : void 0;\n    const moduleObject = factory2.createObjectLiteralExpression([\n      factory2.createPropertyAssignment(\n        \"setters\",\n        createSettersArray(exportStarFunction, dependencyGroups)\n      ),\n      factory2.createPropertyAssignment(\n        \"execute\",\n        factory2.createFunctionExpression(\n          modifiers,\n          void 0,\n          void 0,\n          void 0,\n          [],\n          void 0,\n          factory2.createBlock(executeStatements, true)\n        )\n      )\n    ], true);\n    statements.push(factory2.createReturnStatement(moduleObject));\n    return factory2.createBlock(statements, true);\n  }\n  function addExportStarIfNeeded(statements) {\n    if (!moduleInfo.hasExportStarsToExportValues) {\n      return;\n    }\n    if (!moduleInfo.exportedNames && moduleInfo.exportSpecifiers.size === 0) {\n      let hasExportDeclarationWithExportClause = false;\n      for (const externalImport of moduleInfo.externalImports) {\n        if (externalImport.kind === 281 /* ExportDeclaration */ && externalImport.exportClause) {\n          hasExportDeclarationWithExportClause = true;\n          break;\n        }\n      }\n      if (!hasExportDeclarationWithExportClause) {\n        const exportStarFunction2 = createExportStarFunction(void 0);\n        statements.push(exportStarFunction2);\n        return exportStarFunction2.name;\n      }\n    }\n    const exportedNames = [];\n    if (moduleInfo.exportedNames) {\n      for (const exportedLocalName of moduleInfo.exportedNames) {\n        if (exportedLocalName.escapedText === \"default\") {\n          continue;\n        }\n        exportedNames.push(\n          factory2.createPropertyAssignment(\n            factory2.createStringLiteralFromNode(exportedLocalName),\n            factory2.createTrue()\n          )\n        );\n      }\n    }\n    const exportedNamesStorageRef = factory2.createUniqueName(\"exportedNames\");\n    statements.push(\n      factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList([\n          factory2.createVariableDeclaration(\n            exportedNamesStorageRef,\n            void 0,\n            void 0,\n            factory2.createObjectLiteralExpression(exportedNames, true)\n          )\n        ])\n      )\n    );\n    const exportStarFunction = createExportStarFunction(exportedNamesStorageRef);\n    statements.push(exportStarFunction);\n    return exportStarFunction.name;\n  }\n  function createExportStarFunction(localNames) {\n    const exportStarFunction = factory2.createUniqueName(\"exportStar\");\n    const m = factory2.createIdentifier(\"m\");\n    const n = factory2.createIdentifier(\"n\");\n    const exports = factory2.createIdentifier(\"exports\");\n    let condition = factory2.createStrictInequality(n, factory2.createStringLiteral(\"default\"));\n    if (localNames) {\n      condition = factory2.createLogicalAnd(\n        condition,\n        factory2.createLogicalNot(\n          factory2.createCallExpression(\n            factory2.createPropertyAccessExpression(localNames, \"hasOwnProperty\"),\n            void 0,\n            [n]\n          )\n        )\n      );\n    }\n    return factory2.createFunctionDeclaration(\n      void 0,\n      void 0,\n      exportStarFunction,\n      void 0,\n      [factory2.createParameterDeclaration(void 0, void 0, m)],\n      void 0,\n      factory2.createBlock([\n        factory2.createVariableStatement(\n          void 0,\n          factory2.createVariableDeclarationList([\n            factory2.createVariableDeclaration(\n              exports,\n              void 0,\n              void 0,\n              factory2.createObjectLiteralExpression([])\n            )\n          ])\n        ),\n        factory2.createForInStatement(\n          factory2.createVariableDeclarationList([\n            factory2.createVariableDeclaration(n)\n          ]),\n          m,\n          factory2.createBlock([\n            setEmitFlags(\n              factory2.createIfStatement(\n                condition,\n                factory2.createExpressionStatement(\n                  factory2.createAssignment(\n                    factory2.createElementAccessExpression(exports, n),\n                    factory2.createElementAccessExpression(m, n)\n                  )\n                )\n              ),\n              1 /* SingleLine */\n            )\n          ])\n        ),\n        factory2.createExpressionStatement(\n          factory2.createCallExpression(\n            exportFunction,\n            void 0,\n            [exports]\n          )\n        )\n      ], true)\n    );\n  }\n  function createSettersArray(exportStarFunction, dependencyGroups) {\n    const setters = [];\n    for (const group2 of dependencyGroups) {\n      const localName = forEach(group2.externalImports, (i) => getLocalNameForExternalImport(factory2, i, currentSourceFile));\n      const parameterName = localName ? factory2.getGeneratedNameForNode(localName) : factory2.createUniqueName(\"\");\n      const statements = [];\n      for (const entry of group2.externalImports) {\n        const importVariableName = getLocalNameForExternalImport(factory2, entry, currentSourceFile);\n        switch (entry.kind) {\n          case 275 /* ImportDeclaration */:\n            if (!entry.importClause) {\n              break;\n            }\n          case 274 /* ImportEqualsDeclaration */:\n            Debug.assert(importVariableName !== void 0);\n            statements.push(\n              factory2.createExpressionStatement(\n                factory2.createAssignment(importVariableName, parameterName)\n              )\n            );\n            if (hasSyntacticModifier(entry, 1 /* Export */)) {\n              statements.push(\n                factory2.createExpressionStatement(\n                  factory2.createCallExpression(\n                    exportFunction,\n                    void 0,\n                    [\n                      factory2.createStringLiteral(idText(importVariableName)),\n                      parameterName\n                    ]\n                  )\n                )\n              );\n            }\n            break;\n          case 281 /* ExportDeclaration */:\n            Debug.assert(importVariableName !== void 0);\n            if (entry.exportClause) {\n              if (isNamedExports(entry.exportClause)) {\n                const properties = [];\n                for (const e of entry.exportClause.elements) {\n                  properties.push(\n                    factory2.createPropertyAssignment(\n                      factory2.createStringLiteral(idText(e.name)),\n                      factory2.createElementAccessExpression(\n                        parameterName,\n                        factory2.createStringLiteral(idText(e.propertyName || e.name))\n                      )\n                    )\n                  );\n                }\n                statements.push(\n                  factory2.createExpressionStatement(\n                    factory2.createCallExpression(\n                      exportFunction,\n                      void 0,\n                      [factory2.createObjectLiteralExpression(properties, true)]\n                    )\n                  )\n                );\n              } else {\n                statements.push(\n                  factory2.createExpressionStatement(\n                    factory2.createCallExpression(\n                      exportFunction,\n                      void 0,\n                      [\n                        factory2.createStringLiteral(idText(entry.exportClause.name)),\n                        parameterName\n                      ]\n                    )\n                  )\n                );\n              }\n            } else {\n              statements.push(\n                factory2.createExpressionStatement(\n                  factory2.createCallExpression(\n                    exportStarFunction,\n                    void 0,\n                    [parameterName]\n                  )\n                )\n              );\n            }\n            break;\n        }\n      }\n      setters.push(\n        factory2.createFunctionExpression(\n          void 0,\n          void 0,\n          void 0,\n          void 0,\n          [factory2.createParameterDeclaration(void 0, void 0, parameterName)],\n          void 0,\n          factory2.createBlock(statements, true)\n        )\n      );\n    }\n    return factory2.createArrayLiteralExpression(setters, true);\n  }\n  function topLevelVisitor(node) {\n    switch (node.kind) {\n      case 275 /* ImportDeclaration */:\n        return visitImportDeclaration(node);\n      case 274 /* ImportEqualsDeclaration */:\n        return visitImportEqualsDeclaration(node);\n      case 281 /* ExportDeclaration */:\n        return visitExportDeclaration(node);\n      case 280 /* ExportAssignment */:\n        return visitExportAssignment(node);\n      default:\n        return topLevelNestedVisitor(node);\n    }\n  }\n  function visitImportDeclaration(node) {\n    let statements;\n    if (node.importClause) {\n      hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile));\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfImportDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfImportDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function visitExportDeclaration(node) {\n    Debug.assertIsDefined(node);\n    return void 0;\n  }\n  function visitImportEqualsDeclaration(node) {\n    Debug.assert(isExternalModuleImportEqualsDeclaration(node), \"import= for internal module references should be handled in an earlier transformer.\");\n    let statements;\n    hoistVariableDeclaration(getLocalNameForExternalImport(factory2, node, currentSourceFile));\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfImportEqualsDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfImportEqualsDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function visitExportAssignment(node) {\n    if (node.isExportEquals) {\n      return void 0;\n    }\n    const expression = visitNode(node.expression, visitor, isExpression);\n    const original = node.original;\n    if (original && hasAssociatedEndOfDeclarationMarker(original)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportStatement(deferredExports[id], factory2.createIdentifier(\"default\"), expression, true);\n    } else {\n      return createExportStatement(factory2.createIdentifier(\"default\"), expression, true);\n    }\n  }\n  function visitFunctionDeclaration(node) {\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      hoistedStatements = append(\n        hoistedStatements,\n        factory2.updateFunctionDeclaration(\n          node,\n          visitNodes2(node.modifiers, modifierVisitor, isModifierLike),\n          node.asteriskToken,\n          factory2.getDeclarationName(node, true, true),\n          void 0,\n          visitNodes2(node.parameters, visitor, isParameterDeclaration),\n          void 0,\n          visitNode(node.body, visitor, isBlock)\n        )\n      );\n    } else {\n      hoistedStatements = append(hoistedStatements, visitEachChild(node, visitor, context));\n    }\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n    } else {\n      hoistedStatements = appendExportsOfHoistedDeclaration(hoistedStatements, node);\n    }\n    return void 0;\n  }\n  function visitClassDeclaration(node) {\n    let statements;\n    const name = factory2.getLocalName(node);\n    hoistVariableDeclaration(name);\n    statements = append(\n      statements,\n      setTextRange(\n        factory2.createExpressionStatement(\n          factory2.createAssignment(\n            name,\n            setTextRange(\n              factory2.createClassExpression(\n                visitNodes2(node.modifiers, modifierVisitor, isModifierLike),\n                node.name,\n                void 0,\n                visitNodes2(node.heritageClauses, visitor, isHeritageClause),\n                visitNodes2(node.members, visitor, isClassElement)\n              ),\n              node\n            )\n          )\n        ),\n        node\n      )\n    );\n    if (hasAssociatedEndOfDeclarationMarker(node)) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfHoistedDeclaration(deferredExports[id], node);\n    } else {\n      statements = appendExportsOfHoistedDeclaration(statements, node);\n    }\n    return singleOrMany(statements);\n  }\n  function visitVariableStatement(node) {\n    if (!shouldHoistVariableDeclarationList(node.declarationList)) {\n      return visitNode(node, visitor, isStatement);\n    }\n    let expressions;\n    const isExportedDeclaration = hasSyntacticModifier(node, 1 /* Export */);\n    const isMarkedDeclaration = hasAssociatedEndOfDeclarationMarker(node);\n    for (const variable of node.declarationList.declarations) {\n      if (variable.initializer) {\n        expressions = append(expressions, transformInitializedVariable(variable, isExportedDeclaration && !isMarkedDeclaration));\n      } else {\n        hoistBindingElement(variable);\n      }\n    }\n    let statements;\n    if (expressions) {\n      statements = append(statements, setTextRange(factory2.createExpressionStatement(factory2.inlineExpressions(expressions)), node));\n    }\n    if (isMarkedDeclaration) {\n      const id = getOriginalNodeId(node);\n      deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node, isExportedDeclaration);\n    } else {\n      statements = appendExportsOfVariableStatement(statements, node, false);\n    }\n    return singleOrMany(statements);\n  }\n  function hoistBindingElement(node) {\n    if (isBindingPattern(node.name)) {\n      for (const element of node.name.elements) {\n        if (!isOmittedExpression(element)) {\n          hoistBindingElement(element);\n        }\n      }\n    } else {\n      hoistVariableDeclaration(factory2.cloneNode(node.name));\n    }\n  }\n  function shouldHoistVariableDeclarationList(node) {\n    return (getEmitFlags(node) & 2097152 /* NoHoisting */) === 0 && (enclosingBlockScopedContainer.kind === 314 /* SourceFile */ || (getOriginalNode(node).flags & 3 /* BlockScoped */) === 0);\n  }\n  function transformInitializedVariable(node, isExportedDeclaration) {\n    const createAssignment3 = isExportedDeclaration ? createExportedVariableAssignment : createNonExportedVariableAssignment;\n    return isBindingPattern(node.name) ? flattenDestructuringAssignment(\n      node,\n      visitor,\n      context,\n      0 /* All */,\n      false,\n      createAssignment3\n    ) : node.initializer ? createAssignment3(node.name, visitNode(node.initializer, visitor, isExpression)) : node.name;\n  }\n  function createExportedVariableAssignment(name, value, location) {\n    return createVariableAssignment(name, value, location, true);\n  }\n  function createNonExportedVariableAssignment(name, value, location) {\n    return createVariableAssignment(name, value, location, false);\n  }\n  function createVariableAssignment(name, value, location, isExportedDeclaration) {\n    hoistVariableDeclaration(factory2.cloneNode(name));\n    return isExportedDeclaration ? createExportExpression(name, preventSubstitution(setTextRange(factory2.createAssignment(name, value), location))) : preventSubstitution(setTextRange(factory2.createAssignment(name, value), location));\n  }\n  function visitMergeDeclarationMarker(node) {\n    if (hasAssociatedEndOfDeclarationMarker(node) && node.original.kind === 244 /* VariableStatement */) {\n      const id = getOriginalNodeId(node);\n      const isExportedDeclaration = hasSyntacticModifier(node.original, 1 /* Export */);\n      deferredExports[id] = appendExportsOfVariableStatement(deferredExports[id], node.original, isExportedDeclaration);\n    }\n    return node;\n  }\n  function hasAssociatedEndOfDeclarationMarker(node) {\n    return (getEmitFlags(node) & 4194304 /* HasEndOfDeclarationMarker */) !== 0;\n  }\n  function visitEndOfDeclarationMarker(node) {\n    const id = getOriginalNodeId(node);\n    const statements = deferredExports[id];\n    if (statements) {\n      delete deferredExports[id];\n      return append(statements, node);\n    } else {\n      const original = getOriginalNode(node);\n      if (isModuleOrEnumDeclaration(original)) {\n        return append(appendExportsOfDeclaration(statements, original), node);\n      }\n    }\n    return node;\n  }\n  function appendExportsOfImportDeclaration(statements, decl) {\n    if (moduleInfo.exportEquals) {\n      return statements;\n    }\n    const importClause = decl.importClause;\n    if (!importClause) {\n      return statements;\n    }\n    if (importClause.name) {\n      statements = appendExportsOfDeclaration(statements, importClause);\n    }\n    const namedBindings = importClause.namedBindings;\n    if (namedBindings) {\n      switch (namedBindings.kind) {\n        case 277 /* NamespaceImport */:\n          statements = appendExportsOfDeclaration(statements, namedBindings);\n          break;\n        case 278 /* NamedImports */:\n          for (const importBinding of namedBindings.elements) {\n            statements = appendExportsOfDeclaration(statements, importBinding);\n          }\n          break;\n      }\n    }\n    return statements;\n  }\n  function appendExportsOfImportEqualsDeclaration(statements, decl) {\n    if (moduleInfo.exportEquals) {\n      return statements;\n    }\n    return appendExportsOfDeclaration(statements, decl);\n  }\n  function appendExportsOfVariableStatement(statements, node, exportSelf) {\n    if (moduleInfo.exportEquals) {\n      return statements;\n    }\n    for (const decl of node.declarationList.declarations) {\n      if (decl.initializer || exportSelf) {\n        statements = appendExportsOfBindingElement(statements, decl, exportSelf);\n      }\n    }\n    return statements;\n  }\n  function appendExportsOfBindingElement(statements, decl, exportSelf) {\n    if (moduleInfo.exportEquals) {\n      return statements;\n    }\n    if (isBindingPattern(decl.name)) {\n      for (const element of decl.name.elements) {\n        if (!isOmittedExpression(element)) {\n          statements = appendExportsOfBindingElement(statements, element, exportSelf);\n        }\n      }\n    } else if (!isGeneratedIdentifier(decl.name)) {\n      let excludeName;\n      if (exportSelf) {\n        statements = appendExportStatement(statements, decl.name, factory2.getLocalName(decl));\n        excludeName = idText(decl.name);\n      }\n      statements = appendExportsOfDeclaration(statements, decl, excludeName);\n    }\n    return statements;\n  }\n  function appendExportsOfHoistedDeclaration(statements, decl) {\n    if (moduleInfo.exportEquals) {\n      return statements;\n    }\n    let excludeName;\n    if (hasSyntacticModifier(decl, 1 /* Export */)) {\n      const exportName = hasSyntacticModifier(decl, 1024 /* Default */) ? factory2.createStringLiteral(\"default\") : decl.name;\n      statements = appendExportStatement(statements, exportName, factory2.getLocalName(decl));\n      excludeName = getTextOfIdentifierOrLiteral(exportName);\n    }\n    if (decl.name) {\n      statements = appendExportsOfDeclaration(statements, decl, excludeName);\n    }\n    return statements;\n  }\n  function appendExportsOfDeclaration(statements, decl, excludeName) {\n    if (moduleInfo.exportEquals) {\n      return statements;\n    }\n    const name = factory2.getDeclarationName(decl);\n    const exportSpecifiers = moduleInfo.exportSpecifiers.get(idText(name));\n    if (exportSpecifiers) {\n      for (const exportSpecifier of exportSpecifiers) {\n        if (exportSpecifier.name.escapedText !== excludeName) {\n          statements = appendExportStatement(statements, exportSpecifier.name, name);\n        }\n      }\n    }\n    return statements;\n  }\n  function appendExportStatement(statements, exportName, expression, allowComments) {\n    statements = append(statements, createExportStatement(exportName, expression, allowComments));\n    return statements;\n  }\n  function createExportStatement(name, value, allowComments) {\n    const statement = factory2.createExpressionStatement(createExportExpression(name, value));\n    startOnNewLine(statement);\n    if (!allowComments) {\n      setEmitFlags(statement, 1536 /* NoComments */);\n    }\n    return statement;\n  }\n  function createExportExpression(name, value) {\n    const exportName = isIdentifier(name) ? factory2.createStringLiteralFromNode(name) : name;\n    setEmitFlags(value, getEmitFlags(value) | 1536 /* NoComments */);\n    return setCommentRange(factory2.createCallExpression(exportFunction, void 0, [exportName, value]), value);\n  }\n  function topLevelNestedVisitor(node) {\n    switch (node.kind) {\n      case 244 /* VariableStatement */:\n        return visitVariableStatement(node);\n      case 263 /* FunctionDeclaration */:\n        return visitFunctionDeclaration(node);\n      case 264 /* ClassDeclaration */:\n        return visitClassDeclaration(node);\n      case 249 /* ForStatement */:\n        return visitForStatement(node, true);\n      case 250 /* ForInStatement */:\n        return visitForInStatement(node);\n      case 251 /* ForOfStatement */:\n        return visitForOfStatement(node);\n      case 247 /* DoStatement */:\n        return visitDoStatement(node);\n      case 248 /* WhileStatement */:\n        return visitWhileStatement(node);\n      case 257 /* LabeledStatement */:\n        return visitLabeledStatement(node);\n      case 255 /* WithStatement */:\n        return visitWithStatement(node);\n      case 256 /* SwitchStatement */:\n        return visitSwitchStatement(node);\n      case 272 /* CaseBlock */:\n        return visitCaseBlock(node);\n      case 298 /* CaseClause */:\n        return visitCaseClause(node);\n      case 299 /* DefaultClause */:\n        return visitDefaultClause(node);\n      case 259 /* TryStatement */:\n        return visitTryStatement(node);\n      case 301 /* CatchClause */:\n        return visitCatchClause(node);\n      case 242 /* Block */:\n        return visitBlock(node);\n      case 361 /* MergeDeclarationMarker */:\n        return visitMergeDeclarationMarker(node);\n      case 362 /* EndOfDeclarationMarker */:\n        return visitEndOfDeclarationMarker(node);\n      default:\n        return visitor(node);\n    }\n  }\n  function visitForStatement(node, isTopLevel) {\n    const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n    enclosingBlockScopedContainer = node;\n    node = factory2.updateForStatement(\n      node,\n      visitNode(node.initializer, isTopLevel ? visitForInitializer : discardedValueVisitor, isForInitializer),\n      visitNode(node.condition, visitor, isExpression),\n      visitNode(node.incrementor, discardedValueVisitor, isExpression),\n      visitIterationBody(node.statement, isTopLevel ? topLevelNestedVisitor : visitor, context)\n    );\n    enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n    return node;\n  }\n  function visitForInStatement(node) {\n    const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n    enclosingBlockScopedContainer = node;\n    node = factory2.updateForInStatement(\n      node,\n      visitForInitializer(node.initializer),\n      visitNode(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, topLevelNestedVisitor, context)\n    );\n    enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n    return node;\n  }\n  function visitForOfStatement(node) {\n    const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n    enclosingBlockScopedContainer = node;\n    node = factory2.updateForOfStatement(\n      node,\n      node.awaitModifier,\n      visitForInitializer(node.initializer),\n      visitNode(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, topLevelNestedVisitor, context)\n    );\n    enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n    return node;\n  }\n  function shouldHoistForInitializer(node) {\n    return isVariableDeclarationList(node) && shouldHoistVariableDeclarationList(node);\n  }\n  function visitForInitializer(node) {\n    if (shouldHoistForInitializer(node)) {\n      let expressions;\n      for (const variable of node.declarations) {\n        expressions = append(expressions, transformInitializedVariable(variable, false));\n        if (!variable.initializer) {\n          hoistBindingElement(variable);\n        }\n      }\n      return expressions ? factory2.inlineExpressions(expressions) : factory2.createOmittedExpression();\n    } else {\n      return visitNode(node, discardedValueVisitor, isExpression);\n    }\n  }\n  function visitDoStatement(node) {\n    return factory2.updateDoStatement(\n      node,\n      visitIterationBody(node.statement, topLevelNestedVisitor, context),\n      visitNode(node.expression, visitor, isExpression)\n    );\n  }\n  function visitWhileStatement(node) {\n    return factory2.updateWhileStatement(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      visitIterationBody(node.statement, topLevelNestedVisitor, context)\n    );\n  }\n  function visitLabeledStatement(node) {\n    return factory2.updateLabeledStatement(\n      node,\n      node.label,\n      visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock)\n    );\n  }\n  function visitWithStatement(node) {\n    return factory2.updateWithStatement(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      visitNode(node.statement, topLevelNestedVisitor, isStatement, factory2.liftToBlock)\n    );\n  }\n  function visitSwitchStatement(node) {\n    return factory2.updateSwitchStatement(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      visitNode(node.caseBlock, topLevelNestedVisitor, isCaseBlock)\n    );\n  }\n  function visitCaseBlock(node) {\n    const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n    enclosingBlockScopedContainer = node;\n    node = factory2.updateCaseBlock(\n      node,\n      visitNodes2(node.clauses, topLevelNestedVisitor, isCaseOrDefaultClause)\n    );\n    enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n    return node;\n  }\n  function visitCaseClause(node) {\n    return factory2.updateCaseClause(\n      node,\n      visitNode(node.expression, visitor, isExpression),\n      visitNodes2(node.statements, topLevelNestedVisitor, isStatement)\n    );\n  }\n  function visitDefaultClause(node) {\n    return visitEachChild(node, topLevelNestedVisitor, context);\n  }\n  function visitTryStatement(node) {\n    return visitEachChild(node, topLevelNestedVisitor, context);\n  }\n  function visitCatchClause(node) {\n    const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n    enclosingBlockScopedContainer = node;\n    node = factory2.updateCatchClause(\n      node,\n      node.variableDeclaration,\n      visitNode(node.block, topLevelNestedVisitor, isBlock)\n    );\n    enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n    return node;\n  }\n  function visitBlock(node) {\n    const savedEnclosingBlockScopedContainer = enclosingBlockScopedContainer;\n    enclosingBlockScopedContainer = node;\n    node = visitEachChild(node, topLevelNestedVisitor, context);\n    enclosingBlockScopedContainer = savedEnclosingBlockScopedContainer;\n    return node;\n  }\n  function visitorWorker(node, valueIsDiscarded) {\n    if (!(node.transformFlags & (4096 /* ContainsDestructuringAssignment */ | 8388608 /* ContainsDynamicImport */ | 268435456 /* ContainsUpdateExpressionForIdentifier */))) {\n      return node;\n    }\n    switch (node.kind) {\n      case 249 /* ForStatement */:\n        return visitForStatement(node, false);\n      case 245 /* ExpressionStatement */:\n        return visitExpressionStatement(node);\n      case 217 /* ParenthesizedExpression */:\n        return visitParenthesizedExpression(node, valueIsDiscarded);\n      case 359 /* PartiallyEmittedExpression */:\n        return visitPartiallyEmittedExpression(node, valueIsDiscarded);\n      case 227 /* BinaryExpression */:\n        if (isDestructuringAssignment(node)) {\n          return visitDestructuringAssignment(node, valueIsDiscarded);\n        }\n        break;\n      case 213 /* CallExpression */:\n        if (isImportCall(node)) {\n          return visitImportCallExpression(node);\n        }\n        break;\n      case 225 /* PrefixUnaryExpression */:\n      case 226 /* PostfixUnaryExpression */:\n        return visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded);\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function visitor(node) {\n    return visitorWorker(node, false);\n  }\n  function discardedValueVisitor(node) {\n    return visitorWorker(node, true);\n  }\n  function visitExpressionStatement(node) {\n    return factory2.updateExpressionStatement(node, visitNode(node.expression, discardedValueVisitor, isExpression));\n  }\n  function visitParenthesizedExpression(node, valueIsDiscarded) {\n    return factory2.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n  }\n  function visitPartiallyEmittedExpression(node, valueIsDiscarded) {\n    return factory2.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded ? discardedValueVisitor : visitor, isExpression));\n  }\n  function visitImportCallExpression(node) {\n    const externalModuleName = getExternalModuleNameLiteral(factory2, node, currentSourceFile, host, resolver, compilerOptions);\n    const firstArgument = visitNode(firstOrUndefined(node.arguments), visitor);\n    const argument = externalModuleName && (!firstArgument || !isStringLiteral(firstArgument) || firstArgument.text !== externalModuleName.text) ? externalModuleName : firstArgument;\n    return factory2.createCallExpression(\n      factory2.createPropertyAccessExpression(\n        contextObject,\n        factory2.createIdentifier(\"import\")\n      ),\n      void 0,\n      argument ? [argument] : []\n    );\n  }\n  function visitDestructuringAssignment(node, valueIsDiscarded) {\n    if (hasExportedReferenceInDestructuringTarget(node.left)) {\n      return flattenDestructuringAssignment(\n        node,\n        visitor,\n        context,\n        0 /* All */,\n        !valueIsDiscarded\n      );\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function hasExportedReferenceInDestructuringTarget(node) {\n    if (isAssignmentExpression(node, true)) {\n      return hasExportedReferenceInDestructuringTarget(node.left);\n    } else if (isSpreadElement(node)) {\n      return hasExportedReferenceInDestructuringTarget(node.expression);\n    } else if (isObjectLiteralExpression(node)) {\n      return some(node.properties, hasExportedReferenceInDestructuringTarget);\n    } else if (isArrayLiteralExpression(node)) {\n      return some(node.elements, hasExportedReferenceInDestructuringTarget);\n    } else if (isShorthandPropertyAssignment(node)) {\n      return hasExportedReferenceInDestructuringTarget(node.name);\n    } else if (isPropertyAssignment(node)) {\n      return hasExportedReferenceInDestructuringTarget(node.initializer);\n    } else if (isIdentifier(node)) {\n      const container = resolver.getReferencedExportContainer(node);\n      return container !== void 0 && container.kind === 314 /* SourceFile */;\n    } else {\n      return false;\n    }\n  }\n  function visitPrefixOrPostfixUnaryExpression(node, valueIsDiscarded) {\n    if ((node.operator === 45 /* PlusPlusToken */ || node.operator === 46 /* MinusMinusToken */) && isIdentifier(node.operand) && !isGeneratedIdentifier(node.operand) && !isLocalName(node.operand) && !isDeclarationNameOfEnumOrNamespace(node.operand)) {\n      const exportedNames = getExports(node.operand);\n      if (exportedNames) {\n        let temp;\n        let expression = visitNode(node.operand, visitor, isExpression);\n        if (isPrefixUnaryExpression(node)) {\n          expression = factory2.updatePrefixUnaryExpression(node, expression);\n        } else {\n          expression = factory2.updatePostfixUnaryExpression(node, expression);\n          if (!valueIsDiscarded) {\n            temp = factory2.createTempVariable(hoistVariableDeclaration);\n            expression = factory2.createAssignment(temp, expression);\n            setTextRange(expression, node);\n          }\n          expression = factory2.createComma(expression, factory2.cloneNode(node.operand));\n          setTextRange(expression, node);\n        }\n        for (const exportName of exportedNames) {\n          expression = createExportExpression(exportName, preventSubstitution(expression));\n        }\n        if (temp) {\n          expression = factory2.createComma(expression, temp);\n          setTextRange(expression, node);\n        }\n        return expression;\n      }\n    }\n    return visitEachChild(node, visitor, context);\n  }\n  function modifierVisitor(node) {\n    switch (node.kind) {\n      case 94 /* ExportKeyword */:\n      case 89 /* DefaultKeyword */:\n        return void 0;\n    }\n    return node;\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (node.kind === 314 /* SourceFile */) {\n      const id = getOriginalNodeId(node);\n      currentSourceFile = node;\n      moduleInfo = moduleInfoMap[id];\n      exportFunction = exportFunctionsMap[id];\n      noSubstitution = noSubstitutionMap[id];\n      contextObject = contextObjectMap[id];\n      if (noSubstitution) {\n        delete noSubstitutionMap[id];\n      }\n      previousOnEmitNode(hint, node, emitCallback);\n      currentSourceFile = void 0;\n      moduleInfo = void 0;\n      exportFunction = void 0;\n      contextObject = void 0;\n      noSubstitution = void 0;\n    } else {\n      previousOnEmitNode(hint, node, emitCallback);\n    }\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (isSubstitutionPrevented(node)) {\n      return node;\n    }\n    if (hint === 1 /* Expression */) {\n      return substituteExpression(node);\n    } else if (hint === 4 /* Unspecified */) {\n      return substituteUnspecified(node);\n    }\n    return node;\n  }\n  function substituteUnspecified(node) {\n    switch (node.kind) {\n      case 306 /* ShorthandPropertyAssignment */:\n        return substituteShorthandPropertyAssignment(node);\n    }\n    return node;\n  }\n  function substituteShorthandPropertyAssignment(node) {\n    var _a2, _b;\n    const name = node.name;\n    if (!isGeneratedIdentifier(name) && !isLocalName(name)) {\n      const importDeclaration = resolver.getReferencedImportDeclaration(name);\n      if (importDeclaration) {\n        if (isImportClause(importDeclaration)) {\n          return setTextRange(\n            factory2.createPropertyAssignment(\n              factory2.cloneNode(name),\n              factory2.createPropertyAccessExpression(\n                factory2.getGeneratedNameForNode(importDeclaration.parent),\n                factory2.createIdentifier(\"default\")\n              )\n            ),\n            node\n          );\n        } else if (isImportSpecifier(importDeclaration)) {\n          return setTextRange(\n            factory2.createPropertyAssignment(\n              factory2.cloneNode(name),\n              factory2.createPropertyAccessExpression(\n                factory2.getGeneratedNameForNode(((_b = (_a2 = importDeclaration.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.parent) || importDeclaration),\n                factory2.cloneNode(importDeclaration.propertyName || importDeclaration.name)\n              )\n            ),\n            node\n          );\n        }\n      }\n    }\n    return node;\n  }\n  function substituteExpression(node) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return substituteExpressionIdentifier(node);\n      case 227 /* BinaryExpression */:\n        return substituteBinaryExpression(node);\n      case 237 /* MetaProperty */:\n        return substituteMetaProperty(node);\n    }\n    return node;\n  }\n  function substituteExpressionIdentifier(node) {\n    var _a2, _b;\n    if (getEmitFlags(node) & 4096 /* HelperName */) {\n      const externalHelpersModuleName = getExternalHelpersModuleName(currentSourceFile);\n      if (externalHelpersModuleName) {\n        return factory2.createPropertyAccessExpression(externalHelpersModuleName, node);\n      }\n      return node;\n    }\n    if (!isGeneratedIdentifier(node) && !isLocalName(node)) {\n      const importDeclaration = resolver.getReferencedImportDeclaration(node);\n      if (importDeclaration) {\n        if (isImportClause(importDeclaration)) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.getGeneratedNameForNode(importDeclaration.parent),\n              factory2.createIdentifier(\"default\")\n            ),\n            node\n          );\n        } else if (isImportSpecifier(importDeclaration)) {\n          return setTextRange(\n            factory2.createPropertyAccessExpression(\n              factory2.getGeneratedNameForNode(((_b = (_a2 = importDeclaration.parent) == null ? void 0 : _a2.parent) == null ? void 0 : _b.parent) || importDeclaration),\n              factory2.cloneNode(importDeclaration.propertyName || importDeclaration.name)\n            ),\n            node\n          );\n        }\n      }\n    }\n    return node;\n  }\n  function substituteBinaryExpression(node) {\n    if (isAssignmentOperator(node.operatorToken.kind) && isIdentifier(node.left) && !isGeneratedIdentifier(node.left) && !isLocalName(node.left) && !isDeclarationNameOfEnumOrNamespace(node.left)) {\n      const exportedNames = getExports(node.left);\n      if (exportedNames) {\n        let expression = node;\n        for (const exportName of exportedNames) {\n          expression = createExportExpression(exportName, preventSubstitution(expression));\n        }\n        return expression;\n      }\n    }\n    return node;\n  }\n  function substituteMetaProperty(node) {\n    if (isImportMeta(node)) {\n      return factory2.createPropertyAccessExpression(contextObject, factory2.createIdentifier(\"meta\"));\n    }\n    return node;\n  }\n  function getExports(name) {\n    let exportedNames;\n    if (!isGeneratedIdentifier(name)) {\n      const valueDeclaration = resolver.getReferencedImportDeclaration(name) || resolver.getReferencedValueDeclaration(name);\n      if (valueDeclaration) {\n        const exportContainer = resolver.getReferencedExportContainer(name, false);\n        if (exportContainer && exportContainer.kind === 314 /* SourceFile */) {\n          exportedNames = append(exportedNames, factory2.getDeclarationName(valueDeclaration));\n        }\n        exportedNames = addRange(exportedNames, moduleInfo && moduleInfo.exportedBindings[getOriginalNodeId(valueDeclaration)]);\n      }\n    }\n    return exportedNames;\n  }\n  function preventSubstitution(node) {\n    if (noSubstitution === void 0)\n      noSubstitution = [];\n    noSubstitution[getNodeId(node)] = true;\n    return node;\n  }\n  function isSubstitutionPrevented(node) {\n    return noSubstitution && node.id && noSubstitution[node.id];\n  }\n}\n\n// src/compiler/transformers/module/esnextAnd2015.ts\nfunction transformECMAScriptModule(context) {\n  const {\n    factory: factory2,\n    getEmitHelperFactory: emitHelpers\n  } = context;\n  const host = context.getEmitHost();\n  const resolver = context.getEmitResolver();\n  const compilerOptions = context.getCompilerOptions();\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const previousOnEmitNode = context.onEmitNode;\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  context.onEmitNode = onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  context.enableEmitNotification(314 /* SourceFile */);\n  context.enableSubstitution(79 /* Identifier */);\n  let helperNameSubstitutions;\n  let currentSourceFile;\n  let importRequireStatements;\n  return chainBundle(context, transformSourceFile);\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    if (isExternalModule(node) || compilerOptions.isolatedModules) {\n      currentSourceFile = node;\n      importRequireStatements = void 0;\n      let result = updateExternalModule(node);\n      currentSourceFile = void 0;\n      if (importRequireStatements) {\n        result = factory2.updateSourceFile(\n          result,\n          setTextRange(factory2.createNodeArray(insertStatementsAfterCustomPrologue(result.statements.slice(), importRequireStatements)), result.statements)\n        );\n      }\n      if (!isExternalModule(node) || some(result.statements, isExternalModuleIndicator)) {\n        return result;\n      }\n      if (isOnlyAnnotationsAreExportedOrImported(result, resolver)) {\n        return result;\n      }\n      return factory2.updateSourceFile(\n        result,\n        setTextRange(factory2.createNodeArray([...result.statements, createEmptyExports(factory2)]), result.statements)\n      );\n    }\n    return node;\n  }\n  function updateExternalModule(node) {\n    const externalHelpersImportDeclaration = createExternalHelpersImportDeclarationIfNeeded(factory2, emitHelpers(), node, compilerOptions);\n    if (externalHelpersImportDeclaration) {\n      const statements = [];\n      const statementOffset = factory2.copyPrologue(node.statements, statements);\n      append(statements, externalHelpersImportDeclaration);\n      addRange(statements, visitNodes2(node.statements, visitor, isStatement, statementOffset));\n      return factory2.updateSourceFile(\n        node,\n        setTextRange(factory2.createNodeArray(statements), node.statements)\n      );\n    } else {\n      return visitEachChild(node, visitor, context);\n    }\n  }\n  function visitor(node) {\n    switch (node.kind) {\n      case 274 /* ImportEqualsDeclaration */:\n        return getEmitModuleKind(compilerOptions) >= 100 /* Node16 */ ? visitImportEqualsDeclaration(node) : void 0;\n      case 280 /* ExportAssignment */:\n        return visitExportAssignment(node);\n      case 281 /* ExportDeclaration */:\n        const exportDecl = node;\n        return visitExportDeclaration(exportDecl);\n    }\n    return node;\n  }\n  function createRequireCall2(importNode) {\n    const moduleName = getExternalModuleNameLiteral(factory2, importNode, Debug.checkDefined(currentSourceFile), host, resolver, compilerOptions);\n    const args = [];\n    if (moduleName) {\n      args.push(moduleName);\n    }\n    if (!importRequireStatements) {\n      const createRequireName = factory2.createUniqueName(\"_createRequire\", 16 /* Optimistic */ | 32 /* FileLevel */);\n      const importStatement = factory2.createImportDeclaration(\n        void 0,\n        factory2.createImportClause(\n          false,\n          void 0,\n          factory2.createNamedImports([\n            factory2.createImportSpecifier(false, factory2.createIdentifier(\"createRequire\"), createRequireName)\n          ])\n        ),\n        factory2.createStringLiteral(\"module\")\n      );\n      const requireHelperName = factory2.createUniqueName(\"__require\", 16 /* Optimistic */ | 32 /* FileLevel */);\n      const requireStatement = factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList(\n          [\n            factory2.createVariableDeclaration(\n              requireHelperName,\n              void 0,\n              void 0,\n              factory2.createCallExpression(factory2.cloneNode(createRequireName), void 0, [\n                factory2.createPropertyAccessExpression(factory2.createMetaProperty(101 /* ImportKeyword */, factory2.createIdentifier(\"meta\")), factory2.createIdentifier(\"url\"))\n              ])\n            )\n          ],\n          languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */\n        )\n      );\n      importRequireStatements = [importStatement, requireStatement];\n    }\n    const name = importRequireStatements[1].declarationList.declarations[0].name;\n    Debug.assertNode(name, isIdentifier);\n    return factory2.createCallExpression(factory2.cloneNode(name), void 0, args);\n  }\n  function visitImportEqualsDeclaration(node) {\n    Debug.assert(isExternalModuleImportEqualsDeclaration(node), \"import= for internal module references should be handled in an earlier transformer.\");\n    let statements;\n    statements = append(\n      statements,\n      setOriginalNode(\n        setTextRange(\n          factory2.createVariableStatement(\n            void 0,\n            factory2.createVariableDeclarationList(\n              [\n                factory2.createVariableDeclaration(\n                  factory2.cloneNode(node.name),\n                  void 0,\n                  void 0,\n                  createRequireCall2(node)\n                )\n              ],\n              languageVersion >= 2 /* ES2015 */ ? 2 /* Const */ : 0 /* None */\n            )\n          ),\n          node\n        ),\n        node\n      )\n    );\n    statements = appendExportsOfImportEqualsDeclaration(statements, node);\n    return singleOrMany(statements);\n  }\n  function appendExportsOfImportEqualsDeclaration(statements, node) {\n    if (hasSyntacticModifier(node, 1 /* Export */)) {\n      statements = append(statements, factory2.createExportDeclaration(\n        void 0,\n        node.isTypeOnly,\n        factory2.createNamedExports([factory2.createExportSpecifier(false, void 0, idText(node.name))])\n      ));\n    }\n    return statements;\n  }\n  function visitExportAssignment(node) {\n    return node.isExportEquals ? void 0 : node;\n  }\n  function visitExportDeclaration(node) {\n    if (compilerOptions.module !== void 0 && compilerOptions.module > 5 /* ES2015 */) {\n      return node;\n    }\n    if (!node.exportClause || !isNamespaceExport(node.exportClause) || !node.moduleSpecifier) {\n      return node;\n    }\n    const oldIdentifier = node.exportClause.name;\n    const synthName = factory2.getGeneratedNameForNode(oldIdentifier);\n    const importDecl = factory2.createImportDeclaration(\n      void 0,\n      factory2.createImportClause(\n        false,\n        void 0,\n        factory2.createNamespaceImport(\n          synthName\n        )\n      ),\n      node.moduleSpecifier,\n      node.assertClause\n    );\n    setOriginalNode(importDecl, node.exportClause);\n    const exportDecl = isExportNamespaceAsDefaultDeclaration(node) ? factory2.createExportDefault(synthName) : factory2.createExportDeclaration(\n      void 0,\n      false,\n      factory2.createNamedExports([factory2.createExportSpecifier(false, synthName, oldIdentifier)])\n    );\n    setOriginalNode(exportDecl, node);\n    return [importDecl, exportDecl];\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (isSourceFile(node)) {\n      if ((isExternalModule(node) || compilerOptions.isolatedModules) && compilerOptions.importHelpers) {\n        helperNameSubstitutions = new Map2();\n      }\n      previousOnEmitNode(hint, node, emitCallback);\n      helperNameSubstitutions = void 0;\n    } else {\n      previousOnEmitNode(hint, node, emitCallback);\n    }\n  }\n  function onSubstituteNode(hint, node) {\n    node = previousOnSubstituteNode(hint, node);\n    if (helperNameSubstitutions && isIdentifier(node) && getEmitFlags(node) & 4096 /* HelperName */) {\n      return substituteHelperName(node);\n    }\n    return node;\n  }\n  function substituteHelperName(node) {\n    const name = idText(node);\n    let substitution = helperNameSubstitutions.get(name);\n    if (!substitution) {\n      helperNameSubstitutions.set(name, substitution = factory2.createUniqueName(name, 16 /* Optimistic */ | 32 /* FileLevel */));\n    }\n    return substitution;\n  }\n}\n\n// src/compiler/transformers/module/node.ts\nfunction transformNodeModule(context) {\n  const previousOnSubstituteNode = context.onSubstituteNode;\n  const previousOnEmitNode = context.onEmitNode;\n  const esmTransform = transformECMAScriptModule(context);\n  const esmOnSubstituteNode = context.onSubstituteNode;\n  const esmOnEmitNode = context.onEmitNode;\n  context.onSubstituteNode = previousOnSubstituteNode;\n  context.onEmitNode = previousOnEmitNode;\n  const cjsTransform = transformModule(context);\n  const cjsOnSubstituteNode = context.onSubstituteNode;\n  const cjsOnEmitNode = context.onEmitNode;\n  context.onSubstituteNode = onSubstituteNode;\n  context.onEmitNode = onEmitNode;\n  context.enableSubstitution(314 /* SourceFile */);\n  context.enableEmitNotification(314 /* SourceFile */);\n  let currentSourceFile;\n  return transformSourceFileOrBundle;\n  function onSubstituteNode(hint, node) {\n    if (isSourceFile(node)) {\n      currentSourceFile = node;\n      return previousOnSubstituteNode(hint, node);\n    } else {\n      if (!currentSourceFile) {\n        return previousOnSubstituteNode(hint, node);\n      }\n      if (currentSourceFile.impliedNodeFormat === 99 /* ESNext */) {\n        return esmOnSubstituteNode(hint, node);\n      }\n      return cjsOnSubstituteNode(hint, node);\n    }\n  }\n  function onEmitNode(hint, node, emitCallback) {\n    if (isSourceFile(node)) {\n      currentSourceFile = node;\n    }\n    if (!currentSourceFile) {\n      return previousOnEmitNode(hint, node, emitCallback);\n    }\n    if (currentSourceFile.impliedNodeFormat === 99 /* ESNext */) {\n      return esmOnEmitNode(hint, node, emitCallback);\n    }\n    return cjsOnEmitNode(hint, node, emitCallback);\n  }\n  function getModuleTransformForFile(file) {\n    return file.impliedNodeFormat === 99 /* ESNext */ ? esmTransform : cjsTransform;\n  }\n  function transformSourceFile(node) {\n    if (node.isDeclarationFile) {\n      return node;\n    }\n    currentSourceFile = node;\n    const result = getModuleTransformForFile(node)(node);\n    currentSourceFile = void 0;\n    Debug.assert(isSourceFile(result));\n    return result;\n  }\n  function transformSourceFileOrBundle(node) {\n    return node.kind === 314 /* SourceFile */ ? transformSourceFile(node) : transformBundle(node);\n  }\n  function transformBundle(node) {\n    return context.factory.createBundle(map(node.sourceFiles, transformSourceFile), node.prepends);\n  }\n}\n\n// src/compiler/transformers/declarations/diagnostics.ts\nfunction canProduceDiagnostics(node) {\n  return isVariableDeclaration(node) || isPropertyDeclaration(node) || isAnnotationPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isJSDocTypeAlias(node);\n}\nfunction createGetSymbolAccessibilityDiagnosticForNodeName(node) {\n  if (isSetAccessor(node) || isGetAccessor(node)) {\n    return getAccessorNameVisibilityError;\n  } else if (isMethodSignature(node) || isMethodDeclaration(node)) {\n    return getMethodNameVisibilityError;\n  } else {\n    return createGetSymbolAccessibilityDiagnosticForNode(node);\n  }\n  function getAccessorNameVisibilityError(symbolAccessibilityResult) {\n    const diagnosticMessage = getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult);\n    return diagnosticMessage !== void 0 ? {\n      diagnosticMessage,\n      errorNode: node,\n      typeName: node.name\n    } : void 0;\n  }\n  function getAccessorNameVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n    if (isStatic(node)) {\n      return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;\n    } else if (node.parent.kind === 264 /* ClassDeclaration */) {\n      return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1;\n    } else {\n      return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1;\n    }\n  }\n  function getMethodNameVisibilityError(symbolAccessibilityResult) {\n    const diagnosticMessage = getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult);\n    return diagnosticMessage !== void 0 ? {\n      diagnosticMessage,\n      errorNode: node,\n      typeName: node.name\n    } : void 0;\n  }\n  function getMethodNameVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n    if (isStatic(node)) {\n      return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1;\n    } else if (node.parent.kind === 264 /* ClassDeclaration */) {\n      return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1;\n    } else {\n      return symbolAccessibilityResult.errorModuleName ? Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1;\n    }\n  }\n}\nfunction createGetSymbolAccessibilityDiagnosticForNode(node) {\n  if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isAnnotationPropertyDeclaration(node) || isPropertyAccessExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) {\n    return getVariableDeclarationTypeVisibilityError;\n  } else if (isSetAccessor(node) || isGetAccessor(node)) {\n    return getAccessorDeclarationTypeVisibilityError;\n  } else if (isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isIndexSignatureDeclaration(node)) {\n    return getReturnTypeVisibilityError;\n  } else if (isParameter(node)) {\n    if (isParameterPropertyDeclaration(node, node.parent) && hasSyntacticModifier(node.parent, 8 /* Private */)) {\n      return getVariableDeclarationTypeVisibilityError;\n    }\n    return getParameterDeclarationTypeVisibilityError;\n  } else if (isTypeParameterDeclaration(node)) {\n    return getTypeParameterConstraintVisibilityError;\n  } else if (isExpressionWithTypeArguments(node)) {\n    return getHeritageClauseVisibilityError;\n  } else if (isImportEqualsDeclaration(node)) {\n    return getImportEntityNameVisibilityError;\n  } else if (isTypeAliasDeclaration(node) || isJSDocTypeAlias(node)) {\n    return getTypeAliasDeclarationVisibilityError;\n  } else {\n    return Debug.assertNever(node, `Attempted to set a declaration diagnostic context for unhandled node kind: ${Debug.formatSyntaxKind(node.kind)}`);\n  }\n  function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n    if (node.kind === 261 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) {\n      return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;\n    } else if (node.kind === 171 /* PropertyDeclaration */ || node.kind === 211 /* PropertyAccessExpression */ || node.kind === 170 /* PropertySignature */ || node.kind === 168 /* Parameter */ && hasSyntacticModifier(node.parent, 8 /* Private */)) {\n      if (isStatic(node)) {\n        return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;\n      } else if (node.parent.kind === 264 /* ClassDeclaration */ || node.kind === 168 /* Parameter */) {\n        return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1;\n      } else {\n        return symbolAccessibilityResult.errorModuleName ? Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1;\n      }\n    }\n  }\n  function getVariableDeclarationTypeVisibilityError(symbolAccessibilityResult) {\n    const diagnosticMessage = getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult);\n    return diagnosticMessage !== void 0 ? {\n      diagnosticMessage,\n      errorNode: node,\n      typeName: node.name\n    } : void 0;\n  }\n  function getAccessorDeclarationTypeVisibilityError(symbolAccessibilityResult) {\n    let diagnosticMessage;\n    if (node.kind === 178 /* SetAccessor */) {\n      if (isStatic(node)) {\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1;\n      } else {\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1;\n      }\n    } else {\n      if (isStatic(node)) {\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1;\n      } else {\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;\n      }\n    }\n    return {\n      diagnosticMessage,\n      errorNode: node.name,\n      typeName: node.name\n    };\n  }\n  function getReturnTypeVisibilityError(symbolAccessibilityResult) {\n    let diagnosticMessage;\n    switch (node.kind) {\n      case 180 /* ConstructSignature */:\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;\n        break;\n      case 179 /* CallSignature */:\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;\n        break;\n      case 181 /* IndexSignature */:\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;\n        break;\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        if (isStatic(node)) {\n          diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0;\n        } else if (node.parent.kind === 264 /* ClassDeclaration */) {\n          diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0;\n        } else {\n          diagnosticMessage = symbolAccessibilityResult.errorModuleName ? Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;\n        }\n        break;\n      case 263 /* FunctionDeclaration */:\n        diagnosticMessage = symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named : Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1 : Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;\n        break;\n      default:\n        return Debug.fail(\"This is unknown kind for signature: \" + node.kind);\n    }\n    return {\n      diagnosticMessage,\n      errorNode: node.name || node\n    };\n  }\n  function getParameterDeclarationTypeVisibilityError(symbolAccessibilityResult) {\n    const diagnosticMessage = getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult);\n    return diagnosticMessage !== void 0 ? {\n      diagnosticMessage,\n      errorNode: node,\n      typeName: node.name\n    } : void 0;\n  }\n  function getParameterDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {\n    switch (node.parent.kind) {\n      case 176 /* Constructor */:\n        return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;\n      case 180 /* ConstructSignature */:\n      case 185 /* ConstructorType */:\n        return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;\n      case 179 /* CallSignature */:\n        return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;\n      case 181 /* IndexSignature */:\n        return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        if (isStatic(node.parent)) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1;\n        } else if (node.parent.parent.kind === 264 /* ClassDeclaration */) {\n          return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1;\n        } else {\n          return symbolAccessibilityResult.errorModuleName ? Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;\n        }\n      case 263 /* FunctionDeclaration */:\n      case 184 /* FunctionType */:\n        return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;\n      case 178 /* SetAccessor */:\n      case 177 /* GetAccessor */:\n        return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;\n      default:\n        return Debug.fail(`Unknown parent for parameter: ${Debug.formatSyntaxKind(node.parent.kind)}`);\n    }\n  }\n  function getTypeParameterConstraintVisibilityError() {\n    let diagnosticMessage;\n    switch (node.parent.kind) {\n      case 264 /* ClassDeclaration */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;\n        break;\n      case 267 /* InterfaceDeclaration */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;\n        break;\n      case 200 /* MappedType */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;\n        break;\n      case 185 /* ConstructorType */:\n      case 180 /* ConstructSignature */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;\n        break;\n      case 179 /* CallSignature */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;\n        break;\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        if (isStatic(node.parent)) {\n          diagnosticMessage = Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1;\n        } else if (node.parent.parent.kind === 264 /* ClassDeclaration */) {\n          diagnosticMessage = Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1;\n        } else {\n          diagnosticMessage = Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;\n        }\n        break;\n      case 184 /* FunctionType */:\n      case 263 /* FunctionDeclaration */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;\n        break;\n      case 268 /* TypeAliasDeclaration */:\n        diagnosticMessage = Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;\n        break;\n      default:\n        return Debug.fail(\"This is unknown parent for type parameter: \" + node.parent.kind);\n    }\n    return {\n      diagnosticMessage,\n      errorNode: node,\n      typeName: node.name\n    };\n  }\n  function getHeritageClauseVisibilityError() {\n    let diagnosticMessage;\n    if (isClassDeclaration(node.parent.parent)) {\n      diagnosticMessage = isHeritageClause(node.parent) && node.parent.token === 118 /* ImplementsKeyword */ ? Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1 : node.parent.parent.name ? Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1 : Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0;\n    } else {\n      diagnosticMessage = Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;\n    }\n    return {\n      diagnosticMessage,\n      errorNode: node,\n      typeName: getNameOfDeclaration(node.parent.parent)\n    };\n  }\n  function getImportEntityNameVisibilityError() {\n    return {\n      diagnosticMessage: Diagnostics.Import_declaration_0_is_using_private_name_1,\n      errorNode: node,\n      typeName: node.name\n    };\n  }\n  function getTypeAliasDeclarationVisibilityError(symbolAccessibilityResult) {\n    return {\n      diagnosticMessage: symbolAccessibilityResult.errorModuleName ? Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2 : Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,\n      errorNode: isJSDocTypeAlias(node) ? Debug.checkDefined(node.typeExpression) : node.type,\n      typeName: isJSDocTypeAlias(node) ? getNameOfDeclaration(node) : node.name\n    };\n  }\n}\nfunction createGetIsolatedDeclarationErrors(resolver) {\n  const relatedSuggestionByDeclarationKind = {\n    [219 /* ArrowFunction */]: Diagnostics.Add_a_return_type_to_the_function_expression,\n    [218 /* FunctionExpression */]: Diagnostics.Add_a_return_type_to_the_function_expression,\n    [174 /* MethodDeclaration */]: Diagnostics.Add_a_return_type_to_the_method,\n    [177 /* GetAccessor */]: Diagnostics.Add_a_return_type_to_the_get_accessor_declaration,\n    [178 /* SetAccessor */]: Diagnostics.Add_a_type_to_parameter_of_the_set_accessor_declaration,\n    [263 /* FunctionDeclaration */]: Diagnostics.Add_a_return_type_to_the_function_declaration,\n    [180 /* ConstructSignature */]: Diagnostics.Add_a_return_type_to_the_function_declaration,\n    [168 /* Parameter */]: Diagnostics.Add_a_type_annotation_to_the_parameter_0,\n    [261 /* VariableDeclaration */]: Diagnostics.Add_a_type_annotation_to_the_variable_0,\n    [171 /* PropertyDeclaration */]: Diagnostics.Add_a_type_annotation_to_the_property_0,\n    [170 /* PropertySignature */]: Diagnostics.Add_a_type_annotation_to_the_property_0,\n    [280 /* ExportAssignment */]: Diagnostics.Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it\n  };\n  const errorByDeclarationKind = {\n    [218 /* FunctionExpression */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [263 /* FunctionDeclaration */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [219 /* ArrowFunction */]: Diagnostics.Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [174 /* MethodDeclaration */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [180 /* ConstructSignature */]: Diagnostics.Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [177 /* GetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [178 /* SetAccessor */]: Diagnostics.At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations,\n    [168 /* Parameter */]: Diagnostics.Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations,\n    [261 /* VariableDeclaration */]: Diagnostics.Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations,\n    [171 /* PropertyDeclaration */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations,\n    [170 /* PropertySignature */]: Diagnostics.Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations,\n    [166 /* ComputedPropertyName */]: Diagnostics.Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedDeclarations,\n    [307 /* SpreadAssignment */]: Diagnostics.Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations,\n    [306 /* ShorthandPropertyAssignment */]: Diagnostics.Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations,\n    [209 /* ArrayLiteralExpression */]: Diagnostics.Only_const_arrays_can_be_inferred_with_isolatedDeclarations,\n    [280 /* ExportAssignment */]: Diagnostics.Default_exports_can_t_be_inferred_with_isolatedDeclarations,\n    [231 /* SpreadElement */]: Diagnostics.Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations\n  };\n  return getDiagnostic2;\n  function getDiagnostic2(node) {\n    const heritageClause = findAncestor(node, isHeritageClause);\n    if (heritageClause) {\n      return createDiagnosticForNode(node, Diagnostics.Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations);\n    }\n    Debug.type(node);\n    switch (node.kind) {\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return createAccessorTypeError(node);\n      case 166 /* ComputedPropertyName */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 307 /* SpreadAssignment */:\n        return createObjectLiteralError(node);\n      case 209 /* ArrayLiteralExpression */:\n      case 231 /* SpreadElement */:\n        return createArrayLiteralError(node);\n      case 174 /* MethodDeclaration */:\n      case 180 /* ConstructSignature */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 263 /* FunctionDeclaration */:\n        return createReturnTypeError(node);\n      case 208 /* BindingElement */:\n        return createBindingElementError(node);\n      case 171 /* PropertyDeclaration */:\n      case 261 /* VariableDeclaration */:\n        return createVariableOrPropertyError(node);\n      case 168 /* Parameter */:\n        return createParameterError(node);\n      case 305 /* PropertyAssignment */:\n        return createExpressionError(node.initializer);\n      case 232 /* ClassExpression */:\n        return createClassExpressionError(node);\n      default:\n        assertType(node);\n        return createExpressionError(node);\n    }\n  }\n  function findNearestDeclaration(node) {\n    const result = findAncestor(node, (n) => isExportAssignment(n) || (isStatement(n) ? \"quit\" : isVariableDeclaration(n) || isPropertyDeclaration(n) || isParameter(n)));\n    return result;\n  }\n  function createAccessorTypeError(node) {\n    var _a2;\n    const { getAccessor, setAccessor } = getAllAccessorDeclarations(node.symbol.declarations, node);\n    const targetNode = (_a2 = isSetAccessor(node) ? node.parameters[0] : node) != null ? _a2 : node;\n    const diag2 = createDiagnosticForNode(targetNode, errorByDeclarationKind[node.kind]);\n    if (setAccessor) {\n      addRelatedInfo(diag2, createDiagnosticForNode(setAccessor, relatedSuggestionByDeclarationKind[setAccessor.kind]));\n    }\n    if (getAccessor) {\n      addRelatedInfo(diag2, createDiagnosticForNode(getAccessor, relatedSuggestionByDeclarationKind[getAccessor.kind]));\n    }\n    return diag2;\n  }\n  function createObjectLiteralError(node) {\n    const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]);\n    const parentDeclaration = findNearestDeclaration(node);\n    if (parentDeclaration) {\n      const targetStr = isExportAssignment(parentDeclaration) ? \"\" : getTextOfNode(parentDeclaration.name, false);\n      addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr));\n    }\n    return diag2;\n  }\n  function createArrayLiteralError(node) {\n    const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]);\n    const parentDeclaration = findNearestDeclaration(node);\n    if (parentDeclaration) {\n      const targetStr = isExportAssignment(parentDeclaration) ? \"\" : getTextOfNode(parentDeclaration.name, false);\n      addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr));\n    }\n    return diag2;\n  }\n  function createReturnTypeError(node) {\n    const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]);\n    const parentDeclaration = findNearestDeclaration(node);\n    if (parentDeclaration) {\n      const targetStr = isExportAssignment(parentDeclaration) ? \"\" : getTextOfNode(parentDeclaration.name, false);\n      addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr));\n    }\n    addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind]));\n    return diag2;\n  }\n  function createBindingElementError(node) {\n    return createDiagnosticForNode(node, Diagnostics.Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations);\n  }\n  function createVariableOrPropertyError(node) {\n    const diag2 = createDiagnosticForNode(node, errorByDeclarationKind[node.kind]);\n    const targetStr = getTextOfNode(node.name, false);\n    addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind], targetStr));\n    return diag2;\n  }\n  function createParameterError(node) {\n    if (isSetAccessor(node.parent)) {\n      return createAccessorTypeError(node.parent);\n    }\n    const addUndefined = resolver.requiresAddingImplicitUndefined(node);\n    if (!addUndefined && node.initializer) {\n      return createExpressionError(node.initializer);\n    }\n    const message = addUndefined ? Diagnostics.Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_supported_with_isolatedDeclarations : errorByDeclarationKind[node.kind];\n    const diag2 = createDiagnosticForNode(node, message);\n    const targetStr = getTextOfNode(node.name, false);\n    addRelatedInfo(diag2, createDiagnosticForNode(node, relatedSuggestionByDeclarationKind[node.kind], targetStr));\n    return diag2;\n  }\n  function createClassExpressionError(node) {\n    return createExpressionError(node, Diagnostics.Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations);\n  }\n  function createExpressionError(node, diagnosticMessage) {\n    const parentDeclaration = findNearestDeclaration(node);\n    let diag2;\n    if (parentDeclaration) {\n      const targetStr = isExportAssignment(parentDeclaration) ? \"\" : getTextOfNode(parentDeclaration.name, false);\n      const parent2 = findAncestor(node.parent, (n) => isExportAssignment(n) || (isStatement(n) ? \"quit\" : !isParenthesizedExpression(n) && !isTypeAssertionExpression(n) && !isAsExpression(n)));\n      if (parentDeclaration === parent2) {\n        diag2 = createDiagnosticForNode(node, diagnosticMessage != null ? diagnosticMessage : errorByDeclarationKind[parentDeclaration.kind]);\n        addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr));\n      } else {\n        diag2 = createDiagnosticForNode(node, diagnosticMessage != null ? diagnosticMessage : Diagnostics.Expression_type_can_t_be_inferred_with_isolatedDeclarations);\n        addRelatedInfo(diag2, createDiagnosticForNode(parentDeclaration, relatedSuggestionByDeclarationKind[parentDeclaration.kind], targetStr));\n        addRelatedInfo(diag2, createDiagnosticForNode(node, Diagnostics.Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit));\n      }\n    } else {\n      diag2 = createDiagnosticForNode(node, diagnosticMessage != null ? diagnosticMessage : Diagnostics.Expression_type_can_t_be_inferred_with_isolatedDeclarations);\n    }\n    return diag2;\n  }\n}\n\n// src/compiler/transformers/declarations.ts\nfunction getDeclarationDiagnostics(host, resolver, file) {\n  const compilerOptions = host.getCompilerOptions();\n  const result = transformNodes(resolver, host, factory, compilerOptions, file ? [file] : filter(host.getSourceFiles(), isSourceFileNotJson), [transformDeclarations], false);\n  return result.diagnostics;\n}\nfunction hasInternalAnnotation(range, currentSourceFile) {\n  const comment = currentSourceFile.text.substring(range.pos, range.end);\n  return stringContains(comment, \"@internal\");\n}\nfunction isInternalDeclaration(node, currentSourceFile) {\n  const parseTreeNode = getParseTreeNode(node);\n  if (parseTreeNode && parseTreeNode.kind === 168 /* Parameter */) {\n    const paramIdx = parseTreeNode.parent.parameters.indexOf(parseTreeNode);\n    const previousSibling = paramIdx > 0 ? parseTreeNode.parent.parameters[paramIdx - 1] : void 0;\n    const text = currentSourceFile.text;\n    const commentRanges = previousSibling ? concatenate(\n      getTrailingCommentRanges(text, skipTrivia(text, previousSibling.end + 1, false, true)),\n      getLeadingCommentRanges(text, node.pos)\n    ) : getTrailingCommentRanges(text, skipTrivia(text, node.pos, false, true));\n    return commentRanges && commentRanges.length && hasInternalAnnotation(last(commentRanges), currentSourceFile);\n  }\n  const leadingCommentRanges = parseTreeNode && getLeadingCommentRangesOfNode(parseTreeNode, currentSourceFile);\n  return !!forEach(leadingCommentRanges, (range) => {\n    return hasInternalAnnotation(range, currentSourceFile);\n  });\n}\nvar declarationEmitNodeBuilderFlags = 1024 /* MultilineObjectLiterals */ | 2048 /* WriteClassExpressionAsTypeLiteral */ | 4096 /* UseTypeOfFunction */ | 8 /* UseStructuralFallback */ | 524288 /* AllowEmptyTuple */ | 4 /* GenerateNamesForShadowedTypeParams */ | 1 /* NoTruncation */;\nfunction transformDeclarations(context) {\n  const throwDiagnostic = () => Debug.fail(\"Diagnostic emitted without context\");\n  let getSymbolAccessibilityDiagnostic = throwDiagnostic;\n  let needsDeclare = true;\n  let isBundledEmit = false;\n  let resultHasExternalModuleIndicator = false;\n  let needsScopeFixMarker = false;\n  let resultHasScopeMarker = false;\n  let enclosingDeclaration;\n  let necessaryTypeReferences;\n  let lateMarkedStatements;\n  let lateStatementReplacementMap;\n  let suppressNewDiagnosticContexts;\n  let exportedModulesFromDeclarationEmit;\n  const { factory: factory2 } = context;\n  const host = context.getEmitHost();\n  const symbolTracker = {\n    trackSymbol,\n    reportInaccessibleThisError,\n    reportInaccessibleUniqueSymbolError,\n    reportCyclicStructureError,\n    reportPrivateInBaseOfClassExpression,\n    reportLikelyUnsafeImportRequiredError,\n    reportTruncationError,\n    moduleResolverHost: host,\n    trackReferencedAmbientModule,\n    trackExternalModuleSymbolOfImportTypeNode,\n    reportNonlocalAugmentation,\n    reportNonSerializableProperty,\n    reportImportTypeNodeResolutionModeOverride\n  };\n  let errorNameNode;\n  let errorFallbackNode;\n  let currentSourceFile;\n  let refs;\n  let libs2;\n  let emittedImports;\n  const resolver = context.getEmitResolver();\n  const options = context.getCompilerOptions();\n  const { noResolve, stripInternal, isolatedDeclarations } = options;\n  return transformRoot;\n  function recordTypeReferenceDirectivesIfNecessary(typeReferenceDirectives) {\n    if (!typeReferenceDirectives) {\n      return;\n    }\n    necessaryTypeReferences = necessaryTypeReferences || new Set2();\n    for (const ref of typeReferenceDirectives) {\n      necessaryTypeReferences.add(ref);\n    }\n  }\n  function trackReferencedAmbientModule(node, symbol) {\n    const directives = resolver.getTypeReferenceDirectivesForSymbol(symbol, 67108863 /* All */);\n    if (length(directives)) {\n      return recordTypeReferenceDirectivesIfNecessary(directives);\n    }\n    const container = getSourceFileOfNode(node);\n    refs.set(getOriginalNodeId(container), container);\n  }\n  function handleSymbolAccessibilityError(symbolAccessibilityResult) {\n    if (symbolAccessibilityResult.accessibility === 0 /* Accessible */) {\n      if (symbolAccessibilityResult && symbolAccessibilityResult.aliasesToMakeVisible) {\n        if (!lateMarkedStatements) {\n          lateMarkedStatements = symbolAccessibilityResult.aliasesToMakeVisible;\n        } else {\n          for (const ref of symbolAccessibilityResult.aliasesToMakeVisible) {\n            pushIfUnique(lateMarkedStatements, ref);\n          }\n        }\n      }\n    } else {\n      const errorInfo = getSymbolAccessibilityDiagnostic(symbolAccessibilityResult);\n      if (errorInfo) {\n        if (errorInfo.typeName) {\n          context.addDiagnostic(createDiagnosticForNode(\n            symbolAccessibilityResult.errorNode || errorInfo.errorNode,\n            errorInfo.diagnosticMessage,\n            getTextOfNode(errorInfo.typeName),\n            symbolAccessibilityResult.errorSymbolName,\n            symbolAccessibilityResult.errorModuleName\n          ));\n        } else {\n          context.addDiagnostic(createDiagnosticForNode(\n            symbolAccessibilityResult.errorNode || errorInfo.errorNode,\n            errorInfo.diagnosticMessage,\n            symbolAccessibilityResult.errorSymbolName,\n            symbolAccessibilityResult.errorModuleName\n          ));\n        }\n        return true;\n      }\n    }\n    return false;\n  }\n  function trackExternalModuleSymbolOfImportTypeNode(symbol) {\n    if (!isBundledEmit) {\n      (exportedModulesFromDeclarationEmit || (exportedModulesFromDeclarationEmit = [])).push(symbol);\n    }\n  }\n  function trackSymbol(symbol, enclosingDeclaration2, meaning) {\n    if (symbol.flags & 262144 /* TypeParameter */)\n      return false;\n    const issuedDiagnostic = handleSymbolAccessibilityError(resolver.isSymbolAccessible(symbol, enclosingDeclaration2, meaning, true));\n    recordTypeReferenceDirectivesIfNecessary(resolver.getTypeReferenceDirectivesForSymbol(symbol, meaning));\n    return issuedDiagnostic;\n  }\n  function reportPrivateInBaseOfClassExpression(propertyName) {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(\n        createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected, propertyName)\n      );\n    }\n  }\n  function errorDeclarationNameWithFallback() {\n    return errorNameNode ? declarationNameToString(errorNameNode) : errorFallbackNode && getNameOfDeclaration(errorFallbackNode) ? declarationNameToString(getNameOfDeclaration(errorFallbackNode)) : errorFallbackNode && isExportAssignment(errorFallbackNode) ? errorFallbackNode.isExportEquals ? \"export=\" : \"default\" : \"(Missing)\";\n  }\n  function reportInaccessibleUniqueSymbolError() {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(createDiagnosticForNode(\n        errorNameNode || errorFallbackNode,\n        Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,\n        errorDeclarationNameWithFallback(),\n        \"unique symbol\"\n      ));\n    }\n  }\n  function reportCyclicStructureError() {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(createDiagnosticForNode(\n        errorNameNode || errorFallbackNode,\n        Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,\n        errorDeclarationNameWithFallback()\n      ));\n    }\n  }\n  function reportInaccessibleThisError() {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(createDiagnosticForNode(\n        errorNameNode || errorFallbackNode,\n        Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,\n        errorDeclarationNameWithFallback(),\n        \"this\"\n      ));\n    }\n  }\n  function reportLikelyUnsafeImportRequiredError(specifier) {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(createDiagnosticForNode(\n        errorNameNode || errorFallbackNode,\n        Diagnostics.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,\n        errorDeclarationNameWithFallback(),\n        specifier\n      ));\n    }\n  }\n  function reportTruncationError() {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed));\n    }\n  }\n  function reportNonlocalAugmentation(containingFile, parentSymbol, symbol) {\n    var _a2;\n    const primaryDeclaration = (_a2 = parentSymbol.declarations) == null ? void 0 : _a2.find((d) => getSourceFileOfNode(d) === containingFile);\n    const augmentingDeclarations = filter(symbol.declarations, (d) => getSourceFileOfNode(d) !== containingFile);\n    if (primaryDeclaration && augmentingDeclarations) {\n      for (const augmentations of augmentingDeclarations) {\n        context.addDiagnostic(addRelatedInfo(\n          createDiagnosticForNode(augmentations, Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),\n          createDiagnosticForNode(primaryDeclaration, Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)\n        ));\n      }\n    }\n  }\n  function reportNonSerializableProperty(propertyName) {\n    if (errorNameNode || errorFallbackNode) {\n      context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized, propertyName));\n    }\n  }\n  function reportImportTypeNodeResolutionModeOverride() {\n    if (!isNightly() && (errorNameNode || errorFallbackNode)) {\n      context.addDiagnostic(createDiagnosticForNode(errorNameNode || errorFallbackNode, Diagnostics.The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next));\n    }\n  }\n  function transformDeclarationsForJS(sourceFile, bundled) {\n    const oldDiag = getSymbolAccessibilityDiagnostic;\n    getSymbolAccessibilityDiagnostic = (s) => s.errorNode && canProduceDiagnostics(s.errorNode) ? createGetSymbolAccessibilityDiagnosticForNode(s.errorNode)(s) : {\n      diagnosticMessage: s.errorModuleName ? Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit : Diagnostics.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,\n      errorNode: s.errorNode || sourceFile\n    };\n    const result = resolver.getDeclarationStatementsForSourceFile(sourceFile, declarationEmitNodeBuilderFlags, symbolTracker, bundled);\n    getSymbolAccessibilityDiagnostic = oldDiag;\n    return result;\n  }\n  function transformRoot(node) {\n    if (node.kind === 314 /* SourceFile */ && node.isDeclarationFile) {\n      return node;\n    }\n    if (node.kind === 315 /* Bundle */) {\n      isBundledEmit = true;\n      refs = new Map2();\n      libs2 = new Map2();\n      let hasNoDefaultLib = false;\n      const bundle = factory2.createBundle(map(\n        node.sourceFiles,\n        (sourceFile) => {\n          if (sourceFile.isDeclarationFile)\n            return void 0;\n          hasNoDefaultLib = hasNoDefaultLib || sourceFile.hasNoDefaultLib;\n          currentSourceFile = sourceFile;\n          enclosingDeclaration = sourceFile;\n          lateMarkedStatements = void 0;\n          suppressNewDiagnosticContexts = false;\n          lateStatementReplacementMap = new Map2();\n          getSymbolAccessibilityDiagnostic = throwDiagnostic;\n          needsScopeFixMarker = false;\n          resultHasScopeMarker = false;\n          collectReferences(sourceFile, refs);\n          collectLibs(sourceFile, libs2);\n          if (isExternalOrCommonJsModule(sourceFile) || isJsonSourceFile(sourceFile)) {\n            resultHasExternalModuleIndicator = false;\n            needsDeclare = false;\n            const statements = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile, true)) : visitNodes2(sourceFile.statements, visitDeclarationStatements);\n            const newFile = factory2.updateSourceFile(sourceFile, [factory2.createModuleDeclaration(\n              [factory2.createModifier(137 /* DeclareKeyword */)],\n              factory2.createStringLiteral(getResolvedExternalModuleName(context.getEmitHost(), sourceFile)),\n              factory2.createModuleBlock(setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), sourceFile.statements))\n            )], true, [], [], false, []);\n            return newFile;\n          }\n          needsDeclare = true;\n          const updated2 = isSourceFileJS(sourceFile) ? factory2.createNodeArray(transformDeclarationsForJS(sourceFile)) : visitNodes2(sourceFile.statements, visitDeclarationStatements);\n          return factory2.updateSourceFile(sourceFile, transformAndReplaceLatePaintedStatements(updated2), true, [], [], false, []);\n        }\n      ), mapDefined(node.prepends, (prepend) => {\n        if (prepend.kind === 317 /* InputFiles */) {\n          const sourceFile = createUnparsedSourceFile(prepend, \"dts\", stripInternal);\n          hasNoDefaultLib = hasNoDefaultLib || !!sourceFile.hasNoDefaultLib;\n          collectReferences(sourceFile, refs);\n          recordTypeReferenceDirectivesIfNecessary(map(sourceFile.typeReferenceDirectives, (ref) => [ref.fileName, ref.resolutionMode]));\n          collectLibs(sourceFile, libs2);\n          return sourceFile;\n        }\n        return prepend;\n      }));\n      bundle.syntheticFileReferences = [];\n      bundle.syntheticTypeReferences = getFileReferencesForUsedTypeReferences();\n      bundle.syntheticLibReferences = getLibReferences();\n      bundle.hasNoDefaultLib = hasNoDefaultLib;\n      const outputFilePath2 = getDirectoryPath(normalizeSlashes(getOutputPathsFor(node, host, true).declarationFilePath));\n      const referenceVisitor2 = mapReferencesIntoArray(bundle.syntheticFileReferences, outputFilePath2);\n      refs.forEach(referenceVisitor2);\n      return bundle;\n    }\n    needsDeclare = true;\n    needsScopeFixMarker = false;\n    resultHasScopeMarker = false;\n    enclosingDeclaration = node;\n    currentSourceFile = node;\n    getSymbolAccessibilityDiagnostic = throwDiagnostic;\n    isBundledEmit = false;\n    resultHasExternalModuleIndicator = false;\n    suppressNewDiagnosticContexts = false;\n    lateMarkedStatements = void 0;\n    lateStatementReplacementMap = new Map2();\n    necessaryTypeReferences = void 0;\n    refs = collectReferences(currentSourceFile, new Map2());\n    libs2 = collectLibs(currentSourceFile, new Map2());\n    const references = [];\n    const outputFilePath = getDirectoryPath(normalizeSlashes(getOutputPathsFor(node, host, true).declarationFilePath));\n    const referenceVisitor = mapReferencesIntoArray(references, outputFilePath);\n    let combinedStatements;\n    if (isSourceFileJS(currentSourceFile)) {\n      combinedStatements = factory2.createNodeArray(transformDeclarationsForJS(node));\n      refs.forEach(referenceVisitor);\n      emittedImports = filter(combinedStatements, isAnyImportSyntax);\n    } else {\n      const statements = visitNodes2(node.statements, visitDeclarationStatements);\n      combinedStatements = setTextRange(factory2.createNodeArray(transformAndReplaceLatePaintedStatements(statements)), node.statements);\n      refs.forEach(referenceVisitor);\n      emittedImports = filter(combinedStatements, isAnyImportSyntax);\n      if (isExternalModule(node) && (!resultHasExternalModuleIndicator || needsScopeFixMarker && !resultHasScopeMarker)) {\n        combinedStatements = setTextRange(factory2.createNodeArray([...combinedStatements, createEmptyExports(factory2)]), combinedStatements);\n      }\n    }\n    const updated = factory2.updateSourceFile(node, combinedStatements, true, references, getFileReferencesForUsedTypeReferences(), node.hasNoDefaultLib, getLibReferences());\n    updated.exportedModulesFromDeclarationEmit = exportedModulesFromDeclarationEmit;\n    return updated;\n    function getLibReferences() {\n      return map(arrayFrom(libs2.keys()), (lib) => ({ fileName: lib, pos: -1, end: -1 }));\n    }\n    function getFileReferencesForUsedTypeReferences() {\n      return necessaryTypeReferences ? mapDefined(arrayFrom(necessaryTypeReferences.keys()), getFileReferenceForSpecifierModeTuple) : [];\n    }\n    function getFileReferenceForSpecifierModeTuple([typeName, mode]) {\n      if (emittedImports) {\n        for (const importStatement of emittedImports) {\n          if (isImportEqualsDeclaration(importStatement) && isExternalModuleReference(importStatement.moduleReference)) {\n            const expr = importStatement.moduleReference.expression;\n            if (isStringLiteralLike(expr) && expr.text === typeName) {\n              return void 0;\n            }\n          } else if (isImportDeclaration(importStatement) && isStringLiteral(importStatement.moduleSpecifier) && importStatement.moduleSpecifier.text === typeName) {\n            return void 0;\n          }\n        }\n      }\n      return { fileName: typeName, pos: -1, end: -1, ...mode ? { resolutionMode: mode } : void 0 };\n    }\n    function mapReferencesIntoArray(references2, outputFilePath2) {\n      return (file) => {\n        let declFileName;\n        if (file.isDeclarationFile) {\n          declFileName = file.fileName;\n        } else {\n          if (isBundledEmit && contains(node.sourceFiles, file))\n            return;\n          const paths = getOutputPathsFor(file, host, true);\n          declFileName = paths.declarationFilePath || paths.jsFilePath || file.fileName;\n        }\n        if (declFileName) {\n          const specifier = getModuleSpecifier(\n            options,\n            currentSourceFile,\n            toPath(outputFilePath2, host.getCurrentDirectory(), host.getCanonicalFileName),\n            toPath(declFileName, host.getCurrentDirectory(), host.getCanonicalFileName),\n            host\n          );\n          if (!pathIsRelative(specifier)) {\n            recordTypeReferenceDirectivesIfNecessary([[specifier, void 0]]);\n            return;\n          }\n          let fileName = getRelativePathToDirectoryOrUrl(\n            outputFilePath2,\n            declFileName,\n            host.getCurrentDirectory(),\n            host.getCanonicalFileName,\n            false\n          );\n          if (startsWith(fileName, \"./\") && hasExtension(fileName)) {\n            fileName = fileName.substring(2);\n          }\n          if (isNodeModulesReference(fileName) || isOhpm(options.packageManagerType) && isOHModulesReference(fileName)) {\n            return;\n          }\n          references2.push({ pos: -1, end: -1, fileName });\n        }\n      };\n    }\n  }\n  function isNodeModulesReference(fileName) {\n    return startsWith(fileName, \"node_modules/\") || pathContainsNodeModules(fileName);\n  }\n  function collectReferences(sourceFile, ret) {\n    if (noResolve || !isUnparsedSource(sourceFile) && isSourceFileJS(sourceFile))\n      return ret;\n    forEach(sourceFile.referencedFiles, (f) => {\n      const elem = host.getSourceFileFromReference(sourceFile, f);\n      if (elem) {\n        ret.set(getOriginalNodeId(elem), elem);\n      }\n    });\n    return ret;\n  }\n  function collectLibs(sourceFile, ret) {\n    forEach(sourceFile.libReferenceDirectives, (ref) => {\n      const lib = host.getLibFileFromReference(ref);\n      if (lib) {\n        ret.set(toFileNameLowerCase(ref.fileName), true);\n      }\n    });\n    return ret;\n  }\n  function filterBindingPatternInitializersAndRenamings(name) {\n    if (name.kind === 79 /* Identifier */) {\n      return name;\n    } else {\n      if (name.kind === 207 /* ArrayBindingPattern */) {\n        return factory2.updateArrayBindingPattern(name, visitNodes2(name.elements, visitBindingElement));\n      } else {\n        return factory2.updateObjectBindingPattern(name, visitNodes2(name.elements, visitBindingElement));\n      }\n    }\n    function visitBindingElement(elem) {\n      if (elem.kind === 233 /* OmittedExpression */) {\n        return elem;\n      }\n      if (elem.propertyName && isIdentifier(elem.propertyName) && isIdentifier(elem.name) && !elem.symbol.isReferenced) {\n        return factory2.updateBindingElement(\n          elem,\n          elem.dotDotDotToken,\n          void 0,\n          elem.propertyName,\n          shouldPrintWithInitializer(elem) ? elem.initializer : void 0\n        );\n      }\n      return factory2.updateBindingElement(\n        elem,\n        elem.dotDotDotToken,\n        elem.propertyName,\n        filterBindingPatternInitializersAndRenamings(elem.name),\n        shouldPrintWithInitializer(elem) ? elem.initializer : void 0\n      );\n    }\n  }\n  function ensureParameter(p, modifierMask, type) {\n    let oldDiag;\n    if (!suppressNewDiagnosticContexts) {\n      oldDiag = getSymbolAccessibilityDiagnostic;\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p);\n    }\n    const newParam = factory2.updateParameterDeclaration(\n      p,\n      maskModifiers(p, modifierMask),\n      p.dotDotDotToken,\n      filterBindingPatternInitializersAndRenamings(p.name),\n      resolver.isOptionalParameter(p) ? p.questionToken || factory2.createToken(57 /* QuestionToken */) : void 0,\n      ensureType(p, type || p.type, true),\n      ensureNoInitializer(p)\n    );\n    if (!suppressNewDiagnosticContexts) {\n      getSymbolAccessibilityDiagnostic = oldDiag;\n    }\n    return newParam;\n  }\n  function shouldPrintWithInitializer(node) {\n    return canHaveLiteralInitializer(node) && resolver.isLiteralConstDeclaration(getParseTreeNode(node));\n  }\n  function ensureNoInitializer(node) {\n    if (shouldPrintWithInitializer(node)) {\n      return resolver.createLiteralConstValue(getParseTreeNode(node), symbolTracker);\n    }\n    return void 0;\n  }\n  function ensureType(node, type, ignorePrivate) {\n    if (!ignorePrivate && hasEffectiveModifier(node, 8 /* Private */)) {\n      return;\n    }\n    if (shouldPrintWithInitializer(node)) {\n      return;\n    }\n    if (type !== void 0 && isTypeReferenceNode(type) && type.typeName.virtual) {\n      return;\n    }\n    const shouldUseResolverType = node.kind === 168 /* Parameter */ && (resolver.isRequiredInitializedParameter(node) || resolver.isOptionalUninitializedParameterProperty(node));\n    if (type && !shouldUseResolverType) {\n      return visitNode(type, visitDeclarationSubtree);\n    }\n    if (!getParseTreeNode(node)) {\n      return type ? visitNode(type, visitDeclarationSubtree) : factory2.createKeywordTypeNode(132 /* AnyKeyword */);\n    }\n    if (node.kind === 178 /* SetAccessor */) {\n      return factory2.createKeywordTypeNode(132 /* AnyKeyword */);\n    }\n    errorNameNode = node.name;\n    let oldDiag;\n    if (!suppressNewDiagnosticContexts) {\n      oldDiag = getSymbolAccessibilityDiagnostic;\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(node);\n    }\n    if (node.kind === 261 /* VariableDeclaration */ || node.kind === 208 /* BindingElement */) {\n      return cleanup(resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker));\n    }\n    if (node.kind === 168 /* Parameter */ || node.kind === 171 /* PropertyDeclaration */ || node.kind === 170 /* PropertySignature */ || node.kind === 172 /* AnnotationPropertyDeclaration */) {\n      if (isPropertySignature(node) || !node.initializer)\n        return cleanup(resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker, shouldUseResolverType));\n      return cleanup(resolver.createTypeOfDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker, shouldUseResolverType) || resolver.createTypeOfExpression(node.initializer, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker));\n    }\n    return cleanup(resolver.createReturnTypeOfSignatureDeclaration(node, enclosingDeclaration, declarationEmitNodeBuilderFlags, symbolTracker));\n    function cleanup(returnValue) {\n      errorNameNode = void 0;\n      if (!suppressNewDiagnosticContexts) {\n        getSymbolAccessibilityDiagnostic = oldDiag;\n      }\n      return returnValue || factory2.createKeywordTypeNode(132 /* AnyKeyword */);\n    }\n  }\n  function isDeclarationAndNotVisible(node) {\n    node = getParseTreeNode(node);\n    switch (node.kind) {\n      case 263 /* FunctionDeclaration */:\n      case 270 /* ModuleDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 266 /* AnnotationDeclaration */:\n        return !resolver.isDeclarationVisible(node);\n      case 261 /* VariableDeclaration */:\n        return !getBindingNameVisible(node);\n      case 274 /* ImportEqualsDeclaration */:\n      case 275 /* ImportDeclaration */:\n      case 281 /* ExportDeclaration */:\n      case 280 /* ExportAssignment */:\n        return false;\n      case 175 /* ClassStaticBlockDeclaration */:\n        return true;\n    }\n    return false;\n  }\n  function shouldEmitFunctionProperties(input) {\n    var _a2;\n    if (input.body) {\n      return true;\n    }\n    const overloadSignatures = (_a2 = input.symbol.declarations) == null ? void 0 : _a2.filter((decl) => isFunctionDeclaration(decl) && !decl.body);\n    return !overloadSignatures || overloadSignatures.indexOf(input) === overloadSignatures.length - 1;\n  }\n  function getBindingNameVisible(elem) {\n    if (isOmittedExpression(elem)) {\n      return false;\n    }\n    if (isBindingPattern(elem.name)) {\n      return some(elem.name.elements, getBindingNameVisible);\n    } else {\n      return resolver.isDeclarationVisible(elem);\n    }\n  }\n  function updateParamsList(node, params, modifierMask) {\n    if (hasEffectiveModifier(node, 8 /* Private */)) {\n      return void 0;\n    }\n    const newParams = map(params, (p) => ensureParameter(p, modifierMask));\n    if (!newParams) {\n      return void 0;\n    }\n    return factory2.createNodeArray(newParams, params.hasTrailingComma);\n  }\n  function updateAccessorParamsList(input, isPrivate) {\n    let newParams;\n    if (!isPrivate) {\n      const thisParameter = getThisParameter(input);\n      if (thisParameter) {\n        newParams = [ensureParameter(thisParameter)];\n      }\n    }\n    if (isSetAccessorDeclaration(input)) {\n      let newValueParameter;\n      if (!isPrivate) {\n        const valueParameter = getSetAccessorValueParameter(input);\n        if (valueParameter) {\n          const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, resolver.getAllAccessorDeclarations(input));\n          newValueParameter = ensureParameter(valueParameter, void 0, accessorType);\n        }\n      }\n      if (!newValueParameter) {\n        newValueParameter = factory2.createParameterDeclaration(\n          void 0,\n          void 0,\n          \"value\"\n        );\n      }\n      newParams = append(newParams, newValueParameter);\n    }\n    return factory2.createNodeArray(newParams || emptyArray);\n  }\n  function ensureTypeParams(node, params) {\n    return hasEffectiveModifier(node, 8 /* Private */) ? void 0 : visitNodes2(params, visitDeclarationSubtree);\n  }\n  function isEnclosingDeclaration(node) {\n    return isSourceFile(node) || isTypeAliasDeclaration(node) || isModuleDeclaration(node) || isClassDeclaration(node) || isStructDeclaration(node) || isAnnotationDeclaration(node) || isInterfaceDeclaration(node) || isFunctionLike(node) || isIndexSignatureDeclaration(node) || isMappedTypeNode(node);\n  }\n  function checkEntityNameVisibility(entityName, enclosingDeclaration2) {\n    const visibilityResult = resolver.isEntityNameVisible(entityName, enclosingDeclaration2);\n    handleSymbolAccessibilityError(visibilityResult);\n    recordTypeReferenceDirectivesIfNecessary(resolver.getTypeReferenceDirectivesForEntityName(entityName));\n  }\n  function preserveJsDoc(updated, original) {\n    if (hasJSDocNodes(updated) && hasJSDocNodes(original)) {\n      updated.jsDoc = original.jsDoc;\n    }\n    return setCommentRange(updated, getCommentRange(original));\n  }\n  function rewriteModuleSpecifier(parent2, input) {\n    if (!input)\n      return void 0;\n    resultHasExternalModuleIndicator = resultHasExternalModuleIndicator || parent2.kind !== 270 /* ModuleDeclaration */ && parent2.kind !== 205 /* ImportType */;\n    if (isStringLiteralLike(input)) {\n      if (isBundledEmit) {\n        const newName = getExternalModuleNameFromDeclaration(context.getEmitHost(), resolver, parent2);\n        if (newName) {\n          return factory2.createStringLiteral(newName);\n        }\n      } else {\n        const symbol = resolver.getSymbolOfExternalModuleSpecifier(input);\n        if (symbol) {\n          (exportedModulesFromDeclarationEmit || (exportedModulesFromDeclarationEmit = [])).push(symbol);\n        }\n      }\n    }\n    return input;\n  }\n  function transformImportEqualsDeclaration(decl) {\n    if (!resolver.isDeclarationVisible(decl))\n      return;\n    if (decl.moduleReference.kind === 286 /* ExternalModuleReference */) {\n      const specifier = getExternalModuleImportEqualsDeclarationExpression(decl);\n      return factory2.updateImportEqualsDeclaration(\n        decl,\n        decl.modifiers,\n        decl.isTypeOnly,\n        decl.name,\n        factory2.updateExternalModuleReference(decl.moduleReference, rewriteModuleSpecifier(decl, specifier))\n      );\n    } else {\n      const oldDiag = getSymbolAccessibilityDiagnostic;\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(decl);\n      checkEntityNameVisibility(decl.moduleReference, enclosingDeclaration);\n      getSymbolAccessibilityDiagnostic = oldDiag;\n      return decl;\n    }\n  }\n  function transformImportDeclaration(decl) {\n    if (!decl.importClause) {\n      return factory2.updateImportDeclaration(\n        decl,\n        decl.modifiers,\n        decl.importClause,\n        rewriteModuleSpecifier(decl, decl.moduleSpecifier),\n        getResolutionModeOverrideForClauseInNightly(decl.assertClause)\n      );\n    }\n    const visibleDefaultBinding = decl.importClause && decl.importClause.name && resolver.isDeclarationVisible(decl.importClause) ? decl.importClause.name : void 0;\n    if (!decl.importClause.namedBindings) {\n      return visibleDefaultBinding && factory2.updateImportDeclaration(decl, decl.modifiers, factory2.updateImportClause(\n        decl.importClause,\n        decl.importClause.isTypeOnly,\n        visibleDefaultBinding,\n        void 0\n      ), rewriteModuleSpecifier(decl, decl.moduleSpecifier), getResolutionModeOverrideForClauseInNightly(decl.assertClause));\n    }\n    if (decl.importClause.namedBindings.kind === 277 /* NamespaceImport */) {\n      const namedBindings = resolver.isDeclarationVisible(decl.importClause.namedBindings) ? decl.importClause.namedBindings : void 0;\n      return visibleDefaultBinding || namedBindings ? factory2.updateImportDeclaration(decl, decl.modifiers, factory2.updateImportClause(\n        decl.importClause,\n        decl.importClause.isTypeOnly,\n        visibleDefaultBinding,\n        namedBindings\n      ), rewriteModuleSpecifier(decl, decl.moduleSpecifier), getResolutionModeOverrideForClauseInNightly(decl.assertClause)) : void 0;\n    }\n    const bindingList = mapDefined(decl.importClause.namedBindings.elements, (b) => resolver.isDeclarationVisible(b) ? b : void 0);\n    if (bindingList && bindingList.length || visibleDefaultBinding) {\n      return factory2.updateImportDeclaration(\n        decl,\n        decl.modifiers,\n        factory2.updateImportClause(\n          decl.importClause,\n          decl.importClause.isTypeOnly,\n          visibleDefaultBinding,\n          bindingList && bindingList.length ? factory2.updateNamedImports(decl.importClause.namedBindings, bindingList) : void 0\n        ),\n        rewriteModuleSpecifier(decl, decl.moduleSpecifier),\n        getResolutionModeOverrideForClauseInNightly(decl.assertClause)\n      );\n    }\n    if (resolver.isImportRequiredByAugmentation(decl)) {\n      if (isolatedDeclarations) {\n        context.addDiagnostic(createDiagnosticForNode(decl, Diagnostics.Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_supported_with_isolatedDeclarations));\n      }\n      return factory2.updateImportDeclaration(\n        decl,\n        decl.modifiers,\n        void 0,\n        rewriteModuleSpecifier(decl, decl.moduleSpecifier),\n        getResolutionModeOverrideForClauseInNightly(decl.assertClause)\n      );\n    }\n  }\n  function getResolutionModeOverrideForClauseInNightly(assertClause) {\n    const mode = getResolutionModeOverrideForClause(assertClause);\n    if (mode !== void 0) {\n      if (!isNightly()) {\n        context.addDiagnostic(createDiagnosticForNode(assertClause, Diagnostics.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next));\n      }\n      return assertClause;\n    }\n    return void 0;\n  }\n  function transformAndReplaceLatePaintedStatements(statements) {\n    while (length(lateMarkedStatements)) {\n      const i = lateMarkedStatements.shift();\n      if (!isLateVisibilityPaintedStatement(i)) {\n        return Debug.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${Debug.formatSyntaxKind(i.kind)}`);\n      }\n      const priorNeedsDeclare = needsDeclare;\n      needsDeclare = i.parent && isSourceFile(i.parent) && !(isExternalModule(i.parent) && isBundledEmit);\n      const result = transformTopLevelDeclaration(i);\n      needsDeclare = priorNeedsDeclare;\n      lateStatementReplacementMap.set(getOriginalNodeId(i), result);\n    }\n    return visitNodes2(statements, visitLateVisibilityMarkedStatements);\n    function visitLateVisibilityMarkedStatements(statement) {\n      if (isLateVisibilityPaintedStatement(statement)) {\n        const key = getOriginalNodeId(statement);\n        if (lateStatementReplacementMap.has(key)) {\n          const result = lateStatementReplacementMap.get(key);\n          lateStatementReplacementMap.delete(key);\n          if (result) {\n            if (isArray(result) ? some(result, needsScopeMarker) : needsScopeMarker(result)) {\n              needsScopeFixMarker = true;\n            }\n            if (isSourceFile(statement.parent) && (isArray(result) ? some(result, isExternalModuleIndicator) : isExternalModuleIndicator(result))) {\n              resultHasExternalModuleIndicator = true;\n            }\n          }\n          return result;\n        }\n      }\n      return statement;\n    }\n  }\n  function checkAnnotationVisibilityByDecorator(input) {\n    if (!input) {\n      return;\n    }\n    forEach(input, (decorator) => {\n      if (!isAnnotation(decorator)) {\n        return;\n      }\n      if (isCallExpression(decorator.expression)) {\n        checkEntityNameVisibility(decorator.expression.expression, enclosingDeclaration);\n      } else if (isIdentifier(decorator.expression)) {\n        checkEntityNameVisibility(decorator.expression, enclosingDeclaration);\n      }\n    });\n  }\n  function visitDeclarationSubtree(input) {\n    if (shouldStripInternal(input))\n      return;\n    if (isDeclaration(input)) {\n      if (isDeclarationAndNotVisible(input))\n        return;\n      if (hasDynamicName(input) && !resolver.isLateBound(getParseTreeNode(input))) {\n        return;\n      }\n    }\n    if (isFunctionLike(input) && resolver.isImplementationOfOverload(input))\n      return;\n    if (isSemicolonClassElement(input))\n      return;\n    let previousEnclosingDeclaration;\n    if (isEnclosingDeclaration(input)) {\n      previousEnclosingDeclaration = enclosingDeclaration;\n      enclosingDeclaration = input;\n    }\n    const oldDiag = getSymbolAccessibilityDiagnostic;\n    const canProduceDiagnostic = canProduceDiagnostics(input);\n    const oldWithinObjectLiteralType = suppressNewDiagnosticContexts;\n    let shouldEnterSuppressNewDiagnosticsContextContext = (input.kind === 187 /* TypeLiteral */ || input.kind === 200 /* MappedType */) && input.parent.kind !== 268 /* TypeAliasDeclaration */;\n    if (isMethodDeclaration(input) || isMethodSignature(input)) {\n      if (hasEffectiveModifier(input, 8 /* Private */)) {\n        if (input.symbol && input.symbol.declarations && input.symbol.declarations[0] !== input)\n          return;\n        return cleanup(factory2.createPropertyDeclaration(ensureModifiers(input), input.name, void 0, void 0, void 0));\n      }\n    }\n    if (canProduceDiagnostic && !suppressNewDiagnosticContexts) {\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input);\n    }\n    if (isTypeQueryNode(input)) {\n      checkEntityNameVisibility(input.exprName, enclosingDeclaration);\n    }\n    if (shouldEnterSuppressNewDiagnosticsContextContext) {\n      suppressNewDiagnosticContexts = true;\n    }\n    if (isProcessedComponent(input)) {\n      switch (input.kind) {\n        case 234 /* ExpressionWithTypeArguments */: {\n          if (isEntityName(input.expression) || isEntityNameExpression(input.expression)) {\n            checkEntityNameVisibility(input.expression, enclosingDeclaration);\n          }\n          const node = visitEachChild(input, visitDeclarationSubtree, context);\n          return cleanup(factory2.updateExpressionWithTypeArguments(node, node.expression, node.typeArguments));\n        }\n        case 183 /* TypeReference */: {\n          checkEntityNameVisibility(input.typeName, enclosingDeclaration);\n          const node = visitEachChild(input, visitDeclarationSubtree, context);\n          return cleanup(factory2.updateTypeReferenceNode(node, node.typeName, node.typeArguments));\n        }\n        case 180 /* ConstructSignature */:\n          return cleanup(factory2.updateConstructSignature(\n            input,\n            ensureTypeParams(input, input.typeParameters),\n            updateParamsList(input, input.parameters),\n            ensureType(input, input.type)\n          ));\n        case 176 /* Constructor */: {\n          const ctor = factory2.createConstructorDeclaration(\n            ensureModifiers(input),\n            updateParamsList(input, input.parameters, 0 /* None */),\n            void 0\n          );\n          return cleanup(ctor);\n        }\n        case 174 /* MethodDeclaration */: {\n          if (isPrivateIdentifier(input.name)) {\n            return cleanup(void 0);\n          }\n          let reservedDecorators = concatenate(getReservedDecoratorsOfStructDeclaration(input, host), getAnnotations(input));\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          const sig = factory2.createMethodDeclaration(\n            concatenateDecoratorsAndModifiers(reservedDecorators, ensureModifiers(input)),\n            void 0,\n            input.name,\n            input.questionToken,\n            inEtsStylesContext(input, host) ? void 0 : ensureTypeParams(input, input.typeParameters),\n            updateParamsList(input, input.parameters),\n            ensureType(input, input.type),\n            void 0\n          );\n          return cleanup(sig);\n        }\n        case 177 /* GetAccessor */: {\n          if (isPrivateIdentifier(input.name)) {\n            return cleanup(void 0);\n          }\n          const accessorType = getTypeAnnotationFromAllAccessorDeclarations(input, resolver.getAllAccessorDeclarations(input));\n          let reservedDecorators = getAnnotations(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          return cleanup(factory2.updateGetAccessorDeclaration(\n            input,\n            concatenateDecoratorsAndModifiers(reservedDecorators, ensureModifiers(input)),\n            input.name,\n            updateAccessorParamsList(input, hasEffectiveModifier(input, 8 /* Private */)),\n            ensureType(input, accessorType),\n            void 0\n          ));\n        }\n        case 178 /* SetAccessor */: {\n          if (isPrivateIdentifier(input.name)) {\n            return cleanup(void 0);\n          }\n          let reservedDecorators = getAnnotations(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          return cleanup(factory2.updateSetAccessorDeclaration(\n            input,\n            concatenateDecoratorsAndModifiers(reservedDecorators, ensureModifiers(input)),\n            input.name,\n            updateAccessorParamsList(input, hasEffectiveModifier(input, 8 /* Private */)),\n            void 0\n          ));\n        }\n        case 171 /* PropertyDeclaration */: {\n          if (isPrivateIdentifier(input.name)) {\n            return cleanup(void 0);\n          }\n          let reservedDecorators = concatenate(getReservedDecoratorsOfStructDeclaration(input, host), getAnnotations(input));\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          return cleanup(factory2.updatePropertyDeclaration(\n            input,\n            concatenateDecoratorsAndModifiers(reservedDecorators, ensureModifiers(input)),\n            input.name,\n            input.questionToken,\n            ensureType(input, input.type),\n            ensureNoInitializer(input)\n          ));\n        }\n        case 172 /* AnnotationPropertyDeclaration */:\n          return cleanup(factory2.updateAnnotationPropertyDeclaration(\n            input,\n            input.name,\n            ensureType(input, input.type),\n            input.initializer\n          ));\n        case 170 /* PropertySignature */: {\n          if (isPrivateIdentifier(input.name)) {\n            return cleanup(void 0);\n          }\n          const clean2 = cleanup(factory2.updatePropertySignature(\n            input,\n            ensureModifiers(input),\n            input.name,\n            input.questionToken,\n            ensureType(input, input.type)\n          ));\n          let reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n          return clean2;\n        }\n        case 173 /* MethodSignature */: {\n          if (isPrivateIdentifier(input.name)) {\n            return cleanup(void 0);\n          }\n          const clean2 = cleanup(factory2.updateMethodSignature(\n            input,\n            ensureModifiers(input),\n            input.name,\n            input.questionToken,\n            ensureTypeParams(input, input.typeParameters),\n            updateParamsList(input, input.parameters),\n            ensureType(input, input.type)\n          ));\n          let reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n          return clean2;\n        }\n        case 179 /* CallSignature */: {\n          return cleanup(factory2.updateCallSignature(\n            input,\n            ensureTypeParams(input, input.typeParameters),\n            updateParamsList(input, input.parameters),\n            ensureType(input, input.type)\n          ));\n        }\n        case 181 /* IndexSignature */: {\n          return cleanup(factory2.updateIndexSignature(\n            input,\n            ensureModifiers(input),\n            updateParamsList(input, input.parameters),\n            visitNode(input.type, visitDeclarationSubtree) || factory2.createKeywordTypeNode(132 /* AnyKeyword */)\n          ));\n        }\n        case 261 /* VariableDeclaration */: {\n          if (isBindingPattern(input.name)) {\n            return recreateBindingPattern(input.name);\n          }\n          shouldEnterSuppressNewDiagnosticsContextContext = true;\n          suppressNewDiagnosticContexts = true;\n          return cleanup(factory2.updateVariableDeclaration(input, input.name, void 0, ensureType(input, input.type), ensureNoInitializer(input)));\n        }\n        case 167 /* TypeParameter */: {\n          if (isPrivateMethodTypeParameter(input) && (input.default || input.constraint)) {\n            return cleanup(factory2.updateTypeParameterDeclaration(input, input.modifiers, input.name, void 0, void 0));\n          }\n          return cleanup(visitEachChild(input, visitDeclarationSubtree, context));\n        }\n        case 194 /* ConditionalType */: {\n          const checkType = visitNode(input.checkType, visitDeclarationSubtree);\n          const extendsType = visitNode(input.extendsType, visitDeclarationSubtree);\n          const oldEnclosingDecl = enclosingDeclaration;\n          enclosingDeclaration = input.trueType;\n          const trueType = visitNode(input.trueType, visitDeclarationSubtree);\n          enclosingDeclaration = oldEnclosingDecl;\n          const falseType = visitNode(input.falseType, visitDeclarationSubtree);\n          return cleanup(factory2.updateConditionalTypeNode(input, checkType, extendsType, trueType, falseType));\n        }\n        case 184 /* FunctionType */: {\n          return cleanup(factory2.updateFunctionTypeNode(input, visitNodes2(input.typeParameters, visitDeclarationSubtree), updateParamsList(input, input.parameters), visitNode(input.type, visitDeclarationSubtree)));\n        }\n        case 185 /* ConstructorType */: {\n          return cleanup(factory2.updateConstructorTypeNode(input, ensureModifiers(input), visitNodes2(input.typeParameters, visitDeclarationSubtree), updateParamsList(input, input.parameters), visitNode(input.type, visitDeclarationSubtree)));\n        }\n        case 205 /* ImportType */: {\n          if (!isLiteralImportTypeNode(input))\n            return cleanup(input);\n          return cleanup(factory2.updateImportTypeNode(\n            input,\n            factory2.updateLiteralTypeNode(input.argument, rewriteModuleSpecifier(input, input.argument.literal)),\n            input.assertions,\n            input.qualifier,\n            visitNodes2(input.typeArguments, visitDeclarationSubtree, isTypeNode),\n            input.isTypeOf\n          ));\n        }\n        default:\n          Debug.assertNever(input, `Attempted to process unhandled node kind: ${Debug.formatSyntaxKind(input.kind)}`);\n      }\n    }\n    if (isTupleTypeNode(input) && getLineAndCharacterOfPosition(currentSourceFile, input.pos).line === getLineAndCharacterOfPosition(currentSourceFile, input.end).line) {\n      setEmitFlags(input, 1 /* SingleLine */);\n    }\n    return cleanup(visitEachChild(input, visitDeclarationSubtree, context));\n    function cleanup(returnValue) {\n      if (returnValue && canProduceDiagnostic && hasDynamicName(input)) {\n        checkName(input);\n      }\n      if (isEnclosingDeclaration(input)) {\n        enclosingDeclaration = previousEnclosingDeclaration;\n      }\n      if (canProduceDiagnostic && !suppressNewDiagnosticContexts) {\n        getSymbolAccessibilityDiagnostic = oldDiag;\n      }\n      if (shouldEnterSuppressNewDiagnosticsContextContext) {\n        suppressNewDiagnosticContexts = oldWithinObjectLiteralType;\n      }\n      if (returnValue === input) {\n        return returnValue;\n      }\n      return returnValue && setOriginalNode(preserveJsDoc(returnValue, input), input);\n    }\n  }\n  function isPrivateMethodTypeParameter(node) {\n    return node.parent.kind === 174 /* MethodDeclaration */ && hasEffectiveModifier(node.parent, 8 /* Private */);\n  }\n  function visitDeclarationStatements(input) {\n    if (!isPreservedDeclarationStatement(input)) {\n      return;\n    }\n    if (shouldStripInternal(input))\n      return;\n    switch (input.kind) {\n      case 281 /* ExportDeclaration */: {\n        if (isSourceFile(input.parent)) {\n          resultHasExternalModuleIndicator = true;\n        }\n        resultHasScopeMarker = true;\n        return factory2.updateExportDeclaration(\n          input,\n          input.modifiers,\n          input.isTypeOnly,\n          input.exportClause,\n          rewriteModuleSpecifier(input, input.moduleSpecifier),\n          getResolutionModeOverrideForClause(input.assertClause) ? input.assertClause : void 0\n        );\n      }\n      case 280 /* ExportAssignment */: {\n        if (isSourceFile(input.parent)) {\n          resultHasExternalModuleIndicator = true;\n        }\n        resultHasScopeMarker = true;\n        if (input.expression.kind === 79 /* Identifier */) {\n          return input;\n        } else {\n          const newId = factory2.createUniqueName(\"_default\", 16 /* Optimistic */);\n          getSymbolAccessibilityDiagnostic = () => ({\n            diagnosticMessage: Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,\n            errorNode: input\n          });\n          errorFallbackNode = input;\n          const varDecl = factory2.createVariableDeclaration(newId, void 0, resolver.createTypeOfExpression(input.expression, input, declarationEmitNodeBuilderFlags, symbolTracker), void 0);\n          errorFallbackNode = void 0;\n          const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(137 /* DeclareKeyword */)] : [], factory2.createVariableDeclarationList([varDecl], 2 /* Const */));\n          preserveJsDoc(statement, input);\n          removeAllComments(input);\n          return [statement, factory2.updateExportAssignment(input, input.modifiers, newId)];\n        }\n      }\n    }\n    const result = transformTopLevelDeclaration(input);\n    lateStatementReplacementMap.set(getOriginalNodeId(input), result);\n    return input;\n  }\n  function stripExportModifiers(statement) {\n    if (isImportEqualsDeclaration(statement) || hasEffectiveModifier(statement, 1024 /* Default */) || !canHaveModifiers(statement)) {\n      return statement;\n    }\n    const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(statement) & (258047 /* All */ ^ 1 /* Export */));\n    return factory2.updateModifiers(statement, modifiers);\n  }\n  function stripExportModifiersForEts(statement) {\n    if (isImportEqualsDeclaration(statement) || hasEffectiveModifier(statement, 1024 /* Default */) || !canHaveModifiers(statement)) {\n      return statement;\n    }\n    const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(statement) & (258047 /* All */ ^ 1 /* Export */));\n    if (isClassDeclaration(statement)) {\n      let reservedDecorators = concatenate(ensureEtsDecorators(statement, host), getAnnotations(statement));\n      return factory2.updateClassDeclaration(\n        statement,\n        concatenateDecoratorsAndModifiers(reservedDecorators, modifiers),\n        statement.name,\n        statement.typeParameters,\n        statement.heritageClauses,\n        statement.members\n      );\n    }\n    const updated = factory2.updateModifiers(statement, modifiers);\n    if (isVariableStatement(statement)) {\n      let reservedDecorators = getAnnotationsFromIllegalDecorators(statement);\n      updated.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n    }\n    return updated;\n  }\n  function transformTopLevelDeclaration(input) {\n    if (lateMarkedStatements) {\n      while (orderedRemoveItem(lateMarkedStatements, input))\n        ;\n    }\n    if (shouldStripInternal(input))\n      return;\n    switch (input.kind) {\n      case 274 /* ImportEqualsDeclaration */: {\n        return transformImportEqualsDeclaration(input);\n      }\n      case 275 /* ImportDeclaration */: {\n        return transformImportDeclaration(input);\n      }\n    }\n    if (isDeclaration(input) && isDeclarationAndNotVisible(input))\n      return;\n    if (isFunctionLike(input) && resolver.isImplementationOfOverload(input))\n      return;\n    let previousEnclosingDeclaration;\n    if (isEnclosingDeclaration(input)) {\n      previousEnclosingDeclaration = enclosingDeclaration;\n      enclosingDeclaration = input;\n    }\n    const canProdiceDiagnostic = canProduceDiagnostics(input);\n    const oldDiag = getSymbolAccessibilityDiagnostic;\n    if (canProdiceDiagnostic) {\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(input);\n    }\n    const previousNeedsDeclare = needsDeclare;\n    switch (input.kind) {\n      case 268 /* TypeAliasDeclaration */: {\n        needsDeclare = false;\n        const clean2 = cleanup(factory2.updateTypeAliasDeclaration(\n          input,\n          ensureModifiers(input),\n          input.name,\n          visitNodes2(input.typeParameters, visitDeclarationSubtree, isTypeParameterDeclaration),\n          visitNode(input.type, visitDeclarationSubtree, isTypeNode)\n        ));\n        if (isSendableFunctionOrType(input)) {\n          clean2.illegalDecorators = input.illegalDecorators;\n        } else {\n          const reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n        }\n        needsDeclare = previousNeedsDeclare;\n        return clean2;\n      }\n      case 267 /* InterfaceDeclaration */: {\n        const clean2 = cleanup(factory2.updateInterfaceDeclaration(\n          input,\n          ensureModifiers(input),\n          input.name,\n          ensureTypeParams(input, input.typeParameters),\n          transformHeritageClauses(input.heritageClauses),\n          visitNodes2(input.members, visitDeclarationSubtree)\n        ));\n        const reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n        checkAnnotationVisibilityByDecorator(reservedDecorators);\n        clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n        return clean2;\n      }\n      case 263 /* FunctionDeclaration */: {\n        const clean2 = cleanup(factory2.updateFunctionDeclaration(\n          input,\n          ensureModifiers(input),\n          void 0,\n          input.name,\n          inEtsStylesContext(input, host) ? void 0 : ensureTypeParams(input, input.typeParameters),\n          updateParamsList(input, input.parameters),\n          ensureType(input, input.type),\n          void 0\n        ));\n        if (isSendableFunctionOrType(input)) {\n          clean2.illegalDecorators = input.illegalDecorators;\n        } else if (isInEtsFile(input)) {\n          const reservedDecorators = concatenate(\n            getEffectiveDecorators(input.illegalDecorators, host),\n            getAnnotationsFromIllegalDecorators(input)\n          );\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n        }\n        if (clean2 && resolver.isExpandoFunctionDeclaration(input) && shouldEmitFunctionProperties(input)) {\n          const props = resolver.getPropertiesOfContainerFunction(input);\n          const fakespace = parseNodeFactory.createModuleDeclaration(void 0, clean2.name || factory2.createIdentifier(\"_default\"), factory2.createModuleBlock([]), 16 /* Namespace */);\n          setParent(fakespace, enclosingDeclaration);\n          fakespace.locals = createSymbolTable(props);\n          fakespace.symbol = props[0].parent;\n          const exportMappings = [];\n          let declarations = mapDefined(props, (p) => {\n            if (!p.valueDeclaration || !isPropertyAccessExpression(p.valueDeclaration)) {\n              return void 0;\n            }\n            getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration);\n            const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, symbolTracker);\n            getSymbolAccessibilityDiagnostic = oldDiag;\n            const nameStr = unescapeLeadingUnderscores(p.escapedName);\n            const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr);\n            const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr);\n            if (isNonContextualKeywordName) {\n              exportMappings.push([name, nameStr]);\n            }\n            const varDecl = factory2.createVariableDeclaration(name, void 0, type, void 0);\n            return factory2.createVariableStatement(isNonContextualKeywordName ? void 0 : [factory2.createToken(94 /* ExportKeyword */)], factory2.createVariableDeclarationList([varDecl]));\n          });\n          if (!exportMappings.length) {\n            declarations = mapDefined(declarations, (declaration) => factory2.updateModifiers(declaration, 0 /* None */));\n          } else {\n            declarations.push(factory2.createExportDeclaration(\n              void 0,\n              false,\n              factory2.createNamedExports(map(exportMappings, ([gen, exp]) => {\n                return factory2.createExportSpecifier(false, gen, exp);\n              }))\n            ));\n          }\n          const namespaceDecl = factory2.createModuleDeclaration(ensureModifiers(input), input.name, factory2.createModuleBlock(declarations), 16 /* Namespace */);\n          if (!hasEffectiveModifier(clean2, 1024 /* Default */)) {\n            return [clean2, namespaceDecl];\n          }\n          const modifiers = factory2.createModifiersFromModifierFlags(getEffectiveModifierFlags(clean2) & ~1025 /* ExportDefault */ | 2 /* Ambient */);\n          const cleanDeclaration = factory2.updateFunctionDeclaration(\n            clean2,\n            modifiers,\n            void 0,\n            clean2.name,\n            clean2.typeParameters,\n            clean2.parameters,\n            clean2.type,\n            void 0\n          );\n          if (isInEtsFile(input)) {\n            const reservedDecorators = concatenate(getEffectiveDecorators(input.illegalDecorators, host), getAnnotationsFromIllegalDecorators(input));\n            checkAnnotationVisibilityByDecorator(reservedDecorators);\n            cleanDeclaration.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n          }\n          const namespaceDeclaration = factory2.updateModuleDeclaration(\n            namespaceDecl,\n            modifiers,\n            namespaceDecl.name,\n            namespaceDecl.body\n          );\n          const exportDefaultDeclaration = factory2.createExportAssignment(\n            void 0,\n            false,\n            namespaceDecl.name\n          );\n          if (isSourceFile(input.parent)) {\n            resultHasExternalModuleIndicator = true;\n          }\n          resultHasScopeMarker = true;\n          return [cleanDeclaration, namespaceDeclaration, exportDefaultDeclaration];\n        } else {\n          return clean2;\n        }\n      }\n      case 270 /* ModuleDeclaration */: {\n        needsDeclare = false;\n        const inner = input.body;\n        if (inner && inner.kind === 271 /* ModuleBlock */) {\n          const oldNeedsScopeFix = needsScopeFixMarker;\n          const oldHasScopeFix = resultHasScopeMarker;\n          resultHasScopeMarker = false;\n          needsScopeFixMarker = false;\n          const statements = visitNodes2(inner.statements, visitDeclarationStatements);\n          let lateStatements = transformAndReplaceLatePaintedStatements(statements);\n          if (input.flags & 16777216 /* Ambient */) {\n            needsScopeFixMarker = false;\n          }\n          if (!isGlobalScopeAugmentation(input) && !hasScopeMarker2(lateStatements) && !resultHasScopeMarker) {\n            if (needsScopeFixMarker) {\n              lateStatements = factory2.createNodeArray([...lateStatements, createEmptyExports(factory2)]);\n            } else {\n              lateStatements = isInEtsFile(input) ? visitNodes2(lateStatements, stripExportModifiersForEts) : visitNodes2(lateStatements, stripExportModifiers);\n            }\n          }\n          const body = factory2.updateModuleBlock(inner, lateStatements);\n          needsDeclare = previousNeedsDeclare;\n          needsScopeFixMarker = oldNeedsScopeFix;\n          resultHasScopeMarker = oldHasScopeFix;\n          const mods = ensureModifiers(input);\n          const clean2 = cleanup(factory2.updateModuleDeclaration(\n            input,\n            mods,\n            isExternalModuleAugmentation(input) ? rewriteModuleSpecifier(input, input.name) : input.name,\n            body\n          ));\n          const reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n          return clean2;\n        } else {\n          needsDeclare = previousNeedsDeclare;\n          const mods = ensureModifiers(input);\n          needsDeclare = false;\n          visitNode(inner, visitDeclarationStatements);\n          const id = getOriginalNodeId(inner);\n          const body = lateStatementReplacementMap.get(id);\n          lateStatementReplacementMap.delete(id);\n          const clean2 = cleanup(factory2.updateModuleDeclaration(\n            input,\n            mods,\n            input.name,\n            body\n          ));\n          const reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n          return clean2;\n        }\n      }\n      case 265 /* StructDeclaration */: {\n        errorNameNode = input.name;\n        errorFallbackNode = input;\n        const decorators = concatenate(ensureEtsDecorators(input, host), getAnnotations(input));\n        checkAnnotationVisibilityByDecorator(decorators);\n        const modifiers = factory2.createNodeArray(ensureModifiers(input));\n        const typeParameters = ensureTypeParams(input, input.typeParameters);\n        const memberNodes = visitNodes2(input.members, visitDeclarationSubtree, void 0, 1);\n        const members = factory2.createNodeArray(memberNodes);\n        return cleanup(factory2.updateStructDeclaration(\n          input,\n          concatenateDecoratorsAndModifiers(decorators, modifiers),\n          input.name,\n          typeParameters,\n          void 0,\n          members\n        ));\n      }\n      case 266 /* AnnotationDeclaration */: {\n        errorNameNode = input.name;\n        errorFallbackNode = input;\n        const decorators = getAnnotations(input);\n        checkAnnotationVisibilityByDecorator(decorators);\n        const modifiers = factory2.createNodeArray(ensureModifiers(input));\n        const memberNodes = visitNodes2(input.members, visitDeclarationSubtree);\n        const members = factory2.createNodeArray(memberNodes);\n        return cleanup(factory2.updateAnnotationDeclaration(\n          input,\n          concatenateDecoratorsAndModifiers(decorators, modifiers),\n          input.name,\n          members\n        ));\n      }\n      case 264 /* ClassDeclaration */: {\n        errorNameNode = input.name;\n        errorFallbackNode = input;\n        const modifiers = factory2.createNodeArray(ensureModifiers(input));\n        const typeParameters = ensureTypeParams(input, input.typeParameters);\n        const ctor = getFirstConstructorWithBody(input);\n        let parameterProperties;\n        if (ctor) {\n          const oldDiag2 = getSymbolAccessibilityDiagnostic;\n          parameterProperties = compact(flatMap(ctor.parameters, (param) => {\n            if (!hasSyntacticModifier(param, 16476 /* ParameterPropertyModifier */) || shouldStripInternal(param))\n              return;\n            getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(param);\n            if (param.name.kind === 79 /* Identifier */) {\n              return preserveJsDoc(factory2.createPropertyDeclaration(\n                ensureModifiers(param),\n                param.name,\n                param.questionToken,\n                ensureType(param, param.type),\n                ensureNoInitializer(param)\n              ), param);\n            } else {\n              return walkBindingPattern(param.name);\n            }\n            function walkBindingPattern(pattern) {\n              let elems;\n              for (const elem of pattern.elements) {\n                if (isOmittedExpression(elem))\n                  continue;\n                if (isBindingPattern(elem.name)) {\n                  elems = concatenate(elems, walkBindingPattern(elem.name));\n                }\n                elems = elems || [];\n                elems.push(factory2.createPropertyDeclaration(\n                  ensureModifiers(param),\n                  elem.name,\n                  void 0,\n                  ensureType(elem, void 0),\n                  void 0\n                ));\n              }\n              return elems;\n            }\n          }));\n          getSymbolAccessibilityDiagnostic = oldDiag2;\n        }\n        const hasPrivateIdentifier = some(input.members, (member) => !!member.name && isPrivateIdentifier(member.name));\n        const privateIdentifier = hasPrivateIdentifier ? [\n          factory2.createPropertyDeclaration(\n            void 0,\n            factory2.createPrivateIdentifier(\"#private\"),\n            void 0,\n            void 0,\n            void 0\n          )\n        ] : void 0;\n        const memberNodes = concatenate(concatenate(privateIdentifier, parameterProperties), visitNodes2(input.members, visitDeclarationSubtree));\n        const members = factory2.createNodeArray(memberNodes);\n        const extendsClause = getEffectiveBaseTypeNode(input);\n        if (extendsClause && !isEntityNameExpression(extendsClause.expression) && extendsClause.expression.kind !== 105 /* NullKeyword */) {\n          const oldId = input.name ? unescapeLeadingUnderscores(input.name.escapedText) : \"default\";\n          const newId = factory2.createUniqueName(`${oldId}_base`, 16 /* Optimistic */);\n          getSymbolAccessibilityDiagnostic = () => ({\n            diagnosticMessage: Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,\n            errorNode: extendsClause,\n            typeName: input.name\n          });\n          const varDecl = factory2.createVariableDeclaration(newId, void 0, resolver.createTypeOfExpression(extendsClause.expression, input, declarationEmitNodeBuilderFlags, symbolTracker), void 0);\n          const statement = factory2.createVariableStatement(needsDeclare ? [factory2.createModifier(137 /* DeclareKeyword */)] : [], factory2.createVariableDeclarationList([varDecl], 2 /* Const */));\n          const heritageClauses = factory2.createNodeArray(map(input.heritageClauses, (clause) => {\n            if (clause.token === 95 /* ExtendsKeyword */) {\n              const oldDiag2 = getSymbolAccessibilityDiagnostic;\n              getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(clause.types[0]);\n              const newClause = factory2.updateHeritageClause(clause, map(clause.types, (t) => factory2.updateExpressionWithTypeArguments(t, newId, visitNodes2(t.typeArguments, visitDeclarationSubtree))));\n              getSymbolAccessibilityDiagnostic = oldDiag2;\n              return newClause;\n            }\n            return factory2.updateHeritageClause(clause, visitNodes2(factory2.createNodeArray(filter(clause.types, (t) => isEntityNameExpression(t.expression) || t.expression.kind === 105 /* NullKeyword */)), visitDeclarationSubtree));\n          }));\n          let reservedDecorators = concatenate(getReservedDecoratorsOfEtsFile(input, host), getAnnotations(input));\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          return [statement, cleanup(factory2.updateClassDeclaration(\n            input,\n            concatenateDecoratorsAndModifiers(reservedDecorators, modifiers),\n            input.name,\n            typeParameters,\n            heritageClauses,\n            members\n          ))];\n        } else {\n          const heritageClauses = transformHeritageClauses(input.heritageClauses);\n          let reservedDecorators = concatenate(getReservedDecoratorsOfEtsFile(input, host), getAnnotations(input));\n          checkAnnotationVisibilityByDecorator(reservedDecorators);\n          return cleanup(factory2.updateClassDeclaration(\n            input,\n            concatenateDecoratorsAndModifiers(reservedDecorators, modifiers),\n            input.name,\n            typeParameters,\n            heritageClauses,\n            members\n          ));\n        }\n      }\n      case 244 /* VariableStatement */: {\n        const reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n        checkAnnotationVisibilityByDecorator(reservedDecorators);\n        let cleanDeclaration = cleanup(transformVariableStatement(input));\n        if (cleanDeclaration) {\n          cleanDeclaration.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n        }\n        return cleanDeclaration;\n      }\n      case 269 /* EnumDeclaration */: {\n        const clean2 = cleanup(factory2.updateEnumDeclaration(\n          input,\n          factory2.createNodeArray(ensureModifiers(input)),\n          input.name,\n          factory2.createNodeArray(\n            mapDefined(\n              input.members,\n              (m) => {\n                if (shouldStripInternal(m))\n                  return;\n                const constValue = resolver.getConstantValue(m);\n                return preserveJsDoc(factory2.updateEnumMember(\n                  m,\n                  m.name,\n                  constValue !== void 0 ? typeof constValue === \"string\" ? factory2.createStringLiteral(constValue) : factory2.createNumericLiteral(constValue) : void 0\n                ), m);\n              }\n            )\n          )\n        ));\n        const reservedDecorators = getAnnotationsFromIllegalDecorators(input);\n        checkAnnotationVisibilityByDecorator(reservedDecorators);\n        clean2.illegalDecorators = factory2.createNodeArray(reservedDecorators);\n        return clean2;\n      }\n    }\n    function cleanup(node) {\n      if (isEnclosingDeclaration(input)) {\n        enclosingDeclaration = previousEnclosingDeclaration;\n      }\n      if (canProdiceDiagnostic) {\n        getSymbolAccessibilityDiagnostic = oldDiag;\n      }\n      if (input.kind === 270 /* ModuleDeclaration */) {\n        needsDeclare = previousNeedsDeclare;\n      }\n      if (node === input) {\n        return node;\n      }\n      errorFallbackNode = void 0;\n      errorNameNode = void 0;\n      return node && setOriginalNode(preserveJsDoc(node, input), input);\n    }\n  }\n  function transformVariableStatement(input) {\n    if (!forEach(input.declarationList.declarations, getBindingNameVisible))\n      return;\n    const nodes = visitNodes2(input.declarationList.declarations, visitDeclarationSubtree);\n    if (!length(nodes))\n      return;\n    return factory2.updateVariableStatement(input, factory2.createNodeArray(ensureModifiers(input)), factory2.updateVariableDeclarationList(input.declarationList, nodes));\n  }\n  function recreateBindingPattern(d) {\n    return flatten(mapDefined(d.elements, (e) => recreateBindingElement(e)));\n  }\n  function recreateBindingElement(e) {\n    if (e.kind === 233 /* OmittedExpression */) {\n      return;\n    }\n    if (e.name) {\n      if (!getBindingNameVisible(e))\n        return;\n      if (isBindingPattern(e.name)) {\n        return recreateBindingPattern(e.name);\n      } else {\n        return factory2.createVariableDeclaration(e.name, void 0, ensureType(e, void 0), void 0);\n      }\n    }\n  }\n  function checkName(node) {\n    let oldDiag;\n    if (!suppressNewDiagnosticContexts) {\n      oldDiag = getSymbolAccessibilityDiagnostic;\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNodeName(node);\n    }\n    errorNameNode = node.name;\n    Debug.assert(resolver.isLateBound(getParseTreeNode(node)));\n    const decl = node;\n    const entityName = decl.name.expression;\n    checkEntityNameVisibility(entityName, enclosingDeclaration);\n    if (!suppressNewDiagnosticContexts) {\n      getSymbolAccessibilityDiagnostic = oldDiag;\n    }\n    errorNameNode = void 0;\n  }\n  function shouldStripInternal(node) {\n    return !!stripInternal && !!node && isInternalDeclaration(node, currentSourceFile);\n  }\n  function isScopeMarker2(node) {\n    return isExportAssignment(node) || isExportDeclaration(node);\n  }\n  function hasScopeMarker2(statements) {\n    return some(statements, isScopeMarker2);\n  }\n  function ensureModifiers(node) {\n    const currentFlags = getEffectiveModifierFlags(node);\n    const newFlags = ensureModifierFlags(node);\n    if (currentFlags === newFlags) {\n      return visitArray(node.modifiers, (n) => tryCast(n, isModifier), isModifier);\n    }\n    return factory2.createModifiersFromModifierFlags(newFlags);\n  }\n  function ensureModifierFlags(node) {\n    let mask2 = 258047 /* All */ ^ (4 /* Public */ | 512 /* Async */ | 16384 /* Override */);\n    let additions = needsDeclare && !isAlwaysType(node) ? 2 /* Ambient */ : 0 /* None */;\n    const parentIsFile = node.parent.kind === 314 /* SourceFile */;\n    if (!parentIsFile || isBundledEmit && parentIsFile && isExternalModule(node.parent)) {\n      mask2 ^= 2 /* Ambient */;\n      additions = 0 /* None */;\n    }\n    return maskModifierFlags(node, mask2, additions);\n  }\n  function getTypeAnnotationFromAllAccessorDeclarations(node, accessors) {\n    let accessorType = getTypeAnnotationFromAccessor(node);\n    if (!accessorType && node !== accessors.firstAccessor) {\n      accessorType = getTypeAnnotationFromAccessor(accessors.firstAccessor);\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.firstAccessor);\n    }\n    if (!accessorType && accessors.secondAccessor && node !== accessors.secondAccessor) {\n      accessorType = getTypeAnnotationFromAccessor(accessors.secondAccessor);\n      getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(accessors.secondAccessor);\n    }\n    return accessorType;\n  }\n  function transformHeritageClauses(nodes) {\n    return factory2.createNodeArray(filter(map(nodes, (clause) => factory2.updateHeritageClause(clause, visitNodes2(factory2.createNodeArray(filter(clause.types, (t) => {\n      return isEntityNameExpression(t.expression) || clause.token === 95 /* ExtendsKeyword */ && t.expression.kind === 105 /* NullKeyword */;\n    })), visitDeclarationSubtree))), (clause) => clause.types && !!clause.types.length));\n  }\n}\nfunction isAlwaysType(node) {\n  if (node.kind === 267 /* InterfaceDeclaration */) {\n    return true;\n  }\n  return false;\n}\nfunction maskModifiers(node, modifierMask, modifierAdditions) {\n  return factory.createModifiersFromModifierFlags(maskModifierFlags(node, modifierMask, modifierAdditions));\n}\nfunction maskModifierFlags(node, modifierMask = 258047 /* All */ ^ 4 /* Public */, modifierAdditions = 0 /* None */) {\n  let flags = getEffectiveModifierFlags(node) & modifierMask | modifierAdditions;\n  if (flags & 1024 /* Default */ && !(flags & 1 /* Export */)) {\n    flags ^= 1 /* Export */;\n  }\n  if (flags & 1024 /* Default */ && flags & 2 /* Ambient */) {\n    flags ^= 2 /* Ambient */;\n  }\n  return flags;\n}\nfunction getTypeAnnotationFromAccessor(accessor) {\n  if (accessor) {\n    return accessor.kind === 177 /* GetAccessor */ ? accessor.type : accessor.parameters.length > 0 ? accessor.parameters[0].type : void 0;\n  }\n}\nfunction canHaveLiteralInitializer(node) {\n  switch (node.kind) {\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n      return !hasEffectiveModifier(node, 8 /* Private */);\n    case 168 /* Parameter */:\n    case 261 /* VariableDeclaration */:\n      return true;\n  }\n  return false;\n}\nfunction isPreservedDeclarationStatement(node) {\n  switch (node.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 270 /* ModuleDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 266 /* AnnotationDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 244 /* VariableStatement */:\n    case 275 /* ImportDeclaration */:\n    case 281 /* ExportDeclaration */:\n    case 280 /* ExportAssignment */:\n      return true;\n  }\n  return false;\n}\nfunction isProcessedComponent(node) {\n  switch (node.kind) {\n    case 180 /* ConstructSignature */:\n    case 176 /* Constructor */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 171 /* PropertyDeclaration */:\n    case 172 /* AnnotationPropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 173 /* MethodSignature */:\n    case 179 /* CallSignature */:\n    case 181 /* IndexSignature */:\n    case 261 /* VariableDeclaration */:\n    case 167 /* TypeParameter */:\n    case 234 /* ExpressionWithTypeArguments */:\n    case 183 /* TypeReference */:\n    case 194 /* ConditionalType */:\n    case 184 /* FunctionType */:\n    case 185 /* ConstructorType */:\n    case 205 /* ImportType */:\n      return true;\n  }\n  return false;\n}\n\n// src/compiler/transformer.ts\nfunction getModuleTransformer(moduleKind) {\n  switch (moduleKind) {\n    case 99 /* ESNext */:\n    case 7 /* ES2022 */:\n    case 6 /* ES2020 */:\n    case 5 /* ES2015 */:\n      return transformECMAScriptModule;\n    case 4 /* System */:\n      return transformSystemModule;\n    case 100 /* Node16 */:\n    case 199 /* NodeNext */:\n      return transformNodeModule;\n    default:\n      return transformModule;\n  }\n}\nvar TransformationState = /* @__PURE__ */ ((TransformationState2) => {\n  TransformationState2[TransformationState2[\"Uninitialized\"] = 0] = \"Uninitialized\";\n  TransformationState2[TransformationState2[\"Initialized\"] = 1] = \"Initialized\";\n  TransformationState2[TransformationState2[\"Completed\"] = 2] = \"Completed\";\n  TransformationState2[TransformationState2[\"Disposed\"] = 3] = \"Disposed\";\n  return TransformationState2;\n})(TransformationState || {});\nvar SyntaxKindFeatureFlags = /* @__PURE__ */ ((SyntaxKindFeatureFlags2) => {\n  SyntaxKindFeatureFlags2[SyntaxKindFeatureFlags2[\"Substitution\"] = 1] = \"Substitution\";\n  SyntaxKindFeatureFlags2[SyntaxKindFeatureFlags2[\"EmitNotifications\"] = 2] = \"EmitNotifications\";\n  return SyntaxKindFeatureFlags2;\n})(SyntaxKindFeatureFlags || {});\nvar noTransformers = { scriptTransformers: emptyArray, declarationTransformers: emptyArray };\nfunction getTransformers(compilerOptions, customTransformers, emitOnlyDtsFiles) {\n  return {\n    scriptTransformers: getScriptTransformers(compilerOptions, customTransformers, emitOnlyDtsFiles),\n    declarationTransformers: getDeclarationTransformers(customTransformers)\n  };\n}\nfunction getScriptTransformers(compilerOptions, customTransformers, emitOnlyDtsFiles) {\n  if (emitOnlyDtsFiles)\n    return emptyArray;\n  const languageVersion = getEmitScriptTarget(compilerOptions);\n  const moduleKind = getEmitModuleKind(compilerOptions);\n  const transformers = [];\n  addRange(transformers, customTransformers && map(customTransformers.before, wrapScriptTransformerFactory));\n  transformers.push(transformTypeScript);\n  transformers.push(transformLegacyDecorators);\n  transformers.push(transformClassFields);\n  if (getJSXTransformEnabled(compilerOptions)) {\n    transformers.push(transformJsx);\n  }\n  if (languageVersion < 99 /* ESNext */) {\n    transformers.push(transformESNext);\n  }\n  if (languageVersion < 8 /* ES2021 */) {\n    transformers.push(transformES2021);\n  }\n  if (languageVersion < 7 /* ES2020 */) {\n    transformers.push(transformES2020);\n  }\n  if (languageVersion < 6 /* ES2019 */) {\n    transformers.push(transformES2019);\n  }\n  if (languageVersion < 5 /* ES2018 */) {\n    transformers.push(transformES2018);\n  }\n  if (languageVersion < 4 /* ES2017 */) {\n    transformers.push(transformES2017);\n  }\n  if (languageVersion < 3 /* ES2016 */) {\n    transformers.push(transformES2016);\n  }\n  if (languageVersion < 2 /* ES2015 */) {\n    transformers.push(transformES2015);\n    transformers.push(transformGenerators);\n  }\n  transformers.push(getModuleTransformer(moduleKind));\n  if (languageVersion < 1 /* ES5 */) {\n    transformers.push(transformES5);\n  }\n  addRange(transformers, customTransformers && map(customTransformers.after, wrapScriptTransformerFactory));\n  return transformers;\n}\nfunction getDeclarationTransformers(customTransformers) {\n  const transformers = [];\n  transformers.push(transformDeclarations);\n  addRange(transformers, customTransformers && map(customTransformers.afterDeclarations, wrapDeclarationTransformerFactory));\n  return transformers;\n}\nfunction wrapCustomTransformer(transformer) {\n  return (node) => isBundle(node) ? transformer.transformBundle(node) : transformer.transformSourceFile(node);\n}\nfunction wrapCustomTransformerFactory(transformer, handleDefault) {\n  return (context) => {\n    const customTransformer = transformer(context);\n    return typeof customTransformer === \"function\" ? handleDefault(context, customTransformer) : wrapCustomTransformer(customTransformer);\n  };\n}\nfunction wrapScriptTransformerFactory(transformer) {\n  return wrapCustomTransformerFactory(transformer, chainBundle);\n}\nfunction wrapDeclarationTransformerFactory(transformer) {\n  return wrapCustomTransformerFactory(transformer, (_, node) => node);\n}\nfunction noEmitSubstitution(_hint, node) {\n  return node;\n}\nfunction noEmitNotification(hint, node, callback) {\n  callback(hint, node);\n}\nfunction transformNodes(resolver, host, factory2, options, nodes, transformers, allowDtsFiles) {\n  var _a2, _b;\n  const enabledSyntaxKindFeatures = new Array(364 /* Count */);\n  let lexicalEnvironmentVariableDeclarations;\n  let lexicalEnvironmentFunctionDeclarations;\n  let lexicalEnvironmentStatements;\n  let lexicalEnvironmentFlags = 0 /* None */;\n  let lexicalEnvironmentVariableDeclarationsStack = [];\n  let lexicalEnvironmentFunctionDeclarationsStack = [];\n  let lexicalEnvironmentStatementsStack = [];\n  let lexicalEnvironmentFlagsStack = [];\n  let lexicalEnvironmentStackOffset = 0;\n  let lexicalEnvironmentSuspended = false;\n  let blockScopedVariableDeclarationsStack = [];\n  let blockScopeStackOffset = 0;\n  let blockScopedVariableDeclarations;\n  let emitHelpers;\n  let onSubstituteNode = noEmitSubstitution;\n  let onEmitNode = noEmitNotification;\n  let state = 0 /* Uninitialized */;\n  const diagnostics = [];\n  const context = {\n    factory: factory2,\n    getCompilerOptions: () => options,\n    getEmitResolver: () => resolver,\n    getEmitHost: () => host,\n    getEmitHelperFactory: memoize(() => createEmitHelperFactory(context)),\n    startLexicalEnvironment,\n    suspendLexicalEnvironment,\n    resumeLexicalEnvironment,\n    endLexicalEnvironment,\n    setLexicalEnvironmentFlags,\n    getLexicalEnvironmentFlags,\n    hoistVariableDeclaration,\n    hoistFunctionDeclaration,\n    addInitializationStatement,\n    startBlockScope,\n    endBlockScope,\n    addBlockScopedVariable,\n    requestEmitHelper,\n    readEmitHelpers,\n    enableSubstitution,\n    enableEmitNotification,\n    isSubstitutionEnabled,\n    isEmitNotificationEnabled,\n    isLexicalEnvironmentSuspended,\n    get onSubstituteNode() {\n      return onSubstituteNode;\n    },\n    set onSubstituteNode(value) {\n      Debug.assert(state < 1 /* Initialized */, \"Cannot modify transformation hooks after initialization has completed.\");\n      Debug.assert(value !== void 0, \"Value must not be 'undefined'\");\n      onSubstituteNode = value;\n    },\n    get onEmitNode() {\n      return onEmitNode;\n    },\n    set onEmitNode(value) {\n      Debug.assert(state < 1 /* Initialized */, \"Cannot modify transformation hooks after initialization has completed.\");\n      Debug.assert(value !== void 0, \"Value must not be 'undefined'\");\n      onEmitNode = value;\n    },\n    addDiagnostic(diag2) {\n      diagnostics.push(diag2);\n    }\n  };\n  for (const node of nodes) {\n    disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));\n  }\n  const recordInfo = MemoryDotting.recordStage(MemoryDotting.TRANSFORM);\n  mark(\"beforeTransform\");\n  const transformersWithContext = transformers.map((t) => t(context));\n  const transformation = (node) => {\n    for (const transform2 of transformersWithContext) {\n      node = transform2(node);\n    }\n    return node;\n  };\n  state = 1 /* Initialized */;\n  const transformed = [];\n  for (const node of nodes) {\n    (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Emit, \"transformNodes\", node.kind === 314 /* SourceFile */ ? { path: node.path } : { kind: node.kind, pos: node.pos, end: node.end });\n    PerformanceDotting.start(\"transformRoot\");\n    transformed.push((allowDtsFiles ? transformation : transformRoot)(node));\n    PerformanceDotting.stop(\"transformRoot\");\n    (_b = tracing) == null ? void 0 : _b.pop();\n  }\n  state = 2 /* Completed */;\n  mark(\"afterTransform\");\n  MemoryDotting.stopRecordStage(recordInfo);\n  measure(\"transformTime\", \"beforeTransform\", \"afterTransform\");\n  return {\n    transformed,\n    substituteNode,\n    emitNodeWithNotification,\n    isEmitNotificationEnabled,\n    dispose,\n    diagnostics\n  };\n  function transformRoot(node) {\n    return node && (!isSourceFile(node) || !node.isDeclarationFile) ? transformation(node) : node;\n  }\n  function enableSubstitution(kind) {\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the transformation context after transformation has completed.\");\n    enabledSyntaxKindFeatures[kind] |= 1 /* Substitution */;\n  }\n  function isSubstitutionEnabled(node) {\n    return (enabledSyntaxKindFeatures[node.kind] & 1 /* Substitution */) !== 0 && (getEmitFlags(node) & 4 /* NoSubstitution */) === 0;\n  }\n  function substituteNode(hint, node) {\n    Debug.assert(state < 3 /* Disposed */, \"Cannot substitute a node after the result is disposed.\");\n    return node && isSubstitutionEnabled(node) && onSubstituteNode(hint, node) || node;\n  }\n  function enableEmitNotification(kind) {\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the transformation context after transformation has completed.\");\n    enabledSyntaxKindFeatures[kind] |= 2 /* EmitNotifications */;\n  }\n  function isEmitNotificationEnabled(node) {\n    return (enabledSyntaxKindFeatures[node.kind] & 2 /* EmitNotifications */) !== 0 || (getEmitFlags(node) & 2 /* AdviseOnEmitNode */) !== 0;\n  }\n  function emitNodeWithNotification(hint, node, emitCallback) {\n    Debug.assert(state < 3 /* Disposed */, \"Cannot invoke TransformationResult callbacks after the result is disposed.\");\n    if (node) {\n      if (isEmitNotificationEnabled(node)) {\n        onEmitNode(hint, node, emitCallback);\n      } else {\n        emitCallback(hint, node);\n      }\n    }\n  }\n  function hoistVariableDeclaration(name) {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    const decl = setEmitFlags(factory2.createVariableDeclaration(name), 64 /* NoNestedSourceMaps */);\n    if (!lexicalEnvironmentVariableDeclarations) {\n      lexicalEnvironmentVariableDeclarations = [decl];\n    } else {\n      lexicalEnvironmentVariableDeclarations.push(decl);\n    }\n    if (lexicalEnvironmentFlags & 1 /* InParameters */) {\n      lexicalEnvironmentFlags |= 2 /* VariablesHoistedInParameters */;\n    }\n  }\n  function hoistFunctionDeclaration(func) {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    setEmitFlags(func, 1048576 /* CustomPrologue */);\n    if (!lexicalEnvironmentFunctionDeclarations) {\n      lexicalEnvironmentFunctionDeclarations = [func];\n    } else {\n      lexicalEnvironmentFunctionDeclarations.push(func);\n    }\n  }\n  function addInitializationStatement(node) {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    setEmitFlags(node, 1048576 /* CustomPrologue */);\n    if (!lexicalEnvironmentStatements) {\n      lexicalEnvironmentStatements = [node];\n    } else {\n      lexicalEnvironmentStatements.push(node);\n    }\n  }\n  function startLexicalEnvironment() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    Debug.assert(!lexicalEnvironmentSuspended, \"Lexical environment is suspended.\");\n    lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentVariableDeclarations;\n    lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFunctionDeclarations;\n    lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentStatements;\n    lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset] = lexicalEnvironmentFlags;\n    lexicalEnvironmentStackOffset++;\n    lexicalEnvironmentVariableDeclarations = void 0;\n    lexicalEnvironmentFunctionDeclarations = void 0;\n    lexicalEnvironmentStatements = void 0;\n    lexicalEnvironmentFlags = 0 /* None */;\n  }\n  function suspendLexicalEnvironment() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    Debug.assert(!lexicalEnvironmentSuspended, \"Lexical environment is already suspended.\");\n    lexicalEnvironmentSuspended = true;\n  }\n  function resumeLexicalEnvironment() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    Debug.assert(lexicalEnvironmentSuspended, \"Lexical environment is not suspended.\");\n    lexicalEnvironmentSuspended = false;\n  }\n  function endLexicalEnvironment() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the lexical environment during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the lexical environment after transformation has completed.\");\n    Debug.assert(!lexicalEnvironmentSuspended, \"Lexical environment is suspended.\");\n    let statements;\n    if (lexicalEnvironmentVariableDeclarations || lexicalEnvironmentFunctionDeclarations || lexicalEnvironmentStatements) {\n      if (lexicalEnvironmentFunctionDeclarations) {\n        statements = [...lexicalEnvironmentFunctionDeclarations];\n      }\n      if (lexicalEnvironmentVariableDeclarations) {\n        const statement = factory2.createVariableStatement(\n          void 0,\n          factory2.createVariableDeclarationList(lexicalEnvironmentVariableDeclarations)\n        );\n        setEmitFlags(statement, 1048576 /* CustomPrologue */);\n        if (!statements) {\n          statements = [statement];\n        } else {\n          statements.push(statement);\n        }\n      }\n      if (lexicalEnvironmentStatements) {\n        if (!statements) {\n          statements = [...lexicalEnvironmentStatements];\n        } else {\n          statements = [...statements, ...lexicalEnvironmentStatements];\n        }\n      }\n    }\n    lexicalEnvironmentStackOffset--;\n    lexicalEnvironmentVariableDeclarations = lexicalEnvironmentVariableDeclarationsStack[lexicalEnvironmentStackOffset];\n    lexicalEnvironmentFunctionDeclarations = lexicalEnvironmentFunctionDeclarationsStack[lexicalEnvironmentStackOffset];\n    lexicalEnvironmentStatements = lexicalEnvironmentStatementsStack[lexicalEnvironmentStackOffset];\n    lexicalEnvironmentFlags = lexicalEnvironmentFlagsStack[lexicalEnvironmentStackOffset];\n    if (lexicalEnvironmentStackOffset === 0) {\n      lexicalEnvironmentVariableDeclarationsStack = [];\n      lexicalEnvironmentFunctionDeclarationsStack = [];\n      lexicalEnvironmentStatementsStack = [];\n      lexicalEnvironmentFlagsStack = [];\n    }\n    return statements;\n  }\n  function setLexicalEnvironmentFlags(flags, value) {\n    lexicalEnvironmentFlags = value ? lexicalEnvironmentFlags | flags : lexicalEnvironmentFlags & ~flags;\n  }\n  function getLexicalEnvironmentFlags() {\n    return lexicalEnvironmentFlags;\n  }\n  function startBlockScope() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot start a block scope during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot start a block scope after transformation has completed.\");\n    blockScopedVariableDeclarationsStack[blockScopeStackOffset] = blockScopedVariableDeclarations;\n    blockScopeStackOffset++;\n    blockScopedVariableDeclarations = void 0;\n  }\n  function endBlockScope() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot end a block scope during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot end a block scope after transformation has completed.\");\n    const statements = some(blockScopedVariableDeclarations) ? [\n      factory2.createVariableStatement(\n        void 0,\n        factory2.createVariableDeclarationList(\n          blockScopedVariableDeclarations.map((identifier) => factory2.createVariableDeclaration(identifier)),\n          1 /* Let */\n        )\n      )\n    ] : void 0;\n    blockScopeStackOffset--;\n    blockScopedVariableDeclarations = blockScopedVariableDeclarationsStack[blockScopeStackOffset];\n    if (blockScopeStackOffset === 0) {\n      blockScopedVariableDeclarationsStack = [];\n    }\n    return statements;\n  }\n  function addBlockScopedVariable(name) {\n    Debug.assert(blockScopeStackOffset > 0, \"Cannot add a block scoped variable outside of an iteration body.\");\n    (blockScopedVariableDeclarations || (blockScopedVariableDeclarations = [])).push(name);\n  }\n  function requestEmitHelper(helper) {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the transformation context during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the transformation context after transformation has completed.\");\n    Debug.assert(!helper.scoped, \"Cannot request a scoped emit helper.\");\n    if (helper.dependencies) {\n      for (const h of helper.dependencies) {\n        requestEmitHelper(h);\n      }\n    }\n    emitHelpers = append(emitHelpers, helper);\n  }\n  function readEmitHelpers() {\n    Debug.assert(state > 0 /* Uninitialized */, \"Cannot modify the transformation context during initialization.\");\n    Debug.assert(state < 2 /* Completed */, \"Cannot modify the transformation context after transformation has completed.\");\n    const helpers = emitHelpers;\n    emitHelpers = void 0;\n    return helpers;\n  }\n  function dispose() {\n    if (state < 3 /* Disposed */) {\n      for (const node of nodes) {\n        disposeEmitNodes(getSourceFileOfNode(getParseTreeNode(node)));\n      }\n      lexicalEnvironmentVariableDeclarations = void 0;\n      lexicalEnvironmentVariableDeclarationsStack = void 0;\n      lexicalEnvironmentFunctionDeclarations = void 0;\n      lexicalEnvironmentFunctionDeclarationsStack = void 0;\n      onSubstituteNode = void 0;\n      onEmitNode = void 0;\n      emitHelpers = void 0;\n      state = 3 /* Disposed */;\n    }\n  }\n  function isLexicalEnvironmentSuspended() {\n    return lexicalEnvironmentSuspended;\n  }\n}\nvar nullTransformationContext = {\n  factory,\n  getCompilerOptions: () => ({}),\n  getEmitResolver: notImplemented,\n  getEmitHost: notImplemented,\n  getEmitHelperFactory: notImplemented,\n  startLexicalEnvironment: noop,\n  resumeLexicalEnvironment: noop,\n  suspendLexicalEnvironment: noop,\n  endLexicalEnvironment: returnUndefined,\n  setLexicalEnvironmentFlags: noop,\n  getLexicalEnvironmentFlags: () => 0,\n  hoistVariableDeclaration: noop,\n  hoistFunctionDeclaration: noop,\n  addInitializationStatement: noop,\n  startBlockScope: noop,\n  endBlockScope: returnUndefined,\n  addBlockScopedVariable: noop,\n  requestEmitHelper: noop,\n  readEmitHelpers: notImplemented,\n  enableSubstitution: noop,\n  enableEmitNotification: noop,\n  isSubstitutionEnabled: notImplemented,\n  isEmitNotificationEnabled: notImplemented,\n  onSubstituteNode: noEmitSubstitution,\n  onEmitNode: noEmitNotification,\n  addDiagnostic: noop\n};\n\n// src/compiler/emitter.ts\nvar brackets = createBracketsMap();\nfunction isBuildInfoFile(file) {\n  return fileExtensionIs(file, \".tsbuildinfo\" /* TsBuildInfo */);\n}\nfunction forEachEmittedFile(host, action, sourceFilesOrTargetSourceFile, forceDtsEmit = false, onlyBuildInfo, includeBuildInfo) {\n  const sourceFiles = isArray(sourceFilesOrTargetSourceFile) ? sourceFilesOrTargetSourceFile : getSourceFilesToEmit(host, sourceFilesOrTargetSourceFile, forceDtsEmit);\n  const options = host.getCompilerOptions();\n  if (outFile(options)) {\n    const prepends = host.getPrependNodes();\n    if (sourceFiles.length || prepends.length) {\n      const bundle = factory.createBundle(sourceFiles, prepends);\n      const result = action(getOutputPathsFor(bundle, host, forceDtsEmit), bundle);\n      if (result) {\n        return result;\n      }\n    }\n  } else {\n    if (!onlyBuildInfo) {\n      for (const sourceFile of sourceFiles) {\n        const result = action(getOutputPathsFor(sourceFile, host, forceDtsEmit), sourceFile);\n        if (result) {\n          return result;\n        }\n      }\n    }\n    if (includeBuildInfo) {\n      const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);\n      if (buildInfoPath)\n        return action({ buildInfoPath }, void 0);\n    }\n  }\n}\nfunction getTsBuildInfoEmitOutputFilePath(options) {\n  const configFile = options.configFilePath;\n  if (!isIncrementalCompilation(options))\n    return void 0;\n  if (options.tsBuildInfoFile)\n    return options.tsBuildInfoFile;\n  const outPath = outFile(options);\n  let buildInfoExtensionLess;\n  if (outPath) {\n    buildInfoExtensionLess = removeFileExtension(outPath);\n  } else {\n    if (!configFile)\n      return void 0;\n    const configFileExtensionLess = removeFileExtension(configFile);\n    buildInfoExtensionLess = options.outDir ? options.rootDir ? resolvePath(options.outDir, getRelativePathFromDirectory(options.rootDir, configFileExtensionLess, true)) : combinePaths(options.outDir, getBaseFileName(configFileExtensionLess)) : configFileExtensionLess;\n  }\n  return buildInfoExtensionLess + \".tsbuildinfo\" /* TsBuildInfo */;\n}\nfunction getTsBuildInfoEmitOutputFilePathForLinter(tsBuildInfoPath) {\n  return tsBuildInfoPath + \".linter\";\n}\nfunction getOutputPathsForBundle(options, forceDtsPaths) {\n  const outPath = outFile(options);\n  const jsFilePath = options.emitDeclarationOnly ? void 0 : outPath;\n  const sourceMapFilePath = jsFilePath && getSourceMapFilePath(jsFilePath, options);\n  const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) ? removeFileExtension(outPath) + \".d.ts\" /* Dts */ : void 0;\n  const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + \".map\" : void 0;\n  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);\n  return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath };\n}\nfunction getOutputPathsFor(sourceFile, host, forceDtsPaths) {\n  const options = host.getCompilerOptions();\n  if (sourceFile.kind === 315 /* Bundle */) {\n    return getOutputPathsForBundle(options, forceDtsPaths);\n  } else {\n    const ownOutputFilePath = getOwnEmitOutputFilePath(sourceFile.fileName, host, getOutputExtension(sourceFile.fileName, options));\n    const isJsonFile = isJsonSourceFile(sourceFile);\n    const isJsonEmittedToSameLocation = isJsonFile && comparePaths(sourceFile.fileName, ownOutputFilePath, host.getCurrentDirectory(), !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */;\n    const jsFilePath = options.emitDeclarationOnly || isJsonEmittedToSameLocation ? void 0 : ownOutputFilePath;\n    const sourceMapFilePath = !jsFilePath || isJsonSourceFile(sourceFile) ? void 0 : getSourceMapFilePath(jsFilePath, options);\n    const declarationFilePath = forceDtsPaths || getEmitDeclarations(options) && !isJsonFile ? getDeclarationEmitOutputFilePath(sourceFile.fileName, host) : void 0;\n    const declarationMapPath = declarationFilePath && getAreDeclarationMapsEnabled(options) ? declarationFilePath + \".map\" : void 0;\n    return { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath: void 0 };\n  }\n}\nfunction getSourceMapFilePath(jsFilePath, options) {\n  return options.sourceMap && !options.inlineSourceMap ? jsFilePath + \".map\" : void 0;\n}\nfunction getOutputExtension(fileName, options) {\n  return fileExtensionIs(fileName, \".json\" /* Json */) ? \".json\" /* Json */ : options.jsx === 1 /* Preserve */ && fileExtensionIsOneOf(fileName, [\".jsx\" /* Jsx */, \".tsx\" /* Tsx */]) ? \".jsx\" /* Jsx */ : fileExtensionIsOneOf(fileName, [\".mts\" /* Mts */, \".mjs\" /* Mjs */]) ? \".mjs\" /* Mjs */ : fileExtensionIsOneOf(fileName, [\".cts\" /* Cts */, \".cjs\" /* Cjs */]) ? \".cjs\" /* Cjs */ : \".js\" /* Js */;\n}\nfunction getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, outputDir, getCommonSourceDirectory2) {\n  return outputDir ? resolvePath(\n    outputDir,\n    getRelativePathFromDirectory(getCommonSourceDirectory2 ? getCommonSourceDirectory2() : getCommonSourceDirectoryOfConfig(configFile, ignoreCase), inputFileName, ignoreCase)\n  ) : inputFileName;\n}\nfunction getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2) {\n  return changeExtension(\n    getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, configFile.options.declarationDir || configFile.options.outDir, getCommonSourceDirectory2),\n    getDeclarationEmitExtensionForPath(inputFileName)\n  );\n}\nfunction getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2) {\n  if (configFile.options.emitDeclarationOnly)\n    return void 0;\n  const isJsonFile = fileExtensionIs(inputFileName, \".json\" /* Json */);\n  const outputFileName = changeExtension(\n    getOutputPathWithoutChangingExt(inputFileName, configFile, ignoreCase, configFile.options.outDir, getCommonSourceDirectory2),\n    getOutputExtension(inputFileName, configFile.options)\n  );\n  return !isJsonFile || comparePaths(inputFileName, outputFileName, Debug.checkDefined(configFile.options.configFilePath), ignoreCase) !== 0 /* EqualTo */ ? outputFileName : void 0;\n}\nfunction createAddOutput() {\n  let outputs;\n  return { addOutput, getOutputs };\n  function addOutput(path) {\n    if (path) {\n      (outputs || (outputs = [])).push(path);\n    }\n  }\n  function getOutputs() {\n    return outputs || emptyArray;\n  }\n}\nfunction getSingleOutputFileNames(configFile, addOutput) {\n  const { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath } = getOutputPathsForBundle(configFile.options, false);\n  addOutput(jsFilePath);\n  addOutput(sourceMapFilePath);\n  addOutput(declarationFilePath);\n  addOutput(declarationMapPath);\n  addOutput(buildInfoPath);\n}\nfunction getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2) {\n  if (isDeclarationFileName(inputFileName))\n    return;\n  const js = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n  addOutput(js);\n  if (fileExtensionIs(inputFileName, \".json\" /* Json */))\n    return;\n  if (js && configFile.options.sourceMap) {\n    addOutput(`${js}.map`);\n  }\n  if (getEmitDeclarations(configFile.options)) {\n    const dts = getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n    addOutput(dts);\n    if (configFile.options.declarationMap) {\n      addOutput(`${dts}.map`);\n    }\n  }\n}\nfunction getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCanonicalFileName, checkSourceFilesBelongToPath) {\n  let commonSourceDirectory;\n  if (options.rootDir) {\n    commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory);\n    checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(options.rootDir);\n  } else if (options.composite && options.configFilePath) {\n    commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath));\n    checkSourceFilesBelongToPath == null ? void 0 : checkSourceFilesBelongToPath(commonSourceDirectory);\n  } else {\n    commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles(), currentDirectory, getCanonicalFileName);\n  }\n  if (commonSourceDirectory && commonSourceDirectory[commonSourceDirectory.length - 1] !== directorySeparator) {\n    commonSourceDirectory += directorySeparator;\n  }\n  return commonSourceDirectory;\n}\nfunction getCommonSourceDirectoryOfConfig({ options, fileNames }, ignoreCase) {\n  return getCommonSourceDirectory(\n    options,\n    () => filter(fileNames, (file) => !(options.noEmitForJsFiles && fileExtensionIsOneOf(file, supportedJSExtensionsFlat)) && !isDeclarationFileName(file)),\n    getDirectoryPath(normalizeSlashes(Debug.checkDefined(options.configFilePath))),\n    createGetCanonicalFileName(!ignoreCase)\n  );\n}\nfunction getAllProjectOutputs(configFile, ignoreCase) {\n  const { addOutput, getOutputs } = createAddOutput();\n  if (outFile(configFile.options)) {\n    getSingleOutputFileNames(configFile, addOutput);\n  } else {\n    const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase));\n    for (const inputFileName of configFile.fileNames) {\n      getOwnOutputFileNames(configFile, inputFileName, ignoreCase, addOutput, getCommonSourceDirectory2);\n    }\n    addOutput(getTsBuildInfoEmitOutputFilePath(configFile.options));\n  }\n  return getOutputs();\n}\nfunction getOutputFileNames(commandLine, inputFileName, ignoreCase) {\n  inputFileName = normalizePath(inputFileName);\n  Debug.assert(contains(commandLine.fileNames, inputFileName), `Expected fileName to be present in command line`);\n  const { addOutput, getOutputs } = createAddOutput();\n  if (outFile(commandLine.options)) {\n    getSingleOutputFileNames(commandLine, addOutput);\n  } else {\n    getOwnOutputFileNames(commandLine, inputFileName, ignoreCase, addOutput);\n  }\n  return getOutputs();\n}\nfunction getFirstProjectOutput(configFile, ignoreCase) {\n  if (outFile(configFile.options)) {\n    const { jsFilePath } = getOutputPathsForBundle(configFile.options, false);\n    return Debug.checkDefined(jsFilePath, `project ${configFile.options.configFilePath} expected to have at least one output`);\n  }\n  const getCommonSourceDirectory2 = memoize(() => getCommonSourceDirectoryOfConfig(configFile, ignoreCase));\n  for (const inputFileName of configFile.fileNames) {\n    if (isDeclarationFileName(inputFileName))\n      continue;\n    const jsFilePath = getOutputJSFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n    if (jsFilePath)\n      return jsFilePath;\n    if (fileExtensionIs(inputFileName, \".json\" /* Json */))\n      continue;\n    if (getEmitDeclarations(configFile.options)) {\n      return getOutputDeclarationFileName(inputFileName, configFile, ignoreCase, getCommonSourceDirectory2);\n    }\n  }\n  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(configFile.options);\n  if (buildInfoPath)\n    return buildInfoPath;\n  return Debug.fail(`project ${configFile.options.configFilePath} expected to have at least one output`);\n}\nfunction emitFiles(resolver, host, targetSourceFile, { scriptTransformers, declarationTransformers }, emitOnlyDtsFiles, onlyBuildInfo, forceDtsEmit) {\n  var compilerOptions = host.getCompilerOptions();\n  var sourceMapDataList = compilerOptions.sourceMap || compilerOptions.inlineSourceMap || getAreDeclarationMapsEnabled(compilerOptions) ? [] : void 0;\n  var emittedFilesList = compilerOptions.listEmittedFiles ? [] : void 0;\n  var emitterDiagnostics = createDiagnosticCollection();\n  var newLine = getNewLineCharacter(compilerOptions, () => host.getNewLine());\n  var writer = createTextWriter(newLine);\n  var { enter, exit } = createTimer(\"printTime\", \"beforePrint\", \"afterPrint\");\n  var bundleBuildInfo;\n  var emitSkipped = false;\n  var recordInfo = MemoryDotting.recordStage(MemoryDotting.EMIT_FILES);\n  enter();\n  forEachEmittedFile(\n    host,\n    emitSourceFileOrBundle,\n    getSourceFilesToEmit(host, targetSourceFile, forceDtsEmit),\n    forceDtsEmit,\n    onlyBuildInfo,\n    !targetSourceFile\n  );\n  exit();\n  MemoryDotting.stopRecordStage(recordInfo);\n  return {\n    emitSkipped,\n    diagnostics: emitterDiagnostics.getDiagnostics(),\n    emittedFiles: emittedFilesList,\n    sourceMaps: sourceMapDataList\n  };\n  function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }, sourceFileOrBundle) {\n    var _a2, _b, _c, _d, _e, _f;\n    let buildInfoDirectory;\n    if (buildInfoPath && sourceFileOrBundle && isBundle(sourceFileOrBundle)) {\n      buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n      bundleBuildInfo = {\n        commonSourceDirectory: relativeToBuildInfo(host.getCommonSourceDirectory()),\n        sourceFiles: sourceFileOrBundle.sourceFiles.map((file) => relativeToBuildInfo(getNormalizedAbsolutePath(file.fileName, host.getCurrentDirectory())))\n      };\n    }\n    (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Emit, \"emitJsFileOrBundle\", { jsFilePath });\n    PerformanceDotting.start(\"emitJsFileOrBundle\");\n    emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath, relativeToBuildInfo);\n    PerformanceDotting.stop(\"emitJsFileOrBundle\");\n    (_b = tracing) == null ? void 0 : _b.pop();\n    (_c = tracing) == null ? void 0 : _c.push(tracing.Phase.Emit, \"emitDeclarationFileOrBundle\", { declarationFilePath });\n    PerformanceDotting.start(\"emitDeclarationFileOrBundle\");\n    emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath, relativeToBuildInfo);\n    PerformanceDotting.stop(\"emitDeclarationFileOrBundle\");\n    (_d = tracing) == null ? void 0 : _d.pop();\n    (_e = tracing) == null ? void 0 : _e.push(tracing.Phase.Emit, \"emitBuildInfo\", { buildInfoPath });\n    PerformanceDotting.start(\"emitBuildInfo\");\n    emitBuildInfo(bundleBuildInfo, buildInfoPath);\n    PerformanceDotting.stop(\"emitBuildInfo\");\n    (_f = tracing) == null ? void 0 : _f.pop();\n    if (!emitSkipped && emittedFilesList) {\n      if (!emitOnlyDtsFiles) {\n        if (jsFilePath) {\n          emittedFilesList.push(jsFilePath);\n        }\n        if (sourceMapFilePath) {\n          emittedFilesList.push(sourceMapFilePath);\n        }\n        if (buildInfoPath) {\n          emittedFilesList.push(buildInfoPath);\n        }\n      }\n      if (declarationFilePath) {\n        emittedFilesList.push(declarationFilePath);\n      }\n      if (declarationMapPath) {\n        emittedFilesList.push(declarationMapPath);\n      }\n    }\n    function relativeToBuildInfo(path) {\n      return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, host.getCanonicalFileName));\n    }\n  }\n  function emitBuildInfo(bundle, buildInfoPath) {\n    if (!buildInfoPath || targetSourceFile || emitSkipped)\n      return;\n    const program = host.getProgramBuildInfo();\n    if (host.isEmitBlocked(buildInfoPath)) {\n      emitSkipped = true;\n      return;\n    }\n    const version2 = version;\n    const buildInfo = { bundle, program, version: version2 };\n    writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText(buildInfo), false, void 0, { buildInfo });\n    const programForLinter = host.getProgramBuildInfoForLinter && host.getProgramBuildInfoForLinter();\n    if (programForLinter) {\n      const versionForLinter = version;\n      const buildInfoLinter = { bundle, program: programForLinter, version: versionForLinter };\n      writeFile(\n        host,\n        emitterDiagnostics,\n        getTsBuildInfoEmitOutputFilePathForLinter(buildInfoPath),\n        getBuildInfoText(buildInfoLinter),\n        false,\n        void 0,\n        { buildInfo: buildInfoLinter }\n      );\n    }\n  }\n  function emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath, relativeToBuildInfo) {\n    if (!sourceFileOrBundle || emitOnlyDtsFiles || !jsFilePath) {\n      return;\n    }\n    if (host.isEmitBlocked(jsFilePath) || compilerOptions.noEmit) {\n      emitSkipped = true;\n      return;\n    }\n    PerformanceDotting.start(\"transformNodes\");\n    const transform2 = transformNodes(resolver, host, factory, compilerOptions, [sourceFileOrBundle], scriptTransformers, false);\n    PerformanceDotting.stop(\"transformNodes\");\n    const printerOptions = {\n      removeComments: compilerOptions.removeComments,\n      newLine: compilerOptions.newLine,\n      noEmitHelpers: compilerOptions.noEmitHelpers,\n      module: compilerOptions.module,\n      target: compilerOptions.target,\n      sourceMap: compilerOptions.sourceMap,\n      inlineSourceMap: compilerOptions.inlineSourceMap,\n      inlineSources: compilerOptions.inlineSources,\n      extendedDiagnostics: compilerOptions.extendedDiagnostics,\n      writeBundleFileInfo: !!bundleBuildInfo,\n      relativeToBuildInfo\n    };\n    PerformanceDotting.start(\"printSourceFileOrBundle\");\n    const printer3 = createPrinter(printerOptions, {\n      hasGlobalName: resolver.hasGlobalName,\n      onEmitNode: transform2.emitNodeWithNotification,\n      isEmitNotificationEnabled: transform2.isEmitNotificationEnabled,\n      substituteNode: transform2.substituteNode\n    });\n    Debug.assert(transform2.transformed.length === 1, \"Should only see one output from the transform\");\n    printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform2, printer3, compilerOptions);\n    PerformanceDotting.stop(\"printSourceFileOrBundle\");\n    PerformanceDotting.start(\"transformDispose\");\n    transform2.dispose();\n    PerformanceDotting.stop(\"transformDispose\");\n    if (bundleBuildInfo)\n      bundleBuildInfo.js = printer3.bundleFileInfo;\n  }\n  function emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath, relativeToBuildInfo) {\n    if (!sourceFileOrBundle)\n      return;\n    if (!declarationFilePath) {\n      if (emitOnlyDtsFiles || compilerOptions.emitDeclarationOnly)\n        emitSkipped = true;\n      return;\n    }\n    const sourceFiles = isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : sourceFileOrBundle.sourceFiles;\n    const filesForEmit = forceDtsEmit ? sourceFiles : filter(sourceFiles, isSourceFileNotJson);\n    const inputListOrBundle = outFile(compilerOptions) ? [factory.createBundle(filesForEmit, !isSourceFile(sourceFileOrBundle) ? sourceFileOrBundle.prepends : void 0)] : filesForEmit;\n    if (emitOnlyDtsFiles && !getEmitDeclarations(compilerOptions)) {\n      filesForEmit.forEach(collectLinkedAliases);\n    }\n    PerformanceDotting.start(\"transformNodes\");\n    const declarationTransform = transformNodes(resolver, host, factory, compilerOptions, inputListOrBundle, declarationTransformers, false);\n    PerformanceDotting.stop(\"transformNodes\");\n    if (length(declarationTransform.diagnostics)) {\n      for (const diagnostic of declarationTransform.diagnostics) {\n        emitterDiagnostics.add(diagnostic);\n      }\n    }\n    PerformanceDotting.start(\"printSourceFileOrBundle\");\n    const printerOptions = {\n      removeComments: compilerOptions.removeComments,\n      newLine: compilerOptions.newLine,\n      noEmitHelpers: true,\n      module: compilerOptions.module,\n      target: compilerOptions.target,\n      sourceMap: !forceDtsEmit && compilerOptions.declarationMap,\n      inlineSourceMap: compilerOptions.inlineSourceMap,\n      extendedDiagnostics: compilerOptions.extendedDiagnostics,\n      onlyPrintJsDocStyle: true,\n      writeBundleFileInfo: !!bundleBuildInfo,\n      recordInternalSection: !!bundleBuildInfo,\n      relativeToBuildInfo\n    };\n    const declarationPrinter = createPrinter(printerOptions, {\n      hasGlobalName: resolver.hasGlobalName,\n      onEmitNode: declarationTransform.emitNodeWithNotification,\n      isEmitNotificationEnabled: declarationTransform.isEmitNotificationEnabled,\n      substituteNode: declarationTransform.substituteNode\n    });\n    const declBlocked = !!declarationTransform.diagnostics && !!declarationTransform.diagnostics.length || !!host.isEmitBlocked(declarationFilePath) || !!compilerOptions.noEmit;\n    emitSkipped = emitSkipped || declBlocked;\n    if (!declBlocked || forceDtsEmit) {\n      Debug.assert(declarationTransform.transformed.length === 1, \"Should only see one output from the decl transform\");\n      printSourceFileOrBundle(\n        declarationFilePath,\n        declarationMapPath,\n        declarationTransform,\n        declarationPrinter,\n        {\n          sourceMap: printerOptions.sourceMap,\n          sourceRoot: compilerOptions.sourceRoot,\n          mapRoot: compilerOptions.mapRoot,\n          extendedDiagnostics: compilerOptions.extendedDiagnostics\n        }\n      );\n    }\n    PerformanceDotting.stop(\"printSourceFileOrBundle\");\n    PerformanceDotting.start(\"declarationTransformDispose\");\n    declarationTransform.dispose();\n    PerformanceDotting.stop(\"declarationTransformDispose\");\n    if (bundleBuildInfo)\n      bundleBuildInfo.dts = declarationPrinter.bundleFileInfo;\n  }\n  function collectLinkedAliases(node) {\n    if (isExportAssignment(node)) {\n      if (node.expression.kind === 79 /* Identifier */) {\n        resolver.collectLinkedAliases(node.expression, true);\n      }\n      return;\n    } else if (isExportSpecifier(node)) {\n      resolver.collectLinkedAliases(node.propertyName || node.name, true);\n      return;\n    }\n    forEachChild(node, collectLinkedAliases);\n  }\n  function printSourceFileOrBundle(jsFilePath, sourceMapFilePath, transform2, printer3, mapOptions) {\n    const sourceFileOrBundle = transform2.transformed[0];\n    const bundle = sourceFileOrBundle.kind === 315 /* Bundle */ ? sourceFileOrBundle : void 0;\n    const sourceFile = sourceFileOrBundle.kind === 314 /* SourceFile */ ? sourceFileOrBundle : void 0;\n    const sourceFiles = bundle ? bundle.sourceFiles : [sourceFile];\n    let sourceMapGenerator;\n    if (shouldEmitSourceMaps(mapOptions, sourceFileOrBundle)) {\n      sourceMapGenerator = createSourceMapGenerator(\n        host,\n        getBaseFileName(normalizeSlashes(jsFilePath)),\n        getSourceRoot(mapOptions),\n        getSourceMapDirectory(mapOptions, jsFilePath, sourceFile),\n        mapOptions\n      );\n    }\n    if (bundle) {\n      printer3.writeBundle(bundle, writer, sourceMapGenerator);\n    } else {\n      printer3.writeFile(sourceFile, writer, sourceMapGenerator);\n    }\n    let sourceMapUrlPos;\n    if (sourceMapGenerator) {\n      if (sourceMapDataList) {\n        sourceMapDataList.push({\n          inputSourceFileNames: sourceMapGenerator.getSources(),\n          sourceMap: sourceMapGenerator.toJSON()\n        });\n      }\n      const sourceMappingURL = getSourceMappingURL(\n        mapOptions,\n        sourceMapGenerator,\n        jsFilePath,\n        sourceMapFilePath,\n        sourceFile\n      );\n      if (sourceMappingURL) {\n        if (!writer.isAtStartOfLine())\n          writer.rawWrite(newLine);\n        sourceMapUrlPos = writer.getTextPos();\n        writer.writeComment(`//# ${\"sourceMappingURL\"}=${sourceMappingURL}`);\n      }\n      if (sourceMapFilePath) {\n        const sourceMap = sourceMapGenerator.toString();\n        writeFile(host, emitterDiagnostics, sourceMapFilePath, sourceMap, false, sourceFiles);\n        if (printer3.bundleFileInfo)\n          printer3.bundleFileInfo.mapHash = computeSignature(sourceMap, maybeBind(host, host.createHash));\n      }\n    } else {\n      writer.writeLine();\n    }\n    const text = writer.getText();\n    writeFile(host, emitterDiagnostics, jsFilePath, text, !!compilerOptions.emitBOM, sourceFiles, { sourceMapUrlPos, diagnostics: transform2.diagnostics });\n    if (printer3.bundleFileInfo)\n      printer3.bundleFileInfo.hash = computeSignature(text, maybeBind(host, host.createHash));\n    writer.clear();\n  }\n  function shouldEmitSourceMaps(mapOptions, sourceFileOrBundle) {\n    return (mapOptions.sourceMap || mapOptions.inlineSourceMap) && (sourceFileOrBundle.kind !== 314 /* SourceFile */ || !fileExtensionIs(sourceFileOrBundle.fileName, \".json\" /* Json */));\n  }\n  function getSourceRoot(mapOptions) {\n    const sourceRoot = normalizeSlashes(mapOptions.sourceRoot || \"\");\n    return sourceRoot ? ensureTrailingDirectorySeparator(sourceRoot) : sourceRoot;\n  }\n  function getSourceMapDirectory(mapOptions, filePath, sourceFile) {\n    if (mapOptions.sourceRoot)\n      return host.getCommonSourceDirectory();\n    if (mapOptions.mapRoot) {\n      let sourceMapDir = normalizeSlashes(mapOptions.mapRoot);\n      if (sourceFile) {\n        sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir));\n      }\n      if (getRootLength(sourceMapDir) === 0) {\n        sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir);\n      }\n      return sourceMapDir;\n    }\n    return getDirectoryPath(normalizePath(filePath));\n  }\n  function getSourceMappingURL(mapOptions, sourceMapGenerator, filePath, sourceMapFilePath, sourceFile) {\n    if (mapOptions.inlineSourceMap) {\n      const sourceMapText = sourceMapGenerator.toString();\n      const base64SourceMapText = base64encode(sys, sourceMapText);\n      return `data:application/json;base64,${base64SourceMapText}`;\n    }\n    const sourceMapFile = getBaseFileName(normalizeSlashes(Debug.checkDefined(sourceMapFilePath)));\n    if (mapOptions.mapRoot) {\n      let sourceMapDir = normalizeSlashes(mapOptions.mapRoot);\n      if (sourceFile) {\n        sourceMapDir = getDirectoryPath(getSourceFilePathInNewDir(sourceFile.fileName, host, sourceMapDir));\n      }\n      if (getRootLength(sourceMapDir) === 0) {\n        sourceMapDir = combinePaths(host.getCommonSourceDirectory(), sourceMapDir);\n        return encodeURI(\n          getRelativePathToDirectoryOrUrl(\n            getDirectoryPath(normalizePath(filePath)),\n            combinePaths(sourceMapDir, sourceMapFile),\n            host.getCurrentDirectory(),\n            host.getCanonicalFileName,\n            true\n          )\n        );\n      } else {\n        return encodeURI(combinePaths(sourceMapDir, sourceMapFile));\n      }\n    }\n    return encodeURI(sourceMapFile);\n  }\n}\nfunction getBuildInfoText(buildInfo) {\n  return JSON.stringify(buildInfo);\n}\nfunction getBuildInfo(buildInfoFile, buildInfoText) {\n  return readJsonOrUndefined(buildInfoFile, buildInfoText);\n}\nvar notImplementedResolver = {\n  hasGlobalName: notImplemented,\n  getReferencedExportContainer: notImplemented,\n  getReferencedImportDeclaration: notImplemented,\n  getReferencedDeclarationWithCollidingName: notImplemented,\n  isDeclarationWithCollidingName: notImplemented,\n  isValueAliasDeclaration: notImplemented,\n  isReferencedAliasDeclaration: notImplemented,\n  isReferenced: notImplemented,\n  isTopLevelValueImportEqualsWithEntityName: notImplemented,\n  getNodeCheckFlags: notImplemented,\n  isDeclarationVisible: notImplemented,\n  isLateBound: (_node) => false,\n  collectLinkedAliases: notImplemented,\n  isImplementationOfOverload: notImplemented,\n  requiresAddingImplicitUndefined: notImplemented,\n  isRequiredInitializedParameter: notImplemented,\n  isOptionalUninitializedParameterProperty: notImplemented,\n  isExpandoFunctionDeclaration: notImplemented,\n  getPropertiesOfContainerFunction: notImplemented,\n  createTypeOfDeclaration: notImplemented,\n  createReturnTypeOfSignatureDeclaration: notImplemented,\n  createTypeOfExpression: notImplemented,\n  createLiteralConstValue: notImplemented,\n  isSymbolAccessible: notImplemented,\n  isEntityNameVisible: notImplemented,\n  getConstantValue: notImplemented,\n  getReferencedValueDeclaration: notImplemented,\n  getTypeReferenceSerializationKind: notImplemented,\n  isOptionalParameter: notImplemented,\n  moduleExportsSomeValue: notImplemented,\n  isArgumentsLocalBinding: notImplemented,\n  getExternalModuleFileFromDeclaration: notImplemented,\n  getTypeReferenceDirectivesForEntityName: notImplemented,\n  getTypeReferenceDirectivesForSymbol: notImplemented,\n  isLiteralConstDeclaration: notImplemented,\n  getJsxFactoryEntity: notImplemented,\n  getJsxFragmentFactoryEntity: notImplemented,\n  getAllAccessorDeclarations: notImplemented,\n  getSymbolOfExternalModuleSpecifier: notImplemented,\n  isBindingCapturedByNode: notImplemented,\n  getDeclarationStatementsForSourceFile: notImplemented,\n  isImportRequiredByAugmentation: notImplemented,\n  getAnnotationObjectLiteralEvaluatedProps: notImplemented,\n  getAnnotationPropertyEvaluatedInitializer: notImplemented,\n  getAnnotationPropertyInferredType: notImplemented,\n  isReferredToAnnotation: notImplemented,\n  isSourceRetentionAnnotation: notImplemented,\n  isReferredToSourceRetentionAnnotation: notImplemented\n};\nfunction createSourceFilesFromBundleBuildInfo(bundle, buildInfoDirectory, host) {\n  var _a2;\n  const jsBundle = Debug.checkDefined(bundle.js);\n  const prologueMap = ((_a2 = jsBundle.sources) == null ? void 0 : _a2.prologues) && arrayToMap(jsBundle.sources.prologues, (prologueInfo) => prologueInfo.file);\n  return bundle.sourceFiles.map((fileName, index) => {\n    var _a3, _b;\n    const prologueInfo = prologueMap == null ? void 0 : prologueMap.get(index);\n    const statements = prologueInfo == null ? void 0 : prologueInfo.directives.map((directive) => {\n      const literal = setTextRange(factory.createStringLiteral(directive.expression.text), directive.expression);\n      const statement = setTextRange(factory.createExpressionStatement(literal), directive);\n      setParent(literal, statement);\n      return statement;\n    });\n    const eofToken = factory.createToken(1 /* EndOfFileToken */);\n    const sourceFile = factory.createSourceFile(statements != null ? statements : [], eofToken, 0 /* None */);\n    sourceFile.fileName = getRelativePathFromDirectory(\n      host.getCurrentDirectory(),\n      getNormalizedAbsolutePath(fileName, buildInfoDirectory),\n      !host.useCaseSensitiveFileNames()\n    );\n    sourceFile.text = (_a3 = prologueInfo == null ? void 0 : prologueInfo.text) != null ? _a3 : \"\";\n    setTextRangePosWidth(sourceFile, 0, (_b = prologueInfo == null ? void 0 : prologueInfo.text.length) != null ? _b : 0);\n    setEachParent(sourceFile.statements, sourceFile);\n    setTextRangePosWidth(eofToken, sourceFile.end, 0);\n    setParent(eofToken, sourceFile);\n    return sourceFile;\n  });\n}\nfunction emitUsingBuildInfo(config, host, getCommandLine, customTransformers) {\n  const createHash = maybeBind(host, host.createHash);\n  const { buildInfoPath, jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath } = getOutputPathsForBundle(config.options, false);\n  let buildInfo;\n  if (host.getBuildInfo) {\n    buildInfo = host.getBuildInfo(buildInfoPath, config.options.configFilePath);\n  } else {\n    const buildInfoText = host.readFile(buildInfoPath);\n    if (!buildInfoText)\n      return buildInfoPath;\n    buildInfo = getBuildInfo(buildInfoPath, buildInfoText);\n  }\n  if (!buildInfo)\n    return buildInfoPath;\n  if (!buildInfo.bundle || !buildInfo.bundle.js || declarationFilePath && !buildInfo.bundle.dts)\n    return buildInfoPath;\n  const jsFileText = host.readFile(Debug.checkDefined(jsFilePath));\n  if (!jsFileText)\n    return jsFilePath;\n  if (computeSignature(jsFileText, createHash) !== buildInfo.bundle.js.hash)\n    return jsFilePath;\n  const sourceMapText = sourceMapFilePath && host.readFile(sourceMapFilePath);\n  if (sourceMapFilePath && !sourceMapText || config.options.inlineSourceMap)\n    return sourceMapFilePath || \"inline sourcemap decoding\";\n  if (sourceMapFilePath && computeSignature(sourceMapText, createHash) !== buildInfo.bundle.js.mapHash)\n    return sourceMapFilePath;\n  const declarationText = declarationFilePath && host.readFile(declarationFilePath);\n  if (declarationFilePath && !declarationText)\n    return declarationFilePath;\n  if (declarationFilePath && computeSignature(declarationText, createHash) !== buildInfo.bundle.dts.hash)\n    return declarationFilePath;\n  const declarationMapText = declarationMapPath && host.readFile(declarationMapPath);\n  if (declarationMapPath && !declarationMapText || config.options.inlineSourceMap)\n    return declarationMapPath || \"inline sourcemap decoding\";\n  if (declarationMapPath && computeSignature(declarationMapText, createHash) !== buildInfo.bundle.dts.mapHash)\n    return declarationMapPath;\n  const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n  const ownPrependInput = createInputFiles(\n    jsFileText,\n    declarationText,\n    sourceMapFilePath,\n    sourceMapText,\n    declarationMapPath,\n    declarationMapText,\n    jsFilePath,\n    declarationFilePath,\n    buildInfoPath,\n    buildInfo,\n    true\n  );\n  const outputFiles = [];\n  const prependNodes = createPrependNodes(config.projectReferences, getCommandLine, (f) => host.readFile(f));\n  const sourceFilesForJsEmit = createSourceFilesFromBundleBuildInfo(buildInfo.bundle, buildInfoDirectory, host);\n  let changedDtsText;\n  let changedDtsData;\n  const emitHost = {\n    getPrependNodes: memoize(() => [...prependNodes, ownPrependInput]),\n    getCanonicalFileName: host.getCanonicalFileName,\n    getCommonSourceDirectory: () => getNormalizedAbsolutePath(buildInfo.bundle.commonSourceDirectory, buildInfoDirectory),\n    getCompilerOptions: () => config.options,\n    getCurrentDirectory: () => host.getCurrentDirectory(),\n    getNewLine: () => host.getNewLine(),\n    getSourceFile: returnUndefined,\n    getSourceFileByPath: returnUndefined,\n    getSourceFiles: () => sourceFilesForJsEmit,\n    getLibFileFromReference: notImplemented,\n    isSourceFileFromExternalLibrary: returnFalse,\n    getResolvedProjectReferenceToRedirect: returnUndefined,\n    getProjectReferenceRedirect: returnUndefined,\n    isSourceOfProjectReferenceRedirect: returnFalse,\n    writeFile: (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => {\n      switch (name) {\n        case jsFilePath:\n          if (jsFileText === text)\n            return;\n          break;\n        case sourceMapFilePath:\n          if (sourceMapText === text)\n            return;\n          break;\n        case buildInfoPath:\n          const newBuildInfo = data.buildInfo;\n          newBuildInfo.program = buildInfo.program;\n          if (newBuildInfo.program && changedDtsText !== void 0 && config.options.composite) {\n            newBuildInfo.program.outSignature = computeSignature(changedDtsText, createHash, changedDtsData);\n          }\n          const { js, dts, sourceFiles } = buildInfo.bundle;\n          newBuildInfo.bundle.js.sources = js.sources;\n          if (dts) {\n            newBuildInfo.bundle.dts.sources = dts.sources;\n          }\n          newBuildInfo.bundle.sourceFiles = sourceFiles;\n          outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark, buildInfo: newBuildInfo });\n          return;\n        case declarationFilePath:\n          if (declarationText === text)\n            return;\n          changedDtsText = text;\n          changedDtsData = data;\n          break;\n        case declarationMapPath:\n          if (declarationMapText === text)\n            return;\n          break;\n        default:\n          Debug.fail(`Unexpected path: ${name}`);\n      }\n      outputFiles.push({ name, text, writeByteOrderMark });\n    },\n    isEmitBlocked: returnFalse,\n    readFile: (f) => host.readFile(f),\n    fileExists: (f) => host.fileExists(f),\n    useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),\n    getProgramBuildInfo: returnUndefined,\n    getSourceFileFromReference: returnUndefined,\n    redirectTargetsMap: createMultiMap(),\n    getFileIncludeReasons: notImplemented,\n    createHash\n  };\n  emitFiles(\n    notImplementedResolver,\n    emitHost,\n    void 0,\n    getTransformers(config.options, customTransformers)\n  );\n  return outputFiles;\n}\nvar PipelinePhase = /* @__PURE__ */ ((PipelinePhase2) => {\n  PipelinePhase2[PipelinePhase2[\"Notification\"] = 0] = \"Notification\";\n  PipelinePhase2[PipelinePhase2[\"Substitution\"] = 1] = \"Substitution\";\n  PipelinePhase2[PipelinePhase2[\"Comments\"] = 2] = \"Comments\";\n  PipelinePhase2[PipelinePhase2[\"SourceMaps\"] = 3] = \"SourceMaps\";\n  PipelinePhase2[PipelinePhase2[\"Emit\"] = 4] = \"Emit\";\n  return PipelinePhase2;\n})(PipelinePhase || {});\nvar createPrinterWithDefaults = memoize(() => createPrinter({}));\nvar createPrinterWithRemoveComments = memoize(() => createPrinter({ removeComments: true }));\nvar createPrinterWithRemoveCommentsNeverAsciiEscape = memoize(() => createPrinter({ removeComments: true, neverAsciiEscape: true }));\nvar createPrinterWithRemoveCommentsOmitTrailingSemicolon = memoize(() => createPrinter({ removeComments: true, omitTrailingSemicolon: true }));\nfunction createPrinter(printerOptions = {}, handlers = {}) {\n  var {\n    hasGlobalName,\n    onEmitNode = noEmitNotification,\n    isEmitNotificationEnabled,\n    substituteNode = noEmitSubstitution,\n    onBeforeEmitNode,\n    onAfterEmitNode,\n    onBeforeEmitNodeArray,\n    onAfterEmitNodeArray,\n    onBeforeEmitToken,\n    onAfterEmitToken\n  } = handlers;\n  var extendedDiagnostics = !!printerOptions.extendedDiagnostics;\n  var newLine = getNewLineCharacter(printerOptions);\n  var moduleKind = getEmitModuleKind(printerOptions);\n  var bundledHelpers = new Map2();\n  var removeCommentsCollection;\n  var universalRemoveCommentsCollection;\n  var currentSourceFile;\n  var nodeIdToGeneratedName;\n  var autoGeneratedIdToGeneratedName;\n  var generatedNames;\n  var formattedNameTempFlagsStack;\n  var formattedNameTempFlags;\n  var privateNameTempFlagsStack;\n  var privateNameTempFlags;\n  var tempFlagsStack;\n  var tempFlags;\n  var reservedNamesStack;\n  var reservedNames;\n  var preserveSourceNewlines = printerOptions.preserveSourceNewlines;\n  var nextListElementPos;\n  var writer;\n  var ownWriter;\n  var write = writeBase;\n  var isOwnFileEmit;\n  var bundleFileInfo = printerOptions.writeBundleFileInfo ? { sections: [] } : void 0;\n  var relativeToBuildInfo = bundleFileInfo ? Debug.checkDefined(printerOptions.relativeToBuildInfo) : void 0;\n  var recordInternalSection = printerOptions.recordInternalSection;\n  var sourceFileTextPos = 0;\n  var sourceFileTextKind = \"text\" /* Text */;\n  var sourceMapsDisabled = true;\n  var sourceMapGenerator;\n  var sourceMapSource;\n  var sourceMapSourceIndex = -1;\n  var mostRecentlyAddedSourceMapSource;\n  var mostRecentlyAddedSourceMapSourceIndex = -1;\n  var containerPos = -1;\n  var containerEnd = -1;\n  var declarationListContainerEnd = -1;\n  var currentLineMap;\n  var detachedCommentsInfo;\n  var hasWrittenComment = false;\n  var commentsDisabled = !!printerOptions.removeComments;\n  var lastSubstitution;\n  var currentParenthesizerRule;\n  var { enter: enterComment, exit: exitComment } = createTimerIf(extendedDiagnostics, \"commentTime\", \"beforeComment\", \"afterComment\");\n  var parenthesizer = factory.parenthesizer;\n  var typeArgumentParenthesizerRuleSelector = {\n    select: (index) => index === 0 ? parenthesizer.parenthesizeLeadingTypeArgument : void 0\n  };\n  var emitBinaryExpression = createEmitBinaryExpression();\n  reset2();\n  return {\n    printNode,\n    printList,\n    printFile,\n    printBundle,\n    writeNode,\n    writeList,\n    writeFile: writeFile2,\n    writeBundle,\n    bundleFileInfo\n  };\n  function printNode(hint, node, sourceFile) {\n    switch (hint) {\n      case 0 /* SourceFile */:\n        Debug.assert(isSourceFile(node), \"Expected a SourceFile node.\");\n        break;\n      case 2 /* IdentifierName */:\n        Debug.assert(isIdentifier(node), \"Expected an Identifier node.\");\n        break;\n      case 1 /* Expression */:\n        Debug.assert(isExpression(node), \"Expected an Expression node.\");\n        break;\n    }\n    switch (node.kind) {\n      case 314 /* SourceFile */:\n        return printFile(node);\n      case 315 /* Bundle */:\n        return printBundle(node);\n      case 316 /* UnparsedSource */:\n        return printUnparsedSource(node);\n    }\n    writeNode(hint, node, sourceFile, beginPrint());\n    return endPrint();\n  }\n  function printList(format, nodes, sourceFile) {\n    writeList(format, nodes, sourceFile, beginPrint());\n    return endPrint();\n  }\n  function printBundle(bundle) {\n    writeBundle(bundle, beginPrint(), void 0);\n    return endPrint();\n  }\n  function printFile(sourceFile) {\n    writeFile2(sourceFile, beginPrint(), void 0);\n    return endPrint();\n  }\n  function printUnparsedSource(unparsed) {\n    writeUnparsedSource(unparsed, beginPrint());\n    return endPrint();\n  }\n  function writeNode(hint, node, sourceFile, output) {\n    const previousWriter = writer;\n    setWriter(output, void 0);\n    print(hint, node, sourceFile);\n    reset2();\n    writer = previousWriter;\n  }\n  function writeList(format, nodes, sourceFile, output) {\n    const previousWriter = writer;\n    setWriter(output, void 0);\n    if (sourceFile) {\n      setSourceFile(sourceFile);\n    }\n    emitList(void 0, nodes, format);\n    reset2();\n    writer = previousWriter;\n  }\n  function getTextPosWithWriteLine() {\n    return writer.getTextPosWithWriteLine ? writer.getTextPosWithWriteLine() : writer.getTextPos();\n  }\n  function updateOrPushBundleFileTextLike(pos, end, kind) {\n    const last2 = lastOrUndefined(bundleFileInfo.sections);\n    if (last2 && last2.kind === kind) {\n      last2.end = end;\n    } else {\n      bundleFileInfo.sections.push({ pos, end, kind });\n    }\n  }\n  function recordBundleFileInternalSectionStart(node) {\n    if (recordInternalSection && bundleFileInfo && currentSourceFile && (isDeclaration(node) || isVariableStatement(node)) && isInternalDeclaration(node, currentSourceFile) && sourceFileTextKind !== \"internal\" /* Internal */) {\n      const prevSourceFileTextKind = sourceFileTextKind;\n      recordBundleFileTextLikeSection(writer.getTextPos());\n      sourceFileTextPos = getTextPosWithWriteLine();\n      sourceFileTextKind = \"internal\" /* Internal */;\n      return prevSourceFileTextKind;\n    }\n    return void 0;\n  }\n  function recordBundleFileInternalSectionEnd(prevSourceFileTextKind) {\n    if (prevSourceFileTextKind) {\n      recordBundleFileTextLikeSection(writer.getTextPos());\n      sourceFileTextPos = getTextPosWithWriteLine();\n      sourceFileTextKind = prevSourceFileTextKind;\n    }\n  }\n  function recordBundleFileTextLikeSection(end) {\n    if (sourceFileTextPos < end) {\n      updateOrPushBundleFileTextLike(sourceFileTextPos, end, sourceFileTextKind);\n      return true;\n    }\n    return false;\n  }\n  function writeBundle(bundle, output, sourceMapGenerator2) {\n    isOwnFileEmit = false;\n    const previousWriter = writer;\n    setWriter(output, sourceMapGenerator2);\n    emitShebangIfNeeded(bundle);\n    emitPrologueDirectivesIfNeeded(bundle);\n    emitHelpers(bundle);\n    emitSyntheticTripleSlashReferencesIfNeeded(bundle);\n    for (const prepend of bundle.prepends) {\n      writeLine();\n      const pos = writer.getTextPos();\n      const savedSections = bundleFileInfo && bundleFileInfo.sections;\n      if (savedSections)\n        bundleFileInfo.sections = [];\n      print(4 /* Unspecified */, prepend, void 0);\n      if (bundleFileInfo) {\n        const newSections = bundleFileInfo.sections;\n        bundleFileInfo.sections = savedSections;\n        if (prepend.oldFileOfCurrentEmit)\n          bundleFileInfo.sections.push(...newSections);\n        else {\n          newSections.forEach((section) => Debug.assert(isBundleFileTextLike(section)));\n          bundleFileInfo.sections.push({\n            pos,\n            end: writer.getTextPos(),\n            kind: \"prepend\" /* Prepend */,\n            data: relativeToBuildInfo(prepend.fileName),\n            texts: newSections\n          });\n        }\n      }\n    }\n    sourceFileTextPos = getTextPosWithWriteLine();\n    for (const sourceFile of bundle.sourceFiles) {\n      print(0 /* SourceFile */, sourceFile, sourceFile);\n    }\n    if (bundleFileInfo && bundle.sourceFiles.length) {\n      const end = writer.getTextPos();\n      if (recordBundleFileTextLikeSection(end)) {\n        const prologues = getPrologueDirectivesFromBundledSourceFiles(bundle);\n        if (prologues) {\n          if (!bundleFileInfo.sources)\n            bundleFileInfo.sources = {};\n          bundleFileInfo.sources.prologues = prologues;\n        }\n        const helpers = getHelpersFromBundledSourceFiles(bundle);\n        if (helpers) {\n          if (!bundleFileInfo.sources)\n            bundleFileInfo.sources = {};\n          bundleFileInfo.sources.helpers = helpers;\n        }\n      }\n    }\n    reset2();\n    writer = previousWriter;\n  }\n  function writeUnparsedSource(unparsed, output) {\n    const previousWriter = writer;\n    setWriter(output, void 0);\n    print(4 /* Unspecified */, unparsed, void 0);\n    reset2();\n    writer = previousWriter;\n  }\n  function writeFile2(sourceFile, output, sourceMapGenerator2) {\n    removeCommentsCollection = sourceFile == null ? void 0 : sourceFile.reservedComments;\n    universalRemoveCommentsCollection = sourceFile == null ? void 0 : sourceFile.universalReservedComments;\n    isOwnFileEmit = true;\n    const previousWriter = writer;\n    setWriter(output, sourceMapGenerator2);\n    emitShebangIfNeeded(sourceFile);\n    emitPrologueDirectivesIfNeeded(sourceFile);\n    print(0 /* SourceFile */, sourceFile, sourceFile);\n    reset2();\n    writer = previousWriter;\n  }\n  function beginPrint() {\n    return ownWriter || (ownWriter = createTextWriter(newLine));\n  }\n  function endPrint() {\n    const text = ownWriter.getText();\n    ownWriter.clear();\n    return text;\n  }\n  function print(hint, node, sourceFile) {\n    if (sourceFile) {\n      setSourceFile(sourceFile);\n    }\n    pipelineEmit(hint, node, void 0);\n  }\n  function setSourceFile(sourceFile) {\n    currentSourceFile = sourceFile;\n    currentLineMap = void 0;\n    detachedCommentsInfo = void 0;\n    if (sourceFile) {\n      setSourceMapSource(sourceFile);\n    }\n  }\n  function setWriter(_writer, _sourceMapGenerator) {\n    if (_writer && printerOptions.omitTrailingSemicolon) {\n      _writer = getTrailingSemicolonDeferringWriter(_writer);\n    }\n    writer = _writer;\n    sourceMapGenerator = _sourceMapGenerator;\n    sourceMapsDisabled = !writer || !sourceMapGenerator;\n  }\n  function reset2() {\n    nodeIdToGeneratedName = [];\n    autoGeneratedIdToGeneratedName = [];\n    generatedNames = new Set2();\n    formattedNameTempFlagsStack = [];\n    formattedNameTempFlags = new Map2();\n    privateNameTempFlagsStack = [];\n    privateNameTempFlags = TempFlags.Auto;\n    tempFlagsStack = [];\n    tempFlags = TempFlags.Auto;\n    reservedNamesStack = [];\n    currentSourceFile = void 0;\n    currentLineMap = void 0;\n    detachedCommentsInfo = void 0;\n    setWriter(void 0, void 0);\n  }\n  function getCurrentLineMap() {\n    return currentLineMap || (currentLineMap = getLineStarts(Debug.checkDefined(currentSourceFile)));\n  }\n  function emit(node, parenthesizerRule) {\n    if (node === void 0)\n      return;\n    const prevSourceFileTextKind = recordBundleFileInternalSectionStart(node);\n    pipelineEmit(4 /* Unspecified */, node, parenthesizerRule);\n    recordBundleFileInternalSectionEnd(prevSourceFileTextKind);\n  }\n  function emitIdentifierName(node) {\n    if (node === void 0)\n      return;\n    pipelineEmit(2 /* IdentifierName */, node, void 0);\n  }\n  function emitExpression(node, parenthesizerRule) {\n    if (node === void 0)\n      return;\n    pipelineEmit(1 /* Expression */, node, parenthesizerRule);\n  }\n  function emitJsxAttributeValue(node) {\n    pipelineEmit(isStringLiteral(node) ? 6 /* JsxAttributeValue */ : 4 /* Unspecified */, node);\n  }\n  function beforeEmitNode(node) {\n    if (preserveSourceNewlines && getEmitFlags(node) & 134217728 /* IgnoreSourceNewlines */) {\n      preserveSourceNewlines = false;\n    }\n  }\n  function afterEmitNode(savedPreserveSourceNewlines) {\n    preserveSourceNewlines = savedPreserveSourceNewlines;\n  }\n  function pipelineEmit(emitHint, node, parenthesizerRule) {\n    currentParenthesizerRule = parenthesizerRule;\n    const pipelinePhase = getPipelinePhase(0 /* Notification */, emitHint, node);\n    pipelinePhase(emitHint, node);\n    currentParenthesizerRule = void 0;\n  }\n  function shouldEmitComments(node) {\n    return !commentsDisabled && !isSourceFile(node);\n  }\n  function shouldEmitSourceMaps(node) {\n    return !sourceMapsDisabled && !isSourceFile(node) && !isInJsonFile(node) && !isUnparsedSource(node) && !isUnparsedPrepend(node);\n  }\n  function getPipelinePhase(phase, emitHint, node) {\n    switch (phase) {\n      case 0 /* Notification */:\n        if (onEmitNode !== noEmitNotification && (!isEmitNotificationEnabled || isEmitNotificationEnabled(node))) {\n          return pipelineEmitWithNotification;\n        }\n      case 1 /* Substitution */:\n        if (substituteNode !== noEmitSubstitution && (lastSubstitution = substituteNode(emitHint, node) || node) !== node) {\n          if (currentParenthesizerRule) {\n            lastSubstitution = currentParenthesizerRule(lastSubstitution);\n          }\n          return pipelineEmitWithSubstitution;\n        }\n      case 2 /* Comments */:\n        if (shouldEmitComments(node)) {\n          return pipelineEmitWithComments;\n        }\n      case 3 /* SourceMaps */:\n        if (shouldEmitSourceMaps(node)) {\n          return pipelineEmitWithSourceMaps;\n        }\n      case 4 /* Emit */:\n        return pipelineEmitWithHint;\n      default:\n        return Debug.assertNever(phase);\n    }\n  }\n  function getNextPipelinePhase(currentPhase, emitHint, node) {\n    return getPipelinePhase(currentPhase + 1, emitHint, node);\n  }\n  function pipelineEmitWithNotification(hint, node) {\n    const pipelinePhase = getNextPipelinePhase(0 /* Notification */, hint, node);\n    onEmitNode(hint, node, pipelinePhase);\n  }\n  function pipelineEmitWithHint(hint, node) {\n    onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node);\n    if (preserveSourceNewlines) {\n      const savedPreserveSourceNewlines = preserveSourceNewlines;\n      beforeEmitNode(node);\n      pipelineEmitWithHintWorker(hint, node);\n      afterEmitNode(savedPreserveSourceNewlines);\n    } else {\n      pipelineEmitWithHintWorker(hint, node);\n    }\n    onAfterEmitNode == null ? void 0 : onAfterEmitNode(node);\n    currentParenthesizerRule = void 0;\n  }\n  function pipelineEmitWithHintWorker(hint, node, allowSnippets = true) {\n    if (allowSnippets) {\n      const snippet = getSnippetElement(node);\n      if (snippet) {\n        return emitSnippetNode(hint, node, snippet);\n      }\n    }\n    if (hint === 0 /* SourceFile */)\n      return emitSourceFile(cast(node, isSourceFile));\n    if (hint === 2 /* IdentifierName */)\n      return emitIdentifier(cast(node, isIdentifier));\n    if (hint === 6 /* JsxAttributeValue */)\n      return emitLiteral(cast(node, isStringLiteral), true);\n    if (hint === 3 /* MappedTypeParameter */)\n      return emitMappedTypeParameter(cast(node, isTypeParameterDeclaration));\n    if (hint === 5 /* EmbeddedStatement */) {\n      Debug.assertNode(node, isEmptyStatement);\n      return emitEmptyStatement(true);\n    }\n    if (hint === 4 /* Unspecified */) {\n      switch (node.kind) {\n        case 15 /* TemplateHead */:\n        case 16 /* TemplateMiddle */:\n        case 17 /* TemplateTail */:\n          return emitLiteral(node, false);\n        case 79 /* Identifier */:\n          return emitIdentifier(node);\n        case 80 /* PrivateIdentifier */:\n          return emitPrivateIdentifier(node);\n        case 165 /* QualifiedName */:\n          return emitQualifiedName(node);\n        case 166 /* ComputedPropertyName */:\n          return emitComputedPropertyName(node);\n        case 167 /* TypeParameter */:\n          return emitTypeParameter(node);\n        case 168 /* Parameter */:\n          return emitParameter(node);\n        case 169 /* Decorator */:\n          return emitDecorator(node);\n        case 170 /* PropertySignature */:\n          return emitPropertySignature(node);\n        case 171 /* PropertyDeclaration */:\n          return emitPropertyDeclaration(node);\n        case 172 /* AnnotationPropertyDeclaration */:\n          return emitAnnotationPropertyDeclaration(node);\n        case 173 /* MethodSignature */:\n          return emitMethodSignature(node);\n        case 174 /* MethodDeclaration */:\n          return emitMethodDeclaration(node);\n        case 175 /* ClassStaticBlockDeclaration */:\n          return emitClassStaticBlockDeclaration(node);\n        case 176 /* Constructor */:\n          return emitConstructor(node);\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          return emitAccessorDeclaration(node);\n        case 179 /* CallSignature */:\n          return emitCallSignature(node);\n        case 180 /* ConstructSignature */:\n          return emitConstructSignature(node);\n        case 181 /* IndexSignature */:\n          return emitIndexSignature(node);\n        case 182 /* TypePredicate */:\n          return emitTypePredicate(node);\n        case 183 /* TypeReference */:\n          return emitTypeReference(node);\n        case 184 /* FunctionType */:\n          return emitFunctionType(node);\n        case 185 /* ConstructorType */:\n          return emitConstructorType(node);\n        case 186 /* TypeQuery */:\n          return emitTypeQuery(node);\n        case 187 /* TypeLiteral */:\n          return emitTypeLiteral(node);\n        case 188 /* ArrayType */:\n          return emitArrayType(node);\n        case 189 /* TupleType */:\n          return emitTupleType(node);\n        case 190 /* OptionalType */:\n          return emitOptionalType(node);\n        case 192 /* UnionType */:\n          return emitUnionType(node);\n        case 193 /* IntersectionType */:\n          return emitIntersectionType(node);\n        case 194 /* ConditionalType */:\n          return emitConditionalType(node);\n        case 195 /* InferType */:\n          return emitInferType(node);\n        case 196 /* ParenthesizedType */:\n          return emitParenthesizedType(node);\n        case 234 /* ExpressionWithTypeArguments */:\n          return emitExpressionWithTypeArguments(node);\n        case 197 /* ThisType */:\n          return emitThisType();\n        case 198 /* TypeOperator */:\n          return emitTypeOperator(node);\n        case 199 /* IndexedAccessType */:\n          return emitIndexedAccessType(node);\n        case 200 /* MappedType */:\n          return emitMappedType(node);\n        case 201 /* LiteralType */:\n          return emitLiteralType(node);\n        case 202 /* NamedTupleMember */:\n          return emitNamedTupleMember(node);\n        case 203 /* TemplateLiteralType */:\n          return emitTemplateType(node);\n        case 204 /* TemplateLiteralTypeSpan */:\n          return emitTemplateTypeSpan(node);\n        case 205 /* ImportType */:\n          return emitImportTypeNode(node);\n        case 206 /* ObjectBindingPattern */:\n          return emitObjectBindingPattern(node);\n        case 207 /* ArrayBindingPattern */:\n          return emitArrayBindingPattern(node);\n        case 208 /* BindingElement */:\n          return emitBindingElement(node);\n        case 240 /* TemplateSpan */:\n          return emitTemplateSpan(node);\n        case 241 /* SemicolonClassElement */:\n          return emitSemicolonClassElement();\n        case 242 /* Block */:\n          return emitBlock(node);\n        case 244 /* VariableStatement */:\n          return emitVariableStatement(node);\n        case 243 /* EmptyStatement */:\n          return emitEmptyStatement(false);\n        case 245 /* ExpressionStatement */:\n          return emitExpressionStatement(node);\n        case 246 /* IfStatement */:\n          return emitIfStatement(node);\n        case 247 /* DoStatement */:\n          return emitDoStatement(node);\n        case 248 /* WhileStatement */:\n          return emitWhileStatement(node);\n        case 249 /* ForStatement */:\n          return emitForStatement(node);\n        case 250 /* ForInStatement */:\n          return emitForInStatement(node);\n        case 251 /* ForOfStatement */:\n          return emitForOfStatement(node);\n        case 252 /* ContinueStatement */:\n          return emitContinueStatement(node);\n        case 253 /* BreakStatement */:\n          return emitBreakStatement(node);\n        case 254 /* ReturnStatement */:\n          return emitReturnStatement(node);\n        case 255 /* WithStatement */:\n          return emitWithStatement(node);\n        case 256 /* SwitchStatement */:\n          return emitSwitchStatement(node);\n        case 257 /* LabeledStatement */:\n          return emitLabeledStatement(node);\n        case 258 /* ThrowStatement */:\n          return emitThrowStatement(node);\n        case 259 /* TryStatement */:\n          return emitTryStatement(node);\n        case 260 /* DebuggerStatement */:\n          return emitDebuggerStatement(node);\n        case 261 /* VariableDeclaration */:\n          return emitVariableDeclaration(node);\n        case 262 /* VariableDeclarationList */:\n          return emitVariableDeclarationList(node);\n        case 263 /* FunctionDeclaration */:\n          return emitFunctionDeclaration(node);\n        case 264 /* ClassDeclaration */:\n          return emitClassOrStructDeclaration(node);\n        case 265 /* StructDeclaration */:\n          return emitClassOrStructDeclaration(node);\n        case 266 /* AnnotationDeclaration */:\n          return emitAnnotationDeclaration(node);\n        case 267 /* InterfaceDeclaration */:\n          return emitInterfaceDeclaration(node);\n        case 268 /* TypeAliasDeclaration */:\n          return emitTypeAliasDeclaration(node);\n        case 269 /* EnumDeclaration */:\n          return emitEnumDeclaration(node);\n        case 270 /* ModuleDeclaration */:\n          return emitModuleDeclaration(node);\n        case 271 /* ModuleBlock */:\n          return emitModuleBlock(node);\n        case 272 /* CaseBlock */:\n          return emitCaseBlock(node);\n        case 273 /* NamespaceExportDeclaration */:\n          return emitNamespaceExportDeclaration(node);\n        case 274 /* ImportEqualsDeclaration */:\n          return emitImportEqualsDeclaration(node);\n        case 275 /* ImportDeclaration */:\n          return emitImportDeclaration(node);\n        case 276 /* ImportClause */:\n          return emitImportClause(node);\n        case 277 /* NamespaceImport */:\n          return emitNamespaceImport(node);\n        case 283 /* NamespaceExport */:\n          return emitNamespaceExport(node);\n        case 278 /* NamedImports */:\n          return emitNamedImports(node);\n        case 279 /* ImportSpecifier */:\n          return emitImportSpecifier(node);\n        case 280 /* ExportAssignment */:\n          return emitExportAssignment(node);\n        case 281 /* ExportDeclaration */:\n          return emitExportDeclaration(node);\n        case 282 /* NamedExports */:\n          return emitNamedExports(node);\n        case 284 /* ExportSpecifier */:\n          return emitExportSpecifier(node);\n        case 302 /* AssertClause */:\n          return emitAssertClause(node);\n        case 303 /* AssertEntry */:\n          return emitAssertEntry(node);\n        case 285 /* MissingDeclaration */:\n          return;\n        case 286 /* ExternalModuleReference */:\n          return emitExternalModuleReference(node);\n        case 11 /* JsxText */:\n          return emitJsxText(node);\n        case 289 /* JsxOpeningElement */:\n        case 292 /* JsxOpeningFragment */:\n          return emitJsxOpeningElementOrFragment(node);\n        case 290 /* JsxClosingElement */:\n        case 293 /* JsxClosingFragment */:\n          return emitJsxClosingElementOrFragment(node);\n        case 294 /* JsxAttribute */:\n          return emitJsxAttribute(node);\n        case 295 /* JsxAttributes */:\n          return emitJsxAttributes(node);\n        case 296 /* JsxSpreadAttribute */:\n          return emitJsxSpreadAttribute(node);\n        case 297 /* JsxExpression */:\n          return emitJsxExpression(node);\n        case 298 /* CaseClause */:\n          return emitCaseClause(node);\n        case 299 /* DefaultClause */:\n          return emitDefaultClause(node);\n        case 300 /* HeritageClause */:\n          return emitHeritageClause(node);\n        case 301 /* CatchClause */:\n          return emitCatchClause(node);\n        case 305 /* PropertyAssignment */:\n          return emitPropertyAssignment(node);\n        case 306 /* ShorthandPropertyAssignment */:\n          return emitShorthandPropertyAssignment(node);\n        case 307 /* SpreadAssignment */:\n          return emitSpreadAssignment(node);\n        case 308 /* EnumMember */:\n          return emitEnumMember(node);\n        case 309 /* UnparsedPrologue */:\n          return writeUnparsedNode(node);\n        case 316 /* UnparsedSource */:\n        case 310 /* UnparsedPrepend */:\n          return emitUnparsedSourceOrPrepend(node);\n        case 311 /* UnparsedText */:\n        case 312 /* UnparsedInternalText */:\n          return emitUnparsedTextLike(node);\n        case 313 /* UnparsedSyntheticReference */:\n          return emitUnparsedSyntheticReference(node);\n        case 314 /* SourceFile */:\n          return emitSourceFile(node);\n        case 315 /* Bundle */:\n          return Debug.fail(\"Bundles should be printed using printBundle\");\n        case 317 /* InputFiles */:\n          return Debug.fail(\"InputFiles should not be printed\");\n        case 318 /* JSDocTypeExpression */:\n          return emitJSDocTypeExpression(node);\n        case 319 /* JSDocNameReference */:\n          return emitJSDocNameReference(node);\n        case 321 /* JSDocAllType */:\n          return writePunctuation(\"*\");\n        case 322 /* JSDocUnknownType */:\n          return writePunctuation(\"?\");\n        case 323 /* JSDocNullableType */:\n          return emitJSDocNullableType(node);\n        case 324 /* JSDocNonNullableType */:\n          return emitJSDocNonNullableType(node);\n        case 325 /* JSDocOptionalType */:\n          return emitJSDocOptionalType(node);\n        case 326 /* JSDocFunctionType */:\n          return emitJSDocFunctionType(node);\n        case 191 /* RestType */:\n        case 327 /* JSDocVariadicType */:\n          return emitRestOrJSDocVariadicType(node);\n        case 328 /* JSDocNamepathType */:\n          return;\n        case 329 /* JSDoc */:\n          return emitJSDoc(node);\n        case 331 /* JSDocTypeLiteral */:\n          return emitJSDocTypeLiteral(node);\n        case 332 /* JSDocSignature */:\n          return emitJSDocSignature(node);\n        case 336 /* JSDocTag */:\n        case 341 /* JSDocClassTag */:\n        case 346 /* JSDocOverrideTag */:\n          return emitJSDocSimpleTag(node);\n        case 337 /* JSDocAugmentsTag */:\n        case 338 /* JSDocImplementsTag */:\n          return emitJSDocHeritageTag(node);\n        case 339 /* JSDocAuthorTag */:\n        case 340 /* JSDocDeprecatedTag */:\n          return;\n        case 342 /* JSDocPublicTag */:\n        case 343 /* JSDocPrivateTag */:\n        case 344 /* JSDocProtectedTag */:\n        case 345 /* JSDocReadonlyTag */:\n          return;\n        case 347 /* JSDocCallbackTag */:\n          return emitJSDocCallbackTag(node);\n        case 349 /* JSDocParameterTag */:\n        case 356 /* JSDocPropertyTag */:\n          return emitJSDocPropertyLikeTag(node);\n        case 348 /* JSDocEnumTag */:\n        case 350 /* JSDocReturnTag */:\n        case 351 /* JSDocThisTag */:\n        case 352 /* JSDocTypeTag */:\n          return emitJSDocSimpleTypedTag(node);\n        case 353 /* JSDocTemplateTag */:\n          return emitJSDocTemplateTag(node);\n        case 354 /* JSDocTypedefTag */:\n          return emitJSDocTypedefTag(node);\n        case 355 /* JSDocSeeTag */:\n          return emitJSDocSeeTag(node);\n        case 358 /* NotEmittedStatement */:\n        case 362 /* EndOfDeclarationMarker */:\n        case 361 /* MergeDeclarationMarker */:\n          return;\n      }\n      if (isExpression(node)) {\n        hint = 1 /* Expression */;\n        if (substituteNode !== noEmitSubstitution) {\n          const substitute = substituteNode(hint, node) || node;\n          if (substitute !== node) {\n            node = substitute;\n            if (currentParenthesizerRule) {\n              node = currentParenthesizerRule(node);\n            }\n          }\n        }\n      }\n    }\n    if (hint === 1 /* Expression */) {\n      switch (node.kind) {\n        case 8 /* NumericLiteral */:\n        case 9 /* BigIntLiteral */:\n          return emitNumericOrBigIntLiteral(node);\n        case 10 /* StringLiteral */:\n        case 13 /* RegularExpressionLiteral */:\n        case 14 /* NoSubstitutionTemplateLiteral */:\n          return emitLiteral(node, false);\n        case 79 /* Identifier */:\n          return emitIdentifier(node);\n        case 80 /* PrivateIdentifier */:\n          return emitPrivateIdentifier(node);\n        case 209 /* ArrayLiteralExpression */:\n          return emitArrayLiteralExpression(node);\n        case 210 /* ObjectLiteralExpression */:\n          return emitObjectLiteralExpression(node);\n        case 211 /* PropertyAccessExpression */:\n          return emitPropertyAccessExpression(node);\n        case 212 /* ElementAccessExpression */:\n          return emitElementAccessExpression(node);\n        case 213 /* CallExpression */:\n          return emitCallExpression(node);\n        case 214 /* NewExpression */:\n          return emitNewExpression(node);\n        case 215 /* TaggedTemplateExpression */:\n          return emitTaggedTemplateExpression(node);\n        case 216 /* TypeAssertionExpression */:\n          return emitTypeAssertionExpression(node);\n        case 217 /* ParenthesizedExpression */:\n          return emitParenthesizedExpression(node);\n        case 218 /* FunctionExpression */:\n          return emitFunctionExpression(node);\n        case 219 /* ArrowFunction */:\n          return emitArrowFunction(node);\n        case 221 /* DeleteExpression */:\n          return emitDeleteExpression(node);\n        case 222 /* TypeOfExpression */:\n          return emitTypeOfExpression(node);\n        case 223 /* VoidExpression */:\n          return emitVoidExpression(node);\n        case 224 /* AwaitExpression */:\n          return emitAwaitExpression(node);\n        case 225 /* PrefixUnaryExpression */:\n          return emitPrefixUnaryExpression(node);\n        case 226 /* PostfixUnaryExpression */:\n          return emitPostfixUnaryExpression(node);\n        case 227 /* BinaryExpression */:\n          return emitBinaryExpression(node);\n        case 228 /* ConditionalExpression */:\n          return emitConditionalExpression(node);\n        case 229 /* TemplateExpression */:\n          return emitTemplateExpression(node);\n        case 230 /* YieldExpression */:\n          return emitYieldExpression(node);\n        case 231 /* SpreadElement */:\n          return emitSpreadElement(node);\n        case 232 /* ClassExpression */:\n          return emitClassExpression(node);\n        case 233 /* OmittedExpression */:\n          return;\n        case 235 /* AsExpression */:\n          return emitAsExpression(node);\n        case 236 /* NonNullExpression */:\n          return emitNonNullExpression(node);\n        case 234 /* ExpressionWithTypeArguments */:\n          return emitExpressionWithTypeArguments(node);\n        case 239 /* SatisfiesExpression */:\n          return emitSatisfiesExpression(node);\n        case 237 /* MetaProperty */:\n          return emitMetaProperty(node);\n        case 238 /* SyntheticExpression */:\n          return Debug.fail(\"SyntheticExpression should never be printed.\");\n        case 287 /* JsxElement */:\n          return emitJsxElement(node);\n        case 288 /* JsxSelfClosingElement */:\n          return emitJsxSelfClosingElement(node);\n        case 291 /* JsxFragment */:\n          return emitJsxFragment(node);\n        case 357 /* SyntaxList */:\n          return Debug.fail(\"SyntaxList should not be printed\");\n        case 358 /* NotEmittedStatement */:\n          return;\n        case 359 /* PartiallyEmittedExpression */:\n          return emitPartiallyEmittedExpression(node);\n        case 360 /* CommaListExpression */:\n          return emitCommaList(node);\n        case 361 /* MergeDeclarationMarker */:\n        case 362 /* EndOfDeclarationMarker */:\n          return;\n        case 363 /* SyntheticReferenceExpression */:\n          return Debug.fail(\"SyntheticReferenceExpression should not be printed\");\n      }\n    }\n    if (isKeyword(node.kind))\n      return writeTokenNode(node, writeKeyword);\n    if (isTokenKind(node.kind))\n      return writeTokenNode(node, writePunctuation);\n    if (findAncestor(node, (elelment) => {\n      return isEtsComponentExpression(elelment);\n    })) {\n      return;\n    }\n    Debug.fail(`Unhandled SyntaxKind: ${Debug.formatSyntaxKind(node.kind)}.`);\n  }\n  function emitMappedTypeParameter(node) {\n    emit(node.name);\n    writeSpace();\n    writeKeyword(\"in\");\n    writeSpace();\n    emit(node.constraint);\n  }\n  function pipelineEmitWithSubstitution(hint, node) {\n    const pipelinePhase = getNextPipelinePhase(1 /* Substitution */, hint, node);\n    Debug.assertIsDefined(lastSubstitution);\n    node = lastSubstitution;\n    lastSubstitution = void 0;\n    pipelinePhase(hint, node);\n  }\n  function getHelpersFromBundledSourceFiles(bundle) {\n    let result;\n    if (moduleKind === 0 /* None */ || printerOptions.noEmitHelpers) {\n      return void 0;\n    }\n    const bundledHelpers2 = new Map2();\n    for (const sourceFile of bundle.sourceFiles) {\n      const shouldSkip = getExternalHelpersModuleName(sourceFile) !== void 0;\n      const helpers = getSortedEmitHelpers(sourceFile);\n      if (!helpers)\n        continue;\n      for (const helper of helpers) {\n        if (!helper.scoped && !shouldSkip && !bundledHelpers2.get(helper.name)) {\n          bundledHelpers2.set(helper.name, true);\n          (result || (result = [])).push(helper.name);\n        }\n      }\n    }\n    return result;\n  }\n  function emitHelpers(node) {\n    let helpersEmitted = false;\n    const bundle = node.kind === 315 /* Bundle */ ? node : void 0;\n    if (bundle && moduleKind === 0 /* None */) {\n      return;\n    }\n    const numPrepends = bundle ? bundle.prepends.length : 0;\n    const numNodes = bundle ? bundle.sourceFiles.length + numPrepends : 1;\n    for (let i = 0; i < numNodes; i++) {\n      const currentNode = bundle ? i < numPrepends ? bundle.prepends[i] : bundle.sourceFiles[i - numPrepends] : node;\n      const sourceFile = isSourceFile(currentNode) ? currentNode : isUnparsedSource(currentNode) ? void 0 : currentSourceFile;\n      const shouldSkip = printerOptions.noEmitHelpers || !!sourceFile && hasRecordedExternalHelpers(sourceFile);\n      const shouldBundle = (isSourceFile(currentNode) || isUnparsedSource(currentNode)) && !isOwnFileEmit;\n      const helpers = isUnparsedSource(currentNode) ? currentNode.helpers : getSortedEmitHelpers(currentNode);\n      if (helpers) {\n        for (const helper of helpers) {\n          if (!helper.scoped) {\n            if (shouldSkip)\n              continue;\n            if (shouldBundle) {\n              if (bundledHelpers.get(helper.name)) {\n                continue;\n              }\n              bundledHelpers.set(helper.name, true);\n            }\n          } else if (bundle) {\n            continue;\n          }\n          const pos = getTextPosWithWriteLine();\n          if (typeof helper.text === \"string\") {\n            writeLines(helper.text);\n          } else {\n            writeLines(helper.text(makeFileLevelOptimisticUniqueName));\n          }\n          if (bundleFileInfo)\n            bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"emitHelpers\" /* EmitHelpers */, data: helper.name });\n          helpersEmitted = true;\n        }\n      }\n    }\n    return helpersEmitted;\n  }\n  function getSortedEmitHelpers(node) {\n    const helpers = getEmitHelpers(node);\n    return helpers && stableSort(helpers, compareEmitHelpers);\n  }\n  function emitNumericOrBigIntLiteral(node) {\n    emitLiteral(node, false);\n  }\n  function emitLiteral(node, jsxAttributeEscape) {\n    const text = getLiteralTextOfNode(node, printerOptions.neverAsciiEscape, jsxAttributeEscape);\n    if ((printerOptions.sourceMap || printerOptions.inlineSourceMap) && (node.kind === 10 /* StringLiteral */ || isTemplateLiteralKind(node.kind))) {\n      writeLiteral(text);\n    } else {\n      writeStringLiteral(text);\n    }\n  }\n  function emitUnparsedSourceOrPrepend(unparsed) {\n    for (const text of unparsed.texts) {\n      writeLine();\n      emit(text);\n    }\n  }\n  function writeUnparsedNode(unparsed) {\n    writer.rawWrite(unparsed.parent.text.substring(unparsed.pos, unparsed.end));\n  }\n  function emitUnparsedTextLike(unparsed) {\n    const pos = getTextPosWithWriteLine();\n    writeUnparsedNode(unparsed);\n    if (bundleFileInfo) {\n      updateOrPushBundleFileTextLike(\n        pos,\n        writer.getTextPos(),\n        unparsed.kind === 311 /* UnparsedText */ ? \"text\" /* Text */ : \"internal\" /* Internal */\n      );\n    }\n  }\n  function emitUnparsedSyntheticReference(unparsed) {\n    const pos = getTextPosWithWriteLine();\n    writeUnparsedNode(unparsed);\n    if (bundleFileInfo) {\n      const section = clone(unparsed.section);\n      section.pos = pos;\n      section.end = writer.getTextPos();\n      bundleFileInfo.sections.push(section);\n    }\n  }\n  function emitSnippetNode(hint, node, snippet) {\n    switch (snippet.kind) {\n      case 1 /* Placeholder */:\n        emitPlaceholder(hint, node, snippet);\n        break;\n      case 0 /* TabStop */:\n        emitTabStop(hint, node, snippet);\n        break;\n    }\n  }\n  function emitPlaceholder(hint, node, snippet) {\n    nonEscapingWrite(`\\${${snippet.order}:`);\n    pipelineEmitWithHintWorker(hint, node, false);\n    nonEscapingWrite(`}`);\n  }\n  function emitTabStop(hint, node, snippet) {\n    Debug.assert(\n      node.kind === 243 /* EmptyStatement */,\n      `A tab stop cannot be attached to a node of kind ${Debug.formatSyntaxKind(node.kind)}.`\n    );\n    Debug.assert(\n      hint !== 5 /* EmbeddedStatement */,\n      `A tab stop cannot be attached to an embedded statement.`\n    );\n    nonEscapingWrite(`$${snippet.order}`);\n  }\n  function emitIdentifier(node) {\n    const writeText = node.symbol ? writeSymbol : write;\n    writeText(getTextOfNode2(node, false), node.symbol);\n    emitList(node, node.typeArguments, 53776 /* TypeParameters */);\n  }\n  function emitPrivateIdentifier(node) {\n    const writeText = node.symbol ? writeSymbol : write;\n    writeText(getTextOfNode2(node, false), node.symbol);\n  }\n  function emitQualifiedName(node) {\n    emitEntityName(node.left);\n    writePunctuation(\".\");\n    emit(node.right);\n  }\n  function emitEntityName(node) {\n    if (node.kind === 79 /* Identifier */) {\n      emitExpression(node);\n    } else {\n      emit(node);\n    }\n  }\n  function emitComputedPropertyName(node) {\n    writePunctuation(\"[\");\n    emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfComputedPropertyName);\n    writePunctuation(\"]\");\n  }\n  function emitTypeParameter(node) {\n    emitModifiers(node, node.modifiers);\n    emit(node.name);\n    if (node.constraint) {\n      writeSpace();\n      writeKeyword(\"extends\");\n      writeSpace();\n      emit(node.constraint);\n    }\n    if (node.default) {\n      writeSpace();\n      writeOperator(\"=\");\n      writeSpace();\n      emit(node.default);\n    }\n  }\n  function emitParameter(node) {\n    emitDecoratorsAndModifiers(node, node.modifiers);\n    emit(node.dotDotDotToken);\n    emitNodeWithWriter(node.name, writeParameter);\n    emit(node.questionToken);\n    if (node.parent && node.parent.kind === 326 /* JSDocFunctionType */ && !node.name) {\n      emit(node.type);\n    } else {\n      emitTypeAnnotation(node.type);\n    }\n    emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name ? node.name.end : node.modifiers ? node.modifiers.end : node.pos, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitDecorator(decorator) {\n    writePunctuation(\"@\");\n    emitExpression(decorator.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n  }\n  function emitPropertySignature(node) {\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    emitNodeWithWriter(node.name, writeProperty);\n    emit(node.questionToken);\n    emitTypeAnnotation(node.type);\n    writeTrailingSemicolon();\n  }\n  function emitPropertyDeclaration(node) {\n    emitDecoratorsAndModifiers(node, node.modifiers);\n    emit(node.name);\n    emit(node.questionToken);\n    emit(node.exclamationToken);\n    emitTypeAnnotation(node.type);\n    emitInitializer(node.initializer, node.type ? node.type.end : node.questionToken ? node.questionToken.end : node.name.end, node);\n    writeTrailingSemicolon();\n  }\n  function emitAnnotationPropertyDeclaration(node) {\n    emit(node.name);\n    emitTypeAnnotation(node.type);\n    emitInitializer(node.initializer, node.type ? node.type.end : node.name.end, node);\n    writeTrailingSemicolon();\n  }\n  function emitMethodSignature(node) {\n    pushNameGenerationScope(node);\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    emit(node.name);\n    emit(node.questionToken);\n    emitTypeParameters(node, node.typeParameters);\n    emitParameters(node, node.parameters);\n    emitTypeAnnotation(node.type);\n    writeTrailingSemicolon();\n    popNameGenerationScope(node);\n  }\n  function emitMethodDeclaration(node) {\n    emitDecoratorsAndModifiers(node, node.modifiers);\n    emit(node.asteriskToken);\n    emit(node.name);\n    emit(node.questionToken);\n    emitSignatureAndBody(node, emitSignatureHead);\n  }\n  function emitClassStaticBlockDeclaration(node) {\n    writeKeyword(\"static\");\n    emitBlockFunctionBody(node.body);\n  }\n  function emitConstructor(node) {\n    emitModifiers(node, node.modifiers);\n    writeKeyword(\"constructor\");\n    emitSignatureAndBody(node, emitSignatureHead);\n  }\n  function emitAccessorDeclaration(node) {\n    emitDecoratorsAndModifiers(node, node.modifiers);\n    writeKeyword(node.kind === 177 /* GetAccessor */ ? \"get\" : \"set\");\n    writeSpace();\n    emit(node.name);\n    emitSignatureAndBody(node, emitSignatureHead);\n  }\n  function emitCallSignature(node) {\n    pushNameGenerationScope(node);\n    emitTypeParameters(node, node.typeParameters);\n    emitParameters(node, node.parameters);\n    emitTypeAnnotation(node.type);\n    writeTrailingSemicolon();\n    popNameGenerationScope(node);\n  }\n  function emitConstructSignature(node) {\n    pushNameGenerationScope(node);\n    writeKeyword(\"new\");\n    writeSpace();\n    emitTypeParameters(node, node.typeParameters);\n    emitParameters(node, node.parameters);\n    emitTypeAnnotation(node.type);\n    writeTrailingSemicolon();\n    popNameGenerationScope(node);\n  }\n  function emitIndexSignature(node) {\n    emitModifiers(node, node.modifiers);\n    emitParametersForIndexSignature(node, node.parameters);\n    emitTypeAnnotation(node.type);\n    writeTrailingSemicolon();\n  }\n  function emitTemplateTypeSpan(node) {\n    emit(node.type);\n    emit(node.literal);\n  }\n  function emitSemicolonClassElement() {\n    writeTrailingSemicolon();\n  }\n  function emitTypePredicate(node) {\n    if (node.assertsModifier) {\n      emit(node.assertsModifier);\n      writeSpace();\n    }\n    emit(node.parameterName);\n    if (node.type) {\n      writeSpace();\n      writeKeyword(\"is\");\n      writeSpace();\n      emit(node.type);\n    }\n  }\n  function emitTypeReference(node) {\n    emit(node.typeName);\n    emitTypeArguments(node, node.typeArguments);\n  }\n  function emitFunctionType(node) {\n    pushNameGenerationScope(node);\n    emitTypeParameters(node, node.typeParameters);\n    emitParametersForArrow(node, node.parameters);\n    writeSpace();\n    writePunctuation(\"=>\");\n    writeSpace();\n    emit(node.type);\n    popNameGenerationScope(node);\n  }\n  function emitJSDocFunctionType(node) {\n    writeKeyword(\"function\");\n    emitParameters(node, node.parameters);\n    writePunctuation(\":\");\n    emit(node.type);\n  }\n  function emitJSDocNullableType(node) {\n    writePunctuation(\"?\");\n    emit(node.type);\n  }\n  function emitJSDocNonNullableType(node) {\n    writePunctuation(\"!\");\n    emit(node.type);\n  }\n  function emitJSDocOptionalType(node) {\n    emit(node.type);\n    writePunctuation(\"=\");\n  }\n  function emitConstructorType(node) {\n    pushNameGenerationScope(node);\n    emitModifiers(node, node.modifiers);\n    writeKeyword(\"new\");\n    writeSpace();\n    emitTypeParameters(node, node.typeParameters);\n    emitParameters(node, node.parameters);\n    writeSpace();\n    writePunctuation(\"=>\");\n    writeSpace();\n    emit(node.type);\n    popNameGenerationScope(node);\n  }\n  function emitTypeQuery(node) {\n    writeKeyword(\"typeof\");\n    writeSpace();\n    emit(node.exprName);\n    emitTypeArguments(node, node.typeArguments);\n  }\n  function emitTypeLiteral(node) {\n    writePunctuation(\"{\");\n    const flags = getEmitFlags(node) & 1 /* SingleLine */ ? 768 /* SingleLineTypeLiteralMembers */ : 32897 /* MultiLineTypeLiteralMembers */;\n    emitList(node, node.members, flags | 524288 /* NoSpaceIfEmpty */);\n    writePunctuation(\"}\");\n  }\n  function emitArrayType(node) {\n    emit(node.elementType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType);\n    writePunctuation(\"[\");\n    writePunctuation(\"]\");\n  }\n  function emitRestOrJSDocVariadicType(node) {\n    writePunctuation(\"...\");\n    emit(node.type);\n  }\n  function emitTupleType(node) {\n    emitTokenWithComment(22 /* OpenBracketToken */, node.pos, writePunctuation, node);\n    const flags = getEmitFlags(node) & 1 /* SingleLine */ ? 528 /* SingleLineTupleTypeElements */ : 657 /* MultiLineTupleTypeElements */;\n    emitList(node, node.elements, flags | 524288 /* NoSpaceIfEmpty */, parenthesizer.parenthesizeElementTypeOfTupleType);\n    emitTokenWithComment(23 /* CloseBracketToken */, node.elements.end, writePunctuation, node);\n  }\n  function emitNamedTupleMember(node) {\n    emit(node.dotDotDotToken);\n    emit(node.name);\n    emit(node.questionToken);\n    emitTokenWithComment(58 /* ColonToken */, node.name.end, writePunctuation, node);\n    writeSpace();\n    emit(node.type);\n  }\n  function emitOptionalType(node) {\n    emit(node.type, parenthesizer.parenthesizeTypeOfOptionalType);\n    writePunctuation(\"?\");\n  }\n  function emitUnionType(node) {\n    emitList(node, node.types, 516 /* UnionTypeConstituents */, parenthesizer.parenthesizeConstituentTypeOfUnionType);\n  }\n  function emitIntersectionType(node) {\n    emitList(node, node.types, 520 /* IntersectionTypeConstituents */, parenthesizer.parenthesizeConstituentTypeOfIntersectionType);\n  }\n  function emitConditionalType(node) {\n    emit(node.checkType, parenthesizer.parenthesizeCheckTypeOfConditionalType);\n    writeSpace();\n    writeKeyword(\"extends\");\n    writeSpace();\n    emit(node.extendsType, parenthesizer.parenthesizeExtendsTypeOfConditionalType);\n    writeSpace();\n    writePunctuation(\"?\");\n    writeSpace();\n    emit(node.trueType);\n    writeSpace();\n    writePunctuation(\":\");\n    writeSpace();\n    emit(node.falseType);\n  }\n  function emitInferType(node) {\n    writeKeyword(\"infer\");\n    writeSpace();\n    emit(node.typeParameter);\n  }\n  function emitParenthesizedType(node) {\n    writePunctuation(\"(\");\n    emit(node.type);\n    writePunctuation(\")\");\n  }\n  function emitThisType() {\n    writeKeyword(\"this\");\n  }\n  function emitTypeOperator(node) {\n    writeTokenText(node.operator, writeKeyword);\n    writeSpace();\n    const parenthesizerRule = node.operator === 147 /* ReadonlyKeyword */ ? parenthesizer.parenthesizeOperandOfReadonlyTypeOperator : parenthesizer.parenthesizeOperandOfTypeOperator;\n    emit(node.type, parenthesizerRule);\n  }\n  function emitIndexedAccessType(node) {\n    emit(node.objectType, parenthesizer.parenthesizeNonArrayTypeOfPostfixType);\n    writePunctuation(\"[\");\n    emit(node.indexType);\n    writePunctuation(\"]\");\n  }\n  function emitMappedType(node) {\n    const emitFlags = getEmitFlags(node);\n    writePunctuation(\"{\");\n    if (emitFlags & 1 /* SingleLine */) {\n      writeSpace();\n    } else {\n      writeLine();\n      increaseIndent();\n    }\n    if (node.readonlyToken) {\n      emit(node.readonlyToken);\n      if (node.readonlyToken.kind !== 147 /* ReadonlyKeyword */) {\n        writeKeyword(\"readonly\");\n      }\n      writeSpace();\n    }\n    writePunctuation(\"[\");\n    pipelineEmit(3 /* MappedTypeParameter */, node.typeParameter);\n    if (node.nameType) {\n      writeSpace();\n      writeKeyword(\"as\");\n      writeSpace();\n      emit(node.nameType);\n    }\n    writePunctuation(\"]\");\n    if (node.questionToken) {\n      emit(node.questionToken);\n      if (node.questionToken.kind !== 57 /* QuestionToken */) {\n        writePunctuation(\"?\");\n      }\n    }\n    writePunctuation(\":\");\n    writeSpace();\n    emit(node.type);\n    writeTrailingSemicolon();\n    if (emitFlags & 1 /* SingleLine */) {\n      writeSpace();\n    } else {\n      writeLine();\n      decreaseIndent();\n    }\n    emitList(node, node.members, 2 /* PreserveLines */);\n    writePunctuation(\"}\");\n  }\n  function emitLiteralType(node) {\n    emitExpression(node.literal);\n  }\n  function emitTemplateType(node) {\n    emit(node.head);\n    emitList(node, node.templateSpans, 262144 /* TemplateExpressionSpans */);\n  }\n  function emitImportTypeNode(node) {\n    if (node.isTypeOf) {\n      writeKeyword(\"typeof\");\n      writeSpace();\n    }\n    writeKeyword(\"import\");\n    writePunctuation(\"(\");\n    emit(node.argument);\n    if (node.assertions) {\n      writePunctuation(\",\");\n      writeSpace();\n      writePunctuation(\"{\");\n      writeSpace();\n      writeKeyword(\"assert\");\n      writePunctuation(\":\");\n      writeSpace();\n      const elements = node.assertions.assertClause.elements;\n      emitList(node.assertions.assertClause, elements, 526226 /* ImportClauseEntries */);\n      writeSpace();\n      writePunctuation(\"}\");\n    }\n    writePunctuation(\")\");\n    if (node.qualifier) {\n      writePunctuation(\".\");\n      emit(node.qualifier);\n    }\n    emitTypeArguments(node, node.typeArguments);\n  }\n  function emitObjectBindingPattern(node) {\n    writePunctuation(\"{\");\n    emitList(node, node.elements, 525136 /* ObjectBindingPatternElements */);\n    writePunctuation(\"}\");\n  }\n  function emitArrayBindingPattern(node) {\n    writePunctuation(\"[\");\n    emitList(node, node.elements, 524880 /* ArrayBindingPatternElements */);\n    writePunctuation(\"]\");\n  }\n  function emitBindingElement(node) {\n    emit(node.dotDotDotToken);\n    if (node.propertyName) {\n      emit(node.propertyName);\n      writePunctuation(\":\");\n      writeSpace();\n    }\n    emit(node.name);\n    emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitArrayLiteralExpression(node) {\n    const elements = node.elements;\n    const preferNewLine = node.multiLine ? 65536 /* PreferNewLine */ : 0 /* None */;\n    emitExpressionList(node, elements, 8914 /* ArrayLiteralExpressionElements */ | preferNewLine, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitObjectLiteralExpression(node) {\n    forEach(node.properties, generateMemberNames);\n    const indentedFlag = getEmitFlags(node) & 65536 /* Indented */;\n    if (indentedFlag) {\n      increaseIndent();\n    }\n    const preferNewLine = node.multiLine ? 65536 /* PreferNewLine */ : 0 /* None */;\n    const allowTrailingComma = currentSourceFile && currentSourceFile.languageVersion >= 1 /* ES5 */ && !isJsonSourceFile(currentSourceFile) ? 64 /* AllowTrailingComma */ : 0 /* None */;\n    emitList(node, node.properties, 526226 /* ObjectLiteralExpressionProperties */ | allowTrailingComma | preferNewLine);\n    if (indentedFlag) {\n      decreaseIndent();\n    }\n  }\n  function emitPropertyAccessExpression(node) {\n    emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n    const token = node.questionDotToken || setTextRangePosEnd(factory.createToken(24 /* DotToken */), node.expression.end, node.name.pos);\n    const linesBeforeDot = getLinesBetweenNodes(node, node.expression, token);\n    const linesAfterDot = getLinesBetweenNodes(node, token, node.name);\n    writeLinesAndIndent(linesBeforeDot, false);\n    const shouldEmitDotDot = token.kind !== 28 /* QuestionDotToken */ && mayNeedDotDotForPropertyAccess(node.expression) && !writer.hasTrailingComment() && !writer.hasTrailingWhitespace();\n    if (shouldEmitDotDot) {\n      writePunctuation(\".\");\n    }\n    if (node.questionDotToken) {\n      emit(token);\n    } else {\n      emitTokenWithComment(token.kind, node.expression.end, writePunctuation, node);\n    }\n    writeLinesAndIndent(linesAfterDot, false);\n    emit(node.name);\n    decreaseIndentIf(linesBeforeDot, linesAfterDot);\n  }\n  function mayNeedDotDotForPropertyAccess(expression) {\n    expression = skipPartiallyEmittedExpressions(expression);\n    if (isNumericLiteral(expression)) {\n      const text = getLiteralTextOfNode(expression, true, false);\n      return !expression.numericLiteralFlags && !stringContains(text, tokenToString(24 /* DotToken */));\n    } else if (isAccessExpression(expression)) {\n      const constantValue = getConstantValue(expression);\n      return typeof constantValue === \"number\" && isFinite(constantValue) && Math.floor(constantValue) === constantValue;\n    }\n  }\n  function emitElementAccessExpression(node) {\n    emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n    emit(node.questionDotToken);\n    emitTokenWithComment(22 /* OpenBracketToken */, node.expression.end, writePunctuation, node);\n    emitExpression(node.argumentExpression);\n    emitTokenWithComment(23 /* CloseBracketToken */, node.argumentExpression.end, writePunctuation, node);\n  }\n  function emitCallExpression(node) {\n    const indirectCall = getEmitFlags(node) & 536870912 /* IndirectCall */;\n    if (indirectCall) {\n      writePunctuation(\"(\");\n      writeLiteral(\"0\");\n      writePunctuation(\",\");\n      writeSpace();\n    }\n    emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n    if (indirectCall) {\n      writePunctuation(\")\");\n    }\n    emit(node.questionDotToken);\n    emitTypeArguments(node, node.typeArguments);\n    emitExpressionList(node, node.arguments, 2576 /* CallExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitNewExpression(node) {\n    emitTokenWithComment(104 /* NewKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfNew);\n    emitTypeArguments(node, node.typeArguments);\n    emitExpressionList(node, node.arguments, 18960 /* NewExpressionArguments */, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitTaggedTemplateExpression(node) {\n    const indirectCall = getEmitFlags(node) & 536870912 /* IndirectCall */;\n    if (indirectCall) {\n      writePunctuation(\"(\");\n      writeLiteral(\"0\");\n      writePunctuation(\",\");\n      writeSpace();\n    }\n    emitExpression(node.tag, parenthesizer.parenthesizeLeftSideOfAccess);\n    if (indirectCall) {\n      writePunctuation(\")\");\n    }\n    emitTypeArguments(node, node.typeArguments);\n    writeSpace();\n    emitExpression(node.template);\n  }\n  function emitTypeAssertionExpression(node) {\n    writePunctuation(\"<\");\n    emit(node.type);\n    writePunctuation(\">\");\n    emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n  }\n  function emitParenthesizedExpression(node) {\n    const openParenPos = emitTokenWithComment(20 /* OpenParenToken */, node.pos, writePunctuation, node);\n    const indented = writeLineSeparatorsAndIndentBefore(node.expression, node);\n    emitExpression(node.expression, void 0);\n    writeLineSeparatorsAfter(node.expression, node);\n    decreaseIndentIf(indented);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression ? node.expression.end : openParenPos, writePunctuation, node);\n  }\n  function emitFunctionExpression(node) {\n    generateNameIfNeeded(node.name);\n    emitFunctionDeclarationOrExpression(node);\n  }\n  function emitArrowFunction(node) {\n    emitModifiers(node, node.modifiers);\n    emitSignatureAndBody(node, emitArrowFunctionHead);\n  }\n  function emitArrowFunctionHead(node) {\n    emitTypeParameters(node, node.typeParameters);\n    emitParametersForArrow(node, node.parameters);\n    emitTypeAnnotation(node.type);\n    writeSpace();\n    emit(node.equalsGreaterThanToken);\n  }\n  function emitDeleteExpression(node) {\n    emitTokenWithComment(90 /* DeleteKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n  }\n  function emitTypeOfExpression(node) {\n    emitTokenWithComment(113 /* TypeOfKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n  }\n  function emitVoidExpression(node) {\n    emitTokenWithComment(115 /* VoidKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n  }\n  function emitAwaitExpression(node) {\n    emitTokenWithComment(134 /* AwaitKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression, parenthesizer.parenthesizeOperandOfPrefixUnary);\n  }\n  function emitPrefixUnaryExpression(node) {\n    writeTokenText(node.operator, writeOperator);\n    if (shouldEmitWhitespaceBeforeOperand(node)) {\n      writeSpace();\n    }\n    emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPrefixUnary);\n  }\n  function shouldEmitWhitespaceBeforeOperand(node) {\n    const operand = node.operand;\n    return operand.kind === 225 /* PrefixUnaryExpression */ && (node.operator === 39 /* PlusToken */ && (operand.operator === 39 /* PlusToken */ || operand.operator === 45 /* PlusPlusToken */) || node.operator === 40 /* MinusToken */ && (operand.operator === 40 /* MinusToken */ || operand.operator === 46 /* MinusMinusToken */));\n  }\n  function emitPostfixUnaryExpression(node) {\n    emitExpression(node.operand, parenthesizer.parenthesizeOperandOfPostfixUnary);\n    writeTokenText(node.operator, writeOperator);\n  }\n  function createEmitBinaryExpression() {\n    return createBinaryExpressionTrampoline(onEnter, onLeft, onOperator, onRight, onExit, void 0);\n    function onEnter(node, state) {\n      if (state) {\n        state.stackIndex++;\n        state.preserveSourceNewlinesStack[state.stackIndex] = preserveSourceNewlines;\n        state.containerPosStack[state.stackIndex] = containerPos;\n        state.containerEndStack[state.stackIndex] = containerEnd;\n        state.declarationListContainerEndStack[state.stackIndex] = declarationListContainerEnd;\n        const emitComments2 = state.shouldEmitCommentsStack[state.stackIndex] = shouldEmitComments(node);\n        const emitSourceMaps = state.shouldEmitSourceMapsStack[state.stackIndex] = shouldEmitSourceMaps(node);\n        onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(node);\n        if (emitComments2)\n          emitCommentsBeforeNode(node);\n        if (emitSourceMaps)\n          emitSourceMapsBeforeNode(node);\n        beforeEmitNode(node);\n      } else {\n        state = {\n          stackIndex: 0,\n          preserveSourceNewlinesStack: [void 0],\n          containerPosStack: [-1],\n          containerEndStack: [-1],\n          declarationListContainerEndStack: [-1],\n          shouldEmitCommentsStack: [false],\n          shouldEmitSourceMapsStack: [false]\n        };\n      }\n      return state;\n    }\n    function onLeft(next, _workArea, parent2) {\n      return maybeEmitExpression(next, parent2, \"left\");\n    }\n    function onOperator(operatorToken, _state, node) {\n      const isCommaOperator = operatorToken.kind !== 27 /* CommaToken */;\n      const linesBeforeOperator = getLinesBetweenNodes(node, node.left, operatorToken);\n      const linesAfterOperator = getLinesBetweenNodes(node, operatorToken, node.right);\n      writeLinesAndIndent(linesBeforeOperator, isCommaOperator);\n      emitLeadingCommentsOfPosition(operatorToken.pos);\n      writeTokenNode(operatorToken, operatorToken.kind === 102 /* InKeyword */ ? writeKeyword : writeOperator);\n      emitTrailingCommentsOfPosition(operatorToken.end, true);\n      writeLinesAndIndent(linesAfterOperator, true);\n    }\n    function onRight(next, _workArea, parent2) {\n      return maybeEmitExpression(next, parent2, \"right\");\n    }\n    function onExit(node, state) {\n      const linesBeforeOperator = getLinesBetweenNodes(node, node.left, node.operatorToken);\n      const linesAfterOperator = getLinesBetweenNodes(node, node.operatorToken, node.right);\n      decreaseIndentIf(linesBeforeOperator, linesAfterOperator);\n      if (state.stackIndex > 0) {\n        const savedPreserveSourceNewlines = state.preserveSourceNewlinesStack[state.stackIndex];\n        const savedContainerPos = state.containerPosStack[state.stackIndex];\n        const savedContainerEnd = state.containerEndStack[state.stackIndex];\n        const savedDeclarationListContainerEnd = state.declarationListContainerEndStack[state.stackIndex];\n        const shouldEmitComments2 = state.shouldEmitCommentsStack[state.stackIndex];\n        const shouldEmitSourceMaps2 = state.shouldEmitSourceMapsStack[state.stackIndex];\n        afterEmitNode(savedPreserveSourceNewlines);\n        if (shouldEmitSourceMaps2)\n          emitSourceMapsAfterNode(node);\n        if (shouldEmitComments2)\n          emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n        onAfterEmitNode == null ? void 0 : onAfterEmitNode(node);\n        state.stackIndex--;\n      }\n    }\n    function maybeEmitExpression(next, parent2, side) {\n      const parenthesizerRule = side === \"left\" ? parenthesizer.getParenthesizeLeftSideOfBinaryForOperator(parent2.operatorToken.kind) : parenthesizer.getParenthesizeRightSideOfBinaryForOperator(parent2.operatorToken.kind);\n      let pipelinePhase = getPipelinePhase(0 /* Notification */, 1 /* Expression */, next);\n      if (pipelinePhase === pipelineEmitWithSubstitution) {\n        Debug.assertIsDefined(lastSubstitution);\n        next = parenthesizerRule(cast(lastSubstitution, isExpression));\n        pipelinePhase = getNextPipelinePhase(1 /* Substitution */, 1 /* Expression */, next);\n        lastSubstitution = void 0;\n      }\n      if (pipelinePhase === pipelineEmitWithComments || pipelinePhase === pipelineEmitWithSourceMaps || pipelinePhase === pipelineEmitWithHint) {\n        if (isBinaryExpression(next)) {\n          return next;\n        }\n      }\n      currentParenthesizerRule = parenthesizerRule;\n      pipelinePhase(1 /* Expression */, next);\n    }\n  }\n  function emitConditionalExpression(node) {\n    const linesBeforeQuestion = getLinesBetweenNodes(node, node.condition, node.questionToken);\n    const linesAfterQuestion = getLinesBetweenNodes(node, node.questionToken, node.whenTrue);\n    const linesBeforeColon = getLinesBetweenNodes(node, node.whenTrue, node.colonToken);\n    const linesAfterColon = getLinesBetweenNodes(node, node.colonToken, node.whenFalse);\n    emitExpression(node.condition, parenthesizer.parenthesizeConditionOfConditionalExpression);\n    writeLinesAndIndent(linesBeforeQuestion, true);\n    emit(node.questionToken);\n    writeLinesAndIndent(linesAfterQuestion, true);\n    emitExpression(node.whenTrue, parenthesizer.parenthesizeBranchOfConditionalExpression);\n    decreaseIndentIf(linesBeforeQuestion, linesAfterQuestion);\n    writeLinesAndIndent(linesBeforeColon, true);\n    emit(node.colonToken);\n    writeLinesAndIndent(linesAfterColon, true);\n    emitExpression(node.whenFalse, parenthesizer.parenthesizeBranchOfConditionalExpression);\n    decreaseIndentIf(linesBeforeColon, linesAfterColon);\n  }\n  function emitTemplateExpression(node) {\n    emit(node.head);\n    emitList(node, node.templateSpans, 262144 /* TemplateExpressionSpans */);\n  }\n  function emitYieldExpression(node) {\n    emitTokenWithComment(126 /* YieldKeyword */, node.pos, writeKeyword, node);\n    emit(node.asteriskToken);\n    emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsiAndDisallowedComma);\n  }\n  function emitSpreadElement(node) {\n    emitTokenWithComment(25 /* DotDotDotToken */, node.pos, writePunctuation, node);\n    emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitClassExpression(node) {\n    generateNameIfNeeded(node.name);\n    emitClassOrStructDeclarationOrExpression(node);\n  }\n  function emitExpressionWithTypeArguments(node) {\n    emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n    emitTypeArguments(node, node.typeArguments);\n  }\n  function emitAsExpression(node) {\n    emitExpression(node.expression, void 0);\n    if (node.type) {\n      writeSpace();\n      writeKeyword(\"as\");\n      writeSpace();\n      emit(node.type);\n    }\n  }\n  function emitNonNullExpression(node) {\n    emitExpression(node.expression, parenthesizer.parenthesizeLeftSideOfAccess);\n    writeOperator(\"!\");\n  }\n  function emitSatisfiesExpression(node) {\n    emitExpression(node.expression, void 0);\n    if (node.type) {\n      writeSpace();\n      writeKeyword(\"satisfies\");\n      writeSpace();\n      emit(node.type);\n    }\n  }\n  function emitMetaProperty(node) {\n    writeToken(node.keywordToken, node.pos, writePunctuation);\n    writePunctuation(\".\");\n    emit(node.name);\n  }\n  function emitTemplateSpan(node) {\n    emitExpression(node.expression);\n    emit(node.literal);\n  }\n  function emitBlock(node) {\n    emitBlockStatements(node, !node.multiLine && isEmptyBlock(node));\n  }\n  function emitBlockStatements(node, forceSingleLine) {\n    emitTokenWithComment(18 /* OpenBraceToken */, node.pos, writePunctuation, node);\n    const format = forceSingleLine || getEmitFlags(node) & 1 /* SingleLine */ ? 768 /* SingleLineBlockStatements */ : 129 /* MultiLineBlockStatements */;\n    emitList(node, node.statements, format);\n    emitTokenWithComment(19 /* CloseBraceToken */, node.statements.end, writePunctuation, node, !!(format & 1 /* MultiLine */));\n  }\n  function emitVariableStatement(node) {\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    emit(node.declarationList);\n    writeTrailingSemicolon();\n  }\n  function emitEmptyStatement(isEmbeddedStatement) {\n    if (isEmbeddedStatement) {\n      writePunctuation(\";\");\n    } else {\n      writeTrailingSemicolon();\n    }\n  }\n  function emitExpressionStatement(node) {\n    emitExpression(node.expression, parenthesizer.parenthesizeExpressionOfExpressionStatement);\n    if (!currentSourceFile || !isJsonSourceFile(currentSourceFile) || nodeIsSynthesized(node.expression)) {\n      writeTrailingSemicolon();\n    }\n  }\n  function emitIfStatement(node) {\n    const openParenPos = emitTokenWithComment(100 /* IfKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitExpression(node.expression);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression.end, writePunctuation, node);\n    emitEmbeddedStatement(node, node.thenStatement);\n    if (node.elseStatement) {\n      writeLineOrSpace(node, node.thenStatement, node.elseStatement);\n      emitTokenWithComment(92 /* ElseKeyword */, node.thenStatement.end, writeKeyword, node);\n      if (node.elseStatement.kind === 246 /* IfStatement */) {\n        writeSpace();\n        emit(node.elseStatement);\n      } else {\n        emitEmbeddedStatement(node, node.elseStatement);\n      }\n    }\n  }\n  function emitWhileClause(node, startPos) {\n    const openParenPos = emitTokenWithComment(116 /* WhileKeyword */, startPos, writeKeyword, node);\n    writeSpace();\n    emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitExpression(node.expression);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression.end, writePunctuation, node);\n  }\n  function emitDoStatement(node) {\n    emitTokenWithComment(91 /* DoKeyword */, node.pos, writeKeyword, node);\n    emitEmbeddedStatement(node, node.statement);\n    if (isBlock(node.statement) && !preserveSourceNewlines) {\n      writeSpace();\n    } else {\n      writeLineOrSpace(node, node.statement, node.expression);\n    }\n    emitWhileClause(node, node.statement.end);\n    writeTrailingSemicolon();\n  }\n  function emitWhileStatement(node) {\n    emitWhileClause(node, node.pos);\n    emitEmbeddedStatement(node, node.statement);\n  }\n  function emitForStatement(node) {\n    const openParenPos = emitTokenWithComment(98 /* ForKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    let pos = emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitForBinding(node.initializer);\n    pos = emitTokenWithComment(26 /* SemicolonToken */, node.initializer ? node.initializer.end : pos, writePunctuation, node);\n    emitExpressionWithLeadingSpace(node.condition);\n    pos = emitTokenWithComment(26 /* SemicolonToken */, node.condition ? node.condition.end : pos, writePunctuation, node);\n    emitExpressionWithLeadingSpace(node.incrementor);\n    emitTokenWithComment(21 /* CloseParenToken */, node.incrementor ? node.incrementor.end : pos, writePunctuation, node);\n    emitEmbeddedStatement(node, node.statement);\n  }\n  function emitForInStatement(node) {\n    const openParenPos = emitTokenWithComment(98 /* ForKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitForBinding(node.initializer);\n    writeSpace();\n    emitTokenWithComment(102 /* InKeyword */, node.initializer.end, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression.end, writePunctuation, node);\n    emitEmbeddedStatement(node, node.statement);\n  }\n  function emitForOfStatement(node) {\n    const openParenPos = emitTokenWithComment(98 /* ForKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitWithTrailingSpace(node.awaitModifier);\n    emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitForBinding(node.initializer);\n    writeSpace();\n    emitTokenWithComment(164 /* OfKeyword */, node.initializer.end, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression.end, writePunctuation, node);\n    emitEmbeddedStatement(node, node.statement);\n  }\n  function emitForBinding(node) {\n    if (node !== void 0) {\n      if (node.kind === 262 /* VariableDeclarationList */) {\n        emit(node);\n      } else {\n        emitExpression(node);\n      }\n    }\n  }\n  function emitContinueStatement(node) {\n    emitTokenWithComment(87 /* ContinueKeyword */, node.pos, writeKeyword, node);\n    emitWithLeadingSpace(node.label);\n    writeTrailingSemicolon();\n  }\n  function emitBreakStatement(node) {\n    emitTokenWithComment(81 /* BreakKeyword */, node.pos, writeKeyword, node);\n    emitWithLeadingSpace(node.label);\n    writeTrailingSemicolon();\n  }\n  function emitTokenWithComment(token, pos, writer2, contextNode, indentLeading) {\n    const node = getParseTreeNode(contextNode);\n    const isSimilarNode = node && node.kind === contextNode.kind;\n    const startPos = pos;\n    if (isSimilarNode && currentSourceFile) {\n      pos = skipTrivia(currentSourceFile.text, pos);\n    }\n    if (isSimilarNode && contextNode.pos !== startPos) {\n      const needsIndent = indentLeading && currentSourceFile && !positionsAreOnSameLine(startPos, pos, currentSourceFile);\n      if (needsIndent) {\n        increaseIndent();\n      }\n      emitLeadingCommentsOfPosition(startPos);\n      if (needsIndent) {\n        decreaseIndent();\n      }\n    }\n    pos = writeTokenText(token, writer2, pos);\n    if (isSimilarNode && contextNode.end !== pos) {\n      const isJsxExprContext = contextNode.kind === 297 /* JsxExpression */;\n      emitTrailingCommentsOfPosition(pos, !isJsxExprContext, isJsxExprContext);\n    }\n    return pos;\n  }\n  function commentWillEmitNewLine(node) {\n    return node.kind === 2 /* SingleLineCommentTrivia */ || !!node.hasTrailingNewLine;\n  }\n  function willEmitLeadingNewLine(node) {\n    if (!currentSourceFile)\n      return false;\n    if (some(getLeadingCommentRanges(currentSourceFile.text, node.pos), commentWillEmitNewLine))\n      return true;\n    if (some(getSyntheticLeadingComments(node), commentWillEmitNewLine))\n      return true;\n    if (isPartiallyEmittedExpression(node)) {\n      if (node.pos !== node.expression.pos) {\n        if (some(getTrailingCommentRanges(currentSourceFile.text, node.expression.pos), commentWillEmitNewLine))\n          return true;\n      }\n      return willEmitLeadingNewLine(node.expression);\n    }\n    return false;\n  }\n  function parenthesizeExpressionForNoAsi(node) {\n    if (!commentsDisabled && isPartiallyEmittedExpression(node) && willEmitLeadingNewLine(node)) {\n      const parseNode = getParseTreeNode(node);\n      if (parseNode && isParenthesizedExpression(parseNode)) {\n        const parens = factory.createParenthesizedExpression(node.expression);\n        setOriginalNode(parens, node);\n        setTextRange(parens, parseNode);\n        return parens;\n      }\n      return factory.createParenthesizedExpression(node);\n    }\n    return node;\n  }\n  function parenthesizeExpressionForNoAsiAndDisallowedComma(node) {\n    return parenthesizeExpressionForNoAsi(parenthesizer.parenthesizeExpressionForDisallowedComma(node));\n  }\n  function emitReturnStatement(node) {\n    emitTokenWithComment(106 /* ReturnKeyword */, node.pos, writeKeyword, node);\n    emitExpressionWithLeadingSpace(node.expression && parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi);\n    writeTrailingSemicolon();\n  }\n  function emitWithStatement(node) {\n    const openParenPos = emitTokenWithComment(117 /* WithKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitExpression(node.expression);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression.end, writePunctuation, node);\n    emitEmbeddedStatement(node, node.statement);\n  }\n  function emitSwitchStatement(node) {\n    const openParenPos = emitTokenWithComment(108 /* SwitchKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n    emitExpression(node.expression);\n    emitTokenWithComment(21 /* CloseParenToken */, node.expression.end, writePunctuation, node);\n    writeSpace();\n    emit(node.caseBlock);\n  }\n  function emitLabeledStatement(node) {\n    emit(node.label);\n    emitTokenWithComment(58 /* ColonToken */, node.label.end, writePunctuation, node);\n    writeSpace();\n    emit(node.statement);\n  }\n  function emitThrowStatement(node) {\n    emitTokenWithComment(110 /* ThrowKeyword */, node.pos, writeKeyword, node);\n    emitExpressionWithLeadingSpace(parenthesizeExpressionForNoAsi(node.expression), parenthesizeExpressionForNoAsi);\n    writeTrailingSemicolon();\n  }\n  function emitTryStatement(node) {\n    emitTokenWithComment(112 /* TryKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emit(node.tryBlock);\n    if (node.catchClause) {\n      writeLineOrSpace(node, node.tryBlock, node.catchClause);\n      emit(node.catchClause);\n    }\n    if (node.finallyBlock) {\n      writeLineOrSpace(node, node.catchClause || node.tryBlock, node.finallyBlock);\n      emitTokenWithComment(97 /* FinallyKeyword */, (node.catchClause || node.tryBlock).end, writeKeyword, node);\n      writeSpace();\n      emit(node.finallyBlock);\n    }\n  }\n  function emitDebuggerStatement(node) {\n    writeToken(88 /* DebuggerKeyword */, node.pos, writeKeyword);\n    writeTrailingSemicolon();\n  }\n  function emitVariableDeclaration(node) {\n    var _a2, _b, _c, _d, _e;\n    emit(node.name);\n    emit(node.exclamationToken);\n    emitTypeAnnotation(node.type);\n    emitInitializer(node.initializer, (_e = (_d = (_a2 = node.type) == null ? void 0 : _a2.end) != null ? _d : (_c = (_b = node.name.emitNode) == null ? void 0 : _b.typeNode) == null ? void 0 : _c.end) != null ? _e : node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitVariableDeclarationList(node) {\n    writeKeyword(isLet(node) ? \"let\" : isVarConst(node) ? \"const\" : \"var\");\n    writeSpace();\n    emitList(node, node.declarations, 528 /* VariableDeclarationList */);\n  }\n  function emitFunctionDeclaration(node) {\n    emitFunctionDeclarationOrExpression(node);\n  }\n  function emitFunctionDeclarationOrExpression(node) {\n    if (isFunctionDeclaration(node) && (isInEtsFile(node) || isInEtsFileWithOriginal(node))) {\n      emitDecorators(node, node.illegalDecorators);\n    }\n    emitModifiers(node, factory.createNodeArray(getModifiers(node)));\n    writeKeyword(\"function\");\n    emit(node.asteriskToken);\n    writeSpace();\n    emitIdentifierName(node.name);\n    emitSignatureAndBody(node, emitSignatureHead);\n  }\n  function emitSignatureAndBody(node, emitSignatureHead2) {\n    const body = node.body;\n    if (body) {\n      if (isBlock(body)) {\n        const indentedFlag = getEmitFlags(node) & 65536 /* Indented */;\n        if (indentedFlag) {\n          increaseIndent();\n        }\n        pushNameGenerationScope(node);\n        forEach(node.parameters, generateNames);\n        generateNames(node.body);\n        emitSignatureHead2(node);\n        emitBlockFunctionBody(body);\n        popNameGenerationScope(node);\n        if (indentedFlag) {\n          decreaseIndent();\n        }\n      } else {\n        emitSignatureHead2(node);\n        writeSpace();\n        emitExpression(body, parenthesizer.parenthesizeConciseBodyOfArrowFunction);\n      }\n    } else {\n      emitSignatureHead2(node);\n      writeTrailingSemicolon();\n    }\n  }\n  function emitSignatureHead(node) {\n    emitTypeParameters(node, node.typeParameters);\n    emitParameters(node, node.parameters);\n    emitTypeAnnotation(node.type);\n  }\n  function shouldEmitBlockFunctionBodyOnSingleLine(body) {\n    if (getEmitFlags(body) & 1 /* SingleLine */) {\n      return true;\n    }\n    if (body.multiLine) {\n      return false;\n    }\n    if (!nodeIsSynthesized(body) && currentSourceFile && !rangeIsOnSingleLine(body, currentSourceFile)) {\n      return false;\n    }\n    if (getLeadingLineTerminatorCount(body, firstOrUndefined(body.statements), 2 /* PreserveLines */) || getClosingLineTerminatorCount(body, lastOrUndefined(body.statements), 2 /* PreserveLines */, body.statements)) {\n      return false;\n    }\n    let previousStatement;\n    for (const statement of body.statements) {\n      if (getSeparatingLineTerminatorCount(previousStatement, statement, 2 /* PreserveLines */) > 0) {\n        return false;\n      }\n      previousStatement = statement;\n    }\n    return true;\n  }\n  function emitBlockFunctionBody(body) {\n    onBeforeEmitNode == null ? void 0 : onBeforeEmitNode(body);\n    writeSpace();\n    writePunctuation(\"{\");\n    increaseIndent();\n    const emitBlockFunctionBody2 = shouldEmitBlockFunctionBodyOnSingleLine(body) ? emitBlockFunctionBodyOnSingleLine : emitBlockFunctionBodyWorker;\n    emitBodyWithDetachedComments(body, body.statements, emitBlockFunctionBody2);\n    decreaseIndent();\n    writeToken(19 /* CloseBraceToken */, body.statements.end, writePunctuation, body);\n    onAfterEmitNode == null ? void 0 : onAfterEmitNode(body);\n  }\n  function emitBlockFunctionBodyOnSingleLine(body) {\n    emitBlockFunctionBodyWorker(body, true);\n  }\n  function emitBlockFunctionBodyWorker(body, emitBlockFunctionBodyOnSingleLine2) {\n    const statementOffset = emitPrologueDirectives(body.statements);\n    const pos = writer.getTextPos();\n    emitHelpers(body);\n    if (statementOffset === 0 && pos === writer.getTextPos() && emitBlockFunctionBodyOnSingleLine2) {\n      decreaseIndent();\n      emitList(body, body.statements, 768 /* SingleLineFunctionBodyStatements */);\n      increaseIndent();\n    } else {\n      emitList(body, body.statements, 1 /* MultiLineFunctionBodyStatements */, void 0, statementOffset);\n    }\n  }\n  function emitClassOrStructDeclaration(node) {\n    emitClassOrStructDeclarationOrExpression(node);\n  }\n  function emitClassOrStructDeclarationOrExpression(node) {\n    forEach(node.members, generateMemberNames);\n    emitDecoratorsAndModifiers(node, node.modifiers);\n    if (isStructDeclaration(node)) {\n      writeKeyword(\"struct\");\n    } else {\n      writeKeyword(\"class\");\n    }\n    if (node.name) {\n      writeSpace();\n      emitIdentifierName(node.name);\n    }\n    const indentedFlag = getEmitFlags(node) & 65536 /* Indented */;\n    if (indentedFlag) {\n      increaseIndent();\n    }\n    emitTypeParameters(node, node.typeParameters);\n    emitList(node, node.heritageClauses, 0 /* ClassHeritageClauses */);\n    writeSpace();\n    writePunctuation(\"{\");\n    emitList(node, node.members, 129 /* ClassMembers */);\n    writePunctuation(\"}\");\n    if (indentedFlag) {\n      decreaseIndent();\n    }\n  }\n  function emitInterfaceDeclaration(node) {\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    writeKeyword(\"interface\");\n    writeSpace();\n    emit(node.name);\n    emitTypeParameters(node, node.typeParameters);\n    emitList(node, node.heritageClauses, 512 /* HeritageClauses */);\n    writeSpace();\n    writePunctuation(\"{\");\n    emitList(node, node.members, 129 /* InterfaceMembers */);\n    writePunctuation(\"}\");\n  }\n  function emitAnnotationDeclaration(node) {\n    emitDecoratorsAndModifiers(node, node.modifiers);\n    writeKeyword(\"@interface\");\n    if (node.name) {\n      writeSpace();\n      emitIdentifierName(node.name);\n    }\n    const indentedFlag = getEmitFlags(node) & 65536 /* Indented */;\n    if (indentedFlag) {\n      increaseIndent();\n    }\n    writeSpace();\n    writePunctuation(\"{\");\n    emitList(node, node.members, 129 /* ClassMembers */);\n    writePunctuation(\"}\");\n    if (indentedFlag) {\n      decreaseIndent();\n    }\n  }\n  function emitTypeAliasDeclaration(node) {\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    writeKeyword(\"type\");\n    writeSpace();\n    emit(node.name);\n    emitTypeParameters(node, node.typeParameters);\n    writeSpace();\n    writePunctuation(\"=\");\n    writeSpace();\n    emit(node.type);\n    writeTrailingSemicolon();\n  }\n  function emitEnumDeclaration(node) {\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    writeKeyword(\"enum\");\n    writeSpace();\n    emit(node.name);\n    writeSpace();\n    writePunctuation(\"{\");\n    emitList(node, node.members, 145 /* EnumMembers */);\n    writePunctuation(\"}\");\n  }\n  function emitModuleDeclaration(node) {\n    emitDecorators(node, node.illegalDecorators);\n    emitModifiers(node, node.modifiers);\n    if (~node.flags & 1024 /* GlobalAugmentation */) {\n      writeKeyword(node.flags & 16 /* Namespace */ ? \"namespace\" : \"module\");\n      writeSpace();\n    }\n    emit(node.name);\n    let body = node.body;\n    if (!body)\n      return writeTrailingSemicolon();\n    while (body && isModuleDeclaration(body)) {\n      writePunctuation(\".\");\n      emit(body.name);\n      body = body.body;\n    }\n    writeSpace();\n    emit(body);\n  }\n  function emitModuleBlock(node) {\n    pushNameGenerationScope(node);\n    forEach(node.statements, generateNames);\n    emitBlockStatements(node, isEmptyBlock(node));\n    popNameGenerationScope(node);\n  }\n  function emitCaseBlock(node) {\n    emitTokenWithComment(18 /* OpenBraceToken */, node.pos, writePunctuation, node);\n    emitList(node, node.clauses, 129 /* CaseBlockClauses */);\n    emitTokenWithComment(19 /* CloseBraceToken */, node.clauses.end, writePunctuation, node, true);\n  }\n  function emitImportEqualsDeclaration(node) {\n    emitModifiers(node, node.modifiers);\n    emitTokenWithComment(101 /* ImportKeyword */, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node);\n    writeSpace();\n    if (node.isTypeOnly) {\n      emitTokenWithComment(155 /* TypeKeyword */, node.pos, writeKeyword, node);\n      writeSpace();\n    }\n    emit(node.name);\n    writeSpace();\n    emitTokenWithComment(63 /* EqualsToken */, node.name.end, writePunctuation, node);\n    writeSpace();\n    emitModuleReference(node.moduleReference);\n    writeTrailingSemicolon();\n  }\n  function emitModuleReference(node) {\n    if (node.kind === 79 /* Identifier */) {\n      emitExpression(node);\n    } else {\n      emit(node);\n    }\n  }\n  function emitImportDeclaration(node) {\n    emitModifiers(node, node.modifiers);\n    emitTokenWithComment(101 /* ImportKeyword */, node.modifiers ? node.modifiers.end : node.pos, writeKeyword, node);\n    writeSpace();\n    if (node.importClause) {\n      emit(node.importClause);\n      writeSpace();\n      emitTokenWithComment(160 /* FromKeyword */, node.importClause.end, writeKeyword, node);\n      writeSpace();\n    }\n    emitExpression(node.moduleSpecifier);\n    if (node.assertClause) {\n      emitWithLeadingSpace(node.assertClause);\n    }\n    writeTrailingSemicolon();\n  }\n  function emitImportClause(node) {\n    if (node.isTypeOnly) {\n      emitTokenWithComment(155 /* TypeKeyword */, node.pos, writeKeyword, node);\n      writeSpace();\n    } else if (node.isLazy) {\n      emitTokenWithComment(156 /* LazyKeyword */, node.pos, writeKeyword, node);\n      writeSpace();\n    }\n    emit(node.name);\n    if (node.name && node.namedBindings) {\n      emitTokenWithComment(27 /* CommaToken */, node.name.end, writePunctuation, node);\n      writeSpace();\n    }\n    emit(node.namedBindings);\n  }\n  function emitNamespaceImport(node) {\n    const asPos = emitTokenWithComment(41 /* AsteriskToken */, node.pos, writePunctuation, node);\n    writeSpace();\n    emitTokenWithComment(129 /* AsKeyword */, asPos, writeKeyword, node);\n    writeSpace();\n    emit(node.name);\n  }\n  function emitNamedImports(node) {\n    emitNamedImportsOrExports(node);\n  }\n  function emitImportSpecifier(node) {\n    emitImportOrExportSpecifier(node);\n  }\n  function emitExportAssignment(node) {\n    const nextPos = emitTokenWithComment(94 /* ExportKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    if (node.isExportEquals) {\n      emitTokenWithComment(63 /* EqualsToken */, nextPos, writeOperator, node);\n    } else {\n      emitTokenWithComment(89 /* DefaultKeyword */, nextPos, writeKeyword, node);\n    }\n    writeSpace();\n    emitExpression(node.expression, node.isExportEquals ? parenthesizer.getParenthesizeRightSideOfBinaryForOperator(63 /* EqualsToken */) : parenthesizer.parenthesizeExpressionOfExportDefault);\n    writeTrailingSemicolon();\n  }\n  function emitExportDeclaration(node) {\n    emitModifiers(node, node.modifiers);\n    let nextPos = emitTokenWithComment(94 /* ExportKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    if (node.isTypeOnly) {\n      nextPos = emitTokenWithComment(155 /* TypeKeyword */, nextPos, writeKeyword, node);\n      writeSpace();\n    }\n    if (node.exportClause) {\n      emit(node.exportClause);\n    } else {\n      nextPos = emitTokenWithComment(41 /* AsteriskToken */, nextPos, writePunctuation, node);\n    }\n    if (node.moduleSpecifier) {\n      writeSpace();\n      const fromPos = node.exportClause ? node.exportClause.end : nextPos;\n      emitTokenWithComment(160 /* FromKeyword */, fromPos, writeKeyword, node);\n      writeSpace();\n      emitExpression(node.moduleSpecifier);\n    }\n    if (node.assertClause) {\n      emitWithLeadingSpace(node.assertClause);\n    }\n    writeTrailingSemicolon();\n  }\n  function emitAssertClause(node) {\n    emitTokenWithComment(131 /* AssertKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    const elements = node.elements;\n    emitList(node, elements, 526226 /* ImportClauseEntries */);\n  }\n  function emitAssertEntry(node) {\n    emit(node.name);\n    writePunctuation(\":\");\n    writeSpace();\n    const value = node.value;\n    if ((getEmitFlags(value) & 512 /* NoLeadingComments */) === 0) {\n      const commentRange = getCommentRange(value);\n      emitTrailingCommentsOfPosition(commentRange.pos);\n    }\n    emit(value);\n  }\n  function emitNamespaceExportDeclaration(node) {\n    let nextPos = emitTokenWithComment(94 /* ExportKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    nextPos = emitTokenWithComment(129 /* AsKeyword */, nextPos, writeKeyword, node);\n    writeSpace();\n    nextPos = emitTokenWithComment(144 /* NamespaceKeyword */, nextPos, writeKeyword, node);\n    writeSpace();\n    emit(node.name);\n    writeTrailingSemicolon();\n  }\n  function emitNamespaceExport(node) {\n    const asPos = emitTokenWithComment(41 /* AsteriskToken */, node.pos, writePunctuation, node);\n    writeSpace();\n    emitTokenWithComment(129 /* AsKeyword */, asPos, writeKeyword, node);\n    writeSpace();\n    emit(node.name);\n  }\n  function emitNamedExports(node) {\n    emitNamedImportsOrExports(node);\n  }\n  function emitExportSpecifier(node) {\n    emitImportOrExportSpecifier(node);\n  }\n  function emitNamedImportsOrExports(node) {\n    writePunctuation(\"{\");\n    emitList(node, node.elements, 525136 /* NamedImportsOrExportsElements */);\n    writePunctuation(\"}\");\n  }\n  function emitImportOrExportSpecifier(node) {\n    if (node.isTypeOnly) {\n      writeKeyword(\"type\");\n      writeSpace();\n    }\n    if (node.propertyName) {\n      emit(node.propertyName);\n      writeSpace();\n      emitTokenWithComment(129 /* AsKeyword */, node.propertyName.end, writeKeyword, node);\n      writeSpace();\n    }\n    emit(node.name);\n  }\n  function emitExternalModuleReference(node) {\n    writeKeyword(\"require\");\n    writePunctuation(\"(\");\n    emitExpression(node.expression);\n    writePunctuation(\")\");\n  }\n  function emitJsxElement(node) {\n    emit(node.openingElement);\n    emitList(node, node.children, 262144 /* JsxElementOrFragmentChildren */);\n    emit(node.closingElement);\n  }\n  function emitJsxSelfClosingElement(node) {\n    writePunctuation(\"<\");\n    emitJsxTagName(node.tagName);\n    emitTypeArguments(node, node.typeArguments);\n    writeSpace();\n    emit(node.attributes);\n    writePunctuation(\"/>\");\n  }\n  function emitJsxFragment(node) {\n    emit(node.openingFragment);\n    emitList(node, node.children, 262144 /* JsxElementOrFragmentChildren */);\n    emit(node.closingFragment);\n  }\n  function emitJsxOpeningElementOrFragment(node) {\n    writePunctuation(\"<\");\n    if (isJsxOpeningElement(node)) {\n      const indented = writeLineSeparatorsAndIndentBefore(node.tagName, node);\n      emitJsxTagName(node.tagName);\n      emitTypeArguments(node, node.typeArguments);\n      if (node.attributes.properties && node.attributes.properties.length > 0) {\n        writeSpace();\n      }\n      emit(node.attributes);\n      writeLineSeparatorsAfter(node.attributes, node);\n      decreaseIndentIf(indented);\n    }\n    writePunctuation(\">\");\n  }\n  function emitJsxText(node) {\n    writer.writeLiteral(node.text);\n  }\n  function emitJsxClosingElementOrFragment(node) {\n    writePunctuation(\"</\");\n    if (isJsxClosingElement(node)) {\n      emitJsxTagName(node.tagName);\n    }\n    writePunctuation(\">\");\n  }\n  function emitJsxAttributes(node) {\n    emitList(node, node.properties, 262656 /* JsxElementAttributes */);\n  }\n  function emitJsxAttribute(node) {\n    emit(node.name);\n    emitNodeWithPrefix(\"=\", writePunctuation, node.initializer, emitJsxAttributeValue);\n  }\n  function emitJsxSpreadAttribute(node) {\n    writePunctuation(\"{...\");\n    emitExpression(node.expression);\n    writePunctuation(\"}\");\n  }\n  function hasTrailingCommentsAtPosition(pos) {\n    let result = false;\n    forEachTrailingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || \"\", pos + 1, () => result = true);\n    return result;\n  }\n  function hasLeadingCommentsAtPosition(pos) {\n    let result = false;\n    forEachLeadingCommentRange((currentSourceFile == null ? void 0 : currentSourceFile.text) || \"\", pos + 1, () => result = true);\n    return result;\n  }\n  function hasCommentsAtPosition(pos) {\n    return hasTrailingCommentsAtPosition(pos) || hasLeadingCommentsAtPosition(pos);\n  }\n  function emitJsxExpression(node) {\n    var _a2;\n    if (node.expression || !commentsDisabled && !nodeIsSynthesized(node) && hasCommentsAtPosition(node.pos)) {\n      const isMultiline = currentSourceFile && !nodeIsSynthesized(node) && getLineAndCharacterOfPosition(currentSourceFile, node.pos).line !== getLineAndCharacterOfPosition(currentSourceFile, node.end).line;\n      if (isMultiline) {\n        writer.increaseIndent();\n      }\n      const end = emitTokenWithComment(18 /* OpenBraceToken */, node.pos, writePunctuation, node);\n      emit(node.dotDotDotToken);\n      emitExpression(node.expression);\n      emitTokenWithComment(19 /* CloseBraceToken */, ((_a2 = node.expression) == null ? void 0 : _a2.end) || end, writePunctuation, node);\n      if (isMultiline) {\n        writer.decreaseIndent();\n      }\n    }\n  }\n  function emitJsxTagName(node) {\n    if (node.kind === 79 /* Identifier */) {\n      emitExpression(node);\n    } else {\n      emit(node);\n    }\n  }\n  function emitCaseClause(node) {\n    emitTokenWithComment(82 /* CaseKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);\n    emitCaseOrDefaultClauseRest(node, node.statements, node.expression.end);\n  }\n  function emitDefaultClause(node) {\n    const pos = emitTokenWithComment(89 /* DefaultKeyword */, node.pos, writeKeyword, node);\n    emitCaseOrDefaultClauseRest(node, node.statements, pos);\n  }\n  function emitCaseOrDefaultClauseRest(parentNode, statements, colonPos) {\n    const emitAsSingleStatement = statements.length === 1 && (!currentSourceFile || nodeIsSynthesized(parentNode) || nodeIsSynthesized(statements[0]) || rangeStartPositionsAreOnSameLine(parentNode, statements[0], currentSourceFile));\n    let format = 163969 /* CaseOrDefaultClauseStatements */;\n    if (emitAsSingleStatement) {\n      writeToken(58 /* ColonToken */, colonPos, writePunctuation, parentNode);\n      writeSpace();\n      format &= ~(1 /* MultiLine */ | 128 /* Indented */);\n    } else {\n      emitTokenWithComment(58 /* ColonToken */, colonPos, writePunctuation, parentNode);\n    }\n    emitList(parentNode, statements, format);\n  }\n  function emitHeritageClause(node) {\n    writeSpace();\n    writeTokenText(node.token, writeKeyword);\n    writeSpace();\n    emitList(node, node.types, 528 /* HeritageClauseTypes */);\n  }\n  function emitCatchClause(node) {\n    const openParenPos = emitTokenWithComment(83 /* CatchKeyword */, node.pos, writeKeyword, node);\n    writeSpace();\n    if (node.variableDeclaration) {\n      emitTokenWithComment(20 /* OpenParenToken */, openParenPos, writePunctuation, node);\n      emit(node.variableDeclaration);\n      emitTokenWithComment(21 /* CloseParenToken */, node.variableDeclaration.end, writePunctuation, node);\n      writeSpace();\n    }\n    emit(node.block);\n  }\n  function emitPropertyAssignment(node) {\n    emit(node.name);\n    writePunctuation(\":\");\n    writeSpace();\n    const initializer = node.initializer;\n    if ((getEmitFlags(initializer) & 512 /* NoLeadingComments */) === 0) {\n      const commentRange = getCommentRange(initializer);\n      emitTrailingCommentsOfPosition(commentRange.pos);\n    }\n    emitExpression(initializer, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitShorthandPropertyAssignment(node) {\n    emit(node.name);\n    if (node.objectAssignmentInitializer) {\n      writeSpace();\n      writePunctuation(\"=\");\n      writeSpace();\n      emitExpression(node.objectAssignmentInitializer, parenthesizer.parenthesizeExpressionForDisallowedComma);\n    }\n  }\n  function emitSpreadAssignment(node) {\n    if (node.expression) {\n      emitTokenWithComment(25 /* DotDotDotToken */, node.pos, writePunctuation, node);\n      emitExpression(node.expression, parenthesizer.parenthesizeExpressionForDisallowedComma);\n    }\n  }\n  function emitEnumMember(node) {\n    emit(node.name);\n    emitInitializer(node.initializer, node.name.end, node, parenthesizer.parenthesizeExpressionForDisallowedComma);\n  }\n  function emitJSDoc(node) {\n    write(\"/**\");\n    if (node.comment) {\n      const text = getTextOfJSDocComment(node.comment);\n      if (text) {\n        const lines = text.split(/\\r\\n?|\\n/g);\n        for (const line of lines) {\n          writeLine();\n          writeSpace();\n          writePunctuation(\"*\");\n          writeSpace();\n          write(line);\n        }\n      }\n    }\n    if (node.tags) {\n      if (node.tags.length === 1 && node.tags[0].kind === 352 /* JSDocTypeTag */ && !node.comment) {\n        writeSpace();\n        emit(node.tags[0]);\n      } else {\n        emitList(node, node.tags, 33 /* JSDocComment */);\n      }\n    }\n    writeSpace();\n    write(\"*/\");\n  }\n  function emitJSDocSimpleTypedTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    emitJSDocTypeExpression(tag.typeExpression);\n    emitJSDocComment(tag.comment);\n  }\n  function emitJSDocSeeTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    emit(tag.name);\n    emitJSDocComment(tag.comment);\n  }\n  function emitJSDocNameReference(node) {\n    writeSpace();\n    writePunctuation(\"{\");\n    emit(node.name);\n    writePunctuation(\"}\");\n  }\n  function emitJSDocHeritageTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    writeSpace();\n    writePunctuation(\"{\");\n    emit(tag.class);\n    writePunctuation(\"}\");\n    emitJSDocComment(tag.comment);\n  }\n  function emitJSDocTemplateTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    emitJSDocTypeExpression(tag.constraint);\n    writeSpace();\n    emitList(tag, tag.typeParameters, 528 /* CommaListElements */);\n    emitJSDocComment(tag.comment);\n  }\n  function emitJSDocTypedefTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    if (tag.typeExpression) {\n      if (tag.typeExpression.kind === 318 /* JSDocTypeExpression */) {\n        emitJSDocTypeExpression(tag.typeExpression);\n      } else {\n        writeSpace();\n        writePunctuation(\"{\");\n        write(\"Object\");\n        if (tag.typeExpression.isArrayType) {\n          writePunctuation(\"[\");\n          writePunctuation(\"]\");\n        }\n        writePunctuation(\"}\");\n      }\n    }\n    if (tag.fullName) {\n      writeSpace();\n      emit(tag.fullName);\n    }\n    emitJSDocComment(tag.comment);\n    if (tag.typeExpression && tag.typeExpression.kind === 331 /* JSDocTypeLiteral */) {\n      emitJSDocTypeLiteral(tag.typeExpression);\n    }\n  }\n  function emitJSDocCallbackTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    if (tag.name) {\n      writeSpace();\n      emit(tag.name);\n    }\n    emitJSDocComment(tag.comment);\n    emitJSDocSignature(tag.typeExpression);\n  }\n  function emitJSDocSimpleTag(tag) {\n    emitJSDocTagName(tag.tagName);\n    emitJSDocComment(tag.comment);\n  }\n  function emitJSDocTypeLiteral(lit) {\n    emitList(lit, factory.createNodeArray(lit.jsDocPropertyTags), 33 /* JSDocComment */);\n  }\n  function emitJSDocSignature(sig) {\n    if (sig.typeParameters) {\n      emitList(sig, factory.createNodeArray(sig.typeParameters), 33 /* JSDocComment */);\n    }\n    if (sig.parameters) {\n      emitList(sig, factory.createNodeArray(sig.parameters), 33 /* JSDocComment */);\n    }\n    if (sig.type) {\n      writeLine();\n      writeSpace();\n      writePunctuation(\"*\");\n      writeSpace();\n      emit(sig.type);\n    }\n  }\n  function emitJSDocPropertyLikeTag(param) {\n    emitJSDocTagName(param.tagName);\n    emitJSDocTypeExpression(param.typeExpression);\n    writeSpace();\n    if (param.isBracketed) {\n      writePunctuation(\"[\");\n    }\n    emit(param.name);\n    if (param.isBracketed) {\n      writePunctuation(\"]\");\n    }\n    emitJSDocComment(param.comment);\n  }\n  function emitJSDocTagName(tagName) {\n    writePunctuation(\"@\");\n    emit(tagName);\n  }\n  function emitJSDocComment(comment) {\n    const text = getTextOfJSDocComment(comment);\n    if (text) {\n      writeSpace();\n      write(text);\n    }\n  }\n  function emitJSDocTypeExpression(typeExpression) {\n    if (typeExpression) {\n      writeSpace();\n      writePunctuation(\"{\");\n      emit(typeExpression.type);\n      writePunctuation(\"}\");\n    }\n  }\n  function emitSourceFile(node) {\n    writeLine();\n    if (node.writeTsHarComments) {\n      writeComment(\"// @keepTs\\n// @ts-nocheck\\n\");\n    }\n    const statements = node.statements;\n    const shouldEmitDetachedComment = statements.length === 0 || !isPrologueDirective(statements[0]) || nodeIsSynthesized(statements[0]);\n    if (shouldEmitDetachedComment) {\n      emitBodyWithDetachedComments(node, statements, emitSourceFileWorker);\n      return;\n    }\n    emitSourceFileWorker(node);\n  }\n  function emitSyntheticTripleSlashReferencesIfNeeded(node) {\n    emitTripleSlashDirectives(!!node.hasNoDefaultLib, node.syntheticFileReferences || [], node.syntheticTypeReferences || [], node.syntheticLibReferences || []);\n    for (const prepend of node.prepends) {\n      if (isUnparsedSource(prepend) && prepend.syntheticReferences) {\n        for (const ref of prepend.syntheticReferences) {\n          emit(ref);\n          writeLine();\n        }\n      }\n    }\n  }\n  function emitTripleSlashDirectivesIfNeeded(node) {\n    if (node.isDeclarationFile)\n      emitTripleSlashDirectives(node.hasNoDefaultLib, node.referencedFiles, node.typeReferenceDirectives, node.libReferenceDirectives);\n  }\n  function emitTripleSlashDirectives(hasNoDefaultLib, files, types, libs2) {\n    if (hasNoDefaultLib) {\n      const pos = writer.getTextPos();\n      writeComment(`/// <reference no-default-lib=\"true\"/>`);\n      if (bundleFileInfo)\n        bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"no-default-lib\" /* NoDefaultLib */ });\n      writeLine();\n    }\n    if (currentSourceFile && currentSourceFile.moduleName) {\n      writeComment(`/// <amd-module name=\"${currentSourceFile.moduleName}\" />`);\n      writeLine();\n    }\n    if (currentSourceFile && currentSourceFile.amdDependencies) {\n      for (const dep of currentSourceFile.amdDependencies) {\n        if (dep.name) {\n          writeComment(`/// <amd-dependency name=\"${dep.name}\" path=\"${dep.path}\" />`);\n        } else {\n          writeComment(`/// <amd-dependency path=\"${dep.path}\" />`);\n        }\n        writeLine();\n      }\n    }\n    for (const directive of files) {\n      const pos = writer.getTextPos();\n      writeComment(`/// <reference path=\"${directive.fileName}\" />`);\n      if (bundleFileInfo)\n        bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"reference\" /* Reference */, data: directive.fileName });\n      writeLine();\n    }\n    for (const directive of types) {\n      const pos = writer.getTextPos();\n      const resolutionMode = directive.resolutionMode && directive.resolutionMode !== (currentSourceFile == null ? void 0 : currentSourceFile.impliedNodeFormat) ? `resolution-mode=\"${directive.resolutionMode === 99 /* ESNext */ ? \"import\" : \"require\"}\"` : \"\";\n      writeComment(`/// <reference types=\"${directive.fileName}\" ${resolutionMode}/>`);\n      if (bundleFileInfo)\n        bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: !directive.resolutionMode ? \"type\" /* Type */ : directive.resolutionMode === 99 /* ESNext */ ? \"type-import\" /* TypeResolutionModeImport */ : \"type-require\" /* TypeResolutionModeRequire */, data: directive.fileName });\n      writeLine();\n    }\n    for (const directive of libs2) {\n      const pos = writer.getTextPos();\n      writeComment(`/// <reference lib=\"${directive.fileName}\" />`);\n      if (bundleFileInfo)\n        bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"lib\" /* Lib */, data: directive.fileName });\n      writeLine();\n    }\n  }\n  function emitSourceFileWorker(node) {\n    const statements = node.statements;\n    pushNameGenerationScope(node);\n    forEach(node.statements, generateNames);\n    emitHelpers(node);\n    const index = findIndex(statements, (statement) => !isPrologueDirective(statement));\n    emitTripleSlashDirectivesIfNeeded(node);\n    emitList(node, statements, 1 /* MultiLine */, void 0, index === -1 ? statements.length : index);\n    popNameGenerationScope(node);\n  }\n  function emitPartiallyEmittedExpression(node) {\n    const emitFlags = getEmitFlags(node);\n    if (!(emitFlags & 512 /* NoLeadingComments */) && node.pos !== node.expression.pos) {\n      emitTrailingCommentsOfPosition(node.expression.pos);\n    }\n    emitExpression(node.expression);\n    if (!(emitFlags & 1024 /* NoTrailingComments */) && node.end !== node.expression.end) {\n      emitLeadingCommentsOfPosition(node.expression.end);\n    }\n  }\n  function emitCommaList(node) {\n    emitExpressionList(node, node.elements, 528 /* CommaListElements */, void 0);\n  }\n  function emitPrologueDirectives(statements, sourceFile, seenPrologueDirectives, recordBundleFileSection) {\n    let needsToSetSourceFile = !!sourceFile;\n    for (let i = 0; i < statements.length; i++) {\n      const statement = statements[i];\n      if (isPrologueDirective(statement)) {\n        const shouldEmitPrologueDirective = seenPrologueDirectives ? !seenPrologueDirectives.has(statement.expression.text) : true;\n        if (shouldEmitPrologueDirective) {\n          if (needsToSetSourceFile) {\n            needsToSetSourceFile = false;\n            setSourceFile(sourceFile);\n          }\n          writeLine();\n          const pos = writer.getTextPos();\n          emit(statement);\n          if (recordBundleFileSection && bundleFileInfo)\n            bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"prologue\" /* Prologue */, data: statement.expression.text });\n          if (seenPrologueDirectives) {\n            seenPrologueDirectives.add(statement.expression.text);\n          }\n        }\n      } else {\n        return i;\n      }\n    }\n    return statements.length;\n  }\n  function emitUnparsedPrologues(prologues, seenPrologueDirectives) {\n    for (const prologue of prologues) {\n      if (!seenPrologueDirectives.has(prologue.data)) {\n        writeLine();\n        const pos = writer.getTextPos();\n        emit(prologue);\n        if (bundleFileInfo)\n          bundleFileInfo.sections.push({ pos, end: writer.getTextPos(), kind: \"prologue\" /* Prologue */, data: prologue.data });\n        if (seenPrologueDirectives) {\n          seenPrologueDirectives.add(prologue.data);\n        }\n      }\n    }\n  }\n  function emitPrologueDirectivesIfNeeded(sourceFileOrBundle) {\n    if (isSourceFile(sourceFileOrBundle)) {\n      emitPrologueDirectives(sourceFileOrBundle.statements, sourceFileOrBundle);\n    } else {\n      const seenPrologueDirectives = new Set2();\n      for (const prepend of sourceFileOrBundle.prepends) {\n        emitUnparsedPrologues(prepend.prologues, seenPrologueDirectives);\n      }\n      for (const sourceFile of sourceFileOrBundle.sourceFiles) {\n        emitPrologueDirectives(sourceFile.statements, sourceFile, seenPrologueDirectives, true);\n      }\n      setSourceFile(void 0);\n    }\n  }\n  function getPrologueDirectivesFromBundledSourceFiles(bundle) {\n    const seenPrologueDirectives = new Set2();\n    let prologues;\n    for (let index = 0; index < bundle.sourceFiles.length; index++) {\n      const sourceFile = bundle.sourceFiles[index];\n      let directives;\n      let end = 0;\n      for (const statement of sourceFile.statements) {\n        if (!isPrologueDirective(statement))\n          break;\n        if (seenPrologueDirectives.has(statement.expression.text))\n          continue;\n        seenPrologueDirectives.add(statement.expression.text);\n        (directives || (directives = [])).push({\n          pos: statement.pos,\n          end: statement.end,\n          expression: {\n            pos: statement.expression.pos,\n            end: statement.expression.end,\n            text: statement.expression.text\n          }\n        });\n        end = end < statement.end ? statement.end : end;\n      }\n      if (directives)\n        (prologues || (prologues = [])).push({ file: index, text: sourceFile.text.substring(0, end), directives });\n    }\n    return prologues;\n  }\n  function emitShebangIfNeeded(sourceFileOrBundle) {\n    if (isSourceFile(sourceFileOrBundle) || isUnparsedSource(sourceFileOrBundle)) {\n      const shebang = getShebang(sourceFileOrBundle.text);\n      if (shebang) {\n        writeComment(shebang);\n        writeLine();\n        return true;\n      }\n    } else {\n      for (const prepend of sourceFileOrBundle.prepends) {\n        Debug.assertNode(prepend, isUnparsedSource);\n        if (emitShebangIfNeeded(prepend)) {\n          return true;\n        }\n      }\n      for (const sourceFile of sourceFileOrBundle.sourceFiles) {\n        if (emitShebangIfNeeded(sourceFile)) {\n          return true;\n        }\n      }\n    }\n  }\n  function emitNodeWithWriter(node, writer2) {\n    if (!node)\n      return;\n    const savedWrite = write;\n    write = writer2;\n    emit(node);\n    write = savedWrite;\n  }\n  function emitDecoratorsAndModifiers(node, modifiers) {\n    if (modifiers == null ? void 0 : modifiers.length) {\n      if (every(modifiers, isModifier)) {\n        return emitModifiers(node, modifiers);\n      }\n      if (every(modifiers, isDecoratorOrAnnotation)) {\n        return emitDecorators(node, modifiers);\n      }\n      onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(modifiers);\n      let lastMode;\n      let mode;\n      let start = 0;\n      let pos = 0;\n      while (start < modifiers.length) {\n        while (pos < modifiers.length) {\n          const modifier = modifiers[pos];\n          mode = isDecoratorOrAnnotation(modifier) ? \"decorators\" : \"modifiers\";\n          if (lastMode === void 0) {\n            lastMode = mode;\n          } else if (mode !== lastMode) {\n            break;\n          }\n          pos++;\n        }\n        const textRange = { pos: -1, end: -1 };\n        if (start === 0)\n          textRange.pos = modifiers.pos;\n        if (pos === modifiers.length - 1)\n          textRange.end = modifiers.end;\n        emitNodeListItems(\n          emit,\n          node,\n          modifiers,\n          lastMode === \"modifiers\" ? 2359808 /* Modifiers */ : 2146305 /* Decorators */,\n          void 0,\n          start,\n          pos - start,\n          false,\n          textRange\n        );\n        start = pos;\n        lastMode = mode;\n        pos++;\n      }\n      onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(modifiers);\n    }\n  }\n  function emitModifiers(node, modifiers) {\n    emitList(node, modifiers, 2359808 /* Modifiers */);\n  }\n  function emitTypeAnnotation(node) {\n    if (node) {\n      writePunctuation(\":\");\n      writeSpace();\n      emit(node);\n    }\n  }\n  function emitInitializer(node, equalCommentStartPos, container, parenthesizerRule) {\n    if (node) {\n      writeSpace();\n      emitTokenWithComment(63 /* EqualsToken */, equalCommentStartPos, writeOperator, container);\n      writeSpace();\n      emitExpression(node, parenthesizerRule);\n    }\n  }\n  function emitNodeWithPrefix(prefix, prefixWriter, node, emit2) {\n    if (node) {\n      prefixWriter(prefix);\n      emit2(node);\n    }\n  }\n  function emitWithLeadingSpace(node) {\n    if (node) {\n      writeSpace();\n      emit(node);\n    }\n  }\n  function emitExpressionWithLeadingSpace(node, parenthesizerRule) {\n    if (node) {\n      writeSpace();\n      emitExpression(node, parenthesizerRule);\n    }\n  }\n  function emitWithTrailingSpace(node) {\n    if (node) {\n      emit(node);\n      writeSpace();\n    }\n  }\n  function emitEmbeddedStatement(parent2, node) {\n    if (isBlock(node) || getEmitFlags(parent2) & 1 /* SingleLine */) {\n      writeSpace();\n      emit(node);\n    } else {\n      writeLine();\n      increaseIndent();\n      if (isEmptyStatement(node)) {\n        pipelineEmit(5 /* EmbeddedStatement */, node);\n      } else {\n        emit(node);\n      }\n      decreaseIndent();\n    }\n  }\n  function emitDecorators(parentNode, decorators) {\n    emitList(parentNode, decorators, 2146305 /* Decorators */);\n  }\n  function emitTypeArguments(parentNode, typeArguments) {\n    emitList(parentNode, typeArguments, 53776 /* TypeArguments */, typeArgumentParenthesizerRuleSelector);\n  }\n  function emitTypeParameters(parentNode, typeParameters) {\n    if (isFunctionLike(parentNode) && parentNode.typeArguments) {\n      return emitTypeArguments(parentNode, parentNode.typeArguments);\n    }\n    emitList(parentNode, typeParameters, 53776 /* TypeParameters */);\n  }\n  function emitParameters(parentNode, parameters) {\n    emitList(parentNode, parameters, 2576 /* Parameters */);\n  }\n  function canEmitSimpleArrowHead(parentNode, parameters) {\n    const parameter = singleOrUndefined(parameters);\n    return parameter && parameter.pos === parentNode.pos && isArrowFunction(parentNode) && !parentNode.type && !some(parentNode.modifiers) && !some(parentNode.typeParameters) && !some(parameter.modifiers) && !parameter.dotDotDotToken && !parameter.questionToken && !parameter.type && !parameter.initializer && isIdentifier(parameter.name);\n  }\n  function emitParametersForArrow(parentNode, parameters) {\n    if (canEmitSimpleArrowHead(parentNode, parameters)) {\n      emitList(parentNode, parameters, 2576 /* Parameters */ & ~2048 /* Parenthesis */);\n    } else {\n      emitParameters(parentNode, parameters);\n    }\n  }\n  function emitParametersForIndexSignature(parentNode, parameters) {\n    emitList(parentNode, parameters, 8848 /* IndexSignatureParameters */);\n  }\n  function writeDelimiter(format) {\n    switch (format & 60 /* DelimitersMask */) {\n      case 0 /* None */:\n        break;\n      case 16 /* CommaDelimited */:\n        writePunctuation(\",\");\n        break;\n      case 4 /* BarDelimited */:\n        writeSpace();\n        writePunctuation(\"|\");\n        break;\n      case 32 /* AsteriskDelimited */:\n        writeSpace();\n        writePunctuation(\"*\");\n        writeSpace();\n        break;\n      case 8 /* AmpersandDelimited */:\n        writeSpace();\n        writePunctuation(\"&\");\n        break;\n    }\n  }\n  function emitList(parentNode, children, format, parenthesizerRule, start, count) {\n    emitNodeList(emit, parentNode, children, format, parenthesizerRule, start, count);\n  }\n  function emitExpressionList(parentNode, children, format, parenthesizerRule, start, count) {\n    emitNodeList(emitExpression, parentNode, children, format, parenthesizerRule, start, count);\n  }\n  function emitNodeList(emit2, parentNode, children, format, parenthesizerRule, start = 0, count = children ? children.length - start : 0) {\n    const isUndefined = children === void 0;\n    if (isUndefined && format & 16384 /* OptionalIfUndefined */) {\n      return;\n    }\n    const isEmpty = children === void 0 || start >= children.length || count === 0;\n    if (isEmpty && format & 32768 /* OptionalIfEmpty */) {\n      onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children);\n      onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children);\n      return;\n    }\n    if (format & 15360 /* BracketsMask */) {\n      writePunctuation(getOpeningBracket(format));\n      if (isEmpty && children) {\n        emitTrailingCommentsOfPosition(children.pos, true);\n      }\n    }\n    onBeforeEmitNodeArray == null ? void 0 : onBeforeEmitNodeArray(children);\n    if (isEmpty) {\n      if (format & 1 /* MultiLine */ && !(preserveSourceNewlines && (!parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile)))) {\n        writeLine();\n      } else if (format & 256 /* SpaceBetweenBraces */ && !(format & 524288 /* NoSpaceIfEmpty */)) {\n        writeSpace();\n      }\n    } else {\n      emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, children.hasTrailingComma, children);\n    }\n    onAfterEmitNodeArray == null ? void 0 : onAfterEmitNodeArray(children);\n    if (format & 15360 /* BracketsMask */) {\n      if (isEmpty && children) {\n        emitLeadingCommentsOfPosition(children.end);\n      }\n      writePunctuation(getClosingBracket(format));\n    }\n  }\n  function emitNodeListItems(emit2, parentNode, children, format, parenthesizerRule, start, count, hasTrailingComma, childrenTextRange) {\n    const mayEmitInterveningComments = (format & 262144 /* NoInterveningComments */) === 0;\n    let shouldEmitInterveningComments = mayEmitInterveningComments;\n    const leadingLineTerminatorCount = getLeadingLineTerminatorCount(parentNode, children[start], format);\n    if (leadingLineTerminatorCount) {\n      writeLine(leadingLineTerminatorCount);\n      shouldEmitInterveningComments = false;\n    } else if (format & 256 /* SpaceBetweenBraces */) {\n      writeSpace();\n    }\n    if (format & 128 /* Indented */) {\n      increaseIndent();\n    }\n    const emitListItem = getEmitListItem(emit2, parenthesizerRule);\n    let previousSibling;\n    let previousSourceFileTextKind;\n    let shouldDecreaseIndentAfterEmit = false;\n    for (let i = 0; i < count; i++) {\n      const child = children[start + i];\n      if (format & 32 /* AsteriskDelimited */) {\n        writeLine();\n        writeDelimiter(format);\n      } else if (previousSibling) {\n        if (format & 60 /* DelimitersMask */ && previousSibling.end !== (parentNode ? parentNode.end : -1)) {\n          emitLeadingCommentsOfPosition(previousSibling.end);\n        }\n        writeDelimiter(format);\n        recordBundleFileInternalSectionEnd(previousSourceFileTextKind);\n        const separatingLineTerminatorCount = getSeparatingLineTerminatorCount(previousSibling, child, format);\n        if (separatingLineTerminatorCount > 0) {\n          if ((format & (3 /* LinesMask */ | 128 /* Indented */)) === 0 /* SingleLine */) {\n            increaseIndent();\n            shouldDecreaseIndentAfterEmit = true;\n          }\n          writeLine(separatingLineTerminatorCount);\n          shouldEmitInterveningComments = false;\n        } else if (previousSibling && format & 512 /* SpaceBetweenSiblings */) {\n          writeSpace();\n        }\n      }\n      previousSourceFileTextKind = recordBundleFileInternalSectionStart(child);\n      if (shouldEmitInterveningComments) {\n        const commentRange = getCommentRange(child);\n        emitTrailingCommentsOfPosition(commentRange.pos);\n      } else {\n        shouldEmitInterveningComments = mayEmitInterveningComments;\n      }\n      nextListElementPos = child.pos;\n      emitListItem(child, emit2, parenthesizerRule, i);\n      if (shouldDecreaseIndentAfterEmit) {\n        decreaseIndent();\n        shouldDecreaseIndentAfterEmit = false;\n      }\n      previousSibling = child;\n    }\n    const emitFlags = previousSibling ? getEmitFlags(previousSibling) : 0;\n    const skipTrailingComments = commentsDisabled || !!(emitFlags & 1024 /* NoTrailingComments */);\n    const emitTrailingComma = hasTrailingComma && format & 64 /* AllowTrailingComma */ && format & 16 /* CommaDelimited */;\n    if (emitTrailingComma) {\n      if (previousSibling && !skipTrailingComments) {\n        emitTokenWithComment(27 /* CommaToken */, previousSibling.end, writePunctuation, previousSibling);\n      } else {\n        writePunctuation(\",\");\n      }\n    }\n    if (previousSibling && (parentNode ? parentNode.end : -1) !== previousSibling.end && format & 60 /* DelimitersMask */ && !skipTrailingComments) {\n      emitLeadingCommentsOfPosition(emitTrailingComma && (childrenTextRange == null ? void 0 : childrenTextRange.end) ? childrenTextRange.end : previousSibling.end);\n    }\n    if (format & 128 /* Indented */) {\n      decreaseIndent();\n    }\n    recordBundleFileInternalSectionEnd(previousSourceFileTextKind);\n    const closingLineTerminatorCount = getClosingLineTerminatorCount(parentNode, children[start + count - 1], format, childrenTextRange);\n    if (closingLineTerminatorCount) {\n      writeLine(closingLineTerminatorCount);\n    } else if (format & (2097152 /* SpaceAfterList */ | 256 /* SpaceBetweenBraces */)) {\n      writeSpace();\n    }\n  }\n  function writeLiteral(s) {\n    writer.writeLiteral(s);\n  }\n  function writeStringLiteral(s) {\n    writer.writeStringLiteral(s);\n  }\n  function writeBase(s) {\n    writer.write(s);\n  }\n  function writeSymbol(s, sym) {\n    writer.writeSymbol(s, sym);\n  }\n  function writePunctuation(s) {\n    writer.writePunctuation(s);\n  }\n  function writeTrailingSemicolon() {\n    writer.writeTrailingSemicolon(\";\");\n  }\n  function writeKeyword(s) {\n    writer.writeKeyword(s);\n  }\n  function writeOperator(s) {\n    writer.writeOperator(s);\n  }\n  function writeParameter(s) {\n    writer.writeParameter(s);\n  }\n  function writeComment(s) {\n    writer.writeComment(s);\n  }\n  function writeSpace() {\n    writer.writeSpace(\" \");\n  }\n  function writeProperty(s) {\n    writer.writeProperty(s);\n  }\n  function nonEscapingWrite(s) {\n    if (writer.nonEscapingWrite) {\n      writer.nonEscapingWrite(s);\n    } else {\n      writer.write(s);\n    }\n  }\n  function writeLine(count = 1) {\n    for (let i = 0; i < count; i++) {\n      writer.writeLine(i > 0);\n    }\n  }\n  function increaseIndent() {\n    writer.increaseIndent();\n  }\n  function decreaseIndent() {\n    writer.decreaseIndent();\n  }\n  function writeToken(token, pos, writer2, contextNode) {\n    return !sourceMapsDisabled ? emitTokenWithSourceMap(contextNode, token, writer2, pos, writeTokenText) : writeTokenText(token, writer2, pos);\n  }\n  function writeTokenNode(node, writer2) {\n    if (onBeforeEmitToken) {\n      onBeforeEmitToken(node);\n    }\n    writer2(tokenToString(node.kind));\n    if (onAfterEmitToken) {\n      onAfterEmitToken(node);\n    }\n  }\n  function writeTokenText(token, writer2, pos) {\n    const tokenString = tokenToString(token);\n    writer2(tokenString);\n    return pos < 0 ? pos : pos + tokenString.length;\n  }\n  function writeLineOrSpace(parentNode, prevChildNode, nextChildNode) {\n    if (getEmitFlags(parentNode) & 1 /* SingleLine */) {\n      writeSpace();\n    } else if (preserveSourceNewlines) {\n      const lines = getLinesBetweenNodes(parentNode, prevChildNode, nextChildNode);\n      if (lines) {\n        writeLine(lines);\n      } else {\n        writeSpace();\n      }\n    } else {\n      writeLine();\n    }\n  }\n  function writeLines(text) {\n    const lines = text.split(/\\r\\n?|\\n/g);\n    const indentation = guessIndentation(lines);\n    for (const lineText of lines) {\n      const line = indentation ? lineText.slice(indentation) : lineText;\n      if (line.length) {\n        writeLine();\n        write(line);\n      }\n    }\n  }\n  function writeLinesAndIndent(lineCount, writeSpaceIfNotIndenting) {\n    if (lineCount) {\n      increaseIndent();\n      writeLine(lineCount);\n    } else if (writeSpaceIfNotIndenting) {\n      writeSpace();\n    }\n  }\n  function decreaseIndentIf(value1, value2) {\n    if (value1) {\n      decreaseIndent();\n    }\n    if (value2) {\n      decreaseIndent();\n    }\n  }\n  function getLeadingLineTerminatorCount(parentNode, firstChild, format) {\n    if (format & 2 /* PreserveLines */ || preserveSourceNewlines) {\n      if (format & 65536 /* PreferNewLine */) {\n        return 1;\n      }\n      if (firstChild === void 0) {\n        return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1;\n      }\n      if (firstChild.pos === nextListElementPos) {\n        return 0;\n      }\n      if (firstChild.kind === 11 /* JsxText */) {\n        return 0;\n      }\n      if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(firstChild) && (!firstChild.parent || getOriginalNode(firstChild.parent) === getOriginalNode(parentNode))) {\n        if (preserveSourceNewlines) {\n          return getEffectiveLines(\n            (includeComments) => getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(\n              firstChild.pos,\n              parentNode.pos,\n              currentSourceFile,\n              includeComments\n            )\n          );\n        }\n        return rangeStartPositionsAreOnSameLine(parentNode, firstChild, currentSourceFile) ? 0 : 1;\n      }\n      if (synthesizedNodeStartsOnNewLine(firstChild, format)) {\n        return 1;\n      }\n    }\n    return format & 1 /* MultiLine */ ? 1 : 0;\n  }\n  function getSeparatingLineTerminatorCount(previousNode, nextNode, format) {\n    if (format & 2 /* PreserveLines */ || preserveSourceNewlines) {\n      if (previousNode === void 0 || nextNode === void 0) {\n        return 0;\n      }\n      if (nextNode.kind === 11 /* JsxText */) {\n        return 0;\n      } else if (currentSourceFile && !nodeIsSynthesized(previousNode) && !nodeIsSynthesized(nextNode)) {\n        if (preserveSourceNewlines && siblingNodePositionsAreComparable(previousNode, nextNode)) {\n          return getEffectiveLines(\n            (includeComments) => getLinesBetweenRangeEndAndRangeStart(\n              previousNode,\n              nextNode,\n              currentSourceFile,\n              includeComments\n            )\n          );\n        } else if (!preserveSourceNewlines && originalNodesHaveSameParent(previousNode, nextNode)) {\n          return rangeEndIsOnSameLineAsRangeStart(previousNode, nextNode, currentSourceFile) ? 0 : 1;\n        }\n        return format & 65536 /* PreferNewLine */ ? 1 : 0;\n      } else if (synthesizedNodeStartsOnNewLine(previousNode, format) || synthesizedNodeStartsOnNewLine(nextNode, format)) {\n        return 1;\n      }\n    } else if (getStartsOnNewLine(nextNode)) {\n      return 1;\n    }\n    return format & 1 /* MultiLine */ ? 1 : 0;\n  }\n  function getClosingLineTerminatorCount(parentNode, lastChild, format, childrenTextRange) {\n    if (format & 2 /* PreserveLines */ || preserveSourceNewlines) {\n      if (format & 65536 /* PreferNewLine */) {\n        return 1;\n      }\n      if (lastChild === void 0) {\n        return !parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile) ? 0 : 1;\n      }\n      if (currentSourceFile && parentNode && !positionIsSynthesized(parentNode.pos) && !nodeIsSynthesized(lastChild) && (!lastChild.parent || lastChild.parent === parentNode)) {\n        if (preserveSourceNewlines) {\n          const end = childrenTextRange && !positionIsSynthesized(childrenTextRange.end) ? childrenTextRange.end : lastChild.end;\n          return getEffectiveLines(\n            (includeComments) => getLinesBetweenPositionAndNextNonWhitespaceCharacter(\n              end,\n              parentNode.end,\n              currentSourceFile,\n              includeComments\n            )\n          );\n        }\n        return rangeEndPositionsAreOnSameLine(parentNode, lastChild, currentSourceFile) ? 0 : 1;\n      }\n      if (synthesizedNodeStartsOnNewLine(lastChild, format)) {\n        return 1;\n      }\n    }\n    if (format & 1 /* MultiLine */ && !(format & 131072 /* NoTrailingNewLine */)) {\n      return 1;\n    }\n    return 0;\n  }\n  function getEffectiveLines(getLineDifference) {\n    Debug.assert(!!preserveSourceNewlines);\n    const lines = getLineDifference(true);\n    if (lines === 0) {\n      return getLineDifference(false);\n    }\n    return lines;\n  }\n  function writeLineSeparatorsAndIndentBefore(node, parent2) {\n    const leadingNewlines = preserveSourceNewlines && getLeadingLineTerminatorCount(parent2, node, 0 /* None */);\n    if (leadingNewlines) {\n      writeLinesAndIndent(leadingNewlines, false);\n    }\n    return !!leadingNewlines;\n  }\n  function writeLineSeparatorsAfter(node, parent2) {\n    const trailingNewlines = preserveSourceNewlines && getClosingLineTerminatorCount(parent2, node, 0 /* None */, void 0);\n    if (trailingNewlines) {\n      writeLine(trailingNewlines);\n    }\n  }\n  function synthesizedNodeStartsOnNewLine(node, format) {\n    if (nodeIsSynthesized(node)) {\n      const startsOnNewLine = getStartsOnNewLine(node);\n      if (startsOnNewLine === void 0) {\n        return (format & 65536 /* PreferNewLine */) !== 0;\n      }\n      return startsOnNewLine;\n    }\n    return (format & 65536 /* PreferNewLine */) !== 0;\n  }\n  function getLinesBetweenNodes(parent2, node1, node2) {\n    if (getEmitFlags(parent2) & 131072 /* NoIndentation */) {\n      return 0;\n    }\n    parent2 = skipSynthesizedParentheses(parent2);\n    node1 = skipSynthesizedParentheses(node1);\n    node2 = skipSynthesizedParentheses(node2);\n    if (getStartsOnNewLine(node2)) {\n      return 1;\n    }\n    if (currentSourceFile && !nodeIsSynthesized(parent2) && !nodeIsSynthesized(node1) && !nodeIsSynthesized(node2)) {\n      if (preserveSourceNewlines) {\n        return getEffectiveLines(\n          (includeComments) => getLinesBetweenRangeEndAndRangeStart(\n            node1,\n            node2,\n            currentSourceFile,\n            includeComments\n          )\n        );\n      }\n      return rangeEndIsOnSameLineAsRangeStart(node1, node2, currentSourceFile) ? 0 : 1;\n    }\n    return 0;\n  }\n  function isEmptyBlock(block) {\n    return block.statements.length === 0 && (!currentSourceFile || rangeEndIsOnSameLineAsRangeStart(block, block, currentSourceFile));\n  }\n  function skipSynthesizedParentheses(node) {\n    while (node.kind === 217 /* ParenthesizedExpression */ && nodeIsSynthesized(node)) {\n      node = node.expression;\n    }\n    return node;\n  }\n  function getTextOfNode2(node, includeTrivia) {\n    if (isGeneratedIdentifier(node) || isGeneratedPrivateIdentifier(node)) {\n      return generateName(node);\n    }\n    if (isStringLiteral(node) && node.textSourceNode) {\n      return getTextOfNode2(node.textSourceNode, includeTrivia);\n    }\n    const sourceFile = currentSourceFile;\n    const canUseSourceFile = !!sourceFile && !!node.parent && !nodeIsSynthesized(node) && !(node.flags & -2147483648 /* NoOriginalText */);\n    if (isMemberName(node)) {\n      if (!canUseSourceFile || getSourceFileOfNode(node) !== getOriginalNode(sourceFile)) {\n        return idText(node);\n      }\n    } else {\n      Debug.assertNode(node, isLiteralExpression);\n      if (!canUseSourceFile) {\n        return node.text;\n      }\n    }\n    return getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia);\n  }\n  function getLiteralTextOfNode(node, neverAsciiEscape, jsxAttributeEscape) {\n    if (node.kind === 10 /* StringLiteral */ && node.textSourceNode) {\n      const textSourceNode = node.textSourceNode;\n      if (isIdentifier(textSourceNode) || isPrivateIdentifier(textSourceNode) || isNumericLiteral(textSourceNode)) {\n        const text = isNumericLiteral(textSourceNode) ? textSourceNode.text : getTextOfNode2(textSourceNode);\n        return jsxAttributeEscape ? `\"${escapeJsxAttributeString(text)}\"` : neverAsciiEscape || getEmitFlags(node) & 16777216 /* NoAsciiEscaping */ ? `\"${escapeString(text)}\"` : `\"${escapeNonAsciiString(text)}\"`;\n      } else {\n        return getLiteralTextOfNode(textSourceNode, neverAsciiEscape, jsxAttributeEscape);\n      }\n    }\n    const flags = (neverAsciiEscape ? 1 /* NeverAsciiEscape */ : 0) | (jsxAttributeEscape ? 2 /* JsxAttributeEscape */ : 0) | (printerOptions.terminateUnterminatedLiterals ? 4 /* TerminateUnterminatedLiterals */ : 0) | (printerOptions.target && printerOptions.target === 99 /* ESNext */ ? 8 /* AllowNumericSeparator */ : 0);\n    return getLiteralText(node, currentSourceFile, flags);\n  }\n  function pushNameGenerationScope(node) {\n    if (node && getEmitFlags(node) & 524288 /* ReuseTempVariableScope */) {\n      return;\n    }\n    tempFlagsStack.push(tempFlags);\n    tempFlags = TempFlags.Auto;\n    privateNameTempFlagsStack.push(privateNameTempFlags);\n    privateNameTempFlags = TempFlags.Auto;\n    formattedNameTempFlagsStack.push(formattedNameTempFlags);\n    formattedNameTempFlags = void 0;\n    reservedNamesStack.push(reservedNames);\n  }\n  function popNameGenerationScope(node) {\n    if (node && getEmitFlags(node) & 524288 /* ReuseTempVariableScope */) {\n      return;\n    }\n    tempFlags = tempFlagsStack.pop();\n    privateNameTempFlags = privateNameTempFlagsStack.pop();\n    formattedNameTempFlags = formattedNameTempFlagsStack.pop();\n    reservedNames = reservedNamesStack.pop();\n  }\n  function reserveNameInNestedScopes(name) {\n    if (!reservedNames || reservedNames === lastOrUndefined(reservedNamesStack)) {\n      reservedNames = new Set2();\n    }\n    reservedNames.add(name);\n  }\n  function generateNames(node) {\n    if (!node)\n      return;\n    switch (node.kind) {\n      case 242 /* Block */:\n        forEach(node.statements, generateNames);\n        break;\n      case 257 /* LabeledStatement */:\n      case 255 /* WithStatement */:\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n        generateNames(node.statement);\n        break;\n      case 246 /* IfStatement */:\n        generateNames(node.thenStatement);\n        generateNames(node.elseStatement);\n        break;\n      case 249 /* ForStatement */:\n      case 251 /* ForOfStatement */:\n      case 250 /* ForInStatement */:\n        generateNames(node.initializer);\n        generateNames(node.statement);\n        break;\n      case 256 /* SwitchStatement */:\n        generateNames(node.caseBlock);\n        break;\n      case 272 /* CaseBlock */:\n        forEach(node.clauses, generateNames);\n        break;\n      case 298 /* CaseClause */:\n      case 299 /* DefaultClause */:\n        forEach(node.statements, generateNames);\n        break;\n      case 259 /* TryStatement */:\n        generateNames(node.tryBlock);\n        generateNames(node.catchClause);\n        generateNames(node.finallyBlock);\n        break;\n      case 301 /* CatchClause */:\n        generateNames(node.variableDeclaration);\n        generateNames(node.block);\n        break;\n      case 244 /* VariableStatement */:\n        generateNames(node.declarationList);\n        break;\n      case 262 /* VariableDeclarationList */:\n        forEach(node.declarations, generateNames);\n        break;\n      case 261 /* VariableDeclaration */:\n      case 168 /* Parameter */:\n      case 208 /* BindingElement */:\n      case 264 /* ClassDeclaration */:\n        generateNameIfNeeded(node.name);\n        break;\n      case 263 /* FunctionDeclaration */:\n        generateNameIfNeeded(node.name);\n        if (getEmitFlags(node) & 524288 /* ReuseTempVariableScope */) {\n          forEach(node.parameters, generateNames);\n          generateNames(node.body);\n        }\n        break;\n      case 206 /* ObjectBindingPattern */:\n      case 207 /* ArrayBindingPattern */:\n        forEach(node.elements, generateNames);\n        break;\n      case 275 /* ImportDeclaration */:\n        generateNames(node.importClause);\n        break;\n      case 276 /* ImportClause */:\n        generateNameIfNeeded(node.name);\n        generateNames(node.namedBindings);\n        break;\n      case 277 /* NamespaceImport */:\n        generateNameIfNeeded(node.name);\n        break;\n      case 283 /* NamespaceExport */:\n        generateNameIfNeeded(node.name);\n        break;\n      case 278 /* NamedImports */:\n        forEach(node.elements, generateNames);\n        break;\n      case 279 /* ImportSpecifier */:\n        generateNameIfNeeded(node.propertyName || node.name);\n        break;\n    }\n  }\n  function generateMemberNames(node) {\n    if (!node)\n      return;\n    switch (node.kind) {\n      case 305 /* PropertyAssignment */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 171 /* PropertyDeclaration */:\n      case 172 /* AnnotationPropertyDeclaration */:\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        generateNameIfNeeded(node.name);\n        break;\n    }\n  }\n  function generateNameIfNeeded(name) {\n    if (name) {\n      if (isGeneratedIdentifier(name) || isGeneratedPrivateIdentifier(name)) {\n        generateName(name);\n      } else if (isBindingPattern(name)) {\n        generateNames(name);\n      }\n    }\n  }\n  function generateName(name) {\n    if ((name.autoGenerateFlags & 7 /* KindMask */) === 4 /* Node */) {\n      return generateNameCached(getNodeForGeneratedName(name), isPrivateIdentifier(name), name.autoGenerateFlags, name.autoGeneratePrefix, name.autoGenerateSuffix);\n    } else {\n      const autoGenerateId = name.autoGenerateId;\n      return autoGeneratedIdToGeneratedName[autoGenerateId] || (autoGeneratedIdToGeneratedName[autoGenerateId] = makeName(name));\n    }\n  }\n  function generateNameCached(node, privateName, flags, prefix, suffix) {\n    const nodeId = getNodeId(node);\n    return nodeIdToGeneratedName[nodeId] || (nodeIdToGeneratedName[nodeId] = generateNameForNode(node, privateName, flags != null ? flags : 0 /* None */, formatGeneratedNamePart(prefix, generateName), formatGeneratedNamePart(suffix)));\n  }\n  function isUniqueName(name) {\n    return isFileLevelUniqueName2(name) && !generatedNames.has(name) && !(reservedNames && reservedNames.has(name));\n  }\n  function isFileLevelUniqueName2(name) {\n    return currentSourceFile ? isFileLevelUniqueName(currentSourceFile, name, hasGlobalName) : true;\n  }\n  function isUniqueLocalName(name, container) {\n    for (let node = container; isNodeDescendantOf(node, container); node = node.nextContainer) {\n      if (node.locals) {\n        const local = node.locals.get(escapeLeadingUnderscores(name));\n        if (local && local.flags & (111551 /* Value */ | 1048576 /* ExportValue */ | 2097152 /* Alias */)) {\n          return false;\n        }\n      }\n    }\n    return true;\n  }\n  function getTempFlags(formattedNameKey) {\n    var _a2;\n    switch (formattedNameKey) {\n      case \"\":\n        return tempFlags;\n      case \"#\":\n        return privateNameTempFlags;\n      default:\n        return (_a2 = formattedNameTempFlags == null ? void 0 : formattedNameTempFlags.get(formattedNameKey)) != null ? _a2 : TempFlags.Auto;\n    }\n  }\n  function setTempFlags(formattedNameKey, flags) {\n    switch (formattedNameKey) {\n      case \"\":\n        tempFlags = flags;\n        break;\n      case \"#\":\n        privateNameTempFlags = flags;\n        break;\n      default:\n        formattedNameTempFlags != null ? formattedNameTempFlags : formattedNameTempFlags = new Map2();\n        formattedNameTempFlags.set(formattedNameKey, flags);\n        break;\n    }\n  }\n  function makeTempVariableName(flags, reservedInNestedScopes, privateName, prefix, suffix) {\n    if (prefix.length > 0 && prefix.charCodeAt(0) === 35 /* hash */) {\n      prefix = prefix.slice(1);\n    }\n    const key = formatGeneratedName(privateName, prefix, \"\", suffix);\n    let tempFlags2 = getTempFlags(key);\n    if (flags && !(tempFlags2 & flags)) {\n      const name = flags === TempFlags._i ? \"_i\" : \"_n\";\n      const fullName = formatGeneratedName(privateName, prefix, name, suffix);\n      if (isUniqueName(fullName)) {\n        tempFlags2 |= flags;\n        if (reservedInNestedScopes) {\n          reserveNameInNestedScopes(fullName);\n        }\n        setTempFlags(key, tempFlags2);\n        return fullName;\n      }\n    }\n    while (true) {\n      const count = tempFlags2 & TempFlags.CountMask;\n      tempFlags2++;\n      if (count !== 8 && count !== 13) {\n        const name = count < 26 ? \"_\" + String.fromCharCode(97 /* a */ + count) : \"_\" + (count - 26);\n        const fullName = formatGeneratedName(privateName, prefix, name, suffix);\n        if (isUniqueName(fullName)) {\n          if (reservedInNestedScopes) {\n            reserveNameInNestedScopes(fullName);\n          }\n          setTempFlags(key, tempFlags2);\n          return fullName;\n        }\n      }\n    }\n  }\n  function makeUniqueName2(baseName, checkFn = isUniqueName, optimistic, scoped, privateName, prefix, suffix) {\n    if (baseName.length > 0 && baseName.charCodeAt(0) === 35 /* hash */) {\n      baseName = baseName.slice(1);\n    }\n    if (prefix.length > 0 && prefix.charCodeAt(0) === 35 /* hash */) {\n      prefix = prefix.slice(1);\n    }\n    if (optimistic) {\n      const fullName = formatGeneratedName(privateName, prefix, baseName, suffix);\n      if (checkFn(fullName)) {\n        if (scoped) {\n          reserveNameInNestedScopes(fullName);\n        } else {\n          generatedNames.add(fullName);\n        }\n        return fullName;\n      }\n    }\n    if (baseName.charCodeAt(baseName.length - 1) !== 95 /* _ */) {\n      baseName += \"_\";\n    }\n    let i = 1;\n    while (true) {\n      const fullName = formatGeneratedName(privateName, prefix, baseName + i, suffix);\n      if (checkFn(fullName)) {\n        if (scoped) {\n          reserveNameInNestedScopes(fullName);\n        } else {\n          generatedNames.add(fullName);\n        }\n        return fullName;\n      }\n      i++;\n    }\n  }\n  function makeFileLevelOptimisticUniqueName(name) {\n    return makeUniqueName2(name, isFileLevelUniqueName2, true, false, false, \"\", \"\");\n  }\n  function generateNameForModuleOrEnum(node) {\n    const name = getTextOfNode2(node.name);\n    return isUniqueLocalName(name, node) ? name : makeUniqueName2(name, isUniqueName, false, false, false, \"\", \"\");\n  }\n  function generateNameForImportOrExportDeclaration(node) {\n    const expr = getExternalModuleName(node);\n    const baseName = isStringLiteral(expr) ? makeIdentifierFromModuleName(expr.text) : \"module\";\n    return makeUniqueName2(baseName, isUniqueName, false, false, false, \"\", \"\");\n  }\n  function generateNameForExportDefault() {\n    return makeUniqueName2(\"default\", isUniqueName, false, false, false, \"\", \"\");\n  }\n  function generateNameForClassExpression() {\n    return makeUniqueName2(\"class\", isUniqueName, false, false, false, \"\", \"\");\n  }\n  function generateNameForMethodOrAccessor(node, privateName, prefix, suffix) {\n    if (isIdentifier(node.name)) {\n      return generateNameCached(node.name, privateName);\n    }\n    return makeTempVariableName(TempFlags.Auto, false, privateName, prefix, suffix);\n  }\n  function generateNameForNode(node, privateName, flags, prefix, suffix) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n      case 80 /* PrivateIdentifier */:\n        return makeUniqueName2(\n          getTextOfNode2(node),\n          isUniqueName,\n          !!(flags & 16 /* Optimistic */),\n          !!(flags & 8 /* ReservedInNestedScopes */),\n          privateName,\n          prefix,\n          suffix\n        );\n      case 270 /* ModuleDeclaration */:\n      case 269 /* EnumDeclaration */:\n        Debug.assert(!prefix && !suffix && !privateName);\n        return generateNameForModuleOrEnum(node);\n      case 275 /* ImportDeclaration */:\n      case 281 /* ExportDeclaration */:\n        Debug.assert(!prefix && !suffix && !privateName);\n        return generateNameForImportOrExportDeclaration(node);\n      case 263 /* FunctionDeclaration */:\n      case 264 /* ClassDeclaration */:\n      case 280 /* ExportAssignment */:\n        Debug.assert(!prefix && !suffix && !privateName);\n        return generateNameForExportDefault();\n      case 232 /* ClassExpression */:\n        Debug.assert(!prefix && !suffix && !privateName);\n        return generateNameForClassExpression();\n      case 174 /* MethodDeclaration */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return generateNameForMethodOrAccessor(node, privateName, prefix, suffix);\n      case 166 /* ComputedPropertyName */:\n        return makeTempVariableName(TempFlags.Auto, true, privateName, prefix, suffix);\n      default:\n        return makeTempVariableName(TempFlags.Auto, false, privateName, prefix, suffix);\n    }\n  }\n  function makeName(name) {\n    const prefix = formatGeneratedNamePart(name.autoGeneratePrefix, generateName);\n    const suffix = formatGeneratedNamePart(name.autoGenerateSuffix);\n    switch (name.autoGenerateFlags & 7 /* KindMask */) {\n      case 1 /* Auto */:\n        return makeTempVariableName(TempFlags.Auto, !!(name.autoGenerateFlags & 8 /* ReservedInNestedScopes */), isPrivateIdentifier(name), prefix, suffix);\n      case 2 /* Loop */:\n        Debug.assertNode(name, isIdentifier);\n        return makeTempVariableName(TempFlags._i, !!(name.autoGenerateFlags & 8 /* ReservedInNestedScopes */), false, prefix, suffix);\n      case 3 /* Unique */:\n        return makeUniqueName2(\n          idText(name),\n          name.autoGenerateFlags & 32 /* FileLevel */ ? isFileLevelUniqueName2 : isUniqueName,\n          !!(name.autoGenerateFlags & 16 /* Optimistic */),\n          !!(name.autoGenerateFlags & 8 /* ReservedInNestedScopes */),\n          isPrivateIdentifier(name),\n          prefix,\n          suffix\n        );\n    }\n    return Debug.fail(`Unsupported GeneratedIdentifierKind: ${Debug.formatEnum(name.autoGenerateFlags & 7 /* KindMask */, GeneratedIdentifierFlags, true)}.`);\n  }\n  function pipelineEmitWithComments(hint, node) {\n    const pipelinePhase = getNextPipelinePhase(2 /* Comments */, hint, node);\n    const savedContainerPos = containerPos;\n    const savedContainerEnd = containerEnd;\n    const savedDeclarationListContainerEnd = declarationListContainerEnd;\n    if (needToKeepComments(node)) {\n      emitCommentsBeforeNode(node);\n    }\n    pipelinePhase(hint, node);\n    emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n  }\n  function needToKeepComments(node) {\n    var _a2;\n    if (removeCommentsCollection === void 0 && universalRemoveCommentsCollection === void 0) {\n      return true;\n    }\n    let escapedText = (_a2 = node == null ? void 0 : node.name) == null ? void 0 : _a2.escapedText;\n    if (!escapedText) {\n      return false;\n    }\n    if (removeCommentsCollection == null ? void 0 : removeCommentsCollection.includes(escapedText)) {\n      return true;\n    }\n    if (universalRemoveCommentsCollection) {\n      return isMatchWildcard(universalRemoveCommentsCollection, escapedText);\n    }\n    return false;\n  }\n  function isMatchWildcard(wildcardArray, item) {\n    for (const wildcard of wildcardArray) {\n      if (wildcard.test(item)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function emitCommentsBeforeNode(node) {\n    const emitFlags = getEmitFlags(node);\n    const commentRange = getCommentRange(node);\n    emitLeadingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end);\n    if (emitFlags & 2048 /* NoNestedComments */) {\n      commentsDisabled = true;\n    }\n  }\n  function emitCommentsAfterNode(node, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) {\n    const emitFlags = getEmitFlags(node);\n    const commentRange = getCommentRange(node);\n    if (emitFlags & 2048 /* NoNestedComments */) {\n      commentsDisabled = false;\n    }\n    emitTrailingCommentsOfNode(node, emitFlags, commentRange.pos, commentRange.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n    const typeNode = getTypeNode(node);\n    if (typeNode) {\n      emitTrailingCommentsOfNode(node, emitFlags, typeNode.pos, typeNode.end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd);\n    }\n  }\n  function emitLeadingCommentsOfNode(node, emitFlags, pos, end) {\n    enterComment();\n    hasWrittenComment = false;\n    const skipLeadingComments = pos < 0 || (emitFlags & 512 /* NoLeadingComments */) !== 0 || node.kind === 11 /* JsxText */;\n    const skipTrailingComments = end < 0 || (emitFlags & 1024 /* NoTrailingComments */) !== 0 || node.kind === 11 /* JsxText */;\n    if ((pos > 0 || end > 0) && pos !== end) {\n      if (!skipLeadingComments) {\n        emitLeadingComments(pos, node.kind !== 358 /* NotEmittedStatement */);\n      }\n      if (!skipLeadingComments || pos >= 0 && (emitFlags & 512 /* NoLeadingComments */) !== 0) {\n        containerPos = pos;\n      }\n      if (!skipTrailingComments || end >= 0 && (emitFlags & 1024 /* NoTrailingComments */) !== 0) {\n        containerEnd = end;\n        if (node.kind === 262 /* VariableDeclarationList */) {\n          declarationListContainerEnd = end;\n        }\n      }\n    }\n    forEach(getSyntheticLeadingComments(node), emitLeadingSynthesizedComment);\n    exitComment();\n  }\n  function emitTrailingCommentsOfNode(node, emitFlags, pos, end, savedContainerPos, savedContainerEnd, savedDeclarationListContainerEnd) {\n    enterComment();\n    const skipTrailingComments = end < 0 || (emitFlags & 1024 /* NoTrailingComments */) !== 0 || node.kind === 11 /* JsxText */;\n    forEach(getSyntheticTrailingComments(node), emitTrailingSynthesizedComment);\n    if ((pos > 0 || end > 0) && pos !== end) {\n      containerPos = savedContainerPos;\n      containerEnd = savedContainerEnd;\n      declarationListContainerEnd = savedDeclarationListContainerEnd;\n      if (!skipTrailingComments && node.kind !== 358 /* NotEmittedStatement */) {\n        emitTrailingComments(end);\n      }\n    }\n    exitComment();\n  }\n  function emitLeadingSynthesizedComment(comment) {\n    if (comment.hasLeadingNewline || comment.kind === 2 /* SingleLineCommentTrivia */) {\n      writer.writeLine();\n    }\n    writeSynthesizedComment(comment);\n    if (comment.hasTrailingNewLine || comment.kind === 2 /* SingleLineCommentTrivia */) {\n      writer.writeLine();\n    } else {\n      writer.writeSpace(\" \");\n    }\n  }\n  function emitTrailingSynthesizedComment(comment) {\n    if (!writer.isAtStartOfLine()) {\n      writer.writeSpace(\" \");\n    }\n    writeSynthesizedComment(comment);\n    if (comment.hasTrailingNewLine) {\n      writer.writeLine();\n    }\n  }\n  function writeSynthesizedComment(comment) {\n    const text = formatSynthesizedComment(comment);\n    const lineMap = comment.kind === 3 /* MultiLineCommentTrivia */ ? computeLineStarts(text) : void 0;\n    writeCommentRange(text, lineMap, writer, 0, text.length, newLine);\n  }\n  function formatSynthesizedComment(comment) {\n    return comment.kind === 3 /* MultiLineCommentTrivia */ ? `/*${comment.text}*/` : `//${comment.text}`;\n  }\n  function emitBodyWithDetachedComments(node, detachedRange, emitCallback) {\n    enterComment();\n    const { pos, end } = detachedRange;\n    const emitFlags = getEmitFlags(node);\n    const skipLeadingComments = pos < 0 || (emitFlags & 512 /* NoLeadingComments */) !== 0;\n    const skipTrailingComments = commentsDisabled || end < 0 || (emitFlags & 1024 /* NoTrailingComments */) !== 0;\n    if (!skipLeadingComments) {\n      emitDetachedCommentsAndUpdateCommentsInfo(detachedRange);\n    }\n    exitComment();\n    if (emitFlags & 2048 /* NoNestedComments */ && !commentsDisabled) {\n      commentsDisabled = true;\n      emitCallback(node);\n      commentsDisabled = false;\n    } else {\n      emitCallback(node);\n    }\n    enterComment();\n    if (!skipTrailingComments) {\n      emitLeadingComments(detachedRange.end, true);\n      if (hasWrittenComment && !writer.isAtStartOfLine()) {\n        writer.writeLine();\n      }\n    }\n    exitComment();\n  }\n  function originalNodesHaveSameParent(nodeA, nodeB) {\n    nodeA = getOriginalNode(nodeA);\n    return nodeA.parent && nodeA.parent === getOriginalNode(nodeB).parent;\n  }\n  function siblingNodePositionsAreComparable(previousNode, nextNode) {\n    if (nextNode.pos < previousNode.end) {\n      return false;\n    }\n    previousNode = getOriginalNode(previousNode);\n    nextNode = getOriginalNode(nextNode);\n    const parent2 = previousNode.parent;\n    if (!parent2 || parent2 !== nextNode.parent) {\n      return false;\n    }\n    const parentNodeArray = getContainingNodeArray(previousNode);\n    const prevNodeIndex = parentNodeArray == null ? void 0 : parentNodeArray.indexOf(previousNode);\n    return prevNodeIndex !== void 0 && prevNodeIndex > -1 && parentNodeArray.indexOf(nextNode) === prevNodeIndex + 1;\n  }\n  function emitLeadingComments(pos, isEmittedNode) {\n    hasWrittenComment = false;\n    if (isEmittedNode) {\n      if (pos === 0 && (currentSourceFile == null ? void 0 : currentSourceFile.isDeclarationFile)) {\n        forEachLeadingCommentToEmit(pos, emitNonTripleSlashLeadingComment);\n      } else {\n        forEachLeadingCommentToEmit(pos, emitLeadingComment);\n      }\n    } else if (pos === 0) {\n      forEachLeadingCommentToEmit(pos, emitTripleSlashLeadingComment);\n    }\n  }\n  function emitTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {\n    if (isTripleSlashComment(commentPos, commentEnd)) {\n      emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos);\n    }\n  }\n  function emitNonTripleSlashLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {\n    if (!isTripleSlashComment(commentPos, commentEnd)) {\n      emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos);\n    }\n  }\n  function shouldWriteComment(text, pos) {\n    if (printerOptions.onlyPrintJsDocStyle) {\n      return isJSDocLikeText(text, pos) || isPinnedComment(text, pos);\n    }\n    return true;\n  }\n  function emitLeadingComment(commentPos, commentEnd, kind, hasTrailingNewLine, rangePos) {\n    if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))\n      return;\n    if (!hasWrittenComment) {\n      emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(), writer, rangePos, commentPos);\n      hasWrittenComment = true;\n    }\n    emitPos(commentPos);\n    writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n    emitPos(commentEnd);\n    if (hasTrailingNewLine) {\n      writer.writeLine();\n    } else if (kind === 3 /* MultiLineCommentTrivia */) {\n      writer.writeSpace(\" \");\n    }\n  }\n  function emitLeadingCommentsOfPosition(pos) {\n    if (commentsDisabled || pos === -1) {\n      return;\n    }\n    emitLeadingComments(pos, true);\n  }\n  function emitTrailingComments(pos) {\n    forEachTrailingCommentToEmit(pos, emitTrailingComment);\n  }\n  function emitTrailingComment(commentPos, commentEnd, _kind, hasTrailingNewLine) {\n    if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))\n      return;\n    if (!writer.isAtStartOfLine()) {\n      writer.writeSpace(\" \");\n    }\n    emitPos(commentPos);\n    writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n    emitPos(commentEnd);\n    if (hasTrailingNewLine) {\n      writer.writeLine();\n    }\n  }\n  function emitTrailingCommentsOfPosition(pos, prefixSpace, forceNoNewline) {\n    if (commentsDisabled) {\n      return;\n    }\n    enterComment();\n    forEachTrailingCommentToEmit(pos, prefixSpace ? emitTrailingComment : forceNoNewline ? emitTrailingCommentOfPositionNoNewline : emitTrailingCommentOfPosition);\n    exitComment();\n  }\n  function emitTrailingCommentOfPositionNoNewline(commentPos, commentEnd, kind) {\n    if (!currentSourceFile)\n      return;\n    emitPos(commentPos);\n    writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n    emitPos(commentEnd);\n    if (kind === 2 /* SingleLineCommentTrivia */) {\n      writer.writeLine();\n    }\n  }\n  function emitTrailingCommentOfPosition(commentPos, commentEnd, _kind, hasTrailingNewLine) {\n    if (!currentSourceFile)\n      return;\n    emitPos(commentPos);\n    writeCommentRange(currentSourceFile.text, getCurrentLineMap(), writer, commentPos, commentEnd, newLine);\n    emitPos(commentEnd);\n    if (hasTrailingNewLine) {\n      writer.writeLine();\n    } else {\n      writer.writeSpace(\" \");\n    }\n  }\n  function forEachLeadingCommentToEmit(pos, cb) {\n    if (currentSourceFile && (containerPos === -1 || pos !== containerPos)) {\n      if (hasDetachedComments(pos)) {\n        forEachLeadingCommentWithoutDetachedComments(cb);\n      } else {\n        forEachLeadingCommentRange(currentSourceFile.text, pos, cb, pos);\n      }\n    }\n  }\n  function forEachTrailingCommentToEmit(end, cb) {\n    if (currentSourceFile && (containerEnd === -1 || end !== containerEnd && end !== declarationListContainerEnd)) {\n      forEachTrailingCommentRange(currentSourceFile.text, end, cb);\n    }\n  }\n  function hasDetachedComments(pos) {\n    return detachedCommentsInfo !== void 0 && last(detachedCommentsInfo).nodePos === pos;\n  }\n  function forEachLeadingCommentWithoutDetachedComments(cb) {\n    if (!currentSourceFile)\n      return;\n    const pos = last(detachedCommentsInfo).detachedCommentEndPos;\n    if (detachedCommentsInfo.length - 1) {\n      detachedCommentsInfo.pop();\n    } else {\n      detachedCommentsInfo = void 0;\n    }\n    forEachLeadingCommentRange(currentSourceFile.text, pos, cb, pos);\n  }\n  function emitDetachedCommentsAndUpdateCommentsInfo(range) {\n    const currentDetachedCommentInfo = currentSourceFile && emitDetachedComments(currentSourceFile.text, getCurrentLineMap(), writer, emitComment, range, newLine, commentsDisabled);\n    if (currentDetachedCommentInfo) {\n      if (detachedCommentsInfo) {\n        detachedCommentsInfo.push(currentDetachedCommentInfo);\n      } else {\n        detachedCommentsInfo = [currentDetachedCommentInfo];\n      }\n    }\n  }\n  function emitComment(text, lineMap, writer2, commentPos, commentEnd, newLine2) {\n    if (!currentSourceFile || !shouldWriteComment(currentSourceFile.text, commentPos))\n      return;\n    emitPos(commentPos);\n    writeCommentRange(text, lineMap, writer2, commentPos, commentEnd, newLine2);\n    emitPos(commentEnd);\n  }\n  function isTripleSlashComment(commentPos, commentEnd) {\n    return !!currentSourceFile && isRecognizedTripleSlashComment(currentSourceFile.text, commentPos, commentEnd);\n  }\n  function getParsedSourceMap(node) {\n    if (node.parsedSourceMap === void 0 && node.sourceMapText !== void 0) {\n      node.parsedSourceMap = tryParseRawSourceMap(node.sourceMapText) || false;\n    }\n    return node.parsedSourceMap || void 0;\n  }\n  function pipelineEmitWithSourceMaps(hint, node) {\n    const pipelinePhase = getNextPipelinePhase(3 /* SourceMaps */, hint, node);\n    emitSourceMapsBeforeNode(node);\n    pipelinePhase(hint, node);\n    emitSourceMapsAfterNode(node);\n  }\n  function emitSourceMapsBeforeNode(node) {\n    const emitFlags = getEmitFlags(node);\n    const sourceMapRange = getSourceMapRange(node);\n    if (isUnparsedNode(node)) {\n      Debug.assertIsDefined(node.parent, \"UnparsedNodes must have parent pointers\");\n      const parsed = getParsedSourceMap(node.parent);\n      if (parsed && sourceMapGenerator) {\n        sourceMapGenerator.appendSourceMap(\n          writer.getLine(),\n          writer.getColumn(),\n          parsed,\n          node.parent.sourceMapPath,\n          node.parent.getLineAndCharacterOfPosition(node.pos),\n          node.parent.getLineAndCharacterOfPosition(node.end)\n        );\n      }\n    } else {\n      const source = sourceMapRange.source || sourceMapSource;\n      if (node.kind !== 358 /* NotEmittedStatement */ && (emitFlags & 16 /* NoLeadingSourceMap */) === 0 && sourceMapRange.pos >= 0) {\n        emitSourcePos(sourceMapRange.source || sourceMapSource, skipSourceTrivia(source, sourceMapRange.pos));\n      }\n      if (emitFlags & 64 /* NoNestedSourceMaps */) {\n        sourceMapsDisabled = true;\n      }\n    }\n  }\n  function emitSourceMapsAfterNode(node) {\n    const emitFlags = getEmitFlags(node);\n    const sourceMapRange = getSourceMapRange(node);\n    if (!isUnparsedNode(node)) {\n      if (emitFlags & 64 /* NoNestedSourceMaps */) {\n        sourceMapsDisabled = false;\n      }\n      if (node.kind !== 358 /* NotEmittedStatement */ && (emitFlags & 32 /* NoTrailingSourceMap */) === 0 && sourceMapRange.end >= 0) {\n        emitSourcePos(sourceMapRange.source || sourceMapSource, sourceMapRange.end);\n      }\n    }\n  }\n  function skipSourceTrivia(source, pos) {\n    return source.skipTrivia ? source.skipTrivia(pos) : skipTrivia(source.text, pos);\n  }\n  function emitPos(pos) {\n    if (sourceMapsDisabled || positionIsSynthesized(pos) || isJsonSourceMapSource(sourceMapSource)) {\n      return;\n    }\n    const { line: sourceLine, character: sourceCharacter } = getLineAndCharacterOfPosition(sourceMapSource, pos);\n    sourceMapGenerator.addMapping(\n      writer.getLine(),\n      writer.getColumn(),\n      sourceMapSourceIndex,\n      sourceLine,\n      sourceCharacter,\n      void 0\n    );\n  }\n  function emitSourcePos(source, pos) {\n    if (source !== sourceMapSource) {\n      const savedSourceMapSource = sourceMapSource;\n      const savedSourceMapSourceIndex = sourceMapSourceIndex;\n      setSourceMapSource(source);\n      emitPos(pos);\n      resetSourceMapSource(savedSourceMapSource, savedSourceMapSourceIndex);\n    } else {\n      emitPos(pos);\n    }\n  }\n  function emitTokenWithSourceMap(node, token, writer2, tokenPos, emitCallback) {\n    if (sourceMapsDisabled || node && isInJsonFile(node)) {\n      return emitCallback(token, writer2, tokenPos);\n    }\n    const emitNode = node && node.emitNode;\n    const emitFlags = emitNode && emitNode.flags || 0 /* None */;\n    const range = emitNode && emitNode.tokenSourceMapRanges && emitNode.tokenSourceMapRanges[token];\n    const source = range && range.source || sourceMapSource;\n    tokenPos = skipSourceTrivia(source, range ? range.pos : tokenPos);\n    if ((emitFlags & 128 /* NoTokenLeadingSourceMaps */) === 0 && tokenPos >= 0) {\n      emitSourcePos(source, tokenPos);\n    }\n    tokenPos = emitCallback(token, writer2, tokenPos);\n    if (range)\n      tokenPos = range.end;\n    if ((emitFlags & 256 /* NoTokenTrailingSourceMaps */) === 0 && tokenPos >= 0) {\n      emitSourcePos(source, tokenPos);\n    }\n    return tokenPos;\n  }\n  function setSourceMapSource(source) {\n    if (sourceMapsDisabled) {\n      return;\n    }\n    sourceMapSource = source;\n    if (source === mostRecentlyAddedSourceMapSource) {\n      sourceMapSourceIndex = mostRecentlyAddedSourceMapSourceIndex;\n      return;\n    }\n    if (isJsonSourceMapSource(source)) {\n      return;\n    }\n    sourceMapSourceIndex = sourceMapGenerator.addSource(source.fileName);\n    if (printerOptions.inlineSources) {\n      sourceMapGenerator.setSourceContent(sourceMapSourceIndex, source.text);\n    }\n    mostRecentlyAddedSourceMapSource = source;\n    mostRecentlyAddedSourceMapSourceIndex = sourceMapSourceIndex;\n  }\n  function resetSourceMapSource(source, sourceIndex) {\n    sourceMapSource = source;\n    sourceMapSourceIndex = sourceIndex;\n  }\n  function isJsonSourceMapSource(sourceFile) {\n    return fileExtensionIs(sourceFile.fileName, \".json\" /* Json */);\n  }\n}\nfunction createBracketsMap() {\n  const brackets2 = [];\n  brackets2[1024 /* Braces */] = [\"{\", \"}\"];\n  brackets2[2048 /* Parenthesis */] = [\"(\", \")\"];\n  brackets2[4096 /* AngleBrackets */] = [\"<\", \">\"];\n  brackets2[8192 /* SquareBrackets */] = [\"[\", \"]\"];\n  return brackets2;\n}\nfunction getOpeningBracket(format) {\n  return brackets[format & 15360 /* BracketsMask */][0];\n}\nfunction getClosingBracket(format) {\n  return brackets[format & 15360 /* BracketsMask */][1];\n}\nvar TempFlags = /* @__PURE__ */ ((TempFlags2) => {\n  TempFlags2[TempFlags2[\"Auto\"] = 0] = \"Auto\";\n  TempFlags2[TempFlags2[\"CountMask\"] = 268435455] = \"CountMask\";\n  TempFlags2[TempFlags2[\"_i\"] = 268435456] = \"_i\";\n  return TempFlags2;\n})(TempFlags || {});\nfunction emitListItemNoParenthesizer(node, emit, _parenthesizerRule, _index) {\n  emit(node);\n}\nfunction emitListItemWithParenthesizerRuleSelector(node, emit, parenthesizerRuleSelector, index) {\n  emit(node, parenthesizerRuleSelector.select(index));\n}\nfunction emitListItemWithParenthesizerRule(node, emit, parenthesizerRule, _index) {\n  emit(node, parenthesizerRule);\n}\nfunction getEmitListItem(emit, parenthesizerRule) {\n  return emit.length === 1 ? emitListItemNoParenthesizer : typeof parenthesizerRule === \"object\" ? emitListItemWithParenthesizerRuleSelector : emitListItemWithParenthesizerRule;\n}\n\n// src/compiler/watchUtilities.ts\nfunction createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames) {\n  if (!host.getDirectories || !host.readDirectory) {\n    return void 0;\n  }\n  const cachedReadDirectoryResult = new Map2();\n  const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  return {\n    useCaseSensitiveFileNames,\n    fileExists,\n    readFile: (path, encoding) => host.readFile(path, encoding),\n    directoryExists: host.directoryExists && directoryExists,\n    getDirectories,\n    readDirectory,\n    createDirectory: host.createDirectory && createDirectory,\n    writeFile: host.writeFile && writeFile2,\n    addOrDeleteFileOrDirectory,\n    addOrDeleteFile,\n    clearCache,\n    realpath: host.realpath && realpath\n  };\n  function toPath3(fileName) {\n    return toPath(fileName, currentDirectory, getCanonicalFileName);\n  }\n  function getCachedFileSystemEntries(rootDirPath) {\n    return cachedReadDirectoryResult.get(ensureTrailingDirectorySeparator(rootDirPath));\n  }\n  function getCachedFileSystemEntriesForBaseDir(path) {\n    const entries = getCachedFileSystemEntries(getDirectoryPath(path));\n    if (!entries) {\n      return entries;\n    }\n    if (!entries.sortedAndCanonicalizedFiles) {\n      entries.sortedAndCanonicalizedFiles = entries.files.map(getCanonicalFileName).sort();\n      entries.sortedAndCanonicalizedDirectories = entries.directories.map(getCanonicalFileName).sort();\n    }\n    return entries;\n  }\n  function getBaseNameOfFileName(fileName) {\n    return getBaseFileName(normalizePath(fileName));\n  }\n  function createCachedFileSystemEntries(rootDir, rootDirPath) {\n    var _a2;\n    if (!host.realpath || ensureTrailingDirectorySeparator(toPath3(host.realpath(rootDir))) === rootDirPath) {\n      const resultFromHost = {\n        files: map(host.readDirectory(rootDir, void 0, void 0, [\"*.*\"]), getBaseNameOfFileName) || [],\n        directories: host.getDirectories(rootDir) || []\n      };\n      cachedReadDirectoryResult.set(ensureTrailingDirectorySeparator(rootDirPath), resultFromHost);\n      return resultFromHost;\n    }\n    if ((_a2 = host.directoryExists) == null ? void 0 : _a2.call(host, rootDir)) {\n      cachedReadDirectoryResult.set(rootDirPath, false);\n      return false;\n    }\n    return void 0;\n  }\n  function tryReadDirectory2(rootDir, rootDirPath) {\n    rootDirPath = ensureTrailingDirectorySeparator(rootDirPath);\n    const cachedResult = getCachedFileSystemEntries(rootDirPath);\n    if (cachedResult) {\n      return cachedResult;\n    }\n    try {\n      return createCachedFileSystemEntries(rootDir, rootDirPath);\n    } catch (_e) {\n      Debug.assert(!cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(rootDirPath)));\n      return void 0;\n    }\n  }\n  function hasEntry(entries, name) {\n    const index = binarySearch(entries, name, identity, compareStringsCaseSensitive);\n    return index >= 0;\n  }\n  function writeFile2(fileName, data, writeByteOrderMark) {\n    const path = toPath3(fileName);\n    const result = getCachedFileSystemEntriesForBaseDir(path);\n    if (result) {\n      updateFilesOfFileSystemEntry(result, getBaseNameOfFileName(fileName), true);\n    }\n    return host.writeFile(fileName, data, writeByteOrderMark);\n  }\n  function fileExists(fileName) {\n    const path = toPath3(fileName);\n    const result = getCachedFileSystemEntriesForBaseDir(path);\n    return result && hasEntry(result.sortedAndCanonicalizedFiles, getCanonicalFileName(getBaseNameOfFileName(fileName))) || host.fileExists(fileName);\n  }\n  function directoryExists(dirPath) {\n    const path = toPath3(dirPath);\n    return cachedReadDirectoryResult.has(ensureTrailingDirectorySeparator(path)) || host.directoryExists(dirPath);\n  }\n  function createDirectory(dirPath) {\n    const path = toPath3(dirPath);\n    const result = getCachedFileSystemEntriesForBaseDir(path);\n    if (result) {\n      const baseName = getBaseNameOfFileName(dirPath);\n      const canonicalizedBaseName = getCanonicalFileName(baseName);\n      const canonicalizedDirectories = result.sortedAndCanonicalizedDirectories;\n      if (insertSorted(canonicalizedDirectories, canonicalizedBaseName, compareStringsCaseSensitive)) {\n        result.directories.push(baseName);\n      }\n    }\n    host.createDirectory(dirPath);\n  }\n  function getDirectories(rootDir) {\n    const rootDirPath = toPath3(rootDir);\n    const result = tryReadDirectory2(rootDir, rootDirPath);\n    if (result) {\n      return result.directories.slice();\n    }\n    return host.getDirectories(rootDir);\n  }\n  function readDirectory(rootDir, extensions, excludes, includes, depth) {\n    const rootDirPath = toPath3(rootDir);\n    const rootResult = tryReadDirectory2(rootDir, rootDirPath);\n    let rootSymLinkResult;\n    if (rootResult !== void 0) {\n      return matchFiles(rootDir, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath);\n    }\n    return host.readDirectory(rootDir, extensions, excludes, includes, depth);\n    function getFileSystemEntries(dir) {\n      const path = toPath3(dir);\n      if (path === rootDirPath) {\n        return rootResult || getFileSystemEntriesFromHost(dir, path);\n      }\n      const result = tryReadDirectory2(dir, path);\n      return result !== void 0 ? result || getFileSystemEntriesFromHost(dir, path) : emptyFileSystemEntries;\n    }\n    function getFileSystemEntriesFromHost(dir, path) {\n      if (rootSymLinkResult && path === rootDirPath)\n        return rootSymLinkResult;\n      const result = {\n        files: map(host.readDirectory(dir, void 0, void 0, [\"*.*\"]), getBaseNameOfFileName) || emptyArray,\n        directories: host.getDirectories(dir) || emptyArray\n      };\n      if (path === rootDirPath)\n        rootSymLinkResult = result;\n      return result;\n    }\n  }\n  function realpath(s) {\n    return host.realpath ? host.realpath(s) : s;\n  }\n  function addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath) {\n    const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath);\n    if (existingResult !== void 0) {\n      clearCache();\n      return void 0;\n    }\n    const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath);\n    if (!parentResult) {\n      return void 0;\n    }\n    if (!host.directoryExists) {\n      clearCache();\n      return void 0;\n    }\n    const baseName = getBaseNameOfFileName(fileOrDirectory);\n    const fsQueryResult = {\n      fileExists: host.fileExists(fileOrDirectoryPath),\n      directoryExists: host.directoryExists(fileOrDirectoryPath)\n    };\n    if (fsQueryResult.directoryExists || hasEntry(parentResult.sortedAndCanonicalizedDirectories, getCanonicalFileName(baseName))) {\n      clearCache();\n    } else {\n      updateFilesOfFileSystemEntry(parentResult, baseName, fsQueryResult.fileExists);\n    }\n    return fsQueryResult;\n  }\n  function addOrDeleteFile(fileName, filePath, eventKind) {\n    if (eventKind === 1 /* Changed */) {\n      return;\n    }\n    const parentResult = getCachedFileSystemEntriesForBaseDir(filePath);\n    if (parentResult) {\n      updateFilesOfFileSystemEntry(parentResult, getBaseNameOfFileName(fileName), eventKind === 0 /* Created */);\n    }\n  }\n  function updateFilesOfFileSystemEntry(parentResult, baseName, fileExists2) {\n    const canonicalizedFiles = parentResult.sortedAndCanonicalizedFiles;\n    const canonicalizedBaseName = getCanonicalFileName(baseName);\n    if (fileExists2) {\n      if (insertSorted(canonicalizedFiles, canonicalizedBaseName, compareStringsCaseSensitive)) {\n        parentResult.files.push(baseName);\n      }\n    } else {\n      const sortedIndex = binarySearch(canonicalizedFiles, canonicalizedBaseName, identity, compareStringsCaseSensitive);\n      if (sortedIndex >= 0) {\n        canonicalizedFiles.splice(sortedIndex, 1);\n        const unsortedIndex = parentResult.files.findIndex((entry) => getCanonicalFileName(entry) === canonicalizedBaseName);\n        parentResult.files.splice(unsortedIndex, 1);\n      }\n    }\n  }\n  function clearCache() {\n    cachedReadDirectoryResult.clear();\n  }\n}\nvar ConfigFileProgramReloadLevel = /* @__PURE__ */ ((ConfigFileProgramReloadLevel2) => {\n  ConfigFileProgramReloadLevel2[ConfigFileProgramReloadLevel2[\"None\"] = 0] = \"None\";\n  ConfigFileProgramReloadLevel2[ConfigFileProgramReloadLevel2[\"Partial\"] = 1] = \"Partial\";\n  ConfigFileProgramReloadLevel2[ConfigFileProgramReloadLevel2[\"Full\"] = 2] = \"Full\";\n  return ConfigFileProgramReloadLevel2;\n})(ConfigFileProgramReloadLevel || {});\nfunction updateSharedExtendedConfigFileWatcher(projectPath, options, extendedConfigFilesMap, createExtendedConfigFileWatch, toPath3) {\n  var _a2;\n  const extendedConfigs = arrayToMap(((_a2 = options == null ? void 0 : options.configFile) == null ? void 0 : _a2.extendedSourceFiles) || emptyArray, toPath3);\n  extendedConfigFilesMap.forEach((watcher, extendedConfigFilePath) => {\n    if (!extendedConfigs.has(extendedConfigFilePath)) {\n      watcher.projects.delete(projectPath);\n      watcher.close();\n    }\n  });\n  extendedConfigs.forEach((extendedConfigFileName, extendedConfigFilePath) => {\n    const existing = extendedConfigFilesMap.get(extendedConfigFilePath);\n    if (existing) {\n      existing.projects.add(projectPath);\n    } else {\n      extendedConfigFilesMap.set(extendedConfigFilePath, {\n        projects: new Set2([projectPath]),\n        watcher: createExtendedConfigFileWatch(extendedConfigFileName, extendedConfigFilePath),\n        close: () => {\n          const existing2 = extendedConfigFilesMap.get(extendedConfigFilePath);\n          if (!existing2 || existing2.projects.size !== 0)\n            return;\n          existing2.watcher.close();\n          extendedConfigFilesMap.delete(extendedConfigFilePath);\n        }\n      });\n    }\n  });\n}\nfunction clearSharedExtendedConfigFileWatcher(projectPath, extendedConfigFilesMap) {\n  extendedConfigFilesMap.forEach((watcher) => {\n    if (watcher.projects.delete(projectPath))\n      watcher.close();\n  });\n}\nfunction cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3) {\n  if (!extendedConfigCache.delete(extendedConfigFilePath))\n    return;\n  extendedConfigCache.forEach(({ extendedResult }, key) => {\n    var _a2;\n    if ((_a2 = extendedResult.extendedSourceFiles) == null ? void 0 : _a2.some((extendedFile) => toPath3(extendedFile) === extendedConfigFilePath)) {\n      cleanExtendedConfigCache(extendedConfigCache, key, toPath3);\n    }\n  });\n}\nfunction updatePackageJsonWatch(lookups, packageJsonWatches, createPackageJsonWatch) {\n  const newMap = new Map2(lookups);\n  mutateMap(\n    packageJsonWatches,\n    newMap,\n    {\n      createNewValue: createPackageJsonWatch,\n      onDeleteValue: closeFileWatcher\n    }\n  );\n}\nfunction updateMissingFilePathsWatch(program, missingFileWatches, createMissingFileWatch) {\n  const missingFilePaths = program.getMissingFilePaths();\n  const newMissingFilePathMap = arrayToMap(missingFilePaths, identity, returnTrue);\n  mutateMap(\n    missingFileWatches,\n    newMissingFilePathMap,\n    {\n      createNewValue: createMissingFileWatch,\n      onDeleteValue: closeFileWatcher\n    }\n  );\n}\nfunction updateWatchingWildcardDirectories(existingWatchedForWildcards, wildcardDirectories, watchDirectory) {\n  mutateMap(\n    existingWatchedForWildcards,\n    wildcardDirectories,\n    {\n      createNewValue: createWildcardDirectoryWatcher,\n      onDeleteValue: closeFileWatcherOf,\n      onExistingValue: updateWildcardDirectoryWatcher\n    }\n  );\n  function createWildcardDirectoryWatcher(directory, flags) {\n    return {\n      watcher: watchDirectory(directory, flags),\n      flags\n    };\n  }\n  function updateWildcardDirectoryWatcher(existingWatcher, flags, directory) {\n    if (existingWatcher.flags === flags) {\n      return;\n    }\n    existingWatcher.watcher.close();\n    existingWatchedForWildcards.set(directory, createWildcardDirectoryWatcher(directory, flags));\n  }\n}\nfunction isIgnoredFileFromWildCardWatching({\n  watchedDirPath,\n  fileOrDirectory,\n  fileOrDirectoryPath,\n  configFileName,\n  options,\n  program,\n  extraFileExtensions,\n  currentDirectory,\n  useCaseSensitiveFileNames,\n  writeLog,\n  toPath: toPath3\n}) {\n  const newPath = removeIgnoredPath(fileOrDirectoryPath);\n  if (!newPath) {\n    writeLog(`Project: ${configFileName} Detected ignored path: ${fileOrDirectory}`);\n    return true;\n  }\n  fileOrDirectoryPath = newPath;\n  if (fileOrDirectoryPath === watchedDirPath)\n    return false;\n  if (hasExtension(fileOrDirectoryPath) && !isSupportedSourceFileName(fileOrDirectory, options, extraFileExtensions)) {\n    writeLog(`Project: ${configFileName} Detected file add/remove of non supported extension: ${fileOrDirectory}`);\n    return true;\n  }\n  if (isExcludedFile(fileOrDirectory, options.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), useCaseSensitiveFileNames, currentDirectory)) {\n    writeLog(`Project: ${configFileName} Detected excluded file: ${fileOrDirectory}`);\n    return true;\n  }\n  if (!program)\n    return false;\n  if (outFile(options) || options.outDir)\n    return false;\n  if (isDeclarationFileName(fileOrDirectoryPath)) {\n    if (options.declarationDir)\n      return false;\n  } else if (!fileExtensionIsOneOf(fileOrDirectoryPath, supportedJSExtensionsFlat)) {\n    return false;\n  }\n  const filePathWithoutExtension = removeFileExtension(fileOrDirectoryPath);\n  const realProgram = isArray(program) ? void 0 : isBuilderProgram(program) ? program.getProgramOrUndefined() : program;\n  const builderProgram = !realProgram && !isArray(program) ? program : void 0;\n  if (hasSourceFile(filePathWithoutExtension + \".ts\" /* Ts */) || hasSourceFile(filePathWithoutExtension + \".tsx\" /* Tsx */) || hasSourceFile(filePathWithoutExtension + \".ets\" /* Ets */)) {\n    writeLog(`Project: ${configFileName} Detected output file: ${fileOrDirectory}`);\n    return true;\n  }\n  return false;\n  function hasSourceFile(file) {\n    return realProgram ? !!realProgram.getSourceFileByPath(file) : builderProgram ? builderProgram.getState().fileInfos.has(file) : !!find(program, (rootFile) => toPath3(rootFile) === file);\n  }\n}\nfunction isBuilderProgram(program) {\n  return !!program.getState;\n}\nfunction isEmittedFileOfProgram(program, file) {\n  if (!program) {\n    return false;\n  }\n  return program.isEmittedFile(file);\n}\nvar WatchLogLevel = /* @__PURE__ */ ((WatchLogLevel2) => {\n  WatchLogLevel2[WatchLogLevel2[\"None\"] = 0] = \"None\";\n  WatchLogLevel2[WatchLogLevel2[\"TriggerOnly\"] = 1] = \"TriggerOnly\";\n  WatchLogLevel2[WatchLogLevel2[\"Verbose\"] = 2] = \"Verbose\";\n  return WatchLogLevel2;\n})(WatchLogLevel || {});\nfunction getWatchFactory(host, watchLogLevel, log, getDetailWatchInfo) {\n  setSysLog(watchLogLevel === 2 /* Verbose */ ? log : noop);\n  const plainInvokeFactory = {\n    watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInterval, options),\n    watchDirectory: (directory, callback, flags, options) => host.watchDirectory(directory, callback, (flags & 1 /* Recursive */) !== 0, options)\n  };\n  const triggerInvokingFactory = watchLogLevel !== 0 /* None */ ? {\n    watchFile: createTriggerLoggingAddWatch(\"watchFile\"),\n    watchDirectory: createTriggerLoggingAddWatch(\"watchDirectory\")\n  } : void 0;\n  const factory2 = watchLogLevel === 2 /* Verbose */ ? {\n    watchFile: createFileWatcherWithLogging,\n    watchDirectory: createDirectoryWatcherWithLogging\n  } : triggerInvokingFactory || plainInvokeFactory;\n  const excludeWatcherFactory = watchLogLevel === 2 /* Verbose */ ? createExcludeWatcherWithLogging : returnNoopFileWatcher;\n  return {\n    watchFile: createExcludeHandlingAddWatch(\"watchFile\"),\n    watchDirectory: createExcludeHandlingAddWatch(\"watchDirectory\")\n  };\n  function createExcludeHandlingAddWatch(key) {\n    return (file, cb, flags, options, detailInfo1, detailInfo2) => {\n      var _a2;\n      return !matchesExclude(file, key === \"watchFile\" ? options == null ? void 0 : options.excludeFiles : options == null ? void 0 : options.excludeDirectories, useCaseSensitiveFileNames(), ((_a2 = host.getCurrentDirectory) == null ? void 0 : _a2.call(host)) || \"\") ? factory2[key].call(void 0, file, cb, flags, options, detailInfo1, detailInfo2) : excludeWatcherFactory(file, flags, options, detailInfo1, detailInfo2);\n    };\n  }\n  function useCaseSensitiveFileNames() {\n    return typeof host.useCaseSensitiveFileNames === \"boolean\" ? host.useCaseSensitiveFileNames : host.useCaseSensitiveFileNames();\n  }\n  function createExcludeWatcherWithLogging(file, flags, options, detailInfo1, detailInfo2) {\n    log(`ExcludeWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`);\n    return {\n      close: () => log(`ExcludeWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`)\n    };\n  }\n  function createFileWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {\n    log(`FileWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`);\n    const watcher = triggerInvokingFactory.watchFile(file, cb, flags, options, detailInfo1, detailInfo2);\n    return {\n      close: () => {\n        log(`FileWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`);\n        watcher.close();\n      }\n    };\n  }\n  function createDirectoryWatcherWithLogging(file, cb, flags, options, detailInfo1, detailInfo2) {\n    const watchInfo = `DirectoryWatcher:: Added:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`;\n    log(watchInfo);\n    const start = timestamp();\n    const watcher = triggerInvokingFactory.watchDirectory(file, cb, flags, options, detailInfo1, detailInfo2);\n    const elapsed = timestamp() - start;\n    log(`Elapsed:: ${elapsed}ms ${watchInfo}`);\n    return {\n      close: () => {\n        const watchInfo2 = `DirectoryWatcher:: Close:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`;\n        log(watchInfo2);\n        const start2 = timestamp();\n        watcher.close();\n        const elapsed2 = timestamp() - start2;\n        log(`Elapsed:: ${elapsed2}ms ${watchInfo2}`);\n      }\n    };\n  }\n  function createTriggerLoggingAddWatch(key) {\n    return (file, cb, flags, options, detailInfo1, detailInfo2) => plainInvokeFactory[key].call(void 0, file, (...args) => {\n      const triggerredInfo = `${key === \"watchFile\" ? \"FileWatcher\" : \"DirectoryWatcher\"}:: Triggered with ${args[0]} ${args[1] !== void 0 ? args[1] : \"\"}:: ${getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo)}`;\n      log(triggerredInfo);\n      const start = timestamp();\n      cb.call(void 0, ...args);\n      const elapsed = timestamp() - start;\n      log(`Elapsed:: ${elapsed}ms ${triggerredInfo}`);\n    }, flags, options, detailInfo1, detailInfo2);\n  }\n  function getWatchInfo(file, flags, options, detailInfo1, detailInfo2, getDetailWatchInfo2) {\n    return `WatchInfo: ${file} ${flags} ${JSON.stringify(options)} ${getDetailWatchInfo2 ? getDetailWatchInfo2(detailInfo1, detailInfo2) : detailInfo2 === void 0 ? detailInfo1 : `${detailInfo1} ${detailInfo2}`}`;\n  }\n}\nfunction getFallbackOptions(options) {\n  const fallbackPolling = options == null ? void 0 : options.fallbackPolling;\n  return {\n    watchFile: fallbackPolling !== void 0 ? fallbackPolling : 1 /* PriorityPollingInterval */\n  };\n}\nfunction closeFileWatcherOf(objWithWatcher) {\n  objWithWatcher.watcher.close();\n}\n\n// src/compiler/program.ts\nfunction findConfigFile(searchPath, fileExists, configName = \"tsconfig.json\") {\n  return forEachAncestorDirectory(searchPath, (ancestor) => {\n    const fileName = combinePaths(ancestor, configName);\n    return fileExists(fileName) ? fileName : void 0;\n  });\n}\nfunction resolveTripleslashReference(moduleName, containingFile) {\n  const basePath = getDirectoryPath(containingFile);\n  const referencedFileName = isRootedDiskPath(moduleName) ? moduleName : combinePaths(basePath, moduleName);\n  return normalizePath(referencedFileName);\n}\nfunction computeCommonSourceDirectoryOfFilenames(fileNames, currentDirectory, getCanonicalFileName) {\n  let commonPathComponents;\n  const failed = forEach(fileNames, (sourceFile) => {\n    const sourcePathComponents = getNormalizedPathComponents(sourceFile, currentDirectory);\n    sourcePathComponents.pop();\n    if (!commonPathComponents) {\n      commonPathComponents = sourcePathComponents;\n      return;\n    }\n    const n = Math.min(commonPathComponents.length, sourcePathComponents.length);\n    for (let i = 0; i < n; i++) {\n      if (getCanonicalFileName(commonPathComponents[i]) !== getCanonicalFileName(sourcePathComponents[i])) {\n        if (i === 0) {\n          return true;\n        }\n        commonPathComponents.length = i;\n        break;\n      }\n    }\n    if (sourcePathComponents.length < commonPathComponents.length) {\n      commonPathComponents.length = sourcePathComponents.length;\n    }\n  });\n  if (failed) {\n    return \"\";\n  }\n  if (!commonPathComponents) {\n    return currentDirectory;\n  }\n  return getPathFromPathComponents(commonPathComponents);\n}\nfunction createCompilerHost(options, setParentNodes) {\n  return createCompilerHostWorker(options, setParentNodes);\n}\nfunction createCompilerHostWorker(options, setParentNodes, system = sys) {\n  const existingDirectories = new Map2();\n  const getCanonicalFileName = createGetCanonicalFileName(system.useCaseSensitiveFileNames);\n  function getSourceFile(fileName, languageVersionOrOptions, onError) {\n    let text;\n    try {\n      mark(\"beforeIORead\");\n      text = compilerHost.readFile(fileName);\n      mark(\"afterIORead\");\n      measure(\"I/O Read\", \"beforeIORead\", \"afterIORead\");\n    } catch (e) {\n      if (onError) {\n        onError(e.message);\n      }\n      text = \"\";\n    }\n    return text !== void 0 ? createSourceFile(fileName, text, languageVersionOrOptions, setParentNodes, void 0, options) : void 0;\n  }\n  function directoryExists(directoryPath) {\n    if (existingDirectories.has(directoryPath)) {\n      return true;\n    }\n    if ((compilerHost.directoryExists || system.directoryExists)(directoryPath)) {\n      existingDirectories.set(directoryPath, true);\n      return true;\n    }\n    return false;\n  }\n  function writeFile2(fileName, data, writeByteOrderMark, onError) {\n    try {\n      mark(\"beforeIOWrite\");\n      writeFileEnsuringDirectories(\n        fileName,\n        data,\n        writeByteOrderMark,\n        (path, data2, writeByteOrderMark2) => system.writeFile(path, data2, writeByteOrderMark2),\n        (path) => (compilerHost.createDirectory || system.createDirectory)(path),\n        (path) => directoryExists(path)\n      );\n      mark(\"afterIOWrite\");\n      measure(\"I/O Write\", \"beforeIOWrite\", \"afterIOWrite\");\n    } catch (e) {\n      if (onError) {\n        onError(e.message);\n      }\n    }\n  }\n  function getDefaultLibLocation() {\n    return getDirectoryPath(normalizePath(system.getExecutingFilePath()));\n  }\n  const newLine = getNewLineCharacter(options, () => system.newLine);\n  const realpath = system.realpath && ((path) => system.realpath(path));\n  const compilerHost = {\n    getSourceFile,\n    getDefaultLibLocation,\n    getDefaultLibFileName: (options2) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options2)),\n    writeFile: writeFile2,\n    getCurrentDirectory: memoize(() => system.getCurrentDirectory()),\n    useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames,\n    getCanonicalFileName,\n    getNewLine: () => newLine,\n    fileExists: (fileName) => system.fileExists(fileName),\n    readFile: (fileName) => system.readFile(fileName),\n    trace: (s) => system.write(s + newLine),\n    directoryExists: (directoryName) => system.directoryExists(directoryName),\n    getEnvironmentVariable: (name) => system.getEnvironmentVariable ? system.getEnvironmentVariable(name) : \"\",\n    getDirectories: (path) => system.getDirectories(path),\n    realpath,\n    readDirectory: (path, extensions, include, exclude, depth) => system.readDirectory(path, extensions, include, exclude, depth),\n    createDirectory: (d) => system.createDirectory(d),\n    createHash: maybeBind(system, system.createHash)\n  };\n  return compilerHost;\n}\nfunction changeCompilerHostLikeToUseCache(host, toPath3, getSourceFile) {\n  const originalReadFile = host.readFile;\n  const originalFileExists = host.fileExists;\n  const originalDirectoryExists = host.directoryExists;\n  const originalCreateDirectory = host.createDirectory;\n  const originalWriteFile = host.writeFile;\n  const readFileCache = new Map2();\n  const fileExistsCache = new Map2();\n  const directoryExistsCache = new Map2();\n  const sourceFileCache = new Map2();\n  const readFileWithCache = (fileName) => {\n    const key = toPath3(fileName);\n    const value = readFileCache.get(key);\n    if (value !== void 0)\n      return value !== false ? value : void 0;\n    return setReadFileCache(key, fileName);\n  };\n  const setReadFileCache = (key, fileName) => {\n    const newValue = originalReadFile.call(host, fileName);\n    readFileCache.set(key, newValue !== void 0 ? newValue : false);\n    return newValue;\n  };\n  host.readFile = (fileName) => {\n    const key = toPath3(fileName);\n    const value = readFileCache.get(key);\n    if (value !== void 0)\n      return value !== false ? value : void 0;\n    if (!fileExtensionIs(fileName, \".json\" /* Json */) && !isBuildInfoFile(fileName)) {\n      return originalReadFile.call(host, fileName);\n    }\n    return setReadFileCache(key, fileName);\n  };\n  const getSourceFileWithCache = getSourceFile ? (fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) => {\n    const key = toPath3(fileName);\n    const impliedNodeFormat = typeof languageVersionOrOptions === \"object\" ? languageVersionOrOptions.impliedNodeFormat : void 0;\n    const forImpliedNodeFormat = sourceFileCache.get(impliedNodeFormat);\n    const value = forImpliedNodeFormat == null ? void 0 : forImpliedNodeFormat.get(key);\n    if (value)\n      return value;\n    const sourceFile = getSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile);\n    if (sourceFile && (isDeclarationFileName(fileName) || fileExtensionIs(fileName, \".json\" /* Json */))) {\n      sourceFileCache.set(impliedNodeFormat, (forImpliedNodeFormat || new Map2()).set(key, sourceFile));\n    }\n    return sourceFile;\n  } : void 0;\n  host.fileExists = (fileName) => {\n    const key = toPath3(fileName);\n    const value = fileExistsCache.get(key);\n    if (value !== void 0)\n      return value;\n    const newValue = originalFileExists.call(host, fileName);\n    fileExistsCache.set(key, !!newValue);\n    return newValue;\n  };\n  if (originalWriteFile) {\n    host.writeFile = (fileName, data, ...rest) => {\n      const key = toPath3(fileName);\n      fileExistsCache.delete(key);\n      const value = readFileCache.get(key);\n      if (value !== void 0 && value !== data) {\n        readFileCache.delete(key);\n        sourceFileCache.forEach((map2) => map2.delete(key));\n      } else if (getSourceFileWithCache) {\n        sourceFileCache.forEach((map2) => {\n          const sourceFile = map2.get(key);\n          if (sourceFile && sourceFile.text !== data) {\n            map2.delete(key);\n          }\n        });\n      }\n      originalWriteFile.call(host, fileName, data, ...rest);\n    };\n  }\n  if (originalDirectoryExists) {\n    host.directoryExists = (directory) => {\n      const key = toPath3(directory);\n      const value = directoryExistsCache.get(key);\n      if (value !== void 0)\n        return value;\n      const newValue = originalDirectoryExists.call(host, directory);\n      directoryExistsCache.set(key, !!newValue);\n      return newValue;\n    };\n    if (originalCreateDirectory) {\n      host.createDirectory = (directory) => {\n        const key = toPath3(directory);\n        directoryExistsCache.delete(key);\n        originalCreateDirectory.call(host, directory);\n      };\n    }\n  }\n  return {\n    originalReadFile,\n    originalFileExists,\n    originalDirectoryExists,\n    originalCreateDirectory,\n    originalWriteFile,\n    getSourceFileWithCache,\n    readFileWithCache\n  };\n}\nfunction getPreEmitDiagnostics(program, sourceFile, cancellationToken) {\n  let diagnostics;\n  diagnostics = addRange(diagnostics, program.getConfigFileParsingDiagnostics());\n  diagnostics = addRange(diagnostics, program.getOptionsDiagnostics(cancellationToken));\n  diagnostics = addRange(diagnostics, program.getSyntacticDiagnostics(sourceFile, cancellationToken));\n  diagnostics = addRange(diagnostics, program.getGlobalDiagnostics(cancellationToken));\n  diagnostics = addRange(diagnostics, program.getSemanticDiagnostics(sourceFile, cancellationToken));\n  if (getEmitDeclarations(program.getCompilerOptions())) {\n    diagnostics = addRange(diagnostics, program.getDeclarationDiagnostics(sourceFile, cancellationToken));\n  }\n  return sortAndDeduplicateDiagnostics(diagnostics || emptyArray);\n}\nfunction formatDiagnostics(diagnostics, host) {\n  let output = \"\";\n  for (const diagnostic of diagnostics) {\n    output += formatDiagnostic(diagnostic, host);\n  }\n  return output;\n}\nfunction formatDiagnostic(diagnostic, host) {\n  const errorMessage = `${diagnosticCategoryName(diagnostic)} TS${diagnostic.code}: ${flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine())}${host.getNewLine()}`;\n  if (diagnostic.file) {\n    const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);\n    const fileName = diagnostic.file.fileName;\n    const relativeFileName = convertToRelativePath(fileName, host.getCurrentDirectory(), (fileName2) => host.getCanonicalFileName(fileName2));\n    return `${relativeFileName}(${line + 1},${character + 1}): ` + errorMessage;\n  }\n  return errorMessage;\n}\nvar ForegroundColorEscapeSequences = /* @__PURE__ */ ((ForegroundColorEscapeSequences2) => {\n  ForegroundColorEscapeSequences2[\"Grey\"] = \"\\x1B[90m\";\n  ForegroundColorEscapeSequences2[\"Red\"] = \"\\x1B[91m\";\n  ForegroundColorEscapeSequences2[\"Yellow\"] = \"\\x1B[93m\";\n  ForegroundColorEscapeSequences2[\"Blue\"] = \"\\x1B[94m\";\n  ForegroundColorEscapeSequences2[\"Cyan\"] = \"\\x1B[96m\";\n  return ForegroundColorEscapeSequences2;\n})(ForegroundColorEscapeSequences || {});\nvar gutterStyleSequence = \"\\x1B[7m\";\nvar gutterSeparator = \" \";\nvar resetEscapeSequence = \"\\x1B[0m\";\nvar ellipsis = \"...\";\nvar halfIndent = \"  \";\nvar indent = \"    \";\nfunction getCategoryFormat(category) {\n  switch (category) {\n    case 1 /* Error */:\n      return \"\\x1B[91m\" /* Red */;\n    case 0 /* Warning */:\n      return \"\\x1B[93m\" /* Yellow */;\n    case 2 /* Suggestion */:\n      return Debug.fail(\"Should never get an Info diagnostic on the command line.\");\n    case 3 /* Message */:\n      return \"\\x1B[94m\" /* Blue */;\n  }\n}\nfunction formatColorAndReset(text, formatStyle) {\n  return formatStyle + text + resetEscapeSequence;\n}\nfunction formatCodeSpan(file, start, length2, indent2, squiggleColor, host) {\n  const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start);\n  const { line: lastLine, character: lastLineChar } = getLineAndCharacterOfPosition(file, start + length2);\n  const lastLineInFile = getLineAndCharacterOfPosition(file, file.text.length).line;\n  const hasMoreThanFiveLines = lastLine - firstLine >= 4;\n  let gutterWidth = (lastLine + 1 + \"\").length;\n  if (hasMoreThanFiveLines) {\n    gutterWidth = Math.max(ellipsis.length, gutterWidth);\n  }\n  let context = \"\";\n  for (let i = firstLine; i <= lastLine; i++) {\n    context += host.getNewLine();\n    if (hasMoreThanFiveLines && firstLine + 1 < i && i < lastLine - 1) {\n      context += indent2 + formatColorAndReset(padLeft(ellipsis, gutterWidth), gutterStyleSequence) + gutterSeparator + host.getNewLine();\n      i = lastLine - 1;\n    }\n    const lineStart = getPositionOfLineAndCharacter(file, i, 0);\n    const lineEnd = i < lastLineInFile ? getPositionOfLineAndCharacter(file, i + 1, 0) : file.text.length;\n    let lineContent = file.text.slice(lineStart, lineEnd);\n    lineContent = trimStringEnd(lineContent);\n    lineContent = lineContent.replace(/\\t/g, \" \");\n    context += indent2 + formatColorAndReset(padLeft(i + 1 + \"\", gutterWidth), gutterStyleSequence) + gutterSeparator;\n    context += lineContent + host.getNewLine();\n    context += indent2 + formatColorAndReset(padLeft(\"\", gutterWidth), gutterStyleSequence) + gutterSeparator;\n    context += squiggleColor;\n    if (i === firstLine) {\n      const lastCharForLine = i === lastLine ? lastLineChar : void 0;\n      context += lineContent.slice(0, firstLineChar).replace(/\\S/g, \" \");\n      context += lineContent.slice(firstLineChar, lastCharForLine).replace(/./g, \"~\");\n    } else if (i === lastLine) {\n      context += lineContent.slice(0, lastLineChar).replace(/./g, \"~\");\n    } else {\n      context += lineContent.replace(/./g, \"~\");\n    }\n    context += resetEscapeSequence;\n  }\n  return context;\n}\nfunction formatLocation(file, start, host, color = formatColorAndReset) {\n  const { line: firstLine, character: firstLineChar } = getLineAndCharacterOfPosition(file, start);\n  const relativeFileName = host ? convertToRelativePath(file.fileName, host.getCurrentDirectory(), (fileName) => host.getCanonicalFileName(fileName)) : file.fileName;\n  let output = \"\";\n  output += color(relativeFileName, \"\\x1B[96m\" /* Cyan */);\n  output += \":\";\n  output += color(`${firstLine + 1}`, \"\\x1B[93m\" /* Yellow */);\n  output += \":\";\n  output += color(`${firstLineChar + 1}`, \"\\x1B[93m\" /* Yellow */);\n  return output;\n}\nfunction formatDiagnosticsWithColorAndContext(diagnostics, host) {\n  let output = \"\";\n  for (const diagnostic of diagnostics) {\n    if (diagnostic.file) {\n      const { file, start } = diagnostic;\n      output += formatLocation(file, start, host);\n      output += \" - \";\n    }\n    output += formatColorAndReset(diagnosticCategoryName(diagnostic), getCategoryFormat(diagnostic.category));\n    output += formatColorAndReset(` TS${diagnostic.code}: `, \"\\x1B[90m\" /* Grey */);\n    output += flattenDiagnosticMessageText(diagnostic.messageText, host.getNewLine());\n    if (diagnostic.file) {\n      output += host.getNewLine();\n      output += formatCodeSpan(diagnostic.file, diagnostic.start, diagnostic.length, \"\", getCategoryFormat(diagnostic.category), host);\n    }\n    if (diagnostic.relatedInformation) {\n      output += host.getNewLine();\n      for (const { file, start, length: length2, messageText } of diagnostic.relatedInformation) {\n        if (file) {\n          output += host.getNewLine();\n          output += halfIndent + formatLocation(file, start, host);\n          output += formatCodeSpan(file, start, length2, indent, \"\\x1B[96m\" /* Cyan */, host);\n        }\n        output += host.getNewLine();\n        output += indent + flattenDiagnosticMessageText(messageText, host.getNewLine());\n      }\n    }\n    output += host.getNewLine();\n  }\n  return output;\n}\nfunction flattenDiagnosticMessageText(diag2, newLine, indent2 = 0) {\n  if (isString(diag2)) {\n    return diag2;\n  } else if (diag2 === void 0) {\n    return \"\";\n  }\n  let result = \"\";\n  if (indent2) {\n    result += newLine;\n    for (let i = 0; i < indent2; i++) {\n      result += \"  \";\n    }\n  }\n  result += diag2.messageText;\n  indent2++;\n  if (diag2.next) {\n    for (const kid of diag2.next) {\n      result += flattenDiagnosticMessageText(kid, newLine, indent2);\n    }\n  }\n  return result;\n}\nfunction loadWithTypeDirectiveCache(names, containingFile, redirectedReference, containingFileMode, loader) {\n  if (names.length === 0) {\n    return [];\n  }\n  const resolutions = [];\n  const cache = new Map2();\n  for (const name of names) {\n    let result;\n    const mode = getModeForFileReference(name, containingFileMode);\n    const strName = isString(name) ? name : name.fileName.toLowerCase();\n    const cacheKey = mode !== void 0 ? `${mode}|${strName}` : strName;\n    if (cache.has(cacheKey)) {\n      result = cache.get(cacheKey);\n    } else {\n      cache.set(cacheKey, result = loader(strName, containingFile, redirectedReference, mode));\n    }\n    resolutions.push(result);\n  }\n  return resolutions;\n}\nfunction getModeForFileReference(ref, containingFileMode) {\n  return (isString(ref) ? containingFileMode : ref.resolutionMode) || containingFileMode;\n}\nfunction getModeForResolutionAtIndex(file, index) {\n  if (file.impliedNodeFormat === void 0)\n    return void 0;\n  return getModeForUsageLocation(file, getModuleNameStringLiteralAt(file, index));\n}\nfunction isExclusivelyTypeOnlyImportOrExport(decl) {\n  var _a2;\n  if (isExportDeclaration(decl)) {\n    return decl.isTypeOnly;\n  }\n  if ((_a2 = decl.importClause) == null ? void 0 : _a2.isTypeOnly) {\n    return true;\n  }\n  return false;\n}\nfunction getModeForUsageLocation(file, usage) {\n  var _a2, _b;\n  if (file.impliedNodeFormat === void 0)\n    return void 0;\n  if (isImportDeclaration(usage.parent) || isExportDeclaration(usage.parent)) {\n    const isTypeOnly = isExclusivelyTypeOnlyImportOrExport(usage.parent);\n    if (isTypeOnly) {\n      const override = getResolutionModeOverrideForClause(usage.parent.assertClause);\n      if (override) {\n        return override;\n      }\n    }\n  }\n  if (usage.parent.parent && isImportTypeNode(usage.parent.parent)) {\n    const override = getResolutionModeOverrideForClause((_a2 = usage.parent.parent.assertions) == null ? void 0 : _a2.assertClause);\n    if (override) {\n      return override;\n    }\n  }\n  if (file.impliedNodeFormat !== 99 /* ESNext */) {\n    return isImportCall(walkUpParenthesizedExpressions(usage.parent)) ? 99 /* ESNext */ : 1 /* CommonJS */;\n  }\n  const exprParentParent = (_b = walkUpParenthesizedExpressions(usage.parent)) == null ? void 0 : _b.parent;\n  return exprParentParent && isImportEqualsDeclaration(exprParentParent) ? 1 /* CommonJS */ : 99 /* ESNext */;\n}\nfunction getResolutionModeOverrideForClause(clause, grammarErrorOnNode) {\n  if (!clause)\n    return void 0;\n  if (length(clause.elements) !== 1) {\n    grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(clause, Diagnostics.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require);\n    return void 0;\n  }\n  const elem = clause.elements[0];\n  if (!isStringLiteralLike(elem.name))\n    return void 0;\n  if (elem.name.text !== \"resolution-mode\") {\n    grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(elem.name, Diagnostics.resolution_mode_is_the_only_valid_key_for_type_import_assertions);\n    return void 0;\n  }\n  if (!isStringLiteralLike(elem.value))\n    return void 0;\n  if (elem.value.text !== \"import\" && elem.value.text !== \"require\") {\n    grammarErrorOnNode == null ? void 0 : grammarErrorOnNode(elem.value, Diagnostics.resolution_mode_should_be_either_require_or_import);\n    return void 0;\n  }\n  return elem.value.text === \"import\" ? 99 /* ESNext */ : 1 /* CommonJS */;\n}\nfunction loadWithModeAwareCache(names, containingFile, containingFileName, redirectedReference, loader) {\n  if (names.length === 0) {\n    return [];\n  }\n  const resolutions = [];\n  const cache = new Map2();\n  let i = 0;\n  for (const name of names) {\n    let result;\n    const mode = getModeForResolutionAtIndex(containingFile, i);\n    i++;\n    const cacheKey = mode !== void 0 ? `${mode}|${name}` : name;\n    if (cache.has(cacheKey)) {\n      result = cache.get(cacheKey);\n    } else {\n      cache.set(cacheKey, result = loader(name, mode, containingFileName, redirectedReference));\n    }\n    resolutions.push(result);\n  }\n  return resolutions;\n}\nfunction forEachResolvedProjectReference(resolvedProjectReferences, cb) {\n  return forEachProjectReference(void 0, resolvedProjectReferences, (resolvedRef, parent2) => resolvedRef && cb(resolvedRef, parent2));\n}\nfunction forEachProjectReference(projectReferences, resolvedProjectReferences, cbResolvedRef, cbRef) {\n  let seenResolvedRefs;\n  return worker(projectReferences, resolvedProjectReferences, void 0);\n  function worker(projectReferences2, resolvedProjectReferences2, parent2) {\n    if (cbRef) {\n      const result = cbRef(projectReferences2, parent2);\n      if (result)\n        return result;\n    }\n    return forEach(resolvedProjectReferences2, (resolvedRef, index) => {\n      if (resolvedRef && (seenResolvedRefs == null ? void 0 : seenResolvedRefs.has(resolvedRef.sourceFile.path))) {\n        return void 0;\n      }\n      const result = cbResolvedRef(resolvedRef, parent2, index);\n      if (result || !resolvedRef)\n        return result;\n      (seenResolvedRefs || (seenResolvedRefs = new Set2())).add(resolvedRef.sourceFile.path);\n      return worker(resolvedRef.commandLine.projectReferences, resolvedRef.references, resolvedRef);\n    });\n  }\n}\nvar inferredTypesContainingFile = \"__inferred type names__.ts\";\nfunction isReferencedFile(reason) {\n  switch (reason == null ? void 0 : reason.kind) {\n    case 3 /* Import */:\n    case 4 /* ReferenceFile */:\n    case 5 /* TypeReferenceDirective */:\n    case 7 /* LibReferenceDirective */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isReferenceFileLocation(location) {\n  return location.pos !== void 0;\n}\nfunction getReferencedFileLocation(getSourceFileByPath, ref) {\n  var _a2, _b, _c, _d;\n  const file = Debug.checkDefined(getSourceFileByPath(ref.file));\n  const { kind, index } = ref;\n  let pos, end, packageId, resolutionMode;\n  switch (kind) {\n    case 3 /* Import */:\n      const importLiteral = getModuleNameStringLiteralAt(file, index);\n      packageId = (_b = (_a2 = file.resolvedModules) == null ? void 0 : _a2.get(importLiteral.text, getModeForResolutionAtIndex(file, index))) == null ? void 0 : _b.packageId;\n      if (importLiteral.pos === -1)\n        return { file, packageId, text: importLiteral.text };\n      pos = skipTrivia(file.text, importLiteral.pos);\n      end = importLiteral.end;\n      break;\n    case 4 /* ReferenceFile */:\n      ({ pos, end } = file.referencedFiles[index]);\n      break;\n    case 5 /* TypeReferenceDirective */:\n      ({ pos, end, resolutionMode } = file.typeReferenceDirectives[index]);\n      packageId = (_d = (_c = file.resolvedTypeReferenceDirectiveNames) == null ? void 0 : _c.get(toFileNameLowerCase(file.typeReferenceDirectives[index].fileName), resolutionMode || file.impliedNodeFormat)) == null ? void 0 : _d.packageId;\n      break;\n    case 7 /* LibReferenceDirective */:\n      ({ pos, end } = file.libReferenceDirectives[index]);\n      break;\n    default:\n      return Debug.assertNever(kind);\n  }\n  return { file, pos, end, packageId };\n}\nfunction isProgramUptoDate(program, rootFileNames, newOptions, getSourceVersion, fileExists, hasInvalidatedResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences) {\n  if (!program || (hasChangedAutomaticTypeDirectiveNames == null ? void 0 : hasChangedAutomaticTypeDirectiveNames()))\n    return false;\n  if (!arrayIsEqualTo(program.getRootFileNames(), rootFileNames))\n    return false;\n  let seenResolvedRefs;\n  if (!arrayIsEqualTo(program.getProjectReferences(), projectReferences, projectReferenceUptoDate))\n    return false;\n  if (program.getSourceFiles().some(sourceFileNotUptoDate))\n    return false;\n  if (program.getMissingFilePaths().some(fileExists))\n    return false;\n  const currentOptions = program.getCompilerOptions();\n  if (!compareDataObjects(currentOptions, newOptions))\n    return false;\n  if (currentOptions.configFile && newOptions.configFile)\n    return currentOptions.configFile.text === newOptions.configFile.text;\n  return true;\n  function sourceFileNotUptoDate(sourceFile) {\n    return !sourceFileVersionUptoDate(sourceFile) || hasInvalidatedResolutions(sourceFile.path);\n  }\n  function sourceFileVersionUptoDate(sourceFile) {\n    return sourceFile.version === getSourceVersion(sourceFile.resolvedPath, sourceFile.fileName);\n  }\n  function projectReferenceUptoDate(oldRef, newRef, index) {\n    return projectReferenceIsEqualTo(oldRef, newRef) && resolvedProjectReferenceUptoDate(program.getResolvedProjectReferences()[index], oldRef);\n  }\n  function resolvedProjectReferenceUptoDate(oldResolvedRef, oldRef) {\n    if (oldResolvedRef) {\n      if (contains(seenResolvedRefs, oldResolvedRef))\n        return true;\n      const refPath2 = resolveProjectReferencePath(oldRef);\n      const newParsedCommandLine = getParsedCommandLine(refPath2);\n      if (!newParsedCommandLine)\n        return false;\n      if (oldResolvedRef.commandLine.options.configFile !== newParsedCommandLine.options.configFile)\n        return false;\n      if (!arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newParsedCommandLine.fileNames))\n        return false;\n      (seenResolvedRefs || (seenResolvedRefs = [])).push(oldResolvedRef);\n      return !forEach(oldResolvedRef.references, (childResolvedRef, index) => !resolvedProjectReferenceUptoDate(childResolvedRef, oldResolvedRef.commandLine.projectReferences[index]));\n    }\n    const refPath = resolveProjectReferencePath(oldRef);\n    return !getParsedCommandLine(refPath);\n  }\n}\nfunction getConfigFileParsingDiagnostics(configFileParseResult) {\n  return configFileParseResult.options.configFile ? [...configFileParseResult.options.configFile.parseDiagnostics, ...configFileParseResult.errors] : configFileParseResult.errors;\n}\nfunction getImpliedNodeFormatForFile(fileName, packageJsonInfoCache, host, options) {\n  const result = getImpliedNodeFormatForFileWorker(fileName, packageJsonInfoCache, host, options);\n  return typeof result === \"object\" ? result.impliedNodeFormat : result;\n}\nfunction getImpliedNodeFormatForFileWorker(fileName, packageJsonInfoCache, host, options) {\n  switch (getEmitModuleResolutionKind(options)) {\n    case 3 /* Node16 */:\n    case 99 /* NodeNext */:\n      return fileExtensionIsOneOf(fileName, [\".d.mts\" /* Dmts */, \".mts\" /* Mts */, \".mjs\" /* Mjs */]) ? 99 /* ESNext */ : fileExtensionIsOneOf(fileName, [\".d.cts\" /* Dcts */, \".cts\" /* Cts */, \".cjs\" /* Cjs */]) ? 1 /* CommonJS */ : fileExtensionIsOneOf(fileName, [\".d.ts\" /* Dts */, \".ts\" /* Ts */, \".tsx\" /* Tsx */, \".js\" /* Js */, \".jsx\" /* Jsx */]) ? lookupFromPackageJson() : void 0;\n    default:\n      return void 0;\n  }\n  function lookupFromPackageJson() {\n    const state = getTemporaryModuleResolutionState(packageJsonInfoCache, host, options);\n    const packageJsonLocations = [];\n    state.failedLookupLocations = packageJsonLocations;\n    state.affectingLocations = packageJsonLocations;\n    const packageJsonScope = getPackageScopeForPath(fileName, state);\n    const impliedNodeFormat = (packageJsonScope == null ? void 0 : packageJsonScope.contents.packageJsonContent.type) === \"module\" ? 99 /* ESNext */ : 1 /* CommonJS */;\n    return { impliedNodeFormat, packageJsonLocations, packageJsonScope };\n  }\n}\nvar plainJSErrors = new Set2([\n  Diagnostics.Cannot_redeclare_block_scoped_variable_0.code,\n  Diagnostics.A_module_cannot_have_multiple_default_exports.code,\n  Diagnostics.Another_export_default_is_here.code,\n  Diagnostics.The_first_export_default_is_here.code,\n  Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,\n  Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,\n  Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,\n  Diagnostics.constructor_is_a_reserved_word.code,\n  Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,\n  Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,\n  Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,\n  Diagnostics.Invalid_use_of_0_in_strict_mode.code,\n  Diagnostics.A_label_is_not_allowed_here.code,\n  Diagnostics.Octal_literals_are_not_allowed_in_strict_mode.code,\n  Diagnostics.with_statements_are_not_allowed_in_strict_mode.code,\n  Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,\n  Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,\n  Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name.code,\n  Diagnostics.A_class_member_cannot_have_the_0_keyword.code,\n  Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,\n  Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,\n  Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,\n  Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,\n  Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,\n  Diagnostics.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,\n  Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,\n  Diagnostics.A_destructuring_declaration_must_have_an_initializer.code,\n  Diagnostics.A_get_accessor_cannot_have_parameters.code,\n  Diagnostics.A_rest_element_cannot_contain_a_binding_pattern.code,\n  Diagnostics.A_rest_element_cannot_have_a_property_name.code,\n  Diagnostics.A_rest_element_cannot_have_an_initializer.code,\n  Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern.code,\n  Diagnostics.A_rest_parameter_cannot_have_an_initializer.code,\n  Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list.code,\n  Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,\n  Diagnostics.A_return_statement_cannot_be_used_inside_a_class_static_block.code,\n  Diagnostics.A_set_accessor_cannot_have_rest_parameter.code,\n  Diagnostics.A_set_accessor_must_have_exactly_one_parameter.code,\n  Diagnostics.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,\n  Diagnostics.An_export_declaration_cannot_have_modifiers.code,\n  Diagnostics.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,\n  Diagnostics.An_import_declaration_cannot_have_modifiers.code,\n  Diagnostics.An_object_member_cannot_be_declared_optional.code,\n  Diagnostics.Argument_of_dynamic_import_cannot_be_spread_element.code,\n  Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,\n  Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause.code,\n  Diagnostics.Catch_clause_variable_cannot_have_an_initializer.code,\n  Diagnostics.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,\n  Diagnostics.Classes_can_only_extend_a_single_class.code,\n  Diagnostics.Classes_may_not_have_a_field_named_constructor.code,\n  Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code,\n  Diagnostics.Duplicate_label_0.code,\n  Diagnostics.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,\n  Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block.code,\n  Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,\n  Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,\n  Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,\n  Diagnostics.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,\n  Diagnostics.Jump_target_cannot_cross_function_boundary.code,\n  Diagnostics.Line_terminator_not_permitted_before_arrow.code,\n  Diagnostics.Modifiers_cannot_appear_here.code,\n  Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,\n  Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,\n  Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies.code,\n  Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,\n  Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,\n  Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,\n  Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,\n  Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,\n  Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,\n  Diagnostics.Trailing_comma_not_allowed.code,\n  Diagnostics.Variable_declaration_list_cannot_be_empty.code,\n  Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses.code,\n  Diagnostics._0_expected.code,\n  Diagnostics._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,\n  Diagnostics._0_list_cannot_be_empty.code,\n  Diagnostics._0_modifier_already_seen.code,\n  Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration.code,\n  Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,\n  Diagnostics._0_modifier_cannot_appear_on_a_parameter.code,\n  Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,\n  Diagnostics._0_modifier_cannot_be_used_here.code,\n  Diagnostics._0_modifier_must_precede_1_modifier.code,\n  Diagnostics.const_declarations_can_only_be_declared_inside_a_block.code,\n  Diagnostics.const_declarations_must_be_initialized.code,\n  Diagnostics.extends_clause_already_seen.code,\n  Diagnostics.let_declarations_can_only_be_declared_inside_a_block.code,\n  Diagnostics.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,\n  Diagnostics.Class_constructor_may_not_be_a_generator.code,\n  Diagnostics.Class_constructor_may_not_be_an_accessor.code,\n  Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code\n]);\nfunction shouldProgramCreateNewSourceFiles(program, newOptions) {\n  if (!program)\n    return false;\n  return optionsHaveChanges(program.getCompilerOptions(), newOptions, sourceFileAffectingCompilerOptions);\n}\nfunction createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnostics) {\n  return {\n    rootNames,\n    options,\n    host,\n    oldProgram,\n    configFileParsingDiagnostics\n  };\n}\nfunction createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {\n  var _a2, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;\n  PerformanceDotting.start(\"createProgram\");\n  const createProgramOptions = isArray(rootNamesOrOptions) ? createCreateProgramOptions(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : rootNamesOrOptions;\n  const { rootNames, options, configFileParsingDiagnostics, projectReferences } = createProgramOptions;\n  let { oldProgram } = createProgramOptions;\n  let processingDefaultLibFiles;\n  let processingOtherFiles;\n  let files;\n  let symlinks;\n  let commonSourceDirectory;\n  let typeChecker3;\n  let linterTypeChecker;\n  let classifiableNames;\n  const ambientModuleNameToUnmodifiedFileName = new Map2();\n  let fileReasons = createMultiMap();\n  const cachedBindAndCheckDiagnosticsForFile = {};\n  const cachedBindAndCheckDiagnosticsForFileForLinter = {};\n  const cachedDeclarationDiagnosticsForFile = {};\n  let resolvedTypeReferenceDirectives = createModeAwareCache();\n  let fileProcessingDiagnostics;\n  const maxNodeModuleJsDepth = typeof options.maxNodeModuleJsDepth === \"number\" ? options.maxNodeModuleJsDepth : 0;\n  let currentNodeModulesDepth = 0;\n  const modulesWithElidedImports = new Map2();\n  const sourceFilesFoundSearchingNodeModules = new Map2();\n  (_a2 = tracing) == null ? void 0 : _a2.push(tracing.Phase.Program, \"createProgram\", { configFilePath: options.configFilePath, rootDir: options.rootDir }, true);\n  mark(\"beforeProgram\");\n  const recordInfo = MemoryDotting.recordStage(MemoryDotting.BEFORE_PROGRAM);\n  const host = createProgramOptions.host || createCompilerHost(options);\n  const configParsingHost = parseConfigHostFromCompilerHostLike(host);\n  let skipDefaultLib = options.noLib;\n  const getDefaultLibraryFileName = memoize(() => host.getDefaultLibFileName(options));\n  const defaultLibraryPath = host.getDefaultLibLocation ? host.getDefaultLibLocation() : getDirectoryPath(getDefaultLibraryFileName());\n  const programDiagnostics = createDiagnosticCollection();\n  const currentDirectory = host.getCurrentDirectory();\n  const supportedExtensions = getSupportedExtensions(options);\n  const supportedExtensionsWithJsonIfResolveJsonModule = getSupportedExtensionsWithJsonIfResolveJsonModule(options, supportedExtensions);\n  const hasEmitBlockingDiagnostics = new Map2();\n  let _compilerOptionsObjectLiteralSyntax;\n  let moduleResolutionCache;\n  let typeReferenceDirectiveResolutionCache;\n  let actualResolveModuleNamesWorker;\n  const hasInvalidatedResolutions = host.hasInvalidatedResolutions || returnFalse;\n  if (host.resolveModuleNames) {\n    actualResolveModuleNamesWorker = (moduleNames, containingFile, containingFileName, reusedNames, redirectedReference) => host.resolveModuleNames(Debug.checkEachDefined(moduleNames), containingFileName, reusedNames, redirectedReference, options, containingFile).map((resolved) => {\n      if (!resolved || resolved.extension !== void 0) {\n        return resolved;\n      }\n      const withExtension = clone(resolved);\n      withExtension.extension = extensionFromPath(resolved.resolvedFileName);\n      return withExtension;\n    });\n    moduleResolutionCache = (_b = host.getModuleResolutionCache) == null ? void 0 : _b.call(host);\n  } else {\n    moduleResolutionCache = createModuleResolutionCache(currentDirectory, getCanonicalFileName, options);\n    const loader = (moduleName, resolverMode, containingFileName, redirectedReference) => resolveModuleName(moduleName, containingFileName, options, host, moduleResolutionCache, redirectedReference, resolverMode).resolvedModule;\n    actualResolveModuleNamesWorker = (moduleNames, containingFile, containingFileName, _reusedNames, redirectedReference) => loadWithModeAwareCache(Debug.checkEachDefined(moduleNames), containingFile, containingFileName, redirectedReference, loader);\n  }\n  let actualResolveTypeReferenceDirectiveNamesWorker;\n  if (host.resolveTypeReferenceDirectives) {\n    actualResolveTypeReferenceDirectiveNamesWorker = (typeDirectiveNames, containingFile, redirectedReference, containingFileMode) => host.resolveTypeReferenceDirectives(Debug.checkEachDefined(typeDirectiveNames), containingFile, redirectedReference, options, containingFileMode);\n  } else {\n    typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache(currentDirectory, getCanonicalFileName, void 0, moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache());\n    const loader = (typesRef, containingFile, redirectedReference, resolutionMode) => resolveTypeReferenceDirective(\n      typesRef,\n      containingFile,\n      options,\n      host,\n      redirectedReference,\n      typeReferenceDirectiveResolutionCache,\n      resolutionMode\n    ).resolvedTypeReferenceDirective;\n    actualResolveTypeReferenceDirectiveNamesWorker = (typeReferenceDirectiveNames, containingFile, redirectedReference, containingFileMode) => loadWithTypeDirectiveCache(Debug.checkEachDefined(typeReferenceDirectiveNames), containingFile, redirectedReference, containingFileMode, loader);\n  }\n  const packageIdToSourceFile = new Map2();\n  let sourceFileToPackageName = new Map2();\n  let redirectTargetsMap = createMultiMap();\n  let usesUriStyleNodeCoreModules = false;\n  const filesByName = new Map2();\n  let missingFilePaths;\n  const filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? new Map2() : void 0;\n  let resolvedProjectReferences;\n  let projectReferenceRedirects;\n  let mapFromFileToProjectReferenceRedirects;\n  let mapFromToProjectReferenceRedirectSource;\n  const useSourceOfProjectReferenceRedirect = !!((_c = host.useSourceOfProjectReferenceRedirect) == null ? void 0 : _c.call(host)) && !options.disableSourceOfProjectReferenceRedirect;\n  const { onProgramCreateComplete, fileExists, directoryExists } = updateHostForUseSourceOfProjectReferenceRedirect({\n    compilerHost: host,\n    getSymlinkCache,\n    useSourceOfProjectReferenceRedirect,\n    toPath: toPath3,\n    getResolvedProjectReferences,\n    getSourceOfProjectReferenceRedirect,\n    forEachResolvedProjectReference: forEachResolvedProjectReference2,\n    options: _options\n  });\n  const readFile = host.readFile.bind(host);\n  (_d = tracing) == null ? void 0 : _d.push(tracing.Phase.Program, \"shouldProgramCreateNewSourceFiles\", { hasOldProgram: !!oldProgram });\n  PerformanceDotting.start(\"shouldProgramCreateNewSourceFiles\");\n  const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options);\n  PerformanceDotting.stop(\"shouldProgramCreateNewSourceFiles\");\n  (_e = tracing) == null ? void 0 : _e.pop();\n  let structureIsReused;\n  (_f = tracing) == null ? void 0 : _f.push(tracing.Phase.Program, \"tryReuseStructureFromOldProgram\", {});\n  PerformanceDotting.start(\"tryReuseStructureFromOldProgram\");\n  structureIsReused = tryReuseStructureFromOldProgram();\n  PerformanceDotting.stop(\"tryReuseStructureFromOldProgram\");\n  (_g = tracing) == null ? void 0 : _g.pop();\n  if (structureIsReused !== 2 /* Completely */) {\n    processingDefaultLibFiles = [];\n    processingOtherFiles = [];\n    if (projectReferences) {\n      if (!resolvedProjectReferences) {\n        resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile);\n      }\n      if (rootNames.length) {\n        resolvedProjectReferences == null ? void 0 : resolvedProjectReferences.forEach((parsedRef, index) => {\n          if (!parsedRef)\n            return;\n          const out = outFile(parsedRef.commandLine.options);\n          if (useSourceOfProjectReferenceRedirect) {\n            if (out || getEmitModuleKind(parsedRef.commandLine.options) === 0 /* None */) {\n              for (const fileName of parsedRef.commandLine.fileNames) {\n                processProjectReferenceFile(fileName, { kind: 1 /* SourceFromProjectReference */, index });\n              }\n            }\n          } else {\n            if (out) {\n              processProjectReferenceFile(changeExtension(out, \".d.ts\"), { kind: 2 /* OutputFromProjectReference */, index });\n            } else if (getEmitModuleKind(parsedRef.commandLine.options) === 0 /* None */) {\n              const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(parsedRef.commandLine, !host.useCaseSensitiveFileNames()));\n              for (const fileName of parsedRef.commandLine.fileNames) {\n                if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, \".json\" /* Json */)) {\n                  processProjectReferenceFile(getOutputDeclarationFileName(fileName, parsedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3), { kind: 2 /* OutputFromProjectReference */, index });\n                }\n              }\n            }\n          }\n        });\n      }\n    }\n    (_h = tracing) == null ? void 0 : _h.push(tracing.Phase.Program, \"processRootFiles\", { count: rootNames.length });\n    PerformanceDotting.start(\"processRootFiles\");\n    forEach(rootNames, (name, index) => processRootFile(name, false, false, { kind: 0 /* RootFile */, index }));\n    PerformanceDotting.stop(\"processRootFiles\");\n    (_i = tracing) == null ? void 0 : _i.pop();\n    const typeReferences = rootNames.length ? getAutomaticTypeDirectiveNames(options, host) : emptyArray;\n    if (typeReferences.length) {\n      (_j = tracing) == null ? void 0 : _j.push(tracing.Phase.Program, \"processTypeReferences\", { count: typeReferences.length });\n      PerformanceDotting.start(\"processTypeReferences\");\n      const containingDirectory = options.configFilePath ? getDirectoryPath(options.configFilePath) : host.getCurrentDirectory();\n      const containingFilename = combinePaths(containingDirectory, inferredTypesContainingFile);\n      const resolutions = resolveTypeReferenceDirectiveNamesWorker(typeReferences, containingFilename);\n      for (let i = 0; i < typeReferences.length; i++) {\n        processTypeReferenceDirective(typeReferences[i], void 0, resolutions[i], { kind: 8 /* AutomaticTypeDirectiveFile */, typeReference: typeReferences[i], packageId: (_k = resolutions[i]) == null ? void 0 : _k.packageId });\n      }\n      PerformanceDotting.stop(\"processTypeReferences\");\n      (_l = tracing) == null ? void 0 : _l.pop();\n    }\n    PerformanceDotting.start(\"processDefaultLib\");\n    if (rootNames.length && !skipDefaultLib) {\n      const defaultLibraryFileName = getDefaultLibraryFileName();\n      if (!options.lib && defaultLibraryFileName) {\n        processRootFile(defaultLibraryFileName, true, false, { kind: 6 /* LibFile */ });\n      } else {\n        forEach(options.lib, (libFileName, index) => {\n          processRootFile(pathForLibFile(libFileName), true, false, { kind: 6 /* LibFile */, index });\n        });\n        const etsComponentsLib = (_n = (_m = options.ets) == null ? void 0 : _m.libs) != null ? _n : [];\n        if (etsComponentsLib.length) {\n          forEach(etsComponentsLib, (libFileName) => {\n            processRootFile(combinePaths(libFileName), true, false, { kind: 6 /* LibFile */ });\n          });\n        }\n      }\n    }\n    PerformanceDotting.stop(\"processDefaultLib\");\n    missingFilePaths = arrayFrom(mapDefinedIterator(filesByName.entries(), ([path, file]) => file === void 0 ? path : void 0));\n    files = stableSort(processingDefaultLibFiles, compareDefaultLibFiles).concat(processingOtherFiles);\n    processingDefaultLibFiles = void 0;\n    processingOtherFiles = void 0;\n  }\n  Debug.assert(!!missingFilePaths);\n  if (oldProgram && host.onReleaseOldSourceFile) {\n    const oldSourceFiles = oldProgram.getSourceFiles();\n    for (const oldSourceFile of oldSourceFiles) {\n      const newFile = getSourceFileByPath(oldSourceFile.resolvedPath);\n      if (shouldCreateNewSourceFile || !newFile || newFile.impliedNodeFormat !== oldSourceFile.impliedNodeFormat || oldSourceFile.resolvedPath === oldSourceFile.path && newFile.resolvedPath !== oldSourceFile.path) {\n        host.onReleaseOldSourceFile(oldSourceFile, oldProgram.getCompilerOptions(), !!getSourceFileByPath(oldSourceFile.path));\n      }\n    }\n    if (!host.getParsedCommandLine) {\n      oldProgram.forEachResolvedProjectReference((resolvedProjectReference) => {\n        if (!getResolvedProjectReferenceByPath(resolvedProjectReference.sourceFile.path)) {\n          host.onReleaseOldSourceFile(resolvedProjectReference.sourceFile, oldProgram.getCompilerOptions(), false);\n        }\n      });\n    }\n  }\n  if (oldProgram && host.onReleaseParsedCommandLine) {\n    forEachProjectReference(\n      oldProgram.getProjectReferences(),\n      oldProgram.getResolvedProjectReferences(),\n      (oldResolvedRef, parent2, index) => {\n        const oldReference = (parent2 == null ? void 0 : parent2.commandLine.projectReferences[index]) || oldProgram.getProjectReferences()[index];\n        const oldRefPath = resolveProjectReferencePath(oldReference);\n        if (!(projectReferenceRedirects == null ? void 0 : projectReferenceRedirects.has(toPath3(oldRefPath)))) {\n          host.onReleaseParsedCommandLine(oldRefPath, oldResolvedRef, oldProgram.getCompilerOptions());\n        }\n      }\n    );\n  }\n  typeReferenceDirectiveResolutionCache = void 0;\n  oldProgram = void 0;\n  const program = {\n    getRootFileNames: () => rootNames,\n    getSourceFile,\n    getSourceFileByPath,\n    getSourceFiles: () => files,\n    getMissingFilePaths: () => missingFilePaths,\n    getModuleResolutionCache: () => moduleResolutionCache,\n    getFilesByNameMap: () => filesByName,\n    getCompilerOptions: () => options,\n    getSyntacticDiagnostics,\n    getOptionsDiagnostics,\n    getGlobalDiagnostics,\n    getSemanticDiagnostics,\n    getSemanticDiagnosticsForLinter,\n    getCachedSemanticDiagnostics,\n    getSuggestionDiagnostics,\n    getDeclarationDiagnostics: getDeclarationDiagnostics2,\n    getBindAndCheckDiagnostics,\n    getProgramDiagnostics,\n    getTypeChecker,\n    getLinterTypeChecker,\n    getEtsLibSFromProgram,\n    getClassifiableNames,\n    getCommonSourceDirectory: getCommonSourceDirectory2,\n    emit,\n    getCurrentDirectory: () => currentDirectory,\n    getNodeCount: () => getTypeChecker().getNodeCount(),\n    getIdentifierCount: () => getTypeChecker().getIdentifierCount(),\n    getSymbolCount: () => getTypeChecker().getSymbolCount(),\n    getTypeCount: () => getTypeChecker().getTypeCount(),\n    getInstantiationCount: () => getTypeChecker().getInstantiationCount(),\n    getRelationCacheSizes: () => getTypeChecker().getRelationCacheSizes(),\n    getFileProcessingDiagnostics: () => fileProcessingDiagnostics,\n    getResolvedTypeReferenceDirectives: () => resolvedTypeReferenceDirectives,\n    isSourceFileFromExternalLibrary,\n    isSourceFileDefaultLibrary,\n    getSourceFileFromReference,\n    getLibFileFromReference,\n    sourceFileToPackageName,\n    redirectTargetsMap,\n    usesUriStyleNodeCoreModules,\n    isEmittedFile,\n    getConfigFileParsingDiagnostics: getConfigFileParsingDiagnostics2,\n    getResolvedModuleWithFailedLookupLocationsFromCache,\n    getProjectReferences,\n    getResolvedProjectReferences,\n    getProjectReferenceRedirect,\n    getResolvedProjectReferenceToRedirect,\n    getResolvedProjectReferenceByPath,\n    forEachResolvedProjectReference: forEachResolvedProjectReference2,\n    isSourceOfProjectReferenceRedirect,\n    emitBuildInfo,\n    fileExists,\n    readFile,\n    directoryExists,\n    getSymlinkCache,\n    realpath: (_o = host.realpath) == null ? void 0 : _o.bind(host),\n    useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),\n    getFileIncludeReasons: () => fileReasons,\n    structureIsReused,\n    writeFile: writeFile2,\n    getJsDocNodeCheckedConfig: host.getJsDocNodeCheckedConfig,\n    isAvailableVersion: host.isAvailableVersion,\n    isAvailableDeclarationValid: host.isAvailableDeclarationValid,\n    getJsDocNodeConditionCheckedResult: host.getJsDocNodeConditionCheckedResult,\n    getFileCheckedModuleInfo: host.getFileCheckedModuleInfo,\n    releaseTypeChecker: () => {\n      typeChecker3 = void 0;\n      linterTypeChecker = void 0;\n    },\n    getEmitHost,\n    refreshTypeChecker,\n    setProgramSourceFiles,\n    initProcessingFiles,\n    processImportedModules,\n    getProcessingFiles,\n    deleteProgramSourceFiles,\n    isStaticSourceFile: host.isStaticSourceFile\n  };\n  onProgramCreateComplete();\n  fileProcessingDiagnostics == null ? void 0 : fileProcessingDiagnostics.forEach((diagnostic) => {\n    switch (diagnostic.kind) {\n      case 1 /* FilePreprocessingFileExplainingDiagnostic */:\n        return programDiagnostics.add(createDiagnosticExplainingFile(diagnostic.file && getSourceFileByPath(diagnostic.file), diagnostic.fileProcessingReason, diagnostic.diagnostic, diagnostic.args || emptyArray));\n      case 0 /* FilePreprocessingReferencedDiagnostic */:\n        const { file, pos, end } = getReferencedFileLocation(getSourceFileByPath, diagnostic.reason);\n        return programDiagnostics.add(createFileDiagnostic(file, Debug.checkDefined(pos), Debug.checkDefined(end) - pos, diagnostic.diagnostic, ...diagnostic.args || emptyArray));\n      default:\n        Debug.assertNever(diagnostic);\n    }\n  });\n  verifyCompilerOptions();\n  mark(\"afterProgram\");\n  MemoryDotting.stopRecordStage(recordInfo);\n  measure(\"Program\", \"beforeProgram\", \"afterProgram\");\n  (_p = tracing) == null ? void 0 : _p.pop();\n  PerformanceDotting.stop(\"createProgram\");\n  return program;\n  function addResolutionDiagnostics(list) {\n    if (!list)\n      return;\n    for (const elem of list) {\n      programDiagnostics.add(elem);\n    }\n  }\n  function pullDiagnosticsFromCache(names, containingFile) {\n    var _a3;\n    if (!moduleResolutionCache)\n      return;\n    const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory);\n    const containingFileMode = !isString(containingFile) ? containingFile.impliedNodeFormat : void 0;\n    const containingDir = getDirectoryPath(containingFileName);\n    const redirectedReference = getRedirectReferenceForResolution(containingFile);\n    let i = 0;\n    for (const n of names) {\n      const mode = typeof n === \"string\" ? getModeForResolutionAtIndex(containingFile, i) : getModeForFileReference(n, containingFileMode);\n      const name = typeof n === \"string\" ? n : n.fileName;\n      i++;\n      if (isExternalModuleNameRelative(name))\n        continue;\n      const diags = (_a3 = moduleResolutionCache.getOrCreateCacheForModuleName(name, mode, redirectedReference).get(containingDir)) == null ? void 0 : _a3.resolutionDiagnostics;\n      addResolutionDiagnostics(diags);\n    }\n  }\n  function resolveModuleNamesWorker(moduleNames, containingFile, reusedNames) {\n    var _a3, _b2;\n    if (!moduleNames.length)\n      return emptyArray;\n    const containingFileName = getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory);\n    const redirectedReference = getRedirectReferenceForResolution(containingFile);\n    (_a3 = tracing) == null ? void 0 : _a3.push(tracing.Phase.Program, \"resolveModuleNamesWorker\", { containingFileName });\n    PerformanceDotting.start(\"resolveModuleNamesWorker\");\n    mark(\"beforeResolveModule\");\n    const result = actualResolveModuleNamesWorker(moduleNames, containingFile, containingFileName, reusedNames, redirectedReference);\n    mark(\"afterResolveModule\");\n    measure(\"ResolveModule\", \"beforeResolveModule\", \"afterResolveModule\");\n    PerformanceDotting.stop(\"resolveModuleNamesWorker\");\n    (_b2 = tracing) == null ? void 0 : _b2.pop();\n    pullDiagnosticsFromCache(moduleNames, containingFile);\n    return result;\n  }\n  function resolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFile) {\n    var _a3, _b2;\n    if (!typeDirectiveNames.length)\n      return [];\n    const containingFileName = !isString(containingFile) ? getNormalizedAbsolutePath(containingFile.originalFileName, currentDirectory) : containingFile;\n    const redirectedReference = !isString(containingFile) ? getRedirectReferenceForResolution(containingFile) : void 0;\n    const containingFileMode = !isString(containingFile) ? containingFile.impliedNodeFormat : void 0;\n    (_a3 = tracing) == null ? void 0 : _a3.push(tracing.Phase.Program, \"resolveTypeReferenceDirectiveNamesWorker\", { containingFileName });\n    PerformanceDotting.start(\"resolveTypeReferenceDirectiveNamesWorker\");\n    mark(\"beforeResolveTypeReference\");\n    const result = actualResolveTypeReferenceDirectiveNamesWorker(typeDirectiveNames, containingFileName, redirectedReference, containingFileMode);\n    mark(\"afterResolveTypeReference\");\n    measure(\"ResolveTypeReference\", \"beforeResolveTypeReference\", \"afterResolveTypeReference\");\n    PerformanceDotting.stop(\"resolveTypeReferenceDirectiveNamesWorker\");\n    (_b2 = tracing) == null ? void 0 : _b2.pop();\n    return result;\n  }\n  function getRedirectReferenceForResolution(file) {\n    const redirect = getResolvedProjectReferenceToRedirect(file.originalFileName);\n    if (redirect || !isDeclarationFileName(file.originalFileName))\n      return redirect;\n    const resultFromDts = getRedirectReferenceForResolutionFromSourceOfProject(file.path);\n    if (resultFromDts)\n      return resultFromDts;\n    if (!host.realpath || !options.preserveSymlinks || !stringContains(file.originalFileName, nodeModulesPathPart) && !stringContains(file.originalFileName, ohModulesPathPart)) {\n      return void 0;\n    }\n    const realDeclarationPath = toPath3(host.realpath(file.originalFileName));\n    return realDeclarationPath === file.path ? void 0 : getRedirectReferenceForResolutionFromSourceOfProject(realDeclarationPath);\n  }\n  function getRedirectReferenceForResolutionFromSourceOfProject(filePath) {\n    const source = getSourceOfProjectReferenceRedirect(filePath);\n    if (isString(source))\n      return getResolvedProjectReferenceToRedirect(source);\n    if (!source)\n      return void 0;\n    return forEachResolvedProjectReference2((resolvedRef) => {\n      const out = outFile(resolvedRef.commandLine.options);\n      if (!out)\n        return void 0;\n      return toPath3(out) === filePath ? resolvedRef : void 0;\n    });\n  }\n  function compareDefaultLibFiles(a, b) {\n    return compareValues(getDefaultLibFilePriority(a), getDefaultLibFilePriority(b));\n  }\n  function getDefaultLibFilePriority(a) {\n    if (containsPath(defaultLibraryPath, a.fileName, false)) {\n      const basename = getBaseFileName(a.fileName);\n      if (basename === \"lib.d.ts\" || basename === \"lib.es6.d.ts\")\n        return 0;\n      const name = removeSuffix(removePrefix(basename, \"lib.\"), \".d.ts\");\n      const index = libs.indexOf(name);\n      if (index !== -1)\n        return index + 1;\n    }\n    return libs.length + 2;\n  }\n  function getResolvedModuleWithFailedLookupLocationsFromCache(moduleName, containingFile, mode) {\n    return moduleResolutionCache && resolveModuleNameFromCache(moduleName, containingFile, moduleResolutionCache, mode);\n  }\n  function toPath3(fileName) {\n    return toPath(fileName, currentDirectory, getCanonicalFileName);\n  }\n  function getCommonSourceDirectory2() {\n    if (commonSourceDirectory === void 0) {\n      const emittedFiles = filter(files, (file) => sourceFileMayBeEmitted(file, program));\n      commonSourceDirectory = getCommonSourceDirectory(\n        options,\n        () => mapDefined(emittedFiles, (file) => file.isDeclarationFile ? void 0 : file.fileName),\n        currentDirectory,\n        getCanonicalFileName,\n        (commonSourceDirectory2) => checkSourceFilesBelongToPath(emittedFiles, commonSourceDirectory2)\n      );\n    }\n    return commonSourceDirectory;\n  }\n  function getClassifiableNames() {\n    var _a3;\n    if (!classifiableNames) {\n      getTypeChecker();\n      classifiableNames = new Set2();\n      for (const sourceFile of files) {\n        (_a3 = sourceFile.classifiableNames) == null ? void 0 : _a3.forEach((value) => classifiableNames.add(value));\n      }\n    }\n    return classifiableNames;\n  }\n  function resolveModuleNamesReusingOldState(moduleNames, file) {\n    if (structureIsReused === 0 /* Not */ && !file.ambientModuleNames.length) {\n      return resolveModuleNamesWorker(moduleNames, file, void 0);\n    }\n    const oldSourceFile = oldProgram && oldProgram.getSourceFile(file.fileName);\n    if (oldSourceFile !== file && file.resolvedModules) {\n      const result2 = [];\n      let i = 0;\n      for (const moduleName of moduleNames) {\n        const resolvedModule = file.resolvedModules.get(moduleName, getModeForResolutionAtIndex(file, i));\n        i++;\n        result2.push(resolvedModule);\n      }\n      return result2;\n    }\n    let unknownModuleNames;\n    let result;\n    let reusedNames;\n    const predictedToResolveToAmbientModuleMarker = {};\n    for (let i = 0; i < moduleNames.length; i++) {\n      const moduleName = moduleNames[i];\n      if (file === oldSourceFile && !hasInvalidatedResolutions(oldSourceFile.path)) {\n        const oldResolvedModule = getResolvedModule(oldSourceFile, moduleName, getModeForResolutionAtIndex(oldSourceFile, i));\n        if (oldResolvedModule) {\n          if (isTraceEnabled(options, host)) {\n            trace(\n              host,\n              oldResolvedModule.packageId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,\n              moduleName,\n              getNormalizedAbsolutePath(file.originalFileName, currentDirectory),\n              oldResolvedModule.resolvedFileName,\n              oldResolvedModule.packageId && packageIdToString(oldResolvedModule.packageId)\n            );\n          }\n          (result || (result = new Array(moduleNames.length)))[i] = oldResolvedModule;\n          (reusedNames || (reusedNames = [])).push(moduleName);\n          continue;\n        }\n      }\n      let resolvesToAmbientModuleInNonModifiedFile = false;\n      if (contains(file.ambientModuleNames, moduleName)) {\n        resolvesToAmbientModuleInNonModifiedFile = true;\n        if (isTraceEnabled(options, host)) {\n          trace(host, Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1, moduleName, getNormalizedAbsolutePath(file.originalFileName, currentDirectory));\n        }\n      } else {\n        resolvesToAmbientModuleInNonModifiedFile = moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName, i);\n      }\n      if (resolvesToAmbientModuleInNonModifiedFile) {\n        (result || (result = new Array(moduleNames.length)))[i] = predictedToResolveToAmbientModuleMarker;\n      } else {\n        (unknownModuleNames || (unknownModuleNames = [])).push(moduleName);\n      }\n    }\n    const resolutions = unknownModuleNames && unknownModuleNames.length ? resolveModuleNamesWorker(unknownModuleNames, file, reusedNames) : emptyArray;\n    if (!result) {\n      Debug.assert(resolutions.length === moduleNames.length);\n      return resolutions;\n    }\n    let j = 0;\n    for (let i = 0; i < result.length; i++) {\n      if (result[i]) {\n        if (result[i] === predictedToResolveToAmbientModuleMarker) {\n          result[i] = void 0;\n        }\n      } else {\n        result[i] = resolutions[j];\n        j++;\n      }\n    }\n    Debug.assert(j === resolutions.length);\n    return result;\n    function moduleNameResolvesToAmbientModuleInNonModifiedFile(moduleName, index) {\n      if (index >= length(oldSourceFile == null ? void 0 : oldSourceFile.imports) + length(oldSourceFile == null ? void 0 : oldSourceFile.moduleAugmentations))\n        return false;\n      const resolutionToFile = getResolvedModule(oldSourceFile, moduleName, oldSourceFile && getModeForResolutionAtIndex(oldSourceFile, index));\n      const resolvedFile = resolutionToFile && oldProgram.getSourceFile(resolutionToFile.resolvedFileName);\n      if (resolutionToFile && resolvedFile) {\n        return false;\n      }\n      const unmodifiedFile = ambientModuleNameToUnmodifiedFileName.get(moduleName);\n      if (!unmodifiedFile) {\n        return false;\n      }\n      if (isTraceEnabled(options, host)) {\n        trace(host, Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified, moduleName, unmodifiedFile);\n      }\n      return true;\n    }\n  }\n  function canReuseProjectReferences() {\n    return !forEachProjectReference(\n      oldProgram.getProjectReferences(),\n      oldProgram.getResolvedProjectReferences(),\n      (oldResolvedRef, parent2, index) => {\n        const newRef = (parent2 ? parent2.commandLine.projectReferences : projectReferences)[index];\n        const newResolvedRef = parseProjectReferenceConfigFile(newRef);\n        if (oldResolvedRef) {\n          return !newResolvedRef || newResolvedRef.sourceFile !== oldResolvedRef.sourceFile || !arrayIsEqualTo(oldResolvedRef.commandLine.fileNames, newResolvedRef.commandLine.fileNames);\n        } else {\n          return newResolvedRef !== void 0;\n        }\n      },\n      (oldProjectReferences, parent2) => {\n        const newReferences = parent2 ? getResolvedProjectReferenceByPath(parent2.sourceFile.path).commandLine.projectReferences : projectReferences;\n        return !arrayIsEqualTo(oldProjectReferences, newReferences, projectReferenceIsEqualTo);\n      }\n    );\n  }\n  function tryReuseStructureFromOldProgram() {\n    var _a3, _b2;\n    if (!oldProgram) {\n      return 0 /* Not */;\n    }\n    const oldOptions = oldProgram.getCompilerOptions();\n    if (changesAffectModuleResolution(oldOptions, options)) {\n      return 0 /* Not */;\n    }\n    const oldRootNames = oldProgram.getRootFileNames();\n    if (!arrayIsEqualTo(oldRootNames, rootNames)) {\n      return 0 /* Not */;\n    }\n    if (!canReuseProjectReferences()) {\n      return 0 /* Not */;\n    }\n    if (projectReferences) {\n      resolvedProjectReferences = projectReferences.map(parseProjectReferenceConfigFile);\n    }\n    const newSourceFiles = [];\n    const modifiedSourceFiles = [];\n    structureIsReused = 2 /* Completely */;\n    if (oldProgram.getMissingFilePaths().some((missingFilePath) => host.fileExists(missingFilePath))) {\n      return 0 /* Not */;\n    }\n    const oldSourceFiles = oldProgram.getSourceFiles();\n    let SeenPackageName;\n    ((SeenPackageName2) => {\n      SeenPackageName2[SeenPackageName2[\"Exists\"] = 0] = \"Exists\";\n      SeenPackageName2[SeenPackageName2[\"Modified\"] = 1] = \"Modified\";\n    })(SeenPackageName || (SeenPackageName = {}));\n    const seenPackageNames = new Map2();\n    for (const oldSourceFile of oldSourceFiles) {\n      const sourceFileOptions = getCreateSourceFileOptions(oldSourceFile.fileName, moduleResolutionCache, host, options);\n      let newSourceFile = host.getSourceFileByPath ? host.getSourceFileByPath(oldSourceFile.fileName, oldSourceFile.resolvedPath, sourceFileOptions, void 0, shouldCreateNewSourceFile || sourceFileOptions.impliedNodeFormat !== oldSourceFile.impliedNodeFormat) : host.getSourceFile(oldSourceFile.fileName, sourceFileOptions, void 0, shouldCreateNewSourceFile || sourceFileOptions.impliedNodeFormat !== oldSourceFile.impliedNodeFormat);\n      if (!newSourceFile) {\n        return 0 /* Not */;\n      }\n      newSourceFile.packageJsonLocations = ((_a3 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a3.length) ? sourceFileOptions.packageJsonLocations : void 0;\n      newSourceFile.packageJsonScope = sourceFileOptions.packageJsonScope;\n      Debug.assert(!newSourceFile.redirectInfo, \"Host should not return a redirect source file from `getSourceFile`\");\n      let fileChanged;\n      if (oldSourceFile.redirectInfo) {\n        if (newSourceFile !== oldSourceFile.redirectInfo.unredirected) {\n          return 0 /* Not */;\n        }\n        fileChanged = false;\n        newSourceFile = oldSourceFile;\n      } else if (oldProgram.redirectTargetsMap.has(oldSourceFile.path)) {\n        if (newSourceFile !== oldSourceFile) {\n          return 0 /* Not */;\n        }\n        fileChanged = false;\n      } else {\n        fileChanged = newSourceFile !== oldSourceFile;\n      }\n      newSourceFile.path = oldSourceFile.path;\n      newSourceFile.originalFileName = oldSourceFile.originalFileName;\n      newSourceFile.resolvedPath = oldSourceFile.resolvedPath;\n      newSourceFile.fileName = oldSourceFile.fileName;\n      const packageName = oldProgram.sourceFileToPackageName.get(oldSourceFile.path);\n      if (packageName !== void 0) {\n        const prevKind = seenPackageNames.get(packageName);\n        const newKind = fileChanged ? 1 /* Modified */ : 0 /* Exists */;\n        if (prevKind !== void 0 && newKind === 1 /* Modified */ || prevKind === 1 /* Modified */) {\n          return 0 /* Not */;\n        }\n        seenPackageNames.set(packageName, newKind);\n      }\n      if (fileChanged) {\n        if (oldSourceFile.impliedNodeFormat !== newSourceFile.impliedNodeFormat) {\n          structureIsReused = 1 /* SafeModules */;\n        } else if (!arrayIsEqualTo(oldSourceFile.libReferenceDirectives, newSourceFile.libReferenceDirectives, fileReferenceIsEqualTo)) {\n          structureIsReused = 1 /* SafeModules */;\n        } else if (oldSourceFile.hasNoDefaultLib !== newSourceFile.hasNoDefaultLib) {\n          structureIsReused = 1 /* SafeModules */;\n        } else if (!arrayIsEqualTo(oldSourceFile.referencedFiles, newSourceFile.referencedFiles, fileReferenceIsEqualTo)) {\n          structureIsReused = 1 /* SafeModules */;\n        } else {\n          collectExternalModuleReferences(newSourceFile);\n          if (!arrayIsEqualTo(oldSourceFile.imports, newSourceFile.imports, moduleNameIsEqualTo)) {\n            structureIsReused = 1 /* SafeModules */;\n          } else if (!arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, moduleNameIsEqualTo)) {\n            structureIsReused = 1 /* SafeModules */;\n          } else if ((oldSourceFile.flags & 6291456 /* PermanentlySetIncrementalFlags */) !== (newSourceFile.flags & 6291456 /* PermanentlySetIncrementalFlags */)) {\n            structureIsReused = 1 /* SafeModules */;\n          } else if (!arrayIsEqualTo(oldSourceFile.typeReferenceDirectives, newSourceFile.typeReferenceDirectives, fileReferenceIsEqualTo)) {\n            structureIsReused = 1 /* SafeModules */;\n          }\n        }\n        modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile });\n      } else if (hasInvalidatedResolutions(oldSourceFile.path)) {\n        structureIsReused = 1 /* SafeModules */;\n        modifiedSourceFiles.push({ oldFile: oldSourceFile, newFile: newSourceFile });\n      }\n      newSourceFiles.push(newSourceFile);\n    }\n    if (structureIsReused !== 2 /* Completely */) {\n      return structureIsReused;\n    }\n    const modifiedFiles = modifiedSourceFiles.map((f) => f.oldFile);\n    for (const oldFile of oldSourceFiles) {\n      if (!contains(modifiedFiles, oldFile)) {\n        for (const moduleName of oldFile.ambientModuleNames) {\n          ambientModuleNameToUnmodifiedFileName.set(moduleName, oldFile.fileName);\n        }\n      }\n    }\n    for (const { oldFile: oldSourceFile, newFile: newSourceFile } of modifiedSourceFiles) {\n      const moduleNames = getModuleNames(newSourceFile);\n      const resolutions = resolveModuleNamesReusingOldState(moduleNames, newSourceFile);\n      const resolutionsChanged = hasChangesInResolutions(moduleNames, resolutions, oldSourceFile.resolvedModules, oldSourceFile, moduleResolutionIsEqualTo);\n      if (resolutionsChanged) {\n        structureIsReused = 1 /* SafeModules */;\n        newSourceFile.resolvedModules = zipToModeAwareCache(newSourceFile, moduleNames, resolutions);\n      } else {\n        newSourceFile.resolvedModules = oldSourceFile.resolvedModules;\n      }\n      const typesReferenceDirectives = newSourceFile.typeReferenceDirectives;\n      const typeReferenceResolutions = resolveTypeReferenceDirectiveNamesWorker(typesReferenceDirectives, newSourceFile);\n      const typeReferenceResolutionsChanged = hasChangesInResolutions(typesReferenceDirectives, typeReferenceResolutions, oldSourceFile.resolvedTypeReferenceDirectiveNames, oldSourceFile, typeDirectiveIsEqualTo);\n      if (typeReferenceResolutionsChanged) {\n        structureIsReused = 1 /* SafeModules */;\n        newSourceFile.resolvedTypeReferenceDirectiveNames = zipToModeAwareCache(newSourceFile, typesReferenceDirectives, typeReferenceResolutions);\n      } else {\n        newSourceFile.resolvedTypeReferenceDirectiveNames = oldSourceFile.resolvedTypeReferenceDirectiveNames;\n      }\n    }\n    if (structureIsReused !== 2 /* Completely */) {\n      return structureIsReused;\n    }\n    if (changesAffectingProgramStructure(oldOptions, options) || ((_b2 = host.hasChangedAutomaticTypeDirectiveNames) == null ? void 0 : _b2.call(host))) {\n      return 1 /* SafeModules */;\n    }\n    missingFilePaths = oldProgram.getMissingFilePaths();\n    Debug.assert(newSourceFiles.length === oldProgram.getSourceFiles().length);\n    for (const newSourceFile of newSourceFiles) {\n      filesByName.set(newSourceFile.path, newSourceFile);\n    }\n    const oldFilesByNameMap = oldProgram.getFilesByNameMap();\n    oldFilesByNameMap.forEach((oldFile, path) => {\n      if (!oldFile) {\n        filesByName.set(path, oldFile);\n        return;\n      }\n      if (oldFile.path === path) {\n        if (oldProgram.isSourceFileFromExternalLibrary(oldFile)) {\n          sourceFilesFoundSearchingNodeModules.set(oldFile.path, true);\n        }\n        return;\n      }\n      filesByName.set(path, filesByName.get(oldFile.path));\n    });\n    files = newSourceFiles;\n    fileReasons = oldProgram.getFileIncludeReasons();\n    fileProcessingDiagnostics = oldProgram.getFileProcessingDiagnostics();\n    resolvedTypeReferenceDirectives = oldProgram.getResolvedTypeReferenceDirectives();\n    sourceFileToPackageName = oldProgram.sourceFileToPackageName;\n    redirectTargetsMap = oldProgram.redirectTargetsMap;\n    usesUriStyleNodeCoreModules = oldProgram.usesUriStyleNodeCoreModules;\n    return 2 /* Completely */;\n  }\n  function getEmitHost(writeFileCallback) {\n    return {\n      getPrependNodes,\n      getCanonicalFileName,\n      getCommonSourceDirectory: program.getCommonSourceDirectory,\n      getCompilerOptions: program.getCompilerOptions,\n      getCurrentDirectory: () => currentDirectory,\n      getNewLine: () => host.getNewLine(),\n      getSourceFile: program.getSourceFile,\n      getSourceFileByPath: program.getSourceFileByPath,\n      getSourceFiles: program.getSourceFiles,\n      getLibFileFromReference: program.getLibFileFromReference,\n      isSourceFileFromExternalLibrary,\n      getResolvedProjectReferenceToRedirect,\n      getProjectReferenceRedirect,\n      isSourceOfProjectReferenceRedirect,\n      getSymlinkCache,\n      writeFile: writeFileCallback || writeFile2,\n      isEmitBlocked,\n      readFile: (f) => host.readFile(f),\n      fileExists: (f) => {\n        const path = toPath3(f);\n        if (getSourceFileByPath(path))\n          return true;\n        if (contains(missingFilePaths, path))\n          return false;\n        return host.fileExists(f);\n      },\n      useCaseSensitiveFileNames: () => host.useCaseSensitiveFileNames(),\n      getProgramBuildInfo: () => program.getProgramBuildInfo && program.getProgramBuildInfo(),\n      getSourceFileFromReference: (file, ref) => program.getSourceFileFromReference(file, ref),\n      redirectTargetsMap,\n      getFileIncludeReasons: program.getFileIncludeReasons,\n      createHash: maybeBind(host, host.createHash),\n      getProgramBuildInfoForLinter: () => program.getProgramBuildInfoForLinter && program.getProgramBuildInfoForLinter()\n    };\n  }\n  function writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data) {\n    host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n  }\n  function emitBuildInfo(writeFileCallback) {\n    var _a3, _b2;\n    Debug.assert(!outFile(options));\n    (_a3 = tracing) == null ? void 0 : _a3.push(tracing.Phase.Emit, \"emitBuildInfo\", {}, true);\n    mark(\"beforeEmit\");\n    const emitResult = emitFiles(\n      notImplementedResolver,\n      getEmitHost(writeFileCallback),\n      void 0,\n      noTransformers,\n      false,\n      true\n    );\n    mark(\"afterEmit\");\n    measure(\"Emit\", \"beforeEmit\", \"afterEmit\");\n    (_b2 = tracing) == null ? void 0 : _b2.pop();\n    return emitResult;\n  }\n  function getResolvedProjectReferences() {\n    return resolvedProjectReferences;\n  }\n  function getProjectReferences() {\n    return projectReferences;\n  }\n  function getPrependNodes() {\n    return createPrependNodes(\n      projectReferences,\n      (_ref, index) => {\n        var _a3;\n        return (_a3 = resolvedProjectReferences[index]) == null ? void 0 : _a3.commandLine;\n      },\n      (fileName) => {\n        const path = toPath3(fileName);\n        const sourceFile = getSourceFileByPath(path);\n        return sourceFile ? sourceFile.text : filesByName.has(path) ? void 0 : host.readFile(path);\n      }\n    );\n  }\n  function isSourceFileFromExternalLibrary(file) {\n    return !!sourceFilesFoundSearchingNodeModules.get(file.path);\n  }\n  function isSourceFileDefaultLibrary(file) {\n    if (!file.isDeclarationFile) {\n      return false;\n    }\n    if (file.hasNoDefaultLib) {\n      return true;\n    }\n    if (!options.noLib) {\n      return false;\n    }\n    const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStringsCaseInsensitive;\n    if (!options.lib) {\n      return equalityComparer(file.fileName, getDefaultLibraryFileName());\n    } else {\n      return some(options.lib, (libFileName) => equalityComparer(file.fileName, pathForLibFile(libFileName)));\n    }\n  }\n  function getEtsLibSFromProgram() {\n    return getEtsLibs(program);\n  }\n  function getTypeChecker() {\n    return typeChecker3 || (typeChecker3 = createTypeChecker(program));\n  }\n  function getLinterTypeChecker() {\n    return linterTypeChecker || (linterTypeChecker = createTypeChecker(program, true));\n  }\n  function refreshTypeChecker() {\n    typeChecker3 = createTypeChecker(program);\n    linterTypeChecker = createTypeChecker(program, true);\n  }\n  function setProgramSourceFiles(providedFile) {\n    const index = files.findIndex((file) => file.fileName === providedFile.fileName);\n    if (index === -1) {\n      files.push(providedFile);\n      filesByName.set(toPath3(providedFile.fileName), providedFile);\n      filesByNameIgnoreCase == null ? void 0 : filesByNameIgnoreCase.set(toFileNameLowerCase(providedFile.fileName), providedFile);\n    }\n  }\n  function deleteProgramSourceFiles(fileNames) {\n    let indexToRemove = [];\n    forEachRight(fileNames, (fileName) => {\n      const index = forEachRight(files, (file, i) => {\n        if (file.fileName === fileName) {\n          return i;\n        }\n        return void 0;\n      });\n      if (index !== void 0) {\n        indexToRemove.push(index);\n        filesByName.delete(toPath3(fileName));\n        filesByNameIgnoreCase == null ? void 0 : filesByNameIgnoreCase.delete(toFileNameLowerCase(fileName));\n      }\n    });\n    files = files.filter((_, index) => !indexToRemove.includes(index));\n  }\n  function initProcessingFiles() {\n    processingDefaultLibFiles = [];\n    processingOtherFiles = [];\n  }\n  function getProcessingFiles() {\n    if (!processingDefaultLibFiles && !processingOtherFiles) {\n      return void 0;\n    }\n    let res = [];\n    if (processingDefaultLibFiles) {\n      res = res.concat(processingDefaultLibFiles);\n    }\n    if (processingOtherFiles) {\n      res = res.concat(processingOtherFiles);\n    }\n    return res;\n  }\n  function emit(sourceFile, writeFileCallback, cancellationToken, emitOnlyDtsFiles, transformers, forceDtsEmit) {\n    var _a3, _b2;\n    (_a3 = tracing) == null ? void 0 : _a3.push(tracing.Phase.Emit, \"emit\", { path: sourceFile == null ? void 0 : sourceFile.path }, true);\n    PerformanceDotting.start(\"emit\");\n    const result = runWithCancellationToken(() => emitWorker(program, sourceFile, writeFileCallback, cancellationToken, emitOnlyDtsFiles, transformers, forceDtsEmit));\n    PerformanceDotting.stop(\"emit\");\n    (_b2 = tracing) == null ? void 0 : _b2.pop();\n    return result;\n  }\n  function isEmitBlocked(emitFileName) {\n    return hasEmitBlockingDiagnostics.has(toPath3(emitFileName));\n  }\n  function emitWorker(program2, sourceFile, writeFileCallback, cancellationToken, emitOnlyDtsFiles, customTransformers, forceDtsEmit) {\n    if (!forceDtsEmit) {\n      const result = handleNoEmitOptions(program2, sourceFile, writeFileCallback, cancellationToken);\n      if (result)\n        return result;\n    }\n    PerformanceDotting.start(\"getEmitResolver\");\n    const emitResolver = getTypeChecker().getEmitResolver(outFile(options) ? void 0 : sourceFile, cancellationToken);\n    PerformanceDotting.stop(\"getEmitResolver\");\n    mark(\"beforeEmit\");\n    PerformanceDotting.start(\"emitFiles\");\n    const emitResult = emitFiles(\n      emitResolver,\n      getEmitHost(writeFileCallback),\n      sourceFile,\n      getTransformers(options, customTransformers, emitOnlyDtsFiles),\n      emitOnlyDtsFiles,\n      false,\n      forceDtsEmit\n    );\n    PerformanceDotting.stop(\"emitFiles\");\n    mark(\"afterEmit\");\n    measure(\"Emit\", \"beforeEmit\", \"afterEmit\");\n    return emitResult;\n  }\n  function getSourceFile(fileName) {\n    return getSourceFileByPath(toPath3(fileName));\n  }\n  function getSourceFileByPath(path) {\n    return filesByName.get(path) || void 0;\n  }\n  function getDiagnosticsHelper(sourceFile, getDiagnostics2, cancellationToken) {\n    if (sourceFile) {\n      return getDiagnostics2(sourceFile, cancellationToken);\n    }\n    return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => {\n      if (cancellationToken) {\n        cancellationToken.throwIfCancellationRequested();\n      }\n      return getDiagnostics2(sourceFile2, cancellationToken);\n    }));\n  }\n  function getSyntacticDiagnostics(sourceFile, cancellationToken) {\n    return getDiagnosticsHelper(sourceFile, getSyntacticDiagnosticsForFile, cancellationToken);\n  }\n  function getSemanticDiagnostics(sourceFile, cancellationToken) {\n    return getDiagnosticsHelper(sourceFile, getSemanticDiagnosticsForFile, cancellationToken);\n  }\n  function getSemanticDiagnosticsForLinter(sourceFile, cancellationToken) {\n    return getDiagnosticsHelper(sourceFile, getSemanticDiagnosticsForFileForLinter, cancellationToken);\n  }\n  function getSemanticDiagnosticsForFileForLinter(sourceFile, cancellationToken) {\n    return concatenate(\n      filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, true), options),\n      getProgramDiagnostics(sourceFile)\n    );\n  }\n  function getCachedSemanticDiagnostics(sourceFile) {\n    var _a3;\n    return sourceFile ? (_a3 = cachedBindAndCheckDiagnosticsForFile.perFile) == null ? void 0 : _a3.get(sourceFile.path) : cachedBindAndCheckDiagnosticsForFile.allDiagnostics;\n  }\n  function getBindAndCheckDiagnostics(sourceFile, cancellationToken, isForLinter) {\n    return getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, isForLinter);\n  }\n  function getProgramDiagnostics(sourceFile) {\n    var _a3;\n    if (skipTypeChecking(sourceFile, options, program) || sourceFile.isDeclarationFile && !!options.needDoArkTsLinter) {\n      return emptyArray;\n    }\n    const programDiagnosticsInFile = programDiagnostics.getDiagnostics(sourceFile.fileName);\n    if (!((_a3 = sourceFile.commentDirectives) == null ? void 0 : _a3.length)) {\n      return programDiagnosticsInFile;\n    }\n    return getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, programDiagnosticsInFile).diagnostics;\n  }\n  function getDeclarationDiagnostics2(sourceFile, cancellationToken) {\n    const options2 = program.getCompilerOptions();\n    if (!sourceFile || outFile(options2)) {\n      return getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);\n    } else {\n      return getDiagnosticsHelper(sourceFile, getDeclarationDiagnosticsForFile, cancellationToken);\n    }\n  }\n  function getSyntacticDiagnosticsForFile(sourceFile) {\n    if (isSourceFileJS(sourceFile)) {\n      if (!sourceFile.additionalSyntacticDiagnostics) {\n        sourceFile.additionalSyntacticDiagnostics = getJSSyntacticDiagnosticsForFile(sourceFile);\n      }\n      return concatenate(sourceFile.additionalSyntacticDiagnostics, sourceFile.parseDiagnostics);\n    }\n    return sourceFile.parseDiagnostics;\n  }\n  function runWithCancellationToken(func) {\n    try {\n      return func();\n    } catch (e) {\n      if (e instanceof OperationCanceledException) {\n        typeChecker3 = void 0;\n      }\n      throw e;\n    }\n  }\n  function getSemanticDiagnosticsForFile(sourceFile, cancellationToken) {\n    return concatenate(\n      filterSemanticDiagnostics(getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken), options),\n      getProgramDiagnostics(sourceFile)\n    );\n  }\n  function getBindAndCheckDiagnosticsForFile(sourceFile, cancellationToken, isForLinter = false) {\n    if (!isForLinter) {\n      return getAndCacheDiagnostics(sourceFile, cancellationToken, cachedBindAndCheckDiagnosticsForFile, getBindAndCheckDiagnosticsForFileNoCache);\n    }\n    return getAndCacheDiagnostics(\n      sourceFile,\n      cancellationToken,\n      cachedBindAndCheckDiagnosticsForFileForLinter,\n      getBindAndCheckDiagnosticsForFileNoCache,\n      true\n    );\n  }\n  function getBindAndCheckDiagnosticsForFileNoCache(sourceFile, cancellationToken, isForLinter = false) {\n    return runWithCancellationToken(() => {\n      const filterFlag = !!options.needDoArkTsLinter;\n      if (filterFlag) {\n        options.skipLibCheck = false;\n      }\n      if (skipTypeChecking(sourceFile, options, program)) {\n        return emptyArray;\n      }\n      if (isForLinter && sourceFile.scriptKind !== 8 /* ETS */) {\n        return emptyArray;\n      }\n      const typeChecker4 = isForLinter ? getLinterTypeChecker() : getTypeChecker();\n      Debug.assert(!!sourceFile.bindDiagnostics);\n      const isJs = sourceFile.scriptKind === 1 /* JS */ || sourceFile.scriptKind === 2 /* JSX */;\n      const isCheckJs = isJs && isCheckJsEnabledForFile(sourceFile, options);\n      const isPlainJs = isPlainJsFile(sourceFile, options.checkJs);\n      const isTsNoCheck = !!sourceFile.checkJsDirective && sourceFile.checkJsDirective.enabled === false;\n      const includeBindAndCheckDiagnostics = !isTsNoCheck && (sourceFile.scriptKind === 3 /* TS */ || sourceFile.scriptKind === 4 /* TSX */ || sourceFile.scriptKind === 5 /* External */ || isPlainJs || isCheckJs || sourceFile.scriptKind === 7 /* Deferred */ || sourceFile.scriptKind === 8 /* ETS */);\n      let bindDiagnostics = includeBindAndCheckDiagnostics ? sourceFile.bindDiagnostics : emptyArray;\n      if (!includeBindAndCheckDiagnostics) {\n        typeChecker4.collectHaveTsNoCheckFilesForLinter(sourceFile);\n      }\n      let checkDiagnostics = includeBindAndCheckDiagnostics ? typeChecker4.getDiagnostics(sourceFile, cancellationToken) : emptyArray;\n      if (isPlainJs) {\n        bindDiagnostics = filter(bindDiagnostics, (d) => plainJSErrors.has(d.code));\n        checkDiagnostics = filter(checkDiagnostics, (d) => plainJSErrors.has(d.code));\n      }\n      return getMergedBindAndCheckDiagnostics(\n        sourceFile,\n        includeBindAndCheckDiagnostics && !isPlainJs,\n        bindDiagnostics,\n        filterFlag ? filterDiagnostics(checkDiagnostics) : checkDiagnostics,\n        isCheckJs ? sourceFile.jsDocDiagnostics : void 0\n      );\n    });\n  }\n  function filterDiagnostics(allDiagnostics) {\n    if (allDiagnostics) {\n      const diagnosticsAfterFilter = allDiagnostics.filter((item) => {\n        var _a3, _b2, _c2;\n        const isOhModule = item.file !== void 0 && normalizePath(item.file.fileName).indexOf(\"/oh_modules/\") !== -1;\n        const isNotForbiddenImportDiag = item.messageText !== (options.isCompatibleVersion ? Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden.message : Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden.message);\n        if (isOhModule) {\n          if (options.skipTscOhModuleCheck) {\n            return false;\n          }\n          if ((_a3 = item.file) == null ? void 0 : _a3.isDeclarationFile) {\n            return false;\n          }\n          return isNotForbiddenImportDiag;\n        }\n        if (((_b2 = item.file) == null ? void 0 : _b2.scriptKind) === 3 /* TS */ && ((_c2 = item.file) == null ? void 0 : _c2.isDeclarationFile)) {\n          if (item.file !== void 0 && getBaseFileName(item.file.fileName).indexOf(\"@kit.\") === 0) {\n            return false;\n          }\n          return !isNotForbiddenImportDiag;\n        }\n        return true;\n      });\n      return diagnosticsAfterFilter;\n    }\n    return emptyArray;\n  }\n  function getMergedBindAndCheckDiagnostics(sourceFile, includeBindAndCheckDiagnostics, ...allDiagnostics) {\n    var _a3;\n    const flatDiagnostics = flatten(allDiagnostics);\n    if (!includeBindAndCheckDiagnostics || !((_a3 = sourceFile.commentDirectives) == null ? void 0 : _a3.length)) {\n      return flatDiagnostics;\n    }\n    const { diagnostics, directives } = getDiagnosticsWithPrecedingDirectives(sourceFile, sourceFile.commentDirectives, flatDiagnostics);\n    for (const errorExpectation of directives.getUnusedExpectations()) {\n      diagnostics.push(createDiagnosticForRange(sourceFile, errorExpectation.range, Diagnostics.Unused_ts_expect_error_directive));\n    }\n    return diagnostics;\n  }\n  function getDiagnosticsWithPrecedingDirectives(sourceFile, commentDirectives, flatDiagnostics) {\n    const directives = createCommentDirectivesMap(sourceFile, commentDirectives);\n    const diagnostics = flatDiagnostics.filter((diagnostic) => markPrecedingCommentDirectiveLine(diagnostic, directives) === -1);\n    return { diagnostics, directives };\n  }\n  function getSuggestionDiagnostics(sourceFile, cancellationToken) {\n    return runWithCancellationToken(() => {\n      return getTypeChecker().getSuggestionDiagnostics(sourceFile, cancellationToken);\n    });\n  }\n  function markPrecedingCommentDirectiveLine(diagnostic, directives) {\n    const { file, start } = diagnostic;\n    if (!file) {\n      return -1;\n    }\n    const lineStarts = getLineStarts(file);\n    let line = computeLineAndCharacterOfPosition(lineStarts, start).line - 1;\n    while (line >= 0) {\n      if (directives.markUsed(line)) {\n        return line;\n      }\n      const lineText = file.text.slice(lineStarts[line], lineStarts[line + 1]).trim();\n      if (lineText !== \"\" && !/^(\\s*)\\/\\/(.*)$/.test(lineText)) {\n        return -1;\n      }\n      line--;\n    }\n    return -1;\n  }\n  function getJSSyntacticDiagnosticsForFile(sourceFile) {\n    return runWithCancellationToken(() => {\n      const diagnostics = [];\n      walk(sourceFile, sourceFile);\n      forEachChildRecursively(sourceFile, walk, walkArray);\n      return diagnostics;\n      function walk(node, parent2) {\n        switch (parent2.kind) {\n          case 168 /* Parameter */:\n          case 171 /* PropertyDeclaration */:\n          case 174 /* MethodDeclaration */:\n            if (parent2.questionToken === node) {\n              diagnostics.push(createDiagnosticForNode2(node, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, \"?\"));\n              return \"skip\";\n            }\n          case 173 /* MethodSignature */:\n          case 176 /* Constructor */:\n          case 177 /* GetAccessor */:\n          case 178 /* SetAccessor */:\n          case 218 /* FunctionExpression */:\n          case 263 /* FunctionDeclaration */:\n          case 219 /* ArrowFunction */:\n          case 261 /* VariableDeclaration */:\n            if (parent2.type === node) {\n              diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));\n              return \"skip\";\n            }\n        }\n        switch (node.kind) {\n          case 276 /* ImportClause */:\n            if (node.isTypeOnly) {\n              diagnostics.push(createDiagnosticForNode2(parent2, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, \"import type\"));\n              return \"skip\";\n            }\n            break;\n          case 281 /* ExportDeclaration */:\n            if (node.isTypeOnly) {\n              diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, \"export type\"));\n              return \"skip\";\n            }\n            break;\n          case 279 /* ImportSpecifier */:\n          case 284 /* ExportSpecifier */:\n            if (node.isTypeOnly) {\n              diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, isImportSpecifier(node) ? \"import...type\" : \"export...type\"));\n              return \"skip\";\n            }\n            break;\n          case 274 /* ImportEqualsDeclaration */:\n            diagnostics.push(createDiagnosticForNode2(node, Diagnostics.import_can_only_be_used_in_TypeScript_files));\n            return \"skip\";\n          case 280 /* ExportAssignment */:\n            if (node.isExportEquals) {\n              diagnostics.push(createDiagnosticForNode2(node, Diagnostics.export_can_only_be_used_in_TypeScript_files));\n              return \"skip\";\n            }\n            break;\n          case 300 /* HeritageClause */:\n            const heritageClause = node;\n            if (heritageClause.token === 118 /* ImplementsKeyword */) {\n              diagnostics.push(createDiagnosticForNode2(node, Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));\n              return \"skip\";\n            }\n            break;\n          case 267 /* InterfaceDeclaration */:\n            const interfaceKeyword = tokenToString(119 /* InterfaceKeyword */);\n            Debug.assertIsDefined(interfaceKeyword);\n            diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, interfaceKeyword));\n            return \"skip\";\n          case 270 /* ModuleDeclaration */:\n            const moduleKeyword = node.flags & 16 /* Namespace */ ? tokenToString(144 /* NamespaceKeyword */) : tokenToString(143 /* ModuleKeyword */);\n            Debug.assertIsDefined(moduleKeyword);\n            diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, moduleKeyword));\n            return \"skip\";\n          case 268 /* TypeAliasDeclaration */:\n            diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));\n            return \"skip\";\n          case 269 /* EnumDeclaration */:\n            const enumKeyword = Debug.checkDefined(tokenToString(93 /* EnumKeyword */));\n            diagnostics.push(createDiagnosticForNode2(node, Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files, enumKeyword));\n            return \"skip\";\n          case 236 /* NonNullExpression */:\n            diagnostics.push(createDiagnosticForNode2(node, Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));\n            return \"skip\";\n          case 235 /* AsExpression */:\n            diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));\n            return \"skip\";\n          case 239 /* SatisfiesExpression */:\n            diagnostics.push(createDiagnosticForNode2(node.type, Diagnostics.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files));\n            return \"skip\";\n          case 216 /* TypeAssertionExpression */:\n            Debug.fail();\n        }\n      }\n      function walkArray(nodes, parent2) {\n        if (canHaveModifiers(parent2) && parent2.modifiers === nodes && some(nodes, isDecorator) && !options.experimentalDecorators) {\n          diagnostics.push(createDiagnosticForNode2(parent2, Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning));\n        }\n        switch (parent2.kind) {\n          case 264 /* ClassDeclaration */:\n          case 232 /* ClassExpression */:\n          case 265 /* StructDeclaration */:\n          case 174 /* MethodDeclaration */:\n          case 176 /* Constructor */:\n          case 177 /* GetAccessor */:\n          case 178 /* SetAccessor */:\n          case 218 /* FunctionExpression */:\n          case 263 /* FunctionDeclaration */:\n          case 219 /* ArrowFunction */:\n            if (nodes === parent2.typeParameters) {\n              diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));\n              return \"skip\";\n            }\n          case 244 /* VariableStatement */:\n            if (nodes === parent2.modifiers) {\n              checkModifiers(parent2.modifiers, parent2.kind === 244 /* VariableStatement */);\n              return \"skip\";\n            }\n            break;\n          case 171 /* PropertyDeclaration */:\n            if (nodes === parent2.modifiers) {\n              for (const modifier of nodes) {\n                if (isModifier(modifier) && modifier.kind !== 125 /* StaticKeyword */ && modifier.kind !== 128 /* AccessorKeyword */) {\n                  diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)));\n                }\n              }\n              return \"skip\";\n            }\n            break;\n          case 168 /* Parameter */:\n            if (nodes === parent2.modifiers && some(nodes, isModifier)) {\n              diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files));\n              return \"skip\";\n            }\n            break;\n          case 213 /* CallExpression */:\n          case 214 /* NewExpression */:\n          case 234 /* ExpressionWithTypeArguments */:\n          case 288 /* JsxSelfClosingElement */:\n          case 289 /* JsxOpeningElement */:\n          case 215 /* TaggedTemplateExpression */:\n            if (nodes === parent2.typeArguments) {\n              diagnostics.push(createDiagnosticForNodeArray2(nodes, Diagnostics.Type_arguments_can_only_be_used_in_TypeScript_files));\n              return \"skip\";\n            }\n            break;\n        }\n      }\n      function checkModifiers(modifiers, isConstValid) {\n        for (const modifier of modifiers) {\n          switch (modifier.kind) {\n            case 86 /* ConstKeyword */:\n              if (isConstValid) {\n                continue;\n              }\n            case 124 /* PublicKeyword */:\n            case 122 /* PrivateKeyword */:\n            case 123 /* ProtectedKeyword */:\n            case 147 /* ReadonlyKeyword */:\n            case 137 /* DeclareKeyword */:\n            case 127 /* AbstractKeyword */:\n            case 163 /* OverrideKeyword */:\n            case 102 /* InKeyword */:\n            case 146 /* OutKeyword */:\n              diagnostics.push(createDiagnosticForNode2(modifier, Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files, tokenToString(modifier.kind)));\n              break;\n            case 125 /* StaticKeyword */:\n            case 94 /* ExportKeyword */:\n            case 89 /* DefaultKeyword */:\n            case 128 /* AccessorKeyword */:\n          }\n        }\n      }\n      function createDiagnosticForNodeArray2(nodes, message, arg0, arg1, arg2) {\n        const start = nodes.pos;\n        return createFileDiagnostic(sourceFile, start, nodes.end - start, message, arg0, arg1, arg2);\n      }\n      function createDiagnosticForNode2(node, message, arg0, arg1, arg2) {\n        return createDiagnosticForNodeInSourceFile(sourceFile, node, message, arg0, arg1, arg2);\n      }\n    });\n  }\n  function getDeclarationDiagnosticsWorker(sourceFile, cancellationToken) {\n    return getAndCacheDiagnostics(sourceFile, cancellationToken, cachedDeclarationDiagnosticsForFile, getDeclarationDiagnosticsForFileNoCache);\n  }\n  function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) {\n    return runWithCancellationToken(() => {\n      const resolver = getTypeChecker().getEmitResolver(sourceFile, cancellationToken);\n      return getDeclarationDiagnostics(getEmitHost(noop), resolver, sourceFile) || emptyArray;\n    });\n  }\n  function getAndCacheDiagnostics(sourceFile, cancellationToken, cache, getDiagnostics2, isForLinter) {\n    var _a3;\n    const cachedResult = sourceFile ? (_a3 = cache.perFile) == null ? void 0 : _a3.get(sourceFile.path) : cache.allDiagnostics;\n    if (cachedResult) {\n      return cachedResult;\n    }\n    let result;\n    if (isForLinter !== void 0) {\n      result = getDiagnostics2(sourceFile, cancellationToken, isForLinter);\n    } else {\n      result = getDiagnostics2(sourceFile, cancellationToken);\n    }\n    if (sourceFile) {\n      (cache.perFile || (cache.perFile = new Map2())).set(sourceFile.path, result);\n    } else {\n      cache.allDiagnostics = result;\n    }\n    return result;\n  }\n  function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) {\n    return sourceFile.isDeclarationFile ? [] : getDeclarationDiagnosticsWorker(sourceFile, cancellationToken);\n  }\n  function getOptionsDiagnostics() {\n    return sortAndDeduplicateDiagnostics(concatenate(\n      programDiagnostics.getGlobalDiagnostics(),\n      getOptionsDiagnosticsOfConfigFile()\n    ));\n  }\n  function getOptionsDiagnosticsOfConfigFile() {\n    if (!options.configFile)\n      return emptyArray;\n    let diagnostics = programDiagnostics.getDiagnostics(options.configFile.fileName);\n    forEachResolvedProjectReference2((resolvedRef) => {\n      diagnostics = concatenate(diagnostics, programDiagnostics.getDiagnostics(resolvedRef.sourceFile.fileName));\n    });\n    return diagnostics;\n  }\n  function getGlobalDiagnostics() {\n    return rootNames.length ? sortAndDeduplicateDiagnostics(getTypeChecker().getGlobalDiagnostics().slice()) : emptyArray;\n  }\n  function getConfigFileParsingDiagnostics2() {\n    return configFileParsingDiagnostics || emptyArray;\n  }\n  function processRootFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason) {\n    processSourceFile(normalizePath(fileName), isDefaultLib, ignoreNoDefaultLib, void 0, reason);\n  }\n  function fileReferenceIsEqualTo(a, b) {\n    return a.fileName === b.fileName;\n  }\n  function moduleNameIsEqualTo(a, b) {\n    return a.kind === 79 /* Identifier */ ? b.kind === 79 /* Identifier */ && a.escapedText === b.escapedText : b.kind === 10 /* StringLiteral */ && a.text === b.text;\n  }\n  function createSyntheticImport(text, file) {\n    const externalHelpersModuleReference = factory.createStringLiteral(text);\n    const importDecl = factory.createImportDeclaration(void 0, void 0, externalHelpersModuleReference, void 0);\n    addEmitFlags(importDecl, 67108864 /* NeverApplyImportHelper */);\n    setParent(externalHelpersModuleReference, importDecl);\n    setParent(importDecl, file);\n    externalHelpersModuleReference.flags &= ~8 /* Synthesized */;\n    importDecl.flags &= ~8 /* Synthesized */;\n    return externalHelpersModuleReference;\n  }\n  function collectExternalModuleReferences(file) {\n    if (file.imports) {\n      return;\n    }\n    const isJavaScriptFile = isSourceFileJS(file);\n    const isExternalModuleFile = isExternalModule(file);\n    let imports;\n    let moduleAugmentations;\n    let ambientModules;\n    if ((options.isolatedModules || isExternalModuleFile) && !file.isDeclarationFile) {\n      if (options.importHelpers) {\n        imports = [createSyntheticImport(externalHelpersModuleNameText, file)];\n      }\n      const jsxImport = getJSXRuntimeImport(getJSXImplicitImportBase(options, file), options);\n      if (jsxImport) {\n        (imports || (imports = [])).push(createSyntheticImport(jsxImport, file));\n      }\n    }\n    for (const node of file.statements) {\n      collectModuleReferences(node, false);\n    }\n    if (file.flags & 2097152 /* PossiblyContainsDynamicImport */ || isJavaScriptFile) {\n      collectDynamicImportOrRequireCalls(file);\n    }\n    file.imports = imports || emptyArray;\n    file.moduleAugmentations = moduleAugmentations || emptyArray;\n    file.ambientModuleNames = ambientModules || emptyArray;\n    return;\n    function collectModuleReferences(node, inAmbientModule) {\n      if (isAnyImportOrReExport(node)) {\n        const moduleNameExpr = getExternalModuleName(node);\n        if (moduleNameExpr && isStringLiteral(moduleNameExpr) && moduleNameExpr.text && (!inAmbientModule || !isExternalModuleNameRelative(moduleNameExpr.text))) {\n          setParentRecursive(node, false);\n          imports = append(imports, moduleNameExpr);\n          if (!usesUriStyleNodeCoreModules && currentNodeModulesDepth === 0 && !file.isDeclarationFile) {\n            usesUriStyleNodeCoreModules = startsWith(moduleNameExpr.text, \"node:\");\n          }\n        }\n      } else if (isModuleDeclaration(node)) {\n        if (isAmbientModule(node) && (inAmbientModule || hasSyntacticModifier(node, 2 /* Ambient */) || file.isDeclarationFile)) {\n          node.name.parent = node;\n          const nameText = getTextOfIdentifierOrLiteral(node.name);\n          if (isExternalModuleFile || inAmbientModule && !isExternalModuleNameRelative(nameText)) {\n            (moduleAugmentations || (moduleAugmentations = [])).push(node.name);\n          } else if (!inAmbientModule) {\n            if (file.isDeclarationFile) {\n              (ambientModules || (ambientModules = [])).push(nameText);\n            }\n            const body = node.body;\n            if (body) {\n              for (const statement of body.statements) {\n                collectModuleReferences(statement, true);\n              }\n            }\n          }\n        }\n      }\n    }\n    function collectDynamicImportOrRequireCalls(file2) {\n      const r = /import|require/g;\n      while (r.exec(file2.text) !== null) {\n        const node = getNodeAtPosition(file2, r.lastIndex);\n        if (isJavaScriptFile && isRequireCall(node, true)) {\n          setParentRecursive(node, false);\n          imports = append(imports, node.arguments[0]);\n        } else if (isImportCall(node) && node.arguments.length >= 1 && isStringLiteralLike(node.arguments[0])) {\n          setParentRecursive(node, false);\n          imports = append(imports, node.arguments[0]);\n        } else if (isLiteralImportTypeNode(node)) {\n          setParentRecursive(node, false);\n          imports = append(imports, node.argument.literal);\n        }\n      }\n    }\n    function getNodeAtPosition(sourceFile, position) {\n      let current = sourceFile;\n      const getContainingChild = (child) => {\n        if (child.pos <= position && (position < child.end || position === child.end && child.kind === 1 /* EndOfFileToken */)) {\n          return child;\n        }\n      };\n      while (true) {\n        const child = isJavaScriptFile && hasJSDocNodes(current) && forEach(current.jsDoc, getContainingChild) || forEachChild(current, getContainingChild);\n        if (!child) {\n          return current;\n        }\n        current = child;\n      }\n    }\n  }\n  function getLibFileFromReference(ref) {\n    const libName = toFileNameLowerCase(ref.fileName);\n    const libFileName = libMap.get(libName);\n    if (libFileName) {\n      return getSourceFile(pathForLibFile(libFileName));\n    }\n  }\n  function getSourceFileFromReference(referencingFile, ref) {\n    return getSourceFileFromReferenceWorker(resolveTripleslashReference(ref.fileName, referencingFile.fileName), getSourceFile);\n  }\n  function getSourceFileFromReferenceWorker(fileName, getSourceFile2, fail, reason) {\n    if (hasExtension(fileName)) {\n      const canonicalFileName = host.getCanonicalFileName(fileName);\n      if (!options.allowNonTsExtensions && !forEach(flatten(supportedExtensionsWithJsonIfResolveJsonModule), (extension) => fileExtensionIs(canonicalFileName, extension)) && !fileExtensionIs(canonicalFileName, \".ets\" /* Ets */)) {\n        if (fail) {\n          if (hasJSFileExtension(canonicalFileName)) {\n            fail(Diagnostics.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option, fileName);\n          } else {\n            fail(Diagnostics.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1, fileName, \"'\" + flatten(supportedExtensions).join(\"', '\") + \"'\");\n          }\n        }\n        return void 0;\n      }\n      const sourceFile = getSourceFile2(fileName);\n      if (fail) {\n        if (!sourceFile) {\n          const redirect = getProjectReferenceRedirect(fileName);\n          if (redirect) {\n            fail(Diagnostics.Output_file_0_has_not_been_built_from_source_file_1, redirect, fileName);\n          } else {\n            fail(Diagnostics.File_0_not_found, fileName);\n          }\n        } else if (isReferencedFile(reason) && canonicalFileName === host.getCanonicalFileName(getSourceFileByPath(reason.file).fileName)) {\n          fail(Diagnostics.A_file_cannot_have_a_reference_to_itself);\n        }\n      }\n      return sourceFile;\n    } else {\n      const sourceFileNoExtension = options.allowNonTsExtensions && getSourceFile2(fileName);\n      if (sourceFileNoExtension)\n        return sourceFileNoExtension;\n      if (fail && options.allowNonTsExtensions) {\n        fail(Diagnostics.File_0_not_found, fileName);\n        return void 0;\n      }\n      const sourceFileWithAddedExtension = forEach(supportedExtensions[0], (extension) => getSourceFile2(fileName + extension));\n      if (fail && !sourceFileWithAddedExtension)\n        fail(Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1, fileName, \"'\" + flatten(supportedExtensions).join(\"', '\") + \"'\");\n      return sourceFileWithAddedExtension;\n    }\n  }\n  function processSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, packageId, reason) {\n    getSourceFileFromReferenceWorker(\n      fileName,\n      (fileName2) => findSourceFile(fileName2, isDefaultLib, ignoreNoDefaultLib, reason, packageId),\n      (diagnostic, ...args) => addFilePreprocessingFileExplainingDiagnostic(void 0, reason, diagnostic, args),\n      reason\n    );\n  }\n  function processProjectReferenceFile(fileName, reason) {\n    return processSourceFile(fileName, false, false, void 0, reason);\n  }\n  function reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason) {\n    const hasExistingReasonToReportErrorOn = !isReferencedFile(reason) && some(fileReasons.get(existingFile.path), isReferencedFile);\n    if (hasExistingReasonToReportErrorOn) {\n      addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing, [existingFile.fileName, fileName]);\n    } else {\n      addFilePreprocessingFileExplainingDiagnostic(existingFile, reason, Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing, [fileName, existingFile.fileName]);\n    }\n  }\n  function createRedirectSourceFile(redirectTarget, unredirected, fileName, path, resolvedPath, originalFileName, sourceFileOptions) {\n    var _a3;\n    const redirect = Object.create(redirectTarget);\n    redirect.fileName = fileName;\n    redirect.path = path;\n    redirect.resolvedPath = resolvedPath;\n    redirect.originalFileName = originalFileName;\n    redirect.redirectInfo = { redirectTarget, unredirected };\n    redirect.packageJsonLocations = ((_a3 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _a3.length) ? sourceFileOptions.packageJsonLocations : void 0;\n    redirect.packageJsonScope = sourceFileOptions.packageJsonScope;\n    sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0);\n    Object.defineProperties(redirect, {\n      id: {\n        get() {\n          return this.redirectInfo.redirectTarget.id;\n        },\n        set(value) {\n          this.redirectInfo.redirectTarget.id = value;\n        }\n      },\n      symbol: {\n        get() {\n          return this.redirectInfo.redirectTarget.symbol;\n        },\n        set(value) {\n          this.redirectInfo.redirectTarget.symbol = value;\n        }\n      }\n    });\n    return redirect;\n  }\n  function findSourceFile(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) {\n    var _a3, _b2;\n    (_a3 = tracing) == null ? void 0 : _a3.push(tracing.Phase.Program, \"findSourceFile\", {\n      fileName,\n      isDefaultLib: isDefaultLib || void 0,\n      fileIncludeKind: FileIncludeKind[reason.kind]\n    });\n    const result = findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId);\n    (_b2 = tracing) == null ? void 0 : _b2.pop();\n    return result;\n  }\n  function getCreateSourceFileOptions(fileName, moduleResolutionCache2, host2, options2) {\n    const result = getImpliedNodeFormatForFileWorker(getNormalizedAbsolutePath(fileName, currentDirectory), moduleResolutionCache2 == null ? void 0 : moduleResolutionCache2.getPackageJsonInfoCache(), host2, options2);\n    const languageVersion = getEmitScriptTarget(options2);\n    const setExternalModuleIndicator2 = getSetExternalModuleIndicator(options2);\n    return typeof result === \"object\" ? { ...result, languageVersion, setExternalModuleIndicator: setExternalModuleIndicator2 } : { languageVersion, impliedNodeFormat: result, setExternalModuleIndicator: setExternalModuleIndicator2 };\n  }\n  function findSourceFileWorker(fileName, isDefaultLib, ignoreNoDefaultLib, reason, packageId) {\n    var _a3, _b2;\n    const path = toPath3(fileName);\n    if (useSourceOfProjectReferenceRedirect) {\n      let source = getSourceOfProjectReferenceRedirect(path);\n      const modulesPathPart = getModulePathPartByPMType(options.packageManagerType);\n      if (!source && host.realpath && options.preserveSymlinks && isDeclarationFileName(fileName) && stringContains(fileName, modulesPathPart)) {\n        const realPath2 = toPath3(host.realpath(fileName));\n        if (realPath2 !== path)\n          source = getSourceOfProjectReferenceRedirect(realPath2);\n      }\n      if (source) {\n        const file2 = isString(source) ? findSourceFile(source, isDefaultLib, ignoreNoDefaultLib, reason, packageId) : void 0;\n        if (file2)\n          addFileToFilesByName(file2, path, void 0);\n        return file2;\n      }\n    }\n    const originalFileName = fileName;\n    if (filesByName.has(path)) {\n      const file2 = filesByName.get(path);\n      addFileIncludeReason(file2 || void 0, reason);\n      if (file2 && options.forceConsistentCasingInFileNames) {\n        const checkedName = file2.fileName;\n        const isRedirect = toPath3(checkedName) !== toPath3(fileName);\n        if (isRedirect) {\n          fileName = getProjectReferenceRedirect(fileName) || fileName;\n        }\n        const checkedAbsolutePath = getNormalizedAbsolutePathWithoutRoot(checkedName, currentDirectory);\n        const inputAbsolutePath = getNormalizedAbsolutePathWithoutRoot(fileName, currentDirectory);\n        if (checkedAbsolutePath !== inputAbsolutePath) {\n          reportFileNamesDifferOnlyInCasingError(fileName, file2, reason);\n        }\n      }\n      if (file2 && sourceFilesFoundSearchingNodeModules.get(file2.path) && currentNodeModulesDepth === 0) {\n        sourceFilesFoundSearchingNodeModules.set(file2.path, false);\n        if (!options.noResolve) {\n          processReferencedFiles(file2, isDefaultLib);\n          processTypeReferenceDirectives(file2);\n        }\n        if (!options.noLib) {\n          processLibReferenceDirectives(file2);\n        }\n        modulesWithElidedImports.set(file2.path, false);\n        processImportedModules(file2);\n      } else if (file2 && modulesWithElidedImports.get(file2.path)) {\n        if (currentNodeModulesDepth < maxNodeModuleJsDepth) {\n          modulesWithElidedImports.set(file2.path, false);\n          processImportedModules(file2);\n        }\n      }\n      return file2 || void 0;\n    }\n    let redirectedPath;\n    if (isReferencedFile(reason) && !useSourceOfProjectReferenceRedirect) {\n      const redirectProject = getProjectReferenceRedirectProject(fileName);\n      if (redirectProject) {\n        if (outFile(redirectProject.commandLine.options)) {\n          return void 0;\n        }\n        const redirect = getProjectReferenceOutputName(redirectProject, fileName);\n        fileName = redirect;\n        redirectedPath = toPath3(redirect);\n      }\n    }\n    const sourceFileOptions = getCreateSourceFileOptions(fileName, moduleResolutionCache, host, options);\n    PerformanceDotting.start(\"getSourceFile\");\n    const file = host.getSourceFile(\n      fileName,\n      sourceFileOptions,\n      (hostErrorMessage) => addFilePreprocessingFileExplainingDiagnostic(void 0, reason, Diagnostics.Cannot_read_file_0_Colon_1, [fileName, hostErrorMessage]),\n      shouldCreateNewSourceFile || ((_a3 = oldProgram == null ? void 0 : oldProgram.getSourceFileByPath(toPath3(fileName))) == null ? void 0 : _a3.impliedNodeFormat) !== sourceFileOptions.impliedNodeFormat,\n      options\n    );\n    PerformanceDotting.stop(\"getSourceFile\");\n    if (packageId) {\n      const packageIdKey = packageIdToString(packageId);\n      const fileFromPackageId = packageIdToSourceFile.get(packageIdKey);\n      if (fileFromPackageId) {\n        const dupFile = createRedirectSourceFile(fileFromPackageId, file, fileName, path, toPath3(fileName), originalFileName, sourceFileOptions);\n        redirectTargetsMap.add(fileFromPackageId.path, fileName);\n        addFileToFilesByName(dupFile, path, redirectedPath);\n        addFileIncludeReason(dupFile, reason);\n        sourceFileToPackageName.set(path, packageIdToPackageName(packageId));\n        processingOtherFiles.push(dupFile);\n        return dupFile;\n      } else if (file) {\n        packageIdToSourceFile.set(packageIdKey, file);\n        sourceFileToPackageName.set(path, packageIdToPackageName(packageId));\n      }\n    }\n    addFileToFilesByName(file, path, redirectedPath);\n    if (file) {\n      sourceFilesFoundSearchingNodeModules.set(path, currentNodeModulesDepth > 0);\n      file.fileName = fileName;\n      file.path = path;\n      file.resolvedPath = toPath3(fileName);\n      file.originalFileName = originalFileName;\n      file.packageJsonLocations = ((_b2 = sourceFileOptions.packageJsonLocations) == null ? void 0 : _b2.length) ? sourceFileOptions.packageJsonLocations : void 0;\n      file.packageJsonScope = sourceFileOptions.packageJsonScope;\n      addFileIncludeReason(file, reason);\n      if (host.useCaseSensitiveFileNames()) {\n        const pathLowerCase = toFileNameLowerCase(path);\n        const existingFile = filesByNameIgnoreCase.get(pathLowerCase);\n        if (existingFile) {\n          reportFileNamesDifferOnlyInCasingError(fileName, existingFile, reason);\n        } else {\n          filesByNameIgnoreCase.set(pathLowerCase, file);\n        }\n      }\n      skipDefaultLib = skipDefaultLib || file.hasNoDefaultLib && !ignoreNoDefaultLib;\n      if (!options.noResolve) {\n        processReferencedFiles(file, isDefaultLib);\n        processTypeReferenceDirectives(file);\n      }\n      if (!options.noLib) {\n        processLibReferenceDirectives(file);\n      }\n      processImportedModules(file);\n      if (isDefaultLib) {\n        processingDefaultLibFiles.push(file);\n      } else {\n        processingOtherFiles.push(file);\n      }\n    }\n    return file;\n  }\n  function addFileIncludeReason(file, reason) {\n    if (file)\n      fileReasons.add(file.path, reason);\n  }\n  function addFileToFilesByName(file, path, redirectedPath) {\n    if (redirectedPath) {\n      filesByName.set(redirectedPath, file);\n      filesByName.set(path, file || false);\n    } else {\n      filesByName.set(path, file);\n    }\n  }\n  function getProjectReferenceRedirect(fileName) {\n    const referencedProject = getProjectReferenceRedirectProject(fileName);\n    return referencedProject && getProjectReferenceOutputName(referencedProject, fileName);\n  }\n  function getProjectReferenceRedirectProject(fileName) {\n    if (!resolvedProjectReferences || !resolvedProjectReferences.length || isDeclarationFileName(fileName) || fileExtensionIs(fileName, \".json\" /* Json */)) {\n      return void 0;\n    }\n    return getResolvedProjectReferenceToRedirect(fileName);\n  }\n  function getProjectReferenceOutputName(referencedProject, fileName) {\n    const out = outFile(referencedProject.commandLine.options);\n    return out ? changeExtension(out, \".d.ts\" /* Dts */) : getOutputDeclarationFileName(fileName, referencedProject.commandLine, !host.useCaseSensitiveFileNames());\n  }\n  function getResolvedProjectReferenceToRedirect(fileName) {\n    if (mapFromFileToProjectReferenceRedirects === void 0) {\n      mapFromFileToProjectReferenceRedirects = new Map2();\n      forEachResolvedProjectReference2((referencedProject) => {\n        if (toPath3(options.configFilePath) !== referencedProject.sourceFile.path) {\n          referencedProject.commandLine.fileNames.forEach((f) => mapFromFileToProjectReferenceRedirects.set(toPath3(f), referencedProject.sourceFile.path));\n        }\n      });\n    }\n    const referencedProjectPath = mapFromFileToProjectReferenceRedirects.get(toPath3(fileName));\n    return referencedProjectPath && getResolvedProjectReferenceByPath(referencedProjectPath);\n  }\n  function forEachResolvedProjectReference2(cb) {\n    return forEachResolvedProjectReference(resolvedProjectReferences, cb);\n  }\n  function getSourceOfProjectReferenceRedirect(path) {\n    if (!isDeclarationFileName(path))\n      return void 0;\n    if (mapFromToProjectReferenceRedirectSource === void 0) {\n      mapFromToProjectReferenceRedirectSource = new Map2();\n      forEachResolvedProjectReference2((resolvedRef) => {\n        const out = outFile(resolvedRef.commandLine.options);\n        if (out) {\n          const outputDts = changeExtension(out, \".d.ts\" /* Dts */);\n          mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), true);\n        } else {\n          const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames()));\n          forEach(resolvedRef.commandLine.fileNames, (fileName) => {\n            if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, \".json\" /* Json */)) {\n              const outputDts = getOutputDeclarationFileName(fileName, resolvedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3);\n              mapFromToProjectReferenceRedirectSource.set(toPath3(outputDts), fileName);\n            }\n          });\n        }\n      });\n    }\n    return mapFromToProjectReferenceRedirectSource.get(path);\n  }\n  function isSourceOfProjectReferenceRedirect(fileName) {\n    return useSourceOfProjectReferenceRedirect && !!getResolvedProjectReferenceToRedirect(fileName);\n  }\n  function getResolvedProjectReferenceByPath(projectReferencePath) {\n    if (!projectReferenceRedirects) {\n      return void 0;\n    }\n    return projectReferenceRedirects.get(projectReferencePath) || void 0;\n  }\n  function processReferencedFiles(file, isDefaultLib) {\n    forEach(file.referencedFiles, (ref, index) => {\n      processSourceFile(\n        resolveTripleslashReference(ref.fileName, file.fileName),\n        isDefaultLib,\n        false,\n        void 0,\n        { kind: 4 /* ReferenceFile */, file: file.path, index }\n      );\n    });\n  }\n  function processTypeReferenceDirectives(file) {\n    const typeDirectives = file.typeReferenceDirectives;\n    if (!typeDirectives) {\n      return;\n    }\n    const resolutions = resolveTypeReferenceDirectiveNamesWorker(typeDirectives, file);\n    for (let index = 0; index < typeDirectives.length; index++) {\n      const ref = file.typeReferenceDirectives[index];\n      const resolvedTypeReferenceDirective = resolutions[index];\n      const fileName = toFileNameLowerCase(ref.fileName);\n      setResolvedTypeReferenceDirective(file, fileName, resolvedTypeReferenceDirective);\n      const mode = ref.resolutionMode || file.impliedNodeFormat;\n      if (mode && getEmitModuleResolutionKind(options) !== 3 /* Node16 */ && getEmitModuleResolutionKind(options) !== 99 /* NodeNext */) {\n        programDiagnostics.add(createDiagnosticForRange(file, ref, Diagnostics.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext));\n      }\n      processTypeReferenceDirective(fileName, mode, resolvedTypeReferenceDirective, { kind: 5 /* TypeReferenceDirective */, file: file.path, index });\n    }\n  }\n  function processTypeReferenceDirective(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason) {\n    var _a3, _b2;\n    (_a3 = tracing) == null ? void 0 : _a3.push(tracing.Phase.Program, \"processTypeReferenceDirective\", { directive: typeReferenceDirective, hasResolved: !!resolvedTypeReferenceDirective, refKind: reason.kind, refPath: isReferencedFile(reason) ? reason.file : void 0 });\n    PerformanceDotting.start(\"processTypeReferenceDirective\");\n    processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason);\n    PerformanceDotting.stop(\"processTypeReferenceDirective\");\n    (_b2 = tracing) == null ? void 0 : _b2.pop();\n  }\n  function processTypeReferenceDirectiveWorker(typeReferenceDirective, mode, resolvedTypeReferenceDirective, reason) {\n    const previousResolution = resolvedTypeReferenceDirectives.get(typeReferenceDirective, mode);\n    if (previousResolution && previousResolution.primary) {\n      return;\n    }\n    let saveResolution = true;\n    if (resolvedTypeReferenceDirective) {\n      if (resolvedTypeReferenceDirective.isExternalLibraryImport)\n        currentNodeModulesDepth++;\n      if (resolvedTypeReferenceDirective.primary) {\n        processSourceFile(resolvedTypeReferenceDirective.resolvedFileName, false, false, resolvedTypeReferenceDirective.packageId, reason);\n      } else {\n        if (previousResolution) {\n          if (resolvedTypeReferenceDirective.resolvedFileName !== previousResolution.resolvedFileName) {\n            const otherFileText = host.readFile(resolvedTypeReferenceDirective.resolvedFileName);\n            const existingFile = getSourceFile(previousResolution.resolvedFileName);\n            if (otherFileText !== existingFile.text) {\n              addFilePreprocessingFileExplainingDiagnostic(\n                existingFile,\n                reason,\n                Diagnostics.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,\n                [typeReferenceDirective, resolvedTypeReferenceDirective.resolvedFileName, previousResolution.resolvedFileName]\n              );\n            }\n          }\n          saveResolution = false;\n        } else {\n          processSourceFile(resolvedTypeReferenceDirective.resolvedFileName, false, false, resolvedTypeReferenceDirective.packageId, reason);\n        }\n      }\n      if (resolvedTypeReferenceDirective.isExternalLibraryImport)\n        currentNodeModulesDepth--;\n    } else {\n      addFilePreprocessingFileExplainingDiagnostic(void 0, reason, Diagnostics.Cannot_find_type_definition_file_for_0, [typeReferenceDirective]);\n    }\n    if (saveResolution) {\n      resolvedTypeReferenceDirectives.set(typeReferenceDirective, mode, resolvedTypeReferenceDirective);\n    }\n  }\n  function pathForLibFile(libFileName) {\n    const components = libFileName.split(\".\");\n    let path = components[1];\n    let i = 2;\n    while (components[i] && components[i] !== \"d\") {\n      path += (i === 2 ? \"/\" : \"-\") + components[i];\n      i++;\n    }\n    const modulePathType = getModuleByPMType(options.packageManagerType);\n    const resolveFrom = combinePaths(currentDirectory, `__lib_${modulePathType}_lookup_${libFileName}__.ts`);\n    const localOverrideModuleResult = resolveModuleName(\"@typescript/lib-\" + path, resolveFrom, { moduleResolution: 2 /* NodeJs */ }, host, moduleResolutionCache);\n    if (localOverrideModuleResult == null ? void 0 : localOverrideModuleResult.resolvedModule) {\n      return localOverrideModuleResult.resolvedModule.resolvedFileName;\n    }\n    return combinePaths(defaultLibraryPath, libFileName);\n  }\n  function processLibReferenceDirectives(file) {\n    forEach(file.libReferenceDirectives, (libReference, index) => {\n      const libName = toFileNameLowerCase(libReference.fileName);\n      const libFileName = libMap.get(libName);\n      if (libFileName) {\n        processRootFile(pathForLibFile(libFileName), true, true, { kind: 7 /* LibReferenceDirective */, file: file.path, index });\n      } else {\n        const unqualifiedLibName = removeSuffix(removePrefix(libName, \"lib.\"), \".d.ts\");\n        const suggestion = getSpellingSuggestion(unqualifiedLibName, libs, identity);\n        const diagnostic = suggestion ? Diagnostics.Cannot_find_lib_definition_for_0_Did_you_mean_1 : Diagnostics.Cannot_find_lib_definition_for_0;\n        (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({\n          kind: 0 /* FilePreprocessingReferencedDiagnostic */,\n          reason: { kind: 7 /* LibReferenceDirective */, file: file.path, index },\n          diagnostic,\n          args: [libName, suggestion]\n        });\n      }\n    });\n  }\n  function getCanonicalFileName(fileName) {\n    return host.getCanonicalFileName(fileName);\n  }\n  function processImportedModules(file) {\n    var _a3;\n    collectExternalModuleReferences(file);\n    if (file.imports.length || file.moduleAugmentations.length) {\n      const moduleNames = getModuleNames(file);\n      const resolutions = resolveModuleNamesReusingOldState(moduleNames, file);\n      Debug.assert(resolutions.length === moduleNames.length);\n      const optionsForFile = (useSourceOfProjectReferenceRedirect ? (_a3 = getRedirectReferenceForResolution(file)) == null ? void 0 : _a3.commandLine.options : void 0) || options;\n      for (let index = 0; index < moduleNames.length; index++) {\n        const resolution = resolutions[index];\n        setResolvedModule(file, moduleNames[index], resolution, getModeForResolutionAtIndex(file, index));\n        if (!resolution || resolution.isNotOhExport) {\n          continue;\n        }\n        const isFromNodeModulesSearch = resolution.isExternalLibraryImport;\n        const isJsFile = !resolutionExtensionIsTSOrJson(resolution.extension);\n        const isJsFileFromNodeModules = isFromNodeModulesSearch && isJsFile;\n        const resolvedFileName = resolution.resolvedFileName;\n        if (isFromNodeModulesSearch) {\n          currentNodeModulesDepth++;\n        }\n        const elideImport = isJsFileFromNodeModules && currentNodeModulesDepth > maxNodeModuleJsDepth;\n        const shouldAddFile = resolvedFileName && !getResolutionDiagnostic(optionsForFile, resolution) && !optionsForFile.noResolve && index < file.imports.length && !elideImport && !(isJsFile && !getAllowJSCompilerOption(optionsForFile)) && (isInJSFile(file.imports[index]) || !(file.imports[index].flags & 8388608 /* JSDoc */));\n        if (elideImport) {\n          modulesWithElidedImports.set(file.path, true);\n        } else if (shouldAddFile) {\n          findSourceFile(\n            resolvedFileName,\n            false,\n            false,\n            { kind: 3 /* Import */, file: file.path, index },\n            resolution.packageId\n          );\n        }\n        if (isFromNodeModulesSearch) {\n          currentNodeModulesDepth--;\n        }\n      }\n    } else {\n      file.resolvedModules = void 0;\n    }\n  }\n  function checkSourceFilesBelongToPath(sourceFiles, rootDirectory) {\n    let allFilesBelongToPath = true;\n    const absoluteRootDirectoryPath = host.getCanonicalFileName(getNormalizedAbsolutePath(rootDirectory, currentDirectory));\n    for (const sourceFile of sourceFiles) {\n      if (!sourceFile.isDeclarationFile) {\n        const absoluteSourceFilePath = host.getCanonicalFileName(getNormalizedAbsolutePath(sourceFile.fileName, currentDirectory));\n        if (absoluteSourceFilePath.indexOf(absoluteRootDirectoryPath) !== 0) {\n          addProgramDiagnosticExplainingFile(\n            sourceFile,\n            Diagnostics.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,\n            [sourceFile.fileName, rootDirectory]\n          );\n          allFilesBelongToPath = false;\n        }\n      }\n    }\n    return allFilesBelongToPath;\n  }\n  function parseProjectReferenceConfigFile(ref) {\n    if (!projectReferenceRedirects) {\n      projectReferenceRedirects = new Map2();\n    }\n    const refPath = resolveProjectReferencePath(ref);\n    const sourceFilePath = toPath3(refPath);\n    const fromCache = projectReferenceRedirects.get(sourceFilePath);\n    if (fromCache !== void 0) {\n      return fromCache || void 0;\n    }\n    let commandLine;\n    let sourceFile;\n    if (host.getParsedCommandLine) {\n      commandLine = host.getParsedCommandLine(refPath);\n      if (!commandLine) {\n        addFileToFilesByName(void 0, sourceFilePath, void 0);\n        projectReferenceRedirects.set(sourceFilePath, false);\n        return void 0;\n      }\n      sourceFile = Debug.checkDefined(commandLine.options.configFile);\n      Debug.assert(!sourceFile.path || sourceFile.path === sourceFilePath);\n      addFileToFilesByName(sourceFile, sourceFilePath, void 0);\n    } else {\n      const basePath = getNormalizedAbsolutePath(getDirectoryPath(refPath), host.getCurrentDirectory());\n      sourceFile = host.getSourceFile(refPath, 100 /* JSON */);\n      addFileToFilesByName(sourceFile, sourceFilePath, void 0);\n      if (sourceFile === void 0) {\n        projectReferenceRedirects.set(sourceFilePath, false);\n        return void 0;\n      }\n      commandLine = parseJsonSourceFileConfigFileContent(sourceFile, configParsingHost, basePath, void 0, refPath);\n    }\n    sourceFile.fileName = refPath;\n    sourceFile.path = sourceFilePath;\n    sourceFile.resolvedPath = sourceFilePath;\n    sourceFile.originalFileName = refPath;\n    const resolvedRef = { commandLine, sourceFile };\n    projectReferenceRedirects.set(sourceFilePath, resolvedRef);\n    if (commandLine.projectReferences) {\n      resolvedRef.references = commandLine.projectReferences.map(parseProjectReferenceConfigFile);\n    }\n    return resolvedRef;\n  }\n  function verifyCompilerOptions() {\n    if (options.strictPropertyInitialization && !getStrictOptionValue(options, \"strictNullChecks\")) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"strictPropertyInitialization\", \"strictNullChecks\");\n    }\n    if (options.exactOptionalPropertyTypes && !getStrictOptionValue(options, \"strictNullChecks\")) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"exactOptionalPropertyTypes\", \"strictNullChecks\");\n    }\n    if (options.isolatedModules) {\n      if (options.out) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"out\", \"isolatedModules\");\n      }\n      if (options.outFile) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"outFile\", \"isolatedModules\");\n      }\n    }\n    if (options.isolatedDeclarations) {\n      if (getAllowJSCompilerOption(options)) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"allowJs\", \"isolatedDeclarations\");\n      }\n      if (!getEmitDeclarations(options)) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"isolatedDeclarations\", \"declaration\", \"composite\");\n      }\n    }\n    if (options.inlineSourceMap) {\n      if (options.sourceMap) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"sourceMap\", \"inlineSourceMap\");\n      }\n      if (options.mapRoot) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"mapRoot\", \"inlineSourceMap\");\n      }\n    }\n    if (options.composite) {\n      if (options.declaration === false) {\n        createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_declaration_emit, \"declaration\");\n      }\n      if (options.incremental === false) {\n        createDiagnosticForOptionName(Diagnostics.Composite_projects_may_not_disable_incremental_compilation, \"declaration\");\n      }\n    }\n    const outputFile = outFile(options);\n    if (options.tsBuildInfoFile) {\n      if (!isIncrementalCompilation(options)) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"tsBuildInfoFile\", \"incremental\", \"composite\");\n      }\n    } else if (options.incremental && !outputFile && !options.configFilePath) {\n      programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));\n    }\n    verifyProjectReferences();\n    if (options.composite) {\n      const rootPaths = new Set2(rootNames.map(toPath3));\n      for (const file of files) {\n        if (sourceFileMayBeEmitted(file, program) && !rootPaths.has(file.path)) {\n          addProgramDiagnosticExplainingFile(\n            file,\n            Diagnostics.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,\n            [file.fileName, options.configFilePath || \"\"]\n          );\n        }\n      }\n    }\n    if (options.paths) {\n      for (const key in options.paths) {\n        if (!hasProperty(options.paths, key)) {\n          continue;\n        }\n        if (!hasZeroOrOneAsteriskCharacter(key)) {\n          createDiagnosticForOptionPaths(true, key, Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character, key);\n        }\n        if (isArray(options.paths[key])) {\n          const len = options.paths[key].length;\n          if (len === 0) {\n            createDiagnosticForOptionPaths(false, key, Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array, key);\n          }\n          for (let i = 0; i < len; i++) {\n            const subst = options.paths[key][i];\n            const typeOfSubst = typeof subst;\n            if (typeOfSubst === \"string\") {\n              if (!hasZeroOrOneAsteriskCharacter(subst)) {\n                createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character, subst, key);\n              }\n              if (!options.baseUrl && !pathIsRelative(subst) && !pathIsAbsolute(subst)) {\n                createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash);\n              }\n            } else {\n              createDiagnosticForOptionPathKeyValue(key, i, Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2, subst, key, typeOfSubst);\n            }\n          }\n        } else {\n          createDiagnosticForOptionPaths(false, key, Diagnostics.Substitutions_for_pattern_0_should_be_an_array, key);\n        }\n      }\n    }\n    if (!options.sourceMap && !options.inlineSourceMap) {\n      if (options.inlineSources) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, \"inlineSources\");\n      }\n      if (options.sourceRoot) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided, \"sourceRoot\");\n      }\n    }\n    if (options.out && options.outFile) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"out\", \"outFile\");\n    }\n    if (options.mapRoot && !(options.sourceMap || options.declarationMap)) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"mapRoot\", \"sourceMap\", \"declarationMap\");\n    }\n    if (options.declarationDir) {\n      if (!getEmitDeclarations(options)) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"declarationDir\", \"declaration\", \"composite\");\n      }\n      if (outputFile) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"declarationDir\", options.out ? \"out\" : \"outFile\");\n      }\n    }\n    if (options.declarationMap && !getEmitDeclarations(options)) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"declarationMap\", \"declaration\", \"composite\");\n    }\n    if (options.lib && options.noLib) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"lib\", \"noLib\");\n    }\n    if (options.noImplicitUseStrict && getStrictOptionValue(options, \"alwaysStrict\")) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"noImplicitUseStrict\", \"alwaysStrict\");\n    }\n    const languageVersion = getEmitScriptTarget(options);\n    const firstNonAmbientExternalModuleSourceFile = find(files, (f) => isExternalModule(f) && !f.isDeclarationFile);\n    if (options.isolatedModules) {\n      if (options.module === 0 /* None */ && languageVersion < 2 /* ES2015 */) {\n        createDiagnosticForOptionName(Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher, \"isolatedModules\", \"target\");\n      }\n      if (options.preserveConstEnums === false) {\n        createDiagnosticForOptionName(Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled, \"preserveConstEnums\", \"isolatedModules\");\n      }\n      for (const file of files) {\n        if (!isExternalModule(file) && !isSourceFileJS(file) && !file.isDeclarationFile && file.scriptKind !== 6 /* JSON */) {\n          const span = getErrorSpanForNode(file, file);\n          programDiagnostics.add(createFileDiagnostic(\n            file,\n            span.start,\n            span.length,\n            Diagnostics._0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module,\n            getBaseFileName(file.fileName)\n          ));\n        }\n      }\n    } else if (firstNonAmbientExternalModuleSourceFile && languageVersion < 2 /* ES2015 */ && options.module === 0 /* None */) {\n      const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === \"boolean\" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator);\n      programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none));\n    }\n    if (outputFile && !options.emitDeclarationOnly) {\n      if (options.module && !(options.module === 2 /* AMD */ || options.module === 4 /* System */)) {\n        createDiagnosticForOptionName(Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0, options.out ? \"out\" : \"outFile\", \"module\");\n      } else if (options.module === void 0 && firstNonAmbientExternalModuleSourceFile) {\n        const span = getErrorSpanForNode(firstNonAmbientExternalModuleSourceFile, typeof firstNonAmbientExternalModuleSourceFile.externalModuleIndicator === \"boolean\" ? firstNonAmbientExternalModuleSourceFile : firstNonAmbientExternalModuleSourceFile.externalModuleIndicator);\n        programDiagnostics.add(createFileDiagnostic(firstNonAmbientExternalModuleSourceFile, span.start, span.length, Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system, options.out ? \"out\" : \"outFile\"));\n      }\n    }\n    if (options.resolveJsonModule) {\n      if (getEmitModuleResolutionKind(options) !== 2 /* NodeJs */ && getEmitModuleResolutionKind(options) !== 3 /* Node16 */ && getEmitModuleResolutionKind(options) !== 99 /* NodeNext */) {\n        createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy, \"resolveJsonModule\");\n      } else if (!hasJsonModuleEmitEnabled(options)) {\n        createDiagnosticForOptionName(Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext, \"resolveJsonModule\", \"module\");\n      }\n    }\n    if (options.outDir || options.rootDir || options.sourceRoot || options.mapRoot) {\n      const dir = getCommonSourceDirectory2();\n      if (options.outDir && dir === \"\" && files.some((file) => getRootLength(file.fileName) > 1)) {\n        createDiagnosticForOptionName(Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files, \"outDir\");\n      }\n    }\n    if (options.useDefineForClassFields && languageVersion === 0 /* ES3 */) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3, \"useDefineForClassFields\");\n    }\n    if (options.checkJs && !getAllowJSCompilerOption(options)) {\n      programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"checkJs\", \"allowJs\"));\n    }\n    if (options.emitDeclarationOnly) {\n      if (!getEmitDeclarations(options)) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, \"emitDeclarationOnly\", \"declaration\", \"composite\");\n      }\n      if (options.noEmit) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"emitDeclarationOnly\", \"noEmit\");\n      }\n    }\n    if (options.emitDecoratorMetadata && !options.experimentalDecorators) {\n      createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"emitDecoratorMetadata\", \"experimentalDecorators\");\n    }\n    if (options.jsxFactory) {\n      if (options.reactNamespace) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_with_option_1, \"reactNamespace\", \"jsxFactory\");\n      }\n      if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"jsxFactory\", inverseJsxOptionMap.get(\"\" + options.jsx));\n      }\n      if (!parseIsolatedEntityName(options.jsxFactory, languageVersion)) {\n        createOptionValueDiagnostic(\"jsxFactory\", Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFactory);\n      }\n    } else if (options.reactNamespace && !isIdentifierText(options.reactNamespace, languageVersion)) {\n      createOptionValueDiagnostic(\"reactNamespace\", Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier, options.reactNamespace);\n    }\n    if (options.jsxFragmentFactory) {\n      if (!options.jsxFactory) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1, \"jsxFragmentFactory\", \"jsxFactory\");\n      }\n      if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"jsxFragmentFactory\", inverseJsxOptionMap.get(\"\" + options.jsx));\n      }\n      if (!parseIsolatedEntityName(options.jsxFragmentFactory, languageVersion)) {\n        createOptionValueDiagnostic(\"jsxFragmentFactory\", Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name, options.jsxFragmentFactory);\n      }\n    }\n    if (options.reactNamespace) {\n      if (options.jsx === 4 /* ReactJSX */ || options.jsx === 5 /* ReactJSXDev */) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"reactNamespace\", inverseJsxOptionMap.get(\"\" + options.jsx));\n      }\n    }\n    if (options.jsxImportSource) {\n      if (options.jsx === 2 /* React */) {\n        createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1, \"jsxImportSource\", inverseJsxOptionMap.get(\"\" + options.jsx));\n      }\n    }\n    if (options.preserveValueImports && getEmitModuleKind(options) < 5 /* ES2015 */) {\n      createOptionValueDiagnostic(\"importsNotUsedAsValues\", Diagnostics.Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later);\n    }\n    if (!options.noEmit && !options.suppressOutputPathCheck) {\n      const emitHost = getEmitHost();\n      const emitFilesSeen = new Set2();\n      forEachEmittedFile(emitHost, (emitFileNames) => {\n        if (!options.emitDeclarationOnly) {\n          verifyEmitFilePath(emitFileNames.jsFilePath, emitFilesSeen);\n        }\n        verifyEmitFilePath(emitFileNames.declarationFilePath, emitFilesSeen);\n      });\n    }\n    function verifyEmitFilePath(emitFileName, emitFilesSeen) {\n      if (emitFileName) {\n        const emitFilePath = toPath3(emitFileName);\n        if (filesByName.has(emitFilePath)) {\n          let chain;\n          if (!options.configFilePath) {\n            chain = chainDiagnosticMessages(void 0, Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig);\n          }\n          chain = chainDiagnosticMessages(chain, Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file, emitFileName);\n          blockEmittingOfFile(emitFileName, createCompilerDiagnosticFromMessageChain(chain));\n        }\n        const emitFileKey = !host.useCaseSensitiveFileNames() ? toFileNameLowerCase(emitFilePath) : emitFilePath;\n        if (emitFilesSeen.has(emitFileKey)) {\n          blockEmittingOfFile(emitFileName, createCompilerDiagnostic(Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files, emitFileName));\n        } else {\n          emitFilesSeen.add(emitFileKey);\n        }\n      }\n    }\n  }\n  function createDiagnosticExplainingFile(file, fileProcessingReason, diagnostic, args) {\n    var _a3;\n    let fileIncludeReasons;\n    let relatedInfo;\n    let locationReason = isReferencedFile(fileProcessingReason) ? fileProcessingReason : void 0;\n    if (file)\n      (_a3 = fileReasons.get(file.path)) == null ? void 0 : _a3.forEach(processReason);\n    if (fileProcessingReason)\n      processReason(fileProcessingReason);\n    if (locationReason && (fileIncludeReasons == null ? void 0 : fileIncludeReasons.length) === 1)\n      fileIncludeReasons = void 0;\n    const location = locationReason && getReferencedFileLocation(getSourceFileByPath, locationReason);\n    const fileIncludeReasonDetails = fileIncludeReasons && chainDiagnosticMessages(fileIncludeReasons, Diagnostics.The_file_is_in_the_program_because_Colon);\n    const redirectInfo = file && explainIfFileIsRedirectAndImpliedFormat(file);\n    const chain = chainDiagnosticMessages(redirectInfo ? fileIncludeReasonDetails ? [fileIncludeReasonDetails, ...redirectInfo] : redirectInfo : fileIncludeReasonDetails, diagnostic, ...args || emptyArray);\n    return location && isReferenceFileLocation(location) ? createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : createCompilerDiagnosticFromMessageChain(chain, relatedInfo);\n    function processReason(reason) {\n      (fileIncludeReasons || (fileIncludeReasons = [])).push(fileIncludeReasonToDiagnostics(program, reason));\n      if (!locationReason && isReferencedFile(reason)) {\n        locationReason = reason;\n      } else if (locationReason !== reason) {\n        relatedInfo = append(relatedInfo, fileIncludeReasonToRelatedInformation(reason));\n      }\n      if (reason === fileProcessingReason)\n        fileProcessingReason = void 0;\n    }\n  }\n  function addFilePreprocessingFileExplainingDiagnostic(file, fileProcessingReason, diagnostic, args) {\n    (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({\n      kind: 1 /* FilePreprocessingFileExplainingDiagnostic */,\n      file: file && file.path,\n      fileProcessingReason,\n      diagnostic,\n      args\n    });\n  }\n  function addProgramDiagnosticExplainingFile(file, diagnostic, args) {\n    programDiagnostics.add(createDiagnosticExplainingFile(file, void 0, diagnostic, args));\n  }\n  function fileIncludeReasonToRelatedInformation(reason) {\n    if (isReferencedFile(reason)) {\n      const referenceLocation = getReferencedFileLocation(getSourceFileByPath, reason);\n      let message2;\n      switch (reason.kind) {\n        case 3 /* Import */:\n          message2 = Diagnostics.File_is_included_via_import_here;\n          break;\n        case 4 /* ReferenceFile */:\n          message2 = Diagnostics.File_is_included_via_reference_here;\n          break;\n        case 5 /* TypeReferenceDirective */:\n          message2 = Diagnostics.File_is_included_via_type_library_reference_here;\n          break;\n        case 7 /* LibReferenceDirective */:\n          message2 = Diagnostics.File_is_included_via_library_reference_here;\n          break;\n        default:\n          Debug.assertNever(reason);\n      }\n      return isReferenceFileLocation(referenceLocation) ? createFileDiagnostic(\n        referenceLocation.file,\n        referenceLocation.pos,\n        referenceLocation.end - referenceLocation.pos,\n        message2\n      ) : void 0;\n    }\n    if (!options.configFile)\n      return void 0;\n    let configFileNode;\n    let message;\n    switch (reason.kind) {\n      case 0 /* RootFile */:\n        if (!options.configFile.configFileSpecs)\n          return void 0;\n        const fileName = getNormalizedAbsolutePath(rootNames[reason.index], currentDirectory);\n        const matchedByFiles = getMatchedFileSpec(program, fileName);\n        if (matchedByFiles) {\n          configFileNode = getTsConfigPropArrayElementValue(options.configFile, \"files\", matchedByFiles);\n          message = Diagnostics.File_is_matched_by_files_list_specified_here;\n          break;\n        }\n        const matchedByInclude = getMatchedIncludeSpec(program, fileName);\n        if (!matchedByInclude || !isString(matchedByInclude))\n          return void 0;\n        configFileNode = getTsConfigPropArrayElementValue(options.configFile, \"include\", matchedByInclude);\n        message = Diagnostics.File_is_matched_by_include_pattern_specified_here;\n        break;\n      case 1 /* SourceFromProjectReference */:\n      case 2 /* OutputFromProjectReference */:\n        const referencedResolvedRef = Debug.checkDefined(resolvedProjectReferences == null ? void 0 : resolvedProjectReferences[reason.index]);\n        const referenceInfo = forEachProjectReference(\n          projectReferences,\n          resolvedProjectReferences,\n          (resolvedRef, parent2, index2) => resolvedRef === referencedResolvedRef ? { sourceFile: (parent2 == null ? void 0 : parent2.sourceFile) || options.configFile, index: index2 } : void 0\n        );\n        if (!referenceInfo)\n          return void 0;\n        const { sourceFile, index } = referenceInfo;\n        const referencesSyntax = firstDefined(\n          getTsConfigPropArray(sourceFile, \"references\"),\n          (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0\n        );\n        return referencesSyntax && referencesSyntax.elements.length > index ? createDiagnosticForNodeInSourceFile(\n          sourceFile,\n          referencesSyntax.elements[index],\n          reason.kind === 2 /* OutputFromProjectReference */ ? Diagnostics.File_is_output_from_referenced_project_specified_here : Diagnostics.File_is_source_from_referenced_project_specified_here\n        ) : void 0;\n      case 8 /* AutomaticTypeDirectiveFile */:\n        if (!options.types)\n          return void 0;\n        configFileNode = getOptionsSyntaxByArrayElementValue(\"types\", reason.typeReference);\n        message = Diagnostics.File_is_entry_point_of_type_library_specified_here;\n        break;\n      case 6 /* LibFile */:\n        if (reason.index !== void 0) {\n          configFileNode = getOptionsSyntaxByArrayElementValue(\"lib\", options.lib[reason.index]);\n          message = Diagnostics.File_is_library_specified_here;\n          break;\n        }\n        const target = forEachEntry(targetOptionDeclaration.type, (value, key) => value === getEmitScriptTarget(options) ? key : void 0);\n        configFileNode = target ? getOptionsSyntaxByValue(\"target\", target) : void 0;\n        message = Diagnostics.File_is_default_library_for_target_specified_here;\n        break;\n      default:\n        Debug.assertNever(reason);\n    }\n    return configFileNode && createDiagnosticForNodeInSourceFile(\n      options.configFile,\n      configFileNode,\n      message\n    );\n  }\n  function verifyProjectReferences() {\n    const buildInfoPath = !options.suppressOutputPathCheck ? getTsBuildInfoEmitOutputFilePath(options) : void 0;\n    forEachProjectReference(projectReferences, resolvedProjectReferences, (resolvedRef, parent2, index) => {\n      const ref = (parent2 ? parent2.commandLine.projectReferences : projectReferences)[index];\n      const parentFile = parent2 && parent2.sourceFile;\n      if (!resolvedRef) {\n        createDiagnosticForReference(parentFile, index, Diagnostics.File_0_not_found, ref.path);\n        return;\n      }\n      const options2 = resolvedRef.commandLine.options;\n      if (!options2.composite || options2.noEmit) {\n        const inputs = parent2 ? parent2.commandLine.fileNames : rootNames;\n        if (inputs.length) {\n          if (!options2.composite)\n            createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true, ref.path);\n          if (options2.noEmit)\n            createDiagnosticForReference(parentFile, index, Diagnostics.Referenced_project_0_may_not_disable_emit, ref.path);\n        }\n      }\n      if (ref.prepend) {\n        const out = outFile(options2);\n        if (out) {\n          if (!host.fileExists(out)) {\n            createDiagnosticForReference(parentFile, index, Diagnostics.Output_file_0_from_project_1_does_not_exist, out, ref.path);\n          }\n        } else {\n          createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set, ref.path);\n        }\n      }\n      if (!parent2 && buildInfoPath && buildInfoPath === getTsBuildInfoEmitOutputFilePath(options2)) {\n        createDiagnosticForReference(parentFile, index, Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1, buildInfoPath, ref.path);\n        hasEmitBlockingDiagnostics.set(toPath3(buildInfoPath), true);\n      }\n    });\n  }\n  function createDiagnosticForOptionPathKeyValue(key, valueIndex, message, arg0, arg1, arg2) {\n    let needCompilerDiagnostic = true;\n    const pathsSyntax = getOptionPathsSyntax();\n    for (const pathProp of pathsSyntax) {\n      if (isObjectLiteralExpression(pathProp.initializer)) {\n        for (const keyProps of getPropertyAssignment(pathProp.initializer, key)) {\n          const initializer = keyProps.initializer;\n          if (isArrayLiteralExpression(initializer) && initializer.elements.length > valueIndex) {\n            programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, initializer.elements[valueIndex], message, arg0, arg1, arg2));\n            needCompilerDiagnostic = false;\n          }\n        }\n      }\n    }\n    if (needCompilerDiagnostic) {\n      programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1, arg2));\n    }\n  }\n  function createDiagnosticForOptionPaths(onKey, key, message, arg0) {\n    let needCompilerDiagnostic = true;\n    const pathsSyntax = getOptionPathsSyntax();\n    for (const pathProp of pathsSyntax) {\n      if (isObjectLiteralExpression(pathProp.initializer) && createOptionDiagnosticInObjectLiteralSyntax(\n        pathProp.initializer,\n        onKey,\n        key,\n        void 0,\n        message,\n        arg0\n      )) {\n        needCompilerDiagnostic = false;\n      }\n    }\n    if (needCompilerDiagnostic) {\n      programDiagnostics.add(createCompilerDiagnostic(message, arg0));\n    }\n  }\n  function getOptionsSyntaxByName(name) {\n    const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n    return compilerOptionsObjectLiteralSyntax && getPropertyAssignment(compilerOptionsObjectLiteralSyntax, name);\n  }\n  function getOptionPathsSyntax() {\n    return getOptionsSyntaxByName(\"paths\") || emptyArray;\n  }\n  function getOptionsSyntaxByValue(name, value) {\n    const syntaxByName = getOptionsSyntaxByName(name);\n    return syntaxByName && firstDefined(syntaxByName, (property) => isStringLiteral(property.initializer) && property.initializer.text === value ? property.initializer : void 0);\n  }\n  function getOptionsSyntaxByArrayElementValue(name, value) {\n    const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n    return compilerOptionsObjectLiteralSyntax && getPropertyArrayElementValue(compilerOptionsObjectLiteralSyntax, name, value);\n  }\n  function createDiagnosticForOptionName(message, option1, option2, option3) {\n    createDiagnosticForOption(true, option1, option2, message, option1, option2, option3);\n  }\n  function createOptionValueDiagnostic(option1, message, arg0, arg1) {\n    createDiagnosticForOption(false, option1, void 0, message, arg0, arg1);\n  }\n  function createDiagnosticForReference(sourceFile, index, message, arg0, arg1) {\n    const referencesSyntax = firstDefined(\n      getTsConfigPropArray(sourceFile || options.configFile, \"references\"),\n      (property) => isArrayLiteralExpression(property.initializer) ? property.initializer : void 0\n    );\n    if (referencesSyntax && referencesSyntax.elements.length > index) {\n      programDiagnostics.add(createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, arg0, arg1));\n    } else {\n      programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1));\n    }\n  }\n  function createDiagnosticForOption(onKey, option1, option2, message, arg0, arg1, arg2) {\n    const compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();\n    const needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax || !createOptionDiagnosticInObjectLiteralSyntax(compilerOptionsObjectLiteralSyntax, onKey, option1, option2, message, arg0, arg1, arg2);\n    if (needCompilerDiagnostic) {\n      programDiagnostics.add(createCompilerDiagnostic(message, arg0, arg1, arg2));\n    }\n  }\n  function getCompilerOptionsObjectLiteralSyntax() {\n    if (_compilerOptionsObjectLiteralSyntax === void 0) {\n      _compilerOptionsObjectLiteralSyntax = false;\n      const jsonObjectLiteral = getTsConfigObjectLiteralExpression(options.configFile);\n      if (jsonObjectLiteral) {\n        for (const prop of getPropertyAssignment(jsonObjectLiteral, \"compilerOptions\")) {\n          if (isObjectLiteralExpression(prop.initializer)) {\n            _compilerOptionsObjectLiteralSyntax = prop.initializer;\n            break;\n          }\n        }\n      }\n    }\n    return _compilerOptionsObjectLiteralSyntax || void 0;\n  }\n  function createOptionDiagnosticInObjectLiteralSyntax(objectLiteral, onKey, key1, key2, message, arg0, arg1, arg2) {\n    const props = getPropertyAssignment(objectLiteral, key1, key2);\n    for (const prop of props) {\n      programDiagnostics.add(createDiagnosticForNodeInSourceFile(options.configFile, onKey ? prop.name : prop.initializer, message, arg0, arg1, arg2));\n    }\n    return !!props.length;\n  }\n  function blockEmittingOfFile(emitFileName, diag2) {\n    hasEmitBlockingDiagnostics.set(toPath3(emitFileName), true);\n    programDiagnostics.add(diag2);\n  }\n  function isEmittedFile(file) {\n    if (options.noEmit) {\n      return false;\n    }\n    const filePath = toPath3(file);\n    if (getSourceFileByPath(filePath)) {\n      return false;\n    }\n    const out = outFile(options);\n    if (out) {\n      return isSameFile(filePath, out) || isSameFile(filePath, removeFileExtension(out) + \".d.ts\" /* Dts */);\n    }\n    if (options.declarationDir && containsPath(options.declarationDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames())) {\n      return true;\n    }\n    if (options.outDir) {\n      return containsPath(options.outDir, filePath, currentDirectory, !host.useCaseSensitiveFileNames());\n    }\n    if (fileExtensionIsOneOf(filePath, supportedJSExtensionsFlat) || isDeclarationFileName(filePath)) {\n      const filePathWithoutExtension = removeFileExtension(filePath);\n      return !!getSourceFileByPath(filePathWithoutExtension + \".ts\" /* Ts */) || !!getSourceFileByPath(filePathWithoutExtension + \".tsx\" /* Tsx */);\n    }\n    return false;\n  }\n  function isSameFile(file1, file2) {\n    return comparePaths(file1, file2, currentDirectory, !host.useCaseSensitiveFileNames()) === 0 /* EqualTo */;\n  }\n  function getSymlinkCache() {\n    if (host.getSymlinkCache) {\n      return host.getSymlinkCache();\n    }\n    if (!symlinks) {\n      symlinks = createSymlinkCache(currentDirectory, getCanonicalFileName, isOhpm(options.packageManagerType));\n    }\n    if (files && resolvedTypeReferenceDirectives && !symlinks.hasProcessedResolutions()) {\n      symlinks.setSymlinksFromResolutions(files, resolvedTypeReferenceDirectives);\n    }\n    return symlinks;\n  }\n}\nfunction updateHostForUseSourceOfProjectReferenceRedirect(host) {\n  let setOfDeclarationDirectories;\n  const originalFileExists = host.compilerHost.fileExists;\n  const originalDirectoryExists = host.compilerHost.directoryExists;\n  const originalGetDirectories = host.compilerHost.getDirectories;\n  const originalRealpath = host.compilerHost.realpath;\n  if (!host.useSourceOfProjectReferenceRedirect)\n    return { onProgramCreateComplete: noop, fileExists };\n  host.compilerHost.fileExists = fileExists;\n  let directoryExists;\n  if (originalDirectoryExists) {\n    directoryExists = host.compilerHost.directoryExists = (path) => {\n      if (originalDirectoryExists.call(host.compilerHost, path)) {\n        handleDirectoryCouldBeSymlink(path);\n        return true;\n      }\n      if (!host.getResolvedProjectReferences())\n        return false;\n      if (!setOfDeclarationDirectories) {\n        setOfDeclarationDirectories = new Set2();\n        host.forEachResolvedProjectReference((ref) => {\n          const out = outFile(ref.commandLine.options);\n          if (out) {\n            setOfDeclarationDirectories.add(getDirectoryPath(host.toPath(out)));\n          } else {\n            const declarationDir = ref.commandLine.options.declarationDir || ref.commandLine.options.outDir;\n            if (declarationDir) {\n              setOfDeclarationDirectories.add(host.toPath(declarationDir));\n            }\n          }\n        });\n      }\n      return fileOrDirectoryExistsUsingSource(path, false);\n    };\n  }\n  if (originalGetDirectories) {\n    host.compilerHost.getDirectories = (path) => !host.getResolvedProjectReferences() || originalDirectoryExists && originalDirectoryExists.call(host.compilerHost, path) ? originalGetDirectories.call(host.compilerHost, path) : [];\n  }\n  if (originalRealpath) {\n    host.compilerHost.realpath = (s) => {\n      var _a2;\n      return ((_a2 = host.getSymlinkCache().getSymlinkedFiles()) == null ? void 0 : _a2.get(host.toPath(s))) || originalRealpath.call(host.compilerHost, s);\n    };\n  }\n  return { onProgramCreateComplete, fileExists, directoryExists };\n  function onProgramCreateComplete() {\n    host.compilerHost.fileExists = originalFileExists;\n    host.compilerHost.directoryExists = originalDirectoryExists;\n    host.compilerHost.getDirectories = originalGetDirectories;\n  }\n  function fileExists(file) {\n    if (originalFileExists.call(host.compilerHost, file))\n      return true;\n    if (!host.getResolvedProjectReferences())\n      return false;\n    if (!isDeclarationFileName(file))\n      return false;\n    return fileOrDirectoryExistsUsingSource(file, true);\n  }\n  function fileExistsIfProjectReferenceDts(file) {\n    const source = host.getSourceOfProjectReferenceRedirect(host.toPath(file));\n    return source !== void 0 ? isString(source) ? originalFileExists.call(host.compilerHost, source) : true : void 0;\n  }\n  function directoryExistsIfProjectReferenceDeclDir(dir) {\n    const dirPath = host.toPath(dir);\n    const dirPathWithTrailingDirectorySeparator = `${dirPath}${directorySeparator}`;\n    return forEachKey(\n      setOfDeclarationDirectories,\n      (declDirPath) => dirPath === declDirPath || startsWith(declDirPath, dirPathWithTrailingDirectorySeparator) || startsWith(dirPath, `${declDirPath}/`)\n    );\n  }\n  function handleDirectoryCouldBeSymlink(directory) {\n    var _a2, _b;\n    if (!host.getResolvedProjectReferences() || containsIgnoredPath(directory))\n      return;\n    const modulesPathPart = getModulePathPartByPMType((_a2 = host.options) == null ? void 0 : _a2.packageManagerType);\n    if (!originalRealpath || !stringContains(directory, modulesPathPart))\n      return;\n    const symlinkCache = host.getSymlinkCache();\n    const directoryPath = ensureTrailingDirectorySeparator(host.toPath(directory));\n    if ((_b = symlinkCache.getSymlinkedDirectories()) == null ? void 0 : _b.has(directoryPath))\n      return;\n    const real = normalizePath(originalRealpath.call(host.compilerHost, directory));\n    let realPath2;\n    if (real === directory || (realPath2 = ensureTrailingDirectorySeparator(host.toPath(real))) === directoryPath) {\n      symlinkCache.setSymlinkedDirectory(directoryPath, false);\n      return;\n    }\n    symlinkCache.setSymlinkedDirectory(directory, {\n      real: ensureTrailingDirectorySeparator(real),\n      realPath: realPath2\n    });\n  }\n  function fileOrDirectoryExistsUsingSource(fileOrDirectory, isFile) {\n    var _a2, _b;\n    const fileOrDirectoryExistsUsingSource2 = isFile ? (file) => fileExistsIfProjectReferenceDts(file) : (dir) => directoryExistsIfProjectReferenceDeclDir(dir);\n    const result = fileOrDirectoryExistsUsingSource2(fileOrDirectory);\n    if (result !== void 0)\n      return result;\n    const symlinkCache = host.getSymlinkCache();\n    const symlinkedDirectories = symlinkCache.getSymlinkedDirectories();\n    if (!symlinkedDirectories)\n      return false;\n    const fileOrDirectoryPath = host.toPath(fileOrDirectory);\n    const modulesPathPart = getModulePathPartByPMType((_a2 = host.options) == null ? void 0 : _a2.packageManagerType);\n    if (!stringContains(fileOrDirectoryPath, modulesPathPart))\n      return false;\n    if (isFile && ((_b = symlinkCache.getSymlinkedFiles()) == null ? void 0 : _b.has(fileOrDirectoryPath)))\n      return true;\n    return firstDefinedIterator(\n      symlinkedDirectories.entries(),\n      ([directoryPath, symlinkedDirectory]) => {\n        if (!symlinkedDirectory || !startsWith(fileOrDirectoryPath, directoryPath))\n          return void 0;\n        const result2 = fileOrDirectoryExistsUsingSource2(fileOrDirectoryPath.replace(directoryPath, symlinkedDirectory.realPath));\n        if (isFile && result2) {\n          const absolutePath = getNormalizedAbsolutePath(fileOrDirectory, host.compilerHost.getCurrentDirectory());\n          symlinkCache.setSymlinkedFile(\n            fileOrDirectoryPath,\n            `${symlinkedDirectory.real}${absolutePath.replace(new RegExp(directoryPath, \"i\"), \"\")}`\n          );\n        }\n        return result2;\n      }\n    ) || false;\n  }\n}\nvar emitSkippedWithNoDiagnostics = { diagnostics: emptyArray, sourceMaps: void 0, emittedFiles: void 0, emitSkipped: true };\nfunction handleNoEmitOptions(program, sourceFile, writeFile2, cancellationToken) {\n  const options = program.getCompilerOptions();\n  if (options.noEmit) {\n    program.getSemanticDiagnostics(sourceFile, cancellationToken);\n    return sourceFile || outFile(options) ? emitSkippedWithNoDiagnostics : program.emitBuildInfo(writeFile2, cancellationToken);\n  }\n  if (!options.noEmitOnError)\n    return void 0;\n  let diagnostics = [\n    ...program.getOptionsDiagnostics(cancellationToken),\n    ...program.getSyntacticDiagnostics(sourceFile, cancellationToken),\n    ...program.getGlobalDiagnostics(cancellationToken),\n    ...program.getSemanticDiagnostics(sourceFile, cancellationToken)\n  ];\n  if (diagnostics.length === 0 && getEmitDeclarations(program.getCompilerOptions())) {\n    diagnostics = program.getDeclarationDiagnostics(void 0, cancellationToken);\n  }\n  if (!diagnostics.length)\n    return void 0;\n  let emittedFiles;\n  if (!sourceFile && !outFile(options)) {\n    const emitResult = program.emitBuildInfo(writeFile2, cancellationToken);\n    if (emitResult.diagnostics)\n      diagnostics = [...diagnostics, ...emitResult.diagnostics];\n    emittedFiles = emitResult.emittedFiles;\n  }\n  return { diagnostics, sourceMaps: void 0, emittedFiles, emitSkipped: true };\n}\nfunction filterSemanticDiagnostics(diagnostic, option) {\n  return filter(diagnostic, (d) => !d.skippedOn || !option[d.skippedOn]);\n}\nfunction parseConfigHostFromCompilerHostLike(host, directoryStructureHost = host) {\n  return {\n    fileExists: (f) => directoryStructureHost.fileExists(f),\n    readDirectory(root, extensions, excludes, includes, depth) {\n      Debug.assertIsDefined(directoryStructureHost.readDirectory, \"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'\");\n      return directoryStructureHost.readDirectory(root, extensions, excludes, includes, depth);\n    },\n    readFile: (f) => directoryStructureHost.readFile(f),\n    useCaseSensitiveFileNames: host.useCaseSensitiveFileNames(),\n    getCurrentDirectory: () => host.getCurrentDirectory(),\n    onUnRecoverableConfigFileDiagnostic: host.onUnRecoverableConfigFileDiagnostic || returnUndefined,\n    trace: host.trace ? (s) => host.trace(s) : void 0\n  };\n}\nfunction createPrependNodes(projectReferences, getCommandLine, readFile) {\n  if (!projectReferences)\n    return emptyArray;\n  let nodes;\n  for (let i = 0; i < projectReferences.length; i++) {\n    const ref = projectReferences[i];\n    const resolvedRefOpts = getCommandLine(ref, i);\n    if (ref.prepend && resolvedRefOpts && resolvedRefOpts.options) {\n      const out = outFile(resolvedRefOpts.options);\n      if (!out)\n        continue;\n      const { jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath } = getOutputPathsForBundle(resolvedRefOpts.options, true);\n      const node = createInputFiles(readFile, jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath);\n      (nodes || (nodes = [])).push(node);\n    }\n  }\n  return nodes || emptyArray;\n}\nfunction resolveProjectReferencePath(hostOrRef, ref) {\n  const passedInRef = ref ? ref : hostOrRef;\n  return resolveConfigFileProjectName(passedInRef.path);\n}\nfunction getResolutionDiagnostic(options, { extension }) {\n  switch (extension) {\n    case \".ts\" /* Ts */:\n    case \".d.ts\" /* Dts */:\n    case \".ets\" /* Ets */:\n    case \".d.ets\" /* Dets */:\n      return void 0;\n    case \".tsx\" /* Tsx */:\n      return needJsx();\n    case \".jsx\" /* Jsx */:\n      return needJsx() || needAllowJs();\n    case \".js\" /* Js */:\n      return needAllowJs();\n    case \".json\" /* Json */:\n      return needResolveJsonModule();\n  }\n  function needJsx() {\n    return options.jsx ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set;\n  }\n  function needAllowJs() {\n    return getAllowJSCompilerOption(options) || !getStrictOptionValue(options, \"noImplicitAny\") ? void 0 : Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type;\n  }\n  function needResolveJsonModule() {\n    return options.resolveJsonModule ? void 0 : Diagnostics.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used;\n  }\n}\nfunction getModuleNames({ imports, moduleAugmentations }) {\n  const res = imports.map((i) => i.text);\n  for (const aug of moduleAugmentations) {\n    if (aug.kind === 10 /* StringLiteral */) {\n      res.push(aug.text);\n    }\n  }\n  return res;\n}\nfunction getModuleNameStringLiteralAt({ imports, moduleAugmentations }, index) {\n  if (index < imports.length)\n    return imports[index];\n  let augIndex = imports.length;\n  for (const aug of moduleAugmentations) {\n    if (aug.kind === 10 /* StringLiteral */) {\n      if (index === augIndex)\n        return aug;\n      augIndex++;\n    }\n  }\n  Debug.fail(\"should never ask for module name at index higher than possible module name\");\n}\n\n// src/compiler/builderState.ts\nfunction getFileEmitOutput(program, sourceFile, emitOnlyDtsFiles, cancellationToken, customTransformers, forceDtsEmit) {\n  const outputFiles = [];\n  const { emitSkipped, diagnostics } = program.emit(sourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers, forceDtsEmit);\n  return { outputFiles, emitSkipped, diagnostics };\n  function writeFile2(fileName, text, writeByteOrderMark) {\n    outputFiles.push({ name: fileName, writeByteOrderMark, text });\n  }\n}\nvar BuilderState;\n((BuilderState2) => {\n  function createManyToManyPathMap() {\n    function create2(forward, reverse, deleted) {\n      const map2 = {\n        getKeys: (v) => reverse.get(v),\n        getValues: (k) => forward.get(k),\n        keys: () => forward.keys(),\n        deleteKey: (k) => {\n          (deleted || (deleted = new Set2())).add(k);\n          const set = forward.get(k);\n          if (!set) {\n            return false;\n          }\n          set.forEach((v) => deleteFromMultimap(reverse, v, k));\n          forward.delete(k);\n          return true;\n        },\n        set: (k, vSet) => {\n          deleted == null ? void 0 : deleted.delete(k);\n          const existingVSet = forward.get(k);\n          forward.set(k, vSet);\n          existingVSet == null ? void 0 : existingVSet.forEach((v) => {\n            if (!vSet.has(v)) {\n              deleteFromMultimap(reverse, v, k);\n            }\n          });\n          vSet.forEach((v) => {\n            if (!(existingVSet == null ? void 0 : existingVSet.has(v))) {\n              addToMultimap(reverse, v, k);\n            }\n          });\n          return map2;\n        }\n      };\n      return map2;\n    }\n    return create2(new Map2(), new Map2(), void 0);\n  }\n  BuilderState2.createManyToManyPathMap = createManyToManyPathMap;\n  function addToMultimap(map2, k, v) {\n    let set = map2.get(k);\n    if (!set) {\n      set = new Set2();\n      map2.set(k, set);\n    }\n    set.add(v);\n  }\n  function deleteFromMultimap(map2, k, v) {\n    const set = map2.get(k);\n    if (set == null ? void 0 : set.delete(v)) {\n      if (!set.size) {\n        map2.delete(k);\n      }\n      return true;\n    }\n    return false;\n  }\n  function getReferencedFilesFromImportedModuleSymbol(symbol) {\n    return mapDefined(symbol.declarations, (declaration) => {\n      var _a2;\n      return (_a2 = getSourceFileOfNode(declaration)) == null ? void 0 : _a2.resolvedPath;\n    });\n  }\n  function getReferencedFilesFromImportLiteral(checker, importName) {\n    const symbol = checker.getSymbolAtLocation(importName);\n    return symbol && getReferencedFilesFromImportedModuleSymbol(symbol);\n  }\n  function getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName) {\n    return toPath(program.getProjectReferenceRedirect(fileName) || fileName, sourceFileDirectory, getCanonicalFileName);\n  }\n  function getReferencedFiles(program, sourceFile, getCanonicalFileName) {\n    let referencedFiles;\n    if (sourceFile.imports && sourceFile.imports.length > 0) {\n      const checker = program.getTypeChecker();\n      for (const importName of sourceFile.imports) {\n        const declarationSourceFilePaths = getReferencedFilesFromImportLiteral(checker, importName);\n        declarationSourceFilePaths == null ? void 0 : declarationSourceFilePaths.forEach(addReferencedFile);\n      }\n    }\n    const sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath);\n    if (sourceFile.referencedFiles && sourceFile.referencedFiles.length > 0) {\n      for (const referencedFile of sourceFile.referencedFiles) {\n        const referencedPath = getReferencedFileFromFileName(program, referencedFile.fileName, sourceFileDirectory, getCanonicalFileName);\n        addReferencedFile(referencedPath);\n      }\n    }\n    if (sourceFile.resolvedTypeReferenceDirectiveNames) {\n      sourceFile.resolvedTypeReferenceDirectiveNames.forEach((resolvedTypeReferenceDirective) => {\n        if (!resolvedTypeReferenceDirective) {\n          return;\n        }\n        const fileName = resolvedTypeReferenceDirective.resolvedFileName;\n        const typeFilePath = getReferencedFileFromFileName(program, fileName, sourceFileDirectory, getCanonicalFileName);\n        addReferencedFile(typeFilePath);\n      });\n    }\n    if (sourceFile.moduleAugmentations.length) {\n      const checker = program.getTypeChecker();\n      for (const moduleName of sourceFile.moduleAugmentations) {\n        if (!isStringLiteral(moduleName))\n          continue;\n        const symbol = checker.getSymbolAtLocation(moduleName);\n        if (!symbol)\n          continue;\n        addReferenceFromAmbientModule(symbol);\n      }\n    }\n    for (const ambientModule of program.getTypeChecker().getAmbientModules()) {\n      if (ambientModule.declarations && ambientModule.declarations.length > 1) {\n        addReferenceFromAmbientModule(ambientModule);\n      }\n    }\n    return referencedFiles;\n    function addReferenceFromAmbientModule(symbol) {\n      if (!symbol.declarations) {\n        return;\n      }\n      for (const declaration of symbol.declarations) {\n        const declarationSourceFile = getSourceFileOfNode(declaration);\n        if (declarationSourceFile && declarationSourceFile !== sourceFile) {\n          addReferencedFile(declarationSourceFile.resolvedPath);\n        }\n      }\n    }\n    function addReferencedFile(referencedPath) {\n      (referencedFiles || (referencedFiles = new Set2())).add(referencedPath);\n    }\n  }\n  function canReuseOldState(newReferencedMap, oldState) {\n    return oldState && !oldState.referencedMap === !newReferencedMap;\n  }\n  BuilderState2.canReuseOldState = canReuseOldState;\n  function create(newProgram, getCanonicalFileName, oldState, disableUseFileVersionAsSignature) {\n    var _a2, _b, _c;\n    const fileInfos = new Map2();\n    const referencedMap = newProgram.getCompilerOptions().module !== 0 /* None */ ? createManyToManyPathMap() : void 0;\n    const exportedModulesMap = referencedMap ? createManyToManyPathMap() : void 0;\n    const useOldState = canReuseOldState(referencedMap, oldState);\n    newProgram.getTypeChecker();\n    for (const sourceFile of newProgram.getSourceFiles()) {\n      const version2 = Debug.checkDefined(sourceFile.version, \"Program intended to be used with Builder should have source files with versions set\");\n      const oldUncommittedSignature = useOldState ? (_a2 = oldState.oldSignatures) == null ? void 0 : _a2.get(sourceFile.resolvedPath) : void 0;\n      const signature = oldUncommittedSignature === void 0 ? useOldState ? (_b = oldState.fileInfos.get(sourceFile.resolvedPath)) == null ? void 0 : _b.signature : void 0 : oldUncommittedSignature || void 0;\n      if (referencedMap) {\n        const newReferences = getReferencedFiles(newProgram, sourceFile, getCanonicalFileName);\n        if (newReferences) {\n          referencedMap.set(sourceFile.resolvedPath, newReferences);\n        }\n        if (useOldState) {\n          const oldUncommittedExportedModules = (_c = oldState.oldExportedModulesMap) == null ? void 0 : _c.get(sourceFile.resolvedPath);\n          const exportedModules = oldUncommittedExportedModules === void 0 ? oldState.exportedModulesMap.getValues(sourceFile.resolvedPath) : oldUncommittedExportedModules || void 0;\n          if (exportedModules) {\n            exportedModulesMap.set(sourceFile.resolvedPath, exportedModules);\n          }\n        }\n      }\n      fileInfos.set(sourceFile.resolvedPath, {\n        version: version2,\n        signature,\n        affectsGlobalScope: isFileAffectingGlobalScope(sourceFile) || void 0,\n        impliedFormat: sourceFile.impliedNodeFormat\n      });\n    }\n    return {\n      fileInfos,\n      referencedMap,\n      exportedModulesMap,\n      useFileVersionAsSignature: !disableUseFileVersionAsSignature && !useOldState\n    };\n  }\n  BuilderState2.create = create;\n  function releaseCache2(state) {\n    state.allFilesExcludingDefaultLibraryFile = void 0;\n    state.allFileNames = void 0;\n  }\n  BuilderState2.releaseCache = releaseCache2;\n  function getFilesAffectedBy(state, programOfThisState, path, cancellationToken, computeHash, getCanonicalFileName) {\n    var _a2, _b;\n    const result = getFilesAffectedByWithOldState(\n      state,\n      programOfThisState,\n      path,\n      cancellationToken,\n      computeHash,\n      getCanonicalFileName\n    );\n    (_a2 = state.oldSignatures) == null ? void 0 : _a2.clear();\n    (_b = state.oldExportedModulesMap) == null ? void 0 : _b.clear();\n    return result;\n  }\n  BuilderState2.getFilesAffectedBy = getFilesAffectedBy;\n  function getFilesAffectedByWithOldState(state, programOfThisState, path, cancellationToken, computeHash, getCanonicalFileName) {\n    const sourceFile = programOfThisState.getSourceFileByPath(path);\n    if (!sourceFile) {\n      return emptyArray;\n    }\n    if (!updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, computeHash, getCanonicalFileName)) {\n      return [sourceFile];\n    }\n    return (state.referencedMap ? getFilesAffectedByUpdatedShapeWhenModuleEmit : getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(state, programOfThisState, sourceFile, cancellationToken, computeHash, getCanonicalFileName);\n  }\n  BuilderState2.getFilesAffectedByWithOldState = getFilesAffectedByWithOldState;\n  function updateSignatureOfFile(state, signature, path) {\n    state.fileInfos.get(path).signature = signature;\n    (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = new Set2())).add(path);\n  }\n  BuilderState2.updateSignatureOfFile = updateSignatureOfFile;\n  function updateShapeSignature(state, programOfThisState, sourceFile, cancellationToken, computeHash, getCanonicalFileName, useFileVersionAsSignature = state.useFileVersionAsSignature) {\n    var _a2;\n    if ((_a2 = state.hasCalledUpdateShapeSignature) == null ? void 0 : _a2.has(sourceFile.resolvedPath))\n      return false;\n    const info = state.fileInfos.get(sourceFile.resolvedPath);\n    const prevSignature = info.signature;\n    let latestSignature;\n    if (!sourceFile.isDeclarationFile && !useFileVersionAsSignature) {\n      programOfThisState.emit(\n        sourceFile,\n        (fileName, text, _writeByteOrderMark, _onError, sourceFiles, data) => {\n          Debug.assert(isDeclarationFileName(fileName), `File extension for signature expected to be dts: Got:: ${fileName}`);\n          latestSignature = computeSignatureWithDiagnostics(\n            sourceFile,\n            text,\n            computeHash,\n            getCanonicalFileName,\n            data\n          );\n          if (latestSignature !== prevSignature) {\n            updateExportedModules(state, sourceFile, sourceFiles[0].exportedModulesFromDeclarationEmit);\n          }\n        },\n        cancellationToken,\n        true,\n        void 0,\n        true\n      );\n    }\n    if (latestSignature === void 0) {\n      latestSignature = sourceFile.version;\n      if (state.exportedModulesMap && latestSignature !== prevSignature) {\n        (state.oldExportedModulesMap || (state.oldExportedModulesMap = new Map2())).set(sourceFile.resolvedPath, state.exportedModulesMap.getValues(sourceFile.resolvedPath) || false);\n        const references = state.referencedMap ? state.referencedMap.getValues(sourceFile.resolvedPath) : void 0;\n        if (references) {\n          state.exportedModulesMap.set(sourceFile.resolvedPath, references);\n        } else {\n          state.exportedModulesMap.deleteKey(sourceFile.resolvedPath);\n        }\n      }\n    }\n    (state.oldSignatures || (state.oldSignatures = new Map2())).set(sourceFile.resolvedPath, prevSignature || false);\n    (state.hasCalledUpdateShapeSignature || (state.hasCalledUpdateShapeSignature = new Set2())).add(sourceFile.resolvedPath);\n    info.signature = latestSignature;\n    return latestSignature !== prevSignature;\n  }\n  BuilderState2.updateShapeSignature = updateShapeSignature;\n  function updateExportedModules(state, sourceFile, exportedModulesFromDeclarationEmit) {\n    if (!state.exportedModulesMap)\n      return;\n    (state.oldExportedModulesMap || (state.oldExportedModulesMap = new Map2())).set(sourceFile.resolvedPath, state.exportedModulesMap.getValues(sourceFile.resolvedPath) || false);\n    if (!exportedModulesFromDeclarationEmit) {\n      state.exportedModulesMap.deleteKey(sourceFile.resolvedPath);\n      return;\n    }\n    let exportedModules;\n    exportedModulesFromDeclarationEmit.forEach((symbol) => addExportedModule(getReferencedFilesFromImportedModuleSymbol(symbol)));\n    if (exportedModules) {\n      state.exportedModulesMap.set(sourceFile.resolvedPath, exportedModules);\n    } else {\n      state.exportedModulesMap.deleteKey(sourceFile.resolvedPath);\n    }\n    function addExportedModule(exportedModulePaths) {\n      if (exportedModulePaths == null ? void 0 : exportedModulePaths.length) {\n        if (!exportedModules) {\n          exportedModules = new Set2();\n        }\n        exportedModulePaths.forEach((path) => exportedModules.add(path));\n      }\n    }\n  }\n  BuilderState2.updateExportedModules = updateExportedModules;\n  function getAllDependencies(state, programOfThisState, sourceFile) {\n    const compilerOptions = programOfThisState.getCompilerOptions();\n    if (outFile(compilerOptions)) {\n      return getAllFileNames(state, programOfThisState);\n    }\n    if (!state.referencedMap || isFileAffectingGlobalScope(sourceFile)) {\n      return getAllFileNames(state, programOfThisState);\n    }\n    const seenMap = new Set2();\n    const queue = [sourceFile.resolvedPath];\n    while (queue.length) {\n      const path = queue.pop();\n      if (!seenMap.has(path)) {\n        seenMap.add(path);\n        const references = state.referencedMap.getValues(path);\n        if (references) {\n          const iterator = references.keys();\n          for (let iterResult = iterator.next(); !iterResult.done; iterResult = iterator.next()) {\n            queue.push(iterResult.value);\n          }\n        }\n      }\n    }\n    return arrayFrom(mapDefinedIterator(seenMap.keys(), (path) => {\n      var _a2, _b;\n      return (_b = (_a2 = programOfThisState.getSourceFileByPath(path)) == null ? void 0 : _a2.fileName) != null ? _b : path;\n    }));\n  }\n  BuilderState2.getAllDependencies = getAllDependencies;\n  function getAllFileNames(state, programOfThisState) {\n    if (!state.allFileNames) {\n      const sourceFiles = programOfThisState.getSourceFiles();\n      state.allFileNames = sourceFiles === emptyArray ? emptyArray : sourceFiles.map((file) => file.fileName);\n    }\n    return state.allFileNames;\n  }\n  function getReferencedByPaths(state, referencedFilePath) {\n    const keys = state.referencedMap.getKeys(referencedFilePath);\n    return keys ? arrayFrom(keys.keys()) : [];\n  }\n  BuilderState2.getReferencedByPaths = getReferencedByPaths;\n  function containsOnlyAmbientModules(sourceFile) {\n    for (const statement of sourceFile.statements) {\n      if (!isModuleWithStringLiteralName(statement)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function containsGlobalScopeAugmentation(sourceFile) {\n    return some(sourceFile.moduleAugmentations, (augmentation) => isGlobalScopeAugmentation(augmentation.parent));\n  }\n  function isFileAffectingGlobalScope(sourceFile) {\n    return containsGlobalScopeAugmentation(sourceFile) || !isExternalOrCommonJsModule(sourceFile) && !isJsonSourceFile(sourceFile) && !containsOnlyAmbientModules(sourceFile);\n  }\n  function getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, firstSourceFile) {\n    if (state.allFilesExcludingDefaultLibraryFile) {\n      return state.allFilesExcludingDefaultLibraryFile;\n    }\n    let result;\n    if (firstSourceFile)\n      addSourceFile(firstSourceFile);\n    for (const sourceFile of programOfThisState.getSourceFiles()) {\n      if (sourceFile !== firstSourceFile) {\n        addSourceFile(sourceFile);\n      }\n    }\n    state.allFilesExcludingDefaultLibraryFile = result || emptyArray;\n    return state.allFilesExcludingDefaultLibraryFile;\n    function addSourceFile(sourceFile) {\n      if (!programOfThisState.isSourceFileDefaultLibrary(sourceFile)) {\n        (result || (result = [])).push(sourceFile);\n      }\n    }\n  }\n  BuilderState2.getAllFilesExcludingDefaultLibraryFile = getAllFilesExcludingDefaultLibraryFile;\n  function getFilesAffectedByUpdatedShapeWhenNonModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape) {\n    const compilerOptions = programOfThisState.getCompilerOptions();\n    if (compilerOptions && outFile(compilerOptions)) {\n      return [sourceFileWithUpdatedShape];\n    }\n    return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape);\n  }\n  function getFilesAffectedByUpdatedShapeWhenModuleEmit(state, programOfThisState, sourceFileWithUpdatedShape, cancellationToken, computeHash, getCanonicalFileName) {\n    if (isFileAffectingGlobalScope(sourceFileWithUpdatedShape)) {\n      return getAllFilesExcludingDefaultLibraryFile(state, programOfThisState, sourceFileWithUpdatedShape);\n    }\n    const compilerOptions = programOfThisState.getCompilerOptions();\n    if (compilerOptions && (compilerOptions.isolatedModules || outFile(compilerOptions))) {\n      return [sourceFileWithUpdatedShape];\n    }\n    const seenFileNamesMap = new Map2();\n    seenFileNamesMap.set(sourceFileWithUpdatedShape.resolvedPath, sourceFileWithUpdatedShape);\n    const queue = getReferencedByPaths(state, sourceFileWithUpdatedShape.resolvedPath);\n    while (queue.length > 0) {\n      const currentPath = queue.pop();\n      if (!seenFileNamesMap.has(currentPath)) {\n        const currentSourceFile = programOfThisState.getSourceFileByPath(currentPath);\n        seenFileNamesMap.set(currentPath, currentSourceFile);\n        if (currentSourceFile && updateShapeSignature(state, programOfThisState, currentSourceFile, cancellationToken, computeHash, getCanonicalFileName)) {\n          queue.push(...getReferencedByPaths(state, currentSourceFile.resolvedPath));\n        }\n      }\n    }\n    return arrayFrom(mapDefinedIterator(seenFileNamesMap.values(), (value) => value));\n  }\n})(BuilderState || (BuilderState = {}));\n\n// src/compiler/builder.ts\nvar BuilderFileEmit = /* @__PURE__ */ ((BuilderFileEmit2) => {\n  BuilderFileEmit2[BuilderFileEmit2[\"DtsOnly\"] = 0] = \"DtsOnly\";\n  BuilderFileEmit2[BuilderFileEmit2[\"Full\"] = 1] = \"Full\";\n  return BuilderFileEmit2;\n})(BuilderFileEmit || {});\nfunction hasSameKeys(map1, map2) {\n  return map1 === map2 || map1 !== void 0 && map2 !== void 0 && map1.size === map2.size && !forEachKey(map1, (key) => !map2.has(key));\n}\nfunction createBuilderProgramState(newProgram, getCanonicalFileName, oldState, disableUseFileVersionAsSignature, isForLinter) {\n  var _a2, _b;\n  const state = BuilderState.create(newProgram, getCanonicalFileName, oldState, disableUseFileVersionAsSignature);\n  state.program = newProgram;\n  const compilerOptions = newProgram.getCompilerOptions();\n  state.compilerOptions = compilerOptions;\n  const outFilePath = outFile(compilerOptions);\n  if (!outFilePath) {\n    state.semanticDiagnosticsPerFile = new Map2();\n  } else if (compilerOptions.composite && (oldState == null ? void 0 : oldState.outSignature) && outFilePath === outFile(oldState == null ? void 0 : oldState.compilerOptions)) {\n    state.outSignature = oldState == null ? void 0 : oldState.outSignature;\n  }\n  state.changedFilesSet = new Set2();\n  state.latestChangedDtsFile = compilerOptions.composite ? oldState == null ? void 0 : oldState.latestChangedDtsFile : void 0;\n  state.constEnumRelatePerFile = new Map2();\n  state.arktsLinterDiagnosticsPerFile = new Map2();\n  const useOldState = BuilderState.canReuseOldState(state.referencedMap, oldState);\n  const oldCompilerOptions = useOldState ? oldState.compilerOptions : void 0;\n  const canCopySemanticDiagnostics = useOldState && oldState.semanticDiagnosticsPerFile && !!state.semanticDiagnosticsPerFile && !compilerOptionsAffectSemanticDiagnostics(compilerOptions, oldCompilerOptions);\n  const canCopyConstEnumRelateCache = useOldState && oldState.constEnumRelatePerFile && !!state.constEnumRelatePerFile;\n  const canCopyEmitSignatures = compilerOptions.composite && (oldState == null ? void 0 : oldState.emitSignatures) && !outFilePath && !compilerOptionsAffectDeclarationPath(compilerOptions, oldState.compilerOptions);\n  if (useOldState) {\n    (_a2 = oldState.changedFilesSet) == null ? void 0 : _a2.forEach((value) => state.changedFilesSet.add(value));\n    if (!outFilePath && oldState.affectedFilesPendingEmit) {\n      state.affectedFilesPendingEmit = oldState.affectedFilesPendingEmit.slice();\n      state.affectedFilesPendingEmitKind = oldState.affectedFilesPendingEmitKind && new Map2(oldState.affectedFilesPendingEmitKind);\n      state.affectedFilesPendingEmitIndex = oldState.affectedFilesPendingEmitIndex;\n      state.seenAffectedFiles = new Set2();\n    }\n  }\n  state.arkTSVersion = useOldState ? oldState == null ? void 0 : oldState.arkTSVersion : void 0;\n  state.compatibleSdkVersion = useOldState ? oldState == null ? void 0 : oldState.compatibleSdkVersion : void 0;\n  state.compatibleSdkVersionStage = useOldState ? oldState == null ? void 0 : oldState.compatibleSdkVersionStage : void 0;\n  const referencedMap = state.referencedMap;\n  const oldReferencedMap = useOldState ? oldState.referencedMap : void 0;\n  const copyDeclarationFileDiagnostics = canCopySemanticDiagnostics && !compilerOptions.skipLibCheck === !oldCompilerOptions.skipLibCheck;\n  const copyLibFileDiagnostics = copyDeclarationFileDiagnostics && !compilerOptions.skipDefaultLibCheck === !oldCompilerOptions.skipDefaultLibCheck;\n  state.fileInfos.forEach((info, sourceFilePath) => {\n    var _a3, _b2;\n    let oldInfo;\n    let newReferences;\n    if (!useOldState || !(oldInfo = oldState.fileInfos.get(sourceFilePath)) || oldInfo.version !== info.version || oldInfo.impliedFormat !== info.impliedFormat || !hasSameKeys(newReferences = referencedMap && referencedMap.getValues(sourceFilePath), oldReferencedMap && oldReferencedMap.getValues(sourceFilePath)) || newReferences && forEachKey(newReferences, (path) => !state.fileInfos.has(path) && oldState.fileInfos.has(path))) {\n      state.changedFilesSet.add(sourceFilePath);\n    } else if (canCopySemanticDiagnostics) {\n      const sourceFile = newProgram.getSourceFileByPath(sourceFilePath);\n      if (sourceFile.isDeclarationFile && !copyDeclarationFileDiagnostics)\n        return;\n      if (sourceFile.hasNoDefaultLib && !copyLibFileDiagnostics)\n        return;\n      let diagnostics = oldState.semanticDiagnosticsPerFile.get(sourceFilePath);\n      if (diagnostics) {\n        state.semanticDiagnosticsPerFile.set(sourceFilePath, oldState.hasReusableDiagnostic ? convertToDiagnostics(diagnostics, newProgram, getCanonicalFileName) : diagnostics);\n        if (!state.semanticDiagnosticsFromOldState) {\n          state.semanticDiagnosticsFromOldState = new Set2();\n        }\n        state.semanticDiagnosticsFromOldState.add(sourceFilePath);\n      }\n      diagnostics = (_a3 = oldState.arktsLinterDiagnosticsPerFile) == null ? void 0 : _a3.get(sourceFilePath);\n      if (diagnostics) {\n        state.arktsLinterDiagnosticsPerFile.set(\n          sourceFilePath,\n          convertToDiagnostics(diagnostics, newProgram, getCanonicalFileName)\n        );\n      }\n    }\n    if (canCopyEmitSignatures) {\n      const oldEmitSignature = oldState.emitSignatures.get(sourceFilePath);\n      if (oldEmitSignature)\n        (state.emitSignatures || (state.emitSignatures = new Map2())).set(sourceFilePath, oldEmitSignature);\n    }\n    if (canCopyConstEnumRelateCache) {\n      const info2 = (_b2 = oldState.constEnumRelatePerFile) == null ? void 0 : _b2.get(sourceFilePath);\n      if (info2) {\n        let cache = new Map2();\n        info2.cache.forEach((version2, targetFile) => {\n          cache.set(targetFile, version2);\n        });\n        state.constEnumRelatePerFile.set(sourceFilePath, { isUpdate: info2.isUpdate, cache });\n      }\n    }\n  });\n  if (useOldState && forEachEntry(oldState.fileInfos, (info, sourceFilePath) => info.affectsGlobalScope && !state.fileInfos.has(sourceFilePath))) {\n    BuilderState.getAllFilesExcludingDefaultLibraryFile(state, newProgram, void 0).forEach((file) => state.changedFilesSet.add(file.resolvedPath));\n  } else if (oldCompilerOptions && !outFilePath && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) {\n    newProgram.getSourceFiles().forEach((f) => addToAffectedFilesPendingEmit(state, f.resolvedPath, 1 /* Full */));\n    Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size);\n    state.seenAffectedFiles = state.seenAffectedFiles || new Set2();\n  }\n  state.buildInfoEmitPending = !useOldState || state.changedFilesSet.size !== (((_b = oldState.changedFilesSet) == null ? void 0 : _b.size) || 0);\n  state.isForLinter = !!isForLinter;\n  return state;\n}\nfunction convertToDiagnostics(diagnostics, newProgram, getCanonicalFileName) {\n  if (!diagnostics.length)\n    return emptyArray;\n  const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(newProgram.getCompilerOptions()), newProgram.getCurrentDirectory()));\n  return diagnostics.map((diagnostic) => {\n    const result = convertToDiagnosticRelatedInformation(diagnostic, newProgram, toPath3);\n    result.reportsUnnecessary = diagnostic.reportsUnnecessary;\n    result.reportsDeprecated = diagnostic.reportDeprecated;\n    result.source = diagnostic.source;\n    result.skippedOn = diagnostic.skippedOn;\n    const { relatedInformation } = diagnostic;\n    result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => convertToDiagnosticRelatedInformation(r, newProgram, toPath3)) : [] : void 0;\n    return result;\n  });\n  function toPath3(path) {\n    return toPath(path, buildInfoDirectory, getCanonicalFileName);\n  }\n}\nfunction convertToDiagnosticRelatedInformation(diagnostic, newProgram, toPath3) {\n  const { file } = diagnostic;\n  return {\n    ...diagnostic,\n    file: file ? newProgram.getSourceFileByPath(toPath3(file)) : void 0\n  };\n}\nfunction releaseCache(state) {\n  BuilderState.releaseCache(state);\n  state.program = void 0;\n}\nfunction backupBuilderProgramEmitState(state) {\n  const outFilePath = outFile(state.compilerOptions);\n  Debug.assert(!state.changedFilesSet.size || outFilePath);\n  return {\n    affectedFilesPendingEmit: state.affectedFilesPendingEmit && state.affectedFilesPendingEmit.slice(),\n    affectedFilesPendingEmitKind: state.affectedFilesPendingEmitKind && new Map2(state.affectedFilesPendingEmitKind),\n    affectedFilesPendingEmitIndex: state.affectedFilesPendingEmitIndex,\n    seenEmittedFiles: state.seenEmittedFiles && new Map2(state.seenEmittedFiles),\n    programEmitComplete: state.programEmitComplete,\n    emitSignatures: state.emitSignatures && new Map2(state.emitSignatures),\n    outSignature: state.outSignature,\n    latestChangedDtsFile: state.latestChangedDtsFile,\n    hasChangedEmitSignature: state.hasChangedEmitSignature,\n    changedFilesSet: outFilePath ? new Set2(state.changedFilesSet) : void 0\n  };\n}\nfunction restoreBuilderProgramEmitState(state, savedEmitState) {\n  state.affectedFilesPendingEmit = savedEmitState.affectedFilesPendingEmit;\n  state.affectedFilesPendingEmitKind = savedEmitState.affectedFilesPendingEmitKind;\n  state.affectedFilesPendingEmitIndex = savedEmitState.affectedFilesPendingEmitIndex;\n  state.seenEmittedFiles = savedEmitState.seenEmittedFiles;\n  state.programEmitComplete = savedEmitState.programEmitComplete;\n  state.emitSignatures = savedEmitState.emitSignatures;\n  state.outSignature = savedEmitState.outSignature;\n  state.latestChangedDtsFile = savedEmitState.latestChangedDtsFile;\n  state.hasChangedEmitSignature = savedEmitState.hasChangedEmitSignature;\n  if (savedEmitState.changedFilesSet)\n    state.changedFilesSet = savedEmitState.changedFilesSet;\n}\nfunction assertSourceFileOkWithoutNextAffectedCall(state, sourceFile) {\n  Debug.assert(!sourceFile || !state.affectedFiles || state.affectedFiles[state.affectedFilesIndex - 1] !== sourceFile || !state.semanticDiagnosticsPerFile.has(sourceFile.resolvedPath));\n}\nfunction getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host) {\n  var _a2, _b;\n  while (true) {\n    const { affectedFiles } = state;\n    if (affectedFiles) {\n      const seenAffectedFiles = state.seenAffectedFiles;\n      let affectedFilesIndex = state.affectedFilesIndex;\n      while (affectedFilesIndex < affectedFiles.length) {\n        const affectedFile = affectedFiles[affectedFilesIndex];\n        if (!seenAffectedFiles.has(affectedFile.resolvedPath)) {\n          state.affectedFilesIndex = affectedFilesIndex;\n          handleDtsMayChangeOfAffectedFile(\n            state,\n            affectedFile,\n            cancellationToken,\n            computeHash,\n            getCanonicalFileName,\n            host\n          );\n          return affectedFile;\n        }\n        affectedFilesIndex++;\n      }\n      state.changedFilesSet.delete(state.currentChangedFilePath);\n      state.currentChangedFilePath = void 0;\n      (_a2 = state.oldSignatures) == null ? void 0 : _a2.clear();\n      (_b = state.oldExportedModulesMap) == null ? void 0 : _b.clear();\n      state.affectedFiles = void 0;\n    }\n    const nextKey = state.changedFilesSet.keys().next();\n    if (nextKey.done) {\n      return void 0;\n    }\n    const program = Debug.checkDefined(state.program);\n    const compilerOptions = program.getCompilerOptions();\n    if (outFile(compilerOptions)) {\n      Debug.assert(!state.semanticDiagnosticsPerFile);\n      return program;\n    }\n    state.affectedFiles = BuilderState.getFilesAffectedByWithOldState(\n      state,\n      program,\n      nextKey.value,\n      cancellationToken,\n      computeHash,\n      getCanonicalFileName\n    );\n    state.currentChangedFilePath = nextKey.value;\n    state.affectedFilesIndex = 0;\n    if (!state.seenAffectedFiles)\n      state.seenAffectedFiles = new Set2();\n  }\n}\nfunction clearAffectedFilesPendingEmit(state) {\n  state.affectedFilesPendingEmit = void 0;\n  state.affectedFilesPendingEmitKind = void 0;\n  state.affectedFilesPendingEmitIndex = void 0;\n}\nfunction getNextAffectedFilePendingEmit(state) {\n  const { affectedFilesPendingEmit } = state;\n  if (affectedFilesPendingEmit) {\n    const seenEmittedFiles = state.seenEmittedFiles || (state.seenEmittedFiles = new Map2());\n    for (let i = state.affectedFilesPendingEmitIndex; i < affectedFilesPendingEmit.length; i++) {\n      const affectedFile = Debug.checkDefined(state.program).getSourceFileByPath(affectedFilesPendingEmit[i]);\n      if (affectedFile) {\n        const seenKind = seenEmittedFiles.get(affectedFile.resolvedPath);\n        const emitKind = Debug.checkDefined(Debug.checkDefined(state.affectedFilesPendingEmitKind).get(affectedFile.resolvedPath));\n        if (seenKind === void 0 || seenKind < emitKind) {\n          state.affectedFilesPendingEmitIndex = i;\n          return { affectedFile, emitKind };\n        }\n      }\n    }\n    clearAffectedFilesPendingEmit(state);\n  }\n  return void 0;\n}\nfunction removeDiagnosticsOfLibraryFiles(state) {\n  if (!state.cleanedDiagnosticsOfLibFiles) {\n    state.cleanedDiagnosticsOfLibFiles = true;\n    const program = Debug.checkDefined(state.program);\n    const options = program.getCompilerOptions();\n    forEach(\n      program.getSourceFiles(),\n      (f) => program.isSourceFileDefaultLibrary(f) && !(skipTypeChecking(f, options, program) || f.isDeclarationFile && !!options.needDoArkTsLinter) && removeSemanticDiagnosticsOf(state, f.resolvedPath)\n    );\n  }\n}\nfunction handleDtsMayChangeOfAffectedFile(state, affectedFile, cancellationToken, computeHash, getCanonicalFileName, host) {\n  removeSemanticDiagnosticsOf(state, affectedFile.resolvedPath);\n  if (state.allFilesExcludingDefaultLibraryFile === state.affectedFiles) {\n    removeDiagnosticsOfLibraryFiles(state);\n    BuilderState.updateShapeSignature(\n      state,\n      Debug.checkDefined(state.program),\n      affectedFile,\n      cancellationToken,\n      computeHash,\n      getCanonicalFileName\n    );\n    return;\n  }\n  if (state.compilerOptions.assumeChangesOnlyAffectDirectDependencies)\n    return;\n  handleDtsMayChangeOfReferencingExportOfAffectedFile(\n    state,\n    affectedFile,\n    cancellationToken,\n    computeHash,\n    getCanonicalFileName,\n    host\n  );\n}\nfunction handleDtsMayChangeOf(state, path, cancellationToken, computeHash, getCanonicalFileName, host) {\n  removeSemanticDiagnosticsOf(state, path);\n  if (!state.changedFilesSet.has(path)) {\n    const program = Debug.checkDefined(state.program);\n    const sourceFile = program.getSourceFileByPath(path);\n    if (sourceFile) {\n      BuilderState.updateShapeSignature(\n        state,\n        program,\n        sourceFile,\n        cancellationToken,\n        computeHash,\n        getCanonicalFileName,\n        !host.disableUseFileVersionAsSignature\n      );\n      if (getEmitDeclarations(state.compilerOptions)) {\n        addToAffectedFilesPendingEmit(state, path, 0 /* DtsOnly */);\n      }\n    }\n  }\n}\nfunction removeSemanticDiagnosticsOf(state, path) {\n  if (!state.semanticDiagnosticsFromOldState) {\n    return true;\n  }\n  state.semanticDiagnosticsFromOldState.delete(path);\n  state.semanticDiagnosticsPerFile.delete(path);\n  return !state.semanticDiagnosticsFromOldState.size;\n}\nfunction isChangedSignature(state, path) {\n  const oldSignature = Debug.checkDefined(state.oldSignatures).get(path) || void 0;\n  const newSignature = Debug.checkDefined(state.fileInfos.get(path)).signature;\n  return newSignature !== oldSignature;\n}\nfunction handleDtsMayChangeOfGlobalScope(state, filePath, cancellationToken, computeHash, getCanonicalFileName, host) {\n  var _a2;\n  if (!((_a2 = state.fileInfos.get(filePath)) == null ? void 0 : _a2.affectsGlobalScope))\n    return false;\n  BuilderState.getAllFilesExcludingDefaultLibraryFile(state, state.program, void 0).forEach((file) => handleDtsMayChangeOf(\n    state,\n    file.resolvedPath,\n    cancellationToken,\n    computeHash,\n    getCanonicalFileName,\n    host\n  ));\n  removeDiagnosticsOfLibraryFiles(state);\n  return true;\n}\nfunction handleDtsMayChangeOfReferencingExportOfAffectedFile(state, affectedFile, cancellationToken, computeHash, getCanonicalFileName, host) {\n  var _a2;\n  if (!state.exportedModulesMap || !state.changedFilesSet.has(affectedFile.resolvedPath))\n    return;\n  if (!isChangedSignature(state, affectedFile.resolvedPath))\n    return;\n  if (state.compilerOptions.isolatedModules) {\n    const seenFileNamesMap = new Map2();\n    seenFileNamesMap.set(affectedFile.resolvedPath, true);\n    const queue = BuilderState.getReferencedByPaths(state, affectedFile.resolvedPath);\n    while (queue.length > 0) {\n      const currentPath = queue.pop();\n      if (!seenFileNamesMap.has(currentPath)) {\n        seenFileNamesMap.set(currentPath, true);\n        if (handleDtsMayChangeOfGlobalScope(state, currentPath, cancellationToken, computeHash, getCanonicalFileName, host))\n          return;\n        handleDtsMayChangeOf(state, currentPath, cancellationToken, computeHash, getCanonicalFileName, host);\n        if (isChangedSignature(state, currentPath)) {\n          const currentSourceFile = Debug.checkDefined(state.program).getSourceFileByPath(currentPath);\n          queue.push(...BuilderState.getReferencedByPaths(state, currentSourceFile.resolvedPath));\n        }\n      }\n    }\n  }\n  const seenFileAndExportsOfFile = new Set2();\n  (_a2 = state.exportedModulesMap.getKeys(affectedFile.resolvedPath)) == null ? void 0 : _a2.forEach((exportedFromPath) => {\n    if (handleDtsMayChangeOfGlobalScope(state, exportedFromPath, cancellationToken, computeHash, getCanonicalFileName, host))\n      return true;\n    const references = state.referencedMap.getKeys(exportedFromPath);\n    return references && forEachKey(\n      references,\n      (filePath) => handleDtsMayChangeOfFileAndExportsOfFile(\n        state,\n        filePath,\n        seenFileAndExportsOfFile,\n        cancellationToken,\n        computeHash,\n        getCanonicalFileName,\n        host\n      )\n    );\n  });\n}\nfunction handleDtsMayChangeOfFileAndExportsOfFile(state, filePath, seenFileAndExportsOfFile, cancellationToken, computeHash, getCanonicalFileName, host) {\n  var _a2, _b;\n  if (!tryAddToSet(seenFileAndExportsOfFile, filePath))\n    return void 0;\n  if (handleDtsMayChangeOfGlobalScope(state, filePath, cancellationToken, computeHash, getCanonicalFileName, host))\n    return true;\n  handleDtsMayChangeOf(state, filePath, cancellationToken, computeHash, getCanonicalFileName, host);\n  (_a2 = state.exportedModulesMap.getKeys(filePath)) == null ? void 0 : _a2.forEach(\n    (exportedFromPath) => handleDtsMayChangeOfFileAndExportsOfFile(\n      state,\n      exportedFromPath,\n      seenFileAndExportsOfFile,\n      cancellationToken,\n      computeHash,\n      getCanonicalFileName,\n      host\n    )\n  );\n  (_b = state.referencedMap.getKeys(filePath)) == null ? void 0 : _b.forEach(\n    (referencingFilePath) => !seenFileAndExportsOfFile.has(referencingFilePath) && handleDtsMayChangeOf(\n      state,\n      referencingFilePath,\n      cancellationToken,\n      computeHash,\n      getCanonicalFileName,\n      host\n    )\n  );\n  return void 0;\n}\nfunction doneWithAffectedFile(state, affected, emitKind, isPendingEmit, isBuildInfoEmit) {\n  if (isBuildInfoEmit) {\n    state.buildInfoEmitPending = false;\n  } else if (affected === state.program) {\n    state.changedFilesSet.clear();\n    state.programEmitComplete = true;\n  } else {\n    state.seenAffectedFiles.add(affected.resolvedPath);\n    state.buildInfoEmitPending = true;\n    if (emitKind !== void 0) {\n      (state.seenEmittedFiles || (state.seenEmittedFiles = new Map2())).set(affected.resolvedPath, emitKind);\n    }\n    if (isPendingEmit) {\n      state.affectedFilesPendingEmitIndex++;\n    } else {\n      state.affectedFilesIndex++;\n    }\n  }\n}\nfunction toAffectedFileResult(state, result, affected) {\n  doneWithAffectedFile(state, affected);\n  return { result, affected };\n}\nfunction toAffectedFileEmitResult(state, result, affected, emitKind, isPendingEmit, isBuildInfoEmit) {\n  doneWithAffectedFile(state, affected, emitKind, isPendingEmit, isBuildInfoEmit);\n  return { result, affected };\n}\nfunction getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken) {\n  return concatenate(\n    getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken),\n    Debug.checkDefined(state.program).getProgramDiagnostics(sourceFile)\n  );\n}\nfunction getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken) {\n  const path = sourceFile.resolvedPath;\n  if (state.semanticDiagnosticsPerFile) {\n    const cachedDiagnostics = state.semanticDiagnosticsPerFile.get(path);\n    if (cachedDiagnostics) {\n      return filterSemanticDiagnostics(cachedDiagnostics, state.compilerOptions);\n    }\n  }\n  const diagnostics = Debug.checkDefined(state.program).getBindAndCheckDiagnostics(sourceFile, cancellationToken, state.isForLinter);\n  if (state.semanticDiagnosticsPerFile) {\n    state.semanticDiagnosticsPerFile.set(path, diagnostics);\n  }\n  if (state.constEnumRelatePerFile) {\n    let checker = Debug.checkDefined(state.program).getTypeChecker();\n    let newCache = checker.getConstEnumRelate ? checker.getConstEnumRelate().get(path) : void 0;\n    if (newCache) {\n      let oldCache = state.constEnumRelatePerFile.get(path);\n      if (!oldCache) {\n        if (newCache.size > 0) {\n          state.constEnumRelatePerFile.set(path, { isUpdate: true, cache: newCache });\n        }\n      } else {\n        let isEqual = true;\n        if (oldCache.cache.size !== newCache.size) {\n          isEqual = false;\n        }\n        if (isEqual) {\n          oldCache.cache.forEach((version2, targetFile) => {\n            if (!isEqual) {\n              return;\n            }\n            let newVersion = newCache.get(targetFile);\n            if (!newVersion || newVersion !== version2) {\n              isEqual = false;\n              return;\n            }\n          });\n        }\n        if (!isEqual) {\n          state.constEnumRelatePerFile.set(path, { isUpdate: true, cache: newCache });\n        }\n      }\n      checker.deleteConstEnumRelate && checker.deleteConstEnumRelate(path);\n    }\n  }\n  return filterSemanticDiagnostics(diagnostics, state.compilerOptions);\n}\nfunction isProgramBundleEmitBuildInfo(info) {\n  return !!outFile(info.options || {});\n}\nfunction getProgramBuildInfo(state, getCanonicalFileName) {\n  const outFilePath = outFile(state.compilerOptions);\n  if (outFilePath && !state.compilerOptions.composite)\n    return;\n  const currentDirectory = Debug.checkDefined(state.program).getCurrentDirectory();\n  const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(getTsBuildInfoEmitOutputFilePath(state.compilerOptions), currentDirectory));\n  const latestChangedDtsFile = state.latestChangedDtsFile ? relativeToBuildInfoEnsuringAbsolutePath(state.latestChangedDtsFile) : void 0;\n  if (outFilePath) {\n    const fileNames2 = [];\n    const fileInfos2 = [];\n    state.program.getRootFileNames().forEach((f) => {\n      const sourceFile = state.program.getSourceFile(f);\n      if (!sourceFile)\n        return;\n      fileNames2.push(relativeToBuildInfo(sourceFile.resolvedPath));\n      fileInfos2.push(sourceFile.version);\n    });\n    const result2 = {\n      fileNames: fileNames2,\n      fileInfos: fileInfos2,\n      options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, \"affectsBundleEmitBuildInfo\"),\n      outSignature: state.outSignature,\n      latestChangedDtsFile\n    };\n    return result2;\n  }\n  const fileNames = [];\n  const fileNameToFileId = new Map2();\n  let fileIdsList;\n  let fileNamesToFileIdListId;\n  let emitSignatures;\n  const fileInfos = arrayFrom(state.fileInfos.entries(), ([key, value]) => {\n    var _a2, _b;\n    const fileId = toFileId(key);\n    Debug.assert(fileNames[fileId - 1] === relativeToBuildInfo(key));\n    const oldSignature = (_a2 = state.oldSignatures) == null ? void 0 : _a2.get(key);\n    const actualSignature = oldSignature !== void 0 ? oldSignature || void 0 : value.signature;\n    if (state.compilerOptions.composite) {\n      const file = state.program.getSourceFileByPath(key);\n      if (!isJsonSourceFile(file) && sourceFileMayBeEmitted(file, state.program)) {\n        const emitSignature = (_b = state.emitSignatures) == null ? void 0 : _b.get(key);\n        if (emitSignature !== actualSignature) {\n          (emitSignatures || (emitSignatures = [])).push(emitSignature === void 0 ? fileId : [fileId, emitSignature]);\n        }\n      }\n    }\n    return value.version === actualSignature ? value.affectsGlobalScope || value.impliedFormat ? { version: value.version, signature: void 0, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : value.version : actualSignature !== void 0 ? oldSignature === void 0 ? value : { version: value.version, signature: actualSignature, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat } : { version: value.version, signature: false, affectsGlobalScope: value.affectsGlobalScope, impliedFormat: value.impliedFormat };\n  });\n  let referencedMap;\n  if (state.referencedMap) {\n    referencedMap = arrayFrom(state.referencedMap.keys()).sort(compareStringsCaseSensitive).map((key) => [\n      toFileId(key),\n      toFileIdListId(state.referencedMap.getValues(key))\n    ]);\n  }\n  let exportedModulesMap;\n  if (state.exportedModulesMap) {\n    exportedModulesMap = mapDefined(arrayFrom(state.exportedModulesMap.keys()).sort(compareStringsCaseSensitive), (key) => {\n      var _a2;\n      const oldValue = (_a2 = state.oldExportedModulesMap) == null ? void 0 : _a2.get(key);\n      if (oldValue === void 0)\n        return [toFileId(key), toFileIdListId(state.exportedModulesMap.getValues(key))];\n      if (oldValue)\n        return [toFileId(key), toFileIdListId(oldValue)];\n      return void 0;\n    });\n  }\n  let semanticDiagnosticsPerFile;\n  if (state.semanticDiagnosticsPerFile) {\n    for (const key of arrayFrom(state.semanticDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) {\n      const value = state.semanticDiagnosticsPerFile.get(key);\n      (semanticDiagnosticsPerFile || (semanticDiagnosticsPerFile = [])).push(\n        value.length ? [\n          toFileId(key),\n          convertToReusableDiagnostics(value, relativeToBuildInfo)\n        ] : toFileId(key)\n      );\n    }\n  }\n  let arktsLinterDiagnosticsPerFile;\n  if (state.arktsLinterDiagnosticsPerFile) {\n    for (const key of arrayFrom(state.arktsLinterDiagnosticsPerFile.keys()).sort(compareStringsCaseSensitive)) {\n      const value = state.arktsLinterDiagnosticsPerFile.get(key);\n      (arktsLinterDiagnosticsPerFile || (arktsLinterDiagnosticsPerFile = [])).push(\n        value.length ? [\n          toFileId(key),\n          convertToReusableDiagnostics(value, relativeToBuildInfo)\n        ] : toFileId(key)\n      );\n    }\n  }\n  let affectedFilesPendingEmit;\n  if (state.affectedFilesPendingEmit) {\n    const seenFiles = new Set2();\n    for (const path of state.affectedFilesPendingEmit.slice(state.affectedFilesPendingEmitIndex).sort(compareStringsCaseSensitive)) {\n      if (tryAddToSet(seenFiles, path)) {\n        (affectedFilesPendingEmit || (affectedFilesPendingEmit = [])).push([toFileId(path), state.affectedFilesPendingEmitKind.get(path)]);\n      }\n    }\n  }\n  let changeFileSet;\n  if (state.changedFilesSet.size) {\n    for (const path of arrayFrom(state.changedFilesSet.keys()).sort(compareStringsCaseSensitive)) {\n      (changeFileSet || (changeFileSet = [])).push(toFileId(path));\n    }\n  }\n  let constEnumRelateCache = {};\n  let hasConstEnumRelateInfo = false;\n  if (state.constEnumRelatePerFile) {\n    state.constEnumRelatePerFile.forEach((info, filePath) => {\n      info.cache.forEach((version2, targetFilePath) => {\n        if (!constEnumRelateCache[filePath]) {\n          constEnumRelateCache[filePath] = {};\n        }\n        constEnumRelateCache[filePath][targetFilePath] = version2;\n        hasConstEnumRelateInfo = true;\n      });\n    });\n  }\n  const arkTSVersion = state.arkTSVersion;\n  const compatibleSdkVersion = state.compatibleSdkVersion;\n  const compatibleSdkVersionStage = state.compatibleSdkVersionStage;\n  const result = {\n    fileNames,\n    fileInfos,\n    options: convertToProgramBuildInfoCompilerOptions(state.compilerOptions, \"affectsMultiFileEmitBuildInfo\"),\n    fileIdsList,\n    referencedMap,\n    exportedModulesMap,\n    semanticDiagnosticsPerFile,\n    arktsLinterDiagnosticsPerFile,\n    affectedFilesPendingEmit,\n    changeFileSet,\n    emitSignatures,\n    latestChangedDtsFile,\n    arkTSVersion,\n    compatibleSdkVersion,\n    compatibleSdkVersionStage\n  };\n  if (hasConstEnumRelateInfo) {\n    result.constEnumRelateCache = constEnumRelateCache;\n  }\n  return result;\n  function relativeToBuildInfoEnsuringAbsolutePath(path) {\n    return relativeToBuildInfo(getNormalizedAbsolutePath(path, currentDirectory));\n  }\n  function relativeToBuildInfo(path) {\n    return ensurePathIsNonModuleName(getRelativePathFromDirectory(buildInfoDirectory, path, getCanonicalFileName));\n  }\n  function toFileId(path) {\n    let fileId = fileNameToFileId.get(path);\n    if (fileId === void 0) {\n      fileNames.push(relativeToBuildInfo(path));\n      fileNameToFileId.set(path, fileId = fileNames.length);\n    }\n    return fileId;\n  }\n  function toFileIdListId(set) {\n    const fileIds = arrayFrom(set.keys(), toFileId).sort(compareValues);\n    const key = fileIds.join();\n    let fileIdListId = fileNamesToFileIdListId == null ? void 0 : fileNamesToFileIdListId.get(key);\n    if (fileIdListId === void 0) {\n      (fileIdsList || (fileIdsList = [])).push(fileIds);\n      (fileNamesToFileIdListId || (fileNamesToFileIdListId = new Map2())).set(key, fileIdListId = fileIdsList.length);\n    }\n    return fileIdListId;\n  }\n  function convertToProgramBuildInfoCompilerOptions(options, optionKey) {\n    let result2;\n    const { optionsNameMap } = getOptionsNameMap();\n    for (const name of getOwnKeys(options).sort(compareStringsCaseSensitive)) {\n      const optionInfo = optionsNameMap.get(name.toLowerCase());\n      if (optionInfo == null ? void 0 : optionInfo[optionKey]) {\n        (result2 || (result2 = {}))[name] = convertToReusableCompilerOptionValue(\n          optionInfo,\n          options[name],\n          relativeToBuildInfoEnsuringAbsolutePath\n        );\n      }\n    }\n    return result2;\n  }\n}\nfunction convertToReusableCompilerOptionValue(option, value, relativeToBuildInfo) {\n  if (option) {\n    if (option.type === \"list\") {\n      const values = value;\n      if (option.element.isFilePath && values.length) {\n        return values.map(relativeToBuildInfo);\n      }\n    } else if (option.isFilePath) {\n      return relativeToBuildInfo(value);\n    }\n  }\n  return value;\n}\nfunction convertToReusableDiagnostics(diagnostics, relativeToBuildInfo) {\n  Debug.assert(!!diagnostics.length);\n  return diagnostics.map((diagnostic) => {\n    const result = convertToReusableDiagnosticRelatedInformation(diagnostic, relativeToBuildInfo);\n    result.reportsUnnecessary = diagnostic.reportsUnnecessary;\n    result.reportDeprecated = diagnostic.reportsDeprecated;\n    result.source = diagnostic.source;\n    result.skippedOn = diagnostic.skippedOn;\n    const { relatedInformation } = diagnostic;\n    result.relatedInformation = relatedInformation ? relatedInformation.length ? relatedInformation.map((r) => convertToReusableDiagnosticRelatedInformation(r, relativeToBuildInfo)) : [] : void 0;\n    return result;\n  });\n}\nfunction convertToReusableDiagnosticRelatedInformation(diagnostic, relativeToBuildInfo) {\n  const { file } = diagnostic;\n  return {\n    ...diagnostic,\n    file: file ? relativeToBuildInfo(file.resolvedPath) : void 0\n  };\n}\nvar BuilderProgramKind = /* @__PURE__ */ ((BuilderProgramKind2) => {\n  BuilderProgramKind2[BuilderProgramKind2[\"SemanticDiagnosticsBuilderProgram\"] = 0] = \"SemanticDiagnosticsBuilderProgram\";\n  BuilderProgramKind2[BuilderProgramKind2[\"EmitAndSemanticDiagnosticsBuilderProgram\"] = 1] = \"EmitAndSemanticDiagnosticsBuilderProgram\";\n  return BuilderProgramKind2;\n})(BuilderProgramKind || {});\nfunction getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n  let host;\n  let newProgram;\n  let oldProgram;\n  if (newProgramOrRootNames === void 0) {\n    Debug.assert(hostOrOptions === void 0);\n    host = oldProgramOrHost;\n    oldProgram = configFileParsingDiagnosticsOrOldProgram;\n    Debug.assert(!!oldProgram);\n    newProgram = oldProgram.getProgram();\n  } else if (isArray(newProgramOrRootNames)) {\n    oldProgram = configFileParsingDiagnosticsOrOldProgram;\n    newProgram = createProgram({\n      rootNames: newProgramOrRootNames,\n      options: hostOrOptions,\n      host: oldProgramOrHost,\n      oldProgram: oldProgram && oldProgram.getProgramOrUndefined(),\n      configFileParsingDiagnostics,\n      projectReferences\n    });\n    host = oldProgramOrHost;\n  } else {\n    newProgram = newProgramOrRootNames;\n    host = hostOrOptions;\n    oldProgram = oldProgramOrHost;\n    configFileParsingDiagnostics = configFileParsingDiagnosticsOrOldProgram;\n  }\n  return { host, newProgram, oldProgram, configFileParsingDiagnostics: configFileParsingDiagnostics || emptyArray };\n}\nfunction getTextHandlingSourceMapForSignature(text, data) {\n  return (data == null ? void 0 : data.sourceMapUrlPos) !== void 0 ? text.substring(0, data.sourceMapUrlPos) : text;\n}\nfunction computeSignatureWithDiagnostics(sourceFile, text, computeHash, getCanonicalFileName, data) {\n  var _a2;\n  text = getTextHandlingSourceMapForSignature(text, data);\n  let sourceFileDirectory;\n  if ((_a2 = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a2.length) {\n    text += data.diagnostics.map(\n      (diagnostic) => `${locationInfo(diagnostic)}${DiagnosticCategory[diagnostic.category]}${diagnostic.code}: ${flattenDiagnosticMessageText2(diagnostic.messageText)}`\n    ).join(\"\\n\");\n  }\n  return (computeHash != null ? computeHash : generateDjb2Hash)(text);\n  function flattenDiagnosticMessageText2(diagnostic) {\n    return isString(diagnostic) ? diagnostic : diagnostic === void 0 ? \"\" : !diagnostic.next ? diagnostic.messageText : diagnostic.messageText + diagnostic.next.map(flattenDiagnosticMessageText2).join(\"\\n\");\n  }\n  function locationInfo(diagnostic) {\n    if (diagnostic.file.resolvedPath === sourceFile.resolvedPath)\n      return `(${diagnostic.start},${diagnostic.length})`;\n    if (sourceFileDirectory === void 0)\n      sourceFileDirectory = getDirectoryPath(sourceFile.resolvedPath);\n    return `${ensurePathIsNonModuleName(getRelativePathFromDirectory(sourceFileDirectory, diagnostic.file.resolvedPath, getCanonicalFileName))}(${diagnostic.start},${diagnostic.length})`;\n  }\n}\nfunction computeSignature(text, computeHash, data) {\n  return (computeHash != null ? computeHash : generateDjb2Hash)(getTextHandlingSourceMapForSignature(text, data));\n}\nfunction createBuilderProgram(kind, { newProgram, host, oldProgram, configFileParsingDiagnostics }, isForLinter) {\n  let oldState = oldProgram && oldProgram.getState();\n  if (oldState && newProgram === oldState.program && configFileParsingDiagnostics === newProgram.getConfigFileParsingDiagnostics()) {\n    newProgram = void 0;\n    oldState = void 0;\n    return oldProgram;\n  }\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n  const computeHash = maybeBind(host, host.createHash);\n  const state = createBuilderProgramState(newProgram, getCanonicalFileName, oldState, host.disableUseFileVersionAsSignature, isForLinter);\n  if (isForLinter) {\n    newProgram.getProgramBuildInfoForLinter = () => getProgramBuildInfo(state, getCanonicalFileName);\n  } else {\n    newProgram.getProgramBuildInfo = () => getProgramBuildInfo(state, getCanonicalFileName);\n  }\n  newProgram = void 0;\n  oldProgram = void 0;\n  oldState = void 0;\n  const getState = () => state;\n  const builderProgram = createRedirectedBuilderProgram(getState, configFileParsingDiagnostics);\n  builderProgram.getState = getState;\n  builderProgram.saveEmitState = () => backupBuilderProgramEmitState(state);\n  builderProgram.restoreEmitState = (saved) => restoreBuilderProgramEmitState(state, saved);\n  builderProgram.hasChangedEmitSignature = () => !!state.hasChangedEmitSignature;\n  builderProgram.getAllDependencies = (sourceFile) => BuilderState.getAllDependencies(state, Debug.checkDefined(state.program), sourceFile);\n  builderProgram.getSemanticDiagnostics = getSemanticDiagnostics;\n  builderProgram.emit = emit;\n  builderProgram.releaseProgram = () => releaseCache(state);\n  if (kind === 0 /* SemanticDiagnosticsBuilderProgram */) {\n    builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile;\n  } else if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) {\n    builderProgram.getSemanticDiagnosticsOfNextAffectedFile = getSemanticDiagnosticsOfNextAffectedFile;\n    builderProgram.emitNextAffectedFile = emitNextAffectedFile;\n    builderProgram.emitBuildInfo = emitBuildInfo;\n  } else {\n    notImplemented();\n  }\n  builderProgram.isFileUpdateInConstEnumCache = isFileUpdateInConstEnumCache;\n  return builderProgram;\n  function emitBuildInfo(writeFile2, cancellationToken) {\n    if (state.buildInfoEmitPending) {\n      const result = Debug.checkDefined(state.program).emitBuildInfo(writeFile2 || maybeBind(host, host.writeFile), cancellationToken);\n      state.buildInfoEmitPending = false;\n      return result;\n    }\n    return emitSkippedWithNoDiagnostics;\n  }\n  function emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n    let affected = getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host);\n    let emitKind = 1 /* Full */;\n    let isPendingEmitFile = false;\n    if (!affected) {\n      if (!outFile(state.compilerOptions)) {\n        const pendingAffectedFile = getNextAffectedFilePendingEmit(state);\n        if (!pendingAffectedFile) {\n          if (!state.buildInfoEmitPending) {\n            return void 0;\n          }\n          const affected2 = Debug.checkDefined(state.program);\n          return toAffectedFileEmitResult(\n            state,\n            affected2.emitBuildInfo(writeFile2 || maybeBind(host, host.writeFile), cancellationToken),\n            affected2,\n            1 /* Full */,\n            false,\n            true\n          );\n        }\n        ({ affectedFile: affected, emitKind } = pendingAffectedFile);\n        isPendingEmitFile = true;\n      } else {\n        const program = Debug.checkDefined(state.program);\n        if (state.programEmitComplete)\n          return void 0;\n        affected = program;\n      }\n    }\n    return toAffectedFileEmitResult(\n      state,\n      Debug.checkDefined(state.program).emit(\n        affected === state.program ? void 0 : affected,\n        getEmitDeclarations(state.compilerOptions) ? getWriteFileCallback(writeFile2, customTransformers) : writeFile2 || maybeBind(host, host.writeFile),\n        cancellationToken,\n        emitOnlyDtsFiles || emitKind === 0 /* DtsOnly */,\n        customTransformers\n      ),\n      affected,\n      emitKind,\n      isPendingEmitFile\n    );\n  }\n  function getWriteFileCallback(writeFile2, customTransformers) {\n    return (fileName, text, writeByteOrderMark, onError, sourceFiles, data) => {\n      var _a2, _b, _c, _d, _e, _f, _g;\n      if (isDeclarationFileName(fileName)) {\n        if (!outFile(state.compilerOptions)) {\n          Debug.assert((sourceFiles == null ? void 0 : sourceFiles.length) === 1);\n          let emitSignature;\n          if (!customTransformers) {\n            const file = sourceFiles[0];\n            const info = state.fileInfos.get(file.resolvedPath);\n            if (info.signature === file.version) {\n              const signature = computeSignatureWithDiagnostics(\n                file,\n                text,\n                computeHash,\n                getCanonicalFileName,\n                data\n              );\n              if (!((_a2 = data == null ? void 0 : data.diagnostics) == null ? void 0 : _a2.length))\n                emitSignature = signature;\n              if (signature !== file.version) {\n                if (host.storeFilesChangingSignatureDuringEmit)\n                  ((_b = state.filesChangingSignature) != null ? _b : state.filesChangingSignature = new Set2()).add(file.resolvedPath);\n                if (state.exportedModulesMap)\n                  BuilderState.updateExportedModules(state, file, file.exportedModulesFromDeclarationEmit);\n                if (state.affectedFiles) {\n                  const existing = (_c = state.oldSignatures) == null ? void 0 : _c.get(file.resolvedPath);\n                  if (existing === void 0)\n                    ((_d = state.oldSignatures) != null ? _d : state.oldSignatures = new Map2()).set(file.resolvedPath, info.signature || false);\n                  info.signature = signature;\n                } else {\n                  info.signature = signature;\n                  (_e = state.oldExportedModulesMap) == null ? void 0 : _e.clear();\n                }\n              }\n            }\n          }\n          if (state.compilerOptions.composite) {\n            const filePath = sourceFiles[0].resolvedPath;\n            const oldSignature = (_f = state.emitSignatures) == null ? void 0 : _f.get(filePath);\n            emitSignature != null ? emitSignature : emitSignature = computeSignature(text, computeHash, data);\n            if (emitSignature === oldSignature)\n              return;\n            ((_g = state.emitSignatures) != null ? _g : state.emitSignatures = new Map2()).set(filePath, emitSignature);\n            state.hasChangedEmitSignature = true;\n            state.latestChangedDtsFile = fileName;\n          }\n        } else if (state.compilerOptions.composite) {\n          const newSignature = computeSignature(text, computeHash, data);\n          if (newSignature === state.outSignature)\n            return;\n          state.outSignature = newSignature;\n          state.hasChangedEmitSignature = true;\n          state.latestChangedDtsFile = fileName;\n        }\n      }\n      if (writeFile2)\n        writeFile2(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n      else if (host.writeFile)\n        host.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n      else\n        state.program.writeFile(fileName, text, writeByteOrderMark, onError, sourceFiles, data);\n    };\n  }\n  function emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n    var _a2;\n    if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) {\n      assertSourceFileOkWithoutNextAffectedCall(state, targetSourceFile);\n    }\n    const result = handleNoEmitOptions(builderProgram, targetSourceFile, writeFile2, cancellationToken);\n    if (result)\n      return result;\n    if (!targetSourceFile) {\n      if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */) {\n        let sourceMaps = [];\n        let emitSkipped = false;\n        let diagnostics;\n        let emittedFiles = [];\n        let affectedEmitResult;\n        while (affectedEmitResult = emitNextAffectedFile(writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers)) {\n          emitSkipped = emitSkipped || affectedEmitResult.result.emitSkipped;\n          diagnostics = addRange(diagnostics, affectedEmitResult.result.diagnostics);\n          emittedFiles = addRange(emittedFiles, affectedEmitResult.result.emittedFiles);\n          sourceMaps = addRange(sourceMaps, affectedEmitResult.result.sourceMaps);\n        }\n        return {\n          emitSkipped,\n          diagnostics: diagnostics || emptyArray,\n          emittedFiles,\n          sourceMaps\n        };\n      } else if ((_a2 = state.affectedFilesPendingEmitKind) == null ? void 0 : _a2.size) {\n        Debug.assert(kind === 0 /* SemanticDiagnosticsBuilderProgram */);\n        if (!emitOnlyDtsFiles || every(state.affectedFilesPendingEmit, (path, index) => index < state.affectedFilesPendingEmitIndex || state.affectedFilesPendingEmitKind.get(path) === 0 /* DtsOnly */)) {\n          clearAffectedFilesPendingEmit(state);\n        }\n      }\n    }\n    return Debug.checkDefined(state.program).emit(\n      targetSourceFile,\n      getEmitDeclarations(state.compilerOptions) ? getWriteFileCallback(writeFile2, customTransformers) : writeFile2 || maybeBind(host, host.writeFile),\n      cancellationToken,\n      emitOnlyDtsFiles,\n      customTransformers\n    );\n  }\n  function getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile) {\n    while (true) {\n      const affected = getNextAffectedFile(state, cancellationToken, computeHash, getCanonicalFileName, host);\n      if (!affected) {\n        return void 0;\n      } else if (affected === state.program) {\n        let semanticDiagnostics = state.isForLinter ? state.program.getSemanticDiagnosticsForLinter(void 0, cancellationToken) : state.program.getSemanticDiagnostics(void 0, cancellationToken);\n        return toAffectedFileResult(state, semanticDiagnostics, affected);\n      }\n      if (kind === 1 /* EmitAndSemanticDiagnosticsBuilderProgram */ || state.compilerOptions.noEmit || state.compilerOptions.noEmitOnError) {\n        addToAffectedFilesPendingEmit(state, affected.resolvedPath, 1 /* Full */);\n      }\n      if (ignoreSourceFile && ignoreSourceFile(affected)) {\n        doneWithAffectedFile(state, affected);\n        continue;\n      }\n      return toAffectedFileResult(\n        state,\n        getSemanticDiagnosticsOfFile(state, affected, cancellationToken),\n        affected\n      );\n    }\n  }\n  function getSemanticDiagnostics(sourceFile, cancellationToken) {\n    assertSourceFileOkWithoutNextAffectedCall(state, sourceFile);\n    const compilerOptions = Debug.checkDefined(state.program).getCompilerOptions();\n    if (outFile(compilerOptions)) {\n      Debug.assert(!state.semanticDiagnosticsPerFile);\n      if (state.isForLinter) {\n        return Debug.checkDefined(state.program).getSemanticDiagnosticsForLinter(sourceFile, cancellationToken);\n      }\n      return Debug.checkDefined(state.program).getSemanticDiagnostics(sourceFile, cancellationToken);\n    }\n    if (sourceFile) {\n      return getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken);\n    }\n    while (getSemanticDiagnosticsOfNextAffectedFile(cancellationToken)) {\n    }\n    let diagnostics;\n    for (const sourceFile2 of Debug.checkDefined(state.program).getSourceFiles()) {\n      diagnostics = addRange(diagnostics, getSemanticDiagnosticsOfFile(state, sourceFile2, cancellationToken));\n    }\n    return diagnostics || emptyArray;\n  }\n  function isFileUpdateInConstEnumCache(sourceFile) {\n    const state2 = getState();\n    if (!state2.constEnumRelatePerFile) {\n      return false;\n    }\n    const info = state2.constEnumRelatePerFile.get(sourceFile.resolvedPath);\n    if (!info) {\n      return false;\n    }\n    return info.isUpdate;\n  }\n}\nfunction addToAffectedFilesPendingEmit(state, affectedFilePendingEmit, kind) {\n  if (!state.affectedFilesPendingEmit)\n    state.affectedFilesPendingEmit = [];\n  if (!state.affectedFilesPendingEmitKind)\n    state.affectedFilesPendingEmitKind = new Map2();\n  const existingKind = state.affectedFilesPendingEmitKind.get(affectedFilePendingEmit);\n  state.affectedFilesPendingEmit.push(affectedFilePendingEmit);\n  state.affectedFilesPendingEmitKind.set(affectedFilePendingEmit, existingKind || kind);\n  if (state.affectedFilesPendingEmitIndex === void 0) {\n    state.affectedFilesPendingEmitIndex = 0;\n  }\n}\nfunction toBuilderStateFileInfo(fileInfo) {\n  return isString(fileInfo) ? { version: fileInfo, signature: fileInfo, affectsGlobalScope: void 0, impliedFormat: void 0 } : isString(fileInfo.signature) ? fileInfo : { version: fileInfo.version, signature: fileInfo.signature === false ? void 0 : fileInfo.version, affectsGlobalScope: fileInfo.affectsGlobalScope, impliedFormat: fileInfo.impliedFormat };\n}\nfunction createBuilderProgramUsingProgramBuildInfo(program, buildInfoPath, host) {\n  var _a2, _b, _c, _d;\n  const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n  let state;\n  let filePaths;\n  let filePathsSetList;\n  const latestChangedDtsFile = program.latestChangedDtsFile ? toAbsolutePath(program.latestChangedDtsFile) : void 0;\n  if (isProgramBundleEmitBuildInfo(program)) {\n    state = {\n      fileInfos: new Map2(),\n      compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {},\n      latestChangedDtsFile,\n      outSignature: program.outSignature\n    };\n  } else {\n    filePaths = (_a2 = program.fileNames) == null ? void 0 : _a2.map(toPath3);\n    filePathsSetList = (_b = program.fileIdsList) == null ? void 0 : _b.map((fileIds) => new Set2(fileIds.map(toFilePath)));\n    const fileInfos = new Map2();\n    const emitSignatures = ((_c = program.options) == null ? void 0 : _c.composite) && !outFile(program.options) ? new Map2() : void 0;\n    program.fileInfos.forEach((fileInfo, index) => {\n      const path = toFilePath(index + 1);\n      const stateFileInfo = toBuilderStateFileInfo(fileInfo);\n      fileInfos.set(path, stateFileInfo);\n      if (emitSignatures && stateFileInfo.signature)\n        emitSignatures.set(path, stateFileInfo.signature);\n    });\n    (_d = program.emitSignatures) == null ? void 0 : _d.forEach((value) => {\n      if (isNumber(value))\n        emitSignatures.delete(toFilePath(value));\n      else\n        emitSignatures.set(toFilePath(value[0]), value[1]);\n    });\n    let constEnumRelatePerFile = new Map2();\n    if (program.constEnumRelateCache) {\n      for (let file in program.constEnumRelateCache) {\n        let values = program.constEnumRelateCache[file];\n        let cache = new Map2();\n        for (let value in values) {\n          cache.set(value, values[value]);\n        }\n        constEnumRelatePerFile.set(file, { isUpdate: false, cache });\n      }\n    }\n    state = {\n      fileInfos,\n      compilerOptions: program.options ? convertToOptionsWithAbsolutePaths(program.options, toAbsolutePath) : {},\n      referencedMap: toManyToManyPathMap(program.referencedMap),\n      exportedModulesMap: toManyToManyPathMap(program.exportedModulesMap),\n      semanticDiagnosticsPerFile: program.semanticDiagnosticsPerFile && arrayToMap(\n        program.semanticDiagnosticsPerFile,\n        (value) => toFilePath(isNumber(value) ? value : value[0]),\n        (value) => isNumber(value) ? emptyArray : value[1]\n      ),\n      arktsLinterDiagnosticsPerFile: program.arktsLinterDiagnosticsPerFile && arrayToMap(\n        program.arktsLinterDiagnosticsPerFile,\n        (value) => toFilePath(isNumber(value) ? value : value[0]),\n        (value) => isNumber(value) ? emptyArray : value[1]\n      ),\n      hasReusableDiagnostic: true,\n      affectedFilesPendingEmit: map(program.affectedFilesPendingEmit, (value) => toFilePath(value[0])),\n      affectedFilesPendingEmitKind: program.affectedFilesPendingEmit && arrayToMap(program.affectedFilesPendingEmit, (value) => toFilePath(value[0]), (value) => value[1]),\n      affectedFilesPendingEmitIndex: program.affectedFilesPendingEmit && 0,\n      changedFilesSet: new Set2(map(program.changeFileSet, toFilePath)),\n      latestChangedDtsFile,\n      emitSignatures: (emitSignatures == null ? void 0 : emitSignatures.size) ? emitSignatures : void 0,\n      constEnumRelatePerFile,\n      arkTSVersion: program.arkTSVersion,\n      compatibleSdkVersion: program.compatibleSdkVersion,\n      compatibleSdkVersionStage: program.compatibleSdkVersionStage\n    };\n  }\n  return {\n    getState: () => state,\n    saveEmitState: noop,\n    restoreEmitState: noop,\n    getProgram: notImplemented,\n    getProgramOrUndefined: host.getLastCompiledProgram ? host.getLastCompiledProgram : returnUndefined,\n    releaseProgram: noop,\n    getCompilerOptions: () => state.compilerOptions,\n    getSourceFile: notImplemented,\n    getSourceFiles: notImplemented,\n    getOptionsDiagnostics: notImplemented,\n    getGlobalDiagnostics: notImplemented,\n    getConfigFileParsingDiagnostics: notImplemented,\n    getSyntacticDiagnostics: notImplemented,\n    getDeclarationDiagnostics: notImplemented,\n    getSemanticDiagnostics: notImplemented,\n    emit: notImplemented,\n    getAllDependencies: notImplemented,\n    getCurrentDirectory: notImplemented,\n    emitNextAffectedFile: notImplemented,\n    getSemanticDiagnosticsOfNextAffectedFile: notImplemented,\n    emitBuildInfo: notImplemented,\n    close: noop,\n    hasChangedEmitSignature: returnFalse\n  };\n  function toPath3(path) {\n    return toPath(path, buildInfoDirectory, getCanonicalFileName);\n  }\n  function toAbsolutePath(path) {\n    return getNormalizedAbsolutePath(path, buildInfoDirectory);\n  }\n  function toFilePath(fileId) {\n    return filePaths[fileId - 1];\n  }\n  function toFilePathsSet(fileIdsListId) {\n    return filePathsSetList[fileIdsListId - 1];\n  }\n  function toManyToManyPathMap(referenceMap) {\n    if (!referenceMap) {\n      return void 0;\n    }\n    const map2 = BuilderState.createManyToManyPathMap();\n    referenceMap.forEach(\n      ([fileId, fileIdListId]) => map2.set(toFilePath(fileId), toFilePathsSet(fileIdListId))\n    );\n    return map2;\n  }\n}\nfunction getBuildInfoFileVersionMap(program, buildInfoPath, host) {\n  const buildInfoDirectory = getDirectoryPath(getNormalizedAbsolutePath(buildInfoPath, host.getCurrentDirectory()));\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n  const fileInfos = new Map2();\n  program.fileInfos.forEach((fileInfo, index) => {\n    const path = toPath(program.fileNames[index], buildInfoDirectory, getCanonicalFileName);\n    const version2 = isString(fileInfo) ? fileInfo : fileInfo.version;\n    fileInfos.set(path, version2);\n  });\n  return fileInfos;\n}\nfunction createRedirectedBuilderProgram(getState, configFileParsingDiagnostics) {\n  return {\n    getState: notImplemented,\n    saveEmitState: noop,\n    restoreEmitState: noop,\n    getProgram,\n    getProgramOrUndefined: () => getState().program,\n    releaseProgram: () => getState().program = void 0,\n    getCompilerOptions: () => getState().compilerOptions,\n    getSourceFile: (fileName) => getProgram().getSourceFile(fileName),\n    getSourceFiles: () => getProgram().getSourceFiles(),\n    getOptionsDiagnostics: (cancellationToken) => getProgram().getOptionsDiagnostics(cancellationToken),\n    getGlobalDiagnostics: (cancellationToken) => getProgram().getGlobalDiagnostics(cancellationToken),\n    getConfigFileParsingDiagnostics: () => configFileParsingDiagnostics,\n    getSyntacticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSyntacticDiagnostics(sourceFile, cancellationToken),\n    getDeclarationDiagnostics: (sourceFile, cancellationToken) => getProgram().getDeclarationDiagnostics(sourceFile, cancellationToken),\n    getSemanticDiagnostics: (sourceFile, cancellationToken) => getProgram().getSemanticDiagnostics(sourceFile, cancellationToken),\n    emit: (sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers) => getProgram().emit(sourceFile, writeFile2, cancellationToken, emitOnlyDts, customTransformers),\n    emitBuildInfo: (writeFile2, cancellationToken) => getProgram().emitBuildInfo(writeFile2, cancellationToken),\n    getAllDependencies: notImplemented,\n    getCurrentDirectory: () => getProgram().getCurrentDirectory(),\n    close: noop\n  };\n  function getProgram() {\n    return Debug.checkDefined(getState().program);\n  }\n}\n\n// src/compiler/builderPublic.ts\nfunction createSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n  return createBuilderProgram(0 /* SemanticDiagnosticsBuilderProgram */, getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences));\n}\nfunction createEmitAndSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n  return createBuilderProgram(1 /* EmitAndSemanticDiagnosticsBuilderProgram */, getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences));\n}\nfunction createEmitAndSemanticDiagnosticsBuilderProgramForArkTs(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n  PerformanceDotting.start(\"createEmitAndSemanticDiagnosticsBuilderProgramForArkTs\");\n  PerformanceDotting.start(\"getBuilderCreationParameters\");\n  let builderCreatetionParameters = getBuilderCreationParameters(\n    newProgramOrRootNames,\n    hostOrOptions,\n    oldProgramOrHost,\n    configFileParsingDiagnosticsOrOldProgram,\n    configFileParsingDiagnostics,\n    projectReferences\n  );\n  PerformanceDotting.stop(\"getBuilderCreationParameters\");\n  let newProgram = builderCreatetionParameters.newProgram;\n  PerformanceDotting.start(\"createBuilderProgram\");\n  let builderProgram = createBuilderProgram(\n    1 /* EmitAndSemanticDiagnosticsBuilderProgram */,\n    builderCreatetionParameters\n  );\n  PerformanceDotting.stop(\"createBuilderProgram\");\n  let oldProgramForLinter = readBuilderProgram(hostOrOptions, oldProgramOrHost, true);\n  builderCreatetionParameters.oldProgram = oldProgramForLinter;\n  builderCreatetionParameters.newProgram = newProgram;\n  PerformanceDotting.start(\"createBuilderProgramForLinter\");\n  let builderProgramForLinter = createBuilderProgram(\n    1 /* EmitAndSemanticDiagnosticsBuilderProgram */,\n    builderCreatetionParameters,\n    true\n  );\n  PerformanceDotting.stop(\"createBuilderProgramForLinter\");\n  builderProgram.builderProgramForLinter = builderProgramForLinter;\n  PerformanceDotting.stop(\"createEmitAndSemanticDiagnosticsBuilderProgramForArkTs\");\n  return builderProgram;\n}\nfunction createAbstractBuilder(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {\n  const { newProgram, configFileParsingDiagnostics: newConfigFileParsingDiagnostics } = getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences);\n  return createRedirectedBuilderProgram(() => ({ program: newProgram, compilerOptions: newProgram.getCompilerOptions() }), newConfigFileParsingDiagnostics);\n}\n\n// src/compiler/resolutionCache.ts\nfunction removeIgnoredPath(path) {\n  if (endsWith(path, \"/node_modules/.staging\") || endsWith(path, \"/oh_modules/.staging\")) {\n    return removeSuffix(path, \"/.staging\");\n  }\n  return some(ignoredPaths, (searchPath) => stringContains(path, searchPath)) ? void 0 : path;\n}\nfunction canWatchDirectoryOrFile(dirPath) {\n  const rootLength = getRootLength(dirPath);\n  if (dirPath.length === rootLength) {\n    return false;\n  }\n  let nextDirectorySeparator = dirPath.indexOf(directorySeparator, rootLength);\n  if (nextDirectorySeparator === -1) {\n    return false;\n  }\n  let pathPartForUserCheck = dirPath.substring(rootLength, nextDirectorySeparator + 1);\n  const isNonDirectorySeparatorRoot = rootLength > 1 || dirPath.charCodeAt(0) !== 47 /* slash */;\n  if (isNonDirectorySeparatorRoot && dirPath.search(/[a-zA-Z]:/) !== 0 && pathPartForUserCheck.search(/[a-zA-Z]\\$\\//) === 0) {\n    nextDirectorySeparator = dirPath.indexOf(directorySeparator, nextDirectorySeparator + 1);\n    if (nextDirectorySeparator === -1) {\n      return false;\n    }\n    pathPartForUserCheck = dirPath.substring(rootLength + pathPartForUserCheck.length, nextDirectorySeparator + 1);\n  }\n  if (isNonDirectorySeparatorRoot && pathPartForUserCheck.search(/users\\//i) !== 0) {\n    return true;\n  }\n  for (let searchIndex = nextDirectorySeparator + 1, searchLevels = 2; searchLevels > 0; searchLevels--) {\n    searchIndex = dirPath.indexOf(directorySeparator, searchIndex) + 1;\n    if (searchIndex === 0) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction createResolutionCache(resolutionHost, rootDirForResolution, logChangesWhenResolvingModule) {\n  let filesWithChangedSetOfUnresolvedImports;\n  let filesWithInvalidatedResolutions;\n  let filesWithInvalidatedNonRelativeUnresolvedImports;\n  const nonRelativeExternalModuleResolutions = createMultiMap();\n  const resolutionsWithFailedLookups = [];\n  const resolutionsWithOnlyAffectingLocations = [];\n  const resolvedFileToResolution = createMultiMap();\n  const impliedFormatPackageJsons = new Map2();\n  let hasChangedAutomaticTypeDirectiveNames = false;\n  let affectingPathChecksForFile;\n  let affectingPathChecks;\n  let failedLookupChecks;\n  let startsWithPathChecks;\n  let isInDirectoryChecks;\n  const getCurrentDirectory = memoize(() => resolutionHost.getCurrentDirectory());\n  const cachedDirectoryStructureHost = resolutionHost.getCachedDirectoryStructureHost();\n  const resolvedModuleNames = new Map2();\n  const perDirectoryResolvedModuleNames = createCacheWithRedirects();\n  const nonRelativeModuleNameCache = createCacheWithRedirects();\n  const moduleResolutionCache = createModuleResolutionCache(\n    getCurrentDirectory(),\n    resolutionHost.getCanonicalFileName,\n    void 0,\n    perDirectoryResolvedModuleNames,\n    nonRelativeModuleNameCache\n  );\n  const resolvedTypeReferenceDirectives = new Map2();\n  const perDirectoryResolvedTypeReferenceDirectives = createCacheWithRedirects();\n  const typeReferenceDirectiveResolutionCache = createTypeReferenceDirectiveResolutionCache(\n    getCurrentDirectory(),\n    resolutionHost.getCanonicalFileName,\n    void 0,\n    moduleResolutionCache.getPackageJsonInfoCache(),\n    perDirectoryResolvedTypeReferenceDirectives\n  );\n  const failedLookupDefaultExtensions = resolutionHost.getCompilationSettings().ets ? [\".ets\" /* Ets */, \".ts\" /* Ts */, \".tsx\" /* Tsx */, \".js\" /* Js */, \".jsx\" /* Jsx */, \".json\" /* Json */] : [\".ts\" /* Ts */, \".tsx\" /* Tsx */, \".js\" /* Js */, \".jsx\" /* Jsx */, \".json\" /* Json */, \".ets\" /* Ets */];\n  const customFailedLookupPaths = new Map2();\n  const directoryWatchesOfFailedLookups = new Map2();\n  const fileWatchesOfAffectingLocations = new Map2();\n  const rootDir = rootDirForResolution && removeTrailingDirectorySeparator(getNormalizedAbsolutePath(rootDirForResolution, getCurrentDirectory()));\n  const rootPath = rootDir && resolutionHost.toPath(rootDir);\n  const rootSplitLength = rootPath !== void 0 ? rootPath.split(directorySeparator).length : 0;\n  const typeRootsWatches = new Map2();\n  return {\n    getModuleResolutionCache: () => moduleResolutionCache,\n    startRecordingFilesWithChangedResolutions,\n    finishRecordingFilesWithChangedResolutions,\n    startCachingPerDirectoryResolution,\n    finishCachingPerDirectoryResolution,\n    resolveModuleNames,\n    getResolvedModuleWithFailedLookupLocationsFromCache,\n    resolveTypeReferenceDirectives,\n    removeResolutionsFromProjectReferenceRedirects,\n    removeResolutionsOfFile,\n    hasChangedAutomaticTypeDirectiveNames: () => hasChangedAutomaticTypeDirectiveNames,\n    invalidateResolutionOfFile,\n    invalidateResolutionsOfFailedLookupLocations,\n    setFilesWithInvalidatedNonRelativeUnresolvedImports,\n    createHasInvalidatedResolutions,\n    isFileWithInvalidatedNonRelativeUnresolvedImports,\n    updateTypeRootsWatch,\n    closeTypeRootsWatch,\n    clear: clear2\n  };\n  function getResolvedModule2(resolution) {\n    return resolution.resolvedModule;\n  }\n  function getResolvedTypeReferenceDirective(resolution) {\n    return resolution.resolvedTypeReferenceDirective;\n  }\n  function isInDirectoryPath(dir, file) {\n    if (dir === void 0 || file.length <= dir.length) {\n      return false;\n    }\n    return startsWith(file, dir) && file[dir.length] === directorySeparator;\n  }\n  function clear2() {\n    clearMap(directoryWatchesOfFailedLookups, closeFileWatcherOf);\n    clearMap(fileWatchesOfAffectingLocations, closeFileWatcherOf);\n    customFailedLookupPaths.clear();\n    nonRelativeExternalModuleResolutions.clear();\n    closeTypeRootsWatch();\n    resolvedModuleNames.clear();\n    resolvedTypeReferenceDirectives.clear();\n    resolvedFileToResolution.clear();\n    resolutionsWithFailedLookups.length = 0;\n    resolutionsWithOnlyAffectingLocations.length = 0;\n    failedLookupChecks = void 0;\n    startsWithPathChecks = void 0;\n    isInDirectoryChecks = void 0;\n    affectingPathChecks = void 0;\n    affectingPathChecksForFile = void 0;\n    moduleResolutionCache.clear();\n    typeReferenceDirectiveResolutionCache.clear();\n    impliedFormatPackageJsons.clear();\n    hasChangedAutomaticTypeDirectiveNames = false;\n  }\n  function startRecordingFilesWithChangedResolutions() {\n    filesWithChangedSetOfUnresolvedImports = [];\n  }\n  function finishRecordingFilesWithChangedResolutions() {\n    const collected = filesWithChangedSetOfUnresolvedImports;\n    filesWithChangedSetOfUnresolvedImports = void 0;\n    return collected;\n  }\n  function isFileWithInvalidatedNonRelativeUnresolvedImports(path) {\n    if (!filesWithInvalidatedNonRelativeUnresolvedImports) {\n      return false;\n    }\n    const value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);\n    return !!value && !!value.length;\n  }\n  function createHasInvalidatedResolutions(customHasInvalidatedResolutions) {\n    invalidateResolutionsOfFailedLookupLocations();\n    const collected = filesWithInvalidatedResolutions;\n    filesWithInvalidatedResolutions = void 0;\n    return (path) => customHasInvalidatedResolutions(path) || !!(collected == null ? void 0 : collected.has(path)) || isFileWithInvalidatedNonRelativeUnresolvedImports(path);\n  }\n  function startCachingPerDirectoryResolution() {\n    moduleResolutionCache.clearAllExceptPackageJsonInfoCache();\n    typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache();\n    nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);\n    nonRelativeExternalModuleResolutions.clear();\n  }\n  function finishCachingPerDirectoryResolution(newProgram, oldProgram) {\n    filesWithInvalidatedNonRelativeUnresolvedImports = void 0;\n    nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);\n    nonRelativeExternalModuleResolutions.clear();\n    if (newProgram !== oldProgram) {\n      newProgram == null ? void 0 : newProgram.getSourceFiles().forEach((newFile) => {\n        var _a2, _b, _c;\n        const expected = isExternalOrCommonJsModule(newFile) ? (_b = (_a2 = newFile.packageJsonLocations) == null ? void 0 : _a2.length) != null ? _b : 0 : 0;\n        const existing = (_c = impliedFormatPackageJsons.get(newFile.path)) != null ? _c : emptyArray;\n        for (let i = existing.length; i < expected; i++) {\n          createFileWatcherOfAffectingLocation(newFile.packageJsonLocations[i], false);\n        }\n        if (existing.length > expected) {\n          for (let i = expected; i < existing.length; i++) {\n            fileWatchesOfAffectingLocations.get(existing[i]).files--;\n          }\n        }\n        if (expected)\n          impliedFormatPackageJsons.set(newFile.path, newFile.packageJsonLocations);\n        else\n          impliedFormatPackageJsons.delete(newFile.path);\n      });\n      impliedFormatPackageJsons.forEach((existing, path) => {\n        if (!(newProgram == null ? void 0 : newProgram.getSourceFileByPath(path))) {\n          existing.forEach((location) => fileWatchesOfAffectingLocations.get(location).files--);\n          impliedFormatPackageJsons.delete(path);\n        }\n      });\n    }\n    directoryWatchesOfFailedLookups.forEach((watcher, path) => {\n      if (watcher.refCount === 0) {\n        directoryWatchesOfFailedLookups.delete(path);\n        watcher.watcher.close();\n      }\n    });\n    fileWatchesOfAffectingLocations.forEach((watcher, path) => {\n      if (watcher.files === 0 && watcher.resolutions === 0) {\n        fileWatchesOfAffectingLocations.delete(path);\n        watcher.watcher.close();\n      }\n    });\n    hasChangedAutomaticTypeDirectiveNames = false;\n  }\n  function resolveModuleName2(moduleName, containingFile, compilerOptions, host, redirectedReference, _containingSourceFile, mode) {\n    const primaryResult = resolveModuleName(moduleName, containingFile, compilerOptions, host, moduleResolutionCache, redirectedReference, mode);\n    if (!resolutionHost.getGlobalCache) {\n      return primaryResult;\n    }\n    const globalCache = resolutionHost.getGlobalCache();\n    if (globalCache !== void 0 && !isExternalModuleNameRelative(moduleName) && !(primaryResult.resolvedModule && extensionIsTS(primaryResult.resolvedModule.extension))) {\n      const { resolvedModule, failedLookupLocations, affectingLocations } = loadModuleFromGlobalCache(\n        Debug.checkDefined(resolutionHost.globalCacheResolutionModuleName)(moduleName),\n        resolutionHost.projectName,\n        compilerOptions,\n        host,\n        globalCache,\n        moduleResolutionCache\n      );\n      if (resolvedModule) {\n        primaryResult.resolvedModule = resolvedModule;\n        primaryResult.failedLookupLocations.push(...failedLookupLocations);\n        primaryResult.affectingLocations.push(...affectingLocations);\n        return primaryResult;\n      }\n    }\n    return primaryResult;\n  }\n  function resolveTypeReferenceDirective2(typeReferenceDirectiveName, containingFile, options, host, redirectedReference, _containingSourceFile, resolutionMode) {\n    return resolveTypeReferenceDirective(typeReferenceDirectiveName, containingFile, options, host, redirectedReference, typeReferenceDirectiveResolutionCache, resolutionMode);\n  }\n  function resolveNamesWithLocalCache({\n    names,\n    containingFile,\n    redirectedReference,\n    cache,\n    perDirectoryCacheWithRedirects,\n    loader,\n    getResolutionWithResolvedFileName,\n    shouldRetryResolution,\n    reusedNames,\n    logChanges,\n    containingSourceFile,\n    containingSourceFileMode\n  }) {\n    var _a2, _b, _c;\n    const path = resolutionHost.toPath(containingFile);\n    const resolutionsInFile = cache.get(path) || cache.set(path, createModeAwareCache()).get(path);\n    const dirPath = getDirectoryPath(path);\n    const perDirectoryCache = perDirectoryCacheWithRedirects.getOrCreateMapOfCacheRedirects(redirectedReference);\n    let perDirectoryResolution = perDirectoryCache.get(dirPath);\n    if (!perDirectoryResolution) {\n      perDirectoryResolution = createModeAwareCache();\n      perDirectoryCache.set(dirPath, perDirectoryResolution);\n    }\n    const resolvedModules = [];\n    const compilerOptions = resolutionHost.getCompilationSettings();\n    const hasInvalidatedNonRelativeUnresolvedImport = logChanges && isFileWithInvalidatedNonRelativeUnresolvedImports(path);\n    const program = resolutionHost.getCurrentProgram();\n    const oldRedirect = program && program.getResolvedProjectReferenceToRedirect(containingFile);\n    const unmatchedRedirects = oldRedirect ? !redirectedReference || redirectedReference.sourceFile.path !== oldRedirect.sourceFile.path : !!redirectedReference;\n    const seenNamesInFile = createModeAwareCache();\n    let i = 0;\n    for (const entry of names) {\n      const name = isString(entry) ? entry : entry.fileName.toLowerCase();\n      const mode = !isString(entry) ? getModeForFileReference(entry, containingSourceFileMode) : containingSourceFile ? getModeForResolutionAtIndex(containingSourceFile, i) : void 0;\n      i++;\n      let resolution = resolutionsInFile.get(name, mode);\n      if (!seenNamesInFile.has(name, mode) && unmatchedRedirects || !resolution || resolution.isInvalidated || hasInvalidatedNonRelativeUnresolvedImport && !isExternalModuleNameRelative(name) && shouldRetryResolution(resolution)) {\n        const existingResolution = resolution;\n        const resolutionInDirectory = perDirectoryResolution.get(name, mode);\n        if (resolutionInDirectory) {\n          resolution = resolutionInDirectory;\n          const host = ((_a2 = resolutionHost.getCompilerHost) == null ? void 0 : _a2.call(resolutionHost)) || resolutionHost;\n          if (isTraceEnabled(compilerOptions, host)) {\n            const resolved = getResolutionWithResolvedFileName(resolution);\n            trace(\n              host,\n              loader === resolveModuleName2 ? (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packagetId ? Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4 : Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved : (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packagetId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved,\n              name,\n              containingFile,\n              getDirectoryPath(containingFile),\n              resolved == null ? void 0 : resolved.resolvedFileName,\n              (resolved == null ? void 0 : resolved.packagetId) && packageIdToString(resolved.packagetId)\n            );\n          }\n        } else {\n          resolution = loader(name, containingFile, compilerOptions, ((_b = resolutionHost.getCompilerHost) == null ? void 0 : _b.call(resolutionHost)) || resolutionHost, redirectedReference, containingSourceFile, mode);\n          perDirectoryResolution.set(name, mode, resolution);\n          if (resolutionHost.onDiscoveredSymlink && resolutionIsSymlink(resolution)) {\n            resolutionHost.onDiscoveredSymlink();\n          }\n        }\n        resolutionsInFile.set(name, mode, resolution);\n        watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, path, getResolutionWithResolvedFileName);\n        if (existingResolution) {\n          stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);\n        }\n        if (logChanges && filesWithChangedSetOfUnresolvedImports && !resolutionIsEqualTo(existingResolution, resolution)) {\n          filesWithChangedSetOfUnresolvedImports.push(path);\n          logChanges = false;\n        }\n      } else {\n        const host = ((_c = resolutionHost.getCompilerHost) == null ? void 0 : _c.call(resolutionHost)) || resolutionHost;\n        if (isTraceEnabled(compilerOptions, host) && !seenNamesInFile.has(name, mode)) {\n          const resolved = getResolutionWithResolvedFileName(resolution);\n          trace(\n            host,\n            loader === resolveModuleName2 ? (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packagetId ? Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved : (resolved == null ? void 0 : resolved.resolvedFileName) ? resolved.packagetId ? Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2 : Diagnostics.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,\n            name,\n            containingFile,\n            resolved == null ? void 0 : resolved.resolvedFileName,\n            (resolved == null ? void 0 : resolved.packagetId) && packageIdToString(resolved.packagetId)\n          );\n        }\n      }\n      Debug.assert(resolution !== void 0 && !resolution.isInvalidated);\n      seenNamesInFile.set(name, mode, true);\n      resolvedModules.push(getResolutionWithResolvedFileName(resolution));\n    }\n    resolutionsInFile.forEach((resolution, name, mode) => {\n      if (!seenNamesInFile.has(name, mode) && !contains(reusedNames, name)) {\n        stopWatchFailedLookupLocationOfResolution(resolution, path, getResolutionWithResolvedFileName);\n        resolutionsInFile.delete(name, mode);\n      }\n    });\n    return resolvedModules;\n    function resolutionIsEqualTo(oldResolution, newResolution) {\n      if (oldResolution === newResolution) {\n        return true;\n      }\n      if (!oldResolution || !newResolution) {\n        return false;\n      }\n      const oldResult = getResolutionWithResolvedFileName(oldResolution);\n      const newResult = getResolutionWithResolvedFileName(newResolution);\n      if (oldResult === newResult) {\n        return true;\n      }\n      if (!oldResult || !newResult) {\n        return false;\n      }\n      return oldResult.resolvedFileName === newResult.resolvedFileName;\n    }\n  }\n  function resolveTypeReferenceDirectives(typeDirectiveNames, containingFile, redirectedReference, containingFileMode) {\n    return resolveNamesWithLocalCache({\n      names: typeDirectiveNames,\n      containingFile,\n      redirectedReference,\n      cache: resolvedTypeReferenceDirectives,\n      perDirectoryCacheWithRedirects: perDirectoryResolvedTypeReferenceDirectives,\n      loader: resolveTypeReferenceDirective2,\n      getResolutionWithResolvedFileName: getResolvedTypeReferenceDirective,\n      shouldRetryResolution: (resolution) => resolution.resolvedTypeReferenceDirective === void 0,\n      containingSourceFileMode: containingFileMode\n    });\n  }\n  function resolveModuleNames(moduleNames, containingFile, reusedNames, redirectedReference, containingSourceFile) {\n    return resolveNamesWithLocalCache({\n      names: moduleNames,\n      containingFile,\n      redirectedReference,\n      cache: resolvedModuleNames,\n      perDirectoryCacheWithRedirects: perDirectoryResolvedModuleNames,\n      loader: resolveModuleName2,\n      getResolutionWithResolvedFileName: getResolvedModule2,\n      shouldRetryResolution: (resolution) => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension),\n      reusedNames,\n      logChanges: logChangesWhenResolvingModule,\n      containingSourceFile\n    });\n  }\n  function getResolvedModuleWithFailedLookupLocationsFromCache(moduleName, containingFile, resolutionMode) {\n    const cache = resolvedModuleNames.get(resolutionHost.toPath(containingFile));\n    if (!cache)\n      return void 0;\n    return cache.get(moduleName, resolutionMode);\n  }\n  function isNodeModulesAtTypesDirectory(dirPath) {\n    return endsWith(dirPath, \"/node_modules/@types\");\n  }\n  function getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath) {\n    if (isInDirectoryPath(rootPath, failedLookupLocationPath)) {\n      failedLookupLocation = isRootedDiskPath(failedLookupLocation) ? normalizePath(failedLookupLocation) : getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory());\n      const failedLookupPathSplit = failedLookupLocationPath.split(directorySeparator);\n      const failedLookupSplit = failedLookupLocation.split(directorySeparator);\n      Debug.assert(failedLookupSplit.length === failedLookupPathSplit.length, `FailedLookup: ${failedLookupLocation} failedLookupLocationPath: ${failedLookupLocationPath}`);\n      if (failedLookupPathSplit.length > rootSplitLength + 1) {\n        return {\n          dir: failedLookupSplit.slice(0, rootSplitLength + 1).join(directorySeparator),\n          dirPath: failedLookupPathSplit.slice(0, rootSplitLength + 1).join(directorySeparator)\n        };\n      } else {\n        return {\n          dir: rootDir,\n          dirPath: rootPath,\n          nonRecursive: false\n        };\n      }\n    }\n    return getDirectoryToWatchFromFailedLookupLocationDirectory(\n      getDirectoryPath(getNormalizedAbsolutePath(failedLookupLocation, getCurrentDirectory())),\n      getDirectoryPath(failedLookupLocationPath)\n    );\n  }\n  function getDirectoryToWatchFromFailedLookupLocationDirectory(dir, dirPath) {\n    const isOHModules2 = isOhpm(resolutionHost.getCompilationSettings().packageManagerType);\n    while (isOHModules2 ? pathContainsOHModules(dirPath) : pathContainsNodeModules(dirPath)) {\n      dir = getDirectoryPath(dir);\n      dirPath = getDirectoryPath(dirPath);\n    }\n    if (isTargetModulesDerectory(dirPath)) {\n      return canWatchDirectoryOrFile(getDirectoryPath(dirPath)) ? { dir, dirPath } : void 0;\n    }\n    let nonRecursive = true;\n    let subDirectoryPath, subDirectory;\n    if (rootPath !== void 0) {\n      while (!isInDirectoryPath(dirPath, rootPath)) {\n        const parentPath = getDirectoryPath(dirPath);\n        if (parentPath === dirPath) {\n          break;\n        }\n        nonRecursive = false;\n        subDirectoryPath = dirPath;\n        subDirectory = dir;\n        dirPath = parentPath;\n        dir = getDirectoryPath(dir);\n      }\n    }\n    return canWatchDirectoryOrFile(dirPath) ? { dir: subDirectory || dir, dirPath: subDirectoryPath || dirPath, nonRecursive } : void 0;\n  }\n  function isPathWithDefaultFailedLookupExtension(path) {\n    return fileExtensionIsOneOf(path, failedLookupDefaultExtensions);\n  }\n  function watchFailedLookupLocationsOfExternalModuleResolutions(name, resolution, filePath, getResolutionWithResolvedFileName) {\n    if (resolution.refCount) {\n      resolution.refCount++;\n      Debug.assertIsDefined(resolution.files);\n    } else {\n      resolution.refCount = 1;\n      Debug.assert(length(resolution.files) === 0);\n      if (isExternalModuleNameRelative(name)) {\n        watchFailedLookupLocationOfResolution(resolution);\n      } else {\n        nonRelativeExternalModuleResolutions.add(name, resolution);\n      }\n      const resolved = getResolutionWithResolvedFileName(resolution);\n      if (resolved && resolved.resolvedFileName) {\n        resolvedFileToResolution.add(resolutionHost.toPath(resolved.resolvedFileName), resolution);\n      }\n    }\n    (resolution.files || (resolution.files = [])).push(filePath);\n  }\n  function watchFailedLookupLocationOfResolution(resolution) {\n    Debug.assert(!!resolution.refCount);\n    const { failedLookupLocations, affectingLocations } = resolution;\n    if (!failedLookupLocations.length && !affectingLocations.length)\n      return;\n    if (failedLookupLocations.length)\n      resolutionsWithFailedLookups.push(resolution);\n    let setAtRoot = false;\n    for (const failedLookupLocation of failedLookupLocations) {\n      const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);\n      const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);\n      if (toWatch) {\n        const { dir, dirPath, nonRecursive } = toWatch;\n        if (!isPathWithDefaultFailedLookupExtension(failedLookupLocationPath)) {\n          const refCount = customFailedLookupPaths.get(failedLookupLocationPath) || 0;\n          customFailedLookupPaths.set(failedLookupLocationPath, refCount + 1);\n        }\n        if (dirPath === rootPath) {\n          Debug.assert(!nonRecursive);\n          setAtRoot = true;\n        } else {\n          setDirectoryWatcher(dir, dirPath, nonRecursive);\n        }\n      }\n    }\n    if (setAtRoot) {\n      setDirectoryWatcher(rootDir, rootPath, true);\n    }\n    watchAffectingLocationsOfResolution(resolution, !failedLookupLocations.length);\n  }\n  function watchAffectingLocationsOfResolution(resolution, addToResolutionsWithOnlyAffectingLocations) {\n    Debug.assert(!!resolution.refCount);\n    const { affectingLocations } = resolution;\n    if (!affectingLocations.length)\n      return;\n    if (addToResolutionsWithOnlyAffectingLocations)\n      resolutionsWithOnlyAffectingLocations.push(resolution);\n    for (const affectingLocation of affectingLocations) {\n      createFileWatcherOfAffectingLocation(affectingLocation, true);\n    }\n  }\n  function createFileWatcherOfAffectingLocation(affectingLocation, forResolution) {\n    const fileWatcher = fileWatchesOfAffectingLocations.get(affectingLocation);\n    if (fileWatcher) {\n      if (forResolution)\n        fileWatcher.resolutions++;\n      else\n        fileWatcher.files++;\n      return;\n    }\n    let locationToWatch = affectingLocation;\n    if (resolutionHost.realpath) {\n      locationToWatch = resolutionHost.realpath(affectingLocation);\n      if (affectingLocation !== locationToWatch) {\n        const fileWatcher2 = fileWatchesOfAffectingLocations.get(locationToWatch);\n        if (fileWatcher2) {\n          if (forResolution)\n            fileWatcher2.resolutions++;\n          else\n            fileWatcher2.files++;\n          fileWatcher2.paths.add(affectingLocation);\n          fileWatchesOfAffectingLocations.set(affectingLocation, fileWatcher2);\n          return;\n        }\n      }\n    }\n    const paths = new Set2();\n    paths.add(locationToWatch);\n    let actualWatcher = canWatchDirectoryOrFile(resolutionHost.toPath(locationToWatch)) ? resolutionHost.watchAffectingFileLocation(locationToWatch, (fileName, eventKind) => {\n      cachedDirectoryStructureHost == null ? void 0 : cachedDirectoryStructureHost.addOrDeleteFile(fileName, resolutionHost.toPath(locationToWatch), eventKind);\n      const packageJsonMap = moduleResolutionCache.getPackageJsonInfoCache().getInternalMap();\n      paths.forEach((path) => {\n        if (watcher.resolutions)\n          (affectingPathChecks != null ? affectingPathChecks : affectingPathChecks = new Set2()).add(path);\n        if (watcher.files)\n          (affectingPathChecksForFile != null ? affectingPathChecksForFile : affectingPathChecksForFile = new Set2()).add(path);\n        packageJsonMap == null ? void 0 : packageJsonMap.delete(resolutionHost.toPath(path));\n      });\n      resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations();\n    }) : noopFileWatcher;\n    const watcher = {\n      watcher: actualWatcher !== noopFileWatcher ? {\n        close: () => {\n          actualWatcher.close();\n          actualWatcher = noopFileWatcher;\n        }\n      } : actualWatcher,\n      resolutions: forResolution ? 1 : 0,\n      files: forResolution ? 0 : 1,\n      paths\n    };\n    fileWatchesOfAffectingLocations.set(locationToWatch, watcher);\n    if (affectingLocation !== locationToWatch) {\n      fileWatchesOfAffectingLocations.set(affectingLocation, watcher);\n      paths.add(affectingLocation);\n    }\n  }\n  function watchFailedLookupLocationOfNonRelativeModuleResolutions(resolutions, name) {\n    const program = resolutionHost.getCurrentProgram();\n    if (!program || !program.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(name)) {\n      resolutions.forEach(watchFailedLookupLocationOfResolution);\n    } else {\n      resolutions.forEach((resolution) => watchAffectingLocationsOfResolution(resolution, true));\n    }\n  }\n  function setDirectoryWatcher(dir, dirPath, nonRecursive) {\n    const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath);\n    if (dirWatcher) {\n      Debug.assert(!!nonRecursive === !!dirWatcher.nonRecursive);\n      dirWatcher.refCount++;\n    } else {\n      directoryWatchesOfFailedLookups.set(dirPath, { watcher: createDirectoryWatcher(dir, dirPath, nonRecursive), refCount: 1, nonRecursive });\n    }\n  }\n  function stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName) {\n    unorderedRemoveItem(Debug.checkDefined(resolution.files), filePath);\n    resolution.refCount--;\n    if (resolution.refCount) {\n      return;\n    }\n    const resolved = getResolutionWithResolvedFileName(resolution);\n    if (resolved && resolved.resolvedFileName) {\n      resolvedFileToResolution.remove(resolutionHost.toPath(resolved.resolvedFileName), resolution);\n    }\n    const { failedLookupLocations, affectingLocations } = resolution;\n    if (unorderedRemoveItem(resolutionsWithFailedLookups, resolution)) {\n      let removeAtRoot = false;\n      for (const failedLookupLocation of failedLookupLocations) {\n        const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);\n        const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);\n        if (toWatch) {\n          const { dirPath } = toWatch;\n          const refCount = customFailedLookupPaths.get(failedLookupLocationPath);\n          if (refCount) {\n            if (refCount === 1) {\n              customFailedLookupPaths.delete(failedLookupLocationPath);\n            } else {\n              Debug.assert(refCount > 1);\n              customFailedLookupPaths.set(failedLookupLocationPath, refCount - 1);\n            }\n          }\n          if (dirPath === rootPath) {\n            removeAtRoot = true;\n          } else {\n            removeDirectoryWatcher(dirPath);\n          }\n        }\n      }\n      if (removeAtRoot) {\n        removeDirectoryWatcher(rootPath);\n      }\n    } else if (affectingLocations.length) {\n      unorderedRemoveItem(resolutionsWithOnlyAffectingLocations, resolution);\n    }\n    for (const affectingLocation of affectingLocations) {\n      const watcher = fileWatchesOfAffectingLocations.get(affectingLocation);\n      watcher.resolutions--;\n    }\n  }\n  function removeDirectoryWatcher(dirPath) {\n    const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath);\n    dirWatcher.refCount--;\n  }\n  function createDirectoryWatcher(directory, dirPath, nonRecursive) {\n    return resolutionHost.watchDirectoryOfFailedLookupLocation(directory, (fileOrDirectory) => {\n      const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory);\n      if (cachedDirectoryStructureHost) {\n        cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n      }\n      scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath);\n    }, nonRecursive ? 0 /* None */ : 1 /* Recursive */);\n  }\n  function removeResolutionsOfFileFromCache(cache, filePath, getResolutionWithResolvedFileName) {\n    const resolutions = cache.get(filePath);\n    if (resolutions) {\n      resolutions.forEach((resolution) => stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName));\n      cache.delete(filePath);\n    }\n  }\n  function removeResolutionsFromProjectReferenceRedirects(filePath) {\n    if (!fileExtensionIs(filePath, \".json\" /* Json */))\n      return;\n    const program = resolutionHost.getCurrentProgram();\n    if (!program)\n      return;\n    const resolvedProjectReference = program.getResolvedProjectReferenceByPath(filePath);\n    if (!resolvedProjectReference)\n      return;\n    resolvedProjectReference.commandLine.fileNames.forEach((f) => removeResolutionsOfFile(resolutionHost.toPath(f)));\n  }\n  function removeResolutionsOfFile(filePath) {\n    removeResolutionsOfFileFromCache(resolvedModuleNames, filePath, getResolvedModule2);\n    removeResolutionsOfFileFromCache(resolvedTypeReferenceDirectives, filePath, getResolvedTypeReferenceDirective);\n  }\n  function invalidateResolutions(resolutions, canInvalidate) {\n    if (!resolutions)\n      return false;\n    let invalidated = false;\n    for (const resolution of resolutions) {\n      if (resolution.isInvalidated || !canInvalidate(resolution))\n        continue;\n      resolution.isInvalidated = invalidated = true;\n      for (const containingFilePath of Debug.checkDefined(resolution.files)) {\n        (filesWithInvalidatedResolutions != null ? filesWithInvalidatedResolutions : filesWithInvalidatedResolutions = new Set2()).add(containingFilePath);\n        hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames || endsWith(containingFilePath, inferredTypesContainingFile);\n      }\n    }\n    return invalidated;\n  }\n  function invalidateResolutionOfFile(filePath) {\n    removeResolutionsOfFile(filePath);\n    const prevHasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames;\n    if (invalidateResolutions(resolvedFileToResolution.get(filePath), returnTrue) && hasChangedAutomaticTypeDirectiveNames && !prevHasChangedAutomaticTypeDirectiveNames) {\n      resolutionHost.onChangedAutomaticTypeDirectiveNames();\n    }\n  }\n  function setFilesWithInvalidatedNonRelativeUnresolvedImports(filesMap) {\n    Debug.assert(filesWithInvalidatedNonRelativeUnresolvedImports === filesMap || filesWithInvalidatedNonRelativeUnresolvedImports === void 0);\n    filesWithInvalidatedNonRelativeUnresolvedImports = filesMap;\n  }\n  function scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, isCreatingWatchedDirectory) {\n    if (isCreatingWatchedDirectory) {\n      (isInDirectoryChecks || (isInDirectoryChecks = new Set2())).add(fileOrDirectoryPath);\n    } else {\n      const updatedPath = removeIgnoredPath(fileOrDirectoryPath);\n      if (!updatedPath)\n        return false;\n      fileOrDirectoryPath = updatedPath;\n      if (resolutionHost.fileIsOpen(fileOrDirectoryPath)) {\n        return false;\n      }\n      const dirOfFileOrDirectory = getDirectoryPath(fileOrDirectoryPath);\n      const isOHModules2 = isOhpm(resolutionHost.getCompilationSettings().packageManagerType);\n      if (isNodeModulesAtTypesDirectory(fileOrDirectoryPath) || isOHModules2 && isOHModulesAtTypesDirectory(fileOrDirectoryPath) || isNodeModulesDirectory(fileOrDirectoryPath) || isNodeModulesAtTypesDirectory(dirOfFileOrDirectory) || isOHModules2 && isOHModulesAtTypesDirectory(dirOfFileOrDirectory) || isNodeModulesDirectory(dirOfFileOrDirectory)) {\n        (failedLookupChecks || (failedLookupChecks = new Set2())).add(fileOrDirectoryPath);\n        (startsWithPathChecks || (startsWithPathChecks = new Set2())).add(fileOrDirectoryPath);\n      } else {\n        if (!isPathWithDefaultFailedLookupExtension(fileOrDirectoryPath) && !customFailedLookupPaths.has(fileOrDirectoryPath)) {\n          return false;\n        }\n        if (isEmittedFileOfProgram(resolutionHost.getCurrentProgram(), fileOrDirectoryPath)) {\n          return false;\n        }\n        (failedLookupChecks || (failedLookupChecks = new Set2())).add(fileOrDirectoryPath);\n        const packagePath = parseModuleFromPath(fileOrDirectoryPath);\n        if (packagePath)\n          (startsWithPathChecks || (startsWithPathChecks = new Set2())).add(packagePath);\n      }\n    }\n    resolutionHost.scheduleInvalidateResolutionsOfFailedLookupLocations();\n  }\n  function invalidateResolutionsOfFailedLookupLocations() {\n    var _a2;\n    let invalidated = false;\n    if (affectingPathChecksForFile) {\n      (_a2 = resolutionHost.getCurrentProgram()) == null ? void 0 : _a2.getSourceFiles().forEach((f) => {\n        if (some(f.packageJsonLocations, (location) => affectingPathChecksForFile.has(location))) {\n          (filesWithInvalidatedResolutions != null ? filesWithInvalidatedResolutions : filesWithInvalidatedResolutions = new Set2()).add(f.path);\n          invalidated = true;\n        }\n      });\n      affectingPathChecksForFile = void 0;\n    }\n    if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks && !affectingPathChecks) {\n      return invalidated;\n    }\n    invalidated = invalidateResolutions(resolutionsWithFailedLookups, canInvalidateFailedLookupResolution) || invalidated;\n    const packageJsonMap = moduleResolutionCache.getPackageJsonInfoCache().getInternalMap();\n    if (packageJsonMap && (failedLookupChecks || startsWithPathChecks || isInDirectoryChecks)) {\n      packageJsonMap.forEach((_value, path) => isInvalidatedFailedLookup(path) ? packageJsonMap.delete(path) : void 0);\n    }\n    failedLookupChecks = void 0;\n    startsWithPathChecks = void 0;\n    isInDirectoryChecks = void 0;\n    invalidated = invalidateResolutions(resolutionsWithOnlyAffectingLocations, canInvalidatedFailedLookupResolutionWithAffectingLocation) || invalidated;\n    affectingPathChecks = void 0;\n    return invalidated;\n  }\n  function canInvalidateFailedLookupResolution(resolution) {\n    if (canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution))\n      return true;\n    if (!failedLookupChecks && !startsWithPathChecks && !isInDirectoryChecks)\n      return false;\n    return resolution.failedLookupLocations.some((location) => isInvalidatedFailedLookup(resolutionHost.toPath(location)));\n  }\n  function isInvalidatedFailedLookup(locationPath) {\n    return (failedLookupChecks == null ? void 0 : failedLookupChecks.has(locationPath)) || firstDefinedIterator((startsWithPathChecks == null ? void 0 : startsWithPathChecks.keys()) || emptyIterator, (fileOrDirectoryPath) => startsWith(locationPath, fileOrDirectoryPath) ? true : void 0) || firstDefinedIterator((isInDirectoryChecks == null ? void 0 : isInDirectoryChecks.keys()) || emptyIterator, (fileOrDirectoryPath) => isInDirectoryPath(fileOrDirectoryPath, locationPath) ? true : void 0);\n  }\n  function canInvalidatedFailedLookupResolutionWithAffectingLocation(resolution) {\n    return !!affectingPathChecks && resolution.affectingLocations.some((location) => affectingPathChecks.has(location));\n  }\n  function closeTypeRootsWatch() {\n    clearMap(typeRootsWatches, closeFileWatcher);\n  }\n  function getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath) {\n    if (isInDirectoryPath(rootPath, typeRootPath)) {\n      return rootPath;\n    }\n    const toWatch = getDirectoryToWatchFromFailedLookupLocationDirectory(typeRoot, typeRootPath);\n    return toWatch && directoryWatchesOfFailedLookups.has(toWatch.dirPath) ? toWatch.dirPath : void 0;\n  }\n  function createTypeRootsWatch(typeRootPath, typeRoot) {\n    return resolutionHost.watchTypeRootsDirectory(typeRoot, (fileOrDirectory) => {\n      const fileOrDirectoryPath = resolutionHost.toPath(fileOrDirectory);\n      if (cachedDirectoryStructureHost) {\n        cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n      }\n      hasChangedAutomaticTypeDirectiveNames = true;\n      resolutionHost.onChangedAutomaticTypeDirectiveNames();\n      const dirPath = getDirectoryToWatchFailedLookupLocationFromTypeRoot(typeRoot, typeRootPath);\n      if (dirPath) {\n        scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath, dirPath === fileOrDirectoryPath);\n      }\n    }, 1 /* Recursive */);\n  }\n  function updateTypeRootsWatch() {\n    const options = resolutionHost.getCompilationSettings();\n    if (options.types) {\n      closeTypeRootsWatch();\n      return;\n    }\n    const typeRoots = getEffectiveTypeRoots(options, { directoryExists: directoryExistsForTypeRootWatch, getCurrentDirectory });\n    if (typeRoots) {\n      mutateMap(\n        typeRootsWatches,\n        arrayToMap(typeRoots, (tr) => resolutionHost.toPath(tr)),\n        {\n          createNewValue: createTypeRootsWatch,\n          onDeleteValue: closeFileWatcher\n        }\n      );\n    } else {\n      closeTypeRootsWatch();\n    }\n  }\n  function directoryExistsForTypeRootWatch(nodeTypesDirectory) {\n    const dir = getDirectoryPath(getDirectoryPath(nodeTypesDirectory));\n    const dirPath = resolutionHost.toPath(dir);\n    return dirPath === rootPath || canWatchDirectoryOrFile(dirPath);\n  }\n}\nfunction resolutionIsSymlink(resolution) {\n  var _a2, _b;\n  return !!(((_a2 = resolution.resolvedModule) == null ? void 0 : _a2.originalPath) || ((_b = resolution.resolvedTypeReferenceDirective) == null ? void 0 : _b.originalPath));\n}\n\n// src/compiler/watch.ts\nvar sysFormatDiagnosticsHost = sys ? {\n  getCurrentDirectory: () => sys.getCurrentDirectory(),\n  getNewLine: () => sys.newLine,\n  getCanonicalFileName: createGetCanonicalFileName(sys.useCaseSensitiveFileNames)\n} : void 0;\nfunction createDiagnosticReporter(system, pretty) {\n  const host = system === sys && sysFormatDiagnosticsHost ? sysFormatDiagnosticsHost : {\n    getCurrentDirectory: () => system.getCurrentDirectory(),\n    getNewLine: () => system.newLine,\n    getCanonicalFileName: createGetCanonicalFileName(system.useCaseSensitiveFileNames)\n  };\n  if (!pretty) {\n    return (diagnostic) => system.write(formatDiagnostic(diagnostic, host));\n  }\n  const diagnostics = new Array(1);\n  return (diagnostic) => {\n    diagnostics[0] = diagnostic;\n    system.write(formatDiagnosticsWithColorAndContext(diagnostics, host) + host.getNewLine());\n    diagnostics[0] = void 0;\n  };\n}\nfunction clearScreenIfNotWatchingForFileChanges(system, diagnostic, options) {\n  if (system.clearScreen && !options.preserveWatchOutput && !options.extendedDiagnostics && !options.diagnostics && contains(screenStartingMessageCodes, diagnostic.code)) {\n    system.clearScreen();\n    return true;\n  }\n  return false;\n}\nvar screenStartingMessageCodes = [\n  Diagnostics.Starting_compilation_in_watch_mode.code,\n  Diagnostics.File_change_detected_Starting_incremental_compilation.code\n];\nfunction getPlainDiagnosticFollowingNewLines(diagnostic, newLine) {\n  return contains(screenStartingMessageCodes, diagnostic.code) ? newLine + newLine : newLine;\n}\nfunction getLocaleTimeString(system) {\n  return !system.now ? new Date().toLocaleTimeString() : system.now().toLocaleTimeString(\"en-US\", { timeZone: \"UTC\" }).replace(\"\\u202F\", \" \");\n}\nfunction createWatchStatusReporter(system, pretty) {\n  return pretty ? (diagnostic, newLine, options) => {\n    clearScreenIfNotWatchingForFileChanges(system, diagnostic, options);\n    let output = `[${formatColorAndReset(getLocaleTimeString(system), \"\\x1B[90m\" /* Grey */)}] `;\n    output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${newLine + newLine}`;\n    system.write(output);\n  } : (diagnostic, newLine, options) => {\n    let output = \"\";\n    if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) {\n      output += newLine;\n    }\n    output += `${getLocaleTimeString(system)} - `;\n    output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${getPlainDiagnosticFollowingNewLines(diagnostic, newLine)}`;\n    system.write(output);\n  };\n}\nfunction parseConfigFileWithSystem(configFileName, optionsToExtend, extendedConfigCache, watchOptionsToExtend, system, reportDiagnostic) {\n  const host = system;\n  host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic);\n  const result = getParsedCommandLineOfConfigFile(configFileName, optionsToExtend, host, extendedConfigCache, watchOptionsToExtend);\n  host.onUnRecoverableConfigFileDiagnostic = void 0;\n  return result;\n}\nfunction getErrorCountForSummary(diagnostics) {\n  return countWhere(diagnostics, (diagnostic) => diagnostic.category === 1 /* Error */);\n}\nfunction getFilesInErrorForSummary(diagnostics) {\n  const filesInError = filter(diagnostics, (diagnostic) => diagnostic.category === 1 /* Error */).map(\n    (errorDiagnostic) => {\n      if (errorDiagnostic.file === void 0)\n        return;\n      return `${errorDiagnostic.file.fileName}`;\n    }\n  );\n  return filesInError.map((fileName) => {\n    const diagnosticForFileName = find(\n      diagnostics,\n      (diagnostic) => diagnostic.file !== void 0 && diagnostic.file.fileName === fileName\n    );\n    if (diagnosticForFileName !== void 0) {\n      const { line } = getLineAndCharacterOfPosition(diagnosticForFileName.file, diagnosticForFileName.start);\n      return {\n        fileName,\n        line: line + 1\n      };\n    }\n  });\n}\nfunction getWatchErrorSummaryDiagnosticMessage(errorCount) {\n  return errorCount === 1 ? Diagnostics.Found_1_error_Watching_for_file_changes : Diagnostics.Found_0_errors_Watching_for_file_changes;\n}\nfunction prettyPathForFileError(error, cwd) {\n  const line = formatColorAndReset(\":\" + error.line, \"\\x1B[90m\" /* Grey */);\n  if (pathIsAbsolute(error.fileName) && pathIsAbsolute(cwd)) {\n    return getRelativePathFromDirectory(cwd, error.fileName, false) + line;\n  }\n  return error.fileName + line;\n}\nfunction getErrorSummaryText(errorCount, filesInError, newLine, host) {\n  if (errorCount === 0)\n    return \"\";\n  const nonNilFiles = filesInError.filter((fileInError) => fileInError !== void 0);\n  const distinctFileNamesWithLines = nonNilFiles.map((fileInError) => `${fileInError.fileName}:${fileInError.line}`).filter((value, index, self2) => self2.indexOf(value) === index);\n  const firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory());\n  const d = errorCount === 1 ? createCompilerDiagnostic(\n    filesInError[0] !== void 0 ? Diagnostics.Found_1_error_in_1 : Diagnostics.Found_1_error,\n    errorCount,\n    firstFileReference\n  ) : createCompilerDiagnostic(\n    distinctFileNamesWithLines.length === 0 ? Diagnostics.Found_0_errors : distinctFileNamesWithLines.length === 1 ? Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1 : Diagnostics.Found_0_errors_in_1_files,\n    errorCount,\n    distinctFileNamesWithLines.length === 1 ? firstFileReference : distinctFileNamesWithLines.length\n  );\n  const suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : \"\";\n  return `${newLine}${flattenDiagnosticMessageText(d.messageText, newLine)}${newLine}${newLine}${suffix}`;\n}\nfunction createTabularErrorsDisplay(filesInError, host) {\n  const distinctFiles = filesInError.filter((value, index, self2) => index === self2.findIndex((file) => (file == null ? void 0 : file.fileName) === (value == null ? void 0 : value.fileName)));\n  if (distinctFiles.length === 0)\n    return \"\";\n  const numberLength = (num) => Math.log(num) * Math.LOG10E + 1;\n  const fileToErrorCount = distinctFiles.map((file) => [file, countWhere(filesInError, (fileInError) => fileInError.fileName === file.fileName)]);\n  const maxErrors = fileToErrorCount.reduce((acc, value) => Math.max(acc, value[1] || 0), 0);\n  const headerRow = Diagnostics.Errors_Files.message;\n  const leftColumnHeadingLength = headerRow.split(\" \")[0].length;\n  const leftPaddingGoal = Math.max(leftColumnHeadingLength, numberLength(maxErrors));\n  const headerPadding = Math.max(numberLength(maxErrors) - leftColumnHeadingLength, 0);\n  let tabularData = \"\";\n  tabularData += \" \".repeat(headerPadding) + headerRow + \"\\n\";\n  fileToErrorCount.forEach((row) => {\n    const [file, errorCount] = row;\n    const errorCountDigitsLength = Math.log(errorCount) * Math.LOG10E + 1 | 0;\n    const leftPadding = errorCountDigitsLength < leftPaddingGoal ? \" \".repeat(leftPaddingGoal - errorCountDigitsLength) : \"\";\n    const fileRef = prettyPathForFileError(file, host.getCurrentDirectory());\n    tabularData += `${leftPadding}${errorCount}  ${fileRef}\n`;\n  });\n  return tabularData;\n}\nfunction isBuilderProgram2(program) {\n  return !!program.getState;\n}\nfunction listFiles(program, write) {\n  const options = program.getCompilerOptions();\n  if (options.explainFiles) {\n    explainFiles(isBuilderProgram2(program) ? program.getProgram() : program, write);\n  } else if (options.listFiles || options.listFilesOnly) {\n    forEach(program.getSourceFiles(), (file) => {\n      write(file.fileName);\n    });\n  }\n}\nfunction explainFiles(program, write) {\n  var _a2, _b;\n  const reasons = program.getFileIncludeReasons();\n  const getCanonicalFileName = createGetCanonicalFileName(program.useCaseSensitiveFileNames());\n  const relativeFileName = (fileName) => convertToRelativePath(fileName, program.getCurrentDirectory(), getCanonicalFileName);\n  for (const file of program.getSourceFiles()) {\n    write(`${toFileName(file, relativeFileName)}`);\n    (_a2 = reasons.get(file.path)) == null ? void 0 : _a2.forEach((reason) => write(`  ${fileIncludeReasonToDiagnostics(program, reason, relativeFileName).messageText}`));\n    (_b = explainIfFileIsRedirectAndImpliedFormat(file, relativeFileName)) == null ? void 0 : _b.forEach((d) => write(`  ${d.messageText}`));\n  }\n}\nfunction explainIfFileIsRedirectAndImpliedFormat(file, fileNameConvertor) {\n  var _a2;\n  let result;\n  if (file.path !== file.resolvedPath) {\n    (result != null ? result : result = []).push(chainDiagnosticMessages(\n      void 0,\n      Diagnostics.File_is_output_of_project_reference_source_0,\n      toFileName(file.originalFileName, fileNameConvertor)\n    ));\n  }\n  if (file.redirectInfo) {\n    (result != null ? result : result = []).push(chainDiagnosticMessages(\n      void 0,\n      Diagnostics.File_redirects_to_file_0,\n      toFileName(file.redirectInfo.redirectTarget, fileNameConvertor)\n    ));\n  }\n  if (isExternalOrCommonJsModule(file)) {\n    switch (file.impliedNodeFormat) {\n      case 99 /* ESNext */:\n        if (file.packageJsonScope) {\n          (result != null ? result : result = []).push(chainDiagnosticMessages(\n            void 0,\n            Diagnostics.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,\n            toFileName(last(file.packageJsonLocations), fileNameConvertor)\n          ));\n        }\n        break;\n      case 1 /* CommonJS */:\n        if (file.packageJsonScope) {\n          (result != null ? result : result = []).push(chainDiagnosticMessages(\n            void 0,\n            file.packageJsonScope.contents.packageJsonContent.type ? Diagnostics.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module : Diagnostics.File_is_CommonJS_module_because_0_does_not_have_field_type,\n            toFileName(last(file.packageJsonLocations), fileNameConvertor)\n          ));\n        } else if ((_a2 = file.packageJsonLocations) == null ? void 0 : _a2.length) {\n          (result != null ? result : result = []).push(chainDiagnosticMessages(\n            void 0,\n            Diagnostics.File_is_CommonJS_module_because_package_json_was_not_found\n          ));\n        }\n        break;\n    }\n  }\n  return result;\n}\nfunction getMatchedFileSpec(program, fileName) {\n  var _a2;\n  const configFile = program.getCompilerOptions().configFile;\n  if (!((_a2 = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a2.validatedFilesSpec))\n    return void 0;\n  const getCanonicalFileName = createGetCanonicalFileName(program.useCaseSensitiveFileNames());\n  const filePath = getCanonicalFileName(fileName);\n  const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory()));\n  return find(configFile.configFileSpecs.validatedFilesSpec, (fileSpec) => getCanonicalFileName(getNormalizedAbsolutePath(fileSpec, basePath)) === filePath);\n}\nfunction getMatchedIncludeSpec(program, fileName) {\n  var _a2, _b;\n  const configFile = program.getCompilerOptions().configFile;\n  if (!((_a2 = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _a2.validatedIncludeSpecs))\n    return void 0;\n  if (configFile.configFileSpecs.isDefaultIncludeSpec)\n    return true;\n  const isJsonFile = fileExtensionIs(fileName, \".json\" /* Json */);\n  const basePath = getDirectoryPath(getNormalizedAbsolutePath(configFile.fileName, program.getCurrentDirectory()));\n  const useCaseSensitiveFileNames = program.useCaseSensitiveFileNames();\n  return find((_b = configFile == null ? void 0 : configFile.configFileSpecs) == null ? void 0 : _b.validatedIncludeSpecs, (includeSpec) => {\n    if (isJsonFile && !endsWith(includeSpec, \".json\" /* Json */))\n      return false;\n    const pattern = getPatternFromSpec(includeSpec, basePath, \"files\");\n    return !!pattern && getRegexFromPattern(`(${pattern})$`, useCaseSensitiveFileNames).test(fileName);\n  });\n}\nfunction fileIncludeReasonToDiagnostics(program, reason, fileNameConvertor) {\n  var _a2, _b;\n  const options = program.getCompilerOptions();\n  if (isReferencedFile(reason)) {\n    const referenceLocation = getReferencedFileLocation((path) => program.getSourceFileByPath(path), reason);\n    const referenceText = isReferenceFileLocation(referenceLocation) ? referenceLocation.file.text.substring(referenceLocation.pos, referenceLocation.end) : `\"${referenceLocation.text}\"`;\n    let message;\n    Debug.assert(isReferenceFileLocation(referenceLocation) || reason.kind === 3 /* Import */, \"Only synthetic references are imports\");\n    switch (reason.kind) {\n      case 3 /* Import */:\n        if (isReferenceFileLocation(referenceLocation)) {\n          message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2 : Diagnostics.Imported_via_0_from_file_1;\n        } else if (referenceLocation.text === externalHelpersModuleNameText) {\n          message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions : Diagnostics.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions;\n        } else {\n          message = referenceLocation.packageId ? Diagnostics.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions : Diagnostics.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;\n        }\n        break;\n      case 4 /* ReferenceFile */:\n        Debug.assert(!referenceLocation.packageId);\n        message = Diagnostics.Referenced_via_0_from_file_1;\n        break;\n      case 5 /* TypeReferenceDirective */:\n        message = referenceLocation.packageId ? Diagnostics.Type_library_referenced_via_0_from_file_1_with_packageId_2 : Diagnostics.Type_library_referenced_via_0_from_file_1;\n        break;\n      case 7 /* LibReferenceDirective */:\n        Debug.assert(!referenceLocation.packageId);\n        message = Diagnostics.Library_referenced_via_0_from_file_1;\n        break;\n      default:\n        Debug.assertNever(reason);\n    }\n    return chainDiagnosticMessages(\n      void 0,\n      message,\n      referenceText,\n      toFileName(referenceLocation.file, fileNameConvertor),\n      referenceLocation.packageId && packageIdToString(referenceLocation.packageId)\n    );\n  }\n  switch (reason.kind) {\n    case 0 /* RootFile */:\n      if (!((_a2 = options.configFile) == null ? void 0 : _a2.configFileSpecs))\n        return chainDiagnosticMessages(void 0, Diagnostics.Root_file_specified_for_compilation);\n      const fileName = getNormalizedAbsolutePath(program.getRootFileNames()[reason.index], program.getCurrentDirectory());\n      const matchedByFiles = getMatchedFileSpec(program, fileName);\n      if (matchedByFiles)\n        return chainDiagnosticMessages(void 0, Diagnostics.Part_of_files_list_in_tsconfig_json);\n      const matchedByInclude = getMatchedIncludeSpec(program, fileName);\n      return isString(matchedByInclude) ? chainDiagnosticMessages(\n        void 0,\n        Diagnostics.Matched_by_include_pattern_0_in_1,\n        matchedByInclude,\n        toFileName(options.configFile, fileNameConvertor)\n      ) : chainDiagnosticMessages(\n        void 0,\n        matchedByInclude ? Diagnostics.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk : Diagnostics.Root_file_specified_for_compilation\n      );\n    case 1 /* SourceFromProjectReference */:\n    case 2 /* OutputFromProjectReference */:\n      const isOutput = reason.kind === 2 /* OutputFromProjectReference */;\n      const referencedResolvedRef = Debug.checkDefined((_b = program.getResolvedProjectReferences()) == null ? void 0 : _b[reason.index]);\n      return chainDiagnosticMessages(\n        void 0,\n        outFile(options) ? isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_1_specified : Diagnostics.Source_from_referenced_project_0_included_because_1_specified : isOutput ? Diagnostics.Output_from_referenced_project_0_included_because_module_is_specified_as_none : Diagnostics.Source_from_referenced_project_0_included_because_module_is_specified_as_none,\n        toFileName(referencedResolvedRef.sourceFile.fileName, fileNameConvertor),\n        options.outFile ? \"--outFile\" : \"--out\"\n      );\n    case 8 /* AutomaticTypeDirectiveFile */:\n      return chainDiagnosticMessages(\n        void 0,\n        options.types ? reason.packageId ? Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1 : Diagnostics.Entry_point_of_type_library_0_specified_in_compilerOptions : reason.packageId ? Diagnostics.Entry_point_for_implicit_type_library_0_with_packageId_1 : Diagnostics.Entry_point_for_implicit_type_library_0,\n        reason.typeReference,\n        reason.packageId && packageIdToString(reason.packageId)\n      );\n    case 6 /* LibFile */:\n      if (reason.index !== void 0)\n        return chainDiagnosticMessages(void 0, Diagnostics.Library_0_specified_in_compilerOptions, options.lib[reason.index]);\n      const target = forEachEntry(targetOptionDeclaration.type, (value, key) => value === getEmitScriptTarget(options) ? key : void 0);\n      return chainDiagnosticMessages(\n        void 0,\n        target ? Diagnostics.Default_library_for_target_0 : Diagnostics.Default_library,\n        target\n      );\n    default:\n      Debug.assertNever(reason);\n  }\n}\nfunction toFileName(file, fileNameConvertor) {\n  const fileName = isString(file) ? file : file.fileName;\n  return fileNameConvertor ? fileNameConvertor(fileName) : fileName;\n}\nfunction emitFilesAndReportErrors(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n  const isListFilesOnly = !!program.getCompilerOptions().listFilesOnly;\n  const allDiagnostics = program.getConfigFileParsingDiagnostics().slice();\n  const configFileParsingDiagnosticsLength = allDiagnostics.length;\n  addRange(allDiagnostics, program.getSyntacticDiagnostics(void 0, cancellationToken));\n  if (allDiagnostics.length === configFileParsingDiagnosticsLength) {\n    addRange(allDiagnostics, program.getOptionsDiagnostics(cancellationToken));\n    if (!isListFilesOnly) {\n      addRange(allDiagnostics, program.getGlobalDiagnostics(cancellationToken));\n      if (allDiagnostics.length === configFileParsingDiagnosticsLength) {\n        addRange(allDiagnostics, program.getSemanticDiagnostics(void 0, cancellationToken));\n      }\n    }\n  }\n  const emitResult = isListFilesOnly ? { emitSkipped: true, diagnostics: emptyArray } : program.emit(void 0, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers);\n  const { emittedFiles, diagnostics: emitDiagnostics } = emitResult;\n  addRange(allDiagnostics, emitDiagnostics);\n  const diagnostics = sortAndDeduplicateDiagnostics(allDiagnostics);\n  diagnostics.forEach(reportDiagnostic);\n  if (write) {\n    const currentDir = program.getCurrentDirectory();\n    forEach(emittedFiles, (file) => {\n      const filepath = getNormalizedAbsolutePath(file, currentDir);\n      write(`TSFILE: ${filepath}`);\n    });\n    listFiles(program, write);\n  }\n  if (reportSummary) {\n    reportSummary(getErrorCountForSummary(diagnostics), getFilesInErrorForSummary(diagnostics));\n  }\n  return {\n    emitResult,\n    diagnostics\n  };\n}\nfunction emitFilesAndReportErrorsAndGetExitStatus(program, reportDiagnostic, write, reportSummary, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) {\n  const { emitResult, diagnostics } = emitFilesAndReportErrors(\n    program,\n    reportDiagnostic,\n    write,\n    reportSummary,\n    writeFile2,\n    cancellationToken,\n    emitOnlyDtsFiles,\n    customTransformers\n  );\n  if (emitResult.emitSkipped && diagnostics.length > 0) {\n    return 1 /* DiagnosticsPresent_OutputsSkipped */;\n  } else if (diagnostics.length > 0) {\n    return 2 /* DiagnosticsPresent_OutputsGenerated */;\n  }\n  return 0 /* Success */;\n}\nvar noopFileWatcher = { close: noop };\nvar returnNoopFileWatcher = () => noopFileWatcher;\nfunction createWatchHost(system = sys, reportWatchStatus2) {\n  const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter(system);\n  return {\n    onWatchStatusChange,\n    watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher,\n    watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher,\n    setTimeout: maybeBind(system, system.setTimeout) || noop,\n    clearTimeout: maybeBind(system, system.clearTimeout) || noop\n  };\n}\nvar WatchType = {\n  ConfigFile: \"Config file\",\n  ExtendedConfigFile: \"Extended config file\",\n  SourceFile: \"Source file\",\n  MissingFile: \"Missing file\",\n  WildcardDirectory: \"Wild card directory\",\n  FailedLookupLocations: \"Failed Lookup Locations\",\n  AffectingFileLocation: \"File location affecting resolution\",\n  TypeRoots: \"Type roots\",\n  ConfigFileOfReferencedProject: \"Config file of referened project\",\n  ExtendedConfigOfReferencedProject: \"Extended config file of referenced project\",\n  WildcardDirectoryOfReferencedProject: \"Wild card directory of referenced project\",\n  PackageJson: \"package.json file\",\n  ClosedScriptInfo: \"Closed Script info\",\n  ConfigFileForInferredRoot: \"Config file for the inferred project root\",\n  NodeModules: \"node_modules for closed script infos and package.jsons affecting module specifier cache\",\n  MissingSourceMapFile: \"Missing source map file\",\n  NoopConfigFileForInferredRoot: \"Noop Config file for the inferred project root\",\n  MissingGeneratedFile: \"Missing generated file\",\n  NodeModulesForModuleSpecifierCache: \"node_modules for module specifier cache invalidation\"\n};\nfunction createWatchFactory(host, options) {\n  const watchLogLevel = host.trace ? options.extendedDiagnostics ? 2 /* Verbose */ : options.diagnostics ? 1 /* TriggerOnly */ : 0 /* None */ : 0 /* None */;\n  const writeLog = watchLogLevel !== 0 /* None */ ? (s) => host.trace(s) : noop;\n  const result = getWatchFactory(host, watchLogLevel, writeLog);\n  result.writeLog = writeLog;\n  return result;\n}\nfunction createCompilerHostFromProgramHost(host, getCompilerOptions, directoryStructureHost = host) {\n  const useCaseSensitiveFileNames = host.useCaseSensitiveFileNames();\n  const hostGetNewLine = memoize(() => host.getNewLine());\n  const compilerHost = {\n    getSourceFile: (fileName, languageVersionOrOptions, onError) => {\n      const options = getCompilerOptions();\n      let text;\n      try {\n        performance.mark(\"beforeIORead\");\n        const encoding = getCompilerOptions().charset;\n        text = !encoding ? compilerHost.readFile(fileName) : host.readFile(fileName, encoding);\n        performance.mark(\"afterIORead\");\n        performance.measure(\"I/O Read\", \"beforeIORead\", \"afterIORead\");\n      } catch (e) {\n        if (onError) {\n          onError(e.message);\n        }\n        text = \"\";\n      }\n      return text !== void 0 ? createSourceFile(fileName, text, languageVersionOrOptions, void 0, void 0, options) : void 0;\n    },\n    getDefaultLibLocation: maybeBind(host, host.getDefaultLibLocation),\n    getDefaultLibFileName: (options) => host.getDefaultLibFileName(options),\n    writeFile: writeFile2,\n    getCurrentDirectory: memoize(() => host.getCurrentDirectory()),\n    useCaseSensitiveFileNames: () => useCaseSensitiveFileNames,\n    getCanonicalFileName: createGetCanonicalFileName(useCaseSensitiveFileNames),\n    getNewLine: () => getNewLineCharacter(getCompilerOptions(), hostGetNewLine),\n    fileExists: (f) => host.fileExists(f),\n    readFile: (f) => host.readFile(f),\n    trace: maybeBind(host, host.trace),\n    directoryExists: maybeBind(directoryStructureHost, directoryStructureHost.directoryExists),\n    getDirectories: maybeBind(directoryStructureHost, directoryStructureHost.getDirectories),\n    realpath: maybeBind(host, host.realpath),\n    getEnvironmentVariable: maybeBind(host, host.getEnvironmentVariable) || (() => \"\"),\n    createHash: maybeBind(host, host.createHash),\n    readDirectory: maybeBind(host, host.readDirectory),\n    disableUseFileVersionAsSignature: host.disableUseFileVersionAsSignature,\n    storeFilesChangingSignatureDuringEmit: host.storeFilesChangingSignatureDuringEmit\n  };\n  return compilerHost;\n  function writeFile2(fileName, text, writeByteOrderMark, onError) {\n    try {\n      performance.mark(\"beforeIOWrite\");\n      writeFileEnsuringDirectories(\n        fileName,\n        text,\n        writeByteOrderMark,\n        (path, data, writeByteOrderMark2) => host.writeFile(path, data, writeByteOrderMark2),\n        (path) => host.createDirectory(path),\n        (path) => host.directoryExists(path)\n      );\n      performance.mark(\"afterIOWrite\");\n      performance.measure(\"I/O Write\", \"beforeIOWrite\", \"afterIOWrite\");\n    } catch (e) {\n      if (onError) {\n        onError(e.message);\n      }\n    }\n  }\n}\nfunction setGetSourceFileAsHashVersioned(compilerHost) {\n  const originalGetSourceFile = compilerHost.getSourceFile;\n  const computeHash = maybeBind(compilerHost, compilerHost.createHash) || generateDjb2Hash;\n  compilerHost.getSourceFile = (...args) => {\n    const result = originalGetSourceFile.call(compilerHost, ...args);\n    if (result) {\n      result.version = computeHash(result.text);\n    }\n    return result;\n  };\n}\nfunction createProgramHost(system, createProgram2) {\n  const getDefaultLibLocation = memoize(() => getDirectoryPath(normalizePath(system.getExecutingFilePath())));\n  return {\n    useCaseSensitiveFileNames: () => system.useCaseSensitiveFileNames,\n    getNewLine: () => system.newLine,\n    getCurrentDirectory: memoize(() => system.getCurrentDirectory()),\n    getDefaultLibLocation,\n    getDefaultLibFileName: (options) => combinePaths(getDefaultLibLocation(), getDefaultLibFileName(options)),\n    fileExists: (path) => system.fileExists(path),\n    readFile: (path, encoding) => system.readFile(path, encoding),\n    directoryExists: (path) => system.directoryExists(path),\n    getDirectories: (path) => system.getDirectories(path),\n    readDirectory: (path, extensions, exclude, include, depth) => system.readDirectory(path, extensions, exclude, include, depth),\n    realpath: maybeBind(system, system.realpath),\n    getEnvironmentVariable: maybeBind(system, system.getEnvironmentVariable),\n    trace: (s) => system.write(s + system.newLine),\n    createDirectory: (path) => system.createDirectory(path),\n    writeFile: (path, data, writeByteOrderMark) => system.writeFile(path, data, writeByteOrderMark),\n    createHash: maybeBind(system, system.createHash),\n    createProgram: createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram,\n    disableUseFileVersionAsSignature: system.disableUseFileVersionAsSignature,\n    storeFilesChangingSignatureDuringEmit: system.storeFilesChangingSignatureDuringEmit,\n    now: maybeBind(system, system.now)\n  };\n}\nfunction createWatchCompilerHost(system = sys, createProgram2, reportDiagnostic, reportWatchStatus2) {\n  const write = (s) => system.write(s + system.newLine);\n  const result = createProgramHost(system, createProgram2);\n  copyProperties(result, createWatchHost(system, reportWatchStatus2));\n  result.afterProgramCreate = (builderProgram) => {\n    const compilerOptions = builderProgram.getCompilerOptions();\n    const newLine = getNewLineCharacter(compilerOptions, () => system.newLine);\n    emitFilesAndReportErrors(\n      builderProgram,\n      reportDiagnostic,\n      write,\n      (errorCount) => result.onWatchStatusChange(\n        createCompilerDiagnostic(getWatchErrorSummaryDiagnosticMessage(errorCount), errorCount),\n        newLine,\n        compilerOptions,\n        errorCount\n      )\n    );\n  };\n  return result;\n}\nfunction reportUnrecoverableDiagnostic(system, reportDiagnostic, diagnostic) {\n  reportDiagnostic(diagnostic);\n  system.exit(1 /* DiagnosticsPresent_OutputsSkipped */);\n}\nfunction createWatchCompilerHostOfConfigFile({\n  configFileName,\n  optionsToExtend,\n  watchOptionsToExtend,\n  extraFileExtensions,\n  system,\n  createProgram: createProgram2,\n  reportDiagnostic,\n  reportWatchStatus: reportWatchStatus2\n}) {\n  const diagnosticReporter = reportDiagnostic || createDiagnosticReporter(system);\n  const host = createWatchCompilerHost(system, createProgram2, diagnosticReporter, reportWatchStatus2);\n  host.onUnRecoverableConfigFileDiagnostic = (diagnostic) => reportUnrecoverableDiagnostic(system, diagnosticReporter, diagnostic);\n  host.configFileName = configFileName;\n  host.optionsToExtend = optionsToExtend;\n  host.watchOptionsToExtend = watchOptionsToExtend;\n  host.extraFileExtensions = extraFileExtensions;\n  return host;\n}\nfunction createWatchCompilerHostOfFilesAndCompilerOptions({\n  rootFiles,\n  options,\n  watchOptions,\n  projectReferences,\n  system,\n  createProgram: createProgram2,\n  reportDiagnostic,\n  reportWatchStatus: reportWatchStatus2\n}) {\n  const host = createWatchCompilerHost(system, createProgram2, reportDiagnostic || createDiagnosticReporter(system), reportWatchStatus2);\n  host.rootFiles = rootFiles;\n  host.options = options;\n  host.watchOptions = watchOptions;\n  host.projectReferences = projectReferences;\n  return host;\n}\nfunction performIncrementalCompilation(input) {\n  const system = input.system || sys;\n  const host = input.host || (input.host = createIncrementalCompilerHost(input.options, system));\n  const builderProgram = createIncrementalProgram(input);\n  const exitStatus = emitFilesAndReportErrorsAndGetExitStatus(\n    builderProgram,\n    input.reportDiagnostic || createDiagnosticReporter(system),\n    (s) => host.trace && host.trace(s),\n    input.reportErrorSummary || input.options.pretty ? (errorCount, filesInError) => system.write(getErrorSummaryText(errorCount, filesInError, system.newLine, host)) : void 0\n  );\n  if (input.afterProgramEmitAndDiagnostics)\n    input.afterProgramEmitAndDiagnostics(builderProgram);\n  return exitStatus;\n}\n\n// src/compiler/watchPublic.ts\nfunction readBuilderProgram(compilerOptions, host, isForLinter) {\n  let buildInfoPath = getTsBuildInfoEmitOutputFilePath(compilerOptions);\n  if (!buildInfoPath)\n    return void 0;\n  if (isForLinter) {\n    buildInfoPath = getTsBuildInfoEmitOutputFilePathForLinter(buildInfoPath);\n  }\n  let buildInfo;\n  if (host.getBuildInfo) {\n    buildInfo = host.getBuildInfo(buildInfoPath, compilerOptions.configFilePath);\n  } else {\n    const content = host.readFile(buildInfoPath);\n    if (!content)\n      return void 0;\n    buildInfo = getBuildInfo(buildInfoPath, content);\n  }\n  if (!buildInfo || buildInfo.version !== version || !buildInfo.program)\n    return void 0;\n  return createBuilderProgramUsingProgramBuildInfo(buildInfo.program, buildInfoPath, host);\n}\nfunction createIncrementalCompilerHost(options, system = sys) {\n  const host = createCompilerHostWorker(options, void 0, system);\n  host.createHash = maybeBind(system, system.createHash);\n  host.disableUseFileVersionAsSignature = system.disableUseFileVersionAsSignature;\n  host.storeFilesChangingSignatureDuringEmit = system.storeFilesChangingSignatureDuringEmit;\n  setGetSourceFileAsHashVersioned(host);\n  changeCompilerHostLikeToUseCache(host, (fileName) => toPath(fileName, host.getCurrentDirectory(), host.getCanonicalFileName));\n  return host;\n}\nfunction createIncrementalProgram({\n  rootNames,\n  options,\n  configFileParsingDiagnostics,\n  projectReferences,\n  host,\n  createProgram: createProgram2\n}) {\n  host = host || createIncrementalCompilerHost(options);\n  createProgram2 = createProgram2 || createEmitAndSemanticDiagnosticsBuilderProgram;\n  const oldProgram = readBuilderProgram(options, host);\n  return createProgram2(rootNames, options, host, oldProgram, configFileParsingDiagnostics, projectReferences);\n}\nfunction createIncrementalProgramForArkTs({\n  rootNames,\n  options,\n  configFileParsingDiagnostics,\n  projectReferences,\n  host\n}) {\n  host = host || createIncrementalCompilerHost(options);\n  const oldProgram = readBuilderProgram(options, host);\n  return createEmitAndSemanticDiagnosticsBuilderProgramForArkTs(\n    rootNames,\n    options,\n    host,\n    oldProgram,\n    configFileParsingDiagnostics,\n    projectReferences\n  );\n}\nfunction createWatchCompilerHost2(rootFilesOrConfigFileName, options, system, createProgram2, reportDiagnostic, reportWatchStatus2, projectReferencesOrWatchOptionsToExtend, watchOptionsOrExtraFileExtensions) {\n  if (isArray(rootFilesOrConfigFileName)) {\n    return createWatchCompilerHostOfFilesAndCompilerOptions({\n      rootFiles: rootFilesOrConfigFileName,\n      options,\n      watchOptions: watchOptionsOrExtraFileExtensions,\n      projectReferences: projectReferencesOrWatchOptionsToExtend,\n      system,\n      createProgram: createProgram2,\n      reportDiagnostic,\n      reportWatchStatus: reportWatchStatus2\n    });\n  } else {\n    return createWatchCompilerHostOfConfigFile({\n      configFileName: rootFilesOrConfigFileName,\n      optionsToExtend: options,\n      watchOptionsToExtend: projectReferencesOrWatchOptionsToExtend,\n      extraFileExtensions: watchOptionsOrExtraFileExtensions,\n      system,\n      createProgram: createProgram2,\n      reportDiagnostic,\n      reportWatchStatus: reportWatchStatus2\n    });\n  }\n}\nfunction createWatchProgram(host) {\n  let builderProgram;\n  let reloadLevel;\n  let missingFilesMap;\n  let watchedWildcardDirectories;\n  let timerToUpdateProgram;\n  let timerToInvalidateFailedLookupResolutions;\n  let parsedConfigs;\n  let sharedExtendedConfigFileWatchers;\n  let extendedConfigCache = host.extendedConfigCache;\n  let reportFileChangeDetectedOnCreateProgram = false;\n  const sourceFilesCache = new Map2();\n  let missingFilePathsRequestedForRelease;\n  let hasChangedCompilerOptions = false;\n  const useCaseSensitiveFileNames = host.useCaseSensitiveFileNames();\n  const currentDirectory = host.getCurrentDirectory();\n  const { configFileName, optionsToExtend: optionsToExtendForConfigFile = {}, watchOptionsToExtend, extraFileExtensions, createProgram: createProgram2 } = host;\n  let { rootFiles: rootFileNames, options: compilerOptions, watchOptions, projectReferences } = host;\n  let wildcardDirectories;\n  let configFileParsingDiagnostics;\n  let canConfigFileJsonReportNoInputFiles = false;\n  let hasChangedConfigFileParsingErrors = false;\n  const cachedDirectoryStructureHost = configFileName === void 0 ? void 0 : createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames);\n  const directoryStructureHost = cachedDirectoryStructureHost || host;\n  const parseConfigFileHost = parseConfigHostFromCompilerHostLike(host, directoryStructureHost);\n  let newLine = updateNewLine();\n  if (configFileName && host.configFileParsingResult) {\n    setConfigFileParsingResult(host.configFileParsingResult);\n    newLine = updateNewLine();\n  }\n  reportWatchDiagnostic(Diagnostics.Starting_compilation_in_watch_mode);\n  if (configFileName && !host.configFileParsingResult) {\n    newLine = getNewLineCharacter(optionsToExtendForConfigFile, () => host.getNewLine());\n    Debug.assert(!rootFileNames);\n    parseConfigFile2();\n    newLine = updateNewLine();\n  }\n  const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(host, compilerOptions);\n  const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  writeLog(`Current directory: ${currentDirectory} CaseSensitiveFileNames: ${useCaseSensitiveFileNames}`);\n  let configFileWatcher;\n  if (configFileName) {\n    configFileWatcher = watchFile2(configFileName, scheduleProgramReload, 2e3 /* High */, watchOptions, WatchType.ConfigFile);\n  }\n  const compilerHost = createCompilerHostFromProgramHost(host, () => compilerOptions, directoryStructureHost);\n  setGetSourceFileAsHashVersioned(compilerHost);\n  const getNewSourceFile = compilerHost.getSourceFile;\n  compilerHost.getSourceFile = (fileName, ...args) => getVersionedSourceFileByPath(fileName, toPath3(fileName), ...args);\n  compilerHost.getSourceFileByPath = getVersionedSourceFileByPath;\n  compilerHost.getNewLine = () => newLine;\n  compilerHost.fileExists = fileExists;\n  compilerHost.onReleaseOldSourceFile = onReleaseOldSourceFile;\n  compilerHost.onReleaseParsedCommandLine = onReleaseParsedCommandLine;\n  compilerHost.toPath = toPath3;\n  compilerHost.getCompilationSettings = () => compilerOptions;\n  compilerHost.useSourceOfProjectReferenceRedirect = maybeBind(host, host.useSourceOfProjectReferenceRedirect);\n  compilerHost.watchDirectoryOfFailedLookupLocation = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.FailedLookupLocations);\n  compilerHost.watchAffectingFileLocation = (file, cb) => watchFile2(file, cb, 2e3 /* High */, watchOptions, WatchType.AffectingFileLocation);\n  compilerHost.watchTypeRootsDirectory = (dir, cb, flags) => watchDirectory(dir, cb, flags, watchOptions, WatchType.TypeRoots);\n  compilerHost.getCachedDirectoryStructureHost = () => cachedDirectoryStructureHost;\n  compilerHost.scheduleInvalidateResolutionsOfFailedLookupLocations = scheduleInvalidateResolutionsOfFailedLookupLocations;\n  compilerHost.onInvalidatedResolution = scheduleProgramUpdate;\n  compilerHost.onChangedAutomaticTypeDirectiveNames = scheduleProgramUpdate;\n  compilerHost.fileIsOpen = returnFalse;\n  compilerHost.getCurrentProgram = getCurrentProgram;\n  compilerHost.writeLog = writeLog;\n  compilerHost.getParsedCommandLine = getParsedCommandLine;\n  const resolutionCache = createResolutionCache(\n    compilerHost,\n    configFileName ? getDirectoryPath(getNormalizedAbsolutePath(configFileName, currentDirectory)) : currentDirectory,\n    false\n  );\n  compilerHost.resolveModuleNames = host.resolveModuleNames ? (...args) => host.resolveModuleNames(...args) : (moduleNames, containingFile, reusedNames, redirectedReference, _options, sourceFile) => resolutionCache.resolveModuleNames(moduleNames, containingFile, reusedNames, redirectedReference, sourceFile);\n  compilerHost.resolveTypeReferenceDirectives = host.resolveTypeReferenceDirectives ? (...args) => host.resolveTypeReferenceDirectives(...args) : (typeDirectiveNames, containingFile, redirectedReference, _options, containingFileMode) => resolutionCache.resolveTypeReferenceDirectives(typeDirectiveNames, containingFile, redirectedReference, containingFileMode);\n  compilerHost.getModuleResolutionCache = host.resolveModuleNames ? maybeBind(host, host.getModuleResolutionCache) : () => resolutionCache.getModuleResolutionCache();\n  const userProvidedResolution = !!host.resolveModuleNames || !!host.resolveTypeReferenceDirectives;\n  const customHasInvalidatedResolutions = userProvidedResolution ? maybeBind(host, host.hasInvalidatedResolutions) || returnTrue : returnFalse;\n  builderProgram = readBuilderProgram(compilerOptions, compilerHost);\n  synchronizeProgram();\n  watchConfigFileWildCardDirectories();\n  if (configFileName)\n    updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile);\n  return configFileName ? { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, close } : { getCurrentProgram: getCurrentBuilderProgram, getProgram: updateProgram, updateRootFileNames, close };\n  function close() {\n    clearInvalidateResolutionsOfFailedLookupLocations();\n    resolutionCache.clear();\n    clearMap(sourceFilesCache, (value) => {\n      if (value && value.fileWatcher) {\n        value.fileWatcher.close();\n        value.fileWatcher = void 0;\n      }\n    });\n    if (configFileWatcher) {\n      configFileWatcher.close();\n      configFileWatcher = void 0;\n    }\n    extendedConfigCache == null ? void 0 : extendedConfigCache.clear();\n    extendedConfigCache = void 0;\n    if (sharedExtendedConfigFileWatchers) {\n      clearMap(sharedExtendedConfigFileWatchers, closeFileWatcherOf);\n      sharedExtendedConfigFileWatchers = void 0;\n    }\n    if (watchedWildcardDirectories) {\n      clearMap(watchedWildcardDirectories, closeFileWatcherOf);\n      watchedWildcardDirectories = void 0;\n    }\n    if (missingFilesMap) {\n      clearMap(missingFilesMap, closeFileWatcher);\n      missingFilesMap = void 0;\n    }\n    if (parsedConfigs) {\n      clearMap(parsedConfigs, (config) => {\n        var _a2;\n        (_a2 = config.watcher) == null ? void 0 : _a2.close();\n        config.watcher = void 0;\n        if (config.watchedDirectories)\n          clearMap(config.watchedDirectories, closeFileWatcherOf);\n        config.watchedDirectories = void 0;\n      });\n      parsedConfigs = void 0;\n    }\n  }\n  function getCurrentBuilderProgram() {\n    return builderProgram;\n  }\n  function getCurrentProgram() {\n    return builderProgram && builderProgram.getProgramOrUndefined();\n  }\n  function synchronizeProgram() {\n    writeLog(`Synchronizing program`);\n    clearInvalidateResolutionsOfFailedLookupLocations();\n    const program = getCurrentBuilderProgram();\n    if (hasChangedCompilerOptions) {\n      newLine = updateNewLine();\n      if (program && changesAffectModuleResolution(program.getCompilerOptions(), compilerOptions)) {\n        resolutionCache.clear();\n      }\n    }\n    const hasInvalidatedResolutions = resolutionCache.createHasInvalidatedResolutions(customHasInvalidatedResolutions);\n    const {\n      originalReadFile,\n      originalFileExists,\n      originalDirectoryExists,\n      originalCreateDirectory,\n      originalWriteFile,\n      readFileWithCache\n    } = changeCompilerHostLikeToUseCache(compilerHost, toPath3);\n    if (isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, (path) => getSourceVersion(path, readFileWithCache), (fileName) => compilerHost.fileExists(fileName), hasInvalidatedResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {\n      if (hasChangedConfigFileParsingErrors) {\n        if (reportFileChangeDetectedOnCreateProgram) {\n          reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);\n        }\n        builderProgram = createProgram2(void 0, void 0, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences);\n        hasChangedConfigFileParsingErrors = false;\n      }\n    } else {\n      if (reportFileChangeDetectedOnCreateProgram) {\n        reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);\n      }\n      createNewProgram(hasInvalidatedResolutions);\n    }\n    reportFileChangeDetectedOnCreateProgram = false;\n    if (host.afterProgramCreate && program !== builderProgram) {\n      host.afterProgramCreate(builderProgram);\n    }\n    compilerHost.readFile = originalReadFile;\n    compilerHost.fileExists = originalFileExists;\n    compilerHost.directoryExists = originalDirectoryExists;\n    compilerHost.createDirectory = originalCreateDirectory;\n    compilerHost.writeFile = originalWriteFile;\n    return builderProgram;\n  }\n  function createNewProgram(hasInvalidatedResolutions) {\n    writeLog(\"CreatingProgramWith::\");\n    writeLog(`  roots: ${JSON.stringify(rootFileNames)}`);\n    writeLog(`  options: ${JSON.stringify(compilerOptions)}`);\n    if (projectReferences)\n      writeLog(`  projectReferences: ${JSON.stringify(projectReferences)}`);\n    const needsUpdateInTypeRootWatch = hasChangedCompilerOptions || !getCurrentProgram();\n    hasChangedCompilerOptions = false;\n    hasChangedConfigFileParsingErrors = false;\n    resolutionCache.startCachingPerDirectoryResolution();\n    compilerHost.hasInvalidatedResolutions = hasInvalidatedResolutions;\n    compilerHost.hasChangedAutomaticTypeDirectiveNames = hasChangedAutomaticTypeDirectiveNames;\n    const oldProgram = getCurrentProgram();\n    builderProgram = createProgram2(rootFileNames, compilerOptions, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences);\n    resolutionCache.finishCachingPerDirectoryResolution(builderProgram.getProgram(), oldProgram);\n    updateMissingFilePathsWatch(builderProgram.getProgram(), missingFilesMap || (missingFilesMap = new Map2()), watchMissingFilePath);\n    if (needsUpdateInTypeRootWatch) {\n      resolutionCache.updateTypeRootsWatch();\n    }\n    if (missingFilePathsRequestedForRelease) {\n      for (const missingFilePath of missingFilePathsRequestedForRelease) {\n        if (!missingFilesMap.has(missingFilePath)) {\n          sourceFilesCache.delete(missingFilePath);\n        }\n      }\n      missingFilePathsRequestedForRelease = void 0;\n    }\n  }\n  function updateRootFileNames(files) {\n    Debug.assert(!configFileName, \"Cannot update root file names with config file watch mode\");\n    rootFileNames = files;\n    scheduleProgramUpdate();\n  }\n  function updateNewLine() {\n    return getNewLineCharacter(compilerOptions || optionsToExtendForConfigFile, () => host.getNewLine());\n  }\n  function toPath3(fileName) {\n    return toPath(fileName, currentDirectory, getCanonicalFileName);\n  }\n  function isFileMissingOnHost(hostSourceFile) {\n    return typeof hostSourceFile === \"boolean\";\n  }\n  function isFilePresenceUnknownOnHost(hostSourceFile) {\n    return typeof hostSourceFile.version === \"boolean\";\n  }\n  function fileExists(fileName) {\n    const path = toPath3(fileName);\n    if (isFileMissingOnHost(sourceFilesCache.get(path))) {\n      return false;\n    }\n    return directoryStructureHost.fileExists(fileName);\n  }\n  function getVersionedSourceFileByPath(fileName, path, languageVersionOrOptions, onError, shouldCreateNewSourceFile, _options) {\n    const hostSourceFile = sourceFilesCache.get(path);\n    if (isFileMissingOnHost(hostSourceFile)) {\n      return void 0;\n    }\n    if (hostSourceFile === void 0 || shouldCreateNewSourceFile || isFilePresenceUnknownOnHost(hostSourceFile)) {\n      const sourceFile = getNewSourceFile(fileName, languageVersionOrOptions, onError);\n      if (hostSourceFile) {\n        if (sourceFile) {\n          hostSourceFile.sourceFile = sourceFile;\n          hostSourceFile.version = sourceFile.version;\n          if (!hostSourceFile.fileWatcher) {\n            hostSourceFile.fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250 /* Low */, watchOptions, WatchType.SourceFile);\n          }\n        } else {\n          if (hostSourceFile.fileWatcher) {\n            hostSourceFile.fileWatcher.close();\n          }\n          sourceFilesCache.set(path, false);\n        }\n      } else {\n        if (sourceFile) {\n          const fileWatcher = watchFilePath(path, fileName, onSourceFileChange, 250 /* Low */, watchOptions, WatchType.SourceFile);\n          sourceFilesCache.set(path, { sourceFile, version: sourceFile.version, fileWatcher });\n        } else {\n          sourceFilesCache.set(path, false);\n        }\n      }\n      return sourceFile;\n    }\n    return hostSourceFile.sourceFile;\n  }\n  function nextSourceFileVersion(path) {\n    const hostSourceFile = sourceFilesCache.get(path);\n    if (hostSourceFile !== void 0) {\n      if (isFileMissingOnHost(hostSourceFile)) {\n        sourceFilesCache.set(path, { version: false });\n      } else {\n        hostSourceFile.version = false;\n      }\n    }\n  }\n  function getSourceVersion(path, readFileWithCache) {\n    const hostSourceFile = sourceFilesCache.get(path);\n    if (!hostSourceFile)\n      return void 0;\n    if (hostSourceFile.version)\n      return hostSourceFile.version;\n    const text = readFileWithCache(path);\n    return text !== void 0 ? (compilerHost.createHash || generateDjb2Hash)(text) : void 0;\n  }\n  function onReleaseOldSourceFile(oldSourceFile, _oldOptions, hasSourceFileByPath) {\n    const hostSourceFileInfo = sourceFilesCache.get(oldSourceFile.resolvedPath);\n    if (hostSourceFileInfo !== void 0) {\n      if (isFileMissingOnHost(hostSourceFileInfo)) {\n        (missingFilePathsRequestedForRelease || (missingFilePathsRequestedForRelease = [])).push(oldSourceFile.path);\n      } else if (hostSourceFileInfo.sourceFile === oldSourceFile) {\n        if (hostSourceFileInfo.fileWatcher) {\n          hostSourceFileInfo.fileWatcher.close();\n        }\n        sourceFilesCache.delete(oldSourceFile.resolvedPath);\n        if (!hasSourceFileByPath) {\n          resolutionCache.removeResolutionsOfFile(oldSourceFile.path);\n        }\n      }\n    }\n  }\n  function reportWatchDiagnostic(message) {\n    if (host.onWatchStatusChange) {\n      host.onWatchStatusChange(createCompilerDiagnostic(message), newLine, compilerOptions || optionsToExtendForConfigFile);\n    }\n  }\n  function hasChangedAutomaticTypeDirectiveNames() {\n    return resolutionCache.hasChangedAutomaticTypeDirectiveNames();\n  }\n  function clearInvalidateResolutionsOfFailedLookupLocations() {\n    if (!timerToInvalidateFailedLookupResolutions)\n      return false;\n    host.clearTimeout(timerToInvalidateFailedLookupResolutions);\n    timerToInvalidateFailedLookupResolutions = void 0;\n    return true;\n  }\n  function scheduleInvalidateResolutionsOfFailedLookupLocations() {\n    if (!host.setTimeout || !host.clearTimeout) {\n      return resolutionCache.invalidateResolutionsOfFailedLookupLocations();\n    }\n    const pending = clearInvalidateResolutionsOfFailedLookupLocations();\n    writeLog(`Scheduling invalidateFailedLookup${pending ? \", Cancelled earlier one\" : \"\"}`);\n    timerToInvalidateFailedLookupResolutions = host.setTimeout(invalidateResolutionsOfFailedLookup, 250);\n  }\n  function invalidateResolutionsOfFailedLookup() {\n    timerToInvalidateFailedLookupResolutions = void 0;\n    if (resolutionCache.invalidateResolutionsOfFailedLookupLocations()) {\n      scheduleProgramUpdate();\n    }\n  }\n  function scheduleProgramUpdate() {\n    if (!host.setTimeout || !host.clearTimeout) {\n      return;\n    }\n    if (timerToUpdateProgram) {\n      host.clearTimeout(timerToUpdateProgram);\n    }\n    writeLog(\"Scheduling update\");\n    timerToUpdateProgram = host.setTimeout(updateProgramWithWatchStatus, 250);\n  }\n  function scheduleProgramReload() {\n    Debug.assert(!!configFileName);\n    reloadLevel = 2 /* Full */;\n    scheduleProgramUpdate();\n  }\n  function updateProgramWithWatchStatus() {\n    timerToUpdateProgram = void 0;\n    reportFileChangeDetectedOnCreateProgram = true;\n    updateProgram();\n  }\n  function updateProgram() {\n    switch (reloadLevel) {\n      case 1 /* Partial */:\n        perfLogger.logStartUpdateProgram(\"PartialConfigReload\");\n        reloadFileNamesFromConfigFile();\n        break;\n      case 2 /* Full */:\n        perfLogger.logStartUpdateProgram(\"FullConfigReload\");\n        reloadConfigFile();\n        break;\n      default:\n        perfLogger.logStartUpdateProgram(\"SynchronizeProgram\");\n        synchronizeProgram();\n        break;\n    }\n    perfLogger.logStopUpdateProgram(\"Done\");\n    return getCurrentBuilderProgram();\n  }\n  function reloadFileNamesFromConfigFile() {\n    writeLog(\"Reloading new file names and options\");\n    reloadLevel = 0 /* None */;\n    rootFileNames = getFileNamesFromConfigSpecs(compilerOptions.configFile.configFileSpecs, getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory), compilerOptions, parseConfigFileHost, extraFileExtensions);\n    if (updateErrorForNoInputFiles(rootFileNames, getNormalizedAbsolutePath(configFileName, currentDirectory), compilerOptions.configFile.configFileSpecs, configFileParsingDiagnostics, canConfigFileJsonReportNoInputFiles)) {\n      hasChangedConfigFileParsingErrors = true;\n    }\n    synchronizeProgram();\n  }\n  function reloadConfigFile() {\n    writeLog(`Reloading config file: ${configFileName}`);\n    reloadLevel = 0 /* None */;\n    if (cachedDirectoryStructureHost) {\n      cachedDirectoryStructureHost.clearCache();\n    }\n    parseConfigFile2();\n    hasChangedCompilerOptions = true;\n    synchronizeProgram();\n    watchConfigFileWildCardDirectories();\n    updateExtendedConfigFilesWatches(toPath3(configFileName), compilerOptions, watchOptions, WatchType.ExtendedConfigFile);\n  }\n  function parseConfigFile2() {\n    setConfigFileParsingResult(getParsedCommandLineOfConfigFile(\n      configFileName,\n      optionsToExtendForConfigFile,\n      parseConfigFileHost,\n      extendedConfigCache || (extendedConfigCache = new Map2()),\n      watchOptionsToExtend,\n      extraFileExtensions\n    ));\n  }\n  function setConfigFileParsingResult(configFileParseResult) {\n    rootFileNames = configFileParseResult.fileNames;\n    compilerOptions = configFileParseResult.options;\n    watchOptions = configFileParseResult.watchOptions;\n    projectReferences = configFileParseResult.projectReferences;\n    wildcardDirectories = configFileParseResult.wildcardDirectories;\n    configFileParsingDiagnostics = getConfigFileParsingDiagnostics(configFileParseResult).slice();\n    canConfigFileJsonReportNoInputFiles = canJsonReportNoInputFiles(configFileParseResult.raw);\n    hasChangedConfigFileParsingErrors = true;\n  }\n  function getParsedCommandLine(configFileName2) {\n    const configPath = toPath3(configFileName2);\n    let config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath);\n    if (config) {\n      if (!config.reloadLevel)\n        return config.parsedCommandLine;\n      if (config.parsedCommandLine && config.reloadLevel === 1 /* Partial */ && !host.getParsedCommandLine) {\n        writeLog(\"Reloading new file names and options\");\n        const fileNames = getFileNamesFromConfigSpecs(\n          config.parsedCommandLine.options.configFile.configFileSpecs,\n          getNormalizedAbsolutePath(getDirectoryPath(configFileName2), currentDirectory),\n          compilerOptions,\n          parseConfigFileHost\n        );\n        config.parsedCommandLine = { ...config.parsedCommandLine, fileNames };\n        config.reloadLevel = void 0;\n        return config.parsedCommandLine;\n      }\n    }\n    writeLog(`Loading config file: ${configFileName2}`);\n    const parsedCommandLine = host.getParsedCommandLine ? host.getParsedCommandLine(configFileName2) : getParsedCommandLineFromConfigFileHost(configFileName2);\n    if (config) {\n      config.parsedCommandLine = parsedCommandLine;\n      config.reloadLevel = void 0;\n    } else {\n      (parsedConfigs || (parsedConfigs = new Map2())).set(configPath, config = { parsedCommandLine });\n    }\n    watchReferencedProject(configFileName2, configPath, config);\n    return parsedCommandLine;\n  }\n  function getParsedCommandLineFromConfigFileHost(configFileName2) {\n    const onUnRecoverableConfigFileDiagnostic = parseConfigFileHost.onUnRecoverableConfigFileDiagnostic;\n    parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop;\n    const parsedCommandLine = getParsedCommandLineOfConfigFile(\n      configFileName2,\n      void 0,\n      parseConfigFileHost,\n      extendedConfigCache || (extendedConfigCache = new Map2()),\n      watchOptionsToExtend\n    );\n    parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = onUnRecoverableConfigFileDiagnostic;\n    return parsedCommandLine;\n  }\n  function onReleaseParsedCommandLine(fileName) {\n    var _a2;\n    const path = toPath3(fileName);\n    const config = parsedConfigs == null ? void 0 : parsedConfigs.get(path);\n    if (!config)\n      return;\n    parsedConfigs.delete(path);\n    if (config.watchedDirectories)\n      clearMap(config.watchedDirectories, closeFileWatcherOf);\n    (_a2 = config.watcher) == null ? void 0 : _a2.close();\n    clearSharedExtendedConfigFileWatcher(path, sharedExtendedConfigFileWatchers);\n  }\n  function watchFilePath(path, file, callback, pollingInterval, options, watchType) {\n    return watchFile2(file, (fileName, eventKind) => callback(fileName, eventKind, path), pollingInterval, options, watchType);\n  }\n  function onSourceFileChange(fileName, eventKind, path) {\n    updateCachedSystemWithFile(fileName, path, eventKind);\n    if (eventKind === 2 /* Deleted */ && sourceFilesCache.has(path)) {\n      resolutionCache.invalidateResolutionOfFile(path);\n    }\n    nextSourceFileVersion(path);\n    scheduleProgramUpdate();\n  }\n  function updateCachedSystemWithFile(fileName, path, eventKind) {\n    if (cachedDirectoryStructureHost) {\n      cachedDirectoryStructureHost.addOrDeleteFile(fileName, path, eventKind);\n    }\n  }\n  function watchMissingFilePath(missingFilePath) {\n    return (parsedConfigs == null ? void 0 : parsedConfigs.has(missingFilePath)) ? noopFileWatcher : watchFilePath(missingFilePath, missingFilePath, onMissingFileChange, 500 /* Medium */, watchOptions, WatchType.MissingFile);\n  }\n  function onMissingFileChange(fileName, eventKind, missingFilePath) {\n    updateCachedSystemWithFile(fileName, missingFilePath, eventKind);\n    if (eventKind === 0 /* Created */ && missingFilesMap.has(missingFilePath)) {\n      missingFilesMap.get(missingFilePath).close();\n      missingFilesMap.delete(missingFilePath);\n      nextSourceFileVersion(missingFilePath);\n      scheduleProgramUpdate();\n    }\n  }\n  function watchConfigFileWildCardDirectories() {\n    if (wildcardDirectories) {\n      updateWatchingWildcardDirectories(\n        watchedWildcardDirectories || (watchedWildcardDirectories = new Map2()),\n        new Map2(getEntries(wildcardDirectories)),\n        watchWildcardDirectory\n      );\n    } else if (watchedWildcardDirectories) {\n      clearMap(watchedWildcardDirectories, closeFileWatcherOf);\n    }\n  }\n  function watchWildcardDirectory(directory, flags) {\n    return watchDirectory(\n      directory,\n      (fileOrDirectory) => {\n        Debug.assert(!!configFileName);\n        const fileOrDirectoryPath = toPath3(fileOrDirectory);\n        if (cachedDirectoryStructureHost) {\n          cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n        }\n        nextSourceFileVersion(fileOrDirectoryPath);\n        if (isIgnoredFileFromWildCardWatching({\n          watchedDirPath: toPath3(directory),\n          fileOrDirectory,\n          fileOrDirectoryPath,\n          configFileName,\n          extraFileExtensions,\n          options: compilerOptions,\n          program: getCurrentBuilderProgram() || rootFileNames,\n          currentDirectory,\n          useCaseSensitiveFileNames,\n          writeLog,\n          toPath: toPath3\n        }))\n          return;\n        if (reloadLevel !== 2 /* Full */) {\n          reloadLevel = 1 /* Partial */;\n          scheduleProgramUpdate();\n        }\n      },\n      flags,\n      watchOptions,\n      WatchType.WildcardDirectory\n    );\n  }\n  function updateExtendedConfigFilesWatches(forProjectPath, options, watchOptions2, watchType) {\n    updateSharedExtendedConfigFileWatcher(\n      forProjectPath,\n      options,\n      sharedExtendedConfigFileWatchers || (sharedExtendedConfigFileWatchers = new Map2()),\n      (extendedConfigFileName, extendedConfigFilePath) => watchFile2(\n        extendedConfigFileName,\n        (_fileName, eventKind) => {\n          var _a2;\n          updateCachedSystemWithFile(extendedConfigFileName, extendedConfigFilePath, eventKind);\n          if (extendedConfigCache)\n            cleanExtendedConfigCache(extendedConfigCache, extendedConfigFilePath, toPath3);\n          const projects = (_a2 = sharedExtendedConfigFileWatchers.get(extendedConfigFilePath)) == null ? void 0 : _a2.projects;\n          if (!(projects == null ? void 0 : projects.size))\n            return;\n          projects.forEach((projectPath) => {\n            if (toPath3(configFileName) === projectPath) {\n              reloadLevel = 2 /* Full */;\n            } else {\n              const config = parsedConfigs == null ? void 0 : parsedConfigs.get(projectPath);\n              if (config)\n                config.reloadLevel = 2 /* Full */;\n              resolutionCache.removeResolutionsFromProjectReferenceRedirects(projectPath);\n            }\n            scheduleProgramUpdate();\n          });\n        },\n        2e3 /* High */,\n        watchOptions2,\n        watchType\n      ),\n      toPath3\n    );\n  }\n  function watchReferencedProject(configFileName2, configPath, commandLine) {\n    var _a2, _b, _c, _d, _e;\n    commandLine.watcher || (commandLine.watcher = watchFile2(\n      configFileName2,\n      (_fileName, eventKind) => {\n        updateCachedSystemWithFile(configFileName2, configPath, eventKind);\n        const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath);\n        if (config)\n          config.reloadLevel = 2 /* Full */;\n        resolutionCache.removeResolutionsFromProjectReferenceRedirects(configPath);\n        scheduleProgramUpdate();\n      },\n      2e3 /* High */,\n      ((_a2 = commandLine.parsedCommandLine) == null ? void 0 : _a2.watchOptions) || watchOptions,\n      WatchType.ConfigFileOfReferencedProject\n    ));\n    if ((_b = commandLine.parsedCommandLine) == null ? void 0 : _b.wildcardDirectories) {\n      updateWatchingWildcardDirectories(\n        commandLine.watchedDirectories || (commandLine.watchedDirectories = new Map2()),\n        new Map2(getEntries((_c = commandLine.parsedCommandLine) == null ? void 0 : _c.wildcardDirectories)),\n        (directory, flags) => {\n          var _a3;\n          return watchDirectory(\n            directory,\n            (fileOrDirectory) => {\n              const fileOrDirectoryPath = toPath3(fileOrDirectory);\n              if (cachedDirectoryStructureHost) {\n                cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(fileOrDirectory, fileOrDirectoryPath);\n              }\n              nextSourceFileVersion(fileOrDirectoryPath);\n              const config = parsedConfigs == null ? void 0 : parsedConfigs.get(configPath);\n              if (!(config == null ? void 0 : config.parsedCommandLine))\n                return;\n              if (isIgnoredFileFromWildCardWatching({\n                watchedDirPath: toPath3(directory),\n                fileOrDirectory,\n                fileOrDirectoryPath,\n                configFileName: configFileName2,\n                options: config.parsedCommandLine.options,\n                program: config.parsedCommandLine.fileNames,\n                currentDirectory,\n                useCaseSensitiveFileNames,\n                writeLog,\n                toPath: toPath3\n              }))\n                return;\n              if (config.reloadLevel !== 2 /* Full */) {\n                config.reloadLevel = 1 /* Partial */;\n                scheduleProgramUpdate();\n              }\n            },\n            flags,\n            ((_a3 = commandLine.parsedCommandLine) == null ? void 0 : _a3.watchOptions) || watchOptions,\n            WatchType.WildcardDirectoryOfReferencedProject\n          );\n        }\n      );\n    } else if (commandLine.watchedDirectories) {\n      clearMap(commandLine.watchedDirectories, closeFileWatcherOf);\n      commandLine.watchedDirectories = void 0;\n    }\n    updateExtendedConfigFilesWatches(\n      configPath,\n      (_d = commandLine.parsedCommandLine) == null ? void 0 : _d.options,\n      ((_e = commandLine.parsedCommandLine) == null ? void 0 : _e.watchOptions) || watchOptions,\n      WatchType.ExtendedConfigOfReferencedProject\n    );\n  }\n}\n\n// src/compiler/tsbuild.ts\nvar UpToDateStatusType = /* @__PURE__ */ ((UpToDateStatusType2) => {\n  UpToDateStatusType2[UpToDateStatusType2[\"Unbuildable\"] = 0] = \"Unbuildable\";\n  UpToDateStatusType2[UpToDateStatusType2[\"UpToDate\"] = 1] = \"UpToDate\";\n  UpToDateStatusType2[UpToDateStatusType2[\"UpToDateWithUpstreamTypes\"] = 2] = \"UpToDateWithUpstreamTypes\";\n  UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateWithPrepend\"] = 3] = \"OutOfDateWithPrepend\";\n  UpToDateStatusType2[UpToDateStatusType2[\"OutputMissing\"] = 4] = \"OutputMissing\";\n  UpToDateStatusType2[UpToDateStatusType2[\"ErrorReadingFile\"] = 5] = \"ErrorReadingFile\";\n  UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateWithSelf\"] = 6] = \"OutOfDateWithSelf\";\n  UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateWithUpstream\"] = 7] = \"OutOfDateWithUpstream\";\n  UpToDateStatusType2[UpToDateStatusType2[\"OutOfDateBuildInfo\"] = 8] = \"OutOfDateBuildInfo\";\n  UpToDateStatusType2[UpToDateStatusType2[\"UpstreamOutOfDate\"] = 9] = \"UpstreamOutOfDate\";\n  UpToDateStatusType2[UpToDateStatusType2[\"UpstreamBlocked\"] = 10] = \"UpstreamBlocked\";\n  UpToDateStatusType2[UpToDateStatusType2[\"ComputingUpstream\"] = 11] = \"ComputingUpstream\";\n  UpToDateStatusType2[UpToDateStatusType2[\"TsVersionOutputOfDate\"] = 12] = \"TsVersionOutputOfDate\";\n  UpToDateStatusType2[UpToDateStatusType2[\"UpToDateWithInputFileText\"] = 13] = \"UpToDateWithInputFileText\";\n  UpToDateStatusType2[UpToDateStatusType2[\"ContainerOnly\"] = 14] = \"ContainerOnly\";\n  UpToDateStatusType2[UpToDateStatusType2[\"ForceBuild\"] = 15] = \"ForceBuild\";\n  return UpToDateStatusType2;\n})(UpToDateStatusType || {});\nfunction resolveConfigFileProjectName(project) {\n  if (fileExtensionIs(project, \".json\" /* Json */)) {\n    return project;\n  }\n  return combinePaths(project, \"tsconfig.json\");\n}\n\n// src/compiler/tsbuildPublic.ts\nvar minimumDate = new Date(-864e13);\nvar maximumDate = new Date(864e13);\nvar BuildResultFlags = /* @__PURE__ */ ((BuildResultFlags2) => {\n  BuildResultFlags2[BuildResultFlags2[\"None\"] = 0] = \"None\";\n  BuildResultFlags2[BuildResultFlags2[\"Success\"] = 1] = \"Success\";\n  BuildResultFlags2[BuildResultFlags2[\"DeclarationOutputUnchanged\"] = 2] = \"DeclarationOutputUnchanged\";\n  BuildResultFlags2[BuildResultFlags2[\"ConfigFileErrors\"] = 4] = \"ConfigFileErrors\";\n  BuildResultFlags2[BuildResultFlags2[\"SyntaxErrors\"] = 8] = \"SyntaxErrors\";\n  BuildResultFlags2[BuildResultFlags2[\"TypeErrors\"] = 16] = \"TypeErrors\";\n  BuildResultFlags2[BuildResultFlags2[\"DeclarationEmitErrors\"] = 32] = \"DeclarationEmitErrors\";\n  BuildResultFlags2[BuildResultFlags2[\"EmitErrors\"] = 64] = \"EmitErrors\";\n  BuildResultFlags2[BuildResultFlags2[\"AnyErrors\"] = 124] = \"AnyErrors\";\n  return BuildResultFlags2;\n})(BuildResultFlags || {});\nfunction getOrCreateValueFromConfigFileMap(configFileMap, resolved, createT) {\n  const existingValue = configFileMap.get(resolved);\n  let newValue;\n  if (!existingValue) {\n    newValue = createT();\n    configFileMap.set(resolved, newValue);\n  }\n  return existingValue || newValue;\n}\nfunction getOrCreateValueMapFromConfigFileMap(configFileMap, resolved) {\n  return getOrCreateValueFromConfigFileMap(configFileMap, resolved, () => new Map2());\n}\nfunction getCurrentTime(host) {\n  return host.now ? host.now() : new Date();\n}\nfunction isCircularBuildOrder(buildOrder) {\n  return !!buildOrder && !!buildOrder.buildOrder;\n}\nfunction getBuildOrderFromAnyBuildOrder(anyBuildOrder) {\n  return isCircularBuildOrder(anyBuildOrder) ? anyBuildOrder.buildOrder : anyBuildOrder;\n}\nfunction createBuilderStatusReporter(system, pretty) {\n  return (diagnostic) => {\n    let output = pretty ? `[${formatColorAndReset(getLocaleTimeString(system), \"\\x1B[90m\" /* Grey */)}] ` : `${getLocaleTimeString(system)} - `;\n    output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${system.newLine + system.newLine}`;\n    system.write(output);\n  };\n}\nfunction createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus) {\n  const host = createProgramHost(system, createProgram2);\n  host.getModifiedTime = system.getModifiedTime ? (path) => system.getModifiedTime(path) : returnUndefined;\n  host.setModifiedTime = system.setModifiedTime ? (path, date) => system.setModifiedTime(path, date) : noop;\n  host.deleteFile = system.deleteFile ? (path) => system.deleteFile(path) : noop;\n  host.reportDiagnostic = reportDiagnostic || createDiagnosticReporter(system);\n  host.reportSolutionBuilderStatus = reportSolutionBuilderStatus || createBuilderStatusReporter(system);\n  host.now = maybeBind(system, system.now);\n  return host;\n}\nfunction createSolutionBuilderHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportErrorSummary2) {\n  const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus);\n  host.reportErrorSummary = reportErrorSummary2;\n  return host;\n}\nfunction createSolutionBuilderWithWatchHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) {\n  const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus);\n  const watchHost = createWatchHost(system, reportWatchStatus2);\n  copyProperties(host, watchHost);\n  return host;\n}\nfunction getCompilerOptionsOfBuildOptions(buildOptions) {\n  const result = {};\n  commonOptionsWithBuild.forEach((option) => {\n    if (hasProperty(buildOptions, option.name))\n      result[option.name] = buildOptions[option.name];\n  });\n  return result;\n}\nfunction createSolutionBuilder(host, rootNames, defaultOptions) {\n  return createSolutionBuilderWorker(false, host, rootNames, defaultOptions);\n}\nfunction createSolutionBuilderWithWatch(host, rootNames, defaultOptions, baseWatchOptions) {\n  return createSolutionBuilderWorker(true, host, rootNames, defaultOptions, baseWatchOptions);\n}\nfunction createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) {\n  const host = hostOrHostWithWatch;\n  const hostWithWatch = hostOrHostWithWatch;\n  const currentDirectory = host.getCurrentDirectory();\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n  const baseCompilerOptions = getCompilerOptionsOfBuildOptions(options);\n  const compilerHost = createCompilerHostFromProgramHost(host, () => state.projectCompilerOptions);\n  setGetSourceFileAsHashVersioned(compilerHost);\n  compilerHost.getParsedCommandLine = (fileName) => parseConfigFile(state, fileName, toResolvedConfigFilePath(state, fileName));\n  compilerHost.resolveModuleNames = maybeBind(host, host.resolveModuleNames);\n  compilerHost.resolveTypeReferenceDirectives = maybeBind(host, host.resolveTypeReferenceDirectives);\n  compilerHost.getModuleResolutionCache = maybeBind(host, host.getModuleResolutionCache);\n  const moduleResolutionCache = !compilerHost.resolveModuleNames ? createModuleResolutionCache(currentDirectory, getCanonicalFileName) : void 0;\n  const typeReferenceDirectiveResolutionCache = !compilerHost.resolveTypeReferenceDirectives ? createTypeReferenceDirectiveResolutionCache(currentDirectory, getCanonicalFileName, void 0, moduleResolutionCache == null ? void 0 : moduleResolutionCache.getPackageJsonInfoCache()) : void 0;\n  if (!compilerHost.resolveModuleNames) {\n    const loader = (moduleName, resolverMode, containingFile, redirectedReference) => resolveModuleName(moduleName, containingFile, state.projectCompilerOptions, compilerHost, moduleResolutionCache, redirectedReference, resolverMode).resolvedModule;\n    compilerHost.resolveModuleNames = (moduleNames, containingFile, _reusedNames, redirectedReference, _options, containingSourceFile) => loadWithModeAwareCache(Debug.checkEachDefined(moduleNames), Debug.checkDefined(containingSourceFile), containingFile, redirectedReference, loader);\n    compilerHost.getModuleResolutionCache = () => moduleResolutionCache;\n  }\n  if (!compilerHost.resolveTypeReferenceDirectives) {\n    const loader = (moduleName, containingFile, redirectedReference, containingFileMode) => resolveTypeReferenceDirective(moduleName, containingFile, state.projectCompilerOptions, compilerHost, redirectedReference, state.typeReferenceDirectiveResolutionCache, containingFileMode).resolvedTypeReferenceDirective;\n    compilerHost.resolveTypeReferenceDirectives = (typeReferenceDirectiveNames, containingFile, redirectedReference, _options, containingFileMode) => loadWithTypeDirectiveCache(Debug.checkEachDefined(typeReferenceDirectiveNames), containingFile, redirectedReference, containingFileMode, loader);\n  }\n  compilerHost.getBuildInfo = (fileName, configFilePath) => getBuildInfo2(state, fileName, toResolvedConfigFilePath(state, configFilePath), void 0);\n  const { watchFile: watchFile2, watchDirectory, writeLog } = createWatchFactory(hostWithWatch, options);\n  const state = {\n    host,\n    hostWithWatch,\n    currentDirectory,\n    getCanonicalFileName,\n    parseConfigFileHost: parseConfigHostFromCompilerHostLike(host),\n    write: maybeBind(host, host.trace),\n    options,\n    baseCompilerOptions,\n    rootNames,\n    baseWatchOptions,\n    resolvedConfigFilePaths: new Map2(),\n    configFileCache: new Map2(),\n    projectStatus: new Map2(),\n    extendedConfigCache: new Map2(),\n    buildInfoCache: new Map2(),\n    outputTimeStamps: new Map2(),\n    builderPrograms: new Map2(),\n    diagnostics: new Map2(),\n    projectPendingBuild: new Map2(),\n    projectErrorsReported: new Map2(),\n    compilerHost,\n    moduleResolutionCache,\n    typeReferenceDirectiveResolutionCache,\n    buildOrder: void 0,\n    readFileWithCache: (f) => host.readFile(f),\n    projectCompilerOptions: baseCompilerOptions,\n    cache: void 0,\n    allProjectBuildPending: true,\n    needsSummary: true,\n    watchAllProjectsPending: watch,\n    watch,\n    allWatchedWildcardDirectories: new Map2(),\n    allWatchedInputFiles: new Map2(),\n    allWatchedConfigFiles: new Map2(),\n    allWatchedExtendedConfigFiles: new Map2(),\n    allWatchedPackageJsonFiles: new Map2(),\n    filesWatched: new Map2(),\n    lastCachedPackageJsonLookups: new Map2(),\n    timerToBuildInvalidatedProject: void 0,\n    reportFileChangeDetected: false,\n    watchFile: watchFile2,\n    watchDirectory,\n    writeLog\n  };\n  return state;\n}\nfunction toPath2(state, fileName) {\n  return toPath(fileName, state.currentDirectory, state.getCanonicalFileName);\n}\nfunction toResolvedConfigFilePath(state, fileName) {\n  const { resolvedConfigFilePaths } = state;\n  const path = resolvedConfigFilePaths.get(fileName);\n  if (path !== void 0)\n    return path;\n  const resolvedPath = toPath2(state, fileName);\n  resolvedConfigFilePaths.set(fileName, resolvedPath);\n  return resolvedPath;\n}\nfunction isParsedCommandLine(entry) {\n  return !!entry.options;\n}\nfunction getCachedParsedConfigFile(state, configFilePath) {\n  const value = state.configFileCache.get(configFilePath);\n  return value && isParsedCommandLine(value) ? value : void 0;\n}\nfunction parseConfigFile(state, configFileName, configFilePath) {\n  const { configFileCache } = state;\n  const value = configFileCache.get(configFilePath);\n  if (value) {\n    return isParsedCommandLine(value) ? value : void 0;\n  }\n  mark(\"SolutionBuilder::beforeConfigFileParsing\");\n  let diagnostic;\n  const { parseConfigFileHost, baseCompilerOptions, baseWatchOptions, extendedConfigCache, host } = state;\n  let parsed;\n  if (host.getParsedCommandLine) {\n    parsed = host.getParsedCommandLine(configFileName);\n    if (!parsed)\n      diagnostic = createCompilerDiagnostic(Diagnostics.File_0_not_found, configFileName);\n  } else {\n    parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = (d) => diagnostic = d;\n    parsed = getParsedCommandLineOfConfigFile(configFileName, baseCompilerOptions, parseConfigFileHost, extendedConfigCache, baseWatchOptions);\n    parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop;\n  }\n  configFileCache.set(configFilePath, parsed || diagnostic);\n  mark(\"SolutionBuilder::afterConfigFileParsing\");\n  measure(\"SolutionBuilder::Config file parsing\", \"SolutionBuilder::beforeConfigFileParsing\", \"SolutionBuilder::afterConfigFileParsing\");\n  return parsed;\n}\nfunction resolveProjectName(state, name) {\n  return resolveConfigFileProjectName(resolvePath(state.currentDirectory, name));\n}\nfunction createBuildOrder(state, roots) {\n  const temporaryMarks = new Map2();\n  const permanentMarks = new Map2();\n  const circularityReportStack = [];\n  let buildOrder;\n  let circularDiagnostics;\n  for (const root of roots) {\n    visit(root);\n  }\n  return circularDiagnostics ? { buildOrder: buildOrder || emptyArray, circularDiagnostics } : buildOrder || emptyArray;\n  function visit(configFileName, inCircularContext) {\n    const projPath = toResolvedConfigFilePath(state, configFileName);\n    if (permanentMarks.has(projPath))\n      return;\n    if (temporaryMarks.has(projPath)) {\n      if (!inCircularContext) {\n        (circularDiagnostics || (circularDiagnostics = [])).push(\n          createCompilerDiagnostic(\n            Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,\n            circularityReportStack.join(\"\\r\\n\")\n          )\n        );\n      }\n      return;\n    }\n    temporaryMarks.set(projPath, true);\n    circularityReportStack.push(configFileName);\n    const parsed = parseConfigFile(state, configFileName, projPath);\n    if (parsed && parsed.projectReferences) {\n      for (const ref of parsed.projectReferences) {\n        const resolvedRefPath = resolveProjectName(state, ref.path);\n        visit(resolvedRefPath, inCircularContext || ref.circular);\n      }\n    }\n    circularityReportStack.pop();\n    permanentMarks.set(projPath, true);\n    (buildOrder || (buildOrder = [])).push(configFileName);\n  }\n}\nfunction getBuildOrder(state) {\n  return state.buildOrder || createStateBuildOrder(state);\n}\nfunction createStateBuildOrder(state) {\n  const buildOrder = createBuildOrder(state, state.rootNames.map((f) => resolveProjectName(state, f)));\n  state.resolvedConfigFilePaths.clear();\n  const currentProjects = new Map2(\n    getBuildOrderFromAnyBuildOrder(buildOrder).map(\n      (resolved) => [toResolvedConfigFilePath(state, resolved), true]\n    )\n  );\n  const noopOnDelete = { onDeleteValue: noop };\n  mutateMapSkippingNewValues(state.configFileCache, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.projectStatus, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.builderPrograms, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.diagnostics, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.projectPendingBuild, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.projectErrorsReported, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.buildInfoCache, currentProjects, noopOnDelete);\n  mutateMapSkippingNewValues(state.outputTimeStamps, currentProjects, noopOnDelete);\n  if (state.watch) {\n    mutateMapSkippingNewValues(\n      state.allWatchedConfigFiles,\n      currentProjects,\n      { onDeleteValue: closeFileWatcher }\n    );\n    state.allWatchedExtendedConfigFiles.forEach((watcher) => {\n      watcher.projects.forEach((project) => {\n        if (!currentProjects.has(project)) {\n          watcher.projects.delete(project);\n        }\n      });\n      watcher.close();\n    });\n    mutateMapSkippingNewValues(\n      state.allWatchedWildcardDirectories,\n      currentProjects,\n      { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcherOf) }\n    );\n    mutateMapSkippingNewValues(\n      state.allWatchedInputFiles,\n      currentProjects,\n      { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) }\n    );\n    mutateMapSkippingNewValues(\n      state.allWatchedPackageJsonFiles,\n      currentProjects,\n      { onDeleteValue: (existingMap) => existingMap.forEach(closeFileWatcher) }\n    );\n  }\n  return state.buildOrder = buildOrder;\n}\nfunction getBuildOrderFor(state, project, onlyReferences) {\n  const resolvedProject = project && resolveProjectName(state, project);\n  const buildOrderFromState = getBuildOrder(state);\n  if (isCircularBuildOrder(buildOrderFromState))\n    return buildOrderFromState;\n  if (resolvedProject) {\n    const projectPath = toResolvedConfigFilePath(state, resolvedProject);\n    const projectIndex = findIndex(\n      buildOrderFromState,\n      (configFileName) => toResolvedConfigFilePath(state, configFileName) === projectPath\n    );\n    if (projectIndex === -1)\n      return void 0;\n  }\n  const buildOrder = resolvedProject ? createBuildOrder(state, [resolvedProject]) : buildOrderFromState;\n  Debug.assert(!isCircularBuildOrder(buildOrder));\n  Debug.assert(!onlyReferences || resolvedProject !== void 0);\n  Debug.assert(!onlyReferences || buildOrder[buildOrder.length - 1] === resolvedProject);\n  return onlyReferences ? buildOrder.slice(0, buildOrder.length - 1) : buildOrder;\n}\nfunction enableCache(state) {\n  if (state.cache) {\n    disableCache(state);\n  }\n  const { compilerHost, host } = state;\n  const originalReadFileWithCache = state.readFileWithCache;\n  const originalGetSourceFile = compilerHost.getSourceFile;\n  const {\n    originalReadFile,\n    originalFileExists,\n    originalDirectoryExists,\n    originalCreateDirectory,\n    originalWriteFile,\n    getSourceFileWithCache,\n    readFileWithCache\n  } = changeCompilerHostLikeToUseCache(\n    host,\n    (fileName) => toPath2(state, fileName),\n    (...args) => originalGetSourceFile.call(compilerHost, ...args)\n  );\n  state.readFileWithCache = readFileWithCache;\n  compilerHost.getSourceFile = getSourceFileWithCache;\n  state.cache = {\n    originalReadFile,\n    originalFileExists,\n    originalDirectoryExists,\n    originalCreateDirectory,\n    originalWriteFile,\n    originalReadFileWithCache,\n    originalGetSourceFile\n  };\n}\nfunction disableCache(state) {\n  if (!state.cache)\n    return;\n  const { cache, host, compilerHost, extendedConfigCache, moduleResolutionCache, typeReferenceDirectiveResolutionCache } = state;\n  host.readFile = cache.originalReadFile;\n  host.fileExists = cache.originalFileExists;\n  host.directoryExists = cache.originalDirectoryExists;\n  host.createDirectory = cache.originalCreateDirectory;\n  host.writeFile = cache.originalWriteFile;\n  compilerHost.getSourceFile = cache.originalGetSourceFile;\n  state.readFileWithCache = cache.originalReadFileWithCache;\n  extendedConfigCache.clear();\n  moduleResolutionCache == null ? void 0 : moduleResolutionCache.clear();\n  typeReferenceDirectiveResolutionCache == null ? void 0 : typeReferenceDirectiveResolutionCache.clear();\n  state.cache = void 0;\n}\nfunction clearProjectStatus(state, resolved) {\n  state.projectStatus.delete(resolved);\n  state.diagnostics.delete(resolved);\n}\nfunction addProjToQueue({ projectPendingBuild }, proj, reloadLevel) {\n  const value = projectPendingBuild.get(proj);\n  if (value === void 0) {\n    projectPendingBuild.set(proj, reloadLevel);\n  } else if (value < reloadLevel) {\n    projectPendingBuild.set(proj, reloadLevel);\n  }\n}\nfunction setupInitialBuild(state, cancellationToken) {\n  if (!state.allProjectBuildPending)\n    return;\n  state.allProjectBuildPending = false;\n  if (state.options.watch)\n    reportWatchStatus(state, Diagnostics.Starting_compilation_in_watch_mode);\n  enableCache(state);\n  const buildOrder = getBuildOrderFromAnyBuildOrder(getBuildOrder(state));\n  buildOrder.forEach(\n    (configFileName) => state.projectPendingBuild.set(\n      toResolvedConfigFilePath(state, configFileName),\n      0 /* None */\n    )\n  );\n  if (cancellationToken) {\n    cancellationToken.throwIfCancellationRequested();\n  }\n}\nvar InvalidatedProjectKind = /* @__PURE__ */ ((InvalidatedProjectKind2) => {\n  InvalidatedProjectKind2[InvalidatedProjectKind2[\"Build\"] = 0] = \"Build\";\n  InvalidatedProjectKind2[InvalidatedProjectKind2[\"UpdateBundle\"] = 1] = \"UpdateBundle\";\n  InvalidatedProjectKind2[InvalidatedProjectKind2[\"UpdateOutputFileStamps\"] = 2] = \"UpdateOutputFileStamps\";\n  return InvalidatedProjectKind2;\n})(InvalidatedProjectKind || {});\nfunction doneInvalidatedProject(state, projectPath) {\n  state.projectPendingBuild.delete(projectPath);\n  return state.diagnostics.has(projectPath) ? 1 /* DiagnosticsPresent_OutputsSkipped */ : 0 /* Success */;\n}\nfunction createUpdateOutputFileStampsProject(state, project, projectPath, config, buildOrder) {\n  let updateOutputFileStampsPending = true;\n  return {\n    kind: 2 /* UpdateOutputFileStamps */,\n    project,\n    projectPath,\n    buildOrder,\n    getCompilerOptions: () => config.options,\n    getCurrentDirectory: () => state.currentDirectory,\n    updateOutputFileStatmps: () => {\n      updateOutputTimestamps(state, config, projectPath);\n      updateOutputFileStampsPending = false;\n    },\n    done: () => {\n      if (updateOutputFileStampsPending) {\n        updateOutputTimestamps(state, config, projectPath);\n      }\n      mark(\"SolutionBuilder::Timestamps only updates\");\n      return doneInvalidatedProject(state, projectPath);\n    }\n  };\n}\nvar BuildStep = /* @__PURE__ */ ((BuildStep2) => {\n  BuildStep2[BuildStep2[\"CreateProgram\"] = 0] = \"CreateProgram\";\n  BuildStep2[BuildStep2[\"SyntaxDiagnostics\"] = 1] = \"SyntaxDiagnostics\";\n  BuildStep2[BuildStep2[\"SemanticDiagnostics\"] = 2] = \"SemanticDiagnostics\";\n  BuildStep2[BuildStep2[\"Emit\"] = 3] = \"Emit\";\n  BuildStep2[BuildStep2[\"EmitBundle\"] = 4] = \"EmitBundle\";\n  BuildStep2[BuildStep2[\"EmitBuildInfo\"] = 5] = \"EmitBuildInfo\";\n  BuildStep2[BuildStep2[\"BuildInvalidatedProjectOfBundle\"] = 6] = \"BuildInvalidatedProjectOfBundle\";\n  BuildStep2[BuildStep2[\"QueueReferencingProjects\"] = 7] = \"QueueReferencingProjects\";\n  BuildStep2[BuildStep2[\"Done\"] = 8] = \"Done\";\n  return BuildStep2;\n})(BuildStep || {});\nfunction createBuildOrUpdateInvalidedProject(kind, state, project, projectPath, projectIndex, config, buildOrder) {\n  let step = kind === 0 /* Build */ ? 0 /* CreateProgram */ : 4 /* EmitBundle */;\n  let program;\n  let buildResult;\n  let invalidatedProjectOfBundle;\n  return kind === 0 /* Build */ ? {\n    kind,\n    project,\n    projectPath,\n    buildOrder,\n    getCompilerOptions: () => config.options,\n    getCurrentDirectory: () => state.currentDirectory,\n    getBuilderProgram: () => withProgramOrUndefined(identity),\n    getProgram: () => withProgramOrUndefined(\n      (program2) => program2.getProgramOrUndefined()\n    ),\n    getSourceFile: (fileName) => withProgramOrUndefined(\n      (program2) => program2.getSourceFile(fileName)\n    ),\n    getSourceFiles: () => withProgramOrEmptyArray(\n      (program2) => program2.getSourceFiles()\n    ),\n    getOptionsDiagnostics: (cancellationToken) => withProgramOrEmptyArray(\n      (program2) => program2.getOptionsDiagnostics(cancellationToken)\n    ),\n    getGlobalDiagnostics: (cancellationToken) => withProgramOrEmptyArray(\n      (program2) => program2.getGlobalDiagnostics(cancellationToken)\n    ),\n    getConfigFileParsingDiagnostics: () => withProgramOrEmptyArray(\n      (program2) => program2.getConfigFileParsingDiagnostics()\n    ),\n    getSyntacticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray(\n      (program2) => program2.getSyntacticDiagnostics(sourceFile, cancellationToken)\n    ),\n    getAllDependencies: (sourceFile) => withProgramOrEmptyArray(\n      (program2) => program2.getAllDependencies(sourceFile)\n    ),\n    getSemanticDiagnostics: (sourceFile, cancellationToken) => withProgramOrEmptyArray(\n      (program2) => program2.getSemanticDiagnostics(sourceFile, cancellationToken)\n    ),\n    getSemanticDiagnosticsOfNextAffectedFile: (cancellationToken, ignoreSourceFile) => withProgramOrUndefined(\n      (program2) => program2.getSemanticDiagnosticsOfNextAffectedFile && program2.getSemanticDiagnosticsOfNextAffectedFile(cancellationToken, ignoreSourceFile)\n    ),\n    emit: (targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers) => {\n      if (targetSourceFile || emitOnlyDtsFiles) {\n        return withProgramOrUndefined(\n          (program2) => {\n            var _a2, _b;\n            return program2.emit(targetSourceFile, writeFile2, cancellationToken, emitOnlyDtsFiles, customTransformers || ((_b = (_a2 = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a2, project)));\n          }\n        );\n      }\n      executeSteps(2 /* SemanticDiagnostics */, cancellationToken);\n      if (step === 5 /* EmitBuildInfo */) {\n        return emitBuildInfo(writeFile2, cancellationToken);\n      }\n      if (step !== 3 /* Emit */)\n        return void 0;\n      return emit(writeFile2, cancellationToken, customTransformers);\n    },\n    done\n  } : {\n    kind,\n    project,\n    projectPath,\n    buildOrder,\n    getCompilerOptions: () => config.options,\n    getCurrentDirectory: () => state.currentDirectory,\n    emit: (writeFile2, customTransformers) => {\n      if (step !== 4 /* EmitBundle */)\n        return invalidatedProjectOfBundle;\n      return emitBundle(writeFile2, customTransformers);\n    },\n    done\n  };\n  function done(cancellationToken, writeFile2, customTransformers) {\n    executeSteps(8 /* Done */, cancellationToken, writeFile2, customTransformers);\n    if (kind === 0 /* Build */)\n      mark(\"SolutionBuilder::Projects built\");\n    else\n      mark(\"SolutionBuilder::Bundles updated\");\n    return doneInvalidatedProject(state, projectPath);\n  }\n  function withProgramOrUndefined(action) {\n    executeSteps(0 /* CreateProgram */);\n    return program && action(program);\n  }\n  function withProgramOrEmptyArray(action) {\n    return withProgramOrUndefined(action) || emptyArray;\n  }\n  function createProgram2() {\n    var _a2, _b;\n    Debug.assert(program === void 0);\n    if (state.options.dry) {\n      reportStatus(state, Diagnostics.A_non_dry_build_would_build_project_0, project);\n      buildResult = 1 /* Success */;\n      step = 7 /* QueueReferencingProjects */;\n      return;\n    }\n    if (state.options.verbose)\n      reportStatus(state, Diagnostics.Building_project_0, project);\n    if (config.fileNames.length === 0) {\n      reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n      buildResult = 0 /* None */;\n      step = 7 /* QueueReferencingProjects */;\n      return;\n    }\n    const { host, compilerHost } = state;\n    state.projectCompilerOptions = config.options;\n    (_a2 = state.moduleResolutionCache) == null ? void 0 : _a2.update(config.options);\n    (_b = state.typeReferenceDirectiveResolutionCache) == null ? void 0 : _b.update(config.options);\n    program = host.createProgram(\n      config.fileNames,\n      config.options,\n      compilerHost,\n      getOldProgram(state, projectPath, config),\n      getConfigFileParsingDiagnostics(config),\n      config.projectReferences\n    );\n    if (state.watch) {\n      state.lastCachedPackageJsonLookups.set(projectPath, state.moduleResolutionCache && map(\n        state.moduleResolutionCache.getPackageJsonInfoCache().entries(),\n        ([path, data]) => [state.host.realpath && data ? toPath2(state, state.host.realpath(path)) : path, data]\n      ));\n      state.builderPrograms.set(projectPath, program);\n    }\n    step++;\n  }\n  function handleDiagnostics(diagnostics, errorFlags, errorType) {\n    if (diagnostics.length) {\n      ({ buildResult, step } = buildErrors(\n        state,\n        projectPath,\n        program,\n        config,\n        diagnostics,\n        errorFlags,\n        errorType\n      ));\n    } else {\n      step++;\n    }\n  }\n  function getSyntaxDiagnostics(cancellationToken) {\n    Debug.assertIsDefined(program);\n    handleDiagnostics(\n      [\n        ...program.getConfigFileParsingDiagnostics(),\n        ...program.getOptionsDiagnostics(cancellationToken),\n        ...program.getGlobalDiagnostics(cancellationToken),\n        ...program.getSyntacticDiagnostics(void 0, cancellationToken)\n      ],\n      8 /* SyntaxErrors */,\n      \"Syntactic\"\n    );\n  }\n  function getSemanticDiagnostics(cancellationToken) {\n    handleDiagnostics(\n      Debug.checkDefined(program).getSemanticDiagnostics(void 0, cancellationToken),\n      16 /* TypeErrors */,\n      \"Semantic\"\n    );\n  }\n  function emit(writeFileCallback, cancellationToken, customTransformers) {\n    var _a2, _b, _c;\n    Debug.assertIsDefined(program);\n    Debug.assert(step === 3 /* Emit */);\n    const saved = program.saveEmitState();\n    let declDiagnostics;\n    const reportDeclarationDiagnostics = (d) => (declDiagnostics || (declDiagnostics = [])).push(d);\n    const outputFiles = [];\n    const { emitResult } = emitFilesAndReportErrors(\n      program,\n      reportDeclarationDiagnostics,\n      void 0,\n      void 0,\n      (name, text, writeByteOrderMark, _onError, _sourceFiles, data) => outputFiles.push({ name, text, writeByteOrderMark, buildInfo: data == null ? void 0 : data.buildInfo }),\n      cancellationToken,\n      false,\n      customTransformers || ((_b = (_a2 = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a2, project))\n    );\n    if (declDiagnostics) {\n      program.restoreEmitState(saved);\n      ({ buildResult, step } = buildErrors(\n        state,\n        projectPath,\n        program,\n        config,\n        declDiagnostics,\n        32 /* DeclarationEmitErrors */,\n        \"Declaration file\"\n      ));\n      return {\n        emitSkipped: true,\n        diagnostics: emitResult.diagnostics\n      };\n    }\n    const { host, compilerHost } = state;\n    const resultFlags = ((_c = program.hasChangedEmitSignature) == null ? void 0 : _c.call(program)) ? 0 /* None */ : 2 /* DeclarationOutputUnchanged */;\n    const emitterDiagnostics = createDiagnosticCollection();\n    const emittedOutputs = new Map2();\n    const options = program.getCompilerOptions();\n    const isIncremental = isIncrementalCompilation(options);\n    let outputTimeStampMap;\n    let now;\n    outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => {\n      const path = toPath2(state, name);\n      emittedOutputs.set(toPath2(state, name), name);\n      if (buildInfo)\n        setBuildInfo(state, buildInfo, projectPath, options, resultFlags);\n      writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark);\n      if (!isIncremental && state.watch) {\n        (outputTimeStampMap || (outputTimeStampMap = getOutputTimeStampMap(state, projectPath))).set(path, now || (now = getCurrentTime(state.host)));\n      }\n    });\n    finishEmit(\n      emitterDiagnostics,\n      emittedOutputs,\n      outputFiles.length ? outputFiles[0].name : getFirstProjectOutput(config, !host.useCaseSensitiveFileNames()),\n      resultFlags\n    );\n    return emitResult;\n  }\n  function emitBuildInfo(writeFileCallback, cancellationToken) {\n    Debug.assertIsDefined(program);\n    Debug.assert(step === 5 /* EmitBuildInfo */);\n    const emitResult = program.emitBuildInfo((name, text, writeByteOrderMark, onError, sourceFiles, data) => {\n      if (data == null ? void 0 : data.buildInfo)\n        setBuildInfo(state, data.buildInfo, projectPath, program.getCompilerOptions(), 2 /* DeclarationOutputUnchanged */);\n      if (writeFileCallback)\n        writeFileCallback(name, text, writeByteOrderMark, onError, sourceFiles, data);\n      else\n        state.compilerHost.writeFile(name, text, writeByteOrderMark, onError, sourceFiles, data);\n    }, cancellationToken);\n    if (emitResult.diagnostics.length) {\n      reportErrors(state, emitResult.diagnostics);\n      state.diagnostics.set(projectPath, [...state.diagnostics.get(projectPath), ...emitResult.diagnostics]);\n      buildResult = 64 /* EmitErrors */ & buildResult;\n    }\n    if (emitResult.emittedFiles && state.write) {\n      emitResult.emittedFiles.forEach((name) => listEmittedFile(state, config, name));\n    }\n    afterProgramDone(state, program, config);\n    step = 7 /* QueueReferencingProjects */;\n    return emitResult;\n  }\n  function finishEmit(emitterDiagnostics, emittedOutputs, oldestOutputFileName, resultFlags) {\n    const emitDiagnostics = emitterDiagnostics.getDiagnostics();\n    if (emitDiagnostics.length) {\n      ({ buildResult, step } = buildErrors(\n        state,\n        projectPath,\n        program,\n        config,\n        emitDiagnostics,\n        64 /* EmitErrors */,\n        \"Emit\"\n      ));\n      return emitDiagnostics;\n    }\n    if (state.write) {\n      emittedOutputs.forEach((name) => listEmittedFile(state, config, name));\n    }\n    updateOutputTimestampsWorker(state, config, projectPath, Diagnostics.Updating_unchanged_output_timestamps_of_project_0, emittedOutputs);\n    state.diagnostics.delete(projectPath);\n    state.projectStatus.set(projectPath, {\n      type: 1 /* UpToDate */,\n      oldestOutputFileName\n    });\n    afterProgramDone(state, program, config);\n    step = 7 /* QueueReferencingProjects */;\n    buildResult = resultFlags;\n    return emitDiagnostics;\n  }\n  function emitBundle(writeFileCallback, customTransformers) {\n    var _a2, _b;\n    Debug.assert(kind === 1 /* UpdateBundle */);\n    if (state.options.dry) {\n      reportStatus(state, Diagnostics.A_non_dry_build_would_update_output_of_project_0, project);\n      buildResult = 1 /* Success */;\n      step = 7 /* QueueReferencingProjects */;\n      return void 0;\n    }\n    if (state.options.verbose)\n      reportStatus(state, Diagnostics.Updating_output_of_project_0, project);\n    const { compilerHost } = state;\n    state.projectCompilerOptions = config.options;\n    const outputFiles = emitUsingBuildInfo(\n      config,\n      compilerHost,\n      (ref) => {\n        const refName = resolveProjectName(state, ref.path);\n        return parseConfigFile(state, refName, toResolvedConfigFilePath(state, refName));\n      },\n      customTransformers || ((_b = (_a2 = state.host).getCustomTransformers) == null ? void 0 : _b.call(_a2, project))\n    );\n    if (isString(outputFiles)) {\n      reportStatus(state, Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1, project, relName(state, outputFiles));\n      step = 6 /* BuildInvalidatedProjectOfBundle */;\n      return invalidatedProjectOfBundle = createBuildOrUpdateInvalidedProject(\n        0 /* Build */,\n        state,\n        project,\n        projectPath,\n        projectIndex,\n        config,\n        buildOrder\n      );\n    }\n    Debug.assert(!!outputFiles.length);\n    const emitterDiagnostics = createDiagnosticCollection();\n    const emittedOutputs = new Map2();\n    let resultFlags = 2 /* DeclarationOutputUnchanged */;\n    const existingBuildInfo = state.buildInfoCache.get(projectPath).buildInfo || void 0;\n    outputFiles.forEach(({ name, text, writeByteOrderMark, buildInfo }) => {\n      var _a3, _b2;\n      emittedOutputs.set(toPath2(state, name), name);\n      if (buildInfo) {\n        if (((_a3 = buildInfo.program) == null ? void 0 : _a3.outSignature) !== ((_b2 = existingBuildInfo == null ? void 0 : existingBuildInfo.program) == null ? void 0 : _b2.outSignature)) {\n          resultFlags &= ~2 /* DeclarationOutputUnchanged */;\n        }\n        setBuildInfo(state, buildInfo, projectPath, config.options, resultFlags);\n      }\n      writeFile(writeFileCallback ? { writeFile: writeFileCallback } : compilerHost, emitterDiagnostics, name, text, writeByteOrderMark);\n    });\n    const emitDiagnostics = finishEmit(\n      emitterDiagnostics,\n      emittedOutputs,\n      outputFiles[0].name,\n      resultFlags\n    );\n    return { emitSkipped: false, diagnostics: emitDiagnostics };\n  }\n  function executeSteps(till, cancellationToken, writeFile2, customTransformers) {\n    while (step <= till && step < 8 /* Done */) {\n      const currentStep = step;\n      switch (step) {\n        case 0 /* CreateProgram */:\n          createProgram2();\n          break;\n        case 1 /* SyntaxDiagnostics */:\n          getSyntaxDiagnostics(cancellationToken);\n          break;\n        case 2 /* SemanticDiagnostics */:\n          getSemanticDiagnostics(cancellationToken);\n          break;\n        case 3 /* Emit */:\n          emit(writeFile2, cancellationToken, customTransformers);\n          break;\n        case 5 /* EmitBuildInfo */:\n          emitBuildInfo(writeFile2, cancellationToken);\n          break;\n        case 4 /* EmitBundle */:\n          emitBundle(writeFile2, customTransformers);\n          break;\n        case 6 /* BuildInvalidatedProjectOfBundle */:\n          Debug.checkDefined(invalidatedProjectOfBundle).done(cancellationToken, writeFile2, customTransformers);\n          step = 8 /* Done */;\n          break;\n        case 7 /* QueueReferencingProjects */:\n          queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, Debug.checkDefined(buildResult));\n          step++;\n          break;\n        case 8 /* Done */:\n        default:\n          assertType(step);\n      }\n      Debug.assert(step > currentStep);\n    }\n  }\n}\nfunction needsBuild({ options }, status, config) {\n  if (status.type !== 3 /* OutOfDateWithPrepend */ || options.force)\n    return true;\n  return config.fileNames.length === 0 || !!getConfigFileParsingDiagnostics(config).length || !isIncrementalCompilation(config.options);\n}\nfunction getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {\n  if (!state.projectPendingBuild.size)\n    return void 0;\n  if (isCircularBuildOrder(buildOrder))\n    return void 0;\n  const { options, projectPendingBuild } = state;\n  for (let projectIndex = 0; projectIndex < buildOrder.length; projectIndex++) {\n    const project = buildOrder[projectIndex];\n    const projectPath = toResolvedConfigFilePath(state, project);\n    const reloadLevel = state.projectPendingBuild.get(projectPath);\n    if (reloadLevel === void 0)\n      continue;\n    if (reportQueue) {\n      reportQueue = false;\n      reportBuildQueue(state, buildOrder);\n    }\n    const config = parseConfigFile(state, project, projectPath);\n    if (!config) {\n      reportParseConfigFileDiagnostic(state, projectPath);\n      projectPendingBuild.delete(projectPath);\n      continue;\n    }\n    if (reloadLevel === 2 /* Full */) {\n      watchConfigFile(state, project, projectPath, config);\n      watchExtendedConfigFiles(state, projectPath, config);\n      watchWildCardDirectories(state, project, projectPath, config);\n      watchInputFiles(state, project, projectPath, config);\n      watchPackageJsonFiles(state, project, projectPath, config);\n    } else if (reloadLevel === 1 /* Partial */) {\n      config.fileNames = getFileNamesFromConfigSpecs(config.options.configFile.configFileSpecs, getDirectoryPath(project), config.options, state.parseConfigFileHost);\n      updateErrorForNoInputFiles(config.fileNames, project, config.options.configFile.configFileSpecs, config.errors, canJsonReportNoInputFiles(config.raw));\n      watchInputFiles(state, project, projectPath, config);\n      watchPackageJsonFiles(state, project, projectPath, config);\n    }\n    const status = getUpToDateStatus(state, config, projectPath);\n    if (!options.force) {\n      if (status.type === 1 /* UpToDate */) {\n        verboseReportProjectStatus(state, project, status);\n        reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n        projectPendingBuild.delete(projectPath);\n        if (options.dry) {\n          reportStatus(state, Diagnostics.Project_0_is_up_to_date, project);\n        }\n        continue;\n      }\n      if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 13 /* UpToDateWithInputFileText */) {\n        reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n        return {\n          kind: 2 /* UpdateOutputFileStamps */,\n          status,\n          project,\n          projectPath,\n          projectIndex,\n          config\n        };\n      }\n    }\n    if (status.type === 10 /* UpstreamBlocked */) {\n      verboseReportProjectStatus(state, project, status);\n      reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n      projectPendingBuild.delete(projectPath);\n      if (options.verbose) {\n        reportStatus(\n          state,\n          status.upstreamProjectBlocked ? Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,\n          project,\n          status.upstreamProjectName\n        );\n      }\n      continue;\n    }\n    if (status.type === 14 /* ContainerOnly */) {\n      verboseReportProjectStatus(state, project, status);\n      reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));\n      projectPendingBuild.delete(projectPath);\n      continue;\n    }\n    return {\n      kind: needsBuild(state, status, config) ? 0 /* Build */ : 1 /* UpdateBundle */,\n      status,\n      project,\n      projectPath,\n      projectIndex,\n      config\n    };\n  }\n  return void 0;\n}\nfunction createInvalidatedProjectWithInfo(state, info, buildOrder) {\n  verboseReportProjectStatus(state, info.project, info.status);\n  return info.kind !== 2 /* UpdateOutputFileStamps */ ? createBuildOrUpdateInvalidedProject(\n    info.kind,\n    state,\n    info.project,\n    info.projectPath,\n    info.projectIndex,\n    info.config,\n    buildOrder\n  ) : createUpdateOutputFileStampsProject(\n    state,\n    info.project,\n    info.projectPath,\n    info.config,\n    buildOrder\n  );\n}\nfunction getNextInvalidatedProject(state, buildOrder, reportQueue) {\n  const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue);\n  if (!info)\n    return info;\n  return createInvalidatedProjectWithInfo(state, info, buildOrder);\n}\nfunction listEmittedFile({ write }, proj, file) {\n  if (write && proj.options.listEmittedFiles) {\n    write(`TSFILE: ${file}`);\n  }\n}\nfunction getOldProgram({ options, builderPrograms, compilerHost }, proj, parsed) {\n  if (options.force)\n    return void 0;\n  const value = builderPrograms.get(proj);\n  if (value)\n    return value;\n  return readBuilderProgram(parsed.options, compilerHost);\n}\nfunction afterProgramDone(state, program, config) {\n  if (program) {\n    if (state.write)\n      listFiles(program, state.write);\n    if (state.host.afterProgramEmitAndDiagnostics) {\n      state.host.afterProgramEmitAndDiagnostics(program);\n    }\n    program.releaseProgram();\n  } else if (state.host.afterEmitBundle) {\n    state.host.afterEmitBundle(config);\n  }\n  state.projectCompilerOptions = state.baseCompilerOptions;\n}\nfunction buildErrors(state, resolvedPath, program, config, diagnostics, buildResult, errorType) {\n  const canEmitBuildInfo = program && !outFile(program.getCompilerOptions());\n  reportAndStoreErrors(state, resolvedPath, diagnostics);\n  state.projectStatus.set(resolvedPath, { type: 0 /* Unbuildable */, reason: `${errorType} errors` });\n  if (canEmitBuildInfo)\n    return { buildResult, step: 5 /* EmitBuildInfo */ };\n  afterProgramDone(state, program, config);\n  return { buildResult, step: 7 /* QueueReferencingProjects */ };\n}\nfunction isFileWatcherWithModifiedTime(value) {\n  return !!value.watcher;\n}\nfunction getModifiedTime2(state, fileName) {\n  const path = toPath2(state, fileName);\n  const existing = state.filesWatched.get(path);\n  if (state.watch && !!existing) {\n    if (!isFileWatcherWithModifiedTime(existing))\n      return existing;\n    if (existing.modifiedTime)\n      return existing.modifiedTime;\n  }\n  const result = getModifiedTime(state.host, fileName);\n  if (state.watch) {\n    if (existing)\n      existing.modifiedTime = result;\n    else\n      state.filesWatched.set(path, result);\n  }\n  return result;\n}\nfunction watchFile(state, file, callback, pollingInterval, options, watchType, project) {\n  const path = toPath2(state, file);\n  const existing = state.filesWatched.get(path);\n  if (existing && isFileWatcherWithModifiedTime(existing)) {\n    existing.callbacks.push(callback);\n  } else {\n    const watcher = state.watchFile(\n      file,\n      (fileName, eventKind, modifiedTime) => {\n        const existing2 = Debug.checkDefined(state.filesWatched.get(path));\n        Debug.assert(isFileWatcherWithModifiedTime(existing2));\n        existing2.modifiedTime = modifiedTime;\n        existing2.callbacks.forEach((cb) => cb(fileName, eventKind, modifiedTime));\n      },\n      pollingInterval,\n      options,\n      watchType,\n      project\n    );\n    state.filesWatched.set(path, { callbacks: [callback], watcher, modifiedTime: existing });\n  }\n  return {\n    close: () => {\n      const existing2 = Debug.checkDefined(state.filesWatched.get(path));\n      Debug.assert(isFileWatcherWithModifiedTime(existing2));\n      if (existing2.callbacks.length === 1) {\n        state.filesWatched.delete(path);\n        closeFileWatcherOf(existing2);\n      } else {\n        unorderedRemoveItem(existing2.callbacks, callback);\n      }\n    }\n  };\n}\nfunction getOutputTimeStampMap(state, resolvedConfigFilePath) {\n  if (!state.watch)\n    return void 0;\n  let result = state.outputTimeStamps.get(resolvedConfigFilePath);\n  if (!result)\n    state.outputTimeStamps.set(resolvedConfigFilePath, result = new Map2());\n  return result;\n}\nfunction setBuildInfo(state, buildInfo, resolvedConfigPath, options, resultFlags) {\n  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);\n  const existing = getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath);\n  const modifiedTime = getCurrentTime(state.host);\n  if (existing) {\n    existing.buildInfo = buildInfo;\n    existing.modifiedTime = modifiedTime;\n    if (!(resultFlags & 2 /* DeclarationOutputUnchanged */))\n      existing.latestChangedDtsTime = modifiedTime;\n  } else {\n    state.buildInfoCache.set(resolvedConfigPath, {\n      path: toPath2(state, buildInfoPath),\n      buildInfo,\n      modifiedTime,\n      latestChangedDtsTime: resultFlags & 2 /* DeclarationOutputUnchanged */ ? void 0 : modifiedTime\n    });\n  }\n}\nfunction getBuildInfoCacheEntry(state, buildInfoPath, resolvedConfigPath) {\n  const path = toPath2(state, buildInfoPath);\n  const existing = state.buildInfoCache.get(resolvedConfigPath);\n  return (existing == null ? void 0 : existing.path) === path ? existing : void 0;\n}\nfunction getBuildInfo2(state, buildInfoPath, resolvedConfigPath, modifiedTime) {\n  const path = toPath2(state, buildInfoPath);\n  const existing = state.buildInfoCache.get(resolvedConfigPath);\n  if (existing !== void 0 && existing.path === path) {\n    return existing.buildInfo || void 0;\n  }\n  const value = state.readFileWithCache(buildInfoPath);\n  const buildInfo = value ? getBuildInfo(buildInfoPath, value) : void 0;\n  state.buildInfoCache.set(resolvedConfigPath, { path, buildInfo: buildInfo || false, modifiedTime: modifiedTime || missingFileModifiedTime });\n  return buildInfo;\n}\nfunction checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName) {\n  const tsconfigTime = getModifiedTime2(state, configFile);\n  if (oldestOutputFileTime < tsconfigTime) {\n    return {\n      type: 6 /* OutOfDateWithSelf */,\n      outOfDateOutputFileName: oldestOutputFileName,\n      newerInputFileName: configFile\n    };\n  }\n}\nfunction getUpToDateStatusWorker(state, project, resolvedPath) {\n  var _a2, _b;\n  if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) {\n    return {\n      type: 14 /* ContainerOnly */\n    };\n  }\n  let referenceStatuses;\n  const force = !!state.options.force;\n  if (project.projectReferences) {\n    state.projectStatus.set(resolvedPath, { type: 11 /* ComputingUpstream */ });\n    for (const ref of project.projectReferences) {\n      const resolvedRef = resolveProjectReferencePath(ref);\n      const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef);\n      const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath);\n      const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath);\n      if (refStatus.type === 11 /* ComputingUpstream */ || refStatus.type === 14 /* ContainerOnly */) {\n        continue;\n      }\n      if (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 10 /* UpstreamBlocked */) {\n        return {\n          type: 10 /* UpstreamBlocked */,\n          upstreamProjectName: ref.path,\n          upstreamProjectBlocked: refStatus.type === 10 /* UpstreamBlocked */\n        };\n      }\n      if (refStatus.type !== 1 /* UpToDate */) {\n        return {\n          type: 9 /* UpstreamOutOfDate */,\n          upstreamProjectName: ref.path\n        };\n      }\n      if (!force)\n        (referenceStatuses || (referenceStatuses = [])).push({ ref, refStatus, resolvedRefPath, resolvedConfig });\n    }\n  }\n  if (force)\n    return { type: 15 /* ForceBuild */ };\n  const { host } = state;\n  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);\n  let oldestOutputFileName;\n  let oldestOutputFileTime = maximumDate;\n  let buildInfoTime;\n  let buildInfoProgram;\n  let buildInfoVersionMap;\n  if (buildInfoPath) {\n    const buildInfoCacheEntry2 = getBuildInfoCacheEntry(state, buildInfoPath, resolvedPath);\n    buildInfoTime = (buildInfoCacheEntry2 == null ? void 0 : buildInfoCacheEntry2.modifiedTime) || getModifiedTime(host, buildInfoPath);\n    if (buildInfoTime === missingFileModifiedTime) {\n      if (!buildInfoCacheEntry2) {\n        state.buildInfoCache.set(resolvedPath, {\n          path: toPath2(state, buildInfoPath),\n          buildInfo: false,\n          modifiedTime: buildInfoTime\n        });\n      }\n      return {\n        type: 4 /* OutputMissing */,\n        missingOutputFileName: buildInfoPath\n      };\n    }\n    const buildInfo = getBuildInfo2(state, buildInfoPath, resolvedPath, buildInfoTime);\n    if (!buildInfo) {\n      return {\n        type: 5 /* ErrorReadingFile */,\n        fileName: buildInfoPath\n      };\n    }\n    if ((buildInfo.bundle || buildInfo.program) && buildInfo.version !== version) {\n      return {\n        type: 12 /* TsVersionOutputOfDate */,\n        version: buildInfo.version\n      };\n    }\n    if (buildInfo.program) {\n      if (((_a2 = buildInfo.program.changeFileSet) == null ? void 0 : _a2.length) || (!project.options.noEmit ? (_b = buildInfo.program.affectedFilesPendingEmit) == null ? void 0 : _b.length : some(buildInfo.program.semanticDiagnosticsPerFile, isArray))) {\n        return {\n          type: 8 /* OutOfDateBuildInfo */,\n          buildInfoFile: buildInfoPath\n        };\n      }\n      buildInfoProgram = buildInfo.program;\n    }\n    oldestOutputFileTime = buildInfoTime;\n    oldestOutputFileName = buildInfoPath;\n  }\n  let newestInputFileName = void 0;\n  let newestInputFileTime = minimumDate;\n  let pseudoInputUpToDate = false;\n  for (const inputFile of project.fileNames) {\n    const inputTime = getModifiedTime2(state, inputFile);\n    if (inputTime === missingFileModifiedTime) {\n      return {\n        type: 0 /* Unbuildable */,\n        reason: `${inputFile} does not exist`\n      };\n    }\n    if (buildInfoTime && buildInfoTime < inputTime) {\n      let version2;\n      let currentVersion;\n      if (buildInfoProgram) {\n        if (!buildInfoVersionMap)\n          buildInfoVersionMap = getBuildInfoFileVersionMap(buildInfoProgram, buildInfoPath, host);\n        version2 = buildInfoVersionMap.get(toPath2(state, inputFile));\n        const text = version2 ? state.readFileWithCache(inputFile) : void 0;\n        currentVersion = text !== void 0 ? (host.createHash || generateDjb2Hash)(text) : void 0;\n        if (version2 && version2 === currentVersion)\n          pseudoInputUpToDate = true;\n      }\n      if (!version2 || version2 !== currentVersion) {\n        return {\n          type: 6 /* OutOfDateWithSelf */,\n          outOfDateOutputFileName: buildInfoPath,\n          newerInputFileName: inputFile\n        };\n      }\n    }\n    if (inputTime > newestInputFileTime) {\n      newestInputFileName = inputFile;\n      newestInputFileTime = inputTime;\n    }\n  }\n  if (!buildInfoPath) {\n    const outputs = getAllProjectOutputs(project, !host.useCaseSensitiveFileNames());\n    const outputTimeStampMap = getOutputTimeStampMap(state, resolvedPath);\n    for (const output of outputs) {\n      const path = toPath2(state, output);\n      let outputTime = outputTimeStampMap == null ? void 0 : outputTimeStampMap.get(path);\n      if (!outputTime) {\n        outputTime = getModifiedTime(state.host, output);\n        outputTimeStampMap == null ? void 0 : outputTimeStampMap.set(path, outputTime);\n      }\n      if (outputTime === missingFileModifiedTime) {\n        return {\n          type: 4 /* OutputMissing */,\n          missingOutputFileName: output\n        };\n      }\n      if (outputTime < newestInputFileTime) {\n        return {\n          type: 6 /* OutOfDateWithSelf */,\n          outOfDateOutputFileName: output,\n          newerInputFileName: newestInputFileName\n        };\n      }\n      if (outputTime < oldestOutputFileTime) {\n        oldestOutputFileTime = outputTime;\n        oldestOutputFileName = output;\n      }\n    }\n  }\n  const buildInfoCacheEntry = state.buildInfoCache.get(resolvedPath);\n  let pseudoUpToDate = false;\n  let usesPrepend = false;\n  let upstreamChangedProject;\n  if (referenceStatuses) {\n    for (const { ref, refStatus, resolvedConfig, resolvedRefPath } of referenceStatuses) {\n      usesPrepend = usesPrepend || !!ref.prepend;\n      if (refStatus.newestInputFileTime && refStatus.newestInputFileTime <= oldestOutputFileTime) {\n        continue;\n      }\n      if (buildInfoCacheEntry && hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath)) {\n        return {\n          type: 7 /* OutOfDateWithUpstream */,\n          outOfDateOutputFileName: buildInfoPath,\n          newerProjectName: ref.path\n        };\n      }\n      const newestDeclarationFileContentChangedTime = getLatestChangedDtsTime(state, resolvedConfig.options, resolvedRefPath);\n      if (newestDeclarationFileContentChangedTime && newestDeclarationFileContentChangedTime <= oldestOutputFileTime) {\n        pseudoUpToDate = true;\n        upstreamChangedProject = ref.path;\n        continue;\n      }\n      Debug.assert(oldestOutputFileName !== void 0, \"Should have an oldest output filename here\");\n      return {\n        type: 7 /* OutOfDateWithUpstream */,\n        outOfDateOutputFileName: oldestOutputFileName,\n        newerProjectName: ref.path\n      };\n    }\n  }\n  const configStatus = checkConfigFileUpToDateStatus(state, project.options.configFilePath, oldestOutputFileTime, oldestOutputFileName);\n  if (configStatus)\n    return configStatus;\n  const extendedConfigStatus = forEach(project.options.configFile.extendedSourceFiles || emptyArray, (configFile) => checkConfigFileUpToDateStatus(state, configFile, oldestOutputFileTime, oldestOutputFileName));\n  if (extendedConfigStatus)\n    return extendedConfigStatus;\n  const dependentPackageFileStatus = forEach(\n    state.lastCachedPackageJsonLookups.get(resolvedPath) || emptyArray,\n    ([path]) => checkConfigFileUpToDateStatus(state, path, oldestOutputFileTime, oldestOutputFileName)\n  );\n  if (dependentPackageFileStatus)\n    return dependentPackageFileStatus;\n  if (usesPrepend && pseudoUpToDate) {\n    return {\n      type: 3 /* OutOfDateWithPrepend */,\n      outOfDateOutputFileName: oldestOutputFileName,\n      newerProjectName: upstreamChangedProject\n    };\n  }\n  return {\n    type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 13 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,\n    newestInputFileTime,\n    newestInputFileName,\n    oldestOutputFileName\n  };\n}\nfunction hasSameBuildInfo(state, buildInfoCacheEntry, resolvedRefPath) {\n  const refBuildInfo = state.buildInfoCache.get(resolvedRefPath);\n  return refBuildInfo.path === buildInfoCacheEntry.path;\n}\nfunction getUpToDateStatus(state, project, resolvedPath) {\n  if (project === void 0) {\n    return { type: 0 /* Unbuildable */, reason: \"File deleted mid-build\" };\n  }\n  const prior = state.projectStatus.get(resolvedPath);\n  if (prior !== void 0) {\n    return prior;\n  }\n  mark(\"SolutionBuilder::beforeUpToDateCheck\");\n  const actual = getUpToDateStatusWorker(state, project, resolvedPath);\n  mark(\"SolutionBuilder::afterUpToDateCheck\");\n  measure(\"SolutionBuilder::Up-to-date check\", \"SolutionBuilder::beforeUpToDateCheck\", \"SolutionBuilder::afterUpToDateCheck\");\n  state.projectStatus.set(resolvedPath, actual);\n  return actual;\n}\nfunction updateOutputTimestampsWorker(state, proj, projectPath, verboseMessage, skipOutputs) {\n  if (proj.options.noEmit)\n    return;\n  let now;\n  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(proj.options);\n  if (buildInfoPath) {\n    if (!(skipOutputs == null ? void 0 : skipOutputs.has(toPath2(state, buildInfoPath)))) {\n      if (!!state.options.verbose)\n        reportStatus(state, verboseMessage, proj.options.configFilePath);\n      state.host.setModifiedTime(buildInfoPath, now = getCurrentTime(state.host));\n      getBuildInfoCacheEntry(state, buildInfoPath, projectPath).modifiedTime = now;\n    }\n    state.outputTimeStamps.delete(projectPath);\n    return;\n  }\n  const { host } = state;\n  const outputs = getAllProjectOutputs(proj, !host.useCaseSensitiveFileNames());\n  const outputTimeStampMap = getOutputTimeStampMap(state, projectPath);\n  const modifiedOutputs = outputTimeStampMap ? new Set2() : void 0;\n  if (!skipOutputs || outputs.length !== skipOutputs.size) {\n    let reportVerbose = !!state.options.verbose;\n    for (const file of outputs) {\n      const path = toPath2(state, file);\n      if (skipOutputs == null ? void 0 : skipOutputs.has(path))\n        continue;\n      if (reportVerbose) {\n        reportVerbose = false;\n        reportStatus(state, verboseMessage, proj.options.configFilePath);\n      }\n      host.setModifiedTime(file, now || (now = getCurrentTime(state.host)));\n      if (outputTimeStampMap) {\n        outputTimeStampMap.set(path, now);\n        modifiedOutputs.add(path);\n      }\n    }\n  }\n  outputTimeStampMap == null ? void 0 : outputTimeStampMap.forEach((_value, key) => {\n    if (!(skipOutputs == null ? void 0 : skipOutputs.has(key)) && !modifiedOutputs.has(key))\n      outputTimeStampMap.delete(key);\n  });\n}\nfunction getLatestChangedDtsTime(state, options, resolvedConfigPath) {\n  if (!options.composite)\n    return void 0;\n  const entry = Debug.checkDefined(state.buildInfoCache.get(resolvedConfigPath));\n  if (entry.latestChangedDtsTime !== void 0)\n    return entry.latestChangedDtsTime || void 0;\n  const latestChangedDtsTime = entry.buildInfo && entry.buildInfo.program && entry.buildInfo.program.latestChangedDtsFile ? state.host.getModifiedTime(getNormalizedAbsolutePath(entry.buildInfo.program.latestChangedDtsFile, getDirectoryPath(entry.path))) : void 0;\n  entry.latestChangedDtsTime = latestChangedDtsTime || false;\n  return latestChangedDtsTime;\n}\nfunction updateOutputTimestamps(state, proj, resolvedPath) {\n  if (state.options.dry) {\n    return reportStatus(state, Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0, proj.options.configFilePath);\n  }\n  updateOutputTimestampsWorker(state, proj, resolvedPath, Diagnostics.Updating_output_timestamps_of_project_0);\n  state.projectStatus.set(resolvedPath, {\n    type: 1 /* UpToDate */,\n    oldestOutputFileName: getFirstProjectOutput(proj, !state.host.useCaseSensitiveFileNames())\n  });\n}\nfunction queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) {\n  if (buildResult & 124 /* AnyErrors */)\n    return;\n  if (!config.options.composite)\n    return;\n  for (let index = projectIndex + 1; index < buildOrder.length; index++) {\n    const nextProject = buildOrder[index];\n    const nextProjectPath = toResolvedConfigFilePath(state, nextProject);\n    if (state.projectPendingBuild.has(nextProjectPath))\n      continue;\n    const nextProjectConfig = parseConfigFile(state, nextProject, nextProjectPath);\n    if (!nextProjectConfig || !nextProjectConfig.projectReferences)\n      continue;\n    for (const ref of nextProjectConfig.projectReferences) {\n      const resolvedRefPath = resolveProjectName(state, ref.path);\n      if (toResolvedConfigFilePath(state, resolvedRefPath) !== projectPath)\n        continue;\n      const status = state.projectStatus.get(nextProjectPath);\n      if (status) {\n        switch (status.type) {\n          case 1 /* UpToDate */:\n            if (buildResult & 2 /* DeclarationOutputUnchanged */) {\n              if (ref.prepend) {\n                state.projectStatus.set(nextProjectPath, {\n                  type: 3 /* OutOfDateWithPrepend */,\n                  outOfDateOutputFileName: status.oldestOutputFileName,\n                  newerProjectName: project\n                });\n              } else {\n                status.type = 2 /* UpToDateWithUpstreamTypes */;\n              }\n              break;\n            }\n          case 13 /* UpToDateWithInputFileText */:\n          case 2 /* UpToDateWithUpstreamTypes */:\n          case 3 /* OutOfDateWithPrepend */:\n            if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) {\n              state.projectStatus.set(nextProjectPath, {\n                type: 7 /* OutOfDateWithUpstream */,\n                outOfDateOutputFileName: status.type === 3 /* OutOfDateWithPrepend */ ? status.outOfDateOutputFileName : status.oldestOutputFileName,\n                newerProjectName: project\n              });\n            }\n            break;\n          case 10 /* UpstreamBlocked */:\n            if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) {\n              clearProjectStatus(state, nextProjectPath);\n            }\n            break;\n        }\n      }\n      addProjToQueue(state, nextProjectPath, 0 /* None */);\n      break;\n    }\n  }\n}\nfunction build(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) {\n  mark(\"SolutionBuilder::beforeBuild\");\n  const result = buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences);\n  mark(\"SolutionBuilder::afterBuild\");\n  measure(\"SolutionBuilder::Build\", \"SolutionBuilder::beforeBuild\", \"SolutionBuilder::afterBuild\");\n  return result;\n}\nfunction buildWorker(state, project, cancellationToken, writeFile2, getCustomTransformers, onlyReferences) {\n  const buildOrder = getBuildOrderFor(state, project, onlyReferences);\n  if (!buildOrder)\n    return 3 /* InvalidProject_OutputsSkipped */;\n  setupInitialBuild(state, cancellationToken);\n  let reportQueue = true;\n  let successfulProjects = 0;\n  while (true) {\n    const invalidatedProject = getNextInvalidatedProject(state, buildOrder, reportQueue);\n    if (!invalidatedProject)\n      break;\n    reportQueue = false;\n    invalidatedProject.done(cancellationToken, writeFile2, getCustomTransformers == null ? void 0 : getCustomTransformers(invalidatedProject.project));\n    if (!state.diagnostics.has(invalidatedProject.projectPath))\n      successfulProjects++;\n  }\n  disableCache(state);\n  reportErrorSummary(state, buildOrder);\n  startWatching(state, buildOrder);\n  return isCircularBuildOrder(buildOrder) ? 4 /* ProjectReferenceCycle_OutputsSkipped */ : !buildOrder.some((p) => state.diagnostics.has(toResolvedConfigFilePath(state, p))) ? 0 /* Success */ : successfulProjects ? 2 /* DiagnosticsPresent_OutputsGenerated */ : 1 /* DiagnosticsPresent_OutputsSkipped */;\n}\nfunction clean(state, project, onlyReferences) {\n  mark(\"SolutionBuilder::beforeClean\");\n  const result = cleanWorker(state, project, onlyReferences);\n  mark(\"SolutionBuilder::afterClean\");\n  measure(\"SolutionBuilder::Clean\", \"SolutionBuilder::beforeClean\", \"SolutionBuilder::afterClean\");\n  return result;\n}\nfunction cleanWorker(state, project, onlyReferences) {\n  const buildOrder = getBuildOrderFor(state, project, onlyReferences);\n  if (!buildOrder)\n    return 3 /* InvalidProject_OutputsSkipped */;\n  if (isCircularBuildOrder(buildOrder)) {\n    reportErrors(state, buildOrder.circularDiagnostics);\n    return 4 /* ProjectReferenceCycle_OutputsSkipped */;\n  }\n  const { options, host } = state;\n  const filesToDelete = options.dry ? [] : void 0;\n  for (const proj of buildOrder) {\n    const resolvedPath = toResolvedConfigFilePath(state, proj);\n    const parsed = parseConfigFile(state, proj, resolvedPath);\n    if (parsed === void 0) {\n      reportParseConfigFileDiagnostic(state, resolvedPath);\n      continue;\n    }\n    const outputs = getAllProjectOutputs(parsed, !host.useCaseSensitiveFileNames());\n    if (!outputs.length)\n      continue;\n    const inputFileNames = new Set2(parsed.fileNames.map((f) => toPath2(state, f)));\n    for (const output of outputs) {\n      if (inputFileNames.has(toPath2(state, output)))\n        continue;\n      if (host.fileExists(output)) {\n        if (filesToDelete) {\n          filesToDelete.push(output);\n        } else {\n          host.deleteFile(output);\n          invalidateProject(state, resolvedPath, 0 /* None */);\n        }\n      }\n    }\n  }\n  if (filesToDelete) {\n    reportStatus(state, Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0, filesToDelete.map((f) => `\\r\n * ${f}`).join(\"\"));\n  }\n  return 0 /* Success */;\n}\nfunction invalidateProject(state, resolved, reloadLevel) {\n  if (state.host.getParsedCommandLine && reloadLevel === 1 /* Partial */) {\n    reloadLevel = 2 /* Full */;\n  }\n  if (reloadLevel === 2 /* Full */) {\n    state.configFileCache.delete(resolved);\n    state.buildOrder = void 0;\n  }\n  state.needsSummary = true;\n  clearProjectStatus(state, resolved);\n  addProjToQueue(state, resolved, reloadLevel);\n  enableCache(state);\n}\nfunction invalidateProjectAndScheduleBuilds(state, resolvedPath, reloadLevel) {\n  state.reportFileChangeDetected = true;\n  invalidateProject(state, resolvedPath, reloadLevel);\n  scheduleBuildInvalidatedProject(state, 250, true);\n}\nfunction scheduleBuildInvalidatedProject(state, time, changeDetected) {\n  const { hostWithWatch } = state;\n  if (!hostWithWatch.setTimeout || !hostWithWatch.clearTimeout) {\n    return;\n  }\n  if (state.timerToBuildInvalidatedProject) {\n    hostWithWatch.clearTimeout(state.timerToBuildInvalidatedProject);\n  }\n  state.timerToBuildInvalidatedProject = hostWithWatch.setTimeout(buildNextInvalidatedProject, time, state, changeDetected);\n}\nfunction buildNextInvalidatedProject(state, changeDetected) {\n  mark(\"SolutionBuilder::beforeBuild\");\n  const buildOrder = buildNextInvalidatedProjectWorker(state, changeDetected);\n  mark(\"SolutionBuilder::afterBuild\");\n  measure(\"SolutionBuilder::Build\", \"SolutionBuilder::beforeBuild\", \"SolutionBuilder::afterBuild\");\n  if (buildOrder)\n    reportErrorSummary(state, buildOrder);\n}\nfunction buildNextInvalidatedProjectWorker(state, changeDetected) {\n  state.timerToBuildInvalidatedProject = void 0;\n  if (state.reportFileChangeDetected) {\n    state.reportFileChangeDetected = false;\n    state.projectErrorsReported.clear();\n    reportWatchStatus(state, Diagnostics.File_change_detected_Starting_incremental_compilation);\n  }\n  let projectsBuilt = 0;\n  const buildOrder = getBuildOrder(state);\n  const invalidatedProject = getNextInvalidatedProject(state, buildOrder, false);\n  if (invalidatedProject) {\n    invalidatedProject.done();\n    projectsBuilt++;\n    while (state.projectPendingBuild.size) {\n      if (state.timerToBuildInvalidatedProject)\n        return;\n      const info = getNextInvalidatedProjectCreateInfo(state, buildOrder, false);\n      if (!info)\n        break;\n      if (info.kind !== 2 /* UpdateOutputFileStamps */ && (changeDetected || projectsBuilt === 5)) {\n        scheduleBuildInvalidatedProject(state, 100, false);\n        return;\n      }\n      const project = createInvalidatedProjectWithInfo(state, info, buildOrder);\n      project.done();\n      if (info.kind !== 2 /* UpdateOutputFileStamps */)\n        projectsBuilt++;\n    }\n  }\n  disableCache(state);\n  return buildOrder;\n}\nfunction watchConfigFile(state, resolved, resolvedPath, parsed) {\n  if (!state.watch || state.allWatchedConfigFiles.has(resolvedPath))\n    return;\n  state.allWatchedConfigFiles.set(resolvedPath, watchFile(\n    state,\n    resolved,\n    () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 2 /* Full */),\n    2e3 /* High */,\n    parsed == null ? void 0 : parsed.watchOptions,\n    WatchType.ConfigFile,\n    resolved\n  ));\n}\nfunction watchExtendedConfigFiles(state, resolvedPath, parsed) {\n  updateSharedExtendedConfigFileWatcher(\n    resolvedPath,\n    parsed == null ? void 0 : parsed.options,\n    state.allWatchedExtendedConfigFiles,\n    (extendedConfigFileName, extendedConfigFilePath) => watchFile(\n      state,\n      extendedConfigFileName,\n      () => {\n        var _a2;\n        return (_a2 = state.allWatchedExtendedConfigFiles.get(extendedConfigFilePath)) == null ? void 0 : _a2.projects.forEach((projectConfigFilePath) => invalidateProjectAndScheduleBuilds(state, projectConfigFilePath, 2 /* Full */));\n      },\n      2e3 /* High */,\n      parsed == null ? void 0 : parsed.watchOptions,\n      WatchType.ExtendedConfigFile\n    ),\n    (fileName) => toPath2(state, fileName)\n  );\n}\nfunction watchWildCardDirectories(state, resolved, resolvedPath, parsed) {\n  if (!state.watch)\n    return;\n  updateWatchingWildcardDirectories(\n    getOrCreateValueMapFromConfigFileMap(state.allWatchedWildcardDirectories, resolvedPath),\n    new Map2(getEntries(parsed.wildcardDirectories)),\n    (dir, flags) => state.watchDirectory(\n      dir,\n      (fileOrDirectory) => {\n        var _a2;\n        if (isIgnoredFileFromWildCardWatching({\n          watchedDirPath: toPath2(state, dir),\n          fileOrDirectory,\n          fileOrDirectoryPath: toPath2(state, fileOrDirectory),\n          configFileName: resolved,\n          currentDirectory: state.currentDirectory,\n          options: parsed.options,\n          program: state.builderPrograms.get(resolvedPath) || ((_a2 = getCachedParsedConfigFile(state, resolvedPath)) == null ? void 0 : _a2.fileNames),\n          useCaseSensitiveFileNames: state.parseConfigFileHost.useCaseSensitiveFileNames,\n          writeLog: (s) => state.writeLog(s),\n          toPath: (fileName) => toPath2(state, fileName)\n        }))\n          return;\n        invalidateProjectAndScheduleBuilds(state, resolvedPath, 1 /* Partial */);\n      },\n      flags,\n      parsed == null ? void 0 : parsed.watchOptions,\n      WatchType.WildcardDirectory,\n      resolved\n    )\n  );\n}\nfunction watchInputFiles(state, resolved, resolvedPath, parsed) {\n  if (!state.watch)\n    return;\n  mutateMap(\n    getOrCreateValueMapFromConfigFileMap(state.allWatchedInputFiles, resolvedPath),\n    arrayToMap(parsed.fileNames, (fileName) => toPath2(state, fileName)),\n    {\n      createNewValue: (_path, input) => watchFile(\n        state,\n        input,\n        () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 0 /* None */),\n        250 /* Low */,\n        parsed == null ? void 0 : parsed.watchOptions,\n        WatchType.SourceFile,\n        resolved\n      ),\n      onDeleteValue: closeFileWatcher\n    }\n  );\n}\nfunction watchPackageJsonFiles(state, resolved, resolvedPath, parsed) {\n  if (!state.watch || !state.lastCachedPackageJsonLookups)\n    return;\n  mutateMap(\n    getOrCreateValueMapFromConfigFileMap(state.allWatchedPackageJsonFiles, resolvedPath),\n    new Map2(state.lastCachedPackageJsonLookups.get(resolvedPath)),\n    {\n      createNewValue: (path, _input) => watchFile(\n        state,\n        path,\n        () => invalidateProjectAndScheduleBuilds(state, resolvedPath, 0 /* None */),\n        2e3 /* High */,\n        parsed == null ? void 0 : parsed.watchOptions,\n        WatchType.PackageJson,\n        resolved\n      ),\n      onDeleteValue: closeFileWatcher\n    }\n  );\n}\nfunction startWatching(state, buildOrder) {\n  if (!state.watchAllProjectsPending)\n    return;\n  mark(\"SolutionBuilder::beforeWatcherCreation\");\n  state.watchAllProjectsPending = false;\n  for (const resolved of getBuildOrderFromAnyBuildOrder(buildOrder)) {\n    const resolvedPath = toResolvedConfigFilePath(state, resolved);\n    const cfg = parseConfigFile(state, resolved, resolvedPath);\n    watchConfigFile(state, resolved, resolvedPath, cfg);\n    watchExtendedConfigFiles(state, resolvedPath, cfg);\n    if (cfg) {\n      watchWildCardDirectories(state, resolved, resolvedPath, cfg);\n      watchInputFiles(state, resolved, resolvedPath, cfg);\n      watchPackageJsonFiles(state, resolved, resolvedPath, cfg);\n    }\n  }\n  mark(\"SolutionBuilder::afterWatcherCreation\");\n  measure(\"SolutionBuilder::Watcher creation\", \"SolutionBuilder::beforeWatcherCreation\", \"SolutionBuilder::afterWatcherCreation\");\n}\nfunction stopWatching(state) {\n  clearMap(state.allWatchedConfigFiles, closeFileWatcher);\n  clearMap(state.allWatchedExtendedConfigFiles, closeFileWatcherOf);\n  clearMap(state.allWatchedWildcardDirectories, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcherOf));\n  clearMap(state.allWatchedInputFiles, (watchedWildcardDirectories) => clearMap(watchedWildcardDirectories, closeFileWatcher));\n  clearMap(state.allWatchedPackageJsonFiles, (watchedPacageJsonFiles) => clearMap(watchedPacageJsonFiles, closeFileWatcher));\n}\nfunction createSolutionBuilderWorker(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions) {\n  const state = createSolutionBuilderState(watch, hostOrHostWithWatch, rootNames, options, baseWatchOptions);\n  return {\n    build: (project, cancellationToken, writeFile2, getCustomTransformers) => build(state, project, cancellationToken, writeFile2, getCustomTransformers),\n    clean: (project) => clean(state, project),\n    buildReferences: (project, cancellationToken, writeFile2, getCustomTransformers) => build(state, project, cancellationToken, writeFile2, getCustomTransformers, true),\n    cleanReferences: (project) => clean(state, project, true),\n    getNextInvalidatedProject: (cancellationToken) => {\n      setupInitialBuild(state, cancellationToken);\n      return getNextInvalidatedProject(state, getBuildOrder(state), false);\n    },\n    getBuildOrder: () => getBuildOrder(state),\n    getUpToDateStatusOfProject: (project) => {\n      const configFileName = resolveProjectName(state, project);\n      const configFilePath = toResolvedConfigFilePath(state, configFileName);\n      return getUpToDateStatus(state, parseConfigFile(state, configFileName, configFilePath), configFilePath);\n    },\n    invalidateProject: (configFilePath, reloadLevel) => invalidateProject(state, configFilePath, reloadLevel || 0 /* None */),\n    close: () => stopWatching(state)\n  };\n}\nfunction relName(state, path) {\n  return convertToRelativePath(path, state.currentDirectory, (f) => state.getCanonicalFileName(f));\n}\nfunction reportStatus(state, message, ...args) {\n  state.host.reportSolutionBuilderStatus(createCompilerDiagnostic(message, ...args));\n}\nfunction reportWatchStatus(state, message, ...args) {\n  var _a2, _b;\n  (_b = (_a2 = state.hostWithWatch).onWatchStatusChange) == null ? void 0 : _b.call(_a2, createCompilerDiagnostic(message, ...args), state.host.getNewLine(), state.baseCompilerOptions);\n}\nfunction reportErrors({ host }, errors) {\n  errors.forEach((err) => host.reportDiagnostic(err));\n}\nfunction reportAndStoreErrors(state, proj, errors) {\n  reportErrors(state, errors);\n  state.projectErrorsReported.set(proj, true);\n  if (errors.length) {\n    state.diagnostics.set(proj, errors);\n  }\n}\nfunction reportParseConfigFileDiagnostic(state, proj) {\n  reportAndStoreErrors(state, proj, [state.configFileCache.get(proj)]);\n}\nfunction reportErrorSummary(state, buildOrder) {\n  if (!state.needsSummary)\n    return;\n  state.needsSummary = false;\n  const canReportSummary = state.watch || !!state.host.reportErrorSummary;\n  const { diagnostics } = state;\n  let totalErrors = 0;\n  let filesInError = [];\n  if (isCircularBuildOrder(buildOrder)) {\n    reportBuildQueue(state, buildOrder.buildOrder);\n    reportErrors(state, buildOrder.circularDiagnostics);\n    if (canReportSummary)\n      totalErrors += getErrorCountForSummary(buildOrder.circularDiagnostics);\n    if (canReportSummary)\n      filesInError = [...filesInError, ...getFilesInErrorForSummary(buildOrder.circularDiagnostics)];\n  } else {\n    buildOrder.forEach((project) => {\n      const projectPath = toResolvedConfigFilePath(state, project);\n      if (!state.projectErrorsReported.has(projectPath)) {\n        reportErrors(state, diagnostics.get(projectPath) || emptyArray);\n      }\n    });\n    if (canReportSummary)\n      diagnostics.forEach((singleProjectErrors) => totalErrors += getErrorCountForSummary(singleProjectErrors));\n    if (canReportSummary)\n      diagnostics.forEach((singleProjectErrors) => [...filesInError, ...getFilesInErrorForSummary(singleProjectErrors)]);\n  }\n  if (state.watch) {\n    reportWatchStatus(state, getWatchErrorSummaryDiagnosticMessage(totalErrors), totalErrors);\n  } else if (state.host.reportErrorSummary) {\n    state.host.reportErrorSummary(totalErrors, filesInError);\n  }\n}\nfunction reportBuildQueue(state, buildQueue) {\n  if (state.options.verbose) {\n    reportStatus(state, Diagnostics.Projects_in_this_build_Colon_0, buildQueue.map((s) => \"\\r\\n    * \" + relName(state, s)).join(\"\"));\n  }\n}\nfunction reportUpToDateStatus(state, configFileName, status) {\n  switch (status.type) {\n    case 6 /* OutOfDateWithSelf */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,\n        relName(state, configFileName),\n        relName(state, status.outOfDateOutputFileName),\n        relName(state, status.newerInputFileName)\n      );\n    case 7 /* OutOfDateWithUpstream */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,\n        relName(state, configFileName),\n        relName(state, status.outOfDateOutputFileName),\n        relName(state, status.newerProjectName)\n      );\n    case 4 /* OutputMissing */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,\n        relName(state, configFileName),\n        relName(state, status.missingOutputFileName)\n      );\n    case 5 /* ErrorReadingFile */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_there_was_error_reading_file_1,\n        relName(state, configFileName),\n        relName(state, status.fileName)\n      );\n    case 8 /* OutOfDateBuildInfo */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,\n        relName(state, configFileName),\n        relName(state, status.buildInfoFile)\n      );\n    case 1 /* UpToDate */:\n      if (status.newestInputFileTime !== void 0) {\n        return reportStatus(\n          state,\n          Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,\n          relName(state, configFileName),\n          relName(state, status.newestInputFileName || \"\"),\n          relName(state, status.oldestOutputFileName || \"\")\n        );\n      }\n      break;\n    case 3 /* OutOfDateWithPrepend */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,\n        relName(state, configFileName),\n        relName(state, status.newerProjectName)\n      );\n    case 2 /* UpToDateWithUpstreamTypes */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,\n        relName(state, configFileName)\n      );\n    case 13 /* UpToDateWithInputFileText */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,\n        relName(state, configFileName)\n      );\n    case 9 /* UpstreamOutOfDate */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,\n        relName(state, configFileName),\n        relName(state, status.upstreamProjectName)\n      );\n    case 10 /* UpstreamBlocked */:\n      return reportStatus(\n        state,\n        status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,\n        relName(state, configFileName),\n        relName(state, status.upstreamProjectName)\n      );\n    case 0 /* Unbuildable */:\n      return reportStatus(\n        state,\n        Diagnostics.Failed_to_parse_file_0_Colon_1,\n        relName(state, configFileName),\n        status.reason\n      );\n    case 12 /* TsVersionOutputOfDate */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,\n        relName(state, configFileName),\n        status.version,\n        version\n      );\n    case 15 /* ForceBuild */:\n      return reportStatus(\n        state,\n        Diagnostics.Project_0_is_being_forcibly_rebuilt,\n        relName(state, configFileName)\n      );\n    case 14 /* ContainerOnly */:\n    case 11 /* ComputingUpstream */:\n      break;\n    default:\n      assertType(status);\n  }\n}\nfunction verboseReportProjectStatus(state, configFileName, status) {\n  if (state.options.verbose) {\n    reportUpToDateStatus(state, configFileName, status);\n  }\n}\n\n// src/jsTyping/_namespaces/ts.JsTyping.ts\nvar ts_JsTyping_exports = {};\n__export(ts_JsTyping_exports, {\n  NameValidationResult: () => NameValidationResult,\n  discoverTypings: () => discoverTypings,\n  isTypingUpToDate: () => isTypingUpToDate,\n  loadSafeList: () => loadSafeList,\n  loadTypesMap: () => loadTypesMap,\n  nodeCoreModuleList: () => nodeCoreModuleList,\n  nodeCoreModules: () => nodeCoreModules,\n  nonRelativeModuleNameForTypingCache: () => nonRelativeModuleNameForTypingCache,\n  prefixedNodeCoreModuleList: () => prefixedNodeCoreModuleList,\n  renderPackageNameValidationFailure: () => renderPackageNameValidationFailure,\n  validatePackageName: () => validatePackageName\n});\n\n// src/jsTyping/jsTyping.ts\nfunction isTypingUpToDate(cachedTyping, availableTypingVersions) {\n  const availableVersion = new Version(getProperty(availableTypingVersions, `ts${versionMajorMinor}`) || getProperty(availableTypingVersions, \"latest\"));\n  return availableVersion.compareTo(cachedTyping.version) <= 0;\n}\nvar unprefixedNodeCoreModuleList = [\n  \"assert\",\n  \"assert/strict\",\n  \"async_hooks\",\n  \"buffer\",\n  \"child_process\",\n  \"cluster\",\n  \"console\",\n  \"constants\",\n  \"crypto\",\n  \"dgram\",\n  \"diagnostics_channel\",\n  \"dns\",\n  \"dns/promises\",\n  \"domain\",\n  \"events\",\n  \"fs\",\n  \"fs/promises\",\n  \"http\",\n  \"https\",\n  \"http2\",\n  \"inspector\",\n  \"module\",\n  \"net\",\n  \"os\",\n  \"path\",\n  \"perf_hooks\",\n  \"process\",\n  \"punycode\",\n  \"querystring\",\n  \"readline\",\n  \"repl\",\n  \"stream\",\n  \"stream/promises\",\n  \"string_decoder\",\n  \"timers\",\n  \"timers/promises\",\n  \"tls\",\n  \"trace_events\",\n  \"tty\",\n  \"url\",\n  \"util\",\n  \"util/types\",\n  \"v8\",\n  \"vm\",\n  \"wasi\",\n  \"worker_threads\",\n  \"zlib\"\n];\nvar prefixedNodeCoreModuleList = unprefixedNodeCoreModuleList.map((name) => `node:${name}`);\nvar nodeCoreModuleList = [...unprefixedNodeCoreModuleList, ...prefixedNodeCoreModuleList];\nvar nodeCoreModules = new Set2(nodeCoreModuleList);\nfunction nonRelativeModuleNameForTypingCache(moduleName) {\n  return nodeCoreModules.has(moduleName) ? \"node\" : moduleName;\n}\nfunction loadSafeList(host, safeListPath) {\n  const result = readConfigFile(safeListPath, (path) => host.readFile(path));\n  return new Map2(getEntries(result.config));\n}\nfunction loadTypesMap(host, typesMapPath) {\n  const result = readConfigFile(typesMapPath, (path) => host.readFile(path));\n  if (result.config) {\n    return new Map2(getEntries(result.config.simpleMap));\n  }\n  return void 0;\n}\nfunction discoverTypings(host, log, fileNames, projectRootPath, safeList, packageNameToTypingLocation, typeAcquisition, unresolvedImports, typesRegistry, compilerOptions) {\n  if (!typeAcquisition || !typeAcquisition.enable) {\n    return { cachedTypingPaths: [], newTypingNames: [], filesToWatch: [] };\n  }\n  const inferredTypings = new Map2();\n  fileNames = mapDefined(fileNames, (fileName) => {\n    const path = normalizePath(fileName);\n    if (hasJSFileExtension(path)) {\n      return path;\n    }\n  });\n  const filesToWatch = [];\n  if (typeAcquisition.include)\n    addInferredTypings(typeAcquisition.include, \"Explicitly included types\");\n  const exclude = typeAcquisition.exclude || [];\n  if (!compilerOptions.types) {\n    const possibleSearchDirs = new Set2(fileNames.map(getDirectoryPath));\n    possibleSearchDirs.add(projectRootPath);\n    possibleSearchDirs.forEach((searchDir) => {\n      getTypingNames(searchDir, \"bower.json\", \"bower_components\", filesToWatch);\n      getTypingNames(searchDir, \"package.json\", \"node_modules\", filesToWatch);\n      getTypingNames(searchDir, \"oh-package.json5\", \"oh_modules\", filesToWatch);\n    });\n  }\n  if (!typeAcquisition.disableFilenameBasedTypeAcquisition) {\n    getTypingNamesFromSourceFileNames(fileNames);\n  }\n  if (unresolvedImports) {\n    const module2 = deduplicate(\n      unresolvedImports.map(nonRelativeModuleNameForTypingCache),\n      equateStringsCaseSensitive,\n      compareStringsCaseSensitive\n    );\n    addInferredTypings(module2, \"Inferred typings from unresolved imports\");\n  }\n  packageNameToTypingLocation.forEach((typing, name) => {\n    const registryEntry = typesRegistry.get(name);\n    if (inferredTypings.has(name) && inferredTypings.get(name) === void 0 && registryEntry !== void 0 && isTypingUpToDate(typing, registryEntry)) {\n      inferredTypings.set(name, typing.typingLocation);\n    }\n  });\n  for (const excludeTypingName of exclude) {\n    const didDelete = inferredTypings.delete(excludeTypingName);\n    if (didDelete && log)\n      log(`Typing for ${excludeTypingName} is in exclude list, will be ignored.`);\n  }\n  const newTypingNames = [];\n  const cachedTypingPaths = [];\n  inferredTypings.forEach((inferred, typing) => {\n    if (inferred !== void 0) {\n      cachedTypingPaths.push(inferred);\n    } else {\n      newTypingNames.push(typing);\n    }\n  });\n  const result = { cachedTypingPaths, newTypingNames, filesToWatch };\n  if (log)\n    log(`Result: ${JSON.stringify(result)}`);\n  return result;\n  function addInferredTyping(typingName) {\n    if (!inferredTypings.has(typingName)) {\n      inferredTypings.set(typingName, void 0);\n    }\n  }\n  function addInferredTypings(typingNames, message) {\n    if (log)\n      log(`${message}: ${JSON.stringify(typingNames)}`);\n    forEach(typingNames, addInferredTyping);\n  }\n  function getTypingNames(projectRootPath2, manifestName, modulesDirName, filesToWatch2) {\n    const manifestPath = combinePaths(projectRootPath2, manifestName);\n    let manifest;\n    let manifestTypingNames;\n    if (host.fileExists(manifestPath)) {\n      filesToWatch2.push(manifestPath);\n      manifest = readConfigFile(manifestPath, (path) => host.readFile(path)).config;\n      manifestTypingNames = flatMap([manifest.dependencies, manifest.devDependencies, manifest.optionalDependencies, manifest.peerDependencies], getOwnKeys);\n      addInferredTypings(manifestTypingNames, `Typing names in '${manifestPath}' dependencies`);\n    }\n    const packagesFolderPath = combinePaths(projectRootPath2, modulesDirName);\n    filesToWatch2.push(packagesFolderPath);\n    if (!host.directoryExists(packagesFolderPath)) {\n      return;\n    }\n    const packageNames = [];\n    const dependencyManifestNames = manifestTypingNames ? manifestTypingNames.map((typingName) => combinePaths(packagesFolderPath, typingName, manifestName)) : host.readDirectory(packagesFolderPath, [\".json\" /* Json */], void 0, void 0, 3).filter((manifestPath2) => {\n      if (getBaseFileName(manifestPath2) !== manifestName) {\n        return false;\n      }\n      const pathComponents2 = getPathComponents(normalizePath(manifestPath2));\n      const isScoped = pathComponents2[pathComponents2.length - 3][0] === \"@\";\n      return isScoped && pathComponents2[pathComponents2.length - 4].toLowerCase() === modulesDirName || !isScoped && pathComponents2[pathComponents2.length - 3].toLowerCase() === modulesDirName;\n    });\n    if (log)\n      log(`Searching for typing names in ${packagesFolderPath}; all files: ${JSON.stringify(dependencyManifestNames)}`);\n    for (const manifestPath2 of dependencyManifestNames) {\n      const normalizedFileName = normalizePath(manifestPath2);\n      const result2 = readConfigFile(normalizedFileName, (path) => host.readFile(path));\n      const manifest2 = result2.config;\n      if (!manifest2.name) {\n        continue;\n      }\n      const ownTypes = manifest2.types || manifest2.typings;\n      if (ownTypes) {\n        const absolutePath = getNormalizedAbsolutePath(ownTypes, getDirectoryPath(normalizedFileName));\n        if (host.fileExists(absolutePath)) {\n          if (log)\n            log(`    Package '${manifest2.name}' provides its own types.`);\n          inferredTypings.set(manifest2.name, absolutePath);\n        } else {\n          if (log)\n            log(`    Package '${manifest2.name}' provides its own types but they are missing.`);\n        }\n      } else {\n        packageNames.push(manifest2.name);\n      }\n    }\n    addInferredTypings(packageNames, \"    Found package names\");\n  }\n  function getTypingNamesFromSourceFileNames(fileNames2) {\n    const fromFileNames = mapDefined(fileNames2, (j) => {\n      if (!hasJSFileExtension(j))\n        return void 0;\n      const inferredTypingName = removeFileExtension(getBaseFileName(j.toLowerCase()));\n      const cleanedTypingName = removeMinAndVersionNumbers(inferredTypingName);\n      return safeList.get(cleanedTypingName);\n    });\n    if (fromFileNames.length) {\n      addInferredTypings(fromFileNames, \"Inferred typings from file names\");\n    }\n    const hasJsxFile = some(fileNames2, (f) => fileExtensionIs(f, \".jsx\" /* Jsx */));\n    if (hasJsxFile) {\n      if (log)\n        log(`Inferred 'react' typings due to presence of '.jsx' extension`);\n      addInferredTyping(\"react\");\n    }\n  }\n}\nvar NameValidationResult = /* @__PURE__ */ ((NameValidationResult2) => {\n  NameValidationResult2[NameValidationResult2[\"Ok\"] = 0] = \"Ok\";\n  NameValidationResult2[NameValidationResult2[\"EmptyName\"] = 1] = \"EmptyName\";\n  NameValidationResult2[NameValidationResult2[\"NameTooLong\"] = 2] = \"NameTooLong\";\n  NameValidationResult2[NameValidationResult2[\"NameStartsWithDot\"] = 3] = \"NameStartsWithDot\";\n  NameValidationResult2[NameValidationResult2[\"NameStartsWithUnderscore\"] = 4] = \"NameStartsWithUnderscore\";\n  NameValidationResult2[NameValidationResult2[\"NameContainsNonURISafeCharacters\"] = 5] = \"NameContainsNonURISafeCharacters\";\n  return NameValidationResult2;\n})(NameValidationResult || {});\nvar maxPackageNameLength = 214;\nfunction validatePackageName(packageName) {\n  return validatePackageNameWorker(packageName, true);\n}\nfunction validatePackageNameWorker(packageName, supportScopedPackage) {\n  if (!packageName) {\n    return 1 /* EmptyName */;\n  }\n  if (packageName.length > maxPackageNameLength) {\n    return 2 /* NameTooLong */;\n  }\n  if (packageName.charCodeAt(0) === 46 /* dot */) {\n    return 3 /* NameStartsWithDot */;\n  }\n  if (packageName.charCodeAt(0) === 95 /* _ */) {\n    return 4 /* NameStartsWithUnderscore */;\n  }\n  if (supportScopedPackage) {\n    const matches = /^@([^/]+)\\/([^/]+)$/.exec(packageName);\n    if (matches) {\n      const scopeResult = validatePackageNameWorker(matches[1], false);\n      if (scopeResult !== 0 /* Ok */) {\n        return { name: matches[1], isScopeName: true, result: scopeResult };\n      }\n      const packageResult = validatePackageNameWorker(matches[2], false);\n      if (packageResult !== 0 /* Ok */) {\n        return { name: matches[2], isScopeName: false, result: packageResult };\n      }\n      return 0 /* Ok */;\n    }\n  }\n  if (encodeURIComponent(packageName) !== packageName) {\n    return 5 /* NameContainsNonURISafeCharacters */;\n  }\n  return 0 /* Ok */;\n}\nfunction renderPackageNameValidationFailure(result, typing) {\n  return typeof result === \"object\" ? renderPackageNameValidationFailureWorker(typing, result.result, result.name, result.isScopeName) : renderPackageNameValidationFailureWorker(typing, result, typing, false);\n}\nfunction renderPackageNameValidationFailureWorker(typing, result, name, isScopeName) {\n  const kind = isScopeName ? \"Scope\" : \"Package\";\n  switch (result) {\n    case 1 /* EmptyName */:\n      return `'${typing}':: ${kind} name '${name}' cannot be empty`;\n    case 2 /* NameTooLong */:\n      return `'${typing}':: ${kind} name '${name}' should be less than ${maxPackageNameLength} characters`;\n    case 3 /* NameStartsWithDot */:\n      return `'${typing}':: ${kind} name '${name}' cannot start with '.'`;\n    case 4 /* NameStartsWithUnderscore */:\n      return `'${typing}':: ${kind} name '${name}' cannot start with '_'`;\n    case 5 /* NameContainsNonURISafeCharacters */:\n      return `'${typing}':: ${kind} name '${name}' contains non URI safe characters`;\n    case 0 /* Ok */:\n      return Debug.fail();\n    default:\n      throw Debug.assertNever(result);\n  }\n}\n\n// src/jsTyping/_namespaces/ts.server.ts\nvar ts_server_exports = {};\n__export(ts_server_exports, {\n  ActionInvalidate: () => ActionInvalidate,\n  ActionPackageInstalled: () => ActionPackageInstalled,\n  ActionSet: () => ActionSet,\n  Arguments: () => Arguments,\n  EventBeginInstallTypes: () => EventBeginInstallTypes,\n  EventEndInstallTypes: () => EventEndInstallTypes,\n  EventInitializationFailed: () => EventInitializationFailed,\n  EventTypesRegistry: () => EventTypesRegistry,\n  findArgument: () => findArgument,\n  hasArgument: () => hasArgument,\n  nowString: () => nowString\n});\n\n// src/jsTyping/shared.ts\nvar ActionSet = \"action::set\";\nvar ActionInvalidate = \"action::invalidate\";\nvar ActionPackageInstalled = \"action::packageInstalled\";\nvar EventTypesRegistry = \"event::typesRegistry\";\nvar EventBeginInstallTypes = \"event::beginInstallTypes\";\nvar EventEndInstallTypes = \"event::endInstallTypes\";\nvar EventInitializationFailed = \"event::initializationFailed\";\nvar Arguments;\n((Arguments2) => {\n  Arguments2.GlobalCacheLocation = \"--globalTypingsCacheLocation\";\n  Arguments2.LogFile = \"--logFile\";\n  Arguments2.EnableTelemetry = \"--enableTelemetry\";\n  Arguments2.TypingSafeListLocation = \"--typingSafeListLocation\";\n  Arguments2.TypesMapLocation = \"--typesMapLocation\";\n  Arguments2.NpmLocation = \"--npmLocation\";\n  Arguments2.ValidateDefaultNpmLocation = \"--validateDefaultNpmLocation\";\n})(Arguments || (Arguments = {}));\nfunction hasArgument(argumentName) {\n  return sys.args.indexOf(argumentName) >= 0;\n}\nfunction findArgument(argumentName) {\n  const index = sys.args.indexOf(argumentName);\n  return index >= 0 && index < sys.args.length - 1 ? sys.args[index + 1] : void 0;\n}\nfunction nowString() {\n  const d = new Date();\n  return `${padLeft(d.getHours().toString(), 2, \"0\")}:${padLeft(d.getMinutes().toString(), 2, \"0\")}:${padLeft(d.getSeconds().toString(), 2, \"0\")}.${padLeft(d.getMilliseconds().toString(), 3, \"0\")}`;\n}\n\n// src/services/types.ts\nvar ScriptSnapshot;\n((ScriptSnapshot2) => {\n  class StringScriptSnapshot {\n    constructor(text) {\n      this.text = text;\n    }\n    getText(start, end) {\n      return start === 0 && end === this.text.length ? this.text : this.text.substring(start, end);\n    }\n    getLength() {\n      return this.text.length;\n    }\n    getChangeRange() {\n      return void 0;\n    }\n  }\n  function fromString(text) {\n    return new StringScriptSnapshot(text);\n  }\n  ScriptSnapshot2.fromString = fromString;\n})(ScriptSnapshot || (ScriptSnapshot = {}));\nvar PackageJsonDependencyGroup = /* @__PURE__ */ ((PackageJsonDependencyGroup2) => {\n  PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"Dependencies\"] = 1] = \"Dependencies\";\n  PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"DevDependencies\"] = 2] = \"DevDependencies\";\n  PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"PeerDependencies\"] = 4] = \"PeerDependencies\";\n  PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"OptionalDependencies\"] = 8] = \"OptionalDependencies\";\n  PackageJsonDependencyGroup2[PackageJsonDependencyGroup2[\"All\"] = 15] = \"All\";\n  return PackageJsonDependencyGroup2;\n})(PackageJsonDependencyGroup || {});\nvar PackageJsonAutoImportPreference = /* @__PURE__ */ ((PackageJsonAutoImportPreference2) => {\n  PackageJsonAutoImportPreference2[PackageJsonAutoImportPreference2[\"Off\"] = 0] = \"Off\";\n  PackageJsonAutoImportPreference2[PackageJsonAutoImportPreference2[\"On\"] = 1] = \"On\";\n  PackageJsonAutoImportPreference2[PackageJsonAutoImportPreference2[\"Auto\"] = 2] = \"Auto\";\n  return PackageJsonAutoImportPreference2;\n})(PackageJsonAutoImportPreference || {});\nvar LanguageServiceMode = /* @__PURE__ */ ((LanguageServiceMode2) => {\n  LanguageServiceMode2[LanguageServiceMode2[\"Semantic\"] = 0] = \"Semantic\";\n  LanguageServiceMode2[LanguageServiceMode2[\"PartialSemantic\"] = 1] = \"PartialSemantic\";\n  LanguageServiceMode2[LanguageServiceMode2[\"Syntactic\"] = 2] = \"Syntactic\";\n  return LanguageServiceMode2;\n})(LanguageServiceMode || {});\nvar emptyOptions = {};\nvar SemanticClassificationFormat = /* @__PURE__ */ ((SemanticClassificationFormat3) => {\n  SemanticClassificationFormat3[\"Original\"] = \"original\";\n  SemanticClassificationFormat3[\"TwentyTwenty\"] = \"2020\";\n  return SemanticClassificationFormat3;\n})(SemanticClassificationFormat || {});\nvar OrganizeImportsMode = /* @__PURE__ */ ((OrganizeImportsMode2) => {\n  OrganizeImportsMode2[\"All\"] = \"All\";\n  OrganizeImportsMode2[\"SortAndCombine\"] = \"SortAndCombine\";\n  OrganizeImportsMode2[\"RemoveUnused\"] = \"RemoveUnused\";\n  return OrganizeImportsMode2;\n})(OrganizeImportsMode || {});\nvar CompletionTriggerKind = /* @__PURE__ */ ((CompletionTriggerKind2) => {\n  CompletionTriggerKind2[CompletionTriggerKind2[\"Invoked\"] = 1] = \"Invoked\";\n  CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerCharacter\"] = 2] = \"TriggerCharacter\";\n  CompletionTriggerKind2[CompletionTriggerKind2[\"TriggerForIncompleteCompletions\"] = 3] = \"TriggerForIncompleteCompletions\";\n  return CompletionTriggerKind2;\n})(CompletionTriggerKind || {});\nvar InlayHintKind = /* @__PURE__ */ ((InlayHintKind2) => {\n  InlayHintKind2[\"Type\"] = \"Type\";\n  InlayHintKind2[\"Parameter\"] = \"Parameter\";\n  InlayHintKind2[\"Enum\"] = \"Enum\";\n  return InlayHintKind2;\n})(InlayHintKind || {});\nvar HighlightSpanKind = /* @__PURE__ */ ((HighlightSpanKind2) => {\n  HighlightSpanKind2[\"none\"] = \"none\";\n  HighlightSpanKind2[\"definition\"] = \"definition\";\n  HighlightSpanKind2[\"reference\"] = \"reference\";\n  HighlightSpanKind2[\"writtenReference\"] = \"writtenReference\";\n  return HighlightSpanKind2;\n})(HighlightSpanKind || {});\nvar IndentStyle = /* @__PURE__ */ ((IndentStyle2) => {\n  IndentStyle2[IndentStyle2[\"None\"] = 0] = \"None\";\n  IndentStyle2[IndentStyle2[\"Block\"] = 1] = \"Block\";\n  IndentStyle2[IndentStyle2[\"Smart\"] = 2] = \"Smart\";\n  return IndentStyle2;\n})(IndentStyle || {});\nvar SemicolonPreference = /* @__PURE__ */ ((SemicolonPreference2) => {\n  SemicolonPreference2[\"Ignore\"] = \"ignore\";\n  SemicolonPreference2[\"Insert\"] = \"insert\";\n  SemicolonPreference2[\"Remove\"] = \"remove\";\n  return SemicolonPreference2;\n})(SemicolonPreference || {});\nfunction getDefaultFormatCodeSettings(newLineCharacter) {\n  return {\n    indentSize: 4,\n    tabSize: 4,\n    newLineCharacter: newLineCharacter || \"\\n\",\n    convertTabsToSpaces: true,\n    indentStyle: 2 /* Smart */,\n    insertSpaceAfterConstructor: false,\n    insertSpaceAfterCommaDelimiter: true,\n    insertSpaceAfterSemicolonInForStatements: true,\n    insertSpaceBeforeAndAfterBinaryOperators: true,\n    insertSpaceAfterKeywordsInControlFlowStatements: true,\n    insertSpaceAfterFunctionKeywordForAnonymousFunctions: false,\n    insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: false,\n    insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: false,\n    insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: true,\n    insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: false,\n    insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces: false,\n    insertSpaceBeforeFunctionParenthesis: false,\n    placeOpenBraceOnNewLineForFunctions: false,\n    placeOpenBraceOnNewLineForControlBlocks: false,\n    semicolons: \"ignore\" /* Ignore */,\n    trimTrailingWhitespace: true\n  };\n}\nvar testFormatSettings = getDefaultFormatCodeSettings(\"\\n\");\nvar SymbolDisplayPartKind = /* @__PURE__ */ ((SymbolDisplayPartKind2) => {\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"aliasName\"] = 0] = \"aliasName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"className\"] = 1] = \"className\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"enumName\"] = 2] = \"enumName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"fieldName\"] = 3] = \"fieldName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"interfaceName\"] = 4] = \"interfaceName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"keyword\"] = 5] = \"keyword\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"lineBreak\"] = 6] = \"lineBreak\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"numericLiteral\"] = 7] = \"numericLiteral\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"stringLiteral\"] = 8] = \"stringLiteral\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"localName\"] = 9] = \"localName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"methodName\"] = 10] = \"methodName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"moduleName\"] = 11] = \"moduleName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"operator\"] = 12] = \"operator\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"parameterName\"] = 13] = \"parameterName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"propertyName\"] = 14] = \"propertyName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"punctuation\"] = 15] = \"punctuation\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"space\"] = 16] = \"space\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"text\"] = 17] = \"text\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"typeParameterName\"] = 18] = \"typeParameterName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"enumMemberName\"] = 19] = \"enumMemberName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"functionName\"] = 20] = \"functionName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"regularExpressionLiteral\"] = 21] = \"regularExpressionLiteral\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"link\"] = 22] = \"link\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"linkName\"] = 23] = \"linkName\";\n  SymbolDisplayPartKind2[SymbolDisplayPartKind2[\"linkText\"] = 24] = \"linkText\";\n  return SymbolDisplayPartKind2;\n})(SymbolDisplayPartKind || {});\nvar CompletionInfoFlags = /* @__PURE__ */ ((CompletionInfoFlags2) => {\n  CompletionInfoFlags2[CompletionInfoFlags2[\"None\"] = 0] = \"None\";\n  CompletionInfoFlags2[CompletionInfoFlags2[\"MayIncludeAutoImports\"] = 1] = \"MayIncludeAutoImports\";\n  CompletionInfoFlags2[CompletionInfoFlags2[\"IsImportStatementCompletion\"] = 2] = \"IsImportStatementCompletion\";\n  CompletionInfoFlags2[CompletionInfoFlags2[\"IsContinuation\"] = 4] = \"IsContinuation\";\n  CompletionInfoFlags2[CompletionInfoFlags2[\"ResolvedModuleSpecifiers\"] = 8] = \"ResolvedModuleSpecifiers\";\n  CompletionInfoFlags2[CompletionInfoFlags2[\"ResolvedModuleSpecifiersBeyondLimit\"] = 16] = \"ResolvedModuleSpecifiersBeyondLimit\";\n  CompletionInfoFlags2[CompletionInfoFlags2[\"MayIncludeMethodSnippets\"] = 32] = \"MayIncludeMethodSnippets\";\n  return CompletionInfoFlags2;\n})(CompletionInfoFlags || {});\nvar OutliningSpanKind = /* @__PURE__ */ ((OutliningSpanKind2) => {\n  OutliningSpanKind2[\"Comment\"] = \"comment\";\n  OutliningSpanKind2[\"Region\"] = \"region\";\n  OutliningSpanKind2[\"Code\"] = \"code\";\n  OutliningSpanKind2[\"Imports\"] = \"imports\";\n  return OutliningSpanKind2;\n})(OutliningSpanKind || {});\nvar OutputFileType = /* @__PURE__ */ ((OutputFileType2) => {\n  OutputFileType2[OutputFileType2[\"JavaScript\"] = 0] = \"JavaScript\";\n  OutputFileType2[OutputFileType2[\"SourceMap\"] = 1] = \"SourceMap\";\n  OutputFileType2[OutputFileType2[\"Declaration\"] = 2] = \"Declaration\";\n  return OutputFileType2;\n})(OutputFileType || {});\nvar EndOfLineState = /* @__PURE__ */ ((EndOfLineState3) => {\n  EndOfLineState3[EndOfLineState3[\"None\"] = 0] = \"None\";\n  EndOfLineState3[EndOfLineState3[\"InMultiLineCommentTrivia\"] = 1] = \"InMultiLineCommentTrivia\";\n  EndOfLineState3[EndOfLineState3[\"InSingleQuoteStringLiteral\"] = 2] = \"InSingleQuoteStringLiteral\";\n  EndOfLineState3[EndOfLineState3[\"InDoubleQuoteStringLiteral\"] = 3] = \"InDoubleQuoteStringLiteral\";\n  EndOfLineState3[EndOfLineState3[\"InTemplateHeadOrNoSubstitutionTemplate\"] = 4] = \"InTemplateHeadOrNoSubstitutionTemplate\";\n  EndOfLineState3[EndOfLineState3[\"InTemplateMiddleOrTail\"] = 5] = \"InTemplateMiddleOrTail\";\n  EndOfLineState3[EndOfLineState3[\"InTemplateSubstitutionPosition\"] = 6] = \"InTemplateSubstitutionPosition\";\n  return EndOfLineState3;\n})(EndOfLineState || {});\nvar TokenClass = /* @__PURE__ */ ((TokenClass2) => {\n  TokenClass2[TokenClass2[\"Punctuation\"] = 0] = \"Punctuation\";\n  TokenClass2[TokenClass2[\"Keyword\"] = 1] = \"Keyword\";\n  TokenClass2[TokenClass2[\"Operator\"] = 2] = \"Operator\";\n  TokenClass2[TokenClass2[\"Comment\"] = 3] = \"Comment\";\n  TokenClass2[TokenClass2[\"Whitespace\"] = 4] = \"Whitespace\";\n  TokenClass2[TokenClass2[\"Identifier\"] = 5] = \"Identifier\";\n  TokenClass2[TokenClass2[\"NumberLiteral\"] = 6] = \"NumberLiteral\";\n  TokenClass2[TokenClass2[\"BigIntLiteral\"] = 7] = \"BigIntLiteral\";\n  TokenClass2[TokenClass2[\"StringLiteral\"] = 8] = \"StringLiteral\";\n  TokenClass2[TokenClass2[\"RegExpLiteral\"] = 9] = \"RegExpLiteral\";\n  return TokenClass2;\n})(TokenClass || {});\nvar ScriptElementKind = /* @__PURE__ */ ((ScriptElementKind2) => {\n  ScriptElementKind2[\"unknown\"] = \"\";\n  ScriptElementKind2[\"warning\"] = \"warning\";\n  ScriptElementKind2[\"keyword\"] = \"keyword\";\n  ScriptElementKind2[\"scriptElement\"] = \"script\";\n  ScriptElementKind2[\"moduleElement\"] = \"module\";\n  ScriptElementKind2[\"classElement\"] = \"class\";\n  ScriptElementKind2[\"localClassElement\"] = \"local class\";\n  ScriptElementKind2[\"structElement\"] = \"struct\";\n  ScriptElementKind2[\"interfaceElement\"] = \"interface\";\n  ScriptElementKind2[\"typeElement\"] = \"type\";\n  ScriptElementKind2[\"enumElement\"] = \"enum\";\n  ScriptElementKind2[\"enumMemberElement\"] = \"enum member\";\n  ScriptElementKind2[\"variableElement\"] = \"var\";\n  ScriptElementKind2[\"localVariableElement\"] = \"local var\";\n  ScriptElementKind2[\"functionElement\"] = \"function\";\n  ScriptElementKind2[\"localFunctionElement\"] = \"local function\";\n  ScriptElementKind2[\"memberFunctionElement\"] = \"method\";\n  ScriptElementKind2[\"memberGetAccessorElement\"] = \"getter\";\n  ScriptElementKind2[\"memberSetAccessorElement\"] = \"setter\";\n  ScriptElementKind2[\"memberVariableElement\"] = \"property\";\n  ScriptElementKind2[\"memberAccessorVariableElement\"] = \"accessor\";\n  ScriptElementKind2[\"constructorImplementationElement\"] = \"constructor\";\n  ScriptElementKind2[\"callSignatureElement\"] = \"call\";\n  ScriptElementKind2[\"indexSignatureElement\"] = \"index\";\n  ScriptElementKind2[\"constructSignatureElement\"] = \"construct\";\n  ScriptElementKind2[\"parameterElement\"] = \"parameter\";\n  ScriptElementKind2[\"typeParameterElement\"] = \"type parameter\";\n  ScriptElementKind2[\"primitiveType\"] = \"primitive type\";\n  ScriptElementKind2[\"label\"] = \"label\";\n  ScriptElementKind2[\"alias\"] = \"alias\";\n  ScriptElementKind2[\"constElement\"] = \"const\";\n  ScriptElementKind2[\"letElement\"] = \"let\";\n  ScriptElementKind2[\"directory\"] = \"directory\";\n  ScriptElementKind2[\"externalModuleName\"] = \"external module name\";\n  ScriptElementKind2[\"jsxAttribute\"] = \"JSX attribute\";\n  ScriptElementKind2[\"string\"] = \"string\";\n  ScriptElementKind2[\"link\"] = \"link\";\n  ScriptElementKind2[\"linkName\"] = \"link name\";\n  ScriptElementKind2[\"linkText\"] = \"link text\";\n  return ScriptElementKind2;\n})(ScriptElementKind || {});\nvar ScriptElementKindModifier = /* @__PURE__ */ ((ScriptElementKindModifier2) => {\n  ScriptElementKindModifier2[\"none\"] = \"\";\n  ScriptElementKindModifier2[\"publicMemberModifier\"] = \"public\";\n  ScriptElementKindModifier2[\"privateMemberModifier\"] = \"private\";\n  ScriptElementKindModifier2[\"protectedMemberModifier\"] = \"protected\";\n  ScriptElementKindModifier2[\"exportedModifier\"] = \"export\";\n  ScriptElementKindModifier2[\"ambientModifier\"] = \"declare\";\n  ScriptElementKindModifier2[\"staticModifier\"] = \"static\";\n  ScriptElementKindModifier2[\"abstractModifier\"] = \"abstract\";\n  ScriptElementKindModifier2[\"optionalModifier\"] = \"optional\";\n  ScriptElementKindModifier2[\"deprecatedModifier\"] = \"deprecated\";\n  ScriptElementKindModifier2[\"dtsModifier\"] = \".d.ts\";\n  ScriptElementKindModifier2[\"tsModifier\"] = \".ts\";\n  ScriptElementKindModifier2[\"tsxModifier\"] = \".tsx\";\n  ScriptElementKindModifier2[\"jsModifier\"] = \".js\";\n  ScriptElementKindModifier2[\"jsxModifier\"] = \".jsx\";\n  ScriptElementKindModifier2[\"jsonModifier\"] = \".json\";\n  ScriptElementKindModifier2[\"dmtsModifier\"] = \".d.mts\";\n  ScriptElementKindModifier2[\"mtsModifier\"] = \".mts\";\n  ScriptElementKindModifier2[\"mjsModifier\"] = \".mjs\";\n  ScriptElementKindModifier2[\"dctsModifier\"] = \".d.cts\";\n  ScriptElementKindModifier2[\"ctsModifier\"] = \".cts\";\n  ScriptElementKindModifier2[\"cjsModifier\"] = \".cjs\";\n  ScriptElementKindModifier2[\"etsModifier\"] = \".ets\";\n  ScriptElementKindModifier2[\"detsModifier\"] = \".d.ets\";\n  return ScriptElementKindModifier2;\n})(ScriptElementKindModifier || {});\nvar ClassificationTypeNames = /* @__PURE__ */ ((ClassificationTypeNames2) => {\n  ClassificationTypeNames2[\"comment\"] = \"comment\";\n  ClassificationTypeNames2[\"identifier\"] = \"identifier\";\n  ClassificationTypeNames2[\"keyword\"] = \"keyword\";\n  ClassificationTypeNames2[\"numericLiteral\"] = \"number\";\n  ClassificationTypeNames2[\"bigintLiteral\"] = \"bigint\";\n  ClassificationTypeNames2[\"operator\"] = \"operator\";\n  ClassificationTypeNames2[\"stringLiteral\"] = \"string\";\n  ClassificationTypeNames2[\"whiteSpace\"] = \"whitespace\";\n  ClassificationTypeNames2[\"text\"] = \"text\";\n  ClassificationTypeNames2[\"punctuation\"] = \"punctuation\";\n  ClassificationTypeNames2[\"className\"] = \"class name\";\n  ClassificationTypeNames2[\"enumName\"] = \"enum name\";\n  ClassificationTypeNames2[\"interfaceName\"] = \"interface name\";\n  ClassificationTypeNames2[\"moduleName\"] = \"module name\";\n  ClassificationTypeNames2[\"typeParameterName\"] = \"type parameter name\";\n  ClassificationTypeNames2[\"typeAliasName\"] = \"type alias name\";\n  ClassificationTypeNames2[\"parameterName\"] = \"parameter name\";\n  ClassificationTypeNames2[\"docCommentTagName\"] = \"doc comment tag name\";\n  ClassificationTypeNames2[\"jsxOpenTagName\"] = \"jsx open tag name\";\n  ClassificationTypeNames2[\"jsxCloseTagName\"] = \"jsx close tag name\";\n  ClassificationTypeNames2[\"jsxSelfClosingTagName\"] = \"jsx self closing tag name\";\n  ClassificationTypeNames2[\"jsxAttribute\"] = \"jsx attribute\";\n  ClassificationTypeNames2[\"jsxText\"] = \"jsx text\";\n  ClassificationTypeNames2[\"jsxAttributeStringLiteralValue\"] = \"jsx attribute string literal value\";\n  return ClassificationTypeNames2;\n})(ClassificationTypeNames || {});\nvar ClassificationType = /* @__PURE__ */ ((ClassificationType2) => {\n  ClassificationType2[ClassificationType2[\"comment\"] = 1] = \"comment\";\n  ClassificationType2[ClassificationType2[\"identifier\"] = 2] = \"identifier\";\n  ClassificationType2[ClassificationType2[\"keyword\"] = 3] = \"keyword\";\n  ClassificationType2[ClassificationType2[\"numericLiteral\"] = 4] = \"numericLiteral\";\n  ClassificationType2[ClassificationType2[\"operator\"] = 5] = \"operator\";\n  ClassificationType2[ClassificationType2[\"stringLiteral\"] = 6] = \"stringLiteral\";\n  ClassificationType2[ClassificationType2[\"regularExpressionLiteral\"] = 7] = \"regularExpressionLiteral\";\n  ClassificationType2[ClassificationType2[\"whiteSpace\"] = 8] = \"whiteSpace\";\n  ClassificationType2[ClassificationType2[\"text\"] = 9] = \"text\";\n  ClassificationType2[ClassificationType2[\"punctuation\"] = 10] = \"punctuation\";\n  ClassificationType2[ClassificationType2[\"className\"] = 11] = \"className\";\n  ClassificationType2[ClassificationType2[\"enumName\"] = 12] = \"enumName\";\n  ClassificationType2[ClassificationType2[\"interfaceName\"] = 13] = \"interfaceName\";\n  ClassificationType2[ClassificationType2[\"moduleName\"] = 14] = \"moduleName\";\n  ClassificationType2[ClassificationType2[\"typeParameterName\"] = 15] = \"typeParameterName\";\n  ClassificationType2[ClassificationType2[\"typeAliasName\"] = 16] = \"typeAliasName\";\n  ClassificationType2[ClassificationType2[\"parameterName\"] = 17] = \"parameterName\";\n  ClassificationType2[ClassificationType2[\"docCommentTagName\"] = 18] = \"docCommentTagName\";\n  ClassificationType2[ClassificationType2[\"jsxOpenTagName\"] = 19] = \"jsxOpenTagName\";\n  ClassificationType2[ClassificationType2[\"jsxCloseTagName\"] = 20] = \"jsxCloseTagName\";\n  ClassificationType2[ClassificationType2[\"jsxSelfClosingTagName\"] = 21] = \"jsxSelfClosingTagName\";\n  ClassificationType2[ClassificationType2[\"jsxAttribute\"] = 22] = \"jsxAttribute\";\n  ClassificationType2[ClassificationType2[\"jsxText\"] = 23] = \"jsxText\";\n  ClassificationType2[ClassificationType2[\"jsxAttributeStringLiteralValue\"] = 24] = \"jsxAttributeStringLiteralValue\";\n  ClassificationType2[ClassificationType2[\"bigintLiteral\"] = 25] = \"bigintLiteral\";\n  return ClassificationType2;\n})(ClassificationType || {});\n\n// src/services/utilities.ts\nvar scanner = createScanner(99 /* Latest */, true);\nvar SemanticMeaning = /* @__PURE__ */ ((SemanticMeaning3) => {\n  SemanticMeaning3[SemanticMeaning3[\"None\"] = 0] = \"None\";\n  SemanticMeaning3[SemanticMeaning3[\"Value\"] = 1] = \"Value\";\n  SemanticMeaning3[SemanticMeaning3[\"Type\"] = 2] = \"Type\";\n  SemanticMeaning3[SemanticMeaning3[\"Namespace\"] = 4] = \"Namespace\";\n  SemanticMeaning3[SemanticMeaning3[\"All\"] = 7] = \"All\";\n  return SemanticMeaning3;\n})(SemanticMeaning || {});\nfunction getMeaningFromDeclaration(node) {\n  switch (node.kind) {\n    case 261 /* VariableDeclaration */:\n      return isInJSFile(node) && getJSDocEnumTag(node) ? 7 /* All */ : 1 /* Value */;\n    case 168 /* Parameter */:\n    case 208 /* BindingElement */:\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 305 /* PropertyAssignment */:\n    case 306 /* ShorthandPropertyAssignment */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 176 /* Constructor */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 301 /* CatchClause */:\n    case 294 /* JsxAttribute */:\n      return 1 /* Value */;\n    case 167 /* TypeParameter */:\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 187 /* TypeLiteral */:\n      return 2 /* Type */;\n    case 354 /* JSDocTypedefTag */:\n      return node.name === void 0 ? 1 /* Value */ | 2 /* Type */ : 2 /* Type */;\n    case 308 /* EnumMember */:\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n      return 1 /* Value */ | 2 /* Type */;\n    case 266 /* AnnotationDeclaration */:\n      return 2 /* Type */;\n    case 270 /* ModuleDeclaration */:\n      if (isAmbientModule(node)) {\n        return 4 /* Namespace */ | 1 /* Value */;\n      } else if (getModuleInstanceState(node) === 1 /* Instantiated */) {\n        return 4 /* Namespace */ | 1 /* Value */;\n      } else {\n        return 4 /* Namespace */;\n      }\n    case 269 /* EnumDeclaration */:\n    case 278 /* NamedImports */:\n    case 279 /* ImportSpecifier */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 275 /* ImportDeclaration */:\n    case 280 /* ExportAssignment */:\n    case 281 /* ExportDeclaration */:\n      return 7 /* All */;\n    case 314 /* SourceFile */:\n      return 4 /* Namespace */ | 1 /* Value */;\n  }\n  return 7 /* All */;\n}\nfunction getMeaningFromLocation(node) {\n  node = getAdjustedReferenceLocation(node);\n  const parent2 = node.parent;\n  if (node.kind === 314 /* SourceFile */) {\n    return 1 /* Value */;\n  } else if (isExportAssignment(parent2) || isExportSpecifier(parent2) || isExternalModuleReference(parent2) || isImportSpecifier(parent2) || isImportClause(parent2) || isImportEqualsDeclaration(parent2) && node === parent2.name) {\n    return 7 /* All */;\n  } else if (isInRightSideOfInternalImportEqualsDeclaration(node)) {\n    return getMeaningFromRightHandSideOfImportEquals(node);\n  } else if (isDeclarationName(node)) {\n    return getMeaningFromDeclaration(parent2);\n  } else if (isEntityName(node) && findAncestor(node, or(isJSDocNameReference, isJSDocLinkLike, isJSDocMemberName))) {\n    return 7 /* All */;\n  } else if (isTypeReference(node)) {\n    return 2 /* Type */;\n  } else if (isNamespaceReference(node)) {\n    return 4 /* Namespace */;\n  } else if (isTypeParameterDeclaration(parent2)) {\n    Debug.assert(isJSDocTemplateTag(parent2.parent));\n    return 2 /* Type */;\n  } else if (isLiteralTypeNode(parent2)) {\n    return 2 /* Type */ | 1 /* Value */;\n  } else {\n    return 1 /* Value */;\n  }\n}\nfunction getMeaningFromRightHandSideOfImportEquals(node) {\n  const name = node.kind === 165 /* QualifiedName */ ? node : isQualifiedName(node.parent) && node.parent.right === node ? node.parent : void 0;\n  return name && name.parent.kind === 274 /* ImportEqualsDeclaration */ ? 7 /* All */ : 4 /* Namespace */;\n}\nfunction isInRightSideOfInternalImportEqualsDeclaration(node) {\n  while (node.parent.kind === 165 /* QualifiedName */) {\n    node = node.parent;\n  }\n  return isInternalModuleImportEqualsDeclaration(node.parent) && node.parent.moduleReference === node;\n}\nfunction isNamespaceReference(node) {\n  return isQualifiedNameNamespaceReference(node) || isPropertyAccessNamespaceReference(node);\n}\nfunction isQualifiedNameNamespaceReference(node) {\n  let root = node;\n  let isLastClause = true;\n  if (root.parent.kind === 165 /* QualifiedName */) {\n    while (root.parent && root.parent.kind === 165 /* QualifiedName */) {\n      root = root.parent;\n    }\n    isLastClause = root.right === node;\n  }\n  return root.parent.kind === 183 /* TypeReference */ && !isLastClause;\n}\nfunction isPropertyAccessNamespaceReference(node) {\n  let root = node;\n  let isLastClause = true;\n  if (root.parent.kind === 211 /* PropertyAccessExpression */) {\n    while (root.parent && root.parent.kind === 211 /* PropertyAccessExpression */) {\n      root = root.parent;\n    }\n    isLastClause = root.name === node;\n  }\n  if (!isLastClause && root.parent.kind === 234 /* ExpressionWithTypeArguments */ && root.parent.parent.kind === 300 /* HeritageClause */) {\n    const decl = root.parent.parent.parent;\n    return (decl.kind === 264 /* ClassDeclaration */ || decl.kind === 265 /* StructDeclaration */) && root.parent.parent.token === 118 /* ImplementsKeyword */ || decl.kind === 267 /* InterfaceDeclaration */ && root.parent.parent.token === 95 /* ExtendsKeyword */;\n  }\n  return false;\n}\nfunction isTypeReference(node) {\n  if (isRightSideOfQualifiedNameOrPropertyAccess(node)) {\n    node = node.parent;\n  }\n  switch (node.kind) {\n    case 109 /* ThisKeyword */:\n      return !isExpressionNode(node);\n    case 197 /* ThisType */:\n      return true;\n  }\n  switch (node.parent.kind) {\n    case 183 /* TypeReference */:\n      return true;\n    case 205 /* ImportType */:\n      return !node.parent.isTypeOf;\n    case 234 /* ExpressionWithTypeArguments */:\n      return isPartOfTypeNode(node.parent);\n  }\n  return false;\n}\nfunction isCallExpressionTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n  return isCalleeWorker(node, isCallExpression, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n}\nfunction isNewExpressionTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n  return isCalleeWorker(node, isNewExpression, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n}\nfunction isCallOrNewExpressionTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n  return isCalleeWorker(node, isCallOrNewExpression, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n}\nfunction isTaggedTemplateTag(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n  return isCalleeWorker(node, isTaggedTemplateExpression, selectTagOfTaggedTemplateExpression, includeElementAccess, skipPastOuterExpressions);\n}\nfunction isDecoratorTarget(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n  return isCalleeWorker(node, isDecorator, selectExpressionOfCallOrNewExpressionOrDecorator, includeElementAccess, skipPastOuterExpressions);\n}\nfunction isJsxOpeningLikeElementTagName(node, includeElementAccess = false, skipPastOuterExpressions = false) {\n  return isCalleeWorker(node, isJsxOpeningLikeElement, selectTagNameOfJsxOpeningLikeElement, includeElementAccess, skipPastOuterExpressions);\n}\nfunction selectExpressionOfCallOrNewExpressionOrDecorator(node) {\n  return node.expression;\n}\nfunction selectTagOfTaggedTemplateExpression(node) {\n  return node.tag;\n}\nfunction selectTagNameOfJsxOpeningLikeElement(node) {\n  return node.tagName;\n}\nfunction isCalleeWorker(node, pred, calleeSelector, includeElementAccess, skipPastOuterExpressions) {\n  let target = includeElementAccess ? climbPastPropertyOrElementAccess(node) : climbPastPropertyAccess(node);\n  if (skipPastOuterExpressions) {\n    target = skipOuterExpressions(target);\n  }\n  return !!target && !!target.parent && pred(target.parent) && calleeSelector(target.parent) === target;\n}\nfunction climbPastPropertyAccess(node) {\n  return isRightSideOfPropertyAccess(node) ? node.parent : node;\n}\nfunction climbPastPropertyOrElementAccess(node) {\n  return isRightSideOfPropertyAccess(node) || isArgumentExpressionOfElementAccess(node) ? node.parent : node;\n}\nfunction getTargetLabel(referenceNode, labelName) {\n  while (referenceNode) {\n    if (referenceNode.kind === 257 /* LabeledStatement */ && referenceNode.label.escapedText === labelName) {\n      return referenceNode.label;\n    }\n    referenceNode = referenceNode.parent;\n  }\n  return void 0;\n}\nfunction hasPropertyAccessExpressionWithName(node, funcName) {\n  if (!isPropertyAccessExpression(node.expression)) {\n    return false;\n  }\n  return node.expression.name.text === funcName;\n}\nfunction isJumpStatementTarget(node) {\n  var _a2;\n  return isIdentifier(node) && ((_a2 = tryCast(node.parent, isBreakOrContinueStatement)) == null ? void 0 : _a2.label) === node;\n}\nfunction isLabelOfLabeledStatement(node) {\n  var _a2;\n  return isIdentifier(node) && ((_a2 = tryCast(node.parent, isLabeledStatement)) == null ? void 0 : _a2.label) === node;\n}\nfunction isLabelName(node) {\n  return isLabelOfLabeledStatement(node) || isJumpStatementTarget(node);\n}\nfunction isTagName(node) {\n  var _a2;\n  return ((_a2 = tryCast(node.parent, isJSDocTag)) == null ? void 0 : _a2.tagName) === node;\n}\nfunction isRightSideOfQualifiedName(node) {\n  var _a2;\n  return ((_a2 = tryCast(node.parent, isQualifiedName)) == null ? void 0 : _a2.right) === node;\n}\nfunction isRightSideOfPropertyAccess(node) {\n  var _a2;\n  return ((_a2 = tryCast(node.parent, isPropertyAccessExpression)) == null ? void 0 : _a2.name) === node;\n}\nfunction isArgumentExpressionOfElementAccess(node) {\n  var _a2;\n  return ((_a2 = tryCast(node.parent, isElementAccessExpression)) == null ? void 0 : _a2.argumentExpression) === node;\n}\nfunction isNameOfModuleDeclaration(node) {\n  var _a2;\n  return ((_a2 = tryCast(node.parent, isModuleDeclaration)) == null ? void 0 : _a2.name) === node;\n}\nfunction isNameOfFunctionDeclaration(node) {\n  var _a2;\n  return isIdentifier(node) && ((_a2 = tryCast(node.parent, isFunctionLike)) == null ? void 0 : _a2.name) === node;\n}\nfunction isLiteralNameOfPropertyDeclarationOrIndexAccess(node) {\n  switch (node.parent.kind) {\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 305 /* PropertyAssignment */:\n    case 308 /* EnumMember */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 270 /* ModuleDeclaration */:\n      return getNameOfDeclaration(node.parent) === node;\n    case 212 /* ElementAccessExpression */:\n      return node.parent.argumentExpression === node;\n    case 166 /* ComputedPropertyName */:\n      return true;\n    case 201 /* LiteralType */:\n      return node.parent.parent.kind === 199 /* IndexedAccessType */;\n    default:\n      return false;\n  }\n}\nfunction isExpressionOfExternalModuleImportEqualsDeclaration(node) {\n  return isExternalModuleImportEqualsDeclaration(node.parent.parent) && getExternalModuleImportEqualsDeclarationExpression(node.parent.parent) === node;\n}\nfunction getContainerNode(node) {\n  if (isJSDocTypeAlias(node)) {\n    node = node.parent.parent;\n  }\n  while (true) {\n    node = node.parent;\n    if (!node) {\n      return void 0;\n    }\n    switch (node.kind) {\n      case 314 /* SourceFile */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 270 /* ModuleDeclaration */:\n        return node;\n    }\n  }\n}\nfunction getNodeKind(node) {\n  switch (node.kind) {\n    case 314 /* SourceFile */:\n      return isExternalModule(node) ? \"module\" /* moduleElement */ : \"script\" /* scriptElement */;\n    case 270 /* ModuleDeclaration */:\n      return \"module\" /* moduleElement */;\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n      return \"class\" /* classElement */;\n    case 265 /* StructDeclaration */:\n      return \"struct\" /* structElement */;\n    case 267 /* InterfaceDeclaration */:\n      return \"interface\" /* interfaceElement */;\n    case 268 /* TypeAliasDeclaration */:\n    case 347 /* JSDocCallbackTag */:\n    case 354 /* JSDocTypedefTag */:\n      return \"type\" /* typeElement */;\n    case 269 /* EnumDeclaration */:\n      return \"enum\" /* enumElement */;\n    case 261 /* VariableDeclaration */:\n      return getKindOfVariableDeclaration(node);\n    case 208 /* BindingElement */:\n      return getKindOfVariableDeclaration(getRootDeclaration(node));\n    case 219 /* ArrowFunction */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n      return \"function\" /* functionElement */;\n    case 177 /* GetAccessor */:\n      return \"getter\" /* memberGetAccessorElement */;\n    case 178 /* SetAccessor */:\n      return \"setter\" /* memberSetAccessorElement */;\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n      return \"method\" /* memberFunctionElement */;\n    case 305 /* PropertyAssignment */:\n      const { initializer } = node;\n      return isFunctionLike(initializer) ? \"method\" /* memberFunctionElement */ : \"property\" /* memberVariableElement */;\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 306 /* ShorthandPropertyAssignment */:\n    case 307 /* SpreadAssignment */:\n      return \"property\" /* memberVariableElement */;\n    case 181 /* IndexSignature */:\n      return \"index\" /* indexSignatureElement */;\n    case 180 /* ConstructSignature */:\n      return \"construct\" /* constructSignatureElement */;\n    case 179 /* CallSignature */:\n      return \"call\" /* callSignatureElement */;\n    case 176 /* Constructor */:\n    case 175 /* ClassStaticBlockDeclaration */:\n      return \"constructor\" /* constructorImplementationElement */;\n    case 167 /* TypeParameter */:\n      return \"type parameter\" /* typeParameterElement */;\n    case 308 /* EnumMember */:\n      return \"enum member\" /* enumMemberElement */;\n    case 168 /* Parameter */:\n      return hasSyntacticModifier(node, 16476 /* ParameterPropertyModifier */) ? \"property\" /* memberVariableElement */ : \"parameter\" /* parameterElement */;\n    case 274 /* ImportEqualsDeclaration */:\n    case 279 /* ImportSpecifier */:\n    case 284 /* ExportSpecifier */:\n    case 277 /* NamespaceImport */:\n    case 283 /* NamespaceExport */:\n      return \"alias\" /* alias */;\n    case 227 /* BinaryExpression */:\n      const kind = getAssignmentDeclarationKind(node);\n      const { right } = node;\n      switch (kind) {\n        case 7 /* ObjectDefinePropertyValue */:\n        case 8 /* ObjectDefinePropertyExports */:\n        case 9 /* ObjectDefinePrototypeProperty */:\n        case 0 /* None */:\n          return \"\" /* unknown */;\n        case 1 /* ExportsProperty */:\n        case 2 /* ModuleExports */:\n          const rightKind = getNodeKind(right);\n          return rightKind === \"\" /* unknown */ ? \"const\" /* constElement */ : rightKind;\n        case 3 /* PrototypeProperty */:\n          return isFunctionExpression(right) ? \"method\" /* memberFunctionElement */ : \"property\" /* memberVariableElement */;\n        case 4 /* ThisProperty */:\n          return \"property\" /* memberVariableElement */;\n        case 5 /* Property */:\n          return isFunctionExpression(right) ? \"method\" /* memberFunctionElement */ : \"property\" /* memberVariableElement */;\n        case 6 /* Prototype */:\n          return \"local class\" /* localClassElement */;\n        default: {\n          assertType(kind);\n          return \"\" /* unknown */;\n        }\n      }\n    case 79 /* Identifier */:\n      return isImportClause(node.parent) ? \"alias\" /* alias */ : \"\" /* unknown */;\n    case 280 /* ExportAssignment */:\n      const scriptKind = getNodeKind(node.expression);\n      return scriptKind === \"\" /* unknown */ ? \"const\" /* constElement */ : scriptKind;\n    default:\n      return \"\" /* unknown */;\n  }\n  function getKindOfVariableDeclaration(v) {\n    return isVarConst(v) ? \"const\" /* constElement */ : isLet(v) ? \"let\" /* letElement */ : \"var\" /* variableElement */;\n  }\n}\nfunction isThis(node) {\n  switch (node.kind) {\n    case 109 /* ThisKeyword */:\n      return true;\n    case 79 /* Identifier */:\n      return identifierIsThisKeyword(node) && node.parent.kind === 168 /* Parameter */;\n    default:\n      return false;\n  }\n}\nvar tripleSlashDirectivePrefixRegex = /^\\/\\/\\/\\s*</;\nfunction getLineStartPositionForPosition(position, sourceFile) {\n  const lineStarts = getLineStarts(sourceFile);\n  const line = sourceFile.getLineAndCharacterOfPosition(position).line;\n  return lineStarts[line];\n}\nfunction rangeContainsRange(r1, r2) {\n  return startEndContainsRange(r1.pos, r1.end, r2);\n}\nfunction rangeContainsRangeExclusive(r1, r2) {\n  return rangeContainsPositionExclusive(r1, r2.pos) && rangeContainsPositionExclusive(r1, r2.end);\n}\nfunction rangeContainsPosition(r, pos) {\n  return r.pos <= pos && pos <= r.end;\n}\nfunction rangeContainsPositionExclusive(r, pos) {\n  return r.pos < pos && pos < r.end;\n}\nfunction startEndContainsRange(start, end, range) {\n  return start <= range.pos && end >= range.end;\n}\nfunction rangeContainsStartEnd(range, start, end) {\n  return range.pos <= start && range.end >= end;\n}\nfunction rangeOverlapsWithStartEnd(r1, start, end) {\n  return startEndOverlapsWithStartEnd(r1.pos, r1.end, start, end);\n}\nfunction nodeOverlapsWithStartEnd(node, sourceFile, start, end) {\n  return startEndOverlapsWithStartEnd(node.getStart(sourceFile), node.end, start, end);\n}\nfunction startEndOverlapsWithStartEnd(start1, end1, start2, end2) {\n  const start = Math.max(start1, start2);\n  const end = Math.min(end1, end2);\n  return start < end;\n}\nfunction positionBelongsToNode(candidate, position, sourceFile) {\n  Debug.assert(candidate.pos <= position);\n  return position < candidate.end || !isCompletedNode(candidate, sourceFile);\n}\nfunction isCompletedNode(n, sourceFile) {\n  if (n === void 0 || nodeIsMissing(n)) {\n    return false;\n  }\n  switch (n.kind) {\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 210 /* ObjectLiteralExpression */:\n    case 206 /* ObjectBindingPattern */:\n    case 187 /* TypeLiteral */:\n    case 242 /* Block */:\n    case 271 /* ModuleBlock */:\n    case 272 /* CaseBlock */:\n    case 278 /* NamedImports */:\n    case 282 /* NamedExports */:\n      return nodeEndsWith(n, 19 /* CloseBraceToken */, sourceFile);\n    case 301 /* CatchClause */:\n      return isCompletedNode(n.block, sourceFile);\n    case 214 /* NewExpression */:\n      if (!n.arguments) {\n        return true;\n      }\n    case 213 /* CallExpression */:\n    case 217 /* ParenthesizedExpression */:\n    case 196 /* ParenthesizedType */:\n      return nodeEndsWith(n, 21 /* CloseParenToken */, sourceFile);\n    case 184 /* FunctionType */:\n    case 185 /* ConstructorType */:\n      return isCompletedNode(n.type, sourceFile);\n    case 176 /* Constructor */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 180 /* ConstructSignature */:\n    case 179 /* CallSignature */:\n    case 219 /* ArrowFunction */:\n      if (n.body) {\n        return isCompletedNode(n.body, sourceFile);\n      }\n      if (n.type) {\n        return isCompletedNode(n.type, sourceFile);\n      }\n      return hasChildOfKind(n, 21 /* CloseParenToken */, sourceFile);\n    case 270 /* ModuleDeclaration */:\n      return !!n.body && isCompletedNode(n.body, sourceFile);\n    case 246 /* IfStatement */:\n      if (n.elseStatement) {\n        return isCompletedNode(n.elseStatement, sourceFile);\n      }\n      return isCompletedNode(n.thenStatement, sourceFile);\n    case 245 /* ExpressionStatement */:\n      return isCompletedNode(n.expression, sourceFile) || hasChildOfKind(n, 26 /* SemicolonToken */, sourceFile);\n    case 209 /* ArrayLiteralExpression */:\n    case 207 /* ArrayBindingPattern */:\n    case 212 /* ElementAccessExpression */:\n    case 166 /* ComputedPropertyName */:\n    case 189 /* TupleType */:\n      return nodeEndsWith(n, 23 /* CloseBracketToken */, sourceFile);\n    case 181 /* IndexSignature */:\n      if (n.type) {\n        return isCompletedNode(n.type, sourceFile);\n      }\n      return hasChildOfKind(n, 23 /* CloseBracketToken */, sourceFile);\n    case 298 /* CaseClause */:\n    case 299 /* DefaultClause */:\n      return false;\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n    case 248 /* WhileStatement */:\n      return isCompletedNode(n.statement, sourceFile);\n    case 247 /* DoStatement */:\n      return hasChildOfKind(n, 116 /* WhileKeyword */, sourceFile) ? nodeEndsWith(n, 21 /* CloseParenToken */, sourceFile) : isCompletedNode(n.statement, sourceFile);\n    case 186 /* TypeQuery */:\n      return isCompletedNode(n.exprName, sourceFile);\n    case 222 /* TypeOfExpression */:\n    case 221 /* DeleteExpression */:\n    case 223 /* VoidExpression */:\n    case 230 /* YieldExpression */:\n    case 231 /* SpreadElement */:\n      const unaryWordExpression = n;\n      return isCompletedNode(unaryWordExpression.expression, sourceFile);\n    case 215 /* TaggedTemplateExpression */:\n      return isCompletedNode(n.template, sourceFile);\n    case 229 /* TemplateExpression */:\n      const lastSpan = lastOrUndefined(n.templateSpans);\n      return isCompletedNode(lastSpan, sourceFile);\n    case 240 /* TemplateSpan */:\n      return nodeIsPresent(n.literal);\n    case 281 /* ExportDeclaration */:\n    case 275 /* ImportDeclaration */:\n      return nodeIsPresent(n.moduleSpecifier);\n    case 225 /* PrefixUnaryExpression */:\n      return isCompletedNode(n.operand, sourceFile);\n    case 227 /* BinaryExpression */:\n      return isCompletedNode(n.right, sourceFile);\n    case 228 /* ConditionalExpression */:\n      return isCompletedNode(n.whenFalse, sourceFile);\n    default:\n      return true;\n  }\n}\nfunction nodeEndsWith(n, expectedLastToken, sourceFile) {\n  const children = n.getChildren(sourceFile);\n  if (children.length) {\n    const lastChild = last(children);\n    if (lastChild.kind === expectedLastToken) {\n      return true;\n    } else if (lastChild.kind === 26 /* SemicolonToken */ && children.length !== 1) {\n      return children[children.length - 2].kind === expectedLastToken;\n    }\n  }\n  return false;\n}\nfunction findListItemInfo(node) {\n  const list = findContainingList(node);\n  if (!list) {\n    return void 0;\n  }\n  const children = list.getChildren();\n  const listItemIndex = indexOfNode(children, node);\n  return {\n    listItemIndex,\n    list\n  };\n}\nfunction hasChildOfKind(n, kind, sourceFile) {\n  return !!findChildOfKind(n, kind, sourceFile);\n}\nfunction findChildOfKind(n, kind, sourceFile) {\n  return find(n.getChildren(sourceFile), (c) => c.kind === kind);\n}\nfunction findContainingList(node) {\n  const syntaxList = find(node.parent.getChildren(), (c) => isSyntaxList(c) && rangeContainsRange(c, node));\n  Debug.assert(!syntaxList || contains(syntaxList.getChildren(), node));\n  return syntaxList;\n}\nfunction isDefaultModifier(node) {\n  return node.kind === 89 /* DefaultKeyword */;\n}\nfunction isClassKeyword(node) {\n  return node.kind === 84 /* ClassKeyword */;\n}\nfunction isFunctionKeyword(node) {\n  return node.kind === 99 /* FunctionKeyword */;\n}\nfunction getAdjustedLocationForClass(node) {\n  if (isNamedDeclaration(node)) {\n    return node.name;\n  }\n  if (isClassDeclaration(node) || isStructDeclaration(node)) {\n    const defaultModifier = node.modifiers && find(node.modifiers, isDefaultModifier);\n    if (defaultModifier)\n      return defaultModifier;\n  }\n  if (isClassExpression(node)) {\n    const classKeyword = find(node.getChildren(), isClassKeyword);\n    if (classKeyword)\n      return classKeyword;\n  }\n}\nfunction getAdjustedLocationForFunction(node) {\n  if (isNamedDeclaration(node)) {\n    return node.name;\n  }\n  if (isFunctionDeclaration(node)) {\n    const defaultModifier = find(node.modifiers, isDefaultModifier);\n    if (defaultModifier)\n      return defaultModifier;\n  }\n  if (isFunctionExpression(node)) {\n    const functionKeyword = find(node.getChildren(), isFunctionKeyword);\n    if (functionKeyword)\n      return functionKeyword;\n  }\n}\nfunction getAncestorTypeNode(node) {\n  let lastTypeNode;\n  findAncestor(node, (a) => {\n    if (isTypeNode(a)) {\n      lastTypeNode = a;\n    }\n    return !isQualifiedName(a.parent) && !isTypeNode(a.parent) && !isTypeElement(a.parent);\n  });\n  return lastTypeNode;\n}\nfunction getContextualTypeFromParentOrAncestorTypeNode(node, checker) {\n  if (node.flags & (8388608 /* JSDoc */ & ~262144 /* JavaScriptFile */))\n    return void 0;\n  const contextualType = getContextualTypeFromParent(node, checker);\n  if (contextualType)\n    return contextualType;\n  const ancestorTypeNode = getAncestorTypeNode(node);\n  return ancestorTypeNode && checker.getTypeAtLocation(ancestorTypeNode);\n}\nfunction getAdjustedLocationForDeclaration(node, forRename) {\n  if (!forRename) {\n    switch (node.kind) {\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n        return getAdjustedLocationForClass(node);\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n        return getAdjustedLocationForFunction(node);\n      case 176 /* Constructor */:\n        return node;\n    }\n  }\n  if (isNamedDeclaration(node)) {\n    return node.name;\n  }\n}\nfunction getAdjustedLocationForImportDeclaration(node, forRename) {\n  if (node.importClause) {\n    if (node.importClause.name && node.importClause.namedBindings) {\n      return;\n    }\n    if (node.importClause.name) {\n      return node.importClause.name;\n    }\n    if (node.importClause.namedBindings) {\n      if (isNamedImports(node.importClause.namedBindings)) {\n        const onlyBinding = singleOrUndefined(node.importClause.namedBindings.elements);\n        if (!onlyBinding) {\n          return;\n        }\n        return onlyBinding.name;\n      } else if (isNamespaceImport(node.importClause.namedBindings)) {\n        return node.importClause.namedBindings.name;\n      }\n    }\n  }\n  if (!forRename) {\n    return node.moduleSpecifier;\n  }\n}\nfunction getAdjustedLocationForExportDeclaration(node, forRename) {\n  if (node.exportClause) {\n    if (isNamedExports(node.exportClause)) {\n      const onlyBinding = singleOrUndefined(node.exportClause.elements);\n      if (!onlyBinding) {\n        return;\n      }\n      return node.exportClause.elements[0].name;\n    } else if (isNamespaceExport(node.exportClause)) {\n      return node.exportClause.name;\n    }\n  }\n  if (!forRename) {\n    return node.moduleSpecifier;\n  }\n}\nfunction getAdjustedLocationForHeritageClause(node) {\n  if (node.types.length === 1) {\n    return node.types[0].expression;\n  }\n}\nfunction getAdjustedLocation(node, forRename) {\n  const { parent: parent2 } = node;\n  if (isModifier(node) && (forRename || node.kind !== 89 /* DefaultKeyword */) ? canHaveModifiers(parent2) && contains(parent2.modifiers, node) : node.kind === 84 /* ClassKeyword */ ? isClassDeclaration(parent2) || isClassExpression(node) : node.kind === 99 /* FunctionKeyword */ ? isFunctionDeclaration(parent2) || isFunctionExpression(node) : node.kind === 119 /* InterfaceKeyword */ ? isInterfaceDeclaration(parent2) : node.kind === 93 /* EnumKeyword */ ? isEnumDeclaration(parent2) : node.kind === 155 /* TypeKeyword */ ? isTypeAliasDeclaration(parent2) : node.kind === 144 /* NamespaceKeyword */ || node.kind === 143 /* ModuleKeyword */ ? isModuleDeclaration(parent2) : node.kind === 101 /* ImportKeyword */ ? isImportEqualsDeclaration(parent2) : node.kind === 138 /* GetKeyword */ ? isGetAccessorDeclaration(parent2) : node.kind === 152 /* SetKeyword */ && isSetAccessorDeclaration(parent2)) {\n    const location = getAdjustedLocationForDeclaration(parent2, forRename);\n    if (location) {\n      return location;\n    }\n  }\n  if ((node.kind === 114 /* VarKeyword */ || node.kind === 86 /* ConstKeyword */ || node.kind === 120 /* LetKeyword */) && isVariableDeclarationList(parent2) && parent2.declarations.length === 1) {\n    const decl = parent2.declarations[0];\n    if (isIdentifier(decl.name)) {\n      return decl.name;\n    }\n  }\n  if (node.kind === 155 /* TypeKeyword */) {\n    if (isImportClause(parent2) && parent2.isTypeOnly) {\n      const location = getAdjustedLocationForImportDeclaration(parent2.parent, forRename);\n      if (location) {\n        return location;\n      }\n    }\n    if (isExportDeclaration(parent2) && parent2.isTypeOnly) {\n      const location = getAdjustedLocationForExportDeclaration(parent2, forRename);\n      if (location) {\n        return location;\n      }\n    }\n  }\n  if (node.kind === 129 /* AsKeyword */) {\n    if (isImportSpecifier(parent2) && parent2.propertyName || isExportSpecifier(parent2) && parent2.propertyName || isNamespaceImport(parent2) || isNamespaceExport(parent2)) {\n      return parent2.name;\n    }\n    if (isExportDeclaration(parent2) && parent2.exportClause && isNamespaceExport(parent2.exportClause)) {\n      return parent2.exportClause.name;\n    }\n  }\n  if (node.kind === 101 /* ImportKeyword */ && isImportDeclaration(parent2)) {\n    const location = getAdjustedLocationForImportDeclaration(parent2, forRename);\n    if (location) {\n      return location;\n    }\n  }\n  if (node.kind === 94 /* ExportKeyword */) {\n    if (isExportDeclaration(parent2)) {\n      const location = getAdjustedLocationForExportDeclaration(parent2, forRename);\n      if (location) {\n        return location;\n      }\n    }\n    if (isExportAssignment(parent2)) {\n      return skipOuterExpressions(parent2.expression);\n    }\n  }\n  if (node.kind === 148 /* RequireKeyword */ && isExternalModuleReference(parent2)) {\n    return parent2.expression;\n  }\n  if (node.kind === 160 /* FromKeyword */ && (isImportDeclaration(parent2) || isExportDeclaration(parent2)) && parent2.moduleSpecifier) {\n    return parent2.moduleSpecifier;\n  }\n  if ((node.kind === 95 /* ExtendsKeyword */ || node.kind === 118 /* ImplementsKeyword */) && isHeritageClause(parent2) && parent2.token === node.kind) {\n    const location = getAdjustedLocationForHeritageClause(parent2);\n    if (location) {\n      return location;\n    }\n  }\n  if (node.kind === 95 /* ExtendsKeyword */) {\n    if (isTypeParameterDeclaration(parent2) && parent2.constraint && isTypeReferenceNode(parent2.constraint)) {\n      return parent2.constraint.typeName;\n    }\n    if (isConditionalTypeNode(parent2) && isTypeReferenceNode(parent2.extendsType)) {\n      return parent2.extendsType.typeName;\n    }\n  }\n  if (node.kind === 139 /* InferKeyword */ && isInferTypeNode(parent2)) {\n    return parent2.typeParameter.name;\n  }\n  if (node.kind === 102 /* InKeyword */ && isTypeParameterDeclaration(parent2) && isMappedTypeNode(parent2.parent)) {\n    return parent2.name;\n  }\n  if (node.kind === 142 /* KeyOfKeyword */ && isTypeOperatorNode(parent2) && parent2.operator === 142 /* KeyOfKeyword */ && isTypeReferenceNode(parent2.type)) {\n    return parent2.type.typeName;\n  }\n  if (node.kind === 147 /* ReadonlyKeyword */ && isTypeOperatorNode(parent2) && parent2.operator === 147 /* ReadonlyKeyword */ && isArrayTypeNode(parent2.type) && isTypeReferenceNode(parent2.type.elementType)) {\n    return parent2.type.elementType.typeName;\n  }\n  if (!forRename) {\n    if (node.kind === 104 /* NewKeyword */ && isNewExpression(parent2) || node.kind === 115 /* VoidKeyword */ && isVoidExpression(parent2) || node.kind === 113 /* TypeOfKeyword */ && isTypeOfExpression(parent2) || node.kind === 134 /* AwaitKeyword */ && isAwaitExpression(parent2) || node.kind === 126 /* YieldKeyword */ && isYieldExpression(parent2) || node.kind === 90 /* DeleteKeyword */ && isDeleteExpression(parent2)) {\n      if (parent2.expression) {\n        return skipOuterExpressions(parent2.expression);\n      }\n    }\n    if ((node.kind === 102 /* InKeyword */ || node.kind === 103 /* InstanceOfKeyword */) && isBinaryExpression(parent2) && parent2.operatorToken === node) {\n      return skipOuterExpressions(parent2.right);\n    }\n    if (node.kind === 129 /* AsKeyword */ && isAsExpression(parent2) && isTypeReferenceNode(parent2.type)) {\n      return parent2.type.typeName;\n    }\n    if (node.kind === 102 /* InKeyword */ && isForInStatement(parent2) || node.kind === 164 /* OfKeyword */ && isForOfStatement(parent2)) {\n      return skipOuterExpressions(parent2.expression);\n    }\n  }\n  return node;\n}\nfunction getAdjustedReferenceLocation(node) {\n  return getAdjustedLocation(node, false);\n}\nfunction getAdjustedRenameLocation(node) {\n  return getAdjustedLocation(node, true);\n}\nfunction getTouchingPropertyName(sourceFile, position) {\n  return getTouchingToken(sourceFile, position, (n) => isPropertyNameLiteral(n) || isKeyword(n.kind) || isPrivateIdentifier(n));\n}\nfunction getTouchingToken(sourceFile, position, includePrecedingTokenAtEndPosition) {\n  return getTokenAtPositionWorker(sourceFile, position, false, includePrecedingTokenAtEndPosition, false);\n}\nfunction getTokenAtPosition(sourceFile, position) {\n  return getTokenAtPositionWorker(sourceFile, position, true, void 0, false);\n}\nfunction getTokenAtPositionWorker(sourceFile, position, allowPositionInLeadingTrivia, includePrecedingTokenAtEndPosition, includeEndPosition) {\n  let current = sourceFile;\n  let foundToken;\n  outer:\n    while (true) {\n      const children = current.getChildren(sourceFile);\n      const i = binarySearchKey(children, position, (_, i2) => i2, (middle, _) => {\n        const end = children[middle].getEnd();\n        if (end < position) {\n          return -1 /* LessThan */;\n        }\n        const start = allowPositionInLeadingTrivia ? children[middle].getFullStart() : children[middle].getStart(sourceFile, true);\n        if (start > position) {\n          return 1 /* GreaterThan */;\n        }\n        if (nodeContainsPosition(children[middle], start, end)) {\n          if (children[middle - 1]) {\n            if (nodeContainsPosition(children[middle - 1])) {\n              return 1 /* GreaterThan */;\n            }\n          }\n          return 0 /* EqualTo */;\n        }\n        if (includePrecedingTokenAtEndPosition && start === position && children[middle - 1] && children[middle - 1].getEnd() === position && nodeContainsPosition(children[middle - 1])) {\n          return 1 /* GreaterThan */;\n        }\n        return -1 /* LessThan */;\n      });\n      if (foundToken) {\n        return foundToken;\n      }\n      if (i >= 0 && children[i]) {\n        current = children[i];\n        continue outer;\n      }\n      return current;\n    }\n  function nodeContainsPosition(node, start, end) {\n    end != null ? end : end = node.getEnd();\n    if (end < position) {\n      return false;\n    }\n    start != null ? start : start = allowPositionInLeadingTrivia ? node.getFullStart() : node.getStart(sourceFile, true);\n    if (start > position) {\n      return false;\n    }\n    if (position < end || position === end && (node.kind === 1 /* EndOfFileToken */ || includeEndPosition)) {\n      return true;\n    } else if (includePrecedingTokenAtEndPosition && end === position) {\n      const previousToken = findPrecedingToken(position, sourceFile, node);\n      if (previousToken && includePrecedingTokenAtEndPosition(previousToken)) {\n        foundToken = previousToken;\n        return true;\n      }\n    }\n    return false;\n  }\n}\nfunction findFirstNonJsxWhitespaceToken(sourceFile, position) {\n  let tokenAtPosition = getTokenAtPosition(sourceFile, position);\n  while (isWhiteSpaceOnlyJsxText(tokenAtPosition)) {\n    const nextToken = findNextToken(tokenAtPosition, tokenAtPosition.parent, sourceFile);\n    if (!nextToken)\n      return;\n    tokenAtPosition = nextToken;\n  }\n  return tokenAtPosition;\n}\nfunction findTokenOnLeftOfPosition(file, position) {\n  const tokenAtPosition = getTokenAtPosition(file, position);\n  if (isToken(tokenAtPosition) && position > tokenAtPosition.getStart(file) && position < tokenAtPosition.getEnd()) {\n    return tokenAtPosition;\n  }\n  return findPrecedingToken(position, file);\n}\nfunction findNextToken(previousToken, parent2, sourceFile) {\n  return find2(parent2);\n  function find2(n) {\n    if (isToken(n) && n.pos === previousToken.end) {\n      return n;\n    }\n    return firstDefined(n.getChildren(sourceFile), (child) => {\n      const shouldDiveInChildNode = child.pos <= previousToken.pos && child.end > previousToken.end || child.pos === previousToken.end;\n      return shouldDiveInChildNode && nodeHasTokens(child, sourceFile) ? find2(child) : void 0;\n    });\n  }\n}\nfunction findPrecedingToken(position, sourceFile, startNode2, excludeJsdoc) {\n  const result = find2(startNode2 || sourceFile);\n  Debug.assert(!(result && isWhiteSpaceOnlyJsxText(result)));\n  return result;\n  function find2(n) {\n    if (isNonWhitespaceToken(n) && n.kind !== 1 /* EndOfFileToken */) {\n      return n;\n    }\n    const children = n.getChildren(sourceFile);\n    const i = binarySearchKey(children, position, (_, i2) => i2, (middle, _) => {\n      if (position < children[middle].end) {\n        if (!children[middle - 1] || position >= children[middle - 1].end) {\n          return 0 /* EqualTo */;\n        }\n        return 1 /* GreaterThan */;\n      }\n      return -1 /* LessThan */;\n    });\n    if (i >= 0 && children[i]) {\n      const child = children[i];\n      if (position < child.end) {\n        const start = child.getStart(sourceFile, !excludeJsdoc);\n        const lookInPreviousChild = start >= position || !nodeHasTokens(child, sourceFile) || isWhiteSpaceOnlyJsxText(child);\n        if (lookInPreviousChild) {\n          const candidate2 = findRightmostChildNodeWithTokens(children, i, sourceFile, n.kind);\n          return candidate2 && findRightmostToken(candidate2, sourceFile);\n        } else {\n          return find2(child);\n        }\n      }\n    }\n    Debug.assert(startNode2 !== void 0 || n.kind === 314 /* SourceFile */ || n.kind === 1 /* EndOfFileToken */ || isJSDocCommentContainingNode(n));\n    const candidate = findRightmostChildNodeWithTokens(children, children.length, sourceFile, n.kind);\n    return candidate && findRightmostToken(candidate, sourceFile);\n  }\n}\nfunction isNonWhitespaceToken(n) {\n  return isToken(n) && !isWhiteSpaceOnlyJsxText(n);\n}\nfunction findRightmostToken(n, sourceFile) {\n  if (isNonWhitespaceToken(n)) {\n    return n;\n  }\n  const children = n.getChildren(sourceFile);\n  if (children.length === 0) {\n    return n;\n  }\n  const candidate = findRightmostChildNodeWithTokens(children, children.length, sourceFile, n.kind);\n  return candidate && findRightmostToken(candidate, sourceFile);\n}\nfunction findRightmostChildNodeWithTokens(children, exclusiveStartPosition, sourceFile, parentKind) {\n  for (let i = exclusiveStartPosition - 1; i >= 0; i--) {\n    const child = children[i];\n    if (isWhiteSpaceOnlyJsxText(child)) {\n      if (i === 0 && (parentKind === 11 /* JsxText */ || parentKind === 288 /* JsxSelfClosingElement */)) {\n        Debug.fail(\"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`\");\n      }\n    } else if (nodeHasTokens(children[i], sourceFile)) {\n      return children[i];\n    }\n  }\n}\nfunction isInString(sourceFile, position, previousToken = findPrecedingToken(position, sourceFile)) {\n  if (previousToken && isStringTextContainingNode(previousToken)) {\n    const start = previousToken.getStart(sourceFile);\n    const end = previousToken.getEnd();\n    if (start < position && position < end) {\n      return true;\n    }\n    if (position === end) {\n      return !!previousToken.isUnterminated;\n    }\n  }\n  return false;\n}\nfunction isInsideJsxElementOrAttribute(sourceFile, position) {\n  const token = getTokenAtPosition(sourceFile, position);\n  if (!token) {\n    return false;\n  }\n  if (token.kind === 11 /* JsxText */) {\n    return true;\n  }\n  if (token.kind === 29 /* LessThanToken */ && token.parent.kind === 11 /* JsxText */) {\n    return true;\n  }\n  if (token.kind === 29 /* LessThanToken */ && token.parent.kind === 297 /* JsxExpression */) {\n    return true;\n  }\n  if (token && token.kind === 19 /* CloseBraceToken */ && token.parent.kind === 297 /* JsxExpression */) {\n    return true;\n  }\n  if (token.kind === 29 /* LessThanToken */ && token.parent.kind === 290 /* JsxClosingElement */) {\n    return true;\n  }\n  return false;\n}\nfunction isWhiteSpaceOnlyJsxText(node) {\n  return isJsxText(node) && node.containsOnlyTriviaWhiteSpaces;\n}\nfunction isInTemplateString(sourceFile, position) {\n  const token = getTokenAtPosition(sourceFile, position);\n  return isTemplateLiteralKind(token.kind) && position > token.getStart(sourceFile);\n}\nfunction isInJSXText(sourceFile, position) {\n  const token = getTokenAtPosition(sourceFile, position);\n  if (isJsxText(token)) {\n    return true;\n  }\n  if (token.kind === 18 /* OpenBraceToken */ && isJsxExpression(token.parent) && isJsxElement(token.parent.parent)) {\n    return true;\n  }\n  if (token.kind === 29 /* LessThanToken */ && isJsxOpeningLikeElement(token.parent) && isJsxElement(token.parent.parent)) {\n    return true;\n  }\n  return false;\n}\nfunction isInsideJsxElement(sourceFile, position) {\n  function isInsideJsxElementTraversal(node) {\n    while (node) {\n      if (node.kind >= 288 /* JsxSelfClosingElement */ && node.kind <= 297 /* JsxExpression */ || node.kind === 11 /* JsxText */ || node.kind === 29 /* LessThanToken */ || node.kind === 31 /* GreaterThanToken */ || node.kind === 79 /* Identifier */ || node.kind === 19 /* CloseBraceToken */ || node.kind === 18 /* OpenBraceToken */ || node.kind === 43 /* SlashToken */) {\n        node = node.parent;\n      } else if (node.kind === 287 /* JsxElement */) {\n        if (position > node.getStart(sourceFile))\n          return true;\n        node = node.parent;\n      } else {\n        return false;\n      }\n    }\n    return false;\n  }\n  return isInsideJsxElementTraversal(getTokenAtPosition(sourceFile, position));\n}\nfunction findPrecedingMatchingToken(token, matchingTokenKind, sourceFile) {\n  const closeTokenText = tokenToString(token.kind);\n  const matchingTokenText = tokenToString(matchingTokenKind);\n  const tokenFullStart = token.getFullStart();\n  const bestGuessIndex = sourceFile.text.lastIndexOf(matchingTokenText, tokenFullStart);\n  if (bestGuessIndex === -1) {\n    return void 0;\n  }\n  if (sourceFile.text.lastIndexOf(closeTokenText, tokenFullStart - 1) < bestGuessIndex) {\n    const nodeAtGuess = findPrecedingToken(bestGuessIndex + 1, sourceFile);\n    if (nodeAtGuess && nodeAtGuess.kind === matchingTokenKind) {\n      return nodeAtGuess;\n    }\n  }\n  const tokenKind = token.kind;\n  let remainingMatchingTokens = 0;\n  while (true) {\n    const preceding = findPrecedingToken(token.getFullStart(), sourceFile);\n    if (!preceding) {\n      return void 0;\n    }\n    token = preceding;\n    if (token.kind === matchingTokenKind) {\n      if (remainingMatchingTokens === 0) {\n        return token;\n      }\n      remainingMatchingTokens--;\n    } else if (token.kind === tokenKind) {\n      remainingMatchingTokens++;\n    }\n  }\n}\nfunction removeOptionality(type, isOptionalExpression, isOptionalChain2) {\n  return isOptionalExpression ? type.getNonNullableType() : isOptionalChain2 ? type.getNonOptionalType() : type;\n}\nfunction isPossiblyTypeArgumentPosition(token, sourceFile, checker) {\n  const info = getPossibleTypeArgumentsInfo(token, sourceFile);\n  return info !== void 0 && (isPartOfTypeNode(info.called) || getPossibleGenericSignatures(info.called, info.nTypeArguments, checker).length !== 0 || isPossiblyTypeArgumentPosition(info.called, sourceFile, checker));\n}\nfunction getPossibleGenericSignatures(called, typeArgumentCount, checker) {\n  let type = checker.getTypeAtLocation(called);\n  if (isOptionalChain(called.parent)) {\n    type = removeOptionality(type, isOptionalChainRoot(called.parent), true);\n  }\n  const signatures = isNewExpression(called.parent) ? type.getConstructSignatures() : type.getCallSignatures();\n  return signatures.filter((candidate) => !!candidate.typeParameters && candidate.typeParameters.length >= typeArgumentCount);\n}\nfunction getPossibleTypeArgumentsInfo(tokenIn, sourceFile) {\n  if (sourceFile.text.lastIndexOf(\"<\", tokenIn ? tokenIn.pos : sourceFile.text.length) === -1) {\n    return void 0;\n  }\n  let token = tokenIn;\n  let remainingLessThanTokens = 0;\n  let nTypeArguments = 0;\n  while (token) {\n    switch (token.kind) {\n      case 29 /* LessThanToken */:\n        token = findPrecedingToken(token.getFullStart(), sourceFile);\n        if (token && token.kind === 28 /* QuestionDotToken */) {\n          token = findPrecedingToken(token.getFullStart(), sourceFile);\n        }\n        if (!token || !isIdentifier(token))\n          return void 0;\n        if (!remainingLessThanTokens) {\n          return isDeclarationName(token) ? void 0 : { called: token, nTypeArguments };\n        }\n        remainingLessThanTokens--;\n        break;\n      case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n        remainingLessThanTokens = 3;\n        break;\n      case 48 /* GreaterThanGreaterThanToken */:\n        remainingLessThanTokens = 2;\n        break;\n      case 31 /* GreaterThanToken */:\n        remainingLessThanTokens++;\n        break;\n      case 19 /* CloseBraceToken */:\n        token = findPrecedingMatchingToken(token, 18 /* OpenBraceToken */, sourceFile);\n        if (!token)\n          return void 0;\n        break;\n      case 21 /* CloseParenToken */:\n        token = findPrecedingMatchingToken(token, 20 /* OpenParenToken */, sourceFile);\n        if (!token)\n          return void 0;\n        break;\n      case 23 /* CloseBracketToken */:\n        token = findPrecedingMatchingToken(token, 22 /* OpenBracketToken */, sourceFile);\n        if (!token)\n          return void 0;\n        break;\n      case 27 /* CommaToken */:\n        nTypeArguments++;\n        break;\n      case 38 /* EqualsGreaterThanToken */:\n      case 79 /* Identifier */:\n      case 10 /* StringLiteral */:\n      case 8 /* NumericLiteral */:\n      case 9 /* BigIntLiteral */:\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 113 /* TypeOfKeyword */:\n      case 95 /* ExtendsKeyword */:\n      case 142 /* KeyOfKeyword */:\n      case 24 /* DotToken */:\n      case 51 /* BarToken */:\n      case 57 /* QuestionToken */:\n      case 58 /* ColonToken */:\n        break;\n      default:\n        if (isTypeNode(token)) {\n          break;\n        }\n        return void 0;\n    }\n    token = findPrecedingToken(token.getFullStart(), sourceFile);\n  }\n  return void 0;\n}\nfunction isInComment(sourceFile, position, tokenAtPosition) {\n  return ts_formatting_exports.getRangeOfEnclosingComment(sourceFile, position, void 0, tokenAtPosition);\n}\nfunction hasDocComment(sourceFile, position) {\n  const token = getTokenAtPosition(sourceFile, position);\n  return !!findAncestor(token, isJSDoc);\n}\nfunction nodeHasTokens(n, sourceFile) {\n  return n.kind === 1 /* EndOfFileToken */ ? !!n.jsDoc : n.getWidth(sourceFile) !== 0;\n}\nfunction getNodeModifiers(node, excludeFlags = 0 /* None */) {\n  const result = [];\n  const flags = isDeclaration(node) ? getCombinedNodeFlagsAlwaysIncludeJSDoc(node) & ~excludeFlags : 0 /* None */;\n  if (flags & 8 /* Private */)\n    result.push(\"private\" /* privateMemberModifier */);\n  if (flags & 16 /* Protected */)\n    result.push(\"protected\" /* protectedMemberModifier */);\n  if (flags & 4 /* Public */)\n    result.push(\"public\" /* publicMemberModifier */);\n  if (flags & 32 /* Static */ || isClassStaticBlockDeclaration(node))\n    result.push(\"static\" /* staticModifier */);\n  if (flags & 256 /* Abstract */)\n    result.push(\"abstract\" /* abstractModifier */);\n  if (flags & 1 /* Export */)\n    result.push(\"export\" /* exportedModifier */);\n  if (flags & 8192 /* Deprecated */)\n    result.push(\"deprecated\" /* deprecatedModifier */);\n  if (node.flags & 16777216 /* Ambient */)\n    result.push(\"declare\" /* ambientModifier */);\n  if (node.kind === 280 /* ExportAssignment */)\n    result.push(\"export\" /* exportedModifier */);\n  return result.length > 0 ? result.join(\",\") : \"\" /* none */;\n}\nfunction getTypeArgumentOrTypeParameterList(node) {\n  if (node.kind === 183 /* TypeReference */ || node.kind === 213 /* CallExpression */) {\n    return node.typeArguments;\n  }\n  if (isFunctionLike(node) || node.kind === 264 /* ClassDeclaration */ || node.kind === 267 /* InterfaceDeclaration */) {\n    return node.typeParameters;\n  }\n  return void 0;\n}\nfunction isComment(kind) {\n  return kind === 2 /* SingleLineCommentTrivia */ || kind === 3 /* MultiLineCommentTrivia */;\n}\nfunction isStringOrRegularExpressionOrTemplateLiteral(kind) {\n  if (kind === 10 /* StringLiteral */ || kind === 13 /* RegularExpressionLiteral */ || isTemplateLiteralKind(kind)) {\n    return true;\n  }\n  return false;\n}\nfunction isPunctuation(kind) {\n  return 18 /* FirstPunctuation */ <= kind && kind <= 78 /* LastPunctuation */;\n}\nfunction isInsideTemplateLiteral(node, position, sourceFile) {\n  return isTemplateLiteralKind(node.kind) && (node.getStart(sourceFile) < position && position < node.end) || !!node.isUnterminated && position === node.end;\n}\nfunction isAccessibilityModifier(kind) {\n  switch (kind) {\n    case 124 /* PublicKeyword */:\n    case 122 /* PrivateKeyword */:\n    case 123 /* ProtectedKeyword */:\n      return true;\n  }\n  return false;\n}\nfunction cloneCompilerOptions(options) {\n  const result = clone(options);\n  setConfigFileInOptions(result, options && options.configFile);\n  return result;\n}\nfunction isArrayLiteralOrObjectLiteralDestructuringPattern(node) {\n  if (node.kind === 209 /* ArrayLiteralExpression */ || node.kind === 210 /* ObjectLiteralExpression */) {\n    if (node.parent.kind === 227 /* BinaryExpression */ && node.parent.left === node && node.parent.operatorToken.kind === 63 /* EqualsToken */) {\n      return true;\n    }\n    if (node.parent.kind === 251 /* ForOfStatement */ && node.parent.initializer === node) {\n      return true;\n    }\n    if (isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent.kind === 305 /* PropertyAssignment */ ? node.parent.parent : node.parent)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction isInReferenceComment(sourceFile, position) {\n  return isInReferenceCommentWorker(sourceFile, position, true);\n}\nfunction isInNonReferenceComment(sourceFile, position) {\n  return isInReferenceCommentWorker(sourceFile, position, false);\n}\nfunction isInReferenceCommentWorker(sourceFile, position, shouldBeReference) {\n  const range = isInComment(sourceFile, position, void 0);\n  return !!range && shouldBeReference === tripleSlashDirectivePrefixRegex.test(sourceFile.text.substring(range.pos, range.end));\n}\nfunction getReplacementSpanForContextToken(contextToken) {\n  if (!contextToken)\n    return void 0;\n  switch (contextToken.kind) {\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n      return createTextSpanFromStringLiteralLikeContent(contextToken);\n    default:\n      return createTextSpanFromNode(contextToken);\n  }\n}\nfunction createTextSpanFromNode(node, sourceFile, endNode2) {\n  return createTextSpanFromBounds(node.getStart(sourceFile), (endNode2 || node).getEnd());\n}\nfunction createTextSpanFromStringLiteralLikeContent(node) {\n  if (node.isUnterminated)\n    return void 0;\n  return createTextSpanFromBounds(node.getStart() + 1, node.getEnd() - 1);\n}\nfunction createTextRangeFromNode(node, sourceFile) {\n  return createRange(node.getStart(sourceFile), node.end);\n}\nfunction createTextSpanFromRange(range) {\n  return createTextSpanFromBounds(range.pos, range.end);\n}\nfunction createTextRangeFromSpan(span) {\n  return createRange(span.start, span.start + span.length);\n}\nfunction createTextChangeFromStartLength(start, length2, newText) {\n  return createTextChange(createTextSpan(start, length2), newText);\n}\nfunction createTextChange(span, newText) {\n  return { span, newText };\n}\nvar typeKeywords = [\n  132 /* AnyKeyword */,\n  130 /* AssertsKeyword */,\n  162 /* BigIntKeyword */,\n  135 /* BooleanKeyword */,\n  96 /* FalseKeyword */,\n  139 /* InferKeyword */,\n  142 /* KeyOfKeyword */,\n  145 /* NeverKeyword */,\n  105 /* NullKeyword */,\n  149 /* NumberKeyword */,\n  150 /* ObjectKeyword */,\n  147 /* ReadonlyKeyword */,\n  153 /* StringKeyword */,\n  154 /* SymbolKeyword */,\n  111 /* TrueKeyword */,\n  115 /* VoidKeyword */,\n  157 /* UndefinedKeyword */,\n  158 /* UniqueKeyword */,\n  159 /* UnknownKeyword */\n];\nfunction isTypeKeyword(kind) {\n  return contains(typeKeywords, kind);\n}\nfunction isTypeKeywordToken(node) {\n  return node.kind === 155 /* TypeKeyword */;\n}\nfunction isTypeKeywordTokenOrIdentifier(node) {\n  return isTypeKeywordToken(node) || isIdentifier(node) && node.text === \"type\";\n}\nfunction isExternalModuleSymbol(moduleSymbol) {\n  return !!(moduleSymbol.flags & 1536 /* Module */) && moduleSymbol.name.charCodeAt(0) === 34 /* doubleQuote */;\n}\nfunction nodeSeenTracker() {\n  const seen = [];\n  return (node) => {\n    const id = getNodeId(node);\n    return !seen[id] && (seen[id] = true);\n  };\n}\nfunction getSnapshotText(snap) {\n  return snap.getText(0, snap.getLength());\n}\nfunction repeatString(str, count) {\n  let result = \"\";\n  for (let i = 0; i < count; i++) {\n    result += str;\n  }\n  return result;\n}\nfunction skipConstraint(type) {\n  return type.isTypeParameter() ? type.getConstraint() || type : type;\n}\nfunction getNameFromPropertyName(name) {\n  return name.kind === 166 /* ComputedPropertyName */ ? isStringOrNumericLiteralLike(name.expression) ? name.expression.text : void 0 : isPrivateIdentifier(name) ? idText(name) : getTextOfIdentifierOrLiteral(name);\n}\nfunction programContainsModules(program) {\n  return program.getSourceFiles().some((s) => !s.isDeclarationFile && !program.isSourceFileFromExternalLibrary(s) && !!(s.externalModuleIndicator || s.commonJsModuleIndicator));\n}\nfunction programContainsEsModules(program) {\n  return program.getSourceFiles().some((s) => !s.isDeclarationFile && !program.isSourceFileFromExternalLibrary(s) && !!s.externalModuleIndicator);\n}\nfunction compilerOptionsIndicateEsModules(compilerOptions) {\n  return !!compilerOptions.module || getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ || !!compilerOptions.noEmit;\n}\nfunction createModuleSpecifierResolutionHost(program, host) {\n  return {\n    fileExists: (fileName) => program.fileExists(fileName),\n    getCurrentDirectory: () => host.getCurrentDirectory(),\n    readFile: maybeBind(host, host.readFile),\n    useCaseSensitiveFileNames: maybeBind(host, host.useCaseSensitiveFileNames),\n    getSymlinkCache: maybeBind(host, host.getSymlinkCache) || program.getSymlinkCache,\n    getModuleSpecifierCache: maybeBind(host, host.getModuleSpecifierCache),\n    getPackageJsonInfoCache: () => {\n      var _a2;\n      return (_a2 = program.getModuleResolutionCache()) == null ? void 0 : _a2.getPackageJsonInfoCache();\n    },\n    getGlobalTypingsCacheLocation: maybeBind(host, host.getGlobalTypingsCacheLocation),\n    redirectTargetsMap: program.redirectTargetsMap,\n    getProjectReferenceRedirect: (fileName) => program.getProjectReferenceRedirect(fileName),\n    isSourceOfProjectReferenceRedirect: (fileName) => program.isSourceOfProjectReferenceRedirect(fileName),\n    getNearestAncestorDirectoryWithPackageJson: maybeBind(host, host.getNearestAncestorDirectoryWithPackageJson),\n    getFileIncludeReasons: () => program.getFileIncludeReasons()\n  };\n}\nfunction getModuleSpecifierResolverHost(program, host) {\n  return {\n    ...createModuleSpecifierResolutionHost(program, host),\n    getCommonSourceDirectory: () => program.getCommonSourceDirectory()\n  };\n}\nfunction moduleResolutionRespectsExports(moduleResolution) {\n  return moduleResolution >= 3 /* Node16 */ && moduleResolution <= 99 /* NodeNext */;\n}\nfunction moduleResolutionUsesNodeModules(moduleResolution) {\n  return moduleResolution === 2 /* NodeJs */ || moduleResolution >= 3 /* Node16 */ && moduleResolution <= 99 /* NodeNext */;\n}\nfunction makeImportIfNecessary(defaultImport, namedImports, moduleSpecifier, quotePreference) {\n  return defaultImport || namedImports && namedImports.length ? makeImport(defaultImport, namedImports, moduleSpecifier, quotePreference) : void 0;\n}\nfunction makeImport(defaultImport, namedImports, moduleSpecifier, quotePreference, isTypeOnly) {\n  return factory.createImportDeclaration(\n    void 0,\n    defaultImport || namedImports ? factory.createImportClause(!!isTypeOnly, defaultImport, namedImports && namedImports.length ? factory.createNamedImports(namedImports) : void 0) : void 0,\n    typeof moduleSpecifier === \"string\" ? makeStringLiteral(moduleSpecifier, quotePreference) : moduleSpecifier,\n    void 0\n  );\n}\nfunction makeStringLiteral(text, quotePreference) {\n  return factory.createStringLiteral(text, quotePreference === QuotePreference.Single);\n}\nvar QuotePreference = /* @__PURE__ */ ((QuotePreference4) => {\n  QuotePreference4[QuotePreference4[\"Single\"] = 0] = \"Single\";\n  QuotePreference4[QuotePreference4[\"Double\"] = 1] = \"Double\";\n  return QuotePreference4;\n})(QuotePreference || {});\nfunction quotePreferenceFromString(str, sourceFile) {\n  return isStringDoubleQuoted(str, sourceFile) ? 1 /* Double */ : 0 /* Single */;\n}\nfunction getQuotePreference(sourceFile, preferences) {\n  if (preferences.quotePreference && preferences.quotePreference !== \"auto\") {\n    return preferences.quotePreference === \"single\" ? 0 /* Single */ : 1 /* Double */;\n  } else {\n    const firstModuleSpecifier = sourceFile.imports && find(sourceFile.imports, (n) => isStringLiteral(n) && !nodeIsSynthesized(n.parent));\n    return firstModuleSpecifier ? quotePreferenceFromString(firstModuleSpecifier, sourceFile) : 1 /* Double */;\n  }\n}\nfunction getQuoteFromPreference(qp) {\n  switch (qp) {\n    case 0 /* Single */:\n      return \"'\";\n    case 1 /* Double */:\n      return '\"';\n    default:\n      return Debug.assertNever(qp);\n  }\n}\nfunction symbolNameNoDefault(symbol) {\n  const escaped = symbolEscapedNameNoDefault(symbol);\n  return escaped === void 0 ? void 0 : unescapeLeadingUnderscores(escaped);\n}\nfunction symbolEscapedNameNoDefault(symbol) {\n  if (symbol.escapedName !== \"default\" /* Default */) {\n    return symbol.escapedName;\n  }\n  return firstDefined(symbol.declarations, (decl) => {\n    const name = getNameOfDeclaration(decl);\n    return name && name.kind === 79 /* Identifier */ ? name.escapedText : void 0;\n  });\n}\nfunction isModuleSpecifierLike(node) {\n  return isStringLiteralLike(node) && (isExternalModuleReference(node.parent) || isImportDeclaration(node.parent) || isRequireCall(node.parent, false) && node.parent.arguments[0] === node || isImportCall(node.parent) && node.parent.arguments[0] === node);\n}\nfunction isObjectBindingElementWithoutPropertyName(bindingElement) {\n  return isBindingElement(bindingElement) && isObjectBindingPattern(bindingElement.parent) && isIdentifier(bindingElement.name) && !bindingElement.propertyName;\n}\nfunction getPropertySymbolFromBindingElement(checker, bindingElement) {\n  const typeOfPattern = checker.getTypeAtLocation(bindingElement.parent);\n  return typeOfPattern && checker.getPropertyOfType(typeOfPattern, bindingElement.name.text);\n}\nfunction getParentNodeInSpan(node, file, span) {\n  if (!node)\n    return void 0;\n  while (node.parent) {\n    if (isSourceFile(node.parent) || !spanContainsNode(span, node.parent, file)) {\n      return node;\n    }\n    node = node.parent;\n  }\n}\nfunction spanContainsNode(span, node, file) {\n  return textSpanContainsPosition(span, node.getStart(file)) && node.getEnd() <= textSpanEnd(span);\n}\nfunction findModifier(node, kind) {\n  return canHaveModifiers(node) ? find(node.modifiers, (m) => m.kind === kind) : void 0;\n}\nfunction insertImports(changes, sourceFile, imports, blankLineBetween) {\n  const decl = isArray(imports) ? imports[0] : imports;\n  const importKindPredicate = decl.kind === 244 /* VariableStatement */ ? isRequireVariableStatement : isAnyImportSyntax;\n  const existingImportStatements = filter(sourceFile.statements, importKindPredicate);\n  const sortedNewImports = isArray(imports) ? stableSort(imports, ts_OrganizeImports_exports.compareImportsOrRequireStatements) : [imports];\n  if (!existingImportStatements.length) {\n    changes.insertNodesAtTopOfFile(sourceFile, sortedNewImports, blankLineBetween);\n  } else if (existingImportStatements && ts_OrganizeImports_exports.importsAreSorted(existingImportStatements)) {\n    for (const newImport of sortedNewImports) {\n      const insertionIndex = ts_OrganizeImports_exports.getImportDeclarationInsertionIndex(existingImportStatements, newImport);\n      if (insertionIndex === 0) {\n        const options = existingImportStatements[0] === sourceFile.statements[0] ? { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude } : {};\n        changes.insertNodeBefore(sourceFile, existingImportStatements[0], newImport, false, options);\n      } else {\n        const prevImport = existingImportStatements[insertionIndex - 1];\n        changes.insertNodeAfter(sourceFile, prevImport, newImport);\n      }\n    }\n  } else {\n    const lastExistingImport = lastOrUndefined(existingImportStatements);\n    if (lastExistingImport) {\n      changes.insertNodesAfter(sourceFile, lastExistingImport, sortedNewImports);\n    } else {\n      changes.insertNodesAtTopOfFile(sourceFile, sortedNewImports, blankLineBetween);\n    }\n  }\n}\nfunction getTypeKeywordOfTypeOnlyImport(importClause, sourceFile) {\n  Debug.assert(importClause.isTypeOnly);\n  return cast(importClause.getChildAt(0, sourceFile), isTypeKeywordToken);\n}\nfunction textSpansEqual(a, b) {\n  return !!a && !!b && a.start === b.start && a.length === b.length;\n}\nfunction documentSpansEqual(a, b) {\n  return a.fileName === b.fileName && textSpansEqual(a.textSpan, b.textSpan);\n}\nfunction forEachUnique(array, callback) {\n  if (array) {\n    for (let i = 0; i < array.length; i++) {\n      if (array.indexOf(array[i]) === i) {\n        const result = callback(array[i], i);\n        if (result) {\n          return result;\n        }\n      }\n    }\n  }\n  return void 0;\n}\nfunction isTextWhiteSpaceLike(text, startPos, endPos) {\n  for (let i = startPos; i < endPos; i++) {\n    if (!isWhiteSpaceLike(text.charCodeAt(i))) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction getMappedLocation(location, sourceMapper, fileExists) {\n  const mapsTo = sourceMapper.tryGetSourcePosition(location);\n  return mapsTo && (!fileExists || fileExists(normalizePath(mapsTo.fileName)) ? mapsTo : void 0);\n}\nfunction getMappedDocumentSpan(documentSpan, sourceMapper, fileExists) {\n  const { fileName, textSpan } = documentSpan;\n  const newPosition = getMappedLocation({ fileName, pos: textSpan.start }, sourceMapper, fileExists);\n  if (!newPosition)\n    return void 0;\n  const newEndPosition = getMappedLocation({ fileName, pos: textSpan.start + textSpan.length }, sourceMapper, fileExists);\n  const newLength = newEndPosition ? newEndPosition.pos - newPosition.pos : textSpan.length;\n  return {\n    fileName: newPosition.fileName,\n    textSpan: {\n      start: newPosition.pos,\n      length: newLength\n    },\n    originalFileName: documentSpan.fileName,\n    originalTextSpan: documentSpan.textSpan,\n    contextSpan: getMappedContextSpan(documentSpan, sourceMapper, fileExists),\n    originalContextSpan: documentSpan.contextSpan\n  };\n}\nfunction getMappedContextSpan(documentSpan, sourceMapper, fileExists) {\n  const contextSpanStart = documentSpan.contextSpan && getMappedLocation(\n    { fileName: documentSpan.fileName, pos: documentSpan.contextSpan.start },\n    sourceMapper,\n    fileExists\n  );\n  const contextSpanEnd = documentSpan.contextSpan && getMappedLocation(\n    { fileName: documentSpan.fileName, pos: documentSpan.contextSpan.start + documentSpan.contextSpan.length },\n    sourceMapper,\n    fileExists\n  );\n  return contextSpanStart && contextSpanEnd ? { start: contextSpanStart.pos, length: contextSpanEnd.pos - contextSpanStart.pos } : void 0;\n}\nfunction isFirstDeclarationOfSymbolParameter(symbol) {\n  const declaration = symbol.declarations ? firstOrUndefined(symbol.declarations) : void 0;\n  return !!findAncestor(declaration, (n) => isParameter(n) ? true : isBindingElement(n) || isObjectBindingPattern(n) || isArrayBindingPattern(n) ? false : \"quit\");\n}\nvar displayPartWriter = getDisplayPartWriter();\nfunction getDisplayPartWriter() {\n  const absoluteMaximumLength = defaultMaximumTruncationLength * 10;\n  let displayParts;\n  let lineStart;\n  let indent2;\n  let length2;\n  resetWriter();\n  const unknownWrite = (text) => writeKind(text, 17 /* text */);\n  return {\n    displayParts: () => {\n      const finalText = displayParts.length && displayParts[displayParts.length - 1].text;\n      if (length2 > absoluteMaximumLength && finalText && finalText !== \"...\") {\n        if (!isWhiteSpaceLike(finalText.charCodeAt(finalText.length - 1))) {\n          displayParts.push(displayPart(\" \", 16 /* space */));\n        }\n        displayParts.push(displayPart(\"...\", 15 /* punctuation */));\n      }\n      return displayParts;\n    },\n    writeKeyword: (text) => writeKind(text, 5 /* keyword */),\n    writeOperator: (text) => writeKind(text, 12 /* operator */),\n    writePunctuation: (text) => writeKind(text, 15 /* punctuation */),\n    writeTrailingSemicolon: (text) => writeKind(text, 15 /* punctuation */),\n    writeSpace: (text) => writeKind(text, 16 /* space */),\n    writeStringLiteral: (text) => writeKind(text, 8 /* stringLiteral */),\n    writeParameter: (text) => writeKind(text, 13 /* parameterName */),\n    writeProperty: (text) => writeKind(text, 14 /* propertyName */),\n    writeLiteral: (text) => writeKind(text, 8 /* stringLiteral */),\n    writeSymbol,\n    writeLine,\n    write: unknownWrite,\n    writeComment: unknownWrite,\n    getText: () => \"\",\n    getTextPos: () => 0,\n    getColumn: () => 0,\n    getLine: () => 0,\n    isAtStartOfLine: () => false,\n    hasTrailingWhitespace: () => false,\n    hasTrailingComment: () => false,\n    rawWrite: notImplemented,\n    getIndent: () => indent2,\n    increaseIndent: () => {\n      indent2++;\n    },\n    decreaseIndent: () => {\n      indent2--;\n    },\n    clear: resetWriter,\n    trackSymbol: () => false,\n    reportInaccessibleThisError: noop,\n    reportInaccessibleUniqueSymbolError: noop,\n    reportPrivateInBaseOfClassExpression: noop\n  };\n  function writeIndent() {\n    if (length2 > absoluteMaximumLength)\n      return;\n    if (lineStart) {\n      const indentString = getIndentString(indent2);\n      if (indentString) {\n        length2 += indentString.length;\n        displayParts.push(displayPart(indentString, 16 /* space */));\n      }\n      lineStart = false;\n    }\n  }\n  function writeKind(text, kind) {\n    if (length2 > absoluteMaximumLength)\n      return;\n    writeIndent();\n    length2 += text.length;\n    displayParts.push(displayPart(text, kind));\n  }\n  function writeSymbol(text, symbol) {\n    if (length2 > absoluteMaximumLength)\n      return;\n    writeIndent();\n    length2 += text.length;\n    displayParts.push(symbolPart(text, symbol));\n  }\n  function writeLine() {\n    if (length2 > absoluteMaximumLength)\n      return;\n    length2 += 1;\n    displayParts.push(lineBreakPart());\n    lineStart = true;\n  }\n  function resetWriter() {\n    displayParts = [];\n    lineStart = true;\n    indent2 = 0;\n    length2 = 0;\n  }\n}\nfunction symbolPart(text, symbol) {\n  return displayPart(text, displayPartKind(symbol));\n  function displayPartKind(symbol2) {\n    const flags = symbol2.flags;\n    if (flags & 3 /* Variable */) {\n      return isFirstDeclarationOfSymbolParameter(symbol2) ? 13 /* parameterName */ : 9 /* localName */;\n    }\n    if (flags & 4 /* Property */)\n      return 14 /* propertyName */;\n    if (flags & 32768 /* GetAccessor */)\n      return 14 /* propertyName */;\n    if (flags & 65536 /* SetAccessor */)\n      return 14 /* propertyName */;\n    if (flags & 8 /* EnumMember */)\n      return 19 /* enumMemberName */;\n    if (flags & 16 /* Function */)\n      return 20 /* functionName */;\n    if (flags & 32 /* Class */)\n      return 1 /* className */;\n    if (flags & 64 /* Interface */)\n      return 4 /* interfaceName */;\n    if (flags & 384 /* Enum */)\n      return 2 /* enumName */;\n    if (flags & 1536 /* Module */)\n      return 11 /* moduleName */;\n    if (flags & 8192 /* Method */)\n      return 10 /* methodName */;\n    if (flags & 262144 /* TypeParameter */)\n      return 18 /* typeParameterName */;\n    if (flags & 524288 /* TypeAlias */)\n      return 0 /* aliasName */;\n    if (flags & 2097152 /* Alias */)\n      return 0 /* aliasName */;\n    return 17 /* text */;\n  }\n}\nfunction displayPart(text, kind) {\n  return { text, kind: SymbolDisplayPartKind[kind] };\n}\nfunction spacePart() {\n  return displayPart(\" \", 16 /* space */);\n}\nfunction keywordPart(kind) {\n  return displayPart(tokenToString(kind), 5 /* keyword */);\n}\nfunction punctuationPart(kind) {\n  return displayPart(tokenToString(kind), 15 /* punctuation */);\n}\nfunction operatorPart(kind) {\n  return displayPart(tokenToString(kind), 12 /* operator */);\n}\nfunction parameterNamePart(text) {\n  return displayPart(text, 13 /* parameterName */);\n}\nfunction propertyNamePart(text) {\n  return displayPart(text, 14 /* propertyName */);\n}\nfunction textOrKeywordPart(text) {\n  const kind = stringToToken(text);\n  return kind === void 0 ? textPart(text) : keywordPart(kind);\n}\nfunction textPart(text) {\n  return displayPart(text, 17 /* text */);\n}\nfunction typeAliasNamePart(text) {\n  return displayPart(text, 0 /* aliasName */);\n}\nfunction typeParameterNamePart(text) {\n  return displayPart(text, 18 /* typeParameterName */);\n}\nfunction linkTextPart(text) {\n  return displayPart(text, 24 /* linkText */);\n}\nfunction linkNamePart(text, target) {\n  return {\n    text,\n    kind: SymbolDisplayPartKind[23 /* linkName */],\n    target: {\n      fileName: getSourceFileOfNode(target).fileName,\n      textSpan: createTextSpanFromNode(target)\n    }\n  };\n}\nfunction linkPart(text) {\n  return displayPart(text, 22 /* link */);\n}\nfunction buildLinkParts(link, checker) {\n  var _a2;\n  const prefix = isJSDocLink(link) ? \"link\" : isJSDocLinkCode(link) ? \"linkcode\" : \"linkplain\";\n  const parts = [linkPart(`{@${prefix} `)];\n  if (!link.name) {\n    if (link.text) {\n      parts.push(linkTextPart(link.text));\n    }\n  } else {\n    const symbol = checker == null ? void 0 : checker.getSymbolAtLocation(link.name);\n    const suffix = findLinkNameEnd(link.text);\n    const name = getTextOfNode(link.name) + link.text.slice(0, suffix);\n    const text = skipSeparatorFromLinkText(link.text.slice(suffix));\n    const decl = (symbol == null ? void 0 : symbol.valueDeclaration) || ((_a2 = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a2[0]);\n    if (decl) {\n      parts.push(linkNamePart(name, decl));\n      if (text)\n        parts.push(linkTextPart(text));\n    } else {\n      parts.push(linkTextPart(name + (suffix || text.indexOf(\"://\") === 0 ? \"\" : \" \") + text));\n    }\n  }\n  parts.push(linkPart(\"}\"));\n  return parts;\n}\nfunction skipSeparatorFromLinkText(text) {\n  let pos = 0;\n  if (text.charCodeAt(pos++) === 124 /* bar */) {\n    while (pos < text.length && text.charCodeAt(pos) === 32 /* space */)\n      pos++;\n    return text.slice(pos);\n  }\n  return text;\n}\nfunction findLinkNameEnd(text) {\n  if (text.indexOf(\"()\") === 0)\n    return 2;\n  if (text[0] !== \"<\")\n    return 0;\n  let brackets2 = 0;\n  let i = 0;\n  while (i < text.length) {\n    if (text[i] === \"<\")\n      brackets2++;\n    if (text[i] === \">\")\n      brackets2--;\n    i++;\n    if (!brackets2)\n      return i;\n  }\n  return 0;\n}\nvar carriageReturnLineFeed2 = \"\\r\\n\";\nfunction getNewLineOrDefaultFromHost(host, formatSettings) {\n  var _a2;\n  return (formatSettings == null ? void 0 : formatSettings.newLineCharacter) || ((_a2 = host.getNewLine) == null ? void 0 : _a2.call(host)) || carriageReturnLineFeed2;\n}\nfunction lineBreakPart() {\n  return displayPart(\"\\n\", 6 /* lineBreak */);\n}\nfunction mapToDisplayParts(writeDisplayParts) {\n  try {\n    writeDisplayParts(displayPartWriter);\n    return displayPartWriter.displayParts();\n  } finally {\n    displayPartWriter.clear();\n  }\n}\nfunction typeToDisplayParts(typechecker, type, enclosingDeclaration, flags = 0 /* None */) {\n  return mapToDisplayParts((writer) => {\n    typechecker.writeType(type, enclosingDeclaration, flags | 1024 /* MultilineObjectLiterals */ | 16384 /* UseAliasDefinedOutsideCurrentScope */, writer);\n  });\n}\nfunction symbolToDisplayParts(typeChecker3, symbol, enclosingDeclaration, meaning, flags = 0 /* None */) {\n  return mapToDisplayParts((writer) => {\n    typeChecker3.writeSymbol(symbol, enclosingDeclaration, meaning, flags | 8 /* UseAliasDefinedOutsideCurrentScope */, writer);\n  });\n}\nfunction signatureToDisplayParts(typechecker, signature, enclosingDeclaration, flags = 0 /* None */) {\n  flags |= 16384 /* UseAliasDefinedOutsideCurrentScope */ | 1024 /* MultilineObjectLiterals */ | 32 /* WriteTypeArgumentsOfSignature */ | 8192 /* OmitParameterModifiers */;\n  return mapToDisplayParts((writer) => {\n    typechecker.writeSignature(signature, enclosingDeclaration, flags, void 0, writer);\n  });\n}\nfunction nodeToDisplayParts(node, enclosingDeclaration) {\n  const file = enclosingDeclaration.getSourceFile();\n  return mapToDisplayParts((writer) => {\n    const printer3 = createPrinterWithRemoveCommentsOmitTrailingSemicolon();\n    printer3.writeNode(4 /* Unspecified */, node, file, writer);\n  });\n}\nfunction isImportOrExportSpecifierName(location) {\n  return !!location.parent && isImportOrExportSpecifier(location.parent) && location.parent.propertyName === location;\n}\nfunction getScriptKind(fileName, host) {\n  return ensureScriptKind(fileName, host.getScriptKind && host.getScriptKind(fileName));\n}\nfunction getSymbolTarget(symbol, checker) {\n  let next = symbol;\n  while (isAliasSymbol(next) || isTransientSymbol2(next) && next.target) {\n    if (isTransientSymbol2(next) && next.target) {\n      next = next.target;\n    } else {\n      next = skipAlias(next, checker);\n    }\n  }\n  return next;\n}\nfunction isTransientSymbol2(symbol) {\n  return (symbol.flags & 33554432 /* Transient */) !== 0;\n}\nfunction isAliasSymbol(symbol) {\n  return (symbol.flags & 2097152 /* Alias */) !== 0;\n}\nfunction getUniqueSymbolId(symbol, checker) {\n  return getSymbolId(skipAlias(symbol, checker));\n}\nfunction getFirstNonSpaceCharacterPosition(text, position) {\n  while (isWhiteSpaceLike(text.charCodeAt(position))) {\n    position += 1;\n  }\n  return position;\n}\nfunction getPrecedingNonSpaceCharacterPosition(text, position) {\n  while (position > -1 && isWhiteSpaceSingleLine(text.charCodeAt(position))) {\n    position -= 1;\n  }\n  return position + 1;\n}\nfunction getSynthesizedDeepClone(node, includeTrivia = true) {\n  const clone2 = node && getSynthesizedDeepCloneWorker(node);\n  if (clone2 && !includeTrivia)\n    suppressLeadingAndTrailingTrivia(clone2);\n  return clone2;\n}\nfunction getSynthesizedDeepCloneWithReplacements(node, includeTrivia, replaceNode) {\n  let clone2 = replaceNode(node);\n  if (clone2) {\n    setOriginalNode(clone2, node);\n  } else {\n    clone2 = getSynthesizedDeepCloneWorker(node, replaceNode);\n  }\n  if (clone2 && !includeTrivia)\n    suppressLeadingAndTrailingTrivia(clone2);\n  return clone2;\n}\nfunction getSynthesizedDeepCloneWorker(node, replaceNode) {\n  const nodeClone = replaceNode ? (n) => getSynthesizedDeepCloneWithReplacements(n, true, replaceNode) : getSynthesizedDeepClone;\n  const nodesClone = replaceNode ? (ns) => ns && getSynthesizedDeepClonesWithReplacements(ns, true, replaceNode) : (ns) => ns && getSynthesizedDeepClones(ns);\n  const visited = visitEachChild(node, nodeClone, nullTransformationContext, nodesClone, nodeClone);\n  if (visited === node) {\n    const clone2 = isStringLiteral(node) ? setOriginalNode(factory.createStringLiteralFromNode(node), node) : isNumericLiteral(node) ? setOriginalNode(factory.createNumericLiteral(node.text, node.numericLiteralFlags), node) : factory.cloneNode(node);\n    return setTextRange(clone2, node);\n  }\n  visited.parent = void 0;\n  return visited;\n}\nfunction getSynthesizedDeepClones(nodes, includeTrivia = true) {\n  return nodes && factory.createNodeArray(nodes.map((n) => getSynthesizedDeepClone(n, includeTrivia)), nodes.hasTrailingComma);\n}\nfunction getSynthesizedDeepClonesWithReplacements(nodes, includeTrivia, replaceNode) {\n  return factory.createNodeArray(nodes.map((n) => getSynthesizedDeepCloneWithReplacements(n, includeTrivia, replaceNode)), nodes.hasTrailingComma);\n}\nfunction suppressLeadingAndTrailingTrivia(node) {\n  suppressLeadingTrivia(node);\n  suppressTrailingTrivia(node);\n}\nfunction suppressLeadingTrivia(node) {\n  addEmitFlagsRecursively(node, 512 /* NoLeadingComments */, getFirstChild);\n}\nfunction suppressTrailingTrivia(node) {\n  addEmitFlagsRecursively(node, 1024 /* NoTrailingComments */, getLastChild);\n}\nfunction copyComments(sourceNode, targetNode) {\n  const sourceFile = sourceNode.getSourceFile();\n  const text = sourceFile.text;\n  if (hasLeadingLineBreak(sourceNode, text)) {\n    copyLeadingComments(sourceNode, targetNode, sourceFile);\n  } else {\n    copyTrailingAsLeadingComments(sourceNode, targetNode, sourceFile);\n  }\n  copyTrailingComments(sourceNode, targetNode, sourceFile);\n}\nfunction hasLeadingLineBreak(node, text) {\n  const start = node.getFullStart();\n  const end = node.getStart();\n  for (let i = start; i < end; i++) {\n    if (text.charCodeAt(i) === 10 /* lineFeed */)\n      return true;\n  }\n  return false;\n}\nfunction addEmitFlagsRecursively(node, flag, getChild) {\n  addEmitFlags(node, flag);\n  const child = getChild(node);\n  if (child)\n    addEmitFlagsRecursively(child, flag, getChild);\n}\nfunction getFirstChild(node) {\n  return node.forEachChild((child) => child);\n}\nfunction getUniqueName(baseName, sourceFile) {\n  let nameText = baseName;\n  for (let i = 1; !isFileLevelUniqueName(sourceFile, nameText); i++) {\n    nameText = `${baseName}_${i}`;\n  }\n  return nameText;\n}\nfunction getRenameLocation(edits, renameFilename, name, preferLastLocation) {\n  let delta = 0;\n  let lastPos = -1;\n  for (const { fileName, textChanges: textChanges3 } of edits) {\n    Debug.assert(fileName === renameFilename);\n    for (const change of textChanges3) {\n      const { span, newText } = change;\n      const index = indexInTextChange(newText, escapeString(name));\n      if (index !== -1) {\n        lastPos = span.start + delta + index;\n        if (!preferLastLocation) {\n          return lastPos;\n        }\n      }\n      delta += newText.length - span.length;\n    }\n  }\n  Debug.assert(preferLastLocation);\n  Debug.assert(lastPos >= 0);\n  return lastPos;\n}\nfunction copyLeadingComments(sourceNode, targetNode, sourceFile, commentKind, hasTrailingNewLine) {\n  forEachLeadingCommentRange(sourceFile.text, sourceNode.pos, getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, addSyntheticLeadingComment));\n}\nfunction copyTrailingComments(sourceNode, targetNode, sourceFile, commentKind, hasTrailingNewLine) {\n  forEachTrailingCommentRange(sourceFile.text, sourceNode.end, getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, addSyntheticTrailingComment));\n}\nfunction copyTrailingAsLeadingComments(sourceNode, targetNode, sourceFile, commentKind, hasTrailingNewLine) {\n  forEachTrailingCommentRange(sourceFile.text, sourceNode.pos, getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, addSyntheticLeadingComment));\n}\nfunction getAddCommentsFunction(targetNode, sourceFile, commentKind, hasTrailingNewLine, cb) {\n  return (pos, end, kind, htnl) => {\n    if (kind === 3 /* MultiLineCommentTrivia */) {\n      pos += 2;\n      end -= 2;\n    } else {\n      pos += 2;\n    }\n    cb(targetNode, commentKind || kind, sourceFile.text.slice(pos, end), hasTrailingNewLine !== void 0 ? hasTrailingNewLine : htnl);\n  };\n}\nfunction indexInTextChange(change, name) {\n  if (startsWith(change, name))\n    return 0;\n  let idx = change.indexOf(\" \" + name);\n  if (idx === -1)\n    idx = change.indexOf(\".\" + name);\n  if (idx === -1)\n    idx = change.indexOf('\"' + name);\n  return idx === -1 ? -1 : idx + 1;\n}\nfunction needsParentheses(expression) {\n  return isBinaryExpression(expression) && expression.operatorToken.kind === 27 /* CommaToken */ || isObjectLiteralExpression(expression) || isAsExpression(expression) && isObjectLiteralExpression(expression.expression);\n}\nfunction getContextualTypeFromParent(node, checker) {\n  const { parent: parent2 } = node;\n  switch (parent2.kind) {\n    case 214 /* NewExpression */:\n      return checker.getContextualType(parent2);\n    case 227 /* BinaryExpression */: {\n      const { left, operatorToken, right } = parent2;\n      return isEqualityOperatorKind(operatorToken.kind) ? checker.getTypeAtLocation(node === right ? left : right) : checker.getContextualType(node);\n    }\n    case 298 /* CaseClause */:\n      return parent2.expression === node ? getSwitchedType(parent2, checker) : void 0;\n    default:\n      return checker.getContextualType(node);\n  }\n}\nfunction quote(sourceFile, preferences, text) {\n  const quotePreference = getQuotePreference(sourceFile, preferences);\n  const quoted = JSON.stringify(text);\n  return quotePreference === 0 /* Single */ ? `'${stripQuotes(quoted).replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"')}'` : quoted;\n}\nfunction isEqualityOperatorKind(kind) {\n  switch (kind) {\n    case 36 /* EqualsEqualsEqualsToken */:\n    case 34 /* EqualsEqualsToken */:\n    case 37 /* ExclamationEqualsEqualsToken */:\n    case 35 /* ExclamationEqualsToken */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isStringLiteralOrTemplate(node) {\n  switch (node.kind) {\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 229 /* TemplateExpression */:\n    case 215 /* TaggedTemplateExpression */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction hasIndexSignature(type) {\n  return !!type.getStringIndexType() || !!type.getNumberIndexType();\n}\nfunction getSwitchedType(caseClause, checker) {\n  return checker.getTypeAtLocation(caseClause.parent.parent.expression);\n}\nvar ANONYMOUS = \"anonymous function\";\nfunction getTypeNodeIfAccessible(type, enclosingScope, program, host) {\n  const checker = program.getTypeChecker();\n  let typeIsAccessible = true;\n  const notAccessible = () => typeIsAccessible = false;\n  const res = checker.typeToTypeNode(type, enclosingScope, 1 /* NoTruncation */, {\n    trackSymbol: (symbol, declaration, meaning) => {\n      typeIsAccessible = typeIsAccessible && checker.isSymbolAccessible(symbol, declaration, meaning, false).accessibility === 0 /* Accessible */;\n      return !typeIsAccessible;\n    },\n    reportInaccessibleThisError: notAccessible,\n    reportPrivateInBaseOfClassExpression: notAccessible,\n    reportInaccessibleUniqueSymbolError: notAccessible,\n    moduleResolverHost: getModuleSpecifierResolverHost(program, host)\n  });\n  return typeIsAccessible ? res : void 0;\n}\nfunction syntaxRequiresTrailingCommaOrSemicolonOrASI(kind) {\n  return kind === 179 /* CallSignature */ || kind === 180 /* ConstructSignature */ || kind === 181 /* IndexSignature */ || kind === 170 /* PropertySignature */ || kind === 173 /* MethodSignature */;\n}\nfunction syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(kind) {\n  return kind === 263 /* FunctionDeclaration */ || kind === 176 /* Constructor */ || kind === 174 /* MethodDeclaration */ || kind === 177 /* GetAccessor */ || kind === 178 /* SetAccessor */;\n}\nfunction syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(kind) {\n  return kind === 270 /* ModuleDeclaration */;\n}\nfunction syntaxRequiresTrailingSemicolonOrASI(kind) {\n  return kind === 244 /* VariableStatement */ || kind === 245 /* ExpressionStatement */ || kind === 247 /* DoStatement */ || kind === 252 /* ContinueStatement */ || kind === 253 /* BreakStatement */ || kind === 254 /* ReturnStatement */ || kind === 258 /* ThrowStatement */ || kind === 260 /* DebuggerStatement */ || kind === 171 /* PropertyDeclaration */ || kind === 268 /* TypeAliasDeclaration */ || kind === 275 /* ImportDeclaration */ || kind === 274 /* ImportEqualsDeclaration */ || kind === 281 /* ExportDeclaration */ || kind === 273 /* NamespaceExportDeclaration */ || kind === 280 /* ExportAssignment */;\n}\nvar syntaxMayBeASICandidate = or(\n  syntaxRequiresTrailingCommaOrSemicolonOrASI,\n  syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,\n  syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,\n  syntaxRequiresTrailingSemicolonOrASI\n);\nfunction nodeIsASICandidate(node, sourceFile) {\n  const lastToken = node.getLastToken(sourceFile);\n  if (lastToken && lastToken.kind === 26 /* SemicolonToken */) {\n    return false;\n  }\n  if (syntaxRequiresTrailingCommaOrSemicolonOrASI(node.kind)) {\n    if (lastToken && lastToken.kind === 27 /* CommaToken */) {\n      return false;\n    }\n  } else if (syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(node.kind)) {\n    const lastChild = last(node.getChildren(sourceFile));\n    if (lastChild && isModuleBlock(lastChild)) {\n      return false;\n    }\n  } else if (syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(node.kind)) {\n    const lastChild = last(node.getChildren(sourceFile));\n    if (lastChild && isFunctionBlock(lastChild)) {\n      return false;\n    }\n  } else if (!syntaxRequiresTrailingSemicolonOrASI(node.kind)) {\n    return false;\n  }\n  if (node.kind === 247 /* DoStatement */) {\n    return true;\n  }\n  const topNode = findAncestor(node, (ancestor) => !ancestor.parent);\n  const nextToken = findNextToken(node, topNode, sourceFile);\n  if (!nextToken || nextToken.kind === 19 /* CloseBraceToken */) {\n    return true;\n  }\n  const startLine = sourceFile.getLineAndCharacterOfPosition(node.getEnd()).line;\n  const endLine = sourceFile.getLineAndCharacterOfPosition(nextToken.getStart(sourceFile)).line;\n  return startLine !== endLine;\n}\nfunction positionIsASICandidate(pos, context, sourceFile) {\n  const contextAncestor = findAncestor(context, (ancestor) => {\n    if (ancestor.end !== pos) {\n      return \"quit\";\n    }\n    return syntaxMayBeASICandidate(ancestor.kind);\n  });\n  return !!contextAncestor && nodeIsASICandidate(contextAncestor, sourceFile);\n}\nfunction probablyUsesSemicolons(sourceFile) {\n  let withSemicolon = 0;\n  let withoutSemicolon = 0;\n  const nStatementsToObserve = 5;\n  forEachChild(sourceFile, function visit(node) {\n    if (syntaxRequiresTrailingSemicolonOrASI(node.kind)) {\n      const lastToken = node.getLastToken(sourceFile);\n      if ((lastToken == null ? void 0 : lastToken.kind) === 26 /* SemicolonToken */) {\n        withSemicolon++;\n      } else {\n        withoutSemicolon++;\n      }\n    } else if (syntaxRequiresTrailingCommaOrSemicolonOrASI(node.kind)) {\n      const lastToken = node.getLastToken(sourceFile);\n      if ((lastToken == null ? void 0 : lastToken.kind) === 26 /* SemicolonToken */) {\n        withSemicolon++;\n      } else if (lastToken && lastToken.kind !== 27 /* CommaToken */) {\n        const lastTokenLine = getLineAndCharacterOfPosition(sourceFile, lastToken.getStart(sourceFile)).line;\n        const nextTokenLine = getLineAndCharacterOfPosition(sourceFile, getSpanOfTokenAtPosition(sourceFile, lastToken.end).start).line;\n        if (lastTokenLine !== nextTokenLine) {\n          withoutSemicolon++;\n        }\n      }\n    }\n    if (withSemicolon + withoutSemicolon >= nStatementsToObserve) {\n      return true;\n    }\n    return forEachChild(node, visit);\n  });\n  if (withSemicolon === 0 && withoutSemicolon <= 1) {\n    return true;\n  }\n  return withSemicolon / withoutSemicolon > 1 / nStatementsToObserve;\n}\nfunction tryGetDirectories(host, directoryName) {\n  return tryIOAndConsumeErrors(host, host.getDirectories, directoryName) || [];\n}\nfunction tryReadDirectory(host, path, extensions, exclude, include) {\n  return tryIOAndConsumeErrors(host, host.readDirectory, path, extensions, exclude, include) || emptyArray;\n}\nfunction tryFileExists(host, path) {\n  return tryIOAndConsumeErrors(host, host.fileExists, path);\n}\nfunction tryDirectoryExists(host, path) {\n  return tryAndIgnoreErrors(() => directoryProbablyExists(path, host)) || false;\n}\nfunction tryAndIgnoreErrors(cb) {\n  try {\n    return cb();\n  } catch (e) {\n    return void 0;\n  }\n}\nfunction tryIOAndConsumeErrors(host, toApply, ...args) {\n  return tryAndIgnoreErrors(() => toApply && toApply.apply(host, args));\n}\nfunction findPackageJsons(startDirectory, host, stopDirectory) {\n  const paths = [];\n  forEachAncestorDirectory(startDirectory, (ancestor) => {\n    if (ancestor === stopDirectory) {\n      return true;\n    }\n    const currentConfigPath = combinePaths(ancestor, getPackageJsonByPMType(host.getCompilationSettings().packageManagerType));\n    if (tryFileExists(host, currentConfigPath)) {\n      paths.push(currentConfigPath);\n    }\n  });\n  return paths;\n}\nfunction findPackageJson(directory, host) {\n  let packageJson;\n  forEachAncestorDirectory(directory, (ancestor) => {\n    const moduleType = getModuleByPMType(host.getCompilationSettings().packageManagerType);\n    const packageJsonType = getPackageJsonByPMType(host.getCompilationSettings().packageManagerType);\n    if (ancestor === moduleType)\n      return true;\n    packageJson = findConfigFile(ancestor, (f) => tryFileExists(host, f), packageJsonType);\n    if (packageJson) {\n      return true;\n    }\n  });\n  return packageJson;\n}\nfunction getPackageJsonsVisibleToFile(fileName, host) {\n  if (!host.fileExists) {\n    return [];\n  }\n  const packageJsons = [];\n  forEachAncestorDirectory(getDirectoryPath(fileName), (ancestor) => {\n    const packageJsonFileName = combinePaths(ancestor, getPackageJsonByPMType(host.getCompilationSettings().packageManagerType));\n    if (host.fileExists(packageJsonFileName)) {\n      const info = createPackageJsonInfo(packageJsonFileName, host);\n      if (info) {\n        packageJsons.push(info);\n      }\n    }\n  });\n  return packageJsons;\n}\nfunction createPackageJsonInfo(fileName, host) {\n  if (!host.readFile) {\n    return void 0;\n  }\n  const dependencyKeys = [\"dependencies\", \"devDependencies\", \"optionalDependencies\", \"peerDependencies\"];\n  const stringContent = host.readFile(fileName) || \"\";\n  const content = tryParseJson(stringContent);\n  const info = {};\n  if (content) {\n    for (const key of dependencyKeys) {\n      const dependencies = content[key];\n      if (!dependencies) {\n        continue;\n      }\n      const dependencyMap = new Map2();\n      for (const packageName in dependencies) {\n        dependencyMap.set(packageName, dependencies[packageName]);\n      }\n      info[key] = dependencyMap;\n    }\n  }\n  const dependencyGroups = [\n    [1 /* Dependencies */, info.dependencies],\n    [2 /* DevDependencies */, info.devDependencies],\n    [8 /* OptionalDependencies */, info.optionalDependencies],\n    [4 /* PeerDependencies */, info.peerDependencies]\n  ];\n  return {\n    ...info,\n    parseable: !!content,\n    fileName,\n    get,\n    has(dependencyName, inGroups) {\n      return !!get(dependencyName, inGroups);\n    }\n  };\n  function get(dependencyName, inGroups = 15 /* All */) {\n    for (const [group2, deps] of dependencyGroups) {\n      if (deps && inGroups & group2) {\n        const dep = deps.get(dependencyName);\n        if (dep !== void 0) {\n          return dep;\n        }\n      }\n    }\n  }\n}\nfunction createPackageJsonImportFilter(fromFile, preferences, host) {\n  const packageJsons = (host.getPackageJsonsVisibleToFile && host.getPackageJsonsVisibleToFile(fromFile.fileName) || getPackageJsonsVisibleToFile(fromFile.fileName, host)).filter((p) => p.parseable);\n  let usesNodeCoreModules;\n  return { allowsImportingAmbientModule, allowsImportingSourceFile, allowsImportingSpecifier };\n  function moduleSpecifierIsCoveredByPackageJson(specifier) {\n    const packageName = getNodeModuleRootSpecifier(specifier);\n    for (const packageJson of packageJsons) {\n      if (packageJson.has(packageName) || packageJson.has(getTypesPackageName(packageName))) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost) {\n    if (!packageJsons.length || !moduleSymbol.valueDeclaration) {\n      return true;\n    }\n    const declaringSourceFile = moduleSymbol.valueDeclaration.getSourceFile();\n    const declaringNodeModuleName = getNodeModulesPackageNameFromFileName(declaringSourceFile.fileName, moduleSpecifierResolutionHost);\n    if (typeof declaringNodeModuleName === \"undefined\") {\n      return true;\n    }\n    const declaredModuleSpecifier = stripQuotes(moduleSymbol.getName());\n    if (isAllowedCoreNodeModulesImport(declaredModuleSpecifier)) {\n      return true;\n    }\n    return moduleSpecifierIsCoveredByPackageJson(declaringNodeModuleName) || moduleSpecifierIsCoveredByPackageJson(declaredModuleSpecifier);\n  }\n  function allowsImportingSourceFile(sourceFile, moduleSpecifierResolutionHost) {\n    if (!packageJsons.length) {\n      return true;\n    }\n    const moduleSpecifier = getNodeModulesPackageNameFromFileName(sourceFile.fileName, moduleSpecifierResolutionHost);\n    if (!moduleSpecifier) {\n      return true;\n    }\n    return moduleSpecifierIsCoveredByPackageJson(moduleSpecifier);\n  }\n  function allowsImportingSpecifier(moduleSpecifier) {\n    if (!packageJsons.length || isAllowedCoreNodeModulesImport(moduleSpecifier)) {\n      return true;\n    }\n    if (pathIsRelative(moduleSpecifier) || isRootedDiskPath(moduleSpecifier)) {\n      return true;\n    }\n    return moduleSpecifierIsCoveredByPackageJson(moduleSpecifier);\n  }\n  function isAllowedCoreNodeModulesImport(moduleSpecifier) {\n    if (isSourceFileJS(fromFile) && ts_JsTyping_exports.nodeCoreModules.has(moduleSpecifier)) {\n      if (usesNodeCoreModules === void 0) {\n        usesNodeCoreModules = consumesNodeCoreModules(fromFile);\n      }\n      if (usesNodeCoreModules) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function getNodeModulesPackageNameFromFileName(importedFileName, moduleSpecifierResolutionHost) {\n    if (!stringContains(importedFileName, \"node_modules\") && !stringContains(importedFileName, \"oh_modules\")) {\n      return void 0;\n    }\n    const specifier = ts_moduleSpecifiers_exports.getNodeModulesPackageName(\n      host.getCompilationSettings(),\n      fromFile,\n      importedFileName,\n      moduleSpecifierResolutionHost,\n      preferences\n    );\n    if (!specifier) {\n      return void 0;\n    }\n    if (!pathIsRelative(specifier) && !isRootedDiskPath(specifier)) {\n      return getNodeModuleRootSpecifier(specifier);\n    }\n  }\n  function getNodeModuleRootSpecifier(fullSpecifier) {\n    const components = getPathComponents(getPackageNameFromTypesPackageName(fullSpecifier)).slice(1);\n    if (startsWith(components[0], \"@\")) {\n      return `${components[0]}/${components[1]}`;\n    }\n    return components[0];\n  }\n}\nfunction tryParseJson(text) {\n  try {\n    return JSON.parse(text);\n  } catch (e) {\n    return void 0;\n  }\n}\nfunction consumesNodeCoreModules(sourceFile) {\n  return some(sourceFile.imports, ({ text }) => ts_JsTyping_exports.nodeCoreModules.has(text));\n}\nfunction isInsideNodeModules(fileOrDirectory) {\n  return contains(getPathComponents(fileOrDirectory), \"node_modules\");\n}\nfunction isDiagnosticWithLocation(diagnostic) {\n  return diagnostic.file !== void 0 && diagnostic.start !== void 0 && diagnostic.length !== void 0;\n}\nfunction findDiagnosticForNode(node, sortedFileDiagnostics) {\n  const span = createTextSpanFromNode(node);\n  const index = binarySearchKey(sortedFileDiagnostics, span, identity, compareTextSpans);\n  if (index >= 0) {\n    const diagnostic = sortedFileDiagnostics[index];\n    Debug.assertEqual(diagnostic.file, node.getSourceFile(), \"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile\");\n    return cast(diagnostic, isDiagnosticWithLocation);\n  }\n}\nfunction getDiagnosticsWithinSpan(span, sortedFileDiagnostics) {\n  var _a2;\n  let index = binarySearchKey(sortedFileDiagnostics, span.start, (diag2) => diag2.start, compareValues);\n  if (index < 0) {\n    index = ~index;\n  }\n  while (((_a2 = sortedFileDiagnostics[index - 1]) == null ? void 0 : _a2.start) === span.start) {\n    index--;\n  }\n  const result = [];\n  const end = textSpanEnd(span);\n  while (true) {\n    const diagnostic = tryCast(sortedFileDiagnostics[index], isDiagnosticWithLocation);\n    if (!diagnostic || diagnostic.start > end) {\n      break;\n    }\n    if (textSpanContainsTextSpan(span, diagnostic)) {\n      result.push(diagnostic);\n    }\n    index++;\n  }\n  return result;\n}\nfunction getRefactorContextSpan({ startPosition, endPosition }) {\n  return createTextSpanFromBounds(startPosition, endPosition === void 0 ? startPosition : endPosition);\n}\nfunction getFixableErrorSpanExpression(sourceFile, span) {\n  const token = getTokenAtPosition(sourceFile, span.start);\n  const expression = findAncestor(token, (node) => {\n    if (node.getStart(sourceFile) < span.start || node.getEnd() > textSpanEnd(span)) {\n      return \"quit\";\n    }\n    return isExpression(node) && textSpansEqual(span, createTextSpanFromNode(node, sourceFile));\n  });\n  return expression;\n}\nfunction mapOneOrMany(valueOrArray, f, resultSelector = identity) {\n  return valueOrArray ? isArray(valueOrArray) ? resultSelector(map(valueOrArray, f)) : f(valueOrArray, 0) : void 0;\n}\nfunction firstOrOnly(valueOrArray) {\n  return isArray(valueOrArray) ? first(valueOrArray) : valueOrArray;\n}\nfunction getNamesForExportedSymbol(symbol, scriptTarget) {\n  if (needsNameFromDeclaration(symbol)) {\n    const fromDeclaration = getDefaultLikeExportNameFromDeclaration(symbol);\n    if (fromDeclaration)\n      return fromDeclaration;\n    const fileNameCase = ts_codefix_exports.moduleSymbolToValidIdentifier(getSymbolParentOrFail(symbol), scriptTarget, false);\n    const capitalized = ts_codefix_exports.moduleSymbolToValidIdentifier(getSymbolParentOrFail(symbol), scriptTarget, true);\n    if (fileNameCase === capitalized)\n      return fileNameCase;\n    return [fileNameCase, capitalized];\n  }\n  return symbol.name;\n}\nfunction getNameForExportedSymbol(symbol, scriptTarget, preferCapitalized) {\n  if (needsNameFromDeclaration(symbol)) {\n    return getDefaultLikeExportNameFromDeclaration(symbol) || ts_codefix_exports.moduleSymbolToValidIdentifier(getSymbolParentOrFail(symbol), scriptTarget, !!preferCapitalized);\n  }\n  return symbol.name;\n}\nfunction needsNameFromDeclaration(symbol) {\n  return !(symbol.flags & 33554432 /* Transient */) && (symbol.escapedName === \"export=\" /* ExportEquals */ || symbol.escapedName === \"default\" /* Default */);\n}\nfunction getDefaultLikeExportNameFromDeclaration(symbol) {\n  return firstDefined(symbol.declarations, (d) => {\n    var _a2;\n    return isExportAssignment(d) ? (_a2 = tryCast(skipOuterExpressions(d.expression), isIdentifier)) == null ? void 0 : _a2.text : void 0;\n  });\n}\nfunction getSymbolParentOrFail(symbol) {\n  var _a2;\n  return Debug.checkDefined(\n    symbol.parent,\n    `Symbol parent was undefined. Flags: ${Debug.formatSymbolFlags(symbol.flags)}. Declarations: ${(_a2 = symbol.declarations) == null ? void 0 : _a2.map((d) => {\n      const kind = Debug.formatSyntaxKind(d.kind);\n      const inJS = isInJSFile(d);\n      const { expression } = d;\n      return (inJS ? \"[JS]\" : \"\") + kind + (expression ? ` (expression: ${Debug.formatSyntaxKind(expression.kind)})` : \"\");\n    }).join(\", \")}.`\n  );\n}\nfunction stringContainsAt(haystack, needle, startIndex) {\n  const needleLength = needle.length;\n  if (needleLength + startIndex > haystack.length) {\n    return false;\n  }\n  for (let i = 0; i < needleLength; i++) {\n    if (needle.charCodeAt(i) !== haystack.charCodeAt(i + startIndex))\n      return false;\n  }\n  return true;\n}\nfunction startsWithUnderscore(name) {\n  return name.charCodeAt(0) === 95 /* _ */;\n}\nfunction isGlobalDeclaration(declaration) {\n  return !isNonGlobalDeclaration(declaration);\n}\nfunction isNonGlobalDeclaration(declaration) {\n  const sourceFile = declaration.getSourceFile();\n  if (!sourceFile.externalModuleIndicator && !sourceFile.commonJsModuleIndicator) {\n    return false;\n  }\n  return isInJSFile(declaration) || !findAncestor(declaration, isGlobalScopeAugmentation);\n}\nfunction isDeprecatedDeclaration(decl) {\n  return !!(getCombinedNodeFlagsAlwaysIncludeJSDoc(decl) & 8192 /* Deprecated */);\n}\nfunction shouldUseUriStyleNodeCoreModules(file, program) {\n  const decisionFromFile = firstDefined(file.imports, (node) => {\n    if (ts_JsTyping_exports.nodeCoreModules.has(node.text)) {\n      return startsWith(node.text, \"node:\");\n    }\n  });\n  return decisionFromFile != null ? decisionFromFile : program.usesUriStyleNodeCoreModules;\n}\nfunction getNewLineKind(newLineCharacter) {\n  return newLineCharacter === \"\\n\" ? 1 /* LineFeed */ : 0 /* CarriageReturnLineFeed */;\n}\nfunction diagnosticToString(diag2) {\n  return isArray(diag2) ? formatStringFromArgs(getLocaleSpecificMessage(diag2[0]), diag2.slice(1)) : getLocaleSpecificMessage(diag2);\n}\nfunction getFormatCodeSettingsForWriting({ options }, sourceFile) {\n  const shouldAutoDetectSemicolonPreference = !options.semicolons || options.semicolons === \"ignore\" /* Ignore */;\n  const shouldRemoveSemicolons = options.semicolons === \"remove\" /* Remove */ || shouldAutoDetectSemicolonPreference && !probablyUsesSemicolons(sourceFile);\n  return {\n    ...options,\n    semicolons: shouldRemoveSemicolons ? \"remove\" /* Remove */ : \"ignore\" /* Ignore */\n  };\n}\nfunction jsxModeNeedsExplicitImport(jsx) {\n  return jsx === 2 /* React */ || jsx === 3 /* ReactNative */;\n}\nfunction isSourceFileFromLibrary(program, node) {\n  return program.isSourceFileFromExternalLibrary(node) || program.isSourceFileDefaultLibrary(node);\n}\nfunction isVirtualConstructor(checker, symbol, node) {\n  const symbolName2 = checker.symbolToString(symbol);\n  const symbolKind = ts_SymbolDisplay_exports.getSymbolKind(checker, symbol, node);\n  if (node.virtual && symbolName2 === \"__constructor\" /* Constructor */ && symbolKind === \"constructor\" /* constructorImplementationElement */) {\n    return true;\n  }\n  return false;\n}\nfunction getDeclarationFromSymbol(symbol, position = \"first\") {\n  var _a2;\n  return (_a2 = symbol == null ? void 0 : symbol.valueDeclaration) != null ? _a2 : (symbol == null ? void 0 : symbol.declarations) && symbol.declarations.length ? position === \"first\" ? first(symbol.declarations) : last(symbol.declarations) : void 0;\n}\nfunction isVirtualAttributeTypeArgument(node) {\n  return node.typeArguments ? some(\n    node.typeArguments,\n    (argument) => isTypeReferenceNode(argument) && !!argument.virtual && isIdentifier(argument.typeName) && !!argument.typeName.escapedText.toString().match(\"Attribute\")\n  ) : true;\n}\nfunction getTextOfJSDocTagInfo(tag) {\n  var _a2;\n  if (!tag.text) {\n    return \"\";\n  }\n  if (Array.isArray(tag.text)) {\n    return displayPartsToString(tag.text);\n  } else {\n    return (_a2 = getTextOfJSDocComment(tag.text)) != null ? _a2 : \"\";\n  }\n}\n\n// src/services/exportInfoMap.ts\nvar ImportKind = /* @__PURE__ */ ((ImportKind2) => {\n  ImportKind2[ImportKind2[\"Named\"] = 0] = \"Named\";\n  ImportKind2[ImportKind2[\"Default\"] = 1] = \"Default\";\n  ImportKind2[ImportKind2[\"Namespace\"] = 2] = \"Namespace\";\n  ImportKind2[ImportKind2[\"CommonJS\"] = 3] = \"CommonJS\";\n  return ImportKind2;\n})(ImportKind || {});\nvar ExportKind = /* @__PURE__ */ ((ExportKind3) => {\n  ExportKind3[ExportKind3[\"Named\"] = 0] = \"Named\";\n  ExportKind3[ExportKind3[\"Default\"] = 1] = \"Default\";\n  ExportKind3[ExportKind3[\"ExportEquals\"] = 2] = \"ExportEquals\";\n  ExportKind3[ExportKind3[\"UMD\"] = 3] = \"UMD\";\n  return ExportKind3;\n})(ExportKind || {});\nfunction createCacheableExportInfoMap(host) {\n  let exportInfoId = 1;\n  const exportInfo = createMultiMap();\n  const symbols = new Map2();\n  const packages = new Map2();\n  let usableByFileName;\n  const cache = {\n    isUsableByFile: (importingFile) => importingFile === usableByFileName,\n    isEmpty: () => !exportInfo.size,\n    clear: () => {\n      exportInfo.clear();\n      symbols.clear();\n      usableByFileName = void 0;\n    },\n    add: (importingFile, symbol, symbolTableKey, moduleSymbol, moduleFile, exportKind, isFromPackageJson, checker) => {\n      var _a2;\n      if (importingFile !== usableByFileName) {\n        cache.clear();\n        usableByFileName = importingFile;\n      }\n      let packageName;\n      if (moduleFile) {\n        const nodeModulesPathParts = getNodeModulePathParts(moduleFile.fileName, isOhpm((_a2 = host.getCurrentProgram()) == null ? void 0 : _a2.getCompilerOptions().packageManagerType) ? ohModulesPathPart : nodeModulesPathPart);\n        if (nodeModulesPathParts) {\n          const { topLevelNodeModulesIndex, topLevelPackageNameIndex, packageRootIndex } = nodeModulesPathParts;\n          packageName = unmangleScopedPackageName(getPackageNameFromTypesPackageName(moduleFile.fileName.substring(topLevelPackageNameIndex + 1, packageRootIndex)));\n          if (startsWith(importingFile, moduleFile.path.substring(0, topLevelNodeModulesIndex))) {\n            const prevDeepestNodeModulesPath = packages.get(packageName);\n            const nodeModulesPath = moduleFile.fileName.substring(0, topLevelPackageNameIndex + 1);\n            if (prevDeepestNodeModulesPath) {\n              const prevDeepestNodeModulesIndex = prevDeepestNodeModulesPath.indexOf(nodeModulesPathPart);\n              if (topLevelNodeModulesIndex > prevDeepestNodeModulesIndex) {\n                packages.set(packageName, nodeModulesPath);\n              }\n            } else {\n              packages.set(packageName, nodeModulesPath);\n            }\n          }\n        }\n      }\n      const isDefault = exportKind === 1 /* Default */;\n      const namedSymbol = isDefault && getLocalSymbolForExportDefault(symbol) || symbol;\n      const names = exportKind === 0 /* Named */ || isExternalModuleSymbol(namedSymbol) ? unescapeLeadingUnderscores(symbolTableKey) : getNamesForExportedSymbol(namedSymbol, void 0);\n      const symbolName2 = typeof names === \"string\" ? names : names[0];\n      const capitalizedSymbolName = typeof names === \"string\" ? void 0 : names[1];\n      const moduleName = stripQuotes(moduleSymbol.name);\n      const id = exportInfoId++;\n      const target = skipAlias(symbol, checker);\n      const storedSymbol = symbol.flags & 33554432 /* Transient */ ? void 0 : symbol;\n      const storedModuleSymbol = moduleSymbol.flags & 33554432 /* Transient */ ? void 0 : moduleSymbol;\n      if (!storedSymbol || !storedModuleSymbol)\n        symbols.set(id, [symbol, moduleSymbol]);\n      exportInfo.add(key(symbolName2, symbol, isExternalModuleNameRelative(moduleName) ? void 0 : moduleName, checker), {\n        id,\n        symbolTableKey,\n        symbolName: symbolName2,\n        capitalizedSymbolName,\n        moduleName,\n        moduleFile,\n        moduleFileName: moduleFile == null ? void 0 : moduleFile.fileName,\n        packageName,\n        exportKind,\n        targetFlags: target.flags,\n        isFromPackageJson,\n        symbol: storedSymbol,\n        moduleSymbol: storedModuleSymbol\n      });\n    },\n    get: (importingFile, key2) => {\n      if (importingFile !== usableByFileName)\n        return;\n      const result = exportInfo.get(key2);\n      return result == null ? void 0 : result.map(rehydrateCachedInfo);\n    },\n    search: (importingFile, preferCapitalized, matches, action) => {\n      if (importingFile !== usableByFileName)\n        return;\n      return forEachEntry(exportInfo, (info, key2) => {\n        const { symbolName: symbolName2, ambientModuleName } = parseKey(key2);\n        const name = preferCapitalized && info[0].capitalizedSymbolName || symbolName2;\n        if (matches(name, info[0].targetFlags)) {\n          const rehydrated = info.map(rehydrateCachedInfo);\n          const filtered = rehydrated.filter((r, i) => isNotShadowedByDeeperNodeModulesPackage(r, info[i].packageName));\n          if (filtered.length) {\n            const res = action(filtered, name, !!ambientModuleName, key2);\n            if (res !== void 0)\n              return res;\n          }\n        }\n      });\n    },\n    releaseSymbols: () => {\n      symbols.clear();\n    },\n    onFileChanged: (oldSourceFile, newSourceFile, typeAcquisitionEnabled) => {\n      if (fileIsGlobalOnly(oldSourceFile) && fileIsGlobalOnly(newSourceFile)) {\n        return false;\n      }\n      if (usableByFileName && usableByFileName !== newSourceFile.path || typeAcquisitionEnabled && consumesNodeCoreModules(oldSourceFile) !== consumesNodeCoreModules(newSourceFile) || !arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations) || !ambientModuleDeclarationsAreEqual(oldSourceFile, newSourceFile)) {\n        cache.clear();\n        return true;\n      }\n      usableByFileName = newSourceFile.path;\n      return false;\n    }\n  };\n  if (Debug.isDebugging) {\n    Object.defineProperty(cache, \"__cache\", { get: () => exportInfo });\n  }\n  return cache;\n  function rehydrateCachedInfo(info) {\n    if (info.symbol && info.moduleSymbol)\n      return info;\n    const { id, exportKind, targetFlags, isFromPackageJson, moduleFileName } = info;\n    const [cachedSymbol, cachedModuleSymbol] = symbols.get(id) || emptyArray;\n    if (cachedSymbol && cachedModuleSymbol) {\n      return {\n        symbol: cachedSymbol,\n        moduleSymbol: cachedModuleSymbol,\n        moduleFileName,\n        exportKind,\n        targetFlags,\n        isFromPackageJson\n      };\n    }\n    const checker = (isFromPackageJson ? host.getPackageJsonAutoImportProvider() : host.getCurrentProgram()).getTypeChecker();\n    const moduleSymbol = info.moduleSymbol || cachedModuleSymbol || Debug.checkDefined(info.moduleFile ? checker.getMergedSymbol(info.moduleFile.symbol) : checker.tryFindAmbientModule(info.moduleName));\n    const symbol = info.symbol || cachedSymbol || Debug.checkDefined(\n      exportKind === 2 /* ExportEquals */ ? checker.resolveExternalModuleSymbol(moduleSymbol) : checker.tryGetMemberInModuleExportsAndProperties(unescapeLeadingUnderscores(info.symbolTableKey), moduleSymbol),\n      `Could not find symbol '${info.symbolName}' by key '${info.symbolTableKey}' in module ${moduleSymbol.name}`\n    );\n    symbols.set(id, [symbol, moduleSymbol]);\n    return {\n      symbol,\n      moduleSymbol,\n      moduleFileName,\n      exportKind,\n      targetFlags,\n      isFromPackageJson\n    };\n  }\n  function key(importedName, symbol, ambientModuleName, checker) {\n    const moduleKey = ambientModuleName || \"\";\n    return `${importedName}|${getSymbolId(skipAlias(symbol, checker))}|${moduleKey}`;\n  }\n  function parseKey(key2) {\n    const symbolName2 = key2.substring(0, key2.indexOf(\"|\"));\n    const moduleKey = key2.substring(key2.lastIndexOf(\"|\") + 1);\n    const ambientModuleName = moduleKey === \"\" ? void 0 : moduleKey;\n    return { symbolName: symbolName2, ambientModuleName };\n  }\n  function fileIsGlobalOnly(file) {\n    return !file.commonJsModuleIndicator && !file.externalModuleIndicator && !file.moduleAugmentations && !file.ambientModuleNames;\n  }\n  function ambientModuleDeclarationsAreEqual(oldSourceFile, newSourceFile) {\n    if (!arrayIsEqualTo(oldSourceFile.ambientModuleNames, newSourceFile.ambientModuleNames)) {\n      return false;\n    }\n    let oldFileStatementIndex = -1;\n    let newFileStatementIndex = -1;\n    for (const ambientModuleName of newSourceFile.ambientModuleNames) {\n      const isMatchingModuleDeclaration = (node) => isNonGlobalAmbientModule(node) && node.name.text === ambientModuleName;\n      oldFileStatementIndex = findIndex(oldSourceFile.statements, isMatchingModuleDeclaration, oldFileStatementIndex + 1);\n      newFileStatementIndex = findIndex(newSourceFile.statements, isMatchingModuleDeclaration, newFileStatementIndex + 1);\n      if (oldSourceFile.statements[oldFileStatementIndex] !== newSourceFile.statements[newFileStatementIndex]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function isNotShadowedByDeeperNodeModulesPackage(info, packageName) {\n    if (!packageName || !info.moduleFileName)\n      return true;\n    const typingsCacheLocation = host.getGlobalTypingsCacheLocation();\n    if (typingsCacheLocation && startsWith(info.moduleFileName, typingsCacheLocation))\n      return true;\n    const packageDeepestNodeModulesPath = packages.get(packageName);\n    return !packageDeepestNodeModulesPath || startsWith(info.moduleFileName, packageDeepestNodeModulesPath);\n  }\n}\nfunction isImportableFile(program, from, to, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) {\n  var _a2;\n  if (from === to)\n    return false;\n  const cachedResult = moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.get(from.path, to.path, preferences, {});\n  if ((cachedResult == null ? void 0 : cachedResult.isBlockedByPackageJsonDependencies) !== void 0) {\n    return !cachedResult.isBlockedByPackageJsonDependencies;\n  }\n  const getCanonicalFileName = hostGetCanonicalFileName(moduleSpecifierResolutionHost);\n  const globalTypingsCache = (_a2 = moduleSpecifierResolutionHost.getGlobalTypingsCacheLocation) == null ? void 0 : _a2.call(moduleSpecifierResolutionHost);\n  const hasImportablePath = !!ts_moduleSpecifiers_exports.forEachFileNameOfModule(\n    from.fileName,\n    to.fileName,\n    moduleSpecifierResolutionHost,\n    false,\n    (toPath3) => {\n      const toFile = program.getSourceFile(toPath3);\n      return (toFile === to || !toFile) && isImportablePath(from.fileName, toPath3, getCanonicalFileName, globalTypingsCache, program.getCompilerOptions().packageManagerType);\n    }\n  );\n  if (packageJsonFilter) {\n    const isAutoImportable = hasImportablePath && packageJsonFilter.allowsImportingSourceFile(to, moduleSpecifierResolutionHost);\n    moduleSpecifierCache == null ? void 0 : moduleSpecifierCache.setBlockedByPackageJsonDependencies(from.path, to.path, preferences, {}, !isAutoImportable);\n    return isAutoImportable;\n  }\n  return hasImportablePath;\n}\nfunction isImportablePath(fromPath, toPath3, getCanonicalFileName, globalCachePath, packageManagerType) {\n  const toNodeModules = forEachAncestorDirectory(toPath3, (ancestor) => getBaseFileName(ancestor) === getModuleByPMType(packageManagerType) ? ancestor : void 0);\n  const toNodeModulesParent = toNodeModules && getDirectoryPath(getCanonicalFileName(toNodeModules));\n  return toNodeModulesParent === void 0 || startsWith(getCanonicalFileName(fromPath), toNodeModulesParent) || !!globalCachePath && startsWith(getCanonicalFileName(globalCachePath), toNodeModulesParent);\n}\nfunction forEachExternalModuleToImportFrom(program, host, preferences, useAutoImportProvider, cb) {\n  var _a2, _b;\n  const useCaseSensitiveFileNames = hostUsesCaseSensitiveFileNames(host);\n  const excludePatterns = preferences.autoImportFileExcludePatterns && mapDefined(preferences.autoImportFileExcludePatterns, (spec) => {\n    const pattern = getPatternFromSpec(spec, \"\", \"exclude\");\n    return pattern ? getRegexFromPattern(pattern, useCaseSensitiveFileNames) : void 0;\n  });\n  forEachExternalModule(program.getTypeChecker(), program.getSourceFiles(), excludePatterns, (module2, file) => cb(module2, file, program, false));\n  const autoImportProvider = useAutoImportProvider && ((_a2 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a2.call(host));\n  if (autoImportProvider) {\n    const start = timestamp();\n    forEachExternalModule(autoImportProvider.getTypeChecker(), autoImportProvider.getSourceFiles(), excludePatterns, (module2, file) => cb(module2, file, autoImportProvider, true));\n    (_b = host.log) == null ? void 0 : _b.call(host, `forEachExternalModuleToImportFrom autoImportProvider: ${timestamp() - start}`);\n  }\n}\nfunction forEachExternalModule(checker, allSourceFiles, excludePatterns, cb) {\n  var _a2;\n  const isExcluded = (fileName) => excludePatterns == null ? void 0 : excludePatterns.some((p) => p.test(fileName));\n  for (const ambient of checker.getAmbientModules()) {\n    if (!stringContains(ambient.name, \"*\") && !(excludePatterns && ((_a2 = ambient.declarations) == null ? void 0 : _a2.every((d) => isExcluded(d.getSourceFile().fileName))))) {\n      cb(ambient, void 0);\n    }\n  }\n  for (const sourceFile of allSourceFiles) {\n    if (isExternalOrCommonJsModule(sourceFile) && !isExcluded(sourceFile.fileName)) {\n      cb(checker.getMergedSymbol(sourceFile.symbol), sourceFile);\n    }\n  }\n}\nfunction getExportInfoMap(importingFile, host, program, preferences, cancellationToken) {\n  var _a2, _b, _c, _d, _e;\n  const start = timestamp();\n  (_a2 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a2.call(host);\n  const cache = ((_b = host.getCachedExportInfoMap) == null ? void 0 : _b.call(host)) || createCacheableExportInfoMap({\n    getCurrentProgram: () => program,\n    getPackageJsonAutoImportProvider: () => {\n      var _a3;\n      return (_a3 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a3.call(host);\n    },\n    getGlobalTypingsCacheLocation: () => {\n      var _a3;\n      return (_a3 = host.getGlobalTypingsCacheLocation) == null ? void 0 : _a3.call(host);\n    }\n  });\n  if (cache.isUsableByFile(importingFile.path)) {\n    (_c = host.log) == null ? void 0 : _c.call(host, \"getExportInfoMap: cache hit\");\n    return cache;\n  }\n  (_d = host.log) == null ? void 0 : _d.call(host, \"getExportInfoMap: cache miss or empty; calculating new results\");\n  const compilerOptions = program.getCompilerOptions();\n  let moduleCount = 0;\n  try {\n    forEachExternalModuleToImportFrom(program, host, preferences, true, (moduleSymbol, moduleFile, program2, isFromPackageJson) => {\n      if (++moduleCount % 100 === 0)\n        cancellationToken == null ? void 0 : cancellationToken.throwIfCancellationRequested();\n      const seenExports = new Map2();\n      const checker = program2.getTypeChecker();\n      const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions);\n      if (defaultInfo && isImportableSymbol(defaultInfo.symbol, checker)) {\n        cache.add(\n          importingFile.path,\n          defaultInfo.symbol,\n          defaultInfo.exportKind === 1 /* Default */ ? \"default\" /* Default */ : \"export=\" /* ExportEquals */,\n          moduleSymbol,\n          moduleFile,\n          defaultInfo.exportKind,\n          isFromPackageJson,\n          checker\n        );\n      }\n      checker.forEachExportAndPropertyOfModule(moduleSymbol, (exported, key) => {\n        if (exported !== (defaultInfo == null ? void 0 : defaultInfo.symbol) && isImportableSymbol(exported, checker) && addToSeen(seenExports, key)) {\n          cache.add(\n            importingFile.path,\n            exported,\n            key,\n            moduleSymbol,\n            moduleFile,\n            0 /* Named */,\n            isFromPackageJson,\n            checker\n          );\n        }\n      });\n    });\n  } catch (err) {\n    cache.clear();\n    throw err;\n  }\n  (_e = host.log) == null ? void 0 : _e.call(host, `getExportInfoMap: done in ${timestamp() - start} ms`);\n  return cache;\n}\nfunction getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions) {\n  const exported = getDefaultLikeExportWorker(moduleSymbol, checker);\n  if (!exported)\n    return void 0;\n  const { symbol, exportKind } = exported;\n  const info = getDefaultExportInfoWorker(symbol, checker, compilerOptions);\n  return info && { symbol, exportKind, ...info };\n}\nfunction isImportableSymbol(symbol, checker) {\n  return !checker.isUndefinedSymbol(symbol) && !checker.isUnknownSymbol(symbol) && !isKnownSymbol(symbol) && !isPrivateIdentifierSymbol(symbol);\n}\nfunction getDefaultLikeExportWorker(moduleSymbol, checker) {\n  const exportEquals = checker.resolveExternalModuleSymbol(moduleSymbol);\n  if (exportEquals !== moduleSymbol)\n    return { symbol: exportEquals, exportKind: 2 /* ExportEquals */ };\n  const defaultExport = checker.tryGetMemberInModuleExports(\"default\" /* Default */, moduleSymbol);\n  if (defaultExport)\n    return { symbol: defaultExport, exportKind: 1 /* Default */ };\n}\nfunction getDefaultExportInfoWorker(defaultExport, checker, compilerOptions) {\n  const localSymbol = getLocalSymbolForExportDefault(defaultExport);\n  if (localSymbol)\n    return { symbolForMeaning: localSymbol, name: localSymbol.name };\n  const name = getNameForExportDefault(defaultExport);\n  if (name !== void 0)\n    return { symbolForMeaning: defaultExport, name };\n  if (defaultExport.flags & 2097152 /* Alias */) {\n    const aliased = checker.getImmediateAliasedSymbol(defaultExport);\n    if (aliased && aliased.parent) {\n      return getDefaultExportInfoWorker(aliased, checker, compilerOptions);\n    }\n  }\n  if (defaultExport.escapedName !== \"default\" /* Default */ && defaultExport.escapedName !== \"export=\" /* ExportEquals */) {\n    return { symbolForMeaning: defaultExport, name: defaultExport.getName() };\n  }\n  return { symbolForMeaning: defaultExport, name: getNameForExportedSymbol(defaultExport, compilerOptions.target) };\n}\nfunction getNameForExportDefault(symbol) {\n  return symbol.declarations && firstDefined(symbol.declarations, (declaration) => {\n    var _a2;\n    if (isExportAssignment(declaration)) {\n      return (_a2 = tryCast(skipOuterExpressions(declaration.expression), isIdentifier)) == null ? void 0 : _a2.text;\n    } else if (isExportSpecifier(declaration)) {\n      Debug.assert(declaration.name.text === \"default\" /* Default */, \"Expected the specifier to be a default export\");\n      return declaration.propertyName && declaration.propertyName.text;\n    }\n  });\n}\n\n// src/services/classifier.ts\nfunction createClassifier() {\n  const scanner2 = createScanner(99 /* Latest */, false);\n  function getClassificationsForLine(text, lexState, syntacticClassifierAbsent) {\n    return convertClassificationsToResult(getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent), text);\n  }\n  function getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent) {\n    let token = 0 /* Unknown */;\n    let lastNonTriviaToken = 0 /* Unknown */;\n    const templateStack = [];\n    const { prefix, pushTemplate } = getPrefixFromLexState(lexState);\n    text = prefix + text;\n    const offset = prefix.length;\n    if (pushTemplate) {\n      templateStack.push(15 /* TemplateHead */);\n    }\n    scanner2.setText(text);\n    let endOfLineState = 0 /* None */;\n    const spans = [];\n    let angleBracketStack = 0;\n    do {\n      token = scanner2.scan();\n      if (!isTrivia(token)) {\n        handleToken();\n        lastNonTriviaToken = token;\n      }\n      const end = scanner2.getTextPos();\n      pushEncodedClassification(scanner2.getTokenPos(), end, offset, classFromKind(token), spans);\n      if (end >= text.length) {\n        const end2 = getNewEndOfLineState(scanner2, token, lastOrUndefined(templateStack));\n        if (end2 !== void 0) {\n          endOfLineState = end2;\n        }\n      }\n    } while (token !== 1 /* EndOfFileToken */);\n    function handleToken() {\n      switch (token) {\n        case 43 /* SlashToken */:\n        case 68 /* SlashEqualsToken */:\n          if (!noRegexTable[lastNonTriviaToken] && scanner2.reScanSlashToken() === 13 /* RegularExpressionLiteral */) {\n            token = 13 /* RegularExpressionLiteral */;\n          }\n          break;\n        case 29 /* LessThanToken */:\n          if (lastNonTriviaToken === 79 /* Identifier */) {\n            angleBracketStack++;\n          }\n          break;\n        case 31 /* GreaterThanToken */:\n          if (angleBracketStack > 0) {\n            angleBracketStack--;\n          }\n          break;\n        case 132 /* AnyKeyword */:\n        case 153 /* StringKeyword */:\n        case 149 /* NumberKeyword */:\n        case 135 /* BooleanKeyword */:\n        case 154 /* SymbolKeyword */:\n          if (angleBracketStack > 0 && !syntacticClassifierAbsent) {\n            token = 79 /* Identifier */;\n          }\n          break;\n        case 15 /* TemplateHead */:\n          templateStack.push(token);\n          break;\n        case 18 /* OpenBraceToken */:\n          if (templateStack.length > 0) {\n            templateStack.push(token);\n          }\n          break;\n        case 19 /* CloseBraceToken */:\n          if (templateStack.length > 0) {\n            const lastTemplateStackToken = lastOrUndefined(templateStack);\n            if (lastTemplateStackToken === 15 /* TemplateHead */) {\n              token = scanner2.reScanTemplateToken(false);\n              if (token === 17 /* TemplateTail */) {\n                templateStack.pop();\n              } else {\n                Debug.assertEqual(token, 16 /* TemplateMiddle */, \"Should have been a template middle.\");\n              }\n            } else {\n              Debug.assertEqual(lastTemplateStackToken, 18 /* OpenBraceToken */, \"Should have been an open brace\");\n              templateStack.pop();\n            }\n          }\n          break;\n        default:\n          if (!isKeyword(token)) {\n            break;\n          }\n          if (lastNonTriviaToken === 24 /* DotToken */) {\n            token = 79 /* Identifier */;\n          } else if (isKeyword(lastNonTriviaToken) && isKeyword(token) && !canFollow(lastNonTriviaToken, token)) {\n            token = 79 /* Identifier */;\n          }\n      }\n    }\n    return { endOfLineState, spans };\n  }\n  return { getClassificationsForLine, getEncodedLexicalClassifications };\n}\nvar noRegexTable = arrayToNumericMap([\n  79 /* Identifier */,\n  10 /* StringLiteral */,\n  8 /* NumericLiteral */,\n  9 /* BigIntLiteral */,\n  13 /* RegularExpressionLiteral */,\n  109 /* ThisKeyword */,\n  45 /* PlusPlusToken */,\n  46 /* MinusMinusToken */,\n  21 /* CloseParenToken */,\n  23 /* CloseBracketToken */,\n  19 /* CloseBraceToken */,\n  111 /* TrueKeyword */,\n  96 /* FalseKeyword */\n], (token) => token, () => true);\nfunction getNewEndOfLineState(scanner2, token, lastOnTemplateStack) {\n  switch (token) {\n    case 10 /* StringLiteral */: {\n      if (!scanner2.isUnterminated())\n        return void 0;\n      const tokenText = scanner2.getTokenText();\n      const lastCharIndex = tokenText.length - 1;\n      let numBackslashes = 0;\n      while (tokenText.charCodeAt(lastCharIndex - numBackslashes) === 92 /* backslash */) {\n        numBackslashes++;\n      }\n      if ((numBackslashes & 1) === 0)\n        return void 0;\n      return tokenText.charCodeAt(0) === 34 /* doubleQuote */ ? 3 /* InDoubleQuoteStringLiteral */ : 2 /* InSingleQuoteStringLiteral */;\n    }\n    case 3 /* MultiLineCommentTrivia */:\n      return scanner2.isUnterminated() ? 1 /* InMultiLineCommentTrivia */ : void 0;\n    default:\n      if (isTemplateLiteralKind(token)) {\n        if (!scanner2.isUnterminated()) {\n          return void 0;\n        }\n        switch (token) {\n          case 17 /* TemplateTail */:\n            return 5 /* InTemplateMiddleOrTail */;\n          case 14 /* NoSubstitutionTemplateLiteral */:\n            return 4 /* InTemplateHeadOrNoSubstitutionTemplate */;\n          default:\n            return Debug.fail(\"Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #\" + token);\n        }\n      }\n      return lastOnTemplateStack === 15 /* TemplateHead */ ? 6 /* InTemplateSubstitutionPosition */ : void 0;\n  }\n}\nfunction pushEncodedClassification(start, end, offset, classification, result) {\n  if (classification === 8 /* whiteSpace */) {\n    return;\n  }\n  if (start === 0 && offset > 0) {\n    start += offset;\n  }\n  const length2 = end - start;\n  if (length2 > 0) {\n    result.push(start - offset, length2, classification);\n  }\n}\nfunction convertClassificationsToResult(classifications, text) {\n  const entries = [];\n  const dense = classifications.spans;\n  let lastEnd = 0;\n  for (let i = 0; i < dense.length; i += 3) {\n    const start = dense[i];\n    const length2 = dense[i + 1];\n    const type = dense[i + 2];\n    if (lastEnd >= 0) {\n      const whitespaceLength2 = start - lastEnd;\n      if (whitespaceLength2 > 0) {\n        entries.push({ length: whitespaceLength2, classification: 4 /* Whitespace */ });\n      }\n    }\n    entries.push({ length: length2, classification: convertClassification(type) });\n    lastEnd = start + length2;\n  }\n  const whitespaceLength = text.length - lastEnd;\n  if (whitespaceLength > 0) {\n    entries.push({ length: whitespaceLength, classification: 4 /* Whitespace */ });\n  }\n  return { entries, finalLexState: classifications.endOfLineState };\n}\nfunction convertClassification(type) {\n  switch (type) {\n    case 1 /* comment */:\n      return 3 /* Comment */;\n    case 3 /* keyword */:\n      return 1 /* Keyword */;\n    case 4 /* numericLiteral */:\n      return 6 /* NumberLiteral */;\n    case 25 /* bigintLiteral */:\n      return 7 /* BigIntLiteral */;\n    case 5 /* operator */:\n      return 2 /* Operator */;\n    case 6 /* stringLiteral */:\n      return 8 /* StringLiteral */;\n    case 8 /* whiteSpace */:\n      return 4 /* Whitespace */;\n    case 10 /* punctuation */:\n      return 0 /* Punctuation */;\n    case 2 /* identifier */:\n    case 11 /* className */:\n    case 12 /* enumName */:\n    case 13 /* interfaceName */:\n    case 14 /* moduleName */:\n    case 15 /* typeParameterName */:\n    case 16 /* typeAliasName */:\n    case 9 /* text */:\n    case 17 /* parameterName */:\n      return 5 /* Identifier */;\n    default:\n      return void 0;\n  }\n}\nfunction canFollow(keyword1, keyword2) {\n  if (!isAccessibilityModifier(keyword1)) {\n    return true;\n  }\n  switch (keyword2) {\n    case 138 /* GetKeyword */:\n    case 152 /* SetKeyword */:\n    case 136 /* ConstructorKeyword */:\n    case 125 /* StaticKeyword */:\n    case 128 /* AccessorKeyword */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction getPrefixFromLexState(lexState) {\n  switch (lexState) {\n    case 3 /* InDoubleQuoteStringLiteral */:\n      return { prefix: '\"\\\\\\n' };\n    case 2 /* InSingleQuoteStringLiteral */:\n      return { prefix: \"'\\\\\\n\" };\n    case 1 /* InMultiLineCommentTrivia */:\n      return { prefix: \"/*\\n\" };\n    case 4 /* InTemplateHeadOrNoSubstitutionTemplate */:\n      return { prefix: \"`\\n\" };\n    case 5 /* InTemplateMiddleOrTail */:\n      return { prefix: \"}\\n\", pushTemplate: true };\n    case 6 /* InTemplateSubstitutionPosition */:\n      return { prefix: \"\", pushTemplate: true };\n    case 0 /* None */:\n      return { prefix: \"\" };\n    default:\n      return Debug.assertNever(lexState);\n  }\n}\nfunction isBinaryExpressionOperatorToken(token) {\n  switch (token) {\n    case 41 /* AsteriskToken */:\n    case 43 /* SlashToken */:\n    case 44 /* PercentToken */:\n    case 39 /* PlusToken */:\n    case 40 /* MinusToken */:\n    case 47 /* LessThanLessThanToken */:\n    case 48 /* GreaterThanGreaterThanToken */:\n    case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n    case 29 /* LessThanToken */:\n    case 31 /* GreaterThanToken */:\n    case 32 /* LessThanEqualsToken */:\n    case 33 /* GreaterThanEqualsToken */:\n    case 103 /* InstanceOfKeyword */:\n    case 102 /* InKeyword */:\n    case 129 /* AsKeyword */:\n    case 151 /* SatisfiesKeyword */:\n    case 34 /* EqualsEqualsToken */:\n    case 35 /* ExclamationEqualsToken */:\n    case 36 /* EqualsEqualsEqualsToken */:\n    case 37 /* ExclamationEqualsEqualsToken */:\n    case 50 /* AmpersandToken */:\n    case 52 /* CaretToken */:\n    case 51 /* BarToken */:\n    case 55 /* AmpersandAmpersandToken */:\n    case 56 /* BarBarToken */:\n    case 74 /* BarEqualsToken */:\n    case 73 /* AmpersandEqualsToken */:\n    case 78 /* CaretEqualsToken */:\n    case 70 /* LessThanLessThanEqualsToken */:\n    case 71 /* GreaterThanGreaterThanEqualsToken */:\n    case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n    case 64 /* PlusEqualsToken */:\n    case 65 /* MinusEqualsToken */:\n    case 66 /* AsteriskEqualsToken */:\n    case 68 /* SlashEqualsToken */:\n    case 69 /* PercentEqualsToken */:\n    case 63 /* EqualsToken */:\n    case 27 /* CommaToken */:\n    case 60 /* QuestionQuestionToken */:\n    case 75 /* BarBarEqualsToken */:\n    case 76 /* AmpersandAmpersandEqualsToken */:\n    case 77 /* QuestionQuestionEqualsToken */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isPrefixUnaryExpressionOperatorToken(token) {\n  switch (token) {\n    case 39 /* PlusToken */:\n    case 40 /* MinusToken */:\n    case 54 /* TildeToken */:\n    case 53 /* ExclamationToken */:\n    case 45 /* PlusPlusToken */:\n    case 46 /* MinusMinusToken */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction classFromKind(token) {\n  if (isKeyword(token)) {\n    return 3 /* keyword */;\n  } else if (isBinaryExpressionOperatorToken(token) || isPrefixUnaryExpressionOperatorToken(token)) {\n    return 5 /* operator */;\n  } else if (token >= 18 /* FirstPunctuation */ && token <= 78 /* LastPunctuation */) {\n    return 10 /* punctuation */;\n  }\n  switch (token) {\n    case 8 /* NumericLiteral */:\n      return 4 /* numericLiteral */;\n    case 9 /* BigIntLiteral */:\n      return 25 /* bigintLiteral */;\n    case 10 /* StringLiteral */:\n      return 6 /* stringLiteral */;\n    case 13 /* RegularExpressionLiteral */:\n      return 7 /* regularExpressionLiteral */;\n    case 7 /* ConflictMarkerTrivia */:\n    case 3 /* MultiLineCommentTrivia */:\n    case 2 /* SingleLineCommentTrivia */:\n      return 1 /* comment */;\n    case 5 /* WhitespaceTrivia */:\n    case 4 /* NewLineTrivia */:\n      return 8 /* whiteSpace */;\n    case 79 /* Identifier */:\n    default:\n      if (isTemplateLiteralKind(token)) {\n        return 6 /* stringLiteral */;\n      }\n      return 2 /* identifier */;\n  }\n}\nfunction getSemanticClassifications(typeChecker3, cancellationToken, sourceFile, classifiableNames, span) {\n  return convertClassificationsToSpans(getEncodedSemanticClassifications(typeChecker3, cancellationToken, sourceFile, classifiableNames, span));\n}\nfunction checkForClassificationCancellation(cancellationToken, kind) {\n  switch (kind) {\n    case 270 /* ModuleDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 263 /* FunctionDeclaration */:\n    case 232 /* ClassExpression */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      cancellationToken.throwIfCancellationRequested();\n  }\n}\nfunction getEncodedSemanticClassifications(typeChecker3, cancellationToken, sourceFile, classifiableNames, span) {\n  const spans = [];\n  sourceFile.forEachChild(function cb(node) {\n    if (!node || !textSpanIntersectsWith(span, node.pos, node.getFullWidth())) {\n      return;\n    }\n    checkForClassificationCancellation(cancellationToken, node.kind);\n    if (isIdentifier(node) && !nodeIsMissing(node) && classifiableNames.has(node.escapedText)) {\n      const symbol = typeChecker3.getSymbolAtLocation(node);\n      const type = symbol && classifySymbol(symbol, getMeaningFromLocation(node), typeChecker3);\n      if (type) {\n        pushClassification(node.getStart(sourceFile), node.getEnd(), type);\n      }\n    }\n    node.forEachChild(cb);\n  });\n  return { spans, endOfLineState: 0 /* None */ };\n  function pushClassification(start, end, type) {\n    const length2 = end - start;\n    Debug.assert(length2 > 0, `Classification had non-positive length of ${length2}`);\n    spans.push(start);\n    spans.push(length2);\n    spans.push(type);\n  }\n}\nfunction classifySymbol(symbol, meaningAtPosition, checker) {\n  const flags = symbol.getFlags();\n  if ((flags & 2885600 /* Classifiable */) === 0 /* None */) {\n    return void 0;\n  } else if (flags & 32 /* Class */) {\n    return 11 /* className */;\n  } else if (flags & 384 /* Enum */) {\n    return 12 /* enumName */;\n  } else if (flags & 524288 /* TypeAlias */) {\n    return 16 /* typeAliasName */;\n  } else if (flags & 1536 /* Module */) {\n    return meaningAtPosition & 4 /* Namespace */ || meaningAtPosition & 1 /* Value */ && hasValueSideModule(symbol) ? 14 /* moduleName */ : void 0;\n  } else if (flags & 2097152 /* Alias */) {\n    return classifySymbol(checker.getAliasedSymbol(symbol), meaningAtPosition, checker);\n  } else if (meaningAtPosition & 2 /* Type */) {\n    return flags & 64 /* Interface */ ? 13 /* interfaceName */ : flags & 262144 /* TypeParameter */ ? 15 /* typeParameterName */ : void 0;\n  } else {\n    return void 0;\n  }\n}\nfunction hasValueSideModule(symbol) {\n  return some(symbol.declarations, (declaration) => isModuleDeclaration(declaration) && getModuleInstanceState(declaration) === 1 /* Instantiated */);\n}\nfunction getClassificationTypeName(type) {\n  switch (type) {\n    case 1 /* comment */:\n      return \"comment\" /* comment */;\n    case 2 /* identifier */:\n      return \"identifier\" /* identifier */;\n    case 3 /* keyword */:\n      return \"keyword\" /* keyword */;\n    case 4 /* numericLiteral */:\n      return \"number\" /* numericLiteral */;\n    case 25 /* bigintLiteral */:\n      return \"bigint\" /* bigintLiteral */;\n    case 5 /* operator */:\n      return \"operator\" /* operator */;\n    case 6 /* stringLiteral */:\n      return \"string\" /* stringLiteral */;\n    case 8 /* whiteSpace */:\n      return \"whitespace\" /* whiteSpace */;\n    case 9 /* text */:\n      return \"text\" /* text */;\n    case 10 /* punctuation */:\n      return \"punctuation\" /* punctuation */;\n    case 11 /* className */:\n      return \"class name\" /* className */;\n    case 12 /* enumName */:\n      return \"enum name\" /* enumName */;\n    case 13 /* interfaceName */:\n      return \"interface name\" /* interfaceName */;\n    case 14 /* moduleName */:\n      return \"module name\" /* moduleName */;\n    case 15 /* typeParameterName */:\n      return \"type parameter name\" /* typeParameterName */;\n    case 16 /* typeAliasName */:\n      return \"type alias name\" /* typeAliasName */;\n    case 17 /* parameterName */:\n      return \"parameter name\" /* parameterName */;\n    case 18 /* docCommentTagName */:\n      return \"doc comment tag name\" /* docCommentTagName */;\n    case 19 /* jsxOpenTagName */:\n      return \"jsx open tag name\" /* jsxOpenTagName */;\n    case 20 /* jsxCloseTagName */:\n      return \"jsx close tag name\" /* jsxCloseTagName */;\n    case 21 /* jsxSelfClosingTagName */:\n      return \"jsx self closing tag name\" /* jsxSelfClosingTagName */;\n    case 22 /* jsxAttribute */:\n      return \"jsx attribute\" /* jsxAttribute */;\n    case 23 /* jsxText */:\n      return \"jsx text\" /* jsxText */;\n    case 24 /* jsxAttributeStringLiteralValue */:\n      return \"jsx attribute string literal value\" /* jsxAttributeStringLiteralValue */;\n    default:\n      return void 0;\n  }\n}\nfunction convertClassificationsToSpans(classifications) {\n  Debug.assert(classifications.spans.length % 3 === 0);\n  const dense = classifications.spans;\n  const result = [];\n  for (let i = 0; i < dense.length; i += 3) {\n    result.push({\n      textSpan: createTextSpan(dense[i], dense[i + 1]),\n      classificationType: getClassificationTypeName(dense[i + 2])\n    });\n  }\n  return result;\n}\nfunction getSyntacticClassifications(cancellationToken, sourceFile, span) {\n  return convertClassificationsToSpans(getEncodedSyntacticClassifications(cancellationToken, sourceFile, span));\n}\nfunction getEncodedSyntacticClassifications(cancellationToken, sourceFile, span) {\n  const spanStart = span.start;\n  const spanLength = span.length;\n  const triviaScanner = createScanner(99 /* Latest */, false, sourceFile.languageVariant, sourceFile.text);\n  const mergeConflictScanner = createScanner(99 /* Latest */, false, sourceFile.languageVariant, sourceFile.text);\n  const result = [];\n  processElement(sourceFile);\n  return { spans: result, endOfLineState: 0 /* None */ };\n  function pushClassification(start, length2, type) {\n    result.push(start);\n    result.push(length2);\n    result.push(type);\n  }\n  function classifyLeadingTriviaAndGetTokenStart(token) {\n    triviaScanner.setTextPos(token.pos);\n    while (true) {\n      const start = triviaScanner.getTextPos();\n      if (!couldStartTrivia(sourceFile.text, start)) {\n        return start;\n      }\n      const kind = triviaScanner.scan();\n      const end = triviaScanner.getTextPos();\n      const width = end - start;\n      if (!isTrivia(kind)) {\n        return start;\n      }\n      switch (kind) {\n        case 4 /* NewLineTrivia */:\n        case 5 /* WhitespaceTrivia */:\n          continue;\n        case 2 /* SingleLineCommentTrivia */:\n        case 3 /* MultiLineCommentTrivia */:\n          classifyComment(token, kind, start, width);\n          triviaScanner.setTextPos(end);\n          continue;\n        case 7 /* ConflictMarkerTrivia */:\n          const text = sourceFile.text;\n          const ch = text.charCodeAt(start);\n          if (ch === 60 /* lessThan */ || ch === 62 /* greaterThan */) {\n            pushClassification(start, width, 1 /* comment */);\n            continue;\n          }\n          Debug.assert(ch === 124 /* bar */ || ch === 61 /* equals */);\n          classifyDisabledMergeCode(text, start, end);\n          break;\n        case 6 /* ShebangTrivia */:\n          break;\n        default:\n          Debug.assertNever(kind);\n      }\n    }\n  }\n  function classifyComment(token, kind, start, width) {\n    if (kind === 3 /* MultiLineCommentTrivia */) {\n      const docCommentAndDiagnostics = parseIsolatedJSDocComment(sourceFile.text, start, width);\n      if (docCommentAndDiagnostics && docCommentAndDiagnostics.jsDoc) {\n        setParent(docCommentAndDiagnostics.jsDoc, token);\n        classifyJSDocComment(docCommentAndDiagnostics.jsDoc);\n        return;\n      }\n    } else if (kind === 2 /* SingleLineCommentTrivia */) {\n      if (tryClassifyTripleSlashComment(start, width)) {\n        return;\n      }\n    }\n    pushCommentRange(start, width);\n  }\n  function pushCommentRange(start, width) {\n    pushClassification(start, width, 1 /* comment */);\n  }\n  function classifyJSDocComment(docComment) {\n    var _a2, _b, _c, _d, _e, _f, _g;\n    let pos = docComment.pos;\n    if (docComment.tags) {\n      for (const tag of docComment.tags) {\n        if (tag.pos !== pos) {\n          pushCommentRange(pos, tag.pos - pos);\n        }\n        pushClassification(tag.pos, 1, 10 /* punctuation */);\n        pushClassification(tag.tagName.pos, tag.tagName.end - tag.tagName.pos, 18 /* docCommentTagName */);\n        pos = tag.tagName.end;\n        let commentStart = tag.tagName.end;\n        switch (tag.kind) {\n          case 349 /* JSDocParameterTag */:\n            const param = tag;\n            processJSDocParameterTag(param);\n            commentStart = param.isNameFirst && ((_a2 = param.typeExpression) == null ? void 0 : _a2.end) || param.name.end;\n            break;\n          case 356 /* JSDocPropertyTag */:\n            const prop = tag;\n            commentStart = prop.isNameFirst && ((_b = prop.typeExpression) == null ? void 0 : _b.end) || prop.name.end;\n            break;\n          case 353 /* JSDocTemplateTag */:\n            processJSDocTemplateTag(tag);\n            pos = tag.end;\n            commentStart = tag.typeParameters.end;\n            break;\n          case 354 /* JSDocTypedefTag */:\n            const type = tag;\n            commentStart = ((_c = type.typeExpression) == null ? void 0 : _c.kind) === 318 /* JSDocTypeExpression */ && ((_d = type.fullName) == null ? void 0 : _d.end) || ((_e = type.typeExpression) == null ? void 0 : _e.end) || commentStart;\n            break;\n          case 347 /* JSDocCallbackTag */:\n            commentStart = tag.typeExpression.end;\n            break;\n          case 352 /* JSDocTypeTag */:\n            processElement(tag.typeExpression);\n            pos = tag.end;\n            commentStart = tag.typeExpression.end;\n            break;\n          case 351 /* JSDocThisTag */:\n          case 348 /* JSDocEnumTag */:\n            commentStart = tag.typeExpression.end;\n            break;\n          case 350 /* JSDocReturnTag */:\n            processElement(tag.typeExpression);\n            pos = tag.end;\n            commentStart = ((_f = tag.typeExpression) == null ? void 0 : _f.end) || commentStart;\n            break;\n          case 355 /* JSDocSeeTag */:\n            commentStart = ((_g = tag.name) == null ? void 0 : _g.end) || commentStart;\n            break;\n          case 337 /* JSDocAugmentsTag */:\n          case 338 /* JSDocImplementsTag */:\n            commentStart = tag.class.end;\n            break;\n        }\n        if (typeof tag.comment === \"object\") {\n          pushCommentRange(tag.comment.pos, tag.comment.end - tag.comment.pos);\n        } else if (typeof tag.comment === \"string\") {\n          pushCommentRange(commentStart, tag.end - commentStart);\n        }\n      }\n    }\n    if (pos !== docComment.end) {\n      pushCommentRange(pos, docComment.end - pos);\n    }\n    return;\n    function processJSDocParameterTag(tag) {\n      if (tag.isNameFirst) {\n        pushCommentRange(pos, tag.name.pos - pos);\n        pushClassification(tag.name.pos, tag.name.end - tag.name.pos, 17 /* parameterName */);\n        pos = tag.name.end;\n      }\n      if (tag.typeExpression) {\n        pushCommentRange(pos, tag.typeExpression.pos - pos);\n        processElement(tag.typeExpression);\n        pos = tag.typeExpression.end;\n      }\n      if (!tag.isNameFirst) {\n        pushCommentRange(pos, tag.name.pos - pos);\n        pushClassification(tag.name.pos, tag.name.end - tag.name.pos, 17 /* parameterName */);\n        pos = tag.name.end;\n      }\n    }\n  }\n  function tryClassifyTripleSlashComment(start, width) {\n    const tripleSlashXMLCommentRegEx = /^(\\/\\/\\/\\s*)(<)(?:(\\S+)((?:[^/]|\\/[^>])*)(\\/>)?)?/im;\n    const attributeRegex = /(\\s)(\\S+)(\\s*)(=)(\\s*)('[^']+'|\"[^\"]+\")/img;\n    const text = sourceFile.text.substr(start, width);\n    const match = tripleSlashXMLCommentRegEx.exec(text);\n    if (!match) {\n      return false;\n    }\n    if (!match[3] || !(match[3] in commentPragmas)) {\n      return false;\n    }\n    let pos = start;\n    pushCommentRange(pos, match[1].length);\n    pos += match[1].length;\n    pushClassification(pos, match[2].length, 10 /* punctuation */);\n    pos += match[2].length;\n    pushClassification(pos, match[3].length, 21 /* jsxSelfClosingTagName */);\n    pos += match[3].length;\n    const attrText = match[4];\n    let attrPos = pos;\n    while (true) {\n      const attrMatch = attributeRegex.exec(attrText);\n      if (!attrMatch) {\n        break;\n      }\n      const newAttrPos = pos + attrMatch.index + attrMatch[1].length;\n      if (newAttrPos > attrPos) {\n        pushCommentRange(attrPos, newAttrPos - attrPos);\n        attrPos = newAttrPos;\n      }\n      pushClassification(attrPos, attrMatch[2].length, 22 /* jsxAttribute */);\n      attrPos += attrMatch[2].length;\n      if (attrMatch[3].length) {\n        pushCommentRange(attrPos, attrMatch[3].length);\n        attrPos += attrMatch[3].length;\n      }\n      pushClassification(attrPos, attrMatch[4].length, 5 /* operator */);\n      attrPos += attrMatch[4].length;\n      if (attrMatch[5].length) {\n        pushCommentRange(attrPos, attrMatch[5].length);\n        attrPos += attrMatch[5].length;\n      }\n      pushClassification(attrPos, attrMatch[6].length, 24 /* jsxAttributeStringLiteralValue */);\n      attrPos += attrMatch[6].length;\n    }\n    pos += match[4].length;\n    if (pos > attrPos) {\n      pushCommentRange(attrPos, pos - attrPos);\n    }\n    if (match[5]) {\n      pushClassification(pos, match[5].length, 10 /* punctuation */);\n      pos += match[5].length;\n    }\n    const end = start + width;\n    if (pos < end) {\n      pushCommentRange(pos, end - pos);\n    }\n    return true;\n  }\n  function processJSDocTemplateTag(tag) {\n    for (const child of tag.getChildren()) {\n      processElement(child);\n    }\n  }\n  function classifyDisabledMergeCode(text, start, end) {\n    let i;\n    for (i = start; i < end; i++) {\n      if (isLineBreak(text.charCodeAt(i))) {\n        break;\n      }\n    }\n    pushClassification(start, i - start, 1 /* comment */);\n    mergeConflictScanner.setTextPos(i);\n    while (mergeConflictScanner.getTextPos() < end) {\n      classifyDisabledCodeToken();\n    }\n  }\n  function classifyDisabledCodeToken() {\n    const start = mergeConflictScanner.getTextPos();\n    const tokenKind = mergeConflictScanner.scan();\n    const end = mergeConflictScanner.getTextPos();\n    const type = classifyTokenType(tokenKind);\n    if (type) {\n      pushClassification(start, end - start, type);\n    }\n  }\n  function tryClassifyNode(node) {\n    if (isJSDoc(node)) {\n      return true;\n    }\n    if (nodeIsMissing(node)) {\n      return true;\n    }\n    const classifiedElementName = tryClassifyJsxElementName(node);\n    if (!isToken(node) && node.kind !== 11 /* JsxText */ && classifiedElementName === void 0) {\n      return false;\n    }\n    const tokenStart = node.kind === 11 /* JsxText */ ? node.pos : classifyLeadingTriviaAndGetTokenStart(node);\n    const tokenWidth = node.end - tokenStart;\n    Debug.assert(tokenWidth >= 0);\n    if (tokenWidth > 0) {\n      const type = classifiedElementName || classifyTokenType(node.kind, node);\n      if (type) {\n        pushClassification(tokenStart, tokenWidth, type);\n      }\n    }\n    return true;\n  }\n  function tryClassifyJsxElementName(token) {\n    switch (token.parent && token.parent.kind) {\n      case 289 /* JsxOpeningElement */:\n        if (token.parent.tagName === token) {\n          return 19 /* jsxOpenTagName */;\n        }\n        break;\n      case 290 /* JsxClosingElement */:\n        if (token.parent.tagName === token) {\n          return 20 /* jsxCloseTagName */;\n        }\n        break;\n      case 288 /* JsxSelfClosingElement */:\n        if (token.parent.tagName === token) {\n          return 21 /* jsxSelfClosingTagName */;\n        }\n        break;\n      case 294 /* JsxAttribute */:\n        if (token.parent.name === token) {\n          return 22 /* jsxAttribute */;\n        }\n        break;\n    }\n    return void 0;\n  }\n  function classifyTokenType(tokenKind, token) {\n    if (isKeyword(tokenKind)) {\n      return 3 /* keyword */;\n    }\n    if (tokenKind === 29 /* LessThanToken */ || tokenKind === 31 /* GreaterThanToken */) {\n      if (token && getTypeArgumentOrTypeParameterList(token.parent)) {\n        return 10 /* punctuation */;\n      }\n    }\n    if (isPunctuation(tokenKind)) {\n      if (token) {\n        const parent2 = token.parent;\n        if (tokenKind === 63 /* EqualsToken */) {\n          if (parent2.kind === 261 /* VariableDeclaration */ || parent2.kind === 171 /* PropertyDeclaration */ || parent2.kind === 168 /* Parameter */ || parent2.kind === 294 /* JsxAttribute */) {\n            return 5 /* operator */;\n          }\n        }\n        if (parent2.kind === 227 /* BinaryExpression */ || parent2.kind === 225 /* PrefixUnaryExpression */ || parent2.kind === 226 /* PostfixUnaryExpression */ || parent2.kind === 228 /* ConditionalExpression */) {\n          return 5 /* operator */;\n        }\n      }\n      return 10 /* punctuation */;\n    } else if (tokenKind === 8 /* NumericLiteral */) {\n      return 4 /* numericLiteral */;\n    } else if (tokenKind === 9 /* BigIntLiteral */) {\n      return 25 /* bigintLiteral */;\n    } else if (tokenKind === 10 /* StringLiteral */) {\n      return token && token.parent.kind === 294 /* JsxAttribute */ ? 24 /* jsxAttributeStringLiteralValue */ : 6 /* stringLiteral */;\n    } else if (tokenKind === 13 /* RegularExpressionLiteral */) {\n      return 6 /* stringLiteral */;\n    } else if (isTemplateLiteralKind(tokenKind)) {\n      return 6 /* stringLiteral */;\n    } else if (tokenKind === 11 /* JsxText */) {\n      return 23 /* jsxText */;\n    } else if (tokenKind === 79 /* Identifier */) {\n      if (token) {\n        switch (token.parent.kind) {\n          case 264 /* ClassDeclaration */:\n            if (token.parent.name === token) {\n              return 11 /* className */;\n            }\n            return;\n          case 167 /* TypeParameter */:\n            if (token.parent.name === token) {\n              return 15 /* typeParameterName */;\n            }\n            return;\n          case 267 /* InterfaceDeclaration */:\n            if (token.parent.name === token) {\n              return 13 /* interfaceName */;\n            }\n            return;\n          case 269 /* EnumDeclaration */:\n            if (token.parent.name === token) {\n              return 12 /* enumName */;\n            }\n            return;\n          case 270 /* ModuleDeclaration */:\n            if (token.parent.name === token) {\n              return 14 /* moduleName */;\n            }\n            return;\n          case 168 /* Parameter */:\n            if (token.parent.name === token) {\n              return isThisIdentifier(token) ? 3 /* keyword */ : 17 /* parameterName */;\n            }\n            return;\n        }\n        if (isConstTypeReference(token.parent)) {\n          return 3 /* keyword */;\n        }\n      }\n      return 2 /* identifier */;\n    }\n  }\n  function processElement(element) {\n    if (!element) {\n      return;\n    }\n    if (decodedTextSpanIntersectsWith(spanStart, spanLength, element.pos, element.getFullWidth())) {\n      checkForClassificationCancellation(cancellationToken, element.kind);\n      for (const child of element.getChildren(sourceFile)) {\n        if (!tryClassifyNode(child)) {\n          processElement(child);\n        }\n      }\n    }\n  }\n}\n\n// src/services/documentHighlights.ts\nvar DocumentHighlights2;\n((DocumentHighlights3) => {\n  function getDocumentHighlights(program, cancellationToken, sourceFile, position, sourceFilesToSearch) {\n    const node = getTouchingPropertyName(sourceFile, position);\n    if (node.parent && (isJsxOpeningElement(node.parent) && node.parent.tagName === node || isJsxClosingElement(node.parent))) {\n      const { openingElement, closingElement } = node.parent.parent;\n      const highlightSpans = [openingElement, closingElement].map(({ tagName }) => getHighlightSpanForNode(tagName, sourceFile));\n      return [{ fileName: sourceFile.fileName, highlightSpans }];\n    }\n    return getSemanticDocumentHighlights(position, node, program, cancellationToken, sourceFilesToSearch) || getSyntacticDocumentHighlights(node, sourceFile);\n  }\n  DocumentHighlights3.getDocumentHighlights = getDocumentHighlights;\n  function getHighlightSpanForNode(node, sourceFile) {\n    return {\n      fileName: sourceFile.fileName,\n      textSpan: createTextSpanFromNode(node, sourceFile),\n      kind: \"none\" /* none */\n    };\n  }\n  function getSemanticDocumentHighlights(position, node, program, cancellationToken, sourceFilesToSearch) {\n    const sourceFilesSet = new Set2(sourceFilesToSearch.map((f) => f.fileName));\n    const referenceEntries = ts_FindAllReferences_exports.getReferenceEntriesForNode(position, node, program, sourceFilesToSearch, cancellationToken, void 0, sourceFilesSet);\n    if (!referenceEntries)\n      return void 0;\n    const map2 = arrayToMultiMap(referenceEntries.map(ts_FindAllReferences_exports.toHighlightSpan), (e) => e.fileName, (e) => e.span);\n    const getCanonicalFileName = createGetCanonicalFileName(program.useCaseSensitiveFileNames());\n    return mapDefined(arrayFrom(map2.entries()), ([fileName, highlightSpans]) => {\n      if (!sourceFilesSet.has(fileName)) {\n        if (!program.redirectTargetsMap.has(toPath(fileName, program.getCurrentDirectory(), getCanonicalFileName))) {\n          return void 0;\n        }\n        const redirectTarget = program.getSourceFile(fileName);\n        const redirect = find(sourceFilesToSearch, (f) => !!f.redirectInfo && f.redirectInfo.redirectTarget === redirectTarget);\n        fileName = redirect.fileName;\n        Debug.assert(sourceFilesSet.has(fileName));\n      }\n      return { fileName, highlightSpans };\n    });\n  }\n  function getSyntacticDocumentHighlights(node, sourceFile) {\n    const highlightSpans = getHighlightSpans(node, sourceFile);\n    return highlightSpans && [{ fileName: sourceFile.fileName, highlightSpans }];\n  }\n  function getHighlightSpans(node, sourceFile) {\n    switch (node.kind) {\n      case 100 /* IfKeyword */:\n      case 92 /* ElseKeyword */:\n        return isIfStatement(node.parent) ? getIfElseOccurrences(node.parent, sourceFile) : void 0;\n      case 106 /* ReturnKeyword */:\n        return useParent(node.parent, isReturnStatement, getReturnOccurrences);\n      case 110 /* ThrowKeyword */:\n        return useParent(node.parent, isThrowStatement, getThrowOccurrences);\n      case 112 /* TryKeyword */:\n      case 83 /* CatchKeyword */:\n      case 97 /* FinallyKeyword */:\n        const tryStatement = node.kind === 83 /* CatchKeyword */ ? node.parent.parent : node.parent;\n        return useParent(tryStatement, isTryStatement, getTryCatchFinallyOccurrences);\n      case 108 /* SwitchKeyword */:\n        return useParent(node.parent, isSwitchStatement, getSwitchCaseDefaultOccurrences);\n      case 82 /* CaseKeyword */:\n      case 89 /* DefaultKeyword */: {\n        if (isDefaultClause(node.parent) || isCaseClause(node.parent)) {\n          return useParent(node.parent.parent.parent, isSwitchStatement, getSwitchCaseDefaultOccurrences);\n        }\n        return void 0;\n      }\n      case 81 /* BreakKeyword */:\n      case 87 /* ContinueKeyword */:\n        return useParent(node.parent, isBreakOrContinueStatement, getBreakOrContinueStatementOccurrences);\n      case 98 /* ForKeyword */:\n      case 116 /* WhileKeyword */:\n      case 91 /* DoKeyword */:\n        return useParent(node.parent, (n) => isIterationStatement(n, true), getLoopBreakContinueOccurrences);\n      case 136 /* ConstructorKeyword */:\n        return getFromAllDeclarations(isConstructorDeclaration, [136 /* ConstructorKeyword */]);\n      case 138 /* GetKeyword */:\n      case 152 /* SetKeyword */:\n        return getFromAllDeclarations(isAccessor, [138 /* GetKeyword */, 152 /* SetKeyword */]);\n      case 134 /* AwaitKeyword */:\n        return useParent(node.parent, isAwaitExpression, getAsyncAndAwaitOccurrences);\n      case 133 /* AsyncKeyword */:\n        return highlightSpans(getAsyncAndAwaitOccurrences(node));\n      case 126 /* YieldKeyword */:\n        return highlightSpans(getYieldOccurrences(node));\n      case 102 /* InKeyword */:\n        return void 0;\n      default:\n        return isModifierKind(node.kind) && (isDeclaration(node.parent) || isVariableStatement(node.parent)) ? highlightSpans(getModifierOccurrences(node.kind, node.parent)) : void 0;\n    }\n    function getFromAllDeclarations(nodeTest, keywords) {\n      return useParent(node.parent, nodeTest, (decl) => mapDefined(decl.symbol.declarations, (d) => nodeTest(d) ? find(d.getChildren(sourceFile), (c) => contains(keywords, c.kind)) : void 0));\n    }\n    function useParent(node2, nodeTest, getNodes4) {\n      return nodeTest(node2) ? highlightSpans(getNodes4(node2, sourceFile)) : void 0;\n    }\n    function highlightSpans(nodes) {\n      return nodes && nodes.map((node2) => getHighlightSpanForNode(node2, sourceFile));\n    }\n  }\n  function aggregateOwnedThrowStatements(node) {\n    if (isThrowStatement(node)) {\n      return [node];\n    } else if (isTryStatement(node)) {\n      return concatenate(\n        node.catchClause ? aggregateOwnedThrowStatements(node.catchClause) : node.tryBlock && aggregateOwnedThrowStatements(node.tryBlock),\n        node.finallyBlock && aggregateOwnedThrowStatements(node.finallyBlock)\n      );\n    }\n    return isFunctionLike(node) ? void 0 : flatMapChildren(node, aggregateOwnedThrowStatements);\n  }\n  function getThrowStatementOwner(throwStatement) {\n    let child = throwStatement;\n    while (child.parent) {\n      const parent2 = child.parent;\n      if (isFunctionBlock(parent2) || parent2.kind === 314 /* SourceFile */) {\n        return parent2;\n      }\n      if (isTryStatement(parent2) && parent2.tryBlock === child && parent2.catchClause) {\n        return child;\n      }\n      child = parent2;\n    }\n    return void 0;\n  }\n  function aggregateAllBreakAndContinueStatements(node) {\n    return isBreakOrContinueStatement(node) ? [node] : isFunctionLike(node) ? void 0 : flatMapChildren(node, aggregateAllBreakAndContinueStatements);\n  }\n  function flatMapChildren(node, cb) {\n    const result = [];\n    node.forEachChild((child) => {\n      const value = cb(child);\n      if (value !== void 0) {\n        result.push(...toArray(value));\n      }\n    });\n    return result;\n  }\n  function ownsBreakOrContinueStatement(owner, statement) {\n    const actualOwner = getBreakOrContinueOwner(statement);\n    return !!actualOwner && actualOwner === owner;\n  }\n  function getBreakOrContinueOwner(statement) {\n    return findAncestor(statement, (node) => {\n      switch (node.kind) {\n        case 256 /* SwitchStatement */:\n          if (statement.kind === 252 /* ContinueStatement */) {\n            return false;\n          }\n        case 249 /* ForStatement */:\n        case 250 /* ForInStatement */:\n        case 251 /* ForOfStatement */:\n        case 248 /* WhileStatement */:\n        case 247 /* DoStatement */:\n          return !statement.label || isLabeledBy(node, statement.label.escapedText);\n        default:\n          return isFunctionLike(node) && \"quit\";\n      }\n    });\n  }\n  function getModifierOccurrences(modifier, declaration) {\n    return mapDefined(getNodesToSearchForModifier(declaration, modifierToFlag(modifier)), (node) => findModifier(node, modifier));\n  }\n  function getNodesToSearchForModifier(declaration, modifierFlag) {\n    const container = declaration.parent;\n    switch (container.kind) {\n      case 271 /* ModuleBlock */:\n      case 314 /* SourceFile */:\n      case 242 /* Block */:\n      case 298 /* CaseClause */:\n      case 299 /* DefaultClause */:\n        if (modifierFlag & 256 /* Abstract */ && isClassDeclaration(declaration)) {\n          return [...declaration.members, declaration];\n        } else {\n          return container.statements;\n        }\n      case 176 /* Constructor */:\n      case 174 /* MethodDeclaration */:\n      case 263 /* FunctionDeclaration */:\n        return [...container.parameters, ...isClassLike(container.parent) ? container.parent.members : []];\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 187 /* TypeLiteral */:\n        const nodes = container.members;\n        if (modifierFlag & (28 /* AccessibilityModifier */ | 64 /* Readonly */)) {\n          const constructor = find(container.members, isConstructorDeclaration);\n          if (constructor) {\n            return [...nodes, ...constructor.parameters];\n          }\n        } else if (modifierFlag & 256 /* Abstract */) {\n          return [...nodes, container];\n        }\n        return nodes;\n      case 210 /* ObjectLiteralExpression */:\n        return void 0;\n      default:\n        Debug.assertNever(container, \"Invalid container kind.\");\n    }\n  }\n  function pushKeywordIf(keywordList, token, ...expected) {\n    if (token && contains(expected, token.kind)) {\n      keywordList.push(token);\n      return true;\n    }\n    return false;\n  }\n  function getLoopBreakContinueOccurrences(loopNode) {\n    const keywords = [];\n    if (pushKeywordIf(keywords, loopNode.getFirstToken(), 98 /* ForKeyword */, 116 /* WhileKeyword */, 91 /* DoKeyword */)) {\n      if (loopNode.kind === 247 /* DoStatement */) {\n        const loopTokens = loopNode.getChildren();\n        for (let i = loopTokens.length - 1; i >= 0; i--) {\n          if (pushKeywordIf(keywords, loopTokens[i], 116 /* WhileKeyword */)) {\n            break;\n          }\n        }\n      }\n    }\n    forEach(aggregateAllBreakAndContinueStatements(loopNode.statement), (statement) => {\n      if (ownsBreakOrContinueStatement(loopNode, statement)) {\n        pushKeywordIf(keywords, statement.getFirstToken(), 81 /* BreakKeyword */, 87 /* ContinueKeyword */);\n      }\n    });\n    return keywords;\n  }\n  function getBreakOrContinueStatementOccurrences(breakOrContinueStatement) {\n    const owner = getBreakOrContinueOwner(breakOrContinueStatement);\n    if (owner) {\n      switch (owner.kind) {\n        case 249 /* ForStatement */:\n        case 250 /* ForInStatement */:\n        case 251 /* ForOfStatement */:\n        case 247 /* DoStatement */:\n        case 248 /* WhileStatement */:\n          return getLoopBreakContinueOccurrences(owner);\n        case 256 /* SwitchStatement */:\n          return getSwitchCaseDefaultOccurrences(owner);\n      }\n    }\n    return void 0;\n  }\n  function getSwitchCaseDefaultOccurrences(switchStatement) {\n    const keywords = [];\n    pushKeywordIf(keywords, switchStatement.getFirstToken(), 108 /* SwitchKeyword */);\n    forEach(switchStatement.caseBlock.clauses, (clause) => {\n      pushKeywordIf(keywords, clause.getFirstToken(), 82 /* CaseKeyword */, 89 /* DefaultKeyword */);\n      forEach(aggregateAllBreakAndContinueStatements(clause), (statement) => {\n        if (ownsBreakOrContinueStatement(switchStatement, statement)) {\n          pushKeywordIf(keywords, statement.getFirstToken(), 81 /* BreakKeyword */);\n        }\n      });\n    });\n    return keywords;\n  }\n  function getTryCatchFinallyOccurrences(tryStatement, sourceFile) {\n    const keywords = [];\n    pushKeywordIf(keywords, tryStatement.getFirstToken(), 112 /* TryKeyword */);\n    if (tryStatement.catchClause) {\n      pushKeywordIf(keywords, tryStatement.catchClause.getFirstToken(), 83 /* CatchKeyword */);\n    }\n    if (tryStatement.finallyBlock) {\n      const finallyKeyword = findChildOfKind(tryStatement, 97 /* FinallyKeyword */, sourceFile);\n      pushKeywordIf(keywords, finallyKeyword, 97 /* FinallyKeyword */);\n    }\n    return keywords;\n  }\n  function getThrowOccurrences(throwStatement, sourceFile) {\n    const owner = getThrowStatementOwner(throwStatement);\n    if (!owner) {\n      return void 0;\n    }\n    const keywords = [];\n    forEach(aggregateOwnedThrowStatements(owner), (throwStatement2) => {\n      keywords.push(findChildOfKind(throwStatement2, 110 /* ThrowKeyword */, sourceFile));\n    });\n    if (isFunctionBlock(owner)) {\n      forEachReturnStatement(owner, (returnStatement) => {\n        keywords.push(findChildOfKind(returnStatement, 106 /* ReturnKeyword */, sourceFile));\n      });\n    }\n    return keywords;\n  }\n  function getReturnOccurrences(returnStatement, sourceFile) {\n    const func = getContainingFunction(returnStatement);\n    if (!func) {\n      return void 0;\n    }\n    const keywords = [];\n    forEachReturnStatement(cast(func.body, isBlock), (returnStatement2) => {\n      keywords.push(findChildOfKind(returnStatement2, 106 /* ReturnKeyword */, sourceFile));\n    });\n    forEach(aggregateOwnedThrowStatements(func.body), (throwStatement) => {\n      keywords.push(findChildOfKind(throwStatement, 110 /* ThrowKeyword */, sourceFile));\n    });\n    return keywords;\n  }\n  function getAsyncAndAwaitOccurrences(node) {\n    const func = getContainingFunction(node);\n    if (!func) {\n      return void 0;\n    }\n    const keywords = [];\n    if (func.modifiers) {\n      func.modifiers.forEach((modifier) => {\n        pushKeywordIf(keywords, modifier, 133 /* AsyncKeyword */);\n      });\n    }\n    forEachChild(func, (child) => {\n      traverseWithoutCrossingFunction(child, (node2) => {\n        if (isAwaitExpression(node2)) {\n          pushKeywordIf(keywords, node2.getFirstToken(), 134 /* AwaitKeyword */);\n        }\n      });\n    });\n    return keywords;\n  }\n  function getYieldOccurrences(node) {\n    const func = getContainingFunction(node);\n    if (!func) {\n      return void 0;\n    }\n    const keywords = [];\n    forEachChild(func, (child) => {\n      traverseWithoutCrossingFunction(child, (node2) => {\n        if (isYieldExpression(node2)) {\n          pushKeywordIf(keywords, node2.getFirstToken(), 126 /* YieldKeyword */);\n        }\n      });\n    });\n    return keywords;\n  }\n  function traverseWithoutCrossingFunction(node, cb) {\n    cb(node);\n    if (!isFunctionLike(node) && !isClassLike(node) && !isInterfaceDeclaration(node) && !isModuleDeclaration(node) && !isTypeAliasDeclaration(node) && !isTypeNode(node)) {\n      forEachChild(node, (child) => traverseWithoutCrossingFunction(child, cb));\n    }\n  }\n  function getIfElseOccurrences(ifStatement, sourceFile) {\n    const keywords = getIfElseKeywords(ifStatement, sourceFile);\n    const result = [];\n    for (let i = 0; i < keywords.length; i++) {\n      if (keywords[i].kind === 92 /* ElseKeyword */ && i < keywords.length - 1) {\n        const elseKeyword = keywords[i];\n        const ifKeyword = keywords[i + 1];\n        let shouldCombineElseAndIf = true;\n        for (let j = ifKeyword.getStart(sourceFile) - 1; j >= elseKeyword.end; j--) {\n          if (!isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(j))) {\n            shouldCombineElseAndIf = false;\n            break;\n          }\n        }\n        if (shouldCombineElseAndIf) {\n          result.push({\n            fileName: sourceFile.fileName,\n            textSpan: createTextSpanFromBounds(elseKeyword.getStart(), ifKeyword.end),\n            kind: \"reference\" /* reference */\n          });\n          i++;\n          continue;\n        }\n      }\n      result.push(getHighlightSpanForNode(keywords[i], sourceFile));\n    }\n    return result;\n  }\n  function getIfElseKeywords(ifStatement, sourceFile) {\n    const keywords = [];\n    while (isIfStatement(ifStatement.parent) && ifStatement.parent.elseStatement === ifStatement) {\n      ifStatement = ifStatement.parent;\n    }\n    while (true) {\n      const children = ifStatement.getChildren(sourceFile);\n      pushKeywordIf(keywords, children[0], 100 /* IfKeyword */);\n      for (let i = children.length - 1; i >= 0; i--) {\n        if (pushKeywordIf(keywords, children[i], 92 /* ElseKeyword */)) {\n          break;\n        }\n      }\n      if (!ifStatement.elseStatement || !isIfStatement(ifStatement.elseStatement)) {\n        break;\n      }\n      ifStatement = ifStatement.elseStatement;\n    }\n    return keywords;\n  }\n  function isLabeledBy(node, labelName) {\n    return !!findAncestor(node.parent, (owner) => !isLabeledStatement(owner) ? \"quit\" : owner.label.escapedText === labelName);\n  }\n})(DocumentHighlights2 || (DocumentHighlights2 = {}));\n\n// src/services/documentRegistry.ts\nfunction isDocumentRegistryEntry(entry) {\n  return !!entry.sourceFile;\n}\nfunction createDocumentRegistry(useCaseSensitiveFileNames, currentDirectory) {\n  return createDocumentRegistryInternal(useCaseSensitiveFileNames, currentDirectory);\n}\nfunction createDocumentRegistryInternal(useCaseSensitiveFileNames, currentDirectory = \"\", externalCache) {\n  const buckets = new Map2();\n  const getCanonicalFileName = createGetCanonicalFileName(!!useCaseSensitiveFileNames);\n  function reportStats() {\n    const bucketInfoArray = arrayFrom(buckets.keys()).filter((name) => name && name.charAt(0) === \"_\").map((name) => {\n      const entries = buckets.get(name);\n      const sourceFiles = [];\n      entries.forEach((entry, name2) => {\n        if (isDocumentRegistryEntry(entry)) {\n          sourceFiles.push({\n            name: name2,\n            scriptKind: entry.sourceFile.scriptKind,\n            refCount: entry.languageServiceRefCount\n          });\n        } else {\n          entry.forEach((value, scriptKind) => sourceFiles.push({ name: name2, scriptKind, refCount: value.languageServiceRefCount }));\n        }\n      });\n      sourceFiles.sort((x, y) => y.refCount - x.refCount);\n      return {\n        bucket: name,\n        sourceFiles\n      };\n    });\n    return JSON.stringify(bucketInfoArray, void 0, 2);\n  }\n  function getCompilationSettings(settingsOrHost) {\n    if (typeof settingsOrHost.getCompilationSettings === \"function\") {\n      return settingsOrHost.getCompilationSettings();\n    }\n    return settingsOrHost;\n  }\n  function acquireDocument(fileName, compilationSettings, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n    const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n    const key = getKeyForCompilationSettings(getCompilationSettings(compilationSettings));\n    return acquireDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions);\n  }\n  function acquireDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n    return acquireOrUpdateDocument(fileName, path, compilationSettings, key, scriptSnapshot, version2, true, scriptKind, languageVersionOrOptions);\n  }\n  function updateDocument(fileName, compilationSettings, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n    const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n    const key = getKeyForCompilationSettings(getCompilationSettings(compilationSettings));\n    return updateDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions);\n  }\n  function updateDocumentWithKey(fileName, path, compilationSettings, key, scriptSnapshot, version2, scriptKind, languageVersionOrOptions) {\n    return acquireOrUpdateDocument(fileName, path, getCompilationSettings(compilationSettings), key, scriptSnapshot, version2, false, scriptKind, languageVersionOrOptions);\n  }\n  function getDocumentRegistryEntry(bucketEntry, scriptKind) {\n    const entry = isDocumentRegistryEntry(bucketEntry) ? bucketEntry : bucketEntry.get(Debug.checkDefined(scriptKind, \"If there are more than one scriptKind's for same document the scriptKind should be provided\"));\n    Debug.assert(scriptKind === void 0 || !entry || entry.sourceFile.scriptKind === scriptKind, `Script kind should match provided ScriptKind:${scriptKind} and sourceFile.scriptKind: ${entry == null ? void 0 : entry.sourceFile.scriptKind}, !entry: ${!entry}`);\n    return entry;\n  }\n  function acquireOrUpdateDocument(fileName, path, compilationSettingsOrHost, key, scriptSnapshot, version2, acquiring, scriptKind, languageVersionOrOptions) {\n    var _a2, _b, _c, _d;\n    scriptKind = ensureScriptKind(fileName, scriptKind);\n    const compilationSettings = getCompilationSettings(compilationSettingsOrHost);\n    const host = compilationSettingsOrHost === compilationSettings ? void 0 : compilationSettingsOrHost;\n    const scriptTarget = scriptKind === 6 /* JSON */ ? 100 /* JSON */ : getEmitScriptTarget(compilationSettings);\n    const sourceFileOptions = typeof languageVersionOrOptions === \"object\" ? languageVersionOrOptions : {\n      languageVersion: scriptTarget,\n      impliedNodeFormat: host && getImpliedNodeFormatForFile(path, (_d = (_c = (_b = (_a2 = host.getCompilerHost) == null ? void 0 : _a2.call(host)) == null ? void 0 : _b.getModuleResolutionCache) == null ? void 0 : _c.call(_b)) == null ? void 0 : _d.getPackageJsonInfoCache(), host, compilationSettings),\n      setExternalModuleIndicator: getSetExternalModuleIndicator(compilationSettings)\n    };\n    sourceFileOptions.languageVersion = scriptTarget;\n    const oldBucketCount = buckets.size;\n    const keyWithMode = getDocumentRegistryBucketKeyWithMode(key, sourceFileOptions.impliedNodeFormat);\n    const bucket = getOrUpdate(buckets, keyWithMode, () => new Map2());\n    if (tracing) {\n      if (buckets.size > oldBucketCount) {\n        tracing.instant(tracing.Phase.Session, \"createdDocumentRegistryBucket\", { configFilePath: compilationSettings.configFilePath, key: keyWithMode });\n      }\n      const otherBucketKey = !isDeclarationFileName(path) && forEachEntry(buckets, (bucket2, bucketKey) => bucketKey !== keyWithMode && bucket2.has(path) && bucketKey);\n      if (otherBucketKey) {\n        tracing.instant(tracing.Phase.Session, \"documentRegistryBucketOverlap\", { path, key1: otherBucketKey, key2: keyWithMode });\n      }\n    }\n    const bucketEntry = bucket.get(path);\n    let entry = bucketEntry && getDocumentRegistryEntry(bucketEntry, scriptKind);\n    if (!entry && externalCache) {\n      const sourceFile = externalCache.getDocument(keyWithMode, path);\n      if (sourceFile) {\n        Debug.assert(acquiring);\n        entry = {\n          sourceFile,\n          languageServiceRefCount: 0\n        };\n        setBucketEntry();\n      }\n    }\n    if (!entry) {\n      const sourceFile = createLanguageServiceSourceFile(fileName, scriptSnapshot, sourceFileOptions, version2, false, scriptKind, compilationSettings);\n      if (externalCache) {\n        externalCache.setDocument(keyWithMode, path, sourceFile);\n      }\n      entry = {\n        sourceFile,\n        languageServiceRefCount: 1\n      };\n      setBucketEntry();\n    } else {\n      if (entry.sourceFile.version !== version2) {\n        entry.sourceFile = updateLanguageServiceSourceFile(\n          entry.sourceFile,\n          scriptSnapshot,\n          version2,\n          scriptSnapshot.getChangeRange(entry.sourceFile.scriptSnapshot),\n          void 0,\n          compilationSettings\n        );\n        if (externalCache) {\n          externalCache.setDocument(keyWithMode, path, entry.sourceFile);\n        }\n      }\n      if (acquiring) {\n        entry.languageServiceRefCount++;\n      }\n    }\n    Debug.assert(entry.languageServiceRefCount !== 0);\n    return entry.sourceFile;\n    function setBucketEntry() {\n      if (!bucketEntry) {\n        bucket.set(path, entry);\n      } else if (isDocumentRegistryEntry(bucketEntry)) {\n        const scriptKindMap = new Map2();\n        scriptKindMap.set(bucketEntry.sourceFile.scriptKind, bucketEntry);\n        scriptKindMap.set(scriptKind, entry);\n        bucket.set(path, scriptKindMap);\n      } else {\n        bucketEntry.set(scriptKind, entry);\n      }\n    }\n  }\n  function releaseDocument(fileName, compilationSettings, scriptKind, impliedNodeFormat) {\n    const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n    const key = getKeyForCompilationSettings(compilationSettings);\n    return releaseDocumentWithKey(path, key, scriptKind, impliedNodeFormat);\n  }\n  function releaseDocumentWithKey(path, key, scriptKind, impliedNodeFormat) {\n    const bucket = Debug.checkDefined(buckets.get(getDocumentRegistryBucketKeyWithMode(key, impliedNodeFormat)));\n    const bucketEntry = bucket.get(path);\n    const entry = getDocumentRegistryEntry(bucketEntry, scriptKind);\n    entry.languageServiceRefCount--;\n    Debug.assert(entry.languageServiceRefCount >= 0);\n    if (entry.languageServiceRefCount === 0) {\n      if (isDocumentRegistryEntry(bucketEntry)) {\n        bucket.delete(path);\n      } else {\n        bucketEntry.delete(scriptKind);\n        if (bucketEntry.size === 1) {\n          bucket.set(path, firstDefinedIterator(bucketEntry.values(), identity));\n        }\n      }\n    }\n  }\n  function getLanguageServiceRefCounts(path, scriptKind) {\n    return arrayFrom(buckets.entries(), ([key, bucket]) => {\n      const bucketEntry = bucket.get(path);\n      const entry = bucketEntry && getDocumentRegistryEntry(bucketEntry, scriptKind);\n      return [key, entry && entry.languageServiceRefCount];\n    });\n  }\n  return {\n    acquireDocument,\n    acquireDocumentWithKey,\n    updateDocument,\n    updateDocumentWithKey,\n    releaseDocument,\n    releaseDocumentWithKey,\n    getLanguageServiceRefCounts,\n    reportStats,\n    getKeyForCompilationSettings\n  };\n}\nfunction compilerOptionValueToString(value) {\n  var _a2;\n  if (value === null || typeof value !== \"object\") {\n    return \"\" + value;\n  }\n  if (isArray(value)) {\n    return `[${(_a2 = map(value, (e) => compilerOptionValueToString(e))) == null ? void 0 : _a2.join(\",\")}]`;\n  }\n  let str = \"{\";\n  for (const key in value) {\n    if (hasProperty(value, key)) {\n      str += `${key}: ${compilerOptionValueToString(value[key])}`;\n    }\n  }\n  return str + \"}\";\n}\nfunction getKeyForCompilationSettings(settings) {\n  if (settings.skipPathsInKeyForCompilationSettings) {\n    return sourceFileAffectingCompilerOptions.map(\n      (option) => option.name !== \"paths\" ? compilerOptionValueToString(getCompilerOptionValue(settings, option)) : \"paths\"\n    ).join(\"|\") + (settings.pathsBasePath ? `|${settings.pathsBasePath}` : void 0);\n  }\n  return sourceFileAffectingCompilerOptions.map((option) => compilerOptionValueToString(getCompilerOptionValue(settings, option))).join(\"|\") + (settings.pathsBasePath ? `|${settings.pathsBasePath}` : void 0);\n}\nfunction getDocumentRegistryBucketKeyWithMode(key, mode) {\n  return mode ? `${key}|${mode}` : key;\n}\n\n// src/services/getEditsForFileRename.ts\nfunction getEditsForFileRename(program, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) {\n  const useCaseSensitiveFileNames = hostUsesCaseSensitiveFileNames(host);\n  const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  const oldToNew = getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper);\n  const newToOld = getPathUpdater(newFileOrDirPath, oldFileOrDirPath, getCanonicalFileName, sourceMapper);\n  return ts_textChanges_exports.ChangeTracker.with({ host, formatContext, preferences }, (changeTracker) => {\n    updateTsconfigFiles(program, changeTracker, oldToNew, oldFileOrDirPath, newFileOrDirPath, host.getCurrentDirectory(), useCaseSensitiveFileNames);\n    updateImports(program, changeTracker, oldToNew, newToOld, host, getCanonicalFileName);\n  });\n}\nfunction getPathUpdater(oldFileOrDirPath, newFileOrDirPath, getCanonicalFileName, sourceMapper) {\n  const canonicalOldPath = getCanonicalFileName(oldFileOrDirPath);\n  return (path) => {\n    const originalPath = sourceMapper && sourceMapper.tryGetSourcePosition({ fileName: path, pos: 0 });\n    const updatedPath = getUpdatedPath(originalPath ? originalPath.fileName : path);\n    return originalPath ? updatedPath === void 0 ? void 0 : makeCorrespondingRelativeChange(originalPath.fileName, updatedPath, path, getCanonicalFileName) : updatedPath;\n  };\n  function getUpdatedPath(pathToUpdate) {\n    if (getCanonicalFileName(pathToUpdate) === canonicalOldPath)\n      return newFileOrDirPath;\n    const suffix = tryRemoveDirectoryPrefix(pathToUpdate, canonicalOldPath, getCanonicalFileName);\n    return suffix === void 0 ? void 0 : newFileOrDirPath + \"/\" + suffix;\n  }\n}\nfunction makeCorrespondingRelativeChange(a0, b0, a1, getCanonicalFileName) {\n  const rel = getRelativePathFromFile(a0, b0, getCanonicalFileName);\n  return combinePathsSafe(getDirectoryPath(a1), rel);\n}\nfunction updateTsconfigFiles(program, changeTracker, oldToNew, oldFileOrDirPath, newFileOrDirPath, currentDirectory, useCaseSensitiveFileNames) {\n  const { configFile } = program.getCompilerOptions();\n  if (!configFile)\n    return;\n  const configDir = getDirectoryPath(configFile.fileName);\n  const jsonObjectLiteral = getTsConfigObjectLiteralExpression(configFile);\n  if (!jsonObjectLiteral)\n    return;\n  forEachProperty(jsonObjectLiteral, (property, propertyName) => {\n    switch (propertyName) {\n      case \"files\":\n      case \"include\":\n      case \"exclude\": {\n        const foundExactMatch = updatePaths(property);\n        if (foundExactMatch || propertyName !== \"include\" || !isArrayLiteralExpression(property.initializer))\n          return;\n        const includes = mapDefined(property.initializer.elements, (e) => isStringLiteral(e) ? e.text : void 0);\n        if (includes.length === 0)\n          return;\n        const matchers = getFileMatcherPatterns(configDir, [], includes, useCaseSensitiveFileNames, currentDirectory);\n        if (getRegexFromPattern(Debug.checkDefined(matchers.includeFilePattern), useCaseSensitiveFileNames).test(oldFileOrDirPath) && !getRegexFromPattern(Debug.checkDefined(matchers.includeFilePattern), useCaseSensitiveFileNames).test(newFileOrDirPath)) {\n          changeTracker.insertNodeAfter(configFile, last(property.initializer.elements), factory.createStringLiteral(relativePath(newFileOrDirPath)));\n        }\n        return;\n      }\n      case \"compilerOptions\":\n        forEachProperty(property.initializer, (property2, propertyName2) => {\n          const option = getOptionFromName(propertyName2);\n          if (option && (option.isFilePath || option.type === \"list\" && option.element.isFilePath)) {\n            updatePaths(property2);\n          } else if (propertyName2 === \"paths\") {\n            forEachProperty(property2.initializer, (pathsProperty) => {\n              if (!isArrayLiteralExpression(pathsProperty.initializer))\n                return;\n              for (const e of pathsProperty.initializer.elements) {\n                tryUpdateString(e);\n              }\n            });\n          }\n        });\n        return;\n    }\n  });\n  function updatePaths(property) {\n    const elements = isArrayLiteralExpression(property.initializer) ? property.initializer.elements : [property.initializer];\n    let foundExactMatch = false;\n    for (const element of elements) {\n      foundExactMatch = tryUpdateString(element) || foundExactMatch;\n    }\n    return foundExactMatch;\n  }\n  function tryUpdateString(element) {\n    if (!isStringLiteral(element))\n      return false;\n    const elementFileName = combinePathsSafe(configDir, element.text);\n    const updated = oldToNew(elementFileName);\n    if (updated !== void 0) {\n      changeTracker.replaceRangeWithText(configFile, createStringRange(element, configFile), relativePath(updated));\n      return true;\n    }\n    return false;\n  }\n  function relativePath(path) {\n    return getRelativePathFromDirectory(configDir, path, !useCaseSensitiveFileNames);\n  }\n}\nfunction updateImports(program, changeTracker, oldToNew, newToOld, host, getCanonicalFileName) {\n  const allFiles = program.getSourceFiles();\n  for (const sourceFile of allFiles) {\n    const newFromOld = oldToNew(sourceFile.fileName);\n    const newImportFromPath = newFromOld != null ? newFromOld : sourceFile.fileName;\n    const newImportFromDirectory = getDirectoryPath(newImportFromPath);\n    const oldFromNew = newToOld(sourceFile.fileName);\n    const oldImportFromPath = oldFromNew || sourceFile.fileName;\n    const oldImportFromDirectory = getDirectoryPath(oldImportFromPath);\n    const importingSourceFileMoved = newFromOld !== void 0 || oldFromNew !== void 0;\n    updateImportsWorker(\n      sourceFile,\n      changeTracker,\n      (referenceText) => {\n        if (!pathIsRelative(referenceText))\n          return void 0;\n        const oldAbsolute = combinePathsSafe(oldImportFromDirectory, referenceText);\n        const newAbsolute = oldToNew(oldAbsolute);\n        return newAbsolute === void 0 ? void 0 : ensurePathIsNonModuleName(getRelativePathFromDirectory(newImportFromDirectory, newAbsolute, getCanonicalFileName));\n      },\n      (importLiteral) => {\n        const importedModuleSymbol = program.getTypeChecker().getSymbolAtLocation(importLiteral);\n        if ((importedModuleSymbol == null ? void 0 : importedModuleSymbol.declarations) && importedModuleSymbol.declarations.some((d) => isAmbientModule(d)))\n          return void 0;\n        const toImport = oldFromNew !== void 0 ? getSourceFileToImportFromResolved(\n          importLiteral,\n          resolveModuleName(importLiteral.text, oldImportFromPath, program.getCompilerOptions(), host),\n          oldToNew,\n          allFiles,\n          program.getCompilerOptions().packageManagerType\n        ) : getSourceFileToImport(importedModuleSymbol, importLiteral, sourceFile, program, host, oldToNew);\n        return toImport !== void 0 && (toImport.updated || importingSourceFileMoved && pathIsRelative(importLiteral.text)) ? ts_moduleSpecifiers_exports.updateModuleSpecifier(program.getCompilerOptions(), sourceFile, getCanonicalFileName(newImportFromPath), toImport.newFileName, createModuleSpecifierResolutionHost(program, host), importLiteral.text) : void 0;\n      }\n    );\n  }\n}\nfunction combineNormal(pathA, pathB) {\n  return normalizePath(combinePaths(pathA, pathB));\n}\nfunction combinePathsSafe(pathA, pathB) {\n  return ensurePathIsNonModuleName(combineNormal(pathA, pathB));\n}\nfunction getSourceFileToImport(importedModuleSymbol, importLiteral, importingSourceFile, program, host, oldToNew) {\n  if (importedModuleSymbol) {\n    const oldFileName = find(importedModuleSymbol.declarations, isSourceFile).fileName;\n    const newFileName = oldToNew(oldFileName);\n    return newFileName === void 0 ? { newFileName: oldFileName, updated: false } : { newFileName, updated: true };\n  } else {\n    const mode = getModeForUsageLocation(importingSourceFile, importLiteral);\n    const resolved = host.resolveModuleNames ? host.getResolvedModuleWithFailedLookupLocationsFromCache && host.getResolvedModuleWithFailedLookupLocationsFromCache(importLiteral.text, importingSourceFile.fileName, mode) : program.getResolvedModuleWithFailedLookupLocationsFromCache(importLiteral.text, importingSourceFile.fileName, mode);\n    return getSourceFileToImportFromResolved(importLiteral, resolved, oldToNew, program.getSourceFiles(), program.getCompilerOptions().packageManagerType);\n  }\n}\nfunction getSourceFileToImportFromResolved(importLiteral, resolved, oldToNew, sourceFiles, packageManagerType) {\n  if (!resolved)\n    return void 0;\n  if (resolved.resolvedModule) {\n    const result2 = tryChange(resolved.resolvedModule.resolvedFileName);\n    if (result2)\n      return result2;\n  }\n  const result = forEach(resolved.failedLookupLocations, tryChangeWithIgnoringPackageJsonExisting) || pathIsRelative(importLiteral.text) && forEach(resolved.failedLookupLocations, tryChangeWithIgnoringPackageJson);\n  if (result)\n    return result;\n  return resolved.resolvedModule && { newFileName: resolved.resolvedModule.resolvedFileName, updated: false };\n  function tryChangeWithIgnoringPackageJsonExisting(oldFileName) {\n    const newFileName = oldToNew(oldFileName);\n    return newFileName && find(sourceFiles, (src) => src.fileName === newFileName) ? tryChangeWithIgnoringPackageJson(oldFileName) : void 0;\n  }\n  function tryChangeWithIgnoringPackageJson(oldFileName) {\n    return !endsWith(oldFileName, isOhpm(packageManagerType) ? \"/oh-package.json5\" : \"/package.json\") ? tryChange(oldFileName) : void 0;\n  }\n  function tryChange(oldFileName) {\n    const newFileName = oldToNew(oldFileName);\n    return newFileName && { newFileName, updated: true };\n  }\n}\nfunction updateImportsWorker(sourceFile, changeTracker, updateRef, updateImport2) {\n  for (const ref of sourceFile.referencedFiles || emptyArray) {\n    const updated = updateRef(ref.fileName);\n    if (updated !== void 0 && updated !== sourceFile.text.slice(ref.pos, ref.end))\n      changeTracker.replaceRangeWithText(sourceFile, ref, updated);\n  }\n  for (const importStringLiteral of sourceFile.imports) {\n    const updated = updateImport2(importStringLiteral);\n    if (updated !== void 0 && updated !== importStringLiteral.text)\n      changeTracker.replaceRangeWithText(sourceFile, createStringRange(importStringLiteral, sourceFile), updated);\n  }\n}\nfunction createStringRange(node, sourceFile) {\n  return createRange(node.getStart(sourceFile) + 1, node.end - 1);\n}\nfunction forEachProperty(objectLiteral, cb) {\n  if (!isObjectLiteralExpression(objectLiteral))\n    return;\n  for (const property of objectLiteral.properties) {\n    if (isPropertyAssignment(property) && isStringLiteral(property.name)) {\n      cb(property, property.name.text);\n    }\n  }\n}\n\n// src/services/patternMatcher.ts\nvar PatternMatchKind = /* @__PURE__ */ ((PatternMatchKind2) => {\n  PatternMatchKind2[PatternMatchKind2[\"exact\"] = 0] = \"exact\";\n  PatternMatchKind2[PatternMatchKind2[\"prefix\"] = 1] = \"prefix\";\n  PatternMatchKind2[PatternMatchKind2[\"substring\"] = 2] = \"substring\";\n  PatternMatchKind2[PatternMatchKind2[\"camelCase\"] = 3] = \"camelCase\";\n  return PatternMatchKind2;\n})(PatternMatchKind || {});\nfunction createPatternMatch(kind, isCaseSensitive) {\n  return {\n    kind,\n    isCaseSensitive\n  };\n}\nfunction createPatternMatcher(pattern) {\n  const stringToWordSpans = new Map2();\n  const dotSeparatedSegments = pattern.trim().split(\".\").map((p) => createSegment(p.trim()));\n  if (dotSeparatedSegments.some((segment) => !segment.subWordTextChunks.length))\n    return void 0;\n  return {\n    getFullMatch: (containers, candidate) => getFullMatch(containers, candidate, dotSeparatedSegments, stringToWordSpans),\n    getMatchForLastSegmentOfPattern: (candidate) => matchSegment(candidate, last(dotSeparatedSegments), stringToWordSpans),\n    patternContainsDots: dotSeparatedSegments.length > 1\n  };\n}\nfunction getFullMatch(candidateContainers, candidate, dotSeparatedSegments, stringToWordSpans) {\n  const candidateMatch = matchSegment(candidate, last(dotSeparatedSegments), stringToWordSpans);\n  if (!candidateMatch) {\n    return void 0;\n  }\n  if (dotSeparatedSegments.length - 1 > candidateContainers.length) {\n    return void 0;\n  }\n  let bestMatch;\n  for (let i = dotSeparatedSegments.length - 2, j = candidateContainers.length - 1; i >= 0; i -= 1, j -= 1) {\n    bestMatch = betterMatch(bestMatch, matchSegment(candidateContainers[j], dotSeparatedSegments[i], stringToWordSpans));\n  }\n  return bestMatch;\n}\nfunction getWordSpans(word, stringToWordSpans) {\n  let spans = stringToWordSpans.get(word);\n  if (!spans) {\n    stringToWordSpans.set(word, spans = breakIntoWordSpans(word));\n  }\n  return spans;\n}\nfunction matchTextChunk(candidate, chunk, stringToWordSpans) {\n  const index = indexOfIgnoringCase(candidate, chunk.textLowerCase);\n  if (index === 0) {\n    return createPatternMatch(chunk.text.length === candidate.length ? 0 /* exact */ : 1 /* prefix */, startsWith(candidate, chunk.text));\n  }\n  if (chunk.isLowerCase) {\n    if (index === -1)\n      return void 0;\n    const wordSpans = getWordSpans(candidate, stringToWordSpans);\n    for (const span of wordSpans) {\n      if (partStartsWith(candidate, span, chunk.text, true)) {\n        return createPatternMatch(2 /* substring */, partStartsWith(candidate, span, chunk.text, false));\n      }\n    }\n    if (chunk.text.length < candidate.length && isUpperCaseLetter(candidate.charCodeAt(index))) {\n      return createPatternMatch(2 /* substring */, false);\n    }\n  } else {\n    if (candidate.indexOf(chunk.text) > 0) {\n      return createPatternMatch(2 /* substring */, true);\n    }\n    if (chunk.characterSpans.length > 0) {\n      const candidateParts = getWordSpans(candidate, stringToWordSpans);\n      const isCaseSensitive = tryCamelCaseMatch(candidate, candidateParts, chunk, false) ? true : tryCamelCaseMatch(candidate, candidateParts, chunk, true) ? false : void 0;\n      if (isCaseSensitive !== void 0) {\n        return createPatternMatch(3 /* camelCase */, isCaseSensitive);\n      }\n    }\n  }\n}\nfunction matchSegment(candidate, segment, stringToWordSpans) {\n  if (every2(segment.totalTextChunk.text, (ch) => ch !== 32 /* space */ && ch !== 42 /* asterisk */)) {\n    const match = matchTextChunk(candidate, segment.totalTextChunk, stringToWordSpans);\n    if (match)\n      return match;\n  }\n  const subWordTextChunks = segment.subWordTextChunks;\n  let bestMatch;\n  for (const subWordTextChunk of subWordTextChunks) {\n    bestMatch = betterMatch(bestMatch, matchTextChunk(candidate, subWordTextChunk, stringToWordSpans));\n  }\n  return bestMatch;\n}\nfunction betterMatch(a, b) {\n  return min([a, b], compareMatches);\n}\nfunction compareMatches(a, b) {\n  return a === void 0 ? 1 /* GreaterThan */ : b === void 0 ? -1 /* LessThan */ : compareValues(a.kind, b.kind) || compareBooleans(!a.isCaseSensitive, !b.isCaseSensitive);\n}\nfunction partStartsWith(candidate, candidateSpan, pattern, ignoreCase, patternSpan = { start: 0, length: pattern.length }) {\n  return patternSpan.length <= candidateSpan.length && everyInRange(0, patternSpan.length, (i) => equalChars(pattern.charCodeAt(patternSpan.start + i), candidate.charCodeAt(candidateSpan.start + i), ignoreCase));\n}\nfunction equalChars(ch1, ch2, ignoreCase) {\n  return ignoreCase ? toLowerCase2(ch1) === toLowerCase2(ch2) : ch1 === ch2;\n}\nfunction tryCamelCaseMatch(candidate, candidateParts, chunk, ignoreCase) {\n  const chunkCharacterSpans = chunk.characterSpans;\n  let currentCandidate = 0;\n  let currentChunkSpan = 0;\n  let firstMatch;\n  let contiguous;\n  while (true) {\n    if (currentChunkSpan === chunkCharacterSpans.length) {\n      return true;\n    } else if (currentCandidate === candidateParts.length) {\n      return false;\n    }\n    let candidatePart = candidateParts[currentCandidate];\n    let gotOneMatchThisCandidate = false;\n    for (; currentChunkSpan < chunkCharacterSpans.length; currentChunkSpan++) {\n      const chunkCharacterSpan = chunkCharacterSpans[currentChunkSpan];\n      if (gotOneMatchThisCandidate) {\n        if (!isUpperCaseLetter(chunk.text.charCodeAt(chunkCharacterSpans[currentChunkSpan - 1].start)) || !isUpperCaseLetter(chunk.text.charCodeAt(chunkCharacterSpans[currentChunkSpan].start))) {\n          break;\n        }\n      }\n      if (!partStartsWith(candidate, candidatePart, chunk.text, ignoreCase, chunkCharacterSpan)) {\n        break;\n      }\n      gotOneMatchThisCandidate = true;\n      firstMatch = firstMatch === void 0 ? currentCandidate : firstMatch;\n      contiguous = contiguous === void 0 ? true : contiguous;\n      candidatePart = createTextSpan(candidatePart.start + chunkCharacterSpan.length, candidatePart.length - chunkCharacterSpan.length);\n    }\n    if (!gotOneMatchThisCandidate && contiguous !== void 0) {\n      contiguous = false;\n    }\n    currentCandidate++;\n  }\n}\nfunction createSegment(text) {\n  return {\n    totalTextChunk: createTextChunk(text),\n    subWordTextChunks: breakPatternIntoTextChunks(text)\n  };\n}\nfunction isUpperCaseLetter(ch) {\n  if (ch >= 65 /* A */ && ch <= 90 /* Z */) {\n    return true;\n  }\n  if (ch < 127 /* maxAsciiCharacter */ || !isUnicodeIdentifierStart(ch, 99 /* Latest */)) {\n    return false;\n  }\n  const str = String.fromCharCode(ch);\n  return str === str.toUpperCase();\n}\nfunction isLowerCaseLetter(ch) {\n  if (ch >= 97 /* a */ && ch <= 122 /* z */) {\n    return true;\n  }\n  if (ch < 127 /* maxAsciiCharacter */ || !isUnicodeIdentifierStart(ch, 99 /* Latest */)) {\n    return false;\n  }\n  const str = String.fromCharCode(ch);\n  return str === str.toLowerCase();\n}\nfunction indexOfIgnoringCase(str, value) {\n  const n = str.length - value.length;\n  for (let start = 0; start <= n; start++) {\n    if (every2(value, (valueChar, i) => toLowerCase2(str.charCodeAt(i + start)) === valueChar)) {\n      return start;\n    }\n  }\n  return -1;\n}\nfunction toLowerCase2(ch) {\n  if (ch >= 65 /* A */ && ch <= 90 /* Z */) {\n    return 97 /* a */ + (ch - 65 /* A */);\n  }\n  if (ch < 127 /* maxAsciiCharacter */) {\n    return ch;\n  }\n  return String.fromCharCode(ch).toLowerCase().charCodeAt(0);\n}\nfunction isDigit2(ch) {\n  return ch >= 48 /* _0 */ && ch <= 57 /* _9 */;\n}\nfunction isWordChar(ch) {\n  return isUpperCaseLetter(ch) || isLowerCaseLetter(ch) || isDigit2(ch) || ch === 95 /* _ */ || ch === 36 /* $ */;\n}\nfunction breakPatternIntoTextChunks(pattern) {\n  const result = [];\n  let wordStart = 0;\n  let wordLength = 0;\n  for (let i = 0; i < pattern.length; i++) {\n    const ch = pattern.charCodeAt(i);\n    if (isWordChar(ch)) {\n      if (wordLength === 0) {\n        wordStart = i;\n      }\n      wordLength++;\n    } else {\n      if (wordLength > 0) {\n        result.push(createTextChunk(pattern.substr(wordStart, wordLength)));\n        wordLength = 0;\n      }\n    }\n  }\n  if (wordLength > 0) {\n    result.push(createTextChunk(pattern.substr(wordStart, wordLength)));\n  }\n  return result;\n}\nfunction createTextChunk(text) {\n  const textLowerCase = text.toLowerCase();\n  return {\n    text,\n    textLowerCase,\n    isLowerCase: text === textLowerCase,\n    characterSpans: breakIntoCharacterSpans(text)\n  };\n}\nfunction breakIntoCharacterSpans(identifier) {\n  return breakIntoSpans(identifier, false);\n}\nfunction breakIntoWordSpans(identifier) {\n  return breakIntoSpans(identifier, true);\n}\nfunction breakIntoSpans(identifier, word) {\n  const result = [];\n  let wordStart = 0;\n  for (let i = 1; i < identifier.length; i++) {\n    const lastIsDigit = isDigit2(identifier.charCodeAt(i - 1));\n    const currentIsDigit = isDigit2(identifier.charCodeAt(i));\n    const hasTransitionFromLowerToUpper = transitionFromLowerToUpper(identifier, word, i);\n    const hasTransitionFromUpperToLower = word && transitionFromUpperToLower(identifier, i, wordStart);\n    if (charIsPunctuation(identifier.charCodeAt(i - 1)) || charIsPunctuation(identifier.charCodeAt(i)) || lastIsDigit !== currentIsDigit || hasTransitionFromLowerToUpper || hasTransitionFromUpperToLower) {\n      if (!isAllPunctuation(identifier, wordStart, i)) {\n        result.push(createTextSpan(wordStart, i - wordStart));\n      }\n      wordStart = i;\n    }\n  }\n  if (!isAllPunctuation(identifier, wordStart, identifier.length)) {\n    result.push(createTextSpan(wordStart, identifier.length - wordStart));\n  }\n  return result;\n}\nfunction charIsPunctuation(ch) {\n  switch (ch) {\n    case 33 /* exclamation */:\n    case 34 /* doubleQuote */:\n    case 35 /* hash */:\n    case 37 /* percent */:\n    case 38 /* ampersand */:\n    case 39 /* singleQuote */:\n    case 40 /* openParen */:\n    case 41 /* closeParen */:\n    case 42 /* asterisk */:\n    case 44 /* comma */:\n    case 45 /* minus */:\n    case 46 /* dot */:\n    case 47 /* slash */:\n    case 58 /* colon */:\n    case 59 /* semicolon */:\n    case 63 /* question */:\n    case 64 /* at */:\n    case 91 /* openBracket */:\n    case 92 /* backslash */:\n    case 93 /* closeBracket */:\n    case 95 /* _ */:\n    case 123 /* openBrace */:\n    case 125 /* closeBrace */:\n      return true;\n  }\n  return false;\n}\nfunction isAllPunctuation(identifier, start, end) {\n  return every2(identifier, (ch) => charIsPunctuation(ch) && ch !== 95 /* _ */, start, end);\n}\nfunction transitionFromUpperToLower(identifier, index, wordStart) {\n  return index !== wordStart && index + 1 < identifier.length && isUpperCaseLetter(identifier.charCodeAt(index)) && isLowerCaseLetter(identifier.charCodeAt(index + 1)) && every2(identifier, isUpperCaseLetter, wordStart, index);\n}\nfunction transitionFromLowerToUpper(identifier, word, index) {\n  const lastIsUpper = isUpperCaseLetter(identifier.charCodeAt(index - 1));\n  const currentIsUpper = isUpperCaseLetter(identifier.charCodeAt(index));\n  return currentIsUpper && (!word || !lastIsUpper);\n}\nfunction everyInRange(start, end, pred) {\n  for (let i = start; i < end; i++) {\n    if (!pred(i)) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction every2(s, pred, start = 0, end = s.length) {\n  return everyInRange(start, end, (i) => pred(s.charCodeAt(i), i));\n}\n\n// src/services/preProcess.ts\nfunction preProcessFile(sourceText, readImportFiles = true, detectJavaScriptImports = false) {\n  const pragmaContext = {\n    languageVersion: 1 /* ES5 */,\n    pragmas: void 0,\n    checkJsDirective: void 0,\n    referencedFiles: [],\n    typeReferenceDirectives: [],\n    libReferenceDirectives: [],\n    amdDependencies: [],\n    hasNoDefaultLib: void 0,\n    moduleName: void 0\n  };\n  const importedFiles = [];\n  let ambientExternalModules;\n  let lastToken;\n  let currentToken;\n  let braceNesting = 0;\n  let externalModule = false;\n  function nextToken() {\n    lastToken = currentToken;\n    currentToken = scanner.scan();\n    if (currentToken === 18 /* OpenBraceToken */) {\n      braceNesting++;\n    } else if (currentToken === 19 /* CloseBraceToken */) {\n      braceNesting--;\n    }\n    return currentToken;\n  }\n  function getFileReference() {\n    const fileName = scanner.getTokenValue();\n    const pos = scanner.getTokenPos();\n    return { fileName, pos, end: pos + fileName.length };\n  }\n  function recordAmbientExternalModule() {\n    if (!ambientExternalModules) {\n      ambientExternalModules = [];\n    }\n    ambientExternalModules.push({ ref: getFileReference(), depth: braceNesting });\n  }\n  function recordModuleName() {\n    importedFiles.push(getFileReference());\n    markAsExternalModuleIfTopLevel();\n  }\n  function markAsExternalModuleIfTopLevel() {\n    if (braceNesting === 0) {\n      externalModule = true;\n    }\n  }\n  function tryConsumeDeclare() {\n    let token = scanner.getToken();\n    if (token === 137 /* DeclareKeyword */) {\n      token = nextToken();\n      if (token === 143 /* ModuleKeyword */) {\n        token = nextToken();\n        if (token === 10 /* StringLiteral */) {\n          recordAmbientExternalModule();\n        }\n      }\n      return true;\n    }\n    return false;\n  }\n  function tryConsumeImport() {\n    if (lastToken === 24 /* DotToken */) {\n      return false;\n    }\n    let token = scanner.getToken();\n    if (token === 101 /* ImportKeyword */) {\n      token = nextToken();\n      if (token === 20 /* OpenParenToken */) {\n        token = nextToken();\n        if (token === 10 /* StringLiteral */ || token === 14 /* NoSubstitutionTemplateLiteral */) {\n          recordModuleName();\n          return true;\n        }\n      } else if (token === 10 /* StringLiteral */) {\n        recordModuleName();\n        return true;\n      } else {\n        if (token === 155 /* TypeKeyword */) {\n          const skipTypeKeyword = scanner.lookAhead(() => {\n            const token2 = scanner.scan();\n            return token2 !== 160 /* FromKeyword */ && (token2 === 41 /* AsteriskToken */ || token2 === 18 /* OpenBraceToken */ || token2 === 79 /* Identifier */ || isKeyword(token2));\n          });\n          if (skipTypeKeyword) {\n            token = nextToken();\n          }\n        }\n        if (token === 79 /* Identifier */ || isKeyword(token)) {\n          token = nextToken();\n          if (token === 160 /* FromKeyword */) {\n            token = nextToken();\n            if (token === 10 /* StringLiteral */) {\n              recordModuleName();\n              return true;\n            }\n          } else if (token === 63 /* EqualsToken */) {\n            if (tryConsumeRequireCall(true)) {\n              return true;\n            }\n          } else if (token === 27 /* CommaToken */) {\n            token = nextToken();\n          } else {\n            return true;\n          }\n        }\n        if (token === 18 /* OpenBraceToken */) {\n          token = nextToken();\n          while (token !== 19 /* CloseBraceToken */ && token !== 1 /* EndOfFileToken */) {\n            token = nextToken();\n          }\n          if (token === 19 /* CloseBraceToken */) {\n            token = nextToken();\n            if (token === 160 /* FromKeyword */) {\n              token = nextToken();\n              if (token === 10 /* StringLiteral */) {\n                recordModuleName();\n              }\n            }\n          }\n        } else if (token === 41 /* AsteriskToken */) {\n          token = nextToken();\n          if (token === 129 /* AsKeyword */) {\n            token = nextToken();\n            if (token === 79 /* Identifier */ || isKeyword(token)) {\n              token = nextToken();\n              if (token === 160 /* FromKeyword */) {\n                token = nextToken();\n                if (token === 10 /* StringLiteral */) {\n                  recordModuleName();\n                }\n              }\n            }\n          }\n        }\n      }\n      return true;\n    }\n    return false;\n  }\n  function tryConsumeExport() {\n    let token = scanner.getToken();\n    if (token === 94 /* ExportKeyword */) {\n      markAsExternalModuleIfTopLevel();\n      token = nextToken();\n      if (token === 155 /* TypeKeyword */) {\n        const skipTypeKeyword = scanner.lookAhead(() => {\n          const token2 = scanner.scan();\n          return token2 === 41 /* AsteriskToken */ || token2 === 18 /* OpenBraceToken */;\n        });\n        if (skipTypeKeyword) {\n          token = nextToken();\n        }\n      }\n      if (token === 18 /* OpenBraceToken */) {\n        token = nextToken();\n        while (token !== 19 /* CloseBraceToken */ && token !== 1 /* EndOfFileToken */) {\n          token = nextToken();\n        }\n        if (token === 19 /* CloseBraceToken */) {\n          token = nextToken();\n          if (token === 160 /* FromKeyword */) {\n            token = nextToken();\n            if (token === 10 /* StringLiteral */) {\n              recordModuleName();\n            }\n          }\n        }\n      } else if (token === 41 /* AsteriskToken */) {\n        token = nextToken();\n        if (token === 160 /* FromKeyword */) {\n          token = nextToken();\n          if (token === 10 /* StringLiteral */) {\n            recordModuleName();\n          }\n        }\n      } else if (token === 101 /* ImportKeyword */) {\n        token = nextToken();\n        if (token === 155 /* TypeKeyword */) {\n          const skipTypeKeyword = scanner.lookAhead(() => {\n            const token2 = scanner.scan();\n            return token2 === 79 /* Identifier */ || isKeyword(token2);\n          });\n          if (skipTypeKeyword) {\n            token = nextToken();\n          }\n        }\n        if (token === 79 /* Identifier */ || isKeyword(token)) {\n          token = nextToken();\n          if (token === 63 /* EqualsToken */) {\n            if (tryConsumeRequireCall(true)) {\n              return true;\n            }\n          }\n        }\n      }\n      return true;\n    }\n    return false;\n  }\n  function tryConsumeRequireCall(skipCurrentToken, allowTemplateLiterals = false) {\n    let token = skipCurrentToken ? nextToken() : scanner.getToken();\n    if (token === 148 /* RequireKeyword */) {\n      token = nextToken();\n      if (token === 20 /* OpenParenToken */) {\n        token = nextToken();\n        if (token === 10 /* StringLiteral */ || allowTemplateLiterals && token === 14 /* NoSubstitutionTemplateLiteral */) {\n          recordModuleName();\n        }\n      }\n      return true;\n    }\n    return false;\n  }\n  function tryConsumeDefine() {\n    let token = scanner.getToken();\n    if (token === 79 /* Identifier */ && scanner.getTokenValue() === \"define\") {\n      token = nextToken();\n      if (token !== 20 /* OpenParenToken */) {\n        return true;\n      }\n      token = nextToken();\n      if (token === 10 /* StringLiteral */ || token === 14 /* NoSubstitutionTemplateLiteral */) {\n        token = nextToken();\n        if (token === 27 /* CommaToken */) {\n          token = nextToken();\n        } else {\n          return true;\n        }\n      }\n      if (token !== 22 /* OpenBracketToken */) {\n        return true;\n      }\n      token = nextToken();\n      while (token !== 23 /* CloseBracketToken */ && token !== 1 /* EndOfFileToken */) {\n        if (token === 10 /* StringLiteral */ || token === 14 /* NoSubstitutionTemplateLiteral */) {\n          recordModuleName();\n        }\n        token = nextToken();\n      }\n      return true;\n    }\n    return false;\n  }\n  function processImports() {\n    scanner.setText(sourceText);\n    nextToken();\n    while (true) {\n      if (scanner.getToken() === 1 /* EndOfFileToken */) {\n        break;\n      }\n      if (scanner.getToken() === 15 /* TemplateHead */) {\n        const stack = [scanner.getToken()];\n        loop:\n          while (length(stack)) {\n            const token = scanner.scan();\n            switch (token) {\n              case 1 /* EndOfFileToken */:\n                break loop;\n              case 101 /* ImportKeyword */:\n                tryConsumeImport();\n                break;\n              case 15 /* TemplateHead */:\n                stack.push(token);\n                break;\n              case 18 /* OpenBraceToken */:\n                if (length(stack)) {\n                  stack.push(token);\n                }\n                break;\n              case 19 /* CloseBraceToken */:\n                if (length(stack)) {\n                  if (lastOrUndefined(stack) === 15 /* TemplateHead */) {\n                    if (scanner.reScanTemplateToken(false) === 17 /* TemplateTail */) {\n                      stack.pop();\n                    }\n                  } else {\n                    stack.pop();\n                  }\n                }\n                break;\n            }\n          }\n        nextToken();\n      }\n      if (tryConsumeDeclare() || tryConsumeImport() || tryConsumeExport() || detectJavaScriptImports && (tryConsumeRequireCall(false, true) || tryConsumeDefine())) {\n        continue;\n      } else {\n        nextToken();\n      }\n    }\n    scanner.setText(void 0);\n  }\n  if (readImportFiles) {\n    processImports();\n  }\n  processCommentPragmas(pragmaContext, sourceText);\n  processPragmasIntoFields(pragmaContext, noop);\n  if (externalModule) {\n    if (ambientExternalModules) {\n      for (const decl of ambientExternalModules) {\n        importedFiles.push(decl.ref);\n      }\n    }\n    return { referencedFiles: pragmaContext.referencedFiles, typeReferenceDirectives: pragmaContext.typeReferenceDirectives, libReferenceDirectives: pragmaContext.libReferenceDirectives, importedFiles, isLibFile: !!pragmaContext.hasNoDefaultLib, ambientExternalModules: void 0 };\n  } else {\n    let ambientModuleNames;\n    if (ambientExternalModules) {\n      for (const decl of ambientExternalModules) {\n        if (decl.depth === 0) {\n          if (!ambientModuleNames) {\n            ambientModuleNames = [];\n          }\n          ambientModuleNames.push(decl.ref.fileName);\n        } else {\n          importedFiles.push(decl.ref);\n        }\n      }\n    }\n    return { referencedFiles: pragmaContext.referencedFiles, typeReferenceDirectives: pragmaContext.typeReferenceDirectives, libReferenceDirectives: pragmaContext.libReferenceDirectives, importedFiles, isLibFile: !!pragmaContext.hasNoDefaultLib, ambientExternalModules: ambientModuleNames };\n  }\n}\n\n// src/services/sourcemaps.ts\nvar base64UrlRegExp = /^data:(?:application\\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\\/=]+)$)?/;\nfunction getSourceMapper(host) {\n  const getCanonicalFileName = createGetCanonicalFileName(host.useCaseSensitiveFileNames());\n  const currentDirectory = host.getCurrentDirectory();\n  const sourceFileLike = new Map2();\n  const documentPositionMappers = new Map2();\n  return { tryGetSourcePosition, tryGetGeneratedPosition, toLineColumnOffset, clearCache };\n  function toPath3(fileName) {\n    return toPath(fileName, currentDirectory, getCanonicalFileName);\n  }\n  function getDocumentPositionMapper2(generatedFileName, sourceFileName) {\n    const path = toPath3(generatedFileName);\n    const value = documentPositionMappers.get(path);\n    if (value)\n      return value;\n    let mapper;\n    if (host.getDocumentPositionMapper) {\n      mapper = host.getDocumentPositionMapper(generatedFileName, sourceFileName);\n    } else if (host.readFile) {\n      const file = getSourceFileLike(generatedFileName);\n      mapper = file && getDocumentPositionMapper(\n        { getSourceFileLike, getCanonicalFileName, log: (s) => host.log(s) },\n        generatedFileName,\n        getLineInfo(file.text, getLineStarts(file)),\n        (f) => !host.fileExists || host.fileExists(f) ? host.readFile(f) : void 0\n      );\n    }\n    documentPositionMappers.set(path, mapper || identitySourceMapConsumer);\n    return mapper || identitySourceMapConsumer;\n  }\n  function tryGetSourcePosition(info) {\n    if (!isDeclarationFileName(info.fileName))\n      return void 0;\n    const file = getSourceFile(info.fileName);\n    if (!file)\n      return void 0;\n    const newLoc = getDocumentPositionMapper2(info.fileName).getSourcePosition(info);\n    return !newLoc || newLoc === info ? void 0 : tryGetSourcePosition(newLoc) || newLoc;\n  }\n  function tryGetGeneratedPosition(info) {\n    if (isDeclarationFileName(info.fileName))\n      return void 0;\n    const sourceFile = getSourceFile(info.fileName);\n    if (!sourceFile)\n      return void 0;\n    const program = host.getProgram();\n    if (program.isSourceOfProjectReferenceRedirect(sourceFile.fileName)) {\n      return void 0;\n    }\n    const options = program.getCompilerOptions();\n    const outPath = outFile(options);\n    const declarationPath = outPath ? removeFileExtension(outPath) + \".d.ts\" /* Dts */ : getDeclarationEmitOutputFilePathWorker(info.fileName, program.getCompilerOptions(), currentDirectory, program.getCommonSourceDirectory(), getCanonicalFileName);\n    if (declarationPath === void 0)\n      return void 0;\n    const newLoc = getDocumentPositionMapper2(declarationPath, info.fileName).getGeneratedPosition(info);\n    return newLoc === info ? void 0 : newLoc;\n  }\n  function getSourceFile(fileName) {\n    const program = host.getProgram();\n    if (!program)\n      return void 0;\n    const path = toPath3(fileName);\n    const file = program.getSourceFileByPath(path);\n    return file && file.resolvedPath === path ? file : void 0;\n  }\n  function getOrCreateSourceFileLike(fileName) {\n    const path = toPath3(fileName);\n    const fileFromCache = sourceFileLike.get(path);\n    if (fileFromCache !== void 0)\n      return fileFromCache ? fileFromCache : void 0;\n    if (!host.readFile || host.fileExists && !host.fileExists(path)) {\n      sourceFileLike.set(path, false);\n      return void 0;\n    }\n    const text = host.readFile(path);\n    const file = text ? createSourceFileLike(text) : false;\n    sourceFileLike.set(path, file);\n    return file ? file : void 0;\n  }\n  function getSourceFileLike(fileName) {\n    return !host.getSourceFileLike ? getSourceFile(fileName) || getOrCreateSourceFileLike(fileName) : host.getSourceFileLike(fileName);\n  }\n  function toLineColumnOffset(fileName, position) {\n    const file = getSourceFileLike(fileName);\n    return file.getLineAndCharacterOfPosition(position);\n  }\n  function clearCache() {\n    sourceFileLike.clear();\n    documentPositionMappers.clear();\n  }\n}\nfunction getDocumentPositionMapper(host, generatedFileName, generatedFileLineInfo, readMapFile) {\n  let mapFileName = tryGetSourceMappingURL(generatedFileLineInfo);\n  if (mapFileName) {\n    const match = base64UrlRegExp.exec(mapFileName);\n    if (match) {\n      if (match[1]) {\n        const base64Object = match[1];\n        return convertDocumentToSourceMapper(host, base64decode(sys, base64Object), generatedFileName);\n      }\n      mapFileName = void 0;\n    }\n  }\n  const possibleMapLocations = [];\n  if (mapFileName) {\n    possibleMapLocations.push(mapFileName);\n  }\n  possibleMapLocations.push(generatedFileName + \".map\");\n  const originalMapFileName = mapFileName && getNormalizedAbsolutePath(mapFileName, getDirectoryPath(generatedFileName));\n  for (const location of possibleMapLocations) {\n    const mapFileName2 = getNormalizedAbsolutePath(location, getDirectoryPath(generatedFileName));\n    const mapFileContents = readMapFile(mapFileName2, originalMapFileName);\n    if (isString(mapFileContents)) {\n      return convertDocumentToSourceMapper(host, mapFileContents, mapFileName2);\n    }\n    if (mapFileContents !== void 0) {\n      return mapFileContents || void 0;\n    }\n  }\n  return void 0;\n}\nfunction convertDocumentToSourceMapper(host, contents, mapFileName) {\n  const map2 = tryParseRawSourceMap(contents);\n  if (!map2 || !map2.sources || !map2.file || !map2.mappings) {\n    return void 0;\n  }\n  if (map2.sourcesContent && map2.sourcesContent.some(isString))\n    return void 0;\n  return createDocumentPositionMapper(host, map2, mapFileName);\n}\nfunction createSourceFileLike(text, lineMap) {\n  return {\n    text,\n    lineMap,\n    getLineAndCharacterOfPosition(pos) {\n      return computeLineAndCharacterOfPosition(getLineStarts(this), pos);\n    }\n  };\n}\n\n// src/services/suggestionDiagnostics.ts\nvar visitedNestedConvertibleFunctions = new Map2();\nfunction computeSuggestionDiagnostics(sourceFile, program, cancellationToken) {\n  program.getSemanticDiagnostics(sourceFile, cancellationToken);\n  const diags = [];\n  const checker = program.getTypeChecker();\n  const isCommonJSFile = sourceFile.impliedNodeFormat === 1 /* CommonJS */ || fileExtensionIsOneOf(sourceFile.fileName, [\".cts\" /* Cts */, \".cjs\" /* Cjs */]);\n  if (!isCommonJSFile && sourceFile.commonJsModuleIndicator && (programContainsEsModules(program) || compilerOptionsIndicateEsModules(program.getCompilerOptions())) && containsTopLevelCommonjs(sourceFile)) {\n    diags.push(createDiagnosticForNode(getErrorNodeFromCommonJsIndicator(sourceFile.commonJsModuleIndicator), Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));\n  }\n  const isJsFile = isSourceFileJS(sourceFile);\n  visitedNestedConvertibleFunctions.clear();\n  check(sourceFile);\n  if (getAllowSyntheticDefaultImports(program.getCompilerOptions())) {\n    for (const moduleSpecifier of sourceFile.imports) {\n      const importNode = importFromModuleSpecifier(moduleSpecifier);\n      const name = importNameForConvertToDefaultImport(importNode);\n      if (!name)\n        continue;\n      const module2 = getResolvedModule(sourceFile, moduleSpecifier.text, getModeForUsageLocation(sourceFile, moduleSpecifier));\n      const resolvedFile = module2 && program.getSourceFile(module2.resolvedFileName);\n      if (resolvedFile && resolvedFile.externalModuleIndicator && resolvedFile.externalModuleIndicator !== true && isExportAssignment(resolvedFile.externalModuleIndicator) && resolvedFile.externalModuleIndicator.isExportEquals) {\n        diags.push(createDiagnosticForNode(name, Diagnostics.Import_may_be_converted_to_a_default_import));\n      }\n    }\n  }\n  addRange(diags, sourceFile.bindSuggestionDiagnostics);\n  addRange(diags, program.getSuggestionDiagnostics(sourceFile, cancellationToken));\n  return diags.sort((d1, d2) => d1.start - d2.start);\n  function check(node) {\n    if (isJsFile) {\n      if (canBeConvertedToClass(node, checker)) {\n        diags.push(createDiagnosticForNode(isVariableDeclaration(node.parent) ? node.parent.name : node, Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration));\n      }\n    } else {\n      if (isVariableStatement(node) && node.parent === sourceFile && node.declarationList.flags & 2 /* Const */ && node.declarationList.declarations.length === 1) {\n        const init = node.declarationList.declarations[0].initializer;\n        if (init && isRequireCall(init, true)) {\n          diags.push(createDiagnosticForNode(init, Diagnostics.require_call_may_be_converted_to_an_import));\n        }\n      }\n      if (ts_codefix_exports.parameterShouldGetTypeFromJSDoc(node)) {\n        diags.push(createDiagnosticForNode(node.name || node, Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types));\n      }\n    }\n    if (canBeConvertedToAsync(node)) {\n      addConvertToAsyncFunctionDiagnostics(node, checker, diags);\n    }\n    node.forEachChild(check);\n  }\n}\nfunction containsTopLevelCommonjs(sourceFile) {\n  return sourceFile.statements.some((statement) => {\n    switch (statement.kind) {\n      case 244 /* VariableStatement */:\n        return statement.declarationList.declarations.some((decl) => !!decl.initializer && isRequireCall(propertyAccessLeftHandSide(decl.initializer), true));\n      case 245 /* ExpressionStatement */: {\n        const { expression } = statement;\n        if (!isBinaryExpression(expression))\n          return isRequireCall(expression, true);\n        const kind = getAssignmentDeclarationKind(expression);\n        return kind === 1 /* ExportsProperty */ || kind === 2 /* ModuleExports */;\n      }\n      default:\n        return false;\n    }\n  });\n}\nfunction propertyAccessLeftHandSide(node) {\n  return isPropertyAccessExpression(node) ? propertyAccessLeftHandSide(node.expression) : node;\n}\nfunction importNameForConvertToDefaultImport(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n      const { importClause, moduleSpecifier } = node;\n      return importClause && !importClause.name && importClause.namedBindings && importClause.namedBindings.kind === 277 /* NamespaceImport */ && isStringLiteral(moduleSpecifier) ? importClause.namedBindings.name : void 0;\n    case 274 /* ImportEqualsDeclaration */:\n      return node.name;\n    default:\n      return void 0;\n  }\n}\nfunction addConvertToAsyncFunctionDiagnostics(node, checker, diags) {\n  if (isConvertibleFunction(node, checker) && !visitedNestedConvertibleFunctions.has(getKeyFromNode(node))) {\n    diags.push(createDiagnosticForNode(\n      !node.name && isVariableDeclaration(node.parent) && isIdentifier(node.parent.name) ? node.parent.name : node,\n      Diagnostics.This_may_be_converted_to_an_async_function\n    ));\n  }\n}\nfunction isConvertibleFunction(node, checker) {\n  return !isAsyncFunction(node) && node.body && isBlock(node.body) && hasReturnStatementWithPromiseHandler(node.body, checker) && returnsPromise(node, checker);\n}\nfunction returnsPromise(node, checker) {\n  const signature = checker.getSignatureFromDeclaration(node);\n  const returnType = signature ? checker.getReturnTypeOfSignature(signature) : void 0;\n  return !!returnType && !!checker.getPromisedTypeOfPromise(returnType);\n}\nfunction getErrorNodeFromCommonJsIndicator(commonJsModuleIndicator) {\n  return isBinaryExpression(commonJsModuleIndicator) ? commonJsModuleIndicator.left : commonJsModuleIndicator;\n}\nfunction hasReturnStatementWithPromiseHandler(body, checker) {\n  return !!forEachReturnStatement(body, (statement) => isReturnStatementWithFixablePromiseHandler(statement, checker));\n}\nfunction isReturnStatementWithFixablePromiseHandler(node, checker) {\n  return isReturnStatement(node) && !!node.expression && isFixablePromiseHandler(node.expression, checker);\n}\nfunction isFixablePromiseHandler(node, checker) {\n  if (!isPromiseHandler(node) || !hasSupportedNumberOfArguments(node) || !node.arguments.every((arg) => isFixablePromiseArgument(arg, checker))) {\n    return false;\n  }\n  let currentNode = node.expression.expression;\n  while (isPromiseHandler(currentNode) || isPropertyAccessExpression(currentNode)) {\n    if (isCallExpression(currentNode)) {\n      if (!hasSupportedNumberOfArguments(currentNode) || !currentNode.arguments.every((arg) => isFixablePromiseArgument(arg, checker))) {\n        return false;\n      }\n      currentNode = currentNode.expression.expression;\n    } else {\n      currentNode = currentNode.expression;\n    }\n  }\n  return true;\n}\nfunction isPromiseHandler(node) {\n  return isCallExpression(node) && (hasPropertyAccessExpressionWithName(node, \"then\") || hasPropertyAccessExpressionWithName(node, \"catch\") || hasPropertyAccessExpressionWithName(node, \"finally\"));\n}\nfunction hasSupportedNumberOfArguments(node) {\n  const name = node.expression.name.text;\n  const maxArguments = name === \"then\" ? 2 : name === \"catch\" ? 1 : name === \"finally\" ? 1 : 0;\n  if (node.arguments.length > maxArguments)\n    return false;\n  if (node.arguments.length < maxArguments)\n    return true;\n  return maxArguments === 1 || some(node.arguments, (arg) => {\n    return arg.kind === 105 /* NullKeyword */ || isIdentifier(arg) && arg.text === \"undefined\";\n  });\n}\nfunction isFixablePromiseArgument(arg, checker) {\n  switch (arg.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n      const functionFlags = getFunctionFlags(arg);\n      if (functionFlags & 1 /* Generator */) {\n        return false;\n      }\n    case 219 /* ArrowFunction */:\n      visitedNestedConvertibleFunctions.set(getKeyFromNode(arg), true);\n    case 105 /* NullKeyword */:\n      return true;\n    case 79 /* Identifier */:\n    case 211 /* PropertyAccessExpression */: {\n      const symbol = checker.getSymbolAtLocation(arg);\n      if (!symbol) {\n        return false;\n      }\n      return checker.isUndefinedSymbol(symbol) || some(skipAlias(symbol, checker).declarations, (d) => isFunctionLike(d) || hasInitializer(d) && !!d.initializer && isFunctionLike(d.initializer));\n    }\n    default:\n      return false;\n  }\n}\nfunction getKeyFromNode(exp) {\n  return `${exp.pos.toString()}:${exp.end.toString()}`;\n}\nfunction canBeConvertedToClass(node, checker) {\n  var _a2, _b, _c, _d;\n  if (node.kind === 218 /* FunctionExpression */) {\n    if (isVariableDeclaration(node.parent) && ((_a2 = node.symbol.members) == null ? void 0 : _a2.size)) {\n      return true;\n    }\n    const symbol = checker.getSymbolOfExpando(node, false);\n    return !!(symbol && (((_b = symbol.exports) == null ? void 0 : _b.size) || ((_c = symbol.members) == null ? void 0 : _c.size)));\n  }\n  if (node.kind === 263 /* FunctionDeclaration */) {\n    return !!((_d = node.symbol.members) == null ? void 0 : _d.size);\n  }\n  return false;\n}\nfunction canBeConvertedToAsync(node) {\n  switch (node.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      return true;\n    default:\n      return false;\n  }\n}\n\n// src/services/transpile.ts\nfunction transpileModule(input, transpileOptions) {\n  const diagnostics = [];\n  const options = transpileOptions.compilerOptions ? fixupCompilerOptions(transpileOptions.compilerOptions, diagnostics) : {};\n  const defaultOptions = getDefaultCompilerOptions2();\n  for (const key in defaultOptions) {\n    if (hasProperty(defaultOptions, key) && options[key] === void 0) {\n      options[key] = defaultOptions[key];\n    }\n  }\n  for (const option of transpileOptionValueCompilerOptions) {\n    options[option.name] = option.transpileOptionValue;\n  }\n  options.suppressOutputPathCheck = true;\n  options.allowNonTsExtensions = true;\n  const newLine = getNewLineCharacter(options);\n  const compilerHost = {\n    getSourceFile: (fileName) => fileName === normalizePath(inputFileName) ? sourceFile : void 0,\n    writeFile: (name, text) => {\n      if (fileExtensionIs(name, \".map\")) {\n        Debug.assertEqual(sourceMapText, void 0, \"Unexpected multiple source map outputs, file:\", name);\n        sourceMapText = text;\n      } else {\n        Debug.assertEqual(outputText, void 0, \"Unexpected multiple outputs, file:\", name);\n        outputText = text;\n      }\n    },\n    getDefaultLibFileName: () => \"lib.d.ts\",\n    useCaseSensitiveFileNames: () => false,\n    getCanonicalFileName: (fileName) => fileName,\n    getCurrentDirectory: () => \"\",\n    getNewLine: () => newLine,\n    fileExists: (fileName) => fileName === inputFileName,\n    readFile: () => \"\",\n    directoryExists: () => true,\n    getDirectories: () => []\n  };\n  const inputFileName = transpileOptions.fileName || (transpileOptions.compilerOptions && transpileOptions.compilerOptions.jsx ? \"module.tsx\" : \"module.ts\");\n  const scriptKind = ensureScriptKind(inputFileName, void 0);\n  const sourceFile = createSourceFile(\n    inputFileName,\n    input,\n    {\n      languageVersion: getEmitScriptTarget(options),\n      impliedNodeFormat: getImpliedNodeFormatForFile(toPath(inputFileName, \"\", compilerHost.getCanonicalFileName), void 0, compilerHost, options),\n      setExternalModuleIndicator: getSetExternalModuleIndicator(options)\n    },\n    void 0,\n    scriptKind,\n    options\n  );\n  if (transpileOptions.moduleName) {\n    sourceFile.moduleName = transpileOptions.moduleName;\n  }\n  if (transpileOptions.renamedDependencies) {\n    sourceFile.renamedDependencies = new Map2(getEntries(transpileOptions.renamedDependencies));\n  }\n  let outputText;\n  let sourceMapText;\n  const program = createProgram([inputFileName], options, compilerHost);\n  if (transpileOptions.reportDiagnostics) {\n    addRange(diagnostics, program.getSyntacticDiagnostics(sourceFile));\n    addRange(diagnostics, program.getOptionsDiagnostics());\n  }\n  program.emit(void 0, void 0, void 0, void 0, transpileOptions.transformers);\n  if (outputText === void 0)\n    return Debug.fail(\"Output generation failed\");\n  return { outputText, diagnostics, sourceMapText };\n}\nfunction transpile(input, compilerOptions, fileName, diagnostics, moduleName) {\n  const output = transpileModule(input, { compilerOptions, fileName, reportDiagnostics: !!diagnostics, moduleName });\n  addRange(diagnostics, output.diagnostics);\n  return output.outputText;\n}\nvar commandLineOptionsStringToEnum;\nfunction fixupCompilerOptions(options, diagnostics) {\n  commandLineOptionsStringToEnum = commandLineOptionsStringToEnum || filter(optionDeclarations, (o) => typeof o.type === \"object\" && !forEachEntry(o.type, (v) => typeof v !== \"number\"));\n  options = cloneCompilerOptions(options);\n  for (const opt of commandLineOptionsStringToEnum) {\n    if (!hasProperty(options, opt.name)) {\n      continue;\n    }\n    const value = options[opt.name];\n    if (isString(value)) {\n      options[opt.name] = parseCustomTypeOption(opt, value, diagnostics);\n    } else {\n      if (!forEachEntry(opt.type, (v) => v === value)) {\n        diagnostics.push(createCompilerDiagnosticForInvalidCustomType(opt));\n      }\n    }\n  }\n  return options;\n}\n\n// src/services/_namespaces/ts.NavigateTo.ts\nvar ts_NavigateTo_exports = {};\n__export(ts_NavigateTo_exports, {\n  getNavigateToItems: () => getNavigateToItems\n});\n\n// src/services/navigateTo.ts\nfunction getNavigateToItems(sourceFiles, checker, cancellationToken, searchValue, maxResultCount, excludeDtsFiles) {\n  const patternMatcher = createPatternMatcher(searchValue);\n  if (!patternMatcher)\n    return emptyArray;\n  const rawItems = [];\n  for (const sourceFile of sourceFiles) {\n    cancellationToken.throwIfCancellationRequested();\n    if (excludeDtsFiles && sourceFile.isDeclarationFile) {\n      continue;\n    }\n    sourceFile.getNamedDeclarations().forEach((declarations, name) => {\n      getItemsFromNamedDeclaration(patternMatcher, name, declarations, checker, sourceFile.fileName, rawItems);\n    });\n  }\n  rawItems.sort(compareNavigateToItems);\n  return (maxResultCount === void 0 ? rawItems : rawItems.slice(0, maxResultCount)).map(createNavigateToItem);\n}\nfunction getItemsFromNamedDeclaration(patternMatcher, name, declarations, checker, fileName, rawItems) {\n  const match = patternMatcher.getMatchForLastSegmentOfPattern(name);\n  if (!match) {\n    return;\n  }\n  for (const declaration of declarations) {\n    if (!shouldKeepItem(declaration, checker))\n      continue;\n    if (patternMatcher.patternContainsDots) {\n      const fullMatch = patternMatcher.getFullMatch(getContainers(declaration), name);\n      if (fullMatch) {\n        rawItems.push({ name, fileName, matchKind: fullMatch.kind, isCaseSensitive: fullMatch.isCaseSensitive, declaration });\n      }\n    } else {\n      rawItems.push({ name, fileName, matchKind: match.kind, isCaseSensitive: match.isCaseSensitive, declaration });\n    }\n  }\n}\nfunction shouldKeepItem(declaration, checker) {\n  switch (declaration.kind) {\n    case 276 /* ImportClause */:\n    case 279 /* ImportSpecifier */:\n    case 274 /* ImportEqualsDeclaration */:\n      const importer = checker.getSymbolAtLocation(declaration.name);\n      const imported = checker.getAliasedSymbol(importer);\n      return importer.escapedName !== imported.escapedName;\n    default:\n      return true;\n  }\n}\nfunction tryAddSingleDeclarationName(declaration, containers) {\n  const name = getNameOfDeclaration(declaration);\n  return !!name && (pushLiteral(name, containers) || name.kind === 166 /* ComputedPropertyName */ && tryAddComputedPropertyName(name.expression, containers));\n}\nfunction tryAddComputedPropertyName(expression, containers) {\n  return pushLiteral(expression, containers) || isPropertyAccessExpression(expression) && (containers.push(expression.name.text), true) && tryAddComputedPropertyName(expression.expression, containers);\n}\nfunction pushLiteral(node, containers) {\n  return isPropertyNameLiteral(node) && (containers.push(getTextOfIdentifierOrLiteral(node)), true);\n}\nfunction getContainers(declaration) {\n  const containers = [];\n  const name = getNameOfDeclaration(declaration);\n  if (name && name.kind === 166 /* ComputedPropertyName */ && !tryAddComputedPropertyName(name.expression, containers)) {\n    return emptyArray;\n  }\n  containers.shift();\n  let container = getContainerNode(declaration);\n  while (container) {\n    if (!tryAddSingleDeclarationName(container, containers)) {\n      return emptyArray;\n    }\n    container = getContainerNode(container);\n  }\n  return containers.reverse();\n}\nfunction compareNavigateToItems(i1, i2) {\n  return compareValues(i1.matchKind, i2.matchKind) || compareStringsCaseSensitiveUI(i1.name, i2.name);\n}\nfunction createNavigateToItem(rawItem) {\n  const declaration = rawItem.declaration;\n  const container = getContainerNode(declaration);\n  const containerName = container && getNameOfDeclaration(container);\n  return {\n    name: rawItem.name,\n    kind: getNodeKind(declaration),\n    kindModifiers: getNodeModifiers(declaration),\n    matchKind: PatternMatchKind[rawItem.matchKind],\n    isCaseSensitive: rawItem.isCaseSensitive,\n    fileName: rawItem.fileName,\n    textSpan: createTextSpanFromNode(declaration),\n    containerName: containerName ? containerName.text : \"\",\n    containerKind: containerName ? getNodeKind(container) : \"\" /* unknown */\n  };\n}\n\n// src/services/_namespaces/ts.NavigationBar.ts\nvar ts_NavigationBar_exports = {};\n__export(ts_NavigationBar_exports, {\n  getNavigationBarItems: () => getNavigationBarItems,\n  getNavigationTree: () => getNavigationTree\n});\n\n// src/services/navigationBar.ts\nvar whiteSpaceRegex = /\\s+/g;\nvar maxLength = 150;\nvar curCancellationToken;\nvar curSourceFile;\nvar parentsStack = [];\nvar parent;\nvar trackedEs5ClassesStack = [];\nvar trackedEs5Classes;\nvar emptyChildItemArray = [];\nfunction getNavigationBarItems(sourceFile, cancellationToken) {\n  curCancellationToken = cancellationToken;\n  curSourceFile = sourceFile;\n  try {\n    return map(primaryNavBarMenuItems(rootNavigationBarNode(sourceFile)), convertToPrimaryNavBarMenuItem);\n  } finally {\n    reset();\n  }\n}\nfunction getNavigationTree(sourceFile, cancellationToken) {\n  curCancellationToken = cancellationToken;\n  curSourceFile = sourceFile;\n  try {\n    return convertToTree(rootNavigationBarNode(sourceFile));\n  } finally {\n    reset();\n  }\n}\nfunction reset() {\n  curSourceFile = void 0;\n  curCancellationToken = void 0;\n  parentsStack = [];\n  parent = void 0;\n  emptyChildItemArray = [];\n}\nfunction nodeText(node) {\n  return cleanText(node.getText(curSourceFile));\n}\nfunction navigationBarNodeKind(n) {\n  return n.node.kind;\n}\nfunction pushChild(parent2, child) {\n  if (parent2.children) {\n    parent2.children.push(child);\n  } else {\n    parent2.children = [child];\n  }\n}\nfunction rootNavigationBarNode(sourceFile) {\n  Debug.assert(!parentsStack.length);\n  const root = { node: sourceFile, name: void 0, additionalNodes: void 0, parent: void 0, children: void 0, indent: 0 };\n  parent = root;\n  for (const statement of sourceFile.statements) {\n    addChildrenRecursively(statement);\n  }\n  endNode();\n  Debug.assert(!parent && !parentsStack.length);\n  return root;\n}\nfunction addLeafNode(node, name) {\n  pushChild(parent, emptyNavigationBarNode(node, name));\n}\nfunction emptyNavigationBarNode(node, name) {\n  return {\n    node,\n    name: name || (isDeclaration(node) || isExpression(node) ? getNameOfDeclaration(node) : void 0),\n    additionalNodes: void 0,\n    parent,\n    children: void 0,\n    indent: parent.indent + 1\n  };\n}\nfunction addTrackedEs5Class(name) {\n  if (!trackedEs5Classes) {\n    trackedEs5Classes = new Map2();\n  }\n  trackedEs5Classes.set(name, true);\n}\nfunction endNestedNodes(depth) {\n  for (let i = 0; i < depth; i++)\n    endNode();\n}\nfunction startNestedNodes(targetNode, entityName) {\n  const names = [];\n  while (!isPropertyNameLiteral(entityName)) {\n    const name = getNameOrArgument(entityName);\n    const nameText = getElementOrPropertyAccessName(entityName);\n    entityName = entityName.expression;\n    if (nameText === \"prototype\" || isPrivateIdentifier(name))\n      continue;\n    names.push(name);\n  }\n  names.push(entityName);\n  for (let i = names.length - 1; i > 0; i--) {\n    const name = names[i];\n    startNode(targetNode, name);\n  }\n  return [names.length - 1, names[0]];\n}\nfunction startNode(node, name) {\n  const navNode = emptyNavigationBarNode(node, name);\n  pushChild(parent, navNode);\n  parentsStack.push(parent);\n  trackedEs5ClassesStack.push(trackedEs5Classes);\n  trackedEs5Classes = void 0;\n  parent = navNode;\n}\nfunction endNode() {\n  if (parent.children) {\n    mergeChildren(parent.children, parent);\n    sortChildren(parent.children);\n  }\n  parent = parentsStack.pop();\n  trackedEs5Classes = trackedEs5ClassesStack.pop();\n}\nfunction addNodeWithRecursiveChild(node, child, name) {\n  startNode(node, name);\n  addChildrenRecursively(child);\n  endNode();\n}\nfunction addNodeWithRecursiveInitializer(node) {\n  if (node.initializer && isFunctionOrClassExpression(node.initializer)) {\n    startNode(node);\n    forEachChild(node.initializer, addChildrenRecursively);\n    endNode();\n  } else {\n    addNodeWithRecursiveChild(node, node.initializer);\n  }\n}\nfunction hasNavigationBarName(node) {\n  return !hasDynamicName(node) || node.kind !== 227 /* BinaryExpression */ && isPropertyAccessExpression(node.name.expression) && isIdentifier(node.name.expression.expression) && idText(node.name.expression.expression) === \"Symbol\";\n}\nfunction addChildrenRecursively(node) {\n  curCancellationToken.throwIfCancellationRequested();\n  if (!node || isToken(node)) {\n    return;\n  }\n  switch (node.kind) {\n    case 176 /* Constructor */:\n      const ctr = node;\n      addNodeWithRecursiveChild(ctr, ctr.body);\n      for (const param of ctr.parameters) {\n        if (isParameterPropertyDeclaration(param, ctr)) {\n          addLeafNode(param);\n        }\n      }\n      break;\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 173 /* MethodSignature */:\n      if (hasNavigationBarName(node)) {\n        addNodeWithRecursiveChild(node, node.body);\n      }\n      break;\n    case 171 /* PropertyDeclaration */:\n      if (hasNavigationBarName(node)) {\n        addNodeWithRecursiveInitializer(node);\n      }\n      break;\n    case 170 /* PropertySignature */:\n      if (hasNavigationBarName(node)) {\n        addLeafNode(node);\n      }\n      break;\n    case 276 /* ImportClause */:\n      const importClause = node;\n      if (importClause.name) {\n        addLeafNode(importClause.name);\n      }\n      const { namedBindings } = importClause;\n      if (namedBindings) {\n        if (namedBindings.kind === 277 /* NamespaceImport */) {\n          addLeafNode(namedBindings);\n        } else {\n          for (const element of namedBindings.elements) {\n            addLeafNode(element);\n          }\n        }\n      }\n      break;\n    case 306 /* ShorthandPropertyAssignment */:\n      addNodeWithRecursiveChild(node, node.name);\n      break;\n    case 307 /* SpreadAssignment */:\n      const { expression } = node;\n      isIdentifier(expression) ? addLeafNode(node, expression) : addLeafNode(node);\n      break;\n    case 208 /* BindingElement */:\n    case 305 /* PropertyAssignment */:\n    case 261 /* VariableDeclaration */: {\n      const child = node;\n      if (isBindingPattern(child.name)) {\n        addChildrenRecursively(child.name);\n      } else {\n        addNodeWithRecursiveInitializer(child);\n      }\n      break;\n    }\n    case 263 /* FunctionDeclaration */:\n      const nameNode = node.name;\n      if (nameNode && isIdentifier(nameNode)) {\n        addTrackedEs5Class(nameNode.text);\n      }\n      addNodeWithRecursiveChild(node, node.body);\n      break;\n    case 219 /* ArrowFunction */:\n    case 218 /* FunctionExpression */:\n      addNodeWithRecursiveChild(node, node.body);\n      break;\n    case 269 /* EnumDeclaration */:\n      startNode(node);\n      for (const member of node.members) {\n        if (!isComputedProperty(member)) {\n          addLeafNode(member);\n        }\n      }\n      endNode();\n      break;\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n      startNode(node);\n      for (const member of node.members) {\n        addChildrenRecursively(member);\n      }\n      endNode();\n      break;\n    case 270 /* ModuleDeclaration */:\n      addNodeWithRecursiveChild(node, getInteriorModule(node).body);\n      break;\n    case 280 /* ExportAssignment */: {\n      const expression2 = node.expression;\n      const child = isObjectLiteralExpression(expression2) || isCallExpression(expression2) ? expression2 : isArrowFunction(expression2) || isFunctionExpression(expression2) ? expression2.body : void 0;\n      if (child) {\n        startNode(node);\n        addChildrenRecursively(child);\n        endNode();\n      } else {\n        addLeafNode(node);\n      }\n      break;\n    }\n    case 284 /* ExportSpecifier */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 181 /* IndexSignature */:\n    case 179 /* CallSignature */:\n    case 180 /* ConstructSignature */:\n    case 268 /* TypeAliasDeclaration */:\n      addLeafNode(node);\n      break;\n    case 213 /* CallExpression */:\n    case 227 /* BinaryExpression */: {\n      const special = getAssignmentDeclarationKind(node);\n      switch (special) {\n        case 1 /* ExportsProperty */:\n        case 2 /* ModuleExports */:\n          addNodeWithRecursiveChild(node, node.right);\n          return;\n        case 6 /* Prototype */:\n        case 3 /* PrototypeProperty */: {\n          const binaryExpression = node;\n          const assignmentTarget = binaryExpression.left;\n          const prototypeAccess = special === 3 /* PrototypeProperty */ ? assignmentTarget.expression : assignmentTarget;\n          let depth = 0;\n          let className;\n          if (isIdentifier(prototypeAccess.expression)) {\n            addTrackedEs5Class(prototypeAccess.expression.text);\n            className = prototypeAccess.expression;\n          } else {\n            [depth, className] = startNestedNodes(binaryExpression, prototypeAccess.expression);\n          }\n          if (special === 6 /* Prototype */) {\n            if (isObjectLiteralExpression(binaryExpression.right)) {\n              if (binaryExpression.right.properties.length > 0) {\n                startNode(binaryExpression, className);\n                forEachChild(binaryExpression.right, addChildrenRecursively);\n                endNode();\n              }\n            }\n          } else if (isFunctionExpression(binaryExpression.right) || isArrowFunction(binaryExpression.right)) {\n            addNodeWithRecursiveChild(\n              node,\n              binaryExpression.right,\n              className\n            );\n          } else {\n            startNode(binaryExpression, className);\n            addNodeWithRecursiveChild(node, binaryExpression.right, assignmentTarget.name);\n            endNode();\n          }\n          endNestedNodes(depth);\n          return;\n        }\n        case 7 /* ObjectDefinePropertyValue */:\n        case 9 /* ObjectDefinePrototypeProperty */: {\n          const defineCall = node;\n          const className = special === 7 /* ObjectDefinePropertyValue */ ? defineCall.arguments[0] : defineCall.arguments[0].expression;\n          const memberName = defineCall.arguments[1];\n          const [depth, classNameIdentifier] = startNestedNodes(node, className);\n          startNode(node, classNameIdentifier);\n          startNode(node, setTextRange(factory.createIdentifier(memberName.text), memberName));\n          addChildrenRecursively(node.arguments[2]);\n          endNode();\n          endNode();\n          endNestedNodes(depth);\n          return;\n        }\n        case 5 /* Property */: {\n          const binaryExpression = node;\n          const assignmentTarget = binaryExpression.left;\n          const targetFunction = assignmentTarget.expression;\n          if (isIdentifier(targetFunction) && getElementOrPropertyAccessName(assignmentTarget) !== \"prototype\" && trackedEs5Classes && trackedEs5Classes.has(targetFunction.text)) {\n            if (isFunctionExpression(binaryExpression.right) || isArrowFunction(binaryExpression.right)) {\n              addNodeWithRecursiveChild(node, binaryExpression.right, targetFunction);\n            } else if (isBindableStaticAccessExpression(assignmentTarget)) {\n              startNode(binaryExpression, targetFunction);\n              addNodeWithRecursiveChild(binaryExpression.left, binaryExpression.right, getNameOrArgument(assignmentTarget));\n              endNode();\n            }\n            return;\n          }\n          break;\n        }\n        case 4 /* ThisProperty */:\n        case 0 /* None */:\n        case 8 /* ObjectDefinePropertyExports */:\n          break;\n        default:\n          Debug.assertNever(special);\n      }\n    }\n    default:\n      if (hasJSDocNodes(node)) {\n        forEach(node.jsDoc, (jsDoc) => {\n          forEach(jsDoc.tags, (tag) => {\n            if (isJSDocTypeAlias(tag)) {\n              addLeafNode(tag);\n            }\n          });\n        });\n      }\n      forEachChild(node, addChildrenRecursively);\n  }\n}\nfunction mergeChildren(children, node) {\n  const nameToItems = new Map2();\n  filterMutate(children, (child, index) => {\n    const declName = child.name || getNameOfDeclaration(child.node);\n    const name = declName && nodeText(declName);\n    if (!name) {\n      return true;\n    }\n    const itemsWithSameName = nameToItems.get(name);\n    if (!itemsWithSameName) {\n      nameToItems.set(name, child);\n      return true;\n    }\n    if (itemsWithSameName instanceof Array) {\n      for (const itemWithSameName of itemsWithSameName) {\n        if (tryMerge(itemWithSameName, child, index, node)) {\n          return false;\n        }\n      }\n      itemsWithSameName.push(child);\n      return true;\n    } else {\n      const itemWithSameName = itemsWithSameName;\n      if (tryMerge(itemWithSameName, child, index, node)) {\n        return false;\n      }\n      nameToItems.set(name, [itemWithSameName, child]);\n      return true;\n    }\n  });\n}\nvar isEs5ClassMember = {\n  [5 /* Property */]: true,\n  [3 /* PrototypeProperty */]: true,\n  [7 /* ObjectDefinePropertyValue */]: true,\n  [9 /* ObjectDefinePrototypeProperty */]: true,\n  [0 /* None */]: false,\n  [1 /* ExportsProperty */]: false,\n  [2 /* ModuleExports */]: false,\n  [8 /* ObjectDefinePropertyExports */]: false,\n  [6 /* Prototype */]: true,\n  [4 /* ThisProperty */]: false\n};\nfunction tryMergeEs5Class(a, b, bIndex, parent2) {\n  function isPossibleConstructor(node) {\n    return isFunctionExpression(node) || isFunctionDeclaration(node) || isVariableDeclaration(node);\n  }\n  const bAssignmentDeclarationKind = isBinaryExpression(b.node) || isCallExpression(b.node) ? getAssignmentDeclarationKind(b.node) : 0 /* None */;\n  const aAssignmentDeclarationKind = isBinaryExpression(a.node) || isCallExpression(a.node) ? getAssignmentDeclarationKind(a.node) : 0 /* None */;\n  if (isEs5ClassMember[bAssignmentDeclarationKind] && isEs5ClassMember[aAssignmentDeclarationKind] || isPossibleConstructor(a.node) && isEs5ClassMember[bAssignmentDeclarationKind] || isPossibleConstructor(b.node) && isEs5ClassMember[aAssignmentDeclarationKind] || isClassDeclaration(a.node) && isSynthesized(a.node) && isEs5ClassMember[bAssignmentDeclarationKind] || isClassDeclaration(b.node) && isEs5ClassMember[aAssignmentDeclarationKind] || isClassDeclaration(a.node) && isSynthesized(a.node) && isPossibleConstructor(b.node) || isClassDeclaration(b.node) && isPossibleConstructor(a.node) && isSynthesized(a.node)) {\n    let lastANode = a.additionalNodes && lastOrUndefined(a.additionalNodes) || a.node;\n    if (!isClassDeclaration(a.node) && !isClassDeclaration(b.node) || isPossibleConstructor(a.node) || isPossibleConstructor(b.node)) {\n      const ctorFunction = isPossibleConstructor(a.node) ? a.node : isPossibleConstructor(b.node) ? b.node : void 0;\n      if (ctorFunction !== void 0) {\n        const ctorNode = setTextRange(\n          factory.createConstructorDeclaration(void 0, [], void 0),\n          ctorFunction\n        );\n        const ctor = emptyNavigationBarNode(ctorNode);\n        ctor.indent = a.indent + 1;\n        ctor.children = a.node === ctorFunction ? a.children : b.children;\n        a.children = a.node === ctorFunction ? concatenate([ctor], b.children || [b]) : concatenate(a.children || [{ ...a }], [ctor]);\n      } else {\n        if (a.children || b.children) {\n          a.children = concatenate(a.children || [{ ...a }], b.children || [b]);\n          if (a.children) {\n            mergeChildren(a.children, a);\n            sortChildren(a.children);\n          }\n        }\n      }\n      lastANode = a.node = setTextRange(factory.createClassDeclaration(\n        void 0,\n        a.name || factory.createIdentifier(\"__class__\"),\n        void 0,\n        void 0,\n        []\n      ), a.node);\n    } else {\n      a.children = concatenate(a.children, b.children);\n      if (a.children) {\n        mergeChildren(a.children, a);\n      }\n    }\n    const bNode = b.node;\n    if (parent2.children[bIndex - 1].node.end === lastANode.end) {\n      setTextRange(lastANode, { pos: lastANode.pos, end: bNode.end });\n    } else {\n      if (!a.additionalNodes)\n        a.additionalNodes = [];\n      a.additionalNodes.push(setTextRange(factory.createClassDeclaration(\n        void 0,\n        a.name || factory.createIdentifier(\"__class__\"),\n        void 0,\n        void 0,\n        []\n      ), b.node));\n    }\n    return true;\n  }\n  return bAssignmentDeclarationKind === 0 /* None */ ? false : true;\n}\nfunction tryMerge(a, b, bIndex, parent2) {\n  if (tryMergeEs5Class(a, b, bIndex, parent2)) {\n    return true;\n  }\n  if (shouldReallyMerge(a.node, b.node, parent2)) {\n    merge(a, b);\n    return true;\n  }\n  return false;\n}\nfunction shouldReallyMerge(a, b, parent2) {\n  if (a.kind !== b.kind || a.parent !== b.parent && !(isOwnChild(a, parent2) && isOwnChild(b, parent2))) {\n    return false;\n  }\n  switch (a.kind) {\n    case 171 /* PropertyDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return isStatic(a) === isStatic(b);\n    case 270 /* ModuleDeclaration */:\n      return areSameModule(a, b) && getFullyQualifiedModuleName(a) === getFullyQualifiedModuleName(b);\n    default:\n      return true;\n  }\n}\nfunction isSynthesized(node) {\n  return !!(node.flags & 8 /* Synthesized */);\n}\nfunction isOwnChild(n, parent2) {\n  const par = isModuleBlock(n.parent) ? n.parent.parent : n.parent;\n  return par === parent2.node || contains(parent2.additionalNodes, par);\n}\nfunction areSameModule(a, b) {\n  if (!a.body || !b.body) {\n    return a.body === b.body;\n  }\n  return a.body.kind === b.body.kind && (a.body.kind !== 270 /* ModuleDeclaration */ || areSameModule(a.body, b.body));\n}\nfunction merge(target, source) {\n  target.additionalNodes = target.additionalNodes || [];\n  target.additionalNodes.push(source.node);\n  if (source.additionalNodes) {\n    target.additionalNodes.push(...source.additionalNodes);\n  }\n  target.children = concatenate(target.children, source.children);\n  if (target.children) {\n    mergeChildren(target.children, target);\n    sortChildren(target.children);\n  }\n}\nfunction sortChildren(children) {\n  children.sort(compareChildren);\n}\nfunction compareChildren(child1, child2) {\n  return compareStringsCaseSensitiveUI(tryGetName(child1.node), tryGetName(child2.node)) || compareValues(navigationBarNodeKind(child1), navigationBarNodeKind(child2));\n}\nfunction tryGetName(node) {\n  if (node.kind === 270 /* ModuleDeclaration */) {\n    return getModuleName(node);\n  }\n  const declName = getNameOfDeclaration(node);\n  if (declName && isPropertyName(declName)) {\n    const propertyName = getPropertyNameForPropertyNameNode(declName);\n    return propertyName && unescapeLeadingUnderscores(propertyName);\n  }\n  switch (node.kind) {\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 232 /* ClassExpression */:\n      return getFunctionOrClassName(node);\n    default:\n      return void 0;\n  }\n}\nfunction getItemName(node, name) {\n  if (node.kind === 270 /* ModuleDeclaration */) {\n    return cleanText(getModuleName(node));\n  }\n  if (name) {\n    const text = isIdentifier(name) ? name.text : isElementAccessExpression(name) ? `[${nodeText(name.argumentExpression)}]` : nodeText(name);\n    if (text.length > 0) {\n      return cleanText(text);\n    }\n  }\n  switch (node.kind) {\n    case 314 /* SourceFile */:\n      const sourceFile = node;\n      return isExternalModule(sourceFile) ? `\"${escapeString(getBaseFileName(removeFileExtension(normalizePath(sourceFile.fileName))))}\"` : \"<global>\";\n    case 280 /* ExportAssignment */:\n      return isExportAssignment(node) && node.isExportEquals ? \"export=\" /* ExportEquals */ : \"default\" /* Default */;\n    case 219 /* ArrowFunction */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n      if (getSyntacticModifierFlags(node) & 1024 /* Default */) {\n        return \"default\";\n      }\n      return getFunctionOrClassName(node);\n    case 176 /* Constructor */:\n      return \"constructor\";\n    case 180 /* ConstructSignature */:\n      return \"new()\";\n    case 179 /* CallSignature */:\n      return \"()\";\n    case 181 /* IndexSignature */:\n      return \"[]\";\n    default:\n      return \"<unknown>\";\n  }\n}\nfunction primaryNavBarMenuItems(root) {\n  const primaryNavBarMenuItems2 = [];\n  function recur(item) {\n    if (shouldAppearInPrimaryNavBarMenu(item)) {\n      primaryNavBarMenuItems2.push(item);\n      if (item.children) {\n        for (const child of item.children) {\n          recur(child);\n        }\n      }\n    }\n  }\n  recur(root);\n  return primaryNavBarMenuItems2;\n  function shouldAppearInPrimaryNavBarMenu(item) {\n    if (item.children) {\n      return true;\n    }\n    switch (navigationBarNodeKind(item)) {\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 270 /* ModuleDeclaration */:\n      case 314 /* SourceFile */:\n      case 268 /* TypeAliasDeclaration */:\n      case 354 /* JSDocTypedefTag */:\n      case 347 /* JSDocCallbackTag */:\n        return true;\n      case 219 /* ArrowFunction */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n        return isTopLevelFunctionDeclaration(item);\n      default:\n        return false;\n    }\n    function isTopLevelFunctionDeclaration(item2) {\n      if (!item2.node.body) {\n        return false;\n      }\n      switch (navigationBarNodeKind(item2.parent)) {\n        case 271 /* ModuleBlock */:\n        case 314 /* SourceFile */:\n        case 174 /* MethodDeclaration */:\n        case 176 /* Constructor */:\n          return true;\n        default:\n          return false;\n      }\n    }\n  }\n}\nfunction convertToTree(n) {\n  return {\n    text: getItemName(n.node, n.name),\n    kind: getNodeKind(n.node),\n    kindModifiers: getModifiers2(n.node),\n    spans: getSpans(n),\n    nameSpan: n.name && getNodeSpan(n.name),\n    childItems: map(n.children, convertToTree)\n  };\n}\nfunction convertToPrimaryNavBarMenuItem(n) {\n  return {\n    text: getItemName(n.node, n.name),\n    kind: getNodeKind(n.node),\n    kindModifiers: getModifiers2(n.node),\n    spans: getSpans(n),\n    childItems: map(n.children, convertToSecondaryNavBarMenuItem) || emptyChildItemArray,\n    indent: n.indent,\n    bolded: false,\n    grayed: false\n  };\n  function convertToSecondaryNavBarMenuItem(n2) {\n    return {\n      text: getItemName(n2.node, n2.name),\n      kind: getNodeKind(n2.node),\n      kindModifiers: getNodeModifiers(n2.node),\n      spans: getSpans(n2),\n      childItems: emptyChildItemArray,\n      indent: 0,\n      bolded: false,\n      grayed: false\n    };\n  }\n}\nfunction getSpans(n) {\n  const spans = [getNodeSpan(n.node)];\n  if (n.additionalNodes) {\n    for (const node of n.additionalNodes) {\n      spans.push(getNodeSpan(node));\n    }\n  }\n  return spans;\n}\nfunction getModuleName(moduleDeclaration) {\n  if (isAmbientModule(moduleDeclaration)) {\n    return getTextOfNode(moduleDeclaration.name);\n  }\n  return getFullyQualifiedModuleName(moduleDeclaration);\n}\nfunction getFullyQualifiedModuleName(moduleDeclaration) {\n  const result = [getTextOfIdentifierOrLiteral(moduleDeclaration.name)];\n  while (moduleDeclaration.body && moduleDeclaration.body.kind === 270 /* ModuleDeclaration */) {\n    moduleDeclaration = moduleDeclaration.body;\n    result.push(getTextOfIdentifierOrLiteral(moduleDeclaration.name));\n  }\n  return result.join(\".\");\n}\nfunction getInteriorModule(decl) {\n  return decl.body && isModuleDeclaration(decl.body) ? getInteriorModule(decl.body) : decl;\n}\nfunction isComputedProperty(member) {\n  return !member.name || member.name.kind === 166 /* ComputedPropertyName */;\n}\nfunction getNodeSpan(node) {\n  return node.kind === 314 /* SourceFile */ ? createTextSpanFromRange(node) : createTextSpanFromNode(node, curSourceFile);\n}\nfunction getModifiers2(node) {\n  if (node.parent && node.parent.kind === 261 /* VariableDeclaration */) {\n    node = node.parent;\n  }\n  return getNodeModifiers(node);\n}\nfunction getFunctionOrClassName(node) {\n  const { parent: parent2 } = node;\n  if (node.name && getFullWidth(node.name) > 0) {\n    return cleanText(declarationNameToString(node.name));\n  } else if (isVariableDeclaration(parent2)) {\n    return cleanText(declarationNameToString(parent2.name));\n  } else if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 63 /* EqualsToken */) {\n    return nodeText(parent2.left).replace(whiteSpaceRegex, \"\");\n  } else if (isPropertyAssignment(parent2)) {\n    return nodeText(parent2.name);\n  } else if (getSyntacticModifierFlags(node) & 1024 /* Default */) {\n    return \"default\";\n  } else if (isClassLike(node)) {\n    return \"<class>\";\n  } else if (isCallExpression(parent2)) {\n    let name = getCalledExpressionName(parent2.expression);\n    if (name !== void 0) {\n      name = cleanText(name);\n      if (name.length > maxLength) {\n        return `${name} callback`;\n      }\n      const args = cleanText(mapDefined(parent2.arguments, (a) => isStringLiteralLike(a) ? a.getText(curSourceFile) : void 0).join(\", \"));\n      return `${name}(${args}) callback`;\n    }\n  }\n  return \"<function>\";\n}\nfunction getCalledExpressionName(expr) {\n  if (isIdentifier(expr)) {\n    return expr.text;\n  } else if (isPropertyAccessExpression(expr)) {\n    const left = getCalledExpressionName(expr.expression);\n    const right = expr.name.text;\n    return left === void 0 ? right : `${left}.${right}`;\n  } else {\n    return void 0;\n  }\n}\nfunction isFunctionOrClassExpression(node) {\n  switch (node.kind) {\n    case 219 /* ArrowFunction */:\n    case 218 /* FunctionExpression */:\n    case 232 /* ClassExpression */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction cleanText(text) {\n  text = text.length > maxLength ? text.substring(0, maxLength) + \"...\" : text;\n  return text.replace(/\\\\?(\\r?\\n|\\r|\\u2028|\\u2029)/g, \"\");\n}\n\n// src/services/services.ts\nvar servicesVersion = \"0.8\";\nfunction createNode(kind, pos, end, parent2) {\n  const node = isNodeKind(kind) ? new NodeObject(kind, pos, end) : kind === 79 /* Identifier */ ? new IdentifierObject(79 /* Identifier */, pos, end) : kind === 80 /* PrivateIdentifier */ ? new PrivateIdentifierObject(80 /* PrivateIdentifier */, pos, end) : new TokenObject(kind, pos, end);\n  node.parent = parent2;\n  node.flags = parent2.flags & 1124462592 /* ContextFlags */;\n  return node;\n}\nvar NodeObject = class {\n  constructor(kind, pos, end) {\n    this.pos = pos;\n    this.end = end;\n    this.flags = 0 /* None */;\n    this.modifierFlagsCache = 0 /* None */;\n    this.transformFlags = 0 /* None */;\n    this.parent = void 0;\n    this.kind = kind;\n  }\n  assertHasRealPosition(message) {\n    Debug.assert(!positionIsSynthesized(this.pos) && !positionIsSynthesized(this.end), message || \"Node must have a real position for this operation\");\n  }\n  getSourceFile() {\n    return getSourceFileOfNode(this);\n  }\n  getStart(sourceFile, includeJsDocComment) {\n    this.assertHasRealPosition();\n    return getTokenPosOfNode(this, sourceFile, includeJsDocComment);\n  }\n  getFullStart() {\n    this.assertHasRealPosition();\n    return this.pos;\n  }\n  getEnd() {\n    this.assertHasRealPosition();\n    return this.end;\n  }\n  getWidth(sourceFile) {\n    this.assertHasRealPosition();\n    return this.getEnd() - this.getStart(sourceFile);\n  }\n  getFullWidth() {\n    this.assertHasRealPosition();\n    return this.end - this.pos;\n  }\n  getLeadingTriviaWidth(sourceFile) {\n    this.assertHasRealPosition();\n    return this.getStart(sourceFile) - this.pos;\n  }\n  getFullText(sourceFile) {\n    this.assertHasRealPosition();\n    return (sourceFile || this.getSourceFile()).text.substring(this.pos, this.end);\n  }\n  getText(sourceFile) {\n    this.assertHasRealPosition();\n    if (!sourceFile) {\n      sourceFile = this.getSourceFile();\n    }\n    return sourceFile.text.substring(this.getStart(sourceFile), this.getEnd());\n  }\n  getChildCount(sourceFile) {\n    return this.getChildren(sourceFile).length;\n  }\n  getChildAt(index, sourceFile) {\n    return this.getChildren(sourceFile)[index];\n  }\n  getChildren(sourceFile) {\n    this.assertHasRealPosition(\"Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine\");\n    return this._children || (this._children = createChildren(this, sourceFile));\n  }\n  getFirstToken(sourceFile) {\n    this.assertHasRealPosition();\n    const children = this.getChildren(sourceFile);\n    if (!children.length) {\n      return void 0;\n    }\n    const child = find(children, (kid) => kid.kind < 318 /* FirstJSDocNode */ || kid.kind > 356 /* LastJSDocNode */);\n    return child.kind < 165 /* FirstNode */ ? child : child.getFirstToken(sourceFile);\n  }\n  getLastToken(sourceFile) {\n    this.assertHasRealPosition();\n    const children = this.getChildren(sourceFile);\n    const child = lastOrUndefined(children);\n    if (!child) {\n      return void 0;\n    }\n    return child.kind < 165 /* FirstNode */ ? child : child.getLastToken(sourceFile);\n  }\n  forEachChild(cbNode, cbNodeArray) {\n    return forEachChild(this, cbNode, cbNodeArray);\n  }\n};\nfunction createChildren(node, sourceFile) {\n  if (!isNodeKind(node.kind)) {\n    return emptyArray;\n  }\n  const children = [];\n  if (isJSDocCommentContainingNode(node)) {\n    node.forEachChild((child) => {\n      children.push(child);\n    });\n    return children;\n  }\n  const sourceFileName = sourceFile ? sourceFile.fileName : node.getSourceFile().fileName;\n  if (sourceFileName && getScriptKindFromFileName(sourceFileName) === 8 /* ETS */) {\n    scanner.setEtsContext(true);\n  }\n  scanner.setText((sourceFile || node.getSourceFile()).text);\n  let pos = node.pos;\n  const processNode = (child) => {\n    addSyntheticNodes(children, pos, child.pos, node);\n    children.push(child);\n    pos = child.end;\n  };\n  const processNodes = (nodes) => {\n    addSyntheticNodes(children, pos, nodes.pos, node);\n    children.push(createSyntaxList(nodes, node));\n    pos = nodes.end;\n  };\n  forEach(node.jsDoc, processNode);\n  pos = node.pos;\n  node.forEachChild(processNode, processNodes);\n  addSyntheticNodes(children, pos, node.end, node);\n  scanner.setText(void 0);\n  scanner.setEtsContext(false);\n  return children;\n}\nfunction addSyntheticNodes(nodes, pos, end, parent2) {\n  if (parent2.virtual) {\n    return;\n  }\n  scanner.setTextPos(pos);\n  while (pos < end) {\n    const token = scanner.scan();\n    const textPos = scanner.getTextPos();\n    const isSourceFileOrInMarkedKitImport = !isSourceFile(parent2) || !isInMarkedKitImport(parent2, pos, textPos);\n    if (isSourceFileOrInMarkedKitImport && textPos <= end) {\n      if (token === 79 /* Identifier */) {\n        Debug.fail(`Did not expect ${Debug.formatSyntaxKind(parent2.kind)} to have an Identifier in its trivia`);\n      }\n      nodes.push(createNode(token, pos, textPos, parent2));\n    }\n    pos = textPos;\n    if (token === 1 /* EndOfFileToken */) {\n      break;\n    }\n  }\n}\nfunction createSyntaxList(nodes, parent2) {\n  const list = createNode(357 /* SyntaxList */, nodes.pos, nodes.end, parent2);\n  list._children = [];\n  let pos = nodes.pos;\n  for (const node of nodes) {\n    if (node.virtual) {\n      continue;\n    }\n    addSyntheticNodes(list._children, pos, node.pos, parent2);\n    list._children.push(node);\n    pos = node.end;\n  }\n  addSyntheticNodes(list._children, pos, nodes.end, parent2);\n  return list;\n}\nvar TokenOrIdentifierObject = class {\n  constructor(pos, end) {\n    this.pos = pos;\n    this.end = end;\n    this.flags = 0 /* None */;\n    this.modifierFlagsCache = 0 /* None */;\n    this.transformFlags = 0 /* None */;\n    this.parent = void 0;\n  }\n  getSourceFile() {\n    return getSourceFileOfNode(this);\n  }\n  getStart(sourceFile, includeJsDocComment) {\n    return getTokenPosOfNode(this, sourceFile, includeJsDocComment);\n  }\n  getFullStart() {\n    return this.pos;\n  }\n  getEnd() {\n    return this.end;\n  }\n  getWidth(sourceFile) {\n    return this.getEnd() - this.getStart(sourceFile);\n  }\n  getFullWidth() {\n    return this.end - this.pos;\n  }\n  getLeadingTriviaWidth(sourceFile) {\n    return this.getStart(sourceFile) - this.pos;\n  }\n  getFullText(sourceFile) {\n    return (sourceFile || this.getSourceFile()).text.substring(this.pos, this.end);\n  }\n  getText(sourceFile) {\n    if (!sourceFile) {\n      sourceFile = this.getSourceFile();\n    }\n    return sourceFile.text.substring(this.getStart(sourceFile), this.getEnd());\n  }\n  getChildCount() {\n    return this.getChildren().length;\n  }\n  getChildAt(index) {\n    return this.getChildren()[index];\n  }\n  getChildren() {\n    return this.kind === 1 /* EndOfFileToken */ ? this.jsDoc || emptyArray : emptyArray;\n  }\n  getFirstToken() {\n    return void 0;\n  }\n  getLastToken() {\n    return void 0;\n  }\n  forEachChild() {\n    return void 0;\n  }\n};\nvar SymbolObject = class {\n  constructor(flags, name) {\n    this.flags = flags;\n    this.escapedName = name;\n  }\n  getFlags() {\n    return this.flags;\n  }\n  get name() {\n    return symbolName(this);\n  }\n  getEscapedName() {\n    return this.escapedName;\n  }\n  getName() {\n    return this.name;\n  }\n  getDeclarations() {\n    return this.declarations;\n  }\n  getDocumentationComment(checker) {\n    if (!this.documentationComment) {\n      this.documentationComment = emptyArray;\n      if (!this.declarations && this.target && this.target.tupleLabelDeclaration) {\n        const labelDecl = this.target.tupleLabelDeclaration;\n        this.documentationComment = getDocumentationComment([labelDecl], checker);\n      } else {\n        this.documentationComment = getDocumentationComment(this.declarations, checker);\n      }\n    }\n    return this.documentationComment;\n  }\n  getContextualDocumentationComment(context, checker) {\n    if (context) {\n      if (isGetAccessor(context)) {\n        if (!this.contextualGetAccessorDocumentationComment) {\n          this.contextualGetAccessorDocumentationComment = getDocumentationComment(filter(this.declarations, isGetAccessor), checker);\n        }\n        if (length(this.contextualGetAccessorDocumentationComment)) {\n          return this.contextualGetAccessorDocumentationComment;\n        }\n      }\n      if (isSetAccessor(context)) {\n        if (!this.contextualSetAccessorDocumentationComment) {\n          this.contextualSetAccessorDocumentationComment = getDocumentationComment(filter(this.declarations, isSetAccessor), checker);\n        }\n        if (length(this.contextualSetAccessorDocumentationComment)) {\n          return this.contextualSetAccessorDocumentationComment;\n        }\n      }\n    }\n    return this.getDocumentationComment(checker);\n  }\n  getJsDocTags(checker) {\n    if (this.tags === void 0) {\n      this.tags = getJsDocTagsOfDeclarations(this.declarations, checker);\n    }\n    return this.tags;\n  }\n  getContextualJsDocTags(context, checker) {\n    if (context) {\n      if (isGetAccessor(context)) {\n        if (!this.contextualGetAccessorTags) {\n          this.contextualGetAccessorTags = getJsDocTagsOfDeclarations(filter(this.declarations, isGetAccessor), checker);\n        }\n        if (length(this.contextualGetAccessorTags)) {\n          return this.contextualGetAccessorTags;\n        }\n      }\n      if (isSetAccessor(context)) {\n        if (!this.contextualSetAccessorTags) {\n          this.contextualSetAccessorTags = getJsDocTagsOfDeclarations(filter(this.declarations, isSetAccessor), checker);\n        }\n        if (length(this.contextualSetAccessorTags)) {\n          return this.contextualSetAccessorTags;\n        }\n      }\n    }\n    return this.getJsDocTags(checker);\n  }\n};\nvar TokenObject = class extends TokenOrIdentifierObject {\n  constructor(kind, pos, end) {\n    super(pos, end);\n    this.kind = kind;\n  }\n};\nvar IdentifierObject = class extends TokenOrIdentifierObject {\n  constructor(_kind, pos, end) {\n    super(pos, end);\n    this.kind = 79 /* Identifier */;\n  }\n  get text() {\n    return idText(this);\n  }\n};\nIdentifierObject.prototype.kind = 79 /* Identifier */;\nvar PrivateIdentifierObject = class extends TokenOrIdentifierObject {\n  constructor(_kind, pos, end) {\n    super(pos, end);\n    this.kind = 80 /* PrivateIdentifier */;\n  }\n  get text() {\n    return idText(this);\n  }\n};\nPrivateIdentifierObject.prototype.kind = 80 /* PrivateIdentifier */;\nvar TypeObject = class {\n  constructor(checker, flags) {\n    this.checker = checker;\n    this.flags = flags;\n  }\n  getFlags() {\n    return this.flags;\n  }\n  getSymbol() {\n    return this.symbol;\n  }\n  getProperties() {\n    return this.checker.getPropertiesOfType(this);\n  }\n  getProperty(propertyName) {\n    return this.checker.getPropertyOfType(this, propertyName);\n  }\n  getApparentProperties() {\n    return this.checker.getAugmentedPropertiesOfType(this);\n  }\n  getCallSignatures() {\n    return this.checker.getSignaturesOfType(this, 0 /* Call */);\n  }\n  getConstructSignatures() {\n    return this.checker.getSignaturesOfType(this, 1 /* Construct */);\n  }\n  getStringIndexType() {\n    return this.checker.getIndexTypeOfType(this, 0 /* String */);\n  }\n  getNumberIndexType() {\n    return this.checker.getIndexTypeOfType(this, 1 /* Number */);\n  }\n  getBaseTypes() {\n    return this.isClassOrInterface() ? this.checker.getBaseTypes(this) : void 0;\n  }\n  isNullableType() {\n    return this.checker.isNullableType(this);\n  }\n  getNonNullableType() {\n    return this.checker.getNonNullableType(this);\n  }\n  getNonOptionalType() {\n    return this.checker.getNonOptionalType(this);\n  }\n  getConstraint() {\n    return this.checker.getBaseConstraintOfType(this);\n  }\n  getDefault() {\n    return this.checker.getDefaultFromTypeParameter(this);\n  }\n  isUnion() {\n    return !!(this.flags & 1048576 /* Union */);\n  }\n  isIntersection() {\n    return !!(this.flags & 2097152 /* Intersection */);\n  }\n  isUnionOrIntersection() {\n    return !!(this.flags & 3145728 /* UnionOrIntersection */);\n  }\n  isLiteral() {\n    return !!(this.flags & 384 /* StringOrNumberLiteral */);\n  }\n  isStringLiteral() {\n    return !!(this.flags & 128 /* StringLiteral */);\n  }\n  isNumberLiteral() {\n    return !!(this.flags & 256 /* NumberLiteral */);\n  }\n  isTypeParameter() {\n    return !!(this.flags & 262144 /* TypeParameter */);\n  }\n  isClassOrInterface() {\n    return !!(getObjectFlags(this) & 3 /* ClassOrInterface */);\n  }\n  isClass() {\n    return !!(getObjectFlags(this) & 1 /* Class */);\n  }\n  isIndexType() {\n    return !!(this.flags & 4194304 /* Index */);\n  }\n  get typeArguments() {\n    if (getObjectFlags(this) & 4 /* Reference */) {\n      return this.checker.getTypeArguments(this);\n    }\n    return void 0;\n  }\n};\nvar SignatureObject = class {\n  constructor(checker, flags) {\n    this.checker = checker;\n    this.flags = flags;\n  }\n  getDeclaration() {\n    return this.declaration;\n  }\n  getTypeParameters() {\n    return this.typeParameters;\n  }\n  getParameters() {\n    return this.parameters;\n  }\n  getReturnType() {\n    return this.checker.getReturnTypeOfSignature(this);\n  }\n  getTypeParameterAtPosition(pos) {\n    const type = this.checker.getParameterType(this, pos);\n    if (type.isIndexType() && isThisTypeParameter(type.type)) {\n      const constraint = type.type.getConstraint();\n      if (constraint) {\n        return this.checker.getIndexType(constraint);\n      }\n    }\n    return type;\n  }\n  getDocumentationComment() {\n    return this.documentationComment || (this.documentationComment = getDocumentationComment(singleElementArray(this.declaration), this.checker));\n  }\n  getJsDocTags() {\n    return this.jsDocTags || (this.jsDocTags = getJsDocTagsOfDeclarations(singleElementArray(this.declaration), this.checker));\n  }\n};\nfunction hasJSDocInheritDocTag(node) {\n  return getJSDocTags(node).some((tag) => tag.tagName.text === \"inheritDoc\" || tag.tagName.text === \"inheritdoc\");\n}\nfunction getJsDocTagsOfDeclarations(declarations, checker) {\n  if (!declarations)\n    return emptyArray;\n  let tags = ts_JsDoc_exports.getJsDocTagsFromDeclarations(declarations, checker);\n  if (checker && (tags.length === 0 || declarations.some(hasJSDocInheritDocTag))) {\n    const seenSymbols = new Set2();\n    for (const declaration of declarations) {\n      const inheritedTags = findBaseOfDeclaration(checker, declaration, (symbol) => {\n        var _a2;\n        if (!seenSymbols.has(symbol)) {\n          seenSymbols.add(symbol);\n          if (declaration.kind === 177 /* GetAccessor */ || declaration.kind === 178 /* SetAccessor */) {\n            return symbol.getContextualJsDocTags(declaration, checker);\n          }\n          return ((_a2 = symbol.declarations) == null ? void 0 : _a2.length) === 1 ? symbol.getJsDocTags() : void 0;\n        }\n      });\n      if (inheritedTags) {\n        tags = [...inheritedTags, ...tags];\n      }\n    }\n  }\n  return tags;\n}\nfunction getDocumentationComment(declarations, checker) {\n  if (!declarations)\n    return emptyArray;\n  let doc = ts_JsDoc_exports.getJsDocCommentsFromDeclarations(declarations, checker);\n  if (checker && (doc.length === 0 || declarations.some(hasJSDocInheritDocTag))) {\n    const seenSymbols = new Set2();\n    for (const declaration of declarations) {\n      const inheritedDocs = findBaseOfDeclaration(checker, declaration, (symbol) => {\n        if (!seenSymbols.has(symbol)) {\n          seenSymbols.add(symbol);\n          if (declaration.kind === 177 /* GetAccessor */ || declaration.kind === 178 /* SetAccessor */) {\n            return symbol.getContextualDocumentationComment(declaration, checker);\n          }\n          return symbol.getDocumentationComment(checker);\n        }\n      });\n      if (inheritedDocs)\n        doc = doc.length === 0 ? inheritedDocs.slice() : inheritedDocs.concat(lineBreakPart(), doc);\n    }\n  }\n  return doc;\n}\nfunction findBaseOfDeclaration(checker, declaration, cb) {\n  var _a2;\n  const classOrInterfaceDeclaration = ((_a2 = declaration.parent) == null ? void 0 : _a2.kind) === 176 /* Constructor */ ? declaration.parent.parent : declaration.parent;\n  if (!classOrInterfaceDeclaration)\n    return;\n  const isStaticMember = hasStaticModifier(declaration);\n  return firstDefined(getAllSuperTypeNodes(classOrInterfaceDeclaration), (superTypeNode) => {\n    const baseType = checker.getTypeAtLocation(superTypeNode);\n    const type = isStaticMember && baseType.symbol ? checker.getTypeOfSymbol(baseType.symbol) : baseType;\n    const symbol = checker.getPropertyOfType(type, declaration.symbol.name);\n    return symbol ? cb(symbol) : void 0;\n  });\n}\nvar SourceFileObject = class extends NodeObject {\n  constructor(kind, pos, end) {\n    super(kind, pos, end);\n    this.kind = 314 /* SourceFile */;\n  }\n  update(newText, textChangeRange) {\n    return updateSourceFile(this, newText, textChangeRange);\n  }\n  getLineAndCharacterOfPosition(position) {\n    return getLineAndCharacterOfPosition(this, position);\n  }\n  getLineStarts() {\n    return getLineStarts(this);\n  }\n  getPositionOfLineAndCharacter(line, character, allowEdits) {\n    return computePositionOfLineAndCharacter(getLineStarts(this), line, character, this.text, allowEdits);\n  }\n  getLineEndOfPosition(pos) {\n    const { line } = this.getLineAndCharacterOfPosition(pos);\n    const lineStarts = this.getLineStarts();\n    let lastCharPos;\n    if (line + 1 >= lineStarts.length) {\n      lastCharPos = this.getEnd();\n    }\n    if (!lastCharPos) {\n      lastCharPos = lineStarts[line + 1] - 1;\n    }\n    const fullText = this.getFullText();\n    return fullText[lastCharPos] === \"\\n\" && fullText[lastCharPos - 1] === \"\\r\" ? lastCharPos - 1 : lastCharPos;\n  }\n  getNamedDeclarations() {\n    if (!this.namedDeclarations) {\n      this.namedDeclarations = this.computeNamedDeclarations();\n    }\n    return this.namedDeclarations;\n  }\n  computeNamedDeclarations() {\n    const result = createMultiMap();\n    this.forEachChild(visit);\n    return result;\n    function addDeclaration(declaration) {\n      const name = getDeclarationName(declaration);\n      if (name) {\n        result.add(name, declaration);\n      }\n    }\n    function getDeclarations(name) {\n      let declarations = result.get(name);\n      if (!declarations) {\n        result.set(name, declarations = []);\n      }\n      return declarations;\n    }\n    function getDeclarationName(declaration) {\n      const name = getNonAssignedNameOfDeclaration(declaration);\n      return name && (isComputedPropertyName(name) && isPropertyAccessExpression(name.expression) ? name.expression.name.text : isPropertyName(name) ? getNameFromPropertyName(name) : void 0);\n    }\n    function visit(node) {\n      switch (node.kind) {\n        case 263 /* FunctionDeclaration */:\n        case 218 /* FunctionExpression */:\n        case 174 /* MethodDeclaration */:\n        case 173 /* MethodSignature */:\n          const functionDeclaration = node;\n          const declarationName = getDeclarationName(functionDeclaration);\n          if (declarationName) {\n            const declarations = getDeclarations(declarationName);\n            const lastDeclaration = lastOrUndefined(declarations);\n            if (lastDeclaration && functionDeclaration.parent === lastDeclaration.parent && functionDeclaration.symbol === lastDeclaration.symbol) {\n              if (functionDeclaration.body && !lastDeclaration.body) {\n                declarations[declarations.length - 1] = functionDeclaration;\n              }\n            } else {\n              declarations.push(functionDeclaration);\n            }\n          }\n          forEachChild(node, visit);\n          break;\n        case 264 /* ClassDeclaration */:\n        case 232 /* ClassExpression */:\n        case 265 /* StructDeclaration */:\n        case 267 /* InterfaceDeclaration */:\n        case 268 /* TypeAliasDeclaration */:\n        case 269 /* EnumDeclaration */:\n        case 270 /* ModuleDeclaration */:\n        case 274 /* ImportEqualsDeclaration */:\n        case 284 /* ExportSpecifier */:\n        case 279 /* ImportSpecifier */:\n        case 276 /* ImportClause */:\n        case 277 /* NamespaceImport */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 187 /* TypeLiteral */:\n          addDeclaration(node);\n          forEachChild(node, visit);\n          break;\n        case 168 /* Parameter */:\n          if (!hasSyntacticModifier(node, 16476 /* ParameterPropertyModifier */)) {\n            break;\n          }\n        case 261 /* VariableDeclaration */:\n        case 208 /* BindingElement */: {\n          const decl = node;\n          if (isBindingPattern(decl.name)) {\n            forEachChild(decl.name, visit);\n            break;\n          }\n          if (decl.initializer) {\n            visit(decl.initializer);\n          }\n        }\n        case 308 /* EnumMember */:\n        case 171 /* PropertyDeclaration */:\n        case 170 /* PropertySignature */:\n          addDeclaration(node);\n          break;\n        case 281 /* ExportDeclaration */:\n          const exportDeclaration = node;\n          if (exportDeclaration.exportClause) {\n            if (isNamedExports(exportDeclaration.exportClause)) {\n              forEach(exportDeclaration.exportClause.elements, visit);\n            } else {\n              visit(exportDeclaration.exportClause.name);\n            }\n          }\n          break;\n        case 275 /* ImportDeclaration */:\n          const importClause = node.importClause;\n          if (importClause) {\n            if (importClause.name) {\n              addDeclaration(importClause.name);\n            }\n            if (importClause.namedBindings) {\n              if (importClause.namedBindings.kind === 277 /* NamespaceImport */) {\n                addDeclaration(importClause.namedBindings);\n              } else {\n                forEach(importClause.namedBindings.elements, visit);\n              }\n            }\n          }\n          break;\n        case 227 /* BinaryExpression */:\n          if (getAssignmentDeclarationKind(node) !== 0 /* None */) {\n            addDeclaration(node);\n          }\n        default:\n          forEachChild(node, visit);\n      }\n    }\n  }\n};\nvar SourceMapSourceObject = class {\n  constructor(fileName, text, skipTrivia2) {\n    this.fileName = fileName;\n    this.text = text;\n    this.skipTrivia = skipTrivia2;\n  }\n  getLineAndCharacterOfPosition(pos) {\n    return getLineAndCharacterOfPosition(this, pos);\n  }\n};\nfunction getServicesObjectAllocator() {\n  return {\n    getNodeConstructor: () => NodeObject,\n    getTokenConstructor: () => TokenObject,\n    getIdentifierConstructor: () => IdentifierObject,\n    getPrivateIdentifierConstructor: () => PrivateIdentifierObject,\n    getSourceFileConstructor: () => SourceFileObject,\n    getSymbolConstructor: () => SymbolObject,\n    getTypeConstructor: () => TypeObject,\n    getSignatureConstructor: () => SignatureObject,\n    getSourceMapSourceConstructor: () => SourceMapSourceObject\n  };\n}\nfunction toEditorSettings(optionsAsMap) {\n  let allPropertiesAreCamelCased = true;\n  for (const key in optionsAsMap) {\n    if (hasProperty(optionsAsMap, key) && !isCamelCase(key)) {\n      allPropertiesAreCamelCased = false;\n      break;\n    }\n  }\n  if (allPropertiesAreCamelCased) {\n    return optionsAsMap;\n  }\n  const settings = {};\n  for (const key in optionsAsMap) {\n    if (hasProperty(optionsAsMap, key)) {\n      const newKey = isCamelCase(key) ? key : key.charAt(0).toLowerCase() + key.substr(1);\n      settings[newKey] = optionsAsMap[key];\n    }\n  }\n  return settings;\n}\nfunction isCamelCase(s) {\n  return !s.length || s.charAt(0) === s.charAt(0).toLowerCase();\n}\nfunction displayPartsToString(displayParts) {\n  if (displayParts) {\n    return map(displayParts, (displayPart2) => displayPart2.text).join(\"\");\n  }\n  return \"\";\n}\nfunction getDefaultCompilerOptions2() {\n  return {\n    target: 1 /* ES5 */,\n    jsx: 1 /* Preserve */\n  };\n}\nfunction getSupportedCodeFixes() {\n  return ts_codefix_exports.getSupportedErrorCodes();\n}\nvar SyntaxTreeCache = class {\n  constructor(host) {\n    this.host = host;\n  }\n  getCurrentSourceFile(fileName) {\n    var _a2, _b, _c, _d, _e, _f, _g, _h;\n    const scriptSnapshot = this.host.getScriptSnapshot(fileName);\n    if (!scriptSnapshot) {\n      throw new Error(\"Could not find file: '\" + fileName + \"'.\");\n    }\n    const scriptKind = getScriptKind(fileName, this.host);\n    const version2 = this.host.getScriptVersion(fileName);\n    let sourceFile;\n    if (this.currentFileName !== fileName) {\n      const options = {\n        languageVersion: 99 /* Latest */,\n        impliedNodeFormat: getImpliedNodeFormatForFile(\n          toPath(fileName, this.host.getCurrentDirectory(), ((_c = (_b = (_a2 = this.host).getCompilerHost) == null ? void 0 : _b.call(_a2)) == null ? void 0 : _c.getCanonicalFileName) || hostGetCanonicalFileName(this.host)),\n          (_h = (_g = (_f = (_e = (_d = this.host).getCompilerHost) == null ? void 0 : _e.call(_d)) == null ? void 0 : _f.getModuleResolutionCache) == null ? void 0 : _g.call(_f)) == null ? void 0 : _h.getPackageJsonInfoCache(),\n          this.host,\n          this.host.getCompilationSettings()\n        ),\n        setExternalModuleIndicator: getSetExternalModuleIndicator(this.host.getCompilationSettings())\n      };\n      sourceFile = createLanguageServiceSourceFile(fileName, scriptSnapshot, options, version2, true, scriptKind, this.host.getCompilationSettings());\n    } else if (this.currentFileVersion !== version2) {\n      const editRange = scriptSnapshot.getChangeRange(this.currentFileScriptSnapshot);\n      sourceFile = updateLanguageServiceSourceFile(this.currentSourceFile, scriptSnapshot, version2, editRange, void 0, this.host.getCompilationSettings());\n    }\n    if (sourceFile) {\n      this.currentFileVersion = version2;\n      this.currentFileName = fileName;\n      this.currentFileScriptSnapshot = scriptSnapshot;\n      this.currentSourceFile = sourceFile;\n    }\n    return this.currentSourceFile;\n  }\n};\nfunction setSourceFileFields(sourceFile, scriptSnapshot, version2) {\n  sourceFile.version = version2;\n  sourceFile.scriptSnapshot = scriptSnapshot;\n}\nfunction createLanguageServiceSourceFile(fileName, scriptSnapshot, scriptTargetOrOptions, version2, setNodeParents, scriptKind, option) {\n  const sourceFile = createSourceFile(fileName, getSnapshotText(scriptSnapshot), scriptTargetOrOptions, setNodeParents, scriptKind, option);\n  setSourceFileFields(sourceFile, scriptSnapshot, version2);\n  return sourceFile;\n}\nfunction updateLanguageServiceSourceFile(sourceFile, scriptSnapshot, version2, textChangeRange, aggressiveChecks, option) {\n  if (textChangeRange) {\n    if (version2 !== sourceFile.version) {\n      let newText;\n      const prefix = textChangeRange.span.start !== 0 ? sourceFile.text.substr(0, textChangeRange.span.start) : \"\";\n      const suffix = textSpanEnd(textChangeRange.span) !== sourceFile.text.length ? sourceFile.text.substr(textSpanEnd(textChangeRange.span)) : \"\";\n      if (textChangeRange.newLength === 0) {\n        newText = prefix && suffix ? prefix + suffix : prefix || suffix;\n      } else {\n        const changedText = scriptSnapshot.getText(textChangeRange.span.start, textChangeRange.span.start + textChangeRange.newLength);\n        newText = prefix && suffix ? prefix + changedText + suffix : prefix ? prefix + changedText : changedText + suffix;\n      }\n      const newSourceFile = updateSourceFile(sourceFile, newText, textChangeRange, aggressiveChecks, option);\n      setSourceFileFields(newSourceFile, scriptSnapshot, version2);\n      newSourceFile.nameTable = void 0;\n      if (sourceFile !== newSourceFile && sourceFile.scriptSnapshot) {\n        if (sourceFile.scriptSnapshot.dispose) {\n          sourceFile.scriptSnapshot.dispose();\n        }\n        sourceFile.scriptSnapshot = void 0;\n      }\n      return newSourceFile;\n    }\n  }\n  const options = {\n    languageVersion: sourceFile.languageVersion,\n    impliedNodeFormat: sourceFile.impliedNodeFormat,\n    setExternalModuleIndicator: sourceFile.setExternalModuleIndicator\n  };\n  return createLanguageServiceSourceFile(sourceFile.fileName, scriptSnapshot, options, version2, true, sourceFile.scriptKind, option);\n}\nvar NoopCancellationToken = {\n  isCancellationRequested: returnFalse,\n  throwIfCancellationRequested: noop\n};\nvar CancellationTokenObject = class {\n  constructor(cancellationToken) {\n    this.cancellationToken = cancellationToken;\n  }\n  isCancellationRequested() {\n    return this.cancellationToken.isCancellationRequested();\n  }\n  throwIfCancellationRequested() {\n    var _a2;\n    if (this.isCancellationRequested()) {\n      (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.Session, \"cancellationThrown\", { kind: \"CancellationTokenObject\" });\n      throw new OperationCanceledException();\n    }\n  }\n};\nvar ThrottledCancellationToken = class {\n  constructor(hostCancellationToken, throttleWaitMilliseconds = 20) {\n    this.hostCancellationToken = hostCancellationToken;\n    this.throttleWaitMilliseconds = throttleWaitMilliseconds;\n    this.lastCancellationCheckTime = 0;\n  }\n  isCancellationRequested() {\n    const time = timestamp();\n    const duration = Math.abs(time - this.lastCancellationCheckTime);\n    if (duration >= this.throttleWaitMilliseconds) {\n      this.lastCancellationCheckTime = time;\n      return this.hostCancellationToken.isCancellationRequested();\n    }\n    return false;\n  }\n  throwIfCancellationRequested() {\n    var _a2;\n    if (this.isCancellationRequested()) {\n      (_a2 = tracing) == null ? void 0 : _a2.instant(tracing.Phase.Session, \"cancellationThrown\", { kind: \"ThrottledCancellationToken\" });\n      throw new OperationCanceledException();\n    }\n  }\n};\nvar invalidOperationsInPartialSemanticMode = [\n  \"getSemanticDiagnostics\",\n  \"getSuggestionDiagnostics\",\n  \"getCompilerOptionsDiagnostics\",\n  \"getSemanticClassifications\",\n  \"getEncodedSemanticClassifications\",\n  \"getCodeFixesAtPosition\",\n  \"getCombinedCodeFix\",\n  \"applyCodeActionCommand\",\n  \"organizeImports\",\n  \"getEditsForFileRename\",\n  \"getEmitOutput\",\n  \"getApplicableRefactors\",\n  \"getEditsForRefactor\",\n  \"prepareCallHierarchy\",\n  \"provideCallHierarchyIncomingCalls\",\n  \"provideCallHierarchyOutgoingCalls\",\n  \"provideInlayHints\"\n];\nvar invalidOperationsInSyntacticMode = [\n  ...invalidOperationsInPartialSemanticMode,\n  \"getCompletionsAtPosition\",\n  \"getCompletionEntryDetails\",\n  \"getCompletionEntrySymbol\",\n  \"getSignatureHelpItems\",\n  \"getQuickInfoAtPosition\",\n  \"getDefinitionAtPosition\",\n  \"getDefinitionAndBoundSpan\",\n  \"getImplementationAtPosition\",\n  \"getTypeDefinitionAtPosition\",\n  \"getReferencesAtPosition\",\n  \"findReferences\",\n  \"getOccurrencesAtPosition\",\n  \"getDocumentHighlights\",\n  \"getNavigateToItems\",\n  \"getRenameInfo\",\n  \"findRenameLocations\",\n  \"getApplicableRefactors\"\n];\nfunction createLanguageService(host, documentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory()), syntaxOnlyOrLanguageServiceMode) {\n  var _a2;\n  let languageServiceMode;\n  if (syntaxOnlyOrLanguageServiceMode === void 0) {\n    languageServiceMode = 0 /* Semantic */;\n  } else if (typeof syntaxOnlyOrLanguageServiceMode === \"boolean\") {\n    languageServiceMode = syntaxOnlyOrLanguageServiceMode ? 2 /* Syntactic */ : 0 /* Semantic */;\n  } else {\n    languageServiceMode = syntaxOnlyOrLanguageServiceMode;\n  }\n  const syntaxTreeCache = new SyntaxTreeCache(host);\n  let program;\n  let builderProgram;\n  let lastProjectVersion;\n  let lastTypesRootVersion = 0;\n  const cancellationToken = host.getCancellationToken ? new CancellationTokenObject(host.getCancellationToken()) : NoopCancellationToken;\n  const currentDirectory = host.getCurrentDirectory();\n  setLanguageVersionByFilePath(host.isStaticSourceFile);\n  maybeSetLocalizedDiagnosticMessages((_a2 = host.getLocalizedDiagnosticMessages) == null ? void 0 : _a2.bind(host));\n  function log(message) {\n    if (host.log) {\n      host.log(message);\n    }\n  }\n  const useCaseSensitiveFileNames = hostUsesCaseSensitiveFileNames(host);\n  const getCanonicalFileName = createGetCanonicalFileName(useCaseSensitiveFileNames);\n  const sourceMapper = getSourceMapper({\n    useCaseSensitiveFileNames: () => useCaseSensitiveFileNames,\n    getCurrentDirectory: () => currentDirectory,\n    getProgram,\n    fileExists: maybeBind(host, host.fileExists),\n    readFile: maybeBind(host, host.readFile),\n    getDocumentPositionMapper: maybeBind(host, host.getDocumentPositionMapper),\n    getSourceFileLike: maybeBind(host, host.getSourceFileLike),\n    log\n  });\n  function getValidSourceFile(fileName) {\n    const sourceFile = program.getSourceFile(fileName);\n    if (!sourceFile) {\n      const error = new Error(`Could not find source file: '${fileName}'.`);\n      error.ProgramFiles = program.getSourceFiles().map((f) => f.fileName);\n      throw error;\n    }\n    return sourceFile;\n  }\n  function synchronizeHostData(isCreateIncrementalProgramMode = false, withLinterProgram) {\n    var _a3, _b, _c;\n    Debug.assert(languageServiceMode !== 2 /* Syntactic */);\n    if (host.getProjectVersion) {\n      const hostProjectVersion = host.getProjectVersion();\n      if (hostProjectVersion) {\n        if (lastProjectVersion === hostProjectVersion && !((_a3 = host.hasChangedAutomaticTypeDirectiveNames) == null ? void 0 : _a3.call(host))) {\n          return;\n        }\n        lastProjectVersion = hostProjectVersion;\n      }\n    }\n    const typeRootsVersion = host.getTypeRootsVersion ? host.getTypeRootsVersion() : 0;\n    if (lastTypesRootVersion !== typeRootsVersion) {\n      log(\"TypeRoots version has changed; provide new program\");\n      program = void 0;\n      lastTypesRootVersion = typeRootsVersion;\n    }\n    const rootFileNames = host.getScriptFileNames().slice();\n    const newSettings = host.getCompilationSettings() || getDefaultCompilerOptions2();\n    const hasInvalidatedResolutions = host.hasInvalidatedResolutions || returnFalse;\n    const hasChangedAutomaticTypeDirectiveNames = maybeBind(host, host.hasChangedAutomaticTypeDirectiveNames);\n    const projectReferences = (_b = host.getProjectReferences) == null ? void 0 : _b.call(host);\n    let parsedCommandLines;\n    let compilerHost = {\n      getSourceFile: getOrCreateSourceFile,\n      getSourceFileByPath: getOrCreateSourceFileByPath,\n      getCancellationToken: () => cancellationToken,\n      getCanonicalFileName,\n      useCaseSensitiveFileNames: () => useCaseSensitiveFileNames,\n      getNewLine: () => getNewLineCharacter(newSettings, () => getNewLineOrDefaultFromHost(host)),\n      getDefaultLibFileName: (options2) => host.getDefaultLibFileName(options2),\n      writeFile: noop,\n      getCurrentDirectory: () => currentDirectory,\n      fileExists: (fileName) => host.fileExists(fileName),\n      readFile: (fileName) => host.readFile && host.readFile(fileName),\n      getSymlinkCache: maybeBind(host, host.getSymlinkCache),\n      realpath: maybeBind(host, host.realpath),\n      directoryExists: (directoryName) => {\n        return directoryProbablyExists(directoryName, host);\n      },\n      getDirectories: (path) => {\n        return host.getDirectories ? host.getDirectories(path) : [];\n      },\n      readDirectory: (path, extensions, exclude, include, depth) => {\n        Debug.checkDefined(host.readDirectory, \"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'\");\n        return host.readDirectory(path, extensions, exclude, include, depth);\n      },\n      onReleaseOldSourceFile,\n      onReleaseParsedCommandLine,\n      hasInvalidatedResolutions,\n      hasChangedAutomaticTypeDirectiveNames,\n      trace: maybeBind(host, host.trace),\n      resolveModuleNames: maybeBind(host, host.resolveModuleNames),\n      getModuleResolutionCache: maybeBind(host, host.getModuleResolutionCache),\n      resolveTypeReferenceDirectives: maybeBind(host, host.resolveTypeReferenceDirectives),\n      useSourceOfProjectReferenceRedirect: maybeBind(host, host.useSourceOfProjectReferenceRedirect),\n      getParsedCommandLine,\n      getJsDocNodeCheckedConfig: maybeBind(host, host.getJsDocNodeCheckedConfig),\n      isAvailableVersion: maybeBind(host, host.isAvailableVersion),\n      isAvailableDeclarationValid: maybeBind(host, host.isAvailableDeclarationValid),\n      getJsDocNodeConditionCheckedResult: maybeBind(host, host.getJsDocNodeConditionCheckedResult),\n      getFileCheckedModuleInfo: maybeBind(host, host.getFileCheckedModuleInfo),\n      isStaticSourceFile: host.isStaticSourceFile,\n      disableUseFileVersionAsSignature: host.useDeclarationFileSignature\n    };\n    const originalGetSourceFile = compilerHost.getSourceFile;\n    const { getSourceFileWithCache } = changeCompilerHostLikeToUseCache(\n      compilerHost,\n      (fileName) => toPath(fileName, currentDirectory, getCanonicalFileName),\n      (...args) => originalGetSourceFile.call(compilerHost, ...args)\n    );\n    compilerHost.getSourceFile = getSourceFileWithCache;\n    (_c = host.setCompilerHost) == null ? void 0 : _c.call(host, compilerHost);\n    const parseConfigHost = {\n      useCaseSensitiveFileNames,\n      fileExists: (fileName) => compilerHost.fileExists(fileName),\n      readFile: (fileName) => compilerHost.readFile(fileName),\n      readDirectory: (...args) => compilerHost.readDirectory(...args),\n      trace: compilerHost.trace,\n      getCurrentDirectory: compilerHost.getCurrentDirectory,\n      onUnRecoverableConfigFileDiagnostic: noop\n    };\n    const documentRegistryBucketKey = documentRegistry.getKeyForCompilationSettings(newSettings);\n    PerformanceDotting.start(\"isProgramUptoDate\");\n    if (isProgramUptoDate(program, rootFileNames, newSettings, (_path, fileName) => host.getScriptVersion(fileName), (fileName) => compilerHost.fileExists(fileName), hasInvalidatedResolutions, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {\n      PerformanceDotting.stop(\"isProgramUptoDate\");\n      host.clearFileCache && host.clearFileCache();\n      return;\n    }\n    PerformanceDotting.stop(\"isProgramUptoDate\");\n    host.clearProps && host.clearProps();\n    compilerHost.getLastCompiledProgram = () => {\n      return program;\n    };\n    const options = {\n      rootNames: rootFileNames,\n      options: newSettings,\n      host: compilerHost,\n      oldProgram: program,\n      projectReferences\n    };\n    if (isCreateIncrementalProgramMode) {\n      if (withLinterProgram) {\n        PerformanceDotting.start(\"createIncrementalProgramForArkTs\");\n        builderProgram = createIncrementalProgramForArkTs(options);\n        PerformanceDotting.stop(\"createIncrementalProgramForArkTs\");\n      } else {\n        builderProgram = createIncrementalProgram(options);\n      }\n      program = builderProgram.getProgram();\n    } else {\n      program = createProgram(options);\n    }\n    compilerHost = void 0;\n    parsedCommandLines = void 0;\n    sourceMapper.clearCache();\n    program.getTypeChecker();\n    host.clearFileCache && host.clearFileCache();\n    return;\n    function getParsedCommandLine(fileName) {\n      const path = toPath(fileName, currentDirectory, getCanonicalFileName);\n      const existing = parsedCommandLines == null ? void 0 : parsedCommandLines.get(path);\n      if (existing !== void 0)\n        return existing || void 0;\n      const result = host.getParsedCommandLine ? host.getParsedCommandLine(fileName) : getParsedCommandLineOfConfigFileUsingSourceFile(fileName);\n      (parsedCommandLines || (parsedCommandLines = new Map2())).set(path, result || false);\n      return result;\n    }\n    function getParsedCommandLineOfConfigFileUsingSourceFile(configFileName) {\n      const result = getOrCreateSourceFile(configFileName, 100 /* JSON */);\n      if (!result)\n        return void 0;\n      result.path = toPath(configFileName, currentDirectory, getCanonicalFileName);\n      result.resolvedPath = result.path;\n      result.originalFileName = result.fileName;\n      return parseJsonSourceFileConfigFileContent(\n        result,\n        parseConfigHost,\n        getNormalizedAbsolutePath(getDirectoryPath(configFileName), currentDirectory),\n        void 0,\n        getNormalizedAbsolutePath(configFileName, currentDirectory)\n      );\n    }\n    function onReleaseParsedCommandLine(configFileName, oldResolvedRef, oldOptions) {\n      var _a4;\n      if (host.getParsedCommandLine) {\n        (_a4 = host.onReleaseParsedCommandLine) == null ? void 0 : _a4.call(host, configFileName, oldResolvedRef, oldOptions);\n      } else if (oldResolvedRef) {\n        onReleaseOldSourceFile(oldResolvedRef.sourceFile, oldOptions);\n      }\n    }\n    function onReleaseOldSourceFile(oldSourceFile, oldOptions) {\n      const oldSettingsKey = documentRegistry.getKeyForCompilationSettings(oldOptions);\n      documentRegistry.releaseDocumentWithKey(oldSourceFile.resolvedPath, oldSettingsKey, oldSourceFile.scriptKind, oldSourceFile.impliedNodeFormat);\n    }\n    function getOrCreateSourceFile(fileName, languageVersionOrOptions, onError, shouldCreateNewSourceFile) {\n      return getOrCreateSourceFileByPath(fileName, toPath(fileName, currentDirectory, getCanonicalFileName), languageVersionOrOptions, onError, shouldCreateNewSourceFile);\n    }\n    function getOrCreateSourceFileByPath(fileName, path, languageVersionOrOptions, _onError, shouldCreateNewSourceFile) {\n      const scriptSnapshot = host.getScriptSnapshot(fileName);\n      if (!scriptSnapshot) {\n        return void 0;\n      }\n      const scriptKind = getScriptKind(fileName, host);\n      const scriptVersion = host.getScriptVersion(fileName);\n      if (!shouldCreateNewSourceFile) {\n        const oldSourceFile = program && program.getSourceFileByPath(path);\n        if (oldSourceFile) {\n          if (scriptKind === oldSourceFile.scriptKind) {\n            return documentRegistry.updateDocumentWithKey(fileName, path, host, documentRegistryBucketKey, scriptSnapshot, scriptVersion, scriptKind, languageVersionOrOptions);\n          } else {\n            documentRegistry.releaseDocumentWithKey(oldSourceFile.resolvedPath, documentRegistry.getKeyForCompilationSettings(program.getCompilerOptions()), oldSourceFile.scriptKind, oldSourceFile.impliedNodeFormat);\n          }\n        }\n      }\n      return documentRegistry.acquireDocumentWithKey(fileName, path, host, documentRegistryBucketKey, scriptSnapshot, scriptVersion, scriptKind, languageVersionOrOptions);\n    }\n  }\n  function getProgram() {\n    if (languageServiceMode === 2 /* Syntactic */) {\n      Debug.assert(program === void 0);\n      return void 0;\n    }\n    synchronizeHostData();\n    return program;\n  }\n  function getBuilderProgram(withLinterProgram) {\n    if (languageServiceMode === 2 /* Syntactic */) {\n      Debug.assert(builderProgram === void 0);\n      return void 0;\n    }\n    synchronizeHostData(isIncrementalCompilation(host.getCompilationSettings()), withLinterProgram);\n    return builderProgram;\n  }\n  function getAutoImportProvider() {\n    var _a3;\n    return (_a3 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a3.call(host);\n  }\n  function updateIsDefinitionOfReferencedSymbols(referencedSymbols, knownSymbolSpans) {\n    const checker = program.getTypeChecker();\n    const symbol = getSymbolForProgram();\n    if (!symbol)\n      return false;\n    for (const referencedSymbol of referencedSymbols) {\n      for (const ref of referencedSymbol.references) {\n        const refNode = getNodeForSpan(ref);\n        Debug.assertIsDefined(refNode);\n        if (knownSymbolSpans.has(ref) || ts_FindAllReferences_exports.isDeclarationOfSymbol(refNode, symbol)) {\n          knownSymbolSpans.add(ref);\n          ref.isDefinition = true;\n          const mappedSpan = getMappedDocumentSpan(ref, sourceMapper, maybeBind(host, host.fileExists));\n          if (mappedSpan) {\n            knownSymbolSpans.add(mappedSpan);\n          }\n        } else {\n          ref.isDefinition = false;\n        }\n      }\n    }\n    return true;\n    function getSymbolForProgram() {\n      for (const referencedSymbol of referencedSymbols) {\n        for (const ref of referencedSymbol.references) {\n          if (knownSymbolSpans.has(ref)) {\n            const refNode = getNodeForSpan(ref);\n            Debug.assertIsDefined(refNode);\n            return checker.getSymbolAtLocation(refNode);\n          }\n          const mappedSpan = getMappedDocumentSpan(ref, sourceMapper, maybeBind(host, host.fileExists));\n          if (mappedSpan && knownSymbolSpans.has(mappedSpan)) {\n            const refNode = getNodeForSpan(mappedSpan);\n            if (refNode) {\n              return checker.getSymbolAtLocation(refNode);\n            }\n          }\n        }\n      }\n      return void 0;\n    }\n    function getNodeForSpan(docSpan) {\n      const sourceFile = program.getSourceFile(docSpan.fileName);\n      if (!sourceFile)\n        return void 0;\n      const rawNode = getTouchingPropertyName(sourceFile, docSpan.textSpan.start);\n      const adjustedNode = ts_FindAllReferences_exports.Core.getAdjustedNode(rawNode, { use: ts_FindAllReferences_exports.FindReferencesUse.References });\n      return adjustedNode;\n    }\n  }\n  function cleanupSemanticCache() {\n    program = void 0;\n  }\n  function dispose() {\n    if (program) {\n      const key = documentRegistry.getKeyForCompilationSettings(program.getCompilerOptions());\n      forEach(program.getSourceFiles(), (f) => documentRegistry.releaseDocumentWithKey(f.resolvedPath, key, f.scriptKind, f.impliedNodeFormat));\n      program = void 0;\n    }\n    host = void 0;\n  }\n  function getSyntacticDiagnostics(fileName) {\n    synchronizeHostData();\n    return program.getSyntacticDiagnostics(getValidSourceFile(fileName), cancellationToken).slice();\n  }\n  function getSemanticDiagnostics(fileName) {\n    synchronizeHostData();\n    const targetSourceFile = getValidSourceFile(fileName);\n    const semanticDiagnostics = program.getSemanticDiagnostics(targetSourceFile, cancellationToken);\n    if (!getEmitDeclarations(program.getCompilerOptions())) {\n      return semanticDiagnostics.slice();\n    }\n    const declarationDiagnostics = program.getDeclarationDiagnostics(targetSourceFile, cancellationToken);\n    return [...semanticDiagnostics, ...declarationDiagnostics];\n  }\n  function getSuggestionDiagnostics(fileName) {\n    synchronizeHostData();\n    return computeSuggestionDiagnostics(getValidSourceFile(fileName), program, cancellationToken);\n  }\n  function getCompilerOptionsDiagnostics() {\n    synchronizeHostData();\n    return [...program.getOptionsDiagnostics(cancellationToken), ...program.getGlobalDiagnostics(cancellationToken)];\n  }\n  function getCompletionsAtPosition2(fileName, position, options = emptyOptions, formattingSettings) {\n    const fullPreferences = {\n      ...identity(options),\n      includeCompletionsForModuleExports: options.includeCompletionsForModuleExports || options.includeExternalModuleExports,\n      includeCompletionsWithInsertText: options.includeCompletionsWithInsertText || options.includeInsertTextCompletions\n    };\n    synchronizeHostData();\n    return ts_Completions_exports.getCompletionsAtPosition(\n      host,\n      program,\n      log,\n      getValidSourceFile(fileName),\n      position,\n      fullPreferences,\n      options.triggerCharacter,\n      options.triggerKind,\n      cancellationToken,\n      formattingSettings && ts_formatting_exports.getFormatContext(formattingSettings, host)\n    );\n  }\n  function getCompletionEntryDetails2(fileName, position, name, formattingOptions, source, preferences = emptyOptions, data) {\n    synchronizeHostData();\n    return ts_Completions_exports.getCompletionEntryDetails(\n      program,\n      log,\n      getValidSourceFile(fileName),\n      position,\n      { name, source, data },\n      host,\n      formattingOptions && ts_formatting_exports.getFormatContext(formattingOptions, host),\n      preferences,\n      cancellationToken\n    );\n  }\n  function getCompletionEntrySymbol2(fileName, position, name, source, preferences = emptyOptions) {\n    synchronizeHostData();\n    return ts_Completions_exports.getCompletionEntrySymbol(program, log, getValidSourceFile(fileName), position, { name, source }, host, preferences);\n  }\n  function getQuickInfoAtPosition(fileName, position) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    const node = getTouchingPropertyName(sourceFile, position);\n    if (node === sourceFile) {\n      return void 0;\n    }\n    const typeChecker3 = program.getTypeChecker();\n    const nodeForQuickInfo = getNodeForQuickInfo(node);\n    const symbol = getSymbolAtLocationForQuickInfo(nodeForQuickInfo, typeChecker3);\n    if (!symbol || typeChecker3.isUnknownSymbol(symbol)) {\n      const type = shouldGetType(sourceFile, nodeForQuickInfo, position) ? typeChecker3.getTypeAtLocation(nodeForQuickInfo) : void 0;\n      return type && {\n        kind: \"\" /* unknown */,\n        kindModifiers: \"\" /* none */,\n        textSpan: createTextSpanFromNode(nodeForQuickInfo, sourceFile),\n        displayParts: typeChecker3.runWithCancellationToken(cancellationToken, (typeChecker4) => typeToDisplayParts(typeChecker4, type, getContainerNode(nodeForQuickInfo))),\n        documentation: type.symbol ? type.symbol.getDocumentationComment(typeChecker3) : void 0,\n        tags: type.symbol ? type.symbol.getJsDocTags(typeChecker3) : void 0\n      };\n    }\n    const { symbolKind, displayParts, documentation, tags } = typeChecker3.runWithCancellationToken(\n      cancellationToken,\n      (typeChecker4) => ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker4, symbol, sourceFile, getContainerNode(nodeForQuickInfo), nodeForQuickInfo)\n    );\n    return {\n      kind: symbolKind,\n      kindModifiers: ts_SymbolDisplay_exports.getSymbolModifiers(typeChecker3, symbol),\n      textSpan: createTextSpanFromNode(nodeForQuickInfo, sourceFile),\n      displayParts,\n      documentation,\n      tags\n    };\n  }\n  function getNodeForQuickInfo(node) {\n    if (isNewExpression(node.parent) && node.pos === node.parent.pos) {\n      return node.parent.expression;\n    }\n    if (isNamedTupleMember(node.parent) && node.pos === node.parent.pos) {\n      return node.parent;\n    }\n    if (isImportMeta(node.parent) && node.parent.name === node) {\n      return node.parent;\n    }\n    return node;\n  }\n  function shouldGetType(sourceFile, node, position) {\n    switch (node.kind) {\n      case 79 /* Identifier */:\n        return !isLabelName(node) && !isTagName(node) && !isConstTypeReference(node.parent);\n      case 211 /* PropertyAccessExpression */:\n      case 165 /* QualifiedName */:\n        return !isInComment(sourceFile, position);\n      case 109 /* ThisKeyword */:\n      case 197 /* ThisType */:\n      case 107 /* SuperKeyword */:\n      case 202 /* NamedTupleMember */:\n        return true;\n      case 237 /* MetaProperty */:\n        return isImportMeta(node);\n      default:\n        return false;\n    }\n  }\n  function getDefinitionAtPosition2(fileName, position, searchOtherFilesOnly, stopAtAlias) {\n    synchronizeHostData();\n    return ts_GoToDefinition_exports.getDefinitionAtPosition(program, getValidSourceFile(fileName), position, searchOtherFilesOnly, stopAtAlias);\n  }\n  function getDefinitionAndBoundSpan2(fileName, position) {\n    synchronizeHostData();\n    return ts_GoToDefinition_exports.getDefinitionAndBoundSpan(program, getValidSourceFile(fileName), position);\n  }\n  function getTypeDefinitionAtPosition2(fileName, position) {\n    synchronizeHostData();\n    return ts_GoToDefinition_exports.getTypeDefinitionAtPosition(program.getTypeChecker(), getValidSourceFile(fileName), position);\n  }\n  function getImplementationAtPosition(fileName, position) {\n    synchronizeHostData();\n    return ts_FindAllReferences_exports.getImplementationsAtPosition(program, cancellationToken, program.getSourceFiles(), getValidSourceFile(fileName), position);\n  }\n  function getOccurrencesAtPosition(fileName, position) {\n    return flatMap(\n      getDocumentHighlights(fileName, position, [fileName]),\n      (entry) => entry.highlightSpans.map((highlightSpan) => ({\n        fileName: entry.fileName,\n        textSpan: highlightSpan.textSpan,\n        isWriteAccess: highlightSpan.kind === \"writtenReference\" /* writtenReference */,\n        ...highlightSpan.isInString && { isInString: true },\n        ...highlightSpan.contextSpan && { contextSpan: highlightSpan.contextSpan }\n      }))\n    );\n  }\n  function getDocumentHighlights(fileName, position, filesToSearch) {\n    const normalizedFileName = normalizePath(fileName);\n    Debug.assert(filesToSearch.some((f) => normalizePath(f) === normalizedFileName));\n    synchronizeHostData();\n    const sourceFilesToSearch = mapDefined(filesToSearch, (fileName2) => program.getSourceFile(fileName2));\n    const sourceFile = getValidSourceFile(fileName);\n    return DocumentHighlights2.getDocumentHighlights(program, cancellationToken, sourceFile, position, sourceFilesToSearch);\n  }\n  function findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    const node = getAdjustedRenameLocation(getTouchingPropertyName(sourceFile, position));\n    if (!ts_Rename_exports.nodeIsEligibleForRename(node))\n      return void 0;\n    if (isIdentifier(node) && (isJsxOpeningElement(node.parent) || isJsxClosingElement(node.parent)) && isIntrinsicJsxName(node.escapedText)) {\n      const { openingElement, closingElement } = node.parent.parent;\n      return [openingElement, closingElement].map((node2) => {\n        const textSpan = createTextSpanFromNode(node2.tagName, sourceFile);\n        return {\n          fileName: sourceFile.fileName,\n          textSpan,\n          ...ts_FindAllReferences_exports.toContextSpan(textSpan, sourceFile, node2.parent)\n        };\n      });\n    } else {\n      return getReferencesWorker(\n        node,\n        position,\n        { findInStrings, findInComments, providePrefixAndSuffixTextForRename, use: ts_FindAllReferences_exports.FindReferencesUse.Rename },\n        (entry, originalNode, checker) => ts_FindAllReferences_exports.toRenameLocation(entry, originalNode, checker, providePrefixAndSuffixTextForRename || false)\n      );\n    }\n  }\n  function getReferencesAtPosition(fileName, position) {\n    synchronizeHostData();\n    return getReferencesWorker(getTouchingPropertyName(getValidSourceFile(fileName), position), position, { use: ts_FindAllReferences_exports.FindReferencesUse.References }, ts_FindAllReferences_exports.toReferenceEntry);\n  }\n  function getReferencesWorker(node, position, options, cb) {\n    synchronizeHostData();\n    const sourceFiles = options && options.use === ts_FindAllReferences_exports.FindReferencesUse.Rename ? program.getSourceFiles().filter((sourceFile) => !program.isSourceFileDefaultLibrary(sourceFile)) : program.getSourceFiles();\n    return ts_FindAllReferences_exports.findReferenceOrRenameEntries(program, cancellationToken, sourceFiles, node, position, options, cb);\n  }\n  function findReferences(fileName, position) {\n    synchronizeHostData();\n    return ts_FindAllReferences_exports.findReferencedSymbols(program, cancellationToken, program.getSourceFiles(), getValidSourceFile(fileName), position);\n  }\n  function getFileReferences(fileName) {\n    synchronizeHostData();\n    return ts_FindAllReferences_exports.Core.getReferencesForFileName(fileName, program, program.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry);\n  }\n  function getNavigateToItems2(searchValue, maxResultCount, fileName, excludeDtsFiles = false) {\n    synchronizeHostData();\n    const sourceFiles = fileName ? [getValidSourceFile(fileName)] : program.getSourceFiles();\n    return getNavigateToItems(sourceFiles, program.getTypeChecker(), cancellationToken, searchValue, maxResultCount, excludeDtsFiles);\n  }\n  function getEmitOutput(fileName, emitOnlyDtsFiles, forceDtsEmit) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    const customTransformers = host.getCustomTransformers && host.getCustomTransformers();\n    return getFileEmitOutput(program, sourceFile, !!emitOnlyDtsFiles, cancellationToken, customTransformers, forceDtsEmit);\n  }\n  function getSignatureHelpItems2(fileName, position, { triggerReason } = emptyOptions) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    return ts_SignatureHelp_exports.getSignatureHelpItems(program, sourceFile, position, triggerReason, cancellationToken);\n  }\n  function getNonBoundSourceFile(fileName) {\n    return syntaxTreeCache.getCurrentSourceFile(fileName);\n  }\n  function getNameOrDottedNameSpan(fileName, startPos, _endPos) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const node = getTouchingPropertyName(sourceFile, startPos);\n    if (node === sourceFile) {\n      return void 0;\n    }\n    switch (node.kind) {\n      case 211 /* PropertyAccessExpression */:\n      case 165 /* QualifiedName */:\n      case 10 /* StringLiteral */:\n      case 96 /* FalseKeyword */:\n      case 111 /* TrueKeyword */:\n      case 105 /* NullKeyword */:\n      case 107 /* SuperKeyword */:\n      case 109 /* ThisKeyword */:\n      case 197 /* ThisType */:\n      case 79 /* Identifier */:\n        break;\n      default:\n        return void 0;\n    }\n    let nodeForStartPos = node;\n    while (true) {\n      if (isRightSideOfPropertyAccess(nodeForStartPos) || isRightSideOfQualifiedName(nodeForStartPos)) {\n        nodeForStartPos = nodeForStartPos.parent;\n      } else if (isNameOfModuleDeclaration(nodeForStartPos)) {\n        if (nodeForStartPos.parent.parent.kind === 270 /* ModuleDeclaration */ && nodeForStartPos.parent.parent.body === nodeForStartPos.parent) {\n          nodeForStartPos = nodeForStartPos.parent.parent.name;\n        } else {\n          break;\n        }\n      } else {\n        break;\n      }\n    }\n    return createTextSpanFromBounds(nodeForStartPos.getStart(), node.getEnd());\n  }\n  function getBreakpointStatementAtPosition(fileName, position) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(sourceFile, position);\n  }\n  function getNavigationBarItems2(fileName) {\n    return getNavigationBarItems(syntaxTreeCache.getCurrentSourceFile(fileName), cancellationToken);\n  }\n  function getNavigationTree2(fileName) {\n    return getNavigationTree(syntaxTreeCache.getCurrentSourceFile(fileName), cancellationToken);\n  }\n  function getSemanticClassifications3(fileName, span, format) {\n    synchronizeHostData();\n    const responseFormat = format || \"original\" /* Original */;\n    if (responseFormat === \"2020\" /* TwentyTwenty */) {\n      return ts_classifier_exports.v2020.getSemanticClassifications(program, cancellationToken, getValidSourceFile(fileName), span);\n    } else {\n      return getSemanticClassifications(program.getTypeChecker(), cancellationToken, getValidSourceFile(fileName), program.getClassifiableNames(), span);\n    }\n  }\n  function getEncodedSemanticClassifications3(fileName, span, format) {\n    synchronizeHostData();\n    const responseFormat = format || \"original\" /* Original */;\n    if (responseFormat === \"original\" /* Original */) {\n      return getEncodedSemanticClassifications(program.getTypeChecker(), cancellationToken, getValidSourceFile(fileName), program.getClassifiableNames(), span);\n    } else {\n      return ts_classifier_exports.v2020.getEncodedSemanticClassifications(program, cancellationToken, getValidSourceFile(fileName), span);\n    }\n  }\n  function getSyntacticClassifications2(fileName, span) {\n    return getSyntacticClassifications(cancellationToken, syntaxTreeCache.getCurrentSourceFile(fileName), span);\n  }\n  function getEncodedSyntacticClassifications2(fileName, span) {\n    return getEncodedSyntacticClassifications(cancellationToken, syntaxTreeCache.getCurrentSourceFile(fileName), span);\n  }\n  function getOutliningSpans(fileName) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    return ts_OutliningElementsCollector_exports.collectElements(sourceFile, cancellationToken);\n  }\n  const braceMatching = new Map2(getEntries({\n    [18 /* OpenBraceToken */]: 19 /* CloseBraceToken */,\n    [20 /* OpenParenToken */]: 21 /* CloseParenToken */,\n    [22 /* OpenBracketToken */]: 23 /* CloseBracketToken */,\n    [31 /* GreaterThanToken */]: 29 /* LessThanToken */\n  }));\n  braceMatching.forEach((value, key) => braceMatching.set(value.toString(), Number(key)));\n  function getBraceMatchingAtPosition(fileName, position) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const token = getTouchingToken(sourceFile, position);\n    const matchKind = token.getStart(sourceFile) === position ? braceMatching.get(token.kind.toString()) : void 0;\n    const match = matchKind && findChildOfKind(token.parent, matchKind, sourceFile);\n    return match ? [createTextSpanFromNode(token, sourceFile), createTextSpanFromNode(match, sourceFile)].sort((a, b) => a.start - b.start) : emptyArray;\n  }\n  function getIndentationAtPosition(fileName, position, editorOptions) {\n    let start = timestamp();\n    const settings = toEditorSettings(editorOptions);\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    log(\"getIndentationAtPosition: getCurrentSourceFile: \" + (timestamp() - start));\n    start = timestamp();\n    const result = ts_formatting_exports.SmartIndenter.getIndentation(position, sourceFile, settings);\n    log(\"getIndentationAtPosition: computeIndentation  : \" + (timestamp() - start));\n    return result;\n  }\n  function getFormattingEditsForRange(fileName, start, end, options) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    return ts_formatting_exports.formatSelection(start, end, sourceFile, ts_formatting_exports.getFormatContext(toEditorSettings(options), host));\n  }\n  function getFormattingEditsForDocument(fileName, options) {\n    return ts_formatting_exports.formatDocument(syntaxTreeCache.getCurrentSourceFile(fileName), ts_formatting_exports.getFormatContext(toEditorSettings(options), host));\n  }\n  function getFormattingEditsAfterKeystroke(fileName, position, key, options) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const formatContext = ts_formatting_exports.getFormatContext(toEditorSettings(options), host);\n    if (!isInComment(sourceFile, position)) {\n      switch (key) {\n        case \"{\":\n          return ts_formatting_exports.formatOnOpeningCurly(position, sourceFile, formatContext);\n        case \"}\":\n          return ts_formatting_exports.formatOnClosingCurly(position, sourceFile, formatContext);\n        case \";\":\n          return ts_formatting_exports.formatOnSemicolon(position, sourceFile, formatContext);\n        case \"\\n\":\n          return ts_formatting_exports.formatOnEnter(position, sourceFile, formatContext);\n      }\n    }\n    return [];\n  }\n  function getCodeFixesAtPosition(fileName, start, end, errorCodes64, formatOptions, preferences = emptyOptions) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    const span = createTextSpanFromBounds(start, end);\n    const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host);\n    return flatMap(deduplicate(errorCodes64, equateValues, compareValues), (errorCode) => {\n      cancellationToken.throwIfCancellationRequested();\n      return ts_codefix_exports.getFixes({ errorCode, sourceFile, span, program, host, cancellationToken, formatContext, preferences });\n    });\n  }\n  function getCombinedCodeFix(scope, fixId52, formatOptions, preferences = emptyOptions) {\n    synchronizeHostData();\n    Debug.assert(scope.type === \"file\");\n    const sourceFile = getValidSourceFile(scope.fileName);\n    const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host);\n    return ts_codefix_exports.getAllFixes({ fixId: fixId52, sourceFile, program, host, cancellationToken, formatContext, preferences });\n  }\n  function organizeImports2(args, formatOptions, preferences = emptyOptions) {\n    var _a3;\n    synchronizeHostData();\n    Debug.assert(args.type === \"file\");\n    const sourceFile = getValidSourceFile(args.fileName);\n    const formatContext = ts_formatting_exports.getFormatContext(formatOptions, host);\n    const mode = (_a3 = args.mode) != null ? _a3 : args.skipDestructiveCodeActions ? \"SortAndCombine\" /* SortAndCombine */ : \"All\" /* All */;\n    return ts_OrganizeImports_exports.organizeImports(sourceFile, formatContext, host, program, preferences, mode);\n  }\n  function getEditsForFileRename2(oldFilePath, newFilePath, formatOptions, preferences = emptyOptions) {\n    return getEditsForFileRename(getProgram(), oldFilePath, newFilePath, host, ts_formatting_exports.getFormatContext(formatOptions, host), preferences, sourceMapper);\n  }\n  function applyCodeActionCommand(fileName, actionOrFormatSettingsOrUndefined) {\n    const action = typeof fileName === \"string\" ? actionOrFormatSettingsOrUndefined : fileName;\n    return isArray(action) ? Promise.all(action.map((a) => applySingleCodeActionCommand(a))) : applySingleCodeActionCommand(action);\n  }\n  function applySingleCodeActionCommand(action) {\n    const getPath = (path) => toPath(path, currentDirectory, getCanonicalFileName);\n    Debug.assertEqual(action.type, \"install package\");\n    return host.installPackage ? host.installPackage({ fileName: getPath(action.file), packageName: action.packageName }) : Promise.reject(\"Host does not implement `installPackage`\");\n  }\n  function getDocCommentTemplateAtPosition2(fileName, position, options) {\n    return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(host), syntaxTreeCache.getCurrentSourceFile(fileName), position, options);\n  }\n  function isValidBraceCompletionAtPosition(fileName, position, openingBrace) {\n    if (openingBrace === 60 /* lessThan */) {\n      return false;\n    }\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    if (isInString(sourceFile, position)) {\n      return false;\n    }\n    if (isInsideJsxElementOrAttribute(sourceFile, position)) {\n      return openingBrace === 123 /* openBrace */;\n    }\n    if (isInTemplateString(sourceFile, position)) {\n      return false;\n    }\n    switch (openingBrace) {\n      case 39 /* singleQuote */:\n      case 34 /* doubleQuote */:\n      case 96 /* backtick */:\n        return !isInComment(sourceFile, position);\n    }\n    return true;\n  }\n  function getJsxClosingTagAtPosition(fileName, position) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const token = findPrecedingToken(position, sourceFile);\n    if (!token)\n      return void 0;\n    const element = token.kind === 31 /* GreaterThanToken */ && isJsxOpeningElement(token.parent) ? token.parent.parent : isJsxText(token) && isJsxElement(token.parent) ? token.parent : void 0;\n    if (element && isUnclosedTag(element)) {\n      return { newText: `</${element.openingElement.tagName.getText(sourceFile)}>` };\n    }\n    const fragment = token.kind === 31 /* GreaterThanToken */ && isJsxOpeningFragment(token.parent) ? token.parent.parent : isJsxText(token) && isJsxFragment(token.parent) ? token.parent : void 0;\n    if (fragment && isUnclosedFragment(fragment)) {\n      return { newText: \"</>\" };\n    }\n  }\n  function getLinesForRange(sourceFile, textRange) {\n    return {\n      lineStarts: sourceFile.getLineStarts(),\n      firstLine: sourceFile.getLineAndCharacterOfPosition(textRange.pos).line,\n      lastLine: sourceFile.getLineAndCharacterOfPosition(textRange.end).line\n    };\n  }\n  function toggleLineComment(fileName, textRange, insertComment) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const textChanges3 = [];\n    const { lineStarts, firstLine, lastLine } = getLinesForRange(sourceFile, textRange);\n    let isCommenting = insertComment || false;\n    let leftMostPosition = Number.MAX_VALUE;\n    const lineTextStarts = new Map2();\n    const firstNonWhitespaceCharacterRegex = new RegExp(/\\S/);\n    const isJsx = isInsideJsxElement(sourceFile, lineStarts[firstLine]);\n    const openComment = isJsx ? \"{/*\" : \"//\";\n    for (let i = firstLine; i <= lastLine; i++) {\n      const lineText = sourceFile.text.substring(lineStarts[i], sourceFile.getLineEndOfPosition(lineStarts[i]));\n      const regExec = firstNonWhitespaceCharacterRegex.exec(lineText);\n      if (regExec) {\n        leftMostPosition = Math.min(leftMostPosition, regExec.index);\n        lineTextStarts.set(i.toString(), regExec.index);\n        if (lineText.substr(regExec.index, openComment.length) !== openComment) {\n          isCommenting = insertComment === void 0 || insertComment;\n        }\n      }\n    }\n    for (let i = firstLine; i <= lastLine; i++) {\n      if (firstLine !== lastLine && lineStarts[i] === textRange.end) {\n        continue;\n      }\n      const lineTextStart = lineTextStarts.get(i.toString());\n      if (lineTextStart !== void 0) {\n        if (isJsx) {\n          textChanges3.push.apply(textChanges3, toggleMultilineComment(fileName, { pos: lineStarts[i] + leftMostPosition, end: sourceFile.getLineEndOfPosition(lineStarts[i]) }, isCommenting, isJsx));\n        } else if (isCommenting) {\n          textChanges3.push({\n            newText: openComment,\n            span: {\n              length: 0,\n              start: lineStarts[i] + leftMostPosition\n            }\n          });\n        } else if (sourceFile.text.substr(lineStarts[i] + lineTextStart, openComment.length) === openComment) {\n          textChanges3.push({\n            newText: \"\",\n            span: {\n              length: openComment.length,\n              start: lineStarts[i] + lineTextStart\n            }\n          });\n        }\n      }\n    }\n    return textChanges3;\n  }\n  function toggleMultilineComment(fileName, textRange, insertComment, isInsideJsx) {\n    var _a3;\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const textChanges3 = [];\n    const { text } = sourceFile;\n    let hasComment = false;\n    let isCommenting = insertComment || false;\n    const positions = [];\n    let { pos } = textRange;\n    const isJsx = isInsideJsx !== void 0 ? isInsideJsx : isInsideJsxElement(sourceFile, pos);\n    const openMultiline = isJsx ? \"{/*\" : \"/*\";\n    const closeMultiline = isJsx ? \"*/}\" : \"*/\";\n    const openMultilineRegex = isJsx ? \"\\\\{\\\\/\\\\*\" : \"\\\\/\\\\*\";\n    const closeMultilineRegex = isJsx ? \"\\\\*\\\\/\\\\}\" : \"\\\\*\\\\/\";\n    while (pos <= textRange.end) {\n      const offset = text.substr(pos, openMultiline.length) === openMultiline ? openMultiline.length : 0;\n      const commentRange = isInComment(sourceFile, pos + offset);\n      if (commentRange) {\n        if (isJsx) {\n          commentRange.pos--;\n          commentRange.end++;\n        }\n        positions.push(commentRange.pos);\n        if (commentRange.kind === 3 /* MultiLineCommentTrivia */) {\n          positions.push(commentRange.end);\n        }\n        hasComment = true;\n        pos = commentRange.end + 1;\n      } else {\n        const newPos = text.substring(pos, textRange.end).search(`(${openMultilineRegex})|(${closeMultilineRegex})`);\n        isCommenting = insertComment !== void 0 ? insertComment : isCommenting || !isTextWhiteSpaceLike(text, pos, newPos === -1 ? textRange.end : pos + newPos);\n        pos = newPos === -1 ? textRange.end + 1 : pos + newPos + closeMultiline.length;\n      }\n    }\n    if (isCommenting || !hasComment) {\n      if (((_a3 = isInComment(sourceFile, textRange.pos)) == null ? void 0 : _a3.kind) !== 2 /* SingleLineCommentTrivia */) {\n        insertSorted(positions, textRange.pos, compareValues);\n      }\n      insertSorted(positions, textRange.end, compareValues);\n      const firstPos = positions[0];\n      if (text.substr(firstPos, openMultiline.length) !== openMultiline) {\n        textChanges3.push({\n          newText: openMultiline,\n          span: {\n            length: 0,\n            start: firstPos\n          }\n        });\n      }\n      for (let i = 1; i < positions.length - 1; i++) {\n        if (text.substr(positions[i] - closeMultiline.length, closeMultiline.length) !== closeMultiline) {\n          textChanges3.push({\n            newText: closeMultiline,\n            span: {\n              length: 0,\n              start: positions[i]\n            }\n          });\n        }\n        if (text.substr(positions[i], openMultiline.length) !== openMultiline) {\n          textChanges3.push({\n            newText: openMultiline,\n            span: {\n              length: 0,\n              start: positions[i]\n            }\n          });\n        }\n      }\n      if (textChanges3.length % 2 !== 0) {\n        textChanges3.push({\n          newText: closeMultiline,\n          span: {\n            length: 0,\n            start: positions[positions.length - 1]\n          }\n        });\n      }\n    } else {\n      for (const pos2 of positions) {\n        const from = pos2 - closeMultiline.length > 0 ? pos2 - closeMultiline.length : 0;\n        const offset = text.substr(from, closeMultiline.length) === closeMultiline ? closeMultiline.length : 0;\n        textChanges3.push({\n          newText: \"\",\n          span: {\n            length: openMultiline.length,\n            start: pos2 - offset\n          }\n        });\n      }\n    }\n    return textChanges3;\n  }\n  function commentSelection(fileName, textRange) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const { firstLine, lastLine } = getLinesForRange(sourceFile, textRange);\n    return firstLine === lastLine && textRange.pos !== textRange.end ? toggleMultilineComment(fileName, textRange, true) : toggleLineComment(fileName, textRange, true);\n  }\n  function uncommentSelection(fileName, textRange) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const textChanges3 = [];\n    const { pos } = textRange;\n    let { end } = textRange;\n    if (pos === end) {\n      end += isInsideJsxElement(sourceFile, pos) ? 2 : 1;\n    }\n    for (let i = pos; i <= end; i++) {\n      const commentRange = isInComment(sourceFile, i);\n      if (commentRange) {\n        switch (commentRange.kind) {\n          case 2 /* SingleLineCommentTrivia */:\n            textChanges3.push.apply(textChanges3, toggleLineComment(fileName, { end: commentRange.end, pos: commentRange.pos + 1 }, false));\n            break;\n          case 3 /* MultiLineCommentTrivia */:\n            textChanges3.push.apply(textChanges3, toggleMultilineComment(fileName, { end: commentRange.end, pos: commentRange.pos + 1 }, false));\n        }\n        i = commentRange.end + 1;\n      }\n    }\n    return textChanges3;\n  }\n  function isUnclosedTag({ openingElement, closingElement, parent: parent2 }) {\n    return !tagNamesAreEquivalent(openingElement.tagName, closingElement.tagName) || isJsxElement(parent2) && tagNamesAreEquivalent(openingElement.tagName, parent2.openingElement.tagName) && isUnclosedTag(parent2);\n  }\n  function isUnclosedFragment({ closingFragment, parent: parent2 }) {\n    return !!(closingFragment.flags & 131072 /* ThisNodeHasError */) || isJsxFragment(parent2) && isUnclosedFragment(parent2);\n  }\n  function getSpanOfEnclosingComment(fileName, position, onlyMultiLine) {\n    const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);\n    const range = ts_formatting_exports.getRangeOfEnclosingComment(sourceFile, position);\n    return range && (!onlyMultiLine || range.kind === 3 /* MultiLineCommentTrivia */) ? createTextSpanFromRange(range) : void 0;\n  }\n  function getTodoComments(fileName, descriptors) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    cancellationToken.throwIfCancellationRequested();\n    const fileContents = sourceFile.text;\n    const result = [];\n    if (descriptors.length > 0 && !isNodeModulesFile(sourceFile.fileName) && !isOHModulesFile(sourceFile.fileName)) {\n      const regExp = getTodoCommentsRegExp();\n      let matchArray;\n      while (matchArray = regExp.exec(fileContents)) {\n        cancellationToken.throwIfCancellationRequested();\n        const firstDescriptorCaptureIndex = 3;\n        Debug.assert(matchArray.length === descriptors.length + firstDescriptorCaptureIndex);\n        const preamble = matchArray[1];\n        const matchPosition = matchArray.index + preamble.length;\n        if (!isInComment(sourceFile, matchPosition)) {\n          continue;\n        }\n        let descriptor;\n        for (let i = 0; i < descriptors.length; i++) {\n          if (matchArray[i + firstDescriptorCaptureIndex]) {\n            descriptor = descriptors[i];\n          }\n        }\n        if (descriptor === void 0)\n          return Debug.fail();\n        if (isLetterOrDigit(fileContents.charCodeAt(matchPosition + descriptor.text.length))) {\n          continue;\n        }\n        const message = matchArray[2];\n        result.push({ descriptor, message, position: matchPosition });\n      }\n    }\n    return result;\n    function escapeRegExp(str) {\n      return str.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, \"\\\\$&\");\n    }\n    function getTodoCommentsRegExp() {\n      const singleLineCommentStart = /(?:\\/\\/+\\s*)/.source;\n      const multiLineCommentStart = /(?:\\/\\*+\\s*)/.source;\n      const anyNumberOfSpacesAndAsterisksAtStartOfLine = /(?:^(?:\\s|\\*)*)/.source;\n      const preamble = \"(\" + anyNumberOfSpacesAndAsterisksAtStartOfLine + \"|\" + singleLineCommentStart + \"|\" + multiLineCommentStart + \")\";\n      const literals = \"(?:\" + map(descriptors, (d) => \"(\" + escapeRegExp(d.text) + \")\").join(\"|\") + \")\";\n      const endOfLineOrEndOfComment = /(?:$|\\*\\/)/.source;\n      const messageRemainder = /(?:.*?)/.source;\n      const messagePortion = \"(\" + literals + messageRemainder + \")\";\n      const regExpString = preamble + messagePortion + endOfLineOrEndOfComment;\n      return new RegExp(regExpString, \"gim\");\n    }\n    function isLetterOrDigit(char) {\n      return char >= 97 /* a */ && char <= 122 /* z */ || char >= 65 /* A */ && char <= 90 /* Z */ || char >= 48 /* _0 */ && char <= 57 /* _9 */;\n    }\n    function isNodeModulesFile(path) {\n      return stringContains(path, \"/node_modules/\");\n    }\n    function isOHModulesFile(path) {\n      return stringContains(path, \"/oh_modules/\");\n    }\n  }\n  function getRenameInfo2(fileName, position, preferences) {\n    synchronizeHostData();\n    return ts_Rename_exports.getRenameInfo(program, getValidSourceFile(fileName), position, preferences || {});\n  }\n  function getRefactorContext(file, positionOrRange, preferences, formatOptions, triggerReason, kind) {\n    const [startPosition, endPosition] = typeof positionOrRange === \"number\" ? [positionOrRange, void 0] : [positionOrRange.pos, positionOrRange.end];\n    return {\n      file,\n      startPosition,\n      endPosition,\n      program: getProgram(),\n      host,\n      formatContext: ts_formatting_exports.getFormatContext(formatOptions, host),\n      cancellationToken,\n      preferences,\n      triggerReason,\n      kind\n    };\n  }\n  function getInlayHintsContext(file, span, preferences) {\n    return {\n      file,\n      program: getProgram(),\n      host,\n      span,\n      preferences,\n      cancellationToken\n    };\n  }\n  function getSmartSelectionRange2(fileName, position) {\n    return ts_SmartSelectionRange_exports.getSmartSelectionRange(position, syntaxTreeCache.getCurrentSourceFile(fileName));\n  }\n  function getApplicableRefactors2(fileName, positionOrRange, preferences = emptyOptions, triggerReason, kind) {\n    synchronizeHostData();\n    const file = getValidSourceFile(fileName);\n    return ts_refactor_exports.getApplicableRefactors(getRefactorContext(file, positionOrRange, preferences, emptyOptions, triggerReason, kind));\n  }\n  function getEditsForRefactor2(fileName, formatOptions, positionOrRange, refactorName13, actionName2, preferences = emptyOptions) {\n    synchronizeHostData();\n    const file = getValidSourceFile(fileName);\n    return ts_refactor_exports.getEditsForRefactor(getRefactorContext(file, positionOrRange, preferences, formatOptions), refactorName13, actionName2);\n  }\n  function toLineColumnOffset(fileName, position) {\n    if (position === 0) {\n      return { line: 0, character: 0 };\n    }\n    return sourceMapper.toLineColumnOffset(fileName, position);\n  }\n  function prepareCallHierarchy(fileName, position) {\n    synchronizeHostData();\n    const declarations = ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(program, getTouchingPropertyName(getValidSourceFile(fileName), position));\n    return declarations && mapOneOrMany(declarations, (declaration) => ts_CallHierarchy_exports.createCallHierarchyItem(program, declaration));\n  }\n  function provideCallHierarchyIncomingCalls(fileName, position) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    const declaration = firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(program, position === 0 ? sourceFile : getTouchingPropertyName(sourceFile, position)));\n    return declaration ? ts_CallHierarchy_exports.getIncomingCalls(program, declaration, cancellationToken) : [];\n  }\n  function provideCallHierarchyOutgoingCalls(fileName, position) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    const declaration = firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(program, position === 0 ? sourceFile : getTouchingPropertyName(sourceFile, position)));\n    return declaration ? ts_CallHierarchy_exports.getOutgoingCalls(program, declaration) : [];\n  }\n  function provideInlayHints2(fileName, span, preferences = emptyOptions) {\n    synchronizeHostData();\n    const sourceFile = getValidSourceFile(fileName);\n    return ts_InlayHints_exports.provideInlayHints(getInlayHintsContext(sourceFile, span, preferences));\n  }\n  function updateRootFiles(rootFiles) {\n    host.getScriptFileNames = () => rootFiles;\n  }\n  function getProps() {\n    return host.uiProps ? host.uiProps : new Set2();\n  }\n  const ls = {\n    dispose,\n    cleanupSemanticCache,\n    getSyntacticDiagnostics,\n    getSemanticDiagnostics,\n    getSuggestionDiagnostics,\n    getCompilerOptionsDiagnostics,\n    getSyntacticClassifications: getSyntacticClassifications2,\n    getSemanticClassifications: getSemanticClassifications3,\n    getEncodedSyntacticClassifications: getEncodedSyntacticClassifications2,\n    getEncodedSemanticClassifications: getEncodedSemanticClassifications3,\n    getCompletionsAtPosition: getCompletionsAtPosition2,\n    getCompletionEntryDetails: getCompletionEntryDetails2,\n    getCompletionEntrySymbol: getCompletionEntrySymbol2,\n    getSignatureHelpItems: getSignatureHelpItems2,\n    getQuickInfoAtPosition,\n    getDefinitionAtPosition: getDefinitionAtPosition2,\n    getDefinitionAndBoundSpan: getDefinitionAndBoundSpan2,\n    getImplementationAtPosition,\n    getTypeDefinitionAtPosition: getTypeDefinitionAtPosition2,\n    getReferencesAtPosition,\n    findReferences,\n    getFileReferences,\n    getOccurrencesAtPosition,\n    getDocumentHighlights,\n    getNameOrDottedNameSpan,\n    getBreakpointStatementAtPosition,\n    getNavigateToItems: getNavigateToItems2,\n    getRenameInfo: getRenameInfo2,\n    getSmartSelectionRange: getSmartSelectionRange2,\n    findRenameLocations,\n    getNavigationBarItems: getNavigationBarItems2,\n    getNavigationTree: getNavigationTree2,\n    getOutliningSpans,\n    getTodoComments,\n    getBraceMatchingAtPosition,\n    getIndentationAtPosition,\n    getFormattingEditsForRange,\n    getFormattingEditsForDocument,\n    getFormattingEditsAfterKeystroke,\n    getDocCommentTemplateAtPosition: getDocCommentTemplateAtPosition2,\n    isValidBraceCompletionAtPosition,\n    getJsxClosingTagAtPosition,\n    getSpanOfEnclosingComment,\n    getCodeFixesAtPosition,\n    getCombinedCodeFix,\n    applyCodeActionCommand,\n    organizeImports: organizeImports2,\n    getEditsForFileRename: getEditsForFileRename2,\n    getEmitOutput,\n    getNonBoundSourceFile,\n    getProgram,\n    getBuilderProgram,\n    getCurrentProgram: () => program,\n    getAutoImportProvider,\n    updateIsDefinitionOfReferencedSymbols,\n    getApplicableRefactors: getApplicableRefactors2,\n    getEditsForRefactor: getEditsForRefactor2,\n    toLineColumnOffset,\n    getSourceMapper: () => sourceMapper,\n    clearSourceMapperCache: () => sourceMapper.clearCache(),\n    prepareCallHierarchy,\n    provideCallHierarchyIncomingCalls,\n    provideCallHierarchyOutgoingCalls,\n    toggleLineComment,\n    toggleMultilineComment,\n    commentSelection,\n    uncommentSelection,\n    provideInlayHints: provideInlayHints2,\n    updateRootFiles,\n    getProps\n  };\n  switch (languageServiceMode) {\n    case 0 /* Semantic */:\n      break;\n    case 1 /* PartialSemantic */:\n      invalidOperationsInPartialSemanticMode.forEach(\n        (key) => ls[key] = () => {\n          throw new Error(`LanguageService Operation: ${key} not allowed in LanguageServiceMode.PartialSemantic`);\n        }\n      );\n      break;\n    case 2 /* Syntactic */:\n      invalidOperationsInSyntacticMode.forEach(\n        (key) => ls[key] = () => {\n          throw new Error(`LanguageService Operation: ${key} not allowed in LanguageServiceMode.Syntactic`);\n        }\n      );\n      break;\n    default:\n      Debug.assertNever(languageServiceMode);\n  }\n  return ls;\n}\nfunction getNameTable(sourceFile) {\n  if (!sourceFile.nameTable) {\n    initializeNameTable(sourceFile);\n  }\n  return sourceFile.nameTable;\n}\nfunction initializeNameTable(sourceFile) {\n  const nameTable = sourceFile.nameTable = new Map2();\n  sourceFile.forEachChild(function walk(node) {\n    if (isIdentifier(node) && !isTagName(node) && node.escapedText || isStringOrNumericLiteralLike(node) && literalIsName(node)) {\n      const text = getEscapedTextOfIdentifierOrLiteral(node);\n      nameTable.set(text, nameTable.get(text) === void 0 ? node.pos : -1);\n    } else if (isPrivateIdentifier(node)) {\n      const text = node.escapedText;\n      nameTable.set(text, nameTable.get(text) === void 0 ? node.pos : -1);\n    }\n    forEachChild(node, walk);\n    if (hasJSDocNodes(node)) {\n      for (const jsDoc of node.jsDoc) {\n        forEachChild(jsDoc, walk);\n      }\n    }\n  });\n}\nfunction literalIsName(node) {\n  return isDeclarationName(node) || node.parent.kind === 286 /* ExternalModuleReference */ || isArgumentOfElementAccessExpression(node) || isLiteralComputedPropertyDeclarationName(node);\n}\nfunction getContainingObjectLiteralElement(node) {\n  const element = getContainingObjectLiteralElementWorker(node);\n  return element && (isObjectLiteralExpression(element.parent) || isJsxAttributes(element.parent)) ? element : void 0;\n}\nfunction getContainingObjectLiteralElementWorker(node) {\n  switch (node.kind) {\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 8 /* NumericLiteral */:\n      if (node.parent.kind === 166 /* ComputedPropertyName */) {\n        return isObjectLiteralElement(node.parent.parent) ? node.parent.parent : void 0;\n      }\n    case 79 /* Identifier */:\n      return isObjectLiteralElement(node.parent) && (node.parent.parent.kind === 210 /* ObjectLiteralExpression */ || node.parent.parent.kind === 295 /* JsxAttributes */) && node.parent.name === node ? node.parent : void 0;\n  }\n  return void 0;\n}\nfunction getSymbolAtLocationForQuickInfo(node, checker) {\n  const object = getContainingObjectLiteralElement(node);\n  if (object) {\n    const contextualType = checker.getContextualType(object.parent);\n    const properties = contextualType && getPropertySymbolsFromContextualType(object, checker, contextualType, false);\n    if (properties && properties.length === 1) {\n      return first(properties);\n    }\n  }\n  return checker.getSymbolAtLocation(node);\n}\nfunction getPropertySymbolsFromContextualType(node, checker, contextualType, unionSymbolOk) {\n  const name = getNameFromPropertyName(node.name);\n  if (!name)\n    return emptyArray;\n  if (!contextualType.isUnion()) {\n    const symbol = contextualType.getProperty(name);\n    return symbol ? [symbol] : emptyArray;\n  }\n  const discriminatedPropertySymbols = mapDefined(contextualType.types, (t) => (isObjectLiteralExpression(node.parent) || isJsxAttributes(node.parent)) && checker.isTypeInvalidDueToUnionDiscriminant(t, node.parent) ? void 0 : t.getProperty(name));\n  if (unionSymbolOk && (discriminatedPropertySymbols.length === 0 || discriminatedPropertySymbols.length === contextualType.types.length)) {\n    const symbol = contextualType.getProperty(name);\n    if (symbol)\n      return [symbol];\n  }\n  if (discriminatedPropertySymbols.length === 0) {\n    return mapDefined(contextualType.types, (t) => t.getProperty(name));\n  }\n  return discriminatedPropertySymbols;\n}\nfunction isArgumentOfElementAccessExpression(node) {\n  return node && node.parent && node.parent.kind === 212 /* ElementAccessExpression */ && node.parent.argumentExpression === node;\n}\nfunction getDefaultLibFilePath(options) {\n  if (sys) {\n    return combinePaths(getDirectoryPath(normalizePath(sys.getExecutingFilePath())), getDefaultLibFileName(options));\n  }\n  throw new Error(\"getDefaultLibFilePath is only supported when consumed as a node module. \");\n}\nsetObjectAllocator(getServicesObjectAllocator());\n\n// src/services/transform.ts\nfunction transform(source, transformers, compilerOptions) {\n  const diagnostics = [];\n  compilerOptions = fixupCompilerOptions(compilerOptions, diagnostics);\n  const nodes = isArray(source) ? source : [source];\n  const result = transformNodes(void 0, void 0, factory, compilerOptions, nodes, transformers, true);\n  result.diagnostics = concatenate(result.diagnostics, diagnostics);\n  return result;\n}\n\n// src/services/shims.ts\nvar debugObjectHost = function() {\n  return this;\n}();\nfunction logInternalError(logger, err) {\n  if (logger) {\n    logger.log(\"*INTERNAL ERROR* - Exception in typescript services: \" + err.message);\n  }\n}\nvar ScriptSnapshotShimAdapter = class {\n  constructor(scriptSnapshotShim) {\n    this.scriptSnapshotShim = scriptSnapshotShim;\n  }\n  getText(start, end) {\n    return this.scriptSnapshotShim.getText(start, end);\n  }\n  getLength() {\n    return this.scriptSnapshotShim.getLength();\n  }\n  getChangeRange(oldSnapshot) {\n    const oldSnapshotShim = oldSnapshot;\n    const encoded = this.scriptSnapshotShim.getChangeRange(oldSnapshotShim.scriptSnapshotShim);\n    if (encoded === null) {\n      return null;\n    }\n    const decoded = JSON.parse(encoded);\n    return createTextChangeRange(\n      createTextSpan(decoded.span.start, decoded.span.length),\n      decoded.newLength\n    );\n  }\n  dispose() {\n    if (\"dispose\" in this.scriptSnapshotShim) {\n      this.scriptSnapshotShim.dispose();\n    }\n  }\n};\nvar LanguageServiceShimHostAdapter = class {\n  constructor(shimHost) {\n    this.shimHost = shimHost;\n    this.loggingEnabled = false;\n    this.tracingEnabled = false;\n    if (\"getModuleResolutionsForFile\" in this.shimHost) {\n      this.resolveModuleNames = (moduleNames, containingFile) => {\n        const resolutionsInFile = JSON.parse(this.shimHost.getModuleResolutionsForFile(containingFile));\n        return map(moduleNames, (name) => {\n          const result = getProperty(resolutionsInFile, name);\n          return result ? { resolvedFileName: result, extension: extensionFromPath(result), isExternalLibraryImport: false } : void 0;\n        });\n      };\n    }\n    if (\"directoryExists\" in this.shimHost) {\n      this.directoryExists = (directoryName) => this.shimHost.directoryExists(directoryName);\n    }\n    if (\"getTypeReferenceDirectiveResolutionsForFile\" in this.shimHost) {\n      this.resolveTypeReferenceDirectives = (typeDirectiveNames, containingFile) => {\n        const typeDirectivesForFile = JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(containingFile));\n        return map(typeDirectiveNames, (name) => getProperty(typeDirectivesForFile, isString(name) ? name : name.fileName.toLowerCase()));\n      };\n    }\n  }\n  log(s) {\n    if (this.loggingEnabled) {\n      this.shimHost.log(s);\n    }\n  }\n  trace(s) {\n    if (this.tracingEnabled) {\n      this.shimHost.trace(s);\n    }\n  }\n  error(s) {\n    this.shimHost.error(s);\n  }\n  getProjectVersion() {\n    if (!this.shimHost.getProjectVersion) {\n      return void 0;\n    }\n    return this.shimHost.getProjectVersion();\n  }\n  getTypeRootsVersion() {\n    if (!this.shimHost.getTypeRootsVersion) {\n      return 0;\n    }\n    return this.shimHost.getTypeRootsVersion();\n  }\n  useCaseSensitiveFileNames() {\n    return this.shimHost.useCaseSensitiveFileNames ? this.shimHost.useCaseSensitiveFileNames() : false;\n  }\n  getCompilationSettings() {\n    const settingsJson = this.shimHost.getCompilationSettings();\n    if (settingsJson === null || settingsJson === \"\") {\n      throw Error(\"LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings\");\n    }\n    const compilerOptions = JSON.parse(settingsJson);\n    compilerOptions.allowNonTsExtensions = true;\n    return compilerOptions;\n  }\n  getScriptFileNames() {\n    const encoded = this.shimHost.getScriptFileNames();\n    return JSON.parse(encoded);\n  }\n  getScriptSnapshot(fileName) {\n    const scriptSnapshot = this.shimHost.getScriptSnapshot(fileName);\n    return scriptSnapshot && new ScriptSnapshotShimAdapter(scriptSnapshot);\n  }\n  getScriptKind(fileName) {\n    if (\"getScriptKind\" in this.shimHost) {\n      return this.shimHost.getScriptKind(fileName);\n    } else {\n      return 0 /* Unknown */;\n    }\n  }\n  getScriptVersion(fileName) {\n    return this.shimHost.getScriptVersion(fileName);\n  }\n  getLocalizedDiagnosticMessages() {\n    const diagnosticMessagesJson = this.shimHost.getLocalizedDiagnosticMessages();\n    if (diagnosticMessagesJson === null || diagnosticMessagesJson === \"\") {\n      return null;\n    }\n    try {\n      return JSON.parse(diagnosticMessagesJson);\n    } catch (e) {\n      this.log(e.description || \"diagnosticMessages.generated.json has invalid JSON format\");\n      return null;\n    }\n  }\n  getCancellationToken() {\n    const hostCancellationToken = this.shimHost.getCancellationToken();\n    return new ThrottledCancellationToken(hostCancellationToken);\n  }\n  getCurrentDirectory() {\n    return this.shimHost.getCurrentDirectory();\n  }\n  getDirectories(path) {\n    return JSON.parse(this.shimHost.getDirectories(path));\n  }\n  getDefaultLibFileName(options) {\n    return this.shimHost.getDefaultLibFileName(JSON.stringify(options));\n  }\n  readDirectory(path, extensions, exclude, include, depth) {\n    const pattern = getFileMatcherPatterns(\n      path,\n      exclude,\n      include,\n      this.shimHost.useCaseSensitiveFileNames(),\n      this.shimHost.getCurrentDirectory()\n    );\n    return JSON.parse(this.shimHost.readDirectory(\n      path,\n      JSON.stringify(extensions),\n      JSON.stringify(pattern.basePaths),\n      pattern.excludePattern,\n      pattern.includeFilePattern,\n      pattern.includeDirectoryPattern,\n      depth\n    ));\n  }\n  readFile(path, encoding) {\n    return this.shimHost.readFile(path, encoding);\n  }\n  fileExists(path) {\n    return this.shimHost.fileExists(path);\n  }\n};\nvar CoreServicesShimHostAdapter = class {\n  constructor(shimHost) {\n    this.shimHost = shimHost;\n    this.useCaseSensitiveFileNames = this.shimHost.useCaseSensitiveFileNames ? this.shimHost.useCaseSensitiveFileNames() : false;\n    if (\"directoryExists\" in this.shimHost) {\n      this.directoryExists = (directoryName) => this.shimHost.directoryExists(directoryName);\n    } else {\n      this.directoryExists = void 0;\n    }\n    if (\"realpath\" in this.shimHost) {\n      this.realpath = (path) => this.shimHost.realpath(path);\n    } else {\n      this.realpath = void 0;\n    }\n  }\n  readDirectory(rootDir, extensions, exclude, include, depth) {\n    const pattern = getFileMatcherPatterns(\n      rootDir,\n      exclude,\n      include,\n      this.shimHost.useCaseSensitiveFileNames(),\n      this.shimHost.getCurrentDirectory()\n    );\n    return JSON.parse(this.shimHost.readDirectory(\n      rootDir,\n      JSON.stringify(extensions),\n      JSON.stringify(pattern.basePaths),\n      pattern.excludePattern,\n      pattern.includeFilePattern,\n      pattern.includeDirectoryPattern,\n      depth\n    ));\n  }\n  fileExists(fileName) {\n    return this.shimHost.fileExists(fileName);\n  }\n  readFile(fileName) {\n    return this.shimHost.readFile(fileName);\n  }\n  getDirectories(path) {\n    return JSON.parse(this.shimHost.getDirectories(path));\n  }\n};\nfunction simpleForwardCall(logger, actionDescription2, action, logPerformance) {\n  let start;\n  if (logPerformance) {\n    logger.log(actionDescription2);\n    start = timestamp();\n  }\n  const result = action();\n  if (logPerformance) {\n    const end = timestamp();\n    logger.log(`${actionDescription2} completed in ${end - start} msec`);\n    if (isString(result)) {\n      let str = result;\n      if (str.length > 128) {\n        str = str.substring(0, 128) + \"...\";\n      }\n      logger.log(`  result.length=${str.length}, result='${JSON.stringify(str)}'`);\n    }\n  }\n  return result;\n}\nfunction forwardJSONCall(logger, actionDescription2, action, logPerformance) {\n  return forwardCall(logger, actionDescription2, true, action, logPerformance);\n}\nfunction forwardCall(logger, actionDescription2, returnJson, action, logPerformance) {\n  try {\n    const result = simpleForwardCall(logger, actionDescription2, action, logPerformance);\n    return returnJson ? JSON.stringify({ result }) : result;\n  } catch (err) {\n    if (err instanceof OperationCanceledException) {\n      return JSON.stringify({ canceled: true });\n    }\n    logInternalError(logger, err);\n    err.description = actionDescription2;\n    return JSON.stringify({ error: err });\n  }\n}\nvar ShimBase = class {\n  constructor(factory2) {\n    this.factory = factory2;\n    factory2.registerShim(this);\n  }\n  dispose(_dummy) {\n    this.factory.unregisterShim(this);\n  }\n};\nfunction realizeDiagnostics(diagnostics, newLine) {\n  return diagnostics.map((d) => realizeDiagnostic(d, newLine));\n}\nfunction realizeDiagnostic(diagnostic, newLine) {\n  return {\n    message: flattenDiagnosticMessageText(diagnostic.messageText, newLine),\n    start: diagnostic.start,\n    length: diagnostic.length,\n    category: diagnosticCategoryName(diagnostic),\n    code: diagnostic.code,\n    reportsUnnecessary: diagnostic.reportsUnnecessary,\n    reportsDeprecated: diagnostic.reportsDeprecated\n  };\n}\nvar LanguageServiceShimObject = class extends ShimBase {\n  constructor(factory2, host, languageService) {\n    super(factory2);\n    this.host = host;\n    this.languageService = languageService;\n    this.logPerformance = false;\n    this.logger = this.host;\n  }\n  forwardJSONCall(actionDescription2, action) {\n    return forwardJSONCall(this.logger, actionDescription2, action, this.logPerformance);\n  }\n  dispose(dummy) {\n    this.logger.log(\"dispose()\");\n    this.languageService.dispose();\n    this.languageService = null;\n    if (debugObjectHost && debugObjectHost.CollectGarbage) {\n      debugObjectHost.CollectGarbage();\n      this.logger.log(\"CollectGarbage()\");\n    }\n    this.logger = null;\n    super.dispose(dummy);\n  }\n  refresh(throwOnError) {\n    this.forwardJSONCall(\n      `refresh(${throwOnError})`,\n      () => null\n    );\n  }\n  cleanupSemanticCache() {\n    this.forwardJSONCall(\n      \"cleanupSemanticCache()\",\n      () => {\n        this.languageService.cleanupSemanticCache();\n        return null;\n      }\n    );\n  }\n  realizeDiagnostics(diagnostics) {\n    const newLine = getNewLineOrDefaultFromHost(this.host);\n    return realizeDiagnostics(diagnostics, newLine);\n  }\n  getSyntacticClassifications(fileName, start, length2) {\n    return this.forwardJSONCall(\n      `getSyntacticClassifications('${fileName}', ${start}, ${length2})`,\n      () => this.languageService.getSyntacticClassifications(fileName, createTextSpan(start, length2))\n    );\n  }\n  getSemanticClassifications(fileName, start, length2) {\n    return this.forwardJSONCall(\n      `getSemanticClassifications('${fileName}', ${start}, ${length2})`,\n      () => this.languageService.getSemanticClassifications(fileName, createTextSpan(start, length2))\n    );\n  }\n  getEncodedSyntacticClassifications(fileName, start, length2) {\n    return this.forwardJSONCall(\n      `getEncodedSyntacticClassifications('${fileName}', ${start}, ${length2})`,\n      () => convertClassifications(this.languageService.getEncodedSyntacticClassifications(fileName, createTextSpan(start, length2)))\n    );\n  }\n  getEncodedSemanticClassifications(fileName, start, length2) {\n    return this.forwardJSONCall(\n      `getEncodedSemanticClassifications('${fileName}', ${start}, ${length2})`,\n      () => convertClassifications(this.languageService.getEncodedSemanticClassifications(fileName, createTextSpan(start, length2)))\n    );\n  }\n  getSyntacticDiagnostics(fileName) {\n    return this.forwardJSONCall(\n      `getSyntacticDiagnostics('${fileName}')`,\n      () => {\n        const diagnostics = this.languageService.getSyntacticDiagnostics(fileName);\n        return this.realizeDiagnostics(diagnostics);\n      }\n    );\n  }\n  getSemanticDiagnostics(fileName) {\n    return this.forwardJSONCall(\n      `getSemanticDiagnostics('${fileName}')`,\n      () => {\n        const diagnostics = this.languageService.getSemanticDiagnostics(fileName);\n        return this.realizeDiagnostics(diagnostics);\n      }\n    );\n  }\n  getSuggestionDiagnostics(fileName) {\n    return this.forwardJSONCall(`getSuggestionDiagnostics('${fileName}')`, () => this.realizeDiagnostics(this.languageService.getSuggestionDiagnostics(fileName)));\n  }\n  getCompilerOptionsDiagnostics() {\n    return this.forwardJSONCall(\n      \"getCompilerOptionsDiagnostics()\",\n      () => {\n        const diagnostics = this.languageService.getCompilerOptionsDiagnostics();\n        return this.realizeDiagnostics(diagnostics);\n      }\n    );\n  }\n  getQuickInfoAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getQuickInfoAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getQuickInfoAtPosition(fileName, position)\n    );\n  }\n  getNameOrDottedNameSpan(fileName, startPos, endPos) {\n    return this.forwardJSONCall(\n      `getNameOrDottedNameSpan('${fileName}', ${startPos}, ${endPos})`,\n      () => this.languageService.getNameOrDottedNameSpan(fileName, startPos, endPos)\n    );\n  }\n  getBreakpointStatementAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getBreakpointStatementAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getBreakpointStatementAtPosition(fileName, position)\n    );\n  }\n  getSignatureHelpItems(fileName, position, options) {\n    return this.forwardJSONCall(\n      `getSignatureHelpItems('${fileName}', ${position})`,\n      () => this.languageService.getSignatureHelpItems(fileName, position, options)\n    );\n  }\n  getDefinitionAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getDefinitionAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getDefinitionAtPosition(fileName, position)\n    );\n  }\n  getDefinitionAndBoundSpan(fileName, position) {\n    return this.forwardJSONCall(\n      `getDefinitionAndBoundSpan('${fileName}', ${position})`,\n      () => this.languageService.getDefinitionAndBoundSpan(fileName, position)\n    );\n  }\n  getTypeDefinitionAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getTypeDefinitionAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getTypeDefinitionAtPosition(fileName, position)\n    );\n  }\n  getImplementationAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getImplementationAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getImplementationAtPosition(fileName, position)\n    );\n  }\n  getRenameInfo(fileName, position, preferences) {\n    return this.forwardJSONCall(\n      `getRenameInfo('${fileName}', ${position})`,\n      () => this.languageService.getRenameInfo(fileName, position, preferences)\n    );\n  }\n  getSmartSelectionRange(fileName, position) {\n    return this.forwardJSONCall(\n      `getSmartSelectionRange('${fileName}', ${position})`,\n      () => this.languageService.getSmartSelectionRange(fileName, position)\n    );\n  }\n  findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename) {\n    return this.forwardJSONCall(\n      `findRenameLocations('${fileName}', ${position}, ${findInStrings}, ${findInComments}, ${providePrefixAndSuffixTextForRename})`,\n      () => this.languageService.findRenameLocations(fileName, position, findInStrings, findInComments, providePrefixAndSuffixTextForRename)\n    );\n  }\n  getBraceMatchingAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getBraceMatchingAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getBraceMatchingAtPosition(fileName, position)\n    );\n  }\n  isValidBraceCompletionAtPosition(fileName, position, openingBrace) {\n    return this.forwardJSONCall(\n      `isValidBraceCompletionAtPosition('${fileName}', ${position}, ${openingBrace})`,\n      () => this.languageService.isValidBraceCompletionAtPosition(fileName, position, openingBrace)\n    );\n  }\n  getSpanOfEnclosingComment(fileName, position, onlyMultiLine) {\n    return this.forwardJSONCall(\n      `getSpanOfEnclosingComment('${fileName}', ${position})`,\n      () => this.languageService.getSpanOfEnclosingComment(fileName, position, onlyMultiLine)\n    );\n  }\n  getIndentationAtPosition(fileName, position, options) {\n    return this.forwardJSONCall(\n      `getIndentationAtPosition('${fileName}', ${position})`,\n      () => {\n        const localOptions = JSON.parse(options);\n        return this.languageService.getIndentationAtPosition(fileName, position, localOptions);\n      }\n    );\n  }\n  getReferencesAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getReferencesAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getReferencesAtPosition(fileName, position)\n    );\n  }\n  findReferences(fileName, position) {\n    return this.forwardJSONCall(\n      `findReferences('${fileName}', ${position})`,\n      () => this.languageService.findReferences(fileName, position)\n    );\n  }\n  getFileReferences(fileName) {\n    return this.forwardJSONCall(\n      `getFileReferences('${fileName})`,\n      () => this.languageService.getFileReferences(fileName)\n    );\n  }\n  getOccurrencesAtPosition(fileName, position) {\n    return this.forwardJSONCall(\n      `getOccurrencesAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getOccurrencesAtPosition(fileName, position)\n    );\n  }\n  getDocumentHighlights(fileName, position, filesToSearch) {\n    return this.forwardJSONCall(\n      `getDocumentHighlights('${fileName}', ${position})`,\n      () => {\n        const results = this.languageService.getDocumentHighlights(fileName, position, JSON.parse(filesToSearch));\n        const normalizedName = toFileNameLowerCase(normalizeSlashes(fileName));\n        return filter(results, (r) => toFileNameLowerCase(normalizeSlashes(r.fileName)) === normalizedName);\n      }\n    );\n  }\n  getCompletionsAtPosition(fileName, position, preferences, formattingSettings) {\n    return this.forwardJSONCall(\n      `getCompletionsAtPosition('${fileName}', ${position}, ${preferences}, ${formattingSettings})`,\n      () => this.languageService.getCompletionsAtPosition(fileName, position, preferences, formattingSettings)\n    );\n  }\n  getCompletionEntryDetails(fileName, position, entryName, formatOptions, source, preferences, data) {\n    return this.forwardJSONCall(\n      `getCompletionEntryDetails('${fileName}', ${position}, '${entryName}')`,\n      () => {\n        const localOptions = formatOptions === void 0 ? void 0 : JSON.parse(formatOptions);\n        return this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source, preferences, data);\n      }\n    );\n  }\n  getFormattingEditsForRange(fileName, start, end, options) {\n    return this.forwardJSONCall(\n      `getFormattingEditsForRange('${fileName}', ${start}, ${end})`,\n      () => {\n        const localOptions = JSON.parse(options);\n        return this.languageService.getFormattingEditsForRange(fileName, start, end, localOptions);\n      }\n    );\n  }\n  getFormattingEditsForDocument(fileName, options) {\n    return this.forwardJSONCall(\n      `getFormattingEditsForDocument('${fileName}')`,\n      () => {\n        const localOptions = JSON.parse(options);\n        return this.languageService.getFormattingEditsForDocument(fileName, localOptions);\n      }\n    );\n  }\n  getFormattingEditsAfterKeystroke(fileName, position, key, options) {\n    return this.forwardJSONCall(\n      `getFormattingEditsAfterKeystroke('${fileName}', ${position}, '${key}')`,\n      () => {\n        const localOptions = JSON.parse(options);\n        return this.languageService.getFormattingEditsAfterKeystroke(fileName, position, key, localOptions);\n      }\n    );\n  }\n  getDocCommentTemplateAtPosition(fileName, position, options) {\n    return this.forwardJSONCall(\n      `getDocCommentTemplateAtPosition('${fileName}', ${position})`,\n      () => this.languageService.getDocCommentTemplateAtPosition(fileName, position, options)\n    );\n  }\n  getNavigateToItems(searchValue, maxResultCount, fileName) {\n    return this.forwardJSONCall(\n      `getNavigateToItems('${searchValue}', ${maxResultCount}, ${fileName})`,\n      () => this.languageService.getNavigateToItems(searchValue, maxResultCount, fileName)\n    );\n  }\n  getNavigationBarItems(fileName) {\n    return this.forwardJSONCall(\n      `getNavigationBarItems('${fileName}')`,\n      () => this.languageService.getNavigationBarItems(fileName)\n    );\n  }\n  getNavigationTree(fileName) {\n    return this.forwardJSONCall(\n      `getNavigationTree('${fileName}')`,\n      () => this.languageService.getNavigationTree(fileName)\n    );\n  }\n  getOutliningSpans(fileName) {\n    return this.forwardJSONCall(\n      `getOutliningSpans('${fileName}')`,\n      () => this.languageService.getOutliningSpans(fileName)\n    );\n  }\n  getTodoComments(fileName, descriptors) {\n    return this.forwardJSONCall(\n      `getTodoComments('${fileName}')`,\n      () => this.languageService.getTodoComments(fileName, JSON.parse(descriptors))\n    );\n  }\n  prepareCallHierarchy(fileName, position) {\n    return this.forwardJSONCall(\n      `prepareCallHierarchy('${fileName}', ${position})`,\n      () => this.languageService.prepareCallHierarchy(fileName, position)\n    );\n  }\n  provideCallHierarchyIncomingCalls(fileName, position) {\n    return this.forwardJSONCall(\n      `provideCallHierarchyIncomingCalls('${fileName}', ${position})`,\n      () => this.languageService.provideCallHierarchyIncomingCalls(fileName, position)\n    );\n  }\n  provideCallHierarchyOutgoingCalls(fileName, position) {\n    return this.forwardJSONCall(\n      `provideCallHierarchyOutgoingCalls('${fileName}', ${position})`,\n      () => this.languageService.provideCallHierarchyOutgoingCalls(fileName, position)\n    );\n  }\n  provideInlayHints(fileName, span, preference) {\n    return this.forwardJSONCall(\n      `provideInlayHints('${fileName}', '${JSON.stringify(span)}', ${JSON.stringify(preference)})`,\n      () => this.languageService.provideInlayHints(fileName, span, preference)\n    );\n  }\n  getEmitOutput(fileName) {\n    return this.forwardJSONCall(\n      `getEmitOutput('${fileName}')`,\n      () => {\n        const { diagnostics, ...rest } = this.languageService.getEmitOutput(fileName);\n        return { ...rest, diagnostics: this.realizeDiagnostics(diagnostics) };\n      }\n    );\n  }\n  getEmitOutputObject(fileName) {\n    return forwardCall(\n      this.logger,\n      `getEmitOutput('${fileName}')`,\n      false,\n      () => this.languageService.getEmitOutput(fileName),\n      this.logPerformance\n    );\n  }\n  toggleLineComment(fileName, textRange) {\n    return this.forwardJSONCall(\n      `toggleLineComment('${fileName}', '${JSON.stringify(textRange)}')`,\n      () => this.languageService.toggleLineComment(fileName, textRange)\n    );\n  }\n  toggleMultilineComment(fileName, textRange) {\n    return this.forwardJSONCall(\n      `toggleMultilineComment('${fileName}', '${JSON.stringify(textRange)}')`,\n      () => this.languageService.toggleMultilineComment(fileName, textRange)\n    );\n  }\n  commentSelection(fileName, textRange) {\n    return this.forwardJSONCall(\n      `commentSelection('${fileName}', '${JSON.stringify(textRange)}')`,\n      () => this.languageService.commentSelection(fileName, textRange)\n    );\n  }\n  uncommentSelection(fileName, textRange) {\n    return this.forwardJSONCall(\n      `uncommentSelection('${fileName}', '${JSON.stringify(textRange)}')`,\n      () => this.languageService.uncommentSelection(fileName, textRange)\n    );\n  }\n};\nfunction convertClassifications(classifications) {\n  return { spans: classifications.spans.join(\",\"), endOfLineState: classifications.endOfLineState };\n}\nvar ClassifierShimObject = class extends ShimBase {\n  constructor(factory2, logger) {\n    super(factory2);\n    this.logger = logger;\n    this.logPerformance = false;\n    this.classifier = createClassifier();\n  }\n  getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent = false) {\n    return forwardJSONCall(\n      this.logger,\n      \"getEncodedLexicalClassifications\",\n      () => convertClassifications(this.classifier.getEncodedLexicalClassifications(text, lexState, syntacticClassifierAbsent)),\n      this.logPerformance\n    );\n  }\n  getClassificationsForLine(text, lexState, classifyKeywordsInGenerics = false) {\n    const classification = this.classifier.getClassificationsForLine(text, lexState, classifyKeywordsInGenerics);\n    let result = \"\";\n    for (const item of classification.entries) {\n      result += item.length + \"\\n\";\n      result += item.classification + \"\\n\";\n    }\n    result += classification.finalLexState;\n    return result;\n  }\n};\nvar CoreServicesShimObject = class extends ShimBase {\n  constructor(factory2, logger, host) {\n    super(factory2);\n    this.logger = logger;\n    this.host = host;\n    this.logPerformance = false;\n  }\n  forwardJSONCall(actionDescription2, action) {\n    return forwardJSONCall(this.logger, actionDescription2, action, this.logPerformance);\n  }\n  resolveModuleName(fileName, moduleName, compilerOptionsJson) {\n    return this.forwardJSONCall(`resolveModuleName('${fileName}')`, () => {\n      const compilerOptions = JSON.parse(compilerOptionsJson);\n      const result = resolveModuleName(moduleName, normalizeSlashes(fileName), compilerOptions, this.host);\n      let resolvedFileName = result.resolvedModule ? result.resolvedModule.resolvedFileName : void 0;\n      if (result.resolvedModule && result.resolvedModule.extension !== \".ts\" /* Ts */ && result.resolvedModule.extension !== \".tsx\" /* Tsx */ && result.resolvedModule.extension !== \".d.ts\" /* Dts */ && result.resolvedModule.extension !== \".ets\" /* Ets */ && result.resolvedModule.extension !== \".d.ets\" /* Dets */) {\n        resolvedFileName = void 0;\n      }\n      return {\n        resolvedFileName,\n        failedLookupLocations: result.failedLookupLocations,\n        affectingLocations: result.affectingLocations\n      };\n    });\n  }\n  resolveTypeReferenceDirective(fileName, typeReferenceDirective, compilerOptionsJson) {\n    return this.forwardJSONCall(`resolveTypeReferenceDirective(${fileName})`, () => {\n      const compilerOptions = JSON.parse(compilerOptionsJson);\n      const result = resolveTypeReferenceDirective(typeReferenceDirective, normalizeSlashes(fileName), compilerOptions, this.host);\n      return {\n        resolvedFileName: result.resolvedTypeReferenceDirective ? result.resolvedTypeReferenceDirective.resolvedFileName : void 0,\n        primary: result.resolvedTypeReferenceDirective ? result.resolvedTypeReferenceDirective.primary : true,\n        failedLookupLocations: result.failedLookupLocations\n      };\n    });\n  }\n  getPreProcessedFileInfo(fileName, sourceTextSnapshot) {\n    return this.forwardJSONCall(\n      `getPreProcessedFileInfo('${fileName}')`,\n      () => {\n        const result = preProcessFile(getSnapshotText(sourceTextSnapshot), true, true);\n        return {\n          referencedFiles: this.convertFileReferences(result.referencedFiles),\n          importedFiles: this.convertFileReferences(result.importedFiles),\n          ambientExternalModules: result.ambientExternalModules,\n          isLibFile: result.isLibFile,\n          typeReferenceDirectives: this.convertFileReferences(result.typeReferenceDirectives),\n          libReferenceDirectives: this.convertFileReferences(result.libReferenceDirectives)\n        };\n      }\n    );\n  }\n  getAutomaticTypeDirectiveNames(compilerOptionsJson) {\n    return this.forwardJSONCall(\n      `getAutomaticTypeDirectiveNames('${compilerOptionsJson}')`,\n      () => {\n        const compilerOptions = JSON.parse(compilerOptionsJson);\n        return getAutomaticTypeDirectiveNames(compilerOptions, this.host);\n      }\n    );\n  }\n  convertFileReferences(refs) {\n    if (!refs) {\n      return void 0;\n    }\n    const result = [];\n    for (const ref of refs) {\n      result.push({\n        path: normalizeSlashes(ref.fileName),\n        position: ref.pos,\n        length: ref.end - ref.pos\n      });\n    }\n    return result;\n  }\n  getTSConfigFileInfo(fileName, sourceTextSnapshot) {\n    return this.forwardJSONCall(\n      `getTSConfigFileInfo('${fileName}')`,\n      () => {\n        const result = parseJsonText(fileName, getSnapshotText(sourceTextSnapshot));\n        const normalizedFileName = normalizeSlashes(fileName);\n        const configFile = parseJsonSourceFileConfigFileContent(result, this.host, getDirectoryPath(normalizedFileName), {}, normalizedFileName);\n        return {\n          options: configFile.options,\n          typeAcquisition: configFile.typeAcquisition,\n          files: configFile.fileNames,\n          raw: configFile.raw,\n          errors: realizeDiagnostics([...result.parseDiagnostics, ...configFile.errors], \"\\r\\n\")\n        };\n      }\n    );\n  }\n  getDefaultCompilationSettings() {\n    return this.forwardJSONCall(\n      \"getDefaultCompilationSettings()\",\n      () => getDefaultCompilerOptions2()\n    );\n  }\n  discoverTypings(discoverTypingsJson) {\n    const getCanonicalFileName = createGetCanonicalFileName(false);\n    return this.forwardJSONCall(\"discoverTypings()\", () => {\n      const info = JSON.parse(discoverTypingsJson);\n      if (this.safeList === void 0) {\n        this.safeList = ts_JsTyping_exports.loadSafeList(this.host, toPath(info.safeListPath, info.safeListPath, getCanonicalFileName));\n      }\n      return ts_JsTyping_exports.discoverTypings(\n        this.host,\n        (msg) => this.logger.log(msg),\n        info.fileNames,\n        toPath(info.projectRootPath, info.projectRootPath, getCanonicalFileName),\n        this.safeList,\n        info.packageNameToTypingLocation,\n        info.typeAcquisition,\n        info.unresolvedImports,\n        info.typesRegistry,\n        emptyOptions\n      );\n    });\n  }\n};\nvar TypeScriptServicesFactory = class {\n  constructor() {\n    this._shims = [];\n  }\n  getServicesVersion() {\n    return servicesVersion;\n  }\n  createLanguageServiceShim(host) {\n    try {\n      if (this.documentRegistry === void 0) {\n        this.documentRegistry = createDocumentRegistry(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames(), host.getCurrentDirectory());\n      }\n      const hostAdapter = new LanguageServiceShimHostAdapter(host);\n      const languageService = createLanguageService(hostAdapter, this.documentRegistry, false);\n      return new LanguageServiceShimObject(this, host, languageService);\n    } catch (err) {\n      logInternalError(host, err);\n      throw err;\n    }\n  }\n  createClassifierShim(logger) {\n    try {\n      return new ClassifierShimObject(this, logger);\n    } catch (err) {\n      logInternalError(logger, err);\n      throw err;\n    }\n  }\n  createCoreServicesShim(host) {\n    try {\n      const adapter = new CoreServicesShimHostAdapter(host);\n      return new CoreServicesShimObject(this, host, adapter);\n    } catch (err) {\n      logInternalError(host, err);\n      throw err;\n    }\n  }\n  close() {\n    clear(this._shims);\n    this.documentRegistry = void 0;\n  }\n  registerShim(shim) {\n    this._shims.push(shim);\n  }\n  unregisterShim(shim) {\n    for (let i = 0; i < this._shims.length; i++) {\n      if (this._shims[i] === shim) {\n        delete this._shims[i];\n        return;\n      }\n    }\n    throw new Error(\"Invalid operation\");\n  }\n};\n\n// src/services/_namespaces/ts.BreakpointResolver.ts\nvar ts_BreakpointResolver_exports = {};\n__export(ts_BreakpointResolver_exports, {\n  spanInSourceFileAtLocation: () => spanInSourceFileAtLocation\n});\n\n// src/services/breakpoints.ts\nfunction spanInSourceFileAtLocation(sourceFile, position) {\n  if (sourceFile.isDeclarationFile) {\n    return void 0;\n  }\n  let tokenAtLocation = getTokenAtPosition(sourceFile, position);\n  const lineOfPosition = sourceFile.getLineAndCharacterOfPosition(position).line;\n  if (sourceFile.getLineAndCharacterOfPosition(tokenAtLocation.getStart(sourceFile)).line > lineOfPosition) {\n    const preceding = findPrecedingToken(tokenAtLocation.pos, sourceFile);\n    if (!preceding || sourceFile.getLineAndCharacterOfPosition(preceding.getEnd()).line !== lineOfPosition) {\n      return void 0;\n    }\n    tokenAtLocation = preceding;\n  }\n  if (tokenAtLocation.flags & 16777216 /* Ambient */) {\n    return void 0;\n  }\n  return spanInNode(tokenAtLocation);\n  function textSpan(startNode2, endNode2) {\n    const lastDecorator = canHaveDecorators(startNode2) ? findLast(startNode2.modifiers, isDecorator) : void 0;\n    const start = lastDecorator ? skipTrivia(sourceFile.text, lastDecorator.end) : startNode2.getStart(sourceFile);\n    return createTextSpanFromBounds(start, (endNode2 || startNode2).getEnd());\n  }\n  function textSpanEndingAtNextToken(startNode2, previousTokenToFindNextEndToken) {\n    return textSpan(startNode2, findNextToken(previousTokenToFindNextEndToken, previousTokenToFindNextEndToken.parent, sourceFile));\n  }\n  function spanInNodeIfStartsOnSameLine(node, otherwiseOnNode) {\n    if (node && lineOfPosition === sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line) {\n      return spanInNode(node);\n    }\n    return spanInNode(otherwiseOnNode);\n  }\n  function spanInNodeArray(nodeArray, node, match) {\n    if (nodeArray) {\n      const index = nodeArray.indexOf(node);\n      if (index >= 0) {\n        let start = index;\n        let end = index + 1;\n        while (start > 0 && match(nodeArray[start - 1]))\n          start--;\n        while (end < nodeArray.length && match(nodeArray[end]))\n          end++;\n        return createTextSpanFromBounds(skipTrivia(sourceFile.text, nodeArray[start].pos), nodeArray[end - 1].end);\n      }\n    }\n    return textSpan(node);\n  }\n  function spanInPreviousNode(node) {\n    return spanInNode(findPrecedingToken(node.pos, sourceFile));\n  }\n  function spanInNextNode(node) {\n    return spanInNode(findNextToken(node, node.parent, sourceFile));\n  }\n  function spanInNode(node) {\n    if (node) {\n      const { parent: parent2 } = node;\n      switch (node.kind) {\n        case 244 /* VariableStatement */:\n          return spanInVariableDeclaration(node.declarationList.declarations[0]);\n        case 261 /* VariableDeclaration */:\n        case 171 /* PropertyDeclaration */:\n        case 170 /* PropertySignature */:\n          return spanInVariableDeclaration(node);\n        case 168 /* Parameter */:\n          return spanInParameterDeclaration(node);\n        case 263 /* FunctionDeclaration */:\n        case 174 /* MethodDeclaration */:\n        case 173 /* MethodSignature */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 176 /* Constructor */:\n        case 218 /* FunctionExpression */:\n        case 219 /* ArrowFunction */:\n          return spanInFunctionDeclaration(node);\n        case 242 /* Block */:\n          if (isFunctionBlock(node)) {\n            return spanInFunctionBlock(node);\n          }\n        case 271 /* ModuleBlock */:\n          return spanInBlock(node);\n        case 301 /* CatchClause */:\n          return spanInBlock(node.block);\n        case 245 /* ExpressionStatement */:\n          return textSpan(node.expression);\n        case 254 /* ReturnStatement */:\n          return textSpan(node.getChildAt(0), node.expression);\n        case 248 /* WhileStatement */:\n          return textSpanEndingAtNextToken(node, node.expression);\n        case 247 /* DoStatement */:\n          return spanInNode(node.statement);\n        case 260 /* DebuggerStatement */:\n          return textSpan(node.getChildAt(0));\n        case 246 /* IfStatement */:\n          return textSpanEndingAtNextToken(node, node.expression);\n        case 257 /* LabeledStatement */:\n          return spanInNode(node.statement);\n        case 253 /* BreakStatement */:\n        case 252 /* ContinueStatement */:\n          return textSpan(node.getChildAt(0), node.label);\n        case 249 /* ForStatement */:\n          return spanInForStatement(node);\n        case 250 /* ForInStatement */:\n          return textSpanEndingAtNextToken(node, node.expression);\n        case 251 /* ForOfStatement */:\n          return spanInInitializerOfForLike(node);\n        case 256 /* SwitchStatement */:\n          return textSpanEndingAtNextToken(node, node.expression);\n        case 298 /* CaseClause */:\n        case 299 /* DefaultClause */:\n          return spanInNode(node.statements[0]);\n        case 259 /* TryStatement */:\n          return spanInBlock(node.tryBlock);\n        case 258 /* ThrowStatement */:\n          return textSpan(node, node.expression);\n        case 280 /* ExportAssignment */:\n          return textSpan(node, node.expression);\n        case 274 /* ImportEqualsDeclaration */:\n          return textSpan(node, node.moduleReference);\n        case 275 /* ImportDeclaration */:\n          return textSpan(node, node.moduleSpecifier);\n        case 281 /* ExportDeclaration */:\n          return textSpan(node, node.moduleSpecifier);\n        case 270 /* ModuleDeclaration */:\n          if (getModuleInstanceState(node) !== 1 /* Instantiated */) {\n            return void 0;\n          }\n        case 264 /* ClassDeclaration */:\n        case 269 /* EnumDeclaration */:\n        case 308 /* EnumMember */:\n        case 208 /* BindingElement */:\n          return textSpan(node);\n        case 255 /* WithStatement */:\n          return spanInNode(node.statement);\n        case 169 /* Decorator */:\n          return spanInNodeArray(parent2.modifiers, node, isDecorator);\n        case 206 /* ObjectBindingPattern */:\n        case 207 /* ArrayBindingPattern */:\n          return spanInBindingPattern(node);\n        case 267 /* InterfaceDeclaration */:\n        case 268 /* TypeAliasDeclaration */:\n          return void 0;\n        case 26 /* SemicolonToken */:\n        case 1 /* EndOfFileToken */:\n          return spanInNodeIfStartsOnSameLine(findPrecedingToken(node.pos, sourceFile));\n        case 27 /* CommaToken */:\n          return spanInPreviousNode(node);\n        case 18 /* OpenBraceToken */:\n          return spanInOpenBraceToken(node);\n        case 19 /* CloseBraceToken */:\n          return spanInCloseBraceToken(node);\n        case 23 /* CloseBracketToken */:\n          return spanInCloseBracketToken(node);\n        case 20 /* OpenParenToken */:\n          return spanInOpenParenToken(node);\n        case 21 /* CloseParenToken */:\n          return spanInCloseParenToken(node);\n        case 58 /* ColonToken */:\n          return spanInColonToken(node);\n        case 31 /* GreaterThanToken */:\n        case 29 /* LessThanToken */:\n          return spanInGreaterThanOrLessThanToken(node);\n        case 116 /* WhileKeyword */:\n          return spanInWhileKeyword(node);\n        case 92 /* ElseKeyword */:\n        case 83 /* CatchKeyword */:\n        case 97 /* FinallyKeyword */:\n          return spanInNextNode(node);\n        case 164 /* OfKeyword */:\n          return spanInOfKeyword(node);\n        default:\n          if (isArrayLiteralOrObjectLiteralDestructuringPattern(node)) {\n            return spanInArrayLiteralOrObjectLiteralDestructuringPattern(node);\n          }\n          if ((node.kind === 79 /* Identifier */ || node.kind === 231 /* SpreadElement */ || node.kind === 305 /* PropertyAssignment */ || node.kind === 306 /* ShorthandPropertyAssignment */) && isArrayLiteralOrObjectLiteralDestructuringPattern(parent2)) {\n            return textSpan(node);\n          }\n          if (node.kind === 227 /* BinaryExpression */) {\n            const { left, operatorToken } = node;\n            if (isArrayLiteralOrObjectLiteralDestructuringPattern(left)) {\n              return spanInArrayLiteralOrObjectLiteralDestructuringPattern(\n                left\n              );\n            }\n            if (operatorToken.kind === 63 /* EqualsToken */ && isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent)) {\n              return textSpan(node);\n            }\n            if (operatorToken.kind === 27 /* CommaToken */) {\n              return spanInNode(left);\n            }\n          }\n          if (isExpressionNode(node)) {\n            switch (parent2.kind) {\n              case 247 /* DoStatement */:\n                return spanInPreviousNode(node);\n              case 169 /* Decorator */:\n                return spanInNode(node.parent);\n              case 249 /* ForStatement */:\n              case 251 /* ForOfStatement */:\n                return textSpan(node);\n              case 227 /* BinaryExpression */:\n                if (node.parent.operatorToken.kind === 27 /* CommaToken */) {\n                  return textSpan(node);\n                }\n                break;\n              case 219 /* ArrowFunction */:\n                if (node.parent.body === node) {\n                  return textSpan(node);\n                }\n                break;\n            }\n          }\n          switch (node.parent.kind) {\n            case 305 /* PropertyAssignment */:\n              if (node.parent.name === node && !isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent.parent)) {\n                return spanInNode(node.parent.initializer);\n              }\n              break;\n            case 216 /* TypeAssertionExpression */:\n              if (node.parent.type === node) {\n                return spanInNextNode(node.parent.type);\n              }\n              break;\n            case 261 /* VariableDeclaration */:\n            case 168 /* Parameter */: {\n              const { initializer, type } = node.parent;\n              if (initializer === node || type === node || isAssignmentOperator(node.kind)) {\n                return spanInPreviousNode(node);\n              }\n              break;\n            }\n            case 227 /* BinaryExpression */: {\n              const { left } = node.parent;\n              if (isArrayLiteralOrObjectLiteralDestructuringPattern(left) && node !== left) {\n                return spanInPreviousNode(node);\n              }\n              break;\n            }\n            default:\n              if (isFunctionLike(node.parent) && node.parent.type === node) {\n                return spanInPreviousNode(node);\n              }\n          }\n          return spanInNode(node.parent);\n      }\n    }\n    function textSpanFromVariableDeclaration(variableDeclaration) {\n      if (isVariableDeclarationList(variableDeclaration.parent) && variableDeclaration.parent.declarations[0] === variableDeclaration) {\n        return textSpan(findPrecedingToken(variableDeclaration.pos, sourceFile, variableDeclaration.parent), variableDeclaration);\n      } else {\n        return textSpan(variableDeclaration);\n      }\n    }\n    function spanInVariableDeclaration(variableDeclaration) {\n      if (variableDeclaration.parent.parent.kind === 250 /* ForInStatement */) {\n        return spanInNode(variableDeclaration.parent.parent);\n      }\n      const parent2 = variableDeclaration.parent;\n      if (isBindingPattern(variableDeclaration.name)) {\n        return spanInBindingPattern(variableDeclaration.name);\n      }\n      if (hasOnlyExpressionInitializer(variableDeclaration) && variableDeclaration.initializer || hasSyntacticModifier(variableDeclaration, 1 /* Export */) || parent2.parent.kind === 251 /* ForOfStatement */) {\n        return textSpanFromVariableDeclaration(variableDeclaration);\n      }\n      if (isVariableDeclarationList(variableDeclaration.parent) && variableDeclaration.parent.declarations[0] !== variableDeclaration) {\n        return spanInNode(findPrecedingToken(variableDeclaration.pos, sourceFile, variableDeclaration.parent));\n      }\n    }\n    function canHaveSpanInParameterDeclaration(parameter) {\n      return !!parameter.initializer || parameter.dotDotDotToken !== void 0 || hasSyntacticModifier(parameter, 4 /* Public */ | 8 /* Private */);\n    }\n    function spanInParameterDeclaration(parameter) {\n      if (isBindingPattern(parameter.name)) {\n        return spanInBindingPattern(parameter.name);\n      } else if (canHaveSpanInParameterDeclaration(parameter)) {\n        return textSpan(parameter);\n      } else {\n        const functionDeclaration = parameter.parent;\n        const indexOfParameter = functionDeclaration.parameters.indexOf(parameter);\n        Debug.assert(indexOfParameter !== -1);\n        if (indexOfParameter !== 0) {\n          return spanInParameterDeclaration(functionDeclaration.parameters[indexOfParameter - 1]);\n        } else {\n          return spanInNode(functionDeclaration.body);\n        }\n      }\n    }\n    function canFunctionHaveSpanInWholeDeclaration(functionDeclaration) {\n      return hasSyntacticModifier(functionDeclaration, 1 /* Export */) || functionDeclaration.parent.kind === 264 /* ClassDeclaration */ && functionDeclaration.kind !== 176 /* Constructor */;\n    }\n    function spanInFunctionDeclaration(functionDeclaration) {\n      if (!functionDeclaration.body) {\n        return void 0;\n      }\n      if (canFunctionHaveSpanInWholeDeclaration(functionDeclaration)) {\n        return textSpan(functionDeclaration);\n      }\n      return spanInNode(functionDeclaration.body);\n    }\n    function spanInFunctionBlock(block) {\n      const nodeForSpanInBlock = block.statements.length ? block.statements[0] : block.getLastToken();\n      if (canFunctionHaveSpanInWholeDeclaration(block.parent)) {\n        return spanInNodeIfStartsOnSameLine(block.parent, nodeForSpanInBlock);\n      }\n      return spanInNode(nodeForSpanInBlock);\n    }\n    function spanInBlock(block) {\n      switch (block.parent.kind) {\n        case 270 /* ModuleDeclaration */:\n          if (getModuleInstanceState(block.parent) !== 1 /* Instantiated */) {\n            return void 0;\n          }\n        case 248 /* WhileStatement */:\n        case 246 /* IfStatement */:\n        case 250 /* ForInStatement */:\n          return spanInNodeIfStartsOnSameLine(block.parent, block.statements[0]);\n        case 249 /* ForStatement */:\n        case 251 /* ForOfStatement */:\n          return spanInNodeIfStartsOnSameLine(findPrecedingToken(block.pos, sourceFile, block.parent), block.statements[0]);\n      }\n      return spanInNode(block.statements[0]);\n    }\n    function spanInInitializerOfForLike(forLikeStatement) {\n      if (forLikeStatement.initializer.kind === 262 /* VariableDeclarationList */) {\n        const variableDeclarationList = forLikeStatement.initializer;\n        if (variableDeclarationList.declarations.length > 0) {\n          return spanInNode(variableDeclarationList.declarations[0]);\n        }\n      } else {\n        return spanInNode(forLikeStatement.initializer);\n      }\n    }\n    function spanInForStatement(forStatement) {\n      if (forStatement.initializer) {\n        return spanInInitializerOfForLike(forStatement);\n      }\n      if (forStatement.condition) {\n        return textSpan(forStatement.condition);\n      }\n      if (forStatement.incrementor) {\n        return textSpan(forStatement.incrementor);\n      }\n    }\n    function spanInBindingPattern(bindingPattern) {\n      const firstBindingElement = forEach(\n        bindingPattern.elements,\n        (element) => element.kind !== 233 /* OmittedExpression */ ? element : void 0\n      );\n      if (firstBindingElement) {\n        return spanInNode(firstBindingElement);\n      }\n      if (bindingPattern.parent.kind === 208 /* BindingElement */) {\n        return textSpan(bindingPattern.parent);\n      }\n      return textSpanFromVariableDeclaration(bindingPattern.parent);\n    }\n    function spanInArrayLiteralOrObjectLiteralDestructuringPattern(node2) {\n      Debug.assert(node2.kind !== 207 /* ArrayBindingPattern */ && node2.kind !== 206 /* ObjectBindingPattern */);\n      const elements = node2.kind === 209 /* ArrayLiteralExpression */ ? node2.elements : node2.properties;\n      const firstBindingElement = forEach(\n        elements,\n        (element) => element.kind !== 233 /* OmittedExpression */ ? element : void 0\n      );\n      if (firstBindingElement) {\n        return spanInNode(firstBindingElement);\n      }\n      return textSpan(node2.parent.kind === 227 /* BinaryExpression */ ? node2.parent : node2);\n    }\n    function spanInOpenBraceToken(node2) {\n      switch (node2.parent.kind) {\n        case 269 /* EnumDeclaration */:\n          const enumDeclaration = node2.parent;\n          return spanInNodeIfStartsOnSameLine(findPrecedingToken(node2.pos, sourceFile, node2.parent), enumDeclaration.members.length ? enumDeclaration.members[0] : enumDeclaration.getLastToken(sourceFile));\n        case 264 /* ClassDeclaration */:\n          const classDeclaration = node2.parent;\n          return spanInNodeIfStartsOnSameLine(findPrecedingToken(node2.pos, sourceFile, node2.parent), classDeclaration.members.length ? classDeclaration.members[0] : classDeclaration.getLastToken(sourceFile));\n        case 272 /* CaseBlock */:\n          return spanInNodeIfStartsOnSameLine(node2.parent.parent, node2.parent.clauses[0]);\n      }\n      return spanInNode(node2.parent);\n    }\n    function spanInCloseBraceToken(node2) {\n      switch (node2.parent.kind) {\n        case 271 /* ModuleBlock */:\n          if (getModuleInstanceState(node2.parent.parent) !== 1 /* Instantiated */) {\n            return void 0;\n          }\n        case 269 /* EnumDeclaration */:\n        case 264 /* ClassDeclaration */:\n          return textSpan(node2);\n        case 242 /* Block */:\n          if (isFunctionBlock(node2.parent)) {\n            return textSpan(node2);\n          }\n        case 301 /* CatchClause */:\n          return spanInNode(lastOrUndefined(node2.parent.statements));\n        case 272 /* CaseBlock */:\n          const caseBlock = node2.parent;\n          const lastClause = lastOrUndefined(caseBlock.clauses);\n          if (lastClause) {\n            return spanInNode(lastOrUndefined(lastClause.statements));\n          }\n          return void 0;\n        case 206 /* ObjectBindingPattern */:\n          const bindingPattern = node2.parent;\n          return spanInNode(lastOrUndefined(bindingPattern.elements) || bindingPattern);\n        default:\n          if (isArrayLiteralOrObjectLiteralDestructuringPattern(node2.parent)) {\n            const objectLiteral = node2.parent;\n            return textSpan(lastOrUndefined(objectLiteral.properties) || objectLiteral);\n          }\n          return spanInNode(node2.parent);\n      }\n    }\n    function spanInCloseBracketToken(node2) {\n      switch (node2.parent.kind) {\n        case 207 /* ArrayBindingPattern */:\n          const bindingPattern = node2.parent;\n          return textSpan(lastOrUndefined(bindingPattern.elements) || bindingPattern);\n        default:\n          if (isArrayLiteralOrObjectLiteralDestructuringPattern(node2.parent)) {\n            const arrayLiteral = node2.parent;\n            return textSpan(lastOrUndefined(arrayLiteral.elements) || arrayLiteral);\n          }\n          return spanInNode(node2.parent);\n      }\n    }\n    function spanInOpenParenToken(node2) {\n      if (node2.parent.kind === 247 /* DoStatement */ || node2.parent.kind === 213 /* CallExpression */ || node2.parent.kind === 214 /* NewExpression */) {\n        return spanInPreviousNode(node2);\n      }\n      if (node2.parent.kind === 217 /* ParenthesizedExpression */) {\n        return spanInNextNode(node2);\n      }\n      return spanInNode(node2.parent);\n    }\n    function spanInCloseParenToken(node2) {\n      switch (node2.parent.kind) {\n        case 218 /* FunctionExpression */:\n        case 263 /* FunctionDeclaration */:\n        case 219 /* ArrowFunction */:\n        case 174 /* MethodDeclaration */:\n        case 173 /* MethodSignature */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n        case 176 /* Constructor */:\n        case 248 /* WhileStatement */:\n        case 247 /* DoStatement */:\n        case 249 /* ForStatement */:\n        case 251 /* ForOfStatement */:\n        case 213 /* CallExpression */:\n        case 214 /* NewExpression */:\n        case 217 /* ParenthesizedExpression */:\n          return spanInPreviousNode(node2);\n        default:\n          return spanInNode(node2.parent);\n      }\n    }\n    function spanInColonToken(node2) {\n      if (isFunctionLike(node2.parent) || node2.parent.kind === 305 /* PropertyAssignment */ || node2.parent.kind === 168 /* Parameter */) {\n        return spanInPreviousNode(node2);\n      }\n      return spanInNode(node2.parent);\n    }\n    function spanInGreaterThanOrLessThanToken(node2) {\n      if (node2.parent.kind === 216 /* TypeAssertionExpression */) {\n        return spanInNextNode(node2);\n      }\n      return spanInNode(node2.parent);\n    }\n    function spanInWhileKeyword(node2) {\n      if (node2.parent.kind === 247 /* DoStatement */) {\n        return textSpanEndingAtNextToken(node2, node2.parent.expression);\n      }\n      return spanInNode(node2.parent);\n    }\n    function spanInOfKeyword(node2) {\n      if (node2.parent.kind === 251 /* ForOfStatement */) {\n        return spanInNextNode(node2);\n      }\n      return spanInNode(node2.parent);\n    }\n  }\n}\n\n// src/services/_namespaces/ts.CallHierarchy.ts\nvar ts_CallHierarchy_exports = {};\n__export(ts_CallHierarchy_exports, {\n  createCallHierarchyItem: () => createCallHierarchyItem,\n  getIncomingCalls: () => getIncomingCalls,\n  getOutgoingCalls: () => getOutgoingCalls,\n  resolveCallHierarchyDeclaration: () => resolveCallHierarchyDeclaration\n});\n\n// src/services/callHierarchy.ts\nfunction isNamedExpression(node) {\n  return (isFunctionExpression(node) || isClassExpression(node)) && isNamedDeclaration(node);\n}\nfunction isConstNamedExpression(node) {\n  return (isFunctionExpression(node) || isArrowFunction(node) || isClassExpression(node)) && isVariableDeclaration(node.parent) && node === node.parent.initializer && isIdentifier(node.parent.name) && !!(getCombinedNodeFlags(node.parent) & 2 /* Const */);\n}\nfunction isPossibleCallHierarchyDeclaration(node) {\n  return isSourceFile(node) || isModuleDeclaration(node) || isFunctionDeclaration(node) || isFunctionExpression(node) || isClassDeclaration(node) || isClassExpression(node) || isClassStaticBlockDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isGetAccessorDeclaration(node) || isSetAccessorDeclaration(node);\n}\nfunction isValidCallHierarchyDeclaration(node) {\n  return isSourceFile(node) || isModuleDeclaration(node) && isIdentifier(node.name) || isFunctionDeclaration(node) || isClassDeclaration(node) || isClassStaticBlockDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isGetAccessorDeclaration(node) || isSetAccessorDeclaration(node) || isNamedExpression(node) || isConstNamedExpression(node);\n}\nfunction getCallHierarchyDeclarationReferenceNode(node) {\n  if (isSourceFile(node))\n    return node;\n  if (isNamedDeclaration(node))\n    return node.name;\n  if (isConstNamedExpression(node))\n    return node.parent.name;\n  return Debug.checkDefined(node.modifiers && find(node.modifiers, isDefaultModifier2));\n}\nfunction isDefaultModifier2(node) {\n  return node.kind === 89 /* DefaultKeyword */;\n}\nfunction getSymbolOfCallHierarchyDeclaration(typeChecker3, node) {\n  const location = getCallHierarchyDeclarationReferenceNode(node);\n  return location && typeChecker3.getSymbolAtLocation(location);\n}\nfunction getCallHierarchyItemName(program, node) {\n  if (isSourceFile(node)) {\n    return { text: node.fileName, pos: 0, end: 0 };\n  }\n  if ((isFunctionDeclaration(node) || isClassDeclaration(node)) && !isNamedDeclaration(node)) {\n    const defaultModifier = node.modifiers && find(node.modifiers, isDefaultModifier2);\n    if (defaultModifier) {\n      return { text: \"default\", pos: defaultModifier.getStart(), end: defaultModifier.getEnd() };\n    }\n  }\n  if (isClassStaticBlockDeclaration(node)) {\n    const sourceFile = node.getSourceFile();\n    const pos = skipTrivia(sourceFile.text, moveRangePastModifiers(node).pos);\n    const end = pos + 6;\n    const typeChecker3 = program.getTypeChecker();\n    const symbol = typeChecker3.getSymbolAtLocation(node.parent);\n    const prefix = symbol ? `${typeChecker3.symbolToString(symbol, node.parent)} ` : \"\";\n    return { text: `${prefix}static {}`, pos, end };\n  }\n  const declName = isConstNamedExpression(node) ? node.parent.name : Debug.checkDefined(getNameOfDeclaration(node), \"Expected call hierarchy item to have a name\");\n  let text = isIdentifier(declName) ? idText(declName) : isStringOrNumericLiteralLike(declName) ? declName.text : isComputedPropertyName(declName) ? isStringOrNumericLiteralLike(declName.expression) ? declName.expression.text : void 0 : void 0;\n  if (text === void 0) {\n    const typeChecker3 = program.getTypeChecker();\n    const symbol = typeChecker3.getSymbolAtLocation(declName);\n    if (symbol) {\n      text = typeChecker3.symbolToString(symbol, node);\n    }\n  }\n  if (text === void 0) {\n    const printer3 = createPrinterWithRemoveCommentsOmitTrailingSemicolon();\n    text = usingSingleLineStringWriter((writer) => printer3.writeNode(4 /* Unspecified */, node, node.getSourceFile(), writer));\n  }\n  return { text, pos: declName.getStart(), end: declName.getEnd() };\n}\nfunction getCallHierarchItemContainerName(node) {\n  var _a2, _b;\n  if (isConstNamedExpression(node)) {\n    if (isModuleBlock(node.parent.parent.parent.parent) && isIdentifier(node.parent.parent.parent.parent.parent.name)) {\n      return node.parent.parent.parent.parent.parent.name.getText();\n    }\n    return;\n  }\n  switch (node.kind) {\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 174 /* MethodDeclaration */:\n      if (node.parent.kind === 210 /* ObjectLiteralExpression */) {\n        return (_a2 = getAssignedName(node.parent)) == null ? void 0 : _a2.getText();\n      }\n      return (_b = getNameOfDeclaration(node.parent)) == null ? void 0 : _b.getText();\n    case 263 /* FunctionDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 270 /* ModuleDeclaration */:\n      if (isModuleBlock(node.parent) && isIdentifier(node.parent.parent.name)) {\n        return node.parent.parent.name.getText();\n      }\n  }\n}\nfunction findImplementation(typeChecker3, node) {\n  if (node.body) {\n    return node;\n  }\n  if (isConstructorDeclaration(node)) {\n    return getFirstConstructorWithBody(node.parent);\n  }\n  if (isFunctionDeclaration(node) || isMethodDeclaration(node)) {\n    const symbol = getSymbolOfCallHierarchyDeclaration(typeChecker3, node);\n    if (symbol && symbol.valueDeclaration && isFunctionLikeDeclaration(symbol.valueDeclaration) && symbol.valueDeclaration.body) {\n      return symbol.valueDeclaration;\n    }\n    return void 0;\n  }\n  return node;\n}\nfunction findAllInitialDeclarations(typeChecker3, node) {\n  const symbol = getSymbolOfCallHierarchyDeclaration(typeChecker3, node);\n  let declarations;\n  if (symbol && symbol.declarations) {\n    const indices = indicesOf(symbol.declarations);\n    const keys = map(symbol.declarations, (decl) => ({ file: decl.getSourceFile().fileName, pos: decl.pos }));\n    indices.sort((a, b) => compareStringsCaseSensitive(keys[a].file, keys[b].file) || keys[a].pos - keys[b].pos);\n    const sortedDeclarations = map(indices, (i) => symbol.declarations[i]);\n    let lastDecl;\n    for (const decl of sortedDeclarations) {\n      if (isValidCallHierarchyDeclaration(decl)) {\n        if (!lastDecl || lastDecl.parent !== decl.parent || lastDecl.end !== decl.pos) {\n          declarations = append(declarations, decl);\n        }\n        lastDecl = decl;\n      }\n    }\n  }\n  return declarations;\n}\nfunction findImplementationOrAllInitialDeclarations(typeChecker3, node) {\n  var _a2, _b, _c;\n  if (isClassStaticBlockDeclaration(node)) {\n    return node;\n  }\n  if (isFunctionLikeDeclaration(node)) {\n    return (_b = (_a2 = findImplementation(typeChecker3, node)) != null ? _a2 : findAllInitialDeclarations(typeChecker3, node)) != null ? _b : node;\n  }\n  return (_c = findAllInitialDeclarations(typeChecker3, node)) != null ? _c : node;\n}\nfunction resolveCallHierarchyDeclaration(program, location) {\n  const typeChecker3 = program.getTypeChecker();\n  let followingSymbol = false;\n  while (true) {\n    if (isValidCallHierarchyDeclaration(location)) {\n      return findImplementationOrAllInitialDeclarations(typeChecker3, location);\n    }\n    if (isPossibleCallHierarchyDeclaration(location)) {\n      const ancestor = findAncestor(location, isValidCallHierarchyDeclaration);\n      return ancestor && findImplementationOrAllInitialDeclarations(typeChecker3, ancestor);\n    }\n    if (isDeclarationName(location)) {\n      if (isValidCallHierarchyDeclaration(location.parent)) {\n        return findImplementationOrAllInitialDeclarations(typeChecker3, location.parent);\n      }\n      if (isPossibleCallHierarchyDeclaration(location.parent)) {\n        const ancestor = findAncestor(location.parent, isValidCallHierarchyDeclaration);\n        return ancestor && findImplementationOrAllInitialDeclarations(typeChecker3, ancestor);\n      }\n      if (isVariableDeclaration(location.parent) && location.parent.initializer && isConstNamedExpression(location.parent.initializer)) {\n        return location.parent.initializer;\n      }\n      return void 0;\n    }\n    if (isConstructorDeclaration(location)) {\n      if (isValidCallHierarchyDeclaration(location.parent)) {\n        return location.parent;\n      }\n      return void 0;\n    }\n    if (location.kind === 125 /* StaticKeyword */ && isClassStaticBlockDeclaration(location.parent)) {\n      location = location.parent;\n      continue;\n    }\n    if (isVariableDeclaration(location) && location.initializer && isConstNamedExpression(location.initializer)) {\n      return location.initializer;\n    }\n    if (!followingSymbol) {\n      let symbol = typeChecker3.getSymbolAtLocation(location);\n      if (symbol) {\n        if (symbol.flags & 2097152 /* Alias */) {\n          symbol = typeChecker3.getAliasedSymbol(symbol);\n        }\n        if (symbol.valueDeclaration) {\n          followingSymbol = true;\n          location = symbol.valueDeclaration;\n          continue;\n        }\n      }\n    }\n    return void 0;\n  }\n}\nfunction createCallHierarchyItem(program, node) {\n  const sourceFile = node.getSourceFile();\n  const name = getCallHierarchyItemName(program, node);\n  const containerName = getCallHierarchItemContainerName(node);\n  const kind = getNodeKind(node);\n  const kindModifiers = getNodeModifiers(node);\n  const span = createTextSpanFromBounds(skipTrivia(sourceFile.text, node.getFullStart(), false, true), node.getEnd());\n  const selectionSpan = createTextSpanFromBounds(name.pos, name.end);\n  return { file: sourceFile.fileName, kind, kindModifiers, name: name.text, containerName, span, selectionSpan };\n}\nfunction isDefined(x) {\n  return x !== void 0;\n}\nfunction convertEntryToCallSite(entry) {\n  if (entry.kind === ts_FindAllReferences_exports.EntryKind.Node) {\n    const { node } = entry;\n    if (isCallOrNewExpressionTarget(node, true, true) || isTaggedTemplateTag(node, true, true) || isDecoratorTarget(node, true, true) || isJsxOpeningLikeElementTagName(node, true, true) || isRightSideOfPropertyAccess(node) || isArgumentExpressionOfElementAccess(node)) {\n      const sourceFile = node.getSourceFile();\n      const ancestor = findAncestor(node, isValidCallHierarchyDeclaration) || sourceFile;\n      return { declaration: ancestor, range: createTextRangeFromNode(node, sourceFile) };\n    }\n  }\n}\nfunction getCallSiteGroupKey(entry) {\n  return getNodeId(entry.declaration);\n}\nfunction createCallHierarchyIncomingCall(from, fromSpans) {\n  return { from, fromSpans };\n}\nfunction convertCallSiteGroupToIncomingCall(program, entries) {\n  return createCallHierarchyIncomingCall(createCallHierarchyItem(program, entries[0].declaration), map(entries, (entry) => createTextSpanFromRange(entry.range)));\n}\nfunction getIncomingCalls(program, declaration, cancellationToken) {\n  if (isSourceFile(declaration) || isModuleDeclaration(declaration) || isClassStaticBlockDeclaration(declaration)) {\n    return [];\n  }\n  const location = getCallHierarchyDeclarationReferenceNode(declaration);\n  const calls = filter(ts_FindAllReferences_exports.findReferenceOrRenameEntries(program, cancellationToken, program.getSourceFiles(), location, 0, { use: ts_FindAllReferences_exports.FindReferencesUse.References }, convertEntryToCallSite), isDefined);\n  return calls ? group(calls, getCallSiteGroupKey, (entries) => convertCallSiteGroupToIncomingCall(program, entries)) : [];\n}\nfunction createCallSiteCollector(program, callSites) {\n  function recordCallSite(node) {\n    const target = isTaggedTemplateExpression(node) ? node.tag : isJsxOpeningLikeElement(node) ? node.tagName : isAccessExpression(node) ? node : isClassStaticBlockDeclaration(node) ? node : node.expression;\n    const declaration = resolveCallHierarchyDeclaration(program, target);\n    if (declaration) {\n      const range = createTextRangeFromNode(target, node.getSourceFile());\n      if (isArray(declaration)) {\n        for (const decl of declaration) {\n          callSites.push({ declaration: decl, range });\n        }\n      } else {\n        callSites.push({ declaration, range });\n      }\n    }\n  }\n  function collect(node) {\n    if (!node)\n      return;\n    if (node.flags & 16777216 /* Ambient */) {\n      return;\n    }\n    if (isValidCallHierarchyDeclaration(node)) {\n      if (isClassLike(node)) {\n        for (const member of node.members) {\n          if (member.name && isComputedPropertyName(member.name)) {\n            collect(member.name.expression);\n          }\n        }\n      }\n      return;\n    }\n    switch (node.kind) {\n      case 79 /* Identifier */:\n      case 274 /* ImportEqualsDeclaration */:\n      case 275 /* ImportDeclaration */:\n      case 281 /* ExportDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n        return;\n      case 175 /* ClassStaticBlockDeclaration */:\n        recordCallSite(node);\n        return;\n      case 216 /* TypeAssertionExpression */:\n      case 235 /* AsExpression */:\n        collect(node.expression);\n        return;\n      case 261 /* VariableDeclaration */:\n      case 168 /* Parameter */:\n        collect(node.name);\n        collect(node.initializer);\n        return;\n      case 213 /* CallExpression */:\n        recordCallSite(node);\n        collect(node.expression);\n        forEach(node.arguments, collect);\n        return;\n      case 214 /* NewExpression */:\n        recordCallSite(node);\n        collect(node.expression);\n        forEach(node.arguments, collect);\n        return;\n      case 215 /* TaggedTemplateExpression */:\n        recordCallSite(node);\n        collect(node.tag);\n        collect(node.template);\n        return;\n      case 289 /* JsxOpeningElement */:\n      case 288 /* JsxSelfClosingElement */:\n        recordCallSite(node);\n        collect(node.tagName);\n        collect(node.attributes);\n        return;\n      case 169 /* Decorator */:\n        recordCallSite(node);\n        collect(node.expression);\n        return;\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        recordCallSite(node);\n        forEachChild(node, collect);\n        break;\n      case 239 /* SatisfiesExpression */:\n        collect(node.expression);\n        return;\n    }\n    if (isPartOfTypeNode(node)) {\n      return;\n    }\n    forEachChild(node, collect);\n  }\n  return collect;\n}\nfunction collectCallSitesOfSourceFile(node, collect) {\n  forEach(node.statements, collect);\n}\nfunction collectCallSitesOfModuleDeclaration(node, collect) {\n  if (!hasSyntacticModifier(node, 2 /* Ambient */) && node.body && isModuleBlock(node.body)) {\n    forEach(node.body.statements, collect);\n  }\n}\nfunction collectCallSitesOfFunctionLikeDeclaration(typeChecker3, node, collect) {\n  const implementation = findImplementation(typeChecker3, node);\n  if (implementation) {\n    forEach(implementation.parameters, collect);\n    collect(implementation.body);\n  }\n}\nfunction collectCallSitesOfClassStaticBlockDeclaration(node, collect) {\n  collect(node.body);\n}\nfunction collectCallSitesOfClassLikeDeclaration(node, collect) {\n  forEach(node.modifiers, collect);\n  const heritage = getClassExtendsHeritageElement(node);\n  if (heritage) {\n    collect(heritage.expression);\n  }\n  for (const member of node.members) {\n    if (canHaveModifiers(member)) {\n      forEach(member.modifiers, collect);\n    }\n    if (isPropertyDeclaration(member)) {\n      collect(member.initializer);\n    } else if (isConstructorDeclaration(member) && member.body) {\n      forEach(member.parameters, collect);\n      collect(member.body);\n    } else if (isClassStaticBlockDeclaration(member)) {\n      collect(member);\n    }\n  }\n}\nfunction collectCallSites(program, node) {\n  const callSites = [];\n  const collect = createCallSiteCollector(program, callSites);\n  switch (node.kind) {\n    case 314 /* SourceFile */:\n      collectCallSitesOfSourceFile(node, collect);\n      break;\n    case 270 /* ModuleDeclaration */:\n      collectCallSitesOfModuleDeclaration(node, collect);\n      break;\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      collectCallSitesOfFunctionLikeDeclaration(program.getTypeChecker(), node, collect);\n      break;\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n      collectCallSitesOfClassLikeDeclaration(node, collect);\n      break;\n    case 175 /* ClassStaticBlockDeclaration */:\n      collectCallSitesOfClassStaticBlockDeclaration(node, collect);\n      break;\n    default:\n      Debug.assertNever(node);\n  }\n  return callSites;\n}\nfunction createCallHierarchyOutgoingCall(to, fromSpans) {\n  return { to, fromSpans };\n}\nfunction convertCallSiteGroupToOutgoingCall(program, entries) {\n  return createCallHierarchyOutgoingCall(createCallHierarchyItem(program, entries[0].declaration), map(entries, (entry) => createTextSpanFromRange(entry.range)));\n}\nfunction getOutgoingCalls(program, declaration) {\n  if (declaration.flags & 16777216 /* Ambient */ || isMethodSignature(declaration)) {\n    return [];\n  }\n  return group(collectCallSites(program, declaration), getCallSiteGroupKey, (entries) => convertCallSiteGroupToOutgoingCall(program, entries));\n}\n\n// src/services/_namespaces/ts.classifier.ts\nvar ts_classifier_exports = {};\n__export(ts_classifier_exports, {\n  v2020: () => ts_classifier_v2020_exports\n});\n\n// src/services/_namespaces/ts.classifier.v2020.ts\nvar ts_classifier_v2020_exports = {};\n__export(ts_classifier_v2020_exports, {\n  TokenEncodingConsts: () => TokenEncodingConsts,\n  TokenModifier: () => TokenModifier,\n  TokenType: () => TokenType,\n  getEncodedSemanticClassifications: () => getEncodedSemanticClassifications2,\n  getSemanticClassifications: () => getSemanticClassifications2\n});\n\n// src/services/classifier2020.ts\nvar TokenEncodingConsts = /* @__PURE__ */ ((TokenEncodingConsts2) => {\n  TokenEncodingConsts2[TokenEncodingConsts2[\"typeOffset\"] = 8] = \"typeOffset\";\n  TokenEncodingConsts2[TokenEncodingConsts2[\"modifierMask\"] = 255] = \"modifierMask\";\n  return TokenEncodingConsts2;\n})(TokenEncodingConsts || {});\nvar TokenType = /* @__PURE__ */ ((TokenType2) => {\n  TokenType2[TokenType2[\"class\"] = 0] = \"class\";\n  TokenType2[TokenType2[\"enum\"] = 1] = \"enum\";\n  TokenType2[TokenType2[\"interface\"] = 2] = \"interface\";\n  TokenType2[TokenType2[\"namespace\"] = 3] = \"namespace\";\n  TokenType2[TokenType2[\"typeParameter\"] = 4] = \"typeParameter\";\n  TokenType2[TokenType2[\"type\"] = 5] = \"type\";\n  TokenType2[TokenType2[\"parameter\"] = 6] = \"parameter\";\n  TokenType2[TokenType2[\"variable\"] = 7] = \"variable\";\n  TokenType2[TokenType2[\"enumMember\"] = 8] = \"enumMember\";\n  TokenType2[TokenType2[\"property\"] = 9] = \"property\";\n  TokenType2[TokenType2[\"function\"] = 10] = \"function\";\n  TokenType2[TokenType2[\"member\"] = 11] = \"member\";\n  return TokenType2;\n})(TokenType || {});\nvar TokenModifier = /* @__PURE__ */ ((TokenModifier2) => {\n  TokenModifier2[TokenModifier2[\"declaration\"] = 0] = \"declaration\";\n  TokenModifier2[TokenModifier2[\"static\"] = 1] = \"static\";\n  TokenModifier2[TokenModifier2[\"async\"] = 2] = \"async\";\n  TokenModifier2[TokenModifier2[\"readonly\"] = 3] = \"readonly\";\n  TokenModifier2[TokenModifier2[\"defaultLibrary\"] = 4] = \"defaultLibrary\";\n  TokenModifier2[TokenModifier2[\"local\"] = 5] = \"local\";\n  return TokenModifier2;\n})(TokenModifier || {});\nfunction getSemanticClassifications2(program, cancellationToken, sourceFile, span) {\n  const classifications = getEncodedSemanticClassifications2(program, cancellationToken, sourceFile, span);\n  Debug.assert(classifications.spans.length % 3 === 0);\n  const dense = classifications.spans;\n  const result = [];\n  for (let i = 0; i < dense.length; i += 3) {\n    result.push({\n      textSpan: createTextSpan(dense[i], dense[i + 1]),\n      classificationType: dense[i + 2]\n    });\n  }\n  return result;\n}\nfunction getEncodedSemanticClassifications2(program, cancellationToken, sourceFile, span) {\n  return {\n    spans: getSemanticTokens(program, sourceFile, span, cancellationToken),\n    endOfLineState: 0 /* None */\n  };\n}\nfunction getSemanticTokens(program, sourceFile, span, cancellationToken) {\n  const resultTokens = [];\n  const collector = (node, typeIdx, modifierSet) => {\n    resultTokens.push(node.getStart(sourceFile), node.getWidth(sourceFile), (typeIdx + 1 << 8 /* typeOffset */) + modifierSet);\n  };\n  if (program && sourceFile) {\n    collectTokens(program, sourceFile, span, collector, cancellationToken);\n  }\n  return resultTokens;\n}\nfunction collectTokens(program, sourceFile, span, collector, cancellationToken) {\n  const typeChecker3 = program.getTypeChecker();\n  let inJSXElement = false;\n  function visit(node) {\n    switch (node.kind) {\n      case 270 /* ModuleDeclaration */:\n      case 264 /* ClassDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 263 /* FunctionDeclaration */:\n      case 232 /* ClassExpression */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n        cancellationToken.throwIfCancellationRequested();\n    }\n    if (!node || !textSpanIntersectsWith(span, node.pos, node.getFullWidth()) || node.getFullWidth() === 0) {\n      return;\n    }\n    const prevInJSXElement = inJSXElement;\n    if (isJsxElement(node) || isJsxSelfClosingElement(node)) {\n      inJSXElement = true;\n    }\n    if (isJsxExpression(node)) {\n      inJSXElement = false;\n    }\n    if (isIdentifier(node) && !inJSXElement && !inImportClause(node) && !isInfinityOrNaNString(node.escapedText)) {\n      let symbol = typeChecker3.getSymbolAtLocation(node);\n      if (symbol) {\n        if (symbol.flags & 2097152 /* Alias */) {\n          symbol = typeChecker3.getAliasedSymbol(symbol);\n        }\n        let typeIdx = classifySymbol2(symbol, getMeaningFromLocation(node));\n        if (typeIdx !== void 0) {\n          let modifierSet = 0;\n          if (node.parent) {\n            const parentIsDeclaration = isBindingElement(node.parent) || tokenFromDeclarationMapping.get(node.parent.kind) === typeIdx;\n            if (parentIsDeclaration && node.parent.name === node) {\n              modifierSet = 1 << 0 /* declaration */;\n            }\n          }\n          if (typeIdx === 6 /* parameter */ && isRightSideOfQualifiedNameOrPropertyAccess2(node)) {\n            typeIdx = 9 /* property */;\n          }\n          typeIdx = reclassifyByType(typeChecker3, node, typeIdx);\n          const decl = symbol.valueDeclaration;\n          if (decl) {\n            const modifiers = getCombinedModifierFlags(decl);\n            const nodeFlags = getCombinedNodeFlags(decl);\n            if (modifiers & 32 /* Static */) {\n              modifierSet |= 1 << 1 /* static */;\n            }\n            if (modifiers & 512 /* Async */) {\n              modifierSet |= 1 << 2 /* async */;\n            }\n            if (typeIdx !== 0 /* class */ && typeIdx !== 2 /* interface */) {\n              if (modifiers & 64 /* Readonly */ || nodeFlags & 2 /* Const */ || symbol.getFlags() & 8 /* EnumMember */) {\n                modifierSet |= 1 << 3 /* readonly */;\n              }\n            }\n            if ((typeIdx === 7 /* variable */ || typeIdx === 10 /* function */) && isLocalDeclaration(decl, sourceFile)) {\n              modifierSet |= 1 << 5 /* local */;\n            }\n            if (program.isSourceFileDefaultLibrary(decl.getSourceFile())) {\n              modifierSet |= 1 << 4 /* defaultLibrary */;\n            }\n          } else if (symbol.declarations && symbol.declarations.some((d) => program.isSourceFileDefaultLibrary(d.getSourceFile()))) {\n            modifierSet |= 1 << 4 /* defaultLibrary */;\n          }\n          collector(node, typeIdx, modifierSet);\n        }\n      }\n    }\n    if (node.virtual) {\n      return;\n    }\n    forEachChild(node, visit);\n    inJSXElement = prevInJSXElement;\n  }\n  visit(sourceFile);\n}\nfunction classifySymbol2(symbol, meaning) {\n  const flags = symbol.getFlags();\n  if (flags & 32 /* Class */) {\n    return 0 /* class */;\n  } else if (flags & 384 /* Enum */) {\n    return 1 /* enum */;\n  } else if (flags & 524288 /* TypeAlias */) {\n    return 5 /* type */;\n  } else if (flags & 64 /* Interface */) {\n    if (meaning & 2 /* Type */) {\n      return 2 /* interface */;\n    }\n  } else if (flags & 262144 /* TypeParameter */) {\n    return 4 /* typeParameter */;\n  }\n  let decl = symbol.valueDeclaration || symbol.declarations && symbol.declarations[0];\n  if (decl && isBindingElement(decl)) {\n    decl = getDeclarationForBindingElement(decl);\n  }\n  return decl && tokenFromDeclarationMapping.get(decl.kind);\n}\nfunction reclassifyByType(typeChecker3, node, typeIdx) {\n  if (typeIdx === 7 /* variable */ || typeIdx === 9 /* property */ || typeIdx === 6 /* parameter */) {\n    const type = typeChecker3.getTypeAtLocation(node);\n    if (type) {\n      const test = (condition) => {\n        return condition(type) || type.isUnion() && type.types.some(condition);\n      };\n      if (typeIdx !== 6 /* parameter */ && test((t) => t.getConstructSignatures().length > 0)) {\n        return 0 /* class */;\n      }\n      if (test((t) => t.getCallSignatures().length > 0) && !test((t) => t.getProperties().length > 0) || isExpressionInCallExpression(node)) {\n        return typeIdx === 9 /* property */ ? 11 /* member */ : 10 /* function */;\n      }\n    }\n  }\n  return typeIdx;\n}\nfunction isLocalDeclaration(decl, sourceFile) {\n  if (isBindingElement(decl)) {\n    decl = getDeclarationForBindingElement(decl);\n  }\n  if (isVariableDeclaration(decl)) {\n    return (!isSourceFile(decl.parent.parent.parent) || isCatchClause(decl.parent)) && decl.getSourceFile() === sourceFile;\n  } else if (isFunctionDeclaration(decl)) {\n    return !isSourceFile(decl.parent) && decl.getSourceFile() === sourceFile;\n  }\n  return false;\n}\nfunction getDeclarationForBindingElement(element) {\n  while (true) {\n    if (isBindingElement(element.parent.parent)) {\n      element = element.parent.parent;\n    } else {\n      return element.parent.parent;\n    }\n  }\n}\nfunction inImportClause(node) {\n  const parent2 = node.parent;\n  return parent2 && (isImportClause(parent2) || isImportSpecifier(parent2) || isNamespaceImport(parent2));\n}\nfunction isExpressionInCallExpression(node) {\n  while (isRightSideOfQualifiedNameOrPropertyAccess2(node)) {\n    node = node.parent;\n  }\n  return isCallExpression(node.parent) && node.parent.expression === node;\n}\nfunction isRightSideOfQualifiedNameOrPropertyAccess2(node) {\n  return isQualifiedName(node.parent) && node.parent.right === node || isPropertyAccessExpression(node.parent) && node.parent.name === node;\n}\nvar tokenFromDeclarationMapping = new Map2([\n  [261 /* VariableDeclaration */, 7 /* variable */],\n  [168 /* Parameter */, 6 /* parameter */],\n  [171 /* PropertyDeclaration */, 9 /* property */],\n  [270 /* ModuleDeclaration */, 3 /* namespace */],\n  [269 /* EnumDeclaration */, 1 /* enum */],\n  [308 /* EnumMember */, 8 /* enumMember */],\n  [264 /* ClassDeclaration */, 0 /* class */],\n  [174 /* MethodDeclaration */, 11 /* member */],\n  [263 /* FunctionDeclaration */, 10 /* function */],\n  [218 /* FunctionExpression */, 10 /* function */],\n  [173 /* MethodSignature */, 11 /* member */],\n  [177 /* GetAccessor */, 9 /* property */],\n  [178 /* SetAccessor */, 9 /* property */],\n  [170 /* PropertySignature */, 9 /* property */],\n  [267 /* InterfaceDeclaration */, 2 /* interface */],\n  [268 /* TypeAliasDeclaration */, 5 /* type */],\n  [167 /* TypeParameter */, 4 /* typeParameter */],\n  [305 /* PropertyAssignment */, 9 /* property */],\n  [306 /* ShorthandPropertyAssignment */, 9 /* property */]\n]);\n\n// src/services/_namespaces/ts.codefix.ts\nvar ts_codefix_exports = {};\n__export(ts_codefix_exports, {\n  PreserveOptionalFlags: () => PreserveOptionalFlags,\n  addNewNodeForMemberSymbol: () => addNewNodeForMemberSymbol,\n  codeFixAll: () => codeFixAll,\n  createCodeFixAction: () => createCodeFixAction,\n  createCodeFixActionMaybeFixAll: () => createCodeFixActionMaybeFixAll,\n  createCodeFixActionWithoutFixAll: () => createCodeFixActionWithoutFixAll,\n  createCombinedCodeActions: () => createCombinedCodeActions,\n  createFileTextChanges: () => createFileTextChanges,\n  createImportAdder: () => createImportAdder,\n  createImportSpecifierResolver: () => createImportSpecifierResolver,\n  createJsonPropertyAssignment: () => createJsonPropertyAssignment,\n  createMissingMemberNodes: () => createMissingMemberNodes,\n  createSignatureDeclarationFromCallExpression: () => createSignatureDeclarationFromCallExpression,\n  createSignatureDeclarationFromSignature: () => createSignatureDeclarationFromSignature,\n  createStubbedBody: () => createStubbedBody,\n  eachDiagnostic: () => eachDiagnostic,\n  findAncestorMatchingSpan: () => findAncestorMatchingSpan,\n  findJsonProperty: () => findJsonProperty,\n  generateAccessorFromProperty: () => generateAccessorFromProperty,\n  getAccessorConvertiblePropertyAtPosition: () => getAccessorConvertiblePropertyAtPosition,\n  getAllFixes: () => getAllFixes,\n  getAllSupers: () => getAllSupers,\n  getArgumentTypesAndTypeParameters: () => getArgumentTypesAndTypeParameters,\n  getFixes: () => getFixes,\n  getImportCompletionAction: () => getImportCompletionAction,\n  getImportKind: () => getImportKind,\n  getNoopSymbolTrackerWithResolver: () => getNoopSymbolTrackerWithResolver,\n  getPromoteTypeOnlyCompletionAction: () => getPromoteTypeOnlyCompletionAction,\n  getSupportedErrorCodes: () => getSupportedErrorCodes,\n  importFixName: () => importFixName,\n  importSymbols: () => importSymbols,\n  moduleSpecifierToValidIdentifier: () => moduleSpecifierToValidIdentifier,\n  moduleSymbolToValidIdentifier: () => moduleSymbolToValidIdentifier,\n  parameterShouldGetTypeFromJSDoc: () => parameterShouldGetTypeFromJSDoc,\n  registerCodeFix: () => registerCodeFix,\n  setJsonCompilerOptionValue: () => setJsonCompilerOptionValue,\n  setJsonCompilerOptionValues: () => setJsonCompilerOptionValues,\n  tryGetAutoImportableReferenceFromTypeNode: () => tryGetAutoImportableReferenceFromTypeNode,\n  typeToAutoImportableTypeNode: () => typeToAutoImportableTypeNode\n});\n\n// src/services/codeFixProvider.ts\nvar errorCodeToFixes = createMultiMap();\nvar fixIdToRegistration = new Map2();\nfunction createCodeFixActionWithoutFixAll(fixName8, changes, description2) {\n  return createCodeFixActionWorker(fixName8, diagnosticToString(description2), changes, void 0, void 0);\n}\nfunction createCodeFixAction(fixName8, changes, description2, fixId52, fixAllDescription, command) {\n  return createCodeFixActionWorker(fixName8, diagnosticToString(description2), changes, fixId52, diagnosticToString(fixAllDescription), command);\n}\nfunction createCodeFixActionMaybeFixAll(fixName8, changes, description2, fixId52, fixAllDescription, command) {\n  return createCodeFixActionWorker(fixName8, diagnosticToString(description2), changes, fixId52, fixAllDescription && diagnosticToString(fixAllDescription), command);\n}\nfunction createCodeFixActionWorker(fixName8, description2, changes, fixId52, fixAllDescription, command) {\n  return { fixName: fixName8, description: description2, changes, fixId: fixId52, fixAllDescription, commands: command ? [command] : void 0 };\n}\nfunction registerCodeFix(reg) {\n  for (const error of reg.errorCodes) {\n    errorCodeToFixes.add(String(error), reg);\n  }\n  if (reg.fixIds) {\n    for (const fixId52 of reg.fixIds) {\n      Debug.assert(!fixIdToRegistration.has(fixId52));\n      fixIdToRegistration.set(fixId52, reg);\n    }\n  }\n}\nfunction getSupportedErrorCodes() {\n  return arrayFrom(errorCodeToFixes.keys());\n}\nfunction removeFixIdIfFixAllUnavailable(registration, diagnostics) {\n  const { errorCodes: errorCodes64 } = registration;\n  let maybeFixableDiagnostics = 0;\n  for (const diag2 of diagnostics) {\n    if (contains(errorCodes64, diag2.code))\n      maybeFixableDiagnostics++;\n    if (maybeFixableDiagnostics > 1)\n      break;\n  }\n  const fixAllUnavailable = maybeFixableDiagnostics < 2;\n  return ({ fixId: fixId52, fixAllDescription, ...action }) => {\n    return fixAllUnavailable ? action : { ...action, fixId: fixId52, fixAllDescription };\n  };\n}\nfunction getFixes(context) {\n  const diagnostics = getDiagnostics(context);\n  const registrations = errorCodeToFixes.get(String(context.errorCode));\n  return flatMap(registrations, (f) => map(f.getCodeActions(context), removeFixIdIfFixAllUnavailable(f, diagnostics)));\n}\nfunction getAllFixes(context) {\n  return fixIdToRegistration.get(cast(context.fixId, isString)).getAllCodeActions(context);\n}\nfunction createCombinedCodeActions(changes, commands) {\n  return { changes, commands };\n}\nfunction createFileTextChanges(fileName, textChanges3) {\n  return { fileName, textChanges: textChanges3 };\n}\nfunction codeFixAll(context, errorCodes64, use) {\n  const commands = [];\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => eachDiagnostic(context, errorCodes64, (diag2) => use(t, diag2, commands)));\n  return createCombinedCodeActions(changes, commands.length === 0 ? void 0 : commands);\n}\nfunction eachDiagnostic(context, errorCodes64, cb) {\n  for (const diag2 of getDiagnostics(context)) {\n    if (contains(errorCodes64, diag2.code)) {\n      cb(diag2);\n    }\n  }\n}\nfunction getDiagnostics({ program, sourceFile, cancellationToken }) {\n  return [\n    ...program.getSemanticDiagnostics(sourceFile, cancellationToken),\n    ...program.getSyntacticDiagnostics(sourceFile, cancellationToken),\n    ...computeSuggestionDiagnostics(sourceFile, program, cancellationToken)\n  ];\n}\n\n// src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts\nvar fixId = \"addConvertToUnknownForNonOverlappingTypes\";\nvar errorCodes = [Diagnostics.Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first.code];\nregisterCodeFix({\n  errorCodes,\n  getCodeActions: function getCodeActionsToAddConvertToUnknownForNonOverlappingTypes(context) {\n    const assertion = getAssertion(context.sourceFile, context.span.start);\n    if (assertion === void 0)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange(t, context.sourceFile, assertion));\n    return [createCodeFixAction(fixId, changes, Diagnostics.Add_unknown_conversion_for_non_overlapping_types, fixId, Diagnostics.Add_unknown_to_all_conversions_of_non_overlapping_types)];\n  },\n  fixIds: [fixId],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes, (changes, diag2) => {\n    const assertion = getAssertion(diag2.file, diag2.start);\n    if (assertion) {\n      makeChange(changes, diag2.file, assertion);\n    }\n  })\n});\nfunction makeChange(changeTracker, sourceFile, assertion) {\n  const replacement = isAsExpression(assertion) ? factory.createAsExpression(assertion.expression, factory.createKeywordTypeNode(159 /* UnknownKeyword */)) : factory.createTypeAssertion(factory.createKeywordTypeNode(159 /* UnknownKeyword */), assertion.expression);\n  changeTracker.replaceNode(sourceFile, assertion.expression, replacement);\n}\nfunction getAssertion(sourceFile, pos) {\n  if (isInJSFile(sourceFile))\n    return void 0;\n  return findAncestor(getTokenAtPosition(sourceFile, pos), (n) => isAsExpression(n) || isTypeAssertionExpression(n));\n}\n\n// src/services/codefixes/addEmptyExportDeclaration.ts\nregisterCodeFix({\n  errorCodes: [\n    Diagnostics.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code,\n    Diagnostics.for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module.code\n  ],\n  getCodeActions: function getCodeActionsToAddEmptyExportDeclaration(context) {\n    const { sourceFile } = context;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n      const exportDeclaration = factory.createExportDeclaration(\n        void 0,\n        false,\n        factory.createNamedExports([]),\n        void 0\n      );\n      changes2.insertNodeAtEndOfScope(sourceFile, sourceFile, exportDeclaration);\n    });\n    return [createCodeFixActionWithoutFixAll(\"addEmptyExportDeclaration\", changes, Diagnostics.Add_export_to_make_this_file_into_a_module)];\n  }\n});\n\n// src/services/codefixes/addMissingAsync.ts\nvar fixId2 = \"addMissingAsync\";\nvar errorCodes2 = [\n  Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n  Diagnostics.Type_0_is_not_comparable_to_type_1.code\n];\nregisterCodeFix({\n  fixIds: [fixId2],\n  errorCodes: errorCodes2,\n  getCodeActions: function getCodeActionsToAddMissingAsync(context) {\n    const { sourceFile, errorCode, cancellationToken, program, span } = context;\n    const diagnostic = find(program.getTypeChecker().getDiagnostics(sourceFile, cancellationToken), getIsMatchingAsyncError(span, errorCode));\n    const directSpan = diagnostic && diagnostic.relatedInformation && find(diagnostic.relatedInformation, (r) => r.code === Diagnostics.Did_you_mean_to_mark_this_function_as_async.code);\n    const decl = getFixableErrorSpanDeclaration(sourceFile, directSpan);\n    if (!decl) {\n      return;\n    }\n    const trackChanges = (cb) => ts_textChanges_exports.ChangeTracker.with(context, cb);\n    return [getFix(context, decl, trackChanges)];\n  },\n  getAllCodeActions: (context) => {\n    const { sourceFile } = context;\n    const fixedDeclarations = new Set2();\n    return codeFixAll(context, errorCodes2, (t, diagnostic) => {\n      const span = diagnostic.relatedInformation && find(diagnostic.relatedInformation, (r) => r.code === Diagnostics.Did_you_mean_to_mark_this_function_as_async.code);\n      const decl = getFixableErrorSpanDeclaration(sourceFile, span);\n      if (!decl) {\n        return;\n      }\n      const trackChanges = (cb) => (cb(t), []);\n      return getFix(context, decl, trackChanges, fixedDeclarations);\n    });\n  }\n});\nfunction getFix(context, decl, trackChanges, fixedDeclarations) {\n  const changes = trackChanges((t) => makeChange2(t, context.sourceFile, decl, fixedDeclarations));\n  return createCodeFixAction(fixId2, changes, Diagnostics.Add_async_modifier_to_containing_function, fixId2, Diagnostics.Add_all_missing_async_modifiers);\n}\nfunction makeChange2(changeTracker, sourceFile, insertionSite, fixedDeclarations) {\n  if (fixedDeclarations) {\n    if (fixedDeclarations.has(getNodeId(insertionSite))) {\n      return;\n    }\n  }\n  fixedDeclarations == null ? void 0 : fixedDeclarations.add(getNodeId(insertionSite));\n  const cloneWithModifier = factory.updateModifiers(\n    getSynthesizedDeepClone(insertionSite, true),\n    factory.createNodeArray(factory.createModifiersFromModifierFlags(getSyntacticModifierFlags(insertionSite) | 512 /* Async */))\n  );\n  changeTracker.replaceNode(\n    sourceFile,\n    insertionSite,\n    cloneWithModifier\n  );\n}\nfunction getFixableErrorSpanDeclaration(sourceFile, span) {\n  if (!span)\n    return void 0;\n  const token = getTokenAtPosition(sourceFile, span.start);\n  const decl = findAncestor(token, (node) => {\n    if (node.getStart(sourceFile) < span.start || node.getEnd() > textSpanEnd(span)) {\n      return \"quit\";\n    }\n    return (isArrowFunction(node) || isMethodDeclaration(node) || isFunctionExpression(node) || isFunctionDeclaration(node)) && textSpansEqual(span, createTextSpanFromNode(node, sourceFile));\n  });\n  return decl;\n}\nfunction getIsMatchingAsyncError(span, errorCode) {\n  return ({ start, length: length2, relatedInformation, code }) => isNumber(start) && isNumber(length2) && textSpansEqual({ start, length: length2 }, span) && code === errorCode && !!relatedInformation && some(relatedInformation, (related) => related.code === Diagnostics.Did_you_mean_to_mark_this_function_as_async.code);\n}\n\n// src/services/codefixes/addMissingAwait.ts\nvar fixId3 = \"addMissingAwait\";\nvar propertyAccessCode = Diagnostics.Property_0_does_not_exist_on_type_1.code;\nvar callableConstructableErrorCodes = [\n  Diagnostics.This_expression_is_not_callable.code,\n  Diagnostics.This_expression_is_not_constructable.code\n];\nvar errorCodes3 = [\n  Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,\n  Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,\n  Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,\n  Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,\n  Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,\n  Diagnostics.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,\n  Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,\n  Diagnostics.Type_0_is_not_an_array_type.code,\n  Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,\n  Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,\n  Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,\n  Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,\n  Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,\n  Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,\n  Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n  propertyAccessCode,\n  ...callableConstructableErrorCodes\n];\nregisterCodeFix({\n  fixIds: [fixId3],\n  errorCodes: errorCodes3,\n  getCodeActions: function getCodeActionsToAddMissingAwait(context) {\n    const { sourceFile, errorCode, span, cancellationToken, program } = context;\n    const expression = getAwaitErrorSpanExpression(sourceFile, errorCode, span, cancellationToken, program);\n    if (!expression) {\n      return;\n    }\n    const checker = context.program.getTypeChecker();\n    const trackChanges = (cb) => ts_textChanges_exports.ChangeTracker.with(context, cb);\n    return compact([\n      getDeclarationSiteFix(context, expression, errorCode, checker, trackChanges),\n      getUseSiteFix(context, expression, errorCode, checker, trackChanges)\n    ]);\n  },\n  getAllCodeActions: (context) => {\n    const { sourceFile, program, cancellationToken } = context;\n    const checker = context.program.getTypeChecker();\n    const fixedDeclarations = new Set2();\n    return codeFixAll(context, errorCodes3, (t, diagnostic) => {\n      const expression = getAwaitErrorSpanExpression(sourceFile, diagnostic.code, diagnostic, cancellationToken, program);\n      if (!expression) {\n        return;\n      }\n      const trackChanges = (cb) => (cb(t), []);\n      return getDeclarationSiteFix(context, expression, diagnostic.code, checker, trackChanges, fixedDeclarations) || getUseSiteFix(context, expression, diagnostic.code, checker, trackChanges, fixedDeclarations);\n    });\n  }\n});\nfunction getAwaitErrorSpanExpression(sourceFile, errorCode, span, cancellationToken, program) {\n  const expression = getFixableErrorSpanExpression(sourceFile, span);\n  return expression && isMissingAwaitError(sourceFile, errorCode, span, cancellationToken, program) && isInsideAwaitableBody(expression) ? expression : void 0;\n}\nfunction getDeclarationSiteFix(context, expression, errorCode, checker, trackChanges, fixedDeclarations) {\n  const { sourceFile, program, cancellationToken } = context;\n  const awaitableInitializers = findAwaitableInitializers(expression, sourceFile, cancellationToken, program, checker);\n  if (awaitableInitializers) {\n    const initializerChanges = trackChanges((t) => {\n      forEach(awaitableInitializers.initializers, ({ expression: expression2 }) => makeChange3(t, errorCode, sourceFile, checker, expression2, fixedDeclarations));\n      if (fixedDeclarations && awaitableInitializers.needsSecondPassForFixAll) {\n        makeChange3(t, errorCode, sourceFile, checker, expression, fixedDeclarations);\n      }\n    });\n    return createCodeFixActionWithoutFixAll(\n      \"addMissingAwaitToInitializer\",\n      initializerChanges,\n      awaitableInitializers.initializers.length === 1 ? [Diagnostics.Add_await_to_initializer_for_0, awaitableInitializers.initializers[0].declarationSymbol.name] : Diagnostics.Add_await_to_initializers\n    );\n  }\n}\nfunction getUseSiteFix(context, expression, errorCode, checker, trackChanges, fixedDeclarations) {\n  const changes = trackChanges((t) => makeChange3(t, errorCode, context.sourceFile, checker, expression, fixedDeclarations));\n  return createCodeFixAction(fixId3, changes, Diagnostics.Add_await, fixId3, Diagnostics.Fix_all_expressions_possibly_missing_await);\n}\nfunction isMissingAwaitError(sourceFile, errorCode, span, cancellationToken, program) {\n  const checker = program.getTypeChecker();\n  const diagnostics = checker.getDiagnostics(sourceFile, cancellationToken);\n  return some(diagnostics, ({ start, length: length2, relatedInformation, code }) => isNumber(start) && isNumber(length2) && textSpansEqual({ start, length: length2 }, span) && code === errorCode && !!relatedInformation && some(relatedInformation, (related) => related.code === Diagnostics.Did_you_forget_to_use_await.code));\n}\nfunction findAwaitableInitializers(expression, sourceFile, cancellationToken, program, checker) {\n  const identifiers = getIdentifiersFromErrorSpanExpression(expression, checker);\n  if (!identifiers) {\n    return;\n  }\n  let isCompleteFix = identifiers.isCompleteFix;\n  let initializers;\n  for (const identifier of identifiers.identifiers) {\n    const symbol = checker.getSymbolAtLocation(identifier);\n    if (!symbol) {\n      continue;\n    }\n    const declaration = tryCast(symbol.valueDeclaration, isVariableDeclaration);\n    const variableName = declaration && tryCast(declaration.name, isIdentifier);\n    const variableStatement = getAncestor(declaration, 244 /* VariableStatement */);\n    if (!declaration || !variableStatement || declaration.type || !declaration.initializer || variableStatement.getSourceFile() !== sourceFile || hasSyntacticModifier(variableStatement, 1 /* Export */) || !variableName || !isInsideAwaitableBody(declaration.initializer)) {\n      isCompleteFix = false;\n      continue;\n    }\n    const diagnostics = program.getSemanticDiagnostics(sourceFile, cancellationToken);\n    const isUsedElsewhere = ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(variableName, checker, sourceFile, (reference) => {\n      return identifier !== reference && !symbolReferenceIsAlsoMissingAwait(reference, diagnostics, sourceFile, checker);\n    });\n    if (isUsedElsewhere) {\n      isCompleteFix = false;\n      continue;\n    }\n    (initializers || (initializers = [])).push({\n      expression: declaration.initializer,\n      declarationSymbol: symbol\n    });\n  }\n  return initializers && {\n    initializers,\n    needsSecondPassForFixAll: !isCompleteFix\n  };\n}\nfunction getIdentifiersFromErrorSpanExpression(expression, checker) {\n  if (isPropertyAccessExpression(expression.parent) && isIdentifier(expression.parent.expression)) {\n    return { identifiers: [expression.parent.expression], isCompleteFix: true };\n  }\n  if (isIdentifier(expression)) {\n    return { identifiers: [expression], isCompleteFix: true };\n  }\n  if (isBinaryExpression(expression)) {\n    let sides;\n    let isCompleteFix = true;\n    for (const side of [expression.left, expression.right]) {\n      const type = checker.getTypeAtLocation(side);\n      if (checker.getPromisedTypeOfPromise(type)) {\n        if (!isIdentifier(side)) {\n          isCompleteFix = false;\n          continue;\n        }\n        (sides || (sides = [])).push(side);\n      }\n    }\n    return sides && { identifiers: sides, isCompleteFix };\n  }\n}\nfunction symbolReferenceIsAlsoMissingAwait(reference, diagnostics, sourceFile, checker) {\n  const errorNode = isPropertyAccessExpression(reference.parent) ? reference.parent.name : isBinaryExpression(reference.parent) ? reference.parent : reference;\n  const diagnostic = find(diagnostics, (diagnostic2) => diagnostic2.start === errorNode.getStart(sourceFile) && diagnostic2.start + diagnostic2.length === errorNode.getEnd());\n  return diagnostic && contains(errorCodes3, diagnostic.code) || checker.getTypeAtLocation(errorNode).flags & 1 /* Any */;\n}\nfunction isInsideAwaitableBody(node) {\n  return node.kind & 32768 /* AwaitContext */ || !!findAncestor(node, (ancestor) => ancestor.parent && isArrowFunction(ancestor.parent) && ancestor.parent.body === ancestor || isBlock(ancestor) && (ancestor.parent.kind === 263 /* FunctionDeclaration */ || ancestor.parent.kind === 218 /* FunctionExpression */ || ancestor.parent.kind === 219 /* ArrowFunction */ || ancestor.parent.kind === 174 /* MethodDeclaration */));\n}\nfunction makeChange3(changeTracker, errorCode, sourceFile, checker, insertionSite, fixedDeclarations) {\n  if (isForOfStatement(insertionSite.parent) && !insertionSite.parent.awaitModifier) {\n    const exprType = checker.getTypeAtLocation(insertionSite);\n    const asyncIter = checker.getAsyncIterableType();\n    if (asyncIter && checker.isTypeAssignableTo(exprType, asyncIter)) {\n      const forOf = insertionSite.parent;\n      changeTracker.replaceNode(sourceFile, forOf, factory.updateForOfStatement(forOf, factory.createToken(134 /* AwaitKeyword */), forOf.initializer, forOf.expression, forOf.statement));\n      return;\n    }\n  }\n  if (isBinaryExpression(insertionSite)) {\n    for (const side of [insertionSite.left, insertionSite.right]) {\n      if (fixedDeclarations && isIdentifier(side)) {\n        const symbol = checker.getSymbolAtLocation(side);\n        if (symbol && fixedDeclarations.has(getSymbolId(symbol))) {\n          continue;\n        }\n      }\n      const type = checker.getTypeAtLocation(side);\n      const newNode = checker.getPromisedTypeOfPromise(type) ? factory.createAwaitExpression(side) : side;\n      changeTracker.replaceNode(sourceFile, side, newNode);\n    }\n  } else if (errorCode === propertyAccessCode && isPropertyAccessExpression(insertionSite.parent)) {\n    if (fixedDeclarations && isIdentifier(insertionSite.parent.expression)) {\n      const symbol = checker.getSymbolAtLocation(insertionSite.parent.expression);\n      if (symbol && fixedDeclarations.has(getSymbolId(symbol))) {\n        return;\n      }\n    }\n    changeTracker.replaceNode(\n      sourceFile,\n      insertionSite.parent.expression,\n      factory.createParenthesizedExpression(factory.createAwaitExpression(insertionSite.parent.expression))\n    );\n    insertLeadingSemicolonIfNeeded(changeTracker, insertionSite.parent.expression, sourceFile);\n  } else if (contains(callableConstructableErrorCodes, errorCode) && isCallOrNewExpression(insertionSite.parent)) {\n    if (fixedDeclarations && isIdentifier(insertionSite)) {\n      const symbol = checker.getSymbolAtLocation(insertionSite);\n      if (symbol && fixedDeclarations.has(getSymbolId(symbol))) {\n        return;\n      }\n    }\n    changeTracker.replaceNode(sourceFile, insertionSite, factory.createParenthesizedExpression(factory.createAwaitExpression(insertionSite)));\n    insertLeadingSemicolonIfNeeded(changeTracker, insertionSite, sourceFile);\n  } else {\n    if (fixedDeclarations && isVariableDeclaration(insertionSite.parent) && isIdentifier(insertionSite.parent.name)) {\n      const symbol = checker.getSymbolAtLocation(insertionSite.parent.name);\n      if (symbol && !tryAddToSet(fixedDeclarations, getSymbolId(symbol))) {\n        return;\n      }\n    }\n    changeTracker.replaceNode(sourceFile, insertionSite, factory.createAwaitExpression(insertionSite));\n  }\n}\nfunction insertLeadingSemicolonIfNeeded(changeTracker, beforeNode, sourceFile) {\n  const precedingToken = findPrecedingToken(beforeNode.pos, sourceFile);\n  if (precedingToken && positionIsASICandidate(precedingToken.end, precedingToken.parent, sourceFile)) {\n    changeTracker.insertText(sourceFile, beforeNode.getStart(sourceFile), \";\");\n  }\n}\n\n// src/services/codefixes/addMissingConst.ts\nvar fixId4 = \"addMissingConst\";\nvar errorCodes4 = [\n  Diagnostics.Cannot_find_name_0.code,\n  Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes4,\n  getCodeActions: function getCodeActionsToAddMissingConst(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange4(t, context.sourceFile, context.span.start, context.program));\n    if (changes.length > 0) {\n      return [createCodeFixAction(fixId4, changes, Diagnostics.Add_const_to_unresolved_variable, fixId4, Diagnostics.Add_const_to_all_unresolved_variables)];\n    }\n  },\n  fixIds: [fixId4],\n  getAllCodeActions: (context) => {\n    const fixedNodes = new Set2();\n    return codeFixAll(context, errorCodes4, (changes, diag2) => makeChange4(changes, diag2.file, diag2.start, context.program, fixedNodes));\n  }\n});\nfunction makeChange4(changeTracker, sourceFile, pos, program, fixedNodes) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  const forInitializer = findAncestor(\n    token,\n    (node) => isForInOrOfStatement(node.parent) ? node.parent.initializer === node : isPossiblyPartOfDestructuring(node) ? false : \"quit\"\n  );\n  if (forInitializer)\n    return applyChange(changeTracker, forInitializer, sourceFile, fixedNodes);\n  const parent2 = token.parent;\n  if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 63 /* EqualsToken */ && isExpressionStatement(parent2.parent)) {\n    return applyChange(changeTracker, token, sourceFile, fixedNodes);\n  }\n  if (isArrayLiteralExpression(parent2)) {\n    const checker = program.getTypeChecker();\n    if (!every(parent2.elements, (element) => arrayElementCouldBeVariableDeclaration(element, checker))) {\n      return;\n    }\n    return applyChange(changeTracker, parent2, sourceFile, fixedNodes);\n  }\n  const commaExpression = findAncestor(\n    token,\n    (node) => isExpressionStatement(node.parent) ? true : isPossiblyPartOfCommaSeperatedInitializer(node) ? false : \"quit\"\n  );\n  if (commaExpression) {\n    const checker = program.getTypeChecker();\n    if (!expressionCouldBeVariableDeclaration(commaExpression, checker)) {\n      return;\n    }\n    return applyChange(changeTracker, commaExpression, sourceFile, fixedNodes);\n  }\n}\nfunction applyChange(changeTracker, initializer, sourceFile, fixedNodes) {\n  if (!fixedNodes || tryAddToSet(fixedNodes, initializer)) {\n    changeTracker.insertModifierBefore(sourceFile, 86 /* ConstKeyword */, initializer);\n  }\n}\nfunction isPossiblyPartOfDestructuring(node) {\n  switch (node.kind) {\n    case 79 /* Identifier */:\n    case 209 /* ArrayLiteralExpression */:\n    case 210 /* ObjectLiteralExpression */:\n    case 305 /* PropertyAssignment */:\n    case 306 /* ShorthandPropertyAssignment */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction arrayElementCouldBeVariableDeclaration(expression, checker) {\n  const identifier = isIdentifier(expression) ? expression : isAssignmentExpression(expression, true) && isIdentifier(expression.left) ? expression.left : void 0;\n  return !!identifier && !checker.getSymbolAtLocation(identifier);\n}\nfunction isPossiblyPartOfCommaSeperatedInitializer(node) {\n  switch (node.kind) {\n    case 79 /* Identifier */:\n    case 227 /* BinaryExpression */:\n    case 27 /* CommaToken */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction expressionCouldBeVariableDeclaration(expression, checker) {\n  if (!isBinaryExpression(expression)) {\n    return false;\n  }\n  if (expression.operatorToken.kind === 27 /* CommaToken */) {\n    return every([expression.left, expression.right], (expression2) => expressionCouldBeVariableDeclaration(expression2, checker));\n  }\n  return expression.operatorToken.kind === 63 /* EqualsToken */ && isIdentifier(expression.left) && !checker.getSymbolAtLocation(expression.left);\n}\n\n// src/services/codefixes/addMissingDeclareProperty.ts\nvar fixId5 = \"addMissingDeclareProperty\";\nvar errorCodes5 = [\n  Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes5,\n  getCodeActions: function getCodeActionsToAddMissingDeclareOnProperty(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange5(t, context.sourceFile, context.span.start));\n    if (changes.length > 0) {\n      return [createCodeFixAction(fixId5, changes, Diagnostics.Prefix_with_declare, fixId5, Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)];\n    }\n  },\n  fixIds: [fixId5],\n  getAllCodeActions: (context) => {\n    const fixedNodes = new Set2();\n    return codeFixAll(context, errorCodes5, (changes, diag2) => makeChange5(changes, diag2.file, diag2.start, fixedNodes));\n  }\n});\nfunction makeChange5(changeTracker, sourceFile, pos, fixedNodes) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (!isIdentifier(token)) {\n    return;\n  }\n  const declaration = token.parent;\n  if (declaration.kind === 171 /* PropertyDeclaration */ && (!fixedNodes || tryAddToSet(fixedNodes, declaration))) {\n    changeTracker.insertModifierBefore(sourceFile, 137 /* DeclareKeyword */, declaration);\n  }\n}\n\n// src/services/codefixes/addMissingInvocationForDecorator.ts\nvar fixId6 = \"addMissingInvocationForDecorator\";\nvar errorCodes6 = [Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];\nregisterCodeFix({\n  errorCodes: errorCodes6,\n  getCodeActions: function getCodeActionsToAddMissingInvocationForDecorator(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange6(t, context.sourceFile, context.span.start));\n    return [createCodeFixAction(fixId6, changes, Diagnostics.Call_decorator_expression, fixId6, Diagnostics.Add_to_all_uncalled_decorators)];\n  },\n  fixIds: [fixId6],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes6, (changes, diag2) => makeChange6(changes, diag2.file, diag2.start))\n});\nfunction makeChange6(changeTracker, sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  const decorator = findAncestor(token, isDecorator);\n  Debug.assert(!!decorator, \"Expected position to be owned by a decorator.\");\n  const replacement = factory.createCallExpression(decorator.expression, void 0, void 0);\n  changeTracker.replaceNode(sourceFile, decorator.expression, replacement);\n}\n\n// src/services/codefixes/addNameToNamelessParameter.ts\nvar fixId7 = \"addNameToNamelessParameter\";\nvar errorCodes7 = [Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];\nregisterCodeFix({\n  errorCodes: errorCodes7,\n  getCodeActions: function getCodeActionsToAddNameToNamelessParameter(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange7(t, context.sourceFile, context.span.start));\n    return [createCodeFixAction(fixId7, changes, Diagnostics.Add_parameter_name, fixId7, Diagnostics.Add_names_to_all_parameters_without_names)];\n  },\n  fixIds: [fixId7],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes7, (changes, diag2) => makeChange7(changes, diag2.file, diag2.start))\n});\nfunction makeChange7(changeTracker, sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  const param = token.parent;\n  if (!isParameter(param)) {\n    return Debug.fail(\"Tried to add a parameter name to a non-parameter: \" + Debug.formatSyntaxKind(token.kind));\n  }\n  const i = param.parent.parameters.indexOf(param);\n  Debug.assert(!param.type, \"Tried to add a parameter name to a parameter that already had one.\");\n  Debug.assert(i > -1, \"Parameter not found in parent parameter list.\");\n  const typeNode = factory.createTypeReferenceNode(param.name, void 0);\n  const replacement = factory.createParameterDeclaration(\n    param.modifiers,\n    param.dotDotDotToken,\n    \"arg\" + i,\n    param.questionToken,\n    param.dotDotDotToken ? factory.createArrayTypeNode(typeNode) : typeNode,\n    param.initializer\n  );\n  changeTracker.replaceNode(sourceFile, param, replacement);\n}\n\n// src/services/codefixes/addOptionalPropertyUndefined.ts\nvar addOptionalPropertyUndefined = \"addOptionalPropertyUndefined\";\nvar errorCodes8 = [\n  Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,\n  Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes8,\n  getCodeActions(context) {\n    const typeChecker3 = context.program.getTypeChecker();\n    const toAdd = getPropertiesToAdd(context.sourceFile, context.span, typeChecker3);\n    if (!toAdd.length) {\n      return void 0;\n    }\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addUndefinedToOptionalProperty(t, toAdd));\n    return [createCodeFixActionWithoutFixAll(addOptionalPropertyUndefined, changes, Diagnostics.Add_undefined_to_optional_property_type)];\n  },\n  fixIds: [addOptionalPropertyUndefined]\n});\nfunction getPropertiesToAdd(file, span, checker) {\n  var _a2, _b;\n  const sourceTarget = getSourceTarget(getFixableErrorSpanExpression(file, span), checker);\n  if (!sourceTarget) {\n    return emptyArray;\n  }\n  const { source: sourceNode, target: targetNode } = sourceTarget;\n  const target = shouldUseParentTypeOfProperty(sourceNode, targetNode, checker) ? checker.getTypeAtLocation(targetNode.expression) : checker.getTypeAtLocation(targetNode);\n  if ((_b = (_a2 = target.symbol) == null ? void 0 : _a2.declarations) == null ? void 0 : _b.some((d) => getSourceFileOfNode(d).fileName.match(/\\.d\\.ts$/))) {\n    return emptyArray;\n  }\n  return checker.getExactOptionalProperties(target);\n}\nfunction shouldUseParentTypeOfProperty(sourceNode, targetNode, checker) {\n  return isPropertyAccessExpression(targetNode) && !!checker.getExactOptionalProperties(checker.getTypeAtLocation(targetNode.expression)).length && checker.getTypeAtLocation(sourceNode) === checker.getUndefinedType();\n}\nfunction getSourceTarget(errorNode, checker) {\n  var _a2;\n  if (!errorNode) {\n    return void 0;\n  } else if (isBinaryExpression(errorNode.parent) && errorNode.parent.operatorToken.kind === 63 /* EqualsToken */) {\n    return { source: errorNode.parent.right, target: errorNode.parent.left };\n  } else if (isVariableDeclaration(errorNode.parent) && errorNode.parent.initializer) {\n    return { source: errorNode.parent.initializer, target: errorNode.parent.name };\n  } else if (isCallExpression(errorNode.parent)) {\n    const n = checker.getSymbolAtLocation(errorNode.parent.expression);\n    if (!(n == null ? void 0 : n.valueDeclaration) || !isFunctionLikeKind(n.valueDeclaration.kind))\n      return void 0;\n    if (!isExpression(errorNode))\n      return void 0;\n    const i = errorNode.parent.arguments.indexOf(errorNode);\n    if (i === -1)\n      return void 0;\n    const name = n.valueDeclaration.parameters[i].name;\n    if (isIdentifier(name))\n      return { source: errorNode, target: name };\n  } else if (isPropertyAssignment(errorNode.parent) && isIdentifier(errorNode.parent.name) || isShorthandPropertyAssignment(errorNode.parent)) {\n    const parentTarget = getSourceTarget(errorNode.parent.parent, checker);\n    if (!parentTarget)\n      return void 0;\n    const prop = checker.getPropertyOfType(checker.getTypeAtLocation(parentTarget.target), errorNode.parent.name.text);\n    const declaration = (_a2 = prop == null ? void 0 : prop.declarations) == null ? void 0 : _a2[0];\n    if (!declaration)\n      return void 0;\n    return {\n      source: isPropertyAssignment(errorNode.parent) ? errorNode.parent.initializer : errorNode.parent.name,\n      target: declaration\n    };\n  }\n  return void 0;\n}\nfunction addUndefinedToOptionalProperty(changes, toAdd) {\n  for (const add of toAdd) {\n    const d = add.valueDeclaration;\n    if (d && (isPropertySignature(d) || isPropertyDeclaration(d)) && d.type) {\n      const t = factory.createUnionTypeNode([\n        ...d.type.kind === 192 /* UnionType */ ? d.type.types : [d.type],\n        factory.createTypeReferenceNode(\"undefined\")\n      ]);\n      changes.replaceNode(d.getSourceFile(), d.type, t);\n    }\n  }\n}\n\n// src/services/codefixes/annotateWithTypeFromJSDoc.ts\nvar fixId8 = \"annotateWithTypeFromJSDoc\";\nvar errorCodes9 = [Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];\nregisterCodeFix({\n  errorCodes: errorCodes9,\n  getCodeActions(context) {\n    const decl = getDeclaration(context.sourceFile, context.span.start);\n    if (!decl)\n      return;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange(t, context.sourceFile, decl));\n    return [createCodeFixAction(fixId8, changes, Diagnostics.Annotate_with_type_from_JSDoc, fixId8, Diagnostics.Annotate_everything_with_types_from_JSDoc)];\n  },\n  fixIds: [fixId8],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes9, (changes, diag2) => {\n    const decl = getDeclaration(diag2.file, diag2.start);\n    if (decl)\n      doChange(changes, diag2.file, decl);\n  })\n});\nfunction getDeclaration(file, pos) {\n  const name = getTokenAtPosition(file, pos);\n  return tryCast(isParameter(name.parent) ? name.parent.parent : name.parent, parameterShouldGetTypeFromJSDoc);\n}\nfunction parameterShouldGetTypeFromJSDoc(node) {\n  return isDeclarationWithType(node) && hasUsableJSDoc(node);\n}\nfunction hasUsableJSDoc(decl) {\n  return isFunctionLikeDeclaration(decl) ? decl.parameters.some(hasUsableJSDoc) || !decl.type && !!getJSDocReturnType(decl) : !decl.type && !!getJSDocType(decl);\n}\nfunction doChange(changes, sourceFile, decl) {\n  if (isFunctionLikeDeclaration(decl) && (getJSDocReturnType(decl) || decl.parameters.some((p) => !!getJSDocType(p)))) {\n    if (!decl.typeParameters) {\n      const typeParameters = getJSDocTypeParameterDeclarations(decl);\n      if (typeParameters.length)\n        changes.insertTypeParameters(sourceFile, decl, typeParameters);\n    }\n    const needParens = isArrowFunction(decl) && !findChildOfKind(decl, 20 /* OpenParenToken */, sourceFile);\n    if (needParens)\n      changes.insertNodeBefore(sourceFile, first(decl.parameters), factory.createToken(20 /* OpenParenToken */));\n    for (const param of decl.parameters) {\n      if (!param.type) {\n        const paramType = getJSDocType(param);\n        if (paramType)\n          changes.tryInsertTypeAnnotation(sourceFile, param, transformJSDocType(paramType));\n      }\n    }\n    if (needParens)\n      changes.insertNodeAfter(sourceFile, last(decl.parameters), factory.createToken(21 /* CloseParenToken */));\n    if (!decl.type) {\n      const returnType = getJSDocReturnType(decl);\n      if (returnType)\n        changes.tryInsertTypeAnnotation(sourceFile, decl, transformJSDocType(returnType));\n    }\n  } else {\n    const jsdocType = Debug.checkDefined(getJSDocType(decl), \"A JSDocType for this declaration should exist\");\n    Debug.assert(!decl.type, \"The JSDocType decl should have a type\");\n    changes.tryInsertTypeAnnotation(sourceFile, decl, transformJSDocType(jsdocType));\n  }\n}\nfunction isDeclarationWithType(node) {\n  return isFunctionLikeDeclaration(node) || node.kind === 261 /* VariableDeclaration */ || node.kind === 170 /* PropertySignature */ || node.kind === 171 /* PropertyDeclaration */;\n}\nfunction transformJSDocType(node) {\n  switch (node.kind) {\n    case 321 /* JSDocAllType */:\n    case 322 /* JSDocUnknownType */:\n      return factory.createTypeReferenceNode(\"any\", emptyArray);\n    case 325 /* JSDocOptionalType */:\n      return transformJSDocOptionalType(node);\n    case 324 /* JSDocNonNullableType */:\n      return transformJSDocType(node.type);\n    case 323 /* JSDocNullableType */:\n      return transformJSDocNullableType(node);\n    case 327 /* JSDocVariadicType */:\n      return transformJSDocVariadicType(node);\n    case 326 /* JSDocFunctionType */:\n      return transformJSDocFunctionType(node);\n    case 183 /* TypeReference */:\n      return transformJSDocTypeReference(node);\n    default:\n      const visited = visitEachChild(node, transformJSDocType, nullTransformationContext);\n      setEmitFlags(visited, 1 /* SingleLine */);\n      return visited;\n  }\n}\nfunction transformJSDocOptionalType(node) {\n  return factory.createUnionTypeNode([visitNode(node.type, transformJSDocType), factory.createTypeReferenceNode(\"undefined\", emptyArray)]);\n}\nfunction transformJSDocNullableType(node) {\n  return factory.createUnionTypeNode([visitNode(node.type, transformJSDocType), factory.createTypeReferenceNode(\"null\", emptyArray)]);\n}\nfunction transformJSDocVariadicType(node) {\n  return factory.createArrayTypeNode(visitNode(node.type, transformJSDocType));\n}\nfunction transformJSDocFunctionType(node) {\n  var _a2;\n  return factory.createFunctionTypeNode(emptyArray, node.parameters.map(transformJSDocParameter), (_a2 = node.type) != null ? _a2 : factory.createKeywordTypeNode(132 /* AnyKeyword */));\n}\nfunction transformJSDocParameter(node) {\n  const index = node.parent.parameters.indexOf(node);\n  const isRest = node.type.kind === 327 /* JSDocVariadicType */ && index === node.parent.parameters.length - 1;\n  const name = node.name || (isRest ? \"rest\" : \"arg\" + index);\n  const dotdotdot = isRest ? factory.createToken(25 /* DotDotDotToken */) : node.dotDotDotToken;\n  return factory.createParameterDeclaration(node.modifiers, dotdotdot, name, node.questionToken, visitNode(node.type, transformJSDocType), node.initializer);\n}\nfunction transformJSDocTypeReference(node) {\n  let name = node.typeName;\n  let args = node.typeArguments;\n  if (isIdentifier(node.typeName)) {\n    if (isJSDocIndexSignature(node)) {\n      return transformJSDocIndexSignature(node);\n    }\n    let text = node.typeName.text;\n    switch (node.typeName.text) {\n      case \"String\":\n      case \"Boolean\":\n      case \"Object\":\n      case \"Number\":\n        text = text.toLowerCase();\n        break;\n      case \"array\":\n      case \"date\":\n      case \"promise\":\n        text = text[0].toUpperCase() + text.slice(1);\n        break;\n    }\n    name = factory.createIdentifier(text);\n    if ((text === \"Array\" || text === \"Promise\") && !node.typeArguments) {\n      args = factory.createNodeArray([factory.createTypeReferenceNode(\"any\", emptyArray)]);\n    } else {\n      args = visitNodes2(node.typeArguments, transformJSDocType);\n    }\n  }\n  return factory.createTypeReferenceNode(name, args);\n}\nfunction transformJSDocIndexSignature(node) {\n  const index = factory.createParameterDeclaration(\n    void 0,\n    void 0,\n    node.typeArguments[0].kind === 149 /* NumberKeyword */ ? \"n\" : \"s\",\n    void 0,\n    factory.createTypeReferenceNode(node.typeArguments[0].kind === 149 /* NumberKeyword */ ? \"number\" : \"string\", []),\n    void 0\n  );\n  const indexSignature = factory.createTypeLiteralNode([factory.createIndexSignature(void 0, [index], node.typeArguments[1])]);\n  setEmitFlags(indexSignature, 1 /* SingleLine */);\n  return indexSignature;\n}\n\n// src/services/codefixes/convertFunctionToEs6Class.ts\nvar fixId9 = \"convertFunctionToEs6Class\";\nvar errorCodes10 = [Diagnostics.This_constructor_function_may_be_converted_to_a_class_declaration.code];\nregisterCodeFix({\n  errorCodes: errorCodes10,\n  getCodeActions(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange2(t, context.sourceFile, context.span.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions()));\n    return [createCodeFixAction(fixId9, changes, Diagnostics.Convert_function_to_an_ES2015_class, fixId9, Diagnostics.Convert_all_constructor_functions_to_classes)];\n  },\n  fixIds: [fixId9],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes10, (changes, err) => doChange2(changes, err.file, err.start, context.program.getTypeChecker(), context.preferences, context.program.getCompilerOptions()))\n});\nfunction doChange2(changes, sourceFile, position, checker, preferences, compilerOptions) {\n  const ctorSymbol = checker.getSymbolAtLocation(getTokenAtPosition(sourceFile, position));\n  if (!ctorSymbol || !ctorSymbol.valueDeclaration || !(ctorSymbol.flags & (16 /* Function */ | 3 /* Variable */))) {\n    return void 0;\n  }\n  const ctorDeclaration = ctorSymbol.valueDeclaration;\n  if (isFunctionDeclaration(ctorDeclaration) || isFunctionExpression(ctorDeclaration)) {\n    changes.replaceNode(sourceFile, ctorDeclaration, createClassFromFunction(ctorDeclaration));\n  } else if (isVariableDeclaration(ctorDeclaration)) {\n    const classDeclaration = createClassFromVariableDeclaration(ctorDeclaration);\n    if (!classDeclaration) {\n      return void 0;\n    }\n    const ancestor = ctorDeclaration.parent.parent;\n    if (isVariableDeclarationList(ctorDeclaration.parent) && ctorDeclaration.parent.declarations.length > 1) {\n      changes.delete(sourceFile, ctorDeclaration);\n      changes.insertNodeAfter(sourceFile, ancestor, classDeclaration);\n    } else {\n      changes.replaceNode(sourceFile, ancestor, classDeclaration);\n    }\n  }\n  function createClassElementsFromSymbol(symbol) {\n    const memberElements = [];\n    if (symbol.exports) {\n      symbol.exports.forEach((member) => {\n        if (member.name === \"prototype\" && member.declarations) {\n          const firstDeclaration = member.declarations[0];\n          if (member.declarations.length === 1 && isPropertyAccessExpression(firstDeclaration) && isBinaryExpression(firstDeclaration.parent) && firstDeclaration.parent.operatorToken.kind === 63 /* EqualsToken */ && isObjectLiteralExpression(firstDeclaration.parent.right)) {\n            const prototypes = firstDeclaration.parent.right;\n            createClassElement(prototypes.symbol, void 0, memberElements);\n          }\n        } else {\n          createClassElement(member, [factory.createToken(125 /* StaticKeyword */)], memberElements);\n        }\n      });\n    }\n    if (symbol.members) {\n      symbol.members.forEach((member, key) => {\n        var _a2, _b, _c, _d;\n        if (key === \"constructor\" && member.valueDeclaration) {\n          const prototypeAssignment = (_d = (_c = (_b = (_a2 = symbol.exports) == null ? void 0 : _a2.get(\"prototype\")) == null ? void 0 : _b.declarations) == null ? void 0 : _c[0]) == null ? void 0 : _d.parent;\n          if (prototypeAssignment && isBinaryExpression(prototypeAssignment) && isObjectLiteralExpression(prototypeAssignment.right) && some(prototypeAssignment.right.properties, isConstructorAssignment)) {\n          } else {\n            changes.delete(sourceFile, member.valueDeclaration.parent);\n          }\n          return;\n        }\n        createClassElement(member, void 0, memberElements);\n      });\n    }\n    return memberElements;\n    function shouldConvertDeclaration(_target, source) {\n      if (isAccessExpression(_target)) {\n        if (isPropertyAccessExpression(_target) && isConstructorAssignment(_target))\n          return true;\n        return isFunctionLike(source);\n      } else {\n        return every(_target.properties, (property) => {\n          if (isMethodDeclaration(property) || isGetOrSetAccessorDeclaration(property))\n            return true;\n          if (isPropertyAssignment(property) && isFunctionExpression(property.initializer) && !!property.name)\n            return true;\n          if (isConstructorAssignment(property))\n            return true;\n          return false;\n        });\n      }\n    }\n    function createClassElement(symbol2, modifiers, members) {\n      if (!(symbol2.flags & 8192 /* Method */) && !(symbol2.flags & 4096 /* ObjectLiteral */)) {\n        return;\n      }\n      const memberDeclaration = symbol2.valueDeclaration;\n      const assignmentBinaryExpression = memberDeclaration.parent;\n      const assignmentExpr = assignmentBinaryExpression.right;\n      if (!shouldConvertDeclaration(memberDeclaration, assignmentExpr)) {\n        return;\n      }\n      if (some(members, (m) => {\n        const name = getNameOfDeclaration(m);\n        if (name && isIdentifier(name) && idText(name) === symbolName(symbol2)) {\n          return true;\n        }\n        return false;\n      })) {\n        return;\n      }\n      const nodeToDelete = assignmentBinaryExpression.parent && assignmentBinaryExpression.parent.kind === 245 /* ExpressionStatement */ ? assignmentBinaryExpression.parent : assignmentBinaryExpression;\n      changes.delete(sourceFile, nodeToDelete);\n      if (!assignmentExpr) {\n        members.push(factory.createPropertyDeclaration(\n          modifiers,\n          symbol2.name,\n          void 0,\n          void 0,\n          void 0\n        ));\n        return;\n      }\n      if (isAccessExpression(memberDeclaration) && (isFunctionExpression(assignmentExpr) || isArrowFunction(assignmentExpr))) {\n        const quotePreference = getQuotePreference(sourceFile, preferences);\n        const name = tryGetPropertyName(memberDeclaration, compilerOptions, quotePreference);\n        if (name) {\n          createFunctionLikeExpressionMember(members, assignmentExpr, name);\n        }\n        return;\n      } else if (isObjectLiteralExpression(assignmentExpr)) {\n        forEach(\n          assignmentExpr.properties,\n          (property) => {\n            if (isMethodDeclaration(property) || isGetOrSetAccessorDeclaration(property)) {\n              members.push(property);\n            }\n            if (isPropertyAssignment(property) && isFunctionExpression(property.initializer)) {\n              createFunctionLikeExpressionMember(members, property.initializer, property.name);\n            }\n            if (isConstructorAssignment(property))\n              return;\n            return;\n          }\n        );\n        return;\n      } else {\n        if (isSourceFileJS(sourceFile))\n          return;\n        if (!isPropertyAccessExpression(memberDeclaration))\n          return;\n        const prop = factory.createPropertyDeclaration(modifiers, memberDeclaration.name, void 0, void 0, assignmentExpr);\n        copyLeadingComments(assignmentBinaryExpression.parent, prop, sourceFile);\n        members.push(prop);\n        return;\n      }\n      function createFunctionLikeExpressionMember(members2, expression, name) {\n        if (isFunctionExpression(expression))\n          return createFunctionExpressionMember(members2, expression, name);\n        else\n          return createArrowFunctionExpressionMember(members2, expression, name);\n      }\n      function createFunctionExpressionMember(members2, functionExpression, name) {\n        const fullModifiers = concatenate(modifiers, getModifierKindFromSource(functionExpression, 133 /* AsyncKeyword */));\n        const method = factory.createMethodDeclaration(\n          fullModifiers,\n          void 0,\n          name,\n          void 0,\n          void 0,\n          functionExpression.parameters,\n          void 0,\n          functionExpression.body\n        );\n        copyLeadingComments(assignmentBinaryExpression, method, sourceFile);\n        members2.push(method);\n        return;\n      }\n      function createArrowFunctionExpressionMember(members2, arrowFunction, name) {\n        const arrowFunctionBody = arrowFunction.body;\n        let bodyBlock;\n        if (arrowFunctionBody.kind === 242 /* Block */) {\n          bodyBlock = arrowFunctionBody;\n        } else {\n          bodyBlock = factory.createBlock([factory.createReturnStatement(arrowFunctionBody)]);\n        }\n        const fullModifiers = concatenate(modifiers, getModifierKindFromSource(arrowFunction, 133 /* AsyncKeyword */));\n        const method = factory.createMethodDeclaration(\n          fullModifiers,\n          void 0,\n          name,\n          void 0,\n          void 0,\n          arrowFunction.parameters,\n          void 0,\n          bodyBlock\n        );\n        copyLeadingComments(assignmentBinaryExpression, method, sourceFile);\n        members2.push(method);\n      }\n    }\n  }\n  function createClassFromVariableDeclaration(node) {\n    const initializer = node.initializer;\n    if (!initializer || !isFunctionExpression(initializer) || !isIdentifier(node.name)) {\n      return void 0;\n    }\n    const memberElements = createClassElementsFromSymbol(node.symbol);\n    if (initializer.body) {\n      memberElements.unshift(factory.createConstructorDeclaration(void 0, initializer.parameters, initializer.body));\n    }\n    const modifiers = getModifierKindFromSource(node.parent.parent, 94 /* ExportKeyword */);\n    const cls = factory.createClassDeclaration(\n      modifiers,\n      node.name,\n      void 0,\n      void 0,\n      memberElements\n    );\n    return cls;\n  }\n  function createClassFromFunction(node) {\n    const memberElements = createClassElementsFromSymbol(ctorSymbol);\n    if (node.body) {\n      memberElements.unshift(factory.createConstructorDeclaration(void 0, node.parameters, node.body));\n    }\n    const modifiers = getModifierKindFromSource(node, 94 /* ExportKeyword */);\n    const cls = factory.createClassDeclaration(\n      modifiers,\n      node.name,\n      void 0,\n      void 0,\n      memberElements\n    );\n    return cls;\n  }\n}\nfunction getModifierKindFromSource(source, kind) {\n  return canHaveModifiers(source) ? filter(source.modifiers, (modifier) => modifier.kind === kind) : void 0;\n}\nfunction isConstructorAssignment(x) {\n  if (!x.name)\n    return false;\n  if (isIdentifier(x.name) && x.name.text === \"constructor\")\n    return true;\n  return false;\n}\nfunction tryGetPropertyName(node, compilerOptions, quotePreference) {\n  if (isPropertyAccessExpression(node)) {\n    return node.name;\n  }\n  const propName = node.argumentExpression;\n  if (isNumericLiteral(propName)) {\n    return propName;\n  }\n  if (isStringLiteralLike(propName)) {\n    return isIdentifierText(propName.text, getEmitScriptTarget(compilerOptions)) ? factory.createIdentifier(propName.text) : isNoSubstitutionTemplateLiteral(propName) ? factory.createStringLiteral(propName.text, quotePreference === 0 /* Single */) : propName;\n  }\n  return void 0;\n}\n\n// src/services/codefixes/convertToAsyncFunction.ts\nvar fixId10 = \"convertToAsyncFunction\";\nvar errorCodes11 = [Diagnostics.This_may_be_converted_to_an_async_function.code];\nvar codeActionSucceeded = true;\nregisterCodeFix({\n  errorCodes: errorCodes11,\n  getCodeActions(context) {\n    codeActionSucceeded = true;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => convertToAsyncFunction(t, context.sourceFile, context.span.start, context.program.getTypeChecker()));\n    return codeActionSucceeded ? [createCodeFixAction(fixId10, changes, Diagnostics.Convert_to_async_function, fixId10, Diagnostics.Convert_all_to_async_functions)] : [];\n  },\n  fixIds: [fixId10],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes11, (changes, err) => convertToAsyncFunction(changes, err.file, err.start, context.program.getTypeChecker()))\n});\nvar SynthBindingNameKind = /* @__PURE__ */ ((SynthBindingNameKind2) => {\n  SynthBindingNameKind2[SynthBindingNameKind2[\"Identifier\"] = 0] = \"Identifier\";\n  SynthBindingNameKind2[SynthBindingNameKind2[\"BindingPattern\"] = 1] = \"BindingPattern\";\n  return SynthBindingNameKind2;\n})(SynthBindingNameKind || {});\nfunction convertToAsyncFunction(changes, sourceFile, position, checker) {\n  const tokenAtPosition = getTokenAtPosition(sourceFile, position);\n  let functionToConvert;\n  if (isIdentifier(tokenAtPosition) && isVariableDeclaration(tokenAtPosition.parent) && tokenAtPosition.parent.initializer && isFunctionLikeDeclaration(tokenAtPosition.parent.initializer)) {\n    functionToConvert = tokenAtPosition.parent.initializer;\n  } else {\n    functionToConvert = tryCast(getContainingFunction(getTokenAtPosition(sourceFile, position)), canBeConvertedToAsync);\n  }\n  if (!functionToConvert) {\n    return;\n  }\n  const synthNamesMap = new Map2();\n  const isInJavascript = isInJSFile(functionToConvert);\n  const setOfExpressionsToReturn = getAllPromiseExpressionsToReturn(functionToConvert, checker);\n  const functionToConvertRenamed = renameCollidingVarNames(functionToConvert, checker, synthNamesMap);\n  if (!returnsPromise(functionToConvertRenamed, checker)) {\n    return;\n  }\n  const returnStatements = functionToConvertRenamed.body && isBlock(functionToConvertRenamed.body) ? getReturnStatementsWithPromiseHandlers(functionToConvertRenamed.body, checker) : emptyArray;\n  const transformer = { checker, synthNamesMap, setOfExpressionsToReturn, isInJSFile: isInJavascript };\n  if (!returnStatements.length) {\n    return;\n  }\n  const pos = skipTrivia(sourceFile.text, moveRangePastModifiers(functionToConvert).pos);\n  changes.insertModifierAt(sourceFile, pos, 133 /* AsyncKeyword */, { suffix: \" \" });\n  for (const returnStatement of returnStatements) {\n    forEachChild(returnStatement, function visit(node) {\n      if (isCallExpression(node)) {\n        const newNodes = transformExpression(node, node, transformer, false);\n        if (hasFailed()) {\n          return true;\n        }\n        changes.replaceNodeWithNodes(sourceFile, returnStatement, newNodes);\n      } else if (!isFunctionLike(node)) {\n        forEachChild(node, visit);\n        if (hasFailed()) {\n          return true;\n        }\n      }\n    });\n    if (hasFailed()) {\n      return;\n    }\n  }\n}\nfunction getReturnStatementsWithPromiseHandlers(body, checker) {\n  const res = [];\n  forEachReturnStatement(body, (ret) => {\n    if (isReturnStatementWithFixablePromiseHandler(ret, checker))\n      res.push(ret);\n  });\n  return res;\n}\nfunction getAllPromiseExpressionsToReturn(func, checker) {\n  if (!func.body) {\n    return new Set2();\n  }\n  const setOfExpressionsToReturn = new Set2();\n  forEachChild(func.body, function visit(node) {\n    if (isPromiseReturningCallExpression(node, checker, \"then\")) {\n      setOfExpressionsToReturn.add(getNodeId(node));\n      forEach(node.arguments, visit);\n    } else if (isPromiseReturningCallExpression(node, checker, \"catch\") || isPromiseReturningCallExpression(node, checker, \"finally\")) {\n      setOfExpressionsToReturn.add(getNodeId(node));\n      forEachChild(node, visit);\n    } else if (isPromiseTypedExpression(node, checker)) {\n      setOfExpressionsToReturn.add(getNodeId(node));\n    } else {\n      forEachChild(node, visit);\n    }\n  });\n  return setOfExpressionsToReturn;\n}\nfunction isPromiseReturningCallExpression(node, checker, name) {\n  if (!isCallExpression(node))\n    return false;\n  const isExpressionOfName = hasPropertyAccessExpressionWithName(node, name);\n  const nodeType = isExpressionOfName && checker.getTypeAtLocation(node);\n  return !!(nodeType && checker.getPromisedTypeOfPromise(nodeType));\n}\nfunction isReferenceToType(type, target) {\n  return (getObjectFlags(type) & 4 /* Reference */) !== 0 && type.target === target;\n}\nfunction getExplicitPromisedTypeOfPromiseReturningCallExpression(node, callback, checker) {\n  if (node.expression.name.escapedText === \"finally\") {\n    return void 0;\n  }\n  const promiseType = checker.getTypeAtLocation(node.expression.expression);\n  if (isReferenceToType(promiseType, checker.getPromiseType()) || isReferenceToType(promiseType, checker.getPromiseLikeType())) {\n    if (node.expression.name.escapedText === \"then\") {\n      if (callback === elementAt(node.arguments, 0)) {\n        return elementAt(node.typeArguments, 0);\n      } else if (callback === elementAt(node.arguments, 1)) {\n        return elementAt(node.typeArguments, 1);\n      }\n    } else {\n      return elementAt(node.typeArguments, 0);\n    }\n  }\n}\nfunction isPromiseTypedExpression(node, checker) {\n  if (!isExpression(node))\n    return false;\n  return !!checker.getPromisedTypeOfPromise(checker.getTypeAtLocation(node));\n}\nfunction renameCollidingVarNames(nodeToRename, checker, synthNamesMap) {\n  const identsToRenameMap = new Map2();\n  const collidingSymbolMap = createMultiMap();\n  forEachChild(nodeToRename, function visit(node) {\n    if (!isIdentifier(node)) {\n      forEachChild(node, visit);\n      return;\n    }\n    const symbol = checker.getSymbolAtLocation(node);\n    if (symbol) {\n      const type = checker.getTypeAtLocation(node);\n      const lastCallSignature = getLastCallSignature(type, checker);\n      const symbolIdString = getSymbolId(symbol).toString();\n      if (lastCallSignature && !isParameter(node.parent) && !isFunctionLikeDeclaration(node.parent) && !synthNamesMap.has(symbolIdString)) {\n        const firstParameter = firstOrUndefined(lastCallSignature.parameters);\n        const ident = (firstParameter == null ? void 0 : firstParameter.valueDeclaration) && isParameter(firstParameter.valueDeclaration) && tryCast(firstParameter.valueDeclaration.name, isIdentifier) || factory.createUniqueName(\"result\", 16 /* Optimistic */);\n        const synthName = getNewNameIfConflict(ident, collidingSymbolMap);\n        synthNamesMap.set(symbolIdString, synthName);\n        collidingSymbolMap.add(ident.text, symbol);\n      } else if (node.parent && (isParameter(node.parent) || isVariableDeclaration(node.parent) || isBindingElement(node.parent))) {\n        const originalName = node.text;\n        const collidingSymbols = collidingSymbolMap.get(originalName);\n        if (collidingSymbols && collidingSymbols.some((prevSymbol) => prevSymbol !== symbol)) {\n          const newName = getNewNameIfConflict(node, collidingSymbolMap);\n          identsToRenameMap.set(symbolIdString, newName.identifier);\n          synthNamesMap.set(symbolIdString, newName);\n          collidingSymbolMap.add(originalName, symbol);\n        } else {\n          const identifier = getSynthesizedDeepClone(node);\n          synthNamesMap.set(symbolIdString, createSynthIdentifier(identifier));\n          collidingSymbolMap.add(originalName, symbol);\n        }\n      }\n    }\n  });\n  return getSynthesizedDeepCloneWithReplacements(nodeToRename, true, (original) => {\n    if (isBindingElement(original) && isIdentifier(original.name) && isObjectBindingPattern(original.parent)) {\n      const symbol = checker.getSymbolAtLocation(original.name);\n      const renameInfo = symbol && identsToRenameMap.get(String(getSymbolId(symbol)));\n      if (renameInfo && renameInfo.text !== (original.name || original.propertyName).getText()) {\n        return factory.createBindingElement(\n          original.dotDotDotToken,\n          original.propertyName || original.name,\n          renameInfo,\n          original.initializer\n        );\n      }\n    } else if (isIdentifier(original)) {\n      const symbol = checker.getSymbolAtLocation(original);\n      const renameInfo = symbol && identsToRenameMap.get(String(getSymbolId(symbol)));\n      if (renameInfo) {\n        return factory.createIdentifier(renameInfo.text);\n      }\n    }\n  });\n}\nfunction getNewNameIfConflict(name, originalNames) {\n  const numVarsSameName = (originalNames.get(name.text) || emptyArray).length;\n  const identifier = numVarsSameName === 0 ? name : factory.createIdentifier(name.text + \"_\" + numVarsSameName);\n  return createSynthIdentifier(identifier);\n}\nfunction hasFailed() {\n  return !codeActionSucceeded;\n}\nfunction silentFail() {\n  codeActionSucceeded = false;\n  return emptyArray;\n}\nfunction transformExpression(returnContextNode, node, transformer, hasContinuation, continuationArgName) {\n  if (isPromiseReturningCallExpression(node, transformer.checker, \"then\")) {\n    return transformThen(node, elementAt(node.arguments, 0), elementAt(node.arguments, 1), transformer, hasContinuation, continuationArgName);\n  }\n  if (isPromiseReturningCallExpression(node, transformer.checker, \"catch\")) {\n    return transformCatch(node, elementAt(node.arguments, 0), transformer, hasContinuation, continuationArgName);\n  }\n  if (isPromiseReturningCallExpression(node, transformer.checker, \"finally\")) {\n    return transformFinally(node, elementAt(node.arguments, 0), transformer, hasContinuation, continuationArgName);\n  }\n  if (isPropertyAccessExpression(node)) {\n    return transformExpression(returnContextNode, node.expression, transformer, hasContinuation, continuationArgName);\n  }\n  const nodeType = transformer.checker.getTypeAtLocation(node);\n  if (nodeType && transformer.checker.getPromisedTypeOfPromise(nodeType)) {\n    Debug.assertNode(getOriginalNode(node).parent, isPropertyAccessExpression);\n    return transformPromiseExpressionOfPropertyAccess(returnContextNode, node, transformer, hasContinuation, continuationArgName);\n  }\n  return silentFail();\n}\nfunction isNullOrUndefined2({ checker }, node) {\n  if (node.kind === 105 /* NullKeyword */)\n    return true;\n  if (isIdentifier(node) && !isGeneratedIdentifier(node) && idText(node) === \"undefined\") {\n    const symbol = checker.getSymbolAtLocation(node);\n    return !symbol || checker.isUndefinedSymbol(symbol);\n  }\n  return false;\n}\nfunction createUniqueSynthName(prevArgName) {\n  const renamedPrevArg = factory.createUniqueName(prevArgName.identifier.text, 16 /* Optimistic */);\n  return createSynthIdentifier(renamedPrevArg);\n}\nfunction getPossibleNameForVarDecl(node, transformer, continuationArgName) {\n  let possibleNameForVarDecl;\n  if (continuationArgName && !shouldReturn(node, transformer)) {\n    if (isSynthIdentifier(continuationArgName)) {\n      possibleNameForVarDecl = continuationArgName;\n      transformer.synthNamesMap.forEach((val, key) => {\n        if (val.identifier.text === continuationArgName.identifier.text) {\n          const newSynthName = createUniqueSynthName(continuationArgName);\n          transformer.synthNamesMap.set(key, newSynthName);\n        }\n      });\n    } else {\n      possibleNameForVarDecl = createSynthIdentifier(factory.createUniqueName(\"result\", 16 /* Optimistic */), continuationArgName.types);\n    }\n    declareSynthIdentifier(possibleNameForVarDecl);\n  }\n  return possibleNameForVarDecl;\n}\nfunction finishCatchOrFinallyTransform(node, transformer, tryStatement, possibleNameForVarDecl, continuationArgName) {\n  const statements = [];\n  let varDeclIdentifier;\n  if (possibleNameForVarDecl && !shouldReturn(node, transformer)) {\n    varDeclIdentifier = getSynthesizedDeepClone(declareSynthIdentifier(possibleNameForVarDecl));\n    const typeArray = possibleNameForVarDecl.types;\n    const unionType = transformer.checker.getUnionType(typeArray, 2 /* Subtype */);\n    const unionTypeNode = transformer.isInJSFile ? void 0 : transformer.checker.typeToTypeNode(unionType, void 0, void 0);\n    const varDecl = [factory.createVariableDeclaration(varDeclIdentifier, void 0, unionTypeNode)];\n    const varDeclList = factory.createVariableStatement(void 0, factory.createVariableDeclarationList(varDecl, 1 /* Let */));\n    statements.push(varDeclList);\n  }\n  statements.push(tryStatement);\n  if (continuationArgName && varDeclIdentifier && isSynthBindingPattern(continuationArgName)) {\n    statements.push(factory.createVariableStatement(\n      void 0,\n      factory.createVariableDeclarationList(\n        [\n          factory.createVariableDeclaration(\n            getSynthesizedDeepClone(declareSynthBindingPattern(continuationArgName)),\n            void 0,\n            void 0,\n            varDeclIdentifier\n          )\n        ],\n        2 /* Const */\n      )\n    ));\n  }\n  return statements;\n}\nfunction transformFinally(node, onFinally, transformer, hasContinuation, continuationArgName) {\n  if (!onFinally || isNullOrUndefined2(transformer, onFinally)) {\n    return transformExpression(node, node.expression.expression, transformer, hasContinuation, continuationArgName);\n  }\n  const possibleNameForVarDecl = getPossibleNameForVarDecl(node, transformer, continuationArgName);\n  const inlinedLeftHandSide = transformExpression(node, node.expression.expression, transformer, true, possibleNameForVarDecl);\n  if (hasFailed())\n    return silentFail();\n  const inlinedCallback = transformCallbackArgument(onFinally, hasContinuation, void 0, void 0, node, transformer);\n  if (hasFailed())\n    return silentFail();\n  const tryBlock = factory.createBlock(inlinedLeftHandSide);\n  const finallyBlock = factory.createBlock(inlinedCallback);\n  const tryStatement = factory.createTryStatement(tryBlock, void 0, finallyBlock);\n  return finishCatchOrFinallyTransform(node, transformer, tryStatement, possibleNameForVarDecl, continuationArgName);\n}\nfunction transformCatch(node, onRejected, transformer, hasContinuation, continuationArgName) {\n  if (!onRejected || isNullOrUndefined2(transformer, onRejected)) {\n    return transformExpression(node, node.expression.expression, transformer, hasContinuation, continuationArgName);\n  }\n  const inputArgName = getArgBindingName(onRejected, transformer);\n  const possibleNameForVarDecl = getPossibleNameForVarDecl(node, transformer, continuationArgName);\n  const inlinedLeftHandSide = transformExpression(node, node.expression.expression, transformer, true, possibleNameForVarDecl);\n  if (hasFailed())\n    return silentFail();\n  const inlinedCallback = transformCallbackArgument(onRejected, hasContinuation, possibleNameForVarDecl, inputArgName, node, transformer);\n  if (hasFailed())\n    return silentFail();\n  const tryBlock = factory.createBlock(inlinedLeftHandSide);\n  const catchClause = factory.createCatchClause(inputArgName && getSynthesizedDeepClone(declareSynthBindingName(inputArgName)), factory.createBlock(inlinedCallback));\n  const tryStatement = factory.createTryStatement(tryBlock, catchClause, void 0);\n  return finishCatchOrFinallyTransform(node, transformer, tryStatement, possibleNameForVarDecl, continuationArgName);\n}\nfunction transformThen(node, onFulfilled, onRejected, transformer, hasContinuation, continuationArgName) {\n  if (!onFulfilled || isNullOrUndefined2(transformer, onFulfilled)) {\n    return transformCatch(node, onRejected, transformer, hasContinuation, continuationArgName);\n  }\n  if (onRejected && !isNullOrUndefined2(transformer, onRejected)) {\n    return silentFail();\n  }\n  const inputArgName = getArgBindingName(onFulfilled, transformer);\n  const inlinedLeftHandSide = transformExpression(node.expression.expression, node.expression.expression, transformer, true, inputArgName);\n  if (hasFailed())\n    return silentFail();\n  const inlinedCallback = transformCallbackArgument(onFulfilled, hasContinuation, continuationArgName, inputArgName, node, transformer);\n  if (hasFailed())\n    return silentFail();\n  return concatenate(inlinedLeftHandSide, inlinedCallback);\n}\nfunction transformPromiseExpressionOfPropertyAccess(returnContextNode, node, transformer, hasContinuation, continuationArgName) {\n  if (shouldReturn(returnContextNode, transformer)) {\n    let returnValue = getSynthesizedDeepClone(node);\n    if (hasContinuation) {\n      returnValue = factory.createAwaitExpression(returnValue);\n    }\n    return [factory.createReturnStatement(returnValue)];\n  }\n  return createVariableOrAssignmentOrExpressionStatement(continuationArgName, factory.createAwaitExpression(node), void 0);\n}\nfunction createVariableOrAssignmentOrExpressionStatement(variableName, rightHandSide, typeAnnotation) {\n  if (!variableName || isEmptyBindingName(variableName)) {\n    return [factory.createExpressionStatement(rightHandSide)];\n  }\n  if (isSynthIdentifier(variableName) && variableName.hasBeenDeclared) {\n    return [factory.createExpressionStatement(factory.createAssignment(getSynthesizedDeepClone(referenceSynthIdentifier(variableName)), rightHandSide))];\n  }\n  return [\n    factory.createVariableStatement(\n      void 0,\n      factory.createVariableDeclarationList(\n        [\n          factory.createVariableDeclaration(\n            getSynthesizedDeepClone(declareSynthBindingName(variableName)),\n            void 0,\n            typeAnnotation,\n            rightHandSide\n          )\n        ],\n        2 /* Const */\n      )\n    )\n  ];\n}\nfunction maybeAnnotateAndReturn(expressionToReturn, typeAnnotation) {\n  if (typeAnnotation && expressionToReturn) {\n    const name = factory.createUniqueName(\"result\", 16 /* Optimistic */);\n    return [\n      ...createVariableOrAssignmentOrExpressionStatement(createSynthIdentifier(name), expressionToReturn, typeAnnotation),\n      factory.createReturnStatement(name)\n    ];\n  }\n  return [factory.createReturnStatement(expressionToReturn)];\n}\nfunction transformCallbackArgument(func, hasContinuation, continuationArgName, inputArgName, parent2, transformer) {\n  var _a2;\n  switch (func.kind) {\n    case 105 /* NullKeyword */:\n      break;\n    case 211 /* PropertyAccessExpression */:\n    case 79 /* Identifier */:\n      if (!inputArgName) {\n        break;\n      }\n      const synthCall = factory.createCallExpression(getSynthesizedDeepClone(func), void 0, isSynthIdentifier(inputArgName) ? [referenceSynthIdentifier(inputArgName)] : []);\n      if (shouldReturn(parent2, transformer)) {\n        return maybeAnnotateAndReturn(synthCall, getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker));\n      }\n      const type = transformer.checker.getTypeAtLocation(func);\n      const callSignatures = transformer.checker.getSignaturesOfType(type, 0 /* Call */);\n      if (!callSignatures.length) {\n        return silentFail();\n      }\n      const returnType = callSignatures[0].getReturnType();\n      const varDeclOrAssignment = createVariableOrAssignmentOrExpressionStatement(continuationArgName, factory.createAwaitExpression(synthCall), getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker));\n      if (continuationArgName) {\n        continuationArgName.types.push(transformer.checker.getAwaitedType(returnType) || returnType);\n      }\n      return varDeclOrAssignment;\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */: {\n      const funcBody = func.body;\n      const returnType2 = (_a2 = getLastCallSignature(transformer.checker.getTypeAtLocation(func), transformer.checker)) == null ? void 0 : _a2.getReturnType();\n      if (isBlock(funcBody)) {\n        let refactoredStmts = [];\n        let seenReturnStatement = false;\n        for (const statement of funcBody.statements) {\n          if (isReturnStatement(statement)) {\n            seenReturnStatement = true;\n            if (isReturnStatementWithFixablePromiseHandler(statement, transformer.checker)) {\n              refactoredStmts = refactoredStmts.concat(transformReturnStatementWithFixablePromiseHandler(transformer, statement, hasContinuation, continuationArgName));\n            } else {\n              const possiblyAwaitedRightHandSide = returnType2 && statement.expression ? getPossiblyAwaitedRightHandSide(transformer.checker, returnType2, statement.expression) : statement.expression;\n              refactoredStmts.push(...maybeAnnotateAndReturn(possiblyAwaitedRightHandSide, getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker)));\n            }\n          } else if (hasContinuation && forEachReturnStatement(statement, returnTrue)) {\n            return silentFail();\n          } else {\n            refactoredStmts.push(statement);\n          }\n        }\n        return shouldReturn(parent2, transformer) ? refactoredStmts.map((s) => getSynthesizedDeepClone(s)) : removeReturns(\n          refactoredStmts,\n          continuationArgName,\n          transformer,\n          seenReturnStatement\n        );\n      } else {\n        const inlinedStatements = isFixablePromiseHandler(funcBody, transformer.checker) ? transformReturnStatementWithFixablePromiseHandler(transformer, factory.createReturnStatement(funcBody), hasContinuation, continuationArgName) : emptyArray;\n        if (inlinedStatements.length > 0) {\n          return inlinedStatements;\n        }\n        if (returnType2) {\n          const possiblyAwaitedRightHandSide = getPossiblyAwaitedRightHandSide(transformer.checker, returnType2, funcBody);\n          if (!shouldReturn(parent2, transformer)) {\n            const transformedStatement = createVariableOrAssignmentOrExpressionStatement(continuationArgName, possiblyAwaitedRightHandSide, void 0);\n            if (continuationArgName) {\n              continuationArgName.types.push(transformer.checker.getAwaitedType(returnType2) || returnType2);\n            }\n            return transformedStatement;\n          } else {\n            return maybeAnnotateAndReturn(possiblyAwaitedRightHandSide, getExplicitPromisedTypeOfPromiseReturningCallExpression(parent2, func, transformer.checker));\n          }\n        } else {\n          return silentFail();\n        }\n      }\n    }\n    default:\n      return silentFail();\n  }\n  return emptyArray;\n}\nfunction getPossiblyAwaitedRightHandSide(checker, type, expr) {\n  const rightHandSide = getSynthesizedDeepClone(expr);\n  return !!checker.getPromisedTypeOfPromise(type) ? factory.createAwaitExpression(rightHandSide) : rightHandSide;\n}\nfunction getLastCallSignature(type, checker) {\n  const callSignatures = checker.getSignaturesOfType(type, 0 /* Call */);\n  return lastOrUndefined(callSignatures);\n}\nfunction removeReturns(stmts, prevArgName, transformer, seenReturnStatement) {\n  const ret = [];\n  for (const stmt of stmts) {\n    if (isReturnStatement(stmt)) {\n      if (stmt.expression) {\n        const possiblyAwaitedExpression = isPromiseTypedExpression(stmt.expression, transformer.checker) ? factory.createAwaitExpression(stmt.expression) : stmt.expression;\n        if (prevArgName === void 0) {\n          ret.push(factory.createExpressionStatement(possiblyAwaitedExpression));\n        } else if (isSynthIdentifier(prevArgName) && prevArgName.hasBeenDeclared) {\n          ret.push(factory.createExpressionStatement(factory.createAssignment(referenceSynthIdentifier(prevArgName), possiblyAwaitedExpression)));\n        } else {\n          ret.push(factory.createVariableStatement(\n            void 0,\n            factory.createVariableDeclarationList([factory.createVariableDeclaration(declareSynthBindingName(prevArgName), void 0, void 0, possiblyAwaitedExpression)], 2 /* Const */)\n          ));\n        }\n      }\n    } else {\n      ret.push(getSynthesizedDeepClone(stmt));\n    }\n  }\n  if (!seenReturnStatement && prevArgName !== void 0) {\n    ret.push(factory.createVariableStatement(\n      void 0,\n      factory.createVariableDeclarationList([factory.createVariableDeclaration(declareSynthBindingName(prevArgName), void 0, void 0, factory.createIdentifier(\"undefined\"))], 2 /* Const */)\n    ));\n  }\n  return ret;\n}\nfunction transformReturnStatementWithFixablePromiseHandler(transformer, innerRetStmt, hasContinuation, continuationArgName) {\n  let innerCbBody = [];\n  forEachChild(innerRetStmt, function visit(node) {\n    if (isCallExpression(node)) {\n      const temp = transformExpression(node, node, transformer, hasContinuation, continuationArgName);\n      innerCbBody = innerCbBody.concat(temp);\n      if (innerCbBody.length > 0) {\n        return;\n      }\n    } else if (!isFunctionLike(node)) {\n      forEachChild(node, visit);\n    }\n  });\n  return innerCbBody;\n}\nfunction getArgBindingName(funcNode, transformer) {\n  const types = [];\n  let name;\n  if (isFunctionLikeDeclaration(funcNode)) {\n    if (funcNode.parameters.length > 0) {\n      const param = funcNode.parameters[0].name;\n      name = getMappedBindingNameOrDefault(param);\n    }\n  } else if (isIdentifier(funcNode)) {\n    name = getMapEntryOrDefault(funcNode);\n  } else if (isPropertyAccessExpression(funcNode) && isIdentifier(funcNode.name)) {\n    name = getMapEntryOrDefault(funcNode.name);\n  }\n  if (!name || \"identifier\" in name && name.identifier.text === \"undefined\") {\n    return void 0;\n  }\n  return name;\n  function getMappedBindingNameOrDefault(bindingName) {\n    if (isIdentifier(bindingName))\n      return getMapEntryOrDefault(bindingName);\n    const elements = flatMap(bindingName.elements, (element) => {\n      if (isOmittedExpression(element))\n        return [];\n      return [getMappedBindingNameOrDefault(element.name)];\n    });\n    return createSynthBindingPattern(bindingName, elements);\n  }\n  function getMapEntryOrDefault(identifier) {\n    const originalNode = getOriginalNode2(identifier);\n    const symbol = getSymbol2(originalNode);\n    if (!symbol) {\n      return createSynthIdentifier(identifier, types);\n    }\n    const mapEntry = transformer.synthNamesMap.get(getSymbolId(symbol).toString());\n    return mapEntry || createSynthIdentifier(identifier, types);\n  }\n  function getSymbol2(node) {\n    return node.symbol ? node.symbol : transformer.checker.getSymbolAtLocation(node);\n  }\n  function getOriginalNode2(node) {\n    return node.original ? node.original : node;\n  }\n}\nfunction isEmptyBindingName(bindingName) {\n  if (!bindingName) {\n    return true;\n  }\n  if (isSynthIdentifier(bindingName)) {\n    return !bindingName.identifier.text;\n  }\n  return every(bindingName.elements, isEmptyBindingName);\n}\nfunction createSynthIdentifier(identifier, types = []) {\n  return { kind: 0 /* Identifier */, identifier, types, hasBeenDeclared: false, hasBeenReferenced: false };\n}\nfunction createSynthBindingPattern(bindingPattern, elements = emptyArray, types = []) {\n  return { kind: 1 /* BindingPattern */, bindingPattern, elements, types };\n}\nfunction referenceSynthIdentifier(synthId) {\n  synthId.hasBeenReferenced = true;\n  return synthId.identifier;\n}\nfunction declareSynthBindingName(synthName) {\n  return isSynthIdentifier(synthName) ? declareSynthIdentifier(synthName) : declareSynthBindingPattern(synthName);\n}\nfunction declareSynthBindingPattern(synthPattern) {\n  for (const element of synthPattern.elements) {\n    declareSynthBindingName(element);\n  }\n  return synthPattern.bindingPattern;\n}\nfunction declareSynthIdentifier(synthId) {\n  synthId.hasBeenDeclared = true;\n  return synthId.identifier;\n}\nfunction isSynthIdentifier(bindingName) {\n  return bindingName.kind === 0 /* Identifier */;\n}\nfunction isSynthBindingPattern(bindingName) {\n  return bindingName.kind === 1 /* BindingPattern */;\n}\nfunction shouldReturn(expression, transformer) {\n  return !!expression.original && transformer.setOfExpressionsToReturn.has(getNodeId(expression.original));\n}\n\n// src/services/codefixes/convertToEsModule.ts\nregisterCodeFix({\n  errorCodes: [Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],\n  getCodeActions(context) {\n    const { sourceFile, program, preferences } = context;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n      const moduleExportsChangedToDefault = convertFileToEsModule(sourceFile, program.getTypeChecker(), changes2, getEmitScriptTarget(program.getCompilerOptions()), getQuotePreference(sourceFile, preferences));\n      if (moduleExportsChangedToDefault) {\n        for (const importingFile of program.getSourceFiles()) {\n          fixImportOfModuleExports(importingFile, sourceFile, changes2, getQuotePreference(importingFile, preferences));\n        }\n      }\n    });\n    return [createCodeFixActionWithoutFixAll(\"convertToEsModule\", changes, Diagnostics.Convert_to_ES_module)];\n  }\n});\nfunction fixImportOfModuleExports(importingFile, exportingFile, changes, quotePreference) {\n  for (const moduleSpecifier of importingFile.imports) {\n    const imported = getResolvedModule(importingFile, moduleSpecifier.text, getModeForUsageLocation(importingFile, moduleSpecifier));\n    if (!imported || imported.resolvedFileName !== exportingFile.fileName) {\n      continue;\n    }\n    const importNode = importFromModuleSpecifier(moduleSpecifier);\n    switch (importNode.kind) {\n      case 274 /* ImportEqualsDeclaration */:\n        changes.replaceNode(importingFile, importNode, makeImport(importNode.name, void 0, moduleSpecifier, quotePreference));\n        break;\n      case 213 /* CallExpression */:\n        if (isRequireCall(importNode, false)) {\n          changes.replaceNode(importingFile, importNode, factory.createPropertyAccessExpression(getSynthesizedDeepClone(importNode), \"default\"));\n        }\n        break;\n    }\n  }\n}\nfunction convertFileToEsModule(sourceFile, checker, changes, target, quotePreference) {\n  const identifiers = { original: collectFreeIdentifiers(sourceFile), additional: new Set2() };\n  const exports = collectExportRenames(sourceFile, checker, identifiers);\n  convertExportsAccesses(sourceFile, exports, changes);\n  let moduleExportsChangedToDefault = false;\n  let useSitesToUnqualify;\n  for (const statement of filter(sourceFile.statements, isVariableStatement)) {\n    const newUseSites = convertVariableStatement(sourceFile, statement, changes, checker, identifiers, target, quotePreference);\n    if (newUseSites) {\n      copyEntries(newUseSites, useSitesToUnqualify != null ? useSitesToUnqualify : useSitesToUnqualify = new Map2());\n    }\n  }\n  for (const statement of filter(sourceFile.statements, (s) => !isVariableStatement(s))) {\n    const moduleExportsChanged = convertStatement(sourceFile, statement, checker, changes, identifiers, target, exports, useSitesToUnqualify, quotePreference);\n    moduleExportsChangedToDefault = moduleExportsChangedToDefault || moduleExportsChanged;\n  }\n  useSitesToUnqualify == null ? void 0 : useSitesToUnqualify.forEach((replacement, original) => {\n    changes.replaceNode(sourceFile, original, replacement);\n  });\n  return moduleExportsChangedToDefault;\n}\nfunction collectExportRenames(sourceFile, checker, identifiers) {\n  const res = new Map2();\n  forEachExportReference(sourceFile, (node) => {\n    const { text, originalKeywordKind } = node.name;\n    if (!res.has(text) && (originalKeywordKind !== void 0 && isNonContextualKeyword(originalKeywordKind) || checker.resolveName(text, node, 111551 /* Value */, true))) {\n      res.set(text, makeUniqueName(`_${text}`, identifiers));\n    }\n  });\n  return res;\n}\nfunction convertExportsAccesses(sourceFile, exports, changes) {\n  forEachExportReference(sourceFile, (node, isAssignmentLhs) => {\n    if (isAssignmentLhs) {\n      return;\n    }\n    const { text } = node.name;\n    changes.replaceNode(sourceFile, node, factory.createIdentifier(exports.get(text) || text));\n  });\n}\nfunction forEachExportReference(sourceFile, cb) {\n  sourceFile.forEachChild(function recur(node) {\n    if (isPropertyAccessExpression(node) && isExportsOrModuleExportsOrAlias(sourceFile, node.expression) && isIdentifier(node.name)) {\n      const { parent: parent2 } = node;\n      cb(node, isBinaryExpression(parent2) && parent2.left === node && parent2.operatorToken.kind === 63 /* EqualsToken */);\n    }\n    node.forEachChild(recur);\n  });\n}\nfunction convertStatement(sourceFile, statement, checker, changes, identifiers, target, exports, useSitesToUnqualify, quotePreference) {\n  switch (statement.kind) {\n    case 244 /* VariableStatement */:\n      convertVariableStatement(sourceFile, statement, changes, checker, identifiers, target, quotePreference);\n      return false;\n    case 245 /* ExpressionStatement */: {\n      const { expression } = statement;\n      switch (expression.kind) {\n        case 213 /* CallExpression */: {\n          if (isRequireCall(expression, true)) {\n            changes.replaceNode(sourceFile, statement, makeImport(void 0, void 0, expression.arguments[0], quotePreference));\n          }\n          return false;\n        }\n        case 227 /* BinaryExpression */: {\n          const { operatorToken } = expression;\n          return operatorToken.kind === 63 /* EqualsToken */ && convertAssignment(sourceFile, checker, expression, changes, exports, useSitesToUnqualify);\n        }\n      }\n    }\n    default:\n      return false;\n  }\n}\nfunction convertVariableStatement(sourceFile, statement, changes, checker, identifiers, target, quotePreference) {\n  const { declarationList } = statement;\n  let foundImport = false;\n  const converted = map(declarationList.declarations, (decl) => {\n    const { name, initializer } = decl;\n    if (initializer) {\n      if (isExportsOrModuleExportsOrAlias(sourceFile, initializer)) {\n        foundImport = true;\n        return convertedImports([]);\n      } else if (isRequireCall(initializer, true)) {\n        foundImport = true;\n        return convertSingleImport(name, initializer.arguments[0], checker, identifiers, target, quotePreference);\n      } else if (isPropertyAccessExpression(initializer) && isRequireCall(initializer.expression, true)) {\n        foundImport = true;\n        return convertPropertyAccessImport(name, initializer.name.text, initializer.expression.arguments[0], identifiers, quotePreference);\n      }\n    }\n    return convertedImports([factory.createVariableStatement(void 0, factory.createVariableDeclarationList([decl], declarationList.flags))]);\n  });\n  if (foundImport) {\n    changes.replaceNodeWithNodes(sourceFile, statement, flatMap(converted, (c) => c.newImports));\n    let combinedUseSites;\n    forEach(converted, (c) => {\n      if (c.useSitesToUnqualify) {\n        copyEntries(c.useSitesToUnqualify, combinedUseSites != null ? combinedUseSites : combinedUseSites = new Map2());\n      }\n    });\n    return combinedUseSites;\n  }\n}\nfunction convertPropertyAccessImport(name, propertyName, moduleSpecifier, identifiers, quotePreference) {\n  switch (name.kind) {\n    case 206 /* ObjectBindingPattern */:\n    case 207 /* ArrayBindingPattern */: {\n      const tmp = makeUniqueName(propertyName, identifiers);\n      return convertedImports([\n        makeSingleImport(tmp, propertyName, moduleSpecifier, quotePreference),\n        makeConst(void 0, name, factory.createIdentifier(tmp))\n      ]);\n    }\n    case 79 /* Identifier */:\n      return convertedImports([makeSingleImport(name.text, propertyName, moduleSpecifier, quotePreference)]);\n    default:\n      return Debug.assertNever(name, `Convert to ES module got invalid syntax form ${name.kind}`);\n  }\n}\nfunction convertAssignment(sourceFile, checker, assignment, changes, exports, useSitesToUnqualify) {\n  const { left, right } = assignment;\n  if (!isPropertyAccessExpression(left)) {\n    return false;\n  }\n  if (isExportsOrModuleExportsOrAlias(sourceFile, left)) {\n    if (isExportsOrModuleExportsOrAlias(sourceFile, right)) {\n      changes.delete(sourceFile, assignment.parent);\n    } else {\n      const replacement = isObjectLiteralExpression(right) ? tryChangeModuleExportsObject(right, useSitesToUnqualify) : isRequireCall(right, true) ? convertReExportAll(right.arguments[0], checker) : void 0;\n      if (replacement) {\n        changes.replaceNodeWithNodes(sourceFile, assignment.parent, replacement[0]);\n        return replacement[1];\n      } else {\n        changes.replaceRangeWithText(sourceFile, createRange(left.getStart(sourceFile), right.pos), \"export default\");\n        return true;\n      }\n    }\n  } else if (isExportsOrModuleExportsOrAlias(sourceFile, left.expression)) {\n    convertNamedExport(sourceFile, assignment, changes, exports);\n  }\n  return false;\n}\nfunction tryChangeModuleExportsObject(object, useSitesToUnqualify) {\n  const statements = mapAllOrFail(object.properties, (prop) => {\n    switch (prop.kind) {\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n      case 306 /* ShorthandPropertyAssignment */:\n      case 307 /* SpreadAssignment */:\n        return void 0;\n      case 305 /* PropertyAssignment */:\n        return !isIdentifier(prop.name) ? void 0 : convertExportsDotXEquals_replaceNode(prop.name.text, prop.initializer, useSitesToUnqualify);\n      case 174 /* MethodDeclaration */:\n        return !isIdentifier(prop.name) ? void 0 : functionExpressionToDeclaration(prop.name.text, [factory.createToken(94 /* ExportKeyword */)], prop, useSitesToUnqualify);\n      default:\n        Debug.assertNever(prop, `Convert to ES6 got invalid prop kind ${prop.kind}`);\n    }\n  });\n  return statements && [statements, false];\n}\nfunction convertNamedExport(sourceFile, assignment, changes, exports) {\n  const { text } = assignment.left.name;\n  const rename = exports.get(text);\n  if (rename !== void 0) {\n    const newNodes = [\n      makeConst(void 0, rename, assignment.right),\n      makeExportDeclaration([factory.createExportSpecifier(false, rename, text)])\n    ];\n    changes.replaceNodeWithNodes(sourceFile, assignment.parent, newNodes);\n  } else {\n    convertExportsPropertyAssignment(assignment, sourceFile, changes);\n  }\n}\nfunction convertReExportAll(reExported, checker) {\n  const moduleSpecifier = reExported.text;\n  const moduleSymbol = checker.getSymbolAtLocation(reExported);\n  const exports = moduleSymbol ? moduleSymbol.exports : emptyMap;\n  return exports.has(\"export=\" /* ExportEquals */) ? [[reExportDefault(moduleSpecifier)], true] : !exports.has(\"default\" /* Default */) ? [[reExportStar(moduleSpecifier)], false] : exports.size > 1 ? [[reExportStar(moduleSpecifier), reExportDefault(moduleSpecifier)], true] : [[reExportDefault(moduleSpecifier)], true];\n}\nfunction reExportStar(moduleSpecifier) {\n  return makeExportDeclaration(void 0, moduleSpecifier);\n}\nfunction reExportDefault(moduleSpecifier) {\n  return makeExportDeclaration([factory.createExportSpecifier(false, void 0, \"default\")], moduleSpecifier);\n}\nfunction convertExportsPropertyAssignment({ left, right, parent: parent2 }, sourceFile, changes) {\n  const name = left.name.text;\n  if ((isFunctionExpression(right) || isArrowFunction(right) || isClassExpression(right)) && (!right.name || right.name.text === name)) {\n    changes.replaceRange(sourceFile, { pos: left.getStart(sourceFile), end: right.getStart(sourceFile) }, factory.createToken(94 /* ExportKeyword */), { suffix: \" \" });\n    if (!right.name)\n      changes.insertName(sourceFile, right, name);\n    const semi = findChildOfKind(parent2, 26 /* SemicolonToken */, sourceFile);\n    if (semi)\n      changes.delete(sourceFile, semi);\n  } else {\n    changes.replaceNodeRangeWithNodes(\n      sourceFile,\n      left.expression,\n      findChildOfKind(left, 24 /* DotToken */, sourceFile),\n      [factory.createToken(94 /* ExportKeyword */), factory.createToken(86 /* ConstKeyword */)],\n      { joiner: \" \", suffix: \" \" }\n    );\n  }\n}\nfunction convertExportsDotXEquals_replaceNode(name, exported, useSitesToUnqualify) {\n  const modifiers = [factory.createToken(94 /* ExportKeyword */)];\n  switch (exported.kind) {\n    case 218 /* FunctionExpression */: {\n      const { name: expressionName } = exported;\n      if (expressionName && expressionName.text !== name) {\n        return exportConst();\n      }\n    }\n    case 219 /* ArrowFunction */:\n      return functionExpressionToDeclaration(name, modifiers, exported, useSitesToUnqualify);\n    case 232 /* ClassExpression */:\n      return classExpressionToDeclaration(name, modifiers, exported, useSitesToUnqualify);\n    default:\n      return exportConst();\n  }\n  function exportConst() {\n    return makeConst(modifiers, factory.createIdentifier(name), replaceImportUseSites(exported, useSitesToUnqualify));\n  }\n}\nfunction replaceImportUseSites(nodeOrNodes, useSitesToUnqualify) {\n  if (!useSitesToUnqualify || !some(arrayFrom(useSitesToUnqualify.keys()), (original) => rangeContainsRange(nodeOrNodes, original))) {\n    return nodeOrNodes;\n  }\n  return isArray(nodeOrNodes) ? getSynthesizedDeepClonesWithReplacements(nodeOrNodes, true, replaceNode) : getSynthesizedDeepCloneWithReplacements(nodeOrNodes, true, replaceNode);\n  function replaceNode(original) {\n    if (original.kind === 211 /* PropertyAccessExpression */) {\n      const replacement = useSitesToUnqualify.get(original);\n      useSitesToUnqualify.delete(original);\n      return replacement;\n    }\n  }\n}\nfunction convertSingleImport(name, moduleSpecifier, checker, identifiers, target, quotePreference) {\n  switch (name.kind) {\n    case 206 /* ObjectBindingPattern */: {\n      const importSpecifiers = mapAllOrFail(name.elements, (e) => e.dotDotDotToken || e.initializer || e.propertyName && !isIdentifier(e.propertyName) || !isIdentifier(e.name) ? void 0 : makeImportSpecifier(e.propertyName && e.propertyName.text, e.name.text));\n      if (importSpecifiers) {\n        return convertedImports([makeImport(void 0, importSpecifiers, moduleSpecifier, quotePreference)]);\n      }\n    }\n    case 207 /* ArrayBindingPattern */: {\n      const tmp = makeUniqueName(moduleSpecifierToValidIdentifier(moduleSpecifier.text, target), identifiers);\n      return convertedImports([\n        makeImport(factory.createIdentifier(tmp), void 0, moduleSpecifier, quotePreference),\n        makeConst(void 0, getSynthesizedDeepClone(name), factory.createIdentifier(tmp))\n      ]);\n    }\n    case 79 /* Identifier */:\n      return convertSingleIdentifierImport(name, moduleSpecifier, checker, identifiers, quotePreference);\n    default:\n      return Debug.assertNever(name, `Convert to ES module got invalid name kind ${name.kind}`);\n  }\n}\nfunction convertSingleIdentifierImport(name, moduleSpecifier, checker, identifiers, quotePreference) {\n  const nameSymbol = checker.getSymbolAtLocation(name);\n  const namedBindingsNames = new Map2();\n  let needDefaultImport = false;\n  let useSitesToUnqualify;\n  for (const use of identifiers.original.get(name.text)) {\n    if (checker.getSymbolAtLocation(use) !== nameSymbol || use === name) {\n      continue;\n    }\n    const { parent: parent2 } = use;\n    if (isPropertyAccessExpression(parent2)) {\n      const { name: { text: propertyName } } = parent2;\n      if (propertyName === \"default\") {\n        needDefaultImport = true;\n        const importDefaultName = use.getText();\n        (useSitesToUnqualify != null ? useSitesToUnqualify : useSitesToUnqualify = new Map2()).set(parent2, factory.createIdentifier(importDefaultName));\n      } else {\n        Debug.assert(parent2.expression === use, \"Didn't expect expression === use\");\n        let idName = namedBindingsNames.get(propertyName);\n        if (idName === void 0) {\n          idName = makeUniqueName(propertyName, identifiers);\n          namedBindingsNames.set(propertyName, idName);\n        }\n        (useSitesToUnqualify != null ? useSitesToUnqualify : useSitesToUnqualify = new Map2()).set(parent2, factory.createIdentifier(idName));\n      }\n    } else {\n      needDefaultImport = true;\n    }\n  }\n  const namedBindings = namedBindingsNames.size === 0 ? void 0 : arrayFrom(mapIterator(namedBindingsNames.entries(), ([propertyName, idName]) => factory.createImportSpecifier(false, propertyName === idName ? void 0 : factory.createIdentifier(propertyName), factory.createIdentifier(idName))));\n  if (!namedBindings) {\n    needDefaultImport = true;\n  }\n  return convertedImports(\n    [makeImport(needDefaultImport ? getSynthesizedDeepClone(name) : void 0, namedBindings, moduleSpecifier, quotePreference)],\n    useSitesToUnqualify\n  );\n}\nfunction makeUniqueName(name, identifiers) {\n  while (identifiers.original.has(name) || identifiers.additional.has(name)) {\n    name = `_${name}`;\n  }\n  identifiers.additional.add(name);\n  return name;\n}\nfunction collectFreeIdentifiers(file) {\n  const map2 = createMultiMap();\n  forEachFreeIdentifier(file, (id) => map2.add(id.text, id));\n  return map2;\n}\nfunction forEachFreeIdentifier(node, cb) {\n  if (isIdentifier(node) && isFreeIdentifier(node))\n    cb(node);\n  node.forEachChild((child) => forEachFreeIdentifier(child, cb));\n}\nfunction isFreeIdentifier(node) {\n  const { parent: parent2 } = node;\n  switch (parent2.kind) {\n    case 211 /* PropertyAccessExpression */:\n      return parent2.name !== node;\n    case 208 /* BindingElement */:\n      return parent2.propertyName !== node;\n    case 279 /* ImportSpecifier */:\n      return parent2.propertyName !== node;\n    default:\n      return true;\n  }\n}\nfunction functionExpressionToDeclaration(name, additionalModifiers, fn, useSitesToUnqualify) {\n  return factory.createFunctionDeclaration(\n    concatenate(additionalModifiers, getSynthesizedDeepClones(fn.modifiers)),\n    getSynthesizedDeepClone(fn.asteriskToken),\n    name,\n    getSynthesizedDeepClones(fn.typeParameters),\n    getSynthesizedDeepClones(fn.parameters),\n    getSynthesizedDeepClone(fn.type),\n    factory.converters.convertToFunctionBlock(replaceImportUseSites(fn.body, useSitesToUnqualify))\n  );\n}\nfunction classExpressionToDeclaration(name, additionalModifiers, cls, useSitesToUnqualify) {\n  return factory.createClassDeclaration(\n    concatenate(additionalModifiers, getSynthesizedDeepClones(cls.modifiers)),\n    name,\n    getSynthesizedDeepClones(cls.typeParameters),\n    getSynthesizedDeepClones(cls.heritageClauses),\n    replaceImportUseSites(cls.members, useSitesToUnqualify)\n  );\n}\nfunction makeSingleImport(localName, propertyName, moduleSpecifier, quotePreference) {\n  return propertyName === \"default\" ? makeImport(factory.createIdentifier(localName), void 0, moduleSpecifier, quotePreference) : makeImport(void 0, [makeImportSpecifier(propertyName, localName)], moduleSpecifier, quotePreference);\n}\nfunction makeImportSpecifier(propertyName, name) {\n  return factory.createImportSpecifier(false, propertyName !== void 0 && propertyName !== name ? factory.createIdentifier(propertyName) : void 0, factory.createIdentifier(name));\n}\nfunction makeConst(modifiers, name, init) {\n  return factory.createVariableStatement(\n    modifiers,\n    factory.createVariableDeclarationList(\n      [factory.createVariableDeclaration(name, void 0, void 0, init)],\n      2 /* Const */\n    )\n  );\n}\nfunction makeExportDeclaration(exportSpecifiers, moduleSpecifier) {\n  return factory.createExportDeclaration(\n    void 0,\n    false,\n    exportSpecifiers && factory.createNamedExports(exportSpecifiers),\n    moduleSpecifier === void 0 ? void 0 : factory.createStringLiteral(moduleSpecifier)\n  );\n}\nfunction convertedImports(newImports, useSitesToUnqualify) {\n  return {\n    newImports,\n    useSitesToUnqualify\n  };\n}\n\n// src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts\nvar fixId11 = \"correctQualifiedNameToIndexedAccessType\";\nvar errorCodes12 = [Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];\nregisterCodeFix({\n  errorCodes: errorCodes12,\n  getCodeActions(context) {\n    const qualifiedName = getQualifiedName(context.sourceFile, context.span.start);\n    if (!qualifiedName)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange3(t, context.sourceFile, qualifiedName));\n    const newText = `${qualifiedName.left.text}[\"${qualifiedName.right.text}\"]`;\n    return [createCodeFixAction(fixId11, changes, [Diagnostics.Rewrite_as_the_indexed_access_type_0, newText], fixId11, Diagnostics.Rewrite_all_as_indexed_access_types)];\n  },\n  fixIds: [fixId11],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes12, (changes, diag2) => {\n    const q = getQualifiedName(diag2.file, diag2.start);\n    if (q) {\n      doChange3(changes, diag2.file, q);\n    }\n  })\n});\nfunction getQualifiedName(sourceFile, pos) {\n  const qualifiedName = findAncestor(getTokenAtPosition(sourceFile, pos), isQualifiedName);\n  Debug.assert(!!qualifiedName, \"Expected position to be owned by a qualified name.\");\n  return isIdentifier(qualifiedName.left) ? qualifiedName : void 0;\n}\nfunction doChange3(changeTracker, sourceFile, qualifiedName) {\n  const rightText = qualifiedName.right.text;\n  const replacement = factory.createIndexedAccessTypeNode(\n    factory.createTypeReferenceNode(qualifiedName.left, void 0),\n    factory.createLiteralTypeNode(factory.createStringLiteral(rightText))\n  );\n  changeTracker.replaceNode(sourceFile, qualifiedName, replacement);\n}\n\n// src/services/codefixes/convertToTypeOnlyExport.ts\nvar errorCodes13 = [Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code];\nvar fixId12 = \"convertToTypeOnlyExport\";\nregisterCodeFix({\n  errorCodes: errorCodes13,\n  getCodeActions: function getCodeActionsToConvertToTypeOnlyExport(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => fixSingleExportDeclaration(t, getExportSpecifierForDiagnosticSpan(context.span, context.sourceFile), context));\n    if (changes.length) {\n      return [createCodeFixAction(fixId12, changes, Diagnostics.Convert_to_type_only_export, fixId12, Diagnostics.Convert_all_re_exported_types_to_type_only_exports)];\n    }\n  },\n  fixIds: [fixId12],\n  getAllCodeActions: function getAllCodeActionsToConvertToTypeOnlyExport(context) {\n    const fixedExportDeclarations = new Map2();\n    return codeFixAll(context, errorCodes13, (changes, diag2) => {\n      const exportSpecifier = getExportSpecifierForDiagnosticSpan(diag2, context.sourceFile);\n      if (exportSpecifier && addToSeen(fixedExportDeclarations, getNodeId(exportSpecifier.parent.parent))) {\n        fixSingleExportDeclaration(changes, exportSpecifier, context);\n      }\n    });\n  }\n});\nfunction getExportSpecifierForDiagnosticSpan(span, sourceFile) {\n  return tryCast(getTokenAtPosition(sourceFile, span.start).parent, isExportSpecifier);\n}\nfunction fixSingleExportDeclaration(changes, exportSpecifier, context) {\n  if (!exportSpecifier) {\n    return;\n  }\n  const exportClause = exportSpecifier.parent;\n  const exportDeclaration = exportClause.parent;\n  const typeExportSpecifiers = getTypeExportSpecifiers(exportSpecifier, context);\n  if (typeExportSpecifiers.length === exportClause.elements.length) {\n    changes.insertModifierBefore(context.sourceFile, 155 /* TypeKeyword */, exportClause);\n  } else {\n    const valueExportDeclaration = factory.updateExportDeclaration(\n      exportDeclaration,\n      exportDeclaration.modifiers,\n      false,\n      factory.updateNamedExports(exportClause, filter(exportClause.elements, (e) => !contains(typeExportSpecifiers, e))),\n      exportDeclaration.moduleSpecifier,\n      void 0\n    );\n    const typeExportDeclaration = factory.createExportDeclaration(\n      void 0,\n      true,\n      factory.createNamedExports(typeExportSpecifiers),\n      exportDeclaration.moduleSpecifier,\n      void 0\n    );\n    changes.replaceNode(context.sourceFile, exportDeclaration, valueExportDeclaration, {\n      leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll,\n      trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude\n    });\n    changes.insertNodeAfter(context.sourceFile, exportDeclaration, typeExportDeclaration);\n  }\n}\nfunction getTypeExportSpecifiers(originExportSpecifier, context) {\n  const exportClause = originExportSpecifier.parent;\n  if (exportClause.elements.length === 1) {\n    return exportClause.elements;\n  }\n  const diagnostics = getDiagnosticsWithinSpan(\n    createTextSpanFromNode(exportClause),\n    context.program.getSemanticDiagnostics(context.sourceFile, context.cancellationToken)\n  );\n  return filter(exportClause.elements, (element) => {\n    var _a2;\n    return element === originExportSpecifier || ((_a2 = findDiagnosticForNode(element, diagnostics)) == null ? void 0 : _a2.code) === errorCodes13[0];\n  });\n}\n\n// src/services/codefixes/convertToTypeOnlyImport.ts\nvar errorCodes14 = [Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code];\nvar fixId13 = \"convertToTypeOnlyImport\";\nregisterCodeFix({\n  errorCodes: errorCodes14,\n  getCodeActions: function getCodeActionsToConvertToTypeOnlyImport(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n      const importDeclaration = getImportDeclarationForDiagnosticSpan(context.span, context.sourceFile);\n      fixSingleImportDeclaration(t, importDeclaration, context);\n    });\n    if (changes.length) {\n      return [createCodeFixAction(fixId13, changes, Diagnostics.Convert_to_type_only_import, fixId13, Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)];\n    }\n  },\n  fixIds: [fixId13],\n  getAllCodeActions: function getAllCodeActionsToConvertToTypeOnlyImport(context) {\n    return codeFixAll(context, errorCodes14, (changes, diag2) => {\n      const importDeclaration = getImportDeclarationForDiagnosticSpan(diag2, context.sourceFile);\n      fixSingleImportDeclaration(changes, importDeclaration, context);\n    });\n  }\n});\nfunction getImportDeclarationForDiagnosticSpan(span, sourceFile) {\n  return tryCast(getTokenAtPosition(sourceFile, span.start).parent, isImportDeclaration);\n}\nfunction fixSingleImportDeclaration(changes, importDeclaration, context) {\n  if (!(importDeclaration == null ? void 0 : importDeclaration.importClause)) {\n    return;\n  }\n  const { importClause } = importDeclaration;\n  changes.insertText(context.sourceFile, importDeclaration.getStart() + \"import\".length, \" type\");\n  if (importClause.name && importClause.namedBindings) {\n    changes.deleteNodeRangeExcludingEnd(context.sourceFile, importClause.name, importDeclaration.importClause.namedBindings);\n    changes.insertNodeBefore(context.sourceFile, importDeclaration, factory.updateImportDeclaration(\n      importDeclaration,\n      void 0,\n      factory.createImportClause(\n        true,\n        importClause.name,\n        void 0\n      ),\n      importDeclaration.moduleSpecifier,\n      void 0\n    ));\n  }\n}\n\n// src/services/codefixes/convertLiteralTypeToMappedType.ts\nvar fixId14 = \"convertLiteralTypeToMappedType\";\nvar errorCodes15 = [Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];\nregisterCodeFix({\n  errorCodes: errorCodes15,\n  getCodeActions: function getCodeActionsToConvertLiteralTypeToMappedType(context) {\n    const { sourceFile, span } = context;\n    const info = getInfo2(sourceFile, span.start);\n    if (!info) {\n      return void 0;\n    }\n    const { name, constraint } = info;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange4(t, sourceFile, info));\n    return [createCodeFixAction(fixId14, changes, [Diagnostics.Convert_0_to_1_in_0, constraint, name], fixId14, Diagnostics.Convert_all_type_literals_to_mapped_type)];\n  },\n  fixIds: [fixId14],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes15, (changes, diag2) => {\n    const info = getInfo2(diag2.file, diag2.start);\n    if (info) {\n      doChange4(changes, diag2.file, info);\n    }\n  })\n});\nfunction getInfo2(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (isIdentifier(token)) {\n    const propertySignature = cast(token.parent.parent, isPropertySignature);\n    const propertyName = token.getText(sourceFile);\n    return {\n      container: cast(propertySignature.parent, isTypeLiteralNode),\n      typeNode: propertySignature.type,\n      constraint: propertyName,\n      name: propertyName === \"K\" ? \"P\" : \"K\"\n    };\n  }\n  return void 0;\n}\nfunction doChange4(changes, sourceFile, { container, typeNode, constraint, name }) {\n  changes.replaceNode(sourceFile, container, factory.createMappedTypeNode(\n    void 0,\n    factory.createTypeParameterDeclaration(void 0, name, factory.createTypeReferenceNode(constraint)),\n    void 0,\n    void 0,\n    typeNode,\n    void 0\n  ));\n}\n\n// src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts\nvar errorCodes16 = [\n  Diagnostics.Class_0_incorrectly_implements_interface_1.code,\n  Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code\n];\nvar fixId15 = \"fixClassIncorrectlyImplementsInterface\";\nregisterCodeFix({\n  errorCodes: errorCodes16,\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const classDeclaration = getClass(sourceFile, span.start);\n    return mapDefined(getEffectiveImplementsTypeNodes(classDeclaration), (implementedTypeNode) => {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingDeclarations(context, implementedTypeNode, sourceFile, classDeclaration, t, context.preferences));\n      return changes.length === 0 ? void 0 : createCodeFixAction(fixId15, changes, [Diagnostics.Implement_interface_0, implementedTypeNode.getText(sourceFile)], fixId15, Diagnostics.Implement_all_unimplemented_interfaces);\n    });\n  },\n  fixIds: [fixId15],\n  getAllCodeActions(context) {\n    const seenClassDeclarations = new Map2();\n    return codeFixAll(context, errorCodes16, (changes, diag2) => {\n      const classDeclaration = getClass(diag2.file, diag2.start);\n      if (addToSeen(seenClassDeclarations, getNodeId(classDeclaration))) {\n        for (const implementedTypeNode of getEffectiveImplementsTypeNodes(classDeclaration)) {\n          addMissingDeclarations(context, implementedTypeNode, diag2.file, classDeclaration, changes, context.preferences);\n        }\n      }\n    });\n  }\n});\nfunction getClass(sourceFile, pos) {\n  return Debug.checkDefined(getContainingClass(getTokenAtPosition(sourceFile, pos)), \"There should be a containing class\");\n}\nfunction symbolPointsToNonPrivateMember(symbol) {\n  return !symbol.valueDeclaration || !(getEffectiveModifierFlags(symbol.valueDeclaration) & 8 /* Private */);\n}\nfunction addMissingDeclarations(context, implementedTypeNode, sourceFile, classDeclaration, changeTracker, preferences) {\n  const checker = context.program.getTypeChecker();\n  const maybeHeritageClauseSymbol = getHeritageClauseSymbolTable(classDeclaration, checker);\n  const implementedType = checker.getTypeAtLocation(implementedTypeNode);\n  const implementedTypeSymbols = checker.getPropertiesOfType(implementedType);\n  const nonPrivateAndNotExistedInHeritageClauseMembers = implementedTypeSymbols.filter(and(symbolPointsToNonPrivateMember, (symbol) => !maybeHeritageClauseSymbol.has(symbol.escapedName)));\n  const classType = checker.getTypeAtLocation(classDeclaration);\n  const constructor = find(classDeclaration.members, (m) => isConstructorDeclaration(m));\n  if (!classType.getNumberIndexType()) {\n    createMissingIndexSignatureDeclaration(implementedType, 1 /* Number */);\n  }\n  if (!classType.getStringIndexType()) {\n    createMissingIndexSignatureDeclaration(implementedType, 0 /* String */);\n  }\n  const importAdder = createImportAdder(sourceFile, context.program, preferences, context.host);\n  createMissingMemberNodes(classDeclaration, nonPrivateAndNotExistedInHeritageClauseMembers, sourceFile, context, preferences, importAdder, (member) => insertInterfaceMemberNode(sourceFile, classDeclaration, member));\n  importAdder.writeFixes(changeTracker);\n  function createMissingIndexSignatureDeclaration(type, kind) {\n    const indexInfoOfKind = checker.getIndexInfoOfType(type, kind);\n    if (indexInfoOfKind) {\n      insertInterfaceMemberNode(sourceFile, classDeclaration, checker.indexInfoToIndexSignatureDeclaration(indexInfoOfKind, classDeclaration, void 0, getNoopSymbolTrackerWithResolver(context)));\n    }\n  }\n  function insertInterfaceMemberNode(sourceFile2, cls, newElement) {\n    if (constructor) {\n      changeTracker.insertNodeAfter(sourceFile2, constructor, newElement);\n    } else {\n      changeTracker.insertMemberAtStart(sourceFile2, cls, newElement);\n    }\n  }\n}\nfunction getHeritageClauseSymbolTable(classDeclaration, checker) {\n  const heritageClauseNode = getEffectiveBaseTypeNode(classDeclaration);\n  if (!heritageClauseNode)\n    return createSymbolTable();\n  const heritageClauseType = checker.getTypeAtLocation(heritageClauseNode);\n  const heritageClauseTypeSymbols = checker.getPropertiesOfType(heritageClauseType);\n  return createSymbolTable(heritageClauseTypeSymbols.filter(symbolPointsToNonPrivateMember));\n}\n\n// src/services/codefixes/importFixes.ts\nvar importFixName = \"import\";\nvar importFixId = \"fixMissingImport\";\nvar errorCodes17 = [\n  Diagnostics.Cannot_find_name_0.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,\n  Diagnostics.Cannot_find_namespace_0.code,\n  Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,\n  Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,\n  Diagnostics.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,\n  Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes17,\n  getCodeActions(context) {\n    const { errorCode, preferences, sourceFile, span, program } = context;\n    const info = getFixInfos(context, errorCode, span.start, true);\n    if (!info)\n      return void 0;\n    const quotePreference = getQuotePreference(sourceFile, preferences);\n    return info.map(({ fix, symbolName: symbolName2, errorIdentifierText }) => codeActionForFix(\n      context,\n      sourceFile,\n      symbolName2,\n      fix,\n      symbolName2 !== errorIdentifierText,\n      quotePreference,\n      program.getCompilerOptions()\n    ));\n  },\n  fixIds: [importFixId],\n  getAllCodeActions: (context) => {\n    const { sourceFile, program, preferences, host, cancellationToken } = context;\n    const importAdder = createImportAdderWorker(sourceFile, program, true, preferences, host, cancellationToken);\n    eachDiagnostic(context, errorCodes17, (diag2) => importAdder.addImportFromDiagnostic(diag2, context));\n    return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, importAdder.writeFixes));\n  }\n});\nfunction createImportAdder(sourceFile, program, preferences, host, cancellationToken) {\n  return createImportAdderWorker(sourceFile, program, false, preferences, host, cancellationToken);\n}\nfunction createImportAdderWorker(sourceFile, program, useAutoImportProvider, preferences, host, cancellationToken) {\n  const compilerOptions = program.getCompilerOptions();\n  const addToNamespace = [];\n  const importType = [];\n  const addToExisting = new Map2();\n  const newImports = new Map2();\n  return { addImportFromDiagnostic, addImportFromExportedSymbol, writeFixes, hasFixes };\n  function addImportFromDiagnostic(diagnostic, context) {\n    const info = getFixInfos(context, diagnostic.code, diagnostic.start, useAutoImportProvider);\n    if (!info || !info.length)\n      return;\n    addImport(first(info));\n  }\n  function addImportFromExportedSymbol(exportedSymbol, isValidTypeOnlyUseSite) {\n    const moduleSymbol = Debug.checkDefined(exportedSymbol.parent);\n    const symbolName2 = getNameForExportedSymbol(exportedSymbol, getEmitScriptTarget(compilerOptions));\n    const checker = program.getTypeChecker();\n    const symbol = checker.getMergedSymbol(skipAlias(exportedSymbol, checker));\n    const exportInfo = getAllExportInfoForSymbol(sourceFile, symbol, symbolName2, false, program, host, preferences, cancellationToken);\n    const useRequire = shouldUseRequire(sourceFile, program);\n    const fix = getImportFixForSymbol(sourceFile, Debug.checkDefined(exportInfo), moduleSymbol, program, void 0, !!isValidTypeOnlyUseSite, useRequire, host, preferences);\n    if (fix) {\n      addImport({ fix, symbolName: symbolName2, errorIdentifierText: void 0 });\n    }\n  }\n  function addImport(info) {\n    var _a2, _b;\n    const { fix, symbolName: symbolName2 } = info;\n    switch (fix.kind) {\n      case ImportFixKind.UseNamespace:\n        addToNamespace.push(fix);\n        break;\n      case ImportFixKind.JsdocTypeImport:\n        importType.push(fix);\n        break;\n      case ImportFixKind.AddToExisting: {\n        const { importClauseOrBindingPattern, importKind, addAsTypeOnly } = fix;\n        const key = String(getNodeId(importClauseOrBindingPattern));\n        let entry = addToExisting.get(key);\n        if (!entry) {\n          addToExisting.set(key, entry = { importClauseOrBindingPattern, defaultImport: void 0, namedImports: new Map2() });\n        }\n        if (importKind === 0 /* Named */) {\n          const prevValue = entry == null ? void 0 : entry.namedImports.get(symbolName2);\n          entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly));\n        } else {\n          Debug.assert(entry.defaultImport === void 0 || entry.defaultImport.name === symbolName2, \"(Add to Existing) Default import should be missing or match symbolName\");\n          entry.defaultImport = {\n            name: symbolName2,\n            addAsTypeOnly: reduceAddAsTypeOnlyValues((_a2 = entry.defaultImport) == null ? void 0 : _a2.addAsTypeOnly, addAsTypeOnly)\n          };\n        }\n        break;\n      }\n      case ImportFixKind.AddNew: {\n        const { moduleSpecifier, importKind, useRequire, addAsTypeOnly } = fix;\n        const entry = getNewImportEntry(moduleSpecifier, importKind, useRequire, addAsTypeOnly);\n        Debug.assert(entry.useRequire === useRequire, \"(Add new) Tried to add an `import` and a `require` for the same module\");\n        switch (importKind) {\n          case 1 /* Default */:\n            Debug.assert(entry.defaultImport === void 0 || entry.defaultImport.name === symbolName2, \"(Add new) Default import should be missing or match symbolName\");\n            entry.defaultImport = { name: symbolName2, addAsTypeOnly: reduceAddAsTypeOnlyValues((_b = entry.defaultImport) == null ? void 0 : _b.addAsTypeOnly, addAsTypeOnly) };\n            break;\n          case 0 /* Named */:\n            const prevValue = (entry.namedImports || (entry.namedImports = new Map2())).get(symbolName2);\n            entry.namedImports.set(symbolName2, reduceAddAsTypeOnlyValues(prevValue, addAsTypeOnly));\n            break;\n          case 3 /* CommonJS */:\n          case 2 /* Namespace */:\n            Debug.assert(entry.namespaceLikeImport === void 0 || entry.namespaceLikeImport.name === symbolName2, \"Namespacelike import shoudl be missing or match symbolName\");\n            entry.namespaceLikeImport = { importKind, name: symbolName2, addAsTypeOnly };\n            break;\n        }\n        break;\n      }\n      case ImportFixKind.PromoteTypeOnly:\n        break;\n      default:\n        Debug.assertNever(fix, `fix wasn't never - got kind ${fix.kind}`);\n    }\n    function reduceAddAsTypeOnlyValues(prevValue, newValue) {\n      return Math.max(prevValue != null ? prevValue : 0, newValue);\n    }\n    function getNewImportEntry(moduleSpecifier, importKind, useRequire, addAsTypeOnly) {\n      const typeOnlyKey = newImportsKey(moduleSpecifier, true);\n      const nonTypeOnlyKey = newImportsKey(moduleSpecifier, false);\n      const typeOnlyEntry = newImports.get(typeOnlyKey);\n      const nonTypeOnlyEntry = newImports.get(nonTypeOnlyKey);\n      const newEntry = {\n        defaultImport: void 0,\n        namedImports: void 0,\n        namespaceLikeImport: void 0,\n        useRequire\n      };\n      if (importKind === 1 /* Default */ && addAsTypeOnly === AddAsTypeOnly.Required) {\n        if (typeOnlyEntry)\n          return typeOnlyEntry;\n        newImports.set(typeOnlyKey, newEntry);\n        return newEntry;\n      }\n      if (addAsTypeOnly === AddAsTypeOnly.Allowed && (typeOnlyEntry || nonTypeOnlyEntry)) {\n        return typeOnlyEntry || nonTypeOnlyEntry;\n      }\n      if (nonTypeOnlyEntry) {\n        return nonTypeOnlyEntry;\n      }\n      newImports.set(nonTypeOnlyKey, newEntry);\n      return newEntry;\n    }\n    function newImportsKey(moduleSpecifier, topLevelTypeOnly) {\n      return `${topLevelTypeOnly ? 1 : 0}|${moduleSpecifier}`;\n    }\n  }\n  function writeFixes(changeTracker) {\n    const quotePreference = getQuotePreference(sourceFile, preferences);\n    for (const fix of addToNamespace) {\n      addNamespaceQualifier(changeTracker, sourceFile, fix);\n    }\n    for (const fix of importType) {\n      addImportType(changeTracker, sourceFile, fix, quotePreference);\n    }\n    addToExisting.forEach(({ importClauseOrBindingPattern, defaultImport, namedImports }) => {\n      doAddExistingFix(\n        changeTracker,\n        sourceFile,\n        importClauseOrBindingPattern,\n        defaultImport,\n        arrayFrom(namedImports.entries(), ([name, addAsTypeOnly]) => ({ addAsTypeOnly, name })),\n        compilerOptions\n      );\n    });\n    let newDeclarations;\n    newImports.forEach(({ useRequire, defaultImport, namedImports, namespaceLikeImport }, key) => {\n      const moduleSpecifier = key.slice(2);\n      const getDeclarations = useRequire ? getNewRequires : getNewImports;\n      const declarations = getDeclarations(\n        moduleSpecifier,\n        quotePreference,\n        defaultImport,\n        namedImports && arrayFrom(namedImports.entries(), ([name, addAsTypeOnly]) => ({ addAsTypeOnly, name })),\n        namespaceLikeImport\n      );\n      newDeclarations = combine(newDeclarations, declarations);\n    });\n    if (newDeclarations) {\n      insertImports(changeTracker, sourceFile, newDeclarations, true);\n    }\n  }\n  function hasFixes() {\n    return addToNamespace.length > 0 || importType.length > 0 || addToExisting.size > 0 || newImports.size > 0;\n  }\n}\nfunction createImportSpecifierResolver(importingFile, program, host, preferences) {\n  const packageJsonImportFilter = createPackageJsonImportFilter(importingFile, preferences, host);\n  const importMap = createExistingImportMap(program.getTypeChecker(), importingFile, program.getCompilerOptions());\n  return { getModuleSpecifierForBestExportInfo };\n  function getModuleSpecifierForBestExportInfo(exportInfo, symbolName2, position, isValidTypeOnlyUseSite, fromCacheOnly) {\n    const { fixes, computedWithoutCacheCount } = getImportFixes(\n      exportInfo,\n      { symbolName: symbolName2, position },\n      isValidTypeOnlyUseSite,\n      false,\n      program,\n      importingFile,\n      host,\n      preferences,\n      importMap,\n      fromCacheOnly\n    );\n    const result = getBestFix(fixes, importingFile, program, packageJsonImportFilter, host);\n    return result && { ...result, computedWithoutCacheCount };\n  }\n}\nvar ImportFixKind = /* @__PURE__ */ ((ImportFixKind2) => {\n  ImportFixKind2[ImportFixKind2[\"UseNamespace\"] = 0] = \"UseNamespace\";\n  ImportFixKind2[ImportFixKind2[\"JsdocTypeImport\"] = 1] = \"JsdocTypeImport\";\n  ImportFixKind2[ImportFixKind2[\"AddToExisting\"] = 2] = \"AddToExisting\";\n  ImportFixKind2[ImportFixKind2[\"AddNew\"] = 3] = \"AddNew\";\n  ImportFixKind2[ImportFixKind2[\"PromoteTypeOnly\"] = 4] = \"PromoteTypeOnly\";\n  return ImportFixKind2;\n})(ImportFixKind || {});\nvar AddAsTypeOnly = /* @__PURE__ */ ((AddAsTypeOnly2) => {\n  AddAsTypeOnly2[AddAsTypeOnly2[\"Allowed\"] = 1] = \"Allowed\";\n  AddAsTypeOnly2[AddAsTypeOnly2[\"Required\"] = 2] = \"Required\";\n  AddAsTypeOnly2[AddAsTypeOnly2[\"NotAllowed\"] = 4] = \"NotAllowed\";\n  return AddAsTypeOnly2;\n})(AddAsTypeOnly || {});\nfunction getImportCompletionAction(targetSymbol, moduleSymbol, sourceFile, symbolName2, isJsxTagName, host, program, formatContext, position, preferences, cancellationToken) {\n  const compilerOptions = program.getCompilerOptions();\n  const exportInfos = pathIsBareSpecifier(stripQuotes(moduleSymbol.name)) ? [getSingleExportInfoForSymbol(targetSymbol, moduleSymbol, program, host)] : getAllExportInfoForSymbol(sourceFile, targetSymbol, symbolName2, isJsxTagName, program, host, preferences, cancellationToken);\n  Debug.assertIsDefined(exportInfos);\n  const useRequire = shouldUseRequire(sourceFile, program);\n  const isValidTypeOnlyUseSite = isValidTypeOnlyAliasUseSite(getTokenAtPosition(sourceFile, position));\n  const fix = Debug.checkDefined(getImportFixForSymbol(sourceFile, exportInfos, moduleSymbol, program, { symbolName: symbolName2, position }, isValidTypeOnlyUseSite, useRequire, host, preferences));\n  return {\n    moduleSpecifier: fix.moduleSpecifier,\n    codeAction: codeFixActionToCodeAction(codeActionForFix(\n      { host, formatContext, preferences },\n      sourceFile,\n      symbolName2,\n      fix,\n      false,\n      getQuotePreference(sourceFile, preferences),\n      compilerOptions\n    ))\n  };\n}\nfunction getPromoteTypeOnlyCompletionAction(sourceFile, symbolToken, program, host, formatContext, preferences) {\n  const compilerOptions = program.getCompilerOptions();\n  const symbolName2 = single(getSymbolNamesToImport(sourceFile, program.getTypeChecker(), symbolToken, compilerOptions));\n  const fix = getTypeOnlyPromotionFix(sourceFile, symbolToken, symbolName2, program);\n  const includeSymbolNameInDescription = symbolName2 !== symbolToken.text;\n  return fix && codeFixActionToCodeAction(codeActionForFix({ host, formatContext, preferences }, sourceFile, symbolName2, fix, includeSymbolNameInDescription, 1 /* Double */, compilerOptions));\n}\nfunction getImportFixForSymbol(sourceFile, exportInfos, moduleSymbol, program, useNamespaceInfo, isValidTypeOnlyUseSite, useRequire, host, preferences) {\n  Debug.assert(exportInfos.some((info) => info.moduleSymbol === moduleSymbol || info.symbol.parent === moduleSymbol), \"Some exportInfo should match the specified moduleSymbol\");\n  const packageJsonImportFilter = createPackageJsonImportFilter(sourceFile, preferences, host);\n  return getBestFix(getImportFixes(exportInfos, useNamespaceInfo, isValidTypeOnlyUseSite, useRequire, program, sourceFile, host, preferences).fixes, sourceFile, program, packageJsonImportFilter, host);\n}\nfunction codeFixActionToCodeAction({ description: description2, changes, commands }) {\n  return { description: description2, changes, commands };\n}\nfunction getAllExportInfoForSymbol(importingFile, symbol, symbolName2, preferCapitalized, program, host, preferences, cancellationToken) {\n  const getChecker = createGetChecker(program, host);\n  return getExportInfoMap(importingFile, host, program, preferences, cancellationToken).search(importingFile.path, preferCapitalized, (name) => name === symbolName2, (info) => {\n    if (skipAlias(info[0].symbol, getChecker(info[0].isFromPackageJson)) === symbol) {\n      return info;\n    }\n  });\n}\nfunction getSingleExportInfoForSymbol(symbol, moduleSymbol, program, host) {\n  var _a2, _b;\n  const compilerOptions = program.getCompilerOptions();\n  const mainProgramInfo = getInfoWithChecker(program.getTypeChecker(), false);\n  if (mainProgramInfo) {\n    return mainProgramInfo;\n  }\n  const autoImportProvider = (_b = (_a2 = host.getPackageJsonAutoImportProvider) == null ? void 0 : _a2.call(host)) == null ? void 0 : _b.getTypeChecker();\n  return Debug.checkDefined(autoImportProvider && getInfoWithChecker(autoImportProvider, true), `Could not find symbol in specified module for code actions`);\n  function getInfoWithChecker(checker, isFromPackageJson) {\n    const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions);\n    if (defaultInfo && skipAlias(defaultInfo.symbol, checker) === symbol) {\n      return { symbol: defaultInfo.symbol, moduleSymbol, moduleFileName: void 0, exportKind: defaultInfo.exportKind, targetFlags: skipAlias(symbol, checker).flags, isFromPackageJson };\n    }\n    const named = checker.tryGetMemberInModuleExportsAndProperties(symbol.name, moduleSymbol);\n    if (named && skipAlias(named, checker) === symbol) {\n      return { symbol: named, moduleSymbol, moduleFileName: void 0, exportKind: 0 /* Named */, targetFlags: skipAlias(symbol, checker).flags, isFromPackageJson };\n    }\n  }\n}\nfunction getImportFixes(exportInfos, useNamespaceInfo, isValidTypeOnlyUseSite, useRequire, program, sourceFile, host, preferences, importMap = createExistingImportMap(program.getTypeChecker(), sourceFile, program.getCompilerOptions()), fromCacheOnly) {\n  const checker = program.getTypeChecker();\n  const existingImports = flatMap(exportInfos, importMap.getImportsForExportInfo);\n  const useNamespace = useNamespaceInfo && tryUseExistingNamespaceImport(existingImports, useNamespaceInfo.symbolName, useNamespaceInfo.position, checker);\n  const addToExisting = tryAddToExistingImport(existingImports, isValidTypeOnlyUseSite, checker, program.getCompilerOptions());\n  if (addToExisting) {\n    return {\n      computedWithoutCacheCount: 0,\n      fixes: [...useNamespace ? [useNamespace] : emptyArray, addToExisting]\n    };\n  }\n  const { fixes, computedWithoutCacheCount = 0 } = getFixesForAddImport(\n    exportInfos,\n    existingImports,\n    program,\n    sourceFile,\n    useNamespaceInfo == null ? void 0 : useNamespaceInfo.position,\n    isValidTypeOnlyUseSite,\n    useRequire,\n    host,\n    preferences,\n    fromCacheOnly\n  );\n  return {\n    computedWithoutCacheCount,\n    fixes: [...useNamespace ? [useNamespace] : emptyArray, ...fixes]\n  };\n}\nfunction tryUseExistingNamespaceImport(existingImports, symbolName2, position, checker) {\n  return firstDefined(existingImports, ({ declaration }) => {\n    var _a2;\n    const namespacePrefix = getNamespaceLikeImportText(declaration);\n    const moduleSpecifier = (_a2 = tryGetModuleSpecifierFromDeclaration(declaration)) == null ? void 0 : _a2.text;\n    if (namespacePrefix && moduleSpecifier) {\n      const moduleSymbol = getTargetModuleFromNamespaceLikeImport(declaration, checker);\n      if (moduleSymbol && moduleSymbol.exports.has(escapeLeadingUnderscores(symbolName2))) {\n        return { kind: 0 /* UseNamespace */, namespacePrefix, position, moduleSpecifier };\n      }\n    }\n  });\n}\nfunction getTargetModuleFromNamespaceLikeImport(declaration, checker) {\n  var _a2;\n  switch (declaration.kind) {\n    case 261 /* VariableDeclaration */:\n      return checker.resolveExternalModuleName(declaration.initializer.arguments[0]);\n    case 274 /* ImportEqualsDeclaration */:\n      return checker.getAliasedSymbol(declaration.symbol);\n    case 275 /* ImportDeclaration */:\n      const namespaceImport = tryCast((_a2 = declaration.importClause) == null ? void 0 : _a2.namedBindings, isNamespaceImport);\n      return namespaceImport && checker.getAliasedSymbol(namespaceImport.symbol);\n    default:\n      return Debug.assertNever(declaration);\n  }\n}\nfunction getNamespaceLikeImportText(declaration) {\n  var _a2, _b, _c;\n  switch (declaration.kind) {\n    case 261 /* VariableDeclaration */:\n      return (_a2 = tryCast(declaration.name, isIdentifier)) == null ? void 0 : _a2.text;\n    case 274 /* ImportEqualsDeclaration */:\n      return declaration.name.text;\n    case 275 /* ImportDeclaration */:\n      return (_c = tryCast((_b = declaration.importClause) == null ? void 0 : _b.namedBindings, isNamespaceImport)) == null ? void 0 : _c.name.text;\n    default:\n      return Debug.assertNever(declaration);\n  }\n}\nfunction getAddAsTypeOnly(isValidTypeOnlyUseSite, isForNewImportDeclaration, symbol, targetFlags, checker, compilerOptions) {\n  if (!isValidTypeOnlyUseSite) {\n    return 4 /* NotAllowed */;\n  }\n  if (isForNewImportDeclaration && compilerOptions.importsNotUsedAsValues === 2 /* Error */) {\n    return 2 /* Required */;\n  }\n  if (compilerOptions.isolatedModules && compilerOptions.preserveValueImports && (!(targetFlags & 111551 /* Value */) || !!checker.getTypeOnlyAliasDeclaration(symbol))) {\n    return 2 /* Required */;\n  }\n  return 1 /* Allowed */;\n}\nfunction tryAddToExistingImport(existingImports, isValidTypeOnlyUseSite, checker, compilerOptions) {\n  return firstDefined(existingImports, ({ declaration, importKind, symbol, targetFlags }) => {\n    if (importKind === 3 /* CommonJS */ || importKind === 2 /* Namespace */ || declaration.kind === 274 /* ImportEqualsDeclaration */) {\n      return void 0;\n    }\n    if (declaration.kind === 261 /* VariableDeclaration */) {\n      return (importKind === 0 /* Named */ || importKind === 1 /* Default */) && declaration.name.kind === 206 /* ObjectBindingPattern */ ? { kind: 2 /* AddToExisting */, importClauseOrBindingPattern: declaration.name, importKind, moduleSpecifier: declaration.initializer.arguments[0].text, addAsTypeOnly: 4 /* NotAllowed */ } : void 0;\n    }\n    const { importClause } = declaration;\n    if (!importClause || !isStringLiteralLike(declaration.moduleSpecifier))\n      return void 0;\n    const { name, namedBindings } = importClause;\n    if (importClause.isTypeOnly && !(importKind === 0 /* Named */ && namedBindings))\n      return void 0;\n    const addAsTypeOnly = getAddAsTypeOnly(isValidTypeOnlyUseSite, false, symbol, targetFlags, checker, compilerOptions);\n    if (importKind === 1 /* Default */ && (name || addAsTypeOnly === 2 /* Required */ && namedBindings))\n      return void 0;\n    if (importKind === 0 /* Named */ && (namedBindings == null ? void 0 : namedBindings.kind) === 277 /* NamespaceImport */)\n      return void 0;\n    return {\n      kind: 2 /* AddToExisting */,\n      importClauseOrBindingPattern: importClause,\n      importKind,\n      moduleSpecifier: declaration.moduleSpecifier.text,\n      addAsTypeOnly\n    };\n  });\n}\nfunction createExistingImportMap(checker, importingFile, compilerOptions) {\n  let importMap;\n  for (const moduleSpecifier of importingFile.imports) {\n    const i = importFromModuleSpecifier(moduleSpecifier);\n    if (isVariableDeclarationInitializedToRequire(i.parent)) {\n      const moduleSymbol = checker.resolveExternalModuleName(moduleSpecifier);\n      if (moduleSymbol) {\n        (importMap || (importMap = createMultiMap())).add(getSymbolId(moduleSymbol), i.parent);\n      }\n    } else if (i.kind === 275 /* ImportDeclaration */ || i.kind === 274 /* ImportEqualsDeclaration */) {\n      const moduleSymbol = checker.getSymbolAtLocation(moduleSpecifier);\n      if (moduleSymbol) {\n        (importMap || (importMap = createMultiMap())).add(getSymbolId(moduleSymbol), i);\n      }\n    }\n  }\n  return {\n    getImportsForExportInfo: ({ moduleSymbol, exportKind, targetFlags, symbol }) => {\n      if (!(targetFlags & 111551 /* Value */) && isSourceFileJS(importingFile))\n        return emptyArray;\n      const matchingDeclarations = importMap == null ? void 0 : importMap.get(getSymbolId(moduleSymbol));\n      if (!matchingDeclarations)\n        return emptyArray;\n      const importKind = getImportKind(importingFile, exportKind, compilerOptions);\n      return matchingDeclarations.map((declaration) => ({ declaration, importKind, symbol, targetFlags }));\n    }\n  };\n}\nfunction shouldUseRequire(sourceFile, program) {\n  if (!isSourceFileJS(sourceFile)) {\n    return false;\n  }\n  if (sourceFile.commonJsModuleIndicator && !sourceFile.externalModuleIndicator)\n    return true;\n  if (sourceFile.externalModuleIndicator && !sourceFile.commonJsModuleIndicator)\n    return false;\n  const compilerOptions = program.getCompilerOptions();\n  if (compilerOptions.configFile) {\n    return getEmitModuleKind(compilerOptions) < 5 /* ES2015 */;\n  }\n  for (const otherFile of program.getSourceFiles()) {\n    if (otherFile === sourceFile || !isSourceFileJS(otherFile) || program.isSourceFileFromExternalLibrary(otherFile))\n      continue;\n    if (otherFile.commonJsModuleIndicator && !otherFile.externalModuleIndicator)\n      return true;\n    if (otherFile.externalModuleIndicator && !otherFile.commonJsModuleIndicator)\n      return false;\n  }\n  return true;\n}\nfunction createGetChecker(program, host) {\n  return memoizeOne((isFromPackageJson) => isFromPackageJson ? host.getPackageJsonAutoImportProvider().getTypeChecker() : program.getTypeChecker());\n}\nfunction getNewImportFixes(program, sourceFile, position, isValidTypeOnlyUseSite, useRequire, exportInfo, host, preferences, fromCacheOnly) {\n  const isJs = isSourceFileJS(sourceFile);\n  const compilerOptions = program.getCompilerOptions();\n  const moduleSpecifierResolutionHost = createModuleSpecifierResolutionHost(program, host);\n  const getChecker = createGetChecker(program, host);\n  const rejectNodeModulesRelativePaths = moduleResolutionUsesNodeModules(getEmitModuleResolutionKind(compilerOptions));\n  const getModuleSpecifiers2 = fromCacheOnly ? (moduleSymbol) => ({ moduleSpecifiers: ts_moduleSpecifiers_exports.tryGetModuleSpecifiersFromCache(moduleSymbol, sourceFile, moduleSpecifierResolutionHost, preferences), computedWithoutCache: false }) : (moduleSymbol, checker) => ts_moduleSpecifiers_exports.getModuleSpecifiersWithCacheInfo(moduleSymbol, checker, compilerOptions, sourceFile, moduleSpecifierResolutionHost, preferences);\n  let computedWithoutCacheCount = 0;\n  const fixes = flatMap(exportInfo, (exportInfo2, i) => {\n    const checker = getChecker(exportInfo2.isFromPackageJson);\n    const { computedWithoutCache, moduleSpecifiers } = getModuleSpecifiers2(exportInfo2.moduleSymbol, checker);\n    const importedSymbolHasValueMeaning = !!(exportInfo2.targetFlags & 111551 /* Value */);\n    const addAsTypeOnly = getAddAsTypeOnly(isValidTypeOnlyUseSite, true, exportInfo2.symbol, exportInfo2.targetFlags, checker, compilerOptions);\n    computedWithoutCacheCount += computedWithoutCache ? 1 : 0;\n    return mapDefined(\n      moduleSpecifiers,\n      (moduleSpecifier) => rejectNodeModulesRelativePaths && pathContainsNodeModules(moduleSpecifier) ? void 0 : !importedSymbolHasValueMeaning && isJs && position !== void 0 ? { kind: 1 /* JsdocTypeImport */, moduleSpecifier, position, exportInfo: exportInfo2, isReExport: i > 0 } : {\n        kind: 3 /* AddNew */,\n        moduleSpecifier,\n        importKind: getImportKind(sourceFile, exportInfo2.exportKind, compilerOptions),\n        useRequire,\n        addAsTypeOnly,\n        exportInfo: exportInfo2,\n        isReExport: i > 0\n      }\n    );\n  });\n  return { computedWithoutCacheCount, fixes };\n}\nfunction getFixesForAddImport(exportInfos, existingImports, program, sourceFile, position, isValidTypeOnlyUseSite, useRequire, host, preferences, fromCacheOnly) {\n  const existingDeclaration = firstDefined(existingImports, (info) => newImportInfoFromExistingSpecifier(info, isValidTypeOnlyUseSite, useRequire, program.getTypeChecker(), program.getCompilerOptions()));\n  return existingDeclaration ? { fixes: [existingDeclaration] } : getNewImportFixes(program, sourceFile, position, isValidTypeOnlyUseSite, useRequire, exportInfos, host, preferences, fromCacheOnly);\n}\nfunction newImportInfoFromExistingSpecifier({ declaration, importKind, symbol, targetFlags }, isValidTypeOnlyUseSite, useRequire, checker, compilerOptions) {\n  var _a2;\n  const moduleSpecifier = (_a2 = tryGetModuleSpecifierFromDeclaration(declaration)) == null ? void 0 : _a2.text;\n  if (moduleSpecifier) {\n    const addAsTypeOnly = useRequire ? 4 /* NotAllowed */ : getAddAsTypeOnly(isValidTypeOnlyUseSite, true, symbol, targetFlags, checker, compilerOptions);\n    return { kind: 3 /* AddNew */, moduleSpecifier, importKind, addAsTypeOnly, useRequire };\n  }\n}\nfunction getFixInfos(context, errorCode, pos, useAutoImportProvider) {\n  const symbolToken = getTokenAtPosition(context.sourceFile, pos);\n  let info;\n  if (errorCode === Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code) {\n    info = getFixesInfoForUMDImport(context, symbolToken);\n  } else if (!isIdentifier(symbolToken)) {\n    return void 0;\n  } else if (errorCode === Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code) {\n    const symbolName2 = single(getSymbolNamesToImport(context.sourceFile, context.program.getTypeChecker(), symbolToken, context.program.getCompilerOptions()));\n    const fix = getTypeOnlyPromotionFix(context.sourceFile, symbolToken, symbolName2, context.program);\n    return fix && [{ fix, symbolName: symbolName2, errorIdentifierText: symbolToken.text }];\n  } else {\n    info = getFixesInfoForNonUMDImport(context, symbolToken, useAutoImportProvider);\n  }\n  const packageJsonImportFilter = createPackageJsonImportFilter(context.sourceFile, context.preferences, context.host);\n  return info && sortFixInfo(info, context.sourceFile, context.program, packageJsonImportFilter, context.host);\n}\nfunction sortFixInfo(fixes, sourceFile, program, packageJsonImportFilter, host) {\n  const _toPath = (fileName) => toPath(fileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host));\n  return sort(fixes, (a, b) => compareBooleans(!!a.isJsxNamespaceFix, !!b.isJsxNamespaceFix) || compareValues(a.fix.kind, b.fix.kind) || compareModuleSpecifiers(a.fix, b.fix, sourceFile, program, packageJsonImportFilter.allowsImportingSpecifier, _toPath));\n}\nfunction getBestFix(fixes, sourceFile, program, packageJsonImportFilter, host) {\n  if (!some(fixes))\n    return;\n  if (fixes[0].kind === 0 /* UseNamespace */ || fixes[0].kind === 2 /* AddToExisting */) {\n    return fixes[0];\n  }\n  return fixes.reduce(\n    (best, fix) => compareModuleSpecifiers(\n      fix,\n      best,\n      sourceFile,\n      program,\n      packageJsonImportFilter.allowsImportingSpecifier,\n      (fileName) => toPath(fileName, host.getCurrentDirectory(), hostGetCanonicalFileName(host))\n    ) === -1 /* LessThan */ ? fix : best\n  );\n}\nfunction compareModuleSpecifiers(a, b, importingFile, program, allowsImportingSpecifier, toPath3) {\n  if (a.kind !== 0 /* UseNamespace */ && b.kind !== 0 /* UseNamespace */) {\n    return compareBooleans(allowsImportingSpecifier(b.moduleSpecifier), allowsImportingSpecifier(a.moduleSpecifier)) || compareNodeCoreModuleSpecifiers(a.moduleSpecifier, b.moduleSpecifier, importingFile, program) || compareBooleans(\n      isFixPossiblyReExportingImportingFile(a, importingFile, program.getCompilerOptions(), toPath3),\n      isFixPossiblyReExportingImportingFile(b, importingFile, program.getCompilerOptions(), toPath3)\n    ) || compareNumberOfDirectorySeparators(a.moduleSpecifier, b.moduleSpecifier);\n  }\n  return 0 /* EqualTo */;\n}\nfunction isFixPossiblyReExportingImportingFile(fix, importingFile, compilerOptions, toPath3) {\n  var _a2;\n  if (fix.isReExport && ((_a2 = fix.exportInfo) == null ? void 0 : _a2.moduleFileName) && getEmitModuleResolutionKind(compilerOptions) === 2 /* NodeJs */ && isIndexFileName(fix.exportInfo.moduleFileName)) {\n    const reExportDir = toPath3(getDirectoryPath(fix.exportInfo.moduleFileName));\n    return startsWith(importingFile.path, reExportDir);\n  }\n  return false;\n}\nfunction isIndexFileName(fileName) {\n  return getBaseFileName(fileName, [\".js\", \".jsx\", \".d.ts\", \".ts\", \".tsx\"], true) === \"index\";\n}\nfunction compareNodeCoreModuleSpecifiers(a, b, importingFile, program) {\n  if (startsWith(a, \"node:\") && !startsWith(b, \"node:\"))\n    return shouldUseUriStyleNodeCoreModules(importingFile, program) ? -1 /* LessThan */ : 1 /* GreaterThan */;\n  if (startsWith(b, \"node:\") && !startsWith(a, \"node:\"))\n    return shouldUseUriStyleNodeCoreModules(importingFile, program) ? 1 /* GreaterThan */ : -1 /* LessThan */;\n  return 0 /* EqualTo */;\n}\nfunction getFixesInfoForUMDImport({ sourceFile, program, host, preferences }, token) {\n  const checker = program.getTypeChecker();\n  const umdSymbol = getUmdSymbol(token, checker);\n  if (!umdSymbol)\n    return void 0;\n  const symbol = checker.getAliasedSymbol(umdSymbol);\n  const symbolName2 = umdSymbol.name;\n  const exportInfo = [{ symbol: umdSymbol, moduleSymbol: symbol, moduleFileName: void 0, exportKind: 3 /* UMD */, targetFlags: symbol.flags, isFromPackageJson: false }];\n  const useRequire = shouldUseRequire(sourceFile, program);\n  const position = isIdentifier(token) ? token.getStart(sourceFile) : void 0;\n  const fixes = getImportFixes(exportInfo, position ? { position, symbolName: symbolName2 } : void 0, false, useRequire, program, sourceFile, host, preferences).fixes;\n  return fixes.map((fix) => {\n    var _a2;\n    return { fix, symbolName: symbolName2, errorIdentifierText: (_a2 = tryCast(token, isIdentifier)) == null ? void 0 : _a2.text };\n  });\n}\nfunction getUmdSymbol(token, checker) {\n  const umdSymbol = isIdentifier(token) ? checker.getSymbolAtLocation(token) : void 0;\n  if (isUMDExportSymbol(umdSymbol))\n    return umdSymbol;\n  const { parent: parent2 } = token;\n  return isJsxOpeningLikeElement(parent2) && parent2.tagName === token || isJsxOpeningFragment(parent2) ? tryCast(checker.resolveName(checker.getJsxNamespace(parent2), isJsxOpeningLikeElement(parent2) ? token : parent2, 111551 /* Value */, false), isUMDExportSymbol) : void 0;\n}\nfunction getImportKind(importingFile, exportKind, compilerOptions, forceImportKeyword) {\n  switch (exportKind) {\n    case 0 /* Named */:\n      return 0 /* Named */;\n    case 1 /* Default */:\n      return 1 /* Default */;\n    case 2 /* ExportEquals */:\n      return getExportEqualsImportKind(importingFile, compilerOptions, !!forceImportKeyword);\n    case 3 /* UMD */:\n      return getUmdImportKind(importingFile, compilerOptions, !!forceImportKeyword);\n    default:\n      return Debug.assertNever(exportKind);\n  }\n}\nfunction getUmdImportKind(importingFile, compilerOptions, forceImportKeyword) {\n  if (getAllowSyntheticDefaultImports(compilerOptions)) {\n    return 1 /* Default */;\n  }\n  const moduleKind = getEmitModuleKind(compilerOptions);\n  switch (moduleKind) {\n    case 2 /* AMD */:\n    case 1 /* CommonJS */:\n    case 3 /* UMD */:\n      if (isInJSFile(importingFile)) {\n        return isExternalModule(importingFile) || forceImportKeyword ? 2 /* Namespace */ : 3 /* CommonJS */;\n      }\n      return 3 /* CommonJS */;\n    case 4 /* System */:\n    case 5 /* ES2015 */:\n    case 6 /* ES2020 */:\n    case 7 /* ES2022 */:\n    case 99 /* ESNext */:\n    case 0 /* None */:\n      return 2 /* Namespace */;\n    case 100 /* Node16 */:\n    case 199 /* NodeNext */:\n      return importingFile.impliedNodeFormat === 99 /* ESNext */ ? 2 /* Namespace */ : 3 /* CommonJS */;\n    default:\n      return Debug.assertNever(moduleKind, `Unexpected moduleKind ${moduleKind}`);\n  }\n}\nfunction getFixesInfoForNonUMDImport({ sourceFile, program, cancellationToken, host, preferences }, symbolToken, useAutoImportProvider) {\n  const checker = program.getTypeChecker();\n  const compilerOptions = program.getCompilerOptions();\n  return flatMap(getSymbolNamesToImport(sourceFile, checker, symbolToken, compilerOptions), (symbolName2) => {\n    if (symbolName2 === \"default\" /* Default */) {\n      return void 0;\n    }\n    const isValidTypeOnlyUseSite = isValidTypeOnlyAliasUseSite(symbolToken);\n    const useRequire = shouldUseRequire(sourceFile, program);\n    const exportInfo = getExportInfos(symbolName2, isJSXTagName(symbolToken), getMeaningFromLocation(symbolToken), cancellationToken, sourceFile, program, useAutoImportProvider, host, preferences);\n    const fixes = arrayFrom(flatMapIterator(exportInfo.entries(), ([_, exportInfos]) => getImportFixes(exportInfos, { symbolName: symbolName2, position: symbolToken.getStart(sourceFile) }, isValidTypeOnlyUseSite, useRequire, program, sourceFile, host, preferences).fixes));\n    return fixes.map((fix) => ({ fix, symbolName: symbolName2, errorIdentifierText: symbolToken.text, isJsxNamespaceFix: symbolName2 !== symbolToken.text }));\n  });\n}\nfunction getTypeOnlyPromotionFix(sourceFile, symbolToken, symbolName2, program) {\n  const checker = program.getTypeChecker();\n  const symbol = checker.resolveName(symbolName2, symbolToken, 111551 /* Value */, true);\n  if (!symbol)\n    return void 0;\n  const typeOnlyAliasDeclaration = checker.getTypeOnlyAliasDeclaration(symbol);\n  if (!typeOnlyAliasDeclaration || getSourceFileOfNode(typeOnlyAliasDeclaration) !== sourceFile)\n    return void 0;\n  return { kind: 4 /* PromoteTypeOnly */, typeOnlyAliasDeclaration };\n}\nfunction getSymbolNamesToImport(sourceFile, checker, symbolToken, compilerOptions) {\n  const parent2 = symbolToken.parent;\n  if ((isJsxOpeningLikeElement(parent2) || isJsxClosingElement(parent2)) && parent2.tagName === symbolToken && jsxModeNeedsExplicitImport(compilerOptions.jsx)) {\n    const jsxNamespace = checker.getJsxNamespace(sourceFile);\n    if (needsJsxNamespaceFix(jsxNamespace, symbolToken, checker)) {\n      const needsComponentNameFix = !isIntrinsicJsxName(symbolToken.text) && !checker.resolveName(symbolToken.text, symbolToken, 111551 /* Value */, false);\n      return needsComponentNameFix ? [symbolToken.text, jsxNamespace] : [jsxNamespace];\n    }\n  }\n  return [symbolToken.text];\n}\nfunction needsJsxNamespaceFix(jsxNamespace, symbolToken, checker) {\n  if (isIntrinsicJsxName(symbolToken.text))\n    return true;\n  const namespaceSymbol = checker.resolveName(jsxNamespace, symbolToken, 111551 /* Value */, true);\n  return !namespaceSymbol || some(namespaceSymbol.declarations, isTypeOnlyImportOrExportDeclaration) && !(namespaceSymbol.flags & 111551 /* Value */);\n}\nfunction getExportInfos(symbolName2, isJsxTagName, currentTokenMeaning, cancellationToken, fromFile, program, useAutoImportProvider, host, preferences) {\n  var _a2;\n  const originalSymbolToExportInfos = createMultiMap();\n  const packageJsonFilter = createPackageJsonImportFilter(fromFile, preferences, host);\n  const moduleSpecifierCache = (_a2 = host.getModuleSpecifierCache) == null ? void 0 : _a2.call(host);\n  const getModuleSpecifierResolutionHost = memoizeOne((isFromPackageJson) => {\n    return createModuleSpecifierResolutionHost(isFromPackageJson ? host.getPackageJsonAutoImportProvider() : program, host);\n  });\n  function addSymbol(moduleSymbol, toFile, exportedSymbol, exportKind, program2, isFromPackageJson) {\n    const moduleSpecifierResolutionHost = getModuleSpecifierResolutionHost(isFromPackageJson);\n    if (toFile && isImportableFile(program2, fromFile, toFile, preferences, packageJsonFilter, moduleSpecifierResolutionHost, moduleSpecifierCache) || !toFile && packageJsonFilter.allowsImportingAmbientModule(moduleSymbol, moduleSpecifierResolutionHost)) {\n      const checker = program2.getTypeChecker();\n      originalSymbolToExportInfos.add(getUniqueSymbolId(exportedSymbol, checker).toString(), { symbol: exportedSymbol, moduleSymbol, moduleFileName: toFile == null ? void 0 : toFile.fileName, exportKind, targetFlags: skipAlias(exportedSymbol, checker).flags, isFromPackageJson });\n    }\n  }\n  forEachExternalModuleToImportFrom(program, host, preferences, useAutoImportProvider, (moduleSymbol, sourceFile, program2, isFromPackageJson) => {\n    const checker = program2.getTypeChecker();\n    cancellationToken.throwIfCancellationRequested();\n    const compilerOptions = program2.getCompilerOptions();\n    const defaultInfo = getDefaultLikeExportInfo(moduleSymbol, checker, compilerOptions);\n    if (defaultInfo && (defaultInfo.name === symbolName2 || moduleSymbolToValidIdentifier(moduleSymbol, getEmitScriptTarget(compilerOptions), isJsxTagName) === symbolName2) && symbolHasMeaning(defaultInfo.symbolForMeaning, currentTokenMeaning)) {\n      addSymbol(moduleSymbol, sourceFile, defaultInfo.symbol, defaultInfo.exportKind, program2, isFromPackageJson);\n    }\n    const exportSymbolWithIdenticalName = checker.tryGetMemberInModuleExportsAndProperties(symbolName2, moduleSymbol);\n    if (exportSymbolWithIdenticalName && symbolHasMeaning(exportSymbolWithIdenticalName, currentTokenMeaning)) {\n      addSymbol(moduleSymbol, sourceFile, exportSymbolWithIdenticalName, 0 /* Named */, program2, isFromPackageJson);\n    }\n  });\n  return originalSymbolToExportInfos;\n}\nfunction getExportEqualsImportKind(importingFile, compilerOptions, forceImportKeyword) {\n  const allowSyntheticDefaults = getAllowSyntheticDefaultImports(compilerOptions);\n  const isJS = isInJSFile(importingFile);\n  if (!isJS && getEmitModuleKind(compilerOptions) >= 5 /* ES2015 */) {\n    return allowSyntheticDefaults ? 1 /* Default */ : 2 /* Namespace */;\n  }\n  if (isJS) {\n    return isExternalModule(importingFile) || forceImportKeyword ? allowSyntheticDefaults ? 1 /* Default */ : 2 /* Namespace */ : 3 /* CommonJS */;\n  }\n  for (const statement of importingFile.statements) {\n    if (isImportEqualsDeclaration(statement) && !nodeIsMissing(statement.moduleReference)) {\n      return 3 /* CommonJS */;\n    }\n  }\n  return allowSyntheticDefaults ? 1 /* Default */ : 3 /* CommonJS */;\n}\nfunction codeActionForFix(context, sourceFile, symbolName2, fix, includeSymbolNameInDescription, quotePreference, compilerOptions) {\n  let diag2;\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (tracker) => {\n    diag2 = codeActionForFixWorker(tracker, sourceFile, symbolName2, fix, includeSymbolNameInDescription, quotePreference, compilerOptions);\n  });\n  return createCodeFixAction(importFixName, changes, diag2, importFixId, Diagnostics.Add_all_missing_imports);\n}\nfunction codeActionForFixWorker(changes, sourceFile, symbolName2, fix, includeSymbolNameInDescription, quotePreference, compilerOptions) {\n  switch (fix.kind) {\n    case 0 /* UseNamespace */:\n      addNamespaceQualifier(changes, sourceFile, fix);\n      return [Diagnostics.Change_0_to_1, symbolName2, `${fix.namespacePrefix}.${symbolName2}`];\n    case 1 /* JsdocTypeImport */:\n      addImportType(changes, sourceFile, fix, quotePreference);\n      return [Diagnostics.Change_0_to_1, symbolName2, getImportTypePrefix(fix.moduleSpecifier, quotePreference) + symbolName2];\n    case 2 /* AddToExisting */: {\n      const { importClauseOrBindingPattern, importKind, addAsTypeOnly, moduleSpecifier } = fix;\n      doAddExistingFix(\n        changes,\n        sourceFile,\n        importClauseOrBindingPattern,\n        importKind === 1 /* Default */ ? { name: symbolName2, addAsTypeOnly } : void 0,\n        importKind === 0 /* Named */ ? [{ name: symbolName2, addAsTypeOnly }] : emptyArray,\n        compilerOptions\n      );\n      const moduleSpecifierWithoutQuotes = stripQuotes(moduleSpecifier);\n      return includeSymbolNameInDescription ? [Diagnostics.Import_0_from_1, symbolName2, moduleSpecifierWithoutQuotes] : [Diagnostics.Update_import_from_0, moduleSpecifierWithoutQuotes];\n    }\n    case 3 /* AddNew */: {\n      const { importKind, moduleSpecifier, addAsTypeOnly, useRequire } = fix;\n      const getDeclarations = useRequire ? getNewRequires : getNewImports;\n      const defaultImport = importKind === 1 /* Default */ ? { name: symbolName2, addAsTypeOnly } : void 0;\n      const namedImports = importKind === 0 /* Named */ ? [{ name: symbolName2, addAsTypeOnly }] : void 0;\n      const namespaceLikeImport = importKind === 2 /* Namespace */ || importKind === 3 /* CommonJS */ ? { importKind, name: symbolName2, addAsTypeOnly } : void 0;\n      insertImports(changes, sourceFile, getDeclarations(moduleSpecifier, quotePreference, defaultImport, namedImports, namespaceLikeImport), true);\n      return includeSymbolNameInDescription ? [Diagnostics.Import_0_from_1, symbolName2, moduleSpecifier] : [Diagnostics.Add_import_from_0, moduleSpecifier];\n    }\n    case 4 /* PromoteTypeOnly */: {\n      const { typeOnlyAliasDeclaration } = fix;\n      const promotedDeclaration = promoteFromTypeOnly(changes, typeOnlyAliasDeclaration, compilerOptions, sourceFile);\n      return promotedDeclaration.kind === 279 /* ImportSpecifier */ ? [Diagnostics.Remove_type_from_import_of_0_from_1, symbolName2, getModuleSpecifierText(promotedDeclaration.parent.parent)] : [Diagnostics.Remove_type_from_import_declaration_from_0, getModuleSpecifierText(promotedDeclaration)];\n    }\n    default:\n      return Debug.assertNever(fix, `Unexpected fix kind ${fix.kind}`);\n  }\n}\nfunction getModuleSpecifierText(promotedDeclaration) {\n  var _a2, _b;\n  return promotedDeclaration.kind === 274 /* ImportEqualsDeclaration */ ? ((_b = tryCast((_a2 = tryCast(promotedDeclaration.moduleReference, isExternalModuleReference)) == null ? void 0 : _a2.expression, isStringLiteralLike)) == null ? void 0 : _b.text) || promotedDeclaration.moduleReference.getText() : cast(promotedDeclaration.parent.moduleSpecifier, isStringLiteral).text;\n}\nfunction promoteFromTypeOnly(changes, aliasDeclaration, compilerOptions, sourceFile) {\n  const convertExistingToTypeOnly = compilerOptions.preserveValueImports && compilerOptions.isolatedModules;\n  switch (aliasDeclaration.kind) {\n    case 279 /* ImportSpecifier */:\n      if (aliasDeclaration.isTypeOnly) {\n        if (aliasDeclaration.parent.elements.length > 1 && ts_OrganizeImports_exports.importSpecifiersAreSorted(aliasDeclaration.parent.elements)) {\n          changes.delete(sourceFile, aliasDeclaration);\n          const newSpecifier = factory.updateImportSpecifier(aliasDeclaration, false, aliasDeclaration.propertyName, aliasDeclaration.name);\n          const insertionIndex = ts_OrganizeImports_exports.getImportSpecifierInsertionIndex(aliasDeclaration.parent.elements, newSpecifier);\n          changes.insertImportSpecifierAtIndex(sourceFile, newSpecifier, aliasDeclaration.parent, insertionIndex);\n        } else {\n          changes.deleteRange(sourceFile, aliasDeclaration.getFirstToken());\n        }\n        return aliasDeclaration;\n      } else {\n        Debug.assert(aliasDeclaration.parent.parent.isTypeOnly);\n        promoteImportClause(aliasDeclaration.parent.parent);\n        return aliasDeclaration.parent.parent;\n      }\n    case 276 /* ImportClause */:\n      promoteImportClause(aliasDeclaration);\n      return aliasDeclaration;\n    case 277 /* NamespaceImport */:\n      promoteImportClause(aliasDeclaration.parent);\n      return aliasDeclaration.parent;\n    case 274 /* ImportEqualsDeclaration */:\n      changes.deleteRange(sourceFile, aliasDeclaration.getChildAt(1));\n      return aliasDeclaration;\n    default:\n      Debug.failBadSyntaxKind(aliasDeclaration);\n  }\n  function promoteImportClause(importClause) {\n    changes.delete(sourceFile, getTypeKeywordOfTypeOnlyImport(importClause, sourceFile));\n    if (convertExistingToTypeOnly) {\n      const namedImports = tryCast(importClause.namedBindings, isNamedImports);\n      if (namedImports && namedImports.elements.length > 1) {\n        if (ts_OrganizeImports_exports.importSpecifiersAreSorted(namedImports.elements) && aliasDeclaration.kind === 279 /* ImportSpecifier */ && namedImports.elements.indexOf(aliasDeclaration) !== 0) {\n          changes.delete(sourceFile, aliasDeclaration);\n          changes.insertImportSpecifierAtIndex(sourceFile, aliasDeclaration, namedImports, 0);\n        }\n        for (const element of namedImports.elements) {\n          if (element !== aliasDeclaration && !element.isTypeOnly) {\n            changes.insertModifierBefore(sourceFile, 155 /* TypeKeyword */, element);\n          }\n        }\n      }\n    }\n  }\n}\nfunction doAddExistingFix(changes, sourceFile, clause, defaultImport, namedImports, compilerOptions) {\n  var _a2;\n  if (clause.kind === 206 /* ObjectBindingPattern */) {\n    if (defaultImport) {\n      addElementToBindingPattern(clause, defaultImport.name, \"default\");\n    }\n    for (const specifier of namedImports) {\n      addElementToBindingPattern(clause, specifier.name, void 0);\n    }\n    return;\n  }\n  const promoteFromTypeOnly2 = clause.isTypeOnly && some([defaultImport, ...namedImports], (i) => (i == null ? void 0 : i.addAsTypeOnly) === 4 /* NotAllowed */);\n  const existingSpecifiers = clause.namedBindings && ((_a2 = tryCast(clause.namedBindings, isNamedImports)) == null ? void 0 : _a2.elements);\n  const convertExistingToTypeOnly = promoteFromTypeOnly2 && compilerOptions.preserveValueImports && compilerOptions.isolatedModules;\n  if (defaultImport) {\n    Debug.assert(!clause.name, \"Cannot add a default import to an import clause that already has one\");\n    changes.insertNodeAt(sourceFile, clause.getStart(sourceFile), factory.createIdentifier(defaultImport.name), { suffix: \", \" });\n  }\n  if (namedImports.length) {\n    const newSpecifiers = stableSort(\n      namedImports.map((namedImport) => factory.createImportSpecifier(\n        (!clause.isTypeOnly || promoteFromTypeOnly2) && needsTypeOnly(namedImport),\n        void 0,\n        factory.createIdentifier(namedImport.name)\n      )),\n      ts_OrganizeImports_exports.compareImportOrExportSpecifiers\n    );\n    if ((existingSpecifiers == null ? void 0 : existingSpecifiers.length) && ts_OrganizeImports_exports.importSpecifiersAreSorted(existingSpecifiers)) {\n      for (const spec of newSpecifiers) {\n        const insertionIndex = convertExistingToTypeOnly && !spec.isTypeOnly ? 0 : ts_OrganizeImports_exports.getImportSpecifierInsertionIndex(existingSpecifiers, spec);\n        changes.insertImportSpecifierAtIndex(sourceFile, spec, clause.namedBindings, insertionIndex);\n      }\n    } else if (existingSpecifiers == null ? void 0 : existingSpecifiers.length) {\n      for (const spec of newSpecifiers) {\n        changes.insertNodeInListAfter(sourceFile, last(existingSpecifiers), spec, existingSpecifiers);\n      }\n    } else {\n      if (newSpecifiers.length) {\n        const namedImports2 = factory.createNamedImports(newSpecifiers);\n        if (clause.namedBindings) {\n          changes.replaceNode(sourceFile, clause.namedBindings, namedImports2);\n        } else {\n          changes.insertNodeAfter(sourceFile, Debug.checkDefined(clause.name, \"Import clause must have either named imports or a default import\"), namedImports2);\n        }\n      }\n    }\n  }\n  if (promoteFromTypeOnly2) {\n    changes.delete(sourceFile, getTypeKeywordOfTypeOnlyImport(clause, sourceFile));\n    if (convertExistingToTypeOnly && existingSpecifiers) {\n      for (const specifier of existingSpecifiers) {\n        changes.insertModifierBefore(sourceFile, 155 /* TypeKeyword */, specifier);\n      }\n    }\n  }\n  function addElementToBindingPattern(bindingPattern, name, propertyName) {\n    const element = factory.createBindingElement(void 0, propertyName, name);\n    if (bindingPattern.elements.length) {\n      changes.insertNodeInListAfter(sourceFile, last(bindingPattern.elements), element);\n    } else {\n      changes.replaceNode(sourceFile, bindingPattern, factory.createObjectBindingPattern([element]));\n    }\n  }\n}\nfunction addNamespaceQualifier(changes, sourceFile, { namespacePrefix, position }) {\n  changes.insertText(sourceFile, position, namespacePrefix + \".\");\n}\nfunction addImportType(changes, sourceFile, { moduleSpecifier, position }, quotePreference) {\n  changes.insertText(sourceFile, position, getImportTypePrefix(moduleSpecifier, quotePreference));\n}\nfunction getImportTypePrefix(moduleSpecifier, quotePreference) {\n  const quote2 = getQuoteFromPreference(quotePreference);\n  return `import(${quote2}${moduleSpecifier}${quote2}).`;\n}\nfunction needsTypeOnly({ addAsTypeOnly }) {\n  return addAsTypeOnly === 2 /* Required */;\n}\nfunction getNewImports(moduleSpecifier, quotePreference, defaultImport, namedImports, namespaceLikeImport) {\n  const quotedModuleSpecifier = makeStringLiteral(moduleSpecifier, quotePreference);\n  let statements;\n  if (defaultImport !== void 0 || (namedImports == null ? void 0 : namedImports.length)) {\n    const topLevelTypeOnly = (!defaultImport || needsTypeOnly(defaultImport)) && every(namedImports, needsTypeOnly);\n    statements = combine(statements, makeImport(\n      defaultImport && factory.createIdentifier(defaultImport.name),\n      namedImports == null ? void 0 : namedImports.map(({ addAsTypeOnly, name }) => factory.createImportSpecifier(\n        !topLevelTypeOnly && addAsTypeOnly === 2 /* Required */,\n        void 0,\n        factory.createIdentifier(name)\n      )),\n      moduleSpecifier,\n      quotePreference,\n      topLevelTypeOnly\n    ));\n  }\n  if (namespaceLikeImport) {\n    const declaration = namespaceLikeImport.importKind === 3 /* CommonJS */ ? factory.createImportEqualsDeclaration(\n      void 0,\n      needsTypeOnly(namespaceLikeImport),\n      factory.createIdentifier(namespaceLikeImport.name),\n      factory.createExternalModuleReference(quotedModuleSpecifier)\n    ) : factory.createImportDeclaration(\n      void 0,\n      factory.createImportClause(\n        needsTypeOnly(namespaceLikeImport),\n        void 0,\n        factory.createNamespaceImport(factory.createIdentifier(namespaceLikeImport.name))\n      ),\n      quotedModuleSpecifier,\n      void 0\n    );\n    statements = combine(statements, declaration);\n  }\n  return Debug.checkDefined(statements);\n}\nfunction getNewRequires(moduleSpecifier, quotePreference, defaultImport, namedImports, namespaceLikeImport) {\n  const quotedModuleSpecifier = makeStringLiteral(moduleSpecifier, quotePreference);\n  let statements;\n  if (defaultImport || (namedImports == null ? void 0 : namedImports.length)) {\n    const bindingElements = (namedImports == null ? void 0 : namedImports.map(({ name }) => factory.createBindingElement(void 0, void 0, name))) || [];\n    if (defaultImport) {\n      bindingElements.unshift(factory.createBindingElement(void 0, \"default\", defaultImport.name));\n    }\n    const declaration = createConstEqualsRequireDeclaration(factory.createObjectBindingPattern(bindingElements), quotedModuleSpecifier);\n    statements = combine(statements, declaration);\n  }\n  if (namespaceLikeImport) {\n    const declaration = createConstEqualsRequireDeclaration(namespaceLikeImport.name, quotedModuleSpecifier);\n    statements = combine(statements, declaration);\n  }\n  return Debug.checkDefined(statements);\n}\nfunction createConstEqualsRequireDeclaration(name, quotedModuleSpecifier) {\n  return factory.createVariableStatement(\n    void 0,\n    factory.createVariableDeclarationList(\n      [\n        factory.createVariableDeclaration(\n          typeof name === \"string\" ? factory.createIdentifier(name) : name,\n          void 0,\n          void 0,\n          factory.createCallExpression(factory.createIdentifier(\"require\"), void 0, [quotedModuleSpecifier])\n        )\n      ],\n      2 /* Const */\n    )\n  );\n}\nfunction symbolHasMeaning({ declarations }, meaning) {\n  return some(declarations, (decl) => !!(getMeaningFromDeclaration(decl) & meaning));\n}\nfunction moduleSymbolToValidIdentifier(moduleSymbol, target, forceCapitalize) {\n  return moduleSpecifierToValidIdentifier(removeFileExtension(stripQuotes(moduleSymbol.name)), target, forceCapitalize);\n}\nfunction moduleSpecifierToValidIdentifier(moduleSpecifier, target, forceCapitalize) {\n  const baseName = getBaseFileName(removeSuffix(moduleSpecifier, \"/index\"));\n  let res = \"\";\n  let lastCharWasValid = true;\n  const firstCharCode = baseName.charCodeAt(0);\n  if (isIdentifierStart(firstCharCode, target)) {\n    res += String.fromCharCode(firstCharCode);\n    if (forceCapitalize) {\n      res = res.toUpperCase();\n    }\n  } else {\n    lastCharWasValid = false;\n  }\n  for (let i = 1; i < baseName.length; i++) {\n    const ch = baseName.charCodeAt(i);\n    const isValid = isIdentifierPart(ch, target);\n    if (isValid) {\n      let char = String.fromCharCode(ch);\n      if (!lastCharWasValid) {\n        char = char.toUpperCase();\n      }\n      res += char;\n    }\n    lastCharWasValid = isValid;\n  }\n  return !isStringANonContextualKeyword(res) ? res || \"_\" : `_${res}`;\n}\n\n// src/services/codefixes/fixAddMissingConstraint.ts\nvar fixId16 = \"addMissingConstraint\";\nvar errorCodes18 = [\n  Diagnostics.Type_0_is_not_comparable_to_type_1.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n  Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,\n  Diagnostics.Property_0_is_incompatible_with_index_signature.code,\n  Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,\n  Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes18,\n  getCodeActions(context) {\n    const { sourceFile, span, program, preferences, host } = context;\n    const info = getInfo3(program, sourceFile, span);\n    if (info === void 0)\n      return;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingConstraint(t, program, preferences, host, sourceFile, info));\n    return [createCodeFixAction(fixId16, changes, Diagnostics.Add_extends_constraint, fixId16, Diagnostics.Add_extends_constraint_to_all_type_parameters)];\n  },\n  fixIds: [fixId16],\n  getAllCodeActions: (context) => {\n    const { program, preferences, host } = context;\n    const seen = new Map2();\n    return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n      eachDiagnostic(context, errorCodes18, (diag2) => {\n        const info = getInfo3(program, diag2.file, createTextSpan(diag2.start, diag2.length));\n        if (info) {\n          if (addToSeen(seen, getNodeId(info.declaration))) {\n            return addMissingConstraint(changes, program, preferences, host, diag2.file, info);\n          }\n        }\n        return void 0;\n      });\n    }));\n  }\n});\nfunction getInfo3(program, sourceFile, span) {\n  const diag2 = find(program.getSemanticDiagnostics(sourceFile), (diag3) => diag3.start === span.start && diag3.length === span.length);\n  if (diag2 === void 0 || diag2.relatedInformation === void 0)\n    return;\n  const related = find(diag2.relatedInformation, (related2) => related2.code === Diagnostics.This_type_parameter_might_need_an_extends_0_constraint.code);\n  if (related === void 0 || related.file === void 0 || related.start === void 0 || related.length === void 0)\n    return;\n  let declaration = findAncestorMatchingSpan(related.file, createTextSpan(related.start, related.length));\n  if (declaration === void 0)\n    return;\n  if (isIdentifier(declaration) && isTypeParameterDeclaration(declaration.parent)) {\n    declaration = declaration.parent;\n  }\n  if (isTypeParameterDeclaration(declaration)) {\n    if (isMappedTypeNode(declaration.parent))\n      return;\n    const token = getTokenAtPosition(sourceFile, span.start);\n    const checker = program.getTypeChecker();\n    const constraint = tryGetConstraintType(checker, token) || tryGetConstraintFromDiagnosticMessage(related.messageText);\n    return { constraint, declaration, token };\n  }\n  return void 0;\n}\nfunction addMissingConstraint(changes, program, preferences, host, sourceFile, info) {\n  const { declaration, constraint } = info;\n  const checker = program.getTypeChecker();\n  if (isString(constraint)) {\n    changes.insertText(sourceFile, declaration.name.end, ` extends ${constraint}`);\n  } else {\n    const scriptTarget = getEmitScriptTarget(program.getCompilerOptions());\n    const tracker = getNoopSymbolTrackerWithResolver({ program, host });\n    const importAdder = createImportAdder(sourceFile, program, preferences, host);\n    const typeNode = typeToAutoImportableTypeNode(checker, importAdder, constraint, void 0, scriptTarget, void 0, tracker);\n    if (typeNode) {\n      changes.replaceNode(sourceFile, declaration, factory.updateTypeParameterDeclaration(declaration, void 0, declaration.name, typeNode, declaration.default));\n      importAdder.writeFixes(changes);\n    }\n  }\n}\nfunction tryGetConstraintFromDiagnosticMessage(messageText) {\n  const [_, constraint] = flattenDiagnosticMessageText(messageText, \"\\n\", 0).match(/`extends (.*)`/) || [];\n  return constraint;\n}\nfunction tryGetConstraintType(checker, node) {\n  if (isTypeNode(node.parent)) {\n    return checker.getTypeArgumentConstraint(node.parent);\n  }\n  const contextualType = isExpression(node) ? checker.getContextualType(node) : void 0;\n  return contextualType || checker.getTypeAtLocation(node);\n}\n\n// src/services/codefixes/fixOverrideModifier.ts\nvar fixName = \"fixOverrideModifier\";\nvar fixAddOverrideId = \"fixAddOverrideModifier\";\nvar fixRemoveOverrideId = \"fixRemoveOverrideModifier\";\nvar errorCodes19 = [\n  Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,\n  Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,\n  Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,\n  Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,\n  Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,\n  Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,\n  Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,\n  Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,\n  Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code\n];\nvar errorCodeFixIdMap = {\n  [Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]: {\n    descriptions: Diagnostics.Add_override_modifier,\n    fixId: fixAddOverrideId,\n    fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n  },\n  [Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]: {\n    descriptions: Diagnostics.Add_override_modifier,\n    fixId: fixAddOverrideId,\n    fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n  },\n  [Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]: {\n    descriptions: Diagnostics.Remove_override_modifier,\n    fixId: fixRemoveOverrideId,\n    fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n  },\n  [Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]: {\n    descriptions: Diagnostics.Remove_override_modifier,\n    fixId: fixRemoveOverrideId,\n    fixAllDescriptions: Diagnostics.Remove_override_modifier\n  },\n  [Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]: {\n    descriptions: Diagnostics.Add_override_modifier,\n    fixId: fixAddOverrideId,\n    fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n  },\n  [Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]: {\n    descriptions: Diagnostics.Add_override_modifier,\n    fixId: fixAddOverrideId,\n    fixAllDescriptions: Diagnostics.Add_all_missing_override_modifiers\n  },\n  [Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]: {\n    descriptions: Diagnostics.Add_override_modifier,\n    fixId: fixAddOverrideId,\n    fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n  },\n  [Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]: {\n    descriptions: Diagnostics.Remove_override_modifier,\n    fixId: fixRemoveOverrideId,\n    fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n  },\n  [Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]: {\n    descriptions: Diagnostics.Remove_override_modifier,\n    fixId: fixRemoveOverrideId,\n    fixAllDescriptions: Diagnostics.Remove_all_unnecessary_override_modifiers\n  }\n};\nregisterCodeFix({\n  errorCodes: errorCodes19,\n  getCodeActions: function getCodeActionsToFixOverrideModifierIssues(context) {\n    const { errorCode, span } = context;\n    const info = errorCodeFixIdMap[errorCode];\n    if (!info)\n      return emptyArray;\n    const { descriptions, fixId: fixId52, fixAllDescriptions } = info;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => dispatchChanges(changes2, context, errorCode, span.start));\n    return [\n      createCodeFixActionMaybeFixAll(fixName, changes, descriptions, fixId52, fixAllDescriptions)\n    ];\n  },\n  fixIds: [fixName, fixAddOverrideId, fixRemoveOverrideId],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes19, (changes, diag2) => {\n    const { code, start } = diag2;\n    const info = errorCodeFixIdMap[code];\n    if (!info || info.fixId !== context.fixId) {\n      return;\n    }\n    dispatchChanges(changes, context, code, start);\n  })\n});\nfunction dispatchChanges(changeTracker, context, errorCode, pos) {\n  switch (errorCode) {\n    case Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:\n    case Diagnostics.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:\n    case Diagnostics.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:\n    case Diagnostics.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:\n    case Diagnostics.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:\n      return doAddOverrideModifierChange(changeTracker, context.sourceFile, pos);\n    case Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:\n    case Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:\n    case Diagnostics.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:\n    case Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:\n      return doRemoveOverrideModifierChange(changeTracker, context.sourceFile, pos);\n    default:\n      Debug.fail(\"Unexpected error code: \" + errorCode);\n  }\n}\nfunction doAddOverrideModifierChange(changeTracker, sourceFile, pos) {\n  const classElement = findContainerClassElementLike(sourceFile, pos);\n  if (isSourceFileJS(sourceFile)) {\n    changeTracker.addJSDocTags(sourceFile, classElement, [factory.createJSDocOverrideTag(factory.createIdentifier(\"override\"))]);\n    return;\n  }\n  const modifiers = classElement.modifiers || emptyArray;\n  const staticModifier = find(modifiers, isStaticModifier);\n  const abstractModifier = find(modifiers, isAbstractModifier);\n  const accessibilityModifier = find(modifiers, (m) => isAccessibilityModifier(m.kind));\n  const lastDecorator = findLast(modifiers, isDecorator);\n  const modifierPos = abstractModifier ? abstractModifier.end : staticModifier ? staticModifier.end : accessibilityModifier ? accessibilityModifier.end : lastDecorator ? skipTrivia(sourceFile.text, lastDecorator.end) : classElement.getStart(sourceFile);\n  const options = accessibilityModifier || staticModifier || abstractModifier ? { prefix: \" \" } : { suffix: \" \" };\n  changeTracker.insertModifierAt(sourceFile, modifierPos, 163 /* OverrideKeyword */, options);\n}\nfunction doRemoveOverrideModifierChange(changeTracker, sourceFile, pos) {\n  const classElement = findContainerClassElementLike(sourceFile, pos);\n  if (isSourceFileJS(sourceFile)) {\n    changeTracker.filterJSDocTags(sourceFile, classElement, not(isJSDocOverrideTag));\n    return;\n  }\n  const overrideModifier = find(classElement.modifiers, isOverrideModifier);\n  Debug.assertIsDefined(overrideModifier);\n  changeTracker.deleteModifier(sourceFile, overrideModifier);\n}\nfunction isClassElementLikeHasJSDoc(node) {\n  switch (node.kind) {\n    case 176 /* Constructor */:\n    case 171 /* PropertyDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return true;\n    case 168 /* Parameter */:\n      return isParameterPropertyDeclaration(node, node.parent);\n    default:\n      return false;\n  }\n}\nfunction findContainerClassElementLike(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  const classElement = findAncestor(token, (node) => {\n    if (isClassLike(node))\n      return \"quit\";\n    return isClassElementLikeHasJSDoc(node);\n  });\n  Debug.assert(classElement && isClassElementLikeHasJSDoc(classElement));\n  return classElement;\n}\n\n// src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts\nvar fixId17 = \"fixNoPropertyAccessFromIndexSignature\";\nvar errorCodes20 = [\n  Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes20,\n  fixIds: [fixId17],\n  getCodeActions(context) {\n    const { sourceFile, span, preferences } = context;\n    const property = getPropertyAccessExpression(sourceFile, span.start);\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange5(t, context.sourceFile, property, preferences));\n    return [createCodeFixAction(fixId17, changes, [Diagnostics.Use_element_access_for_0, property.name.text], fixId17, Diagnostics.Use_element_access_for_all_undeclared_properties)];\n  },\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes20, (changes, diag2) => doChange5(changes, diag2.file, getPropertyAccessExpression(diag2.file, diag2.start), context.preferences))\n});\nfunction doChange5(changes, sourceFile, node, preferences) {\n  const quotePreference = getQuotePreference(sourceFile, preferences);\n  const argumentsExpression = factory.createStringLiteral(node.name.text, quotePreference === 0 /* Single */);\n  changes.replaceNode(\n    sourceFile,\n    node,\n    isPropertyAccessChain(node) ? factory.createElementAccessChain(node.expression, node.questionDotToken, argumentsExpression) : factory.createElementAccessExpression(node.expression, argumentsExpression)\n  );\n}\nfunction getPropertyAccessExpression(sourceFile, pos) {\n  return cast(getTokenAtPosition(sourceFile, pos).parent, isPropertyAccessExpression);\n}\n\n// src/services/codefixes/fixImplicitThis.ts\nvar fixId18 = \"fixImplicitThis\";\nvar errorCodes21 = [Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code];\nregisterCodeFix({\n  errorCodes: errorCodes21,\n  getCodeActions: function getCodeActionsToFixImplicitThis(context) {\n    const { sourceFile, program, span } = context;\n    let diagnostic;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n      diagnostic = doChange6(t, sourceFile, span.start, program.getTypeChecker());\n    });\n    return diagnostic ? [createCodeFixAction(fixId18, changes, diagnostic, fixId18, Diagnostics.Fix_all_implicit_this_errors)] : emptyArray;\n  },\n  fixIds: [fixId18],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes21, (changes, diag2) => {\n    doChange6(changes, diag2.file, diag2.start, context.program.getTypeChecker());\n  })\n});\nfunction doChange6(changes, sourceFile, pos, checker) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (!isThis(token))\n    return void 0;\n  const fn = getThisContainer(token, false);\n  if (!isFunctionDeclaration(fn) && !isFunctionExpression(fn))\n    return void 0;\n  if (!isSourceFile(getThisContainer(fn, false))) {\n    const fnKeyword = Debug.checkDefined(findChildOfKind(fn, 99 /* FunctionKeyword */, sourceFile));\n    const { name } = fn;\n    const body = Debug.checkDefined(fn.body);\n    if (isFunctionExpression(fn)) {\n      if (name && ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(name, checker, sourceFile, body)) {\n        return void 0;\n      }\n      changes.delete(sourceFile, fnKeyword);\n      if (name) {\n        changes.delete(sourceFile, name);\n      }\n      changes.insertText(sourceFile, body.pos, \" =>\");\n      return [Diagnostics.Convert_function_expression_0_to_arrow_function, name ? name.text : ANONYMOUS];\n    } else {\n      changes.replaceNode(sourceFile, fnKeyword, factory.createToken(86 /* ConstKeyword */));\n      changes.insertText(sourceFile, name.end, \" = \");\n      changes.insertText(sourceFile, body.pos, \" =>\");\n      return [Diagnostics.Convert_function_declaration_0_to_arrow_function, name.text];\n    }\n  }\n}\n\n// src/services/codefixes/fixImportNonExportedMember.ts\nvar fixId19 = \"fixImportNonExportedMember\";\nvar errorCodes22 = [\n  Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes22,\n  fixIds: [fixId19],\n  getCodeActions(context) {\n    const { sourceFile, span, program } = context;\n    const info = getInfo4(sourceFile, span.start, program);\n    if (info === void 0)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange7(t, program, info));\n    return [createCodeFixAction(fixId19, changes, [Diagnostics.Export_0_from_module_1, info.exportName.node.text, info.moduleSpecifier], fixId19, Diagnostics.Export_all_referenced_locals)];\n  },\n  getAllCodeActions(context) {\n    const { program } = context;\n    return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n      const exports = new Map2();\n      eachDiagnostic(context, errorCodes22, (diag2) => {\n        const info = getInfo4(diag2.file, diag2.start, program);\n        if (info === void 0)\n          return void 0;\n        const { exportName, node, moduleSourceFile } = info;\n        if (tryGetExportDeclaration(moduleSourceFile, exportName.isTypeOnly) === void 0 && canHaveExportModifier(node)) {\n          changes.insertExportModifier(moduleSourceFile, node);\n        } else {\n          const moduleExports = exports.get(moduleSourceFile) || { typeOnlyExports: [], exports: [] };\n          if (exportName.isTypeOnly) {\n            moduleExports.typeOnlyExports.push(exportName);\n          } else {\n            moduleExports.exports.push(exportName);\n          }\n          exports.set(moduleSourceFile, moduleExports);\n        }\n      });\n      exports.forEach((moduleExports, moduleSourceFile) => {\n        const exportDeclaration = tryGetExportDeclaration(moduleSourceFile, true);\n        if (exportDeclaration && exportDeclaration.isTypeOnly) {\n          doChanges(changes, program, moduleSourceFile, moduleExports.typeOnlyExports, exportDeclaration);\n          doChanges(changes, program, moduleSourceFile, moduleExports.exports, tryGetExportDeclaration(moduleSourceFile, false));\n        } else {\n          doChanges(changes, program, moduleSourceFile, [...moduleExports.exports, ...moduleExports.typeOnlyExports], exportDeclaration);\n        }\n      });\n    }));\n  }\n});\nfunction getInfo4(sourceFile, pos, program) {\n  var _a2;\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (isIdentifier(token)) {\n    const importDeclaration = findAncestor(token, isImportDeclaration);\n    if (importDeclaration === void 0)\n      return void 0;\n    const moduleSpecifier = isStringLiteral(importDeclaration.moduleSpecifier) ? importDeclaration.moduleSpecifier.text : void 0;\n    if (moduleSpecifier === void 0)\n      return void 0;\n    const resolvedModule = getResolvedModule(sourceFile, moduleSpecifier, void 0);\n    if (resolvedModule === void 0)\n      return void 0;\n    const moduleSourceFile = program.getSourceFile(resolvedModule.resolvedFileName);\n    if (moduleSourceFile === void 0 || isSourceFileFromLibrary(program, moduleSourceFile))\n      return void 0;\n    const moduleSymbol = moduleSourceFile.symbol;\n    const locals = (_a2 = moduleSymbol.valueDeclaration) == null ? void 0 : _a2.locals;\n    if (locals === void 0)\n      return void 0;\n    const localSymbol = locals.get(token.escapedText);\n    if (localSymbol === void 0)\n      return void 0;\n    const node = getNodeOfSymbol(localSymbol);\n    if (node === void 0)\n      return void 0;\n    const exportName = { node: token, isTypeOnly: isTypeDeclaration(node) };\n    return { exportName, node, moduleSourceFile, moduleSpecifier };\n  }\n  return void 0;\n}\nfunction doChange7(changes, program, { exportName, node, moduleSourceFile }) {\n  const exportDeclaration = tryGetExportDeclaration(moduleSourceFile, exportName.isTypeOnly);\n  if (exportDeclaration) {\n    updateExport(changes, program, moduleSourceFile, exportDeclaration, [exportName]);\n  } else if (canHaveExportModifier(node)) {\n    changes.insertExportModifier(moduleSourceFile, node);\n  } else {\n    createExport(changes, program, moduleSourceFile, [exportName]);\n  }\n}\nfunction doChanges(changes, program, sourceFile, moduleExports, node) {\n  if (length(moduleExports)) {\n    if (node) {\n      updateExport(changes, program, sourceFile, node, moduleExports);\n    } else {\n      createExport(changes, program, sourceFile, moduleExports);\n    }\n  }\n}\nfunction tryGetExportDeclaration(sourceFile, isTypeOnly) {\n  const predicate = (node) => isExportDeclaration(node) && (isTypeOnly && node.isTypeOnly || !node.isTypeOnly);\n  return findLast(sourceFile.statements, predicate);\n}\nfunction updateExport(changes, program, sourceFile, node, names) {\n  const namedExports = node.exportClause && isNamedExports(node.exportClause) ? node.exportClause.elements : factory.createNodeArray([]);\n  const allowTypeModifier = !node.isTypeOnly && !!(program.getCompilerOptions().isolatedModules || find(namedExports, (e) => e.isTypeOnly));\n  changes.replaceNode(\n    sourceFile,\n    node,\n    factory.updateExportDeclaration(\n      node,\n      node.modifiers,\n      node.isTypeOnly,\n      factory.createNamedExports(\n        factory.createNodeArray([...namedExports, ...createExportSpecifiers(names, allowTypeModifier)], namedExports.hasTrailingComma)\n      ),\n      node.moduleSpecifier,\n      node.assertClause\n    )\n  );\n}\nfunction createExport(changes, program, sourceFile, names) {\n  changes.insertNodeAtEndOfScope(\n    sourceFile,\n    sourceFile,\n    factory.createExportDeclaration(\n      void 0,\n      false,\n      factory.createNamedExports(createExportSpecifiers(names, !!program.getCompilerOptions().isolatedModules)),\n      void 0,\n      void 0\n    )\n  );\n}\nfunction createExportSpecifiers(names, allowTypeModifier) {\n  return factory.createNodeArray(map(names, (n) => factory.createExportSpecifier(allowTypeModifier && n.isTypeOnly, void 0, n.node)));\n}\nfunction getNodeOfSymbol(symbol) {\n  if (symbol.valueDeclaration === void 0) {\n    return firstOrUndefined(symbol.declarations);\n  }\n  const declaration = symbol.valueDeclaration;\n  const variableStatement = isVariableDeclaration(declaration) ? tryCast(declaration.parent.parent, isVariableStatement) : void 0;\n  return variableStatement && length(variableStatement.declarationList.declarations) === 1 ? variableStatement : declaration;\n}\n\n// src/services/codefixes/fixIncorrectNamedTupleSyntax.ts\nvar fixId20 = \"fixIncorrectNamedTupleSyntax\";\nvar errorCodes23 = [\n  Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,\n  Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes23,\n  getCodeActions: function getCodeActionsToFixIncorrectNamedTupleSyntax(context) {\n    const { sourceFile, span } = context;\n    const namedTupleMember = getNamedTupleMember(sourceFile, span.start);\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange8(t, sourceFile, namedTupleMember));\n    return [createCodeFixAction(fixId20, changes, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels, fixId20, Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)];\n  },\n  fixIds: [fixId20]\n});\nfunction getNamedTupleMember(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  return findAncestor(token, (t) => t.kind === 202 /* NamedTupleMember */);\n}\nfunction doChange8(changes, sourceFile, namedTupleMember) {\n  if (!namedTupleMember) {\n    return;\n  }\n  let unwrappedType = namedTupleMember.type;\n  let sawOptional = false;\n  let sawRest = false;\n  while (unwrappedType.kind === 190 /* OptionalType */ || unwrappedType.kind === 191 /* RestType */ || unwrappedType.kind === 196 /* ParenthesizedType */) {\n    if (unwrappedType.kind === 190 /* OptionalType */) {\n      sawOptional = true;\n    } else if (unwrappedType.kind === 191 /* RestType */) {\n      sawRest = true;\n    }\n    unwrappedType = unwrappedType.type;\n  }\n  const updated = factory.updateNamedTupleMember(\n    namedTupleMember,\n    namedTupleMember.dotDotDotToken || (sawRest ? factory.createToken(25 /* DotDotDotToken */) : void 0),\n    namedTupleMember.name,\n    namedTupleMember.questionToken || (sawOptional ? factory.createToken(57 /* QuestionToken */) : void 0),\n    unwrappedType\n  );\n  if (updated === namedTupleMember) {\n    return;\n  }\n  changes.replaceNode(sourceFile, namedTupleMember, updated);\n}\n\n// src/services/codefixes/fixSpelling.ts\nvar fixId21 = \"fixSpelling\";\nvar errorCodes24 = [\n  Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,\n  Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,\n  Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,\n  Diagnostics.Cannot_find_namespace_0_Did_you_mean_1.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,\n  Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,\n  Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,\n  Diagnostics.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,\n  Diagnostics.No_overload_matches_this_call.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes24,\n  getCodeActions(context) {\n    const { sourceFile, errorCode } = context;\n    const info = getInfo5(sourceFile, context.span.start, context, errorCode);\n    if (!info)\n      return void 0;\n    const { node, suggestedSymbol } = info;\n    const target = getEmitScriptTarget(context.host.getCompilationSettings());\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange9(t, sourceFile, node, suggestedSymbol, target));\n    return [createCodeFixAction(\"spelling\", changes, [Diagnostics.Change_spelling_to_0, symbolName(suggestedSymbol)], fixId21, Diagnostics.Fix_all_detected_spelling_errors)];\n  },\n  fixIds: [fixId21],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes24, (changes, diag2) => {\n    const info = getInfo5(diag2.file, diag2.start, context, diag2.code);\n    const target = getEmitScriptTarget(context.host.getCompilationSettings());\n    if (info)\n      doChange9(changes, context.sourceFile, info.node, info.suggestedSymbol, target);\n  })\n});\nfunction getInfo5(sourceFile, pos, context, errorCode) {\n  const node = getTokenAtPosition(sourceFile, pos);\n  const parent2 = node.parent;\n  if ((errorCode === Diagnostics.No_overload_matches_this_call.code || errorCode === Diagnostics.Type_0_is_not_assignable_to_type_1.code) && !isJsxAttribute(parent2))\n    return void 0;\n  const checker = context.program.getTypeChecker();\n  let suggestedSymbol;\n  if (isPropertyAccessExpression(parent2) && parent2.name === node) {\n    Debug.assert(isMemberName(node), \"Expected an identifier for spelling (property access)\");\n    let containingType = checker.getTypeAtLocation(parent2.expression);\n    if (parent2.flags & 32 /* OptionalChain */) {\n      containingType = checker.getNonNullableType(containingType);\n    }\n    suggestedSymbol = checker.getSuggestedSymbolForNonexistentProperty(node, containingType);\n  } else if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 102 /* InKeyword */ && parent2.left === node && isPrivateIdentifier(node)) {\n    const receiverType = checker.getTypeAtLocation(parent2.right);\n    suggestedSymbol = checker.getSuggestedSymbolForNonexistentProperty(node, receiverType);\n  } else if (isQualifiedName(parent2) && parent2.right === node) {\n    const symbol = checker.getSymbolAtLocation(parent2.left);\n    if (symbol && symbol.flags & 1536 /* Module */) {\n      suggestedSymbol = checker.getSuggestedSymbolForNonexistentModule(parent2.right, symbol);\n    }\n  } else if (isImportSpecifier(parent2) && parent2.name === node) {\n    Debug.assertNode(node, isIdentifier, \"Expected an identifier for spelling (import)\");\n    const importDeclaration = findAncestor(node, isImportDeclaration);\n    const resolvedSourceFile = getResolvedSourceFileFromImportDeclaration(sourceFile, context, importDeclaration);\n    if (resolvedSourceFile && resolvedSourceFile.symbol) {\n      suggestedSymbol = checker.getSuggestedSymbolForNonexistentModule(node, resolvedSourceFile.symbol);\n    }\n  } else if (isJsxAttribute(parent2) && parent2.name === node) {\n    Debug.assertNode(node, isIdentifier, \"Expected an identifier for JSX attribute\");\n    const tag = findAncestor(node, isJsxOpeningLikeElement);\n    const props = checker.getContextualTypeForArgumentAtIndex(tag, 0);\n    suggestedSymbol = checker.getSuggestedSymbolForNonexistentJSXAttribute(node, props);\n  } else if (hasSyntacticModifier(parent2, 16384 /* Override */) && isClassElement(parent2) && parent2.name === node) {\n    const baseDeclaration = findAncestor(node, isClassLike);\n    const baseTypeNode = baseDeclaration ? getEffectiveBaseTypeNode(baseDeclaration) : void 0;\n    const baseType = baseTypeNode ? checker.getTypeAtLocation(baseTypeNode) : void 0;\n    if (baseType) {\n      suggestedSymbol = checker.getSuggestedSymbolForNonexistentClassMember(getTextOfNode(node), baseType);\n    }\n  } else {\n    const meaning = getMeaningFromLocation(node);\n    const name = getTextOfNode(node);\n    Debug.assert(name !== void 0, \"name should be defined\");\n    suggestedSymbol = checker.getSuggestedSymbolForNonexistentSymbol(node, name, convertSemanticMeaningToSymbolFlags(meaning));\n  }\n  return suggestedSymbol === void 0 ? void 0 : { node, suggestedSymbol };\n}\nfunction doChange9(changes, sourceFile, node, suggestedSymbol, target) {\n  const suggestion = symbolName(suggestedSymbol);\n  if (!isIdentifierText(suggestion, target) && isPropertyAccessExpression(node.parent)) {\n    const valDecl = suggestedSymbol.valueDeclaration;\n    if (valDecl && isNamedDeclaration(valDecl) && isPrivateIdentifier(valDecl.name)) {\n      changes.replaceNode(sourceFile, node, factory.createIdentifier(suggestion));\n    } else {\n      changes.replaceNode(sourceFile, node.parent, factory.createElementAccessExpression(node.parent.expression, factory.createStringLiteral(suggestion)));\n    }\n  } else {\n    changes.replaceNode(sourceFile, node, factory.createIdentifier(suggestion));\n  }\n}\nfunction convertSemanticMeaningToSymbolFlags(meaning) {\n  let flags = 0;\n  if (meaning & 4 /* Namespace */) {\n    flags |= 1920 /* Namespace */;\n  }\n  if (meaning & 2 /* Type */) {\n    flags |= 788968 /* Type */;\n  }\n  if (meaning & 1 /* Value */) {\n    flags |= 111551 /* Value */;\n  }\n  return flags;\n}\nfunction getResolvedSourceFileFromImportDeclaration(sourceFile, context, importDeclaration) {\n  if (!importDeclaration || !isStringLiteralLike(importDeclaration.moduleSpecifier))\n    return void 0;\n  const resolvedModule = getResolvedModule(sourceFile, importDeclaration.moduleSpecifier.text, getModeForUsageLocation(sourceFile, importDeclaration.moduleSpecifier));\n  if (!resolvedModule)\n    return void 0;\n  return context.program.getSourceFile(resolvedModule.resolvedFileName);\n}\n\n// src/services/codefixes/returnValueCorrect.ts\nvar fixId22 = \"returnValueCorrect\";\nvar fixIdAddReturnStatement = \"fixAddReturnStatement\";\nvar fixRemoveBracesFromArrowFunctionBody = \"fixRemoveBracesFromArrowFunctionBody\";\nvar fixIdWrapTheBlockWithParen = \"fixWrapTheBlockWithParen\";\nvar errorCodes25 = [\n  Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,\n  Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n  Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code\n];\nvar ProblemKind = /* @__PURE__ */ ((ProblemKind2) => {\n  ProblemKind2[ProblemKind2[\"MissingReturnStatement\"] = 0] = \"MissingReturnStatement\";\n  ProblemKind2[ProblemKind2[\"MissingParentheses\"] = 1] = \"MissingParentheses\";\n  return ProblemKind2;\n})(ProblemKind || {});\nregisterCodeFix({\n  errorCodes: errorCodes25,\n  fixIds: [fixIdAddReturnStatement, fixRemoveBracesFromArrowFunctionBody, fixIdWrapTheBlockWithParen],\n  getCodeActions: function getCodeActionsToCorrectReturnValue(context) {\n    const { program, sourceFile, span: { start }, errorCode } = context;\n    const info = getInfo6(program.getTypeChecker(), sourceFile, start, errorCode);\n    if (!info)\n      return void 0;\n    if (info.kind === 0 /* MissingReturnStatement */) {\n      return append(\n        [getActionForfixAddReturnStatement(context, info.expression, info.statement)],\n        isArrowFunction(info.declaration) ? getActionForFixRemoveBracesFromArrowFunctionBody(context, info.declaration, info.expression, info.commentSource) : void 0\n      );\n    } else {\n      return [getActionForfixWrapTheBlockWithParen(context, info.declaration, info.expression)];\n    }\n  },\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes25, (changes, diag2) => {\n    const info = getInfo6(context.program.getTypeChecker(), diag2.file, diag2.start, diag2.code);\n    if (!info)\n      return void 0;\n    switch (context.fixId) {\n      case fixIdAddReturnStatement:\n        addReturnStatement(changes, diag2.file, info.expression, info.statement);\n        break;\n      case fixRemoveBracesFromArrowFunctionBody:\n        if (!isArrowFunction(info.declaration))\n          return void 0;\n        removeBlockBodyBrace(changes, diag2.file, info.declaration, info.expression, info.commentSource, false);\n        break;\n      case fixIdWrapTheBlockWithParen:\n        if (!isArrowFunction(info.declaration))\n          return void 0;\n        wrapBlockWithParen(changes, diag2.file, info.declaration, info.expression);\n        break;\n      default:\n        Debug.fail(JSON.stringify(context.fixId));\n    }\n  })\n});\nfunction createObjectTypeFromLabeledExpression(checker, label, expression) {\n  const member = checker.createSymbol(4 /* Property */, label.escapedText);\n  member.type = checker.getTypeAtLocation(expression);\n  const members = createSymbolTable([member]);\n  return checker.createAnonymousType(void 0, members, [], [], []);\n}\nfunction getFixInfo(checker, declaration, expectType, isFunctionType) {\n  if (!declaration.body || !isBlock(declaration.body) || length(declaration.body.statements) !== 1)\n    return void 0;\n  const firstStatement = first(declaration.body.statements);\n  if (isExpressionStatement(firstStatement) && checkFixedAssignableTo(checker, declaration, checker.getTypeAtLocation(firstStatement.expression), expectType, isFunctionType)) {\n    return {\n      declaration,\n      kind: 0 /* MissingReturnStatement */,\n      expression: firstStatement.expression,\n      statement: firstStatement,\n      commentSource: firstStatement.expression\n    };\n  } else if (isLabeledStatement(firstStatement) && isExpressionStatement(firstStatement.statement)) {\n    const node = factory.createObjectLiteralExpression([factory.createPropertyAssignment(firstStatement.label, firstStatement.statement.expression)]);\n    const nodeType = createObjectTypeFromLabeledExpression(checker, firstStatement.label, firstStatement.statement.expression);\n    if (checkFixedAssignableTo(checker, declaration, nodeType, expectType, isFunctionType)) {\n      return isArrowFunction(declaration) ? {\n        declaration,\n        kind: 1 /* MissingParentheses */,\n        expression: node,\n        statement: firstStatement,\n        commentSource: firstStatement.statement.expression\n      } : {\n        declaration,\n        kind: 0 /* MissingReturnStatement */,\n        expression: node,\n        statement: firstStatement,\n        commentSource: firstStatement.statement.expression\n      };\n    }\n  } else if (isBlock(firstStatement) && length(firstStatement.statements) === 1) {\n    const firstBlockStatement = first(firstStatement.statements);\n    if (isLabeledStatement(firstBlockStatement) && isExpressionStatement(firstBlockStatement.statement)) {\n      const node = factory.createObjectLiteralExpression([factory.createPropertyAssignment(firstBlockStatement.label, firstBlockStatement.statement.expression)]);\n      const nodeType = createObjectTypeFromLabeledExpression(checker, firstBlockStatement.label, firstBlockStatement.statement.expression);\n      if (checkFixedAssignableTo(checker, declaration, nodeType, expectType, isFunctionType)) {\n        return {\n          declaration,\n          kind: 0 /* MissingReturnStatement */,\n          expression: node,\n          statement: firstStatement,\n          commentSource: firstBlockStatement\n        };\n      }\n    }\n  }\n  return void 0;\n}\nfunction checkFixedAssignableTo(checker, declaration, exprType, type, isFunctionType) {\n  if (isFunctionType) {\n    const sig = checker.getSignatureFromDeclaration(declaration);\n    if (sig) {\n      if (hasSyntacticModifier(declaration, 512 /* Async */)) {\n        exprType = checker.createPromiseType(exprType);\n      }\n      const newSig = checker.createSignature(\n        declaration,\n        sig.typeParameters,\n        sig.thisParameter,\n        sig.parameters,\n        exprType,\n        void 0,\n        sig.minArgumentCount,\n        sig.flags\n      );\n      exprType = checker.createAnonymousType(\n        void 0,\n        createSymbolTable(),\n        [newSig],\n        [],\n        []\n      );\n    } else {\n      exprType = checker.getAnyType();\n    }\n  }\n  return checker.isTypeAssignableTo(exprType, type);\n}\nfunction getInfo6(checker, sourceFile, position, errorCode) {\n  const node = getTokenAtPosition(sourceFile, position);\n  if (!node.parent)\n    return void 0;\n  const declaration = findAncestor(node.parent, isFunctionLikeDeclaration);\n  switch (errorCode) {\n    case Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:\n      if (!declaration || !declaration.body || !declaration.type || !rangeContainsRange(declaration.type, node))\n        return void 0;\n      return getFixInfo(checker, declaration, checker.getTypeFromTypeNode(declaration.type), false);\n    case Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:\n      if (!declaration || !isCallExpression(declaration.parent) || !declaration.body)\n        return void 0;\n      const pos = declaration.parent.arguments.indexOf(declaration);\n      const type = checker.getContextualTypeForArgumentAtIndex(declaration.parent, pos);\n      if (!type)\n        return void 0;\n      return getFixInfo(checker, declaration, type, true);\n    case Diagnostics.Type_0_is_not_assignable_to_type_1.code:\n      if (!isDeclarationName(node) || !isVariableLike(node.parent) && !isJsxAttribute(node.parent))\n        return void 0;\n      const initializer = getVariableLikeInitializer(node.parent);\n      if (!initializer || !isFunctionLikeDeclaration(initializer) || !initializer.body)\n        return void 0;\n      return getFixInfo(checker, initializer, checker.getTypeAtLocation(node.parent), true);\n  }\n  return void 0;\n}\nfunction getVariableLikeInitializer(declaration) {\n  switch (declaration.kind) {\n    case 261 /* VariableDeclaration */:\n    case 168 /* Parameter */:\n    case 208 /* BindingElement */:\n    case 171 /* PropertyDeclaration */:\n    case 305 /* PropertyAssignment */:\n      return declaration.initializer;\n    case 294 /* JsxAttribute */:\n      return declaration.initializer && (isJsxExpression(declaration.initializer) ? declaration.initializer.expression : void 0);\n    case 306 /* ShorthandPropertyAssignment */:\n    case 170 /* PropertySignature */:\n    case 308 /* EnumMember */:\n    case 356 /* JSDocPropertyTag */:\n    case 349 /* JSDocParameterTag */:\n      return void 0;\n  }\n}\nfunction addReturnStatement(changes, sourceFile, expression, statement) {\n  suppressLeadingAndTrailingTrivia(expression);\n  const probablyNeedSemi = probablyUsesSemicolons(sourceFile);\n  changes.replaceNode(sourceFile, statement, factory.createReturnStatement(expression), {\n    leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n    trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude,\n    suffix: probablyNeedSemi ? \";\" : void 0\n  });\n}\nfunction removeBlockBodyBrace(changes, sourceFile, declaration, expression, commentSource, withParen) {\n  const newBody = withParen || needsParentheses(expression) ? factory.createParenthesizedExpression(expression) : expression;\n  suppressLeadingAndTrailingTrivia(commentSource);\n  copyComments(commentSource, newBody);\n  changes.replaceNode(sourceFile, declaration.body, newBody);\n}\nfunction wrapBlockWithParen(changes, sourceFile, declaration, expression) {\n  changes.replaceNode(sourceFile, declaration.body, factory.createParenthesizedExpression(expression));\n}\nfunction getActionForfixAddReturnStatement(context, expression, statement) {\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addReturnStatement(t, context.sourceFile, expression, statement));\n  return createCodeFixAction(fixId22, changes, Diagnostics.Add_a_return_statement, fixIdAddReturnStatement, Diagnostics.Add_all_missing_return_statement);\n}\nfunction getActionForFixRemoveBracesFromArrowFunctionBody(context, declaration, expression, commentSource) {\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => removeBlockBodyBrace(t, context.sourceFile, declaration, expression, commentSource, false));\n  return createCodeFixAction(fixId22, changes, Diagnostics.Remove_braces_from_arrow_function_body, fixRemoveBracesFromArrowFunctionBody, Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues);\n}\nfunction getActionForfixWrapTheBlockWithParen(context, declaration, expression) {\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => wrapBlockWithParen(t, context.sourceFile, declaration, expression));\n  return createCodeFixAction(fixId22, changes, Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal, fixIdWrapTheBlockWithParen, Diagnostics.Wrap_all_object_literal_with_parentheses);\n}\n\n// src/services/codefixes/fixAddMissingMember.ts\nvar fixMissingMember = \"fixMissingMember\";\nvar fixMissingProperties = \"fixMissingProperties\";\nvar fixMissingAttributes = \"fixMissingAttributes\";\nvar fixMissingFunctionDeclaration = \"fixMissingFunctionDeclaration\";\nvar errorCodes26 = [\n  Diagnostics.Property_0_does_not_exist_on_type_1.code,\n  Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,\n  Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,\n  Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,\n  Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,\n  Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n  Diagnostics.Cannot_find_name_0.code\n];\nvar InfoKind = /* @__PURE__ */ ((InfoKind2) => {\n  InfoKind2[InfoKind2[\"TypeLikeDeclaration\"] = 0] = \"TypeLikeDeclaration\";\n  InfoKind2[InfoKind2[\"Enum\"] = 1] = \"Enum\";\n  InfoKind2[InfoKind2[\"Function\"] = 2] = \"Function\";\n  InfoKind2[InfoKind2[\"ObjectLiteral\"] = 3] = \"ObjectLiteral\";\n  InfoKind2[InfoKind2[\"JsxAttributes\"] = 4] = \"JsxAttributes\";\n  InfoKind2[InfoKind2[\"Signature\"] = 5] = \"Signature\";\n  return InfoKind2;\n})(InfoKind || {});\nregisterCodeFix({\n  errorCodes: errorCodes26,\n  getCodeActions(context) {\n    const typeChecker3 = context.program.getTypeChecker();\n    const info = getInfo7(context.sourceFile, context.span.start, context.errorCode, typeChecker3, context.program);\n    if (!info) {\n      return void 0;\n    }\n    if (info.kind === 3 /* ObjectLiteral */) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addObjectLiteralProperties(t, context, info));\n      return [createCodeFixAction(fixMissingProperties, changes, Diagnostics.Add_missing_properties, fixMissingProperties, Diagnostics.Add_all_missing_properties)];\n    }\n    if (info.kind === 4 /* JsxAttributes */) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addJsxAttributes(t, context, info));\n      return [createCodeFixAction(fixMissingAttributes, changes, Diagnostics.Add_missing_attributes, fixMissingAttributes, Diagnostics.Add_all_missing_attributes)];\n    }\n    if (info.kind === 2 /* Function */ || info.kind === 5 /* Signature */) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addFunctionDeclaration(t, context, info));\n      return [createCodeFixAction(fixMissingFunctionDeclaration, changes, [Diagnostics.Add_missing_function_declaration_0, info.token.text], fixMissingFunctionDeclaration, Diagnostics.Add_all_missing_function_declarations)];\n    }\n    if (info.kind === 1 /* Enum */) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addEnumMemberDeclaration(t, context.program.getTypeChecker(), info));\n      return [createCodeFixAction(fixMissingMember, changes, [Diagnostics.Add_missing_enum_member_0, info.token.text], fixMissingMember, Diagnostics.Add_all_missing_members)];\n    }\n    return concatenate(getActionsForMissingMethodDeclaration(context, info), getActionsForMissingMemberDeclaration(context, info));\n  },\n  fixIds: [fixMissingMember, fixMissingFunctionDeclaration, fixMissingProperties, fixMissingAttributes],\n  getAllCodeActions: (context) => {\n    const { program, fixId: fixId52 } = context;\n    const checker = program.getTypeChecker();\n    const seen = new Map2();\n    const typeDeclToMembers = new Map2();\n    return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n      eachDiagnostic(context, errorCodes26, (diag2) => {\n        const info = getInfo7(diag2.file, diag2.start, diag2.code, checker, context.program);\n        if (!info || !addToSeen(seen, getNodeId(info.parentDeclaration) + \"#\" + info.token.text)) {\n          return;\n        }\n        if (fixId52 === fixMissingFunctionDeclaration && (info.kind === 2 /* Function */ || info.kind === 5 /* Signature */)) {\n          addFunctionDeclaration(changes, context, info);\n        } else if (fixId52 === fixMissingProperties && info.kind === 3 /* ObjectLiteral */) {\n          addObjectLiteralProperties(changes, context, info);\n        } else if (fixId52 === fixMissingAttributes && info.kind === 4 /* JsxAttributes */) {\n          addJsxAttributes(changes, context, info);\n        } else {\n          if (info.kind === 1 /* Enum */) {\n            addEnumMemberDeclaration(changes, checker, info);\n          }\n          if (info.kind === 0 /* TypeLikeDeclaration */) {\n            const { parentDeclaration, token } = info;\n            const infos = getOrUpdate(typeDeclToMembers, parentDeclaration, () => []);\n            if (!infos.some((i) => i.token.text === token.text)) {\n              infos.push(info);\n            }\n          }\n        }\n      });\n      typeDeclToMembers.forEach((infos, declaration) => {\n        const supers = isTypeLiteralNode(declaration) ? void 0 : getAllSupers(declaration, checker);\n        for (const info of infos) {\n          if (supers == null ? void 0 : supers.some((superClassOrInterface) => {\n            const superInfos = typeDeclToMembers.get(superClassOrInterface);\n            return !!superInfos && superInfos.some(({ token: token2 }) => token2.text === info.token.text);\n          }))\n            continue;\n          const { parentDeclaration, declSourceFile, modifierFlags, token, call, isJSFile } = info;\n          if (call && !isPrivateIdentifier(token)) {\n            addMethodDeclaration(context, changes, call, token, modifierFlags & 32 /* Static */, parentDeclaration, declSourceFile);\n          } else {\n            if (isJSFile && !isInterfaceDeclaration(parentDeclaration) && !isTypeLiteralNode(parentDeclaration)) {\n              addMissingMemberInJs(changes, declSourceFile, parentDeclaration, token, !!(modifierFlags & 32 /* Static */));\n            } else {\n              const typeNode = getTypeNode2(checker, parentDeclaration, token);\n              addPropertyDeclaration(changes, declSourceFile, parentDeclaration, token.text, typeNode, modifierFlags & 32 /* Static */);\n            }\n          }\n        }\n      });\n    }));\n  }\n});\nfunction getInfo7(sourceFile, tokenPos, errorCode, checker, program) {\n  const token = getTokenAtPosition(sourceFile, tokenPos);\n  const parent2 = token.parent;\n  if (errorCode === Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code) {\n    if (!(token.kind === 18 /* OpenBraceToken */ && isObjectLiteralExpression(parent2) && isCallExpression(parent2.parent)))\n      return void 0;\n    const argIndex = findIndex(parent2.parent.arguments, (arg) => arg === parent2);\n    if (argIndex < 0)\n      return void 0;\n    const signature = checker.getResolvedSignature(parent2.parent);\n    if (!(signature && signature.declaration && signature.parameters[argIndex]))\n      return void 0;\n    const param = signature.parameters[argIndex].valueDeclaration;\n    if (!(param && isParameter(param) && isIdentifier(param.name)))\n      return void 0;\n    const properties = arrayFrom(checker.getUnmatchedProperties(checker.getTypeAtLocation(parent2), checker.getParameterType(signature, argIndex), false, false));\n    if (!length(properties))\n      return void 0;\n    return { kind: 3 /* ObjectLiteral */, token: param.name, properties, parentDeclaration: parent2 };\n  }\n  if (!isMemberName(token))\n    return void 0;\n  if (isIdentifier(token) && hasInitializer(parent2) && parent2.initializer && isObjectLiteralExpression(parent2.initializer)) {\n    const properties = arrayFrom(checker.getUnmatchedProperties(checker.getTypeAtLocation(parent2.initializer), checker.getTypeAtLocation(token), false, false));\n    if (!length(properties))\n      return void 0;\n    return { kind: 3 /* ObjectLiteral */, token, properties, parentDeclaration: parent2.initializer };\n  }\n  if (isIdentifier(token) && isJsxOpeningLikeElement(token.parent)) {\n    const target = getEmitScriptTarget(program.getCompilerOptions());\n    const attributes = getUnmatchedAttributes(checker, target, token.parent);\n    if (!length(attributes))\n      return void 0;\n    return { kind: 4 /* JsxAttributes */, token, attributes, parentDeclaration: token.parent };\n  }\n  if (isIdentifier(token)) {\n    const type = checker.getContextualType(token);\n    if (type && getObjectFlags(type) & 16 /* Anonymous */) {\n      const signature = firstOrUndefined(checker.getSignaturesOfType(type, 0 /* Call */));\n      if (signature === void 0)\n        return void 0;\n      return { kind: 5 /* Signature */, token, signature, sourceFile, parentDeclaration: findScope(token) };\n    }\n    if (isCallExpression(parent2) && parent2.expression === token) {\n      return { kind: 2 /* Function */, token, call: parent2, sourceFile, modifierFlags: 0 /* None */, parentDeclaration: findScope(token) };\n    }\n  }\n  if (!isPropertyAccessExpression(parent2))\n    return void 0;\n  const leftExpressionType = skipConstraint(checker.getTypeAtLocation(parent2.expression));\n  const symbol = leftExpressionType.symbol;\n  if (!symbol || !symbol.declarations)\n    return void 0;\n  if (isIdentifier(token) && isCallExpression(parent2.parent)) {\n    const moduleDeclaration = find(symbol.declarations, isModuleDeclaration);\n    const moduleDeclarationSourceFile = moduleDeclaration == null ? void 0 : moduleDeclaration.getSourceFile();\n    if (moduleDeclaration && moduleDeclarationSourceFile && !isSourceFileFromLibrary(program, moduleDeclarationSourceFile)) {\n      return { kind: 2 /* Function */, token, call: parent2.parent, sourceFile, modifierFlags: 1 /* Export */, parentDeclaration: moduleDeclaration };\n    }\n    const moduleSourceFile = find(symbol.declarations, isSourceFile);\n    if (sourceFile.commonJsModuleIndicator)\n      return void 0;\n    if (moduleSourceFile && !isSourceFileFromLibrary(program, moduleSourceFile)) {\n      return { kind: 2 /* Function */, token, call: parent2.parent, sourceFile: moduleSourceFile, modifierFlags: 1 /* Export */, parentDeclaration: moduleSourceFile };\n    }\n  }\n  const classDeclaration = find(symbol.declarations, isClassLike);\n  if (!classDeclaration && isPrivateIdentifier(token))\n    return void 0;\n  const declaration = classDeclaration || find(symbol.declarations, (d) => isInterfaceDeclaration(d) || isTypeLiteralNode(d));\n  if (declaration && !isSourceFileFromLibrary(program, declaration.getSourceFile())) {\n    const makeStatic = !isTypeLiteralNode(declaration) && (leftExpressionType.target || leftExpressionType) !== checker.getDeclaredTypeOfSymbol(symbol);\n    if (makeStatic && (isPrivateIdentifier(token) || isInterfaceDeclaration(declaration)))\n      return void 0;\n    const declSourceFile = declaration.getSourceFile();\n    const modifierFlags = isTypeLiteralNode(declaration) ? 0 /* None */ : (makeStatic ? 32 /* Static */ : 0 /* None */) | (startsWithUnderscore(token.text) ? 8 /* Private */ : 0 /* None */);\n    const isJSFile = isSourceFileJS(declSourceFile);\n    const call = tryCast(parent2.parent, isCallExpression);\n    return { kind: 0 /* TypeLikeDeclaration */, token, call, modifierFlags, parentDeclaration: declaration, declSourceFile, isJSFile };\n  }\n  const enumDeclaration = find(symbol.declarations, isEnumDeclaration);\n  if (enumDeclaration && !(leftExpressionType.flags & 1056 /* EnumLike */) && !isPrivateIdentifier(token) && !isSourceFileFromLibrary(program, enumDeclaration.getSourceFile())) {\n    return { kind: 1 /* Enum */, token, parentDeclaration: enumDeclaration };\n  }\n  return void 0;\n}\nfunction getActionsForMissingMemberDeclaration(context, info) {\n  return info.isJSFile ? singleElementArray(createActionForAddMissingMemberInJavascriptFile(context, info)) : createActionsForAddMissingMemberInTypeScriptFile(context, info);\n}\nfunction createActionForAddMissingMemberInJavascriptFile(context, { parentDeclaration, declSourceFile, modifierFlags, token }) {\n  if (isInterfaceDeclaration(parentDeclaration) || isTypeLiteralNode(parentDeclaration)) {\n    return void 0;\n  }\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingMemberInJs(t, declSourceFile, parentDeclaration, token, !!(modifierFlags & 32 /* Static */)));\n  if (changes.length === 0) {\n    return void 0;\n  }\n  const diagnostic = modifierFlags & 32 /* Static */ ? Diagnostics.Initialize_static_property_0 : isPrivateIdentifier(token) ? Diagnostics.Declare_a_private_field_named_0 : Diagnostics.Initialize_property_0_in_the_constructor;\n  return createCodeFixAction(fixMissingMember, changes, [diagnostic, token.text], fixMissingMember, Diagnostics.Add_all_missing_members);\n}\nfunction addMissingMemberInJs(changeTracker, sourceFile, classDeclaration, token, makeStatic) {\n  const tokenName = token.text;\n  if (makeStatic) {\n    if (classDeclaration.kind === 232 /* ClassExpression */) {\n      return;\n    }\n    const className = classDeclaration.name.getText();\n    const staticInitialization = initializePropertyToUndefined(factory.createIdentifier(className), tokenName);\n    changeTracker.insertNodeAfter(sourceFile, classDeclaration, staticInitialization);\n  } else if (isPrivateIdentifier(token)) {\n    const property = factory.createPropertyDeclaration(\n      void 0,\n      tokenName,\n      void 0,\n      void 0,\n      void 0\n    );\n    const lastProp = getNodeToInsertPropertyAfter(classDeclaration);\n    if (lastProp) {\n      changeTracker.insertNodeAfter(sourceFile, lastProp, property);\n    } else {\n      changeTracker.insertMemberAtStart(sourceFile, classDeclaration, property);\n    }\n  } else {\n    const classConstructor = getFirstConstructorWithBody(classDeclaration);\n    if (!classConstructor) {\n      return;\n    }\n    const propertyInitialization = initializePropertyToUndefined(factory.createThis(), tokenName);\n    changeTracker.insertNodeAtConstructorEnd(sourceFile, classConstructor, propertyInitialization);\n  }\n}\nfunction initializePropertyToUndefined(obj, propertyName) {\n  return factory.createExpressionStatement(factory.createAssignment(factory.createPropertyAccessExpression(obj, propertyName), createUndefined()));\n}\nfunction createActionsForAddMissingMemberInTypeScriptFile(context, { parentDeclaration, declSourceFile, modifierFlags, token }) {\n  const memberName = token.text;\n  const isStatic2 = modifierFlags & 32 /* Static */;\n  const typeNode = getTypeNode2(context.program.getTypeChecker(), parentDeclaration, token);\n  const addPropertyDeclarationChanges = (modifierFlags2) => ts_textChanges_exports.ChangeTracker.with(context, (t) => addPropertyDeclaration(t, declSourceFile, parentDeclaration, memberName, typeNode, modifierFlags2));\n  const actions2 = [createCodeFixAction(fixMissingMember, addPropertyDeclarationChanges(modifierFlags & 32 /* Static */), [isStatic2 ? Diagnostics.Declare_static_property_0 : Diagnostics.Declare_property_0, memberName], fixMissingMember, Diagnostics.Add_all_missing_members)];\n  if (isStatic2 || isPrivateIdentifier(token)) {\n    return actions2;\n  }\n  if (modifierFlags & 8 /* Private */) {\n    actions2.unshift(createCodeFixActionWithoutFixAll(fixMissingMember, addPropertyDeclarationChanges(8 /* Private */), [Diagnostics.Declare_private_property_0, memberName]));\n  }\n  actions2.push(createAddIndexSignatureAction(context, declSourceFile, parentDeclaration, token.text, typeNode));\n  return actions2;\n}\nfunction getTypeNode2(checker, node, token) {\n  let typeNode;\n  if (token.parent.parent.kind === 227 /* BinaryExpression */) {\n    const binaryExpression = token.parent.parent;\n    const otherExpression = token.parent === binaryExpression.left ? binaryExpression.right : binaryExpression.left;\n    const widenedType = checker.getWidenedType(checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(otherExpression)));\n    typeNode = checker.typeToTypeNode(widenedType, node, 1 /* NoTruncation */);\n  } else {\n    const contextualType = checker.getContextualType(token.parent);\n    typeNode = contextualType ? checker.typeToTypeNode(contextualType, void 0, 1 /* NoTruncation */) : void 0;\n  }\n  return typeNode || factory.createKeywordTypeNode(132 /* AnyKeyword */);\n}\nfunction addPropertyDeclaration(changeTracker, sourceFile, node, tokenName, typeNode, modifierFlags) {\n  const modifiers = modifierFlags ? factory.createNodeArray(factory.createModifiersFromModifierFlags(modifierFlags)) : void 0;\n  const property = isClassLike(node) ? factory.createPropertyDeclaration(modifiers, tokenName, void 0, typeNode, void 0) : factory.createPropertySignature(void 0, tokenName, void 0, typeNode);\n  const lastProp = getNodeToInsertPropertyAfter(node);\n  if (lastProp) {\n    changeTracker.insertNodeAfter(sourceFile, lastProp, property);\n  } else {\n    changeTracker.insertMemberAtStart(sourceFile, node, property);\n  }\n}\nfunction getNodeToInsertPropertyAfter(node) {\n  let res;\n  for (const member of node.members) {\n    if (!isPropertyDeclaration(member))\n      break;\n    res = member;\n  }\n  return res;\n}\nfunction createAddIndexSignatureAction(context, sourceFile, node, tokenName, typeNode) {\n  const stringTypeNode = factory.createKeywordTypeNode(153 /* StringKeyword */);\n  const indexingParameter = factory.createParameterDeclaration(\n    void 0,\n    void 0,\n    \"x\",\n    void 0,\n    stringTypeNode,\n    void 0\n  );\n  const indexSignature = factory.createIndexSignature(\n    void 0,\n    [indexingParameter],\n    typeNode\n  );\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.insertMemberAtStart(sourceFile, node, indexSignature));\n  return createCodeFixActionWithoutFixAll(fixMissingMember, changes, [Diagnostics.Add_index_signature_for_property_0, tokenName]);\n}\nfunction getActionsForMissingMethodDeclaration(context, info) {\n  const { parentDeclaration, declSourceFile, modifierFlags, token, call } = info;\n  if (call === void 0) {\n    return void 0;\n  }\n  if (isPrivateIdentifier(token)) {\n    return void 0;\n  }\n  const methodName = token.text;\n  const addMethodDeclarationChanges = (modifierFlags2) => ts_textChanges_exports.ChangeTracker.with(context, (t) => addMethodDeclaration(context, t, call, token, modifierFlags2, parentDeclaration, declSourceFile));\n  const actions2 = [createCodeFixAction(fixMissingMember, addMethodDeclarationChanges(modifierFlags & 32 /* Static */), [modifierFlags & 32 /* Static */ ? Diagnostics.Declare_static_method_0 : Diagnostics.Declare_method_0, methodName], fixMissingMember, Diagnostics.Add_all_missing_members)];\n  if (modifierFlags & 8 /* Private */) {\n    actions2.unshift(createCodeFixActionWithoutFixAll(fixMissingMember, addMethodDeclarationChanges(8 /* Private */), [Diagnostics.Declare_private_method_0, methodName]));\n  }\n  return actions2;\n}\nfunction addMethodDeclaration(context, changes, callExpression, name, modifierFlags, parentDeclaration, sourceFile) {\n  const importAdder = createImportAdder(sourceFile, context.program, context.preferences, context.host);\n  const kind = isClassLike(parentDeclaration) ? 174 /* MethodDeclaration */ : 173 /* MethodSignature */;\n  const signatureDeclaration = createSignatureDeclarationFromCallExpression(kind, context, importAdder, callExpression, name, modifierFlags, parentDeclaration);\n  const containingMethodDeclaration = tryGetContainingMethodDeclaration(parentDeclaration, callExpression);\n  if (containingMethodDeclaration) {\n    changes.insertNodeAfter(sourceFile, containingMethodDeclaration, signatureDeclaration);\n  } else {\n    changes.insertMemberAtStart(sourceFile, parentDeclaration, signatureDeclaration);\n  }\n  importAdder.writeFixes(changes);\n}\nfunction addEnumMemberDeclaration(changes, checker, { token, parentDeclaration }) {\n  const hasStringInitializer = some(parentDeclaration.members, (member) => {\n    const type = checker.getTypeAtLocation(member);\n    return !!(type && type.flags & 402653316 /* StringLike */);\n  });\n  const enumMember = factory.createEnumMember(token, hasStringInitializer ? factory.createStringLiteral(token.text) : void 0);\n  changes.replaceNode(parentDeclaration.getSourceFile(), parentDeclaration, factory.updateEnumDeclaration(\n    parentDeclaration,\n    parentDeclaration.modifiers,\n    parentDeclaration.name,\n    concatenate(parentDeclaration.members, singleElementArray(enumMember))\n  ), {\n    leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll,\n    trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude\n  });\n}\nfunction addFunctionDeclaration(changes, context, info) {\n  const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n  const importAdder = createImportAdder(context.sourceFile, context.program, context.preferences, context.host);\n  const functionDeclaration = info.kind === 2 /* Function */ ? createSignatureDeclarationFromCallExpression(263 /* FunctionDeclaration */, context, importAdder, info.call, idText(info.token), info.modifierFlags, info.parentDeclaration) : createSignatureDeclarationFromSignature(263 /* FunctionDeclaration */, context, quotePreference, info.signature, createStubbedBody(Diagnostics.Function_not_implemented.message, quotePreference), info.token, void 0, void 0, void 0, importAdder);\n  if (functionDeclaration === void 0) {\n    Debug.fail(\"fixMissingFunctionDeclaration codefix got unexpected error.\");\n  }\n  isReturnStatement(info.parentDeclaration) ? changes.insertNodeBefore(info.sourceFile, info.parentDeclaration, functionDeclaration, true) : changes.insertNodeAtEndOfScope(info.sourceFile, info.parentDeclaration, functionDeclaration);\n  importAdder.writeFixes(changes);\n}\nfunction addJsxAttributes(changes, context, info) {\n  const importAdder = createImportAdder(context.sourceFile, context.program, context.preferences, context.host);\n  const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n  const checker = context.program.getTypeChecker();\n  const jsxAttributesNode = info.parentDeclaration.attributes;\n  const hasSpreadAttribute = some(jsxAttributesNode.properties, isJsxSpreadAttribute);\n  const attrs = map(info.attributes, (attr) => {\n    const value = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(attr), info.parentDeclaration);\n    const name = factory.createIdentifier(attr.name);\n    const jsxAttribute = factory.createJsxAttribute(name, factory.createJsxExpression(void 0, value));\n    setParent(name, jsxAttribute);\n    return jsxAttribute;\n  });\n  const jsxAttributes = factory.createJsxAttributes(hasSpreadAttribute ? [...attrs, ...jsxAttributesNode.properties] : [...jsxAttributesNode.properties, ...attrs]);\n  const options = { prefix: jsxAttributesNode.pos === jsxAttributesNode.end ? \" \" : void 0 };\n  changes.replaceNode(context.sourceFile, jsxAttributesNode, jsxAttributes, options);\n  importAdder.writeFixes(changes);\n}\nfunction addObjectLiteralProperties(changes, context, info) {\n  const importAdder = createImportAdder(context.sourceFile, context.program, context.preferences, context.host);\n  const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n  const target = getEmitScriptTarget(context.program.getCompilerOptions());\n  const checker = context.program.getTypeChecker();\n  const props = map(info.properties, (prop) => {\n    const initializer = tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeOfSymbol(prop), info.parentDeclaration);\n    return factory.createPropertyAssignment(createPropertyNameFromSymbol(prop, target, quotePreference, checker), initializer);\n  });\n  const options = {\n    leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n    trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Exclude,\n    indentation: info.indentation\n  };\n  changes.replaceNode(context.sourceFile, info.parentDeclaration, factory.createObjectLiteralExpression([...info.parentDeclaration.properties, ...props], true), options);\n  importAdder.writeFixes(changes);\n}\nfunction tryGetValueFromType(context, checker, importAdder, quotePreference, type, enclosingDeclaration) {\n  if (type.flags & 3 /* AnyOrUnknown */) {\n    return createUndefined();\n  }\n  if (type.flags & (4 /* String */ | 134217728 /* TemplateLiteral */)) {\n    return factory.createStringLiteral(\"\", quotePreference === 0 /* Single */);\n  }\n  if (type.flags & 8 /* Number */) {\n    return factory.createNumericLiteral(0);\n  }\n  if (type.flags & 64 /* BigInt */) {\n    return factory.createBigIntLiteral(\"0n\");\n  }\n  if (type.flags & 16 /* Boolean */) {\n    return factory.createFalse();\n  }\n  if (type.flags & 1056 /* EnumLike */) {\n    const enumMember = type.symbol.exports ? firstOrUndefined(arrayFrom(type.symbol.exports.values())) : type.symbol;\n    const name = checker.symbolToExpression(type.symbol.parent ? type.symbol.parent : type.symbol, 111551 /* Value */, void 0, void 0);\n    return enumMember === void 0 || name === void 0 ? factory.createNumericLiteral(0) : factory.createPropertyAccessExpression(name, checker.symbolToString(enumMember));\n  }\n  if (type.flags & 256 /* NumberLiteral */) {\n    return factory.createNumericLiteral(type.value);\n  }\n  if (type.flags & 2048 /* BigIntLiteral */) {\n    return factory.createBigIntLiteral(type.value);\n  }\n  if (type.flags & 128 /* StringLiteral */) {\n    return factory.createStringLiteral(type.value, quotePreference === 0 /* Single */);\n  }\n  if (type.flags & 512 /* BooleanLiteral */) {\n    return type === checker.getFalseType() || type === checker.getFalseType(true) ? factory.createFalse() : factory.createTrue();\n  }\n  if (type.flags & 65536 /* Null */) {\n    return factory.createNull();\n  }\n  if (type.flags & 1048576 /* Union */) {\n    const expression = firstDefined(type.types, (t) => tryGetValueFromType(context, checker, importAdder, quotePreference, t, enclosingDeclaration));\n    return expression != null ? expression : createUndefined();\n  }\n  if (checker.isArrayLikeType(type)) {\n    return factory.createArrayLiteralExpression();\n  }\n  if (isObjectLiteralType(type)) {\n    const props = map(checker.getPropertiesOfType(type), (prop) => {\n      const initializer = prop.valueDeclaration ? tryGetValueFromType(context, checker, importAdder, quotePreference, checker.getTypeAtLocation(prop.valueDeclaration), enclosingDeclaration) : createUndefined();\n      return factory.createPropertyAssignment(prop.name, initializer);\n    });\n    return factory.createObjectLiteralExpression(props, true);\n  }\n  if (getObjectFlags(type) & 16 /* Anonymous */) {\n    const decl = find(type.symbol.declarations || emptyArray, or(isFunctionTypeNode, isMethodSignature, isMethodDeclaration));\n    if (decl === void 0)\n      return createUndefined();\n    const signature = checker.getSignaturesOfType(type, 0 /* Call */);\n    if (signature === void 0)\n      return createUndefined();\n    const func = createSignatureDeclarationFromSignature(\n      218 /* FunctionExpression */,\n      context,\n      quotePreference,\n      signature[0],\n      createStubbedBody(Diagnostics.Function_not_implemented.message, quotePreference),\n      void 0,\n      void 0,\n      void 0,\n      enclosingDeclaration,\n      importAdder\n    );\n    return func != null ? func : createUndefined();\n  }\n  if (getObjectFlags(type) & 1 /* Class */) {\n    const classDeclaration = getClassLikeDeclarationOfSymbol(type.symbol);\n    if (classDeclaration === void 0 || hasAbstractModifier(classDeclaration))\n      return createUndefined();\n    const constructorDeclaration = getFirstConstructorWithBody(classDeclaration);\n    if (constructorDeclaration && length(constructorDeclaration.parameters))\n      return createUndefined();\n    return factory.createNewExpression(factory.createIdentifier(type.symbol.name), void 0, void 0);\n  }\n  return createUndefined();\n}\nfunction createUndefined() {\n  return factory.createIdentifier(\"undefined\");\n}\nfunction isObjectLiteralType(type) {\n  return type.flags & 524288 /* Object */ && (getObjectFlags(type) & 128 /* ObjectLiteral */ || type.symbol && tryCast(singleOrUndefined(type.symbol.declarations), isTypeLiteralNode));\n}\nfunction getUnmatchedAttributes(checker, target, source) {\n  const attrsType = checker.getContextualType(source.attributes);\n  if (attrsType === void 0)\n    return emptyArray;\n  const targetProps = attrsType.getProperties();\n  if (!length(targetProps))\n    return emptyArray;\n  const seenNames = new Set2();\n  for (const sourceProp of source.attributes.properties) {\n    if (isJsxAttribute(sourceProp)) {\n      seenNames.add(sourceProp.name.escapedText);\n    }\n    if (isJsxSpreadAttribute(sourceProp)) {\n      const type = checker.getTypeAtLocation(sourceProp.expression);\n      for (const prop of type.getProperties()) {\n        seenNames.add(prop.escapedName);\n      }\n    }\n  }\n  return filter(targetProps, (targetProp) => isIdentifierText(targetProp.name, target, 1 /* JSX */) && !(targetProp.flags & 16777216 /* Optional */ || getCheckFlags(targetProp) & 48 /* Partial */ || seenNames.has(targetProp.escapedName)));\n}\nfunction tryGetContainingMethodDeclaration(node, callExpression) {\n  if (isTypeLiteralNode(node)) {\n    return void 0;\n  }\n  const declaration = findAncestor(callExpression, (n) => isMethodDeclaration(n) || isConstructorDeclaration(n));\n  return declaration && declaration.parent === node ? declaration : void 0;\n}\nfunction createPropertyNameFromSymbol(symbol, target, quotePreference, checker) {\n  if (isTransientSymbol(symbol)) {\n    const prop = checker.symbolToNode(symbol, 111551 /* Value */, void 0, 1073741824 /* WriteComputedProps */);\n    if (prop && isComputedPropertyName(prop))\n      return prop;\n  }\n  return createPropertyNameNodeForIdentifierOrLiteral(symbol.name, target, quotePreference === 0 /* Single */);\n}\nfunction findScope(node) {\n  if (findAncestor(node, isJsxExpression)) {\n    const returnStatement = findAncestor(node.parent, isReturnStatement);\n    if (returnStatement)\n      return returnStatement;\n  }\n  return getSourceFileOfNode(node);\n}\n\n// src/services/codefixes/fixAddMissingNewOperator.ts\nvar fixId23 = \"addMissingNewOperator\";\nvar errorCodes27 = [Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code];\nregisterCodeFix({\n  errorCodes: errorCodes27,\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingNewOperator(t, sourceFile, span));\n    return [createCodeFixAction(fixId23, changes, Diagnostics.Add_missing_new_operator_to_call, fixId23, Diagnostics.Add_missing_new_operator_to_all_calls)];\n  },\n  fixIds: [fixId23],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes27, (changes, diag2) => addMissingNewOperator(changes, context.sourceFile, diag2))\n});\nfunction addMissingNewOperator(changes, sourceFile, span) {\n  const call = cast(findAncestorMatchingSpan2(sourceFile, span), isCallExpression);\n  const newExpression = factory.createNewExpression(call.expression, call.typeArguments, call.arguments);\n  changes.replaceNode(sourceFile, call, newExpression);\n}\nfunction findAncestorMatchingSpan2(sourceFile, span) {\n  let token = getTokenAtPosition(sourceFile, span.start);\n  const end = textSpanEnd(span);\n  while (token.end < end) {\n    token = token.parent;\n  }\n  return token;\n}\n\n// src/services/codefixes/fixCannotFindModule.ts\nvar fixName2 = \"fixCannotFindModule\";\nvar fixIdInstallTypesPackage = \"installTypesPackage\";\nvar errorCodeCannotFindModule = Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations.code;\nvar errorCodes28 = [\n  errorCodeCannotFindModule,\n  Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes28,\n  getCodeActions: function getCodeActionsToFixNotFoundModule(context) {\n    const { host, sourceFile, span: { start } } = context;\n    const packageName = tryGetImportedPackageName(sourceFile, start);\n    if (packageName === void 0)\n      return void 0;\n    const typesPackageName = getTypesPackageNameToInstall(packageName, host, context.errorCode);\n    return typesPackageName === void 0 ? [] : [createCodeFixAction(fixName2, [], [Diagnostics.Install_0, typesPackageName], fixIdInstallTypesPackage, Diagnostics.Install_all_missing_types_packages, getInstallCommand(sourceFile.fileName, typesPackageName))];\n  },\n  fixIds: [fixIdInstallTypesPackage],\n  getAllCodeActions: (context) => {\n    return codeFixAll(context, errorCodes28, (_changes, diag2, commands) => {\n      const packageName = tryGetImportedPackageName(diag2.file, diag2.start);\n      if (packageName === void 0)\n        return void 0;\n      switch (context.fixId) {\n        case fixIdInstallTypesPackage: {\n          const pkg = getTypesPackageNameToInstall(packageName, context.host, diag2.code);\n          if (pkg) {\n            commands.push(getInstallCommand(diag2.file.fileName, pkg));\n          }\n          break;\n        }\n        default:\n          Debug.fail(`Bad fixId: ${context.fixId}`);\n      }\n    });\n  }\n});\nfunction getInstallCommand(fileName, packageName) {\n  return { type: \"install package\", file: fileName, packageName };\n}\nfunction tryGetImportedPackageName(sourceFile, pos) {\n  const moduleSpecifierText = tryCast(getTokenAtPosition(sourceFile, pos), isStringLiteral);\n  if (!moduleSpecifierText)\n    return void 0;\n  const moduleName = moduleSpecifierText.text;\n  const { packageName } = parsePackageName(moduleName);\n  return isExternalModuleNameRelative(packageName) ? void 0 : packageName;\n}\nfunction getTypesPackageNameToInstall(packageName, host, diagCode) {\n  var _a2;\n  return diagCode === errorCodeCannotFindModule ? ts_JsTyping_exports.nodeCoreModules.has(packageName) ? \"@types/node\" : void 0 : ((_a2 = host.isKnownTypesPackageName) == null ? void 0 : _a2.call(host, packageName)) ? getTypesPackageName(packageName) : void 0;\n}\n\n// src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts\nvar errorCodes29 = [\n  Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,\n  Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code\n];\nvar fixId24 = \"fixClassDoesntImplementInheritedAbstractMember\";\nregisterCodeFix({\n  errorCodes: errorCodes29,\n  getCodeActions: function getCodeActionsToFixClassNotImplementingInheritedMembers(context) {\n    const { sourceFile, span } = context;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addMissingMembers(getClass2(sourceFile, span.start), sourceFile, context, t, context.preferences));\n    return changes.length === 0 ? void 0 : [createCodeFixAction(fixId24, changes, Diagnostics.Implement_inherited_abstract_class, fixId24, Diagnostics.Implement_all_inherited_abstract_classes)];\n  },\n  fixIds: [fixId24],\n  getAllCodeActions: function getAllCodeActionsToFixClassDoesntImplementInheritedAbstractMember(context) {\n    const seenClassDeclarations = new Map2();\n    return codeFixAll(context, errorCodes29, (changes, diag2) => {\n      const classDeclaration = getClass2(diag2.file, diag2.start);\n      if (addToSeen(seenClassDeclarations, getNodeId(classDeclaration))) {\n        addMissingMembers(classDeclaration, context.sourceFile, context, changes, context.preferences);\n      }\n    });\n  }\n});\nfunction getClass2(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  return cast(token.parent, isClassLike);\n}\nfunction addMissingMembers(classDeclaration, sourceFile, context, changeTracker, preferences) {\n  const extendsNode = getEffectiveBaseTypeNode(classDeclaration);\n  const checker = context.program.getTypeChecker();\n  const instantiatedExtendsType = checker.getTypeAtLocation(extendsNode);\n  const abstractAndNonPrivateExtendsSymbols = checker.getPropertiesOfType(instantiatedExtendsType).filter(symbolPointsToNonPrivateAndAbstractMember);\n  const importAdder = createImportAdder(sourceFile, context.program, preferences, context.host);\n  createMissingMemberNodes(classDeclaration, abstractAndNonPrivateExtendsSymbols, sourceFile, context, preferences, importAdder, (member) => changeTracker.insertMemberAtStart(sourceFile, classDeclaration, member));\n  importAdder.writeFixes(changeTracker);\n}\nfunction symbolPointsToNonPrivateAndAbstractMember(symbol) {\n  const flags = getSyntacticModifierFlags(first(symbol.getDeclarations()));\n  return !(flags & 8 /* Private */) && !!(flags & 256 /* Abstract */);\n}\n\n// src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts\nvar fixId25 = \"classSuperMustPrecedeThisAccess\";\nvar errorCodes30 = [Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code];\nregisterCodeFix({\n  errorCodes: errorCodes30,\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const nodes = getNodes(sourceFile, span.start);\n    if (!nodes)\n      return void 0;\n    const { constructor, superCall } = nodes;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange10(t, sourceFile, constructor, superCall));\n    return [createCodeFixAction(fixId25, changes, Diagnostics.Make_super_call_the_first_statement_in_the_constructor, fixId25, Diagnostics.Make_all_super_calls_the_first_statement_in_their_constructor)];\n  },\n  fixIds: [fixId25],\n  getAllCodeActions(context) {\n    const { sourceFile } = context;\n    const seenClasses = new Map2();\n    return codeFixAll(context, errorCodes30, (changes, diag2) => {\n      const nodes = getNodes(diag2.file, diag2.start);\n      if (!nodes)\n        return;\n      const { constructor, superCall } = nodes;\n      if (addToSeen(seenClasses, getNodeId(constructor.parent))) {\n        doChange10(changes, sourceFile, constructor, superCall);\n      }\n    });\n  }\n});\nfunction doChange10(changes, sourceFile, constructor, superCall) {\n  changes.insertNodeAtConstructorStart(sourceFile, constructor, superCall);\n  changes.delete(sourceFile, superCall);\n}\nfunction getNodes(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (token.kind !== 109 /* ThisKeyword */)\n    return void 0;\n  const constructor = getContainingFunction(token);\n  const superCall = findSuperCall(constructor.body);\n  return superCall && !superCall.expression.arguments.some((arg) => isPropertyAccessExpression(arg) && arg.expression === token) ? { constructor, superCall } : void 0;\n}\nfunction findSuperCall(n) {\n  return isExpressionStatement(n) && isSuperCall(n.expression) ? n : isFunctionLike(n) ? void 0 : forEachChild(n, findSuperCall);\n}\n\n// src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts\nvar fixId26 = \"constructorForDerivedNeedSuperCall\";\nvar errorCodes31 = [Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call.code];\nregisterCodeFix({\n  errorCodes: errorCodes31,\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const ctr = getNode(sourceFile, span.start);\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange11(t, sourceFile, ctr));\n    return [createCodeFixAction(fixId26, changes, Diagnostics.Add_missing_super_call, fixId26, Diagnostics.Add_all_missing_super_calls)];\n  },\n  fixIds: [fixId26],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes31, (changes, diag2) => doChange11(changes, context.sourceFile, getNode(diag2.file, diag2.start)))\n});\nfunction getNode(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  Debug.assert(isConstructorDeclaration(token.parent), \"token should be at the constructor declaration\");\n  return token.parent;\n}\nfunction doChange11(changes, sourceFile, ctr) {\n  const superCall = factory.createExpressionStatement(factory.createCallExpression(factory.createSuper(), void 0, emptyArray));\n  changes.insertNodeAtConstructorStart(sourceFile, ctr, superCall);\n}\n\n// src/services/codefixes/fixEnableExperimentalDecorators.ts\nvar fixId27 = \"enableExperimentalDecorators\";\nvar errorCodes32 = [\n  Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes32,\n  getCodeActions: function getCodeActionsToEnableExperimentalDecorators(context) {\n    const { configFile } = context.program.getCompilerOptions();\n    if (configFile === void 0) {\n      return void 0;\n    }\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (changeTracker) => doChange12(changeTracker, configFile));\n    return [createCodeFixActionWithoutFixAll(fixId27, changes, Diagnostics.Enable_the_experimentalDecorators_option_in_your_configuration_file)];\n  },\n  fixIds: [fixId27],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes32, (changes) => {\n    const { configFile } = context.program.getCompilerOptions();\n    if (configFile === void 0) {\n      return void 0;\n    }\n    doChange12(changes, configFile);\n  })\n});\nfunction doChange12(changeTracker, configFile) {\n  setJsonCompilerOptionValue(changeTracker, configFile, \"experimentalDecorators\", factory.createTrue());\n}\n\n// src/services/codefixes/fixEnableJsxFlag.ts\nvar fixID = \"fixEnableJsxFlag\";\nvar errorCodes33 = [Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code];\nregisterCodeFix({\n  errorCodes: errorCodes33,\n  getCodeActions: function getCodeActionsToFixEnableJsxFlag(context) {\n    const { configFile } = context.program.getCompilerOptions();\n    if (configFile === void 0) {\n      return void 0;\n    }\n    const changes = ts_textChanges_exports.ChangeTracker.with(\n      context,\n      (changeTracker) => doChange13(changeTracker, configFile)\n    );\n    return [\n      createCodeFixActionWithoutFixAll(fixID, changes, Diagnostics.Enable_the_jsx_flag_in_your_configuration_file)\n    ];\n  },\n  fixIds: [fixID],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes33, (changes) => {\n    const { configFile } = context.program.getCompilerOptions();\n    if (configFile === void 0) {\n      return void 0;\n    }\n    doChange13(changes, configFile);\n  })\n});\nfunction doChange13(changeTracker, configFile) {\n  setJsonCompilerOptionValue(changeTracker, configFile, \"jsx\", factory.createStringLiteral(\"react\"));\n}\n\n// src/services/codefixes/fixNaNEquality.ts\nvar fixId28 = \"fixNaNEquality\";\nvar errorCodes34 = [\n  Diagnostics.This_condition_will_always_return_0.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes34,\n  getCodeActions(context) {\n    const { sourceFile, span, program } = context;\n    const info = getInfo8(program, sourceFile, span);\n    if (info === void 0)\n      return;\n    const { suggestion, expression, arg } = info;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange14(t, sourceFile, arg, expression));\n    return [createCodeFixAction(fixId28, changes, [Diagnostics.Use_0, suggestion], fixId28, Diagnostics.Use_Number_isNaN_in_all_conditions)];\n  },\n  fixIds: [fixId28],\n  getAllCodeActions: (context) => {\n    return codeFixAll(context, errorCodes34, (changes, diag2) => {\n      const info = getInfo8(context.program, diag2.file, createTextSpan(diag2.start, diag2.length));\n      if (info) {\n        doChange14(changes, diag2.file, info.arg, info.expression);\n      }\n    });\n  }\n});\nfunction getInfo8(program, sourceFile, span) {\n  const diag2 = find(program.getSemanticDiagnostics(sourceFile), (diag3) => diag3.start === span.start && diag3.length === span.length);\n  if (diag2 === void 0 || diag2.relatedInformation === void 0)\n    return;\n  const related = find(diag2.relatedInformation, (related2) => related2.code === Diagnostics.Did_you_mean_0.code);\n  if (related === void 0 || related.file === void 0 || related.start === void 0 || related.length === void 0)\n    return;\n  const token = findAncestorMatchingSpan(related.file, createTextSpan(related.start, related.length));\n  if (token === void 0)\n    return;\n  if (isExpression(token) && isBinaryExpression(token.parent)) {\n    return { suggestion: getSuggestion(related.messageText), expression: token.parent, arg: token };\n  }\n  return void 0;\n}\nfunction doChange14(changes, sourceFile, arg, expression) {\n  const callExpression = factory.createCallExpression(\n    factory.createPropertyAccessExpression(factory.createIdentifier(\"Number\"), factory.createIdentifier(\"isNaN\")),\n    void 0,\n    [arg]\n  );\n  const operator = expression.operatorToken.kind;\n  changes.replaceNode(\n    sourceFile,\n    expression,\n    operator === 37 /* ExclamationEqualsEqualsToken */ || operator === 35 /* ExclamationEqualsToken */ ? factory.createPrefixUnaryExpression(53 /* ExclamationToken */, callExpression) : callExpression\n  );\n}\nfunction getSuggestion(messageText) {\n  const [_, suggestion] = flattenDiagnosticMessageText(messageText, \"\\n\", 0).match(/\\'(.*)\\'/) || [];\n  return suggestion;\n}\n\n// src/services/codefixes/fixModuleAndTargetOptions.ts\nregisterCodeFix({\n  errorCodes: [\n    Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,\n    Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code\n  ],\n  getCodeActions: function getCodeActionsToFixModuleAndTarget(context) {\n    const compilerOptions = context.program.getCompilerOptions();\n    const { configFile } = compilerOptions;\n    if (configFile === void 0) {\n      return void 0;\n    }\n    const codeFixes = [];\n    const moduleKind = getEmitModuleKind(compilerOptions);\n    const moduleOutOfRange = moduleKind >= 5 /* ES2015 */ && moduleKind < 99 /* ESNext */;\n    if (moduleOutOfRange) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n        setJsonCompilerOptionValue(changes2, configFile, \"module\", factory.createStringLiteral(\"esnext\"));\n      });\n      codeFixes.push(createCodeFixActionWithoutFixAll(\"fixModuleOption\", changes, [Diagnostics.Set_the_module_option_in_your_configuration_file_to_0, \"esnext\"]));\n    }\n    const target = getEmitScriptTarget(compilerOptions);\n    const targetOutOfRange = target < 4 /* ES2017 */ || target > 99 /* ESNext */;\n    if (targetOutOfRange) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (tracker) => {\n        const configObject = getTsConfigObjectLiteralExpression(configFile);\n        if (!configObject)\n          return;\n        const options = [[\"target\", factory.createStringLiteral(\"es2017\")]];\n        if (moduleKind === 1 /* CommonJS */) {\n          options.push([\"module\", factory.createStringLiteral(\"commonjs\")]);\n        }\n        setJsonCompilerOptionValues(tracker, configFile, options);\n      });\n      codeFixes.push(createCodeFixActionWithoutFixAll(\"fixTargetOption\", changes, [Diagnostics.Set_the_target_option_in_your_configuration_file_to_0, \"es2017\"]));\n    }\n    return codeFixes.length ? codeFixes : void 0;\n  }\n});\n\n// src/services/codefixes/fixPropertyAssignment.ts\nvar fixId29 = \"fixPropertyAssignment\";\nvar errorCodes35 = [\n  Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes35,\n  fixIds: [fixId29],\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const property = getProperty2(sourceFile, span.start);\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange15(t, context.sourceFile, property));\n    return [createCodeFixAction(fixId29, changes, [Diagnostics.Change_0_to_1, \"=\", \":\"], fixId29, [Diagnostics.Switch_each_misused_0_to_1, \"=\", \":\"])];\n  },\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes35, (changes, diag2) => doChange15(changes, diag2.file, getProperty2(diag2.file, diag2.start)))\n});\nfunction doChange15(changes, sourceFile, node) {\n  changes.replaceNode(sourceFile, node, factory.createPropertyAssignment(node.name, node.objectAssignmentInitializer));\n}\nfunction getProperty2(sourceFile, pos) {\n  return cast(getTokenAtPosition(sourceFile, pos).parent, isShorthandPropertyAssignment);\n}\n\n// src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts\nvar fixId30 = \"extendsInterfaceBecomesImplements\";\nvar errorCodes36 = [Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];\nregisterCodeFix({\n  errorCodes: errorCodes36,\n  getCodeActions(context) {\n    const { sourceFile } = context;\n    const nodes = getNodes2(sourceFile, context.span.start);\n    if (!nodes)\n      return void 0;\n    const { extendsToken, heritageClauses } = nodes;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChanges2(t, sourceFile, extendsToken, heritageClauses));\n    return [createCodeFixAction(fixId30, changes, Diagnostics.Change_extends_to_implements, fixId30, Diagnostics.Change_all_extended_interfaces_to_implements)];\n  },\n  fixIds: [fixId30],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes36, (changes, diag2) => {\n    const nodes = getNodes2(diag2.file, diag2.start);\n    if (nodes)\n      doChanges2(changes, diag2.file, nodes.extendsToken, nodes.heritageClauses);\n  })\n});\nfunction getNodes2(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  const heritageClauses = getContainingClass(token).heritageClauses;\n  const extendsToken = heritageClauses[0].getFirstToken();\n  return extendsToken.kind === 95 /* ExtendsKeyword */ ? { extendsToken, heritageClauses } : void 0;\n}\nfunction doChanges2(changes, sourceFile, extendsToken, heritageClauses) {\n  changes.replaceNode(sourceFile, extendsToken, factory.createToken(118 /* ImplementsKeyword */));\n  if (heritageClauses.length === 2 && heritageClauses[0].token === 95 /* ExtendsKeyword */ && heritageClauses[1].token === 118 /* ImplementsKeyword */) {\n    const implementsToken = heritageClauses[1].getFirstToken();\n    const implementsFullStart = implementsToken.getFullStart();\n    changes.replaceRange(sourceFile, { pos: implementsFullStart, end: implementsFullStart }, factory.createToken(27 /* CommaToken */));\n    const text = sourceFile.text;\n    let end = implementsToken.end;\n    while (end < text.length && isWhiteSpaceSingleLine(text.charCodeAt(end))) {\n      end++;\n    }\n    changes.deleteRange(sourceFile, { pos: implementsToken.getStart(), end });\n  }\n}\n\n// src/services/codefixes/fixForgottenThisPropertyAccess.ts\nvar fixId31 = \"forgottenThisPropertyAccess\";\nvar didYouMeanStaticMemberCode = Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code;\nvar errorCodes37 = [\n  Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,\n  Diagnostics.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,\n  didYouMeanStaticMemberCode\n];\nregisterCodeFix({\n  errorCodes: errorCodes37,\n  getCodeActions(context) {\n    const { sourceFile } = context;\n    const info = getInfo9(sourceFile, context.span.start, context.errorCode);\n    if (!info) {\n      return void 0;\n    }\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange16(t, sourceFile, info));\n    return [createCodeFixAction(fixId31, changes, [Diagnostics.Add_0_to_unresolved_variable, info.className || \"this\"], fixId31, Diagnostics.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)];\n  },\n  fixIds: [fixId31],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes37, (changes, diag2) => {\n    const info = getInfo9(diag2.file, diag2.start, diag2.code);\n    if (info)\n      doChange16(changes, context.sourceFile, info);\n  })\n});\nfunction getInfo9(sourceFile, pos, diagCode) {\n  const node = getTokenAtPosition(sourceFile, pos);\n  if (isIdentifier(node) || isPrivateIdentifier(node)) {\n    return { node, className: diagCode === didYouMeanStaticMemberCode ? getContainingClass(node).name.text : void 0 };\n  }\n}\nfunction doChange16(changes, sourceFile, { node, className }) {\n  suppressLeadingAndTrailingTrivia(node);\n  changes.replaceNode(sourceFile, node, factory.createPropertyAccessExpression(className ? factory.createIdentifier(className) : factory.createThis(), node));\n}\n\n// src/services/codefixes/fixInvalidJsxCharacters.ts\nvar fixIdExpression = \"fixInvalidJsxCharacters_expression\";\nvar fixIdHtmlEntity = \"fixInvalidJsxCharacters_htmlEntity\";\nvar errorCodes38 = [\n  Diagnostics.Unexpected_token_Did_you_mean_or_gt.code,\n  Diagnostics.Unexpected_token_Did_you_mean_or_rbrace.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes38,\n  fixIds: [fixIdExpression, fixIdHtmlEntity],\n  getCodeActions(context) {\n    const { sourceFile, preferences, span } = context;\n    const changeToExpression = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange17(t, preferences, sourceFile, span.start, false));\n    const changeToHtmlEntity = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange17(t, preferences, sourceFile, span.start, true));\n    return [\n      createCodeFixAction(fixIdExpression, changeToExpression, Diagnostics.Wrap_invalid_character_in_an_expression_container, fixIdExpression, Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),\n      createCodeFixAction(fixIdHtmlEntity, changeToHtmlEntity, Diagnostics.Convert_invalid_character_to_its_html_entity_code, fixIdHtmlEntity, Diagnostics.Convert_all_invalid_characters_to_HTML_entity_code)\n    ];\n  },\n  getAllCodeActions(context) {\n    return codeFixAll(context, errorCodes38, (changes, diagnostic) => doChange17(changes, context.preferences, diagnostic.file, diagnostic.start, context.fixId === fixIdHtmlEntity));\n  }\n});\nvar htmlEntity = {\n  \">\": \"&gt;\",\n  \"}\": \"&rbrace;\"\n};\nfunction isValidCharacter(character) {\n  return hasProperty(htmlEntity, character);\n}\nfunction doChange17(changes, preferences, sourceFile, start, useHtmlEntity) {\n  const character = sourceFile.getText()[start];\n  if (!isValidCharacter(character)) {\n    return;\n  }\n  const replacement = useHtmlEntity ? htmlEntity[character] : `{${quote(sourceFile, preferences, character)}}`;\n  changes.replaceRangeWithText(sourceFile, { pos: start, end: start + 1 }, replacement);\n}\n\n// src/services/codefixes/fixUnmatchedParameter.ts\nvar deleteUnmatchedParameter = \"deleteUnmatchedParameter\";\nvar renameUnmatchedParameter = \"renameUnmatchedParameter\";\nvar errorCodes39 = [\n  Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code\n];\nregisterCodeFix({\n  fixIds: [deleteUnmatchedParameter, renameUnmatchedParameter],\n  errorCodes: errorCodes39,\n  getCodeActions: function getCodeActionsToFixUnmatchedParameter(context) {\n    const { sourceFile, span } = context;\n    const actions2 = [];\n    const info = getInfo10(sourceFile, span.start);\n    if (info) {\n      append(actions2, getDeleteAction(context, info));\n      append(actions2, getRenameAction(context, info));\n      return actions2;\n    }\n    return void 0;\n  },\n  getAllCodeActions: function getAllCodeActionsToFixUnmatchedParameter(context) {\n    const tagsToSignature = new Map2();\n    return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n      eachDiagnostic(context, errorCodes39, ({ file, start }) => {\n        const info = getInfo10(file, start);\n        if (info) {\n          tagsToSignature.set(info.signature, append(tagsToSignature.get(info.signature), info.jsDocParameterTag));\n        }\n      });\n      tagsToSignature.forEach((tags, signature) => {\n        if (context.fixId === deleteUnmatchedParameter) {\n          const tagsSet = new Set2(tags);\n          changes.filterJSDocTags(signature.getSourceFile(), signature, (t) => !tagsSet.has(t));\n        }\n      });\n    }));\n  }\n});\nfunction getDeleteAction(context, { name, signature, jsDocParameterTag }) {\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (changeTracker) => changeTracker.filterJSDocTags(context.sourceFile, signature, (t) => t !== jsDocParameterTag));\n  return createCodeFixAction(\n    deleteUnmatchedParameter,\n    changes,\n    [Diagnostics.Delete_unused_param_tag_0, name.getText(context.sourceFile)],\n    deleteUnmatchedParameter,\n    Diagnostics.Delete_all_unused_param_tags\n  );\n}\nfunction getRenameAction(context, { name, signature, jsDocParameterTag }) {\n  if (!length(signature.parameters))\n    return void 0;\n  const sourceFile = context.sourceFile;\n  const tags = getJSDocTags(signature);\n  const names = new Set2();\n  for (const tag of tags) {\n    if (isJSDocParameterTag(tag) && isIdentifier(tag.name)) {\n      names.add(tag.name.escapedText);\n    }\n  }\n  const parameterName = firstDefined(signature.parameters, (p) => isIdentifier(p.name) && !names.has(p.name.escapedText) ? p.name.getText(sourceFile) : void 0);\n  if (parameterName === void 0)\n    return void 0;\n  const newJSDocParameterTag = factory.updateJSDocParameterTag(\n    jsDocParameterTag,\n    jsDocParameterTag.tagName,\n    factory.createIdentifier(parameterName),\n    jsDocParameterTag.isBracketed,\n    jsDocParameterTag.typeExpression,\n    jsDocParameterTag.isNameFirst,\n    jsDocParameterTag.comment\n  );\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (changeTracker) => changeTracker.replaceJSDocComment(sourceFile, signature, map(tags, (t) => t === jsDocParameterTag ? newJSDocParameterTag : t)));\n  return createCodeFixActionWithoutFixAll(renameUnmatchedParameter, changes, [Diagnostics.Rename_param_tag_name_0_to_1, name.getText(sourceFile), parameterName]);\n}\nfunction getInfo10(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (token.parent && isJSDocParameterTag(token.parent) && isIdentifier(token.parent.name)) {\n    const jsDocParameterTag = token.parent;\n    const signature = getHostSignatureFromJSDoc(jsDocParameterTag);\n    if (signature) {\n      return { signature, name: token.parent.name, jsDocParameterTag };\n    }\n  }\n  return void 0;\n}\n\n// src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts\nvar fixId32 = \"fixUnreferenceableDecoratorMetadata\";\nvar errorCodes40 = [Diagnostics.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code];\nregisterCodeFix({\n  errorCodes: errorCodes40,\n  getCodeActions: (context) => {\n    const importDeclaration = getImportDeclaration(context.sourceFile, context.program, context.span.start);\n    if (!importDeclaration)\n      return;\n    const namespaceChanges = ts_textChanges_exports.ChangeTracker.with(context, (t) => importDeclaration.kind === 279 /* ImportSpecifier */ && doNamespaceImportChange(t, context.sourceFile, importDeclaration, context.program));\n    const typeOnlyChanges = ts_textChanges_exports.ChangeTracker.with(context, (t) => doTypeOnlyImportChange(t, context.sourceFile, importDeclaration, context.program));\n    let actions2;\n    if (namespaceChanges.length) {\n      actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId32, namespaceChanges, Diagnostics.Convert_named_imports_to_namespace_import));\n    }\n    if (typeOnlyChanges.length) {\n      actions2 = append(actions2, createCodeFixActionWithoutFixAll(fixId32, typeOnlyChanges, Diagnostics.Convert_to_type_only_import));\n    }\n    return actions2;\n  },\n  fixIds: [fixId32]\n});\nfunction getImportDeclaration(sourceFile, program, start) {\n  const identifier = tryCast(getTokenAtPosition(sourceFile, start), isIdentifier);\n  if (!identifier || identifier.parent.kind !== 183 /* TypeReference */)\n    return;\n  const checker = program.getTypeChecker();\n  const symbol = checker.getSymbolAtLocation(identifier);\n  return find((symbol == null ? void 0 : symbol.declarations) || emptyArray, or(isImportClause, isImportSpecifier, isImportEqualsDeclaration));\n}\nfunction doTypeOnlyImportChange(changes, sourceFile, importDeclaration, program) {\n  if (importDeclaration.kind === 274 /* ImportEqualsDeclaration */) {\n    changes.insertModifierBefore(sourceFile, 155 /* TypeKeyword */, importDeclaration.name);\n    return;\n  }\n  const importClause = importDeclaration.kind === 276 /* ImportClause */ ? importDeclaration : importDeclaration.parent.parent;\n  if (importClause.name && importClause.namedBindings) {\n    return;\n  }\n  const checker = program.getTypeChecker();\n  const importsValue = !!forEachImportClauseDeclaration(importClause, (decl) => {\n    if (skipAlias(decl.symbol, checker).flags & 111551 /* Value */)\n      return true;\n  });\n  if (importsValue) {\n    return;\n  }\n  changes.insertModifierBefore(sourceFile, 155 /* TypeKeyword */, importClause);\n}\nfunction doNamespaceImportChange(changes, sourceFile, importDeclaration, program) {\n  ts_refactor_exports.doChangeNamedToNamespaceOrDefault(sourceFile, program, changes, importDeclaration.parent);\n}\n\n// src/services/codefixes/fixUnusedIdentifier.ts\nvar fixName3 = \"unusedIdentifier\";\nvar fixIdPrefix = \"unusedIdentifier_prefix\";\nvar fixIdDelete = \"unusedIdentifier_delete\";\nvar fixIdDeleteImports = \"unusedIdentifier_deleteImports\";\nvar fixIdInfer = \"unusedIdentifier_infer\";\nvar errorCodes41 = [\n  Diagnostics._0_is_declared_but_its_value_is_never_read.code,\n  Diagnostics._0_is_declared_but_never_used.code,\n  Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,\n  Diagnostics.All_imports_in_import_declaration_are_unused.code,\n  Diagnostics.All_destructured_elements_are_unused.code,\n  Diagnostics.All_variables_are_unused.code,\n  Diagnostics.All_type_parameters_are_unused.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes41,\n  getCodeActions(context) {\n    const { errorCode, sourceFile, program, cancellationToken } = context;\n    const checker = program.getTypeChecker();\n    const sourceFiles = program.getSourceFiles();\n    const token = getTokenAtPosition(sourceFile, context.span.start);\n    if (isJSDocTemplateTag(token)) {\n      return [createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => t.delete(sourceFile, token)), Diagnostics.Remove_template_tag)];\n    }\n    if (token.kind === 29 /* LessThanToken */) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => deleteTypeParameters(t, sourceFile, token));\n      return [createDeleteFix(changes, Diagnostics.Remove_type_parameters)];\n    }\n    const importDecl = tryGetFullImport(token);\n    if (importDecl) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.delete(sourceFile, importDecl));\n      return [createCodeFixAction(fixName3, changes, [Diagnostics.Remove_import_from_0, showModuleSpecifier(importDecl)], fixIdDeleteImports, Diagnostics.Delete_all_unused_imports)];\n    } else if (isImport(token)) {\n      const deletion = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryDeleteDeclaration(sourceFile, token, t, checker, sourceFiles, program, cancellationToken, false));\n      if (deletion.length) {\n        return [createCodeFixAction(fixName3, deletion, [Diagnostics.Remove_unused_declaration_for_Colon_0, token.getText(sourceFile)], fixIdDeleteImports, Diagnostics.Delete_all_unused_imports)];\n      }\n    }\n    if (isObjectBindingPattern(token.parent) || isArrayBindingPattern(token.parent)) {\n      if (isParameter(token.parent.parent)) {\n        const elements = token.parent.elements;\n        const diagnostic = [\n          elements.length > 1 ? Diagnostics.Remove_unused_declarations_for_Colon_0 : Diagnostics.Remove_unused_declaration_for_Colon_0,\n          map(elements, (e) => e.getText(sourceFile)).join(\", \")\n        ];\n        return [\n          createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => deleteDestructuringElements(t, sourceFile, token.parent)), diagnostic)\n        ];\n      }\n      return [\n        createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => t.delete(sourceFile, token.parent.parent)), Diagnostics.Remove_unused_destructuring_declaration)\n      ];\n    }\n    if (canDeleteEntireVariableStatement(sourceFile, token)) {\n      return [\n        createDeleteFix(ts_textChanges_exports.ChangeTracker.with(context, (t) => deleteEntireVariableStatement(t, sourceFile, token.parent)), Diagnostics.Remove_variable_statement)\n      ];\n    }\n    const result = [];\n    if (token.kind === 139 /* InferKeyword */) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => changeInferToUnknown(t, sourceFile, token));\n      const name = cast(token.parent, isInferTypeNode).typeParameter.name.text;\n      result.push(createCodeFixAction(fixName3, changes, [Diagnostics.Replace_infer_0_with_unknown, name], fixIdInfer, Diagnostics.Replace_all_unused_infer_with_unknown));\n    } else {\n      const deletion = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryDeleteDeclaration(sourceFile, token, t, checker, sourceFiles, program, cancellationToken, false));\n      if (deletion.length) {\n        const name = isComputedPropertyName(token.parent) ? token.parent : token;\n        result.push(createDeleteFix(deletion, [Diagnostics.Remove_unused_declaration_for_Colon_0, name.getText(sourceFile)]));\n      }\n    }\n    const prefix = ts_textChanges_exports.ChangeTracker.with(context, (t) => tryPrefixDeclaration(t, errorCode, sourceFile, token));\n    if (prefix.length) {\n      result.push(createCodeFixAction(fixName3, prefix, [Diagnostics.Prefix_0_with_an_underscore, token.getText(sourceFile)], fixIdPrefix, Diagnostics.Prefix_all_unused_declarations_with_where_possible));\n    }\n    return result;\n  },\n  fixIds: [fixIdPrefix, fixIdDelete, fixIdDeleteImports, fixIdInfer],\n  getAllCodeActions: (context) => {\n    const { sourceFile, program, cancellationToken } = context;\n    const checker = program.getTypeChecker();\n    const sourceFiles = program.getSourceFiles();\n    return codeFixAll(context, errorCodes41, (changes, diag2) => {\n      const token = getTokenAtPosition(sourceFile, diag2.start);\n      switch (context.fixId) {\n        case fixIdPrefix:\n          tryPrefixDeclaration(changes, diag2.code, sourceFile, token);\n          break;\n        case fixIdDeleteImports: {\n          const importDecl = tryGetFullImport(token);\n          if (importDecl) {\n            changes.delete(sourceFile, importDecl);\n          } else if (isImport(token)) {\n            tryDeleteDeclaration(sourceFile, token, changes, checker, sourceFiles, program, cancellationToken, true);\n          }\n          break;\n        }\n        case fixIdDelete: {\n          if (token.kind === 139 /* InferKeyword */ || isImport(token)) {\n            break;\n          } else if (isJSDocTemplateTag(token)) {\n            changes.delete(sourceFile, token);\n          } else if (token.kind === 29 /* LessThanToken */) {\n            deleteTypeParameters(changes, sourceFile, token);\n          } else if (isObjectBindingPattern(token.parent)) {\n            if (token.parent.parent.initializer) {\n              break;\n            } else if (!isParameter(token.parent.parent) || isNotProvidedArguments(token.parent.parent, checker, sourceFiles)) {\n              changes.delete(sourceFile, token.parent.parent);\n            }\n          } else if (isArrayBindingPattern(token.parent.parent) && token.parent.parent.parent.initializer) {\n            break;\n          } else if (canDeleteEntireVariableStatement(sourceFile, token)) {\n            deleteEntireVariableStatement(changes, sourceFile, token.parent);\n          } else {\n            tryDeleteDeclaration(sourceFile, token, changes, checker, sourceFiles, program, cancellationToken, true);\n          }\n          break;\n        }\n        case fixIdInfer:\n          if (token.kind === 139 /* InferKeyword */) {\n            changeInferToUnknown(changes, sourceFile, token);\n          }\n          break;\n        default:\n          Debug.fail(JSON.stringify(context.fixId));\n      }\n    });\n  }\n});\nfunction changeInferToUnknown(changes, sourceFile, token) {\n  changes.replaceNode(sourceFile, token.parent, factory.createKeywordTypeNode(159 /* UnknownKeyword */));\n}\nfunction createDeleteFix(changes, diag2) {\n  return createCodeFixAction(fixName3, changes, diag2, fixIdDelete, Diagnostics.Delete_all_unused_declarations);\n}\nfunction deleteTypeParameters(changes, sourceFile, token) {\n  changes.delete(sourceFile, Debug.checkDefined(cast(token.parent, isDeclarationWithTypeParameterChildren).typeParameters, \"The type parameter to delete should exist\"));\n}\nfunction isImport(token) {\n  return token.kind === 101 /* ImportKeyword */ || token.kind === 79 /* Identifier */ && (token.parent.kind === 279 /* ImportSpecifier */ || token.parent.kind === 276 /* ImportClause */);\n}\nfunction tryGetFullImport(token) {\n  return token.kind === 101 /* ImportKeyword */ ? tryCast(token.parent, isImportDeclaration) : void 0;\n}\nfunction canDeleteEntireVariableStatement(sourceFile, token) {\n  return isVariableDeclarationList(token.parent) && first(token.parent.getChildren(sourceFile)) === token;\n}\nfunction deleteEntireVariableStatement(changes, sourceFile, node) {\n  changes.delete(sourceFile, node.parent.kind === 244 /* VariableStatement */ ? node.parent : node);\n}\nfunction deleteDestructuringElements(changes, sourceFile, node) {\n  forEach(node.elements, (n) => changes.delete(sourceFile, n));\n}\nfunction tryPrefixDeclaration(changes, errorCode, sourceFile, token) {\n  if (errorCode === Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)\n    return;\n  if (token.kind === 139 /* InferKeyword */) {\n    token = cast(token.parent, isInferTypeNode).typeParameter.name;\n  }\n  if (isIdentifier(token) && canPrefix(token)) {\n    changes.replaceNode(sourceFile, token, factory.createIdentifier(`_${token.text}`));\n    if (isParameter(token.parent)) {\n      getJSDocParameterTags(token.parent).forEach((tag) => {\n        if (isIdentifier(tag.name)) {\n          changes.replaceNode(sourceFile, tag.name, factory.createIdentifier(`_${tag.name.text}`));\n        }\n      });\n    }\n  }\n}\nfunction canPrefix(token) {\n  switch (token.parent.kind) {\n    case 168 /* Parameter */:\n    case 167 /* TypeParameter */:\n      return true;\n    case 261 /* VariableDeclaration */: {\n      const varDecl = token.parent;\n      switch (varDecl.parent.parent.kind) {\n        case 251 /* ForOfStatement */:\n        case 250 /* ForInStatement */:\n          return true;\n      }\n    }\n  }\n  return false;\n}\nfunction tryDeleteDeclaration(sourceFile, token, changes, checker, sourceFiles, program, cancellationToken, isFixAll) {\n  tryDeleteDeclarationWorker(token, changes, sourceFile, checker, sourceFiles, program, cancellationToken, isFixAll);\n  if (isIdentifier(token)) {\n    ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(token, checker, sourceFile, (ref) => {\n      if (isPropertyAccessExpression(ref.parent) && ref.parent.name === ref)\n        ref = ref.parent;\n      if (!isFixAll && mayDeleteExpression(ref)) {\n        changes.delete(sourceFile, ref.parent.parent);\n      }\n    });\n  }\n}\nfunction tryDeleteDeclarationWorker(token, changes, sourceFile, checker, sourceFiles, program, cancellationToken, isFixAll) {\n  const { parent: parent2 } = token;\n  if (isParameter(parent2)) {\n    tryDeleteParameter(changes, sourceFile, parent2, checker, sourceFiles, program, cancellationToken, isFixAll);\n  } else if (!(isFixAll && isIdentifier(token) && ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(token, checker, sourceFile))) {\n    const node = isImportClause(parent2) ? token : isComputedPropertyName(parent2) ? parent2.parent : parent2;\n    Debug.assert(node !== sourceFile, \"should not delete whole source file\");\n    changes.delete(sourceFile, node);\n  }\n}\nfunction tryDeleteParameter(changes, sourceFile, parameter, checker, sourceFiles, program, cancellationToken, isFixAll = false) {\n  if (mayDeleteParameter(checker, sourceFile, parameter, sourceFiles, program, cancellationToken, isFixAll)) {\n    if (parameter.modifiers && parameter.modifiers.length > 0 && (!isIdentifier(parameter.name) || ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(parameter.name, checker, sourceFile))) {\n      for (const modifier of parameter.modifiers) {\n        if (isModifier(modifier)) {\n          changes.deleteModifier(sourceFile, modifier);\n        }\n      }\n    } else if (!parameter.initializer && isNotProvidedArguments(parameter, checker, sourceFiles)) {\n      changes.delete(sourceFile, parameter);\n    }\n  }\n}\nfunction isNotProvidedArguments(parameter, checker, sourceFiles) {\n  const index = parameter.parent.parameters.indexOf(parameter);\n  return !ts_FindAllReferences_exports.Core.someSignatureUsage(parameter.parent, sourceFiles, checker, (_, call) => !call || call.arguments.length > index);\n}\nfunction mayDeleteParameter(checker, sourceFile, parameter, sourceFiles, program, cancellationToken, isFixAll) {\n  const { parent: parent2 } = parameter;\n  switch (parent2.kind) {\n    case 174 /* MethodDeclaration */:\n    case 176 /* Constructor */:\n      const index = parent2.parameters.indexOf(parameter);\n      const referent = isMethodDeclaration(parent2) ? parent2.name : parent2;\n      const entries = ts_FindAllReferences_exports.Core.getReferencedSymbolsForNode(parent2.pos, referent, program, sourceFiles, cancellationToken);\n      if (entries) {\n        for (const entry of entries) {\n          for (const reference of entry.references) {\n            if (reference.kind === ts_FindAllReferences_exports.EntryKind.Node) {\n              const isSuperCall2 = isSuperKeyword(reference.node) && isCallExpression(reference.node.parent) && reference.node.parent.arguments.length > index;\n              const isSuperMethodCall = isPropertyAccessExpression(reference.node.parent) && isSuperKeyword(reference.node.parent.expression) && isCallExpression(reference.node.parent.parent) && reference.node.parent.parent.arguments.length > index;\n              const isOverriddenMethod = (isMethodDeclaration(reference.node.parent) || isMethodSignature(reference.node.parent)) && reference.node.parent !== parameter.parent && reference.node.parent.parameters.length > index;\n              if (isSuperCall2 || isSuperMethodCall || isOverriddenMethod)\n                return false;\n            }\n          }\n        }\n      }\n      return true;\n    case 263 /* FunctionDeclaration */: {\n      if (parent2.name && isCallbackLike(checker, sourceFile, parent2.name)) {\n        return isLastParameter(parent2, parameter, isFixAll);\n      }\n      return true;\n    }\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      return isLastParameter(parent2, parameter, isFixAll);\n    case 178 /* SetAccessor */:\n      return false;\n    case 177 /* GetAccessor */:\n      return true;\n    default:\n      return Debug.failBadSyntaxKind(parent2);\n  }\n}\nfunction isCallbackLike(checker, sourceFile, name) {\n  return !!ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(name, checker, sourceFile, (reference) => isIdentifier(reference) && isCallExpression(reference.parent) && reference.parent.arguments.indexOf(reference) >= 0);\n}\nfunction isLastParameter(func, parameter, isFixAll) {\n  const parameters = func.parameters;\n  const index = parameters.indexOf(parameter);\n  Debug.assert(index !== -1, \"The parameter should already be in the list\");\n  return isFixAll ? parameters.slice(index + 1).every((p) => isIdentifier(p.name) && !p.symbol.isReferenced) : index === parameters.length - 1;\n}\nfunction mayDeleteExpression(node) {\n  return (isBinaryExpression(node.parent) && node.parent.left === node || (isPostfixUnaryExpression(node.parent) || isPrefixUnaryExpression(node.parent)) && node.parent.operand === node) && isExpressionStatement(node.parent.parent);\n}\n\n// src/services/codefixes/fixUnreachableCode.ts\nvar fixId33 = \"fixUnreachableCode\";\nvar errorCodes42 = [Diagnostics.Unreachable_code_detected.code];\nregisterCodeFix({\n  errorCodes: errorCodes42,\n  getCodeActions(context) {\n    const syntacticDiagnostics = context.program.getSyntacticDiagnostics(context.sourceFile, context.cancellationToken);\n    if (syntacticDiagnostics.length)\n      return;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange18(t, context.sourceFile, context.span.start, context.span.length, context.errorCode));\n    return [createCodeFixAction(fixId33, changes, Diagnostics.Remove_unreachable_code, fixId33, Diagnostics.Remove_all_unreachable_code)];\n  },\n  fixIds: [fixId33],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes42, (changes, diag2) => doChange18(changes, diag2.file, diag2.start, diag2.length, diag2.code))\n});\nfunction doChange18(changes, sourceFile, start, length2, errorCode) {\n  const token = getTokenAtPosition(sourceFile, start);\n  const statement = findAncestor(token, isStatement);\n  if (statement.getStart(sourceFile) !== token.getStart(sourceFile)) {\n    const logData = JSON.stringify({\n      statementKind: Debug.formatSyntaxKind(statement.kind),\n      tokenKind: Debug.formatSyntaxKind(token.kind),\n      errorCode,\n      start,\n      length: length2\n    });\n    Debug.fail(\"Token and statement should start at the same point. \" + logData);\n  }\n  const container = (isBlock(statement.parent) ? statement.parent : statement).parent;\n  if (!isBlock(statement.parent) || statement === first(statement.parent.statements)) {\n    switch (container.kind) {\n      case 246 /* IfStatement */:\n        if (container.elseStatement) {\n          if (isBlock(statement.parent)) {\n            break;\n          } else {\n            changes.replaceNode(sourceFile, statement, factory.createBlock(emptyArray));\n          }\n          return;\n        }\n      case 248 /* WhileStatement */:\n      case 249 /* ForStatement */:\n        changes.delete(sourceFile, container);\n        return;\n    }\n  }\n  if (isBlock(statement.parent)) {\n    const end = start + length2;\n    const lastStatement = Debug.checkDefined(lastWhere(sliceAfter(statement.parent.statements, statement), (s) => s.pos < end), \"Some statement should be last\");\n    changes.deleteNodeRange(sourceFile, statement, lastStatement);\n  } else {\n    changes.delete(sourceFile, statement);\n  }\n}\nfunction lastWhere(a, pred) {\n  let last2;\n  for (const value of a) {\n    if (!pred(value))\n      break;\n    last2 = value;\n  }\n  return last2;\n}\n\n// src/services/codefixes/fixUnusedLabel.ts\nvar fixId34 = \"fixUnusedLabel\";\nvar errorCodes43 = [Diagnostics.Unused_label.code];\nregisterCodeFix({\n  errorCodes: errorCodes43,\n  getCodeActions(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange19(t, context.sourceFile, context.span.start));\n    return [createCodeFixAction(fixId34, changes, Diagnostics.Remove_unused_label, fixId34, Diagnostics.Remove_all_unused_labels)];\n  },\n  fixIds: [fixId34],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes43, (changes, diag2) => doChange19(changes, diag2.file, diag2.start))\n});\nfunction doChange19(changes, sourceFile, start) {\n  const token = getTokenAtPosition(sourceFile, start);\n  const labeledStatement = cast(token.parent, isLabeledStatement);\n  const pos = token.getStart(sourceFile);\n  const statementPos = labeledStatement.statement.getStart(sourceFile);\n  const end = positionsAreOnSameLine(pos, statementPos, sourceFile) ? statementPos : skipTrivia(sourceFile.text, findChildOfKind(labeledStatement, 58 /* ColonToken */, sourceFile).end, true);\n  changes.deleteRange(sourceFile, { pos, end });\n}\n\n// src/services/codefixes/fixJSDocTypes.ts\nvar fixIdPlain = \"fixJSDocTypes_plain\";\nvar fixIdNullable = \"fixJSDocTypes_nullable\";\nvar errorCodes44 = [Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments.code];\nregisterCodeFix({\n  errorCodes: errorCodes44,\n  getCodeActions(context) {\n    const { sourceFile } = context;\n    const checker = context.program.getTypeChecker();\n    const info = getInfo11(sourceFile, context.span.start, checker);\n    if (!info)\n      return void 0;\n    const { typeNode, type } = info;\n    const original = typeNode.getText(sourceFile);\n    const actions2 = [fix(type, fixIdPlain, Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];\n    if (typeNode.kind === 323 /* JSDocNullableType */) {\n      actions2.push(fix(checker.getNullableType(type, 32768 /* Undefined */), fixIdNullable, Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types));\n    }\n    return actions2;\n    function fix(type2, fixId52, fixAllDescription) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange20(t, sourceFile, typeNode, type2, checker));\n      return createCodeFixAction(\"jdocTypes\", changes, [Diagnostics.Change_0_to_1, original, checker.typeToString(type2)], fixId52, fixAllDescription);\n    }\n  },\n  fixIds: [fixIdPlain, fixIdNullable],\n  getAllCodeActions(context) {\n    const { fixId: fixId52, program, sourceFile } = context;\n    const checker = program.getTypeChecker();\n    return codeFixAll(context, errorCodes44, (changes, err) => {\n      const info = getInfo11(err.file, err.start, checker);\n      if (!info)\n        return;\n      const { typeNode, type } = info;\n      const fixedType = typeNode.kind === 323 /* JSDocNullableType */ && fixId52 === fixIdNullable ? checker.getNullableType(type, 32768 /* Undefined */) : type;\n      doChange20(changes, sourceFile, typeNode, fixedType, checker);\n    });\n  }\n});\nfunction doChange20(changes, sourceFile, oldTypeNode, newType, checker) {\n  changes.replaceNode(sourceFile, oldTypeNode, checker.typeToTypeNode(newType, oldTypeNode, void 0));\n}\nfunction getInfo11(sourceFile, pos, checker) {\n  const decl = findAncestor(getTokenAtPosition(sourceFile, pos), isTypeContainer);\n  const typeNode = decl && decl.type;\n  return typeNode && { typeNode, type: checker.getTypeFromTypeNode(typeNode) };\n}\nfunction isTypeContainer(node) {\n  switch (node.kind) {\n    case 235 /* AsExpression */:\n    case 179 /* CallSignature */:\n    case 180 /* ConstructSignature */:\n    case 263 /* FunctionDeclaration */:\n    case 177 /* GetAccessor */:\n    case 181 /* IndexSignature */:\n    case 200 /* MappedType */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 168 /* Parameter */:\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n    case 178 /* SetAccessor */:\n    case 268 /* TypeAliasDeclaration */:\n    case 216 /* TypeAssertionExpression */:\n    case 261 /* VariableDeclaration */:\n      return true;\n    default:\n      return false;\n  }\n}\n\n// src/services/codefixes/fixMissingCallParentheses.ts\nvar fixId35 = \"fixMissingCallParentheses\";\nvar errorCodes45 = [\n  Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes45,\n  fixIds: [fixId35],\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const callName = getCallName(sourceFile, span.start);\n    if (!callName)\n      return;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange21(t, context.sourceFile, callName));\n    return [createCodeFixAction(fixId35, changes, Diagnostics.Add_missing_call_parentheses, fixId35, Diagnostics.Add_all_missing_call_parentheses)];\n  },\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes45, (changes, diag2) => {\n    const callName = getCallName(diag2.file, diag2.start);\n    if (callName)\n      doChange21(changes, diag2.file, callName);\n  })\n});\nfunction doChange21(changes, sourceFile, name) {\n  changes.replaceNodeWithText(sourceFile, name, `${name.text}()`);\n}\nfunction getCallName(sourceFile, start) {\n  const token = getTokenAtPosition(sourceFile, start);\n  if (isPropertyAccessExpression(token.parent)) {\n    let current = token.parent;\n    while (isPropertyAccessExpression(current.parent)) {\n      current = current.parent;\n    }\n    return current.name;\n  }\n  if (isIdentifier(token)) {\n    return token;\n  }\n  return void 0;\n}\n\n// src/services/codefixes/fixAwaitInSyncFunction.ts\nvar fixId36 = \"fixAwaitInSyncFunction\";\nvar errorCodes46 = [\n  Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,\n  Diagnostics.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,\n  Diagnostics.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes46,\n  getCodeActions(context) {\n    const { sourceFile, span } = context;\n    const nodes = getNodes3(sourceFile, span.start);\n    if (!nodes)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange22(t, sourceFile, nodes));\n    return [createCodeFixAction(fixId36, changes, Diagnostics.Add_async_modifier_to_containing_function, fixId36, Diagnostics.Add_all_missing_async_modifiers)];\n  },\n  fixIds: [fixId36],\n  getAllCodeActions: function getAllCodeActionsToFixAwaitInSyncFunction(context) {\n    const seen = new Map2();\n    return codeFixAll(context, errorCodes46, (changes, diag2) => {\n      const nodes = getNodes3(diag2.file, diag2.start);\n      if (!nodes || !addToSeen(seen, getNodeId(nodes.insertBefore)))\n        return;\n      doChange22(changes, context.sourceFile, nodes);\n    });\n  }\n});\nfunction getReturnType(expr) {\n  if (expr.type) {\n    return expr.type;\n  }\n  if (isVariableDeclaration(expr.parent) && expr.parent.type && isFunctionTypeNode(expr.parent.type)) {\n    return expr.parent.type.type;\n  }\n}\nfunction getNodes3(sourceFile, start) {\n  const token = getTokenAtPosition(sourceFile, start);\n  const containingFunction = getContainingFunction(token);\n  if (!containingFunction) {\n    return;\n  }\n  let insertBefore;\n  switch (containingFunction.kind) {\n    case 174 /* MethodDeclaration */:\n      insertBefore = containingFunction.name;\n      break;\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n      insertBefore = findChildOfKind(containingFunction, 99 /* FunctionKeyword */, sourceFile);\n      break;\n    case 219 /* ArrowFunction */:\n      const kind = containingFunction.typeParameters ? 29 /* LessThanToken */ : 20 /* OpenParenToken */;\n      insertBefore = findChildOfKind(containingFunction, kind, sourceFile) || first(containingFunction.parameters);\n      break;\n    default:\n      return;\n  }\n  return insertBefore && {\n    insertBefore,\n    returnType: getReturnType(containingFunction)\n  };\n}\nfunction doChange22(changes, sourceFile, { insertBefore, returnType }) {\n  if (returnType) {\n    const entityName = getEntityNameFromTypeNode(returnType);\n    if (!entityName || entityName.kind !== 79 /* Identifier */ || entityName.text !== \"Promise\") {\n      changes.replaceNode(sourceFile, returnType, factory.createTypeReferenceNode(\"Promise\", factory.createNodeArray([returnType])));\n    }\n  }\n  changes.insertModifierBefore(sourceFile, 133 /* AsyncKeyword */, insertBefore);\n}\n\n// src/services/codefixes/fixPropertyOverrideAccessor.ts\nvar errorCodes47 = [\n  Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,\n  Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code\n];\nvar fixId37 = \"fixPropertyOverrideAccessor\";\nregisterCodeFix({\n  errorCodes: errorCodes47,\n  getCodeActions(context) {\n    const edits = doChange23(context.sourceFile, context.span.start, context.span.length, context.errorCode, context);\n    if (edits) {\n      return [createCodeFixAction(fixId37, edits, Diagnostics.Generate_get_and_set_accessors, fixId37, Diagnostics.Generate_get_and_set_accessors_for_all_overriding_properties)];\n    }\n  },\n  fixIds: [fixId37],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes47, (changes, diag2) => {\n    const edits = doChange23(diag2.file, diag2.start, diag2.length, diag2.code, context);\n    if (edits) {\n      for (const edit of edits) {\n        changes.pushRaw(context.sourceFile, edit);\n      }\n    }\n  })\n});\nfunction doChange23(file, start, length2, code, context) {\n  let startPosition;\n  let endPosition;\n  if (code === Diagnostics._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code) {\n    startPosition = start;\n    endPosition = start + length2;\n  } else if (code === Diagnostics._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code) {\n    const checker = context.program.getTypeChecker();\n    const node = getTokenAtPosition(file, start).parent;\n    Debug.assert(isAccessor(node), \"error span of fixPropertyOverrideAccessor should only be on an accessor\");\n    const containingClass = node.parent;\n    Debug.assert(isClassLike(containingClass), \"erroneous accessors should only be inside classes\");\n    const base = singleOrUndefined(getAllSupers(containingClass, checker));\n    if (!base)\n      return [];\n    const name = unescapeLeadingUnderscores(getTextOfPropertyName(node.name));\n    const baseProp = checker.getPropertyOfType(checker.getTypeAtLocation(base), name);\n    if (!baseProp || !baseProp.valueDeclaration)\n      return [];\n    startPosition = baseProp.valueDeclaration.pos;\n    endPosition = baseProp.valueDeclaration.end;\n    file = getSourceFileOfNode(baseProp.valueDeclaration);\n  } else {\n    Debug.fail(\"fixPropertyOverrideAccessor codefix got unexpected error code \" + code);\n  }\n  return generateAccessorFromProperty(file, context.program, startPosition, endPosition, context, Diagnostics.Generate_get_and_set_accessors.message);\n}\n\n// src/services/codefixes/inferFromUsage.ts\nvar fixId38 = \"inferFromUsage\";\nvar errorCodes48 = [\n  Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,\n  Diagnostics.Variable_0_implicitly_has_an_1_type.code,\n  Diagnostics.Parameter_0_implicitly_has_an_1_type.code,\n  Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code,\n  Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,\n  Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,\n  Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,\n  Diagnostics.Member_0_implicitly_has_an_1_type.code,\n  Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,\n  Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,\n  Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,\n  Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,\n  Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,\n  Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,\n  Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,\n  Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,\n  Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes48,\n  getCodeActions(context) {\n    const { sourceFile, program, span: { start }, errorCode, cancellationToken, host, preferences } = context;\n    const token = getTokenAtPosition(sourceFile, start);\n    let declaration;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (changes2) => {\n      declaration = doChange24(changes2, sourceFile, token, errorCode, program, cancellationToken, returnTrue, host, preferences);\n    });\n    const name = declaration && getNameOfDeclaration(declaration);\n    return !name || changes.length === 0 ? void 0 : [createCodeFixAction(fixId38, changes, [getDiagnostic(errorCode, token), getTextOfNode(name)], fixId38, Diagnostics.Infer_all_types_from_usage)];\n  },\n  fixIds: [fixId38],\n  getAllCodeActions(context) {\n    const { sourceFile, program, cancellationToken, host, preferences } = context;\n    const markSeen = nodeSeenTracker();\n    return codeFixAll(context, errorCodes48, (changes, err) => {\n      doChange24(changes, sourceFile, getTokenAtPosition(err.file, err.start), err.code, program, cancellationToken, markSeen, host, preferences);\n    });\n  }\n});\nfunction getDiagnostic(errorCode, token) {\n  switch (errorCode) {\n    case Diagnostics.Parameter_0_implicitly_has_an_1_type.code:\n    case Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return isSetAccessorDeclaration(getContainingFunction(token)) ? Diagnostics.Infer_type_of_0_from_usage : Diagnostics.Infer_parameter_types_from_usage;\n    case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:\n    case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics.Infer_parameter_types_from_usage;\n    case Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:\n      return Diagnostics.Infer_this_type_of_0_from_usage;\n    default:\n      return Diagnostics.Infer_type_of_0_from_usage;\n  }\n}\nfunction mapSuggestionDiagnostic(errorCode) {\n  switch (errorCode) {\n    case Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;\n    case Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics.Variable_0_implicitly_has_an_1_type.code;\n    case Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics.Parameter_0_implicitly_has_an_1_type.code;\n    case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code;\n    case Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:\n      return Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;\n    case Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;\n    case Diagnostics.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:\n      return Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;\n    case Diagnostics.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:\n      return Diagnostics.Member_0_implicitly_has_an_1_type.code;\n  }\n  return errorCode;\n}\nfunction doChange24(changes, sourceFile, token, errorCode, program, cancellationToken, markSeen, host, preferences) {\n  if (!isParameterPropertyModifier(token.kind) && token.kind !== 79 /* Identifier */ && token.kind !== 25 /* DotDotDotToken */ && token.kind !== 109 /* ThisKeyword */) {\n    return void 0;\n  }\n  const { parent: parent2 } = token;\n  const importAdder = createImportAdder(sourceFile, program, preferences, host);\n  errorCode = mapSuggestionDiagnostic(errorCode);\n  switch (errorCode) {\n    case Diagnostics.Member_0_implicitly_has_an_1_type.code:\n    case Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:\n      if (isVariableDeclaration(parent2) && markSeen(parent2) || isPropertyDeclaration(parent2) || isPropertySignature(parent2)) {\n        annotateVariableDeclaration(changes, importAdder, sourceFile, parent2, program, host, cancellationToken);\n        importAdder.writeFixes(changes);\n        return parent2;\n      }\n      if (isPropertyAccessExpression(parent2)) {\n        const type = inferTypeForVariableFromUsage(parent2.name, program, cancellationToken);\n        const typeNode = getTypeNodeIfAccessible(type, parent2, program, host);\n        if (typeNode) {\n          const typeTag = factory.createJSDocTypeTag(void 0, factory.createJSDocTypeExpression(typeNode), void 0);\n          changes.addJSDocTags(sourceFile, cast(parent2.parent.parent, isExpressionStatement), [typeTag]);\n        }\n        importAdder.writeFixes(changes);\n        return parent2;\n      }\n      return void 0;\n    case Diagnostics.Variable_0_implicitly_has_an_1_type.code: {\n      const symbol = program.getTypeChecker().getSymbolAtLocation(token);\n      if (symbol && symbol.valueDeclaration && isVariableDeclaration(symbol.valueDeclaration) && markSeen(symbol.valueDeclaration)) {\n        annotateVariableDeclaration(changes, importAdder, getSourceFileOfNode(symbol.valueDeclaration), symbol.valueDeclaration, program, host, cancellationToken);\n        importAdder.writeFixes(changes);\n        return symbol.valueDeclaration;\n      }\n      return void 0;\n    }\n  }\n  const containingFunction = getContainingFunction(token);\n  if (containingFunction === void 0) {\n    return void 0;\n  }\n  let declaration;\n  switch (errorCode) {\n    case Diagnostics.Parameter_0_implicitly_has_an_1_type.code:\n      if (isSetAccessorDeclaration(containingFunction)) {\n        annotateSetAccessor(changes, importAdder, sourceFile, containingFunction, program, host, cancellationToken);\n        declaration = containingFunction;\n        break;\n      }\n    case Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:\n      if (markSeen(containingFunction)) {\n        const param = cast(parent2, isParameter);\n        annotateParameters(changes, importAdder, sourceFile, param, containingFunction, program, host, cancellationToken);\n        declaration = param;\n      }\n      break;\n    case Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:\n    case Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:\n      if (isGetAccessorDeclaration(containingFunction) && isIdentifier(containingFunction.name)) {\n        annotate(changes, importAdder, sourceFile, containingFunction, inferTypeForVariableFromUsage(containingFunction.name, program, cancellationToken), program, host);\n        declaration = containingFunction;\n      }\n      break;\n    case Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:\n      if (isSetAccessorDeclaration(containingFunction)) {\n        annotateSetAccessor(changes, importAdder, sourceFile, containingFunction, program, host, cancellationToken);\n        declaration = containingFunction;\n      }\n      break;\n    case Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:\n      if (ts_textChanges_exports.isThisTypeAnnotatable(containingFunction) && markSeen(containingFunction)) {\n        annotateThis(changes, sourceFile, containingFunction, program, host, cancellationToken);\n        declaration = containingFunction;\n      }\n      break;\n    default:\n      return Debug.fail(String(errorCode));\n  }\n  importAdder.writeFixes(changes);\n  return declaration;\n}\nfunction annotateVariableDeclaration(changes, importAdder, sourceFile, declaration, program, host, cancellationToken) {\n  if (isIdentifier(declaration.name)) {\n    annotate(changes, importAdder, sourceFile, declaration, inferTypeForVariableFromUsage(declaration.name, program, cancellationToken), program, host);\n  }\n}\nfunction annotateParameters(changes, importAdder, sourceFile, parameterDeclaration, containingFunction, program, host, cancellationToken) {\n  if (!isIdentifier(parameterDeclaration.name)) {\n    return;\n  }\n  const parameterInferences = inferTypeForParametersFromUsage(containingFunction, sourceFile, program, cancellationToken);\n  Debug.assert(containingFunction.parameters.length === parameterInferences.length, \"Parameter count and inference count should match\");\n  if (isInJSFile(containingFunction)) {\n    annotateJSDocParameters(changes, sourceFile, parameterInferences, program, host);\n  } else {\n    const needParens = isArrowFunction(containingFunction) && !findChildOfKind(containingFunction, 20 /* OpenParenToken */, sourceFile);\n    if (needParens)\n      changes.insertNodeBefore(sourceFile, first(containingFunction.parameters), factory.createToken(20 /* OpenParenToken */));\n    for (const { declaration, type } of parameterInferences) {\n      if (declaration && !declaration.type && !declaration.initializer) {\n        annotate(changes, importAdder, sourceFile, declaration, type, program, host);\n      }\n    }\n    if (needParens)\n      changes.insertNodeAfter(sourceFile, last(containingFunction.parameters), factory.createToken(21 /* CloseParenToken */));\n  }\n}\nfunction annotateThis(changes, sourceFile, containingFunction, program, host, cancellationToken) {\n  const references = getFunctionReferences(containingFunction, sourceFile, program, cancellationToken);\n  if (!references || !references.length) {\n    return;\n  }\n  const thisInference = inferTypeFromReferences(program, references, cancellationToken).thisParameter();\n  const typeNode = getTypeNodeIfAccessible(thisInference, containingFunction, program, host);\n  if (!typeNode) {\n    return;\n  }\n  if (isInJSFile(containingFunction)) {\n    annotateJSDocThis(changes, sourceFile, containingFunction, typeNode);\n  } else {\n    changes.tryInsertThisTypeAnnotation(sourceFile, containingFunction, typeNode);\n  }\n}\nfunction annotateJSDocThis(changes, sourceFile, containingFunction, typeNode) {\n  changes.addJSDocTags(sourceFile, containingFunction, [\n    factory.createJSDocThisTag(void 0, factory.createJSDocTypeExpression(typeNode))\n  ]);\n}\nfunction annotateSetAccessor(changes, importAdder, sourceFile, setAccessorDeclaration, program, host, cancellationToken) {\n  const param = firstOrUndefined(setAccessorDeclaration.parameters);\n  if (param && isIdentifier(setAccessorDeclaration.name) && isIdentifier(param.name)) {\n    let type = inferTypeForVariableFromUsage(setAccessorDeclaration.name, program, cancellationToken);\n    if (type === program.getTypeChecker().getAnyType()) {\n      type = inferTypeForVariableFromUsage(param.name, program, cancellationToken);\n    }\n    if (isInJSFile(setAccessorDeclaration)) {\n      annotateJSDocParameters(changes, sourceFile, [{ declaration: param, type }], program, host);\n    } else {\n      annotate(changes, importAdder, sourceFile, param, type, program, host);\n    }\n  }\n}\nfunction annotate(changes, importAdder, sourceFile, declaration, type, program, host) {\n  const typeNode = getTypeNodeIfAccessible(type, declaration, program, host);\n  if (typeNode) {\n    if (isInJSFile(sourceFile) && declaration.kind !== 170 /* PropertySignature */) {\n      const parent2 = isVariableDeclaration(declaration) ? tryCast(declaration.parent.parent, isVariableStatement) : declaration;\n      if (!parent2) {\n        return;\n      }\n      const typeExpression = factory.createJSDocTypeExpression(typeNode);\n      const typeTag = isGetAccessorDeclaration(declaration) ? factory.createJSDocReturnTag(void 0, typeExpression, void 0) : factory.createJSDocTypeTag(void 0, typeExpression, void 0);\n      changes.addJSDocTags(sourceFile, parent2, [typeTag]);\n    } else if (!tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, getEmitScriptTarget(program.getCompilerOptions()))) {\n      changes.tryInsertTypeAnnotation(sourceFile, declaration, typeNode);\n    }\n  }\n}\nfunction tryReplaceImportTypeNodeWithAutoImport(typeNode, declaration, sourceFile, changes, importAdder, scriptTarget) {\n  const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);\n  if (importableReference && changes.tryInsertTypeAnnotation(sourceFile, declaration, importableReference.typeNode)) {\n    forEach(importableReference.symbols, (s) => importAdder.addImportFromExportedSymbol(s, true));\n    return true;\n  }\n  return false;\n}\nfunction annotateJSDocParameters(changes, sourceFile, parameterInferences, program, host) {\n  const signature = parameterInferences.length && parameterInferences[0].declaration.parent;\n  if (!signature) {\n    return;\n  }\n  const inferences = mapDefined(parameterInferences, (inference) => {\n    const param = inference.declaration;\n    if (param.initializer || getJSDocType(param) || !isIdentifier(param.name)) {\n      return;\n    }\n    const typeNode = inference.type && getTypeNodeIfAccessible(inference.type, param, program, host);\n    if (typeNode) {\n      const name = factory.cloneNode(param.name);\n      setEmitFlags(name, 1536 /* NoComments */ | 2048 /* NoNestedComments */);\n      return { name: factory.cloneNode(param.name), param, isOptional: !!inference.isOptional, typeNode };\n    }\n  });\n  if (!inferences.length) {\n    return;\n  }\n  if (isArrowFunction(signature) || isFunctionExpression(signature)) {\n    const needParens = isArrowFunction(signature) && !findChildOfKind(signature, 20 /* OpenParenToken */, sourceFile);\n    if (needParens) {\n      changes.insertNodeBefore(sourceFile, first(signature.parameters), factory.createToken(20 /* OpenParenToken */));\n    }\n    forEach(inferences, ({ typeNode, param }) => {\n      const typeTag = factory.createJSDocTypeTag(void 0, factory.createJSDocTypeExpression(typeNode));\n      const jsDoc = factory.createJSDocComment(void 0, [typeTag]);\n      changes.insertNodeAt(sourceFile, param.getStart(sourceFile), jsDoc, { suffix: \" \" });\n    });\n    if (needParens) {\n      changes.insertNodeAfter(sourceFile, last(signature.parameters), factory.createToken(21 /* CloseParenToken */));\n    }\n  } else {\n    const paramTags = map(inferences, ({ name, typeNode, isOptional }) => factory.createJSDocParameterTag(void 0, name, !!isOptional, factory.createJSDocTypeExpression(typeNode), false, void 0));\n    changes.addJSDocTags(sourceFile, signature, paramTags);\n  }\n}\nfunction getReferences(token, program, cancellationToken) {\n  return mapDefined(ts_FindAllReferences_exports.getReferenceEntriesForNode(-1, token, program, program.getSourceFiles(), cancellationToken), (entry) => entry.kind !== ts_FindAllReferences_exports.EntryKind.Span ? tryCast(entry.node, isIdentifier) : void 0);\n}\nfunction inferTypeForVariableFromUsage(token, program, cancellationToken) {\n  const references = getReferences(token, program, cancellationToken);\n  return inferTypeFromReferences(program, references, cancellationToken).single();\n}\nfunction inferTypeForParametersFromUsage(func, sourceFile, program, cancellationToken) {\n  const references = getFunctionReferences(func, sourceFile, program, cancellationToken);\n  return references && inferTypeFromReferences(program, references, cancellationToken).parameters(func) || func.parameters.map((p) => ({\n    declaration: p,\n    type: isIdentifier(p.name) ? inferTypeForVariableFromUsage(p.name, program, cancellationToken) : program.getTypeChecker().getAnyType()\n  }));\n}\nfunction getFunctionReferences(containingFunction, sourceFile, program, cancellationToken) {\n  let searchToken;\n  switch (containingFunction.kind) {\n    case 176 /* Constructor */:\n      searchToken = findChildOfKind(containingFunction, 136 /* ConstructorKeyword */, sourceFile);\n      break;\n    case 219 /* ArrowFunction */:\n    case 218 /* FunctionExpression */:\n      const parent2 = containingFunction.parent;\n      searchToken = (isVariableDeclaration(parent2) || isPropertyDeclaration(parent2)) && isIdentifier(parent2.name) ? parent2.name : containingFunction.name;\n      break;\n    case 263 /* FunctionDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n      searchToken = containingFunction.name;\n      break;\n  }\n  if (!searchToken) {\n    return void 0;\n  }\n  return getReferences(searchToken, program, cancellationToken);\n}\nfunction inferTypeFromReferences(program, references, cancellationToken) {\n  const checker = program.getTypeChecker();\n  const builtinConstructors = {\n    string: () => checker.getStringType(),\n    number: () => checker.getNumberType(),\n    Array: (t) => checker.createArrayType(t),\n    Promise: (t) => checker.createPromiseType(t)\n  };\n  const builtins = [\n    checker.getStringType(),\n    checker.getNumberType(),\n    checker.createArrayType(checker.getAnyType()),\n    checker.createPromiseType(checker.getAnyType())\n  ];\n  return {\n    single: single2,\n    parameters,\n    thisParameter\n  };\n  function createEmptyUsage() {\n    return {\n      isNumber: void 0,\n      isString: void 0,\n      isNumberOrString: void 0,\n      candidateTypes: void 0,\n      properties: void 0,\n      calls: void 0,\n      constructs: void 0,\n      numberIndex: void 0,\n      stringIndex: void 0,\n      candidateThisTypes: void 0,\n      inferredTypes: void 0\n    };\n  }\n  function combineUsages(usages) {\n    const combinedProperties = new Map2();\n    for (const u of usages) {\n      if (u.properties) {\n        u.properties.forEach((p, name) => {\n          if (!combinedProperties.has(name)) {\n            combinedProperties.set(name, []);\n          }\n          combinedProperties.get(name).push(p);\n        });\n      }\n    }\n    const properties = new Map2();\n    combinedProperties.forEach((ps, name) => {\n      properties.set(name, combineUsages(ps));\n    });\n    return {\n      isNumber: usages.some((u) => u.isNumber),\n      isString: usages.some((u) => u.isString),\n      isNumberOrString: usages.some((u) => u.isNumberOrString),\n      candidateTypes: flatMap(usages, (u) => u.candidateTypes),\n      properties,\n      calls: flatMap(usages, (u) => u.calls),\n      constructs: flatMap(usages, (u) => u.constructs),\n      numberIndex: forEach(usages, (u) => u.numberIndex),\n      stringIndex: forEach(usages, (u) => u.stringIndex),\n      candidateThisTypes: flatMap(usages, (u) => u.candidateThisTypes),\n      inferredTypes: void 0\n    };\n  }\n  function single2() {\n    return combineTypes(inferTypesFromReferencesSingle(references));\n  }\n  function parameters(declaration) {\n    if (references.length === 0 || !declaration.parameters) {\n      return void 0;\n    }\n    const usage = createEmptyUsage();\n    for (const reference of references) {\n      cancellationToken.throwIfCancellationRequested();\n      calculateUsageOfNode(reference, usage);\n    }\n    const calls = [...usage.constructs || [], ...usage.calls || []];\n    return declaration.parameters.map((parameter, parameterIndex) => {\n      const types = [];\n      const isRest = isRestParameter(parameter);\n      let isOptional = false;\n      for (const call of calls) {\n        if (call.argumentTypes.length <= parameterIndex) {\n          isOptional = isInJSFile(declaration);\n          types.push(checker.getUndefinedType());\n        } else if (isRest) {\n          for (let i = parameterIndex; i < call.argumentTypes.length; i++) {\n            types.push(checker.getBaseTypeOfLiteralType(call.argumentTypes[i]));\n          }\n        } else {\n          types.push(checker.getBaseTypeOfLiteralType(call.argumentTypes[parameterIndex]));\n        }\n      }\n      if (isIdentifier(parameter.name)) {\n        const inferred = inferTypesFromReferencesSingle(getReferences(parameter.name, program, cancellationToken));\n        types.push(...isRest ? mapDefined(inferred, checker.getElementTypeOfArrayType) : inferred);\n      }\n      const type = combineTypes(types);\n      return {\n        type: isRest ? checker.createArrayType(type) : type,\n        isOptional: isOptional && !isRest,\n        declaration: parameter\n      };\n    });\n  }\n  function thisParameter() {\n    const usage = createEmptyUsage();\n    for (const reference of references) {\n      cancellationToken.throwIfCancellationRequested();\n      calculateUsageOfNode(reference, usage);\n    }\n    return combineTypes(usage.candidateThisTypes || emptyArray);\n  }\n  function inferTypesFromReferencesSingle(references2) {\n    const usage = createEmptyUsage();\n    for (const reference of references2) {\n      cancellationToken.throwIfCancellationRequested();\n      calculateUsageOfNode(reference, usage);\n    }\n    return inferTypes(usage);\n  }\n  function calculateUsageOfNode(node, usage) {\n    while (isRightSideOfQualifiedNameOrPropertyAccess(node)) {\n      node = node.parent;\n    }\n    switch (node.parent.kind) {\n      case 245 /* ExpressionStatement */:\n        inferTypeFromExpressionStatement(node, usage);\n        break;\n      case 226 /* PostfixUnaryExpression */:\n        usage.isNumber = true;\n        break;\n      case 225 /* PrefixUnaryExpression */:\n        inferTypeFromPrefixUnaryExpression(node.parent, usage);\n        break;\n      case 227 /* BinaryExpression */:\n        inferTypeFromBinaryExpression(node, node.parent, usage);\n        break;\n      case 298 /* CaseClause */:\n      case 299 /* DefaultClause */:\n        inferTypeFromSwitchStatementLabel(node.parent, usage);\n        break;\n      case 213 /* CallExpression */:\n      case 214 /* NewExpression */:\n        if (node.parent.expression === node) {\n          inferTypeFromCallExpression(node.parent, usage);\n        } else {\n          inferTypeFromContextualType(node, usage);\n        }\n        break;\n      case 211 /* PropertyAccessExpression */:\n        inferTypeFromPropertyAccessExpression(node.parent, usage);\n        break;\n      case 212 /* ElementAccessExpression */:\n        inferTypeFromPropertyElementExpression(node.parent, node, usage);\n        break;\n      case 305 /* PropertyAssignment */:\n      case 306 /* ShorthandPropertyAssignment */:\n        inferTypeFromPropertyAssignment(node.parent, usage);\n        break;\n      case 171 /* PropertyDeclaration */:\n        inferTypeFromPropertyDeclaration(node.parent, usage);\n        break;\n      case 261 /* VariableDeclaration */: {\n        const { name, initializer } = node.parent;\n        if (node === name) {\n          if (initializer) {\n            addCandidateType(usage, checker.getTypeAtLocation(initializer));\n          }\n          break;\n        }\n      }\n      default:\n        return inferTypeFromContextualType(node, usage);\n    }\n  }\n  function inferTypeFromContextualType(node, usage) {\n    if (isExpressionNode(node)) {\n      addCandidateType(usage, checker.getContextualType(node));\n    }\n  }\n  function inferTypeFromExpressionStatement(node, usage) {\n    addCandidateType(usage, isCallExpression(node) ? checker.getVoidType() : checker.getAnyType());\n  }\n  function inferTypeFromPrefixUnaryExpression(node, usage) {\n    switch (node.operator) {\n      case 45 /* PlusPlusToken */:\n      case 46 /* MinusMinusToken */:\n      case 40 /* MinusToken */:\n      case 54 /* TildeToken */:\n        usage.isNumber = true;\n        break;\n      case 39 /* PlusToken */:\n        usage.isNumberOrString = true;\n        break;\n    }\n  }\n  function inferTypeFromBinaryExpression(node, parent2, usage) {\n    switch (parent2.operatorToken.kind) {\n      case 42 /* AsteriskAsteriskToken */:\n      case 41 /* AsteriskToken */:\n      case 43 /* SlashToken */:\n      case 44 /* PercentToken */:\n      case 47 /* LessThanLessThanToken */:\n      case 48 /* GreaterThanGreaterThanToken */:\n      case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n      case 50 /* AmpersandToken */:\n      case 51 /* BarToken */:\n      case 52 /* CaretToken */:\n      case 65 /* MinusEqualsToken */:\n      case 67 /* AsteriskAsteriskEqualsToken */:\n      case 66 /* AsteriskEqualsToken */:\n      case 68 /* SlashEqualsToken */:\n      case 69 /* PercentEqualsToken */:\n      case 73 /* AmpersandEqualsToken */:\n      case 74 /* BarEqualsToken */:\n      case 78 /* CaretEqualsToken */:\n      case 70 /* LessThanLessThanEqualsToken */:\n      case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n      case 71 /* GreaterThanGreaterThanEqualsToken */:\n      case 40 /* MinusToken */:\n      case 29 /* LessThanToken */:\n      case 32 /* LessThanEqualsToken */:\n      case 31 /* GreaterThanToken */:\n      case 33 /* GreaterThanEqualsToken */:\n        const operandType = checker.getTypeAtLocation(parent2.left === node ? parent2.right : parent2.left);\n        if (operandType.flags & 1056 /* EnumLike */) {\n          addCandidateType(usage, operandType);\n        } else {\n          usage.isNumber = true;\n        }\n        break;\n      case 64 /* PlusEqualsToken */:\n      case 39 /* PlusToken */:\n        const otherOperandType = checker.getTypeAtLocation(parent2.left === node ? parent2.right : parent2.left);\n        if (otherOperandType.flags & 1056 /* EnumLike */) {\n          addCandidateType(usage, otherOperandType);\n        } else if (otherOperandType.flags & 296 /* NumberLike */) {\n          usage.isNumber = true;\n        } else if (otherOperandType.flags & 402653316 /* StringLike */) {\n          usage.isString = true;\n        } else if (otherOperandType.flags & 1 /* Any */) {\n        } else {\n          usage.isNumberOrString = true;\n        }\n        break;\n      case 63 /* EqualsToken */:\n      case 34 /* EqualsEqualsToken */:\n      case 36 /* EqualsEqualsEqualsToken */:\n      case 37 /* ExclamationEqualsEqualsToken */:\n      case 35 /* ExclamationEqualsToken */:\n        addCandidateType(usage, checker.getTypeAtLocation(parent2.left === node ? parent2.right : parent2.left));\n        break;\n      case 102 /* InKeyword */:\n        if (node === parent2.left) {\n          usage.isString = true;\n        }\n        break;\n      case 56 /* BarBarToken */:\n      case 60 /* QuestionQuestionToken */:\n        if (node === parent2.left && (node.parent.parent.kind === 261 /* VariableDeclaration */ || isAssignmentExpression(node.parent.parent, true))) {\n          addCandidateType(usage, checker.getTypeAtLocation(parent2.right));\n        }\n        break;\n      case 55 /* AmpersandAmpersandToken */:\n      case 27 /* CommaToken */:\n      case 103 /* InstanceOfKeyword */:\n        break;\n    }\n  }\n  function inferTypeFromSwitchStatementLabel(parent2, usage) {\n    addCandidateType(usage, checker.getTypeAtLocation(parent2.parent.parent.expression));\n  }\n  function inferTypeFromCallExpression(parent2, usage) {\n    const call = {\n      argumentTypes: [],\n      return_: createEmptyUsage()\n    };\n    if (parent2.arguments) {\n      for (const argument of parent2.arguments) {\n        call.argumentTypes.push(checker.getTypeAtLocation(argument));\n      }\n    }\n    calculateUsageOfNode(parent2, call.return_);\n    if (parent2.kind === 213 /* CallExpression */) {\n      (usage.calls || (usage.calls = [])).push(call);\n    } else {\n      (usage.constructs || (usage.constructs = [])).push(call);\n    }\n  }\n  function inferTypeFromPropertyAccessExpression(parent2, usage) {\n    const name = escapeLeadingUnderscores(parent2.name.text);\n    if (!usage.properties) {\n      usage.properties = new Map2();\n    }\n    const propertyUsage = usage.properties.get(name) || createEmptyUsage();\n    calculateUsageOfNode(parent2, propertyUsage);\n    usage.properties.set(name, propertyUsage);\n  }\n  function inferTypeFromPropertyElementExpression(parent2, node, usage) {\n    if (node === parent2.argumentExpression) {\n      usage.isNumberOrString = true;\n      return;\n    } else {\n      const indexType = checker.getTypeAtLocation(parent2.argumentExpression);\n      const indexUsage = createEmptyUsage();\n      calculateUsageOfNode(parent2, indexUsage);\n      if (indexType.flags & 296 /* NumberLike */) {\n        usage.numberIndex = indexUsage;\n      } else {\n        usage.stringIndex = indexUsage;\n      }\n    }\n  }\n  function inferTypeFromPropertyAssignment(assignment, usage) {\n    const nodeWithRealType = isVariableDeclaration(assignment.parent.parent) ? assignment.parent.parent : assignment.parent;\n    addCandidateThisType(usage, checker.getTypeAtLocation(nodeWithRealType));\n  }\n  function inferTypeFromPropertyDeclaration(declaration, usage) {\n    addCandidateThisType(usage, checker.getTypeAtLocation(declaration.parent));\n  }\n  function removeLowPriorityInferences(inferences, priorities) {\n    const toRemove = [];\n    for (const i of inferences) {\n      for (const { high, low } of priorities) {\n        if (high(i)) {\n          Debug.assert(!low(i), \"Priority can't have both low and high\");\n          toRemove.push(low);\n        }\n      }\n    }\n    return inferences.filter((i) => toRemove.every((f) => !f(i)));\n  }\n  function combineFromUsage(usage) {\n    return combineTypes(inferTypes(usage));\n  }\n  function combineTypes(inferences) {\n    if (!inferences.length)\n      return checker.getAnyType();\n    const stringNumber = checker.getUnionType([checker.getStringType(), checker.getNumberType()]);\n    const priorities = [\n      {\n        high: (t) => t === checker.getStringType() || t === checker.getNumberType(),\n        low: (t) => t === stringNumber\n      },\n      {\n        high: (t) => !(t.flags & (1 /* Any */ | 16384 /* Void */)),\n        low: (t) => !!(t.flags & (1 /* Any */ | 16384 /* Void */))\n      },\n      {\n        high: (t) => !(t.flags & (98304 /* Nullable */ | 1 /* Any */ | 16384 /* Void */)) && !(getObjectFlags(t) & 16 /* Anonymous */),\n        low: (t) => !!(getObjectFlags(t) & 16 /* Anonymous */)\n      }\n    ];\n    let good = removeLowPriorityInferences(inferences, priorities);\n    const anons = good.filter((i) => getObjectFlags(i) & 16 /* Anonymous */);\n    if (anons.length) {\n      good = good.filter((i) => !(getObjectFlags(i) & 16 /* Anonymous */));\n      good.push(combineAnonymousTypes(anons));\n    }\n    return checker.getWidenedType(checker.getUnionType(good.map(checker.getBaseTypeOfLiteralType), 2 /* Subtype */));\n  }\n  function combineAnonymousTypes(anons) {\n    if (anons.length === 1) {\n      return anons[0];\n    }\n    const calls = [];\n    const constructs = [];\n    const stringIndices = [];\n    const numberIndices = [];\n    let stringIndexReadonly = false;\n    let numberIndexReadonly = false;\n    const props = createMultiMap();\n    for (const anon2 of anons) {\n      for (const p of checker.getPropertiesOfType(anon2)) {\n        props.add(p.name, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());\n      }\n      calls.push(...checker.getSignaturesOfType(anon2, 0 /* Call */));\n      constructs.push(...checker.getSignaturesOfType(anon2, 1 /* Construct */));\n      const stringIndexInfo = checker.getIndexInfoOfType(anon2, 0 /* String */);\n      if (stringIndexInfo) {\n        stringIndices.push(stringIndexInfo.type);\n        stringIndexReadonly = stringIndexReadonly || stringIndexInfo.isReadonly;\n      }\n      const numberIndexInfo = checker.getIndexInfoOfType(anon2, 1 /* Number */);\n      if (numberIndexInfo) {\n        numberIndices.push(numberIndexInfo.type);\n        numberIndexReadonly = numberIndexReadonly || numberIndexInfo.isReadonly;\n      }\n    }\n    const members = mapEntries(props, (name, types) => {\n      const isOptional = types.length < anons.length ? 16777216 /* Optional */ : 0;\n      const s = checker.createSymbol(4 /* Property */ | isOptional, name);\n      s.type = checker.getUnionType(types);\n      return [name, s];\n    });\n    const indexInfos = [];\n    if (stringIndices.length)\n      indexInfos.push(checker.createIndexInfo(checker.getStringType(), checker.getUnionType(stringIndices), stringIndexReadonly));\n    if (numberIndices.length)\n      indexInfos.push(checker.createIndexInfo(checker.getNumberType(), checker.getUnionType(numberIndices), numberIndexReadonly));\n    return checker.createAnonymousType(\n      anons[0].symbol,\n      members,\n      calls,\n      constructs,\n      indexInfos\n    );\n  }\n  function inferTypes(usage) {\n    var _a2, _b, _c;\n    const types = [];\n    if (usage.isNumber) {\n      types.push(checker.getNumberType());\n    }\n    if (usage.isString) {\n      types.push(checker.getStringType());\n    }\n    if (usage.isNumberOrString) {\n      types.push(checker.getUnionType([checker.getStringType(), checker.getNumberType()]));\n    }\n    if (usage.numberIndex) {\n      types.push(checker.createArrayType(combineFromUsage(usage.numberIndex)));\n    }\n    if (((_a2 = usage.properties) == null ? void 0 : _a2.size) || ((_b = usage.constructs) == null ? void 0 : _b.length) || usage.stringIndex) {\n      types.push(inferStructuralType(usage));\n    }\n    const candidateTypes = (usage.candidateTypes || []).map((t) => checker.getBaseTypeOfLiteralType(t));\n    const callsType = ((_c = usage.calls) == null ? void 0 : _c.length) ? inferStructuralType(usage) : void 0;\n    if (callsType && candidateTypes) {\n      types.push(checker.getUnionType([callsType, ...candidateTypes], 2 /* Subtype */));\n    } else {\n      if (callsType) {\n        types.push(callsType);\n      }\n      if (length(candidateTypes)) {\n        types.push(...candidateTypes);\n      }\n    }\n    types.push(...inferNamedTypesFromProperties(usage));\n    return types;\n  }\n  function inferStructuralType(usage) {\n    const members = new Map2();\n    if (usage.properties) {\n      usage.properties.forEach((u, name) => {\n        const symbol = checker.createSymbol(4 /* Property */, name);\n        symbol.type = combineFromUsage(u);\n        members.set(name, symbol);\n      });\n    }\n    const callSignatures = usage.calls ? [getSignatureFromCalls(usage.calls)] : [];\n    const constructSignatures = usage.constructs ? [getSignatureFromCalls(usage.constructs)] : [];\n    const indexInfos = usage.stringIndex ? [checker.createIndexInfo(checker.getStringType(), combineFromUsage(usage.stringIndex), false)] : [];\n    return checker.createAnonymousType(void 0, members, callSignatures, constructSignatures, indexInfos);\n  }\n  function inferNamedTypesFromProperties(usage) {\n    if (!usage.properties || !usage.properties.size)\n      return [];\n    const types = builtins.filter((t) => allPropertiesAreAssignableToUsage(t, usage));\n    if (0 < types.length && types.length < 3) {\n      return types.map((t) => inferInstantiationFromUsage(t, usage));\n    }\n    return [];\n  }\n  function allPropertiesAreAssignableToUsage(type, usage) {\n    if (!usage.properties)\n      return false;\n    return !forEachEntry(usage.properties, (propUsage, name) => {\n      const source = checker.getTypeOfPropertyOfType(type, name);\n      if (!source) {\n        return true;\n      }\n      if (propUsage.calls) {\n        const sigs = checker.getSignaturesOfType(source, 0 /* Call */);\n        return !sigs.length || !checker.isTypeAssignableTo(source, getFunctionFromCalls(propUsage.calls));\n      } else {\n        return !checker.isTypeAssignableTo(source, combineFromUsage(propUsage));\n      }\n    });\n  }\n  function inferInstantiationFromUsage(type, usage) {\n    if (!(getObjectFlags(type) & 4 /* Reference */) || !usage.properties) {\n      return type;\n    }\n    const generic = type.target;\n    const singleTypeParameter = singleOrUndefined(generic.typeParameters);\n    if (!singleTypeParameter)\n      return type;\n    const types = [];\n    usage.properties.forEach((propUsage, name) => {\n      const genericPropertyType = checker.getTypeOfPropertyOfType(generic, name);\n      Debug.assert(!!genericPropertyType, \"generic should have all the properties of its reference.\");\n      types.push(...inferTypeParameters(genericPropertyType, combineFromUsage(propUsage), singleTypeParameter));\n    });\n    return builtinConstructors[type.symbol.escapedName](combineTypes(types));\n  }\n  function inferTypeParameters(genericType, usageType, typeParameter) {\n    if (genericType === typeParameter) {\n      return [usageType];\n    } else if (genericType.flags & 3145728 /* UnionOrIntersection */) {\n      return flatMap(genericType.types, (t) => inferTypeParameters(t, usageType, typeParameter));\n    } else if (getObjectFlags(genericType) & 4 /* Reference */ && getObjectFlags(usageType) & 4 /* Reference */) {\n      const genericArgs = checker.getTypeArguments(genericType);\n      const usageArgs = checker.getTypeArguments(usageType);\n      const types = [];\n      if (genericArgs && usageArgs) {\n        for (let i = 0; i < genericArgs.length; i++) {\n          if (usageArgs[i]) {\n            types.push(...inferTypeParameters(genericArgs[i], usageArgs[i], typeParameter));\n          }\n        }\n      }\n      return types;\n    }\n    const genericSigs = checker.getSignaturesOfType(genericType, 0 /* Call */);\n    const usageSigs = checker.getSignaturesOfType(usageType, 0 /* Call */);\n    if (genericSigs.length === 1 && usageSigs.length === 1) {\n      return inferFromSignatures(genericSigs[0], usageSigs[0], typeParameter);\n    }\n    return [];\n  }\n  function inferFromSignatures(genericSig, usageSig, typeParameter) {\n    const types = [];\n    for (let i = 0; i < genericSig.parameters.length; i++) {\n      const genericParam = genericSig.parameters[i];\n      const usageParam = usageSig.parameters[i];\n      const isRest = genericSig.declaration && isRestParameter(genericSig.declaration.parameters[i]);\n      if (!usageParam) {\n        break;\n      }\n      let genericParamType = genericParam.valueDeclaration ? checker.getTypeOfSymbolAtLocation(genericParam, genericParam.valueDeclaration) : checker.getAnyType();\n      const elementType = isRest && checker.getElementTypeOfArrayType(genericParamType);\n      if (elementType) {\n        genericParamType = elementType;\n      }\n      const targetType = usageParam.type || (usageParam.valueDeclaration ? checker.getTypeOfSymbolAtLocation(usageParam, usageParam.valueDeclaration) : checker.getAnyType());\n      types.push(...inferTypeParameters(genericParamType, targetType, typeParameter));\n    }\n    const genericReturn = checker.getReturnTypeOfSignature(genericSig);\n    const usageReturn = checker.getReturnTypeOfSignature(usageSig);\n    types.push(...inferTypeParameters(genericReturn, usageReturn, typeParameter));\n    return types;\n  }\n  function getFunctionFromCalls(calls) {\n    return checker.createAnonymousType(void 0, createSymbolTable(), [getSignatureFromCalls(calls)], emptyArray, emptyArray);\n  }\n  function getSignatureFromCalls(calls) {\n    const parameters2 = [];\n    const length2 = Math.max(...calls.map((c) => c.argumentTypes.length));\n    for (let i = 0; i < length2; i++) {\n      const symbol = checker.createSymbol(1 /* FunctionScopedVariable */, escapeLeadingUnderscores(`arg${i}`));\n      symbol.type = combineTypes(calls.map((call) => call.argumentTypes[i] || checker.getUndefinedType()));\n      if (calls.some((call) => call.argumentTypes[i] === void 0)) {\n        symbol.flags |= 16777216 /* Optional */;\n      }\n      parameters2.push(symbol);\n    }\n    const returnType = combineFromUsage(combineUsages(calls.map((call) => call.return_)));\n    return checker.createSignature(void 0, void 0, void 0, parameters2, returnType, void 0, length2, 0 /* None */);\n  }\n  function addCandidateType(usage, type) {\n    if (type && !(type.flags & 1 /* Any */) && !(type.flags & 131072 /* Never */)) {\n      (usage.candidateTypes || (usage.candidateTypes = [])).push(type);\n    }\n  }\n  function addCandidateThisType(usage, type) {\n    if (type && !(type.flags & 1 /* Any */) && !(type.flags & 131072 /* Never */)) {\n      (usage.candidateThisTypes || (usage.candidateThisTypes = [])).push(type);\n    }\n  }\n}\n\n// src/services/codefixes/fixReturnTypeInAsyncFunction.ts\nvar fixId39 = \"fixReturnTypeInAsyncFunction\";\nvar errorCodes49 = [\n  Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes49,\n  fixIds: [fixId39],\n  getCodeActions: function getCodeActionsToFixReturnTypeInAsyncFunction(context) {\n    const { sourceFile, program, span } = context;\n    const checker = program.getTypeChecker();\n    const info = getInfo12(sourceFile, program.getTypeChecker(), span.start);\n    if (!info) {\n      return void 0;\n    }\n    const { returnTypeNode, returnType, promisedTypeNode, promisedType } = info;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange25(t, sourceFile, returnTypeNode, promisedTypeNode));\n    return [createCodeFixAction(\n      fixId39,\n      changes,\n      [\n        Diagnostics.Replace_0_with_Promise_1,\n        checker.typeToString(returnType),\n        checker.typeToString(promisedType)\n      ],\n      fixId39,\n      Diagnostics.Fix_all_incorrect_return_type_of_an_async_functions\n    )];\n  },\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes49, (changes, diag2) => {\n    const info = getInfo12(diag2.file, context.program.getTypeChecker(), diag2.start);\n    if (info) {\n      doChange25(changes, diag2.file, info.returnTypeNode, info.promisedTypeNode);\n    }\n  })\n});\nfunction getInfo12(sourceFile, checker, pos) {\n  if (isInJSFile(sourceFile)) {\n    return void 0;\n  }\n  const token = getTokenAtPosition(sourceFile, pos);\n  const func = findAncestor(token, isFunctionLikeDeclaration);\n  const returnTypeNode = func == null ? void 0 : func.type;\n  if (!returnTypeNode) {\n    return void 0;\n  }\n  const returnType = checker.getTypeFromTypeNode(returnTypeNode);\n  const promisedType = checker.getAwaitedType(returnType) || checker.getVoidType();\n  const promisedTypeNode = checker.typeToTypeNode(promisedType, returnTypeNode, void 0);\n  if (promisedTypeNode) {\n    return { returnTypeNode, returnType, promisedTypeNode, promisedType };\n  }\n}\nfunction doChange25(changes, sourceFile, returnTypeNode, promisedTypeNode) {\n  changes.replaceNode(sourceFile, returnTypeNode, factory.createTypeReferenceNode(\"Promise\", [promisedTypeNode]));\n}\n\n// src/services/codefixes/disableJsDiagnostics.ts\nvar fixName4 = \"disableJsDiagnostics\";\nvar fixId40 = \"disableJsDiagnostics\";\nvar errorCodes50 = mapDefined(Object.keys(Diagnostics), (key) => {\n  const diag2 = Diagnostics[key];\n  return diag2.category === 1 /* Error */ ? diag2.code : void 0;\n});\nregisterCodeFix({\n  errorCodes: errorCodes50,\n  getCodeActions: function getCodeActionsToDisableJsDiagnostics(context) {\n    const { sourceFile, program, span, host, formatContext } = context;\n    if (!isInJSFile(sourceFile) || !isCheckJsEnabledForFile(sourceFile, program.getCompilerOptions())) {\n      return void 0;\n    }\n    const newLineCharacter = sourceFile.checkJsDirective ? \"\" : getNewLineOrDefaultFromHost(host, formatContext.options);\n    const fixes = [\n      createCodeFixActionWithoutFixAll(\n        fixName4,\n        [createFileTextChanges(sourceFile.fileName, [\n          createTextChange(sourceFile.checkJsDirective ? createTextSpanFromBounds(sourceFile.checkJsDirective.pos, sourceFile.checkJsDirective.end) : createTextSpan(0, 0), `// @ts-nocheck${newLineCharacter}`)\n        ])],\n        Diagnostics.Disable_checking_for_this_file\n      )\n    ];\n    if (ts_textChanges_exports.isValidLocationToAddComment(sourceFile, span.start)) {\n      fixes.unshift(createCodeFixAction(fixName4, ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange8(t, sourceFile, span.start)), Diagnostics.Ignore_this_error_message, fixId40, Diagnostics.Add_ts_ignore_to_all_error_messages));\n    }\n    return fixes;\n  },\n  fixIds: [fixId40],\n  getAllCodeActions: (context) => {\n    const seenLines = new Set2();\n    return codeFixAll(context, errorCodes50, (changes, diag2) => {\n      if (ts_textChanges_exports.isValidLocationToAddComment(diag2.file, diag2.start)) {\n        makeChange8(changes, diag2.file, diag2.start, seenLines);\n      }\n    });\n  }\n});\nfunction makeChange8(changes, sourceFile, position, seenLines) {\n  const { line: lineNumber } = getLineAndCharacterOfPosition(sourceFile, position);\n  if (!seenLines || tryAddToSet(seenLines, lineNumber)) {\n    changes.insertCommentBeforeLine(sourceFile, lineNumber, position, \" @ts-ignore\");\n  }\n}\n\n// src/services/codefixes/helpers.ts\nfunction createMissingMemberNodes(classDeclaration, possiblyMissingSymbols, sourceFile, context, preferences, importAdder, addClassElement) {\n  const classMembers = classDeclaration.symbol.members;\n  for (const symbol of possiblyMissingSymbols) {\n    if (!classMembers.has(symbol.escapedName)) {\n      addNewNodeForMemberSymbol(symbol, classDeclaration, sourceFile, context, preferences, importAdder, addClassElement, void 0);\n    }\n  }\n}\nfunction getNoopSymbolTrackerWithResolver(context) {\n  return {\n    trackSymbol: () => false,\n    moduleResolverHost: getModuleSpecifierResolverHost(context.program, context.host)\n  };\n}\nvar PreserveOptionalFlags = /* @__PURE__ */ ((PreserveOptionalFlags2) => {\n  PreserveOptionalFlags2[PreserveOptionalFlags2[\"Method\"] = 1] = \"Method\";\n  PreserveOptionalFlags2[PreserveOptionalFlags2[\"Property\"] = 2] = \"Property\";\n  PreserveOptionalFlags2[PreserveOptionalFlags2[\"All\"] = 3] = \"All\";\n  return PreserveOptionalFlags2;\n})(PreserveOptionalFlags || {});\nfunction addNewNodeForMemberSymbol(symbol, enclosingDeclaration, sourceFile, context, preferences, importAdder, addClassElement, body, preserveOptional = 3 /* All */, isAmbient = false) {\n  var _a2;\n  const declarations = symbol.getDeclarations();\n  const declaration = declarations == null ? void 0 : declarations[0];\n  const checker = context.program.getTypeChecker();\n  const scriptTarget = getEmitScriptTarget(context.program.getCompilerOptions());\n  const kind = (_a2 = declaration == null ? void 0 : declaration.kind) != null ? _a2 : 170 /* PropertySignature */;\n  const declarationName = getSynthesizedDeepClone(getNameOfDeclaration(declaration), false);\n  const effectiveModifierFlags = declaration ? getEffectiveModifierFlags(declaration) : 0 /* None */;\n  let modifierFlags = effectiveModifierFlags & 4 /* Public */ ? 4 /* Public */ : effectiveModifierFlags & 16 /* Protected */ ? 16 /* Protected */ : 0 /* None */;\n  if (declaration && isAutoAccessorPropertyDeclaration(declaration)) {\n    modifierFlags |= 128 /* Accessor */;\n  }\n  const modifiers = modifierFlags ? factory.createNodeArray(factory.createModifiersFromModifierFlags(modifierFlags)) : void 0;\n  const type = checker.getWidenedType(checker.getTypeOfSymbolAtLocation(symbol, enclosingDeclaration));\n  const optional = !!(symbol.flags & 16777216 /* Optional */);\n  const ambient = !!(enclosingDeclaration.flags & 16777216 /* Ambient */) || isAmbient;\n  const quotePreference = getQuotePreference(sourceFile, preferences);\n  switch (kind) {\n    case 170 /* PropertySignature */:\n    case 171 /* PropertyDeclaration */:\n      const flags = quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : void 0;\n      let typeNode = checker.typeToTypeNode(type, enclosingDeclaration, flags, getNoopSymbolTrackerWithResolver(context));\n      if (importAdder) {\n        const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);\n        if (importableReference) {\n          typeNode = importableReference.typeNode;\n          importSymbols(importAdder, importableReference.symbols);\n        }\n      }\n      addClassElement(factory.createPropertyDeclaration(\n        modifiers,\n        declaration ? createName(declarationName) : symbol.getName(),\n        optional && preserveOptional & 2 /* Property */ ? factory.createToken(57 /* QuestionToken */) : void 0,\n        typeNode,\n        void 0\n      ));\n      break;\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */: {\n      Debug.assertIsDefined(declarations);\n      let typeNode2 = checker.typeToTypeNode(type, enclosingDeclaration, void 0, getNoopSymbolTrackerWithResolver(context));\n      const allAccessors = getAllAccessorDeclarations(declarations, declaration);\n      const orderedAccessors = allAccessors.secondAccessor ? [allAccessors.firstAccessor, allAccessors.secondAccessor] : [allAccessors.firstAccessor];\n      if (importAdder) {\n        const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode2, scriptTarget);\n        if (importableReference) {\n          typeNode2 = importableReference.typeNode;\n          importSymbols(importAdder, importableReference.symbols);\n        }\n      }\n      for (const accessor of orderedAccessors) {\n        if (isGetAccessorDeclaration(accessor)) {\n          addClassElement(factory.createGetAccessorDeclaration(\n            modifiers,\n            createName(declarationName),\n            emptyArray,\n            createTypeNode(typeNode2),\n            createBody(body, quotePreference, ambient)\n          ));\n        } else {\n          Debug.assertNode(accessor, isSetAccessorDeclaration, \"The counterpart to a getter should be a setter\");\n          const parameter = getSetAccessorValueParameter(accessor);\n          const parameterName = parameter && isIdentifier(parameter.name) ? idText(parameter.name) : void 0;\n          addClassElement(factory.createSetAccessorDeclaration(\n            modifiers,\n            createName(declarationName),\n            createDummyParameters(1, [parameterName], [createTypeNode(typeNode2)], 1, false),\n            createBody(body, quotePreference, ambient)\n          ));\n        }\n      }\n      break;\n    }\n    case 173 /* MethodSignature */:\n    case 174 /* MethodDeclaration */:\n      Debug.assertIsDefined(declarations);\n      const signatures = type.isUnion() ? flatMap(type.types, (t) => t.getCallSignatures()) : type.getCallSignatures();\n      if (!some(signatures)) {\n        break;\n      }\n      if (declarations.length === 1) {\n        Debug.assert(signatures.length === 1, \"One declaration implies one signature\");\n        const signature = signatures[0];\n        outputMethod(quotePreference, signature, modifiers, createName(declarationName), createBody(body, quotePreference, ambient));\n        break;\n      }\n      for (const signature of signatures) {\n        outputMethod(quotePreference, signature, modifiers, createName(declarationName));\n      }\n      if (!ambient) {\n        if (declarations.length > signatures.length) {\n          const signature = checker.getSignatureFromDeclaration(declarations[declarations.length - 1]);\n          outputMethod(quotePreference, signature, modifiers, createName(declarationName), createBody(body, quotePreference));\n        } else {\n          Debug.assert(declarations.length === signatures.length, \"Declarations and signatures should match count\");\n          addClassElement(createMethodImplementingSignatures(checker, context, enclosingDeclaration, signatures, createName(declarationName), optional && !!(preserveOptional & 1 /* Method */), modifiers, quotePreference, body));\n        }\n      }\n      break;\n  }\n  function outputMethod(quotePreference2, signature, modifiers2, name, body2) {\n    const method = createSignatureDeclarationFromSignature(174 /* MethodDeclaration */, context, quotePreference2, signature, body2, name, modifiers2, optional && !!(preserveOptional & 1 /* Method */), enclosingDeclaration, importAdder);\n    if (method)\n      addClassElement(method);\n  }\n  function createName(node) {\n    return getSynthesizedDeepClone(node, false);\n  }\n  function createBody(block, quotePreference2, ambient2) {\n    return ambient2 ? void 0 : getSynthesizedDeepClone(block, false) || createStubbedMethodBody(quotePreference2);\n  }\n  function createTypeNode(typeNode) {\n    return getSynthesizedDeepClone(typeNode, false);\n  }\n}\nfunction createSignatureDeclarationFromSignature(kind, context, quotePreference, signature, body, name, modifiers, optional, enclosingDeclaration, importAdder) {\n  const program = context.program;\n  const checker = program.getTypeChecker();\n  const scriptTarget = getEmitScriptTarget(program.getCompilerOptions());\n  const flags = 1 /* NoTruncation */ | 256 /* SuppressAnyReturnType */ | 524288 /* AllowEmptyTuple */ | (quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : 0 /* None */);\n  const signatureDeclaration = checker.signatureToSignatureDeclaration(signature, kind, enclosingDeclaration, flags, getNoopSymbolTrackerWithResolver(context));\n  if (!signatureDeclaration) {\n    return void 0;\n  }\n  let typeParameters = signatureDeclaration.typeParameters;\n  let parameters = signatureDeclaration.parameters;\n  let type = signatureDeclaration.type;\n  if (importAdder) {\n    if (typeParameters) {\n      const newTypeParameters = sameMap(typeParameters, (typeParameterDecl) => {\n        let constraint = typeParameterDecl.constraint;\n        let defaultType = typeParameterDecl.default;\n        if (constraint) {\n          const importableReference = tryGetAutoImportableReferenceFromTypeNode(constraint, scriptTarget);\n          if (importableReference) {\n            constraint = importableReference.typeNode;\n            importSymbols(importAdder, importableReference.symbols);\n          }\n        }\n        if (defaultType) {\n          const importableReference = tryGetAutoImportableReferenceFromTypeNode(defaultType, scriptTarget);\n          if (importableReference) {\n            defaultType = importableReference.typeNode;\n            importSymbols(importAdder, importableReference.symbols);\n          }\n        }\n        return factory.updateTypeParameterDeclaration(\n          typeParameterDecl,\n          typeParameterDecl.modifiers,\n          typeParameterDecl.name,\n          constraint,\n          defaultType\n        );\n      });\n      if (typeParameters !== newTypeParameters) {\n        typeParameters = setTextRange(factory.createNodeArray(newTypeParameters, typeParameters.hasTrailingComma), typeParameters);\n      }\n    }\n    const newParameters = sameMap(parameters, (parameterDecl) => {\n      const importableReference = tryGetAutoImportableReferenceFromTypeNode(parameterDecl.type, scriptTarget);\n      let type2 = parameterDecl.type;\n      if (importableReference) {\n        type2 = importableReference.typeNode;\n        importSymbols(importAdder, importableReference.symbols);\n      }\n      return factory.updateParameterDeclaration(\n        parameterDecl,\n        parameterDecl.modifiers,\n        parameterDecl.dotDotDotToken,\n        parameterDecl.name,\n        parameterDecl.questionToken,\n        type2,\n        parameterDecl.initializer\n      );\n    });\n    if (parameters !== newParameters) {\n      parameters = setTextRange(factory.createNodeArray(newParameters, parameters.hasTrailingComma), parameters);\n    }\n    if (type) {\n      const importableReference = tryGetAutoImportableReferenceFromTypeNode(type, scriptTarget);\n      if (importableReference) {\n        type = importableReference.typeNode;\n        importSymbols(importAdder, importableReference.symbols);\n      }\n    }\n  }\n  const questionToken = optional ? factory.createToken(57 /* QuestionToken */) : void 0;\n  const asteriskToken = signatureDeclaration.asteriskToken;\n  if (isFunctionExpression(signatureDeclaration)) {\n    return factory.updateFunctionExpression(signatureDeclaration, modifiers, signatureDeclaration.asteriskToken, tryCast(name, isIdentifier), typeParameters, parameters, type, body != null ? body : signatureDeclaration.body);\n  }\n  if (isArrowFunction(signatureDeclaration)) {\n    return factory.updateArrowFunction(signatureDeclaration, modifiers, typeParameters, parameters, type, signatureDeclaration.equalsGreaterThanToken, body != null ? body : signatureDeclaration.body);\n  }\n  if (isMethodDeclaration(signatureDeclaration)) {\n    return factory.updateMethodDeclaration(signatureDeclaration, modifiers, asteriskToken, name != null ? name : factory.createIdentifier(\"\"), questionToken, typeParameters, parameters, type, body);\n  }\n  if (isFunctionDeclaration(signatureDeclaration)) {\n    return factory.updateFunctionDeclaration(signatureDeclaration, modifiers, signatureDeclaration.asteriskToken, tryCast(name, isIdentifier), typeParameters, parameters, type, body != null ? body : signatureDeclaration.body);\n  }\n  return void 0;\n}\nfunction createSignatureDeclarationFromCallExpression(kind, context, importAdder, call, name, modifierFlags, contextNode) {\n  const quotePreference = getQuotePreference(context.sourceFile, context.preferences);\n  const scriptTarget = getEmitScriptTarget(context.program.getCompilerOptions());\n  const tracker = getNoopSymbolTrackerWithResolver(context);\n  const checker = context.program.getTypeChecker();\n  const isJs = isInJSFile(contextNode);\n  const { typeArguments, arguments: args, parent: parent2 } = call;\n  const contextualType = isJs ? void 0 : checker.getContextualType(call);\n  const names = map(args, (arg) => isIdentifier(arg) ? arg.text : isPropertyAccessExpression(arg) && isIdentifier(arg.name) ? arg.name.text : void 0);\n  const instanceTypes = isJs ? [] : map(args, (arg) => checker.getTypeAtLocation(arg));\n  const { argumentTypeNodes, argumentTypeParameters } = getArgumentTypesAndTypeParameters(\n    checker,\n    importAdder,\n    instanceTypes,\n    contextNode,\n    scriptTarget,\n    void 0,\n    tracker\n  );\n  const modifiers = modifierFlags ? factory.createNodeArray(factory.createModifiersFromModifierFlags(modifierFlags)) : void 0;\n  const asteriskToken = isYieldExpression(parent2) ? factory.createToken(41 /* AsteriskToken */) : void 0;\n  const typeParameters = isJs ? void 0 : createTypeParametersForArguments(checker, argumentTypeParameters, typeArguments);\n  const parameters = createDummyParameters(args.length, names, argumentTypeNodes, void 0, isJs);\n  const type = isJs || contextualType === void 0 ? void 0 : checker.typeToTypeNode(contextualType, contextNode, void 0, tracker);\n  switch (kind) {\n    case 174 /* MethodDeclaration */:\n      return factory.createMethodDeclaration(\n        modifiers,\n        asteriskToken,\n        name,\n        void 0,\n        typeParameters,\n        parameters,\n        type,\n        createStubbedMethodBody(quotePreference)\n      );\n    case 173 /* MethodSignature */:\n      return factory.createMethodSignature(\n        modifiers,\n        name,\n        void 0,\n        typeParameters,\n        parameters,\n        type === void 0 ? factory.createKeywordTypeNode(159 /* UnknownKeyword */) : type\n      );\n    case 263 /* FunctionDeclaration */:\n      return factory.createFunctionDeclaration(\n        modifiers,\n        asteriskToken,\n        name,\n        typeParameters,\n        parameters,\n        type,\n        createStubbedBody(Diagnostics.Function_not_implemented.message, quotePreference)\n      );\n    default:\n      Debug.fail(\"Unexpected kind\");\n  }\n}\nfunction createTypeParametersForArguments(checker, argumentTypeParameters, typeArguments) {\n  const usedNames = new Set2(argumentTypeParameters.map((pair) => pair[0]));\n  const constraintsByName = new Map2(argumentTypeParameters);\n  if (typeArguments) {\n    const typeArgumentsWithNewTypes = typeArguments.filter((typeArgument) => !argumentTypeParameters.some((pair) => {\n      var _a2;\n      return checker.getTypeAtLocation(typeArgument) === ((_a2 = pair[1]) == null ? void 0 : _a2.argumentType);\n    }));\n    const targetSize = usedNames.size + typeArgumentsWithNewTypes.length;\n    for (let i = 0; usedNames.size < targetSize; i += 1) {\n      usedNames.add(createTypeParameterName(i));\n    }\n  }\n  return map(\n    arrayFrom(usedNames.values()),\n    (usedName) => {\n      var _a2;\n      return factory.createTypeParameterDeclaration(void 0, usedName, (_a2 = constraintsByName.get(usedName)) == null ? void 0 : _a2.constraint);\n    }\n  );\n}\nfunction createTypeParameterName(index) {\n  return 84 /* T */ + index <= 90 /* Z */ ? String.fromCharCode(84 /* T */ + index) : `T${index}`;\n}\nfunction typeToAutoImportableTypeNode(checker, importAdder, type, contextNode, scriptTarget, flags, tracker) {\n  let typeNode = checker.typeToTypeNode(type, contextNode, flags, tracker);\n  if (typeNode && isImportTypeNode(typeNode)) {\n    const importableReference = tryGetAutoImportableReferenceFromTypeNode(typeNode, scriptTarget);\n    if (importableReference) {\n      importSymbols(importAdder, importableReference.symbols);\n      typeNode = importableReference.typeNode;\n    }\n  }\n  return getSynthesizedDeepClone(typeNode);\n}\nfunction typeContainsTypeParameter(type) {\n  if (type.isUnionOrIntersection()) {\n    return type.types.some(typeContainsTypeParameter);\n  }\n  return type.flags & 262144 /* TypeParameter */;\n}\nfunction getArgumentTypesAndTypeParameters(checker, importAdder, instanceTypes, contextNode, scriptTarget, flags, tracker) {\n  const argumentTypeNodes = [];\n  const argumentTypeParameters = new Map2();\n  for (let i = 0; i < instanceTypes.length; i += 1) {\n    const instanceType = instanceTypes[i];\n    if (instanceType.isUnionOrIntersection() && instanceType.types.some(typeContainsTypeParameter)) {\n      const synthesizedTypeParameterName = createTypeParameterName(i);\n      argumentTypeNodes.push(factory.createTypeReferenceNode(synthesizedTypeParameterName));\n      argumentTypeParameters.set(synthesizedTypeParameterName, void 0);\n      continue;\n    }\n    const widenedInstanceType = checker.getBaseTypeOfLiteralType(instanceType);\n    const argumentTypeNode = typeToAutoImportableTypeNode(checker, importAdder, widenedInstanceType, contextNode, scriptTarget, flags, tracker);\n    if (!argumentTypeNode) {\n      continue;\n    }\n    argumentTypeNodes.push(argumentTypeNode);\n    const argumentTypeParameter = getFirstTypeParameterName(instanceType);\n    const instanceTypeConstraint = instanceType.isTypeParameter() && instanceType.constraint && !isAnonymousObjectConstraintType(instanceType.constraint) ? typeToAutoImportableTypeNode(checker, importAdder, instanceType.constraint, contextNode, scriptTarget, flags, tracker) : void 0;\n    if (argumentTypeParameter) {\n      argumentTypeParameters.set(argumentTypeParameter, { argumentType: instanceType, constraint: instanceTypeConstraint });\n    }\n  }\n  return { argumentTypeNodes, argumentTypeParameters: arrayFrom(argumentTypeParameters.entries()) };\n}\nfunction isAnonymousObjectConstraintType(type) {\n  return type.flags & 524288 /* Object */ && type.objectFlags === 16 /* Anonymous */;\n}\nfunction getFirstTypeParameterName(type) {\n  var _a2;\n  if (type.flags & (1048576 /* Union */ | 2097152 /* Intersection */)) {\n    for (const subType of type.types) {\n      const subTypeName = getFirstTypeParameterName(subType);\n      if (subTypeName) {\n        return subTypeName;\n      }\n    }\n  }\n  return type.flags & 262144 /* TypeParameter */ ? (_a2 = type.getSymbol()) == null ? void 0 : _a2.getName() : void 0;\n}\nfunction createDummyParameters(argCount, names, types, minArgumentCount, inJs) {\n  const parameters = [];\n  const parameterNameCounts = new Map2();\n  for (let i = 0; i < argCount; i++) {\n    const parameterName = (names == null ? void 0 : names[i]) || `arg${i}`;\n    const parameterNameCount = parameterNameCounts.get(parameterName);\n    parameterNameCounts.set(parameterName, (parameterNameCount || 0) + 1);\n    const newParameter = factory.createParameterDeclaration(\n      void 0,\n      void 0,\n      parameterName + (parameterNameCount || \"\"),\n      minArgumentCount !== void 0 && i >= minArgumentCount ? factory.createToken(57 /* QuestionToken */) : void 0,\n      inJs ? void 0 : (types == null ? void 0 : types[i]) || factory.createKeywordTypeNode(159 /* UnknownKeyword */),\n      void 0\n    );\n    parameters.push(newParameter);\n  }\n  return parameters;\n}\nfunction createMethodImplementingSignatures(checker, context, enclosingDeclaration, signatures, name, optional, modifiers, quotePreference, body) {\n  let maxArgsSignature = signatures[0];\n  let minArgumentCount = signatures[0].minArgumentCount;\n  let someSigHasRestParameter = false;\n  for (const sig of signatures) {\n    minArgumentCount = Math.min(sig.minArgumentCount, minArgumentCount);\n    if (signatureHasRestParameter(sig)) {\n      someSigHasRestParameter = true;\n    }\n    if (sig.parameters.length >= maxArgsSignature.parameters.length && (!signatureHasRestParameter(sig) || signatureHasRestParameter(maxArgsSignature))) {\n      maxArgsSignature = sig;\n    }\n  }\n  const maxNonRestArgs = maxArgsSignature.parameters.length - (signatureHasRestParameter(maxArgsSignature) ? 1 : 0);\n  const maxArgsParameterSymbolNames = maxArgsSignature.parameters.map((symbol) => symbol.name);\n  const parameters = createDummyParameters(maxNonRestArgs, maxArgsParameterSymbolNames, void 0, minArgumentCount, false);\n  if (someSigHasRestParameter) {\n    const restParameter = factory.createParameterDeclaration(\n      void 0,\n      factory.createToken(25 /* DotDotDotToken */),\n      maxArgsParameterSymbolNames[maxNonRestArgs] || \"rest\",\n      maxNonRestArgs >= minArgumentCount ? factory.createToken(57 /* QuestionToken */) : void 0,\n      factory.createArrayTypeNode(factory.createKeywordTypeNode(159 /* UnknownKeyword */)),\n      void 0\n    );\n    parameters.push(restParameter);\n  }\n  return createStubbedMethod(\n    modifiers,\n    name,\n    optional,\n    void 0,\n    parameters,\n    getReturnTypeFromSignatures(signatures, checker, context, enclosingDeclaration),\n    quotePreference,\n    body\n  );\n}\nfunction getReturnTypeFromSignatures(signatures, checker, context, enclosingDeclaration) {\n  if (length(signatures)) {\n    const type = checker.getUnionType(map(signatures, checker.getReturnTypeOfSignature));\n    return checker.typeToTypeNode(type, enclosingDeclaration, void 0, getNoopSymbolTrackerWithResolver(context));\n  }\n}\nfunction createStubbedMethod(modifiers, name, optional, typeParameters, parameters, returnType, quotePreference, body) {\n  return factory.createMethodDeclaration(\n    modifiers,\n    void 0,\n    name,\n    optional ? factory.createToken(57 /* QuestionToken */) : void 0,\n    typeParameters,\n    parameters,\n    returnType,\n    body || createStubbedMethodBody(quotePreference)\n  );\n}\nfunction createStubbedMethodBody(quotePreference) {\n  return createStubbedBody(Diagnostics.Method_not_implemented.message, quotePreference);\n}\nfunction createStubbedBody(text, quotePreference) {\n  return factory.createBlock(\n    [factory.createThrowStatement(\n      factory.createNewExpression(\n        factory.createIdentifier(\"Error\"),\n        void 0,\n        [factory.createStringLiteral(text, quotePreference === 0 /* Single */)]\n      )\n    )],\n    true\n  );\n}\nfunction setJsonCompilerOptionValues(changeTracker, configFile, options) {\n  const tsconfigObjectLiteral = getTsConfigObjectLiteralExpression(configFile);\n  if (!tsconfigObjectLiteral)\n    return void 0;\n  const compilerOptionsProperty = findJsonProperty(tsconfigObjectLiteral, \"compilerOptions\");\n  if (compilerOptionsProperty === void 0) {\n    changeTracker.insertNodeAtObjectStart(configFile, tsconfigObjectLiteral, createJsonPropertyAssignment(\n      \"compilerOptions\",\n      factory.createObjectLiteralExpression(options.map(([optionName, optionValue]) => createJsonPropertyAssignment(optionName, optionValue)), true)\n    ));\n    return;\n  }\n  const compilerOptions = compilerOptionsProperty.initializer;\n  if (!isObjectLiteralExpression(compilerOptions)) {\n    return;\n  }\n  for (const [optionName, optionValue] of options) {\n    const optionProperty = findJsonProperty(compilerOptions, optionName);\n    if (optionProperty === void 0) {\n      changeTracker.insertNodeAtObjectStart(configFile, compilerOptions, createJsonPropertyAssignment(optionName, optionValue));\n    } else {\n      changeTracker.replaceNode(configFile, optionProperty.initializer, optionValue);\n    }\n  }\n}\nfunction setJsonCompilerOptionValue(changeTracker, configFile, optionName, optionValue) {\n  setJsonCompilerOptionValues(changeTracker, configFile, [[optionName, optionValue]]);\n}\nfunction createJsonPropertyAssignment(name, initializer) {\n  return factory.createPropertyAssignment(factory.createStringLiteral(name), initializer);\n}\nfunction findJsonProperty(obj, name) {\n  return find(obj.properties, (p) => isPropertyAssignment(p) && !!p.name && isStringLiteral(p.name) && p.name.text === name);\n}\nfunction tryGetAutoImportableReferenceFromTypeNode(importTypeNode, scriptTarget) {\n  let symbols;\n  const typeNode = visitNode(importTypeNode, visit);\n  if (symbols && typeNode) {\n    return { typeNode, symbols };\n  }\n  function visit(node) {\n    var _a2;\n    if (isLiteralImportTypeNode(node) && node.qualifier) {\n      const firstIdentifier = getFirstIdentifier(node.qualifier);\n      const name = getNameForExportedSymbol(firstIdentifier.symbol, scriptTarget);\n      const qualifier = name !== firstIdentifier.text ? replaceFirstIdentifierOfEntityName(node.qualifier, factory.createIdentifier(name)) : node.qualifier;\n      symbols = append(symbols, firstIdentifier.symbol);\n      const typeArguments = (_a2 = node.typeArguments) == null ? void 0 : _a2.map(visit);\n      return factory.createTypeReferenceNode(qualifier, typeArguments);\n    }\n    return visitEachChild(node, visit, nullTransformationContext);\n  }\n}\nfunction replaceFirstIdentifierOfEntityName(name, newIdentifier) {\n  if (name.kind === 79 /* Identifier */) {\n    return newIdentifier;\n  }\n  return factory.createQualifiedName(replaceFirstIdentifierOfEntityName(name.left, newIdentifier), name.right);\n}\nfunction importSymbols(importAdder, symbols) {\n  symbols.forEach((s) => importAdder.addImportFromExportedSymbol(s, true));\n}\nfunction findAncestorMatchingSpan(sourceFile, span) {\n  const end = textSpanEnd(span);\n  let token = getTokenAtPosition(sourceFile, span.start);\n  while (token.end < end) {\n    token = token.parent;\n  }\n  return token;\n}\n\n// src/services/codefixes/generateAccessors.ts\nfunction generateAccessorFromProperty(file, program, start, end, context, _actionName) {\n  const fieldInfo = getAccessorConvertiblePropertyAtPosition(file, program, start, end);\n  if (!fieldInfo || ts_refactor_exports.isRefactorErrorInfo(fieldInfo))\n    return void 0;\n  const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext(context);\n  const { isStatic: isStatic2, isReadonly, fieldName, accessorName, originalName, type, container, declaration } = fieldInfo;\n  suppressLeadingAndTrailingTrivia(fieldName);\n  suppressLeadingAndTrailingTrivia(accessorName);\n  suppressLeadingAndTrailingTrivia(declaration);\n  suppressLeadingAndTrailingTrivia(container);\n  let accessorModifiers;\n  let fieldModifiers;\n  if (isClassLike(container)) {\n    const modifierFlags = getEffectiveModifierFlags(declaration);\n    if (isSourceFileJS(file)) {\n      const modifiers = factory.createModifiersFromModifierFlags(modifierFlags);\n      accessorModifiers = modifiers;\n      fieldModifiers = modifiers;\n    } else {\n      accessorModifiers = factory.createModifiersFromModifierFlags(prepareModifierFlagsForAccessor(modifierFlags));\n      fieldModifiers = factory.createModifiersFromModifierFlags(prepareModifierFlagsForField(modifierFlags));\n    }\n    if (canHaveDecorators(declaration)) {\n      fieldModifiers = concatenate(getDecorators(declaration), fieldModifiers);\n    }\n  }\n  updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, fieldModifiers);\n  const getAccessor = generateGetAccessor(fieldName, accessorName, type, accessorModifiers, isStatic2, container);\n  suppressLeadingAndTrailingTrivia(getAccessor);\n  insertAccessor(changeTracker, file, getAccessor, declaration, container);\n  if (isReadonly) {\n    const constructor = getFirstConstructorWithBody(container);\n    if (constructor) {\n      updateReadonlyPropertyInitializerStatementConstructor(changeTracker, file, constructor, fieldName.text, originalName);\n    }\n  } else {\n    const setAccessor = generateSetAccessor(fieldName, accessorName, type, accessorModifiers, isStatic2, container);\n    suppressLeadingAndTrailingTrivia(setAccessor);\n    insertAccessor(changeTracker, file, setAccessor, declaration, container);\n  }\n  return changeTracker.getChanges();\n}\nfunction isConvertibleName(name) {\n  return isIdentifier(name) || isStringLiteral(name);\n}\nfunction isAcceptedDeclaration(node) {\n  return isParameterPropertyDeclaration(node, node.parent) || isPropertyDeclaration(node) || isPropertyAssignment(node);\n}\nfunction createPropertyName(name, originalName) {\n  return isIdentifier(originalName) ? factory.createIdentifier(name) : factory.createStringLiteral(name);\n}\nfunction createAccessorAccessExpression(fieldName, isStatic2, container) {\n  const leftHead = isStatic2 ? container.name : factory.createThis();\n  return isIdentifier(fieldName) ? factory.createPropertyAccessExpression(leftHead, fieldName) : factory.createElementAccessExpression(leftHead, factory.createStringLiteralFromNode(fieldName));\n}\nfunction prepareModifierFlagsForAccessor(modifierFlags) {\n  modifierFlags &= ~64 /* Readonly */;\n  modifierFlags &= ~8 /* Private */;\n  if (!(modifierFlags & 16 /* Protected */)) {\n    modifierFlags |= 4 /* Public */;\n  }\n  return modifierFlags;\n}\nfunction prepareModifierFlagsForField(modifierFlags) {\n  modifierFlags &= ~4 /* Public */;\n  modifierFlags &= ~16 /* Protected */;\n  modifierFlags |= 8 /* Private */;\n  return modifierFlags;\n}\nfunction getAccessorConvertiblePropertyAtPosition(file, program, start, end, considerEmptySpans = true) {\n  const node = getTokenAtPosition(file, start);\n  const cursorRequest = start === end && considerEmptySpans;\n  const declaration = findAncestor(node.parent, isAcceptedDeclaration);\n  const meaning = 28 /* AccessibilityModifier */ | 32 /* Static */ | 64 /* Readonly */;\n  if (!declaration || !(nodeOverlapsWithStartEnd(declaration.name, file, start, end) || cursorRequest)) {\n    return {\n      error: getLocaleSpecificMessage(Diagnostics.Could_not_find_property_for_which_to_generate_accessor)\n    };\n  }\n  if (!isConvertibleName(declaration.name)) {\n    return {\n      error: getLocaleSpecificMessage(Diagnostics.Name_is_not_valid)\n    };\n  }\n  if ((getEffectiveModifierFlags(declaration) & 126975 /* Modifier */ | meaning) !== meaning) {\n    return {\n      error: getLocaleSpecificMessage(Diagnostics.Can_only_convert_property_with_modifier)\n    };\n  }\n  const name = declaration.name.text;\n  const startWithUnderscore = startsWithUnderscore(name);\n  const fieldName = createPropertyName(startWithUnderscore ? name : getUniqueName(`_${name}`, file), declaration.name);\n  const accessorName = createPropertyName(startWithUnderscore ? getUniqueName(name.substring(1), file) : name, declaration.name);\n  return {\n    isStatic: hasStaticModifier(declaration),\n    isReadonly: hasEffectiveReadonlyModifier(declaration),\n    type: getDeclarationType(declaration, program),\n    container: declaration.kind === 168 /* Parameter */ ? declaration.parent.parent : declaration.parent,\n    originalName: declaration.name.text,\n    declaration,\n    fieldName,\n    accessorName,\n    renameAccessor: startWithUnderscore\n  };\n}\nfunction generateGetAccessor(fieldName, accessorName, type, modifiers, isStatic2, container) {\n  return factory.createGetAccessorDeclaration(\n    modifiers,\n    accessorName,\n    void 0,\n    type,\n    factory.createBlock([\n      factory.createReturnStatement(\n        createAccessorAccessExpression(fieldName, isStatic2, container)\n      )\n    ], true)\n  );\n}\nfunction generateSetAccessor(fieldName, accessorName, type, modifiers, isStatic2, container) {\n  return factory.createSetAccessorDeclaration(\n    modifiers,\n    accessorName,\n    [factory.createParameterDeclaration(\n      void 0,\n      void 0,\n      factory.createIdentifier(\"value\"),\n      void 0,\n      type\n    )],\n    factory.createBlock([\n      factory.createExpressionStatement(\n        factory.createAssignment(\n          createAccessorAccessExpression(fieldName, isStatic2, container),\n          factory.createIdentifier(\"value\")\n        )\n      )\n    ], true)\n  );\n}\nfunction updatePropertyDeclaration(changeTracker, file, declaration, type, fieldName, modifiers) {\n  const property = factory.updatePropertyDeclaration(\n    declaration,\n    modifiers,\n    fieldName,\n    declaration.questionToken || declaration.exclamationToken,\n    type,\n    declaration.initializer\n  );\n  changeTracker.replaceNode(file, declaration, property);\n}\nfunction updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName) {\n  const assignment = factory.updatePropertyAssignment(declaration, fieldName, declaration.initializer);\n  changeTracker.replacePropertyAssignment(file, declaration, assignment);\n}\nfunction updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, modifiers) {\n  if (isPropertyDeclaration(declaration)) {\n    updatePropertyDeclaration(changeTracker, file, declaration, type, fieldName, modifiers);\n  } else if (isPropertyAssignment(declaration)) {\n    updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName);\n  } else {\n    changeTracker.replaceNode(\n      file,\n      declaration,\n      factory.updateParameterDeclaration(declaration, modifiers, declaration.dotDotDotToken, cast(fieldName, isIdentifier), declaration.questionToken, declaration.type, declaration.initializer)\n    );\n  }\n}\nfunction insertAccessor(changeTracker, file, accessor, declaration, container) {\n  isParameterPropertyDeclaration(declaration, declaration.parent) ? changeTracker.insertMemberAtStart(file, container, accessor) : isPropertyAssignment(declaration) ? changeTracker.insertNodeAfterComma(file, declaration, accessor) : changeTracker.insertNodeAfter(file, declaration, accessor);\n}\nfunction updateReadonlyPropertyInitializerStatementConstructor(changeTracker, file, constructor, fieldName, originalName) {\n  if (!constructor.body)\n    return;\n  constructor.body.forEachChild(function recur(node) {\n    if (isElementAccessExpression(node) && node.expression.kind === 109 /* ThisKeyword */ && isStringLiteral(node.argumentExpression) && node.argumentExpression.text === originalName && isWriteAccess(node)) {\n      changeTracker.replaceNode(file, node.argumentExpression, factory.createStringLiteral(fieldName));\n    }\n    if (isPropertyAccessExpression(node) && node.expression.kind === 109 /* ThisKeyword */ && node.name.text === originalName && isWriteAccess(node)) {\n      changeTracker.replaceNode(file, node.name, factory.createIdentifier(fieldName));\n    }\n    if (!isFunctionLike(node) && !isClassLike(node)) {\n      node.forEachChild(recur);\n    }\n  });\n}\nfunction getDeclarationType(declaration, program) {\n  const typeNode = getTypeAnnotationNode(declaration);\n  if (isPropertyDeclaration(declaration) && typeNode && declaration.questionToken) {\n    const typeChecker3 = program.getTypeChecker();\n    const type = typeChecker3.getTypeFromTypeNode(typeNode);\n    if (!typeChecker3.isTypeAssignableTo(typeChecker3.getUndefinedType(), type)) {\n      const types = isUnionTypeNode(typeNode) ? typeNode.types : [typeNode];\n      return factory.createUnionTypeNode([...types, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]);\n    }\n  }\n  return typeNode;\n}\nfunction getAllSupers(decl, checker) {\n  const res = [];\n  while (decl) {\n    const superElement = getClassExtendsHeritageElement(decl);\n    const superSymbol = superElement && checker.getSymbolAtLocation(superElement.expression);\n    if (!superSymbol)\n      break;\n    const symbol = superSymbol.flags & 2097152 /* Alias */ ? checker.getAliasedSymbol(superSymbol) : superSymbol;\n    const superDecl = symbol.declarations && find(symbol.declarations, isClassLike);\n    if (!superDecl)\n      break;\n    res.push(superDecl);\n    decl = superDecl;\n  }\n  return res;\n}\n\n// src/services/codefixes/fixInvalidImportSyntax.ts\nvar fixName5 = \"invalidImportSyntax\";\nfunction getCodeFixesForImportDeclaration(context, node) {\n  const sourceFile = getSourceFileOfNode(node);\n  const namespace = getNamespaceDeclarationNode(node);\n  const opts = context.program.getCompilerOptions();\n  const variations = [];\n  variations.push(createAction(context, sourceFile, node, makeImport(namespace.name, void 0, node.moduleSpecifier, getQuotePreference(sourceFile, context.preferences))));\n  if (getEmitModuleKind(opts) === 1 /* CommonJS */) {\n    variations.push(createAction(context, sourceFile, node, factory.createImportEqualsDeclaration(\n      void 0,\n      false,\n      namespace.name,\n      factory.createExternalModuleReference(node.moduleSpecifier)\n    )));\n  }\n  return variations;\n}\nfunction createAction(context, sourceFile, node, replacement) {\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(sourceFile, node, replacement));\n  return createCodeFixActionWithoutFixAll(fixName5, changes, [Diagnostics.Replace_import_with_0, changes[0].textChanges[0].newText]);\n}\nregisterCodeFix({\n  errorCodes: [\n    Diagnostics.This_expression_is_not_callable.code,\n    Diagnostics.This_expression_is_not_constructable.code\n  ],\n  getCodeActions: getActionsForUsageOfInvalidImport\n});\nfunction getActionsForUsageOfInvalidImport(context) {\n  const sourceFile = context.sourceFile;\n  const targetKind = Diagnostics.This_expression_is_not_callable.code === context.errorCode ? 213 /* CallExpression */ : 214 /* NewExpression */;\n  const node = findAncestor(getTokenAtPosition(sourceFile, context.span.start), (a) => a.kind === targetKind);\n  if (!node) {\n    return [];\n  }\n  const expr = node.expression;\n  return getImportCodeFixesForExpression(context, expr);\n}\nregisterCodeFix({\n  errorCodes: [\n    Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,\n    Diagnostics.Type_0_does_not_satisfy_the_constraint_1.code,\n    Diagnostics.Type_0_is_not_assignable_to_type_1.code,\n    Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,\n    Diagnostics.Type_predicate_0_is_not_assignable_to_1.code,\n    Diagnostics.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,\n    Diagnostics._0_index_type_1_is_not_assignable_to_2_index_type_3.code,\n    Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,\n    Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,\n    Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,\n    Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code\n  ],\n  getCodeActions: getActionsForInvalidImportLocation\n});\nfunction getActionsForInvalidImportLocation(context) {\n  const sourceFile = context.sourceFile;\n  const node = findAncestor(getTokenAtPosition(sourceFile, context.span.start), (a) => a.getStart() === context.span.start && a.getEnd() === context.span.start + context.span.length);\n  if (!node) {\n    return [];\n  }\n  return getImportCodeFixesForExpression(context, node);\n}\nfunction getImportCodeFixesForExpression(context, expr) {\n  const type = context.program.getTypeChecker().getTypeAtLocation(expr);\n  if (!(type.symbol && type.symbol.originatingImport)) {\n    return [];\n  }\n  const fixes = [];\n  const relatedImport = type.symbol.originatingImport;\n  if (!isImportCall(relatedImport)) {\n    addRange(fixes, getCodeFixesForImportDeclaration(context, relatedImport));\n  }\n  if (isExpression(expr) && !(isNamedDeclaration(expr.parent) && expr.parent.name === expr)) {\n    const sourceFile = context.sourceFile;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(sourceFile, expr, factory.createPropertyAccessExpression(expr, \"default\"), {}));\n    fixes.push(createCodeFixActionWithoutFixAll(fixName5, changes, Diagnostics.Use_synthetic_default_member));\n  }\n  return fixes;\n}\n\n// src/services/codefixes/fixStrictClassInitialization.ts\nvar fixName6 = \"strictClassInitialization\";\nvar fixIdAddDefiniteAssignmentAssertions = \"addMissingPropertyDefiniteAssignmentAssertions\";\nvar fixIdAddUndefinedType = \"addMissingPropertyUndefinedType\";\nvar fixIdAddInitializer = \"addMissingPropertyInitializer\";\nvar errorCodes51 = [Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code];\nregisterCodeFix({\n  errorCodes: errorCodes51,\n  getCodeActions: function getCodeActionsForStrictClassInitializationErrors(context) {\n    const info = getInfo13(context.sourceFile, context.span.start);\n    if (!info)\n      return;\n    const result = [];\n    append(result, getActionForAddMissingUndefinedType(context, info));\n    append(result, getActionForAddMissingDefiniteAssignmentAssertion(context, info));\n    append(result, getActionForAddMissingInitializer(context, info));\n    return result;\n  },\n  fixIds: [fixIdAddDefiniteAssignmentAssertions, fixIdAddUndefinedType, fixIdAddInitializer],\n  getAllCodeActions: (context) => {\n    return codeFixAll(context, errorCodes51, (changes, diag2) => {\n      const info = getInfo13(diag2.file, diag2.start);\n      if (!info)\n        return;\n      switch (context.fixId) {\n        case fixIdAddDefiniteAssignmentAssertions:\n          addDefiniteAssignmentAssertion(changes, diag2.file, info.prop);\n          break;\n        case fixIdAddUndefinedType:\n          addUndefinedType(changes, diag2.file, info);\n          break;\n        case fixIdAddInitializer:\n          const checker = context.program.getTypeChecker();\n          const initializer = getInitializer(checker, info.prop);\n          if (!initializer)\n            return;\n          addInitializer(changes, diag2.file, info.prop, initializer);\n          break;\n        default:\n          Debug.fail(JSON.stringify(context.fixId));\n      }\n    });\n  }\n});\nfunction getInfo13(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  if (isIdentifier(token) && isPropertyDeclaration(token.parent)) {\n    const type = getEffectiveTypeAnnotationNode(token.parent);\n    if (type) {\n      return { type, prop: token.parent, isJs: isInJSFile(token.parent) };\n    }\n  }\n  return void 0;\n}\nfunction getActionForAddMissingDefiniteAssignmentAssertion(context, info) {\n  if (info.isJs)\n    return void 0;\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addDefiniteAssignmentAssertion(t, context.sourceFile, info.prop));\n  return createCodeFixAction(fixName6, changes, [Diagnostics.Add_definite_assignment_assertion_to_property_0, info.prop.getText()], fixIdAddDefiniteAssignmentAssertions, Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties);\n}\nfunction addDefiniteAssignmentAssertion(changeTracker, propertyDeclarationSourceFile, propertyDeclaration) {\n  suppressLeadingAndTrailingTrivia(propertyDeclaration);\n  const property = factory.updatePropertyDeclaration(\n    propertyDeclaration,\n    propertyDeclaration.modifiers,\n    propertyDeclaration.name,\n    factory.createToken(53 /* ExclamationToken */),\n    propertyDeclaration.type,\n    propertyDeclaration.initializer\n  );\n  changeTracker.replaceNode(propertyDeclarationSourceFile, propertyDeclaration, property);\n}\nfunction getActionForAddMissingUndefinedType(context, info) {\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addUndefinedType(t, context.sourceFile, info));\n  return createCodeFixAction(fixName6, changes, [Diagnostics.Add_undefined_type_to_property_0, info.prop.name.getText()], fixIdAddUndefinedType, Diagnostics.Add_undefined_type_to_all_uninitialized_properties);\n}\nfunction addUndefinedType(changeTracker, sourceFile, info) {\n  const undefinedTypeNode = factory.createKeywordTypeNode(157 /* UndefinedKeyword */);\n  const types = isUnionTypeNode(info.type) ? info.type.types.concat(undefinedTypeNode) : [info.type, undefinedTypeNode];\n  const unionTypeNode = factory.createUnionTypeNode(types);\n  if (info.isJs) {\n    changeTracker.addJSDocTags(sourceFile, info.prop, [factory.createJSDocTypeTag(void 0, factory.createJSDocTypeExpression(unionTypeNode))]);\n  } else {\n    changeTracker.replaceNode(sourceFile, info.type, unionTypeNode);\n  }\n}\nfunction getActionForAddMissingInitializer(context, info) {\n  if (info.isJs)\n    return void 0;\n  const checker = context.program.getTypeChecker();\n  const initializer = getInitializer(checker, info.prop);\n  if (!initializer)\n    return void 0;\n  const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => addInitializer(t, context.sourceFile, info.prop, initializer));\n  return createCodeFixAction(fixName6, changes, [Diagnostics.Add_initializer_to_property_0, info.prop.name.getText()], fixIdAddInitializer, Diagnostics.Add_initializers_to_all_uninitialized_properties);\n}\nfunction addInitializer(changeTracker, propertyDeclarationSourceFile, propertyDeclaration, initializer) {\n  suppressLeadingAndTrailingTrivia(propertyDeclaration);\n  const property = factory.updatePropertyDeclaration(\n    propertyDeclaration,\n    propertyDeclaration.modifiers,\n    propertyDeclaration.name,\n    propertyDeclaration.questionToken,\n    propertyDeclaration.type,\n    initializer\n  );\n  changeTracker.replaceNode(propertyDeclarationSourceFile, propertyDeclaration, property);\n}\nfunction getInitializer(checker, propertyDeclaration) {\n  return getDefaultValueFromType(checker, checker.getTypeFromTypeNode(propertyDeclaration.type));\n}\nfunction getDefaultValueFromType(checker, type) {\n  if (type.flags & 512 /* BooleanLiteral */) {\n    return type === checker.getFalseType() || type === checker.getFalseType(true) ? factory.createFalse() : factory.createTrue();\n  } else if (type.isStringLiteral()) {\n    return factory.createStringLiteral(type.value);\n  } else if (type.isNumberLiteral()) {\n    return factory.createNumericLiteral(type.value);\n  } else if (type.flags & 2048 /* BigIntLiteral */) {\n    return factory.createBigIntLiteral(type.value);\n  } else if (type.isUnion()) {\n    return firstDefined(type.types, (t) => getDefaultValueFromType(checker, t));\n  } else if (type.isClass()) {\n    const classDeclaration = getClassLikeDeclarationOfSymbol(type.symbol);\n    if (!classDeclaration || hasSyntacticModifier(classDeclaration, 256 /* Abstract */))\n      return void 0;\n    const constructorDeclaration = getFirstConstructorWithBody(classDeclaration);\n    if (constructorDeclaration && constructorDeclaration.parameters.length)\n      return void 0;\n    return factory.createNewExpression(factory.createIdentifier(type.symbol.name), void 0, void 0);\n  } else if (checker.isArrayLikeType(type)) {\n    return factory.createArrayLiteralExpression();\n  }\n  return void 0;\n}\n\n// src/services/codefixes/requireInTs.ts\nvar fixId41 = \"requireInTs\";\nvar errorCodes52 = [Diagnostics.require_call_may_be_converted_to_an_import.code];\nregisterCodeFix({\n  errorCodes: errorCodes52,\n  getCodeActions(context) {\n    const info = getInfo14(context.sourceFile, context.program, context.span.start);\n    if (!info) {\n      return void 0;\n    }\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange26(t, context.sourceFile, info));\n    return [createCodeFixAction(fixId41, changes, Diagnostics.Convert_require_to_import, fixId41, Diagnostics.Convert_all_require_to_import)];\n  },\n  fixIds: [fixId41],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes52, (changes, diag2) => {\n    const info = getInfo14(diag2.file, context.program, diag2.start);\n    if (info) {\n      doChange26(changes, context.sourceFile, info);\n    }\n  })\n});\nfunction doChange26(changes, sourceFile, info) {\n  const { allowSyntheticDefaults, defaultImportName, namedImports, statement, required } = info;\n  changes.replaceNode(sourceFile, statement, defaultImportName && !allowSyntheticDefaults ? factory.createImportEqualsDeclaration(void 0, false, defaultImportName, factory.createExternalModuleReference(required)) : factory.createImportDeclaration(void 0, factory.createImportClause(false, defaultImportName, namedImports), required, void 0));\n}\nfunction getInfo14(sourceFile, program, pos) {\n  const { parent: parent2 } = getTokenAtPosition(sourceFile, pos);\n  if (!isRequireCall(parent2, true)) {\n    throw Debug.failBadSyntaxKind(parent2);\n  }\n  const decl = cast(parent2.parent, isVariableDeclaration);\n  const defaultImportName = tryCast(decl.name, isIdentifier);\n  const namedImports = isObjectBindingPattern(decl.name) ? tryCreateNamedImportsFromObjectBindingPattern(decl.name) : void 0;\n  if (defaultImportName || namedImports) {\n    return {\n      allowSyntheticDefaults: getAllowSyntheticDefaultImports(program.getCompilerOptions()),\n      defaultImportName,\n      namedImports,\n      statement: cast(decl.parent.parent, isVariableStatement),\n      required: first(parent2.arguments)\n    };\n  }\n}\nfunction tryCreateNamedImportsFromObjectBindingPattern(node) {\n  const importSpecifiers = [];\n  for (const element of node.elements) {\n    if (!isIdentifier(element.name) || element.initializer) {\n      return void 0;\n    }\n    importSpecifiers.push(factory.createImportSpecifier(false, tryCast(element.propertyName, isIdentifier), element.name));\n  }\n  if (importSpecifiers.length) {\n    return factory.createNamedImports(importSpecifiers);\n  }\n}\n\n// src/services/codefixes/useDefaultImport.ts\nvar fixId42 = \"useDefaultImport\";\nvar errorCodes53 = [Diagnostics.Import_may_be_converted_to_a_default_import.code];\nregisterCodeFix({\n  errorCodes: errorCodes53,\n  getCodeActions(context) {\n    const { sourceFile, span: { start } } = context;\n    const info = getInfo15(sourceFile, start);\n    if (!info)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange27(t, sourceFile, info, context.preferences));\n    return [createCodeFixAction(fixId42, changes, Diagnostics.Convert_to_default_import, fixId42, Diagnostics.Convert_all_to_default_imports)];\n  },\n  fixIds: [fixId42],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes53, (changes, diag2) => {\n    const info = getInfo15(diag2.file, diag2.start);\n    if (info)\n      doChange27(changes, diag2.file, info, context.preferences);\n  })\n});\nfunction getInfo15(sourceFile, pos) {\n  const name = getTokenAtPosition(sourceFile, pos);\n  if (!isIdentifier(name))\n    return void 0;\n  const { parent: parent2 } = name;\n  if (isImportEqualsDeclaration(parent2) && isExternalModuleReference(parent2.moduleReference)) {\n    return { importNode: parent2, name, moduleSpecifier: parent2.moduleReference.expression };\n  } else if (isNamespaceImport(parent2)) {\n    const importNode = parent2.parent.parent;\n    return { importNode, name, moduleSpecifier: importNode.moduleSpecifier };\n  }\n}\nfunction doChange27(changes, sourceFile, info, preferences) {\n  changes.replaceNode(sourceFile, info.importNode, makeImport(info.name, void 0, info.moduleSpecifier, getQuotePreference(sourceFile, preferences)));\n}\n\n// src/services/codefixes/useBigintLiteral.ts\nvar fixId43 = \"useBigintLiteral\";\nvar errorCodes54 = [\n  Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes54,\n  getCodeActions: function getCodeActionsToUseBigintLiteral(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange9(t, context.sourceFile, context.span));\n    if (changes.length > 0) {\n      return [createCodeFixAction(fixId43, changes, Diagnostics.Convert_to_a_bigint_numeric_literal, fixId43, Diagnostics.Convert_all_to_bigint_numeric_literals)];\n    }\n  },\n  fixIds: [fixId43],\n  getAllCodeActions: (context) => {\n    return codeFixAll(context, errorCodes54, (changes, diag2) => makeChange9(changes, diag2.file, diag2));\n  }\n});\nfunction makeChange9(changeTracker, sourceFile, span) {\n  const numericLiteral = tryCast(getTokenAtPosition(sourceFile, span.start), isNumericLiteral);\n  if (!numericLiteral) {\n    return;\n  }\n  const newText = numericLiteral.getText(sourceFile) + \"n\";\n  changeTracker.replaceNode(sourceFile, numericLiteral, factory.createBigIntLiteral(newText));\n}\n\n// src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts\nvar fixIdAddMissingTypeof = \"fixAddModuleReferTypeMissingTypeof\";\nvar fixId44 = fixIdAddMissingTypeof;\nvar errorCodes55 = [Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];\nregisterCodeFix({\n  errorCodes: errorCodes55,\n  getCodeActions: function getCodeActionsToAddMissingTypeof(context) {\n    const { sourceFile, span } = context;\n    const importType = getImportTypeNode(sourceFile, span.start);\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange28(t, sourceFile, importType));\n    return [createCodeFixAction(fixId44, changes, Diagnostics.Add_missing_typeof, fixId44, Diagnostics.Add_missing_typeof)];\n  },\n  fixIds: [fixId44],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes55, (changes, diag2) => doChange28(changes, context.sourceFile, getImportTypeNode(diag2.file, diag2.start)))\n});\nfunction getImportTypeNode(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  Debug.assert(token.kind === 101 /* ImportKeyword */, \"This token should be an ImportKeyword\");\n  Debug.assert(token.parent.kind === 205 /* ImportType */, \"Token parent should be an ImportType\");\n  return token.parent;\n}\nfunction doChange28(changes, sourceFile, importType) {\n  const newTypeNode = factory.updateImportTypeNode(importType, importType.argument, importType.assertions, importType.qualifier, importType.typeArguments, true);\n  changes.replaceNode(sourceFile, importType, newTypeNode);\n}\n\n// src/services/codefixes/wrapJsxInFragment.ts\nvar fixID2 = \"wrapJsxInFragment\";\nvar errorCodes56 = [Diagnostics.JSX_expressions_must_have_one_parent_element.code];\nregisterCodeFix({\n  errorCodes: errorCodes56,\n  getCodeActions: function getCodeActionsToWrapJsxInFragment(context) {\n    const { sourceFile, span } = context;\n    const node = findNodeToFix(sourceFile, span.start);\n    if (!node)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange29(t, sourceFile, node));\n    return [createCodeFixAction(fixID2, changes, Diagnostics.Wrap_in_JSX_fragment, fixID2, Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)];\n  },\n  fixIds: [fixID2],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes56, (changes, diag2) => {\n    const node = findNodeToFix(context.sourceFile, diag2.start);\n    if (!node)\n      return void 0;\n    doChange29(changes, context.sourceFile, node);\n  })\n});\nfunction findNodeToFix(sourceFile, pos) {\n  const lessThanToken = getTokenAtPosition(sourceFile, pos);\n  const firstJsxElementOrOpenElement = lessThanToken.parent;\n  let binaryExpr = firstJsxElementOrOpenElement.parent;\n  if (!isBinaryExpression(binaryExpr)) {\n    binaryExpr = binaryExpr.parent;\n    if (!isBinaryExpression(binaryExpr))\n      return void 0;\n  }\n  if (!nodeIsMissing(binaryExpr.operatorToken))\n    return void 0;\n  return binaryExpr;\n}\nfunction doChange29(changeTracker, sf, node) {\n  const jsx = flattenInvalidBinaryExpr(node);\n  if (jsx)\n    changeTracker.replaceNode(sf, node, factory.createJsxFragment(factory.createJsxOpeningFragment(), jsx, factory.createJsxJsxClosingFragment()));\n}\nfunction flattenInvalidBinaryExpr(node) {\n  const children = [];\n  let current = node;\n  while (true) {\n    if (isBinaryExpression(current) && nodeIsMissing(current.operatorToken) && current.operatorToken.kind === 27 /* CommaToken */) {\n      children.push(current.left);\n      if (isJsxChild(current.right)) {\n        children.push(current.right);\n        return children;\n      } else if (isBinaryExpression(current.right)) {\n        current = current.right;\n        continue;\n      } else\n        return void 0;\n    } else\n      return void 0;\n  }\n}\n\n// src/services/codefixes/convertToMappedObjectType.ts\nvar fixId45 = \"fixConvertToMappedObjectType\";\nvar errorCodes57 = [Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];\nregisterCodeFix({\n  errorCodes: errorCodes57,\n  getCodeActions: function getCodeActionsToConvertToMappedTypeObject(context) {\n    const { sourceFile, span } = context;\n    const info = getInfo16(sourceFile, span.start);\n    if (!info)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange30(t, sourceFile, info));\n    const name = idText(info.container.name);\n    return [createCodeFixAction(fixId45, changes, [Diagnostics.Convert_0_to_mapped_object_type, name], fixId45, [Diagnostics.Convert_0_to_mapped_object_type, name])];\n  },\n  fixIds: [fixId45],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes57, (changes, diag2) => {\n    const info = getInfo16(diag2.file, diag2.start);\n    if (info)\n      doChange30(changes, diag2.file, info);\n  })\n});\nfunction getInfo16(sourceFile, pos) {\n  const token = getTokenAtPosition(sourceFile, pos);\n  const indexSignature = tryCast(token.parent.parent, isIndexSignatureDeclaration);\n  if (!indexSignature)\n    return void 0;\n  const container = isInterfaceDeclaration(indexSignature.parent) ? indexSignature.parent : tryCast(indexSignature.parent.parent, isTypeAliasDeclaration);\n  if (!container)\n    return void 0;\n  return { indexSignature, container };\n}\nfunction createTypeAliasFromInterface(declaration, type) {\n  return factory.createTypeAliasDeclaration(declaration.modifiers, declaration.name, declaration.typeParameters, type);\n}\nfunction doChange30(changes, sourceFile, { indexSignature, container }) {\n  const members = isInterfaceDeclaration(container) ? container.members : container.type.members;\n  const otherMembers = members.filter((member) => !isIndexSignatureDeclaration(member));\n  const parameter = first(indexSignature.parameters);\n  const mappedTypeParameter = factory.createTypeParameterDeclaration(void 0, cast(parameter.name, isIdentifier), parameter.type);\n  const mappedIntersectionType = factory.createMappedTypeNode(\n    hasEffectiveReadonlyModifier(indexSignature) ? factory.createModifier(147 /* ReadonlyKeyword */) : void 0,\n    mappedTypeParameter,\n    void 0,\n    indexSignature.questionToken,\n    indexSignature.type,\n    void 0\n  );\n  const intersectionType = factory.createIntersectionTypeNode([\n    ...getAllSuperTypeNodes(container),\n    mappedIntersectionType,\n    ...otherMembers.length ? [factory.createTypeLiteralNode(otherMembers)] : emptyArray\n  ]);\n  changes.replaceNode(sourceFile, container, createTypeAliasFromInterface(container, intersectionType));\n}\n\n// src/services/codefixes/removeAccidentalCallParentheses.ts\nvar fixId46 = \"removeAccidentalCallParentheses\";\nvar errorCodes58 = [\n  Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes58,\n  getCodeActions(context) {\n    const callExpression = findAncestor(getTokenAtPosition(context.sourceFile, context.span.start), isCallExpression);\n    if (!callExpression) {\n      return void 0;\n    }\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n      t.deleteRange(context.sourceFile, { pos: callExpression.expression.end, end: callExpression.end });\n    });\n    return [createCodeFixActionWithoutFixAll(fixId46, changes, Diagnostics.Remove_parentheses)];\n  },\n  fixIds: [fixId46]\n});\n\n// src/services/codefixes/removeUnnecessaryAwait.ts\nvar fixId47 = \"removeUnnecessaryAwait\";\nvar errorCodes59 = [\n  Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes59,\n  getCodeActions: function getCodeActionsToRemoveUnnecessaryAwait(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange10(t, context.sourceFile, context.span));\n    if (changes.length > 0) {\n      return [createCodeFixAction(fixId47, changes, Diagnostics.Remove_unnecessary_await, fixId47, Diagnostics.Remove_all_unnecessary_uses_of_await)];\n    }\n  },\n  fixIds: [fixId47],\n  getAllCodeActions: (context) => {\n    return codeFixAll(context, errorCodes59, (changes, diag2) => makeChange10(changes, diag2.file, diag2));\n  }\n});\nfunction makeChange10(changeTracker, sourceFile, span) {\n  const awaitKeyword = tryCast(getTokenAtPosition(sourceFile, span.start), (node) => node.kind === 134 /* AwaitKeyword */);\n  const awaitExpression = awaitKeyword && tryCast(awaitKeyword.parent, isAwaitExpression);\n  if (!awaitExpression) {\n    return;\n  }\n  let expressionToReplace = awaitExpression;\n  const hasSurroundingParens = isParenthesizedExpression(awaitExpression.parent);\n  if (hasSurroundingParens) {\n    const leftMostExpression = getLeftmostExpression(awaitExpression.expression, false);\n    if (isIdentifier(leftMostExpression)) {\n      const precedingToken = findPrecedingToken(awaitExpression.parent.pos, sourceFile);\n      if (precedingToken && precedingToken.kind !== 104 /* NewKeyword */) {\n        expressionToReplace = awaitExpression.parent;\n      }\n    }\n  }\n  changeTracker.replaceNode(sourceFile, expressionToReplace, awaitExpression.expression);\n}\n\n// src/services/codefixes/splitTypeOnlyImport.ts\nvar errorCodes60 = [Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];\nvar fixId48 = \"splitTypeOnlyImport\";\nregisterCodeFix({\n  errorCodes: errorCodes60,\n  fixIds: [fixId48],\n  getCodeActions: function getCodeActionsToSplitTypeOnlyImport(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n      return splitTypeOnlyImport(t, getImportDeclaration2(context.sourceFile, context.span), context);\n    });\n    if (changes.length) {\n      return [createCodeFixAction(fixId48, changes, Diagnostics.Split_into_two_separate_import_declarations, fixId48, Diagnostics.Split_all_invalid_type_only_imports)];\n    }\n  },\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes60, (changes, error) => {\n    splitTypeOnlyImport(changes, getImportDeclaration2(context.sourceFile, error), context);\n  })\n});\nfunction getImportDeclaration2(sourceFile, span) {\n  return findAncestor(getTokenAtPosition(sourceFile, span.start), isImportDeclaration);\n}\nfunction splitTypeOnlyImport(changes, importDeclaration, context) {\n  if (!importDeclaration) {\n    return;\n  }\n  const importClause = Debug.checkDefined(importDeclaration.importClause);\n  changes.replaceNode(context.sourceFile, importDeclaration, factory.updateImportDeclaration(\n    importDeclaration,\n    importDeclaration.modifiers,\n    factory.updateImportClause(importClause, importClause.isTypeOnly, importClause.name, void 0),\n    importDeclaration.moduleSpecifier,\n    importDeclaration.assertClause\n  ));\n  changes.insertNodeAfter(context.sourceFile, importDeclaration, factory.createImportDeclaration(\n    void 0,\n    factory.updateImportClause(importClause, importClause.isTypeOnly, void 0, importClause.namedBindings),\n    importDeclaration.moduleSpecifier,\n    importDeclaration.assertClause\n  ));\n}\n\n// src/services/codefixes/convertConstToLet.ts\nvar fixId49 = \"fixConvertConstToLet\";\nvar errorCodes61 = [Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];\nregisterCodeFix({\n  errorCodes: errorCodes61,\n  getCodeActions: function getCodeActionsToConvertConstToLet(context) {\n    const { sourceFile, span, program } = context;\n    const info = getInfo17(sourceFile, span.start, program);\n    if (info === void 0)\n      return;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange31(t, sourceFile, info.token));\n    return [createCodeFixActionMaybeFixAll(fixId49, changes, Diagnostics.Convert_const_to_let, fixId49, Diagnostics.Convert_all_const_to_let)];\n  },\n  getAllCodeActions: (context) => {\n    const { program } = context;\n    const seen = new Map2();\n    return createCombinedCodeActions(ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n      eachDiagnostic(context, errorCodes61, (diag2) => {\n        const info = getInfo17(diag2.file, diag2.start, program);\n        if (info) {\n          if (addToSeen(seen, getSymbolId(info.symbol))) {\n            return doChange31(changes, diag2.file, info.token);\n          }\n        }\n        return void 0;\n      });\n    }));\n  },\n  fixIds: [fixId49]\n});\nfunction getInfo17(sourceFile, pos, program) {\n  var _a2;\n  const checker = program.getTypeChecker();\n  const symbol = checker.getSymbolAtLocation(getTokenAtPosition(sourceFile, pos));\n  if (symbol === void 0)\n    return;\n  const declaration = tryCast((_a2 = symbol == null ? void 0 : symbol.valueDeclaration) == null ? void 0 : _a2.parent, isVariableDeclarationList);\n  if (declaration === void 0)\n    return;\n  const constToken = findChildOfKind(declaration, 86 /* ConstKeyword */, sourceFile);\n  if (constToken === void 0)\n    return;\n  return { symbol, token: constToken };\n}\nfunction doChange31(changes, sourceFile, token) {\n  changes.replaceNode(sourceFile, token, factory.createToken(120 /* LetKeyword */));\n}\n\n// src/services/codefixes/fixExpectedComma.ts\nvar fixId50 = \"fixExpectedComma\";\nvar expectedErrorCode = Diagnostics._0_expected.code;\nvar errorCodes62 = [expectedErrorCode];\nregisterCodeFix({\n  errorCodes: errorCodes62,\n  getCodeActions(context) {\n    const { sourceFile } = context;\n    const info = getInfo18(sourceFile, context.span.start, context.errorCode);\n    if (!info)\n      return void 0;\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange32(t, sourceFile, info));\n    return [createCodeFixAction(\n      fixId50,\n      changes,\n      [Diagnostics.Change_0_to_1, \";\", \",\"],\n      fixId50,\n      [Diagnostics.Change_0_to_1, \";\", \",\"]\n    )];\n  },\n  fixIds: [fixId50],\n  getAllCodeActions: (context) => codeFixAll(context, errorCodes62, (changes, diag2) => {\n    const info = getInfo18(diag2.file, diag2.start, diag2.code);\n    if (info)\n      doChange32(changes, context.sourceFile, info);\n  })\n});\nfunction getInfo18(sourceFile, pos, _) {\n  const node = getTokenAtPosition(sourceFile, pos);\n  return node.kind === 26 /* SemicolonToken */ && node.parent && (isObjectLiteralExpression(node.parent) || isArrayLiteralExpression(node.parent)) ? { node } : void 0;\n}\nfunction doChange32(changes, sourceFile, { node }) {\n  const newNode = factory.createToken(27 /* CommaToken */);\n  changes.replaceNode(sourceFile, node, newNode);\n}\n\n// src/services/codefixes/fixAddVoidToPromise.ts\nvar fixName7 = \"addVoidToPromise\";\nvar fixId51 = \"addVoidToPromise\";\nvar errorCodes63 = [\n  Diagnostics.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,\n  Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code\n];\nregisterCodeFix({\n  errorCodes: errorCodes63,\n  fixIds: [fixId51],\n  getCodeActions(context) {\n    const changes = ts_textChanges_exports.ChangeTracker.with(context, (t) => makeChange11(t, context.sourceFile, context.span, context.program));\n    if (changes.length > 0) {\n      return [createCodeFixAction(fixName7, changes, Diagnostics.Add_void_to_Promise_resolved_without_a_value, fixId51, Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)];\n    }\n  },\n  getAllCodeActions(context) {\n    return codeFixAll(context, errorCodes63, (changes, diag2) => makeChange11(changes, diag2.file, diag2, context.program, new Set2()));\n  }\n});\nfunction makeChange11(changes, sourceFile, span, program, seen) {\n  const node = getTokenAtPosition(sourceFile, span.start);\n  if (!isIdentifier(node) || !isCallExpression(node.parent) || node.parent.expression !== node || node.parent.arguments.length !== 0)\n    return;\n  const checker = program.getTypeChecker();\n  const symbol = checker.getSymbolAtLocation(node);\n  const decl = symbol == null ? void 0 : symbol.valueDeclaration;\n  if (!decl || !isParameter(decl) || !isNewExpression(decl.parent.parent))\n    return;\n  if (seen == null ? void 0 : seen.has(decl))\n    return;\n  seen == null ? void 0 : seen.add(decl);\n  const typeArguments = getEffectiveTypeArguments(decl.parent.parent);\n  if (some(typeArguments)) {\n    const typeArgument = typeArguments[0];\n    const needsParens = !isUnionTypeNode(typeArgument) && !isParenthesizedTypeNode(typeArgument) && isParenthesizedTypeNode(factory.createUnionTypeNode([typeArgument, factory.createKeywordTypeNode(115 /* VoidKeyword */)]).types[0]);\n    if (needsParens) {\n      changes.insertText(sourceFile, typeArgument.pos, \"(\");\n    }\n    changes.insertText(sourceFile, typeArgument.end, needsParens ? \") | void\" : \" | void\");\n  } else {\n    const signature = checker.getResolvedSignature(node.parent);\n    const parameter = signature == null ? void 0 : signature.parameters[0];\n    const parameterType = parameter && checker.getTypeOfSymbolAtLocation(parameter, decl.parent.parent);\n    if (isInJSFile(decl)) {\n      if (!parameterType || parameterType.flags & 3 /* AnyOrUnknown */) {\n        changes.insertText(sourceFile, decl.parent.parent.end, `)`);\n        changes.insertText(sourceFile, skipTrivia(sourceFile.text, decl.parent.parent.pos), `/** @type {Promise<void>} */(`);\n      }\n    } else {\n      if (!parameterType || parameterType.flags & 2 /* Unknown */) {\n        changes.insertText(sourceFile, decl.parent.parent.expression.end, \"<void>\");\n      }\n    }\n  }\n}\nfunction getEffectiveTypeArguments(node) {\n  var _a2;\n  if (isInJSFile(node)) {\n    if (isParenthesizedExpression(node.parent)) {\n      const jsDocType = (_a2 = getJSDocTypeTag(node.parent)) == null ? void 0 : _a2.typeExpression.type;\n      if (jsDocType && isTypeReferenceNode(jsDocType) && isIdentifier(jsDocType.typeName) && idText(jsDocType.typeName) === \"Promise\") {\n        return jsDocType.typeArguments;\n      }\n    }\n  } else {\n    return node.typeArguments;\n  }\n}\n\n// src/services/_namespaces/ts.Completions.ts\nvar ts_Completions_exports = {};\n__export(ts_Completions_exports, {\n  CompletionKind: () => CompletionKind,\n  CompletionSource: () => CompletionSource,\n  SortText: () => SortText,\n  StringCompletions: () => ts_Completions_StringCompletions_exports,\n  SymbolOriginInfoKind: () => SymbolOriginInfoKind,\n  createCompletionDetails: () => createCompletionDetails,\n  createCompletionDetailsForSymbol: () => createCompletionDetailsForSymbol,\n  getCompletionEntriesFromSymbols: () => getCompletionEntriesFromSymbols,\n  getCompletionEntryDetails: () => getCompletionEntryDetails,\n  getCompletionEntrySymbol: () => getCompletionEntrySymbol,\n  getCompletionsAtPosition: () => getCompletionsAtPosition,\n  getPropertiesForObjectExpression: () => getPropertiesForObjectExpression,\n  moduleSpecifierResolutionCacheAttemptLimit: () => moduleSpecifierResolutionCacheAttemptLimit,\n  moduleSpecifierResolutionLimit: () => moduleSpecifierResolutionLimit\n});\n\n// src/services/completions.ts\nvar moduleSpecifierResolutionLimit = 100;\nvar moduleSpecifierResolutionCacheAttemptLimit = 1e3;\nvar SortText = {\n  LocalDeclarationPriority: \"10\",\n  LocationPriority: \"11\",\n  OptionalMember: \"12\",\n  MemberDeclaredBySpreadAssignment: \"13\",\n  SuggestedClassMembers: \"14\",\n  GlobalsOrKeywords: \"15\",\n  AutoImportSuggestions: \"16\",\n  ClassMemberSnippets: \"17\",\n  JavascriptIdentifiers: \"18\",\n  Deprecated(sortText) {\n    return \"z\" + sortText;\n  },\n  ObjectLiteralProperty(presetSortText, symbolDisplayName) {\n    return `${presetSortText}\\0${symbolDisplayName}\\0`;\n  },\n  SortBelow(sortText) {\n    return sortText + \"1\";\n  }\n};\nvar CompletionSource = /* @__PURE__ */ ((CompletionSource2) => {\n  CompletionSource2[\"ThisProperty\"] = \"ThisProperty/\";\n  CompletionSource2[\"ClassMemberSnippet\"] = \"ClassMemberSnippet/\";\n  CompletionSource2[\"TypeOnlyAlias\"] = \"TypeOnlyAlias/\";\n  CompletionSource2[\"ObjectLiteralMethodSnippet\"] = \"ObjectLiteralMethodSnippet/\";\n  return CompletionSource2;\n})(CompletionSource || {});\nvar SymbolOriginInfoKind = /* @__PURE__ */ ((SymbolOriginInfoKind2) => {\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ThisType\"] = 1] = \"ThisType\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"SymbolMember\"] = 2] = \"SymbolMember\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Export\"] = 4] = \"Export\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Promise\"] = 8] = \"Promise\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"Nullable\"] = 16] = \"Nullable\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ResolvedExport\"] = 32] = \"ResolvedExport\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"TypeOnlyAlias\"] = 64] = \"TypeOnlyAlias\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"ObjectLiteralMethod\"] = 128] = \"ObjectLiteralMethod\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"SymbolMemberNoExport\"] = 2 /* SymbolMember */] = \"SymbolMemberNoExport\";\n  SymbolOriginInfoKind2[SymbolOriginInfoKind2[\"SymbolMemberExport\"] = 6] = \"SymbolMemberExport\";\n  return SymbolOriginInfoKind2;\n})(SymbolOriginInfoKind || {});\nfunction originIsThisType(origin) {\n  return !!(origin.kind & 1 /* ThisType */);\n}\nfunction originIsSymbolMember(origin) {\n  return !!(origin.kind & 2 /* SymbolMember */);\n}\nfunction originIsExport(origin) {\n  return !!(origin && origin.kind & 4 /* Export */);\n}\nfunction originIsResolvedExport(origin) {\n  return !!(origin && origin.kind === 32 /* ResolvedExport */);\n}\nfunction originIncludesSymbolName(origin) {\n  return originIsExport(origin) || originIsResolvedExport(origin);\n}\nfunction originIsPackageJsonImport(origin) {\n  return (originIsExport(origin) || originIsResolvedExport(origin)) && !!origin.isFromPackageJson;\n}\nfunction originIsPromise(origin) {\n  return !!(origin.kind & 8 /* Promise */);\n}\nfunction originIsNullableMember(origin) {\n  return !!(origin.kind & 16 /* Nullable */);\n}\nfunction originIsTypeOnlyAlias(origin) {\n  return !!(origin && origin.kind & 64 /* TypeOnlyAlias */);\n}\nfunction originIsObjectLiteralMethod(origin) {\n  return !!(origin && origin.kind & 128 /* ObjectLiteralMethod */);\n}\nvar KeywordCompletionFilters = /* @__PURE__ */ ((KeywordCompletionFilters2) => {\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"None\"] = 0] = \"None\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"All\"] = 1] = \"All\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"ClassElementKeywords\"] = 2] = \"ClassElementKeywords\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"InterfaceElementKeywords\"] = 3] = \"InterfaceElementKeywords\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"ConstructorParameterKeywords\"] = 4] = \"ConstructorParameterKeywords\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"FunctionLikeBodyKeywords\"] = 5] = \"FunctionLikeBodyKeywords\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"TypeAssertionKeywords\"] = 6] = \"TypeAssertionKeywords\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"TypeKeywords\"] = 7] = \"TypeKeywords\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"TypeKeyword\"] = 8] = \"TypeKeyword\";\n  KeywordCompletionFilters2[KeywordCompletionFilters2[\"Last\"] = 8 /* TypeKeyword */] = \"Last\";\n  return KeywordCompletionFilters2;\n})(KeywordCompletionFilters || {});\nvar GlobalsSearch = /* @__PURE__ */ ((GlobalsSearch2) => {\n  GlobalsSearch2[GlobalsSearch2[\"Continue\"] = 0] = \"Continue\";\n  GlobalsSearch2[GlobalsSearch2[\"Success\"] = 1] = \"Success\";\n  GlobalsSearch2[GlobalsSearch2[\"Fail\"] = 2] = \"Fail\";\n  return GlobalsSearch2;\n})(GlobalsSearch || {});\nfunction resolvingModuleSpecifiers(logPrefix, host, resolver, program, position, preferences, isForImportStatementCompletion, isValidTypeOnlyUseSite, cb) {\n  var _a2, _b, _c;\n  const start = timestamp();\n  const needsFullResolution = isForImportStatementCompletion || moduleResolutionRespectsExports(getEmitModuleResolutionKind(program.getCompilerOptions()));\n  let skippedAny = false;\n  let ambientCount = 0;\n  let resolvedCount = 0;\n  let resolvedFromCacheCount = 0;\n  let cacheAttemptCount = 0;\n  const result = cb({\n    tryResolve,\n    skippedAny: () => skippedAny,\n    resolvedAny: () => resolvedCount > 0,\n    resolvedBeyondLimit: () => resolvedCount > moduleSpecifierResolutionLimit\n  });\n  const hitRateMessage = cacheAttemptCount ? ` (${(resolvedFromCacheCount / cacheAttemptCount * 100).toFixed(1)}% hit rate)` : \"\";\n  (_a2 = host.log) == null ? void 0 : _a2.call(host, `${logPrefix}: resolved ${resolvedCount} module specifiers, plus ${ambientCount} ambient and ${resolvedFromCacheCount} from cache${hitRateMessage}`);\n  (_b = host.log) == null ? void 0 : _b.call(host, `${logPrefix}: response is ${skippedAny ? \"incomplete\" : \"complete\"}`);\n  (_c = host.log) == null ? void 0 : _c.call(host, `${logPrefix}: ${timestamp() - start}`);\n  return result;\n  function tryResolve(exportInfo, symbolName2, isFromAmbientModule) {\n    if (isFromAmbientModule) {\n      const result3 = resolver.getModuleSpecifierForBestExportInfo(exportInfo, symbolName2, position, isValidTypeOnlyUseSite);\n      if (result3) {\n        ambientCount++;\n      }\n      return result3 || \"failed\";\n    }\n    const shouldResolveModuleSpecifier = needsFullResolution || preferences.allowIncompleteCompletions && resolvedCount < moduleSpecifierResolutionLimit;\n    const shouldGetModuleSpecifierFromCache = !shouldResolveModuleSpecifier && preferences.allowIncompleteCompletions && cacheAttemptCount < moduleSpecifierResolutionCacheAttemptLimit;\n    const result2 = shouldResolveModuleSpecifier || shouldGetModuleSpecifierFromCache ? resolver.getModuleSpecifierForBestExportInfo(exportInfo, symbolName2, position, isValidTypeOnlyUseSite, shouldGetModuleSpecifierFromCache) : void 0;\n    if (!shouldResolveModuleSpecifier && !shouldGetModuleSpecifierFromCache || shouldGetModuleSpecifierFromCache && !result2) {\n      skippedAny = true;\n    }\n    resolvedCount += (result2 == null ? void 0 : result2.computedWithoutCacheCount) || 0;\n    resolvedFromCacheCount += exportInfo.length - ((result2 == null ? void 0 : result2.computedWithoutCacheCount) || 0);\n    if (shouldGetModuleSpecifierFromCache) {\n      cacheAttemptCount++;\n    }\n    return result2 || (needsFullResolution ? \"failed\" : \"skipped\");\n  }\n}\nfunction getCompletionsAtPosition(host, program, log, sourceFile, position, preferences, triggerCharacter, completionKind, cancellationToken, formatContext) {\n  var _a2;\n  const { previousToken } = getRelevantTokens(position, sourceFile);\n  if (triggerCharacter && !isInString(sourceFile, position, previousToken) && !isValidTrigger(sourceFile, triggerCharacter, previousToken, position)) {\n    return void 0;\n  }\n  if (triggerCharacter === \" \") {\n    if (preferences.includeCompletionsForImportStatements && preferences.includeCompletionsWithInsertText) {\n      return { isGlobalCompletion: true, isMemberCompletion: false, isNewIdentifierLocation: true, isIncomplete: true, entries: [] };\n    }\n    return void 0;\n  }\n  const compilerOptions = program.getCompilerOptions();\n  const incompleteCompletionsCache = preferences.allowIncompleteCompletions ? (_a2 = host.getIncompleteCompletionsCache) == null ? void 0 : _a2.call(host) : void 0;\n  if (incompleteCompletionsCache && completionKind === 3 /* TriggerForIncompleteCompletions */ && previousToken && isIdentifier(previousToken)) {\n    const incompleteContinuation = continuePreviousIncompleteResponse(incompleteCompletionsCache, sourceFile, previousToken, program, host, preferences, cancellationToken);\n    if (incompleteContinuation) {\n      return incompleteContinuation;\n    }\n  } else {\n    incompleteCompletionsCache == null ? void 0 : incompleteCompletionsCache.clear();\n  }\n  const stringCompletions = ts_Completions_StringCompletions_exports.getStringLiteralCompletions(sourceFile, position, previousToken, compilerOptions, host, program, log, preferences);\n  if (stringCompletions) {\n    return stringCompletions;\n  }\n  if (previousToken && isBreakOrContinueStatement(previousToken.parent) && (previousToken.kind === 81 /* BreakKeyword */ || previousToken.kind === 87 /* ContinueKeyword */ || previousToken.kind === 79 /* Identifier */)) {\n    return getLabelCompletionAtPosition(previousToken.parent);\n  }\n  const completionData = getCompletionData(program, log, sourceFile, compilerOptions, position, preferences, void 0, host, formatContext, cancellationToken);\n  if (!completionData) {\n    return void 0;\n  }\n  switch (completionData.kind) {\n    case CompletionDataKind.Data:\n      const response = completionInfoFromData(sourceFile, host, program, compilerOptions, log, completionData, preferences, formatContext, position);\n      if (response == null ? void 0 : response.isIncomplete) {\n        incompleteCompletionsCache == null ? void 0 : incompleteCompletionsCache.set(response);\n      }\n      return response;\n    case CompletionDataKind.JsDocTagName:\n      return jsdocCompletionInfo(ts_JsDoc_exports.getJSDocTagNameCompletions());\n    case CompletionDataKind.JsDocTag:\n      return jsdocCompletionInfo(ts_JsDoc_exports.getJSDocTagCompletions());\n    case CompletionDataKind.JsDocParameterName:\n      return jsdocCompletionInfo(ts_JsDoc_exports.getJSDocParameterNameCompletions(completionData.tag));\n    case CompletionDataKind.Keywords:\n      return specificKeywordCompletionInfo(completionData.keywordCompletions, completionData.isNewIdentifierLocation);\n    default:\n      return Debug.assertNever(completionData);\n  }\n}\nfunction compareCompletionEntries(entryInArray, entryToInsert) {\n  var _a2, _b;\n  let result = compareStringsCaseSensitiveUI(entryInArray.sortText, entryToInsert.sortText);\n  if (result === 0 /* EqualTo */) {\n    result = compareStringsCaseSensitiveUI(entryInArray.name, entryToInsert.name);\n  }\n  if (result === 0 /* EqualTo */ && ((_a2 = entryInArray.data) == null ? void 0 : _a2.moduleSpecifier) && ((_b = entryToInsert.data) == null ? void 0 : _b.moduleSpecifier)) {\n    result = compareNumberOfDirectorySeparators(\n      entryInArray.data.moduleSpecifier,\n      entryToInsert.data.moduleSpecifier\n    );\n  }\n  if (result === 0 /* EqualTo */) {\n    return -1 /* LessThan */;\n  }\n  return result;\n}\nfunction completionEntryDataIsResolved(data) {\n  return !!(data == null ? void 0 : data.moduleSpecifier);\n}\nfunction continuePreviousIncompleteResponse(cache, file, location, program, host, preferences, cancellationToken) {\n  const previousResponse = cache.get();\n  if (!previousResponse)\n    return void 0;\n  const lowerCaseTokenText = location.text.toLowerCase();\n  const exportMap = getExportInfoMap(file, host, program, preferences, cancellationToken);\n  const newEntries = resolvingModuleSpecifiers(\n    \"continuePreviousIncompleteResponse\",\n    host,\n    ts_codefix_exports.createImportSpecifierResolver(file, program, host, preferences),\n    program,\n    location.getStart(),\n    preferences,\n    false,\n    isValidTypeOnlyAliasUseSite(location),\n    (context) => {\n      const entries = mapDefined(previousResponse.entries, (entry) => {\n        var _a2;\n        if (!entry.hasAction || !entry.source || !entry.data || completionEntryDataIsResolved(entry.data)) {\n          return entry;\n        }\n        if (!charactersFuzzyMatchInString(entry.name, lowerCaseTokenText)) {\n          return void 0;\n        }\n        const { origin } = Debug.checkDefined(getAutoImportSymbolFromCompletionEntryData(entry.name, entry.data, program, host));\n        const info = exportMap.get(file.path, entry.data.exportMapKey);\n        const result = info && context.tryResolve(info, entry.name, !isExternalModuleNameRelative(stripQuotes(origin.moduleSymbol.name)));\n        if (result === \"skipped\")\n          return entry;\n        if (!result || result === \"failed\") {\n          (_a2 = host.log) == null ? void 0 : _a2.call(host, `Unexpected failure resolving auto import for '${entry.name}' from '${entry.source}'`);\n          return void 0;\n        }\n        const newOrigin = {\n          ...origin,\n          kind: 32 /* ResolvedExport */,\n          moduleSpecifier: result.moduleSpecifier\n        };\n        entry.data = originToCompletionEntryData(newOrigin);\n        entry.source = getSourceFromOrigin(newOrigin);\n        entry.sourceDisplay = [textPart(newOrigin.moduleSpecifier)];\n        return entry;\n      });\n      if (!context.skippedAny()) {\n        previousResponse.isIncomplete = void 0;\n      }\n      return entries;\n    }\n  );\n  previousResponse.entries = newEntries;\n  previousResponse.flags = (previousResponse.flags || 0) | 4 /* IsContinuation */;\n  return previousResponse;\n}\nfunction jsdocCompletionInfo(entries) {\n  return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries };\n}\nfunction keywordToCompletionEntry(keyword) {\n  return {\n    name: tokenToString(keyword),\n    kind: \"keyword\" /* keyword */,\n    kindModifiers: \"\" /* none */,\n    sortText: SortText.GlobalsOrKeywords\n  };\n}\nfunction specificKeywordCompletionInfo(entries, isNewIdentifierLocation) {\n  return {\n    isGlobalCompletion: false,\n    isMemberCompletion: false,\n    isNewIdentifierLocation,\n    entries: entries.slice()\n  };\n}\nfunction keywordCompletionData(keywordFilters, filterOutTsOnlyKeywords, isNewIdentifierLocation) {\n  return {\n    kind: CompletionDataKind.Keywords,\n    keywordCompletions: getKeywordCompletions(keywordFilters, filterOutTsOnlyKeywords),\n    isNewIdentifierLocation\n  };\n}\nfunction keywordFiltersFromSyntaxKind(keywordCompletion) {\n  switch (keywordCompletion) {\n    case 155 /* TypeKeyword */:\n      return 8 /* TypeKeyword */;\n    default:\n      Debug.fail(\"Unknown mapping from SyntaxKind to KeywordCompletionFilters\");\n  }\n}\nfunction getOptionalReplacementSpan(location) {\n  return (location == null ? void 0 : location.kind) === 79 /* Identifier */ ? createTextSpanFromNode(location) : void 0;\n}\nfunction completionInfoFromData(sourceFile, host, program, compilerOptions, log, completionData, preferences, formatContext, position) {\n  const {\n    symbols,\n    contextToken,\n    completionKind,\n    isInSnippetScope,\n    isNewIdentifierLocation,\n    location,\n    propertyAccessToConvert,\n    keywordFilters,\n    literals,\n    symbolToOriginInfoMap,\n    recommendedCompletion,\n    isJsxInitializer,\n    isTypeOnlyLocation,\n    isJsxIdentifierExpected,\n    isRightOfOpenTag,\n    importStatementCompletion,\n    insideJsDocTagTypeExpression,\n    symbolToSortTextMap,\n    hasUnresolvedAutoImports\n  } = completionData;\n  if (getLanguageVariant(sourceFile.scriptKind) === 1 /* JSX */) {\n    const completionInfo = getJsxClosingTagCompletion(location, sourceFile);\n    if (completionInfo) {\n      return completionInfo;\n    }\n  }\n  const entries = createSortedArray();\n  const isChecked = isCheckedFile(sourceFile, compilerOptions);\n  if (isChecked && !isNewIdentifierLocation && (!symbols || symbols.length === 0) && keywordFilters === 0 /* None */) {\n    return void 0;\n  }\n  const uniqueNames = getCompletionEntriesFromSymbols(\n    symbols,\n    entries,\n    void 0,\n    contextToken,\n    location,\n    sourceFile,\n    host,\n    program,\n    getEmitScriptTarget(compilerOptions),\n    log,\n    completionKind,\n    preferences,\n    compilerOptions,\n    formatContext,\n    isTypeOnlyLocation,\n    propertyAccessToConvert,\n    isJsxIdentifierExpected,\n    isJsxInitializer,\n    importStatementCompletion,\n    recommendedCompletion,\n    symbolToOriginInfoMap,\n    symbolToSortTextMap,\n    isJsxIdentifierExpected,\n    isRightOfOpenTag\n  );\n  if (keywordFilters !== 0 /* None */) {\n    for (const keywordEntry of getKeywordCompletions(keywordFilters, !insideJsDocTagTypeExpression && isSourceFileJS(sourceFile))) {\n      if (isTypeOnlyLocation && isTypeKeyword(stringToToken(keywordEntry.name)) || !uniqueNames.has(keywordEntry.name)) {\n        uniqueNames.add(keywordEntry.name);\n        insertSorted(entries, keywordEntry, compareCompletionEntries, true);\n      }\n    }\n  }\n  for (const keywordEntry of getContextualKeywords(contextToken, position)) {\n    if (!uniqueNames.has(keywordEntry.name)) {\n      uniqueNames.add(keywordEntry.name);\n      insertSorted(entries, keywordEntry, compareCompletionEntries, true);\n    }\n  }\n  for (const literal of literals) {\n    const literalEntry = createCompletionEntryForLiteral(sourceFile, preferences, literal);\n    uniqueNames.add(literalEntry.name);\n    insertSorted(entries, literalEntry, compareCompletionEntries, true);\n  }\n  if (!isChecked) {\n    getJSCompletionEntries(sourceFile, location.pos, uniqueNames, getEmitScriptTarget(compilerOptions), entries);\n  }\n  return {\n    flags: completionData.flags,\n    isGlobalCompletion: isInSnippetScope,\n    isIncomplete: preferences.allowIncompleteCompletions && hasUnresolvedAutoImports ? true : void 0,\n    isMemberCompletion: isMemberCompletionKind(completionKind),\n    isNewIdentifierLocation,\n    optionalReplacementSpan: getOptionalReplacementSpan(location),\n    entries\n  };\n}\nfunction isCheckedFile(sourceFile, compilerOptions) {\n  return !isSourceFileJS(sourceFile) || !!isCheckJsEnabledForFile(sourceFile, compilerOptions);\n}\nfunction isMemberCompletionKind(kind) {\n  switch (kind) {\n    case CompletionKind.ObjectPropertyDeclaration:\n    case CompletionKind.MemberLike:\n    case CompletionKind.PropertyAccess:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction getJsxClosingTagCompletion(location, sourceFile) {\n  const jsxClosingElement = findAncestor(location, (node) => {\n    switch (node.kind) {\n      case 290 /* JsxClosingElement */:\n        return true;\n      case 43 /* SlashToken */:\n      case 31 /* GreaterThanToken */:\n      case 79 /* Identifier */:\n      case 211 /* PropertyAccessExpression */:\n        return false;\n      default:\n        return \"quit\";\n    }\n  });\n  if (jsxClosingElement) {\n    const hasClosingAngleBracket = !!findChildOfKind(jsxClosingElement, 31 /* GreaterThanToken */, sourceFile);\n    const tagName = jsxClosingElement.parent.openingElement.tagName;\n    const closingTag = tagName.getText(sourceFile);\n    const fullClosingTag = closingTag + (hasClosingAngleBracket ? \"\" : \">\");\n    const replacementSpan = createTextSpanFromNode(jsxClosingElement.tagName);\n    const entry = {\n      name: fullClosingTag,\n      kind: \"class\" /* classElement */,\n      kindModifiers: void 0,\n      sortText: SortText.LocationPriority\n    };\n    return { isGlobalCompletion: false, isMemberCompletion: true, isNewIdentifierLocation: false, optionalReplacementSpan: replacementSpan, entries: [entry] };\n  }\n  return;\n}\nfunction getJSCompletionEntries(sourceFile, position, uniqueNames, target, entries) {\n  getNameTable(sourceFile).forEach((pos, name) => {\n    if (pos === position) {\n      return;\n    }\n    const realName = unescapeLeadingUnderscores(name);\n    if (!uniqueNames.has(realName) && isIdentifierText(realName, target)) {\n      uniqueNames.add(realName);\n      insertSorted(entries, {\n        name: realName,\n        kind: \"warning\" /* warning */,\n        kindModifiers: \"\",\n        sortText: SortText.JavascriptIdentifiers,\n        isFromUncheckedFile: true\n      }, compareCompletionEntries);\n    }\n  });\n}\nfunction completionNameForLiteral(sourceFile, preferences, literal) {\n  return typeof literal === \"object\" ? pseudoBigIntToString(literal) + \"n\" : isString(literal) ? quote(sourceFile, preferences, literal) : JSON.stringify(literal);\n}\nfunction createCompletionEntryForLiteral(sourceFile, preferences, literal) {\n  return { name: completionNameForLiteral(sourceFile, preferences, literal), kind: \"string\" /* string */, kindModifiers: \"\" /* none */, sortText: SortText.LocationPriority };\n}\nfunction createCompletionEntry(symbol, sortText, replacementToken, contextToken, location, sourceFile, host, program, name, needsConvertPropertyAccess, origin, recommendedCompletion, propertyAccessToConvert, isJsxInitializer, importStatementCompletion, useSemicolons, options, preferences, completionKind, formatContext, isJsxIdentifierExpected, isRightOfOpenTag) {\n  let insertText;\n  let replacementSpan = getReplacementSpanForContextToken(replacementToken);\n  let data;\n  let isSnippet;\n  let source = getSourceFromOrigin(origin);\n  let sourceDisplay;\n  let hasAction;\n  let labelDetails;\n  const typeChecker3 = program.getTypeChecker();\n  const insertQuestionDot = origin && originIsNullableMember(origin);\n  const useBraces = origin && originIsSymbolMember(origin) || needsConvertPropertyAccess;\n  if (origin && originIsThisType(origin)) {\n    insertText = needsConvertPropertyAccess ? `this${insertQuestionDot ? \"?.\" : \"\"}[${quotePropertyName(sourceFile, preferences, name)}]` : `this${insertQuestionDot ? \"?.\" : \".\"}${name}`;\n  } else if ((useBraces || insertQuestionDot) && propertyAccessToConvert) {\n    insertText = useBraces ? needsConvertPropertyAccess ? `[${quotePropertyName(sourceFile, preferences, name)}]` : `[${name}]` : name;\n    if (insertQuestionDot || propertyAccessToConvert.questionDotToken) {\n      insertText = `?.${insertText}`;\n    }\n    const dot = findChildOfKind(propertyAccessToConvert, 24 /* DotToken */, sourceFile) || findChildOfKind(propertyAccessToConvert, 28 /* QuestionDotToken */, sourceFile);\n    if (!dot) {\n      return void 0;\n    }\n    const end = startsWith(name, propertyAccessToConvert.name.text) ? propertyAccessToConvert.name.end : dot.end;\n    replacementSpan = createTextSpanFromBounds(dot.getStart(sourceFile), end);\n  }\n  if (isJsxInitializer) {\n    if (insertText === void 0)\n      insertText = name;\n    insertText = `{${insertText}}`;\n    if (typeof isJsxInitializer !== \"boolean\") {\n      replacementSpan = createTextSpanFromNode(isJsxInitializer, sourceFile);\n    }\n  }\n  if (origin && originIsPromise(origin) && propertyAccessToConvert) {\n    if (insertText === void 0)\n      insertText = name;\n    const precedingToken = findPrecedingToken(propertyAccessToConvert.pos, sourceFile);\n    let awaitText = \"\";\n    if (precedingToken && positionIsASICandidate(precedingToken.end, precedingToken.parent, sourceFile)) {\n      awaitText = \";\";\n    }\n    awaitText += `(await ${propertyAccessToConvert.expression.getText()})`;\n    insertText = needsConvertPropertyAccess ? `${awaitText}${insertText}` : `${awaitText}${insertQuestionDot ? \"?.\" : \".\"}${insertText}`;\n    replacementSpan = createTextSpanFromBounds(propertyAccessToConvert.getStart(sourceFile), propertyAccessToConvert.end);\n  }\n  if (originIsResolvedExport(origin)) {\n    sourceDisplay = [textPart(origin.moduleSpecifier)];\n    if (importStatementCompletion) {\n      ({ insertText, replacementSpan } = getInsertTextAndReplacementSpanForImportCompletion(name, importStatementCompletion, origin, useSemicolons, sourceFile, options, preferences));\n      isSnippet = preferences.includeCompletionsWithSnippetText ? true : void 0;\n    }\n  }\n  if ((origin == null ? void 0 : origin.kind) === 64 /* TypeOnlyAlias */) {\n    hasAction = true;\n  }\n  if (preferences.includeCompletionsWithClassMemberSnippets && preferences.includeCompletionsWithInsertText && completionKind === CompletionKind.MemberLike && isClassLikeMemberCompletion(symbol, location, sourceFile)) {\n    let importAdder;\n    ({ insertText, isSnippet, importAdder, replacementSpan } = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext));\n    sortText = SortText.ClassMemberSnippets;\n    if (importAdder == null ? void 0 : importAdder.hasFixes()) {\n      hasAction = true;\n      source = \"ClassMemberSnippet/\" /* ClassMemberSnippet */;\n    }\n  }\n  if (origin && originIsObjectLiteralMethod(origin)) {\n    ({ insertText, isSnippet, labelDetails } = origin);\n    if (!preferences.useLabelDetailsInCompletionEntries) {\n      name = name + labelDetails.detail;\n      labelDetails = void 0;\n    }\n    source = \"ObjectLiteralMethodSnippet/\" /* ObjectLiteralMethodSnippet */;\n    sortText = SortText.SortBelow(sortText);\n  }\n  if (isJsxIdentifierExpected && !isRightOfOpenTag && preferences.includeCompletionsWithSnippetText && preferences.jsxAttributeCompletionStyle && preferences.jsxAttributeCompletionStyle !== \"none\") {\n    let useBraces2 = preferences.jsxAttributeCompletionStyle === \"braces\";\n    const type = typeChecker3.getTypeOfSymbolAtLocation(symbol, location);\n    if (preferences.jsxAttributeCompletionStyle === \"auto\" && !(type.flags & 528 /* BooleanLike */) && !(type.flags & 1048576 /* Union */ && find(type.types, (type2) => !!(type2.flags & 528 /* BooleanLike */)))) {\n      if (type.flags & 402653316 /* StringLike */ || type.flags & 1048576 /* Union */ && every(type.types, (type2) => !!(type2.flags & (402653316 /* StringLike */ | 32768 /* Undefined */)))) {\n        insertText = `${escapeSnippetText(name)}=${quote(sourceFile, preferences, \"$1\")}`;\n        isSnippet = true;\n      } else {\n        useBraces2 = true;\n      }\n    }\n    if (useBraces2) {\n      insertText = `${escapeSnippetText(name)}={$1}`;\n      isSnippet = true;\n    }\n  }\n  if (insertText !== void 0 && !preferences.includeCompletionsWithInsertText) {\n    return void 0;\n  }\n  if (originIsExport(origin) || originIsResolvedExport(origin)) {\n    data = originToCompletionEntryData(origin);\n    hasAction = !importStatementCompletion;\n  }\n  return {\n    name,\n    kind: ts_SymbolDisplay_exports.getSymbolKind(typeChecker3, symbol, location),\n    kindModifiers: ts_SymbolDisplay_exports.getSymbolModifiers(typeChecker3, symbol),\n    sortText,\n    source,\n    hasAction: hasAction ? true : void 0,\n    isRecommended: isRecommendedCompletionMatch(symbol, recommendedCompletion, typeChecker3) || void 0,\n    insertText,\n    replacementSpan,\n    sourceDisplay,\n    labelDetails,\n    isSnippet,\n    isPackageJsonImport: originIsPackageJsonImport(origin) || void 0,\n    isImportStatementCompletion: !!importStatementCompletion || void 0,\n    data\n  };\n}\nfunction isClassLikeMemberCompletion(symbol, location, sourceFile) {\n  if (isInJSFile(location)) {\n    return false;\n  }\n  const memberFlags = 106500 /* ClassMember */ & 900095 /* EnumMemberExcludes */;\n  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));\n}\nfunction getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, contextToken, formatContext) {\n  const classLikeDeclaration = findAncestor(location, isClassLike);\n  if (!classLikeDeclaration) {\n    return { insertText: name };\n  }\n  let isSnippet;\n  let replacementSpan;\n  let insertText = name;\n  const checker = program.getTypeChecker();\n  const sourceFile = location.getSourceFile();\n  const printer3 = createSnippetPrinter({\n    removeComments: true,\n    module: options.module,\n    target: options.target,\n    omitTrailingSemicolon: false,\n    newLine: getNewLineKind(getNewLineCharacter(options, maybeBind(host, host.getNewLine)))\n  });\n  const importAdder = ts_codefix_exports.createImportAdder(sourceFile, program, preferences, host);\n  let body;\n  if (preferences.includeCompletionsWithSnippetText) {\n    isSnippet = true;\n    const emptyStmt = factory.createEmptyStatement();\n    body = factory.createBlock([emptyStmt], true);\n    setSnippetElement(emptyStmt, { kind: 0 /* TabStop */, order: 0 });\n  } else {\n    body = factory.createBlock([], true);\n  }\n  let modifiers = 0 /* None */;\n  const { modifiers: presentModifiers, span: modifiersSpan } = getPresentModifiers(contextToken);\n  const isAbstract = !!(presentModifiers & 256 /* Abstract */);\n  const completionNodes = [];\n  ts_codefix_exports.addNewNodeForMemberSymbol(\n    symbol,\n    classLikeDeclaration,\n    sourceFile,\n    { program, host },\n    preferences,\n    importAdder,\n    (node) => {\n      let requiredModifiers = 0 /* None */;\n      if (isAbstract) {\n        requiredModifiers |= 256 /* Abstract */;\n      }\n      if (isClassElement(node) && checker.getMemberOverrideModifierStatus(classLikeDeclaration, node) === 1 /* NeedsOverride */) {\n        requiredModifiers |= 16384 /* Override */;\n      }\n      if (!completionNodes.length) {\n        modifiers = node.modifierFlagsCache | requiredModifiers | presentModifiers;\n      }\n      node = factory.updateModifiers(node, modifiers);\n      completionNodes.push(node);\n    },\n    body,\n    ts_codefix_exports.PreserveOptionalFlags.Property,\n    isAbstract\n  );\n  if (completionNodes.length) {\n    const format = 1 /* MultiLine */ | 131072 /* NoTrailingNewLine */;\n    replacementSpan = modifiersSpan;\n    if (formatContext) {\n      insertText = printer3.printAndFormatSnippetList(\n        format,\n        factory.createNodeArray(completionNodes),\n        sourceFile,\n        formatContext\n      );\n    } else {\n      insertText = printer3.printSnippetList(\n        format,\n        factory.createNodeArray(completionNodes),\n        sourceFile\n      );\n    }\n  }\n  return { insertText, isSnippet, importAdder, replacementSpan };\n}\nfunction getPresentModifiers(contextToken) {\n  if (!contextToken) {\n    return { modifiers: 0 /* None */ };\n  }\n  let modifiers = 0 /* None */;\n  let span;\n  let contextMod;\n  if (contextMod = isModifierLike2(contextToken)) {\n    modifiers |= modifierToFlag(contextMod);\n    span = createTextSpanFromNode(contextToken);\n  }\n  if (isPropertyDeclaration(contextToken.parent)) {\n    modifiers |= modifiersToFlags(contextToken.parent.modifiers) & 126975 /* Modifier */;\n    span = createTextSpanFromNode(contextToken.parent);\n  }\n  return { modifiers, span };\n}\nfunction isModifierLike2(node) {\n  if (isModifier(node)) {\n    return node.kind;\n  }\n  if (isIdentifier(node) && node.originalKeywordKind && isModifierKind(node.originalKeywordKind)) {\n    return node.originalKeywordKind;\n  }\n  return void 0;\n}\nfunction getEntryForObjectLiteralMethodCompletion(symbol, name, enclosingDeclaration, program, host, options, preferences, formatContext) {\n  const isSnippet = preferences.includeCompletionsWithSnippetText || void 0;\n  let insertText = name;\n  const sourceFile = enclosingDeclaration.getSourceFile();\n  const method = createObjectLiteralMethod(symbol, enclosingDeclaration, sourceFile, program, host, preferences);\n  if (!method) {\n    return void 0;\n  }\n  const printer3 = createSnippetPrinter({\n    removeComments: true,\n    module: options.module,\n    target: options.target,\n    omitTrailingSemicolon: false,\n    newLine: getNewLineKind(getNewLineCharacter(options, maybeBind(host, host.getNewLine)))\n  });\n  if (formatContext) {\n    insertText = printer3.printAndFormatSnippetList(16 /* CommaDelimited */ | 64 /* AllowTrailingComma */, factory.createNodeArray([method], true), sourceFile, formatContext);\n  } else {\n    insertText = printer3.printSnippetList(16 /* CommaDelimited */ | 64 /* AllowTrailingComma */, factory.createNodeArray([method], true), sourceFile);\n  }\n  const signaturePrinter = createPrinter({\n    removeComments: true,\n    module: options.module,\n    target: options.target,\n    omitTrailingSemicolon: true\n  });\n  const methodSignature = factory.createMethodSignature(\n    void 0,\n    \"\",\n    method.questionToken,\n    method.typeParameters,\n    method.parameters,\n    method.type\n  );\n  const labelDetails = { detail: signaturePrinter.printNode(4 /* Unspecified */, methodSignature, sourceFile) };\n  return { isSnippet, insertText, labelDetails };\n}\nfunction createObjectLiteralMethod(symbol, enclosingDeclaration, sourceFile, program, host, preferences) {\n  const declarations = symbol.getDeclarations();\n  if (!(declarations && declarations.length)) {\n    return void 0;\n  }\n  const checker = program.getTypeChecker();\n  const declaration = declarations[0];\n  const name = getSynthesizedDeepClone(getNameOfDeclaration(declaration), false);\n  const type = checker.getWidenedType(checker.getTypeOfSymbolAtLocation(symbol, enclosingDeclaration));\n  const quotePreference = getQuotePreference(sourceFile, preferences);\n  const builderFlags = 33554432 /* OmitThisParameter */ | (quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : 0 /* None */);\n  switch (declaration.kind) {\n    case 170 /* PropertySignature */:\n    case 171 /* PropertyDeclaration */:\n    case 173 /* MethodSignature */:\n    case 174 /* MethodDeclaration */: {\n      let effectiveType = type.flags & 1048576 /* Union */ && type.types.length < 10 ? checker.getUnionType(type.types, 2 /* Subtype */) : type;\n      if (effectiveType.flags & 1048576 /* Union */) {\n        const functionTypes = filter(effectiveType.types, (type2) => checker.getSignaturesOfType(type2, 0 /* Call */).length > 0);\n        if (functionTypes.length === 1) {\n          effectiveType = functionTypes[0];\n        } else {\n          return void 0;\n        }\n      }\n      const signatures = checker.getSignaturesOfType(effectiveType, 0 /* Call */);\n      if (signatures.length !== 1) {\n        return void 0;\n      }\n      const typeNode = checker.typeToTypeNode(effectiveType, enclosingDeclaration, builderFlags, ts_codefix_exports.getNoopSymbolTrackerWithResolver({ program, host }));\n      if (!typeNode || !isFunctionTypeNode(typeNode)) {\n        return void 0;\n      }\n      let body;\n      if (preferences.includeCompletionsWithSnippetText) {\n        const emptyStmt = factory.createEmptyStatement();\n        body = factory.createBlock([emptyStmt], true);\n        setSnippetElement(emptyStmt, { kind: 0 /* TabStop */, order: 0 });\n      } else {\n        body = factory.createBlock([], true);\n      }\n      const parameters = typeNode.parameters.map((typedParam) => factory.createParameterDeclaration(\n        void 0,\n        typedParam.dotDotDotToken,\n        typedParam.name,\n        void 0,\n        void 0,\n        typedParam.initializer\n      ));\n      return factory.createMethodDeclaration(\n        void 0,\n        void 0,\n        name,\n        void 0,\n        void 0,\n        parameters,\n        void 0,\n        body\n      );\n    }\n    default:\n      return void 0;\n  }\n}\nfunction createSnippetPrinter(printerOptions) {\n  let escapes;\n  const baseWriter = ts_textChanges_exports.createWriter(getNewLineCharacter(printerOptions));\n  const printer3 = createPrinter(printerOptions, baseWriter);\n  const writer = {\n    ...baseWriter,\n    write: (s) => escapingWrite(s, () => baseWriter.write(s)),\n    nonEscapingWrite: baseWriter.write,\n    writeLiteral: (s) => escapingWrite(s, () => baseWriter.writeLiteral(s)),\n    writeStringLiteral: (s) => escapingWrite(s, () => baseWriter.writeStringLiteral(s)),\n    writeSymbol: (s, symbol) => escapingWrite(s, () => baseWriter.writeSymbol(s, symbol)),\n    writeParameter: (s) => escapingWrite(s, () => baseWriter.writeParameter(s)),\n    writeComment: (s) => escapingWrite(s, () => baseWriter.writeComment(s)),\n    writeProperty: (s) => escapingWrite(s, () => baseWriter.writeProperty(s))\n  };\n  return {\n    printSnippetList,\n    printAndFormatSnippetList\n  };\n  function escapingWrite(s, write) {\n    const escaped = escapeSnippetText(s);\n    if (escaped !== s) {\n      const start = baseWriter.getTextPos();\n      write();\n      const end = baseWriter.getTextPos();\n      escapes = append(escapes || (escapes = []), { newText: escaped, span: { start, length: end - start } });\n    } else {\n      write();\n    }\n  }\n  function printSnippetList(format, list, sourceFile) {\n    const unescaped = printUnescapedSnippetList(format, list, sourceFile);\n    return escapes ? ts_textChanges_exports.applyChanges(unescaped, escapes) : unescaped;\n  }\n  function printUnescapedSnippetList(format, list, sourceFile) {\n    escapes = void 0;\n    writer.clear();\n    printer3.writeList(format, list, sourceFile, writer);\n    return writer.getText();\n  }\n  function printAndFormatSnippetList(format, list, sourceFile, formatContext) {\n    const syntheticFile = {\n      text: printUnescapedSnippetList(\n        format,\n        list,\n        sourceFile\n      ),\n      getLineAndCharacterOfPosition(pos) {\n        return getLineAndCharacterOfPosition(this, pos);\n      }\n    };\n    const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile);\n    const changes = flatMap(list, (node) => {\n      const nodeWithPos = ts_textChanges_exports.assignPositionsToNode(node);\n      return ts_formatting_exports.formatNodeGivenIndentation(\n        nodeWithPos,\n        syntheticFile,\n        sourceFile.languageVariant,\n        0,\n        0,\n        { ...formatContext, options: formatOptions }\n      );\n    });\n    const allChanges = escapes ? stableSort(concatenate(changes, escapes), (a, b) => compareTextSpans(a.span, b.span)) : changes;\n    return ts_textChanges_exports.applyChanges(syntheticFile.text, allChanges);\n  }\n}\nfunction originToCompletionEntryData(origin) {\n  const ambientModuleName = origin.fileName ? void 0 : stripQuotes(origin.moduleSymbol.name);\n  const isPackageJsonImport = origin.isFromPackageJson ? true : void 0;\n  if (originIsResolvedExport(origin)) {\n    const resolvedData = {\n      exportName: origin.exportName,\n      moduleSpecifier: origin.moduleSpecifier,\n      ambientModuleName,\n      fileName: origin.fileName,\n      isPackageJsonImport\n    };\n    return resolvedData;\n  }\n  const unresolvedData = {\n    exportName: origin.exportName,\n    exportMapKey: origin.exportMapKey,\n    fileName: origin.fileName,\n    ambientModuleName: origin.fileName ? void 0 : stripQuotes(origin.moduleSymbol.name),\n    isPackageJsonImport: origin.isFromPackageJson ? true : void 0\n  };\n  return unresolvedData;\n}\nfunction completionEntryDataToSymbolOriginInfo(data, completionName, moduleSymbol) {\n  const isDefaultExport = data.exportName === \"default\" /* Default */;\n  const isFromPackageJson = !!data.isPackageJsonImport;\n  if (completionEntryDataIsResolved(data)) {\n    const resolvedOrigin = {\n      kind: 32 /* ResolvedExport */,\n      exportName: data.exportName,\n      moduleSpecifier: data.moduleSpecifier,\n      symbolName: completionName,\n      fileName: data.fileName,\n      moduleSymbol,\n      isDefaultExport,\n      isFromPackageJson\n    };\n    return resolvedOrigin;\n  }\n  const unresolvedOrigin = {\n    kind: 4 /* Export */,\n    exportName: data.exportName,\n    exportMapKey: data.exportMapKey,\n    symbolName: completionName,\n    fileName: data.fileName,\n    moduleSymbol,\n    isDefaultExport,\n    isFromPackageJson\n  };\n  return unresolvedOrigin;\n}\nfunction getInsertTextAndReplacementSpanForImportCompletion(name, importStatementCompletion, origin, useSemicolons, sourceFile, options, preferences) {\n  const replacementSpan = importStatementCompletion.replacementSpan;\n  const quotedModuleSpecifier = quote(sourceFile, preferences, origin.moduleSpecifier);\n  const exportKind = origin.isDefaultExport ? 1 /* Default */ : origin.exportName === \"export=\" /* ExportEquals */ ? 2 /* ExportEquals */ : 0 /* Named */;\n  const tabStop = preferences.includeCompletionsWithSnippetText ? \"$1\" : \"\";\n  const importKind = ts_codefix_exports.getImportKind(sourceFile, exportKind, options, true);\n  const isImportSpecifierTypeOnly = importStatementCompletion.couldBeTypeOnlyImportSpecifier;\n  const topLevelTypeOnlyText = importStatementCompletion.isTopLevelTypeOnly ? ` ${tokenToString(155 /* TypeKeyword */)} ` : \" \";\n  const importSpecifierTypeOnlyText = isImportSpecifierTypeOnly ? `${tokenToString(155 /* TypeKeyword */)} ` : \"\";\n  const suffix = useSemicolons ? \";\" : \"\";\n  switch (importKind) {\n    case 3 /* CommonJS */:\n      return { replacementSpan, insertText: `import${topLevelTypeOnlyText}${escapeSnippetText(name)}${tabStop} = require(${quotedModuleSpecifier})${suffix}` };\n    case 1 /* Default */:\n      return { replacementSpan, insertText: `import${topLevelTypeOnlyText}${escapeSnippetText(name)}${tabStop} from ${quotedModuleSpecifier}${suffix}` };\n    case 2 /* Namespace */:\n      return { replacementSpan, insertText: `import${topLevelTypeOnlyText}* as ${escapeSnippetText(name)} from ${quotedModuleSpecifier}${suffix}` };\n    case 0 /* Named */:\n      return { replacementSpan, insertText: `import${topLevelTypeOnlyText}{ ${importSpecifierTypeOnlyText}${escapeSnippetText(name)}${tabStop} } from ${quotedModuleSpecifier}${suffix}` };\n  }\n}\nfunction quotePropertyName(sourceFile, preferences, name) {\n  if (/^\\d+$/.test(name)) {\n    return name;\n  }\n  return quote(sourceFile, preferences, name);\n}\nfunction isRecommendedCompletionMatch(localSymbol, recommendedCompletion, checker) {\n  return localSymbol === recommendedCompletion || !!(localSymbol.flags & 1048576 /* ExportValue */) && checker.getExportSymbolOfSymbol(localSymbol) === recommendedCompletion;\n}\nfunction getSourceFromOrigin(origin) {\n  if (originIsExport(origin)) {\n    return stripQuotes(origin.moduleSymbol.name);\n  }\n  if (originIsResolvedExport(origin)) {\n    return origin.moduleSpecifier;\n  }\n  if ((origin == null ? void 0 : origin.kind) === 1 /* ThisType */) {\n    return \"ThisProperty/\" /* ThisProperty */;\n  }\n  if ((origin == null ? void 0 : origin.kind) === 64 /* TypeOnlyAlias */) {\n    return \"TypeOnlyAlias/\" /* TypeOnlyAlias */;\n  }\n}\nfunction getCompletionEntriesFromSymbols(symbols, entries, replacementToken, contextToken, location, sourceFile, host, program, target, log, kind, preferences, compilerOptions, formatContext, isTypeOnlyLocation, propertyAccessToConvert, jsxIdentifierExpected, isJsxInitializer, importStatementCompletion, recommendedCompletion, symbolToOriginInfoMap, symbolToSortTextMap, isJsxIdentifierExpected, isRightOfOpenTag) {\n  var _a2;\n  const start = timestamp();\n  const variableDeclaration = getVariableDeclaration(location);\n  const useSemicolons = probablyUsesSemicolons(sourceFile);\n  const typeChecker3 = program.getTypeChecker();\n  const uniques = new Map2();\n  for (let i = 0; i < symbols.length; i++) {\n    const symbol = symbols[i];\n    const origin = symbolToOriginInfoMap == null ? void 0 : symbolToOriginInfoMap[i];\n    const info = getCompletionEntryDisplayNameForSymbol(symbol, target, origin, kind, !!jsxIdentifierExpected);\n    if (!info || uniques.get(info.name) && (!origin || !originIsObjectLiteralMethod(origin)) || kind === CompletionKind.Global && symbolToSortTextMap && !shouldIncludeSymbol(symbol, symbolToSortTextMap)) {\n      continue;\n    }\n    const { name, needsConvertPropertyAccess } = info;\n    const originalSortText = (_a2 = symbolToSortTextMap == null ? void 0 : symbolToSortTextMap[getSymbolId(symbol)]) != null ? _a2 : SortText.LocationPriority;\n    const sortText = isDeprecated(symbol, typeChecker3) ? SortText.Deprecated(originalSortText) : originalSortText;\n    const entry = createCompletionEntry(\n      symbol,\n      sortText,\n      replacementToken,\n      contextToken,\n      location,\n      sourceFile,\n      host,\n      program,\n      name,\n      needsConvertPropertyAccess,\n      origin,\n      recommendedCompletion,\n      propertyAccessToConvert,\n      isJsxInitializer,\n      importStatementCompletion,\n      useSemicolons,\n      compilerOptions,\n      preferences,\n      kind,\n      formatContext,\n      isJsxIdentifierExpected,\n      isRightOfOpenTag\n    );\n    if (!entry) {\n      continue;\n    }\n    const shouldShadowLaterSymbols = (!origin || originIsTypeOnlyAlias(origin)) && !(symbol.parent === void 0 && !some(symbol.declarations, (d) => d.getSourceFile() === location.getSourceFile()));\n    uniques.set(name, shouldShadowLaterSymbols);\n    if (symbol.getJsDocTags().length > 0) {\n      entry.jsDoc = symbol.getJsDocTags();\n    }\n    if (symbol.declarations && i < 50) {\n      const symbolDisplayPartsDocumentationAndSymbolKind = ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker3, symbol, sourceFile, location, location, 7 /* All */);\n      const container = getContaningConstructorDeclaration(symbol.valueDeclaration);\n      const regex = /(Missing)/g;\n      entry.displayParts = container && container.virtual ? symbolDisplayPartsDocumentationAndSymbolKind.displayParts.map((part) => {\n        if (part.text.match(regex)) {\n          part.text = part.text.replace(regex, entry.name);\n        }\n        return part;\n      }) : symbolDisplayPartsDocumentationAndSymbolKind.displayParts;\n    }\n    insertSorted(entries, entry, compareCompletionEntries, true);\n  }\n  log(\"getCompletionsAtPosition: getCompletionEntriesFromSymbols: \" + (timestamp() - start));\n  return {\n    has: (name) => uniques.has(name),\n    add: (name) => uniques.set(name, true)\n  };\n  function shouldIncludeSymbol(symbol, symbolToSortTextMap2) {\n    let allFlags = symbol.flags;\n    if (!isSourceFile(location)) {\n      if (isExportAssignment(location.parent)) {\n        return true;\n      }\n      if (variableDeclaration && symbol.valueDeclaration === variableDeclaration) {\n        return false;\n      }\n      const symbolOrigin = skipAlias(symbol, typeChecker3);\n      if (!!sourceFile.externalModuleIndicator && !compilerOptions.allowUmdGlobalAccess && symbolToSortTextMap2[getSymbolId(symbol)] === SortText.GlobalsOrKeywords && (symbolToSortTextMap2[getSymbolId(symbolOrigin)] === SortText.AutoImportSuggestions || symbolToSortTextMap2[getSymbolId(symbolOrigin)] === SortText.LocationPriority)) {\n        return false;\n      }\n      allFlags |= getCombinedLocalAndExportSymbolFlags(symbolOrigin);\n      if (isInRightSideOfInternalImportEqualsDeclaration(location)) {\n        return !!(allFlags & 1920 /* Namespace */);\n      }\n      if (isTypeOnlyLocation) {\n        return symbolCanBeReferencedAtTypeLocation(symbol, typeChecker3);\n      }\n    }\n    return !!(allFlags & 111551 /* Value */);\n  }\n}\nfunction getLabelCompletionAtPosition(node) {\n  const entries = getLabelStatementCompletions(node);\n  if (entries.length) {\n    return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: false, entries };\n  }\n}\nfunction getLabelStatementCompletions(node) {\n  const entries = [];\n  const uniques = new Map2();\n  let current = node;\n  while (current) {\n    if (isFunctionLike(current)) {\n      break;\n    }\n    if (isLabeledStatement(current)) {\n      const name = current.label.text;\n      if (!uniques.has(name)) {\n        uniques.set(name, true);\n        entries.push({\n          name,\n          kindModifiers: \"\" /* none */,\n          kind: \"label\" /* label */,\n          sortText: SortText.LocationPriority\n        });\n      }\n    }\n    current = current.parent;\n  }\n  return entries;\n}\nfunction getSymbolCompletionFromEntryId(program, log, sourceFile, position, entryId, host, preferences) {\n  if (entryId.data) {\n    const autoImport = getAutoImportSymbolFromCompletionEntryData(entryId.name, entryId.data, program, host);\n    if (autoImport) {\n      const { contextToken: contextToken2, previousToken: previousToken2 } = getRelevantTokens(position, sourceFile);\n      return {\n        type: \"symbol\",\n        symbol: autoImport.symbol,\n        location: getTouchingPropertyName(sourceFile, position),\n        previousToken: previousToken2,\n        contextToken: contextToken2,\n        isJsxInitializer: false,\n        isTypeOnlyLocation: false,\n        origin: autoImport.origin\n      };\n    }\n  }\n  const compilerOptions = program.getCompilerOptions();\n  const completionData = getCompletionData(program, log, sourceFile, compilerOptions, position, { includeCompletionsForModuleExports: true, includeCompletionsWithInsertText: true }, entryId, host, void 0);\n  if (!completionData) {\n    return { type: \"none\" };\n  }\n  if (completionData.kind !== CompletionDataKind.Data) {\n    return { type: \"request\", request: completionData };\n  }\n  const { symbols, literals, location, completionKind, symbolToOriginInfoMap, contextToken, previousToken, isJsxInitializer, isTypeOnlyLocation } = completionData;\n  const literal = find(literals, (l) => completionNameForLiteral(sourceFile, preferences, l) === entryId.name);\n  if (literal !== void 0)\n    return { type: \"literal\", literal };\n  return firstDefined(symbols, (symbol, index) => {\n    const origin = symbolToOriginInfoMap[index];\n    const info = getCompletionEntryDisplayNameForSymbol(symbol, getEmitScriptTarget(compilerOptions), origin, completionKind, completionData.isJsxIdentifierExpected);\n    return info && info.name === entryId.name && (entryId.source === \"ClassMemberSnippet/\" /* ClassMemberSnippet */ && symbol.flags & 106500 /* ClassMember */ || entryId.source === \"ObjectLiteralMethodSnippet/\" /* ObjectLiteralMethodSnippet */ && symbol.flags & (4 /* Property */ | 8192 /* Method */) || getSourceFromOrigin(origin) === entryId.source) ? { type: \"symbol\", symbol, location, origin, contextToken, previousToken, isJsxInitializer, isTypeOnlyLocation } : void 0;\n  }) || { type: \"none\" };\n}\nfunction getCompletionEntryDetails(program, log, sourceFile, position, entryId, host, formatContext, preferences, cancellationToken) {\n  const typeChecker3 = program.getTypeChecker();\n  const compilerOptions = program.getCompilerOptions();\n  const { name, source, data } = entryId;\n  const contextToken = findPrecedingToken(position, sourceFile);\n  if (isInString(sourceFile, position, contextToken)) {\n    return ts_Completions_StringCompletions_exports.getStringLiteralCompletionDetails(name, sourceFile, position, contextToken, typeChecker3, compilerOptions, host, cancellationToken, preferences);\n  }\n  const symbolCompletion = getSymbolCompletionFromEntryId(program, log, sourceFile, position, entryId, host, preferences);\n  switch (symbolCompletion.type) {\n    case \"request\": {\n      const { request } = symbolCompletion;\n      switch (request.kind) {\n        case CompletionDataKind.JsDocTagName:\n          return ts_JsDoc_exports.getJSDocTagNameCompletionDetails(name);\n        case CompletionDataKind.JsDocTag:\n          return ts_JsDoc_exports.getJSDocTagCompletionDetails(name);\n        case CompletionDataKind.JsDocParameterName:\n          return ts_JsDoc_exports.getJSDocParameterNameCompletionDetails(name);\n        case CompletionDataKind.Keywords:\n          return some(request.keywordCompletions, (c) => c.name === name) ? createSimpleDetails(name, \"keyword\" /* keyword */, 5 /* keyword */) : void 0;\n        default:\n          return Debug.assertNever(request);\n      }\n    }\n    case \"symbol\": {\n      const { symbol, location, contextToken: contextToken2, origin, previousToken } = symbolCompletion;\n      const { codeActions, sourceDisplay } = getCompletionEntryCodeActionsAndSourceDisplay(name, location, contextToken2, origin, symbol, program, host, compilerOptions, sourceFile, position, previousToken, formatContext, preferences, data, source, cancellationToken);\n      return createCompletionDetailsForSymbol(symbol, typeChecker3, sourceFile, location, cancellationToken, codeActions, sourceDisplay);\n    }\n    case \"literal\": {\n      const { literal } = symbolCompletion;\n      return createSimpleDetails(completionNameForLiteral(sourceFile, preferences, literal), \"string\" /* string */, typeof literal === \"string\" ? 8 /* stringLiteral */ : 7 /* numericLiteral */);\n    }\n    case \"none\":\n      return allKeywordsCompletions().some((c) => c.name === name) ? createSimpleDetails(name, \"keyword\" /* keyword */, 5 /* keyword */) : void 0;\n    default:\n      Debug.assertNever(symbolCompletion);\n  }\n}\nfunction createSimpleDetails(name, kind, kind2) {\n  return createCompletionDetails(name, \"\" /* none */, kind, [displayPart(name, kind2)]);\n}\nfunction createCompletionDetailsForSymbol(symbol, checker, sourceFile, location, cancellationToken, codeActions, sourceDisplay) {\n  const { displayParts, documentation, symbolKind, tags } = checker.runWithCancellationToken(\n    cancellationToken,\n    (checker2) => ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(checker2, symbol, sourceFile, location, location, 7 /* All */)\n  );\n  return createCompletionDetails(symbol.name, ts_SymbolDisplay_exports.getSymbolModifiers(checker, symbol), symbolKind, displayParts, documentation, tags, codeActions, sourceDisplay);\n}\nfunction createCompletionDetails(name, kindModifiers, kind, displayParts, documentation, tags, codeActions, source) {\n  return { name, kindModifiers, kind, displayParts, documentation, tags, codeActions, source, sourceDisplay: source };\n}\nfunction getCompletionEntryCodeActionsAndSourceDisplay(name, location, contextToken, origin, symbol, program, host, compilerOptions, sourceFile, position, previousToken, formatContext, preferences, data, source, cancellationToken) {\n  if (data == null ? void 0 : data.moduleSpecifier) {\n    if (previousToken && getImportStatementCompletionInfo(contextToken || previousToken).replacementSpan) {\n      return { codeActions: void 0, sourceDisplay: [textPart(data.moduleSpecifier)] };\n    }\n  }\n  if (source === \"ClassMemberSnippet/\" /* ClassMemberSnippet */) {\n    const { importAdder } = getEntryForMemberCompletion(\n      host,\n      program,\n      compilerOptions,\n      preferences,\n      name,\n      symbol,\n      location,\n      contextToken,\n      formatContext\n    );\n    if (importAdder) {\n      const changes = ts_textChanges_exports.ChangeTracker.with(\n        { host, formatContext, preferences },\n        importAdder.writeFixes\n      );\n      return {\n        sourceDisplay: void 0,\n        codeActions: [{\n          changes,\n          description: diagnosticToString([Diagnostics.Includes_imports_of_types_referenced_by_0, name])\n        }]\n      };\n    }\n  }\n  if (originIsTypeOnlyAlias(origin)) {\n    const codeAction2 = ts_codefix_exports.getPromoteTypeOnlyCompletionAction(\n      sourceFile,\n      origin.declaration.name,\n      program,\n      host,\n      formatContext,\n      preferences\n    );\n    Debug.assertIsDefined(codeAction2, \"Expected to have a code action for promoting type-only alias\");\n    return { codeActions: [codeAction2], sourceDisplay: void 0 };\n  }\n  if (!origin || !(originIsExport(origin) || originIsResolvedExport(origin))) {\n    return { codeActions: void 0, sourceDisplay: void 0 };\n  }\n  const checker = origin.isFromPackageJson ? host.getPackageJsonAutoImportProvider().getTypeChecker() : program.getTypeChecker();\n  const { moduleSymbol } = origin;\n  const targetSymbol = checker.getMergedSymbol(skipAlias(symbol.exportSymbol || symbol, checker));\n  const isJsxOpeningTagName = (contextToken == null ? void 0 : contextToken.kind) === 29 /* LessThanToken */ && isJsxOpeningLikeElement(contextToken.parent);\n  const { moduleSpecifier, codeAction } = ts_codefix_exports.getImportCompletionAction(\n    targetSymbol,\n    moduleSymbol,\n    sourceFile,\n    getNameForExportedSymbol(symbol, getEmitScriptTarget(compilerOptions), isJsxOpeningTagName),\n    isJsxOpeningTagName,\n    host,\n    program,\n    formatContext,\n    previousToken && isIdentifier(previousToken) ? previousToken.getStart(sourceFile) : position,\n    preferences,\n    cancellationToken\n  );\n  Debug.assert(!(data == null ? void 0 : data.moduleSpecifier) || moduleSpecifier === data.moduleSpecifier);\n  return { sourceDisplay: [textPart(moduleSpecifier)], codeActions: [codeAction] };\n}\nfunction getCompletionEntrySymbol(program, log, sourceFile, position, entryId, host, preferences) {\n  const completion = getSymbolCompletionFromEntryId(program, log, sourceFile, position, entryId, host, preferences);\n  return completion.type === \"symbol\" ? completion.symbol : void 0;\n}\nvar CompletionDataKind = /* @__PURE__ */ ((CompletionDataKind2) => {\n  CompletionDataKind2[CompletionDataKind2[\"Data\"] = 0] = \"Data\";\n  CompletionDataKind2[CompletionDataKind2[\"JsDocTagName\"] = 1] = \"JsDocTagName\";\n  CompletionDataKind2[CompletionDataKind2[\"JsDocTag\"] = 2] = \"JsDocTag\";\n  CompletionDataKind2[CompletionDataKind2[\"JsDocParameterName\"] = 3] = \"JsDocParameterName\";\n  CompletionDataKind2[CompletionDataKind2[\"Keywords\"] = 4] = \"Keywords\";\n  return CompletionDataKind2;\n})(CompletionDataKind || {});\nvar CompletionKind = /* @__PURE__ */ ((CompletionKind2) => {\n  CompletionKind2[CompletionKind2[\"ObjectPropertyDeclaration\"] = 0] = \"ObjectPropertyDeclaration\";\n  CompletionKind2[CompletionKind2[\"Global\"] = 1] = \"Global\";\n  CompletionKind2[CompletionKind2[\"PropertyAccess\"] = 2] = \"PropertyAccess\";\n  CompletionKind2[CompletionKind2[\"MemberLike\"] = 3] = \"MemberLike\";\n  CompletionKind2[CompletionKind2[\"String\"] = 4] = \"String\";\n  CompletionKind2[CompletionKind2[\"None\"] = 5] = \"None\";\n  return CompletionKind2;\n})(CompletionKind || {});\nfunction getRecommendedCompletion(previousToken, contextualType, checker) {\n  return firstDefined(contextualType && (contextualType.isUnion() ? contextualType.types : [contextualType]), (type) => {\n    const symbol = type && type.symbol;\n    return symbol && (symbol.flags & (8 /* EnumMember */ | 384 /* Enum */ | 32 /* Class */) && !isAbstractConstructorSymbol(symbol)) ? getFirstSymbolInChain(symbol, previousToken, checker) : void 0;\n  });\n}\nfunction getContextualType(previousToken, position, sourceFile, checker) {\n  const { parent: parent2 } = previousToken;\n  switch (previousToken.kind) {\n    case 79 /* Identifier */:\n      return getContextualTypeFromParent(previousToken, checker);\n    case 63 /* EqualsToken */:\n      switch (parent2.kind) {\n        case 261 /* VariableDeclaration */:\n          return checker.getContextualType(parent2.initializer);\n        case 227 /* BinaryExpression */:\n          return checker.getTypeAtLocation(parent2.left);\n        case 294 /* JsxAttribute */:\n          return checker.getContextualTypeForJsxAttribute(parent2);\n        default:\n          return void 0;\n      }\n    case 104 /* NewKeyword */:\n      return checker.getContextualType(parent2);\n    case 82 /* CaseKeyword */:\n      const caseClause = tryCast(parent2, isCaseClause);\n      return caseClause ? getSwitchedType(caseClause, checker) : void 0;\n    case 18 /* OpenBraceToken */:\n      return isJsxExpression(parent2) && !isJsxElement(parent2.parent) && !isJsxFragment(parent2.parent) ? checker.getContextualTypeForJsxAttribute(parent2.parent) : void 0;\n    default:\n      const argInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(previousToken, position, sourceFile);\n      return argInfo ? checker.getContextualTypeForArgumentAtIndex(argInfo.invocation, argInfo.argumentIndex + (previousToken.kind === 27 /* CommaToken */ ? 1 : 0)) : isEqualityOperatorKind(previousToken.kind) && isBinaryExpression(parent2) && isEqualityOperatorKind(parent2.operatorToken.kind) ? checker.getTypeAtLocation(parent2.left) : checker.getContextualType(previousToken);\n  }\n}\nfunction getFirstSymbolInChain(symbol, enclosingDeclaration, checker) {\n  const chain = checker.getAccessibleSymbolChain(symbol, enclosingDeclaration, 67108863 /* All */, false);\n  if (chain)\n    return first(chain);\n  return symbol.parent && (isModuleSymbol(symbol.parent) ? symbol : getFirstSymbolInChain(symbol.parent, enclosingDeclaration, checker));\n}\nfunction isModuleSymbol(symbol) {\n  var _a2;\n  return !!((_a2 = symbol.declarations) == null ? void 0 : _a2.some((d) => d.kind === 314 /* SourceFile */));\n}\nfunction getCompletionData(program, log, sourceFile, compilerOptions, position, preferences, detailsEntryId, host, formatContext, cancellationToken) {\n  var _a2;\n  const isEtsFile = sourceFile.scriptKind === 8 /* ETS */;\n  const typeChecker3 = program.getTypeChecker();\n  const inCheckedFile = isCheckedFile(sourceFile, compilerOptions);\n  let start = timestamp();\n  let currentToken = getTokenAtPosition(sourceFile, position);\n  log(\"getCompletionData: Get current token: \" + (timestamp() - start));\n  start = timestamp();\n  const insideComment = isInComment(sourceFile, position, currentToken);\n  log(\"getCompletionData: Is inside comment: \" + (timestamp() - start));\n  let insideJsDocTagTypeExpression = false;\n  let isInSnippetScope = false;\n  if (insideComment) {\n    if (hasDocComment(sourceFile, position)) {\n      if (sourceFile.text.charCodeAt(position - 1) === 64 /* at */) {\n        return { kind: 1 /* JsDocTagName */ };\n      } else {\n        const lineStart = getLineStartPositionForPosition(position, sourceFile);\n        if (!/[^\\*|\\s(/)]/.test(sourceFile.text.substring(lineStart, position))) {\n          return { kind: 2 /* JsDocTag */ };\n        }\n      }\n    }\n    const tag = getJsDocTagAtPosition(currentToken, position);\n    if (tag) {\n      if (tag.tagName.pos <= position && position <= tag.tagName.end) {\n        return { kind: 1 /* JsDocTagName */ };\n      }\n      const typeExpression = tryGetTypeExpressionFromTag(tag);\n      if (typeExpression) {\n        currentToken = getTokenAtPosition(sourceFile, position);\n        if (!currentToken || !isDeclarationName(currentToken) && (currentToken.parent.kind !== 356 /* JSDocPropertyTag */ || currentToken.parent.name !== currentToken)) {\n          insideJsDocTagTypeExpression = isCurrentlyEditingNode(typeExpression);\n        }\n      }\n      if (!insideJsDocTagTypeExpression && isJSDocParameterTag(tag) && (nodeIsMissing(tag.name) || tag.name.pos <= position && position <= tag.name.end)) {\n        return { kind: 3 /* JsDocParameterName */, tag };\n      }\n    }\n    if (!insideJsDocTagTypeExpression) {\n      log(\"Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.\");\n      return void 0;\n    }\n  }\n  start = timestamp();\n  const isJsOnlyLocation = !insideJsDocTagTypeExpression && isSourceFileJS(sourceFile);\n  const tokens = getRelevantTokens(position, sourceFile);\n  const previousToken = tokens.previousToken;\n  let contextToken = tokens.contextToken;\n  log(\"getCompletionData: Get previous token: \" + (timestamp() - start));\n  let node = currentToken;\n  let propertyAccessToConvert;\n  let isRightOfDot = false;\n  let isRightOfQuestionDot = false;\n  let isRightOfOpenTag = false;\n  let isStartingCloseTag = false;\n  let isJsxInitializer = false;\n  let isJsxIdentifierExpected = false;\n  let importStatementCompletion;\n  let location = getTouchingPropertyName(sourceFile, position);\n  let keywordFilters = 0 /* None */;\n  let isNewIdentifierLocation = false;\n  let flags = 0 /* None */;\n  if (contextToken) {\n    const importStatementCompletionInfo = getImportStatementCompletionInfo(contextToken);\n    if (importStatementCompletionInfo.keywordCompletion) {\n      if (importStatementCompletionInfo.isKeywordOnlyCompletion) {\n        return {\n          kind: 4 /* Keywords */,\n          keywordCompletions: [keywordToCompletionEntry(importStatementCompletionInfo.keywordCompletion)],\n          isNewIdentifierLocation: importStatementCompletionInfo.isNewIdentifierLocation\n        };\n      }\n      keywordFilters = keywordFiltersFromSyntaxKind(importStatementCompletionInfo.keywordCompletion);\n    }\n    if (importStatementCompletionInfo.replacementSpan && preferences.includeCompletionsForImportStatements && preferences.includeCompletionsWithInsertText) {\n      flags |= 2 /* IsImportStatementCompletion */;\n      importStatementCompletion = importStatementCompletionInfo;\n      isNewIdentifierLocation = importStatementCompletionInfo.isNewIdentifierLocation;\n    }\n    if (!importStatementCompletionInfo.replacementSpan && isCompletionListBlocker(contextToken)) {\n      log(\"Returning an empty list because completion was requested in an invalid position.\");\n      return keywordFilters ? keywordCompletionData(keywordFilters, isJsOnlyLocation, isNewIdentifierDefinitionLocation()) : void 0;\n    }\n    let parent2 = contextToken.parent;\n    if (contextToken.kind === 24 /* DotToken */ || contextToken.kind === 28 /* QuestionDotToken */) {\n      isRightOfDot = contextToken.kind === 24 /* DotToken */;\n      isRightOfQuestionDot = contextToken.kind === 28 /* QuestionDotToken */;\n      switch (parent2.kind) {\n        case 211 /* PropertyAccessExpression */:\n          propertyAccessToConvert = parent2;\n          node = propertyAccessToConvert.expression;\n          const leftmostAccessExpression = getLeftmostAccessExpression(propertyAccessToConvert);\n          if (nodeIsMissing(leftmostAccessExpression) || (isCallExpression(node) || isFunctionLike(node) || isEtsComponentExpression(node)) && node.end === contextToken.pos && node.getChildCount(sourceFile) && last(node.getChildren(sourceFile)).kind !== 21 /* CloseParenToken */ && !node.getLastToken(sourceFile)) {\n            return void 0;\n          }\n          if (node.virtual && ((_a2 = findPrecedingToken(node.pos, sourceFile)) == null ? void 0 : _a2.kind) === 20 /* OpenParenToken */) {\n            return void 0;\n          }\n          break;\n        case 165 /* QualifiedName */:\n          node = parent2.left;\n          break;\n        case 270 /* ModuleDeclaration */:\n          node = parent2.name;\n          break;\n        case 205 /* ImportType */:\n          node = parent2;\n          break;\n        case 237 /* MetaProperty */:\n          node = parent2.getFirstToken(sourceFile);\n          Debug.assert(node.kind === 101 /* ImportKeyword */ || node.kind === 104 /* NewKeyword */);\n          break;\n        default:\n          return void 0;\n      }\n    } else if (!importStatementCompletion) {\n      if (parent2 && parent2.kind === 211 /* PropertyAccessExpression */) {\n        contextToken = parent2;\n        parent2 = parent2.parent;\n      }\n      if (currentToken.parent === location) {\n        switch (currentToken.kind) {\n          case 31 /* GreaterThanToken */:\n            if (currentToken.parent.kind === 287 /* JsxElement */ || currentToken.parent.kind === 289 /* JsxOpeningElement */) {\n              location = currentToken;\n            }\n            break;\n          case 43 /* SlashToken */:\n            if (currentToken.parent.kind === 288 /* JsxSelfClosingElement */) {\n              location = currentToken;\n            }\n            break;\n        }\n      }\n      switch (parent2.kind) {\n        case 290 /* JsxClosingElement */:\n          if (contextToken.kind === 43 /* SlashToken */) {\n            isStartingCloseTag = true;\n            location = contextToken;\n          }\n          break;\n        case 227 /* BinaryExpression */:\n          if (!binaryExpressionMayBeOpenTag(parent2)) {\n            break;\n          }\n        case 288 /* JsxSelfClosingElement */:\n        case 287 /* JsxElement */:\n        case 289 /* JsxOpeningElement */:\n          isJsxIdentifierExpected = true;\n          if (contextToken.kind === 29 /* LessThanToken */) {\n            isRightOfOpenTag = true;\n            location = contextToken;\n          }\n          break;\n        case 297 /* JsxExpression */:\n        case 296 /* JsxSpreadAttribute */:\n          if (previousToken.kind === 19 /* CloseBraceToken */ && currentToken.kind === 31 /* GreaterThanToken */) {\n            isJsxIdentifierExpected = true;\n          }\n          break;\n        case 294 /* JsxAttribute */:\n          if (parent2.initializer === previousToken && previousToken.end < position) {\n            isJsxIdentifierExpected = true;\n            break;\n          }\n          switch (previousToken.kind) {\n            case 63 /* EqualsToken */:\n              isJsxInitializer = true;\n              break;\n            case 79 /* Identifier */:\n              isJsxIdentifierExpected = true;\n              if (parent2 !== previousToken.parent && !parent2.initializer && findChildOfKind(parent2, 63 /* EqualsToken */, sourceFile)) {\n                isJsxInitializer = previousToken;\n              }\n          }\n          break;\n      }\n    }\n  }\n  const semanticStart = timestamp();\n  let completionKind = 5 /* None */;\n  let isNonContextualObjectLiteral = false;\n  let hasUnresolvedAutoImports = false;\n  let symbols = [];\n  let importSpecifierResolver;\n  const symbolToOriginInfoMap = [];\n  const symbolToSortTextMap = [];\n  const seenPropertySymbols = new Map2();\n  const isTypeOnlyLocation = isTypeOnlyCompletion();\n  const getModuleSpecifierResolutionHost = memoizeOne((isFromPackageJson) => {\n    return createModuleSpecifierResolutionHost(isFromPackageJson ? host.getPackageJsonAutoImportProvider() : program, host);\n  });\n  if (isRightOfDot || isRightOfQuestionDot) {\n    getTypeScriptMemberSymbols();\n  } else if (isRightOfOpenTag) {\n    symbols = typeChecker3.getJsxIntrinsicTagNamesAt(location);\n    Debug.assertEachIsDefined(symbols, \"getJsxIntrinsicTagNames() should all be defined\");\n    tryGetGlobalSymbols();\n    completionKind = 1 /* Global */;\n    keywordFilters = 0 /* None */;\n  } else if (isStartingCloseTag) {\n    const tagName = contextToken.parent.parent.openingElement.tagName;\n    const tagSymbol = typeChecker3.getSymbolAtLocation(tagName);\n    if (tagSymbol) {\n      symbols = [tagSymbol];\n    }\n    completionKind = 1 /* Global */;\n    keywordFilters = 0 /* None */;\n  } else {\n    if (!tryGetGlobalSymbols()) {\n      return keywordFilters ? keywordCompletionData(keywordFilters, isJsOnlyLocation, isNewIdentifierLocation) : void 0;\n    }\n  }\n  const etsLibFilesNames = program.getEtsLibSFromProgram();\n  symbols = symbols.filter((symbol) => {\n    var _a3;\n    if (!symbol.declarations || !symbol.declarations.length) {\n      return true;\n    }\n    const declaration = ((_a3 = symbol.declarations) != null ? _a3 : []).filter((declaration2) => {\n      if (!declaration2.getSourceFile().fileName) {\n        return true;\n      }\n      const symbolFileName = sys.resolvePath(declaration2.getSourceFile().fileName);\n      if (!isEtsFile && etsLibFilesNames.indexOf(symbolFileName) !== -1) {\n        return false;\n      }\n      return true;\n    });\n    return declaration.length;\n  });\n  log(\"getCompletionData: Semantic work: \" + (timestamp() - semanticStart));\n  const contextualType = previousToken && getContextualType(previousToken, position, sourceFile, typeChecker3);\n  const literals = mapDefined(\n    contextualType && (contextualType.isUnion() ? contextualType.types : [contextualType]),\n    (t) => t.isLiteral() && !(t.flags & 1024 /* EnumLiteral */) ? t.value : void 0\n  );\n  const recommendedCompletion = previousToken && contextualType && getRecommendedCompletion(previousToken, contextualType, typeChecker3);\n  return {\n    kind: 0 /* Data */,\n    symbols,\n    completionKind,\n    isInSnippetScope,\n    propertyAccessToConvert,\n    isNewIdentifierLocation,\n    location,\n    keywordFilters,\n    literals,\n    symbolToOriginInfoMap,\n    recommendedCompletion,\n    previousToken,\n    contextToken,\n    isJsxInitializer,\n    insideJsDocTagTypeExpression,\n    symbolToSortTextMap,\n    isTypeOnlyLocation,\n    isJsxIdentifierExpected,\n    isRightOfOpenTag,\n    importStatementCompletion,\n    hasUnresolvedAutoImports,\n    flags\n  };\n  function isTagWithTypeExpression(tag) {\n    switch (tag.kind) {\n      case 349 /* JSDocParameterTag */:\n      case 356 /* JSDocPropertyTag */:\n      case 350 /* JSDocReturnTag */:\n      case 352 /* JSDocTypeTag */:\n      case 354 /* JSDocTypedefTag */:\n        return true;\n      case 353 /* JSDocTemplateTag */:\n        return !!tag.constraint;\n      default:\n        return false;\n    }\n  }\n  function tryGetTypeExpressionFromTag(tag) {\n    if (isTagWithTypeExpression(tag)) {\n      const typeExpression = isJSDocTemplateTag(tag) ? tag.constraint : tag.typeExpression;\n      return typeExpression && typeExpression.kind === 318 /* JSDocTypeExpression */ ? typeExpression : void 0;\n    }\n    return void 0;\n  }\n  function getTypeScriptMemberSymbols() {\n    completionKind = 2 /* PropertyAccess */;\n    const isImportType = isLiteralImportTypeNode(node);\n    const isTypeLocation = insideJsDocTagTypeExpression || isImportType && !node.isTypeOf || isPartOfTypeNode(node.parent) || isPossiblyTypeArgumentPosition(contextToken, sourceFile, typeChecker3);\n    const isRhsOfImportDeclaration = isInRightSideOfInternalImportEqualsDeclaration(node);\n    if (isEntityName(node) || isImportType || isPropertyAccessExpression(node)) {\n      const isNamespaceName = isModuleDeclaration(node.parent);\n      if (isNamespaceName)\n        isNewIdentifierLocation = true;\n      let symbol = typeChecker3.getSymbolAtLocation(node);\n      if (symbol) {\n        symbol = skipAlias(symbol, typeChecker3);\n        if (symbol.flags & (1536 /* Module */ | 384 /* Enum */)) {\n          const exportedSymbols = typeChecker3.getExportsOfModule(symbol);\n          Debug.assertEachIsDefined(exportedSymbols, \"getExportsOfModule() should all be defined\");\n          const isValidValueAccess = (symbol2) => typeChecker3.isValidPropertyAccess(isImportType ? node : node.parent, symbol2.name);\n          const isValidTypeAccess = (symbol2) => symbolCanBeReferencedAtTypeLocation(symbol2, typeChecker3);\n          const isValidAccess = isNamespaceName ? (symbol2) => {\n            var _a3;\n            return !!(symbol2.flags & 1920 /* Namespace */) && !((_a3 = symbol2.declarations) == null ? void 0 : _a3.every((d) => d.parent === node.parent));\n          } : isRhsOfImportDeclaration ? (symbol2) => isValidTypeAccess(symbol2) || isValidValueAccess(symbol2) : isTypeLocation ? isValidTypeAccess : isValidValueAccess;\n          for (const exportedSymbol of exportedSymbols) {\n            if (isValidAccess(exportedSymbol)) {\n              symbols.push(exportedSymbol);\n            }\n          }\n          if (!isTypeLocation && symbol.declarations && symbol.declarations.some((d) => d.kind !== 314 /* SourceFile */ && d.kind !== 270 /* ModuleDeclaration */ && d.kind !== 269 /* EnumDeclaration */)) {\n            let type = typeChecker3.getTypeOfSymbolAtLocation(symbol, node).getNonOptionalType();\n            let insertQuestionDot = false;\n            if (type.isNullableType()) {\n              const canCorrectToQuestionDot = isRightOfDot && !isRightOfQuestionDot && preferences.includeAutomaticOptionalChainCompletions !== false;\n              if (canCorrectToQuestionDot || isRightOfQuestionDot) {\n                type = type.getNonNullableType();\n                if (canCorrectToQuestionDot) {\n                  insertQuestionDot = true;\n                }\n              }\n            }\n            addTypeProperties(type, !!(node.flags & 32768 /* AwaitContext */), insertQuestionDot);\n          }\n          return;\n        }\n      }\n    }\n    if (!isTypeLocation) {\n      typeChecker3.tryGetThisTypeAt(node, false);\n      let type = typeChecker3.getTypeAtLocation(node).getNonOptionalType();\n      let insertQuestionDot = false;\n      if (type.isNullableType()) {\n        const canCorrectToQuestionDot = isRightOfDot && !isRightOfQuestionDot && preferences.includeAutomaticOptionalChainCompletions !== false;\n        if (canCorrectToQuestionDot || isRightOfQuestionDot) {\n          type = type.getNonNullableType();\n          if (canCorrectToQuestionDot) {\n            insertQuestionDot = true;\n          }\n        }\n      }\n      addTypeProperties(type, !!(node.flags & 32768 /* AwaitContext */), insertQuestionDot);\n    }\n  }\n  function addTypeProperties(type, insertAwait, insertQuestionDot) {\n    isNewIdentifierLocation = !!type.getStringIndexType();\n    if (isRightOfQuestionDot && some(type.getCallSignatures())) {\n      isNewIdentifierLocation = true;\n    }\n    const propertyAccess = node.kind === 205 /* ImportType */ ? node : node.parent;\n    if (inCheckedFile) {\n      const typeSymbols = type.getApparentProperties();\n      for (const symbol of typeSymbols) {\n        if (typeChecker3.isValidPropertyAccessForCompletions(propertyAccess, type, symbol)) {\n          addPropertySymbol(symbol, false, insertQuestionDot);\n        }\n      }\n      if (typeSymbols.length) {\n        const etsComponentExpressionNode = getEtsComponentExpressionInnerExpressionStatementNode(node) || getRootEtsComponentInnerCallExpressionNode(node);\n        const returnType = typeChecker3.getTypeAtLocation(node);\n        if (etsComponentExpressionNode && shouldAddExtendOrStylesProperties(node, returnType)) {\n          addEtsExtendPropertySymbol(etsComponentExpressionNode, insertQuestionDot);\n          addEtsStylesPropertySymbol(etsComponentExpressionNode, insertQuestionDot);\n        }\n      }\n    } else {\n      symbols.push(...filter(getPropertiesForCompletion(type, typeChecker3), (s) => typeChecker3.isValidPropertyAccessForCompletions(propertyAccess, type, s)));\n    }\n    if (insertAwait && preferences.includeCompletionsWithInsertText) {\n      const promiseType = typeChecker3.getPromisedTypeOfPromise(type);\n      if (promiseType) {\n        for (const symbol of promiseType.getApparentProperties()) {\n          if (typeChecker3.isValidPropertyAccessForCompletions(propertyAccess, promiseType, symbol)) {\n            addPropertySymbol(symbol, true, insertQuestionDot);\n          }\n        }\n      }\n    }\n  }\n  function shouldAddExtendOrStylesProperties(node2, returnType) {\n    var _a3;\n    return isCallExpressionOrEtsComponentExpressionKind(node2, returnType) && !!((_a3 = returnType.symbol.declarations) == null ? void 0 : _a3.length) && !isStructDeclaration(returnType.symbol.declarations[0]);\n  }\n  function isCallExpressionOrEtsComponentExpressionKind(node2, returnType) {\n    if ((isCallExpression(node2) || isEtsComponentExpression(node2)) && returnType.symbol) {\n      return !!returnType.symbol.getName().match(\"Attribute\") && isVirtualAttributeTypeArgument(node2);\n    }\n    return !!node2.virtual && isIdentifier(node2) && !!node2.escapedText.toString().match(\"Instance\");\n  }\n  function addPropertySymbol(symbol, insertAwait, insertQuestionDot) {\n    var _a3;\n    const computedPropertyName = firstDefined(symbol.declarations, (decl) => tryCast(getNameOfDeclaration(decl), isComputedPropertyName));\n    if (computedPropertyName) {\n      const leftMostName = getLeftMostName(computedPropertyName.expression);\n      const nameSymbol = leftMostName && typeChecker3.getSymbolAtLocation(leftMostName);\n      const firstAccessibleSymbol = nameSymbol && getFirstSymbolInChain(nameSymbol, contextToken, typeChecker3);\n      if (firstAccessibleSymbol && addToSeen(seenPropertySymbols, getSymbolId(firstAccessibleSymbol))) {\n        const index = symbols.length;\n        symbols.push(firstAccessibleSymbol);\n        const moduleSymbol = firstAccessibleSymbol.parent;\n        if (!moduleSymbol || !isExternalModuleSymbol(moduleSymbol) || typeChecker3.tryGetMemberInModuleExportsAndProperties(firstAccessibleSymbol.name, moduleSymbol) !== firstAccessibleSymbol) {\n          symbolToOriginInfoMap[index] = { kind: getNullableSymbolOriginInfoKind(2 /* SymbolMemberNoExport */) };\n        } else {\n          const fileName = isExternalModuleNameRelative(stripQuotes(moduleSymbol.name)) ? (_a3 = getSourceFileOfModule(moduleSymbol)) == null ? void 0 : _a3.fileName : void 0;\n          const { moduleSpecifier } = (importSpecifierResolver || (importSpecifierResolver = ts_codefix_exports.createImportSpecifierResolver(sourceFile, program, host, preferences))).getModuleSpecifierForBestExportInfo([{\n            exportKind: 0 /* Named */,\n            moduleFileName: fileName,\n            isFromPackageJson: false,\n            moduleSymbol,\n            symbol: firstAccessibleSymbol,\n            targetFlags: skipAlias(firstAccessibleSymbol, typeChecker3).flags\n          }], firstAccessibleSymbol.name, position, isValidTypeOnlyAliasUseSite(location)) || {};\n          if (moduleSpecifier) {\n            const origin = {\n              kind: getNullableSymbolOriginInfoKind(6 /* SymbolMemberExport */),\n              moduleSymbol,\n              isDefaultExport: false,\n              symbolName: firstAccessibleSymbol.name,\n              exportName: firstAccessibleSymbol.name,\n              fileName,\n              moduleSpecifier\n            };\n            symbolToOriginInfoMap[index] = origin;\n          }\n        }\n      } else if (preferences.includeCompletionsWithInsertText) {\n        addSymbolOriginInfo(symbol);\n        addSymbolSortInfo(symbol);\n        symbols.push(symbol);\n      }\n    } else {\n      addSymbolOriginInfo(symbol);\n      addSymbolSortInfo(symbol);\n      symbols.push(symbol);\n    }\n    function addSymbolSortInfo(symbol2) {\n      if (isStaticProperty(symbol2)) {\n        symbolToSortTextMap[getSymbolId(symbol2)] = SortText.LocalDeclarationPriority;\n      }\n    }\n    function addSymbolOriginInfo(symbol2) {\n      if (preferences.includeCompletionsWithInsertText) {\n        if (insertAwait && addToSeen(seenPropertySymbols, getSymbolId(symbol2))) {\n          symbolToOriginInfoMap[symbols.length] = { kind: getNullableSymbolOriginInfoKind(8 /* Promise */) };\n        } else if (insertQuestionDot) {\n          symbolToOriginInfoMap[symbols.length] = { kind: 16 /* Nullable */ };\n        }\n      }\n    }\n    function getNullableSymbolOriginInfoKind(kind) {\n      return insertQuestionDot ? kind | 16 /* Nullable */ : kind;\n    }\n  }\n  function addEtsExtendPropertySymbol(node2, insertQuestionDot) {\n    const locals = getSourceFileOfNode(node2).locals;\n    if (!locals) {\n      return;\n    }\n    const etsComponentName = isIdentifier(node2) ? node2.escapedText : isIdentifier(node2.expression) ? node2.expression.escapedText : void 0;\n    const extendComponentSymbolMap = new Map2();\n    locals.forEach((local) => {\n      const declaration = getDeclarationFromSymbol(local);\n      if (!declaration) {\n        return;\n      }\n      const currDeclaration = isVariableDeclaration(declaration) && isVariableDeclarationList(declaration.parent) && isVariableStatement(declaration.parent.parent) ? declaration.parent.parent : declaration;\n      getEtsExtendDecoratorsComponentNames(getAllDecorators(currDeclaration), compilerOptions).forEach((extendName) => {\n        if (extendComponentSymbolMap.has(extendName)) {\n          extendComponentSymbolMap.get(extendName).push(local);\n        } else {\n          extendComponentSymbolMap.set(extendName, [local]);\n        }\n      });\n    });\n    if (!etsComponentName) {\n      return;\n    }\n    const name = extendComponentSymbolMap.has(etsComponentName) ? etsComponentName : extendComponentSymbolMap.has(etsComponentName.toString().slice(0, -8)) ? etsComponentName.toString().slice(0, -8) : void 0;\n    if (!name) {\n      return;\n    }\n    extendComponentSymbolMap.get(name).forEach((local) => {\n      addPropertySymbol(local, false, insertQuestionDot);\n    });\n  }\n  function addEtsStylesPropertySymbol(node2, insertQuestionDot) {\n    var _a3, _b;\n    const locals = getSourceFileOfNode(node2).locals;\n    if (!locals) {\n      return;\n    }\n    const etsComponentName = isIdentifier(node2) ? node2.escapedText : isIdentifier(node2.expression) ? node2.expression.escapedText : void 0;\n    const stylesComponentSymbolMap = new Map2();\n    locals.forEach((local) => {\n      const declaration = getDeclarationFromSymbol(local);\n      if (!declaration) {\n        return;\n      }\n      const currDeclaration = isVariableDeclaration(declaration) && isVariableDeclarationList(declaration.parent) && isVariableStatement(declaration.parent.parent) ? declaration.parent.parent : declaration;\n      getEtsStylesDecoratorComponentNames(getAllDecorators(currDeclaration), compilerOptions).forEach((stylesName) => {\n        if (stylesComponentSymbolMap.has(stylesName)) {\n          stylesComponentSymbolMap.get(stylesName).push(local);\n        } else {\n          stylesComponentSymbolMap.set(stylesName, [local]);\n        }\n      });\n    });\n    (_b = (_a3 = getContainingStruct(node2)) == null ? void 0 : _a3.symbol.members) == null ? void 0 : _b.forEach((member) => {\n      getEtsStylesDecoratorComponentNames(getAllDecorators(member.valueDeclaration), compilerOptions).forEach((stylesName) => {\n        if (stylesComponentSymbolMap.has(stylesName)) {\n          stylesComponentSymbolMap.get(stylesName).push(member);\n        } else {\n          stylesComponentSymbolMap.set(stylesName, [member]);\n        }\n      });\n    });\n    if (etsComponentName && stylesComponentSymbolMap.size > 0) {\n      stylesComponentSymbolMap.forEach((symbols2) => {\n        symbols2.forEach((symbol) => {\n          addPropertySymbol(symbol, false, insertQuestionDot);\n        });\n      });\n    }\n  }\n  function getLeftMostName(e) {\n    return isIdentifier(e) ? e : isPropertyAccessExpression(e) ? getLeftMostName(e.expression) : void 0;\n  }\n  function tryGetGlobalSymbols() {\n    const result = tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols() || tryGetObjectLikeCompletionSymbols() || tryGetImportCompletionSymbols() || tryGetImportOrExportClauseCompletionSymbols() || tryGetLocalNamedExportCompletionSymbols() || tryGetConstructorCompletion() || tryGetClassLikeCompletionSymbols() || tryGetJsxCompletionSymbols() || (getGlobalCompletions(), 1 /* Success */);\n    return result === 1 /* Success */;\n  }\n  function tryGetConstructorCompletion() {\n    if (!tryGetConstructorLikeCompletionContainer(contextToken))\n      return 0 /* Continue */;\n    completionKind = 5 /* None */;\n    isNewIdentifierLocation = true;\n    keywordFilters = 4 /* ConstructorParameterKeywords */;\n    return 1 /* Success */;\n  }\n  function tryGetJsxCompletionSymbols() {\n    const jsxContainer = tryGetContainingJsxElement(contextToken);\n    const attrsType = jsxContainer && typeChecker3.getContextualType(jsxContainer.attributes);\n    if (!attrsType)\n      return 0 /* Continue */;\n    const completionsType = jsxContainer && typeChecker3.getContextualType(jsxContainer.attributes, 4 /* Completions */);\n    symbols = concatenate(symbols, filterJsxAttributes(getPropertiesForObjectExpression(attrsType, completionsType, jsxContainer.attributes, typeChecker3), jsxContainer.attributes.properties));\n    setSortTextToOptionalMember();\n    completionKind = 3 /* MemberLike */;\n    isNewIdentifierLocation = false;\n    return 1 /* Success */;\n  }\n  function tryGetImportCompletionSymbols() {\n    if (!importStatementCompletion)\n      return 0 /* Continue */;\n    isNewIdentifierLocation = true;\n    collectAutoImports();\n    return 1 /* Success */;\n  }\n  function getGlobalCompletions() {\n    keywordFilters = tryGetFunctionLikeBodyCompletionContainer(contextToken) ? 5 /* FunctionLikeBodyKeywords */ : 1 /* All */;\n    completionKind = 1 /* Global */;\n    isNewIdentifierLocation = isNewIdentifierDefinitionLocation();\n    if (previousToken !== contextToken) {\n      Debug.assert(!!previousToken, \"Expected 'contextToken' to be defined when different from 'previousToken'.\");\n    }\n    const adjustedPosition = previousToken !== contextToken ? previousToken.getStart() : position;\n    const scopeNode = getScopeNode(contextToken, adjustedPosition, sourceFile) || sourceFile;\n    isInSnippetScope = isSnippetScope(scopeNode);\n    const symbolMeanings = (isTypeOnlyLocation ? 0 /* None */ : 111551 /* Value */) | 788968 /* Type */ | 1920 /* Namespace */ | 2097152 /* Alias */;\n    const typeOnlyAliasNeedsPromotion = previousToken && !isValidTypeOnlyAliasUseSite(previousToken);\n    symbols = concatenate(symbols, typeChecker3.getSymbolsInScope(scopeNode, symbolMeanings));\n    Debug.assertEachIsDefined(symbols, \"getSymbolsInScope() should all be defined\");\n    for (let i = 0; i < symbols.length; i++) {\n      const symbol = symbols[i];\n      if (!typeChecker3.isArgumentsSymbol(symbol) && !some(symbol.declarations, (d) => d.getSourceFile() === sourceFile)) {\n        symbolToSortTextMap[getSymbolId(symbol)] = SortText.GlobalsOrKeywords;\n      }\n      if (typeOnlyAliasNeedsPromotion && !(symbol.flags & 111551 /* Value */)) {\n        const typeOnlyAliasDeclaration = symbol.declarations && find(symbol.declarations, isTypeOnlyImportOrExportDeclaration);\n        if (typeOnlyAliasDeclaration) {\n          const origin = { kind: 64 /* TypeOnlyAlias */, declaration: typeOnlyAliasDeclaration };\n          symbolToOriginInfoMap[i] = origin;\n        }\n      }\n    }\n    if (preferences.includeCompletionsWithInsertText && scopeNode.kind !== 314 /* SourceFile */) {\n      const thisType = typeChecker3.tryGetThisTypeAt(scopeNode, false, isClassLike(scopeNode.parent) ? scopeNode : void 0);\n      if (thisType && !isProbablyGlobalType(thisType, sourceFile, typeChecker3)) {\n        for (const symbol of getPropertiesForCompletion(thisType, typeChecker3)) {\n          symbolToOriginInfoMap[symbols.length] = { kind: 1 /* ThisType */ };\n          symbols.push(symbol);\n          symbolToSortTextMap[getSymbolId(symbol)] = SortText.SuggestedClassMembers;\n        }\n      }\n    }\n    collectAutoImports();\n    if (isTypeOnlyLocation) {\n      keywordFilters = contextToken && isAssertionExpression(contextToken.parent) ? 6 /* TypeAssertionKeywords */ : 7 /* TypeKeywords */;\n    }\n  }\n  function shouldOfferImportCompletions() {\n    if (importStatementCompletion)\n      return true;\n    if (isNonContextualObjectLiteral)\n      return false;\n    if (!preferences.includeCompletionsForModuleExports)\n      return false;\n    if (sourceFile.externalModuleIndicator || sourceFile.commonJsModuleIndicator)\n      return true;\n    if (compilerOptionsIndicateEsModules(program.getCompilerOptions()))\n      return true;\n    return programContainsModules(program);\n  }\n  function isSnippetScope(scopeNode) {\n    switch (scopeNode.kind) {\n      case 314 /* SourceFile */:\n      case 229 /* TemplateExpression */:\n      case 297 /* JsxExpression */:\n      case 242 /* Block */:\n        return true;\n      default:\n        return isStatement(scopeNode);\n    }\n  }\n  function isTypeOnlyCompletion() {\n    return insideJsDocTagTypeExpression || !!importStatementCompletion && isTypeOnlyImportOrExportDeclaration(location.parent) || !isContextTokenValueLocation(contextToken) && (isPossiblyTypeArgumentPosition(contextToken, sourceFile, typeChecker3) || isPartOfTypeNode(location) || isContextTokenTypeLocation(contextToken));\n  }\n  function isContextTokenValueLocation(contextToken2) {\n    return contextToken2 && (contextToken2.kind === 113 /* TypeOfKeyword */ && (contextToken2.parent.kind === 186 /* TypeQuery */ || isTypeOfExpression(contextToken2.parent)) || contextToken2.kind === 130 /* AssertsKeyword */ && contextToken2.parent.kind === 182 /* TypePredicate */);\n  }\n  function isContextTokenTypeLocation(contextToken2) {\n    if (contextToken2) {\n      const parentKind = contextToken2.parent.kind;\n      switch (contextToken2.kind) {\n        case 58 /* ColonToken */:\n          return parentKind === 171 /* PropertyDeclaration */ || parentKind === 170 /* PropertySignature */ || parentKind === 168 /* Parameter */ || parentKind === 261 /* VariableDeclaration */ || isFunctionLikeKind(parentKind);\n        case 63 /* EqualsToken */:\n          return parentKind === 268 /* TypeAliasDeclaration */;\n        case 129 /* AsKeyword */:\n          return parentKind === 235 /* AsExpression */;\n        case 29 /* LessThanToken */:\n          return parentKind === 183 /* TypeReference */ || parentKind === 216 /* TypeAssertionExpression */;\n        case 95 /* ExtendsKeyword */:\n          return parentKind === 167 /* TypeParameter */;\n        case 151 /* SatisfiesKeyword */:\n          return parentKind === 239 /* SatisfiesExpression */;\n      }\n    }\n    return false;\n  }\n  function collectAutoImports() {\n    var _a3, _b;\n    if (!shouldOfferImportCompletions())\n      return;\n    Debug.assert(!(detailsEntryId == null ? void 0 : detailsEntryId.data), \"Should not run 'collectAutoImports' when faster path is available via `data`\");\n    if (detailsEntryId && !detailsEntryId.source) {\n      return;\n    }\n    flags |= 1 /* MayIncludeAutoImports */;\n    const isAfterTypeOnlyImportSpecifierModifier = previousToken === contextToken && importStatementCompletion;\n    const lowerCaseTokenText = isAfterTypeOnlyImportSpecifierModifier ? \"\" : previousToken && isIdentifier(previousToken) ? previousToken.text.toLowerCase() : \"\";\n    const moduleSpecifierCache = (_a3 = host.getModuleSpecifierCache) == null ? void 0 : _a3.call(host);\n    const exportInfo = getExportInfoMap(sourceFile, host, program, preferences, cancellationToken);\n    const packageJsonAutoImportProvider = (_b = host.getPackageJsonAutoImportProvider) == null ? void 0 : _b.call(host);\n    const packageJsonFilter = detailsEntryId ? void 0 : createPackageJsonImportFilter(sourceFile, preferences, host);\n    resolvingModuleSpecifiers(\n      \"collectAutoImports\",\n      host,\n      importSpecifierResolver || (importSpecifierResolver = ts_codefix_exports.createImportSpecifierResolver(sourceFile, program, host, preferences)),\n      program,\n      position,\n      preferences,\n      !!importStatementCompletion,\n      isValidTypeOnlyAliasUseSite(location),\n      (context) => {\n        exportInfo.search(\n          sourceFile.path,\n          isRightOfOpenTag,\n          (symbolName2, targetFlags) => {\n            if (!isIdentifierText(symbolName2, getEmitScriptTarget(host.getCompilationSettings())))\n              return false;\n            if (!detailsEntryId && isStringANonContextualKeyword(symbolName2))\n              return false;\n            if (!isTypeOnlyLocation && !importStatementCompletion && !(targetFlags & 111551 /* Value */))\n              return false;\n            if (isTypeOnlyLocation && !(targetFlags & (1536 /* Module */ | 788968 /* Type */)))\n              return false;\n            const firstChar = symbolName2.charCodeAt(0);\n            if (isRightOfOpenTag && (firstChar < 65 /* A */ || firstChar > 90 /* Z */))\n              return false;\n            if (detailsEntryId)\n              return true;\n            return charactersFuzzyMatchInString(symbolName2, lowerCaseTokenText);\n          },\n          (info, symbolName2, isFromAmbientModule, exportMapKey) => {\n            if (detailsEntryId && !some(info, (i) => detailsEntryId.source === stripQuotes(i.moduleSymbol.name))) {\n              return;\n            }\n            const firstImportableExportInfo = find(info, isImportableExportInfo);\n            if (!firstImportableExportInfo) {\n              return;\n            }\n            const result = context.tryResolve(info, symbolName2, isFromAmbientModule) || {};\n            if (result === \"failed\")\n              return;\n            let exportInfo2 = firstImportableExportInfo, moduleSpecifier;\n            if (result !== \"skipped\") {\n              ({ exportInfo: exportInfo2 = firstImportableExportInfo, moduleSpecifier } = result);\n            }\n            const isDefaultExport = exportInfo2.exportKind === 1 /* Default */;\n            const symbol = isDefaultExport && getLocalSymbolForExportDefault(exportInfo2.symbol) || exportInfo2.symbol;\n            pushAutoImportSymbol(symbol, {\n              kind: moduleSpecifier ? 32 /* ResolvedExport */ : 4 /* Export */,\n              moduleSpecifier,\n              symbolName: symbolName2,\n              exportMapKey,\n              exportName: exportInfo2.exportKind === 2 /* ExportEquals */ ? \"export=\" /* ExportEquals */ : exportInfo2.symbol.name,\n              fileName: exportInfo2.moduleFileName,\n              isDefaultExport,\n              moduleSymbol: exportInfo2.moduleSymbol,\n              isFromPackageJson: exportInfo2.isFromPackageJson\n            });\n          }\n        );\n        hasUnresolvedAutoImports = context.skippedAny();\n        flags |= context.resolvedAny() ? 8 /* ResolvedModuleSpecifiers */ : 0;\n        flags |= context.resolvedBeyondLimit() ? 16 /* ResolvedModuleSpecifiersBeyondLimit */ : 0;\n      }\n    );\n    function isImportableExportInfo(info) {\n      const moduleFile = tryCast(info.moduleSymbol.valueDeclaration, isSourceFile);\n      if (!moduleFile) {\n        const moduleName = stripQuotes(info.moduleSymbol.name);\n        if (ts_JsTyping_exports.nodeCoreModules.has(moduleName) && startsWith(moduleName, \"node:\") !== shouldUseUriStyleNodeCoreModules(sourceFile, program)) {\n          return false;\n        }\n        return packageJsonFilter ? packageJsonFilter.allowsImportingAmbientModule(info.moduleSymbol, getModuleSpecifierResolutionHost(info.isFromPackageJson)) : true;\n      }\n      return isImportableFile(\n        info.isFromPackageJson ? packageJsonAutoImportProvider : program,\n        sourceFile,\n        moduleFile,\n        preferences,\n        packageJsonFilter,\n        getModuleSpecifierResolutionHost(info.isFromPackageJson),\n        moduleSpecifierCache\n      );\n    }\n  }\n  function pushAutoImportSymbol(symbol, origin) {\n    const symbolId = getSymbolId(symbol);\n    if (symbolToSortTextMap[symbolId] === SortText.GlobalsOrKeywords) {\n      return;\n    }\n    symbolToOriginInfoMap[symbols.length] = origin;\n    symbolToSortTextMap[symbolId] = importStatementCompletion ? SortText.LocationPriority : SortText.AutoImportSuggestions;\n    symbols.push(symbol);\n  }\n  function collectObjectLiteralMethodSymbols(members, enclosingDeclaration) {\n    if (isInJSFile(location)) {\n      return;\n    }\n    members.forEach((member) => {\n      if (!isObjectLiteralMethodSymbol(member)) {\n        return;\n      }\n      const displayName = getCompletionEntryDisplayNameForSymbol(\n        member,\n        getEmitScriptTarget(compilerOptions),\n        void 0,\n        0 /* ObjectPropertyDeclaration */,\n        false\n      );\n      if (!displayName) {\n        return;\n      }\n      const { name } = displayName;\n      const entryProps = getEntryForObjectLiteralMethodCompletion(\n        member,\n        name,\n        enclosingDeclaration,\n        program,\n        host,\n        compilerOptions,\n        preferences,\n        formatContext\n      );\n      if (!entryProps) {\n        return;\n      }\n      const origin = { kind: 128 /* ObjectLiteralMethod */, ...entryProps };\n      flags |= 32 /* MayIncludeMethodSnippets */;\n      symbolToOriginInfoMap[symbols.length] = origin;\n      symbols.push(member);\n    });\n  }\n  function isObjectLiteralMethodSymbol(symbol) {\n    if (!(symbol.flags & (4 /* Property */ | 8192 /* Method */))) {\n      return false;\n    }\n    return true;\n  }\n  function getScopeNode(initialToken, position2, sourceFile2) {\n    let scope = initialToken;\n    while (scope && !positionBelongsToNode(scope, position2, sourceFile2)) {\n      scope = scope.parent;\n    }\n    return scope;\n  }\n  function isCompletionListBlocker(contextToken2) {\n    const start2 = timestamp();\n    const result = isInStringOrRegularExpressionOrTemplateLiteral(contextToken2) || isSolelyIdentifierDefinitionLocation(contextToken2) || isDotOfNumericLiteral(contextToken2) || isInJsxText(contextToken2) || isBigIntLiteral(contextToken2);\n    log(\"getCompletionsAtPosition: isCompletionListBlocker: \" + (timestamp() - start2));\n    return result;\n  }\n  function isInJsxText(contextToken2) {\n    if (contextToken2.kind === 11 /* JsxText */) {\n      return true;\n    }\n    if (contextToken2.kind === 31 /* GreaterThanToken */ && contextToken2.parent) {\n      if (location === contextToken2.parent && (location.kind === 289 /* JsxOpeningElement */ || location.kind === 288 /* JsxSelfClosingElement */)) {\n        return false;\n      }\n      if (contextToken2.parent.kind === 289 /* JsxOpeningElement */) {\n        return location.parent.kind !== 289 /* JsxOpeningElement */;\n      }\n      if (contextToken2.parent.kind === 290 /* JsxClosingElement */ || contextToken2.parent.kind === 288 /* JsxSelfClosingElement */) {\n        return !!contextToken2.parent.parent && contextToken2.parent.parent.kind === 287 /* JsxElement */;\n      }\n    }\n    return false;\n  }\n  function isNewIdentifierDefinitionLocation() {\n    if (contextToken) {\n      const containingNodeKind = contextToken.parent.kind;\n      const tokenKind = keywordForNode(contextToken);\n      switch (tokenKind) {\n        case 27 /* CommaToken */:\n          return containingNodeKind === 213 /* CallExpression */ || containingNodeKind === 176 /* Constructor */ || containingNodeKind === 214 /* NewExpression */ || containingNodeKind === 209 /* ArrayLiteralExpression */ || containingNodeKind === 227 /* BinaryExpression */ || containingNodeKind === 184 /* FunctionType */ || containingNodeKind === 210 /* ObjectLiteralExpression */;\n        case 20 /* OpenParenToken */:\n          return containingNodeKind === 213 /* CallExpression */ || containingNodeKind === 176 /* Constructor */ || containingNodeKind === 214 /* NewExpression */ || containingNodeKind === 217 /* ParenthesizedExpression */ || containingNodeKind === 196 /* ParenthesizedType */;\n        case 22 /* OpenBracketToken */:\n          return containingNodeKind === 209 /* ArrayLiteralExpression */ || containingNodeKind === 181 /* IndexSignature */ || containingNodeKind === 166 /* ComputedPropertyName */;\n        case 143 /* ModuleKeyword */:\n        case 144 /* NamespaceKeyword */:\n        case 101 /* ImportKeyword */:\n          return true;\n        case 24 /* DotToken */:\n          return containingNodeKind === 270 /* ModuleDeclaration */;\n        case 18 /* OpenBraceToken */:\n          return containingNodeKind === 264 /* ClassDeclaration */ || containingNodeKind === 265 /* StructDeclaration */ || containingNodeKind === 210 /* ObjectLiteralExpression */;\n        case 63 /* EqualsToken */:\n          return containingNodeKind === 261 /* VariableDeclaration */ || containingNodeKind === 227 /* BinaryExpression */;\n        case 15 /* TemplateHead */:\n          return containingNodeKind === 229 /* TemplateExpression */;\n        case 16 /* TemplateMiddle */:\n          return containingNodeKind === 240 /* TemplateSpan */;\n        case 133 /* AsyncKeyword */:\n          return containingNodeKind === 174 /* MethodDeclaration */ || containingNodeKind === 306 /* ShorthandPropertyAssignment */;\n        case 41 /* AsteriskToken */:\n          return containingNodeKind === 174 /* MethodDeclaration */;\n      }\n      if (isClassMemberCompletionKeyword(tokenKind)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function isInStringOrRegularExpressionOrTemplateLiteral(contextToken2) {\n    return (isRegularExpressionLiteral(contextToken2) || isStringTextContainingNode(contextToken2)) && (rangeContainsPositionExclusive(createTextRangeFromSpan(createTextSpanFromNode(contextToken2)), position) || position === contextToken2.end && (!!contextToken2.isUnterminated || isRegularExpressionLiteral(contextToken2)));\n  }\n  function tryGetObjectTypeLiteralInTypeArgumentCompletionSymbols() {\n    const typeLiteralNode = tryGetTypeLiteralNode(contextToken);\n    if (!typeLiteralNode)\n      return 0 /* Continue */;\n    const intersectionTypeNode = isIntersectionTypeNode(typeLiteralNode.parent) ? typeLiteralNode.parent : void 0;\n    const containerTypeNode = intersectionTypeNode || typeLiteralNode;\n    const containerExpectedType = getConstraintOfTypeArgumentProperty(containerTypeNode, typeChecker3);\n    if (!containerExpectedType)\n      return 0 /* Continue */;\n    const containerActualType = typeChecker3.getTypeFromTypeNode(containerTypeNode);\n    const members = getPropertiesForCompletion(containerExpectedType, typeChecker3);\n    const existingMembers = getPropertiesForCompletion(containerActualType, typeChecker3);\n    const existingMemberEscapedNames = new Set2();\n    existingMembers.forEach((s) => existingMemberEscapedNames.add(s.escapedName));\n    symbols = concatenate(symbols, filter(members, (s) => !existingMemberEscapedNames.has(s.escapedName)));\n    completionKind = 0 /* ObjectPropertyDeclaration */;\n    isNewIdentifierLocation = true;\n    return 1 /* Success */;\n  }\n  function tryGetObjectLikeCompletionSymbols() {\n    const symbolsStartIndex = symbols.length;\n    const objectLikeContainer = tryGetObjectLikeCompletionContainer(contextToken);\n    if (!objectLikeContainer)\n      return 0 /* Continue */;\n    completionKind = 0 /* ObjectPropertyDeclaration */;\n    let typeMembers;\n    let existingMembers;\n    if (objectLikeContainer.kind === 210 /* ObjectLiteralExpression */) {\n      const instantiatedType = tryGetObjectLiteralContextualType(objectLikeContainer, typeChecker3);\n      if (instantiatedType === void 0) {\n        if (objectLikeContainer.flags & 33554432 /* InWithStatement */) {\n          return 2 /* Fail */;\n        }\n        isNonContextualObjectLiteral = true;\n        return 0 /* Continue */;\n      }\n      const completionsType = typeChecker3.getContextualType(objectLikeContainer, 4 /* Completions */);\n      const hasStringIndexType = (completionsType || instantiatedType).getStringIndexType();\n      const hasNumberIndextype = (completionsType || instantiatedType).getNumberIndexType();\n      isNewIdentifierLocation = !!hasStringIndexType || !!hasNumberIndextype;\n      typeMembers = getPropertiesForObjectExpression(instantiatedType, completionsType, objectLikeContainer, typeChecker3);\n      existingMembers = objectLikeContainer.properties;\n      if (typeMembers.length === 0) {\n        if (!hasNumberIndextype) {\n          isNonContextualObjectLiteral = true;\n          return 0 /* Continue */;\n        }\n      }\n    } else {\n      Debug.assert(objectLikeContainer.kind === 206 /* ObjectBindingPattern */);\n      isNewIdentifierLocation = false;\n      const rootDeclaration = getRootDeclaration(objectLikeContainer.parent);\n      if (!isVariableLike(rootDeclaration))\n        return Debug.fail(\"Root declaration is not variable-like.\");\n      let canGetType = hasInitializer(rootDeclaration) || !!getEffectiveTypeAnnotationNode(rootDeclaration) || rootDeclaration.parent.parent.kind === 251 /* ForOfStatement */;\n      if (!canGetType && rootDeclaration.kind === 168 /* Parameter */) {\n        if (isExpression(rootDeclaration.parent)) {\n          canGetType = !!typeChecker3.getContextualType(rootDeclaration.parent);\n        } else if (rootDeclaration.parent.kind === 174 /* MethodDeclaration */ || rootDeclaration.parent.kind === 178 /* SetAccessor */) {\n          canGetType = isExpression(rootDeclaration.parent.parent) && !!typeChecker3.getContextualType(rootDeclaration.parent.parent);\n        }\n      }\n      if (canGetType) {\n        const typeForObject = typeChecker3.getTypeAtLocation(objectLikeContainer);\n        if (!typeForObject)\n          return 2 /* Fail */;\n        typeMembers = typeChecker3.getPropertiesOfType(typeForObject).filter((propertySymbol) => {\n          return typeChecker3.isPropertyAccessible(objectLikeContainer, false, false, typeForObject, propertySymbol);\n        });\n        existingMembers = objectLikeContainer.elements;\n      }\n    }\n    if (typeMembers && typeMembers.length > 0) {\n      const filteredMembers = filterObjectMembersList(typeMembers, Debug.checkDefined(existingMembers));\n      symbols = concatenate(symbols, filteredMembers);\n      setSortTextToOptionalMember();\n      if (objectLikeContainer.kind === 210 /* ObjectLiteralExpression */ && preferences.includeCompletionsWithObjectLiteralMethodSnippets && preferences.includeCompletionsWithInsertText) {\n        transformObjectLiteralMembersSortText(symbolsStartIndex);\n        collectObjectLiteralMethodSymbols(filteredMembers, objectLikeContainer);\n      }\n    }\n    return 1 /* Success */;\n  }\n  function tryGetImportOrExportClauseCompletionSymbols() {\n    if (!contextToken)\n      return 0 /* Continue */;\n    const namedImportsOrExports = contextToken.kind === 18 /* OpenBraceToken */ || contextToken.kind === 27 /* CommaToken */ ? tryCast(contextToken.parent, isNamedImportsOrExports) : isTypeKeywordTokenOrIdentifier(contextToken) ? tryCast(contextToken.parent.parent, isNamedImportsOrExports) : void 0;\n    if (!namedImportsOrExports)\n      return 0 /* Continue */;\n    if (!isTypeKeywordTokenOrIdentifier(contextToken)) {\n      keywordFilters = 8 /* TypeKeyword */;\n    }\n    const { moduleSpecifier } = namedImportsOrExports.kind === 278 /* NamedImports */ ? namedImportsOrExports.parent.parent : namedImportsOrExports.parent;\n    if (!moduleSpecifier) {\n      isNewIdentifierLocation = true;\n      return namedImportsOrExports.kind === 278 /* NamedImports */ ? 2 /* Fail */ : 0 /* Continue */;\n    }\n    const moduleSpecifierSymbol = typeChecker3.getSymbolAtLocation(moduleSpecifier);\n    if (!moduleSpecifierSymbol) {\n      isNewIdentifierLocation = true;\n      return 2 /* Fail */;\n    }\n    completionKind = 3 /* MemberLike */;\n    isNewIdentifierLocation = false;\n    const exports = typeChecker3.getExportsAndPropertiesOfModule(moduleSpecifierSymbol);\n    const existing = new Set2(namedImportsOrExports.elements.filter((n) => !isCurrentlyEditingNode(n)).map((n) => (n.propertyName || n.name).escapedText));\n    const uniques = exports.filter((e) => e.escapedName !== \"default\" /* Default */ && !existing.has(e.escapedName));\n    symbols = concatenate(symbols, uniques);\n    if (!uniques.length) {\n      keywordFilters = 0 /* None */;\n    }\n    return 1 /* Success */;\n  }\n  function tryGetLocalNamedExportCompletionSymbols() {\n    var _a3;\n    const namedExports = contextToken && (contextToken.kind === 18 /* OpenBraceToken */ || contextToken.kind === 27 /* CommaToken */) ? tryCast(contextToken.parent, isNamedExports) : void 0;\n    if (!namedExports) {\n      return 0 /* Continue */;\n    }\n    const localsContainer = findAncestor(namedExports, or(isSourceFile, isModuleDeclaration));\n    completionKind = 5 /* None */;\n    isNewIdentifierLocation = false;\n    (_a3 = localsContainer.locals) == null ? void 0 : _a3.forEach((symbol, name) => {\n      var _a4, _b;\n      symbols.push(symbol);\n      if ((_b = (_a4 = localsContainer.symbol) == null ? void 0 : _a4.exports) == null ? void 0 : _b.has(name)) {\n        symbolToSortTextMap[getSymbolId(symbol)] = SortText.OptionalMember;\n      }\n    });\n    return 1 /* Success */;\n  }\n  function tryGetClassLikeCompletionSymbols() {\n    const decl = tryGetObjectTypeDeclarationCompletionContainer(sourceFile, contextToken, location, position);\n    if (!decl)\n      return 0 /* Continue */;\n    completionKind = 3 /* MemberLike */;\n    isNewIdentifierLocation = true;\n    keywordFilters = contextToken.kind === 41 /* AsteriskToken */ ? 0 /* None */ : isClassLike(decl) ? 2 /* ClassElementKeywords */ : 3 /* InterfaceElementKeywords */;\n    if (!isClassLike(decl))\n      return 1 /* Success */;\n    const classElement = contextToken.kind === 26 /* SemicolonToken */ ? contextToken.parent.parent : contextToken.parent;\n    let classElementModifierFlags = isClassElement(classElement) ? getEffectiveModifierFlags(classElement) : 0 /* None */;\n    if (contextToken.kind === 79 /* Identifier */ && !isCurrentlyEditingNode(contextToken)) {\n      switch (contextToken.getText()) {\n        case \"private\":\n          classElementModifierFlags = classElementModifierFlags | 8 /* Private */;\n          break;\n        case \"static\":\n          classElementModifierFlags = classElementModifierFlags | 32 /* Static */;\n          break;\n        case \"override\":\n          classElementModifierFlags = classElementModifierFlags | 16384 /* Override */;\n          break;\n      }\n    }\n    if (isClassStaticBlockDeclaration(classElement)) {\n      classElementModifierFlags |= 32 /* Static */;\n    }\n    if (!(classElementModifierFlags & 8 /* Private */)) {\n      const baseTypeNodes = isClassLike(decl) && classElementModifierFlags & 16384 /* Override */ ? singleElementArray(getEffectiveBaseTypeNode(decl)) : getAllSuperTypeNodes(decl);\n      const baseSymbols = flatMap(baseTypeNodes, (baseTypeNode) => {\n        const type = typeChecker3.getTypeAtLocation(baseTypeNode);\n        return classElementModifierFlags & 32 /* Static */ ? (type == null ? void 0 : type.symbol) && typeChecker3.getPropertiesOfType(typeChecker3.getTypeOfSymbolAtLocation(type.symbol, decl)) : type && typeChecker3.getPropertiesOfType(type);\n      });\n      symbols = concatenate(symbols, filterClassMembersList(baseSymbols, decl.members, classElementModifierFlags));\n    }\n    return 1 /* Success */;\n  }\n  function isConstructorParameterCompletion(node2) {\n    return !!node2.parent && isParameter(node2.parent) && isConstructorDeclaration(node2.parent.parent) && (isParameterPropertyModifier(node2.kind) || isDeclarationName(node2));\n  }\n  function tryGetConstructorLikeCompletionContainer(contextToken2) {\n    if (contextToken2) {\n      const parent2 = contextToken2.parent;\n      switch (contextToken2.kind) {\n        case 20 /* OpenParenToken */:\n        case 27 /* CommaToken */:\n          return isConstructorDeclaration(contextToken2.parent) ? contextToken2.parent : void 0;\n        default:\n          if (isConstructorParameterCompletion(contextToken2)) {\n            return parent2.parent;\n          }\n      }\n    }\n    return void 0;\n  }\n  function tryGetFunctionLikeBodyCompletionContainer(contextToken2) {\n    if (contextToken2) {\n      let prev;\n      const container = findAncestor(contextToken2.parent, (node2) => {\n        if (isClassLike(node2)) {\n          return \"quit\";\n        }\n        if (isFunctionLikeDeclaration(node2) && prev === node2.body) {\n          return true;\n        }\n        prev = node2;\n        return false;\n      });\n      return container && container;\n    }\n  }\n  function tryGetContainingJsxElement(contextToken2) {\n    if (contextToken2) {\n      const parent2 = contextToken2.parent;\n      switch (contextToken2.kind) {\n        case 31 /* GreaterThanToken */:\n        case 30 /* LessThanSlashToken */:\n        case 43 /* SlashToken */:\n        case 79 /* Identifier */:\n        case 211 /* PropertyAccessExpression */:\n        case 295 /* JsxAttributes */:\n        case 294 /* JsxAttribute */:\n        case 296 /* JsxSpreadAttribute */:\n          if (parent2 && (parent2.kind === 288 /* JsxSelfClosingElement */ || parent2.kind === 289 /* JsxOpeningElement */)) {\n            if (contextToken2.kind === 31 /* GreaterThanToken */) {\n              const precedingToken = findPrecedingToken(contextToken2.pos, sourceFile, void 0);\n              if (!parent2.typeArguments || precedingToken && precedingToken.kind === 43 /* SlashToken */)\n                break;\n            }\n            return parent2;\n          } else if (parent2.kind === 294 /* JsxAttribute */) {\n            return parent2.parent.parent;\n          }\n          break;\n        case 10 /* StringLiteral */:\n          if (parent2 && (parent2.kind === 294 /* JsxAttribute */ || parent2.kind === 296 /* JsxSpreadAttribute */)) {\n            return parent2.parent.parent;\n          }\n          break;\n        case 19 /* CloseBraceToken */:\n          if (parent2 && parent2.kind === 297 /* JsxExpression */ && parent2.parent && parent2.parent.kind === 294 /* JsxAttribute */) {\n            return parent2.parent.parent.parent;\n          }\n          if (parent2 && parent2.kind === 296 /* JsxSpreadAttribute */) {\n            return parent2.parent.parent;\n          }\n          break;\n      }\n    }\n    return void 0;\n  }\n  function isSolelyIdentifierDefinitionLocation(contextToken2) {\n    const parent2 = contextToken2.parent;\n    const containingNodeKind = parent2.kind;\n    switch (contextToken2.kind) {\n      case 27 /* CommaToken */:\n        return containingNodeKind === 261 /* VariableDeclaration */ || isVariableDeclarationListButNotTypeArgument(contextToken2) || containingNodeKind === 244 /* VariableStatement */ || containingNodeKind === 269 /* EnumDeclaration */ || isFunctionLikeButNotConstructor(containingNodeKind) || containingNodeKind === 267 /* InterfaceDeclaration */ || containingNodeKind === 207 /* ArrayBindingPattern */ || containingNodeKind === 268 /* TypeAliasDeclaration */ || isClassLike(parent2) && !!parent2.typeParameters && parent2.typeParameters.end >= contextToken2.pos;\n      case 24 /* DotToken */:\n        return containingNodeKind === 207 /* ArrayBindingPattern */;\n      case 58 /* ColonToken */:\n        return containingNodeKind === 208 /* BindingElement */;\n      case 22 /* OpenBracketToken */:\n        return containingNodeKind === 207 /* ArrayBindingPattern */;\n      case 20 /* OpenParenToken */:\n        return containingNodeKind === 301 /* CatchClause */ || isFunctionLikeButNotConstructor(containingNodeKind);\n      case 18 /* OpenBraceToken */:\n        return containingNodeKind === 269 /* EnumDeclaration */;\n      case 29 /* LessThanToken */:\n        return containingNodeKind === 264 /* ClassDeclaration */ || containingNodeKind === 232 /* ClassExpression */ || containingNodeKind === 267 /* InterfaceDeclaration */ || containingNodeKind === 268 /* TypeAliasDeclaration */ || isFunctionLikeKind(containingNodeKind);\n      case 125 /* StaticKeyword */:\n        return containingNodeKind === 171 /* PropertyDeclaration */ && !isClassLike(parent2.parent);\n      case 25 /* DotDotDotToken */:\n        return containingNodeKind === 168 /* Parameter */ || !!parent2.parent && parent2.parent.kind === 207 /* ArrayBindingPattern */;\n      case 124 /* PublicKeyword */:\n      case 122 /* PrivateKeyword */:\n      case 123 /* ProtectedKeyword */:\n        return containingNodeKind === 168 /* Parameter */ && !isConstructorDeclaration(parent2.parent);\n      case 129 /* AsKeyword */:\n        return containingNodeKind === 279 /* ImportSpecifier */ || containingNodeKind === 284 /* ExportSpecifier */ || containingNodeKind === 277 /* NamespaceImport */;\n      case 138 /* GetKeyword */:\n      case 152 /* SetKeyword */:\n        return !isFromObjectTypeDeclaration(contextToken2);\n      case 79 /* Identifier */:\n        if (containingNodeKind === 279 /* ImportSpecifier */ && contextToken2 === parent2.name && contextToken2.text === \"type\") {\n          return false;\n        }\n        break;\n      case 84 /* ClassKeyword */:\n      case 85 /* StructKeyword */:\n      case 93 /* EnumKeyword */:\n      case 119 /* InterfaceKeyword */:\n      case 99 /* FunctionKeyword */:\n      case 114 /* VarKeyword */:\n      case 101 /* ImportKeyword */:\n      case 120 /* LetKeyword */:\n      case 86 /* ConstKeyword */:\n      case 139 /* InferKeyword */:\n        return true;\n      case 155 /* TypeKeyword */:\n        return containingNodeKind !== 279 /* ImportSpecifier */;\n      case 41 /* AsteriskToken */:\n        return isFunctionLike(contextToken2.parent) && !isMethodDeclaration(contextToken2.parent);\n    }\n    if (isClassMemberCompletionKeyword(keywordForNode(contextToken2)) && isFromObjectTypeDeclaration(contextToken2)) {\n      return false;\n    }\n    if (isConstructorParameterCompletion(contextToken2)) {\n      if (!isIdentifier(contextToken2) || isParameterPropertyModifier(keywordForNode(contextToken2)) || isCurrentlyEditingNode(contextToken2)) {\n        return false;\n      }\n    }\n    switch (keywordForNode(contextToken2)) {\n      case 127 /* AbstractKeyword */:\n      case 84 /* ClassKeyword */:\n      case 85 /* StructKeyword */:\n      case 86 /* ConstKeyword */:\n      case 137 /* DeclareKeyword */:\n      case 93 /* EnumKeyword */:\n      case 99 /* FunctionKeyword */:\n      case 119 /* InterfaceKeyword */:\n      case 120 /* LetKeyword */:\n      case 122 /* PrivateKeyword */:\n      case 123 /* ProtectedKeyword */:\n      case 124 /* PublicKeyword */:\n      case 125 /* StaticKeyword */:\n      case 114 /* VarKeyword */:\n        return true;\n      case 133 /* AsyncKeyword */:\n        return isPropertyDeclaration(contextToken2.parent);\n    }\n    const ancestorClassLike = findAncestor(contextToken2.parent, isClassLike);\n    if (ancestorClassLike && contextToken2 === previousToken && isPreviousPropertyDeclarationTerminated(contextToken2, position)) {\n      return false;\n    }\n    const ancestorPropertyDeclaraion = getAncestor(contextToken2.parent, 171 /* PropertyDeclaration */);\n    if (ancestorPropertyDeclaraion && contextToken2 !== previousToken && isClassLike(previousToken.parent.parent) && position <= previousToken.end) {\n      if (isPreviousPropertyDeclarationTerminated(contextToken2, previousToken.end)) {\n        return false;\n      } else if (contextToken2.kind !== 63 /* EqualsToken */ && (isInitializedProperty(ancestorPropertyDeclaraion) || hasType(ancestorPropertyDeclaraion))) {\n        return true;\n      }\n    }\n    return isDeclarationName(contextToken2) && !isShorthandPropertyAssignment(contextToken2.parent) && !isJsxAttribute(contextToken2.parent) && !(isClassLike(contextToken2.parent) && (contextToken2 !== previousToken || position > previousToken.end));\n  }\n  function isPreviousPropertyDeclarationTerminated(contextToken2, position2) {\n    return contextToken2.kind !== 63 /* EqualsToken */ && (contextToken2.kind === 26 /* SemicolonToken */ || !positionsAreOnSameLine(contextToken2.end, position2, sourceFile));\n  }\n  function isFunctionLikeButNotConstructor(kind) {\n    return isFunctionLikeKind(kind) && kind !== 176 /* Constructor */;\n  }\n  function isDotOfNumericLiteral(contextToken2) {\n    if (contextToken2.kind === 8 /* NumericLiteral */) {\n      const text = contextToken2.getFullText();\n      return text.charAt(text.length - 1) === \".\";\n    }\n    return false;\n  }\n  function isVariableDeclarationListButNotTypeArgument(node2) {\n    return node2.parent.kind === 262 /* VariableDeclarationList */ && !isPossiblyTypeArgumentPosition(node2, sourceFile, typeChecker3);\n  }\n  function filterObjectMembersList(contextualMemberSymbols, existingMembers) {\n    if (existingMembers.length === 0) {\n      return contextualMemberSymbols;\n    }\n    const membersDeclaredBySpreadAssignment = new Set2();\n    const existingMemberNames = new Set2();\n    for (const m of existingMembers) {\n      if (m.kind !== 305 /* PropertyAssignment */ && m.kind !== 306 /* ShorthandPropertyAssignment */ && m.kind !== 208 /* BindingElement */ && m.kind !== 174 /* MethodDeclaration */ && m.kind !== 177 /* GetAccessor */ && m.kind !== 178 /* SetAccessor */ && m.kind !== 307 /* SpreadAssignment */) {\n        continue;\n      }\n      if (isCurrentlyEditingNode(m)) {\n        continue;\n      }\n      let existingName;\n      if (isSpreadAssignment(m)) {\n        setMembersDeclaredBySpreadAssignment(m, membersDeclaredBySpreadAssignment);\n      } else if (isBindingElement(m) && m.propertyName) {\n        if (m.propertyName.kind === 79 /* Identifier */) {\n          existingName = m.propertyName.escapedText;\n        }\n      } else {\n        const name = getNameOfDeclaration(m);\n        existingName = name && isPropertyNameLiteral(name) ? getEscapedTextOfIdentifierOrLiteral(name) : void 0;\n      }\n      if (existingName !== void 0) {\n        existingMemberNames.add(existingName);\n      }\n    }\n    const filteredSymbols = contextualMemberSymbols.filter((m) => !existingMemberNames.has(m.escapedName));\n    setSortTextToMemberDeclaredBySpreadAssignment(membersDeclaredBySpreadAssignment, filteredSymbols);\n    return filteredSymbols;\n  }\n  function setMembersDeclaredBySpreadAssignment(declaration, membersDeclaredBySpreadAssignment) {\n    const expression = declaration.expression;\n    const symbol = typeChecker3.getSymbolAtLocation(expression);\n    const type = symbol && typeChecker3.getTypeOfSymbolAtLocation(symbol, expression);\n    const properties = type && type.properties;\n    if (properties) {\n      properties.forEach((property) => {\n        membersDeclaredBySpreadAssignment.add(property.name);\n      });\n    }\n  }\n  function setSortTextToOptionalMember() {\n    symbols.forEach((m) => {\n      var _a3;\n      if (m.flags & 16777216 /* Optional */) {\n        const symbolId = getSymbolId(m);\n        symbolToSortTextMap[symbolId] = (_a3 = symbolToSortTextMap[symbolId]) != null ? _a3 : SortText.OptionalMember;\n      }\n    });\n  }\n  function setSortTextToMemberDeclaredBySpreadAssignment(membersDeclaredBySpreadAssignment, contextualMemberSymbols) {\n    if (membersDeclaredBySpreadAssignment.size === 0) {\n      return;\n    }\n    for (const contextualMemberSymbol of contextualMemberSymbols) {\n      if (membersDeclaredBySpreadAssignment.has(contextualMemberSymbol.name)) {\n        symbolToSortTextMap[getSymbolId(contextualMemberSymbol)] = SortText.MemberDeclaredBySpreadAssignment;\n      }\n    }\n  }\n  function transformObjectLiteralMembersSortText(start2) {\n    var _a3;\n    for (let i = start2; i < symbols.length; i++) {\n      const symbol = symbols[i];\n      const symbolId = getSymbolId(symbol);\n      const origin = symbolToOriginInfoMap == null ? void 0 : symbolToOriginInfoMap[i];\n      const target = getEmitScriptTarget(compilerOptions);\n      const displayName = getCompletionEntryDisplayNameForSymbol(\n        symbol,\n        target,\n        origin,\n        0 /* ObjectPropertyDeclaration */,\n        false\n      );\n      if (displayName) {\n        const originalSortText = (_a3 = symbolToSortTextMap[symbolId]) != null ? _a3 : SortText.LocationPriority;\n        const { name } = displayName;\n        symbolToSortTextMap[symbolId] = SortText.ObjectLiteralProperty(originalSortText, name);\n      }\n    }\n  }\n  function filterClassMembersList(baseSymbols, existingMembers, currentClassElementModifierFlags) {\n    const existingMemberNames = new Set2();\n    for (const m of existingMembers) {\n      if (m.kind !== 171 /* PropertyDeclaration */ && m.kind !== 174 /* MethodDeclaration */ && m.kind !== 177 /* GetAccessor */ && m.kind !== 178 /* SetAccessor */) {\n        continue;\n      }\n      if (isCurrentlyEditingNode(m)) {\n        continue;\n      }\n      if (hasEffectiveModifier(m, 8 /* Private */)) {\n        continue;\n      }\n      if (isStatic(m) !== !!(currentClassElementModifierFlags & 32 /* Static */)) {\n        continue;\n      }\n      const existingName = getPropertyNameForPropertyNameNode(m.name);\n      if (existingName) {\n        existingMemberNames.add(existingName);\n      }\n    }\n    return baseSymbols.filter((propertySymbol) => !existingMemberNames.has(propertySymbol.escapedName) && !!propertySymbol.declarations && !(getDeclarationModifierFlagsFromSymbol(propertySymbol) & 8 /* Private */) && !(propertySymbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(propertySymbol.valueDeclaration)));\n  }\n  function filterJsxAttributes(symbols2, attributes) {\n    const seenNames = new Set2();\n    const membersDeclaredBySpreadAssignment = new Set2();\n    for (const attr of attributes) {\n      if (isCurrentlyEditingNode(attr)) {\n        continue;\n      }\n      if (attr.kind === 294 /* JsxAttribute */) {\n        seenNames.add(attr.name.escapedText);\n      } else if (isJsxSpreadAttribute(attr)) {\n        setMembersDeclaredBySpreadAssignment(attr, membersDeclaredBySpreadAssignment);\n      }\n    }\n    const filteredSymbols = symbols2.filter((a) => !seenNames.has(a.escapedName));\n    setSortTextToMemberDeclaredBySpreadAssignment(membersDeclaredBySpreadAssignment, filteredSymbols);\n    return filteredSymbols;\n  }\n  function isCurrentlyEditingNode(node2) {\n    return node2.getStart(sourceFile) <= position && position <= node2.getEnd();\n  }\n}\nfunction tryGetObjectLikeCompletionContainer(contextToken) {\n  if (contextToken) {\n    const { parent: parent2 } = contextToken;\n    switch (contextToken.kind) {\n      case 18 /* OpenBraceToken */:\n      case 27 /* CommaToken */:\n        if (isObjectLiteralExpression(parent2) || isObjectBindingPattern(parent2)) {\n          return parent2;\n        }\n        break;\n      case 41 /* AsteriskToken */:\n        return isMethodDeclaration(parent2) ? tryCast(parent2.parent, isObjectLiteralExpression) : void 0;\n      case 79 /* Identifier */:\n        return contextToken.text === \"async\" && isShorthandPropertyAssignment(contextToken.parent) ? contextToken.parent.parent : void 0;\n    }\n  }\n  return void 0;\n}\nfunction getRelevantTokens(position, sourceFile) {\n  const previousToken = findPrecedingToken(position, sourceFile);\n  if (previousToken && position <= previousToken.end && (isMemberName(previousToken) || isKeyword(previousToken.kind))) {\n    const contextToken = findPrecedingToken(previousToken.getFullStart(), sourceFile, void 0);\n    return { contextToken, previousToken };\n  }\n  return { contextToken: previousToken, previousToken };\n}\nfunction getAutoImportSymbolFromCompletionEntryData(name, data, program, host) {\n  const containingProgram = data.isPackageJsonImport ? host.getPackageJsonAutoImportProvider() : program;\n  const checker = containingProgram.getTypeChecker();\n  const moduleSymbol = data.ambientModuleName ? checker.tryFindAmbientModule(data.ambientModuleName) : data.fileName ? checker.getMergedSymbol(Debug.checkDefined(containingProgram.getSourceFile(data.fileName)).symbol) : void 0;\n  if (!moduleSymbol)\n    return void 0;\n  let symbol = data.exportName === \"export=\" /* ExportEquals */ ? checker.resolveExternalModuleSymbol(moduleSymbol) : checker.tryGetMemberInModuleExportsAndProperties(data.exportName, moduleSymbol);\n  if (!symbol)\n    return void 0;\n  const isDefaultExport = data.exportName === \"default\" /* Default */;\n  symbol = isDefaultExport && getLocalSymbolForExportDefault(symbol) || symbol;\n  return { symbol, origin: completionEntryDataToSymbolOriginInfo(data, name, moduleSymbol) };\n}\nfunction getCompletionEntryDisplayNameForSymbol(symbol, target, origin, kind, jsxIdentifierExpected) {\n  const name = originIncludesSymbolName(origin) ? origin.symbolName : symbol.name;\n  if (name === void 0 || symbol.flags & 1536 /* Module */ && isSingleOrDoubleQuote(name.charCodeAt(0)) || isKnownSymbol(symbol)) {\n    return void 0;\n  }\n  const validNameResult = { name, needsConvertPropertyAccess: false };\n  if (isIdentifierText(name, target, jsxIdentifierExpected ? 1 /* JSX */ : 0 /* Standard */) || symbol.valueDeclaration && isPrivateIdentifierClassElementDeclaration(symbol.valueDeclaration)) {\n    return validNameResult;\n  }\n  switch (kind) {\n    case 3 /* MemberLike */:\n      return void 0;\n    case 0 /* ObjectPropertyDeclaration */:\n      return { name: JSON.stringify(name), needsConvertPropertyAccess: false };\n    case 2 /* PropertyAccess */:\n    case 1 /* Global */:\n      return name.charCodeAt(0) === 32 /* space */ ? void 0 : { name, needsConvertPropertyAccess: true };\n    case 5 /* None */:\n    case 4 /* String */:\n      return validNameResult;\n    default:\n      Debug.assertNever(kind);\n  }\n}\nvar _keywordCompletions = [];\nvar allKeywordsCompletions = memoize(() => {\n  const res = [];\n  for (let i = 81 /* FirstKeyword */; i <= 164 /* LastKeyword */; i++) {\n    res.push({\n      name: tokenToString(i),\n      kind: \"keyword\" /* keyword */,\n      kindModifiers: \"\" /* none */,\n      sortText: SortText.GlobalsOrKeywords\n    });\n  }\n  return res;\n});\nfunction getKeywordCompletions(keywordFilter, filterOutTsOnlyKeywords) {\n  if (!filterOutTsOnlyKeywords)\n    return getTypescriptKeywordCompletions(keywordFilter);\n  const index = keywordFilter + 8 /* Last */ + 1;\n  return _keywordCompletions[index] || (_keywordCompletions[index] = getTypescriptKeywordCompletions(keywordFilter).filter((entry) => !isTypeScriptOnlyKeyword(stringToToken(entry.name))));\n}\nfunction getTypescriptKeywordCompletions(keywordFilter) {\n  return _keywordCompletions[keywordFilter] || (_keywordCompletions[keywordFilter] = allKeywordsCompletions().filter((entry) => {\n    const kind = stringToToken(entry.name);\n    switch (keywordFilter) {\n      case 0 /* None */:\n        return false;\n      case 1 /* All */:\n        return isFunctionLikeBodyKeyword(kind) || kind === 137 /* DeclareKeyword */ || kind === 143 /* ModuleKeyword */ || kind === 155 /* TypeKeyword */ || kind === 144 /* NamespaceKeyword */ || kind === 127 /* AbstractKeyword */ || isTypeKeyword(kind) && kind !== 157 /* UndefinedKeyword */;\n      case 5 /* FunctionLikeBodyKeywords */:\n        return isFunctionLikeBodyKeyword(kind);\n      case 2 /* ClassElementKeywords */:\n        return isClassMemberCompletionKeyword(kind);\n      case 3 /* InterfaceElementKeywords */:\n        return isInterfaceOrTypeLiteralCompletionKeyword(kind);\n      case 4 /* ConstructorParameterKeywords */:\n        return isParameterPropertyModifier(kind);\n      case 6 /* TypeAssertionKeywords */:\n        return isTypeKeyword(kind) || kind === 86 /* ConstKeyword */;\n      case 7 /* TypeKeywords */:\n        return isTypeKeyword(kind);\n      case 8 /* TypeKeyword */:\n        return kind === 155 /* TypeKeyword */;\n      default:\n        return Debug.assertNever(keywordFilter);\n    }\n  }));\n}\nfunction isTypeScriptOnlyKeyword(kind) {\n  switch (kind) {\n    case 127 /* AbstractKeyword */:\n    case 132 /* AnyKeyword */:\n    case 162 /* BigIntKeyword */:\n    case 135 /* BooleanKeyword */:\n    case 137 /* DeclareKeyword */:\n    case 93 /* EnumKeyword */:\n    case 161 /* GlobalKeyword */:\n    case 118 /* ImplementsKeyword */:\n    case 139 /* InferKeyword */:\n    case 119 /* InterfaceKeyword */:\n    case 141 /* IsKeyword */:\n    case 142 /* KeyOfKeyword */:\n    case 143 /* ModuleKeyword */:\n    case 144 /* NamespaceKeyword */:\n    case 145 /* NeverKeyword */:\n    case 149 /* NumberKeyword */:\n    case 150 /* ObjectKeyword */:\n    case 163 /* OverrideKeyword */:\n    case 122 /* PrivateKeyword */:\n    case 123 /* ProtectedKeyword */:\n    case 124 /* PublicKeyword */:\n    case 147 /* ReadonlyKeyword */:\n    case 153 /* StringKeyword */:\n    case 154 /* SymbolKeyword */:\n    case 155 /* TypeKeyword */:\n    case 158 /* UniqueKeyword */:\n    case 159 /* UnknownKeyword */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isInterfaceOrTypeLiteralCompletionKeyword(kind) {\n  return kind === 147 /* ReadonlyKeyword */;\n}\nfunction isClassMemberCompletionKeyword(kind) {\n  switch (kind) {\n    case 127 /* AbstractKeyword */:\n    case 128 /* AccessorKeyword */:\n    case 136 /* ConstructorKeyword */:\n    case 138 /* GetKeyword */:\n    case 152 /* SetKeyword */:\n    case 133 /* AsyncKeyword */:\n    case 137 /* DeclareKeyword */:\n    case 163 /* OverrideKeyword */:\n      return true;\n    default:\n      return isClassMemberModifier(kind);\n  }\n}\nfunction isFunctionLikeBodyKeyword(kind) {\n  return kind === 133 /* AsyncKeyword */ || kind === 134 /* AwaitKeyword */ || kind === 129 /* AsKeyword */ || kind === 151 /* SatisfiesKeyword */ || kind === 155 /* TypeKeyword */ || !isContextualKeyword(kind) && !isClassMemberCompletionKeyword(kind);\n}\nfunction keywordForNode(node) {\n  return isIdentifier(node) ? node.originalKeywordKind || 0 /* Unknown */ : node.kind;\n}\nfunction getContextualKeywords(contextToken, position) {\n  const entries = [];\n  if (contextToken) {\n    const file = contextToken.getSourceFile();\n    const parent2 = contextToken.parent;\n    const tokenLine = file.getLineAndCharacterOfPosition(contextToken.end).line;\n    const currentLine = file.getLineAndCharacterOfPosition(position).line;\n    if ((isImportDeclaration(parent2) || isExportDeclaration(parent2) && parent2.moduleSpecifier) && contextToken === parent2.moduleSpecifier && tokenLine === currentLine) {\n      entries.push({\n        name: tokenToString(131 /* AssertKeyword */),\n        kind: \"keyword\" /* keyword */,\n        kindModifiers: \"\" /* none */,\n        sortText: SortText.GlobalsOrKeywords\n      });\n    }\n  }\n  return entries;\n}\nfunction getJsDocTagAtPosition(node, position) {\n  return findAncestor(node, (n) => isJSDocTag(n) && rangeContainsPosition(n, position) ? true : isJSDoc(n) ? \"quit\" : false);\n}\nfunction getPropertiesForObjectExpression(contextualType, completionsType, obj, checker) {\n  const hasCompletionsType = completionsType && completionsType !== contextualType;\n  const type = hasCompletionsType && !(completionsType.flags & 3 /* AnyOrUnknown */) ? checker.getUnionType([contextualType, completionsType]) : contextualType;\n  const properties = getApparentProperties(type, obj, checker);\n  return type.isClass() && containsNonPublicProperties(properties) ? [] : hasCompletionsType ? filter(properties, hasDeclarationOtherThanSelf) : properties;\n  function hasDeclarationOtherThanSelf(member) {\n    if (!length(member.declarations))\n      return true;\n    return some(member.declarations, (decl) => decl.parent !== obj);\n  }\n}\nfunction getApparentProperties(type, node, checker) {\n  if (!type.isUnion())\n    return type.getApparentProperties();\n  return checker.getAllPossiblePropertiesOfTypes(filter(type.types, (memberType) => !(memberType.flags & 131068 /* Primitive */ || checker.isArrayLikeType(memberType) || checker.isTypeInvalidDueToUnionDiscriminant(memberType, node) || typeHasCallOrConstructSignatures(memberType, checker) || memberType.isClass() && containsNonPublicProperties(memberType.getApparentProperties()))));\n}\nfunction containsNonPublicProperties(props) {\n  return some(props, (p) => !!(getDeclarationModifierFlagsFromSymbol(p) & 24 /* NonPublicAccessibilityModifier */));\n}\nfunction getPropertiesForCompletion(type, checker) {\n  return type.isUnion() ? Debug.checkEachDefined(checker.getAllPossiblePropertiesOfTypes(type.types), \"getAllPossiblePropertiesOfTypes() should all be defined\") : Debug.checkEachDefined(type.getApparentProperties(), \"getApparentProperties() should all be defined\");\n}\nfunction tryGetObjectTypeDeclarationCompletionContainer(sourceFile, contextToken, location, position) {\n  switch (location.kind) {\n    case 357 /* SyntaxList */:\n      return tryCast(location.parent, isObjectTypeDeclaration);\n    case 1 /* EndOfFileToken */:\n      const cls = tryCast(lastOrUndefined(cast(location.parent, isSourceFile).statements), isObjectTypeDeclaration);\n      if (cls && !findChildOfKind(cls, 19 /* CloseBraceToken */, sourceFile)) {\n        return cls;\n      }\n      break;\n    case 79 /* Identifier */: {\n      const originalKeywordKind = location.originalKeywordKind;\n      if (originalKeywordKind && isKeyword(originalKeywordKind)) {\n        return void 0;\n      }\n      if (isPropertyDeclaration(location.parent) && location.parent.initializer === location) {\n        return void 0;\n      }\n      if (isFromObjectTypeDeclaration(location)) {\n        return findAncestor(location, isObjectTypeDeclaration);\n      }\n    }\n  }\n  if (!contextToken)\n    return void 0;\n  if (location.kind === 136 /* ConstructorKeyword */ || isIdentifier(contextToken) && isPropertyDeclaration(contextToken.parent) && isClassLike(location)) {\n    return findAncestor(contextToken, isClassLike);\n  }\n  switch (contextToken.kind) {\n    case 63 /* EqualsToken */:\n      return void 0;\n    case 26 /* SemicolonToken */:\n    case 19 /* CloseBraceToken */:\n      return isFromObjectTypeDeclaration(location) && location.parent.name === location ? location.parent.parent : tryCast(location, isObjectTypeDeclaration);\n    case 18 /* OpenBraceToken */:\n    case 27 /* CommaToken */:\n      return tryCast(contextToken.parent, isObjectTypeDeclaration);\n    default:\n      if (!isFromObjectTypeDeclaration(contextToken)) {\n        if (getLineAndCharacterOfPosition(sourceFile, contextToken.getEnd()).line !== getLineAndCharacterOfPosition(sourceFile, position).line && isObjectTypeDeclaration(location)) {\n          return location;\n        }\n        return void 0;\n      }\n      const isValidKeyword = isClassLike(contextToken.parent.parent) ? isClassMemberCompletionKeyword : isInterfaceOrTypeLiteralCompletionKeyword;\n      return isValidKeyword(contextToken.kind) || contextToken.kind === 41 /* AsteriskToken */ || isIdentifier(contextToken) && isValidKeyword(stringToToken(contextToken.text)) ? contextToken.parent.parent : void 0;\n  }\n}\nfunction tryGetTypeLiteralNode(node) {\n  if (!node)\n    return void 0;\n  const parent2 = node.parent;\n  switch (node.kind) {\n    case 18 /* OpenBraceToken */:\n      if (isTypeLiteralNode(parent2)) {\n        return parent2;\n      }\n      break;\n    case 26 /* SemicolonToken */:\n    case 27 /* CommaToken */:\n    case 79 /* Identifier */:\n      if (parent2.kind === 170 /* PropertySignature */ && isTypeLiteralNode(parent2.parent)) {\n        return parent2.parent;\n      }\n      break;\n  }\n  return void 0;\n}\nfunction getConstraintOfTypeArgumentProperty(node, checker) {\n  if (!node)\n    return void 0;\n  if (isTypeNode(node) && isTypeReferenceType(node.parent)) {\n    return checker.getTypeArgumentConstraint(node);\n  }\n  const t = getConstraintOfTypeArgumentProperty(node.parent, checker);\n  if (!t)\n    return void 0;\n  switch (node.kind) {\n    case 170 /* PropertySignature */:\n      return checker.getTypeOfPropertyOfContextualType(t, node.symbol.escapedName);\n    case 193 /* IntersectionType */:\n    case 187 /* TypeLiteral */:\n    case 192 /* UnionType */:\n      return t;\n  }\n}\nfunction isFromObjectTypeDeclaration(node) {\n  return node.parent && isClassOrTypeElement(node.parent) && isObjectTypeDeclaration(node.parent.parent);\n}\nfunction isValidTrigger(sourceFile, triggerCharacter, contextToken, position) {\n  switch (triggerCharacter) {\n    case \".\":\n    case \"@\":\n      return true;\n    case '\"':\n    case \"'\":\n    case \"`\":\n      return !!contextToken && isStringLiteralOrTemplate(contextToken) && position === contextToken.getStart(sourceFile) + 1;\n    case \"#\":\n      return !!contextToken && isPrivateIdentifier(contextToken) && !!getContainingClass(contextToken);\n    case \"<\":\n      return !!contextToken && contextToken.kind === 29 /* LessThanToken */ && (!isBinaryExpression(contextToken.parent) || binaryExpressionMayBeOpenTag(contextToken.parent));\n    case \"/\":\n      return !!contextToken && (isStringLiteralLike(contextToken) ? !!tryGetImportFromModuleSpecifier(contextToken) : contextToken.kind === 43 /* SlashToken */ && isJsxClosingElement(contextToken.parent));\n    case \" \":\n      return !!contextToken && isImportKeyword(contextToken) && contextToken.parent.kind === 314 /* SourceFile */;\n    default:\n      return Debug.assertNever(triggerCharacter);\n  }\n}\nfunction binaryExpressionMayBeOpenTag({ left }) {\n  return nodeIsMissing(left);\n}\nfunction isProbablyGlobalType(type, sourceFile, checker) {\n  const selfSymbol = checker.resolveName(\"self\", void 0, 111551 /* Value */, false);\n  if (selfSymbol && checker.getTypeOfSymbolAtLocation(selfSymbol, sourceFile) === type) {\n    return true;\n  }\n  const globalSymbol = checker.resolveName(\"global\", void 0, 111551 /* Value */, false);\n  if (globalSymbol && checker.getTypeOfSymbolAtLocation(globalSymbol, sourceFile) === type) {\n    return true;\n  }\n  const globalThisSymbol = checker.resolveName(\"globalThis\", void 0, 111551 /* Value */, false);\n  if (globalThisSymbol && checker.getTypeOfSymbolAtLocation(globalThisSymbol, sourceFile) === type) {\n    return true;\n  }\n  return false;\n}\nfunction isStaticProperty(symbol) {\n  return !!(symbol.valueDeclaration && getEffectiveModifierFlags(symbol.valueDeclaration) & 32 /* Static */ && isClassLike(symbol.valueDeclaration.parent));\n}\nfunction tryGetObjectLiteralContextualType(node, typeChecker3) {\n  const type = typeChecker3.getContextualType(node);\n  if (type) {\n    return type;\n  }\n  const parent2 = walkUpParenthesizedExpressions(node.parent);\n  if (isBinaryExpression(parent2) && parent2.operatorToken.kind === 63 /* EqualsToken */ && node === parent2.left) {\n    return typeChecker3.getTypeAtLocation(parent2);\n  }\n  if (isExpression(parent2)) {\n    return typeChecker3.getContextualType(parent2);\n  }\n  return void 0;\n}\nfunction getImportStatementCompletionInfo(contextToken) {\n  var _a2, _b, _c;\n  let keywordCompletion;\n  let isKeywordOnlyCompletion = false;\n  const candidate = getCandidate();\n  return {\n    isKeywordOnlyCompletion,\n    keywordCompletion,\n    isNewIdentifierLocation: !!(candidate || keywordCompletion === 155 /* TypeKeyword */),\n    isTopLevelTypeOnly: !!((_b = (_a2 = tryCast(candidate, isImportDeclaration)) == null ? void 0 : _a2.importClause) == null ? void 0 : _b.isTypeOnly) || !!((_c = tryCast(candidate, isImportEqualsDeclaration)) == null ? void 0 : _c.isTypeOnly),\n    couldBeTypeOnlyImportSpecifier: !!candidate && couldBeTypeOnlyImportSpecifier(candidate, contextToken),\n    replacementSpan: getSingleLineReplacementSpanForImportCompletionNode(candidate)\n  };\n  function getCandidate() {\n    const parent2 = contextToken.parent;\n    if (isImportEqualsDeclaration(parent2)) {\n      keywordCompletion = contextToken.kind === 155 /* TypeKeyword */ ? void 0 : 155 /* TypeKeyword */;\n      return isModuleSpecifierMissingOrEmpty(parent2.moduleReference) ? parent2 : void 0;\n    }\n    if (couldBeTypeOnlyImportSpecifier(parent2, contextToken) && canCompleteFromNamedBindings(parent2.parent)) {\n      return parent2;\n    }\n    if (isNamedImports(parent2) || isNamespaceImport(parent2)) {\n      if (!parent2.parent.isTypeOnly && (contextToken.kind === 18 /* OpenBraceToken */ || contextToken.kind === 101 /* ImportKeyword */ || contextToken.kind === 27 /* CommaToken */)) {\n        keywordCompletion = 155 /* TypeKeyword */;\n      }\n      if (canCompleteFromNamedBindings(parent2)) {\n        if (contextToken.kind === 19 /* CloseBraceToken */ || contextToken.kind === 79 /* Identifier */) {\n          isKeywordOnlyCompletion = true;\n          keywordCompletion = 160 /* FromKeyword */;\n        } else {\n          return parent2.parent.parent;\n        }\n      }\n      return void 0;\n    }\n    if (isImportKeyword(contextToken) && isSourceFile(parent2)) {\n      keywordCompletion = 155 /* TypeKeyword */;\n      return contextToken;\n    }\n    if (isImportKeyword(contextToken) && isImportDeclaration(parent2)) {\n      keywordCompletion = 155 /* TypeKeyword */;\n      return isModuleSpecifierMissingOrEmpty(parent2.moduleSpecifier) ? parent2 : void 0;\n    }\n    return void 0;\n  }\n}\nfunction getSingleLineReplacementSpanForImportCompletionNode(node) {\n  var _a2, _b, _c;\n  if (!node)\n    return void 0;\n  const top = (_a2 = findAncestor(node, or(isImportDeclaration, isImportEqualsDeclaration))) != null ? _a2 : node;\n  const sourceFile = top.getSourceFile();\n  if (rangeIsOnSingleLine(top, sourceFile)) {\n    return createTextSpanFromNode(top, sourceFile);\n  }\n  Debug.assert(top.kind !== 101 /* ImportKeyword */ && top.kind !== 279 /* ImportSpecifier */);\n  const potentialSplitPoint = top.kind === 275 /* ImportDeclaration */ ? (_c = getPotentiallyInvalidImportSpecifier((_b = top.importClause) == null ? void 0 : _b.namedBindings)) != null ? _c : top.moduleSpecifier : top.moduleReference;\n  const withoutModuleSpecifier = {\n    pos: top.getFirstToken().getStart(),\n    end: potentialSplitPoint.pos\n  };\n  if (rangeIsOnSingleLine(withoutModuleSpecifier, sourceFile)) {\n    return createTextSpanFromRange(withoutModuleSpecifier);\n  }\n}\nfunction getPotentiallyInvalidImportSpecifier(namedBindings) {\n  var _a2;\n  return find(\n    (_a2 = tryCast(namedBindings, isNamedImports)) == null ? void 0 : _a2.elements,\n    (e) => {\n      var _a3;\n      return !e.propertyName && isStringANonContextualKeyword(e.name.text) && ((_a3 = findPrecedingToken(e.name.pos, namedBindings.getSourceFile(), namedBindings)) == null ? void 0 : _a3.kind) !== 27 /* CommaToken */;\n    }\n  );\n}\nfunction couldBeTypeOnlyImportSpecifier(importSpecifier, contextToken) {\n  return isImportSpecifier(importSpecifier) && (importSpecifier.isTypeOnly || contextToken === importSpecifier.name && isTypeKeywordTokenOrIdentifier(contextToken));\n}\nfunction canCompleteFromNamedBindings(namedBindings) {\n  if (!isModuleSpecifierMissingOrEmpty(namedBindings.parent.parent.moduleSpecifier) || namedBindings.parent.name) {\n    return false;\n  }\n  if (isNamedImports(namedBindings)) {\n    const invalidNamedImport = getPotentiallyInvalidImportSpecifier(namedBindings);\n    const validImports = invalidNamedImport ? namedBindings.elements.indexOf(invalidNamedImport) : namedBindings.elements.length;\n    return validImports < 2;\n  }\n  return true;\n}\nfunction isModuleSpecifierMissingOrEmpty(specifier) {\n  var _a2;\n  if (nodeIsMissing(specifier))\n    return true;\n  return !((_a2 = tryCast(isExternalModuleReference(specifier) ? specifier.expression : specifier, isStringLiteralLike)) == null ? void 0 : _a2.text);\n}\nfunction getVariableDeclaration(property) {\n  const variableDeclaration = findAncestor(property, (node) => isFunctionBlock(node) || isArrowFunctionBody(node) || isBindingPattern(node) ? \"quit\" : isVariableDeclaration(node));\n  return variableDeclaration;\n}\nfunction isArrowFunctionBody(node) {\n  return node.parent && isArrowFunction(node.parent) && node.parent.body === node;\n}\nfunction symbolCanBeReferencedAtTypeLocation(symbol, checker, seenModules = new Map2()) {\n  return nonAliasCanBeReferencedAtTypeLocation(symbol) || nonAliasCanBeReferencedAtTypeLocation(skipAlias(symbol.exportSymbol || symbol, checker));\n  function nonAliasCanBeReferencedAtTypeLocation(symbol2) {\n    return !!(symbol2.flags & 788968 /* Type */) || checker.isUnknownSymbol(symbol2) || !!(symbol2.flags & 1536 /* Module */) && addToSeen(seenModules, getSymbolId(symbol2)) && checker.getExportsOfModule(symbol2).some((e) => symbolCanBeReferencedAtTypeLocation(e, checker, seenModules));\n  }\n}\nfunction isDeprecated(symbol, checker) {\n  const declarations = skipAlias(symbol, checker).declarations;\n  return !!length(declarations) && every(declarations, isDeprecatedDeclaration);\n}\nfunction charactersFuzzyMatchInString(identifierString, lowercaseCharacters) {\n  if (lowercaseCharacters.length === 0) {\n    return true;\n  }\n  let matchedFirstCharacter = false;\n  let prevChar;\n  let characterIndex = 0;\n  const len = identifierString.length;\n  for (let strIndex = 0; strIndex < len; strIndex++) {\n    const strChar = identifierString.charCodeAt(strIndex);\n    const testChar = lowercaseCharacters.charCodeAt(characterIndex);\n    if (strChar === testChar || strChar === toUpperCharCode(testChar)) {\n      matchedFirstCharacter || (matchedFirstCharacter = prevChar === void 0 || 97 /* a */ <= prevChar && prevChar <= 122 /* z */ && 65 /* A */ <= strChar && strChar <= 90 /* Z */ || prevChar === 95 /* _ */ && strChar !== 95 /* _ */);\n      if (matchedFirstCharacter) {\n        characterIndex++;\n      }\n      if (characterIndex === lowercaseCharacters.length) {\n        return true;\n      }\n    }\n    prevChar = strChar;\n  }\n  return false;\n}\nfunction toUpperCharCode(charCode) {\n  if (97 /* a */ <= charCode && charCode <= 122 /* z */) {\n    return charCode - 32;\n  }\n  return charCode;\n}\n\n// src/services/_namespaces/ts.Completions.StringCompletions.ts\nvar ts_Completions_StringCompletions_exports = {};\n__export(ts_Completions_StringCompletions_exports, {\n  getStringLiteralCompletionDetails: () => getStringLiteralCompletionDetails,\n  getStringLiteralCompletions: () => getStringLiteralCompletions\n});\n\n// src/services/stringCompletions.ts\nvar kindPrecedence = {\n  [\"directory\" /* directory */]: 0,\n  [\"script\" /* scriptElement */]: 1,\n  [\"external module name\" /* externalModuleName */]: 2\n};\nfunction createNameAndKindSet() {\n  const map2 = new Map2();\n  function add(value) {\n    const existing = map2.get(value.name);\n    if (!existing || kindPrecedence[existing.kind] < kindPrecedence[value.kind]) {\n      map2.set(value.name, value);\n    }\n  }\n  return {\n    add,\n    has: map2.has.bind(map2),\n    values: map2.values.bind(map2)\n  };\n}\nfunction getStringLiteralCompletions(sourceFile, position, contextToken, options, host, program, log, preferences) {\n  if (isInReferenceComment(sourceFile, position)) {\n    const entries = getTripleSlashReferenceCompletion(sourceFile, position, options, host);\n    return entries && convertPathCompletions(entries);\n  }\n  if (isInString(sourceFile, position, contextToken)) {\n    if (!contextToken || !isStringLiteralLike(contextToken))\n      return void 0;\n    const entries = getStringLiteralCompletionEntries(sourceFile, contextToken, position, program.getTypeChecker(), options, host, preferences);\n    return convertStringLiteralCompletions(entries, contextToken, sourceFile, host, program, log, options, preferences);\n  }\n}\nfunction convertStringLiteralCompletions(completion, contextToken, sourceFile, host, program, log, options, preferences) {\n  if (completion === void 0) {\n    return void 0;\n  }\n  const optionalReplacementSpan = createTextSpanFromStringLiteralLikeContent(contextToken);\n  switch (completion.kind) {\n    case StringLiteralCompletionKind.Paths:\n      return convertPathCompletions(completion.paths);\n    case StringLiteralCompletionKind.Properties: {\n      const entries = createSortedArray();\n      getCompletionEntriesFromSymbols(\n        completion.symbols,\n        entries,\n        contextToken,\n        contextToken,\n        sourceFile,\n        sourceFile,\n        host,\n        program,\n        99 /* ESNext */,\n        log,\n        4 /* String */,\n        preferences,\n        options,\n        void 0\n      );\n      return { isGlobalCompletion: false, isMemberCompletion: true, isNewIdentifierLocation: completion.hasIndexSignature, optionalReplacementSpan, entries };\n    }\n    case StringLiteralCompletionKind.Types: {\n      const entries = completion.types.map((type) => ({\n        name: type.value,\n        kindModifiers: \"\" /* none */,\n        kind: \"string\" /* string */,\n        sortText: SortText.LocationPriority,\n        replacementSpan: getReplacementSpanForContextToken(contextToken)\n      }));\n      return { isGlobalCompletion: false, isMemberCompletion: false, isNewIdentifierLocation: completion.isNewIdentifier, optionalReplacementSpan, entries };\n    }\n    default:\n      return Debug.assertNever(completion);\n  }\n}\nfunction getStringLiteralCompletionDetails(name, sourceFile, position, contextToken, checker, options, host, cancellationToken, preferences) {\n  if (!contextToken || !isStringLiteralLike(contextToken))\n    return void 0;\n  const completions = getStringLiteralCompletionEntries(sourceFile, contextToken, position, checker, options, host, preferences);\n  return completions && stringLiteralCompletionDetails(name, contextToken, completions, sourceFile, checker, cancellationToken);\n}\nfunction stringLiteralCompletionDetails(name, location, completion, sourceFile, checker, cancellationToken) {\n  switch (completion.kind) {\n    case StringLiteralCompletionKind.Paths: {\n      const match = find(completion.paths, (p) => p.name === name);\n      return match && createCompletionDetails(name, kindModifiersFromExtension(match.extension), match.kind, [textPart(name)]);\n    }\n    case StringLiteralCompletionKind.Properties: {\n      const match = find(completion.symbols, (s) => s.name === name);\n      return match && createCompletionDetailsForSymbol(match, checker, sourceFile, location, cancellationToken);\n    }\n    case StringLiteralCompletionKind.Types:\n      return find(completion.types, (t) => t.value === name) ? createCompletionDetails(name, \"\" /* none */, \"type\" /* typeElement */, [textPart(name)]) : void 0;\n    default:\n      return Debug.assertNever(completion);\n  }\n}\nfunction convertPathCompletions(pathCompletions) {\n  const isGlobalCompletion = false;\n  const isNewIdentifierLocation = true;\n  const entries = pathCompletions.map(({ name, kind, span, extension }) => ({ name, kind, kindModifiers: kindModifiersFromExtension(extension), sortText: SortText.LocationPriority, replacementSpan: span }));\n  return { isGlobalCompletion, isMemberCompletion: false, isNewIdentifierLocation, entries };\n}\nfunction kindModifiersFromExtension(extension) {\n  switch (extension) {\n    case \".d.ts\" /* Dts */:\n      return \".d.ts\" /* dtsModifier */;\n    case \".js\" /* Js */:\n      return \".js\" /* jsModifier */;\n    case \".json\" /* Json */:\n      return \".json\" /* jsonModifier */;\n    case \".jsx\" /* Jsx */:\n      return \".jsx\" /* jsxModifier */;\n    case \".ts\" /* Ts */:\n      return \".ts\" /* tsModifier */;\n    case \".tsx\" /* Tsx */:\n      return \".tsx\" /* tsxModifier */;\n    case \".d.mts\" /* Dmts */:\n      return \".d.mts\" /* dmtsModifier */;\n    case \".mjs\" /* Mjs */:\n      return \".mjs\" /* mjsModifier */;\n    case \".mts\" /* Mts */:\n      return \".mts\" /* mtsModifier */;\n    case \".d.cts\" /* Dcts */:\n      return \".d.cts\" /* dctsModifier */;\n    case \".cjs\" /* Cjs */:\n      return \".cjs\" /* cjsModifier */;\n    case \".cts\" /* Cts */:\n      return \".cts\" /* ctsModifier */;\n    case \".tsbuildinfo\" /* TsBuildInfo */:\n      return Debug.fail(`Extension ${\".tsbuildinfo\" /* TsBuildInfo */} is unsupported.`);\n    case void 0:\n      return \"\" /* none */;\n    case \".d.ets\" /* Dets */:\n      return \".d.ets\" /* detsModifier */;\n    case \".ets\" /* Ets */:\n      return \".ets\" /* etsModifier */;\n    default:\n      return Debug.assertNever(extension);\n  }\n}\nvar StringLiteralCompletionKind = /* @__PURE__ */ ((StringLiteralCompletionKind2) => {\n  StringLiteralCompletionKind2[StringLiteralCompletionKind2[\"Paths\"] = 0] = \"Paths\";\n  StringLiteralCompletionKind2[StringLiteralCompletionKind2[\"Properties\"] = 1] = \"Properties\";\n  StringLiteralCompletionKind2[StringLiteralCompletionKind2[\"Types\"] = 2] = \"Types\";\n  return StringLiteralCompletionKind2;\n})(StringLiteralCompletionKind || {});\nfunction getStringLiteralCompletionEntries(sourceFile, node, position, typeChecker3, compilerOptions, host, preferences) {\n  const parent2 = walkUpParentheses(node.parent);\n  switch (parent2.kind) {\n    case 201 /* LiteralType */: {\n      const grandParent = walkUpParentheses(parent2.parent);\n      switch (grandParent.kind) {\n        case 234 /* ExpressionWithTypeArguments */:\n        case 183 /* TypeReference */: {\n          const typeArgument = findAncestor(parent2, (n) => n.parent === grandParent);\n          if (typeArgument) {\n            return { kind: 2 /* Types */, types: getStringLiteralTypes(typeChecker3.getTypeArgumentConstraint(typeArgument)), isNewIdentifier: false };\n          }\n          return void 0;\n        }\n        case 199 /* IndexedAccessType */:\n          const { indexType, objectType } = grandParent;\n          if (!rangeContainsPosition(indexType, position)) {\n            return void 0;\n          }\n          return stringLiteralCompletionsFromProperties(typeChecker3.getTypeFromTypeNode(objectType));\n        case 205 /* ImportType */:\n          return { kind: 0 /* Paths */, paths: getStringLiteralCompletionsFromModuleNames(sourceFile, node, compilerOptions, host, typeChecker3, preferences) };\n        case 192 /* UnionType */: {\n          if (!isTypeReferenceNode(grandParent.parent)) {\n            return void 0;\n          }\n          const alreadyUsedTypes = getAlreadyUsedTypesInStringLiteralUnion(grandParent, parent2);\n          const types = getStringLiteralTypes(typeChecker3.getTypeArgumentConstraint(grandParent)).filter((t) => !contains(alreadyUsedTypes, t.value));\n          return { kind: 2 /* Types */, types, isNewIdentifier: false };\n        }\n        default:\n          return void 0;\n      }\n    }\n    case 305 /* PropertyAssignment */:\n      if (isObjectLiteralExpression(parent2.parent) && parent2.name === node) {\n        return stringLiteralCompletionsForObjectLiteral(typeChecker3, parent2.parent);\n      }\n      return fromContextualType();\n    case 212 /* ElementAccessExpression */: {\n      const { expression, argumentExpression } = parent2;\n      if (node === skipParentheses(argumentExpression)) {\n        return stringLiteralCompletionsFromProperties(typeChecker3.getTypeAtLocation(expression));\n      }\n      return void 0;\n    }\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n    case 294 /* JsxAttribute */:\n      if (!isRequireCallArgument(node) && !isImportCall(parent2)) {\n        const argumentInfo = ts_SignatureHelp_exports.getArgumentInfoForCompletions(parent2.kind === 294 /* JsxAttribute */ ? parent2.parent : node, position, sourceFile);\n        return argumentInfo && getStringLiteralCompletionsFromSignature(argumentInfo.invocation, node, argumentInfo, typeChecker3) || fromContextualType();\n      }\n    case 275 /* ImportDeclaration */:\n    case 281 /* ExportDeclaration */:\n    case 286 /* ExternalModuleReference */:\n      return { kind: 0 /* Paths */, paths: getStringLiteralCompletionsFromModuleNames(sourceFile, node, compilerOptions, host, typeChecker3, preferences) };\n    default:\n      return fromContextualType();\n  }\n  function fromContextualType() {\n    return { kind: 2 /* Types */, types: getStringLiteralTypes(getContextualTypeFromParent(node, typeChecker3)), isNewIdentifier: false };\n  }\n}\nfunction walkUpParentheses(node) {\n  switch (node.kind) {\n    case 196 /* ParenthesizedType */:\n      return walkUpParenthesizedTypes(node);\n    case 217 /* ParenthesizedExpression */:\n      return walkUpParenthesizedExpressions(node);\n    default:\n      return node;\n  }\n}\nfunction getAlreadyUsedTypesInStringLiteralUnion(union, current) {\n  return mapDefined(union.types, (type) => type !== current && isLiteralTypeNode(type) && isStringLiteral(type.literal) ? type.literal.text : void 0);\n}\nfunction getStringLiteralCompletionsFromSignature(call, arg, argumentInfo, checker) {\n  let isNewIdentifier = false;\n  const uniques = new Map2();\n  const candidates = [];\n  const editingArgument = isJsxOpeningLikeElement(call) ? Debug.checkDefined(findAncestor(arg.parent, isJsxAttribute)) : arg;\n  checker.getResolvedSignatureForStringLiteralCompletions(call, editingArgument, candidates);\n  const types = flatMap(candidates, (candidate) => {\n    if (!signatureHasRestParameter(candidate) && argumentInfo.argumentCount > candidate.parameters.length)\n      return;\n    let type = candidate.getTypeParameterAtPosition(argumentInfo.argumentIndex);\n    if (isJsxOpeningLikeElement(call)) {\n      const propType = checker.getTypeOfPropertyOfType(type, editingArgument.name.text);\n      if (propType) {\n        type = propType;\n      }\n    }\n    isNewIdentifier = isNewIdentifier || !!(type.flags & 4 /* String */);\n    return getStringLiteralTypes(type, uniques);\n  });\n  return length(types) ? { kind: 2 /* Types */, types, isNewIdentifier } : void 0;\n}\nfunction stringLiteralCompletionsFromProperties(type) {\n  return type && {\n    kind: 1 /* Properties */,\n    symbols: filter(type.getApparentProperties(), (prop) => !(prop.valueDeclaration && isPrivateIdentifierClassElementDeclaration(prop.valueDeclaration))),\n    hasIndexSignature: hasIndexSignature(type)\n  };\n}\nfunction stringLiteralCompletionsForObjectLiteral(checker, objectLiteralExpression) {\n  const contextualType = checker.getContextualType(objectLiteralExpression);\n  if (!contextualType)\n    return void 0;\n  const completionsType = checker.getContextualType(objectLiteralExpression, 4 /* Completions */);\n  const symbols = getPropertiesForObjectExpression(\n    contextualType,\n    completionsType,\n    objectLiteralExpression,\n    checker\n  );\n  return {\n    kind: 1 /* Properties */,\n    symbols,\n    hasIndexSignature: hasIndexSignature(contextualType)\n  };\n}\nfunction getStringLiteralTypes(type, uniques = new Map2()) {\n  if (!type)\n    return emptyArray;\n  type = skipConstraint(type);\n  return type.isUnion() ? flatMap(type.types, (t) => getStringLiteralTypes(t, uniques)) : type.isStringLiteral() && !(type.flags & 1024 /* EnumLiteral */) && addToSeen(uniques, type.value) ? [type] : emptyArray;\n}\nfunction nameAndKind(name, kind, extension) {\n  return { name, kind, extension };\n}\nfunction directoryResult(name) {\n  return nameAndKind(name, \"directory\" /* directory */, void 0);\n}\nfunction addReplacementSpans(text, textStart, names) {\n  const span = getDirectoryFragmentTextSpan(text, textStart);\n  const wholeSpan = text.length === 0 ? void 0 : createTextSpan(textStart, text.length);\n  return names.map(({ name, kind, extension }) => Math.max(name.indexOf(directorySeparator), name.indexOf(altDirectorySeparator)) !== -1 ? { name, kind, extension, span: wholeSpan } : { name, kind, extension, span });\n}\nfunction getStringLiteralCompletionsFromModuleNames(sourceFile, node, compilerOptions, host, typeChecker3, preferences) {\n  return addReplacementSpans(node.text, node.getStart(sourceFile) + 1, getStringLiteralCompletionsFromModuleNamesWorker(sourceFile, node, compilerOptions, host, typeChecker3, preferences));\n}\nfunction getStringLiteralCompletionsFromModuleNamesWorker(sourceFile, node, compilerOptions, host, typeChecker3, preferences) {\n  const literalValue = normalizeSlashes(node.text);\n  const mode = isStringLiteralLike(node) ? getModeForUsageLocation(sourceFile, node) : void 0;\n  const scriptPath = sourceFile.path;\n  const scriptDirectory = getDirectoryPath(scriptPath);\n  return isPathRelativeToScript(literalValue) || !compilerOptions.baseUrl && (isRootedDiskPath(literalValue) || isUrl(literalValue)) ? getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, compilerOptions, host, scriptPath, getIncludeExtensionOption()) : getCompletionEntriesForNonRelativeModules(literalValue, scriptDirectory, mode, compilerOptions, host, getIncludeExtensionOption(), typeChecker3);\n  function getIncludeExtensionOption() {\n    const mode2 = isStringLiteralLike(node) ? getModeForUsageLocation(sourceFile, node) : void 0;\n    return preferences.importModuleSpecifierEnding === \"js\" || mode2 === 99 /* ESNext */ ? IncludeExtensionsOption.ModuleSpecifierCompletion : IncludeExtensionsOption.Exclude;\n  }\n}\nfunction getExtensionOptions(compilerOptions, includeExtensionsOption = IncludeExtensionsOption.Exclude) {\n  return { extensions: flatten(getSupportedExtensionsForModuleResolution(compilerOptions)), includeExtensionsOption };\n}\nfunction getCompletionEntriesForRelativeModules(literalValue, scriptDirectory, compilerOptions, host, scriptPath, includeExtensions) {\n  const extensionOptions = getExtensionOptions(compilerOptions, includeExtensions);\n  if (compilerOptions.rootDirs) {\n    return getCompletionEntriesForDirectoryFragmentWithRootDirs(\n      compilerOptions.rootDirs,\n      literalValue,\n      scriptDirectory,\n      extensionOptions,\n      compilerOptions,\n      host,\n      scriptPath\n    );\n  } else {\n    return arrayFrom(getCompletionEntriesForDirectoryFragment(literalValue, scriptDirectory, extensionOptions, host, scriptPath).values());\n  }\n}\nfunction isEmitResolutionKindUsingNodeModules(compilerOptions) {\n  return getEmitModuleResolutionKind(compilerOptions) === 2 /* NodeJs */ || getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */;\n}\nfunction isEmitModuleResolutionRespectingExportMaps(compilerOptions) {\n  return getEmitModuleResolutionKind(compilerOptions) === 3 /* Node16 */ || getEmitModuleResolutionKind(compilerOptions) === 99 /* NodeNext */;\n}\nfunction getSupportedExtensionsForModuleResolution(compilerOptions) {\n  const extensions = getSupportedExtensions(compilerOptions);\n  return isEmitResolutionKindUsingNodeModules(compilerOptions) ? getSupportedExtensionsWithJsonIfResolveJsonModule(compilerOptions, extensions) : extensions;\n}\nfunction getBaseDirectoriesFromRootDirs(rootDirs, basePath, scriptDirectory, ignoreCase) {\n  rootDirs = rootDirs.map((rootDirectory) => normalizePath(isRootedDiskPath(rootDirectory) ? rootDirectory : combinePaths(basePath, rootDirectory)));\n  const relativeDirectory = firstDefined(rootDirs, (rootDirectory) => containsPath(rootDirectory, scriptDirectory, basePath, ignoreCase) ? scriptDirectory.substr(rootDirectory.length) : void 0);\n  return deduplicate(\n    [...rootDirs.map((rootDirectory) => combinePaths(rootDirectory, relativeDirectory)), scriptDirectory],\n    equateStringsCaseSensitive,\n    compareStringsCaseSensitive\n  );\n}\nfunction getCompletionEntriesForDirectoryFragmentWithRootDirs(rootDirs, fragment, scriptDirectory, extensionOptions, compilerOptions, host, exclude) {\n  const basePath = compilerOptions.project || host.getCurrentDirectory();\n  const ignoreCase = !(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames());\n  const baseDirectories = getBaseDirectoriesFromRootDirs(rootDirs, basePath, scriptDirectory, ignoreCase);\n  return flatMap(baseDirectories, (baseDirectory) => arrayFrom(getCompletionEntriesForDirectoryFragment(fragment, baseDirectory, extensionOptions, host, exclude).values()));\n}\nvar IncludeExtensionsOption = /* @__PURE__ */ ((IncludeExtensionsOption2) => {\n  IncludeExtensionsOption2[IncludeExtensionsOption2[\"Exclude\"] = 0] = \"Exclude\";\n  IncludeExtensionsOption2[IncludeExtensionsOption2[\"Include\"] = 1] = \"Include\";\n  IncludeExtensionsOption2[IncludeExtensionsOption2[\"ModuleSpecifierCompletion\"] = 2] = \"ModuleSpecifierCompletion\";\n  return IncludeExtensionsOption2;\n})(IncludeExtensionsOption || {});\nfunction getCompletionEntriesForDirectoryFragment(fragment, scriptPath, extensionOptions, host, exclude, result = createNameAndKindSet()) {\n  var _a2;\n  if (fragment === void 0) {\n    fragment = \"\";\n  }\n  fragment = normalizeSlashes(fragment);\n  if (!hasTrailingDirectorySeparator(fragment)) {\n    fragment = getDirectoryPath(fragment);\n  }\n  if (fragment === \"\") {\n    fragment = \".\" + directorySeparator;\n  }\n  fragment = ensureTrailingDirectorySeparator(fragment);\n  const absolutePath = resolvePath(scriptPath, fragment);\n  const baseDirectory = hasTrailingDirectorySeparator(absolutePath) ? absolutePath : getDirectoryPath(absolutePath);\n  const packageJsonPath = findPackageJson(baseDirectory, host);\n  if (packageJsonPath) {\n    const packageJson = readJson(packageJsonPath, host);\n    const typesVersions = packageJson.typesVersions;\n    if (typeof typesVersions === \"object\") {\n      const versionPaths = (_a2 = getPackageJsonTypesVersionsPaths(typesVersions)) == null ? void 0 : _a2.paths;\n      if (versionPaths) {\n        const packageDirectory = getDirectoryPath(packageJsonPath);\n        const pathInPackage = absolutePath.slice(ensureTrailingDirectorySeparator(packageDirectory).length);\n        if (addCompletionEntriesFromPaths(result, pathInPackage, packageDirectory, extensionOptions, host, versionPaths)) {\n          return result;\n        }\n      }\n    }\n  }\n  const ignoreCase = !(host.useCaseSensitiveFileNames && host.useCaseSensitiveFileNames());\n  if (!tryDirectoryExists(host, baseDirectory))\n    return result;\n  const files = tryReadDirectory(host, baseDirectory, extensionOptions.extensions, void 0, [\"./*\"]);\n  if (files) {\n    for (let filePath of files) {\n      filePath = normalizePath(filePath);\n      if (exclude && comparePaths(filePath, exclude, scriptPath, ignoreCase) === 0 /* EqualTo */) {\n        continue;\n      }\n      const { name, extension } = getFilenameWithExtensionOption(getBaseFileName(filePath), host.getCompilationSettings(), extensionOptions.includeExtensionsOption);\n      result.add(nameAndKind(name, \"script\" /* scriptElement */, extension));\n    }\n  }\n  const directories = tryGetDirectories(host, baseDirectory);\n  if (directories) {\n    for (const directory of directories) {\n      const directoryName = getBaseFileName(normalizePath(directory));\n      if (directoryName !== \"@types\") {\n        result.add(directoryResult(directoryName));\n      }\n    }\n  }\n  return result;\n}\nfunction getFilenameWithExtensionOption(name, compilerOptions, includeExtensionsOption) {\n  const outputExtension = ts_moduleSpecifiers_exports.tryGetJSExtensionForFile(name, compilerOptions);\n  if (includeExtensionsOption === 0 /* Exclude */ && !fileExtensionIsOneOf(name, [\".json\" /* Json */, \".mts\" /* Mts */, \".cts\" /* Cts */, \".d.mts\" /* Dmts */, \".d.cts\" /* Dcts */, \".mjs\" /* Mjs */, \".cjs\" /* Cjs */])) {\n    return { name: removeFileExtension(name), extension: tryGetExtensionFromPath2(name) };\n  } else if ((fileExtensionIsOneOf(name, [\".mts\" /* Mts */, \".cts\" /* Cts */, \".d.mts\" /* Dmts */, \".d.cts\" /* Dcts */, \".mjs\" /* Mjs */, \".cjs\" /* Cjs */]) || includeExtensionsOption === 2 /* ModuleSpecifierCompletion */) && outputExtension) {\n    return { name: changeExtension(name, outputExtension), extension: outputExtension };\n  } else {\n    return { name, extension: tryGetExtensionFromPath2(name) };\n  }\n}\nfunction addCompletionEntriesFromPaths(result, fragment, baseDirectory, extensionOptions, host, paths) {\n  const getPatternsForKey = (key) => paths[key];\n  const comparePaths2 = (a, b) => {\n    const patternA = tryParsePattern(a);\n    const patternB = tryParsePattern(b);\n    const lengthA = typeof patternA === \"object\" ? patternA.prefix.length : a.length;\n    const lengthB = typeof patternB === \"object\" ? patternB.prefix.length : b.length;\n    return compareValues(lengthB, lengthA);\n  };\n  return addCompletionEntriesFromPathsOrExports(result, fragment, baseDirectory, extensionOptions, host, getOwnKeys(paths), getPatternsForKey, comparePaths2);\n}\nfunction addCompletionEntriesFromPathsOrExports(result, fragment, baseDirectory, extensionOptions, host, keys, getPatternsForKey, comparePaths2) {\n  let pathResults = [];\n  let matchedPath;\n  for (const key of keys) {\n    if (key === \".\")\n      continue;\n    const keyWithoutLeadingDotSlash = key.replace(/^\\.\\//, \"\");\n    const patterns = getPatternsForKey(key);\n    if (patterns) {\n      const pathPattern = tryParsePattern(keyWithoutLeadingDotSlash);\n      if (!pathPattern)\n        continue;\n      const isMatch = typeof pathPattern === \"object\" && isPatternMatch(pathPattern, fragment);\n      const isLongestMatch = isMatch && (matchedPath === void 0 || comparePaths2(key, matchedPath) === -1 /* LessThan */);\n      if (isLongestMatch) {\n        matchedPath = key;\n        pathResults = pathResults.filter((r) => !r.matchedPattern);\n      }\n      if (typeof pathPattern === \"string\" || matchedPath === void 0 || comparePaths2(key, matchedPath) !== 1 /* GreaterThan */) {\n        pathResults.push({\n          matchedPattern: isMatch,\n          results: getCompletionsForPathMapping(keyWithoutLeadingDotSlash, patterns, fragment, baseDirectory, extensionOptions, host).map(({ name, kind, extension }) => nameAndKind(name, kind, extension))\n        });\n      }\n    }\n  }\n  pathResults.forEach((pathResult) => pathResult.results.forEach((r) => result.add(r)));\n  return matchedPath !== void 0;\n}\nfunction getCompletionEntriesForNonRelativeModules(fragment, scriptPath, mode, compilerOptions, host, includeExtensionsOption, typeChecker3) {\n  const { baseUrl, paths } = compilerOptions;\n  const result = createNameAndKindSet();\n  const extensionOptions = getExtensionOptions(compilerOptions, includeExtensionsOption);\n  if (baseUrl) {\n    const projectDir = compilerOptions.project || host.getCurrentDirectory();\n    const absolute = normalizePath(combinePaths(projectDir, baseUrl));\n    getCompletionEntriesForDirectoryFragment(fragment, absolute, extensionOptions, host, void 0, result);\n    if (paths) {\n      addCompletionEntriesFromPaths(result, fragment, absolute, extensionOptions, host, paths);\n    }\n  }\n  const fragmentDirectory = getFragmentDirectory(fragment);\n  for (const ambientName of getAmbientModuleCompletions(fragment, fragmentDirectory, typeChecker3)) {\n    result.add(nameAndKind(ambientName, \"external module name\" /* externalModuleName */, void 0));\n  }\n  getCompletionEntriesFromTypings(host, compilerOptions, scriptPath, fragmentDirectory, extensionOptions, result);\n  if (isEmitResolutionKindUsingNodeModules(compilerOptions)) {\n    let foundGlobal = false;\n    if (fragmentDirectory === void 0) {\n      for (const moduleName of enumerateNodeModulesVisibleToScript(host, scriptPath)) {\n        const moduleResult = nameAndKind(moduleName, \"external module name\" /* externalModuleName */, void 0);\n        if (!result.has(moduleResult.name)) {\n          foundGlobal = true;\n          result.add(moduleResult);\n        }\n      }\n    }\n    if (!foundGlobal) {\n      let ancestorLookup = (ancestor) => {\n        const nodeModules = combinePaths(ancestor, getModuleByPMType(host.getCompilationSettings().packageManagerType));\n        if (tryDirectoryExists(host, nodeModules)) {\n          getCompletionEntriesForDirectoryFragment(fragment, nodeModules, extensionOptions, host, void 0, result);\n        }\n      };\n      if (fragmentDirectory && isEmitModuleResolutionRespectingExportMaps(compilerOptions)) {\n        const nodeModulesDirectoryLookup = ancestorLookup;\n        ancestorLookup = (ancestor) => {\n          const components = getPathComponents(fragment);\n          components.shift();\n          let packagePath = components.shift();\n          if (!packagePath) {\n            return nodeModulesDirectoryLookup(ancestor);\n          }\n          if (startsWith(packagePath, \"@\")) {\n            const subName = components.shift();\n            if (!subName) {\n              return nodeModulesDirectoryLookup(ancestor);\n            }\n            packagePath = combinePaths(packagePath, subName);\n          }\n          const packageDirectory = combinePaths(ancestor, \"node_modules\", packagePath);\n          const packageFile = combinePaths(packageDirectory, \"package.json\");\n          if (tryFileExists(host, packageFile)) {\n            const packageJson = readJson(packageFile, host);\n            const exports = packageJson.exports;\n            if (exports) {\n              if (typeof exports !== \"object\" || exports === null) {\n                return;\n              }\n              const keys = getOwnKeys(exports);\n              const fragmentSubpath = components.join(\"/\") + (components.length && hasTrailingDirectorySeparator(fragment) ? \"/\" : \"\");\n              const conditions = mode === 99 /* ESNext */ ? [\"node\", \"import\", \"types\"] : [\"node\", \"require\", \"types\"];\n              addCompletionEntriesFromPathsOrExports(\n                result,\n                fragmentSubpath,\n                packageDirectory,\n                extensionOptions,\n                host,\n                keys,\n                (key) => singleElementArray(getPatternFromFirstMatchingCondition(exports[key], conditions)),\n                comparePatternKeys\n              );\n              return;\n            }\n          }\n          return nodeModulesDirectoryLookup(ancestor);\n        };\n      }\n      forEachAncestorDirectory(scriptPath, ancestorLookup);\n    }\n  }\n  return arrayFrom(result.values());\n}\nfunction getPatternFromFirstMatchingCondition(target, conditions) {\n  if (typeof target === \"string\") {\n    return target;\n  }\n  if (target && typeof target === \"object\" && !isArray(target)) {\n    for (const condition in target) {\n      if (condition === \"default\" || conditions.indexOf(condition) > -1 || isApplicableVersionedTypesKey(conditions, condition)) {\n        const pattern = target[condition];\n        return getPatternFromFirstMatchingCondition(pattern, conditions);\n      }\n    }\n  }\n}\nfunction getFragmentDirectory(fragment) {\n  return containsSlash(fragment) ? hasTrailingDirectorySeparator(fragment) ? fragment : getDirectoryPath(fragment) : void 0;\n}\nfunction getCompletionsForPathMapping(path, patterns, fragment, packageDirectory, extensionOptions, host) {\n  if (!endsWith(path, \"*\")) {\n    return !stringContains(path, \"*\") ? justPathMappingName(path, \"script\" /* scriptElement */) : emptyArray;\n  }\n  const pathPrefix = path.slice(0, path.length - 1);\n  const remainingFragment = tryRemovePrefix(fragment, pathPrefix);\n  if (remainingFragment === void 0) {\n    const starIsFullPathComponent = path[path.length - 2] === \"/\";\n    return starIsFullPathComponent ? justPathMappingName(pathPrefix, \"directory\" /* directory */) : flatMap(patterns, (pattern) => {\n      var _a2;\n      return (_a2 = getModulesForPathsPattern(\"\", packageDirectory, pattern, extensionOptions, host)) == null ? void 0 : _a2.map(({ name, ...rest }) => ({ name: pathPrefix + name, ...rest }));\n    });\n  }\n  return flatMap(patterns, (pattern) => getModulesForPathsPattern(remainingFragment, packageDirectory, pattern, extensionOptions, host));\n  function justPathMappingName(name, kind) {\n    return startsWith(name, fragment) ? [{ name: removeTrailingDirectorySeparator(name), kind, extension: void 0 }] : emptyArray;\n  }\n}\nfunction getModulesForPathsPattern(fragment, packageDirectory, pattern, extensionOptions, host) {\n  if (!host.readDirectory) {\n    return void 0;\n  }\n  const parsed = tryParsePattern(pattern);\n  if (parsed === void 0 || isString(parsed)) {\n    return void 0;\n  }\n  const normalizedPrefix = resolvePath(parsed.prefix);\n  const normalizedPrefixDirectory = hasTrailingDirectorySeparator(parsed.prefix) ? normalizedPrefix : getDirectoryPath(normalizedPrefix);\n  const normalizedPrefixBase = hasTrailingDirectorySeparator(parsed.prefix) ? \"\" : getBaseFileName(normalizedPrefix);\n  const fragmentHasPath = containsSlash(fragment);\n  const fragmentDirectory = fragmentHasPath ? hasTrailingDirectorySeparator(fragment) ? fragment : getDirectoryPath(fragment) : void 0;\n  const expandedPrefixDirectory = fragmentHasPath ? combinePaths(normalizedPrefixDirectory, normalizedPrefixBase + fragmentDirectory) : normalizedPrefixDirectory;\n  const normalizedSuffix = normalizePath(parsed.suffix);\n  const baseDirectory = normalizePath(combinePaths(packageDirectory, expandedPrefixDirectory));\n  const completePrefix = fragmentHasPath ? baseDirectory : ensureTrailingDirectorySeparator(baseDirectory) + normalizedPrefixBase;\n  const includeGlob = normalizedSuffix ? \"**/*\" + normalizedSuffix : \"./*\";\n  const matches = mapDefined(tryReadDirectory(host, baseDirectory, extensionOptions.extensions, void 0, [includeGlob]), (match) => {\n    const trimmedWithPattern = trimPrefixAndSuffix(match);\n    if (trimmedWithPattern) {\n      if (containsSlash(trimmedWithPattern)) {\n        return directoryResult(getPathComponents(removeLeadingDirectorySeparator(trimmedWithPattern))[1]);\n      }\n      const { name, extension } = getFilenameWithExtensionOption(trimmedWithPattern, host.getCompilationSettings(), extensionOptions.includeExtensionsOption);\n      return nameAndKind(name, \"script\" /* scriptElement */, extension);\n    }\n  });\n  const directories = normalizedSuffix ? emptyArray : mapDefined(tryGetDirectories(host, baseDirectory), (dir) => dir === \"node_modules\" ? void 0 : directoryResult(dir));\n  return [...matches, ...directories];\n  function trimPrefixAndSuffix(path) {\n    const inner = withoutStartAndEnd(normalizePath(path), completePrefix, normalizedSuffix);\n    return inner === void 0 ? void 0 : removeLeadingDirectorySeparator(inner);\n  }\n}\nfunction withoutStartAndEnd(s, start, end) {\n  return startsWith(s, start) && endsWith(s, end) ? s.slice(start.length, s.length - end.length) : void 0;\n}\nfunction removeLeadingDirectorySeparator(path) {\n  return path[0] === directorySeparator ? path.slice(1) : path;\n}\nfunction getAmbientModuleCompletions(fragment, fragmentDirectory, checker) {\n  const ambientModules = checker.getAmbientModules().map((sym) => stripQuotes(sym.name));\n  const nonRelativeModuleNames = ambientModules.filter((moduleName) => startsWith(moduleName, fragment));\n  if (fragmentDirectory !== void 0) {\n    const moduleNameWithSeparator = ensureTrailingDirectorySeparator(fragmentDirectory);\n    return nonRelativeModuleNames.map((nonRelativeModuleName) => removePrefix(nonRelativeModuleName, moduleNameWithSeparator));\n  }\n  return nonRelativeModuleNames;\n}\nfunction getTripleSlashReferenceCompletion(sourceFile, position, compilerOptions, host) {\n  const token = getTokenAtPosition(sourceFile, position);\n  const commentRanges = getLeadingCommentRanges(sourceFile.text, token.pos);\n  const range = commentRanges && find(commentRanges, (commentRange) => position >= commentRange.pos && position <= commentRange.end);\n  if (!range) {\n    return void 0;\n  }\n  const text = sourceFile.text.slice(range.pos, position);\n  const match = tripleSlashDirectiveFragmentRegex.exec(text);\n  if (!match) {\n    return void 0;\n  }\n  const [, prefix, kind, toComplete] = match;\n  const scriptPath = getDirectoryPath(sourceFile.path);\n  const names = kind === \"path\" ? getCompletionEntriesForDirectoryFragment(toComplete, scriptPath, getExtensionOptions(compilerOptions, 1 /* Include */), host, sourceFile.path) : kind === \"types\" ? getCompletionEntriesFromTypings(host, compilerOptions, scriptPath, getFragmentDirectory(toComplete), getExtensionOptions(compilerOptions)) : Debug.fail();\n  return addReplacementSpans(toComplete, range.pos + prefix.length, arrayFrom(names.values()));\n}\nfunction getCompletionEntriesFromTypings(host, options, scriptPath, fragmentDirectory, extensionOptions, result = createNameAndKindSet()) {\n  const seen = new Map2();\n  const typeRoots = tryAndIgnoreErrors(() => getEffectiveTypeRoots(options, host)) || emptyArray;\n  for (const root of typeRoots) {\n    getCompletionEntriesFromDirectories(root);\n  }\n  for (const packageJson of findPackageJsons(scriptPath, host)) {\n    const typesDir = combinePaths(getDirectoryPath(packageJson), isOhpm(options.packageManagerType) ? \"oh_modules/@types\" : \"node_modules/@types\");\n    getCompletionEntriesFromDirectories(typesDir);\n  }\n  return result;\n  function getCompletionEntriesFromDirectories(directory) {\n    if (!tryDirectoryExists(host, directory))\n      return;\n    for (const typeDirectoryName of tryGetDirectories(host, directory)) {\n      const packageName = unmangleScopedPackageName(typeDirectoryName);\n      if (options.types && !contains(options.types, packageName))\n        continue;\n      if (fragmentDirectory === void 0) {\n        if (!seen.has(packageName)) {\n          result.add(nameAndKind(packageName, \"external module name\" /* externalModuleName */, void 0));\n          seen.set(packageName, true);\n        }\n      } else {\n        const baseDirectory = combinePaths(directory, typeDirectoryName);\n        const remainingFragment = tryRemoveDirectoryPrefix(fragmentDirectory, packageName, hostGetCanonicalFileName(host));\n        if (remainingFragment !== void 0) {\n          getCompletionEntriesForDirectoryFragment(remainingFragment, baseDirectory, extensionOptions, host, void 0, result);\n        }\n      }\n    }\n  }\n}\nfunction enumerateNodeModulesVisibleToScript(host, scriptPath) {\n  if (!host.readFile || !host.fileExists)\n    return emptyArray;\n  const result = [];\n  for (const packageJson of findPackageJsons(scriptPath, host)) {\n    const contents = readJson(packageJson, host);\n    for (const key of nodeModulesDependencyKeys) {\n      const dependencies = contents[key];\n      if (!dependencies)\n        continue;\n      for (const dep in dependencies) {\n        if (hasProperty(dependencies, dep) && !startsWith(dep, \"@types/\")) {\n          result.push(dep);\n        }\n      }\n    }\n  }\n  return result;\n}\nfunction getDirectoryFragmentTextSpan(text, textStart) {\n  const index = Math.max(text.lastIndexOf(directorySeparator), text.lastIndexOf(altDirectorySeparator));\n  const offset = index !== -1 ? index + 1 : 0;\n  const length2 = text.length - offset;\n  return length2 === 0 || isIdentifierText(text.substr(offset, length2), 99 /* ESNext */) ? void 0 : createTextSpan(textStart + offset, length2);\n}\nfunction isPathRelativeToScript(path) {\n  if (path && path.length >= 2 && path.charCodeAt(0) === 46 /* dot */) {\n    const slashIndex = path.length >= 3 && path.charCodeAt(1) === 46 /* dot */ ? 2 : 1;\n    const slashCharCode = path.charCodeAt(slashIndex);\n    return slashCharCode === 47 /* slash */ || slashCharCode === 92 /* backslash */;\n  }\n  return false;\n}\nvar tripleSlashDirectiveFragmentRegex = /^(\\/\\/\\/\\s*<reference\\s+(path|types)\\s*=\\s*(?:'|\"))([^\\3\"]*)$/;\nvar nodeModulesDependencyKeys = [\"dependencies\", \"devDependencies\", \"peerDependencies\", \"optionalDependencies\"];\nfunction containsSlash(fragment) {\n  return stringContains(fragment, directorySeparator);\n}\nfunction isRequireCallArgument(node) {\n  return isCallExpression(node.parent) && firstOrUndefined(node.parent.arguments) === node && isIdentifier(node.parent.expression) && node.parent.expression.escapedText === \"require\";\n}\n\n// src/services/_namespaces/ts.FindAllReferences.ts\nvar ts_FindAllReferences_exports = {};\n__export(ts_FindAllReferences_exports, {\n  Core: () => Core,\n  DefinitionKind: () => DefinitionKind,\n  EntryKind: () => EntryKind,\n  ExportKind: () => ExportKind2,\n  FindReferencesUse: () => FindReferencesUse,\n  ImportExport: () => ImportExport,\n  createImportTracker: () => createImportTracker,\n  findModuleReferences: () => findModuleReferences,\n  findReferenceOrRenameEntries: () => findReferenceOrRenameEntries,\n  findReferencedSymbols: () => findReferencedSymbols,\n  getContextNode: () => getContextNode,\n  getExportInfo: () => getExportInfo,\n  getImplementationsAtPosition: () => getImplementationsAtPosition,\n  getImportOrExportSymbol: () => getImportOrExportSymbol,\n  getReferenceEntriesForNode: () => getReferenceEntriesForNode,\n  getTextSpanOfEntry: () => getTextSpanOfEntry,\n  isContextWithStartAndEndNode: () => isContextWithStartAndEndNode,\n  isDeclarationOfSymbol: () => isDeclarationOfSymbol,\n  nodeEntry: () => nodeEntry,\n  toContextSpan: () => toContextSpan,\n  toHighlightSpan: () => toHighlightSpan,\n  toReferenceEntry: () => toReferenceEntry,\n  toRenameLocation: () => toRenameLocation\n});\n\n// src/services/importTracker.ts\nfunction createImportTracker(sourceFiles, sourceFilesSet, checker, cancellationToken) {\n  const allDirectImports = getDirectImportsMap(sourceFiles, checker, cancellationToken);\n  return (exportSymbol, exportInfo, isForRename) => {\n    const { directImports, indirectUsers } = getImportersForExport(sourceFiles, sourceFilesSet, allDirectImports, exportInfo, checker, cancellationToken);\n    return { indirectUsers, ...getSearchesFromDirectImports(directImports, exportSymbol, exportInfo.exportKind, checker, isForRename) };\n  };\n}\nvar ExportKind2 = /* @__PURE__ */ ((ExportKind3) => {\n  ExportKind3[ExportKind3[\"Named\"] = 0] = \"Named\";\n  ExportKind3[ExportKind3[\"Default\"] = 1] = \"Default\";\n  ExportKind3[ExportKind3[\"ExportEquals\"] = 2] = \"ExportEquals\";\n  return ExportKind3;\n})(ExportKind2 || {});\nvar ImportExport = /* @__PURE__ */ ((ImportExport2) => {\n  ImportExport2[ImportExport2[\"Import\"] = 0] = \"Import\";\n  ImportExport2[ImportExport2[\"Export\"] = 1] = \"Export\";\n  return ImportExport2;\n})(ImportExport || {});\nfunction getImportersForExport(sourceFiles, sourceFilesSet, allDirectImports, { exportingModuleSymbol, exportKind }, checker, cancellationToken) {\n  const markSeenDirectImport = nodeSeenTracker();\n  const markSeenIndirectUser = nodeSeenTracker();\n  const directImports = [];\n  const isAvailableThroughGlobal = !!exportingModuleSymbol.globalExports;\n  const indirectUserDeclarations = isAvailableThroughGlobal ? void 0 : [];\n  handleDirectImports(exportingModuleSymbol);\n  return { directImports, indirectUsers: getIndirectUsers() };\n  function getIndirectUsers() {\n    if (isAvailableThroughGlobal) {\n      return sourceFiles;\n    }\n    if (exportingModuleSymbol.declarations) {\n      for (const decl of exportingModuleSymbol.declarations) {\n        if (isExternalModuleAugmentation(decl) && sourceFilesSet.has(decl.getSourceFile().fileName)) {\n          addIndirectUser(decl);\n        }\n      }\n    }\n    return indirectUserDeclarations.map(getSourceFileOfNode);\n  }\n  function handleDirectImports(exportingModuleSymbol2) {\n    const theseDirectImports = getDirectImports(exportingModuleSymbol2);\n    if (theseDirectImports) {\n      for (const direct of theseDirectImports) {\n        if (!markSeenDirectImport(direct)) {\n          continue;\n        }\n        if (cancellationToken)\n          cancellationToken.throwIfCancellationRequested();\n        switch (direct.kind) {\n          case 213 /* CallExpression */:\n            if (isImportCall(direct)) {\n              handleImportCall(direct);\n              break;\n            }\n            if (!isAvailableThroughGlobal) {\n              const parent2 = direct.parent;\n              if (exportKind === 2 /* ExportEquals */ && parent2.kind === 261 /* VariableDeclaration */) {\n                const { name } = parent2;\n                if (name.kind === 79 /* Identifier */) {\n                  directImports.push(name);\n                  break;\n                }\n              }\n            }\n            break;\n          case 79 /* Identifier */:\n            break;\n          case 274 /* ImportEqualsDeclaration */:\n            handleNamespaceImport(direct, direct.name, hasSyntacticModifier(direct, 1 /* Export */), false);\n            break;\n          case 275 /* ImportDeclaration */:\n            directImports.push(direct);\n            const namedBindings = direct.importClause && direct.importClause.namedBindings;\n            if (namedBindings && namedBindings.kind === 277 /* NamespaceImport */) {\n              handleNamespaceImport(direct, namedBindings.name, false, true);\n            } else if (!isAvailableThroughGlobal && isDefaultImport(direct)) {\n              addIndirectUser(getSourceFileLikeForImportDeclaration(direct));\n            }\n            break;\n          case 281 /* ExportDeclaration */:\n            if (!direct.exportClause) {\n              handleDirectImports(getContainingModuleSymbol(direct, checker));\n            } else if (direct.exportClause.kind === 283 /* NamespaceExport */) {\n              addIndirectUser(getSourceFileLikeForImportDeclaration(direct), true);\n            } else {\n              directImports.push(direct);\n            }\n            break;\n          case 205 /* ImportType */:\n            if (!isAvailableThroughGlobal && direct.isTypeOf && !direct.qualifier && isExported2(direct)) {\n              addIndirectUser(direct.getSourceFile(), true);\n            }\n            directImports.push(direct);\n            break;\n          default:\n            Debug.failBadSyntaxKind(direct, \"Unexpected import kind.\");\n        }\n      }\n    }\n  }\n  function handleImportCall(importCall) {\n    const top = findAncestor(importCall, isAmbientModuleDeclaration) || importCall.getSourceFile();\n    addIndirectUser(top, !!isExported2(importCall, true));\n  }\n  function isExported2(node, stopAtAmbientModule = false) {\n    return findAncestor(node, (node2) => {\n      if (stopAtAmbientModule && isAmbientModuleDeclaration(node2))\n        return \"quit\";\n      return canHaveModifiers(node2) && some(node2.modifiers, isExportModifier);\n    });\n  }\n  function handleNamespaceImport(importDeclaration, name, isReExport, alreadyAddedDirect) {\n    if (exportKind === 2 /* ExportEquals */) {\n      if (!alreadyAddedDirect)\n        directImports.push(importDeclaration);\n    } else if (!isAvailableThroughGlobal) {\n      const sourceFileLike = getSourceFileLikeForImportDeclaration(importDeclaration);\n      Debug.assert(sourceFileLike.kind === 314 /* SourceFile */ || sourceFileLike.kind === 270 /* ModuleDeclaration */);\n      if (isReExport || findNamespaceReExports(sourceFileLike, name, checker)) {\n        addIndirectUser(sourceFileLike, true);\n      } else {\n        addIndirectUser(sourceFileLike);\n      }\n    }\n  }\n  function addIndirectUser(sourceFileLike, addTransitiveDependencies = false) {\n    Debug.assert(!isAvailableThroughGlobal);\n    const isNew = markSeenIndirectUser(sourceFileLike);\n    if (!isNew)\n      return;\n    indirectUserDeclarations.push(sourceFileLike);\n    if (!addTransitiveDependencies)\n      return;\n    const moduleSymbol = checker.getMergedSymbol(sourceFileLike.symbol);\n    if (!moduleSymbol)\n      return;\n    Debug.assert(!!(moduleSymbol.flags & 1536 /* Module */));\n    const directImports2 = getDirectImports(moduleSymbol);\n    if (directImports2) {\n      for (const directImport of directImports2) {\n        if (!isImportTypeNode(directImport)) {\n          addIndirectUser(getSourceFileLikeForImportDeclaration(directImport), true);\n        }\n      }\n    }\n  }\n  function getDirectImports(moduleSymbol) {\n    return allDirectImports.get(getSymbolId(moduleSymbol).toString());\n  }\n}\nfunction getSearchesFromDirectImports(directImports, exportSymbol, exportKind, checker, isForRename) {\n  const importSearches = [];\n  const singleReferences = [];\n  function addSearch(location, symbol) {\n    importSearches.push([location, symbol]);\n  }\n  if (directImports) {\n    for (const decl of directImports) {\n      handleImport(decl);\n    }\n  }\n  return { importSearches, singleReferences };\n  function handleImport(decl) {\n    if (decl.kind === 274 /* ImportEqualsDeclaration */) {\n      if (isExternalModuleImportEquals(decl)) {\n        handleNamespaceImportLike(decl.name);\n      }\n      return;\n    }\n    if (decl.kind === 79 /* Identifier */) {\n      handleNamespaceImportLike(decl);\n      return;\n    }\n    if (decl.kind === 205 /* ImportType */) {\n      if (decl.qualifier) {\n        const firstIdentifier = getFirstIdentifier(decl.qualifier);\n        if (firstIdentifier.escapedText === symbolName(exportSymbol)) {\n          singleReferences.push(firstIdentifier);\n        }\n      } else if (exportKind === 2 /* ExportEquals */) {\n        singleReferences.push(decl.argument.literal);\n      }\n      return;\n    }\n    if (decl.moduleSpecifier.kind !== 10 /* StringLiteral */) {\n      return;\n    }\n    if (decl.kind === 281 /* ExportDeclaration */) {\n      if (decl.exportClause && isNamedExports(decl.exportClause)) {\n        searchForNamedImport(decl.exportClause);\n      }\n      return;\n    }\n    const { name, namedBindings } = decl.importClause || { name: void 0, namedBindings: void 0 };\n    if (namedBindings) {\n      switch (namedBindings.kind) {\n        case 277 /* NamespaceImport */:\n          handleNamespaceImportLike(namedBindings.name);\n          break;\n        case 278 /* NamedImports */:\n          if (exportKind === 0 /* Named */ || exportKind === 1 /* Default */) {\n            searchForNamedImport(namedBindings);\n          }\n          break;\n        default:\n          Debug.assertNever(namedBindings);\n      }\n    }\n    if (name && (exportKind === 1 /* Default */ || exportKind === 2 /* ExportEquals */) && (!isForRename || name.escapedText === symbolEscapedNameNoDefault(exportSymbol))) {\n      const defaultImportAlias = checker.getSymbolAtLocation(name);\n      addSearch(name, defaultImportAlias);\n    }\n  }\n  function handleNamespaceImportLike(importName) {\n    if (exportKind === 2 /* ExportEquals */ && (!isForRename || isNameMatch(importName.escapedText))) {\n      addSearch(importName, checker.getSymbolAtLocation(importName));\n    }\n  }\n  function searchForNamedImport(namedBindings) {\n    if (!namedBindings) {\n      return;\n    }\n    for (const element of namedBindings.elements) {\n      const { name, propertyName } = element;\n      if (!isNameMatch((propertyName || name).escapedText)) {\n        continue;\n      }\n      if (propertyName) {\n        singleReferences.push(propertyName);\n        if (!isForRename || name.escapedText === exportSymbol.escapedName) {\n          addSearch(name, checker.getSymbolAtLocation(name));\n        }\n      } else {\n        const localSymbol = element.kind === 284 /* ExportSpecifier */ && element.propertyName ? checker.getExportSpecifierLocalTargetSymbol(element) : checker.getSymbolAtLocation(name);\n        addSearch(name, localSymbol);\n      }\n    }\n  }\n  function isNameMatch(name) {\n    return name === exportSymbol.escapedName || exportKind !== 0 /* Named */ && name === \"default\" /* Default */;\n  }\n}\nfunction findNamespaceReExports(sourceFileLike, name, checker) {\n  const namespaceImportSymbol = checker.getSymbolAtLocation(name);\n  return !!forEachPossibleImportOrExportStatement(sourceFileLike, (statement) => {\n    if (!isExportDeclaration(statement))\n      return;\n    const { exportClause, moduleSpecifier } = statement;\n    return !moduleSpecifier && exportClause && isNamedExports(exportClause) && exportClause.elements.some((element) => checker.getExportSpecifierLocalTargetSymbol(element) === namespaceImportSymbol);\n  });\n}\nfunction findModuleReferences(program, sourceFiles, searchModuleSymbol) {\n  const refs = [];\n  const checker = program.getTypeChecker();\n  for (const referencingFile of sourceFiles) {\n    const searchSourceFile = searchModuleSymbol.valueDeclaration;\n    if ((searchSourceFile == null ? void 0 : searchSourceFile.kind) === 314 /* SourceFile */) {\n      for (const ref of referencingFile.referencedFiles) {\n        if (program.getSourceFileFromReference(referencingFile, ref) === searchSourceFile) {\n          refs.push({ kind: \"reference\", referencingFile, ref });\n        }\n      }\n      for (const ref of referencingFile.typeReferenceDirectives) {\n        const referenced = program.getResolvedTypeReferenceDirectives().get(ref.fileName, ref.resolutionMode || referencingFile.impliedNodeFormat);\n        if (referenced !== void 0 && referenced.resolvedFileName === searchSourceFile.fileName) {\n          refs.push({ kind: \"reference\", referencingFile, ref });\n        }\n      }\n    }\n    forEachImport(referencingFile, (_importDecl, moduleSpecifier) => {\n      const moduleSymbol = checker.getSymbolAtLocation(moduleSpecifier);\n      if (moduleSymbol === searchModuleSymbol) {\n        refs.push({ kind: \"import\", literal: moduleSpecifier });\n      }\n    });\n  }\n  return refs;\n}\nfunction getDirectImportsMap(sourceFiles, checker, cancellationToken) {\n  const map2 = new Map2();\n  for (const sourceFile of sourceFiles) {\n    if (cancellationToken)\n      cancellationToken.throwIfCancellationRequested();\n    forEachImport(sourceFile, (importDecl, moduleSpecifier) => {\n      const moduleSymbol = checker.getSymbolAtLocation(moduleSpecifier);\n      if (moduleSymbol) {\n        const id = getSymbolId(moduleSymbol).toString();\n        let imports = map2.get(id);\n        if (!imports) {\n          map2.set(id, imports = []);\n        }\n        imports.push(importDecl);\n      }\n    });\n  }\n  return map2;\n}\nfunction forEachPossibleImportOrExportStatement(sourceFileLike, action) {\n  return forEach(sourceFileLike.kind === 314 /* SourceFile */ ? sourceFileLike.statements : sourceFileLike.body.statements, (statement) => action(statement) || isAmbientModuleDeclaration(statement) && forEach(statement.body && statement.body.statements, action));\n}\nfunction forEachImport(sourceFile, action) {\n  if (sourceFile.externalModuleIndicator || sourceFile.imports !== void 0) {\n    for (const i of sourceFile.imports) {\n      action(importFromModuleSpecifier(i), i);\n    }\n  } else {\n    forEachPossibleImportOrExportStatement(sourceFile, (statement) => {\n      switch (statement.kind) {\n        case 281 /* ExportDeclaration */:\n        case 275 /* ImportDeclaration */: {\n          const decl = statement;\n          if (decl.moduleSpecifier && isStringLiteral(decl.moduleSpecifier)) {\n            action(decl, decl.moduleSpecifier);\n          }\n          break;\n        }\n        case 274 /* ImportEqualsDeclaration */: {\n          const decl = statement;\n          if (isExternalModuleImportEquals(decl)) {\n            action(decl, decl.moduleReference.expression);\n          }\n          break;\n        }\n      }\n    });\n  }\n}\nfunction getImportOrExportSymbol(node, symbol, checker, comingFromExport) {\n  return comingFromExport ? getExport() : getExport() || getImport();\n  function getExport() {\n    var _a2;\n    const { parent: parent2 } = node;\n    const grandparent = parent2.parent;\n    if (symbol.exportSymbol) {\n      if (parent2.kind === 211 /* PropertyAccessExpression */) {\n        return ((_a2 = symbol.declarations) == null ? void 0 : _a2.some((d) => d === parent2)) && isBinaryExpression(grandparent) ? getSpecialPropertyExport(grandparent, false) : void 0;\n      } else {\n        return exportInfo(symbol.exportSymbol, getExportKindForDeclaration(parent2));\n      }\n    } else {\n      const exportNode = getExportNode(parent2, node);\n      if (exportNode && hasSyntacticModifier(exportNode, 1 /* Export */)) {\n        if (isImportEqualsDeclaration(exportNode) && exportNode.moduleReference === node) {\n          if (comingFromExport) {\n            return void 0;\n          }\n          const lhsSymbol = checker.getSymbolAtLocation(exportNode.name);\n          return { kind: 0 /* Import */, symbol: lhsSymbol };\n        } else {\n          return exportInfo(symbol, getExportKindForDeclaration(exportNode));\n        }\n      } else if (isNamespaceExport(parent2)) {\n        return exportInfo(symbol, 0 /* Named */);\n      } else if (isExportAssignment(parent2)) {\n        return getExportAssignmentExport(parent2);\n      } else if (isExportAssignment(grandparent)) {\n        return getExportAssignmentExport(grandparent);\n      } else if (isBinaryExpression(parent2)) {\n        return getSpecialPropertyExport(parent2, true);\n      } else if (isBinaryExpression(grandparent)) {\n        return getSpecialPropertyExport(grandparent, true);\n      } else if (isJSDocTypedefTag(parent2)) {\n        return exportInfo(symbol, 0 /* Named */);\n      }\n    }\n    function getExportAssignmentExport(ex) {\n      if (!ex.symbol.parent)\n        return void 0;\n      const exportKind = ex.isExportEquals ? 2 /* ExportEquals */ : 1 /* Default */;\n      return { kind: 1 /* Export */, symbol, exportInfo: { exportingModuleSymbol: ex.symbol.parent, exportKind } };\n    }\n    function getSpecialPropertyExport(node2, useLhsSymbol) {\n      let kind;\n      switch (getAssignmentDeclarationKind(node2)) {\n        case 1 /* ExportsProperty */:\n          kind = 0 /* Named */;\n          break;\n        case 2 /* ModuleExports */:\n          kind = 2 /* ExportEquals */;\n          break;\n        default:\n          return void 0;\n      }\n      const sym = useLhsSymbol ? checker.getSymbolAtLocation(getNameOfAccessExpression(cast(node2.left, isAccessExpression))) : symbol;\n      return sym && exportInfo(sym, kind);\n    }\n  }\n  function getImport() {\n    const isImport3 = isNodeImport(node);\n    if (!isImport3)\n      return void 0;\n    let importedSymbol = checker.getImmediateAliasedSymbol(symbol);\n    if (!importedSymbol)\n      return void 0;\n    importedSymbol = skipExportSpecifierSymbol(importedSymbol, checker);\n    if (importedSymbol.escapedName === \"export=\") {\n      importedSymbol = getExportEqualsLocalSymbol(importedSymbol, checker);\n      if (importedSymbol === void 0)\n        return void 0;\n    }\n    const importedName = symbolEscapedNameNoDefault(importedSymbol);\n    if (importedName === void 0 || importedName === \"default\" /* Default */ || importedName === symbol.escapedName) {\n      return { kind: 0 /* Import */, symbol: importedSymbol };\n    }\n  }\n  function exportInfo(symbol2, kind) {\n    const exportInfo2 = getExportInfo(symbol2, kind, checker);\n    return exportInfo2 && { kind: 1 /* Export */, symbol: symbol2, exportInfo: exportInfo2 };\n  }\n  function getExportKindForDeclaration(node2) {\n    return hasSyntacticModifier(node2, 1024 /* Default */) ? 1 /* Default */ : 0 /* Named */;\n  }\n}\nfunction getExportEqualsLocalSymbol(importedSymbol, checker) {\n  if (importedSymbol.flags & 2097152 /* Alias */) {\n    return checker.getImmediateAliasedSymbol(importedSymbol);\n  }\n  const decl = Debug.checkDefined(importedSymbol.valueDeclaration);\n  if (isExportAssignment(decl)) {\n    return decl.expression.symbol;\n  } else if (isBinaryExpression(decl)) {\n    return decl.right.symbol;\n  } else if (isSourceFile(decl)) {\n    return decl.symbol;\n  }\n  return void 0;\n}\nfunction getExportNode(parent2, node) {\n  const declaration = isVariableDeclaration(parent2) ? parent2 : isBindingElement(parent2) ? walkUpBindingElementsAndPatterns(parent2) : void 0;\n  if (declaration) {\n    return parent2.name !== node ? void 0 : isCatchClause(declaration.parent) ? void 0 : isVariableStatement(declaration.parent.parent) ? declaration.parent.parent : void 0;\n  } else {\n    return parent2;\n  }\n}\nfunction isNodeImport(node) {\n  const { parent: parent2 } = node;\n  switch (parent2.kind) {\n    case 274 /* ImportEqualsDeclaration */:\n      return parent2.name === node && isExternalModuleImportEquals(parent2);\n    case 279 /* ImportSpecifier */:\n      return !parent2.propertyName;\n    case 276 /* ImportClause */:\n    case 277 /* NamespaceImport */:\n      Debug.assert(parent2.name === node);\n      return true;\n    case 208 /* BindingElement */:\n      return isInJSFile(node) && isVariableDeclarationInitializedToBareOrAccessedRequire(parent2.parent.parent);\n    default:\n      return false;\n  }\n}\nfunction getExportInfo(exportSymbol, exportKind, checker) {\n  const moduleSymbol = exportSymbol.parent;\n  if (!moduleSymbol)\n    return void 0;\n  const exportingModuleSymbol = checker.getMergedSymbol(moduleSymbol);\n  return isExternalModuleSymbol(exportingModuleSymbol) ? { exportingModuleSymbol, exportKind } : void 0;\n}\nfunction skipExportSpecifierSymbol(symbol, checker) {\n  if (symbol.declarations) {\n    for (const declaration of symbol.declarations) {\n      if (isExportSpecifier(declaration) && !declaration.propertyName && !declaration.parent.parent.moduleSpecifier) {\n        return checker.getExportSpecifierLocalTargetSymbol(declaration);\n      } else if (isPropertyAccessExpression(declaration) && isModuleExportsAccessExpression(declaration.expression) && !isPrivateIdentifier(declaration.name)) {\n        return checker.getSymbolAtLocation(declaration);\n      } else if (isShorthandPropertyAssignment(declaration) && isBinaryExpression(declaration.parent.parent) && getAssignmentDeclarationKind(declaration.parent.parent) === 2 /* ModuleExports */) {\n        return checker.getExportSpecifierLocalTargetSymbol(declaration.name);\n      }\n    }\n  }\n  return symbol;\n}\nfunction getContainingModuleSymbol(importer, checker) {\n  return checker.getMergedSymbol(getSourceFileLikeForImportDeclaration(importer).symbol);\n}\nfunction getSourceFileLikeForImportDeclaration(node) {\n  if (node.kind === 213 /* CallExpression */) {\n    return node.getSourceFile();\n  }\n  const { parent: parent2 } = node;\n  if (parent2.kind === 314 /* SourceFile */) {\n    return parent2;\n  }\n  Debug.assert(parent2.kind === 271 /* ModuleBlock */);\n  return cast(parent2.parent, isAmbientModuleDeclaration);\n}\nfunction isAmbientModuleDeclaration(node) {\n  return node.kind === 270 /* ModuleDeclaration */ && node.name.kind === 10 /* StringLiteral */;\n}\nfunction isExternalModuleImportEquals(eq) {\n  return eq.moduleReference.kind === 286 /* ExternalModuleReference */ && eq.moduleReference.expression.kind === 10 /* StringLiteral */;\n}\n\n// src/services/findAllReferences.ts\nvar DefinitionKind = /* @__PURE__ */ ((DefinitionKind2) => {\n  DefinitionKind2[DefinitionKind2[\"Symbol\"] = 0] = \"Symbol\";\n  DefinitionKind2[DefinitionKind2[\"Label\"] = 1] = \"Label\";\n  DefinitionKind2[DefinitionKind2[\"Keyword\"] = 2] = \"Keyword\";\n  DefinitionKind2[DefinitionKind2[\"This\"] = 3] = \"This\";\n  DefinitionKind2[DefinitionKind2[\"String\"] = 4] = \"String\";\n  DefinitionKind2[DefinitionKind2[\"TripleSlashReference\"] = 5] = \"TripleSlashReference\";\n  return DefinitionKind2;\n})(DefinitionKind || {});\nvar EntryKind = /* @__PURE__ */ ((EntryKind2) => {\n  EntryKind2[EntryKind2[\"Span\"] = 0] = \"Span\";\n  EntryKind2[EntryKind2[\"Node\"] = 1] = \"Node\";\n  EntryKind2[EntryKind2[\"StringLiteral\"] = 2] = \"StringLiteral\";\n  EntryKind2[EntryKind2[\"SearchedLocalFoundProperty\"] = 3] = \"SearchedLocalFoundProperty\";\n  EntryKind2[EntryKind2[\"SearchedPropertyFoundLocal\"] = 4] = \"SearchedPropertyFoundLocal\";\n  return EntryKind2;\n})(EntryKind || {});\nfunction nodeEntry(node, kind = 1 /* Node */) {\n  return {\n    kind,\n    node: node.name || node,\n    context: getContextNodeForNodeEntry(node)\n  };\n}\nfunction isContextWithStartAndEndNode(node) {\n  return node && node.kind === void 0;\n}\nfunction getContextNodeForNodeEntry(node) {\n  if (isDeclaration(node)) {\n    return getContextNode(node);\n  }\n  if (!node.parent)\n    return void 0;\n  if (!isDeclaration(node.parent) && !isExportAssignment(node.parent)) {\n    if (isInJSFile(node)) {\n      const binaryExpression = isBinaryExpression(node.parent) ? node.parent : isAccessExpression(node.parent) && isBinaryExpression(node.parent.parent) && node.parent.parent.left === node.parent ? node.parent.parent : void 0;\n      if (binaryExpression && getAssignmentDeclarationKind(binaryExpression) !== 0 /* None */) {\n        return getContextNode(binaryExpression);\n      }\n    }\n    if (isJsxOpeningElement(node.parent) || isJsxClosingElement(node.parent)) {\n      return node.parent.parent;\n    } else if (isJsxSelfClosingElement(node.parent) || isLabeledStatement(node.parent) || isBreakOrContinueStatement(node.parent)) {\n      return node.parent;\n    } else if (isStringLiteralLike(node)) {\n      const validImport = tryGetImportFromModuleSpecifier(node);\n      if (validImport) {\n        const declOrStatement = findAncestor(\n          validImport,\n          (node2) => isDeclaration(node2) || isStatement(node2) || isJSDocTag(node2)\n        );\n        return isDeclaration(declOrStatement) ? getContextNode(declOrStatement) : declOrStatement;\n      }\n    }\n    const propertyName = findAncestor(node, isComputedPropertyName);\n    return propertyName ? getContextNode(propertyName.parent) : void 0;\n  }\n  if (node.parent.name === node || isConstructorDeclaration(node.parent) || isExportAssignment(node.parent) || (isImportOrExportSpecifier(node.parent) || isBindingElement(node.parent)) && node.parent.propertyName === node || node.kind === 89 /* DefaultKeyword */ && hasSyntacticModifier(node.parent, 1025 /* ExportDefault */)) {\n    return getContextNode(node.parent);\n  }\n  return void 0;\n}\nfunction getContextNode(node) {\n  if (!node)\n    return void 0;\n  switch (node.kind) {\n    case 261 /* VariableDeclaration */:\n      return !isVariableDeclarationList(node.parent) || node.parent.declarations.length !== 1 ? node : isVariableStatement(node.parent.parent) ? node.parent.parent : isForInOrOfStatement(node.parent.parent) ? getContextNode(node.parent.parent) : node.parent;\n    case 208 /* BindingElement */:\n      return getContextNode(node.parent.parent);\n    case 279 /* ImportSpecifier */:\n      return node.parent.parent.parent;\n    case 284 /* ExportSpecifier */:\n    case 277 /* NamespaceImport */:\n      return node.parent.parent;\n    case 276 /* ImportClause */:\n    case 283 /* NamespaceExport */:\n      return node.parent;\n    case 227 /* BinaryExpression */:\n      return isExpressionStatement(node.parent) ? node.parent : node;\n    case 251 /* ForOfStatement */:\n    case 250 /* ForInStatement */:\n      return {\n        start: node.initializer,\n        end: node.expression\n      };\n    case 305 /* PropertyAssignment */:\n    case 306 /* ShorthandPropertyAssignment */:\n      return isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent) ? getContextNode(\n        findAncestor(\n          node.parent,\n          (node2) => isBinaryExpression(node2) || isForInOrOfStatement(node2)\n        )\n      ) : node;\n    default:\n      return node;\n  }\n}\nfunction toContextSpan(textSpan, sourceFile, context) {\n  if (!context)\n    return void 0;\n  const contextSpan = isContextWithStartAndEndNode(context) ? getTextSpan(context.start, sourceFile, context.end) : getTextSpan(context, sourceFile);\n  return contextSpan.start !== textSpan.start || contextSpan.length !== textSpan.length ? { contextSpan } : void 0;\n}\nvar FindReferencesUse = /* @__PURE__ */ ((FindReferencesUse2) => {\n  FindReferencesUse2[FindReferencesUse2[\"Other\"] = 0] = \"Other\";\n  FindReferencesUse2[FindReferencesUse2[\"References\"] = 1] = \"References\";\n  FindReferencesUse2[FindReferencesUse2[\"Rename\"] = 2] = \"Rename\";\n  return FindReferencesUse2;\n})(FindReferencesUse || {});\nfunction findReferencedSymbols(program, cancellationToken, sourceFiles, sourceFile, position) {\n  const node = getTouchingPropertyName(sourceFile, position);\n  const options = { use: 1 /* References */ };\n  const referencedSymbols = Core.getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options);\n  const checker = program.getTypeChecker();\n  const adjustedNode = Core.getAdjustedNode(node, options);\n  const symbol = isDefinitionForReference(adjustedNode) ? checker.getSymbolAtLocation(adjustedNode) : void 0;\n  return !referencedSymbols || !referencedSymbols.length ? void 0 : mapDefined(referencedSymbols, ({ definition, references }) => definition && {\n    definition: checker.runWithCancellationToken(cancellationToken, (checker2) => definitionToReferencedSymbolDefinitionInfo(definition, checker2, node)),\n    references: references.map((r) => toReferencedSymbolEntry(r, symbol))\n  });\n}\nfunction isDefinitionForReference(node) {\n  return node.kind === 89 /* DefaultKeyword */ || !!getDeclarationFromName(node) || isLiteralComputedPropertyDeclarationName(node) || node.kind === 136 /* ConstructorKeyword */ && isConstructorDeclaration(node.parent);\n}\nfunction getImplementationsAtPosition(program, cancellationToken, sourceFiles, sourceFile, position) {\n  const node = getTouchingPropertyName(sourceFile, position);\n  let referenceEntries;\n  const entries = getImplementationReferenceEntries(program, cancellationToken, sourceFiles, node, position);\n  if (node.parent.kind === 211 /* PropertyAccessExpression */ || node.parent.kind === 208 /* BindingElement */ || node.parent.kind === 212 /* ElementAccessExpression */ || node.kind === 107 /* SuperKeyword */) {\n    referenceEntries = entries && [...entries];\n  } else if (entries) {\n    const queue = createQueue(entries);\n    const seenNodes = new Map2();\n    while (!queue.isEmpty()) {\n      const entry = queue.dequeue();\n      if (!addToSeen(seenNodes, getNodeId(entry.node))) {\n        continue;\n      }\n      referenceEntries = append(referenceEntries, entry);\n      const entries2 = getImplementationReferenceEntries(program, cancellationToken, sourceFiles, entry.node, entry.node.pos);\n      if (entries2) {\n        queue.enqueue(...entries2);\n      }\n    }\n  }\n  const checker = program.getTypeChecker();\n  return map(referenceEntries, (entry) => toImplementationLocation(entry, checker));\n}\nfunction getImplementationReferenceEntries(program, cancellationToken, sourceFiles, node, position) {\n  if (node.kind === 314 /* SourceFile */) {\n    return void 0;\n  }\n  const checker = program.getTypeChecker();\n  if (node.parent.kind === 306 /* ShorthandPropertyAssignment */) {\n    const result = [];\n    Core.getReferenceEntriesForShorthandPropertyAssignment(node, checker, (node2) => result.push(nodeEntry(node2)));\n    return result;\n  } else if (node.kind === 107 /* SuperKeyword */ || isSuperProperty(node.parent)) {\n    const symbol = checker.getSymbolAtLocation(node);\n    return symbol.valueDeclaration && [nodeEntry(symbol.valueDeclaration)];\n  } else {\n    return getReferenceEntriesForNode(position, node, program, sourceFiles, cancellationToken, { implementations: true, use: 1 /* References */ });\n  }\n}\nfunction findReferenceOrRenameEntries(program, cancellationToken, sourceFiles, node, position, options, convertEntry) {\n  return map(flattenEntries(Core.getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options)), (entry) => convertEntry(entry, node, program.getTypeChecker()));\n}\nfunction getReferenceEntriesForNode(position, node, program, sourceFiles, cancellationToken, options = {}, sourceFilesSet = new Set2(sourceFiles.map((f) => f.fileName))) {\n  return flattenEntries(Core.getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options, sourceFilesSet));\n}\nfunction flattenEntries(referenceSymbols) {\n  return referenceSymbols && flatMap(referenceSymbols, (r) => r.references);\n}\nfunction definitionToReferencedSymbolDefinitionInfo(def, checker, originalNode) {\n  const info = (() => {\n    switch (def.type) {\n      case 0 /* Symbol */: {\n        const { symbol } = def;\n        const { displayParts: displayParts2, kind: kind2 } = getDefinitionKindAndDisplayParts(symbol, checker, originalNode);\n        const name2 = displayParts2.map((p) => p.text).join(\"\");\n        const declaration = symbol.declarations && firstOrUndefined(symbol.declarations);\n        const node = declaration ? getNameOfDeclaration(declaration) || declaration : originalNode;\n        return {\n          ...getFileAndTextSpanFromNode(node),\n          name: name2,\n          kind: kind2,\n          displayParts: displayParts2,\n          context: getContextNode(declaration)\n        };\n      }\n      case 1 /* Label */: {\n        const { node } = def;\n        return { ...getFileAndTextSpanFromNode(node), name: node.text, kind: \"label\" /* label */, displayParts: [displayPart(node.text, 17 /* text */)] };\n      }\n      case 2 /* Keyword */: {\n        const { node } = def;\n        const name2 = tokenToString(node.kind);\n        return { ...getFileAndTextSpanFromNode(node), name: name2, kind: \"keyword\" /* keyword */, displayParts: [{ text: name2, kind: \"keyword\" /* keyword */ }] };\n      }\n      case 3 /* This */: {\n        const { node } = def;\n        const symbol = checker.getSymbolAtLocation(node);\n        const displayParts2 = symbol && ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(\n          checker,\n          symbol,\n          node.getSourceFile(),\n          getContainerNode(node),\n          node\n        ).displayParts || [textPart(\"this\")];\n        return { ...getFileAndTextSpanFromNode(node), name: \"this\", kind: \"var\" /* variableElement */, displayParts: displayParts2 };\n      }\n      case 4 /* String */: {\n        const { node } = def;\n        return {\n          ...getFileAndTextSpanFromNode(node),\n          name: node.text,\n          kind: \"var\" /* variableElement */,\n          displayParts: [displayPart(getTextOfNode(node), 8 /* stringLiteral */)]\n        };\n      }\n      case 5 /* TripleSlashReference */: {\n        return {\n          textSpan: createTextSpanFromRange(def.reference),\n          sourceFile: def.file,\n          name: def.reference.fileName,\n          kind: \"string\" /* string */,\n          displayParts: [displayPart(`\"${def.reference.fileName}\"`, 8 /* stringLiteral */)]\n        };\n      }\n      default:\n        return Debug.assertNever(def);\n    }\n  })();\n  const { sourceFile, textSpan, name, kind, displayParts, context } = info;\n  return {\n    containerKind: \"\" /* unknown */,\n    containerName: \"\",\n    fileName: sourceFile.fileName,\n    kind,\n    name,\n    textSpan,\n    displayParts,\n    ...toContextSpan(textSpan, sourceFile, context)\n  };\n}\nfunction getFileAndTextSpanFromNode(node) {\n  const sourceFile = node.getSourceFile();\n  return {\n    sourceFile,\n    textSpan: getTextSpan(isComputedPropertyName(node) ? node.expression : node, sourceFile)\n  };\n}\nfunction getDefinitionKindAndDisplayParts(symbol, checker, node) {\n  const meaning = Core.getIntersectingMeaningFromDeclarations(node, symbol);\n  const enclosingDeclaration = symbol.declarations && firstOrUndefined(symbol.declarations) || node;\n  const { displayParts, symbolKind } = ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(checker, symbol, enclosingDeclaration.getSourceFile(), enclosingDeclaration, enclosingDeclaration, meaning);\n  return { displayParts, kind: symbolKind };\n}\nfunction toRenameLocation(entry, originalNode, checker, providePrefixAndSuffixText) {\n  return { ...entryToDocumentSpan(entry), ...providePrefixAndSuffixText && getPrefixAndSuffixText(entry, originalNode, checker) };\n}\nfunction toReferencedSymbolEntry(entry, symbol) {\n  const referenceEntry = toReferenceEntry(entry);\n  if (!symbol)\n    return referenceEntry;\n  return {\n    ...referenceEntry,\n    isDefinition: entry.kind !== 0 /* Span */ && isDeclarationOfSymbol(entry.node, symbol)\n  };\n}\nfunction toReferenceEntry(entry) {\n  const documentSpan = entryToDocumentSpan(entry);\n  if (entry.kind === 0 /* Span */) {\n    return { ...documentSpan, isWriteAccess: false };\n  }\n  const { kind, node } = entry;\n  return {\n    ...documentSpan,\n    isWriteAccess: isWriteAccessForReference(node),\n    isInString: kind === 2 /* StringLiteral */ ? true : void 0\n  };\n}\nfunction entryToDocumentSpan(entry) {\n  if (entry.kind === 0 /* Span */) {\n    return { textSpan: entry.textSpan, fileName: entry.fileName };\n  } else {\n    const sourceFile = entry.node.getSourceFile();\n    const textSpan = getTextSpan(entry.node, sourceFile);\n    return {\n      textSpan,\n      fileName: sourceFile.fileName,\n      ...toContextSpan(textSpan, sourceFile, entry.context)\n    };\n  }\n}\nfunction getPrefixAndSuffixText(entry, originalNode, checker) {\n  if (entry.kind !== 0 /* Span */ && isIdentifier(originalNode)) {\n    const { node, kind } = entry;\n    const parent2 = node.parent;\n    const name = originalNode.text;\n    const isShorthandAssignment = isShorthandPropertyAssignment(parent2);\n    if (isShorthandAssignment || isObjectBindingElementWithoutPropertyName(parent2) && parent2.name === node && parent2.dotDotDotToken === void 0) {\n      const prefixColon = { prefixText: name + \": \" };\n      const suffixColon = { suffixText: \": \" + name };\n      if (kind === 3 /* SearchedLocalFoundProperty */) {\n        return prefixColon;\n      }\n      if (kind === 4 /* SearchedPropertyFoundLocal */) {\n        return suffixColon;\n      }\n      if (isShorthandAssignment) {\n        const grandParent = parent2.parent;\n        if (isObjectLiteralExpression(grandParent) && isBinaryExpression(grandParent.parent) && isModuleExportsAccessExpression(grandParent.parent.left)) {\n          return prefixColon;\n        }\n        return suffixColon;\n      } else {\n        return prefixColon;\n      }\n    } else if (isImportSpecifier(parent2) && !parent2.propertyName) {\n      const originalSymbol = isExportSpecifier(originalNode.parent) ? checker.getExportSpecifierLocalTargetSymbol(originalNode.parent) : checker.getSymbolAtLocation(originalNode);\n      return contains(originalSymbol.declarations, parent2) ? { prefixText: name + \" as \" } : emptyOptions;\n    } else if (isExportSpecifier(parent2) && !parent2.propertyName) {\n      return originalNode === entry.node || checker.getSymbolAtLocation(originalNode) === checker.getSymbolAtLocation(entry.node) ? { prefixText: name + \" as \" } : { suffixText: \" as \" + name };\n    }\n  }\n  return emptyOptions;\n}\nfunction toImplementationLocation(entry, checker) {\n  const documentSpan = entryToDocumentSpan(entry);\n  if (entry.kind !== 0 /* Span */) {\n    const { node } = entry;\n    return {\n      ...documentSpan,\n      ...implementationKindDisplayParts(node, checker)\n    };\n  } else {\n    return { ...documentSpan, kind: \"\" /* unknown */, displayParts: [] };\n  }\n}\nfunction implementationKindDisplayParts(node, checker) {\n  const symbol = checker.getSymbolAtLocation(isDeclaration(node) && node.name ? node.name : node);\n  if (symbol) {\n    return getDefinitionKindAndDisplayParts(symbol, checker, node);\n  } else if (node.kind === 210 /* ObjectLiteralExpression */) {\n    return {\n      kind: \"interface\" /* interfaceElement */,\n      displayParts: [punctuationPart(20 /* OpenParenToken */), textPart(\"object literal\"), punctuationPart(21 /* CloseParenToken */)]\n    };\n  } else if (node.kind === 232 /* ClassExpression */) {\n    return {\n      kind: \"local class\" /* localClassElement */,\n      displayParts: [punctuationPart(20 /* OpenParenToken */), textPart(\"anonymous local class\"), punctuationPart(21 /* CloseParenToken */)]\n    };\n  } else {\n    return { kind: getNodeKind(node), displayParts: [] };\n  }\n}\nfunction toHighlightSpan(entry) {\n  const documentSpan = entryToDocumentSpan(entry);\n  if (entry.kind === 0 /* Span */) {\n    return {\n      fileName: documentSpan.fileName,\n      span: {\n        textSpan: documentSpan.textSpan,\n        kind: \"reference\" /* reference */\n      }\n    };\n  }\n  const writeAccess = isWriteAccessForReference(entry.node);\n  const span = {\n    textSpan: documentSpan.textSpan,\n    kind: writeAccess ? \"writtenReference\" /* writtenReference */ : \"reference\" /* reference */,\n    isInString: entry.kind === 2 /* StringLiteral */ ? true : void 0,\n    ...documentSpan.contextSpan && { contextSpan: documentSpan.contextSpan }\n  };\n  return { fileName: documentSpan.fileName, span };\n}\nfunction getTextSpan(node, sourceFile, endNode2) {\n  let start = node.getStart(sourceFile);\n  let end = (endNode2 || node).getEnd();\n  if (isStringLiteralLike(node) && end - start > 2) {\n    Debug.assert(endNode2 === void 0);\n    start += 1;\n    end -= 1;\n  }\n  return createTextSpanFromBounds(start, end);\n}\nfunction getTextSpanOfEntry(entry) {\n  return entry.kind === 0 /* Span */ ? entry.textSpan : getTextSpan(entry.node, entry.node.getSourceFile());\n}\nfunction isWriteAccessForReference(node) {\n  const decl = getDeclarationFromName(node);\n  return !!decl && declarationIsWriteAccess(decl) || node.kind === 89 /* DefaultKeyword */ || isWriteAccess(node);\n}\nfunction isDeclarationOfSymbol(node, target) {\n  var _a2;\n  if (!target)\n    return false;\n  const source = getDeclarationFromName(node) || (node.kind === 89 /* DefaultKeyword */ ? node.parent : isLiteralComputedPropertyDeclarationName(node) ? node.parent.parent : node.kind === 136 /* ConstructorKeyword */ && isConstructorDeclaration(node.parent) ? node.parent.parent : void 0);\n  const commonjsSource = source && isBinaryExpression(source) ? source.left : void 0;\n  return !!(source && ((_a2 = target.declarations) == null ? void 0 : _a2.some((d) => d === source || d === commonjsSource)));\n}\nfunction declarationIsWriteAccess(decl) {\n  if (!!(decl.flags & 16777216 /* Ambient */))\n    return true;\n  switch (decl.kind) {\n    case 227 /* BinaryExpression */:\n    case 208 /* BindingElement */:\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n    case 89 /* DefaultKeyword */:\n    case 269 /* EnumDeclaration */:\n    case 308 /* EnumMember */:\n    case 284 /* ExportSpecifier */:\n    case 276 /* ImportClause */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 279 /* ImportSpecifier */:\n    case 267 /* InterfaceDeclaration */:\n    case 347 /* JSDocCallbackTag */:\n    case 354 /* JSDocTypedefTag */:\n    case 294 /* JsxAttribute */:\n    case 270 /* ModuleDeclaration */:\n    case 273 /* NamespaceExportDeclaration */:\n    case 277 /* NamespaceImport */:\n    case 283 /* NamespaceExport */:\n    case 168 /* Parameter */:\n    case 306 /* ShorthandPropertyAssignment */:\n    case 268 /* TypeAliasDeclaration */:\n    case 167 /* TypeParameter */:\n      return true;\n    case 305 /* PropertyAssignment */:\n      return !isArrayLiteralOrObjectLiteralDestructuringPattern(decl.parent);\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 176 /* Constructor */:\n    case 174 /* MethodDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      return !!decl.body;\n    case 261 /* VariableDeclaration */:\n    case 171 /* PropertyDeclaration */:\n      return !!decl.initializer || isCatchClause(decl.parent);\n    case 173 /* MethodSignature */:\n    case 170 /* PropertySignature */:\n    case 356 /* JSDocPropertyTag */:\n    case 349 /* JSDocParameterTag */:\n      return false;\n    default:\n      return Debug.failBadSyntaxKind(decl);\n  }\n}\nvar Core;\n((Core2) => {\n  function getReferencedSymbolsForNode(position, node, program, sourceFiles, cancellationToken, options = {}, sourceFilesSet = new Set2(sourceFiles.map((f) => f.fileName))) {\n    var _a2, _b;\n    node = getAdjustedNode(node, options);\n    if (isSourceFile(node)) {\n      const resolvedRef = ts_GoToDefinition_exports.getReferenceAtPosition(node, position, program);\n      if (!(resolvedRef == null ? void 0 : resolvedRef.file)) {\n        return void 0;\n      }\n      const moduleSymbol = program.getTypeChecker().getMergedSymbol(resolvedRef.file.symbol);\n      if (moduleSymbol) {\n        return getReferencedSymbolsForModule(program, moduleSymbol, false, sourceFiles, sourceFilesSet);\n      }\n      const fileIncludeReasons = program.getFileIncludeReasons();\n      if (!fileIncludeReasons) {\n        return void 0;\n      }\n      return [{\n        definition: { type: 5 /* TripleSlashReference */, reference: resolvedRef.reference, file: node },\n        references: getReferencesForNonModule(resolvedRef.file, fileIncludeReasons, program) || emptyArray\n      }];\n    }\n    if (!options.implementations) {\n      const special = getReferencedSymbolsSpecial(node, sourceFiles, cancellationToken);\n      if (special) {\n        return special;\n      }\n    }\n    const checker = program.getTypeChecker();\n    const symbol = checker.getSymbolAtLocation(isConstructorDeclaration(node) && node.parent.name || node);\n    if (!symbol) {\n      if (!options.implementations && isStringLiteralLike(node)) {\n        if (isModuleSpecifierLike(node)) {\n          const fileIncludeReasons = program.getFileIncludeReasons();\n          const referencedFileName = (_b = (_a2 = node.getSourceFile().resolvedModules) == null ? void 0 : _a2.get(node.text, getModeForUsageLocation(node.getSourceFile(), node))) == null ? void 0 : _b.resolvedFileName;\n          const referencedFile = referencedFileName ? program.getSourceFile(referencedFileName) : void 0;\n          if (referencedFile) {\n            return [{ definition: { type: 4 /* String */, node }, references: getReferencesForNonModule(referencedFile, fileIncludeReasons, program) || emptyArray }];\n          }\n        }\n        return getReferencesForStringLiteral(node, sourceFiles, checker, cancellationToken);\n      }\n      return void 0;\n    }\n    if (symbol.escapedName === \"export=\" /* ExportEquals */) {\n      return getReferencedSymbolsForModule(program, symbol.parent, false, sourceFiles, sourceFilesSet);\n    }\n    const moduleReferences = getReferencedSymbolsForModuleIfDeclaredBySourceFile(symbol, program, sourceFiles, cancellationToken, options, sourceFilesSet);\n    if (moduleReferences && !(symbol.flags & 33554432 /* Transient */)) {\n      return moduleReferences;\n    }\n    const aliasedSymbol = getMergedAliasedSymbolOfNamespaceExportDeclaration(node, symbol, checker);\n    const moduleReferencesOfExportTarget = aliasedSymbol && getReferencedSymbolsForModuleIfDeclaredBySourceFile(aliasedSymbol, program, sourceFiles, cancellationToken, options, sourceFilesSet);\n    const references = getReferencedSymbolsForSymbol(symbol, node, sourceFiles, sourceFilesSet, checker, cancellationToken, options);\n    return mergeReferences(program, moduleReferences, references, moduleReferencesOfExportTarget);\n  }\n  Core2.getReferencedSymbolsForNode = getReferencedSymbolsForNode;\n  function getAdjustedNode(node, options) {\n    if (options.use === 1 /* References */) {\n      node = getAdjustedReferenceLocation(node);\n    } else if (options.use === 2 /* Rename */) {\n      node = getAdjustedRenameLocation(node);\n    }\n    return node;\n  }\n  Core2.getAdjustedNode = getAdjustedNode;\n  function getReferencesForFileName(fileName, program, sourceFiles, sourceFilesSet = new Set2(sourceFiles.map((f) => f.fileName))) {\n    var _a2, _b;\n    const moduleSymbol = (_a2 = program.getSourceFile(fileName)) == null ? void 0 : _a2.symbol;\n    if (moduleSymbol) {\n      return ((_b = getReferencedSymbolsForModule(program, moduleSymbol, false, sourceFiles, sourceFilesSet)[0]) == null ? void 0 : _b.references) || emptyArray;\n    }\n    const fileIncludeReasons = program.getFileIncludeReasons();\n    const referencedFile = program.getSourceFile(fileName);\n    return referencedFile && fileIncludeReasons && getReferencesForNonModule(referencedFile, fileIncludeReasons, program) || emptyArray;\n  }\n  Core2.getReferencesForFileName = getReferencesForFileName;\n  function getReferencesForNonModule(referencedFile, refFileMap, program) {\n    let entries;\n    const references = refFileMap.get(referencedFile.path) || emptyArray;\n    for (const ref of references) {\n      if (isReferencedFile(ref)) {\n        const referencingFile = program.getSourceFileByPath(ref.file);\n        const location = getReferencedFileLocation(program.getSourceFileByPath, ref);\n        if (isReferenceFileLocation(location)) {\n          entries = append(entries, {\n            kind: 0 /* Span */,\n            fileName: referencingFile.fileName,\n            textSpan: createTextSpanFromRange(location)\n          });\n        }\n      }\n    }\n    return entries;\n  }\n  function getMergedAliasedSymbolOfNamespaceExportDeclaration(node, symbol, checker) {\n    if (node.parent && isNamespaceExportDeclaration(node.parent)) {\n      const aliasedSymbol = checker.getAliasedSymbol(symbol);\n      const targetSymbol = checker.getMergedSymbol(aliasedSymbol);\n      if (aliasedSymbol !== targetSymbol) {\n        return targetSymbol;\n      }\n    }\n    return void 0;\n  }\n  function getReferencedSymbolsForModuleIfDeclaredBySourceFile(symbol, program, sourceFiles, cancellationToken, options, sourceFilesSet) {\n    const moduleSourceFile = symbol.flags & 1536 /* Module */ && symbol.declarations && find(symbol.declarations, isSourceFile);\n    if (!moduleSourceFile)\n      return void 0;\n    const exportEquals = symbol.exports.get(\"export=\" /* ExportEquals */);\n    const moduleReferences = getReferencedSymbolsForModule(program, symbol, !!exportEquals, sourceFiles, sourceFilesSet);\n    if (!exportEquals || !sourceFilesSet.has(moduleSourceFile.fileName))\n      return moduleReferences;\n    const checker = program.getTypeChecker();\n    symbol = skipAlias(exportEquals, checker);\n    return mergeReferences(program, moduleReferences, getReferencedSymbolsForSymbol(symbol, void 0, sourceFiles, sourceFilesSet, checker, cancellationToken, options));\n  }\n  function mergeReferences(program, ...referencesToMerge) {\n    let result;\n    for (const references of referencesToMerge) {\n      if (!references || !references.length)\n        continue;\n      if (!result) {\n        result = references;\n        continue;\n      }\n      for (const entry of references) {\n        if (!entry.definition || entry.definition.type !== 0 /* Symbol */) {\n          result.push(entry);\n          continue;\n        }\n        const symbol = entry.definition.symbol;\n        const refIndex = findIndex(result, (ref) => !!ref.definition && ref.definition.type === 0 /* Symbol */ && ref.definition.symbol === symbol);\n        if (refIndex === -1) {\n          result.push(entry);\n          continue;\n        }\n        const reference = result[refIndex];\n        result[refIndex] = {\n          definition: reference.definition,\n          references: reference.references.concat(entry.references).sort((entry1, entry2) => {\n            const entry1File = getSourceFileIndexOfEntry(program, entry1);\n            const entry2File = getSourceFileIndexOfEntry(program, entry2);\n            if (entry1File !== entry2File) {\n              return compareValues(entry1File, entry2File);\n            }\n            const entry1Span = getTextSpanOfEntry(entry1);\n            const entry2Span = getTextSpanOfEntry(entry2);\n            return entry1Span.start !== entry2Span.start ? compareValues(entry1Span.start, entry2Span.start) : compareValues(entry1Span.length, entry2Span.length);\n          })\n        };\n      }\n    }\n    return result;\n  }\n  function getSourceFileIndexOfEntry(program, entry) {\n    const sourceFile = entry.kind === 0 /* Span */ ? program.getSourceFile(entry.fileName) : entry.node.getSourceFile();\n    return program.getSourceFiles().indexOf(sourceFile);\n  }\n  function getReferencedSymbolsForModule(program, symbol, excludeImportTypeOfExportEquals, sourceFiles, sourceFilesSet) {\n    Debug.assert(!!symbol.valueDeclaration);\n    const references = mapDefined(findModuleReferences(program, sourceFiles, symbol), (reference) => {\n      if (reference.kind === \"import\") {\n        const parent2 = reference.literal.parent;\n        if (isLiteralTypeNode(parent2)) {\n          const importType = cast(parent2.parent, isImportTypeNode);\n          if (excludeImportTypeOfExportEquals && !importType.qualifier) {\n            return void 0;\n          }\n        }\n        return nodeEntry(reference.literal);\n      } else {\n        return {\n          kind: 0 /* Span */,\n          fileName: reference.referencingFile.fileName,\n          textSpan: createTextSpanFromRange(reference.ref)\n        };\n      }\n    });\n    if (symbol.declarations) {\n      for (const decl of symbol.declarations) {\n        switch (decl.kind) {\n          case 314 /* SourceFile */:\n            break;\n          case 270 /* ModuleDeclaration */:\n            if (sourceFilesSet.has(decl.getSourceFile().fileName)) {\n              references.push(nodeEntry(decl.name));\n            }\n            break;\n          default:\n            Debug.assert(!!(symbol.flags & 33554432 /* Transient */), \"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.\");\n        }\n      }\n    }\n    const exported = symbol.exports.get(\"export=\" /* ExportEquals */);\n    if (exported == null ? void 0 : exported.declarations) {\n      for (const decl of exported.declarations) {\n        const sourceFile = decl.getSourceFile();\n        if (sourceFilesSet.has(sourceFile.fileName)) {\n          const node = isBinaryExpression(decl) && isPropertyAccessExpression(decl.left) ? decl.left.expression : isExportAssignment(decl) ? Debug.checkDefined(findChildOfKind(decl, 94 /* ExportKeyword */, sourceFile)) : getNameOfDeclaration(decl) || decl;\n          references.push(nodeEntry(node));\n        }\n      }\n    }\n    return references.length ? [{ definition: { type: 0 /* Symbol */, symbol }, references }] : emptyArray;\n  }\n  function isReadonlyTypeOperator(node) {\n    return node.kind === 147 /* ReadonlyKeyword */ && isTypeOperatorNode(node.parent) && node.parent.operator === 147 /* ReadonlyKeyword */;\n  }\n  function getReferencedSymbolsSpecial(node, sourceFiles, cancellationToken) {\n    if (isTypeKeyword(node.kind)) {\n      if (node.kind === 115 /* VoidKeyword */ && isVoidExpression(node.parent)) {\n        return void 0;\n      }\n      if (node.kind === 147 /* ReadonlyKeyword */ && !isReadonlyTypeOperator(node)) {\n        return void 0;\n      }\n      return getAllReferencesForKeyword(\n        sourceFiles,\n        node.kind,\n        cancellationToken,\n        node.kind === 147 /* ReadonlyKeyword */ ? isReadonlyTypeOperator : void 0\n      );\n    }\n    if (isImportMeta(node.parent) && node.parent.name === node) {\n      return getAllReferencesForImportMeta(sourceFiles, cancellationToken);\n    }\n    if (isStaticModifier(node) && isClassStaticBlockDeclaration(node.parent)) {\n      return [{ definition: { type: 2 /* Keyword */, node }, references: [nodeEntry(node)] }];\n    }\n    if (isJumpStatementTarget(node)) {\n      const labelDefinition = getTargetLabel(node.parent, node.text);\n      return labelDefinition && getLabelReferencesInNode(labelDefinition.parent, labelDefinition);\n    } else if (isLabelOfLabeledStatement(node)) {\n      return getLabelReferencesInNode(node.parent, node);\n    }\n    if (isThis(node)) {\n      return getReferencesForThisKeyword(node, sourceFiles, cancellationToken);\n    }\n    if (node.kind === 107 /* SuperKeyword */) {\n      return getReferencesForSuperKeyword(node);\n    }\n    return void 0;\n  }\n  function getReferencedSymbolsForSymbol(originalSymbol, node, sourceFiles, sourceFilesSet, checker, cancellationToken, options) {\n    const symbol = node && skipPastExportOrImportSpecifierOrUnion(originalSymbol, node, checker, !isForRenameWithPrefixAndSuffixText(options)) || originalSymbol;\n    const searchMeaning = node ? getIntersectingMeaningFromDeclarations(node, symbol) : 7 /* All */;\n    const result = [];\n    const state = new State(sourceFiles, sourceFilesSet, node ? getSpecialSearchKind(node) : SpecialSearchKind.None, checker, cancellationToken, searchMeaning, options, result);\n    const exportSpecifier = !isForRenameWithPrefixAndSuffixText(options) || !symbol.declarations ? void 0 : find(symbol.declarations, isExportSpecifier);\n    if (exportSpecifier) {\n      getReferencesAtExportSpecifier(exportSpecifier.name, symbol, exportSpecifier, state.createSearch(node, originalSymbol, void 0), state, true, true);\n    } else if (node && node.kind === 89 /* DefaultKeyword */ && symbol.escapedName === \"default\" /* Default */ && symbol.parent) {\n      addReference(node, symbol, state);\n      searchForImportsOfExport(node, symbol, { exportingModuleSymbol: symbol.parent, exportKind: 1 /* Default */ }, state);\n    } else {\n      const search = state.createSearch(node, symbol, void 0, { allSearchSymbols: node ? populateSearchSymbolSet(symbol, node, checker, options.use === 2 /* Rename */, !!options.providePrefixAndSuffixTextForRename, !!options.implementations) : [symbol] });\n      getReferencesInContainerOrFiles(symbol, state, search);\n    }\n    return result;\n  }\n  function getReferencesInContainerOrFiles(symbol, state, search) {\n    const scope = getSymbolScope(symbol);\n    if (scope) {\n      getReferencesInContainer(scope, scope.getSourceFile(), search, state, !(isSourceFile(scope) && !contains(state.sourceFiles, scope)));\n    } else {\n      for (const sourceFile of state.sourceFiles) {\n        state.cancellationToken.throwIfCancellationRequested();\n        searchForName(sourceFile, search, state);\n      }\n    }\n  }\n  function getSpecialSearchKind(node) {\n    switch (node.kind) {\n      case 176 /* Constructor */:\n      case 136 /* ConstructorKeyword */:\n        return SpecialSearchKind.Constructor;\n      case 79 /* Identifier */:\n        if (isClassLike(node.parent)) {\n          Debug.assert(node.parent.name === node);\n          return SpecialSearchKind.Class;\n        }\n      default:\n        return SpecialSearchKind.None;\n    }\n  }\n  function skipPastExportOrImportSpecifierOrUnion(symbol, node, checker, useLocalSymbolForExportSpecifier) {\n    const { parent: parent2 } = node;\n    if (isExportSpecifier(parent2) && useLocalSymbolForExportSpecifier) {\n      return getLocalSymbolForExportSpecifier(node, symbol, parent2, checker);\n    }\n    return firstDefined(symbol.declarations, (decl) => {\n      if (!decl.parent) {\n        if (symbol.flags & 33554432 /* Transient */)\n          return void 0;\n        Debug.fail(`Unexpected symbol at ${Debug.formatSyntaxKind(node.kind)}: ${Debug.formatSymbol(symbol)}`);\n      }\n      return isTypeLiteralNode(decl.parent) && isUnionTypeNode(decl.parent.parent) ? checker.getPropertyOfType(checker.getTypeFromTypeNode(decl.parent.parent), symbol.name) : void 0;\n    });\n  }\n  let SpecialSearchKind;\n  ((SpecialSearchKind2) => {\n    SpecialSearchKind2[SpecialSearchKind2[\"None\"] = 0] = \"None\";\n    SpecialSearchKind2[SpecialSearchKind2[\"Constructor\"] = 1] = \"Constructor\";\n    SpecialSearchKind2[SpecialSearchKind2[\"Class\"] = 2] = \"Class\";\n  })(SpecialSearchKind || (SpecialSearchKind = {}));\n  function getNonModuleSymbolOfMergedModuleSymbol(symbol) {\n    if (!(symbol.flags & (1536 /* Module */ | 33554432 /* Transient */)))\n      return void 0;\n    const decl = symbol.declarations && find(symbol.declarations, (d) => !isSourceFile(d) && !isModuleDeclaration(d));\n    return decl && decl.symbol;\n  }\n  class State {\n    constructor(sourceFiles, sourceFilesSet, specialSearchKind, checker, cancellationToken, searchMeaning, options, result) {\n      this.sourceFiles = sourceFiles;\n      this.sourceFilesSet = sourceFilesSet;\n      this.specialSearchKind = specialSearchKind;\n      this.checker = checker;\n      this.cancellationToken = cancellationToken;\n      this.searchMeaning = searchMeaning;\n      this.options = options;\n      this.result = result;\n      this.inheritsFromCache = new Map2();\n      this.markSeenContainingTypeReference = nodeSeenTracker();\n      this.markSeenReExportRHS = nodeSeenTracker();\n      this.symbolIdToReferences = [];\n      this.sourceFileToSeenSymbols = [];\n    }\n    includesSourceFile(sourceFile) {\n      return this.sourceFilesSet.has(sourceFile.fileName);\n    }\n    getImportSearches(exportSymbol, exportInfo) {\n      if (!this.importTracker)\n        this.importTracker = createImportTracker(this.sourceFiles, this.sourceFilesSet, this.checker, this.cancellationToken);\n      return this.importTracker(exportSymbol, exportInfo, this.options.use === 2 /* Rename */);\n    }\n    createSearch(location, symbol, comingFrom, searchOptions = {}) {\n      const {\n        text = stripQuotes(symbolName(getLocalSymbolForExportDefault(symbol) || getNonModuleSymbolOfMergedModuleSymbol(symbol) || symbol)),\n        allSearchSymbols = [symbol]\n      } = searchOptions;\n      const escapedText = escapeLeadingUnderscores(text);\n      const parents = this.options.implementations && location ? getParentSymbolsOfPropertyAccess(location, symbol, this.checker) : void 0;\n      return { symbol, comingFrom, text, escapedText, parents, allSearchSymbols, includes: (sym) => contains(allSearchSymbols, sym) };\n    }\n    referenceAdder(searchSymbol) {\n      const symbolId = getSymbolId(searchSymbol);\n      let references = this.symbolIdToReferences[symbolId];\n      if (!references) {\n        references = this.symbolIdToReferences[symbolId] = [];\n        this.result.push({ definition: { type: 0 /* Symbol */, symbol: searchSymbol }, references });\n      }\n      return (node, kind) => references.push(nodeEntry(node, kind));\n    }\n    addStringOrCommentReference(fileName, textSpan) {\n      this.result.push({\n        definition: void 0,\n        references: [{ kind: 0 /* Span */, fileName, textSpan }]\n      });\n    }\n    markSearchedSymbols(sourceFile, symbols) {\n      const sourceId = getNodeId(sourceFile);\n      const seenSymbols = this.sourceFileToSeenSymbols[sourceId] || (this.sourceFileToSeenSymbols[sourceId] = new Set2());\n      let anyNewSymbols = false;\n      for (const sym of symbols) {\n        anyNewSymbols = tryAddToSet(seenSymbols, getSymbolId(sym)) || anyNewSymbols;\n      }\n      return anyNewSymbols;\n    }\n  }\n  function searchForImportsOfExport(exportLocation, exportSymbol, exportInfo, state) {\n    const { importSearches, singleReferences, indirectUsers } = state.getImportSearches(exportSymbol, exportInfo);\n    if (singleReferences.length) {\n      const addRef = state.referenceAdder(exportSymbol);\n      for (const singleRef of singleReferences) {\n        if (shouldAddSingleReference(singleRef, state))\n          addRef(singleRef);\n      }\n    }\n    for (const [importLocation, importSymbol] of importSearches) {\n      getReferencesInSourceFile(importLocation.getSourceFile(), state.createSearch(importLocation, importSymbol, 1 /* Export */), state);\n    }\n    if (indirectUsers.length) {\n      let indirectSearch;\n      switch (exportInfo.exportKind) {\n        case 0 /* Named */:\n          indirectSearch = state.createSearch(exportLocation, exportSymbol, 1 /* Export */);\n          break;\n        case 1 /* Default */:\n          indirectSearch = state.options.use === 2 /* Rename */ ? void 0 : state.createSearch(exportLocation, exportSymbol, 1 /* Export */, { text: \"default\" });\n          break;\n        case 2 /* ExportEquals */:\n          break;\n      }\n      if (indirectSearch) {\n        for (const indirectUser of indirectUsers) {\n          searchForName(indirectUser, indirectSearch, state);\n        }\n      }\n    }\n  }\n  function eachExportReference(sourceFiles, checker, cancellationToken, exportSymbol, exportingModuleSymbol, exportName, isDefaultExport, cb) {\n    const importTracker = createImportTracker(sourceFiles, new Set2(sourceFiles.map((f) => f.fileName)), checker, cancellationToken);\n    const { importSearches, indirectUsers, singleReferences } = importTracker(exportSymbol, { exportKind: isDefaultExport ? 1 /* Default */ : 0 /* Named */, exportingModuleSymbol }, false);\n    for (const [importLocation] of importSearches) {\n      cb(importLocation);\n    }\n    for (const singleReference of singleReferences) {\n      if (isIdentifier(singleReference) && isImportTypeNode(singleReference.parent)) {\n        cb(singleReference);\n      }\n    }\n    for (const indirectUser of indirectUsers) {\n      for (const node of getPossibleSymbolReferenceNodes(indirectUser, isDefaultExport ? \"default\" : exportName)) {\n        const symbol = checker.getSymbolAtLocation(node);\n        const hasExportAssignmentDeclaration = some(symbol == null ? void 0 : symbol.declarations, (d) => tryCast(d, isExportAssignment) ? true : false);\n        if (isIdentifier(node) && !isImportOrExportSpecifier(node.parent) && (symbol === exportSymbol || hasExportAssignmentDeclaration)) {\n          cb(node);\n        }\n      }\n    }\n  }\n  Core2.eachExportReference = eachExportReference;\n  function shouldAddSingleReference(singleRef, state) {\n    if (!hasMatchingMeaning(singleRef, state))\n      return false;\n    if (state.options.use !== 2 /* Rename */)\n      return true;\n    if (!isIdentifier(singleRef))\n      return false;\n    return !(isImportOrExportSpecifier(singleRef.parent) && singleRef.escapedText === \"default\" /* Default */);\n  }\n  function searchForImportedSymbol(symbol, state) {\n    if (!symbol.declarations)\n      return;\n    for (const declaration of symbol.declarations) {\n      const exportingFile = declaration.getSourceFile();\n      getReferencesInSourceFile(exportingFile, state.createSearch(declaration, symbol, 0 /* Import */), state, state.includesSourceFile(exportingFile));\n    }\n  }\n  function searchForName(sourceFile, search, state) {\n    if (getNameTable(sourceFile).get(search.escapedText) !== void 0) {\n      getReferencesInSourceFile(sourceFile, search, state);\n    }\n  }\n  function getPropertySymbolOfDestructuringAssignment(location, checker) {\n    return isArrayLiteralOrObjectLiteralDestructuringPattern(location.parent.parent) ? checker.getPropertySymbolOfDestructuringAssignment(location) : void 0;\n  }\n  function getSymbolScope(symbol) {\n    const { declarations, flags, parent: parent2, valueDeclaration } = symbol;\n    if (valueDeclaration && (valueDeclaration.kind === 218 /* FunctionExpression */ || valueDeclaration.kind === 232 /* ClassExpression */)) {\n      return valueDeclaration;\n    }\n    if (!declarations) {\n      return void 0;\n    }\n    if (flags & (4 /* Property */ | 8192 /* Method */)) {\n      const privateDeclaration = find(declarations, (d) => hasEffectiveModifier(d, 8 /* Private */) || isPrivateIdentifierClassElementDeclaration(d));\n      if (privateDeclaration) {\n        return getAncestor(privateDeclaration, 264 /* ClassDeclaration */);\n      }\n      return void 0;\n    }\n    if (declarations.some(isObjectBindingElementWithoutPropertyName)) {\n      return void 0;\n    }\n    const exposedByParent = parent2 && !(symbol.flags & 262144 /* TypeParameter */);\n    if (exposedByParent && !(isExternalModuleSymbol(parent2) && !parent2.globalExports)) {\n      return void 0;\n    }\n    let scope;\n    for (const declaration of declarations) {\n      const container = getContainerNode(declaration);\n      if (scope && scope !== container) {\n        return void 0;\n      }\n      if (!container || container.kind === 314 /* SourceFile */ && !isExternalOrCommonJsModule(container)) {\n        return void 0;\n      }\n      scope = container;\n      if (isFunctionExpression(scope)) {\n        let next;\n        while (next = getNextJSDocCommentLocation(scope)) {\n          scope = next;\n        }\n      }\n    }\n    return exposedByParent ? scope.getSourceFile() : scope;\n  }\n  function isSymbolReferencedInFile(definition, checker, sourceFile, searchContainer = sourceFile) {\n    return eachSymbolReferenceInFile(definition, checker, sourceFile, () => true, searchContainer) || false;\n  }\n  Core2.isSymbolReferencedInFile = isSymbolReferencedInFile;\n  function eachSymbolReferenceInFile(definition, checker, sourceFile, cb, searchContainer = sourceFile) {\n    const symbol = isParameterPropertyDeclaration(definition.parent, definition.parent.parent) ? first(checker.getSymbolsOfParameterPropertyDeclaration(definition.parent, definition.text)) : checker.getSymbolAtLocation(definition);\n    if (!symbol)\n      return void 0;\n    for (const token of getPossibleSymbolReferenceNodes(sourceFile, symbol.name, searchContainer)) {\n      if (!isIdentifier(token) || token === definition || token.escapedText !== definition.escapedText)\n        continue;\n      const referenceSymbol = checker.getSymbolAtLocation(token);\n      if (referenceSymbol === symbol || checker.getShorthandAssignmentValueSymbol(token.parent) === symbol || isExportSpecifier(token.parent) && getLocalSymbolForExportSpecifier(token, referenceSymbol, token.parent, checker) === symbol) {\n        const res = cb(token);\n        if (res)\n          return res;\n      }\n    }\n  }\n  Core2.eachSymbolReferenceInFile = eachSymbolReferenceInFile;\n  function getTopMostDeclarationNamesInFile(declarationName, sourceFile) {\n    const candidates = filter(getPossibleSymbolReferenceNodes(sourceFile, declarationName), (name) => !!getDeclarationFromName(name));\n    return candidates.reduce((topMost, decl) => {\n      const depth = getDepth(decl);\n      if (!some(topMost.declarationNames) || depth === topMost.depth) {\n        topMost.declarationNames.push(decl);\n        topMost.depth = depth;\n      } else if (depth < topMost.depth) {\n        topMost.declarationNames = [decl];\n        topMost.depth = depth;\n      }\n      return topMost;\n    }, { depth: Infinity, declarationNames: [] }).declarationNames;\n    function getDepth(declaration) {\n      let depth = 0;\n      while (declaration) {\n        declaration = getContainerNode(declaration);\n        depth++;\n      }\n      return depth;\n    }\n  }\n  Core2.getTopMostDeclarationNamesInFile = getTopMostDeclarationNamesInFile;\n  function someSignatureUsage(signature, sourceFiles, checker, cb) {\n    if (!signature.name || !isIdentifier(signature.name))\n      return false;\n    const symbol = Debug.checkDefined(checker.getSymbolAtLocation(signature.name));\n    for (const sourceFile of sourceFiles) {\n      for (const name of getPossibleSymbolReferenceNodes(sourceFile, symbol.name)) {\n        if (!isIdentifier(name) || name === signature.name || name.escapedText !== signature.name.escapedText)\n          continue;\n        const called = climbPastPropertyAccess(name);\n        const call = isCallExpression(called.parent) && called.parent.expression === called ? called.parent : void 0;\n        const referenceSymbol = checker.getSymbolAtLocation(name);\n        if (referenceSymbol && checker.getRootSymbols(referenceSymbol).some((s) => s === symbol)) {\n          if (cb(name, call)) {\n            return true;\n          }\n        }\n      }\n    }\n    return false;\n  }\n  Core2.someSignatureUsage = someSignatureUsage;\n  function getPossibleSymbolReferenceNodes(sourceFile, symbolName2, container = sourceFile) {\n    return getPossibleSymbolReferencePositions(sourceFile, symbolName2, container).map((pos) => getTouchingPropertyName(sourceFile, pos));\n  }\n  function getPossibleSymbolReferencePositions(sourceFile, symbolName2, container = sourceFile) {\n    const positions = [];\n    if (!symbolName2 || !symbolName2.length) {\n      return positions;\n    }\n    const text = sourceFile.text;\n    const sourceLength = text.length;\n    const symbolNameLength = symbolName2.length;\n    let position = text.indexOf(symbolName2, container.pos);\n    while (position >= 0) {\n      if (position > container.end)\n        break;\n      const endPosition = position + symbolNameLength;\n      if ((position === 0 || !isIdentifierPart(text.charCodeAt(position - 1), 99 /* Latest */)) && (endPosition === sourceLength || !isIdentifierPart(text.charCodeAt(endPosition), 99 /* Latest */))) {\n        positions.push(position);\n      }\n      position = text.indexOf(symbolName2, position + symbolNameLength + 1);\n    }\n    return positions;\n  }\n  function getLabelReferencesInNode(container, targetLabel) {\n    const sourceFile = container.getSourceFile();\n    const labelName = targetLabel.text;\n    const references = mapDefined(getPossibleSymbolReferenceNodes(sourceFile, labelName, container), (node) => node === targetLabel || isJumpStatementTarget(node) && getTargetLabel(node, labelName) === targetLabel ? nodeEntry(node) : void 0);\n    return [{ definition: { type: 1 /* Label */, node: targetLabel }, references }];\n  }\n  function isValidReferencePosition(node, searchSymbolName) {\n    switch (node.kind) {\n      case 80 /* PrivateIdentifier */:\n        if (isJSDocMemberName(node.parent)) {\n          return true;\n        }\n      case 79 /* Identifier */:\n        return node.text.length === searchSymbolName.length;\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 10 /* StringLiteral */: {\n        const str = node;\n        return (isLiteralNameOfPropertyDeclarationOrIndexAccess(str) || isNameOfModuleDeclaration(node) || isExpressionOfExternalModuleImportEqualsDeclaration(node) || isCallExpression(node.parent) && isBindableObjectDefinePropertyCall(node.parent) && node.parent.arguments[1] === node) && str.text.length === searchSymbolName.length;\n      }\n      case 8 /* NumericLiteral */:\n        return isLiteralNameOfPropertyDeclarationOrIndexAccess(node) && node.text.length === searchSymbolName.length;\n      case 89 /* DefaultKeyword */:\n        return \"default\".length === searchSymbolName.length;\n      default:\n        return false;\n    }\n  }\n  function getAllReferencesForImportMeta(sourceFiles, cancellationToken) {\n    const references = flatMap(sourceFiles, (sourceFile) => {\n      cancellationToken.throwIfCancellationRequested();\n      return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, \"meta\", sourceFile), (node) => {\n        const parent2 = node.parent;\n        if (isImportMeta(parent2)) {\n          return nodeEntry(parent2);\n        }\n      });\n    });\n    return references.length ? [{ definition: { type: 2 /* Keyword */, node: references[0].node }, references }] : void 0;\n  }\n  function getAllReferencesForKeyword(sourceFiles, keywordKind, cancellationToken, filter2) {\n    const references = flatMap(sourceFiles, (sourceFile) => {\n      cancellationToken.throwIfCancellationRequested();\n      return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, tokenToString(keywordKind), sourceFile), (referenceLocation) => {\n        if (referenceLocation.kind === keywordKind && (!filter2 || filter2(referenceLocation))) {\n          return nodeEntry(referenceLocation);\n        }\n      });\n    });\n    return references.length ? [{ definition: { type: 2 /* Keyword */, node: references[0].node }, references }] : void 0;\n  }\n  function getReferencesInSourceFile(sourceFile, search, state, addReferencesHere = true) {\n    state.cancellationToken.throwIfCancellationRequested();\n    return getReferencesInContainer(sourceFile, sourceFile, search, state, addReferencesHere);\n  }\n  function getReferencesInContainer(container, sourceFile, search, state, addReferencesHere) {\n    if (!state.markSearchedSymbols(sourceFile, search.allSearchSymbols)) {\n      return;\n    }\n    for (const position of getPossibleSymbolReferencePositions(sourceFile, search.text, container)) {\n      getReferencesAtLocation(sourceFile, position, search, state, addReferencesHere);\n    }\n  }\n  function hasMatchingMeaning(referenceLocation, state) {\n    return !!(getMeaningFromLocation(referenceLocation) & state.searchMeaning);\n  }\n  function getReferencesAtLocation(sourceFile, position, search, state, addReferencesHere) {\n    const referenceLocation = getTouchingPropertyName(sourceFile, position);\n    if (!isValidReferencePosition(referenceLocation, search.text)) {\n      if (!state.options.implementations && (state.options.findInStrings && isInString(sourceFile, position) || state.options.findInComments && isInNonReferenceComment(sourceFile, position))) {\n        state.addStringOrCommentReference(sourceFile.fileName, createTextSpan(position, search.text.length));\n      }\n      return;\n    }\n    if (!hasMatchingMeaning(referenceLocation, state))\n      return;\n    let referenceSymbol = state.checker.getSymbolAtLocation(referenceLocation);\n    if (!referenceSymbol) {\n      return;\n    }\n    const parent2 = referenceLocation.parent;\n    if (isImportSpecifier(parent2) && parent2.propertyName === referenceLocation) {\n      return;\n    }\n    if (isExportSpecifier(parent2)) {\n      Debug.assert(referenceLocation.kind === 79 /* Identifier */);\n      getReferencesAtExportSpecifier(referenceLocation, referenceSymbol, parent2, search, state, addReferencesHere);\n      return;\n    }\n    const relatedSymbol = getRelatedSymbol(search, referenceSymbol, referenceLocation, state);\n    if (!relatedSymbol) {\n      getReferenceForShorthandProperty(referenceSymbol, search, state);\n      return;\n    }\n    switch (state.specialSearchKind) {\n      case 0 /* None */:\n        if (addReferencesHere)\n          addReference(referenceLocation, relatedSymbol, state);\n        break;\n      case 1 /* Constructor */:\n        addConstructorReferences(referenceLocation, sourceFile, search, state);\n        break;\n      case 2 /* Class */:\n        addClassStaticThisReferences(referenceLocation, search, state);\n        break;\n      default:\n        Debug.assertNever(state.specialSearchKind);\n    }\n    if (isInJSFile(referenceLocation) && referenceLocation.parent.kind === 208 /* BindingElement */ && isVariableDeclarationInitializedToBareOrAccessedRequire(referenceLocation.parent.parent.parent)) {\n      referenceSymbol = referenceLocation.parent.symbol;\n      if (!referenceSymbol)\n        return;\n    }\n    getImportOrExportReferences(referenceLocation, referenceSymbol, search, state);\n  }\n  function getReferencesAtExportSpecifier(referenceLocation, referenceSymbol, exportSpecifier, search, state, addReferencesHere, alwaysGetReferences) {\n    Debug.assert(!alwaysGetReferences || !!state.options.providePrefixAndSuffixTextForRename, \"If alwaysGetReferences is true, then prefix/suffix text must be enabled\");\n    const { parent: parent2, propertyName, name } = exportSpecifier;\n    const exportDeclaration = parent2.parent;\n    const localSymbol = getLocalSymbolForExportSpecifier(referenceLocation, referenceSymbol, exportSpecifier, state.checker);\n    if (!alwaysGetReferences && !search.includes(localSymbol)) {\n      return;\n    }\n    if (!propertyName) {\n      if (!(state.options.use === 2 /* Rename */ && name.escapedText === \"default\" /* Default */)) {\n        addRef();\n      }\n    } else if (referenceLocation === propertyName) {\n      if (!exportDeclaration.moduleSpecifier) {\n        addRef();\n      }\n      if (addReferencesHere && state.options.use !== 2 /* Rename */ && state.markSeenReExportRHS(name)) {\n        addReference(name, Debug.checkDefined(exportSpecifier.symbol), state);\n      }\n    } else {\n      if (state.markSeenReExportRHS(referenceLocation)) {\n        addRef();\n      }\n    }\n    if (!isForRenameWithPrefixAndSuffixText(state.options) || alwaysGetReferences) {\n      const isDefaultExport = referenceLocation.originalKeywordKind === 89 /* DefaultKeyword */ || exportSpecifier.name.originalKeywordKind === 89 /* DefaultKeyword */;\n      const exportKind = isDefaultExport ? 1 /* Default */ : 0 /* Named */;\n      const exportSymbol = Debug.checkDefined(exportSpecifier.symbol);\n      const exportInfo = getExportInfo(exportSymbol, exportKind, state.checker);\n      if (exportInfo) {\n        searchForImportsOfExport(referenceLocation, exportSymbol, exportInfo, state);\n      }\n    }\n    if (search.comingFrom !== 1 /* Export */ && exportDeclaration.moduleSpecifier && !propertyName && !isForRenameWithPrefixAndSuffixText(state.options)) {\n      const imported = state.checker.getExportSpecifierLocalTargetSymbol(exportSpecifier);\n      if (imported)\n        searchForImportedSymbol(imported, state);\n    }\n    function addRef() {\n      if (addReferencesHere)\n        addReference(referenceLocation, localSymbol, state);\n    }\n  }\n  function getLocalSymbolForExportSpecifier(referenceLocation, referenceSymbol, exportSpecifier, checker) {\n    return isExportSpecifierAlias(referenceLocation, exportSpecifier) && checker.getExportSpecifierLocalTargetSymbol(exportSpecifier) || referenceSymbol;\n  }\n  function isExportSpecifierAlias(referenceLocation, exportSpecifier) {\n    const { parent: parent2, propertyName, name } = exportSpecifier;\n    Debug.assert(propertyName === referenceLocation || name === referenceLocation);\n    if (propertyName) {\n      return propertyName === referenceLocation;\n    } else {\n      return !parent2.parent.moduleSpecifier;\n    }\n  }\n  function getImportOrExportReferences(referenceLocation, referenceSymbol, search, state) {\n    const importOrExport = getImportOrExportSymbol(referenceLocation, referenceSymbol, state.checker, search.comingFrom === 1 /* Export */);\n    if (!importOrExport)\n      return;\n    const { symbol } = importOrExport;\n    if (importOrExport.kind === 0 /* Import */) {\n      if (!isForRenameWithPrefixAndSuffixText(state.options)) {\n        searchForImportedSymbol(symbol, state);\n      }\n    } else {\n      searchForImportsOfExport(referenceLocation, symbol, importOrExport.exportInfo, state);\n    }\n  }\n  function getReferenceForShorthandProperty({ flags, valueDeclaration }, search, state) {\n    const shorthandValueSymbol = state.checker.getShorthandAssignmentValueSymbol(valueDeclaration);\n    const name = valueDeclaration && getNameOfDeclaration(valueDeclaration);\n    if (!(flags & 33554432 /* Transient */) && name && search.includes(shorthandValueSymbol)) {\n      addReference(name, shorthandValueSymbol, state);\n    }\n  }\n  function addReference(referenceLocation, relatedSymbol, state) {\n    const { kind, symbol } = \"kind\" in relatedSymbol ? relatedSymbol : { kind: void 0, symbol: relatedSymbol };\n    if (state.options.use === 2 /* Rename */ && referenceLocation.kind === 89 /* DefaultKeyword */) {\n      return;\n    }\n    const addRef = state.referenceAdder(symbol);\n    if (state.options.implementations) {\n      addImplementationReferences(referenceLocation, addRef, state);\n    } else {\n      addRef(referenceLocation, kind);\n    }\n  }\n  function addConstructorReferences(referenceLocation, sourceFile, search, state) {\n    if (isNewExpressionTarget(referenceLocation)) {\n      addReference(referenceLocation, search.symbol, state);\n    }\n    const pusher = () => state.referenceAdder(search.symbol);\n    if (isClassLike(referenceLocation.parent)) {\n      Debug.assert(referenceLocation.kind === 89 /* DefaultKeyword */ || referenceLocation.parent.name === referenceLocation);\n      findOwnConstructorReferences(search.symbol, sourceFile, pusher());\n    } else {\n      const classExtending = tryGetClassByExtendingIdentifier(referenceLocation);\n      if (classExtending) {\n        findSuperConstructorAccesses(classExtending, pusher());\n        findInheritedConstructorReferences(classExtending, state);\n      }\n    }\n  }\n  function addClassStaticThisReferences(referenceLocation, search, state) {\n    addReference(referenceLocation, search.symbol, state);\n    const classLike = referenceLocation.parent;\n    if (state.options.use === 2 /* Rename */ || !isClassLike(classLike))\n      return;\n    Debug.assert(classLike.name === referenceLocation);\n    const addRef = state.referenceAdder(search.symbol);\n    for (const member of classLike.members) {\n      if (!(isMethodOrAccessor(member) && isStatic(member))) {\n        continue;\n      }\n      if (member.body) {\n        member.body.forEachChild(function cb(node) {\n          if (node.kind === 109 /* ThisKeyword */) {\n            addRef(node);\n          } else if (!isFunctionLike(node) && !isClassLike(node)) {\n            node.forEachChild(cb);\n          }\n        });\n      }\n    }\n  }\n  function findOwnConstructorReferences(classSymbol, sourceFile, addNode) {\n    const constructorSymbol = getClassConstructorSymbol(classSymbol);\n    if (constructorSymbol && constructorSymbol.declarations) {\n      for (const decl of constructorSymbol.declarations) {\n        const ctrKeyword = findChildOfKind(decl, 136 /* ConstructorKeyword */, sourceFile);\n        Debug.assert(decl.kind === 176 /* Constructor */ && !!ctrKeyword);\n        addNode(ctrKeyword);\n      }\n    }\n    if (classSymbol.exports) {\n      classSymbol.exports.forEach((member) => {\n        const decl = member.valueDeclaration;\n        if (decl && decl.kind === 174 /* MethodDeclaration */) {\n          const body = decl.body;\n          if (body) {\n            forEachDescendantOfKind(body, 109 /* ThisKeyword */, (thisKeyword) => {\n              if (isNewExpressionTarget(thisKeyword)) {\n                addNode(thisKeyword);\n              }\n            });\n          }\n        }\n      });\n    }\n  }\n  function getClassConstructorSymbol(classSymbol) {\n    return classSymbol.members && classSymbol.members.get(\"__constructor\" /* Constructor */);\n  }\n  function findSuperConstructorAccesses(classDeclaration, addNode) {\n    const constructor = getClassConstructorSymbol(classDeclaration.symbol);\n    if (!(constructor && constructor.declarations)) {\n      return;\n    }\n    for (const decl of constructor.declarations) {\n      Debug.assert(decl.kind === 176 /* Constructor */);\n      const body = decl.body;\n      if (body) {\n        forEachDescendantOfKind(body, 107 /* SuperKeyword */, (node) => {\n          if (isCallExpressionTarget(node)) {\n            addNode(node);\n          }\n        });\n      }\n    }\n  }\n  function hasOwnConstructor(classDeclaration) {\n    return !!getClassConstructorSymbol(classDeclaration.symbol);\n  }\n  function findInheritedConstructorReferences(classDeclaration, state) {\n    if (hasOwnConstructor(classDeclaration))\n      return;\n    const classSymbol = classDeclaration.symbol;\n    const search = state.createSearch(void 0, classSymbol, void 0);\n    getReferencesInContainerOrFiles(classSymbol, state, search);\n  }\n  function addImplementationReferences(refNode, addReference2, state) {\n    if (isDeclarationName(refNode) && isImplementation(refNode.parent)) {\n      addReference2(refNode);\n      return;\n    }\n    if (refNode.kind !== 79 /* Identifier */) {\n      return;\n    }\n    if (refNode.parent.kind === 306 /* ShorthandPropertyAssignment */) {\n      getReferenceEntriesForShorthandPropertyAssignment(refNode, state.checker, addReference2);\n    }\n    const containingClass = getContainingClassIfInHeritageClause(refNode);\n    if (containingClass) {\n      addReference2(containingClass);\n      return;\n    }\n    const typeNode = findAncestor(refNode, (a) => !isQualifiedName(a.parent) && !isTypeNode(a.parent) && !isTypeElement(a.parent));\n    const typeHavingNode = typeNode.parent;\n    if (hasType(typeHavingNode) && typeHavingNode.type === typeNode && state.markSeenContainingTypeReference(typeHavingNode)) {\n      if (hasInitializer(typeHavingNode)) {\n        addIfImplementation(typeHavingNode.initializer);\n      } else if (isFunctionLike(typeHavingNode) && typeHavingNode.body) {\n        const body = typeHavingNode.body;\n        if (body.kind === 242 /* Block */) {\n          forEachReturnStatement(body, (returnStatement) => {\n            if (returnStatement.expression)\n              addIfImplementation(returnStatement.expression);\n          });\n        } else {\n          addIfImplementation(body);\n        }\n      } else if (isAssertionExpression(typeHavingNode)) {\n        addIfImplementation(typeHavingNode.expression);\n      }\n    }\n    function addIfImplementation(e) {\n      if (isImplementationExpression(e))\n        addReference2(e);\n    }\n  }\n  function getContainingClassIfInHeritageClause(node) {\n    return isIdentifier(node) || isPropertyAccessExpression(node) ? getContainingClassIfInHeritageClause(node.parent) : isExpressionWithTypeArguments(node) ? tryCast(node.parent.parent, isClassLike) : void 0;\n  }\n  function isImplementationExpression(node) {\n    switch (node.kind) {\n      case 217 /* ParenthesizedExpression */:\n        return isImplementationExpression(node.expression);\n      case 219 /* ArrowFunction */:\n      case 218 /* FunctionExpression */:\n      case 210 /* ObjectLiteralExpression */:\n      case 232 /* ClassExpression */:\n      case 209 /* ArrayLiteralExpression */:\n        return true;\n      default:\n        return false;\n    }\n  }\n  function explicitlyInheritsFrom(symbol, parent2, cachedResults, checker) {\n    if (symbol === parent2) {\n      return true;\n    }\n    const key = getSymbolId(symbol) + \",\" + getSymbolId(parent2);\n    const cached = cachedResults.get(key);\n    if (cached !== void 0) {\n      return cached;\n    }\n    cachedResults.set(key, false);\n    const inherits = !!symbol.declarations && symbol.declarations.some((declaration) => getAllSuperTypeNodes(declaration).some((typeReference) => {\n      const type = checker.getTypeAtLocation(typeReference);\n      return !!type && !!type.symbol && explicitlyInheritsFrom(type.symbol, parent2, cachedResults, checker);\n    }));\n    cachedResults.set(key, inherits);\n    return inherits;\n  }\n  function getReferencesForSuperKeyword(superKeyword) {\n    let searchSpaceNode = getSuperContainer(superKeyword, false);\n    if (!searchSpaceNode) {\n      return void 0;\n    }\n    let staticFlag = 32 /* Static */;\n    switch (searchSpaceNode.kind) {\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 176 /* Constructor */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        staticFlag &= getSyntacticModifierFlags(searchSpaceNode);\n        searchSpaceNode = searchSpaceNode.parent;\n        break;\n      default:\n        return void 0;\n    }\n    const sourceFile = searchSpaceNode.getSourceFile();\n    const references = mapDefined(getPossibleSymbolReferenceNodes(sourceFile, \"super\", searchSpaceNode), (node) => {\n      if (node.kind !== 107 /* SuperKeyword */) {\n        return;\n      }\n      const container = getSuperContainer(node, false);\n      return container && isStatic(container) === !!staticFlag && container.parent.symbol === searchSpaceNode.symbol ? nodeEntry(node) : void 0;\n    });\n    return [{ definition: { type: 0 /* Symbol */, symbol: searchSpaceNode.symbol }, references }];\n  }\n  function isParameterName(node) {\n    return node.kind === 79 /* Identifier */ && node.parent.kind === 168 /* Parameter */ && node.parent.name === node;\n  }\n  function getReferencesForThisKeyword(thisOrSuperKeyword, sourceFiles, cancellationToken) {\n    let searchSpaceNode = getThisContainer(thisOrSuperKeyword, false);\n    let staticFlag = 32 /* Static */;\n    switch (searchSpaceNode.kind) {\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n        if (isObjectLiteralMethod(searchSpaceNode)) {\n          staticFlag &= getSyntacticModifierFlags(searchSpaceNode);\n          searchSpaceNode = searchSpaceNode.parent;\n          break;\n        }\n      case 171 /* PropertyDeclaration */:\n      case 170 /* PropertySignature */:\n      case 176 /* Constructor */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        staticFlag &= getSyntacticModifierFlags(searchSpaceNode);\n        searchSpaceNode = searchSpaceNode.parent;\n        break;\n      case 314 /* SourceFile */:\n        if (isExternalModule(searchSpaceNode) || isParameterName(thisOrSuperKeyword)) {\n          return void 0;\n        }\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n        break;\n      default:\n        return void 0;\n    }\n    const references = flatMap(searchSpaceNode.kind === 314 /* SourceFile */ ? sourceFiles : [searchSpaceNode.getSourceFile()], (sourceFile) => {\n      cancellationToken.throwIfCancellationRequested();\n      return getPossibleSymbolReferenceNodes(sourceFile, \"this\", isSourceFile(searchSpaceNode) ? sourceFile : searchSpaceNode).filter((node) => {\n        if (!isThis(node)) {\n          return false;\n        }\n        const container = getThisContainer(node, false);\n        switch (searchSpaceNode.kind) {\n          case 218 /* FunctionExpression */:\n          case 263 /* FunctionDeclaration */:\n            return searchSpaceNode.symbol === container.symbol;\n          case 174 /* MethodDeclaration */:\n          case 173 /* MethodSignature */:\n            return isObjectLiteralMethod(searchSpaceNode) && searchSpaceNode.symbol === container.symbol;\n          case 232 /* ClassExpression */:\n          case 264 /* ClassDeclaration */:\n          case 210 /* ObjectLiteralExpression */:\n          case 265 /* StructDeclaration */:\n            return container.parent && searchSpaceNode.symbol === container.parent.symbol && isStatic(container) === !!staticFlag;\n          case 314 /* SourceFile */:\n            return container.kind === 314 /* SourceFile */ && !isExternalModule(container) && !isParameterName(node);\n        }\n      });\n    }).map((n) => nodeEntry(n));\n    const thisParameter = firstDefined(references, (r) => isParameter(r.node.parent) ? r.node : void 0);\n    return [{\n      definition: { type: 3 /* This */, node: thisParameter || thisOrSuperKeyword },\n      references\n    }];\n  }\n  function getReferencesForStringLiteral(node, sourceFiles, checker, cancellationToken) {\n    const type = getContextualTypeFromParentOrAncestorTypeNode(node, checker);\n    const references = flatMap(sourceFiles, (sourceFile) => {\n      cancellationToken.throwIfCancellationRequested();\n      return mapDefined(getPossibleSymbolReferenceNodes(sourceFile, node.text), (ref) => {\n        if (isStringLiteralLike(ref) && ref.text === node.text) {\n          if (type) {\n            const refType = getContextualTypeFromParentOrAncestorTypeNode(ref, checker);\n            if (type !== checker.getStringType() && type === refType) {\n              return nodeEntry(ref, 2 /* StringLiteral */);\n            }\n          } else {\n            return isNoSubstitutionTemplateLiteral(ref) && !rangeIsOnSingleLine(ref, sourceFile) ? void 0 : nodeEntry(ref, 2 /* StringLiteral */);\n          }\n        }\n      });\n    });\n    return [{\n      definition: { type: 4 /* String */, node },\n      references\n    }];\n  }\n  function populateSearchSymbolSet(symbol, location, checker, isForRename, providePrefixAndSuffixText, implementations) {\n    const result = [];\n    forEachRelatedSymbol(\n      symbol,\n      location,\n      checker,\n      isForRename,\n      !(isForRename && providePrefixAndSuffixText),\n      (sym, root, base) => {\n        if (base) {\n          if (isStaticSymbol(symbol) !== isStaticSymbol(base)) {\n            base = void 0;\n          }\n        }\n        result.push(base || root || sym);\n      },\n      () => !implementations\n    );\n    return result;\n  }\n  function forEachRelatedSymbol(symbol, location, checker, isForRenamePopulateSearchSymbolSet, onlyIncludeBindingElementAtReferenceLocation, cbSymbol, allowBaseTypes) {\n    const containingObjectLiteralElement = getContainingObjectLiteralElement(location);\n    if (containingObjectLiteralElement) {\n      const shorthandValueSymbol = checker.getShorthandAssignmentValueSymbol(location.parent);\n      if (shorthandValueSymbol && isForRenamePopulateSearchSymbolSet) {\n        return cbSymbol(shorthandValueSymbol, void 0, void 0, 3 /* SearchedLocalFoundProperty */);\n      }\n      const contextualType = checker.getContextualType(containingObjectLiteralElement.parent);\n      const res2 = contextualType && firstDefined(\n        getPropertySymbolsFromContextualType(containingObjectLiteralElement, checker, contextualType, true),\n        (sym) => fromRoot(sym, 4 /* SearchedPropertyFoundLocal */)\n      );\n      if (res2)\n        return res2;\n      const propertySymbol = getPropertySymbolOfDestructuringAssignment(location, checker);\n      const res1 = propertySymbol && cbSymbol(propertySymbol, void 0, void 0, 4 /* SearchedPropertyFoundLocal */);\n      if (res1)\n        return res1;\n      const res22 = shorthandValueSymbol && cbSymbol(shorthandValueSymbol, void 0, void 0, 3 /* SearchedLocalFoundProperty */);\n      if (res22)\n        return res22;\n    }\n    const aliasedSymbol = getMergedAliasedSymbolOfNamespaceExportDeclaration(location, symbol, checker);\n    if (aliasedSymbol) {\n      const res2 = cbSymbol(aliasedSymbol, void 0, void 0, 1 /* Node */);\n      if (res2)\n        return res2;\n    }\n    const res = fromRoot(symbol);\n    if (res)\n      return res;\n    if (symbol.valueDeclaration && isParameterPropertyDeclaration(symbol.valueDeclaration, symbol.valueDeclaration.parent)) {\n      const paramProps = checker.getSymbolsOfParameterPropertyDeclaration(cast(symbol.valueDeclaration, isParameter), symbol.name);\n      Debug.assert(paramProps.length === 2 && !!(paramProps[0].flags & 1 /* FunctionScopedVariable */) && !!(paramProps[1].flags & 4 /* Property */));\n      return fromRoot(symbol.flags & 1 /* FunctionScopedVariable */ ? paramProps[1] : paramProps[0]);\n    }\n    const exportSpecifier = getDeclarationOfKind(symbol, 284 /* ExportSpecifier */);\n    if (!isForRenamePopulateSearchSymbolSet || exportSpecifier && !exportSpecifier.propertyName) {\n      const localSymbol = exportSpecifier && checker.getExportSpecifierLocalTargetSymbol(exportSpecifier);\n      if (localSymbol) {\n        const res2 = cbSymbol(localSymbol, void 0, void 0, 1 /* Node */);\n        if (res2)\n          return res2;\n      }\n    }\n    if (!isForRenamePopulateSearchSymbolSet) {\n      let bindingElementPropertySymbol;\n      if (onlyIncludeBindingElementAtReferenceLocation) {\n        bindingElementPropertySymbol = isObjectBindingElementWithoutPropertyName(location.parent) ? getPropertySymbolFromBindingElement(checker, location.parent) : void 0;\n      } else {\n        bindingElementPropertySymbol = getPropertySymbolOfObjectBindingPatternWithoutPropertyName(symbol, checker);\n      }\n      return bindingElementPropertySymbol && fromRoot(bindingElementPropertySymbol, 4 /* SearchedPropertyFoundLocal */);\n    }\n    Debug.assert(isForRenamePopulateSearchSymbolSet);\n    const includeOriginalSymbolOfBindingElement = onlyIncludeBindingElementAtReferenceLocation;\n    if (includeOriginalSymbolOfBindingElement) {\n      const bindingElementPropertySymbol = getPropertySymbolOfObjectBindingPatternWithoutPropertyName(symbol, checker);\n      return bindingElementPropertySymbol && fromRoot(bindingElementPropertySymbol, 4 /* SearchedPropertyFoundLocal */);\n    }\n    function fromRoot(sym, kind) {\n      return firstDefined(checker.getRootSymbols(sym), (rootSymbol) => cbSymbol(sym, rootSymbol, void 0, kind) || (rootSymbol.parent && rootSymbol.parent.flags & (32 /* Class */ | 64 /* Interface */) && allowBaseTypes(rootSymbol) ? getPropertySymbolsFromBaseTypes(rootSymbol.parent, rootSymbol.name, checker, (base) => cbSymbol(sym, rootSymbol, base, kind)) : void 0));\n    }\n    function getPropertySymbolOfObjectBindingPatternWithoutPropertyName(symbol2, checker2) {\n      const bindingElement = getDeclarationOfKind(symbol2, 208 /* BindingElement */);\n      if (bindingElement && isObjectBindingElementWithoutPropertyName(bindingElement)) {\n        return getPropertySymbolFromBindingElement(checker2, bindingElement);\n      }\n    }\n  }\n  function getPropertySymbolsFromBaseTypes(symbol, propertyName, checker, cb) {\n    const seen = new Map2();\n    return recur(symbol);\n    function recur(symbol2) {\n      if (!(symbol2.flags & (32 /* Class */ | 64 /* Interface */)) || !addToSeen(seen, getSymbolId(symbol2)))\n        return;\n      return firstDefined(symbol2.declarations, (declaration) => firstDefined(getAllSuperTypeNodes(declaration), (typeReference) => {\n        const type = checker.getTypeAtLocation(typeReference);\n        const propertySymbol = type && type.symbol && checker.getPropertyOfType(type, propertyName);\n        return type && propertySymbol && (firstDefined(checker.getRootSymbols(propertySymbol), cb) || recur(type.symbol));\n      }));\n    }\n  }\n  function isStaticSymbol(symbol) {\n    if (!symbol.valueDeclaration)\n      return false;\n    const modifierFlags = getEffectiveModifierFlags(symbol.valueDeclaration);\n    return !!(modifierFlags & 32 /* Static */);\n  }\n  function getRelatedSymbol(search, referenceSymbol, referenceLocation, state) {\n    const { checker } = state;\n    return forEachRelatedSymbol(\n      referenceSymbol,\n      referenceLocation,\n      checker,\n      false,\n      state.options.use !== 2 /* Rename */ || !!state.options.providePrefixAndSuffixTextForRename,\n      (sym, rootSymbol, baseSymbol, kind) => {\n        if (baseSymbol) {\n          if (isStaticSymbol(referenceSymbol) !== isStaticSymbol(baseSymbol)) {\n            baseSymbol = void 0;\n          }\n        }\n        return search.includes(baseSymbol || rootSymbol || sym) ? { symbol: rootSymbol && !(getCheckFlags(sym) & 6 /* Synthetic */) ? rootSymbol : sym, kind } : void 0;\n      },\n      (rootSymbol) => !(search.parents && !search.parents.some((parent2) => explicitlyInheritsFrom(rootSymbol.parent, parent2, state.inheritsFromCache, checker)))\n    );\n  }\n  function getIntersectingMeaningFromDeclarations(node, symbol) {\n    let meaning = getMeaningFromLocation(node);\n    const { declarations } = symbol;\n    if (declarations) {\n      let lastIterationMeaning;\n      do {\n        lastIterationMeaning = meaning;\n        for (const declaration of declarations) {\n          const declarationMeaning = getMeaningFromDeclaration(declaration);\n          if (declarationMeaning & meaning) {\n            meaning |= declarationMeaning;\n          }\n        }\n      } while (meaning !== lastIterationMeaning);\n    }\n    return meaning;\n  }\n  Core2.getIntersectingMeaningFromDeclarations = getIntersectingMeaningFromDeclarations;\n  function isImplementation(node) {\n    return !!(node.flags & 16777216 /* Ambient */) ? !(isInterfaceDeclaration(node) || isTypeAliasDeclaration(node)) : isVariableLike(node) ? hasInitializer(node) : isFunctionLikeDeclaration(node) ? !!node.body : isClassLike(node) || isModuleOrEnumDeclaration(node);\n  }\n  function getReferenceEntriesForShorthandPropertyAssignment(node, checker, addReference2) {\n    const refSymbol = checker.getSymbolAtLocation(node);\n    const shorthandSymbol = checker.getShorthandAssignmentValueSymbol(refSymbol.valueDeclaration);\n    if (shorthandSymbol) {\n      for (const declaration of shorthandSymbol.getDeclarations()) {\n        if (getMeaningFromDeclaration(declaration) & 1 /* Value */) {\n          addReference2(declaration);\n        }\n      }\n    }\n  }\n  Core2.getReferenceEntriesForShorthandPropertyAssignment = getReferenceEntriesForShorthandPropertyAssignment;\n  function forEachDescendantOfKind(node, kind, action) {\n    forEachChild(node, (child) => {\n      if (child.kind === kind) {\n        action(child);\n      }\n      forEachDescendantOfKind(child, kind, action);\n    });\n  }\n  function tryGetClassByExtendingIdentifier(node) {\n    return tryGetClassExtendingExpressionWithTypeArguments(climbPastPropertyAccess(node).parent);\n  }\n  function getParentSymbolsOfPropertyAccess(location, symbol, checker) {\n    const propertyAccessExpression = isRightSideOfPropertyAccess(location) ? location.parent : void 0;\n    const lhsType = propertyAccessExpression && checker.getTypeAtLocation(propertyAccessExpression.expression);\n    const res = mapDefined(lhsType && (lhsType.isUnionOrIntersection() ? lhsType.types : lhsType.symbol === symbol.parent ? void 0 : [lhsType]), (t) => t.symbol && t.symbol.flags & (32 /* Class */ | 64 /* Interface */) ? t.symbol : void 0);\n    return res.length === 0 ? void 0 : res;\n  }\n  function isForRenameWithPrefixAndSuffixText(options) {\n    return options.use === 2 /* Rename */ && options.providePrefixAndSuffixTextForRename;\n  }\n})(Core || (Core = {}));\n\n// src/services/_namespaces/ts.GoToDefinition.ts\nvar ts_GoToDefinition_exports = {};\n__export(ts_GoToDefinition_exports, {\n  createDefinitionInfo: () => createDefinitionInfo,\n  findReferenceInPosition: () => findReferenceInPosition,\n  getDefinitionAndBoundSpan: () => getDefinitionAndBoundSpan,\n  getDefinitionAtPosition: () => getDefinitionAtPosition,\n  getReferenceAtPosition: () => getReferenceAtPosition,\n  getTypeDefinitionAtPosition: () => getTypeDefinitionAtPosition\n});\n\n// src/services/goToDefinition.ts\nfunction getDefinitionAtPosition(program, sourceFile, position, searchOtherFilesOnly, stopAtAlias) {\n  var _a2, _b;\n  const resolvedRef = getReferenceAtPosition(sourceFile, position, program);\n  const fileReferenceDefinition = resolvedRef && [getDefinitionInfoForFileReference(resolvedRef.reference.fileName, resolvedRef.fileName, resolvedRef.unverified)] || emptyArray;\n  if (resolvedRef == null ? void 0 : resolvedRef.file) {\n    return fileReferenceDefinition;\n  }\n  const node = getTouchingPropertyName(sourceFile, position);\n  if (node === sourceFile) {\n    return void 0;\n  }\n  const { parent: parent2 } = node;\n  const typeChecker3 = program.getTypeChecker();\n  if (node.kind === 163 /* OverrideKeyword */ || isIdentifier(node) && isJSDocOverrideTag(parent2) && parent2.tagName === node) {\n    return getDefinitionFromOverriddenMember(typeChecker3, node) || emptyArray;\n  }\n  if (isJumpStatementTarget(node)) {\n    const label = getTargetLabel(node.parent, node.text);\n    return label ? [createDefinitionInfoFromName(typeChecker3, label, \"label\" /* label */, node.text, void 0)] : void 0;\n  }\n  if (node.kind === 106 /* ReturnKeyword */) {\n    const functionDeclaration = findAncestor(node.parent, (n) => isClassStaticBlockDeclaration(n) ? \"quit\" : isFunctionLikeDeclaration(n));\n    return functionDeclaration ? [createDefinitionFromSignatureDeclaration(typeChecker3, functionDeclaration)] : void 0;\n  }\n  if (isStaticModifier(node) && isClassStaticBlockDeclaration(node.parent)) {\n    const classDecl = node.parent.parent;\n    const { symbol: symbol2, failedAliasResolution: failedAliasResolution2 } = getSymbol(classDecl, typeChecker3, stopAtAlias);\n    const staticBlocks = filter(classDecl.members, isClassStaticBlockDeclaration);\n    const containerName = symbol2 ? typeChecker3.symbolToString(symbol2, classDecl) : \"\";\n    const sourceFile2 = node.getSourceFile();\n    return map(staticBlocks, (staticBlock) => {\n      let { pos } = moveRangePastModifiers(staticBlock);\n      pos = skipTrivia(sourceFile2.text, pos);\n      return createDefinitionInfoFromName(typeChecker3, staticBlock, \"constructor\" /* constructorImplementationElement */, \"static {}\", containerName, false, failedAliasResolution2, { start: pos, length: \"static\".length });\n    });\n  }\n  let { symbol, failedAliasResolution } = getSymbol(node, typeChecker3, stopAtAlias);\n  let fallbackNode = node;\n  if (searchOtherFilesOnly && failedAliasResolution) {\n    const importDeclaration = forEach([node, ...(symbol == null ? void 0 : symbol.declarations) || emptyArray], (n) => findAncestor(n, isAnyImportOrBareOrAccessedRequire));\n    const moduleSpecifier = importDeclaration && tryGetModuleSpecifierFromDeclaration(importDeclaration);\n    if (moduleSpecifier) {\n      ({ symbol, failedAliasResolution } = getSymbol(moduleSpecifier, typeChecker3, stopAtAlias));\n      fallbackNode = moduleSpecifier;\n    }\n  }\n  if (!symbol && isModuleSpecifierLike(fallbackNode)) {\n    const ref = (_a2 = sourceFile.resolvedModules) == null ? void 0 : _a2.get(fallbackNode.text, getModeForUsageLocation(sourceFile, fallbackNode));\n    if (ref) {\n      return [{\n        name: fallbackNode.text,\n        fileName: ref.resolvedFileName,\n        containerName: void 0,\n        containerKind: void 0,\n        kind: \"script\" /* scriptElement */,\n        textSpan: createTextSpan(0, 0),\n        failedAliasResolution,\n        isAmbient: isDeclarationFileName(ref.resolvedFileName),\n        unverified: fallbackNode !== node\n      }];\n    }\n  }\n  if (!symbol) {\n    return concatenate(fileReferenceDefinition, getDefinitionInfoForIndexSignatures(node, typeChecker3));\n  }\n  if (searchOtherFilesOnly && every(symbol.declarations, (d) => d.getSourceFile().fileName === sourceFile.fileName))\n    return void 0;\n  if (parent2.kind === 213 /* CallExpression */ || parent2.kind === 220 /* EtsComponentExpression */ && isCalledStructDeclaration(symbol.getDeclarations())) {\n    const declarations = symbol.getDeclarations();\n    if ((declarations == null ? void 0 : declarations.length) && declarations[0].kind === 265 /* StructDeclaration */) {\n      return getDefinitionFromSymbol(typeChecker3, symbol, node);\n    }\n  }\n  const calledDeclaration = tryGetSignatureDeclaration(typeChecker3, node);\n  const compilerOptions = program.getCompilerOptions();\n  if (calledDeclaration && !(isJsxOpeningLikeElement(node.parent) && isConstructorLike(calledDeclaration)) && !isVirtualConstructor(typeChecker3, calledDeclaration.symbol, calledDeclaration)) {\n    const sigInfo = createDefinitionFromSignatureDeclaration(typeChecker3, calledDeclaration, failedAliasResolution);\n    if (typeChecker3.getRootSymbols(symbol).some((s) => symbolMatchesSignature(s, calledDeclaration))) {\n      return [sigInfo];\n    } else if (isIdentifier(node) && isNewExpression(parent2) && ((_b = compilerOptions.ets) == null ? void 0 : _b.components.some((component) => component === node.escapedText.toString()))) {\n      return [sigInfo];\n    } else {\n      const defs = getDefinitionFromSymbol(typeChecker3, symbol, node, failedAliasResolution, calledDeclaration) || emptyArray;\n      if (isIdentifier(node) && isEtsComponentExpression(parent2)) {\n        return [...defs];\n      }\n      return node.kind === 107 /* SuperKeyword */ ? [sigInfo, ...defs] : [...defs, sigInfo];\n    }\n  }\n  if (node.parent.kind === 306 /* ShorthandPropertyAssignment */) {\n    const shorthandSymbol = typeChecker3.getShorthandAssignmentValueSymbol(symbol.valueDeclaration);\n    const definitions = (shorthandSymbol == null ? void 0 : shorthandSymbol.declarations) ? shorthandSymbol.declarations.map((decl) => createDefinitionInfo(decl, typeChecker3, shorthandSymbol, node, false, failedAliasResolution)) : emptyArray;\n    return concatenate(definitions, getDefinitionFromObjectLiteralElement(typeChecker3, node) || emptyArray);\n  }\n  if (isPropertyName(node) && isBindingElement(parent2) && isObjectBindingPattern(parent2.parent) && node === (parent2.propertyName || parent2.name)) {\n    const name = getNameFromPropertyName(node);\n    const type = typeChecker3.getTypeAtLocation(parent2.parent);\n    return name === void 0 ? emptyArray : flatMap(type.isUnion() ? type.types : [type], (t) => {\n      const prop = t.getProperty(name);\n      return prop && getDefinitionFromSymbol(typeChecker3, prop, node);\n    });\n  }\n  return concatenate(fileReferenceDefinition, getDefinitionFromObjectLiteralElement(typeChecker3, node) || getDefinitionFromSymbol(typeChecker3, symbol, node, failedAliasResolution));\n}\nfunction symbolMatchesSignature(s, calledDeclaration) {\n  return s === calledDeclaration.symbol || s === calledDeclaration.symbol.parent || isAssignmentExpression(calledDeclaration.parent) || !isCallLikeExpression(calledDeclaration.parent) && s === calledDeclaration.parent.symbol;\n}\nfunction getDefinitionFromObjectLiteralElement(typeChecker3, node) {\n  const element = getContainingObjectLiteralElement(node);\n  if (element) {\n    const contextualType = element && typeChecker3.getContextualType(element.parent);\n    if (contextualType) {\n      return flatMap(getPropertySymbolsFromContextualType(element, typeChecker3, contextualType, false), (propertySymbol) => getDefinitionFromSymbol(typeChecker3, propertySymbol, node));\n    }\n  }\n}\nfunction getDefinitionFromOverriddenMember(typeChecker3, node) {\n  const classElement = findAncestor(node, isClassElement);\n  if (!(classElement && classElement.name))\n    return;\n  const baseDeclaration = findAncestor(classElement, isClassLike);\n  if (!baseDeclaration)\n    return;\n  const baseTypeNode = getEffectiveBaseTypeNode(baseDeclaration);\n  if (!baseTypeNode)\n    return;\n  const expression = skipParentheses(baseTypeNode.expression);\n  const base = isClassExpression(expression) ? expression.symbol : typeChecker3.getSymbolAtLocation(expression);\n  if (!base)\n    return;\n  const name = unescapeLeadingUnderscores(getTextOfPropertyName(classElement.name));\n  const symbol = hasStaticModifier(classElement) ? typeChecker3.getPropertyOfType(typeChecker3.getTypeOfSymbol(base), name) : typeChecker3.getPropertyOfType(typeChecker3.getDeclaredTypeOfSymbol(base), name);\n  if (!symbol)\n    return;\n  return getDefinitionFromSymbol(typeChecker3, symbol, node);\n}\nfunction getReferenceAtPosition(sourceFile, position, program) {\n  var _a2, _b;\n  const referencePath = findReferenceInPosition(sourceFile.referencedFiles, position);\n  if (referencePath) {\n    const file = program.getSourceFileFromReference(sourceFile, referencePath);\n    return file && { reference: referencePath, fileName: file.fileName, file, unverified: false };\n  }\n  const typeReferenceDirective = findReferenceInPosition(sourceFile.typeReferenceDirectives, position);\n  if (typeReferenceDirective) {\n    const reference = program.getResolvedTypeReferenceDirectives().get(typeReferenceDirective.fileName, typeReferenceDirective.resolutionMode || sourceFile.impliedNodeFormat);\n    const file = reference && program.getSourceFile(reference.resolvedFileName);\n    return file && { reference: typeReferenceDirective, fileName: file.fileName, file, unverified: false };\n  }\n  const libReferenceDirective = findReferenceInPosition(sourceFile.libReferenceDirectives, position);\n  if (libReferenceDirective) {\n    const file = program.getLibFileFromReference(libReferenceDirective);\n    return file && { reference: libReferenceDirective, fileName: file.fileName, file, unverified: false };\n  }\n  if ((_a2 = sourceFile.resolvedModules) == null ? void 0 : _a2.size()) {\n    const node = getTouchingToken(sourceFile, position);\n    if (isModuleSpecifierLike(node) && isExternalModuleNameRelative(node.text) && sourceFile.resolvedModules.has(node.text, getModeForUsageLocation(sourceFile, node))) {\n      const verifiedFileName = (_b = sourceFile.resolvedModules.get(node.text, getModeForUsageLocation(sourceFile, node))) == null ? void 0 : _b.resolvedFileName;\n      const fileName = verifiedFileName || resolvePath(getDirectoryPath(sourceFile.fileName), node.text);\n      return {\n        file: program.getSourceFile(fileName),\n        fileName,\n        reference: {\n          pos: node.getStart(),\n          end: node.getEnd(),\n          fileName: node.text\n        },\n        unverified: !verifiedFileName\n      };\n    }\n  }\n  return void 0;\n}\nfunction getTypeDefinitionAtPosition(typeChecker3, sourceFile, position) {\n  const node = getTouchingPropertyName(sourceFile, position);\n  if (node === sourceFile) {\n    return void 0;\n  }\n  if (isImportMeta(node.parent) && node.parent.name === node) {\n    return definitionFromType(typeChecker3.getTypeAtLocation(node.parent), typeChecker3, node.parent, false);\n  }\n  const { symbol, failedAliasResolution } = getSymbol(node, typeChecker3, false);\n  if (!symbol)\n    return void 0;\n  const typeAtLocation = typeChecker3.getTypeOfSymbolAtLocation(symbol, node);\n  const returnType = tryGetReturnTypeOfFunction(symbol, typeAtLocation, typeChecker3);\n  const fromReturnType = returnType && definitionFromType(returnType, typeChecker3, node, failedAliasResolution);\n  const typeDefinitions = fromReturnType && fromReturnType.length !== 0 ? fromReturnType : definitionFromType(typeAtLocation, typeChecker3, node, failedAliasResolution);\n  return typeDefinitions.length ? typeDefinitions : !(symbol.flags & 111551 /* Value */) && symbol.flags & 788968 /* Type */ ? getDefinitionFromSymbol(typeChecker3, skipAlias(symbol, typeChecker3), node, failedAliasResolution) : void 0;\n}\nfunction definitionFromType(type, checker, node, failedAliasResolution) {\n  return flatMap(type.isUnion() && !(type.flags & 32 /* Enum */) ? type.types : [type], (t) => t.symbol && getDefinitionFromSymbol(checker, t.symbol, node, failedAliasResolution));\n}\nfunction tryGetReturnTypeOfFunction(symbol, type, checker) {\n  if (type.symbol === symbol || symbol.valueDeclaration && type.symbol && isVariableDeclaration(symbol.valueDeclaration) && symbol.valueDeclaration.initializer === type.symbol.valueDeclaration) {\n    const sigs = type.getCallSignatures();\n    if (sigs.length === 1)\n      return checker.getReturnTypeOfSignature(first(sigs));\n  }\n  return void 0;\n}\nfunction getDefinitionAndBoundSpan(program, sourceFile, position) {\n  const definitions = getDefinitionAtPosition(program, sourceFile, position);\n  if (!definitions || definitions.length === 0) {\n    return void 0;\n  }\n  const comment = findReferenceInPosition(sourceFile.referencedFiles, position) || findReferenceInPosition(sourceFile.typeReferenceDirectives, position) || findReferenceInPosition(sourceFile.libReferenceDirectives, position);\n  if (comment) {\n    return { definitions, textSpan: createTextSpanFromRange(comment) };\n  }\n  const node = getTouchingPropertyName(sourceFile, position);\n  const textSpan = createTextSpan(node.getStart(), node.getWidth());\n  return { definitions, textSpan };\n}\nfunction getDefinitionInfoForIndexSignatures(node, checker) {\n  return mapDefined(checker.getIndexInfosAtLocation(node), (info) => info.declaration && createDefinitionFromSignatureDeclaration(checker, info.declaration));\n}\nfunction getSymbol(node, checker, stopAtAlias) {\n  const symbol = checker.getSymbolAtLocation(node);\n  let failedAliasResolution = false;\n  if ((symbol == null ? void 0 : symbol.declarations) && symbol.flags & 2097152 /* Alias */ && !stopAtAlias && shouldSkipAlias(node, symbol.declarations[0])) {\n    const aliased = checker.getAliasedSymbol(symbol);\n    if (aliased.declarations) {\n      return { symbol: aliased };\n    } else {\n      failedAliasResolution = true;\n    }\n  }\n  return { symbol, failedAliasResolution };\n}\nfunction shouldSkipAlias(node, declaration) {\n  if (node.kind !== 79 /* Identifier */) {\n    return false;\n  }\n  if (node.parent === declaration) {\n    return true;\n  }\n  if (declaration.kind === 277 /* NamespaceImport */) {\n    return false;\n  }\n  return true;\n}\nfunction isExpandoDeclaration(node) {\n  if (!isAssignmentDeclaration(node))\n    return false;\n  const containingAssignment = findAncestor(node, (p) => {\n    if (isAssignmentExpression(p))\n      return true;\n    if (!isAssignmentDeclaration(p))\n      return \"quit\";\n    return false;\n  });\n  return !!containingAssignment && getAssignmentDeclarationKind(containingAssignment) === 5 /* Property */;\n}\nfunction getDefinitionFromSymbol(typeChecker3, symbol, node, failedAliasResolution, excludeDeclaration) {\n  const filteredDeclarations = filter(symbol.declarations, (d) => d !== excludeDeclaration);\n  const withoutExpandos = filter(filteredDeclarations, (d) => !isExpandoDeclaration(d));\n  const results = some(withoutExpandos) ? withoutExpandos : filteredDeclarations;\n  return getConstructSignatureDefinition() || getCallSignatureDefinition() || map(results, (declaration) => createDefinitionInfo(declaration, typeChecker3, symbol, node, false, failedAliasResolution));\n  function getConstructSignatureDefinition() {\n    if (symbol.flags & 32 /* Class */ && !(symbol.flags & (16 /* Function */ | 3 /* Variable */)) && (isNewExpressionTarget(node) || node.kind === 136 /* ConstructorKeyword */)) {\n      const cls = find(filteredDeclarations, isClassLike) || Debug.fail(\"Expected declaration to have at least one class-like declaration\");\n      return getSignatureDefinition(cls.members, true);\n    }\n  }\n  function getCallSignatureDefinition() {\n    return isCallOrNewExpressionTarget(node) || isNameOfFunctionDeclaration(node) ? getSignatureDefinition(filteredDeclarations, false) : void 0;\n  }\n  function getSignatureDefinition(signatureDeclarations, selectConstructors) {\n    if (!signatureDeclarations) {\n      return void 0;\n    }\n    const declarations = signatureDeclarations.filter(selectConstructors ? isConstructorDeclaration : isFunctionLike);\n    const declarationsWithBody = declarations.filter((d) => !!d.body);\n    return declarations.length ? declarationsWithBody.length !== 0 ? declarationsWithBody.map((x) => createDefinitionInfo(x, typeChecker3, symbol, node)) : [createDefinitionInfo(last(declarations), typeChecker3, symbol, node, false, failedAliasResolution)] : void 0;\n  }\n}\nfunction createDefinitionInfo(declaration, checker, symbol, node, unverified, failedAliasResolution) {\n  const symbolName2 = checker.symbolToString(symbol);\n  const symbolKind = ts_SymbolDisplay_exports.getSymbolKind(checker, symbol, node);\n  const containerName = symbol.parent ? checker.symbolToString(symbol.parent, node) : \"\";\n  return createDefinitionInfoFromName(checker, declaration, symbolKind, symbolName2, containerName, unverified, failedAliasResolution);\n}\nfunction createDefinitionInfoFromName(checker, declaration, symbolKind, symbolName2, containerName, unverified, failedAliasResolution, textSpan) {\n  const sourceFile = declaration.getSourceFile();\n  if (!textSpan) {\n    const name = getNameOfDeclaration(declaration) || declaration;\n    textSpan = createTextSpanFromNode(name, sourceFile);\n  }\n  return {\n    fileName: sourceFile.fileName,\n    textSpan,\n    kind: symbolKind,\n    name: symbolName2,\n    containerKind: void 0,\n    containerName,\n    ...ts_FindAllReferences_exports.toContextSpan(\n      textSpan,\n      sourceFile,\n      ts_FindAllReferences_exports.getContextNode(declaration)\n    ),\n    isLocal: !isDefinitionVisible(checker, declaration),\n    isAmbient: !!(declaration.flags & 16777216 /* Ambient */),\n    unverified,\n    failedAliasResolution\n  };\n}\nfunction isDefinitionVisible(checker, declaration) {\n  if (checker.isDeclarationVisible(declaration))\n    return true;\n  if (!declaration.parent)\n    return false;\n  if (hasInitializer(declaration.parent) && declaration.parent.initializer === declaration)\n    return isDefinitionVisible(checker, declaration.parent);\n  switch (declaration.kind) {\n    case 171 /* PropertyDeclaration */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 174 /* MethodDeclaration */:\n      if (hasEffectiveModifier(declaration, 8 /* Private */))\n        return false;\n    case 176 /* Constructor */:\n    case 305 /* PropertyAssignment */:\n    case 306 /* ShorthandPropertyAssignment */:\n    case 210 /* ObjectLiteralExpression */:\n    case 232 /* ClassExpression */:\n    case 219 /* ArrowFunction */:\n    case 218 /* FunctionExpression */:\n      return isDefinitionVisible(checker, declaration.parent);\n    default:\n      return false;\n  }\n}\nfunction createDefinitionFromSignatureDeclaration(typeChecker3, decl, failedAliasResolution) {\n  return createDefinitionInfo(decl, typeChecker3, decl.symbol, decl, false, failedAliasResolution);\n}\nfunction findReferenceInPosition(refs, pos) {\n  return find(refs, (ref) => textRangeContainsPositionInclusive(ref, pos));\n}\nfunction getDefinitionInfoForFileReference(name, targetFileName, unverified) {\n  return {\n    fileName: targetFileName,\n    textSpan: createTextSpanFromBounds(0, 0),\n    kind: \"script\" /* scriptElement */,\n    name,\n    containerName: void 0,\n    containerKind: void 0,\n    unverified\n  };\n}\nfunction getAncestorCallLikeExpression(node) {\n  const target = findAncestor(node, (n) => !isRightSideOfPropertyAccess(n));\n  const callLike = target == null ? void 0 : target.parent;\n  return callLike && isCallLikeExpression(callLike) && getInvokedExpression(callLike) === target ? callLike : void 0;\n}\nfunction tryGetSignatureDeclaration(typeChecker3, node) {\n  const callLike = getAncestorCallLikeExpression(node);\n  const signature = callLike && typeChecker3.getResolvedSignature(callLike);\n  return tryCast(signature && signature.declaration, (d) => isFunctionLike(d) && !isFunctionTypeNode(d));\n}\nfunction isConstructorLike(node) {\n  switch (node.kind) {\n    case 176 /* Constructor */:\n    case 185 /* ConstructorType */:\n    case 180 /* ConstructSignature */:\n      return true;\n    default:\n      return false;\n  }\n}\n\n// src/services/_namespaces/ts.InlayHints.ts\nvar ts_InlayHints_exports = {};\n__export(ts_InlayHints_exports, {\n  provideInlayHints: () => provideInlayHints\n});\n\n// src/services/inlayHints.ts\nvar maxHintsLength = 30;\nvar leadingParameterNameCommentRegexFactory = (name) => {\n  return new RegExp(`^\\\\s?/\\\\*\\\\*?\\\\s?${name}\\\\s?\\\\*\\\\/\\\\s?$`);\n};\nfunction shouldShowParameterNameHints(preferences) {\n  return preferences.includeInlayParameterNameHints === \"literals\" || preferences.includeInlayParameterNameHints === \"all\";\n}\nfunction shouldShowLiteralParameterNameHintsOnly(preferences) {\n  return preferences.includeInlayParameterNameHints === \"literals\";\n}\nfunction provideInlayHints(context) {\n  const { file, program, span, cancellationToken, preferences } = context;\n  const sourceFileText = file.text;\n  const compilerOptions = program.getCompilerOptions();\n  const checker = program.getTypeChecker();\n  const result = [];\n  visitor(file);\n  return result;\n  function visitor(node) {\n    if (!node || node.getFullWidth() === 0) {\n      return;\n    }\n    switch (node.kind) {\n      case 270 /* ModuleDeclaration */:\n      case 264 /* ClassDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 263 /* FunctionDeclaration */:\n      case 232 /* ClassExpression */:\n      case 218 /* FunctionExpression */:\n      case 174 /* MethodDeclaration */:\n      case 219 /* ArrowFunction */:\n        cancellationToken.throwIfCancellationRequested();\n    }\n    if (!textSpanIntersectsWith(span, node.pos, node.getFullWidth())) {\n      return;\n    }\n    if (isTypeNode(node) && !isExpressionWithTypeArguments(node)) {\n      return;\n    }\n    if (preferences.includeInlayVariableTypeHints && isVariableDeclaration(node)) {\n      visitVariableLikeDeclaration(node);\n    } else if (preferences.includeInlayPropertyDeclarationTypeHints && isPropertyDeclaration(node)) {\n      visitVariableLikeDeclaration(node);\n    } else if (preferences.includeInlayEnumMemberValueHints && isEnumMember(node)) {\n      visitEnumMember(node);\n    } else if (shouldShowParameterNameHints(preferences) && (isCallExpression(node) || isNewExpression(node))) {\n      visitCallOrNewExpression(node);\n    } else {\n      if (preferences.includeInlayFunctionParameterTypeHints && isFunctionLikeDeclaration(node) && hasContextSensitiveParameters(node)) {\n        visitFunctionLikeForParameterType(node);\n      }\n      if (preferences.includeInlayFunctionLikeReturnTypeHints && isSignatureSupportingReturnAnnotation(node)) {\n        visitFunctionDeclarationLikeForReturnType(node);\n      }\n    }\n    return forEachChild(node, visitor);\n  }\n  function isSignatureSupportingReturnAnnotation(node) {\n    return isArrowFunction(node) || isFunctionExpression(node) || isFunctionDeclaration(node) || isMethodDeclaration(node) || isGetAccessorDeclaration(node);\n  }\n  function addParameterHints(text, position, isFirstVariadicArgument) {\n    result.push({\n      text: `${isFirstVariadicArgument ? \"...\" : \"\"}${truncation(text, maxHintsLength)}:`,\n      position,\n      kind: \"Parameter\" /* Parameter */,\n      whitespaceAfter: true\n    });\n  }\n  function addTypeHints(text, position) {\n    result.push({\n      text: `: ${truncation(text, maxHintsLength)}`,\n      position,\n      kind: \"Type\" /* Type */,\n      whitespaceBefore: true\n    });\n  }\n  function addEnumMemberValueHints(text, position) {\n    result.push({\n      text: `= ${truncation(text, maxHintsLength)}`,\n      position,\n      kind: \"Enum\" /* Enum */,\n      whitespaceBefore: true\n    });\n  }\n  function visitEnumMember(member) {\n    if (member.initializer) {\n      return;\n    }\n    const enumValue = checker.getConstantValue(member);\n    if (enumValue !== void 0) {\n      addEnumMemberValueHints(enumValue.toString(), member.end);\n    }\n  }\n  function isModuleReferenceType(type) {\n    return type.symbol && type.symbol.flags & 1536 /* Module */;\n  }\n  function visitVariableLikeDeclaration(decl) {\n    if (!decl.initializer || isBindingPattern(decl.name) || isVariableDeclaration(decl) && !isHintableDeclaration(decl)) {\n      return;\n    }\n    const effectiveTypeAnnotation = getEffectiveTypeAnnotationNode(decl);\n    if (effectiveTypeAnnotation) {\n      return;\n    }\n    const declarationType = checker.getTypeAtLocation(decl);\n    if (isModuleReferenceType(declarationType)) {\n      return;\n    }\n    const typeDisplayString = printTypeInSingleLine(declarationType);\n    if (typeDisplayString) {\n      const isVariableNameMatchesType = preferences.includeInlayVariableTypeHintsWhenTypeMatchesName === false && equateStringsCaseInsensitive(decl.name.getText(), typeDisplayString);\n      if (isVariableNameMatchesType) {\n        return;\n      }\n      addTypeHints(typeDisplayString, decl.name.end);\n    }\n  }\n  function visitCallOrNewExpression(expr) {\n    const args = expr.arguments;\n    if (!args || !args.length) {\n      return;\n    }\n    const candidates = [];\n    const signature = checker.getResolvedSignatureForSignatureHelp(expr, candidates);\n    if (!signature || !candidates.length) {\n      return;\n    }\n    for (let i = 0; i < args.length; ++i) {\n      const originalArg = args[i];\n      const arg = skipParentheses(originalArg);\n      if (shouldShowLiteralParameterNameHintsOnly(preferences) && !isHintableLiteral(arg)) {\n        continue;\n      }\n      const identifierNameInfo = checker.getParameterIdentifierNameAtPosition(signature, i);\n      if (identifierNameInfo) {\n        const [parameterName, isFirstVariadicArgument] = identifierNameInfo;\n        const isParameterNameNotSameAsArgument = preferences.includeInlayParameterNameHintsWhenArgumentMatchesName || !identifierOrAccessExpressionPostfixMatchesParameterName(arg, parameterName);\n        if (!isParameterNameNotSameAsArgument && !isFirstVariadicArgument) {\n          continue;\n        }\n        const name = unescapeLeadingUnderscores(parameterName);\n        if (leadingCommentsContainsParameterName(arg, name)) {\n          continue;\n        }\n        addParameterHints(name, originalArg.getStart(), isFirstVariadicArgument);\n      }\n    }\n  }\n  function identifierOrAccessExpressionPostfixMatchesParameterName(expr, parameterName) {\n    if (isIdentifier(expr)) {\n      return expr.text === parameterName;\n    }\n    if (isPropertyAccessExpression(expr)) {\n      return expr.name.text === parameterName;\n    }\n    return false;\n  }\n  function leadingCommentsContainsParameterName(node, name) {\n    if (!isIdentifierText(name, compilerOptions.target, getLanguageVariant(file.scriptKind))) {\n      return false;\n    }\n    const ranges = getLeadingCommentRanges(sourceFileText, node.pos);\n    if (!(ranges == null ? void 0 : ranges.length)) {\n      return false;\n    }\n    const regex = leadingParameterNameCommentRegexFactory(name);\n    return some(ranges, (range) => regex.test(sourceFileText.substring(range.pos, range.end)));\n  }\n  function isHintableLiteral(node) {\n    switch (node.kind) {\n      case 225 /* PrefixUnaryExpression */: {\n        const operand = node.operand;\n        return isLiteralExpression(operand) || isIdentifier(operand) && isInfinityOrNaNString(operand.escapedText);\n      }\n      case 111 /* TrueKeyword */:\n      case 96 /* FalseKeyword */:\n      case 105 /* NullKeyword */:\n      case 14 /* NoSubstitutionTemplateLiteral */:\n      case 229 /* TemplateExpression */:\n        return true;\n      case 79 /* Identifier */: {\n        const name = node.escapedText;\n        return isUndefined(name) || isInfinityOrNaNString(name);\n      }\n    }\n    return isLiteralExpression(node);\n  }\n  function visitFunctionDeclarationLikeForReturnType(decl) {\n    if (isArrowFunction(decl)) {\n      if (!findChildOfKind(decl, 20 /* OpenParenToken */, file)) {\n        return;\n      }\n    }\n    const effectiveTypeAnnotation = getEffectiveReturnTypeNode(decl);\n    if (effectiveTypeAnnotation || !decl.body) {\n      return;\n    }\n    const signature = checker.getSignatureFromDeclaration(decl);\n    if (!signature) {\n      return;\n    }\n    const returnType = checker.getReturnTypeOfSignature(signature);\n    if (isModuleReferenceType(returnType)) {\n      return;\n    }\n    const typeDisplayString = printTypeInSingleLine(returnType);\n    if (!typeDisplayString) {\n      return;\n    }\n    addTypeHints(typeDisplayString, getTypeAnnotationPosition(decl));\n  }\n  function getTypeAnnotationPosition(decl) {\n    const closeParenToken = findChildOfKind(decl, 21 /* CloseParenToken */, file);\n    if (closeParenToken) {\n      return closeParenToken.end;\n    }\n    return decl.parameters.end;\n  }\n  function visitFunctionLikeForParameterType(node) {\n    const signature = checker.getSignatureFromDeclaration(node);\n    if (!signature) {\n      return;\n    }\n    for (let i = 0; i < node.parameters.length && i < signature.parameters.length; ++i) {\n      const param = node.parameters[i];\n      if (!isHintableDeclaration(param)) {\n        continue;\n      }\n      const effectiveTypeAnnotation = getEffectiveTypeAnnotationNode(param);\n      if (effectiveTypeAnnotation) {\n        continue;\n      }\n      const typeDisplayString = getParameterDeclarationTypeDisplayString(signature.parameters[i]);\n      if (!typeDisplayString) {\n        continue;\n      }\n      addTypeHints(typeDisplayString, param.questionToken ? param.questionToken.end : param.name.end);\n    }\n  }\n  function getParameterDeclarationTypeDisplayString(symbol) {\n    const valueDeclaration = symbol.valueDeclaration;\n    if (!valueDeclaration || !isParameter(valueDeclaration)) {\n      return void 0;\n    }\n    const signatureParamType = checker.getTypeOfSymbolAtLocation(symbol, valueDeclaration);\n    if (isModuleReferenceType(signatureParamType)) {\n      return void 0;\n    }\n    return printTypeInSingleLine(signatureParamType);\n  }\n  function truncation(text, maxLength2) {\n    if (text.length > maxLength2) {\n      return text.substr(0, maxLength2 - \"...\".length) + \"...\";\n    }\n    return text;\n  }\n  function printTypeInSingleLine(type) {\n    const flags = 70221824 /* IgnoreErrors */ | 1048576 /* AllowUniqueESSymbolType */ | 16384 /* UseAliasDefinedOutsideCurrentScope */;\n    const printer3 = createPrinterWithRemoveComments();\n    return usingSingleLineStringWriter((writer) => {\n      const typeNode = checker.typeToTypeNode(type, void 0, flags, writer);\n      Debug.assertIsDefined(typeNode, \"should always get typenode\");\n      printer3.writeNode(4 /* Unspecified */, typeNode, file, writer);\n    });\n  }\n  function isUndefined(name) {\n    return name === \"undefined\";\n  }\n  function isHintableDeclaration(node) {\n    if ((isParameterDeclaration(node) || isVariableDeclaration(node) && isVarConst(node)) && node.initializer) {\n      const initializer = skipParentheses(node.initializer);\n      return !(isHintableLiteral(initializer) || isNewExpression(initializer) || isObjectLiteralExpression(initializer) || isAssertionExpression(initializer));\n    }\n    return true;\n  }\n}\n\n// src/services/_namespaces/ts.JsDoc.ts\nvar ts_JsDoc_exports = {};\n__export(ts_JsDoc_exports, {\n  getDocCommentTemplateAtPosition: () => getDocCommentTemplateAtPosition,\n  getJSDocParameterNameCompletionDetails: () => getJSDocParameterNameCompletionDetails,\n  getJSDocParameterNameCompletions: () => getJSDocParameterNameCompletions,\n  getJSDocTagCompletionDetails: () => getJSDocTagCompletionDetails,\n  getJSDocTagCompletions: () => getJSDocTagCompletions,\n  getJSDocTagNameCompletionDetails: () => getJSDocTagNameCompletionDetails,\n  getJSDocTagNameCompletions: () => getJSDocTagNameCompletions,\n  getJsDocCommentsFromDeclarations: () => getJsDocCommentsFromDeclarations,\n  getJsDocTagsFromDeclarations: () => getJsDocTagsFromDeclarations\n});\n\n// src/services/jsDoc.ts\nvar jsDocTagNames = [\n  \"abstract\",\n  \"access\",\n  \"alias\",\n  \"argument\",\n  \"async\",\n  \"augments\",\n  \"author\",\n  \"borrows\",\n  \"callback\",\n  \"class\",\n  \"classdesc\",\n  \"constant\",\n  \"constructor\",\n  \"constructs\",\n  \"copyright\",\n  \"default\",\n  \"deprecated\",\n  \"description\",\n  \"emits\",\n  \"enum\",\n  \"event\",\n  \"example\",\n  \"exports\",\n  \"extends\",\n  \"external\",\n  \"field\",\n  \"file\",\n  \"fileoverview\",\n  \"fires\",\n  \"function\",\n  \"generator\",\n  \"global\",\n  \"hideconstructor\",\n  \"host\",\n  \"ignore\",\n  \"implements\",\n  \"inheritdoc\",\n  \"inner\",\n  \"instance\",\n  \"interface\",\n  \"kind\",\n  \"lends\",\n  \"license\",\n  \"link\",\n  \"listens\",\n  \"member\",\n  \"memberof\",\n  \"method\",\n  \"mixes\",\n  \"module\",\n  \"name\",\n  \"namespace\",\n  \"override\",\n  \"package\",\n  \"param\",\n  \"private\",\n  \"property\",\n  \"protected\",\n  \"public\",\n  \"readonly\",\n  \"requires\",\n  \"returns\",\n  \"see\",\n  \"since\",\n  \"static\",\n  \"summary\",\n  \"template\",\n  \"this\",\n  \"throws\",\n  \"todo\",\n  \"tutorial\",\n  \"type\",\n  \"typedef\",\n  \"var\",\n  \"variation\",\n  \"version\",\n  \"virtual\",\n  \"yields\"\n];\nvar jsDocTagNameCompletionEntries;\nvar jsDocTagCompletionEntries;\nfunction getJsDocCommentsFromDeclarations(declarations, checker) {\n  const parts = [];\n  forEachUnique(declarations, (declaration) => {\n    for (const jsdoc of getCommentHavingNodes(declaration)) {\n      const inheritDoc = isJSDoc(jsdoc) && jsdoc.tags && find(jsdoc.tags, (t) => t.kind === 336 /* JSDocTag */ && (t.tagName.escapedText === \"inheritDoc\" || t.tagName.escapedText === \"inheritdoc\"));\n      if (jsdoc.comment === void 0 && !inheritDoc || isJSDoc(jsdoc) && declaration.kind !== 354 /* JSDocTypedefTag */ && declaration.kind !== 347 /* JSDocCallbackTag */ && jsdoc.tags && jsdoc.tags.some((t) => t.kind === 354 /* JSDocTypedefTag */ || t.kind === 347 /* JSDocCallbackTag */) && !jsdoc.tags.some((t) => t.kind === 349 /* JSDocParameterTag */ || t.kind === 350 /* JSDocReturnTag */)) {\n        continue;\n      }\n      let newparts = jsdoc.comment ? getDisplayPartsFromComment(jsdoc.comment, checker) : [];\n      if (inheritDoc && inheritDoc.comment) {\n        newparts = newparts.concat(getDisplayPartsFromComment(inheritDoc.comment, checker));\n      }\n      if (!contains(parts, newparts, isIdenticalListOfDisplayParts)) {\n        parts.push(newparts);\n      }\n    }\n  });\n  return flatten(intersperse(parts, [lineBreakPart()]));\n}\nfunction isIdenticalListOfDisplayParts(parts1, parts2) {\n  return arraysEqual(parts1, parts2, (p1, p2) => p1.kind === p2.kind && p1.text === p2.text);\n}\nfunction getCommentHavingNodes(declaration) {\n  switch (declaration.kind) {\n    case 349 /* JSDocParameterTag */:\n    case 356 /* JSDocPropertyTag */:\n      return [declaration];\n    case 347 /* JSDocCallbackTag */:\n    case 354 /* JSDocTypedefTag */:\n      return [declaration, declaration.parent];\n    default:\n      return getJSDocCommentsAndTags(declaration);\n  }\n}\nfunction getJsDocTagsFromDeclarations(declarations, checker) {\n  const infos = [];\n  forEachUnique(declarations, (declaration) => {\n    const tags = getJSDocTags(declaration);\n    if (tags.some((t) => t.kind === 354 /* JSDocTypedefTag */ || t.kind === 347 /* JSDocCallbackTag */) && !tags.some((t) => t.kind === 349 /* JSDocParameterTag */ || t.kind === 350 /* JSDocReturnTag */)) {\n      return;\n    }\n    for (const tag of tags) {\n      infos.push({ name: tag.tagName.text, text: getCommentDisplayParts(tag, checker) });\n    }\n  });\n  return infos;\n}\nfunction getDisplayPartsFromComment(comment, checker) {\n  if (typeof comment === \"string\") {\n    return [textPart(comment)];\n  }\n  return flatMap(\n    comment,\n    (node) => node.kind === 330 /* JSDocText */ ? [textPart(node.text)] : buildLinkParts(node, checker)\n  );\n}\nfunction getCommentDisplayParts(tag, checker) {\n  const { comment, kind } = tag;\n  const namePart = getTagNameDisplayPart(kind);\n  switch (kind) {\n    case 338 /* JSDocImplementsTag */:\n      return withNode(tag.class);\n    case 337 /* JSDocAugmentsTag */:\n      return withNode(tag.class);\n    case 353 /* JSDocTemplateTag */:\n      const templateTag = tag;\n      const displayParts = [];\n      if (templateTag.constraint) {\n        displayParts.push(textPart(templateTag.constraint.getText()));\n      }\n      if (length(templateTag.typeParameters)) {\n        if (length(displayParts)) {\n          displayParts.push(spacePart());\n        }\n        const lastTypeParameter = templateTag.typeParameters[templateTag.typeParameters.length - 1];\n        forEach(templateTag.typeParameters, (tp) => {\n          displayParts.push(namePart(tp.getText()));\n          if (lastTypeParameter !== tp) {\n            displayParts.push(...[punctuationPart(27 /* CommaToken */), spacePart()]);\n          }\n        });\n      }\n      if (comment) {\n        displayParts.push(...[spacePart(), ...getDisplayPartsFromComment(comment, checker)]);\n      }\n      return displayParts;\n    case 352 /* JSDocTypeTag */:\n      return withNode(tag.typeExpression);\n    case 354 /* JSDocTypedefTag */:\n    case 347 /* JSDocCallbackTag */:\n    case 356 /* JSDocPropertyTag */:\n    case 349 /* JSDocParameterTag */:\n    case 355 /* JSDocSeeTag */:\n      const { name } = tag;\n      return name ? withNode(name) : comment === void 0 ? void 0 : getDisplayPartsFromComment(comment, checker);\n    default:\n      return comment === void 0 ? void 0 : getDisplayPartsFromComment(comment, checker);\n  }\n  function withNode(node) {\n    return addComment(node.getText());\n  }\n  function addComment(s) {\n    if (comment) {\n      if (s.match(/^https?$/)) {\n        return [textPart(s), ...getDisplayPartsFromComment(comment, checker)];\n      } else {\n        return [namePart(s), spacePart(), ...getDisplayPartsFromComment(comment, checker)];\n      }\n    } else {\n      return [textPart(s)];\n    }\n  }\n}\nfunction getTagNameDisplayPart(kind) {\n  switch (kind) {\n    case 349 /* JSDocParameterTag */:\n      return parameterNamePart;\n    case 356 /* JSDocPropertyTag */:\n      return propertyNamePart;\n    case 353 /* JSDocTemplateTag */:\n      return typeParameterNamePart;\n    case 354 /* JSDocTypedefTag */:\n    case 347 /* JSDocCallbackTag */:\n      return typeAliasNamePart;\n    default:\n      return textPart;\n  }\n}\nfunction getJSDocTagNameCompletions() {\n  return jsDocTagNameCompletionEntries || (jsDocTagNameCompletionEntries = map(jsDocTagNames, (tagName) => {\n    return {\n      name: tagName,\n      kind: \"keyword\" /* keyword */,\n      kindModifiers: \"\",\n      sortText: ts_Completions_exports.SortText.LocationPriority\n    };\n  }));\n}\nvar getJSDocTagNameCompletionDetails = getJSDocTagCompletionDetails;\nfunction getJSDocTagCompletions() {\n  return jsDocTagCompletionEntries || (jsDocTagCompletionEntries = map(jsDocTagNames, (tagName) => {\n    return {\n      name: `@${tagName}`,\n      kind: \"keyword\" /* keyword */,\n      kindModifiers: \"\",\n      sortText: ts_Completions_exports.SortText.LocationPriority\n    };\n  }));\n}\nfunction getJSDocTagCompletionDetails(name) {\n  return {\n    name,\n    kind: \"\" /* unknown */,\n    kindModifiers: \"\",\n    displayParts: [textPart(name)],\n    documentation: emptyArray,\n    tags: void 0,\n    codeActions: void 0\n  };\n}\nfunction getJSDocParameterNameCompletions(tag) {\n  if (!isIdentifier(tag.name)) {\n    return emptyArray;\n  }\n  const nameThusFar = tag.name.text;\n  const jsdoc = tag.parent;\n  const fn = jsdoc.parent;\n  if (!isFunctionLike(fn))\n    return [];\n  return mapDefined(fn.parameters, (param) => {\n    if (!isIdentifier(param.name))\n      return void 0;\n    const name = param.name.text;\n    if (jsdoc.tags.some((t) => t !== tag && isJSDocParameterTag(t) && isIdentifier(t.name) && t.name.escapedText === name) || nameThusFar !== void 0 && !startsWith(name, nameThusFar)) {\n      return void 0;\n    }\n    return { name, kind: \"parameter\" /* parameterElement */, kindModifiers: \"\", sortText: ts_Completions_exports.SortText.LocationPriority };\n  });\n}\nfunction getJSDocParameterNameCompletionDetails(name) {\n  return {\n    name,\n    kind: \"parameter\" /* parameterElement */,\n    kindModifiers: \"\",\n    displayParts: [textPart(name)],\n    documentation: emptyArray,\n    tags: void 0,\n    codeActions: void 0\n  };\n}\nfunction getDocCommentTemplateAtPosition(newLine, sourceFile, position, options) {\n  const tokenAtPos = getTokenAtPosition(sourceFile, position);\n  const existingDocComment = findAncestor(tokenAtPos, isJSDoc);\n  if (existingDocComment && (existingDocComment.comment !== void 0 || length(existingDocComment.tags))) {\n    return void 0;\n  }\n  const tokenStart = tokenAtPos.getStart(sourceFile);\n  if (!existingDocComment && tokenStart < position) {\n    return void 0;\n  }\n  const commentOwnerInfo = getCommentOwnerInfo(tokenAtPos, options);\n  if (!commentOwnerInfo) {\n    return void 0;\n  }\n  const { commentOwner, parameters, hasReturn: hasReturn2 } = commentOwnerInfo;\n  const commentOwnerJsDoc = hasJSDocNodes(commentOwner) && commentOwner.jsDoc ? commentOwner.jsDoc : void 0;\n  const lastJsDoc = lastOrUndefined(commentOwnerJsDoc);\n  if (commentOwner.getStart(sourceFile) < position || lastJsDoc && existingDocComment && lastJsDoc !== existingDocComment) {\n    return void 0;\n  }\n  const indentationStr = getIndentationStringAtPosition(sourceFile, position);\n  const isJavaScriptFile = hasJSFileExtension(sourceFile.fileName);\n  const tags = (parameters ? parameterDocComments(parameters || [], isJavaScriptFile, indentationStr, newLine) : \"\") + (hasReturn2 ? returnsDocComment(indentationStr, newLine) : \"\");\n  const openComment = \"/**\";\n  const closeComment = \" */\";\n  const hasTag = (commentOwnerJsDoc || []).some((jsDoc) => !!jsDoc.tags);\n  if (tags && !hasTag) {\n    const preamble = openComment + newLine + indentationStr + \" * \";\n    const endLine = tokenStart === position ? newLine + indentationStr : \"\";\n    const result = preamble + newLine + tags + indentationStr + closeComment + endLine;\n    return { newText: result, caretOffset: preamble.length };\n  }\n  return { newText: openComment + closeComment, caretOffset: 3 };\n}\nfunction getIndentationStringAtPosition(sourceFile, position) {\n  const { text } = sourceFile;\n  const lineStart = getLineStartPositionForPosition(position, sourceFile);\n  let pos = lineStart;\n  for (; pos <= position && isWhiteSpaceSingleLine(text.charCodeAt(pos)); pos++)\n    ;\n  return text.slice(lineStart, pos);\n}\nfunction parameterDocComments(parameters, isJavaScriptFile, indentationStr, newLine) {\n  return parameters.map(({ name, dotDotDotToken }, i) => {\n    const paramName = name.kind === 79 /* Identifier */ ? name.text : \"param\" + i;\n    const type = isJavaScriptFile ? dotDotDotToken ? \"{...any} \" : \"{any} \" : \"\";\n    return `${indentationStr} * @param ${type}${paramName}${newLine}`;\n  }).join(\"\");\n}\nfunction returnsDocComment(indentationStr, newLine) {\n  return `${indentationStr} * @returns${newLine}`;\n}\nfunction getCommentOwnerInfo(tokenAtPos, options) {\n  return forEachAncestor(tokenAtPos, (n) => getCommentOwnerInfoWorker(n, options));\n}\nfunction getCommentOwnerInfoWorker(commentOwner, options) {\n  switch (commentOwner.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 174 /* MethodDeclaration */:\n    case 176 /* Constructor */:\n    case 173 /* MethodSignature */:\n    case 219 /* ArrowFunction */:\n      const host = commentOwner;\n      return { commentOwner, parameters: host.parameters, hasReturn: hasReturn(host, options) };\n    case 305 /* PropertyAssignment */:\n      return getCommentOwnerInfoWorker(commentOwner.initializer, options);\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 308 /* EnumMember */:\n    case 268 /* TypeAliasDeclaration */:\n      return { commentOwner };\n    case 170 /* PropertySignature */: {\n      const host2 = commentOwner;\n      return host2.type && isFunctionTypeNode(host2.type) ? { commentOwner, parameters: host2.type.parameters, hasReturn: hasReturn(host2.type, options) } : { commentOwner };\n    }\n    case 244 /* VariableStatement */: {\n      const varStatement = commentOwner;\n      const varDeclarations = varStatement.declarationList.declarations;\n      const host2 = varDeclarations.length === 1 && varDeclarations[0].initializer ? getRightHandSideOfAssignment(varDeclarations[0].initializer) : void 0;\n      return host2 ? { commentOwner, parameters: host2.parameters, hasReturn: hasReturn(host2, options) } : { commentOwner };\n    }\n    case 314 /* SourceFile */:\n      return \"quit\";\n    case 270 /* ModuleDeclaration */:\n      return commentOwner.parent.kind === 270 /* ModuleDeclaration */ ? void 0 : { commentOwner };\n    case 245 /* ExpressionStatement */:\n      return getCommentOwnerInfoWorker(commentOwner.expression, options);\n    case 227 /* BinaryExpression */: {\n      const be = commentOwner;\n      if (getAssignmentDeclarationKind(be) === 0 /* None */) {\n        return \"quit\";\n      }\n      return isFunctionLike(be.right) ? { commentOwner, parameters: be.right.parameters, hasReturn: hasReturn(be.right, options) } : { commentOwner };\n    }\n    case 171 /* PropertyDeclaration */:\n      const init = commentOwner.initializer;\n      if (init && (isFunctionExpression(init) || isArrowFunction(init))) {\n        return { commentOwner, parameters: init.parameters, hasReturn: hasReturn(init, options) };\n      }\n  }\n}\nfunction hasReturn(node, options) {\n  return !!(options == null ? void 0 : options.generateReturnInDocTemplate) && (isFunctionTypeNode(node) || isArrowFunction(node) && isExpression(node.body) || isFunctionLikeDeclaration(node) && node.body && isBlock(node.body) && !!forEachReturnStatement(node.body, (n) => n));\n}\nfunction getRightHandSideOfAssignment(rightHandSide) {\n  while (rightHandSide.kind === 217 /* ParenthesizedExpression */) {\n    rightHandSide = rightHandSide.expression;\n  }\n  switch (rightHandSide.kind) {\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      return rightHandSide;\n    case 232 /* ClassExpression */:\n      return find(rightHandSide.members, isConstructorDeclaration);\n  }\n}\n\n// src/services/_namespaces/ts.OrganizeImports.ts\nvar ts_OrganizeImports_exports = {};\n__export(ts_OrganizeImports_exports, {\n  coalesceExports: () => coalesceExports,\n  coalesceImports: () => coalesceImports,\n  compareImportOrExportSpecifiers: () => compareImportOrExportSpecifiers,\n  compareImportsOrRequireStatements: () => compareImportsOrRequireStatements,\n  compareModuleSpecifiers: () => compareModuleSpecifiers2,\n  getImportDeclarationInsertionIndex: () => getImportDeclarationInsertionIndex,\n  getImportSpecifierInsertionIndex: () => getImportSpecifierInsertionIndex,\n  importSpecifiersAreSorted: () => importSpecifiersAreSorted,\n  importsAreSorted: () => importsAreSorted,\n  organizeImports: () => organizeImports\n});\n\n// src/services/organizeImports.ts\nfunction organizeImports(sourceFile, formatContext, host, program, preferences, mode) {\n  const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext({ host, formatContext, preferences });\n  const shouldSort = mode === \"SortAndCombine\" /* SortAndCombine */ || mode === \"All\" /* All */;\n  const shouldCombine = shouldSort;\n  const shouldRemove = mode === \"RemoveUnused\" /* RemoveUnused */ || mode === \"All\" /* All */;\n  const maybeRemove = shouldRemove ? removeUnusedImports : identity;\n  const maybeCoalesce = shouldCombine ? coalesceImports : identity;\n  const processImportsOfSameModuleSpecifier = (importGroup) => {\n    const processedDeclarations = maybeCoalesce(maybeRemove(importGroup, sourceFile, program));\n    return shouldSort ? stableSort(processedDeclarations, (s1, s2) => compareImportsOrRequireStatements(s1, s2)) : processedDeclarations;\n  };\n  const topLevelImportGroupDecls = groupImportsByNewlineContiguous(sourceFile, sourceFile.statements.filter(isImportDeclaration));\n  topLevelImportGroupDecls.forEach((importGroupDecl) => organizeImportsWorker(importGroupDecl, processImportsOfSameModuleSpecifier));\n  if (mode !== \"RemoveUnused\" /* RemoveUnused */) {\n    const topLevelExportDecls = sourceFile.statements.filter(isExportDeclaration);\n    organizeImportsWorker(topLevelExportDecls, coalesceExports);\n  }\n  for (const ambientModule of sourceFile.statements.filter(isAmbientModule)) {\n    if (!ambientModule.body)\n      continue;\n    const ambientModuleImportGroupDecls = groupImportsByNewlineContiguous(sourceFile, ambientModule.body.statements.filter(isImportDeclaration));\n    ambientModuleImportGroupDecls.forEach((importGroupDecl) => organizeImportsWorker(importGroupDecl, processImportsOfSameModuleSpecifier));\n    if (mode !== \"RemoveUnused\" /* RemoveUnused */) {\n      const ambientModuleExportDecls = ambientModule.body.statements.filter(isExportDeclaration);\n      organizeImportsWorker(ambientModuleExportDecls, coalesceExports);\n    }\n  }\n  return changeTracker.getChanges();\n  function organizeImportsWorker(oldImportDecls, coalesce) {\n    if (length(oldImportDecls) === 0) {\n      return;\n    }\n    suppressLeadingTrivia(oldImportDecls[0]);\n    const oldImportGroups = shouldCombine ? group(oldImportDecls, (importDecl) => getExternalModuleName2(importDecl.moduleSpecifier)) : [oldImportDecls];\n    const sortedImportGroups = shouldSort ? stableSort(oldImportGroups, (group1, group2) => compareModuleSpecifiers2(group1[0].moduleSpecifier, group2[0].moduleSpecifier)) : oldImportGroups;\n    const newImportDecls = flatMap(sortedImportGroups, (importGroup) => getExternalModuleName2(importGroup[0].moduleSpecifier) ? coalesce(importGroup) : importGroup);\n    if (newImportDecls.length === 0) {\n      changeTracker.deleteNodes(sourceFile, oldImportDecls, {\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include\n      }, true);\n    } else {\n      const replaceOptions = {\n        leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include,\n        suffix: getNewLineOrDefaultFromHost(host, formatContext.options)\n      };\n      changeTracker.replaceNodeWithNodes(sourceFile, oldImportDecls[0], newImportDecls, replaceOptions);\n      const hasTrailingComment = changeTracker.nodeHasTrailingComment(sourceFile, oldImportDecls[0], replaceOptions);\n      changeTracker.deleteNodes(sourceFile, oldImportDecls.slice(1), {\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include\n      }, hasTrailingComment);\n    }\n  }\n}\nfunction groupImportsByNewlineContiguous(sourceFile, importDecls) {\n  const scanner2 = createScanner(sourceFile.languageVersion, false, sourceFile.languageVariant);\n  const groupImports = [];\n  let groupIndex = 0;\n  for (const topLevelImportDecl of importDecls) {\n    if (isNewGroup(sourceFile, topLevelImportDecl, scanner2)) {\n      groupIndex++;\n    }\n    if (!groupImports[groupIndex]) {\n      groupImports[groupIndex] = [];\n    }\n    groupImports[groupIndex].push(topLevelImportDecl);\n  }\n  return groupImports;\n}\nfunction isNewGroup(sourceFile, topLevelImportDecl, scanner2) {\n  const startPos = topLevelImportDecl.getFullStart();\n  const endPos = topLevelImportDecl.getStart();\n  scanner2.setText(sourceFile.text, startPos, endPos - startPos);\n  let numberOfNewLines = 0;\n  while (scanner2.getTokenPos() < endPos) {\n    const tokenKind = scanner2.scan();\n    if (tokenKind === 4 /* NewLineTrivia */) {\n      numberOfNewLines++;\n      if (numberOfNewLines >= 2) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\nfunction removeUnusedImports(oldImports, sourceFile, program) {\n  const typeChecker3 = program.getTypeChecker();\n  const compilerOptions = program.getCompilerOptions();\n  const jsxNamespace = typeChecker3.getJsxNamespace(sourceFile);\n  const jsxFragmentFactory = typeChecker3.getJsxFragmentFactory(sourceFile);\n  const jsxElementsPresent = !!(sourceFile.transformFlags & 2 /* ContainsJsx */);\n  const usedImports = [];\n  for (const importDecl of oldImports) {\n    const { importClause, moduleSpecifier } = importDecl;\n    if (!importClause) {\n      usedImports.push(importDecl);\n      continue;\n    }\n    let { name, namedBindings } = importClause;\n    if (name && !isDeclarationUsed(name)) {\n      name = void 0;\n    }\n    if (namedBindings) {\n      if (isNamespaceImport(namedBindings)) {\n        if (!isDeclarationUsed(namedBindings.name)) {\n          namedBindings = void 0;\n        }\n      } else {\n        const newElements = namedBindings.elements.filter((e) => isDeclarationUsed(e.name));\n        if (newElements.length < namedBindings.elements.length) {\n          namedBindings = newElements.length ? factory.updateNamedImports(namedBindings, newElements) : void 0;\n        }\n      }\n    }\n    if (name || namedBindings) {\n      usedImports.push(updateImportDeclarationAndClause(importDecl, name, namedBindings));\n    } else if (hasModuleDeclarationMatchingSpecifier(sourceFile, moduleSpecifier)) {\n      if (sourceFile.isDeclarationFile) {\n        usedImports.push(factory.createImportDeclaration(\n          importDecl.modifiers,\n          void 0,\n          moduleSpecifier,\n          void 0\n        ));\n      } else {\n        usedImports.push(importDecl);\n      }\n    }\n  }\n  return usedImports;\n  function isDeclarationUsed(identifier) {\n    return jsxElementsPresent && (identifier.text === jsxNamespace || jsxFragmentFactory && identifier.text === jsxFragmentFactory) && jsxModeNeedsExplicitImport(compilerOptions.jsx) || ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(identifier, typeChecker3, sourceFile);\n  }\n}\nfunction hasModuleDeclarationMatchingSpecifier(sourceFile, moduleSpecifier) {\n  const moduleSpecifierText = isStringLiteral(moduleSpecifier) && moduleSpecifier.text;\n  return isString(moduleSpecifierText) && some(sourceFile.moduleAugmentations, (moduleName) => isStringLiteral(moduleName) && moduleName.text === moduleSpecifierText);\n}\nfunction getExternalModuleName2(specifier) {\n  return specifier !== void 0 && isStringLiteralLike(specifier) ? specifier.text : void 0;\n}\nfunction coalesceImports(importGroup) {\n  var _a2;\n  if (importGroup.length === 0) {\n    return importGroup;\n  }\n  const { importWithoutClause, typeOnlyImports, regularImports } = getCategorizedImports(importGroup);\n  const coalescedImports = [];\n  if (importWithoutClause) {\n    coalescedImports.push(importWithoutClause);\n  }\n  for (const group2 of [regularImports, typeOnlyImports]) {\n    const isTypeOnly = group2 === typeOnlyImports;\n    const { defaultImports, namespaceImports, namedImports } = group2;\n    if (!isTypeOnly && defaultImports.length === 1 && namespaceImports.length === 1 && namedImports.length === 0) {\n      const defaultImport = defaultImports[0];\n      coalescedImports.push(\n        updateImportDeclarationAndClause(defaultImport, defaultImport.importClause.name, namespaceImports[0].importClause.namedBindings)\n      );\n      continue;\n    }\n    const sortedNamespaceImports = stableSort(namespaceImports, (i1, i2) => compareIdentifiers(i1.importClause.namedBindings.name, i2.importClause.namedBindings.name));\n    for (const namespaceImport of sortedNamespaceImports) {\n      coalescedImports.push(\n        updateImportDeclarationAndClause(namespaceImport, void 0, namespaceImport.importClause.namedBindings)\n      );\n    }\n    if (defaultImports.length === 0 && namedImports.length === 0) {\n      continue;\n    }\n    let newDefaultImport;\n    const newImportSpecifiers = [];\n    if (defaultImports.length === 1) {\n      newDefaultImport = defaultImports[0].importClause.name;\n    } else {\n      for (const defaultImport of defaultImports) {\n        newImportSpecifiers.push(\n          factory.createImportSpecifier(false, factory.createIdentifier(\"default\"), defaultImport.importClause.name)\n        );\n      }\n    }\n    newImportSpecifiers.push(...getNewImportSpecifiers(namedImports));\n    const sortedImportSpecifiers = sortSpecifiers(newImportSpecifiers);\n    const importDecl = defaultImports.length > 0 ? defaultImports[0] : namedImports[0];\n    const newNamedImports = sortedImportSpecifiers.length === 0 ? newDefaultImport ? void 0 : factory.createNamedImports(emptyArray) : namedImports.length === 0 ? factory.createNamedImports(sortedImportSpecifiers) : factory.updateNamedImports(namedImports[0].importClause.namedBindings, sortedImportSpecifiers);\n    if (isTypeOnly && newDefaultImport && newNamedImports) {\n      coalescedImports.push(\n        updateImportDeclarationAndClause(importDecl, newDefaultImport, void 0)\n      );\n      coalescedImports.push(\n        updateImportDeclarationAndClause((_a2 = namedImports[0]) != null ? _a2 : importDecl, void 0, newNamedImports)\n      );\n    } else {\n      coalescedImports.push(\n        updateImportDeclarationAndClause(importDecl, newDefaultImport, newNamedImports)\n      );\n    }\n  }\n  return coalescedImports;\n}\nfunction getCategorizedImports(importGroup) {\n  let importWithoutClause;\n  const typeOnlyImports = { defaultImports: [], namespaceImports: [], namedImports: [] };\n  const regularImports = { defaultImports: [], namespaceImports: [], namedImports: [] };\n  for (const importDeclaration of importGroup) {\n    if (importDeclaration.importClause === void 0) {\n      importWithoutClause = importWithoutClause || importDeclaration;\n      continue;\n    }\n    const group2 = importDeclaration.importClause.isTypeOnly ? typeOnlyImports : regularImports;\n    const { name, namedBindings } = importDeclaration.importClause;\n    if (name) {\n      group2.defaultImports.push(importDeclaration);\n    }\n    if (namedBindings) {\n      if (isNamespaceImport(namedBindings)) {\n        group2.namespaceImports.push(importDeclaration);\n      } else {\n        group2.namedImports.push(importDeclaration);\n      }\n    }\n  }\n  return {\n    importWithoutClause,\n    typeOnlyImports,\n    regularImports\n  };\n}\nfunction coalesceExports(exportGroup) {\n  if (exportGroup.length === 0) {\n    return exportGroup;\n  }\n  const { exportWithoutClause, namedExports, typeOnlyExports } = getCategorizedExports(exportGroup);\n  const coalescedExports = [];\n  if (exportWithoutClause) {\n    coalescedExports.push(exportWithoutClause);\n  }\n  for (const exportGroup2 of [namedExports, typeOnlyExports]) {\n    if (exportGroup2.length === 0) {\n      continue;\n    }\n    const newExportSpecifiers = [];\n    newExportSpecifiers.push(...flatMap(exportGroup2, (i) => i.exportClause && isNamedExports(i.exportClause) ? i.exportClause.elements : emptyArray));\n    const sortedExportSpecifiers = sortSpecifiers(newExportSpecifiers);\n    const exportDecl = exportGroup2[0];\n    coalescedExports.push(\n      factory.updateExportDeclaration(\n        exportDecl,\n        exportDecl.modifiers,\n        exportDecl.isTypeOnly,\n        exportDecl.exportClause && (isNamedExports(exportDecl.exportClause) ? factory.updateNamedExports(exportDecl.exportClause, sortedExportSpecifiers) : factory.updateNamespaceExport(exportDecl.exportClause, exportDecl.exportClause.name)),\n        exportDecl.moduleSpecifier,\n        exportDecl.assertClause\n      )\n    );\n  }\n  return coalescedExports;\n  function getCategorizedExports(exportGroup2) {\n    let exportWithoutClause2;\n    const namedExports2 = [];\n    const typeOnlyExports2 = [];\n    for (const exportDeclaration of exportGroup2) {\n      if (exportDeclaration.exportClause === void 0) {\n        exportWithoutClause2 = exportWithoutClause2 || exportDeclaration;\n      } else if (exportDeclaration.isTypeOnly) {\n        typeOnlyExports2.push(exportDeclaration);\n      } else {\n        namedExports2.push(exportDeclaration);\n      }\n    }\n    return {\n      exportWithoutClause: exportWithoutClause2,\n      namedExports: namedExports2,\n      typeOnlyExports: typeOnlyExports2\n    };\n  }\n}\nfunction updateImportDeclarationAndClause(importDeclaration, name, namedBindings) {\n  return factory.updateImportDeclaration(\n    importDeclaration,\n    importDeclaration.modifiers,\n    factory.updateImportClause(importDeclaration.importClause, importDeclaration.importClause.isTypeOnly, name, namedBindings),\n    importDeclaration.moduleSpecifier,\n    importDeclaration.assertClause\n  );\n}\nfunction sortSpecifiers(specifiers) {\n  return stableSort(specifiers, compareImportOrExportSpecifiers);\n}\nfunction compareImportOrExportSpecifiers(s1, s2) {\n  return compareBooleans(s1.isTypeOnly, s2.isTypeOnly) || compareIdentifiers(s1.propertyName || s1.name, s2.propertyName || s2.name) || compareIdentifiers(s1.name, s2.name);\n}\nfunction compareModuleSpecifiers2(m1, m2) {\n  const name1 = m1 === void 0 ? void 0 : getExternalModuleName2(m1);\n  const name2 = m2 === void 0 ? void 0 : getExternalModuleName2(m2);\n  return compareBooleans(name1 === void 0, name2 === void 0) || compareBooleans(isExternalModuleNameRelative(name1), isExternalModuleNameRelative(name2)) || compareStringsCaseInsensitive(name1, name2);\n}\nfunction compareIdentifiers(s1, s2) {\n  return compareStringsCaseInsensitive(s1.text, s2.text);\n}\nfunction getModuleSpecifierExpression(declaration) {\n  var _a2;\n  switch (declaration.kind) {\n    case 274 /* ImportEqualsDeclaration */:\n      return (_a2 = tryCast(declaration.moduleReference, isExternalModuleReference)) == null ? void 0 : _a2.expression;\n    case 275 /* ImportDeclaration */:\n      return declaration.moduleSpecifier;\n    case 244 /* VariableStatement */:\n      return declaration.declarationList.declarations[0].initializer.arguments[0];\n  }\n}\nfunction importsAreSorted(imports) {\n  return arrayIsSorted(imports, compareImportsOrRequireStatements);\n}\nfunction importSpecifiersAreSorted(imports) {\n  return arrayIsSorted(imports, compareImportOrExportSpecifiers);\n}\nfunction getImportDeclarationInsertionIndex(sortedImports, newImport) {\n  const index = binarySearch(sortedImports, newImport, identity, compareImportsOrRequireStatements);\n  return index < 0 ? ~index : index;\n}\nfunction getImportSpecifierInsertionIndex(sortedImports, newImport) {\n  const index = binarySearch(sortedImports, newImport, identity, compareImportOrExportSpecifiers);\n  return index < 0 ? ~index : index;\n}\nfunction compareImportsOrRequireStatements(s1, s2) {\n  return compareModuleSpecifiers2(getModuleSpecifierExpression(s1), getModuleSpecifierExpression(s2)) || compareImportKind(s1, s2);\n}\nfunction compareImportKind(s1, s2) {\n  return compareValues(getImportKindOrder(s1), getImportKindOrder(s2));\n}\nfunction getImportKindOrder(s1) {\n  var _a2;\n  switch (s1.kind) {\n    case 275 /* ImportDeclaration */:\n      if (!s1.importClause)\n        return 0;\n      if (s1.importClause.isTypeOnly)\n        return 1;\n      if (((_a2 = s1.importClause.namedBindings) == null ? void 0 : _a2.kind) === 277 /* NamespaceImport */)\n        return 2;\n      if (s1.importClause.name)\n        return 3;\n      return 4;\n    case 274 /* ImportEqualsDeclaration */:\n      return 5;\n    case 244 /* VariableStatement */:\n      return 6;\n  }\n}\nfunction getNewImportSpecifiers(namedImports) {\n  return flatMap(\n    namedImports,\n    (namedImport) => map(\n      tryGetNamedBindingElements(namedImport),\n      (importSpecifier) => importSpecifier.name && importSpecifier.propertyName && importSpecifier.name.escapedText === importSpecifier.propertyName.escapedText ? factory.updateImportSpecifier(importSpecifier, importSpecifier.isTypeOnly, void 0, importSpecifier.name) : importSpecifier\n    )\n  );\n}\nfunction tryGetNamedBindingElements(namedImport) {\n  var _a2;\n  return ((_a2 = namedImport.importClause) == null ? void 0 : _a2.namedBindings) && isNamedImports(namedImport.importClause.namedBindings) ? namedImport.importClause.namedBindings.elements : void 0;\n}\n\n// src/services/_namespaces/ts.OutliningElementsCollector.ts\nvar ts_OutliningElementsCollector_exports = {};\n__export(ts_OutliningElementsCollector_exports, {\n  collectElements: () => collectElements\n});\n\n// src/services/outliningElementsCollector.ts\nfunction collectElements(sourceFile, cancellationToken) {\n  const res = [];\n  addNodeOutliningSpans(sourceFile, cancellationToken, res);\n  addRegionOutliningSpans(sourceFile, res);\n  return res.sort((span1, span2) => span1.textSpan.start - span2.textSpan.start);\n}\nfunction addNodeOutliningSpans(sourceFile, cancellationToken, out) {\n  let depthRemaining = 40;\n  let current = 0;\n  const statements = [...sourceFile.statements, sourceFile.endOfFileToken];\n  const n = statements.length;\n  while (current < n) {\n    while (current < n && !isAnyImportSyntax(statements[current])) {\n      visitNonImportNode(statements[current]);\n      current++;\n    }\n    if (current === n)\n      break;\n    const firstImport = current;\n    while (current < n && isAnyImportSyntax(statements[current])) {\n      addOutliningForLeadingCommentsForNode(statements[current], sourceFile, cancellationToken, out);\n      current++;\n    }\n    const lastImport = current - 1;\n    if (lastImport !== firstImport) {\n      out.push(createOutliningSpanFromBounds(findChildOfKind(statements[firstImport], 101 /* ImportKeyword */, sourceFile).getStart(sourceFile), statements[lastImport].getEnd(), \"imports\" /* Imports */));\n    }\n  }\n  function visitNonImportNode(n2) {\n    var _a2;\n    if (depthRemaining === 0)\n      return;\n    cancellationToken.throwIfCancellationRequested();\n    if (isDeclaration(n2) || isVariableStatement(n2) || isReturnStatement(n2) || isCallOrNewExpression(n2) || n2.kind === 1 /* EndOfFileToken */) {\n      addOutliningForLeadingCommentsForNode(n2, sourceFile, cancellationToken, out);\n    }\n    if (isFunctionLike(n2) && isBinaryExpression(n2.parent) && isPropertyAccessExpression(n2.parent.left)) {\n      addOutliningForLeadingCommentsForNode(n2.parent.left, sourceFile, cancellationToken, out);\n    }\n    if (isBlock(n2) || isModuleBlock(n2)) {\n      addOutliningForLeadingCommentsForPos(n2.statements.end, sourceFile, cancellationToken, out);\n    }\n    if (isClassLike(n2) || isInterfaceDeclaration(n2)) {\n      addOutliningForLeadingCommentsForPos(n2.members.end, sourceFile, cancellationToken, out);\n    }\n    const span = getOutliningSpanForNode(n2, sourceFile);\n    if (span)\n      out.push(span);\n    depthRemaining--;\n    if (isCallExpression(n2)) {\n      depthRemaining++;\n      visitNonImportNode(n2.expression);\n      depthRemaining--;\n      n2.arguments.forEach(visitNonImportNode);\n      (_a2 = n2.typeArguments) == null ? void 0 : _a2.forEach(visitNonImportNode);\n    } else if (isIfStatement(n2) && n2.elseStatement && isIfStatement(n2.elseStatement)) {\n      visitNonImportNode(n2.expression);\n      visitNonImportNode(n2.thenStatement);\n      depthRemaining++;\n      visitNonImportNode(n2.elseStatement);\n      depthRemaining--;\n    } else {\n      n2.forEachChild(visitNonImportNode);\n    }\n    depthRemaining++;\n  }\n}\nfunction addRegionOutliningSpans(sourceFile, out) {\n  const regions = [];\n  const lineStarts = sourceFile.getLineStarts();\n  for (const currentLineStart of lineStarts) {\n    const lineEnd = sourceFile.getLineEndOfPosition(currentLineStart);\n    const lineText = sourceFile.text.substring(currentLineStart, lineEnd);\n    const result = isRegionDelimiter(lineText);\n    if (!result || isInComment(sourceFile, currentLineStart)) {\n      continue;\n    }\n    if (!result[1]) {\n      const span = createTextSpanFromBounds(sourceFile.text.indexOf(\"//\", currentLineStart), lineEnd);\n      regions.push(createOutliningSpan(span, \"region\" /* Region */, span, false, result[2] || \"#region\"));\n    } else {\n      const region = regions.pop();\n      if (region) {\n        region.textSpan.length = lineEnd - region.textSpan.start;\n        region.hintSpan.length = lineEnd - region.textSpan.start;\n        out.push(region);\n      }\n    }\n  }\n}\nvar regionDelimiterRegExp = /^#(end)?region(?:\\s+(.*))?(?:\\r)?$/;\nfunction isRegionDelimiter(lineText) {\n  lineText = trimStringStart(lineText);\n  if (!startsWith(lineText, \"//\")) {\n    return null;\n  }\n  lineText = trimString(lineText.slice(2));\n  return regionDelimiterRegExp.exec(lineText);\n}\nfunction addOutliningForLeadingCommentsForPos(pos, sourceFile, cancellationToken, out) {\n  const comments = getLeadingCommentRanges(sourceFile.text, pos);\n  if (!comments)\n    return;\n  let firstSingleLineCommentStart = -1;\n  let lastSingleLineCommentEnd = -1;\n  let singleLineCommentCount = 0;\n  const sourceText = sourceFile.getFullText();\n  for (const { kind, pos: pos2, end } of comments) {\n    cancellationToken.throwIfCancellationRequested();\n    switch (kind) {\n      case 2 /* SingleLineCommentTrivia */:\n        const commentText = sourceText.slice(pos2, end);\n        if (isRegionDelimiter(commentText)) {\n          combineAndAddMultipleSingleLineComments();\n          singleLineCommentCount = 0;\n          break;\n        }\n        if (singleLineCommentCount === 0) {\n          firstSingleLineCommentStart = pos2;\n        }\n        lastSingleLineCommentEnd = end;\n        singleLineCommentCount++;\n        break;\n      case 3 /* MultiLineCommentTrivia */:\n        combineAndAddMultipleSingleLineComments();\n        out.push(createOutliningSpanFromBounds(pos2, end, \"comment\" /* Comment */));\n        singleLineCommentCount = 0;\n        break;\n      default:\n        Debug.assertNever(kind);\n    }\n  }\n  combineAndAddMultipleSingleLineComments();\n  function combineAndAddMultipleSingleLineComments() {\n    if (singleLineCommentCount > 1) {\n      out.push(createOutliningSpanFromBounds(firstSingleLineCommentStart, lastSingleLineCommentEnd, \"comment\" /* Comment */));\n    }\n  }\n}\nfunction addOutliningForLeadingCommentsForNode(n, sourceFile, cancellationToken, out) {\n  if (isJsxText(n))\n    return;\n  addOutliningForLeadingCommentsForPos(n.pos, sourceFile, cancellationToken, out);\n}\nfunction createOutliningSpanFromBounds(pos, end, kind) {\n  return createOutliningSpan(createTextSpanFromBounds(pos, end), kind);\n}\nfunction getOutliningSpanForNode(n, sourceFile) {\n  switch (n.kind) {\n    case 242 /* Block */:\n      if (isFunctionLike(n.parent)) {\n        return functionSpan(n.parent, n, sourceFile);\n      }\n      switch (n.parent.kind) {\n        case 247 /* DoStatement */:\n        case 250 /* ForInStatement */:\n        case 251 /* ForOfStatement */:\n        case 249 /* ForStatement */:\n        case 246 /* IfStatement */:\n        case 248 /* WhileStatement */:\n        case 255 /* WithStatement */:\n        case 301 /* CatchClause */:\n          return spanForNode(n.parent);\n        case 259 /* TryStatement */:\n          const tryStatement = n.parent;\n          if (tryStatement.tryBlock === n) {\n            return spanForNode(n.parent);\n          } else if (tryStatement.finallyBlock === n) {\n            const node = findChildOfKind(tryStatement, 97 /* FinallyKeyword */, sourceFile);\n            if (node)\n              return spanForNode(node);\n          }\n        default:\n          return createOutliningSpan(createTextSpanFromNode(n, sourceFile), \"code\" /* Code */);\n      }\n    case 271 /* ModuleBlock */:\n      return spanForNode(n.parent);\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 272 /* CaseBlock */:\n    case 187 /* TypeLiteral */:\n    case 206 /* ObjectBindingPattern */:\n      return spanForNode(n);\n    case 189 /* TupleType */:\n      return spanForNode(n, false, !isTupleTypeNode(n.parent), 22 /* OpenBracketToken */);\n    case 298 /* CaseClause */:\n    case 299 /* DefaultClause */:\n      return spanForNodeArray(n.statements);\n    case 210 /* ObjectLiteralExpression */:\n      return spanForObjectOrArrayLiteral(n);\n    case 209 /* ArrayLiteralExpression */:\n      return spanForObjectOrArrayLiteral(n, 22 /* OpenBracketToken */);\n    case 287 /* JsxElement */:\n      return spanForJSXElement(n);\n    case 291 /* JsxFragment */:\n      return spanForJSXFragment(n);\n    case 288 /* JsxSelfClosingElement */:\n    case 289 /* JsxOpeningElement */:\n      return spanForJSXAttributes(n.attributes);\n    case 229 /* TemplateExpression */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n      return spanForTemplateLiteral(n);\n    case 207 /* ArrayBindingPattern */:\n      return spanForNode(n, false, !isBindingElement(n.parent), 22 /* OpenBracketToken */);\n    case 219 /* ArrowFunction */:\n      return spanForArrowFunction(n);\n    case 213 /* CallExpression */:\n      return spanForCallExpression(n);\n    case 217 /* ParenthesizedExpression */:\n      return spanForParenthesizedExpression(n);\n  }\n  function spanForCallExpression(node) {\n    if (!node.arguments.length) {\n      return void 0;\n    }\n    const openToken = findChildOfKind(node, 20 /* OpenParenToken */, sourceFile);\n    const closeToken = findChildOfKind(node, 21 /* CloseParenToken */, sourceFile);\n    if (!openToken || !closeToken || positionsAreOnSameLine(openToken.pos, closeToken.pos, sourceFile)) {\n      return void 0;\n    }\n    return spanBetweenTokens(openToken, closeToken, node, sourceFile, false, true);\n  }\n  function spanForArrowFunction(node) {\n    if (isBlock(node.body) || isParenthesizedExpression(node.body) || positionsAreOnSameLine(node.body.getFullStart(), node.body.getEnd(), sourceFile)) {\n      return void 0;\n    }\n    const textSpan = createTextSpanFromBounds(node.body.getFullStart(), node.body.getEnd());\n    return createOutliningSpan(textSpan, \"code\" /* Code */, createTextSpanFromNode(node));\n  }\n  function spanForJSXElement(node) {\n    const textSpan = createTextSpanFromBounds(node.openingElement.getStart(sourceFile), node.closingElement.getEnd());\n    const tagName = node.openingElement.tagName.getText(sourceFile);\n    const bannerText = \"<\" + tagName + \">...</\" + tagName + \">\";\n    return createOutliningSpan(textSpan, \"code\" /* Code */, textSpan, false, bannerText);\n  }\n  function spanForJSXFragment(node) {\n    const textSpan = createTextSpanFromBounds(node.openingFragment.getStart(sourceFile), node.closingFragment.getEnd());\n    const bannerText = \"<>...</>\";\n    return createOutliningSpan(textSpan, \"code\" /* Code */, textSpan, false, bannerText);\n  }\n  function spanForJSXAttributes(node) {\n    if (node.properties.length === 0) {\n      return void 0;\n    }\n    return createOutliningSpanFromBounds(node.getStart(sourceFile), node.getEnd(), \"code\" /* Code */);\n  }\n  function spanForTemplateLiteral(node) {\n    if (node.kind === 14 /* NoSubstitutionTemplateLiteral */ && node.text.length === 0) {\n      return void 0;\n    }\n    return createOutliningSpanFromBounds(node.getStart(sourceFile), node.getEnd(), \"code\" /* Code */);\n  }\n  function spanForObjectOrArrayLiteral(node, open = 18 /* OpenBraceToken */) {\n    return spanForNode(node, false, !isArrayLiteralExpression(node.parent) && !isCallExpression(node.parent), open);\n  }\n  function spanForNode(hintSpanNode, autoCollapse = false, useFullStart = true, open = 18 /* OpenBraceToken */, close = open === 18 /* OpenBraceToken */ ? 19 /* CloseBraceToken */ : 23 /* CloseBracketToken */) {\n    const openToken = findChildOfKind(n, open, sourceFile);\n    const closeToken = findChildOfKind(n, close, sourceFile);\n    return openToken && closeToken && spanBetweenTokens(openToken, closeToken, hintSpanNode, sourceFile, autoCollapse, useFullStart);\n  }\n  function spanForNodeArray(nodeArray) {\n    return nodeArray.length ? createOutliningSpan(createTextSpanFromRange(nodeArray), \"code\" /* Code */) : void 0;\n  }\n  function spanForParenthesizedExpression(node) {\n    if (positionsAreOnSameLine(node.getStart(), node.getEnd(), sourceFile))\n      return void 0;\n    const textSpan = createTextSpanFromBounds(node.getStart(), node.getEnd());\n    return createOutliningSpan(textSpan, \"code\" /* Code */, createTextSpanFromNode(node));\n  }\n}\nfunction functionSpan(node, body, sourceFile) {\n  const openToken = tryGetFunctionOpenToken(node, body, sourceFile);\n  const closeToken = findChildOfKind(body, 19 /* CloseBraceToken */, sourceFile);\n  return openToken && closeToken && spanBetweenTokens(openToken, closeToken, node, sourceFile, node.kind !== 219 /* ArrowFunction */);\n}\nfunction spanBetweenTokens(openToken, closeToken, hintSpanNode, sourceFile, autoCollapse = false, useFullStart = true) {\n  const textSpan = createTextSpanFromBounds(useFullStart ? openToken.getFullStart() : openToken.getStart(sourceFile), closeToken.getEnd());\n  return createOutliningSpan(textSpan, \"code\" /* Code */, createTextSpanFromNode(hintSpanNode, sourceFile), autoCollapse);\n}\nfunction createOutliningSpan(textSpan, kind, hintSpan = textSpan, autoCollapse = false, bannerText = \"...\") {\n  return { textSpan, kind, hintSpan, bannerText, autoCollapse };\n}\nfunction tryGetFunctionOpenToken(node, body, sourceFile) {\n  if (isNodeArrayMultiLine(node.parameters, sourceFile)) {\n    const openParenToken = findChildOfKind(node, 20 /* OpenParenToken */, sourceFile);\n    if (openParenToken) {\n      return openParenToken;\n    }\n  }\n  return findChildOfKind(body, 18 /* OpenBraceToken */, sourceFile);\n}\n\n// src/services/_namespaces/ts.refactor.ts\nvar ts_refactor_exports = {};\n__export(ts_refactor_exports, {\n  addOrRemoveBracesToArrowFunction: () => ts_refactor_addOrRemoveBracesToArrowFunction_exports,\n  convertArrowFunctionOrFunctionExpression: () => ts_refactor_convertArrowFunctionOrFunctionExpression_exports,\n  convertParamsToDestructuredObject: () => ts_refactor_convertParamsToDestructuredObject_exports,\n  convertStringOrTemplateLiteral: () => ts_refactor_convertStringOrTemplateLiteral_exports,\n  convertToOptionalChainExpression: () => ts_refactor_convertToOptionalChainExpression_exports,\n  doChangeNamedToNamespaceOrDefault: () => doChangeNamedToNamespaceOrDefault,\n  extractSymbol: () => ts_refactor_extractSymbol_exports,\n  generateGetAccessorAndSetAccessor: () => ts_refactor_generateGetAccessorAndSetAccessor_exports,\n  getApplicableRefactors: () => getApplicableRefactors,\n  getEditsForRefactor: () => getEditsForRefactor,\n  inferFunctionReturnType: () => ts_refactor_inferFunctionReturnType_exports,\n  isRefactorErrorInfo: () => isRefactorErrorInfo,\n  refactorKindBeginsWith: () => refactorKindBeginsWith,\n  registerRefactor: () => registerRefactor\n});\n\n// src/services/refactorProvider.ts\nvar refactors = new Map2();\nfunction registerRefactor(name, refactor) {\n  refactors.set(name, refactor);\n}\nfunction getApplicableRefactors(context) {\n  return arrayFrom(flatMapIterator(refactors.values(), (refactor) => {\n    var _a2;\n    return context.cancellationToken && context.cancellationToken.isCancellationRequested() || !((_a2 = refactor.kinds) == null ? void 0 : _a2.some((kind) => refactorKindBeginsWith(kind, context.kind))) ? void 0 : refactor.getAvailableActions(context);\n  }));\n}\nfunction getEditsForRefactor(context, refactorName13, actionName2) {\n  const refactor = refactors.get(refactorName13);\n  return refactor && refactor.getEditsForAction(context, actionName2);\n}\n\n// src/services/refactors/convertExport.ts\nvar refactorName = \"Convert export\";\nvar defaultToNamedAction = {\n  name: \"Convert default export to named export\",\n  description: Diagnostics.Convert_default_export_to_named_export.message,\n  kind: \"refactor.rewrite.export.named\"\n};\nvar namedToDefaultAction = {\n  name: \"Convert named export to default export\",\n  description: Diagnostics.Convert_named_export_to_default_export.message,\n  kind: \"refactor.rewrite.export.default\"\n};\nregisterRefactor(refactorName, {\n  kinds: [\n    defaultToNamedAction.kind,\n    namedToDefaultAction.kind\n  ],\n  getAvailableActions: function getRefactorActionsToConvertBetweenNamedAndDefaultExports(context) {\n    const info = getInfo19(context, context.triggerReason === \"invoked\");\n    if (!info)\n      return emptyArray;\n    if (!isRefactorErrorInfo(info)) {\n      const action = info.wasDefault ? defaultToNamedAction : namedToDefaultAction;\n      return [{ name: refactorName, description: action.description, actions: [action] }];\n    }\n    if (context.preferences.provideRefactorNotApplicableReason) {\n      return [\n        { name: refactorName, description: Diagnostics.Convert_default_export_to_named_export.message, actions: [\n          { ...defaultToNamedAction, notApplicableReason: info.error },\n          { ...namedToDefaultAction, notApplicableReason: info.error }\n        ] }\n      ];\n    }\n    return emptyArray;\n  },\n  getEditsForAction: function getRefactorEditsToConvertBetweenNamedAndDefaultExports(context, actionName2) {\n    Debug.assert(actionName2 === defaultToNamedAction.name || actionName2 === namedToDefaultAction.name, \"Unexpected action name\");\n    const info = getInfo19(context);\n    Debug.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n    const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange33(context.file, context.program, info, t, context.cancellationToken));\n    return { edits, renameFilename: void 0, renameLocation: void 0 };\n  }\n});\nfunction getInfo19(context, considerPartialSpans = true) {\n  const { file, program } = context;\n  const span = getRefactorContextSpan(context);\n  const token = getTokenAtPosition(file, span.start);\n  const exportNode = !!(token.parent && getSyntacticModifierFlags(token.parent) & 1 /* Export */) && considerPartialSpans ? token.parent : getParentNodeInSpan(token, file, span);\n  if (!exportNode || !isSourceFile(exportNode.parent) && !(isModuleBlock(exportNode.parent) && isAmbientModule(exportNode.parent.parent))) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_export_statement) };\n  }\n  const checker = program.getTypeChecker();\n  const exportingModuleSymbol = getExportingModuleSymbol(exportNode, checker);\n  const flags = getSyntacticModifierFlags(exportNode) || (isExportAssignment(exportNode) && !exportNode.isExportEquals ? 1025 /* ExportDefault */ : 0 /* None */);\n  const wasDefault = !!(flags & 1024 /* Default */);\n  if (!(flags & 1 /* Export */) || !wasDefault && exportingModuleSymbol.exports.has(\"default\" /* Default */)) {\n    return { error: getLocaleSpecificMessage(Diagnostics.This_file_already_has_a_default_export) };\n  }\n  const noSymbolError = (id) => isIdentifier(id) && checker.getSymbolAtLocation(id) ? void 0 : { error: getLocaleSpecificMessage(Diagnostics.Can_only_convert_named_export) };\n  switch (exportNode.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 270 /* ModuleDeclaration */: {\n      const node = exportNode;\n      if (!node.name)\n        return void 0;\n      return noSymbolError(node.name) || { exportNode: node, exportName: node.name, wasDefault, exportingModuleSymbol };\n    }\n    case 244 /* VariableStatement */: {\n      const vs = exportNode;\n      if (!(vs.declarationList.flags & 2 /* Const */) || vs.declarationList.declarations.length !== 1) {\n        return void 0;\n      }\n      const decl = first(vs.declarationList.declarations);\n      if (!decl.initializer)\n        return void 0;\n      Debug.assert(!wasDefault, \"Can't have a default flag here\");\n      return noSymbolError(decl.name) || { exportNode: vs, exportName: decl.name, wasDefault, exportingModuleSymbol };\n    }\n    case 280 /* ExportAssignment */: {\n      const node = exportNode;\n      if (node.isExportEquals)\n        return void 0;\n      return noSymbolError(node.expression) || { exportNode: node, exportName: node.expression, wasDefault, exportingModuleSymbol };\n    }\n    default:\n      return void 0;\n  }\n}\nfunction doChange33(exportingSourceFile, program, info, changes, cancellationToken) {\n  changeExport(exportingSourceFile, info, changes, program.getTypeChecker());\n  changeImports(program, info, changes, cancellationToken);\n}\nfunction changeExport(exportingSourceFile, { wasDefault, exportNode, exportName }, changes, checker) {\n  if (wasDefault) {\n    if (isExportAssignment(exportNode) && !exportNode.isExportEquals) {\n      const exp = exportNode.expression;\n      const spec = makeExportSpecifier(exp.text, exp.text);\n      changes.replaceNode(exportingSourceFile, exportNode, factory.createExportDeclaration(void 0, false, factory.createNamedExports([spec])));\n    } else {\n      changes.delete(exportingSourceFile, Debug.checkDefined(findModifier(exportNode, 89 /* DefaultKeyword */), \"Should find a default keyword in modifier list\"));\n    }\n  } else {\n    const exportKeyword = Debug.checkDefined(findModifier(exportNode, 94 /* ExportKeyword */), \"Should find an export keyword in modifier list\");\n    switch (exportNode.kind) {\n      case 263 /* FunctionDeclaration */:\n      case 264 /* ClassDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n        changes.insertNodeAfter(exportingSourceFile, exportKeyword, factory.createToken(89 /* DefaultKeyword */));\n        break;\n      case 244 /* VariableStatement */:\n        const decl = first(exportNode.declarationList.declarations);\n        if (!ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(exportName, checker, exportingSourceFile) && !decl.type) {\n          changes.replaceNode(exportingSourceFile, exportNode, factory.createExportDefault(Debug.checkDefined(decl.initializer, \"Initializer was previously known to be present\")));\n          break;\n        }\n      case 269 /* EnumDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 270 /* ModuleDeclaration */:\n        changes.deleteModifier(exportingSourceFile, exportKeyword);\n        changes.insertNodeAfter(exportingSourceFile, exportNode, factory.createExportDefault(factory.createIdentifier(exportName.text)));\n        break;\n      default:\n        Debug.fail(`Unexpected exportNode kind ${exportNode.kind}`);\n    }\n  }\n}\nfunction changeImports(program, { wasDefault, exportName, exportingModuleSymbol }, changes, cancellationToken) {\n  const checker = program.getTypeChecker();\n  const exportSymbol = Debug.checkDefined(checker.getSymbolAtLocation(exportName), \"Export name should resolve to a symbol\");\n  ts_FindAllReferences_exports.Core.eachExportReference(program.getSourceFiles(), checker, cancellationToken, exportSymbol, exportingModuleSymbol, exportName.text, wasDefault, (ref) => {\n    if (exportName === ref)\n      return;\n    const importingSourceFile = ref.getSourceFile();\n    if (wasDefault) {\n      changeDefaultToNamedImport(importingSourceFile, ref, changes, exportName.text);\n    } else {\n      changeNamedToDefaultImport(importingSourceFile, ref, changes);\n    }\n  });\n}\nfunction changeDefaultToNamedImport(importingSourceFile, ref, changes, exportName) {\n  const { parent: parent2 } = ref;\n  switch (parent2.kind) {\n    case 211 /* PropertyAccessExpression */:\n      changes.replaceNode(importingSourceFile, ref, factory.createIdentifier(exportName));\n      break;\n    case 279 /* ImportSpecifier */:\n    case 284 /* ExportSpecifier */: {\n      const spec = parent2;\n      changes.replaceNode(importingSourceFile, spec, makeImportSpecifier2(exportName, spec.name.text));\n      break;\n    }\n    case 276 /* ImportClause */: {\n      const clause = parent2;\n      Debug.assert(clause.name === ref, \"Import clause name should match provided ref\");\n      const spec = makeImportSpecifier2(exportName, ref.text);\n      const { namedBindings } = clause;\n      if (!namedBindings) {\n        changes.replaceNode(importingSourceFile, ref, factory.createNamedImports([spec]));\n      } else if (namedBindings.kind === 277 /* NamespaceImport */) {\n        changes.deleteRange(importingSourceFile, { pos: ref.getStart(importingSourceFile), end: namedBindings.getStart(importingSourceFile) });\n        const quotePreference = isStringLiteral(clause.parent.moduleSpecifier) ? quotePreferenceFromString(clause.parent.moduleSpecifier, importingSourceFile) : 1 /* Double */;\n        const newImport = makeImport(void 0, [makeImportSpecifier2(exportName, ref.text)], clause.parent.moduleSpecifier, quotePreference);\n        changes.insertNodeAfter(importingSourceFile, clause.parent, newImport);\n      } else {\n        changes.delete(importingSourceFile, ref);\n        changes.insertNodeAtEndOfList(importingSourceFile, namedBindings.elements, spec);\n      }\n      break;\n    }\n    case 205 /* ImportType */:\n      const importTypeNode = parent2;\n      changes.replaceNode(importingSourceFile, parent2, factory.createImportTypeNode(importTypeNode.argument, importTypeNode.assertions, factory.createIdentifier(exportName), importTypeNode.typeArguments, importTypeNode.isTypeOf));\n      break;\n    default:\n      Debug.failBadSyntaxKind(parent2);\n  }\n}\nfunction changeNamedToDefaultImport(importingSourceFile, ref, changes) {\n  const parent2 = ref.parent;\n  switch (parent2.kind) {\n    case 211 /* PropertyAccessExpression */:\n      changes.replaceNode(importingSourceFile, ref, factory.createIdentifier(\"default\"));\n      break;\n    case 279 /* ImportSpecifier */: {\n      const defaultImport = factory.createIdentifier(parent2.name.text);\n      if (parent2.parent.elements.length === 1) {\n        changes.replaceNode(importingSourceFile, parent2.parent, defaultImport);\n      } else {\n        changes.delete(importingSourceFile, parent2);\n        changes.insertNodeBefore(importingSourceFile, parent2.parent, defaultImport);\n      }\n      break;\n    }\n    case 284 /* ExportSpecifier */: {\n      changes.replaceNode(importingSourceFile, parent2, makeExportSpecifier(\"default\", parent2.name.text));\n      break;\n    }\n    default:\n      Debug.assertNever(parent2, `Unexpected parent kind ${parent2.kind}`);\n  }\n}\nfunction makeImportSpecifier2(propertyName, name) {\n  return factory.createImportSpecifier(false, propertyName === name ? void 0 : factory.createIdentifier(propertyName), factory.createIdentifier(name));\n}\nfunction makeExportSpecifier(propertyName, name) {\n  return factory.createExportSpecifier(false, propertyName === name ? void 0 : factory.createIdentifier(propertyName), factory.createIdentifier(name));\n}\nfunction getExportingModuleSymbol(node, checker) {\n  const parent2 = node.parent;\n  if (isSourceFile(parent2)) {\n    return parent2.symbol;\n  }\n  const symbol = parent2.parent.symbol;\n  if (symbol.valueDeclaration && isExternalModuleAugmentation(symbol.valueDeclaration)) {\n    return checker.getMergedSymbol(symbol);\n  }\n  return symbol;\n}\n\n// src/services/refactors/convertImport.ts\nvar refactorName2 = \"Convert import\";\nvar actions = {\n  [0 /* Named */]: {\n    name: \"Convert namespace import to named imports\",\n    description: Diagnostics.Convert_namespace_import_to_named_imports.message,\n    kind: \"refactor.rewrite.import.named\"\n  },\n  [2 /* Namespace */]: {\n    name: \"Convert named imports to namespace import\",\n    description: Diagnostics.Convert_named_imports_to_namespace_import.message,\n    kind: \"refactor.rewrite.import.namespace\"\n  },\n  [1 /* Default */]: {\n    name: \"Convert named imports to default import\",\n    description: Diagnostics.Convert_named_imports_to_default_import.message,\n    kind: \"refactor.rewrite.import.default\"\n  }\n};\nregisterRefactor(refactorName2, {\n  kinds: getOwnValues(actions).map((a) => a.kind),\n  getAvailableActions: function getRefactorActionsToConvertBetweenNamedAndNamespacedImports(context) {\n    const info = getImportConversionInfo(context, context.triggerReason === \"invoked\");\n    if (!info)\n      return emptyArray;\n    if (!isRefactorErrorInfo(info)) {\n      const action = actions[info.convertTo];\n      return [{ name: refactorName2, description: action.description, actions: [action] }];\n    }\n    if (context.preferences.provideRefactorNotApplicableReason) {\n      return getOwnValues(actions).map((action) => ({\n        name: refactorName2,\n        description: action.description,\n        actions: [{ ...action, notApplicableReason: info.error }]\n      }));\n    }\n    return emptyArray;\n  },\n  getEditsForAction: function getRefactorEditsToConvertBetweenNamedAndNamespacedImports(context, actionName2) {\n    Debug.assert(some(getOwnValues(actions), (action) => action.name === actionName2), \"Unexpected action name\");\n    const info = getImportConversionInfo(context);\n    Debug.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n    const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange34(context.file, context.program, t, info));\n    return { edits, renameFilename: void 0, renameLocation: void 0 };\n  }\n});\nfunction getImportConversionInfo(context, considerPartialSpans = true) {\n  const { file } = context;\n  const span = getRefactorContextSpan(context);\n  const token = getTokenAtPosition(file, span.start);\n  const importDecl = considerPartialSpans ? findAncestor(token, isImportDeclaration) : getParentNodeInSpan(token, file, span);\n  if (!importDecl || !isImportDeclaration(importDecl))\n    return { error: \"Selection is not an import declaration.\" };\n  const end = span.start + span.length;\n  const nextToken = findNextToken(importDecl, importDecl.parent, file);\n  if (nextToken && end > nextToken.getStart())\n    return void 0;\n  const { importClause } = importDecl;\n  if (!importClause) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_import_clause) };\n  }\n  if (!importClause.namedBindings) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_namespace_import_or_named_imports) };\n  }\n  if (importClause.namedBindings.kind === 277 /* NamespaceImport */) {\n    return { convertTo: 0 /* Named */, import: importClause.namedBindings };\n  }\n  const shouldUseDefault = getShouldUseDefault(context.program, importClause);\n  return shouldUseDefault ? { convertTo: 1 /* Default */, import: importClause.namedBindings } : { convertTo: 2 /* Namespace */, import: importClause.namedBindings };\n}\nfunction getShouldUseDefault(program, importClause) {\n  return getAllowSyntheticDefaultImports(program.getCompilerOptions()) && isExportEqualsModule(importClause.parent.moduleSpecifier, program.getTypeChecker());\n}\nfunction doChange34(sourceFile, program, changes, info) {\n  const checker = program.getTypeChecker();\n  if (info.convertTo === 0 /* Named */) {\n    doChangeNamespaceToNamed(sourceFile, checker, changes, info.import, getAllowSyntheticDefaultImports(program.getCompilerOptions()));\n  } else {\n    doChangeNamedToNamespaceOrDefault(sourceFile, program, changes, info.import, info.convertTo === 1 /* Default */);\n  }\n}\nfunction doChangeNamespaceToNamed(sourceFile, checker, changes, toConvert, allowSyntheticDefaultImports) {\n  let usedAsNamespaceOrDefault = false;\n  const nodesToReplace = [];\n  const conflictingNames = new Map2();\n  ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(toConvert.name, checker, sourceFile, (id) => {\n    if (!isPropertyAccessOrQualifiedName(id.parent)) {\n      usedAsNamespaceOrDefault = true;\n    } else {\n      const exportName = getRightOfPropertyAccessOrQualifiedName(id.parent).text;\n      if (checker.resolveName(exportName, id, 67108863 /* All */, true)) {\n        conflictingNames.set(exportName, true);\n      }\n      Debug.assert(getLeftOfPropertyAccessOrQualifiedName(id.parent) === id, \"Parent expression should match id\");\n      nodesToReplace.push(id.parent);\n    }\n  });\n  const exportNameToImportName = new Map2();\n  for (const propertyAccessOrQualifiedName of nodesToReplace) {\n    const exportName = getRightOfPropertyAccessOrQualifiedName(propertyAccessOrQualifiedName).text;\n    let importName = exportNameToImportName.get(exportName);\n    if (importName === void 0) {\n      exportNameToImportName.set(exportName, importName = conflictingNames.has(exportName) ? getUniqueName(exportName, sourceFile) : exportName);\n    }\n    changes.replaceNode(sourceFile, propertyAccessOrQualifiedName, factory.createIdentifier(importName));\n  }\n  const importSpecifiers = [];\n  exportNameToImportName.forEach((name, propertyName) => {\n    importSpecifiers.push(factory.createImportSpecifier(false, name === propertyName ? void 0 : factory.createIdentifier(propertyName), factory.createIdentifier(name)));\n  });\n  const importDecl = toConvert.parent.parent;\n  if (usedAsNamespaceOrDefault && !allowSyntheticDefaultImports) {\n    changes.insertNodeAfter(sourceFile, importDecl, updateImport(importDecl, void 0, importSpecifiers));\n  } else {\n    changes.replaceNode(sourceFile, importDecl, updateImport(importDecl, usedAsNamespaceOrDefault ? factory.createIdentifier(toConvert.name.text) : void 0, importSpecifiers));\n  }\n}\nfunction getRightOfPropertyAccessOrQualifiedName(propertyAccessOrQualifiedName) {\n  return isPropertyAccessExpression(propertyAccessOrQualifiedName) ? propertyAccessOrQualifiedName.name : propertyAccessOrQualifiedName.right;\n}\nfunction getLeftOfPropertyAccessOrQualifiedName(propertyAccessOrQualifiedName) {\n  return isPropertyAccessExpression(propertyAccessOrQualifiedName) ? propertyAccessOrQualifiedName.expression : propertyAccessOrQualifiedName.left;\n}\nfunction doChangeNamedToNamespaceOrDefault(sourceFile, program, changes, toConvert, shouldUseDefault = getShouldUseDefault(program, toConvert.parent)) {\n  const checker = program.getTypeChecker();\n  const importDecl = toConvert.parent.parent;\n  const { moduleSpecifier } = importDecl;\n  const toConvertSymbols = new Set2();\n  toConvert.elements.forEach((namedImport) => {\n    const symbol = checker.getSymbolAtLocation(namedImport.name);\n    if (symbol) {\n      toConvertSymbols.add(symbol);\n    }\n  });\n  const preferredName = moduleSpecifier && isStringLiteral(moduleSpecifier) ? ts_codefix_exports.moduleSpecifierToValidIdentifier(moduleSpecifier.text, 99 /* ESNext */) : \"module\";\n  function hasNamespaceNameConflict(namedImport) {\n    return !!ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(namedImport.name, checker, sourceFile, (id) => {\n      const symbol = checker.resolveName(preferredName, id, 67108863 /* All */, true);\n      if (symbol) {\n        if (toConvertSymbols.has(symbol)) {\n          return isExportSpecifier(id.parent);\n        }\n        return true;\n      }\n      return false;\n    });\n  }\n  const namespaceNameConflicts = toConvert.elements.some(hasNamespaceNameConflict);\n  const namespaceImportName = namespaceNameConflicts ? getUniqueName(preferredName, sourceFile) : preferredName;\n  const neededNamedImports = new Set2();\n  for (const element of toConvert.elements) {\n    const propertyName = (element.propertyName || element.name).text;\n    ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(element.name, checker, sourceFile, (id) => {\n      const access = factory.createPropertyAccessExpression(factory.createIdentifier(namespaceImportName), propertyName);\n      if (isShorthandPropertyAssignment(id.parent)) {\n        changes.replaceNode(sourceFile, id.parent, factory.createPropertyAssignment(id.text, access));\n      } else if (isExportSpecifier(id.parent)) {\n        neededNamedImports.add(element);\n      } else {\n        changes.replaceNode(sourceFile, id, access);\n      }\n    });\n  }\n  changes.replaceNode(sourceFile, toConvert, shouldUseDefault ? factory.createIdentifier(namespaceImportName) : factory.createNamespaceImport(factory.createIdentifier(namespaceImportName)));\n  if (neededNamedImports.size) {\n    const newNamedImports = arrayFrom(neededNamedImports.values()).map((element) => factory.createImportSpecifier(element.isTypeOnly, element.propertyName && factory.createIdentifier(element.propertyName.text), factory.createIdentifier(element.name.text)));\n    changes.insertNodeAfter(sourceFile, toConvert.parent.parent, updateImport(importDecl, void 0, newNamedImports));\n  }\n}\nfunction isExportEqualsModule(moduleSpecifier, checker) {\n  const externalModule = checker.resolveExternalModuleName(moduleSpecifier);\n  if (!externalModule)\n    return false;\n  const exportEquals = checker.resolveExternalModuleSymbol(externalModule);\n  return externalModule !== exportEquals;\n}\nfunction updateImport(old, defaultImportName, elements) {\n  return factory.createImportDeclaration(\n    void 0,\n    factory.createImportClause(false, defaultImportName, elements && elements.length ? factory.createNamedImports(elements) : void 0),\n    old.moduleSpecifier,\n    void 0\n  );\n}\n\n// src/services/refactors/extractType.ts\nvar refactorName3 = \"Extract type\";\nvar extractToTypeAliasAction = {\n  name: \"Extract to type alias\",\n  description: getLocaleSpecificMessage(Diagnostics.Extract_to_type_alias),\n  kind: \"refactor.extract.type\"\n};\nvar extractToInterfaceAction = {\n  name: \"Extract to interface\",\n  description: getLocaleSpecificMessage(Diagnostics.Extract_to_interface),\n  kind: \"refactor.extract.interface\"\n};\nvar extractToTypeDefAction = {\n  name: \"Extract to typedef\",\n  description: getLocaleSpecificMessage(Diagnostics.Extract_to_typedef),\n  kind: \"refactor.extract.typedef\"\n};\nregisterRefactor(refactorName3, {\n  kinds: [\n    extractToTypeAliasAction.kind,\n    extractToInterfaceAction.kind,\n    extractToTypeDefAction.kind\n  ],\n  getAvailableActions: function getRefactorActionsToExtractType(context) {\n    const info = getRangeToExtract(context, context.triggerReason === \"invoked\");\n    if (!info)\n      return emptyArray;\n    if (!isRefactorErrorInfo(info)) {\n      return [{\n        name: refactorName3,\n        description: getLocaleSpecificMessage(Diagnostics.Extract_type),\n        actions: info.isJS ? [extractToTypeDefAction] : append([extractToTypeAliasAction], info.typeElements && extractToInterfaceAction)\n      }];\n    }\n    if (context.preferences.provideRefactorNotApplicableReason) {\n      return [{\n        name: refactorName3,\n        description: getLocaleSpecificMessage(Diagnostics.Extract_type),\n        actions: [\n          { ...extractToTypeDefAction, notApplicableReason: info.error },\n          { ...extractToTypeAliasAction, notApplicableReason: info.error },\n          { ...extractToInterfaceAction, notApplicableReason: info.error }\n        ]\n      }];\n    }\n    return emptyArray;\n  },\n  getEditsForAction: function getRefactorEditsToExtractType(context, actionName2) {\n    const { file } = context;\n    const info = getRangeToExtract(context);\n    Debug.assert(info && !isRefactorErrorInfo(info), \"Expected to find a range to extract\");\n    const name = getUniqueName(\"NewType\", file);\n    const edits = ts_textChanges_exports.ChangeTracker.with(context, (changes) => {\n      switch (actionName2) {\n        case extractToTypeAliasAction.name:\n          Debug.assert(!info.isJS, \"Invalid actionName/JS combo\");\n          return doTypeAliasChange(changes, file, name, info);\n        case extractToTypeDefAction.name:\n          Debug.assert(info.isJS, \"Invalid actionName/JS combo\");\n          return doTypedefChange(changes, file, name, info);\n        case extractToInterfaceAction.name:\n          Debug.assert(!info.isJS && !!info.typeElements, \"Invalid actionName/JS combo\");\n          return doInterfaceChange(changes, file, name, info);\n        default:\n          Debug.fail(\"Unexpected action name\");\n      }\n    });\n    const renameFilename = file.fileName;\n    const renameLocation = getRenameLocation(edits, renameFilename, name, false);\n    return { edits, renameFilename, renameLocation };\n  }\n});\nfunction getRangeToExtract(context, considerEmptySpans = true) {\n  const { file, startPosition } = context;\n  const isJS = isSourceFileJS(file);\n  const current = getTokenAtPosition(file, startPosition);\n  const range = createTextRangeFromSpan(getRefactorContextSpan(context));\n  const cursorRequest = range.pos === range.end && considerEmptySpans;\n  const selection = findAncestor(current, (node) => node.parent && isTypeNode(node) && !rangeContainsSkipTrivia(range, node.parent, file) && (cursorRequest || nodeOverlapsWithStartEnd(current, file, range.pos, range.end)));\n  if (!selection || !isTypeNode(selection))\n    return { error: getLocaleSpecificMessage(Diagnostics.Selection_is_not_a_valid_type_node) };\n  const checker = context.program.getTypeChecker();\n  const firstStatement = Debug.checkDefined(findAncestor(selection, isStatement), \"Should find a statement\");\n  const typeParameters = collectTypeParameters(checker, selection, firstStatement, file);\n  if (!typeParameters)\n    return { error: getLocaleSpecificMessage(Diagnostics.No_type_could_be_extracted_from_this_type_node) };\n  const typeElements = flattenTypeLiteralNodeReference(checker, selection);\n  return { isJS, selection, firstStatement, typeParameters, typeElements };\n}\nfunction flattenTypeLiteralNodeReference(checker, node) {\n  if (!node)\n    return void 0;\n  if (isIntersectionTypeNode(node)) {\n    const result = [];\n    const seen = new Map2();\n    for (const type of node.types) {\n      const flattenedTypeMembers = flattenTypeLiteralNodeReference(checker, type);\n      if (!flattenedTypeMembers || !flattenedTypeMembers.every((type2) => type2.name && addToSeen(seen, getNameFromPropertyName(type2.name)))) {\n        return void 0;\n      }\n      addRange(result, flattenedTypeMembers);\n    }\n    return result;\n  } else if (isParenthesizedTypeNode(node)) {\n    return flattenTypeLiteralNodeReference(checker, node.type);\n  } else if (isTypeLiteralNode(node)) {\n    return node.members;\n  }\n  return void 0;\n}\nfunction rangeContainsSkipTrivia(r1, node, file) {\n  return rangeContainsStartEnd(r1, skipTrivia(file.text, node.pos), node.end);\n}\nfunction collectTypeParameters(checker, selection, statement, file) {\n  const result = [];\n  return visitor(selection) ? void 0 : result;\n  function visitor(node) {\n    if (isTypeReferenceNode(node)) {\n      if (isIdentifier(node.typeName)) {\n        const typeName = node.typeName;\n        const symbol = checker.resolveName(typeName.text, typeName, 262144 /* TypeParameter */, true);\n        for (const decl of (symbol == null ? void 0 : symbol.declarations) || emptyArray) {\n          if (isTypeParameterDeclaration(decl) && decl.getSourceFile() === file) {\n            if (decl.name.escapedText === typeName.escapedText && rangeContainsSkipTrivia(decl, selection, file)) {\n              return true;\n            }\n            if (rangeContainsSkipTrivia(statement, decl, file) && !rangeContainsSkipTrivia(selection, decl, file)) {\n              pushIfUnique(result, decl);\n              break;\n            }\n          }\n        }\n      }\n    } else if (isInferTypeNode(node)) {\n      const conditionalTypeNode = findAncestor(node, (n) => isConditionalTypeNode(n) && rangeContainsSkipTrivia(n.extendsType, node, file));\n      if (!conditionalTypeNode || !rangeContainsSkipTrivia(selection, conditionalTypeNode, file)) {\n        return true;\n      }\n    } else if (isTypePredicateNode(node) || isThisTypeNode(node)) {\n      const functionLikeNode = findAncestor(node.parent, isFunctionLike);\n      if (functionLikeNode && functionLikeNode.type && rangeContainsSkipTrivia(functionLikeNode.type, node, file) && !rangeContainsSkipTrivia(selection, functionLikeNode, file)) {\n        return true;\n      }\n    } else if (isTypeQueryNode(node)) {\n      if (isIdentifier(node.exprName)) {\n        const symbol = checker.resolveName(node.exprName.text, node.exprName, 111551 /* Value */, false);\n        if ((symbol == null ? void 0 : symbol.valueDeclaration) && rangeContainsSkipTrivia(statement, symbol.valueDeclaration, file) && !rangeContainsSkipTrivia(selection, symbol.valueDeclaration, file)) {\n          return true;\n        }\n      } else {\n        if (isThisIdentifier(node.exprName.left) && !rangeContainsSkipTrivia(selection, node.parent, file)) {\n          return true;\n        }\n      }\n    }\n    if (file && isTupleTypeNode(node) && getLineAndCharacterOfPosition(file, node.pos).line === getLineAndCharacterOfPosition(file, node.end).line) {\n      setEmitFlags(node, 1 /* SingleLine */);\n    }\n    return forEachChild(node, visitor);\n  }\n}\nfunction doTypeAliasChange(changes, file, name, info) {\n  const { firstStatement, selection, typeParameters } = info;\n  const newTypeNode = factory.createTypeAliasDeclaration(\n    void 0,\n    name,\n    typeParameters.map((id) => factory.updateTypeParameterDeclaration(id, id.modifiers, id.name, id.constraint, void 0)),\n    selection\n  );\n  changes.insertNodeBefore(file, firstStatement, ignoreSourceNewlines(newTypeNode), true);\n  changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map((id) => factory.createTypeReferenceNode(id.name, void 0))), { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude, trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.ExcludeWhitespace });\n}\nfunction doInterfaceChange(changes, file, name, info) {\n  var _a2;\n  const { firstStatement, selection, typeParameters, typeElements } = info;\n  const newTypeNode = factory.createInterfaceDeclaration(\n    void 0,\n    name,\n    typeParameters,\n    void 0,\n    typeElements\n  );\n  setTextRange(newTypeNode, (_a2 = typeElements[0]) == null ? void 0 : _a2.parent);\n  changes.insertNodeBefore(file, firstStatement, ignoreSourceNewlines(newTypeNode), true);\n  changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map((id) => factory.createTypeReferenceNode(id.name, void 0))), { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude, trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.ExcludeWhitespace });\n}\nfunction doTypedefChange(changes, file, name, info) {\n  const { firstStatement, selection, typeParameters } = info;\n  setEmitFlags(selection, 1536 /* NoComments */ | 2048 /* NoNestedComments */);\n  const node = factory.createJSDocTypedefTag(\n    factory.createIdentifier(\"typedef\"),\n    factory.createJSDocTypeExpression(selection),\n    factory.createIdentifier(name)\n  );\n  const templates = [];\n  forEach(typeParameters, (typeParameter) => {\n    const constraint = getEffectiveConstraintOfTypeParameter(typeParameter);\n    const parameter = factory.createTypeParameterDeclaration(void 0, typeParameter.name);\n    const template = factory.createJSDocTemplateTag(\n      factory.createIdentifier(\"template\"),\n      constraint && cast(constraint, isJSDocTypeExpression),\n      [parameter]\n    );\n    templates.push(template);\n  });\n  changes.insertNodeBefore(file, firstStatement, factory.createJSDocComment(void 0, factory.createNodeArray(concatenate(templates, [node]))), true);\n  changes.replaceNode(file, selection, factory.createTypeReferenceNode(name, typeParameters.map((id) => factory.createTypeReferenceNode(id.name, void 0))));\n}\n\n// src/services/refactors/helpers.ts\nfunction isRefactorErrorInfo(info) {\n  return info.error !== void 0;\n}\nfunction refactorKindBeginsWith(known, requested) {\n  if (!requested)\n    return true;\n  return known.substr(0, requested.length) === requested;\n}\n\n// src/services/refactors/moveToNewFile.ts\nvar refactorName4 = \"Move to a new file\";\nvar description = getLocaleSpecificMessage(Diagnostics.Move_to_a_new_file);\nvar moveToNewFileAction = {\n  name: refactorName4,\n  description,\n  kind: \"refactor.move.newFile\"\n};\nregisterRefactor(refactorName4, {\n  kinds: [moveToNewFileAction.kind],\n  getAvailableActions: function getRefactorActionsToMoveToNewFile(context) {\n    const statements = getStatementsToMove(context);\n    if (context.preferences.allowTextChangesInNewFiles && statements) {\n      return [{ name: refactorName4, description, actions: [moveToNewFileAction] }];\n    }\n    if (context.preferences.provideRefactorNotApplicableReason) {\n      return [{\n        name: refactorName4,\n        description,\n        actions: [{ ...moveToNewFileAction, notApplicableReason: getLocaleSpecificMessage(Diagnostics.Selection_is_not_a_valid_statement_or_statements) }]\n      }];\n    }\n    return emptyArray;\n  },\n  getEditsForAction: function getRefactorEditsToMoveToNewFile(context, actionName2) {\n    Debug.assert(actionName2 === refactorName4, \"Wrong refactor invoked\");\n    const statements = Debug.checkDefined(getStatementsToMove(context));\n    const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange35(context.file, context.program, statements, t, context.host, context.preferences));\n    return { edits, renameFilename: void 0, renameLocation: void 0 };\n  }\n});\nfunction getRangeToMove(context) {\n  const { file } = context;\n  const range = createTextRangeFromSpan(getRefactorContextSpan(context));\n  const { statements } = file;\n  const startNodeIndex = findIndex(statements, (s) => s.end > range.pos);\n  if (startNodeIndex === -1)\n    return void 0;\n  const startStatement = statements[startNodeIndex];\n  if (isNamedDeclaration(startStatement) && startStatement.name && rangeContainsRange(startStatement.name, range)) {\n    return { toMove: [statements[startNodeIndex]], afterLast: statements[startNodeIndex + 1] };\n  }\n  if (range.pos > startStatement.getStart(file))\n    return void 0;\n  const afterEndNodeIndex = findIndex(statements, (s) => s.end > range.end, startNodeIndex);\n  if (afterEndNodeIndex !== -1 && (afterEndNodeIndex === 0 || statements[afterEndNodeIndex].getStart(file) < range.end))\n    return void 0;\n  return {\n    toMove: statements.slice(startNodeIndex, afterEndNodeIndex === -1 ? statements.length : afterEndNodeIndex),\n    afterLast: afterEndNodeIndex === -1 ? void 0 : statements[afterEndNodeIndex]\n  };\n}\nfunction doChange35(oldFile, program, toMove, changes, host, preferences) {\n  const checker = program.getTypeChecker();\n  const usage = getUsageInfo(oldFile, toMove.all, checker);\n  const currentDirectory = getDirectoryPath(oldFile.fileName);\n  const extension = extensionFromPath(oldFile.fileName);\n  const newModuleName = makeUniqueModuleName(getNewModuleName(usage.oldFileImportsFromNewFile, usage.movedSymbols), extension, currentDirectory, host);\n  const newFileNameWithExtension = newModuleName + extension;\n  changes.createNewFile(oldFile, combinePaths(currentDirectory, newFileNameWithExtension), getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences));\n  addNewFileToTsconfig(program, changes, oldFile.fileName, newFileNameWithExtension, hostGetCanonicalFileName(host));\n}\nfunction getStatementsToMove(context) {\n  const rangeToMove = getRangeToMove(context);\n  if (rangeToMove === void 0)\n    return void 0;\n  const all = [];\n  const ranges = [];\n  const { toMove, afterLast } = rangeToMove;\n  getRangesWhere(toMove, isAllowedStatementToMove, (start, afterEndIndex) => {\n    for (let i = start; i < afterEndIndex; i++)\n      all.push(toMove[i]);\n    ranges.push({ first: toMove[start], afterLast });\n  });\n  return all.length === 0 ? void 0 : { all, ranges };\n}\nfunction isAllowedStatementToMove(statement) {\n  return !isPureImport(statement) && !isPrologueDirective(statement);\n}\nfunction isPureImport(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n      return true;\n    case 274 /* ImportEqualsDeclaration */:\n      return !hasSyntacticModifier(node, 1 /* Export */);\n    case 244 /* VariableStatement */:\n      return node.declarationList.declarations.every((d) => !!d.initializer && isRequireCall(d.initializer, true));\n    default:\n      return false;\n  }\n}\nfunction addNewFileToTsconfig(program, changes, oldFileName, newFileNameWithExtension, getCanonicalFileName) {\n  const cfg = program.getCompilerOptions().configFile;\n  if (!cfg)\n    return;\n  const newFileAbsolutePath = normalizePath(combinePaths(oldFileName, \"..\", newFileNameWithExtension));\n  const newFilePath = getRelativePathFromFile(cfg.fileName, newFileAbsolutePath, getCanonicalFileName);\n  const cfgObject = cfg.statements[0] && tryCast(cfg.statements[0].expression, isObjectLiteralExpression);\n  const filesProp = cfgObject && find(cfgObject.properties, (prop) => isPropertyAssignment(prop) && isStringLiteral(prop.name) && prop.name.text === \"files\");\n  if (filesProp && isArrayLiteralExpression(filesProp.initializer)) {\n    changes.insertNodeInListAfter(cfg, last(filesProp.initializer.elements), factory.createStringLiteral(newFilePath), filesProp.initializer.elements);\n  }\n}\nfunction getNewStatementsAndRemoveFromOldFile(oldFile, usage, changes, toMove, program, newModuleName, preferences) {\n  const checker = program.getTypeChecker();\n  const prologueDirectives = takeWhile(oldFile.statements, isPrologueDirective);\n  if (oldFile.externalModuleIndicator === void 0 && oldFile.commonJsModuleIndicator === void 0 && usage.oldImportsNeededByNewFile.size() === 0) {\n    deleteMovedStatements(oldFile, toMove.ranges, changes);\n    return [...prologueDirectives, ...toMove.all];\n  }\n  const useEsModuleSyntax = !!oldFile.externalModuleIndicator;\n  const quotePreference = getQuotePreference(oldFile, preferences);\n  const importsFromNewFile = createOldFileImportsFromNewFile(usage.oldFileImportsFromNewFile, newModuleName, useEsModuleSyntax, quotePreference);\n  if (importsFromNewFile) {\n    insertImports(changes, oldFile, importsFromNewFile, true);\n  }\n  deleteUnusedOldImports(oldFile, toMove.all, changes, usage.unusedImportsFromOldFile, checker);\n  deleteMovedStatements(oldFile, toMove.ranges, changes);\n  updateImportsInOtherFiles(changes, program, oldFile, usage.movedSymbols, newModuleName);\n  const imports = getNewFileImportsAndAddExportInOldFile(oldFile, usage.oldImportsNeededByNewFile, usage.newFileImportsFromOldFile, changes, checker, useEsModuleSyntax, quotePreference);\n  const body = addExports(oldFile, toMove.all, usage.oldFileImportsFromNewFile, useEsModuleSyntax);\n  if (imports.length && body.length) {\n    return [\n      ...prologueDirectives,\n      ...imports,\n      4 /* NewLineTrivia */,\n      ...body\n    ];\n  }\n  return [\n    ...prologueDirectives,\n    ...imports,\n    ...body\n  ];\n}\nfunction deleteMovedStatements(sourceFile, moved, changes) {\n  for (const { first: first2, afterLast } of moved) {\n    changes.deleteNodeRangeExcludingEnd(sourceFile, first2, afterLast);\n  }\n}\nfunction deleteUnusedOldImports(oldFile, toMove, changes, toDelete, checker) {\n  for (const statement of oldFile.statements) {\n    if (contains(toMove, statement))\n      continue;\n    forEachImportInStatement(statement, (i) => deleteUnusedImports(oldFile, i, changes, (name) => toDelete.has(checker.getSymbolAtLocation(name))));\n  }\n}\nfunction updateImportsInOtherFiles(changes, program, oldFile, movedSymbols, newModuleName) {\n  const checker = program.getTypeChecker();\n  for (const sourceFile of program.getSourceFiles()) {\n    if (sourceFile === oldFile)\n      continue;\n    for (const statement of sourceFile.statements) {\n      forEachImportInStatement(statement, (importNode) => {\n        if (checker.getSymbolAtLocation(moduleSpecifierFromImport(importNode)) !== oldFile.symbol)\n          return;\n        const shouldMove = (name) => {\n          const symbol = isBindingElement(name.parent) ? getPropertySymbolFromBindingElement(checker, name.parent) : skipAlias(checker.getSymbolAtLocation(name), checker);\n          return !!symbol && movedSymbols.has(symbol);\n        };\n        deleteUnusedImports(sourceFile, importNode, changes, shouldMove);\n        const newModuleSpecifier = combinePaths(getDirectoryPath(moduleSpecifierFromImport(importNode).text), newModuleName);\n        const newImportDeclaration = filterImport(importNode, factory.createStringLiteral(newModuleSpecifier), shouldMove);\n        if (newImportDeclaration)\n          changes.insertNodeAfter(sourceFile, statement, newImportDeclaration);\n        const ns = getNamespaceLikeImport(importNode);\n        if (ns)\n          updateNamespaceLikeImport(changes, sourceFile, checker, movedSymbols, newModuleName, newModuleSpecifier, ns, importNode);\n      });\n    }\n  }\n}\nfunction getNamespaceLikeImport(node) {\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n      return node.importClause && node.importClause.namedBindings && node.importClause.namedBindings.kind === 277 /* NamespaceImport */ ? node.importClause.namedBindings.name : void 0;\n    case 274 /* ImportEqualsDeclaration */:\n      return node.name;\n    case 261 /* VariableDeclaration */:\n      return tryCast(node.name, isIdentifier);\n    default:\n      return Debug.assertNever(node, `Unexpected node kind ${node.kind}`);\n  }\n}\nfunction updateNamespaceLikeImport(changes, sourceFile, checker, movedSymbols, newModuleName, newModuleSpecifier, oldImportId, oldImportNode) {\n  const preferredNewNamespaceName = ts_codefix_exports.moduleSpecifierToValidIdentifier(newModuleName, 99 /* ESNext */);\n  let needUniqueName = false;\n  const toChange = [];\n  ts_FindAllReferences_exports.Core.eachSymbolReferenceInFile(oldImportId, checker, sourceFile, (ref) => {\n    if (!isPropertyAccessExpression(ref.parent))\n      return;\n    needUniqueName = needUniqueName || !!checker.resolveName(preferredNewNamespaceName, ref, 67108863 /* All */, true);\n    if (movedSymbols.has(checker.getSymbolAtLocation(ref.parent.name))) {\n      toChange.push(ref);\n    }\n  });\n  if (toChange.length) {\n    const newNamespaceName = needUniqueName ? getUniqueName(preferredNewNamespaceName, sourceFile) : preferredNewNamespaceName;\n    for (const ref of toChange) {\n      changes.replaceNode(sourceFile, ref, factory.createIdentifier(newNamespaceName));\n    }\n    changes.insertNodeAfter(sourceFile, oldImportNode, updateNamespaceLikeImportNode(oldImportNode, newModuleName, newModuleSpecifier));\n  }\n}\nfunction updateNamespaceLikeImportNode(node, newNamespaceName, newModuleSpecifier) {\n  const newNamespaceId = factory.createIdentifier(newNamespaceName);\n  const newModuleString = factory.createStringLiteral(newModuleSpecifier);\n  switch (node.kind) {\n    case 275 /* ImportDeclaration */:\n      return factory.createImportDeclaration(\n        void 0,\n        factory.createImportClause(false, void 0, factory.createNamespaceImport(newNamespaceId)),\n        newModuleString,\n        void 0\n      );\n    case 274 /* ImportEqualsDeclaration */:\n      return factory.createImportEqualsDeclaration(void 0, false, newNamespaceId, factory.createExternalModuleReference(newModuleString));\n    case 261 /* VariableDeclaration */:\n      return factory.createVariableDeclaration(newNamespaceId, void 0, void 0, createRequireCall(newModuleString));\n    default:\n      return Debug.assertNever(node, `Unexpected node kind ${node.kind}`);\n  }\n}\nfunction moduleSpecifierFromImport(i) {\n  return i.kind === 275 /* ImportDeclaration */ ? i.moduleSpecifier : i.kind === 274 /* ImportEqualsDeclaration */ ? i.moduleReference.expression : i.initializer.arguments[0];\n}\nfunction forEachImportInStatement(statement, cb) {\n  if (isImportDeclaration(statement)) {\n    if (isStringLiteral(statement.moduleSpecifier))\n      cb(statement);\n  } else if (isImportEqualsDeclaration(statement)) {\n    if (isExternalModuleReference(statement.moduleReference) && isStringLiteralLike(statement.moduleReference.expression)) {\n      cb(statement);\n    }\n  } else if (isVariableStatement(statement)) {\n    for (const decl of statement.declarationList.declarations) {\n      if (decl.initializer && isRequireCall(decl.initializer, true)) {\n        cb(decl);\n      }\n    }\n  }\n}\nfunction createOldFileImportsFromNewFile(newFileNeedExport, newFileNameWithExtension, useEs6Imports, quotePreference) {\n  let defaultImport;\n  const imports = [];\n  newFileNeedExport.forEach((symbol) => {\n    if (symbol.escapedName === \"default\" /* Default */) {\n      defaultImport = factory.createIdentifier(symbolNameNoDefault(symbol));\n    } else {\n      imports.push(symbol.name);\n    }\n  });\n  return makeImportOrRequire(defaultImport, imports, newFileNameWithExtension, useEs6Imports, quotePreference);\n}\nfunction makeImportOrRequire(defaultImport, imports, path, useEs6Imports, quotePreference) {\n  path = ensurePathIsNonModuleName(path);\n  if (useEs6Imports) {\n    const specifiers = imports.map((i) => factory.createImportSpecifier(false, void 0, factory.createIdentifier(i)));\n    return makeImportIfNecessary(defaultImport, specifiers, path, quotePreference);\n  } else {\n    Debug.assert(!defaultImport, \"No default import should exist\");\n    const bindingElements = imports.map((i) => factory.createBindingElement(void 0, void 0, i));\n    return bindingElements.length ? makeVariableStatement(factory.createObjectBindingPattern(bindingElements), void 0, createRequireCall(factory.createStringLiteral(path))) : void 0;\n  }\n}\nfunction makeVariableStatement(name, type, initializer, flags = 2 /* Const */) {\n  return factory.createVariableStatement(void 0, factory.createVariableDeclarationList([factory.createVariableDeclaration(name, void 0, type, initializer)], flags));\n}\nfunction createRequireCall(moduleSpecifier) {\n  return factory.createCallExpression(factory.createIdentifier(\"require\"), void 0, [moduleSpecifier]);\n}\nfunction addExports(sourceFile, toMove, needExport, useEs6Exports) {\n  return flatMap(toMove, (statement) => {\n    if (isTopLevelDeclarationStatement(statement) && !isExported(sourceFile, statement, useEs6Exports) && forEachTopLevelDeclaration(statement, (d) => needExport.has(Debug.checkDefined(d.symbol)))) {\n      const exports = addExport(statement, useEs6Exports);\n      if (exports)\n        return exports;\n    }\n    return statement;\n  });\n}\nfunction deleteUnusedImports(sourceFile, importDecl, changes, isUnused) {\n  switch (importDecl.kind) {\n    case 275 /* ImportDeclaration */:\n      deleteUnusedImportsInDeclaration(sourceFile, importDecl, changes, isUnused);\n      break;\n    case 274 /* ImportEqualsDeclaration */:\n      if (isUnused(importDecl.name)) {\n        changes.delete(sourceFile, importDecl);\n      }\n      break;\n    case 261 /* VariableDeclaration */:\n      deleteUnusedImportsInVariableDeclaration(sourceFile, importDecl, changes, isUnused);\n      break;\n    default:\n      Debug.assertNever(importDecl, `Unexpected import decl kind ${importDecl.kind}`);\n  }\n}\nfunction deleteUnusedImportsInDeclaration(sourceFile, importDecl, changes, isUnused) {\n  if (!importDecl.importClause)\n    return;\n  const { name, namedBindings } = importDecl.importClause;\n  const defaultUnused = !name || isUnused(name);\n  const namedBindingsUnused = !namedBindings || (namedBindings.kind === 277 /* NamespaceImport */ ? isUnused(namedBindings.name) : namedBindings.elements.length !== 0 && namedBindings.elements.every((e) => isUnused(e.name)));\n  if (defaultUnused && namedBindingsUnused) {\n    changes.delete(sourceFile, importDecl);\n  } else {\n    if (name && defaultUnused) {\n      changes.delete(sourceFile, name);\n    }\n    if (namedBindings) {\n      if (namedBindingsUnused) {\n        changes.replaceNode(\n          sourceFile,\n          importDecl.importClause,\n          factory.updateImportClause(importDecl.importClause, importDecl.importClause.isTypeOnly, name, void 0)\n        );\n      } else if (namedBindings.kind === 278 /* NamedImports */) {\n        for (const element of namedBindings.elements) {\n          if (isUnused(element.name))\n            changes.delete(sourceFile, element);\n        }\n      }\n    }\n  }\n}\nfunction deleteUnusedImportsInVariableDeclaration(sourceFile, varDecl, changes, isUnused) {\n  const { name } = varDecl;\n  switch (name.kind) {\n    case 79 /* Identifier */:\n      if (isUnused(name)) {\n        if (varDecl.initializer && isRequireCall(varDecl.initializer, true)) {\n          changes.delete(\n            sourceFile,\n            isVariableDeclarationList(varDecl.parent) && length(varDecl.parent.declarations) === 1 ? varDecl.parent.parent : varDecl\n          );\n        } else {\n          changes.delete(sourceFile, name);\n        }\n      }\n      break;\n    case 207 /* ArrayBindingPattern */:\n      break;\n    case 206 /* ObjectBindingPattern */:\n      if (name.elements.every((e) => isIdentifier(e.name) && isUnused(e.name))) {\n        changes.delete(\n          sourceFile,\n          isVariableDeclarationList(varDecl.parent) && varDecl.parent.declarations.length === 1 ? varDecl.parent.parent : varDecl\n        );\n      } else {\n        for (const element of name.elements) {\n          if (isIdentifier(element.name) && isUnused(element.name)) {\n            changes.delete(sourceFile, element.name);\n          }\n        }\n      }\n      break;\n  }\n}\nfunction getNewFileImportsAndAddExportInOldFile(oldFile, importsToCopy, newFileImportsFromOldFile, changes, checker, useEsModuleSyntax, quotePreference) {\n  const copiedOldImports = [];\n  for (const oldStatement of oldFile.statements) {\n    forEachImportInStatement(oldStatement, (i) => {\n      append(copiedOldImports, filterImport(i, moduleSpecifierFromImport(i), (name) => importsToCopy.has(checker.getSymbolAtLocation(name))));\n    });\n  }\n  let oldFileDefault;\n  const oldFileNamedImports = [];\n  const markSeenTop = nodeSeenTracker();\n  newFileImportsFromOldFile.forEach((symbol) => {\n    if (!symbol.declarations) {\n      return;\n    }\n    for (const decl of symbol.declarations) {\n      if (!isTopLevelDeclaration(decl))\n        continue;\n      const name = nameOfTopLevelDeclaration(decl);\n      if (!name)\n        continue;\n      const top = getTopLevelDeclarationStatement(decl);\n      if (markSeenTop(top)) {\n        addExportToChanges(oldFile, top, name, changes, useEsModuleSyntax);\n      }\n      if (hasSyntacticModifier(decl, 1024 /* Default */)) {\n        oldFileDefault = name;\n      } else {\n        oldFileNamedImports.push(name.text);\n      }\n    }\n  });\n  append(copiedOldImports, makeImportOrRequire(oldFileDefault, oldFileNamedImports, removeFileExtension(getBaseFileName(oldFile.fileName)), useEsModuleSyntax, quotePreference));\n  return copiedOldImports;\n}\nfunction makeUniqueModuleName(moduleName, extension, inDirectory, host) {\n  let newModuleName = moduleName;\n  for (let i = 1; ; i++) {\n    const name = combinePaths(inDirectory, newModuleName + extension);\n    if (!host.fileExists(name))\n      return newModuleName;\n    newModuleName = `${moduleName}.${i}`;\n  }\n}\nfunction getNewModuleName(importsFromNewFile, movedSymbols) {\n  return importsFromNewFile.forEachEntry(symbolNameNoDefault) || movedSymbols.forEachEntry(symbolNameNoDefault) || \"newFile\";\n}\nfunction getUsageInfo(oldFile, toMove, checker) {\n  const movedSymbols = new SymbolSet();\n  const oldImportsNeededByNewFile = new SymbolSet();\n  const newFileImportsFromOldFile = new SymbolSet();\n  const containsJsx = find(toMove, (statement) => !!(statement.transformFlags & 2 /* ContainsJsx */));\n  const jsxNamespaceSymbol = getJsxNamespaceSymbol(containsJsx);\n  if (jsxNamespaceSymbol) {\n    oldImportsNeededByNewFile.add(jsxNamespaceSymbol);\n  }\n  for (const statement of toMove) {\n    forEachTopLevelDeclaration(statement, (decl) => {\n      movedSymbols.add(Debug.checkDefined(isExpressionStatement(decl) ? checker.getSymbolAtLocation(decl.expression.left) : decl.symbol, \"Need a symbol here\"));\n    });\n  }\n  for (const statement of toMove) {\n    forEachReference(statement, checker, (symbol) => {\n      if (!symbol.declarations)\n        return;\n      for (const decl of symbol.declarations) {\n        if (isInImport(decl)) {\n          oldImportsNeededByNewFile.add(symbol);\n        } else if (isTopLevelDeclaration(decl) && sourceFileOfTopLevelDeclaration(decl) === oldFile && !movedSymbols.has(symbol)) {\n          newFileImportsFromOldFile.add(symbol);\n        }\n      }\n    });\n  }\n  const unusedImportsFromOldFile = oldImportsNeededByNewFile.clone();\n  const oldFileImportsFromNewFile = new SymbolSet();\n  for (const statement of oldFile.statements) {\n    if (contains(toMove, statement))\n      continue;\n    if (jsxNamespaceSymbol && !!(statement.transformFlags & 2 /* ContainsJsx */)) {\n      unusedImportsFromOldFile.delete(jsxNamespaceSymbol);\n    }\n    forEachReference(statement, checker, (symbol) => {\n      if (movedSymbols.has(symbol))\n        oldFileImportsFromNewFile.add(symbol);\n      unusedImportsFromOldFile.delete(symbol);\n    });\n  }\n  return { movedSymbols, newFileImportsFromOldFile, oldFileImportsFromNewFile, oldImportsNeededByNewFile, unusedImportsFromOldFile };\n  function getJsxNamespaceSymbol(containsJsx2) {\n    if (containsJsx2 === void 0) {\n      return void 0;\n    }\n    const jsxNamespace = checker.getJsxNamespace(containsJsx2);\n    const jsxNamespaceSymbol2 = checker.resolveName(jsxNamespace, containsJsx2, 1920 /* Namespace */, true);\n    return !!jsxNamespaceSymbol2 && some(jsxNamespaceSymbol2.declarations, isInImport) ? jsxNamespaceSymbol2 : void 0;\n  }\n}\nfunction isInImport(decl) {\n  switch (decl.kind) {\n    case 274 /* ImportEqualsDeclaration */:\n    case 279 /* ImportSpecifier */:\n    case 276 /* ImportClause */:\n    case 277 /* NamespaceImport */:\n      return true;\n    case 261 /* VariableDeclaration */:\n      return isVariableDeclarationInImport(decl);\n    case 208 /* BindingElement */:\n      return isVariableDeclaration(decl.parent.parent) && isVariableDeclarationInImport(decl.parent.parent);\n    default:\n      return false;\n  }\n}\nfunction isVariableDeclarationInImport(decl) {\n  return isSourceFile(decl.parent.parent.parent) && !!decl.initializer && isRequireCall(decl.initializer, true);\n}\nfunction filterImport(i, moduleSpecifier, keep) {\n  switch (i.kind) {\n    case 275 /* ImportDeclaration */: {\n      const clause = i.importClause;\n      if (!clause)\n        return void 0;\n      const defaultImport = clause.name && keep(clause.name) ? clause.name : void 0;\n      const namedBindings = clause.namedBindings && filterNamedBindings(clause.namedBindings, keep);\n      return defaultImport || namedBindings ? factory.createImportDeclaration(void 0, factory.createImportClause(false, defaultImport, namedBindings), moduleSpecifier, void 0) : void 0;\n    }\n    case 274 /* ImportEqualsDeclaration */:\n      return keep(i.name) ? i : void 0;\n    case 261 /* VariableDeclaration */: {\n      const name = filterBindingName(i.name, keep);\n      return name ? makeVariableStatement(name, i.type, createRequireCall(moduleSpecifier), i.parent.flags) : void 0;\n    }\n    default:\n      return Debug.assertNever(i, `Unexpected import kind ${i.kind}`);\n  }\n}\nfunction filterNamedBindings(namedBindings, keep) {\n  if (namedBindings.kind === 277 /* NamespaceImport */) {\n    return keep(namedBindings.name) ? namedBindings : void 0;\n  } else {\n    const newElements = namedBindings.elements.filter((e) => keep(e.name));\n    return newElements.length ? factory.createNamedImports(newElements) : void 0;\n  }\n}\nfunction filterBindingName(name, keep) {\n  switch (name.kind) {\n    case 79 /* Identifier */:\n      return keep(name) ? name : void 0;\n    case 207 /* ArrayBindingPattern */:\n      return name;\n    case 206 /* ObjectBindingPattern */: {\n      const newElements = name.elements.filter((prop) => prop.propertyName || !isIdentifier(prop.name) || keep(prop.name));\n      return newElements.length ? factory.createObjectBindingPattern(newElements) : void 0;\n    }\n  }\n}\nfunction forEachReference(node, checker, onReference) {\n  node.forEachChild(function cb(node2) {\n    if (isIdentifier(node2) && !isDeclarationName(node2)) {\n      const sym = checker.getSymbolAtLocation(node2);\n      if (sym)\n        onReference(sym);\n    } else {\n      node2.forEachChild(cb);\n    }\n  });\n}\nvar SymbolSet = class {\n  constructor() {\n    this.map = new Map2();\n  }\n  add(symbol) {\n    this.map.set(String(getSymbolId(symbol)), symbol);\n  }\n  has(symbol) {\n    return this.map.has(String(getSymbolId(symbol)));\n  }\n  delete(symbol) {\n    this.map.delete(String(getSymbolId(symbol)));\n  }\n  forEach(cb) {\n    this.map.forEach(cb);\n  }\n  forEachEntry(cb) {\n    return forEachEntry(this.map, cb);\n  }\n  clone() {\n    const clone2 = new SymbolSet();\n    copyEntries(this.map, clone2.map);\n    return clone2;\n  }\n  size() {\n    return this.map.size;\n  }\n};\nfunction isTopLevelDeclaration(node) {\n  return isNonVariableTopLevelDeclaration(node) && isSourceFile(node.parent) || isVariableDeclaration(node) && isSourceFile(node.parent.parent.parent);\n}\nfunction sourceFileOfTopLevelDeclaration(node) {\n  return isVariableDeclaration(node) ? node.parent.parent.parent : node.parent;\n}\nfunction isTopLevelDeclarationStatement(node) {\n  Debug.assert(isSourceFile(node.parent), \"Node parent should be a SourceFile\");\n  return isNonVariableTopLevelDeclaration(node) || isVariableStatement(node);\n}\nfunction isNonVariableTopLevelDeclaration(node) {\n  switch (node.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 270 /* ModuleDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction forEachTopLevelDeclaration(statement, cb) {\n  switch (statement.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 270 /* ModuleDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n      return cb(statement);\n    case 244 /* VariableStatement */:\n      return firstDefined(statement.declarationList.declarations, (decl) => forEachTopLevelDeclarationInBindingName(decl.name, cb));\n    case 245 /* ExpressionStatement */: {\n      const { expression } = statement;\n      return isBinaryExpression(expression) && getAssignmentDeclarationKind(expression) === 1 /* ExportsProperty */ ? cb(statement) : void 0;\n    }\n  }\n}\nfunction forEachTopLevelDeclarationInBindingName(name, cb) {\n  switch (name.kind) {\n    case 79 /* Identifier */:\n      return cb(cast(name.parent, (x) => isVariableDeclaration(x) || isBindingElement(x)));\n    case 207 /* ArrayBindingPattern */:\n    case 206 /* ObjectBindingPattern */:\n      return firstDefined(name.elements, (em) => isOmittedExpression(em) ? void 0 : forEachTopLevelDeclarationInBindingName(em.name, cb));\n    default:\n      return Debug.assertNever(name, `Unexpected name kind ${name.kind}`);\n  }\n}\nfunction nameOfTopLevelDeclaration(d) {\n  return isExpressionStatement(d) ? tryCast(d.expression.left.name, isIdentifier) : tryCast(d.name, isIdentifier);\n}\nfunction getTopLevelDeclarationStatement(d) {\n  switch (d.kind) {\n    case 261 /* VariableDeclaration */:\n      return d.parent.parent;\n    case 208 /* BindingElement */:\n      return getTopLevelDeclarationStatement(\n        cast(d.parent.parent, (p) => isVariableDeclaration(p) || isBindingElement(p))\n      );\n    default:\n      return d;\n  }\n}\nfunction addExportToChanges(sourceFile, decl, name, changes, useEs6Exports) {\n  if (isExported(sourceFile, decl, useEs6Exports, name))\n    return;\n  if (useEs6Exports) {\n    if (!isExpressionStatement(decl))\n      changes.insertExportModifier(sourceFile, decl);\n  } else {\n    const names = getNamesToExportInCommonJS(decl);\n    if (names.length !== 0)\n      changes.insertNodesAfter(sourceFile, decl, names.map(createExportAssignment));\n  }\n}\nfunction isExported(sourceFile, decl, useEs6Exports, name) {\n  var _a2;\n  if (useEs6Exports) {\n    return !isExpressionStatement(decl) && hasSyntacticModifier(decl, 1 /* Export */) || !!(name && ((_a2 = sourceFile.symbol.exports) == null ? void 0 : _a2.has(name.escapedText)));\n  }\n  return !!sourceFile.symbol && !!sourceFile.symbol.exports && getNamesToExportInCommonJS(decl).some((name2) => sourceFile.symbol.exports.has(escapeLeadingUnderscores(name2)));\n}\nfunction addExport(decl, useEs6Exports) {\n  return useEs6Exports ? [addEs6Export(decl)] : addCommonjsExport(decl);\n}\nfunction addEs6Export(d) {\n  const modifiers = canHaveModifiers(d) ? concatenate([factory.createModifier(94 /* ExportKeyword */)], getModifiers(d)) : void 0;\n  switch (d.kind) {\n    case 263 /* FunctionDeclaration */:\n      return factory.updateFunctionDeclaration(d, modifiers, d.asteriskToken, d.name, d.typeParameters, d.parameters, d.type, d.body);\n    case 264 /* ClassDeclaration */:\n      const decorators = canHaveDecorators(d) ? getDecorators(d) : void 0;\n      return factory.updateClassDeclaration(d, concatenate(decorators, modifiers), d.name, d.typeParameters, d.heritageClauses, d.members);\n    case 244 /* VariableStatement */:\n      return factory.updateVariableStatement(d, modifiers, d.declarationList);\n    case 270 /* ModuleDeclaration */:\n      return factory.updateModuleDeclaration(d, modifiers, d.name, d.body);\n    case 269 /* EnumDeclaration */:\n      return factory.updateEnumDeclaration(d, modifiers, d.name, d.members);\n    case 268 /* TypeAliasDeclaration */:\n      return factory.updateTypeAliasDeclaration(d, modifiers, d.name, d.typeParameters, d.type);\n    case 267 /* InterfaceDeclaration */:\n      return factory.updateInterfaceDeclaration(d, modifiers, d.name, d.typeParameters, d.heritageClauses, d.members);\n    case 274 /* ImportEqualsDeclaration */:\n      return factory.updateImportEqualsDeclaration(d, modifiers, d.isTypeOnly, d.name, d.moduleReference);\n    case 245 /* ExpressionStatement */:\n      return Debug.fail();\n    default:\n      return Debug.assertNever(d, `Unexpected declaration kind ${d.kind}`);\n  }\n}\nfunction addCommonjsExport(decl) {\n  return [decl, ...getNamesToExportInCommonJS(decl).map(createExportAssignment)];\n}\nfunction getNamesToExportInCommonJS(decl) {\n  switch (decl.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 264 /* ClassDeclaration */:\n      return [decl.name.text];\n    case 244 /* VariableStatement */:\n      return mapDefined(decl.declarationList.declarations, (d) => isIdentifier(d.name) ? d.name.text : void 0);\n    case 270 /* ModuleDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n      return emptyArray;\n    case 245 /* ExpressionStatement */:\n      return Debug.fail(\"Can't export an ExpressionStatement\");\n    default:\n      return Debug.assertNever(decl, `Unexpected decl kind ${decl.kind}`);\n  }\n}\nfunction createExportAssignment(name) {\n  return factory.createExpressionStatement(\n    factory.createBinaryExpression(\n      factory.createPropertyAccessExpression(factory.createIdentifier(\"exports\"), factory.createIdentifier(name)),\n      63 /* EqualsToken */,\n      factory.createIdentifier(name)\n    )\n  );\n}\n\n// src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts\nvar ts_refactor_addOrRemoveBracesToArrowFunction_exports = {};\n\n// src/services/refactors/convertOverloadListToSingleSignature.ts\nvar refactorName5 = \"Convert overload list to single signature\";\nvar refactorDescription = Diagnostics.Convert_overload_list_to_single_signature.message;\nvar functionOverloadAction = {\n  name: refactorName5,\n  description: refactorDescription,\n  kind: \"refactor.rewrite.function.overloadList\"\n};\nregisterRefactor(refactorName5, {\n  kinds: [functionOverloadAction.kind],\n  getEditsForAction: getRefactorEditsToConvertOverloadsToOneSignature,\n  getAvailableActions: getRefactorActionsToConvertOverloadsToOneSignature\n});\nfunction getRefactorActionsToConvertOverloadsToOneSignature(context) {\n  const { file, startPosition, program } = context;\n  const info = getConvertableOverloadListAtPosition(file, startPosition, program);\n  if (!info)\n    return emptyArray;\n  return [{\n    name: refactorName5,\n    description: refactorDescription,\n    actions: [functionOverloadAction]\n  }];\n}\nfunction getRefactorEditsToConvertOverloadsToOneSignature(context) {\n  const { file, startPosition, program } = context;\n  const signatureDecls = getConvertableOverloadListAtPosition(file, startPosition, program);\n  if (!signatureDecls)\n    return void 0;\n  const checker = program.getTypeChecker();\n  const lastDeclaration = signatureDecls[signatureDecls.length - 1];\n  let updated = lastDeclaration;\n  switch (lastDeclaration.kind) {\n    case 173 /* MethodSignature */: {\n      updated = factory.updateMethodSignature(\n        lastDeclaration,\n        lastDeclaration.modifiers,\n        lastDeclaration.name,\n        lastDeclaration.questionToken,\n        lastDeclaration.typeParameters,\n        getNewParametersForCombinedSignature(signatureDecls),\n        lastDeclaration.type\n      );\n      break;\n    }\n    case 174 /* MethodDeclaration */: {\n      updated = factory.updateMethodDeclaration(\n        lastDeclaration,\n        lastDeclaration.modifiers,\n        lastDeclaration.asteriskToken,\n        lastDeclaration.name,\n        lastDeclaration.questionToken,\n        lastDeclaration.typeParameters,\n        getNewParametersForCombinedSignature(signatureDecls),\n        lastDeclaration.type,\n        lastDeclaration.body\n      );\n      break;\n    }\n    case 179 /* CallSignature */: {\n      updated = factory.updateCallSignature(\n        lastDeclaration,\n        lastDeclaration.typeParameters,\n        getNewParametersForCombinedSignature(signatureDecls),\n        lastDeclaration.type\n      );\n      break;\n    }\n    case 176 /* Constructor */: {\n      updated = factory.updateConstructorDeclaration(\n        lastDeclaration,\n        lastDeclaration.modifiers,\n        getNewParametersForCombinedSignature(signatureDecls),\n        lastDeclaration.body\n      );\n      break;\n    }\n    case 180 /* ConstructSignature */: {\n      updated = factory.updateConstructSignature(\n        lastDeclaration,\n        lastDeclaration.typeParameters,\n        getNewParametersForCombinedSignature(signatureDecls),\n        lastDeclaration.type\n      );\n      break;\n    }\n    case 263 /* FunctionDeclaration */: {\n      updated = factory.updateFunctionDeclaration(\n        lastDeclaration,\n        lastDeclaration.modifiers,\n        lastDeclaration.asteriskToken,\n        lastDeclaration.name,\n        lastDeclaration.typeParameters,\n        getNewParametersForCombinedSignature(signatureDecls),\n        lastDeclaration.type,\n        lastDeclaration.body\n      );\n      break;\n    }\n    default:\n      return Debug.failBadSyntaxKind(lastDeclaration, \"Unhandled signature kind in overload list conversion refactoring\");\n  }\n  if (updated === lastDeclaration) {\n    return;\n  }\n  const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n    t.replaceNodeRange(file, signatureDecls[0], signatureDecls[signatureDecls.length - 1], updated);\n  });\n  return { renameFilename: void 0, renameLocation: void 0, edits };\n  function getNewParametersForCombinedSignature(signatureDeclarations) {\n    const lastSig = signatureDeclarations[signatureDeclarations.length - 1];\n    if (isFunctionLikeDeclaration(lastSig) && lastSig.body) {\n      signatureDeclarations = signatureDeclarations.slice(0, signatureDeclarations.length - 1);\n    }\n    return factory.createNodeArray([\n      factory.createParameterDeclaration(\n        void 0,\n        factory.createToken(25 /* DotDotDotToken */),\n        \"args\",\n        void 0,\n        factory.createUnionTypeNode(map(signatureDeclarations, convertSignatureParametersToTuple))\n      )\n    ]);\n  }\n  function convertSignatureParametersToTuple(decl) {\n    const members = map(decl.parameters, convertParameterToNamedTupleMember);\n    return setEmitFlags(factory.createTupleTypeNode(members), some(members, (m) => !!length(getSyntheticLeadingComments(m))) ? 0 /* None */ : 1 /* SingleLine */);\n  }\n  function convertParameterToNamedTupleMember(p) {\n    Debug.assert(isIdentifier(p.name));\n    const result = setTextRange(factory.createNamedTupleMember(\n      p.dotDotDotToken,\n      p.name,\n      p.questionToken,\n      p.type || factory.createKeywordTypeNode(132 /* AnyKeyword */)\n    ), p);\n    const parameterDocComment = p.symbol && p.symbol.getDocumentationComment(checker);\n    if (parameterDocComment) {\n      const newComment = displayPartsToString(parameterDocComment);\n      if (newComment.length) {\n        setSyntheticLeadingComments(result, [{\n          text: `*\n${newComment.split(\"\\n\").map((c) => ` * ${c}`).join(\"\\n\")}\n `,\n          kind: 3 /* MultiLineCommentTrivia */,\n          pos: -1,\n          end: -1,\n          hasTrailingNewLine: true,\n          hasLeadingNewline: true\n        }]);\n      }\n    }\n    return result;\n  }\n}\nfunction isConvertableSignatureDeclaration(d) {\n  switch (d.kind) {\n    case 173 /* MethodSignature */:\n    case 174 /* MethodDeclaration */:\n    case 179 /* CallSignature */:\n    case 176 /* Constructor */:\n    case 180 /* ConstructSignature */:\n    case 263 /* FunctionDeclaration */:\n      return true;\n  }\n  return false;\n}\nfunction getConvertableOverloadListAtPosition(file, startPosition, program) {\n  const node = getTokenAtPosition(file, startPosition);\n  const containingDecl = findAncestor(node, isConvertableSignatureDeclaration);\n  if (!containingDecl) {\n    return;\n  }\n  if (isFunctionLikeDeclaration(containingDecl) && containingDecl.body && rangeContainsPosition(containingDecl.body, startPosition)) {\n    return;\n  }\n  const checker = program.getTypeChecker();\n  const signatureSymbol = containingDecl.symbol;\n  if (!signatureSymbol) {\n    return;\n  }\n  const decls = signatureSymbol.declarations;\n  if (length(decls) <= 1) {\n    return;\n  }\n  if (!every(decls, (d) => getSourceFileOfNode(d) === file)) {\n    return;\n  }\n  if (!isConvertableSignatureDeclaration(decls[0])) {\n    return;\n  }\n  const kindOne = decls[0].kind;\n  if (!every(decls, (d) => d.kind === kindOne)) {\n    return;\n  }\n  const signatureDecls = decls;\n  if (some(signatureDecls, (d) => !!d.typeParameters || some(d.parameters, (p) => !!p.modifiers || !isIdentifier(p.name)))) {\n    return;\n  }\n  const signatures = mapDefined(signatureDecls, (d) => checker.getSignatureFromDeclaration(d));\n  if (length(signatures) !== length(decls)) {\n    return;\n  }\n  const returnOne = checker.getReturnTypeOfSignature(signatures[0]);\n  if (!every(signatures, (s) => checker.getReturnTypeOfSignature(s) === returnOne)) {\n    return;\n  }\n  return signatureDecls;\n}\n\n// src/services/refactors/addOrRemoveBracesToArrowFunction.ts\nvar refactorName6 = \"Add or remove braces in an arrow function\";\nvar refactorDescription2 = Diagnostics.Add_or_remove_braces_in_an_arrow_function.message;\nvar addBracesAction = {\n  name: \"Add braces to arrow function\",\n  description: Diagnostics.Add_braces_to_arrow_function.message,\n  kind: \"refactor.rewrite.arrow.braces.add\"\n};\nvar removeBracesAction = {\n  name: \"Remove braces from arrow function\",\n  description: Diagnostics.Remove_braces_from_arrow_function.message,\n  kind: \"refactor.rewrite.arrow.braces.remove\"\n};\nregisterRefactor(refactorName6, {\n  kinds: [removeBracesAction.kind],\n  getEditsForAction: getRefactorEditsToRemoveFunctionBraces,\n  getAvailableActions: getRefactorActionsToRemoveFunctionBraces\n});\nfunction getRefactorActionsToRemoveFunctionBraces(context) {\n  const { file, startPosition, triggerReason } = context;\n  const info = getConvertibleArrowFunctionAtPosition(file, startPosition, triggerReason === \"invoked\");\n  if (!info)\n    return emptyArray;\n  if (!isRefactorErrorInfo(info)) {\n    return [{\n      name: refactorName6,\n      description: refactorDescription2,\n      actions: [\n        info.addBraces ? addBracesAction : removeBracesAction\n      ]\n    }];\n  }\n  if (context.preferences.provideRefactorNotApplicableReason) {\n    return [{\n      name: refactorName6,\n      description: refactorDescription2,\n      actions: [\n        { ...addBracesAction, notApplicableReason: info.error },\n        { ...removeBracesAction, notApplicableReason: info.error }\n      ]\n    }];\n  }\n  return emptyArray;\n}\nfunction getRefactorEditsToRemoveFunctionBraces(context, actionName2) {\n  const { file, startPosition } = context;\n  const info = getConvertibleArrowFunctionAtPosition(file, startPosition);\n  Debug.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n  const { expression, returnStatement, func } = info;\n  let body;\n  if (actionName2 === addBracesAction.name) {\n    const returnStatement2 = factory.createReturnStatement(expression);\n    body = factory.createBlock([returnStatement2], true);\n    copyLeadingComments(expression, returnStatement2, file, 3 /* MultiLineCommentTrivia */, true);\n  } else if (actionName2 === removeBracesAction.name && returnStatement) {\n    const actualExpression = expression || factory.createVoidZero();\n    body = needsParentheses(actualExpression) ? factory.createParenthesizedExpression(actualExpression) : actualExpression;\n    copyTrailingAsLeadingComments(returnStatement, body, file, 3 /* MultiLineCommentTrivia */, false);\n    copyLeadingComments(returnStatement, body, file, 3 /* MultiLineCommentTrivia */, false);\n    copyTrailingComments(returnStatement, body, file, 3 /* MultiLineCommentTrivia */, false);\n  } else {\n    Debug.fail(\"invalid action\");\n  }\n  const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n    t.replaceNode(file, func.body, body);\n  });\n  return { renameFilename: void 0, renameLocation: void 0, edits };\n}\nfunction getConvertibleArrowFunctionAtPosition(file, startPosition, considerFunctionBodies = true, kind) {\n  const node = getTokenAtPosition(file, startPosition);\n  const func = getContainingFunction(node);\n  if (!func) {\n    return {\n      error: getLocaleSpecificMessage(Diagnostics.Could_not_find_a_containing_arrow_function)\n    };\n  }\n  if (!isArrowFunction(func)) {\n    return {\n      error: getLocaleSpecificMessage(Diagnostics.Containing_function_is_not_an_arrow_function)\n    };\n  }\n  if (!rangeContainsRange(func, node) || rangeContainsRange(func.body, node) && !considerFunctionBodies) {\n    return void 0;\n  }\n  if (refactorKindBeginsWith(addBracesAction.kind, kind) && isExpression(func.body)) {\n    return { func, addBraces: true, expression: func.body };\n  } else if (refactorKindBeginsWith(removeBracesAction.kind, kind) && isBlock(func.body) && func.body.statements.length === 1) {\n    const firstStatement = first(func.body.statements);\n    if (isReturnStatement(firstStatement)) {\n      return { func, addBraces: false, expression: firstStatement.expression, returnStatement: firstStatement };\n    }\n  }\n  return void 0;\n}\n\n// src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts\nvar ts_refactor_convertArrowFunctionOrFunctionExpression_exports = {};\n\n// src/services/refactors/convertArrowFunctionOrFunctionExpression.ts\nvar refactorName7 = \"Convert arrow function or function expression\";\nvar refactorDescription3 = getLocaleSpecificMessage(Diagnostics.Convert_arrow_function_or_function_expression);\nvar toAnonymousFunctionAction = {\n  name: \"Convert to anonymous function\",\n  description: getLocaleSpecificMessage(Diagnostics.Convert_to_anonymous_function),\n  kind: \"refactor.rewrite.function.anonymous\"\n};\nvar toNamedFunctionAction = {\n  name: \"Convert to named function\",\n  description: getLocaleSpecificMessage(Diagnostics.Convert_to_named_function),\n  kind: \"refactor.rewrite.function.named\"\n};\nvar toArrowFunctionAction = {\n  name: \"Convert to arrow function\",\n  description: getLocaleSpecificMessage(Diagnostics.Convert_to_arrow_function),\n  kind: \"refactor.rewrite.function.arrow\"\n};\nregisterRefactor(refactorName7, {\n  kinds: [\n    toAnonymousFunctionAction.kind,\n    toNamedFunctionAction.kind,\n    toArrowFunctionAction.kind\n  ],\n  getEditsForAction: getRefactorEditsToConvertFunctionExpressions,\n  getAvailableActions: getRefactorActionsToConvertFunctionExpressions\n});\nfunction getRefactorActionsToConvertFunctionExpressions(context) {\n  const { file, startPosition, program, kind } = context;\n  const info = getFunctionInfo(file, startPosition, program);\n  if (!info)\n    return emptyArray;\n  const { selectedVariableDeclaration, func } = info;\n  const possibleActions = [];\n  const errors = [];\n  if (refactorKindBeginsWith(toNamedFunctionAction.kind, kind)) {\n    const error = selectedVariableDeclaration || isArrowFunction(func) && isVariableDeclaration(func.parent) ? void 0 : getLocaleSpecificMessage(Diagnostics.Could_not_convert_to_named_function);\n    if (error) {\n      errors.push({ ...toNamedFunctionAction, notApplicableReason: error });\n    } else {\n      possibleActions.push(toNamedFunctionAction);\n    }\n  }\n  if (refactorKindBeginsWith(toAnonymousFunctionAction.kind, kind)) {\n    const error = !selectedVariableDeclaration && isArrowFunction(func) ? void 0 : getLocaleSpecificMessage(Diagnostics.Could_not_convert_to_anonymous_function);\n    if (error) {\n      errors.push({ ...toAnonymousFunctionAction, notApplicableReason: error });\n    } else {\n      possibleActions.push(toAnonymousFunctionAction);\n    }\n  }\n  if (refactorKindBeginsWith(toArrowFunctionAction.kind, kind)) {\n    const error = isFunctionExpression(func) ? void 0 : getLocaleSpecificMessage(Diagnostics.Could_not_convert_to_arrow_function);\n    if (error) {\n      errors.push({ ...toArrowFunctionAction, notApplicableReason: error });\n    } else {\n      possibleActions.push(toArrowFunctionAction);\n    }\n  }\n  return [{\n    name: refactorName7,\n    description: refactorDescription3,\n    actions: possibleActions.length === 0 && context.preferences.provideRefactorNotApplicableReason ? errors : possibleActions\n  }];\n}\nfunction getRefactorEditsToConvertFunctionExpressions(context, actionName2) {\n  const { file, startPosition, program } = context;\n  const info = getFunctionInfo(file, startPosition, program);\n  if (!info)\n    return void 0;\n  const { func } = info;\n  const edits = [];\n  switch (actionName2) {\n    case toAnonymousFunctionAction.name:\n      edits.push(...getEditInfoForConvertToAnonymousFunction(context, func));\n      break;\n    case toNamedFunctionAction.name:\n      const variableInfo = getVariableInfo(func);\n      if (!variableInfo)\n        return void 0;\n      edits.push(...getEditInfoForConvertToNamedFunction(context, func, variableInfo));\n      break;\n    case toArrowFunctionAction.name:\n      if (!isFunctionExpression(func))\n        return void 0;\n      edits.push(...getEditInfoForConvertToArrowFunction(context, func));\n      break;\n    default:\n      return Debug.fail(\"invalid action\");\n  }\n  return { renameFilename: void 0, renameLocation: void 0, edits };\n}\nfunction containingThis(node) {\n  let containsThis = false;\n  node.forEachChild(function checkThis(child) {\n    if (isThis(child)) {\n      containsThis = true;\n      return;\n    }\n    if (!isClassLike(child) && !isFunctionDeclaration(child) && !isFunctionExpression(child)) {\n      forEachChild(child, checkThis);\n    }\n  });\n  return containsThis;\n}\nfunction getFunctionInfo(file, startPosition, program) {\n  const token = getTokenAtPosition(file, startPosition);\n  const typeChecker3 = program.getTypeChecker();\n  const func = tryGetFunctionFromVariableDeclaration(file, typeChecker3, token.parent);\n  if (func && !containingThis(func.body) && !typeChecker3.containsArgumentsReference(func)) {\n    return { selectedVariableDeclaration: true, func };\n  }\n  const maybeFunc = getContainingFunction(token);\n  if (maybeFunc && (isFunctionExpression(maybeFunc) || isArrowFunction(maybeFunc)) && !rangeContainsRange(maybeFunc.body, token) && !containingThis(maybeFunc.body) && !typeChecker3.containsArgumentsReference(maybeFunc)) {\n    if (isFunctionExpression(maybeFunc) && isFunctionReferencedInFile(file, typeChecker3, maybeFunc))\n      return void 0;\n    return { selectedVariableDeclaration: false, func: maybeFunc };\n  }\n  return void 0;\n}\nfunction isSingleVariableDeclaration(parent2) {\n  return isVariableDeclaration(parent2) || isVariableDeclarationList(parent2) && parent2.declarations.length === 1;\n}\nfunction tryGetFunctionFromVariableDeclaration(sourceFile, typeChecker3, parent2) {\n  if (!isSingleVariableDeclaration(parent2)) {\n    return void 0;\n  }\n  const variableDeclaration = isVariableDeclaration(parent2) ? parent2 : first(parent2.declarations);\n  const initializer = variableDeclaration.initializer;\n  if (initializer && (isArrowFunction(initializer) || isFunctionExpression(initializer) && !isFunctionReferencedInFile(sourceFile, typeChecker3, initializer))) {\n    return initializer;\n  }\n  return void 0;\n}\nfunction convertToBlock(body) {\n  if (isExpression(body)) {\n    const returnStatement = factory.createReturnStatement(body);\n    const file = body.getSourceFile();\n    suppressLeadingAndTrailingTrivia(returnStatement);\n    copyTrailingAsLeadingComments(body, returnStatement, file, void 0, true);\n    return factory.createBlock([returnStatement], true);\n  } else {\n    return body;\n  }\n}\nfunction getVariableInfo(func) {\n  const variableDeclaration = func.parent;\n  if (!isVariableDeclaration(variableDeclaration) || !isVariableDeclarationInVariableStatement(variableDeclaration))\n    return void 0;\n  const variableDeclarationList = variableDeclaration.parent;\n  const statement = variableDeclarationList.parent;\n  if (!isVariableDeclarationList(variableDeclarationList) || !isVariableStatement(statement) || !isIdentifier(variableDeclaration.name))\n    return void 0;\n  return { variableDeclaration, variableDeclarationList, statement, name: variableDeclaration.name };\n}\nfunction getEditInfoForConvertToAnonymousFunction(context, func) {\n  const { file } = context;\n  const body = convertToBlock(func.body);\n  const newNode = factory.createFunctionExpression(func.modifiers, func.asteriskToken, void 0, func.typeParameters, func.parameters, func.type, body);\n  return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, func, newNode));\n}\nfunction getEditInfoForConvertToNamedFunction(context, func, variableInfo) {\n  const { file } = context;\n  const body = convertToBlock(func.body);\n  const { variableDeclaration, variableDeclarationList, statement, name } = variableInfo;\n  suppressLeadingTrivia(statement);\n  const modifiersFlags = getCombinedModifierFlags(variableDeclaration) & 1 /* Export */ | getEffectiveModifierFlags(func);\n  const modifiers = factory.createModifiersFromModifierFlags(modifiersFlags);\n  const newNode = factory.createFunctionDeclaration(length(modifiers) ? modifiers : void 0, func.asteriskToken, name, func.typeParameters, func.parameters, func.type, body);\n  if (variableDeclarationList.declarations.length === 1) {\n    return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, statement, newNode));\n  } else {\n    return ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n      t.delete(file, variableDeclaration);\n      t.insertNodeAfter(file, statement, newNode);\n    });\n  }\n}\nfunction getEditInfoForConvertToArrowFunction(context, func) {\n  const { file } = context;\n  const statements = func.body.statements;\n  const head = statements[0];\n  let body;\n  if (canBeConvertedToExpression(func.body, head)) {\n    body = head.expression;\n    suppressLeadingAndTrailingTrivia(body);\n    copyComments(head, body);\n  } else {\n    body = func.body;\n  }\n  const newNode = factory.createArrowFunction(func.modifiers, func.typeParameters, func.parameters, func.type, factory.createToken(38 /* EqualsGreaterThanToken */), body);\n  return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, func, newNode));\n}\nfunction canBeConvertedToExpression(body, head) {\n  return body.statements.length === 1 && (isReturnStatement(head) && !!head.expression);\n}\nfunction isFunctionReferencedInFile(sourceFile, typeChecker3, node) {\n  return !!node.name && ts_FindAllReferences_exports.Core.isSymbolReferencedInFile(node.name, typeChecker3, sourceFile);\n}\n\n// src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts\nvar ts_refactor_convertParamsToDestructuredObject_exports = {};\n\n// src/services/refactors/convertParamsToDestructuredObject.ts\nvar refactorName8 = \"Convert parameters to destructured object\";\nvar minimumParameterLength = 1;\nvar refactorDescription4 = getLocaleSpecificMessage(Diagnostics.Convert_parameters_to_destructured_object);\nvar toDestructuredAction = {\n  name: refactorName8,\n  description: refactorDescription4,\n  kind: \"refactor.rewrite.parameters.toDestructured\"\n};\nregisterRefactor(refactorName8, {\n  kinds: [toDestructuredAction.kind],\n  getEditsForAction: getRefactorEditsToConvertParametersToDestructuredObject,\n  getAvailableActions: getRefactorActionsToConvertParametersToDestructuredObject\n});\nfunction getRefactorActionsToConvertParametersToDestructuredObject(context) {\n  const { file, startPosition } = context;\n  const isJSFile = isSourceFileJS(file);\n  if (isJSFile)\n    return emptyArray;\n  const functionDeclaration = getFunctionDeclarationAtPosition(file, startPosition, context.program.getTypeChecker());\n  if (!functionDeclaration)\n    return emptyArray;\n  return [{\n    name: refactorName8,\n    description: refactorDescription4,\n    actions: [toDestructuredAction]\n  }];\n}\nfunction getRefactorEditsToConvertParametersToDestructuredObject(context, actionName2) {\n  Debug.assert(actionName2 === refactorName8, \"Unexpected action name\");\n  const { file, startPosition, program, cancellationToken, host } = context;\n  const functionDeclaration = getFunctionDeclarationAtPosition(file, startPosition, program.getTypeChecker());\n  if (!functionDeclaration || !cancellationToken)\n    return void 0;\n  const groupedReferences = getGroupedReferences(functionDeclaration, program, cancellationToken);\n  if (groupedReferences.valid) {\n    const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange36(file, program, host, t, functionDeclaration, groupedReferences));\n    return { renameFilename: void 0, renameLocation: void 0, edits };\n  }\n  return { edits: [] };\n}\nfunction doChange36(sourceFile, program, host, changes, functionDeclaration, groupedReferences) {\n  const signature = groupedReferences.signature;\n  const newFunctionDeclarationParams = map(createNewParameters(functionDeclaration, program, host), (param) => getSynthesizedDeepClone(param));\n  if (signature) {\n    const newSignatureParams = map(createNewParameters(signature, program, host), (param) => getSynthesizedDeepClone(param));\n    replaceParameters(signature, newSignatureParams);\n  }\n  replaceParameters(functionDeclaration, newFunctionDeclarationParams);\n  const functionCalls = sortAndDeduplicate(groupedReferences.functionCalls, (a, b) => compareValues(a.pos, b.pos));\n  for (const call of functionCalls) {\n    if (call.arguments && call.arguments.length) {\n      const newArgument = getSynthesizedDeepClone(createNewArgument(functionDeclaration, call.arguments), true);\n      changes.replaceNodeRange(\n        getSourceFileOfNode(call),\n        first(call.arguments),\n        last(call.arguments),\n        newArgument,\n        { leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll, trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include }\n      );\n    }\n  }\n  function replaceParameters(declarationOrSignature, parameterDeclarations) {\n    changes.replaceNodeRangeWithNodes(\n      sourceFile,\n      first(declarationOrSignature.parameters),\n      last(declarationOrSignature.parameters),\n      parameterDeclarations,\n      {\n        joiner: \", \",\n        indentation: 0,\n        leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.IncludeAll,\n        trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include\n      }\n    );\n  }\n}\nfunction getGroupedReferences(functionDeclaration, program, cancellationToken) {\n  const functionNames = getFunctionNames(functionDeclaration);\n  const classNames = isConstructorDeclaration(functionDeclaration) ? getClassNames(functionDeclaration) : [];\n  const names = deduplicate([...functionNames, ...classNames], equateValues);\n  const checker = program.getTypeChecker();\n  const references = flatMap(names, (name) => ts_FindAllReferences_exports.getReferenceEntriesForNode(-1, name, program, program.getSourceFiles(), cancellationToken));\n  const groupedReferences = groupReferences(references);\n  if (!every(groupedReferences.declarations, (decl) => contains(names, decl))) {\n    groupedReferences.valid = false;\n  }\n  return groupedReferences;\n  function groupReferences(referenceEntries) {\n    const classReferences = { accessExpressions: [], typeUsages: [] };\n    const groupedReferences2 = { functionCalls: [], declarations: [], classReferences, valid: true };\n    const functionSymbols = map(functionNames, getSymbolTargetAtLocation);\n    const classSymbols = map(classNames, getSymbolTargetAtLocation);\n    const isConstructor = isConstructorDeclaration(functionDeclaration);\n    const contextualSymbols = map(functionNames, (name) => getSymbolForContextualType(name, checker));\n    for (const entry of referenceEntries) {\n      if (entry.kind === ts_FindAllReferences_exports.EntryKind.Span) {\n        groupedReferences2.valid = false;\n        continue;\n      }\n      if (contains(contextualSymbols, getSymbolTargetAtLocation(entry.node))) {\n        if (isValidMethodSignature(entry.node.parent)) {\n          groupedReferences2.signature = entry.node.parent;\n          continue;\n        }\n        const call = entryToFunctionCall(entry);\n        if (call) {\n          groupedReferences2.functionCalls.push(call);\n          continue;\n        }\n      }\n      const contextualSymbol = getSymbolForContextualType(entry.node, checker);\n      if (contextualSymbol && contains(contextualSymbols, contextualSymbol)) {\n        const decl = entryToDeclaration(entry);\n        if (decl) {\n          groupedReferences2.declarations.push(decl);\n          continue;\n        }\n      }\n      if (contains(functionSymbols, getSymbolTargetAtLocation(entry.node)) || isNewExpressionTarget(entry.node)) {\n        const importOrExportReference = entryToImportOrExport(entry);\n        if (importOrExportReference) {\n          continue;\n        }\n        const decl = entryToDeclaration(entry);\n        if (decl) {\n          groupedReferences2.declarations.push(decl);\n          continue;\n        }\n        const call = entryToFunctionCall(entry);\n        if (call) {\n          groupedReferences2.functionCalls.push(call);\n          continue;\n        }\n      }\n      if (isConstructor && contains(classSymbols, getSymbolTargetAtLocation(entry.node))) {\n        const importOrExportReference = entryToImportOrExport(entry);\n        if (importOrExportReference) {\n          continue;\n        }\n        const decl = entryToDeclaration(entry);\n        if (decl) {\n          groupedReferences2.declarations.push(decl);\n          continue;\n        }\n        const accessExpression = entryToAccessExpression(entry);\n        if (accessExpression) {\n          classReferences.accessExpressions.push(accessExpression);\n          continue;\n        }\n        if (isClassDeclaration(functionDeclaration.parent)) {\n          const type = entryToType(entry);\n          if (type) {\n            classReferences.typeUsages.push(type);\n            continue;\n          }\n        }\n      }\n      groupedReferences2.valid = false;\n    }\n    return groupedReferences2;\n  }\n  function getSymbolTargetAtLocation(node) {\n    const symbol = checker.getSymbolAtLocation(node);\n    return symbol && getSymbolTarget(symbol, checker);\n  }\n}\nfunction getSymbolForContextualType(node, checker) {\n  const element = getContainingObjectLiteralElement(node);\n  if (element) {\n    const contextualType = checker.getContextualTypeForObjectLiteralElement(element);\n    const symbol = contextualType == null ? void 0 : contextualType.getSymbol();\n    if (symbol && !(getCheckFlags(symbol) & 6 /* Synthetic */)) {\n      return symbol;\n    }\n  }\n}\nfunction entryToImportOrExport(entry) {\n  const node = entry.node;\n  if (isImportSpecifier(node.parent) || isImportClause(node.parent) || isImportEqualsDeclaration(node.parent) || isNamespaceImport(node.parent)) {\n    return node;\n  }\n  if (isExportSpecifier(node.parent) || isExportAssignment(node.parent)) {\n    return node;\n  }\n  return void 0;\n}\nfunction entryToDeclaration(entry) {\n  if (isDeclaration(entry.node.parent)) {\n    return entry.node;\n  }\n  return void 0;\n}\nfunction entryToFunctionCall(entry) {\n  if (entry.node.parent) {\n    const functionReference = entry.node;\n    const parent2 = functionReference.parent;\n    switch (parent2.kind) {\n      case 213 /* CallExpression */:\n      case 214 /* NewExpression */:\n        const callOrNewExpression = tryCast(parent2, isCallOrNewExpression);\n        if (callOrNewExpression && callOrNewExpression.expression === functionReference) {\n          return callOrNewExpression;\n        }\n        break;\n      case 211 /* PropertyAccessExpression */:\n        const propertyAccessExpression = tryCast(parent2, isPropertyAccessExpression);\n        if (propertyAccessExpression && propertyAccessExpression.parent && propertyAccessExpression.name === functionReference) {\n          const callOrNewExpression2 = tryCast(propertyAccessExpression.parent, isCallOrNewExpression);\n          if (callOrNewExpression2 && callOrNewExpression2.expression === propertyAccessExpression) {\n            return callOrNewExpression2;\n          }\n        }\n        break;\n      case 212 /* ElementAccessExpression */:\n        const elementAccessExpression = tryCast(parent2, isElementAccessExpression);\n        if (elementAccessExpression && elementAccessExpression.parent && elementAccessExpression.argumentExpression === functionReference) {\n          const callOrNewExpression2 = tryCast(elementAccessExpression.parent, isCallOrNewExpression);\n          if (callOrNewExpression2 && callOrNewExpression2.expression === elementAccessExpression) {\n            return callOrNewExpression2;\n          }\n        }\n        break;\n    }\n  }\n  return void 0;\n}\nfunction entryToAccessExpression(entry) {\n  if (entry.node.parent) {\n    const reference = entry.node;\n    const parent2 = reference.parent;\n    switch (parent2.kind) {\n      case 211 /* PropertyAccessExpression */:\n        const propertyAccessExpression = tryCast(parent2, isPropertyAccessExpression);\n        if (propertyAccessExpression && propertyAccessExpression.expression === reference) {\n          return propertyAccessExpression;\n        }\n        break;\n      case 212 /* ElementAccessExpression */:\n        const elementAccessExpression = tryCast(parent2, isElementAccessExpression);\n        if (elementAccessExpression && elementAccessExpression.expression === reference) {\n          return elementAccessExpression;\n        }\n        break;\n    }\n  }\n  return void 0;\n}\nfunction entryToType(entry) {\n  const reference = entry.node;\n  if (getMeaningFromLocation(reference) === 2 /* Type */ || isExpressionWithTypeArgumentsInClassExtendsClause(reference.parent)) {\n    return reference;\n  }\n  return void 0;\n}\nfunction getFunctionDeclarationAtPosition(file, startPosition, checker) {\n  const node = getTouchingToken(file, startPosition);\n  const functionDeclaration = getContainingFunctionDeclaration(node);\n  if (isTopLevelJSDoc(node))\n    return void 0;\n  if (functionDeclaration && isValidFunctionDeclaration(functionDeclaration, checker) && rangeContainsRange(functionDeclaration, node) && !(functionDeclaration.body && rangeContainsRange(functionDeclaration.body, node)))\n    return functionDeclaration;\n  return void 0;\n}\nfunction isTopLevelJSDoc(node) {\n  const containingJSDoc = findAncestor(node, isJSDocNode);\n  if (containingJSDoc) {\n    const containingNonJSDoc = findAncestor(containingJSDoc, (n) => !isJSDocNode(n));\n    return !!containingNonJSDoc && isFunctionLikeDeclaration(containingNonJSDoc);\n  }\n  return false;\n}\nfunction isValidMethodSignature(node) {\n  return isMethodSignature(node) && (isInterfaceDeclaration(node.parent) || isTypeLiteralNode(node.parent));\n}\nfunction isValidFunctionDeclaration(functionDeclaration, checker) {\n  var _a2;\n  if (!isValidParameterNodeArray(functionDeclaration.parameters, checker))\n    return false;\n  switch (functionDeclaration.kind) {\n    case 263 /* FunctionDeclaration */:\n      return hasNameOrDefault(functionDeclaration) && isSingleImplementation(functionDeclaration, checker);\n    case 174 /* MethodDeclaration */:\n      if (isObjectLiteralExpression(functionDeclaration.parent)) {\n        const contextualSymbol = getSymbolForContextualType(functionDeclaration.name, checker);\n        return ((_a2 = contextualSymbol == null ? void 0 : contextualSymbol.declarations) == null ? void 0 : _a2.length) === 1 && isSingleImplementation(functionDeclaration, checker);\n      }\n      return isSingleImplementation(functionDeclaration, checker);\n    case 176 /* Constructor */:\n      if (isClassDeclaration(functionDeclaration.parent)) {\n        return hasNameOrDefault(functionDeclaration.parent) && isSingleImplementation(functionDeclaration, checker);\n      } else {\n        return isValidVariableDeclaration(functionDeclaration.parent.parent) && isSingleImplementation(functionDeclaration, checker);\n      }\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      return isValidVariableDeclaration(functionDeclaration.parent);\n  }\n  return false;\n}\nfunction isSingleImplementation(functionDeclaration, checker) {\n  return !!functionDeclaration.body && !checker.isImplementationOfOverload(functionDeclaration);\n}\nfunction hasNameOrDefault(functionOrClassDeclaration) {\n  if (!functionOrClassDeclaration.name) {\n    const defaultKeyword = findModifier(functionOrClassDeclaration, 89 /* DefaultKeyword */);\n    return !!defaultKeyword;\n  }\n  return true;\n}\nfunction isValidParameterNodeArray(parameters, checker) {\n  return getRefactorableParametersLength(parameters) >= minimumParameterLength && every(parameters, (paramDecl) => isValidParameterDeclaration(paramDecl, checker));\n}\nfunction isValidParameterDeclaration(parameterDeclaration, checker) {\n  if (isRestParameter(parameterDeclaration)) {\n    const type = checker.getTypeAtLocation(parameterDeclaration);\n    if (!checker.isArrayType(type) && !checker.isTupleType(type))\n      return false;\n  }\n  return !parameterDeclaration.modifiers && isIdentifier(parameterDeclaration.name);\n}\nfunction isValidVariableDeclaration(node) {\n  return isVariableDeclaration(node) && isVarConst(node) && isIdentifier(node.name) && !node.type;\n}\nfunction hasThisParameter(parameters) {\n  return parameters.length > 0 && isThis(parameters[0].name);\n}\nfunction getRefactorableParametersLength(parameters) {\n  if (hasThisParameter(parameters)) {\n    return parameters.length - 1;\n  }\n  return parameters.length;\n}\nfunction getRefactorableParameters(parameters) {\n  if (hasThisParameter(parameters)) {\n    parameters = factory.createNodeArray(parameters.slice(1), parameters.hasTrailingComma);\n  }\n  return parameters;\n}\nfunction createPropertyOrShorthandAssignment(name, initializer) {\n  if (isIdentifier(initializer) && getTextOfIdentifierOrLiteral(initializer) === name) {\n    return factory.createShorthandPropertyAssignment(name);\n  }\n  return factory.createPropertyAssignment(name, initializer);\n}\nfunction createNewArgument(functionDeclaration, functionArguments) {\n  const parameters = getRefactorableParameters(functionDeclaration.parameters);\n  const hasRestParameter2 = isRestParameter(last(parameters));\n  const nonRestArguments = hasRestParameter2 ? functionArguments.slice(0, parameters.length - 1) : functionArguments;\n  const properties = map(nonRestArguments, (arg, i) => {\n    const parameterName = getParameterName(parameters[i]);\n    const property = createPropertyOrShorthandAssignment(parameterName, arg);\n    suppressLeadingAndTrailingTrivia(property.name);\n    if (isPropertyAssignment(property))\n      suppressLeadingAndTrailingTrivia(property.initializer);\n    copyComments(arg, property);\n    return property;\n  });\n  if (hasRestParameter2 && functionArguments.length >= parameters.length) {\n    const restArguments = functionArguments.slice(parameters.length - 1);\n    const restProperty = factory.createPropertyAssignment(getParameterName(last(parameters)), factory.createArrayLiteralExpression(restArguments));\n    properties.push(restProperty);\n  }\n  const objectLiteral = factory.createObjectLiteralExpression(properties, false);\n  return objectLiteral;\n}\nfunction createNewParameters(functionDeclaration, program, host) {\n  const checker = program.getTypeChecker();\n  const refactorableParameters = getRefactorableParameters(functionDeclaration.parameters);\n  const bindingElements = map(refactorableParameters, createBindingElementFromParameterDeclaration);\n  const objectParameterName = factory.createObjectBindingPattern(bindingElements);\n  const objectParameterType = createParameterTypeNode(refactorableParameters);\n  let objectInitializer;\n  if (every(refactorableParameters, isOptionalParameter)) {\n    objectInitializer = factory.createObjectLiteralExpression();\n  }\n  const objectParameter = factory.createParameterDeclaration(\n    void 0,\n    void 0,\n    objectParameterName,\n    void 0,\n    objectParameterType,\n    objectInitializer\n  );\n  if (hasThisParameter(functionDeclaration.parameters)) {\n    const thisParameter = functionDeclaration.parameters[0];\n    const newThisParameter = factory.createParameterDeclaration(\n      void 0,\n      void 0,\n      thisParameter.name,\n      void 0,\n      thisParameter.type\n    );\n    suppressLeadingAndTrailingTrivia(newThisParameter.name);\n    copyComments(thisParameter.name, newThisParameter.name);\n    if (thisParameter.type) {\n      suppressLeadingAndTrailingTrivia(newThisParameter.type);\n      copyComments(thisParameter.type, newThisParameter.type);\n    }\n    return factory.createNodeArray([newThisParameter, objectParameter]);\n  }\n  return factory.createNodeArray([objectParameter]);\n  function createBindingElementFromParameterDeclaration(parameterDeclaration) {\n    const element = factory.createBindingElement(\n      void 0,\n      void 0,\n      getParameterName(parameterDeclaration),\n      isRestParameter(parameterDeclaration) && isOptionalParameter(parameterDeclaration) ? factory.createArrayLiteralExpression() : parameterDeclaration.initializer\n    );\n    suppressLeadingAndTrailingTrivia(element);\n    if (parameterDeclaration.initializer && element.initializer) {\n      copyComments(parameterDeclaration.initializer, element.initializer);\n    }\n    return element;\n  }\n  function createParameterTypeNode(parameters) {\n    const members = map(parameters, createPropertySignatureFromParameterDeclaration);\n    const typeNode = addEmitFlags(factory.createTypeLiteralNode(members), 1 /* SingleLine */);\n    return typeNode;\n  }\n  function createPropertySignatureFromParameterDeclaration(parameterDeclaration) {\n    let parameterType = parameterDeclaration.type;\n    if (!parameterType && (parameterDeclaration.initializer || isRestParameter(parameterDeclaration))) {\n      parameterType = getTypeNode3(parameterDeclaration);\n    }\n    const propertySignature = factory.createPropertySignature(\n      void 0,\n      getParameterName(parameterDeclaration),\n      isOptionalParameter(parameterDeclaration) ? factory.createToken(57 /* QuestionToken */) : parameterDeclaration.questionToken,\n      parameterType\n    );\n    suppressLeadingAndTrailingTrivia(propertySignature);\n    copyComments(parameterDeclaration.name, propertySignature.name);\n    if (parameterDeclaration.type && propertySignature.type) {\n      copyComments(parameterDeclaration.type, propertySignature.type);\n    }\n    return propertySignature;\n  }\n  function getTypeNode3(node) {\n    const type = checker.getTypeAtLocation(node);\n    return getTypeNodeIfAccessible(type, node, program, host);\n  }\n  function isOptionalParameter(parameterDeclaration) {\n    if (isRestParameter(parameterDeclaration)) {\n      const type = checker.getTypeAtLocation(parameterDeclaration);\n      return !checker.isTupleType(type);\n    }\n    return checker.isOptionalParameter(parameterDeclaration);\n  }\n}\nfunction getParameterName(paramDeclaration) {\n  return getTextOfIdentifierOrLiteral(paramDeclaration.name);\n}\nfunction getClassNames(constructorDeclaration) {\n  switch (constructorDeclaration.parent.kind) {\n    case 264 /* ClassDeclaration */:\n      const classDeclaration = constructorDeclaration.parent;\n      if (classDeclaration.name)\n        return [classDeclaration.name];\n      const defaultModifier = Debug.checkDefined(\n        findModifier(classDeclaration, 89 /* DefaultKeyword */),\n        \"Nameless class declaration should be a default export\"\n      );\n      return [defaultModifier];\n    case 232 /* ClassExpression */:\n      const classExpression = constructorDeclaration.parent;\n      const variableDeclaration = constructorDeclaration.parent.parent;\n      const className = classExpression.name;\n      if (className)\n        return [className, variableDeclaration.name];\n      return [variableDeclaration.name];\n  }\n}\nfunction getFunctionNames(functionDeclaration) {\n  switch (functionDeclaration.kind) {\n    case 263 /* FunctionDeclaration */:\n      if (functionDeclaration.name)\n        return [functionDeclaration.name];\n      const defaultModifier = Debug.checkDefined(\n        findModifier(functionDeclaration, 89 /* DefaultKeyword */),\n        \"Nameless function declaration should be a default export\"\n      );\n      return [defaultModifier];\n    case 174 /* MethodDeclaration */:\n      return [functionDeclaration.name];\n    case 176 /* Constructor */:\n      const ctrKeyword = Debug.checkDefined(\n        findChildOfKind(functionDeclaration, 136 /* ConstructorKeyword */, functionDeclaration.getSourceFile()),\n        \"Constructor declaration should have constructor keyword\"\n      );\n      if (functionDeclaration.parent.kind === 232 /* ClassExpression */) {\n        const variableDeclaration = functionDeclaration.parent.parent;\n        return [variableDeclaration.name, ctrKeyword];\n      }\n      return [ctrKeyword];\n    case 219 /* ArrowFunction */:\n      return [functionDeclaration.parent.name];\n    case 218 /* FunctionExpression */:\n      if (functionDeclaration.name)\n        return [functionDeclaration.name, functionDeclaration.parent.name];\n      return [functionDeclaration.parent.name];\n    default:\n      return Debug.assertNever(functionDeclaration, `Unexpected function declaration kind ${functionDeclaration.kind}`);\n  }\n}\n\n// src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts\nvar ts_refactor_convertStringOrTemplateLiteral_exports = {};\n\n// src/services/refactors/convertStringOrTemplateLiteral.ts\nvar refactorName9 = \"Convert to template string\";\nvar refactorDescription5 = getLocaleSpecificMessage(Diagnostics.Convert_to_template_string);\nvar convertStringAction = {\n  name: refactorName9,\n  description: refactorDescription5,\n  kind: \"refactor.rewrite.string\"\n};\nregisterRefactor(refactorName9, {\n  kinds: [convertStringAction.kind],\n  getEditsForAction: getRefactorEditsToConvertToTemplateString,\n  getAvailableActions: getRefactorActionsToConvertToTemplateString\n});\nfunction getRefactorActionsToConvertToTemplateString(context) {\n  const { file, startPosition } = context;\n  const node = getNodeOrParentOfParentheses(file, startPosition);\n  const maybeBinary = getParentBinaryExpression(node);\n  const refactorInfo = { name: refactorName9, description: refactorDescription5, actions: [] };\n  if (isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {\n    refactorInfo.actions.push(convertStringAction);\n    return [refactorInfo];\n  } else if (context.preferences.provideRefactorNotApplicableReason) {\n    refactorInfo.actions.push({\n      ...convertStringAction,\n      notApplicableReason: getLocaleSpecificMessage(Diagnostics.Can_only_convert_string_concatenation)\n    });\n    return [refactorInfo];\n  }\n  return emptyArray;\n}\nfunction getNodeOrParentOfParentheses(file, startPosition) {\n  const node = getTokenAtPosition(file, startPosition);\n  const nestedBinary = getParentBinaryExpression(node);\n  const isNonStringBinary = !treeToArray(nestedBinary).isValidConcatenation;\n  if (isNonStringBinary && isParenthesizedExpression(nestedBinary.parent) && isBinaryExpression(nestedBinary.parent.parent)) {\n    return nestedBinary.parent.parent;\n  }\n  return node;\n}\nfunction getRefactorEditsToConvertToTemplateString(context, actionName2) {\n  const { file, startPosition } = context;\n  const node = getNodeOrParentOfParentheses(file, startPosition);\n  switch (actionName2) {\n    case refactorDescription5:\n      return { edits: getEditsForToTemplateLiteral(context, node) };\n    default:\n      return Debug.fail(\"invalid action\");\n  }\n}\nfunction getEditsForToTemplateLiteral(context, node) {\n  const maybeBinary = getParentBinaryExpression(node);\n  const file = context.file;\n  const templateLiteral = nodesToTemplate(treeToArray(maybeBinary), file);\n  const trailingCommentRanges = getTrailingCommentRanges(file.text, maybeBinary.end);\n  if (trailingCommentRanges) {\n    const lastComment = trailingCommentRanges[trailingCommentRanges.length - 1];\n    const trailingRange = { pos: trailingCommentRanges[0].pos, end: lastComment.end };\n    return ts_textChanges_exports.ChangeTracker.with(context, (t) => {\n      t.deleteRange(file, trailingRange);\n      t.replaceNode(file, maybeBinary, templateLiteral);\n    });\n  } else {\n    return ts_textChanges_exports.ChangeTracker.with(context, (t) => t.replaceNode(file, maybeBinary, templateLiteral));\n  }\n}\nfunction isNotEqualsOperator(node) {\n  return node.operatorToken.kind !== 63 /* EqualsToken */;\n}\nfunction getParentBinaryExpression(expr) {\n  const container = findAncestor(expr.parent, (n) => {\n    switch (n.kind) {\n      case 211 /* PropertyAccessExpression */:\n      case 212 /* ElementAccessExpression */:\n        return false;\n      case 229 /* TemplateExpression */:\n      case 227 /* BinaryExpression */:\n        return !(isBinaryExpression(n.parent) && isNotEqualsOperator(n.parent));\n      default:\n        return \"quit\";\n    }\n  });\n  return container || expr;\n}\nfunction treeToArray(current) {\n  const loop = (current2) => {\n    if (!isBinaryExpression(current2)) {\n      return {\n        nodes: [current2],\n        operators: [],\n        validOperators: true,\n        hasString: isStringLiteral(current2) || isNoSubstitutionTemplateLiteral(current2)\n      };\n    }\n    const { nodes: nodes2, operators: operators2, hasString: leftHasString, validOperators: leftOperatorValid } = loop(current2.left);\n    if (!(leftHasString || isStringLiteral(current2.right) || isTemplateExpression(current2.right))) {\n      return { nodes: [current2], operators: [], hasString: false, validOperators: true };\n    }\n    const currentOperatorValid = current2.operatorToken.kind === 39 /* PlusToken */;\n    const validOperators2 = leftOperatorValid && currentOperatorValid;\n    nodes2.push(current2.right);\n    operators2.push(current2.operatorToken);\n    return { nodes: nodes2, operators: operators2, hasString: true, validOperators: validOperators2 };\n  };\n  const { nodes, operators, validOperators, hasString } = loop(current);\n  return { nodes, operators, isValidConcatenation: validOperators && hasString };\n}\nvar copyTrailingOperatorComments = (operators, file) => (index, targetNode) => {\n  if (index < operators.length) {\n    copyTrailingComments(operators[index], targetNode, file, 3 /* MultiLineCommentTrivia */, false);\n  }\n};\nvar copyCommentFromMultiNode = (nodes, file, copyOperatorComments) => (indexes, targetNode) => {\n  while (indexes.length > 0) {\n    const index = indexes.shift();\n    copyTrailingComments(nodes[index], targetNode, file, 3 /* MultiLineCommentTrivia */, false);\n    copyOperatorComments(index, targetNode);\n  }\n};\nfunction escapeRawStringForTemplate(s) {\n  return s.replace(/\\\\.|[$`]/g, (m) => m[0] === \"\\\\\" ? m : \"\\\\\" + m);\n}\nfunction getRawTextOfTemplate(node) {\n  const rightShaving = isTemplateHead(node) || isTemplateMiddle(node) ? -2 : -1;\n  return getTextOfNode(node).slice(1, rightShaving);\n}\nfunction concatConsecutiveString(index, nodes) {\n  const indexes = [];\n  let text = \"\", rawText = \"\";\n  while (index < nodes.length) {\n    const node = nodes[index];\n    if (isStringLiteralLike(node)) {\n      text += node.text;\n      rawText += escapeRawStringForTemplate(getTextOfNode(node).slice(1, -1));\n      indexes.push(index);\n      index++;\n    } else if (isTemplateExpression(node)) {\n      text += node.head.text;\n      rawText += getRawTextOfTemplate(node.head);\n      break;\n    } else {\n      break;\n    }\n  }\n  return [index, text, rawText, indexes];\n}\nfunction nodesToTemplate({ nodes, operators }, file) {\n  const copyOperatorComments = copyTrailingOperatorComments(operators, file);\n  const copyCommentFromStringLiterals = copyCommentFromMultiNode(nodes, file, copyOperatorComments);\n  const [begin, headText, rawHeadText, headIndexes] = concatConsecutiveString(0, nodes);\n  if (begin === nodes.length) {\n    const noSubstitutionTemplateLiteral = factory.createNoSubstitutionTemplateLiteral(headText, rawHeadText);\n    copyCommentFromStringLiterals(headIndexes, noSubstitutionTemplateLiteral);\n    return noSubstitutionTemplateLiteral;\n  }\n  const templateSpans = [];\n  const templateHead = factory.createTemplateHead(headText, rawHeadText);\n  copyCommentFromStringLiterals(headIndexes, templateHead);\n  for (let i = begin; i < nodes.length; i++) {\n    const currentNode = getExpressionFromParenthesesOrExpression(nodes[i]);\n    copyOperatorComments(i, currentNode);\n    const [newIndex, subsequentText, rawSubsequentText, stringIndexes] = concatConsecutiveString(i + 1, nodes);\n    i = newIndex - 1;\n    const isLast = i === nodes.length - 1;\n    if (isTemplateExpression(currentNode)) {\n      const spans = map(currentNode.templateSpans, (span, index) => {\n        copyExpressionComments(span);\n        const isLastSpan = index === currentNode.templateSpans.length - 1;\n        const text = span.literal.text + (isLastSpan ? subsequentText : \"\");\n        const rawText = getRawTextOfTemplate(span.literal) + (isLastSpan ? rawSubsequentText : \"\");\n        return factory.createTemplateSpan(span.expression, isLast && isLastSpan ? factory.createTemplateTail(text, rawText) : factory.createTemplateMiddle(text, rawText));\n      });\n      templateSpans.push(...spans);\n    } else {\n      const templatePart = isLast ? factory.createTemplateTail(subsequentText, rawSubsequentText) : factory.createTemplateMiddle(subsequentText, rawSubsequentText);\n      copyCommentFromStringLiterals(stringIndexes, templatePart);\n      templateSpans.push(factory.createTemplateSpan(currentNode, templatePart));\n    }\n  }\n  return factory.createTemplateExpression(templateHead, templateSpans);\n}\nfunction copyExpressionComments(node) {\n  const file = node.getSourceFile();\n  copyTrailingComments(node, node.expression, file, 3 /* MultiLineCommentTrivia */, false);\n  copyTrailingAsLeadingComments(node.expression, node.expression, file, 3 /* MultiLineCommentTrivia */, false);\n}\nfunction getExpressionFromParenthesesOrExpression(node) {\n  if (isParenthesizedExpression(node)) {\n    copyExpressionComments(node);\n    node = node.expression;\n  }\n  return node;\n}\n\n// src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts\nvar ts_refactor_convertToOptionalChainExpression_exports = {};\n\n// src/services/refactors/convertToOptionalChainExpression.ts\nvar refactorName10 = \"Convert to optional chain expression\";\nvar convertToOptionalChainExpressionMessage = getLocaleSpecificMessage(Diagnostics.Convert_to_optional_chain_expression);\nvar toOptionalChainAction = {\n  name: refactorName10,\n  description: convertToOptionalChainExpressionMessage,\n  kind: \"refactor.rewrite.expression.optionalChain\"\n};\nregisterRefactor(refactorName10, {\n  kinds: [toOptionalChainAction.kind],\n  getEditsForAction: getRefactorEditsToConvertToOptionalChain,\n  getAvailableActions: getRefactorActionsToConvertToOptionalChain\n});\nfunction getRefactorActionsToConvertToOptionalChain(context) {\n  const info = getInfo20(context, context.triggerReason === \"invoked\");\n  if (!info)\n    return emptyArray;\n  if (!isRefactorErrorInfo(info)) {\n    return [{\n      name: refactorName10,\n      description: convertToOptionalChainExpressionMessage,\n      actions: [toOptionalChainAction]\n    }];\n  }\n  if (context.preferences.provideRefactorNotApplicableReason) {\n    return [{\n      name: refactorName10,\n      description: convertToOptionalChainExpressionMessage,\n      actions: [{ ...toOptionalChainAction, notApplicableReason: info.error }]\n    }];\n  }\n  return emptyArray;\n}\nfunction getRefactorEditsToConvertToOptionalChain(context, actionName2) {\n  const info = getInfo20(context);\n  Debug.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n  const edits = ts_textChanges_exports.ChangeTracker.with(\n    context,\n    (t) => doChange37(context.file, context.program.getTypeChecker(), t, info, actionName2)\n  );\n  return { edits, renameFilename: void 0, renameLocation: void 0 };\n}\nfunction isValidExpression(node) {\n  return isBinaryExpression(node) || isConditionalExpression(node);\n}\nfunction isValidStatement(node) {\n  return isExpressionStatement(node) || isReturnStatement(node) || isVariableStatement(node);\n}\nfunction isValidExpressionOrStatement(node) {\n  return isValidExpression(node) || isValidStatement(node);\n}\nfunction getInfo20(context, considerEmptySpans = true) {\n  const { file, program } = context;\n  const span = getRefactorContextSpan(context);\n  const forEmptySpan = span.length === 0;\n  if (forEmptySpan && !considerEmptySpans)\n    return void 0;\n  const startToken = getTokenAtPosition(file, span.start);\n  const endToken = findTokenOnLeftOfPosition(file, span.start + span.length);\n  const adjustedSpan = createTextSpanFromBounds(startToken.pos, endToken && endToken.end >= startToken.pos ? endToken.getEnd() : startToken.getEnd());\n  const parent2 = forEmptySpan ? getValidParentNodeOfEmptySpan(startToken) : getValidParentNodeContainingSpan(startToken, adjustedSpan);\n  const expression = parent2 && isValidExpressionOrStatement(parent2) ? getExpression(parent2) : void 0;\n  if (!expression)\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_convertible_access_expression) };\n  const checker = program.getTypeChecker();\n  return isConditionalExpression(expression) ? getConditionalInfo(expression, checker) : getBinaryInfo(expression);\n}\nfunction getConditionalInfo(expression, checker) {\n  const condition = expression.condition;\n  const finalExpression = getFinalExpressionInChain(expression.whenTrue);\n  if (!finalExpression || checker.isNullableType(checker.getTypeAtLocation(finalExpression))) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_convertible_access_expression) };\n  }\n  if ((isPropertyAccessExpression(condition) || isIdentifier(condition)) && getMatchingStart(condition, finalExpression.expression)) {\n    return { finalExpression, occurrences: [condition], expression };\n  } else if (isBinaryExpression(condition)) {\n    const occurrences = getOccurrencesInExpression(finalExpression.expression, condition);\n    return occurrences ? { finalExpression, occurrences, expression } : { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_matching_access_expressions) };\n  }\n}\nfunction getBinaryInfo(expression) {\n  if (expression.operatorToken.kind !== 55 /* AmpersandAmpersandToken */) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Can_only_convert_logical_AND_access_chains) };\n  }\n  const finalExpression = getFinalExpressionInChain(expression.right);\n  if (!finalExpression)\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_convertible_access_expression) };\n  const occurrences = getOccurrencesInExpression(finalExpression.expression, expression.left);\n  return occurrences ? { finalExpression, occurrences, expression } : { error: getLocaleSpecificMessage(Diagnostics.Could_not_find_matching_access_expressions) };\n}\nfunction getOccurrencesInExpression(matchTo, expression) {\n  const occurrences = [];\n  while (isBinaryExpression(expression) && expression.operatorToken.kind === 55 /* AmpersandAmpersandToken */) {\n    const match = getMatchingStart(skipParentheses(matchTo), skipParentheses(expression.right));\n    if (!match) {\n      break;\n    }\n    occurrences.push(match);\n    matchTo = match;\n    expression = expression.left;\n  }\n  const finalMatch = getMatchingStart(matchTo, expression);\n  if (finalMatch) {\n    occurrences.push(finalMatch);\n  }\n  return occurrences.length > 0 ? occurrences : void 0;\n}\nfunction getMatchingStart(chain, subchain) {\n  if (!isIdentifier(subchain) && !isPropertyAccessExpression(subchain) && !isElementAccessExpression(subchain)) {\n    return void 0;\n  }\n  return chainStartsWith(chain, subchain) ? subchain : void 0;\n}\nfunction chainStartsWith(chain, subchain) {\n  while (isCallExpression(chain) || isPropertyAccessExpression(chain) || isElementAccessExpression(chain)) {\n    if (getTextOfChainNode(chain) === getTextOfChainNode(subchain))\n      break;\n    chain = chain.expression;\n  }\n  while (isPropertyAccessExpression(chain) && isPropertyAccessExpression(subchain) || isElementAccessExpression(chain) && isElementAccessExpression(subchain)) {\n    if (getTextOfChainNode(chain) !== getTextOfChainNode(subchain))\n      return false;\n    chain = chain.expression;\n    subchain = subchain.expression;\n  }\n  return isIdentifier(chain) && isIdentifier(subchain) && chain.getText() === subchain.getText();\n}\nfunction getTextOfChainNode(node) {\n  if (isIdentifier(node) || isStringOrNumericLiteralLike(node)) {\n    return node.getText();\n  }\n  if (isPropertyAccessExpression(node)) {\n    return getTextOfChainNode(node.name);\n  }\n  if (isElementAccessExpression(node)) {\n    return getTextOfChainNode(node.argumentExpression);\n  }\n  return void 0;\n}\nfunction getValidParentNodeContainingSpan(node, span) {\n  while (node.parent) {\n    if (isValidExpressionOrStatement(node) && span.length !== 0 && node.end >= span.start + span.length) {\n      return node;\n    }\n    node = node.parent;\n  }\n  return void 0;\n}\nfunction getValidParentNodeOfEmptySpan(node) {\n  while (node.parent) {\n    if (isValidExpressionOrStatement(node) && !isValidExpressionOrStatement(node.parent)) {\n      return node;\n    }\n    node = node.parent;\n  }\n  return void 0;\n}\nfunction getExpression(node) {\n  if (isValidExpression(node)) {\n    return node;\n  }\n  if (isVariableStatement(node)) {\n    const variable = getSingleVariableOfVariableStatement(node);\n    const initializer = variable == null ? void 0 : variable.initializer;\n    return initializer && isValidExpression(initializer) ? initializer : void 0;\n  }\n  return node.expression && isValidExpression(node.expression) ? node.expression : void 0;\n}\nfunction getFinalExpressionInChain(node) {\n  node = skipParentheses(node);\n  if (isBinaryExpression(node)) {\n    return getFinalExpressionInChain(node.left);\n  } else if ((isPropertyAccessExpression(node) || isElementAccessExpression(node) || isCallExpression(node)) && !isOptionalChain(node)) {\n    return node;\n  }\n  return void 0;\n}\nfunction convertOccurrences(checker, toConvert, occurrences) {\n  if (isPropertyAccessExpression(toConvert) || isElementAccessExpression(toConvert) || isCallExpression(toConvert)) {\n    const chain = convertOccurrences(checker, toConvert.expression, occurrences);\n    const lastOccurrence = occurrences.length > 0 ? occurrences[occurrences.length - 1] : void 0;\n    const isOccurrence = (lastOccurrence == null ? void 0 : lastOccurrence.getText()) === toConvert.expression.getText();\n    if (isOccurrence)\n      occurrences.pop();\n    if (isCallExpression(toConvert)) {\n      return isOccurrence ? factory.createCallChain(chain, factory.createToken(28 /* QuestionDotToken */), toConvert.typeArguments, toConvert.arguments) : factory.createCallChain(chain, toConvert.questionDotToken, toConvert.typeArguments, toConvert.arguments);\n    } else if (isPropertyAccessExpression(toConvert)) {\n      return isOccurrence ? factory.createPropertyAccessChain(chain, factory.createToken(28 /* QuestionDotToken */), toConvert.name) : factory.createPropertyAccessChain(chain, toConvert.questionDotToken, toConvert.name);\n    } else if (isElementAccessExpression(toConvert)) {\n      return isOccurrence ? factory.createElementAccessChain(chain, factory.createToken(28 /* QuestionDotToken */), toConvert.argumentExpression) : factory.createElementAccessChain(chain, toConvert.questionDotToken, toConvert.argumentExpression);\n    }\n  }\n  return toConvert;\n}\nfunction doChange37(sourceFile, checker, changes, info, _actionName) {\n  const { finalExpression, occurrences, expression } = info;\n  const firstOccurrence = occurrences[occurrences.length - 1];\n  const convertedChain = convertOccurrences(checker, finalExpression, occurrences);\n  if (convertedChain && (isPropertyAccessExpression(convertedChain) || isElementAccessExpression(convertedChain) || isCallExpression(convertedChain))) {\n    if (isBinaryExpression(expression)) {\n      changes.replaceNodeRange(sourceFile, firstOccurrence, finalExpression, convertedChain);\n    } else if (isConditionalExpression(expression)) {\n      changes.replaceNode(\n        sourceFile,\n        expression,\n        factory.createBinaryExpression(convertedChain, factory.createToken(60 /* QuestionQuestionToken */), expression.whenFalse)\n      );\n    }\n  }\n}\n\n// src/services/_namespaces/ts.refactor.extractSymbol.ts\nvar ts_refactor_extractSymbol_exports = {};\n__export(ts_refactor_extractSymbol_exports, {\n  Messages: () => Messages,\n  RangeFacts: () => RangeFacts,\n  getRangeToExtract: () => getRangeToExtract2,\n  getRefactorActionsToExtractSymbol: () => getRefactorActionsToExtractSymbol,\n  getRefactorEditsToExtractSymbol: () => getRefactorEditsToExtractSymbol\n});\n\n// src/services/refactors/extractSymbol.ts\nvar refactorName11 = \"Extract Symbol\";\nvar extractConstantAction = {\n  name: \"Extract Constant\",\n  description: getLocaleSpecificMessage(Diagnostics.Extract_constant),\n  kind: \"refactor.extract.constant\"\n};\nvar extractFunctionAction = {\n  name: \"Extract Function\",\n  description: getLocaleSpecificMessage(Diagnostics.Extract_function),\n  kind: \"refactor.extract.function\"\n};\nregisterRefactor(refactorName11, {\n  kinds: [\n    extractConstantAction.kind,\n    extractFunctionAction.kind\n  ],\n  getEditsForAction: getRefactorEditsToExtractSymbol,\n  getAvailableActions: getRefactorActionsToExtractSymbol\n});\nfunction getRefactorActionsToExtractSymbol(context) {\n  const requestedRefactor = context.kind;\n  const rangeToExtract = getRangeToExtract2(context.file, getRefactorContextSpan(context), context.triggerReason === \"invoked\");\n  const targetRange = rangeToExtract.targetRange;\n  if (targetRange === void 0) {\n    if (!rangeToExtract.errors || rangeToExtract.errors.length === 0 || !context.preferences.provideRefactorNotApplicableReason) {\n      return emptyArray;\n    }\n    const errors = [];\n    if (refactorKindBeginsWith(extractFunctionAction.kind, requestedRefactor)) {\n      errors.push({\n        name: refactorName11,\n        description: extractFunctionAction.description,\n        actions: [{ ...extractFunctionAction, notApplicableReason: getStringError(rangeToExtract.errors) }]\n      });\n    }\n    if (refactorKindBeginsWith(extractConstantAction.kind, requestedRefactor)) {\n      errors.push({\n        name: refactorName11,\n        description: extractConstantAction.description,\n        actions: [{ ...extractConstantAction, notApplicableReason: getStringError(rangeToExtract.errors) }]\n      });\n    }\n    return errors;\n  }\n  const extractions = getPossibleExtractions(targetRange, context);\n  if (extractions === void 0) {\n    return emptyArray;\n  }\n  const functionActions = [];\n  const usedFunctionNames = new Map2();\n  let innermostErrorFunctionAction;\n  const constantActions = [];\n  const usedConstantNames = new Map2();\n  let innermostErrorConstantAction;\n  let i = 0;\n  for (const { functionExtraction, constantExtraction } of extractions) {\n    if (refactorKindBeginsWith(extractFunctionAction.kind, requestedRefactor)) {\n      const description2 = functionExtraction.description;\n      if (functionExtraction.errors.length === 0) {\n        if (!usedFunctionNames.has(description2)) {\n          usedFunctionNames.set(description2, true);\n          functionActions.push({\n            description: description2,\n            name: `function_scope_${i}`,\n            kind: extractFunctionAction.kind\n          });\n        }\n      } else if (!innermostErrorFunctionAction) {\n        innermostErrorFunctionAction = {\n          description: description2,\n          name: `function_scope_${i}`,\n          notApplicableReason: getStringError(functionExtraction.errors),\n          kind: extractFunctionAction.kind\n        };\n      }\n    }\n    if (refactorKindBeginsWith(extractConstantAction.kind, requestedRefactor)) {\n      const description2 = constantExtraction.description;\n      if (constantExtraction.errors.length === 0) {\n        if (!usedConstantNames.has(description2)) {\n          usedConstantNames.set(description2, true);\n          constantActions.push({\n            description: description2,\n            name: `constant_scope_${i}`,\n            kind: extractConstantAction.kind\n          });\n        }\n      } else if (!innermostErrorConstantAction) {\n        innermostErrorConstantAction = {\n          description: description2,\n          name: `constant_scope_${i}`,\n          notApplicableReason: getStringError(constantExtraction.errors),\n          kind: extractConstantAction.kind\n        };\n      }\n    }\n    i++;\n  }\n  const infos = [];\n  if (functionActions.length) {\n    infos.push({\n      name: refactorName11,\n      description: getLocaleSpecificMessage(Diagnostics.Extract_function),\n      actions: functionActions\n    });\n  } else if (context.preferences.provideRefactorNotApplicableReason && innermostErrorFunctionAction) {\n    infos.push({\n      name: refactorName11,\n      description: getLocaleSpecificMessage(Diagnostics.Extract_function),\n      actions: [innermostErrorFunctionAction]\n    });\n  }\n  if (constantActions.length) {\n    infos.push({\n      name: refactorName11,\n      description: getLocaleSpecificMessage(Diagnostics.Extract_constant),\n      actions: constantActions\n    });\n  } else if (context.preferences.provideRefactorNotApplicableReason && innermostErrorConstantAction) {\n    infos.push({\n      name: refactorName11,\n      description: getLocaleSpecificMessage(Diagnostics.Extract_constant),\n      actions: [innermostErrorConstantAction]\n    });\n  }\n  return infos.length ? infos : emptyArray;\n  function getStringError(errors) {\n    let error = errors[0].messageText;\n    if (typeof error !== \"string\") {\n      error = error.messageText;\n    }\n    return error;\n  }\n}\nfunction getRefactorEditsToExtractSymbol(context, actionName2) {\n  const rangeToExtract = getRangeToExtract2(context.file, getRefactorContextSpan(context));\n  const targetRange = rangeToExtract.targetRange;\n  const parsedFunctionIndexMatch = /^function_scope_(\\d+)$/.exec(actionName2);\n  if (parsedFunctionIndexMatch) {\n    const index = +parsedFunctionIndexMatch[1];\n    Debug.assert(isFinite(index), \"Expected to parse a finite number from the function scope index\");\n    return getFunctionExtractionAtIndex(targetRange, context, index);\n  }\n  const parsedConstantIndexMatch = /^constant_scope_(\\d+)$/.exec(actionName2);\n  if (parsedConstantIndexMatch) {\n    const index = +parsedConstantIndexMatch[1];\n    Debug.assert(isFinite(index), \"Expected to parse a finite number from the constant scope index\");\n    return getConstantExtractionAtIndex(targetRange, context, index);\n  }\n  Debug.fail(\"Unrecognized action name\");\n}\nvar Messages;\n((Messages2) => {\n  function createMessage(message) {\n    return { message, code: 0, category: 3 /* Message */, key: message };\n  }\n  Messages2.cannotExtractRange = createMessage(\"Cannot extract range.\");\n  Messages2.cannotExtractImport = createMessage(\"Cannot extract import statement.\");\n  Messages2.cannotExtractSuper = createMessage(\"Cannot extract super call.\");\n  Messages2.cannotExtractJSDoc = createMessage(\"Cannot extract JSDoc.\");\n  Messages2.cannotExtractEmpty = createMessage(\"Cannot extract empty range.\");\n  Messages2.expressionExpected = createMessage(\"expression expected.\");\n  Messages2.uselessConstantType = createMessage(\"No reason to extract constant of type.\");\n  Messages2.statementOrExpressionExpected = createMessage(\"Statement or expression expected.\");\n  Messages2.cannotExtractRangeContainingConditionalBreakOrContinueStatements = createMessage(\"Cannot extract range containing conditional break or continue statements.\");\n  Messages2.cannotExtractRangeContainingConditionalReturnStatement = createMessage(\"Cannot extract range containing conditional return statement.\");\n  Messages2.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange = createMessage(\"Cannot extract range containing labeled break or continue with target outside of the range.\");\n  Messages2.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators = createMessage(\"Cannot extract range containing writes to references located outside of the target range in generators.\");\n  Messages2.typeWillNotBeVisibleInTheNewScope = createMessage(\"Type will not visible in the new scope.\");\n  Messages2.functionWillNotBeVisibleInTheNewScope = createMessage(\"Function will not visible in the new scope.\");\n  Messages2.cannotExtractIdentifier = createMessage(\"Select more than a single identifier.\");\n  Messages2.cannotExtractExportedEntity = createMessage(\"Cannot extract exported declaration\");\n  Messages2.cannotWriteInExpression = createMessage(\"Cannot write back side-effects when extracting an expression\");\n  Messages2.cannotExtractReadonlyPropertyInitializerOutsideConstructor = createMessage(\"Cannot move initialization of read-only class property outside of the constructor\");\n  Messages2.cannotExtractAmbientBlock = createMessage(\"Cannot extract code from ambient contexts\");\n  Messages2.cannotAccessVariablesFromNestedScopes = createMessage(\"Cannot access variables from nested scopes\");\n  Messages2.cannotExtractToJSClass = createMessage(\"Cannot extract constant to a class scope in JS\");\n  Messages2.cannotExtractToExpressionArrowFunction = createMessage(\"Cannot extract constant to an arrow function without a block\");\n  Messages2.cannotExtractFunctionsContainingThisToMethod = createMessage(\"Cannot extract functions containing this to method\");\n})(Messages || (Messages = {}));\nvar RangeFacts = /* @__PURE__ */ ((RangeFacts2) => {\n  RangeFacts2[RangeFacts2[\"None\"] = 0] = \"None\";\n  RangeFacts2[RangeFacts2[\"HasReturn\"] = 1] = \"HasReturn\";\n  RangeFacts2[RangeFacts2[\"IsGenerator\"] = 2] = \"IsGenerator\";\n  RangeFacts2[RangeFacts2[\"IsAsyncFunction\"] = 4] = \"IsAsyncFunction\";\n  RangeFacts2[RangeFacts2[\"UsesThis\"] = 8] = \"UsesThis\";\n  RangeFacts2[RangeFacts2[\"UsesThisInFunction\"] = 16] = \"UsesThisInFunction\";\n  RangeFacts2[RangeFacts2[\"InStaticRegion\"] = 32] = \"InStaticRegion\";\n  return RangeFacts2;\n})(RangeFacts || {});\nfunction getRangeToExtract2(sourceFile, span, invoked = true) {\n  const { length: length2 } = span;\n  if (length2 === 0 && !invoked) {\n    return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractEmpty)] };\n  }\n  const cursorRequest = length2 === 0 && invoked;\n  const startToken = findFirstNonJsxWhitespaceToken(sourceFile, span.start);\n  const endToken = findTokenOnLeftOfPosition(sourceFile, textSpanEnd(span));\n  const adjustedSpan = startToken && endToken && invoked ? getAdjustedSpanFromNodes(startToken, endToken, sourceFile) : span;\n  const start = cursorRequest ? getExtractableParent(startToken) : getParentNodeInSpan(startToken, sourceFile, adjustedSpan);\n  const end = cursorRequest ? start : getParentNodeInSpan(endToken, sourceFile, adjustedSpan);\n  let rangeFacts = 0 /* None */;\n  let thisNode;\n  if (!start || !end) {\n    return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n  }\n  if (start.flags & 8388608 /* JSDoc */) {\n    return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractJSDoc)] };\n  }\n  if (start.parent !== end.parent) {\n    return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n  }\n  if (start !== end) {\n    if (!isBlockLike(start.parent)) {\n      return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n    }\n    const statements = [];\n    for (const statement of start.parent.statements) {\n      if (statement === start || statements.length) {\n        const errors2 = checkNode(statement);\n        if (errors2) {\n          return { errors: errors2 };\n        }\n        statements.push(statement);\n      }\n      if (statement === end) {\n        break;\n      }\n    }\n    if (!statements.length) {\n      return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n    }\n    return { targetRange: { range: statements, facts: rangeFacts, thisNode } };\n  }\n  if (isReturnStatement(start) && !start.expression) {\n    return { errors: [createFileDiagnostic(sourceFile, span.start, length2, Messages.cannotExtractRange)] };\n  }\n  const node = refineNode(start);\n  const errors = checkRootNode(node) || checkNode(node);\n  if (errors) {\n    return { errors };\n  }\n  return { targetRange: { range: getStatementOrExpressionRange(node), facts: rangeFacts, thisNode } };\n  function refineNode(node2) {\n    if (isReturnStatement(node2)) {\n      if (node2.expression) {\n        return node2.expression;\n      }\n    } else if (isVariableStatement(node2) || isVariableDeclarationList(node2)) {\n      const declarations = isVariableStatement(node2) ? node2.declarationList.declarations : node2.declarations;\n      let numInitializers = 0;\n      let lastInitializer;\n      for (const declaration of declarations) {\n        if (declaration.initializer) {\n          numInitializers++;\n          lastInitializer = declaration.initializer;\n        }\n      }\n      if (numInitializers === 1) {\n        return lastInitializer;\n      }\n    } else if (isVariableDeclaration(node2)) {\n      if (node2.initializer) {\n        return node2.initializer;\n      }\n    }\n    return node2;\n  }\n  function checkRootNode(node2) {\n    if (isIdentifier(isExpressionStatement(node2) ? node2.expression : node2)) {\n      return [createDiagnosticForNode(node2, Messages.cannotExtractIdentifier)];\n    }\n    return void 0;\n  }\n  function checkForStaticContext(nodeToCheck, containingClass) {\n    let current = nodeToCheck;\n    while (current !== containingClass) {\n      if (current.kind === 171 /* PropertyDeclaration */) {\n        if (isStatic(current)) {\n          rangeFacts |= 32 /* InStaticRegion */;\n        }\n        break;\n      } else if (current.kind === 168 /* Parameter */) {\n        const ctorOrMethod = getContainingFunction(current);\n        if (ctorOrMethod.kind === 176 /* Constructor */) {\n          rangeFacts |= 32 /* InStaticRegion */;\n        }\n        break;\n      } else if (current.kind === 174 /* MethodDeclaration */) {\n        if (isStatic(current)) {\n          rangeFacts |= 32 /* InStaticRegion */;\n        }\n      }\n      current = current.parent;\n    }\n  }\n  function checkNode(nodeToCheck) {\n    let PermittedJumps;\n    ((PermittedJumps2) => {\n      PermittedJumps2[PermittedJumps2[\"None\"] = 0] = \"None\";\n      PermittedJumps2[PermittedJumps2[\"Break\"] = 1] = \"Break\";\n      PermittedJumps2[PermittedJumps2[\"Continue\"] = 2] = \"Continue\";\n      PermittedJumps2[PermittedJumps2[\"Return\"] = 4] = \"Return\";\n    })(PermittedJumps || (PermittedJumps = {}));\n    Debug.assert(nodeToCheck.pos <= nodeToCheck.end, \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)\");\n    Debug.assert(!positionIsSynthesized(nodeToCheck.pos), \"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)\");\n    if (!isStatement(nodeToCheck) && !(isExpressionNode(nodeToCheck) && isExtractableExpression(nodeToCheck)) && !isStringLiteralJsxAttribute(nodeToCheck)) {\n      return [createDiagnosticForNode(nodeToCheck, Messages.statementOrExpressionExpected)];\n    }\n    if (nodeToCheck.flags & 16777216 /* Ambient */) {\n      return [createDiagnosticForNode(nodeToCheck, Messages.cannotExtractAmbientBlock)];\n    }\n    const containingClass = getContainingClass(nodeToCheck);\n    if (containingClass) {\n      checkForStaticContext(nodeToCheck, containingClass);\n    }\n    let errors2;\n    let permittedJumps = 4 /* Return */;\n    let seenLabels;\n    visit(nodeToCheck);\n    if (rangeFacts & 8 /* UsesThis */) {\n      const container = getThisContainer(nodeToCheck, false);\n      if (container.kind === 263 /* FunctionDeclaration */ || container.kind === 174 /* MethodDeclaration */ && container.parent.kind === 210 /* ObjectLiteralExpression */ || container.kind === 218 /* FunctionExpression */) {\n        rangeFacts |= 16 /* UsesThisInFunction */;\n      }\n    }\n    return errors2;\n    function visit(node2) {\n      if (errors2) {\n        return true;\n      }\n      if (isDeclaration(node2)) {\n        const declaringNode = node2.kind === 261 /* VariableDeclaration */ ? node2.parent.parent : node2;\n        if (hasSyntacticModifier(declaringNode, 1 /* Export */)) {\n          (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractExportedEntity));\n          return true;\n        }\n      }\n      switch (node2.kind) {\n        case 275 /* ImportDeclaration */:\n          (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractImport));\n          return true;\n        case 280 /* ExportAssignment */:\n          (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractExportedEntity));\n          return true;\n        case 107 /* SuperKeyword */:\n          if (node2.parent.kind === 213 /* CallExpression */) {\n            const containingClass2 = getContainingClass(node2);\n            if (containingClass2 === void 0 || containingClass2.pos < span.start || containingClass2.end >= span.start + span.length) {\n              (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractSuper));\n              return true;\n            }\n          } else {\n            rangeFacts |= 8 /* UsesThis */;\n            thisNode = node2;\n          }\n          break;\n        case 219 /* ArrowFunction */:\n          forEachChild(node2, function check(n) {\n            if (isThis(n)) {\n              rangeFacts |= 8 /* UsesThis */;\n              thisNode = node2;\n            } else if (isClassLike(n) || isFunctionLike(n) && !isArrowFunction(n)) {\n              return false;\n            } else {\n              forEachChild(n, check);\n            }\n          });\n        case 264 /* ClassDeclaration */:\n        case 263 /* FunctionDeclaration */:\n          if (isSourceFile(node2.parent) && node2.parent.externalModuleIndicator === void 0) {\n            (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.functionWillNotBeVisibleInTheNewScope));\n          }\n        case 232 /* ClassExpression */:\n        case 218 /* FunctionExpression */:\n        case 174 /* MethodDeclaration */:\n        case 176 /* Constructor */:\n        case 177 /* GetAccessor */:\n        case 178 /* SetAccessor */:\n          return false;\n      }\n      const savedPermittedJumps = permittedJumps;\n      switch (node2.kind) {\n        case 246 /* IfStatement */:\n          permittedJumps &= ~4 /* Return */;\n          break;\n        case 259 /* TryStatement */:\n          permittedJumps = 0 /* None */;\n          break;\n        case 242 /* Block */:\n          if (node2.parent && node2.parent.kind === 259 /* TryStatement */ && node2.parent.finallyBlock === node2) {\n            permittedJumps = 4 /* Return */;\n          }\n          break;\n        case 299 /* DefaultClause */:\n        case 298 /* CaseClause */:\n          permittedJumps |= 1 /* Break */;\n          break;\n        default:\n          if (isIterationStatement(node2, false)) {\n            permittedJumps |= 1 /* Break */ | 2 /* Continue */;\n          }\n          break;\n      }\n      switch (node2.kind) {\n        case 197 /* ThisType */:\n        case 109 /* ThisKeyword */:\n          rangeFacts |= 8 /* UsesThis */;\n          thisNode = node2;\n          break;\n        case 257 /* LabeledStatement */: {\n          const label = node2.label;\n          (seenLabels || (seenLabels = [])).push(label.escapedText);\n          forEachChild(node2, visit);\n          seenLabels.pop();\n          break;\n        }\n        case 253 /* BreakStatement */:\n        case 252 /* ContinueStatement */: {\n          const label = node2.label;\n          if (label) {\n            if (!contains(seenLabels, label.escapedText)) {\n              (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange));\n            }\n          } else {\n            if (!(permittedJumps & (node2.kind === 253 /* BreakStatement */ ? 1 /* Break */ : 2 /* Continue */))) {\n              (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingConditionalBreakOrContinueStatements));\n            }\n          }\n          break;\n        }\n        case 224 /* AwaitExpression */:\n          rangeFacts |= 4 /* IsAsyncFunction */;\n          break;\n        case 230 /* YieldExpression */:\n          rangeFacts |= 2 /* IsGenerator */;\n          break;\n        case 254 /* ReturnStatement */:\n          if (permittedJumps & 4 /* Return */) {\n            rangeFacts |= 1 /* HasReturn */;\n          } else {\n            (errors2 || (errors2 = [])).push(createDiagnosticForNode(node2, Messages.cannotExtractRangeContainingConditionalReturnStatement));\n          }\n          break;\n        default:\n          forEachChild(node2, visit);\n          break;\n      }\n      permittedJumps = savedPermittedJumps;\n    }\n  }\n}\nfunction getAdjustedSpanFromNodes(startNode2, endNode2, sourceFile) {\n  const start = startNode2.getStart(sourceFile);\n  let end = endNode2.getEnd();\n  if (sourceFile.text.charCodeAt(end) === 59 /* semicolon */) {\n    end++;\n  }\n  return { start, length: end - start };\n}\nfunction getStatementOrExpressionRange(node) {\n  if (isStatement(node)) {\n    return [node];\n  }\n  if (isExpressionNode(node)) {\n    return isExpressionStatement(node.parent) ? [node.parent] : node;\n  }\n  if (isStringLiteralJsxAttribute(node)) {\n    return node;\n  }\n  return void 0;\n}\nfunction isScope(node) {\n  return isArrowFunction(node) ? isFunctionBody(node.body) : isFunctionLikeDeclaration(node) || isSourceFile(node) || isModuleBlock(node) || isClassLike(node);\n}\nfunction collectEnclosingScopes(range) {\n  let current = isReadonlyArray(range.range) ? first(range.range) : range.range;\n  if (range.facts & 8 /* UsesThis */ && !(range.facts & 16 /* UsesThisInFunction */)) {\n    const containingClass = getContainingClass(current);\n    if (containingClass) {\n      const containingFunction = findAncestor(current, isFunctionLikeDeclaration);\n      return containingFunction ? [containingFunction, containingClass] : [containingClass];\n    }\n  }\n  const scopes = [];\n  while (true) {\n    current = current.parent;\n    if (current.kind === 168 /* Parameter */) {\n      current = findAncestor(current, (parent2) => isFunctionLikeDeclaration(parent2)).parent;\n    }\n    if (isScope(current)) {\n      scopes.push(current);\n      if (current.kind === 314 /* SourceFile */) {\n        return scopes;\n      }\n    }\n  }\n}\nfunction getFunctionExtractionAtIndex(targetRange, context, requestedChangesIndex) {\n  const { scopes, readsAndWrites: { target, usagesPerScope, functionErrorsPerScope, exposedVariableDeclarations } } = getPossibleExtractionsWorker(targetRange, context);\n  Debug.assert(!functionErrorsPerScope[requestedChangesIndex].length, \"The extraction went missing? How?\");\n  context.cancellationToken.throwIfCancellationRequested();\n  return extractFunctionInScope(target, scopes[requestedChangesIndex], usagesPerScope[requestedChangesIndex], exposedVariableDeclarations, targetRange, context);\n}\nfunction getConstantExtractionAtIndex(targetRange, context, requestedChangesIndex) {\n  const { scopes, readsAndWrites: { target, usagesPerScope, constantErrorsPerScope, exposedVariableDeclarations } } = getPossibleExtractionsWorker(targetRange, context);\n  Debug.assert(!constantErrorsPerScope[requestedChangesIndex].length, \"The extraction went missing? How?\");\n  Debug.assert(exposedVariableDeclarations.length === 0, \"Extract constant accepted a range containing a variable declaration?\");\n  context.cancellationToken.throwIfCancellationRequested();\n  const expression = isExpression(target) ? target : target.statements[0].expression;\n  return extractConstantInScope(expression, scopes[requestedChangesIndex], usagesPerScope[requestedChangesIndex], targetRange.facts, context);\n}\nfunction getPossibleExtractions(targetRange, context) {\n  const { scopes, readsAndWrites: { functionErrorsPerScope, constantErrorsPerScope } } = getPossibleExtractionsWorker(targetRange, context);\n  const extractions = scopes.map((scope, i) => {\n    const functionDescriptionPart = getDescriptionForFunctionInScope(scope);\n    const constantDescriptionPart = getDescriptionForConstantInScope(scope);\n    const scopeDescription = isFunctionLikeDeclaration(scope) ? getDescriptionForFunctionLikeDeclaration(scope) : isClassLike(scope) ? getDescriptionForClassLikeDeclaration(scope) : getDescriptionForModuleLikeDeclaration(scope);\n    let functionDescription;\n    let constantDescription;\n    if (scopeDescription === SpecialScope.Global) {\n      functionDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [functionDescriptionPart, \"global\"]);\n      constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [constantDescriptionPart, \"global\"]);\n    } else if (scopeDescription === SpecialScope.Module) {\n      functionDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [functionDescriptionPart, \"module\"]);\n      constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1_scope), [constantDescriptionPart, \"module\"]);\n    } else {\n      functionDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1), [functionDescriptionPart, scopeDescription]);\n      constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_1), [constantDescriptionPart, scopeDescription]);\n    }\n    if (i === 0 && !isClassLike(scope)) {\n      constantDescription = formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Extract_to_0_in_enclosing_scope), [constantDescriptionPart]);\n    }\n    return {\n      functionExtraction: {\n        description: functionDescription,\n        errors: functionErrorsPerScope[i]\n      },\n      constantExtraction: {\n        description: constantDescription,\n        errors: constantErrorsPerScope[i]\n      }\n    };\n  });\n  return extractions;\n}\nfunction getPossibleExtractionsWorker(targetRange, context) {\n  const { file: sourceFile } = context;\n  const scopes = collectEnclosingScopes(targetRange);\n  const enclosingTextRange = getEnclosingTextRange(targetRange, sourceFile);\n  const readsAndWrites = collectReadsAndWrites(\n    targetRange,\n    scopes,\n    enclosingTextRange,\n    sourceFile,\n    context.program.getTypeChecker(),\n    context.cancellationToken\n  );\n  return { scopes, readsAndWrites };\n}\nfunction getDescriptionForFunctionInScope(scope) {\n  return isFunctionLikeDeclaration(scope) ? \"inner function\" : isClassLike(scope) ? \"method\" : \"function\";\n}\nfunction getDescriptionForConstantInScope(scope) {\n  return isClassLike(scope) ? \"readonly field\" : \"constant\";\n}\nfunction getDescriptionForFunctionLikeDeclaration(scope) {\n  switch (scope.kind) {\n    case 176 /* Constructor */:\n      return \"constructor\";\n    case 218 /* FunctionExpression */:\n    case 263 /* FunctionDeclaration */:\n      return scope.name ? `function '${scope.name.text}'` : ANONYMOUS;\n    case 219 /* ArrowFunction */:\n      return \"arrow function\";\n    case 174 /* MethodDeclaration */:\n      return `method '${scope.name.getText()}'`;\n    case 177 /* GetAccessor */:\n      return `'get ${scope.name.getText()}'`;\n    case 178 /* SetAccessor */:\n      return `'set ${scope.name.getText()}'`;\n    default:\n      throw Debug.assertNever(scope, `Unexpected scope kind ${scope.kind}`);\n  }\n}\nfunction getDescriptionForClassLikeDeclaration(scope) {\n  return scope.kind === 264 /* ClassDeclaration */ ? scope.name ? `class '${scope.name.text}'` : \"anonymous class declaration\" : scope.name ? `class expression '${scope.name.text}'` : \"anonymous class expression\";\n}\nfunction getDescriptionForModuleLikeDeclaration(scope) {\n  return scope.kind === 271 /* ModuleBlock */ ? `namespace '${scope.parent.name.getText()}'` : scope.externalModuleIndicator ? SpecialScope.Module : SpecialScope.Global;\n}\nvar SpecialScope = /* @__PURE__ */ ((SpecialScope2) => {\n  SpecialScope2[SpecialScope2[\"Module\"] = 0] = \"Module\";\n  SpecialScope2[SpecialScope2[\"Global\"] = 1] = \"Global\";\n  return SpecialScope2;\n})(SpecialScope || {});\nfunction extractFunctionInScope(node, scope, { usages: usagesInScope, typeParameterUsages, substitutions }, exposedVariableDeclarations, range, context) {\n  const checker = context.program.getTypeChecker();\n  const scriptTarget = getEmitScriptTarget(context.program.getCompilerOptions());\n  const importAdder = ts_codefix_exports.createImportAdder(context.file, context.program, context.preferences, context.host);\n  const file = scope.getSourceFile();\n  const functionNameText = getUniqueName(isClassLike(scope) ? \"newMethod\" : \"newFunction\", file);\n  const isJS = isInJSFile(scope);\n  const functionName = factory.createIdentifier(functionNameText);\n  let returnType;\n  const parameters = [];\n  const callArguments = [];\n  let writes;\n  usagesInScope.forEach((usage, name) => {\n    let typeNode;\n    if (!isJS) {\n      let type = checker.getTypeOfSymbolAtLocation(usage.symbol, usage.node);\n      type = checker.getBaseTypeOfLiteralType(type);\n      typeNode = ts_codefix_exports.typeToAutoImportableTypeNode(checker, importAdder, type, scope, scriptTarget, 1 /* NoTruncation */);\n    }\n    const paramDecl = factory.createParameterDeclaration(\n      void 0,\n      void 0,\n      name,\n      void 0,\n      typeNode\n    );\n    parameters.push(paramDecl);\n    if (usage.usage === Usage.Write) {\n      (writes || (writes = [])).push(usage);\n    }\n    callArguments.push(factory.createIdentifier(name));\n  });\n  const typeParametersAndDeclarations = arrayFrom(typeParameterUsages.values()).map((type) => ({ type, declaration: getFirstDeclaration(type) }));\n  const sortedTypeParametersAndDeclarations = typeParametersAndDeclarations.sort(compareTypesByDeclarationOrder);\n  const typeParameters = sortedTypeParametersAndDeclarations.length === 0 ? void 0 : sortedTypeParametersAndDeclarations.map((t) => t.declaration);\n  const callTypeArguments = typeParameters !== void 0 ? typeParameters.map((decl) => factory.createTypeReferenceNode(decl.name, void 0)) : void 0;\n  if (isExpression(node) && !isJS) {\n    const contextualType = checker.getContextualType(node);\n    returnType = checker.typeToTypeNode(contextualType, scope, 1 /* NoTruncation */);\n  }\n  const { body, returnValueProperty } = transformFunctionBody(node, exposedVariableDeclarations, writes, substitutions, !!(range.facts & 1 /* HasReturn */));\n  suppressLeadingAndTrailingTrivia(body);\n  let newFunction;\n  const callThis = !!(range.facts & 16 /* UsesThisInFunction */);\n  if (isClassLike(scope)) {\n    const modifiers = isJS ? [] : [factory.createModifier(122 /* PrivateKeyword */)];\n    if (range.facts & 32 /* InStaticRegion */) {\n      modifiers.push(factory.createModifier(125 /* StaticKeyword */));\n    }\n    if (range.facts & 4 /* IsAsyncFunction */) {\n      modifiers.push(factory.createModifier(133 /* AsyncKeyword */));\n    }\n    newFunction = factory.createMethodDeclaration(\n      modifiers.length ? modifiers : void 0,\n      range.facts & 2 /* IsGenerator */ ? factory.createToken(41 /* AsteriskToken */) : void 0,\n      functionName,\n      void 0,\n      typeParameters,\n      parameters,\n      returnType,\n      body\n    );\n  } else {\n    if (callThis) {\n      parameters.unshift(\n        factory.createParameterDeclaration(\n          void 0,\n          void 0,\n          \"this\",\n          void 0,\n          checker.typeToTypeNode(\n            checker.getTypeAtLocation(range.thisNode),\n            scope,\n            1 /* NoTruncation */\n          ),\n          void 0\n        )\n      );\n    }\n    newFunction = factory.createFunctionDeclaration(\n      range.facts & 4 /* IsAsyncFunction */ ? [factory.createToken(133 /* AsyncKeyword */)] : void 0,\n      range.facts & 2 /* IsGenerator */ ? factory.createToken(41 /* AsteriskToken */) : void 0,\n      functionName,\n      typeParameters,\n      parameters,\n      returnType,\n      body\n    );\n  }\n  const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext(context);\n  const minInsertionPos = (isReadonlyArray(range.range) ? last(range.range) : range.range).end;\n  const nodeToInsertBefore = getNodeToInsertFunctionBefore(minInsertionPos, scope);\n  if (nodeToInsertBefore) {\n    changeTracker.insertNodeBefore(context.file, nodeToInsertBefore, newFunction, true);\n  } else {\n    changeTracker.insertNodeAtEndOfScope(context.file, scope, newFunction);\n  }\n  importAdder.writeFixes(changeTracker);\n  const newNodes = [];\n  const called = getCalledExpression(scope, range, functionNameText);\n  if (callThis) {\n    callArguments.unshift(factory.createIdentifier(\"this\"));\n  }\n  let call = factory.createCallExpression(\n    callThis ? factory.createPropertyAccessExpression(\n      called,\n      \"call\"\n    ) : called,\n    callTypeArguments,\n    callArguments\n  );\n  if (range.facts & 2 /* IsGenerator */) {\n    call = factory.createYieldExpression(factory.createToken(41 /* AsteriskToken */), call);\n  }\n  if (range.facts & 4 /* IsAsyncFunction */) {\n    call = factory.createAwaitExpression(call);\n  }\n  if (isInJSXContent(node)) {\n    call = factory.createJsxExpression(void 0, call);\n  }\n  if (exposedVariableDeclarations.length && !writes) {\n    Debug.assert(!returnValueProperty, \"Expected no returnValueProperty\");\n    Debug.assert(!(range.facts & 1 /* HasReturn */), \"Expected RangeFacts.HasReturn flag to be unset\");\n    if (exposedVariableDeclarations.length === 1) {\n      const variableDeclaration = exposedVariableDeclarations[0];\n      newNodes.push(factory.createVariableStatement(\n        void 0,\n        factory.createVariableDeclarationList(\n          [factory.createVariableDeclaration(getSynthesizedDeepClone(variableDeclaration.name), void 0, getSynthesizedDeepClone(variableDeclaration.type), call)],\n          variableDeclaration.parent.flags\n        )\n      ));\n    } else {\n      const bindingElements = [];\n      const typeElements = [];\n      let commonNodeFlags = exposedVariableDeclarations[0].parent.flags;\n      let sawExplicitType = false;\n      for (const variableDeclaration of exposedVariableDeclarations) {\n        bindingElements.push(factory.createBindingElement(\n          void 0,\n          void 0,\n          getSynthesizedDeepClone(variableDeclaration.name)\n        ));\n        const variableType = checker.typeToTypeNode(\n          checker.getBaseTypeOfLiteralType(checker.getTypeAtLocation(variableDeclaration)),\n          scope,\n          1 /* NoTruncation */\n        );\n        typeElements.push(factory.createPropertySignature(\n          void 0,\n          variableDeclaration.symbol.name,\n          void 0,\n          variableType\n        ));\n        sawExplicitType = sawExplicitType || variableDeclaration.type !== void 0;\n        commonNodeFlags = commonNodeFlags & variableDeclaration.parent.flags;\n      }\n      const typeLiteral = sawExplicitType ? factory.createTypeLiteralNode(typeElements) : void 0;\n      if (typeLiteral) {\n        setEmitFlags(typeLiteral, 1 /* SingleLine */);\n      }\n      newNodes.push(factory.createVariableStatement(\n        void 0,\n        factory.createVariableDeclarationList(\n          [factory.createVariableDeclaration(\n            factory.createObjectBindingPattern(bindingElements),\n            void 0,\n            typeLiteral,\n            call\n          )],\n          commonNodeFlags\n        )\n      ));\n    }\n  } else if (exposedVariableDeclarations.length || writes) {\n    if (exposedVariableDeclarations.length) {\n      for (const variableDeclaration of exposedVariableDeclarations) {\n        let flags = variableDeclaration.parent.flags;\n        if (flags & 2 /* Const */) {\n          flags = flags & ~2 /* Const */ | 1 /* Let */;\n        }\n        newNodes.push(factory.createVariableStatement(\n          void 0,\n          factory.createVariableDeclarationList(\n            [factory.createVariableDeclaration(variableDeclaration.symbol.name, void 0, getTypeDeepCloneUnionUndefined(variableDeclaration.type))],\n            flags\n          )\n        ));\n      }\n    }\n    if (returnValueProperty) {\n      newNodes.push(factory.createVariableStatement(\n        void 0,\n        factory.createVariableDeclarationList(\n          [factory.createVariableDeclaration(returnValueProperty, void 0, getTypeDeepCloneUnionUndefined(returnType))],\n          1 /* Let */\n        )\n      ));\n    }\n    const assignments = getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes);\n    if (returnValueProperty) {\n      assignments.unshift(factory.createShorthandPropertyAssignment(returnValueProperty));\n    }\n    if (assignments.length === 1) {\n      Debug.assert(!returnValueProperty, \"Shouldn't have returnValueProperty here\");\n      newNodes.push(factory.createExpressionStatement(factory.createAssignment(assignments[0].name, call)));\n      if (range.facts & 1 /* HasReturn */) {\n        newNodes.push(factory.createReturnStatement());\n      }\n    } else {\n      newNodes.push(factory.createExpressionStatement(factory.createAssignment(factory.createObjectLiteralExpression(assignments), call)));\n      if (returnValueProperty) {\n        newNodes.push(factory.createReturnStatement(factory.createIdentifier(returnValueProperty)));\n      }\n    }\n  } else {\n    if (range.facts & 1 /* HasReturn */) {\n      newNodes.push(factory.createReturnStatement(call));\n    } else if (isReadonlyArray(range.range)) {\n      newNodes.push(factory.createExpressionStatement(call));\n    } else {\n      newNodes.push(call);\n    }\n  }\n  if (isReadonlyArray(range.range)) {\n    changeTracker.replaceNodeRangeWithNodes(context.file, first(range.range), last(range.range), newNodes);\n  } else {\n    changeTracker.replaceNodeWithNodes(context.file, range.range, newNodes);\n  }\n  const edits = changeTracker.getChanges();\n  const renameRange = isReadonlyArray(range.range) ? first(range.range) : range.range;\n  const renameFilename = renameRange.getSourceFile().fileName;\n  const renameLocation = getRenameLocation(edits, renameFilename, functionNameText, false);\n  return { renameFilename, renameLocation, edits };\n  function getTypeDeepCloneUnionUndefined(typeNode) {\n    if (typeNode === void 0) {\n      return void 0;\n    }\n    const clone2 = getSynthesizedDeepClone(typeNode);\n    let withoutParens = clone2;\n    while (isParenthesizedTypeNode(withoutParens)) {\n      withoutParens = withoutParens.type;\n    }\n    return isUnionTypeNode(withoutParens) && find(withoutParens.types, (t) => t.kind === 157 /* UndefinedKeyword */) ? clone2 : factory.createUnionTypeNode([clone2, factory.createKeywordTypeNode(157 /* UndefinedKeyword */)]);\n  }\n}\nfunction extractConstantInScope(node, scope, { substitutions }, rangeFacts, context) {\n  const checker = context.program.getTypeChecker();\n  const file = scope.getSourceFile();\n  const localNameText = isPropertyAccessExpression(node) && !isClassLike(scope) && !checker.resolveName(node.name.text, node, 111551 /* Value */, false) && !isPrivateIdentifier(node.name) && !isKeyword(node.name.originalKeywordKind) ? node.name.text : getUniqueName(isClassLike(scope) ? \"newProperty\" : \"newLocal\", file);\n  const isJS = isInJSFile(scope);\n  let variableType = isJS || !checker.isContextSensitive(node) ? void 0 : checker.typeToTypeNode(checker.getContextualType(node), scope, 1 /* NoTruncation */);\n  let initializer = transformConstantInitializer(skipParentheses(node), substitutions);\n  ({ variableType, initializer } = transformFunctionInitializerAndType(variableType, initializer));\n  suppressLeadingAndTrailingTrivia(initializer);\n  const changeTracker = ts_textChanges_exports.ChangeTracker.fromContext(context);\n  if (isClassLike(scope)) {\n    Debug.assert(!isJS, \"Cannot extract to a JS class\");\n    const modifiers = [];\n    modifiers.push(factory.createModifier(122 /* PrivateKeyword */));\n    if (rangeFacts & 32 /* InStaticRegion */) {\n      modifiers.push(factory.createModifier(125 /* StaticKeyword */));\n    }\n    modifiers.push(factory.createModifier(147 /* ReadonlyKeyword */));\n    const newVariable = factory.createPropertyDeclaration(\n      modifiers,\n      localNameText,\n      void 0,\n      variableType,\n      initializer\n    );\n    let localReference = factory.createPropertyAccessExpression(\n      rangeFacts & 32 /* InStaticRegion */ ? factory.createIdentifier(scope.name.getText()) : factory.createThis(),\n      factory.createIdentifier(localNameText)\n    );\n    if (isInJSXContent(node)) {\n      localReference = factory.createJsxExpression(void 0, localReference);\n    }\n    const maxInsertionPos = node.pos;\n    const nodeToInsertBefore = getNodeToInsertPropertyBefore(maxInsertionPos, scope);\n    changeTracker.insertNodeBefore(context.file, nodeToInsertBefore, newVariable, true);\n    changeTracker.replaceNode(context.file, node, localReference);\n  } else {\n    const newVariableDeclaration = factory.createVariableDeclaration(localNameText, void 0, variableType, initializer);\n    const oldVariableDeclaration = getContainingVariableDeclarationIfInList(node, scope);\n    if (oldVariableDeclaration) {\n      changeTracker.insertNodeBefore(context.file, oldVariableDeclaration, newVariableDeclaration);\n      const localReference = factory.createIdentifier(localNameText);\n      changeTracker.replaceNode(context.file, node, localReference);\n    } else if (node.parent.kind === 245 /* ExpressionStatement */ && scope === findAncestor(node, isScope)) {\n      const newVariableStatement = factory.createVariableStatement(\n        void 0,\n        factory.createVariableDeclarationList([newVariableDeclaration], 2 /* Const */)\n      );\n      changeTracker.replaceNode(context.file, node.parent, newVariableStatement);\n    } else {\n      const newVariableStatement = factory.createVariableStatement(\n        void 0,\n        factory.createVariableDeclarationList([newVariableDeclaration], 2 /* Const */)\n      );\n      const nodeToInsertBefore = getNodeToInsertConstantBefore(node, scope);\n      if (nodeToInsertBefore.pos === 0) {\n        changeTracker.insertNodeAtTopOfFile(context.file, newVariableStatement, false);\n      } else {\n        changeTracker.insertNodeBefore(context.file, nodeToInsertBefore, newVariableStatement, false);\n      }\n      if (node.parent.kind === 245 /* ExpressionStatement */) {\n        changeTracker.delete(context.file, node.parent);\n      } else {\n        let localReference = factory.createIdentifier(localNameText);\n        if (isInJSXContent(node)) {\n          localReference = factory.createJsxExpression(void 0, localReference);\n        }\n        changeTracker.replaceNode(context.file, node, localReference);\n      }\n    }\n  }\n  const edits = changeTracker.getChanges();\n  const renameFilename = node.getSourceFile().fileName;\n  const renameLocation = getRenameLocation(edits, renameFilename, localNameText, true);\n  return { renameFilename, renameLocation, edits };\n  function transformFunctionInitializerAndType(variableType2, initializer2) {\n    if (variableType2 === void 0)\n      return { variableType: variableType2, initializer: initializer2 };\n    if (!isFunctionExpression(initializer2) && !isArrowFunction(initializer2) || !!initializer2.typeParameters)\n      return { variableType: variableType2, initializer: initializer2 };\n    const functionType = checker.getTypeAtLocation(node);\n    const functionSignature = singleOrUndefined(checker.getSignaturesOfType(functionType, 0 /* Call */));\n    if (!functionSignature)\n      return { variableType: variableType2, initializer: initializer2 };\n    if (!!functionSignature.getTypeParameters())\n      return { variableType: variableType2, initializer: initializer2 };\n    const parameters = [];\n    let hasAny = false;\n    for (const p of initializer2.parameters) {\n      if (p.type) {\n        parameters.push(p);\n      } else {\n        const paramType = checker.getTypeAtLocation(p);\n        if (paramType === checker.getAnyType())\n          hasAny = true;\n        parameters.push(factory.updateParameterDeclaration(\n          p,\n          p.modifiers,\n          p.dotDotDotToken,\n          p.name,\n          p.questionToken,\n          p.type || checker.typeToTypeNode(paramType, scope, 1 /* NoTruncation */),\n          p.initializer\n        ));\n      }\n    }\n    if (hasAny)\n      return { variableType: variableType2, initializer: initializer2 };\n    variableType2 = void 0;\n    if (isArrowFunction(initializer2)) {\n      initializer2 = factory.updateArrowFunction(\n        initializer2,\n        canHaveModifiers(node) ? getModifiers(node) : void 0,\n        initializer2.typeParameters,\n        parameters,\n        initializer2.type || checker.typeToTypeNode(functionSignature.getReturnType(), scope, 1 /* NoTruncation */),\n        initializer2.equalsGreaterThanToken,\n        initializer2.body\n      );\n    } else {\n      if (functionSignature && !!functionSignature.thisParameter) {\n        const firstParameter = firstOrUndefined(parameters);\n        if (!firstParameter || isIdentifier(firstParameter.name) && firstParameter.name.escapedText !== \"this\") {\n          const thisType = checker.getTypeOfSymbolAtLocation(functionSignature.thisParameter, node);\n          parameters.splice(0, 0, factory.createParameterDeclaration(\n            void 0,\n            void 0,\n            \"this\",\n            void 0,\n            checker.typeToTypeNode(thisType, scope, 1 /* NoTruncation */)\n          ));\n        }\n      }\n      initializer2 = factory.updateFunctionExpression(\n        initializer2,\n        canHaveModifiers(node) ? getModifiers(node) : void 0,\n        initializer2.asteriskToken,\n        initializer2.name,\n        initializer2.typeParameters,\n        parameters,\n        initializer2.type || checker.typeToTypeNode(functionSignature.getReturnType(), scope, 1 /* NoTruncation */),\n        initializer2.body\n      );\n    }\n    return { variableType: variableType2, initializer: initializer2 };\n  }\n}\nfunction getContainingVariableDeclarationIfInList(node, scope) {\n  let prevNode;\n  while (node !== void 0 && node !== scope) {\n    if (isVariableDeclaration(node) && node.initializer === prevNode && isVariableDeclarationList(node.parent) && node.parent.declarations.length > 1) {\n      return node;\n    }\n    prevNode = node;\n    node = node.parent;\n  }\n}\nfunction getFirstDeclaration(type) {\n  let firstDeclaration;\n  const symbol = type.symbol;\n  if (symbol && symbol.declarations) {\n    for (const declaration of symbol.declarations) {\n      if (firstDeclaration === void 0 || declaration.pos < firstDeclaration.pos) {\n        firstDeclaration = declaration;\n      }\n    }\n  }\n  return firstDeclaration;\n}\nfunction compareTypesByDeclarationOrder({ type: type1, declaration: declaration1 }, { type: type2, declaration: declaration2 }) {\n  return compareProperties(declaration1, declaration2, \"pos\", compareValues) || compareStringsCaseSensitive(\n    type1.symbol ? type1.symbol.getName() : \"\",\n    type2.symbol ? type2.symbol.getName() : \"\"\n  ) || compareValues(type1.id, type2.id);\n}\nfunction getCalledExpression(scope, range, functionNameText) {\n  const functionReference = factory.createIdentifier(functionNameText);\n  if (isClassLike(scope)) {\n    const lhs = range.facts & 32 /* InStaticRegion */ ? factory.createIdentifier(scope.name.text) : factory.createThis();\n    return factory.createPropertyAccessExpression(lhs, functionReference);\n  } else {\n    return functionReference;\n  }\n}\nfunction transformFunctionBody(body, exposedVariableDeclarations, writes, substitutions, hasReturn2) {\n  const hasWritesOrVariableDeclarations = writes !== void 0 || exposedVariableDeclarations.length > 0;\n  if (isBlock(body) && !hasWritesOrVariableDeclarations && substitutions.size === 0) {\n    return { body: factory.createBlock(body.statements, true), returnValueProperty: void 0 };\n  }\n  let returnValueProperty;\n  let ignoreReturns = false;\n  const statements = factory.createNodeArray(isBlock(body) ? body.statements.slice(0) : [isStatement(body) ? body : factory.createReturnStatement(skipParentheses(body))]);\n  if (hasWritesOrVariableDeclarations || substitutions.size) {\n    const rewrittenStatements = visitNodes2(statements, visitor).slice();\n    if (hasWritesOrVariableDeclarations && !hasReturn2 && isStatement(body)) {\n      const assignments = getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes);\n      if (assignments.length === 1) {\n        rewrittenStatements.push(factory.createReturnStatement(assignments[0].name));\n      } else {\n        rewrittenStatements.push(factory.createReturnStatement(factory.createObjectLiteralExpression(assignments)));\n      }\n    }\n    return { body: factory.createBlock(rewrittenStatements, true), returnValueProperty };\n  } else {\n    return { body: factory.createBlock(statements, true), returnValueProperty: void 0 };\n  }\n  function visitor(node) {\n    if (!ignoreReturns && isReturnStatement(node) && hasWritesOrVariableDeclarations) {\n      const assignments = getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes);\n      if (node.expression) {\n        if (!returnValueProperty) {\n          returnValueProperty = \"__return\";\n        }\n        assignments.unshift(factory.createPropertyAssignment(returnValueProperty, visitNode(node.expression, visitor)));\n      }\n      if (assignments.length === 1) {\n        return factory.createReturnStatement(assignments[0].name);\n      } else {\n        return factory.createReturnStatement(factory.createObjectLiteralExpression(assignments));\n      }\n    } else {\n      const oldIgnoreReturns = ignoreReturns;\n      ignoreReturns = ignoreReturns || isFunctionLikeDeclaration(node) || isClassLike(node);\n      const substitution = substitutions.get(getNodeId(node).toString());\n      const result = substitution ? getSynthesizedDeepClone(substitution) : visitEachChild(node, visitor, nullTransformationContext);\n      ignoreReturns = oldIgnoreReturns;\n      return result;\n    }\n  }\n}\nfunction transformConstantInitializer(initializer, substitutions) {\n  return substitutions.size ? visitor(initializer) : initializer;\n  function visitor(node) {\n    const substitution = substitutions.get(getNodeId(node).toString());\n    return substitution ? getSynthesizedDeepClone(substitution) : visitEachChild(node, visitor, nullTransformationContext);\n  }\n}\nfunction getStatementsOrClassElements(scope) {\n  if (isFunctionLikeDeclaration(scope)) {\n    const body = scope.body;\n    if (isBlock(body)) {\n      return body.statements;\n    }\n  } else if (isModuleBlock(scope) || isSourceFile(scope)) {\n    return scope.statements;\n  } else if (isClassLike(scope)) {\n    return scope.members;\n  } else {\n    assertType(scope);\n  }\n  return emptyArray;\n}\nfunction getNodeToInsertFunctionBefore(minPos, scope) {\n  return find(getStatementsOrClassElements(scope), (child) => child.pos >= minPos && isFunctionLikeDeclaration(child) && !isConstructorDeclaration(child));\n}\nfunction getNodeToInsertPropertyBefore(maxPos, scope) {\n  const members = scope.members;\n  Debug.assert(members.length > 0, \"Found no members\");\n  let prevMember;\n  let allProperties = true;\n  for (const member of members) {\n    if (member.pos > maxPos) {\n      return prevMember || members[0];\n    }\n    if (allProperties && !isPropertyDeclaration(member)) {\n      if (prevMember !== void 0) {\n        return member;\n      }\n      allProperties = false;\n    }\n    prevMember = member;\n  }\n  if (prevMember === void 0)\n    return Debug.fail();\n  return prevMember;\n}\nfunction getNodeToInsertConstantBefore(node, scope) {\n  Debug.assert(!isClassLike(scope));\n  let prevScope;\n  for (let curr = node; curr !== scope; curr = curr.parent) {\n    if (isScope(curr)) {\n      prevScope = curr;\n    }\n  }\n  for (let curr = (prevScope || node).parent; ; curr = curr.parent) {\n    if (isBlockLike(curr)) {\n      let prevStatement;\n      for (const statement of curr.statements) {\n        if (statement.pos > node.pos) {\n          break;\n        }\n        prevStatement = statement;\n      }\n      if (!prevStatement && isCaseClause(curr)) {\n        Debug.assert(isSwitchStatement(curr.parent.parent), \"Grandparent isn't a switch statement\");\n        return curr.parent.parent;\n      }\n      return Debug.checkDefined(prevStatement, \"prevStatement failed to get set\");\n    }\n    Debug.assert(curr !== scope, \"Didn't encounter a block-like before encountering scope\");\n  }\n}\nfunction getPropertyAssignmentsForWritesAndVariableDeclarations(exposedVariableDeclarations, writes) {\n  const variableAssignments = map(exposedVariableDeclarations, (v) => factory.createShorthandPropertyAssignment(v.symbol.name));\n  const writeAssignments = map(writes, (w) => factory.createShorthandPropertyAssignment(w.symbol.name));\n  return variableAssignments === void 0 ? writeAssignments : writeAssignments === void 0 ? variableAssignments : variableAssignments.concat(writeAssignments);\n}\nfunction isReadonlyArray(v) {\n  return isArray(v);\n}\nfunction getEnclosingTextRange(targetRange, sourceFile) {\n  return isReadonlyArray(targetRange.range) ? { pos: first(targetRange.range).getStart(sourceFile), end: last(targetRange.range).getEnd() } : targetRange.range;\n}\nvar Usage = /* @__PURE__ */ ((Usage2) => {\n  Usage2[Usage2[\"Read\"] = 1] = \"Read\";\n  Usage2[Usage2[\"Write\"] = 2] = \"Write\";\n  return Usage2;\n})(Usage || {});\nfunction collectReadsAndWrites(targetRange, scopes, enclosingTextRange, sourceFile, checker, cancellationToken) {\n  const allTypeParameterUsages = new Map2();\n  const usagesPerScope = [];\n  const substitutionsPerScope = [];\n  const functionErrorsPerScope = [];\n  const constantErrorsPerScope = [];\n  const visibleDeclarationsInExtractedRange = [];\n  const exposedVariableSymbolSet = new Map2();\n  const exposedVariableDeclarations = [];\n  let firstExposedNonVariableDeclaration;\n  const expression = !isReadonlyArray(targetRange.range) ? targetRange.range : targetRange.range.length === 1 && isExpressionStatement(targetRange.range[0]) ? targetRange.range[0].expression : void 0;\n  let expressionDiagnostic;\n  if (expression === void 0) {\n    const statements = targetRange.range;\n    const start = first(statements).getStart();\n    const end = last(statements).end;\n    expressionDiagnostic = createFileDiagnostic(sourceFile, start, end - start, Messages.expressionExpected);\n  } else if (checker.getTypeAtLocation(expression).flags & (16384 /* Void */ | 131072 /* Never */)) {\n    expressionDiagnostic = createDiagnosticForNode(expression, Messages.uselessConstantType);\n  }\n  for (const scope of scopes) {\n    usagesPerScope.push({ usages: new Map2(), typeParameterUsages: new Map2(), substitutions: new Map2() });\n    substitutionsPerScope.push(new Map2());\n    functionErrorsPerScope.push([]);\n    const constantErrors = [];\n    if (expressionDiagnostic) {\n      constantErrors.push(expressionDiagnostic);\n    }\n    if (isClassLike(scope) && isInJSFile(scope)) {\n      constantErrors.push(createDiagnosticForNode(scope, Messages.cannotExtractToJSClass));\n    }\n    if (isArrowFunction(scope) && !isBlock(scope.body)) {\n      constantErrors.push(createDiagnosticForNode(scope, Messages.cannotExtractToExpressionArrowFunction));\n    }\n    constantErrorsPerScope.push(constantErrors);\n  }\n  const seenUsages = new Map2();\n  const target = isReadonlyArray(targetRange.range) ? factory.createBlock(targetRange.range) : targetRange.range;\n  const unmodifiedNode = isReadonlyArray(targetRange.range) ? first(targetRange.range) : targetRange.range;\n  const inGenericContext = isInGenericContext(unmodifiedNode);\n  collectUsages(target);\n  if (inGenericContext && !isReadonlyArray(targetRange.range) && !isJsxAttribute(targetRange.range)) {\n    const contextualType = checker.getContextualType(targetRange.range);\n    recordTypeParameterUsages(contextualType);\n  }\n  if (allTypeParameterUsages.size > 0) {\n    const seenTypeParameterUsages = new Map2();\n    let i = 0;\n    for (let curr = unmodifiedNode; curr !== void 0 && i < scopes.length; curr = curr.parent) {\n      if (curr === scopes[i]) {\n        seenTypeParameterUsages.forEach((typeParameter, id) => {\n          usagesPerScope[i].typeParameterUsages.set(id, typeParameter);\n        });\n        i++;\n      }\n      if (isDeclarationWithTypeParameters(curr)) {\n        for (const typeParameterDecl of getEffectiveTypeParameterDeclarations(curr)) {\n          const typeParameter = checker.getTypeAtLocation(typeParameterDecl);\n          if (allTypeParameterUsages.has(typeParameter.id.toString())) {\n            seenTypeParameterUsages.set(typeParameter.id.toString(), typeParameter);\n          }\n        }\n      }\n    }\n    Debug.assert(i === scopes.length, \"Should have iterated all scopes\");\n  }\n  if (visibleDeclarationsInExtractedRange.length) {\n    const containingLexicalScopeOfExtraction = isBlockScope(scopes[0], scopes[0].parent) ? scopes[0] : getEnclosingBlockScopeContainer(scopes[0]);\n    forEachChild(containingLexicalScopeOfExtraction, checkForUsedDeclarations);\n  }\n  for (let i = 0; i < scopes.length; i++) {\n    const scopeUsages = usagesPerScope[i];\n    if (i > 0 && (scopeUsages.usages.size > 0 || scopeUsages.typeParameterUsages.size > 0)) {\n      const errorNode = isReadonlyArray(targetRange.range) ? targetRange.range[0] : targetRange.range;\n      constantErrorsPerScope[i].push(createDiagnosticForNode(errorNode, Messages.cannotAccessVariablesFromNestedScopes));\n    }\n    if (targetRange.facts & 16 /* UsesThisInFunction */ && isClassLike(scopes[i])) {\n      functionErrorsPerScope[i].push(createDiagnosticForNode(targetRange.thisNode, Messages.cannotExtractFunctionsContainingThisToMethod));\n    }\n    let hasWrite = false;\n    let readonlyClassPropertyWrite;\n    usagesPerScope[i].usages.forEach((value) => {\n      if (value.usage === 2 /* Write */) {\n        hasWrite = true;\n        if (value.symbol.flags & 106500 /* ClassMember */ && value.symbol.valueDeclaration && hasEffectiveModifier(value.symbol.valueDeclaration, 64 /* Readonly */)) {\n          readonlyClassPropertyWrite = value.symbol.valueDeclaration;\n        }\n      }\n    });\n    Debug.assert(isReadonlyArray(targetRange.range) || exposedVariableDeclarations.length === 0, \"No variable declarations expected if something was extracted\");\n    if (hasWrite && !isReadonlyArray(targetRange.range)) {\n      const diag2 = createDiagnosticForNode(targetRange.range, Messages.cannotWriteInExpression);\n      functionErrorsPerScope[i].push(diag2);\n      constantErrorsPerScope[i].push(diag2);\n    } else if (readonlyClassPropertyWrite && i > 0) {\n      const diag2 = createDiagnosticForNode(readonlyClassPropertyWrite, Messages.cannotExtractReadonlyPropertyInitializerOutsideConstructor);\n      functionErrorsPerScope[i].push(diag2);\n      constantErrorsPerScope[i].push(diag2);\n    } else if (firstExposedNonVariableDeclaration) {\n      const diag2 = createDiagnosticForNode(firstExposedNonVariableDeclaration, Messages.cannotExtractExportedEntity);\n      functionErrorsPerScope[i].push(diag2);\n      constantErrorsPerScope[i].push(diag2);\n    }\n  }\n  return { target, usagesPerScope, functionErrorsPerScope, constantErrorsPerScope, exposedVariableDeclarations };\n  function isInGenericContext(node) {\n    return !!findAncestor(node, (n) => isDeclarationWithTypeParameters(n) && getEffectiveTypeParameterDeclarations(n).length !== 0);\n  }\n  function recordTypeParameterUsages(type) {\n    const symbolWalker = checker.getSymbolWalker(() => (cancellationToken.throwIfCancellationRequested(), true));\n    const { visitedTypes } = symbolWalker.walkType(type);\n    for (const visitedType of visitedTypes) {\n      if (visitedType.isTypeParameter()) {\n        allTypeParameterUsages.set(visitedType.id.toString(), visitedType);\n      }\n    }\n  }\n  function collectUsages(node, valueUsage = 1 /* Read */) {\n    if (inGenericContext) {\n      const type = checker.getTypeAtLocation(node);\n      recordTypeParameterUsages(type);\n    }\n    if (isDeclaration(node) && node.symbol) {\n      visibleDeclarationsInExtractedRange.push(node);\n    }\n    if (isAssignmentExpression(node)) {\n      collectUsages(node.left, 2 /* Write */);\n      collectUsages(node.right);\n    } else if (isUnaryExpressionWithWrite(node)) {\n      collectUsages(node.operand, 2 /* Write */);\n    } else if (isPropertyAccessExpression(node) || isElementAccessExpression(node)) {\n      forEachChild(node, collectUsages);\n    } else if (isIdentifier(node)) {\n      if (!node.parent) {\n        return;\n      }\n      if (isQualifiedName(node.parent) && node !== node.parent.left) {\n        return;\n      }\n      if (isPropertyAccessExpression(node.parent) && node !== node.parent.expression) {\n        return;\n      }\n      recordUsage(node, valueUsage, isPartOfTypeNode(node));\n    } else {\n      forEachChild(node, collectUsages);\n    }\n  }\n  function recordUsage(n, usage, isTypeNode2) {\n    const symbolId = recordUsagebySymbol(n, usage, isTypeNode2);\n    if (symbolId) {\n      for (let i = 0; i < scopes.length; i++) {\n        const substitution = substitutionsPerScope[i].get(symbolId);\n        if (substitution) {\n          usagesPerScope[i].substitutions.set(getNodeId(n).toString(), substitution);\n        }\n      }\n    }\n  }\n  function recordUsagebySymbol(identifier, usage, isTypeName) {\n    const symbol = getSymbolReferencedByIdentifier(identifier);\n    if (!symbol) {\n      return void 0;\n    }\n    const symbolId = getSymbolId(symbol).toString();\n    const lastUsage = seenUsages.get(symbolId);\n    if (lastUsage && lastUsage >= usage) {\n      return symbolId;\n    }\n    seenUsages.set(symbolId, usage);\n    if (lastUsage) {\n      for (const perScope of usagesPerScope) {\n        const prevEntry = perScope.usages.get(identifier.text);\n        if (prevEntry) {\n          perScope.usages.set(identifier.text, { usage, symbol, node: identifier });\n        }\n      }\n      return symbolId;\n    }\n    const decls = symbol.getDeclarations();\n    const declInFile = decls && find(decls, (d) => d.getSourceFile() === sourceFile);\n    if (!declInFile) {\n      return void 0;\n    }\n    if (rangeContainsStartEnd(enclosingTextRange, declInFile.getStart(), declInFile.end)) {\n      return void 0;\n    }\n    if (targetRange.facts & 2 /* IsGenerator */ && usage === 2 /* Write */) {\n      const diag2 = createDiagnosticForNode(identifier, Messages.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);\n      for (const errors of functionErrorsPerScope) {\n        errors.push(diag2);\n      }\n      for (const errors of constantErrorsPerScope) {\n        errors.push(diag2);\n      }\n    }\n    for (let i = 0; i < scopes.length; i++) {\n      const scope = scopes[i];\n      const resolvedSymbol = checker.resolveName(symbol.name, scope, symbol.flags, false);\n      if (resolvedSymbol === symbol) {\n        continue;\n      }\n      if (!substitutionsPerScope[i].has(symbolId)) {\n        const substitution = tryReplaceWithQualifiedNameOrPropertyAccess(symbol.exportSymbol || symbol, scope, isTypeName);\n        if (substitution) {\n          substitutionsPerScope[i].set(symbolId, substitution);\n        } else if (isTypeName) {\n          if (!(symbol.flags & 262144 /* TypeParameter */)) {\n            const diag2 = createDiagnosticForNode(identifier, Messages.typeWillNotBeVisibleInTheNewScope);\n            functionErrorsPerScope[i].push(diag2);\n            constantErrorsPerScope[i].push(diag2);\n          }\n        } else {\n          usagesPerScope[i].usages.set(identifier.text, { usage, symbol, node: identifier });\n        }\n      }\n    }\n    return symbolId;\n  }\n  function checkForUsedDeclarations(node) {\n    if (node === targetRange.range || isReadonlyArray(targetRange.range) && targetRange.range.indexOf(node) >= 0) {\n      return;\n    }\n    const sym = isIdentifier(node) ? getSymbolReferencedByIdentifier(node) : checker.getSymbolAtLocation(node);\n    if (sym) {\n      const decl = find(visibleDeclarationsInExtractedRange, (d) => d.symbol === sym);\n      if (decl) {\n        if (isVariableDeclaration(decl)) {\n          const idString = decl.symbol.id.toString();\n          if (!exposedVariableSymbolSet.has(idString)) {\n            exposedVariableDeclarations.push(decl);\n            exposedVariableSymbolSet.set(idString, true);\n          }\n        } else {\n          firstExposedNonVariableDeclaration = firstExposedNonVariableDeclaration || decl;\n        }\n      }\n    }\n    forEachChild(node, checkForUsedDeclarations);\n  }\n  function getSymbolReferencedByIdentifier(identifier) {\n    return identifier.parent && isShorthandPropertyAssignment(identifier.parent) && identifier.parent.name === identifier ? checker.getShorthandAssignmentValueSymbol(identifier.parent) : checker.getSymbolAtLocation(identifier);\n  }\n  function tryReplaceWithQualifiedNameOrPropertyAccess(symbol, scopeDecl, isTypeNode2) {\n    if (!symbol) {\n      return void 0;\n    }\n    const decls = symbol.getDeclarations();\n    if (decls && decls.some((d) => d.parent === scopeDecl)) {\n      return factory.createIdentifier(symbol.name);\n    }\n    const prefix = tryReplaceWithQualifiedNameOrPropertyAccess(symbol.parent, scopeDecl, isTypeNode2);\n    if (prefix === void 0) {\n      return void 0;\n    }\n    return isTypeNode2 ? factory.createQualifiedName(prefix, factory.createIdentifier(symbol.name)) : factory.createPropertyAccessExpression(prefix, symbol.name);\n  }\n}\nfunction getExtractableParent(node) {\n  return findAncestor(node, (node2) => node2.parent && isExtractableExpression(node2) && !isBinaryExpression(node2.parent));\n}\nfunction isExtractableExpression(node) {\n  const { parent: parent2 } = node;\n  switch (parent2.kind) {\n    case 308 /* EnumMember */:\n      return false;\n  }\n  switch (node.kind) {\n    case 10 /* StringLiteral */:\n      return parent2.kind !== 275 /* ImportDeclaration */ && parent2.kind !== 279 /* ImportSpecifier */;\n    case 231 /* SpreadElement */:\n    case 206 /* ObjectBindingPattern */:\n    case 208 /* BindingElement */:\n      return false;\n    case 79 /* Identifier */:\n      return parent2.kind !== 208 /* BindingElement */ && parent2.kind !== 279 /* ImportSpecifier */ && parent2.kind !== 284 /* ExportSpecifier */;\n  }\n  return true;\n}\nfunction isBlockLike(node) {\n  switch (node.kind) {\n    case 242 /* Block */:\n    case 314 /* SourceFile */:\n    case 271 /* ModuleBlock */:\n    case 298 /* CaseClause */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isInJSXContent(node) {\n  return isStringLiteralJsxAttribute(node) || (isJsxElement(node) || isJsxSelfClosingElement(node) || isJsxFragment(node)) && (isJsxElement(node.parent) || isJsxFragment(node.parent));\n}\nfunction isStringLiteralJsxAttribute(node) {\n  return isStringLiteral(node) && node.parent && isJsxAttribute(node.parent);\n}\n\n// src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts\nvar ts_refactor_generateGetAccessorAndSetAccessor_exports = {};\n\n// src/services/refactors/generateGetAccessorAndSetAccessor.ts\nvar actionName = \"Generate 'get' and 'set' accessors\";\nvar actionDescription = Diagnostics.Generate_get_and_set_accessors.message;\nvar generateGetSetAction = {\n  name: actionName,\n  description: actionDescription,\n  kind: \"refactor.rewrite.property.generateAccessors\"\n};\nregisterRefactor(actionName, {\n  kinds: [generateGetSetAction.kind],\n  getEditsForAction: function getRefactorActionsToGenerateGetAndSetAccessors(context, actionName2) {\n    if (!context.endPosition)\n      return void 0;\n    const info = ts_codefix_exports.getAccessorConvertiblePropertyAtPosition(context.file, context.program, context.startPosition, context.endPosition);\n    Debug.assert(info && !isRefactorErrorInfo(info), \"Expected applicable refactor info\");\n    const edits = ts_codefix_exports.generateAccessorFromProperty(context.file, context.program, context.startPosition, context.endPosition, context, actionName2);\n    if (!edits)\n      return void 0;\n    const renameFilename = context.file.fileName;\n    const nameNeedRename = info.renameAccessor ? info.accessorName : info.fieldName;\n    const renameLocationOffset = isIdentifier(nameNeedRename) ? 0 : -1;\n    const renameLocation = renameLocationOffset + getRenameLocation(edits, renameFilename, nameNeedRename.text, isParameter(info.declaration));\n    return { renameFilename, renameLocation, edits };\n  },\n  getAvailableActions(context) {\n    if (!context.endPosition)\n      return emptyArray;\n    const info = ts_codefix_exports.getAccessorConvertiblePropertyAtPosition(context.file, context.program, context.startPosition, context.endPosition, context.triggerReason === \"invoked\");\n    if (!info)\n      return emptyArray;\n    if (!isRefactorErrorInfo(info)) {\n      return [{\n        name: actionName,\n        description: actionDescription,\n        actions: [generateGetSetAction]\n      }];\n    }\n    if (context.preferences.provideRefactorNotApplicableReason) {\n      return [{\n        name: actionName,\n        description: actionDescription,\n        actions: [{ ...generateGetSetAction, notApplicableReason: info.error }]\n      }];\n    }\n    return emptyArray;\n  }\n});\n\n// src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts\nvar ts_refactor_inferFunctionReturnType_exports = {};\n\n// src/services/refactors/inferFunctionReturnType.ts\nvar refactorName12 = \"Infer function return type\";\nvar refactorDescription6 = Diagnostics.Infer_function_return_type.message;\nvar inferReturnTypeAction = {\n  name: refactorName12,\n  description: refactorDescription6,\n  kind: \"refactor.rewrite.function.returnType\"\n};\nregisterRefactor(refactorName12, {\n  kinds: [inferReturnTypeAction.kind],\n  getEditsForAction: getRefactorEditsToInferReturnType,\n  getAvailableActions: getRefactorActionsToInferReturnType\n});\nfunction getRefactorEditsToInferReturnType(context) {\n  const info = getInfo21(context);\n  if (info && !isRefactorErrorInfo(info)) {\n    const edits = ts_textChanges_exports.ChangeTracker.with(context, (t) => doChange38(context.file, t, info.declaration, info.returnTypeNode));\n    return { renameFilename: void 0, renameLocation: void 0, edits };\n  }\n  return void 0;\n}\nfunction getRefactorActionsToInferReturnType(context) {\n  const info = getInfo21(context);\n  if (!info)\n    return emptyArray;\n  if (!isRefactorErrorInfo(info)) {\n    return [{\n      name: refactorName12,\n      description: refactorDescription6,\n      actions: [inferReturnTypeAction]\n    }];\n  }\n  if (context.preferences.provideRefactorNotApplicableReason) {\n    return [{\n      name: refactorName12,\n      description: refactorDescription6,\n      actions: [{ ...inferReturnTypeAction, notApplicableReason: info.error }]\n    }];\n  }\n  return emptyArray;\n}\nfunction doChange38(sourceFile, changes, declaration, typeNode) {\n  const closeParen = findChildOfKind(declaration, 21 /* CloseParenToken */, sourceFile);\n  const needParens = isArrowFunction(declaration) && closeParen === void 0;\n  const endNode2 = needParens ? first(declaration.parameters) : closeParen;\n  if (endNode2) {\n    if (needParens) {\n      changes.insertNodeBefore(sourceFile, endNode2, factory.createToken(20 /* OpenParenToken */));\n      changes.insertNodeAfter(sourceFile, endNode2, factory.createToken(21 /* CloseParenToken */));\n    }\n    changes.insertNodeAt(sourceFile, endNode2.end, typeNode, { prefix: \": \" });\n  }\n}\nfunction getInfo21(context) {\n  if (isInJSFile(context.file) || !refactorKindBeginsWith(inferReturnTypeAction.kind, context.kind))\n    return;\n  const token = getTokenAtPosition(context.file, context.startPosition);\n  const declaration = findAncestor(token, (n) => isBlock(n) || n.parent && isArrowFunction(n.parent) && (n.kind === 38 /* EqualsGreaterThanToken */ || n.parent.body === n) ? \"quit\" : isConvertibleDeclaration(n));\n  if (!declaration || !declaration.body || declaration.type) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Return_type_must_be_inferred_from_a_function) };\n  }\n  const typeChecker3 = context.program.getTypeChecker();\n  const returnType = tryGetReturnType(typeChecker3, declaration);\n  if (!returnType) {\n    return { error: getLocaleSpecificMessage(Diagnostics.Could_not_determine_function_return_type) };\n  }\n  const returnTypeNode = typeChecker3.typeToTypeNode(returnType, declaration, 1 /* NoTruncation */);\n  if (returnTypeNode) {\n    return { declaration, returnTypeNode };\n  }\n}\nfunction isConvertibleDeclaration(node) {\n  switch (node.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 174 /* MethodDeclaration */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction tryGetReturnType(typeChecker3, node) {\n  if (typeChecker3.isImplementationOfOverload(node)) {\n    const signatures = typeChecker3.getTypeAtLocation(node).getCallSignatures();\n    if (signatures.length > 1) {\n      return typeChecker3.getUnionType(mapDefined(signatures, (s) => s.getReturnType()));\n    }\n  }\n  const signature = typeChecker3.getSignatureFromDeclaration(node);\n  if (signature) {\n    return typeChecker3.getReturnTypeOfSignature(signature);\n  }\n}\n\n// src/services/_namespaces/ts.Rename.ts\nvar ts_Rename_exports = {};\n__export(ts_Rename_exports, {\n  getRenameInfo: () => getRenameInfo,\n  nodeIsEligibleForRename: () => nodeIsEligibleForRename\n});\n\n// src/services/rename.ts\nfunction getRenameInfo(program, sourceFile, position, preferences) {\n  const node = getAdjustedRenameLocation(getTouchingPropertyName(sourceFile, position));\n  if (nodeIsEligibleForRename(node)) {\n    const renameInfo = getRenameInfoForNode(node, program.getTypeChecker(), sourceFile, program, preferences);\n    if (renameInfo) {\n      return renameInfo;\n    }\n  }\n  return getRenameInfoError(Diagnostics.You_cannot_rename_this_element);\n}\nfunction getRenameInfoForNode(node, typeChecker3, sourceFile, program, preferences) {\n  const symbol = typeChecker3.getSymbolAtLocation(node);\n  if (!symbol) {\n    if (isStringLiteralLike(node)) {\n      const type = getContextualTypeFromParentOrAncestorTypeNode(node, typeChecker3);\n      if (type && (type.flags & 128 /* StringLiteral */ || type.flags & 1048576 /* Union */ && every(type.types, (type2) => !!(type2.flags & 128 /* StringLiteral */)))) {\n        return getRenameInfoSuccess(node.text, node.text, \"string\" /* string */, \"\", node, sourceFile);\n      }\n    } else if (isLabelName(node)) {\n      const name = getTextOfNode(node);\n      return getRenameInfoSuccess(name, name, \"label\" /* label */, \"\" /* none */, node, sourceFile);\n    }\n    return void 0;\n  }\n  const { declarations } = symbol;\n  if (!declarations || declarations.length === 0)\n    return;\n  if (declarations.some((declaration) => isDefinedInLibraryFile(program, declaration))) {\n    return getRenameInfoError(Diagnostics.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);\n  }\n  if (isIdentifier(node) && node.originalKeywordKind === 89 /* DefaultKeyword */ && symbol.parent && symbol.parent.flags & 1536 /* Module */) {\n    return void 0;\n  }\n  if (isStringLiteralLike(node) && tryGetImportFromModuleSpecifier(node)) {\n    return preferences.allowRenameOfImportPath ? getRenameInfoForModule(node, sourceFile, symbol) : void 0;\n  }\n  const wouldRenameNodeModules = wouldRenameInOtherNodeModules(sourceFile, symbol, typeChecker3, preferences);\n  if (wouldRenameNodeModules) {\n    return getRenameInfoError(wouldRenameNodeModules);\n  }\n  const kind = ts_SymbolDisplay_exports.getSymbolKind(typeChecker3, symbol, node);\n  const specifierName = isImportOrExportSpecifierName(node) || isStringOrNumericLiteralLike(node) && node.parent.kind === 166 /* ComputedPropertyName */ ? stripQuotes(getTextOfIdentifierOrLiteral(node)) : void 0;\n  const displayName = specifierName || typeChecker3.symbolToString(symbol);\n  const fullDisplayName = specifierName || typeChecker3.getFullyQualifiedName(symbol);\n  return getRenameInfoSuccess(displayName, fullDisplayName, kind, ts_SymbolDisplay_exports.getSymbolModifiers(typeChecker3, symbol), node, sourceFile);\n}\nfunction isDefinedInLibraryFile(program, declaration) {\n  const sourceFile = declaration.getSourceFile();\n  return program.isSourceFileDefaultLibrary(sourceFile) && fileExtensionIs(sourceFile.fileName, \".d.ts\" /* Dts */);\n}\nfunction wouldRenameInOtherNodeModules(originalFile, symbol, checker, preferences) {\n  if (!preferences.providePrefixAndSuffixTextForRename && symbol.flags & 2097152 /* Alias */) {\n    const importSpecifier = symbol.declarations && find(symbol.declarations, (decl) => isImportSpecifier(decl));\n    if (importSpecifier && !importSpecifier.propertyName) {\n      symbol = checker.getAliasedSymbol(symbol);\n    }\n  }\n  const { declarations } = symbol;\n  if (!declarations) {\n    return void 0;\n  }\n  const originalPackage = getPackagePathComponents(originalFile.path);\n  if (originalPackage === void 0) {\n    if (some(declarations, (declaration) => isInsideNodeModules(declaration.getSourceFile().path))) {\n      return Diagnostics.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder;\n    } else {\n      return void 0;\n    }\n  }\n  for (const declaration of declarations) {\n    const declPackage = getPackagePathComponents(declaration.getSourceFile().path);\n    if (declPackage) {\n      const length2 = Math.min(originalPackage.length, declPackage.length);\n      for (let i = 0; i <= length2; i++) {\n        if (compareStringsCaseSensitive(originalPackage[i], declPackage[i]) !== 0 /* EqualTo */) {\n          return Diagnostics.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder;\n        }\n      }\n    }\n  }\n  return void 0;\n}\nfunction getPackagePathComponents(filePath) {\n  const components = getPathComponents(filePath);\n  const nodeModulesIdx = components.lastIndexOf(\"node_modules\");\n  if (nodeModulesIdx === -1) {\n    return void 0;\n  }\n  return components.slice(0, nodeModulesIdx + 2);\n}\nfunction getRenameInfoForModule(node, sourceFile, moduleSymbol) {\n  if (!isExternalModuleNameRelative(node.text)) {\n    return getRenameInfoError(Diagnostics.You_cannot_rename_a_module_via_a_global_import);\n  }\n  const moduleSourceFile = moduleSymbol.declarations && find(moduleSymbol.declarations, isSourceFile);\n  if (!moduleSourceFile)\n    return void 0;\n  const withoutIndex = endsWith(node.text, \"/index\") || endsWith(node.text, \"/index.js\") ? void 0 : tryRemoveSuffix(removeFileExtension(moduleSourceFile.fileName), \"/index\");\n  const name = withoutIndex === void 0 ? moduleSourceFile.fileName : withoutIndex;\n  const kind = withoutIndex === void 0 ? \"module\" /* moduleElement */ : \"directory\" /* directory */;\n  const indexAfterLastSlash = node.text.lastIndexOf(\"/\") + 1;\n  const triggerSpan = createTextSpan(node.getStart(sourceFile) + 1 + indexAfterLastSlash, node.text.length - indexAfterLastSlash);\n  return {\n    canRename: true,\n    fileToRename: name,\n    kind,\n    displayName: name,\n    fullDisplayName: name,\n    kindModifiers: \"\" /* none */,\n    triggerSpan\n  };\n}\nfunction getRenameInfoSuccess(displayName, fullDisplayName, kind, kindModifiers, node, sourceFile) {\n  return {\n    canRename: true,\n    fileToRename: void 0,\n    kind,\n    displayName,\n    fullDisplayName,\n    kindModifiers,\n    triggerSpan: createTriggerSpanForNode(node, sourceFile)\n  };\n}\nfunction getRenameInfoError(diagnostic) {\n  return { canRename: false, localizedErrorMessage: getLocaleSpecificMessage(diagnostic) };\n}\nfunction createTriggerSpanForNode(node, sourceFile) {\n  let start = node.getStart(sourceFile);\n  let width = node.getWidth(sourceFile);\n  if (isStringLiteralLike(node)) {\n    start += 1;\n    width -= 2;\n  }\n  return createTextSpan(start, width);\n}\nfunction nodeIsEligibleForRename(node) {\n  switch (node.kind) {\n    case 79 /* Identifier */:\n    case 80 /* PrivateIdentifier */:\n    case 10 /* StringLiteral */:\n    case 14 /* NoSubstitutionTemplateLiteral */:\n    case 109 /* ThisKeyword */:\n      return true;\n    case 8 /* NumericLiteral */:\n      return isLiteralNameOfPropertyDeclarationOrIndexAccess(node);\n    default:\n      return false;\n  }\n}\n\n// src/services/_namespaces/ts.SignatureHelp.ts\nvar ts_SignatureHelp_exports = {};\n__export(ts_SignatureHelp_exports, {\n  getArgumentInfoForCompletions: () => getArgumentInfoForCompletions,\n  getSignatureHelpItems: () => getSignatureHelpItems\n});\n\n// src/services/signatureHelp.ts\nvar InvocationKind = /* @__PURE__ */ ((InvocationKind2) => {\n  InvocationKind2[InvocationKind2[\"Call\"] = 0] = \"Call\";\n  InvocationKind2[InvocationKind2[\"TypeArgs\"] = 1] = \"TypeArgs\";\n  InvocationKind2[InvocationKind2[\"Contextual\"] = 2] = \"Contextual\";\n  return InvocationKind2;\n})(InvocationKind || {});\nfunction getSignatureHelpItems(program, sourceFile, position, triggerReason, cancellationToken) {\n  const typeChecker3 = program.getTypeChecker();\n  const startingToken = findTokenOnLeftOfPosition(sourceFile, position);\n  if (!startingToken) {\n    return void 0;\n  }\n  const onlyUseSyntacticOwners = !!triggerReason && triggerReason.kind === \"characterTyped\";\n  if (onlyUseSyntacticOwners && (isInString(sourceFile, position, startingToken) || isInComment(sourceFile, position))) {\n    return void 0;\n  }\n  const isManuallyInvoked = !!triggerReason && triggerReason.kind === \"invoked\";\n  const argumentInfo = getContainingArgumentInfo(startingToken, position, sourceFile, typeChecker3, isManuallyInvoked);\n  if (!argumentInfo)\n    return void 0;\n  cancellationToken.throwIfCancellationRequested();\n  const candidateInfo = getCandidateOrTypeInfo(argumentInfo, typeChecker3, sourceFile, startingToken, onlyUseSyntacticOwners);\n  cancellationToken.throwIfCancellationRequested();\n  if (!candidateInfo) {\n    return isSourceFileJS(sourceFile) ? createJSSignatureHelpItems(argumentInfo, program, cancellationToken) : void 0;\n  }\n  return typeChecker3.runWithCancellationToken(cancellationToken, (typeChecker4) => candidateInfo.kind === CandidateOrTypeKind.Candidate ? createSignatureHelpItems(candidateInfo.candidates, candidateInfo.resolvedSignature, argumentInfo, sourceFile, typeChecker4) : createTypeHelpItems(candidateInfo.symbol, argumentInfo, sourceFile, typeChecker4));\n}\nvar CandidateOrTypeKind = /* @__PURE__ */ ((CandidateOrTypeKind2) => {\n  CandidateOrTypeKind2[CandidateOrTypeKind2[\"Candidate\"] = 0] = \"Candidate\";\n  CandidateOrTypeKind2[CandidateOrTypeKind2[\"Type\"] = 1] = \"Type\";\n  return CandidateOrTypeKind2;\n})(CandidateOrTypeKind || {});\nfunction getCandidateOrTypeInfo({ invocation, argumentCount }, checker, sourceFile, startingToken, onlyUseSyntacticOwners) {\n  switch (invocation.kind) {\n    case 0 /* Call */: {\n      if (onlyUseSyntacticOwners && !isSyntacticOwner(startingToken, invocation.node, sourceFile)) {\n        return void 0;\n      }\n      const candidates = [];\n      const resolvedSignature = checker.getResolvedSignatureForSignatureHelp(invocation.node, candidates, argumentCount);\n      return candidates.length === 0 ? void 0 : { kind: 0 /* Candidate */, candidates, resolvedSignature };\n    }\n    case 1 /* TypeArgs */: {\n      const { called } = invocation;\n      if (onlyUseSyntacticOwners && !containsPrecedingToken(startingToken, sourceFile, isIdentifier(called) ? called.parent : called)) {\n        return void 0;\n      }\n      const candidates = getPossibleGenericSignatures(called, argumentCount, checker);\n      if (candidates.length !== 0)\n        return { kind: 0 /* Candidate */, candidates, resolvedSignature: first(candidates) };\n      const symbol = checker.getSymbolAtLocation(called);\n      return symbol && { kind: 1 /* Type */, symbol };\n    }\n    case 2 /* Contextual */:\n      return { kind: 0 /* Candidate */, candidates: [invocation.signature], resolvedSignature: invocation.signature };\n    default:\n      return Debug.assertNever(invocation);\n  }\n}\nfunction isSyntacticOwner(startingToken, node, sourceFile) {\n  if (!isCallOrNewExpression(node))\n    return false;\n  const invocationChildren = node.getChildren(sourceFile);\n  switch (startingToken.kind) {\n    case 20 /* OpenParenToken */:\n      return contains(invocationChildren, startingToken);\n    case 27 /* CommaToken */: {\n      const containingList = findContainingList(startingToken);\n      return !!containingList && contains(invocationChildren, containingList);\n    }\n    case 29 /* LessThanToken */:\n      return containsPrecedingToken(startingToken, sourceFile, node.expression);\n    default:\n      return false;\n  }\n}\nfunction createJSSignatureHelpItems(argumentInfo, program, cancellationToken) {\n  if (argumentInfo.invocation.kind === 2 /* Contextual */)\n    return void 0;\n  const expression = getExpressionFromInvocation(argumentInfo.invocation);\n  const name = isPropertyAccessExpression(expression) ? expression.name.text : void 0;\n  const typeChecker3 = program.getTypeChecker();\n  return name === void 0 ? void 0 : firstDefined(program.getSourceFiles(), (sourceFile) => firstDefined(sourceFile.getNamedDeclarations().get(name), (declaration) => {\n    const type = declaration.symbol && typeChecker3.getTypeOfSymbolAtLocation(declaration.symbol, declaration);\n    const callSignatures = type && type.getCallSignatures();\n    if (callSignatures && callSignatures.length) {\n      return typeChecker3.runWithCancellationToken(\n        cancellationToken,\n        (typeChecker4) => createSignatureHelpItems(\n          callSignatures,\n          callSignatures[0],\n          argumentInfo,\n          sourceFile,\n          typeChecker4,\n          true\n        )\n      );\n    }\n  }));\n}\nfunction containsPrecedingToken(startingToken, sourceFile, container) {\n  const pos = startingToken.getFullStart();\n  let currentParent = startingToken.parent;\n  while (currentParent) {\n    const precedingToken = findPrecedingToken(pos, sourceFile, currentParent, true);\n    if (precedingToken) {\n      return rangeContainsRange(container, precedingToken);\n    }\n    currentParent = currentParent.parent;\n  }\n  return Debug.fail(\"Could not find preceding token\");\n}\nfunction getArgumentInfoForCompletions(node, position, sourceFile) {\n  const info = getImmediatelyContainingArgumentInfo(node, position, sourceFile);\n  return !info || info.isTypeParameterList || info.invocation.kind !== 0 /* Call */ ? void 0 : { invocation: info.invocation.node, argumentCount: info.argumentCount, argumentIndex: info.argumentIndex };\n}\nfunction getArgumentOrParameterListInfo(node, position, sourceFile) {\n  const info = getArgumentOrParameterListAndIndex(node, sourceFile);\n  if (!info)\n    return void 0;\n  const { list, argumentIndex } = info;\n  const argumentCount = getArgumentCount(list, isInString(sourceFile, position, node));\n  if (argumentIndex !== 0) {\n    Debug.assertLessThan(argumentIndex, argumentCount);\n  }\n  const argumentsSpan = getApplicableSpanForArguments(list, sourceFile);\n  return { list, argumentIndex, argumentCount, argumentsSpan };\n}\nfunction getArgumentOrParameterListAndIndex(node, sourceFile) {\n  if (node.kind === 29 /* LessThanToken */ || node.kind === 20 /* OpenParenToken */) {\n    return { list: getChildListThatStartsWithOpenerToken(node.parent, node, sourceFile), argumentIndex: 0 };\n  } else {\n    const list = findContainingList(node);\n    return list && { list, argumentIndex: getArgumentIndex(list, node) };\n  }\n}\nfunction getImmediatelyContainingArgumentInfo(node, position, sourceFile) {\n  const { parent: parent2 } = node;\n  if (isCallOrNewExpression(parent2)) {\n    const invocation = parent2;\n    const info = getArgumentOrParameterListInfo(node, position, sourceFile);\n    if (!info)\n      return void 0;\n    const { list, argumentIndex, argumentCount, argumentsSpan } = info;\n    const isTypeParameterList = !!parent2.typeArguments && parent2.typeArguments.pos === list.pos;\n    return { isTypeParameterList, invocation: { kind: 0 /* Call */, node: invocation }, argumentsSpan, argumentIndex, argumentCount };\n  } else if (isNoSubstitutionTemplateLiteral(node) && isTaggedTemplateExpression(parent2)) {\n    if (isInsideTemplateLiteral(node, position, sourceFile)) {\n      return getArgumentListInfoForTemplate(parent2, 0, sourceFile);\n    }\n    return void 0;\n  } else if (isTemplateHead(node) && parent2.parent.kind === 215 /* TaggedTemplateExpression */) {\n    const templateExpression = parent2;\n    const tagExpression = templateExpression.parent;\n    Debug.assert(templateExpression.kind === 229 /* TemplateExpression */);\n    const argumentIndex = isInsideTemplateLiteral(node, position, sourceFile) ? 0 : 1;\n    return getArgumentListInfoForTemplate(tagExpression, argumentIndex, sourceFile);\n  } else if (isTemplateSpan(parent2) && isTaggedTemplateExpression(parent2.parent.parent)) {\n    const templateSpan = parent2;\n    const tagExpression = parent2.parent.parent;\n    if (isTemplateTail(node) && !isInsideTemplateLiteral(node, position, sourceFile)) {\n      return void 0;\n    }\n    const spanIndex = templateSpan.parent.templateSpans.indexOf(templateSpan);\n    const argumentIndex = getArgumentIndexForTemplatePiece(spanIndex, node, position, sourceFile);\n    return getArgumentListInfoForTemplate(tagExpression, argumentIndex, sourceFile);\n  } else if (isJsxOpeningLikeElement(parent2)) {\n    const attributeSpanStart = parent2.attributes.pos;\n    const attributeSpanEnd = skipTrivia(sourceFile.text, parent2.attributes.end, false);\n    return {\n      isTypeParameterList: false,\n      invocation: { kind: 0 /* Call */, node: parent2 },\n      argumentsSpan: createTextSpan(attributeSpanStart, attributeSpanEnd - attributeSpanStart),\n      argumentIndex: 0,\n      argumentCount: 1\n    };\n  } else {\n    const typeArgInfo = getPossibleTypeArgumentsInfo(node, sourceFile);\n    if (typeArgInfo) {\n      const { called, nTypeArguments } = typeArgInfo;\n      const invocation = { kind: 1 /* TypeArgs */, called };\n      const argumentsSpan = createTextSpanFromBounds(called.getStart(sourceFile), node.end);\n      return { isTypeParameterList: true, invocation, argumentsSpan, argumentIndex: nTypeArguments, argumentCount: nTypeArguments + 1 };\n    }\n    return void 0;\n  }\n}\nfunction getImmediatelyContainingArgumentOrContextualParameterInfo(node, position, sourceFile, checker) {\n  return tryGetParameterInfo(node, position, sourceFile, checker) || getImmediatelyContainingArgumentInfo(node, position, sourceFile);\n}\nfunction getHighestBinary(b) {\n  return isBinaryExpression(b.parent) ? getHighestBinary(b.parent) : b;\n}\nfunction countBinaryExpressionParameters(b) {\n  return isBinaryExpression(b.left) ? countBinaryExpressionParameters(b.left) + 1 : 2;\n}\nfunction tryGetParameterInfo(startingToken, position, sourceFile, checker) {\n  const info = getContextualSignatureLocationInfo(startingToken, sourceFile, position, checker);\n  if (!info)\n    return void 0;\n  const { contextualType, argumentIndex, argumentCount, argumentsSpan } = info;\n  const nonNullableContextualType = contextualType.getNonNullableType();\n  const symbol = nonNullableContextualType.symbol;\n  if (symbol === void 0)\n    return void 0;\n  const signature = lastOrUndefined(nonNullableContextualType.getCallSignatures());\n  if (signature === void 0)\n    return void 0;\n  const invocation = { kind: 2 /* Contextual */, signature, node: startingToken, symbol: chooseBetterSymbol(symbol) };\n  return { isTypeParameterList: false, invocation, argumentsSpan, argumentIndex, argumentCount };\n}\nfunction getContextualSignatureLocationInfo(startingToken, sourceFile, position, checker) {\n  if (startingToken.kind !== 20 /* OpenParenToken */ && startingToken.kind !== 27 /* CommaToken */)\n    return void 0;\n  const { parent: parent2 } = startingToken;\n  switch (parent2.kind) {\n    case 217 /* ParenthesizedExpression */:\n    case 174 /* MethodDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n      const info = getArgumentOrParameterListInfo(startingToken, position, sourceFile);\n      if (!info)\n        return void 0;\n      const { argumentIndex, argumentCount, argumentsSpan } = info;\n      const contextualType = isMethodDeclaration(parent2) ? checker.getContextualTypeForObjectLiteralElement(parent2) : checker.getContextualType(parent2);\n      return contextualType && { contextualType, argumentIndex, argumentCount, argumentsSpan };\n    case 227 /* BinaryExpression */: {\n      const highestBinary = getHighestBinary(parent2);\n      const contextualType2 = checker.getContextualType(highestBinary);\n      const argumentIndex2 = startingToken.kind === 20 /* OpenParenToken */ ? 0 : countBinaryExpressionParameters(parent2) - 1;\n      const argumentCount2 = countBinaryExpressionParameters(highestBinary);\n      return contextualType2 && { contextualType: contextualType2, argumentIndex: argumentIndex2, argumentCount: argumentCount2, argumentsSpan: createTextSpanFromNode(parent2) };\n    }\n    default:\n      return void 0;\n  }\n}\nfunction chooseBetterSymbol(s) {\n  return s.name === \"__type\" /* Type */ ? firstDefined(s.declarations, (d) => isFunctionTypeNode(d) ? d.parent.symbol : void 0) || s : s;\n}\nfunction getArgumentIndex(argumentsList, node) {\n  let argumentIndex = 0;\n  for (const child of argumentsList.getChildren()) {\n    if (child === node) {\n      break;\n    }\n    if (child.kind !== 27 /* CommaToken */) {\n      argumentIndex++;\n    }\n  }\n  return argumentIndex;\n}\nfunction getArgumentCount(argumentsList, ignoreTrailingComma) {\n  const listChildren = argumentsList.getChildren();\n  let argumentCount = countWhere(listChildren, (arg) => arg.kind !== 27 /* CommaToken */);\n  if (!ignoreTrailingComma && listChildren.length > 0 && last(listChildren).kind === 27 /* CommaToken */) {\n    argumentCount++;\n  }\n  return argumentCount;\n}\nfunction getArgumentIndexForTemplatePiece(spanIndex, node, position, sourceFile) {\n  Debug.assert(position >= node.getStart(), \"Assumed 'position' could not occur before node.\");\n  if (isTemplateLiteralToken(node)) {\n    if (isInsideTemplateLiteral(node, position, sourceFile)) {\n      return 0;\n    }\n    return spanIndex + 2;\n  }\n  return spanIndex + 1;\n}\nfunction getArgumentListInfoForTemplate(tagExpression, argumentIndex, sourceFile) {\n  const argumentCount = isNoSubstitutionTemplateLiteral(tagExpression.template) ? 1 : tagExpression.template.templateSpans.length + 1;\n  if (argumentIndex !== 0) {\n    Debug.assertLessThan(argumentIndex, argumentCount);\n  }\n  return {\n    isTypeParameterList: false,\n    invocation: { kind: 0 /* Call */, node: tagExpression },\n    argumentsSpan: getApplicableSpanForTaggedTemplate(tagExpression, sourceFile),\n    argumentIndex,\n    argumentCount\n  };\n}\nfunction getApplicableSpanForArguments(argumentsList, sourceFile) {\n  const applicableSpanStart = argumentsList.getFullStart();\n  const applicableSpanEnd = skipTrivia(sourceFile.text, argumentsList.getEnd(), false);\n  return createTextSpan(applicableSpanStart, applicableSpanEnd - applicableSpanStart);\n}\nfunction getApplicableSpanForTaggedTemplate(taggedTemplate, sourceFile) {\n  const template = taggedTemplate.template;\n  const applicableSpanStart = template.getStart();\n  let applicableSpanEnd = template.getEnd();\n  if (template.kind === 229 /* TemplateExpression */) {\n    const lastSpan = last(template.templateSpans);\n    if (lastSpan.literal.getFullWidth() === 0) {\n      applicableSpanEnd = skipTrivia(sourceFile.text, applicableSpanEnd, false);\n    }\n  }\n  return createTextSpan(applicableSpanStart, applicableSpanEnd - applicableSpanStart);\n}\nfunction getContainingArgumentInfo(node, position, sourceFile, checker, isManuallyInvoked) {\n  for (let n = node; !isSourceFile(n) && (isManuallyInvoked || !isBlock(n)); n = n.parent) {\n    Debug.assert(rangeContainsRange(n.parent, n), \"Not a subspan\", () => `Child: ${Debug.formatSyntaxKind(n.kind)}, parent: ${Debug.formatSyntaxKind(n.parent.kind)}`);\n    const argumentInfo = getImmediatelyContainingArgumentOrContextualParameterInfo(n, position, sourceFile, checker);\n    if (argumentInfo) {\n      return argumentInfo;\n    }\n  }\n  return void 0;\n}\nfunction getChildListThatStartsWithOpenerToken(parent2, openerToken, sourceFile) {\n  const children = parent2.getChildren(sourceFile);\n  const indexOfOpenerToken = children.indexOf(openerToken);\n  Debug.assert(indexOfOpenerToken >= 0 && children.length > indexOfOpenerToken + 1);\n  return children[indexOfOpenerToken + 1];\n}\nfunction getExpressionFromInvocation(invocation) {\n  return invocation.kind === 0 /* Call */ ? getInvokedExpression(invocation.node) : invocation.called;\n}\nfunction getEnclosingDeclarationFromInvocation(invocation) {\n  return invocation.kind === 0 /* Call */ ? invocation.node : invocation.kind === 1 /* TypeArgs */ ? invocation.called : invocation.node;\n}\nvar signatureHelpNodeBuilderFlags = 8192 /* OmitParameterModifiers */ | 70221824 /* IgnoreErrors */ | 16384 /* UseAliasDefinedOutsideCurrentScope */;\nfunction createSignatureHelpItems(candidates, resolvedSignature, { isTypeParameterList, argumentCount, argumentsSpan: applicableSpan, invocation, argumentIndex }, sourceFile, typeChecker3, useFullPrefix) {\n  var _a2;\n  const enclosingDeclaration = getEnclosingDeclarationFromInvocation(invocation);\n  const callTargetSymbol = invocation.kind === 2 /* Contextual */ ? invocation.symbol : typeChecker3.getSymbolAtLocation(getExpressionFromInvocation(invocation)) || useFullPrefix && ((_a2 = resolvedSignature.declaration) == null ? void 0 : _a2.symbol);\n  const callTargetDisplayParts = callTargetSymbol ? symbolToDisplayParts(typeChecker3, callTargetSymbol, useFullPrefix ? sourceFile : void 0, void 0) : emptyArray;\n  const items = map(candidates, (candidateSignature) => getSignatureHelpItem(candidateSignature, callTargetDisplayParts, isTypeParameterList, typeChecker3, enclosingDeclaration, sourceFile));\n  if (argumentIndex !== 0) {\n    Debug.assertLessThan(argumentIndex, argumentCount);\n  }\n  let selectedItemIndex = 0;\n  let itemsSeen = 0;\n  for (let i = 0; i < items.length; i++) {\n    const item = items[i];\n    if (candidates[i] === resolvedSignature) {\n      selectedItemIndex = itemsSeen;\n      if (item.length > 1) {\n        let count = 0;\n        for (const i2 of item) {\n          if (i2.isVariadic || i2.parameters.length >= argumentCount) {\n            selectedItemIndex = itemsSeen + count;\n            break;\n          }\n          count++;\n        }\n      }\n    }\n    itemsSeen += item.length;\n  }\n  Debug.assert(selectedItemIndex !== -1);\n  const help = { items: flatMapToMutable(items, identity), applicableSpan, selectedItemIndex, argumentIndex, argumentCount };\n  const selected = help.items[selectedItemIndex];\n  if (selected.isVariadic) {\n    const firstRest = findIndex(selected.parameters, (p) => !!p.isRest);\n    if (-1 < firstRest && firstRest < selected.parameters.length - 1) {\n      help.argumentIndex = selected.parameters.length;\n    } else {\n      help.argumentIndex = Math.min(help.argumentIndex, selected.parameters.length - 1);\n    }\n  }\n  return help;\n}\nfunction createTypeHelpItems(symbol, { argumentCount, argumentsSpan: applicableSpan, invocation, argumentIndex }, sourceFile, checker) {\n  const typeParameters = checker.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(symbol);\n  if (!typeParameters)\n    return void 0;\n  const items = [getTypeHelpItem(symbol, typeParameters, checker, getEnclosingDeclarationFromInvocation(invocation), sourceFile)];\n  return { items, applicableSpan, selectedItemIndex: 0, argumentIndex, argumentCount };\n}\nfunction getTypeHelpItem(symbol, typeParameters, checker, enclosingDeclaration, sourceFile) {\n  const typeSymbolDisplay = symbolToDisplayParts(checker, symbol);\n  const printer3 = createPrinterWithRemoveComments();\n  const parameters = typeParameters.map((t) => createSignatureHelpParameterForTypeParameter(t, checker, enclosingDeclaration, sourceFile, printer3));\n  const documentation = symbol.getDocumentationComment(checker);\n  const tags = symbol.getJsDocTags(checker);\n  const prefixDisplayParts = [...typeSymbolDisplay, punctuationPart(29 /* LessThanToken */)];\n  return { isVariadic: false, prefixDisplayParts, suffixDisplayParts: [punctuationPart(31 /* GreaterThanToken */)], separatorDisplayParts, parameters, documentation, tags };\n}\nvar separatorDisplayParts = [punctuationPart(27 /* CommaToken */), spacePart()];\nfunction getSignatureHelpItem(candidateSignature, callTargetDisplayParts, isTypeParameterList, checker, enclosingDeclaration, sourceFile) {\n  const infos = (isTypeParameterList ? itemInfoForTypeParameters : itemInfoForParameters)(candidateSignature, checker, enclosingDeclaration, sourceFile);\n  return map(infos, ({ isVariadic, parameters, prefix, suffix }) => {\n    const prefixDisplayParts = [...callTargetDisplayParts, ...prefix];\n    const suffixDisplayParts = [...suffix, ...returnTypeToDisplayParts(candidateSignature, enclosingDeclaration, checker)];\n    const documentation = candidateSignature.getDocumentationComment(checker);\n    const tags = candidateSignature.getJsDocTags();\n    return { isVariadic, prefixDisplayParts, suffixDisplayParts, separatorDisplayParts, parameters, documentation, tags };\n  });\n}\nfunction returnTypeToDisplayParts(candidateSignature, enclosingDeclaration, checker) {\n  return mapToDisplayParts((writer) => {\n    writer.writePunctuation(\":\");\n    writer.writeSpace(\" \");\n    const predicate = checker.getTypePredicateOfSignature(candidateSignature);\n    if (predicate) {\n      checker.writeTypePredicate(predicate, enclosingDeclaration, void 0, writer);\n    } else {\n      checker.writeType(checker.getReturnTypeOfSignature(candidateSignature), enclosingDeclaration, void 0, writer);\n    }\n  });\n}\nfunction itemInfoForTypeParameters(candidateSignature, checker, enclosingDeclaration, sourceFile) {\n  const typeParameters = (candidateSignature.target || candidateSignature).typeParameters;\n  const printer3 = createPrinterWithRemoveComments();\n  const parameters = (typeParameters || emptyArray).map((t) => createSignatureHelpParameterForTypeParameter(t, checker, enclosingDeclaration, sourceFile, printer3));\n  const thisParameter = candidateSignature.thisParameter ? [checker.symbolToParameterDeclaration(candidateSignature.thisParameter, enclosingDeclaration, signatureHelpNodeBuilderFlags)] : [];\n  return checker.getExpandedParameters(candidateSignature).map((paramList) => {\n    const params = factory.createNodeArray([...thisParameter, ...map(paramList, (param) => checker.symbolToParameterDeclaration(param, enclosingDeclaration, signatureHelpNodeBuilderFlags))]);\n    const parameterParts = mapToDisplayParts((writer) => {\n      printer3.writeList(2576 /* CallExpressionArguments */, params, sourceFile, writer);\n    });\n    return { isVariadic: false, parameters, prefix: [punctuationPart(29 /* LessThanToken */)], suffix: [punctuationPart(31 /* GreaterThanToken */), ...parameterParts] };\n  });\n}\nfunction itemInfoForParameters(candidateSignature, checker, enclosingDeclaration, sourceFile) {\n  const printer3 = createPrinterWithRemoveComments();\n  const typeParameterParts = mapToDisplayParts((writer) => {\n    if (candidateSignature.typeParameters && candidateSignature.typeParameters.length) {\n      const args = factory.createNodeArray(candidateSignature.typeParameters.map((p) => checker.typeParameterToDeclaration(p, enclosingDeclaration, signatureHelpNodeBuilderFlags)));\n      printer3.writeList(53776 /* TypeParameters */, args, sourceFile, writer);\n    }\n  });\n  const lists = checker.getExpandedParameters(candidateSignature);\n  const isVariadic = !checker.hasEffectiveRestParameter(candidateSignature) ? (_) => false : lists.length === 1 ? (_) => true : (pList) => !!(pList.length && pList[pList.length - 1].checkFlags & 32768 /* RestParameter */);\n  return lists.map((parameterList) => ({\n    isVariadic: isVariadic(parameterList),\n    parameters: parameterList.map((p) => createSignatureHelpParameterForParameter(p, checker, enclosingDeclaration, sourceFile, printer3)),\n    prefix: [...typeParameterParts, punctuationPart(20 /* OpenParenToken */)],\n    suffix: [punctuationPart(21 /* CloseParenToken */)]\n  }));\n}\nfunction createSignatureHelpParameterForParameter(parameter, checker, enclosingDeclaration, sourceFile, printer3) {\n  const displayParts = mapToDisplayParts((writer) => {\n    const param = checker.symbolToParameterDeclaration(parameter, enclosingDeclaration, signatureHelpNodeBuilderFlags);\n    printer3.writeNode(4 /* Unspecified */, param, sourceFile, writer);\n  });\n  const isOptional = checker.isOptionalParameter(parameter.valueDeclaration);\n  const isRest = !!(parameter.checkFlags & 32768 /* RestParameter */);\n  return { name: parameter.name, documentation: parameter.getDocumentationComment(checker), displayParts, isOptional, isRest };\n}\nfunction createSignatureHelpParameterForTypeParameter(typeParameter, checker, enclosingDeclaration, sourceFile, printer3) {\n  const displayParts = mapToDisplayParts((writer) => {\n    const param = checker.typeParameterToDeclaration(typeParameter, enclosingDeclaration, signatureHelpNodeBuilderFlags);\n    printer3.writeNode(4 /* Unspecified */, param, sourceFile, writer);\n  });\n  return { name: typeParameter.symbol.name, documentation: typeParameter.symbol.getDocumentationComment(checker), displayParts, isOptional: false, isRest: false };\n}\n\n// src/services/_namespaces/ts.SmartSelectionRange.ts\nvar ts_SmartSelectionRange_exports = {};\n__export(ts_SmartSelectionRange_exports, {\n  getSmartSelectionRange: () => getSmartSelectionRange\n});\n\n// src/services/smartSelection.ts\nfunction getSmartSelectionRange(pos, sourceFile) {\n  var _a2, _b;\n  let selectionRange = {\n    textSpan: createTextSpanFromBounds(sourceFile.getFullStart(), sourceFile.getEnd())\n  };\n  let parentNode = sourceFile;\n  outer:\n    while (true) {\n      const children = getSelectionChildren(parentNode);\n      if (!children.length)\n        break;\n      for (let i = 0; i < children.length; i++) {\n        const prevNode = children[i - 1];\n        const node = children[i];\n        const nextNode = children[i + 1];\n        if (getTokenPosOfNode(node, sourceFile, true) > pos) {\n          break outer;\n        }\n        const comment = singleOrUndefined(getTrailingCommentRanges(sourceFile.text, node.end));\n        if (comment && comment.kind === 2 /* SingleLineCommentTrivia */) {\n          pushSelectionCommentRange(comment.pos, comment.end);\n        }\n        if (positionShouldSnapToNode(sourceFile, pos, node)) {\n          if (isFunctionBody(node) && isFunctionLikeDeclaration(parentNode) && !positionsAreOnSameLine(node.getStart(sourceFile), node.getEnd(), sourceFile)) {\n            pushSelectionRange(node.getStart(sourceFile), node.getEnd());\n          }\n          if (isBlock(node) || isTemplateSpan(node) || isTemplateHead(node) || isTemplateTail(node) || prevNode && isTemplateHead(prevNode) || isVariableDeclarationList(node) && isVariableStatement(parentNode) || isSyntaxList(node) && isVariableDeclarationList(parentNode) || isVariableDeclaration(node) && isSyntaxList(parentNode) && children.length === 1 || isJSDocTypeExpression(node) || isJSDocSignature(node) || isJSDocTypeLiteral(node)) {\n            parentNode = node;\n            break;\n          }\n          if (isTemplateSpan(parentNode) && nextNode && isTemplateMiddleOrTemplateTail(nextNode)) {\n            const start2 = node.getFullStart() - \"${\".length;\n            const end2 = nextNode.getStart() + \"}\".length;\n            pushSelectionRange(start2, end2);\n          }\n          const isBetweenMultiLineBookends = isSyntaxList(node) && isListOpener(prevNode) && isListCloser(nextNode) && !positionsAreOnSameLine(prevNode.getStart(), nextNode.getStart(), sourceFile);\n          let start = isBetweenMultiLineBookends ? prevNode.getEnd() : node.getStart();\n          const end = isBetweenMultiLineBookends ? nextNode.getStart() : getEndPos(sourceFile, node);\n          if (hasJSDocNodes(node) && ((_a2 = node.jsDoc) == null ? void 0 : _a2.length)) {\n            pushSelectionRange(first(node.jsDoc).getStart(), end);\n          }\n          if (isSyntaxList(node)) {\n            const firstChild = node.getChildren()[0];\n            if (firstChild && hasJSDocNodes(firstChild) && ((_b = firstChild.jsDoc) == null ? void 0 : _b.length) && firstChild.getStart() !== node.pos) {\n              start = Math.min(start, first(firstChild.jsDoc).getStart());\n            }\n          }\n          pushSelectionRange(start, end);\n          if (isStringLiteral(node) || isTemplateLiteral(node)) {\n            pushSelectionRange(start + 1, end - 1);\n          }\n          parentNode = node;\n          break;\n        }\n        if (i === children.length - 1) {\n          break outer;\n        }\n      }\n    }\n  return selectionRange;\n  function pushSelectionRange(start, end) {\n    if (start !== end) {\n      const textSpan = createTextSpanFromBounds(start, end);\n      if (!selectionRange || !textSpansEqual(textSpan, selectionRange.textSpan) && textSpanIntersectsWithPosition(textSpan, pos)) {\n        selectionRange = { textSpan, ...selectionRange && { parent: selectionRange } };\n      }\n    }\n  }\n  function pushSelectionCommentRange(start, end) {\n    pushSelectionRange(start, end);\n    let pos2 = start;\n    while (sourceFile.text.charCodeAt(pos2) === 47 /* slash */) {\n      pos2++;\n    }\n    pushSelectionRange(pos2, end);\n  }\n}\nfunction positionShouldSnapToNode(sourceFile, pos, node) {\n  Debug.assert(node.pos <= pos);\n  if (pos < node.end) {\n    return true;\n  }\n  const nodeEnd = node.getEnd();\n  if (nodeEnd === pos) {\n    return getTouchingPropertyName(sourceFile, pos).pos < node.end;\n  }\n  return false;\n}\nvar isImport2 = or(isImportDeclaration, isImportEqualsDeclaration);\nfunction getSelectionChildren(node) {\n  var _a2;\n  if (isSourceFile(node)) {\n    return groupChildren(node.getChildAt(0).getChildren(), isImport2);\n  }\n  if (isMappedTypeNode(node)) {\n    const [openBraceToken, ...children] = node.getChildren();\n    const closeBraceToken = Debug.checkDefined(children.pop());\n    Debug.assertEqual(openBraceToken.kind, 18 /* OpenBraceToken */);\n    Debug.assertEqual(closeBraceToken.kind, 19 /* CloseBraceToken */);\n    const groupedWithPlusMinusTokens = groupChildren(children, (child) => child === node.readonlyToken || child.kind === 147 /* ReadonlyKeyword */ || child === node.questionToken || child.kind === 57 /* QuestionToken */);\n    const groupedWithBrackets = groupChildren(\n      groupedWithPlusMinusTokens,\n      ({ kind }) => kind === 22 /* OpenBracketToken */ || kind === 167 /* TypeParameter */ || kind === 23 /* CloseBracketToken */\n    );\n    return [\n      openBraceToken,\n      createSyntaxList2(splitChildren(groupedWithBrackets, ({ kind }) => kind === 58 /* ColonToken */)),\n      closeBraceToken\n    ];\n  }\n  if (isPropertySignature(node)) {\n    const children = groupChildren(node.getChildren(), (child) => child === node.name || contains(node.modifiers, child));\n    const firstJSDocChild = ((_a2 = children[0]) == null ? void 0 : _a2.kind) === 329 /* JSDoc */ ? children[0] : void 0;\n    const withJSDocSeparated = firstJSDocChild ? children.slice(1) : children;\n    const splittedChildren = splitChildren(withJSDocSeparated, ({ kind }) => kind === 58 /* ColonToken */);\n    return firstJSDocChild ? [firstJSDocChild, createSyntaxList2(splittedChildren)] : splittedChildren;\n  }\n  if (isParameter(node)) {\n    const groupedDotDotDotAndName = groupChildren(node.getChildren(), (child) => child === node.dotDotDotToken || child === node.name);\n    const groupedWithQuestionToken = groupChildren(groupedDotDotDotAndName, (child) => child === groupedDotDotDotAndName[0] || child === node.questionToken);\n    return splitChildren(groupedWithQuestionToken, ({ kind }) => kind === 63 /* EqualsToken */);\n  }\n  if (isBindingElement(node)) {\n    return splitChildren(node.getChildren(), ({ kind }) => kind === 63 /* EqualsToken */);\n  }\n  return node.getChildren();\n}\nfunction groupChildren(children, groupOn) {\n  const result = [];\n  let group2;\n  for (const child of children) {\n    if (groupOn(child)) {\n      group2 = group2 || [];\n      group2.push(child);\n    } else {\n      if (group2) {\n        result.push(createSyntaxList2(group2));\n        group2 = void 0;\n      }\n      result.push(child);\n    }\n  }\n  if (group2) {\n    result.push(createSyntaxList2(group2));\n  }\n  return result;\n}\nfunction splitChildren(children, pivotOn, separateTrailingSemicolon = true) {\n  if (children.length < 2) {\n    return children;\n  }\n  const splitTokenIndex = findIndex(children, pivotOn);\n  if (splitTokenIndex === -1) {\n    return children;\n  }\n  const leftChildren = children.slice(0, splitTokenIndex);\n  const splitToken = children[splitTokenIndex];\n  const lastToken = last(children);\n  const separateLastToken = separateTrailingSemicolon && lastToken.kind === 26 /* SemicolonToken */;\n  const rightChildren = children.slice(splitTokenIndex + 1, separateLastToken ? children.length - 1 : void 0);\n  const result = compact([\n    leftChildren.length ? createSyntaxList2(leftChildren) : void 0,\n    splitToken,\n    rightChildren.length ? createSyntaxList2(rightChildren) : void 0\n  ]);\n  return separateLastToken ? result.concat(lastToken) : result;\n}\nfunction createSyntaxList2(children) {\n  Debug.assertGreaterThanOrEqual(children.length, 1);\n  return setTextRangePosEnd(parseNodeFactory.createSyntaxList(children), children[0].pos, last(children).end);\n}\nfunction isListOpener(token) {\n  const kind = token && token.kind;\n  return kind === 18 /* OpenBraceToken */ || kind === 22 /* OpenBracketToken */ || kind === 20 /* OpenParenToken */ || kind === 289 /* JsxOpeningElement */;\n}\nfunction isListCloser(token) {\n  const kind = token && token.kind;\n  return kind === 19 /* CloseBraceToken */ || kind === 23 /* CloseBracketToken */ || kind === 21 /* CloseParenToken */ || kind === 290 /* JsxClosingElement */;\n}\nfunction getEndPos(sourceFile, node) {\n  switch (node.kind) {\n    case 349 /* JSDocParameterTag */:\n    case 347 /* JSDocCallbackTag */:\n    case 356 /* JSDocPropertyTag */:\n    case 354 /* JSDocTypedefTag */:\n    case 351 /* JSDocThisTag */:\n      return sourceFile.getLineEndOfPosition(node.getStart());\n    default:\n      return node.getEnd();\n  }\n}\n\n// src/services/_namespaces/ts.SymbolDisplay.ts\nvar ts_SymbolDisplay_exports = {};\n__export(ts_SymbolDisplay_exports, {\n  getSymbolDisplayPartsDocumentationAndSymbolKind: () => getSymbolDisplayPartsDocumentationAndSymbolKind,\n  getSymbolKind: () => getSymbolKind,\n  getSymbolModifiers: () => getSymbolModifiers\n});\n\n// src/services/symbolDisplay.ts\nvar symbolDisplayNodeBuilderFlags = 8192 /* OmitParameterModifiers */ | 70221824 /* IgnoreErrors */ | 16384 /* UseAliasDefinedOutsideCurrentScope */;\nfunction getSymbolKind(typeChecker3, symbol, location) {\n  const result = getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker3, symbol, location);\n  if (result !== \"\" /* unknown */) {\n    return result;\n  }\n  const flags = getCombinedLocalAndExportSymbolFlags(symbol);\n  if (flags & 32 /* Class */) {\n    return getDeclarationOfKind(symbol, 232 /* ClassExpression */) ? \"local class\" /* localClassElement */ : \"class\" /* classElement */;\n  }\n  if (flags & 384 /* Enum */)\n    return \"enum\" /* enumElement */;\n  if (flags & 524288 /* TypeAlias */)\n    return \"type\" /* typeElement */;\n  if (flags & 64 /* Interface */)\n    return \"interface\" /* interfaceElement */;\n  if (flags & 262144 /* TypeParameter */)\n    return \"type parameter\" /* typeParameterElement */;\n  if (flags & 8 /* EnumMember */)\n    return \"enum member\" /* enumMemberElement */;\n  if (flags & 2097152 /* Alias */)\n    return \"alias\" /* alias */;\n  if (flags & 1536 /* Module */)\n    return \"module\" /* moduleElement */;\n  return result;\n}\nfunction getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker3, symbol, location) {\n  const roots = typeChecker3.getRootSymbols(symbol);\n  if (roots.length === 1 && first(roots).flags & 8192 /* Method */ && typeChecker3.getTypeOfSymbolAtLocation(symbol, location).getNonNullableType().getCallSignatures().length !== 0) {\n    return \"method\" /* memberFunctionElement */;\n  }\n  if (typeChecker3.isUndefinedSymbol(symbol)) {\n    return \"var\" /* variableElement */;\n  }\n  if (typeChecker3.isArgumentsSymbol(symbol)) {\n    return \"local var\" /* localVariableElement */;\n  }\n  if (location.kind === 109 /* ThisKeyword */ && isExpression(location) || isThisInTypeQuery(location)) {\n    return \"parameter\" /* parameterElement */;\n  }\n  const flags = getCombinedLocalAndExportSymbolFlags(symbol);\n  if (flags & 3 /* Variable */) {\n    if (isFirstDeclarationOfSymbolParameter(symbol)) {\n      return \"parameter\" /* parameterElement */;\n    } else if (symbol.valueDeclaration && isVarConst(symbol.valueDeclaration)) {\n      return \"const\" /* constElement */;\n    } else if (forEach(symbol.declarations, isLet)) {\n      return \"let\" /* letElement */;\n    }\n    return isLocalVariableOrFunction(symbol) ? \"local var\" /* localVariableElement */ : \"var\" /* variableElement */;\n  }\n  if (flags & 16 /* Function */)\n    return isLocalVariableOrFunction(symbol) ? \"local function\" /* localFunctionElement */ : \"function\" /* functionElement */;\n  if (flags & 32768 /* GetAccessor */)\n    return \"getter\" /* memberGetAccessorElement */;\n  if (flags & 65536 /* SetAccessor */)\n    return \"setter\" /* memberSetAccessorElement */;\n  if (flags & 8192 /* Method */)\n    return \"method\" /* memberFunctionElement */;\n  if (flags & 16384 /* Constructor */)\n    return \"constructor\" /* constructorImplementationElement */;\n  if (flags & 131072 /* Signature */)\n    return \"index\" /* indexSignatureElement */;\n  if (flags & 4 /* Property */) {\n    if (flags & 33554432 /* Transient */ && symbol.checkFlags & 6 /* Synthetic */) {\n      const unionPropertyKind = forEach(typeChecker3.getRootSymbols(symbol), (rootSymbol) => {\n        const rootSymbolFlags = rootSymbol.getFlags();\n        if (rootSymbolFlags & (98308 /* PropertyOrAccessor */ | 3 /* Variable */)) {\n          return \"property\" /* memberVariableElement */;\n        }\n      });\n      if (!unionPropertyKind) {\n        const typeOfUnionProperty = typeChecker3.getTypeOfSymbolAtLocation(symbol, location);\n        if (typeOfUnionProperty.getCallSignatures().length) {\n          return \"method\" /* memberFunctionElement */;\n        }\n        return \"property\" /* memberVariableElement */;\n      }\n      return unionPropertyKind;\n    }\n    return \"property\" /* memberVariableElement */;\n  }\n  return \"\" /* unknown */;\n}\nfunction getNormalizedSymbolModifiers(symbol) {\n  if (symbol.declarations && symbol.declarations.length) {\n    const [declaration, ...declarations] = symbol.declarations;\n    const excludeFlags = length(declarations) && isDeprecatedDeclaration(declaration) && some(declarations, (d) => !isDeprecatedDeclaration(d)) ? 8192 /* Deprecated */ : 0 /* None */;\n    const modifiers = getNodeModifiers(declaration, excludeFlags);\n    if (modifiers) {\n      return modifiers.split(\",\");\n    }\n  }\n  return [];\n}\nfunction getSymbolModifiers(typeChecker3, symbol) {\n  if (!symbol) {\n    return \"\" /* none */;\n  }\n  const modifiers = new Set2(getNormalizedSymbolModifiers(symbol));\n  if (symbol.flags & 2097152 /* Alias */) {\n    const resolvedSymbol = typeChecker3.getAliasedSymbol(symbol);\n    if (resolvedSymbol !== symbol) {\n      forEach(getNormalizedSymbolModifiers(resolvedSymbol), (modifier) => {\n        modifiers.add(modifier);\n      });\n    }\n  }\n  if (symbol.flags & 16777216 /* Optional */) {\n    modifiers.add(\"optional\" /* optionalModifier */);\n  }\n  return modifiers.size > 0 ? arrayFrom(modifiers.values()).join(\",\") : \"\" /* none */;\n}\nfunction getSymbolDisplayPartsDocumentationAndSymbolKind(typeChecker3, symbol, sourceFile, enclosingDeclaration, location, semanticMeaning = getMeaningFromLocation(location), alias) {\n  var _a2;\n  const displayParts = [];\n  let documentation = [];\n  let tags = [];\n  const symbolFlags = getCombinedLocalAndExportSymbolFlags(symbol);\n  let symbolKind = semanticMeaning & 1 /* Value */ ? getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(typeChecker3, symbol, location) : \"\" /* unknown */;\n  let hasAddedSymbolInfo = false;\n  const isThisExpression = location.kind === 109 /* ThisKeyword */ && isInExpressionContext(location) || isThisInTypeQuery(location);\n  let type;\n  let documentationFromAlias;\n  let tagsFromAlias;\n  let hasMultipleSignatures = false;\n  if (location.kind === 109 /* ThisKeyword */ && !isThisExpression) {\n    return { displayParts: [keywordPart(109 /* ThisKeyword */)], documentation: [], symbolKind: \"primitive type\" /* primitiveType */, tags: void 0 };\n  }\n  if (symbolKind !== \"\" /* unknown */ || symbolFlags & 32 /* Class */ || symbolFlags & 2097152 /* Alias */) {\n    if (symbolKind === \"getter\" /* memberGetAccessorElement */ || symbolKind === \"setter\" /* memberSetAccessorElement */) {\n      const declaration = find(symbol.declarations, (declaration2) => declaration2.name === location);\n      if (declaration) {\n        switch (declaration.kind) {\n          case 177 /* GetAccessor */:\n            symbolKind = \"getter\" /* memberGetAccessorElement */;\n            break;\n          case 178 /* SetAccessor */:\n            symbolKind = \"setter\" /* memberSetAccessorElement */;\n            break;\n          case 171 /* PropertyDeclaration */:\n            symbolKind = \"accessor\" /* memberAccessorVariableElement */;\n            break;\n          default:\n            Debug.assertNever(declaration);\n        }\n      } else {\n        symbolKind = \"property\" /* memberVariableElement */;\n      }\n    }\n    let signature;\n    type = isThisExpression ? typeChecker3.getTypeAtLocation(location) : typeChecker3.getTypeOfSymbolAtLocation(symbol, location);\n    if (location.parent && location.parent.kind === 211 /* PropertyAccessExpression */) {\n      const right = location.parent.name;\n      if (right === location || right && right.getFullWidth() === 0) {\n        location = location.parent;\n      }\n    }\n    let callExpressionLike;\n    if (isCallOrNewExpression(location)) {\n      callExpressionLike = location;\n    } else if (isCallExpressionTarget(location) || isNewExpressionTarget(location)) {\n      callExpressionLike = location.parent;\n    } else if (location.parent && (isJsxOpeningLikeElement(location.parent) || isTaggedTemplateExpression(location.parent)) && isFunctionLike(symbol.valueDeclaration)) {\n      callExpressionLike = location.parent;\n    }\n    if (callExpressionLike) {\n      signature = typeChecker3.getResolvedSignature(callExpressionLike);\n      const useConstructSignatures = callExpressionLike.kind === 214 /* NewExpression */ || isCallExpression(callExpressionLike) && callExpressionLike.expression.kind === 107 /* SuperKeyword */;\n      const allSignatures = useConstructSignatures ? type.getConstructSignatures() : type.getCallSignatures();\n      if (signature && !contains(allSignatures, signature.target) && !contains(allSignatures, signature)) {\n        signature = allSignatures.length ? allSignatures[0] : void 0;\n      }\n      if (signature) {\n        if (useConstructSignatures && symbolFlags & 32 /* Class */) {\n          symbolKind = \"constructor\" /* constructorImplementationElement */;\n          addPrefixForAnyFunctionOrVar(type.symbol, symbolKind);\n        } else if (symbolFlags & 2097152 /* Alias */) {\n          symbolKind = \"alias\" /* alias */;\n          pushSymbolKind(symbolKind);\n          displayParts.push(spacePart());\n          if (useConstructSignatures) {\n            if (signature.flags & 4 /* Abstract */) {\n              displayParts.push(keywordPart(127 /* AbstractKeyword */));\n              displayParts.push(spacePart());\n            }\n            displayParts.push(keywordPart(104 /* NewKeyword */));\n            displayParts.push(spacePart());\n          }\n          addFullSymbolName(symbol);\n        } else {\n          addPrefixForAnyFunctionOrVar(symbol, symbolKind);\n        }\n        switch (symbolKind) {\n          case \"JSX attribute\" /* jsxAttribute */:\n          case \"property\" /* memberVariableElement */:\n          case \"var\" /* variableElement */:\n          case \"const\" /* constElement */:\n          case \"let\" /* letElement */:\n          case \"parameter\" /* parameterElement */:\n          case \"local var\" /* localVariableElement */:\n            displayParts.push(punctuationPart(58 /* ColonToken */));\n            displayParts.push(spacePart());\n            if (!(getObjectFlags(type) & 16 /* Anonymous */) && type.symbol) {\n              addRange(displayParts, symbolToDisplayParts(typeChecker3, type.symbol, enclosingDeclaration, void 0, 4 /* AllowAnyNodeKind */ | 1 /* WriteTypeParametersOrArguments */));\n              displayParts.push(lineBreakPart());\n            }\n            if (useConstructSignatures) {\n              if (signature.flags & 4 /* Abstract */) {\n                displayParts.push(keywordPart(127 /* AbstractKeyword */));\n                displayParts.push(spacePart());\n              }\n              displayParts.push(keywordPart(104 /* NewKeyword */));\n              displayParts.push(spacePart());\n            }\n            addSignatureDisplayParts(signature, allSignatures, 262144 /* WriteArrowStyleSignature */);\n            break;\n          default:\n            addSignatureDisplayParts(signature, allSignatures);\n        }\n        hasAddedSymbolInfo = true;\n        hasMultipleSignatures = allSignatures.length > 1;\n      }\n    } else if (isNameOfFunctionDeclaration(location) && !(symbolFlags & 98304 /* Accessor */) || location.kind === 136 /* ConstructorKeyword */ && location.parent.kind === 176 /* Constructor */) {\n      const functionDeclaration = location.parent;\n      const locationIsSymbolDeclaration = symbol.declarations && find(symbol.declarations, (declaration) => declaration === (location.kind === 136 /* ConstructorKeyword */ ? functionDeclaration.parent : functionDeclaration));\n      if (locationIsSymbolDeclaration) {\n        const allSignatures = functionDeclaration.kind === 176 /* Constructor */ ? type.getNonNullableType().getConstructSignatures() : type.getNonNullableType().getCallSignatures();\n        if (!typeChecker3.isImplementationOfOverload(functionDeclaration)) {\n          signature = typeChecker3.getSignatureFromDeclaration(functionDeclaration);\n        } else {\n          signature = allSignatures[0];\n        }\n        if (functionDeclaration.kind === 176 /* Constructor */) {\n          symbolKind = \"constructor\" /* constructorImplementationElement */;\n          addPrefixForAnyFunctionOrVar(type.symbol, symbolKind);\n        } else {\n          addPrefixForAnyFunctionOrVar(functionDeclaration.kind === 179 /* CallSignature */ && !(type.symbol.flags & 2048 /* TypeLiteral */ || type.symbol.flags & 4096 /* ObjectLiteral */) ? type.symbol : symbol, symbolKind);\n        }\n        if (signature) {\n          addSignatureDisplayParts(signature, allSignatures);\n        }\n        hasAddedSymbolInfo = true;\n        hasMultipleSignatures = allSignatures.length > 1;\n      }\n    }\n  }\n  if (symbolFlags & 32 /* Class */ && !hasAddedSymbolInfo && !isThisExpression) {\n    addAliasPrefixIfNecessary();\n    if (getDeclarationOfKind(symbol, 232 /* ClassExpression */)) {\n      pushSymbolKind(\"local class\" /* localClassElement */);\n    } else if (getDeclarationOfKind(symbol, 265 /* StructDeclaration */)) {\n      displayParts.push(keywordPart(85 /* StructKeyword */));\n    } else {\n      displayParts.push(keywordPart(84 /* ClassKeyword */));\n    }\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n    writeTypeParametersOfSymbol(symbol, sourceFile);\n  }\n  if (symbolFlags & 64 /* Interface */ && semanticMeaning & 2 /* Type */) {\n    prefixNextMeaning();\n    displayParts.push(keywordPart(119 /* InterfaceKeyword */));\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n    writeTypeParametersOfSymbol(symbol, sourceFile);\n  }\n  if (symbolFlags & 524288 /* TypeAlias */ && semanticMeaning & 2 /* Type */) {\n    prefixNextMeaning();\n    displayParts.push(keywordPart(155 /* TypeKeyword */));\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n    writeTypeParametersOfSymbol(symbol, sourceFile);\n    displayParts.push(spacePart());\n    displayParts.push(operatorPart(63 /* EqualsToken */));\n    displayParts.push(spacePart());\n    addRange(displayParts, typeToDisplayParts(typeChecker3, isConstTypeReference(location.parent) ? typeChecker3.getTypeAtLocation(location.parent) : typeChecker3.getDeclaredTypeOfSymbol(symbol), enclosingDeclaration, 8388608 /* InTypeAlias */));\n  }\n  if (symbolFlags & 384 /* Enum */) {\n    prefixNextMeaning();\n    if (some(symbol.declarations, (d) => isEnumDeclaration(d) && isEnumConst(d))) {\n      displayParts.push(keywordPart(86 /* ConstKeyword */));\n      displayParts.push(spacePart());\n    }\n    displayParts.push(keywordPart(93 /* EnumKeyword */));\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n  }\n  if (symbolFlags & 1536 /* Module */ && !isThisExpression) {\n    prefixNextMeaning();\n    const declaration = getDeclarationOfKind(symbol, 270 /* ModuleDeclaration */);\n    const isNamespace = declaration && declaration.name && declaration.name.kind === 79 /* Identifier */;\n    displayParts.push(keywordPart(isNamespace ? 144 /* NamespaceKeyword */ : 143 /* ModuleKeyword */));\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n  }\n  if (symbolFlags & 262144 /* TypeParameter */ && semanticMeaning & 2 /* Type */) {\n    prefixNextMeaning();\n    displayParts.push(punctuationPart(20 /* OpenParenToken */));\n    displayParts.push(textPart(\"type parameter\"));\n    displayParts.push(punctuationPart(21 /* CloseParenToken */));\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n    if (symbol.parent) {\n      addInPrefix();\n      addFullSymbolName(symbol.parent, enclosingDeclaration);\n      writeTypeParametersOfSymbol(symbol.parent, enclosingDeclaration);\n    } else {\n      const decl = getDeclarationOfKind(symbol, 167 /* TypeParameter */);\n      if (decl === void 0)\n        return Debug.fail();\n      const declaration = decl.parent;\n      if (declaration) {\n        if (isFunctionLikeKind(declaration.kind)) {\n          addInPrefix();\n          const signature = typeChecker3.getSignatureFromDeclaration(declaration);\n          if (declaration.kind === 180 /* ConstructSignature */) {\n            displayParts.push(keywordPart(104 /* NewKeyword */));\n            displayParts.push(spacePart());\n          } else if (declaration.kind !== 179 /* CallSignature */ && declaration.name) {\n            addFullSymbolName(declaration.symbol);\n          }\n          addRange(displayParts, signatureToDisplayParts(typeChecker3, signature, sourceFile, 32 /* WriteTypeArgumentsOfSignature */));\n        } else if (declaration.kind === 268 /* TypeAliasDeclaration */) {\n          addInPrefix();\n          displayParts.push(keywordPart(155 /* TypeKeyword */));\n          displayParts.push(spacePart());\n          addFullSymbolName(declaration.symbol);\n          writeTypeParametersOfSymbol(declaration.symbol, sourceFile);\n        }\n      }\n    }\n  }\n  if (symbolFlags & 8 /* EnumMember */) {\n    symbolKind = \"enum member\" /* enumMemberElement */;\n    addPrefixForAnyFunctionOrVar(symbol, \"enum member\");\n    const declaration = (_a2 = symbol.declarations) == null ? void 0 : _a2[0];\n    if ((declaration == null ? void 0 : declaration.kind) === 308 /* EnumMember */) {\n      const constantValue = typeChecker3.getConstantValue(declaration);\n      if (constantValue !== void 0) {\n        displayParts.push(spacePart());\n        displayParts.push(operatorPart(63 /* EqualsToken */));\n        displayParts.push(spacePart());\n        displayParts.push(displayPart(\n          getTextOfConstantValue(constantValue),\n          typeof constantValue === \"number\" ? 7 /* numericLiteral */ : 8 /* stringLiteral */\n        ));\n      }\n    }\n  }\n  if (symbol.flags & 2097152 /* Alias */) {\n    prefixNextMeaning();\n    if (!hasAddedSymbolInfo) {\n      const resolvedSymbol = typeChecker3.getAliasedSymbol(symbol);\n      if (resolvedSymbol !== symbol && resolvedSymbol.declarations && resolvedSymbol.declarations.length > 0) {\n        const resolvedNode = resolvedSymbol.declarations[0];\n        const declarationName = getNameOfDeclaration(resolvedNode);\n        if (declarationName) {\n          const isExternalModuleDeclaration = isModuleWithStringLiteralName(resolvedNode) && hasSyntacticModifier(resolvedNode, 2 /* Ambient */);\n          const shouldUseAliasName = symbol.name !== \"default\" && !isExternalModuleDeclaration;\n          const resolvedInfo = getSymbolDisplayPartsDocumentationAndSymbolKind(\n            typeChecker3,\n            resolvedSymbol,\n            getSourceFileOfNode(resolvedNode),\n            resolvedNode,\n            declarationName,\n            semanticMeaning,\n            shouldUseAliasName ? symbol : resolvedSymbol\n          );\n          displayParts.push(...resolvedInfo.displayParts);\n          displayParts.push(lineBreakPart());\n          documentationFromAlias = resolvedInfo.documentation;\n          tagsFromAlias = resolvedInfo.tags;\n        } else {\n          documentationFromAlias = resolvedSymbol.getContextualDocumentationComment(resolvedNode, typeChecker3);\n          tagsFromAlias = resolvedSymbol.getJsDocTags(typeChecker3);\n        }\n      }\n    }\n    if (symbol.declarations) {\n      switch (symbol.declarations[0].kind) {\n        case 273 /* NamespaceExportDeclaration */:\n          displayParts.push(keywordPart(94 /* ExportKeyword */));\n          displayParts.push(spacePart());\n          displayParts.push(keywordPart(144 /* NamespaceKeyword */));\n          break;\n        case 280 /* ExportAssignment */:\n          displayParts.push(keywordPart(94 /* ExportKeyword */));\n          displayParts.push(spacePart());\n          displayParts.push(keywordPart(symbol.declarations[0].isExportEquals ? 63 /* EqualsToken */ : 89 /* DefaultKeyword */));\n          break;\n        case 284 /* ExportSpecifier */:\n          displayParts.push(keywordPart(94 /* ExportKeyword */));\n          break;\n        default:\n          displayParts.push(keywordPart(101 /* ImportKeyword */));\n      }\n    }\n    displayParts.push(spacePart());\n    addFullSymbolName(symbol);\n    forEach(symbol.declarations, (declaration) => {\n      if (declaration.kind === 274 /* ImportEqualsDeclaration */) {\n        const importEqualsDeclaration = declaration;\n        if (isExternalModuleImportEqualsDeclaration(importEqualsDeclaration)) {\n          displayParts.push(spacePart());\n          displayParts.push(operatorPart(63 /* EqualsToken */));\n          displayParts.push(spacePart());\n          displayParts.push(keywordPart(148 /* RequireKeyword */));\n          displayParts.push(punctuationPart(20 /* OpenParenToken */));\n          displayParts.push(displayPart(getTextOfNode(getExternalModuleImportEqualsDeclarationExpression(importEqualsDeclaration)), 8 /* stringLiteral */));\n          displayParts.push(punctuationPart(21 /* CloseParenToken */));\n        } else {\n          const internalAliasSymbol = typeChecker3.getSymbolAtLocation(importEqualsDeclaration.moduleReference);\n          if (internalAliasSymbol) {\n            displayParts.push(spacePart());\n            displayParts.push(operatorPart(63 /* EqualsToken */));\n            displayParts.push(spacePart());\n            addFullSymbolName(internalAliasSymbol, enclosingDeclaration);\n          }\n        }\n        return true;\n      }\n    });\n  }\n  if (!hasAddedSymbolInfo) {\n    if (symbolKind !== \"\" /* unknown */) {\n      if (type) {\n        if (isThisExpression) {\n          prefixNextMeaning();\n          displayParts.push(keywordPart(109 /* ThisKeyword */));\n        } else {\n          addPrefixForAnyFunctionOrVar(symbol, symbolKind);\n        }\n        if (symbolKind === \"property\" /* memberVariableElement */ || symbolKind === \"accessor\" /* memberAccessorVariableElement */ || symbolKind === \"getter\" /* memberGetAccessorElement */ || symbolKind === \"setter\" /* memberSetAccessorElement */ || symbolKind === \"JSX attribute\" /* jsxAttribute */ || symbolFlags & 3 /* Variable */ || symbolKind === \"local var\" /* localVariableElement */ || symbolKind === \"index\" /* indexSignatureElement */ || isThisExpression) {\n          displayParts.push(punctuationPart(58 /* ColonToken */));\n          displayParts.push(spacePart());\n          if (type.symbol && type.symbol.flags & 262144 /* TypeParameter */ && symbolKind !== \"index\" /* indexSignatureElement */) {\n            const typeParameterParts = mapToDisplayParts((writer) => {\n              const param = typeChecker3.typeParameterToDeclaration(type, enclosingDeclaration, symbolDisplayNodeBuilderFlags);\n              getPrinter().writeNode(4 /* Unspecified */, param, getSourceFileOfNode(getParseTreeNode(enclosingDeclaration)), writer);\n            });\n            addRange(displayParts, typeParameterParts);\n          } else {\n            addRange(displayParts, typeToDisplayParts(typeChecker3, type, enclosingDeclaration));\n          }\n          if (symbol.target && symbol.target.tupleLabelDeclaration) {\n            const labelDecl = symbol.target.tupleLabelDeclaration;\n            Debug.assertNode(labelDecl.name, isIdentifier);\n            displayParts.push(spacePart());\n            displayParts.push(punctuationPart(20 /* OpenParenToken */));\n            displayParts.push(textPart(idText(labelDecl.name)));\n            displayParts.push(punctuationPart(21 /* CloseParenToken */));\n          }\n        } else if (symbolFlags & 16 /* Function */ || symbolFlags & 8192 /* Method */ || symbolFlags & 16384 /* Constructor */ || symbolFlags & 131072 /* Signature */ || symbolFlags & 98304 /* Accessor */ || symbolKind === \"method\" /* memberFunctionElement */) {\n          const allSignatures = type.getNonNullableType().getCallSignatures();\n          if (allSignatures.length) {\n            addSignatureDisplayParts(allSignatures[0], allSignatures);\n            hasMultipleSignatures = allSignatures.length > 1;\n          }\n        }\n      }\n    } else {\n      symbolKind = getSymbolKind(typeChecker3, symbol, location);\n    }\n  }\n  if (documentation.length === 0 && !hasMultipleSignatures) {\n    documentation = symbol.getContextualDocumentationComment(enclosingDeclaration, typeChecker3);\n  }\n  if (documentation.length === 0 && symbolFlags & 4 /* Property */) {\n    if (symbol.parent && symbol.declarations && forEach(symbol.parent.declarations, (declaration) => declaration.kind === 314 /* SourceFile */)) {\n      for (const declaration of symbol.declarations) {\n        if (!declaration.parent || declaration.parent.kind !== 227 /* BinaryExpression */) {\n          continue;\n        }\n        const rhsSymbol = typeChecker3.getSymbolAtLocation(declaration.parent.right);\n        if (!rhsSymbol) {\n          continue;\n        }\n        documentation = rhsSymbol.getDocumentationComment(typeChecker3);\n        tags = rhsSymbol.getJsDocTags(typeChecker3);\n        if (documentation.length > 0) {\n          break;\n        }\n      }\n    }\n  }\n  if (documentation.length === 0 && isIdentifier(location) && symbol.valueDeclaration && isBindingElement(symbol.valueDeclaration)) {\n    const declaration = symbol.valueDeclaration;\n    const parent2 = declaration.parent;\n    if (isIdentifier(declaration.name) && isObjectBindingPattern(parent2)) {\n      const name = getTextOfIdentifierOrLiteral(declaration.name);\n      const objectType = typeChecker3.getTypeAtLocation(parent2);\n      documentation = firstDefined(objectType.isUnion() ? objectType.types : [objectType], (t) => {\n        const prop = t.getProperty(name);\n        return prop ? prop.getDocumentationComment(typeChecker3) : void 0;\n      }) || emptyArray;\n    }\n  }\n  if (tags.length === 0 && !hasMultipleSignatures) {\n    tags = symbol.getContextualJsDocTags(enclosingDeclaration, typeChecker3);\n  }\n  if (documentation.length === 0 && documentationFromAlias) {\n    documentation = documentationFromAlias;\n  }\n  if (tags.length === 0 && tagsFromAlias) {\n    tags = tagsFromAlias;\n  }\n  return { displayParts, documentation, symbolKind, tags: tags.length === 0 ? void 0 : tags };\n  function getPrinter() {\n    return createPrinterWithRemoveComments();\n  }\n  function prefixNextMeaning() {\n    if (displayParts.length) {\n      displayParts.push(lineBreakPart());\n    }\n    addAliasPrefixIfNecessary();\n  }\n  function addAliasPrefixIfNecessary() {\n    if (alias) {\n      pushSymbolKind(\"alias\" /* alias */);\n      displayParts.push(spacePart());\n    }\n  }\n  function addInPrefix() {\n    displayParts.push(spacePart());\n    displayParts.push(keywordPart(102 /* InKeyword */));\n    displayParts.push(spacePart());\n  }\n  function addFullSymbolName(symbolToDisplay, enclosingDeclaration2) {\n    let indexInfos;\n    if (alias && symbolToDisplay === symbol) {\n      symbolToDisplay = alias;\n    }\n    if (symbolKind === \"index\" /* indexSignatureElement */) {\n      indexInfos = typeChecker3.getIndexInfosOfIndexSymbol(symbolToDisplay);\n    }\n    let fullSymbolDisplayParts = [];\n    if (symbolToDisplay.flags & 131072 /* Signature */ && indexInfos) {\n      if (symbolToDisplay.parent) {\n        fullSymbolDisplayParts = symbolToDisplayParts(typeChecker3, symbolToDisplay.parent);\n      }\n      fullSymbolDisplayParts.push(punctuationPart(22 /* OpenBracketToken */));\n      indexInfos.forEach((info, i) => {\n        fullSymbolDisplayParts.push(...typeToDisplayParts(typeChecker3, info.keyType));\n        if (i !== indexInfos.length - 1) {\n          fullSymbolDisplayParts.push(spacePart());\n          fullSymbolDisplayParts.push(punctuationPart(51 /* BarToken */));\n          fullSymbolDisplayParts.push(spacePart());\n        }\n      });\n      fullSymbolDisplayParts.push(punctuationPart(23 /* CloseBracketToken */));\n    } else {\n      fullSymbolDisplayParts = symbolToDisplayParts(\n        typeChecker3,\n        symbolToDisplay,\n        enclosingDeclaration2 || sourceFile,\n        void 0,\n        1 /* WriteTypeParametersOrArguments */ | 2 /* UseOnlyExternalAliasing */ | 4 /* AllowAnyNodeKind */\n      );\n    }\n    addRange(displayParts, fullSymbolDisplayParts);\n    if (symbol.flags & 16777216 /* Optional */) {\n      displayParts.push(punctuationPart(57 /* QuestionToken */));\n    }\n  }\n  function addPrefixForAnyFunctionOrVar(symbol2, symbolKind2) {\n    prefixNextMeaning();\n    if (symbolKind2) {\n      pushSymbolKind(symbolKind2);\n      if (symbol2 && !some(symbol2.declarations, (d) => isArrowFunction(d) || (isFunctionExpression(d) || isClassExpression(d)) && !d.name)) {\n        displayParts.push(spacePart());\n        addFullSymbolName(symbol2);\n      }\n    }\n  }\n  function pushSymbolKind(symbolKind2) {\n    switch (symbolKind2) {\n      case \"var\" /* variableElement */:\n      case \"function\" /* functionElement */:\n      case \"let\" /* letElement */:\n      case \"const\" /* constElement */:\n      case \"constructor\" /* constructorImplementationElement */:\n        displayParts.push(textOrKeywordPart(symbolKind2));\n        return;\n      default:\n        displayParts.push(punctuationPart(20 /* OpenParenToken */));\n        displayParts.push(textOrKeywordPart(symbolKind2));\n        displayParts.push(punctuationPart(21 /* CloseParenToken */));\n        return;\n    }\n  }\n  function addSignatureDisplayParts(signature, allSignatures, flags = 0 /* None */) {\n    addRange(displayParts, signatureToDisplayParts(typeChecker3, signature, enclosingDeclaration, flags | 32 /* WriteTypeArgumentsOfSignature */));\n    if (allSignatures.length > 1) {\n      displayParts.push(spacePart());\n      displayParts.push(punctuationPart(20 /* OpenParenToken */));\n      displayParts.push(operatorPart(39 /* PlusToken */));\n      displayParts.push(displayPart((allSignatures.length - 1).toString(), 7 /* numericLiteral */));\n      displayParts.push(spacePart());\n      displayParts.push(textPart(allSignatures.length === 2 ? \"overload\" : \"overloads\"));\n      displayParts.push(punctuationPart(21 /* CloseParenToken */));\n    }\n    documentation = signature.getDocumentationComment(typeChecker3);\n    tags = signature.getJsDocTags();\n    if (allSignatures.length > 1 && documentation.length === 0 && tags.length === 0) {\n      documentation = allSignatures[0].getDocumentationComment(typeChecker3);\n      tags = allSignatures[0].getJsDocTags().filter((tag) => tag.name !== \"deprecated\");\n    }\n  }\n  function writeTypeParametersOfSymbol(symbol2, enclosingDeclaration2) {\n    const typeParameterParts = mapToDisplayParts((writer) => {\n      const params = typeChecker3.symbolToTypeParameterDeclarations(symbol2, enclosingDeclaration2, symbolDisplayNodeBuilderFlags);\n      getPrinter().writeList(53776 /* TypeParameters */, params, getSourceFileOfNode(getParseTreeNode(enclosingDeclaration2)), writer);\n    });\n    addRange(displayParts, typeParameterParts);\n  }\n}\nfunction isLocalVariableOrFunction(symbol) {\n  if (symbol.parent) {\n    return false;\n  }\n  return forEach(symbol.declarations, (declaration) => {\n    if (declaration.kind === 218 /* FunctionExpression */) {\n      return true;\n    }\n    if (declaration.kind !== 261 /* VariableDeclaration */ && declaration.kind !== 263 /* FunctionDeclaration */) {\n      return false;\n    }\n    for (let parent2 = declaration.parent; !isFunctionBlock(parent2); parent2 = parent2.parent) {\n      if (parent2.kind === 314 /* SourceFile */ || parent2.kind === 271 /* ModuleBlock */) {\n        return false;\n      }\n    }\n    return true;\n  });\n}\n\n// src/services/_namespaces/ts.textChanges.ts\nvar ts_textChanges_exports = {};\n__export(ts_textChanges_exports, {\n  ChangeTracker: () => ChangeTracker,\n  LeadingTriviaOption: () => LeadingTriviaOption,\n  TrailingTriviaOption: () => TrailingTriviaOption,\n  applyChanges: () => applyChanges,\n  assignPositionsToNode: () => assignPositionsToNode,\n  createWriter: () => createWriter,\n  deleteNode: () => deleteNode,\n  getNewFileText: () => getNewFileText,\n  isThisTypeAnnotatable: () => isThisTypeAnnotatable,\n  isValidLocationToAddComment: () => isValidLocationToAddComment\n});\n\n// src/services/textChanges.ts\nfunction getPos2(n) {\n  const result = n.__pos;\n  Debug.assert(typeof result === \"number\");\n  return result;\n}\nfunction setPos(n, pos) {\n  Debug.assert(typeof pos === \"number\");\n  n.__pos = pos;\n}\nfunction getEnd(n) {\n  const result = n.__end;\n  Debug.assert(typeof result === \"number\");\n  return result;\n}\nfunction setEnd(n, end) {\n  Debug.assert(typeof end === \"number\");\n  n.__end = end;\n}\nvar LeadingTriviaOption = /* @__PURE__ */ ((LeadingTriviaOption2) => {\n  LeadingTriviaOption2[LeadingTriviaOption2[\"Exclude\"] = 0] = \"Exclude\";\n  LeadingTriviaOption2[LeadingTriviaOption2[\"IncludeAll\"] = 1] = \"IncludeAll\";\n  LeadingTriviaOption2[LeadingTriviaOption2[\"JSDoc\"] = 2] = \"JSDoc\";\n  LeadingTriviaOption2[LeadingTriviaOption2[\"StartLine\"] = 3] = \"StartLine\";\n  return LeadingTriviaOption2;\n})(LeadingTriviaOption || {});\nvar TrailingTriviaOption = /* @__PURE__ */ ((TrailingTriviaOption2) => {\n  TrailingTriviaOption2[TrailingTriviaOption2[\"Exclude\"] = 0] = \"Exclude\";\n  TrailingTriviaOption2[TrailingTriviaOption2[\"ExcludeWhitespace\"] = 1] = \"ExcludeWhitespace\";\n  TrailingTriviaOption2[TrailingTriviaOption2[\"Include\"] = 2] = \"Include\";\n  return TrailingTriviaOption2;\n})(TrailingTriviaOption || {});\nfunction skipWhitespacesAndLineBreaks(text, start) {\n  return skipTrivia(text, start, false, true);\n}\nfunction hasCommentsBeforeLineBreak(text, start) {\n  let i = start;\n  while (i < text.length) {\n    const ch = text.charCodeAt(i);\n    if (isWhiteSpaceSingleLine(ch)) {\n      i++;\n      continue;\n    }\n    return ch === 47 /* slash */;\n  }\n  return false;\n}\nvar useNonAdjustedPositions = {\n  leadingTriviaOption: 0 /* Exclude */,\n  trailingTriviaOption: 0 /* Exclude */\n};\nvar ChangeKind = /* @__PURE__ */ ((ChangeKind2) => {\n  ChangeKind2[ChangeKind2[\"Remove\"] = 0] = \"Remove\";\n  ChangeKind2[ChangeKind2[\"ReplaceWithSingleNode\"] = 1] = \"ReplaceWithSingleNode\";\n  ChangeKind2[ChangeKind2[\"ReplaceWithMultipleNodes\"] = 2] = \"ReplaceWithMultipleNodes\";\n  ChangeKind2[ChangeKind2[\"Text\"] = 3] = \"Text\";\n  return ChangeKind2;\n})(ChangeKind || {});\nfunction getAdjustedRange(sourceFile, startNode2, endNode2, options) {\n  return { pos: getAdjustedStartPosition(sourceFile, startNode2, options), end: getAdjustedEndPosition(sourceFile, endNode2, options) };\n}\nfunction getAdjustedStartPosition(sourceFile, node, options, hasTrailingComment = false) {\n  var _a2, _b;\n  const { leadingTriviaOption } = options;\n  if (leadingTriviaOption === 0 /* Exclude */) {\n    return node.getStart(sourceFile);\n  }\n  if (leadingTriviaOption === 3 /* StartLine */) {\n    const startPos = node.getStart(sourceFile);\n    const pos = getLineStartPositionForPosition(startPos, sourceFile);\n    return rangeContainsPosition(node, pos) ? pos : startPos;\n  }\n  if (leadingTriviaOption === 2 /* JSDoc */) {\n    const JSDocComments = getJSDocCommentRanges(node, sourceFile.text);\n    if (JSDocComments == null ? void 0 : JSDocComments.length) {\n      return getLineStartPositionForPosition(JSDocComments[0].pos, sourceFile);\n    }\n  }\n  const fullStart = node.getFullStart();\n  const start = node.getStart(sourceFile);\n  if (fullStart === start) {\n    return start;\n  }\n  const fullStartLine = getLineStartPositionForPosition(fullStart, sourceFile);\n  const startLine = getLineStartPositionForPosition(start, sourceFile);\n  if (startLine === fullStartLine) {\n    return leadingTriviaOption === 1 /* IncludeAll */ ? fullStart : start;\n  }\n  if (hasTrailingComment) {\n    const comment = ((_a2 = getLeadingCommentRanges(sourceFile.text, fullStart)) == null ? void 0 : _a2[0]) || ((_b = getTrailingCommentRanges(sourceFile.text, fullStart)) == null ? void 0 : _b[0]);\n    if (comment) {\n      return skipTrivia(sourceFile.text, comment.end, true, true);\n    }\n  }\n  const nextLineStart = fullStart > 0 ? 1 : 0;\n  let adjustedStartPosition = getStartPositionOfLine(getLineOfLocalPosition(sourceFile, fullStartLine) + nextLineStart, sourceFile);\n  adjustedStartPosition = skipWhitespacesAndLineBreaks(sourceFile.text, adjustedStartPosition);\n  return getStartPositionOfLine(getLineOfLocalPosition(sourceFile, adjustedStartPosition), sourceFile);\n}\nfunction getEndPositionOfMultilineTrailingComment(sourceFile, node, options) {\n  const { end } = node;\n  const { trailingTriviaOption } = options;\n  if (trailingTriviaOption === 2 /* Include */) {\n    const comments = getTrailingCommentRanges(sourceFile.text, end);\n    if (comments) {\n      const nodeEndLine = getLineOfLocalPosition(sourceFile, node.end);\n      for (const comment of comments) {\n        if (comment.kind === 2 /* SingleLineCommentTrivia */ || getLineOfLocalPosition(sourceFile, comment.pos) > nodeEndLine) {\n          break;\n        }\n        const commentEndLine = getLineOfLocalPosition(sourceFile, comment.end);\n        if (commentEndLine > nodeEndLine) {\n          return skipTrivia(sourceFile.text, comment.end, true, true);\n        }\n      }\n    }\n  }\n  return void 0;\n}\nfunction getAdjustedEndPosition(sourceFile, node, options) {\n  var _a2;\n  const { end } = node;\n  const { trailingTriviaOption } = options;\n  if (trailingTriviaOption === 0 /* Exclude */) {\n    return end;\n  }\n  if (trailingTriviaOption === 1 /* ExcludeWhitespace */) {\n    const comments = concatenate(getTrailingCommentRanges(sourceFile.text, end), getLeadingCommentRanges(sourceFile.text, end));\n    const realEnd = (_a2 = comments == null ? void 0 : comments[comments.length - 1]) == null ? void 0 : _a2.end;\n    if (realEnd) {\n      return realEnd;\n    }\n    return end;\n  }\n  const multilineEndPosition = getEndPositionOfMultilineTrailingComment(sourceFile, node, options);\n  if (multilineEndPosition) {\n    return multilineEndPosition;\n  }\n  const newEnd = skipTrivia(sourceFile.text, end, true);\n  return newEnd !== end && (trailingTriviaOption === 2 /* Include */ || isLineBreak(sourceFile.text.charCodeAt(newEnd - 1))) ? newEnd : end;\n}\nfunction isSeparator(node, candidate) {\n  return !!candidate && !!node.parent && (candidate.kind === 27 /* CommaToken */ || candidate.kind === 26 /* SemicolonToken */ && node.parent.kind === 210 /* ObjectLiteralExpression */);\n}\nfunction isThisTypeAnnotatable(containingFunction) {\n  return isFunctionExpression(containingFunction) || isFunctionDeclaration(containingFunction);\n}\nvar ChangeTracker = class {\n  constructor(newLineCharacter, formatContext) {\n    this.newLineCharacter = newLineCharacter;\n    this.formatContext = formatContext;\n    this.changes = [];\n    this.newFiles = [];\n    this.classesWithNodesInsertedAtStart = new Map2();\n    this.deletedNodes = [];\n  }\n  static fromContext(context) {\n    return new ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);\n  }\n  static with(context, cb) {\n    const tracker = ChangeTracker.fromContext(context);\n    cb(tracker);\n    return tracker.getChanges();\n  }\n  pushRaw(sourceFile, change) {\n    Debug.assertEqual(sourceFile.fileName, change.fileName);\n    for (const c of change.textChanges) {\n      this.changes.push({\n        kind: 3 /* Text */,\n        sourceFile,\n        text: c.newText,\n        range: createTextRangeFromSpan(c.span)\n      });\n    }\n  }\n  deleteRange(sourceFile, range) {\n    this.changes.push({ kind: 0 /* Remove */, sourceFile, range });\n  }\n  delete(sourceFile, node) {\n    this.deletedNodes.push({ sourceFile, node });\n  }\n  deleteNode(sourceFile, node, options = { leadingTriviaOption: 1 /* IncludeAll */ }) {\n    this.deleteRange(sourceFile, getAdjustedRange(sourceFile, node, node, options));\n  }\n  deleteNodes(sourceFile, nodes, options = { leadingTriviaOption: 1 /* IncludeAll */ }, hasTrailingComment) {\n    for (const node of nodes) {\n      const pos = getAdjustedStartPosition(sourceFile, node, options, hasTrailingComment);\n      const end = getAdjustedEndPosition(sourceFile, node, options);\n      this.deleteRange(sourceFile, { pos, end });\n      hasTrailingComment = !!getEndPositionOfMultilineTrailingComment(sourceFile, node, options);\n    }\n  }\n  deleteModifier(sourceFile, modifier) {\n    this.deleteRange(sourceFile, { pos: modifier.getStart(sourceFile), end: skipTrivia(sourceFile.text, modifier.end, true) });\n  }\n  deleteNodeRange(sourceFile, startNode2, endNode2, options = { leadingTriviaOption: 1 /* IncludeAll */ }) {\n    const startPosition = getAdjustedStartPosition(sourceFile, startNode2, options);\n    const endPosition = getAdjustedEndPosition(sourceFile, endNode2, options);\n    this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });\n  }\n  deleteNodeRangeExcludingEnd(sourceFile, startNode2, afterEndNode, options = { leadingTriviaOption: 1 /* IncludeAll */ }) {\n    const startPosition = getAdjustedStartPosition(sourceFile, startNode2, options);\n    const endPosition = afterEndNode === void 0 ? sourceFile.text.length : getAdjustedStartPosition(sourceFile, afterEndNode, options);\n    this.deleteRange(sourceFile, { pos: startPosition, end: endPosition });\n  }\n  replaceRange(sourceFile, range, newNode, options = {}) {\n    this.changes.push({ kind: 1 /* ReplaceWithSingleNode */, sourceFile, range, options, node: newNode });\n  }\n  replaceNode(sourceFile, oldNode, newNode, options = useNonAdjustedPositions) {\n    this.replaceRange(sourceFile, getAdjustedRange(sourceFile, oldNode, oldNode, options), newNode, options);\n  }\n  replaceNodeRange(sourceFile, startNode2, endNode2, newNode, options = useNonAdjustedPositions) {\n    this.replaceRange(sourceFile, getAdjustedRange(sourceFile, startNode2, endNode2, options), newNode, options);\n  }\n  replaceRangeWithNodes(sourceFile, range, newNodes, options = {}) {\n    this.changes.push({ kind: 2 /* ReplaceWithMultipleNodes */, sourceFile, range, options, nodes: newNodes });\n  }\n  replaceNodeWithNodes(sourceFile, oldNode, newNodes, options = useNonAdjustedPositions) {\n    this.replaceRangeWithNodes(sourceFile, getAdjustedRange(sourceFile, oldNode, oldNode, options), newNodes, options);\n  }\n  replaceNodeWithText(sourceFile, oldNode, text) {\n    this.replaceRangeWithText(sourceFile, getAdjustedRange(sourceFile, oldNode, oldNode, useNonAdjustedPositions), text);\n  }\n  replaceNodeRangeWithNodes(sourceFile, startNode2, endNode2, newNodes, options = useNonAdjustedPositions) {\n    this.replaceRangeWithNodes(sourceFile, getAdjustedRange(sourceFile, startNode2, endNode2, options), newNodes, options);\n  }\n  nodeHasTrailingComment(sourceFile, oldNode, configurableEnd = useNonAdjustedPositions) {\n    return !!getEndPositionOfMultilineTrailingComment(sourceFile, oldNode, configurableEnd);\n  }\n  nextCommaToken(sourceFile, node) {\n    const next = findNextToken(node, node.parent, sourceFile);\n    return next && next.kind === 27 /* CommaToken */ ? next : void 0;\n  }\n  replacePropertyAssignment(sourceFile, oldNode, newNode) {\n    const suffix = this.nextCommaToken(sourceFile, oldNode) ? \"\" : \",\" + this.newLineCharacter;\n    this.replaceNode(sourceFile, oldNode, newNode, { suffix });\n  }\n  insertNodeAt(sourceFile, pos, newNode, options = {}) {\n    this.replaceRange(sourceFile, createRange(pos), newNode, options);\n  }\n  insertNodesAt(sourceFile, pos, newNodes, options = {}) {\n    this.replaceRangeWithNodes(sourceFile, createRange(pos), newNodes, options);\n  }\n  insertNodeAtTopOfFile(sourceFile, newNode, blankLineBetween) {\n    this.insertAtTopOfFile(sourceFile, newNode, blankLineBetween);\n  }\n  insertNodesAtTopOfFile(sourceFile, newNodes, blankLineBetween) {\n    this.insertAtTopOfFile(sourceFile, newNodes, blankLineBetween);\n  }\n  insertAtTopOfFile(sourceFile, insert, blankLineBetween) {\n    const pos = getInsertionPositionAtSourceFileTop(sourceFile);\n    const options = {\n      prefix: pos === 0 ? void 0 : this.newLineCharacter,\n      suffix: (isLineBreak(sourceFile.text.charCodeAt(pos)) ? \"\" : this.newLineCharacter) + (blankLineBetween ? this.newLineCharacter : \"\")\n    };\n    if (isArray(insert)) {\n      this.insertNodesAt(sourceFile, pos, insert, options);\n    } else {\n      this.insertNodeAt(sourceFile, pos, insert, options);\n    }\n  }\n  insertFirstParameter(sourceFile, parameters, newParam) {\n    const p0 = firstOrUndefined(parameters);\n    if (p0) {\n      this.insertNodeBefore(sourceFile, p0, newParam);\n    } else {\n      this.insertNodeAt(sourceFile, parameters.pos, newParam);\n    }\n  }\n  insertNodeBefore(sourceFile, before, newNode, blankLineBetween = false, options = {}) {\n    this.insertNodeAt(sourceFile, getAdjustedStartPosition(sourceFile, before, options), newNode, this.getOptionsForInsertNodeBefore(before, newNode, blankLineBetween));\n  }\n  insertModifierAt(sourceFile, pos, modifier, options = {}) {\n    this.insertNodeAt(sourceFile, pos, factory.createToken(modifier), options);\n  }\n  insertModifierBefore(sourceFile, modifier, before) {\n    return this.insertModifierAt(sourceFile, before.getStart(sourceFile), modifier, { suffix: \" \" });\n  }\n  insertCommentBeforeLine(sourceFile, lineNumber, position, commentText) {\n    const lineStartPosition = getStartPositionOfLine(lineNumber, sourceFile);\n    const startPosition = getFirstNonSpaceCharacterPosition(sourceFile.text, lineStartPosition);\n    const insertAtLineStart = isValidLocationToAddComment(sourceFile, startPosition);\n    const token = getTouchingToken(sourceFile, insertAtLineStart ? startPosition : position);\n    const indent2 = sourceFile.text.slice(lineStartPosition, startPosition);\n    const text = `${insertAtLineStart ? \"\" : this.newLineCharacter}//${commentText}${this.newLineCharacter}${indent2}`;\n    this.insertText(sourceFile, token.getStart(sourceFile), text);\n  }\n  insertJsdocCommentBefore(sourceFile, node, tag) {\n    const fnStart = node.getStart(sourceFile);\n    if (node.jsDoc) {\n      for (const jsdoc of node.jsDoc) {\n        this.deleteRange(sourceFile, {\n          pos: getLineStartPositionForPosition(jsdoc.getStart(sourceFile), sourceFile),\n          end: getAdjustedEndPosition(sourceFile, jsdoc, {})\n        });\n      }\n    }\n    const startPosition = getPrecedingNonSpaceCharacterPosition(sourceFile.text, fnStart - 1);\n    const indent2 = sourceFile.text.slice(startPosition, fnStart);\n    this.insertNodeAt(sourceFile, fnStart, tag, { suffix: this.newLineCharacter + indent2 });\n  }\n  createJSDocText(sourceFile, node) {\n    const comments = flatMap(node.jsDoc, (jsDoc2) => isString(jsDoc2.comment) ? factory.createJSDocText(jsDoc2.comment) : jsDoc2.comment);\n    const jsDoc = singleOrUndefined(node.jsDoc);\n    return jsDoc && positionsAreOnSameLine(jsDoc.pos, jsDoc.end, sourceFile) && length(comments) === 0 ? void 0 : factory.createNodeArray(intersperse(comments, factory.createJSDocText(\"\\n\")));\n  }\n  replaceJSDocComment(sourceFile, node, tags) {\n    this.insertJsdocCommentBefore(sourceFile, updateJSDocHost(node), factory.createJSDocComment(this.createJSDocText(sourceFile, node), factory.createNodeArray(tags)));\n  }\n  addJSDocTags(sourceFile, parent2, newTags) {\n    const oldTags = flatMapToMutable(parent2.jsDoc, (j) => j.tags);\n    const unmergedNewTags = newTags.filter((newTag) => !oldTags.some((tag, i) => {\n      const merged = tryMergeJsdocTags(tag, newTag);\n      if (merged)\n        oldTags[i] = merged;\n      return !!merged;\n    }));\n    this.replaceJSDocComment(sourceFile, parent2, [...oldTags, ...unmergedNewTags]);\n  }\n  filterJSDocTags(sourceFile, parent2, predicate) {\n    this.replaceJSDocComment(sourceFile, parent2, filter(flatMapToMutable(parent2.jsDoc, (j) => j.tags), predicate));\n  }\n  replaceRangeWithText(sourceFile, range, text) {\n    this.changes.push({ kind: 3 /* Text */, sourceFile, range, text });\n  }\n  insertText(sourceFile, pos, text) {\n    this.replaceRangeWithText(sourceFile, createRange(pos), text);\n  }\n  tryInsertTypeAnnotation(sourceFile, node, type) {\n    var _a2;\n    let endNode2;\n    if (isFunctionLike(node)) {\n      endNode2 = findChildOfKind(node, 21 /* CloseParenToken */, sourceFile);\n      if (!endNode2) {\n        if (!isArrowFunction(node))\n          return false;\n        endNode2 = first(node.parameters);\n      }\n    } else {\n      endNode2 = (_a2 = node.kind === 261 /* VariableDeclaration */ ? node.exclamationToken : node.questionToken) != null ? _a2 : node.name;\n    }\n    this.insertNodeAt(sourceFile, endNode2.end, type, { prefix: \": \" });\n    return true;\n  }\n  tryInsertThisTypeAnnotation(sourceFile, node, type) {\n    const start = findChildOfKind(node, 20 /* OpenParenToken */, sourceFile).getStart(sourceFile) + 1;\n    const suffix = node.parameters.length ? \", \" : \"\";\n    this.insertNodeAt(sourceFile, start, type, { prefix: \"this: \", suffix });\n  }\n  insertTypeParameters(sourceFile, node, typeParameters) {\n    const start = (findChildOfKind(node, 20 /* OpenParenToken */, sourceFile) || first(node.parameters)).getStart(sourceFile);\n    this.insertNodesAt(sourceFile, start, typeParameters, { prefix: \"<\", suffix: \">\", joiner: \", \" });\n  }\n  getOptionsForInsertNodeBefore(before, inserted, blankLineBetween) {\n    if (isStatement(before) || isClassElement(before)) {\n      return { suffix: blankLineBetween ? this.newLineCharacter + this.newLineCharacter : this.newLineCharacter };\n    } else if (isVariableDeclaration(before)) {\n      return { suffix: \", \" };\n    } else if (isParameter(before)) {\n      return isParameter(inserted) ? { suffix: \", \" } : {};\n    } else if (isStringLiteral(before) && isImportDeclaration(before.parent) || isNamedImports(before)) {\n      return { suffix: \", \" };\n    } else if (isImportSpecifier(before)) {\n      return { suffix: \",\" + (blankLineBetween ? this.newLineCharacter : \" \") };\n    }\n    return Debug.failBadSyntaxKind(before);\n  }\n  insertNodeAtConstructorStart(sourceFile, ctr, newStatement) {\n    const firstStatement = firstOrUndefined(ctr.body.statements);\n    if (!firstStatement || !ctr.body.multiLine) {\n      this.replaceConstructorBody(sourceFile, ctr, [newStatement, ...ctr.body.statements]);\n    } else {\n      this.insertNodeBefore(sourceFile, firstStatement, newStatement);\n    }\n  }\n  insertNodeAtConstructorStartAfterSuperCall(sourceFile, ctr, newStatement) {\n    const superCallStatement = find(ctr.body.statements, (stmt) => isExpressionStatement(stmt) && isSuperCall(stmt.expression));\n    if (!superCallStatement || !ctr.body.multiLine) {\n      this.replaceConstructorBody(sourceFile, ctr, [...ctr.body.statements, newStatement]);\n    } else {\n      this.insertNodeAfter(sourceFile, superCallStatement, newStatement);\n    }\n  }\n  insertNodeAtConstructorEnd(sourceFile, ctr, newStatement) {\n    const lastStatement = lastOrUndefined(ctr.body.statements);\n    if (!lastStatement || !ctr.body.multiLine) {\n      this.replaceConstructorBody(sourceFile, ctr, [...ctr.body.statements, newStatement]);\n    } else {\n      this.insertNodeAfter(sourceFile, lastStatement, newStatement);\n    }\n  }\n  replaceConstructorBody(sourceFile, ctr, statements) {\n    this.replaceNode(sourceFile, ctr.body, factory.createBlock(statements, true));\n  }\n  insertNodeAtEndOfScope(sourceFile, scope, newNode) {\n    const pos = getAdjustedStartPosition(sourceFile, scope.getLastToken(), {});\n    this.insertNodeAt(sourceFile, pos, newNode, {\n      prefix: isLineBreak(sourceFile.text.charCodeAt(scope.getLastToken().pos)) ? this.newLineCharacter : this.newLineCharacter + this.newLineCharacter,\n      suffix: this.newLineCharacter\n    });\n  }\n  insertMemberAtStart(sourceFile, node, newElement) {\n    this.insertNodeAtStartWorker(sourceFile, node, newElement);\n  }\n  insertNodeAtObjectStart(sourceFile, obj, newElement) {\n    this.insertNodeAtStartWorker(sourceFile, obj, newElement);\n  }\n  insertNodeAtStartWorker(sourceFile, node, newElement) {\n    var _a2;\n    const indentation = (_a2 = this.guessIndentationFromExistingMembers(sourceFile, node)) != null ? _a2 : this.computeIndentationForNewMember(sourceFile, node);\n    this.insertNodeAt(sourceFile, getMembersOrProperties(node).pos, newElement, this.getInsertNodeAtStartInsertOptions(sourceFile, node, indentation));\n  }\n  guessIndentationFromExistingMembers(sourceFile, node) {\n    let indentation;\n    let lastRange = node;\n    for (const member of getMembersOrProperties(node)) {\n      if (rangeStartPositionsAreOnSameLine(lastRange, member, sourceFile)) {\n        return void 0;\n      }\n      const memberStart = member.getStart(sourceFile);\n      const memberIndentation = ts_formatting_exports.SmartIndenter.findFirstNonWhitespaceColumn(getLineStartPositionForPosition(memberStart, sourceFile), memberStart, sourceFile, this.formatContext.options);\n      if (indentation === void 0) {\n        indentation = memberIndentation;\n      } else if (memberIndentation !== indentation) {\n        return void 0;\n      }\n      lastRange = member;\n    }\n    return indentation;\n  }\n  computeIndentationForNewMember(sourceFile, node) {\n    var _a2;\n    const nodeStart = node.getStart(sourceFile);\n    return ts_formatting_exports.SmartIndenter.findFirstNonWhitespaceColumn(getLineStartPositionForPosition(nodeStart, sourceFile), nodeStart, sourceFile, this.formatContext.options) + ((_a2 = this.formatContext.options.indentSize) != null ? _a2 : 4);\n  }\n  getInsertNodeAtStartInsertOptions(sourceFile, node, indentation) {\n    const members = getMembersOrProperties(node);\n    const isEmpty = members.length === 0;\n    const isFirstInsertion = addToSeen(this.classesWithNodesInsertedAtStart, getNodeId(node), { node, sourceFile });\n    const insertTrailingComma = isObjectLiteralExpression(node) && (!isJsonSourceFile(sourceFile) || !isEmpty);\n    const insertLeadingComma = isObjectLiteralExpression(node) && isJsonSourceFile(sourceFile) && isEmpty && !isFirstInsertion;\n    return {\n      indentation,\n      prefix: (insertLeadingComma ? \",\" : \"\") + this.newLineCharacter,\n      suffix: insertTrailingComma ? \",\" : isInterfaceDeclaration(node) && isEmpty ? \";\" : \"\"\n    };\n  }\n  insertNodeAfterComma(sourceFile, after, newNode) {\n    const endPosition = this.insertNodeAfterWorker(sourceFile, this.nextCommaToken(sourceFile, after) || after, newNode);\n    this.insertNodeAt(sourceFile, endPosition, newNode, this.getInsertNodeAfterOptions(sourceFile, after));\n  }\n  insertNodeAfter(sourceFile, after, newNode) {\n    const endPosition = this.insertNodeAfterWorker(sourceFile, after, newNode);\n    this.insertNodeAt(sourceFile, endPosition, newNode, this.getInsertNodeAfterOptions(sourceFile, after));\n  }\n  insertNodeAtEndOfList(sourceFile, list, newNode) {\n    this.insertNodeAt(sourceFile, list.end, newNode, { prefix: \", \" });\n  }\n  insertNodesAfter(sourceFile, after, newNodes) {\n    const endPosition = this.insertNodeAfterWorker(sourceFile, after, first(newNodes));\n    this.insertNodesAt(sourceFile, endPosition, newNodes, this.getInsertNodeAfterOptions(sourceFile, after));\n  }\n  insertNodeAfterWorker(sourceFile, after, newNode) {\n    if (needSemicolonBetween(after, newNode)) {\n      if (sourceFile.text.charCodeAt(after.end - 1) !== 59 /* semicolon */) {\n        this.replaceRange(sourceFile, createRange(after.end), factory.createToken(26 /* SemicolonToken */));\n      }\n    }\n    const endPosition = getAdjustedEndPosition(sourceFile, after, {});\n    return endPosition;\n  }\n  getInsertNodeAfterOptions(sourceFile, after) {\n    const options = this.getInsertNodeAfterOptionsWorker(after);\n    return {\n      ...options,\n      prefix: after.end === sourceFile.end && isStatement(after) ? options.prefix ? `\n${options.prefix}` : \"\\n\" : options.prefix\n    };\n  }\n  getInsertNodeAfterOptionsWorker(node) {\n    switch (node.kind) {\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 270 /* ModuleDeclaration */:\n        return { prefix: this.newLineCharacter, suffix: this.newLineCharacter };\n      case 261 /* VariableDeclaration */:\n      case 10 /* StringLiteral */:\n      case 79 /* Identifier */:\n        return { prefix: \", \" };\n      case 305 /* PropertyAssignment */:\n        return { suffix: \",\" + this.newLineCharacter };\n      case 94 /* ExportKeyword */:\n        return { prefix: \" \" };\n      case 168 /* Parameter */:\n        return {};\n      default:\n        Debug.assert(isStatement(node) || isClassOrTypeElement(node));\n        return { suffix: this.newLineCharacter };\n    }\n  }\n  insertName(sourceFile, node, name) {\n    Debug.assert(!node.name);\n    if (node.kind === 219 /* ArrowFunction */) {\n      const arrow = findChildOfKind(node, 38 /* EqualsGreaterThanToken */, sourceFile);\n      const lparen = findChildOfKind(node, 20 /* OpenParenToken */, sourceFile);\n      if (lparen) {\n        this.insertNodesAt(sourceFile, lparen.getStart(sourceFile), [factory.createToken(99 /* FunctionKeyword */), factory.createIdentifier(name)], { joiner: \" \" });\n        deleteNode(this, sourceFile, arrow);\n      } else {\n        this.insertText(sourceFile, first(node.parameters).getStart(sourceFile), `function ${name}(`);\n        this.replaceRange(sourceFile, arrow, factory.createToken(21 /* CloseParenToken */));\n      }\n      if (node.body.kind !== 242 /* Block */) {\n        this.insertNodesAt(sourceFile, node.body.getStart(sourceFile), [factory.createToken(18 /* OpenBraceToken */), factory.createToken(106 /* ReturnKeyword */)], { joiner: \" \", suffix: \" \" });\n        this.insertNodesAt(sourceFile, node.body.end, [factory.createToken(26 /* SemicolonToken */), factory.createToken(19 /* CloseBraceToken */)], { joiner: \" \" });\n      }\n    } else {\n      const pos = findChildOfKind(node, node.kind === 218 /* FunctionExpression */ ? 99 /* FunctionKeyword */ : 84 /* ClassKeyword */, sourceFile).end;\n      this.insertNodeAt(sourceFile, pos, factory.createIdentifier(name), { prefix: \" \" });\n    }\n  }\n  insertExportModifier(sourceFile, node) {\n    this.insertText(sourceFile, node.getStart(sourceFile), \"export \");\n  }\n  insertImportSpecifierAtIndex(sourceFile, importSpecifier, namedImports, index) {\n    const prevSpecifier = namedImports.elements[index - 1];\n    if (prevSpecifier) {\n      this.insertNodeInListAfter(sourceFile, prevSpecifier, importSpecifier);\n    } else {\n      this.insertNodeBefore(\n        sourceFile,\n        namedImports.elements[0],\n        importSpecifier,\n        !positionsAreOnSameLine(namedImports.elements[0].getStart(), namedImports.parent.parent.getStart(), sourceFile)\n      );\n    }\n  }\n  insertNodeInListAfter(sourceFile, after, newNode, containingList = ts_formatting_exports.SmartIndenter.getContainingList(after, sourceFile)) {\n    if (!containingList) {\n      Debug.fail(\"node is not a list element\");\n      return;\n    }\n    const index = indexOfNode(containingList, after);\n    if (index < 0) {\n      return;\n    }\n    const end = after.getEnd();\n    if (index !== containingList.length - 1) {\n      const nextToken = getTokenAtPosition(sourceFile, after.end);\n      if (nextToken && isSeparator(after, nextToken)) {\n        const nextNode = containingList[index + 1];\n        const startPos = skipWhitespacesAndLineBreaks(sourceFile.text, nextNode.getFullStart());\n        const suffix = `${tokenToString(nextToken.kind)}${sourceFile.text.substring(nextToken.end, startPos)}`;\n        this.insertNodesAt(sourceFile, startPos, [newNode], { suffix });\n      }\n    } else {\n      const afterStart = after.getStart(sourceFile);\n      const afterStartLinePosition = getLineStartPositionForPosition(afterStart, sourceFile);\n      let separator;\n      let multilineList = false;\n      if (containingList.length === 1) {\n        separator = 27 /* CommaToken */;\n      } else {\n        const tokenBeforeInsertPosition = findPrecedingToken(after.pos, sourceFile);\n        separator = isSeparator(after, tokenBeforeInsertPosition) ? tokenBeforeInsertPosition.kind : 27 /* CommaToken */;\n        const afterMinusOneStartLinePosition = getLineStartPositionForPosition(containingList[index - 1].getStart(sourceFile), sourceFile);\n        multilineList = afterMinusOneStartLinePosition !== afterStartLinePosition;\n      }\n      if (hasCommentsBeforeLineBreak(sourceFile.text, after.end)) {\n        multilineList = true;\n      }\n      if (multilineList) {\n        this.replaceRange(sourceFile, createRange(end), factory.createToken(separator));\n        const indentation = ts_formatting_exports.SmartIndenter.findFirstNonWhitespaceColumn(afterStartLinePosition, afterStart, sourceFile, this.formatContext.options);\n        let insertPos = skipTrivia(sourceFile.text, end, true, false);\n        while (insertPos !== end && isLineBreak(sourceFile.text.charCodeAt(insertPos - 1))) {\n          insertPos--;\n        }\n        this.replaceRange(sourceFile, createRange(insertPos), newNode, { indentation, prefix: this.newLineCharacter });\n      } else {\n        this.replaceRange(sourceFile, createRange(end), newNode, { prefix: `${tokenToString(separator)} ` });\n      }\n    }\n  }\n  parenthesizeExpression(sourceFile, expression) {\n    this.replaceRange(sourceFile, rangeOfNode(expression), factory.createParenthesizedExpression(expression));\n  }\n  finishClassesWithNodesInsertedAtStart() {\n    this.classesWithNodesInsertedAtStart.forEach(({ node, sourceFile }) => {\n      const [openBraceEnd, closeBraceEnd] = getClassOrObjectBraceEnds(node, sourceFile);\n      if (openBraceEnd !== void 0 && closeBraceEnd !== void 0) {\n        const isEmpty = getMembersOrProperties(node).length === 0;\n        const isSingleLine = positionsAreOnSameLine(openBraceEnd, closeBraceEnd, sourceFile);\n        if (isEmpty && isSingleLine && openBraceEnd !== closeBraceEnd - 1) {\n          this.deleteRange(sourceFile, createRange(openBraceEnd, closeBraceEnd - 1));\n        }\n        if (isSingleLine) {\n          this.insertText(sourceFile, closeBraceEnd - 1, this.newLineCharacter);\n        }\n      }\n    });\n  }\n  finishDeleteDeclarations() {\n    const deletedNodesInLists = new Set2();\n    for (const { sourceFile, node } of this.deletedNodes) {\n      if (!this.deletedNodes.some((d) => d.sourceFile === sourceFile && rangeContainsRangeExclusive(d.node, node))) {\n        if (isArray(node)) {\n          this.deleteRange(sourceFile, rangeOfTypeParameters(sourceFile, node));\n        } else {\n          deleteDeclaration.deleteDeclaration(this, deletedNodesInLists, sourceFile, node);\n        }\n      }\n    }\n    deletedNodesInLists.forEach((node) => {\n      const sourceFile = node.getSourceFile();\n      const list = ts_formatting_exports.SmartIndenter.getContainingList(node, sourceFile);\n      if (node !== last(list))\n        return;\n      const lastNonDeletedIndex = findLastIndex(list, (n) => !deletedNodesInLists.has(n), list.length - 2);\n      if (lastNonDeletedIndex !== -1) {\n        this.deleteRange(sourceFile, { pos: list[lastNonDeletedIndex].end, end: startPositionToDeleteNodeInList(sourceFile, list[lastNonDeletedIndex + 1]) });\n      }\n    });\n  }\n  getChanges(validate) {\n    this.finishDeleteDeclarations();\n    this.finishClassesWithNodesInsertedAtStart();\n    const changes = changesToText.getTextChangesFromChanges(this.changes, this.newLineCharacter, this.formatContext, validate);\n    for (const { oldFile, fileName, statements } of this.newFiles) {\n      changes.push(changesToText.newFileChanges(oldFile, fileName, statements, this.newLineCharacter, this.formatContext));\n    }\n    return changes;\n  }\n  createNewFile(oldFile, fileName, statements) {\n    this.newFiles.push({ oldFile, fileName, statements });\n  }\n};\nfunction updateJSDocHost(parent2) {\n  if (parent2.kind !== 219 /* ArrowFunction */) {\n    return parent2;\n  }\n  const jsDocNode = parent2.parent.kind === 171 /* PropertyDeclaration */ ? parent2.parent : parent2.parent.parent;\n  jsDocNode.jsDoc = parent2.jsDoc;\n  jsDocNode.jsDocCache = parent2.jsDocCache;\n  return jsDocNode;\n}\nfunction tryMergeJsdocTags(oldTag, newTag) {\n  if (oldTag.kind !== newTag.kind) {\n    return void 0;\n  }\n  switch (oldTag.kind) {\n    case 349 /* JSDocParameterTag */: {\n      const oldParam = oldTag;\n      const newParam = newTag;\n      return isIdentifier(oldParam.name) && isIdentifier(newParam.name) && oldParam.name.escapedText === newParam.name.escapedText ? factory.createJSDocParameterTag(void 0, newParam.name, false, newParam.typeExpression, newParam.isNameFirst, oldParam.comment) : void 0;\n    }\n    case 350 /* JSDocReturnTag */:\n      return factory.createJSDocReturnTag(void 0, newTag.typeExpression, oldTag.comment);\n    case 352 /* JSDocTypeTag */:\n      return factory.createJSDocTypeTag(void 0, newTag.typeExpression, oldTag.comment);\n  }\n}\nfunction startPositionToDeleteNodeInList(sourceFile, node) {\n  return skipTrivia(sourceFile.text, getAdjustedStartPosition(sourceFile, node, { leadingTriviaOption: 1 /* IncludeAll */ }), false, true);\n}\nfunction endPositionToDeleteNodeInList(sourceFile, node, prevNode, nextNode) {\n  const end = startPositionToDeleteNodeInList(sourceFile, nextNode);\n  if (prevNode === void 0 || positionsAreOnSameLine(getAdjustedEndPosition(sourceFile, node, {}), end, sourceFile)) {\n    return end;\n  }\n  const token = findPrecedingToken(nextNode.getStart(sourceFile), sourceFile);\n  if (isSeparator(node, token)) {\n    const prevToken = findPrecedingToken(node.getStart(sourceFile), sourceFile);\n    if (isSeparator(prevNode, prevToken)) {\n      const pos = skipTrivia(sourceFile.text, token.getEnd(), true, true);\n      if (positionsAreOnSameLine(prevToken.getStart(sourceFile), token.getStart(sourceFile), sourceFile)) {\n        return isLineBreak(sourceFile.text.charCodeAt(pos - 1)) ? pos - 1 : pos;\n      }\n      if (isLineBreak(sourceFile.text.charCodeAt(pos))) {\n        return pos;\n      }\n    }\n  }\n  return end;\n}\nfunction getClassOrObjectBraceEnds(cls, sourceFile) {\n  const open = findChildOfKind(cls, 18 /* OpenBraceToken */, sourceFile);\n  const close = findChildOfKind(cls, 19 /* CloseBraceToken */, sourceFile);\n  return [open == null ? void 0 : open.end, close == null ? void 0 : close.end];\n}\nfunction getMembersOrProperties(node) {\n  return isObjectLiteralExpression(node) ? node.properties : node.members;\n}\nfunction getNewFileText(statements, scriptKind, newLineCharacter, formatContext) {\n  return changesToText.newFileChangesWorker(void 0, scriptKind, statements, newLineCharacter, formatContext);\n}\nvar changesToText;\n((changesToText2) => {\n  function getTextChangesFromChanges(changes, newLineCharacter, formatContext, validate) {\n    return mapDefined(group(changes, (c) => c.sourceFile.path), (changesInFile) => {\n      const sourceFile = changesInFile[0].sourceFile;\n      const normalized = stableSort(changesInFile, (a, b) => a.range.pos - b.range.pos || a.range.end - b.range.end);\n      for (let i = 0; i < normalized.length - 1; i++) {\n        Debug.assert(normalized[i].range.end <= normalized[i + 1].range.pos, \"Changes overlap\", () => `${JSON.stringify(normalized[i].range)} and ${JSON.stringify(normalized[i + 1].range)}`);\n      }\n      const textChanges3 = mapDefined(normalized, (c) => {\n        const span = createTextSpanFromRange(c.range);\n        const newText = computeNewText(c, sourceFile, newLineCharacter, formatContext, validate);\n        if (span.length === newText.length && stringContainsAt(sourceFile.text, newText, span.start)) {\n          return void 0;\n        }\n        return createTextChange(span, newText);\n      });\n      return textChanges3.length > 0 ? { fileName: sourceFile.fileName, textChanges: textChanges3 } : void 0;\n    });\n  }\n  changesToText2.getTextChangesFromChanges = getTextChangesFromChanges;\n  function newFileChanges(oldFile, fileName, statements, newLineCharacter, formatContext) {\n    const text = newFileChangesWorker(oldFile, getScriptKindFromFileName(fileName), statements, newLineCharacter, formatContext);\n    return { fileName, textChanges: [createTextChange(createTextSpan(0, 0), text)], isNewFile: true };\n  }\n  changesToText2.newFileChanges = newFileChanges;\n  function newFileChangesWorker(oldFile, scriptKind, statements, newLineCharacter, formatContext) {\n    const nonFormattedText = statements.map((s) => s === 4 /* NewLineTrivia */ ? \"\" : getNonformattedText(s, oldFile, newLineCharacter).text).join(newLineCharacter);\n    const sourceFile = createSourceFile(\"any file name\", nonFormattedText, 99 /* ESNext */, true, scriptKind);\n    const changes = ts_formatting_exports.formatDocument(sourceFile, formatContext);\n    return applyChanges(nonFormattedText, changes) + newLineCharacter;\n  }\n  changesToText2.newFileChangesWorker = newFileChangesWorker;\n  function computeNewText(change, sourceFile, newLineCharacter, formatContext, validate) {\n    var _a2;\n    if (change.kind === 0 /* Remove */) {\n      return \"\";\n    }\n    if (change.kind === 3 /* Text */) {\n      return change.text;\n    }\n    const { options = {}, range: { pos } } = change;\n    const format = (n) => getFormattedTextOfNode(n, sourceFile, pos, options, newLineCharacter, formatContext, validate);\n    const text = change.kind === 2 /* ReplaceWithMultipleNodes */ ? change.nodes.map((n) => removeSuffix(format(n), newLineCharacter)).join(((_a2 = change.options) == null ? void 0 : _a2.joiner) || newLineCharacter) : format(change.node);\n    const noIndent = options.indentation !== void 0 || getLineStartPositionForPosition(pos, sourceFile) === pos ? text : text.replace(/^\\s+/, \"\");\n    return (options.prefix || \"\") + noIndent + (!options.suffix || endsWith(noIndent, options.suffix) ? \"\" : options.suffix);\n  }\n  function getFormattedTextOfNode(nodeIn, sourceFile, pos, { indentation, prefix, delta }, newLineCharacter, formatContext, validate) {\n    const { node, text } = getNonformattedText(nodeIn, sourceFile, newLineCharacter);\n    if (validate)\n      validate(node, text);\n    const formatOptions = getFormatCodeSettingsForWriting(formatContext, sourceFile);\n    const initialIndentation = indentation !== void 0 ? indentation : ts_formatting_exports.SmartIndenter.getIndentation(pos, sourceFile, formatOptions, prefix === newLineCharacter || getLineStartPositionForPosition(pos, sourceFile) === pos);\n    if (delta === void 0) {\n      delta = ts_formatting_exports.SmartIndenter.shouldIndentChildNode(formatOptions, nodeIn) ? formatOptions.indentSize || 0 : 0;\n    }\n    const file = {\n      text,\n      getLineAndCharacterOfPosition(pos2) {\n        return getLineAndCharacterOfPosition(this, pos2);\n      }\n    };\n    const changes = ts_formatting_exports.formatNodeGivenIndentation(node, file, sourceFile.languageVariant, initialIndentation, delta, { ...formatContext, options: formatOptions });\n    return applyChanges(text, changes);\n  }\n  function getNonformattedText(node, sourceFile, newLineCharacter) {\n    const writer = createWriter(newLineCharacter);\n    const newLine = getNewLineKind(newLineCharacter);\n    createPrinter({\n      newLine,\n      neverAsciiEscape: true,\n      preserveSourceNewlines: true,\n      terminateUnterminatedLiterals: true\n    }, writer).writeNode(4 /* Unspecified */, node, sourceFile, writer);\n    return { text: writer.getText(), node: assignPositionsToNode(node) };\n  }\n  changesToText2.getNonformattedText = getNonformattedText;\n})(changesToText || (changesToText = {}));\nfunction applyChanges(text, changes) {\n  for (let i = changes.length - 1; i >= 0; i--) {\n    const { span, newText } = changes[i];\n    text = `${text.substring(0, span.start)}${newText}${text.substring(textSpanEnd(span))}`;\n  }\n  return text;\n}\nfunction isTrivia2(s) {\n  return skipTrivia(s, 0) === s.length;\n}\nvar textChangesTransformationContext = {\n  ...nullTransformationContext,\n  factory: createNodeFactory(\n    nullTransformationContext.factory.flags | 1 /* NoParenthesizerRules */,\n    nullTransformationContext.factory.baseFactory\n  )\n};\nfunction assignPositionsToNode(node) {\n  const visited = visitEachChild(node, assignPositionsToNode, textChangesTransformationContext, assignPositionsToNodeArray, assignPositionsToNode);\n  const newNode = nodeIsSynthesized(visited) ? visited : Object.create(visited);\n  setTextRangePosEnd(newNode, getPos2(node), getEnd(node));\n  return newNode;\n}\nfunction assignPositionsToNodeArray(nodes, visitor, test, start, count) {\n  const visited = visitNodes2(nodes, visitor, test, start, count);\n  if (!visited) {\n    return visited;\n  }\n  const nodeArray = visited === nodes ? factory.createNodeArray(visited.slice(0)) : visited;\n  setTextRangePosEnd(nodeArray, getPos2(nodes), getEnd(nodes));\n  return nodeArray;\n}\nfunction createWriter(newLine) {\n  let lastNonTriviaPosition = 0;\n  const writer = createTextWriter(newLine);\n  const onBeforeEmitNode = (node) => {\n    if (node) {\n      setPos(node, lastNonTriviaPosition);\n    }\n  };\n  const onAfterEmitNode = (node) => {\n    if (node) {\n      setEnd(node, lastNonTriviaPosition);\n    }\n  };\n  const onBeforeEmitNodeArray = (nodes) => {\n    if (nodes) {\n      setPos(nodes, lastNonTriviaPosition);\n    }\n  };\n  const onAfterEmitNodeArray = (nodes) => {\n    if (nodes) {\n      setEnd(nodes, lastNonTriviaPosition);\n    }\n  };\n  const onBeforeEmitToken = (node) => {\n    if (node) {\n      setPos(node, lastNonTriviaPosition);\n    }\n  };\n  const onAfterEmitToken = (node) => {\n    if (node) {\n      setEnd(node, lastNonTriviaPosition);\n    }\n  };\n  function setLastNonTriviaPosition(s, force) {\n    if (force || !isTrivia2(s)) {\n      lastNonTriviaPosition = writer.getTextPos();\n      let i = 0;\n      while (isWhiteSpaceLike(s.charCodeAt(s.length - i - 1))) {\n        i++;\n      }\n      lastNonTriviaPosition -= i;\n    }\n  }\n  function write(s) {\n    writer.write(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeComment(s) {\n    writer.writeComment(s);\n  }\n  function writeKeyword(s) {\n    writer.writeKeyword(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeOperator(s) {\n    writer.writeOperator(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writePunctuation(s) {\n    writer.writePunctuation(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeTrailingSemicolon(s) {\n    writer.writeTrailingSemicolon(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeParameter(s) {\n    writer.writeParameter(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeProperty(s) {\n    writer.writeProperty(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeSpace(s) {\n    writer.writeSpace(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeStringLiteral(s) {\n    writer.writeStringLiteral(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeSymbol(s, sym) {\n    writer.writeSymbol(s, sym);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeLine(force) {\n    writer.writeLine(force);\n  }\n  function increaseIndent() {\n    writer.increaseIndent();\n  }\n  function decreaseIndent() {\n    writer.decreaseIndent();\n  }\n  function getText() {\n    return writer.getText();\n  }\n  function rawWrite(s) {\n    writer.rawWrite(s);\n    setLastNonTriviaPosition(s, false);\n  }\n  function writeLiteral(s) {\n    writer.writeLiteral(s);\n    setLastNonTriviaPosition(s, true);\n  }\n  function getTextPos() {\n    return writer.getTextPos();\n  }\n  function getLine() {\n    return writer.getLine();\n  }\n  function getColumn() {\n    return writer.getColumn();\n  }\n  function getIndent() {\n    return writer.getIndent();\n  }\n  function isAtStartOfLine() {\n    return writer.isAtStartOfLine();\n  }\n  function clear2() {\n    writer.clear();\n    lastNonTriviaPosition = 0;\n  }\n  return {\n    onBeforeEmitNode,\n    onAfterEmitNode,\n    onBeforeEmitNodeArray,\n    onAfterEmitNodeArray,\n    onBeforeEmitToken,\n    onAfterEmitToken,\n    write,\n    writeComment,\n    writeKeyword,\n    writeOperator,\n    writePunctuation,\n    writeTrailingSemicolon,\n    writeParameter,\n    writeProperty,\n    writeSpace,\n    writeStringLiteral,\n    writeSymbol,\n    writeLine,\n    increaseIndent,\n    decreaseIndent,\n    getText,\n    rawWrite,\n    writeLiteral,\n    getTextPos,\n    getLine,\n    getColumn,\n    getIndent,\n    isAtStartOfLine,\n    hasTrailingComment: () => writer.hasTrailingComment(),\n    hasTrailingWhitespace: () => writer.hasTrailingWhitespace(),\n    clear: clear2\n  };\n}\nfunction getInsertionPositionAtSourceFileTop(sourceFile) {\n  let lastPrologue;\n  for (const node of sourceFile.statements) {\n    if (isPrologueDirective(node)) {\n      lastPrologue = node;\n    } else {\n      break;\n    }\n  }\n  let position = 0;\n  const text = sourceFile.text;\n  if (lastPrologue) {\n    position = lastPrologue.end;\n    advancePastLineBreak();\n    return position;\n  }\n  const shebang = getShebang(text);\n  if (shebang !== void 0) {\n    position = shebang.length;\n    advancePastLineBreak();\n  }\n  const ranges = getLeadingCommentRanges(text, position);\n  if (!ranges)\n    return position;\n  let lastComment;\n  let firstNodeLine;\n  for (const range of ranges) {\n    if (range.kind === 3 /* MultiLineCommentTrivia */) {\n      if (isPinnedComment(text, range.pos)) {\n        lastComment = { range, pinnedOrTripleSlash: true };\n        continue;\n      }\n    } else if (isRecognizedTripleSlashComment(text, range.pos, range.end)) {\n      lastComment = { range, pinnedOrTripleSlash: true };\n      continue;\n    }\n    if (lastComment) {\n      if (lastComment.pinnedOrTripleSlash)\n        break;\n      const commentLine = sourceFile.getLineAndCharacterOfPosition(range.pos).line;\n      const lastCommentEndLine = sourceFile.getLineAndCharacterOfPosition(lastComment.range.end).line;\n      if (commentLine >= lastCommentEndLine + 2)\n        break;\n    }\n    if (sourceFile.statements.length) {\n      if (firstNodeLine === void 0)\n        firstNodeLine = sourceFile.getLineAndCharacterOfPosition(sourceFile.statements[0].getStart()).line;\n      const commentEndLine = sourceFile.getLineAndCharacterOfPosition(range.end).line;\n      if (firstNodeLine < commentEndLine + 2)\n        break;\n    }\n    lastComment = { range, pinnedOrTripleSlash: false };\n  }\n  if (lastComment) {\n    position = lastComment.range.end;\n    advancePastLineBreak();\n  }\n  return position;\n  function advancePastLineBreak() {\n    if (position < text.length) {\n      const charCode = text.charCodeAt(position);\n      if (isLineBreak(charCode)) {\n        position++;\n        if (position < text.length && charCode === 13 /* carriageReturn */ && text.charCodeAt(position) === 10 /* lineFeed */) {\n          position++;\n        }\n      }\n    }\n  }\n}\nfunction isValidLocationToAddComment(sourceFile, position) {\n  return !isInComment(sourceFile, position) && !isInString(sourceFile, position) && !isInTemplateString(sourceFile, position) && !isInJSXText(sourceFile, position);\n}\nfunction needSemicolonBetween(a, b) {\n  return (isPropertySignature(a) || isPropertyDeclaration(a)) && isClassOrTypeElement(b) && b.name.kind === 166 /* ComputedPropertyName */ || isStatementButNotDeclaration(a) && isStatementButNotDeclaration(b);\n}\nvar deleteDeclaration;\n((_deleteDeclaration) => {\n  function deleteDeclaration2(changes, deletedNodesInLists, sourceFile, node) {\n    switch (node.kind) {\n      case 168 /* Parameter */: {\n        const oldFunction = node.parent;\n        if (isArrowFunction(oldFunction) && oldFunction.parameters.length === 1 && !findChildOfKind(oldFunction, 20 /* OpenParenToken */, sourceFile)) {\n          changes.replaceNodeWithText(sourceFile, node, \"()\");\n        } else {\n          deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n        }\n        break;\n      }\n      case 275 /* ImportDeclaration */:\n      case 274 /* ImportEqualsDeclaration */:\n        const isFirstImport = sourceFile.imports.length && node === first(sourceFile.imports).parent || node === find(sourceFile.statements, isAnyImportSyntax);\n        deleteNode(changes, sourceFile, node, {\n          leadingTriviaOption: isFirstImport ? 0 /* Exclude */ : hasJSDocNodes(node) ? 2 /* JSDoc */ : 3 /* StartLine */\n        });\n        break;\n      case 208 /* BindingElement */:\n        const pattern = node.parent;\n        const preserveComma = pattern.kind === 207 /* ArrayBindingPattern */ && node !== last(pattern.elements);\n        if (preserveComma) {\n          deleteNode(changes, sourceFile, node);\n        } else {\n          deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n        }\n        break;\n      case 261 /* VariableDeclaration */:\n        deleteVariableDeclaration(changes, deletedNodesInLists, sourceFile, node);\n        break;\n      case 167 /* TypeParameter */:\n        deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n        break;\n      case 279 /* ImportSpecifier */:\n        const namedImports = node.parent;\n        if (namedImports.elements.length === 1) {\n          deleteImportBinding(changes, sourceFile, namedImports);\n        } else {\n          deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n        }\n        break;\n      case 277 /* NamespaceImport */:\n        deleteImportBinding(changes, sourceFile, node);\n        break;\n      case 26 /* SemicolonToken */:\n        deleteNode(changes, sourceFile, node, { trailingTriviaOption: 0 /* Exclude */ });\n        break;\n      case 99 /* FunctionKeyword */:\n        deleteNode(changes, sourceFile, node, { leadingTriviaOption: 0 /* Exclude */ });\n        break;\n      case 264 /* ClassDeclaration */:\n      case 265 /* StructDeclaration */:\n      case 263 /* FunctionDeclaration */:\n        deleteNode(changes, sourceFile, node, { leadingTriviaOption: hasJSDocNodes(node) ? 2 /* JSDoc */ : 3 /* StartLine */ });\n        break;\n      default:\n        if (!node.parent) {\n          deleteNode(changes, sourceFile, node);\n        } else if (isImportClause(node.parent) && node.parent.name === node) {\n          deleteDefaultImport(changes, sourceFile, node.parent);\n        } else if (isCallExpression(node.parent) && contains(node.parent.arguments, node)) {\n          deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n        } else {\n          deleteNode(changes, sourceFile, node);\n        }\n    }\n  }\n  _deleteDeclaration.deleteDeclaration = deleteDeclaration2;\n  function deleteDefaultImport(changes, sourceFile, importClause) {\n    if (!importClause.namedBindings) {\n      deleteNode(changes, sourceFile, importClause.parent);\n    } else {\n      const start = importClause.name.getStart(sourceFile);\n      const nextToken = getTokenAtPosition(sourceFile, importClause.name.end);\n      if (nextToken && nextToken.kind === 27 /* CommaToken */) {\n        const end = skipTrivia(sourceFile.text, nextToken.end, false, true);\n        changes.deleteRange(sourceFile, { pos: start, end });\n      } else {\n        deleteNode(changes, sourceFile, importClause.name);\n      }\n    }\n  }\n  function deleteImportBinding(changes, sourceFile, node) {\n    if (node.parent.name) {\n      const previousToken = Debug.checkDefined(getTokenAtPosition(sourceFile, node.pos - 1));\n      changes.deleteRange(sourceFile, { pos: previousToken.getStart(sourceFile), end: node.end });\n    } else {\n      const importDecl = getAncestor(node, 275 /* ImportDeclaration */);\n      deleteNode(changes, sourceFile, importDecl);\n    }\n  }\n  function deleteVariableDeclaration(changes, deletedNodesInLists, sourceFile, node) {\n    const { parent: parent2 } = node;\n    if (parent2.kind === 301 /* CatchClause */) {\n      changes.deleteNodeRange(sourceFile, findChildOfKind(parent2, 20 /* OpenParenToken */, sourceFile), findChildOfKind(parent2, 21 /* CloseParenToken */, sourceFile));\n      return;\n    }\n    if (parent2.declarations.length !== 1) {\n      deleteNodeInList(changes, deletedNodesInLists, sourceFile, node);\n      return;\n    }\n    const gp = parent2.parent;\n    switch (gp.kind) {\n      case 251 /* ForOfStatement */:\n      case 250 /* ForInStatement */:\n        changes.replaceNode(sourceFile, node, factory.createObjectLiteralExpression());\n        break;\n      case 249 /* ForStatement */:\n        deleteNode(changes, sourceFile, parent2);\n        break;\n      case 244 /* VariableStatement */:\n        deleteNode(changes, sourceFile, gp, { leadingTriviaOption: hasJSDocNodes(gp) ? 2 /* JSDoc */ : 3 /* StartLine */ });\n        break;\n      default:\n        Debug.assertNever(gp);\n    }\n  }\n})(deleteDeclaration || (deleteDeclaration = {}));\nfunction deleteNode(changes, sourceFile, node, options = { leadingTriviaOption: 1 /* IncludeAll */ }) {\n  const startPosition = getAdjustedStartPosition(sourceFile, node, options);\n  const endPosition = getAdjustedEndPosition(sourceFile, node, options);\n  changes.deleteRange(sourceFile, { pos: startPosition, end: endPosition });\n}\nfunction deleteNodeInList(changes, deletedNodesInLists, sourceFile, node) {\n  const containingList = Debug.checkDefined(ts_formatting_exports.SmartIndenter.getContainingList(node, sourceFile));\n  const index = indexOfNode(containingList, node);\n  Debug.assert(index !== -1);\n  if (containingList.length === 1) {\n    deleteNode(changes, sourceFile, node);\n    return;\n  }\n  Debug.assert(!deletedNodesInLists.has(node), \"Deleting a node twice\");\n  deletedNodesInLists.add(node);\n  changes.deleteRange(sourceFile, {\n    pos: startPositionToDeleteNodeInList(sourceFile, node),\n    end: index === containingList.length - 1 ? getAdjustedEndPosition(sourceFile, node, {}) : endPositionToDeleteNodeInList(sourceFile, node, containingList[index - 1], containingList[index + 1])\n  });\n}\n\n// src/services/_namespaces/ts.formatting.ts\nvar ts_formatting_exports = {};\n__export(ts_formatting_exports, {\n  FormattingContext: () => FormattingContext,\n  FormattingRequestKind: () => FormattingRequestKind,\n  RuleAction: () => RuleAction,\n  RuleFlags: () => RuleFlags,\n  SmartIndenter: () => SmartIndenter,\n  anyContext: () => anyContext,\n  createTextRangeWithKind: () => createTextRangeWithKind,\n  formatDocument: () => formatDocument,\n  formatNodeGivenIndentation: () => formatNodeGivenIndentation,\n  formatOnClosingCurly: () => formatOnClosingCurly,\n  formatOnEnter: () => formatOnEnter,\n  formatOnOpeningCurly: () => formatOnOpeningCurly,\n  formatOnSemicolon: () => formatOnSemicolon,\n  formatSelection: () => formatSelection,\n  getAllRules: () => getAllRules,\n  getFormatContext: () => getFormatContext,\n  getFormattingScanner: () => getFormattingScanner,\n  getIndentationString: () => getIndentationString,\n  getRangeOfEnclosingComment: () => getRangeOfEnclosingComment\n});\n\n// src/services/formatting/formattingContext.ts\nvar FormattingRequestKind = /* @__PURE__ */ ((FormattingRequestKind2) => {\n  FormattingRequestKind2[FormattingRequestKind2[\"FormatDocument\"] = 0] = \"FormatDocument\";\n  FormattingRequestKind2[FormattingRequestKind2[\"FormatSelection\"] = 1] = \"FormatSelection\";\n  FormattingRequestKind2[FormattingRequestKind2[\"FormatOnEnter\"] = 2] = \"FormatOnEnter\";\n  FormattingRequestKind2[FormattingRequestKind2[\"FormatOnSemicolon\"] = 3] = \"FormatOnSemicolon\";\n  FormattingRequestKind2[FormattingRequestKind2[\"FormatOnOpeningCurlyBrace\"] = 4] = \"FormatOnOpeningCurlyBrace\";\n  FormattingRequestKind2[FormattingRequestKind2[\"FormatOnClosingCurlyBrace\"] = 5] = \"FormatOnClosingCurlyBrace\";\n  return FormattingRequestKind2;\n})(FormattingRequestKind || {});\nvar FormattingContext = class {\n  constructor(sourceFile, formattingRequestKind, options) {\n    this.sourceFile = sourceFile;\n    this.formattingRequestKind = formattingRequestKind;\n    this.options = options;\n  }\n  updateContext(currentRange, currentTokenParent, nextRange, nextTokenParent, commonParent) {\n    this.currentTokenSpan = Debug.checkDefined(currentRange);\n    this.currentTokenParent = Debug.checkDefined(currentTokenParent);\n    this.nextTokenSpan = Debug.checkDefined(nextRange);\n    this.nextTokenParent = Debug.checkDefined(nextTokenParent);\n    this.contextNode = Debug.checkDefined(commonParent);\n    this.contextNodeAllOnSameLine = void 0;\n    this.nextNodeAllOnSameLine = void 0;\n    this.tokensAreOnSameLine = void 0;\n    this.contextNodeBlockIsOnOneLine = void 0;\n    this.nextNodeBlockIsOnOneLine = void 0;\n  }\n  ContextNodeAllOnSameLine() {\n    if (this.contextNodeAllOnSameLine === void 0) {\n      this.contextNodeAllOnSameLine = this.NodeIsOnOneLine(this.contextNode);\n    }\n    return this.contextNodeAllOnSameLine;\n  }\n  NextNodeAllOnSameLine() {\n    if (this.nextNodeAllOnSameLine === void 0) {\n      this.nextNodeAllOnSameLine = this.NodeIsOnOneLine(this.nextTokenParent);\n    }\n    return this.nextNodeAllOnSameLine;\n  }\n  TokensAreOnSameLine() {\n    if (this.tokensAreOnSameLine === void 0) {\n      const startLine = this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line;\n      const endLine = this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;\n      this.tokensAreOnSameLine = startLine === endLine;\n    }\n    return this.tokensAreOnSameLine;\n  }\n  ContextNodeBlockIsOnOneLine() {\n    if (this.contextNodeBlockIsOnOneLine === void 0) {\n      this.contextNodeBlockIsOnOneLine = this.BlockIsOnOneLine(this.contextNode);\n    }\n    return this.contextNodeBlockIsOnOneLine;\n  }\n  NextNodeBlockIsOnOneLine() {\n    if (this.nextNodeBlockIsOnOneLine === void 0) {\n      this.nextNodeBlockIsOnOneLine = this.BlockIsOnOneLine(this.nextTokenParent);\n    }\n    return this.nextNodeBlockIsOnOneLine;\n  }\n  NodeIsOnOneLine(node) {\n    const startLine = this.sourceFile.getLineAndCharacterOfPosition(node.getStart(this.sourceFile)).line;\n    const endLine = this.sourceFile.getLineAndCharacterOfPosition(node.getEnd()).line;\n    return startLine === endLine;\n  }\n  BlockIsOnOneLine(node) {\n    const openBrace = findChildOfKind(node, 18 /* OpenBraceToken */, this.sourceFile);\n    const closeBrace = findChildOfKind(node, 19 /* CloseBraceToken */, this.sourceFile);\n    if (openBrace && closeBrace) {\n      const startLine = this.sourceFile.getLineAndCharacterOfPosition(openBrace.getEnd()).line;\n      const endLine = this.sourceFile.getLineAndCharacterOfPosition(closeBrace.getStart(this.sourceFile)).line;\n      return startLine === endLine;\n    }\n    return false;\n  }\n};\n\n// src/services/formatting/formattingScanner.ts\nvar standardScanner = createScanner(99 /* Latest */, false, 0 /* Standard */);\nvar jsxScanner = createScanner(99 /* Latest */, false, 1 /* JSX */);\nvar ScanAction = /* @__PURE__ */ ((ScanAction2) => {\n  ScanAction2[ScanAction2[\"Scan\"] = 0] = \"Scan\";\n  ScanAction2[ScanAction2[\"RescanGreaterThanToken\"] = 1] = \"RescanGreaterThanToken\";\n  ScanAction2[ScanAction2[\"RescanSlashToken\"] = 2] = \"RescanSlashToken\";\n  ScanAction2[ScanAction2[\"RescanTemplateToken\"] = 3] = \"RescanTemplateToken\";\n  ScanAction2[ScanAction2[\"RescanJsxIdentifier\"] = 4] = \"RescanJsxIdentifier\";\n  ScanAction2[ScanAction2[\"RescanJsxText\"] = 5] = \"RescanJsxText\";\n  ScanAction2[ScanAction2[\"RescanJsxAttributeValue\"] = 6] = \"RescanJsxAttributeValue\";\n  return ScanAction2;\n})(ScanAction || {});\nfunction getFormattingScanner(text, languageVariant, startPos, endPos, cb) {\n  const scanner2 = languageVariant === 1 /* JSX */ ? jsxScanner : standardScanner;\n  scanner2.setText(text);\n  scanner2.setTextPos(startPos);\n  let wasNewLine = true;\n  let leadingTrivia;\n  let trailingTrivia;\n  let savedPos;\n  let lastScanAction;\n  let lastTokenInfo;\n  const res = cb({\n    advance,\n    readTokenInfo,\n    readEOFTokenRange,\n    isOnToken,\n    isOnEOF,\n    getCurrentLeadingTrivia: () => leadingTrivia,\n    lastTrailingTriviaWasNewLine: () => wasNewLine,\n    skipToEndOf,\n    skipToStartOf,\n    getStartPos: () => {\n      var _a2;\n      return (_a2 = lastTokenInfo == null ? void 0 : lastTokenInfo.token.pos) != null ? _a2 : scanner2.getTokenPos();\n    }\n  });\n  lastTokenInfo = void 0;\n  scanner2.setText(void 0);\n  return res;\n  function advance() {\n    lastTokenInfo = void 0;\n    const isStarted = scanner2.getStartPos() !== startPos;\n    if (isStarted) {\n      wasNewLine = !!trailingTrivia && last(trailingTrivia).kind === 4 /* NewLineTrivia */;\n    } else {\n      scanner2.scan();\n    }\n    leadingTrivia = void 0;\n    trailingTrivia = void 0;\n    let pos = scanner2.getStartPos();\n    while (pos < endPos) {\n      const t = scanner2.getToken();\n      if (!isTrivia(t)) {\n        break;\n      }\n      scanner2.scan();\n      const item = {\n        pos,\n        end: scanner2.getStartPos(),\n        kind: t\n      };\n      pos = scanner2.getStartPos();\n      leadingTrivia = append(leadingTrivia, item);\n    }\n    savedPos = scanner2.getStartPos();\n  }\n  function shouldRescanGreaterThanToken(node) {\n    switch (node.kind) {\n      case 33 /* GreaterThanEqualsToken */:\n      case 71 /* GreaterThanGreaterThanEqualsToken */:\n      case 72 /* GreaterThanGreaterThanGreaterThanEqualsToken */:\n      case 49 /* GreaterThanGreaterThanGreaterThanToken */:\n      case 48 /* GreaterThanGreaterThanToken */:\n        return true;\n    }\n    return false;\n  }\n  function shouldRescanJsxIdentifier(node) {\n    if (node.parent) {\n      switch (node.parent.kind) {\n        case 294 /* JsxAttribute */:\n        case 289 /* JsxOpeningElement */:\n        case 290 /* JsxClosingElement */:\n        case 288 /* JsxSelfClosingElement */:\n          return isKeyword(node.kind) || node.kind === 79 /* Identifier */;\n      }\n    }\n    return false;\n  }\n  function shouldRescanJsxText(node) {\n    return isJsxText(node) || isJsxElement(node) && (lastTokenInfo == null ? void 0 : lastTokenInfo.token.kind) === 11 /* JsxText */;\n  }\n  function shouldRescanSlashToken(container) {\n    return container.kind === 13 /* RegularExpressionLiteral */;\n  }\n  function shouldRescanTemplateToken(container) {\n    return container.kind === 16 /* TemplateMiddle */ || container.kind === 17 /* TemplateTail */;\n  }\n  function shouldRescanJsxAttributeValue(node) {\n    return node.parent && isJsxAttribute(node.parent) && node.parent.initializer === node;\n  }\n  function startsWithSlashToken(t) {\n    return t === 43 /* SlashToken */ || t === 68 /* SlashEqualsToken */;\n  }\n  function readTokenInfo(n) {\n    Debug.assert(isOnToken());\n    const expectedScanAction = shouldRescanGreaterThanToken(n) ? 1 /* RescanGreaterThanToken */ : shouldRescanSlashToken(n) ? 2 /* RescanSlashToken */ : shouldRescanTemplateToken(n) ? 3 /* RescanTemplateToken */ : shouldRescanJsxIdentifier(n) ? 4 /* RescanJsxIdentifier */ : shouldRescanJsxText(n) ? 5 /* RescanJsxText */ : shouldRescanJsxAttributeValue(n) ? 6 /* RescanJsxAttributeValue */ : 0 /* Scan */;\n    if (lastTokenInfo && expectedScanAction === lastScanAction) {\n      return fixTokenKind(lastTokenInfo, n);\n    }\n    if (scanner2.getStartPos() !== savedPos) {\n      Debug.assert(lastTokenInfo !== void 0);\n      scanner2.setTextPos(savedPos);\n      scanner2.scan();\n    }\n    let currentToken = getNextToken(n, expectedScanAction);\n    const token = createTextRangeWithKind(\n      scanner2.getStartPos(),\n      scanner2.getTextPos(),\n      currentToken\n    );\n    if (trailingTrivia) {\n      trailingTrivia = void 0;\n    }\n    while (scanner2.getStartPos() < endPos) {\n      currentToken = scanner2.scan();\n      if (!isTrivia(currentToken)) {\n        break;\n      }\n      const trivia = createTextRangeWithKind(\n        scanner2.getStartPos(),\n        scanner2.getTextPos(),\n        currentToken\n      );\n      if (!trailingTrivia) {\n        trailingTrivia = [];\n      }\n      trailingTrivia.push(trivia);\n      if (currentToken === 4 /* NewLineTrivia */) {\n        scanner2.scan();\n        break;\n      }\n    }\n    lastTokenInfo = { leadingTrivia, trailingTrivia, token };\n    return fixTokenKind(lastTokenInfo, n);\n  }\n  function getNextToken(n, expectedScanAction) {\n    const token = scanner2.getToken();\n    lastScanAction = 0 /* Scan */;\n    switch (expectedScanAction) {\n      case 1 /* RescanGreaterThanToken */:\n        if (token === 31 /* GreaterThanToken */) {\n          lastScanAction = 1 /* RescanGreaterThanToken */;\n          const newToken = scanner2.reScanGreaterToken();\n          Debug.assert(n.kind === newToken);\n          return newToken;\n        }\n        break;\n      case 2 /* RescanSlashToken */:\n        if (startsWithSlashToken(token)) {\n          lastScanAction = 2 /* RescanSlashToken */;\n          const newToken = scanner2.reScanSlashToken();\n          Debug.assert(n.kind === newToken);\n          return newToken;\n        }\n        break;\n      case 3 /* RescanTemplateToken */:\n        if (token === 19 /* CloseBraceToken */) {\n          lastScanAction = 3 /* RescanTemplateToken */;\n          return scanner2.reScanTemplateToken(false);\n        }\n        break;\n      case 4 /* RescanJsxIdentifier */:\n        lastScanAction = 4 /* RescanJsxIdentifier */;\n        return scanner2.scanJsxIdentifier();\n      case 5 /* RescanJsxText */:\n        lastScanAction = 5 /* RescanJsxText */;\n        return scanner2.reScanJsxToken(false);\n      case 6 /* RescanJsxAttributeValue */:\n        lastScanAction = 6 /* RescanJsxAttributeValue */;\n        return scanner2.reScanJsxAttributeValue();\n      case 0 /* Scan */:\n        break;\n      default:\n        Debug.assertNever(expectedScanAction);\n    }\n    return token;\n  }\n  function readEOFTokenRange() {\n    Debug.assert(isOnEOF());\n    return createTextRangeWithKind(scanner2.getStartPos(), scanner2.getTextPos(), 1 /* EndOfFileToken */);\n  }\n  function isOnToken() {\n    const current = lastTokenInfo ? lastTokenInfo.token.kind : scanner2.getToken();\n    return current !== 1 /* EndOfFileToken */ && !isTrivia(current);\n  }\n  function isOnEOF() {\n    const current = lastTokenInfo ? lastTokenInfo.token.kind : scanner2.getToken();\n    return current === 1 /* EndOfFileToken */;\n  }\n  function fixTokenKind(tokenInfo, container) {\n    if (isToken(container) && tokenInfo.token.kind !== container.kind) {\n      tokenInfo.token.kind = container.kind;\n    }\n    return tokenInfo;\n  }\n  function skipToEndOf(node) {\n    scanner2.setTextPos(node.end);\n    savedPos = scanner2.getStartPos();\n    lastScanAction = void 0;\n    lastTokenInfo = void 0;\n    wasNewLine = false;\n    leadingTrivia = void 0;\n    trailingTrivia = void 0;\n  }\n  function skipToStartOf(node) {\n    scanner2.setTextPos(node.pos);\n    savedPos = scanner2.getStartPos();\n    lastScanAction = void 0;\n    lastTokenInfo = void 0;\n    wasNewLine = false;\n    leadingTrivia = void 0;\n    trailingTrivia = void 0;\n  }\n}\n\n// src/services/formatting/rule.ts\nvar anyContext = emptyArray;\nvar RuleAction = /* @__PURE__ */ ((RuleAction2) => {\n  RuleAction2[RuleAction2[\"StopProcessingSpaceActions\"] = 1] = \"StopProcessingSpaceActions\";\n  RuleAction2[RuleAction2[\"StopProcessingTokenActions\"] = 2] = \"StopProcessingTokenActions\";\n  RuleAction2[RuleAction2[\"InsertSpace\"] = 4] = \"InsertSpace\";\n  RuleAction2[RuleAction2[\"InsertNewLine\"] = 8] = \"InsertNewLine\";\n  RuleAction2[RuleAction2[\"DeleteSpace\"] = 16] = \"DeleteSpace\";\n  RuleAction2[RuleAction2[\"DeleteToken\"] = 32] = \"DeleteToken\";\n  RuleAction2[RuleAction2[\"InsertTrailingSemicolon\"] = 64] = \"InsertTrailingSemicolon\";\n  RuleAction2[RuleAction2[\"StopAction\"] = 3] = \"StopAction\";\n  RuleAction2[RuleAction2[\"ModifySpaceAction\"] = 28] = \"ModifySpaceAction\";\n  RuleAction2[RuleAction2[\"ModifyTokenAction\"] = 96] = \"ModifyTokenAction\";\n  return RuleAction2;\n})(RuleAction || {});\nvar RuleFlags = /* @__PURE__ */ ((RuleFlags2) => {\n  RuleFlags2[RuleFlags2[\"None\"] = 0] = \"None\";\n  RuleFlags2[RuleFlags2[\"CanDeleteNewLines\"] = 1] = \"CanDeleteNewLines\";\n  return RuleFlags2;\n})(RuleFlags || {});\n\n// src/services/formatting/rules.ts\nfunction getAllRules() {\n  const allTokens = [];\n  for (let token = 0 /* FirstToken */; token <= 164 /* LastToken */; token++) {\n    if (token !== 1 /* EndOfFileToken */) {\n      allTokens.push(token);\n    }\n  }\n  function anyTokenExcept(...tokens) {\n    return { tokens: allTokens.filter((t) => !tokens.some((t2) => t2 === t)), isSpecific: false };\n  }\n  const anyToken = { tokens: allTokens, isSpecific: false };\n  const anyTokenIncludingMultilineComments = tokenRangeFrom([...allTokens, 3 /* MultiLineCommentTrivia */]);\n  const anyTokenIncludingEOF = tokenRangeFrom([...allTokens, 1 /* EndOfFileToken */]);\n  const keywords = tokenRangeFromRange(81 /* FirstKeyword */, 164 /* LastKeyword */);\n  const binaryOperators = tokenRangeFromRange(29 /* FirstBinaryOperator */, 78 /* LastBinaryOperator */);\n  const binaryKeywordOperators = [102 /* InKeyword */, 103 /* InstanceOfKeyword */, 164 /* OfKeyword */, 129 /* AsKeyword */, 141 /* IsKeyword */];\n  const unaryPrefixOperators = [45 /* PlusPlusToken */, 46 /* MinusMinusToken */, 54 /* TildeToken */, 53 /* ExclamationToken */];\n  const unaryPrefixExpressions = [\n    8 /* NumericLiteral */,\n    9 /* BigIntLiteral */,\n    79 /* Identifier */,\n    20 /* OpenParenToken */,\n    22 /* OpenBracketToken */,\n    18 /* OpenBraceToken */,\n    109 /* ThisKeyword */,\n    104 /* NewKeyword */\n  ];\n  const unaryPreincrementExpressions = [79 /* Identifier */, 20 /* OpenParenToken */, 109 /* ThisKeyword */, 104 /* NewKeyword */];\n  const unaryPostincrementExpressions = [79 /* Identifier */, 21 /* CloseParenToken */, 23 /* CloseBracketToken */, 104 /* NewKeyword */];\n  const unaryPredecrementExpressions = [79 /* Identifier */, 20 /* OpenParenToken */, 109 /* ThisKeyword */, 104 /* NewKeyword */];\n  const unaryPostdecrementExpressions = [79 /* Identifier */, 21 /* CloseParenToken */, 23 /* CloseBracketToken */, 104 /* NewKeyword */];\n  const comments = [2 /* SingleLineCommentTrivia */, 3 /* MultiLineCommentTrivia */];\n  const typeNames = [79 /* Identifier */, ...typeKeywords];\n  const functionOpenBraceLeftTokenRange = anyTokenIncludingMultilineComments;\n  const typeScriptOpenBraceLeftTokenRange = tokenRangeFrom([79 /* Identifier */, 3 /* MultiLineCommentTrivia */, 84 /* ClassKeyword */, 85 /* StructKeyword */, 94 /* ExportKeyword */, 101 /* ImportKeyword */]);\n  const controlOpenBraceLeftTokenRange = tokenRangeFrom([21 /* CloseParenToken */, 3 /* MultiLineCommentTrivia */, 91 /* DoKeyword */, 112 /* TryKeyword */, 97 /* FinallyKeyword */, 92 /* ElseKeyword */]);\n  const highPriorityCommonRules = [\n    rule(\"IgnoreBeforeComment\", anyToken, comments, anyContext, 1 /* StopProcessingSpaceActions */),\n    rule(\"IgnoreAfterLineComment\", 2 /* SingleLineCommentTrivia */, anyToken, anyContext, 1 /* StopProcessingSpaceActions */),\n    rule(\"NotSpaceBeforeColon\", anyToken, 58 /* ColonToken */, [isNonJsxSameLineTokenContext, isNotBinaryOpContext, isNotTypeAnnotationContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterColon\", 58 /* ColonToken */, anyToken, [isNonJsxSameLineTokenContext, isNotBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBeforeQuestionMark\", anyToken, 57 /* QuestionToken */, [isNonJsxSameLineTokenContext, isNotBinaryOpContext, isNotTypeAnnotationContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterQuestionMarkInConditionalOperator\", 57 /* QuestionToken */, anyToken, [isNonJsxSameLineTokenContext, isConditionalOperatorContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterQuestionMark\", 57 /* QuestionToken */, anyToken, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeDot\", anyToken, [24 /* DotToken */, 28 /* QuestionDotToken */], [isNonJsxSameLineTokenContext, isNotPropertyAccessOnIntegerLiteral], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterDot\", [24 /* DotToken */, 28 /* QuestionDotToken */], anyToken, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBetweenImportParenInImportType\", 101 /* ImportKeyword */, 20 /* OpenParenToken */, [isNonJsxSameLineTokenContext, isImportTypeContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterUnaryPrefixOperator\", unaryPrefixOperators, unaryPrefixExpressions, [isNonJsxSameLineTokenContext, isNotBinaryOpContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterUnaryPreincrementOperator\", 45 /* PlusPlusToken */, unaryPreincrementExpressions, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterUnaryPredecrementOperator\", 46 /* MinusMinusToken */, unaryPredecrementExpressions, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeUnaryPostincrementOperator\", unaryPostincrementExpressions, 45 /* PlusPlusToken */, [isNonJsxSameLineTokenContext, isNotStatementConditionContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeUnaryPostdecrementOperator\", unaryPostdecrementExpressions, 46 /* MinusMinusToken */, [isNonJsxSameLineTokenContext, isNotStatementConditionContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterPostincrementWhenFollowedByAdd\", 45 /* PlusPlusToken */, 39 /* PlusToken */, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterAddWhenFollowedByUnaryPlus\", 39 /* PlusToken */, 39 /* PlusToken */, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterAddWhenFollowedByPreincrement\", 39 /* PlusToken */, 45 /* PlusPlusToken */, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterPostdecrementWhenFollowedBySubtract\", 46 /* MinusMinusToken */, 40 /* MinusToken */, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterSubtractWhenFollowedByUnaryMinus\", 40 /* MinusToken */, 40 /* MinusToken */, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterSubtractWhenFollowedByPredecrement\", 40 /* MinusToken */, 46 /* MinusMinusToken */, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterCloseBrace\", 19 /* CloseBraceToken */, [27 /* CommaToken */, 26 /* SemicolonToken */], [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NewLineBeforeCloseBraceInBlockContext\", anyTokenIncludingMultilineComments, 19 /* CloseBraceToken */, [isMultilineBlockContext], 8 /* InsertNewLine */),\n    rule(\"SpaceAfterCloseBrace\", 19 /* CloseBraceToken */, anyTokenExcept(21 /* CloseParenToken */), [isNonJsxSameLineTokenContext, isAfterCodeBlockContext], 4 /* InsertSpace */),\n    rule(\"SpaceBetweenCloseBraceAndElse\", 19 /* CloseBraceToken */, 92 /* ElseKeyword */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBetweenCloseBraceAndWhile\", 19 /* CloseBraceToken */, 116 /* WhileKeyword */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenEmptyBraceBrackets\", 18 /* OpenBraceToken */, 19 /* CloseBraceToken */, [isNonJsxSameLineTokenContext, isObjectContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterConditionalClosingParen\", 21 /* CloseParenToken */, 22 /* OpenBracketToken */, [isControlDeclContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenFunctionKeywordAndStar\", 99 /* FunctionKeyword */, 41 /* AsteriskToken */, [isFunctionDeclarationOrFunctionExpressionContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterStarInGeneratorDeclaration\", 41 /* AsteriskToken */, 79 /* Identifier */, [isFunctionDeclarationOrFunctionExpressionContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterFunctionInFuncDecl\", 99 /* FunctionKeyword */, anyToken, [isFunctionDeclContext], 4 /* InsertSpace */),\n    rule(\"NewLineAfterOpenBraceInBlockContext\", 18 /* OpenBraceToken */, anyToken, [isMultilineBlockContext], 8 /* InsertNewLine */),\n    rule(\"SpaceAfterGetSetInMember\", [138 /* GetKeyword */, 152 /* SetKeyword */], 79 /* Identifier */, [isFunctionDeclContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenYieldKeywordAndStar\", 126 /* YieldKeyword */, 41 /* AsteriskToken */, [isNonJsxSameLineTokenContext, isYieldOrYieldStarWithOperand], 16 /* DeleteSpace */),\n    rule(\"SpaceBetweenYieldOrYieldStarAndOperand\", [126 /* YieldKeyword */, 41 /* AsteriskToken */], anyToken, [isNonJsxSameLineTokenContext, isYieldOrYieldStarWithOperand], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenReturnAndSemicolon\", 106 /* ReturnKeyword */, 26 /* SemicolonToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterCertainKeywords\", [114 /* VarKeyword */, 110 /* ThrowKeyword */, 104 /* NewKeyword */, 90 /* DeleteKeyword */, 106 /* ReturnKeyword */, 113 /* TypeOfKeyword */, 134 /* AwaitKeyword */], anyToken, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterLetConstInVariableDeclaration\", [120 /* LetKeyword */, 86 /* ConstKeyword */], anyToken, [isNonJsxSameLineTokenContext, isStartOfVariableDeclarationList], 4 /* InsertSpace */),\n    rule(\"NoSpaceBeforeOpenParenInFuncCall\", anyToken, 20 /* OpenParenToken */, [isNonJsxSameLineTokenContext, isFunctionCallOrNewContext, isPreviousTokenNotComma], 16 /* DeleteSpace */),\n    rule(\"SpaceBeforeBinaryKeywordOperator\", anyToken, binaryKeywordOperators, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterBinaryKeywordOperator\", binaryKeywordOperators, anyToken, [isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterVoidOperator\", 115 /* VoidKeyword */, anyToken, [isNonJsxSameLineTokenContext, isVoidOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceBetweenAsyncAndOpenParen\", 133 /* AsyncKeyword */, 20 /* OpenParenToken */, [isArrowFunctionContext, isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBetweenAsyncAndFunctionKeyword\", 133 /* AsyncKeyword */, [99 /* FunctionKeyword */, 79 /* Identifier */], [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenTagAndTemplateString\", [79 /* Identifier */, 21 /* CloseParenToken */], [14 /* NoSubstitutionTemplateLiteral */, 15 /* TemplateHead */], [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceBeforeJsxAttribute\", anyToken, 79 /* Identifier */, [isNextTokenParentJsxAttribute, isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBeforeSlashInJsxOpeningElement\", anyToken, 43 /* SlashToken */, [isJsxSelfClosingElementContext, isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBeforeGreaterThanTokenInJsxOpeningElement\", 43 /* SlashToken */, 31 /* GreaterThanToken */, [isJsxSelfClosingElementContext, isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeEqualInJsxAttribute\", anyToken, 63 /* EqualsToken */, [isJsxAttributeContext, isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterEqualInJsxAttribute\", 63 /* EqualsToken */, anyToken, [isJsxAttributeContext, isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterModuleImport\", [143 /* ModuleKeyword */, 148 /* RequireKeyword */], 20 /* OpenParenToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\n      \"SpaceAfterCertainTypeScriptKeywords\",\n      [\n        127 /* AbstractKeyword */,\n        128 /* AccessorKeyword */,\n        84 /* ClassKeyword */,\n        85 /* StructKeyword */,\n        137 /* DeclareKeyword */,\n        89 /* DefaultKeyword */,\n        93 /* EnumKeyword */,\n        94 /* ExportKeyword */,\n        95 /* ExtendsKeyword */,\n        138 /* GetKeyword */,\n        118 /* ImplementsKeyword */,\n        101 /* ImportKeyword */,\n        119 /* InterfaceKeyword */,\n        143 /* ModuleKeyword */,\n        144 /* NamespaceKeyword */,\n        122 /* PrivateKeyword */,\n        124 /* PublicKeyword */,\n        123 /* ProtectedKeyword */,\n        147 /* ReadonlyKeyword */,\n        152 /* SetKeyword */,\n        125 /* StaticKeyword */,\n        155 /* TypeKeyword */,\n        160 /* FromKeyword */,\n        142 /* KeyOfKeyword */,\n        139 /* InferKeyword */\n      ],\n      anyToken,\n      [isNonJsxSameLineTokenContext],\n      4 /* InsertSpace */\n    ),\n    rule(\n      \"SpaceBeforeCertainTypeScriptKeywords\",\n      anyToken,\n      [95 /* ExtendsKeyword */, 118 /* ImplementsKeyword */, 160 /* FromKeyword */],\n      [isNonJsxSameLineTokenContext],\n      4 /* InsertSpace */\n    ),\n    rule(\"SpaceAfterModuleName\", 10 /* StringLiteral */, 18 /* OpenBraceToken */, [isModuleDeclContext], 4 /* InsertSpace */),\n    rule(\"SpaceBeforeArrow\", anyToken, 38 /* EqualsGreaterThanToken */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterArrow\", 38 /* EqualsGreaterThanToken */, anyToken, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterEllipsis\", 25 /* DotDotDotToken */, 79 /* Identifier */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterOptionalParameters\", 57 /* QuestionToken */, [21 /* CloseParenToken */, 27 /* CommaToken */], [isNonJsxSameLineTokenContext, isNotBinaryOpContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBetweenEmptyInterfaceBraceBrackets\", 18 /* OpenBraceToken */, 19 /* CloseBraceToken */, [isNonJsxSameLineTokenContext, isObjectTypeContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeOpenAngularBracket\", typeNames, 29 /* LessThanToken */, [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBetweenCloseParenAndAngularBracket\", 21 /* CloseParenToken */, 29 /* LessThanToken */, [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterOpenAngularBracket\", 29 /* LessThanToken */, anyToken, [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeCloseAngularBracket\", anyToken, 31 /* GreaterThanToken */, [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext], 16 /* DeleteSpace */),\n    rule(\n      \"NoSpaceAfterCloseAngularBracket\",\n      31 /* GreaterThanToken */,\n      [20 /* OpenParenToken */, 22 /* OpenBracketToken */, 31 /* GreaterThanToken */, 27 /* CommaToken */],\n      [isNonJsxSameLineTokenContext, isTypeArgumentOrParameterOrAssertionContext, isNotFunctionDeclContext],\n      16 /* DeleteSpace */\n    ),\n    rule(\"SpaceBeforeAt\", [21 /* CloseParenToken */, 79 /* Identifier */], 59 /* AtToken */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterAt\", 59 /* AtToken */, anyToken, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\n      \"SpaceAfterDecorator\",\n      anyToken,\n      [\n        127 /* AbstractKeyword */,\n        79 /* Identifier */,\n        94 /* ExportKeyword */,\n        89 /* DefaultKeyword */,\n        84 /* ClassKeyword */,\n        85 /* StructKeyword */,\n        125 /* StaticKeyword */,\n        124 /* PublicKeyword */,\n        122 /* PrivateKeyword */,\n        123 /* ProtectedKeyword */,\n        138 /* GetKeyword */,\n        152 /* SetKeyword */,\n        22 /* OpenBracketToken */,\n        41 /* AsteriskToken */\n      ],\n      [isEndOfDecoratorContextOnSameLine],\n      4 /* InsertSpace */\n    ),\n    rule(\"NoSpaceBeforeNonNullAssertionOperator\", anyToken, 53 /* ExclamationToken */, [isNonJsxSameLineTokenContext, isNonNullAssertionContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterNewKeywordOnConstructorSignature\", 104 /* NewKeyword */, 20 /* OpenParenToken */, [isNonJsxSameLineTokenContext, isConstructorSignatureContext], 16 /* DeleteSpace */),\n    rule(\"SpaceLessThanAndNonJSXTypeAnnotation\", 29 /* LessThanToken */, 29 /* LessThanToken */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */)\n  ];\n  const userConfigurableRules = [\n    rule(\"SpaceAfterConstructor\", 136 /* ConstructorKeyword */, 20 /* OpenParenToken */, [isOptionEnabled(\"insertSpaceAfterConstructor\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterConstructor\", 136 /* ConstructorKeyword */, 20 /* OpenParenToken */, [isOptionDisabledOrUndefined(\"insertSpaceAfterConstructor\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterComma\", 27 /* CommaToken */, anyToken, [isOptionEnabled(\"insertSpaceAfterCommaDelimiter\"), isNonJsxSameLineTokenContext, isNonJsxElementOrFragmentContext, isNextTokenNotCloseBracket, isNextTokenNotCloseParen], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterComma\", 27 /* CommaToken */, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterCommaDelimiter\"), isNonJsxSameLineTokenContext, isNonJsxElementOrFragmentContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterAnonymousFunctionKeyword\", [99 /* FunctionKeyword */, 41 /* AsteriskToken */], 20 /* OpenParenToken */, [isOptionEnabled(\"insertSpaceAfterFunctionKeywordForAnonymousFunctions\"), isFunctionDeclContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterAnonymousFunctionKeyword\", [99 /* FunctionKeyword */, 41 /* AsteriskToken */], 20 /* OpenParenToken */, [isOptionDisabledOrUndefined(\"insertSpaceAfterFunctionKeywordForAnonymousFunctions\"), isFunctionDeclContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterKeywordInControl\", keywords, 20 /* OpenParenToken */, [isOptionEnabled(\"insertSpaceAfterKeywordsInControlFlowStatements\"), isControlDeclContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterKeywordInControl\", keywords, 20 /* OpenParenToken */, [isOptionDisabledOrUndefined(\"insertSpaceAfterKeywordsInControlFlowStatements\"), isControlDeclContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterOpenParen\", 20 /* OpenParenToken */, anyToken, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBeforeCloseParen\", anyToken, 21 /* CloseParenToken */, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBetweenOpenParens\", 20 /* OpenParenToken */, 20 /* OpenParenToken */, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenParens\", 20 /* OpenParenToken */, 21 /* CloseParenToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterOpenParen\", 20 /* OpenParenToken */, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeCloseParen\", anyToken, 21 /* CloseParenToken */, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterOpenBracket\", 22 /* OpenBracketToken */, anyToken, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBeforeCloseBracket\", anyToken, 23 /* CloseBracketToken */, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenBrackets\", 22 /* OpenBracketToken */, 23 /* CloseBracketToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterOpenBracket\", 22 /* OpenBracketToken */, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeCloseBracket\", anyToken, 23 /* CloseBracketToken */, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterOpenBrace\", 18 /* OpenBraceToken */, anyToken, [isOptionEnabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isBraceWrappedContext], 4 /* InsertSpace */),\n    rule(\"SpaceBeforeCloseBrace\", anyToken, 19 /* CloseBraceToken */, [isOptionEnabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isBraceWrappedContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenEmptyBraceBrackets\", 18 /* OpenBraceToken */, 19 /* CloseBraceToken */, [isNonJsxSameLineTokenContext, isObjectContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterOpenBrace\", 18 /* OpenBraceToken */, anyToken, [isOptionDisabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeCloseBrace\", anyToken, 19 /* CloseBraceToken */, [isOptionDisabled(\"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceBetweenEmptyBraceBrackets\", 18 /* OpenBraceToken */, 19 /* CloseBraceToken */, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces\")], 4 /* InsertSpace */),\n    rule(\"NoSpaceBetweenEmptyBraceBrackets\", 18 /* OpenBraceToken */, 19 /* CloseBraceToken */, [isOptionDisabled(\"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterTemplateHeadAndMiddle\", [15 /* TemplateHead */, 16 /* TemplateMiddle */], anyToken, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxTextContext], 4 /* InsertSpace */, 1 /* CanDeleteNewLines */),\n    rule(\"SpaceBeforeTemplateMiddleAndTail\", anyToken, [16 /* TemplateMiddle */, 17 /* TemplateTail */], [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterTemplateHeadAndMiddle\", [15 /* TemplateHead */, 16 /* TemplateMiddle */], anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxTextContext], 16 /* DeleteSpace */, 1 /* CanDeleteNewLines */),\n    rule(\"NoSpaceBeforeTemplateMiddleAndTail\", anyToken, [16 /* TemplateMiddle */, 17 /* TemplateTail */], [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces\"), isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterOpenBraceInJsxExpression\", 18 /* OpenBraceToken */, anyToken, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext], 4 /* InsertSpace */),\n    rule(\"SpaceBeforeCloseBraceInJsxExpression\", anyToken, 19 /* CloseBraceToken */, [isOptionEnabled(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterOpenBraceInJsxExpression\", 18 /* OpenBraceToken */, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeCloseBraceInJsxExpression\", anyToken, 19 /* CloseBraceToken */, [isOptionDisabledOrUndefined(\"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces\"), isNonJsxSameLineTokenContext, isJsxExpressionContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterSemicolonInFor\", 26 /* SemicolonToken */, anyToken, [isOptionEnabled(\"insertSpaceAfterSemicolonInForStatements\"), isNonJsxSameLineTokenContext, isForContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterSemicolonInFor\", 26 /* SemicolonToken */, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterSemicolonInForStatements\"), isNonJsxSameLineTokenContext, isForContext], 16 /* DeleteSpace */),\n    rule(\"SpaceBeforeBinaryOperator\", anyToken, binaryOperators, [isOptionEnabled(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"SpaceAfterBinaryOperator\", binaryOperators, anyToken, [isOptionEnabled(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBeforeBinaryOperator\", anyToken, binaryOperators, [isOptionDisabledOrUndefined(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterBinaryOperator\", binaryOperators, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceBeforeAndAfterBinaryOperators\"), isNonJsxSameLineTokenContext, isBinaryOpContext], 16 /* DeleteSpace */),\n    rule(\"SpaceBeforeOpenParenInFuncDecl\", anyToken, 20 /* OpenParenToken */, [isOptionEnabled(\"insertSpaceBeforeFunctionParenthesis\"), isNonJsxSameLineTokenContext, isFunctionDeclContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBeforeOpenParenInFuncDecl\", anyToken, 20 /* OpenParenToken */, [isOptionDisabledOrUndefined(\"insertSpaceBeforeFunctionParenthesis\"), isNonJsxSameLineTokenContext, isFunctionDeclContext], 16 /* DeleteSpace */),\n    rule(\"NewLineBeforeOpenBraceInControl\", controlOpenBraceLeftTokenRange, 18 /* OpenBraceToken */, [isOptionEnabled(\"placeOpenBraceOnNewLineForControlBlocks\"), isControlDeclContext, isBeforeMultilineBlockContext], 8 /* InsertNewLine */, 1 /* CanDeleteNewLines */),\n    rule(\"NewLineBeforeOpenBraceInFunction\", functionOpenBraceLeftTokenRange, 18 /* OpenBraceToken */, [isOptionEnabled(\"placeOpenBraceOnNewLineForFunctions\"), isFunctionDeclContext, isBeforeMultilineBlockContext], 8 /* InsertNewLine */, 1 /* CanDeleteNewLines */),\n    rule(\"NewLineBeforeOpenBraceInTypeScriptDeclWithBlock\", typeScriptOpenBraceLeftTokenRange, 18 /* OpenBraceToken */, [isOptionEnabled(\"placeOpenBraceOnNewLineForFunctions\"), isTypeScriptDeclWithBlockContext, isBeforeMultilineBlockContext], 8 /* InsertNewLine */, 1 /* CanDeleteNewLines */),\n    rule(\"SpaceAfterTypeAssertion\", 31 /* GreaterThanToken */, anyToken, [isOptionEnabled(\"insertSpaceAfterTypeAssertion\"), isNonJsxSameLineTokenContext, isTypeAssertionContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceAfterTypeAssertion\", 31 /* GreaterThanToken */, anyToken, [isOptionDisabledOrUndefined(\"insertSpaceAfterTypeAssertion\"), isNonJsxSameLineTokenContext, isTypeAssertionContext], 16 /* DeleteSpace */),\n    rule(\"SpaceBeforeTypeAnnotation\", anyToken, [57 /* QuestionToken */, 58 /* ColonToken */], [isOptionEnabled(\"insertSpaceBeforeTypeAnnotation\"), isNonJsxSameLineTokenContext, isTypeAnnotationContext], 4 /* InsertSpace */),\n    rule(\"NoSpaceBeforeTypeAnnotation\", anyToken, [57 /* QuestionToken */, 58 /* ColonToken */], [isOptionDisabledOrUndefined(\"insertSpaceBeforeTypeAnnotation\"), isNonJsxSameLineTokenContext, isTypeAnnotationContext], 16 /* DeleteSpace */),\n    rule(\"NoOptionalSemicolon\", 26 /* SemicolonToken */, anyTokenIncludingEOF, [optionEquals(\"semicolons\", \"remove\" /* Remove */), isSemicolonDeletionContext], 32 /* DeleteToken */),\n    rule(\"OptionalSemicolon\", anyToken, anyTokenIncludingEOF, [optionEquals(\"semicolons\", \"insert\" /* Insert */), isSemicolonInsertionContext], 64 /* InsertTrailingSemicolon */)\n  ];\n  const lowPriorityCommonRules = [\n    rule(\"NoSpaceBeforeSemicolon\", anyToken, 26 /* SemicolonToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"SpaceBeforeOpenBraceInControl\", controlOpenBraceLeftTokenRange, 18 /* OpenBraceToken */, [isOptionDisabledOrUndefinedOrTokensOnSameLine(\"placeOpenBraceOnNewLineForControlBlocks\"), isControlDeclContext, isNotFormatOnEnter, isSameLineTokenOrBeforeBlockContext], 4 /* InsertSpace */, 1 /* CanDeleteNewLines */),\n    rule(\"SpaceBeforeOpenBraceInFunction\", functionOpenBraceLeftTokenRange, 18 /* OpenBraceToken */, [isOptionDisabledOrUndefinedOrTokensOnSameLine(\"placeOpenBraceOnNewLineForFunctions\"), isFunctionDeclContext, isBeforeBlockContext, isNotFormatOnEnter, isSameLineTokenOrBeforeBlockContext], 4 /* InsertSpace */, 1 /* CanDeleteNewLines */),\n    rule(\"SpaceBeforeOpenBraceInTypeScriptDeclWithBlock\", typeScriptOpenBraceLeftTokenRange, 18 /* OpenBraceToken */, [isOptionDisabledOrUndefinedOrTokensOnSameLine(\"placeOpenBraceOnNewLineForFunctions\"), isTypeScriptDeclWithBlockContext, isNotFormatOnEnter, isSameLineTokenOrBeforeBlockContext], 4 /* InsertSpace */, 1 /* CanDeleteNewLines */),\n    rule(\"NoSpaceBeforeComma\", anyToken, 27 /* CommaToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceBeforeOpenBracket\", anyTokenExcept(133 /* AsyncKeyword */, 82 /* CaseKeyword */), 22 /* OpenBracketToken */, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),\n    rule(\"NoSpaceAfterCloseBracket\", 23 /* CloseBracketToken */, anyToken, [isNonJsxSameLineTokenContext, isNotBeforeBlockInFunctionDeclarationContext], 16 /* DeleteSpace */),\n    rule(\"SpaceAfterSemicolon\", 26 /* SemicolonToken */, anyToken, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\"SpaceBetweenForAndAwaitKeyword\", 98 /* ForKeyword */, 134 /* AwaitKeyword */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),\n    rule(\n      \"SpaceBetweenStatements\",\n      [21 /* CloseParenToken */, 91 /* DoKeyword */, 92 /* ElseKeyword */, 82 /* CaseKeyword */],\n      anyToken,\n      [isNonJsxSameLineTokenContext, isNonJsxElementOrFragmentContext, isNotForContext],\n      4 /* InsertSpace */\n    ),\n    rule(\"SpaceAfterTryCatchFinally\", [112 /* TryKeyword */, 83 /* CatchKeyword */, 97 /* FinallyKeyword */], 18 /* OpenBraceToken */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */)\n  ];\n  return [\n    ...highPriorityCommonRules,\n    ...userConfigurableRules,\n    ...lowPriorityCommonRules\n  ];\n}\nfunction rule(debugName, left, right, context, action, flags = 0 /* None */) {\n  return { leftTokenRange: toTokenRange(left), rightTokenRange: toTokenRange(right), rule: { debugName, context, action, flags } };\n}\nfunction tokenRangeFrom(tokens) {\n  return { tokens, isSpecific: true };\n}\nfunction toTokenRange(arg) {\n  return typeof arg === \"number\" ? tokenRangeFrom([arg]) : isArray(arg) ? tokenRangeFrom(arg) : arg;\n}\nfunction tokenRangeFromRange(from, to, except = []) {\n  const tokens = [];\n  for (let token = from; token <= to; token++) {\n    if (!contains(except, token)) {\n      tokens.push(token);\n    }\n  }\n  return tokenRangeFrom(tokens);\n}\nfunction optionEquals(optionName, optionValue) {\n  return (context) => context.options && context.options[optionName] === optionValue;\n}\nfunction isOptionEnabled(optionName) {\n  return (context) => context.options && hasProperty(context.options, optionName) && !!context.options[optionName];\n}\nfunction isOptionDisabled(optionName) {\n  return (context) => context.options && hasProperty(context.options, optionName) && !context.options[optionName];\n}\nfunction isOptionDisabledOrUndefined(optionName) {\n  return (context) => !context.options || !hasProperty(context.options, optionName) || !context.options[optionName];\n}\nfunction isOptionDisabledOrUndefinedOrTokensOnSameLine(optionName) {\n  return (context) => !context.options || !hasProperty(context.options, optionName) || !context.options[optionName] || context.TokensAreOnSameLine();\n}\nfunction isOptionEnabledOrUndefined(optionName) {\n  return (context) => !context.options || !hasProperty(context.options, optionName) || !!context.options[optionName];\n}\nfunction isForContext(context) {\n  return context.contextNode.kind === 249 /* ForStatement */;\n}\nfunction isNotForContext(context) {\n  return !isForContext(context);\n}\nfunction isBinaryOpContext(context) {\n  switch (context.contextNode.kind) {\n    case 227 /* BinaryExpression */:\n      return context.contextNode.operatorToken.kind !== 27 /* CommaToken */;\n    case 228 /* ConditionalExpression */:\n    case 194 /* ConditionalType */:\n    case 235 /* AsExpression */:\n    case 284 /* ExportSpecifier */:\n    case 279 /* ImportSpecifier */:\n    case 182 /* TypePredicate */:\n    case 192 /* UnionType */:\n    case 193 /* IntersectionType */:\n    case 239 /* SatisfiesExpression */:\n      return true;\n    case 208 /* BindingElement */:\n    case 268 /* TypeAliasDeclaration */:\n    case 274 /* ImportEqualsDeclaration */:\n    case 280 /* ExportAssignment */:\n    case 261 /* VariableDeclaration */:\n    case 168 /* Parameter */:\n    case 308 /* EnumMember */:\n    case 171 /* PropertyDeclaration */:\n    case 170 /* PropertySignature */:\n      return context.currentTokenSpan.kind === 63 /* EqualsToken */ || context.nextTokenSpan.kind === 63 /* EqualsToken */;\n    case 250 /* ForInStatement */:\n    case 167 /* TypeParameter */:\n      return context.currentTokenSpan.kind === 102 /* InKeyword */ || context.nextTokenSpan.kind === 102 /* InKeyword */ || context.currentTokenSpan.kind === 63 /* EqualsToken */ || context.nextTokenSpan.kind === 63 /* EqualsToken */;\n    case 251 /* ForOfStatement */:\n      return context.currentTokenSpan.kind === 164 /* OfKeyword */ || context.nextTokenSpan.kind === 164 /* OfKeyword */;\n  }\n  return false;\n}\nfunction isNotBinaryOpContext(context) {\n  return !isBinaryOpContext(context);\n}\nfunction isNotTypeAnnotationContext(context) {\n  return !isTypeAnnotationContext(context);\n}\nfunction isTypeAnnotationContext(context) {\n  const contextKind = context.contextNode.kind;\n  return contextKind === 171 /* PropertyDeclaration */ || contextKind === 170 /* PropertySignature */ || contextKind === 168 /* Parameter */ || contextKind === 261 /* VariableDeclaration */ || isFunctionLikeKind(contextKind);\n}\nfunction isConditionalOperatorContext(context) {\n  return context.contextNode.kind === 228 /* ConditionalExpression */ || context.contextNode.kind === 194 /* ConditionalType */;\n}\nfunction isSameLineTokenOrBeforeBlockContext(context) {\n  return context.TokensAreOnSameLine() || isBeforeBlockContext(context);\n}\nfunction isBraceWrappedContext(context) {\n  return context.contextNode.kind === 206 /* ObjectBindingPattern */ || context.contextNode.kind === 200 /* MappedType */ || isSingleLineBlockContext(context);\n}\nfunction isBeforeMultilineBlockContext(context) {\n  return isBeforeBlockContext(context) && !(context.NextNodeAllOnSameLine() || context.NextNodeBlockIsOnOneLine());\n}\nfunction isMultilineBlockContext(context) {\n  return isBlockContext(context) && !(context.ContextNodeAllOnSameLine() || context.ContextNodeBlockIsOnOneLine());\n}\nfunction isSingleLineBlockContext(context) {\n  return isBlockContext(context) && (context.ContextNodeAllOnSameLine() || context.ContextNodeBlockIsOnOneLine());\n}\nfunction isBlockContext(context) {\n  return nodeIsBlockContext(context.contextNode);\n}\nfunction isBeforeBlockContext(context) {\n  return nodeIsBlockContext(context.nextTokenParent);\n}\nfunction nodeIsBlockContext(node) {\n  if (nodeIsTypeScriptDeclWithBlockContext(node)) {\n    return true;\n  }\n  switch (node.kind) {\n    case 242 /* Block */:\n    case 272 /* CaseBlock */:\n    case 210 /* ObjectLiteralExpression */:\n    case 271 /* ModuleBlock */:\n      return true;\n  }\n  return false;\n}\nfunction isFunctionDeclContext(context) {\n  switch (context.contextNode.kind) {\n    case 263 /* FunctionDeclaration */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n    case 179 /* CallSignature */:\n    case 218 /* FunctionExpression */:\n    case 176 /* Constructor */:\n    case 219 /* ArrowFunction */:\n    case 267 /* InterfaceDeclaration */:\n      return true;\n  }\n  return false;\n}\nfunction isNotFunctionDeclContext(context) {\n  return !isFunctionDeclContext(context);\n}\nfunction isFunctionDeclarationOrFunctionExpressionContext(context) {\n  return context.contextNode.kind === 263 /* FunctionDeclaration */ || context.contextNode.kind === 218 /* FunctionExpression */;\n}\nfunction isTypeScriptDeclWithBlockContext(context) {\n  return nodeIsTypeScriptDeclWithBlockContext(context.contextNode);\n}\nfunction nodeIsTypeScriptDeclWithBlockContext(node) {\n  switch (node.kind) {\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 232 /* ClassExpression */:\n    case 267 /* InterfaceDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 187 /* TypeLiteral */:\n    case 270 /* ModuleDeclaration */:\n    case 281 /* ExportDeclaration */:\n    case 282 /* NamedExports */:\n    case 275 /* ImportDeclaration */:\n    case 278 /* NamedImports */:\n      return true;\n  }\n  return false;\n}\nfunction isAfterCodeBlockContext(context) {\n  switch (context.currentTokenParent.kind) {\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 270 /* ModuleDeclaration */:\n    case 269 /* EnumDeclaration */:\n    case 301 /* CatchClause */:\n    case 271 /* ModuleBlock */:\n    case 256 /* SwitchStatement */:\n      return true;\n    case 242 /* Block */: {\n      const blockParent = context.currentTokenParent.parent;\n      if (!blockParent || blockParent.kind !== 219 /* ArrowFunction */ && blockParent.kind !== 218 /* FunctionExpression */) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\nfunction isControlDeclContext(context) {\n  switch (context.contextNode.kind) {\n    case 246 /* IfStatement */:\n    case 256 /* SwitchStatement */:\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n    case 248 /* WhileStatement */:\n    case 259 /* TryStatement */:\n    case 247 /* DoStatement */:\n    case 255 /* WithStatement */:\n    case 301 /* CatchClause */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isObjectContext(context) {\n  return context.contextNode.kind === 210 /* ObjectLiteralExpression */;\n}\nfunction isFunctionCallContext(context) {\n  return context.contextNode.kind === 213 /* CallExpression */;\n}\nfunction isNewContext(context) {\n  return context.contextNode.kind === 214 /* NewExpression */;\n}\nfunction isFunctionCallOrNewContext(context) {\n  return isFunctionCallContext(context) || isNewContext(context);\n}\nfunction isPreviousTokenNotComma(context) {\n  return context.currentTokenSpan.kind !== 27 /* CommaToken */;\n}\nfunction isNextTokenNotCloseBracket(context) {\n  return context.nextTokenSpan.kind !== 23 /* CloseBracketToken */;\n}\nfunction isNextTokenNotCloseParen(context) {\n  return context.nextTokenSpan.kind !== 21 /* CloseParenToken */;\n}\nfunction isArrowFunctionContext(context) {\n  return context.contextNode.kind === 219 /* ArrowFunction */;\n}\nfunction isImportTypeContext(context) {\n  return context.contextNode.kind === 205 /* ImportType */;\n}\nfunction isNonJsxSameLineTokenContext(context) {\n  return context.TokensAreOnSameLine() && context.contextNode.kind !== 11 /* JsxText */;\n}\nfunction isNonJsxTextContext(context) {\n  return context.contextNode.kind !== 11 /* JsxText */;\n}\nfunction isNonJsxElementOrFragmentContext(context) {\n  return context.contextNode.kind !== 287 /* JsxElement */ && context.contextNode.kind !== 291 /* JsxFragment */;\n}\nfunction isJsxExpressionContext(context) {\n  return context.contextNode.kind === 297 /* JsxExpression */ || context.contextNode.kind === 296 /* JsxSpreadAttribute */;\n}\nfunction isNextTokenParentJsxAttribute(context) {\n  return context.nextTokenParent.kind === 294 /* JsxAttribute */;\n}\nfunction isJsxAttributeContext(context) {\n  return context.contextNode.kind === 294 /* JsxAttribute */;\n}\nfunction isJsxSelfClosingElementContext(context) {\n  return context.contextNode.kind === 288 /* JsxSelfClosingElement */;\n}\nfunction isNotBeforeBlockInFunctionDeclarationContext(context) {\n  return !isFunctionDeclContext(context) && !isBeforeBlockContext(context);\n}\nfunction isEndOfDecoratorContextOnSameLine(context) {\n  return context.TokensAreOnSameLine() && hasDecorators(context.contextNode) && nodeIsInDecoratorContext(context.currentTokenParent) && !nodeIsInDecoratorContext(context.nextTokenParent);\n}\nfunction nodeIsInDecoratorContext(node) {\n  while (node && isExpression(node)) {\n    node = node.parent;\n  }\n  return node && node.kind === 169 /* Decorator */;\n}\nfunction isStartOfVariableDeclarationList(context) {\n  return context.currentTokenParent.kind === 262 /* VariableDeclarationList */ && context.currentTokenParent.getStart(context.sourceFile) === context.currentTokenSpan.pos;\n}\nfunction isNotFormatOnEnter(context) {\n  return context.formattingRequestKind !== 2 /* FormatOnEnter */;\n}\nfunction isModuleDeclContext(context) {\n  return context.contextNode.kind === 270 /* ModuleDeclaration */;\n}\nfunction isObjectTypeContext(context) {\n  return context.contextNode.kind === 187 /* TypeLiteral */;\n}\nfunction isConstructorSignatureContext(context) {\n  return context.contextNode.kind === 180 /* ConstructSignature */;\n}\nfunction isTypeArgumentOrParameterOrAssertion(token, parent2) {\n  if (token.kind !== 29 /* LessThanToken */ && token.kind !== 31 /* GreaterThanToken */) {\n    return false;\n  }\n  switch (parent2.kind) {\n    case 183 /* TypeReference */:\n    case 216 /* TypeAssertionExpression */:\n    case 268 /* TypeAliasDeclaration */:\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 219 /* ArrowFunction */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 179 /* CallSignature */:\n    case 180 /* ConstructSignature */:\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n    case 234 /* ExpressionWithTypeArguments */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isTypeArgumentOrParameterOrAssertionContext(context) {\n  return isTypeArgumentOrParameterOrAssertion(context.currentTokenSpan, context.currentTokenParent) || isTypeArgumentOrParameterOrAssertion(context.nextTokenSpan, context.nextTokenParent);\n}\nfunction isTypeAssertionContext(context) {\n  return context.contextNode.kind === 216 /* TypeAssertionExpression */;\n}\nfunction isVoidOpContext(context) {\n  return context.currentTokenSpan.kind === 115 /* VoidKeyword */ && context.currentTokenParent.kind === 223 /* VoidExpression */;\n}\nfunction isYieldOrYieldStarWithOperand(context) {\n  return context.contextNode.kind === 230 /* YieldExpression */ && context.contextNode.expression !== void 0;\n}\nfunction isNonNullAssertionContext(context) {\n  return context.contextNode.kind === 236 /* NonNullExpression */;\n}\nfunction isNotStatementConditionContext(context) {\n  return !isStatementConditionContext(context);\n}\nfunction isStatementConditionContext(context) {\n  switch (context.contextNode.kind) {\n    case 246 /* IfStatement */:\n    case 249 /* ForStatement */:\n    case 250 /* ForInStatement */:\n    case 251 /* ForOfStatement */:\n    case 247 /* DoStatement */:\n    case 248 /* WhileStatement */:\n      return true;\n    default:\n      return false;\n  }\n}\nfunction isSemicolonDeletionContext(context) {\n  let nextTokenKind = context.nextTokenSpan.kind;\n  let nextTokenStart = context.nextTokenSpan.pos;\n  if (isTrivia(nextTokenKind)) {\n    const nextRealToken = context.nextTokenParent === context.currentTokenParent ? findNextToken(\n      context.currentTokenParent,\n      findAncestor(context.currentTokenParent, (a) => !a.parent),\n      context.sourceFile\n    ) : context.nextTokenParent.getFirstToken(context.sourceFile);\n    if (!nextRealToken) {\n      return true;\n    }\n    nextTokenKind = nextRealToken.kind;\n    nextTokenStart = nextRealToken.getStart(context.sourceFile);\n  }\n  const startLine = context.sourceFile.getLineAndCharacterOfPosition(context.currentTokenSpan.pos).line;\n  const endLine = context.sourceFile.getLineAndCharacterOfPosition(nextTokenStart).line;\n  if (startLine === endLine) {\n    return nextTokenKind === 19 /* CloseBraceToken */ || nextTokenKind === 1 /* EndOfFileToken */;\n  }\n  if (nextTokenKind === 241 /* SemicolonClassElement */ || nextTokenKind === 26 /* SemicolonToken */) {\n    return false;\n  }\n  if (context.contextNode.kind === 267 /* InterfaceDeclaration */ || context.contextNode.kind === 268 /* TypeAliasDeclaration */) {\n    return !isPropertySignature(context.currentTokenParent) || !!context.currentTokenParent.type || nextTokenKind !== 20 /* OpenParenToken */;\n  }\n  if (isPropertyDeclaration(context.currentTokenParent)) {\n    return !context.currentTokenParent.initializer;\n  }\n  return context.currentTokenParent.kind !== 249 /* ForStatement */ && context.currentTokenParent.kind !== 243 /* EmptyStatement */ && context.currentTokenParent.kind !== 241 /* SemicolonClassElement */ && nextTokenKind !== 22 /* OpenBracketToken */ && nextTokenKind !== 20 /* OpenParenToken */ && nextTokenKind !== 39 /* PlusToken */ && nextTokenKind !== 40 /* MinusToken */ && nextTokenKind !== 43 /* SlashToken */ && nextTokenKind !== 13 /* RegularExpressionLiteral */ && nextTokenKind !== 27 /* CommaToken */ && nextTokenKind !== 229 /* TemplateExpression */ && nextTokenKind !== 15 /* TemplateHead */ && nextTokenKind !== 14 /* NoSubstitutionTemplateLiteral */ && nextTokenKind !== 24 /* DotToken */;\n}\nfunction isSemicolonInsertionContext(context) {\n  return positionIsASICandidate(context.currentTokenSpan.end, context.currentTokenParent, context.sourceFile);\n}\nfunction isNotPropertyAccessOnIntegerLiteral(context) {\n  return !isPropertyAccessExpression(context.contextNode) || !isNumericLiteral(context.contextNode.expression) || context.contextNode.expression.getText().indexOf(\".\") !== -1;\n}\n\n// src/services/formatting/rulesMap.ts\nfunction getFormatContext(options, host) {\n  return { options, getRules: getRulesMap(), host };\n}\nvar rulesMapCache;\nfunction getRulesMap() {\n  if (rulesMapCache === void 0) {\n    rulesMapCache = createRulesMap(getAllRules());\n  }\n  return rulesMapCache;\n}\nfunction getRuleActionExclusion(ruleAction) {\n  let mask2 = 0;\n  if (ruleAction & 1 /* StopProcessingSpaceActions */) {\n    mask2 |= 28 /* ModifySpaceAction */;\n  }\n  if (ruleAction & 2 /* StopProcessingTokenActions */) {\n    mask2 |= 96 /* ModifyTokenAction */;\n  }\n  if (ruleAction & 28 /* ModifySpaceAction */) {\n    mask2 |= 28 /* ModifySpaceAction */;\n  }\n  if (ruleAction & 96 /* ModifyTokenAction */) {\n    mask2 |= 96 /* ModifyTokenAction */;\n  }\n  return mask2;\n}\nfunction createRulesMap(rules) {\n  const map2 = buildMap(rules);\n  return (context) => {\n    const bucket = map2[getRuleBucketIndex(context.currentTokenSpan.kind, context.nextTokenSpan.kind)];\n    if (bucket) {\n      const rules2 = [];\n      let ruleActionMask = 0;\n      for (const rule2 of bucket) {\n        const acceptRuleActions = ~getRuleActionExclusion(ruleActionMask);\n        if (rule2.action & acceptRuleActions && every(rule2.context, (c) => c(context))) {\n          rules2.push(rule2);\n          ruleActionMask |= rule2.action;\n        }\n      }\n      if (rules2.length) {\n        return rules2;\n      }\n    }\n  };\n}\nfunction buildMap(rules) {\n  const map2 = new Array(mapRowLength * mapRowLength);\n  const rulesBucketConstructionStateList = new Array(map2.length);\n  for (const rule2 of rules) {\n    const specificRule = rule2.leftTokenRange.isSpecific && rule2.rightTokenRange.isSpecific;\n    for (const left of rule2.leftTokenRange.tokens) {\n      for (const right of rule2.rightTokenRange.tokens) {\n        const index = getRuleBucketIndex(left, right);\n        let rulesBucket = map2[index];\n        if (rulesBucket === void 0) {\n          rulesBucket = map2[index] = [];\n        }\n        addRule(rulesBucket, rule2.rule, specificRule, rulesBucketConstructionStateList, index);\n      }\n    }\n  }\n  return map2;\n}\nfunction getRuleBucketIndex(row, column) {\n  Debug.assert(row <= 164 /* LastKeyword */ && column <= 164 /* LastKeyword */, \"Must compute formatting context from tokens\");\n  return row * mapRowLength + column;\n}\nvar maskBitSize = 5;\nvar mask = 31;\nvar mapRowLength = 164 /* LastToken */ + 1;\nvar RulesPosition = ((RulesPosition2) => {\n  RulesPosition2[RulesPosition2[\"StopRulesSpecific\"] = 0] = \"StopRulesSpecific\";\n  RulesPosition2[RulesPosition2[\"StopRulesAny\"] = maskBitSize * 1] = \"StopRulesAny\";\n  RulesPosition2[RulesPosition2[\"ContextRulesSpecific\"] = maskBitSize * 2] = \"ContextRulesSpecific\";\n  RulesPosition2[RulesPosition2[\"ContextRulesAny\"] = maskBitSize * 3] = \"ContextRulesAny\";\n  RulesPosition2[RulesPosition2[\"NoContextRulesSpecific\"] = maskBitSize * 4] = \"NoContextRulesSpecific\";\n  RulesPosition2[RulesPosition2[\"NoContextRulesAny\"] = maskBitSize * 5] = \"NoContextRulesAny\";\n  return RulesPosition2;\n})(RulesPosition || {});\nfunction addRule(rules, rule2, specificTokens, constructionState, rulesBucketIndex) {\n  const position = rule2.action & 3 /* StopAction */ ? specificTokens ? 0 /* StopRulesSpecific */ : RulesPosition.StopRulesAny : rule2.context !== anyContext ? specificTokens ? RulesPosition.ContextRulesSpecific : RulesPosition.ContextRulesAny : specificTokens ? RulesPosition.NoContextRulesSpecific : RulesPosition.NoContextRulesAny;\n  const state = constructionState[rulesBucketIndex] || 0;\n  rules.splice(getInsertionIndex(state, position), 0, rule2);\n  constructionState[rulesBucketIndex] = increaseInsertionIndex(state, position);\n}\nfunction getInsertionIndex(indexBitmap, maskPosition) {\n  let index = 0;\n  for (let pos = 0; pos <= maskPosition; pos += maskBitSize) {\n    index += indexBitmap & mask;\n    indexBitmap >>= maskBitSize;\n  }\n  return index;\n}\nfunction increaseInsertionIndex(indexBitmap, maskPosition) {\n  const value = (indexBitmap >> maskPosition & mask) + 1;\n  Debug.assert((value & mask) === value, \"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.\");\n  return indexBitmap & ~(mask << maskPosition) | value << maskPosition;\n}\n\n// src/services/formatting/formatting.ts\nfunction createTextRangeWithKind(pos, end, kind) {\n  const textRangeWithKind = { pos, end, kind };\n  if (Debug.isDebugging) {\n    Object.defineProperty(textRangeWithKind, \"__debugKind\", {\n      get: () => Debug.formatSyntaxKind(kind)\n    });\n  }\n  return textRangeWithKind;\n}\nvar Constants = /* @__PURE__ */ ((Constants2) => {\n  Constants2[Constants2[\"Unknown\"] = -1] = \"Unknown\";\n  return Constants2;\n})(Constants || {});\nfunction formatOnEnter(position, sourceFile, formatContext) {\n  const line = sourceFile.getLineAndCharacterOfPosition(position).line;\n  if (line === 0) {\n    return [];\n  }\n  let endOfFormatSpan = getEndLinePosition(line, sourceFile);\n  while (isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(endOfFormatSpan))) {\n    endOfFormatSpan--;\n  }\n  if (isLineBreak(sourceFile.text.charCodeAt(endOfFormatSpan))) {\n    endOfFormatSpan--;\n  }\n  const span = {\n    pos: getStartPositionOfLine(line - 1, sourceFile),\n    end: endOfFormatSpan + 1\n  };\n  return formatSpan(span, sourceFile, formatContext, 2 /* FormatOnEnter */);\n}\nfunction formatOnSemicolon(position, sourceFile, formatContext) {\n  const semicolon = findImmediatelyPrecedingTokenOfKind(position, 26 /* SemicolonToken */, sourceFile);\n  return formatNodeLines(findOutermostNodeWithinListLevel(semicolon), sourceFile, formatContext, 3 /* FormatOnSemicolon */);\n}\nfunction formatOnOpeningCurly(position, sourceFile, formatContext) {\n  const openingCurly = findImmediatelyPrecedingTokenOfKind(position, 18 /* OpenBraceToken */, sourceFile);\n  if (!openingCurly) {\n    return [];\n  }\n  const curlyBraceRange = openingCurly.parent;\n  const outermostNode = findOutermostNodeWithinListLevel(curlyBraceRange);\n  const textRange = {\n    pos: getLineStartPositionForPosition(outermostNode.getStart(sourceFile), sourceFile),\n    end: position\n  };\n  return formatSpan(textRange, sourceFile, formatContext, 4 /* FormatOnOpeningCurlyBrace */);\n}\nfunction formatOnClosingCurly(position, sourceFile, formatContext) {\n  const precedingToken = findImmediatelyPrecedingTokenOfKind(position, 19 /* CloseBraceToken */, sourceFile);\n  return formatNodeLines(findOutermostNodeWithinListLevel(precedingToken), sourceFile, formatContext, 5 /* FormatOnClosingCurlyBrace */);\n}\nfunction formatDocument(sourceFile, formatContext) {\n  const span = {\n    pos: 0,\n    end: sourceFile.text.length\n  };\n  return formatSpan(span, sourceFile, formatContext, 0 /* FormatDocument */);\n}\nfunction formatSelection(start, end, sourceFile, formatContext) {\n  const span = {\n    pos: getLineStartPositionForPosition(start, sourceFile),\n    end\n  };\n  return formatSpan(span, sourceFile, formatContext, 1 /* FormatSelection */);\n}\nfunction findImmediatelyPrecedingTokenOfKind(end, expectedTokenKind, sourceFile) {\n  const precedingToken = findPrecedingToken(end, sourceFile);\n  return precedingToken && precedingToken.kind === expectedTokenKind && end === precedingToken.getEnd() ? precedingToken : void 0;\n}\nfunction findOutermostNodeWithinListLevel(node) {\n  let current = node;\n  while (current && current.parent && current.parent.end === node.end && !isListElement(current.parent, current)) {\n    current = current.parent;\n  }\n  return current;\n}\nfunction isListElement(parent2, node) {\n  switch (parent2.kind) {\n    case 264 /* ClassDeclaration */:\n    case 265 /* StructDeclaration */:\n    case 267 /* InterfaceDeclaration */:\n      return rangeContainsRange(parent2.members, node);\n    case 270 /* ModuleDeclaration */:\n      const body = parent2.body;\n      return !!body && body.kind === 271 /* ModuleBlock */ && rangeContainsRange(body.statements, node);\n    case 314 /* SourceFile */:\n    case 242 /* Block */:\n    case 271 /* ModuleBlock */:\n      return rangeContainsRange(parent2.statements, node);\n    case 301 /* CatchClause */:\n      return rangeContainsRange(parent2.block.statements, node);\n  }\n  return false;\n}\nfunction findEnclosingNode(range, sourceFile) {\n  return find2(sourceFile);\n  function find2(n) {\n    const candidate = forEachChild(n, (c) => startEndContainsRange(c.getStart(sourceFile), c.end, range) && c);\n    if (candidate) {\n      const result = find2(candidate);\n      if (result) {\n        return result;\n      }\n    }\n    return n;\n  }\n}\nfunction prepareRangeContainsErrorFunction(errors, originalRange) {\n  if (!errors.length) {\n    return rangeHasNoErrors;\n  }\n  const sorted = errors.filter((d) => rangeOverlapsWithStartEnd(originalRange, d.start, d.start + d.length)).sort((e1, e2) => e1.start - e2.start);\n  if (!sorted.length) {\n    return rangeHasNoErrors;\n  }\n  let index = 0;\n  return (r) => {\n    while (true) {\n      if (index >= sorted.length) {\n        return false;\n      }\n      const error = sorted[index];\n      if (r.end <= error.start) {\n        return false;\n      }\n      if (startEndOverlapsWithStartEnd(r.pos, r.end, error.start, error.start + error.length)) {\n        return true;\n      }\n      index++;\n    }\n  };\n  function rangeHasNoErrors() {\n    return false;\n  }\n}\nfunction getScanStartPosition(enclosingNode, originalRange, sourceFile) {\n  const start = enclosingNode.getStart(sourceFile);\n  if (start === originalRange.pos && enclosingNode.end === originalRange.end) {\n    return start;\n  }\n  const precedingToken = findPrecedingToken(originalRange.pos, sourceFile);\n  if (!precedingToken) {\n    return enclosingNode.pos;\n  }\n  if (precedingToken.end >= originalRange.pos) {\n    return enclosingNode.pos;\n  }\n  return precedingToken.end;\n}\nfunction getOwnOrInheritedDelta(n, options, sourceFile) {\n  let previousLine = -1 /* Unknown */;\n  let child;\n  while (n) {\n    const line = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile)).line;\n    if (previousLine !== -1 /* Unknown */ && line !== previousLine) {\n      break;\n    }\n    if (SmartIndenter.shouldIndentChildNode(options, n, child, sourceFile)) {\n      return options.indentSize;\n    }\n    previousLine = line;\n    child = n;\n    n = n.parent;\n  }\n  return 0;\n}\nfunction formatNodeGivenIndentation(node, sourceFileLike, languageVariant, initialIndentation, delta, formatContext) {\n  const range = { pos: node.pos, end: node.end };\n  return getFormattingScanner(sourceFileLike.text, languageVariant, range.pos, range.end, (scanner2) => formatSpanWorker(\n    range,\n    node,\n    initialIndentation,\n    delta,\n    scanner2,\n    formatContext,\n    1 /* FormatSelection */,\n    (_) => false,\n    sourceFileLike\n  ));\n}\nfunction formatNodeLines(node, sourceFile, formatContext, requestKind) {\n  if (!node) {\n    return [];\n  }\n  const span = {\n    pos: getLineStartPositionForPosition(node.getStart(sourceFile), sourceFile),\n    end: node.end\n  };\n  return formatSpan(span, sourceFile, formatContext, requestKind);\n}\nfunction formatSpan(originalRange, sourceFile, formatContext, requestKind) {\n  const enclosingNode = findEnclosingNode(originalRange, sourceFile);\n  return getFormattingScanner(\n    sourceFile.text,\n    sourceFile.languageVariant,\n    getScanStartPosition(enclosingNode, originalRange, sourceFile),\n    originalRange.end,\n    (scanner2) => formatSpanWorker(\n      originalRange,\n      enclosingNode,\n      SmartIndenter.getIndentationForNode(enclosingNode, originalRange, sourceFile, formatContext.options),\n      getOwnOrInheritedDelta(enclosingNode, formatContext.options, sourceFile),\n      scanner2,\n      formatContext,\n      requestKind,\n      prepareRangeContainsErrorFunction(sourceFile.parseDiagnostics, originalRange),\n      sourceFile\n    )\n  );\n}\nfunction formatSpanWorker(originalRange, enclosingNode, initialIndentation, delta, formattingScanner, { options, getRules, host }, requestKind, rangeContainsError, sourceFile) {\n  var _a2;\n  const formattingContext = new FormattingContext(sourceFile, requestKind, options);\n  let previousRangeTriviaEnd;\n  let previousRange;\n  let previousParent;\n  let previousRangeStartLine;\n  let lastIndentedLine;\n  let indentationOnLastIndentedLine = -1 /* Unknown */;\n  const edits = [];\n  formattingScanner.advance();\n  if (formattingScanner.isOnToken()) {\n    const startLine = sourceFile.getLineAndCharacterOfPosition(enclosingNode.getStart(sourceFile)).line;\n    let undecoratedStartLine = startLine;\n    if (hasDecorators(enclosingNode)) {\n      undecoratedStartLine = sourceFile.getLineAndCharacterOfPosition(getNonDecoratorTokenPosOfNode(enclosingNode, sourceFile)).line;\n    }\n    processNode(enclosingNode, enclosingNode, startLine, undecoratedStartLine, initialIndentation, delta);\n  }\n  if (!formattingScanner.isOnToken()) {\n    const indentation = SmartIndenter.nodeWillIndentChild(options, enclosingNode, void 0, sourceFile, false) ? initialIndentation + options.indentSize : initialIndentation;\n    const leadingTrivia = formattingScanner.getCurrentLeadingTrivia();\n    if (leadingTrivia) {\n      indentTriviaItems(\n        leadingTrivia,\n        indentation,\n        false,\n        (item) => processRange(item, sourceFile.getLineAndCharacterOfPosition(item.pos), enclosingNode, enclosingNode, void 0)\n      );\n      if (options.trimTrailingWhitespace !== false) {\n        trimTrailingWhitespacesForRemainingRange(leadingTrivia);\n      }\n    }\n  }\n  if (previousRange && formattingScanner.getStartPos() >= originalRange.end) {\n    const tokenInfo = formattingScanner.isOnEOF() ? formattingScanner.readEOFTokenRange() : formattingScanner.isOnToken() ? formattingScanner.readTokenInfo(enclosingNode).token : void 0;\n    if (tokenInfo && tokenInfo.pos === previousRangeTriviaEnd) {\n      const parent2 = ((_a2 = findPrecedingToken(tokenInfo.end, sourceFile, enclosingNode)) == null ? void 0 : _a2.parent) || previousParent;\n      processPair(\n        tokenInfo,\n        sourceFile.getLineAndCharacterOfPosition(tokenInfo.pos).line,\n        parent2,\n        previousRange,\n        previousRangeStartLine,\n        previousParent,\n        parent2,\n        void 0\n      );\n    }\n  }\n  return edits;\n  function tryComputeIndentationForListItem(startPos, endPos, parentStartLine, range, inheritedIndentation) {\n    if (rangeOverlapsWithStartEnd(range, startPos, endPos) || rangeContainsStartEnd(range, startPos, endPos)) {\n      if (inheritedIndentation !== -1 /* Unknown */) {\n        return inheritedIndentation;\n      }\n    } else {\n      const startLine = sourceFile.getLineAndCharacterOfPosition(startPos).line;\n      const startLinePosition = getLineStartPositionForPosition(startPos, sourceFile);\n      const column = SmartIndenter.findFirstNonWhitespaceColumn(startLinePosition, startPos, sourceFile, options);\n      if (startLine !== parentStartLine || startPos === column) {\n        const baseIndentSize = SmartIndenter.getBaseIndentation(options);\n        return baseIndentSize > column ? baseIndentSize : column;\n      }\n    }\n    return -1 /* Unknown */;\n  }\n  function computeIndentation(node, startLine, inheritedIndentation, parent2, parentDynamicIndentation, effectiveParentStartLine) {\n    const delta2 = SmartIndenter.shouldIndentChildNode(options, node) ? options.indentSize : 0;\n    if (effectiveParentStartLine === startLine) {\n      return {\n        indentation: startLine === lastIndentedLine ? indentationOnLastIndentedLine : parentDynamicIndentation.getIndentation(),\n        delta: Math.min(options.indentSize, parentDynamicIndentation.getDelta(node) + delta2)\n      };\n    } else if (inheritedIndentation === -1 /* Unknown */) {\n      if (node.kind === 20 /* OpenParenToken */ && startLine === lastIndentedLine) {\n        return { indentation: indentationOnLastIndentedLine, delta: parentDynamicIndentation.getDelta(node) };\n      } else if (SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(parent2, node, startLine, sourceFile) || SmartIndenter.childIsUnindentedBranchOfConditionalExpression(parent2, node, startLine, sourceFile) || SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(parent2, node, startLine, sourceFile)) {\n        return { indentation: parentDynamicIndentation.getIndentation(), delta: delta2 };\n      } else {\n        return { indentation: parentDynamicIndentation.getIndentation() + parentDynamicIndentation.getDelta(node), delta: delta2 };\n      }\n    } else {\n      return { indentation: inheritedIndentation, delta: delta2 };\n    }\n  }\n  function getFirstNonDecoratorTokenOfNode(node) {\n    if (canHaveModifiers(node)) {\n      const modifier = find(node.modifiers, isModifier, findIndex(node.modifiers, isDecorator));\n      if (modifier)\n        return modifier.kind;\n    }\n    switch (node.kind) {\n      case 264 /* ClassDeclaration */:\n        return 84 /* ClassKeyword */;\n      case 265 /* StructDeclaration */:\n        return 85 /* StructKeyword */;\n      case 267 /* InterfaceDeclaration */:\n        return 119 /* InterfaceKeyword */;\n      case 263 /* FunctionDeclaration */:\n        return 99 /* FunctionKeyword */;\n      case 269 /* EnumDeclaration */:\n        return 269 /* EnumDeclaration */;\n      case 177 /* GetAccessor */:\n        return 138 /* GetKeyword */;\n      case 178 /* SetAccessor */:\n        return 152 /* SetKeyword */;\n      case 174 /* MethodDeclaration */:\n        if (node.asteriskToken) {\n          return 41 /* AsteriskToken */;\n        }\n      case 171 /* PropertyDeclaration */:\n      case 168 /* Parameter */:\n        const name = getNameOfDeclaration(node);\n        if (name) {\n          return name.kind;\n        }\n    }\n  }\n  function getDynamicIndentation(node, nodeStartLine, indentation, delta2) {\n    return {\n      getIndentationForComment: (kind, tokenIndentation, container) => {\n        switch (kind) {\n          case 19 /* CloseBraceToken */:\n          case 23 /* CloseBracketToken */:\n          case 21 /* CloseParenToken */:\n            return indentation + getDelta(container);\n        }\n        return tokenIndentation !== -1 /* Unknown */ ? tokenIndentation : indentation;\n      },\n      getIndentationForToken: (line, kind, container, suppressDelta) => !suppressDelta && shouldAddDelta(line, kind, container) ? indentation + getDelta(container) : indentation,\n      getIndentation: () => indentation,\n      getDelta,\n      recomputeIndentation: (lineAdded, parent2) => {\n        if (SmartIndenter.shouldIndentChildNode(options, parent2, node, sourceFile)) {\n          indentation += lineAdded ? options.indentSize : -options.indentSize;\n          delta2 = SmartIndenter.shouldIndentChildNode(options, node) ? options.indentSize : 0;\n        }\n      }\n    };\n    function shouldAddDelta(line, kind, container) {\n      switch (kind) {\n        case 18 /* OpenBraceToken */:\n        case 19 /* CloseBraceToken */:\n        case 21 /* CloseParenToken */:\n        case 92 /* ElseKeyword */:\n        case 116 /* WhileKeyword */:\n        case 59 /* AtToken */:\n          return false;\n        case 43 /* SlashToken */:\n        case 31 /* GreaterThanToken */:\n          switch (container.kind) {\n            case 289 /* JsxOpeningElement */:\n            case 290 /* JsxClosingElement */:\n            case 288 /* JsxSelfClosingElement */:\n              return false;\n          }\n          break;\n        case 22 /* OpenBracketToken */:\n        case 23 /* CloseBracketToken */:\n          if (container.kind !== 200 /* MappedType */) {\n            return false;\n          }\n          break;\n      }\n      return nodeStartLine !== line && !(hasDecorators(node) && kind === getFirstNonDecoratorTokenOfNode(node));\n    }\n    function getDelta(child) {\n      return SmartIndenter.nodeWillIndentChild(options, node, child, sourceFile, true) ? delta2 : 0;\n    }\n  }\n  function processNode(node, contextNode, nodeStartLine, undecoratedNodeStartLine, indentation, delta2) {\n    if (!rangeOverlapsWithStartEnd(originalRange, node.getStart(sourceFile), node.getEnd())) {\n      return;\n    }\n    const nodeDynamicIndentation = getDynamicIndentation(node, nodeStartLine, indentation, delta2);\n    let childContextNode = contextNode;\n    forEachChild(\n      node,\n      (child) => {\n        processChildNode(child, -1 /* Unknown */, node, nodeDynamicIndentation, nodeStartLine, undecoratedNodeStartLine, false);\n      },\n      (nodes) => {\n        processChildNodes(nodes, node, nodeStartLine, nodeDynamicIndentation);\n      }\n    );\n    while (formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n      const tokenInfo = formattingScanner.readTokenInfo(node);\n      if (tokenInfo.token.end > Math.min(node.end, originalRange.end)) {\n        break;\n      }\n      consumeTokenAndAdvanceScanner(tokenInfo, node, nodeDynamicIndentation, node);\n    }\n    function processChildNode(child, inheritedIndentation, parent2, parentDynamicIndentation, parentStartLine, undecoratedParentStartLine, isListItem, isFirstListItem) {\n      Debug.assert(!nodeIsSynthesized(child));\n      if (nodeIsMissing(child)) {\n        return inheritedIndentation;\n      }\n      const childStartPos = child.getStart(sourceFile);\n      const childStartLine = sourceFile.getLineAndCharacterOfPosition(childStartPos).line;\n      let undecoratedChildStartLine = childStartLine;\n      if (hasDecorators(child)) {\n        undecoratedChildStartLine = sourceFile.getLineAndCharacterOfPosition(getNonDecoratorTokenPosOfNode(child, sourceFile)).line;\n      }\n      let childIndentationAmount = -1 /* Unknown */;\n      if (isListItem && rangeContainsRange(originalRange, parent2)) {\n        childIndentationAmount = tryComputeIndentationForListItem(childStartPos, child.end, parentStartLine, originalRange, inheritedIndentation);\n        if (childIndentationAmount !== -1 /* Unknown */) {\n          inheritedIndentation = childIndentationAmount;\n        }\n      }\n      if (!rangeOverlapsWithStartEnd(originalRange, child.pos, child.end)) {\n        if (child.end < originalRange.pos) {\n          formattingScanner.skipToEndOf(child);\n        }\n        return inheritedIndentation;\n      }\n      if (child.getFullWidth() === 0) {\n        return inheritedIndentation;\n      }\n      while (formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n        const tokenInfo = formattingScanner.readTokenInfo(node);\n        if (tokenInfo.token.end > originalRange.end) {\n          return inheritedIndentation;\n        }\n        if (tokenInfo.token.end > childStartPos) {\n          if (tokenInfo.token.pos > childStartPos) {\n            formattingScanner.skipToStartOf(child);\n          }\n          break;\n        }\n        consumeTokenAndAdvanceScanner(tokenInfo, node, parentDynamicIndentation, node);\n      }\n      if (!formattingScanner.isOnToken() || formattingScanner.getStartPos() >= originalRange.end) {\n        return inheritedIndentation;\n      }\n      if (isToken(child)) {\n        const tokenInfo = formattingScanner.readTokenInfo(child);\n        if (child.kind !== 11 /* JsxText */) {\n          Debug.assert(tokenInfo.token.end === child.end, \"Token end is child end\");\n          consumeTokenAndAdvanceScanner(tokenInfo, node, parentDynamicIndentation, child);\n          return inheritedIndentation;\n        }\n      }\n      const effectiveParentStartLine = child.kind === 169 /* Decorator */ ? childStartLine : undecoratedParentStartLine;\n      const childIndentation = computeIndentation(child, childStartLine, childIndentationAmount, node, parentDynamicIndentation, effectiveParentStartLine);\n      processNode(child, childContextNode, childStartLine, undecoratedChildStartLine, childIndentation.indentation, childIndentation.delta);\n      childContextNode = node;\n      if (isFirstListItem && parent2.kind === 209 /* ArrayLiteralExpression */ && inheritedIndentation === -1 /* Unknown */) {\n        inheritedIndentation = childIndentation.indentation;\n      }\n      return inheritedIndentation;\n    }\n    function processChildNodes(nodes, parent2, parentStartLine, parentDynamicIndentation) {\n      Debug.assert(isNodeArray(nodes));\n      Debug.assert(!nodeIsSynthesized(nodes));\n      const listStartToken = getOpenTokenForList(parent2, nodes);\n      let listDynamicIndentation = parentDynamicIndentation;\n      let startLine = parentStartLine;\n      if (!rangeOverlapsWithStartEnd(originalRange, nodes.pos, nodes.end)) {\n        if (nodes.end < originalRange.pos) {\n          formattingScanner.skipToEndOf(nodes);\n        }\n        return;\n      }\n      if (listStartToken !== 0 /* Unknown */) {\n        while (formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n          const tokenInfo = formattingScanner.readTokenInfo(parent2);\n          if (tokenInfo.token.end > nodes.pos) {\n            break;\n          } else if (tokenInfo.token.kind === listStartToken) {\n            startLine = sourceFile.getLineAndCharacterOfPosition(tokenInfo.token.pos).line;\n            consumeTokenAndAdvanceScanner(tokenInfo, parent2, parentDynamicIndentation, parent2);\n            let indentationOnListStartToken;\n            if (indentationOnLastIndentedLine !== -1 /* Unknown */) {\n              indentationOnListStartToken = indentationOnLastIndentedLine;\n            } else {\n              const startLinePosition = getLineStartPositionForPosition(tokenInfo.token.pos, sourceFile);\n              indentationOnListStartToken = SmartIndenter.findFirstNonWhitespaceColumn(startLinePosition, tokenInfo.token.pos, sourceFile, options);\n            }\n            listDynamicIndentation = getDynamicIndentation(parent2, parentStartLine, indentationOnListStartToken, options.indentSize);\n          } else {\n            consumeTokenAndAdvanceScanner(tokenInfo, parent2, parentDynamicIndentation, parent2);\n          }\n        }\n      }\n      let inheritedIndentation = -1 /* Unknown */;\n      for (let i = 0; i < nodes.length; i++) {\n        const child = nodes[i];\n        inheritedIndentation = processChildNode(child, inheritedIndentation, node, listDynamicIndentation, startLine, startLine, true, i === 0);\n      }\n      const listEndToken = getCloseTokenForOpenToken(listStartToken);\n      if (listEndToken !== 0 /* Unknown */ && formattingScanner.isOnToken() && formattingScanner.getStartPos() < originalRange.end) {\n        let tokenInfo = formattingScanner.readTokenInfo(parent2);\n        if (tokenInfo.token.kind === 27 /* CommaToken */) {\n          consumeTokenAndAdvanceScanner(tokenInfo, parent2, listDynamicIndentation, parent2);\n          tokenInfo = formattingScanner.isOnToken() ? formattingScanner.readTokenInfo(parent2) : void 0;\n        }\n        if (tokenInfo && tokenInfo.token.kind === listEndToken && rangeContainsRange(parent2, tokenInfo.token)) {\n          consumeTokenAndAdvanceScanner(tokenInfo, parent2, listDynamicIndentation, parent2, true);\n        }\n      }\n    }\n    function consumeTokenAndAdvanceScanner(currentTokenInfo, parent2, dynamicIndentation, container, isListEndToken) {\n      Debug.assert(rangeContainsRange(parent2, currentTokenInfo.token));\n      const lastTriviaWasNewLine = formattingScanner.lastTrailingTriviaWasNewLine();\n      let indentToken = false;\n      if (currentTokenInfo.leadingTrivia) {\n        processTrivia(currentTokenInfo.leadingTrivia, parent2, childContextNode, dynamicIndentation);\n      }\n      let lineAction = LineAction.None;\n      const isTokenInRange = rangeContainsRange(originalRange, currentTokenInfo.token);\n      const tokenStart = sourceFile.getLineAndCharacterOfPosition(currentTokenInfo.token.pos);\n      if (isTokenInRange) {\n        const rangeHasError = rangeContainsError(currentTokenInfo.token);\n        const savePreviousRange = previousRange;\n        lineAction = processRange(currentTokenInfo.token, tokenStart, parent2, childContextNode, dynamicIndentation);\n        if (!rangeHasError) {\n          if (lineAction === LineAction.None) {\n            const prevEndLine = savePreviousRange && sourceFile.getLineAndCharacterOfPosition(savePreviousRange.end).line;\n            indentToken = lastTriviaWasNewLine && tokenStart.line !== prevEndLine;\n          } else {\n            indentToken = lineAction === LineAction.LineAdded;\n          }\n        }\n      }\n      if (currentTokenInfo.trailingTrivia) {\n        previousRangeTriviaEnd = last(currentTokenInfo.trailingTrivia).end;\n        processTrivia(currentTokenInfo.trailingTrivia, parent2, childContextNode, dynamicIndentation);\n      }\n      if (indentToken) {\n        const tokenIndentation = isTokenInRange && !rangeContainsError(currentTokenInfo.token) ? dynamicIndentation.getIndentationForToken(tokenStart.line, currentTokenInfo.token.kind, container, !!isListEndToken) : -1 /* Unknown */;\n        let indentNextTokenOrTrivia = true;\n        if (currentTokenInfo.leadingTrivia) {\n          const commentIndentation = dynamicIndentation.getIndentationForComment(currentTokenInfo.token.kind, tokenIndentation, container);\n          indentNextTokenOrTrivia = indentTriviaItems(\n            currentTokenInfo.leadingTrivia,\n            commentIndentation,\n            indentNextTokenOrTrivia,\n            (item) => insertIndentation(item.pos, commentIndentation, false)\n          );\n        }\n        if (tokenIndentation !== -1 /* Unknown */ && indentNextTokenOrTrivia) {\n          insertIndentation(currentTokenInfo.token.pos, tokenIndentation, lineAction === LineAction.LineAdded);\n          lastIndentedLine = tokenStart.line;\n          indentationOnLastIndentedLine = tokenIndentation;\n        }\n      }\n      formattingScanner.advance();\n      childContextNode = parent2;\n    }\n  }\n  function indentTriviaItems(trivia, commentIndentation, indentNextTokenOrTrivia, indentSingleLine) {\n    for (const triviaItem of trivia) {\n      const triviaInRange = rangeContainsRange(originalRange, triviaItem);\n      switch (triviaItem.kind) {\n        case 3 /* MultiLineCommentTrivia */:\n          if (triviaInRange) {\n            indentMultilineComment(triviaItem, commentIndentation, !indentNextTokenOrTrivia);\n          }\n          indentNextTokenOrTrivia = false;\n          break;\n        case 2 /* SingleLineCommentTrivia */:\n          if (indentNextTokenOrTrivia && triviaInRange) {\n            indentSingleLine(triviaItem);\n          }\n          indentNextTokenOrTrivia = false;\n          break;\n        case 4 /* NewLineTrivia */:\n          indentNextTokenOrTrivia = true;\n          break;\n      }\n    }\n    return indentNextTokenOrTrivia;\n  }\n  function processTrivia(trivia, parent2, contextNode, dynamicIndentation) {\n    for (const triviaItem of trivia) {\n      if (isComment(triviaItem.kind) && rangeContainsRange(originalRange, triviaItem)) {\n        const triviaItemStart = sourceFile.getLineAndCharacterOfPosition(triviaItem.pos);\n        processRange(triviaItem, triviaItemStart, parent2, contextNode, dynamicIndentation);\n      }\n    }\n  }\n  function processRange(range, rangeStart, parent2, contextNode, dynamicIndentation) {\n    const rangeHasError = rangeContainsError(range);\n    let lineAction = LineAction.None;\n    if (!rangeHasError) {\n      if (!previousRange) {\n        const originalStart = sourceFile.getLineAndCharacterOfPosition(originalRange.pos);\n        trimTrailingWhitespacesForLines(originalStart.line, rangeStart.line);\n      } else {\n        lineAction = processPair(range, rangeStart.line, parent2, previousRange, previousRangeStartLine, previousParent, contextNode, dynamicIndentation);\n      }\n    }\n    previousRange = range;\n    previousRangeTriviaEnd = range.end;\n    previousParent = parent2;\n    previousRangeStartLine = rangeStart.line;\n    return lineAction;\n  }\n  function processPair(currentItem, currentStartLine, currentParent, previousItem, previousStartLine, previousParent2, contextNode, dynamicIndentation) {\n    formattingContext.updateContext(previousItem, previousParent2, currentItem, currentParent, contextNode);\n    const rules = getRules(formattingContext);\n    let trimTrailingWhitespaces = formattingContext.options.trimTrailingWhitespace !== false;\n    let lineAction = LineAction.None;\n    if (rules) {\n      forEachRight(rules, (rule2) => {\n        lineAction = applyRuleEdits(rule2, previousItem, previousStartLine, currentItem, currentStartLine);\n        if (dynamicIndentation) {\n          switch (lineAction) {\n            case LineAction.LineRemoved:\n              if (currentParent.getStart(sourceFile) === currentItem.pos) {\n                dynamicIndentation.recomputeIndentation(false, contextNode);\n              }\n              break;\n            case LineAction.LineAdded:\n              if (currentParent.getStart(sourceFile) === currentItem.pos) {\n                dynamicIndentation.recomputeIndentation(true, contextNode);\n              }\n              break;\n            default:\n              Debug.assert(lineAction === LineAction.None);\n          }\n        }\n        trimTrailingWhitespaces = trimTrailingWhitespaces && !(rule2.action & 16 /* DeleteSpace */) && rule2.flags !== 1 /* CanDeleteNewLines */;\n      });\n    } else {\n      trimTrailingWhitespaces = trimTrailingWhitespaces && currentItem.kind !== 1 /* EndOfFileToken */;\n    }\n    if (currentStartLine !== previousStartLine && trimTrailingWhitespaces) {\n      trimTrailingWhitespacesForLines(previousStartLine, currentStartLine, previousItem);\n    }\n    return lineAction;\n  }\n  function insertIndentation(pos, indentation, lineAdded) {\n    const indentationString = getIndentationString(indentation, options);\n    if (lineAdded) {\n      recordReplace(pos, 0, indentationString);\n    } else {\n      const tokenStart = sourceFile.getLineAndCharacterOfPosition(pos);\n      const startLinePosition = getStartPositionOfLine(tokenStart.line, sourceFile);\n      if (indentation !== characterToColumn(startLinePosition, tokenStart.character) || indentationIsDifferent(indentationString, startLinePosition)) {\n        recordReplace(startLinePosition, tokenStart.character, indentationString);\n      }\n    }\n  }\n  function characterToColumn(startLinePosition, characterInLine) {\n    let column = 0;\n    for (let i = 0; i < characterInLine; i++) {\n      if (sourceFile.text.charCodeAt(startLinePosition + i) === 9 /* tab */) {\n        column += options.tabSize - column % options.tabSize;\n      } else {\n        column++;\n      }\n    }\n    return column;\n  }\n  function indentationIsDifferent(indentationString, startLinePosition) {\n    return indentationString !== sourceFile.text.substr(startLinePosition, indentationString.length);\n  }\n  function indentMultilineComment(commentRange, indentation, firstLineIsIndented, indentFinalLine = true) {\n    let startLine = sourceFile.getLineAndCharacterOfPosition(commentRange.pos).line;\n    const endLine = sourceFile.getLineAndCharacterOfPosition(commentRange.end).line;\n    if (startLine === endLine) {\n      if (!firstLineIsIndented) {\n        insertIndentation(commentRange.pos, indentation, false);\n      }\n      return;\n    }\n    const parts = [];\n    let startPos = commentRange.pos;\n    for (let line = startLine; line < endLine; line++) {\n      const endOfLine = getEndLinePosition(line, sourceFile);\n      parts.push({ pos: startPos, end: endOfLine });\n      startPos = getStartPositionOfLine(line + 1, sourceFile);\n    }\n    if (indentFinalLine) {\n      parts.push({ pos: startPos, end: commentRange.end });\n    }\n    if (parts.length === 0)\n      return;\n    const startLinePos = getStartPositionOfLine(startLine, sourceFile);\n    const nonWhitespaceColumnInFirstPart = SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(startLinePos, parts[0].pos, sourceFile, options);\n    let startIndex = 0;\n    if (firstLineIsIndented) {\n      startIndex = 1;\n      startLine++;\n    }\n    const delta2 = indentation - nonWhitespaceColumnInFirstPart.column;\n    for (let i = startIndex; i < parts.length; i++, startLine++) {\n      const startLinePos2 = getStartPositionOfLine(startLine, sourceFile);\n      const nonWhitespaceCharacterAndColumn = i === 0 ? nonWhitespaceColumnInFirstPart : SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(parts[i].pos, parts[i].end, sourceFile, options);\n      const newIndentation = nonWhitespaceCharacterAndColumn.column + delta2;\n      if (newIndentation > 0) {\n        const indentationString = getIndentationString(newIndentation, options);\n        recordReplace(startLinePos2, nonWhitespaceCharacterAndColumn.character, indentationString);\n      } else {\n        recordDelete(startLinePos2, nonWhitespaceCharacterAndColumn.character);\n      }\n    }\n  }\n  function trimTrailingWhitespacesForLines(line1, line2, range) {\n    for (let line = line1; line < line2; line++) {\n      const lineStartPosition = getStartPositionOfLine(line, sourceFile);\n      const lineEndPosition = getEndLinePosition(line, sourceFile);\n      if (range && (isComment(range.kind) || isStringOrRegularExpressionOrTemplateLiteral(range.kind)) && range.pos <= lineEndPosition && range.end > lineEndPosition) {\n        continue;\n      }\n      const whitespaceStart = getTrailingWhitespaceStartPosition(lineStartPosition, lineEndPosition);\n      if (whitespaceStart !== -1) {\n        Debug.assert(whitespaceStart === lineStartPosition || !isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(whitespaceStart - 1)));\n        recordDelete(whitespaceStart, lineEndPosition + 1 - whitespaceStart);\n      }\n    }\n  }\n  function getTrailingWhitespaceStartPosition(start, end) {\n    let pos = end;\n    while (pos >= start && isWhiteSpaceSingleLine(sourceFile.text.charCodeAt(pos))) {\n      pos--;\n    }\n    if (pos !== end) {\n      return pos + 1;\n    }\n    return -1;\n  }\n  function trimTrailingWhitespacesForRemainingRange(trivias) {\n    let startPos = previousRange ? previousRange.end : originalRange.pos;\n    for (const trivia of trivias) {\n      if (isComment(trivia.kind)) {\n        if (startPos < trivia.pos) {\n          trimTrailingWitespacesForPositions(startPos, trivia.pos - 1, previousRange);\n        }\n        startPos = trivia.end + 1;\n      }\n    }\n    if (startPos < originalRange.end) {\n      trimTrailingWitespacesForPositions(startPos, originalRange.end, previousRange);\n    }\n  }\n  function trimTrailingWitespacesForPositions(startPos, endPos, previousRange2) {\n    const startLine = sourceFile.getLineAndCharacterOfPosition(startPos).line;\n    const endLine = sourceFile.getLineAndCharacterOfPosition(endPos).line;\n    trimTrailingWhitespacesForLines(startLine, endLine + 1, previousRange2);\n  }\n  function recordDelete(start, len) {\n    if (len) {\n      edits.push(createTextChangeFromStartLength(start, len, \"\"));\n    }\n  }\n  function recordReplace(start, len, newText) {\n    if (len || newText) {\n      edits.push(createTextChangeFromStartLength(start, len, newText));\n    }\n  }\n  function recordInsert(start, text) {\n    if (text) {\n      edits.push(createTextChangeFromStartLength(start, 0, text));\n    }\n  }\n  function applyRuleEdits(rule2, previousRange2, previousStartLine, currentRange, currentStartLine) {\n    const onLaterLine = currentStartLine !== previousStartLine;\n    switch (rule2.action) {\n      case 1 /* StopProcessingSpaceActions */:\n        return LineAction.None;\n      case 16 /* DeleteSpace */:\n        if (previousRange2.end !== currentRange.pos) {\n          recordDelete(previousRange2.end, currentRange.pos - previousRange2.end);\n          return onLaterLine ? LineAction.LineRemoved : LineAction.None;\n        }\n        break;\n      case 32 /* DeleteToken */:\n        recordDelete(previousRange2.pos, previousRange2.end - previousRange2.pos);\n        break;\n      case 8 /* InsertNewLine */:\n        if (rule2.flags !== 1 /* CanDeleteNewLines */ && previousStartLine !== currentStartLine) {\n          return LineAction.None;\n        }\n        const lineDelta = currentStartLine - previousStartLine;\n        if (lineDelta !== 1) {\n          recordReplace(previousRange2.end, currentRange.pos - previousRange2.end, getNewLineOrDefaultFromHost(host, options));\n          return onLaterLine ? LineAction.None : LineAction.LineAdded;\n        }\n        break;\n      case 4 /* InsertSpace */:\n        if (rule2.flags !== 1 /* CanDeleteNewLines */ && previousStartLine !== currentStartLine) {\n          return LineAction.None;\n        }\n        const posDelta = currentRange.pos - previousRange2.end;\n        if (posDelta !== 1 || sourceFile.text.charCodeAt(previousRange2.end) !== 32 /* space */) {\n          recordReplace(previousRange2.end, currentRange.pos - previousRange2.end, \" \");\n          return onLaterLine ? LineAction.LineRemoved : LineAction.None;\n        }\n        break;\n      case 64 /* InsertTrailingSemicolon */:\n        recordInsert(previousRange2.end, \";\");\n    }\n    return LineAction.None;\n  }\n}\nvar LineAction = /* @__PURE__ */ ((LineAction2) => {\n  LineAction2[LineAction2[\"None\"] = 0] = \"None\";\n  LineAction2[LineAction2[\"LineAdded\"] = 1] = \"LineAdded\";\n  LineAction2[LineAction2[\"LineRemoved\"] = 2] = \"LineRemoved\";\n  return LineAction2;\n})(LineAction || {});\nfunction getRangeOfEnclosingComment(sourceFile, position, precedingToken, tokenAtPosition = getTokenAtPosition(sourceFile, position)) {\n  const jsdoc = findAncestor(tokenAtPosition, isJSDoc);\n  if (jsdoc)\n    tokenAtPosition = jsdoc.parent;\n  const tokenStart = tokenAtPosition.getStart(sourceFile);\n  if (tokenStart <= position && position < tokenAtPosition.getEnd()) {\n    return void 0;\n  }\n  precedingToken = precedingToken === null ? void 0 : precedingToken === void 0 ? findPrecedingToken(position, sourceFile) : precedingToken;\n  const trailingRangesOfPreviousToken = precedingToken && getTrailingCommentRanges(sourceFile.text, precedingToken.end);\n  const leadingCommentRangesOfNextToken = getLeadingCommentRangesOfNode(tokenAtPosition, sourceFile);\n  const commentRanges = concatenate(trailingRangesOfPreviousToken, leadingCommentRangesOfNextToken);\n  return commentRanges && find(commentRanges, (range) => rangeContainsPositionExclusive(range, position) || position === range.end && (range.kind === 2 /* SingleLineCommentTrivia */ || position === sourceFile.getFullWidth()));\n}\nfunction getOpenTokenForList(node, list) {\n  switch (node.kind) {\n    case 176 /* Constructor */:\n    case 263 /* FunctionDeclaration */:\n    case 218 /* FunctionExpression */:\n    case 174 /* MethodDeclaration */:\n    case 173 /* MethodSignature */:\n    case 219 /* ArrowFunction */:\n    case 179 /* CallSignature */:\n    case 180 /* ConstructSignature */:\n    case 184 /* FunctionType */:\n    case 185 /* ConstructorType */:\n    case 177 /* GetAccessor */:\n    case 178 /* SetAccessor */:\n      if (node.typeParameters === list) {\n        return 29 /* LessThanToken */;\n      } else if (node.parameters === list) {\n        return 20 /* OpenParenToken */;\n      }\n      break;\n    case 213 /* CallExpression */:\n    case 214 /* NewExpression */:\n      if (node.typeArguments === list) {\n        return 29 /* LessThanToken */;\n      } else if (node.arguments === list) {\n        return 20 /* OpenParenToken */;\n      }\n      break;\n    case 264 /* ClassDeclaration */:\n    case 232 /* ClassExpression */:\n    case 267 /* InterfaceDeclaration */:\n    case 268 /* TypeAliasDeclaration */:\n      if (node.typeParameters === list) {\n        return 29 /* LessThanToken */;\n      }\n      break;\n    case 183 /* TypeReference */:\n    case 215 /* TaggedTemplateExpression */:\n    case 186 /* TypeQuery */:\n    case 234 /* ExpressionWithTypeArguments */:\n    case 205 /* ImportType */:\n      if (node.typeArguments === list) {\n        return 29 /* LessThanToken */;\n      }\n      break;\n    case 187 /* TypeLiteral */:\n      return 18 /* OpenBraceToken */;\n  }\n  return 0 /* Unknown */;\n}\nfunction getCloseTokenForOpenToken(kind) {\n  switch (kind) {\n    case 20 /* OpenParenToken */:\n      return 21 /* CloseParenToken */;\n    case 29 /* LessThanToken */:\n      return 31 /* GreaterThanToken */;\n    case 18 /* OpenBraceToken */:\n      return 19 /* CloseBraceToken */;\n  }\n  return 0 /* Unknown */;\n}\nvar internedSizes;\nvar internedTabsIndentation;\nvar internedSpacesIndentation;\nfunction getIndentationString(indentation, options) {\n  const resetInternedStrings = !internedSizes || (internedSizes.tabSize !== options.tabSize || internedSizes.indentSize !== options.indentSize);\n  if (resetInternedStrings) {\n    internedSizes = { tabSize: options.tabSize, indentSize: options.indentSize };\n    internedTabsIndentation = internedSpacesIndentation = void 0;\n  }\n  if (!options.convertTabsToSpaces) {\n    const tabs = Math.floor(indentation / options.tabSize);\n    const spaces = indentation - tabs * options.tabSize;\n    let tabString;\n    if (!internedTabsIndentation) {\n      internedTabsIndentation = [];\n    }\n    if (internedTabsIndentation[tabs] === void 0) {\n      internedTabsIndentation[tabs] = tabString = repeatString(\"\t\", tabs);\n    } else {\n      tabString = internedTabsIndentation[tabs];\n    }\n    return spaces ? tabString + repeatString(\" \", spaces) : tabString;\n  } else {\n    let spacesString;\n    const quotient = Math.floor(indentation / options.indentSize);\n    const remainder = indentation % options.indentSize;\n    if (!internedSpacesIndentation) {\n      internedSpacesIndentation = [];\n    }\n    if (internedSpacesIndentation[quotient] === void 0) {\n      spacesString = repeatString(\" \", options.indentSize * quotient);\n      internedSpacesIndentation[quotient] = spacesString;\n    } else {\n      spacesString = internedSpacesIndentation[quotient];\n    }\n    return remainder ? spacesString + repeatString(\" \", remainder) : spacesString;\n  }\n}\n\n// src/services/formatting/smartIndenter.ts\nvar SmartIndenter;\n((SmartIndenter2) => {\n  let Value;\n  ((Value2) => {\n    Value2[Value2[\"Unknown\"] = -1] = \"Unknown\";\n  })(Value || (Value = {}));\n  function getIndentation(position, sourceFile, options, assumeNewLineBeforeCloseBrace = false) {\n    if (position > sourceFile.text.length) {\n      return getBaseIndentation(options);\n    }\n    if (options.indentStyle === 0 /* None */) {\n      return 0;\n    }\n    const precedingToken = findPrecedingToken(position, sourceFile, void 0, true);\n    const enclosingCommentRange = getRangeOfEnclosingComment(sourceFile, position, precedingToken || null);\n    if (enclosingCommentRange && enclosingCommentRange.kind === 3 /* MultiLineCommentTrivia */) {\n      return getCommentIndent(sourceFile, position, options, enclosingCommentRange);\n    }\n    if (!precedingToken) {\n      return getBaseIndentation(options);\n    }\n    const precedingTokenIsLiteral = isStringOrRegularExpressionOrTemplateLiteral(precedingToken.kind);\n    if (precedingTokenIsLiteral && precedingToken.getStart(sourceFile) <= position && position < precedingToken.end) {\n      return 0;\n    }\n    const lineAtPosition = sourceFile.getLineAndCharacterOfPosition(position).line;\n    const currentToken = getTokenAtPosition(sourceFile, position);\n    const isObjectLiteral = currentToken.kind === 18 /* OpenBraceToken */ && currentToken.parent.kind === 210 /* ObjectLiteralExpression */;\n    if (options.indentStyle === 1 /* Block */ || isObjectLiteral) {\n      return getBlockIndent(sourceFile, position, options);\n    }\n    if (precedingToken.kind === 27 /* CommaToken */ && precedingToken.parent.kind !== 227 /* BinaryExpression */) {\n      const actualIndentation = getActualIndentationForListItemBeforeComma(precedingToken, sourceFile, options);\n      if (actualIndentation !== -1 /* Unknown */) {\n        return actualIndentation;\n      }\n    }\n    const containerList = getListByPosition(position, precedingToken.parent, sourceFile);\n    if (containerList && !rangeContainsRange(containerList, precedingToken)) {\n      const useTheSameBaseIndentation = [218 /* FunctionExpression */, 219 /* ArrowFunction */].indexOf(currentToken.parent.kind) !== -1;\n      const indentSize = useTheSameBaseIndentation ? 0 : options.indentSize;\n      return getActualIndentationForListStartLine(containerList, sourceFile, options) + indentSize;\n    }\n    return getSmartIndent(sourceFile, position, precedingToken, lineAtPosition, assumeNewLineBeforeCloseBrace, options);\n  }\n  SmartIndenter2.getIndentation = getIndentation;\n  function getCommentIndent(sourceFile, position, options, enclosingCommentRange) {\n    const previousLine = getLineAndCharacterOfPosition(sourceFile, position).line - 1;\n    const commentStartLine = getLineAndCharacterOfPosition(sourceFile, enclosingCommentRange.pos).line;\n    Debug.assert(commentStartLine >= 0);\n    if (previousLine <= commentStartLine) {\n      return findFirstNonWhitespaceColumn(getStartPositionOfLine(commentStartLine, sourceFile), position, sourceFile, options);\n    }\n    const startPositionOfLine = getStartPositionOfLine(previousLine, sourceFile);\n    const { column, character } = findFirstNonWhitespaceCharacterAndColumn(startPositionOfLine, position, sourceFile, options);\n    if (column === 0) {\n      return column;\n    }\n    const firstNonWhitespaceCharacterCode = sourceFile.text.charCodeAt(startPositionOfLine + character);\n    return firstNonWhitespaceCharacterCode === 42 /* asterisk */ ? column - 1 : column;\n  }\n  function getBlockIndent(sourceFile, position, options) {\n    let current = position;\n    while (current > 0) {\n      const char = sourceFile.text.charCodeAt(current);\n      if (!isWhiteSpaceLike(char)) {\n        break;\n      }\n      current--;\n    }\n    const lineStart = getLineStartPositionForPosition(current, sourceFile);\n    return findFirstNonWhitespaceColumn(lineStart, current, sourceFile, options);\n  }\n  function getSmartIndent(sourceFile, position, precedingToken, lineAtPosition, assumeNewLineBeforeCloseBrace, options) {\n    let previous;\n    let current = precedingToken;\n    while (current) {\n      if (positionBelongsToNode(current, position, sourceFile) && shouldIndentChildNode(options, current, previous, sourceFile, true)) {\n        const currentStart = getStartLineAndCharacterForNode(current, sourceFile);\n        const nextTokenKind = nextTokenIsCurlyBraceOnSameLineAsCursor(precedingToken, current, lineAtPosition, sourceFile);\n        const indentationDelta = nextTokenKind !== NextTokenKind.Unknown ? assumeNewLineBeforeCloseBrace && nextTokenKind === NextTokenKind.CloseBrace ? options.indentSize : 0 : lineAtPosition !== currentStart.line ? options.indentSize : 0;\n        return getIndentationForNodeWorker(current, currentStart, void 0, indentationDelta, sourceFile, true, options);\n      }\n      const actualIndentation = getActualIndentationForListItem(current, sourceFile, options, true);\n      if (actualIndentation !== -1 /* Unknown */) {\n        return actualIndentation;\n      }\n      previous = current;\n      current = current.parent;\n    }\n    return getBaseIndentation(options);\n  }\n  function getIndentationForNode(n, ignoreActualIndentationRange, sourceFile, options) {\n    const start = sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile));\n    return getIndentationForNodeWorker(n, start, ignoreActualIndentationRange, 0, sourceFile, false, options);\n  }\n  SmartIndenter2.getIndentationForNode = getIndentationForNode;\n  function getBaseIndentation(options) {\n    return options.baseIndentSize || 0;\n  }\n  SmartIndenter2.getBaseIndentation = getBaseIndentation;\n  function getIndentationForNodeWorker(current, currentStart, ignoreActualIndentationRange, indentationDelta, sourceFile, isNextChild, options) {\n    var _a2;\n    let parent2 = current.parent;\n    while (parent2) {\n      let useActualIndentation = true;\n      if (ignoreActualIndentationRange) {\n        const start = current.getStart(sourceFile);\n        useActualIndentation = start < ignoreActualIndentationRange.pos || start > ignoreActualIndentationRange.end;\n      }\n      const containingListOrParentStart = getContainingListOrParentStart(parent2, current, sourceFile);\n      const parentAndChildShareLine = containingListOrParentStart.line === currentStart.line || childStartsOnTheSameLineWithElseInIfStatement(parent2, current, currentStart.line, sourceFile);\n      if (useActualIndentation) {\n        const firstListChild = (_a2 = getContainingList(current, sourceFile)) == null ? void 0 : _a2[0];\n        const listIndentsChild = !!firstListChild && getStartLineAndCharacterForNode(firstListChild, sourceFile).line > containingListOrParentStart.line;\n        let actualIndentation = getActualIndentationForListItem(current, sourceFile, options, listIndentsChild);\n        if (actualIndentation !== -1 /* Unknown */) {\n          return actualIndentation + indentationDelta;\n        }\n        actualIndentation = getActualIndentationForNode(current, parent2, currentStart, parentAndChildShareLine, sourceFile, options);\n        if (actualIndentation !== -1 /* Unknown */) {\n          return actualIndentation + indentationDelta;\n        }\n      }\n      if (shouldIndentChildNode(options, parent2, current, sourceFile, isNextChild) && !parentAndChildShareLine) {\n        indentationDelta += options.indentSize;\n      }\n      const useTrueStart = isArgumentAndStartLineOverlapsExpressionBeingCalled(parent2, current, currentStart.line, sourceFile);\n      current = parent2;\n      parent2 = current.parent;\n      currentStart = useTrueStart ? sourceFile.getLineAndCharacterOfPosition(current.getStart(sourceFile)) : containingListOrParentStart;\n    }\n    return indentationDelta + getBaseIndentation(options);\n  }\n  function getContainingListOrParentStart(parent2, child, sourceFile) {\n    const containingList = getContainingList(child, sourceFile);\n    const startPos = containingList ? containingList.pos : parent2.getStart(sourceFile);\n    return sourceFile.getLineAndCharacterOfPosition(startPos);\n  }\n  function getActualIndentationForListItemBeforeComma(commaToken, sourceFile, options) {\n    const commaItemInfo = findListItemInfo(commaToken);\n    if (commaItemInfo && commaItemInfo.listItemIndex > 0) {\n      return deriveActualIndentationFromList(commaItemInfo.list.getChildren(), commaItemInfo.listItemIndex - 1, sourceFile, options);\n    } else {\n      return -1 /* Unknown */;\n    }\n  }\n  function getActualIndentationForNode(current, parent2, currentLineAndChar, parentAndChildShareLine, sourceFile, options) {\n    const useActualIndentation = (isDeclaration(current) || isStatementButNotDeclaration(current)) && (parent2.kind === 314 /* SourceFile */ || !parentAndChildShareLine);\n    if (!useActualIndentation) {\n      return -1 /* Unknown */;\n    }\n    return findColumnForFirstNonWhitespaceCharacterInLine(currentLineAndChar, sourceFile, options);\n  }\n  let NextTokenKind;\n  ((NextTokenKind2) => {\n    NextTokenKind2[NextTokenKind2[\"Unknown\"] = 0] = \"Unknown\";\n    NextTokenKind2[NextTokenKind2[\"OpenBrace\"] = 1] = \"OpenBrace\";\n    NextTokenKind2[NextTokenKind2[\"CloseBrace\"] = 2] = \"CloseBrace\";\n  })(NextTokenKind || (NextTokenKind = {}));\n  function nextTokenIsCurlyBraceOnSameLineAsCursor(precedingToken, current, lineAtPosition, sourceFile) {\n    const nextToken = findNextToken(precedingToken, current, sourceFile);\n    if (!nextToken) {\n      return 0 /* Unknown */;\n    }\n    if (nextToken.kind === 18 /* OpenBraceToken */) {\n      return 1 /* OpenBrace */;\n    } else if (nextToken.kind === 19 /* CloseBraceToken */) {\n      const nextTokenStartLine = getStartLineAndCharacterForNode(nextToken, sourceFile).line;\n      return lineAtPosition === nextTokenStartLine ? 2 /* CloseBrace */ : 0 /* Unknown */;\n    }\n    return 0 /* Unknown */;\n  }\n  function getStartLineAndCharacterForNode(n, sourceFile) {\n    return sourceFile.getLineAndCharacterOfPosition(n.getStart(sourceFile));\n  }\n  function isArgumentAndStartLineOverlapsExpressionBeingCalled(parent2, child, childStartLine, sourceFile) {\n    if (!(isCallExpression(parent2) && contains(parent2.arguments, child))) {\n      return false;\n    }\n    const expressionOfCallExpressionEnd = parent2.expression.getEnd();\n    const expressionOfCallExpressionEndLine = getLineAndCharacterOfPosition(sourceFile, expressionOfCallExpressionEnd).line;\n    return expressionOfCallExpressionEndLine === childStartLine;\n  }\n  SmartIndenter2.isArgumentAndStartLineOverlapsExpressionBeingCalled = isArgumentAndStartLineOverlapsExpressionBeingCalled;\n  function childStartsOnTheSameLineWithElseInIfStatement(parent2, child, childStartLine, sourceFile) {\n    if (parent2.kind === 246 /* IfStatement */ && parent2.elseStatement === child) {\n      const elseKeyword = findChildOfKind(parent2, 92 /* ElseKeyword */, sourceFile);\n      Debug.assert(elseKeyword !== void 0);\n      const elseKeywordStartLine = getStartLineAndCharacterForNode(elseKeyword, sourceFile).line;\n      return elseKeywordStartLine === childStartLine;\n    }\n    return false;\n  }\n  SmartIndenter2.childStartsOnTheSameLineWithElseInIfStatement = childStartsOnTheSameLineWithElseInIfStatement;\n  function childIsUnindentedBranchOfConditionalExpression(parent2, child, childStartLine, sourceFile) {\n    if (isConditionalExpression(parent2) && (child === parent2.whenTrue || child === parent2.whenFalse)) {\n      const conditionEndLine = getLineAndCharacterOfPosition(sourceFile, parent2.condition.end).line;\n      if (child === parent2.whenTrue) {\n        return childStartLine === conditionEndLine;\n      } else {\n        const trueStartLine = getStartLineAndCharacterForNode(parent2.whenTrue, sourceFile).line;\n        const trueEndLine = getLineAndCharacterOfPosition(sourceFile, parent2.whenTrue.end).line;\n        return conditionEndLine === trueStartLine && trueEndLine === childStartLine;\n      }\n    }\n    return false;\n  }\n  SmartIndenter2.childIsUnindentedBranchOfConditionalExpression = childIsUnindentedBranchOfConditionalExpression;\n  function argumentStartsOnSameLineAsPreviousArgument(parent2, child, childStartLine, sourceFile) {\n    if (isCallOrNewExpression(parent2)) {\n      if (!parent2.arguments)\n        return false;\n      const currentNode = find(parent2.arguments, (arg) => arg.pos === child.pos);\n      if (!currentNode)\n        return false;\n      const currentIndex = parent2.arguments.indexOf(currentNode);\n      if (currentIndex === 0)\n        return false;\n      const previousNode = parent2.arguments[currentIndex - 1];\n      const lineOfPreviousNode = getLineAndCharacterOfPosition(sourceFile, previousNode.getEnd()).line;\n      if (childStartLine === lineOfPreviousNode) {\n        return true;\n      }\n    }\n    return false;\n  }\n  SmartIndenter2.argumentStartsOnSameLineAsPreviousArgument = argumentStartsOnSameLineAsPreviousArgument;\n  function getContainingList(node, sourceFile) {\n    return node.parent && getListByRange(node.getStart(sourceFile), node.getEnd(), node.parent, sourceFile);\n  }\n  SmartIndenter2.getContainingList = getContainingList;\n  function getListByPosition(pos, node, sourceFile) {\n    return node && getListByRange(pos, pos, node, sourceFile);\n  }\n  function getListByRange(start, end, node, sourceFile) {\n    switch (node.kind) {\n      case 183 /* TypeReference */:\n        return getList(node.typeArguments);\n      case 210 /* ObjectLiteralExpression */:\n        return getList(node.properties);\n      case 209 /* ArrayLiteralExpression */:\n        return getList(node.elements);\n      case 187 /* TypeLiteral */:\n        return getList(node.members);\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 219 /* ArrowFunction */:\n      case 174 /* MethodDeclaration */:\n      case 173 /* MethodSignature */:\n      case 179 /* CallSignature */:\n      case 176 /* Constructor */:\n      case 185 /* ConstructorType */:\n      case 180 /* ConstructSignature */:\n        return getList(node.typeParameters) || getList(node.parameters);\n      case 177 /* GetAccessor */:\n        return getList(node.parameters);\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 353 /* JSDocTemplateTag */:\n        return getList(node.typeParameters);\n      case 214 /* NewExpression */:\n      case 213 /* CallExpression */:\n        return getList(node.typeArguments) || getList(node.arguments);\n      case 262 /* VariableDeclarationList */:\n        return getList(node.declarations);\n      case 278 /* NamedImports */:\n      case 282 /* NamedExports */:\n        return getList(node.elements);\n      case 206 /* ObjectBindingPattern */:\n      case 207 /* ArrayBindingPattern */:\n        return getList(node.elements);\n    }\n    function getList(list) {\n      return list && rangeContainsStartEnd(getVisualListRange(node, list, sourceFile), start, end) ? list : void 0;\n    }\n  }\n  function getVisualListRange(node, list, sourceFile) {\n    const children = node.getChildren(sourceFile);\n    for (let i = 1; i < children.length - 1; i++) {\n      if (children[i].pos === list.pos && children[i].end === list.end) {\n        return { pos: children[i - 1].end, end: children[i + 1].getStart(sourceFile) };\n      }\n    }\n    return list;\n  }\n  function getActualIndentationForListStartLine(list, sourceFile, options) {\n    if (!list) {\n      return -1 /* Unknown */;\n    }\n    return findColumnForFirstNonWhitespaceCharacterInLine(sourceFile.getLineAndCharacterOfPosition(list.pos), sourceFile, options);\n  }\n  function getActualIndentationForListItem(node, sourceFile, options, listIndentsChild) {\n    if (node.parent && node.parent.kind === 262 /* VariableDeclarationList */) {\n      return -1 /* Unknown */;\n    }\n    const containingList = getContainingList(node, sourceFile);\n    if (containingList) {\n      const index = containingList.indexOf(node);\n      if (index !== -1) {\n        const result = deriveActualIndentationFromList(containingList, index, sourceFile, options);\n        if (result !== -1 /* Unknown */) {\n          return result;\n        }\n      }\n      return getActualIndentationForListStartLine(containingList, sourceFile, options) + (listIndentsChild ? options.indentSize : 0);\n    }\n    return -1 /* Unknown */;\n  }\n  function deriveActualIndentationFromList(list, index, sourceFile, options) {\n    Debug.assert(index >= 0 && index < list.length);\n    const node = list[index];\n    let lineAndCharacter = getStartLineAndCharacterForNode(node, sourceFile);\n    for (let i = index - 1; i >= 0; i--) {\n      if (list[i].kind === 27 /* CommaToken */) {\n        continue;\n      }\n      const prevEndLine = sourceFile.getLineAndCharacterOfPosition(list[i].end).line;\n      if (prevEndLine !== lineAndCharacter.line) {\n        return findColumnForFirstNonWhitespaceCharacterInLine(lineAndCharacter, sourceFile, options);\n      }\n      lineAndCharacter = getStartLineAndCharacterForNode(list[i], sourceFile);\n    }\n    return -1 /* Unknown */;\n  }\n  function findColumnForFirstNonWhitespaceCharacterInLine(lineAndCharacter, sourceFile, options) {\n    const lineStart = sourceFile.getPositionOfLineAndCharacter(lineAndCharacter.line, 0);\n    return findFirstNonWhitespaceColumn(lineStart, lineStart + lineAndCharacter.character, sourceFile, options);\n  }\n  function findFirstNonWhitespaceCharacterAndColumn(startPos, endPos, sourceFile, options) {\n    let character = 0;\n    let column = 0;\n    for (let pos = startPos; pos < endPos; pos++) {\n      const ch = sourceFile.text.charCodeAt(pos);\n      if (!isWhiteSpaceSingleLine(ch)) {\n        break;\n      }\n      if (ch === 9 /* tab */) {\n        column += options.tabSize + column % options.tabSize;\n      } else {\n        column++;\n      }\n      character++;\n    }\n    return { column, character };\n  }\n  SmartIndenter2.findFirstNonWhitespaceCharacterAndColumn = findFirstNonWhitespaceCharacterAndColumn;\n  function findFirstNonWhitespaceColumn(startPos, endPos, sourceFile, options) {\n    return findFirstNonWhitespaceCharacterAndColumn(startPos, endPos, sourceFile, options).column;\n  }\n  SmartIndenter2.findFirstNonWhitespaceColumn = findFirstNonWhitespaceColumn;\n  function nodeWillIndentChild(settings, parent2, child, sourceFile, indentByDefault) {\n    const childKind = child ? child.kind : 0 /* Unknown */;\n    switch (parent2.kind) {\n      case 245 /* ExpressionStatement */:\n      case 264 /* ClassDeclaration */:\n      case 232 /* ClassExpression */:\n      case 265 /* StructDeclaration */:\n      case 267 /* InterfaceDeclaration */:\n      case 269 /* EnumDeclaration */:\n      case 268 /* TypeAliasDeclaration */:\n      case 209 /* ArrayLiteralExpression */:\n      case 242 /* Block */:\n      case 271 /* ModuleBlock */:\n      case 210 /* ObjectLiteralExpression */:\n      case 187 /* TypeLiteral */:\n      case 200 /* MappedType */:\n      case 189 /* TupleType */:\n      case 272 /* CaseBlock */:\n      case 299 /* DefaultClause */:\n      case 298 /* CaseClause */:\n      case 217 /* ParenthesizedExpression */:\n      case 211 /* PropertyAccessExpression */:\n      case 213 /* CallExpression */:\n      case 214 /* NewExpression */:\n      case 244 /* VariableStatement */:\n      case 280 /* ExportAssignment */:\n      case 254 /* ReturnStatement */:\n      case 228 /* ConditionalExpression */:\n      case 207 /* ArrayBindingPattern */:\n      case 206 /* ObjectBindingPattern */:\n      case 289 /* JsxOpeningElement */:\n      case 292 /* JsxOpeningFragment */:\n      case 288 /* JsxSelfClosingElement */:\n      case 297 /* JsxExpression */:\n      case 173 /* MethodSignature */:\n      case 179 /* CallSignature */:\n      case 180 /* ConstructSignature */:\n      case 168 /* Parameter */:\n      case 184 /* FunctionType */:\n      case 185 /* ConstructorType */:\n      case 196 /* ParenthesizedType */:\n      case 215 /* TaggedTemplateExpression */:\n      case 224 /* AwaitExpression */:\n      case 282 /* NamedExports */:\n      case 278 /* NamedImports */:\n      case 284 /* ExportSpecifier */:\n      case 279 /* ImportSpecifier */:\n      case 171 /* PropertyDeclaration */:\n        return true;\n      case 261 /* VariableDeclaration */:\n      case 305 /* PropertyAssignment */:\n      case 227 /* BinaryExpression */:\n        if (!settings.indentMultiLineObjectLiteralBeginningOnBlankLine && sourceFile && childKind === 210 /* ObjectLiteralExpression */) {\n          return rangeIsOnOneLine(sourceFile, child);\n        }\n        if (parent2.kind === 227 /* BinaryExpression */ && sourceFile && child && childKind === 287 /* JsxElement */) {\n          const parentStartLine = sourceFile.getLineAndCharacterOfPosition(skipTrivia(sourceFile.text, parent2.pos)).line;\n          const childStartLine = sourceFile.getLineAndCharacterOfPosition(skipTrivia(sourceFile.text, child.pos)).line;\n          return parentStartLine !== childStartLine;\n        }\n        if (parent2.kind !== 227 /* BinaryExpression */) {\n          return true;\n        }\n        break;\n      case 247 /* DoStatement */:\n      case 248 /* WhileStatement */:\n      case 250 /* ForInStatement */:\n      case 251 /* ForOfStatement */:\n      case 249 /* ForStatement */:\n      case 246 /* IfStatement */:\n      case 263 /* FunctionDeclaration */:\n      case 218 /* FunctionExpression */:\n      case 174 /* MethodDeclaration */:\n      case 176 /* Constructor */:\n      case 177 /* GetAccessor */:\n      case 178 /* SetAccessor */:\n        return childKind !== 242 /* Block */;\n      case 219 /* ArrowFunction */:\n        if (sourceFile && childKind === 217 /* ParenthesizedExpression */) {\n          return rangeIsOnOneLine(sourceFile, child);\n        }\n        return childKind !== 242 /* Block */;\n      case 281 /* ExportDeclaration */:\n        return childKind !== 282 /* NamedExports */;\n      case 275 /* ImportDeclaration */:\n        return childKind !== 276 /* ImportClause */ || !!child.namedBindings && child.namedBindings.kind !== 278 /* NamedImports */;\n      case 287 /* JsxElement */:\n        return childKind !== 290 /* JsxClosingElement */;\n      case 291 /* JsxFragment */:\n        return childKind !== 293 /* JsxClosingFragment */;\n      case 193 /* IntersectionType */:\n      case 192 /* UnionType */:\n        if (childKind === 187 /* TypeLiteral */ || childKind === 189 /* TupleType */) {\n          return false;\n        }\n        break;\n    }\n    return indentByDefault;\n  }\n  SmartIndenter2.nodeWillIndentChild = nodeWillIndentChild;\n  function isControlFlowEndingStatement(kind, parent2) {\n    switch (kind) {\n      case 254 /* ReturnStatement */:\n      case 258 /* ThrowStatement */:\n      case 252 /* ContinueStatement */:\n      case 253 /* BreakStatement */:\n        return parent2.kind !== 242 /* Block */;\n      default:\n        return false;\n    }\n  }\n  function shouldIndentChildNode(settings, parent2, child, sourceFile, isNextChild = false) {\n    return nodeWillIndentChild(settings, parent2, child, sourceFile, false) && !(isNextChild && child && isControlFlowEndingStatement(child.kind, parent2));\n  }\n  SmartIndenter2.shouldIndentChildNode = shouldIndentChildNode;\n  function rangeIsOnOneLine(sourceFile, range) {\n    const rangeStart = skipTrivia(sourceFile.text, range.pos);\n    const startLine = sourceFile.getLineAndCharacterOfPosition(rangeStart).line;\n    const endLine = sourceFile.getLineAndCharacterOfPosition(range.end).line;\n    return startLine === endLine;\n  }\n})(SmartIndenter || (SmartIndenter = {}));\n\n// src/deprecatedCompat/deprecations.ts\nfunction createOverload(name, overloads, binder2, deprecations) {\n  Object.defineProperty(call, \"name\", { ...Object.getOwnPropertyDescriptor(call, \"name\"), value: name });\n  if (deprecations) {\n    for (const key of Object.keys(deprecations)) {\n      const index = +key;\n      if (!isNaN(index) && hasProperty(overloads, `${index}`)) {\n        overloads[index] = Debug.deprecate(overloads[index], { ...deprecations[index], name });\n      }\n    }\n  }\n  const bind = createBinder2(overloads, binder2);\n  return call;\n  function call(...args) {\n    const index = bind(args);\n    const fn = index !== void 0 ? overloads[index] : void 0;\n    if (typeof fn === \"function\") {\n      return fn(...args);\n    }\n    throw new TypeError(\"Invalid arguments\");\n  }\n}\nfunction createBinder2(overloads, binder2) {\n  return (args) => {\n    for (let i = 0; hasProperty(overloads, `${i}`) && hasProperty(binder2, `${i}`); i++) {\n      const fn = binder2[i];\n      if (fn(args)) {\n        return i;\n      }\n    }\n  };\n}\nfunction buildOverload(name) {\n  return {\n    overload: (overloads) => ({\n      bind: (binder2) => ({\n        finish: () => createOverload(name, overloads, binder2),\n        deprecate: (deprecations) => ({\n          finish: () => createOverload(name, overloads, binder2, deprecations)\n        })\n      })\n    })\n  };\n}\n\n// src/deprecatedCompat/4.0/nodeFactoryTopLevelExports.ts\nvar factoryDeprecation = { since: \"4.0\", warnAfter: \"4.1\", message: \"Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.\" };\nvar createNodeArray = Debug.deprecate(factory.createNodeArray, factoryDeprecation);\nvar createNumericLiteral = Debug.deprecate(factory.createNumericLiteral, factoryDeprecation);\nvar createBigIntLiteral = Debug.deprecate(factory.createBigIntLiteral, factoryDeprecation);\nvar createStringLiteral = Debug.deprecate(factory.createStringLiteral, factoryDeprecation);\nvar createStringLiteralFromNode = Debug.deprecate(factory.createStringLiteralFromNode, factoryDeprecation);\nvar createRegularExpressionLiteral = Debug.deprecate(factory.createRegularExpressionLiteral, factoryDeprecation);\nvar createLoopVariable = Debug.deprecate(factory.createLoopVariable, factoryDeprecation);\nvar createUniqueName = Debug.deprecate(factory.createUniqueName, factoryDeprecation);\nvar createPrivateIdentifier = Debug.deprecate(factory.createPrivateIdentifier, factoryDeprecation);\nvar createSuper = Debug.deprecate(factory.createSuper, factoryDeprecation);\nvar createThis = Debug.deprecate(factory.createThis, factoryDeprecation);\nvar createNull = Debug.deprecate(factory.createNull, factoryDeprecation);\nvar createTrue = Debug.deprecate(factory.createTrue, factoryDeprecation);\nvar createFalse = Debug.deprecate(factory.createFalse, factoryDeprecation);\nvar createModifier = Debug.deprecate(factory.createModifier, factoryDeprecation);\nvar createModifiersFromModifierFlags = Debug.deprecate(factory.createModifiersFromModifierFlags, factoryDeprecation);\nvar createQualifiedName = Debug.deprecate(factory.createQualifiedName, factoryDeprecation);\nvar updateQualifiedName = Debug.deprecate(factory.updateQualifiedName, factoryDeprecation);\nvar createComputedPropertyName = Debug.deprecate(factory.createComputedPropertyName, factoryDeprecation);\nvar updateComputedPropertyName = Debug.deprecate(factory.updateComputedPropertyName, factoryDeprecation);\nvar createTypeParameterDeclaration = Debug.deprecate(factory.createTypeParameterDeclaration, factoryDeprecation);\nvar updateTypeParameterDeclaration = Debug.deprecate(factory.updateTypeParameterDeclaration, factoryDeprecation);\nvar createParameter = Debug.deprecate(factory.createParameterDeclaration, factoryDeprecation);\nvar updateParameter = Debug.deprecate(factory.updateParameterDeclaration, factoryDeprecation);\nvar createDecorator = Debug.deprecate(factory.createDecorator, factoryDeprecation);\nvar updateDecorator = Debug.deprecate(factory.updateDecorator, factoryDeprecation);\nvar createProperty = Debug.deprecate(factory.createPropertyDeclaration, factoryDeprecation);\nvar updateProperty = Debug.deprecate(factory.updatePropertyDeclaration, factoryDeprecation);\nvar createMethod = Debug.deprecate(factory.createMethodDeclaration, factoryDeprecation);\nvar updateMethod = Debug.deprecate(factory.updateMethodDeclaration, factoryDeprecation);\nvar createConstructor = Debug.deprecate(factory.createConstructorDeclaration, factoryDeprecation);\nvar updateConstructor = Debug.deprecate(factory.updateConstructorDeclaration, factoryDeprecation);\nvar createGetAccessor = Debug.deprecate(factory.createGetAccessorDeclaration, factoryDeprecation);\nvar updateGetAccessor = Debug.deprecate(factory.updateGetAccessorDeclaration, factoryDeprecation);\nvar createSetAccessor = Debug.deprecate(factory.createSetAccessorDeclaration, factoryDeprecation);\nvar updateSetAccessor = Debug.deprecate(factory.updateSetAccessorDeclaration, factoryDeprecation);\nvar createCallSignature = Debug.deprecate(factory.createCallSignature, factoryDeprecation);\nvar updateCallSignature = Debug.deprecate(factory.updateCallSignature, factoryDeprecation);\nvar createConstructSignature = Debug.deprecate(factory.createConstructSignature, factoryDeprecation);\nvar updateConstructSignature = Debug.deprecate(factory.updateConstructSignature, factoryDeprecation);\nvar updateIndexSignature = Debug.deprecate(factory.updateIndexSignature, factoryDeprecation);\nvar createKeywordTypeNode = Debug.deprecate(factory.createKeywordTypeNode, factoryDeprecation);\nvar createTypePredicateNodeWithModifier = Debug.deprecate(factory.createTypePredicateNode, factoryDeprecation);\nvar updateTypePredicateNodeWithModifier = Debug.deprecate(factory.updateTypePredicateNode, factoryDeprecation);\nvar createTypeReferenceNode = Debug.deprecate(factory.createTypeReferenceNode, factoryDeprecation);\nvar updateTypeReferenceNode = Debug.deprecate(factory.updateTypeReferenceNode, factoryDeprecation);\nvar createFunctionTypeNode = Debug.deprecate(factory.createFunctionTypeNode, factoryDeprecation);\nvar updateFunctionTypeNode = Debug.deprecate(factory.updateFunctionTypeNode, factoryDeprecation);\nvar createConstructorTypeNode = Debug.deprecate((typeParameters, parameters, type) => {\n  return factory.createConstructorTypeNode(void 0, typeParameters, parameters, type);\n}, factoryDeprecation);\nvar updateConstructorTypeNode = Debug.deprecate((node, typeParameters, parameters, type) => {\n  return factory.updateConstructorTypeNode(node, node.modifiers, typeParameters, parameters, type);\n}, factoryDeprecation);\nvar createTypeQueryNode = Debug.deprecate(factory.createTypeQueryNode, factoryDeprecation);\nvar updateTypeQueryNode = Debug.deprecate(factory.updateTypeQueryNode, factoryDeprecation);\nvar createTypeLiteralNode = Debug.deprecate(factory.createTypeLiteralNode, factoryDeprecation);\nvar updateTypeLiteralNode = Debug.deprecate(factory.updateTypeLiteralNode, factoryDeprecation);\nvar createArrayTypeNode = Debug.deprecate(factory.createArrayTypeNode, factoryDeprecation);\nvar updateArrayTypeNode = Debug.deprecate(factory.updateArrayTypeNode, factoryDeprecation);\nvar createTupleTypeNode = Debug.deprecate(factory.createTupleTypeNode, factoryDeprecation);\nvar updateTupleTypeNode = Debug.deprecate(factory.updateTupleTypeNode, factoryDeprecation);\nvar createOptionalTypeNode = Debug.deprecate(factory.createOptionalTypeNode, factoryDeprecation);\nvar updateOptionalTypeNode = Debug.deprecate(factory.updateOptionalTypeNode, factoryDeprecation);\nvar createRestTypeNode = Debug.deprecate(factory.createRestTypeNode, factoryDeprecation);\nvar updateRestTypeNode = Debug.deprecate(factory.updateRestTypeNode, factoryDeprecation);\nvar createUnionTypeNode = Debug.deprecate(factory.createUnionTypeNode, factoryDeprecation);\nvar updateUnionTypeNode = Debug.deprecate(factory.updateUnionTypeNode, factoryDeprecation);\nvar createIntersectionTypeNode = Debug.deprecate(factory.createIntersectionTypeNode, factoryDeprecation);\nvar updateIntersectionTypeNode = Debug.deprecate(factory.updateIntersectionTypeNode, factoryDeprecation);\nvar createConditionalTypeNode = Debug.deprecate(factory.createConditionalTypeNode, factoryDeprecation);\nvar updateConditionalTypeNode = Debug.deprecate(factory.updateConditionalTypeNode, factoryDeprecation);\nvar createInferTypeNode = Debug.deprecate(factory.createInferTypeNode, factoryDeprecation);\nvar updateInferTypeNode = Debug.deprecate(factory.updateInferTypeNode, factoryDeprecation);\nvar createImportTypeNode = Debug.deprecate(factory.createImportTypeNode, factoryDeprecation);\nvar updateImportTypeNode = Debug.deprecate(factory.updateImportTypeNode, factoryDeprecation);\nvar createParenthesizedType = Debug.deprecate(factory.createParenthesizedType, factoryDeprecation);\nvar updateParenthesizedType = Debug.deprecate(factory.updateParenthesizedType, factoryDeprecation);\nvar createThisTypeNode = Debug.deprecate(factory.createThisTypeNode, factoryDeprecation);\nvar updateTypeOperatorNode = Debug.deprecate(factory.updateTypeOperatorNode, factoryDeprecation);\nvar createIndexedAccessTypeNode = Debug.deprecate(factory.createIndexedAccessTypeNode, factoryDeprecation);\nvar updateIndexedAccessTypeNode = Debug.deprecate(factory.updateIndexedAccessTypeNode, factoryDeprecation);\nvar createMappedTypeNode = Debug.deprecate(factory.createMappedTypeNode, factoryDeprecation);\nvar updateMappedTypeNode = Debug.deprecate(factory.updateMappedTypeNode, factoryDeprecation);\nvar createLiteralTypeNode = Debug.deprecate(factory.createLiteralTypeNode, factoryDeprecation);\nvar updateLiteralTypeNode = Debug.deprecate(factory.updateLiteralTypeNode, factoryDeprecation);\nvar createObjectBindingPattern = Debug.deprecate(factory.createObjectBindingPattern, factoryDeprecation);\nvar updateObjectBindingPattern = Debug.deprecate(factory.updateObjectBindingPattern, factoryDeprecation);\nvar createArrayBindingPattern = Debug.deprecate(factory.createArrayBindingPattern, factoryDeprecation);\nvar updateArrayBindingPattern = Debug.deprecate(factory.updateArrayBindingPattern, factoryDeprecation);\nvar createBindingElement = Debug.deprecate(factory.createBindingElement, factoryDeprecation);\nvar updateBindingElement = Debug.deprecate(factory.updateBindingElement, factoryDeprecation);\nvar createArrayLiteral = Debug.deprecate(factory.createArrayLiteralExpression, factoryDeprecation);\nvar updateArrayLiteral = Debug.deprecate(factory.updateArrayLiteralExpression, factoryDeprecation);\nvar createObjectLiteral = Debug.deprecate(factory.createObjectLiteralExpression, factoryDeprecation);\nvar updateObjectLiteral = Debug.deprecate(factory.updateObjectLiteralExpression, factoryDeprecation);\nvar createPropertyAccess = Debug.deprecate(factory.createPropertyAccessExpression, factoryDeprecation);\nvar updatePropertyAccess = Debug.deprecate(factory.updatePropertyAccessExpression, factoryDeprecation);\nvar createPropertyAccessChain = Debug.deprecate(factory.createPropertyAccessChain, factoryDeprecation);\nvar updatePropertyAccessChain = Debug.deprecate(factory.updatePropertyAccessChain, factoryDeprecation);\nvar createElementAccess = Debug.deprecate(factory.createElementAccessExpression, factoryDeprecation);\nvar updateElementAccess = Debug.deprecate(factory.updateElementAccessExpression, factoryDeprecation);\nvar createElementAccessChain = Debug.deprecate(factory.createElementAccessChain, factoryDeprecation);\nvar updateElementAccessChain = Debug.deprecate(factory.updateElementAccessChain, factoryDeprecation);\nvar createCall = Debug.deprecate(factory.createCallExpression, factoryDeprecation);\nvar updateCall = Debug.deprecate(factory.updateCallExpression, factoryDeprecation);\nvar createCallChain = Debug.deprecate(factory.createCallChain, factoryDeprecation);\nvar updateCallChain = Debug.deprecate(factory.updateCallChain, factoryDeprecation);\nvar createNew = Debug.deprecate(factory.createNewExpression, factoryDeprecation);\nvar updateNew = Debug.deprecate(factory.updateNewExpression, factoryDeprecation);\nvar createTypeAssertion = Debug.deprecate(factory.createTypeAssertion, factoryDeprecation);\nvar updateTypeAssertion = Debug.deprecate(factory.updateTypeAssertion, factoryDeprecation);\nvar createParen = Debug.deprecate(factory.createParenthesizedExpression, factoryDeprecation);\nvar updateParen = Debug.deprecate(factory.updateParenthesizedExpression, factoryDeprecation);\nvar createFunctionExpression = Debug.deprecate(factory.createFunctionExpression, factoryDeprecation);\nvar updateFunctionExpression = Debug.deprecate(factory.updateFunctionExpression, factoryDeprecation);\nvar createDelete = Debug.deprecate(factory.createDeleteExpression, factoryDeprecation);\nvar updateDelete = Debug.deprecate(factory.updateDeleteExpression, factoryDeprecation);\nvar createTypeOf = Debug.deprecate(factory.createTypeOfExpression, factoryDeprecation);\nvar updateTypeOf = Debug.deprecate(factory.updateTypeOfExpression, factoryDeprecation);\nvar createVoid = Debug.deprecate(factory.createVoidExpression, factoryDeprecation);\nvar updateVoid = Debug.deprecate(factory.updateVoidExpression, factoryDeprecation);\nvar createAwait = Debug.deprecate(factory.createAwaitExpression, factoryDeprecation);\nvar updateAwait = Debug.deprecate(factory.updateAwaitExpression, factoryDeprecation);\nvar createPrefix = Debug.deprecate(factory.createPrefixUnaryExpression, factoryDeprecation);\nvar updatePrefix = Debug.deprecate(factory.updatePrefixUnaryExpression, factoryDeprecation);\nvar createPostfix = Debug.deprecate(factory.createPostfixUnaryExpression, factoryDeprecation);\nvar updatePostfix = Debug.deprecate(factory.updatePostfixUnaryExpression, factoryDeprecation);\nvar createBinary = Debug.deprecate(factory.createBinaryExpression, factoryDeprecation);\nvar updateConditional = Debug.deprecate(factory.updateConditionalExpression, factoryDeprecation);\nvar createTemplateExpression = Debug.deprecate(factory.createTemplateExpression, factoryDeprecation);\nvar updateTemplateExpression = Debug.deprecate(factory.updateTemplateExpression, factoryDeprecation);\nvar createTemplateHead = Debug.deprecate(factory.createTemplateHead, factoryDeprecation);\nvar createTemplateMiddle = Debug.deprecate(factory.createTemplateMiddle, factoryDeprecation);\nvar createTemplateTail = Debug.deprecate(factory.createTemplateTail, factoryDeprecation);\nvar createNoSubstitutionTemplateLiteral = Debug.deprecate(factory.createNoSubstitutionTemplateLiteral, factoryDeprecation);\nvar updateYield = Debug.deprecate(factory.updateYieldExpression, factoryDeprecation);\nvar createSpread = Debug.deprecate(factory.createSpreadElement, factoryDeprecation);\nvar updateSpread = Debug.deprecate(factory.updateSpreadElement, factoryDeprecation);\nvar createOmittedExpression = Debug.deprecate(factory.createOmittedExpression, factoryDeprecation);\nvar createAsExpression = Debug.deprecate(factory.createAsExpression, factoryDeprecation);\nvar updateAsExpression = Debug.deprecate(factory.updateAsExpression, factoryDeprecation);\nvar createNonNullExpression = Debug.deprecate(factory.createNonNullExpression, factoryDeprecation);\nvar updateNonNullExpression = Debug.deprecate(factory.updateNonNullExpression, factoryDeprecation);\nvar createNonNullChain = Debug.deprecate(factory.createNonNullChain, factoryDeprecation);\nvar updateNonNullChain = Debug.deprecate(factory.updateNonNullChain, factoryDeprecation);\nvar createMetaProperty = Debug.deprecate(factory.createMetaProperty, factoryDeprecation);\nvar updateMetaProperty = Debug.deprecate(factory.updateMetaProperty, factoryDeprecation);\nvar createTemplateSpan = Debug.deprecate(factory.createTemplateSpan, factoryDeprecation);\nvar updateTemplateSpan = Debug.deprecate(factory.updateTemplateSpan, factoryDeprecation);\nvar createSemicolonClassElement = Debug.deprecate(factory.createSemicolonClassElement, factoryDeprecation);\nvar createBlock = Debug.deprecate(factory.createBlock, factoryDeprecation);\nvar updateBlock = Debug.deprecate(factory.updateBlock, factoryDeprecation);\nvar createVariableStatement = Debug.deprecate(factory.createVariableStatement, factoryDeprecation);\nvar updateVariableStatement = Debug.deprecate(factory.updateVariableStatement, factoryDeprecation);\nvar createEmptyStatement = Debug.deprecate(factory.createEmptyStatement, factoryDeprecation);\nvar createExpressionStatement = Debug.deprecate(factory.createExpressionStatement, factoryDeprecation);\nvar updateExpressionStatement = Debug.deprecate(factory.updateExpressionStatement, factoryDeprecation);\nvar createStatement = Debug.deprecate(factory.createExpressionStatement, factoryDeprecation);\nvar updateStatement = Debug.deprecate(factory.updateExpressionStatement, factoryDeprecation);\nvar createIf = Debug.deprecate(factory.createIfStatement, factoryDeprecation);\nvar updateIf = Debug.deprecate(factory.updateIfStatement, factoryDeprecation);\nvar createDo = Debug.deprecate(factory.createDoStatement, factoryDeprecation);\nvar updateDo = Debug.deprecate(factory.updateDoStatement, factoryDeprecation);\nvar createWhile = Debug.deprecate(factory.createWhileStatement, factoryDeprecation);\nvar updateWhile = Debug.deprecate(factory.updateWhileStatement, factoryDeprecation);\nvar createFor = Debug.deprecate(factory.createForStatement, factoryDeprecation);\nvar updateFor = Debug.deprecate(factory.updateForStatement, factoryDeprecation);\nvar createForIn = Debug.deprecate(factory.createForInStatement, factoryDeprecation);\nvar updateForIn = Debug.deprecate(factory.updateForInStatement, factoryDeprecation);\nvar createForOf = Debug.deprecate(factory.createForOfStatement, factoryDeprecation);\nvar updateForOf = Debug.deprecate(factory.updateForOfStatement, factoryDeprecation);\nvar createContinue = Debug.deprecate(factory.createContinueStatement, factoryDeprecation);\nvar updateContinue = Debug.deprecate(factory.updateContinueStatement, factoryDeprecation);\nvar createBreak = Debug.deprecate(factory.createBreakStatement, factoryDeprecation);\nvar updateBreak = Debug.deprecate(factory.updateBreakStatement, factoryDeprecation);\nvar createReturn = Debug.deprecate(factory.createReturnStatement, factoryDeprecation);\nvar updateReturn = Debug.deprecate(factory.updateReturnStatement, factoryDeprecation);\nvar createWith = Debug.deprecate(factory.createWithStatement, factoryDeprecation);\nvar updateWith = Debug.deprecate(factory.updateWithStatement, factoryDeprecation);\nvar createSwitch = Debug.deprecate(factory.createSwitchStatement, factoryDeprecation);\nvar updateSwitch = Debug.deprecate(factory.updateSwitchStatement, factoryDeprecation);\nvar createLabel = Debug.deprecate(factory.createLabeledStatement, factoryDeprecation);\nvar updateLabel = Debug.deprecate(factory.updateLabeledStatement, factoryDeprecation);\nvar createThrow = Debug.deprecate(factory.createThrowStatement, factoryDeprecation);\nvar updateThrow = Debug.deprecate(factory.updateThrowStatement, factoryDeprecation);\nvar createTry = Debug.deprecate(factory.createTryStatement, factoryDeprecation);\nvar updateTry = Debug.deprecate(factory.updateTryStatement, factoryDeprecation);\nvar createDebuggerStatement = Debug.deprecate(factory.createDebuggerStatement, factoryDeprecation);\nvar createVariableDeclarationList = Debug.deprecate(factory.createVariableDeclarationList, factoryDeprecation);\nvar updateVariableDeclarationList = Debug.deprecate(factory.updateVariableDeclarationList, factoryDeprecation);\nvar createFunctionDeclaration = Debug.deprecate(factory.createFunctionDeclaration, factoryDeprecation);\nvar updateFunctionDeclaration = Debug.deprecate(factory.updateFunctionDeclaration, factoryDeprecation);\nvar createClassDeclaration = Debug.deprecate(factory.createClassDeclaration, factoryDeprecation);\nvar updateClassDeclaration = Debug.deprecate(factory.updateClassDeclaration, factoryDeprecation);\nvar createInterfaceDeclaration = Debug.deprecate(factory.createInterfaceDeclaration, factoryDeprecation);\nvar updateInterfaceDeclaration = Debug.deprecate(factory.updateInterfaceDeclaration, factoryDeprecation);\nvar createTypeAliasDeclaration = Debug.deprecate(factory.createTypeAliasDeclaration, factoryDeprecation);\nvar updateTypeAliasDeclaration = Debug.deprecate(factory.updateTypeAliasDeclaration, factoryDeprecation);\nvar createEnumDeclaration = Debug.deprecate(factory.createEnumDeclaration, factoryDeprecation);\nvar updateEnumDeclaration = Debug.deprecate(factory.updateEnumDeclaration, factoryDeprecation);\nvar createModuleDeclaration = Debug.deprecate(factory.createModuleDeclaration, factoryDeprecation);\nvar updateModuleDeclaration = Debug.deprecate(factory.updateModuleDeclaration, factoryDeprecation);\nvar createModuleBlock = Debug.deprecate(factory.createModuleBlock, factoryDeprecation);\nvar updateModuleBlock = Debug.deprecate(factory.updateModuleBlock, factoryDeprecation);\nvar createCaseBlock = Debug.deprecate(factory.createCaseBlock, factoryDeprecation);\nvar updateCaseBlock = Debug.deprecate(factory.updateCaseBlock, factoryDeprecation);\nvar createNamespaceExportDeclaration = Debug.deprecate(factory.createNamespaceExportDeclaration, factoryDeprecation);\nvar updateNamespaceExportDeclaration = Debug.deprecate(factory.updateNamespaceExportDeclaration, factoryDeprecation);\nvar createImportEqualsDeclaration = Debug.deprecate(factory.createImportEqualsDeclaration, factoryDeprecation);\nvar updateImportEqualsDeclaration = Debug.deprecate(factory.updateImportEqualsDeclaration, factoryDeprecation);\nvar createImportDeclaration = Debug.deprecate(factory.createImportDeclaration, factoryDeprecation);\nvar updateImportDeclaration = Debug.deprecate(factory.updateImportDeclaration, factoryDeprecation);\nvar createNamespaceImport = Debug.deprecate(factory.createNamespaceImport, factoryDeprecation);\nvar updateNamespaceImport = Debug.deprecate(factory.updateNamespaceImport, factoryDeprecation);\nvar createNamedImports = Debug.deprecate(factory.createNamedImports, factoryDeprecation);\nvar updateNamedImports = Debug.deprecate(factory.updateNamedImports, factoryDeprecation);\nvar createImportSpecifier = Debug.deprecate(factory.createImportSpecifier, factoryDeprecation);\nvar updateImportSpecifier = Debug.deprecate(factory.updateImportSpecifier, factoryDeprecation);\nvar createExportAssignment2 = Debug.deprecate(factory.createExportAssignment, factoryDeprecation);\nvar updateExportAssignment = Debug.deprecate(factory.updateExportAssignment, factoryDeprecation);\nvar createNamedExports = Debug.deprecate(factory.createNamedExports, factoryDeprecation);\nvar updateNamedExports = Debug.deprecate(factory.updateNamedExports, factoryDeprecation);\nvar createExportSpecifier = Debug.deprecate(factory.createExportSpecifier, factoryDeprecation);\nvar updateExportSpecifier = Debug.deprecate(factory.updateExportSpecifier, factoryDeprecation);\nvar createExternalModuleReference = Debug.deprecate(factory.createExternalModuleReference, factoryDeprecation);\nvar updateExternalModuleReference = Debug.deprecate(factory.updateExternalModuleReference, factoryDeprecation);\nvar createJSDocTypeExpression = Debug.deprecate(factory.createJSDocTypeExpression, factoryDeprecation);\nvar createJSDocTypeTag = Debug.deprecate(factory.createJSDocTypeTag, factoryDeprecation);\nvar createJSDocReturnTag = Debug.deprecate(factory.createJSDocReturnTag, factoryDeprecation);\nvar createJSDocThisTag = Debug.deprecate(factory.createJSDocThisTag, factoryDeprecation);\nvar createJSDocComment = Debug.deprecate(factory.createJSDocComment, factoryDeprecation);\nvar createJSDocParameterTag = Debug.deprecate(factory.createJSDocParameterTag, factoryDeprecation);\nvar createJSDocClassTag = Debug.deprecate(factory.createJSDocClassTag, factoryDeprecation);\nvar createJSDocAugmentsTag = Debug.deprecate(factory.createJSDocAugmentsTag, factoryDeprecation);\nvar createJSDocEnumTag = Debug.deprecate(factory.createJSDocEnumTag, factoryDeprecation);\nvar createJSDocTemplateTag = Debug.deprecate(factory.createJSDocTemplateTag, factoryDeprecation);\nvar createJSDocTypedefTag = Debug.deprecate(factory.createJSDocTypedefTag, factoryDeprecation);\nvar createJSDocCallbackTag = Debug.deprecate(factory.createJSDocCallbackTag, factoryDeprecation);\nvar createJSDocSignature = Debug.deprecate(factory.createJSDocSignature, factoryDeprecation);\nvar createJSDocPropertyTag = Debug.deprecate(factory.createJSDocPropertyTag, factoryDeprecation);\nvar createJSDocTypeLiteral = Debug.deprecate(factory.createJSDocTypeLiteral, factoryDeprecation);\nvar createJSDocImplementsTag = Debug.deprecate(factory.createJSDocImplementsTag, factoryDeprecation);\nvar createJSDocAuthorTag = Debug.deprecate(factory.createJSDocAuthorTag, factoryDeprecation);\nvar createJSDocPublicTag = Debug.deprecate(factory.createJSDocPublicTag, factoryDeprecation);\nvar createJSDocPrivateTag = Debug.deprecate(factory.createJSDocPrivateTag, factoryDeprecation);\nvar createJSDocProtectedTag = Debug.deprecate(factory.createJSDocProtectedTag, factoryDeprecation);\nvar createJSDocReadonlyTag = Debug.deprecate(factory.createJSDocReadonlyTag, factoryDeprecation);\nvar createJSDocTag = Debug.deprecate(factory.createJSDocUnknownTag, factoryDeprecation);\nvar createJsxElement = Debug.deprecate(factory.createJsxElement, factoryDeprecation);\nvar updateJsxElement = Debug.deprecate(factory.updateJsxElement, factoryDeprecation);\nvar createJsxSelfClosingElement = Debug.deprecate(factory.createJsxSelfClosingElement, factoryDeprecation);\nvar updateJsxSelfClosingElement = Debug.deprecate(factory.updateJsxSelfClosingElement, factoryDeprecation);\nvar createJsxOpeningElement = Debug.deprecate(factory.createJsxOpeningElement, factoryDeprecation);\nvar updateJsxOpeningElement = Debug.deprecate(factory.updateJsxOpeningElement, factoryDeprecation);\nvar createJsxClosingElement = Debug.deprecate(factory.createJsxClosingElement, factoryDeprecation);\nvar updateJsxClosingElement = Debug.deprecate(factory.updateJsxClosingElement, factoryDeprecation);\nvar createJsxFragment = Debug.deprecate(factory.createJsxFragment, factoryDeprecation);\nvar createJsxText = Debug.deprecate(factory.createJsxText, factoryDeprecation);\nvar updateJsxText = Debug.deprecate(factory.updateJsxText, factoryDeprecation);\nvar createJsxOpeningFragment = Debug.deprecate(factory.createJsxOpeningFragment, factoryDeprecation);\nvar createJsxJsxClosingFragment = Debug.deprecate(factory.createJsxJsxClosingFragment, factoryDeprecation);\nvar updateJsxFragment = Debug.deprecate(factory.updateJsxFragment, factoryDeprecation);\nvar createJsxAttribute = Debug.deprecate(factory.createJsxAttribute, factoryDeprecation);\nvar updateJsxAttribute = Debug.deprecate(factory.updateJsxAttribute, factoryDeprecation);\nvar createJsxAttributes = Debug.deprecate(factory.createJsxAttributes, factoryDeprecation);\nvar updateJsxAttributes = Debug.deprecate(factory.updateJsxAttributes, factoryDeprecation);\nvar createJsxSpreadAttribute = Debug.deprecate(factory.createJsxSpreadAttribute, factoryDeprecation);\nvar updateJsxSpreadAttribute = Debug.deprecate(factory.updateJsxSpreadAttribute, factoryDeprecation);\nvar createJsxExpression = Debug.deprecate(factory.createJsxExpression, factoryDeprecation);\nvar updateJsxExpression = Debug.deprecate(factory.updateJsxExpression, factoryDeprecation);\nvar createCaseClause = Debug.deprecate(factory.createCaseClause, factoryDeprecation);\nvar updateCaseClause = Debug.deprecate(factory.updateCaseClause, factoryDeprecation);\nvar createDefaultClause = Debug.deprecate(factory.createDefaultClause, factoryDeprecation);\nvar updateDefaultClause = Debug.deprecate(factory.updateDefaultClause, factoryDeprecation);\nvar createHeritageClause = Debug.deprecate(factory.createHeritageClause, factoryDeprecation);\nvar updateHeritageClause = Debug.deprecate(factory.updateHeritageClause, factoryDeprecation);\nvar createCatchClause = Debug.deprecate(factory.createCatchClause, factoryDeprecation);\nvar updateCatchClause = Debug.deprecate(factory.updateCatchClause, factoryDeprecation);\nvar createPropertyAssignment = Debug.deprecate(factory.createPropertyAssignment, factoryDeprecation);\nvar updatePropertyAssignment = Debug.deprecate(factory.updatePropertyAssignment, factoryDeprecation);\nvar createShorthandPropertyAssignment = Debug.deprecate(factory.createShorthandPropertyAssignment, factoryDeprecation);\nvar updateShorthandPropertyAssignment = Debug.deprecate(factory.updateShorthandPropertyAssignment, factoryDeprecation);\nvar createSpreadAssignment = Debug.deprecate(factory.createSpreadAssignment, factoryDeprecation);\nvar updateSpreadAssignment = Debug.deprecate(factory.updateSpreadAssignment, factoryDeprecation);\nvar createEnumMember = Debug.deprecate(factory.createEnumMember, factoryDeprecation);\nvar updateEnumMember = Debug.deprecate(factory.updateEnumMember, factoryDeprecation);\nvar updateSourceFileNode = Debug.deprecate(factory.updateSourceFile, factoryDeprecation);\nvar createNotEmittedStatement = Debug.deprecate(factory.createNotEmittedStatement, factoryDeprecation);\nvar createPartiallyEmittedExpression = Debug.deprecate(factory.createPartiallyEmittedExpression, factoryDeprecation);\nvar updatePartiallyEmittedExpression = Debug.deprecate(factory.updatePartiallyEmittedExpression, factoryDeprecation);\nvar createCommaList = Debug.deprecate(factory.createCommaListExpression, factoryDeprecation);\nvar updateCommaList = Debug.deprecate(factory.updateCommaListExpression, factoryDeprecation);\nvar createBundle = Debug.deprecate(factory.createBundle, factoryDeprecation);\nvar updateBundle = Debug.deprecate(factory.updateBundle, factoryDeprecation);\nvar createImmediatelyInvokedFunctionExpression = Debug.deprecate(factory.createImmediatelyInvokedFunctionExpression, factoryDeprecation);\nvar createImmediatelyInvokedArrowFunction = Debug.deprecate(factory.createImmediatelyInvokedArrowFunction, factoryDeprecation);\nvar createVoidZero = Debug.deprecate(factory.createVoidZero, factoryDeprecation);\nvar createExportDefault = Debug.deprecate(factory.createExportDefault, factoryDeprecation);\nvar createExternalModuleExport = Debug.deprecate(factory.createExternalModuleExport, factoryDeprecation);\nvar createNamespaceExport = Debug.deprecate(factory.createNamespaceExport, factoryDeprecation);\nvar updateNamespaceExport = Debug.deprecate(factory.updateNamespaceExport, factoryDeprecation);\nvar createToken = Debug.deprecate(function createToken2(kind) {\n  return factory.createToken(kind);\n}, factoryDeprecation);\nvar createIdentifier = Debug.deprecate(function createIdentifier2(text) {\n  return factory.createIdentifier(text, void 0, void 0);\n}, factoryDeprecation);\nvar createTempVariable = Debug.deprecate(function createTempVariable2(recordTempVariable) {\n  return factory.createTempVariable(recordTempVariable, void 0);\n}, factoryDeprecation);\nvar getGeneratedNameForNode = Debug.deprecate(function getGeneratedNameForNode2(node) {\n  return factory.getGeneratedNameForNode(node, void 0);\n}, factoryDeprecation);\nvar createOptimisticUniqueName = Debug.deprecate(function createOptimisticUniqueName2(text) {\n  return factory.createUniqueName(text, 16 /* Optimistic */);\n}, factoryDeprecation);\nvar createFileLevelUniqueName = Debug.deprecate(function createFileLevelUniqueName2(text) {\n  return factory.createUniqueName(text, 16 /* Optimistic */ | 32 /* FileLevel */);\n}, factoryDeprecation);\nvar createIndexSignature = Debug.deprecate(function createIndexSignature2(decorators, modifiers, parameters, type) {\n  return factory.createIndexSignature(decorators, modifiers, parameters, type);\n}, factoryDeprecation);\nvar createTypePredicateNode = Debug.deprecate(function createTypePredicateNode2(parameterName, type) {\n  return factory.createTypePredicateNode(void 0, parameterName, type);\n}, factoryDeprecation);\nvar updateTypePredicateNode = Debug.deprecate(function updateTypePredicateNode2(node, parameterName, type) {\n  return factory.updateTypePredicateNode(node, void 0, parameterName, type);\n}, factoryDeprecation);\nvar createLiteral = Debug.deprecate(function createLiteral2(value) {\n  if (typeof value === \"number\") {\n    return factory.createNumericLiteral(value);\n  }\n  if (typeof value === \"object\" && \"base10Value\" in value) {\n    return factory.createBigIntLiteral(value);\n  }\n  if (typeof value === \"boolean\") {\n    return value ? factory.createTrue() : factory.createFalse();\n  }\n  if (typeof value === \"string\") {\n    return factory.createStringLiteral(value, void 0);\n  }\n  return factory.createStringLiteralFromNode(value);\n}, { since: \"4.0\", warnAfter: \"4.1\", message: \"Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead.\" });\nvar createMethodSignature = Debug.deprecate(function createMethodSignature2(typeParameters, parameters, type, name, questionToken) {\n  return factory.createMethodSignature(void 0, name, questionToken, typeParameters, parameters, type);\n}, factoryDeprecation);\nvar updateMethodSignature = Debug.deprecate(function updateMethodSignature2(node, typeParameters, parameters, type, name, questionToken) {\n  return factory.updateMethodSignature(node, node.modifiers, name, questionToken, typeParameters, parameters, type);\n}, factoryDeprecation);\nvar createTypeOperatorNode = Debug.deprecate(function createTypeOperatorNode2(operatorOrType, type) {\n  let operator;\n  if (type) {\n    operator = operatorOrType;\n  } else {\n    type = operatorOrType;\n    operator = 142 /* KeyOfKeyword */;\n  }\n  return factory.createTypeOperatorNode(operator, type);\n}, factoryDeprecation);\nvar createTaggedTemplate = Debug.deprecate(function createTaggedTemplate2(tag, typeArgumentsOrTemplate, template) {\n  let typeArguments;\n  if (template) {\n    typeArguments = typeArgumentsOrTemplate;\n  } else {\n    template = typeArgumentsOrTemplate;\n  }\n  return factory.createTaggedTemplateExpression(tag, typeArguments, template);\n}, factoryDeprecation);\nvar updateTaggedTemplate = Debug.deprecate(function updateTaggedTemplate2(node, tag, typeArgumentsOrTemplate, template) {\n  let typeArguments;\n  if (template) {\n    typeArguments = typeArgumentsOrTemplate;\n  } else {\n    template = typeArgumentsOrTemplate;\n  }\n  return factory.updateTaggedTemplateExpression(node, tag, typeArguments, template);\n}, factoryDeprecation);\nvar updateBinary = Debug.deprecate(function updateBinary2(node, left, right, operator = node.operatorToken) {\n  if (typeof operator === \"number\") {\n    operator = operator === node.operatorToken.kind ? node.operatorToken : factory.createToken(operator);\n  }\n  return factory.updateBinaryExpression(node, left, operator, right);\n}, factoryDeprecation);\nvar createConditional = Debug.deprecate(function createConditional2(condition, questionTokenOrWhenTrue, whenTrueOrWhenFalse, colonToken, whenFalse) {\n  return arguments.length === 5 ? factory.createConditionalExpression(condition, questionTokenOrWhenTrue, whenTrueOrWhenFalse, colonToken, whenFalse) : arguments.length === 3 ? factory.createConditionalExpression(condition, factory.createToken(57 /* QuestionToken */), questionTokenOrWhenTrue, factory.createToken(58 /* ColonToken */), whenTrueOrWhenFalse) : Debug.fail(\"Argument count mismatch\");\n}, factoryDeprecation);\nvar createYield = Debug.deprecate(function createYield2(asteriskTokenOrExpression, expression) {\n  let asteriskToken;\n  if (expression) {\n    asteriskToken = asteriskTokenOrExpression;\n  } else {\n    expression = asteriskTokenOrExpression;\n  }\n  return factory.createYieldExpression(asteriskToken, expression);\n}, factoryDeprecation);\nvar createClassExpression = Debug.deprecate(function createClassExpression2(modifiers, name, typeParameters, heritageClauses, members) {\n  return factory.createClassExpression(void 0, modifiers, name, typeParameters, heritageClauses, members);\n}, factoryDeprecation);\nvar updateClassExpression = Debug.deprecate(function updateClassExpression2(node, modifiers, name, typeParameters, heritageClauses, members) {\n  return factory.updateClassExpression(node, void 0, modifiers, name, typeParameters, heritageClauses, members);\n}, factoryDeprecation);\nvar createPropertySignature = Debug.deprecate(function createPropertySignature2(modifiers, name, questionToken, type, initializer) {\n  const node = factory.createPropertySignature(modifiers, name, questionToken, type);\n  node.initializer = initializer;\n  return node;\n}, factoryDeprecation);\nvar updatePropertySignature = Debug.deprecate(function updatePropertySignature2(node, modifiers, name, questionToken, type, initializer) {\n  let updated = factory.updatePropertySignature(node, modifiers, name, questionToken, type);\n  if (node.initializer !== initializer) {\n    if (updated === node) {\n      updated = factory.cloneNode(node);\n    }\n    updated.initializer = initializer;\n  }\n  return updated;\n}, factoryDeprecation);\nvar createExpressionWithTypeArguments = Debug.deprecate(function createExpressionWithTypeArguments2(typeArguments, expression) {\n  return factory.createExpressionWithTypeArguments(expression, typeArguments);\n}, factoryDeprecation);\nvar updateExpressionWithTypeArguments = Debug.deprecate(function updateExpressionWithTypeArguments2(node, typeArguments, expression) {\n  return factory.updateExpressionWithTypeArguments(node, expression, typeArguments);\n}, factoryDeprecation);\nvar createArrowFunction = Debug.deprecate(function createArrowFunction2(modifiers, typeParameters, parameters, type, equalsGreaterThanTokenOrBody, body) {\n  return arguments.length === 6 ? factory.createArrowFunction(modifiers, typeParameters, parameters, type, equalsGreaterThanTokenOrBody, body) : arguments.length === 5 ? factory.createArrowFunction(modifiers, typeParameters, parameters, type, void 0, equalsGreaterThanTokenOrBody) : Debug.fail(\"Argument count mismatch\");\n}, factoryDeprecation);\nvar updateArrowFunction = Debug.deprecate(function updateArrowFunction2(node, modifiers, typeParameters, parameters, type, equalsGreaterThanTokenOrBody, body) {\n  return arguments.length === 7 ? factory.updateArrowFunction(node, modifiers, typeParameters, parameters, type, equalsGreaterThanTokenOrBody, body) : arguments.length === 6 ? factory.updateArrowFunction(node, modifiers, typeParameters, parameters, type, node.equalsGreaterThanToken, equalsGreaterThanTokenOrBody) : Debug.fail(\"Argument count mismatch\");\n}, factoryDeprecation);\nvar createVariableDeclaration = Debug.deprecate(function createVariableDeclaration2(name, exclamationTokenOrType, typeOrInitializer, initializer) {\n  return arguments.length === 4 ? factory.createVariableDeclaration(name, exclamationTokenOrType, typeOrInitializer, initializer) : arguments.length >= 1 && arguments.length <= 3 ? factory.createVariableDeclaration(name, void 0, exclamationTokenOrType, typeOrInitializer) : Debug.fail(\"Argument count mismatch\");\n}, factoryDeprecation);\nvar updateVariableDeclaration = Debug.deprecate(function updateVariableDeclaration2(node, name, exclamationTokenOrType, typeOrInitializer, initializer) {\n  return arguments.length === 5 ? factory.updateVariableDeclaration(node, name, exclamationTokenOrType, typeOrInitializer, initializer) : arguments.length === 4 ? factory.updateVariableDeclaration(node, name, node.exclamationToken, exclamationTokenOrType, typeOrInitializer) : Debug.fail(\"Argument count mismatch\");\n}, factoryDeprecation);\nvar createImportClause = Debug.deprecate(function createImportClause2(name, namedBindings, isTypeOnly = false) {\n  return factory.createImportClause(isTypeOnly, name, namedBindings);\n}, factoryDeprecation);\nvar updateImportClause = Debug.deprecate(function updateImportClause2(node, name, namedBindings, isTypeOnly) {\n  return factory.updateImportClause(node, isTypeOnly, name, namedBindings);\n}, factoryDeprecation);\nvar createExportDeclaration = Debug.deprecate(function createExportDeclaration2(decorators, modifiers, exportClause, moduleSpecifier, isTypeOnly = false) {\n  return factory.createExportDeclaration(decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier);\n}, factoryDeprecation);\nvar updateExportDeclaration = Debug.deprecate(function updateExportDeclaration2(node, decorators, modifiers, exportClause, moduleSpecifier, isTypeOnly) {\n  return factory.updateExportDeclaration(node, decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, node.assertClause);\n}, factoryDeprecation);\nvar createJSDocParamTag = Debug.deprecate(function createJSDocParamTag2(name, isBracketed, typeExpression, comment) {\n  return factory.createJSDocParameterTag(void 0, name, isBracketed, typeExpression, false, comment ? factory.createNodeArray([factory.createJSDocText(comment)]) : void 0);\n}, factoryDeprecation);\nvar createComma = Debug.deprecate(function createComma2(left, right) {\n  return factory.createComma(left, right);\n}, factoryDeprecation);\nvar createLessThan = Debug.deprecate(function createLessThan2(left, right) {\n  return factory.createLessThan(left, right);\n}, factoryDeprecation);\nvar createAssignment = Debug.deprecate(function createAssignment2(left, right) {\n  return factory.createAssignment(left, right);\n}, factoryDeprecation);\nvar createStrictEquality = Debug.deprecate(function createStrictEquality2(left, right) {\n  return factory.createStrictEquality(left, right);\n}, factoryDeprecation);\nvar createStrictInequality = Debug.deprecate(function createStrictInequality2(left, right) {\n  return factory.createStrictInequality(left, right);\n}, factoryDeprecation);\nvar createAdd = Debug.deprecate(function createAdd2(left, right) {\n  return factory.createAdd(left, right);\n}, factoryDeprecation);\nvar createSubtract = Debug.deprecate(function createSubtract2(left, right) {\n  return factory.createSubtract(left, right);\n}, factoryDeprecation);\nvar createLogicalAnd = Debug.deprecate(function createLogicalAnd2(left, right) {\n  return factory.createLogicalAnd(left, right);\n}, factoryDeprecation);\nvar createLogicalOr = Debug.deprecate(function createLogicalOr2(left, right) {\n  return factory.createLogicalOr(left, right);\n}, factoryDeprecation);\nvar createPostfixIncrement = Debug.deprecate(function createPostfixIncrement2(operand) {\n  return factory.createPostfixIncrement(operand);\n}, factoryDeprecation);\nvar createLogicalNot = Debug.deprecate(function createLogicalNot2(operand) {\n  return factory.createLogicalNot(operand);\n}, factoryDeprecation);\nvar createNode2 = Debug.deprecate(function createNode3(kind, pos = 0, end = 0) {\n  return setTextRangePosEnd(\n    kind === 314 /* SourceFile */ ? parseBaseNodeFactory.createBaseSourceFileNode(kind) : kind === 79 /* Identifier */ ? parseBaseNodeFactory.createBaseIdentifierNode(kind) : kind === 80 /* PrivateIdentifier */ ? parseBaseNodeFactory.createBasePrivateIdentifierNode(kind) : !isNodeKind(kind) ? parseBaseNodeFactory.createBaseTokenNode(kind) : parseBaseNodeFactory.createBaseNode(kind),\n    pos,\n    end\n  );\n}, { since: \"4.0\", warnAfter: \"4.1\", message: \"Use an appropriate `factory` method instead.\" });\nvar getMutableClone = Debug.deprecate(function getMutableClone2(node) {\n  const clone2 = factory.cloneNode(node);\n  setTextRange(clone2, node);\n  setParent(clone2, node.parent);\n  return clone2;\n}, { since: \"4.0\", warnAfter: \"4.1\", message: \"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.\" });\n\n// src/deprecatedCompat/4.0/renamedNodeTests.ts\nvar isTypeAssertion = Debug.deprecate(function isTypeAssertion2(node) {\n  return node.kind === 216 /* TypeAssertionExpression */;\n}, {\n  since: \"4.0\",\n  warnAfter: \"4.1\",\n  message: \"Use `isTypeAssertionExpression` instead.\"\n});\n\n// src/deprecatedCompat/4.2/renamedNodeTests.ts\nvar isIdentifierOrPrivateIdentifier = Debug.deprecate(function isIdentifierOrPrivateIdentifier2(node) {\n  return isMemberName(node);\n}, {\n  since: \"4.2\",\n  warnAfter: \"4.3\",\n  message: \"Use `isMemberName` instead.\"\n});\n\n// src/deprecatedCompat/4.2/abstractConstructorTypes.ts\nfunction patchNodeFactory(factory2) {\n  const {\n    createConstructorTypeNode: createConstructorTypeNode2,\n    updateConstructorTypeNode: updateConstructorTypeNode2\n  } = factory2;\n  factory2.createConstructorTypeNode = buildOverload(\"createConstructorTypeNode\").overload({\n    0(modifiers, typeParameters, parameters, type) {\n      return createConstructorTypeNode2(modifiers, typeParameters, parameters, type);\n    },\n    1(typeParameters, parameters, type) {\n      return createConstructorTypeNode2(void 0, typeParameters, parameters, type);\n    }\n  }).bind({\n    0: (args) => args.length === 4,\n    1: (args) => args.length === 3\n  }).deprecate({\n    1: { since: \"4.2\", warnAfter: \"4.3\", message: \"Use the overload that accepts 'modifiers'\" }\n  }).finish();\n  factory2.updateConstructorTypeNode = buildOverload(\"updateConstructorTypeNode\").overload({\n    0(node, modifiers, typeParameters, parameters, type) {\n      return updateConstructorTypeNode2(node, modifiers, typeParameters, parameters, type);\n    },\n    1(node, typeParameters, parameters, type) {\n      return updateConstructorTypeNode2(node, node.modifiers, typeParameters, parameters, type);\n    }\n  }).bind({\n    0: (args) => args.length === 5,\n    1: (args) => args.length === 4\n  }).deprecate({\n    1: { since: \"4.2\", warnAfter: \"4.3\", message: \"Use the overload that accepts 'modifiers'\" }\n  }).finish();\n}\naddNodeFactoryPatcher(patchNodeFactory);\npatchNodeFactory(factory);\n\n// src/deprecatedCompat/4.6/importTypeAssertions.ts\nfunction patchNodeFactory2(factory2) {\n  const {\n    createImportTypeNode: createImportTypeNode2,\n    updateImportTypeNode: updateImportTypeNode2\n  } = factory2;\n  factory2.createImportTypeNode = buildOverload(\"createImportTypeNode\").overload({\n    0(argument, assertions, qualifier, typeArguments, isTypeOf) {\n      return createImportTypeNode2(argument, assertions, qualifier, typeArguments, isTypeOf);\n    },\n    1(argument, qualifier, typeArguments, isTypeOf) {\n      return createImportTypeNode2(argument, void 0, qualifier, typeArguments, isTypeOf);\n    }\n  }).bind({\n    0: ([, assertions, qualifier, typeArguments, isTypeOf]) => (assertions === void 0 || isImportTypeAssertionContainer(assertions)) && (qualifier === void 0 || !isArray(qualifier)) && (typeArguments === void 0 || isArray(typeArguments)) && (isTypeOf === void 0 || typeof isTypeOf === \"boolean\"),\n    1: ([, qualifier, typeArguments, isTypeOf, other]) => other === void 0 && (qualifier === void 0 || isEntityName(qualifier)) && (typeArguments === void 0 || isArray(typeArguments)) && (isTypeOf === void 0 || typeof isTypeOf === \"boolean\")\n  }).deprecate({\n    1: { since: \"4.6\", warnAfter: \"4.7\", message: \"Use the overload that accepts 'assertions'\" }\n  }).finish();\n  factory2.updateImportTypeNode = buildOverload(\"updateImportTypeNode\").overload({\n    0(node, argument, assertions, qualifier, typeArguments, isTypeOf) {\n      return updateImportTypeNode2(node, argument, assertions, qualifier, typeArguments, isTypeOf);\n    },\n    1(node, argument, qualifier, typeArguments, isTypeOf) {\n      return updateImportTypeNode2(node, argument, node.assertions, qualifier, typeArguments, isTypeOf);\n    }\n  }).bind({\n    0: ([, , assertions, qualifier, typeArguments, isTypeOf]) => (assertions === void 0 || isImportTypeAssertionContainer(assertions)) && (qualifier === void 0 || !isArray(qualifier)) && (typeArguments === void 0 || isArray(typeArguments)) && (isTypeOf === void 0 || typeof isTypeOf === \"boolean\"),\n    1: ([, , qualifier, typeArguments, isTypeOf, other]) => other === void 0 && (qualifier === void 0 || isEntityName(qualifier)) && (typeArguments === void 0 || isArray(typeArguments)) && (isTypeOf === void 0 || typeof isTypeOf === \"boolean\")\n  }).deprecate({\n    1: { since: \"4.6\", warnAfter: \"4.7\", message: \"Use the overload that accepts 'assertions'\" }\n  }).finish();\n}\naddNodeFactoryPatcher(patchNodeFactory2);\npatchNodeFactory2(factory);\n\n// src/deprecatedCompat/4.7/typeParameterModifiers.ts\nfunction patchNodeFactory3(factory2) {\n  const {\n    createTypeParameterDeclaration: createTypeParameterDeclaration2,\n    updateTypeParameterDeclaration: updateTypeParameterDeclaration2\n  } = factory2;\n  factory2.createTypeParameterDeclaration = buildOverload(\"createTypeParameterDeclaration\").overload({\n    0(modifiers, name, constraint, defaultType) {\n      return createTypeParameterDeclaration2(modifiers, name, constraint, defaultType);\n    },\n    1(name, constraint, defaultType) {\n      return createTypeParameterDeclaration2(void 0, name, constraint, defaultType);\n    }\n  }).bind({\n    0: ([modifiers]) => modifiers === void 0 || isArray(modifiers),\n    1: ([name]) => name !== void 0 && !isArray(name)\n  }).deprecate({\n    1: { since: \"4.7\", warnAfter: \"4.8\", message: \"Use the overload that accepts 'modifiers'\" }\n  }).finish();\n  factory2.updateTypeParameterDeclaration = buildOverload(\"updateTypeParameterDeclaration\").overload({\n    0(node, modifiers, name, constraint, defaultType) {\n      return updateTypeParameterDeclaration2(node, modifiers, name, constraint, defaultType);\n    },\n    1(node, name, constraint, defaultType) {\n      return updateTypeParameterDeclaration2(node, node.modifiers, name, constraint, defaultType);\n    }\n  }).bind({\n    0: ([, modifiers]) => modifiers === void 0 || isArray(modifiers),\n    1: ([, name]) => name !== void 0 && !isArray(name)\n  }).deprecate({\n    1: { since: \"4.7\", warnAfter: \"4.8\", message: \"Use the overload that accepts 'modifiers'\" }\n  }).finish();\n}\naddNodeFactoryPatcher(patchNodeFactory3);\npatchNodeFactory3(factory);\n\n// src/deprecatedCompat/4.8/mergeDecoratorsAndModifiers.ts\nvar MUST_MERGE = { since: \"4.8\", warnAfter: \"4.9.0-0\", message: \"Decorators have been combined with modifiers. Callers should switch to an overload that does not accept a 'decorators' parameter.\" };\nvar DISALLOW_DECORATORS = { since: \"4.8\", warnAfter: \"4.9.0-0\", message: `Decorators are no longer supported for this function. Callers should switch to an overload that does not accept a 'decorators' parameter.` };\nvar DISALLOW_DECORATORS_AND_MODIFIERS = { since: \"4.8\", warnAfter: \"4.9.0-0\", message: `Decorators and modifiers are no longer supported for this function. Callers should switch to an overload that does not accept the 'decorators' and 'modifiers' parameters.` };\nfunction patchNodeFactory4(factory2) {\n  const {\n    createParameterDeclaration,\n    updateParameterDeclaration,\n    createPropertyDeclaration,\n    updatePropertyDeclaration: updatePropertyDeclaration2,\n    createMethodDeclaration,\n    updateMethodDeclaration,\n    createConstructorDeclaration,\n    updateConstructorDeclaration,\n    createGetAccessorDeclaration,\n    updateGetAccessorDeclaration,\n    createSetAccessorDeclaration,\n    updateSetAccessorDeclaration,\n    createIndexSignature: createIndexSignature3,\n    updateIndexSignature: updateIndexSignature2,\n    createClassStaticBlockDeclaration,\n    updateClassStaticBlockDeclaration,\n    createClassExpression: createClassExpression3,\n    updateClassExpression: updateClassExpression3,\n    createFunctionDeclaration: createFunctionDeclaration2,\n    updateFunctionDeclaration: updateFunctionDeclaration2,\n    createClassDeclaration: createClassDeclaration2,\n    updateClassDeclaration: updateClassDeclaration2,\n    createInterfaceDeclaration: createInterfaceDeclaration2,\n    updateInterfaceDeclaration: updateInterfaceDeclaration2,\n    createTypeAliasDeclaration: createTypeAliasDeclaration2,\n    updateTypeAliasDeclaration: updateTypeAliasDeclaration2,\n    createEnumDeclaration: createEnumDeclaration2,\n    updateEnumDeclaration: updateEnumDeclaration2,\n    createModuleDeclaration: createModuleDeclaration2,\n    updateModuleDeclaration: updateModuleDeclaration2,\n    createImportEqualsDeclaration: createImportEqualsDeclaration2,\n    updateImportEqualsDeclaration: updateImportEqualsDeclaration2,\n    createImportDeclaration: createImportDeclaration2,\n    updateImportDeclaration: updateImportDeclaration2,\n    createExportAssignment: createExportAssignment3,\n    updateExportAssignment: updateExportAssignment2,\n    createExportDeclaration: createExportDeclaration3,\n    updateExportDeclaration: updateExportDeclaration3\n  } = factory2;\n  factory2.createParameterDeclaration = buildOverload(\"createParameterDeclaration\").overload({\n    0(modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n      return createParameterDeclaration(modifiers, dotDotDotToken, name, questionToken, type, initializer);\n    },\n    1(decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n      return createParameterDeclaration(concatenate(decorators, modifiers), dotDotDotToken, name, questionToken, type, initializer);\n    }\n  }).bind({\n    0: ([, dotDotDotToken, name, questionToken, type, initializer, other]) => other === void 0 && (dotDotDotToken === void 0 || !isArray(dotDotDotToken)) && (name === void 0 || typeof name === \"string\" || isBindingName(name)) && (questionToken === void 0 || typeof questionToken === \"object\" && isQuestionToken(questionToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer)),\n    1: ([, modifiers, dotDotDotToken, name, questionToken, type, initializer]) => (modifiers === void 0 || isArray(modifiers)) && (dotDotDotToken === void 0 || typeof dotDotDotToken === \"object\" && isDotDotDotToken(dotDotDotToken)) && (name === void 0 || typeof name === \"string\" || isBindingName(name)) && (questionToken === void 0 || isQuestionToken(questionToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.updateParameterDeclaration = buildOverload(\"updateParameterDeclaration\").overload({\n    0(node, modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n      return updateParameterDeclaration(node, modifiers, dotDotDotToken, name, questionToken, type, initializer);\n    },\n    1(node, decorators, modifiers, dotDotDotToken, name, questionToken, type, initializer) {\n      return updateParameterDeclaration(node, concatenate(decorators, modifiers), dotDotDotToken, name, questionToken, type, initializer);\n    }\n  }).bind({\n    0: ([, , dotDotDotToken, name, questionToken, type, initializer, other]) => other === void 0 && (dotDotDotToken === void 0 || !isArray(dotDotDotToken)) && (name === void 0 || typeof name === \"string\" || isBindingName(name)) && (questionToken === void 0 || typeof questionToken === \"object\" && isQuestionToken(questionToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer)),\n    1: ([, , modifiers, dotDotDotToken, name, questionToken, type, initializer]) => (modifiers === void 0 || isArray(modifiers)) && (dotDotDotToken === void 0 || typeof dotDotDotToken === \"object\" && isDotDotDotToken(dotDotDotToken)) && (name === void 0 || typeof name === \"string\" || isBindingName(name)) && (questionToken === void 0 || isQuestionToken(questionToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.createPropertyDeclaration = buildOverload(\"createPropertyDeclaration\").overload({\n    0(modifiers, name, questionOrExclamationToken, type, initializer) {\n      return createPropertyDeclaration(modifiers, name, questionOrExclamationToken, type, initializer);\n    },\n    1(decorators, modifiers, name, questionOrExclamationToken, type, initializer) {\n      return createPropertyDeclaration(concatenate(decorators, modifiers), name, questionOrExclamationToken, type, initializer);\n    }\n  }).bind({\n    0: ([, name, questionOrExclamationToken, type, initializer, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (questionOrExclamationToken === void 0 || typeof questionOrExclamationToken === \"object\" && isQuestionOrExclamationToken(questionOrExclamationToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer)),\n    1: ([, modifiers, name, questionOrExclamationToken, type, initializer]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || typeof name === \"string\" || isPropertyName(name)) && (questionOrExclamationToken === void 0 || isQuestionOrExclamationToken(questionOrExclamationToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.updatePropertyDeclaration = buildOverload(\"updatePropertyDeclaration\").overload({\n    0(node, modifiers, name, questionOrExclamationToken, type, initializer) {\n      return updatePropertyDeclaration2(node, modifiers, name, questionOrExclamationToken, type, initializer);\n    },\n    1(node, decorators, modifiers, name, questionOrExclamationToken, type, initializer) {\n      return updatePropertyDeclaration2(node, concatenate(decorators, modifiers), name, questionOrExclamationToken, type, initializer);\n    }\n  }).bind({\n    0: ([, , name, questionOrExclamationToken, type, initializer, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (questionOrExclamationToken === void 0 || typeof questionOrExclamationToken === \"object\" && isQuestionOrExclamationToken(questionOrExclamationToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer)),\n    1: ([, , modifiers, name, questionOrExclamationToken, type, initializer]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || typeof name === \"string\" || isPropertyName(name)) && (questionOrExclamationToken === void 0 || isQuestionOrExclamationToken(questionOrExclamationToken)) && (type === void 0 || isTypeNode(type)) && (initializer === void 0 || isExpression(initializer))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.createMethodDeclaration = buildOverload(\"createMethodDeclaration\").overload({\n    0(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n      return createMethodDeclaration(modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);\n    },\n    1(decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n      return createMethodDeclaration(concatenate(decorators, modifiers), asteriskToken, name, questionToken, typeParameters, parameters, type, body);\n    }\n  }).bind({\n    0: ([, asteriskToken, name, questionToken, typeParameters, parameters, type, body, other]) => other === void 0 && (asteriskToken === void 0 || !isArray(asteriskToken)) && (name === void 0 || typeof name === \"string\" || isPropertyName(name)) && (questionToken === void 0 || typeof questionToken === \"object\" && isQuestionToken(questionToken)) && (typeParameters === void 0 || isArray(typeParameters)) && (parameters === void 0 || !some(parameters, isTypeParameterDeclaration)) && (type === void 0 || !isArray(type)) && (body === void 0 || isBlock(body)),\n    1: ([, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body]) => (modifiers === void 0 || isArray(modifiers)) && (asteriskToken === void 0 || typeof asteriskToken === \"object\" && isAsteriskToken(asteriskToken)) && (name === void 0 || typeof name === \"string\" || isPropertyName(name)) && (questionToken === void 0 || !isArray(questionToken)) && (typeParameters === void 0 || !some(typeParameters, isParameter)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.updateMethodDeclaration = buildOverload(\"updateMethodDeclaration\").overload({\n    0(node, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n      return updateMethodDeclaration(node, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body);\n    },\n    1(node, decorators, modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body) {\n      return updateMethodDeclaration(node, concatenate(decorators, modifiers), asteriskToken, name, questionToken, typeParameters, parameters, type, body);\n    }\n  }).bind({\n    0: ([, , asteriskToken, name, questionToken, typeParameters, parameters, type, body, other]) => other === void 0 && (asteriskToken === void 0 || !isArray(asteriskToken)) && (name === void 0 || typeof name === \"string\" || isPropertyName(name)) && (questionToken === void 0 || typeof questionToken === \"object\" && isQuestionToken(questionToken)) && (typeParameters === void 0 || isArray(typeParameters)) && (parameters === void 0 || !some(parameters, isTypeParameterDeclaration)) && (type === void 0 || !isArray(type)) && (body === void 0 || isBlock(body)),\n    1: ([, , modifiers, asteriskToken, name, questionToken, typeParameters, parameters, type, body]) => (modifiers === void 0 || isArray(modifiers)) && (asteriskToken === void 0 || typeof asteriskToken === \"object\" && isAsteriskToken(asteriskToken)) && (name === void 0 || typeof name === \"string\" || isPropertyName(name)) && (questionToken === void 0 || !isArray(questionToken)) && (typeParameters === void 0 || !some(typeParameters, isParameter)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.createConstructorDeclaration = buildOverload(\"createConstructorDeclaration\").overload({\n    0(modifiers, parameters, body) {\n      return createConstructorDeclaration(modifiers, parameters, body);\n    },\n    1(_decorators, modifiers, parameters, body) {\n      return createConstructorDeclaration(modifiers, parameters, body);\n    }\n  }).bind({\n    0: ([modifiers, parameters, body, other]) => other === void 0 && (modifiers === void 0 || !some(modifiers, isDecorator)) && (parameters === void 0 || !some(parameters, isModifier)) && (body === void 0 || !isArray(body)),\n    1: ([decorators, modifiers, parameters, body]) => (decorators === void 0 || !some(decorators, isModifier)) && (modifiers === void 0 || !some(modifiers, isParameter)) && (parameters === void 0 || isArray(parameters)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateConstructorDeclaration = buildOverload(\"updateConstructorDeclaration\").overload({\n    0(node, modifiers, parameters, body) {\n      return updateConstructorDeclaration(node, modifiers, parameters, body);\n    },\n    1(node, _decorators, modifiers, parameters, body) {\n      return updateConstructorDeclaration(node, modifiers, parameters, body);\n    }\n  }).bind({\n    0: ([, modifiers, parameters, body, other]) => other === void 0 && (modifiers === void 0 || !some(modifiers, isDecorator)) && (parameters === void 0 || !some(parameters, isModifier)) && (body === void 0 || !isArray(body)),\n    1: ([, decorators, modifiers, parameters, body]) => (decorators === void 0 || !some(decorators, isModifier)) && (modifiers === void 0 || !some(modifiers, isParameter)) && (parameters === void 0 || isArray(parameters)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createGetAccessorDeclaration = buildOverload(\"createGetAccessorDeclaration\").overload({\n    0(modifiers, name, parameters, type, body) {\n      return createGetAccessorDeclaration(modifiers, name, parameters, type, body);\n    },\n    1(decorators, modifiers, name, parameters, type, body) {\n      return createGetAccessorDeclaration(concatenate(decorators, modifiers), name, parameters, type, body);\n    }\n  }).bind({\n    0: ([, name, parameters, type, body, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || !isArray(type)) && (body === void 0 || isBlock(body)),\n    1: ([, modifiers, name, parameters, type, body]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.updateGetAccessorDeclaration = buildOverload(\"updateGetAccessorDeclaration\").overload({\n    0(node, modifiers, name, parameters, type, body) {\n      return updateGetAccessorDeclaration(node, modifiers, name, parameters, type, body);\n    },\n    1(node, decorators, modifiers, name, parameters, type, body) {\n      return updateGetAccessorDeclaration(node, concatenate(decorators, modifiers), name, parameters, type, body);\n    }\n  }).bind({\n    0: ([, , name, parameters, type, body, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || !isArray(type)) && (body === void 0 || isBlock(body)),\n    1: ([, , modifiers, name, parameters, type, body]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.createSetAccessorDeclaration = buildOverload(\"createSetAccessorDeclaration\").overload({\n    0(modifiers, name, parameters, body) {\n      return createSetAccessorDeclaration(modifiers, name, parameters, body);\n    },\n    1(decorators, modifiers, name, parameters, body) {\n      return createSetAccessorDeclaration(concatenate(decorators, modifiers), name, parameters, body);\n    }\n  }).bind({\n    0: ([, name, parameters, body, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (body === void 0 || !isArray(body)),\n    1: ([, modifiers, name, parameters, body]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.updateSetAccessorDeclaration = buildOverload(\"updateSetAccessorDeclaration\").overload({\n    0(node, modifiers, name, parameters, body) {\n      return updateSetAccessorDeclaration(node, modifiers, name, parameters, body);\n    },\n    1(node, decorators, modifiers, name, parameters, body) {\n      return updateSetAccessorDeclaration(node, concatenate(decorators, modifiers), name, parameters, body);\n    }\n  }).bind({\n    0: ([, , name, parameters, body, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (body === void 0 || !isArray(body)),\n    1: ([, , modifiers, name, parameters, body]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (parameters === void 0 || isArray(parameters)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.createIndexSignature = buildOverload(\"createIndexSignature\").overload({\n    0(modifiers, parameters, type) {\n      return createIndexSignature3(modifiers, parameters, type);\n    },\n    1(_decorators, modifiers, parameters, type) {\n      return createIndexSignature3(modifiers, parameters, type);\n    }\n  }).bind({\n    0: ([modifiers, parameters, type, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (parameters === void 0 || every(parameters, isParameter)) && (type === void 0 || !isArray(type)),\n    1: ([decorators, modifiers, parameters, type]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || every(modifiers, isModifier)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateIndexSignature = buildOverload(\"updateIndexSignature\").overload({\n    0(node, modifiers, parameters, type) {\n      return updateIndexSignature2(node, modifiers, parameters, type);\n    },\n    1(node, _decorators, modifiers, parameters, type) {\n      return updateIndexSignature2(node, modifiers, parameters, type);\n    }\n  }).bind({\n    0: ([, modifiers, parameters, type, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (parameters === void 0 || every(parameters, isParameter)) && (type === void 0 || !isArray(type)),\n    1: ([, decorators, modifiers, parameters, type]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || every(modifiers, isModifier)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createClassStaticBlockDeclaration = buildOverload(\"createClassStaticBlockDeclaration\").overload({\n    0(body) {\n      return createClassStaticBlockDeclaration(body);\n    },\n    1(_decorators, _modifiers, body) {\n      return createClassStaticBlockDeclaration(body);\n    }\n  }).bind({\n    0: ([body, other1, other2]) => other1 === void 0 && other2 === void 0 && (body === void 0 || !isArray(body)),\n    1: ([decorators, modifiers, body]) => (decorators === void 0 || isArray(decorators)) && (modifiers === void 0 || isArray(decorators)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS_AND_MODIFIERS\n  }).finish();\n  factory2.updateClassStaticBlockDeclaration = buildOverload(\"updateClassStaticBlockDeclaration\").overload({\n    0(node, body) {\n      return updateClassStaticBlockDeclaration(node, body);\n    },\n    1(node, _decorators, _modifiers, body) {\n      return updateClassStaticBlockDeclaration(node, body);\n    }\n  }).bind({\n    0: ([, body, other1, other2]) => other1 === void 0 && other2 === void 0 && (body === void 0 || !isArray(body)),\n    1: ([, decorators, modifiers, body]) => (decorators === void 0 || isArray(decorators)) && (modifiers === void 0 || isArray(decorators)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS_AND_MODIFIERS\n  }).finish();\n  factory2.createClassExpression = buildOverload(\"createClassExpression\").overload({\n    0(modifiers, name, typeParameters, heritageClauses, members) {\n      return createClassExpression3(modifiers, name, typeParameters, heritageClauses, members);\n    },\n    1(decorators, modifiers, name, typeParameters, heritageClauses, members) {\n      return createClassExpression3(concatenate(decorators, modifiers), name, typeParameters, heritageClauses, members);\n    }\n  }).bind({\n    0: ([, name, typeParameters, heritageClauses, members, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isClassElement)),\n    1: ([, modifiers, name, typeParameters, heritageClauses, members]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || isArray(members))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateClassExpression = buildOverload(\"updateClassExpression\").overload({\n    0(node, modifiers, name, typeParameters, heritageClauses, members) {\n      return updateClassExpression3(node, modifiers, name, typeParameters, heritageClauses, members);\n    },\n    1(node, decorators, modifiers, name, typeParameters, heritageClauses, members) {\n      return updateClassExpression3(node, concatenate(decorators, modifiers), name, typeParameters, heritageClauses, members);\n    }\n  }).bind({\n    0: ([, , name, typeParameters, heritageClauses, members, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isClassElement)),\n    1: ([, , modifiers, name, typeParameters, heritageClauses, members]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || isArray(members))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createFunctionDeclaration = buildOverload(\"createFunctionDeclaration\").overload({\n    0(modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n      return createFunctionDeclaration2(modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n    },\n    1(_decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n      return createFunctionDeclaration2(modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n    }\n  }).bind({\n    0: ([, asteriskToken, name, typeParameters, parameters, type, body, other]) => other === void 0 && (asteriskToken === void 0 || !isArray(asteriskToken)) && (name === void 0 || typeof name === \"string\" || isIdentifier(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (parameters === void 0 || every(parameters, isParameter)) && (type === void 0 || !isArray(type)) && (body === void 0 || isBlock(body)),\n    1: ([, modifiers, asteriskToken, name, typeParameters, parameters, type, body]) => (modifiers === void 0 || isArray(modifiers)) && (asteriskToken === void 0 || typeof asteriskToken !== \"string\" && isAsteriskToken(asteriskToken)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateFunctionDeclaration = buildOverload(\"updateFunctionDeclaration\").overload({\n    0(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n      return updateFunctionDeclaration2(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n    },\n    1(node, _decorators, modifiers, asteriskToken, name, typeParameters, parameters, type, body) {\n      return updateFunctionDeclaration2(node, modifiers, asteriskToken, name, typeParameters, parameters, type, body);\n    }\n  }).bind({\n    0: ([, , asteriskToken, name, typeParameters, parameters, type, body, other]) => other === void 0 && (asteriskToken === void 0 || !isArray(asteriskToken)) && (name === void 0 || isIdentifier(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (parameters === void 0 || every(parameters, isParameter)) && (type === void 0 || !isArray(type)) && (body === void 0 || isBlock(body)),\n    1: ([, , modifiers, asteriskToken, name, typeParameters, parameters, type, body]) => (modifiers === void 0 || isArray(modifiers)) && (asteriskToken === void 0 || typeof asteriskToken !== \"string\" && isAsteriskToken(asteriskToken)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (parameters === void 0 || isArray(parameters)) && (type === void 0 || isTypeNode(type)) && (body === void 0 || isBlock(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createClassDeclaration = buildOverload(\"createClassDeclaration\").overload({\n    0(modifiers, name, typeParameters, heritageClauses, members) {\n      return createClassDeclaration2(modifiers, name, typeParameters, heritageClauses, members);\n    },\n    1(decorators, modifiers, name, typeParameters, heritageClauses, members) {\n      return createClassDeclaration2(concatenate(decorators, modifiers), name, typeParameters, heritageClauses, members);\n    }\n  }).bind({\n    0: ([, name, typeParameters, heritageClauses, members, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isClassElement)),\n    1: () => true\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.updateClassDeclaration = buildOverload(\"updateClassDeclaration\").overload({\n    0(node, modifiers, name, typeParameters, heritageClauses, members) {\n      return updateClassDeclaration2(node, modifiers, name, typeParameters, heritageClauses, members);\n    },\n    1(node, decorators, modifiers, name, typeParameters, heritageClauses, members) {\n      return updateClassDeclaration2(node, concatenate(decorators, modifiers), name, typeParameters, heritageClauses, members);\n    }\n  }).bind({\n    0: ([, , name, typeParameters, heritageClauses, members, other]) => other === void 0 && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isClassElement)),\n    1: ([, , modifiers, name, typeParameters, heritageClauses, members]) => (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || isArray(members))\n  }).deprecate({\n    1: MUST_MERGE\n  }).finish();\n  factory2.createInterfaceDeclaration = buildOverload(\"createInterfaceDeclaration\").overload({\n    0(modifiers, name, typeParameters, heritageClauses, members) {\n      return createInterfaceDeclaration2(modifiers, name, typeParameters, heritageClauses, members);\n    },\n    1(_decorators, modifiers, name, typeParameters, heritageClauses, members) {\n      return createInterfaceDeclaration2(modifiers, name, typeParameters, heritageClauses, members);\n    }\n  }).bind({\n    0: ([modifiers, name, typeParameters, heritageClauses, members, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isTypeElement)),\n    1: ([decorators, modifiers, name, typeParameters, heritageClauses, members]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isTypeElement))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateInterfaceDeclaration = buildOverload(\"updateInterfaceDeclaration\").overload({\n    0(node, modifiers, name, typeParameters, heritageClauses, members) {\n      return updateInterfaceDeclaration2(node, modifiers, name, typeParameters, heritageClauses, members);\n    },\n    1(node, _decorators, modifiers, name, typeParameters, heritageClauses, members) {\n      return updateInterfaceDeclaration2(node, modifiers, name, typeParameters, heritageClauses, members);\n    }\n  }).bind({\n    0: ([, modifiers, name, typeParameters, heritageClauses, members, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isTypeElement)),\n    1: ([, decorators, modifiers, name, typeParameters, heritageClauses, members]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || every(typeParameters, isTypeParameterDeclaration)) && (heritageClauses === void 0 || every(heritageClauses, isHeritageClause)) && (members === void 0 || every(members, isTypeElement))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createTypeAliasDeclaration = buildOverload(\"createTypeAliasDeclaration\").overload({\n    0(modifiers, name, typeParameters, type) {\n      return createTypeAliasDeclaration2(modifiers, name, typeParameters, type);\n    },\n    1(_decorators, modifiers, name, typeParameters, type) {\n      return createTypeAliasDeclaration2(modifiers, name, typeParameters, type);\n    }\n  }).bind({\n    0: ([modifiers, name, typeParameters, type, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (type === void 0 || !isArray(type)),\n    1: ([decorators, modifiers, name, typeParameters, type]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (type === void 0 || isTypeNode(type))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateTypeAliasDeclaration = buildOverload(\"updateTypeAliasDeclaration\").overload({\n    0(node, modifiers, name, typeParameters, type) {\n      return updateTypeAliasDeclaration2(node, modifiers, name, typeParameters, type);\n    },\n    1(node, _decorators, modifiers, name, typeParameters, type) {\n      return updateTypeAliasDeclaration2(node, modifiers, name, typeParameters, type);\n    }\n  }).bind({\n    0: ([, modifiers, name, typeParameters, type, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (type === void 0 || !isArray(type)),\n    1: ([, decorators, modifiers, name, typeParameters, type]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (typeParameters === void 0 || isArray(typeParameters)) && (type === void 0 || isTypeNode(type))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createEnumDeclaration = buildOverload(\"createEnumDeclaration\").overload({\n    0(modifiers, name, members) {\n      return createEnumDeclaration2(modifiers, name, members);\n    },\n    1(_decorators, modifiers, name, members) {\n      return createEnumDeclaration2(modifiers, name, members);\n    }\n  }).bind({\n    0: ([modifiers, name, members, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (members === void 0 || isArray(members)),\n    1: ([decorators, modifiers, name, members]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (members === void 0 || isArray(members))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateEnumDeclaration = buildOverload(\"updateEnumDeclaration\").overload({\n    0(node, modifiers, name, members) {\n      return updateEnumDeclaration2(node, modifiers, name, members);\n    },\n    1(node, _decorators, modifiers, name, members) {\n      return updateEnumDeclaration2(node, modifiers, name, members);\n    }\n  }).bind({\n    0: ([, modifiers, name, members, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (members === void 0 || isArray(members)),\n    1: ([, decorators, modifiers, name, members]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name === void 0 || !isArray(name)) && (members === void 0 || isArray(members))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createModuleDeclaration = buildOverload(\"createModuleDeclaration\").overload({\n    0(modifiers, name, body, flags) {\n      return createModuleDeclaration2(modifiers, name, body, flags);\n    },\n    1(_decorators, modifiers, name, body, flags) {\n      return createModuleDeclaration2(modifiers, name, body, flags);\n    }\n  }).bind({\n    0: ([modifiers, name, body, flags, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name !== void 0 && !isArray(name)) && (body === void 0 || isModuleBody(body)) && (flags === void 0 || typeof flags === \"number\"),\n    1: ([decorators, modifiers, name, body, flags]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name !== void 0 && isModuleName(name)) && (body === void 0 || typeof body === \"object\") && (flags === void 0 || typeof flags === \"number\")\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateModuleDeclaration = buildOverload(\"updateModuleDeclaration\").overload({\n    0(node, modifiers, name, body) {\n      return updateModuleDeclaration2(node, modifiers, name, body);\n    },\n    1(node, _decorators, modifiers, name, body) {\n      return updateModuleDeclaration2(node, modifiers, name, body);\n    }\n  }).bind({\n    0: ([, modifiers, name, body, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (name === void 0 || !isArray(name)) && (body === void 0 || isModuleBody(body)),\n    1: ([, decorators, modifiers, name, body]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (name !== void 0 && isModuleName(name)) && (body === void 0 || isModuleBody(body))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createImportEqualsDeclaration = buildOverload(\"createImportEqualsDeclaration\").overload({\n    0(modifiers, isTypeOnly, name, moduleReference) {\n      return createImportEqualsDeclaration2(modifiers, isTypeOnly, name, moduleReference);\n    },\n    1(_decorators, modifiers, isTypeOnly, name, moduleReference) {\n      return createImportEqualsDeclaration2(modifiers, isTypeOnly, name, moduleReference);\n    }\n  }).bind({\n    0: ([modifiers, isTypeOnly, name, moduleReference, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (isTypeOnly === void 0 || typeof isTypeOnly === \"boolean\") && typeof name !== \"boolean\" && typeof moduleReference !== \"string\",\n    1: ([decorators, modifiers, isTypeOnly, name, moduleReference]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (isTypeOnly === void 0 || typeof isTypeOnly === \"boolean\") && (typeof name === \"string\" || isIdentifier(name)) && (moduleReference !== void 0 && isModuleReference(moduleReference))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateImportEqualsDeclaration = buildOverload(\"updateImportEqualsDeclaration\").overload({\n    0(node, modifiers, isTypeOnly, name, moduleReference) {\n      return updateImportEqualsDeclaration2(node, modifiers, isTypeOnly, name, moduleReference);\n    },\n    1(node, _decorators, modifiers, isTypeOnly, name, moduleReference) {\n      return updateImportEqualsDeclaration2(node, modifiers, isTypeOnly, name, moduleReference);\n    }\n  }).bind({\n    0: ([, modifiers, isTypeOnly, name, moduleReference, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (isTypeOnly === void 0 || typeof isTypeOnly === \"boolean\") && typeof name !== \"boolean\" && typeof moduleReference !== \"string\",\n    1: ([, decorators, modifiers, isTypeOnly, name, moduleReference]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (isTypeOnly === void 0 || typeof isTypeOnly === \"boolean\") && (typeof name === \"string\" || isIdentifier(name)) && (moduleReference !== void 0 && isModuleReference(moduleReference))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createImportDeclaration = buildOverload(\"createImportDeclaration\").overload({\n    0(modifiers, importClause, moduleSpecifier, assertClause) {\n      return createImportDeclaration2(modifiers, importClause, moduleSpecifier, assertClause);\n    },\n    1(_decorators, modifiers, importClause, moduleSpecifier, assertClause) {\n      return createImportDeclaration2(modifiers, importClause, moduleSpecifier, assertClause);\n    }\n  }).bind({\n    0: ([modifiers, importClause, moduleSpecifier, assertClause, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (importClause === void 0 || !isArray(importClause)) && (moduleSpecifier !== void 0 && isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause)),\n    1: ([decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (importClause === void 0 || isImportClause(importClause)) && (moduleSpecifier !== void 0 && isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateImportDeclaration = buildOverload(\"updateImportDeclaration\").overload({\n    0(node, modifiers, importClause, moduleSpecifier, assertClause) {\n      return updateImportDeclaration2(node, modifiers, importClause, moduleSpecifier, assertClause);\n    },\n    1(node, _decorators, modifiers, importClause, moduleSpecifier, assertClause) {\n      return updateImportDeclaration2(node, modifiers, importClause, moduleSpecifier, assertClause);\n    }\n  }).bind({\n    0: ([, modifiers, importClause, moduleSpecifier, assertClause, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (importClause === void 0 || !isArray(importClause)) && (moduleSpecifier === void 0 || isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause)),\n    1: ([, decorators, modifiers, importClause, moduleSpecifier, assertClause]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (importClause === void 0 || isImportClause(importClause)) && (moduleSpecifier !== void 0 && isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createExportAssignment = buildOverload(\"createExportAssignment\").overload({\n    0(modifiers, isExportEquals, expression) {\n      return createExportAssignment3(modifiers, isExportEquals, expression);\n    },\n    1(_decorators, modifiers, isExportEquals, expression) {\n      return createExportAssignment3(modifiers, isExportEquals, expression);\n    }\n  }).bind({\n    0: ([modifiers, isExportEquals, expression, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (isExportEquals === void 0 || typeof isExportEquals === \"boolean\") && typeof expression === \"object\",\n    1: ([decorators, modifiers, isExportEquals, expression]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (isExportEquals === void 0 || typeof isExportEquals === \"boolean\") && (expression !== void 0 && isExpression(expression))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateExportAssignment = buildOverload(\"updateExportAssignment\").overload({\n    0(node, modifiers, expression) {\n      return updateExportAssignment2(node, modifiers, expression);\n    },\n    1(node, _decorators, modifiers, expression) {\n      return updateExportAssignment2(node, modifiers, expression);\n    }\n  }).bind({\n    0: ([, modifiers, expression, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && (expression !== void 0 && !isArray(expression)),\n    1: ([, decorators, modifiers, expression]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && (expression !== void 0 && isExpression(expression))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.createExportDeclaration = buildOverload(\"createExportDeclaration\").overload({\n    0(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n      return createExportDeclaration3(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);\n    },\n    1(_decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n      return createExportDeclaration3(modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);\n    }\n  }).bind({\n    0: ([modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && typeof isTypeOnly === \"boolean\" && typeof exportClause !== \"boolean\" && (moduleSpecifier === void 0 || isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause)),\n    1: ([decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && typeof isTypeOnly === \"boolean\" && (exportClause === void 0 || isNamedExportBindings(exportClause)) && (moduleSpecifier === void 0 || isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n  factory2.updateExportDeclaration = buildOverload(\"updateExportDeclaration\").overload({\n    0(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n      return updateExportDeclaration3(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);\n    },\n    1(node, _decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause) {\n      return updateExportDeclaration3(node, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause);\n    }\n  }).bind({\n    0: ([, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause, other]) => other === void 0 && (modifiers === void 0 || every(modifiers, isModifier)) && typeof isTypeOnly === \"boolean\" && typeof exportClause !== \"boolean\" && (moduleSpecifier === void 0 || isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause)),\n    1: ([, decorators, modifiers, isTypeOnly, exportClause, moduleSpecifier, assertClause]) => (decorators === void 0 || every(decorators, isDecorator)) && (modifiers === void 0 || isArray(modifiers)) && typeof isTypeOnly === \"boolean\" && (exportClause === void 0 || isNamedExportBindings(exportClause)) && (moduleSpecifier === void 0 || isExpression(moduleSpecifier)) && (assertClause === void 0 || isAssertClause(assertClause))\n  }).deprecate({\n    1: DISALLOW_DECORATORS\n  }).finish();\n}\naddNodeFactoryPatcher(patchNodeFactory4);\npatchNodeFactory4(factory);\n\n// src/linter/_namespaces/ts.ArkTSLinter_1_0.ts\nvar ts_ArkTSLinter_1_0_exports = {};\n__export(ts_ArkTSLinter_1_0_exports, {\n  ALLOWED_STD_SYMBOL_API: () => ALLOWED_STD_SYMBOL_API,\n  ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE: () => ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE,\n  ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE: () => ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE,\n  ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE: () => ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE,\n  ARKTS_IGNORE_DIRS: () => ARKTS_IGNORE_DIRS,\n  ARKTS_IGNORE_FILES: () => ARKTS_IGNORE_FILES,\n  ARKUI_DECORATORS: () => ARKUI_DECORATORS,\n  AUTOFIX_ALL: () => AUTOFIX_ALL,\n  CheckType: () => CheckType,\n  ES_OBJECT: () => ES_OBJECT,\n  FUNCTION_HAS_NO_RETURN_ERROR_CODE: () => FUNCTION_HAS_NO_RETURN_ERROR_CODE,\n  FaultAttributs: () => FaultAttributs,\n  FaultID: () => FaultID,\n  LIMITED_STANDARD_UTILITY_TYPES: () => LIMITED_STANDARD_UTILITY_TYPES,\n  LIMITED_STD_GLOBAL_FUNC: () => LIMITED_STD_GLOBAL_FUNC,\n  LIMITED_STD_OBJECT_API: () => LIMITED_STD_OBJECT_API,\n  LIMITED_STD_PROXYHANDLER_API: () => LIMITED_STD_PROXYHANDLER_API,\n  LIMITED_STD_REFLECT_API: () => LIMITED_STD_REFLECT_API,\n  LibraryTypeCallDiagnosticChecker: () => LibraryTypeCallDiagnosticChecker,\n  LinterConfig: () => LinterConfig,\n  NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS: () => NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS,\n  NON_INITIALIZABLE_PROPERTY_DECORATORS: () => NON_INITIALIZABLE_PROPERTY_DECORATORS,\n  NON_RETURN_FUNCTION_DECORATORS: () => NON_RETURN_FUNCTION_DECORATORS,\n  NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE: () => NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE,\n  PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE: () => PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE,\n  ProblemSeverity: () => ProblemSeverity,\n  STANDARD_LIBRARIES: () => STANDARD_LIBRARIES,\n  TSCCompiledProgram: () => TSCCompiledProgram,\n  TYPED_ARRAYS: () => TYPED_ARRAYS,\n  TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE: () => TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE,\n  TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE: () => TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE,\n  TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE: () => TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE,\n  TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE: () => TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE,\n  TypeScriptLinter: () => TypeScriptLinter,\n  autofixInfo: () => autofixInfo,\n  clearTrueSymbolAtLocationCache: () => clearTrueSymbolAtLocationCache,\n  clearTypeChecker: () => clearTypeChecker,\n  cookBookMsg: () => cookBookMsg,\n  cookBookTag: () => cookBookTag,\n  decodeAutofixInfo: () => decodeAutofixInfo,\n  encodeProblemInfo: () => encodeProblemInfo,\n  entityNameToString: () => entityNameToString2,\n  faultsAttrs: () => faultsAttrs,\n  findParentIf: () => findParentIf,\n  fixCtorParameterProperties: () => fixCtorParameterProperties,\n  fixFunctionExpression: () => fixFunctionExpression,\n  fixLiteralAsPropertyName: () => fixLiteralAsPropertyName,\n  fixPropertyAccessByIndex: () => fixPropertyAccessByIndex,\n  fixReturnType: () => fixReturnType,\n  followIfAliased: () => followIfAliased,\n  getAccessModifier: () => getAccessModifier,\n  getDeclaration: () => getDeclaration2,\n  getEndPos: () => getEndPos2,\n  getModifier: () => getModifier,\n  getParentSymbolName: () => getParentSymbolName,\n  getScriptKind: () => getScriptKind2,\n  getStartPos: () => getStartPos,\n  getSymbolDeclarationTypeNode: () => getSymbolDeclarationTypeNode,\n  getSymbolOfCallExpression: () => getSymbolOfCallExpression,\n  getVariableDeclarationTypeNode: () => getVariableDeclarationTypeNode,\n  hasAccessModifier: () => hasAccessModifier,\n  hasEsObjectType: () => hasEsObjectType,\n  hasLibraryType: () => hasLibraryType,\n  hasMethods: () => hasMethods,\n  hasModifier: () => hasModifier,\n  hasPredecessor: () => hasPredecessor,\n  isAnonymousType: () => isAnonymousType,\n  isAnyType: () => isAnyType,\n  isAssignmentOperator: () => isAssignmentOperator2,\n  isBooleanType: () => isBooleanType,\n  isCallToFunctionWithOmittedReturnType: () => isCallToFunctionWithOmittedReturnType,\n  isCompileTimeExpression: () => isCompileTimeExpression,\n  isConst: () => isConst,\n  isDefaultImport: () => isDefaultImport2,\n  isDerivedFrom: () => isDerivedFrom,\n  isDestructuringAssignmentLHS: () => isDestructuringAssignmentLHS,\n  isDynamicLiteralInitializer: () => isDynamicLiteralInitializer,\n  isDynamicType: () => isDynamicType,\n  isEnumMemberType: () => isEnumMemberType,\n  isEnumType: () => isEnumType,\n  isEsObjectPossiblyAllowed: () => isEsObjectPossiblyAllowed,\n  isEsObjectSymbol: () => isEsObjectSymbol,\n  isEsObjectType: () => isEsObjectType,\n  isExpressionAssignableToType: () => isExpressionAssignableToType,\n  isFunctionOrMethod: () => isFunctionOrMethod,\n  isFunctionSymbol: () => isFunctionSymbol2,\n  isGenericArrayType: () => isGenericArrayType,\n  isGlobalSymbol: () => isGlobalSymbol,\n  isInsideBlock: () => isInsideBlock,\n  isIntegerConstantValue: () => isIntegerConstantValue,\n  isInterfaceType: () => isInterfaceType,\n  isIntrinsicObjectType: () => isIntrinsicObjectType,\n  isLibrarySymbol: () => isLibrarySymbol,\n  isLibraryType: () => isLibraryType,\n  isLiteralType: () => isLiteralType,\n  isMethodAssignment: () => isMethodAssignment,\n  isNullType: () => isNullType,\n  isNumberConstantValue: () => isNumberConstantValue,\n  isNumberLikeType: () => isNumberLikeType,\n  isNumberType: () => isNumberType,\n  isObjectLiteralType: () => isObjectLiteralType2,\n  isObjectType: () => isObjectType,\n  isPrimitiveEnumMemberType: () => isPrimitiveEnumMemberType,\n  isPrimitiveEnumType: () => isPrimitiveEnumType,\n  isPrimitiveType: () => isPrimitiveType,\n  isPrototypeSymbol: () => isPrototypeSymbol,\n  isReferenceType: () => isReferenceType,\n  isStdLibrarySymbol: () => isStdLibrarySymbol,\n  isStdLibraryType: () => isStdLibraryType,\n  isStdPartialType: () => isStdPartialType,\n  isStdReadonlyType: () => isStdReadonlyType,\n  isStdRecordType: () => isStdRecordType,\n  isStdRequiredType: () => isStdRequiredType,\n  isStdSymbol: () => isStdSymbol,\n  isStringConstantValue: () => isStringConstantValue,\n  isStringLikeType: () => isStringLikeType,\n  isStringType: () => isStringType,\n  isStruct: () => isStruct2,\n  isStructDeclaration: () => isStructDeclaration2,\n  isStructDeclarationKind: () => isStructDeclarationKind,\n  isStructObjectInitializer: () => isStructObjectInitializer,\n  isSupportedType: () => isSupportedType,\n  isSymbolAPI: () => isSymbolAPI,\n  isSymbolIterator: () => isSymbolIterator,\n  isThisOrSuperExpr: () => isThisOrSuperExpr,\n  isType: () => isType,\n  isTypeDeclSyntaxKind: () => isTypeDeclSyntaxKind,\n  isTypeReference: () => isTypeReference2,\n  isTypeSymbol: () => isTypeSymbol,\n  isTypedArray: () => isTypedArray,\n  isUnknownType: () => isUnknownType,\n  isUnsupportedType: () => isUnsupportedType,\n  isUnsupportedUnionType: () => isUnsupportedUnionType,\n  isValidEnumMemberInit: () => isValidEnumMemberInit,\n  isValueAssignableToESObject: () => isValueAssignableToESObject,\n  logTscDiagnostic: () => logTscDiagnostic,\n  needToDeduceStructuralIdentity: () => needToDeduceStructuralIdentity,\n  pathContainsDirectory: () => pathContainsDirectory,\n  processParentTypes: () => processParentTypes,\n  processParentTypesCheck: () => processParentTypesCheck,\n  relatedByInheritanceOrIdentical: () => relatedByInheritanceOrIdentical,\n  runArkTSLinter: () => runArkTSLinter,\n  setTestMode: () => setTestMode,\n  setTypeChecker: () => setTypeChecker,\n  shouldAutofix: () => shouldAutofix,\n  symbolHasDuplicateName: () => symbolHasDuplicateName,\n  symbolHasEsObjectType: () => symbolHasEsObjectType,\n  translateDiag: () => translateDiag,\n  trueSymbolAtLocation: () => trueSymbolAtLocation,\n  typeIsRecursive: () => typeIsRecursive,\n  unwrapParenthesized: () => unwrapParenthesized,\n  unwrapParenthesizedType: () => unwrapParenthesizedType,\n  validateFields: () => validateFields,\n  validateObjectLiteralType: () => validateObjectLiteralType\n});\n\n// src/linter/ArkTSLinter_1_0/CookBookMsg.ts\nvar cookBookMsg = [];\nvar cookBookTag = [];\nfor (let i = 0; i <= 151; i++) {\n  cookBookMsg[i] = \"\";\n}\ncookBookTag[1] = \"Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)\";\ncookBookTag[2] = '\"Symbol()\" API is not supported (arkts-no-symbol)';\ncookBookTag[3] = 'Private \"#\" identifiers are not supported (arkts-no-private-identifiers)';\ncookBookTag[4] = \"Use unique names for types and namespaces. (arkts-unique-names)\";\ncookBookTag[5] = 'Use \"let\" instead of \"var\" (arkts-no-var)';\ncookBookTag[6] = \"\";\ncookBookTag[7] = \"\";\ncookBookTag[8] = 'Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)';\ncookBookTag[9] = \"\";\ncookBookTag[10] = \"\";\ncookBookTag[11] = \"\";\ncookBookTag[12] = \"\";\ncookBookTag[13] = \"\";\ncookBookTag[14] = 'Use \"class\" instead of a type with call signature (arkts-no-call-signatures)';\ncookBookTag[15] = 'Use \"class\" instead of a type with constructor signature (arkts-no-ctor-signatures-type)';\ncookBookTag[16] = \"Only one static block is supported (arkts-no-multiple-static-blocks)\";\ncookBookTag[17] = \"Indexed signatures are not supported (arkts-no-indexed-signatures)\";\ncookBookTag[18] = \"\";\ncookBookTag[19] = \"Use inheritance instead of intersection types (arkts-no-intersection-types)\";\ncookBookTag[20] = \"\";\ncookBookTag[21] = 'Type notation using \"this\" is not supported (arkts-no-typing-with-this)';\ncookBookTag[22] = \"Conditional types are not supported (arkts-no-conditional-types)\";\ncookBookTag[23] = \"\";\ncookBookTag[24] = \"\";\ncookBookTag[25] = 'Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)';\ncookBookTag[26] = \"\";\ncookBookTag[27] = \"Construct signatures are not supported in interfaces (arkts-no-ctor-signatures-iface)\";\ncookBookTag[28] = \"Indexed access types are not supported (arkts-no-aliases-by-index)\";\ncookBookTag[29] = \"Indexed access is not supported for fields (arkts-no-props-by-index)\";\ncookBookTag[30] = \"Structural typing is not supported (arkts-no-structural-typing)\";\ncookBookTag[31] = \"\";\ncookBookTag[32] = \"\";\ncookBookTag[33] = \"\";\ncookBookTag[34] = \"Type inference in case of generic function calls is limited (arkts-no-inferred-generic-params)\";\ncookBookTag[35] = \"\";\ncookBookTag[36] = \"\";\ncookBookTag[37] = \"RegExp literals are not supported (arkts-no-regexp-literals)\";\ncookBookTag[38] = \"Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)\";\ncookBookTag[39] = \"\";\ncookBookTag[40] = \"Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)\";\ncookBookTag[41] = \"\";\ncookBookTag[42] = \"\";\ncookBookTag[43] = \"Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals)\";\ncookBookTag[44] = \"\";\ncookBookTag[45] = \"\";\ncookBookTag[46] = \"Use arrow functions instead of function expressions (arkts-no-func-expressions)\";\ncookBookTag[47] = \"\";\ncookBookTag[48] = \"\";\ncookBookTag[49] = \"Use generic functions instead of generic arrow functions (arkts-no-generic-lambdas)\";\ncookBookTag[50] = \"Class literals are not supported (arkts-no-class-literals)\";\ncookBookTag[51] = 'Classes cannot be specified in \"implements\" clause (arkts-implements-only-iface)';\ncookBookTag[52] = \"Reassigning object methods is not supported (arkts-no-method-reassignment)\";\ncookBookTag[53] = 'Only \"as T\" syntax is supported for type casts (arkts-as-casts)';\ncookBookTag[54] = \"JSX expressions are not supported (arkts-no-jsx)\";\ncookBookTag[55] = 'Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)';\ncookBookTag[56] = \"\";\ncookBookTag[57] = \"\";\ncookBookTag[58] = \"\";\ncookBookTag[59] = '\"delete\" operator is not supported (arkts-no-delete)';\ncookBookTag[60] = '\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)';\ncookBookTag[61] = \"\";\ncookBookTag[62] = \"\";\ncookBookTag[63] = \"\";\ncookBookTag[64] = \"\";\ncookBookTag[65] = '\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)';\ncookBookTag[66] = '\"in\" operator is not supported (arkts-no-in)';\ncookBookTag[67] = \"\";\ncookBookTag[68] = \"\";\ncookBookTag[69] = \"Destructuring assignment is not supported (arkts-no-destruct-assignment)\";\ncookBookTag[70] = \"\";\ncookBookTag[71] = 'The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops)';\ncookBookTag[72] = \"\";\ncookBookTag[73] = \"\";\ncookBookTag[74] = \"Destructuring variable declarations are not supported (arkts-no-destruct-decls)\";\ncookBookTag[75] = \"\";\ncookBookTag[76] = \"\";\ncookBookTag[77] = \"\";\ncookBookTag[78] = \"\";\ncookBookTag[79] = \"Type annotation in catch clause is not supported (arkts-no-types-in-catch)\";\ncookBookTag[80] = '\"for .. in\" is not supported (arkts-no-for-in)';\ncookBookTag[81] = \"\";\ncookBookTag[82] = \"\";\ncookBookTag[83] = \"Mapped type expression is not supported (arkts-no-mapped-types)\";\ncookBookTag[84] = '\"with\" statement is not supported (arkts-no-with)';\ncookBookTag[85] = \"\";\ncookBookTag[86] = \"\";\ncookBookTag[87] = '\"throw\" statements cannot accept values of arbitrary types (arkts-limited-throw)';\ncookBookTag[88] = \"\";\ncookBookTag[89] = \"\";\ncookBookTag[90] = \"Function return type inference is limited (arkts-no-implicit-return-types)\";\ncookBookTag[91] = \"Destructuring parameter declarations are not supported (arkts-no-destruct-params)\";\ncookBookTag[92] = \"Nested functions are not supported (arkts-no-nested-funcs)\";\ncookBookTag[93] = 'Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)';\ncookBookTag[94] = \"Generator functions are not supported (arkts-no-generators)\";\ncookBookTag[95] = \"\";\ncookBookTag[96] = 'Type guarding is supported with \"instanceof\" and \"as\" (arkts-no-is)';\ncookBookTag[97] = \"\";\ncookBookTag[98] = \"\";\ncookBookTag[99] = \"It is possible to spread only arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)\";\ncookBookTag[100] = \"\";\ncookBookTag[101] = \"\";\ncookBookTag[102] = \"Interface can not extend interfaces with the same method (arkts-no-extend-same-prop)\";\ncookBookTag[103] = \"Declaration merging is not supported (arkts-no-decl-merging)\";\ncookBookTag[104] = \"Interfaces cannot extend classes (arkts-extends-only-class)\";\ncookBookTag[105] = \"\";\ncookBookTag[106] = \"Constructor function type is not supported (arkts-no-ctor-signatures-funcs)\";\ncookBookTag[107] = \"\";\ncookBookTag[108] = \"\";\ncookBookTag[109] = \"\";\ncookBookTag[110] = \"\";\ncookBookTag[111] = \"Enumeration members can be initialized only with compile time expressions of the same type (arkts-no-enum-mixed-types)\";\ncookBookTag[112] = \"\";\ncookBookTag[113] = '\"enum\" declaration merging is not supported (arkts-no-enum-merging)';\ncookBookTag[114] = \"Namespaces cannot be used as objects (arkts-no-ns-as-obj)\";\ncookBookTag[115] = \"\";\ncookBookTag[116] = \"Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-delcaration statements) (arkts-no-ns-statements)\";\ncookBookTag[117] = \"\";\ncookBookTag[118] = \"Special import type declarations are not supported (arkts-no-special-imports)\";\ncookBookTag[119] = \"Importing a module for side-effects only is not supported (arkts-no-side-effects-imports)\";\ncookBookTag[120] = '\"import default as ...\" is not supported (arkts-no-import-default-as)';\ncookBookTag[121] = '\"require\" and \"import\" assignment are not supported (arkts-no-require)';\ncookBookTag[122] = \"\";\ncookBookTag[123] = \"\";\ncookBookTag[124] = \"\";\ncookBookTag[125] = \"\";\ncookBookTag[126] = '\"export = ...\" assignment is not supported (arkts-no-export-assignment)';\ncookBookTag[127] = 'Special \"export type\" declarations are not supported (arkts-no-special-exports)';\ncookBookTag[128] = \"Ambient module declaration is not supported (arkts-no-ambient-decls)\";\ncookBookTag[129] = \"Wildcards in module names are not supported (arkts-no-module-wildcards)\";\ncookBookTag[130] = \"Universal module definitions (UMD) are not supported (arkts-no-umd)\";\ncookBookTag[131] = \"\";\ncookBookTag[132] = '\"new.target\" is not supported (arkts-no-new-target)';\ncookBookTag[133] = \"\";\ncookBookTag[134] = \"Definite assignment assertions are not supported (arkts-no-definite-assignment)\";\ncookBookTag[135] = \"\";\ncookBookTag[136] = \"Prototype assignment is not supported (arkts-no-prototype-assignment)\";\ncookBookTag[137] = '\"globalThis\" is not supported (arkts-no-globalthis)';\ncookBookTag[138] = \"Some of utility types are not supported (arkts-no-utility-types)\";\ncookBookTag[139] = \"Declaring properties on functions is not supported (arkts-no-func-props)\";\ncookBookTag[140] = '\"Function.apply\", \"Function.bind\", \"Function.call\" are not supported (arkts-no-func-apply-bind-call)';\ncookBookTag[141] = \"\";\ncookBookTag[142] = '\"as const\" assertions are not supported (arkts-no-as-const)';\ncookBookTag[143] = \"Import assertions are not supported (arkts-no-import-assertions)\";\ncookBookTag[144] = \"Usage of standard library is restricted (arkts-limited-stdlib)\";\ncookBookTag[145] = \"Strict type checking is enforced (arkts-strict-typing)\";\ncookBookTag[146] = \"Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)\";\ncookBookTag[147] = \"No dependencies on TypeScript code are currently allowed (arkts-no-ts-deps)\";\ncookBookTag[148] = \"No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-except-arkui)\";\ncookBookTag[149] = \"Classes cannot be used as objects (arkts-no-classes-as-obj)\";\ncookBookTag[150] = '\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)';\ncookBookTag[151] = 'Usage of \"ESObject\" type is restricted (arkts-limited-esobj)';\n\n// src/linter/ArkTSLinter_1_0/LibraryTypeCallDiagnosticChecker.ts\nvar TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE = 2322;\nvar TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE = /^Type '(.*)\\bunknown\\b(.*)' is not assignable to type '.*'\\.$/;\nvar TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE = /^Type 'null' is not assignable to type '.*'\\.$/;\nvar TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE = /^Type 'undefined' is not assignable to type '.*'\\.$/;\nvar ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE = 2345;\nvar ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE = /^Argument of type 'null' is not assignable to parameter of type '.*'\\.$/;\nvar ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE = /^Argument of type 'undefined' is not assignable to parameter of type '.*'\\.$/;\nvar NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE = 2769;\nvar LibraryTypeCallDiagnosticChecker = class {\n  constructor(filteredDiagnosticMessages) {\n    this.inLibCall = false;\n    this.filteredDiagnosticMessages = [];\n    this.filteredDiagnosticMessages = filteredDiagnosticMessages;\n  }\n  configure(inLibCall, diagnosticMessages) {\n    this.inLibCall = inLibCall;\n    this.diagnosticMessages = diagnosticMessages;\n  }\n  checkMessageText(msg) {\n    if (this.inLibCall) {\n      const match = msg.match(ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE) || msg.match(ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE) || msg.match(TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE) || msg.match(TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE);\n      return !match;\n    }\n    return true;\n  }\n  checkMessageChain(chain) {\n    if (chain.code == TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE) {\n      if (chain.messageText.match(TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE)) {\n        return false;\n      }\n      if (this.inLibCall && chain.messageText.match(TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE)) {\n        return false;\n      }\n      if (this.inLibCall && chain.messageText.match(TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE)) {\n        return false;\n      }\n    }\n    if (chain.code == ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE) {\n      if (this.inLibCall && chain.messageText.match(ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE)) {\n        return false;\n      }\n      if (this.inLibCall && chain.messageText.match(ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE)) {\n        return false;\n      }\n    }\n    return chain.next == void 0 ? true : this.checkMessageChain(chain.next[0]);\n  }\n  checkFilteredDiagnosticMessages(msgText) {\n    if (this.filteredDiagnosticMessages.length == 0) {\n      return true;\n    }\n    if (typeof msgText !== \"string\" && this.filteredDiagnosticMessages.includes(msgText)) {\n      return false;\n    }\n    for (const msgChain of this.filteredDiagnosticMessages) {\n      if (typeof msgText == \"string\") {\n        if (msgText == msgChain.messageText) {\n          return false;\n        }\n        continue;\n      }\n      let curMsg = msgText;\n      let curFilteredMsg = msgChain;\n      while (curMsg) {\n        if (!curFilteredMsg) {\n          return true;\n        }\n        if (curMsg.code != curFilteredMsg.code) {\n          return true;\n        }\n        if (curMsg.messageText != curFilteredMsg.messageText) {\n          return true;\n        }\n        curMsg = curMsg.next ? curMsg.next[0] : void 0;\n        curFilteredMsg = curFilteredMsg.next ? curFilteredMsg.next[0] : void 0;\n      }\n      return false;\n    }\n    return true;\n  }\n  checkDiagnosticMessage(msgText) {\n    if (!this.diagnosticMessages) {\n      return false;\n    }\n    if (this.inLibCall && !this.checkFilteredDiagnosticMessages(msgText)) {\n      return false;\n    }\n    if (typeof msgText == \"string\") {\n      return this.checkMessageText(msgText);\n    }\n    if (!this.checkMessageChain(msgText)) {\n      this.diagnosticMessages.push(msgText);\n      return false;\n    }\n    return true;\n  }\n};\n\n// src/linter/ArkTSLinter_1_0/Utils.ts\nvar PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE = 2564;\nvar NON_INITIALIZABLE_PROPERTY_DECORATORS = [\"Link\", \"Consume\", \"ObjectLink\", \"Prop\", \"BuilderParam\"];\nvar NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS = [\"CustomDialog\"];\nvar LIMITED_STANDARD_UTILITY_TYPES = [\n  \"Awaited\",\n  \"Pick\",\n  \"Omit\",\n  \"Exclude\",\n  \"Extract\",\n  \"NonNullable\",\n  \"Parameters\",\n  \"ConstructorParameters\",\n  \"ReturnType\",\n  \"InstanceType\",\n  \"ThisParameterType\",\n  \"OmitThisParameter\",\n  \"ThisType\",\n  \"Uppercase\",\n  \"Lowercase\",\n  \"Capitalize\",\n  \"Uncapitalize\"\n];\nvar ALLOWED_STD_SYMBOL_API = [\"iterator\"];\nvar ProblemSeverity = /* @__PURE__ */ ((ProblemSeverity3) => {\n  ProblemSeverity3[ProblemSeverity3[\"WARNING\"] = 1] = \"WARNING\";\n  ProblemSeverity3[ProblemSeverity3[\"ERROR\"] = 2] = \"ERROR\";\n  return ProblemSeverity3;\n})(ProblemSeverity || {});\nvar ARKTS_IGNORE_DIRS = [\"node_modules\", \"oh_modules\", \"build\", \".preview\"];\nvar ARKTS_IGNORE_FILES = [\"hvigorfile.ts\"];\nvar typeChecker;\nfunction setTypeChecker(tsTypeChecker) {\n  typeChecker = tsTypeChecker;\n}\nfunction clearTypeChecker() {\n  typeChecker = {};\n}\nvar testMode = false;\nfunction setTestMode(tsTestMode) {\n  testMode = tsTestMode;\n}\nfunction getStartPos(nodeOrComment) {\n  return nodeOrComment.kind === 2 /* SingleLineCommentTrivia */ || nodeOrComment.kind === 3 /* MultiLineCommentTrivia */ ? nodeOrComment.pos : nodeOrComment.getStart();\n}\nfunction getEndPos2(nodeOrComment) {\n  return nodeOrComment.kind === 2 /* SingleLineCommentTrivia */ || nodeOrComment.kind === 3 /* MultiLineCommentTrivia */ ? nodeOrComment.end : nodeOrComment.getEnd();\n}\nfunction isAssignmentOperator2(tsBinOp) {\n  return tsBinOp.kind >= 63 /* FirstAssignment */ && tsBinOp.kind <= 78 /* LastAssignment */;\n}\nfunction isTypedArray(tsType) {\n  if (tsType === void 0 || !isTypeReferenceNode(tsType)) {\n    return false;\n  }\n  return TYPED_ARRAYS.includes(entityNameToString2(tsType.typeName));\n}\nfunction isType(tsType, checkType) {\n  if (tsType === void 0 || !isTypeReferenceNode(tsType)) {\n    return false;\n  }\n  return entityNameToString2(tsType.typeName) === checkType;\n}\nfunction entityNameToString2(name) {\n  if (isIdentifier(name)) {\n    return name.escapedText.toString();\n  } else {\n    return entityNameToString2(name.left) + entityNameToString2(name.right);\n  }\n}\nfunction isNumberType(tsType) {\n  if (tsType.isUnion()) {\n    for (const tsCompType of tsType.types) {\n      if ((tsCompType.flags & 296 /* NumberLike */) === 0)\n        return false;\n    }\n    return true;\n  }\n  return (tsType.getFlags() & 296 /* NumberLike */) !== 0;\n}\nfunction isBooleanType(tsType) {\n  return (tsType.getFlags() & 528 /* BooleanLike */) !== 0;\n}\nfunction isStringLikeType(tsType) {\n  if (tsType.isUnion()) {\n    for (const tsCompType of tsType.types) {\n      if ((tsCompType.flags & 402653316 /* StringLike */) === 0)\n        return false;\n    }\n    return true;\n  }\n  return (tsType.getFlags() & 402653316 /* StringLike */) !== 0;\n}\nfunction isStringType(type) {\n  return (type.getFlags() & 4 /* String */) !== 0;\n}\nfunction isPrimitiveEnumType(type, primitiveType) {\n  const isNonPrimitive = (type.flags & 67108864 /* NonPrimitive */) !== 0;\n  if (!isEnumType(type) || !type.isUnion() || isNonPrimitive) {\n    return false;\n  }\n  for (const t of type.types) {\n    if ((t.flags & primitiveType) === 0) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction isPrimitiveEnumMemberType(type, primitiveType) {\n  const isNonPrimitive = (type.flags & 67108864 /* NonPrimitive */) !== 0;\n  if (!isEnumMemberType(type) || isNonPrimitive) {\n    return false;\n  }\n  return (type.flags & primitiveType) !== 0;\n}\nfunction unwrapParenthesizedType(tsType) {\n  while (isParenthesizedTypeNode(tsType)) {\n    tsType = tsType.type;\n  }\n  return tsType;\n}\nfunction findParentIf(asExpr) {\n  let node = asExpr.parent;\n  while (node) {\n    if (node.kind === 246 /* IfStatement */) {\n      return node;\n    }\n    node = node.parent;\n  }\n  return null;\n}\nfunction isDestructuringAssignmentLHS(tsExpr) {\n  let tsParent = tsExpr.parent;\n  let tsCurrentExpr = tsExpr;\n  while (tsParent) {\n    if (isBinaryExpression(tsParent) && isAssignmentOperator2(tsParent.operatorToken) && tsParent.left === tsCurrentExpr) {\n      return true;\n    }\n    if ((isForStatement(tsParent) || isForInStatement(tsParent) || isForOfStatement(tsParent)) && tsParent.initializer && tsParent.initializer === tsCurrentExpr) {\n      return true;\n    }\n    tsCurrentExpr = tsParent;\n    tsParent = tsParent.parent;\n  }\n  return false;\n}\nfunction isEnumType(tsType) {\n  return tsType.symbol && (tsType.symbol.flags & 384 /* Enum */) !== 0;\n}\nfunction isEnumMemberType(tsType) {\n  return tsType.symbol && (tsType.symbol.flags & 8 /* EnumMember */) !== 0;\n}\nfunction isObjectLiteralType2(tsType) {\n  return tsType.symbol && (tsType.symbol.flags & 4096 /* ObjectLiteral */) !== 0;\n}\nfunction isNumberLikeType(tsType) {\n  return (tsType.getFlags() & 296 /* NumberLike */) !== 0;\n}\nfunction hasModifier(tsModifiers, tsModifierKind) {\n  if (!tsModifiers)\n    return false;\n  for (const tsModifier of tsModifiers) {\n    if (tsModifier.kind === tsModifierKind)\n      return true;\n  }\n  return false;\n}\nfunction unwrapParenthesized(tsExpr) {\n  let unwrappedExpr = tsExpr;\n  while (isParenthesizedExpression(unwrappedExpr)) {\n    unwrappedExpr = unwrappedExpr.expression;\n  }\n  return unwrappedExpr;\n}\nfunction followIfAliased(sym) {\n  if ((sym.getFlags() & 2097152 /* Alias */) !== 0) {\n    return typeChecker.getAliasedSymbol(sym);\n  }\n  return sym;\n}\nvar trueSymbolAtLocationCache = new Map2();\nfunction trueSymbolAtLocation(node) {\n  let cache = trueSymbolAtLocationCache;\n  let val = cache.get(node);\n  if (val !== void 0) {\n    return val !== null ? val : void 0;\n  }\n  let sym = typeChecker.getSymbolAtLocation(node);\n  if (sym === void 0) {\n    cache.set(node, null);\n    return void 0;\n  }\n  sym = followIfAliased(sym);\n  cache.set(node, sym);\n  return sym;\n}\nfunction clearTrueSymbolAtLocationCache() {\n  trueSymbolAtLocationCache.clear();\n}\nfunction isTypeDeclSyntaxKind(kind) {\n  return isStructDeclarationKind(kind) || kind === 269 /* EnumDeclaration */ || kind === 264 /* ClassDeclaration */ || kind === 267 /* InterfaceDeclaration */ || kind === 268 /* TypeAliasDeclaration */;\n}\nfunction symbolHasDuplicateName(symbol, tsDeclKind) {\n  const symbolDecls = symbol == null ? void 0 : symbol.getDeclarations();\n  if (symbolDecls) {\n    for (const symDecl of symbolDecls) {\n      const declKind = symDecl.kind;\n      const isNamespaceTypeCollision = isTypeDeclSyntaxKind(declKind) && tsDeclKind === 270 /* ModuleDeclaration */ || isTypeDeclSyntaxKind(tsDeclKind) && declKind === 270 /* ModuleDeclaration */;\n      if (declKind !== 79 /* Identifier */ && declKind !== tsDeclKind && !isNamespaceTypeCollision)\n        return true;\n    }\n  }\n  return false;\n}\nfunction isReferenceType(tsType) {\n  const f = tsType.getFlags();\n  return (f & 58982400 /* InstantiableNonPrimitive */) !== 0 || (f & 524288 /* Object */) !== 0 || (f & 16 /* Boolean */) !== 0 || (f & 32 /* Enum */) !== 0 || (f & 67108864 /* NonPrimitive */) !== 0 || (f & 8 /* Number */) !== 0 || (f & 4 /* String */) !== 0;\n}\nfunction isPrimitiveType(type) {\n  const f = type.getFlags();\n  return (f & 16 /* Boolean */) !== 0 || (f & 512 /* BooleanLiteral */) !== 0 || (f & 8 /* Number */) !== 0 || (f & 256 /* NumberLiteral */) !== 0;\n}\nfunction isTypeSymbol(symbol) {\n  return !!symbol && !!symbol.flags && ((symbol.flags & 32 /* Class */) !== 0 || (symbol.flags & 64 /* Interface */) !== 0);\n}\nfunction isGenericArrayType(tsType) {\n  var _a2, _b, _c;\n  return isTypeReference2(tsType) && ((_a2 = tsType.typeArguments) == null ? void 0 : _a2.length) === 1 && ((_b = tsType.target.typeParameters) == null ? void 0 : _b.length) === 1 && ((_c = tsType.getSymbol()) == null ? void 0 : _c.getName()) === \"Array\";\n}\nfunction isDerivedFrom(tsType, checkType) {\n  if (isTypeReference2(tsType) && tsType.target !== tsType)\n    tsType = tsType.target;\n  const tsTypeNode = typeChecker.typeToTypeNode(tsType, void 0, 0 /* None */);\n  if (checkType === CheckType.Array && (isGenericArrayType(tsType) || isTypedArray(tsTypeNode)))\n    return true;\n  if (checkType !== CheckType.Array && isType(tsTypeNode, checkType.toString()))\n    return true;\n  if (!tsType.symbol || !tsType.symbol.declarations)\n    return false;\n  for (const tsTypeDecl of tsType.symbol.declarations) {\n    if (!isClassDeclaration(tsTypeDecl) && !isInterfaceDeclaration(tsTypeDecl) || !tsTypeDecl.heritageClauses)\n      continue;\n    for (const heritageClause of tsTypeDecl.heritageClauses) {\n      if (processParentTypesCheck(heritageClause.types, checkType))\n        return true;\n    }\n  }\n  return false;\n}\nfunction isTypeReference2(tsType) {\n  return (tsType.getFlags() & 524288 /* Object */) !== 0 && (tsType.objectFlags & 4 /* Reference */) !== 0;\n}\nfunction isNullType(tsTypeNode) {\n  return isLiteralTypeNode(tsTypeNode) && tsTypeNode.literal.kind === 105 /* NullKeyword */;\n}\nfunction isThisOrSuperExpr(tsExpr) {\n  return tsExpr.kind === 109 /* ThisKeyword */ || tsExpr.kind === 107 /* SuperKeyword */;\n}\nfunction isPrototypeSymbol(symbol) {\n  return !!symbol && !!symbol.flags && (symbol.flags & 4194304 /* Prototype */) !== 0;\n}\nfunction isFunctionSymbol2(symbol) {\n  return !!symbol && !!symbol.flags && (symbol.flags & 16 /* Function */) !== 0;\n}\nfunction isInterfaceType(tsType) {\n  return !!tsType && !!tsType.symbol && !!tsType.symbol.flags && (tsType.symbol.flags & 64 /* Interface */) !== 0;\n}\nfunction isAnyType(tsType) {\n  return (tsType.getFlags() & 1 /* Any */) !== 0;\n}\nfunction isUnknownType(tsType) {\n  return (tsType.getFlags() & 2 /* Unknown */) !== 0;\n}\nfunction isUnsupportedType(tsType) {\n  return !!tsType.flags && ((tsType.flags & 1 /* Any */) !== 0 || (tsType.flags & 2 /* Unknown */) !== 0 || (tsType.flags & 2097152 /* Intersection */) !== 0);\n}\nfunction isUnsupportedUnionType(tsType) {\n  if (tsType.isUnion()) {\n    return !isNullableUnionType(tsType) && !isBooleanUnionType(tsType);\n  }\n  return false;\n}\nfunction isNullableUnionType(tsUnionType) {\n  const tsTypes = tsUnionType.types;\n  return tsTypes.length === 2 && ((tsTypes[0].flags & 65536 /* Null */) !== 0 || (tsTypes[1].flags & 65536 /* Null */) !== 0);\n}\nfunction isBooleanUnionType(tsUnionType) {\n  const tsCompTypes = tsUnionType.types;\n  return tsUnionType.flags === (16 /* Boolean */ | 1048576 /* Union */) && tsCompTypes.length === 2 && tsCompTypes[0].flags === 512 /* BooleanLiteral */ && tsCompTypes[1].flags === 512 /* BooleanLiteral */;\n}\nfunction isFunctionOrMethod(tsSymbol) {\n  return !!tsSymbol && ((tsSymbol.flags & 16 /* Function */) !== 0 || (tsSymbol.flags & 8192 /* Method */) !== 0);\n}\nfunction isMethodAssignment(tsSymbol) {\n  return !!tsSymbol && ((tsSymbol.flags & 8192 /* Method */) !== 0 && (tsSymbol.flags & 67108864 /* Assignment */) !== 0);\n}\nfunction getDeclaration2(tsSymbol) {\n  if (tsSymbol && tsSymbol.declarations && tsSymbol.declarations.length > 0) {\n    return tsSymbol.declarations[0];\n  }\n  return void 0;\n}\nfunction isVarDeclaration(tsDecl) {\n  return isVariableDeclaration(tsDecl) && isVariableDeclarationList(tsDecl.parent);\n}\nfunction isValidEnumMemberInit(tsExpr) {\n  if (isNumberConstantValue(tsExpr.parent)) {\n    return true;\n  }\n  if (isStringConstantValue(tsExpr.parent)) {\n    return true;\n  }\n  return isCompileTimeExpression(tsExpr);\n}\nfunction isCompileTimeExpression(tsExpr) {\n  if (isParenthesizedExpression(tsExpr) || isAsExpression(tsExpr) && tsExpr.type.kind === 149 /* NumberKeyword */) {\n    return isCompileTimeExpression(tsExpr.expression);\n  }\n  switch (tsExpr.kind) {\n    case 225 /* PrefixUnaryExpression */:\n      return isPrefixUnaryExprValidEnumMemberInit(tsExpr);\n    case 217 /* ParenthesizedExpression */:\n    case 227 /* BinaryExpression */:\n      return isBinaryExprValidEnumMemberInit(tsExpr);\n    case 228 /* ConditionalExpression */:\n      return isConditionalExprValidEnumMemberInit(tsExpr);\n    case 79 /* Identifier */:\n      return isIdentifierValidEnumMemberInit(tsExpr);\n    case 8 /* NumericLiteral */:\n      return true;\n    case 10 /* StringLiteral */:\n      return true;\n    case 211 /* PropertyAccessExpression */: {\n      const propertyAccess = tsExpr;\n      if (isNumberConstantValue(propertyAccess)) {\n        return true;\n      }\n      const leftHandSymbol = typeChecker.getSymbolAtLocation(propertyAccess.expression);\n      if (!leftHandSymbol) {\n        return false;\n      }\n      const decls = leftHandSymbol.getDeclarations();\n      if (!decls || decls.length !== 1) {\n        return false;\n      }\n      return isEnumDeclaration(decls[0]);\n    }\n    default:\n      return false;\n  }\n}\nfunction isPrefixUnaryExprValidEnumMemberInit(tsExpr) {\n  return isUnaryOpAllowedForEnumMemberInit(tsExpr.operator) && isCompileTimeExpression(tsExpr.operand);\n}\nfunction isBinaryExprValidEnumMemberInit(tsExpr) {\n  return isBinaryOpAllowedForEnumMemberInit(tsExpr.operatorToken) && isCompileTimeExpression(tsExpr.left) && isCompileTimeExpression(tsExpr.right);\n}\nfunction isConditionalExprValidEnumMemberInit(tsExpr) {\n  return isCompileTimeExpression(tsExpr.whenTrue) && isCompileTimeExpression(tsExpr.whenFalse);\n}\nfunction isIdentifierValidEnumMemberInit(tsExpr) {\n  const tsSymbol = typeChecker.getSymbolAtLocation(tsExpr);\n  const tsDecl = getDeclaration2(tsSymbol);\n  return !!tsDecl && (isVarDeclaration(tsDecl) && isConst(tsDecl.parent) || tsDecl.kind === 308 /* EnumMember */);\n}\nfunction isUnaryOpAllowedForEnumMemberInit(tsPrefixUnaryOp) {\n  return tsPrefixUnaryOp === 39 /* PlusToken */ || tsPrefixUnaryOp === 40 /* MinusToken */ || tsPrefixUnaryOp === 54 /* TildeToken */;\n}\nfunction isBinaryOpAllowedForEnumMemberInit(tsBinaryOp) {\n  return tsBinaryOp.kind === 41 /* AsteriskToken */ || tsBinaryOp.kind === 43 /* SlashToken */ || tsBinaryOp.kind === 44 /* PercentToken */ || tsBinaryOp.kind === 40 /* MinusToken */ || tsBinaryOp.kind === 39 /* PlusToken */ || tsBinaryOp.kind === 47 /* LessThanLessThanToken */ || tsBinaryOp.kind === 48 /* GreaterThanGreaterThanToken */ || tsBinaryOp.kind === 56 /* BarBarToken */ || tsBinaryOp.kind === 49 /* GreaterThanGreaterThanGreaterThanToken */ || tsBinaryOp.kind === 50 /* AmpersandToken */ || tsBinaryOp.kind === 52 /* CaretToken */ || tsBinaryOp.kind === 51 /* BarToken */ || tsBinaryOp.kind === 55 /* AmpersandAmpersandToken */;\n}\nfunction isConst(tsNode) {\n  return !!(getCombinedNodeFlags(tsNode) & 2 /* Const */);\n}\nfunction isNumberConstantValue(tsExpr) {\n  const tsConstValue = tsExpr.kind === 8 /* NumericLiteral */ ? Number(tsExpr.getText()) : typeChecker.getConstantValue(tsExpr);\n  return tsConstValue !== void 0 && typeof tsConstValue === \"number\";\n}\nfunction isIntegerConstantValue(tsExpr) {\n  const tsConstValue = tsExpr.kind === 8 /* NumericLiteral */ ? Number(tsExpr.getText()) : typeChecker.getConstantValue(tsExpr);\n  return tsConstValue !== void 0 && typeof tsConstValue === \"number\" && tsConstValue.toFixed(0) === tsConstValue.toString();\n}\nfunction isStringConstantValue(tsExpr) {\n  const tsConstValue = typeChecker.getConstantValue(tsExpr);\n  return tsConstValue !== void 0 && typeof tsConstValue === \"string\";\n}\nfunction relatedByInheritanceOrIdentical(typeA, typeB) {\n  if (isTypeReference2(typeA) && typeA.target !== typeA) {\n    typeA = typeA.target;\n  }\n  if (isTypeReference2(typeB) && typeB.target !== typeB) {\n    typeB = typeB.target;\n  }\n  if (typeA === typeB || isObjectType(typeB)) {\n    return true;\n  }\n  if (!typeA.symbol || !typeA.symbol.declarations) {\n    return false;\n  }\n  for (const typeADecl of typeA.symbol.declarations) {\n    if (!isClassDeclaration(typeADecl) && !isInterfaceDeclaration(typeADecl) || !typeADecl.heritageClauses) {\n      continue;\n    }\n    for (const heritageClause of typeADecl.heritageClauses) {\n      const processInterfaces = typeA.isClass() ? heritageClause.token !== 95 /* ExtendsKeyword */ : true;\n      if (processParentTypes(heritageClause.types, typeB, processInterfaces))\n        return true;\n    }\n  }\n  return false;\n}\nfunction needToDeduceStructuralIdentity(typeFrom, typeTo, allowPromotion = false) {\n  if (isLibraryType(typeTo)) {\n    return false;\n  }\n  let res = typeTo.isClassOrInterface() && typeFrom.isClassOrInterface() && !relatedByInheritanceOrIdentical(typeFrom, typeTo);\n  if (allowPromotion) {\n    res && (res = !relatedByInheritanceOrIdentical(typeTo, typeFrom));\n  }\n  return res;\n}\nfunction hasPredecessor(node, predicate) {\n  let parent2 = node.parent;\n  while (parent2 !== void 0) {\n    if (predicate(parent2)) {\n      return true;\n    }\n    parent2 = parent2.parent;\n  }\n  return false;\n}\nfunction processParentTypes(parentTypes, typeB, processInterfaces) {\n  for (const baseTypeExpr of parentTypes) {\n    let baseType = typeChecker.getTypeAtLocation(baseTypeExpr);\n    if (isTypeReference2(baseType) && baseType.target !== baseType)\n      baseType = baseType.target;\n    if (baseType && baseType.isClass() !== processInterfaces && relatedByInheritanceOrIdentical(baseType, typeB))\n      return true;\n  }\n  return false;\n}\nfunction processParentTypesCheck(parentTypes, checkType) {\n  for (const baseTypeExpr of parentTypes) {\n    let baseType = typeChecker.getTypeAtLocation(baseTypeExpr);\n    if (isTypeReference2(baseType) && baseType.target !== baseType)\n      baseType = baseType.target;\n    if (baseType && isDerivedFrom(baseType, checkType))\n      return true;\n  }\n  return false;\n}\nfunction isObjectType(tsType) {\n  if (!tsType) {\n    return false;\n  }\n  if (tsType.symbol && (tsType.isClassOrInterface() && tsType.symbol.name === \"Object\")) {\n    return true;\n  }\n  const node = typeChecker.typeToTypeNode(tsType, void 0, void 0);\n  return node !== void 0 && node.kind === 150 /* ObjectKeyword */;\n}\nfunction logTscDiagnostic(diagnostics, log) {\n  diagnostics.forEach((diagnostic) => {\n    let message = flattenDiagnosticMessageText(diagnostic.messageText, \"\\n\");\n    if (diagnostic.file && diagnostic.start) {\n      const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);\n      message = `${diagnostic.file.fileName} (${line + 1}, ${character + 1}): ${message}`;\n    }\n    log(message);\n  });\n}\nfunction encodeProblemInfo(problem) {\n  return `${problem.problem}%${problem.start}%${problem.end}`;\n}\nfunction decodeAutofixInfo(info) {\n  const infos = info.split(\"%\");\n  return { problemID: infos[0], start: Number.parseInt(infos[1]), end: Number.parseInt(infos[2]) };\n}\nfunction isCallToFunctionWithOmittedReturnType(tsExpr) {\n  if (isCallExpression(tsExpr)) {\n    const tsCallSignature = typeChecker.getResolvedSignature(tsExpr);\n    if (tsCallSignature) {\n      const tsSignDecl = tsCallSignature.getDeclaration();\n      if (!tsSignDecl || !tsSignDecl.type)\n        return true;\n    }\n  }\n  return false;\n}\nfunction hasReadonlyFields(type) {\n  if (type.symbol.members === void 0)\n    return false;\n  let result = false;\n  type.symbol.members.forEach((value) => {\n    if (value.declarations !== void 0 && value.declarations.length > 0 && isPropertyDeclaration(value.declarations[0])) {\n      const propmMods = getModifiers(value.declarations[0]);\n      if (hasModifier(propmMods, 147 /* ReadonlyKeyword */)) {\n        result = true;\n        return;\n      }\n    }\n  });\n  return result;\n}\nfunction hasDefaultCtor(type) {\n  if (type.symbol.members === void 0)\n    return true;\n  let hasCtor = false;\n  let hasDefaultCtor3 = false;\n  type.symbol.members.forEach((value) => {\n    if ((value.flags & 16384 /* Constructor */) !== 0) {\n      hasCtor = true;\n      if (value.declarations !== void 0 && value.declarations.length > 0) {\n        const declCtor = value.declarations[0];\n        if (declCtor.parameters.length === 0) {\n          hasDefaultCtor3 = true;\n          return;\n        }\n      }\n    }\n  });\n  return !hasCtor || hasDefaultCtor3;\n}\nfunction isAbstractClass(type) {\n  if (type.isClass() && type.symbol.declarations && type.symbol.declarations.length > 0) {\n    const declClass = type.symbol.declarations[0];\n    const classMods = getModifiers(declClass);\n    if (hasModifier(classMods, 127 /* AbstractKeyword */)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction validateObjectLiteralType(type) {\n  if (!type)\n    return false;\n  type = getTargetType(type);\n  return type !== void 0 && type.isClassOrInterface() && hasDefaultCtor(type) && !hasReadonlyFields(type) && !isAbstractClass(type);\n}\nfunction isStructDeclarationKind(kind) {\n  return kind === 265 /* StructDeclaration */;\n}\nfunction isStructDeclaration2(node) {\n  return isStructDeclarationKind(node.kind);\n}\nfunction isStructObjectInitializer(objectLiteral) {\n  if (isCallLikeExpression(objectLiteral.parent)) {\n    const signature = typeChecker.getResolvedSignature(objectLiteral.parent);\n    const signDecl = signature == null ? void 0 : signature.declaration;\n    return !!signDecl && isConstructorDeclaration(signDecl) && isStructDeclaration2(signDecl.parent);\n  }\n  return false;\n}\nfunction hasMethods(type) {\n  const properties = typeChecker.getPropertiesOfType(type);\n  if (properties == null ? void 0 : properties.length) {\n    for (const prop of properties) {\n      if (prop.getFlags() & 8192 /* Method */)\n        return true;\n    }\n  }\n  ;\n  return false;\n}\nfunction findProperty(type, name) {\n  const properties = typeChecker.getPropertiesOfType(type);\n  if (properties.length) {\n    for (const prop of properties) {\n      if (prop.name === name)\n        return prop;\n    }\n  }\n  return void 0;\n}\nfunction getNonNullableType(t) {\n  if (t.isUnion()) {\n    return t.getNonNullableType();\n  }\n  return t;\n}\nfunction isExpressionAssignableToType(lhsType, rhsExpr) {\n  if (lhsType === void 0) {\n    return false;\n  }\n  let nonNullableLhs = getNonNullableType(lhsType);\n  if (isAnyType(nonNullableLhs) || isLibraryType(nonNullableLhs)) {\n    return true;\n  }\n  if (isDynamicObjectAssignedToStdType(nonNullableLhs, rhsExpr)) {\n    return true;\n  }\n  if (isStdRecordType(nonNullableLhs) && isObjectLiteralExpression(rhsExpr)) {\n    return validateRecordObjectKeys(rhsExpr);\n  }\n  if (isStdPartialType(nonNullableLhs) || isStdRequiredType(nonNullableLhs) || isStdReadonlyType(nonNullableLhs)) {\n    if (nonNullableLhs.aliasTypeArguments && nonNullableLhs.aliasTypeArguments.length === 1) {\n      nonNullableLhs = nonNullableLhs.aliasTypeArguments[0];\n    } else {\n      return false;\n    }\n  }\n  let rhsType = getNonNullableType(typeChecker.getTypeAtLocation(rhsExpr));\n  if (rhsType.isUnion()) {\n    let res = true;\n    for (const compType of rhsType.types) {\n      res && (res = areTypesAssignable(lhsType, compType));\n    }\n    return res;\n  }\n  if (lhsType.isUnion()) {\n    for (const compType of lhsType.types) {\n      if (isExpressionAssignableToType(compType, rhsExpr)) {\n        return true;\n      }\n    }\n  }\n  if (isObjectLiteralExpression(rhsExpr)) {\n    return isObjectLiteralAssignable(nonNullableLhs, rhsExpr);\n  }\n  return areTypesAssignable(lhsType, rhsType);\n}\nfunction areTypesAssignable(lhsType, rhsType) {\n  if (rhsType.isUnion()) {\n    let res = true;\n    for (const compType of rhsType.types) {\n      res && (res = areTypesAssignable(lhsType, compType));\n    }\n    return res;\n  }\n  if (lhsType.isUnion()) {\n    for (const compType of lhsType.types) {\n      if (areTypesAssignable(compType, rhsType)) {\n        return true;\n      }\n    }\n  }\n  const isRhsUndefined = !!(rhsType.flags & 32768 /* Undefined */);\n  const isRhsNull = !!(rhsType.flags & 65536 /* Null */);\n  if (isRhsUndefined || isRhsNull) {\n    return true;\n  }\n  if (isAnyType(lhsType) || isLibraryType(lhsType)) {\n    return true;\n  }\n  lhsType = typeChecker.getBaseTypeOfLiteralType(lhsType);\n  rhsType = typeChecker.getBaseTypeOfLiteralType(rhsType);\n  if (isEnumAssignment(lhsType, rhsType)) {\n    return true;\n  }\n  if (areCompatibleFunctionals(lhsType, rhsType)) {\n    return true;\n  }\n  return lhsType === rhsType || relatedByInheritanceOrIdentical(rhsType, getTargetType(lhsType));\n}\nfunction isDynamicObjectAssignedToStdType(lhsType, rhsExpr) {\n  if (isStdLibraryType(lhsType) || isPrimitiveType(lhsType)) {\n    const rhsSym = isCallExpression(rhsExpr) ? getSymbolOfCallExpression(rhsExpr) : typeChecker.getSymbolAtLocation(rhsExpr);\n    if (rhsSym && isLibrarySymbol(rhsSym))\n      return true;\n  }\n  return false;\n}\nfunction isObjectLiteralAssignable(lhsType, rhsExpr) {\n  if (isObjectLiteralExpression(rhsExpr)) {\n    return validateObjectLiteralType(lhsType) && !hasMethods(lhsType) && validateFields(lhsType, rhsExpr);\n  }\n  return false;\n}\nfunction isEnumAssignment(lhsType, rhsType) {\n  const isNumberEnum = isPrimitiveEnumType(rhsType, 256 /* NumberLiteral */) || isPrimitiveEnumMemberType(rhsType, 256 /* NumberLiteral */);\n  const isStringEnum = isPrimitiveEnumType(rhsType, 128 /* StringLiteral */) || isPrimitiveEnumMemberType(rhsType, 128 /* StringLiteral */);\n  return isNumberType(lhsType) && isNumberEnum || isStringType(lhsType) && isStringEnum;\n}\nfunction areCompatibleFunctionals(lhsType, rhsType) {\n  return (isStdFunctionType(lhsType) || isFunctionalType(lhsType)) && (isStdFunctionType(rhsType) || isFunctionalType(rhsType));\n}\nfunction isFunctionalType(type) {\n  const callSigns = type.getCallSignatures();\n  return callSigns && callSigns.length > 0;\n}\nfunction isStdFunctionType(type) {\n  const sym = type.getSymbol();\n  return sym && sym.getName() === \"Function\" && isGlobalSymbol(sym);\n}\nfunction getTargetType(type) {\n  return type.getFlags() & 524288 /* Object */ && type.objectFlags & 4 /* Reference */ ? type.target : type;\n}\nfunction isLiteralType(type) {\n  return type.isLiteral() || (type.flags & 512 /* BooleanLiteral */) !== 0;\n}\nfunction validateFields(type, objectLiteral) {\n  var _a2;\n  for (const prop of objectLiteral.properties) {\n    if (isPropertyAssignment(prop)) {\n      const propAssignment = prop;\n      const propName = propAssignment.name.getText();\n      const propSym = findProperty(type, propName);\n      if (!propSym || !((_a2 = propSym.declarations) == null ? void 0 : _a2.length))\n        return false;\n      const propType = typeChecker.getTypeOfSymbolAtLocation(propSym, propSym.declarations[0]);\n      if (!isExpressionAssignableToType(propType, propAssignment.initializer)) {\n        return false;\n      }\n    }\n  }\n  ;\n  return true;\n}\nfunction isSupportedTypeNodeKind(kind) {\n  return kind !== 132 /* AnyKeyword */ && kind !== 159 /* UnknownKeyword */ && kind !== 154 /* SymbolKeyword */ && kind !== 199 /* IndexedAccessType */ && kind !== 194 /* ConditionalType */ && kind !== 200 /* MappedType */ && kind !== 195 /* InferType */;\n}\nfunction isSupportedType(typeNode) {\n  if (isParenthesizedTypeNode(typeNode))\n    return isSupportedType(typeNode.type);\n  if (isArrayTypeNode(typeNode))\n    return isSupportedType(typeNode.elementType);\n  if (isTypeReferenceNode(typeNode) && typeNode.typeArguments) {\n    for (const typeArg of typeNode.typeArguments) {\n      if (!isSupportedType(typeArg)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  if (isUnionTypeNode(typeNode)) {\n    for (const unionTypeElem of typeNode.types) {\n      if (!isSupportedType(unionTypeElem)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  if (isTupleTypeNode(typeNode)) {\n    for (const elem of typeNode.elements) {\n      if (isTypeNode(elem) && !isSupportedType(elem))\n        return false;\n      if (isNamedTupleMember(elem) && !isSupportedType(elem.type))\n        return false;\n    }\n    return true;\n  }\n  return !isTypeLiteralNode(typeNode) && !isTypeQueryNode(typeNode) && !isIntersectionTypeNode(typeNode) && isSupportedTypeNodeKind(typeNode.kind);\n}\nfunction isStruct2(symbol) {\n  if (!symbol.declarations) {\n    return false;\n  }\n  for (const decl of symbol.declarations) {\n    if (isStructDeclaration2(decl)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction validateRecordObjectKeys(objectLiteral) {\n  for (const prop of objectLiteral.properties) {\n    if (!prop.name || !isStringLiteral(prop.name) && !isNumericLiteral(prop.name)) {\n      return false;\n    }\n  }\n  return true;\n}\nvar CheckType = /* @__PURE__ */ ((CheckType2) => {\n  CheckType2[CheckType2[\"Array\"] = 0] = \"Array\";\n  CheckType2[\"String\"] = \"String\";\n  CheckType2[\"Set\"] = \"Set\";\n  CheckType2[\"Map\"] = \"Map\";\n  CheckType2[\"Error\"] = \"Error\";\n  return CheckType2;\n})(CheckType || {});\n;\nvar ES_OBJECT = \"ESObject\";\nvar LIMITED_STD_GLOBAL_FUNC = [\n  \"eval\"\n];\nvar LIMITED_STD_OBJECT_API = [\n  \"__proto__\",\n  \"__defineGetter__\",\n  \"__defineSetter__\",\n  \"__lookupGetter__\",\n  \"__lookupSetter__\",\n  \"assign\",\n  \"create\",\n  \"defineProperties\",\n  \"defineProperty\",\n  \"freeze\",\n  \"fromEntries\",\n  \"getOwnPropertyDescriptor\",\n  \"getOwnPropertyDescriptors\",\n  \"getOwnPropertySymbols\",\n  \"getPrototypeOf\",\n  \"hasOwnProperty\",\n  \"is\",\n  \"isExtensible\",\n  \"isFrozen\",\n  \"isPrototypeOf\",\n  \"isSealed\",\n  \"preventExtensions\",\n  \"propertyIsEnumerable\",\n  \"seal\",\n  \"setPrototypeOf\"\n];\nvar LIMITED_STD_REFLECT_API = [\n  \"apply\",\n  \"construct\",\n  \"defineProperty\",\n  \"deleteProperty\",\n  \"getOwnPropertyDescriptor\",\n  \"getPrototypeOf\",\n  \"isExtensible\",\n  \"preventExtensions\",\n  \"setPrototypeOf\"\n];\nvar LIMITED_STD_PROXYHANDLER_API = [\n  \"apply\",\n  \"construct\",\n  \"defineProperty\",\n  \"deleteProperty\",\n  \"get\",\n  \"getOwnPropertyDescriptor\",\n  \"getPrototypeOf\",\n  \"has\",\n  \"isExtensible\",\n  \"ownKeys\",\n  \"preventExtensions\",\n  \"set\",\n  \"setPrototypeOf\"\n];\nvar ARKUI_DECORATORS = [\n  \"AnimatableExtend\",\n  \"Builder\",\n  \"BuilderParam\",\n  \"Component\",\n  \"Concurrent\",\n  \"Consume\",\n  \"CustomDialog\",\n  \"Entry\",\n  \"Extend\",\n  \"Link\",\n  \"LocalStorageLink\",\n  \"LocalStorageProp\",\n  \"ObjectLink\",\n  \"Observed\",\n  \"Preview\",\n  \"Prop\",\n  \"Provide\",\n  \"Reusable\",\n  \"State\",\n  \"StorageLink\",\n  \"StorageProp\",\n  \"Styles\",\n  \"Watch\",\n  \"Require\",\n  \"Track\"\n];\nvar FUNCTION_HAS_NO_RETURN_ERROR_CODE = 2366;\nvar NON_RETURN_FUNCTION_DECORATORS = [\"AnimatableExtend\", \"Builder\", \"Extend\", \"Styles\"];\nvar STANDARD_LIBRARIES = [\n  \"lib.dom.d.ts\",\n  \"lib.dom.iterable.d.ts\",\n  \"lib.webworker.d.ts\",\n  \"lib.webworker.importscripd.ts\",\n  \"lib.webworker.iterable.d.ts\",\n  \"lib.scripthost.d.ts\",\n  \"lib.decorators.d.ts\",\n  \"lib.decorators.legacy.d.ts\",\n  \"lib.es5.d.ts\",\n  \"lib.es2015.core.d.ts\",\n  \"lib.es2015.collection.d.ts\",\n  \"lib.es2015.generator.d.ts\",\n  \"lib.es2015.iterable.d.ts\",\n  \"lib.es2015.promise.d.ts\",\n  \"lib.es2015.proxy.d.ts\",\n  \"lib.es2015.reflect.d.ts\",\n  \"lib.es2015.symbol.d.ts\",\n  \"lib.es2015.symbol.wellknown.d.ts\",\n  \"lib.es2016.array.include.d.ts\",\n  \"lib.es2017.object.d.ts\",\n  \"lib.es2017.sharedmemory.d.ts\",\n  \"lib.es2017.string.d.ts\",\n  \"lib.es2017.intl.d.ts\",\n  \"lib.es2017.typedarrays.d.ts\",\n  \"lib.es2018.asyncgenerator.d.ts\",\n  \"lib.es2018.asynciterable.d.ts\",\n  \"lib.es2018.intl.d.ts\",\n  \"lib.es2018.promise.d.ts\",\n  \"lib.es2018.regexp.d.ts\",\n  \"lib.es2019.array.d.ts\",\n  \"lib.es2019.object.d.ts\",\n  \"lib.es2019.string.d.ts\",\n  \"lib.es2019.symbol.d.ts\",\n  \"lib.es2019.intl.d.ts\",\n  \"lib.es2020.bigint.d.ts\",\n  \"lib.es2020.date.d.ts\",\n  \"lib.es2020.promise.d.ts\",\n  \"lib.es2020.sharedmemory.d.ts\",\n  \"lib.es2020.string.d.ts\",\n  \"lib.es2020.symbol.wellknown.d.ts\",\n  \"lib.es2020.intl.d.ts\",\n  \"lib.es2020.number.d.ts\",\n  \"lib.es2021.promise.d.ts\",\n  \"lib.es2021.string.d.ts\",\n  \"lib.es2021.weakref.d.ts\",\n  \"lib.es2021.intl.d.ts\",\n  \"lib.es2022.array.d.ts\",\n  \"lib.es2022.error.d.ts\",\n  \"lib.es2022.intl.d.ts\",\n  \"lib.es2022.object.d.ts\",\n  \"lib.es2022.sharedmemory.d.ts\",\n  \"lib.es2022.string.d.ts\",\n  \"lib.es2022.regexp.d.ts\",\n  \"lib.es2023.array.d.ts\"\n];\nvar TYPED_ARRAYS = [\n  \"Int8Array\",\n  \"Uint8Array\",\n  \"Uint8ClampedArray\",\n  \"Int16Array\",\n  \"Uint16Array\",\n  \"Int32Array\",\n  \"Uint32Array\",\n  \"Float32Array\",\n  \"Float64Array\",\n  \"BigInt64Array\",\n  \"BigUint64Array\"\n];\nfunction getParentSymbolName(symbol) {\n  const name = typeChecker.getFullyQualifiedName(symbol);\n  const dotPosition = name.lastIndexOf(\".\");\n  return dotPosition === -1 ? void 0 : name.substring(0, dotPosition);\n}\nfunction isGlobalSymbol(symbol) {\n  const parentName = getParentSymbolName(symbol);\n  return !parentName || parentName === \"global\";\n}\nfunction isSymbolAPI(symbol) {\n  const parentName = getParentSymbolName(symbol);\n  let name = parentName ? parentName : symbol.escapedName;\n  return name === \"Symbol\" || name === \"SymbolConstructor\";\n}\nfunction isStdSymbol(symbol) {\n  const name = TypeScriptLinter.tsTypeChecker.getFullyQualifiedName(symbol);\n  return name === \"Symbol\" && isGlobalSymbol(symbol);\n}\nfunction isSymbolIterator(symbol) {\n  const name = symbol.name;\n  const parName = getParentSymbolName(symbol);\n  return (parName === \"Symbol\" || parName === \"SymbolConstructor\") && name === \"iterator\";\n}\nfunction isDefaultImport2(importSpec) {\n  var _a2;\n  return ((_a2 = importSpec == null ? void 0 : importSpec.propertyName) == null ? void 0 : _a2.text) === \"default\";\n}\nfunction hasAccessModifier(decl) {\n  const modifiers = getModifiers(decl);\n  return !!modifiers && (hasModifier(modifiers, 124 /* PublicKeyword */) || hasModifier(modifiers, 123 /* ProtectedKeyword */) || hasModifier(modifiers, 122 /* PrivateKeyword */));\n}\nfunction getModifier(modifiers, modifierKind) {\n  if (!modifiers)\n    return void 0;\n  return modifiers.find((x) => x.kind === modifierKind);\n}\nfunction getAccessModifier(modifiers) {\n  var _a2, _b;\n  return (_b = (_a2 = getModifier(modifiers, 124 /* PublicKeyword */)) != null ? _a2 : getModifier(modifiers, 123 /* ProtectedKeyword */)) != null ? _b : getModifier(modifiers, 122 /* PrivateKeyword */);\n}\nfunction isStdRecordType(type) {\n  if (type.aliasSymbol) {\n    const target = type.target;\n    if (target) {\n      const sym = target.aliasSymbol;\n      return !!sym && sym.getName() === \"Record\" && isGlobalSymbol(sym);\n    }\n  }\n  return false;\n}\nfunction isStdPartialType(type) {\n  const sym = type.aliasSymbol;\n  return !!sym && sym.getName() === \"Partial\" && isGlobalSymbol(sym);\n}\nfunction isStdRequiredType(type) {\n  const sym = type.aliasSymbol;\n  return !!sym && sym.getName() === \"Required\" && isGlobalSymbol(sym);\n}\nfunction isStdReadonlyType(type) {\n  const sym = type.aliasSymbol;\n  return !!sym && sym.getName() === \"Readonly\" && isGlobalSymbol(sym);\n}\nfunction isLibraryType(type) {\n  var _a2;\n  const nonNullableType = type.getNonNullableType();\n  if (nonNullableType.isUnion()) {\n    for (const componentType of nonNullableType.types) {\n      if (!isLibraryType(componentType)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return isLibrarySymbol((_a2 = nonNullableType.aliasSymbol) != null ? _a2 : nonNullableType.getSymbol());\n}\nfunction hasLibraryType(node) {\n  return isLibraryType(typeChecker.getTypeAtLocation(node));\n}\nfunction isLibrarySymbol(sym) {\n  if (sym && sym.declarations && sym.declarations.length > 0) {\n    const srcFile = sym.declarations[0].getSourceFile();\n    if (!srcFile) {\n      return false;\n    }\n    const fileName = srcFile.fileName;\n    const ext = getAnyExtensionFromPath(fileName);\n    const isThirdPartyCode2 = ARKTS_IGNORE_DIRS.some((ignore) => pathContainsDirectory(normalizePath(fileName), ignore)) || ARKTS_IGNORE_FILES.some((ignore) => getBaseFileName(fileName) === ignore);\n    const isEts = ext === \".ets\";\n    const isTs = ext === \".ts\" && !srcFile.isDeclarationFile;\n    const isStatic2 = (isEts || isTs && testMode) && !isThirdPartyCode2;\n    return !isStatic2 && !STANDARD_LIBRARIES.includes(getBaseFileName(srcFile.fileName).toLowerCase());\n  }\n  return false;\n}\nfunction pathContainsDirectory(targetPath, dir) {\n  for (const subdir of getPathComponents(targetPath)) {\n    if (subdir === dir) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction getScriptKind2(srcFile) {\n  const fileName = srcFile.fileName;\n  const ext = getAnyExtensionFromPath(fileName);\n  switch (ext.toLowerCase()) {\n    case \".js\" /* Js */:\n      return 1 /* JS */;\n    case \".jsx\" /* Jsx */:\n      return 2 /* JSX */;\n    case \".ts\" /* Ts */:\n      return 3 /* TS */;\n    case \".tsx\" /* Tsx */:\n      return 4 /* TSX */;\n    case \".json\" /* Json */:\n      return 6 /* JSON */;\n    default:\n      return 0 /* Unknown */;\n  }\n}\nfunction isStdLibraryType(type) {\n  var _a2;\n  return isStdLibrarySymbol((_a2 = type.aliasSymbol) != null ? _a2 : type.getSymbol());\n}\nfunction isStdLibrarySymbol(sym) {\n  if (sym && sym.declarations && sym.declarations.length > 0) {\n    const srcFile = sym.declarations[0].getSourceFile();\n    return srcFile && STANDARD_LIBRARIES.includes(getBaseFileName(srcFile.fileName).toLowerCase());\n  }\n  return false;\n}\nfunction isIntrinsicObjectType(type) {\n  return !!(type.flags & 67108864 /* NonPrimitive */);\n}\nfunction isDynamicType(type) {\n  if (type === void 0) {\n    return false;\n  }\n  type = type.getNonNullableType();\n  if (type.isUnion()) {\n    for (const compType of type.types) {\n      const isDynamic = isDynamicType(compType);\n      if (isDynamic || isDynamic === void 0) {\n        return isDynamic;\n      }\n    }\n    return false;\n  }\n  if (isLibraryType(type)) {\n    return true;\n  }\n  if (!isStdLibraryType(type) && !isIntrinsicObjectType(type) && !isAnyType(type)) {\n    return false;\n  }\n  return void 0;\n}\nfunction isDynamicLiteralInitializer(expr) {\n  if (!isObjectLiteralExpression(expr) && !isArrayLiteralExpression(expr)) {\n    return false;\n  }\n  let curNode = expr;\n  while (isObjectLiteralExpression(curNode) || isArrayLiteralExpression(curNode)) {\n    const exprType = typeChecker.getContextualType(curNode);\n    if (exprType !== void 0) {\n      const res = isDynamicType(exprType);\n      if (res !== void 0) {\n        return res;\n      }\n    }\n    curNode = curNode.parent;\n    if (isPropertyAssignment(curNode)) {\n      curNode = curNode.parent;\n    }\n  }\n  if (isCallExpression(curNode)) {\n    const callExpr = curNode;\n    const type = typeChecker.getTypeAtLocation(callExpr.expression);\n    if (isAnyType(type))\n      return true;\n    let sym = type.symbol;\n    if (isLibrarySymbol(sym)) {\n      return true;\n    }\n    if (isPropertyAccessExpression(callExpr.expression)) {\n      sym = typeChecker.getSymbolAtLocation(callExpr.expression.expression);\n      if (sym && sym.getFlags() & 2097152 /* Alias */) {\n        sym = typeChecker.getAliasedSymbol(sym);\n        if (isLibrarySymbol(sym)) {\n          return true;\n        }\n      }\n    }\n  }\n  if (isBinaryExpression(curNode)) {\n    const binExpr = curNode;\n    if (isPropertyAccessExpression(binExpr.left)) {\n      const propAccessExpr = binExpr.left;\n      const type = typeChecker.getTypeAtLocation(propAccessExpr.expression);\n      return isLibrarySymbol(type.symbol);\n    }\n  }\n  return false;\n}\nfunction isEsObjectType(typeNode) {\n  return isTypeReferenceNode(typeNode) && isIdentifier(typeNode.typeName) && typeNode.typeName.text === ES_OBJECT;\n}\nfunction isInsideBlock(node) {\n  let par = node.parent;\n  while (par) {\n    if (isBlock(par)) {\n      return true;\n    }\n    par = par.parent;\n  }\n  return false;\n}\nfunction isEsObjectPossiblyAllowed(typeRef) {\n  return isVariableDeclaration(typeRef.parent);\n}\nfunction isValueAssignableToESObject(node) {\n  if (isArrayLiteralExpression(node) || isObjectLiteralExpression(node)) {\n    return false;\n  }\n  const valueType = TypeScriptLinter.tsTypeChecker.getTypeAtLocation(node);\n  return isUnsupportedType(valueType) || isAnonymousType(valueType);\n}\nfunction getVariableDeclarationTypeNode(node) {\n  let sym = trueSymbolAtLocation(node);\n  if (sym === void 0) {\n    return void 0;\n  }\n  return getSymbolDeclarationTypeNode(sym);\n}\nfunction getSymbolDeclarationTypeNode(sym) {\n  const decl = getDeclaration2(sym);\n  if (!!decl && isVariableDeclaration(decl)) {\n    return decl.type;\n  }\n  return void 0;\n}\nfunction hasEsObjectType(node) {\n  const typeNode = getVariableDeclarationTypeNode(node);\n  return typeNode !== void 0 && isEsObjectType(typeNode);\n}\nfunction symbolHasEsObjectType(sym) {\n  const typeNode = getSymbolDeclarationTypeNode(sym);\n  return typeNode !== void 0 && isEsObjectType(typeNode);\n}\nfunction isEsObjectSymbol(sym) {\n  const decl = getDeclaration2(sym);\n  return !!decl && isTypeAliasDeclaration(decl) && decl.name.escapedText === ES_OBJECT && decl.type.kind === 132 /* AnyKeyword */;\n}\nfunction isAnonymousType(type) {\n  if (type.isUnionOrIntersection()) {\n    for (const compType of type.types) {\n      if (isAnonymousType(compType)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  return (type.flags & 524288 /* Object */) !== 0 && (type.objectFlags & 16 /* Anonymous */) !== 0;\n}\nfunction getSymbolOfCallExpression(callExpr) {\n  const signature = typeChecker.getResolvedSignature(callExpr);\n  const signDecl = signature == null ? void 0 : signature.getDeclaration();\n  if (signDecl && signDecl.name) {\n    return typeChecker.getSymbolAtLocation(signDecl.name);\n  }\n  return void 0;\n}\nfunction typeIsRecursive(topType, type = void 0) {\n  if (type === void 0) {\n    type = topType;\n  } else if (type === topType) {\n    return true;\n  } else if (type.aliasSymbol) {\n    return false;\n  }\n  if (type.isUnion()) {\n    for (const unionElem of type.types) {\n      if (typeIsRecursive(topType, unionElem)) {\n        return true;\n      }\n    }\n  }\n  if (type.flags & 524288 /* Object */ && type.objectFlags & 4 /* Reference */) {\n    const typeArgs = typeChecker.getTypeArguments(type);\n    if (typeArgs) {\n      for (const typeArg of typeArgs) {\n        if (typeIsRecursive(topType, typeArg)) {\n          return true;\n        }\n      }\n    }\n  }\n  return false;\n}\n\n// src/linter/ArkTSLinter_1_0/Problems.ts\nvar FaultID = /* @__PURE__ */ ((FaultID3) => {\n  FaultID3[FaultID3[\"AnyType\"] = 0] = \"AnyType\";\n  FaultID3[FaultID3[\"SymbolType\"] = 1] = \"SymbolType\";\n  FaultID3[FaultID3[\"ObjectLiteralNoContextType\"] = 2] = \"ObjectLiteralNoContextType\";\n  FaultID3[FaultID3[\"ArrayLiteralNoContextType\"] = 3] = \"ArrayLiteralNoContextType\";\n  FaultID3[FaultID3[\"ComputedPropertyName\"] = 4] = \"ComputedPropertyName\";\n  FaultID3[FaultID3[\"LiteralAsPropertyName\"] = 5] = \"LiteralAsPropertyName\";\n  FaultID3[FaultID3[\"TypeQuery\"] = 6] = \"TypeQuery\";\n  FaultID3[FaultID3[\"RegexLiteral\"] = 7] = \"RegexLiteral\";\n  FaultID3[FaultID3[\"IsOperator\"] = 8] = \"IsOperator\";\n  FaultID3[FaultID3[\"DestructuringParameter\"] = 9] = \"DestructuringParameter\";\n  FaultID3[FaultID3[\"YieldExpression\"] = 10] = \"YieldExpression\";\n  FaultID3[FaultID3[\"InterfaceMerging\"] = 11] = \"InterfaceMerging\";\n  FaultID3[FaultID3[\"EnumMerging\"] = 12] = \"EnumMerging\";\n  FaultID3[FaultID3[\"InterfaceExtendsClass\"] = 13] = \"InterfaceExtendsClass\";\n  FaultID3[FaultID3[\"IndexMember\"] = 14] = \"IndexMember\";\n  FaultID3[FaultID3[\"WithStatement\"] = 15] = \"WithStatement\";\n  FaultID3[FaultID3[\"ThrowStatement\"] = 16] = \"ThrowStatement\";\n  FaultID3[FaultID3[\"IndexedAccessType\"] = 17] = \"IndexedAccessType\";\n  FaultID3[FaultID3[\"UnknownType\"] = 18] = \"UnknownType\";\n  FaultID3[FaultID3[\"ForInStatement\"] = 19] = \"ForInStatement\";\n  FaultID3[FaultID3[\"InOperator\"] = 20] = \"InOperator\";\n  FaultID3[FaultID3[\"ImportFromPath\"] = 21] = \"ImportFromPath\";\n  FaultID3[FaultID3[\"FunctionExpression\"] = 22] = \"FunctionExpression\";\n  FaultID3[FaultID3[\"IntersectionType\"] = 23] = \"IntersectionType\";\n  FaultID3[FaultID3[\"ObjectTypeLiteral\"] = 24] = \"ObjectTypeLiteral\";\n  FaultID3[FaultID3[\"CommaOperator\"] = 25] = \"CommaOperator\";\n  FaultID3[FaultID3[\"LimitedReturnTypeInference\"] = 26] = \"LimitedReturnTypeInference\";\n  FaultID3[FaultID3[\"LambdaWithTypeParameters\"] = 27] = \"LambdaWithTypeParameters\";\n  FaultID3[FaultID3[\"ClassExpression\"] = 28] = \"ClassExpression\";\n  FaultID3[FaultID3[\"DestructuringAssignment\"] = 29] = \"DestructuringAssignment\";\n  FaultID3[FaultID3[\"DestructuringDeclaration\"] = 30] = \"DestructuringDeclaration\";\n  FaultID3[FaultID3[\"VarDeclaration\"] = 31] = \"VarDeclaration\";\n  FaultID3[FaultID3[\"CatchWithUnsupportedType\"] = 32] = \"CatchWithUnsupportedType\";\n  FaultID3[FaultID3[\"DeleteOperator\"] = 33] = \"DeleteOperator\";\n  FaultID3[FaultID3[\"DeclWithDuplicateName\"] = 34] = \"DeclWithDuplicateName\";\n  FaultID3[FaultID3[\"UnaryArithmNotNumber\"] = 35] = \"UnaryArithmNotNumber\";\n  FaultID3[FaultID3[\"ConstructorType\"] = 36] = \"ConstructorType\";\n  FaultID3[FaultID3[\"ConstructorIface\"] = 37] = \"ConstructorIface\";\n  FaultID3[FaultID3[\"ConstructorFuncs\"] = 38] = \"ConstructorFuncs\";\n  FaultID3[FaultID3[\"CallSignature\"] = 39] = \"CallSignature\";\n  FaultID3[FaultID3[\"TypeAssertion\"] = 40] = \"TypeAssertion\";\n  FaultID3[FaultID3[\"PrivateIdentifier\"] = 41] = \"PrivateIdentifier\";\n  FaultID3[FaultID3[\"LocalFunction\"] = 42] = \"LocalFunction\";\n  FaultID3[FaultID3[\"ConditionalType\"] = 43] = \"ConditionalType\";\n  FaultID3[FaultID3[\"MappedType\"] = 44] = \"MappedType\";\n  FaultID3[FaultID3[\"NamespaceAsObject\"] = 45] = \"NamespaceAsObject\";\n  FaultID3[FaultID3[\"ClassAsObject\"] = 46] = \"ClassAsObject\";\n  FaultID3[FaultID3[\"NonDeclarationInNamespace\"] = 47] = \"NonDeclarationInNamespace\";\n  FaultID3[FaultID3[\"GeneratorFunction\"] = 48] = \"GeneratorFunction\";\n  FaultID3[FaultID3[\"FunctionContainsThis\"] = 49] = \"FunctionContainsThis\";\n  FaultID3[FaultID3[\"PropertyAccessByIndex\"] = 50] = \"PropertyAccessByIndex\";\n  FaultID3[FaultID3[\"JsxElement\"] = 51] = \"JsxElement\";\n  FaultID3[FaultID3[\"EnumMemberNonConstInit\"] = 52] = \"EnumMemberNonConstInit\";\n  FaultID3[FaultID3[\"ImplementsClass\"] = 53] = \"ImplementsClass\";\n  FaultID3[FaultID3[\"NoUndefinedPropAccess\"] = 54] = \"NoUndefinedPropAccess\";\n  FaultID3[FaultID3[\"MultipleStaticBlocks\"] = 55] = \"MultipleStaticBlocks\";\n  FaultID3[FaultID3[\"ThisType\"] = 56] = \"ThisType\";\n  FaultID3[FaultID3[\"IntefaceExtendDifProps\"] = 57] = \"IntefaceExtendDifProps\";\n  FaultID3[FaultID3[\"StructuralIdentity\"] = 58] = \"StructuralIdentity\";\n  FaultID3[FaultID3[\"DefaultImport\"] = 59] = \"DefaultImport\";\n  FaultID3[FaultID3[\"ExportAssignment\"] = 60] = \"ExportAssignment\";\n  FaultID3[FaultID3[\"ImportAssignment\"] = 61] = \"ImportAssignment\";\n  FaultID3[FaultID3[\"GenericCallNoTypeArgs\"] = 62] = \"GenericCallNoTypeArgs\";\n  FaultID3[FaultID3[\"ParameterProperties\"] = 63] = \"ParameterProperties\";\n  FaultID3[FaultID3[\"InstanceofUnsupported\"] = 64] = \"InstanceofUnsupported\";\n  FaultID3[FaultID3[\"ShorthandAmbientModuleDecl\"] = 65] = \"ShorthandAmbientModuleDecl\";\n  FaultID3[FaultID3[\"WildcardsInModuleName\"] = 66] = \"WildcardsInModuleName\";\n  FaultID3[FaultID3[\"UMDModuleDefinition\"] = 67] = \"UMDModuleDefinition\";\n  FaultID3[FaultID3[\"NewTarget\"] = 68] = \"NewTarget\";\n  FaultID3[FaultID3[\"DefiniteAssignment\"] = 69] = \"DefiniteAssignment\";\n  FaultID3[FaultID3[\"Prototype\"] = 70] = \"Prototype\";\n  FaultID3[FaultID3[\"GlobalThis\"] = 71] = \"GlobalThis\";\n  FaultID3[FaultID3[\"UtilityType\"] = 72] = \"UtilityType\";\n  FaultID3[FaultID3[\"PropertyDeclOnFunction\"] = 73] = \"PropertyDeclOnFunction\";\n  FaultID3[FaultID3[\"FunctionApplyBindCall\"] = 74] = \"FunctionApplyBindCall\";\n  FaultID3[FaultID3[\"ConstAssertion\"] = 75] = \"ConstAssertion\";\n  FaultID3[FaultID3[\"ImportAssertion\"] = 76] = \"ImportAssertion\";\n  FaultID3[FaultID3[\"SpreadOperator\"] = 77] = \"SpreadOperator\";\n  FaultID3[FaultID3[\"LimitedStdLibApi\"] = 78] = \"LimitedStdLibApi\";\n  FaultID3[FaultID3[\"ErrorSuppression\"] = 79] = \"ErrorSuppression\";\n  FaultID3[FaultID3[\"StrictDiagnostic\"] = 80] = \"StrictDiagnostic\";\n  FaultID3[FaultID3[\"UnsupportedDecorators\"] = 81] = \"UnsupportedDecorators\";\n  FaultID3[FaultID3[\"ImportAfterStatement\"] = 82] = \"ImportAfterStatement\";\n  FaultID3[FaultID3[\"EsObjectType\"] = 83] = \"EsObjectType\";\n  FaultID3[FaultID3[\"LAST_ID\"] = 84] = \"LAST_ID\";\n  return FaultID3;\n})(FaultID || {});\nvar FaultAttributs = class {\n  constructor() {\n    this.cookBookRef = \"-1\";\n  }\n};\nvar faultsAttrs = [];\nfaultsAttrs[5 /* LiteralAsPropertyName */] = { migratable: true, cookBookRef: \"1\" };\nfaultsAttrs[4 /* ComputedPropertyName */] = { cookBookRef: \"1\" };\nfaultsAttrs[1 /* SymbolType */] = { cookBookRef: \"2\" };\nfaultsAttrs[41 /* PrivateIdentifier */] = { migratable: true, cookBookRef: \"3\" };\nfaultsAttrs[34 /* DeclWithDuplicateName */] = { migratable: true, cookBookRef: \"4\" };\nfaultsAttrs[31 /* VarDeclaration */] = { migratable: true, cookBookRef: \"5\" };\nfaultsAttrs[0 /* AnyType */] = { cookBookRef: \"8\" };\nfaultsAttrs[18 /* UnknownType */] = { cookBookRef: \"8\" };\nfaultsAttrs[39 /* CallSignature */] = { cookBookRef: \"14\" };\nfaultsAttrs[36 /* ConstructorType */] = { cookBookRef: \"15\" };\nfaultsAttrs[55 /* MultipleStaticBlocks */] = { cookBookRef: \"16\" };\nfaultsAttrs[14 /* IndexMember */] = { cookBookRef: \"17\" };\nfaultsAttrs[23 /* IntersectionType */] = { cookBookRef: \"19\" };\nfaultsAttrs[56 /* ThisType */] = { cookBookRef: \"21\" };\nfaultsAttrs[43 /* ConditionalType */] = { cookBookRef: \"22\" };\nfaultsAttrs[63 /* ParameterProperties */] = { migratable: true, cookBookRef: \"25\" };\nfaultsAttrs[37 /* ConstructorIface */] = { cookBookRef: \"27\" };\nfaultsAttrs[17 /* IndexedAccessType */] = { cookBookRef: \"28\" };\nfaultsAttrs[50 /* PropertyAccessByIndex */] = { migratable: true, cookBookRef: \"29\" };\nfaultsAttrs[58 /* StructuralIdentity */] = { cookBookRef: \"30\" };\nfaultsAttrs[62 /* GenericCallNoTypeArgs */] = { cookBookRef: \"34\" };\nfaultsAttrs[7 /* RegexLiteral */] = { cookBookRef: \"37\" };\nfaultsAttrs[2 /* ObjectLiteralNoContextType */] = { cookBookRef: \"38\" };\nfaultsAttrs[24 /* ObjectTypeLiteral */] = { cookBookRef: \"40\" };\nfaultsAttrs[3 /* ArrayLiteralNoContextType */] = { cookBookRef: \"43\" };\nfaultsAttrs[22 /* FunctionExpression */] = { migratable: true, cookBookRef: \"46\" };\nfaultsAttrs[27 /* LambdaWithTypeParameters */] = { migratable: true, cookBookRef: \"49\" };\nfaultsAttrs[28 /* ClassExpression */] = { migratable: true, cookBookRef: \"50\" };\nfaultsAttrs[53 /* ImplementsClass */] = { cookBookRef: \"51\" };\nfaultsAttrs[54 /* NoUndefinedPropAccess */] = { cookBookRef: \"52\" };\nfaultsAttrs[40 /* TypeAssertion */] = { migratable: true, cookBookRef: \"53\" };\nfaultsAttrs[51 /* JsxElement */] = { cookBookRef: \"54\" };\nfaultsAttrs[35 /* UnaryArithmNotNumber */] = { cookBookRef: \"55\" };\nfaultsAttrs[33 /* DeleteOperator */] = { cookBookRef: \"59\" };\nfaultsAttrs[6 /* TypeQuery */] = { cookBookRef: \"60\" };\nfaultsAttrs[64 /* InstanceofUnsupported */] = { cookBookRef: \"65\" };\nfaultsAttrs[20 /* InOperator */] = { cookBookRef: \"66\" };\nfaultsAttrs[29 /* DestructuringAssignment */] = { migratable: true, cookBookRef: \"69\" };\nfaultsAttrs[25 /* CommaOperator */] = { cookBookRef: \"71\" };\nfaultsAttrs[30 /* DestructuringDeclaration */] = { migratable: true, cookBookRef: \"74\" };\nfaultsAttrs[32 /* CatchWithUnsupportedType */] = { migratable: true, cookBookRef: \"79\" };\nfaultsAttrs[19 /* ForInStatement */] = { cookBookRef: \"80\" };\nfaultsAttrs[44 /* MappedType */] = { cookBookRef: \"83\" };\nfaultsAttrs[15 /* WithStatement */] = { cookBookRef: \"84\" };\nfaultsAttrs[16 /* ThrowStatement */] = { migratable: true, cookBookRef: \"87\" };\nfaultsAttrs[26 /* LimitedReturnTypeInference */] = { migratable: true, cookBookRef: \"90\" };\nfaultsAttrs[9 /* DestructuringParameter */] = { cookBookRef: \"91\" };\nfaultsAttrs[42 /* LocalFunction */] = { migratable: true, cookBookRef: \"92\" };\nfaultsAttrs[49 /* FunctionContainsThis */] = { cookBookRef: \"93\" };\nfaultsAttrs[48 /* GeneratorFunction */] = { cookBookRef: \"94\" };\nfaultsAttrs[10 /* YieldExpression */] = { cookBookRef: \"94\" };\nfaultsAttrs[8 /* IsOperator */] = { cookBookRef: \"96\" };\nfaultsAttrs[77 /* SpreadOperator */] = { cookBookRef: \"99\" };\nfaultsAttrs[57 /* IntefaceExtendDifProps */] = { cookBookRef: \"102\" };\nfaultsAttrs[11 /* InterfaceMerging */] = { cookBookRef: \"103\" };\nfaultsAttrs[13 /* InterfaceExtendsClass */] = { cookBookRef: \"104\" };\nfaultsAttrs[38 /* ConstructorFuncs */] = { cookBookRef: \"106\" };\nfaultsAttrs[52 /* EnumMemberNonConstInit */] = { cookBookRef: \"111\" };\nfaultsAttrs[12 /* EnumMerging */] = { cookBookRef: \"113\" };\nfaultsAttrs[45 /* NamespaceAsObject */] = { cookBookRef: \"114\" };\nfaultsAttrs[47 /* NonDeclarationInNamespace */] = { cookBookRef: \"116\" };\nfaultsAttrs[21 /* ImportFromPath */] = { cookBookRef: \"119\" };\nfaultsAttrs[59 /* DefaultImport */] = { migratable: true, cookBookRef: \"120\" };\nfaultsAttrs[61 /* ImportAssignment */] = { cookBookRef: \"121\" };\nfaultsAttrs[60 /* ExportAssignment */] = { cookBookRef: \"126\" };\nfaultsAttrs[65 /* ShorthandAmbientModuleDecl */] = { cookBookRef: \"128\" };\nfaultsAttrs[66 /* WildcardsInModuleName */] = { cookBookRef: \"129\" };\nfaultsAttrs[67 /* UMDModuleDefinition */] = { cookBookRef: \"130\" };\nfaultsAttrs[68 /* NewTarget */] = { cookBookRef: \"132\" };\nfaultsAttrs[69 /* DefiniteAssignment */] = { warning: true, cookBookRef: \"134\" };\nfaultsAttrs[70 /* Prototype */] = { cookBookRef: \"136\" };\nfaultsAttrs[71 /* GlobalThis */] = { cookBookRef: \"137\" };\nfaultsAttrs[72 /* UtilityType */] = { cookBookRef: \"138\" };\nfaultsAttrs[73 /* PropertyDeclOnFunction */] = { cookBookRef: \"139\" };\nfaultsAttrs[74 /* FunctionApplyBindCall */] = { cookBookRef: \"140\" };\nfaultsAttrs[75 /* ConstAssertion */] = { cookBookRef: \"142\" };\nfaultsAttrs[76 /* ImportAssertion */] = { cookBookRef: \"143\" };\nfaultsAttrs[78 /* LimitedStdLibApi */] = { cookBookRef: \"144\" };\nfaultsAttrs[80 /* StrictDiagnostic */] = { cookBookRef: \"145\" };\nfaultsAttrs[79 /* ErrorSuppression */] = { cookBookRef: \"146\" };\nfaultsAttrs[81 /* UnsupportedDecorators */] = { warning: true, cookBookRef: \"148\" };\nfaultsAttrs[46 /* ClassAsObject */] = { cookBookRef: \"149\" };\nfaultsAttrs[82 /* ImportAfterStatement */] = { cookBookRef: \"150\" };\nfaultsAttrs[83 /* EsObjectType */] = { warning: true, cookBookRef: \"151\" };\n\n// src/linter/ArkTSLinter_1_0/Autofixer.ts\nvar AUTOFIX_ALL = { problemID: \"\", start: -1, end: -1 };\nvar UNSAFE_FIXES = [\n  5 /* LiteralAsPropertyName */,\n  50 /* PropertyAccessByIndex */\n];\nvar autofixInfo = [];\nfunction shouldAutofix(node, faultID) {\n  if (UNSAFE_FIXES.includes(faultID))\n    return false;\n  if (autofixInfo.length === 0)\n    return false;\n  if (autofixInfo.length === 1 && autofixInfo[0] === AUTOFIX_ALL)\n    return true;\n  return autofixInfo.findIndex(\n    (value) => value.start === node.getStart() && value.end === node.getEnd() && value.problemID === FaultID[faultID]\n  ) !== -1;\n}\nvar printer = createPrinter({ omitTrailingSemicolon: false, removeComments: false });\nfunction numericLiteral2IdentifierName(numeric) {\n  return \"__\" + numeric.getText();\n}\nfunction stringLiteral2IdentifierName(str) {\n  const text = str.getText();\n  return text.substring(1, text.length - 1);\n}\nfunction propertyName2IdentifierName(name) {\n  if (name.kind === 8 /* NumericLiteral */) {\n    return numericLiteral2IdentifierName(name);\n  }\n  if (name.kind === 10 /* StringLiteral */) {\n    return stringLiteral2IdentifierName(name);\n  }\n  return \"\";\n}\nfunction indexExpr2IdentifierName(index) {\n  if (index.kind === 8 /* NumericLiteral */) {\n    return numericLiteral2IdentifierName(index);\n  }\n  if (index.kind === 10 /* StringLiteral */) {\n    return stringLiteral2IdentifierName(index);\n  }\n  return \"\";\n}\nfunction fixLiteralAsPropertyName(node) {\n  if (isPropertyDeclaration(node) || isPropertyAssignment(node)) {\n    const propName = node.name;\n    const identName = propertyName2IdentifierName(propName);\n    if (identName) {\n      return [{ replacementText: identName, start: propName.getStart(), end: propName.getEnd() }];\n    }\n  }\n  return void 0;\n}\nfunction fixPropertyAccessByIndex(node) {\n  if (isElementAccessExpression(node)) {\n    const elemAccess = node;\n    const identifierName = indexExpr2IdentifierName(elemAccess.argumentExpression);\n    if (identifierName) {\n      return [{\n        replacementText: elemAccess.expression.getText() + \".\" + identifierName,\n        start: elemAccess.getStart(),\n        end: elemAccess.getEnd()\n      }];\n    }\n  }\n  return void 0;\n}\nfunction fixFunctionExpression(funcExpr, params = funcExpr.parameters, retType = funcExpr.type) {\n  const arrowFunc = factory.createArrowFunction(\n    void 0,\n    void 0,\n    params,\n    retType,\n    factory.createToken(38 /* EqualsGreaterThanToken */),\n    funcExpr.body\n  );\n  const text = printer.printNode(4 /* Unspecified */, arrowFunc, funcExpr.getSourceFile());\n  return { start: funcExpr.getStart(), end: funcExpr.getEnd(), replacementText: text };\n}\nfunction fixReturnType(funcLikeDecl, typeNode) {\n  const text = \": \" + printer.printNode(4 /* Unspecified */, typeNode, funcLikeDecl.getSourceFile());\n  const pos = getReturnTypePosition(funcLikeDecl);\n  return { start: pos, end: pos, replacementText: text };\n}\nfunction getReturnTypePosition(funcLikeDecl) {\n  if (funcLikeDecl.body) {\n    const postParametersPosition = isArrowFunction(funcLikeDecl) ? funcLikeDecl.equalsGreaterThanToken.getStart() : funcLikeDecl.body.getStart();\n    const children = funcLikeDecl.getChildren();\n    for (let i = children.length - 1; i >= 0; i--) {\n      const child = children[i];\n      if (child.kind === 21 /* CloseParenToken */ && child.getEnd() < postParametersPosition) {\n        return child.getEnd();\n      }\n    }\n  }\n  return -1;\n}\nfunction fixCtorParameterProperties(ctorDecl, paramTypes) {\n  const fieldInitStmts = [];\n  const newFieldPos = ctorDecl.getStart();\n  const autofixes = [{ start: newFieldPos, end: newFieldPos, replacementText: \"\" }];\n  for (let i = 0; i < ctorDecl.parameters.length; i++) {\n    const param = ctorDecl.parameters[i];\n    if (!isIdentifier(param.name)) {\n      continue;\n    }\n    if (hasAccessModifier(param)) {\n      const propIdent = factory.createIdentifier(param.name.text);\n      const newFieldNode = factory.createPropertyDeclaration(\n        param.modifiers,\n        propIdent,\n        void 0,\n        paramTypes[i],\n        void 0\n      );\n      const newFieldText = printer.printNode(4 /* Unspecified */, newFieldNode, ctorDecl.getSourceFile()) + \"\\n\";\n      autofixes[0].replacementText += newFieldText;\n      const newParamDecl = factory.createParameterDeclaration(\n        void 0,\n        void 0,\n        param.name,\n        param.questionToken,\n        param.type,\n        param.initializer\n      );\n      const newParamText = printer.printNode(4 /* Unspecified */, newParamDecl, ctorDecl.getSourceFile());\n      autofixes.push({ start: param.getStart(), end: param.getEnd(), replacementText: newParamText });\n      fieldInitStmts.push(factory.createExpressionStatement(factory.createAssignment(\n        factory.createPropertyAccessExpression(\n          factory.createThis(),\n          propIdent\n        ),\n        propIdent\n      )));\n    }\n  }\n  if (ctorDecl.body) {\n    const newBody = factory.createBlock(fieldInitStmts.concat(ctorDecl.body.statements), true);\n    const newBodyText = printer.printNode(4 /* Unspecified */, newBody, ctorDecl.getSourceFile());\n    autofixes.push({ start: ctorDecl.body.getStart(), end: ctorDecl.body.getEnd(), replacementText: newBodyText });\n  }\n  return autofixes;\n}\n\n// src/linter/ArkTSLinter_1_0/TypeScriptLinterConfig.ts\nvar _LinterConfig = class {\n  static initStatic() {\n    _LinterConfig.nodeDesc[0 /* AnyType */] = '\"any\" type';\n    _LinterConfig.nodeDesc[1 /* SymbolType */] = '\"symbol\" type';\n    _LinterConfig.nodeDesc[2 /* ObjectLiteralNoContextType */] = \"Object literals with no context Class or Interface type\";\n    _LinterConfig.nodeDesc[3 /* ArrayLiteralNoContextType */] = \"Array literals with no context Array type\";\n    _LinterConfig.nodeDesc[4 /* ComputedPropertyName */] = \"Computed properties\";\n    _LinterConfig.nodeDesc[5 /* LiteralAsPropertyName */] = \"String or integer literal as property name\";\n    _LinterConfig.nodeDesc[6 /* TypeQuery */] = '\"typeof\" operations';\n    _LinterConfig.nodeDesc[7 /* RegexLiteral */] = \"regex literals\";\n    _LinterConfig.nodeDesc[8 /* IsOperator */] = '\"is\" operations';\n    _LinterConfig.nodeDesc[9 /* DestructuringParameter */] = \"destructuring parameters\";\n    _LinterConfig.nodeDesc[10 /* YieldExpression */] = '\"yield\" operations';\n    _LinterConfig.nodeDesc[11 /* InterfaceMerging */] = \"merging interfaces\";\n    _LinterConfig.nodeDesc[12 /* EnumMerging */] = \"merging enums\";\n    _LinterConfig.nodeDesc[13 /* InterfaceExtendsClass */] = \"interfaces inherited from classes\";\n    _LinterConfig.nodeDesc[14 /* IndexMember */] = \"index members\";\n    _LinterConfig.nodeDesc[15 /* WithStatement */] = '\"with\" statements';\n    _LinterConfig.nodeDesc[16 /* ThrowStatement */] = '\"throw\" statements with expression of wrong type';\n    _LinterConfig.nodeDesc[17 /* IndexedAccessType */] = \"Indexed access type\";\n    _LinterConfig.nodeDesc[18 /* UnknownType */] = '\"unknown\" type';\n    _LinterConfig.nodeDesc[19 /* ForInStatement */] = '\"for-In\" statements';\n    _LinterConfig.nodeDesc[20 /* InOperator */] = '\"in\" operations';\n    _LinterConfig.nodeDesc[21 /* ImportFromPath */] = \"imports from path\";\n    _LinterConfig.nodeDesc[22 /* FunctionExpression */] = \"function expressions\";\n    _LinterConfig.nodeDesc[23 /* IntersectionType */] = \"intersection types and type literals\";\n    _LinterConfig.nodeDesc[24 /* ObjectTypeLiteral */] = \"Object type literals\";\n    _LinterConfig.nodeDesc[25 /* CommaOperator */] = \"comma operator\";\n    _LinterConfig.nodeDesc[26 /* LimitedReturnTypeInference */] = \"Functions with limited return type inference\";\n    _LinterConfig.nodeDesc[27 /* LambdaWithTypeParameters */] = \"Lambda function with type parameters\";\n    _LinterConfig.nodeDesc[28 /* ClassExpression */] = \"Class expressions\";\n    _LinterConfig.nodeDesc[29 /* DestructuringAssignment */] = \"Destructuring assignments\";\n    _LinterConfig.nodeDesc[30 /* DestructuringDeclaration */] = \"Destructuring variable declarations\";\n    _LinterConfig.nodeDesc[31 /* VarDeclaration */] = '\"var\" declarations';\n    _LinterConfig.nodeDesc[32 /* CatchWithUnsupportedType */] = '\"catch\" clause with unsupported exception type';\n    _LinterConfig.nodeDesc[33 /* DeleteOperator */] = '\"delete\" operations';\n    _LinterConfig.nodeDesc[34 /* DeclWithDuplicateName */] = \"Declarations with duplicate name\";\n    _LinterConfig.nodeDesc[35 /* UnaryArithmNotNumber */] = \"Unary arithmetics with not-numeric values\";\n    _LinterConfig.nodeDesc[36 /* ConstructorType */] = \"Constructor type\";\n    _LinterConfig.nodeDesc[38 /* ConstructorFuncs */] = \"Constructor function type is not supported\";\n    _LinterConfig.nodeDesc[37 /* ConstructorIface */] = \"Construct signatures are not supported in interfaces\";\n    _LinterConfig.nodeDesc[39 /* CallSignature */] = \"Call signatures\";\n    _LinterConfig.nodeDesc[40 /* TypeAssertion */] = \"Type assertion expressions\";\n    _LinterConfig.nodeDesc[41 /* PrivateIdentifier */] = 'Private identifiers (with \"#\" prefix)';\n    _LinterConfig.nodeDesc[42 /* LocalFunction */] = \"Local function declarations\";\n    _LinterConfig.nodeDesc[43 /* ConditionalType */] = \"Conditional type\";\n    _LinterConfig.nodeDesc[44 /* MappedType */] = \"Mapped type\";\n    _LinterConfig.nodeDesc[45 /* NamespaceAsObject */] = \"Namespaces used as objects\";\n    _LinterConfig.nodeDesc[46 /* ClassAsObject */] = \"Class used as object\";\n    _LinterConfig.nodeDesc[47 /* NonDeclarationInNamespace */] = \"Non-declaration statements in namespaces\";\n    _LinterConfig.nodeDesc[48 /* GeneratorFunction */] = \"Generator functions\";\n    _LinterConfig.nodeDesc[49 /* FunctionContainsThis */] = 'Functions containing \"this\"';\n    _LinterConfig.nodeDesc[50 /* PropertyAccessByIndex */] = \"property access by index\";\n    _LinterConfig.nodeDesc[51 /* JsxElement */] = \"JSX Elements\";\n    _LinterConfig.nodeDesc[52 /* EnumMemberNonConstInit */] = \"Enum members with non-constant initializer\";\n    _LinterConfig.nodeDesc[53 /* ImplementsClass */] = 'Class type mentioned in \"implements\" clause';\n    _LinterConfig.nodeDesc[54 /* NoUndefinedPropAccess */] = \"Access to undefined field\";\n    _LinterConfig.nodeDesc[55 /* MultipleStaticBlocks */] = \"Multiple static blocks\";\n    _LinterConfig.nodeDesc[56 /* ThisType */] = '\"this\" type';\n    _LinterConfig.nodeDesc[57 /* IntefaceExtendDifProps */] = \"Extends same properties with different types\";\n    _LinterConfig.nodeDesc[58 /* StructuralIdentity */] = \"Use of type structural identity\";\n    _LinterConfig.nodeDesc[59 /* DefaultImport */] = \"Default import declarations\";\n    _LinterConfig.nodeDesc[60 /* ExportAssignment */] = \"Export assignments (export = ..)\";\n    _LinterConfig.nodeDesc[61 /* ImportAssignment */] = \"Import assignments (import = ..)\";\n    _LinterConfig.nodeDesc[62 /* GenericCallNoTypeArgs */] = \"Generic calls without type arguments\";\n    _LinterConfig.nodeDesc[63 /* ParameterProperties */] = \"Parameter properties in constructor\";\n    _LinterConfig.nodeDesc[64 /* InstanceofUnsupported */] = 'Left-hand side of \"instanceof\" is wrong';\n    _LinterConfig.nodeDesc[65 /* ShorthandAmbientModuleDecl */] = \"Shorthand ambient module declaration\";\n    _LinterConfig.nodeDesc[66 /* WildcardsInModuleName */] = \"Wildcards in module name\";\n    _LinterConfig.nodeDesc[67 /* UMDModuleDefinition */] = \"UMD module definition\";\n    _LinterConfig.nodeDesc[68 /* NewTarget */] = '\"new.target\" meta-property';\n    _LinterConfig.nodeDesc[69 /* DefiniteAssignment */] = \"Definite assignment assertion\";\n    _LinterConfig.nodeDesc[70 /* Prototype */] = \"Prototype assignment\";\n    _LinterConfig.nodeDesc[71 /* GlobalThis */] = \"Use of globalThis\";\n    _LinterConfig.nodeDesc[72 /* UtilityType */] = \"Standard Utility types\";\n    _LinterConfig.nodeDesc[73 /* PropertyDeclOnFunction */] = \"Property declaration on function\";\n    _LinterConfig.nodeDesc[74 /* FunctionApplyBindCall */] = \"Invoking methods of function objects\";\n    _LinterConfig.nodeDesc[75 /* ConstAssertion */] = '\"as const\" assertion';\n    _LinterConfig.nodeDesc[76 /* ImportAssertion */] = \"Import assertion\";\n    _LinterConfig.nodeDesc[77 /* SpreadOperator */] = \"Spread operation\";\n    _LinterConfig.nodeDesc[78 /* LimitedStdLibApi */] = \"Limited standard library API\";\n    _LinterConfig.nodeDesc[79 /* ErrorSuppression */] = \"Error suppression annotation\";\n    _LinterConfig.nodeDesc[80 /* StrictDiagnostic */] = \"Strict diagnostic\";\n    _LinterConfig.nodeDesc[81 /* UnsupportedDecorators */] = \"Unsupported decorators\";\n    _LinterConfig.nodeDesc[82 /* ImportAfterStatement */] = \"Import declaration after other declaration or statement\";\n    _LinterConfig.nodeDesc[83 /* EsObjectType */] = 'Restricted \"ESObject\" type';\n  }\n};\nvar LinterConfig = _LinterConfig;\nLinterConfig.nodeDesc = [];\nLinterConfig.tsSyntaxKindNames = [];\nLinterConfig.terminalTokens = new Set2([\n  18 /* OpenBraceToken */,\n  19 /* CloseBraceToken */,\n  20 /* OpenParenToken */,\n  21 /* CloseParenToken */,\n  22 /* OpenBracketToken */,\n  23 /* CloseBracketToken */,\n  24 /* DotToken */,\n  25 /* DotDotDotToken */,\n  26 /* SemicolonToken */,\n  27 /* CommaToken */,\n  28 /* QuestionDotToken */,\n  29 /* LessThanToken */,\n  30 /* LessThanSlashToken */,\n  31 /* GreaterThanToken */,\n  32 /* LessThanEqualsToken */,\n  33 /* GreaterThanEqualsToken */,\n  34 /* EqualsEqualsToken */,\n  35 /* ExclamationEqualsToken */,\n  36 /* EqualsEqualsEqualsToken */,\n  37 /* ExclamationEqualsEqualsToken */,\n  38 /* EqualsGreaterThanToken */,\n  39 /* PlusToken */,\n  40 /* MinusToken */,\n  41 /* AsteriskToken */,\n  42 /* AsteriskAsteriskToken */,\n  43 /* SlashToken */,\n  44 /* PercentToken */,\n  45 /* PlusPlusToken */,\n  46 /* MinusMinusToken */,\n  47 /* LessThanLessThanToken */,\n  48 /* GreaterThanGreaterThanToken */,\n  49 /* GreaterThanGreaterThanGreaterThanToken */,\n  50 /* AmpersandToken */,\n  51 /* BarToken */,\n  52 /* CaretToken */,\n  53 /* ExclamationToken */,\n  54 /* TildeToken */,\n  55 /* AmpersandAmpersandToken */,\n  56 /* BarBarToken */,\n  60 /* QuestionQuestionToken */,\n  57 /* QuestionToken */,\n  58 /* ColonToken */,\n  59 /* AtToken */,\n  61 /* BacktickToken */,\n  63 /* EqualsToken */,\n  64 /* PlusEqualsToken */,\n  65 /* MinusEqualsToken */,\n  66 /* AsteriskEqualsToken */,\n  67 /* AsteriskAsteriskEqualsToken */,\n  68 /* SlashEqualsToken */,\n  69 /* PercentEqualsToken */,\n  70 /* LessThanLessThanEqualsToken */,\n  71 /* GreaterThanGreaterThanEqualsToken */,\n  72 /* GreaterThanGreaterThanGreaterThanEqualsToken */,\n  73 /* AmpersandEqualsToken */,\n  74 /* BarEqualsToken */,\n  78 /* CaretEqualsToken */,\n  1 /* EndOfFileToken */,\n  2 /* SingleLineCommentTrivia */,\n  3 /* MultiLineCommentTrivia */,\n  4 /* NewLineTrivia */,\n  5 /* WhitespaceTrivia */,\n  6 /* ShebangTrivia */,\n  7 /* ConflictMarkerTrivia */\n]);\nLinterConfig.incrementOnlyTokens = new Map2([\n  [132 /* AnyKeyword */, 0 /* AnyType */],\n  [154 /* SymbolKeyword */, 1 /* SymbolType */],\n  [197 /* ThisType */, 56 /* ThisType */],\n  [186 /* TypeQuery */, 6 /* TypeQuery */],\n  [221 /* DeleteExpression */, 33 /* DeleteOperator */],\n  [13 /* RegularExpressionLiteral */, 7 /* RegexLiteral */],\n  [182 /* TypePredicate */, 8 /* IsOperator */],\n  [230 /* YieldExpression */, 10 /* YieldExpression */],\n  [181 /* IndexSignature */, 14 /* IndexMember */],\n  [255 /* WithStatement */, 15 /* WithStatement */],\n  [199 /* IndexedAccessType */, 17 /* IndexedAccessType */],\n  [159 /* UnknownKeyword */, 18 /* UnknownType */],\n  [102 /* InKeyword */, 20 /* InOperator */],\n  [179 /* CallSignature */, 39 /* CallSignature */],\n  [193 /* IntersectionType */, 23 /* IntersectionType */],\n  [187 /* TypeLiteral */, 24 /* ObjectTypeLiteral */],\n  [185 /* ConstructorType */, 38 /* ConstructorFuncs */],\n  [80 /* PrivateIdentifier */, 41 /* PrivateIdentifier */],\n  [194 /* ConditionalType */, 43 /* ConditionalType */],\n  [200 /* MappedType */, 44 /* MappedType */],\n  [287 /* JsxElement */, 51 /* JsxElement */],\n  [288 /* JsxSelfClosingElement */, 51 /* JsxElement */],\n  [274 /* ImportEqualsDeclaration */, 61 /* ImportAssignment */],\n  [273 /* NamespaceExportDeclaration */, 67 /* UMDModuleDefinition */]\n]);\n\n// src/linter/ArkTSLinter_1_0/TypeScriptLinter.ts\nvar _TypeScriptLinter = class {\n  constructor(sourceFile, tsProgram, tscStrictDiagnostics) {\n    this.sourceFile = sourceFile;\n    this.tscStrictDiagnostics = tscStrictDiagnostics;\n    this.handlersMap = new Map2([\n      [210 /* ObjectLiteralExpression */, this.handleObjectLiteralExpression],\n      [209 /* ArrayLiteralExpression */, this.handleArrayLiteralExpression],\n      [168 /* Parameter */, this.handleParameter],\n      [269 /* EnumDeclaration */, this.handleEnumDeclaration],\n      [267 /* InterfaceDeclaration */, this.handleInterfaceDeclaration],\n      [258 /* ThrowStatement */, this.handleThrowStatement],\n      [276 /* ImportClause */, this.handleImportClause],\n      [249 /* ForStatement */, this.handleForStatement],\n      [250 /* ForInStatement */, this.handleForInStatement],\n      [251 /* ForOfStatement */, this.handleForOfStatement],\n      [275 /* ImportDeclaration */, this.handleImportDeclaration],\n      [211 /* PropertyAccessExpression */, this.handlePropertyAccessExpression],\n      [171 /* PropertyDeclaration */, this.handlePropertyAssignmentOrDeclaration],\n      [305 /* PropertyAssignment */, this.handlePropertyAssignmentOrDeclaration],\n      [218 /* FunctionExpression */, this.handleFunctionExpression],\n      [219 /* ArrowFunction */, this.handleArrowFunction],\n      [232 /* ClassExpression */, this.handleClassExpression],\n      [301 /* CatchClause */, this.handleCatchClause],\n      [263 /* FunctionDeclaration */, this.handleFunctionDeclaration],\n      [225 /* PrefixUnaryExpression */, this.handlePrefixUnaryExpression],\n      [227 /* BinaryExpression */, this.handleBinaryExpression],\n      [262 /* VariableDeclarationList */, this.handleVariableDeclarationList],\n      [261 /* VariableDeclaration */, this.handleVariableDeclaration],\n      [264 /* ClassDeclaration */, this.handleClassDeclaration],\n      [270 /* ModuleDeclaration */, this.handleModuleDeclaration],\n      [268 /* TypeAliasDeclaration */, this.handleTypeAliasDeclaration],\n      [279 /* ImportSpecifier */, this.handleImportSpecifier],\n      [277 /* NamespaceImport */, this.handleNamespaceImport],\n      [216 /* TypeAssertionExpression */, this.handleTypeAssertionExpression],\n      [174 /* MethodDeclaration */, this.handleMethodDeclaration],\n      [79 /* Identifier */, this.handleIdentifier],\n      [212 /* ElementAccessExpression */, this.handleElementAccessExpression],\n      [308 /* EnumMember */, this.handleEnumMember],\n      [183 /* TypeReference */, this.handleTypeReference],\n      [280 /* ExportAssignment */, this.handleExportAssignment],\n      [213 /* CallExpression */, this.handleCallExpression],\n      [237 /* MetaProperty */, this.handleMetaProperty],\n      [214 /* NewExpression */, this.handleNewExpression],\n      [235 /* AsExpression */, this.handleAsExpression],\n      [231 /* SpreadElement */, this.handleSpreadOp],\n      [307 /* SpreadAssignment */, this.handleSpreadOp],\n      [177 /* GetAccessor */, this.handleGetAccessor],\n      [178 /* SetAccessor */, this.handleSetAccessor],\n      [180 /* ConstructSignature */, this.handleConstructSignature],\n      [234 /* ExpressionWithTypeArguments */, this.handleExpressionWithTypeArguments],\n      [166 /* ComputedPropertyName */, this.handleComputedPropertyName],\n      [175 /* ClassStaticBlockDeclaration */, this.handleClassStaticBlockDeclaration]\n    ]);\n    this.validatedTypesSet = new Set2();\n    _TypeScriptLinter.tsTypeChecker = tsProgram.getLinterTypeChecker();\n    this.currentErrorLine = 0;\n    this.currentWarningLine = 0;\n    this.staticBlocks = new Set2();\n    this.libraryTypeCallDiagnosticChecker = new LibraryTypeCallDiagnosticChecker(_TypeScriptLinter.filteredDiagnosticMessages);\n    const options = tsProgram.getCompilerOptions();\n    this.skipArkTSStaticBlocksCheck = false;\n    if (options.skipArkTSStaticBlocksCheck) {\n      this.skipArkTSStaticBlocksCheck = options.skipArkTSStaticBlocksCheck;\n    }\n  }\n  static initGlobals() {\n    _TypeScriptLinter.filteredDiagnosticMessages = [];\n  }\n  static initStatic() {\n    _TypeScriptLinter.strictMode = true;\n    _TypeScriptLinter.logTscErrors = false;\n    _TypeScriptLinter.warningsAsErrors = false;\n    _TypeScriptLinter.lintEtsOnly = true;\n    _TypeScriptLinter.totalVisitedNodes = 0;\n    _TypeScriptLinter.nodeCounters = [];\n    _TypeScriptLinter.lineCounters = [];\n    _TypeScriptLinter.totalErrorLines = 0;\n    _TypeScriptLinter.totalWarningLines = 0;\n    _TypeScriptLinter.errorLineNumbersString = \"\";\n    _TypeScriptLinter.warningLineNumbersString = \"\";\n    autofixInfo.length = 0;\n    for (let i = 0; i < 84 /* LAST_ID */; i++) {\n      _TypeScriptLinter.nodeCounters[i] = 0;\n      _TypeScriptLinter.lineCounters[i] = 0;\n    }\n    _TypeScriptLinter.problemsInfos = [];\n  }\n  static clearTsTypeChecker() {\n    _TypeScriptLinter.tsTypeChecker = {};\n  }\n  static clearQualifiedNameCache() {\n    if (_TypeScriptLinter.tsTypeChecker) {\n      _TypeScriptLinter.tsTypeChecker.clearQualifiedNameCache && _TypeScriptLinter.tsTypeChecker.clearQualifiedNameCache();\n    }\n  }\n  incrementCounters(node, faultId, autofixable = false, autofix) {\n    if (!_TypeScriptLinter.strictMode && faultsAttrs[faultId].migratable) {\n      return;\n    }\n    const startPos = getStartPos(node);\n    const endPos = getEndPos2(node);\n    _TypeScriptLinter.nodeCounters[faultId]++;\n    let { line, character } = this.sourceFile.getLineAndCharacterOfPosition(startPos);\n    ++line;\n    ++character;\n    const faultDescr = LinterConfig.nodeDesc[faultId];\n    const faultType = \"unknown\";\n    const cookBookMsgNum = faultsAttrs[faultId] ? Number(faultsAttrs[faultId].cookBookRef) : 0;\n    const cookBookTg = cookBookTag[cookBookMsgNum];\n    let severity = 2 /* ERROR */;\n    if (faultsAttrs[faultId] && faultsAttrs[faultId].warning) {\n      severity = 1 /* WARNING */;\n    }\n    const badNodeInfo = {\n      line,\n      column: character,\n      start: startPos,\n      end: endPos,\n      type: faultType,\n      severity,\n      problem: FaultID[faultId],\n      suggest: cookBookMsgNum > 0 ? cookBookMsg[cookBookMsgNum] : \"\",\n      rule: cookBookMsgNum > 0 && cookBookTg !== \"\" ? cookBookTg : faultDescr ? faultDescr : faultType,\n      ruleTag: cookBookMsgNum,\n      autofixable,\n      autofix\n    };\n    _TypeScriptLinter.problemsInfos.push(badNodeInfo);\n    if (!_TypeScriptLinter.reportDiagnostics) {\n      perfLogger.logEvent(\n        `Warning: ${this.sourceFile.fileName} (${line}, ${character}): ${faultDescr ? faultDescr : faultType}`\n      );\n    }\n    _TypeScriptLinter.lineCounters[faultId]++;\n    if (faultsAttrs[faultId].warning) {\n      if (line !== this.currentWarningLine) {\n        this.currentWarningLine = line;\n        ++_TypeScriptLinter.totalWarningLines;\n        _TypeScriptLinter.warningLineNumbersString += line + \", \";\n      }\n    } else if (line !== this.currentErrorLine) {\n      this.currentErrorLine = line;\n      ++_TypeScriptLinter.totalErrorLines;\n      _TypeScriptLinter.errorLineNumbersString += line + \", \";\n    }\n  }\n  visitTSNode(node) {\n    const self2 = this;\n    visitTSNodeImpl(node);\n    function visitTSNodeImpl(node2) {\n      if (node2 === null || node2.kind === null) {\n        return;\n      }\n      _TypeScriptLinter.totalVisitedNodes++;\n      if (isStructDeclaration(node2)) {\n        self2.handleStructDeclaration(node2);\n        return;\n      }\n      self2.handleComments(node2);\n      if (LinterConfig.terminalTokens.has(node2.kind))\n        return;\n      const incrementedType = LinterConfig.incrementOnlyTokens.get(node2.kind);\n      if (incrementedType !== void 0) {\n        self2.incrementCounters(node2, incrementedType);\n      } else {\n        const handler = self2.handlersMap.get(node2.kind);\n        if (handler !== void 0) {\n          handler.call(self2, node2);\n        }\n      }\n      forEachChild(node2, visitTSNodeImpl);\n    }\n  }\n  countInterfaceExtendsDifferentPropertyTypes(node, prop2type, propName, type) {\n    if (type) {\n      const methodType = type.getText();\n      const propType = prop2type.get(propName);\n      if (!propType) {\n        prop2type.set(propName, methodType);\n      } else if (propType !== methodType) {\n        this.incrementCounters(node, 57 /* IntefaceExtendDifProps */);\n      }\n    }\n  }\n  countDeclarationsWithDuplicateName(tsNode, tsDeclNode, tsDeclKind) {\n    const symbol = _TypeScriptLinter.tsTypeChecker.getSymbolAtLocation(tsNode);\n    if (!!symbol && symbolHasDuplicateName(symbol, tsDeclKind != null ? tsDeclKind : tsDeclNode.kind)) {\n      this.incrementCounters(tsDeclNode, 34 /* DeclWithDuplicateName */);\n    }\n  }\n  countClassMembersWithDuplicateName(tsClassDecl) {\n    for (const tsCurrentMember of tsClassDecl.members) {\n      if (!tsCurrentMember.name || !(isIdentifier(tsCurrentMember.name) || isPrivateIdentifier(tsCurrentMember.name))) {\n        continue;\n      }\n      for (const tsClassMember of tsClassDecl.members) {\n        if (tsCurrentMember === tsClassMember)\n          continue;\n        if (!tsClassMember.name || !(isIdentifier(tsClassMember.name) || isPrivateIdentifier(tsClassMember.name))) {\n          continue;\n        }\n        if (isIdentifier(tsCurrentMember.name) && isPrivateIdentifier(tsClassMember.name) && tsCurrentMember.name.text === tsClassMember.name.text.substring(1)) {\n          this.incrementCounters(tsCurrentMember, 34 /* DeclWithDuplicateName */);\n          break;\n        }\n        if (isPrivateIdentifier(tsCurrentMember.name) && isIdentifier(tsClassMember.name) && tsCurrentMember.name.text.substring(1) === tsClassMember.name.text) {\n          this.incrementCounters(tsCurrentMember, 34 /* DeclWithDuplicateName */);\n          break;\n        }\n      }\n    }\n  }\n  functionContainsThis(tsNode) {\n    let found = false;\n    function visitNode3(tsNode2) {\n      if (found)\n        return;\n      if (tsNode2.kind === 109 /* ThisKeyword */) {\n        found = true;\n        return;\n      }\n      if (!isClassDeclaration(tsNode2) && !isClassExpression(tsNode2) && !isModuleDeclaration(tsNode2) && !isFunctionDeclaration(tsNode2) && !isFunctionExpression(tsNode2)) {\n        tsNode2.forEachChild(visitNode3);\n      }\n    }\n    visitNode3(tsNode);\n    return found;\n  }\n  isPrototypePropertyAccess(tsPropertyAccess, propAccessSym, baseExprSym, baseExprType) {\n    if (!(isIdentifier(tsPropertyAccess.name) && tsPropertyAccess.name.text === \"prototype\")) {\n      return false;\n    }\n    let curPropAccess = tsPropertyAccess;\n    while (curPropAccess && isPropertyAccessExpression(curPropAccess)) {\n      const baseExprSym2 = trueSymbolAtLocation(curPropAccess.expression);\n      if (isLibrarySymbol(baseExprSym2)) {\n        return false;\n      }\n      curPropAccess = curPropAccess.expression;\n    }\n    if (isIdentifier(curPropAccess) && curPropAccess.text !== \"prototype\") {\n      const type = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(curPropAccess);\n      if (isAnyType(type)) {\n        return false;\n      }\n    }\n    if (isPrototypeSymbol(propAccessSym)) {\n      return true;\n    }\n    if (isTypeSymbol(baseExprSym) || isFunctionSymbol2(baseExprSym)) {\n      return true;\n    }\n    const baseExprTypeNode = _TypeScriptLinter.tsTypeChecker.typeToTypeNode(\n      baseExprType,\n      void 0,\n      0 /* None */\n    );\n    return baseExprTypeNode && isFunctionTypeNode(baseExprTypeNode) || isAnyType(baseExprType);\n  }\n  interfaceInheritanceLint(node, heritageClauses) {\n    for (const hClause of heritageClauses) {\n      if (hClause.token !== 95 /* ExtendsKeyword */)\n        continue;\n      const prop2type = new Map2();\n      for (const tsTypeExpr of hClause.types) {\n        const tsExprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsTypeExpr.expression);\n        if (tsExprType.isClass()) {\n          this.incrementCounters(node, 13 /* InterfaceExtendsClass */);\n        } else if (tsExprType.isClassOrInterface()) {\n          this.lintForInterfaceExtendsDifferentPorpertyTypes(node, tsExprType, prop2type);\n        }\n      }\n    }\n  }\n  lintForInterfaceExtendsDifferentPorpertyTypes(node, tsExprType, prop2type) {\n    const props = tsExprType.getProperties();\n    for (const p of props) {\n      if (!p.declarations)\n        continue;\n      const decl = p.declarations[0];\n      if (decl.kind === 173 /* MethodSignature */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      } else if (decl.kind === 174 /* MethodDeclaration */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      } else if (decl.kind === 171 /* PropertyDeclaration */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      } else if (decl.kind === 170 /* PropertySignature */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      }\n    }\n  }\n  handleObjectLiteralExpression(node) {\n    const objectLiteralExpr = node;\n    if (isDestructuringAssignmentLHS(objectLiteralExpr)) {\n      return;\n    }\n    const objectLiteralType = _TypeScriptLinter.tsTypeChecker.getContextualType(objectLiteralExpr);\n    if (!isStructObjectInitializer(objectLiteralExpr) && !isDynamicLiteralInitializer(objectLiteralExpr) && !isExpressionAssignableToType(objectLiteralType, objectLiteralExpr)) {\n      this.incrementCounters(node, 2 /* ObjectLiteralNoContextType */);\n    }\n  }\n  handleArrayLiteralExpression(node) {\n    if (isDestructuringAssignmentLHS(node)) {\n      return;\n    }\n    const arrayLitNode = node;\n    let noContextTypeForArrayLiteral = false;\n    const arrayLitElements = arrayLitNode.elements;\n    for (const element of arrayLitElements) {\n      if (element.kind === 210 /* ObjectLiteralExpression */) {\n        const objectLiteralType = _TypeScriptLinter.tsTypeChecker.getContextualType(element);\n        if (!isDynamicLiteralInitializer(arrayLitNode) && !isExpressionAssignableToType(objectLiteralType, element)) {\n          noContextTypeForArrayLiteral = true;\n          break;\n        }\n      }\n    }\n    if (noContextTypeForArrayLiteral) {\n      this.incrementCounters(node, 3 /* ArrayLiteralNoContextType */);\n    }\n  }\n  handleParameter(node) {\n    const tsParam = node;\n    if (isArrayBindingPattern(tsParam.name) || isObjectBindingPattern(tsParam.name)) {\n      this.incrementCounters(node, 9 /* DestructuringParameter */);\n    }\n    const tsParamMods = getModifiers(tsParam);\n    if (tsParamMods && (hasModifier(tsParamMods, 124 /* PublicKeyword */) || hasModifier(tsParamMods, 123 /* ProtectedKeyword */) || hasModifier(tsParamMods, 147 /* ReadonlyKeyword */) || hasModifier(tsParamMods, 122 /* PrivateKeyword */))) {\n      this.incrementCounters(node, 63 /* ParameterProperties */);\n    }\n    this.handleDecorators(getDecorators(tsParam));\n    this.handleDeclarationInferredType(tsParam);\n  }\n  handleEnumDeclaration(node) {\n    const enumNode = node;\n    this.countDeclarationsWithDuplicateName(enumNode.name, enumNode);\n    const enumSymbol = trueSymbolAtLocation(enumNode.name);\n    if (!enumSymbol)\n      return;\n    const enumDecls = enumSymbol.getDeclarations();\n    if (!enumDecls)\n      return;\n    let enumDeclCount = 0;\n    for (const decl of enumDecls) {\n      if (decl.kind === 269 /* EnumDeclaration */)\n        enumDeclCount++;\n    }\n    if (enumDeclCount > 1)\n      this.incrementCounters(node, 12 /* EnumMerging */);\n  }\n  handleInterfaceDeclaration(node) {\n    const interfaceNode = node;\n    const iSymbol = trueSymbolAtLocation(interfaceNode.name);\n    const iDecls = iSymbol ? iSymbol.getDeclarations() : null;\n    if (iDecls) {\n      let iDeclCount = 0;\n      for (const decl of iDecls) {\n        if (decl.kind === 267 /* InterfaceDeclaration */)\n          iDeclCount++;\n      }\n      if (iDeclCount > 1)\n        this.incrementCounters(node, 11 /* InterfaceMerging */);\n    }\n    if (interfaceNode.heritageClauses)\n      this.interfaceInheritanceLint(node, interfaceNode.heritageClauses);\n    this.countDeclarationsWithDuplicateName(interfaceNode.name, interfaceNode);\n  }\n  handleThrowStatement(node) {\n    const throwStmt = node;\n    const throwExprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(throwStmt.expression);\n    if (!throwExprType.isClassOrInterface() || !isDerivedFrom(throwExprType, \"Error\" /* Error */)) {\n      this.incrementCounters(node, 16 /* ThrowStatement */);\n    }\n  }\n  handleForStatement(node) {\n    const tsForStmt = node;\n    const tsForInit = tsForStmt.initializer;\n    if (tsForInit && (isArrayLiteralExpression(tsForInit) || isObjectLiteralExpression(tsForInit))) {\n      this.incrementCounters(tsForInit, 29 /* DestructuringAssignment */);\n    }\n  }\n  handleForInStatement(node) {\n    const tsForInStmt = node;\n    const tsForInInit = tsForInStmt.initializer;\n    if (isArrayLiteralExpression(tsForInInit) || isObjectLiteralExpression(tsForInInit)) {\n      this.incrementCounters(tsForInInit, 29 /* DestructuringAssignment */);\n    }\n    this.incrementCounters(node, 19 /* ForInStatement */);\n  }\n  handleForOfStatement(node) {\n    const tsForOfStmt = node;\n    const tsForOfInit = tsForOfStmt.initializer;\n    if (isArrayLiteralExpression(tsForOfInit) || isObjectLiteralExpression(tsForOfInit)) {\n      this.incrementCounters(tsForOfInit, 29 /* DestructuringAssignment */);\n    }\n  }\n  handleImportDeclaration(node) {\n    const importDeclNode = node;\n    for (const stmt of importDeclNode.parent.statements) {\n      if (stmt === importDeclNode) {\n        break;\n      }\n      if (!isImportDeclaration(stmt)) {\n        this.incrementCounters(node, 82 /* ImportAfterStatement */);\n        break;\n      }\n    }\n    const expr1 = importDeclNode.moduleSpecifier;\n    if (expr1.kind === 10 /* StringLiteral */) {\n      if (!importDeclNode.importClause)\n        this.incrementCounters(node, 21 /* ImportFromPath */);\n    }\n  }\n  handlePropertyAccessExpression(node) {\n    if (isCallExpression(node.parent) && node === node.parent.expression) {\n      return;\n    }\n    const propertyAccessNode = node;\n    const exprSym = trueSymbolAtLocation(propertyAccessNode);\n    const baseExprSym = trueSymbolAtLocation(propertyAccessNode.expression);\n    const baseExprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(propertyAccessNode.expression);\n    if (this.isPrototypePropertyAccess(propertyAccessNode, exprSym, baseExprSym, baseExprType)) {\n      this.incrementCounters(propertyAccessNode.name, 70 /* Prototype */);\n    }\n    if (!!exprSym && isSymbolAPI(exprSym) && !ALLOWED_STD_SYMBOL_API.includes(exprSym.getName())) {\n      this.incrementCounters(propertyAccessNode, 1 /* SymbolType */);\n    }\n    if (!!baseExprSym && symbolHasEsObjectType(baseExprSym)) {\n      this.incrementCounters(propertyAccessNode, 83 /* EsObjectType */);\n    }\n  }\n  handlePropertyAssignmentOrDeclaration(node) {\n    var _a2;\n    const propName = node.name;\n    if (propName && (propName.kind === 8 /* NumericLiteral */ || propName.kind === 10 /* StringLiteral */)) {\n      let isRecordObjectInitializer = false;\n      let isLibraryType3 = false;\n      let isDynamic = false;\n      if (isPropertyAssignment(node)) {\n        let objectLiteralType = _TypeScriptLinter.tsTypeChecker.getContextualType(node.parent);\n        if (objectLiteralType) {\n          isRecordObjectInitializer = isStdRecordType(objectLiteralType);\n          isLibraryType3 = isLibraryType(objectLiteralType);\n        }\n        isDynamic = isLibraryType3 || isDynamicLiteralInitializer(node.parent);\n      }\n      if (!isRecordObjectInitializer && !isDynamic) {\n        let autofix = fixLiteralAsPropertyName(node);\n        const autofixable = autofix !== void 0;\n        if (!shouldAutofix(node, 5 /* LiteralAsPropertyName */)) {\n          autofix = void 0;\n        }\n        this.incrementCounters(node, 5 /* LiteralAsPropertyName */, autofixable, autofix);\n      }\n    }\n    if (isPropertyDeclaration(node)) {\n      const decorators = getDecorators(node);\n      this.handleDecorators(decorators);\n      this.filterOutDecoratorsDiagnostics(\n        decorators,\n        NON_INITIALIZABLE_PROPERTY_DECORATORS,\n        { begin: propName.getStart(), end: propName.getStart() },\n        PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE\n      );\n      const classDecorators = getDecorators(node.parent);\n      const propType = (_a2 = node.type) == null ? void 0 : _a2.getText();\n      this.filterOutDecoratorsDiagnostics(\n        classDecorators,\n        NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS,\n        { begin: propName.getStart(), end: propName.getStart() },\n        PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE,\n        propType\n      );\n      this.handleDeclarationInferredType(node);\n      this.handleDefiniteAssignmentAssertion(node);\n    }\n  }\n  filterOutDecoratorsDiagnostics(decorators, expectedDecorators, range, code, prop_type) {\n    if (this.tscStrictDiagnostics && this.sourceFile) {\n      if (decorators == null ? void 0 : decorators.some((x) => {\n        let decoratorName = \"\";\n        if (isIdentifier(x.expression)) {\n          decoratorName = x.expression.text;\n        } else if (isCallExpression(x.expression) && isIdentifier(x.expression.expression)) {\n          decoratorName = x.expression.expression.text;\n        }\n        if (expectedDecorators.includes(NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS[0])) {\n          return expectedDecorators.includes(decoratorName) && prop_type === \"CustomDialogController\";\n        }\n        return expectedDecorators.includes(decoratorName);\n      })) {\n        const file = normalizePath(this.sourceFile.fileName);\n        const tscDiagnostics = this.tscStrictDiagnostics.get(file);\n        if (tscDiagnostics) {\n          const filteredDiagnostics = tscDiagnostics.filter(\n            (val) => {\n              if (val.code !== code)\n                return true;\n              if (val.start === void 0)\n                return true;\n              if (val.start < range.begin)\n                return true;\n              if (val.start > range.end)\n                return true;\n              return false;\n            }\n          );\n          this.tscStrictDiagnostics.set(file, filteredDiagnostics);\n        }\n      }\n    }\n  }\n  checkInRange(rangesToFilter, pos) {\n    for (let i = 0; i < rangesToFilter.length; i++) {\n      if (pos >= rangesToFilter[i].begin && pos < rangesToFilter[i].end) {\n        return false;\n      }\n    }\n    return true;\n  }\n  filterStrictDiagnostics(filters, diagnosticChecker) {\n    if (!this.tscStrictDiagnostics || !this.sourceFile) {\n      return false;\n    }\n    const file = normalizePath(this.sourceFile.fileName);\n    const tscDiagnostics = this.tscStrictDiagnostics.get(file);\n    if (!tscDiagnostics) {\n      return false;\n    }\n    const checkDiagnostic = (val) => {\n      const checkInRange = filters[val.code];\n      if (!checkInRange) {\n        return true;\n      }\n      if (val.start === void 0 || checkInRange(val.start)) {\n        return true;\n      }\n      return diagnosticChecker.checkDiagnosticMessage(val.messageText);\n    };\n    if (tscDiagnostics.every(checkDiagnostic)) {\n      return false;\n    }\n    this.tscStrictDiagnostics.set(file, tscDiagnostics.filter(checkDiagnostic));\n    return true;\n  }\n  handleFunctionExpression(node) {\n    const funcExpr = node;\n    const isGenerator = funcExpr.asteriskToken !== void 0;\n    const containsThis = this.functionContainsThis(funcExpr.body);\n    const hasValidContext = hasPredecessor(funcExpr, isClassLike) || hasPredecessor(funcExpr, isInterfaceDeclaration);\n    const isGeneric = funcExpr.typeParameters !== void 0 && funcExpr.typeParameters.length > 0;\n    const [hasUnfixableReturnType, newRetTypeNode] = this.handleMissingReturnType(funcExpr);\n    const autofixable = !isGeneric && !isGenerator && !containsThis && !hasUnfixableReturnType;\n    let autofix;\n    if (autofixable && shouldAutofix(node, 22 /* FunctionExpression */)) {\n      autofix = [fixFunctionExpression(funcExpr, funcExpr.parameters, newRetTypeNode)];\n    }\n    this.incrementCounters(node, 22 /* FunctionExpression */, autofixable, autofix);\n    if (isGeneric) {\n      this.incrementCounters(funcExpr, 27 /* LambdaWithTypeParameters */);\n    }\n    if (isGenerator) {\n      this.incrementCounters(funcExpr, 48 /* GeneratorFunction */);\n    }\n    if (containsThis && !hasValidContext) {\n      this.incrementCounters(funcExpr, 49 /* FunctionContainsThis */);\n    }\n    if (hasUnfixableReturnType) {\n      this.incrementCounters(funcExpr, 26 /* LimitedReturnTypeInference */);\n    }\n  }\n  handleArrowFunction(node) {\n    const arrowFunc = node;\n    const containsThis = this.functionContainsThis(arrowFunc.body);\n    const hasValidContext = hasPredecessor(arrowFunc, isClassLike) || hasPredecessor(arrowFunc, isInterfaceDeclaration);\n    if (containsThis && !hasValidContext) {\n      this.incrementCounters(arrowFunc, 49 /* FunctionContainsThis */);\n    }\n    const contextType = _TypeScriptLinter.tsTypeChecker.getContextualType(arrowFunc);\n    if (!(contextType && isLibraryType(contextType))) {\n      if (!arrowFunc.type) {\n        this.handleMissingReturnType(arrowFunc);\n      }\n      if (arrowFunc.typeParameters && arrowFunc.typeParameters.length > 0) {\n        this.incrementCounters(node, 27 /* LambdaWithTypeParameters */);\n      }\n    }\n  }\n  handleClassExpression(node) {\n    this.incrementCounters(node, 28 /* ClassExpression */);\n  }\n  handleFunctionDeclaration(node) {\n    const tsFunctionDeclaration = node;\n    if (!tsFunctionDeclaration.type)\n      this.handleMissingReturnType(tsFunctionDeclaration);\n    if (tsFunctionDeclaration.name) {\n      this.countDeclarationsWithDuplicateName(tsFunctionDeclaration.name, tsFunctionDeclaration);\n    }\n    if (tsFunctionDeclaration.body && this.functionContainsThis(tsFunctionDeclaration.body)) {\n      this.incrementCounters(node, 49 /* FunctionContainsThis */);\n    }\n    if (!isSourceFile(tsFunctionDeclaration.parent) && !isModuleBlock(tsFunctionDeclaration.parent)) {\n      this.incrementCounters(tsFunctionDeclaration, 42 /* LocalFunction */);\n    }\n    if (tsFunctionDeclaration.asteriskToken)\n      this.incrementCounters(node, 48 /* GeneratorFunction */);\n  }\n  handleMissingReturnType(funcLikeDecl) {\n    if (!funcLikeDecl.body)\n      return [false, void 0];\n    let autofixable = false;\n    let autofix;\n    let newRetTypeNode;\n    const isFuncExpr = isFunctionExpression(funcLikeDecl);\n    let hasLimitedRetTypeInference = this.hasLimitedTypeInferenceFromReturnExpr(funcLikeDecl.body);\n    const tsSignature = _TypeScriptLinter.tsTypeChecker.getSignatureFromDeclaration(funcLikeDecl);\n    if (tsSignature) {\n      const tsRetType = _TypeScriptLinter.tsTypeChecker.getReturnTypeOfSignature(tsSignature);\n      if (!tsRetType || isUnsupportedType(tsRetType)) {\n        hasLimitedRetTypeInference = true;\n      } else if (hasLimitedRetTypeInference) {\n        newRetTypeNode = _TypeScriptLinter.tsTypeChecker.typeToTypeNode(tsRetType, funcLikeDecl, 0 /* None */);\n        autofixable = !!newRetTypeNode;\n        if (!isFuncExpr && newRetTypeNode && shouldAutofix(funcLikeDecl, 26 /* LimitedReturnTypeInference */)) {\n          autofix = [fixReturnType(funcLikeDecl, newRetTypeNode)];\n        }\n      }\n    }\n    if (hasLimitedRetTypeInference && !isFuncExpr) {\n      this.incrementCounters(funcLikeDecl, 26 /* LimitedReturnTypeInference */, autofixable, autofix);\n    }\n    return [hasLimitedRetTypeInference && !newRetTypeNode, newRetTypeNode];\n  }\n  hasLimitedTypeInferenceFromReturnExpr(funBody) {\n    let hasLimitedTypeInference = false;\n    function visitNode3(tsNode) {\n      if (hasLimitedTypeInference) {\n        return;\n      }\n      if (isReturnStatement(tsNode) && tsNode.expression && isCallToFunctionWithOmittedReturnType(unwrapParenthesized(tsNode.expression))) {\n        hasLimitedTypeInference = true;\n        return;\n      }\n      if (!isFunctionDeclaration(tsNode) && !isFunctionExpression(tsNode) && !isMethodDeclaration(tsNode) && !isAccessor(tsNode) && !isArrowFunction(tsNode)) {\n        tsNode.forEachChild(visitNode3);\n      }\n    }\n    if (isBlock(funBody)) {\n      visitNode3(funBody);\n    } else {\n      const tsExpr = unwrapParenthesized(funBody);\n      hasLimitedTypeInference = isCallToFunctionWithOmittedReturnType(tsExpr);\n    }\n    return hasLimitedTypeInference;\n  }\n  handlePrefixUnaryExpression(node) {\n    const tsUnaryArithm = node;\n    const tsUnaryOp = tsUnaryArithm.operator;\n    if (tsUnaryOp === 39 /* PlusToken */ || tsUnaryOp === 40 /* MinusToken */ || tsUnaryOp === 54 /* TildeToken */) {\n      const tsOperatndType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsUnaryArithm.operand);\n      if (!(tsOperatndType.getFlags() & (296 /* NumberLike */ | 2048 /* BigIntLiteral */)) || tsUnaryOp === 54 /* TildeToken */ && tsUnaryArithm.operand.kind === 8 /* NumericLiteral */ && !isIntegerConstantValue(tsUnaryArithm.operand)) {\n        this.incrementCounters(node, 35 /* UnaryArithmNotNumber */);\n      }\n    }\n  }\n  handleBinaryExpression(node) {\n    const tsBinaryExpr = node;\n    const tsLhsExpr = tsBinaryExpr.left;\n    const tsRhsExpr = tsBinaryExpr.right;\n    if (isAssignmentOperator2(tsBinaryExpr.operatorToken)) {\n      if (isObjectLiteralExpression(tsLhsExpr) || isArrayLiteralExpression(tsLhsExpr)) {\n        this.incrementCounters(node, 29 /* DestructuringAssignment */);\n      }\n      if (isPropertyAccessExpression(tsLhsExpr)) {\n        const tsLhsSymbol = trueSymbolAtLocation(tsLhsExpr);\n        const tsLhsBaseSymbol = trueSymbolAtLocation(tsLhsExpr.expression);\n        if (tsLhsSymbol && tsLhsSymbol.flags & 8192 /* Method */) {\n          this.incrementCounters(tsLhsExpr, 54 /* NoUndefinedPropAccess */);\n        }\n        if (isMethodAssignment(tsLhsSymbol) && tsLhsBaseSymbol && (tsLhsBaseSymbol.flags & 16 /* Function */) !== 0) {\n          this.incrementCounters(tsLhsExpr, 73 /* PropertyDeclOnFunction */);\n        }\n      }\n    }\n    const leftOperandType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsLhsExpr);\n    const rightOperandType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsRhsExpr);\n    if (tsBinaryExpr.operatorToken.kind === 39 /* PlusToken */) {\n      if (isEnumMemberType(leftOperandType) && isEnumMemberType(rightOperandType)) {\n        if (leftOperandType.flags & 296 /* NumberLike */ && rightOperandType.getFlags() & 296 /* NumberLike */ || leftOperandType.flags & 402653316 /* StringLike */ && rightOperandType.getFlags() & 402653316 /* StringLike */) {\n          return;\n        }\n      } else if (isNumberType(leftOperandType) && isNumberType(rightOperandType)) {\n        return;\n      } else if (isStringLikeType(leftOperandType) || isStringLikeType(rightOperandType)) {\n        return;\n      }\n    } else if (tsBinaryExpr.operatorToken.kind === 50 /* AmpersandToken */ || tsBinaryExpr.operatorToken.kind === 51 /* BarToken */ || tsBinaryExpr.operatorToken.kind === 52 /* CaretToken */ || tsBinaryExpr.operatorToken.kind === 47 /* LessThanLessThanToken */ || tsBinaryExpr.operatorToken.kind === 48 /* GreaterThanGreaterThanToken */ || tsBinaryExpr.operatorToken.kind === 49 /* GreaterThanGreaterThanGreaterThanToken */) {\n      if (!(isNumberType(leftOperandType) && isNumberType(rightOperandType)) || tsLhsExpr.kind === 8 /* NumericLiteral */ && !isIntegerConstantValue(tsLhsExpr) || tsRhsExpr.kind === 8 /* NumericLiteral */ && !isIntegerConstantValue(tsRhsExpr)) {\n        return;\n      }\n    } else if (tsBinaryExpr.operatorToken.kind === 27 /* CommaToken */) {\n      let tsExprNode = tsBinaryExpr;\n      let tsParentNode = tsExprNode.parent;\n      while (tsParentNode && tsParentNode.kind === 227 /* BinaryExpression */) {\n        tsExprNode = tsParentNode;\n        tsParentNode = tsExprNode.parent;\n      }\n      if (tsParentNode && tsParentNode.kind === 249 /* ForStatement */) {\n        const tsForNode = tsParentNode;\n        if (tsExprNode === tsForNode.initializer || tsExprNode === tsForNode.incrementor)\n          return;\n      }\n      this.incrementCounters(node, 25 /* CommaOperator */);\n    } else if (tsBinaryExpr.operatorToken.kind === 103 /* InstanceOfKeyword */) {\n      const leftExpr = unwrapParenthesized(tsBinaryExpr.left);\n      const leftSymbol = trueSymbolAtLocation(leftExpr);\n      if (tsLhsExpr.kind === 109 /* ThisKeyword */) {\n        return;\n      }\n      if (isPrimitiveType(leftOperandType) || isTypeNode(leftExpr) || isTypeSymbol(leftSymbol)) {\n        this.incrementCounters(node, 64 /* InstanceofUnsupported */);\n      }\n    } else if (tsBinaryExpr.operatorToken.kind === 63 /* EqualsToken */) {\n      if (needToDeduceStructuralIdentity(rightOperandType, leftOperandType)) {\n        this.incrementCounters(tsBinaryExpr, 58 /* StructuralIdentity */);\n      }\n      const typeNode = getVariableDeclarationTypeNode(tsLhsExpr);\n      this.handleEsObjectAssignment(tsBinaryExpr, typeNode, tsRhsExpr);\n    }\n  }\n  handleVariableDeclarationList(node) {\n    const varDeclFlags = getCombinedNodeFlags(node);\n    if (!(varDeclFlags & (1 /* Let */ | 2 /* Const */))) {\n      this.incrementCounters(node, 31 /* VarDeclaration */);\n    }\n  }\n  handleVariableDeclaration(node) {\n    const tsVarDecl = node;\n    if (isArrayBindingPattern(tsVarDecl.name) || isObjectBindingPattern(tsVarDecl.name)) {\n      this.incrementCounters(node, 30 /* DestructuringDeclaration */);\n    }\n    {\n      const visitBindingPatternNames = (tsBindingName) => {\n        if (isIdentifier(tsBindingName)) {\n          this.countDeclarationsWithDuplicateName(tsBindingName, tsBindingName, tsBindingName.parent.kind);\n        } else {\n          for (const tsBindingElem of tsBindingName.elements) {\n            if (isOmittedExpression(tsBindingElem))\n              continue;\n            visitBindingPatternNames(tsBindingElem.name);\n          }\n        }\n      };\n      visitBindingPatternNames(tsVarDecl.name);\n    }\n    if (tsVarDecl.type && tsVarDecl.initializer) {\n      const tsVarInit = tsVarDecl.initializer;\n      const tsVarType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsVarDecl.type);\n      const tsInitType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsVarInit);\n      if (needToDeduceStructuralIdentity(tsInitType, tsVarType)) {\n        this.incrementCounters(tsVarDecl, 58 /* StructuralIdentity */);\n      }\n    }\n    this.handleEsObjectDelaration(tsVarDecl);\n    this.handleDeclarationInferredType(tsVarDecl);\n    this.handleDefiniteAssignmentAssertion(tsVarDecl);\n  }\n  handleEsObjectDelaration(node) {\n    const isDeclaredESObject = !!node.type && isEsObjectType(node.type);\n    const initalizerTypeNode = node.initializer && getVariableDeclarationTypeNode(node.initializer);\n    const isInitializedWithESObject = !!initalizerTypeNode && isEsObjectType(initalizerTypeNode);\n    const isLocal = isInsideBlock(node);\n    if ((isDeclaredESObject || isInitializedWithESObject) && !isLocal) {\n      this.incrementCounters(node, 83 /* EsObjectType */);\n      return;\n    }\n    if (node.initializer) {\n      this.handleEsObjectAssignment(node, node.type, node.initializer);\n      return;\n    }\n  }\n  handleEsObjectAssignment(node, nodeDeclType, initializer) {\n    const isTypeAnnotated = !!nodeDeclType;\n    const isDeclaredESObject = !!nodeDeclType && isEsObjectType(nodeDeclType);\n    const initalizerTypeNode = getVariableDeclarationTypeNode(initializer);\n    const isInitializedWithESObject = !!initalizerTypeNode && isEsObjectType(initalizerTypeNode);\n    if (isTypeAnnotated && !isDeclaredESObject && isInitializedWithESObject) {\n      this.incrementCounters(node, 83 /* EsObjectType */);\n      return;\n    }\n    if (isDeclaredESObject && !isValueAssignableToESObject(initializer)) {\n      this.incrementCounters(node, 83 /* EsObjectType */);\n    }\n  }\n  handleCatchClause(node) {\n    const tsCatch = node;\n    if (tsCatch.variableDeclaration && tsCatch.variableDeclaration.type) {\n      this.incrementCounters(node, 32 /* CatchWithUnsupportedType */);\n    }\n  }\n  handleClassDeclaration(node) {\n    const tsClassDecl = node;\n    this.staticBlocks.clear();\n    if (tsClassDecl.name) {\n      this.countDeclarationsWithDuplicateName(tsClassDecl.name, tsClassDecl);\n    }\n    this.countClassMembersWithDuplicateName(tsClassDecl);\n    const visitHClause = (hClause) => {\n      for (const tsTypeExpr of hClause.types) {\n        const tsExprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsTypeExpr.expression);\n        if (tsExprType.isClass() && hClause.token === 118 /* ImplementsKeyword */) {\n          this.incrementCounters(tsTypeExpr, 53 /* ImplementsClass */);\n        }\n      }\n    };\n    if (tsClassDecl.heritageClauses) {\n      for (const hClause of tsClassDecl.heritageClauses) {\n        if (!hClause) {\n          continue;\n        }\n        visitHClause(hClause);\n      }\n    }\n    this.handleDecorators(getDecorators(tsClassDecl));\n    if (!this.skipArkTSStaticBlocksCheck) {\n      let hasStaticBlock = false;\n      for (const element of tsClassDecl.members) {\n        if (isClassStaticBlockDeclaration(element)) {\n          if (hasStaticBlock) {\n            this.incrementCounters(element, 55 /* MultipleStaticBlocks */);\n          } else {\n            hasStaticBlock = true;\n          }\n        }\n      }\n    }\n  }\n  handleModuleDeclaration(node) {\n    const tsModuleDecl = node;\n    this.countDeclarationsWithDuplicateName(tsModuleDecl.name, tsModuleDecl);\n    const tsModuleBody = tsModuleDecl.body;\n    const tsModifiers = tsModuleDecl.modifiers;\n    if (tsModuleBody) {\n      if (isModuleBlock(tsModuleBody)) {\n        for (const tsModuleStmt of tsModuleBody.statements) {\n          switch (tsModuleStmt.kind) {\n            case 244 /* VariableStatement */:\n            case 263 /* FunctionDeclaration */:\n            case 264 /* ClassDeclaration */:\n            case 267 /* InterfaceDeclaration */:\n            case 268 /* TypeAliasDeclaration */:\n            case 269 /* EnumDeclaration */:\n            case 281 /* ExportDeclaration */:\n              break;\n            case 270 /* ModuleDeclaration */:\n              break;\n            default:\n              this.incrementCounters(tsModuleStmt, 47 /* NonDeclarationInNamespace */);\n              break;\n          }\n        }\n      }\n    }\n    if (!(tsModuleDecl.flags & 16 /* Namespace */) && hasModifier(tsModifiers, 137 /* DeclareKeyword */)) {\n      this.incrementCounters(tsModuleDecl, 65 /* ShorthandAmbientModuleDecl */);\n    }\n    if (isStringLiteral(tsModuleDecl.name) && tsModuleDecl.name.text.includes(\"*\")) {\n      this.incrementCounters(tsModuleDecl, 66 /* WildcardsInModuleName */);\n    }\n  }\n  handleTypeAliasDeclaration(node) {\n    const tsTypeAlias = node;\n    this.countDeclarationsWithDuplicateName(tsTypeAlias.name, tsTypeAlias);\n  }\n  handleImportClause(node) {\n    const tsImportClause = node;\n    if (tsImportClause.name) {\n      this.countDeclarationsWithDuplicateName(tsImportClause.name, tsImportClause);\n    }\n    if (tsImportClause.namedBindings && isNamedImports(tsImportClause.namedBindings)) {\n      const nonDefaultSpecs = [];\n      let defaultSpec;\n      for (const importSpec of tsImportClause.namedBindings.elements) {\n        if (isDefaultImport2(importSpec)) {\n          defaultSpec = importSpec;\n        } else\n          nonDefaultSpecs.push(importSpec);\n      }\n      if (defaultSpec) {\n        let autofix;\n        this.incrementCounters(defaultSpec, 59 /* DefaultImport */, true, autofix);\n      }\n    }\n  }\n  handleImportSpecifier(node) {\n    const tsImportSpecifier = node;\n    this.countDeclarationsWithDuplicateName(tsImportSpecifier.name, tsImportSpecifier);\n  }\n  handleNamespaceImport(node) {\n    const tsNamespaceImport = node;\n    this.countDeclarationsWithDuplicateName(tsNamespaceImport.name, tsNamespaceImport);\n  }\n  handleTypeAssertionExpression(node) {\n    const tsTypeAssertion = node;\n    if (tsTypeAssertion.type.getText() === \"const\") {\n      this.incrementCounters(tsTypeAssertion, 75 /* ConstAssertion */);\n    } else {\n      this.incrementCounters(node, 40 /* TypeAssertion */);\n    }\n  }\n  handleMethodDeclaration(node) {\n    var _a2, _b;\n    const tsMethodDecl = node;\n    const hasThis = this.functionContainsThis(tsMethodDecl);\n    let isStatic2 = false;\n    if (tsMethodDecl.modifiers) {\n      for (const mod of tsMethodDecl.modifiers) {\n        if (mod.kind === 125 /* StaticKeyword */) {\n          isStatic2 = true;\n          break;\n        }\n      }\n    }\n    if (isStatic2 && hasThis) {\n      this.incrementCounters(node, 49 /* FunctionContainsThis */);\n    }\n    if (!tsMethodDecl.type) {\n      this.handleMissingReturnType(tsMethodDecl);\n    }\n    if (tsMethodDecl.asteriskToken) {\n      this.incrementCounters(node, 48 /* GeneratorFunction */);\n    }\n    this.handleDecorators(getDecorators(tsMethodDecl));\n    this.filterOutDecoratorsDiagnostics(\n      getDecorators(tsMethodDecl),\n      NON_RETURN_FUNCTION_DECORATORS,\n      { begin: tsMethodDecl.parameters.end, end: (_b = (_a2 = tsMethodDecl.body) == null ? void 0 : _a2.getStart()) != null ? _b : tsMethodDecl.parameters.end },\n      FUNCTION_HAS_NO_RETURN_ERROR_CODE\n    );\n  }\n  handleIdentifier(node) {\n    const tsIdentifier = node;\n    const tsIdentSym = trueSymbolAtLocation(tsIdentifier);\n    if (!tsIdentSym) {\n      return;\n    }\n    if ((tsIdentSym.flags & 1536 /* Module */) !== 0 && (tsIdentSym.flags & 33554432 /* Transient */) !== 0 && tsIdentifier.text === \"globalThis\") {\n      this.incrementCounters(node, 71 /* GlobalThis */);\n    } else {\n      this.handleRestrictedValues(tsIdentifier, tsIdentSym);\n    }\n  }\n  isAllowedClassValueContext(tsIdentifier) {\n    let ctx = tsIdentifier;\n    while (isPropertyAccessExpression(ctx.parent) || isQualifiedName(ctx.parent)) {\n      ctx = ctx.parent;\n    }\n    if (isPropertyAssignment(ctx.parent) && isObjectLiteralExpression(ctx.parent.parent)) {\n      ctx = ctx.parent.parent;\n    }\n    if (isArrowFunction(ctx.parent) && ctx.parent.body === ctx) {\n      ctx = ctx.parent;\n    }\n    if (isCallExpression(ctx.parent) || isNewExpression(ctx.parent)) {\n      const callee = ctx.parent.expression;\n      const isAny = isAnyType(_TypeScriptLinter.tsTypeChecker.getTypeAtLocation(callee));\n      const isDynamic = isAny || hasLibraryType(callee);\n      if (callee !== ctx && isDynamic) {\n        return true;\n      }\n    }\n    return false;\n  }\n  handleRestrictedValues(tsIdentifier, tsIdentSym) {\n    const illegalValues = 128 /* ConstEnum */ | 256 /* RegularEnum */ | 512 /* ValueModule */ | 32 /* Class */;\n    if ((tsIdentSym.flags & 512 /* ValueModule */) !== 0) {\n      if (!!tsIdentSym && symbolHasDuplicateName(tsIdentSym, 270 /* ModuleDeclaration */)) {\n        return;\n      }\n    }\n    if ((tsIdentSym.flags & illegalValues) === 0 || isStruct2(tsIdentSym) || !this.identiferUseInValueContext(tsIdentifier, tsIdentSym)) {\n      return;\n    }\n    if ((tsIdentSym.flags & 32 /* Class */) !== 0) {\n      if (this.isAllowedClassValueContext(tsIdentifier)) {\n        return;\n      }\n    }\n    if (tsIdentSym.flags & 512 /* ValueModule */) {\n      this.incrementCounters(tsIdentifier, 45 /* NamespaceAsObject */);\n    } else {\n      this.incrementCounters(tsIdentifier, 46 /* ClassAsObject */);\n    }\n  }\n  identiferUseInValueContext(ident, tsSym) {\n    let qualifiedStart = ident;\n    while (isPropertyAccessExpression(qualifiedStart.parent) || isQualifiedName(qualifiedStart.parent)) {\n      qualifiedStart = qualifiedStart.parent;\n    }\n    const parent2 = qualifiedStart.parent;\n    return !(isTypeNode(parent2) && !isTypeOfExpression(parent2) || this.isEnumPropAccess(ident, tsSym, parent2) || isExpressionWithTypeArguments(parent2) || isExportAssignment(parent2) || isExportSpecifier(parent2) || isMetaProperty(parent2) || isImportClause(parent2) || isClassLike(parent2) || isInterfaceDeclaration(parent2) || isModuleDeclaration(parent2) || isEnumDeclaration(parent2) || isNamespaceImport(parent2) || isImportSpecifier(parent2) || isImportEqualsDeclaration(parent2) || isQualifiedName(qualifiedStart) && ident !== qualifiedStart.right || isPropertyAccessExpression(qualifiedStart) && ident !== qualifiedStart.name || isNewExpression(qualifiedStart.parent) && qualifiedStart === qualifiedStart.parent.expression || isBinaryExpression(qualifiedStart.parent) && qualifiedStart.parent.operatorToken.kind === 103 /* InstanceOfKeyword */);\n  }\n  isEnumPropAccess(ident, tsSym, context) {\n    return isElementAccessExpression(context) && !!(tsSym.flags & 384 /* Enum */) && (context.expression == ident || isPropertyAccessExpression(context.expression) && context.expression.name === ident);\n  }\n  handleElementAccessExpression(node) {\n    const tsElementAccessExpr = node;\n    const tsElemAccessBaseExprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsElementAccessExpr.expression);\n    const tsElemAccessBaseExprTypeNode = _TypeScriptLinter.tsTypeChecker.typeToTypeNode(tsElemAccessBaseExprType, void 0, 0 /* None */);\n    const isDerivedFromArray = isDerivedFrom(tsElemAccessBaseExprType, 0 /* Array */);\n    const checkClassOrInterface = tsElemAccessBaseExprType.isClassOrInterface() && !isGenericArrayType(tsElemAccessBaseExprType) && !isDerivedFromArray;\n    const checkThisOrSuper = isThisOrSuperExpr(tsElementAccessExpr.expression) && !isDerivedFromArray;\n    if (!isLibraryType(tsElemAccessBaseExprType) && !isTypedArray(tsElemAccessBaseExprTypeNode) && (checkClassOrInterface || isObjectLiteralType2(tsElemAccessBaseExprType) || checkThisOrSuper)) {\n      let autofix = fixPropertyAccessByIndex(node);\n      const autofixable = autofix !== void 0;\n      if (!shouldAutofix(node, 50 /* PropertyAccessByIndex */)) {\n        autofix = void 0;\n      }\n      this.incrementCounters(node, 50 /* PropertyAccessByIndex */, autofixable, autofix);\n    }\n    if (hasEsObjectType(tsElementAccessExpr.expression)) {\n      this.incrementCounters(node, 83 /* EsObjectType */);\n    }\n  }\n  handleEnumMember(node) {\n    const tsEnumMember = node;\n    const tsEnumMemberType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsEnumMember);\n    const constVal = _TypeScriptLinter.tsTypeChecker.getConstantValue(tsEnumMember);\n    if (tsEnumMember.initializer && !isValidEnumMemberInit(tsEnumMember.initializer)) {\n      this.incrementCounters(node, 52 /* EnumMemberNonConstInit */);\n    }\n    const enumDecl = tsEnumMember.parent;\n    const firstEnumMember = enumDecl.members[0];\n    const firstEnumMemberType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(firstEnumMember);\n    const firstElewmVal = _TypeScriptLinter.tsTypeChecker.getConstantValue(firstEnumMember);\n    if (constVal !== void 0 && typeof constVal === \"string\" && firstElewmVal !== void 0 && typeof firstElewmVal === \"string\") {\n      return;\n    }\n    if (constVal !== void 0 && typeof constVal === \"number\" && firstElewmVal !== void 0 && typeof firstElewmVal === \"number\") {\n      return;\n    }\n    if (firstEnumMemberType !== tsEnumMemberType) {\n      this.incrementCounters(node, 52 /* EnumMemberNonConstInit */);\n    }\n  }\n  handleExportAssignment(node) {\n    const exportAssignment = node;\n    if (exportAssignment.isExportEquals) {\n      this.incrementCounters(node, 60 /* ExportAssignment */);\n    }\n  }\n  handleCallExpression(node) {\n    const tsCallExpr = node;\n    const calleeSym = trueSymbolAtLocation(tsCallExpr.expression);\n    const calleeType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsCallExpr.expression);\n    const callSignature = _TypeScriptLinter.tsTypeChecker.getResolvedSignature(tsCallExpr);\n    this.handleImportCall(tsCallExpr);\n    this.handleRequireCall(tsCallExpr);\n    if (calleeSym !== void 0) {\n      this.handleStdlibAPICall(tsCallExpr, calleeSym);\n      this.handleFunctionApplyBindPropCall(tsCallExpr, calleeSym);\n      if (symbolHasEsObjectType(calleeSym)) {\n        this.incrementCounters(tsCallExpr, 83 /* EsObjectType */);\n      }\n    }\n    if (callSignature !== void 0) {\n      if (!isLibrarySymbol(calleeSym)) {\n        this.handleGenericCallWithNoTypeArgs(tsCallExpr, callSignature);\n      }\n      this.handleStructIdentAndUndefinedInArgs(tsCallExpr, callSignature);\n    }\n    this.handleLibraryTypeCall(tsCallExpr, calleeType);\n    if (isPropertyAccessExpression(tsCallExpr.expression) && hasEsObjectType(tsCallExpr.expression.expression)) {\n      this.incrementCounters(node, 83 /* EsObjectType */);\n    }\n  }\n  handleImportCall(tsCallExpr) {\n    if (tsCallExpr.expression.kind === 101 /* ImportKeyword */) {\n      const tsArgs = tsCallExpr.arguments;\n      if (tsArgs.length > 1 && isObjectLiteralExpression(tsArgs[1])) {\n        const objLitExpr = tsArgs[1];\n        for (const tsProp of objLitExpr.properties) {\n          if (isPropertyAssignment(tsProp) || isShorthandPropertyAssignment(tsProp)) {\n            if (tsProp.name.getText() === \"assert\") {\n              this.incrementCounters(tsProp, 76 /* ImportAssertion */);\n              break;\n            }\n          }\n        }\n      }\n    }\n  }\n  handleRequireCall(tsCallExpr) {\n    if (isIdentifier(tsCallExpr.expression) && tsCallExpr.expression.text === \"require\" && isVariableDeclaration(tsCallExpr.parent)) {\n      const tsType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsCallExpr.expression);\n      if (isInterfaceType(tsType) && tsType.symbol.name === \"NodeRequire\") {\n        this.incrementCounters(tsCallExpr.parent, 61 /* ImportAssignment */);\n      }\n    }\n  }\n  handleGenericCallWithNoTypeArgs(callLikeExpr, callSignature) {\n    var _a2, _b;\n    const tsSyntaxKind = isNewExpression(callLikeExpr) ? 176 /* Constructor */ : 263 /* FunctionDeclaration */;\n    const signDecl = _TypeScriptLinter.tsTypeChecker.signatureToSignatureDeclaration(\n      callSignature,\n      tsSyntaxKind,\n      void 0,\n      32 /* WriteTypeArgumentsOfSignature */ | 70221824 /* IgnoreErrors */\n    );\n    if (signDecl == null ? void 0 : signDecl.typeArguments) {\n      const resolvedTypeArgs = signDecl.typeArguments;\n      const startTypeArg = (_b = (_a2 = callLikeExpr.typeArguments) == null ? void 0 : _a2.length) != null ? _b : 0;\n      for (let i = startTypeArg; i < resolvedTypeArgs.length; ++i) {\n        const typeNode = resolvedTypeArgs[i];\n        if (typeNode.kind === 159 /* UnknownKeyword */) {\n          this.incrementCounters(callLikeExpr, 62 /* GenericCallNoTypeArgs */);\n          break;\n        }\n      }\n    }\n  }\n  handleFunctionApplyBindPropCall(tsCallExpr, calleeSym) {\n    const exprName = _TypeScriptLinter.tsTypeChecker.getFullyQualifiedName(calleeSym);\n    if (_TypeScriptLinter.listApplyBindCallApis.includes(exprName)) {\n      this.incrementCounters(tsCallExpr, 74 /* FunctionApplyBindCall */);\n    }\n  }\n  handleStructIdentAndUndefinedInArgs(tsCallOrNewExpr, callSignature) {\n    if (!tsCallOrNewExpr.arguments) {\n      return;\n    }\n    for (let argIndex = 0; argIndex < tsCallOrNewExpr.arguments.length; ++argIndex) {\n      const tsArg = tsCallOrNewExpr.arguments[argIndex];\n      const tsArgType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsArg);\n      if (!tsArgType)\n        continue;\n      let paramIndex = argIndex < callSignature.parameters.length ? argIndex : callSignature.parameters.length - 1;\n      let tsParamSym = callSignature.parameters[paramIndex];\n      if (!tsParamSym)\n        continue;\n      const tsParamDecl = tsParamSym.valueDeclaration;\n      if (tsParamDecl && isParameter(tsParamDecl)) {\n        let tsParamType = _TypeScriptLinter.tsTypeChecker.getTypeOfSymbolAtLocation(tsParamSym, tsParamDecl);\n        if (tsParamDecl.dotDotDotToken && isGenericArrayType(tsParamType) && tsParamType.typeArguments) {\n          tsParamType = tsParamType.typeArguments[0];\n        }\n        if (!tsParamType)\n          continue;\n        if (needToDeduceStructuralIdentity(tsArgType, tsParamType)) {\n          this.incrementCounters(tsArg, 58 /* StructuralIdentity */);\n        }\n      }\n    }\n  }\n  handleStdlibAPICall(callExpr, calleeSym) {\n    const name = calleeSym.getName();\n    const parName = getParentSymbolName(calleeSym);\n    if (parName === void 0) {\n      if (LIMITED_STD_GLOBAL_FUNC.includes(name)) {\n        this.incrementCounters(callExpr, 78 /* LimitedStdLibApi */);\n        return;\n      }\n      let escapedName = calleeSym.escapedName;\n      if (escapedName === \"Symbol\" || escapedName === \"SymbolConstructor\") {\n        this.incrementCounters(callExpr, 1 /* SymbolType */);\n      }\n      return;\n    }\n    let lookup = _TypeScriptLinter.LimitedApis.get(parName);\n    if (lookup !== void 0 && (lookup.arr === null || lookup.arr.includes(name))) {\n      this.incrementCounters(callExpr, lookup.fault);\n    }\n    ;\n  }\n  findNonFilteringRangesFunctionCalls(callExpr) {\n    let args = callExpr.arguments;\n    let result = [];\n    for (const arg of args) {\n      if (isArrowFunction(arg)) {\n        let arrowFuncExpr = arg;\n        result.push({ begin: arrowFuncExpr.body.pos, end: arrowFuncExpr.body.end });\n      } else if (isCallExpression(arg)) {\n        result.push({ begin: arg.arguments.pos, end: arg.arguments.end });\n      }\n    }\n    return result;\n  }\n  handleLibraryTypeCall(callExpr, calleeType) {\n    let inLibCall = isLibraryType(calleeType);\n    const diagnosticMessages = [];\n    this.libraryTypeCallDiagnosticChecker.configure(inLibCall, diagnosticMessages);\n    let nonFilteringRanges = this.findNonFilteringRangesFunctionCalls(callExpr);\n    let rangesToFilter = [];\n    if (nonFilteringRanges.length !== 0) {\n      let rangesSize = nonFilteringRanges.length;\n      rangesToFilter.push({ begin: callExpr.arguments.pos, end: nonFilteringRanges[0].begin });\n      rangesToFilter.push({ begin: nonFilteringRanges[rangesSize - 1].end, end: callExpr.arguments.end });\n      for (let i = 0; i < rangesSize - 1; i++) {\n        rangesToFilter.push({ begin: nonFilteringRanges[i].end, end: nonFilteringRanges[i + 1].begin });\n      }\n    } else {\n      rangesToFilter.push({ begin: callExpr.arguments.pos, end: callExpr.arguments.end });\n    }\n    this.filterStrictDiagnostics(\n      {\n        [ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE]: (pos) => {\n          return this.checkInRange([{ begin: callExpr.pos, end: callExpr.end }], pos);\n        },\n        [NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE]: (pos) => {\n          return this.checkInRange([{ begin: callExpr.pos, end: callExpr.end }], pos);\n        },\n        [TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE]: (pos) => {\n          return this.checkInRange(rangesToFilter, pos);\n        }\n      },\n      this.libraryTypeCallDiagnosticChecker\n    );\n    for (const msgChain of diagnosticMessages) {\n      _TypeScriptLinter.filteredDiagnosticMessages.push(msgChain);\n    }\n  }\n  handleNewExpression(node) {\n    const tsNewExpr = node;\n    let callSignature = _TypeScriptLinter.tsTypeChecker.getResolvedSignature(tsNewExpr);\n    if (callSignature !== void 0) {\n      this.handleStructIdentAndUndefinedInArgs(tsNewExpr, callSignature);\n      this.handleGenericCallWithNoTypeArgs(tsNewExpr, callSignature);\n    }\n  }\n  handleAsExpression(node) {\n    var _a2, _b;\n    const tsAsExpr = node;\n    if (tsAsExpr.type.getText() === \"const\")\n      this.incrementCounters(node, 75 /* ConstAssertion */);\n    const targetType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsAsExpr.type).getNonNullableType();\n    const exprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(tsAsExpr.expression).getNonNullableType();\n    if (needToDeduceStructuralIdentity(exprType, targetType, true)) {\n      this.incrementCounters(tsAsExpr, 58 /* StructuralIdentity */);\n    }\n    if (isNumberType(exprType) && ((_a2 = targetType.getSymbol()) == null ? void 0 : _a2.getName()) === \"Number\" || isBooleanType(exprType) && ((_b = targetType.getSymbol()) == null ? void 0 : _b.getName()) === \"Boolean\") {\n      this.incrementCounters(node, 40 /* TypeAssertion */);\n    }\n  }\n  handleTypeReference(node) {\n    const typeRef = node;\n    const isESObject = isEsObjectType(typeRef);\n    const isPossiblyValidContext = isEsObjectPossiblyAllowed(typeRef);\n    if (isESObject && !isPossiblyValidContext) {\n      this.incrementCounters(node, 83 /* EsObjectType */);\n      return;\n    }\n    const typeName = entityNameToString2(typeRef.typeName);\n    const isStdUtilityType = LIMITED_STANDARD_UTILITY_TYPES.includes(typeName);\n    if (isStdUtilityType) {\n      this.incrementCounters(node, 72 /* UtilityType */);\n      return;\n    }\n    const isStdPartial = entityNameToString2(typeRef.typeName) === \"Partial\";\n    const hasSingleTypeArgument = !!typeRef.typeArguments && typeRef.typeArguments.length === 1;\n    const firstTypeArg = !!typeRef.typeArguments && hasSingleTypeArgument && typeRef.typeArguments[0];\n    const argType = firstTypeArg && _TypeScriptLinter.tsTypeChecker.getTypeFromTypeNode(firstTypeArg);\n    if (isStdPartial && argType && !argType.isClassOrInterface()) {\n      this.incrementCounters(node, 72 /* UtilityType */);\n      return;\n    }\n  }\n  handleMetaProperty(node) {\n    const tsMetaProperty = node;\n    if (tsMetaProperty.name.text === \"target\") {\n      this.incrementCounters(node, 68 /* NewTarget */);\n    }\n  }\n  handleStructDeclaration(node) {\n    node.forEachChild((child) => {\n      if (!isConstructorDeclaration(child))\n        this.visitTSNode(child);\n    });\n  }\n  handleSpreadOp(node) {\n    if (isSpreadElement(node)) {\n      const spreadElemNode = node;\n      const spreadExprType = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(spreadElemNode.expression);\n      if (spreadExprType) {\n        const spreadExprTypeNode = _TypeScriptLinter.tsTypeChecker.typeToTypeNode(spreadExprType, void 0, 0 /* None */);\n        if (spreadExprTypeNode !== void 0 && (isCallLikeExpression(node.parent) || isArrayLiteralExpression(node.parent))) {\n          if (isArrayTypeNode(spreadExprTypeNode) || isTypedArray(spreadExprTypeNode) || isDerivedFrom(spreadExprType, 0 /* Array */)) {\n            return;\n          }\n        }\n      }\n    }\n    this.incrementCounters(node, 77 /* SpreadOperator */);\n  }\n  handleConstructSignature(node) {\n    switch (node.parent.kind) {\n      case 187 /* TypeLiteral */:\n        this.incrementCounters(node, 36 /* ConstructorType */);\n        break;\n      case 267 /* InterfaceDeclaration */:\n        this.incrementCounters(node, 37 /* ConstructorIface */);\n        break;\n      default:\n        return;\n    }\n  }\n  handleComments(node) {\n    const srcText = node.getSourceFile().getFullText();\n    const parent2 = node.parent;\n    if (!parent2 || parent2.getFullStart() !== node.getFullStart()) {\n      const leadingComments = getLeadingCommentRanges(srcText, node.getFullStart());\n      if (leadingComments) {\n        for (const comment of leadingComments) {\n          this.checkErrorSuppressingAnnotation(comment, srcText);\n        }\n      }\n    }\n    if (!parent2 || parent2.getEnd() !== node.getEnd()) {\n      const trailingComments = getTrailingCommentRanges(srcText, node.getEnd());\n      if (trailingComments) {\n        for (const comment of trailingComments) {\n          this.checkErrorSuppressingAnnotation(comment, srcText);\n        }\n      }\n    }\n  }\n  handleExpressionWithTypeArguments(node) {\n    const tsTypeExpr = node;\n    const symbol = trueSymbolAtLocation(tsTypeExpr.expression);\n    if (!!symbol && isEsObjectSymbol(symbol)) {\n      this.incrementCounters(tsTypeExpr, 83 /* EsObjectType */);\n    }\n  }\n  handleComputedPropertyName(node) {\n    const computedProperty = node;\n    const symbol = trueSymbolAtLocation(computedProperty.expression);\n    if (!!symbol && isSymbolIterator(symbol)) {\n      return;\n    }\n    this.incrementCounters(node, 4 /* ComputedPropertyName */);\n  }\n  checkErrorSuppressingAnnotation(comment, srcText) {\n    const commentContent = comment.kind === 3 /* MultiLineCommentTrivia */ ? srcText.slice(comment.pos + 2, comment.end - 2) : srcText.slice(comment.pos + 2, comment.end);\n    if (commentContent.endsWith(\"\\n\")) {\n      return;\n    }\n    const trimmedContent = commentContent.trim();\n    if (trimmedContent.startsWith(\"@ts-ignore\") || trimmedContent.startsWith(\"@ts-nocheck\") || trimmedContent.startsWith(\"@ts-expect-error\")) {\n      this.incrementCounters(comment, 79 /* ErrorSuppression */);\n    }\n  }\n  handleDecorators(decorators) {\n    if (!decorators)\n      return;\n    for (const decorator of decorators) {\n      let decoratorName = \"\";\n      if (isIdentifier(decorator.expression)) {\n        decoratorName = decorator.expression.text;\n      } else if (isCallExpression(decorator.expression) && isIdentifier(decorator.expression.expression)) {\n        decoratorName = decorator.expression.expression.text;\n      }\n      if (!ARKUI_DECORATORS.includes(decoratorName)) {\n        this.incrementCounters(decorator, 81 /* UnsupportedDecorators */);\n      }\n    }\n  }\n  handleGetAccessor(node) {\n    this.handleDecorators(getDecorators(node));\n  }\n  handleSetAccessor(node) {\n    this.handleDecorators(getDecorators(node));\n  }\n  handleDeclarationInferredType(decl) {\n    if (decl.type)\n      return;\n    if (isCatchClause(decl.parent))\n      return;\n    if (isArrayBindingPattern(decl.name) || isObjectBindingPattern(decl.name))\n      return;\n    const type = _TypeScriptLinter.tsTypeChecker.getTypeAtLocation(decl);\n    if (type)\n      this.validateDeclInferredType(type, decl);\n  }\n  handleDefiniteAssignmentAssertion(decl) {\n    if (decl.exclamationToken !== void 0) {\n      this.incrementCounters(decl, 69 /* DefiniteAssignment */);\n    }\n  }\n  checkAnyOrUnknownChildNode(node) {\n    if (node.kind === 132 /* AnyKeyword */ || node.kind === 159 /* UnknownKeyword */) {\n      return true;\n    }\n    const isAnyOrUnknown = forEachChild(node, (child) => {\n      if (this.checkAnyOrUnknownChildNode(child)) {\n        return true;\n      }\n      return void 0;\n    });\n    return !!isAnyOrUnknown;\n  }\n  handleInferredObjectreference(type, decl) {\n    const typeArgs = _TypeScriptLinter.tsTypeChecker.getTypeArguments(type);\n    if (typeArgs) {\n      const haveAnyOrUnknownNodes = this.checkAnyOrUnknownChildNode(decl);\n      if (!haveAnyOrUnknownNodes) {\n        for (const typeArg of typeArgs) {\n          this.validateDeclInferredType(typeArg, decl);\n        }\n      }\n    }\n  }\n  validateDeclInferredType(type, decl) {\n    if (type.aliasSymbol !== void 0) {\n      return;\n    }\n    const isObject2 = type.flags & 524288 /* Object */;\n    const isReference = type.objectFlags & 4 /* Reference */;\n    if (isObject2 && isReference) {\n      this.handleInferredObjectreference(type, decl);\n      return;\n    }\n    if (this.validatedTypesSet.has(type)) {\n      return;\n    }\n    if (type.isUnion()) {\n      this.validatedTypesSet.add(type);\n      for (let unionElem of type.types) {\n        this.validateDeclInferredType(unionElem, decl);\n      }\n    }\n    if (isAnyType(type)) {\n      this.incrementCounters(decl, 0 /* AnyType */);\n    } else if (isUnknownType(type)) {\n      this.incrementCounters(decl, 18 /* UnknownType */);\n    }\n  }\n  handleClassStaticBlockDeclaration(node) {\n    if (this.skipArkTSStaticBlocksCheck) {\n      return;\n    }\n    const classStaticBlockDecl = node;\n    if (!isClassDeclaration(classStaticBlockDecl.parent)) {\n      return;\n    }\n    if (this.functionContainsThis(node)) {\n      this.incrementCounters(node, 49 /* FunctionContainsThis */);\n    }\n  }\n  lint() {\n    this.visitTSNode(this.sourceFile);\n  }\n};\nvar TypeScriptLinter = _TypeScriptLinter;\nTypeScriptLinter.reportDiagnostics = true;\nTypeScriptLinter.problemsInfos = [];\nTypeScriptLinter.filteredDiagnosticMessages = [];\nTypeScriptLinter.listApplyBindCallApis = [\n  \"Function.apply\",\n  \"Function.call\",\n  \"Function.bind\",\n  \"CallableFunction.apply\",\n  \"CallableFunction.call\",\n  \"CallableFunction.bind\"\n];\nTypeScriptLinter.LimitedApis = new Map2([\n  [\"global\", { arr: LIMITED_STD_GLOBAL_FUNC, fault: 78 /* LimitedStdLibApi */ }],\n  [\"Object\", { arr: LIMITED_STD_OBJECT_API, fault: 78 /* LimitedStdLibApi */ }],\n  [\"ObjectConstructor\", { arr: LIMITED_STD_OBJECT_API, fault: 78 /* LimitedStdLibApi */ }],\n  [\"Reflect\", { arr: LIMITED_STD_REFLECT_API, fault: 78 /* LimitedStdLibApi */ }],\n  [\"ProxyHandler\", { arr: LIMITED_STD_PROXYHANDLER_API, fault: 78 /* LimitedStdLibApi */ }],\n  [\"Symbol\", { arr: null, fault: 1 /* SymbolType */ }],\n  [\"SymbolConstructor\", { arr: null, fault: 1 /* SymbolType */ }]\n]);\n\n// src/linter/ArkTSLinter_1_0/TSDiagnostics.ts\nvar TSCCompiledProgram = class {\n  constructor(program) {\n    this.diagnosticsExtractor = new TypeScriptDiagnosticsExtractor(program);\n  }\n  getProgram() {\n    return this.diagnosticsExtractor.nonStrictProgram.getProgram();\n  }\n  getBuilderProgram() {\n    return this.diagnosticsExtractor.nonStrictProgram;\n  }\n  getStrictDiagnostics(fileName) {\n    return this.diagnosticsExtractor.getStrictDiagnostics(fileName);\n  }\n  doAllGetDiagnostics() {\n    this.diagnosticsExtractor.doAllGetDiagnostics();\n  }\n};\nvar TypeScriptDiagnosticsExtractor = class {\n  constructor(nonStrictProgram) {\n    this.nonStrictProgram = nonStrictProgram;\n  }\n  getStrictDiagnostics(fileName) {\n    const strict = getAllDiagnostics(this.nonStrictProgram, fileName, true).filter(\n      (diag2) => !(diag2.length === 0 && diag2.start === 0)\n    );\n    const nonStrict = getAllDiagnostics(this.nonStrictProgram, fileName, false);\n    const nonStrictHashes = nonStrict.reduce((result, value) => {\n      const hash = hashDiagnostic(value);\n      if (hash) {\n        result.add(hash);\n      }\n      return result;\n    }, new Set2());\n    return strict.filter((value) => {\n      const hash = hashDiagnostic(value);\n      return hash && !nonStrictHashes.has(hash);\n    });\n  }\n  doAllGetDiagnostics() {\n    var _a2;\n    const timePrinterInstance = ArkTSLinterTimePrinter.getInstance();\n    this.nonStrictProgram.getSemanticDiagnostics();\n    timePrinterInstance.appendTime(\"nonStrictProgramGetSemanticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n    this.nonStrictProgram.getSyntacticDiagnostics();\n    timePrinterInstance.appendTime(\"nonStrictProgramGetSyntacticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SYNTACTIC_DIAGNOSTICS */);\n    (_a2 = this.nonStrictProgram.builderProgramForLinter) == null ? void 0 : _a2.getSemanticDiagnostics();\n    timePrinterInstance.appendTime(\"strictProgramGetSemanticDiagnostics\" /* STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n  }\n};\nfunction getAllDiagnostics(builderProgram, fileName, isStrict = false) {\n  let program = builderProgram.getProgram();\n  const sourceFile = program.getSourceFile(fileName);\n  const syntacticDiagnostics = program.getSyntacticDiagnostics(sourceFile);\n  if (isStrict) {\n    if (!builderProgram.builderProgramForLinter) {\n      return [];\n    }\n    return builderProgram.builderProgramForLinter.getSemanticDiagnostics(sourceFile).concat(syntacticDiagnostics).filter((diag2) => diag2.file === sourceFile);\n  }\n  return builderProgram.getSemanticDiagnostics(sourceFile).concat(syntacticDiagnostics).filter((diag2) => diag2.file === sourceFile);\n}\nfunction hashDiagnostic(diagnostic) {\n  if (diagnostic.start === void 0 || diagnostic.length === void 0) {\n    return void 0;\n  }\n  return `${diagnostic.code}%${diagnostic.start}%${diagnostic.length}`;\n}\n\n// src/linter/ArkTSLinter_1_0/LinterRunner.ts\nfunction makeDiag(category, code, file, start, length2, messageText) {\n  return { category, code, file, start, length: length2, messageText };\n}\nfunction translateDiag(srcFile, problemInfo) {\n  const LINTER_MSG_CODE_START = -1;\n  const severity = problemInfo.severity === 2 /* ERROR */ ? 1 /* Error */ : 0 /* Warning */;\n  return makeDiag(severity, LINTER_MSG_CODE_START, srcFile, problemInfo.start, problemInfo.end - problemInfo.start + 1, problemInfo.rule);\n}\nfunction runArkTSLinter(tsBuilderProgram, srcFile, buildInfoWriteFile, arkTSVersion) {\n  var _a2, _b;\n  TypeScriptLinter.errorLineNumbersString = \"\";\n  TypeScriptLinter.warningLineNumbersString = \"\";\n  let diagnostics = [];\n  LinterConfig.initStatic();\n  let programState = tsBuilderProgram.getState();\n  const oldDiagnostics = programState.arktsLinterDiagnosticsPerFile;\n  programState.arktsLinterDiagnosticsPerFile = new Map2();\n  const changedFiles = collectChangedFilesFromProgramState(programState, arkTSVersion);\n  programState.arkTSVersion = arkTSVersion;\n  const tscDiagnosticsLinter = new TSCCompiledProgram(tsBuilderProgram);\n  const program = tscDiagnosticsLinter.getProgram();\n  const timePrinterInstance = ArkTSLinterTimePrinter.getInstance();\n  timePrinterInstance.appendTime(\"init\" /* INIT */);\n  tscDiagnosticsLinter.doAllGetDiagnostics();\n  let srcFiles = [];\n  if (!!srcFile) {\n    srcFiles.push(srcFile);\n  } else {\n    srcFiles = program.getSourceFiles();\n  }\n  const tscStrictDiagnostics = getTscDiagnostics(tscDiagnosticsLinter, srcFiles.filter((file) => changedFiles.has(file.resolvedPath)));\n  timePrinterInstance.appendTime(\"getTscDiagnostics\" /* GET_TSC_DIAGNOSTICS */);\n  TypeScriptLinter.initGlobals();\n  for (const fileToLint of srcFiles) {\n    TypeScriptLinter.initStatic();\n    if (TypeScriptLinter.lintEtsOnly && fileToLint.scriptKind !== 8 /* ETS */) {\n      continue;\n    }\n    let currentDiagnostics;\n    if (changedFiles.has(fileToLint.resolvedPath)) {\n      const linter = new TypeScriptLinter(fileToLint, program, tscStrictDiagnostics);\n      setTypeChecker(TypeScriptLinter.tsTypeChecker);\n      linter.lint();\n      currentDiagnostics = (_a2 = tscStrictDiagnostics.get(normalizePath(fileToLint.fileName))) != null ? _a2 : [];\n      TypeScriptLinter.problemsInfos.forEach((x) => currentDiagnostics.push(translateDiag(fileToLint, x)));\n    } else {\n      currentDiagnostics = (_b = oldDiagnostics == null ? void 0 : oldDiagnostics.get(fileToLint.resolvedPath)) != null ? _b : [];\n    }\n    diagnostics.push(...currentDiagnostics);\n    programState.arktsLinterDiagnosticsPerFile.set(fileToLint.resolvedPath, currentDiagnostics);\n  }\n  timePrinterInstance.appendTime(\"lint\" /* LINT */);\n  if (!!buildInfoWriteFile) {\n    tscDiagnosticsLinter.getBuilderProgram().emitBuildInfo(buildInfoWriteFile);\n    timePrinterInstance.appendTime(\"emitBuildInfo\" /* EMIT_BUILD_INFO */);\n  }\n  releaseReferences();\n  return diagnostics;\n}\nfunction releaseReferences() {\n  TypeScriptLinter.clearQualifiedNameCache();\n  TypeScriptLinter.clearTsTypeChecker();\n  clearTypeChecker();\n  clearTrueSymbolAtLocationCache();\n}\nfunction collectChangedFilesFromProgramState(state, arkTSVersion) {\n  const changedFiles = new Set2(state.changedFilesSet);\n  if (state.arkTSVersion !== arkTSVersion) {\n    return new Set2(arrayFrom(state.fileInfos.keys()));\n  }\n  for (const changedFile of arrayFrom(changedFiles.keys())) {\n    const fileInfo = state.fileInfos.get(changedFile);\n    if (fileInfo == null ? void 0 : fileInfo.affectsGlobalScope) {\n      return new Set2(arrayFrom(state.fileInfos.keys()));\n    }\n  }\n  if (!state.referencedMap) {\n    return changedFiles;\n  }\n  const seenPaths = new Set2();\n  const queue = arrayFrom(changedFiles.keys());\n  while (queue.length) {\n    const path = queue.pop();\n    if (!seenPaths.has(path)) {\n      seenPaths.add(path);\n      queue.push(...BuilderState.getReferencedByPaths(state, path));\n    }\n  }\n  return seenPaths;\n}\nfunction getTscDiagnostics(tscDiagnosticsLinter, sourceFiles) {\n  const strictDiagnostics = new Map2();\n  sourceFiles.forEach((file) => {\n    const diagnostics = tscDiagnosticsLinter.getStrictDiagnostics(file.fileName);\n    if (diagnostics.length !== 0) {\n      strictDiagnostics.set(normalizePath(file.fileName), diagnostics);\n    }\n  });\n  return strictDiagnostics;\n}\n\n// src/linter/_namespaces/ts.ArkTSLinter_1_1.ts\nvar ts_ArkTSLinter_1_1_exports = {};\n__export(ts_ArkTSLinter_1_1_exports, {\n  ALLOWED_STD_SYMBOL_API: () => ALLOWED_STD_SYMBOL_API2,\n  ARGUMENT_OF_TYPE: () => ARGUMENT_OF_TYPE,\n  ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE: () => ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE2,\n  ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE: () => ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE2,\n  ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE: () => ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE2,\n  ARKTS_COLLECTIONS_D_ETS: () => ARKTS_COLLECTIONS_D_ETS,\n  ARKTS_IGNORE_DIRS: () => ARKTS_IGNORE_DIRS2,\n  ARKTS_IGNORE_DIRS_OH_MODULES: () => ARKTS_IGNORE_DIRS_OH_MODULES,\n  ARKTS_IGNORE_DIRS_STRICT_OH_MODULES_CHECK: () => ARKTS_IGNORE_DIRS_STRICT_OH_MODULES_CHECK,\n  ARKTS_IGNORE_FILES: () => ARKTS_IGNORE_FILES2,\n  ARKTS_LANG_D_ETS: () => ARKTS_LANG_D_ETS,\n  AUTOFIX_ALL: () => AUTOFIX_ALL2,\n  COLLECTIONS_NAMESPACE: () => COLLECTIONS_NAMESPACE,\n  CONCURRENT_DECORATOR: () => CONCURRENT_DECORATOR,\n  D_TS: () => D_TS,\n  ES_OBJECT: () => ES_OBJECT2,\n  ErrorType: () => ErrorType,\n  FUNCTION_HAS_NO_RETURN_ERROR_CODE: () => FUNCTION_HAS_NO_RETURN_ERROR_CODE2,\n  FaultAttributes: () => FaultAttributes,\n  FaultID: () => FaultID2,\n  ISENDABLE_TYPE: () => ISENDABLE_TYPE,\n  IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE: () => IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE,\n  IS_NOT_ASSIGNABLE_TO_TYPE: () => IS_NOT_ASSIGNABLE_TO_TYPE,\n  InteropTypescriptLinter: () => InteropTypescriptLinter,\n  LANG_NAMESPACE: () => LANG_NAMESPACE,\n  LIMITED_STANDARD_UTILITY_TYPES: () => LIMITED_STANDARD_UTILITY_TYPES2,\n  LIMITED_STD_GLOBAL_FUNC: () => LIMITED_STD_GLOBAL_FUNC2,\n  LIMITED_STD_OBJECT_API: () => LIMITED_STD_OBJECT_API2,\n  LIMITED_STD_PROXYHANDLER_API: () => LIMITED_STD_PROXYHANDLER_API2,\n  LIMITED_STD_REFLECT_API: () => LIMITED_STD_REFLECT_API2,\n  LibraryTypeCallDiagnosticChecker: () => LibraryTypeCallDiagnosticChecker2,\n  LinterConfig: () => LinterConfig2,\n  NON_INITIALIZABLE_PROPERTY_CLASS_DECORATORS: () => NON_INITIALIZABLE_PROPERTY_CLASS_DECORATORS,\n  NON_INITIALIZABLE_PROPERTY_DECORATORS: () => NON_INITIALIZABLE_PROPERTY_DECORATORS2,\n  NON_RETURN_FUNCTION_DECORATORS: () => NON_RETURN_FUNCTION_DECORATORS2,\n  NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE: () => NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE2,\n  OBJECT_IS_POSSIBLY_UNDEFINED_ERROR_CODE: () => OBJECT_IS_POSSIBLY_UNDEFINED_ERROR_CODE,\n  PROMISE: () => PROMISE,\n  PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE: () => PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE2,\n  ProblemSeverity: () => ProblemSeverity2,\n  SENDABLE_CLASS_DECORATOR_RULE: () => SENDABLE_CLASS_DECORATOR_RULE,\n  SENDABLE_CLOSURE_DECLS: () => SENDABLE_CLOSURE_DECLS,\n  SENDABLE_DECORATOR: () => SENDABLE_DECORATOR,\n  SENDABLE_DECORATOR_NODES: () => SENDABLE_DECORATOR_NODES,\n  SENDABLE_INTERFACE: () => SENDABLE_INTERFACE,\n  STANDARD_LIBRARIES: () => STANDARD_LIBRARIES2,\n  TASKGROUP: () => TASKGROUP,\n  TASKPOOL: () => TASKPOOL,\n  TASKPOOL_API: () => TASKPOOL_API,\n  TASK_LIST: () => TASK_LIST,\n  TSCCompiledProgram: () => TSCCompiledProgram2,\n  TYPE: () => TYPE,\n  TYPED_ARRAYS: () => TYPED_ARRAYS2,\n  TYPED_COLLECTIONS: () => TYPED_COLLECTIONS,\n  TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE: () => TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE2,\n  TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE: () => TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2,\n  TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE: () => TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2,\n  TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE: () => TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2,\n  TypeScriptLinter: () => TypeScriptLinter2,\n  USE_CONCURRENT: () => USE_CONCURRENT,\n  USE_SHARED: () => USE_SHARED,\n  autofixInfo: () => autofixInfo2,\n  checkTaskpoolFunction: () => checkTaskpoolFunction,\n  checkTypeSet: () => checkTypeSet,\n  clearTrueSymbolAtLocationCache: () => clearTrueSymbolAtLocationCache2,\n  clearTypeChecker: () => clearTypeChecker2,\n  clearUtilsGlobalvariables: () => clearUtilsGlobalvariables,\n  cookBookMsg: () => cookBookMsg2,\n  cookBookTag: () => cookBookTag2,\n  decodeAutofixInfo: () => decodeAutofixInfo2,\n  encodeProblemInfo: () => encodeProblemInfo2,\n  entityNameToString: () => entityNameToString3,\n  faultsAttrs: () => faultsAttrs2,\n  findParentIf: () => findParentIf2,\n  fixCtorParameterProperties: () => fixCtorParameterProperties2,\n  fixFunctionExpression: () => fixFunctionExpression2,\n  fixLiteralAsPropertyName: () => fixLiteralAsPropertyName2,\n  fixPropertyAccessByIndex: () => fixPropertyAccessByIndex2,\n  fixReturnType: () => fixReturnType2,\n  followIfAliased: () => followIfAliased2,\n  getAccessModifier: () => getAccessModifier2,\n  getCatchWithUnsupportedTypeHighlightRange: () => getCatchWithUnsupportedTypeHighlightRange,\n  getClassExpressionHighlightRange: () => getClassExpressionHighlightRange,\n  getConstAssertionHighlightRange: () => getConstAssertionHighlightRange,\n  getDeclWithDuplicateNameHighlightRange: () => getDeclWithDuplicateNameHighlightRange,\n  getDeclaration: () => getDeclaration3,\n  getDeclarationNode: () => getDeclarationNode,\n  getDecoratorName: () => getDecoratorName,\n  getDecoratorsIfInSendableClass: () => getDecoratorsIfInSendableClass,\n  getDeleteOperatorHighlightRange: () => getDeleteOperatorHighlightRange,\n  getEndPos: () => getEndPos3,\n  getForInStatementHighlightRange: () => getForInStatementHighlightRange,\n  getFunctionApplyCallHighlightRange: () => getFunctionApplyCallHighlightRange,\n  getHighlightRange: () => getHighlightRange,\n  getInstanceofUnsupportedHighlightRange: () => getInstanceofUnsupportedHighlightRange,\n  getKeywordHighlightRange: () => getKeywordHighlightRange,\n  getLimitedReturnTypeInferenceHighlightRange: () => getLimitedReturnTypeInferenceHighlightRange,\n  getLocalFunctionHighlightRange: () => getLocalFunctionHighlightRange,\n  getModifier: () => getModifier2,\n  getMultipleStaticBlocksHighlightRange: () => getMultipleStaticBlocksHighlightRange,\n  getNonNullableType: () => getNonNullableType2,\n  getNonSendableDecorators: () => getNonSendableDecorators,\n  getObjectLiteralNoContextTypeHighlightRange: () => getObjectLiteralNoContextTypeHighlightRange,\n  getParentSymbolName: () => getParentSymbolName2,\n  getScriptKind: () => getScriptKind3,\n  getSendableDecorator: () => getSendableDecorator,\n  getSendableDefiniteAssignmentHighlightRange: () => getSendableDefiniteAssignmentHighlightRange,\n  getStartPos: () => getStartPos2,\n  getSymbolDeclarationTypeNode: () => getSymbolDeclarationTypeNode2,\n  getSymbolOfCallExpression: () => getSymbolOfCallExpression2,\n  getTypeOrTypeConstraintAtLocation: () => getTypeOrTypeConstraintAtLocation,\n  getTypeQueryHighlightRange: () => getTypeQueryHighlightRange,\n  getVarDeclarationHighlightRange: () => getVarDeclarationHighlightRange,\n  getVariableDeclarationTypeNode: () => getVariableDeclarationTypeNode2,\n  getWithStatementHighlightRange: () => getWithStatementHighlightRange,\n  hasAccessModifier: () => hasAccessModifier2,\n  hasConcurrentDecoratorFunctionOverload: () => hasConcurrentDecoratorFunctionOverload,\n  hasEsObjectType: () => hasEsObjectType2,\n  hasLibraryType: () => hasLibraryType2,\n  hasMethods: () => hasMethods2,\n  hasModifier: () => hasModifier2,\n  hasPredecessor: () => hasPredecessor2,\n  hasSendableDecorator: () => hasSendableDecorator,\n  hasSendableDecoratorFunctionOverload: () => hasSendableDecoratorFunctionOverload,\n  hasSendableTypeAlias: () => hasSendableTypeAlias,\n  hasUseConcurrentDirective: () => hasUseConcurrentDirective,\n  isAllowedIndexSignature: () => isAllowedIndexSignature,\n  isAnonymous: () => isAnonymous,\n  isAnonymousType: () => isAnonymousType2,\n  isAnyType: () => isAnyType2,\n  isArkTSCollectionsArrayLikeType: () => isArkTSCollectionsArrayLikeType,\n  isArkTSCollectionsClassOrInterfaceDeclaration: () => isArkTSCollectionsClassOrInterfaceDeclaration,\n  isArkUIDecorator: () => isArkUIDecorator,\n  isArray: () => isArray2,\n  isArrayLikeType: () => isArrayLikeType,\n  isAssignmentOperator: () => isAssignmentOperator3,\n  isBooleanLikeType: () => isBooleanLikeType,\n  isCallToFunctionWithOmittedReturnType: () => isCallToFunctionWithOmittedReturnType2,\n  isCollectionArrayType: () => isCollectionArrayType,\n  isCompileTimeExpression: () => isCompileTimeExpression2,\n  isConcatArrayType: () => isConcatArrayType,\n  isConcurrentFunction: () => isConcurrentFunction,\n  isConst: () => isConst2,\n  isConstEnum: () => isConstEnum,\n  isDeclarationSymbol: () => isDeclarationSymbol,\n  isDefaultImport: () => isDefaultImport3,\n  isDestructuringAssignmentLHS: () => isDestructuringAssignmentLHS2,\n  isDisableSendableClassDecoratorCheck: () => isDisableSendableClassDecoratorCheck,\n  isDynamicLiteralInitializer: () => isDynamicLiteralInitializer2,\n  isDynamicType: () => isDynamicType2,\n  isEnum: () => isEnum,\n  isEnumMemberType: () => isEnumMemberType2,\n  isEnumStringLiteral: () => isEnumStringLiteral,\n  isEnumType: () => isEnumType2,\n  isEsObjectSymbol: () => isEsObjectSymbol2,\n  isEsObjectType: () => isEsObjectType2,\n  isFunctionOrMethod: () => isFunctionOrMethod2,\n  isFunctionSymbol: () => isFunctionSymbol3,\n  isGenericArrayType: () => isGenericArrayType2,\n  isGlobalSymbol: () => isGlobalSymbol2,\n  isISendableInterface: () => isISendableInterface,\n  isInImportWhiteList: () => isInImportWhiteList,\n  isIndexableArray: () => isIndexableArray,\n  isInsideBlock: () => isInsideBlock2,\n  isIntegerConstantValue: () => isIntegerConstantValue2,\n  isInterfaceType: () => isInterfaceType2,\n  isIntrinsicObjectType: () => isIntrinsicObjectType2,\n  isLibrarySymbol: () => isLibrarySymbol2,\n  isLibraryType: () => isLibraryType2,\n  isLiteralType: () => isLiteralType2,\n  isMethodAssignment: () => isMethodAssignment2,\n  isNonSendableFunctionTypeAlias: () => isNonSendableFunctionTypeAlias,\n  isNullType: () => isNullType2,\n  isNumberConstantValue: () => isNumberConstantValue2,\n  isNumberLikeType: () => isNumberLikeType2,\n  isObject: () => isObject,\n  isObjectLiteralAssignable: () => isObjectLiteralAssignable2,\n  isObjectLiteralType: () => isObjectLiteralType3,\n  isObjectType: () => isObjectType2,\n  isOhModulesEtsSymbol: () => isOhModulesEtsSymbol,\n  isOrDerivedFrom: () => isOrDerivedFrom,\n  isPrimitiveEnumMemberType: () => isPrimitiveEnumMemberType2,\n  isPrimitiveLiteralType: () => isPrimitiveLiteralType,\n  isPrimitiveType: () => isPrimitiveType2,\n  isPrototypeSymbol: () => isPrototypeSymbol2,\n  isPurePrimitiveLiteralType: () => isPurePrimitiveLiteralType,\n  isReadonlyArrayType: () => isReadonlyArrayType,\n  isReferenceType: () => isReferenceType2,\n  isSendableClassOrInterface: () => isSendableClassOrInterface,\n  isSendableClassOrInterfaceEntity: () => isSendableClassOrInterfaceEntity,\n  isSendableFunction: () => isSendableFunction,\n  isSendableType: () => isSendableType,\n  isSendableTypeAlias: () => isSendableTypeAlias,\n  isSendableTypeNode: () => isSendableTypeNode,\n  isSendableUnionType: () => isSendableUnionType,\n  isShareableEntity: () => isShareableEntity,\n  isShareableType: () => isShareableType,\n  isSharedModule: () => isSharedModule,\n  isStdBigIntType: () => isStdBigIntType,\n  isStdBooleanType: () => isStdBooleanType,\n  isStdErrorType: () => isStdErrorType,\n  isStdLibrarySymbol: () => isStdLibrarySymbol2,\n  isStdLibraryType: () => isStdLibraryType2,\n  isStdMapType: () => isStdMapType,\n  isStdNumberType: () => isStdNumberType,\n  isStdPartialType: () => isStdPartialType2,\n  isStdReadonlyType: () => isStdReadonlyType2,\n  isStdRecordType: () => isStdRecordType2,\n  isStdRequiredType: () => isStdRequiredType2,\n  isStdSymbol: () => isStdSymbol2,\n  isStringConstantValue: () => isStringConstantValue2,\n  isStringLikeType: () => isStringLikeType2,\n  isStringType: () => isStringType2,\n  isStruct: () => isStruct3,\n  isStructDeclaration: () => isStructDeclaration3,\n  isStructDeclarationKind: () => isStructDeclarationKind2,\n  isStructObjectInitializer: () => isStructObjectInitializer2,\n  isSupportedType: () => isSupportedType2,\n  isSymbolAPI: () => isSymbolAPI2,\n  isSymbolIterator: () => isSymbolIterator2,\n  isSymbolIteratorExpression: () => isSymbolIteratorExpression,\n  isTaskPoolApi: () => isTaskPoolApi,\n  isThirdPartyCode: () => isThirdPartyCode,\n  isThisOrSuperExpr: () => isThisOrSuperExpr2,\n  isTuple: () => isTuple,\n  isType: () => isType2,\n  isTypeDeclSyntaxKind: () => isTypeDeclSyntaxKind2,\n  isTypeReference: () => isTypeReference3,\n  isTypeSymbol: () => isTypeSymbol2,\n  isTypedArray: () => isTypedArray2,\n  isUnknownType: () => isUnknownType2,\n  isUnsupportedType: () => isUnsupportedType2,\n  isUnsupportedUnionType: () => isUnsupportedUnionType2,\n  isValidComputedPropertyName: () => isValidComputedPropertyName,\n  isValidEnumMemberInit: () => isValidEnumMemberInit2,\n  isValueAssignableToESObject: () => isValueAssignableToESObject2,\n  isWrongSendableFunctionAssignment: () => isWrongSendableFunctionAssignment,\n  logTscDiagnostic: () => logTscDiagnostic2,\n  needStrictMatchType: () => needStrictMatchType,\n  needToDeduceStructuralIdentity: () => needToDeduceStructuralIdentity2,\n  pathContainsDirectory: () => pathContainsDirectory2,\n  processParentTypes: () => processParentTypes2,\n  reduceReference: () => reduceReference,\n  relatedByInheritanceOrIdentical: () => relatedByInheritanceOrIdentical2,\n  runArkTSLinter: () => runArkTSLinter2,\n  searchFileExportDecl: () => searchFileExportDecl,\n  setEnableStrictCheckOHModule: () => setEnableStrictCheckOHModule,\n  setMixCompile: () => setMixCompile,\n  setTestMode: () => setTestMode2,\n  setTypeChecker: () => setTypeChecker2,\n  shouldAutofix: () => shouldAutofix2,\n  srcFilePathContainsDirectory: () => srcFilePathContainsDirectory,\n  symbolHasDuplicateName: () => symbolHasDuplicateName2,\n  symbolHasEsObjectType: () => symbolHasEsObjectType2,\n  translateDiag: () => translateDiag2,\n  trueSymbolAtLocation: () => trueSymbolAtLocation2,\n  typeContainsNonSendableClassOrInterface: () => typeContainsNonSendableClassOrInterface,\n  typeContainsSendableClassOrInterface: () => typeContainsSendableClassOrInterface,\n  typeIsRecursive: () => typeIsRecursive2,\n  unwrapParenthesized: () => unwrapParenthesized2,\n  unwrapParenthesizedType: () => unwrapParenthesizedType2,\n  unwrapParenthesizedTypeNode: () => unwrapParenthesizedTypeNode,\n  validateFields: () => validateFields2,\n  validateObjectLiteralType: () => validateObjectLiteralType2\n});\n\n// src/linter/ArkTSLinter_1_1/Common.ts\nvar ProblemSeverity2 = /* @__PURE__ */ ((ProblemSeverity3) => {\n  ProblemSeverity3[ProblemSeverity3[\"WARNING\"] = 1] = \"WARNING\";\n  ProblemSeverity3[ProblemSeverity3[\"ERROR\"] = 2] = \"ERROR\";\n  return ProblemSeverity3;\n})(ProblemSeverity2 || {});\n\n// src/linter/ArkTSLinter_1_1/CookBookMsg.ts\nvar cookBookMsg2 = [];\nvar cookBookTag2 = [];\nfor (let i = 0; i <= 184; i++) {\n  cookBookMsg2[i] = \"\";\n}\ncookBookTag2[1] = \"Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)\";\ncookBookTag2[2] = '\"Symbol()\" API is not supported (arkts-no-symbol)';\ncookBookTag2[3] = 'Private \"#\" identifiers are not supported (arkts-no-private-identifiers)';\ncookBookTag2[4] = \"Use unique names for types and namespaces. (arkts-unique-names)\";\ncookBookTag2[5] = 'Use \"let\" instead of \"var\" (arkts-no-var)';\ncookBookTag2[6] = \"\";\ncookBookTag2[7] = \"\";\ncookBookTag2[8] = 'Use explicit types instead of \"any\", \"unknown\" (arkts-no-any-unknown)';\ncookBookTag2[9] = \"\";\ncookBookTag2[10] = \"\";\ncookBookTag2[11] = \"\";\ncookBookTag2[12] = \"\";\ncookBookTag2[13] = \"\";\ncookBookTag2[14] = 'Use \"class\" instead of a type with call signature (arkts-no-call-signatures)';\ncookBookTag2[15] = 'Use \"class\" instead of a type with constructor signature (arkts-no-ctor-signatures-type)';\ncookBookTag2[16] = \"Only one static block is supported (arkts-no-multiple-static-blocks)\";\ncookBookTag2[17] = \"Indexed signatures are not supported (arkts-no-indexed-signatures)\";\ncookBookTag2[18] = \"\";\ncookBookTag2[19] = \"Use inheritance instead of intersection types (arkts-no-intersection-types)\";\ncookBookTag2[20] = \"\";\ncookBookTag2[21] = 'Type notation using \"this\" is not supported (arkts-no-typing-with-this)';\ncookBookTag2[22] = \"Conditional types are not supported (arkts-no-conditional-types)\";\ncookBookTag2[23] = \"\";\ncookBookTag2[24] = \"\";\ncookBookTag2[25] = 'Declaring fields in \"constructor\" is not supported (arkts-no-ctor-prop-decls)';\ncookBookTag2[26] = \"\";\ncookBookTag2[27] = \"Construct signatures are not supported in interfaces (arkts-no-ctor-signatures-iface)\";\ncookBookTag2[28] = \"Indexed access types are not supported (arkts-no-aliases-by-index)\";\ncookBookTag2[29] = \"Indexed access is not supported for fields (arkts-no-props-by-index)\";\ncookBookTag2[30] = \"Structural typing is not supported (arkts-no-structural-typing)\";\ncookBookTag2[31] = \"\";\ncookBookTag2[32] = \"\";\ncookBookTag2[33] = \"\";\ncookBookTag2[34] = \"Type inference in case of generic function calls is limited (arkts-no-inferred-generic-params)\";\ncookBookTag2[35] = \"\";\ncookBookTag2[36] = \"\";\ncookBookTag2[37] = \"\";\ncookBookTag2[38] = \"Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)\";\ncookBookTag2[39] = \"\";\ncookBookTag2[40] = \"Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)\";\ncookBookTag2[41] = \"\";\ncookBookTag2[42] = \"\";\ncookBookTag2[43] = \"Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals)\";\ncookBookTag2[44] = \"\";\ncookBookTag2[45] = \"\";\ncookBookTag2[46] = \"Use arrow functions instead of function expressions (arkts-no-func-expressions)\";\ncookBookTag2[47] = \"\";\ncookBookTag2[48] = \"\";\ncookBookTag2[49] = \"\";\ncookBookTag2[50] = \"Class literals are not supported (arkts-no-class-literals)\";\ncookBookTag2[51] = 'Classes cannot be specified in \"implements\" clause (arkts-implements-only-iface)';\ncookBookTag2[52] = \"Reassigning object methods is not supported (arkts-no-method-reassignment)\";\ncookBookTag2[53] = 'Only \"as T\" syntax is supported for type casts (arkts-as-casts)';\ncookBookTag2[54] = \"JSX expressions are not supported (arkts-no-jsx)\";\ncookBookTag2[55] = 'Unary operators \"+\", \"-\" and \"~\" work only on numbers (arkts-no-polymorphic-unops)';\ncookBookTag2[56] = \"\";\ncookBookTag2[57] = \"\";\ncookBookTag2[58] = \"\";\ncookBookTag2[59] = '\"delete\" operator is not supported (arkts-no-delete)';\ncookBookTag2[60] = '\"typeof\" operator is allowed only in expression contexts (arkts-no-type-query)';\ncookBookTag2[61] = \"\";\ncookBookTag2[62] = \"\";\ncookBookTag2[63] = \"\";\ncookBookTag2[64] = \"\";\ncookBookTag2[65] = '\"instanceof\" operator is partially supported (arkts-instanceof-ref-types)';\ncookBookTag2[66] = '\"in\" operator is not supported (arkts-no-in)';\ncookBookTag2[67] = \"\";\ncookBookTag2[68] = \"\";\ncookBookTag2[69] = \"Destructuring assignment is not supported (arkts-no-destruct-assignment)\";\ncookBookTag2[70] = \"\";\ncookBookTag2[71] = 'The comma operator \",\" is supported only in \"for\" loops (arkts-no-comma-outside-loops)';\ncookBookTag2[72] = \"\";\ncookBookTag2[73] = \"\";\ncookBookTag2[74] = \"Destructuring variable declarations are not supported (arkts-no-destruct-decls)\";\ncookBookTag2[75] = \"\";\ncookBookTag2[76] = \"\";\ncookBookTag2[77] = \"\";\ncookBookTag2[78] = \"\";\ncookBookTag2[79] = \"Type annotation in catch clause is not supported (arkts-no-types-in-catch)\";\ncookBookTag2[80] = '\"for .. in\" is not supported (arkts-no-for-in)';\ncookBookTag2[81] = \"\";\ncookBookTag2[82] = \"\";\ncookBookTag2[83] = \"Mapped type expression is not supported (arkts-no-mapped-types)\";\ncookBookTag2[84] = '\"with\" statement is not supported (arkts-no-with)';\ncookBookTag2[85] = \"\";\ncookBookTag2[86] = \"\";\ncookBookTag2[87] = '\"throw\" statements cannot accept values of arbitrary types (arkts-limited-throw)';\ncookBookTag2[88] = \"\";\ncookBookTag2[89] = \"\";\ncookBookTag2[90] = \"Function return type inference is limited (arkts-no-implicit-return-types)\";\ncookBookTag2[91] = \"Destructuring parameter declarations are not supported (arkts-no-destruct-params)\";\ncookBookTag2[92] = \"Nested functions are not supported (arkts-no-nested-funcs)\";\ncookBookTag2[93] = 'Using \"this\" inside stand-alone functions is not supported (arkts-no-standalone-this)';\ncookBookTag2[94] = \"Generator functions are not supported (arkts-no-generators)\";\ncookBookTag2[95] = \"\";\ncookBookTag2[96] = 'Type guarding is supported with \"instanceof\" and \"as\" (arkts-no-is)';\ncookBookTag2[97] = \"\";\ncookBookTag2[98] = \"\";\ncookBookTag2[99] = \"It is possible to spread only arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)\";\ncookBookTag2[100] = \"\";\ncookBookTag2[101] = \"\";\ncookBookTag2[102] = \"Interface can not extend interfaces with the same method (arkts-no-extend-same-prop)\";\ncookBookTag2[103] = \"Declaration merging is not supported (arkts-no-decl-merging)\";\ncookBookTag2[104] = \"Interfaces cannot extend classes (arkts-extends-only-class)\";\ncookBookTag2[105] = \"\";\ncookBookTag2[106] = \"Constructor function type is not supported (arkts-no-ctor-signatures-funcs)\";\ncookBookTag2[107] = \"\";\ncookBookTag2[108] = \"\";\ncookBookTag2[109] = \"\";\ncookBookTag2[110] = \"\";\ncookBookTag2[111] = \"Enumeration members can be initialized only with compile time expressions of the same type (arkts-no-enum-mixed-types)\";\ncookBookTag2[112] = \"\";\ncookBookTag2[113] = '\"enum\" declaration merging is not supported (arkts-no-enum-merging)';\ncookBookTag2[114] = \"Namespaces cannot be used as objects (arkts-no-ns-as-obj)\";\ncookBookTag2[115] = \"\";\ncookBookTag2[116] = \"Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-delcaration statements) (arkts-no-ns-statements)\";\ncookBookTag2[117] = \"\";\ncookBookTag2[118] = \"Special import type declarations are not supported (arkts-no-special-imports)\";\ncookBookTag2[119] = \"\";\ncookBookTag2[120] = \"\";\ncookBookTag2[121] = '\"require\" and \"import\" assignment are not supported (arkts-no-require)';\ncookBookTag2[122] = \"\";\ncookBookTag2[123] = \"\";\ncookBookTag2[124] = \"\";\ncookBookTag2[125] = \"\";\ncookBookTag2[126] = '\"export = ...\" assignment is not supported (arkts-no-export-assignment)';\ncookBookTag2[127] = 'Special \"export type\" declarations are not supported (arkts-no-special-exports)';\ncookBookTag2[128] = \"Ambient module declaration is not supported (arkts-no-ambient-decls)\";\ncookBookTag2[129] = \"Wildcards in module names are not supported (arkts-no-module-wildcards)\";\ncookBookTag2[130] = \"Universal module definitions (UMD) are not supported (arkts-no-umd)\";\ncookBookTag2[131] = \"\";\ncookBookTag2[132] = '\"new.target\" is not supported (arkts-no-new-target)';\ncookBookTag2[133] = \"\";\ncookBookTag2[134] = \"Definite assignment assertions are not supported (arkts-no-definite-assignment)\";\ncookBookTag2[135] = \"\";\ncookBookTag2[136] = \"Prototype assignment is not supported (arkts-no-prototype-assignment)\";\ncookBookTag2[137] = '\"globalThis\" is not supported (arkts-no-globalthis)';\ncookBookTag2[138] = \"Some of utility types are not supported (arkts-no-utility-types)\";\ncookBookTag2[139] = \"Declaring properties on functions is not supported (arkts-no-func-props)\";\ncookBookTag2[140] = \"'Function.bind' is not supported (arkts-no-func-bind)\";\ncookBookTag2[141] = \"\";\ncookBookTag2[142] = '\"as const\" assertions are not supported (arkts-no-as-const)';\ncookBookTag2[143] = \"Import assertions are not supported (arkts-no-import-assertions)\";\ncookBookTag2[144] = \"Usage of standard library is restricted (arkts-limited-stdlib)\";\ncookBookTag2[145] = \"Strict type checking is enforced (arkts-strict-typing)\";\ncookBookTag2[146] = \"Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)\";\ncookBookTag2[147] = \"No dependencies on TypeScript code are currently allowed (arkts-no-ts-deps)\";\ncookBookTag2[148] = \"\";\ncookBookTag2[149] = \"Classes cannot be used as objects (arkts-no-classes-as-obj)\";\ncookBookTag2[150] = '\"import\" statements after other statements are not allowed (arkts-no-misplaced-imports)';\ncookBookTag2[151] = \"Usage of 'ESObject' type is restricted (arkts-limited-esobj)\";\ncookBookTag2[152] = \"'Function.apply', 'Function.call' are not supported (arkts-no-func-apply-call)\";\ncookBookTag2[153] = 'The inheritance for \"Sendable\" classes is limited (arkts-sendable-class-inheritance)';\ncookBookTag2[154] = 'Properties in \"Sendable\" classes and interfaces must have a Sendable data type (arkts-sendable-prop-types)';\ncookBookTag2[155] = 'Definite assignment assertion is not allowed in \"Sendable\" classes (arkts-sendable-definite-assignment)';\ncookBookTag2[156] = 'Type arguments of generic \"Sendable\" type must be a \"Sendable\" data type (arkts-sendable-generic-types)';\ncookBookTag2[157] = 'Only imported variables can be captured by \"Sendable\" class (arkts-sendable-imported-variables)';\ncookBookTag2[158] = 'Only \"@Sendable\" decorator can be used on \"Sendable\" class (arkts-sendable-class-decorator)';\ncookBookTag2[159] = 'Objects of \"Sendable\" type can not be initialized using object literal or array literal (arkts-sendable-obj-init)';\ncookBookTag2[160] = 'Computed property names are not allowed in \"Sendable\" classes and interfaces (arkts-sendable-computed-prop-name)';\ncookBookTag2[161] = 'Casting \"Non-sendable\" data to \"Sendable\" type is not allowed (arkts-sendable-as-expr)';\ncookBookTag2[162] = \"Importing a module for side-effects only is not supported in shared module (arkts-no-side-effects-imports)\";\ncookBookTag2[163] = 'Only \"Sendable\" entities can be exported in shared module (arkts-shared-module-exports)';\ncookBookTag2[164] = '\"export * from ...\" is not allowed in shared module (arkts-shared-module-no-wildcard-export)';\ncookBookTag2[165] = 'Only \"Sendable\" classes and \"Sendable\" interfaces are allowed for importing from ets into ts file (arkts-no-ts-import-ets)';\ncookBookTag2[166] = 'In ts files, \"Sendable\" types cannot be used in implements and extends clauses (arkts-no-ts-sendable-type-inheritance)';\ncookBookTag2[167] = 'In sdk ts files, \"Sendable\" class and \"Sendable\" interface can not be exported (arkts-no-dts-sendable-type-export)';\ncookBookTag2[168] = \"In ts files, entities from ets files can not be re-exported (arkts-no-ts-re-export-ets)\";\ncookBookTag2[169] = \"Namespace import is not allowed for importing from ets to ts file (arkts-no-namespace-import-in-ts-import-ets)\";\ncookBookTag2[170] = \"Side effect import is not allowed for importing from ets to ts file (artkts-no-side-effect-import-in-ts-import-ets)\";\ncookBookTag2[171] = \"Field in sendable class must have type annotation (arkts-sendable-explicit-field-type)\";\ncookBookTag2[172] = 'Only imported variables can be captured by \"Sendable\" function (arkts-sendable-function-imported-variables)';\ncookBookTag2[173] = 'Only \"@Sendable\" decorator can be used on \"Sendable\" function (arkts-sendable-function-decorator)';\ncookBookTag2[174] = 'Only \"@Sendable\" decorator can be used on \"Sendable\" typeAlias (arkts-sendable-typealias-decorator)';\ncookBookTag2[175] = 'Only \"FunctionType\" can declare \"Sendable\" typeAlias (arkts-sendable-typeAlias-declaration)';\ncookBookTag2[176] = 'Only \"Sendable\" function or \"Sendable\" typeAlias object can be assigned to \"Sendable\" typeAlias (arkts-sendable-function-assignment)';\ncookBookTag2[177] = 'When declaring \"@Sendable\" overloaded function, needs to add \"@Sendable\" decorator on each function (arkts-sendable-function-overload-decorator)';\ncookBookTag2[178] = 'The property of \"Sendable\" function is limited (arkts-sendable-function-property)';\ncookBookTag2[179] = 'Casting \"Non-sendable\" function to \"Sendable\" typeAlias is not allowed (arkts-sendable-function-as-expr)';\ncookBookTag2[180] = 'The \"@Sendable\" decorator can only be used on \"class\", \"function\" and \"typeAlias\" (arkts-sendable-decorator-limited)';\ncookBookTag2[181] = \"\";\ncookBookTag2[182] = \"Sendable functions and sendable typealias are not available when compatibleSdkVersionStage is lowering than beta3 of API12 (arkts-sendable-beta-compatible)\";\ncookBookTag2[183] = 'The function passed to taskpool must be an ordinary function decorated with \"@Concurrent\" (arkts-taskpool-concurrent-function-args)';\ncookBookTag2[184] = \"The object literal is ambiguity, the type of 1.2 cannot exist (arkts-no-ambiguity-obj-literal)\";\n\n// src/linter/ArkTSLinter_1_1/LibraryTypeCallDiagnosticChecker.ts\nvar TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE2 = 2322;\nvar TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2 = /^Type '(.*)\\bunknown\\b(.*)' is not assignable to type '.*'\\.$/;\nvar TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2 = /^Type '(.*)\\bnull\\b(.*)' is not assignable to type '.*'\\.$/;\nvar TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2 = /^Type '(.*)\\bundefined\\b(.*)' is not assignable to type '.*'\\.$/;\nvar ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE2 = 2345;\nvar OBJECT_IS_POSSIBLY_UNDEFINED_ERROR_CODE = 2532;\nvar ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE2 = /^Argument of type '(.*)\\bnull\\b(.*)' is not assignable to parameter of type '.*'\\.$/;\nvar ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE2 = /^Argument of type '(.*)\\bundefined\\b(.*)' is not assignable to parameter of type '.*'\\.$/;\nvar NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE2 = 2769;\nvar TYPE = \"Type\";\nvar IS_NOT_ASSIGNABLE_TO_TYPE = \"is not assignable to type\";\nvar ARGUMENT_OF_TYPE = \"Argument of type\";\nvar IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE = \"is not assignable to parameter of type\";\nvar ErrorType = /* @__PURE__ */ ((ErrorType2) => {\n  ErrorType2[ErrorType2[\"NO_ERROR\"] = 0] = \"NO_ERROR\";\n  ErrorType2[ErrorType2[\"UNKNOW\"] = 1] = \"UNKNOW\";\n  ErrorType2[ErrorType2[\"NULL\"] = 2] = \"NULL\";\n  ErrorType2[ErrorType2[\"POSSIBLY_UNDEFINED\"] = 3] = \"POSSIBLY_UNDEFINED\";\n  return ErrorType2;\n})(ErrorType || {});\nvar LibraryTypeCallDiagnosticChecker2 = class {\n  constructor() {\n    this._diagnosticErrorTypeMap = new Map2();\n  }\n  static get instance() {\n    if (!LibraryTypeCallDiagnosticChecker2._instance) {\n      LibraryTypeCallDiagnosticChecker2._instance = new LibraryTypeCallDiagnosticChecker2();\n    }\n    return LibraryTypeCallDiagnosticChecker2._instance;\n  }\n  clear() {\n    this._diagnosticErrorTypeMap = new Map2();\n  }\n  rebuildTscDiagnostics(tscStrictDiagnostics) {\n    this.clear();\n    if (tscStrictDiagnostics.size === 0) {\n      return;\n    }\n    const diagnosticMessageChainArr = [];\n    const strictArr = [];\n    tscStrictDiagnostics.forEach((strict) => {\n      if (strict.length === 0) {\n        return;\n      }\n      for (let i = 0; i < strict.length; i++) {\n        if (typeof strict[i].messageText === \"string\") {\n          strictArr.push(strict[i]);\n        } else {\n          diagnosticMessageChainArr.push(strict[i]);\n        }\n      }\n    });\n    const nullSet = new Set2();\n    const unknownSet = new Set2();\n    diagnosticMessageChainArr.forEach((item) => {\n      const diagnosticMessageChain = item.messageText;\n      const errorType = MessageUtils.checkMessageChainErrorType(diagnosticMessageChain);\n      if (errorType === 1 /* UNKNOW */) {\n        MessageUtils.collectDiagnosticMessage(diagnosticMessageChain, unknownSet);\n        this._diagnosticErrorTypeMap.set(item, 1 /* UNKNOW */);\n      } else if (errorType === 2 /* NULL */) {\n        MessageUtils.collectDiagnosticMessage(diagnosticMessageChain, nullSet);\n        this._diagnosticErrorTypeMap.set(item, 2 /* NULL */);\n      }\n    });\n    strictArr.forEach((item) => {\n      const messageText = item.messageText;\n      let errorType;\n      if (unknownSet.has(messageText)) {\n        errorType = 1 /* UNKNOW */;\n      } else if (nullSet.has(messageText)) {\n        errorType = 2 /* NULL */;\n      } else {\n        errorType = MessageUtils.checkMessageErrorType(item.code, messageText);\n      }\n      if (errorType === 0 /* NO_ERROR */) {\n        return;\n      }\n      this._diagnosticErrorTypeMap.set(item, errorType);\n    });\n  }\n  filterDiagnostics(tscDiagnostics, expr, isLibCall, filterHandle) {\n    const exprRange = { begin: expr.getStart(), end: expr.getEnd() };\n    let validArgsRanges;\n    let hasFiltered = false;\n    ArrayUtils.forEachWithDefer(\n      tscDiagnostics,\n      (diagnostic) => {\n        return this.getErrorType(diagnostic) === 3 /* POSSIBLY_UNDEFINED */;\n      },\n      (diagnostic) => {\n        const errorType = this.getErrorType(diagnostic);\n        if (errorType === 0 /* NO_ERROR */ || diagnostic.category === 0 /* Warning */ || !LibraryTypeCallDiagnosticChecker2.isValidErrorType(errorType, isLibCall, hasFiltered) || !LibraryTypeCallDiagnosticChecker2.isValidDiagnosticRange(\n          diagnostic,\n          exprRange,\n          validArgsRanges || (validArgsRanges = RangeUtils.getValidArgsRanges(expr.arguments))\n        )) {\n          return;\n        }\n        hasFiltered = false;\n        filterHandle(diagnostic, errorType);\n      }\n    );\n  }\n  getErrorType(diagnostic) {\n    var _a2;\n    return (_a2 = this._diagnosticErrorTypeMap.get(diagnostic)) != null ? _a2 : 0 /* NO_ERROR */;\n  }\n  static isValidErrorType(errorType, isLibCall, hasFiltered) {\n    switch (errorType) {\n      case 1 /* UNKNOW */:\n        return true;\n      case 2 /* NULL */:\n        return isLibCall;\n      case 3 /* POSSIBLY_UNDEFINED */:\n        return isLibCall && hasFiltered;\n      default:\n        return false;\n    }\n  }\n  static isValidDiagnosticRange(diagnostic, exprRange, validArgsRanges) {\n    if (diagnostic.start === void 0) {\n      return false;\n    }\n    const isFullCall = !!diagnostic.length && exprRange.end === diagnostic.start + diagnostic.length;\n    switch (diagnostic.code) {\n      case ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE2:\n        return RangeUtils.isInRanges(diagnostic.start, validArgsRanges);\n      case NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE2:\n        return isFullCall || RangeUtils.isInRanges(diagnostic.start, validArgsRanges);\n      case TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE2:\n        return RangeUtils.isInRanges(diagnostic.start, validArgsRanges);\n      case OBJECT_IS_POSSIBLY_UNDEFINED_ERROR_CODE:\n        return isFullCall;\n      default:\n        return false;\n    }\n  }\n};\nvar MessageUtils = class {\n  static collectDiagnosticMessage(diagnosticMessageChain, textSet) {\n    const isTypeError = diagnosticMessageChain.code === TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE2;\n    const typeText = isTypeError ? diagnosticMessageChain.messageText : diagnosticMessageChain.messageText.replace(ARGUMENT_OF_TYPE, TYPE).replace(IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE, IS_NOT_ASSIGNABLE_TO_TYPE);\n    const argumentText = isTypeError ? diagnosticMessageChain.messageText.replace(TYPE, ARGUMENT_OF_TYPE).replace(IS_NOT_ASSIGNABLE_TO_TYPE, IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE) : diagnosticMessageChain.messageText;\n    textSet.add(typeText);\n    textSet.add(argumentText);\n  }\n  static checkMessageErrorType(code, messageText) {\n    if (code === TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE2) {\n      if (messageText.match(TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2)) {\n        return 1 /* UNKNOW */;\n      }\n      if (messageText.match(TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2)) {\n        return 2 /* NULL */;\n      }\n      if (messageText.match(TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE2)) {\n        return 2 /* NULL */;\n      }\n    }\n    if (code === ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE2) {\n      if (messageText.match(ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE2)) {\n        return 2 /* NULL */;\n      }\n      if (messageText.match(ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE2)) {\n        return 2 /* NULL */;\n      }\n    }\n    if (code === OBJECT_IS_POSSIBLY_UNDEFINED_ERROR_CODE) {\n      return 3 /* POSSIBLY_UNDEFINED */;\n    }\n    return 0 /* NO_ERROR */;\n  }\n  static checkMessageChainErrorType(chain) {\n    var _a2;\n    let errorType = MessageUtils.checkMessageErrorType(chain.code, chain.messageText);\n    if (errorType !== 0 /* NO_ERROR */ || !((_a2 = chain.next) == null ? void 0 : _a2.length)) {\n      return errorType;\n    }\n    if (chain.code !== NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE2) {\n      return MessageUtils.checkMessageChainErrorType(chain.next[0]);\n    }\n    for (const child of chain.next) {\n      errorType = MessageUtils.checkMessageChainErrorType(child);\n      if (errorType !== 0 /* NO_ERROR */) {\n        break;\n      }\n    }\n    return errorType;\n  }\n};\nvar RangeUtils = class {\n  static isInRanges(pos, ranges) {\n    for (let i = 0; i < ranges.length; i++) {\n      if (pos >= ranges[i].begin && pos < ranges[i].end) {\n        return true;\n      }\n    }\n    return false;\n  }\n  static getValidArgsRanges(args) {\n    if (!args) {\n      return [];\n    }\n    const nonFilteringRanges = RangeUtils.findNonFilteringRangesFunctionCalls(args);\n    const rangesToFilter = [];\n    if (nonFilteringRanges.length !== 0) {\n      const rangesSize = nonFilteringRanges.length;\n      rangesToFilter.push({ begin: args.pos, end: nonFilteringRanges[0].begin });\n      rangesToFilter.push({ begin: nonFilteringRanges[rangesSize - 1].end, end: args.end });\n      for (let i = 0; i < rangesSize - 1; i++) {\n        rangesToFilter.push({ begin: nonFilteringRanges[i].end, end: nonFilteringRanges[i + 1].begin });\n      }\n    } else {\n      rangesToFilter.push({ begin: args.pos, end: args.end });\n    }\n    return rangesToFilter;\n  }\n  static findNonFilteringRangesFunctionCalls(args) {\n    const result = [];\n    for (const arg of args) {\n      if (isArrowFunction(arg)) {\n        const arrowFuncExpr = arg;\n        result.push({ begin: arrowFuncExpr.body.pos, end: arrowFuncExpr.body.end });\n      } else if (isCallExpression(arg)) {\n        result.push({ begin: arg.arguments.pos, end: arg.arguments.end });\n      }\n    }\n    return result;\n  }\n};\nvar ArrayUtils = class {\n  static forEachWithDefer(list, deferChecker, callbackfn, thisArg) {\n    if (!list.length) {\n      return;\n    }\n    const temp = [];\n    list.forEach((item, index, array) => {\n      if (deferChecker(item, index, array)) {\n        temp.push(index);\n        return;\n      }\n      callbackfn.call(thisArg, item, index, array);\n    });\n    temp.forEach((index) => {\n      callbackfn.call(thisArg, list[index], index, list);\n    });\n  }\n};\n\n// src/linter/ArkTSLinter_1_1/Problems.ts\nvar FaultID2 = /* @__PURE__ */ ((FaultID3) => {\n  FaultID3[FaultID3[\"AnyType\"] = 0] = \"AnyType\";\n  FaultID3[FaultID3[\"SymbolType\"] = 1] = \"SymbolType\";\n  FaultID3[FaultID3[\"ObjectLiteralNoContextType\"] = 2] = \"ObjectLiteralNoContextType\";\n  FaultID3[FaultID3[\"ArrayLiteralNoContextType\"] = 3] = \"ArrayLiteralNoContextType\";\n  FaultID3[FaultID3[\"ComputedPropertyName\"] = 4] = \"ComputedPropertyName\";\n  FaultID3[FaultID3[\"LiteralAsPropertyName\"] = 5] = \"LiteralAsPropertyName\";\n  FaultID3[FaultID3[\"TypeQuery\"] = 6] = \"TypeQuery\";\n  FaultID3[FaultID3[\"IsOperator\"] = 7] = \"IsOperator\";\n  FaultID3[FaultID3[\"DestructuringParameter\"] = 8] = \"DestructuringParameter\";\n  FaultID3[FaultID3[\"YieldExpression\"] = 9] = \"YieldExpression\";\n  FaultID3[FaultID3[\"InterfaceMerging\"] = 10] = \"InterfaceMerging\";\n  FaultID3[FaultID3[\"EnumMerging\"] = 11] = \"EnumMerging\";\n  FaultID3[FaultID3[\"InterfaceExtendsClass\"] = 12] = \"InterfaceExtendsClass\";\n  FaultID3[FaultID3[\"IndexMember\"] = 13] = \"IndexMember\";\n  FaultID3[FaultID3[\"WithStatement\"] = 14] = \"WithStatement\";\n  FaultID3[FaultID3[\"ThrowStatement\"] = 15] = \"ThrowStatement\";\n  FaultID3[FaultID3[\"IndexedAccessType\"] = 16] = \"IndexedAccessType\";\n  FaultID3[FaultID3[\"UnknownType\"] = 17] = \"UnknownType\";\n  FaultID3[FaultID3[\"ForInStatement\"] = 18] = \"ForInStatement\";\n  FaultID3[FaultID3[\"InOperator\"] = 19] = \"InOperator\";\n  FaultID3[FaultID3[\"FunctionExpression\"] = 20] = \"FunctionExpression\";\n  FaultID3[FaultID3[\"IntersectionType\"] = 21] = \"IntersectionType\";\n  FaultID3[FaultID3[\"ObjectTypeLiteral\"] = 22] = \"ObjectTypeLiteral\";\n  FaultID3[FaultID3[\"CommaOperator\"] = 23] = \"CommaOperator\";\n  FaultID3[FaultID3[\"LimitedReturnTypeInference\"] = 24] = \"LimitedReturnTypeInference\";\n  FaultID3[FaultID3[\"ClassExpression\"] = 25] = \"ClassExpression\";\n  FaultID3[FaultID3[\"DestructuringAssignment\"] = 26] = \"DestructuringAssignment\";\n  FaultID3[FaultID3[\"DestructuringDeclaration\"] = 27] = \"DestructuringDeclaration\";\n  FaultID3[FaultID3[\"VarDeclaration\"] = 28] = \"VarDeclaration\";\n  FaultID3[FaultID3[\"CatchWithUnsupportedType\"] = 29] = \"CatchWithUnsupportedType\";\n  FaultID3[FaultID3[\"DeleteOperator\"] = 30] = \"DeleteOperator\";\n  FaultID3[FaultID3[\"DeclWithDuplicateName\"] = 31] = \"DeclWithDuplicateName\";\n  FaultID3[FaultID3[\"UnaryArithmNotNumber\"] = 32] = \"UnaryArithmNotNumber\";\n  FaultID3[FaultID3[\"ConstructorType\"] = 33] = \"ConstructorType\";\n  FaultID3[FaultID3[\"ConstructorIface\"] = 34] = \"ConstructorIface\";\n  FaultID3[FaultID3[\"ConstructorFuncs\"] = 35] = \"ConstructorFuncs\";\n  FaultID3[FaultID3[\"CallSignature\"] = 36] = \"CallSignature\";\n  FaultID3[FaultID3[\"TypeAssertion\"] = 37] = \"TypeAssertion\";\n  FaultID3[FaultID3[\"PrivateIdentifier\"] = 38] = \"PrivateIdentifier\";\n  FaultID3[FaultID3[\"LocalFunction\"] = 39] = \"LocalFunction\";\n  FaultID3[FaultID3[\"ConditionalType\"] = 40] = \"ConditionalType\";\n  FaultID3[FaultID3[\"MappedType\"] = 41] = \"MappedType\";\n  FaultID3[FaultID3[\"NamespaceAsObject\"] = 42] = \"NamespaceAsObject\";\n  FaultID3[FaultID3[\"ClassAsObject\"] = 43] = \"ClassAsObject\";\n  FaultID3[FaultID3[\"NonDeclarationInNamespace\"] = 44] = \"NonDeclarationInNamespace\";\n  FaultID3[FaultID3[\"GeneratorFunction\"] = 45] = \"GeneratorFunction\";\n  FaultID3[FaultID3[\"FunctionContainsThis\"] = 46] = \"FunctionContainsThis\";\n  FaultID3[FaultID3[\"PropertyAccessByIndex\"] = 47] = \"PropertyAccessByIndex\";\n  FaultID3[FaultID3[\"JsxElement\"] = 48] = \"JsxElement\";\n  FaultID3[FaultID3[\"EnumMemberNonConstInit\"] = 49] = \"EnumMemberNonConstInit\";\n  FaultID3[FaultID3[\"ImplementsClass\"] = 50] = \"ImplementsClass\";\n  FaultID3[FaultID3[\"MethodReassignment\"] = 51] = \"MethodReassignment\";\n  FaultID3[FaultID3[\"MultipleStaticBlocks\"] = 52] = \"MultipleStaticBlocks\";\n  FaultID3[FaultID3[\"ThisType\"] = 53] = \"ThisType\";\n  FaultID3[FaultID3[\"IntefaceExtendDifProps\"] = 54] = \"IntefaceExtendDifProps\";\n  FaultID3[FaultID3[\"StructuralIdentity\"] = 55] = \"StructuralIdentity\";\n  FaultID3[FaultID3[\"ExportAssignment\"] = 56] = \"ExportAssignment\";\n  FaultID3[FaultID3[\"ImportAssignment\"] = 57] = \"ImportAssignment\";\n  FaultID3[FaultID3[\"GenericCallNoTypeArgs\"] = 58] = \"GenericCallNoTypeArgs\";\n  FaultID3[FaultID3[\"ParameterProperties\"] = 59] = \"ParameterProperties\";\n  FaultID3[FaultID3[\"InstanceofUnsupported\"] = 60] = \"InstanceofUnsupported\";\n  FaultID3[FaultID3[\"ShorthandAmbientModuleDecl\"] = 61] = \"ShorthandAmbientModuleDecl\";\n  FaultID3[FaultID3[\"WildcardsInModuleName\"] = 62] = \"WildcardsInModuleName\";\n  FaultID3[FaultID3[\"UMDModuleDefinition\"] = 63] = \"UMDModuleDefinition\";\n  FaultID3[FaultID3[\"NewTarget\"] = 64] = \"NewTarget\";\n  FaultID3[FaultID3[\"DefiniteAssignment\"] = 65] = \"DefiniteAssignment\";\n  FaultID3[FaultID3[\"Prototype\"] = 66] = \"Prototype\";\n  FaultID3[FaultID3[\"GlobalThis\"] = 67] = \"GlobalThis\";\n  FaultID3[FaultID3[\"UtilityType\"] = 68] = \"UtilityType\";\n  FaultID3[FaultID3[\"PropertyDeclOnFunction\"] = 69] = \"PropertyDeclOnFunction\";\n  FaultID3[FaultID3[\"FunctionApplyCall\"] = 70] = \"FunctionApplyCall\";\n  FaultID3[FaultID3[\"FunctionBind\"] = 71] = \"FunctionBind\";\n  FaultID3[FaultID3[\"ConstAssertion\"] = 72] = \"ConstAssertion\";\n  FaultID3[FaultID3[\"ImportAssertion\"] = 73] = \"ImportAssertion\";\n  FaultID3[FaultID3[\"SpreadOperator\"] = 74] = \"SpreadOperator\";\n  FaultID3[FaultID3[\"LimitedStdLibApi\"] = 75] = \"LimitedStdLibApi\";\n  FaultID3[FaultID3[\"ErrorSuppression\"] = 76] = \"ErrorSuppression\";\n  FaultID3[FaultID3[\"StrictDiagnostic\"] = 77] = \"StrictDiagnostic\";\n  FaultID3[FaultID3[\"ImportAfterStatement\"] = 78] = \"ImportAfterStatement\";\n  FaultID3[FaultID3[\"EsObjectType\"] = 79] = \"EsObjectType\";\n  FaultID3[FaultID3[\"SendableClassInheritance\"] = 80] = \"SendableClassInheritance\";\n  FaultID3[FaultID3[\"SendablePropType\"] = 81] = \"SendablePropType\";\n  FaultID3[FaultID3[\"SendableDefiniteAssignment\"] = 82] = \"SendableDefiniteAssignment\";\n  FaultID3[FaultID3[\"SendableGenericTypes\"] = 83] = \"SendableGenericTypes\";\n  FaultID3[FaultID3[\"SendableCapturedVars\"] = 84] = \"SendableCapturedVars\";\n  FaultID3[FaultID3[\"SendableClassDecorator\"] = 85] = \"SendableClassDecorator\";\n  FaultID3[FaultID3[\"SendableObjectInitialization\"] = 86] = \"SendableObjectInitialization\";\n  FaultID3[FaultID3[\"SendableComputedPropName\"] = 87] = \"SendableComputedPropName\";\n  FaultID3[FaultID3[\"SendableAsExpr\"] = 88] = \"SendableAsExpr\";\n  FaultID3[FaultID3[\"SharedNoSideEffectImport\"] = 89] = \"SharedNoSideEffectImport\";\n  FaultID3[FaultID3[\"SharedModuleExports\"] = 90] = \"SharedModuleExports\";\n  FaultID3[FaultID3[\"SharedModuleNoWildcardExport\"] = 91] = \"SharedModuleNoWildcardExport\";\n  FaultID3[FaultID3[\"NoTsImportEts\"] = 92] = \"NoTsImportEts\";\n  FaultID3[FaultID3[\"SendableTypeInheritance\"] = 93] = \"SendableTypeInheritance\";\n  FaultID3[FaultID3[\"SendableTypeExported\"] = 94] = \"SendableTypeExported\";\n  FaultID3[FaultID3[\"NoTsReExportEts\"] = 95] = \"NoTsReExportEts\";\n  FaultID3[FaultID3[\"NoNamespaceImportEtsToTs\"] = 96] = \"NoNamespaceImportEtsToTs\";\n  FaultID3[FaultID3[\"NoSideEffectImportEtsToTs\"] = 97] = \"NoSideEffectImportEtsToTs\";\n  FaultID3[FaultID3[\"SendableExplicitFieldType\"] = 98] = \"SendableExplicitFieldType\";\n  FaultID3[FaultID3[\"SendableFunctionImportedVariables\"] = 99] = \"SendableFunctionImportedVariables\";\n  FaultID3[FaultID3[\"SendableFunctionDecorator\"] = 100] = \"SendableFunctionDecorator\";\n  FaultID3[FaultID3[\"SendableTypeAliasDecorator\"] = 101] = \"SendableTypeAliasDecorator\";\n  FaultID3[FaultID3[\"SendableTypeAliasDeclaration\"] = 102] = \"SendableTypeAliasDeclaration\";\n  FaultID3[FaultID3[\"SendableFunctionAssignment\"] = 103] = \"SendableFunctionAssignment\";\n  FaultID3[FaultID3[\"SendableFunctionOverloadDecorator\"] = 104] = \"SendableFunctionOverloadDecorator\";\n  FaultID3[FaultID3[\"SendableFunctionProperty\"] = 105] = \"SendableFunctionProperty\";\n  FaultID3[FaultID3[\"SendableFunctionAsExpr\"] = 106] = \"SendableFunctionAsExpr\";\n  FaultID3[FaultID3[\"SendableDecoratorLimited\"] = 107] = \"SendableDecoratorLimited\";\n  FaultID3[FaultID3[\"SharedModuleExportsWarning\"] = 108] = \"SharedModuleExportsWarning\";\n  FaultID3[FaultID3[\"SendableBetaCompatible\"] = 109] = \"SendableBetaCompatible\";\n  FaultID3[FaultID3[\"SendablePropTypeWarning\"] = 110] = \"SendablePropTypeWarning\";\n  FaultID3[FaultID3[\"TaskpoolFunctionArg\"] = 111] = \"TaskpoolFunctionArg\";\n  FaultID3[FaultID3[\"ObjectLiteralAmbiguity\"] = 112] = \"ObjectLiteralAmbiguity\";\n  FaultID3[FaultID3[\"LAST_ID\"] = 113] = \"LAST_ID\";\n  return FaultID3;\n})(FaultID2 || {});\nvar FaultAttributes = class {\n  constructor(cookBookRef, migratable = false, severity = 2 /* ERROR */) {\n    this.cookBookRef = cookBookRef;\n    this.migratable = migratable;\n    this.severity = severity;\n  }\n};\nvar faultsAttrs2 = [];\nfaultsAttrs2[5 /* LiteralAsPropertyName */] = new FaultAttributes(1, true);\nfaultsAttrs2[4 /* ComputedPropertyName */] = new FaultAttributes(1);\nfaultsAttrs2[1 /* SymbolType */] = new FaultAttributes(2);\nfaultsAttrs2[38 /* PrivateIdentifier */] = new FaultAttributes(3, true);\nfaultsAttrs2[31 /* DeclWithDuplicateName */] = new FaultAttributes(4, true);\nfaultsAttrs2[28 /* VarDeclaration */] = new FaultAttributes(5, true);\nfaultsAttrs2[0 /* AnyType */] = new FaultAttributes(8);\nfaultsAttrs2[17 /* UnknownType */] = new FaultAttributes(8);\nfaultsAttrs2[36 /* CallSignature */] = new FaultAttributes(14);\nfaultsAttrs2[33 /* ConstructorType */] = new FaultAttributes(15);\nfaultsAttrs2[52 /* MultipleStaticBlocks */] = new FaultAttributes(16);\nfaultsAttrs2[13 /* IndexMember */] = new FaultAttributes(17);\nfaultsAttrs2[21 /* IntersectionType */] = new FaultAttributes(19);\nfaultsAttrs2[53 /* ThisType */] = new FaultAttributes(21);\nfaultsAttrs2[40 /* ConditionalType */] = new FaultAttributes(22);\nfaultsAttrs2[59 /* ParameterProperties */] = new FaultAttributes(25, true);\nfaultsAttrs2[34 /* ConstructorIface */] = new FaultAttributes(27);\nfaultsAttrs2[16 /* IndexedAccessType */] = new FaultAttributes(28);\nfaultsAttrs2[47 /* PropertyAccessByIndex */] = new FaultAttributes(29, true);\nfaultsAttrs2[55 /* StructuralIdentity */] = new FaultAttributes(30);\nfaultsAttrs2[58 /* GenericCallNoTypeArgs */] = new FaultAttributes(34);\nfaultsAttrs2[2 /* ObjectLiteralNoContextType */] = new FaultAttributes(38);\nfaultsAttrs2[22 /* ObjectTypeLiteral */] = new FaultAttributes(40);\nfaultsAttrs2[3 /* ArrayLiteralNoContextType */] = new FaultAttributes(43);\nfaultsAttrs2[20 /* FunctionExpression */] = new FaultAttributes(46, true);\nfaultsAttrs2[25 /* ClassExpression */] = new FaultAttributes(50, true);\nfaultsAttrs2[50 /* ImplementsClass */] = new FaultAttributes(51);\nfaultsAttrs2[51 /* MethodReassignment */] = new FaultAttributes(52);\nfaultsAttrs2[37 /* TypeAssertion */] = new FaultAttributes(53, true);\nfaultsAttrs2[48 /* JsxElement */] = new FaultAttributes(54);\nfaultsAttrs2[32 /* UnaryArithmNotNumber */] = new FaultAttributes(55);\nfaultsAttrs2[30 /* DeleteOperator */] = new FaultAttributes(59);\nfaultsAttrs2[6 /* TypeQuery */] = new FaultAttributes(60);\nfaultsAttrs2[60 /* InstanceofUnsupported */] = new FaultAttributes(65);\nfaultsAttrs2[19 /* InOperator */] = new FaultAttributes(66);\nfaultsAttrs2[26 /* DestructuringAssignment */] = new FaultAttributes(69, true);\nfaultsAttrs2[23 /* CommaOperator */] = new FaultAttributes(71);\nfaultsAttrs2[27 /* DestructuringDeclaration */] = new FaultAttributes(74, true);\nfaultsAttrs2[29 /* CatchWithUnsupportedType */] = new FaultAttributes(79, true);\nfaultsAttrs2[18 /* ForInStatement */] = new FaultAttributes(80);\nfaultsAttrs2[41 /* MappedType */] = new FaultAttributes(83);\nfaultsAttrs2[14 /* WithStatement */] = new FaultAttributes(84);\nfaultsAttrs2[15 /* ThrowStatement */] = new FaultAttributes(87, true);\nfaultsAttrs2[24 /* LimitedReturnTypeInference */] = new FaultAttributes(90, true);\nfaultsAttrs2[8 /* DestructuringParameter */] = new FaultAttributes(91);\nfaultsAttrs2[39 /* LocalFunction */] = new FaultAttributes(92, true);\nfaultsAttrs2[46 /* FunctionContainsThis */] = new FaultAttributes(93);\nfaultsAttrs2[45 /* GeneratorFunction */] = new FaultAttributes(94);\nfaultsAttrs2[9 /* YieldExpression */] = new FaultAttributes(94);\nfaultsAttrs2[7 /* IsOperator */] = new FaultAttributes(96);\nfaultsAttrs2[74 /* SpreadOperator */] = new FaultAttributes(99);\nfaultsAttrs2[54 /* IntefaceExtendDifProps */] = new FaultAttributes(102);\nfaultsAttrs2[10 /* InterfaceMerging */] = new FaultAttributes(103);\nfaultsAttrs2[12 /* InterfaceExtendsClass */] = new FaultAttributes(104);\nfaultsAttrs2[35 /* ConstructorFuncs */] = new FaultAttributes(106);\nfaultsAttrs2[49 /* EnumMemberNonConstInit */] = new FaultAttributes(111);\nfaultsAttrs2[11 /* EnumMerging */] = new FaultAttributes(113);\nfaultsAttrs2[42 /* NamespaceAsObject */] = new FaultAttributes(114);\nfaultsAttrs2[44 /* NonDeclarationInNamespace */] = new FaultAttributes(116);\nfaultsAttrs2[57 /* ImportAssignment */] = new FaultAttributes(121);\nfaultsAttrs2[56 /* ExportAssignment */] = new FaultAttributes(126);\nfaultsAttrs2[61 /* ShorthandAmbientModuleDecl */] = new FaultAttributes(128);\nfaultsAttrs2[62 /* WildcardsInModuleName */] = new FaultAttributes(129);\nfaultsAttrs2[63 /* UMDModuleDefinition */] = new FaultAttributes(130);\nfaultsAttrs2[64 /* NewTarget */] = new FaultAttributes(132);\nfaultsAttrs2[65 /* DefiniteAssignment */] = new FaultAttributes(134, false, 1 /* WARNING */);\nfaultsAttrs2[66 /* Prototype */] = new FaultAttributes(136);\nfaultsAttrs2[67 /* GlobalThis */] = new FaultAttributes(137, false, 1 /* WARNING */);\nfaultsAttrs2[68 /* UtilityType */] = new FaultAttributes(138);\nfaultsAttrs2[69 /* PropertyDeclOnFunction */] = new FaultAttributes(139);\nfaultsAttrs2[71 /* FunctionBind */] = new FaultAttributes(140, false, 1 /* WARNING */);\nfaultsAttrs2[72 /* ConstAssertion */] = new FaultAttributes(142);\nfaultsAttrs2[73 /* ImportAssertion */] = new FaultAttributes(143);\nfaultsAttrs2[75 /* LimitedStdLibApi */] = new FaultAttributes(144);\nfaultsAttrs2[77 /* StrictDiagnostic */] = new FaultAttributes(145);\nfaultsAttrs2[76 /* ErrorSuppression */] = new FaultAttributes(146);\nfaultsAttrs2[43 /* ClassAsObject */] = new FaultAttributes(149, false, 1 /* WARNING */);\nfaultsAttrs2[78 /* ImportAfterStatement */] = new FaultAttributes(150);\nfaultsAttrs2[79 /* EsObjectType */] = new FaultAttributes(151, false, 1 /* WARNING */);\nfaultsAttrs2[70 /* FunctionApplyCall */] = new FaultAttributes(152);\nfaultsAttrs2[80 /* SendableClassInheritance */] = new FaultAttributes(153);\nfaultsAttrs2[81 /* SendablePropType */] = new FaultAttributes(154);\nfaultsAttrs2[82 /* SendableDefiniteAssignment */] = new FaultAttributes(155);\nfaultsAttrs2[83 /* SendableGenericTypes */] = new FaultAttributes(156);\nfaultsAttrs2[84 /* SendableCapturedVars */] = new FaultAttributes(157);\nfaultsAttrs2[85 /* SendableClassDecorator */] = new FaultAttributes(158);\nfaultsAttrs2[86 /* SendableObjectInitialization */] = new FaultAttributes(159);\nfaultsAttrs2[87 /* SendableComputedPropName */] = new FaultAttributes(160);\nfaultsAttrs2[88 /* SendableAsExpr */] = new FaultAttributes(161);\nfaultsAttrs2[89 /* SharedNoSideEffectImport */] = new FaultAttributes(162);\nfaultsAttrs2[90 /* SharedModuleExports */] = new FaultAttributes(163);\nfaultsAttrs2[91 /* SharedModuleNoWildcardExport */] = new FaultAttributes(164);\nfaultsAttrs2[92 /* NoTsImportEts */] = new FaultAttributes(165);\nfaultsAttrs2[93 /* SendableTypeInheritance */] = new FaultAttributes(166);\nfaultsAttrs2[94 /* SendableTypeExported */] = new FaultAttributes(167);\nfaultsAttrs2[95 /* NoTsReExportEts */] = new FaultAttributes(168);\nfaultsAttrs2[96 /* NoNamespaceImportEtsToTs */] = new FaultAttributes(169);\nfaultsAttrs2[97 /* NoSideEffectImportEtsToTs */] = new FaultAttributes(170);\nfaultsAttrs2[98 /* SendableExplicitFieldType */] = new FaultAttributes(171);\nfaultsAttrs2[99 /* SendableFunctionImportedVariables */] = new FaultAttributes(172);\nfaultsAttrs2[100 /* SendableFunctionDecorator */] = new FaultAttributes(173);\nfaultsAttrs2[101 /* SendableTypeAliasDecorator */] = new FaultAttributes(174);\nfaultsAttrs2[102 /* SendableTypeAliasDeclaration */] = new FaultAttributes(175);\nfaultsAttrs2[103 /* SendableFunctionAssignment */] = new FaultAttributes(176);\nfaultsAttrs2[104 /* SendableFunctionOverloadDecorator */] = new FaultAttributes(177);\nfaultsAttrs2[105 /* SendableFunctionProperty */] = new FaultAttributes(178);\nfaultsAttrs2[106 /* SendableFunctionAsExpr */] = new FaultAttributes(179);\nfaultsAttrs2[107 /* SendableDecoratorLimited */] = new FaultAttributes(180);\nfaultsAttrs2[108 /* SharedModuleExportsWarning */] = new FaultAttributes(163, false, 1 /* WARNING */);\nfaultsAttrs2[109 /* SendableBetaCompatible */] = new FaultAttributes(182);\nfaultsAttrs2[110 /* SendablePropTypeWarning */] = new FaultAttributes(154, false, 1 /* WARNING */);\nfaultsAttrs2[111 /* TaskpoolFunctionArg */] = new FaultAttributes(183);\nfaultsAttrs2[112 /* ObjectLiteralAmbiguity */] = new FaultAttributes(184);\n\n// src/linter/ArkTSLinter_1_1/Utils.ts\nvar PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE2 = 2564;\nvar NON_INITIALIZABLE_PROPERTY_DECORATORS2 = [\n  \"Link\",\n  \"Consume\",\n  \"ObjectLink\",\n  \"Prop\",\n  \"BuilderParam\",\n  \"Param\",\n  \"Event\",\n  \"Require\",\n  \"Env\"\n];\nvar NON_INITIALIZABLE_PROPERTY_CLASS_DECORATORS = [\"CustomDialog\"];\nvar LIMITED_STANDARD_UTILITY_TYPES2 = [\n  \"Awaited\",\n  \"Pick\",\n  \"Omit\",\n  \"Exclude\",\n  \"Extract\",\n  \"NonNullable\",\n  \"Parameters\",\n  \"ConstructorParameters\",\n  \"ReturnType\",\n  \"InstanceType\",\n  \"ThisParameterType\",\n  \"OmitThisParameter\",\n  \"ThisType\",\n  \"Uppercase\",\n  \"Lowercase\",\n  \"Capitalize\",\n  \"Uncapitalize\"\n];\nvar ALLOWED_STD_SYMBOL_API2 = [\"iterator\"];\nvar ARKTS_IGNORE_DIRS2 = [\"node_modules\", \"oh_modules\", \"build\", \".preview\"];\nvar ARKTS_IGNORE_DIRS_STRICT_OH_MODULES_CHECK = [\"node_modules\", \"build\", \".preview\"];\nvar ARKTS_IGNORE_FILES2 = [\"hvigorfile.ts\"];\nvar ARKTS_IGNORE_DIRS_OH_MODULES = \"oh_modules\";\nvar SENDABLE_DECORATOR = \"Sendable\";\nvar SENDABLE_INTERFACE = \"ISendable\";\nvar PROMISE = \"Promise\";\nvar SENDABLE_DECORATOR_NODES = [\n  264 /* ClassDeclaration */,\n  263 /* FunctionDeclaration */,\n  268 /* TypeAliasDeclaration */\n];\nvar SENDABLE_CLASS_DECORATOR_RULE = \"arkts-sendable-class-decorator\";\nvar SENDABLE_CLOSURE_DECLS = [\n  264 /* ClassDeclaration */,\n  263 /* FunctionDeclaration */\n];\nvar ARKTS_COLLECTIONS_D_ETS = \"@arkts.collections.d.ets\";\nvar COLLECTIONS_NAMESPACE = \"collections\";\nvar ARKTS_LANG_D_ETS = \"@arkts.lang.d.ets\";\nvar LANG_NAMESPACE = \"lang\";\nvar ISENDABLE_TYPE = \"ISendable\";\nvar USE_SHARED = \"use shared\";\nvar D_TS = \".d.ts\";\nvar TASKPOOL = \"taskpool\";\nvar TASKGROUP = \"TaskGroup\";\nvar TASKPOOL_API = [\"Task\", \"LongTask\", \"GenericsTask\", \"execute\", \"addTask\"];\nvar TASK_LIST = [\"Task\", \"LongTask\", \"GenericsTask\", \"TaskGroup\"];\nvar CONCURRENT_DECORATOR = \"Concurrent\";\nvar USE_CONCURRENT = \"use concurrent\";\nvar typeChecker2;\nfunction setTypeChecker2(tsTypeChecker) {\n  typeChecker2 = tsTypeChecker;\n}\nfunction clearTypeChecker2() {\n  typeChecker2 = {};\n}\nvar testMode2 = false;\nfunction setTestMode2(tsTestMode) {\n  testMode2 = tsTestMode;\n}\nvar mixCompile = false;\nfunction setMixCompile(isMixCompile) {\n  mixCompile = isMixCompile;\n}\nvar enableStrictCheckOHModule = false;\nfunction setEnableStrictCheckOHModule(isEnableStrictCheckOHModule) {\n  enableStrictCheckOHModule = isEnableStrictCheckOHModule;\n}\nfunction getStartPos2(nodeOrComment) {\n  return nodeOrComment.kind === 2 /* SingleLineCommentTrivia */ || nodeOrComment.kind === 3 /* MultiLineCommentTrivia */ ? nodeOrComment.pos : nodeOrComment.getStart();\n}\nfunction getEndPos3(nodeOrComment) {\n  return nodeOrComment.kind === 2 /* SingleLineCommentTrivia */ || nodeOrComment.kind === 3 /* MultiLineCommentTrivia */ ? nodeOrComment.end : nodeOrComment.getEnd();\n}\nfunction getHighlightRange(nodeOrComment, faultId) {\n  var _a2, _b;\n  return (_b = (_a2 = highlightRangeHandlers.get(faultId)) == null ? void 0 : _a2.call(void 0, nodeOrComment)) != null ? _b : [\n    getStartPos2(nodeOrComment),\n    getEndPos3(nodeOrComment)\n  ];\n}\nvar highlightRangeHandlers = new Map2([\n  [28 /* VarDeclaration */, getVarDeclarationHighlightRange],\n  [29 /* CatchWithUnsupportedType */, getCatchWithUnsupportedTypeHighlightRange],\n  [18 /* ForInStatement */, getForInStatementHighlightRange],\n  [14 /* WithStatement */, getWithStatementHighlightRange],\n  [30 /* DeleteOperator */, getDeleteOperatorHighlightRange],\n  [6 /* TypeQuery */, getTypeQueryHighlightRange],\n  [60 /* InstanceofUnsupported */, getInstanceofUnsupportedHighlightRange],\n  [72 /* ConstAssertion */, getConstAssertionHighlightRange],\n  [24 /* LimitedReturnTypeInference */, getLimitedReturnTypeInferenceHighlightRange],\n  [39 /* LocalFunction */, getLocalFunctionHighlightRange],\n  [71 /* FunctionBind */, getFunctionApplyCallHighlightRange],\n  [70 /* FunctionApplyCall */, getFunctionApplyCallHighlightRange],\n  [31 /* DeclWithDuplicateName */, getDeclWithDuplicateNameHighlightRange],\n  [2 /* ObjectLiteralNoContextType */, getObjectLiteralNoContextTypeHighlightRange],\n  [25 /* ClassExpression */, getClassExpressionHighlightRange],\n  [52 /* MultipleStaticBlocks */, getMultipleStaticBlocksHighlightRange],\n  [82 /* SendableDefiniteAssignment */, getSendableDefiniteAssignmentHighlightRange]\n]);\nfunction getVarDeclarationHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"var\");\n}\nfunction getCatchWithUnsupportedTypeHighlightRange(nodeOrComment) {\n  const catchClauseNode = nodeOrComment.variableDeclaration;\n  if (catchClauseNode !== void 0) {\n    return [catchClauseNode.getStart(), catchClauseNode.getEnd()];\n  }\n  return void 0;\n}\nfunction getForInStatementHighlightRange(nodeOrComment) {\n  return [\n    getEndPos3(nodeOrComment.initializer) + 1,\n    getStartPos2(nodeOrComment.expression) - 1\n  ];\n}\nfunction getWithStatementHighlightRange(nodeOrComment) {\n  return [getStartPos2(nodeOrComment), nodeOrComment.statement.getStart() - 1];\n}\nfunction getDeleteOperatorHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"delete\");\n}\nfunction getTypeQueryHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"typeof\");\n}\nfunction getInstanceofUnsupportedHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment.operatorToken, \"instanceof\");\n}\nfunction getConstAssertionHighlightRange(nodeOrComment) {\n  if (nodeOrComment.kind === 235 /* AsExpression */) {\n    return [\n      nodeOrComment.expression.getEnd() + 1,\n      nodeOrComment.type.getStart() - 1\n    ];\n  }\n  return [\n    nodeOrComment.expression.getEnd() + 1,\n    nodeOrComment.type.getEnd() + 1\n  ];\n}\nfunction getLimitedReturnTypeInferenceHighlightRange(nodeOrComment) {\n  let node;\n  if (nodeOrComment.kind === 218 /* FunctionExpression */) {\n    node = nodeOrComment.type;\n  } else if (nodeOrComment.kind === 263 /* FunctionDeclaration */) {\n    node = nodeOrComment.name;\n  } else if (nodeOrComment.kind === 174 /* MethodDeclaration */) {\n    node = nodeOrComment.name;\n  }\n  if (node !== void 0) {\n    return [node.getStart(), node.getEnd()];\n  }\n  return void 0;\n}\nfunction getLocalFunctionHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"function\");\n}\nfunction getFunctionApplyCallHighlightRange(nodeOrComment) {\n  const pointPos = nodeOrComment.getText().lastIndexOf(\".\");\n  return [getStartPos2(nodeOrComment) + pointPos + 1, getEndPos3(nodeOrComment)];\n}\nfunction getDeclWithDuplicateNameHighlightRange(nodeOrComment) {\n  const nameNode = nodeOrComment.name;\n  if (nameNode !== void 0) {\n    return [nameNode.getStart(), nameNode.getEnd()];\n  }\n  return void 0;\n}\nfunction getObjectLiteralNoContextTypeHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"{\");\n}\nfunction getClassExpressionHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"class\");\n}\nfunction getMultipleStaticBlocksHighlightRange(nodeOrComment) {\n  return getKeywordHighlightRange(nodeOrComment, \"static\");\n}\nfunction getSendableDefiniteAssignmentHighlightRange(nodeOrComment) {\n  const name = nodeOrComment.name;\n  const exclamationToken = nodeOrComment.exclamationToken;\n  return [name.getStart(), exclamationToken ? exclamationToken.getEnd() : name.getEnd()];\n}\nfunction getKeywordHighlightRange(nodeOrComment, keyword) {\n  const start = getStartPos2(nodeOrComment);\n  return [start, start + keyword.length];\n}\nfunction isAssignmentOperator3(tsBinOp) {\n  return tsBinOp.kind >= 63 /* FirstAssignment */ && tsBinOp.kind <= 78 /* LastAssignment */;\n}\nfunction isType2(tsType, checkType) {\n  if (tsType === void 0 || !isTypeReferenceNode(tsType)) {\n    return false;\n  }\n  return entityNameToString3(tsType.typeName) === checkType;\n}\nfunction entityNameToString3(name) {\n  if (isIdentifier(name)) {\n    return name.escapedText.toString();\n  } else {\n    return entityNameToString3(name.left) + entityNameToString3(name.right);\n  }\n}\nfunction isNumberLikeType2(tsType) {\n  return (tsType.getFlags() & 296 /* NumberLike */) !== 0;\n}\nfunction isBooleanLikeType(tsType) {\n  return (tsType.getFlags() & 528 /* BooleanLike */) !== 0;\n}\nfunction isStringLikeType2(tsType) {\n  if (tsType.isUnion()) {\n    for (const tsCompType of tsType.types) {\n      if ((tsCompType.flags & 402653316 /* StringLike */) === 0)\n        return false;\n    }\n    return true;\n  }\n  return (tsType.getFlags() & 402653316 /* StringLike */) !== 0;\n}\nfunction isStringType2(tsType) {\n  if ((tsType.getFlags() & 4 /* String */) !== 0) {\n    return true;\n  }\n  if (!isTypeReference3(tsType)) {\n    return false;\n  }\n  const symbol = tsType.symbol;\n  const name = typeChecker2.getFullyQualifiedName(symbol);\n  return name === \"String\" && isGlobalSymbol2(symbol);\n}\nfunction isPrimitiveEnumMemberType2(type, primitiveType) {\n  const isNonPrimitive = (type.flags & 67108864 /* NonPrimitive */) !== 0;\n  if (!isEnumMemberType2(type) || isNonPrimitive) {\n    return false;\n  }\n  return (type.flags & primitiveType) !== 0;\n}\nfunction unwrapParenthesizedType2(tsType) {\n  while (isParenthesizedTypeNode(tsType)) {\n    tsType = tsType.type;\n  }\n  return tsType;\n}\nfunction findParentIf2(asExpr) {\n  let node = asExpr.parent;\n  while (node) {\n    if (node.kind === 246 /* IfStatement */) {\n      return node;\n    }\n    node = node.parent;\n  }\n  return null;\n}\nfunction isDestructuringAssignmentLHS2(tsExpr) {\n  let tsParent = tsExpr.parent;\n  let tsCurrentExpr = tsExpr;\n  while (tsParent) {\n    if (isBinaryExpression(tsParent) && isAssignmentOperator3(tsParent.operatorToken) && tsParent.left === tsCurrentExpr) {\n      return true;\n    }\n    if ((isForStatement(tsParent) || isForInStatement(tsParent) || isForOfStatement(tsParent)) && tsParent.initializer && tsParent.initializer === tsCurrentExpr) {\n      return true;\n    }\n    tsCurrentExpr = tsParent;\n    tsParent = tsParent.parent;\n  }\n  return false;\n}\nfunction isEnumType2(tsType) {\n  const isEnumSymbol = tsType.symbol && isEnum(tsType.symbol);\n  const isEnumType3 = !!(tsType.flags & 32 /* Enum */) || !!(tsType.flags & 1024 /* EnumLiteral */);\n  return isEnumSymbol || isEnumType3;\n}\nfunction isEnum(tsSymbol) {\n  return !!(tsSymbol.flags & 384 /* Enum */);\n}\nfunction isEnumMemberType2(tsType) {\n  return tsType.symbol && (tsType.symbol.flags & 8 /* EnumMember */) !== 0;\n}\nfunction isObjectLiteralType3(tsType) {\n  return tsType.symbol && (tsType.symbol.flags & 4096 /* ObjectLiteral */) !== 0;\n}\nfunction hasModifier2(tsModifiers, tsModifierKind) {\n  if (!tsModifiers)\n    return false;\n  for (const tsModifier of tsModifiers) {\n    if (tsModifier.kind === tsModifierKind)\n      return true;\n  }\n  return false;\n}\nfunction unwrapParenthesized2(tsExpr) {\n  let unwrappedExpr = tsExpr;\n  while (isParenthesizedExpression(unwrappedExpr)) {\n    unwrappedExpr = unwrappedExpr.expression;\n  }\n  return unwrappedExpr;\n}\nfunction followIfAliased2(sym) {\n  if ((sym.getFlags() & 2097152 /* Alias */) !== 0) {\n    return typeChecker2.getAliasedSymbol(sym);\n  }\n  return sym;\n}\nvar trueSymbolAtLocationCache2 = new Map2();\nfunction trueSymbolAtLocation2(node) {\n  let cache = trueSymbolAtLocationCache2;\n  let val = cache.get(node);\n  if (val !== void 0) {\n    return val !== null ? val : void 0;\n  }\n  let sym = typeChecker2.getSymbolAtLocation(node);\n  if (sym === void 0) {\n    cache.set(node, null);\n    return void 0;\n  }\n  sym = followIfAliased2(sym);\n  cache.set(node, sym);\n  return sym;\n}\nfunction clearTrueSymbolAtLocationCache2() {\n  trueSymbolAtLocationCache2.clear();\n}\nfunction isTypeDeclSyntaxKind2(kind) {\n  return isStructDeclarationKind2(kind) || kind === 269 /* EnumDeclaration */ || kind === 264 /* ClassDeclaration */ || kind === 267 /* InterfaceDeclaration */ || kind === 268 /* TypeAliasDeclaration */;\n}\nfunction symbolHasDuplicateName2(symbol, tsDeclKind) {\n  const symbolDecls = symbol == null ? void 0 : symbol.getDeclarations();\n  if (symbolDecls) {\n    for (const symDecl of symbolDecls) {\n      const declKind = symDecl.kind;\n      const isNamespaceTypeCollision = isTypeDeclSyntaxKind2(declKind) && tsDeclKind === 270 /* ModuleDeclaration */ || isTypeDeclSyntaxKind2(tsDeclKind) && declKind === 270 /* ModuleDeclaration */;\n      if (declKind !== 79 /* Identifier */ && declKind !== tsDeclKind && !isNamespaceTypeCollision)\n        return true;\n    }\n  }\n  return false;\n}\nfunction isReferenceType2(tsType) {\n  const f = tsType.getFlags();\n  return (f & 58982400 /* InstantiableNonPrimitive */) !== 0 || (f & 524288 /* Object */) !== 0 || (f & 16 /* Boolean */) !== 0 || (f & 32 /* Enum */) !== 0 || (f & 67108864 /* NonPrimitive */) !== 0 || (f & 8 /* Number */) !== 0 || (f & 4 /* String */) !== 0;\n}\nfunction isPrimitiveType2(type) {\n  const f = type.getFlags();\n  return (f & 16 /* Boolean */) !== 0 || (f & 512 /* BooleanLiteral */) !== 0 || (f & 8 /* Number */) !== 0 || (f & 256 /* NumberLiteral */) !== 0;\n}\nfunction isPrimitiveLiteralType(type) {\n  return !!(type.flags & (512 /* BooleanLiteral */ | 256 /* NumberLiteral */ | 128 /* StringLiteral */ | 2048 /* BigIntLiteral */));\n}\nfunction isPurePrimitiveLiteralType(type) {\n  return isPrimitiveLiteralType(type) && !(type.flags & 1024 /* EnumLiteral */);\n}\nfunction isTypeSymbol2(symbol) {\n  return !!symbol && !!symbol.flags && ((symbol.flags & 32 /* Class */) !== 0 || (symbol.flags & 64 /* Interface */) !== 0);\n}\nfunction isGenericArrayType2(tsType) {\n  var _a2, _b, _c;\n  return isTypeReference3(tsType) && ((_a2 = tsType.typeArguments) == null ? void 0 : _a2.length) === 1 && ((_b = tsType.target.typeParameters) == null ? void 0 : _b.length) === 1 && ((_c = tsType.getSymbol()) == null ? void 0 : _c.getName()) === \"Array\";\n}\nfunction isReadonlyArrayType(tsType) {\n  var _a2, _b, _c;\n  return isTypeReference3(tsType) && ((_a2 = tsType.typeArguments) == null ? void 0 : _a2.length) === 1 && ((_b = tsType.target.typeParameters) == null ? void 0 : _b.length) === 1 && ((_c = tsType.getSymbol()) == null ? void 0 : _c.getName()) === \"ReadonlyArray\";\n}\nfunction isConcatArrayType(tsType) {\n  var _a2, _b, _c;\n  return isStdLibraryType2(tsType) && isTypeReference3(tsType) && ((_a2 = tsType.typeArguments) == null ? void 0 : _a2.length) === 1 && ((_b = tsType.target.typeParameters) == null ? void 0 : _b.length) === 1 && ((_c = tsType.getSymbol()) == null ? void 0 : _c.getName()) === \"ConcatArray\";\n}\nfunction isArrayLikeType(tsType) {\n  var _a2, _b, _c;\n  return isStdLibraryType2(tsType) && isTypeReference3(tsType) && ((_a2 = tsType.typeArguments) == null ? void 0 : _a2.length) === 1 && ((_b = tsType.target.typeParameters) == null ? void 0 : _b.length) === 1 && ((_c = tsType.getSymbol()) == null ? void 0 : _c.getName()) === \"ArrayLike\";\n}\nfunction isTypedArray2(tsType, allowTypeArrays) {\n  const symbol = tsType.symbol;\n  if (!symbol) {\n    return false;\n  }\n  const name = typeChecker2.getFullyQualifiedName(symbol);\n  if (isGlobalSymbol2(symbol) && allowTypeArrays.includes(name)) {\n    return true;\n  }\n  const decl = getDeclaration3(symbol);\n  return !!decl && isArkTSCollectionsClassOrInterfaceDeclaration(decl) && allowTypeArrays.includes(symbol.getName());\n}\nfunction isArray2(tsType) {\n  return isGenericArrayType2(tsType) || isReadonlyArrayType(tsType) || isTypedArray2(tsType, TYPED_ARRAYS2);\n}\nfunction isCollectionArrayType(tsType) {\n  return isTypedArray2(tsType, TYPED_COLLECTIONS);\n}\nfunction isIndexableArray(tsType) {\n  return isGenericArrayType2(tsType) || isReadonlyArrayType(tsType) || isConcatArrayType(tsType) || isArrayLikeType(tsType) || isTypedArray2(tsType, TYPED_ARRAYS2) || isTypedArray2(tsType, TYPED_COLLECTIONS);\n}\nfunction isTuple(tsType) {\n  return isTypeReference3(tsType) && !!(tsType.objectFlags & 8 /* Tuple */);\n}\nfunction isOrDerivedFrom(tsType, checkType, checkedBaseTypes) {\n  if (isTypeReference3(tsType) && tsType.target !== tsType) {\n    tsType = tsType.target;\n  }\n  if (checkType(tsType)) {\n    return true;\n  }\n  if (!tsType.symbol || !tsType.symbol.declarations) {\n    return false;\n  }\n  (checkedBaseTypes || (checkedBaseTypes = new Set2())).add(tsType);\n  for (const tsTypeDecl of tsType.symbol.declarations) {\n    const isClassOrInterfaceDecl = isClassDeclaration(tsTypeDecl) || isInterfaceDeclaration(tsTypeDecl);\n    const isDerived = isClassOrInterfaceDecl && !!tsTypeDecl.heritageClauses;\n    if (!isDerived) {\n      continue;\n    }\n    for (const heritageClause of tsTypeDecl.heritageClauses) {\n      if (processParentTypesCheck2(heritageClause.types, checkType, checkedBaseTypes)) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\nfunction isTypeReference3(tsType) {\n  return (tsType.getFlags() & 524288 /* Object */) !== 0 && (tsType.objectFlags & 4 /* Reference */) !== 0;\n}\nfunction isNullType2(tsTypeNode) {\n  return isLiteralTypeNode(tsTypeNode) && tsTypeNode.literal.kind === 105 /* NullKeyword */;\n}\nfunction isThisOrSuperExpr2(tsExpr) {\n  return tsExpr.kind === 109 /* ThisKeyword */ || tsExpr.kind === 107 /* SuperKeyword */;\n}\nfunction isPrototypeSymbol2(symbol) {\n  return !!symbol && !!symbol.flags && (symbol.flags & 4194304 /* Prototype */) !== 0;\n}\nfunction isFunctionSymbol3(symbol) {\n  return !!symbol && !!symbol.flags && (symbol.flags & 16 /* Function */) !== 0;\n}\nfunction isInterfaceType2(tsType) {\n  return !!tsType && !!tsType.symbol && !!tsType.symbol.flags && (tsType.symbol.flags & 64 /* Interface */) !== 0;\n}\nfunction isAnyType2(tsType) {\n  return (tsType.getFlags() & 1 /* Any */) !== 0;\n}\nfunction isUnknownType2(tsType) {\n  return (tsType.getFlags() & 2 /* Unknown */) !== 0;\n}\nfunction isUnsupportedType2(tsType) {\n  return !!tsType.flags && ((tsType.flags & 1 /* Any */) !== 0 || (tsType.flags & 2 /* Unknown */) !== 0 || (tsType.flags & 2097152 /* Intersection */) !== 0);\n}\nfunction isUnsupportedUnionType2(tsType) {\n  if (tsType.isUnion()) {\n    return !isNullableUnionType2(tsType) && !isBooleanUnionType2(tsType);\n  }\n  return false;\n}\nfunction isNullableUnionType2(tsUnionType) {\n  for (const t of tsUnionType.types) {\n    if (!!(t.flags & 32768 /* Undefined */) || !!(t.flags & 65536 /* Null */)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction isBooleanUnionType2(tsUnionType) {\n  const tsCompTypes = tsUnionType.types;\n  return tsUnionType.flags === (16 /* Boolean */ | 1048576 /* Union */) && tsCompTypes.length === 2 && tsCompTypes[0].flags === 512 /* BooleanLiteral */ && tsCompTypes[1].flags === 512 /* BooleanLiteral */;\n}\nfunction isFunctionOrMethod2(tsSymbol) {\n  return !!tsSymbol && ((tsSymbol.flags & 16 /* Function */) !== 0 || (tsSymbol.flags & 8192 /* Method */) !== 0);\n}\nfunction isMethodAssignment2(tsSymbol) {\n  return !!tsSymbol && ((tsSymbol.flags & 8192 /* Method */) !== 0 && (tsSymbol.flags & 67108864 /* Assignment */) !== 0);\n}\nfunction getDeclaration3(tsSymbol) {\n  if (tsSymbol && tsSymbol.declarations && tsSymbol.declarations.length > 0) {\n    return tsSymbol.declarations[0];\n  }\n  return void 0;\n}\nfunction isVarDeclaration2(tsDecl) {\n  return isVariableDeclaration(tsDecl) && isVariableDeclarationList(tsDecl.parent);\n}\nfunction isValidEnumMemberInit2(tsExpr) {\n  if (isNumberConstantValue2(tsExpr.parent)) {\n    return true;\n  }\n  if (isStringConstantValue2(tsExpr.parent)) {\n    return true;\n  }\n  return isCompileTimeExpression2(tsExpr);\n}\nfunction isCompileTimeExpression2(tsExpr) {\n  if (isParenthesizedExpression(tsExpr) || isAsExpression(tsExpr) && tsExpr.type.kind === 149 /* NumberKeyword */) {\n    return isCompileTimeExpression2(tsExpr.expression);\n  }\n  switch (tsExpr.kind) {\n    case 225 /* PrefixUnaryExpression */:\n      return isPrefixUnaryExprValidEnumMemberInit2(tsExpr);\n    case 217 /* ParenthesizedExpression */:\n    case 227 /* BinaryExpression */:\n      return isBinaryExprValidEnumMemberInit2(tsExpr);\n    case 228 /* ConditionalExpression */:\n      return isConditionalExprValidEnumMemberInit2(tsExpr);\n    case 79 /* Identifier */:\n      return isIdentifierValidEnumMemberInit2(tsExpr);\n    case 8 /* NumericLiteral */:\n      return true;\n    case 10 /* StringLiteral */:\n      return true;\n    case 211 /* PropertyAccessExpression */: {\n      const propertyAccess = tsExpr;\n      if (isNumberConstantValue2(propertyAccess)) {\n        return true;\n      }\n      const leftHandSymbol = typeChecker2.getSymbolAtLocation(propertyAccess.expression);\n      if (!leftHandSymbol) {\n        return false;\n      }\n      const decls = leftHandSymbol.getDeclarations();\n      if (!decls || decls.length !== 1) {\n        return false;\n      }\n      return isEnumDeclaration(decls[0]);\n    }\n    default:\n      return false;\n  }\n}\nfunction isPrefixUnaryExprValidEnumMemberInit2(tsExpr) {\n  return isUnaryOpAllowedForEnumMemberInit2(tsExpr.operator) && isCompileTimeExpression2(tsExpr.operand);\n}\nfunction isBinaryExprValidEnumMemberInit2(tsExpr) {\n  return isBinaryOpAllowedForEnumMemberInit2(tsExpr.operatorToken) && isCompileTimeExpression2(tsExpr.left) && isCompileTimeExpression2(tsExpr.right);\n}\nfunction isConditionalExprValidEnumMemberInit2(tsExpr) {\n  return isCompileTimeExpression2(tsExpr.whenTrue) && isCompileTimeExpression2(tsExpr.whenFalse);\n}\nfunction isIdentifierValidEnumMemberInit2(tsExpr) {\n  const tsSymbol = typeChecker2.getSymbolAtLocation(tsExpr);\n  const tsDecl = getDeclaration3(tsSymbol);\n  return !!tsDecl && (isVarDeclaration2(tsDecl) && isConst2(tsDecl.parent) || tsDecl.kind === 308 /* EnumMember */);\n}\nfunction isUnaryOpAllowedForEnumMemberInit2(tsPrefixUnaryOp) {\n  return tsPrefixUnaryOp === 39 /* PlusToken */ || tsPrefixUnaryOp === 40 /* MinusToken */ || tsPrefixUnaryOp === 54 /* TildeToken */;\n}\nfunction isBinaryOpAllowedForEnumMemberInit2(tsBinaryOp) {\n  return tsBinaryOp.kind === 41 /* AsteriskToken */ || tsBinaryOp.kind === 43 /* SlashToken */ || tsBinaryOp.kind === 44 /* PercentToken */ || tsBinaryOp.kind === 40 /* MinusToken */ || tsBinaryOp.kind === 39 /* PlusToken */ || tsBinaryOp.kind === 47 /* LessThanLessThanToken */ || tsBinaryOp.kind === 48 /* GreaterThanGreaterThanToken */ || tsBinaryOp.kind === 56 /* BarBarToken */ || tsBinaryOp.kind === 49 /* GreaterThanGreaterThanGreaterThanToken */ || tsBinaryOp.kind === 50 /* AmpersandToken */ || tsBinaryOp.kind === 52 /* CaretToken */ || tsBinaryOp.kind === 51 /* BarToken */ || tsBinaryOp.kind === 55 /* AmpersandAmpersandToken */;\n}\nfunction isConst2(tsNode) {\n  return !!(getCombinedNodeFlags(tsNode) & 2 /* Const */);\n}\nfunction isNumberConstantValue2(tsExpr) {\n  const tsConstValue = tsExpr.kind === 8 /* NumericLiteral */ ? Number(tsExpr.getText()) : typeChecker2.getConstantValue(tsExpr);\n  return tsConstValue !== void 0 && typeof tsConstValue === \"number\";\n}\nfunction isIntegerConstantValue2(tsExpr) {\n  const tsConstValue = tsExpr.kind === 8 /* NumericLiteral */ ? Number(tsExpr.getText()) : typeChecker2.getConstantValue(tsExpr);\n  return tsConstValue !== void 0 && typeof tsConstValue === \"number\" && tsConstValue.toFixed(0) === tsConstValue.toString();\n}\nfunction isStringConstantValue2(tsExpr) {\n  const tsConstValue = typeChecker2.getConstantValue(tsExpr);\n  return tsConstValue !== void 0 && typeof tsConstValue === \"string\";\n}\nfunction relatedByInheritanceOrIdentical2(typeA, typeB) {\n  if (isTypeReference3(typeA) && typeA.target !== typeA) {\n    typeA = typeA.target;\n  }\n  if (isTypeReference3(typeB) && typeB.target !== typeB) {\n    typeB = typeB.target;\n  }\n  if (typeA === typeB || isObject(typeB)) {\n    return true;\n  }\n  if (!typeA.symbol || !typeA.symbol.declarations) {\n    return false;\n  }\n  const isBISendable = isISendableInterface(typeB);\n  for (const typeADecl of typeA.symbol.declarations) {\n    if (isBISendable && isClassDeclaration(typeADecl) && hasSendableDecorator(typeADecl)) {\n      return true;\n    }\n    if (!isClassDeclaration(typeADecl) && !isInterfaceDeclaration(typeADecl) || !typeADecl.heritageClauses) {\n      continue;\n    }\n    for (const heritageClause of typeADecl.heritageClauses) {\n      const processInterfaces = typeA.isClass() ? heritageClause.token !== 95 /* ExtendsKeyword */ : true;\n      if (processParentTypes2(heritageClause.types, typeB, processInterfaces))\n        return true;\n    }\n  }\n  return false;\n}\nfunction reduceReference(t) {\n  return isTypeReference3(t) && t.target !== t ? t.target : t;\n}\nfunction needToDeduceStructuralIdentityHandleUnions(lhsType, rhsType, rhsExpr, isStrict) {\n  if (rhsType.isUnion()) {\n    for (const compType of rhsType.types) {\n      if (needToDeduceStructuralIdentity2(lhsType, compType, rhsExpr, isStrict)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  if (lhsType.isUnion()) {\n    for (const compType of lhsType.types) {\n      if (!needToDeduceStructuralIdentity2(compType, rhsType, rhsExpr, isStrict)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return false;\n}\nfunction needToDeduceStructuralIdentity2(lhsType, rhsType, rhsExpr, isStrict = false) {\n  lhsType = getNonNullableType2(lhsType);\n  rhsType = getNonNullableType2(rhsType);\n  if (isLibraryType2(lhsType)) {\n    return false;\n  }\n  if (isDynamicObjectAssignedToStdType2(lhsType, rhsExpr)) {\n    return false;\n  }\n  if (areCompatibleFunctionals2(lhsType, rhsType)) {\n    return false;\n  }\n  if (rhsType.isUnion() || lhsType.isUnion()) {\n    return needToDeduceStructuralIdentityHandleUnions(lhsType, rhsType, rhsExpr, isStrict);\n  }\n  if (isStrict) {\n    if (isTypeReference3(rhsType) && !!(rhsType.objectFlags & 16384 /* ArrayLiteral */)) {\n      return false;\n    }\n    lhsType = reduceReference(lhsType);\n    rhsType = reduceReference(rhsType);\n  }\n  return lhsType.isClassOrInterface() && rhsType.isClassOrInterface() && !relatedByInheritanceOrIdentical2(rhsType, lhsType);\n}\nfunction needStrictMatchType(lhsType, rhsType) {\n  if (isStrictSendableMatch(lhsType, rhsType)) {\n    return true;\n  }\n  return false;\n}\nfunction isStrictSendableMatch(lhsType, rhsType) {\n  let isStrictLhs = false;\n  if (lhsType.isUnion()) {\n    for (let compType of lhsType.types) {\n      compType = reduceReference(compType);\n      if (!compType.isClassOrInterface()) {\n        continue;\n      }\n      if (!isSendableClassOrInterface(compType)) {\n        return false;\n      }\n      isStrictLhs = true;\n    }\n  } else {\n    isStrictLhs = isSendableClassOrInterface(lhsType);\n  }\n  return isStrictLhs && typeContainsNonSendableClassOrInterface(rhsType);\n}\nfunction hasPredecessor2(node, predicate) {\n  let parent2 = node.parent;\n  while (parent2 !== void 0) {\n    if (predicate(parent2)) {\n      return true;\n    }\n    parent2 = parent2.parent;\n  }\n  return false;\n}\nfunction processParentTypes2(parentTypes, typeB, processInterfaces) {\n  for (const baseTypeExpr of parentTypes) {\n    let baseType = typeChecker2.getTypeAtLocationForLinter(baseTypeExpr);\n    if (isTypeReference3(baseType) && baseType.target !== baseType)\n      baseType = baseType.target;\n    if (baseType && baseType.isClass() !== processInterfaces && relatedByInheritanceOrIdentical2(baseType, typeB))\n      return true;\n  }\n  return false;\n}\nfunction processParentTypesCheck2(parentTypes, checkType, checkedBaseTypes) {\n  for (const baseTypeExpr of parentTypes) {\n    let baseType = typeChecker2.getTypeAtLocationForLinter(baseTypeExpr);\n    if (isTypeReference3(baseType) && baseType.target !== baseType) {\n      baseType = baseType.target;\n    }\n    if (baseType && !checkedBaseTypes.has(baseType) && isOrDerivedFrom(baseType, checkType, checkedBaseTypes)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction isObject(tsType) {\n  if (!tsType) {\n    return false;\n  }\n  if (tsType.symbol && (tsType.isClassOrInterface() && tsType.symbol.name === \"Object\")) {\n    return true;\n  }\n  const node = typeChecker2.typeToTypeNode(tsType, void 0, 524288 /* AllowEmptyTuple */);\n  return node !== void 0 && node.kind === 150 /* ObjectKeyword */;\n}\nfunction logTscDiagnostic2(diagnostics, log) {\n  diagnostics.forEach((diagnostic) => {\n    let message = flattenDiagnosticMessageText(diagnostic.messageText, \"\\n\");\n    if (diagnostic.file && diagnostic.start) {\n      const { line, character } = getLineAndCharacterOfPosition(diagnostic.file, diagnostic.start);\n      message = `${diagnostic.file.fileName} (${line + 1}, ${character + 1}): ${message}`;\n    }\n    log(message);\n  });\n}\nfunction encodeProblemInfo2(problem) {\n  return `${problem.problem}%${problem.start}%${problem.end}`;\n}\nfunction decodeAutofixInfo2(info) {\n  const infos = info.split(\"%\");\n  return { problemID: infos[0], start: Number.parseInt(infos[1]), end: Number.parseInt(infos[2]) };\n}\nfunction isCallToFunctionWithOmittedReturnType2(tsExpr) {\n  if (isCallExpression(tsExpr)) {\n    const tsCallSignature = typeChecker2.getResolvedSignature(tsExpr);\n    if (tsCallSignature) {\n      const tsSignDecl = tsCallSignature.getDeclaration();\n      if (!tsSignDecl || !tsSignDecl.type)\n        return true;\n    }\n  }\n  return false;\n}\nfunction hasReadonlyFields2(type) {\n  if (type.symbol.members === void 0)\n    return false;\n  let result = false;\n  type.symbol.members.forEach((value) => {\n    if (value.declarations !== void 0 && value.declarations.length > 0 && isPropertyDeclaration(value.declarations[0])) {\n      const propmMods = getModifiers(value.declarations[0]);\n      if (hasModifier2(propmMods, 147 /* ReadonlyKeyword */)) {\n        result = true;\n        return;\n      }\n    }\n  });\n  return result;\n}\nfunction hasDefaultCtor2(type) {\n  if (type.symbol.members === void 0)\n    return true;\n  let hasCtor = false;\n  let hasDefaultCtor3 = false;\n  type.symbol.members.forEach((value) => {\n    if ((value.flags & 16384 /* Constructor */) !== 0) {\n      hasCtor = true;\n      if (value.declarations !== void 0 && value.declarations.length > 0) {\n        const declCtor = value.declarations[0];\n        if (declCtor.parameters.length === 0) {\n          hasDefaultCtor3 = true;\n          return;\n        }\n      }\n    }\n  });\n  return !hasCtor || hasDefaultCtor3;\n}\nfunction isAbstractClass2(type) {\n  if (type.isClass() && type.symbol.declarations && type.symbol.declarations.length > 0) {\n    const declClass = type.symbol.declarations[0];\n    const classMods = getModifiers(declClass);\n    if (hasModifier2(classMods, 127 /* AbstractKeyword */)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction validateObjectLiteralType2(type) {\n  if (!type)\n    return false;\n  type = getTargetType2(type);\n  return type !== void 0 && type.isClassOrInterface() && hasDefaultCtor2(type) && !hasReadonlyFields2(type) && !isAbstractClass2(type);\n}\nfunction isStructDeclarationKind2(kind) {\n  return kind === 265 /* StructDeclaration */;\n}\nfunction isStructDeclaration3(node) {\n  return isStructDeclarationKind2(node.kind);\n}\nfunction isStructObjectInitializer2(objectLiteral) {\n  if (isCallLikeExpression(objectLiteral.parent)) {\n    const signature = typeChecker2.getResolvedSignature(objectLiteral.parent);\n    const signDecl = signature == null ? void 0 : signature.declaration;\n    return !!signDecl && isConstructorDeclaration(signDecl) && isStructDeclaration3(signDecl.parent);\n  }\n  return false;\n}\nfunction hasMethods2(type) {\n  const properties = typeChecker2.getPropertiesOfType(type);\n  if (properties == null ? void 0 : properties.length) {\n    for (const prop of properties) {\n      if (prop.getFlags() & 8192 /* Method */)\n        return true;\n    }\n  }\n  ;\n  return false;\n}\nfunction findProperty2(type, name) {\n  const properties = typeChecker2.getPropertiesOfType(type);\n  if (properties.length) {\n    for (const prop of properties) {\n      if (prop.name === name)\n        return prop;\n    }\n  }\n  return void 0;\n}\nfunction checkTypeSet(typeSet, predicate) {\n  if (!typeSet.isUnionOrIntersection()) {\n    return predicate(typeSet);\n  }\n  for (let elemType of typeSet.types) {\n    if (checkTypeSet(elemType, predicate)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction getNonNullableType2(t) {\n  if (t.isUnion()) {\n    return t.getNonNullableType();\n  }\n  return t;\n}\nfunction isObjectLiteralAssignable2(lhsType, rhsExpr) {\n  if (lhsType === void 0) {\n    return false;\n  }\n  lhsType = getNonNullableType2(lhsType);\n  if (lhsType.isUnion()) {\n    for (const compType of lhsType.types) {\n      if (isObjectLiteralAssignable2(compType, rhsExpr)) {\n        return true;\n      }\n    }\n  }\n  if ((isAnyType2(lhsType) || isLibraryType2(lhsType)) && !isStaticSourceFileForLinter(lhsType)) {\n    return true;\n  }\n  if (isDynamicObjectAssignedToStdType2(lhsType, rhsExpr)) {\n    return true;\n  }\n  if (isStdPartialType2(lhsType) || isStdRequiredType2(lhsType) || isStdReadonlyType2(lhsType)) {\n    if (lhsType.aliasTypeArguments && lhsType.aliasTypeArguments.length === 1) {\n      lhsType = lhsType.aliasTypeArguments[0];\n    } else {\n      return false;\n    }\n  }\n  if (isStdRecordType2(lhsType) || isStaticRecordForLinter(lhsType)) {\n    return validateRecordObjectKeys2(rhsExpr);\n  }\n  return validateObjectLiteralType2(lhsType) && !hasMethods2(lhsType) && validateFields2(lhsType, rhsExpr);\n}\nfunction isDynamicObjectAssignedToStdType2(lhsType, rhsExpr) {\n  if (isStdLibraryType2(lhsType) || isPrimitiveType2(lhsType)) {\n    const rhsSym = isCallExpression(rhsExpr) ? getSymbolOfCallExpression2(rhsExpr) : trueSymbolAtLocation2(rhsExpr);\n    if (rhsSym && isLibrarySymbol2(rhsSym))\n      return true;\n  }\n  return false;\n}\nfunction getTargetType2(type) {\n  return type.getFlags() & 524288 /* Object */ && type.objectFlags & 4 /* Reference */ ? type.target : type;\n}\nfunction isLiteralType2(type) {\n  return type.isLiteral() || (type.flags & 512 /* BooleanLiteral */) !== 0;\n}\nfunction validateFields2(objectType, objectLiteral) {\n  for (const prop of objectLiteral.properties) {\n    if (isPropertyAssignment(prop)) {\n      if (!validateField(objectType, prop)) {\n        return false;\n      }\n    }\n  }\n  ;\n  return true;\n}\nfunction validateField(type, prop) {\n  var _a2;\n  const propNameSymbol = typeChecker2.getSymbolAtLocation(prop.name);\n  const propName = propNameSymbol ? symbolName(propNameSymbol) : isMemberName(prop.name) ? idText(prop.name) : prop.name.getText();\n  const propSym = findProperty2(type, propName);\n  if (!propSym || !((_a2 = propSym.declarations) == null ? void 0 : _a2.length)) {\n    return false;\n  }\n  const propType = typeChecker2.getTypeOfSymbolAtLocation(propSym, propSym.declarations[0]);\n  const initExpr = unwrapParenthesized2(prop.initializer);\n  const rhsType = typeChecker2.getTypeAtLocationForLinter(initExpr);\n  if (isObjectLiteralExpression(initExpr)) {\n    if (!isObjectLiteralAssignable2(propType, initExpr)) {\n      return false;\n    }\n  } else {\n    if (needToDeduceStructuralIdentity2(\n      propType,\n      rhsType,\n      initExpr,\n      needStrictMatchType(propType, rhsType)\n    )) {\n      return false;\n    }\n    if (isWrongSendableFunctionAssignment(propType, rhsType)) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction isSupportedTypeNodeKind2(kind) {\n  return kind !== 132 /* AnyKeyword */ && kind !== 159 /* UnknownKeyword */ && kind !== 154 /* SymbolKeyword */ && kind !== 199 /* IndexedAccessType */ && kind !== 194 /* ConditionalType */ && kind !== 200 /* MappedType */ && kind !== 195 /* InferType */;\n}\nfunction isSupportedType2(typeNode) {\n  if (isParenthesizedTypeNode(typeNode))\n    return isSupportedType2(typeNode.type);\n  if (isArrayTypeNode(typeNode))\n    return isSupportedType2(typeNode.elementType);\n  if (isTypeReferenceNode(typeNode) && typeNode.typeArguments) {\n    for (const typeArg of typeNode.typeArguments) {\n      if (!isSupportedType2(typeArg)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  if (isUnionTypeNode(typeNode)) {\n    for (const unionTypeElem of typeNode.types) {\n      if (!isSupportedType2(unionTypeElem)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  if (isTupleTypeNode(typeNode)) {\n    for (const elem of typeNode.elements) {\n      if (isTypeNode(elem) && !isSupportedType2(elem))\n        return false;\n      if (isNamedTupleMember(elem) && !isSupportedType2(elem.type))\n        return false;\n    }\n    return true;\n  }\n  return !isTypeLiteralNode(typeNode) && !isTypeQueryNode(typeNode) && !isIntersectionTypeNode(typeNode) && isSupportedTypeNodeKind2(typeNode.kind);\n}\nfunction isStruct3(symbol) {\n  if (!symbol.declarations) {\n    return false;\n  }\n  for (const decl of symbol.declarations) {\n    if (isStructDeclaration3(decl)) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction validateRecordObjectKeys2(objectLiteral) {\n  for (const prop of objectLiteral.properties) {\n    if (!prop.name) {\n      return false;\n    }\n    const isValidComputedProperty = isComputedPropertyName(prop.name) && isValidComputedPropertyName(prop.name, true);\n    if (!isStringLiteral(prop.name) && !isNumericLiteral(prop.name) && !isValidComputedProperty) {\n      return false;\n    }\n  }\n  return true;\n}\nvar ES_OBJECT2 = \"ESObject\";\nvar LIMITED_STD_GLOBAL_FUNC2 = [\n  \"eval\"\n];\nvar LIMITED_STD_OBJECT_API2 = [\n  \"__proto__\",\n  \"__defineGetter__\",\n  \"__defineSetter__\",\n  \"__lookupGetter__\",\n  \"__lookupSetter__\",\n  \"assign\",\n  \"create\",\n  \"defineProperties\",\n  \"defineProperty\",\n  \"freeze\",\n  \"fromEntries\",\n  \"getOwnPropertyDescriptor\",\n  \"getOwnPropertyDescriptors\",\n  \"getOwnPropertySymbols\",\n  \"getPrototypeOf\",\n  \"hasOwnProperty\",\n  \"is\",\n  \"isExtensible\",\n  \"isFrozen\",\n  \"isPrototypeOf\",\n  \"isSealed\",\n  \"preventExtensions\",\n  \"propertyIsEnumerable\",\n  \"seal\",\n  \"setPrototypeOf\"\n];\nvar LIMITED_STD_REFLECT_API2 = [\n  \"apply\",\n  \"construct\",\n  \"defineProperty\",\n  \"deleteProperty\",\n  \"getOwnPropertyDescriptor\",\n  \"getPrototypeOf\",\n  \"isExtensible\",\n  \"preventExtensions\",\n  \"setPrototypeOf\"\n];\nvar LIMITED_STD_PROXYHANDLER_API2 = [\n  \"apply\",\n  \"construct\",\n  \"defineProperty\",\n  \"deleteProperty\",\n  \"get\",\n  \"getOwnPropertyDescriptor\",\n  \"getPrototypeOf\",\n  \"has\",\n  \"isExtensible\",\n  \"ownKeys\",\n  \"preventExtensions\",\n  \"set\",\n  \"setPrototypeOf\"\n];\nvar FUNCTION_HAS_NO_RETURN_ERROR_CODE2 = 2366;\nvar NON_RETURN_FUNCTION_DECORATORS2 = [\"AnimatableExtend\", \"Builder\", \"Extend\", \"Styles\"];\nvar STANDARD_LIBRARIES2 = [\n  \"lib.dom.d.ts\",\n  \"lib.dom.iterable.d.ts\",\n  \"lib.webworker.d.ts\",\n  \"lib.webworker.importscripd.ts\",\n  \"lib.webworker.iterable.d.ts\",\n  \"lib.scripthost.d.ts\",\n  \"lib.decorators.d.ts\",\n  \"lib.decorators.legacy.d.ts\",\n  \"lib.es5.d.ts\",\n  \"lib.es2015.core.d.ts\",\n  \"lib.es2015.collection.d.ts\",\n  \"lib.es2015.generator.d.ts\",\n  \"lib.es2015.iterable.d.ts\",\n  \"lib.es2015.promise.d.ts\",\n  \"lib.es2015.proxy.d.ts\",\n  \"lib.es2015.reflect.d.ts\",\n  \"lib.es2015.symbol.d.ts\",\n  \"lib.es2015.symbol.wellknown.d.ts\",\n  \"lib.es2016.array.include.d.ts\",\n  \"lib.es2017.object.d.ts\",\n  \"lib.es2017.sharedmemory.d.ts\",\n  \"lib.es2017.string.d.ts\",\n  \"lib.es2017.intl.d.ts\",\n  \"lib.es2017.typedarrays.d.ts\",\n  \"lib.es2018.asyncgenerator.d.ts\",\n  \"lib.es2018.asynciterable.d.ts\",\n  \"lib.es2018.intl.d.ts\",\n  \"lib.es2018.promise.d.ts\",\n  \"lib.es2018.regexp.d.ts\",\n  \"lib.es2019.array.d.ts\",\n  \"lib.es2019.object.d.ts\",\n  \"lib.es2019.string.d.ts\",\n  \"lib.es2019.symbol.d.ts\",\n  \"lib.es2019.intl.d.ts\",\n  \"lib.es2020.bigint.d.ts\",\n  \"lib.es2020.date.d.ts\",\n  \"lib.es2020.promise.d.ts\",\n  \"lib.es2020.sharedmemory.d.ts\",\n  \"lib.es2020.string.d.ts\",\n  \"lib.es2020.symbol.wellknown.d.ts\",\n  \"lib.es2020.intl.d.ts\",\n  \"lib.es2020.number.d.ts\",\n  \"lib.es2021.promise.d.ts\",\n  \"lib.es2021.string.d.ts\",\n  \"lib.es2021.weakref.d.ts\",\n  \"lib.es2021.intl.d.ts\",\n  \"lib.es2022.array.d.ts\",\n  \"lib.es2022.error.d.ts\",\n  \"lib.es2022.intl.d.ts\",\n  \"lib.es2022.object.d.ts\",\n  \"lib.es2022.sharedmemory.d.ts\",\n  \"lib.es2022.string.d.ts\",\n  \"lib.es2022.regexp.d.ts\",\n  \"lib.es2023.array.d.ts\"\n];\nvar TYPED_ARRAYS2 = [\n  \"Int8Array\",\n  \"Uint8Array\",\n  \"Uint8ClampedArray\",\n  \"Int16Array\",\n  \"Uint16Array\",\n  \"Int32Array\",\n  \"Uint32Array\",\n  \"Float32Array\",\n  \"Float64Array\",\n  \"BigInt64Array\",\n  \"BigUint64Array\"\n];\nvar TYPED_COLLECTIONS = [\n  \"BitVector\"\n];\nvar parentSymbolCache = new Map2();\nfunction getParentSymbolName2(symbol) {\n  parentSymbolCache = parentSymbolCache ? parentSymbolCache : new Map2();\n  const cached = parentSymbolCache.get(symbol);\n  if (cached) {\n    return cached;\n  }\n  const name = typeChecker2.getFullyQualifiedName(symbol);\n  const dotPosition = name.lastIndexOf(\".\");\n  const result = dotPosition === -1 ? void 0 : name.substring(0, dotPosition);\n  parentSymbolCache.set(symbol, result);\n  return result;\n}\nfunction isGlobalSymbol2(symbol) {\n  const parentName = getParentSymbolName2(symbol);\n  return !parentName || parentName === \"global\";\n}\nfunction isSymbolAPI2(symbol) {\n  const parentName = getParentSymbolName2(symbol);\n  let name = parentName ? parentName : symbol.escapedName;\n  return name === \"Symbol\" || name === \"SymbolConstructor\";\n}\nfunction isStdSymbol2(symbol) {\n  const name = typeChecker2.getFullyQualifiedName(symbol);\n  return name === \"Symbol\" && isGlobalSymbol2(symbol);\n}\nfunction isSymbolIterator2(symbol) {\n  const name = symbol.name;\n  const parName = getParentSymbolName2(symbol);\n  return (parName === \"Symbol\" || parName === \"SymbolConstructor\") && name === \"iterator\";\n}\nfunction isSymbolIteratorExpression(expr) {\n  const symbol = trueSymbolAtLocation2(expr);\n  return !!symbol && isSymbolIterator2(symbol);\n}\nfunction isDefaultImport3(importSpec) {\n  var _a2;\n  return ((_a2 = importSpec == null ? void 0 : importSpec.propertyName) == null ? void 0 : _a2.text) === \"default\";\n}\nfunction hasAccessModifier2(decl) {\n  const modifiers = getModifiers(decl);\n  return !!modifiers && (hasModifier2(modifiers, 124 /* PublicKeyword */) || hasModifier2(modifiers, 123 /* ProtectedKeyword */) || hasModifier2(modifiers, 122 /* PrivateKeyword */));\n}\nfunction getModifier2(modifiers, modifierKind) {\n  if (!modifiers)\n    return void 0;\n  return modifiers.find((x) => x.kind === modifierKind);\n}\nfunction getAccessModifier2(modifiers) {\n  var _a2, _b;\n  return (_b = (_a2 = getModifier2(modifiers, 124 /* PublicKeyword */)) != null ? _a2 : getModifier2(modifiers, 123 /* ProtectedKeyword */)) != null ? _b : getModifier2(modifiers, 122 /* PrivateKeyword */);\n}\nfunction isStdRecordType2(type) {\n  if (type.aliasSymbol) {\n    const target = type.target;\n    if (target) {\n      const sym = target.aliasSymbol;\n      return !!sym && sym.getName() === \"Record\" && isGlobalSymbol2(sym);\n    }\n  }\n  return false;\n}\nfunction isStdMapType(type) {\n  const sym = type.symbol;\n  return !!sym && sym.getName() === \"Map\" && isGlobalSymbol2(sym);\n}\nfunction isStdErrorType(type) {\n  const symbol = type.symbol;\n  if (!symbol) {\n    return false;\n  }\n  const name = typeChecker2.getFullyQualifiedName(symbol);\n  return name === \"Error\" && isGlobalSymbol2(symbol);\n}\nfunction isStdPartialType2(type) {\n  const sym = type.aliasSymbol;\n  return !!sym && sym.getName() === \"Partial\" && isGlobalSymbol2(sym);\n}\nfunction isStdRequiredType2(type) {\n  const sym = type.aliasSymbol;\n  return !!sym && sym.getName() === \"Required\" && isGlobalSymbol2(sym);\n}\nfunction isStdReadonlyType2(type) {\n  const sym = type.aliasSymbol;\n  return !!sym && sym.getName() === \"Readonly\" && isGlobalSymbol2(sym);\n}\nfunction isLibraryType2(type) {\n  var _a2;\n  const nonNullableType = type.getNonNullableType();\n  if (nonNullableType.isUnion()) {\n    for (const componentType of nonNullableType.types) {\n      if (!isLibraryType2(componentType)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return isLibrarySymbol2((_a2 = nonNullableType.aliasSymbol) != null ? _a2 : nonNullableType.getSymbol());\n}\nfunction hasLibraryType2(node) {\n  return isLibraryType2(typeChecker2.getTypeAtLocationForLinter(node));\n}\nfunction isLibrarySymbol2(sym) {\n  if (sym && sym.declarations && sym.declarations.length > 0) {\n    const srcFile = sym.declarations[0].getSourceFile();\n    if (!srcFile) {\n      return false;\n    }\n    const fileName = srcFile.fileName;\n    const ext = getAnyExtensionFromPath(fileName);\n    const isThirdParty = isThirdPartyCode(srcFile);\n    const isEts = ext === \".ets\";\n    const isTs = ext === \".ts\" && !srcFile.isDeclarationFile;\n    const isStatic2 = (isEts || isTs && testMode2) && !isThirdParty;\n    const isStdLib = STANDARD_LIBRARIES2.includes(getBaseFileName(fileName).toLowerCase());\n    return !isStatic2 && !isStdLib;\n  }\n  return false;\n}\nfunction isThirdPartyCode(srcFile) {\n  const ignoreDirs = enableStrictCheckOHModule ? ARKTS_IGNORE_DIRS_STRICT_OH_MODULES_CHECK : ARKTS_IGNORE_DIRS2;\n  return ignoreDirs.some((ignore) => srcFilePathContainsDirectory(srcFile, ignore)) || ARKTS_IGNORE_FILES2.some((ignore) => getBaseFileName(srcFile.fileName) === ignore);\n}\nvar srcFilePathComponents = new Map2();\nfunction srcFilePathContainsDirectory(srcFile, dir) {\n  let pathComps = srcFilePathComponents.get(srcFile);\n  if (!pathComps) {\n    pathComps = getPathComponents(normalizePath(srcFile.fileName));\n    srcFilePathComponents.set(srcFile, pathComps);\n  }\n  for (const subdir of pathComps) {\n    if (subdir === dir) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction pathContainsDirectory2(targetPath, dir) {\n  for (const subdir of getPathComponents(targetPath)) {\n    if (subdir === dir) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction getScriptKind3(srcFile) {\n  const fileName = srcFile.fileName;\n  const ext = getAnyExtensionFromPath(fileName);\n  switch (ext.toLowerCase()) {\n    case \".js\" /* Js */:\n      return 1 /* JS */;\n    case \".jsx\" /* Jsx */:\n      return 2 /* JSX */;\n    case \".ts\" /* Ts */:\n      return 3 /* TS */;\n    case \".tsx\" /* Tsx */:\n      return 4 /* TSX */;\n    case \".json\" /* Json */:\n      return 6 /* JSON */;\n    default:\n      return 0 /* Unknown */;\n  }\n}\nfunction isStdLibraryType2(type) {\n  var _a2;\n  return isStdLibrarySymbol2((_a2 = type.aliasSymbol) != null ? _a2 : type.getSymbol());\n}\nfunction isStdLibrarySymbol2(sym) {\n  if (sym && sym.declarations && sym.declarations.length > 0) {\n    const srcFile = sym.declarations[0].getSourceFile();\n    return srcFile && STANDARD_LIBRARIES2.includes(getBaseFileName(srcFile.fileName).toLowerCase());\n  }\n  return false;\n}\nfunction isIntrinsicObjectType2(type) {\n  return !!(type.flags & 67108864 /* NonPrimitive */);\n}\nfunction isOhModulesEtsSymbol(sym) {\n  var _a2, _b;\n  const sourceFile = (_b = (_a2 = sym == null ? void 0 : sym.declarations) == null ? void 0 : _a2[0]) == null ? void 0 : _b.getSourceFile();\n  return !!sourceFile && sourceFile.scriptKind === 8 /* ETS */ && srcFilePathContainsDirectory(sourceFile, ARKTS_IGNORE_DIRS_OH_MODULES);\n}\nfunction isDynamicType2(type) {\n  if (type === void 0) {\n    return false;\n  }\n  type = type.getNonNullableType();\n  if (type.isUnion()) {\n    for (const compType of type.types) {\n      const isDynamic = isDynamicType2(compType);\n      if (isDynamic || isDynamic === void 0) {\n        return isDynamic;\n      }\n    }\n    return false;\n  }\n  if (isLibraryType2(type) && !isStaticSourceFileForLinter(type)) {\n    return true;\n  }\n  if (!isStdLibraryType2(type) && !isIntrinsicObjectType2(type) && !isAnyType2(type)) {\n    return false;\n  }\n  return void 0;\n}\nfunction isObjectType2(type) {\n  return !!(type.flags & 524288 /* Object */);\n}\nfunction isAnonymous(type) {\n  if (isObjectType2(type)) {\n    return !!(type.objectFlags & 16 /* Anonymous */);\n  }\n  return false;\n}\nfunction isDynamicLiteralInitializer2(expr) {\n  if (!isObjectLiteralExpression(expr) && !isArrayLiteralExpression(expr)) {\n    return false;\n  }\n  let curNode = expr;\n  while (isObjectLiteralExpression(curNode) || isArrayLiteralExpression(curNode)) {\n    const exprType = typeChecker2.getContextualType(curNode);\n    if (exprType !== void 0 && !isAnonymous(exprType)) {\n      const res = isDynamicType2(exprType);\n      if (res !== void 0) {\n        return res;\n      }\n    }\n    curNode = curNode.parent;\n    if (isPropertyAssignment(curNode)) {\n      curNode = curNode.parent;\n    }\n  }\n  if (isCallExpression(curNode)) {\n    const callExpr = curNode;\n    const type = typeChecker2.getTypeAtLocationForLinter(callExpr.expression);\n    if (isAnyType2(type))\n      return true;\n    let sym = type.symbol;\n    if (isLibrarySymbol2(sym)) {\n      return true;\n    }\n    if (isPropertyAccessExpression(callExpr.expression)) {\n      sym = typeChecker2.getSymbolAtLocation(callExpr.expression.expression);\n      if (sym && sym.getFlags() & 2097152 /* Alias */) {\n        sym = typeChecker2.getAliasedSymbol(sym);\n        if (isLibrarySymbol2(sym)) {\n          return true;\n        }\n      }\n    }\n  }\n  if (isBinaryExpression(curNode)) {\n    const binExpr = curNode;\n    if (isPropertyAccessExpression(binExpr.left)) {\n      const propAccessExpr = binExpr.left;\n      const type = typeChecker2.getTypeAtLocationForLinter(propAccessExpr.expression);\n      return isLibrarySymbol2(type.symbol);\n    }\n  }\n  return false;\n}\nfunction isEsObjectType2(typeNode) {\n  return !!typeNode && isTypeReferenceNode(typeNode) && isIdentifier(typeNode.typeName) && typeNode.typeName.text === ES_OBJECT2;\n}\nfunction isInsideBlock2(node) {\n  let par = node.parent;\n  while (par) {\n    if (isBlock(par)) {\n      return true;\n    }\n    par = par.parent;\n  }\n  return false;\n}\nfunction isValueAssignableToESObject2(node) {\n  if (isArrayLiteralExpression(node) || isObjectLiteralExpression(node)) {\n    return false;\n  }\n  const valueType = typeChecker2.getTypeAtLocationForLinter(node);\n  return isUnsupportedType2(valueType) || isAnonymousType2(valueType);\n}\nfunction getVariableDeclarationTypeNode2(node) {\n  let sym = trueSymbolAtLocation2(node);\n  if (sym === void 0) {\n    return void 0;\n  }\n  return getSymbolDeclarationTypeNode2(sym);\n}\nfunction getSymbolDeclarationTypeNode2(sym) {\n  const decl = getDeclaration3(sym);\n  if (!!decl && isVariableDeclaration(decl)) {\n    return decl.type;\n  }\n  return void 0;\n}\nfunction hasEsObjectType2(node) {\n  const typeNode = getVariableDeclarationTypeNode2(node);\n  return typeNode !== void 0 && isEsObjectType2(typeNode);\n}\nfunction symbolHasEsObjectType2(sym) {\n  const typeNode = getSymbolDeclarationTypeNode2(sym);\n  return typeNode !== void 0 && isEsObjectType2(typeNode);\n}\nfunction isEsObjectSymbol2(sym) {\n  const decl = getDeclaration3(sym);\n  return !!decl && isTypeAliasDeclaration(decl) && decl.name.escapedText === ES_OBJECT2 && decl.type.kind === 132 /* AnyKeyword */;\n}\nfunction isAnonymousType2(type) {\n  if (type.isUnionOrIntersection()) {\n    for (const compType of type.types) {\n      if (isAnonymousType2(compType)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  return (type.flags & 524288 /* Object */) !== 0 && (type.objectFlags & 16 /* Anonymous */) !== 0;\n}\nfunction getSymbolOfCallExpression2(callExpr) {\n  const signature = typeChecker2.getResolvedSignature(callExpr);\n  const signDecl = signature == null ? void 0 : signature.getDeclaration();\n  if (signDecl && signDecl.name) {\n    return typeChecker2.getSymbolAtLocation(signDecl.name);\n  }\n  return void 0;\n}\nfunction typeIsRecursive2(topType, type = void 0) {\n  if (type === void 0) {\n    type = topType;\n  } else if (type === topType) {\n    return true;\n  } else if (type.aliasSymbol) {\n    return false;\n  }\n  if (type.isUnion()) {\n    for (const unionElem of type.types) {\n      if (typeIsRecursive2(topType, unionElem)) {\n        return true;\n      }\n    }\n  }\n  if (type.flags & 524288 /* Object */ && type.objectFlags & 4 /* Reference */) {\n    const typeArgs = typeChecker2.getTypeArguments(type);\n    if (typeArgs) {\n      for (const typeArg of typeArgs) {\n        if (typeIsRecursive2(topType, typeArg)) {\n          return true;\n        }\n      }\n    }\n  }\n  return false;\n}\nfunction getTypeOrTypeConstraintAtLocation(expr) {\n  let type = typeChecker2.getTypeAtLocationForLinter(expr);\n  if (type.isTypeParameter()) {\n    let constraint = type.getConstraint();\n    if (constraint) {\n      return constraint;\n    }\n  }\n  return type;\n}\nfunction areCompatibleFunctionals2(lhsType, rhsType) {\n  return (isStdFunctionType2(lhsType) || isFunctionalType2(lhsType)) && (isStdFunctionType2(rhsType) || isFunctionalType2(rhsType));\n}\nfunction isFunctionalType2(type) {\n  const callSigns = type.getCallSignatures();\n  return callSigns && callSigns.length > 0;\n}\nfunction isStdFunctionType2(type) {\n  const sym = type.getSymbol();\n  return !!sym && sym.getName() === \"Function\" && isGlobalSymbol2(sym);\n}\nfunction isStdBigIntType(type) {\n  const sym = type.symbol;\n  return !!sym && sym.getName() === \"BigInt\" && isGlobalSymbol2(sym);\n}\nfunction isStdNumberType(type) {\n  const sym = type.symbol;\n  return !!sym && sym.getName() === \"Number\" && isGlobalSymbol2(sym);\n}\nfunction isStdBooleanType(type) {\n  const sym = type.symbol;\n  return !!sym && sym.getName() === \"Boolean\" && isGlobalSymbol2(sym);\n}\nfunction isEnumStringLiteral(expr) {\n  const symbol = trueSymbolAtLocation2(expr);\n  const isEnumMember2 = !!symbol && !!(symbol.flags & 8 /* EnumMember */);\n  const type = typeChecker2.getTypeAtLocationForLinter(expr);\n  const isStringEnumLiteral = isEnumType2(type) && !!(type.flags & 128 /* StringLiteral */);\n  return isEnumMember2 && isStringEnumLiteral;\n}\nfunction isValidComputedPropertyName(computedProperty, isRecordObjectInitializer = false) {\n  const expr = computedProperty.expression;\n  if (!isRecordObjectInitializer) {\n    if (isSymbolIteratorExpression(expr)) {\n      return true;\n    }\n  }\n  return isStringLiteralLike(expr) || isEnumStringLiteral(computedProperty.expression);\n}\nfunction isAllowedIndexSignature(node) {\n  if (node.parameters.length !== 1) {\n    return false;\n  }\n  const paramType = typeChecker2.getTypeAtLocationForLinter(node.parameters[0]);\n  if ((paramType.flags & 8 /* Number */) === 0) {\n    return false;\n  }\n  return isArkTSCollectionsArrayLikeDeclaration(node.parent);\n}\nfunction isArkTSCollectionsArrayLikeType(type) {\n  var _a2;\n  const symbol = (_a2 = type.aliasSymbol) != null ? _a2 : type.getSymbol();\n  if ((symbol == null ? void 0 : symbol.declarations) === void 0 || symbol.declarations.length < 1) {\n    return false;\n  }\n  return isArkTSCollectionsArrayLikeDeclaration(symbol.declarations[0]);\n}\nfunction isArkTSCollectionsArrayLikeDeclaration(decl) {\n  if (!isArkTSCollectionsClassOrInterfaceDeclaration(decl)) {\n    return false;\n  }\n  if (!hasIndexSignature(typeChecker2.getTypeAtLocationForLinter(decl))) {\n    return false;\n  }\n  return true;\n}\nfunction isArkTSCollectionsClassOrInterfaceDeclaration(decl) {\n  if (!isClassDeclaration(decl) && !isInterfaceDeclaration(decl) || !decl.name) {\n    return false;\n  }\n  if (!isModuleBlock(decl.parent) || decl.parent.parent.name.text !== COLLECTIONS_NAMESPACE) {\n    return false;\n  }\n  if (getBaseFileName(decl.getSourceFile().fileName).toLowerCase() !== ARKTS_COLLECTIONS_D_ETS) {\n    return false;\n  }\n  return true;\n}\nfunction getDecoratorName(decorator) {\n  let decoratorName = \"\";\n  if (isIdentifier(decorator.expression)) {\n    decoratorName = decorator.expression.text;\n  } else if (isCallExpression(decorator.expression) && isIdentifier(decorator.expression.expression)) {\n    decoratorName = decorator.expression.expression.text;\n  }\n  return decoratorName;\n}\nfunction unwrapParenthesizedTypeNode(typeNode) {\n  let unwrappedTypeNode = typeNode;\n  while (isParenthesizedTypeNode(unwrappedTypeNode)) {\n    unwrappedTypeNode = unwrappedTypeNode.type;\n  }\n  return unwrappedTypeNode;\n}\nfunction isSendableTypeNode(typeNode, isShared = false) {\n  typeNode = unwrapParenthesizedTypeNode(typeNode);\n  if (isUnionTypeNode(typeNode)) {\n    return typeNode.types.every((elemType) => {\n      return isSendableTypeNode(elemType, isShared);\n    });\n  }\n  const sym = isTypeReferenceNode(typeNode) ? trueSymbolAtLocation2(typeNode.typeName) : void 0;\n  if (sym && sym.getFlags() & 524288 /* TypeAlias */) {\n    const typeDecl = getDeclaration3(sym);\n    if (typeDecl && isTypeAliasDeclaration(typeDecl)) {\n      return isSendableTypeNode(typeDecl.type, isShared);\n    }\n  }\n  if (isConstEnum(sym)) {\n    return true;\n  }\n  const type = typeChecker2.getTypeFromTypeNode(typeNode);\n  if (isShared && isPurePrimitiveLiteralType(type)) {\n    return true;\n  }\n  return isSendableType(type);\n}\nfunction isSendableType(type) {\n  if ((type.flags & (16 /* Boolean */ | 8 /* Number */ | 4 /* String */ | 64 /* BigInt */ | 65536 /* Null */ | 32768 /* Undefined */ | 262144 /* TypeParameter */)) !== 0) {\n    return true;\n  }\n  if (isSendableTypeAlias(type)) {\n    return true;\n  }\n  if (isSendableFunction(type)) {\n    return true;\n  }\n  return isSendableClassOrInterface(type);\n}\nfunction isShareableType(tsType) {\n  const sym = tsType.getSymbol();\n  if (isConstEnum(sym)) {\n    return true;\n  }\n  if (!!sym && sym.flags === 8 /* EnumMember */) {\n    if (isConstEnum(sym.parent)) {\n      return true;\n    }\n  }\n  if (tsType.isUnion()) {\n    return tsType.types.every((elemType) => {\n      return isShareableType(elemType);\n    });\n  }\n  if (isPurePrimitiveLiteralType(tsType)) {\n    return true;\n  }\n  return isSendableType(tsType);\n}\nfunction isSendableClassOrInterface(type) {\n  var _a2;\n  const sym = type.getSymbol();\n  if (!sym) {\n    return false;\n  }\n  const targetType = reduceReference(type);\n  if (targetType.isClass()) {\n    if ((_a2 = sym.declarations) == null ? void 0 : _a2.length) {\n      const decl = sym.declarations[0];\n      if (isClassDeclaration(decl)) {\n        return hasSendableDecorator(decl);\n      }\n    }\n  }\n  return isOrDerivedFrom(type, isISendableInterface);\n}\nfunction typeContainsSendableClassOrInterface(type) {\n  var _a2;\n  if ((type.flags & 1048576 /* Union */) !== 0) {\n    return !!((_a2 = type == null ? void 0 : type.types) == null ? void 0 : _a2.some((type2) => {\n      return typeContainsSendableClassOrInterface(type2);\n    }));\n  }\n  return isSendableClassOrInterface(type);\n}\nfunction typeContainsNonSendableClassOrInterface(type) {\n  if (type.isUnion()) {\n    return type.types.some((compType) => {\n      return typeContainsNonSendableClassOrInterface(compType);\n    });\n  }\n  type = reduceReference(type);\n  return type.isClassOrInterface() && !isSendableClassOrInterface(type);\n}\nfunction isConstEnum(sym) {\n  return !!sym && sym.flags === 128 /* ConstEnum */;\n}\nfunction isSendableUnionType(type) {\n  const types = type == null ? void 0 : type.types;\n  if (!types) {\n    return false;\n  }\n  return types.every((type2) => {\n    return isSendableType(type2);\n  });\n}\nfunction hasSendableDecorator(decl) {\n  const decorators = getAllDecorators(decl);\n  return decorators !== void 0 && decorators.some((x) => {\n    return getDecoratorName(x) === SENDABLE_DECORATOR;\n  });\n}\nfunction getNonSendableDecorators(decl) {\n  const decorators = getAllDecorators(decl);\n  return decorators == null ? void 0 : decorators.filter((x) => {\n    return getDecoratorName(x) !== SENDABLE_DECORATOR;\n  });\n}\nfunction getSendableDecorator(decl) {\n  const decorators = getAllDecorators(decl);\n  return decorators == null ? void 0 : decorators.find((x) => {\n    return getDecoratorName(x) === SENDABLE_DECORATOR;\n  });\n}\nfunction getDecoratorsIfInSendableClass(declaration) {\n  const classNode = getClassNodeFromDeclaration(declaration);\n  if (classNode === void 0 || !hasSendableDecorator(classNode)) {\n    return void 0;\n  }\n  return getDecorators(declaration);\n}\nfunction getClassNodeFromDeclaration(declaration) {\n  if (declaration.kind === 168 /* Parameter */) {\n    return isClassDeclaration(declaration.parent.parent) ? declaration.parent.parent : void 0;\n  }\n  return isClassDeclaration(declaration.parent) ? declaration.parent : void 0;\n}\nfunction isISendableInterface(type) {\n  var _a2;\n  const symbol = (_a2 = type.aliasSymbol) != null ? _a2 : type.getSymbol();\n  if ((symbol == null ? void 0 : symbol.declarations) === void 0 || symbol.declarations.length < 1) {\n    return false;\n  }\n  return isArkTSISendableDeclaration(symbol.declarations[0]);\n}\nfunction isArkTSISendableDeclaration(decl) {\n  if (!isInterfaceDeclaration(decl) || !decl.name || decl.name.text !== ISENDABLE_TYPE) {\n    return false;\n  }\n  if (!isModuleBlock(decl.parent) || decl.parent.parent.name.text !== LANG_NAMESPACE) {\n    return false;\n  }\n  if (getBaseFileName(decl.getSourceFile().fileName).toLowerCase() !== ARKTS_LANG_D_ETS) {\n    return false;\n  }\n  return true;\n}\nfunction isSharedModule(sourceFile) {\n  const statements = sourceFile.statements;\n  for (let statement of statements) {\n    if (isImportDeclaration(statement)) {\n      continue;\n    }\n    return isExpressionStatement(statement) && isStringLiteral(statement.expression) && statement.expression.text === USE_SHARED;\n  }\n  return false;\n}\nfunction getDeclarationNode(node) {\n  const sym = trueSymbolAtLocation2(node);\n  return getDeclaration3(sym);\n}\nfunction isFunctionLikeDeclaration2(node) {\n  return isFunctionDeclaration(node) || isMethodDeclaration(node) || isGetAccessorDeclaration(node) || isSetAccessorDeclaration(node) || isConstructorDeclaration(node) || isFunctionExpression(node) || isArrowFunction(node);\n}\nfunction isShareableEntity(node) {\n  const decl = getDeclarationNode(node);\n  const typeNode = decl == null ? void 0 : decl.type;\n  return typeNode && !isFunctionLikeDeclaration2(decl) ? isSendableTypeNode(typeNode, true) : isShareableType(typeChecker2.getTypeAtLocationForLinter(decl ? decl : node));\n}\nfunction isSendableClassOrInterfaceEntity(node) {\n  const decl = getDeclarationNode(node);\n  if (!decl) {\n    return false;\n  }\n  if (isClassDeclaration(decl)) {\n    return hasSendableDecorator(decl);\n  }\n  if (isInterfaceDeclaration(decl)) {\n    return isOrDerivedFrom(typeChecker2.getTypeAtLocationForLinter(decl), isISendableInterface);\n  }\n  return false;\n}\nfunction isInImportWhiteList(resolvedModule) {\n  if (!resolvedModule.resolvedFileName || getBaseFileName(resolvedModule.resolvedFileName) !== ARKTS_LANG_D_ETS && getBaseFileName(resolvedModule.resolvedFileName) !== ARKTS_COLLECTIONS_D_ETS) {\n    return false;\n  }\n  return true;\n}\nfunction hasSendableDecoratorFunctionOverload(decl) {\n  const decorators = getFunctionOverloadDecorators(decl);\n  return !!(decorators == null ? void 0 : decorators.some((x) => {\n    return getDecoratorName(x) === SENDABLE_DECORATOR;\n  }));\n}\nfunction getFunctionOverloadDecorators(funcDecl) {\n  const decls = funcDecl.symbol.getDeclarations();\n  if (!(decls == null ? void 0 : decls.length)) {\n    return void 0;\n  }\n  let result = [];\n  decls.forEach((decl) => {\n    if (!isFunctionDeclaration(decl)) {\n      return;\n    }\n    const decorators = getAllDecorators(decl);\n    if (decorators) {\n      result = result.concat(decorators);\n    }\n  });\n  return result.length ? result : void 0;\n}\nfunction isSendableFunction(type) {\n  const callSigns = type.getCallSignatures();\n  if (!(callSigns == null ? void 0 : callSigns.length)) {\n    return false;\n  }\n  const decl = callSigns[0].declaration;\n  if (!decl || !isFunctionDeclaration(decl)) {\n    return false;\n  }\n  return hasSendableDecoratorFunctionOverload(decl);\n}\nfunction isSendableTypeAlias(type) {\n  const decl = getTypsAliasOriginalDecl(type);\n  return !!decl && hasSendableDecorator(decl);\n}\nfunction hasSendableTypeAlias(type) {\n  if (type.isUnion()) {\n    return type.types.some((compType) => {\n      return hasSendableTypeAlias(compType);\n    });\n  }\n  ;\n  return isSendableTypeAlias(type);\n}\nfunction isNonSendableFunctionTypeAlias(type) {\n  const decl = getTypsAliasOriginalDecl(type);\n  return !!decl && isFunctionTypeNode(decl.type) && !hasSendableDecorator(decl);\n}\nfunction getTypsAliasOriginalDecl(type) {\n  if (!type.aliasSymbol) {\n    return void 0;\n  }\n  const decl = getDeclaration3(type.aliasSymbol);\n  if (!decl || !isTypeAliasDeclaration(decl)) {\n    return void 0;\n  }\n  if (isTypeReferenceNode(decl.type)) {\n    const targetType = typeChecker2.getTypeAtLocationForLinter(decl.type.typeName);\n    if (targetType.aliasSymbol && targetType.aliasSymbol.getFlags() & 524288 /* TypeAlias */) {\n      return getTypsAliasOriginalDecl(targetType);\n    }\n  }\n  return decl;\n}\nfunction isWrongSendableFunctionAssignment(lhsType, rhsType) {\n  lhsType = getNonNullableType2(lhsType);\n  rhsType = getNonNullableType2(rhsType);\n  if (!hasSendableTypeAlias(lhsType)) {\n    return false;\n  }\n  if (rhsType.isUnion()) {\n    return rhsType.types.some((compType) => {\n      return isInvalidSendableFunctionAssignmentType(compType);\n    });\n  }\n  return isInvalidSendableFunctionAssignmentType(rhsType);\n}\nfunction isInvalidSendableFunctionAssignmentType(type) {\n  if (type.aliasSymbol) {\n    return isNonSendableFunctionTypeAlias(type);\n  }\n  if (isFunctionalType2(type)) {\n    return !isSendableFunction(type);\n  }\n  return false;\n}\nfunction searchFileExportDecl(sourceFile, targetDecls) {\n  const exportDeclSet = new Set2();\n  const appendDecl = (decl) => {\n    if (!decl || targetDecls && !targetDecls.includes(decl.kind)) {\n      return;\n    }\n    exportDeclSet.add(decl);\n  };\n  sourceFile.statements.forEach((statement) => {\n    if (isExportAssignment(statement)) {\n      if (statement.isExportEquals) {\n        return;\n      }\n      appendDecl(getDeclarationNode(statement.expression));\n    } else if (isExportDeclaration(statement)) {\n      if (!statement.exportClause || !isNamedExports(statement.exportClause)) {\n        return;\n      }\n      statement.exportClause.elements.forEach((specifier) => {\n        var _a2;\n        appendDecl(getDeclarationNode((_a2 = specifier.propertyName) != null ? _a2 : specifier.name));\n      });\n    } else if (canHaveModifiers(statement)) {\n      if (!hasModifier2(getModifiers(statement), 94 /* ExportKeyword */)) {\n        return;\n      }\n      if (!isVariableStatement(statement)) {\n        appendDecl(statement);\n        return;\n      }\n      for (const exportDecl of statement.declarationList.declarations) {\n        appendDecl(exportDecl);\n      }\n    }\n  });\n  return exportDeclSet;\n}\nfunction clearUtilsGlobalvariables() {\n  parentSymbolCache == null ? void 0 : parentSymbolCache.clear();\n  parentSymbolCache = void 0;\n  srcFilePathComponents.clear();\n}\nfunction isTaskPoolApi(exprSym, node) {\n  if (!isPropertyAccessExpression(node)) {\n    return false;\n  }\n  const propertyAccessNode = node;\n  const baseExprSym = trueSymbolAtLocation2(propertyAccessNode.expression);\n  if (!exprSym || !baseExprSym) {\n    return false;\n  }\n  if ((baseExprSym.name === TASKPOOL || baseExprSym.name === TASKGROUP) && TASKPOOL_API.includes(exprSym.name)) {\n    return true;\n  }\n  const baseExprType = typeChecker2.getTypeOfSymbol(baseExprSym);\n  if (typeChecker2.typeToString(baseExprType) === TASKGROUP && TASKPOOL_API.includes(exprSym.name)) {\n    return true;\n  }\n  return false;\n}\nfunction isConcurrentFunction(type) {\n  const callSigns = type.getCallSignatures();\n  if (!(callSigns == null ? void 0 : callSigns.length)) {\n    return false;\n  }\n  const decl = callSigns[0].declaration;\n  if (!decl || !isFunctionDeclaration(decl)) {\n    return false;\n  }\n  return hasConcurrentDecoratorFunctionOverload(decl) || hasUseConcurrentDirective(decl);\n}\nfunction hasConcurrentDecoratorFunctionOverload(decl) {\n  const decorators = getFunctionOverloadDecorators(decl);\n  return !!(decorators == null ? void 0 : decorators.some((x) => {\n    return getDecoratorName(x) === CONCURRENT_DECORATOR;\n  }));\n}\nfunction hasUseConcurrentDirective(decl) {\n  const body = decl.body;\n  if (!body || !isBlock(body)) {\n    return false;\n  }\n  const firstStatement = body.statements[0];\n  if (!firstStatement) {\n    return false;\n  }\n  if (isExpressionStatement(firstStatement) && isStringLiteral(firstStatement.expression)) {\n    return firstStatement.expression.text.trim() === USE_CONCURRENT;\n  }\n  return false;\n}\nfunction isDeclarationSymbol(sym) {\n  if (sym && sym.declarations && sym.declarations.length > 0) {\n    const srcFile = sym.declarations[0].getSourceFile();\n    if (!srcFile) {\n      return false;\n    }\n    return srcFile.isDeclarationFile;\n  }\n  return false;\n}\nfunction checkTaskpoolFunction(arg, argType, argSym) {\n  const symbol = trueSymbolAtLocation2(arg);\n  const decl = getDeclaration3(symbol);\n  if (isDeclarationSymbol(argSym)) {\n    return !!decl && isObjectConstructor(decl);\n  }\n  if (isFunctionSymbol3(argSym)) {\n    return !isConcurrentFunction(argType);\n  }\n  return !!decl && (isMethodDeclaration(decl) || isClassDeclaration(decl));\n}\nfunction isObjectConstructor(decl) {\n  if (isPropertySignature(decl) && decl.name.getText() === \"constructor\" && isInterfaceDeclaration(decl.parent) && decl.parent.name.getText() === \"Object\") {\n    const sourcefile = decl.getSourceFile();\n    return !!sourcefile && getBaseFileName(sourcefile.fileName).toLowerCase() === \"lib.es5.d.ts\";\n  }\n  return false;\n}\nfunction isStaticSourceFileForLinter(type) {\n  var _a2, _b, _c;\n  if (mixCompile && typeChecker2.isStaticSourceFile) {\n    return typeChecker2.isStaticSourceFile((_c = (_b = (_a2 = type.symbol) == null ? void 0 : _a2.declarations) == null ? void 0 : _b[0]) == null ? void 0 : _c.getSourceFile());\n  }\n  return false;\n}\nfunction isStaticRecordForLinter(type) {\n  return mixCompile && !!typeChecker2.isStaticRecord && typeChecker2.isStaticRecord(type);\n}\nfunction isArkUIDecorator(decorator) {\n  const decoratorName = getDecoratorName(decorator);\n  return ARKUI_DECORATOR_LIST.includes(decoratorName);\n}\nfunction isDisableSendableClassDecoratorCheck(disableSendableCheckRules) {\n  return disableSendableCheckRules.includes(SENDABLE_CLASS_DECORATOR_RULE);\n}\n\n// src/linter/ArkTSLinter_1_1/Autofixer.ts\nvar AUTOFIX_ALL2 = { problemID: \"\", start: -1, end: -1 };\nvar UNSAFE_FIXES2 = [\n  5 /* LiteralAsPropertyName */,\n  47 /* PropertyAccessByIndex */\n];\nvar autofixInfo2 = [];\nfunction shouldAutofix2(node, faultID) {\n  if (UNSAFE_FIXES2.includes(faultID))\n    return false;\n  if (autofixInfo2.length === 0)\n    return false;\n  if (autofixInfo2.length === 1 && autofixInfo2[0] === AUTOFIX_ALL2)\n    return true;\n  return autofixInfo2.findIndex(\n    (value) => value.start === node.getStart() && value.end === node.getEnd() && value.problemID === FaultID2[faultID]\n  ) !== -1;\n}\nvar printer2 = createPrinter({ omitTrailingSemicolon: false, removeComments: false });\nfunction numericLiteral2IdentifierName2(numeric) {\n  return \"__\" + numeric.getText();\n}\nfunction stringLiteral2IdentifierName2(str) {\n  const text = str.getText();\n  return text.substring(1, text.length - 1);\n}\nfunction propertyName2IdentifierName2(name) {\n  if (name.kind === 8 /* NumericLiteral */) {\n    return numericLiteral2IdentifierName2(name);\n  }\n  if (name.kind === 10 /* StringLiteral */) {\n    return stringLiteral2IdentifierName2(name);\n  }\n  return \"\";\n}\nfunction indexExpr2IdentifierName2(index) {\n  if (index.kind === 8 /* NumericLiteral */) {\n    return numericLiteral2IdentifierName2(index);\n  }\n  if (index.kind === 10 /* StringLiteral */) {\n    return stringLiteral2IdentifierName2(index);\n  }\n  return \"\";\n}\nfunction fixLiteralAsPropertyName2(node) {\n  if (isPropertyDeclaration(node) || isPropertyAssignment(node)) {\n    const propName = node.name;\n    const identName = propertyName2IdentifierName2(propName);\n    if (identName) {\n      return [{ replacementText: identName, start: propName.getStart(), end: propName.getEnd() }];\n    }\n  }\n  return void 0;\n}\nfunction fixPropertyAccessByIndex2(node) {\n  if (isElementAccessExpression(node)) {\n    const elemAccess = node;\n    const identifierName = indexExpr2IdentifierName2(elemAccess.argumentExpression);\n    if (identifierName) {\n      return [{\n        replacementText: elemAccess.expression.getText() + \".\" + identifierName,\n        start: elemAccess.getStart(),\n        end: elemAccess.getEnd()\n      }];\n    }\n  }\n  return void 0;\n}\nfunction fixFunctionExpression2(funcExpr, params = funcExpr.parameters, retType = funcExpr.type) {\n  const arrowFunc = factory.createArrowFunction(\n    void 0,\n    void 0,\n    params,\n    retType,\n    factory.createToken(38 /* EqualsGreaterThanToken */),\n    funcExpr.body\n  );\n  const text = printer2.printNode(4 /* Unspecified */, arrowFunc, funcExpr.getSourceFile());\n  return { start: funcExpr.getStart(), end: funcExpr.getEnd(), replacementText: text };\n}\nfunction fixReturnType2(funcLikeDecl, typeNode) {\n  const text = \": \" + printer2.printNode(4 /* Unspecified */, typeNode, funcLikeDecl.getSourceFile());\n  const pos = getReturnTypePosition2(funcLikeDecl);\n  return { start: pos, end: pos, replacementText: text };\n}\nfunction getReturnTypePosition2(funcLikeDecl) {\n  if (funcLikeDecl.body) {\n    const postParametersPosition = isArrowFunction(funcLikeDecl) ? funcLikeDecl.equalsGreaterThanToken.getStart() : funcLikeDecl.body.getStart();\n    const children = funcLikeDecl.getChildren();\n    for (let i = children.length - 1; i >= 0; i--) {\n      const child = children[i];\n      if (child.kind === 21 /* CloseParenToken */ && child.getEnd() < postParametersPosition) {\n        return child.getEnd();\n      }\n    }\n  }\n  return -1;\n}\nfunction fixCtorParameterProperties2(ctorDecl, paramTypes) {\n  const fieldInitStmts = [];\n  const newFieldPos = ctorDecl.getStart();\n  const autofixes = [{ start: newFieldPos, end: newFieldPos, replacementText: \"\" }];\n  for (let i = 0; i < ctorDecl.parameters.length; i++) {\n    const param = ctorDecl.parameters[i];\n    if (!isIdentifier(param.name)) {\n      continue;\n    }\n    if (hasAccessModifier2(param)) {\n      const propIdent = factory.createIdentifier(param.name.text);\n      const newFieldNode = factory.createPropertyDeclaration(\n        param.modifiers,\n        propIdent,\n        void 0,\n        paramTypes[i],\n        void 0\n      );\n      const newFieldText = printer2.printNode(4 /* Unspecified */, newFieldNode, ctorDecl.getSourceFile()) + \"\\n\";\n      autofixes[0].replacementText += newFieldText;\n      const newParamDecl = factory.createParameterDeclaration(\n        void 0,\n        void 0,\n        param.name,\n        param.questionToken,\n        param.type,\n        param.initializer\n      );\n      const newParamText = printer2.printNode(4 /* Unspecified */, newParamDecl, ctorDecl.getSourceFile());\n      autofixes.push({ start: param.getStart(), end: param.getEnd(), replacementText: newParamText });\n      fieldInitStmts.push(factory.createExpressionStatement(factory.createAssignment(\n        factory.createPropertyAccessExpression(\n          factory.createThis(),\n          propIdent\n        ),\n        propIdent\n      )));\n    }\n  }\n  if (ctorDecl.body) {\n    const newBody = factory.createBlock(fieldInitStmts.concat(ctorDecl.body.statements), true);\n    const newBodyText = printer2.printNode(4 /* Unspecified */, newBody, ctorDecl.getSourceFile());\n    autofixes.push({ start: ctorDecl.body.getStart(), end: ctorDecl.body.getEnd(), replacementText: newBodyText });\n  }\n  return autofixes;\n}\n\n// src/linter/ArkTSLinter_1_1/TypeScriptLinterConfig.ts\nvar _LinterConfig2 = class {\n  static initStatic() {\n    _LinterConfig2.nodeDesc[0 /* AnyType */] = '\"any\" type';\n    _LinterConfig2.nodeDesc[1 /* SymbolType */] = '\"symbol\" type';\n    _LinterConfig2.nodeDesc[2 /* ObjectLiteralNoContextType */] = \"Object literals with no context Class or Interface type\";\n    _LinterConfig2.nodeDesc[3 /* ArrayLiteralNoContextType */] = \"Array literals with no context Array type\";\n    _LinterConfig2.nodeDesc[4 /* ComputedPropertyName */] = \"Computed properties\";\n    _LinterConfig2.nodeDesc[5 /* LiteralAsPropertyName */] = \"String or integer literal as property name\";\n    _LinterConfig2.nodeDesc[6 /* TypeQuery */] = '\"typeof\" operations';\n    _LinterConfig2.nodeDesc[7 /* IsOperator */] = '\"is\" operations';\n    _LinterConfig2.nodeDesc[8 /* DestructuringParameter */] = \"destructuring parameters\";\n    _LinterConfig2.nodeDesc[9 /* YieldExpression */] = '\"yield\" operations';\n    _LinterConfig2.nodeDesc[10 /* InterfaceMerging */] = \"merging interfaces\";\n    _LinterConfig2.nodeDesc[11 /* EnumMerging */] = \"merging enums\";\n    _LinterConfig2.nodeDesc[12 /* InterfaceExtendsClass */] = \"interfaces inherited from classes\";\n    _LinterConfig2.nodeDesc[13 /* IndexMember */] = \"index members\";\n    _LinterConfig2.nodeDesc[14 /* WithStatement */] = '\"with\" statements';\n    _LinterConfig2.nodeDesc[15 /* ThrowStatement */] = '\"throw\" statements with expression of wrong type';\n    _LinterConfig2.nodeDesc[16 /* IndexedAccessType */] = \"Indexed access type\";\n    _LinterConfig2.nodeDesc[17 /* UnknownType */] = '\"unknown\" type';\n    _LinterConfig2.nodeDesc[18 /* ForInStatement */] = '\"for-In\" statements';\n    _LinterConfig2.nodeDesc[19 /* InOperator */] = '\"in\" operations';\n    _LinterConfig2.nodeDesc[20 /* FunctionExpression */] = \"function expressions\";\n    _LinterConfig2.nodeDesc[21 /* IntersectionType */] = \"intersection types and type literals\";\n    _LinterConfig2.nodeDesc[22 /* ObjectTypeLiteral */] = \"Object type literals\";\n    _LinterConfig2.nodeDesc[23 /* CommaOperator */] = \"comma operator\";\n    _LinterConfig2.nodeDesc[24 /* LimitedReturnTypeInference */] = \"Functions with limited return type inference\";\n    _LinterConfig2.nodeDesc[25 /* ClassExpression */] = \"Class expressions\";\n    _LinterConfig2.nodeDesc[26 /* DestructuringAssignment */] = \"Destructuring assignments\";\n    _LinterConfig2.nodeDesc[27 /* DestructuringDeclaration */] = \"Destructuring variable declarations\";\n    _LinterConfig2.nodeDesc[28 /* VarDeclaration */] = '\"var\" declarations';\n    _LinterConfig2.nodeDesc[29 /* CatchWithUnsupportedType */] = '\"catch\" clause with unsupported exception type';\n    _LinterConfig2.nodeDesc[30 /* DeleteOperator */] = '\"delete\" operations';\n    _LinterConfig2.nodeDesc[31 /* DeclWithDuplicateName */] = \"Declarations with duplicate name\";\n    _LinterConfig2.nodeDesc[32 /* UnaryArithmNotNumber */] = \"Unary arithmetics with not-numeric values\";\n    _LinterConfig2.nodeDesc[33 /* ConstructorType */] = \"Constructor type\";\n    _LinterConfig2.nodeDesc[35 /* ConstructorFuncs */] = \"Constructor function type is not supported\";\n    _LinterConfig2.nodeDesc[34 /* ConstructorIface */] = \"Construct signatures are not supported in interfaces\";\n    _LinterConfig2.nodeDesc[36 /* CallSignature */] = \"Call signatures\";\n    _LinterConfig2.nodeDesc[37 /* TypeAssertion */] = \"Type assertion expressions\";\n    _LinterConfig2.nodeDesc[38 /* PrivateIdentifier */] = 'Private identifiers (with \"#\" prefix)';\n    _LinterConfig2.nodeDesc[39 /* LocalFunction */] = \"Local function declarations\";\n    _LinterConfig2.nodeDesc[40 /* ConditionalType */] = \"Conditional type\";\n    _LinterConfig2.nodeDesc[41 /* MappedType */] = \"Mapped type\";\n    _LinterConfig2.nodeDesc[42 /* NamespaceAsObject */] = \"Namespaces used as objects\";\n    _LinterConfig2.nodeDesc[43 /* ClassAsObject */] = \"Class used as object\";\n    _LinterConfig2.nodeDesc[44 /* NonDeclarationInNamespace */] = \"Non-declaration statements in namespaces\";\n    _LinterConfig2.nodeDesc[45 /* GeneratorFunction */] = \"Generator functions\";\n    _LinterConfig2.nodeDesc[46 /* FunctionContainsThis */] = 'Functions containing \"this\"';\n    _LinterConfig2.nodeDesc[47 /* PropertyAccessByIndex */] = \"property access by index\";\n    _LinterConfig2.nodeDesc[48 /* JsxElement */] = \"JSX Elements\";\n    _LinterConfig2.nodeDesc[49 /* EnumMemberNonConstInit */] = \"Enum members with non-constant initializer\";\n    _LinterConfig2.nodeDesc[50 /* ImplementsClass */] = 'Class type mentioned in \"implements\" clause';\n    _LinterConfig2.nodeDesc[51 /* MethodReassignment */] = \"Method reassignment\";\n    _LinterConfig2.nodeDesc[52 /* MultipleStaticBlocks */] = \"Multiple static blocks\";\n    _LinterConfig2.nodeDesc[53 /* ThisType */] = '\"this\" type';\n    _LinterConfig2.nodeDesc[54 /* IntefaceExtendDifProps */] = \"Extends same properties with different types\";\n    _LinterConfig2.nodeDesc[55 /* StructuralIdentity */] = \"Use of type structural identity\";\n    _LinterConfig2.nodeDesc[56 /* ExportAssignment */] = \"Export assignments (export = ..)\";\n    _LinterConfig2.nodeDesc[57 /* ImportAssignment */] = \"Import assignments (import = ..)\";\n    _LinterConfig2.nodeDesc[58 /* GenericCallNoTypeArgs */] = \"Generic calls without type arguments\";\n    _LinterConfig2.nodeDesc[59 /* ParameterProperties */] = \"Parameter properties in constructor\";\n    _LinterConfig2.nodeDesc[60 /* InstanceofUnsupported */] = 'Left-hand side of \"instanceof\" is wrong';\n    _LinterConfig2.nodeDesc[61 /* ShorthandAmbientModuleDecl */] = \"Shorthand ambient module declaration\";\n    _LinterConfig2.nodeDesc[62 /* WildcardsInModuleName */] = \"Wildcards in module name\";\n    _LinterConfig2.nodeDesc[63 /* UMDModuleDefinition */] = \"UMD module definition\";\n    _LinterConfig2.nodeDesc[64 /* NewTarget */] = '\"new.target\" meta-property';\n    _LinterConfig2.nodeDesc[65 /* DefiniteAssignment */] = \"Definite assignment assertion\";\n    _LinterConfig2.nodeDesc[66 /* Prototype */] = \"Prototype assignment\";\n    _LinterConfig2.nodeDesc[67 /* GlobalThis */] = \"Use of globalThis\";\n    _LinterConfig2.nodeDesc[68 /* UtilityType */] = \"Standard Utility types\";\n    _LinterConfig2.nodeDesc[69 /* PropertyDeclOnFunction */] = \"Property declaration on function\";\n    _LinterConfig2.nodeDesc[70 /* FunctionApplyCall */] = \"Invoking methods of function objects\";\n    _LinterConfig2.nodeDesc[71 /* FunctionBind */] = \"Invoking methods of function objects\";\n    _LinterConfig2.nodeDesc[72 /* ConstAssertion */] = '\"as const\" assertion';\n    _LinterConfig2.nodeDesc[73 /* ImportAssertion */] = \"Import assertion\";\n    _LinterConfig2.nodeDesc[74 /* SpreadOperator */] = \"Spread operation\";\n    _LinterConfig2.nodeDesc[75 /* LimitedStdLibApi */] = \"Limited standard library API\";\n    _LinterConfig2.nodeDesc[76 /* ErrorSuppression */] = \"Error suppression annotation\";\n    _LinterConfig2.nodeDesc[77 /* StrictDiagnostic */] = \"Strict diagnostic\";\n    _LinterConfig2.nodeDesc[78 /* ImportAfterStatement */] = \"Import declaration after other declaration or statement\";\n    _LinterConfig2.nodeDesc[79 /* EsObjectType */] = 'Restricted \"ESObject\" type';\n    _LinterConfig2.nodeDesc[80 /* SendableClassInheritance */] = \"Sendable class inheritance\";\n    _LinterConfig2.nodeDesc[81 /* SendablePropType */] = \"Sendable class property\";\n    _LinterConfig2.nodeDesc[82 /* SendableDefiniteAssignment */] = 'Use of definite assignment assertion in \"Sendable\" class';\n    _LinterConfig2.nodeDesc[83 /* SendableGenericTypes */] = \"Sendable generic types\";\n    _LinterConfig2.nodeDesc[85 /* SendableClassDecorator */] = \"Sendable class decorator\";\n    _LinterConfig2.nodeDesc[86 /* SendableObjectInitialization */] = 'Object literal or array literal is not allowed to                                                                           initialize a \"Sendable\" object';\n    _LinterConfig2.nodeDesc[87 /* SendableComputedPropName */] = \"Sendable computed property name\";\n    _LinterConfig2.nodeDesc[88 /* SendableAsExpr */] = \"Sendable as expr\";\n    _LinterConfig2.nodeDesc[89 /* SharedNoSideEffectImport */] = \"Shared no side effect import\";\n    _LinterConfig2.nodeDesc[90 /* SharedModuleExports */] = \"Shared module exports\";\n    _LinterConfig2.nodeDesc[91 /* SharedModuleNoWildcardExport */] = \"Share module no wildcard export\";\n    _LinterConfig2.nodeDesc[92 /* NoTsImportEts */] = \"No ts Import Ets\";\n    _LinterConfig2.nodeDesc[93 /* SendableTypeInheritance */] = \"Sendable type inheritance\";\n    _LinterConfig2.nodeDesc[94 /* SendableTypeExported */] = \"Sendable type exported\";\n    _LinterConfig2.nodeDesc[95 /* NoTsReExportEts */] = \"No ts re-export ets\";\n    _LinterConfig2.nodeDesc[96 /* NoNamespaceImportEtsToTs */] = \"No namespace import ets to ts\";\n    _LinterConfig2.nodeDesc[97 /* NoSideEffectImportEtsToTs */] = \"No side effect import ets to ts\";\n    _LinterConfig2.nodeDesc[98 /* SendableExplicitFieldType */] = \"Field in sendable class must have type annotation\";\n  }\n};\nvar LinterConfig2 = _LinterConfig2;\nLinterConfig2.nodeDesc = [];\nLinterConfig2.tsSyntaxKindNames = [];\nLinterConfig2.terminalTokens = new Set2([\n  18 /* OpenBraceToken */,\n  19 /* CloseBraceToken */,\n  20 /* OpenParenToken */,\n  21 /* CloseParenToken */,\n  22 /* OpenBracketToken */,\n  23 /* CloseBracketToken */,\n  24 /* DotToken */,\n  25 /* DotDotDotToken */,\n  26 /* SemicolonToken */,\n  27 /* CommaToken */,\n  28 /* QuestionDotToken */,\n  29 /* LessThanToken */,\n  30 /* LessThanSlashToken */,\n  31 /* GreaterThanToken */,\n  32 /* LessThanEqualsToken */,\n  33 /* GreaterThanEqualsToken */,\n  34 /* EqualsEqualsToken */,\n  35 /* ExclamationEqualsToken */,\n  36 /* EqualsEqualsEqualsToken */,\n  37 /* ExclamationEqualsEqualsToken */,\n  38 /* EqualsGreaterThanToken */,\n  39 /* PlusToken */,\n  40 /* MinusToken */,\n  41 /* AsteriskToken */,\n  42 /* AsteriskAsteriskToken */,\n  43 /* SlashToken */,\n  44 /* PercentToken */,\n  45 /* PlusPlusToken */,\n  46 /* MinusMinusToken */,\n  47 /* LessThanLessThanToken */,\n  48 /* GreaterThanGreaterThanToken */,\n  49 /* GreaterThanGreaterThanGreaterThanToken */,\n  50 /* AmpersandToken */,\n  51 /* BarToken */,\n  52 /* CaretToken */,\n  53 /* ExclamationToken */,\n  54 /* TildeToken */,\n  55 /* AmpersandAmpersandToken */,\n  56 /* BarBarToken */,\n  60 /* QuestionQuestionToken */,\n  57 /* QuestionToken */,\n  58 /* ColonToken */,\n  59 /* AtToken */,\n  61 /* BacktickToken */,\n  63 /* EqualsToken */,\n  64 /* PlusEqualsToken */,\n  65 /* MinusEqualsToken */,\n  66 /* AsteriskEqualsToken */,\n  67 /* AsteriskAsteriskEqualsToken */,\n  68 /* SlashEqualsToken */,\n  69 /* PercentEqualsToken */,\n  70 /* LessThanLessThanEqualsToken */,\n  71 /* GreaterThanGreaterThanEqualsToken */,\n  72 /* GreaterThanGreaterThanGreaterThanEqualsToken */,\n  73 /* AmpersandEqualsToken */,\n  74 /* BarEqualsToken */,\n  78 /* CaretEqualsToken */,\n  1 /* EndOfFileToken */,\n  2 /* SingleLineCommentTrivia */,\n  3 /* MultiLineCommentTrivia */,\n  4 /* NewLineTrivia */,\n  5 /* WhitespaceTrivia */,\n  6 /* ShebangTrivia */,\n  7 /* ConflictMarkerTrivia */\n]);\nLinterConfig2.incrementOnlyTokens = new Map2([\n  [132 /* AnyKeyword */, 0 /* AnyType */],\n  [154 /* SymbolKeyword */, 1 /* SymbolType */],\n  [197 /* ThisType */, 53 /* ThisType */],\n  [186 /* TypeQuery */, 6 /* TypeQuery */],\n  [221 /* DeleteExpression */, 30 /* DeleteOperator */],\n  [182 /* TypePredicate */, 7 /* IsOperator */],\n  [230 /* YieldExpression */, 9 /* YieldExpression */],\n  [255 /* WithStatement */, 14 /* WithStatement */],\n  [199 /* IndexedAccessType */, 16 /* IndexedAccessType */],\n  [159 /* UnknownKeyword */, 17 /* UnknownType */],\n  [179 /* CallSignature */, 36 /* CallSignature */],\n  [193 /* IntersectionType */, 21 /* IntersectionType */],\n  [187 /* TypeLiteral */, 22 /* ObjectTypeLiteral */],\n  [185 /* ConstructorType */, 35 /* ConstructorFuncs */],\n  [80 /* PrivateIdentifier */, 38 /* PrivateIdentifier */],\n  [194 /* ConditionalType */, 40 /* ConditionalType */],\n  [200 /* MappedType */, 41 /* MappedType */],\n  [287 /* JsxElement */, 48 /* JsxElement */],\n  [288 /* JsxSelfClosingElement */, 48 /* JsxElement */],\n  [274 /* ImportEqualsDeclaration */, 57 /* ImportAssignment */],\n  [273 /* NamespaceExportDeclaration */, 63 /* UMDModuleDefinition */],\n  [232 /* ClassExpression */, 25 /* ClassExpression */]\n]);\n\n// src/linter/ArkTSLinter_1_1/TypeScriptLinter.ts\nvar _TypeScriptLinter2 = class {\n  constructor(sourceFile, tsProgram, tscStrictDiagnostics) {\n    this.sourceFile = sourceFile;\n    this.tscStrictDiagnostics = tscStrictDiagnostics;\n    this.compatibleSdkVersionStage = \"beta1\";\n    this.compatibleSdkVersion = 12;\n    this.mixCompile = false;\n    this.enableStrictCheckOHModule = false;\n    this.handlersMap = new Map2([\n      [210 /* ObjectLiteralExpression */, { handler: this.handleObjectLiteralExpression, name: \"handleObjectLiteralExpression\" }],\n      [209 /* ArrayLiteralExpression */, { handler: this.handleArrayLiteralExpression, name: \"handleArrayLiteralExpression\" }],\n      [168 /* Parameter */, { handler: this.handleParameter, name: \"handleParameter\" }],\n      [269 /* EnumDeclaration */, { handler: this.handleEnumDeclaration, name: \"handleEnumDeclaration\" }],\n      [267 /* InterfaceDeclaration */, { handler: this.handleInterfaceDeclaration, name: \"handleInterfaceDeclaration\" }],\n      [258 /* ThrowStatement */, { handler: this.handleThrowStatement, name: \"handleThrowStatement\" }],\n      [276 /* ImportClause */, { handler: this.handleImportClause, name: \"handleImportClause\" }],\n      [249 /* ForStatement */, { handler: this.handleForStatement, name: \"handleForStatement\" }],\n      [250 /* ForInStatement */, { handler: this.handleForInStatement, name: \"handleForInStatement\" }],\n      [251 /* ForOfStatement */, { handler: this.handleForOfStatement, name: \"handleForOfStatement\" }],\n      [275 /* ImportDeclaration */, { handler: this.handleImportDeclaration, name: \"handleImportDeclaration\" }],\n      [211 /* PropertyAccessExpression */, { handler: this.handlePropertyAccessExpression, name: \"handlePropertyAccessExpression\" }],\n      [171 /* PropertyDeclaration */, { handler: this.handlePropertyDeclaration, name: \"handlePropertyDeclaration\" }],\n      [305 /* PropertyAssignment */, { handler: this.handlePropertyAssignment, name: \"handlePropertyAssignment\" }],\n      [170 /* PropertySignature */, { handler: this.handlePropertySignature, name: \"handlePropertySignature\" }],\n      [218 /* FunctionExpression */, { handler: this.handleFunctionExpression, name: \"handleFunctionExpression\" }],\n      [219 /* ArrowFunction */, { handler: this.handleArrowFunction, name: \"handleArrowFunction\" }],\n      [301 /* CatchClause */, { handler: this.handleCatchClause, name: \"handleCatchClause\" }],\n      [263 /* FunctionDeclaration */, { handler: this.handleFunctionDeclaration, name: \"handleFunctionDeclaration\" }],\n      [225 /* PrefixUnaryExpression */, { handler: this.handlePrefixUnaryExpression, name: \"handlePrefixUnaryExpression\" }],\n      [227 /* BinaryExpression */, { handler: this.handleBinaryExpression, name: \"handleBinaryExpression\" }],\n      [262 /* VariableDeclarationList */, { handler: this.handleVariableDeclarationList, name: \"handleVariableDeclarationList\" }],\n      [261 /* VariableDeclaration */, { handler: this.handleVariableDeclaration, name: \"handleVariableDeclaration\" }],\n      [264 /* ClassDeclaration */, { handler: this.handleClassDeclaration, name: \"handleClassDeclaration\" }],\n      [270 /* ModuleDeclaration */, { handler: this.handleModuleDeclaration, name: \"handleModuleDeclaration\" }],\n      [268 /* TypeAliasDeclaration */, { handler: this.handleTypeAliasDeclaration, name: \"handleTypeAliasDeclaration\" }],\n      [279 /* ImportSpecifier */, { handler: this.handleImportSpecifier, name: \"handleImportSpecifier\" }],\n      [277 /* NamespaceImport */, { handler: this.handleNamespaceImport, name: \"handleNamespaceImport\" }],\n      [216 /* TypeAssertionExpression */, { handler: this.handleTypeAssertionExpression, name: \"handleTypeAssertionExpression\" }],\n      [174 /* MethodDeclaration */, { handler: this.handleMethodDeclaration, name: \"handleMethodDeclaration\" }],\n      [173 /* MethodSignature */, { handler: this.handleMethodSignature, name: \"handleMethodSignature\" }],\n      [79 /* Identifier */, { handler: this.handleIdentifier, name: \"handleIdentifier\" }],\n      [212 /* ElementAccessExpression */, { handler: this.handleElementAccessExpression, name: \"handleElementAccessExpression\" }],\n      [308 /* EnumMember */, { handler: this.handleEnumMember, name: \"handleEnumMember\" }],\n      [183 /* TypeReference */, { handler: this.handleTypeReference, name: \"handleTypeReference\" }],\n      [280 /* ExportAssignment */, { handler: this.handleExportAssignment, name: \"handleExportAssignment\" }],\n      [213 /* CallExpression */, { handler: this.handleCallExpression, name: \"handleCallExpression\" }],\n      [237 /* MetaProperty */, { handler: this.handleMetaProperty, name: \"handleMetaProperty\" }],\n      [214 /* NewExpression */, { handler: this.handleNewExpression, name: \"handleNewExpression\" }],\n      [235 /* AsExpression */, { handler: this.handleAsExpression, name: \"handleAsExpression\" }],\n      [231 /* SpreadElement */, { handler: this.handleSpreadOp, name: \"handleSpreadOp\" }],\n      [307 /* SpreadAssignment */, { handler: this.handleSpreadOp, name: \"handleSpreadOp\" }],\n      [177 /* GetAccessor */, { handler: this.handleGetAccessor, name: \"handleGetAccessor\" }],\n      [178 /* SetAccessor */, { handler: this.handleSetAccessor, name: \"handleSetAccessor\" }],\n      [180 /* ConstructSignature */, { handler: this.handleConstructSignature, name: \"handleConstructSignature\" }],\n      [234 /* ExpressionWithTypeArguments */, { handler: this.handleExpressionWithTypeArguments, name: \"handleExpressionWithTypeArguments\" }],\n      [166 /* ComputedPropertyName */, { handler: this.handleComputedPropertyName, name: \"handleComputedPropertyName\" }],\n      [220 /* EtsComponentExpression */, { handler: this.handleEtsComponentExpression, name: \"handleEtsComponentExpression\" }],\n      [175 /* ClassStaticBlockDeclaration */, { handler: this.handleClassStaticBlockDeclaration, name: \"handleClassStaticBlockDeclaration\" }],\n      [181 /* IndexSignature */, { handler: this.handleIndexSignature, name: \"handleIndexSignature\" }],\n      [94 /* ExportKeyword */, { handler: this.handleExportKeyword, name: \"handleExportKeyword\" }],\n      [281 /* ExportDeclaration */, { handler: this.handleExportDeclaration, name: \"handleExportDeclaration\" }],\n      [254 /* ReturnStatement */, { handler: this.handleReturnStatement, name: \"handleReturnStatement\" }],\n      [169 /* Decorator */, { handler: this.handleDecorator, name: \"handleDecorator\" }]\n    ]);\n    this.validatedTypesSet = new Set2();\n    _TypeScriptLinter2.tsTypeChecker = tsProgram.getLinterTypeChecker();\n    this.currentErrorLine = 0;\n    this.currentWarningLine = 0;\n    this.staticBlocks = new Set2();\n    const options = tsProgram.getCompilerOptions();\n    this.skipArkTSStaticBlocksCheck = false;\n    this.mixCompile = !!options.mixCompile;\n    this.enableStrictCheckOHModule = !!options.enableStrictCheckOHModule;\n    if (options.skipArkTSStaticBlocksCheck) {\n      this.skipArkTSStaticBlocksCheck = options.skipArkTSStaticBlocksCheck;\n    }\n    if (options.compatibleSdkVersion) {\n      this.compatibleSdkVersion = options.compatibleSdkVersion;\n    }\n    if (options.compatibleSdkVersionStage) {\n      this.compatibleSdkVersionStage = options.compatibleSdkVersionStage;\n    }\n  }\n  static initGlobals(compilerOptions) {\n    _TypeScriptLinter2.filteredDiagnosticMessages = [];\n    _TypeScriptLinter2.sharedModulesCache = new Map2();\n    _TypeScriptLinter2.strictDiagnosticCache = new Set2();\n    _TypeScriptLinter2.unknowDiagnosticCache = new Set2();\n    _TypeScriptLinter2.disableSendableClassDecoratorCheck = isDisableSendableClassDecoratorCheck(compilerOptions.disableSendableCheckRules || []);\n  }\n  static initStatic() {\n    _TypeScriptLinter2.strictMode = true;\n    _TypeScriptLinter2.logTscErrors = false;\n    _TypeScriptLinter2.warningsAsErrors = false;\n    _TypeScriptLinter2.lintEtsOnly = true;\n    _TypeScriptLinter2.totalVisitedNodes = 0;\n    _TypeScriptLinter2.nodeCounters = [];\n    _TypeScriptLinter2.lineCounters = [];\n    _TypeScriptLinter2.totalErrorLines = 0;\n    _TypeScriptLinter2.totalWarningLines = 0;\n    _TypeScriptLinter2.errorLineNumbersString = \"\";\n    _TypeScriptLinter2.warningLineNumbersString = \"\";\n    autofixInfo2.length = 0;\n    for (let i = 0; i < 113 /* LAST_ID */; i++) {\n      _TypeScriptLinter2.nodeCounters[i] = 0;\n      _TypeScriptLinter2.lineCounters[i] = 0;\n    }\n    _TypeScriptLinter2.problemsInfos = [];\n  }\n  static clearTsTypeChecker() {\n    _TypeScriptLinter2.tsTypeChecker = {};\n  }\n  static clearQualifiedNameCache() {\n    if (_TypeScriptLinter2.tsTypeChecker) {\n      _TypeScriptLinter2.tsTypeChecker.clearQualifiedNameCache && _TypeScriptLinter2.tsTypeChecker.clearQualifiedNameCache();\n    }\n  }\n  incrementCounters(node, faultId, autofixable = false, autofix) {\n    var _a2, _b;\n    if (!_TypeScriptLinter2.strictMode && faultsAttrs2[faultId].migratable) {\n      return;\n    }\n    const [startOffset, endOffset] = getHighlightRange(node, faultId);\n    const startPos = this.sourceFile.getLineAndCharacterOfPosition(startOffset);\n    const line = startPos.line + 1;\n    const character = startPos.character + 1;\n    _TypeScriptLinter2.nodeCounters[faultId]++;\n    const faultDescr = LinterConfig2.nodeDesc[faultId];\n    const faultType = \"unknown\";\n    const cookBookMsgNum = faultsAttrs2[faultId] ? faultsAttrs2[faultId].cookBookRef : 0;\n    const cookBookTg = cookBookTag2[cookBookMsgNum];\n    const severity = (_b = (_a2 = faultsAttrs2[faultId]) == null ? void 0 : _a2.severity) != null ? _b : 2 /* ERROR */;\n    const badNodeInfo = {\n      line,\n      column: character,\n      start: startOffset,\n      end: endOffset,\n      type: faultType,\n      severity,\n      problem: FaultID2[faultId],\n      suggest: cookBookMsgNum > 0 ? cookBookMsg2[cookBookMsgNum] : \"\",\n      rule: cookBookMsgNum > 0 && cookBookTg !== \"\" ? cookBookTg : faultDescr ? faultDescr : faultType,\n      ruleTag: cookBookMsgNum,\n      autofixable,\n      autofix\n    };\n    _TypeScriptLinter2.problemsInfos.push(badNodeInfo);\n    if (!_TypeScriptLinter2.reportDiagnostics) {\n      perfLogger.logEvent(\n        `Warning: ${this.sourceFile.fileName} (${line}, ${character}): ${faultDescr ? faultDescr : faultType}`\n      );\n    }\n    _TypeScriptLinter2.lineCounters[faultId]++;\n    switch (faultsAttrs2[faultId].severity) {\n      case 2 /* ERROR */: {\n        this.currentErrorLine = line;\n        ++_TypeScriptLinter2.totalErrorLines;\n        _TypeScriptLinter2.errorLineNumbersString += line + \", \";\n        break;\n      }\n      case 1 /* WARNING */: {\n        if (line === this.currentWarningLine) {\n          break;\n        }\n        this.currentWarningLine = line;\n        ++_TypeScriptLinter2.totalWarningLines;\n        _TypeScriptLinter2.warningLineNumbersString += line + \", \";\n        break;\n      }\n    }\n  }\n  forEachNodeInSubtree(node, cb, stopCond) {\n    cb.call(this, node);\n    if (stopCond == null ? void 0 : stopCond.call(this, node)) {\n      return;\n    }\n    forEachChild(node, (child) => {\n      this.forEachNodeInSubtree(child, cb, stopCond);\n    });\n  }\n  visitSourceFile(sf) {\n    const fileName = sf.fileName;\n    const callback = (node) => {\n      _TypeScriptLinter2.totalVisitedNodes++;\n      const incrementedType = LinterConfig2.incrementOnlyTokens.get(node.kind);\n      if (incrementedType !== void 0) {\n        this.incrementCounters(node, incrementedType);\n      } else {\n        const handler = this.handlersMap.get(node.kind);\n        if (handler !== void 0) {\n          PerformanceDotting.start(handler.name, fileName);\n          handler.handler.call(this, node);\n          PerformanceDotting.stop(handler.name);\n        }\n      }\n    };\n    const stopCondition = (node) => {\n      if (node === null || node.kind === null) {\n        return true;\n      }\n      if (node.parent && isStructDeclaration3(node.parent) && isConstructorDeclaration(node)) {\n        return true;\n      }\n      if (LinterConfig2.terminalTokens.has(node.kind)) {\n        return true;\n      }\n      return false;\n    };\n    this.forEachNodeInSubtree(sf, callback, stopCondition);\n  }\n  countInterfaceExtendsDifferentPropertyTypes(node, prop2type, propName, type) {\n    if (type) {\n      const methodType = type.getText();\n      const propType = prop2type.get(propName);\n      if (!propType) {\n        prop2type.set(propName, methodType);\n      } else if (propType !== methodType) {\n        this.incrementCounters(node, 54 /* IntefaceExtendDifProps */);\n      }\n    }\n  }\n  countDeclarationsWithDuplicateName(tsNode, tsDeclNode, tsDeclKind) {\n    const symbol = _TypeScriptLinter2.tsTypeChecker.getSymbolAtLocation(tsNode);\n    if (!!symbol && symbolHasDuplicateName2(symbol, tsDeclKind != null ? tsDeclKind : tsDeclNode.kind)) {\n      this.incrementCounters(tsDeclNode, 31 /* DeclWithDuplicateName */);\n    }\n  }\n  countClassMembersWithDuplicateName(tsClassDecl) {\n    for (const tsCurrentMember of tsClassDecl.members) {\n      if (!tsCurrentMember.name || !(isIdentifier(tsCurrentMember.name) || isPrivateIdentifier(tsCurrentMember.name))) {\n        continue;\n      }\n      for (const tsClassMember of tsClassDecl.members) {\n        if (tsCurrentMember === tsClassMember)\n          continue;\n        if (!tsClassMember.name || !(isIdentifier(tsClassMember.name) || isPrivateIdentifier(tsClassMember.name))) {\n          continue;\n        }\n        if (isIdentifier(tsCurrentMember.name) && isPrivateIdentifier(tsClassMember.name) && tsCurrentMember.name.text === tsClassMember.name.text.substring(1)) {\n          this.incrementCounters(tsCurrentMember, 31 /* DeclWithDuplicateName */);\n          break;\n        }\n        if (isPrivateIdentifier(tsCurrentMember.name) && isIdentifier(tsClassMember.name) && tsCurrentMember.name.text.substring(1) === tsClassMember.name.text) {\n          this.incrementCounters(tsCurrentMember, 31 /* DeclWithDuplicateName */);\n          break;\n        }\n      }\n    }\n  }\n  static scopeContainsThis(tsNode) {\n    function scopeContainsThisVisitor(tsNode2) {\n      if (tsNode2.kind === 109 /* ThisKeyword */) {\n        return true;\n      }\n      const isClassLike2 = isClassDeclaration(tsNode2) || isClassExpression(tsNode2);\n      const isFunctionLike2 = isFunctionDeclaration(tsNode2) || isFunctionExpression(tsNode2);\n      const isModuleDecl = isModuleDeclaration(tsNode2);\n      if (isClassLike2 || isFunctionLike2 || isModuleDecl) {\n        return false;\n      }\n      const isContain = forEachChild(tsNode2, (child) => {\n        if (scopeContainsThisVisitor(child)) {\n          return true;\n        }\n        return void 0;\n      });\n      return !!isContain;\n    }\n    return scopeContainsThisVisitor(tsNode);\n  }\n  isPrototypePropertyAccess(tsPropertyAccess, propAccessSym, baseExprSym, baseExprType) {\n    if (!(isIdentifier(tsPropertyAccess.name) && tsPropertyAccess.name.text === \"prototype\")) {\n      return false;\n    }\n    let curPropAccess = tsPropertyAccess;\n    while (curPropAccess && isPropertyAccessExpression(curPropAccess)) {\n      const baseExprSym2 = trueSymbolAtLocation2(curPropAccess.expression);\n      if (isLibrarySymbol2(baseExprSym2)) {\n        return false;\n      }\n      curPropAccess = curPropAccess.expression;\n    }\n    if (isIdentifier(curPropAccess) && curPropAccess.text !== \"prototype\") {\n      const type = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(curPropAccess);\n      if (isAnyType2(type)) {\n        return false;\n      }\n    }\n    if (isPrototypeSymbol2(propAccessSym)) {\n      return true;\n    }\n    if (isTypeSymbol2(baseExprSym) || isFunctionSymbol3(baseExprSym)) {\n      return true;\n    }\n    const baseExprTypeNode = _TypeScriptLinter2.tsTypeChecker.typeToTypeNode(\n      baseExprType,\n      void 0,\n      524288 /* AllowEmptyTuple */\n    );\n    return baseExprTypeNode && isFunctionTypeNode(baseExprTypeNode) || isAnyType2(baseExprType);\n  }\n  interfaceInheritanceLint(node, heritageClauses) {\n    for (const hClause of heritageClauses) {\n      if (hClause.token !== 95 /* ExtendsKeyword */)\n        continue;\n      const prop2type = new Map2();\n      for (const tsTypeExpr of hClause.types) {\n        const tsExprType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsTypeExpr.expression);\n        if (tsExprType.isClass()) {\n          this.incrementCounters(tsTypeExpr, 12 /* InterfaceExtendsClass */);\n        } else if (tsExprType.isClassOrInterface()) {\n          this.lintForInterfaceExtendsDifferentPorpertyTypes(node, tsExprType, prop2type);\n        }\n      }\n    }\n  }\n  lintForInterfaceExtendsDifferentPorpertyTypes(node, tsExprType, prop2type) {\n    const props = tsExprType.getProperties();\n    for (const p of props) {\n      if (!p.declarations)\n        continue;\n      const decl = p.declarations[0];\n      if (decl.kind === 173 /* MethodSignature */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      } else if (decl.kind === 174 /* MethodDeclaration */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      } else if (decl.kind === 171 /* PropertyDeclaration */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      } else if (decl.kind === 170 /* PropertySignature */) {\n        this.countInterfaceExtendsDifferentPropertyTypes(\n          node,\n          prop2type,\n          p.name,\n          decl.type\n        );\n      }\n    }\n  }\n  handleObjectLiteralExpression(node) {\n    const objectLiteralExpr = node;\n    if (isDestructuringAssignmentLHS2(objectLiteralExpr)) {\n      return;\n    }\n    const objectLiteralType = _TypeScriptLinter2.tsTypeChecker.getContextualType(objectLiteralExpr);\n    if (objectLiteralType && typeContainsSendableClassOrInterface(objectLiteralType)) {\n      this.incrementCounters(node, 86 /* SendableObjectInitialization */);\n    } else if (!isStructObjectInitializer2(objectLiteralExpr) && !isDynamicLiteralInitializer2(objectLiteralExpr) && !isObjectLiteralAssignable2(objectLiteralType, objectLiteralExpr)) {\n      this.incrementCounters(node, 2 /* ObjectLiteralNoContextType */);\n    }\n    if (this.mixCompile) {\n      this.handleUnionTypeObjectLiteral(objectLiteralType, objectLiteralExpr);\n    }\n  }\n  handleUnionTypeObjectLiteral(lhsType, rhsExpr) {\n    if (!_TypeScriptLinter2.tsTypeChecker.isStaticSourceFile) {\n      return;\n    }\n    if (lhsType === void 0) {\n      return;\n    }\n    lhsType = getNonNullableType2(lhsType);\n    if (!lhsType.isUnion()) {\n      return;\n    }\n    const rhsType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(rhsExpr);\n    let assignableTypesCount = 0;\n    let typeInArkts2 = false;\n    for (const compType of lhsType.types) {\n      const comTypeSorceFile = this.getSourceFileFromType(compType);\n      if (_TypeScriptLinter2.tsTypeChecker.isTypeAssignableTo(rhsType, compType) && isObjectLiteralAssignable2(compType, rhsExpr)) {\n        assignableTypesCount = assignableTypesCount + 1;\n        if (_TypeScriptLinter2.tsTypeChecker.isStaticSourceFile(comTypeSorceFile)) {\n          typeInArkts2 = true;\n        }\n      }\n    }\n    if (assignableTypesCount >= 2 && typeInArkts2) {\n      this.incrementCounters(rhsExpr, 112 /* ObjectLiteralAmbiguity */);\n    }\n  }\n  getSourceFileFromType(type) {\n    var _a2;\n    const symbol = type.getSymbol();\n    if (symbol) {\n      const declaration = symbol.valueDeclaration || ((_a2 = symbol.declarations) == null ? void 0 : _a2[0]);\n      if (declaration && declaration.getSourceFile) {\n        return declaration.getSourceFile();\n      }\n    }\n    const constructSignatures = type.getConstructSignatures();\n    if (constructSignatures.length > 0) {\n      const declaration = constructSignatures[0].declaration;\n      if (declaration && declaration.getSourceFile) {\n        return declaration.getSourceFile();\n      }\n    }\n    const callSignatures = type.getCallSignatures();\n    if (callSignatures.length > 0) {\n      const declaration = callSignatures[0].declaration;\n      if (declaration && declaration.getSourceFile) {\n        return declaration.getSourceFile();\n      }\n    }\n    return void 0;\n  }\n  handleArrayLiteralExpression(node) {\n    if (isDestructuringAssignmentLHS2(node)) {\n      return;\n    }\n    const arrayLitNode = node;\n    let noContextTypeForArrayLiteral = false;\n    const arrayLitType = _TypeScriptLinter2.tsTypeChecker.getContextualType(arrayLitNode);\n    if (arrayLitType && typeContainsSendableClassOrInterface(arrayLitType)) {\n      this.incrementCounters(node, 86 /* SendableObjectInitialization */);\n      return;\n    }\n    const arrayLitElements = arrayLitNode.elements;\n    for (const element of arrayLitElements) {\n      const elementContextType = _TypeScriptLinter2.tsTypeChecker.getContextualType(element);\n      if (element.kind === 210 /* ObjectLiteralExpression */) {\n        if (!isDynamicLiteralInitializer2(arrayLitNode) && !isObjectLiteralAssignable2(elementContextType, element)) {\n          noContextTypeForArrayLiteral = true;\n          break;\n        }\n      }\n      if (elementContextType) {\n        this.checkAssignmentMatching(element, elementContextType, element, true);\n      }\n    }\n    if (noContextTypeForArrayLiteral) {\n      this.incrementCounters(node, 3 /* ArrayLiteralNoContextType */);\n    }\n  }\n  handleParameter(node) {\n    const tsParam = node;\n    this.handleDecoratorsSendableClass(tsParam);\n    if (isArrayBindingPattern(tsParam.name) || isObjectBindingPattern(tsParam.name)) {\n      this.incrementCounters(node, 8 /* DestructuringParameter */);\n    }\n    const tsParamMods = getModifiers(tsParam);\n    if (tsParamMods && (hasModifier2(tsParamMods, 124 /* PublicKeyword */) || hasModifier2(tsParamMods, 123 /* ProtectedKeyword */) || hasModifier2(tsParamMods, 147 /* ReadonlyKeyword */) || hasModifier2(tsParamMods, 122 /* PrivateKeyword */))) {\n      this.incrementCounters(node, 59 /* ParameterProperties */);\n    }\n    this.handleDeclarationInferredType(tsParam);\n  }\n  handleDecoratorsSendableClass(declaration) {\n    const decorators = getDecoratorsIfInSendableClass(declaration);\n    this.handleSendableClassDecorators(decorators);\n  }\n  handleSendableClassDecorators(decorators) {\n    const decoratorsToCheck = _TypeScriptLinter2.disableSendableClassDecoratorCheck ? decorators == null ? void 0 : decorators.filter(isArkUIDecorator) : decorators;\n    decoratorsToCheck == null ? void 0 : decoratorsToCheck.forEach((decorator) => {\n      this.incrementCounters(decorator, 85 /* SendableClassDecorator */);\n    });\n  }\n  handleEnumDeclaration(node) {\n    const enumNode = node;\n    this.countDeclarationsWithDuplicateName(enumNode.name, enumNode);\n    const enumSymbol = trueSymbolAtLocation2(enumNode.name);\n    if (!enumSymbol)\n      return;\n    const enumDecls = enumSymbol.getDeclarations();\n    if (!enumDecls)\n      return;\n    let enumDeclCount = 0;\n    for (const decl of enumDecls) {\n      if (decl.kind === 269 /* EnumDeclaration */)\n        enumDeclCount++;\n    }\n    if (enumDeclCount > 1)\n      this.incrementCounters(node, 11 /* EnumMerging */);\n  }\n  handleInterfaceDeclaration(node) {\n    const interfaceNode = node;\n    const iSymbol = trueSymbolAtLocation2(interfaceNode.name);\n    const iDecls = iSymbol ? iSymbol.getDeclarations() : null;\n    if (iDecls) {\n      let iDeclCount = 0;\n      for (const decl of iDecls) {\n        if (decl.kind === 267 /* InterfaceDeclaration */)\n          iDeclCount++;\n      }\n      if (iDeclCount > 1)\n        this.incrementCounters(node, 10 /* InterfaceMerging */);\n    }\n    if (interfaceNode.heritageClauses)\n      this.interfaceInheritanceLint(node, interfaceNode.heritageClauses);\n    this.countDeclarationsWithDuplicateName(interfaceNode.name, interfaceNode);\n  }\n  handleThrowStatement(node) {\n    const throwStmt = node;\n    const throwExprType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(throwStmt.expression);\n    if (!throwExprType.isClassOrInterface() || !isOrDerivedFrom(throwExprType, isStdErrorType)) {\n      this.incrementCounters(node, 15 /* ThrowStatement */);\n    }\n  }\n  handleForStatement(node) {\n    const tsForStmt = node;\n    const tsForInit = tsForStmt.initializer;\n    if (tsForInit && (isArrayLiteralExpression(tsForInit) || isObjectLiteralExpression(tsForInit))) {\n      this.incrementCounters(tsForInit, 26 /* DestructuringAssignment */);\n    }\n  }\n  handleForInStatement(node) {\n    const tsForInStmt = node;\n    const tsForInInit = tsForInStmt.initializer;\n    if (isArrayLiteralExpression(tsForInInit) || isObjectLiteralExpression(tsForInInit)) {\n      this.incrementCounters(tsForInInit, 26 /* DestructuringAssignment */);\n    }\n    this.incrementCounters(node, 18 /* ForInStatement */);\n  }\n  handleForOfStatement(node) {\n    const tsForOfStmt = node;\n    const tsForOfInit = tsForOfStmt.initializer;\n    if (isArrayLiteralExpression(tsForOfInit) || isObjectLiteralExpression(tsForOfInit)) {\n      this.incrementCounters(tsForOfInit, 26 /* DestructuringAssignment */);\n    }\n  }\n  handleImportDeclaration(node) {\n    const importDeclNode = node;\n    for (const stmt of importDeclNode.parent.statements) {\n      if (stmt === importDeclNode) {\n        break;\n      }\n      if (!isImportDeclaration(stmt)) {\n        this.incrementCounters(node, 78 /* ImportAfterStatement */);\n        break;\n      }\n    }\n    const expr1 = importDeclNode.moduleSpecifier;\n    if (expr1.kind === 10 /* StringLiteral */) {\n      if (importDeclNode.assertClause) {\n        this.incrementCounters(importDeclNode.assertClause, 73 /* ImportAssertion */);\n      }\n    }\n    this.handleSharedModuleNoSideEffectImport(importDeclNode);\n  }\n  handleSharedModuleNoSideEffectImport(node) {\n    if (_TypeScriptLinter2.inSharedModule(node) && !node.importClause) {\n      this.incrementCounters(node, 89 /* SharedNoSideEffectImport */);\n    }\n  }\n  static inSharedModule(node) {\n    const sourceFile = node.getSourceFile();\n    const modulePath = normalizePath(sourceFile.fileName);\n    if (_TypeScriptLinter2.sharedModulesCache.has(modulePath)) {\n      return _TypeScriptLinter2.sharedModulesCache.get(modulePath);\n    }\n    const isSharedModule2 = isSharedModule(sourceFile);\n    _TypeScriptLinter2.sharedModulesCache.set(modulePath, isSharedModule2);\n    return isSharedModule2;\n  }\n  handlePropertyAccessExpression(node) {\n    if (isCallExpression(node.parent) && node === node.parent.expression) {\n      return;\n    }\n    const propertyAccessNode = node;\n    const exprSym = trueSymbolAtLocation2(propertyAccessNode);\n    const baseExprSym = trueSymbolAtLocation2(propertyAccessNode.expression);\n    const baseExprType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(propertyAccessNode.expression);\n    if (this.isPrototypePropertyAccess(propertyAccessNode, exprSym, baseExprSym, baseExprType)) {\n      this.incrementCounters(propertyAccessNode.name, 66 /* Prototype */);\n    }\n    if (!!exprSym && isSymbolAPI2(exprSym) && !ALLOWED_STD_SYMBOL_API2.includes(exprSym.getName())) {\n      this.incrementCounters(propertyAccessNode, 1 /* SymbolType */);\n    }\n    if (isSendableFunction(baseExprType) || hasSendableTypeAlias(baseExprType)) {\n      this.incrementCounters(propertyAccessNode, 105 /* SendableFunctionProperty */);\n    }\n    if (isDeclarationSymbol(exprSym) && isTaskPoolApi(exprSym, node)) {\n      this.handleTaskpooApiForNewExpression(node.parent);\n    }\n  }\n  handleTaskpooApiForNewExpression(node) {\n    const tsNewExpr = node;\n    const args = tsNewExpr.arguments || [];\n    for (let i = 0; i < Math.min(args.length, 2); i++) {\n      const arg = args[i];\n      const argType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(arg);\n      if (isStringLikeType2(argType)) {\n        continue;\n      }\n      const argSym = argType.getSymbol();\n      if (checkTaskpoolFunction(arg, argType, argSym)) {\n        this.incrementCounters(arg, 111 /* TaskpoolFunctionArg */);\n      }\n      break;\n    }\n  }\n  handlePropertyDeclaration(node) {\n    var _a2;\n    const propName = node.name;\n    if (!!propName && isNumericLiteral(propName)) {\n      let autofix = fixLiteralAsPropertyName2(node);\n      const autofixable = autofix !== void 0;\n      if (!shouldAutofix2(node, 5 /* LiteralAsPropertyName */)) {\n        autofix = void 0;\n      }\n      this.incrementCounters(node.name, 5 /* LiteralAsPropertyName */, autofixable, autofix);\n    }\n    const decorators = getDecorators(node);\n    this.filterOutDecoratorsDiagnostics(\n      decorators,\n      NON_INITIALIZABLE_PROPERTY_DECORATORS2,\n      { begin: propName.getStart(), end: propName.getStart() },\n      PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE2\n    );\n    const classDecorators = getDecorators(node.parent);\n    const propType = (_a2 = node.type) == null ? void 0 : _a2.getText();\n    this.filterOutDecoratorsDiagnostics(\n      classDecorators,\n      NON_INITIALIZABLE_PROPERTY_CLASS_DECORATORS,\n      { begin: propName.getStart(), end: propName.getStart() },\n      PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE2,\n      propType\n    );\n    if (node.type && node.initializer) {\n      this.checkAssignmentMatching(node, _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(node.type), node.initializer, true);\n      this.handleEsObjectAssignment(node, node.type, node.initializer, true);\n    }\n    this.handleDeclarationInferredType(node);\n    this.handleDefiniteAssignmentAssertion(node);\n    this.handleSendableClassProperty(node);\n  }\n  handleSendableClassProperty(node) {\n    const classNode = node.parent;\n    if (!isClassDeclaration(classNode) || !hasSendableDecorator(classNode)) {\n      return;\n    }\n    const typeNode = node.type;\n    if (!typeNode) {\n      this.incrementCounters(node, 98 /* SendableExplicitFieldType */);\n      return;\n    }\n    this.handleDecoratorsSendableClass(node);\n    if (!isSendableTypeNode(typeNode)) {\n      this.incrementCounters(node, 81 /* SendablePropType */);\n    } else {\n      this.checkTypeAliasInSendableScope(node);\n    }\n  }\n  checkTypeAliasInSendableScope(node) {\n    if (!node.type) {\n      return;\n    }\n    const typeNode = unwrapParenthesizedTypeNode(node.type);\n    const needWarning = isUnionTypeNode(typeNode) && typeNode.types.some((elemType) => this.isNoneSendableTypeAlias(elemType)) || isTypeReferenceNode(typeNode) && this.isNoneSendableTypeAlias(typeNode);\n    if (needWarning) {\n      this.incrementCounters(node.type, 110 /* SendablePropTypeWarning */);\n    }\n  }\n  isNoneSendableTypeAlias(typeNode) {\n    if (!isTypeReferenceNode(typeNode)) {\n      return false;\n    }\n    const sym = trueSymbolAtLocation2(typeNode.typeName);\n    if (!sym || !(sym.getFlags() & 524288 /* TypeAlias */)) {\n      return false;\n    }\n    const typeDecl = getDeclaration3(sym);\n    if (!typeDecl || !isTypeAliasDeclaration(typeDecl)) {\n      return false;\n    }\n    const typeArgs = typeNode.typeArguments;\n    if (typeArgs && !typeArgs.every((typeArg) => isSendableTypeNode(typeArg))) {\n      return true;\n    }\n    return false;\n  }\n  handlePropertyAssignment(node) {\n    const propName = node.name;\n    if (!(!!propName && isNumericLiteral(propName))) {\n      return;\n    }\n    let isRecordObjectInitializer = false;\n    let isLibraryType3 = false;\n    let isDynamic = false;\n    const objectLiteralType = _TypeScriptLinter2.tsTypeChecker.getContextualType(node.parent);\n    if (objectLiteralType) {\n      isRecordObjectInitializer = checkTypeSet(objectLiteralType, isStdRecordType2);\n      isLibraryType3 = isLibraryType2(objectLiteralType);\n    }\n    isDynamic = isLibraryType3 || isDynamicLiteralInitializer2(node.parent);\n    if (!isRecordObjectInitializer && !isDynamic) {\n      let autofix = fixLiteralAsPropertyName2(node);\n      let autofixable = autofix != void 0;\n      if (!shouldAutofix2(node, 5 /* LiteralAsPropertyName */)) {\n        autofix = void 0;\n      }\n      this.incrementCounters(node.name, 5 /* LiteralAsPropertyName */, autofixable, autofix);\n    }\n  }\n  handlePropertySignature(node) {\n    const propName = node.name;\n    if (!!propName && isNumericLiteral(propName)) {\n      let autofix = fixLiteralAsPropertyName2(node);\n      const autofixable = autofix !== void 0;\n      if (!shouldAutofix2(node, 5 /* LiteralAsPropertyName */)) {\n        autofix = void 0;\n      }\n      this.incrementCounters(node.name, 5 /* LiteralAsPropertyName */, autofixable, autofix);\n    }\n    this.handleSendableInterfaceProperty(node);\n  }\n  handleSendableInterfaceProperty(node) {\n    const typeNode = node.type;\n    if (!typeNode) {\n      return;\n    }\n    const interfaceNode = node.parent;\n    const interfaceNodeType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(interfaceNode);\n    if (!isInterfaceDeclaration(interfaceNode) || !isSendableClassOrInterface(interfaceNodeType)) {\n      return;\n    }\n    if (!isSendableTypeNode(typeNode)) {\n      this.incrementCounters(node, 81 /* SendablePropType */);\n    } else {\n      this.checkTypeAliasInSendableScope(node);\n    }\n  }\n  filterOutDecoratorsDiagnostics(decorators, expectedDecorators, range, code, prop_type) {\n    if (this.tscStrictDiagnostics && this.sourceFile) {\n      if (decorators == null ? void 0 : decorators.some((decorator) => {\n        const decoratorName = getDecoratorName(decorator);\n        if (expectedDecorators.includes(NON_INITIALIZABLE_PROPERTY_CLASS_DECORATORS[0])) {\n          return expectedDecorators.includes(decoratorName) && prop_type === \"CustomDialogController\";\n        }\n        return expectedDecorators.includes(decoratorName);\n      })) {\n        const file = normalizePath(this.sourceFile.fileName);\n        const tscDiagnostics = this.tscStrictDiagnostics.get(file);\n        if (tscDiagnostics) {\n          const filteredDiagnostics = tscDiagnostics.filter(\n            (val) => {\n              if (val.code !== code)\n                return true;\n              if (val.start === void 0)\n                return true;\n              if (val.start < range.begin)\n                return true;\n              if (val.start > range.end)\n                return true;\n              return false;\n            }\n          );\n          this.tscStrictDiagnostics.set(file, filteredDiagnostics);\n        }\n      }\n    }\n  }\n  static isClassLikeOrIface(node) {\n    return isClassLike(node) || isInterfaceDeclaration(node);\n  }\n  handleFunctionExpression(node) {\n    const funcExpr = node;\n    const isGeneric = funcExpr.typeParameters !== void 0 && funcExpr.typeParameters.length > 0;\n    const isGenerator = funcExpr.asteriskToken !== void 0;\n    const hasThisKeyword = _TypeScriptLinter2.scopeContainsThis(funcExpr.body);\n    const [hasUnfixableReturnType, newRetTypeNode] = this.handleMissingReturnType(funcExpr);\n    const autofixable = !isGeneric && !isGenerator && !hasThisKeyword && !hasUnfixableReturnType;\n    let autofix;\n    if (autofixable && shouldAutofix2(node, 20 /* FunctionExpression */)) {\n      autofix = [fixFunctionExpression2(funcExpr, funcExpr.parameters, newRetTypeNode)];\n    }\n    this.incrementCounters(node, 20 /* FunctionExpression */, autofixable, autofix);\n    if (isGenerator) {\n      this.incrementCounters(funcExpr, 45 /* GeneratorFunction */);\n    }\n    if (!hasPredecessor2(funcExpr, _TypeScriptLinter2.isClassLikeOrIface)) {\n      this.reportThisKeywordsInScope(funcExpr.body);\n    }\n    if (hasUnfixableReturnType) {\n      this.incrementCounters(funcExpr, 24 /* LimitedReturnTypeInference */);\n    }\n  }\n  handleArrowFunction(node) {\n    const arrowFunc = node;\n    if (!hasPredecessor2(arrowFunc, _TypeScriptLinter2.isClassLikeOrIface)) {\n      this.reportThisKeywordsInScope(arrowFunc.body);\n    }\n    const contextType = _TypeScriptLinter2.tsTypeChecker.getContextualType(arrowFunc);\n    if (!(contextType && isLibraryType2(contextType))) {\n      if (!arrowFunc.type) {\n        this.handleMissingReturnType(arrowFunc);\n      }\n    }\n  }\n  handleFunctionDeclaration(node) {\n    var _a2;\n    const tsFunctionDeclaration = node;\n    if (!tsFunctionDeclaration.type) {\n      this.handleMissingReturnType(tsFunctionDeclaration);\n    }\n    if (tsFunctionDeclaration.name) {\n      this.countDeclarationsWithDuplicateName(tsFunctionDeclaration.name, tsFunctionDeclaration);\n    }\n    if (tsFunctionDeclaration.body) {\n      this.reportThisKeywordsInScope(tsFunctionDeclaration.body);\n    }\n    const parent2 = tsFunctionDeclaration.parent;\n    if (!isSourceFile(parent2) && !isModuleBlock(parent2)) {\n      this.incrementCounters(tsFunctionDeclaration, 39 /* LocalFunction */);\n    }\n    if (tsFunctionDeclaration.asteriskToken) {\n      this.incrementCounters(node, 45 /* GeneratorFunction */);\n    }\n    if (hasSendableDecoratorFunctionOverload(tsFunctionDeclaration)) {\n      if (!this.isSendableDecoratorValid(tsFunctionDeclaration)) {\n        return;\n      }\n      (_a2 = getNonSendableDecorators(tsFunctionDeclaration)) == null ? void 0 : _a2.forEach((decorator) => {\n        this.incrementCounters(decorator, 100 /* SendableFunctionDecorator */);\n      });\n      if (!hasSendableDecorator(tsFunctionDeclaration)) {\n        this.incrementCounters(tsFunctionDeclaration, 104 /* SendableFunctionOverloadDecorator */);\n      }\n      this.scanCapturedVarsInSendableScope(tsFunctionDeclaration, tsFunctionDeclaration, 99 /* SendableFunctionImportedVariables */);\n    }\n  }\n  handleMissingReturnType(funcLikeDecl) {\n    if (isMethodSignature(funcLikeDecl) || !funcLikeDecl.body) {\n      const isAmbientDeclaration = !!(funcLikeDecl.flags & 1 << 24);\n      const isSignature = isMethodSignature(funcLikeDecl);\n      if ((isSignature || isAmbientDeclaration) && !funcLikeDecl.type) {\n        this.incrementCounters(funcLikeDecl, 24 /* LimitedReturnTypeInference */);\n      }\n      return [false, void 0];\n    }\n    let autofixable = false;\n    let autofix;\n    let newRetTypeNode;\n    const isFuncExpr = isFunctionExpression(funcLikeDecl);\n    let hasLimitedRetTypeInference = this.hasLimitedTypeInferenceFromReturnExpr(funcLikeDecl.body);\n    const tsSignature = _TypeScriptLinter2.tsTypeChecker.getSignatureFromDeclaration(funcLikeDecl);\n    if (tsSignature) {\n      const tsRetType = _TypeScriptLinter2.tsTypeChecker.getReturnTypeOfSignature(tsSignature);\n      if (!tsRetType || isUnsupportedType2(tsRetType)) {\n        hasLimitedRetTypeInference = true;\n      } else if (hasLimitedRetTypeInference) {\n        newRetTypeNode = _TypeScriptLinter2.tsTypeChecker.typeToTypeNode(tsRetType, funcLikeDecl, 524288 /* AllowEmptyTuple */);\n        autofixable = !!newRetTypeNode;\n        if (!isFuncExpr && newRetTypeNode && shouldAutofix2(funcLikeDecl, 24 /* LimitedReturnTypeInference */)) {\n          autofix = [fixReturnType2(funcLikeDecl, newRetTypeNode)];\n        }\n      }\n    }\n    if (hasLimitedRetTypeInference && !isFuncExpr) {\n      this.incrementCounters(funcLikeDecl, 24 /* LimitedReturnTypeInference */, autofixable, autofix);\n    }\n    return [hasLimitedRetTypeInference && !newRetTypeNode, newRetTypeNode];\n  }\n  hasLimitedTypeInferenceFromReturnExpr(funBody) {\n    let hasLimitedTypeInference = false;\n    if (isBlock(funBody)) {\n      hasLimitedTypeInference = this.checkReturnExpression(\n        funBody,\n        (expr) => isReturnStatement(expr) && !!expr.expression && isCallToFunctionWithOmittedReturnType2(unwrapParenthesized2(expr.expression))\n      );\n    } else {\n      const tsExpr = unwrapParenthesized2(funBody);\n      hasLimitedTypeInference = isCallToFunctionWithOmittedReturnType2(tsExpr);\n    }\n    return hasLimitedTypeInference;\n  }\n  checkReturnExpression(funBody, callback) {\n    let hasLimitedTypeInference = false;\n    const traverseCallback = (node) => {\n      if (hasLimitedTypeInference) {\n        return;\n      }\n      hasLimitedTypeInference = callback(node);\n    };\n    const stopCondition = (node) => {\n      return hasLimitedTypeInference || isFunctionDeclaration(node) || isFunctionExpression(node) || isMethodDeclaration(node) || isAccessor(node) || isArrowFunction(node);\n    };\n    this.forEachNodeInSubtree(funBody, traverseCallback, stopCondition);\n    return hasLimitedTypeInference;\n  }\n  isValidTypeForUnaryArithmeticOperator(type) {\n    const typeFlags = type.getFlags();\n    const numberLiteralFlags = 2048 /* BigIntLiteral */ | 256 /* NumberLiteral */;\n    const numberLikeFlags = 2112 /* BigIntLike */ | 296 /* NumberLike */;\n    const isNumberLike = !!(typeFlags & (numberLiteralFlags | numberLikeFlags));\n    const isAllowedNumericType = isStdBigIntType(type) || isStdNumberType(type);\n    return isNumberLike || isAllowedNumericType;\n  }\n  handlePrefixUnaryExpression(node) {\n    const tsUnaryArithm = node;\n    const tsUnaryOp = tsUnaryArithm.operator;\n    const tsUnaryOperand = tsUnaryArithm.operand;\n    if (tsUnaryOp === 39 /* PlusToken */ || tsUnaryOp === 40 /* MinusToken */ || tsUnaryOp === 54 /* TildeToken */) {\n      const tsOperatndType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsUnaryOperand);\n      const isTilde = tsUnaryOp === 54 /* TildeToken */;\n      const isInvalidTilde = isTilde && isNumericLiteral(tsUnaryOperand) && !isIntegerConstantValue2(tsUnaryOperand);\n      if (!this.isValidTypeForUnaryArithmeticOperator(tsOperatndType) || isInvalidTilde) {\n        this.incrementCounters(node, 32 /* UnaryArithmNotNumber */);\n      }\n    }\n  }\n  handleBinaryExpression(node) {\n    const tsBinaryExpr = node;\n    const tsLhsExpr = tsBinaryExpr.left;\n    const tsRhsExpr = tsBinaryExpr.right;\n    if (isAssignmentOperator3(tsBinaryExpr.operatorToken)) {\n      if (isObjectLiteralExpression(tsLhsExpr) || isArrayLiteralExpression(tsLhsExpr)) {\n        this.incrementCounters(node, 26 /* DestructuringAssignment */);\n      }\n      if (isPropertyAccessExpression(tsLhsExpr)) {\n        const tsLhsSymbol = trueSymbolAtLocation2(tsLhsExpr);\n        const tsLhsBaseSymbol = trueSymbolAtLocation2(tsLhsExpr.expression);\n        if (tsLhsSymbol && tsLhsSymbol.flags & 8192 /* Method */) {\n          this.incrementCounters(tsLhsExpr, 51 /* MethodReassignment */);\n        }\n        if (isMethodAssignment2(tsLhsSymbol) && tsLhsBaseSymbol && (tsLhsBaseSymbol.flags & 16 /* Function */) !== 0) {\n          this.incrementCounters(tsLhsExpr, 69 /* PropertyDeclOnFunction */);\n        }\n      }\n    }\n    if (tsBinaryExpr.operatorToken.kind === 63 /* EqualsToken */) {\n      const leftOperandType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsLhsExpr);\n      this.checkAssignmentMatching(tsBinaryExpr, leftOperandType, tsRhsExpr);\n      const typeNode = getVariableDeclarationTypeNode2(tsLhsExpr);\n      this.handleEsObjectAssignment(tsBinaryExpr, typeNode, tsRhsExpr);\n    } else if (tsBinaryExpr.operatorToken.kind === 27 /* CommaToken */) {\n      let tsExprNode = tsBinaryExpr;\n      let tsParentNode = tsExprNode.parent;\n      while (tsParentNode && tsParentNode.kind === 227 /* BinaryExpression */) {\n        tsExprNode = tsParentNode;\n        tsParentNode = tsExprNode.parent;\n      }\n      if (tsParentNode && tsParentNode.kind === 249 /* ForStatement */) {\n        const tsForNode = tsParentNode;\n        if (tsExprNode === tsForNode.initializer || tsExprNode === tsForNode.incrementor)\n          return;\n      }\n      this.incrementCounters(node, 23 /* CommaOperator */);\n    } else if (tsBinaryExpr.operatorToken.kind === 103 /* InstanceOfKeyword */) {\n      const leftExpr = unwrapParenthesized2(tsBinaryExpr.left);\n      const leftSymbol = trueSymbolAtLocation2(leftExpr);\n      if (tsLhsExpr.kind === 109 /* ThisKeyword */) {\n        return;\n      }\n      const leftOperandType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsLhsExpr);\n      if (isPrimitiveType2(leftOperandType) || isTypeNode(leftExpr) || isTypeSymbol2(leftSymbol)) {\n        this.incrementCounters(node, 60 /* InstanceofUnsupported */);\n      }\n    } else if (tsBinaryExpr.operatorToken.kind === 102 /* InKeyword */) {\n      this.incrementCounters(tsBinaryExpr.operatorToken, 19 /* InOperator */);\n    }\n  }\n  handleVariableDeclarationList(node) {\n    const varDeclFlags = getCombinedNodeFlags(node);\n    if (!(varDeclFlags & (1 /* Let */ | 2 /* Const */))) {\n      this.incrementCounters(node, 28 /* VarDeclaration */);\n    }\n  }\n  handleVariableDeclaration(node) {\n    const tsVarDecl = node;\n    if (isArrayBindingPattern(tsVarDecl.name) || isObjectBindingPattern(tsVarDecl.name)) {\n      this.incrementCounters(node, 27 /* DestructuringDeclaration */);\n    }\n    {\n      const visitBindingPatternNames = (tsBindingName) => {\n        if (isIdentifier(tsBindingName)) {\n          this.countDeclarationsWithDuplicateName(tsBindingName, tsBindingName, tsBindingName.parent.kind);\n        } else {\n          for (const tsBindingElem of tsBindingName.elements) {\n            if (isOmittedExpression(tsBindingElem))\n              continue;\n            visitBindingPatternNames(tsBindingElem.name);\n          }\n        }\n      };\n      visitBindingPatternNames(tsVarDecl.name);\n    }\n    if (tsVarDecl.type && tsVarDecl.initializer) {\n      this.checkAssignmentMatching(\n        tsVarDecl,\n        _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsVarDecl.type),\n        tsVarDecl.initializer\n      );\n    }\n    this.handleDeclarationInferredType(tsVarDecl);\n    this.handleDefiniteAssignmentAssertion(tsVarDecl);\n    if (tsVarDecl.initializer) {\n      this.handleEsObjectAssignment(tsVarDecl, tsVarDecl.type, tsVarDecl.initializer);\n    }\n  }\n  handleEsObjectAssignment(node, nodeDeclType, initializer, isPropertyDeclaration2 = false) {\n    if (!nodeDeclType) {\n      return;\n    }\n    if (isEsObjectType2(nodeDeclType)) {\n      if (isObjectLiteralExpression(initializer)) {\n        this.incrementCounters(node, 79 /* EsObjectType */);\n      }\n    } else {\n      if (isPropertyDeclaration2) {\n        return;\n      }\n      const initalizerTypeNode = getVariableDeclarationTypeNode2(initializer);\n      const isInitializedWithESObject = !!initalizerTypeNode && isEsObjectType2(initalizerTypeNode);\n      if (isInitializedWithESObject) {\n        this.incrementCounters(node, 79 /* EsObjectType */);\n      }\n    }\n  }\n  handleCatchClause(node) {\n    const tsCatch = node;\n    if (tsCatch.variableDeclaration && tsCatch.variableDeclaration.type) {\n      this.incrementCounters(node, 29 /* CatchWithUnsupportedType */);\n    }\n  }\n  handleClassDeclaration(node) {\n    var _a2;\n    const tsClassDecl = node;\n    this.staticBlocks.clear();\n    if (tsClassDecl.name) {\n      this.countDeclarationsWithDuplicateName(tsClassDecl.name, tsClassDecl);\n    }\n    this.countClassMembersWithDuplicateName(tsClassDecl);\n    const isSendableClass = hasSendableDecorator(tsClassDecl);\n    if (isSendableClass) {\n      const decorators = getNonSendableDecorators(tsClassDecl);\n      this.handleSendableClassDecorators(decorators);\n      (_a2 = tsClassDecl.typeParameters) == null ? void 0 : _a2.forEach((typeParamDecl) => {\n        this.checkSendableTypeParameter(typeParamDecl);\n      });\n    }\n    if (tsClassDecl.heritageClauses) {\n      for (const hClause of tsClassDecl.heritageClauses) {\n        if (!hClause) {\n          continue;\n        }\n        this.checkClassDeclarationHeritageClause(hClause, isSendableClass);\n      }\n    }\n    if (isSendableClass) {\n      tsClassDecl.members.forEach((classMember) => {\n        this.scanCapturedVarsInSendableScope(classMember, tsClassDecl, 84 /* SendableCapturedVars */);\n      });\n    }\n    if (!this.skipArkTSStaticBlocksCheck) {\n      this.processClassStaticBlocks(tsClassDecl);\n    }\n  }\n  scanCapturedVarsInSendableScope(startNode2, scope, faultId) {\n    const callback = (node) => {\n      if (!isIdentifier(node) || this.checkNamespaceImportVar(node)) {\n        return;\n      }\n      const parent2 = node.parent;\n      if (isPropertyAccessExpression(parent2) && parent2.name === node) {\n        return;\n      }\n      if (isFunctionDeclaration(startNode2) && startNode2.name === node) {\n        return;\n      }\n      this.checkLocalDecl(node, scope, faultId);\n    };\n    const stopCondition = (node) => {\n      if (isDecorator(node) && node.parent === startNode2) {\n        return true;\n      }\n      return isTypeReferenceNode(node);\n    };\n    this.forEachNodeInSubtree(startNode2, callback, stopCondition);\n  }\n  checkLocalDecl(node, scope, faultId) {\n    const trueSym = trueSymbolAtLocation2(node);\n    if (trueSym === void 0) {\n      return;\n    }\n    if (isConstEnum(trueSym)) {\n      return;\n    }\n    const declarations = trueSym.getDeclarations();\n    if (declarations == null ? void 0 : declarations.length) {\n      this.checkLocalDeclWithSendableClosure(node, scope, declarations[0], faultId);\n    }\n  }\n  checkLocalDeclWithSendableClosure(node, scope, decl, faultId) {\n    const declPosition = decl.getStart();\n    if (decl.getSourceFile().fileName !== node.getSourceFile().fileName || declPosition !== void 0 && declPosition >= scope.getStart() && declPosition < scope.getEnd()) {\n      return;\n    }\n    if (this.isFileExportDecl(decl)) {\n      return;\n    }\n    if (this.checkIsTopClosure(decl)) {\n      return;\n    }\n    if (isVariableDeclaration(decl) || isFunctionDeclaration(decl) || isClassDeclaration(decl) || isInterfaceDeclaration(decl) || isEnumDeclaration(decl) || isModuleDeclaration(decl) || isParameter(decl)) {\n      this.incrementCounters(node, faultId);\n    }\n  }\n  checkIsTopClosure(decl) {\n    if (!isSourceFile(decl.parent)) {\n      return false;\n    }\n    if (isClassDeclaration(decl) && isSendableClassOrInterface(_TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(decl))) {\n      return true;\n    }\n    if (isFunctionDeclaration(decl) && hasSendableDecoratorFunctionOverload(decl)) {\n      return true;\n    }\n    return false;\n  }\n  checkNamespaceImportVar(node) {\n    const sym = _TypeScriptLinter2.tsTypeChecker.getSymbolAtLocation(node);\n    const decls = sym == null ? void 0 : sym.getDeclarations();\n    if (decls == null ? void 0 : decls.length) {\n      if (isNamespaceImport(decls[0])) {\n        this.incrementCounters(node, 84 /* SendableCapturedVars */);\n        return true;\n      }\n    }\n    return false;\n  }\n  isFileExportDecl(decl) {\n    const sourceFile = decl.getSourceFile();\n    if (!this.fileExportDeclCaches) {\n      this.fileExportDeclCaches = searchFileExportDecl(sourceFile);\n    }\n    return this.fileExportDeclCaches.has(decl);\n  }\n  checkClassDeclarationHeritageClause(hClause, isSendableClass) {\n    for (const tsTypeExpr of hClause.types) {\n      const tsExprType = reduceReference(_TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsTypeExpr));\n      const isSendableBaseType = isSendableClassOrInterface(tsExprType);\n      if (tsExprType.isClass() && hClause.token === 118 /* ImplementsKeyword */) {\n        this.incrementCounters(tsTypeExpr, 50 /* ImplementsClass */);\n      }\n      if (!isSendableClass) {\n        if (isSendableBaseType) {\n          this.incrementCounters(tsTypeExpr, 80 /* SendableClassInheritance */);\n        }\n        continue;\n      }\n      if (hClause.token === 95 /* ExtendsKeyword */) {\n        if (!isSendableBaseType) {\n          this.incrementCounters(tsTypeExpr, 80 /* SendableClassInheritance */);\n          continue;\n        }\n        if (!this.isValidSendableClassExtends(tsTypeExpr)) {\n          this.incrementCounters(tsTypeExpr, 80 /* SendableClassInheritance */);\n        }\n      }\n    }\n  }\n  isValidSendableClassExtends(tsTypeExpr) {\n    const expr = tsTypeExpr.expression;\n    const sym = _TypeScriptLinter2.tsTypeChecker.getSymbolAtLocation(expr);\n    if (sym && (sym.flags & 32 /* Class */) === 0) {\n      if ((sym.flags & 2097152 /* Alias */) !== 0) {\n        const realSym = _TypeScriptLinter2.tsTypeChecker.getAliasedSymbol(sym);\n        if (realSym && (realSym.flags & 32 /* Class */) === 0) {\n          return false;\n        }\n        return true;\n      }\n      return false;\n    }\n    return true;\n  }\n  checkSendableTypeParameter(typeParamDecl) {\n    const defaultTypeNode = typeParamDecl.default;\n    if (defaultTypeNode) {\n      if (!isSendableTypeNode(defaultTypeNode)) {\n        this.incrementCounters(defaultTypeNode, 83 /* SendableGenericTypes */);\n      }\n    }\n  }\n  processClassStaticBlocks(classDecl) {\n    let hasStaticBlock = false;\n    for (const element of classDecl.members) {\n      if (isClassStaticBlockDeclaration(element)) {\n        if (hasStaticBlock) {\n          this.incrementCounters(element, 52 /* MultipleStaticBlocks */);\n        } else {\n          hasStaticBlock = true;\n        }\n      }\n    }\n  }\n  handleModuleDeclaration(node) {\n    const tsModuleDecl = node;\n    this.countDeclarationsWithDuplicateName(tsModuleDecl.name, tsModuleDecl);\n    const tsModuleBody = tsModuleDecl.body;\n    const tsModifiers = tsModuleDecl.modifiers;\n    if (tsModuleBody) {\n      if (isModuleBlock(tsModuleBody)) {\n        for (const tsModuleStmt of tsModuleBody.statements) {\n          switch (tsModuleStmt.kind) {\n            case 244 /* VariableStatement */:\n            case 263 /* FunctionDeclaration */:\n            case 264 /* ClassDeclaration */:\n            case 267 /* InterfaceDeclaration */:\n            case 268 /* TypeAliasDeclaration */:\n            case 269 /* EnumDeclaration */:\n            case 281 /* ExportDeclaration */:\n              break;\n            case 270 /* ModuleDeclaration */:\n              break;\n            default:\n              this.incrementCounters(tsModuleStmt, 44 /* NonDeclarationInNamespace */);\n              break;\n          }\n        }\n      }\n    }\n    if (!(tsModuleDecl.flags & 16 /* Namespace */) && hasModifier2(tsModifiers, 137 /* DeclareKeyword */)) {\n      this.incrementCounters(tsModuleDecl, 61 /* ShorthandAmbientModuleDecl */);\n    }\n    if (isStringLiteral(tsModuleDecl.name) && tsModuleDecl.name.text.includes(\"*\")) {\n      this.incrementCounters(tsModuleDecl, 62 /* WildcardsInModuleName */);\n    }\n  }\n  handleTypeAliasDeclaration(node) {\n    var _a2;\n    const tsTypeAlias = node;\n    this.countDeclarationsWithDuplicateName(tsTypeAlias.name, tsTypeAlias);\n    if (hasSendableDecorator(tsTypeAlias)) {\n      if (!this.isSendableDecoratorValid(tsTypeAlias)) {\n        return;\n      }\n      (_a2 = getNonSendableDecorators(tsTypeAlias)) == null ? void 0 : _a2.forEach((decorator) => {\n        this.incrementCounters(decorator, 101 /* SendableTypeAliasDecorator */);\n      });\n      if (!isFunctionTypeNode(tsTypeAlias.type)) {\n        this.incrementCounters(tsTypeAlias.type, 102 /* SendableTypeAliasDeclaration */);\n      }\n    }\n  }\n  handleImportClause(node) {\n    const tsImportClause = node;\n    if (tsImportClause.name) {\n      this.countDeclarationsWithDuplicateName(tsImportClause.name, tsImportClause);\n    }\n  }\n  handleImportSpecifier(node) {\n    const tsImportSpecifier = node;\n    this.countDeclarationsWithDuplicateName(tsImportSpecifier.name, tsImportSpecifier);\n  }\n  handleNamespaceImport(node) {\n    const tsNamespaceImport = node;\n    this.countDeclarationsWithDuplicateName(tsNamespaceImport.name, tsNamespaceImport);\n  }\n  handleTypeAssertionExpression(node) {\n    const tsTypeAssertion = node;\n    if (tsTypeAssertion.type.getText() === \"const\") {\n      this.incrementCounters(tsTypeAssertion, 72 /* ConstAssertion */);\n    } else {\n      this.incrementCounters(node, 37 /* TypeAssertion */);\n    }\n  }\n  handleMethodDeclaration(node) {\n    var _a2, _b;\n    const tsMethodDecl = node;\n    this.handleDecoratorsSendableClass(tsMethodDecl);\n    let isStatic2 = false;\n    if (tsMethodDecl.modifiers) {\n      for (const mod of tsMethodDecl.modifiers) {\n        if (mod.kind === 125 /* StaticKeyword */) {\n          isStatic2 = true;\n          break;\n        }\n      }\n    }\n    if (tsMethodDecl.body && isStatic2) {\n      this.reportThisKeywordsInScope(tsMethodDecl.body);\n    }\n    if (!tsMethodDecl.type) {\n      this.handleMissingReturnType(tsMethodDecl);\n    }\n    if (tsMethodDecl.asteriskToken) {\n      this.incrementCounters(node, 45 /* GeneratorFunction */);\n    }\n    this.filterOutDecoratorsDiagnostics(\n      getDecorators(tsMethodDecl),\n      NON_RETURN_FUNCTION_DECORATORS2,\n      { begin: tsMethodDecl.parameters.end, end: (_b = (_a2 = tsMethodDecl.body) == null ? void 0 : _a2.getStart()) != null ? _b : tsMethodDecl.parameters.end },\n      FUNCTION_HAS_NO_RETURN_ERROR_CODE2\n    );\n  }\n  handleMethodSignature(node) {\n    const tsMethodSign = node;\n    if (!tsMethodSign.type) {\n      this.handleMissingReturnType(tsMethodSign);\n    }\n  }\n  handleIdentifier(node) {\n    const tsIdentifier = node;\n    const tsIdentSym = trueSymbolAtLocation2(tsIdentifier);\n    if (!tsIdentSym) {\n      return;\n    }\n    if ((tsIdentSym.flags & 1536 /* Module */) !== 0 && (tsIdentSym.flags & 33554432 /* Transient */) !== 0 && tsIdentifier.text === \"globalThis\") {\n      this.incrementCounters(node, 67 /* GlobalThis */);\n    } else {\n      this.handleRestrictedValues(tsIdentifier, tsIdentSym);\n    }\n  }\n  isAllowedClassValueContext(tsIdentifier) {\n    let ctx = tsIdentifier;\n    while (isPropertyAccessExpression(ctx.parent) || isQualifiedName(ctx.parent)) {\n      ctx = ctx.parent;\n    }\n    if (isPropertyAssignment(ctx.parent) && isObjectLiteralExpression(ctx.parent.parent)) {\n      ctx = ctx.parent.parent;\n    }\n    if (isArrowFunction(ctx.parent) && ctx.parent.body === ctx) {\n      ctx = ctx.parent;\n    }\n    if (isCallExpression(ctx.parent) || isNewExpression(ctx.parent)) {\n      const callee = ctx.parent.expression;\n      const isAny = isAnyType2(_TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(callee));\n      const isDynamic = isAny || hasLibraryType2(callee);\n      if (callee !== ctx && isDynamic) {\n        return true;\n      }\n    }\n    return false;\n  }\n  handleRestrictedValues(tsIdentifier, tsIdentSym) {\n    const illegalValues = 128 /* ConstEnum */ | 256 /* RegularEnum */ | 512 /* ValueModule */ | 32 /* Class */;\n    if ((tsIdentSym.flags & 512 /* ValueModule */) !== 0) {\n      if (!!tsIdentSym && symbolHasDuplicateName2(tsIdentSym, 270 /* ModuleDeclaration */)) {\n        return;\n      }\n    }\n    if ((tsIdentSym.flags & illegalValues) === 0 || isStruct3(tsIdentSym) || !this.identiferUseInValueContext(tsIdentifier, tsIdentSym)) {\n      return;\n    }\n    if ((tsIdentSym.flags & 32 /* Class */) !== 0) {\n      if (this.isAllowedClassValueContext(tsIdentifier)) {\n        return;\n      }\n    }\n    if ((tsIdentSym.flags & 268435456 /* Annotation */) !== 0) {\n      return;\n    }\n    if (tsIdentSym.flags & 512 /* ValueModule */) {\n      this.incrementCounters(tsIdentifier, 42 /* NamespaceAsObject */);\n    } else {\n      this.incrementCounters(tsIdentifier, 43 /* ClassAsObject */);\n    }\n  }\n  identiferUseInValueContext(ident, tsSym) {\n    let qualifiedStart = ident;\n    while (isPropertyAccessExpression(qualifiedStart.parent) || isQualifiedName(qualifiedStart.parent)) {\n      qualifiedStart = qualifiedStart.parent;\n    }\n    const parent2 = qualifiedStart.parent;\n    return !(isTypeNode(parent2) && !isTypeOfExpression(parent2) || this.isEnumPropAccess(ident, tsSym, parent2) || isExpressionWithTypeArguments(parent2) || isExportAssignment(parent2) || isExportSpecifier(parent2) || isMetaProperty(parent2) || isImportClause(parent2) || isClassLike(parent2) || isInterfaceDeclaration(parent2) || isModuleDeclaration(parent2) || isEnumDeclaration(parent2) || isNamespaceImport(parent2) || isImportSpecifier(parent2) || isImportEqualsDeclaration(parent2) || isQualifiedName(qualifiedStart) && ident !== qualifiedStart.right || isPropertyAccessExpression(qualifiedStart) && ident !== qualifiedStart.name || isNewExpression(qualifiedStart.parent) && qualifiedStart === qualifiedStart.parent.expression || isBinaryExpression(qualifiedStart.parent) && qualifiedStart.parent.operatorToken.kind === 103 /* InstanceOfKeyword */);\n  }\n  isEnumPropAccess(ident, tsSym, context) {\n    return isElementAccessExpression(context) && !!(tsSym.flags & 384 /* Enum */) && (context.expression == ident || isPropertyAccessExpression(context.expression) && context.expression.name === ident);\n  }\n  isElementAcessAllowed(type, argType) {\n    if (type.isUnion()) {\n      for (const t of type.types) {\n        if (!this.isElementAcessAllowed(t, argType)) {\n          return false;\n        }\n      }\n      return true;\n    }\n    const typeNode = _TypeScriptLinter2.tsTypeChecker.typeToTypeNode(type, void 0, 524288 /* AllowEmptyTuple */);\n    if (isArkTSCollectionsArrayLikeType(type)) {\n      return isNumberLikeType2(argType);\n    }\n    return isLibraryType2(type) || isAnyType2(type) || isOrDerivedFrom(type, isIndexableArray) || isOrDerivedFrom(type, isTuple) || isOrDerivedFrom(type, isStdRecordType2) || isOrDerivedFrom(type, isStringType2) || isOrDerivedFrom(type, isStdMapType) || isIntrinsicObjectType2(type) || isEnumType2(type) || isEsObjectType2(typeNode);\n  }\n  handleElementAccessExpression(node) {\n    const tsElementAccessExpr = node;\n    const tsElementAccessExprSymbol = trueSymbolAtLocation2(tsElementAccessExpr.expression);\n    const tsElemAccessBaseExprType = getNonNullableType2(getTypeOrTypeConstraintAtLocation(tsElementAccessExpr.expression));\n    const tsElemAccessArgType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsElementAccessExpr.argumentExpression);\n    if (!isLibrarySymbol2(tsElementAccessExprSymbol) && !isArrayLiteralExpression(tsElementAccessExpr.expression) && !this.isElementAcessAllowed(tsElemAccessBaseExprType, tsElemAccessArgType)) {\n      let autofix = fixPropertyAccessByIndex2(node);\n      const autofixable = autofix !== void 0;\n      if (!shouldAutofix2(node, 47 /* PropertyAccessByIndex */)) {\n        autofix = void 0;\n      }\n      this.incrementCounters(node, 47 /* PropertyAccessByIndex */, autofixable, autofix);\n    }\n  }\n  handleEnumMember(node) {\n    const tsEnumMember = node;\n    const tsEnumMemberType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsEnumMember);\n    const constVal = _TypeScriptLinter2.tsTypeChecker.getConstantValue(tsEnumMember);\n    if (tsEnumMember.initializer && !isValidEnumMemberInit2(tsEnumMember.initializer)) {\n      this.incrementCounters(node, 49 /* EnumMemberNonConstInit */);\n    }\n    const enumDecl = tsEnumMember.parent;\n    const firstEnumMember = enumDecl.members[0];\n    const firstEnumMemberType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(firstEnumMember);\n    const firstElewmVal = _TypeScriptLinter2.tsTypeChecker.getConstantValue(firstEnumMember);\n    if (constVal !== void 0 && typeof constVal === \"string\" && firstElewmVal !== void 0 && typeof firstElewmVal === \"string\") {\n      return;\n    }\n    if (constVal !== void 0 && typeof constVal === \"number\" && firstElewmVal !== void 0 && typeof firstElewmVal === \"number\") {\n      return;\n    }\n    if (firstEnumMemberType !== tsEnumMemberType) {\n      this.incrementCounters(node, 49 /* EnumMemberNonConstInit */);\n    }\n  }\n  handleExportAssignment(node) {\n    const exportAssignment = node;\n    if (exportAssignment.isExportEquals) {\n      this.incrementCounters(node, 56 /* ExportAssignment */);\n    }\n    if (!_TypeScriptLinter2.inSharedModule(node)) {\n      return;\n    }\n    if (!isShareableEntity(exportAssignment.expression)) {\n      this.incrementCounters(exportAssignment.expression, 90 /* SharedModuleExports */);\n    }\n  }\n  handleCallExpression(node) {\n    const tsCallExpr = node;\n    const calleeSym = trueSymbolAtLocation2(tsCallExpr.expression);\n    const callSignature = _TypeScriptLinter2.tsTypeChecker.getResolvedSignature(tsCallExpr);\n    this.handleImportCall(tsCallExpr);\n    this.handleRequireCall(tsCallExpr);\n    if (calleeSym !== void 0) {\n      this.handleStdlibAPICall(tsCallExpr, calleeSym);\n      this.handleFunctionApplyBindPropCall(tsCallExpr, calleeSym);\n    }\n    if (callSignature !== void 0 && !isLibrarySymbol2(calleeSym)) {\n      this.handleGenericCallWithNoTypeArgs(tsCallExpr, callSignature);\n      this.handleStructIdentAndUndefinedInArgs(tsCallExpr, callSignature);\n    }\n    if (isDeclarationSymbol(calleeSym) && isTaskPoolApi(calleeSym, tsCallExpr.expression)) {\n      this.handleTaskpoolApiForCallExpression(tsCallExpr);\n    }\n    this.handleLibraryTypeCall(tsCallExpr);\n  }\n  handleTaskpoolApiForCallExpression(node) {\n    const tsCallExpr = node;\n    const args = tsCallExpr.arguments || [];\n    if (args.length === 0) {\n      return;\n    }\n    const arg = args[0];\n    const argType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(arg);\n    const argSym = argType.getSymbol();\n    if (!argSym || TASK_LIST.includes(argSym.name)) {\n      return;\n    }\n    if (checkTaskpoolFunction(arg, argType, argSym)) {\n      this.incrementCounters(arg, 111 /* TaskpoolFunctionArg */);\n    }\n  }\n  handleEtsComponentExpression(node) {\n    const etsComponentExpression = node;\n    this.handleLibraryTypeCall(etsComponentExpression);\n  }\n  handleImportCall(tsCallExpr) {\n    if (tsCallExpr.expression.kind === 101 /* ImportKeyword */) {\n      const tsArgs = tsCallExpr.arguments;\n      if (tsArgs.length > 1 && isObjectLiteralExpression(tsArgs[1])) {\n        const objLitExpr = tsArgs[1];\n        for (const tsProp of objLitExpr.properties) {\n          if (isPropertyAssignment(tsProp) || isShorthandPropertyAssignment(tsProp)) {\n            if (tsProp.name.getText() === \"assert\") {\n              this.incrementCounters(tsProp, 73 /* ImportAssertion */);\n              break;\n            }\n          }\n        }\n      }\n    }\n  }\n  handleRequireCall(tsCallExpr) {\n    if (isIdentifier(tsCallExpr.expression) && tsCallExpr.expression.text === \"require\" && isVariableDeclaration(tsCallExpr.parent)) {\n      const tsType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsCallExpr.expression);\n      if (isInterfaceType2(tsType) && tsType.symbol.name === \"NodeRequire\") {\n        this.incrementCounters(tsCallExpr.parent, 57 /* ImportAssignment */);\n      }\n    }\n  }\n  handleGenericCallWithNoTypeArgs(callLikeExpr, callSignature) {\n    var _a2, _b;\n    const typeArguments = _TypeScriptLinter2.tsTypeChecker.getTypeArgumentsForResolvedSignature(callSignature);\n    if (typeArguments && typeArguments.length > 0) {\n      const startTypeArg = (_b = (_a2 = callLikeExpr.typeArguments) == null ? void 0 : _a2.length) != null ? _b : 0;\n      for (let i = startTypeArg; i < typeArguments.length; ++i) {\n        if (typeArguments[i].flags & 2) {\n          this.incrementCounters(callLikeExpr, 58 /* GenericCallNoTypeArgs */);\n          break;\n        }\n      }\n    }\n  }\n  handleFunctionApplyBindPropCall(tsCallExpr, calleeSym) {\n    const exprName = _TypeScriptLinter2.tsTypeChecker.getFullyQualifiedName(calleeSym);\n    if (_TypeScriptLinter2.listFunctionApplyCallApis.includes(exprName)) {\n      this.incrementCounters(tsCallExpr, 70 /* FunctionApplyCall */);\n    }\n    if (_TypeScriptLinter2.listFunctionBindApis.includes(exprName)) {\n      this.incrementCounters(tsCallExpr, 71 /* FunctionBind */);\n    }\n  }\n  handleStructIdentAndUndefinedInArgs(tsCallOrNewExpr, callSignature) {\n    if (!tsCallOrNewExpr.arguments) {\n      return;\n    }\n    for (let argIndex = 0; argIndex < tsCallOrNewExpr.arguments.length; ++argIndex) {\n      const tsArg = tsCallOrNewExpr.arguments[argIndex];\n      const tsArgType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsArg);\n      if (!tsArgType)\n        continue;\n      let paramIndex = argIndex < callSignature.parameters.length ? argIndex : callSignature.parameters.length - 1;\n      let tsParamSym = callSignature.parameters[paramIndex];\n      if (!tsParamSym)\n        continue;\n      const tsParamDecl = tsParamSym.valueDeclaration;\n      if (tsParamDecl && isParameter(tsParamDecl)) {\n        let tsParamType = _TypeScriptLinter2.tsTypeChecker.getTypeOfSymbolAtLocation(tsParamSym, tsParamDecl);\n        if (tsParamDecl.dotDotDotToken && isGenericArrayType2(tsParamType) && tsParamType.typeArguments) {\n          tsParamType = tsParamType.typeArguments[0];\n        }\n        if (!tsParamType)\n          continue;\n        this.checkAssignmentMatching(tsArg, tsParamType, tsArg);\n      }\n    }\n  }\n  handleStdlibAPICall(callExpr, calleeSym) {\n    const name = calleeSym.getName();\n    const parName = getParentSymbolName2(calleeSym);\n    if (parName === void 0) {\n      if (LIMITED_STD_GLOBAL_FUNC2.includes(name)) {\n        this.incrementCounters(callExpr, 75 /* LimitedStdLibApi */);\n        return;\n      }\n      let escapedName = calleeSym.escapedName;\n      if (escapedName === \"Symbol\" || escapedName === \"SymbolConstructor\") {\n        this.incrementCounters(callExpr, 1 /* SymbolType */);\n      }\n      return;\n    }\n    let lookup = _TypeScriptLinter2.LimitedApis.get(parName);\n    if (lookup !== void 0 && (lookup.arr === null || lookup.arr.includes(name))) {\n      this.incrementCounters(callExpr, lookup.fault);\n    }\n    ;\n  }\n  handleLibraryTypeCall(expr) {\n    if (!expr.arguments || !this.tscStrictDiagnostics || !this.sourceFile) {\n      return;\n    }\n    const file = normalizePath(this.sourceFile.fileName);\n    const tscDiagnostics = this.tscStrictDiagnostics.get(file);\n    if (!(tscDiagnostics == null ? void 0 : tscDiagnostics.length)) {\n      return;\n    }\n    const isOhModulesEts = isOhModulesEtsSymbol(trueSymbolAtLocation2(expr.expression));\n    const deleteDiagnostics = new Set2();\n    LibraryTypeCallDiagnosticChecker2.instance.filterDiagnostics(\n      tscDiagnostics,\n      expr,\n      isLibraryType2(_TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(expr.expression)),\n      (diagnostic, errorType) => {\n        if (isOhModulesEts && errorType !== 1 /* UNKNOW */) {\n          diagnostic.category = this.enableStrictCheckOHModule ? 1 /* Error */ : 0 /* Warning */;\n        } else {\n          deleteDiagnostics.add(diagnostic);\n        }\n      }\n    );\n    if (!deleteDiagnostics.size) {\n      return;\n    }\n    this.tscStrictDiagnostics.set(\n      file,\n      tscDiagnostics.filter((item) => {\n        return !deleteDiagnostics.has(item);\n      })\n    );\n  }\n  handleNewExpression(node) {\n    const tsNewExpr = node;\n    let callSignature = _TypeScriptLinter2.tsTypeChecker.getResolvedSignature(tsNewExpr);\n    if (callSignature !== void 0) {\n      this.handleStructIdentAndUndefinedInArgs(tsNewExpr, callSignature);\n      this.handleGenericCallWithNoTypeArgs(tsNewExpr, callSignature);\n    }\n    this.handleSendableGenericTypes(tsNewExpr);\n  }\n  handleSendableGenericTypes(node) {\n    const type = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(node);\n    if (!isSendableClassOrInterface(type)) {\n      return;\n    }\n    const typeArgs = node.typeArguments;\n    if (!typeArgs || typeArgs.length === 0) {\n      return;\n    }\n    for (const arg of typeArgs) {\n      if (!isSendableTypeNode(arg)) {\n        this.incrementCounters(arg, 83 /* SendableGenericTypes */);\n      }\n    }\n  }\n  handleAsExpression(node) {\n    const tsAsExpr = node;\n    if (tsAsExpr.type.getText() === \"const\")\n      this.incrementCounters(node, 72 /* ConstAssertion */);\n    const targetType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsAsExpr.type).getNonNullableType();\n    const exprType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(tsAsExpr.expression).getNonNullableType();\n    if (isNumberLikeType2(exprType) && isStdNumberType(targetType) || isBooleanLikeType(exprType) && isStdBooleanType(targetType)) {\n      this.incrementCounters(node, 37 /* TypeAssertion */);\n    }\n    if (!isSendableClassOrInterface(exprType) && !isObject(exprType) && !isAnyType2(exprType) && isSendableClassOrInterface(targetType)) {\n      this.incrementCounters(tsAsExpr, 88 /* SendableAsExpr */);\n    }\n    if (isWrongSendableFunctionAssignment(targetType, exprType)) {\n      this.incrementCounters(tsAsExpr, 106 /* SendableFunctionAsExpr */);\n    }\n  }\n  isEsObjectPossiblyAllowed(typeRef) {\n    switch (typeRef.parent.kind) {\n      case 261 /* VariableDeclaration */:\n      case 171 /* PropertyDeclaration */:\n      case 168 /* Parameter */:\n      case 184 /* FunctionType */:\n      case 170 /* PropertySignature */:\n      case 188 /* ArrayType */:\n      case 214 /* NewExpression */:\n        return true;\n      case 219 /* ArrowFunction */:\n      case 263 /* FunctionDeclaration */:\n      case 174 /* MethodDeclaration */:\n        return this.isObjectLiteralFromFunc(typeRef.parent);\n      case 183 /* TypeReference */:\n        const promiseType = typeRef.parent;\n        if (promiseType.typeName.getText() === PROMISE) {\n          return this.isObjectLiteralFromFunc(typeRef.parent.parent, true);\n        }\n        return true;\n      case 235 /* AsExpression */:\n        return !isObjectLiteralExpression(typeRef.parent.expression);\n      default:\n        return false;\n    }\n  }\n  isObjectLiteralFromFunc(node, isPromise = false) {\n    if ((isFunctionDeclaration(node) || isMethodDeclaration(node) || isArrowFunction(node)) && !!node.body && isBlock(node.body)) {\n      if (isPromise) {\n        const tsModifier = getModifiers(node);\n        const hasAsyncKeyword = hasModifier2(tsModifier, 133 /* AsyncKeyword */);\n        if (!hasAsyncKeyword) {\n          return true;\n        }\n      }\n      return !this.checkReturnExpression(\n        node.body,\n        (expr) => isReturnStatement(expr) && !!expr.expression && isObjectLiteralExpression(expr.expression)\n      );\n    }\n    return true;\n  }\n  handleTypeReference(node) {\n    const typeRef = node;\n    if (isEsObjectType2(typeRef)) {\n      if (!this.isEsObjectPossiblyAllowed(typeRef)) {\n        this.incrementCounters(node, 79 /* EsObjectType */);\n      }\n      return;\n    }\n    const typeName = entityNameToString3(typeRef.typeName);\n    const isStdUtilityType = LIMITED_STANDARD_UTILITY_TYPES2.includes(typeName);\n    if (isStdUtilityType) {\n      this.incrementCounters(node, 68 /* UtilityType */);\n      return;\n    }\n    const isStdPartial = entityNameToString3(typeRef.typeName) === \"Partial\";\n    const hasSingleTypeArgument = !!typeRef.typeArguments && typeRef.typeArguments.length === 1;\n    const firstTypeArg = !!typeRef.typeArguments && hasSingleTypeArgument && typeRef.typeArguments[0];\n    const argType = firstTypeArg && _TypeScriptLinter2.tsTypeChecker.getTypeFromTypeNode(firstTypeArg);\n    if (isStdPartial && argType && !argType.isClassOrInterface()) {\n      this.incrementCounters(node, 68 /* UtilityType */);\n      return;\n    }\n    const typeNameType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(typeRef.typeName);\n    if (isSendableClassOrInterface(typeNameType)) {\n      this.checkSendableTypeArguments(typeRef);\n    }\n  }\n  checkSendableTypeArguments(typeRef) {\n    if (typeRef.typeArguments) {\n      for (const typeArg of typeRef.typeArguments) {\n        if (!isSendableTypeNode(typeArg)) {\n          this.incrementCounters(typeArg, 83 /* SendableGenericTypes */);\n        }\n      }\n    }\n  }\n  handleMetaProperty(node) {\n    const tsMetaProperty = node;\n    if (tsMetaProperty.name.text === \"target\") {\n      this.incrementCounters(node, 64 /* NewTarget */);\n    }\n  }\n  handleSpreadOp(node) {\n    if (isSpreadElement(node)) {\n      const spreadExprType = getTypeOrTypeConstraintAtLocation(node.expression);\n      if (spreadExprType) {\n        if (isCallLikeExpression(node.parent) || isArrayLiteralExpression(node.parent)) {\n          if (isOrDerivedFrom(spreadExprType, isArray2) || isOrDerivedFrom(spreadExprType, isCollectionArrayType)) {\n            return;\n          }\n        }\n      }\n    }\n    this.incrementCounters(node, 74 /* SpreadOperator */);\n  }\n  handleConstructSignature(node) {\n    switch (node.parent.kind) {\n      case 187 /* TypeLiteral */:\n        this.incrementCounters(node, 33 /* ConstructorType */);\n        break;\n      case 267 /* InterfaceDeclaration */:\n        this.incrementCounters(node, 34 /* ConstructorIface */);\n        break;\n      default:\n        return;\n    }\n  }\n  handleExpressionWithTypeArguments(node) {\n    const tsTypeExpr = node;\n    const symbol = trueSymbolAtLocation2(tsTypeExpr.expression);\n    if (!!symbol && isEsObjectSymbol2(symbol)) {\n      this.incrementCounters(tsTypeExpr, 79 /* EsObjectType */);\n    }\n  }\n  handleComputedPropertyName(node) {\n    var _a2;\n    const computedProperty = node;\n    if (this.isSendableCompPropName(computedProperty)) {\n      if (isSymbolIteratorExpression(computedProperty.expression)) {\n        const declNode = (_a2 = computedProperty.parent) == null ? void 0 : _a2.parent;\n        if (declNode && isArkTSCollectionsClassOrInterfaceDeclaration(declNode)) {\n          return;\n        }\n      }\n      this.incrementCounters(node, 87 /* SendableComputedPropName */);\n    } else if (!isValidComputedPropertyName(computedProperty, false)) {\n      this.incrementCounters(node, 4 /* ComputedPropertyName */);\n    }\n  }\n  isSendableCompPropName(compProp) {\n    var _a2;\n    const declNode = (_a2 = compProp.parent) == null ? void 0 : _a2.parent;\n    if (declNode && isClassDeclaration(declNode) && hasSendableDecorator(declNode)) {\n      return true;\n    } else if (declNode && isInterfaceDeclaration(declNode)) {\n      const declNodeType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(declNode);\n      if (isSendableClassOrInterface(declNodeType)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  handleGetAccessor(node) {\n    this.handleDecoratorsSendableClass(node);\n  }\n  handleSetAccessor(node) {\n    this.handleDecoratorsSendableClass(node);\n  }\n  handleDeclarationInferredType(decl) {\n    var _a2;\n    if (decl.type)\n      return;\n    if (isCatchClause(decl.parent))\n      return;\n    if (isArrayBindingPattern(decl.name) || isObjectBindingPattern(decl.name))\n      return;\n    if ((isVariableDeclaration(decl) && isVariableStatement(decl.parent.parent) || isPropertyDeclaration(decl)) && !decl.initializer) {\n      if (isPropertyDeclaration(decl) && this.sourceFile.scriptKind === 8 /* ETS */ && this.sourceFile.isDeclarationFile && ((_a2 = decl.modifiers) == null ? void 0 : _a2.some((m) => m.kind === 122 /* PrivateKeyword */))) {\n        return;\n      }\n      this.incrementCounters(decl, 0 /* AnyType */);\n      return;\n    }\n    const type = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(decl);\n    if (type)\n      this.validateDeclInferredType(type, decl);\n  }\n  handleDefiniteAssignmentAssertion(decl) {\n    if (decl.exclamationToken === void 0) {\n      return;\n    }\n    if (decl.kind === 171 /* PropertyDeclaration */) {\n      const parentDecl = decl.parent;\n      if (parentDecl.kind === 264 /* ClassDeclaration */ && hasSendableDecorator(parentDecl)) {\n        this.incrementCounters(decl, 82 /* SendableDefiniteAssignment */);\n        return;\n      }\n    }\n    this.incrementCounters(decl, 65 /* DefiniteAssignment */);\n  }\n  checkAnyOrUnknownChildNode(node) {\n    if (node.kind === 132 /* AnyKeyword */ || node.kind === 159 /* UnknownKeyword */) {\n      return true;\n    }\n    const isAnyOrUnknown = forEachChild(node, (child) => {\n      if (this.checkAnyOrUnknownChildNode(child)) {\n        return true;\n      }\n      return void 0;\n    });\n    return !!isAnyOrUnknown;\n  }\n  handleInferredObjectreference(type, decl) {\n    const typeArgs = _TypeScriptLinter2.tsTypeChecker.getTypeArguments(type);\n    if (typeArgs) {\n      const haveAnyOrUnknownNodes = this.checkAnyOrUnknownChildNode(decl);\n      if (!haveAnyOrUnknownNodes) {\n        for (const typeArg of typeArgs) {\n          this.validateDeclInferredType(typeArg, decl);\n        }\n      }\n    }\n  }\n  validateDeclInferredType(type, decl) {\n    if (type.aliasSymbol !== void 0) {\n      return;\n    }\n    const isObject2 = type.flags & 524288 /* Object */;\n    const isReference = type.objectFlags & 4 /* Reference */;\n    if (isObject2 && isReference) {\n      this.handleInferredObjectreference(type, decl);\n      return;\n    }\n    if (this.validatedTypesSet.has(type)) {\n      return;\n    }\n    if (type.isUnion()) {\n      this.validatedTypesSet.add(type);\n      for (let unionElem of type.types) {\n        this.validateDeclInferredType(unionElem, decl);\n      }\n    }\n    if (isAnyType2(type)) {\n      this.incrementCounters(decl, 0 /* AnyType */);\n    } else if (isUnknownType2(type)) {\n      this.incrementCounters(decl, 17 /* UnknownType */);\n    }\n  }\n  processNoCheckEntry(entry) {\n    var _a2, _b, _c;\n    if (((_a2 = entry.range) == null ? void 0 : _a2.kind) === void 0 || ((_b = entry.range) == null ? void 0 : _b.pos) === void 0 || ((_c = entry.range) == null ? void 0 : _c.end) === void 0) {\n      return;\n    }\n    this.incrementCounters(entry.range, 76 /* ErrorSuppression */);\n  }\n  reportThisKeywordsInScope(scope) {\n    const callback = (node) => {\n      if (node.kind === 109 /* ThisKeyword */) {\n        this.incrementCounters(node, 46 /* FunctionContainsThis */);\n      }\n    };\n    const stopCondition = (node) => {\n      const isClassLike2 = isClassDeclaration(node) || isClassExpression(node);\n      const isFunctionLike2 = isFunctionDeclaration(node) || isFunctionExpression(node);\n      const isModuleDecl = isModuleDeclaration(node);\n      return isClassLike2 || isFunctionLike2 || isModuleDecl;\n    };\n    this.forEachNodeInSubtree(scope, callback, stopCondition);\n  }\n  handleCommentDirectives(sourceFile) {\n    var _a2, _b;\n    const pragmas = sourceFile.pragmas;\n    if (pragmas && pragmas instanceof Map2) {\n      const noCheckPragma = pragmas.get(\"ts-nocheck\");\n      if (noCheckPragma) {\n        const noCheckEntries = Array.isArray(noCheckPragma) ? noCheckPragma : [noCheckPragma];\n        for (const entry of noCheckEntries) {\n          this.processNoCheckEntry(entry);\n        }\n      }\n    }\n    const commentDirectives = sourceFile.commentDirectives;\n    if (commentDirectives && Array.isArray(commentDirectives)) {\n      for (const directive of commentDirectives) {\n        if (((_a2 = directive.range) == null ? void 0 : _a2.pos) === void 0 || ((_b = directive.range) == null ? void 0 : _b.end) === void 0) {\n          continue;\n        }\n        const range = directive.range;\n        const kind = sourceFile.text.slice(range.pos, range.pos + 2) === \"/*\" ? 3 /* MultiLineCommentTrivia */ : 2 /* SingleLineCommentTrivia */;\n        const commentRange = {\n          pos: range.pos,\n          end: range.end,\n          kind\n        };\n        this.incrementCounters(commentRange, 76 /* ErrorSuppression */);\n      }\n    }\n  }\n  handleClassStaticBlockDeclaration(node) {\n    if (this.skipArkTSStaticBlocksCheck) {\n      return;\n    }\n    const classStaticBlockDecl = node;\n    if (!isClassDeclaration(classStaticBlockDecl.parent)) {\n      return;\n    }\n    this.reportThisKeywordsInScope(classStaticBlockDecl.body);\n  }\n  handleIndexSignature(node) {\n    if (!isAllowedIndexSignature(node)) {\n      this.incrementCounters(node, 13 /* IndexMember */);\n    }\n  }\n  lint() {\n    this.visitSourceFile(this.sourceFile);\n    this.handleCommentDirectives(this.sourceFile);\n  }\n  handleExportKeyword(node) {\n    var _a2, _b;\n    const parentNode = node.parent;\n    if (!_TypeScriptLinter2.inSharedModule(node) || isModuleBlock(parentNode.parent)) {\n      return;\n    }\n    switch (parentNode.kind) {\n      case 269 /* EnumDeclaration */:\n        if (isConstEnum(parentNode.symbol)) {\n          break;\n        } else {\n          this.incrementCounters((_a2 = parentNode.name) != null ? _a2 : parentNode, 90 /* SharedModuleExports */);\n        }\n        return;\n      case 267 /* InterfaceDeclaration */:\n      case 263 /* FunctionDeclaration */:\n      case 264 /* ClassDeclaration */:\n        if (!isShareableType(_TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(parentNode))) {\n          this.incrementCounters((_b = parentNode.name) != null ? _b : parentNode, 90 /* SharedModuleExports */);\n        }\n        return;\n      case 244 /* VariableStatement */:\n        for (const variableDeclaration of parentNode.declarationList.declarations) {\n          if (!isShareableEntity(variableDeclaration.name)) {\n            this.incrementCounters(variableDeclaration.name, 90 /* SharedModuleExports */);\n          }\n        }\n        return;\n      case 268 /* TypeAliasDeclaration */:\n        if (!isShareableEntity(parentNode)) {\n          this.incrementCounters(parentNode, 108 /* SharedModuleExportsWarning */);\n        }\n        return;\n      default:\n        this.incrementCounters(parentNode, 90 /* SharedModuleExports */);\n    }\n  }\n  handleExportDeclaration(node) {\n    if (!_TypeScriptLinter2.inSharedModule(node) || isModuleBlock(node.parent)) {\n      return;\n    }\n    const exportDecl = node;\n    if (exportDecl.exportClause === void 0) {\n      this.incrementCounters(exportDecl, 91 /* SharedModuleNoWildcardExport */);\n      return;\n    }\n    if (isNamespaceExport(exportDecl.exportClause)) {\n      if (!isShareableType(_TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(exportDecl.exportClause.name))) {\n        this.incrementCounters(exportDecl.exportClause.name, 90 /* SharedModuleExports */);\n      }\n      return;\n    }\n    for (const exportSpecifier of exportDecl.exportClause.elements) {\n      if (!isShareableEntity(exportSpecifier.name)) {\n        this.incrementCounters(exportSpecifier.name, 90 /* SharedModuleExports */);\n      }\n    }\n  }\n  handleReturnStatement(node) {\n    const returnStat = node;\n    const expr = returnStat.expression;\n    if (!expr) {\n      return;\n    }\n    const lhsType = _TypeScriptLinter2.tsTypeChecker.getContextualType(expr);\n    if (!lhsType) {\n      return;\n    }\n    this.checkAssignmentMatching(node, lhsType, expr, true);\n  }\n  checkAssignmentMatching(field, lhsType, rhsExpr, isMissStructural = false) {\n    const rhsType = _TypeScriptLinter2.tsTypeChecker.getTypeAtLocationForLinter(rhsExpr);\n    if (isWrongSendableFunctionAssignment(lhsType, rhsType)) {\n      this.incrementCounters(field, 103 /* SendableFunctionAssignment */);\n    }\n    const isStrict = needStrictMatchType(lhsType, rhsType);\n    if (isMissStructural && !isStrict) {\n      return;\n    }\n    if (needToDeduceStructuralIdentity2(lhsType, rhsType, rhsExpr, isStrict)) {\n      this.incrementCounters(field, 55 /* StructuralIdentity */);\n    }\n  }\n  handleDecorator(node) {\n    const decorator = node;\n    if (getDecoratorName(decorator) === SENDABLE_DECORATOR) {\n      const parent2 = decorator.parent;\n      if (!parent2 || !SENDABLE_DECORATOR_NODES.includes(parent2.kind)) {\n        this.incrementCounters(decorator, 107 /* SendableDecoratorLimited */);\n      }\n    }\n  }\n  isSendableDecoratorValid(decl) {\n    if (this.compatibleSdkVersion > 12 || this.compatibleSdkVersion === 12 && (this.compatibleSdkVersionStage !== \"beta1\" && this.compatibleSdkVersionStage !== \"beta2\")) {\n      return true;\n    }\n    const curDecorator = getSendableDecorator(decl);\n    if (curDecorator) {\n      this.incrementCounters(curDecorator, 109 /* SendableBetaCompatible */);\n    }\n    return false;\n  }\n};\nvar TypeScriptLinter2 = _TypeScriptLinter2;\nTypeScriptLinter2.reportDiagnostics = true;\nTypeScriptLinter2.problemsInfos = [];\nTypeScriptLinter2.filteredDiagnosticMessages = [];\nTypeScriptLinter2.disableSendableClassDecoratorCheck = false;\nTypeScriptLinter2.listFunctionApplyCallApis = [\n  \"Function.apply\",\n  \"Function.call\",\n  \"CallableFunction.apply\",\n  \"CallableFunction.call\"\n];\nTypeScriptLinter2.listFunctionBindApis = [\n  \"Function.bind\",\n  \"CallableFunction.bind\"\n];\nTypeScriptLinter2.LimitedApis = new Map2([\n  [\"global\", { arr: LIMITED_STD_GLOBAL_FUNC2, fault: 75 /* LimitedStdLibApi */ }],\n  [\"Object\", { arr: LIMITED_STD_OBJECT_API2, fault: 75 /* LimitedStdLibApi */ }],\n  [\"ObjectConstructor\", { arr: LIMITED_STD_OBJECT_API2, fault: 75 /* LimitedStdLibApi */ }],\n  [\"Reflect\", { arr: LIMITED_STD_REFLECT_API2, fault: 75 /* LimitedStdLibApi */ }],\n  [\"ProxyHandler\", { arr: LIMITED_STD_PROXYHANDLER_API2, fault: 75 /* LimitedStdLibApi */ }],\n  [\"Symbol\", { arr: null, fault: 1 /* SymbolType */ }],\n  [\"SymbolConstructor\", { arr: null, fault: 1 /* SymbolType */ }]\n]);\n\n// src/linter/ArkTSLinter_1_1/InteropTypescriptLinter.ts\nvar _InteropTypescriptLinter = class {\n  constructor(sourceFile, tsProgram, isInSdk) {\n    this.sourceFile = sourceFile;\n    this.isInSdk = isInSdk;\n    this.KIT = \"@kit.\";\n    this.D_TS = \".d.ts\";\n    this.D_ETS = \".d.ets\";\n    this.ETS = \".ets\";\n    this.handlersMap = new Map2([\n      [275 /* ImportDeclaration */, this.handleImportDeclaration],\n      [267 /* InterfaceDeclaration */, this.handleInterfaceDeclaration],\n      [264 /* ClassDeclaration */, this.handleClassDeclaration],\n      [214 /* NewExpression */, this.handleNewExpression],\n      [210 /* ObjectLiteralExpression */, this.handleObjectLiteralExpression],\n      [209 /* ArrayLiteralExpression */, this.handleArrayLiteralExpression],\n      [235 /* AsExpression */, this.handleAsExpression],\n      [281 /* ExportDeclaration */, this.handleExportDeclaration],\n      [280 /* ExportAssignment */, this.handleExportAssignment]\n    ]);\n    _InteropTypescriptLinter.tsTypeChecker = tsProgram.getLinterTypeChecker();\n    _InteropTypescriptLinter.etsLoaderPath = tsProgram.getCompilerOptions().etsLoaderPath;\n    this.currentErrorLine = 0;\n    this.currentWarningLine = 0;\n    this.SDK_PATH = _InteropTypescriptLinter.etsLoaderPath ? resolvePath(_InteropTypescriptLinter.etsLoaderPath, \"../../\") : void 0;\n  }\n  static initGlobals() {\n  }\n  static initStatic() {\n    _InteropTypescriptLinter.strictMode = true;\n    _InteropTypescriptLinter.totalVisitedNodes = 0;\n    _InteropTypescriptLinter.nodeCounters = [];\n    _InteropTypescriptLinter.lineCounters = [];\n    _InteropTypescriptLinter.totalErrorLines = 0;\n    _InteropTypescriptLinter.totalWarningLines = 0;\n    _InteropTypescriptLinter.errorLineNumbersString = \"\";\n    _InteropTypescriptLinter.warningLineNumbersString = \"\";\n    for (let i = 0; i < 113 /* LAST_ID */; i++) {\n      _InteropTypescriptLinter.nodeCounters[i] = 0;\n      _InteropTypescriptLinter.lineCounters[i] = 0;\n    }\n    _InteropTypescriptLinter.problemsInfos = [];\n    _InteropTypescriptLinter.kitInfos = new Map2();\n  }\n  static clearTsTypeChecker() {\n    _InteropTypescriptLinter.tsTypeChecker = {};\n  }\n  incrementCounters(node, faultId, autofixable = false, autofix) {\n    var _a2, _b;\n    const [startOffset, endOffset] = getHighlightRange(node, faultId);\n    const startPos = this.sourceFile.getLineAndCharacterOfPosition(startOffset);\n    const line = startPos.line + 1;\n    const character = startPos.character + 1;\n    _InteropTypescriptLinter.nodeCounters[faultId]++;\n    const faultDescr = LinterConfig2.nodeDesc[faultId];\n    const faultType = \"unknown\";\n    const cookBookMsgNum = faultsAttrs2[faultId] ? faultsAttrs2[faultId].cookBookRef : 0;\n    const cookBookTg = cookBookTag2[cookBookMsgNum];\n    const severity = (_b = (_a2 = faultsAttrs2[faultId]) == null ? void 0 : _a2.severity) != null ? _b : 2 /* ERROR */;\n    const badNodeInfo = {\n      line,\n      column: character,\n      start: startOffset,\n      end: endOffset,\n      type: faultType,\n      severity,\n      problem: FaultID2[faultId],\n      suggest: cookBookMsgNum > 0 ? cookBookMsg2[cookBookMsgNum] : \"\",\n      rule: cookBookMsgNum > 0 && cookBookTg !== \"\" ? cookBookTg : faultDescr ? faultDescr : faultType,\n      ruleTag: cookBookMsgNum,\n      autofixable,\n      autofix\n    };\n    _InteropTypescriptLinter.problemsInfos.push(badNodeInfo);\n    if (!_InteropTypescriptLinter.reportDiagnostics) {\n      perfLogger.logEvent(\n        `Warning: ${this.sourceFile.fileName} (${line}, ${character}): ${faultDescr ? faultDescr : faultType}`\n      );\n    }\n    _InteropTypescriptLinter.lineCounters[faultId]++;\n    switch (faultsAttrs2[faultId].severity) {\n      case 2 /* ERROR */: {\n        this.currentErrorLine = line;\n        ++_InteropTypescriptLinter.totalErrorLines;\n        _InteropTypescriptLinter.errorLineNumbersString += line + \", \";\n        break;\n      }\n      case 1 /* WARNING */: {\n        if (line === this.currentWarningLine) {\n          break;\n        }\n        this.currentWarningLine = line;\n        ++_InteropTypescriptLinter.totalWarningLines;\n        _InteropTypescriptLinter.warningLineNumbersString += line + \", \";\n        break;\n      }\n    }\n  }\n  forEachNodeInSubtree(node, cb, stopCond) {\n    cb.call(this, node);\n    if (stopCond == null ? void 0 : stopCond.call(this, node)) {\n      return;\n    }\n    forEachChild(node, (child) => {\n      this.forEachNodeInSubtree(child, cb, stopCond);\n    });\n  }\n  visitSourceFile(sf) {\n    const callback = (node) => {\n      _InteropTypescriptLinter.totalVisitedNodes++;\n      const handler = this.handlersMap.get(node.kind);\n      if (handler !== void 0) {\n        handler.call(this, node);\n      }\n    };\n    const stopCondition = (node) => {\n      if (node === null || node.kind === null) {\n        return true;\n      }\n      if (LinterConfig2.terminalTokens.has(node.kind)) {\n        return true;\n      }\n      return false;\n    };\n    this.forEachNodeInSubtree(sf, callback, stopCondition);\n  }\n  handleImportDeclaration(node) {\n    const importDeclNode = node;\n    this.checkSendableClassorISendable(importDeclNode);\n  }\n  checkSendableClassorISendable(node) {\n    const currentSourceFile = getSourceFileOfNode(node);\n    const contextSpecifier = node.moduleSpecifier;\n    if (!isStringLiteralLike(contextSpecifier)) {\n      return;\n    }\n    const mode = getModeForUsageLocation(currentSourceFile, contextSpecifier);\n    const resolvedModule = getResolvedModule(currentSourceFile, contextSpecifier.text, mode);\n    const importClause = node.importClause;\n    if (!resolvedModule) {\n      return;\n    }\n    let baseFileName = getBaseFileName(resolvedModule.resolvedFileName);\n    if (baseFileName.startsWith(this.KIT) && baseFileName.endsWith(this.D_TS)) {\n      if (!_InteropTypescriptLinter.etsLoaderPath) {\n        return;\n      }\n      this.initKitInfos(baseFileName);\n      if (!importClause) {\n        return;\n      }\n      if (importClause.name) {\n        return;\n      }\n      if (importClause.namedBindings && isNamedImports(importClause.namedBindings)) {\n        this.checkKitImportClause(importClause.namedBindings, baseFileName);\n      }\n      return;\n    }\n    if ((resolvedModule == null ? void 0 : resolvedModule.extension) !== this.ETS && (resolvedModule == null ? void 0 : resolvedModule.extension) !== this.D_ETS || isInImportWhiteList(resolvedModule)) {\n      return;\n    }\n    if (!importClause) {\n      this.incrementCounters(node, 97 /* NoSideEffectImportEtsToTs */);\n      return;\n    }\n    this.checkImportClause(importClause, resolvedModule);\n  }\n  checkKitImportClause(node, kitFileName) {\n    const length2 = node.elements.length;\n    for (let i = 0; i < length2; i++) {\n      const fileName = this.getKitModuleFileNames(kitFileName, node, i);\n      if (fileName === \"\" || fileName.endsWith(D_TS)) {\n        continue;\n      }\n      const element = node.elements[i];\n      const decl = getDeclarationNode(element.name);\n      if (!decl) {\n        continue;\n      }\n      if (isModuleDeclaration(decl)) {\n        if (fileName !== ARKTS_COLLECTIONS_D_ETS && fileName !== ARKTS_LANG_D_ETS) {\n          this.incrementCounters(element, 92 /* NoTsImportEts */);\n        }\n      } else if (!isSendableClassOrInterfaceEntity(element.name)) {\n        this.incrementCounters(element, 92 /* NoTsImportEts */);\n      }\n    }\n  }\n  checkImportClause(node, resolvedModule) {\n    const checkAndIncrement = (identifier) => {\n      if (identifier && !isSendableClassOrInterfaceEntity(identifier)) {\n        this.incrementCounters(identifier, 92 /* NoTsImportEts */);\n      }\n    };\n    if (node.name) {\n      if (this.allowInSdkImportSendable(resolvedModule)) {\n        return;\n      }\n      checkAndIncrement(node.name);\n    }\n    if (!node.namedBindings) {\n      return;\n    }\n    if (isNamespaceImport(node.namedBindings)) {\n      this.incrementCounters(node.namedBindings, 96 /* NoNamespaceImportEtsToTs */);\n      return;\n    }\n    if (isNamedImports(node.namedBindings)) {\n      node.namedBindings.elements.forEach((element) => {\n        checkAndIncrement(element.name);\n      });\n    }\n  }\n  allowInSdkImportSendable(resolvedModule) {\n    const resolvedModuleIsInSdk = this.SDK_PATH ? normalizePath(resolvedModule.resolvedFileName).startsWith(this.SDK_PATH) : false;\n    return this.isInSdk && resolvedModuleIsInSdk && getBaseFileName(resolvedModule.resolvedFileName).indexOf(\"sendable\") !== -1;\n  }\n  handleClassDeclaration(node) {\n    const tsClassDecl = node;\n    if (!tsClassDecl.heritageClauses) {\n      return;\n    }\n    for (const hClause of tsClassDecl.heritageClauses) {\n      if (hClause) {\n        this.checkClassOrInterfaceDeclarationHeritageClause(hClause);\n      }\n    }\n  }\n  checkClassOrInterfaceDeclarationHeritageClause(hClause) {\n    for (const tsTypeExpr of hClause.types) {\n      const tsExprType = reduceReference(_InteropTypescriptLinter.tsTypeChecker.getTypeAtLocationForLinter(tsTypeExpr));\n      const isSendableBaseType = isSendableClassOrInterface(tsExprType);\n      if (isSendableBaseType) {\n        this.incrementCounters(tsTypeExpr, 93 /* SendableTypeInheritance */);\n      }\n    }\n  }\n  handleInterfaceDeclaration(node) {\n    const interfaceNode = node;\n    const iSymbol = trueSymbolAtLocation2(interfaceNode.name);\n    const iDecls = iSymbol ? iSymbol.getDeclarations() : null;\n    if (!iDecls) {\n      return;\n    }\n    if (!interfaceNode.heritageClauses) {\n      return;\n    }\n    for (const hClause of interfaceNode.heritageClauses) {\n      if (hClause) {\n        this.checkClassOrInterfaceDeclarationHeritageClause(hClause);\n      }\n    }\n  }\n  handleNewExpression(node) {\n    const tsNewExpr = node;\n    this.handleSendableGenericTypes(tsNewExpr);\n  }\n  handleSendableGenericTypes(node) {\n    const type = _InteropTypescriptLinter.tsTypeChecker.getTypeAtLocationForLinter(node);\n    if (!isSendableClassOrInterface(type)) {\n      return;\n    }\n    const typeArgs = node.typeArguments;\n    if (!typeArgs || typeArgs.length === 0) {\n      return;\n    }\n    for (const arg of typeArgs) {\n      if (!isSendableTypeNode(arg)) {\n        this.incrementCounters(arg, 83 /* SendableGenericTypes */);\n      }\n    }\n  }\n  handleObjectLiteralExpression(node) {\n    const objectLiteralExpr = node;\n    const objectLiteralType = _InteropTypescriptLinter.tsTypeChecker.getContextualType(objectLiteralExpr);\n    if (objectLiteralType && typeContainsSendableClassOrInterface(objectLiteralType)) {\n      this.incrementCounters(node, 86 /* SendableObjectInitialization */);\n    }\n  }\n  handleArrayLiteralExpression(node) {\n    const arrayLitNode = node;\n    const arrayLitType = _InteropTypescriptLinter.tsTypeChecker.getContextualType(arrayLitNode);\n    if (arrayLitType && typeContainsSendableClassOrInterface(arrayLitType)) {\n      this.incrementCounters(node, 86 /* SendableObjectInitialization */);\n    }\n  }\n  handleAsExpression(node) {\n    const tsAsExpr = node;\n    const targetType = _InteropTypescriptLinter.tsTypeChecker.getTypeAtLocationForLinter(tsAsExpr.type).getNonNullableType();\n    const exprType = _InteropTypescriptLinter.tsTypeChecker.getTypeAtLocationForLinter(tsAsExpr.expression).getNonNullableType();\n    if (!isSendableClassOrInterface(exprType) && !isObject(exprType) && !isAnyType2(exprType) && isSendableClassOrInterface(targetType)) {\n      this.incrementCounters(tsAsExpr, 88 /* SendableAsExpr */);\n    }\n  }\n  handleExportDeclaration(node) {\n    const exportDecl = node;\n    const currentSourceFile = getSourceFileOfNode(node);\n    const contextSpecifier = exportDecl.moduleSpecifier;\n    if (contextSpecifier && isStringLiteralLike(contextSpecifier)) {\n      const mode = contextSpecifier && isStringLiteralLike(contextSpecifier) ? getModeForUsageLocation(currentSourceFile, contextSpecifier) : currentSourceFile.impliedNodeFormat;\n      const resolvedModule = getResolvedModule(currentSourceFile, contextSpecifier.text, mode);\n      if (!resolvedModule) {\n        return;\n      }\n      let baseFileName = getBaseFileName(resolvedModule.resolvedFileName);\n      if (baseFileName.startsWith(this.KIT) && baseFileName.endsWith(this.D_TS)) {\n        if (!_InteropTypescriptLinter.etsLoaderPath) {\n          return;\n        }\n        this.initKitInfos(baseFileName);\n        const exportClause = exportDecl.exportClause;\n        if (exportClause && isNamedExports(exportClause)) {\n          this.checkKitImportClause(exportClause, baseFileName);\n        }\n        return;\n      }\n      if ((resolvedModule == null ? void 0 : resolvedModule.extension) === this.ETS || (resolvedModule == null ? void 0 : resolvedModule.extension) === this.D_ETS) {\n        this.incrementCounters(contextSpecifier, 95 /* NoTsReExportEts */);\n      }\n      return;\n    }\n    if (!this.isInSdk) {\n      return;\n    }\n    if (!exportDecl.exportClause) {\n      return;\n    }\n    if (!isNamedExports(exportDecl.exportClause)) {\n      return;\n    }\n    for (const exportSpecifier of exportDecl.exportClause.elements) {\n      if (isSendableClassOrInterfaceEntity(exportSpecifier.name)) {\n        this.incrementCounters(exportSpecifier.name, 94 /* SendableTypeExported */);\n      }\n    }\n  }\n  handleExportAssignment(node) {\n    if (!this.isInSdk) {\n      return;\n    }\n    const exportAssignment = node;\n    if (isSendableClassOrInterfaceEntity(exportAssignment.expression)) {\n      this.incrementCounters(exportAssignment.expression, 94 /* SendableTypeExported */);\n    }\n  }\n  initKitInfos(fileName) {\n    if (_InteropTypescriptLinter.kitInfos.has(fileName)) {\n      return;\n    }\n    let _path = require(\"path\");\n    let _fs = require(\"fs\");\n    const JSON_SUFFIX2 = \".json\";\n    const KIT_CONFIGS = \"../ets-loader/kit_configs\";\n    const KIT_CONFIG_PATH = \"./build-tools/ets-loader/kit_configs\";\n    const kitConfigs = [_path.resolve(_InteropTypescriptLinter.etsLoaderPath, KIT_CONFIGS)];\n    if (process.env.externalApiPaths) {\n      const externalApiPaths = process.env.externalApiPaths.split(_path.delimiter);\n      externalApiPaths.forEach((sdkPath) => {\n        kitConfigs.push(_path.resolve(sdkPath, KIT_CONFIG_PATH));\n      });\n    }\n    for (const kitConfig of kitConfigs) {\n      const kitModuleConfigJson = _path.resolve(kitConfig, \"./\" + fileName.replace(this.D_TS, JSON_SUFFIX2));\n      if (_fs.existsSync(kitModuleConfigJson)) {\n        _InteropTypescriptLinter.kitInfos.set(fileName, JSON.parse(_fs.readFileSync(kitModuleConfigJson, \"utf-8\")));\n      }\n    }\n  }\n  getKitModuleFileNames(fileName, node, index) {\n    if (!_InteropTypescriptLinter.kitInfos.has(fileName)) {\n      return \"\";\n    }\n    const kitInfo = _InteropTypescriptLinter.kitInfos.get(fileName);\n    if (!kitInfo || !kitInfo.symbols) {\n      return \"\";\n    }\n    const element = node.elements[index];\n    return element.propertyName ? kitInfo.symbols[element.propertyName.text].source : kitInfo.symbols[element.name.text].source;\n  }\n  lint() {\n    this.visitSourceFile(this.sourceFile);\n  }\n};\nvar InteropTypescriptLinter = _InteropTypescriptLinter;\nInteropTypescriptLinter.reportDiagnostics = true;\nInteropTypescriptLinter.problemsInfos = [];\n\n// src/linter/ArkTSLinter_1_1/TSDiagnostics.ts\nvar TSCCompiledProgram2 = class {\n  constructor(program) {\n    this.diagnosticsExtractor = new TypeScriptDiagnosticsExtractor2(program);\n  }\n  getProgram() {\n    return this.diagnosticsExtractor.nonStrictProgram.getProgram();\n  }\n  getBuilderProgram() {\n    return this.diagnosticsExtractor.nonStrictProgram;\n  }\n  getStrictDiagnostics(sourceFile) {\n    return this.diagnosticsExtractor.getStrictDiagnostics(sourceFile);\n  }\n  doAllGetDiagnostics() {\n    PerformanceDotting.start(\"doAllGetDiagnostics\");\n    this.diagnosticsExtractor.doAllGetDiagnostics();\n    PerformanceDotting.stop(\"doAllGetDiagnostics\");\n  }\n};\nvar TypeScriptDiagnosticsExtractor2 = class {\n  constructor(nonStrictProgram) {\n    this.nonStrictProgram = nonStrictProgram;\n  }\n  getStrictDiagnostics(sourceFile) {\n    const strict = getAllDiagnostics2(this.nonStrictProgram, sourceFile, true).filter(\n      (diag2) => !(diag2.length === 0 && diag2.start === 0)\n    );\n    const nonStrict = getAllDiagnostics2(this.nonStrictProgram, sourceFile, false);\n    const nonStrictHashes = nonStrict.reduce((result, value) => {\n      const hash = hashDiagnostic2(value);\n      if (hash) {\n        result.add(hash);\n      }\n      return result;\n    }, new Set2());\n    return strict.filter((value) => {\n      const hash = hashDiagnostic2(value);\n      return hash && !nonStrictHashes.has(hash);\n    });\n  }\n  doAllGetDiagnostics() {\n    var _a2;\n    const timePrinterInstance = ArkTSLinterTimePrinter.getInstance();\n    PerformanceDotting.startAdvanced(\"nonStrictProgramGetSemanticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n    this.nonStrictProgram.getSemanticDiagnostics();\n    timePrinterInstance.appendTime(\"nonStrictProgramGetSemanticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n    PerformanceDotting.stopAdvanced(\"nonStrictProgramGetSemanticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n    PerformanceDotting.startAdvanced(\"nonStrictProgramGetSyntacticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SYNTACTIC_DIAGNOSTICS */);\n    this.nonStrictProgram.getSyntacticDiagnostics();\n    timePrinterInstance.appendTime(\"nonStrictProgramGetSyntacticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SYNTACTIC_DIAGNOSTICS */);\n    PerformanceDotting.stopAdvanced(\"nonStrictProgramGetSyntacticDiagnostics\" /* NON_STRICT_PROGRAM_GET_SYNTACTIC_DIAGNOSTICS */);\n    PerformanceDotting.startAdvanced(\"strictProgramGetSemanticDiagnostics\" /* STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n    (_a2 = this.nonStrictProgram.builderProgramForLinter) == null ? void 0 : _a2.getSemanticDiagnostics();\n    timePrinterInstance.appendTime(\"strictProgramGetSemanticDiagnostics\" /* STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n    PerformanceDotting.stopAdvanced(\"strictProgramGetSemanticDiagnostics\" /* STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS */);\n  }\n};\nfunction getAllDiagnostics2(builderProgram, sourceFile, isStrict = false) {\n  if (isStrict) {\n    if (!builderProgram.builderProgramForLinter) {\n      return [];\n    }\n    return builderProgram.builderProgramForLinter.getSemanticDiagnostics(sourceFile).filter((diag2) => diag2.file === sourceFile);\n  }\n  return builderProgram.getSemanticDiagnostics(sourceFile).filter((diag2) => diag2.file === sourceFile);\n}\nfunction hashDiagnostic2(diagnostic) {\n  if (diagnostic.start === void 0 || diagnostic.length === void 0) {\n    return void 0;\n  }\n  return `${diagnostic.code}%${diagnostic.start}%${diagnostic.length}`;\n}\n\n// src/linter/ArkTSLinter_1_1/LinterRunner.ts\nfunction makeDiag2(category, code, file, start, length2, messageText) {\n  return { category, code, file, start, length: length2, messageText };\n}\nfunction translateDiag2(srcFile, problemInfo) {\n  const severity = problemInfo.severity === 2 /* ERROR */ ? 1 /* Error */ : 0 /* Warning */;\n  return makeDiag2(severity, problemInfo.ruleTag, srcFile, problemInfo.start, problemInfo.end - problemInfo.start + 1, problemInfo.rule);\n}\nfunction runArkTSLinter2(tsBuilderProgram, srcFile, buildInfoWriteFile, arkTSVersion) {\n  PerformanceDotting.startAdvanced(\"init\" /* INIT */);\n  TypeScriptLinter2.errorLineNumbersString = \"\";\n  TypeScriptLinter2.warningLineNumbersString = \"\";\n  InteropTypescriptLinter.errorLineNumbersString = \"\";\n  InteropTypescriptLinter.warningLineNumbersString = \"\";\n  let diagnostics = [];\n  LinterConfig2.initStatic();\n  let programState = tsBuilderProgram.getState();\n  const oldDiagnostics = programState.arktsLinterDiagnosticsPerFile;\n  programState.arktsLinterDiagnosticsPerFile = new Map2();\n  const tscDiagnosticsLinter = new TSCCompiledProgram2(tsBuilderProgram);\n  const program = tscDiagnosticsLinter.getProgram();\n  const compilerOptions = program.getCompilerOptions();\n  const timePrinterInstance = ArkTSLinterTimePrinter.getInstance();\n  timePrinterInstance.appendTime(\"init\" /* INIT */);\n  PerformanceDotting.stopAdvanced(\"init\" /* INIT */);\n  tscDiagnosticsLinter.doAllGetDiagnostics();\n  const changedFiles = collectChangedFilesFromProgramState2(\n    programState,\n    program,\n    arkTSVersion,\n    compilerOptions.compatibleSdkVersion,\n    compilerOptions.compatibleSdkVersionStage\n  );\n  programState.arkTSVersion = arkTSVersion;\n  programState.compatibleSdkVersion = compilerOptions.compatibleSdkVersion;\n  programState.compatibleSdkVersionStage = compilerOptions.compatibleSdkVersionStage;\n  let srcFiles = [];\n  if (!!srcFile) {\n    srcFiles.push(srcFile);\n  } else {\n    srcFiles = program.getSourceFiles();\n  }\n  PerformanceDotting.startAdvanced(\"getTscDiagnostics\" /* GET_TSC_DIAGNOSTICS */);\n  const tscStrictDiagnostics = getTscDiagnostics2(tscDiagnosticsLinter, srcFiles.filter((file) => changedFiles.has(file.resolvedPath)));\n  timePrinterInstance.appendTime(\"getTscDiagnostics\" /* GET_TSC_DIAGNOSTICS */);\n  PerformanceDotting.stopAdvanced(\"getTscDiagnostics\" /* GET_TSC_DIAGNOSTICS */);\n  PerformanceDotting.startAdvanced(\"lint\" /* LINT */);\n  TypeScriptLinter2.initGlobals(compilerOptions);\n  InteropTypescriptLinter.initGlobals();\n  LibraryTypeCallDiagnosticChecker2.instance.rebuildTscDiagnostics(tscStrictDiagnostics);\n  var lintLoop = function(fileToLint) {\n    var _a2, _b, _c;\n    if (fileToLint.scriptKind !== 8 /* ETS */ && fileToLint.scriptKind !== 3 /* TS */) {\n      return \"continue\";\n    }\n    let currentDiagnostics;\n    if (changedFiles.has(fileToLint.resolvedPath)) {\n      const skipOhModulesLint = compilerOptions.skipOhModulesLint && isOHModules(fileToLint.fileName);\n      if (skipOhModulesLint) {\n        return \"continue\";\n      }\n      if (fileToLint.scriptKind === 8 /* ETS */) {\n        TypeScriptLinter2.initStatic();\n        const linter = new TypeScriptLinter2(fileToLint, program, tscStrictDiagnostics);\n        setTypeChecker2(TypeScriptLinter2.tsTypeChecker);\n        setMixCompile(!!compilerOptions.mixCompile);\n        setEnableStrictCheckOHModule(!!compilerOptions.enableStrictCheckOHModule);\n        linter.lint();\n        currentDiagnostics = (_a2 = tscStrictDiagnostics.get(normalizePath(fileToLint.fileName))) != null ? _a2 : [];\n        TypeScriptLinter2.problemsInfos.forEach((x) => currentDiagnostics.push(translateDiag2(fileToLint, x)));\n      } else {\n        InteropTypescriptLinter.initStatic();\n        const isKit = getBaseFileName(fileToLint.fileName).indexOf(\"@kit.\") === 0;\n        const etsLoaderPath = program.getCompilerOptions().etsLoaderPath;\n        const isInSdk = etsLoaderPath ? normalizePath(fileToLint.fileName).indexOf(resolvePath(etsLoaderPath, \"../..\")) === 0 : false;\n        const isInOhModules = isOHModules(fileToLint.fileName);\n        const tsImportSendableEnable = program.getCompilerOptions().tsImportSendableEnable;\n        if (isKit || isInOhModules || !tsImportSendableEnable && !isInSdk) {\n          return \"continue\";\n        }\n        const InteropLinter = new InteropTypescriptLinter(fileToLint, program, isInSdk);\n        setTypeChecker2(InteropTypescriptLinter.tsTypeChecker);\n        setMixCompile(!!compilerOptions.mixCompile);\n        InteropLinter.lint();\n        currentDiagnostics = [];\n        InteropTypescriptLinter.problemsInfos.forEach((x) => currentDiagnostics.push(translateDiag2(fileToLint, x)));\n      }\n    } else {\n      currentDiagnostics = (_b = oldDiagnostics == null ? void 0 : oldDiagnostics.get(fileToLint.resolvedPath)) != null ? _b : [];\n    }\n    diagnostics.push(...currentDiagnostics);\n    (_c = programState.arktsLinterDiagnosticsPerFile) == null ? void 0 : _c.set(fileToLint.resolvedPath, currentDiagnostics);\n  };\n  MemoryUtils.initializeBaseMemory();\n  for (const fileToLint of srcFiles) {\n    lintLoop(fileToLint);\n    MemoryUtils.tryGC();\n  }\n  timePrinterInstance.appendTime(\"lint\" /* LINT */);\n  PerformanceDotting.stopAdvanced(\"lint\" /* LINT */);\n  PerformanceDotting.startAdvanced(\"emitBuildInfo\" /* EMIT_BUILD_INFO */);\n  if (!!buildInfoWriteFile) {\n    tscDiagnosticsLinter.getBuilderProgram().emitBuildInfo(buildInfoWriteFile);\n    timePrinterInstance.appendTime(\"emitBuildInfo\" /* EMIT_BUILD_INFO */);\n  }\n  PerformanceDotting.stopAdvanced(\"emitBuildInfo\" /* EMIT_BUILD_INFO */);\n  releaseReferences2();\n  return diagnostics;\n}\nfunction releaseReferences2() {\n  TypeScriptLinter2.clearQualifiedNameCache();\n  TypeScriptLinter2.clearTsTypeChecker();\n  InteropTypescriptLinter.clearTsTypeChecker();\n  clearTypeChecker2();\n  clearTrueSymbolAtLocationCache2();\n  clearUtilsGlobalvariables();\n  LibraryTypeCallDiagnosticChecker2.instance.clear();\n}\nfunction collectChangedFilesFromProgramState2(state, program, arkTSVersion, compatibleSdkVersion, compatibleSdkVersionStage) {\n  const changedFiles = new Set2(state.changedFilesSet);\n  if (state.arkTSVersion !== arkTSVersion || state.compatibleSdkVersion !== compatibleSdkVersion || state.compatibleSdkVersionStage !== compatibleSdkVersionStage) {\n    return new Set2(arrayFrom(state.fileInfos.keys()));\n  }\n  for (const changedFile of arrayFrom(changedFiles.keys())) {\n    const fileInfo = state.fileInfos.get(changedFile);\n    if (fileInfo == null ? void 0 : fileInfo.affectsGlobalScope) {\n      return new Set2(arrayFrom(state.fileInfos.keys()));\n    }\n  }\n  if (!state.referencedMap) {\n    return changedFiles;\n  }\n  const changedSourcesForLinter = program.getLinterTypeChecker().getCheckedSourceFiles();\n  const changedSources = program.getTypeChecker().getCheckedSourceFiles();\n  const targetSet = new Set2();\n  changedSourcesForLinter.forEach((x) => targetSet.add(x.path));\n  changedSources.forEach((x) => targetSet.add(x.path));\n  return targetSet;\n}\nfunction getTscDiagnostics2(tscDiagnosticsLinter, sourceFiles) {\n  const strictDiagnostics = new Map2();\n  sourceFiles.forEach((file) => {\n    const diagnostics = tscDiagnosticsLinter.getStrictDiagnostics(file);\n    if (diagnostics.length !== 0) {\n      strictDiagnostics.set(normalizePath(file.fileName), diagnostics);\n    }\n  });\n  return strictDiagnostics;\n}\n\n// src/linter/Common/ArkTSTimePrinter.ts\nvar TimePhase = /* @__PURE__ */ ((TimePhase2) => {\n  TimePhase2[\"START\"] = \"start\";\n  TimePhase2[\"GET_PROGRAM\"] = \"getProgram(not ArkTSLinter)\";\n  TimePhase2[\"UPDATE_ERROR_FILE\"] = \"updateErrorFile\";\n  TimePhase2[\"INIT\"] = \"init\";\n  TimePhase2[\"STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS\"] = \"strictProgramGetSemanticDiagnostics\";\n  TimePhase2[\"NON_STRICT_PROGRAM_GET_SEMANTIC_DIAGNOSTICS\"] = \"nonStrictProgramGetSemanticDiagnostics\";\n  TimePhase2[\"NON_STRICT_PROGRAM_GET_SYNTACTIC_DIAGNOSTICS\"] = \"nonStrictProgramGetSyntacticDiagnostics\";\n  TimePhase2[\"GET_TSC_DIAGNOSTICS\"] = \"getTscDiagnostics\";\n  TimePhase2[\"EMIT_BUILD_INFO\"] = \"emitBuildInfo\";\n  TimePhase2[\"LINT\"] = \"lint\";\n  return TimePhase2;\n})(TimePhase || {});\nvar ArkTSLinterTimePrinter = class {\n  constructor(ArkTSTimePrintSwitch = false) {\n    this.timeMap = new Map2();\n    this.arkTSTimePrintSwitch = ArkTSTimePrintSwitch;\n  }\n  static getInstance() {\n    if (!ArkTSLinterTimePrinter.instance) {\n      ArkTSLinterTimePrinter.instance = new ArkTSLinterTimePrinter();\n    }\n    return ArkTSLinterTimePrinter.instance;\n  }\n  static destroyInstance() {\n    ArkTSLinterTimePrinter.instance = void 0;\n  }\n  setArkTSTimePrintSwitch(arkTSTimePrintSwitch) {\n    this.arkTSTimePrintSwitch = arkTSTimePrintSwitch;\n  }\n  appendTime(key) {\n    if (this.arkTSTimePrintSwitch) {\n      this.timeMap.set(key, Date.now());\n    }\n  }\n  formatMapAsTable(map2) {\n    if (!map2.has(\"start\" /* START */)) {\n      return \"ArkTSLinterTimePrinter: START phase is not exist!\";\n    }\n    let maxKeyLength = 0;\n    let lastVal = 0;\n    let sum2 = 0;\n    let printMap = new Map2(map2);\n    printMap.forEach((value, key) => {\n      maxKeyLength = Math.max(maxKeyLength, key.toString().length);\n      if (key !== \"start\" /* START */) {\n        let relativeVal = value - lastVal;\n        if (key !== \"getProgram(not ArkTSLinter)\" /* GET_PROGRAM */) {\n          sum2 += relativeVal;\n        }\n        printMap.set(key, relativeVal / 1e3);\n      }\n      lastVal = value;\n    });\n    printMap.set(\"total\", sum2 / 1e3);\n    let table = \"\";\n    printMap.forEach((value, key) => {\n      if (key !== \"start\" /* START */) {\n        const paddedKey = key.toString().padEnd(maxKeyLength, \" \");\n        table += `${paddedKey} | ${value.toString()}\n`;\n      }\n    });\n    const header = `${\"Phase\".padEnd(maxKeyLength, \" \")} | Time(seconds)\n`;\n    const FIXLENGTH = \"PhaseTime\".length;\n    const separator = \"-\".repeat(maxKeyLength + FIXLENGTH) + \"\\n\";\n    return `${header}${separator}${table}`;\n  }\n  printTimes() {\n    if (this.arkTSTimePrintSwitch) {\n      const formattedMap = this.formatMapAsTable(this.timeMap);\n      console.log(formattedMap);\n    }\n  }\n};\n\n// src/linter/Common/ArkUIDecoratorBlackList.ts\nvar ARKUI_DECORATOR_LIST = [\n  \"Entry\",\n  \"Component\",\n  \"Reusable\",\n  \"CustomDialog\",\n  \"Consume\",\n  \"Link\",\n  \"LocalStorageLink\",\n  \"LocalStorageProp\",\n  \"ObjectLink\",\n  \"Prop\",\n  \"Provide\",\n  \"State\",\n  \"StorageLink\",\n  \"StorageProp\",\n  \"Builder\",\n  \"LocalBuilder\",\n  \"BuilderParam\",\n  \"Observed\",\n  \"Require\",\n  \"Sendable\",\n  \"Track\",\n  \"ComponentV2\",\n  \"ObservedV2\",\n  \"Trace\",\n  \"Local\",\n  \"Param\",\n  \"Once\",\n  \"Event\",\n  \"Monitor\",\n  \"Provider\",\n  \"Consumer\",\n  \"Computed\",\n  \"Type\",\n  \"Env\"\n];\n\n// src/typescript/typescript.ts\nif (typeof console !== \"undefined\") {\n  Debug.loggingHost = {\n    log(level, s) {\n      switch (level) {\n        case 1 /* Error */:\n          return console.error(s);\n        case 2 /* Warning */:\n          return console.warn(s);\n        case 3 /* Info */:\n          return console.log(s);\n        case 4 /* Verbose */:\n          return console.log(s);\n      }\n    }\n  };\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  ANONYMOUS,\n  ARKUI_DECORATOR_LIST,\n  AccessFlags,\n  ArkTSLinterTimePrinter,\n  ArkTSLinter_1_0,\n  ArkTSLinter_1_1,\n  AssertionLevel,\n  AssignmentDeclarationKind,\n  AssignmentKind,\n  Associativity,\n  BreakpointResolver,\n  BuilderFileEmit,\n  BuilderProgramKind,\n  BuilderState,\n  BundleFileSectionKind,\n  CallHierarchy,\n  CharacterCodes,\n  CheckFlags,\n  CheckMode,\n  ClassificationType,\n  ClassificationTypeNames,\n  CommentDirectiveType,\n  Comparison,\n  CompletionInfoFlags,\n  CompletionTriggerKind,\n  Completions,\n  ConfigFileProgramReloadLevel,\n  ContextFlags,\n  CoreServicesShimHostAdapter,\n  Debug,\n  DiagnosticCategory,\n  Diagnostics,\n  DocumentHighlights,\n  ElementFlags,\n  EmitFlags,\n  EmitHint,\n  EndOfLineState,\n  EnumKind,\n  ErrorCodeArea,\n  ErrorInfo,\n  EtsFlags,\n  ExitStatus,\n  ExportKind,\n  Extension,\n  ExternalEmitHelpers,\n  FileIncludeKind,\n  FilePreprocessingDiagnosticsKind,\n  FileSystemEntryKind,\n  FileWatcherEventKind,\n  FindAllReferences,\n  FlattenLevel,\n  FlowFlags,\n  ForegroundColorEscapeSequences,\n  FunctionFlags,\n  GeneratedIdentifierFlags,\n  GetLiteralTextFlags,\n  GoToDefinition,\n  HighlightSpanKind,\n  ImportKind,\n  ImportsNotUsedAsValues,\n  IndentStyle,\n  IndexKind,\n  InferenceFlags,\n  InferencePriority,\n  InlayHintKind,\n  InlayHints,\n  InternalSymbolName,\n  InvalidatedProjectKind,\n  JsDoc,\n  JsTyping,\n  JsxEmit,\n  JsxFlags,\n  JsxReferenceKind,\n  LanguageServiceMode,\n  LanguageServiceShimHostAdapter,\n  LanguageVariant,\n  LexicalEnvironmentFlags,\n  ListFormat,\n  LogLevel,\n  Map,\n  MemberOverrideStatus,\n  MemoryDotting,\n  MemoryUtils,\n  ModifierFlags,\n  ModuleDetectionKind,\n  ModuleInstanceState,\n  ModuleKind,\n  ModuleResolutionKind,\n  NavigateTo,\n  NavigationBar,\n  NewLineKind,\n  NodeBuilderFlags,\n  NodeCheckFlags,\n  NodeFactoryFlags,\n  NodeFlags,\n  NodeResolutionFeatures,\n  ObjectFlags,\n  OperationCanceledException,\n  OperatorPrecedence,\n  OrganizeImports,\n  OrganizeImportsMode,\n  OuterExpressionKinds,\n  OutliningElementsCollector,\n  OutliningSpanKind,\n  OutputFileType,\n  PackageJsonAutoImportPreference,\n  PackageJsonDependencyGroup,\n  PatternMatchKind,\n  PerformanceDotting,\n  PollingInterval,\n  PollingWatchKind,\n  PragmaKindFlags,\n  PrivateIdentifierKind,\n  ProcessLevel,\n  QuotePreference,\n  REQUIRE_DECORATOR,\n  RelationComparisonResult,\n  Rename,\n  ScriptElementKind,\n  ScriptElementKindModifier,\n  ScriptKind,\n  ScriptSnapshot,\n  ScriptTarget,\n  SemanticClassificationFormat,\n  SemanticMeaning,\n  SemicolonPreference,\n  Set,\n  SignatureCheckMode,\n  SignatureFlags,\n  SignatureHelp,\n  SignatureKind,\n  SmartSelectionRange,\n  SnippetKind,\n  StructureIsReused,\n  SymbolAccessibility,\n  SymbolDisplay,\n  SymbolDisplayPartKind,\n  SymbolFlags,\n  SymbolFormatFlags,\n  SyntaxKind,\n  SyntheticSymbolKind,\n  THROWS_ASYNC_CALLBACK,\n  THROWS_CATCH,\n  THROWS_ERROR_CALLBACK,\n  THROWS_TAG,\n  Ternary,\n  ThrottledCancellationToken,\n  TimePhase,\n  TokenClass,\n  TokenFlags,\n  TransformFlags,\n  TypeFacts,\n  TypeFlags,\n  TypeFormatFlags,\n  TypeMapKind,\n  TypePredicateKind,\n  TypeReferenceSerializationKind,\n  TypeScriptServicesFactory,\n  UnionReduction,\n  UpToDateStatusType,\n  VarianceFlags,\n  Version,\n  VersionRange,\n  WatchDirectoryFlags,\n  WatchDirectoryKind,\n  WatchFileKind,\n  WatchLogLevel,\n  WatchType,\n  addEmitFlags,\n  addEmitHelper,\n  addEmitHelpers,\n  addNodeFactoryPatcher,\n  addRange,\n  addRelatedInfo,\n  addSyntheticLeadingComment,\n  addSyntheticTrailingComment,\n  addToSeen,\n  advancedAsyncSuperHelper,\n  affectsDeclarationPathOptionDeclarations,\n  affectsEmitOptionDeclarations,\n  allKeysStartWithDot,\n  altDirectorySeparator,\n  and,\n  annotationMagicNamePrefix,\n  append,\n  appendIfUnique,\n  arrayFrom,\n  arrayIsEqualTo,\n  arrayIsHomogeneous,\n  arrayIsSorted,\n  arrayIterator,\n  arrayOf,\n  arrayReverseIterator,\n  arrayToMap,\n  arrayToMultiMap,\n  arrayToNumericMap,\n  arraysEqual,\n  assertType,\n  assign,\n  assignHelper,\n  asyncDelegator,\n  asyncGeneratorHelper,\n  asyncSuperHelper,\n  asyncValues,\n  attachFileToDiagnostics,\n  awaitHelper,\n  awaiterHelper,\n  base64decode,\n  base64encode,\n  binarySearch,\n  binarySearchKey,\n  bindSourceFile,\n  breakIntoCharacterSpans,\n  breakIntoWordSpans,\n  buildLinkParts,\n  buildOpts,\n  buildOverload,\n  canBeConvertedToAsync,\n  canHaveDecorators,\n  canHaveExportModifier,\n  canHaveIllegalDecorators,\n  canHaveIllegalModifiers,\n  canHaveIllegalType,\n  canHaveIllegalTypeParameters,\n  canHaveModifiers,\n  canJsonReportNoInputFiles,\n  canProduceDiagnostics,\n  canWatchDirectoryOrFile,\n  cartesianProduct,\n  cast,\n  chainBundle,\n  chainDiagnosticMessages,\n  changeAnyExtension,\n  changeCompilerHostLikeToUseCache,\n  changeExtension,\n  changesAffectModuleResolution,\n  changesAffectingProgramStructure,\n  checkStructPropertyPosition,\n  childIsDecorated,\n  choosePathContainsModules,\n  classOrConstructorParameterIsDecorated,\n  classPrivateFieldGetHelper,\n  classPrivateFieldInHelper,\n  classPrivateFieldSetHelper,\n  classicNameResolver,\n  classifier,\n  cleanExtendedConfigCache,\n  cleanKitJsonCache,\n  clear,\n  clearMap,\n  clearSharedExtendedConfigFileWatcher,\n  climbPastPropertyAccess,\n  climbPastPropertyOrElementAccess,\n  clone,\n  cloneCompilerOptions,\n  closeFileWatcher,\n  closeFileWatcherOf,\n  codefix,\n  collapseTextChangeRangesAcrossMultipleVersions,\n  collectExternalModuleInfo,\n  combine,\n  combinePaths,\n  commentPragmas,\n  commonOptionsWithBuild,\n  commonPackageFolders,\n  compact,\n  compareBooleans,\n  compareDataObjects,\n  compareDiagnostics,\n  compareDiagnosticsSkipRelatedInformation,\n  compareEmitHelpers,\n  compareNumberOfDirectorySeparators,\n  comparePaths,\n  comparePathsCaseInsensitive,\n  comparePathsCaseSensitive,\n  comparePatternKeys,\n  compareProperties,\n  compareStringsCaseInsensitive,\n  compareStringsCaseSensitive,\n  compareStringsCaseSensitiveUI,\n  compareTextSpans,\n  compareValues,\n  compileOnSaveCommandLineOption,\n  compilerOptionsAffectDeclarationPath,\n  compilerOptionsAffectEmit,\n  compilerOptionsAffectSemanticDiagnostics,\n  compilerOptionsDidYouMeanDiagnostics,\n  compilerOptionsIndicateEsModules,\n  compose,\n  computeCommonSourceDirectoryOfFilenames,\n  computeLineAndCharacterOfPosition,\n  computeLineOfPosition,\n  computeLineStarts,\n  computePositionOfLineAndCharacter,\n  computeSignature,\n  computeSignatureWithDiagnostics,\n  computeSuggestionDiagnostics,\n  concatenate,\n  concatenateDecoratorsAndModifiers,\n  concatenateDiagnosticMessageChains,\n  consumesNodeCoreModules,\n  contains,\n  containsIgnoredPath,\n  containsParseError,\n  containsPath,\n  convertCompilerOptionsForTelemetry,\n  convertCompilerOptionsFromJson,\n  convertEnableAutoDiscoveryToEnable,\n  convertJsonOption,\n  convertToBase64,\n  convertToObject,\n  convertToObjectWorker,\n  convertToOptionsWithAbsolutePaths,\n  convertToRelativePath,\n  convertToTSConfig,\n  convertTypeAcquisitionFromJson,\n  copyComments,\n  copyEntries,\n  copyLeadingComments,\n  copyProperties,\n  copyTrailingAsLeadingComments,\n  copyTrailingComments,\n  couldStartTrivia,\n  countWhere,\n  createAbstractBuilder,\n  createAccessorPropertyBackingField,\n  createAccessorPropertyGetRedirector,\n  createAccessorPropertySetRedirector,\n  createAdd,\n  createArrayBindingPattern,\n  createArrayLiteral,\n  createArrayTypeNode,\n  createArrowFunction,\n  createAsExpression,\n  createAssignment,\n  createAwait,\n  createBaseNodeFactory,\n  createBigIntLiteral,\n  createBinary,\n  createBinaryExpressionTrampoline,\n  createBindingElement,\n  createBindingHelper,\n  createBlock,\n  createBreak,\n  createBuilderProgram,\n  createBuilderProgramUsingProgramBuildInfo,\n  createBuilderStatusReporter,\n  createBundle,\n  createCacheWithRedirects,\n  createCacheableExportInfoMap,\n  createCachedDirectoryStructureHost,\n  createCall,\n  createCallChain,\n  createCallSignature,\n  createCaseBlock,\n  createCaseClause,\n  createCatchClause,\n  createClassDeclaration,\n  createClassExpression,\n  createClassifier,\n  createComma,\n  createCommaList,\n  createCommentDirectivesMap,\n  createCompilerDiagnostic,\n  createCompilerDiagnosticForInvalidCustomType,\n  createCompilerDiagnosticFromMessageChain,\n  createCompilerHost,\n  createCompilerHostFromProgramHost,\n  createCompilerHostWorker,\n  createComputedPropertyName,\n  createConditional,\n  createConditionalTypeNode,\n  createConstructSignature,\n  createConstructor,\n  createConstructorTypeNode,\n  createContinue,\n  createDebuggerStatement,\n  createDecorator,\n  createDefaultClause,\n  createDelete,\n  createDetachedDiagnostic,\n  createDiagnosticCollection,\n  createDiagnosticForFileFromMessageChain,\n  createDiagnosticForNode,\n  createDiagnosticForNodeArray,\n  createDiagnosticForNodeFromMessageChain,\n  createDiagnosticForNodeInSourceFile,\n  createDiagnosticForRange,\n  createDiagnosticMessageChainFromDiagnostic,\n  createDiagnosticReporter,\n  createDo,\n  createDocumentPositionMapper,\n  createDocumentRegistry,\n  createDocumentRegistryInternal,\n  createElementAccess,\n  createElementAccessChain,\n  createEmitAndSemanticDiagnosticsBuilderProgram,\n  createEmitAndSemanticDiagnosticsBuilderProgramForArkTs,\n  createEmitHelperFactory,\n  createEmptyExports,\n  createEmptyStatement,\n  createEnumDeclaration,\n  createEnumMember,\n  createExportAssignment,\n  createExportDeclaration,\n  createExportDefault,\n  createExportSpecifier,\n  createExpressionForJsxElement,\n  createExpressionForJsxFragment,\n  createExpressionForObjectLiteralElementLike,\n  createExpressionForPropertyName,\n  createExpressionFromEntityName,\n  createExpressionStatement,\n  createExpressionWithTypeArguments,\n  createExternalHelpersImportDeclarationIfNeeded,\n  createExternalModuleExport,\n  createExternalModuleReference,\n  createFalse,\n  createFileDiagnostic,\n  createFileDiagnosticFromMessageChain,\n  createFileLevelUniqueName,\n  createFor,\n  createForIn,\n  createForOf,\n  createForOfBindingStatement,\n  createFunctionDeclaration,\n  createFunctionExpression,\n  createFunctionTypeNode,\n  createGetAccessor,\n  createGetCanonicalFileName,\n  createGetIsolatedDeclarationErrors,\n  createGetSymbolAccessibilityDiagnosticForNode,\n  createGetSymbolAccessibilityDiagnosticForNodeName,\n  createGetSymbolWalker,\n  createHeritageClause,\n  createIdentifier,\n  createIf,\n  createImmediatelyInvokedArrowFunction,\n  createImmediatelyInvokedFunctionExpression,\n  createImportClause,\n  createImportDeclaration,\n  createImportEqualsDeclaration,\n  createImportSpecifier,\n  createImportTypeNode,\n  createIncrementalCompilerHost,\n  createIncrementalProgram,\n  createIncrementalProgramForArkTs,\n  createIndexSignature,\n  createIndexedAccessTypeNode,\n  createInferTypeNode,\n  createInputFiles,\n  createInterfaceDeclaration,\n  createIntersectionTypeNode,\n  createJSDocAugmentsTag,\n  createJSDocAuthorTag,\n  createJSDocCallbackTag,\n  createJSDocClassTag,\n  createJSDocComment,\n  createJSDocEnumTag,\n  createJSDocImplementsTag,\n  createJSDocParamTag,\n  createJSDocParameterTag,\n  createJSDocPrivateTag,\n  createJSDocPropertyTag,\n  createJSDocProtectedTag,\n  createJSDocPublicTag,\n  createJSDocReadonlyTag,\n  createJSDocReturnTag,\n  createJSDocSignature,\n  createJSDocTag,\n  createJSDocTemplateTag,\n  createJSDocThisTag,\n  createJSDocTypeExpression,\n  createJSDocTypeLiteral,\n  createJSDocTypeTag,\n  createJSDocTypedefTag,\n  createJsxAttribute,\n  createJsxAttributes,\n  createJsxClosingElement,\n  createJsxElement,\n  createJsxExpression,\n  createJsxFactoryExpression,\n  createJsxFragment,\n  createJsxJsxClosingFragment,\n  createJsxOpeningElement,\n  createJsxOpeningFragment,\n  createJsxSelfClosingElement,\n  createJsxSpreadAttribute,\n  createJsxText,\n  createKeywordTypeNode,\n  createLabel,\n  createLanguageService,\n  createLanguageServiceSourceFile,\n  createLessThan,\n  createLiteral,\n  createLiteralTypeNode,\n  createLogicalAnd,\n  createLogicalNot,\n  createLogicalOr,\n  createLoopVariable,\n  createMappedTypeNode,\n  createMemberAccessForPropertyName,\n  createMetaProperty,\n  createMethod,\n  createMethodSignature,\n  createModeAwareCache,\n  createModifier,\n  createModifiersFromModifierFlags,\n  createModuleBlock,\n  createModuleDeclaration,\n  createModuleResolutionCache,\n  createModuleSpecifierResolutionHost,\n  createMultiMap,\n  createNamedExports,\n  createNamedImports,\n  createNamespaceExport,\n  createNamespaceExportDeclaration,\n  createNamespaceImport,\n  createNew,\n  createNoSubstitutionTemplateLiteral,\n  createNode,\n  createNodeArray,\n  createNodeConverters,\n  createNodeFactory,\n  createNonNullChain,\n  createNonNullExpression,\n  createNotEmittedStatement,\n  createNull,\n  createNumericLiteral,\n  createObfTextSingleLineWriter,\n  createObjectBindingPattern,\n  createObjectLiteral,\n  createOmittedExpression,\n  createOptimisticUniqueName,\n  createOptionNameMap,\n  createOptionalTypeNode,\n  createOverload,\n  createPackageJsonImportFilter,\n  createPackageJsonInfo,\n  createParameter,\n  createParen,\n  createParenthesizedType,\n  createParenthesizerRules,\n  createPartiallyEmittedExpression,\n  createPatternMatcher,\n  createPostfix,\n  createPostfixIncrement,\n  createPrefix,\n  createPrependNodes,\n  createPrinter,\n  createPrinterWithDefaults,\n  createPrinterWithRemoveComments,\n  createPrinterWithRemoveCommentsNeverAsciiEscape,\n  createPrinterWithRemoveCommentsOmitTrailingSemicolon,\n  createPrivateIdentifier,\n  createProgram,\n  createProgramHost,\n  createProperty,\n  createPropertyAccess,\n  createPropertyAccessChain,\n  createPropertyAssignment,\n  createPropertyNameNodeForIdentifierOrLiteral,\n  createPropertySignature,\n  createQualifiedName,\n  createQueue,\n  createRange,\n  createRedirectedBuilderProgram,\n  createRegularExpressionLiteral,\n  createResolutionCache,\n  createRestTypeNode,\n  createReturn,\n  createRuntimeTypeSerializer,\n  createScanner,\n  createSemanticDiagnosticsBuilderProgram,\n  createSemicolonClassElement,\n  createSet,\n  createSetAccessor,\n  createShorthandPropertyAssignment,\n  createSolutionBuilder,\n  createSolutionBuilderHost,\n  createSolutionBuilderWithWatch,\n  createSolutionBuilderWithWatchHost,\n  createSortedArray,\n  createSourceFile,\n  createSourceMapGenerator,\n  createSourceMapSource,\n  createSpread,\n  createSpreadAssignment,\n  createStatement,\n  createStrictEquality,\n  createStrictInequality,\n  createStringLiteral,\n  createStringLiteralFromNode,\n  createSubtract,\n  createSuper,\n  createSuperAccessVariableStatement,\n  createSwitch,\n  createSymbolTable,\n  createSymlinkCache,\n  createSystemWatchFunctions,\n  createTaggedTemplate,\n  createTempVariable,\n  createTemplateExpression,\n  createTemplateHead,\n  createTemplateMiddle,\n  createTemplateSpan,\n  createTemplateTail,\n  createTextChange,\n  createTextChangeFromStartLength,\n  createTextChangeRange,\n  createTextRangeFromNode,\n  createTextRangeFromSpan,\n  createTextSpan,\n  createTextSpanFromBounds,\n  createTextSpanFromNode,\n  createTextSpanFromRange,\n  createTextSpanFromStringLiteralLikeContent,\n  createTextWriter,\n  createThis,\n  createThisTypeNode,\n  createThrow,\n  createToken,\n  createTokenRange,\n  createTrue,\n  createTry,\n  createTupleTypeNode,\n  createTypeAliasDeclaration,\n  createTypeAssertion,\n  createTypeChecker,\n  createTypeLiteralNode,\n  createTypeOf,\n  createTypeOperatorNode,\n  createTypeParameterDeclaration,\n  createTypePredicateNode,\n  createTypePredicateNodeWithModifier,\n  createTypeQueryNode,\n  createTypeReferenceDirectiveResolutionCache,\n  createTypeReferenceNode,\n  createUnderscoreEscapedMultiMap,\n  createUnionTypeNode,\n  createUniqueName,\n  createUnparsedSourceFile,\n  createVariableDeclaration,\n  createVariableDeclarationList,\n  createVariableStatement,\n  createVoid,\n  createVoidZero,\n  createWatchCompilerHost,\n  createWatchCompilerHostOfConfigFile,\n  createWatchCompilerHostOfFilesAndCompilerOptions,\n  createWatchFactory,\n  createWatchHost,\n  createWatchProgram,\n  createWatchStatusReporter,\n  createWhile,\n  createWith,\n  createYield,\n  declarationNameToString,\n  decodeMappings,\n  decodedTextSpanIntersectsWith,\n  decorateHelper,\n  deduplicate,\n  defaultIncludeSpec,\n  defaultInitCompilerOptions,\n  defaultMaximumTruncationLength,\n  diagnosticCategoryName,\n  diagnosticToString,\n  directoryProbablyExists,\n  directorySeparator,\n  displayPart,\n  displayPartsToString,\n  disposeEmitNodes,\n  documentSpansEqual,\n  dumpTracingLegend,\n  elementAt,\n  elideNodes,\n  emitComments,\n  emitDetachedComments,\n  emitFiles,\n  emitFilesAndReportErrors,\n  emitFilesAndReportErrorsAndGetExitStatus,\n  emitNewLineBeforeLeadingCommentOfPosition,\n  emitNewLineBeforeLeadingComments,\n  emitNewLineBeforeLeadingCommentsOfPosition,\n  emitSkippedWithNoDiagnostics,\n  emitUsingBuildInfo,\n  emptyArray,\n  emptyFileSystemEntries,\n  emptyIterator,\n  emptyMap,\n  emptyOptions,\n  emptySet,\n  endsWith,\n  ensureEtsDecorators,\n  ensurePathIsNonModuleName,\n  ensureScriptKind,\n  ensureTrailingDirectorySeparator,\n  entityNameToString,\n  enumerateInsertsAndDeletes,\n  equalOwnProperties,\n  equateStringsCaseInsensitive,\n  equateStringsCaseSensitive,\n  equateValues,\n  escapeJsxAttributeString,\n  escapeLeadingUnderscores,\n  escapeNonAsciiString,\n  escapeSnippetText,\n  escapeString,\n  every,\n  expandPreOrPostfixIncrementOrDecrementExpression,\n  explainFiles,\n  explainIfFileIsRedirectAndImpliedFormat,\n  exportAssignmentIsAlias,\n  exportStarHelper,\n  expressionResultIsUnused,\n  extend,\n  extendsHelper,\n  extensionFromPath,\n  extensionIsTS,\n  externalHelpersModuleNameText,\n  factory,\n  fileExtensionIs,\n  fileExtensionIsOneOf,\n  fileIncludeReasonToDiagnostics,\n  fill,\n  filter,\n  filterEtsExtendDecoratorComponentNamesByOptions,\n  filterMutate,\n  filterSemanticDiagnostics,\n  find,\n  findAncestor,\n  findBestPatternMatch,\n  findChildOfKind,\n  findConfigFile,\n  findContainingList,\n  findDiagnosticForNode,\n  findFirstNonJsxWhitespaceToken,\n  findIndex,\n  findLast,\n  findLastIndex,\n  findListItemInfo,\n  findMap,\n  findModifier,\n  findNextToken,\n  findPackageJson,\n  findPackageJsons,\n  findPrecedingMatchingToken,\n  findPrecedingToken,\n  findSuperStatementIndex,\n  findTokenOnLeftOfPosition,\n  findUseStrictPrologue,\n  first,\n  firstDefined,\n  firstDefinedIterator,\n  firstOrOnly,\n  firstOrUndefined,\n  fixupCompilerOptions,\n  flatMap,\n  flatMapIterator,\n  flatMapToMutable,\n  flatten,\n  flattenDestructuringAssignment,\n  flattenDestructuringBinding,\n  flattenDiagnosticMessageText,\n  forEach,\n  forEachAncestor,\n  forEachAncestorDirectory,\n  forEachChild,\n  forEachChildRecursively,\n  forEachEmittedFile,\n  forEachEnclosingBlockScopeContainer,\n  forEachEntry,\n  forEachExternalModuleToImportFrom,\n  forEachImportClauseDeclaration,\n  forEachKey,\n  forEachLeadingCommentRange,\n  forEachNameInAccessChainWalkingLeft,\n  forEachResolvedProjectReference,\n  forEachReturnStatement,\n  forEachRight,\n  forEachTrailingCommentRange,\n  forEachUnique,\n  forEachYieldExpression,\n  forSomeAncestorDirectory,\n  formatColorAndReset,\n  formatDiagnostic,\n  formatDiagnostics,\n  formatDiagnosticsWithColorAndContext,\n  formatGeneratedName,\n  formatGeneratedNamePart,\n  formatLocation,\n  formatMessage,\n  formatStringFromArgs,\n  formatting,\n  fullTripleSlashAMDReferencePathRegEx,\n  fullTripleSlashReferencePathRegEx,\n  generateDjb2Hash,\n  generateTSConfig,\n  generatorHelper,\n  getAdjustedReferenceLocation,\n  getAdjustedRenameLocation,\n  getAliasDeclarationFromName,\n  getAllAccessorDeclarations,\n  getAllDecorators,\n  getAllDecoratorsOfClass,\n  getAllDecoratorsOfClassElement,\n  getAllJSDocTags,\n  getAllJSDocTagsOfKind,\n  getAllKeys,\n  getAllProjectOutputs,\n  getAllSuperTypeNodes,\n  getAllUnscopedEmitHelpers,\n  getAllowJSCompilerOption,\n  getAllowSyntheticDefaultImports,\n  getAncestor,\n  getAnnotationTransformer,\n  getAnnotations,\n  getAnnotationsFromIllegalDecorators,\n  getAnyExtensionFromPath,\n  getAreDeclarationMapsEnabled,\n  getAssignedExpandoInitializer,\n  getAssignedName,\n  getAssignmentDeclarationKind,\n  getAssignmentDeclarationPropertyAccessKind,\n  getAssignmentTargetKind,\n  getAutomaticTypeDirectiveNames,\n  getBaseFileName,\n  getBinaryOperatorPrecedence,\n  getBuildInfo,\n  getBuildInfoFileVersionMap,\n  getBuildInfoText,\n  getBuildOrderFromAnyBuildOrder,\n  getBuilderCreationParameters,\n  getCheckFlags,\n  getClassExtendsHeritageElement,\n  getClassLikeDeclarationOfSymbol,\n  getCombinedLocalAndExportSymbolFlags,\n  getCombinedModifierFlags,\n  getCombinedNodeFlags,\n  getCombinedNodeFlagsAlwaysIncludeJSDoc,\n  getCommentRange,\n  getCommonSourceDirectory,\n  getCommonSourceDirectoryOfConfig,\n  getCompilerOptionValue,\n  getCompilerOptionsDiffValue,\n  getConfigFileParsingDiagnostics,\n  getConstantValue,\n  getContainerNode,\n  getContainingClass,\n  getContainingClassStaticBlock,\n  getContainingFunction,\n  getContainingFunctionDeclaration,\n  getContainingFunctionOrClassStaticBlock,\n  getContainingNodeArray,\n  getContainingObjectLiteralElement,\n  getContainingStruct,\n  getContaningConstructorDeclaration,\n  getContextualTypeFromParent,\n  getContextualTypeFromParentOrAncestorTypeNode,\n  getCurrentTime,\n  getDeclarationDiagnostics,\n  getDeclarationEmitExtensionForPath,\n  getDeclarationEmitOutputFilePath,\n  getDeclarationEmitOutputFilePathWorker,\n  getDeclarationFromName,\n  getDeclarationFromSymbol,\n  getDeclarationModifierFlagsFromSymbol,\n  getDeclarationOfKind,\n  getDeclarationsOfKind,\n  getDeclaredExpandoInitializer,\n  getDecorators,\n  getDefaultCompilerOptions,\n  getDefaultFormatCodeSettings,\n  getDefaultLibFileName,\n  getDefaultLibFilePath,\n  getDefaultLikeExportInfo,\n  getDiagnosticText,\n  getDiagnosticsWithinSpan,\n  getDirectoryPath,\n  getDocumentPositionMapper,\n  getESModuleInterop,\n  getEditsForFileRename,\n  getEffectiveBaseTypeNode,\n  getEffectiveConstraintOfTypeParameter,\n  getEffectiveContainerForJSDocTemplateTag,\n  getEffectiveDecorators,\n  getEffectiveImplementsTypeNodes,\n  getEffectiveInitializer,\n  getEffectiveJSDocHost,\n  getEffectiveModifierFlags,\n  getEffectiveModifierFlagsAlwaysIncludeJSDoc,\n  getEffectiveModifierFlagsNoCache,\n  getEffectiveReturnTypeNode,\n  getEffectiveSetAccessorTypeAnnotationNode,\n  getEffectiveTypeAnnotationNode,\n  getEffectiveTypeParameterDeclarations,\n  getEffectiveTypeRoots,\n  getElementOrPropertyAccessArgumentExpressionOrName,\n  getElementOrPropertyAccessName,\n  getElementsOfBindingOrAssignmentPattern,\n  getEmitDeclarations,\n  getEmitFlags,\n  getEmitHelpers,\n  getEmitModuleDetectionKind,\n  getEmitModuleKind,\n  getEmitModuleResolutionKind,\n  getEmitScriptTarget,\n  getEnclosingBlockScopeContainer,\n  getEncodedSemanticClassifications,\n  getEncodedSyntacticClassifications,\n  getEndLinePosition,\n  getEntityNameFromTypeNode,\n  getEntries,\n  getEntrypointsFromPackageJsonInfo,\n  getErrorCode,\n  getErrorCodeArea,\n  getErrorCountForSummary,\n  getErrorSpanForNode,\n  getErrorSummaryText,\n  getEscapedTextOfIdentifierOrLiteral,\n  getEtsComponentExpressionInnerCallExpressionNode,\n  getEtsComponentExpressionInnerExpressionStatementNode,\n  getEtsExtendDecoratorsComponentNames,\n  getEtsLibs,\n  getEtsStylesDecoratorComponentNames,\n  getExpandoInitializer,\n  getExportAssignmentExpression,\n  getExportInfoMap,\n  getExportNeedsImportStarHelper,\n  getExpressionAssociativity,\n  getExpressionPrecedence,\n  getExternalHelpersModuleName,\n  getExternalModuleImportEqualsDeclarationExpression,\n  getExternalModuleName,\n  getExternalModuleNameFromDeclaration,\n  getExternalModuleNameFromPath,\n  getExternalModuleNameLiteral,\n  getExternalModuleRequireArgument,\n  getFallbackOptions,\n  getFileEmitOutput,\n  getFileMatcherPatterns,\n  getFileNamesFromConfigSpecs,\n  getFileWatcherEventKind,\n  getFilesInErrorForSummary,\n  getFirstConstructorWithBody,\n  getFirstIdentifier,\n  getFirstNonSpaceCharacterPosition,\n  getFirstProjectOutput,\n  getFixableErrorSpanExpression,\n  getFormatCodeSettingsForWriting,\n  getFullWidth,\n  getFunctionFlags,\n  getGeneratedNameForNode,\n  getHeritageClause,\n  getHostSignatureFromJSDoc,\n  getIllegalDecorators,\n  getImmediatelyInvokedFunctionExpression,\n  getImpliedNodeFormatForFile,\n  getImpliedNodeFormatForFileWorker,\n  getImportNeedsImportDefaultHelper,\n  getImportNeedsImportStarHelper,\n  getIndentSize,\n  getIndentString,\n  getInitializedVariables,\n  getInitializerOfBinaryExpression,\n  getInitializerOfBindingOrAssignmentElement,\n  getInterfaceBaseTypeNodes,\n  getInvokedExpression,\n  getIterator,\n  getJSDocAugmentsTag,\n  getJSDocClassTag,\n  getJSDocCommentRanges,\n  getJSDocCommentsAndTags,\n  getJSDocDeprecatedTag,\n  getJSDocDeprecatedTagNoCache,\n  getJSDocEnumTag,\n  getJSDocHost,\n  getJSDocImplementsTags,\n  getJSDocOverrideTagNoCache,\n  getJSDocParameterTags,\n  getJSDocParameterTagsNoCache,\n  getJSDocPrivateTag,\n  getJSDocPrivateTagNoCache,\n  getJSDocProtectedTag,\n  getJSDocProtectedTagNoCache,\n  getJSDocPublicTag,\n  getJSDocPublicTagNoCache,\n  getJSDocReadonlyTag,\n  getJSDocReadonlyTagNoCache,\n  getJSDocReturnTag,\n  getJSDocReturnType,\n  getJSDocRoot,\n  getJSDocTags,\n  getJSDocTagsNoCache,\n  getJSDocTemplateTag,\n  getJSDocThisTag,\n  getJSDocType,\n  getJSDocTypeAliasName,\n  getJSDocTypeAssertionType,\n  getJSDocTypeParameterDeclarations,\n  getJSDocTypeParameterTags,\n  getJSDocTypeParameterTagsNoCache,\n  getJSDocTypeTag,\n  getJSXImplicitImportBase,\n  getJSXRuntimeImport,\n  getJSXTransformEnabled,\n  getLanguageVariant,\n  getLastChild,\n  getLeadingCommentRanges,\n  getLeadingCommentRangesOfNode,\n  getLeftmostAccessExpression,\n  getLeftmostExpression,\n  getLineAndCharacterOfPosition,\n  getLineInfo,\n  getLineOfLocalPosition,\n  getLineOfLocalPositionFromLineMap,\n  getLineStartPositionForPosition,\n  getLineStarts,\n  getLinesBetweenPositionAndNextNonWhitespaceCharacter,\n  getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter,\n  getLinesBetweenPositions,\n  getLinesBetweenRangeEndAndRangeStart,\n  getLinesBetweenRangeEndPositions,\n  getLiteralText,\n  getLocalNameForExternalImport,\n  getLocalSymbolForExportDefault,\n  getLocaleSpecificMessage,\n  getLocaleTimeString,\n  getMappedContextSpan,\n  getMappedDocumentSpan,\n  getMappedLocation,\n  getMatchedFileSpec,\n  getMatchedIncludeSpec,\n  getMaxFlowDepth,\n  getMeaningFromDeclaration,\n  getMeaningFromLocation,\n  getMembersOfDeclaration,\n  getModeForFileReference,\n  getModeForResolutionAtIndex,\n  getModeForUsageLocation,\n  getModifiedTime,\n  getModifiers,\n  getModuleByPMType,\n  getModuleInstanceState,\n  getModuleNameStringLiteralAt,\n  getModulePathPartByPMType,\n  getModuleSpecifierResolverHost,\n  getMutableClone,\n  getNameForExportedSymbol,\n  getNameFromIndexInfo,\n  getNameFromPropertyName,\n  getNameOfAccessExpression,\n  getNameOfCompilerOptionValue,\n  getNameOfDeclaration,\n  getNameOfDecorator,\n  getNameOfExpando,\n  getNameOfJSDocTypedef,\n  getNameOrArgument,\n  getNameTable,\n  getNamesForExportedSymbol,\n  getNamespaceDeclarationNode,\n  getNewLineCharacter,\n  getNewLineKind,\n  getNewLineOrDefaultFromHost,\n  getNewTargetContainer,\n  getNextJSDocCommentLocation,\n  getNodeForGeneratedName,\n  getNodeId,\n  getNodeKind,\n  getNodeMajorVersion,\n  getNodeModifiers,\n  getNodeModulePathParts,\n  getNonAssignedNameOfDeclaration,\n  getNonAssignmentOperatorForCompoundAssignment,\n  getNonAugmentationDeclaration,\n  getNonDecoratorTokenPosOfNode,\n  getNormalizedAbsolutePath,\n  getNormalizedAbsolutePathWithoutRoot,\n  getNormalizedPathComponents,\n  getObjectFlags,\n  getOperator,\n  getOperatorAssociativity,\n  getOperatorPrecedence,\n  getOptionFromName,\n  getOptionsNameMap,\n  getOrCreateEmitNode,\n  getOrCreateExternalHelpersModuleNameIfNeeded,\n  getOrUpdate,\n  getOriginalNode,\n  getOriginalNodeId,\n  getOriginalSourceFile,\n  getOutputDeclarationFileName,\n  getOutputExtension,\n  getOutputFileNames,\n  getOutputPathsFor,\n  getOutputPathsForBundle,\n  getOwnEmitOutputFilePath,\n  getOwnKeys,\n  getOwnValues,\n  getPackageJsonByPMType,\n  getPackageJsonInfo,\n  getPackageJsonTypesVersionsPaths,\n  getPackageJsonsVisibleToFile,\n  getPackageNameFromTypesPackageName,\n  getPackageScopeForPath,\n  getParameterSymbolFromJSDoc,\n  getParameterTypeNode,\n  getParentNodeInSpan,\n  getParseTreeNode,\n  getParsedCommandLineOfConfigFile,\n  getPathComponents,\n  getPathComponentsRelativeTo,\n  getPathFromPathComponents,\n  getPathUpdater,\n  getPathsBasePath,\n  getPatternFromSpec,\n  getPositionOfLineAndCharacter,\n  getPossibleGenericSignatures,\n  getPossibleOriginalInputExtensionForExtension,\n  getPossibleTypeArgumentsInfo,\n  getPreEmitDiagnostics,\n  getPrecedingNonSpaceCharacterPosition,\n  getProperties,\n  getProperty,\n  getPropertyArrayElementValue,\n  getPropertyAssignment,\n  getPropertyAssignmentAliasLikeExpression,\n  getPropertyNameForPropertyNameNode,\n  getPropertyNameForUniqueESSymbol,\n  getPropertyNameOfBindingOrAssignmentElement,\n  getPropertySymbolFromBindingElement,\n  getPropertySymbolsFromContextualType,\n  getQuoteFromPreference,\n  getQuotePreference,\n  getRangesWhere,\n  getRefactorContextSpan,\n  getReferencedFileLocation,\n  getRegexFromPattern,\n  getRegularExpressionForWildcard,\n  getRegularExpressionsForWildcards,\n  getRelativePathFromDirectory,\n  getRelativePathFromFile,\n  getRelativePathToDirectoryOrUrl,\n  getRenameLocation,\n  getReplacementSpanForContextToken,\n  getReservedDecoratorsOfEtsFile,\n  getReservedDecoratorsOfStructDeclaration,\n  getResolutionDiagnostic,\n  getResolutionModeOverrideForClause,\n  getResolvedExternalModuleName,\n  getResolvedModule,\n  getRestIndicatorOfBindingOrAssignmentElement,\n  getRestParameterElementType,\n  getRightMostAssignedExpression,\n  getRootComponent,\n  getRootDeclaration,\n  getRootEtsComponent,\n  getRootEtsComponentInnerCallExpressionNode,\n  getRootLength,\n  getScriptKind,\n  getScriptKindFromFileName,\n  getScriptTargetFeatures,\n  getSdkPath,\n  getSelectedEffectiveModifierFlags,\n  getSelectedSyntacticModifierFlags,\n  getSemanticClassifications,\n  getSemanticJsxChildren,\n  getSetAccessorTypeAnnotationNode,\n  getSetAccessorValueParameter,\n  getSetExternalModuleIndicator,\n  getShebang,\n  getSingleInitializerOfVariableStatementOrPropertyDeclaration,\n  getSingleVariableOfVariableStatement,\n  getSnapshotText,\n  getSnippetElement,\n  getSourceFileOfModule,\n  getSourceFileOfNode,\n  getSourceFilePathInNewDir,\n  getSourceFilePathInNewDirWorker,\n  getSourceFilesToEmit,\n  getSourceMapRange,\n  getSourceMapper,\n  getSourceTextOfNodeFromSourceFile,\n  getSpanOfTokenAtPosition,\n  getSpellingSuggestion,\n  getStartPositionOfLine,\n  getStartPositionOfRange,\n  getStartsOnNewLine,\n  getStaticPropertiesAndClassStaticBlock,\n  getStrictOptionValue,\n  getStringComparer,\n  getSuperCallFromStatement,\n  getSuperContainer,\n  getSupportedCodeFixes,\n  getSupportedExtensions,\n  getSupportedExtensionsWithJsonIfResolveJsonModule,\n  getSwitchedType,\n  getSymbolId,\n  getSymbolNameForPrivateIdentifier,\n  getSymbolTarget,\n  getSyntacticClassifications,\n  getSyntacticModifierFlags,\n  getSyntacticModifierFlagsNoCache,\n  getSynthesizedDeepClone,\n  getSynthesizedDeepCloneWithReplacements,\n  getSynthesizedDeepClones,\n  getSynthesizedDeepClonesWithReplacements,\n  getSyntheticLeadingComments,\n  getSyntheticTrailingComments,\n  getTargetLabel,\n  getTargetOfBindingOrAssignmentElement,\n  getTemporaryModuleResolutionState,\n  getTextOfConstantValue,\n  getTextOfIdentifierOrLiteral,\n  getTextOfJSDocComment,\n  getTextOfJSDocTagInfo,\n  getTextOfNode,\n  getTextOfNodeFromSourceText,\n  getTextOfPropertyName,\n  getThisContainer,\n  getThisParameter,\n  getTokenAtPosition,\n  getTokenPosOfNode,\n  getTokenSourceMapRange,\n  getTouchingPropertyName,\n  getTouchingToken,\n  getTrailingCommentRanges,\n  getTrailingSemicolonDeferringWriter,\n  getTransformFlagsSubtreeExclusions,\n  getTransformers,\n  getTsBuildInfoEmitOutputFilePath,\n  getTsBuildInfoEmitOutputFilePathForLinter,\n  getTsConfigObjectLiteralExpression,\n  getTsConfigPropArray,\n  getTsConfigPropArrayElementValue,\n  getTypeAnnotationNode,\n  getTypeArgumentOrTypeParameterList,\n  getTypeExportImportAndConstEnumTransformer,\n  getTypeKeywordOfTypeOnlyImport,\n  getTypeNode,\n  getTypeNodeIfAccessible,\n  getTypeParameterFromJsDoc,\n  getTypeParameterOwner,\n  getTypesPackageName,\n  getUILocale,\n  getUniqueName,\n  getUniqueSymbolId,\n  getUseDefineForClassFields,\n  getVirtualEtsComponent,\n  getWatchErrorSummaryDiagnosticMessage,\n  getWatchFactory,\n  group,\n  guessIndentation,\n  handleNoEmitOptions,\n  hasAbstractModifier,\n  hasAccessorModifier,\n  hasAmbientModifier,\n  hasAnnotations,\n  hasChangesInResolutions,\n  hasChildOfKind,\n  hasContextSensitiveParameters,\n  hasDecorators,\n  hasDocComment,\n  hasDynamicName,\n  hasEffectiveModifier,\n  hasEffectiveModifiers,\n  hasEffectiveReadonlyModifier,\n  hasEtsBuildDecoratorNames,\n  hasEtsBuilderDecoratorNames,\n  hasEtsConcurrentDecoratorNames,\n  hasEtsExtendDecoratorNames,\n  hasEtsStylesDecoratorNames,\n  hasExtension,\n  hasIllegalDecorators,\n  hasIndexSignature,\n  hasInitializer,\n  hasInvalidEscape,\n  hasJSDocNodes,\n  hasJSDocParameterTags,\n  hasJSFileExtension,\n  hasJsonModuleEmitEnabled,\n  hasOnlyExpressionInitializer,\n  hasOverrideModifier,\n  hasPossibleExternalModuleReference,\n  hasProperty,\n  hasPropertyAccessExpressionWithName,\n  hasQuestionToken,\n  hasRecordedExternalHelpers,\n  hasRestParameter,\n  hasScopeMarker,\n  hasStaticModifier,\n  hasSyntacticModifier,\n  hasSyntacticModifiers,\n  hasTSFileExtension,\n  hasTrailingDirectorySeparator,\n  hasTsNoCheckOrTsIgnoreFlag,\n  hasType,\n  hasTypeArguments,\n  hasZeroOrOneAsteriskCharacter,\n  helperString,\n  hostGetCanonicalFileName,\n  hostUsesCaseSensitiveFileNames,\n  idText,\n  identifierIsThisKeyword,\n  identity,\n  identitySourceMapConsumer,\n  ignoreSourceNewlines,\n  ignoredPaths,\n  importDefaultHelper,\n  importFromModuleSpecifier,\n  importStarHelper,\n  inEtsStylesContext,\n  indexOfAnyCharCode,\n  indexOfNode,\n  indicesOf,\n  inferredTypesContainingFile,\n  insertImports,\n  insertLeadingStatement,\n  insertSorted,\n  insertStatementAfterCustomPrologue,\n  insertStatementAfterStandardPrologue,\n  insertStatementsAfterCustomPrologue,\n  insertStatementsAfterStandardPrologue,\n  intersperse,\n  introducesArgumentsExoticObject,\n  inverseJsxOptionMap,\n  isAbstractConstructorSymbol,\n  isAbstractModifier,\n  isAccessExpression,\n  isAccessibilityModifier,\n  isAccessor,\n  isAccessorModifier,\n  isAliasSymbolDeclaration,\n  isAliasableExpression,\n  isAmbientModule,\n  isAmbientPropertyDeclaration,\n  isAnnotation,\n  isAnnotationDeclaration,\n  isAnnotationElement,\n  isAnnotationPropertyDeclaration,\n  isAnyDirectorySeparator,\n  isAnyImportOrBareOrAccessedRequire,\n  isAnyImportOrReExport,\n  isAnyImportSyntax,\n  isAnySupportedFileExtension,\n  isApplicableVersionedTypesKey,\n  isArgumentExpressionOfElementAccess,\n  isArkTsDecorator,\n  isArray,\n  isArrayBindingElement,\n  isArrayBindingOrAssignmentPattern,\n  isArrayBindingPattern,\n  isArrayLiteralExpression,\n  isArrayLiteralOrObjectLiteralDestructuringPattern,\n  isArrayTypeNode,\n  isArrowFunction,\n  isAsExpression,\n  isAssertClause,\n  isAssertEntry,\n  isAssertionExpression,\n  isAssertionKey,\n  isAssertsKeyword,\n  isAssignmentDeclaration,\n  isAssignmentExpression,\n  isAssignmentOperator,\n  isAssignmentPattern,\n  isAssignmentTarget,\n  isAsteriskToken,\n  isAsyncFunction,\n  isAsyncModifier,\n  isAutoAccessorPropertyDeclaration,\n  isAwaitExpression,\n  isAwaitKeyword,\n  isBigIntLiteral,\n  isBinaryExpression,\n  isBinaryOperatorToken,\n  isBindableObjectDefinePropertyCall,\n  isBindableStaticAccessExpression,\n  isBindableStaticElementAccessExpression,\n  isBindableStaticNameExpression,\n  isBindingElement,\n  isBindingName,\n  isBindingOrAssignmentPattern,\n  isBindingPattern,\n  isBlock,\n  isBlockOrCatchScoped,\n  isBlockScope,\n  isBlockScopedContainerTopLevel,\n  isBooleanLiteral,\n  isBreakOrContinueStatement,\n  isBreakStatement,\n  isBuildInfoFile,\n  isBuilderProgram,\n  isBundle,\n  isBundleFileTextLike,\n  isCallChain,\n  isCallExpression,\n  isCallExpressionTarget,\n  isCallLikeExpression,\n  isCallOrNewExpression,\n  isCallOrNewExpressionTarget,\n  isCallSignatureDeclaration,\n  isCallToHelper,\n  isCalledStructDeclaration,\n  isCaseBlock,\n  isCaseClause,\n  isCaseOrDefaultClause,\n  isCatchClause,\n  isCatchClauseVariableDeclaration,\n  isCatchClauseVariableDeclarationOrBindingElement,\n  isCheckJsEnabledForFile,\n  isChildOfNodeWithKind,\n  isCircularBuildOrder,\n  isClassDeclaration,\n  isClassElement,\n  isClassExpression,\n  isClassLike,\n  isClassMemberModifier,\n  isClassOrTypeElement,\n  isClassStaticBlockDeclaration,\n  isCollapsedRange,\n  isColonToken,\n  isCommaListExpression,\n  isCommaSequence,\n  isCommaToken,\n  isComment,\n  isCommonJsExportPropertyAssignment,\n  isCommonJsExportedExpression,\n  isCompoundAssignment,\n  isComputedNonLiteralName,\n  isComputedPropertyName,\n  isConciseBody,\n  isConditionalExpression,\n  isConditionalTypeNode,\n  isConstTypeReference,\n  isConstructSignatureDeclaration,\n  isConstructorDeclaration,\n  isConstructorTypeNode,\n  isContextualKeyword,\n  isContinueStatement,\n  isCustomPrologue,\n  isDebuggerStatement,\n  isDeclaration,\n  isDeclarationBindingElement,\n  isDeclarationFileName,\n  isDeclarationName,\n  isDeclarationNameOfEnumOrNamespace,\n  isDeclarationReadonly,\n  isDeclarationStatement,\n  isDeclarationWithTypeParameterChildren,\n  isDeclarationWithTypeParameters,\n  isDecorator,\n  isDecoratorOrAnnotation,\n  isDecoratorTarget,\n  isDefaultClause,\n  isDefaultImport,\n  isDefaultedExpandoInitializer,\n  isDeleteExpression,\n  isDeleteTarget,\n  isDeprecatedDeclaration,\n  isDestructuringAssignment,\n  isDiagnosticWithLocation,\n  isDiskPathRoot,\n  isDoStatement,\n  isDotDotDotToken,\n  isDottedName,\n  isDynamicName,\n  isESSymbolIdentifier,\n  isEffectiveExternalModule,\n  isEffectiveModuleDeclaration,\n  isEffectiveStrictModeSourceFile,\n  isElementAccessChain,\n  isElementAccessExpression,\n  isEmitNodeModulesFiles,\n  isEmittedFileOfProgram,\n  isEmptyArrayLiteral,\n  isEmptyBindingElement,\n  isEmptyBindingPattern,\n  isEmptyObjectLiteral,\n  isEmptyStatement,\n  isEndOfDeclarationMarker,\n  isEntityName,\n  isEntityNameExpression,\n  isEnumConst,\n  isEnumDeclaration,\n  isEnumMember,\n  isEqualityOperatorKind,\n  isEqualsGreaterThanToken,\n  isEtsComponentExpression,\n  isEtsFunctionDecorators,\n  isExclamationToken,\n  isExcludedFile,\n  isExclusivelyTypeOnlyImportOrExport,\n  isExportAssignment,\n  isExportDeclaration,\n  isExportModifier,\n  isExportName,\n  isExportNamespaceAsDefaultDeclaration,\n  isExportSpecifier,\n  isExportsIdentifier,\n  isExportsOrModuleExportsOrAlias,\n  isExpression,\n  isExpressionNode,\n  isExpressionOfExternalModuleImportEqualsDeclaration,\n  isExpressionOfOptionalChainRoot,\n  isExpressionStatement,\n  isExpressionWithTypeArguments,\n  isExpressionWithTypeArgumentsInClassExtendsClause,\n  isExternalModule,\n  isExternalModuleAugmentation,\n  isExternalModuleImportEqualsDeclaration,\n  isExternalModuleIndicator,\n  isExternalModuleNameRelative,\n  isExternalModuleReference,\n  isExternalModuleSymbol,\n  isExternalOrCommonJsModule,\n  isFileLevelUniqueName,\n  isFileProbablyExternalModule,\n  isFirstDeclarationOfSymbolParameter,\n  isFixablePromiseHandler,\n  isForInOrOfStatement,\n  isForInStatement,\n  isForInitializer,\n  isForOfStatement,\n  isForStatement,\n  isFunctionBlock,\n  isFunctionBody,\n  isFunctionDeclaration,\n  isFunctionExpression,\n  isFunctionExpressionOrArrowFunction,\n  isFunctionLike,\n  isFunctionLikeDeclaration,\n  isFunctionLikeKind,\n  isFunctionLikeOrClassStaticBlockDeclaration,\n  isFunctionOrConstructorTypeNode,\n  isFunctionOrModuleBlock,\n  isFunctionSymbol,\n  isFunctionTypeNode,\n  isFutureReservedKeyword,\n  isGeneratedIdentifier,\n  isGeneratedPrivateIdentifier,\n  isGetAccessor,\n  isGetAccessorDeclaration,\n  isGetOrSetAccessorDeclaration,\n  isGlobalDeclaration,\n  isGlobalScopeAugmentation,\n  isHeritageClause,\n  isHoistedFunction,\n  isHoistedVariableStatement,\n  isIdentifier,\n  isIdentifierANonContextualKeyword,\n  isIdentifierName,\n  isIdentifierOrPrivateIdentifier,\n  isIdentifierOrThisTypeNode,\n  isIdentifierPart,\n  isIdentifierStart,\n  isIdentifierText,\n  isIdentifierTypePredicate,\n  isIdentifierTypeReference,\n  isIfStatement,\n  isIgnoredFileFromWildCardWatching,\n  isImplicitGlob,\n  isImportCall,\n  isImportClause,\n  isImportDeclaration,\n  isImportEqualsDeclaration,\n  isImportKeyword,\n  isImportMeta,\n  isImportOrExportSpecifier,\n  isImportOrExportSpecifierName,\n  isImportSpecifier,\n  isImportTypeAssertionContainer,\n  isImportTypeNode,\n  isImportableFile,\n  isInBuildOrPageTransitionContext,\n  isInComment,\n  isInETSFile,\n  isInEtsFile,\n  isInEtsFileWithOriginal,\n  isInExpressionContext,\n  isInJSDoc,\n  isInJSFile,\n  isInJSXText,\n  isInJsonFile,\n  isInMarkedKitImport,\n  isInNonReferenceComment,\n  isInReferenceComment,\n  isInRightSideOfInternalImportEqualsDeclaration,\n  isInString,\n  isInTemplateString,\n  isInTopLevelContext,\n  isIncrementalCompilation,\n  isIndexSignatureDeclaration,\n  isIndexedAccessTypeNode,\n  isInferTypeNode,\n  isInfinityOrNaNString,\n  isInitializedProperty,\n  isInsideJsxElement,\n  isInsideJsxElementOrAttribute,\n  isInsideNodeModules,\n  isInsideTemplateLiteral,\n  isInstantiatedModule,\n  isInterfaceDeclaration,\n  isInternalDeclaration,\n  isInternalModuleImportEqualsDeclaration,\n  isInternalName,\n  isIntersectionTypeNode,\n  isIntrinsicJsxName,\n  isIterationStatement,\n  isJSDoc,\n  isJSDocAllType,\n  isJSDocAugmentsTag,\n  isJSDocAuthorTag,\n  isJSDocCallbackTag,\n  isJSDocClassTag,\n  isJSDocCommentContainingNode,\n  isJSDocConstructSignature,\n  isJSDocDeprecatedTag,\n  isJSDocEnumTag,\n  isJSDocFunctionType,\n  isJSDocImplementsTag,\n  isJSDocIndexSignature,\n  isJSDocLikeText,\n  isJSDocLink,\n  isJSDocLinkCode,\n  isJSDocLinkLike,\n  isJSDocLinkPlain,\n  isJSDocMemberName,\n  isJSDocNameReference,\n  isJSDocNamepathType,\n  isJSDocNamespaceBody,\n  isJSDocNode,\n  isJSDocNonNullableType,\n  isJSDocNullableType,\n  isJSDocOptionalType,\n  isJSDocOverrideTag,\n  isJSDocParameterTag,\n  isJSDocPrivateTag,\n  isJSDocPropertyLikeTag,\n  isJSDocPropertyTag,\n  isJSDocProtectedTag,\n  isJSDocPublicTag,\n  isJSDocReadonlyTag,\n  isJSDocReturnTag,\n  isJSDocSeeTag,\n  isJSDocSignature,\n  isJSDocTag,\n  isJSDocTemplateTag,\n  isJSDocThisTag,\n  isJSDocTypeAlias,\n  isJSDocTypeAssertion,\n  isJSDocTypeExpression,\n  isJSDocTypeLiteral,\n  isJSDocTypeTag,\n  isJSDocTypedefTag,\n  isJSDocUnknownTag,\n  isJSDocUnknownType,\n  isJSDocVariadicType,\n  isJSXTagName,\n  isJsonEqual,\n  isJsonSourceFile,\n  isJsxAttribute,\n  isJsxAttributeLike,\n  isJsxAttributes,\n  isJsxChild,\n  isJsxClosingElement,\n  isJsxClosingFragment,\n  isJsxElement,\n  isJsxExpression,\n  isJsxFragment,\n  isJsxOpeningElement,\n  isJsxOpeningFragment,\n  isJsxOpeningLikeElement,\n  isJsxOpeningLikeElementTagName,\n  isJsxSelfClosingElement,\n  isJsxSpreadAttribute,\n  isJsxTagNameExpression,\n  isJsxText,\n  isJumpStatementTarget,\n  isKeyword,\n  isKnownSymbol,\n  isLabelName,\n  isLabelOfLabeledStatement,\n  isLabeledStatement,\n  isLateVisibilityPaintedStatement,\n  isLeftHandSideExpression,\n  isLeftHandSideOfAssignment,\n  isLet,\n  isLineBreak,\n  isLiteralComputedPropertyDeclarationName,\n  isLiteralExpression,\n  isLiteralExpressionOfObject,\n  isLiteralImportTypeNode,\n  isLiteralKind,\n  isLiteralLikeAccess,\n  isLiteralLikeElementAccess,\n  isLiteralNameOfPropertyDeclarationOrIndexAccess,\n  isLiteralTypeLikeExpression,\n  isLiteralTypeNode,\n  isLocalName,\n  isLogicalOperator,\n  isLogicalOrCoalescingAssignmentExpression,\n  isLogicalOrCoalescingAssignmentOperator,\n  isMappedTypeNode,\n  isMemberName,\n  isMergeDeclarationMarker,\n  isMetaProperty,\n  isMethodDeclaration,\n  isMethodOrAccessor,\n  isMethodSignature,\n  isMinusToken,\n  isMissingDeclaration,\n  isMixedCompilerSDKPath,\n  isModifier,\n  isModifierKind,\n  isModifierLike,\n  isModuleAugmentationExternal,\n  isModuleBlock,\n  isModuleBody,\n  isModuleDeclaration,\n  isModuleExportsAccessExpression,\n  isModuleIdentifier,\n  isModuleName,\n  isModuleOrEnumDeclaration,\n  isModuleReference,\n  isModuleSpecifierLike,\n  isModuleWithStringLiteralName,\n  isNameOfFunctionDeclaration,\n  isNameOfModuleDeclaration,\n  isNamedClassElement,\n  isNamedDeclaration,\n  isNamedExportBindings,\n  isNamedExports,\n  isNamedImportBindings,\n  isNamedImports,\n  isNamedImportsOrExports,\n  isNamedTupleMember,\n  isNamespaceBody,\n  isNamespaceExport,\n  isNamespaceExportDeclaration,\n  isNamespaceImport,\n  isNamespaceReexportDeclaration,\n  isNewExpression,\n  isNewExpressionTarget,\n  isNightly,\n  isNoSubstitutionTemplateLiteral,\n  isNode,\n  isNodeArray,\n  isNodeArrayMultiLine,\n  isNodeDescendantOf,\n  isNodeKind,\n  isNodeLikeSystem,\n  isNodeModulesDirectory,\n  isNodeWithPossibleHoistedDeclaration,\n  isNonContextualKeyword,\n  isNonGlobalAmbientModule,\n  isNonGlobalDeclaration,\n  isNonNullChain,\n  isNonNullExpression,\n  isNonStaticMethodOrAccessorWithPrivateName,\n  isNotEmittedOrPartiallyEmittedNode,\n  isNotEmittedStatement,\n  isNullishCoalesce,\n  isNumber,\n  isNumericLiteral,\n  isNumericLiteralName,\n  isOHModules,\n  isOHModulesAtTypesDirectory,\n  isOHModulesDirectory,\n  isOHModulesReference,\n  isObjectBindingElementWithoutPropertyName,\n  isObjectBindingOrAssignmentElement,\n  isObjectBindingOrAssignmentPattern,\n  isObjectBindingPattern,\n  isObjectLiteralElement,\n  isObjectLiteralElementLike,\n  isObjectLiteralExpression,\n  isObjectLiteralMethod,\n  isObjectLiteralOrClassExpressionMethodOrAccessor,\n  isObjectTypeDeclaration,\n  isOctalDigit,\n  isOhpm,\n  isOhpmAndOhModules,\n  isOmittedExpression,\n  isOnlyAnnotationsAreExportedOrImported,\n  isOptionalChain,\n  isOptionalChainRoot,\n  isOptionalTypeNode,\n  isOuterExpression,\n  isOutermostOptionalChain,\n  isOverrideModifier,\n  isPackedArrayLiteral,\n  isParameter,\n  isParameterDeclaration,\n  isParameterOrCatchClauseVariable,\n  isParameterPropertyDeclaration,\n  isParameterPropertyModifier,\n  isParenthesizedExpression,\n  isParenthesizedTypeNode,\n  isParseTreeNode,\n  isPartOfTypeNode,\n  isPartOfTypeQuery,\n  isPartiallyEmittedExpression,\n  isPatternMatch,\n  isPinnedComment,\n  isPlainJsFile,\n  isPlusToken,\n  isPossiblyTypeArgumentPosition,\n  isPostfixUnaryExpression,\n  isPrefixUnaryExpression,\n  isPrivateIdentifier,\n  isPrivateIdentifierClassElementDeclaration,\n  isPrivateIdentifierPropertyAccessExpression,\n  isPrivateIdentifierSymbol,\n  isProgramBundleEmitBuildInfo,\n  isProgramUptoDate,\n  isPrologueDirective,\n  isPropertyAccessChain,\n  isPropertyAccessEntityNameExpression,\n  isPropertyAccessExpression,\n  isPropertyAccessOrQualifiedName,\n  isPropertyAccessOrQualifiedNameOrImportTypeNode,\n  isPropertyAssignment,\n  isPropertyDeclaration,\n  isPropertyName,\n  isPropertyNameLiteral,\n  isPropertySignature,\n  isPrototypeAccess,\n  isPrototypePropertyAssignment,\n  isPunctuation,\n  isPushOrUnshiftIdentifier,\n  isQualifiedName,\n  isQuestionDotToken,\n  isQuestionOrExclamationToken,\n  isQuestionOrPlusOrMinusToken,\n  isQuestionToken,\n  isRawSourceMap,\n  isReadonlyKeyword,\n  isReadonlyKeywordOrPlusOrMinusToken,\n  isRecognizedTripleSlashComment,\n  isReferenceFileLocation,\n  isReferencedFile,\n  isRegularExpressionLiteral,\n  isRequireCall,\n  isRequireVariableStatement,\n  isRestParameter,\n  isRestTypeNode,\n  isReturnStatement,\n  isReturnStatementWithFixablePromiseHandler,\n  isRightSideOfAccessExpression,\n  isRightSideOfPropertyAccess,\n  isRightSideOfQualifiedName,\n  isRightSideOfQualifiedNameOrPropertyAccess,\n  isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName,\n  isRootedDiskPath,\n  isSameEntityName,\n  isSatisfiesExpression,\n  isScopeMarker,\n  isSemicolonClassElement,\n  isSendableFunctionOrType,\n  isSetAccessor,\n  isSetAccessorDeclaration,\n  isShebangTrivia,\n  isShorthandAmbientModuleSymbol,\n  isShorthandPropertyAssignment,\n  isSignedNumericLiteral,\n  isSimpleCopiableExpression,\n  isSimpleInlineableExpression,\n  isSingleOrDoubleQuote,\n  isSourceFile,\n  isSourceFileFromLibrary,\n  isSourceFileJS,\n  isSourceFileNotJS,\n  isSourceFileNotJson,\n  isSourceMapping,\n  isSpecialPropertyDeclaration,\n  isSpreadAssignment,\n  isSpreadElement,\n  isStatement,\n  isStatementButNotDeclaration,\n  isStatementOrBlock,\n  isStatementWithLocals,\n  isStatic,\n  isStaticModifier,\n  isString,\n  isStringAKeyword,\n  isStringANonContextualKeyword,\n  isStringDoubleQuoted,\n  isStringLiteral,\n  isStringLiteralLike,\n  isStringLiteralOrJsxExpression,\n  isStringLiteralOrTemplate,\n  isStringOrNumericLiteralLike,\n  isStringOrRegularExpressionOrTemplateLiteral,\n  isStringTextContainingNode,\n  isStruct,\n  isStructDeclaration,\n  isSuperCall,\n  isSuperKeyword,\n  isSuperOrSuperProperty,\n  isSuperProperty,\n  isSupportedSourceFileName,\n  isSwitchStatement,\n  isSyntaxList,\n  isSyntheticExpression,\n  isSyntheticReference,\n  isTagName,\n  isTaggedTemplateExpression,\n  isTaggedTemplateTag,\n  isTargetModulesDerectory,\n  isTemplateExpression,\n  isTemplateHead,\n  isTemplateLiteral,\n  isTemplateLiteralKind,\n  isTemplateLiteralToken,\n  isTemplateLiteralTypeNode,\n  isTemplateLiteralTypeSpan,\n  isTemplateMiddle,\n  isTemplateMiddleOrTemplateTail,\n  isTemplateSpan,\n  isTemplateTail,\n  isTextWhiteSpaceLike,\n  isThis,\n  isThisContainerOrFunctionBlock,\n  isThisIdentifier,\n  isThisInTypeQuery,\n  isThisInitializedDeclaration,\n  isThisInitializedObjectBindingExpression,\n  isThisProperty,\n  isThisTypeNode,\n  isThisTypeParameter,\n  isThisTypePredicate,\n  isThrowStatement,\n  isToken,\n  isTokenInsideBuilder,\n  isTokenKind,\n  isTraceEnabled,\n  isTransientSymbol,\n  isTrivia,\n  isTryStatement,\n  isTupleTypeNode,\n  isTypeAlias,\n  isTypeAliasDeclaration,\n  isTypeAssertion,\n  isTypeAssertionExpression,\n  isTypeDeclaration,\n  isTypeElement,\n  isTypeKeyword,\n  isTypeKeywordToken,\n  isTypeKeywordTokenOrIdentifier,\n  isTypeLiteralNode,\n  isTypeNode,\n  isTypeNodeKind,\n  isTypeNodeOrTypeParameterDeclaration,\n  isTypeOfExpression,\n  isTypeOnlyImportOrExportDeclaration,\n  isTypeOperatorNode,\n  isTypeParameterDeclaration,\n  isTypePredicateNode,\n  isTypeQueryNode,\n  isTypeReferenceNode,\n  isTypeReferenceType,\n  isUMDExportSymbol,\n  isUnaryExpression,\n  isUnaryExpressionWithWrite,\n  isUnicodeIdentifierStart,\n  isUnionTypeNode,\n  isUnparsedNode,\n  isUnparsedPrepend,\n  isUnparsedSource,\n  isUnparsedTextLike,\n  isUrl,\n  isValidESSymbolDeclaration,\n  isValidTypeOnlyAliasUseSite,\n  isValueSignatureDeclaration,\n  isVarConst,\n  isVariableDeclaration,\n  isVariableDeclarationInVariableStatement,\n  isVariableDeclarationInitializedToBareOrAccessedRequire,\n  isVariableDeclarationInitializedToRequire,\n  isVariableDeclarationList,\n  isVariableLike,\n  isVariableLikeOrAccessor,\n  isVariableStatement,\n  isVirtualAttributeTypeArgument,\n  isVirtualConstructor,\n  isVoidExpression,\n  isWatchSet,\n  isWhileStatement,\n  isWhiteSpaceLike,\n  isWhiteSpaceSingleLine,\n  isWithStatement,\n  isWriteAccess,\n  isWriteOnlyAccess,\n  isYieldExpression,\n  jsxModeNeedsExplicitImport,\n  keywordPart,\n  last,\n  lastOrUndefined,\n  length,\n  libMap,\n  libs,\n  lineBreakPart,\n  linkNamePart,\n  linkPart,\n  linkTextPart,\n  listFiles,\n  loadModuleFromGlobalCache,\n  loadWithModeAwareCache,\n  loadWithTypeDirectiveCache,\n  makeIdentifierFromModuleName,\n  makeImport,\n  makeImportIfNecessary,\n  makeStringLiteral,\n  mangleScopedPackageName,\n  map,\n  mapAllOrFail,\n  mapDefined,\n  mapDefinedEntries,\n  mapDefinedIterator,\n  mapDefinedValues,\n  mapEntries,\n  mapIterator,\n  mapOneOrMany,\n  mapToDisplayParts,\n  matchFiles,\n  matchPatternOrExact,\n  matchedText,\n  matchesExclude,\n  maybeBind,\n  maybeSetLocalizedDiagnosticMessages,\n  memoize,\n  memoizeOne,\n  metadataHelper,\n  min,\n  minAndMax,\n  missingFileModifiedTime,\n  modifierToFlag,\n  modifiersToFlags,\n  moduleOptionDeclaration,\n  moduleResolutionIsEqualTo,\n  moduleResolutionOptionDeclarations,\n  moduleResolutionRespectsExports,\n  moduleResolutionUsesNodeModules,\n  moduleSpecifiers,\n  moveEmitHelpers,\n  moveRangeEnd,\n  moveRangePastDecorators,\n  moveRangePastModifiers,\n  moveRangePos,\n  moveSyntheticComments,\n  mutateMap,\n  mutateMapSkippingNewValues,\n  needsParentheses,\n  needsScopeMarker,\n  noEmitNotification,\n  noEmitSubstitution,\n  noTransformers,\n  noTruncationMaximumTruncationLength,\n  nodeCanBeDecorated,\n  nodeHasName,\n  nodeIsDecorated,\n  nodeIsMissing,\n  nodeIsPresent,\n  nodeIsSynthesized,\n  nodeModuleNameResolver,\n  nodeModulesPathPart,\n  nodeOrChildIsDecorated,\n  nodeOverlapsWithStartEnd,\n  nodePosToString,\n  nodeSeenTracker,\n  nodeStartsNewLexicalEnvironment,\n  nodeToDisplayParts,\n  noop,\n  noopFileWatcher,\n  noopPush,\n  normalizePath,\n  normalizeSlashes,\n  not,\n  notImplemented,\n  notImplementedResolver,\n  nullNodeConverters,\n  nullParenthesizerRules,\n  nullTransformationContext,\n  objectAllocator,\n  ohModulesPathPart,\n  operatorPart,\n  optionDeclarations,\n  optionsAffectingProgramStructure,\n  optionsForBuild,\n  optionsForWatch,\n  optionsHaveChanges,\n  optionsHaveModuleResolutionChanges,\n  or,\n  orderedRemoveItem,\n  orderedRemoveItemAt,\n  outFile,\n  packageIdToPackageName,\n  packageIdToString,\n  padLeft,\n  padRight,\n  paramHelper,\n  parameterIsThisKeyword,\n  parameterNamePart,\n  parseBaseNodeFactory,\n  parseBuildCommand,\n  parseCommandLine,\n  parseCommandLineWorker,\n  parseConfigFileTextToJson,\n  parseConfigFileWithSystem,\n  parseConfigHostFromCompilerHostLike,\n  parseCustomTypeOption,\n  parseIsolatedEntityName,\n  parseIsolatedJSDocComment,\n  parseJSDocTypeExpressionForTests,\n  parseJsonConfigFileContent,\n  parseJsonSourceFileConfigFileContent,\n  parseJsonText,\n  parseListTypeOption,\n  parseModuleFromPath,\n  parseNodeFactory,\n  parsePackageName,\n  parsePseudoBigInt,\n  patchWriteFileEnsuringDirectory,\n  pathContainsNodeModules,\n  pathContainsOHModules,\n  pathIsAbsolute,\n  pathIsBareSpecifier,\n  pathIsRelative,\n  patternText,\n  perfLogger,\n  performIncrementalCompilation,\n  performance,\n  plainJSErrors,\n  positionBelongsToNode,\n  positionIsASICandidate,\n  positionIsSynthesized,\n  positionsAreOnSameLine,\n  preProcessFile,\n  probablyUsesSemicolons,\n  processCommentPragmas,\n  processKit,\n  processPragmasIntoFields,\n  processTaggedTemplateExpression,\n  programContainsEsModules,\n  programContainsModules,\n  projectReferenceIsEqualTo,\n  propertyNamePart,\n  pseudoBigIntToString,\n  punctuationPart,\n  pushIfUnique,\n  quote,\n  quotePreferenceFromString,\n  rangeContainsPosition,\n  rangeContainsPositionExclusive,\n  rangeContainsRange,\n  rangeContainsRangeExclusive,\n  rangeContainsStartEnd,\n  rangeEndIsOnSameLineAsRangeStart,\n  rangeEndPositionsAreOnSameLine,\n  rangeEquals,\n  rangeIsOnSingleLine,\n  rangeOfNode,\n  rangeOfTypeParameters,\n  rangeOverlapsWithStartEnd,\n  rangeStartIsOnSameLineAsRangeEnd,\n  rangeStartPositionsAreOnSameLine,\n  readBuilderProgram,\n  readConfigFile,\n  readHelper,\n  readJson,\n  readJsonConfigFile,\n  readJsonOrUndefined,\n  realizeDiagnostics,\n  reduceEachLeadingCommentRange,\n  reduceEachTrailingCommentRange,\n  reduceLeft,\n  reduceLeftIterator,\n  reducePathComponents,\n  refactor,\n  regExpEscape,\n  relativeComplement,\n  removeAllComments,\n  removeEmitHelper,\n  removeExtension,\n  removeFileExtension,\n  removeIgnoredPath,\n  removeMinAndVersionNumbers,\n  removeOptionality,\n  removePrefix,\n  removeSuffix,\n  removeTrailingDirectorySeparator,\n  repeatString,\n  replaceElement,\n  resolutionExtensionIsTSOrJson,\n  resolveConfigFileProjectName,\n  resolveJSModule,\n  resolveModuleName,\n  resolveModuleNameFromCache,\n  resolvePackageNameToPackageJson,\n  resolvePath,\n  resolveProjectReferencePath,\n  resolveTripleslashReference,\n  resolveTypeReferenceDirective,\n  resolvingEmptyArray,\n  restHelper,\n  returnFalse,\n  returnNoopFileWatcher,\n  returnTrue,\n  returnUndefined,\n  returnsPromise,\n  sameFlatMap,\n  sameMap,\n  sameMapping,\n  scanShebangTrivia,\n  scanner,\n  screenStartingMessageCodes,\n  semanticDiagnosticsOptionDeclarations,\n  server,\n  servicesVersion,\n  setCommentRange,\n  setConfigFileInOptions,\n  setConstantValue,\n  setEachParent,\n  setEmitFlags,\n  setGetSourceFileAsHashVersioned,\n  setLanguageVersionByFilePath,\n  setLocalizedDiagnosticMessages,\n  setModuleDefaultHelper,\n  setNodeFlags,\n  setObjectAllocator,\n  setOriginalNode,\n  setParent,\n  setParentRecursive,\n  setResolvedModule,\n  setResolvedTypeReferenceDirective,\n  setSnippetElement,\n  setSourceMapRange,\n  setStackTraceLimit,\n  setStartsOnNewLine,\n  setSyntheticLeadingComments,\n  setSyntheticTrailingComments,\n  setSys,\n  setSysLog,\n  setTextRange,\n  setTextRangeEnd,\n  setTextRangePos,\n  setTextRangePosEnd,\n  setTextRangePosWidth,\n  setTokenSourceMapRange,\n  setTypeNode,\n  setUILocale,\n  setValueDeclaration,\n  shouldPreserveConstEnums,\n  shouldUseUriStyleNodeCoreModules,\n  showModuleSpecifier,\n  signatureHasLiteralTypes,\n  signatureHasRestParameter,\n  signatureToDisplayParts,\n  single,\n  singleElementArray,\n  singleIterator,\n  singleOrMany,\n  singleOrUndefined,\n  skipAlias,\n  skipAssertions,\n  skipConstraint,\n  skipOuterExpressions,\n  skipParentheses,\n  skipPartiallyEmittedExpressions,\n  skipTrivia,\n  skipTypeChecking,\n  skipTypeParentheses,\n  sliceAfter,\n  some,\n  sort,\n  sortAndDeduplicate,\n  sortAndDeduplicateDiagnostics,\n  sourceFileAffectingCompilerOptions,\n  sourceFileMayBeEmitted,\n  spacePart,\n  spanMap,\n  spreadArrayHelper,\n  stableSort,\n  startEndContainsRange,\n  startEndOverlapsWithStartEnd,\n  startOnNewLine,\n  startTracing,\n  startsWith,\n  startsWithDirectory,\n  startsWithUnderscore,\n  startsWithUseStrict,\n  stringContains,\n  stringContainsAt,\n  stringToToken,\n  stripQuotes,\n  sum,\n  supportedDeclarationExtensions,\n  supportedJSExtensions,\n  supportedJSExtensionsFlat,\n  supportedLocaleDirectories,\n  supportedTSExtensions,\n  supportedTSExtensionsFlat,\n  suppressLeadingAndTrailingTrivia,\n  suppressLeadingTrivia,\n  suppressTrailingTrivia,\n  symbolEscapedNameNoDefault,\n  symbolName,\n  symbolNameNoDefault,\n  symbolPart,\n  symbolToDisplayParts,\n  syntaxMayBeASICandidate,\n  syntaxRequiresTrailingSemicolonOrASI,\n  sys,\n  sysLog,\n  tagNamesAreEquivalent,\n  takeWhile,\n  targetOptionDeclaration,\n  templateObjectHelper,\n  testFormatSettings,\n  textChangeRangeIsUnchanged,\n  textChangeRangeNewSpan,\n  textChanges,\n  textOrKeywordPart,\n  textPart,\n  textRangeContainsPositionInclusive,\n  textSpanContainsPosition,\n  textSpanContainsTextSpan,\n  textSpanEnd,\n  textSpanIntersection,\n  textSpanIntersectsWith,\n  textSpanIntersectsWithPosition,\n  textSpanIntersectsWithTextSpan,\n  textSpanIsEmpty,\n  textSpanOverlap,\n  textSpanOverlapsWith,\n  textSpansEqual,\n  textToKeywordObj,\n  timestamp,\n  toArray,\n  toBuilderStateFileInfo,\n  toEditorSettings,\n  toFileNameLowerCase,\n  toLowerCase,\n  toPath,\n  tokenIsIdentifierOrKeyword,\n  tokenIsIdentifierOrKeywordOrGreaterThan,\n  tokenToString,\n  trace,\n  tracing,\n  tracingEnabled,\n  transform,\n  transformAnnotation,\n  transformClassFields,\n  transformDeclarations,\n  transformECMAScriptModule,\n  transformES2015,\n  transformES2016,\n  transformES2017,\n  transformES2018,\n  transformES2019,\n  transformES2020,\n  transformES2021,\n  transformES5,\n  transformESNext,\n  transformGenerators,\n  transformJsx,\n  transformLegacyDecorators,\n  transformModule,\n  transformNodeModule,\n  transformNodes,\n  transformSystemModule,\n  transformTypeExportImportAndConstEnumInTypeScript,\n  transformTypeScript,\n  transpile,\n  transpileModule,\n  transpileOptionValueCompilerOptions,\n  trimString,\n  trimStringEnd,\n  trimStringStart,\n  tryAddToSet,\n  tryAndIgnoreErrors,\n  tryCast,\n  tryDirectoryExists,\n  tryExtractTSExtension,\n  tryFileExists,\n  tryGetClassExtendingExpressionWithTypeArguments,\n  tryGetClassImplementingOrExtendingExpressionWithTypeArguments,\n  tryGetDirectories,\n  tryGetExtensionFromPath,\n  tryGetImportFromModuleSpecifier,\n  tryGetModuleNameFromFile,\n  tryGetModuleSpecifierFromDeclaration,\n  tryGetNativePerformanceHooks,\n  tryGetPropertyAccessOrIdentifierToString,\n  tryGetPropertyNameOfBindingOrAssignmentElement,\n  tryGetSourceMappingURL,\n  tryGetTextOfPropertyName,\n  tryIOAndConsumeErrors,\n  tryParsePattern,\n  tryParsePatterns,\n  tryParseRawSourceMap,\n  tryReadDirectory,\n  tryReadFile,\n  tryRemoveDirectoryPrefix,\n  tryRemoveExtension,\n  tryRemovePrefix,\n  tryRemoveSuffix,\n  typeAcquisitionDeclarations,\n  typeAliasNamePart,\n  typeDirectiveIsEqualTo,\n  typeHasCallOrConstructSignatures,\n  typeKeywords,\n  typeParameterNamePart,\n  typeToDisplayParts,\n  unchangedPollThresholds,\n  unchangedTextChangeRange,\n  unescapeLeadingUnderscores,\n  unmangleScopedPackageName,\n  unorderedRemoveItem,\n  unorderedRemoveItemAt,\n  unreachableCodeIsError,\n  unusedLabelIsError,\n  unwrapInnermostStatementOfLabel,\n  updateArrayBindingPattern,\n  updateArrayLiteral,\n  updateArrayTypeNode,\n  updateArrowFunction,\n  updateAsExpression,\n  updateAwait,\n  updateBinary,\n  updateBindingElement,\n  updateBlock,\n  updateBreak,\n  updateBundle,\n  updateCall,\n  updateCallChain,\n  updateCallSignature,\n  updateCaseBlock,\n  updateCaseClause,\n  updateCatchClause,\n  updateClassDeclaration,\n  updateClassExpression,\n  updateCommaList,\n  updateComputedPropertyName,\n  updateConditional,\n  updateConditionalTypeNode,\n  updateConstructSignature,\n  updateConstructor,\n  updateConstructorTypeNode,\n  updateContinue,\n  updateDecorator,\n  updateDefaultClause,\n  updateDelete,\n  updateDo,\n  updateElementAccess,\n  updateElementAccessChain,\n  updateEnumDeclaration,\n  updateEnumMember,\n  updateErrorForNoInputFiles,\n  updateExportAssignment,\n  updateExportDeclaration,\n  updateExportSpecifier,\n  updateExpressionStatement,\n  updateExpressionWithTypeArguments,\n  updateExternalModuleReference,\n  updateFor,\n  updateForIn,\n  updateForOf,\n  updateFunctionDeclaration,\n  updateFunctionExpression,\n  updateFunctionTypeNode,\n  updateGetAccessor,\n  updateHeritageClause,\n  updateIf,\n  updateImportClause,\n  updateImportDeclaration,\n  updateImportEqualsDeclaration,\n  updateImportSpecifier,\n  updateImportTypeNode,\n  updateIndexSignature,\n  updateIndexedAccessTypeNode,\n  updateInferTypeNode,\n  updateInterfaceDeclaration,\n  updateIntersectionTypeNode,\n  updateJsxAttribute,\n  updateJsxAttributes,\n  updateJsxClosingElement,\n  updateJsxElement,\n  updateJsxExpression,\n  updateJsxFragment,\n  updateJsxOpeningElement,\n  updateJsxSelfClosingElement,\n  updateJsxSpreadAttribute,\n  updateJsxText,\n  updateLabel,\n  updateLanguageServiceSourceFile,\n  updateLiteralTypeNode,\n  updateMappedTypeNode,\n  updateMetaProperty,\n  updateMethod,\n  updateMethodSignature,\n  updateMissingFilePathsWatch,\n  updateModuleBlock,\n  updateModuleDeclaration,\n  updateNamedExports,\n  updateNamedImports,\n  updateNamespaceExport,\n  updateNamespaceExportDeclaration,\n  updateNamespaceImport,\n  updateNew,\n  updateNonNullChain,\n  updateNonNullExpression,\n  updateObjectBindingPattern,\n  updateObjectLiteral,\n  updateOptionalTypeNode,\n  updatePackageJsonWatch,\n  updateParameter,\n  updateParen,\n  updateParenthesizedType,\n  updatePartiallyEmittedExpression,\n  updatePostfix,\n  updatePrefix,\n  updateProperty,\n  updatePropertyAccess,\n  updatePropertyAccessChain,\n  updatePropertyAssignment,\n  updatePropertySignature,\n  updateQualifiedName,\n  updateRestTypeNode,\n  updateReturn,\n  updateSetAccessor,\n  updateSharedExtendedConfigFileWatcher,\n  updateShorthandPropertyAssignment,\n  updateSourceFile,\n  updateSourceFileNode,\n  updateSpread,\n  updateSpreadAssignment,\n  updateStatement,\n  updateSwitch,\n  updateTaggedTemplate,\n  updateTemplateExpression,\n  updateTemplateSpan,\n  updateThrow,\n  updateTry,\n  updateTupleTypeNode,\n  updateTypeAliasDeclaration,\n  updateTypeAssertion,\n  updateTypeLiteralNode,\n  updateTypeOf,\n  updateTypeOperatorNode,\n  updateTypeParameterDeclaration,\n  updateTypePredicateNode,\n  updateTypePredicateNodeWithModifier,\n  updateTypeQueryNode,\n  updateTypeReferenceNode,\n  updateUnionTypeNode,\n  updateVariableDeclaration,\n  updateVariableDeclarationList,\n  updateVariableStatement,\n  updateVoid,\n  updateWatchingWildcardDirectories,\n  updateWhile,\n  updateWith,\n  updateYield,\n  usingSingleLineStringWriter,\n  utf16EncodeAsString,\n  validateLocaleAndSetLanguage,\n  valuesHelper,\n  version,\n  versionMajorMinor,\n  visitArray,\n  visitEachChild,\n  visitFunctionBody,\n  visitIterationBody,\n  visitLexicalEnvironment,\n  visitNode,\n  visitNodes,\n  visitParameterList,\n  walkUpBindingElementsAndPatterns,\n  walkUpParenthesizedExpressions,\n  walkUpParenthesizedTypes,\n  walkUpParenthesizedTypesAndGetParentAndChild,\n  writeCommentRange,\n  writeFile,\n  writeFileEnsuringDirectories,\n  zipToIterator,\n  zipToMap,\n  zipToModeAwareCache,\n  zipWith\n});\n})(typeof module !== \"undefined\" && module.exports ? module : { exports: ts });\nif (typeof module !== \"undefined\" && module.exports) { ts = module.exports; }\n//# sourceMappingURL=typescript.js.map\n","import process from 'node:process'\nimport { LanguageServerLogger } from '@arkts/shared'\nimport * as ets from 'ohos-typescript'\n\nexport const logger = new LanguageServerLogger({\n  console: process.argv.includes('--node-ipc'),\n  file: process.argv.includes('--stdio'),\n  prefix: 'ETS Language Server',\n})\nlogger.getConsola().info(`ohos-typescript version: ${ets.version}`)\n","function isPlainObject(value) {\n  if (value === null || typeof value !== \"object\") {\n    return false;\n  }\n  const prototype = Object.getPrototypeOf(value);\n  if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {\n    return false;\n  }\n  if (Symbol.iterator in value) {\n    return false;\n  }\n  if (Symbol.toStringTag in value) {\n    return Object.prototype.toString.call(value) === \"[object Module]\";\n  }\n  return true;\n}\n\nfunction _defu(baseObject, defaults, namespace = \".\", merger) {\n  if (!isPlainObject(defaults)) {\n    return _defu(baseObject, {}, namespace, merger);\n  }\n  const object = Object.assign({}, defaults);\n  for (const key in baseObject) {\n    if (key === \"__proto__\" || key === \"constructor\") {\n      continue;\n    }\n    const value = baseObject[key];\n    if (value === null || value === void 0) {\n      continue;\n    }\n    if (merger && merger(object, key, value, namespace)) {\n      continue;\n    }\n    if (Array.isArray(value) && Array.isArray(object[key])) {\n      object[key] = [...value, ...object[key]];\n    } else if (isPlainObject(value) && isPlainObject(object[key])) {\n      object[key] = _defu(\n        value,\n        object[key],\n        (namespace ? `${namespace}.` : \"\") + key.toString(),\n        merger\n      );\n    } else {\n      object[key] = value;\n    }\n  }\n  return object;\n}\nfunction createDefu(merger) {\n  return (...arguments_) => (\n    // eslint-disable-next-line unicorn/no-array-reduce\n    arguments_.reduce((p, c) => _defu(p, c, \"\", merger), {})\n  );\n}\nconst defu = createDefu();\nconst defuFn = createDefu((object, key, currentValue) => {\n  if (object[key] !== void 0 && typeof currentValue === \"function\") {\n    object[key] = currentValue(object[key]);\n    return true;\n  }\n});\nconst defuArrayFn = createDefu((object, key, currentValue) => {\n  if (Array.isArray(object[key]) && typeof currentValue === \"function\") {\n    object[key] = currentValue(object[key]);\n    return true;\n  }\n});\n\nexport { createDefu, defu as default, defu, defuArrayFn, defuFn };\n","import type { CreateArkTServiceOptions } from '@arkts/language-service'\nimport type { LanguageServerLogger } from '@arkts/shared'\nimport type { Connection, InitializeParams } from '@volar/language-server'\nimport type { FileSystem } from '@vstils/fs'\nimport type { CompilerOptions } from 'ohos-typescript'\nimport type { ProjectDetectorManagerService } from './project-manager'\nimport { createRequire } from 'node:module'\nimport path from 'node:path'\nimport process from 'node:process'\nimport { SysResource } from '@arkts/shared'\nimport { createRelativePattern, Uri } from '@vstils/core'\nimport { FileType } from '@vstils/fs'\nimport defu from 'defu'\nimport * as ets from 'ohos-typescript'\n\nexport class ConfigResolver {\n  constructor(\n    private readonly logger: LanguageServerLogger,\n    private readonly projectDetectorManagerService: ProjectDetectorManagerService,\n    private readonly params: InitializeParams,\n    private readonly fs: FileSystem,\n    private readonly lspRoot: Uri,\n    private readonly connection: Connection,\n  ) {}\n\n  private isDirectory(uri: Uri): Promise<boolean> {\n    return this.fs.stat(uri).then(stat => stat.type === FileType.Directory).catch(() => false)\n  }\n\n  private isFile(uri: Uri): Promise<boolean> {\n    return this.fs.stat(uri).then(stat => stat.type === FileType.File).catch(() => false)\n  }\n\n  private showErrorAndExit(errorMessage: string): this {\n    this.logger.getConsola().info(errorMessage)\n    this.connection.window.showErrorMessage(errorMessage)\n    throw new Error(errorMessage)\n    return this\n  }\n\n  async validateOrExit(): Promise<this> {\n    const sdkPath = this.getSdkPath()\n    const hmsPath = this.getHmsSdkPath()\n    const etsLoaderPath = this.getEtsLoaderPath()\n    const etsLoaderConfigPath = this.getEtsLoaderConfigPath()\n\n    if (!sdkPath || typeof sdkPath !== 'string') {\n      return this.showErrorAndExit(`Cannot find ets.sdkPath in initialization options, language server is shutdowning...`)\n    }\n    if (!await this.isDirectory(Uri.file(sdkPath))) {\n      return this.showErrorAndExit(`The ets.sdkPath is not a directory, path: ${sdkPath}, language server is shutdowning...`)\n    }\n    if (!await this.isDirectory(Uri.file(etsLoaderPath))) {\n      return this.showErrorAndExit(`Cannot find ets-loader folder, path: ${etsLoaderPath}, language server is shutdowning...`)\n    }\n    if (!await this.isFile(Uri.file(etsLoaderConfigPath))) {\n      return this.showErrorAndExit(`Cannot find ets-loader tsconfig.json file, path: ${etsLoaderConfigPath}, language server is shutdowning...`)\n    }\n    if (hmsPath && !await this.isDirectory(Uri.file(hmsPath))) {\n      return this.showErrorAndExit(`The ets.hmsPath is not a directory, path: ${hmsPath}, language server is shutdowning...`)\n    }\n    this.logger.getConsola().info(`ets.sdkPath: ${sdkPath}`)\n    this.logger.getConsola().info(`ets.hmsPath: ${hmsPath}`)\n    this.logger.getConsola().info(`ets-loader path: ${etsLoaderPath}`)\n    this.logger.getConsola().info(`ets-loader tsconfig.json path: ${etsLoaderConfigPath}`)\n    return this\n  }\n\n  getTsdkPath(): string | undefined {\n    return this.params.initializationOptions?.typescript?.tsdk\n      ? path.resolve(this.params.initializationOptions?.typescript?.tsdk)\n      : undefined\n  }\n\n  getSdkPath(): string {\n    return this.params.initializationOptions?.ets?.sdkPath\n      ? path.resolve(this.params.initializationOptions?.ets?.sdkPath)\n      : this.params.initializationOptions?.ets?.sdkPath\n  }\n\n  getHmsSdkPath(): string | undefined {\n    return this.params.initializationOptions?.ets?.hmsPath\n      ? path.resolve(this.params.initializationOptions?.ets?.hmsPath)\n      : this.params.initializationOptions?.ets?.hmsPath\n  }\n\n  getEtsLoaderPath(): string {\n    return path.resolve(this.getSdkPath() ?? process.cwd(), 'ets', 'build-tools', 'ets-loader')\n  }\n\n  getEtsLoaderConfigPath(): string {\n    return path.resolve(this.getEtsLoaderPath(), 'tsconfig.json')\n  }\n\n  async getEtsLoaderConfig(): Promise<import('type-fest').TsConfigJson> {\n    const etsLoaderConfigPath = this.getEtsLoaderConfigPath()\n    const etsLoaderConfig = await this.fs.readFile(Uri.file(etsLoaderConfigPath))\n    const { config = {} } = ets.parseConfigFileTextToJson(etsLoaderConfigPath, etsLoaderConfig.toString())\n    return config\n  }\n\n  getSysResourcePath(): string {\n    return path.resolve(this.getEtsLoaderPath(), 'sysResource.js')\n  }\n\n  getBaseUrl(): string {\n    return Uri.joinPath(Uri.file(this.getSdkPath()), 'ets').fsPath\n  }\n\n  private cachedSysResource: SysResource | null = null\n\n  getSysResource(force: boolean = false): SysResource | null {\n    try {\n      if (this.cachedSysResource && !force) return this.cachedSysResource\n      const sysResourcePath = this.getSysResourcePath()\n      const require = createRequire(import.meta.url)\n      const sysResource = require(sysResourcePath)\n      if (!SysResource.is(sysResource)) return null\n      this.cachedSysResource = sysResource\n      this.logger.getConsola().info(`Sys resource loaded successfully, path: ${sysResourcePath}`)\n      return this.cachedSysResource\n    }\n    catch (error) {\n      this.logger.getConsola().error(`Failed to load sys resource: ${error}`)\n      return null\n    }\n  }\n\n  toArkTSServicesOptions(): CreateArkTServiceOptions {\n    return {\n      getLocale: () => this.params.locale ?? '',\n      getProjectDetectorManager: () => this.projectDetectorManagerService.getProjectDetectorManager(),\n      getSdkPath: () => this.getSdkPath(),\n      getSysResource: force => this.getSysResource(force),\n      getSysResourcePath: () => this.getSysResourcePath(),\n    }\n  }\n\n  async getTsdkLib(): Promise<string[]> {\n    const tsdkPath = this.getTsdkPath()\n    if (tsdkPath) {\n      const tsdkLibs = await this.fs.glob(createRelativePattern(Uri.joinPath(Uri.file(tsdkPath), 'lib'), '**/*.d.ts')).then(uris => uris.map(uri => uri.fsPath))\n      if (tsdkLibs.length > 0) return tsdkLibs\n    }\n    return await this.fs.glob(createRelativePattern(Uri.joinPath(this.lspRoot, 'lib'), '**/*.d.ts')).then(uris => uris.map(uri => uri.fsPath))\n  }\n\n  async getLib(): Promise<string[]> {\n    const componentFolderUri = Uri.joinPath(Uri.file(this.getSdkPath()), 'ets', 'component')\n    const dtsFiles = await this.fs.glob(createRelativePattern(componentFolderUri, '**/*.d.ts')).then(uris => uris.map(uri => uri.fsPath))\n    const detsFiles = await this.fs.glob(createRelativePattern(componentFolderUri, '**/*.d.ets')).then(uris => uris.map(uri => uri.fsPath))\n\n    const declarationsUri = Uri.joinPath(Uri.file(this.getEtsLoaderPath()), 'declarations')\n    const globalFiles = await this.fs.glob(createRelativePattern(declarationsUri, '**/*.d.ts')).then(uris => uris.map(uri => uri.fsPath))\n\n    return [...dtsFiles, ...detsFiles, ...globalFiles, ...await this.getTsdkLib()].filter((item, index, self) => self.indexOf(item) === index && Boolean(item))\n  }\n\n  private getFileNameWithoutExtension(fileNameWithExtension: string): string {\n    if (fileNameWithExtension.endsWith('.d.ts') || fileNameWithExtension.endsWith('.d.ets')) {\n      return fileNameWithExtension.replace(/\\.d\\.ts$/, '').replace(/\\.d\\.ets$/, '')\n    }\n    return path.basename(fileNameWithExtension, path.extname(fileNameWithExtension))\n  }\n\n  private async hmsToTypeScriptCompilerOptionsPaths(): Promise<import('typescript').MapLike<string[]>> {\n    try {\n      const hmsSdkPath = this.getHmsSdkPath()\n      if (!hmsSdkPath) return {}\n      const hmsApiFolder = Uri.joinPath(Uri.file(hmsSdkPath), 'ets', 'api')\n      const hmsKitsFolder = Uri.joinPath(Uri.file(hmsSdkPath), 'ets', 'kits')\n      if (!hmsApiFolder || !hmsKitsFolder) return {}\n\n      const paths: import('typescript').MapLike<string[]> = {}\n      const apiFiles = await this.fs.readDirectory(hmsApiFolder)\n      const kitsFiles = await this.fs.readDirectory(hmsKitsFolder)\n      for (const [fileNameWithExtension, fileType] of apiFiles) {\n        if (fileType !== FileType.File) continue\n        const fileName = this.getFileNameWithoutExtension(fileNameWithExtension)\n        paths[fileName] = [Uri.joinPath(hmsApiFolder, fileNameWithExtension).fsPath]\n        paths[`${fileName}/*`] = [Uri.joinPath(hmsApiFolder, fileNameWithExtension, '*').fsPath]\n      }\n      for (const [fileNameWithExtension, fileType] of kitsFiles) {\n        if (fileType !== FileType.File) continue\n        const fileName = this.getFileNameWithoutExtension(fileNameWithExtension)\n        paths[fileName] = [Uri.joinPath(hmsKitsFolder, fileNameWithExtension).fsPath]\n        paths[`${fileName}/*`] = [Uri.joinPath(hmsKitsFolder, fileNameWithExtension, '*').fsPath]\n      }\n      return paths\n    }\n    catch (error) {\n      this.logger.getConsola().error(`Failed to detect ets.hmsPath, please check the ets.hmsPath in the initialization options: ${error}`)\n      if (error instanceof Error) this.logger.getConsola().error(error.stack)\n      this.connection.window.showErrorMessage(`Failed to detect ets.hmsPath, please check the ets.hmsPath in the initialization options.`)\n      return {}\n    }\n  }\n\n  async getPaths(): Promise<ets.MapLike<string[]>> {\n    return {\n      '*': [\n        './api/*',\n        './kits/*',\n        './arkts/*',\n      ].filter(Boolean) as string[],\n      '@internal/full/*': ['./api/@internal/full/*'],\n      ...await this.hmsToTypeScriptCompilerOptionsPaths(),\n    }\n  }\n\n  /**\n   * 将最终合并完成的`compilerOptions`检查一下\n   * 看是否缺少必要的配置项，如`ets.syntaxComponents`\n   */\n  private fixTsConfig(finalCompilerOptions: ets.CompilerOptions): ets.CompilerOptions {\n    // 如果没有ets配置则不进行处理\n    if (!finalCompilerOptions.ets || typeof finalCompilerOptions.ets !== 'object') return finalCompilerOptions\n    // 修复ets.syntaxComponents不存在的问题（可能会在`API10`等API版本中出现）\n    // 因为插件同步的是最新版的`ohos-typescript`，而`ets.syntaxComponents`在API10这些老API版本里是不存在的 因此应当补齐一下相关配置\n    if (!finalCompilerOptions.ets.syntaxComponents || typeof finalCompilerOptions.ets.syntaxComponents !== 'object') {\n      finalCompilerOptions.ets.syntaxComponents = {\n        paramsUICallback: [\n          'ForEach',\n          'LazyForEach',\n        ],\n        attrUICallback: [\n          {\n            name: 'Repeat',\n            attributes: ['each', 'template'],\n          },\n        ],\n      }\n    }\n    return finalCompilerOptions\n  }\n\n  async toCompilationSettings(originalSettings?: CompilerOptions): Promise<CompilerOptions> {\n    const etsLoaderConfig = await this.getEtsLoaderConfig()\n    const compilerOptions = defu<CompilerOptions, Array<CompilerOptions>>(\n      this.params.initializationOptions?.compilerOptions ?? {},\n      {\n        etsLoaderPath: this.getEtsLoaderPath(),\n        lib: await this.getLib(),\n        paths: await this.getPaths(),\n        baseUrl: this.getBaseUrl(),\n        module: ets.ModuleKind.ESNext,\n        target: ets.ScriptTarget.ESNext,\n        moduleDetection: ets.ModuleDetectionKind.Force,\n        moduleResolution: ets.ModuleResolutionKind.NodeNext,\n        incremental: true,\n        strict: true,\n        strictPropertyInitialization: false,\n        experimentalDecorators: true,\n        emitDecoratorMetadata: true,\n        skipOhModulesLint: false,\n        enableStrictCheckOHModule: true,\n        etsAnnotationsEnable: true,\n        compatibleSdkVersion: 20,\n        packageManagerType: 'ohpm',\n        compatibleSdkVersionStage: 'beta2',\n        alwaysStrict: true,\n        mixCompile: true,\n        tsImportSendableEnable: true,\n        useUnknownInCatchVariables: false,\n      },\n      etsLoaderConfig.compilerOptions as ets.CompilerOptions,\n      originalSettings ?? {},\n    )\n    return this.fixTsConfig(compilerOptions)\n  }\n}\n","import type { LanguageServerLogger } from '@arkts/shared'\nimport type { Connection, InitializeParams, WorkspaceFolder } from '@volar/language-server'\nimport { ProjectDetectorManager } from '@arkts/language-service'\nimport { Uri } from '@arkts/project-detector'\nimport { FileChangeType } from '@volar/language-server'\n\nexport class ProjectDetectorManagerService {\n  private _workspaceFolders: WorkspaceFolder[] | undefined\n  private _projectDetectorManager: ProjectDetectorManager | undefined\n\n  constructor(\n    connection: Connection,\n    private readonly params: InitializeParams,\n    private readonly logger: LanguageServerLogger,\n  ) {\n    this._workspaceFolders = this.params.workspaceFolders ?? []\n    this._projectDetectorManager = ProjectDetectorManager.create(this._workspaceFolders?.map(folder => folder.uri) ?? [])\n    this.logger.getConsola().info(`Workspace folders: ${this._workspaceFolders?.map(folder => folder.uri).join(', ')}`)\n\n    connection.onDidChangeWatchedFiles((e) => {\n      try {\n        for (const file of e.changes) {\n          switch (file.type) {\n            case FileChangeType.Changed:\n              this._projectDetectorManager?.emit('file-changed', Uri.file(file.uri))\n              break\n            case FileChangeType.Created:\n              this._projectDetectorManager?.emit('file-created', Uri.file(file.uri))\n              break\n            case FileChangeType.Deleted:\n              this._projectDetectorManager?.emit('file-deleted', Uri.file(file.uri))\n              break\n          }\n        }\n      }\n      catch (error) {\n        logger.getConsola().error('Error in change watched files handler:', error)\n        console.error(error)\n        // eslint-disable-next-line no-console\n        console.trace(error)\n      }\n    })\n  }\n\n  getProjectDetectorManager(): ProjectDetectorManager {\n    return this._projectDetectorManager!\n  }\n}\n","import { Uri } from '@vstils/core'\n\n/**\n * Patch the ohos-typescript's `resolveModuleName` to support `allowTsExtension` in TypeScript 5.x.\n *\n * @param ets - The ETS instance.\n */\nexport function patchResolver(ets: typeof import('ohos-typescript')): void {\n  const oldResolveModuleName = ets.resolveModuleName\n  ets.resolveModuleName = (...args) => {\n    const res = oldResolveModuleName(...args as Parameters<typeof ets.resolveModuleName>)\n    if (args[0].endsWith('.d.ts')) return res\n    if (!args[0].endsWith('.ts')) return res\n    const resolvedFileName = Uri.joinPath(Uri.dirname(Uri.file(args[1])), args[0]).fsPath\n    if (!args[3].fileExists(resolvedFileName)) return res\n    return {\n      resolvedModule: {\n        resolvedFileName,\n        extension: ets.Extension.Ts,\n      },\n    }\n  }\n}\n","import type { LanguageServiceContext } from '@volar/language-server'\nimport type * as ets from 'ohos-typescript'\nimport type { TextDocument } from 'vscode-languageserver-textdocument'\nimport { Uri } from '@vstils/core'\n\nexport interface TSProvider {\n  'typescript/languageService'(): ets.LanguageService\n}\n\n/** 一些工具类，用于services中获取一些对象。 */\nexport class ContextUtil {\n  constructor(private readonly context: LanguageServiceContext) {}\n\n  /**\n   * 获取已有的`LanguageService`对象\n   *\n   * @description ⚠️ 注意，此方法只能在provide层使用，在create(context)层中使用是拿不到LanguageService对象的！！\n   * @returns LanguageService对象，如果获取失败则返回null\n   */\n  getLanguageService(): ets.LanguageService | null {\n    const languageService = this.context.inject<TSProvider>(`typescript/languageService`)\n    if (!languageService) return null\n    return languageService\n  }\n\n  /**\n   * 解码`TextDocument`并获取`TS源文件AST`\n   *\n   * @param document 当前TextDocument对象\n   * @returns 源文件AST，如果获取失败则返回null\n   */\n  decodeSourceFile(document: TextDocument): ets.SourceFile | null {\n    try {\n      const decoded = this.context.decodeEmbeddedDocumentUri(Uri.parse(document.uri))\n      if (!decoded) return null\n      const [decodedUri] = decoded\n      const languageService = this.context.inject<TSProvider>(`typescript/languageService`)\n      if (!languageService) return null\n      const program = languageService.getProgram()\n      if (!program) return null\n      const sourceFile = program.getSourceFile(decodedUri.fsPath)\n      if (!sourceFile) return null\n      return sourceFile\n    }\n    catch {\n      return null\n    }\n  }\n}\n","import type { LanguageServerConfigurator } from '@arkts/shared'\nimport type { Hover, LanguageServicePlugin, TextDocument } from '@volar/language-server'\nimport { Range } from '@volar/language-server'\nimport { Uri } from '@vstils/core'\nimport * as ets from 'ohos-typescript'\nimport { convertClassificationsToSemanticTokens } from 'volar-service-typescript/lib/semanticFeatures/semanticTokens'\nimport { ContextUtil } from '../utils/finder'\n\nfunction getMarkdownJSDoc(node: ets.HasJSDoc): string[] {\n  const markdownJsdocs: string[] = []\n  const jsDocComment = ((node as any).jsDoc ?? []) as ets.JSDoc[]\n  for (const jsDoc of jsDocComment) {\n    markdownJsdocs.push(ets.getTextOfJSDocComment(jsDoc.comment) ?? '')\n  }\n  return markdownJsdocs\n}\n\n/**\n * 补丁：\n * - 为`@interface`声明的注解提供正确的悬浮提示，以及正确的语义高亮。语义高亮将其由原本的类似class声明的高亮转为ts装饰器一样的高亮。\n * - 关闭TS服务器提供的 json 文件的悬浮提示和跳转定义功能。\n * - patch default library的逻辑，使 OpenHarmony 的源码文件也被识别为默认库。\n */\nexport function patchSemantic(typescriptServices: LanguageServicePlugin[], config: LanguageServerConfigurator): void {\n  const originalCreate = typescriptServices[0].create\n  typescriptServices[0].create = (context) => {\n    const instance = originalCreate(context)\n    const contextUtil = new ContextUtil(context)\n\n    delete instance.provideDocumentFormattingEdits\n\n    function findNodeInPosition<TNode extends ets.Node>(currentPositionOffset: number, predicate: (node: ets.Node) => node is TNode, sourceFile: ets.SourceFile): TNode | undefined {\n      let foundNode: TNode | undefined\n      sourceFile.forEachChild(function walk(node): void {\n        if (!predicate(node)) return node.forEachChild(walk)\n        if (currentPositionOffset >= node.getStart(sourceFile) && currentPositionOffset <= node.getEnd()) {\n          foundNode = node\n          return\n        }\n        return node.forEachChild(walk)\n      })\n      return foundNode\n    }\n\n    function findAnnotationOrDecoratorNodeInPosition(currentPositionOffset: number, sourceFile: ets.SourceFile): ets.Annotation | ets.Decorator | ets.AnnotationDeclaration | undefined {\n      let foundNode: ets.Annotation | ets.Decorator | ets.AnnotationDeclaration | undefined\n      sourceFile.forEachChild(function walk(node): void {\n        if (!ets.isAnnotation(node) && !ets.isDecorator(node) && !ets.isAnnotationDeclaration(node)) return node.forEachChild(walk)\n        if (currentPositionOffset >= node.getStart(sourceFile) && currentPositionOffset <= node.getEnd()) {\n          foundNode = node\n          return\n        }\n        return node.forEachChild(walk)\n      })\n      return foundNode\n    }\n\n    function provideAnnotationDeclarationHover(document: TextDocument, currentPositionOffset: number): Hover | undefined {\n      const languageService = contextUtil.getLanguageService()\n      if (!languageService) return\n      const sourceFile = contextUtil.decodeSourceFile(document)\n      if (!sourceFile) return\n      const annotationDeclaration = findNodeInPosition(currentPositionOffset, ets.isAnnotationDeclaration, sourceFile)\n      if (!annotationDeclaration) return\n      const nameStart = annotationDeclaration.name.getStart(sourceFile)\n      const nameEnd = annotationDeclaration.name.getEnd()\n      if (currentPositionOffset >= nameStart && currentPositionOffset <= nameEnd) {\n        return {\n          contents: [\n            {\n              language: 'ets',\n              value: `@interface ${annotationDeclaration.name.getText(sourceFile).replace(/^[\"'`]|[\"'`]$/g, '')}`,\n            },\n            '注意：@interface声明的注解仅在API20及以上版本可用。详见: https://developer.huawei.com/consumer/cn/doc/harmonyos-guides/introduction-to-arkts#用户自定义注解',\n            'Note: @interface declarations are only available in API20 and above. See: https://developer.huawei.com/consumer/en/doc/harmonyos-guides/introduction-to-arkts#custom-annotation',\n            ...getMarkdownJSDoc(annotationDeclaration),\n          ],\n          range: {\n            start: document.positionAt(nameStart),\n            end: document.positionAt(nameEnd),\n          },\n        }\n      }\n    }\n\n    function provideAnnotationDecoratorHover(document: TextDocument, currentPositionOffset: number): Hover | undefined {\n      const languageService = contextUtil.getLanguageService()\n      if (!languageService) return\n      const sourceFile = contextUtil.decodeSourceFile(document)\n      if (!sourceFile) return\n      const decorator = findNodeInPosition(currentPositionOffset, ets.isAnnotation, sourceFile)\n      if (!decorator) return\n      if (!decorator.annotationDeclaration) return\n      if (currentPositionOffset >= decorator.expression.getStart(sourceFile) && currentPositionOffset <= decorator.expression.getEnd()) {\n        const annotationText = decorator.expression.getText(sourceFile).replace(/^[\"'`]|[\"'`]$/g, '')\n        const markdownJsdocs = getMarkdownJSDoc(decorator.annotationDeclaration)\n        return {\n          contents: [\n            `\\`\\`\\`ets\\n@interface ${annotationText}\\n\\`\\`\\`\\n\\n${markdownJsdocs.join('\\n---\\n')}`,\n          ],\n          range: Range.create(\n            document.positionAt(decorator.expression.getStart(sourceFile)),\n            document.positionAt(decorator.expression.getEnd()),\n          ),\n        }\n      }\n    }\n\n    function patchIsDefaultLibrary(languageService: ets.LanguageService): void {\n      // eslint-disable-next-line ts/ban-ts-comment\n      // @ts-expect-error\n      if (languageService.getProgram.patched === true) return\n      const originalGetProgram = languageService.getProgram.bind(languageService)\n      languageService.getProgram = () => {\n        const program = originalGetProgram()\n        if (!program) return program\n        // eslint-disable-next-line ts/ban-ts-comment\n        // @ts-expect-error\n        if (program.isSourceFileDefaultLibrary.patched === true) return program\n        const originalIsSourceFileDefaultLibrary = program.isSourceFileDefaultLibrary.bind(program)\n        const patchedIsSourceFileDefaultLibrary = (sourceFile: ets.SourceFile): boolean => Uri.file(sourceFile.fileName).fsPath.startsWith(config.getSdkPath()) || originalIsSourceFileDefaultLibrary(sourceFile)\n        patchedIsSourceFileDefaultLibrary.patched = true\n        program.isSourceFileDefaultLibrary = patchedIsSourceFileDefaultLibrary\n        return program\n      }\n      // eslint-disable-next-line ts/ban-ts-comment\n      // @ts-expect-error\n      languageService.getProgram.patched = true\n    }\n\n    return {\n      ...instance,\n      provideDocumentSemanticTokens: async (document, range, legend) => {\n        const languageService = contextUtil.getLanguageService()\n        if (!languageService) return []\n        patchIsDefaultLibrary(languageService)\n        const sourceFile = contextUtil.decodeSourceFile(document)\n        if (!sourceFile) return []\n        const span = { start: document.offsetAt(range.start), length: document.offsetAt(range.end) - document.offsetAt(range.start) }\n        const encodedClassifications = languageService.getEncodedSemanticClassifications(\n          sourceFile.fileName,\n          span,\n          ets.SemanticClassificationFormat.TwentyTwenty,\n        )\n        // 补丁：将@interface的高亮类型改为ts装饰器的高亮类型\n        for (let i = 0; i < encodedClassifications.spans.length; i += 3) {\n          const offset = encodedClassifications.spans[i] // 第1个值: offset\n          const tsClassification = encodedClassifications.spans[i + 2] // 第3个值: ts classification\n          if (tsClassification !== 256) continue\n          const annotationDeclaration = findAnnotationOrDecoratorNodeInPosition(offset, sourceFile)\n          if (annotationDeclaration) encodedClassifications.spans[i + 2] = 2824\n        }\n        return convertClassificationsToSemanticTokens(document, span, legend, encodedClassifications)\n      },\n\n      async provideHover(document, position, token) {\n        // 补丁：关闭 json 文件的悬浮提示功能\n        if (document.languageId === 'json' || document.languageId === 'jsonc') return null\n        const originalHover = await instance.provideHover?.(document, position, token) ?? undefined\n        if (!originalHover) return null\n        if (Array.isArray(originalHover.contents)) return originalHover\n        if (typeof originalHover.contents !== 'object') return originalHover\n        if (!('kind' in originalHover.contents)) return originalHover\n        originalHover.contents.value = originalHover.contents.value.replace(/```typescript/, '```ets')\n        // Hover补丁：提供注解装饰器的悬浮提示 （Decorator For Annotation）\n        const annotationDecoratorHover = provideAnnotationDecoratorHover(document, document.offsetAt(position))\n        if (annotationDecoratorHover) return annotationDecoratorHover\n        // Hover补丁：提供注解装饰器声明的悬浮提示 （AnnotationDeclaration）\n        const annotationDeclarationHover = provideAnnotationDeclarationHover(document, document.offsetAt(position))\n        if (annotationDeclarationHover) return annotationDeclarationHover\n        return originalHover\n      },\n\n      async provideDefinition(document, position, token) {\n        // 补丁：关闭 json 文件的跳转定义功能\n        if (document.languageId === 'json' || document.languageId === 'jsonc') return null\n        return instance.provideDefinition?.(document, position, token)\n      },\n    }\n  }\n}\n","import type { LanguageServerLogger } from '@arkts/shared'\nimport type { InitializeParams } from '@volar/language-server/node'\nimport type { MapLike } from 'ohos-typescript'\nimport { loadTsdkByPath } from '@volar/language-server/node'\nimport { Uri } from '@vstils/core'\n\nfunction safeLoadByRequire(params: InitializeParams, logger: LanguageServerLogger): MapLike<string> | undefined {\n  try {\n    const { diagnosticMessages } = loadTsdkByPath(params?.initializationOptions?.typescript?.tsdk, params?.locale)\n    if (diagnosticMessages) {\n      logger.getConsola().info(`Load diagnosticMessages by initialization options: ${params?.initializationOptions?.typescript?.tsdk}, locale: ${params.locale}`)\n      return diagnosticMessages\n    }\n    else {\n      logger.getConsola().warn(`Cannot load diagnosticMessages by initialization options: ${params?.initializationOptions?.typescript?.tsdk}, locale: ${params?.locale}`)\n    }\n  }\n  catch (error) {\n    logger.getConsola().error(`Load diagnosticMessages error by initialization options: ${params?.initializationOptions?.typescript?.tsdk}, locale: ${params?.locale}, error: `)\n    error instanceof Error ? logger.getConsola().error(error.stack) : logger.getConsola().error(String(error))\n  }\n}\n\nfunction loadTsdkInPackage(fileUri: string, locale: string | undefined, logger: LanguageServerLogger): MapLike<string> | undefined {\n  const uri = Uri.parse(fileUri)\n  const dirUri = Uri.joinPath(uri, '..')\n  const libUri = Uri.joinPath(dirUri, 'lib')\n\n  function loadLocalizedDiagnosticMessages(): MapLike<string> | undefined {\n    if (locale === 'en') {\n      logger.getConsola().info('Detect locale is en, skip load diagnosticMessages.')\n      return\n    }\n    // webpack compatibility\n    // eslint-disable-next-line no-eval\n    const _require: NodeJS.Require = eval('require')\n\n    try {\n      const path = _require.resolve(`./${locale}/diagnosticMessages.generated.json`, { paths: [libUri.fsPath] })\n      const res = _require(path)\n      logger.getConsola().info(`Loaded diagnostic messages from language server package.`)\n      return res\n    }\n    catch (error) {\n      logger.getConsola().error(`Load diagnosticMessages error by package, error: `)\n      error instanceof Error ? logger.getConsola().error(error.stack) : logger.getConsola().error(String(error))\n    }\n  }\n\n  return loadLocalizedDiagnosticMessages()\n}\n\nexport async function resolveDiagnosticMessages(params: InitializeParams, logger: LanguageServerLogger, fileUri: string): Promise<MapLike<string> | undefined> {\n  if (!params.locale) {\n    logger.getConsola().warn(`Locale is ${params.locale}, skip load diagnostic messages.`)\n    return\n  }\n  if (params.initializationOptions?.typescript?.tsdk && params.locale) {\n    const loadedDiagnosticMessages = safeLoadByRequire(params, logger)\n    if (loadedDiagnosticMessages) return loadedDiagnosticMessages\n  }\n  const loadedPackageDiagnosticMessagesByPackage = loadTsdkInPackage(fileUri, params.locale, logger)\n  if (loadedPackageDiagnosticMessagesByPackage) return loadedPackageDiagnosticMessagesByPackage\n  logger.getConsola().warn(`Cannot load diagnosticMessages by initialization options: ${params?.initializationOptions?.typescript?.tsdk}, locale: ${params?.locale}`)\n}\n","/* eslint-disable import/first */\nimport { createRequire } from 'node:module'\nimport { logger } from './logger'\n\n// Polyfill require for ESM compatibility with ohos-typescript\nconst fileUri = import.meta.url\nconst require = createRequire(fileUri)\nglobalThis.require = require\nlogger.getConsola().info(`Current file URI: ${fileUri}`)\n\nimport process from 'node:process'\nimport { ETSLanguagePlugin } from '@arkts/language-plugin'\nimport { createArkTServices } from '@arkts/language-service'\nimport { format } from '@ohos-rs/oxk'\nimport { createConnection, createServer, createTypeScriptProject } from '@volar/language-server/node'\nimport { Uri } from '@vstils/core'\nimport { createFileSystemRegistry } from '@vstils/fs'\nimport { createNodeFileSystemProvider } from '@vstils/fs/node'\nimport * as ETS from 'ohos-typescript'\nimport { create as createTypeScriptServices } from 'volar-service-typescript'\nimport { ConfigResolver } from './classes/config-resolver'\nimport { ProjectDetectorManagerService } from './classes/project-manager'\nimport { patchResolver } from './patches/patch-resolver'\nimport { patchSemantic } from './patches/patch-semantic'\nimport { resolveDiagnosticMessages } from './utils/diagnostic-messages-resolver'\n\nconst ets = Object.assign({}, ETS)\npatchResolver(ets)\n\nconst connection = createConnection()\nconst server = createServer(connection)\n\nconnection.onRequest('ets/formatDocument', async e => format(e.textDocument.uri, e.textDocument.text))\n\nconnection.onInitialize(async (params) => {\n  const diagnosticMessages = await resolveDiagnosticMessages(params, logger, fileUri)\n  const projectDetectorManagerService = new ProjectDetectorManagerService(connection, params, logger)\n  const fsRegistry = await createFileSystemRegistry()\n  fsRegistry.registerFileSystemProvider('file', await createNodeFileSystemProvider())\n  const configuration = await new ConfigResolver(logger, projectDetectorManagerService, params, fsRegistry.fs, Uri.joinPath(Uri.parse(fileUri), '..'), connection).validateOrExit()\n  const configurator = configuration.toArkTSServicesOptions()\n  const typescriptServices = createTypeScriptServices(ets as unknown as typeof import('typescript'))\n  patchSemantic(typescriptServices, configurator) // patch typescript semantic service\n  const arktsServices = await createArkTServices(configurator, ets)\n\n  delete typescriptServices[1].capabilities.documentFormattingProvider\n  const originalCreate = typescriptServices[1].create\n  typescriptServices[1].create = (context) => {\n    const instance = originalCreate(context)\n    delete instance.provideDocumentFormattingEdits\n    return instance\n  }\n\n  const mergedSettings = await configuration.toCompilationSettings()\n\n  return server.initialize(\n    params,\n    createTypeScriptProject(\n      ets as unknown as typeof import('typescript'),\n      diagnosticMessages,\n      async (ctx) => {\n        ctx.projectHost.getCompilationSettings = () => mergedSettings as import('typescript').CompilerOptions\n\n        return {\n          languagePlugins: [\n            ETSLanguagePlugin(ets as unknown as typeof import('typescript'), {\n              excludePaths: [configuration.getSdkPath(), configuration.getHmsSdkPath()].filter(Boolean) as string[],\n              tsdk: configuration.getTsdkPath(),\n              compilerOptions: mergedSettings,\n              sys: ctx.sys,\n            }),\n          ],\n          setup: async (options) => {\n            if (!options.project || !options.project.typescript || !options.project.typescript.languageServiceHost) return\n            options.project.typescript.languageServiceHost.getScriptKind = ((fileName: string): ETS.ScriptKind => {\n              if (fileName.endsWith('.ets')) return ets.ScriptKind.ETS\n              else if (fileName.endsWith('.js')) return ets.ScriptKind.JS\n              else if (fileName.endsWith('.jsx')) return ets.ScriptKind.JSX\n              else if (fileName.endsWith('.ts')) return ets.ScriptKind.TS\n              else if (fileName.endsWith('.tsx')) return ets.ScriptKind.TSX\n              else if (fileName.endsWith('.json') || fileName.endsWith('.json5') || fileName.endsWith('.jsonc')) return ets.ScriptKind.JSON\n              else return ets.ScriptKind.Unknown\n            }) as (fileName: string) => import('typescript').ScriptKind\n          },\n        }\n      },\n    ),\n    [\n      ...typescriptServices,\n      ...arktsServices,\n    ],\n  )\n})\n\nconnection.onInitialized(() => {\n  logger.getConsola().info('ETS Language Server is initialized.')\n  server.initialized()\n})\nconnection.onShutdown(server.shutdown)\nlogger.getConsola().info('ETS Language Server is starting...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,EAAR,CACE,IAAK,IACH,MAAO,GACT,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACH,MAAO,GACT,QACE,OAAO,GAA4B,EAAa,CAEtD,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACH,MAAO,IACT,IAAK,KACH,MAAO,IACT,IAAK,KACH,MAAO,IACT,IAAK,KACH,OAAO,EAAe,GAAkB,GAC1C,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACH,MAAO,IACT,IAAK,KACL,IAAK,KACH,MAAO,IACT,IAAK,KACL,IAAK,KACL,IAAK,IACL,IAAK,IACL,IAAK,KACL,IAAK,KACL,IAAK,IACL,IAAK,GACL,IAAK,GACL,IAAK,IACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,IACL,IAAK,IACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACH,MAAO,IACT,QACE,MAAO,IAGb,SAAS,GAA4B,EAAM,CACzC,OAAQ,EAAR,CACE,IAAK,IACH,MAAO,GACT,IAAK,IACH,MAAO,GACT,IAAK,IACH,MAAO,GACT,IAAK,IACH,MAAO,GACT,IAAK,IACH,MAAO,GACT,IAAK,IACH,MAAO,GACT,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACH,MAAO,IACT,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,IACL,IAAK,KACL,IAAK,KACL,IAAK,KACL,IAAK,KACH,MAAO,IACT,IAAK,IACL,IAAK,IACL,IAAK,IACH,MAAO,IACT,IAAK,IACL,IAAK,IACH,MAAO,IACT,IAAK,IACL,IAAK,IACL,IAAK,IACH,MAAO,IACT,IAAK,IAC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